/* 安银 · 云间小店。保留商城组件和交易接口，只覆盖主题的展示层。 */
@font-face {
    font-family: "Dancing Script";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/DancingScript-SemiBold.ttf') format('truetype');
}
:root[data-theme] {
    --a-brand: #1769ff;
    --a-ink: #193142;
    --a-muted: #4d6371;
    --a-line: rgba(255,255,255,.68);
    --a-glass: rgba(250,253,255,.66);
    --a-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    --md-primary: #1769ff;
    --md-primary-rgb: 23,105,255;
    --md-on-primary: #fff;
    --uc-primary-deep: #164cbd;
    --uc-ink: var(--a-ink);
    --uc-ink-med: var(--a-muted);
    --uc-ink-dis: #526976;
    --uc-field-bg: rgba(255,255,255,.72);
    --uc-focus: #1769ff;
    --uc-focus-rgb: 23,105,255;
    --glass-bg: var(--a-glass);
    --glass-bg-soft: rgba(255,255,255,.42);
    --glass-bg-strong: rgba(249,253,255,.94);
    --glass-border: var(--a-line);
    --glass-border-soft: rgba(105,139,158,.18);
    --glass-filter: blur(22px) saturate(120%);
    --glass-filter-strong: blur(28px);
    --glass-hi: inset 0 1px 0 rgba(255,255,255,.85);
    --glass-shadow: 0 8px 32px rgba(38,74,96,.07);
    --glass-shadow-lg: 0 18px 42px rgba(38,74,96,.14);
}
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
html[data-theme] body.anai {
    margin: 0;
    min-height: 100vh;
    isolation: isolate;
    color: var(--a-ink);
    background: #d7eafa !important;
    font-family: var(--a-font) !important;
    -webkit-font-smoothing: antialiased;
}
.anai-scene {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: url('./cloud-meadow.webp') center center / cover no-repeat;
}
html[data-theme] body.anai::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(110deg, rgba(231,246,255,.48), rgba(235,249,255,.08) 65%);
}
body.anai a { color: inherit; text-decoration: none; }
body.anai :is(a,button,input):focus-visible { outline: 2px solid #1769ff; outline-offset: 5px; }
body.anai svg { width: 22px; height: 22px; flex-shrink: 0; }
.anai-skip { position: fixed; z-index: 4000; top: -80px; left: 20px; background: white; padding: 12px 20px; border-radius: 30px; }
.anai-skip:focus { top: 20px; }

/* 三组独立的悬浮胶囊，中心品牌不随两侧宽度偏移。 */
html[data-theme] body.anai .uc-topbar { position: fixed; inset: 24px 30px auto; padding: 0; z-index: 200; background: none; border: 0; }
body.anai .uc-topbar__inner { max-width: 1280px; margin: auto; }
html[data-theme] body.anai .shop-nav { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 22px; height: 58px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
body.anai :is(.shop-nav__list,.shop-brand,.shop-nav__right) { border: 1px solid rgba(255,255,255,.65); background: rgba(246,252,255,.36); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: inset 0 1px 0 rgba(255,255,255,.7),0 5px 20px rgba(39,83,108,.06); border-radius: 999px; }
body.anai .shop-brand { grid-column: 2; grid-row: 1; padding: 10px 24px; gap: 10px; }
body.anai .anai-brand-mark { width: 28px; height: 28px; }
body.anai .shop-brand__name { color: var(--a-ink); font-size: 18px; font-weight: 500; letter-spacing: .07em; }
body.anai .shop-brand__name em { font-family: Georgia,serif; font-weight: 500; font-size: 22px; }
.anai-brand-dot { color: #1769ff; font-size: 13px; margin-left: 8px; }
body.anai .shop-nav__list { grid-column: 1; grid-row: 1; width: max-content; align-self: center; padding: 5px; }
body.anai .shop-nav__item { height: 42px; padding: 0 18px; color: var(--a-ink); font-size: 13px; font-weight: 500; }
body.anai .shop-nav__item i { display: none; }
body.anai .shop-nav__item.active { color: var(--a-ink); background: rgba(255,255,255,.4); box-shadow: none; }
body.anai .shop-nav__item:hover { background: rgba(255,255,255,.62); }
body.anai .shop-nav__right { grid-column: 3; grid-row: 1; justify-self: end; padding: 4px 6px; margin: 0; height: 54px; gap: 2px; }
body.anai .shop-user__btn { height: 42px; background: rgba(255,255,255,.3); }
body.anai .shop-user__name { font-size: 12px; }
body.anai .shop-user__balance { font-size: 10px; }
body.anai .shop-user__avatar { width: 32px; height: 32px; box-shadow: none; }
body.anai .shop-user__balance b { color: var(--a-ink); }
body.anai .shop-icon-btn { color: var(--a-ink); }
body.anai .shop-auth { gap: 2px; }
body.anai .shop-btn { font-size: 12px; height: 40px; padding: 0 15px; }
body.anai .shop-btn i { display: none; }
body.anai .shop-btn--primary { color: #fff; background: #254e66; box-shadow: none; }
body.anai .shop-btn--ghost { border-color: transparent; }
body.anai .shop-burger { background: transparent; color: var(--a-ink); border-radius: 50%; }
body.anai .shop-lang__menu, body.anai .shop-user__menu { background: rgba(250,253,255,.97); }
body.anai .shop-drawer { padding-top: 30px; background: rgba(247,253,255,.98); }
body.anai.shop-drawer-open { overflow: hidden; }

/* 首屏保留风景和呼吸感，商品仍可从按钮直接到达。 */
.anai-hero { position: relative; max-width: 1280px; min-height: 100svh; margin: auto; padding: 146px 32px 120px; display: flex; align-items: center; }
.anai-hero__copy { position: relative; z-index: 1; margin-top: -8px; }
.anai-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .16em; margin: 0 0 24px; }
.anai-eyebrow > span { width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; }
.anai-hero h1 { position: relative; width: max-content; font-size: clamp(68px,6.5vw,100px); line-height: 1.13; letter-spacing: -.055em; font-weight: 500; color: var(--a-ink); margin: 0 0 28px -6px; }
.anai-hero h1 em { font-family: Georgia,"Times New Roman",serif; font-size: 1.2em; font-weight: 400; letter-spacing: -.08em; margin-right: .12em; }
.anai-spark { position: absolute; color: #fff9e6; font-size: .36em; top: .3em; right: -.95em; font-weight: 400; text-shadow: 0 2px 10px rgba(62,115,146,.14); }
.anai-hero__sub { font-size: 15px; color: #294d63; line-height: 1.95; margin: 0; }
.anai-hero__actions { display: flex; align-items: center; gap: 30px; margin-top: 32px; }
body.anai .anai-cta { min-width: 172px; height: 54px; padding: 0 24px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: rgba(255,255,255,.56); backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 22px rgba(25,62,90,.06); display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; font-size: 14px; transition: background .18s, transform .18s; }
body.anai .anai-cta:hover { background: rgba(255,255,255,.86); transform: translateY(-2px); }
.anai-cta span { font-size: 23px; font-weight: 300; }
.anai-text-link { font-size: 13px; display: inline-flex; gap: 18px; align-items: center; }
.anai-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.anai-hero__bottom { position: absolute; bottom: 32px; left: 32px; right: 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; color: #193a41; }
.anai-hero__bottom p { display: flex; align-items: center; gap: 8px; margin: 0; }
.anai-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #2b6b4f; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.anai-dot-sep { padding: 0 5px; opacity: .5; }
.anai-hero__bottom > a { display: flex; align-items: center; gap: 18px; }
.anai-scroll-arrow { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.25); border-radius: 50%; width: 34px; height: 34px; font-size: 18px; }
.anai-student-note { position: absolute; top: 33%; right: 36px; margin: 0; font-family: "Dancing Script","Snell Roundhand",cursive; font-size: clamp(58px,6.6vw,102px); font-weight: 600; line-height: 1.25; color: #244451; white-space: nowrap; transform: rotate(-8deg); text-shadow: 0 2px 12px rgba(255,255,255,.35); }
.anai-landscape-note { position: absolute; bottom: 150px; right: 32px; font-family: Georgia,serif; font-size: 24px; color: #244451; line-height: 1.55; text-align: right; text-shadow: 0 1px 4px rgba(255,255,255,.6); }
.anai-landscape-note em { font-size: 18px; }
.anai-catalog-only .anai-hero { display: none; }
.anai-catalog-only .anai-store { padding-top: 134px; }

/* 目录与玻璃商品卡片。 */
.anai-store { max-width: 1280px; margin: 0 auto; padding: 52px 32px 80px; }
.anai-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.anai-section-heading .anai-eyebrow { margin-bottom: 12px; font-size: 10px; letter-spacing: .18em; }
.anai-section-heading h2 { margin: 0; font-size: 32px; font-weight: 500; letter-spacing: -.045em; }
.anai-section-heading h2 span { color: #1769ff; }
.anai-section-heading > p { margin: 0 0 3px; font-size: 12px; color: #324e5f; }
.anai-notice { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; border: 1px solid rgba(255,255,255,.72); border-radius: 15px; padding: 13px 18px; background: rgba(249,253,255,.69); backdrop-filter: blur(18px); color: #3c5360; font-size: 12px; line-height: 1.7; }
.anai-notice > svg { width: 17px; height: 17px; }
.anai-notice__label { flex: 0 0 auto; font-weight: 600; padding-right: 12px; border-right: 1px solid rgba(79,110,132,.2); }
.anai-notice__body p { margin: 0; }
.anai-notice__body :is(font,b) { color: inherit !important; }
.anai-store__layout { display: grid; grid-template-columns: 218px minmax(0,1fr); gap: 26px; align-items: start; }
.anai-categories { position: sticky; top: 110px; border: 1px solid var(--a-line); border-radius: 22px; padding: 22px 12px 16px; background: rgba(248,253,255,.58); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: var(--glass-shadow),var(--glass-hi); }
.anai-sidebar-title { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .1em; color: #4b626e; margin: 0 12px 18px; }
.anai-sidebar-title > span { font-size: 17px; }
body.anai .chip-list { flex-direction: column; gap: 7px; margin: 0; }
html[data-theme] body.anai .chip { display: flex; flex: 0 0 auto; gap: 10px; width: 100%; height: 50px; padding: 6px 11px; font-size: 12px; border: 1px solid transparent; border-radius: 13px; color: #324f60; background: transparent; box-shadow: none; }
html[data-theme] body.anai .chip:hover { background: rgba(255,255,255,.38); }
html[data-theme] body.anai .chip.is-primary { color: #224b6e; background: rgba(255,255,255,.66); border-color: rgba(255,255,255,.9); box-shadow: 0 3px 12px rgba(38,74,96,.05); }
.anai-category-icon { flex: 0 0 auto; width: 28px; height: 28px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.62); border-radius: 9px; display: grid; place-items: center; font-size: 19px; }
.anai-category-count { margin-left: auto; font-size: 10px; opacity: .65; font-variant-numeric: tabular-nums; }
.anai-buying-note { margin: 22px 10px 4px; padding-top: 20px; border-top: 1px solid rgba(82,115,130,.16); color: #465e6b; font-size: 11px; line-height: 1.9; }
.anai-buying-note > span { display: block; font-size: 24px; line-height: 1; margin-bottom: 12px; }
.anai-buying-note b { font-weight: 600; }
.anai-buying-note p { margin: 8px 0 12px; }
.anai-buying-note a { font-size: 10px; border-bottom: 1px solid rgba(48,77,96,.3); padding-bottom: 3px; }
.anai-catalog { min-width: 0; }
.anai-catalog__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; min-height: 47px; }
.anai-catalog__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; min-width: 0; }
.anai-catalog__title h3 { margin: 0; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.anai-result-count { font-size: 10px; color: #405967; white-space: nowrap; }
.anai-catalog-search { display: flex; flex: 0 0 276px; align-items: center; gap: 10px; padding: 0 12px 0 15px; height: 46px; border-radius: 14px; border: 1px solid rgba(255,255,255,.84); background: rgba(250,253,255,.58); backdrop-filter: blur(18px); }
.anai-catalog-search svg { width: 17px !important; height: 17px !important; color: #476374; }
.anai-catalog-search input { font-family: inherit; font-size: 12px; color: var(--a-ink); outline: 0; border: 0; padding: 0; width: 100%; min-width: 0; background: none; }
.anai-catalog-search input::placeholder { color: #536d7c; }
.anai-catalog-search button { border: 0; background: rgba(255,255,255,.55); color: #526e7e; border-radius: 7px; font-size: 17px; height: 28px; width: 30px; flex: 0 0 auto; }
.anai-catalog-search:focus-within { outline: 2px solid rgba(23,105,255,.6); outline-offset: 2px; }
html[data-theme] body.anai .item-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 0; padding: 0; }
html[data-theme] body.anai .item-card-cell { padding: 0; width: 100%; min-width: 0; margin: 0; color: inherit; }
html[data-theme] body.anai .acg-card { height: 100%; border-radius: 21px; border: 1px solid rgba(255,255,255,.76); background: rgba(250,253,255,.72); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: var(--glass-hi),0 6px 24px rgba(32,67,90,.06); transition: transform .2s,box-shadow .2s,background .2s; overflow: hidden; }
html[data-theme] body.anai .item-card-cell:hover .acg-card { transform: translateY(-4px); background: rgba(255,255,255,.88); box-shadow: 0 16px 30px rgba(32,67,90,.13); }
html[data-theme] body.anai .acg-thumb { position: relative; height: auto; aspect-ratio: 16/10; border: 0; border-radius: 14px; overflow: hidden; margin: 9px 9px 0; background: #e1e9ed; }
.acg-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.anai-delivery-label { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 6px; color: #fff; font-size: 9px; font-weight: 500; background: rgba(13,30,38,.65); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); }
html[data-theme] body.anai .acg-body { padding: 16px 16px 13px; }
.anai-card-category { margin: 0 0 7px; font-size: 9px; color: #536d79; letter-spacing: .04em; }
html[data-theme] body.anai .goods-title { min-height: 3.1em; margin: 0 0 14px; font-size: 13px; line-height: 1.55; font-weight: 500; color: #193142; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.anai .tags:empty { display: none; }
body.anai .tags { gap: 4px; }
html[data-theme] body.anai .stat-row { display: flex; justify-content: space-between; align-items: center; margin: 0 0 11px; }
html[data-theme] body.anai .price { color: #244b66; font-family: "Helvetica Neue",Arial,sans-serif; font-size: 25px; line-height: 1.1; font-weight: 500; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
body.anai .price .unit { font-size: 13px; margin-right: 3px; font-weight: 400; }
.anai-card-arrow { width: 29px; height: 29px; display: grid; place-items: center; font-size: 19px; line-height: 1; border-radius: 50%; background: rgba(255,255,255,.6); border: 1px solid rgba(106,137,153,.19); }
html[data-theme] body.anai .stat-bottom { display: flex; justify-content: space-between; gap: 8px; padding-top: 11px; border-top: 1px solid rgba(93,126,144,.13); font-size: 9px; color: #4e6572; }
body.anai .acg-card.soldout { filter: grayscale(.6); opacity: .72; }
body.anai .badge-soft { border-radius: 6px; font-size: 10px; padding: 4px 8px; }
body.anai .badge-soft-success { background: rgba(222,242,232,.8); color: #276d50; }
body.anai .badge-soft-primary { background: rgba(226,239,255,.8); color: #285cb0; }
body.anai .badge-soft-info { background: rgba(255,255,255,.6); color: #536877; }
.anai-empty { grid-column: 1/-1; text-align: center; background: var(--a-glass); border: 1px solid var(--a-line); backdrop-filter: blur(22px); border-radius: 22px; padding: 80px 20px; }
.anai-empty > span { display: block; font-size: 40px; margin-bottom: 12px; }
.anai-empty h4 { font-size: 17px; margin-bottom: 12px; }
.anai-empty p { font-size: 12px; color: var(--a-muted); margin: 0; }

/* 商品与查单页面沿用原有表单和控制器。 */
body.anai main.anai-inner-page { max-width: 1160px; padding: 120px 24px 60px; min-height: calc(100svh - 160px); }
.anai-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; color: #3f5d70; margin-bottom: 23px; }
.anai-breadcrumb a:hover { text-decoration: underline; }
body.anai .panel { border-radius: 24px; background: rgba(250,253,255,.83); border: 1px solid var(--a-line); box-shadow: var(--glass-shadow); }
body.anai .panel-body { padding: 26px; }
body.anai .acg-cover { border-radius: 17px; backdrop-filter: none; background: rgba(255,255,255,.45); display: flex; align-items: center; }
body.anai .item-cover { object-fit: contain; width: 100%; max-height: 440px; height: auto; border-radius: 15px; }
body.anai .item-buy { padding: 6px 3px 6px 8px; }
body.anai .item-buy h4 { color: var(--a-ink); font-size: 22px; font-weight: 500; line-height: 1.5; margin-bottom: 16px; }
body.anai .item-buy .abacus { padding-top: 12px; }
body.anai .item-buy .abacus .price { font-size: 37px; }
body.anai .item-buy .abacus .price .unit { font-size: 19px; }
body.anai .buy-divider { margin: 18px 0; }
body.anai .form-label { font-weight: 500; color: #3c5667; font-size: 12px; }
body.anai .form-control { min-height: 44px; border: 1px solid rgba(91,126,148,.24) !important; border-radius: 11px; background: rgba(255,255,255,.72) !important; color: var(--a-ink) !important; box-shadow: none; }
body.anai .form-control:focus { border-color: #1769ff !important; box-shadow: 0 0 0 3px rgba(23,105,255,.12) !important; }
body.anai .qty-group { border-radius: 11px; }
body.anai .qty-group button { width: 44px; }
body.anai .captcha-group { height: 44px; max-width: 100%; }
body.anai .captcha-group .captcha-input.form-control { min-height: 0; border: 0 !important; }
body.anai .sku { border-radius: 10px; }
body.anai .sku.is-primary { color: #1769ff; border-color: rgba(23,105,255,.6); background: #eef4ff; }
.anai-purchase-tip { color: #556d7b; font-size: 11px; line-height: 1.7; margin: 0; }
body.anai .cash-pay { padding: 14px; background: rgba(228,240,251,.52); }
body.anai .pay-list .pay { padding: 12px; background: rgba(255,255,255,.8); }
body.anai .pay-list .pay.selected { background: #1769ff; }
body.anai .item-detail { margin-top: 24px; }
body.anai .panel-header { padding: 24px 26px 0; }
body.anai .panel-title { font-weight: 500; font-size: 16px; }
body.anai .panel-header .icon { background: rgba(255,255,255,.64); }
body.anai .item-detail .panel-body { font-size: 14px; color: #3d5667; line-height: 1.9; overflow-wrap: anywhere; }
body.anai .item-detail .panel-body :is(h1,h2,h3) { font-size: 18px; font-weight: 500; margin: 26px 0 12px; }
body.anai .item-detail .panel-body :first-child { margin-top: 0; }
.anai-page-heading { padding: 12px 0 26px; }
.anai-page-heading h1 { font-size: 42px; font-weight: 500; letter-spacing: -.05em; margin-bottom: 14px; }
.anai-page-heading p { margin: 0; color: #3c5d71; font-size: 13px; line-height: 1.8; }
.anai-page-heading .anai-eyebrow { font-size: 10px; margin-bottom: 16px; }
.anai-query-form-row { display: flex; align-items: end; gap: 12px; max-width: 640px; }
.anai-query-field { flex: 1; min-width: 0; }
body.anai .btn-search-query { height: 44px; box-shadow: none; border-radius: 11px; }
.anai-query-hint { font-size: 11px; line-height: 1.9; margin: 16px 0 0; color: #4c6574; }

.anai-footer { position: relative; max-width: 1216px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.65); padding: 30px 0 36px; }
.anai-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; color: #314c59; font-size: 10px; }
.anai-footer__brand { color: #193142; font-size: 18px; letter-spacing: .05em; }
.anai-footer__brand em { font-family: Georgia,serif; }
.anai-footer__brand > span { font-size: 11px; color: #1769ff; }
.anai-footer__inner > div:last-child { text-align: right; }
.anai-footer__inner a { font-size: 11px; margin-left: 22px; }
.anai-footer__inner a:hover { text-decoration: underline; }
.anai-footer p { margin: 9px 0 0; line-height: 1.8; }

/* 登录、注册、找回密码共用同一张云景和玻璃表单。 */
body.anai-auth .anai-auth-home { position: absolute; top: 28px; left: 32px; z-index: 2; padding: 11px 20px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.45); backdrop-filter: blur(16px); font-size: 12px; }
body.anai-auth .auth-wrapper { background: transparent; min-height: 100svh; padding: 100px 20px 50px; }
body.anai-auth .auth-card { max-width: 440px; padding: 34px; border-radius: 26px; background: rgba(249,253,255,.83); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 20px 60px rgba(27,65,91,.1),var(--glass-hi); color: var(--a-ink); }
body.anai-auth .brand-header { margin-bottom: 22px; }
body.anai-auth .brand-icon { border-radius: 12px; width: 46px; height: 46px; }
body.anai-auth .anai-auth-title { font-size: 29px; font-weight: 500; letter-spacing: -.04em; margin: 0 0 10px; }
body.anai-auth .auth-subtitle { color: #4d6575; font-size: 12px; line-height: 1.8; margin-bottom: 26px !important; }
body.anai-auth .text-link { color: #1769ff; }
body.anai-auth .form-floating > .form-control { height: 54px; min-height: 54px; font-size: 13px; }
body.anai-auth .form-floating > label { color: #536c7d; font-size: 12px; }
body.anai-auth .form-floating > .form-control:focus ~ label::after, body.anai-auth .form-floating > .form-control:not(:placeholder-shown) ~ label::after { background: transparent; }
body.anai-auth .btn-gradient { background: #1769ff; font-size: 14px; border-radius: 11px; padding: 13px 20px; box-shadow: 0 5px 14px rgba(23,105,255,.14); }
body.anai-auth .form-check { font-size: 11px; }
body.anai-auth .image-code { max-width: 100%; border-radius: 9px; }

@media (min-width: 1600px) { .anai-hero { max-width: 1440px; } .anai-hero h1 { font-size: 112px; } }
@media (max-width: 1100px) {
    .anai-store__layout { grid-template-columns: 190px minmax(0,1fr); gap: 20px; }
    html[data-theme] body.anai .item-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .anai-catalog-search { flex-basis: 230px; }
    .anai-categories { padding-left: 9px; padding-right: 9px; }
    html[data-theme] body.anai .chip { font-size: 11px; }
    .anai-landscape-note { right: 45px; bottom: 125px; }
}
@media (max-width: 768px) {
    .anai-scene { background-image: url('./cloud-meadow-mobile.webp'); background-position: 54% center; }
    html[data-theme] body.anai::before { background: linear-gradient(105deg,rgba(231,246,255,.5),rgba(235,249,255,.08)); }
    html[data-theme] body.anai .uc-topbar { inset: 16px 18px auto; }
    html[data-theme] body.anai .shop-nav { gap: 10px; }
    body.anai .shop-brand { padding: 9px 18px; }
    body.anai .shop-nav__item { padding: 0 13px; }
    .anai-hero { padding: 144px 30px 130px; min-height: 100svh; }
    .anai-hero h1 { font-size: 78px; }
    .anai-hero__sub { font-size: 13px; }
    .anai-hero__bottom { left: 30px; right: 30px; font-size: 10px; }
    .anai-hero__bottom > a { gap: 10px; }
    .anai-landscape-note { display: none; }
    .anai-student-note { top: 128px; right: 26px; font-size: 52px; }
    .anai-store { padding: 42px 22px 50px; }
    .anai-section-heading { align-items: start; }
    .anai-section-heading h2 { font-size: 27px; }
    .anai-section-heading > p { display: none; }
    .anai-store__layout { display: block; }
    .anai-categories { position: static; padding: 10px; border-radius: 17px; margin-bottom: 22px; }
    .anai-sidebar-title, .anai-buying-note { display: none; }
    body.anai .chip-list { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 7px; scrollbar-width: thin; }
    html[data-theme] body.anai .chip { width: auto; height: 43px; padding: 5px 11px; gap: 7px; }
    .anai-category-icon { width: 24px; height: 24px; font-size: 16px; }
    .anai-category-count { margin-left: 2px; }
    .anai-notice { gap: 8px; padding: 12px; align-items: start; font-size: 11px; line-height: 1.8; }
    .anai-notice__label { display: none; }
    .anai-notice > svg { margin-top: 2px; }
    .anai-catalog__toolbar { flex-wrap: wrap; margin-bottom: 16px; gap: 14px; }
    .anai-catalog-search { flex: 1 1 200px; }
    html[data-theme] body.anai .item-list { gap: 13px; }
    .anai-footer { margin: 0 22px; padding: 24px 0; }
    body.anai main.anai-inner-page { padding: 110px 18px 36px; }
    body.anai .panel-body { padding: 20px; }
    body.anai .item-buy { padding: 0; }
    body.anai .item-buy h4 { font-size: 20px; }
    body.anai .item-detail .panel-body { font-size: 13px; }
    .anai-page-heading h1 { font-size: 34px; }
}
@media (max-width: 680px) {
    html[data-theme] body.anai .shop-nav { display: flex; justify-content: space-between; }
    body.anai .shop-brand { margin-right: auto; padding: 10px 15px; }
    body.anai .shop-brand__name { font-size: 16px; }
    body.anai .anai-brand-mark { width: 24px; height: 24px; }
    body.anai .shop-nav__right { margin-left: auto; }
    .anai-hero { padding: 130px 26px 120px; }
    .anai-hero h1 { font-size: 78px; }
    .anai-hero__copy { margin-top: -22px; }
    .anai-eyebrow { font-size: 10px; letter-spacing: .12em; margin-bottom: 24px; }
    .anai-hero__sub { max-width: 310px; font-size: 12px; line-height: 2; }
    .anai-hero__actions { gap: 23px; margin-top: 28px; }
    body.anai .anai-cta { min-width: 150px; height: 49px; font-size: 12px; padding: 0 21px; gap: 26px; }
    .anai-text-link { font-size: 11px; gap: 12px; }
    .anai-hero__bottom { left: 26px; right: 26px; bottom: 28px; align-items: end; }
    .anai-hero__bottom p { flex-wrap: wrap; gap: 6px; max-width: 160px; font-size: 10px; line-height: 1.8; }
    .anai-dot-sep { display: none; }
    .anai-hero__bottom > a { font-size: 0; }
    .anai-scroll-arrow { font-size: 20px; width: 39px; height: 39px; }
    .anai-catalog__title { flex: 1 1 100%; }
    .anai-catalog-search { flex-basis: 100%; }
    .anai-footer__inner { flex-direction: column; align-items: start; gap: 22px; }
    .anai-footer__inner > div:last-child { text-align: left; }
    .anai-footer__inner a { margin-left: 0; margin-right: 22px; }
    .anai-query-form-row { flex-direction: column; align-items: stretch; }
    body.anai .btn-search-query { width: 100%; justify-content: center; }
    body.anai-auth .anai-auth-home { left: 20px; top: 20px; }
    body.anai-auth .auth-card { padding: 27px 24px; }
    body.anai .anai-catalog-search input, body.anai .form-control, body.anai-auth .form-floating > .form-control { font-size: 16px; }
}
@media (max-width: 400px) {
    .anai-student-note { font-size: 46px; }
    .anai-hero h1 { font-size: 66px; }
    .anai-store { padding-left: 16px; padding-right: 16px; }
    html[data-theme] body.anai .item-list { gap: 10px; }
    html[data-theme] body.anai .acg-body { padding: 12px 11px; }
    html[data-theme] body.anai .acg-thumb { margin: 6px 6px 0; border-radius: 12px; }
    html[data-theme] body.anai .goods-title { font-size: 12px; }
    html[data-theme] body.anai .price { font-size: 22px; }
    .anai-card-arrow { width: 24px; height: 24px; font-size: 16px; }
    html[data-theme] body.anai .stat-bottom { font-size: 8px; }
}
@media (max-width: 360px) {
    html[data-theme] body.anai .uc-topbar { left: 12px; right: 12px; }
    body.anai .shop-brand { padding-left: 12px; padding-right: 12px; gap: 8px; }
    .anai-brand-dot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body.anai *,body.anai *::before,body.anai *::after { animation: none !important; transition: none !important; }
}

/* ---------- ChatGPT 充值图文教程（详情页，商品 4–20） ---------- */
body.anai .anai-guide { margin-top: 24px; }
body.anai .anai-guide__note { margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; background: rgba(23,105,255,.08); color: var(--a-ink); font-size: 14px; }
body.anai .anai-guide__steps { list-style: none; margin: 0; padding: 0; counter-reset: anai-step; display: grid; gap: 28px; }
body.anai .anai-guide__steps > li { counter-increment: anai-step; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; align-items: start; }
body.anai .anai-guide__text { position: relative; padding-left: 48px; }
body.anai .anai-guide__text::before { content: counter(anai-step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--a-brand); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 6px 16px rgba(23,105,255,.28); }
body.anai .anai-guide__text b { display: block; color: var(--a-ink); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
body.anai .anai-guide__text p { margin: 0; color: var(--a-muted); font-size: 14px; line-height: 1.8; }
body.anai .anai-guide__text code { background: rgba(25,49,66,.07); padding: 1px 6px; border-radius: 6px; font-size: 13px; color: var(--a-ink); overflow-wrap: anywhere; white-space: normal; }
body.anai .anai-guide__text a { color: var(--a-brand); }
body.anai .anai-guide__shot { display: block; border-radius: 16px; overflow: hidden; border: 1px solid rgba(25,49,66,.12); box-shadow: 0 10px 30px rgba(25,49,66,.12); background: #111; transition: transform .2s, box-shadow .2s; }
body.anai .anai-guide__shot:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(25,49,66,.18); }
body.anai .anai-guide__shot img { display: block; width: 100%; height: auto; }
@media (max-width: 768px) {
    body.anai .anai-guide__steps > li { grid-template-columns: 1fr; gap: 12px; }
}
body.anai .anai-guide__must { margin: 0 0 22px; padding: 14px 18px; border-radius: 14px; background: #fff4e5; border: 1px solid #ffd59a; color: #6b4300; font-size: 14px; line-height: 1.8; }
body.anai .anai-guide__must b { display: block; font-size: 16px; color: #b45309; margin-bottom: 2px; }
/* 首页公告：首段常显，完整内容折叠在 <details> 里 */
.anai-notice:has(details) { align-items: flex-start; }
.anai-notice__body details { margin-top: 6px; }
.anai-notice__body summary { cursor: pointer; color: #1769ff; font-weight: 600; width: fit-content; }
.anai-notice__body details[open] summary { margin-bottom: 6px; }
.anai-notice__body h4 { margin: 12px 0 4px; font-size: 13px; color: #1d3644; }
.anai-notice__body ul { margin: 0; padding-left: 1.2em; }
.anai-notice__body li { margin: 2px 0; }

/* 进站公告弹窗 */
.anai-notice-modal { width: min(560px, calc(100vw - 32px)); max-height: min(80vh, 720px); padding: 0; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: #f7fbfd; color: #2f4552; box-shadow: 0 24px 60px rgba(30,60,80,.25); overflow: hidden; }
.anai-notice-modal[open] { display: flex; flex-direction: column; }
.anai-notice-modal::backdrop { background: rgba(20,40,55,.45); backdrop-filter: blur(3px); }
.anai-notice-modal h3 { margin: 0; padding: 18px 22px 10px; font-size: 17px; font-weight: 600; }
.anai-notice-modal__body { padding: 0 22px; overflow-y: auto; font-size: 13px; line-height: 1.85; }
.anai-notice-modal__body h4 { margin: 14px 0 4px; font-size: 14px; }
.anai-notice-modal__body ul { padding-left: 18px; margin: 4px 0; }
.anai-notice-modal__body summary { display: none; }
.anai-notice-modal form { padding: 14px 22px 18px; border-top: 1px solid rgba(79,110,132,.15); }
.anai-notice-modal button { width: 100%; border: 0; border-radius: 12px; padding: 11px; background: #2f4f63; color: #fff; font-size: 14px; cursor: pointer; }

/* 首页购物保障条 */
.anai-trust { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: -10px 0 24px; padding: 0; }
.anai-trust li { border: 1px solid rgba(255,255,255,.72); border-radius: 13px; padding: 10px 14px; background: rgba(249,253,255,.6); backdrop-filter: blur(14px); color: #4a606c; font-size: 11px; line-height: 1.7; }
.anai-trust b { display: block; color: #2f4552; font-size: 12px; font-weight: 600; }
@media (max-width: 760px) { .anai-trust { grid-template-columns: 1fr; gap: 8px; margin-top: -12px; } .anai-trust li { padding: 9px 12px; } .anai-trust b { display: inline; margin-right: 6px; } }

/* 查单页：卡密密码框上方的操作提示（框本身由系统 query.js 渲染，这里只用 CSS 补文字） */
.card-password-section .password-form::before { content: "请输入下单时自己设置的「查单密码」（不是账号登录密码），再点「查看卡密」。忘了请联系店主。"; display: block; margin-bottom: 8px; color: #2f4552; font-size: 13px; font-weight: 600; line-height: 1.6; }
.card-password-section .card-password-input::placeholder { color: #7b8d98; }
/* 查单页：输密码看卡密后，系统把「使用说明」放进不带 pre-line 的 .mt-3，多行步骤会挤成一段；图解链接可能很长 */
.card-password-section > .mt-3 { white-space: pre-line; line-height: 1.8; }
.anai-guide-link { word-break: break-all; }
/* ChatGPT 按档位分类：分类页和商品页的「怎么选地区」说明 */
.anai-category-note { flex: 1 1 100%; margin: 4px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(23,105,255,.08); color: #2f4552; font-size: 13px; line-height: 1.7; }
.anai-region-note { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(23,105,255,.08); color: #2f4552; font-size: 14px; line-height: 1.75; }
.anai-region-note b { color: #1769ff; margin-right: 6px; }
.anai-region-note--warn { background: rgba(232,140,30,.12); color: #5a3a12; }
.anai-region-note--warn b { color: #c4610a; }
.anai-region-note--warn strong { color: #8a3f00; }
/* 商品页 ChatGPT 充值教程：新兑换站没有截图，步骤改成纯文字单列 */
body.anai .anai-guide__steps--text > li { grid-template-columns: minmax(0, 1fr); }
/* 联系店主下单的商品（Item.html $anaiContact）：替代购买表单的说明框 */
.anai-contact-order { margin: 4px 0 8px; padding: 16px 18px; border-radius: 16px; background: rgba(23,105,255,.08); border: 1px solid rgba(23,105,255,.22); color: #2f4552; font-size: 14.5px; line-height: 1.75; }
.anai-contact-order b { display: block; color: #1769ff; font-size: 16px; margin-bottom: 4px; }
.anai-contact-order p { margin: 0; }
.item-buy form[hidden] { display: none !important; }
/* Claude 成品号（79–82）、环境搭建（83）、代理（84/85）：人工交付说明、地区切换、使用与售后说明区 */
.anai-manual-note { margin: 2px 0 10px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(217,119,87,.10), rgba(255,250,245,.85)); border: 1px solid rgba(217,119,87,.28); color: #4a3a30; font-size: 14px; line-height: 1.75; }
.anai-manual-note b { display: block; color: #b8532f; font-size: 15px; margin-bottom: 2px; }
.anai-manual-note p { margin: 0; }
.anai-manual-note strong { color: #9a3f22; }
.anai-region-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.anai-region-switch span { color: #5b6b78; font-size: 13px; margin-right: 2px; }
.anai-region-switch a { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(217,119,87,.35); background: rgba(255,255,255,.7); color: #8a4a30; font-size: 14px; text-decoration: none; transition: background .15s, color .15s; }
.anai-region-switch a:hover { background: rgba(217,119,87,.12); }
.anai-region-switch a.is-active { background: #d97757; border-color: #d97757; color: #fff; font-weight: 600; }
.anai-claude-info .panel-header .icon { color: #d97757; font-size: 18px; }
.anai-claude-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.anai-claude-grid > div { padding: 14px 16px; border-radius: 16px; background: rgba(255,250,245,.82); border: 1px solid rgba(217,119,87,.18); }
.anai-claude-grid > div.is-warn { background: rgba(255,240,232,.95); border-color: rgba(217,119,87,.45); }
.anai-claude-grid b { display: block; color: #b8532f; font-size: 15px; margin-bottom: 4px; }
.anai-claude-grid p { margin: 0; color: #4a3a30; font-size: 13.5px; line-height: 1.75; }
.anai-claude-disclaimer { margin: 14px 0 0; color: #8a7a70; font-size: 12px; }
