/* ==========================================================================
   Tokyo Theme — "Glass" UI  v1.1
   Apple 风格毛玻璃前台皮肤（覆盖 Tokyo 主题，只改视觉，不动任何 HTML / JS 逻辑）
   部署：覆盖 /app/View/User/Theme/Tokyo/Assets/glass8.css（先备份原文件）
   回滚：把备份的 glass8.css 传回去即可
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
    --g-bg: #f2f3f7;
    --g-text: #1d1d1f;
    --g-text-2: #515154;
    --g-text-3: #86868b;
    --g-accent: #0071e3;
    --g-accent-hover: #0077ed;
    --g-accent-soft: rgba(0, 113, 227, 0.1);
    --g-green: #1d8f4e;
    --g-green-soft: rgba(52, 199, 89, 0.14);
    --g-orange: #c25e00;
    --g-orange-soft: rgba(255, 149, 0, 0.14);
    --g-red: #d70015;

    --g-glass: rgba(255, 255, 255, 0.56);
    --g-glass-strong: rgba(255, 255, 255, 0.76);
    --g-glass-solid: rgba(255, 255, 255, 0.9);
    --g-glass-border: rgba(255, 255, 255, 0.72);
    --g-hairline: rgba(0, 0, 0, 0.07);
    --g-hairline-strong: rgba(0, 0, 0, 0.11);
    --g-fill: rgba(118, 118, 128, 0.1);
    --g-fill-hover: rgba(118, 118, 128, 0.16);
    --g-blur: saturate(180%) blur(26px);
    --g-blur-light: saturate(160%) blur(14px);

    --g-shadow-sm: 0 1px 2px rgba(20, 28, 50, 0.04), 0 4px 12px rgba(20, 28, 50, 0.05);
    --g-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 1px rgba(20, 28, 50, 0.02), 0 10px 30px rgba(20, 28, 50, 0.07), 0 30px 60px -20px rgba(20, 28, 50, 0.1);
    --g-shadow-lg: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 24px 70px rgba(20, 28, 50, 0.18);

    --g-r-xl: 28px;
    --g-r-lg: 22px;
    --g-r-md: 16px;
    --g-r-sm: 12px;
    --g-ease: cubic-bezier(0.22, 0.8, 0.24, 1);
    --g-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
    --g-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

    /* 让 Tokyo 原有变量也跟着换皮 */
    --tokyo-bg: var(--g-bg);
    --tokyo-surface: #ffffff;
    --tokyo-black: var(--g-text);
    --tokyo-text: var(--g-text);
    --tokyo-muted: var(--g-text-3);
    --tokyo-muted-strong: var(--g-text-2);
    --tokyo-link: var(--g-accent);
    --tokyo-border: var(--g-hairline);
    --tokyo-border-strong: var(--g-hairline-strong);
    --tokyo-radius-md: var(--g-r-md);
    --tokyo-radius-lg: var(--g-r-lg);
    --acg-primary: var(--g-accent);
}

/* ---------- 2. Canvas：柔和彩色光斑，给毛玻璃“有东西可以透” ---------- */
html {
    background: var(--g-bg) !important;
    background-image: none !important;
}

html body.tokyo-theme,
html body.tokyo-theme .tokyo-page-frame {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

html body.tokyo-theme {
    --tokyo-bg: var(--g-bg);
    --tokyo-text: var(--g-text);
    --tokyo-muted: var(--g-text-3);
    --tokyo-muted-strong: var(--g-text-2);
    --tokyo-border: var(--g-hairline);
    --tokyo-border-strong: var(--g-hairline-strong);
    color: var(--g-text);
    font-family: var(--g-font);
    font-size: 15px;
    line-height: 1.47;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html body.tokyo-theme::before {
    content: "";
    position: fixed;
    inset: -12vmax;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(38% 32% at 14% 10%, rgba(116, 178, 255, 0.5), transparent 70%),
        radial-gradient(34% 30% at 86% 6%, rgba(190, 166, 255, 0.46), transparent 70%),
        radial-gradient(40% 36% at 80% 78%, rgba(255, 186, 214, 0.38), transparent 72%),
        radial-gradient(36% 34% at 8% 86%, rgba(140, 226, 205, 0.4), transparent 72%),
        radial-gradient(30% 26% at 50% 46%, rgba(255, 236, 196, 0.32), transparent 70%);
    filter: blur(28px);
}

html body.tokyo-theme ::selection {
    background: rgba(0, 113, 227, 0.2);
}

html body.tokyo-theme a {
    transition: color 0.2s ease;
}

/* ---------- 3. 通用玻璃材质 ---------- */
html body.tokyo-theme .panel,
html body.tokyo-theme .ox-hero-card,
html body.tokyo-theme .ox-faq article,
html body.tokyo-theme .tokyo-meta-card {
    background: var(--g-glass) !important;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.18)) !important;
    border: 1px solid var(--g-glass-border) !important;
    border-radius: var(--g-r-xl) !important;
    box-shadow: var(--g-shadow) !important;
    -webkit-backdrop-filter: var(--g-blur) !important;
    backdrop-filter: var(--g-blur) !important;
}

html body.tokyo-theme .panel-header,
html body.tokyo-theme .panel-body {
    background: transparent !important;
}

html body.tokyo-theme .panel-header {
    border-bottom: 1px solid var(--g-hairline) !important;
    padding: 18px 24px;
}

html body.tokyo-theme .panel-body {
    padding: 22px 24px;
}

html body.tokyo-theme .panel-title,
html body.tokyo-theme .tokyo-index-panel-title {
    color: var(--g-text) !important;
    font-weight: 700;
    letter-spacing: -0.025em;
}

html body.tokyo-theme .panel-kicker,
html body.tokyo-theme .tokyo-eyebrow {
    color: var(--g-text-3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
    html body.tokyo-theme .panel,
    html body.tokyo-theme .ox-hero-card,
    html body.tokyo-theme .ox-faq article {
        animation: g-rise 0.6s var(--g-ease) backwards;
    }

    html body.tokyo-theme .ox-faq article:nth-child(2) { animation-delay: 0.05s; }
    html body.tokyo-theme .ox-faq article:nth-child(3) { animation-delay: 0.1s; }
    html body.tokyo-theme .tokyo-catalog-stack .panel { animation-delay: 0.08s; }
    html body.tokyo-theme .tokyo-sidebar-stack .panel { animation-delay: 0.12s; }
}

@keyframes g-rise {
    from { opacity: 0; transform: translateY(14px) scale(0.995); }
    to   { opacity: 1; transform: none; }
}

/* ---------- 4. 按钮 ---------- */
html body.tokyo-theme .tokyo-button,
html body.tokyo-theme .btn {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--g-ease), box-shadow 0.2s ease, filter 0.2s ease;
}

html body.tokyo-theme .tokyo-button:hover,
html body.tokyo-theme .btn:hover {
    transform: translateY(-1px);
}

html body.tokyo-theme .tokyo-button:active,
html body.tokyo-theme .btn:active {
    transform: scale(0.97);
}

html body.tokyo-theme .tokyo-button-dark,
html body.tokyo-theme .btn-primary {
    background: var(--g-accent) !important;
    border: 1px solid transparent !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(0, 113, 227, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

html body.tokyo-theme .tokyo-button-dark:hover,
html body.tokyo-theme .btn-primary:hover {
    background: var(--g-accent-hover) !important;
    box-shadow: 0 10px 24px rgba(0, 113, 227, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

html body.tokyo-theme .tokyo-button-light {
    background: rgba(255, 255, 255, 0.66) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    color: var(--g-text) !important;
    box-shadow: var(--g-shadow-sm) !important;
    -webkit-backdrop-filter: var(--g-blur-light);
    backdrop-filter: var(--g-blur-light);
}

html body.tokyo-theme .tokyo-button-light:hover {
    background: rgba(255, 255, 255, 0.9) !important;
}

html body.tokyo-theme :is(a, button, .pay, input:not(.form-control)):focus-visible {
    outline: 3px solid rgba(0, 113, 227, 0.35) !important;
    outline-offset: 2px;
}

html body.tokyo-theme .form-control:focus-visible,
html body.tokyo-theme .form-select:focus-visible {
    outline: none !important;
}

/* ---------- 5. 顶部导航：悬浮玻璃胶囊 ---------- */
html body.tokyo-theme .tokyo-nav-shell {
    padding-top: 14px;
}

html body.tokyo-theme .tokyo-nav-wrap {
    width: min(1240px, calc(100% - 32px));
}

html body.tokyo-theme .tokyo-nav {
    min-height: 60px;
    padding: 8px 10px 8px 14px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.58) !important;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 30px rgba(20, 28, 50, 0.1) !important;
    -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
    backdrop-filter: saturate(180%) blur(22px) !important;
}

html body.tokyo-theme .tokyo-brand {
    gap: 10px;
}

html body.tokyo-theme .tokyo-brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
    border: 0;
    box-shadow: 0 2px 8px rgba(20, 28, 50, 0.16);
}

html body.tokyo-theme .tokyo-brand-chip::after {
    display: none;
}

html body.tokyo-theme .tokyo-brand-name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3 !important;
    padding-bottom: 1px;
    letter-spacing: -0.03em;
    color: var(--g-text);
}

html body.tokyo-theme .tokyo-nav-links {
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: var(--g-fill);
}

html body.tokyo-theme .tokyo-nav-link {
    min-height: 34px;
    padding: 0 14px;
    color: var(--g-text-2);
    font-size: 14px;
    font-weight: 500;
    border: 0 !important;
}

html body.tokyo-theme .tokyo-nav-link i {
    font-size: 13px;
    opacity: 0.8;
}

html body.tokyo-theme .tokyo-nav-link:hover {
    color: var(--g-text);
    background: rgba(255, 255, 255, 0.55);
    box-shadow: none;
}

html body.tokyo-theme .tokyo-nav-link.is-active {
    color: var(--g-text);
    background: #fff;
    box-shadow: 0 1px 3px rgba(20, 28, 50, 0.1), 0 3px 10px rgba(20, 28, 50, 0.06);
}

html body.tokyo-theme .tokyo-lang-chip,
html body.tokyo-theme .tokyo-user-chip {
    min-height: 40px;
    border: 0;
    background: var(--g-fill);
    color: var(--g-text);
    transition: background 0.2s ease;
}

html body.tokyo-theme .tokyo-lang-chip:hover,
html body.tokyo-theme .tokyo-user-chip:hover,
html body.tokyo-theme .tokyo-lang-dropdown.show .tokyo-lang-chip {
    background: var(--g-fill-hover);
}

html body.tokyo-theme .tokyo-auth-actions .tokyo-button {
    min-height: 40px;
}

html body.tokyo-theme .tokyo-nav-toggle {
    border: 0;
    background: var(--g-fill);
    border-radius: 999px;
}

/* 下拉菜单 */
html body.tokyo-theme .tokyo-dropdown-menu {
    padding: 6px;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: var(--g-shadow-lg) !important;
    -webkit-backdrop-filter: var(--g-blur) !important;
    backdrop-filter: var(--g-blur) !important;
}

html body.tokyo-theme .tokyo-dropdown-menu .dropdown-item {
    border-radius: 12px;
    font-size: 14px;
    color: var(--g-text);
}

html body.tokyo-theme .tokyo-dropdown-menu .dropdown-item:hover {
    background: var(--g-fill);
}

html body.tokyo-theme .tokyo-dropdown-menu .dropdown-item.active,
html body.tokyo-theme .tokyo-dropdown-menu .dropdown-item:active {
    background: var(--g-accent-soft);
    color: var(--g-accent);
}

/* ---------- 6. 首页 Hero ---------- */
html body.tokyo-theme .ox-hero {
    width: min(1240px, calc(100% - 32px));
    margin-top: 22px;
}

html body.tokyo-theme .ox-hero-card {
    position: relative;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 58px 32px 44px;
    text-align: center;
    border-radius: 34px !important;
}

html body.tokyo-theme .ox-hero-card::after {
    content: "";
    position: absolute;
    inset: -40% -10% auto;
    height: 80%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.7), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

html body.tokyo-theme .ox-hero-card > * {
    position: relative;
    z-index: 1;
}

html body.tokyo-theme .ox-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--g-shadow-sm);
    color: var(--g-text-2);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

html body.tokyo-theme .ox-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #30d158;
    box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.2);
}

html body.tokyo-theme .ox-hero h1 {
    margin: 0 auto 14px;
    max-width: 900px;
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.045em;
    color: var(--g-text);
    background: linear-gradient(180deg, #1d1d1f 30%, #4a4a55 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html body.tokyo-theme .ox-lead {
    max-width: 680px;
    margin: 0 auto;
    color: var(--g-text-2);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.6;
    letter-spacing: -0.01em;
}

html body.tokyo-theme .ox-pills {
    justify-content: center;
    max-width: 860px;
    gap: 10px;
}

html body.tokyo-theme .ox-pills a {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--g-shadow-sm);
    color: var(--g-text);
    font-size: 14px;
    font-weight: 600;
    -webkit-backdrop-filter: var(--g-blur-light);
    backdrop-filter: var(--g-blur-light);
    transition: transform 0.25s var(--g-ease), background 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
}

html body.tokyo-theme .ox-pills a:hover {
    transform: translateY(-2px);
    background: #fff;
    color: var(--g-accent);
    box-shadow: 0 8px 22px rgba(20, 28, 50, 0.1);
}

html body.tokyo-theme .ox-pills a[href*="query"] {
    background: var(--g-text);
    border-color: var(--g-text);
    color: #fff;
}

html body.tokyo-theme .ox-pills a[href*="query"]:hover {
    background: #000;
    color: #fff;
}

html body.tokyo-theme .ox-faq {
    gap: 14px;
    margin-top: 14px;
}

html body.tokyo-theme .ox-faq article {
    padding: 20px 22px !important;
    border-radius: var(--g-r-lg) !important;
}

html body.tokyo-theme .ox-faq h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--g-text);
}

html body.tokyo-theme .ox-faq h2::before {
    content: "?";
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: var(--g-accent-soft);
    color: var(--g-accent);
    font-size: 12px;
    font-weight: 800;
}

html body.tokyo-theme .ox-faq p {
    color: var(--g-text-2);
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- 7. 首页布局：分类侧栏 + 商品区 ---------- */
html body.tokyo-theme .tokyo-shell {
    width: min(1240px, calc(100% - 32px));
}

html body.tokyo-theme .tokyo-shell--narrow {
    width: min(900px, calc(100% - 32px));
}

html body.tokyo-theme .tokyo-shop-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 20px;
    margin-top: 20px;
}

html body.tokyo-theme .tokyo-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

html body.tokyo-theme .tokyo-sidebar-panel {
    top: 92px;
}

/* 原主题 .tokyo-catalog-panel{align-self:start} 在 flex 列里会让面板收缩，这里强制撑满 */
html body.tokyo-theme .tokyo-catalog-stack > .panel {
    align-self: stretch !important;
    width: 100%;
}

html body.tokyo-theme .tokyo-index-heading {
    min-height: 0 !important;
    padding: 20px 22px 14px !important;
    border-bottom: 0 !important;
}

html body.tokyo-theme .tokyo-index-panel-title {
    font-size: 20px !important;
}

html body.tokyo-theme .tokyo-sidebar-panel .panel-body {
    padding: 0 14px 14px;
}

html body #tokyo-category-tree,
html body .tokyo-category-tree {
    gap: 4px !important;
    padding: 4px !important;
    border-radius: 18px !important;
    background: var(--g-fill) !important;
}

html body.tokyo-theme .tokyo-category-link {
    min-height: 46px !important;
    padding: 8px 12px !important;
    border-radius: 14px !important;
    color: var(--g-text-2);
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

html body.tokyo-theme .tokyo-category-link:hover {
    background: rgba(255, 255, 255, 0.55);
    color: var(--g-text);
}

html body.tokyo-theme .tokyo-category-link.is-active {
    background: #fff !important;
    color: var(--g-text) !important;
    box-shadow: 0 1px 3px rgba(20, 28, 50, 0.08), 0 4px 14px rgba(20, 28, 50, 0.06);
}

html body.tokyo-theme .tokyo-category-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background-color: #fff;
    background-size: 70% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 1px 3px rgba(20, 28, 50, 0.12);
}

html body.tokyo-theme .tokyo-category-count {
    min-width: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(118, 118, 128, 0.12);
    color: var(--g-text-3);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

html body.tokyo-theme .tokyo-category-link.is-active .tokyo-category-count {
    background: var(--g-accent);
    color: #fff;
}

/* 售后客服卡片 */
html body.tokyo-theme .tokyo-wechat-panel .tokyo-wechat-inner {
    padding: 22px 20px;
    text-align: center;
}

html body.tokyo-theme .tokyo-wechat-title {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 6px 14px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--g-green-soft) !important;
    color: var(--g-green) !important;
    font-size: 14px !important;
    font-weight: 700;
}

html body.tokyo-theme .tokyo-wechat-title::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #30d158;
}

html body.tokyo-theme .tokyo-wechat-copy {
    margin: 12px auto 4px !important;
    color: var(--g-text) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
}

html body.tokyo-theme .tokyo-wechat-qr-box {
    margin-top: 12px;
    padding: 14px 12px !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

html body.tokyo-theme .tokyo-wechat-qr-wrap {
    padding: 8px !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: var(--g-shadow-sm);
}

html body.tokyo-theme .tokyo-wechat-qr {
    border-radius: 10px;
}

html body.tokyo-theme .tokyo-wechat-switch {
    margin-top: 10px !important;
    color: var(--g-accent) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

html body.tokyo-theme .tokyo-wechat-hint {
    color: var(--g-text-3);
    font-size: 13px;
}

html body.tokyo-theme .tokyo-wechat-tg,
html body.tokyo-theme .tokyo-wechat-qq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin: 4px 3px 0;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: transform 0.2s var(--g-ease), filter 0.2s ease;
}

html body.tokyo-theme .tokyo-wechat-tg {
    background: #2aabee !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 6px 14px rgba(42, 171, 238, 0.3);
}

html body.tokyo-theme .tokyo-wechat-qq {
    background: var(--g-fill) !important;
    color: var(--g-text) !important;
    border: 0 !important;
}

html body.tokyo-theme .tokyo-wechat-tg:hover,
html body.tokyo-theme .tokyo-wechat-qq:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* ---------- 8. 商品区：分段控件 + 搜索 + 卡片网格 ---------- */
html body.tokyo-theme .panel-header.tokyo-catalog-heading {
    min-height: 0 !important;
    padding: 16px 18px !important;
    gap: 12px;
    border-bottom: 0 !important;
}

html body.tokyo-theme .tokyo-catalog-tabs {
    min-height: 44px !important;
    height: auto !important;
    padding: 3px !important;
    gap: 2px !important;
    border-radius: 999px !important;
    background: var(--g-fill) !important;
    scrollbar-width: none;
}

html body.tokyo-theme .tokyo-catalog-tabs::-webkit-scrollbar {
    display: none;
}

html body.tokyo-theme .tokyo-catalog-tab {
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    color: var(--g-text-2) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transition: background 0.25s var(--g-ease), color 0.2s ease, box-shadow 0.25s ease;
}

html body.tokyo-theme .tokyo-catalog-tab:hover {
    color: var(--g-text) !important;
}

html body.tokyo-theme .tokyo-catalog-tab.is-active {
    background: #fff !important;
    color: var(--g-text) !important;
    box-shadow: 0 1px 3px rgba(20, 28, 50, 0.1), 0 4px 12px rgba(20, 28, 50, 0.06) !important;
}

html body.tokyo-theme .tokyo-search-combo,
html body.tokyo-theme .panel-header.tokyo-catalog-heading .tokyo-search-combo {
    height: 44px !important;
    min-height: 44px !important;
    padding: 3px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--g-fill) !important;
    box-shadow: none !important;
}

html body.tokyo-theme .tokyo-searchbox-combo {
    height: 38px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--g-text-3);
}

html body.tokyo-theme .tokyo-searchbox-combo input {
    font-size: 15px;
    color: var(--g-text);
}

html body.tokyo-theme .tokyo-searchbox-combo input::placeholder {
    color: var(--g-text-3);
}

html body.tokyo-theme .tokyo-search-combo .tokyo-button,
html body.tokyo-theme .panel-header.tokyo-catalog-heading .tokyo-search-combo .tokyo-button {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 16px;
    box-shadow: none !important;
}

html body.tokyo-theme .tokyo-catalog-body {
    padding: 4px 18px 18px !important;
}

/* 表格 → 卡片网格 */
html body.tokyo-theme .tokyo-table-wrap {
    position: relative;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

html body.tokyo-theme .tokyo-commodity-table,
html body.tokyo-theme .tokyo-commodity-table tbody,
html body.tokyo-theme .tokyo-commodity-table tr,
html body.tokyo-theme .tokyo-commodity-table td {
    display: block;
    width: auto;
}

html body.tokyo-theme .tokyo-commodity-table {
    width: 100%;
    background: transparent !important;
}

html body.tokyo-theme .tokyo-commodity-table colgroup,
html body.tokyo-theme .tokyo-commodity-table thead {
    display: none !important;
}

html body.tokyo-theme .tokyo-commodity-table tbody.item-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

html body.tokyo-theme .tokyo-commodity-table tbody tr.tokyo-commodity-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "main main"
        "price action";
    align-items: end;
    gap: 14px 10px;
    padding: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: var(--g-r-lg);
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 1px 2px rgba(20, 28, 50, 0.04), 0 6px 20px rgba(20, 28, 50, 0.06);
    transition: transform 0.35s var(--g-ease), box-shadow 0.35s var(--g-ease), background 0.2s ease;
}

html body.tokyo-theme .tokyo-commodity-table tbody tr.tokyo-commodity-row:hover {
    transform: translateY(-3px);
    background: #fff !important;
    box-shadow: 0 2px 4px rgba(20, 28, 50, 0.04), 0 18px 40px rgba(20, 28, 50, 0.12);
}

html body.tokyo-theme .tokyo-commodity-table tbody td {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
}

html body.tokyo-theme .tokyo-commodity-table tbody td::before {
    content: none !important;
    display: none !important;
}

html body.tokyo-theme .tokyo-commodity-main { grid-area: main; min-width: 0; }
html body.tokyo-theme .tokyo-commodity-price { grid-area: price; display: block !important; }
html body.tokyo-theme .tokyo-commodity-action { grid-area: action; display: block !important; }
html body.tokyo-theme .tokyo-commodity-muted {
    display: none !important;
}

html body.tokyo-theme .tokyo-commodity-anchor {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    color: inherit;
}

/* 整卡可点：把商品链接的点击区域铺满整张卡片 */
html body.tokyo-theme .tokyo-commodity-anchor::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
}

html body.tokyo-theme .tokyo-commodity-action-link,
html body.tokyo-theme .tokyo-commodity-action-disabled {
    position: relative;
    z-index: 1;
}

html body.tokyo-theme .tokyo-commodity-thumb {
    width: 56px !important;
    height: 56px !important;
    flex: 0 0 56px;
    border-radius: 15px !important;
    background-color: #fff;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(20, 28, 50, 0.1);
}

html body.tokyo-theme .tokyo-commodity-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

html body.tokyo-theme .tokyo-commodity-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal !important;
    color: var(--g-text) !important;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.38 !important;
    letter-spacing: -0.015em;
}

html body.tokyo-theme .tokyo-commodity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

html body.tokyo-theme .tokyo-pill {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border: 0 !important;
    border-radius: 999px;
    background: var(--g-fill);
    color: var(--g-text-2);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0;
}

html body.tokyo-theme .tokyo-pill.tokyo-pill-success {
    background: var(--g-green-soft);
    color: var(--g-green);
}

html body.tokyo-theme .tokyo-pill.tokyo-pill-primary {
    background: linear-gradient(135deg, #ff9f0a, #ff6b00);
    color: #fff;
}

html body.tokyo-theme .tokyo-pill.tokyo-pill-sold {
    background: transparent;
    padding-left: 2px;
    color: var(--g-text-3);
}

/* 卡片模式下：价格在底部单独展示，隐藏行内的移动端价格 pill，库存 pill 常显 */
html body.tokyo-theme .tokyo-commodity-tags .tokyo-pill-mobile-price {
    display: none !important;
}

html body.tokyo-theme .tokyo-commodity-tags .tokyo-pill-mobile-meta:not(.tokyo-pill-mobile-price) {
    display: inline-flex !important;
}

html body.tokyo-theme .tokyo-commodity-price-stack {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 2px;
}

html body.tokyo-theme .tokyo-commodity-price,
html body.tokyo-theme .tokyo-commodity-price-main {
    color: var(--g-text) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1.05;
}

html body.tokyo-theme .tokyo-commodity-price-note {
    color: var(--g-text-3);
    font-size: 12px;
    font-weight: 500;
}

html body.tokyo-theme .tokyo-commodity-action-link,
html body.tokyo-theme .tokyo-commodity-action-disabled {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

html body.tokyo-theme .tokyo-commodity-action-link {
    background: var(--g-accent) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(0, 113, 227, 0.26);
    transition: background 0.2s ease, transform 0.2s var(--g-ease), box-shadow 0.2s ease;
}

html body.tokyo-theme .tokyo-commodity-action-link:hover {
    background: var(--g-accent-hover) !important;
    transform: scale(1.04);
    box-shadow: 0 10px 22px rgba(0, 113, 227, 0.32);
}

html body.tokyo-theme .tokyo-commodity-action-disabled {
    background: var(--g-fill) !important;
    color: var(--g-text-3) !important;
}

html body.tokyo-theme .tokyo-empty-row,
html body.tokyo-theme .tokyo-commodity-table tbody tr:not(.tokyo-commodity-row) {
    grid-column: 1 / -1;
    padding: 40px 16px;
    text-align: center;
    color: var(--g-text-3);
}

html body.tokyo-theme .tokyo-table-loading {
    border-radius: var(--g-r-lg);
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(6px) !important;
    backdrop-filter: blur(6px) !important;
}

html body.tokyo-theme .tokyo-table-loading-spinner {
    border-color: rgba(0, 113, 227, 0.18);
    border-top-color: var(--g-accent);
}

/* ---------- 9. Codex 重置日历卡片 ---------- */
html body #codex-reset-card {
    padding: 22px 24px 20px !important;
}

html body #codex-reset-card .cr-month {
    font-size: 18px !important;
    letter-spacing: -0.02em;
}

html body #codex-reset-card .cr-day {
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.55) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    transition: transform 0.2s var(--g-ease), background 0.2s ease;
}

html body #codex-reset-card .cr-day.clickable:hover {
    transform: translateY(-1px);
    filter: none !important;
    background: #fff !important;
}

html body #codex-reset-card .cr-day.mute {
    background: transparent !important;
    box-shadow: none;
}

html body #codex-reset-card .cr-day.reset { background: rgba(52, 199, 89, 0.14) !important; }
html body #codex-reset-card .cr-day.credit { background: rgba(255, 159, 10, 0.14) !important; }
html body #codex-reset-card .cr-day.preview { background: rgba(94, 92, 230, 0.12) !important; }
html body #codex-reset-card .cr-day.sel { box-shadow: inset 0 0 0 2px var(--g-accent) !important; }

html body #codex-reset-card .cr-tw {
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    box-shadow: var(--g-shadow-sm);
}

html body #codex-reset-card .cr-mail-box {
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.5) !important;
}

html body #codex-reset-card .cr-mail input {
    height: 44px !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px var(--g-hairline-strong);
    font-size: 15px !important;
}

html body #codex-reset-card .cr-mail input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18), inset 0 0 0 1px var(--g-accent);
}

html body #codex-reset-card .cr-mail button {
    height: 44px !important;
    padding: 0 22px !important;
    background: var(--g-accent) !important;
    box-shadow: 0 6px 14px rgba(0, 113, 227, 0.26);
}

/* 帮助链接 */
html body.tokyo-theme nav[aria-label="购买与使用帮助"] {
    max-width: 1240px !important;
    margin: 24px auto 0 !important;
    color: var(--g-text-3);
    text-align: center;
}

html body.tokyo-theme nav[aria-label="购买与使用帮助"] a {
    color: var(--g-accent);
}

html body.tokyo-theme nav[aria-label="购买与使用帮助"] a:hover {
    text-decoration: underline;
}

/* ---------- 10. 表单控件（iOS 风格） ---------- */
html body.tokyo-theme .form-control,
html body.tokyo-theme .form-select {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    box-shadow: inset 0 0 0 1px var(--g-hairline-strong) !important;
    color: var(--g-text);
    font-size: 16px;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

html body.tokyo-theme .form-control::placeholder {
    color: #a1a1a6;
}

html body.tokyo-theme .form-control:hover {
    background: rgba(255, 255, 255, 0.9) !important;
}

html body.tokyo-theme .form-control:focus,
html body.tokyo-theme .form-select:focus {
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16), inset 0 0 0 1px var(--g-accent) !important;
    outline: none;
}

html body.tokyo-theme .form-label {
    margin-bottom: 8px !important;
    color: var(--g-text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ---------- 11. 商品详情页 ---------- */
html body.tokyo-theme .tokyo-item-panel > .panel-body {
    padding: 24px !important;
}

html body.tokyo-theme .tokyo-item-cover-card {
    border: 0 !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85), var(--g-shadow-sm) !important;
    overflow: hidden;
}

html body.tokyo-theme .tokyo-item-cover-trigger {
    border-radius: 24px !important;
    background: transparent !important;
}

html body.tokyo-theme .tokyo-item-cover-trigger .item-cover {
    transition: transform 0.6s var(--g-ease);
}

html body.tokyo-theme .tokyo-item-cover-hint {
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(29, 29, 31, 0.55) !important;
    color: #fff !important;
    -webkit-backdrop-filter: var(--g-blur-light);
    backdrop-filter: var(--g-blur-light);
}

html body.tokyo-theme .tokyo-item-form-wrap {
    padding: 6px 4px;
}

html body.tokyo-theme .tokyo-item-inline-title {
    margin-bottom: 14px;
    color: var(--g-text);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

html body.tokyo-theme .tokyo-item-badges {
    gap: 6px;
    margin-bottom: 18px;
}

html body.tokyo-theme .badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 0 11px;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 12.5px;
    font-weight: 600;
}

html body.tokyo-theme .badge-soft-success { background: var(--g-green-soft) !important; color: var(--g-green) !important; }
html body.tokyo-theme .badge-soft-primary { background: var(--g-accent-soft) !important; color: var(--g-accent) !important; }
html body.tokyo-theme .badge-soft-info {
    background: var(--g-fill) !important;
    color: var(--g-text-2) !important;
    cursor: pointer;
    transition: background 0.2s ease;
}
html body.tokyo-theme .badge-soft-info:hover { background: var(--g-fill-hover) !important; }

html body.tokyo-theme .tokyo-item-price {
    margin-bottom: 22px;
    padding: 16px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

html body.tokyo-theme .tokyo-item-price .price {
    color: var(--g-text) !important;
    font-size: clamp(34px, 4vw, 44px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

html body.tokyo-theme .tokyo-item-price .unit {
    margin-right: 2px;
    color: var(--g-text-2) !important;
    font-size: 0.5em !important;
    font-weight: 600;
    vertical-align: 0.5em;
}

html body.tokyo-theme .tokyo-form-stack {
    gap: 18px !important;
}

/* 数量步进器 */
html body.tokyo-theme .qty-group {
    width: 168px !important;
    max-width: 100%;
    min-height: 48px;
    padding: 4px;
    border: 0 !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    box-shadow: inset 0 0 0 1px var(--g-hairline-strong) !important;
    flex-wrap: nowrap;
}

html body.tokyo-theme .qty-group button {
    width: 40px !important;
    min-width: 40px;
    height: 40px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--g-fill) !important;
    color: var(--g-text) !important;
    transition: background 0.2s ease, transform 0.15s ease;
}

html body.tokyo-theme .qty-group button:hover { background: var(--g-fill-hover) !important; }
html body.tokyo-theme .qty-group button:active { transform: scale(0.92); }

html body.tokyo-theme .qty-group .form-control {
    min-height: 40px !important;
    height: 40px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 17px !important;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* SKU / 规格选择 */
html body.tokyo-theme .sku-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

html body.tokyo-theme .sku-list .sku,
html body.tokyo-theme .switch-race,
html body.tokyo-theme .optional-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 0 !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    box-shadow: inset 0 0 0 1px var(--g-hairline-strong) !important;
    color: var(--g-text) !important;
    font-weight: 600;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

html body.tokyo-theme .sku-list .sku.is-primary,
html body.tokyo-theme .switch-race.is-primary {
    background: var(--g-accent-soft) !important;
    box-shadow: inset 0 0 0 2px var(--g-accent) !important;
    color: var(--g-accent) !important;
}

/* 付款方式 */
html body.tokyo-theme .cash-pay {
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--g-hairline);
}

html body.tokyo-theme .cash-pay > .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

html body.tokyo-theme .pay-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px !important;
}

html body.tokyo-theme .pay-list .pay {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px var(--g-hairline-strong), 0 2px 6px rgba(20, 28, 50, 0.04) !important;
    color: var(--g-text) !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s var(--g-ease), box-shadow 0.25s ease;
}

html body.tokyo-theme .pay-list .pay:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 2px var(--g-accent), 0 12px 26px rgba(0, 113, 227, 0.16) !important;
}

html body.tokyo-theme .pay-list .pay:active {
    transform: scale(0.97);
}

html body.tokyo-theme .pay-list .pay img {
    width: 26px !important;
    height: 26px !important;
    object-fit: contain;
}

/* 验证码 */
html body.tokyo-theme .captcha-group .captcha-img {
    height: 48px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
}

/* 详情描述 */
html body.tokyo-theme .tokyo-description-panel .panel-header {
    padding: 20px 26px 16px !important;
}

html body.tokyo-theme .tokyo-description-panel .panel-title {
    font-size: 20px !important;
}

html body.tokyo-theme .tokyo-description-body {
    padding: 22px 26px 26px !important;
    color: var(--g-text);
    font-size: 15px;
    line-height: 1.75;
}

html body.tokyo-theme .tokyo-description-body img {
    border-radius: 16px;
}

html body.tokyo-theme .tokyo-description-body > div[style*="gradient"] {
    border-radius: 18px !important;
}

html body.tokyo-theme .tokyo-description-body h2 {
    font-size: 17px !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.5;
}

html body.tokyo-theme .tokyo-description-body ul {
    padding-left: 0;
    list-style: none;
}

html body.tokyo-theme .tokyo-description-body li {
    margin: 0 0 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
}

html body.tokyo-theme .tokyo-description-body details {
    border-top: 1px solid var(--g-hairline) !important;
}

html body.tokyo-theme .tokyo-description-body details summary {
    color: var(--g-accent);
}

html body.tokyo-theme .tokyo-description-body a {
    color: var(--g-accent);
}

/* ---------- 12. 订单查询页 ---------- */
html body.tokyo-theme .tokyo-query-header {
    padding: 36px 8px 10px;
    text-align: center;
    justify-content: center;
}

html body.tokyo-theme .tokyo-query-header > div {
    width: 100%;
}

html body.tokyo-theme .tokyo-page-title {
    margin: 6px 0 10px;
    color: var(--g-text);
    font-size: clamp(32px, 4.6vw, 48px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

html body.tokyo-theme .tokyo-page-summary {
    color: var(--g-text-2);
    font-size: 17px;
}

html body.tokyo-theme .tokyo-query-panel {
    margin-top: 18px;
}

html body.tokyo-theme .tokyo-query-panel .panel-header {
    display: none;
}

html body.tokyo-theme .tokyo-query-panel .panel-body {
    padding: 10px !important;
}

html body.tokyo-theme .tokyo-query-form {
    display: flex;
    gap: 8px;
    padding: 0;
}

html body.tokyo-theme .tokyo-query-form .form-control {
    flex: 1 1 auto;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    font-size: 17px;
}

html body.tokyo-theme .tokyo-query-form .tokyo-button {
    flex: 0 0 auto;
    min-height: 54px;
    padding: 0 26px;
    font-size: 16px;
    white-space: nowrap;
}

html body.tokyo-theme .order-results .panel > .panel-header,
html body.tokyo-theme .order-sms .panel-header {
    padding: 16px 24px !important;
}

html body.tokyo-theme .order-list {
    display: grid;
    gap: 14px;
}

html body.tokyo-theme .order-item {
    padding: 22px !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 1px 2px rgba(20, 28, 50, 0.04), 0 10px 28px rgba(20, 28, 50, 0.06);
}

html body.tokyo-theme .order-header {
    align-items: flex-start;
    border-bottom: 1px solid var(--g-hairline) !important;
}

html body.tokyo-theme .order-basic {
    gap: 4px !important;
    color: var(--g-text-2);
    font-size: 13.5px;
}

html body.tokyo-theme .order-no {
    color: var(--g-text);
    font-family: var(--g-mono);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
}

html body.tokyo-theme .status-badge,
html body.tokyo-theme .a-badge {
    min-height: 26px;
    padding: 0 12px;
    border-radius: 999px !important;
    font-size: 12.5px;
    font-weight: 700;
}

html body.tokyo-theme .payment-method {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

html body.tokyo-theme .payment-icon {
    width: 18px;
    height: 18px;
    border-radius: 5px;
}

html body.tokyo-theme .order-amount {
    text-align: right;
}

html body.tokyo-theme .amount-label {
    color: var(--g-text-3);
    font-size: 12.5px;
    font-weight: 600;
}

html body.tokyo-theme .amount-value {
    color: var(--g-text);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

html body.tokyo-theme .goods-section {
    align-items: center;
    gap: 14px;
}

html body.tokyo-theme .goods-thumb,
html body.tokyo-theme .goods-image {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 15px;
    object-fit: cover;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(20, 28, 50, 0.08);
}

html body.tokyo-theme .goods-name {
    margin: 0 0 4px;
    color: var(--g-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

html body.tokyo-theme .card-section {
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(242, 243, 247, 0.8);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

html body.tokyo-theme .card-section .card-header {
    padding: 0 0 12px;
    border: 0;
    background: transparent;
}

html body.tokyo-theme .shipment-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 16px !important;
}

html body.tokyo-theme .shipment-title {
    color: var(--g-text);
    font-weight: 700;
}

html body.tokyo-theme .card-password-section,
html body.tokyo-theme .card-content-no-password {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.tokyo-theme .card-display {
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--g-hairline-strong);
    color: var(--g-text);
    font-family: var(--g-mono);
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-all;
    user-select: all;
}

html body.tokyo-theme .password-form .input-group {
    gap: 8px;
    flex-wrap: nowrap;
}

html body.tokyo-theme .password-form .form-control {
    border-radius: 14px !important;
}

html body.tokyo-theme .password-form .view-card-btn {
    min-height: 48px;
    white-space: nowrap;
    border-radius: 14px !important;
}

html body.tokyo-theme .card-access-notice {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--g-orange-soft);
    color: var(--g-orange);
    font-size: 13.5px;
}

html body.tokyo-theme .tokyo-empty-state {
    padding: 48px 24px !important;
    text-align: center;
}

html body.tokyo-theme .tokyo-empty-state i {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    border-radius: 20px;
    background: var(--g-fill);
    color: var(--g-text-3);
    font-size: 26px;
}

html body.tokyo-theme .tokyo-empty-state h3 {
    color: var(--g-text);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

html body.tokyo-theme .tokyo-empty-state p {
    color: var(--g-text-2);
}

html body.tokyo-theme .order-redeem .panel-body {
    padding: 8px !important;
}

html body.tokyo-theme .order-redeem-frame {
    border-radius: 22px !important;
}

/* ---------- 13. 弹窗 (layer) ---------- */
html body .layui-layer-shade {
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    backdrop-filter: blur(8px) saturate(120%);
}

html body .layui-layer.tokyo-layer-popup,
html body .layui-layer.tokyo-image-layer,
html body .component-popup.layui-layer,
html body .layui-layer-page {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: var(--g-shadow-lg) !important;
    -webkit-backdrop-filter: var(--g-blur);
    backdrop-filter: var(--g-blur);
}

html body .layui-layer .layui-layer-title {
    height: 56px;
    line-height: 56px;
    padding: 0 60px 0 24px;
    border-bottom: 1px solid var(--g-hairline) !important;
    background: transparent !important;
    color: var(--g-text);
    font-size: 16px;
    font-weight: 700;
}

html body .layui-layer .layui-layer-content {
    background: transparent !important;
}

html body .layui-layer.tokyo-layer-popup:has(.tokyo-notice-modal) {
    inset: 14px 0 !important;
    margin: auto !important;
    height: fit-content !important;
    max-height: min(calc(100vh - 28px), 860px) !important;
    max-height: min(calc(100dvh - 28px), 860px) !important;
    display: flex !important;
    flex-direction: column !important;
}

html body .layui-layer.tokyo-layer-popup:has(.tokyo-notice-modal) > .layui-layer-content {
    height: auto !important;
    max-height: min(calc(100vh - 28px), 860px) !important;
    max-height: min(calc(100dvh - 28px), 860px) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

html body.tokyo-theme .tokyo-notice-modal {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    max-height: min(calc(100vh - 28px), 860px) !important;
    max-height: min(calc(100dvh - 28px), 860px) !important;
    overflow: hidden !important;
    background: transparent !important;
}

html body.tokyo-theme .tokyo-notice-modal-head {
    flex: 0 0 auto;
    padding: 18px 24px 12px !important;
}

html body.tokyo-theme .tokyo-notice-title {
    color: var(--g-text);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

html body.tokyo-theme .tokyo-notice-popup-inner {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
    padding: 12px 22px 14px !important;
    border-radius: 0;
}

html body.tokyo-theme .tokyo-notice-popup-inner::-webkit-scrollbar {
    width: 6px;
}

html body.tokyo-theme .tokyo-notice-popup-inner::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
}

html body.tokyo-theme .tokyo-notice-popup-inner .tokyo-wechat-qr-wrap {
    width: 176px !important;
}

html body.tokyo-theme .tokyo-notice-actions {
    flex: 0 0 auto;
    padding: 12px 24px 8px !important;
    border-top: 1px solid var(--g-hairline);
    background: rgba(255, 255, 255, 0.58);
}

html body.tokyo-theme .tokyo-notice-tip {
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 24px 16px !important;
    background: rgba(255, 255, 255, 0.58);
}

html body.tokyo-theme .tokyo-wechat-overlay {
    background: rgba(20, 24, 34, 0.32) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

html body.tokyo-theme .tokyo-wechat-dialog {
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: var(--g-shadow-lg) !important;
    -webkit-backdrop-filter: var(--g-blur);
    backdrop-filter: var(--g-blur);
}

html body.tokyo-theme .tokyo-wechat-dialog-close {
    border: 0;
    border-radius: 50%;
    background: var(--g-fill);
}

/* toastr 提示 */
html body #toast-container > div {
    border-radius: 16px !important;
    box-shadow: var(--g-shadow-lg) !important;
    opacity: 0.98;
}

/* ---------- 14. 页脚 ---------- */
html body.tokyo-theme .tokyo-footer {
    border-top: 0;
    background: transparent;
}

html body.tokyo-theme .tokyo-footer-copy,
html body.tokyo-theme .tokyo-footer-icp {
    color: var(--g-text-3);
    font-size: 13px;
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1199px) {
    html body.tokyo-theme .tokyo-nav {
        border-radius: 28px !important;
        padding: 10px 12px !important;
    }

    html body.tokyo-theme .tokyo-nav-main {
        border-top-color: var(--g-hairline) !important;
    }

    html body.tokyo-theme .tokyo-nav-links {
        padding: 4px;
        border-radius: 20px;
    }

    html body.tokyo-theme .tokyo-nav-link {
        min-height: 44px;
        border-radius: 16px;
        background: transparent;
    }
}

@media (max-width: 1024px) {
    html body.tokyo-theme .tokyo-shop-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    html body.tokyo-theme {
        font-size: 15px;
    }

    html body.tokyo-theme .tokyo-shell,
    html body.tokyo-theme .tokyo-shell--narrow,
    html body.tokyo-theme .tokyo-nav-wrap,
    html body.tokyo-theme .ox-hero {
        width: calc(100% - 24px);
    }

    html body.tokyo-theme .tokyo-nav-shell {
        padding-top: 10px;
    }

    html body.tokyo-theme .tokyo-nav-toggle {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    html body.tokyo-theme .tokyo-nav-link {
        border: 0 !important;
        background: transparent !important;
    }

    html body.tokyo-theme .tokyo-nav-link.is-active {
        background: #fff !important;
    }

    html body.tokyo-theme .ox-hero-card {
        padding: 38px 20px 28px;
        gap: 20px;
        border-radius: 28px !important;
    }

    html body.tokyo-theme .ox-kicker {
        margin-bottom: 14px;
        font-size: 12px;
    }

    html body.tokyo-theme .ox-pills {
        gap: 8px;
    }

    html body.tokyo-theme .ox-pills a {
        padding: 9px 13px;
        font-size: 13px;
    }

    html body.tokyo-theme .ox-faq article {
        padding: 16px 18px !important;
    }

    html body.tokyo-theme .panel {
        border-radius: 24px !important;
    }

    html body.tokyo-theme .panel-header.tokyo-catalog-heading {
        padding: 14px !important;
    }

    html body.tokyo-theme .tokyo-catalog-tab {
        padding: 0 14px !important;
        font-size: 14px !important;
    }

    html body.tokyo-theme .tokyo-search-combo,
    html body.tokyo-theme .panel-header.tokyo-catalog-heading .tokyo-search-combo {
        flex-direction: row !important;
        gap: 4px;
    }

    html body.tokyo-theme .tokyo-search-combo .tokyo-button {
        width: auto !important;
    }

    html body.tokyo-theme .tokyo-searchbox-combo {
        min-height: 38px !important;
        flex: 1 1 auto;
    }

    html body.tokyo-theme .tokyo-catalog-body {
        padding: 2px 12px 12px !important;
    }

    html body.tokyo-theme .tokyo-commodity-table tbody.item-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    html body.tokyo-theme .tokyo-commodity-table tbody tr.tokyo-commodity-row {
        padding: 14px !important;
        border-radius: 20px;
    }

    html body.tokyo-theme .tokyo-commodity-table tbody tr.tokyo-commodity-row:hover {
        transform: none;
    }

    html body.tokyo-theme .tokyo-commodity-anchor {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 12px;
    }

    html body.tokyo-theme .tokyo-commodity-thumb {
        width: 50px !important;
        height: 50px !important;
        border-radius: 13px !important;
    }

    html body.tokyo-theme .tokyo-commodity-price,
    html body.tokyo-theme .tokyo-commodity-price-main {
        font-size: 22px !important;
    }

    html body.tokyo-theme .tokyo-sidebar-panel {
        border-radius: 0 28px 28px 0 !important;
        background: rgba(255, 255, 255, 0.86) !important;
    }

    html body.tokyo-theme .tokyo-mobile-sidebar-backdrop {
        background: rgba(20, 24, 34, 0.28);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }

    html body.tokyo-theme .tokyo-mobile-sidebar-close {
        border: 0;
        background: var(--g-fill);
    }

    html body #codex-reset-card {
        padding: 18px 16px 16px !important;
    }

    html body.tokyo-theme .tokyo-item-panel > .panel-body {
        padding: 14px !important;
    }

    html body.tokyo-theme .tokyo-item-cover-card {
        min-height: 0 !important;
        aspect-ratio: 4 / 3 !important;
    }

    html body.tokyo-theme .tokyo-item-cover-card .item-cover {
        object-fit: contain !important;
    }

    html body.tokyo-theme .goods-section {
        flex-direction: row !important;
        align-items: center !important;
    }

    html body.tokyo-theme .tokyo-item-cover-trigger {
        min-height: 0 !important;
    }

    html body.tokyo-theme .tokyo-description-body {
        padding: 18px !important;
    }

    html body.tokyo-theme .pay-list {
        grid-template-columns: 1fr 1fr;
    }

    html body.tokyo-theme .tokyo-query-header {
        padding-top: 22px;
    }

    html body.tokyo-theme .tokyo-query-form {
        flex-direction: column;
    }

    html body.tokyo-theme .tokyo-query-form .tokyo-button {
        width: 100%;
    }

    html body.tokyo-theme .order-item {
        padding: 18px !important;
    }

    html body.tokyo-theme .order-amount {
        text-align: left;
    }
}

/* 低性能 / 不支持毛玻璃的浏览器降级为实色 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    html body.tokyo-theme .panel,
    html body.tokyo-theme .ox-hero-card,
    html body.tokyo-theme .ox-faq article,
    html body.tokyo-theme .tokyo-nav,
    html body.tokyo-theme .tokyo-dropdown-menu {
        background: rgba(255, 255, 255, 0.94) !important;
    }
}

/* ---------- 16. 商品列表：桌面/平板改为横向长条（每个商品占一整行，标题完整显示） ---------- */
@media (min-width: 768px) {
    html body.tokyo-theme .tokyo-commodity-table tbody.item-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    /* 表头：商品 / 价格 / 库存 */
    html body.tokyo-theme .tokyo-commodity-table thead {
        display: block !important;
        background: transparent !important;
    }

    html body.tokyo-theme .tokyo-commodity-table thead tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 92px 64px 92px;
        padding: 2px 18px 8px;
    }

    html body.tokyo-theme .tokyo-commodity-table thead th {
        display: block;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: var(--g-text-3) !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        text-align: left !important;
    }

    html body.tokyo-theme .tokyo-commodity-table thead th:first-child {
        padding-left: 66px !important;
    }

    html body.tokyo-theme .tokyo-commodity-table thead th:nth-child(n+5) {
        display: none;
    }

    html body.tokyo-theme .tokyo-commodity-table tbody tr.tokyo-commodity-row {
        grid-template-columns: minmax(0, 1fr) 92px 64px 92px;
        grid-template-areas: "main price stock action";
        align-items: center;
        gap: 0;
        padding: 14px 18px !important;
        border-radius: 20px;
    }

    html body.tokyo-theme .tokyo-commodity-table tbody tr.tokyo-commodity-row:hover {
        transform: translateY(-2px);
    }

    html body.tokyo-theme .tokyo-commodity-table tbody td.tokyo-commodity-muted {
        grid-area: stock;
        display: block !important;
        color: var(--g-text-2) !important;
        font-size: 14px;
        font-weight: 500;
    }

    html body.tokyo-theme .tokyo-commodity-table tbody td:nth-child(n+5):not(.tokyo-commodity-action) {
        display: none !important;
    }

    html body.tokyo-theme .tokyo-commodity-action {
        justify-self: end;
    }

    html body.tokyo-theme .tokyo-commodity-anchor {
        grid-template-columns: 52px minmax(0, 1fr);
        align-items: center;
        padding-right: 16px;
    }

    html body.tokyo-theme .tokyo-commodity-thumb {
        width: 52px !important;
        height: 52px !important;
        border-radius: 14px !important;
    }

    html body.tokyo-theme .tokyo-commodity-copy {
        gap: 7px;
    }

    html body.tokyo-theme .tokyo-commodity-name {
        display: block;
        -webkit-line-clamp: unset;
        overflow: hidden;
        white-space: nowrap !important;
        text-overflow: ellipsis;
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    /* 库存已经有单独一列，不再在标签里重复 */
    html body.tokyo-theme .tokyo-commodity-tags .tokyo-pill-mobile-meta,
    html body.tokyo-theme .tokyo-commodity-tags .tokyo-pill-mobile-meta:not(.tokyo-pill-mobile-price) {
        display: none !important;
    }

    html body.tokyo-theme .tokyo-commodity-price,
    html body.tokyo-theme .tokyo-commodity-price-main {
        font-size: 20px !important;
    }
}

/* ---------- 17. 加宽版心 + 收窄侧栏，让商品标题一行放下 ---------- */
html body.tokyo-theme .tokyo-nav-wrap,
html body.tokyo-theme .ox-hero,
html body.tokyo-theme .tokyo-shell:not(.tokyo-shell--narrow) {
    width: min(1320px, calc(100% - 32px));
}

html body.tokyo-theme nav[aria-label="购买与使用帮助"] {
    max-width: 1320px !important;
}

@media (min-width: 1025px) {
    html body.tokyo-theme .tokyo-shop-layout {
        grid-template-columns: 264px minmax(0, 1fr);
    }

    html body.tokyo-theme .tokyo-commodity-table tbody tr.tokyo-commodity-row {
        padding: 13px 16px !important;
    }

    html body.tokyo-theme .tokyo-commodity-table thead tr {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 767px) {
    html body.tokyo-theme .tokyo-nav-wrap,
    html body.tokyo-theme .ox-hero,
    html body.tokyo-theme .tokyo-shell:not(.tokyo-shell--narrow) {
        width: calc(100% - 24px);
    }
}

/* ---------- 18. 边缘修整：不让圆角 / 阴影被容器裁掉 ---------- */
/* 原主题 .tokyo-table-wrap{overflow:hidden} 会把商品行左右两侧的圆角和阴影切掉 */
html body.tokyo-theme .tokyo-table-wrap {
    overflow: visible !important;
    border-radius: 0 !important;
    min-height: 0;
}

/* 用 minmax(0,1fr) 防止一行显示的长标题把整列撑出容器 */
html body.tokyo-theme .tokyo-commodity-table tbody.item-list {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 767px) {
    html body.tokyo-theme .tokyo-commodity-table tbody.item-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

html body.tokyo-theme .tokyo-commodity-table tbody tr.tokyo-commodity-row {
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 0 0 1px rgba(20, 28, 50, 0.04), 0 4px 14px rgba(20, 28, 50, 0.05) !important;
}

html body.tokyo-theme .tokyo-commodity-table tbody tr.tokyo-commodity-row:hover {
    box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.12), 0 12px 28px rgba(20, 28, 50, 0.1) !important;
}

/* Codex 日历右侧动态列表：滚动容器会裁掉卡片右边，留出内边距和滚动条位置 */
html body #codex-reset-card .cr-posts {
    padding: 2px 10px 6px 2px;
    margin-right: -10px;
    scrollbar-gutter: stable;
}

html body #codex-reset-card .cr-tw {
    box-shadow: 0 0 0 1px rgba(20, 28, 50, 0.04), 0 3px 10px rgba(20, 28, 50, 0.05) !important;
    border: 0 !important;
}

html body #codex-reset-card .cr-date {
    border-bottom-color: var(--g-hairline) !important;
}

/* 日历格子同样加一圈细描边，边缘更清楚 */
html body #codex-reset-card .cr-day:not(.mute) {
    box-shadow: inset 0 0 0 1px rgba(20, 28, 50, 0.05) !important;
}

html body #codex-reset-card .cr-day.sel {
    box-shadow: inset 0 0 0 2px var(--g-accent) !important;
}

/* ---------- 19. 首页 Hero 优化 ---------- */
html body.tokyo-theme .ox-hero-card {
    gap: 22px;
    padding: 46px 40px 34px;
    isolation: isolate;
}

/* 标题背后的柔光，营造层次 */
html body.tokyo-theme .ox-hero-card::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -120px;
    z-index: -1;
    width: min(900px, 120%);
    height: 360px;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(40% 55% at 30% 50%, rgba(16, 163, 127, 0.16), transparent 70%),
        radial-gradient(40% 55% at 70% 50%, rgba(0, 113, 227, 0.16), transparent 70%),
        radial-gradient(30% 45% at 50% 60%, rgba(175, 82, 222, 0.12), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

html body.tokyo-theme .ox-hero-card::after {
    z-index: -1;
}

@media (prefers-reduced-motion: no-preference) {
    html body.tokyo-theme .ox-hero-card::before {
        animation: g-glow 12s ease-in-out infinite alternate;
    }
}

@keyframes g-glow {
    from { transform: translateX(-52%) scale(1); }
    to   { transform: translateX(-48%) scale(1.06); }
}

html body.tokyo-theme .ox-kicker {
    margin-bottom: 16px;
}

html body.tokyo-theme .ox-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    background: linear-gradient(100deg, #1d1d1f 0%, #1d1d1f 38%, #3a3a46 62%, #5b5b6b 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

html body.tokyo-theme .ox-lead {
    max-width: 600px;
    font-size: clamp(15px, 1.25vw, 17px);
    text-wrap: balance;
}

/* 快捷入口：一行排开，按产品线加彩色圆点区分 */
html body.tokyo-theme .ox-pills {
    max-width: none;
    gap: 8px;
}

html body.tokyo-theme .ox-pills a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    font-size: 13.5px;
}

html body.tokyo-theme .ox-pills a::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #c7c7cc;
}

html body.tokyo-theme .ox-pills a[href="/item/1"]::before,
html body.tokyo-theme .ox-pills a[href="/item/4"]::before,
html body.tokyo-theme .ox-pills a[href="/item/5"]::before,
html body.tokyo-theme .ox-pills a[href="/item/10"]::before {
    background: #10a37f;
}

html body.tokyo-theme .ox-pills a[href="/item/2"]::before {
    background: #ff9500;
}

html body.tokyo-theme .ox-pills a[href="/item/13"]::before,
html body.tokyo-theme .ox-pills a[href="/item/14"]::before,
html body.tokyo-theme .ox-pills a[href="/item/15"]::before,
html body.tokyo-theme .ox-pills a[href="/item/16"]::before {
    background: #1d1d1f;
}

/* 订单查询：与套餐入口分开，带放大镜图标 */
html body.tokyo-theme .ox-pills a[href*="query"] {
    margin-left: 6px;
}

html body.tokyo-theme .ox-pills a[href*="query"]::before {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
    border-radius: 0;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* FAQ：改为带图标的特性卡 */
html body.tokyo-theme .ox-faq {
    gap: 12px;
    margin-top: 12px;
}

html body.tokyo-theme .ox-faq article {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: start;
    padding: 18px 20px !important;
    transition: transform 0.3s var(--g-ease), box-shadow 0.3s ease;
}

html body.tokyo-theme .ox-faq article:hover {
    transform: translateY(-2px);
}

html body.tokyo-theme .ox-faq article::before {
    content: "";
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: var(--g-accent-soft);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

/* 锁：无需账号密码 */
html body.tokyo-theme .ox-faq article:nth-child(1)::before {
    background-color: rgba(52, 199, 89, 0.14);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d8f4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='3'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}

/* 用户：充到自己的号 */
html body.tokyo-theme .ox-faq article:nth-child(2)::before {
    background-color: rgba(0, 113, 227, 0.11);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

/* 闪电：自动发货 */
html body.tokyo-theme .ox-faq article:nth-child(3)::before {
    background-color: rgba(255, 149, 0, 0.14);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c25e00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E");
}

html body.tokyo-theme .ox-faq h2 {
    margin: 1px 0 4px;
    font-size: 15px;
}

html body.tokyo-theme .ox-faq h2::before {
    display: none;
}

html body.tokyo-theme .ox-faq p {
    grid-column: 2;
    font-size: 13.5px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    html body.tokyo-theme .ox-hero-card {
        padding: 34px 18px 24px;
        gap: 18px;
    }

    html body.tokyo-theme .ox-pills {
        gap: 6px;
    }

    html body.tokyo-theme .ox-pills a {
        padding: 8px 12px;
        font-size: 13px;
    }

    html body.tokyo-theme .ox-pills a[href*="query"] {
        margin-left: 0;
    }

    html body.tokyo-theme .ox-faq {
        gap: 10px;
    }

    html body.tokyo-theme .ox-faq article {
        padding: 14px 16px !important;
    }
}

/* 手机端：快捷入口改为单行横向滑动，节省纵向空间 */
@media (max-width: 767px) {
    html body.tokyo-theme .ox-pills {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: calc(100% + 36px);
        margin: 0 -18px;
        padding: 4px 18px 8px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%);
    }

    html body.tokyo-theme .ox-pills::-webkit-scrollbar {
        display: none;
    }

    html body.tokyo-theme .ox-pills a {
        flex: 0 0 auto;
        scroll-snap-align: start;
        white-space: nowrap;
    }
}

/* ---------- 20. 商品详情页：封面不拉伸 + 付款方式不换行 ---------- */
/* 原主题 Item.js 会把封面高度拉到和右侧表单一样高，方形封面被裁成竖条；这里固定为原图比例 */
html body.tokyo-theme .tokyo-item-cover-card {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(80% 80% at 50% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.55)) !important;
}

html body.tokyo-theme .tokyo-item-cover-trigger {
    height: 100% !important;
    min-height: 0 !important;
}

html body.tokyo-theme .tokyo-item-cover-card .item-cover {
    width: 100%;
    height: 100% !important;
    object-fit: contain !important;
}


/* 付款方式：按文字长度自适应宽度，一行放不下整块换到下一行，文字本身不折行 */
html body.tokyo-theme .pay-list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px !important;
}

html body.tokyo-theme .pay-list .pay {
    flex: 1 1 auto;
    min-width: 132px;
    white-space: nowrap;
    padding: 0 18px !important;
}

html body.tokyo-theme .pay-list .pay span {
    white-space: nowrap;
}

@media (max-width: 767px) {
    html body.tokyo-theme .pay-list .pay {
        flex: 1 1 100%;
        justify-content: flex-start;
    }
}

/* ---------- 21. 商品详情页：左大图（方形、不裁切、吸顶）+ 右侧紧凑双列表单 ---------- */
html body.tokyo-theme .tokyo-item-panel > .panel-body {
    padding: 24px !important;
}

html body.tokyo-theme .tokyo-item-cover-card .item-cover {
    min-height: 0 !important;
    max-height: 100% !important;
}

html body.tokyo-theme .tokyo-item-cover-card {
    width: 100% !important;
    border-radius: 26px !important;
}

@media (min-width: 992px) {
    html body.tokyo-theme .tokyo-item-panel .row {
        flex-wrap: nowrap;
        align-items: flex-start !important;
        --bs-gutter-x: 28px;
    }

    /* 大图：占 45%，正方形，与右侧表单高度基本持平；往下滚动时吸顶 */
    html body.tokyo-theme .tokyo-item-panel .row > .col-lg-6:first-child {
        flex: 0 0 45%;
        max-width: 45%;
        position: sticky;
        top: 96px;
        align-self: flex-start;
    }

    html body.tokyo-theme .tokyo-item-panel .row > .col-lg-6:last-child {
        flex: 0 0 55%;
        max-width: 55%;
    }

    html body.tokyo-theme .tokyo-item-form-wrap {
        gap: 0 !important;
        padding: 4px 4px 0 0;
    }

    html body.tokyo-theme .tokyo-item-inline-title {
        margin-bottom: 12px !important;
        font-size: clamp(22px, 2vw, 27px);
    }

    html body.tokyo-theme .tokyo-item-badges {
        margin-bottom: 16px !important;
    }

    html body.tokyo-theme .tokyo-item-price {
        margin-bottom: 20px !important;
        padding: 14px 20px !important;
    }

    /* 表单双列：联系方式 | 查询密码，购买数量 | 人机验证，付款整行 */
    html body.tokyo-theme .tokyo-form-stack {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 16px !important;
        align-items: start;
    }

    html body.tokyo-theme .tokyo-form-stack > * {
        margin: 0 !important;
        min-width: 0;
    }

    html body.tokyo-theme .tokyo-form-stack > .cash-pay,
    html body.tokyo-theme .tokyo-form-stack > .tokyo-field:has(.sku-list),
    html body.tokyo-theme .tokyo-form-stack > .tokyo-field:has(.optional-card),
    html body.tokyo-theme .tokyo-form-stack > div:not(.tokyo-field):not(.cash-pay) {
        grid-column: 1 / -1;
    }

    html body.tokyo-theme .tokyo-form-stack .cf-turnstile {
        max-width: 100%;
        transform-origin: left top;
    }

    html body.tokyo-theme .tokyo-form-stack .qty-group {
        height: 48px;
        align-items: center;
    }

    html body.tokyo-theme .cash-pay {
        padding: 16px !important;
    }

    html body.tokyo-theme .pay-list .pay {
        min-width: 0;
        padding: 0 14px !important;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    html body.tokyo-theme .tokyo-item-cover-card {
        aspect-ratio: 1 / 1 !important;
        max-width: 520px;
        margin: 0 auto;
    }
}

/* ---------- 22. 细节打磨：表单占位字完整显示 & 手机端详情长链接不断行 ---------- */
html body.tokyo-theme .tokyo-form-stack .form-control {
    padding: 0 13px;
}

html body.tokyo-theme .tokyo-form-stack .form-control::placeholder {
    font-size: 13.5px;
    letter-spacing: -0.01em;
}

html body.tokyo-theme .tokyo-description-body > div[style*="gradient"] a {
    display: inline-block;
    max-width: 100%;
    font-size: clamp(15px, 4.6vw, 21px) !important;
    white-space: nowrap;
}

/* ---------- 23. 首页侧栏：专属客服大码名片 + 使用指南卡（左右顶底齐平） ---------- */
@media (min-width: 1025px) {
    /* 不含指南卡的分站侧栏：恢复自然紧凑高度，不再被右侧硬拉出大白板 */
    html body.tokyo-theme .tokyo-shop-layout:not(:has(.ox-guide-card)) {
        align-items: start !important;
    }

    html body.tokyo-theme .tokyo-sidebar-stack:not(:has(.ox-guide-card)) {
        position: sticky !important;
        top: 88px !important;
        align-self: start !important;
        min-height: 0 !important;
        height: auto !important;
    }

    html body.tokyo-theme .tokyo-sidebar-stack:not(:has(.ox-guide-card)) > .tokyo-wechat-panel,
    html body.tokyo-theme .tokyo-sidebar-stack:not(:has(.ox-guide-card)) .tokyo-wechat-inner {
        flex: 0 0 auto !important;
        justify-content: flex-start !important;
    }

    /* 含指南卡的三卡侧栏：与右侧商品表 + 日历顶底严丝合缝齐平 */
    html body.tokyo-theme .tokyo-shop-layout:has(.ox-guide-card) {
        align-items: stretch !important;
    }

    html body.tokyo-theme .tokyo-sidebar-stack:has(.ox-guide-card) {
        position: static !important;
        align-self: stretch !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 100% !important;
        height: 100% !important;
        gap: 16px !important;
    }

    html body.tokyo-theme .tokyo-sidebar-stack:has(.ox-guide-card) > .tokyo-sidebar-panel,
    html body.tokyo-theme .tokyo-sidebar-stack:has(.ox-guide-card) > .ox-guide-card {
        position: static !important;
        flex: 0 0 auto !important;
    }

    html body.tokyo-theme .tokyo-sidebar-stack:has(.ox-guide-card) > .tokyo-wechat-panel {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: auto !important;
        height: auto !important;
    }

    html body.tokyo-theme .tokyo-sidebar-stack:has(.ox-guide-card) .tokyo-wechat-panel .tokyo-wechat-inner {
        flex: 1 1 auto !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-top) .tokyo-wechat-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 22px 14px 20px !important;
    gap: 14px !important;
    text-align: center !important;
}

html body.tokyo-theme .ox-cs-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

html body.tokyo-theme .ox-cs-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

html body.tokyo-theme .ox-cs-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--g-green-soft);
    color: var(--g-green);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

html body.tokyo-theme .ox-cs-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #30d158;
    box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.18);
}

html body.tokyo-theme .ox-cs-heading {
    margin: 0;
    color: var(--g-text);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.28;
}

html body.tokyo-theme .ox-cs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
}

html body.tokyo-theme .ox-cs-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.92), 0 1px 3px rgba(20, 28, 50, 0.05);
    color: var(--g-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

html body.tokyo-theme .ox-cs-chip svg {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-top) .tokyo-wechat-qr-box {
    width: 100%;
    margin-top: 0 !important;
    padding: 10px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.58) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(20, 28, 50, 0.04) !important;
    gap: 10px;
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-top) .tokyo-wechat-qr-wrap {
    width: 100% !important;
    max-width: 220px !important;
    margin: 0 auto !important;
    padding: 8px !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: var(--g-shadow-sm) !important;
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-top) .tokyo-wechat-qr {
    display: block;
    width: 100% !important;
    height: auto !important;
    border-radius: 10px;
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-top) .tokyo-wechat-switch {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0 auto !important;
    padding: 6px 13px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 1px 2px rgba(20, 28, 50, 0.06), inset 0 0 0 1px rgba(20, 28, 50, 0.06) !important;
    color: var(--g-accent) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s var(--g-ease);
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-top) .tokyo-wechat-switch::before {
    content: "";
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/%3E%3C/svg%3E") center / contain no-repeat;
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-top) .tokyo-wechat-switch:hover {
    background: #fff !important;
    transform: translateY(-1px);
}

html body.tokyo-theme .ox-cs-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-top) .tokyo-wechat-hint {
    margin: 0 !important;
    color: var(--g-text-3) !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

html body.tokyo-theme .ox-cs-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

html body.tokyo-theme .tokyo-wechat-panel .tokyo-wechat-qq.ox-btn-qq,
html body.tokyo-theme .tokyo-wechat-panel .tokyo-wechat-tg.ox-btn-tg {
    width: 100% !important;
    max-width: none !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

html body.tokyo-theme .tokyo-wechat-panel .tokyo-wechat-qq.ox-btn-qq {
    display: inline-flex !important;
    align-items: center;
    justify-content: space-between !important;
    background: #1d1d1f !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(29, 29, 31, 0.16) !important;
    font-variant-numeric: tabular-nums;
}

html body.tokyo-theme .tokyo-wechat-panel .tokyo-wechat-qq.ox-btn-qq::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #30d158;
}

html body.tokyo-theme .tokyo-wechat-panel .tokyo-wechat-qq.ox-btn-qq::after {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    opacity: 0.72;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
}

html body.tokyo-theme .tokyo-wechat-panel .tokyo-wechat-tg.ox-btn-tg {
    display: inline-flex !important;
    align-items: center;
    justify-content: space-between !important;
    background: rgba(0, 113, 227, 0.09) !important;
    color: var(--g-accent) !important;
    box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.16) !important;
}

html body.tokyo-theme .tokyo-wechat-panel .tokyo-wechat-tg.ox-btn-tg:hover {
    background: rgba(0, 113, 227, 0.14) !important;
    filter: none;
}

html body.tokyo-theme .ox-tg-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

html body.tokyo-theme .ox-tg-left svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

html body.tokyo-theme .ox-tg-handle {
    font-size: 11.5px;
    font-weight: 500;
    opacity: 0.78;
}

html body.tokyo-theme .ox-guide-card .tokyo-index-heading {
    padding: 18px 20px 12px !important;
}

html body.tokyo-theme .ox-guide-card .tokyo-index-panel-title {
    font-size: 18px !important;
}

html body.tokyo-theme .ox-guide-card .panel-body {
    padding: 0 14px 14px !important;
}

html body.tokyo-theme .ox-guide-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    border-radius: 18px;
    background: var(--g-fill);
}

html body.tokyo-theme .ox-guide-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 14px;
    color: var(--g-text-2) !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

html body.tokyo-theme .ox-guide-link:hover {
    background: #fff;
    color: var(--g-text) !important;
    box-shadow: 0 1px 3px rgba(20, 28, 50, 0.08), 0 4px 12px rgba(20, 28, 50, 0.05);
}

html body.tokyo-theme .ox-guide-link-left {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

html body.tokyo-theme .ox-guide-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(20, 28, 50, 0.11);
    color: var(--g-accent);
}

html body.tokyo-theme .ox-guide-icon svg {
    width: 14px;
    height: 14px;
}

html body.tokyo-theme .ox-guide-arrow {
    color: var(--g-text-3);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

@media (max-width: 767px) {
    html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-top) .tokyo-wechat-qr-wrap {
        max-width: 230px !important;
    }
}

/* ---------- 24. 商品页人机验证栏：顶行对齐 + 可点击重新加载 + 加载占位 ---------- */
html body.tokyo-theme .ox-turnstile-field {
    display: flex;
    flex-direction: column;
}

html body.tokyo-theme .ox-turnstile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 0.25rem !important;
    min-height: 20px;
}

html body.tokyo-theme .ox-turnstile-head .form-label {
    margin: 0 !important;
}

html body.tokyo-theme .ox-turnstile-reload {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid rgba(0, 113, 227, 0.2);
    background: rgba(0, 113, 227, 0.06);
    color: var(--g-accent);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

html body.tokyo-theme .ox-turnstile-reload:hover {
    background: rgba(0, 113, 227, 0.12);
    border-color: rgba(0, 113, 227, 0.34);
}

html body.tokyo-theme .ox-turnstile-field:has(.cf-turnstile[data-verified="1"]) .ox-turnstile-reload {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(15, 23, 42, 0.04);
    color: var(--g-text-3);
}

html body.tokyo-theme .ox-turnstile-field:has(.cf-turnstile[data-verified="1"]) .ox-turnstile-reload:hover {
    border-color: rgba(0, 113, 227, 0.24);
    background: rgba(0, 113, 227, 0.08);
    color: var(--g-accent);
}

html body.tokyo-theme .cf-turnstile:empty {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 65px;
    width: 300px;
    max-width: 100%;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(20, 28, 50, 0.09);
    background: rgba(255, 255, 255, 0.72);
    color: var(--g-text-3);
    font-size: 13px;
}

html body.tokyo-theme .cf-turnstile:empty::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 50%;
    border: 2px solid rgba(0, 113, 227, 0.2);
    border-top-color: var(--g-accent);
    animation: tokyo-spin 0.8s linear infinite;
}

html body.tokyo-theme .cf-turnstile:empty::after {
    content: "正在加载安全验证…";
}

/* ---------- 25. 首页五模块精修升级（Hero + 侧栏托盘 + 档位图标 + 日历表头 + 页脚） ---------- */
html body.tokyo-theme .ox-hero-card:has(.ox-hero-main) {
    position: relative;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 18px !important;
    padding: 34px 32px 26px !important;
    background:
        radial-gradient(520px 220px at 14% 0%, rgba(16, 163, 127, 0.11), transparent 70%),
        radial-gradient(520px 220px at 86% 0%, rgba(0, 113, 227, 0.11), transparent 70%),
        radial-gradient(640px 240px at 50% 115%, rgba(124, 58, 237, 0.07), transparent 72%),
        rgba(255, 255, 255, 0.84) !important;
    border: 1px solid rgba(255, 255, 255, 0.94) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 18px 44px rgba(20, 28, 50, 0.08) !important;
}

html body.tokyo-theme .ox-hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 780px;
}

html body.tokyo-theme .ox-hero-kicker-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(16, 163, 127, 0.10);
    border: 1px solid rgba(16, 163, 127, 0.18);
    color: #0e8a6a;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

html body.tokyo-theme .ox-hero-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

html body.tokyo-theme .ox-hero-card:has(.ox-hero-main) h1 {
    margin: 2px 0 0 !important;
    font-size: clamp(30px, 3.2vw, 42px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.15 !important;
    background: linear-gradient(135deg, #111827 20%, #1e3a5f 65%, #0f766e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: #141824;
}

html body.tokyo-theme .ox-hero-card:has(.ox-hero-main) .ox-lead {
    max-width: 650px !important;
    margin: 0 !important;
    color: #4b5565 !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
}

html body.tokyo-theme .ox-trust-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    margin-top: 4px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(241, 245, 251, 0.78);
    border: 1px solid rgba(20, 28, 50, 0.06);
}

html body.tokyo-theme .ox-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

html body.tokyo-theme .ox-trust-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

html body.tokyo-theme .ox-trust-sep {
    width: 1px;
    height: 12px;
    background: rgba(20, 28, 50, 0.12);
}

html body.tokyo-theme .ox-hero-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 12px;
    width: 100%;
    padding-top: 4px;
}

html body.tokyo-theme .ox-pill-group {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 28, 50, 0.07);
    box-shadow: 0 2px 8px rgba(20, 28, 50, 0.03);
}

html body.tokyo-theme .ox-pill-group-tag {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

html body.tokyo-theme .ox-pill-group-tag--gpt {
    background: rgba(16, 163, 127, 0.12);
    color: #0d8a6a;
}

html body.tokyo-theme .ox-pill-group-tag--grok {
    background: rgba(15, 23, 42, 0.08);
    color: #1e293b;
}

html body.tokyo-theme .ox-pill-group a {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    color: #334155 !important;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

html body.tokyo-theme .ox-pill-group a:hover {
    background: #fff;
    color: #0071e3 !important;
    box-shadow: 0 1px 4px rgba(20, 28, 50, 0.08);
}

html body.tokyo-theme .ox-hero-query-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--g-accent);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.26);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    white-space: nowrap;
}

html body.tokyo-theme .ox-hero-query-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 6px 18px rgba(0, 113, 227, 0.34);
    transform: translateY(-1px);
}

html body.tokyo-theme .ox-hero-query-btn svg {
    width: 14px;
    height: 14px;
}

@media (min-width: 1025px) {
    html body.tokyo-theme .tokyo-shop-layout:has(.ox-guide-card) .tokyo-catalog-stack {
        display: flex !important;
        flex-direction: column !important;
        min-height: 100% !important;
        height: 100% !important;
    }

    html body.tokyo-theme .tokyo-shop-layout:has(.ox-guide-card) #codex-reset-card {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    html body.tokyo-theme .tokyo-shop-layout:has(.ox-guide-card) #codex-reset-card .ox-codex-body {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-panel-head) {
    padding: 0 !important;
}

html body.tokyo-theme .tokyo-wechat-panel .ox-cs-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 18px 20px 12px !important;
}

html body.tokyo-theme .tokyo-wechat-panel .ox-cs-panel-head .tokyo-index-panel-title {
    font-size: 18px !important;
}

html body.tokyo-theme .ox-cs-online-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #0d8a6a;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

html body.tokyo-theme .ox-cs-online-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2.5px rgba(16, 185, 129, 0.2);
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-panel-head) .tokyo-wechat-inner {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    padding: 10px 14px 15px !important;
    gap: 10px !important;
}

html body.tokyo-theme .ox-cs-qr-tray {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 13px 11px 12px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(235, 241, 250, 0.82) 0%, rgba(241, 245, 252, 0.68) 100%);
    border: 1px solid rgba(20, 28, 50, 0.055);
    box-shadow: inset 0 1px 2px rgba(20, 28, 50, 0.04);
    text-align: center;
}

html body.tokyo-theme .ox-cs-tray-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

html body.tokyo-theme .ox-cs-tray-head strong {
    color: #1e293b;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

html body.tokyo-theme .ox-cs-tray-head span {
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
}

html body.tokyo-theme .ox-cs-qr-tray .tokyo-wechat-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.tokyo-theme .ox-cs-qr-tray .tokyo-wechat-qr-wrap {
    width: 100% !important;
    max-width: 214px !important;
    margin: 0 auto !important;
    padding: 9px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 8px 22px rgba(20, 28, 50, 0.08) !important;
}

html body.tokyo-theme .ox-cs-qr-tray .tokyo-wechat-qr {
    display: block;
    width: 100% !important;
    height: auto !important;
    border-radius: 10px;
}

html body.tokyo-theme .ox-cs-qr-tray .tokyo-wechat-switch {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0 auto !important;
    padding: 5.5px 13px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(0, 113, 227, 0.16) !important;
    box-shadow: 0 1px 3px rgba(20, 28, 50, 0.05) !important;
    color: var(--g-accent) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

html body.tokyo-theme .ox-cs-qr-tray .tokyo-wechat-switch::before {
    content: "";
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/%3E%3C/svg%3E") center / contain no-repeat;
}

html body.tokyo-theme .ox-cs-qr-tray .tokyo-wechat-switch:hover {
    background: #fff !important;
    transform: translateY(-1px);
}

html body.tokyo-theme .ox-cs-qr-tray .tokyo-wechat-hint {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-panel-head) .tokyo-wechat-qq.ox-btn-qq {
    background: rgba(236, 240, 247, 0.88) !important;
    color: #1e293b !important;
    border: 1px solid rgba(20, 28, 50, 0.08) !important;
    box-shadow: 0 1px 2px rgba(20, 28, 50, 0.04) !important;
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-panel-head) .tokyo-wechat-qq.ox-btn-qq:hover {
    background: #ffffff !important;
    border-color: rgba(0, 113, 227, 0.25) !important;
    box-shadow: 0 4px 12px rgba(20, 28, 50, 0.07) !important;
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-panel-head) .tokyo-wechat-qq.ox-btn-qq::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") !important;
    opacity: 0.72;
}

html body.tokyo-theme .ox-guide-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

html body.tokyo-theme .ox-guide-title {
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

html body.tokyo-theme .ox-guide-sub {
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html body.tokyo-theme .ox-guide-link:has(.ox-guide-copy) {
    padding: 9px 11px !important;
}

html body.tokyo-theme .ox-guide-link:has(.ox-guide-copy) .ox-guide-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
}

html body.tokyo-theme .tokyo-shop-layout:has(.ox-guide-card) .tokyo-commodity-row:not(.is-soldout) td.tokyo-commodity-muted[data-label="库存"] {
    color: #0d8a6a !important;
    font-weight: 600 !important;
}

html body.tokyo-theme .tokyo-shop-layout:has(.ox-guide-card) .tokyo-commodity-row:not(.is-soldout) td.tokyo-commodity-muted[data-label="库存"]::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 5px;
    vertical-align: middle;
    border-radius: 50%;
    background: #10b981;
}

html body.tokyo-theme #codex-reset-card:has(.ox-codex-head) {
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.86) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

html body.tokyo-theme #codex-reset-card .ox-codex-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 16px 20px 12px !important;
    border-bottom: 1px solid rgba(20, 28, 50, 0.06) !important;
}

html body.tokyo-theme #codex-reset-card .ox-codex-head .tokyo-index-panel-title {
    font-size: 18px !important;
}

html body.tokyo-theme #codex-reset-card .ox-codex-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(0, 113, 227, 0.08);
    color: #0066cc;
    font-size: 12px;
    font-weight: 600;
}

html body.tokyo-theme #codex-reset-card .ox-codex-body {
    padding: 14px 20px 16px;
}

html body.tokyo-theme .ox-site-footer {
    width: min(1360px, calc(100% - 32px));
    margin: 22px auto 8px;
    padding: 16px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 24px rgba(20, 28, 50, 0.05);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
}

html body.tokyo-theme .ox-footer-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    color: #475569;
    font-size: 13px;
}

html body.tokyo-theme .ox-footer-brand {
    font-weight: 750;
    color: #141824;
}

html body.tokyo-theme .ox-footer-dot {
    color: #cbd5e1;
}

html body.tokyo-theme .ox-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
}

html body.tokyo-theme .ox-footer-links a {
    color: #475569 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.16s ease;
}

html body.tokyo-theme .ox-footer-links a:hover {
    color: var(--g-accent) !important;
}

@media (max-width: 767px) {
    html body.tokyo-theme .ox-hero-card:has(.ox-hero-main) {
        padding: 24px 18px 20px !important;
    }
    html body.tokyo-theme .ox-trust-strip {
        border-radius: 16px;
        padding: 8px 12px;
        gap: 6px 12px;
    }
    html body.tokyo-theme .ox-trust-sep {
        display: none;
    }
    html body.tokyo-theme .ox-pill-group {
        border-radius: 18px;
        justify-content: center;
    }
    html body.tokyo-theme #codex-reset-card:has(.ox-codex-head) {
        padding: 0 !important;
    }
    html body.tokyo-theme #codex-reset-card .ox-codex-body {
        padding: 14px 16px 16px !important;
    }
    html body.tokyo-theme .ox-site-footer {
        width: calc(100% - 24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 18px;
    }
}

/* ---------- 26. 首页左侧栏加宽 352px + 巨幅客服二维码升级 ---------- */
html body.tokyo-theme .tokyo-nav-wrap,
html body.tokyo-theme .ox-hero,
html body.tokyo-theme .tokyo-shell:not(.tokyo-shell--narrow),
html body.tokyo-theme .ox-site-footer {
    width: min(1400px, calc(100% - 32px)) !important;
}

@media (max-width: 767px) {
    html body.tokyo-theme .tokyo-nav-wrap,
    html body.tokyo-theme .ox-hero,
    html body.tokyo-theme .tokyo-shell:not(.tokyo-shell--narrow),
    html body.tokyo-theme .ox-site-footer {
        width: calc(100% - 24px) !important;
    }
}

@media (min-width: 1025px) {
    html body.tokyo-theme .tokyo-shop-layout:has(.ox-guide-card) {
        grid-template-columns: 324px minmax(0, 1fr) !important;
        gap: 22px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1359px) {
    html body.tokyo-theme .tokyo-shop-layout:has(.ox-guide-card) .tokyo-commodity-table thead tr,
    html body.tokyo-theme .tokyo-shop-layout:has(.ox-guide-card) .tokyo-commodity-table tbody tr.tokyo-commodity-row {
        grid-template-columns: minmax(0, 1fr) 82px 58px 86px !important;
    }

    html body.tokyo-theme .tokyo-shop-layout:has(.ox-guide-card) .tokyo-commodity-anchor {
        padding-right: 8px !important;
    }

    html body.tokyo-theme .tokyo-shop-layout:has(.ox-guide-card) .tokyo-commodity-name {
        font-size: 14.2px !important;
    }
}

@media (min-width: 1360px) {
    html body.tokyo-theme .tokyo-shop-layout:has(.ox-guide-card) {
        grid-template-columns: 352px minmax(0, 1fr) !important;
        gap: 22px !important;
    }
}

html body.tokyo-theme .tokyo-sidebar-stack:has(.ox-guide-card) .tokyo-index-heading {
    padding: 18px 20px 13px !important;
}

html body.tokyo-theme .tokyo-sidebar-stack:has(.ox-guide-card) .tokyo-index-panel-title {
    font-size: 20px !important;
}

html body.tokyo-theme .ox-cs-online-badge {
    padding: 4px 11px !important;
    font-size: 12px !important;
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-panel-head) .tokyo-wechat-inner {
    padding: 10px 16px 16px !important;
    gap: 12px !important;
}

html body.tokyo-theme .ox-cs-grid {
    gap: 8px !important;
}

html body.tokyo-theme .ox-cs-chip {
    padding: 10px 10px !important;
    border-radius: 13px !important;
    font-size: 13.5px !important;
    gap: 6px !important;
}

html body.tokyo-theme .ox-cs-chip svg {
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px !important;
}

html body.tokyo-theme .ox-cs-qr-tray {
    padding: 14px 14px 13px !important;
    gap: 10px !important;
    border-radius: 22px !important;
}

html body.tokyo-theme .ox-cs-tray-head strong {
    font-size: 15.5px !important;
}

html body.tokyo-theme .ox-cs-tray-head span {
    font-size: 12px !important;
}

html body.tokyo-theme .ox-cs-qr-tray .tokyo-wechat-qr-box {
    gap: 10px !important;
}

html body.tokyo-theme .ox-cs-qr-tray .tokyo-wechat-qr-wrap {
    width: 100% !important;
    max-width: 278px !important;
    padding: 5px !important;
    border-radius: 20px !important;
}

html body.tokyo-theme .ox-cs-qr-tray .tokyo-wechat-qr {
    border-radius: 15px !important;
}

html body.tokyo-theme .ox-cs-qr-tray .tokyo-wechat-switch {
    padding: 7px 16px !important;
    font-size: 13px !important;
}

html body.tokyo-theme .ox-cs-qr-tray .tokyo-wechat-hint {
    font-size: 12.5px !important;
}

html body.tokyo-theme .ox-cs-actions {
    gap: 9px !important;
}

html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-panel-head) .tokyo-wechat-qq.ox-btn-qq,
html body.tokyo-theme .tokyo-wechat-panel:has(.ox-cs-panel-head) .tokyo-wechat-tg.ox-btn-tg {
    min-height: 46px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
}

html body.tokyo-theme .ox-tg-handle {
    font-size: 12.5px !important;
}

html body.tokyo-theme .tokyo-sidebar-stack:has(.ox-guide-card) .tokyo-category-link {
    min-height: 48px !important;
    font-size: 14.5px !important;
}

html body.tokyo-theme .ox-guide-title {
    font-size: 14px !important;
}

html body.tokyo-theme .ox-guide-sub {
    font-size: 12px !important;
}



