/* 青岚 1.0 · Private storefront skin. No shared template changes. */
body.qinglan-theme {
    --ql-bg: #f0f5f3; --ql-surface: #fff; --ql-text: #25312e;
    --ql-muted: #7c8a85; --ql-line: #e6ece9; --ql-green: #12956b;
    --ql-soft: #eaf4ef; --ql-pill: #f0f2f1;
    background: var(--ql-bg); color: var(--ql-text);
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px; line-height: 1.5;
}
.qinglan-theme[data-ql-mode="dark"] {
    --ql-bg: #14201c; --ql-surface: #1d2b25; --ql-text: #e3ede7;
    --ql-muted: #9dadA4; --ql-line: #33443a; --ql-green: #37c992;
    --ql-soft: #263d32; --ql-pill: #26362e;
    --tokyo-bg: var(--ql-bg); --tokyo-surface: var(--ql-surface);
    --tokyo-text: var(--ql-text); --tokyo-muted: var(--ql-muted); --tokyo-border: var(--ql-line);
}
.qinglan-theme .tokyo-page-frame { display: flex; flex-direction: column; min-height: 100vh; }
.qinglan-theme #pjax-container { flex: 1 0 auto; }
.qinglan-theme .ql-container, .qinglan-theme .tokyo-shell { width: min(1232px, calc(100% - 48px)); margin-inline: auto; }
.qinglan-theme .tokyo-shell--narrow { width: min(960px, calc(100% - 48px)); }
.qinglan-theme a { color: inherit; text-decoration: none; }
.qinglan-theme button { font: inherit; cursor: pointer; }
.qinglan-theme [hidden] { display: none !important; }
.qinglan-theme :is(a,button,input):focus-visible { outline: 2px solid var(--ql-green); outline-offset: 4px; }
.qinglan-theme .ql-header { background: var(--ql-surface); border-bottom: 1px solid var(--ql-line); position: relative; z-index: 20; }
.ql-nav { min-height: 72px; display: flex; align-items: center; gap: 34px; }
.ql-brand { flex: 0 0 34px; }
.ql-brand img { width: 32px; height: 32px; object-fit: contain; }
.ql-nav-pills { display: flex; align-items: center; gap: 3px; padding: 5px; background: var(--ql-pill); border: 1px solid var(--ql-line); border-radius: 30px; min-width: 0; }
.qinglan-theme .ql-nav-link { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 24px; padding: 9px 14px; min-height: 36px; background: transparent; font-size: 13px; font-weight: 600; white-space: nowrap; color: #52625a; }
.qinglan-theme .ql-nav-link:hover { color: var(--ql-green); background: var(--ql-soft); }
.qinglan-theme .ql-partner-link { display: inline-flex; align-items: center; gap: 9px; background: #ffca0b; color: #25230d; border-radius: 24px; padding: 8px 20px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.qinglan-theme .ql-partner-link:hover { background: #ffd637; }
.qinglan-theme .ql-nav-recharge { background: #deeee6; color: #218263; border: 1px solid #b6d8c9; }
.ql-tools { margin-left: auto; display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.qinglan-theme .ql-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--ql-line); border-radius: 50%; color: #607067; background: var(--ql-surface); font-size: 16px; flex-shrink: 0; }
.qinglan-theme .ql-icon-button:hover { color: var(--ql-green); background: var(--ql-soft); }
.qinglan-theme .ql-login { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #118b63; color: #fff; padding: 10px 20px; border-radius: 24px; font-size: 13px; font-weight: 600; min-height: 38px; white-space: nowrap; }
.ql-account img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.ql-search-form { display: flex; align-items: center; gap: 12px; padding: 0 0 16px; }
.ql-search-input { flex: 1; min-width: 0; padding: 10px 14px; background: var(--ql-pill); color: var(--ql-text); border: 1px solid var(--ql-line); border-radius: 24px; }
.ql-main { padding: 14px 0 110px; }
.ql-hero { background: var(--ql-surface); border: 1px solid var(--ql-line); border-radius: 20px; padding: 23px 26px 17px; }
.ql-hero-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 24px; row-gap: 15px; min-height: 136px; }
.ql-hero-copy { flex: 1 1 610px; min-width: 0; }
.ql-eyebrow { display: inline-block; padding: 3px 12px; border-radius: 20px; background: var(--ql-soft); color: #258b6a; font-size: 12px; font-weight: 600; }
.qinglan-theme .ql-hero h1 { margin: 9px 0 5px; font-size: 27px; line-height: 1.4; font-weight: 700; letter-spacing: -.5px; color: var(--ql-text); }
.ql-hero h1 strong { color: #13855f; font-weight: 700; }
.ql-hero-copy > p { margin: 0; font-size: 13px; color: var(--ql-muted); }
.ql-hero-metrics { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 16px; font-size: 12px; }
.ql-metric { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--ql-line); padding: 7px 11px; border-radius: 24px; background: #f8faf9; color: #506259; font-weight: 600; }
.ql-metric b { color: #148d66; font-size: 14px; }
.ql-metric-warm { border-color: #ffdacd; background: #fff6f2; }
.ql-metric-warm :is(i,b) { color: #e7663f; }
.ql-live { color: var(--ql-muted); display: inline-flex; align-items: center; gap: 6px; }
.ql-live > i { color: #73d7a5; font-size: 6px; }
.qinglan-theme .ql-assistant { background: #f0fbff; border: 1px solid #a9dced; border-radius: 16px; padding: 11px 13px; color: #397995; box-shadow: 0 4px 14px #85c5dc1a; flex: 0 1 330px; }
.ql-assistant-title { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; }
.ql-assistant-title > i { color: #4eb7e9; }
.ql-assistant-open { margin-left: auto; background: #329fe0; color: #fff; padding: 4px 9px; border-radius: 20px; font-size: 10px; white-space: nowrap; }
.ql-assistant-tags { display: flex; gap: 5px; margin-top: 8px; }
.ql-assistant-tags > span { border: 1px solid #d5eaf3; background: #fff; border-radius: 6px; padding: 3px 7px; font-size: 10px; white-space: nowrap; }
.ql-hero-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.qinglan-theme .ql-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border: 1px solid #d5dfd9; border-radius: 26px; background: #f7f9f8; color: #4d5d54; white-space: nowrap; font-size: 13px; }
.qinglan-theme .ql-button:hover { border-color: #9ecbb6; color: #11875f; }
.qinglan-theme .ql-button-primary { background: #11936a; border-color: #11936a; color: #fff; box-shadow: 0 6px 16px #11936a25; }
.qinglan-theme .ql-button-primary:hover { background: #0f805b; color: #fff; }
.ql-hero-bottom { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--ql-line); display: flex; justify-content: space-between; gap: 20px; color: var(--ql-muted); font-size: 12px; }
.ql-hero-bottom > a { flex-shrink: 0; }
.ql-catalog { margin-top: 24px; scroll-margin-top: 24px; }
.ql-catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 17px; }
.ql-categories { display: flex; align-items: center; gap: 3px; max-width: 82%; padding: 5px; border: 1px solid var(--ql-line); border-radius: 30px; background: var(--ql-surface); overflow-x: auto; scrollbar-width: none; }
.ql-categories::-webkit-scrollbar { display: none; }
.ql-category { border: 0; background: transparent; color: var(--ql-muted); padding: 8px 17px; border-radius: 24px; white-space: nowrap; font-size: 15px; min-height: 38px; }
.ql-category:hover { color: var(--ql-green); background: var(--ql-soft); }
.ql-category.is-active { color: #fff; background: #11936a; font-weight: 600; box-shadow: 0 3px 8px #16916424; }
.ql-catalog-meta { display: flex; gap: 15px; align-items: center; font-size: 12px; flex-shrink: 0; }
.ql-catalog-count { font-weight: 600; }
.ql-reset { background: transparent; color: #248c68; border: 0; padding: 0; font-size: 12px; white-space: nowrap; }
.ql-subcategories { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 16px; }
.ql-subcategories .ql-category { font-size: 12px; background: var(--ql-surface); padding: 6px 14px; min-height: 32px; }
.ql-subcategories .ql-category.is-active { background: #11936a; }
.ql-search-status { display: flex; justify-content: space-between; gap: 12px; padding: 9px 13px; margin-bottom: 12px; background: var(--ql-soft); border-radius: 10px; color: var(--ql-muted); font-size: 12px; }
.ql-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.qinglan-theme .ql-product { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-width: 0; min-height: 176px; padding: 10px; background: var(--ql-surface); border: 1px solid var(--ql-line); border-radius: 18px; transition: transform .18s, box-shadow .18s, border-color .18s; color: var(--ql-text); }
.qinglan-theme .ql-product:hover { transform: translateY(-3px); box-shadow: 0 9px 24px #233e3010; border-color: #bbd8c8; }
.ql-product-header { display: flex; align-items: center; gap: 8px; }
.ql-product h2 { flex: 1; min-width: 0; font-size: 15px; line-height: 1.5; font-weight: 600; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ql-text); }
.ql-delivery { flex-shrink: 0; font-size: 10px; color: #348c70; background: var(--ql-soft); border: 1px solid #cbe3d7; border-radius: 6px; padding: 2px 7px; font-weight: 600; }
.ql-delivery.is-manual { background: #faf4e8; color: #bd8b36; border-color: #e9dfc4; }
.ql-product-tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 4px; min-height: 26px; max-height: 48px; overflow: hidden; margin-top: 6px; }
.ql-tag { background: #f2f5f9; color: #7c899a; border: 1px solid #dfe5ee; padding: 1px 6px; font-size: 10px; line-height: 16px; border-radius: 5px; font-weight: 600; }
.ql-tag:nth-child(3n+2) { background: #fff2f2; border-color: #ffd0cf; color: #eb7170; }
.ql-tag:nth-child(3n) { background: #edfaf3; border-color: #c5ecd9; color: #44a984; }
.ql-product-bottom { display: flex; align-items: flex-end; gap: 8px; margin-top: auto; padding-top: 8px; }
.ql-product-info { flex: 1; min-width: 0; }
.ql-sold { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; border: 1px solid #ffd7b4; background: #fff9ed; color: #e7763e; font-size: 10px; line-height: 16px; font-weight: 600; border-radius: 15px; padding: 1px 7px; margin-bottom: 5px; white-space: nowrap; }
.ql-stock { font-size: 11px; font-weight: 600; color: #1cb087; white-space: nowrap; }
.ql-stock > i { font-size: 8px; margin-right: 3px; }
.ql-stock.is-low { color: #df9b42; }
.ql-stock.is-empty { color: #96a19b; }
.ql-price { font-size: 25px; line-height: 1.25; font-weight: 700; letter-spacing: -.8px; white-space: nowrap; margin-top: 2px; color: var(--ql-text); }
.ql-price small { font-size: 12px; letter-spacing: 0; font-weight: 400; color: var(--ql-muted); }
.ql-member-price { color: var(--ql-green); font-size: 10px; margin-top: 3px; white-space: nowrap; }
.ql-product-media { flex: 0 0 51%; min-width: 0; max-width: 142px; }
.ql-product-status { color: #86918b; font-size: 10px; text-align: right; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ql-product-status > i { font-size: 5px; color: #37c998; vertical-align: 2px; margin-right: 4px; }
.ql-product-cover { width: 100%; height: 63px; object-fit: cover; border: 1px solid #d4dbd7; border-radius: 12px; box-shadow: 0 6px 13px #1c30252a; background: var(--ql-pill); }
.ql-product.is-soldout { opacity: .66; }
.ql-product.is-soldout .ql-product-cover { filter: grayscale(.6); }
.ql-feedback { grid-column: 1 / -1; text-align: center; padding: 64px 18px; border-radius: 18px; background: var(--ql-surface); color: var(--ql-muted); }
.ql-feedback .ql-button { margin: 16px auto 0; }
.ql-partner { margin-top: 22px; border: 1px solid #f8e4bd; background: var(--ql-surface); border-radius: 18px; }
.ql-partner-bar { min-height: 88px; padding: 18px 20px; display: flex; align-items: center; gap: 10px; }
.ql-partner-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border: 1px solid #f3dcae; background: #fff8e9; border-radius: 18px; color: #c28b3c; font-size: 11px; white-space: nowrap; }
.ql-partner-bar > strong { white-space: nowrap; font-size: 13px; }
.ql-partner-summary { flex: 1; min-width: 0; color: var(--ql-muted); font-size: 12px; }
.ql-partner-toggle { margin-left: auto; }
.ql-partner-details { padding: 0 20px 22px; color: var(--ql-muted); }
.ql-partner-details > div { display: flex; flex-wrap: wrap; gap: 10px; }
.qinglan-theme .ql-footer { background: var(--ql-surface); border-top: 1px solid var(--ql-line); padding: 50px 0 28px; color: var(--ql-muted); }
.ql-footer-main { display: grid; grid-template-columns: 1.65fr 1fr 1fr 1fr; gap: 45px; padding-bottom: 42px; }
.ql-footer-brand img { width: 32px; height: 32px; object-fit: contain; }
.ql-footer-brand p { margin: 20px 0 0; max-width: 320px; line-height: 1.9; }
.ql-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.ql-footer-column h2 { margin: 0 0 8px; color: var(--ql-text); font-weight: 600; font-size: 13px; }
.ql-footer-column :is(a,button) { color: var(--ql-muted); font-size: 13px; background: none; border: 0; padding: 0; }
.ql-footer-column i { margin-right: 7px; }
.ql-footer-column :is(a,button):hover { color: var(--ql-green); }
.ql-footer-bottom { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--ql-line); padding-top: 19px; font-size: 12px; }
.ql-icp { margin-left: 14px; }
.qinglan-theme .ql-floating-support { position: fixed; right: 18px; bottom: 32px; z-index: 30; padding: 11px 17px; border-radius: 30px; background: #26312e; color: #fff; font-size: 12px; box-shadow: 0 6px 20px #162f2733; }
.ql-floating-support > i { color: #50c7f0; margin-right: 6px; }
.qinglan-theme[data-ql-mode="dark"] :is(.ql-metric,.ql-tag,.ql-button:not(.ql-button-primary),.panel) { background: var(--ql-surface); color: var(--ql-text); border-color: var(--ql-line); }
.qinglan-theme[data-ql-mode="dark"] .ql-nav-link { color: var(--ql-text); }
@media (min-width: 1180px) {
    .ql-hero-copy { flex-basis: 100%; }
    .ql-hero-top { position: relative; }
    .ql-assistant { position: absolute; top: 6px; left: 55%; width: 330px; }
    .ql-hero-actions { margin-top: -58px; }
    .ql-hero-copy > p { max-width: 55%; }
    .qinglan-theme .ql-hero h1 { max-width: 53%; }
}
@media (min-width: 1500px) {
    .ql-hero-copy { flex-basis: 100%; }
    .ql-assistant { left: 42%; }
    .qinglan-theme .ql-hero h1, .ql-hero-copy > p { max-width: 40%; }
}
@media (max-width: 1179px) {
    .ql-nav { gap: 18px; flex-wrap: wrap; padding-top: 13px; padding-bottom: 13px; }
    .ql-nav-pills { order: 3; flex-basis: 100%; width: 100%; overflow-x: auto; scrollbar-width: none; }
    .ql-hero-copy { flex-basis: 100%; }
    .ql-hero h1 { font-size: 26px; }
    .ql-assistant { flex-basis: 330px; }
    .ql-partner-bar { flex-wrap: wrap; }
    .ql-partner-summary { flex-basis: 40%; }
}
@media (max-width: 960px) {
    .ql-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
    .ql-product-media { flex-basis: 47%; }
    .ql-product h2 { font-size: 14px; }
    .ql-delivery { font-size: 9px; padding-inline: 4px; }
    .ql-partner-summary { display: none; }
}
@media (max-width: 700px) {
    .qinglan-theme .ql-container, .qinglan-theme .tokyo-shell, .qinglan-theme .tokyo-shell--narrow { width: calc(100% - 24px); }
    .ql-nav { min-height: 62px; gap: 10px; padding-block: 11px; }
    .ql-nav-pills { padding: 4px; }
    .qinglan-theme .ql-nav-link { font-size: 12px; padding: 7px 11px; min-height: 33px; }
    .qinglan-theme .ql-partner-link { padding: 7px 12px; font-size: 12px; }
    .ql-tools { gap: 7px; }
    .qinglan-theme .ql-icon-button { width: 35px; height: 35px; font-size: 14px; }
    .qinglan-theme .ql-login { padding: 8px 16px; min-height: 35px; }
    .ql-search-form { gap: 7px; padding-bottom: 12px; }
    .ql-search-form > i { display: none; }
    .ql-search-form .ql-button { padding: 9px 13px; }
    .ql-main { padding-top: 12px; padding-bottom: 52px; }
    .ql-hero { border-radius: 17px; padding: 17px 16px 13px; }
    .ql-hero-top { gap: 14px; }
    .qinglan-theme .ql-hero h1 { font-size: 23px; margin-top: 10px; }
    .ql-hero h1 strong { display: block; }
    .ql-hero-copy > p { font-size: 12px; line-height: 1.8; }
    .ql-hero-metrics { gap: 6px; margin-top: 12px; }
    .ql-metric { padding: 5px 8px; font-size: 10px; }
    .ql-metric b { font-size: 12px; }
    .ql-live { font-size: 10px; }
    .qinglan-theme .ql-assistant { flex-basis: 100%; padding: 10px 12px; }
    .ql-assistant-tags > span { font-size: 10px; padding-inline: 9px; }
    .ql-hero-actions { width: 100%; margin: 0; }
    .ql-hero-actions > a { flex: 1; }
    .ql-hero-bottom { font-size: 10px; gap: 10px; }
    .ql-hero-bottom > span { max-width: 77%; line-height: 1.7; }
    .ql-catalog { margin-top: 18px; }
    .ql-catalog-toolbar { gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
    .ql-categories { max-width: 100%; width: 100%; }
    .ql-category { padding: 7px 15px; min-height: 35px; font-size: 13px; }
    .ql-catalog-meta { width: 100%; justify-content: space-between; padding-inline: 4px; font-size: 11px; }
    .ql-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .qinglan-theme .ql-product { padding: 10px 9px; border-radius: 15px; min-height: 200px; }
    .ql-product-header { flex-wrap: wrap; gap: 4px; }
    .ql-product h2 { flex-basis: 100%; font-size: 13px; }
    .ql-delivery { font-size: 9px; }
    .ql-product-tags { margin-top: 5px; max-height: 44px; }
    .ql-tag { font-size: 9px; padding-inline: 4px; line-height: 15px; }
    .ql-product-bottom { gap: 5px; flex-wrap: wrap; padding-top: 6px; align-items: center; }
    .ql-product-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 5px; flex-basis: 100%; }
    .ql-sold { font-size: 9px; margin: 0; padding-inline: 5px; }
    .ql-stock { font-size: 9px; }
    .ql-price { font-size: 23px; margin-top: 3px; flex-basis: 100%; }
    .ql-price small { font-size: 10px; }
    .ql-product-media { flex: 0 0 100%; max-width: none; margin-top: 3px; position: relative; }
    .ql-product-cover { height: 65px; border-radius: 9px; object-fit: cover; box-shadow: 0 3px 9px #1c30251a; }
    .ql-product-status { display: none; }
    .ql-member-price { font-size: 9px; }
    .ql-partner { margin-top: 15px; border-radius: 15px; }
    .ql-partner-bar { padding: 16px; gap: 9px; }
    .ql-partner-bar > strong { font-size: 11px; }
    .ql-partner-toggle { width: 100%; margin-top: 3px; }
    .ql-partner-details { font-size: 12px; padding-inline: 16px; }
    .ql-footer { padding-top: 30px !important; }
    .ql-footer-main { grid-template-columns: repeat(3,1fr); gap: 24px 14px; padding-bottom: 26px; }
    .ql-footer-brand { grid-column: 1 / -1; }
    .ql-footer-brand p { margin-top: 12px; font-size: 12px; }
    .ql-footer-column :is(a,button) { font-size: 12px; }
    .ql-footer-bottom { flex-direction: column; gap: 6px; font-size: 11px; }
    .qinglan-theme .ql-floating-support { right: 12px; bottom: 14px; padding: 10px 13px; }
}
@media (prefers-reduced-motion: reduce) { .qinglan-theme .ql-product { transition: none; } .qinglan-theme .ql-product:hover { transform: none; } }
