/* ============================================================
 * Enterprise Blue SaaS Theme — 前台兑换页
 * 设计令牌沿用旧变量名，确保所有 inline style="var(--xxx)" 仍生效
 * ============================================================ */
:root {
    /* 主色 */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-soft: #eff6ff;
    --primary-glow: rgba(37, 99, 235, 0.18);
    --accent: #2563eb;
    --accent-soft: #eff6ff;
    --accent-glow: rgba(37, 99, 235, 0.18);

    /* 中性色 */
    --bg-page: #f4f7fb;
    --bg-dark: #f4f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-hover: #f1f5f9;
    --glass: #ffffff;
    --glass-border: #e5e7eb;
    --border-strong: #cbd5e1;
    --divider: #eef2f7;

    /* 文本 */
    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-dim: #64748b;
    --text-muted: #94a3b8;

    /* 状态色 */
    --success: #10b981;
    --success-soft: #ecfdf5;
    --error: #ef4444;
    --error-soft: #fef2f2;
    --warning: #f59e0b;
    --warning-soft: #fffbeb;
    --info: #0ea5e9;
    --info-soft: #f0f9ff;

    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-focus: 0 0 0 4px rgba(37, 99, 235, 0.14);

    /* 圆角 */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
        'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    color: var(--text-main);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* ============ 全局滚动条 ============ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
    border: 2px solid var(--bg-page);
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

* {
    scrollbar-color: #cbd5e1 transparent;
    scrollbar-width: thin;
}

/* ============ 装饰背景（极淡蓝色光晕） ============ */
.background-blobs {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(at 12% 8%, rgba(37, 99, 235, 0.10) 0px, transparent 45%),
        radial-gradient(at 88% 6%, rgba(14, 165, 233, 0.08) 0px, transparent 45%),
        radial-gradient(at 90% 92%, rgba(37, 99, 235, 0.08) 0px, transparent 45%),
        radial-gradient(at 5% 95%, rgba(99, 102, 241, 0.06) 0px, transparent 50%),
        var(--bg-page);
    pointer-events: none;
}

.blob {
    display: none;
}

@keyframes rotate {
    from { transform: rotate(0deg) scale(1); }
    to { transform: rotate(360deg) scale(1.1); }
}

/* ============ 主容器（卡片） ============ */
.glass-container {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    animation: fadeIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-container::before {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

header {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    width: 64px;
    height: 64px;
    background: var(--primary-soft);
    border: 1px solid #dbeafe;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

.logo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
}

.logo svg {
    width: 30px;
    height: 30px;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text-main);
    margin-bottom: 6px;
    background: none;
    -webkit-text-fill-color: var(--text-main);
}

header p {
    color: var(--text-dim);
    font-size: 14px;
}

/* ============ 输入框 ============ */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

input,
textarea,
select {
    display: block;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 12px 14px;
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.5;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    box-shadow: var(--shadow-sm);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

input:hover,
textarea:hover,
select:hover {
    border-color: var(--border-strong);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: var(--shadow-focus);
}

#tokenInput,
#sessionInput {
    padding-bottom: 50px;
    min-height: 120px;
}

textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}

textarea::-webkit-scrollbar {
    display: block;
    width: 8px;
}

/* ============ 主按钮 ============ */
button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: var(--primary);
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.12);
    gap: 8px;
}

button:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px var(--primary-glow);
    transform: none;
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    box-shadow: none;
    background: var(--text-muted);
}

button:disabled::after {
    display: none;
}

button::after {
    display: none;
}

/* 次要按钮 */
.btn-secondary {
    background: var(--surface);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--surface-hover);
    color: var(--text-main);
    box-shadow: none;
}

/* ============ 辅助卡片 ============ */
.helper-box {
    background: var(--primary-soft);
    border: 1px solid #dbeafe;
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 0;
    text-align: center;
    color: var(--text-secondary);
}

.get-token-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
}

.textarea-wrapper {
    position: relative;
    width: 100%;
    display: flex;
}

.get-token-btn-floating {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s, color 0.15s;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.18);
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.get-token-btn-floating::after {
    display: none;
}

.get-token-btn-floating:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.24);
}

.get-token-btn-floating:active {
    background: #1e40af;
    border-color: #1e40af;
    color: #ffffff !important;
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.35);
}

.get-token-btn-floating:focus-visible {
    outline: none;
    color: #ffffff !important;
    box-shadow: var(--shadow-focus), 0 2px 6px rgba(37, 99, 235, 0.2);
}

.get-token-btn-floating svg {
    width: 14px;
    height: 14px;
}

.hint {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}

.hint b {
    color: var(--primary);
}

.notice-box {
    margin: 12px 0;
    padding: 12px 14px;
    background: var(--warning-soft);
    border: 1px solid #fde68a;
    border-radius: var(--radius);
    text-align: left;
}

.notice-box p {
    color: #92400e !important;
    font-size: 13px !important;
    line-height: 1.55;
    margin: 0 !important;
}

.notice-box b {
    color: #b45309;
}

/* ============ 任务进度 ============ */
.task-progress {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--surface-soft);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    animation: slideUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.task-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.task-progress-header b {
    color: var(--primary);
    text-shadow: none;
    font-weight: 700;
}

.task-progress-track {
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: #e5e7eb;
    border: none;
}

.task-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    box-shadow: none;
    transition: width 0.5s ease;
}

.task-progress-bar.error {
    background: linear-gradient(90deg, var(--error), #fb923c);
    box-shadow: none;
}

.status-message {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: none;
    animation: slideUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    line-height: 1.55;
}

@keyframes slideUp {
    from { transform: translateY(8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.status-success {
    background: var(--success-soft);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-error {
    background: var(--error-soft);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.loader {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
    margin: 0;
    flex: 0 0 auto;
}

.btn-secondary .loader {
    border-color: rgba(15, 23, 42, 0.18);
    border-top-color: var(--primary);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============ Tab 导航 ============ */
.main-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 1px;
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: var(--primary);
    text-transform: uppercase;
}

/* ============ 公共运行时面板（右侧并发槽） ============ */
.public-runtime-panel {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    width: 220px;
    z-index: 5;
}

.public-runtime-layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.public-runtime-title {
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.public-runtime-value {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: left;
    color: var(--text-main);
}

.public-runtime-meta {
    color: var(--text-dim);
    font-size: 12px;
    text-align: left;
    line-height: 1.45;
}

.public-slot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
}

.public-slot-box {
    height: 12px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--surface-soft);
    transition: 0.2s ease;
}

.public-slot-box.idle {
    background: var(--surface-soft);
    border-color: var(--glass-border);
}

.public-runtime-panel.load-low .public-runtime-value {
    color: var(--success);
}

.public-runtime-panel.load-low .public-slot-box.occupied {
    background: var(--success);
    border-color: #6ee7b7;
}

.public-runtime-panel.load-mid .public-runtime-value {
    color: #d97706;
}

.public-runtime-panel.load-mid .public-slot-box.occupied {
    background: var(--warning);
    border-color: #fcd34d;
}

.public-runtime-panel.load-high .public-runtime-value {
    color: var(--error);
}

.public-runtime-panel.load-high .public-slot-box.occupied {
    background: var(--error);
    border-color: #fca5a5;
}

.tab-nav {
    display: flex;
    gap: 4px;
    background: var(--surface-soft);
    padding: 4px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 100;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: none;
}

.tab-btn:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary);
    box-shadow: none;
    transform: none;
}

.tab-btn.active {
    background: var(--surface);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.tab-btn:disabled {
    background: transparent;
    color: var(--text-muted);
}

/* ============ 查询结果 ============ */
.query-result-box {
    margin-top: 20px;
    background: var(--surface-soft);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 18px;
    animation: slideUp 0.3s ease;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--divider);
}

.result-item:last-child {
    border-bottom: none;
}

.result-item span:first-child {
    color: var(--text-dim);
    font-size: 14px;
    white-space: nowrap;
}

.result-item b,
.result-item span:last-child {
    color: var(--text-main);
    font-size: 14px;
    font-family: 'SF Mono', 'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;
    font-variant-numeric: tabular-nums;
    text-align: right;
    word-break: break-all;
    margin-left: 12px;
}

.status-unused {
    color: var(--success) !important;
}

.status-used {
    color: var(--error) !important;
}

/* ============ 复制小按钮（结果页用） ============ */
.copy-btn-mini {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: none;
}

.copy-btn-mini:hover {
    background: var(--primary-hover);
    box-shadow: 0 2px 6px var(--primary-glow);
    transform: none;
}

/* ============ Inline-style 兼容兜底 ============
 * index.html 里有大量历史 inline `style="background: rgba(255, 255, 255, 0.03)"` 等暗色覆层。
 * 在亮色主题下这些会变成"白上加白"看不见，用属性选择器统一替换为浅灰底。
 */
[style*="background: rgba(255,255,255,0.03)"],
[style*="background: rgba(255, 255, 255, 0.03)"],
[style*="background: rgba(255,255,255,0.05)"],
[style*="background: rgba(255, 255, 255, 0.05)"],
[style*="background: rgba(255,255,255,0.02)"],
[style*="background: rgba(255, 255, 255, 0.02)"],
[style*="background:rgba(255,255,255,0.03)"],
[style*="background:rgba(255, 255, 255, 0.03)"] {
    background: var(--surface-soft) !important;
}

[style*="border: 1px solid rgba(255,255,255,0.05)"],
[style*="border: 1px solid rgba(255, 255, 255, 0.05)"],
[style*="border: 1px solid rgba(255,255,255,0.08)"],
[style*="border: 1px solid rgba(255, 255, 255, 0.08)"],
[style*="border: 1px solid rgba(255,255,255,0.1)"],
[style*="border: 1px solid rgba(255, 255, 255, 0.1)"] {
    border-color: var(--glass-border) !important;
}

/* code / 等宽 inline 文本：在亮底下变成深灰 + 蓝字 */
code {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;
    font-size: 0.92em;
}

/* index.html 里 `code` 直接 inline 颜色 #fff 的，强制覆盖回深色 */
code[style*="color: #fff"],
code[style*="color:#fff"],
code[style*="color: white"] {
    color: var(--primary) !important;
}

/* 链接默认企业蓝 */
a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-hover);
}

/* 选择文本时的高亮 */
::selection {
    background: var(--primary);
    color: #ffffff;
}

/* index.html 内联色覆盖：浅紫 / 浅蓝 / 浅红在白底改成深一档同色系 */
[style*="color: #818cf8"] { color: var(--primary) !important; }
[style*="color:#818cf8"] { color: var(--primary) !important; }
[style*="color: #6ee7b7"] { color: #047857 !important; }
[style*="color: #f87171"] { color: #b91c1c !important; }
[style*="color: #fbbf24"] { color: #b45309 !important; }
[style*="color: #fde68a"] { color: #b45309 !important; }
[style*="color: #fff"]:not(.btn-primary):not(button):not(.copy-btn-mini):not([style*="color: #fff5"]) {
    color: var(--text-main) !important;
}
[style*="color:#fff"]:not(.btn-primary):not(button):not(.copy-btn-mini) {
    color: var(--text-main) !important;
}

/* 查询/结果卡片里 inline 的暗色边框 */
[style*="border: 1px solid rgba(255,255,255,0.05)"] { border-color: var(--divider) !important; }
[style*="border: 1px solid rgba(255, 255, 255, 0.05)"] { border-color: var(--divider) !important; }
[style*="border-bottom: 1px solid rgba(255, 255, 255, 0.05)"] { border-bottom-color: var(--divider) !important; }
[style*="border-bottom: 1px solid rgba(255,255,255,0.05)"] { border-bottom-color: var(--divider) !important; }
[style*="border-top: 1px solid rgba(255, 255, 255, 0.05)"] { border-top-color: var(--divider) !important; }
[style*="border-top: 1px solid rgba(255,255,255,0.05)"] { border-top-color: var(--divider) !important; }

/* ============ 自助充值中心（仿 cdk.98-xj.com 布局） ============ */
body.recharge-page {
    display: block;
    min-height: 100vh;
    background:
        radial-gradient(at 10% 0%, rgba(37, 99, 235, 0.12) 0, transparent 42%),
        radial-gradient(at 90% 8%, rgba(14, 165, 233, 0.10) 0, transparent 40%),
        linear-gradient(180deg, #eef4ff 0%, var(--bg-page) 38%, #f8fafc 100%);
}

.page-shell {
    width: min(720px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 56px;
    animation: fadeIn 0.45s ease;
}

.site-hero {
    text-align: center;
    margin-bottom: 28px;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.site-hero h1 {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.hero-subtitle {
    max-width: 560px;
    margin: 0 auto 18px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.65;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.feature-badge svg {
    width: 15px;
    height: 15px;
    color: var(--primary);
}

.recharge-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 28px 28px 24px;
    box-shadow: var(--shadow-lg);
}

.card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.card-head h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-head p {
    color: var(--text-dim);
    font-size: 13px;
}

.flow-badge {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--surface-soft);
    color: var(--text-dim);
    border: 1px solid var(--glass-border);
}

.flow-badge.pending { background: #f1f5f9; color: #64748b; }
.flow-badge.cdk_ok { background: var(--info-soft); color: #0369a1; border-color: #bae6fd; }
.flow-badge.running { background: var(--primary-soft); color: var(--primary); border-color: #bfdbfe; }
.flow-badge.success { background: var(--success-soft); color: #047857; border-color: #a7f3d0; }
.flow-badge.failed,
.flow-badge.manual { background: var(--error-soft); color: #b91c1c; border-color: #fecaca; }

.stepper {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--surface-soft);
    border: 1px solid var(--divider);
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-item.active .step-num {
    background: var(--primary);
    color: #fff;
}

.step-item.done .step-num {
    background: var(--success);
    color: #fff;
}

.step-item.active,
.step-item.done {
    color: var(--text-main);
}

.step-line {
    width: 36px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 8px;
    flex-shrink: 0;
}

.notice-banner {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    background: var(--warning-soft);
    border: 1px solid #fde68a;
}

.notice-banner svg {
    width: 18px;
    height: 18px;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 1px;
}

.notice-banner p {
    margin: 0;
    color: #92400e;
    font-size: 13px;
    line-height: 1.55;
}

.field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.field-hint {
    margin-top: -8px;
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.5;
}

.cdk-confirmed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--success-soft);
    border: 1px solid #a7f3d0;
    font-size: 13px;
    color: #065f46;
}

.cdk-confirmed code {
    background: rgba(255, 255, 255, 0.7);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-lg {
    padding: 14px 20px;
    font-size: 15px;
}

button.is-loading .btn-text {
    opacity: 0.85;
}

.task-progress-text {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}

.query-result-card {
    text-align: left;
    background: var(--surface-soft);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 4px 14px;
}

.query-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--divider);
    font-size: 14px;
}

.query-row:last-child {
    border-bottom: none;
}

.query-row span {
    color: var(--text-dim);
}

.query-row strong {
    color: var(--text-main);
    font-weight: 600;
}

.status-processing {
    color: var(--warning) !important;
}

.faq-panel {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}

.faq-panel summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    list-style: none;
}

.faq-panel summary::-webkit-details-marker {
    display: none;
}

.faq-panel ul {
    margin: 12px 0 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-dim);
}

.recharge-page .public-runtime-panel {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 20px;
}

@media (max-width: 640px) {
    .page-shell {
        width: calc(100% - 20px);
        padding: 24px 0 40px;
    }

    .recharge-card {
        padding: 20px 16px;
    }

    .card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-label {
        font-size: 12px;
    }

    .step-line {
        width: 20px;
    }
}

/* ============ 套餐说明 / 发票助手 ============ */
.plan-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.plan-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
}

.plan-card.highlight {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.plan-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.plan-card h3 {
    font-size: 15px;
    font-weight: 700;
}

.plan-card p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-dim);
}

.plan-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 600;
}

.plan-tag.pro {
    background: var(--primary-soft);
    color: var(--primary);
}

.region-hint {
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.feature-badge.feature-link {
    text-decoration: none;
    color: var(--text-secondary);
    transition: border-color 0.2s, color 0.2s;
}

.feature-badge.feature-link:hover {
    color: var(--primary);
    border-color: #bfdbfe;
}

.plan-confirmed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--primary-soft);
    border: 1px solid #bfdbfe;
    font-size: 13px;
    color: #1e3a8a;
}

.plan-confirmed strong {
    font-weight: 700;
}

.compact-hero {
    margin-bottom: 20px;
}

.back-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
}

.back-home-link:hover {
    color: var(--primary);
}

.subscription-card .guide-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
}

.guide-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.guide-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.guide-step h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.guide-step p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dim);
}

.subscription-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subscription-query-section {
    margin-top: 4px;
}

.subscription-field-hint {
    margin-top: 10px;
    margin-bottom: 14px;
}

.subscription-query-actions {
    margin-top: 0;
}

.subscription-query-actions button {
    width: 100%;
}

button.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button.is-loading .loader {
    display: block;
}

.subscription-result {
    margin-top: 18px;
}

.subscription-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.subscription-result-head h2 {
    font-size: 16px;
    margin: 0;
}

.subscription-billing-actions {
    margin-top: 14px;
}

.subscription-guide-panel {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--surface-soft);
    border: 1px solid var(--glass-border);
}

.subscription-guide-panel summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 0;
}

.subscription-guide-panel[open] summary {
    margin-bottom: 12px;
}

.action-link-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .plan-showcase {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
 * KC AI Storefront — scoped marketplace theme
 * ============================================================ */
.store-page {
    --store-bg: #f2f3f5;
    --store-card: #fff;
    --store-ink: #0a0a0b;
    --store-muted: #74777e;
    --store-border: #dedfe3;
    display: block;
    min-height: 100vh;
    background: var(--store-bg);
    color: var(--store-ink);
    font-family: Inter, "Noto Sans SC", "PingFang SC", sans-serif;
    padding: 24px 5vw 20px;
}
.store-page button, .store-page input, .store-page textarea { font: inherit; }
.store-page [hidden] { display: none !important; }
.store-page button { box-shadow: none; }
.store-page button:hover { box-shadow: none; transform: none; }
.store-page svg { width: 18px; height: 18px; stroke-width: 2; }
.store-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.store-nav {
    width: min(1440px, 100%);
    min-height: 68px;
    margin: 0 auto 24px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(214,215,219,.9);
    border-radius: 34px;
    box-shadow: 0 3px 10px rgba(20,22,28,.10);
    backdrop-filter: blur(16px);
}
.store-brand { display: flex; align-items: center; gap: 11px; color: #0a0a0b; text-decoration: none; font-size: 17px; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #d41f28; color: #fff; font-size: 22px; font-style: italic; font-weight: 800; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.store-nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.store-nav button, .store-nav a.nav-pill { min-height: 42px; padding: 0 14px; border: 0; border-radius: 21px; display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; text-decoration: none; }
.store-nav a.nav-pill.active { color: #111; background: #fff; border: 1px solid #dddfe3; box-shadow: 0 3px 8px rgba(20,22,28,.11); }
.store-nav .nav-ghost { color: #666970; background: transparent; }
.store-nav .nav-ghost:hover { color: #111; background: #f1f1f3; }
.store-account { display: flex; gap: 9px; }
.store-account .account-login { background: #fff; color: #111; border: 1px solid #dcdde1; }
.store-account .account-create { background: #050505; color: #fff; border: 1px solid #050505; padding-inline: 18px; }
.store-account .account-create:hover { background: #242424; }
.store-shell { width: min(1440px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(260px, 350px) 1fr; gap: 24px; align-items: start; }
.category-panel, .catalog-panel { background: var(--store-card); border: 1px solid var(--store-border); border-radius: 24px; box-shadow: 0 2px 8px rgba(25,27,33,.08); overflow: hidden; }
.panel-heading, .catalog-head { padding: 24px; border-bottom: 1px solid var(--store-border); }
.eyebrow { display: block; margin-bottom: 12px; color: #696d75; font-size: 12px; line-height: 1; font-weight: 800; letter-spacing: 1.3px; }
.panel-heading h1, .catalog-head h2 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -.7px; }
.category-list { padding: 18px 22px 16px; display: grid; gap: 5px; }
.category-item { width: 100%; min-height: 44px; padding: 0 12px; display: flex; justify-content: space-between; align-items: center; border: 1px solid transparent; border-radius: 22px; background: transparent; color: #666970; }
.category-item:hover { background: #f6f6f7; color: #111; }
.category-item.active { background: #fff; color: #111; border-color: #d9dade; box-shadow: 0 3px 8px rgba(27,29,34,.12); }
.category-name { min-width: 0; display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 600; text-align: left; }
.category-name img, .category-name svg { width: 21px; height: 21px; flex: none; }
.category-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-count { min-width: 29px; height: 25px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; background: #f0f1f3; color: #656970; font-size: 12px; font-weight: 700; }
.service-note { margin: 3px 22px 22px; padding: 15px; display: flex; align-items: center; gap: 12px; border-radius: 16px; background: #f7f7f8; color: #565a61; }
.service-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #111; border: 1px solid #e1e2e5; }
.service-note strong { display: block; color: #222; font-size: 13px; }
.service-note p { margin: 2px 0 0; font-size: 12px; }
.catalog-head { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.catalog-search { flex: 0 1 405px; display: flex; align-items: center; padding: 5px; border: 1px solid #d5d6da; border-radius: 27px; background: #fff; }
.search-field { min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 13px; color: #84878e; }
.search-field input { width: 100%; height: 38px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 14px; }
.search-field input:focus { box-shadow: none; }
.catalog-search > button { min-width: 85px; height: 40px; padding: 0 15px; border-radius: 20px; border: 0; background: #050505; color: #fff; font-size: 14px; font-weight: 700; }
.catalog-search > button:hover { background: #2a2a2a; }
.product-table-wrap { margin: 22px; border: 1px solid #d9dade; border-radius: 18px; overflow: hidden; }
.product-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.product-table thead { background: #f7f7f8; }
.product-table th { height: 45px; padding: 0 16px; color: #6b6e75; font-size: 12px; font-weight: 700; text-align: left; }
.product-table th:first-child { width: 62%; }.product-table th:nth-child(2) { width: 11%; }.product-table th:nth-child(3) { width: 12%; }.product-table th:last-child { width: 15%; }
.product-table td { height: 76px; padding: 10px 16px; border-top: 1px solid #dedfe2; vertical-align: middle; }
.product-main { width: 100%; padding: 0; border: 0; background: transparent; color: #111; display: flex; align-items: center; gap: 14px; text-align: left; overflow: visible; }
.product-main:hover { background: transparent; }
.product-logo { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 1px solid #e3e4e7; border-radius: 13px; background: #fff; overflow: hidden; }
.product-logo img { width: 27px; height: 27px; object-fit: contain; }
.product-logo.dark { background: #080808; color: #fff; border-color: #080808; }
.product-logo.dark svg { width: 23px; height: 23px; }
.product-copy { min-width: 0; display: block; }
.product-copy strong { display: block; margin-bottom: 7px; color: #161719; font-size: 15px; line-height: 1.25; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.product-tags em { padding: 3px 8px; border-radius: 8px; font-size: 11px; line-height: 1.2; font-style: normal; font-weight: 700; }
.tag-gold { background: #fff4d7; color: #a56d00; }.tag-green { background: #e8f7eb; color: #27843d; }.tag-blue { background: #e8f2ff; color: #2776c8; }
.product-price { color: #080808; font-size: 15px; font-weight: 800; white-space: nowrap; }
.stock { color: #74777e; font-size: 14px; white-space: nowrap; }.stock-low { color: #ae744b; }
.buy-button { min-width: 73px; height: 38px; padding: 0 13px; border: 0; border-radius: 20px; background: #050505; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.buy-button svg { width: 15px; height: 15px; }.buy-button:hover { background: #2a2a2a; }
.store-empty { min-height: 260px; display: grid; place-items: center; align-content: center; gap: 8px; color: #8a8d93; }.store-empty svg { width: 35px; height: 35px; }.store-empty strong { color: #31343a; }.store-empty span { font-size: 13px; }
.store-footer { width: min(1440px,100%); margin: 18px auto 0; padding: 0 8px; display: flex; justify-content: space-between; color: #979aa0; font-size: 12px; }
.dialog-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(8,9,11,.46); backdrop-filter: blur(6px); }
.store-dialog { position: fixed; z-index: 100; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(540px, calc(100% - 32px)); max-height: calc(100vh - 36px); overflow-y: auto; padding: 30px; background: #fff; border: 1px solid #dedfe3; border-radius: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; padding: 0; border: 1px solid #e0e1e4; border-radius: 50%; background: #fff; color: #555; z-index: 2; }
.dialog-product-head { padding-right: 35px; display: flex; gap: 15px; align-items: flex-start; }.dialog-product-head .product-logo { width: 50px; height: 50px; }.dialog-product-head h2,.dialog-title-block h2 { margin: 4px 0 0; font-size: 21px; line-height: 1.4; letter-spacing: -.4px; }.dialog-kicker { color: #888b91; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.dialog-title-block { padding-right: 35px; }.dialog-title-block p { margin: 7px 0 0; color: #777a81; font-size: 13px; }
.dialog-summary { margin: 22px 0; padding: 16px; display: grid; grid-template-columns: repeat(3,1fr); background: #f6f6f7; border-radius: 15px; }.dialog-summary div { display: grid; gap: 5px; padding: 0 14px; border-left: 1px solid #dedfe2; }.dialog-summary div:first-child { border: 0; padding-left: 0; }.dialog-summary span { color: #8b8e94; font-size: 12px; }.dialog-summary strong { font-size: 19px; }.dialog-summary b { font-size: 14px; }
.purchase-note { padding: 14px; display: flex; gap: 11px; background: #fff8e7; color: #8a671b; border-radius: 13px; }.purchase-note svg { flex: none; margin-top: 1px; }.purchase-note p { margin: 0; }.purchase-note strong,.purchase-note span { display: block; }.purchase-note strong { margin-bottom: 3px; font-size: 13px; }.purchase-note span { font-size: 12px; line-height: 1.5; }
.dialog-primary,.dialog-secondary { width: 100%; min-height: 46px; margin-top: 14px; border-radius: 13px; font-size: 14px; font-weight: 700; }.dialog-primary { border: 1px solid #050505; background: #050505; color: #fff; }.dialog-primary:hover { background: #292929; }.dialog-primary:disabled { background: #7e7e82; }.dialog-secondary { border: 1px solid #dddfe2; background: #fff; color: #4d5056; }.dialog-secondary:hover { background: #f7f7f8; }
.redeem-steps { margin: 22px 0; display: flex; align-items: center; color: #94979d; font-size: 12px; font-weight: 700; }.redeem-steps span { display: flex; align-items: center; gap: 7px; }.redeem-steps b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #eaebed; color: #767980; }.redeem-steps i { height: 1px; flex: 1; margin: 0 12px; background: #dedfe2; }.redeem-steps .active { color: #111; }.redeem-steps .active b { background: #111; color: #fff; }.redeem-steps .done b { background: #dff4e5; color: #25813b; }
.redeem-form { display: grid; gap: 10px; }.redeem-form label { color: #3f4248; font-size: 13px; font-weight: 700; }.redeem-form input,.redeem-form textarea { width: 100%; border: 1px solid #d8dade; border-radius: 13px; padding: 12px 13px; background: #fff; box-shadow: none; color: #111; }.redeem-form input { height: 48px; }.redeem-form textarea { min-height: 125px; resize: vertical; }.session-wrap { position: relative; }.session-wrap a { position: absolute; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 8px; background: #f0f1f3; color: #222; text-decoration: none; font-size: 12px; font-weight: 700; }.verified-plan { padding: 11px 13px; border-radius: 11px; background: #eaf7ed; color: #2b7e3e; font-size: 13px; font-weight: 700; }
.redeem-message { margin-top: 13px; padding: 12px 13px; border-radius: 11px; font-size: 13px; }.redeem-message.error { background: #fff0f0; color: #b63939; }.redeem-message.ok { background: #ebf8ee; color: #297d3d; }
.redeem-progress { margin-top: 14px; }.redeem-progress > div { display: flex; justify-content: space-between; margin-bottom: 8px; color: #62656b; font-size: 12px; }.redeem-progress > i { height: 7px; display: block; overflow: hidden; background: #ececef; border-radius: 99px; }.redeem-progress em { height: 100%; width: 0; display: block; background: #111; border-radius: inherit; transition: width .3s ease; }
.query-card { margin-top: 14px; padding: 17px; display: grid; gap: 6px; border-radius: 14px; background: #f5f6f7; }.query-card span,.query-card small { color: #7b7e84; font-size: 12px; }.query-card strong { font-size: 19px; }
.notice-list { margin-top: 22px; display: grid; gap: 10px; }.notice-list > div { padding: 15px; display: flex; gap: 14px; border: 1px solid #e0e1e4; border-radius: 14px; }.notice-list > div > b { color: #b9bbc0; font-size: 12px; }.notice-list p { margin: 0; }.notice-list strong,.notice-list span { display: block; }.notice-list strong { margin-bottom: 4px; font-size: 14px; }.notice-list span { color: #72757b; font-size: 12px; line-height: 1.6; }
.store-toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; transform: translate(-50%,18px); padding: 11px 17px; border-radius: 11px; background: #111; color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transition: .2s ease; }.store-toast.show { opacity: 1; transform: translate(-50%,0); }
.dialog-open { overflow: hidden; }
@media (max-width: 980px) {
    .store-page { padding-inline: 20px; }.store-shell { grid-template-columns: 230px 1fr; gap: 16px; }.catalog-head { align-items: flex-start; flex-direction: column; }.catalog-search { width: 100%; flex-basis: auto; }.product-table th:first-child { width: 58%; }.product-table th:nth-child(2) { width: 13%; }.product-table th:nth-child(3) { width: 15%; }.product-table th:last-child { width: 14%; }.product-copy strong { white-space: normal; }.store-account { display: none; }
}
@media (max-width: 720px) {
    .store-page { padding: 12px; }.store-nav { min-height: 60px; margin-bottom: 12px; padding: 8px 10px; border-radius: 20px; }.brand-mark { width: 38px; height: 38px; }.store-brand span:last-child { display: none; }.store-nav-links { justify-content: flex-end; }.store-nav .nav-ghost,.store-nav a.nav-pill.active { padding: 0 10px; font-size: 13px; }.store-nav .nav-ghost span { display: none; }.store-shell { display: block; }.category-panel { margin-bottom: 12px; border-radius: 18px; }.panel-heading { padding: 18px; }.panel-heading h1 { font-size: 20px; }.category-list { padding: 12px; display: flex; overflow-x: auto; scrollbar-width: none; }.category-list::-webkit-scrollbar { display: none; }.category-item { width: auto; min-width: max-content; min-height: 38px; padding: 0 11px; background: #f6f6f7; }.category-name img,.category-name svg { width: 18px; height: 18px; }.category-count { display: none; }.service-note { display: none; }.catalog-panel { border-radius: 18px; }.catalog-head { min-height: 0; padding: 18px; gap: 16px; }.catalog-head h2 { font-size: 20px; }.catalog-search { border-radius: 14px; }.catalog-search > button { min-width: 48px; border-radius: 10px; font-size: 0; }.catalog-search > button svg { margin: 0; }.product-table-wrap { margin: 12px; border: 0; border-radius: 0; overflow: visible; }.product-table,.product-table tbody { display: block; }.product-table thead { display: none; }.product-table tr { position: relative; margin-bottom: 10px; padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 12px; border: 1px solid #dedfe2; border-radius: 16px; }.product-table td { height: auto; padding: 0; border: 0; }.product-table td:first-child { grid-column: 1 / -1; }.product-table td:nth-child(2) { align-self: center; }.product-table td:nth-child(3) { display: none; }.product-table td:last-child { justify-self: end; }.product-copy strong { font-size: 14px; }.product-logo { width: 43px; height: 43px; }.stock { font-size: 12px; }.buy-button { min-width: 76px; }.store-footer { padding: 8px; display: grid; gap: 4px; text-align: center; }.store-dialog { padding: 26px 20px; border-radius: 20px; }.dialog-summary { padding: 13px; }.dialog-summary div { padding: 0 9px; }.dialog-summary strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .store-page *, .store-page *::before, .store-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
