/* AI Club 小幅体验修补（2026-10-25）：请求中状态、键盘焦点、注册提示与移动端小字。不改主题配色与布局。 */
.pay-list.is-busy .pay, .pay-list.is-busy .btn-pay { pointer-events: none; opacity: .55; }
.pay-list .pay.is-loading { opacity: 1; }
.pay-list .pay .pay-spinner { margin-left: auto; }
.pay-list .pay:focus-visible, .pay-list .btn-pay:focus-visible, .sku-list .sku:focus-visible,
.qty-group button:focus-visible, .optional-card:focus-visible, .captcha-img:focus-visible {
    outline: 2px solid var(--md-primary, #6d5dfc);
    outline-offset: 2px;
}
button[aria-busy="true"], .payButton[aria-busy="true"] { cursor: progress; opacity: .72; }
.auth-field-hint { margin: -.85rem 0 1rem; opacity: .78; }
.login-required-hint { padding: .6rem .8rem; border-radius: 12px; background: rgba(var(--md-primary-rgb, 109, 93, 252), .08); }
@media (max-width: 575.98px) {
    .badge-soft { font-size: 12px; }
}

.shop-notice > summary { padding-bottom:16px; cursor:pointer; list-style:none; }
.shop-notice > summary::-webkit-details-marker { display:none; }
.shop-notice > summary:focus-visible { outline:2px solid var(--uc-focus); outline-offset:-3px; }
.shop-notice-toggle { margin-left:auto; flex-shrink:0; color:var(--uc-primary-deep); font-size:13px; }
.shop-notice .notice-collapse, .shop-notice[open] .notice-expand { display:none; }
.shop-notice[open] .notice-collapse { display:inline; }
.shop-notice .panel-body { border-top:1px solid var(--glass-border-soft); overflow-wrap:anywhere; }
.shop-notice .panel-body p:last-child { margin-bottom:0; }
@media(max-width:480px){.shop-notice > summary{padding:14px 16px;gap:8px}.shop-notice .panel-title{font-size:14px}.shop-notice-toggle{font-size:12px}.shop-notice .panel-body{padding:14px 16px}}

/* ===== 2026-10-29 买家优先：卡密票据、会员主页、购买记录、商品卡片 =====
   只在这一层覆盖（主题样式表在生产走压缩包），配色沿用主题变量，明暗两套都成立。 */

/* 卡密票据（ready.js 的 acgCodes）：跟随站点主色 */
body.uc-body {
    --acg-code-accent: var(--md-primary);
    --acg-code-surface: var(--uc-field-bg);
    --acg-code-border: var(--glass-border-soft);
    --acg-code-tear: var(--glass-border);
    --acg-code-stub: rgba(var(--md-primary-rgb), .045);
    --acg-code-hover: rgba(var(--md-primary-rgb), .08);
    --acg-code-success: #1fa971;
}
:root[data-theme=dark] body.uc-body { --acg-code-success: #4fd39b; --acg-code-stub: rgba(255, 255, 255, .035); }
body.uc-body .acg-code__text, body.uc-body .acg-code__copy { color: var(--uc-ink); }
body.uc-body .acg-code__label { color: var(--uc-ink-med); opacity: 1; }
body.uc-body .card-section .acg-codes { margin-top: 6px; }
/* 查看卡密弹窗是实色底：票据要有看得见的边 */
.md-secret .acg-code { --acg-code-border: rgba(var(--md-primary-rgb), .16); --acg-code-surface: rgba(var(--md-primary-rgb), .035); --acg-code-tear: rgba(var(--md-primary-rgb), .28); }
:root[data-theme=dark] .md-secret .acg-code { --acg-code-border: rgba(255, 255, 255, .16); --acg-code-surface: rgba(255, 255, 255, .04); --acg-code-tear: rgba(255, 255, 255, .26); }

/* 状态小标签：付款与发货合成一项 */
.uc-state, .uc-spec { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.uc-state--ok { color: #15805a; background: rgba(31, 169, 113, .14); }
.uc-state--wait { color: #a96800; background: rgba(217, 138, 0, .16); }
.uc-state--off { color: var(--uc-ink-dis); background: rgba(125, 125, 135, .14); }
.uc-spec { color: var(--uc-ink-med); background: rgba(125, 125, 135, .12); font-weight: 500; }
:root[data-theme=dark] .uc-state--ok { color: #4fd39b; }
:root[data-theme=dark] .uc-state--wait { color: #f3b34a; }

/* 会员主页：钱包 */
:root[data-theme] .uc-wallet { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 22px 26px 24px; }
:root[data-theme] .uc-wallet__main { min-width: 0; }
:root[data-theme] .uc-wallet__label { font-size: 13px; font-weight: 600; color: var(--uc-ink-med); }
:root[data-theme] .uc-wallet__balance { margin-top: 4px; font-size: 36px; font-weight: 800; line-height: 1.12; letter-spacing: -.5px; color: var(--uc-ink); font-variant-numeric: tabular-nums; }
:root[data-theme] .uc-wallet__balance .cur { margin-right: 2px; font-size: 19px; font-weight: 700; color: var(--uc-ink-med); }
:root[data-theme] .uc-wallet__facts { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 16px 0 0; }
:root[data-theme] .uc-wallet__facts > div { display: flex; align-items: baseline; gap: 7px; }
:root[data-theme] .uc-wallet__facts dt { font-size: 12.5px; font-weight: 500; color: var(--uc-ink-dis); }
:root[data-theme] .uc-wallet__facts dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--uc-ink); font-variant-numeric: tabular-nums; }
:root[data-theme] .uc-wallet__actions { display: flex; flex: none; gap: 10px; }
:root[data-theme] .uc-wallet__actions .uc-quick { height: 40px; padding: 0 18px; font-size: 13.5px; }
:root[data-theme] .uc-wallet + .uc-subhead { margin-top: 26px; }

/* 会员主页：最近订单 */
:root[data-theme] .uc-orders { margin-top: 20px; }
:root[data-theme] .uc-orders__list { padding: 4px 24px 8px; }
:root[data-theme] .uc-orders__note { padding: 28px 0; font-size: 13px; text-align: center; color: var(--uc-ink-dis); }
:root[data-theme] .uc-orders .uc-blank .uc-quick { margin-top: 6px; }
:root[data-theme] .uc-orders .uc-blank .uc-quick .material-icons-outlined { width: auto; height: auto; font-size: 16px; border-radius: 0; background: none; }
:root[data-theme] .uc-order { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--glass-border-soft); }
:root[data-theme] .uc-order:last-child { border-bottom: 0; }
:root[data-theme] .uc-order__icon { width: 64px; height: 40px; border-radius: 9px; object-fit: cover; object-position: left center; background: rgba(var(--md-primary-rgb), .08); box-shadow: inset 0 0 0 1px var(--glass-border-soft); }
:root[data-theme] .uc-order__icon--blank { display: grid; place-items: center; font-size: 22px; color: var(--uc-ink-dis); }
:root[data-theme] .uc-order__name { overflow: hidden; font-size: 14px; font-weight: 600; color: var(--uc-ink); text-overflow: ellipsis; white-space: nowrap; }
:root[data-theme] .uc-order__meta { display: flex; flex-wrap: wrap; gap: 3px 12px; margin-top: 4px; font-size: 12px; color: var(--uc-ink-dis); font-variant-numeric: tabular-nums; }
:root[data-theme] .uc-order__end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
:root[data-theme] .uc-order__amount { font-size: 14px; font-weight: 700; color: var(--uc-ink); font-variant-numeric: tabular-nums; }
:root[data-theme] .uc-order__view { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(var(--md-primary-rgb), .45); background: transparent; color: var(--md-primary); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background-color .15s ease; }
:root[data-theme] .uc-order__view:hover { background: rgba(var(--md-primary-rgb), .08); }
:root[data-theme] .uc-order__view:focus-visible { outline: 2px solid var(--uc-focus); outline-offset: 2px; }
:root[data-theme] .uc-order__view .material-icons-outlined { font-size: 17px; }

/* 购买记录 */
.uc-record__spec { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.uc-record__amount { font-weight: 700; color: var(--uc-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.uc-record__count { margin-top: 2px; font-size: 12px; color: var(--uc-ink-dis); }

@media (max-width: 640px) {
    :root[data-theme] .uc-wallet { flex-direction: column; align-items: stretch; gap: 18px; padding: 18px 18px 20px; }
    :root[data-theme] .uc-wallet__balance { font-size: 32px; }
    :root[data-theme] .uc-wallet__facts { gap: 6px 18px; }
    :root[data-theme] .uc-wallet__actions .uc-quick { flex: 1; }
    :root[data-theme] .uc-orders__list { padding: 2px 16px 8px; }
    :root[data-theme] .uc-order { grid-template-columns: 56px minmax(0, 1fr) auto; row-gap: 10px; }
    :root[data-theme] .uc-order__icon { width: 56px; height: 35px; }
    :root[data-theme] .uc-order__view { grid-column: 2 / -1; }
    :root[data-theme] .uc-order__no { display: none; }
}

/* 商品卡片：一行标签、价格与库存同排、发货方式一行小字 */
.item-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
@media (max-width: 575.98px) { .item-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.acg-card > .acg-body { gap: 8px; padding: 12px 14px 14px; }
.goods-title { min-height: 2.7em; font-size: 14.5px; line-height: 1.35; }
.acg-card .tags { flex-wrap: wrap; min-width: 0; max-height: 22px; overflow: hidden; }
.acg-card .tags:empty { display: none; }
.acg-card .tags > * { flex: none; }
.acg-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; }
.acg-foot .price { font-size: 19px; font-variant-numeric: tabular-nums; }
.acg-stock { font-size: 12px; font-weight: 600; color: #15805a; white-space: nowrap; }
.acg-stock--low { color: #c26a00; }
.acg-stock--out { color: var(--uc-ink-dis); }
:root[data-theme=dark] .acg-stock { color: #4fd39b; }
:root[data-theme=dark] .acg-stock--low { color: #f3b34a; }
:root[data-theme=dark] .acg-stock--out { color: var(--uc-ink-dis); }
.acg-sub { display: flex; align-items: center; gap: 12px; min-height: 18px; font-size: 12px; color: var(--uc-ink-dis); }
.acg-sub:empty { display: none; }
.acg-auto { display: inline-flex; align-items: center; gap: 3px; }
.acg-auto .material-icons-outlined { font-size: 15px; color: #1fa971; }
.item-card-cell:focus-visible { outline: none; }
.item-card-cell:focus-visible .acg-card { outline: 2px solid var(--uc-focus); outline-offset: 2px; }
@media (max-width: 575.98px) {
    .acg-card > .acg-body { gap: 6px; padding: 10px 11px 12px; }
    .goods-title { font-size: 13.5px; }
    .acg-foot .price { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .item-card-cell:hover .acg-card { transform: none; } }

/* 暗色下最弱一级的灰字在玻璃底上读不清，订单信息、钱包小标题、卡片小字提一级（留在文件末尾才盖得过上面同权重的规则） */
:root[data-theme=dark] .uc-order__meta, :root[data-theme=dark] .uc-wallet__facts dt, :root[data-theme=dark] .uc-record__count,
:root[data-theme=dark] .acg-sub { color: var(--uc-ink-med); }

/* 联系客服：QQ 号是复制按钮（主题样式按链接写的，按钮要补字体、对齐和指针） */
button.uc-ticket-primary { font: inherit; text-align: left; cursor: pointer; }
button.uc-ticket-primary.is-copied small { opacity: 1; font-weight: 600; }
button.uc-ticket-primary:focus-visible { outline: 2px solid var(--uc-focus); outline-offset: 3px; }
/* 联系客服页（工单入口关闭）在手机上：说明文字完整显示，QQ 按钮占满一行并保留「点击复制」提示 */
@media (max-width: 620px) {
    :root[data-theme] .uc-ticket-hero.uc-ticket-hero--contact { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
    :root[data-theme] .uc-ticket-hero--contact .uc-ticket-hero__copy p { display: block; overflow: visible; -webkit-line-clamp: unset; }
    :root[data-theme] .uc-ticket-hero--contact .uc-ticket-primary { width: 100%; height: auto; min-height: 56px; padding: 10px 14px; }
    :root[data-theme] .uc-ticket-hero--contact .uc-ticket-primary small { display: block; }
    :root[data-theme] .uc-ticket-hero--contact .uc-ticket-primary__arrow { display: grid; margin-left: auto; }
}

/* 充值页：去掉「会员成长」后，余额卡占满一行 */
:root[data-theme] .uc-topup-overview > .uc-card__body { grid-template-columns: 1fr; }
@media (max-width: 620px) {
    :root[data-theme] .uc-card .pay-list.uc-topup-methods { grid-template-columns: 1fr; }
}

/* ===== 2026-11-01 让客户放心下单：付款按钮写总额、购买须知、关于与帮助 ===== */
.pay-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pay-list .pay .pay-total { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-list .pay .pay-total:empty, .pay-list .pay.is-loading .pay-total { display: none; }

.aiclub-facts { padding: 14px 16px 12px; border-radius: 14px; background: var(--uc-field-bg); border: 1px solid var(--glass-border-soft); }
.aiclub-facts__title { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--uc-ink); }
.aiclub-facts__list { margin: 0; }
.aiclub-facts__row { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--glass-border-soft); font-size: 13px; line-height: 1.6; }
.aiclub-facts__row:first-child { border-top: 0; }
.aiclub-facts__row dt { font-weight: 600; color: var(--uc-ink-med); }
.aiclub-facts__row dd { margin: 0; color: var(--uc-ink); overflow-wrap: anywhere; }
.aiclub-pay-note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--uc-ink-med); }
.aiclub-facts__confirm { display: flex; align-items: flex-start; gap: 9px; margin: 10px 0 2px; padding: 10px 12px; border-radius: 10px; background: rgba(var(--md-primary-rgb), .06); font-size: 13px; line-height: 1.55; color: var(--uc-ink); cursor: pointer; }
.aiclub-facts__confirm input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--md-primary); }
.aiclub-facts__confirm.is-missing { outline: 2px solid #d97706; outline-offset: 1px; animation: aiclub-nudge .32s ease 2; }
@keyframes aiclub-nudge { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-4px); } 70% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .aiclub-facts__confirm.is-missing { animation: none; } }

.aiclub-help__layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.aiclub-help__nav { position: sticky; top: 86px; }
.aiclub-help__nav .panel-body { display: flex; flex-direction: column; gap: 2px; padding: 12px; }
.aiclub-help__navhead, .aiclub-help__link { display: block; padding: 8px 12px; border-radius: 10px; color: var(--uc-ink-med); font-size: 14px; text-decoration: none; }
.aiclub-help__navhead { font-weight: 700; color: var(--uc-ink); }
.aiclub-help__navhead:hover, .aiclub-help__link:hover { background: rgba(var(--md-primary-rgb), .06); color: var(--uc-ink); }
.aiclub-help__navhead.is-current, .aiclub-help__link.is-current { background: rgba(var(--md-primary-rgb), .1); color: var(--uc-ink); font-weight: 700; }
.aiclub-help .panel-title { font-size: 17px; margin: 0; }
h2.panel-title { font-size: 15px; }
.aiclub-help__lead { color: var(--uc-ink-med); }
.aiclub-help__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.aiclub-help__card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--uc-field-bg); border: 1px solid var(--glass-border-soft); color: var(--uc-ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.aiclub-help__card:hover { border-color: rgba(var(--md-primary-rgb), .35); transform: translateY(-1px); }
.aiclub-help__card span { color: var(--uc-ink-med); font-size: 13px; line-height: 1.55; }
.aiclub-help__body { color: var(--uc-ink); font-size: 14.5px; line-height: 1.8; overflow-wrap: anywhere; }
.aiclub-help__body a { color: var(--uc-primary-deep); text-decoration: underline; text-underline-offset: 2px; }
.aiclub-help__body h2 { margin: 1.6em 0 .5em; font-size: 16.5px; font-weight: 700; line-height: 1.4; }
.aiclub-help__body h3 { margin: 1.4em 0 .4em; font-size: 15px; font-weight: 700; line-height: 1.45; }
.aiclub-help__body > :first-child { margin-top: 0; }
.aiclub-help__body p { margin: 0 0 .7em; }
.aiclub-help__body ul, .aiclub-help__body ol { margin: 0 0 .8em; padding-left: 1.4em; }
.aiclub-help__body ul > li { list-style: disc; }
.aiclub-help__body ol > li { list-style: decimal; }
.aiclub-help__body li { margin: .25em 0; }
.aiclub-help__body li::marker { color: var(--uc-ink-med); }
.aiclub-help__body .small, .aiclub-help__body small { font-size: 12.5px; }
.aiclub-help__body .text-muted { color: var(--uc-ink-dis) !important; margin-top: 1.4em; }
.aiclub-help__note { margin: 12px 0 0; font-size: 12px; color: var(--uc-ink-dis); }
.aiclub-help__contact .panel-body { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.aiclub-help__contact .panel-body > div { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--uc-ink-med); }
.aiclub-help__contact strong { color: var(--uc-ink); font-size: 15px; }
.aiclub-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.aiclub-stats > div { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; background: var(--uc-field-bg); border: 1px solid var(--glass-border-soft); }
.aiclub-stats b { font-size: 20px; color: var(--uc-ink); font-variant-numeric: tabular-nums; }
.aiclub-stats span { font-size: 12.5px; color: var(--uc-ink-med); }
@media (max-width: 860px) {
    .aiclub-help__layout { grid-template-columns: minmax(0, 1fr); }
    .aiclub-help__nav { position: static; order: 2; }
}

/* ===== 2026-11-01 网站背景：纯色（取自后台背景图），浅色主题浅色、深色主题深色；进入网站时播一次开场动效 ===== */
body.aiclub-backdrop { background: var(--aiclub-bg-light, #f3f1fa) !important; }
:root[data-theme=dark] body.aiclub-backdrop { background: var(--aiclub-bg-dark, #15131f) !important; }
body.aiclub-backdrop::before { content: none !important; }

.aiclub-intro { display: none; }
html.aiclub-intro-on .aiclub-intro {
    display: block; position: fixed; inset: 0; z-index: 2147483000; overflow: hidden; cursor: pointer;
    background: var(--aiclub-bg-light, #f3f1fa);
    animation: aiclub-intro-out .32s ease 1.05s forwards;
}
:root[data-theme=dark].aiclub-intro-on .aiclub-intro { background: var(--aiclub-bg-dark, #15131f); }
html.aiclub-intro-skip .aiclub-intro { animation: aiclub-intro-out .24s ease forwards; }
.aiclub-intro__image { position: absolute; inset: -4%; background-size: cover; background-position: center; animation: aiclub-intro-zoom 1.3s cubic-bezier(.22, .61, .36, 1) both; }
.aiclub-intro__veil { position: absolute; inset: 0; background: var(--aiclub-bg-light, #f3f1fa); opacity: 0; animation: aiclub-intro-veil .45s ease .6s forwards; }
:root[data-theme=dark] .aiclub-intro__veil { background: var(--aiclub-bg-dark, #15131f); }
/* 标志放在一块磨砂底上：背景图深浅都看得清 */
.aiclub-intro__brand { position: absolute; left: 50%; top: 46%; display: flex; align-items: center; gap: 12px; transform: translate(-50%, -50%);
    padding: 14px 24px 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .78); color: #1f2733;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 34px rgba(31, 39, 51, .16);
    font: 800 28px/1.1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .5px; white-space: nowrap;
    opacity: 0; animation: aiclub-intro-brand 1s ease forwards; }
:root[data-theme=dark] .aiclub-intro__brand { background: rgba(18, 16, 28, .74); color: #f4f2fa; box-shadow: 0 10px 34px rgba(0, 0, 0, .4); }
.aiclub-intro__brand img { width: 40px; height: 40px; border-radius: 11px; }
@keyframes aiclub-intro-zoom { from { transform: scale(1.12); filter: saturate(1.15); } to { transform: scale(1); filter: saturate(.85); } }
@keyframes aiclub-intro-veil { to { opacity: 1; } }
@keyframes aiclub-intro-brand { 0% { opacity: 0; transform: translate(-50%, -42%); } 25% { opacity: 1; transform: translate(-50%, -50%); }
    70% { opacity: 1; transform: translate(-50%, -50%); } 100% { opacity: 0; transform: translate(-50%, -54%); } }
@keyframes aiclub-intro-out { to { opacity: 0; visibility: hidden; } }
@media (max-width: 575.98px) { .aiclub-intro__brand { font-size: 22px; padding: 11px 18px 11px 12px; } .aiclub-intro__brand img { width: 32px; height: 32px; } }
@media (prefers-reduced-motion: reduce) { html.aiclub-intro-on .aiclub-intro { display: none; } }

/* 页脚：关于、帮助、退款规则和防骗提示 */
.shop-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 4px auto 0; padding: 0 16px; font-size: 13px; }
.shop-footer-links a { color: var(--uc-ink-med); text-decoration: none; }
.shop-footer-links a:hover { color: var(--uc-ink); text-decoration: underline; }
.shop-footer-safe { max-width: 760px; margin: 8px auto 24px; padding: 0 16px; font-size: 12px; line-height: 1.6; text-align: center; color: var(--uc-ink-med); }
:root[data-theme=dark] .shop-footer-safe, :root[data-theme=dark] .aiclub-help__note { color: var(--uc-ink-med); }
