/* ==========================================================================
   红尘网络 · 统一设计系统
   --------------------------------------------------------------------------
   1. 设计令牌（颜色 / 圆角 / 阴影 / 字体）
   2. 基础重置与排版
   3. 通用组件（按钮 / 表单 / 徽标 / 提示 / 图标）
   4. 前台样式（页头 / 主视觉 / 查询卡 / 结果卡 / FAQ / 页脚）
   5. 后台样式（骨架 / 侧栏 / 顶栏 / 统计 / 表格 / 弹窗 / 登录）
   6. 响应式
   7. 深色主题
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌
   -------------------------------------------------------------------------- */
:root {
    color-scheme: light;

    --bg: #f5f8fd;
    --surface: #ffffff;
    --surface-2: #f8fafd;
    --surface-3: #eef2f9;
    --border: #e4e9f2;
    --border-strong: #cfd8e6;

    --text: #0e1729;
    --text-2: #4a5a75;
    --text-3: #5f7089;

    --brand-50: #eff5ff;
    --brand-100: #dbe8ff;
    --brand-200: #bed4ff;
    --brand-300: #91b5ff;
    --brand-400: #5d8cff;
    --brand-500: #3465f0;
    --brand-600: #234ddb;
    --brand-700: #1d3eb5;
    --brand-800: #1c378f;
    --brand-900: #16265c;
    --brand: var(--brand-600);
    --brand-soft: #e8efff;
    --brand-contrast: #ffffff;

    --accent: #06b6d4;
    --success: #0f8f52;
    --success-soft: #e7f7ee;
    --success-border: #bfe6d1;
    --warning: #a75c07;
    --warning-soft: #fdf3e3;
    --warning-border: #f3d9af;
    --danger: #c02626;
    --danger-soft: #fdeceb;
    --danger-border: #f6c8c6;
    --info: #1a5fd0;
    --info-soft: #e9f1ff;
    --info-border: #c6dbfb;

    --header-bg: rgba(255, 255, 255, 0.82);
    --overlay: rgba(9, 18, 40, 0.5);

    --radius-xs: 8px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(16, 32, 64, 0.05);
    --shadow-sm: 0 2px 10px rgba(16, 32, 64, 0.06);
    --shadow-md: 0 12px 32px -16px rgba(16, 32, 64, 0.24);
    --shadow-lg: 0 28px 64px -28px rgba(16, 32, 64, 0.34);

    --ring: 0 0 0 4px rgba(52, 101, 240, 0.16);

    --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
        system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

    --container: 1120px;
    --ease: 200ms cubic-bezier(0.2, 0.6, 0.3, 1);
}

/* hidden 属性优先于任何 display 声明 */
[hidden] {
    display: none !important;
}

/* --------------------------------------------------------------------------
   2. 基础
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-public {
    background:
        radial-gradient(1100px 520px at 50% -220px, rgba(52, 101, 240, 0.10), transparent 68%),
        var(--bg);
}

h1, h2, h3, h4, p, figure, blockquote {
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color var(--ease);
}

a:hover {
    color: var(--brand-700);
}

img, svg {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

::selection {
    background: var(--brand-100);
    color: var(--brand-900);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.narrow {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.icon {
    width: 18px;
    height: 18px;
    flex: none;
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.94em;
    letter-spacing: -0.2px;
}

.muted {
    color: var(--text-3);
}

.nowrap {
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 10px 16px;
    background: var(--surface);
    color: var(--text);
    border-radius: 0 0 12px 0;
    box-shadow: var(--shadow-md);
}

.skip-link:focus {
    left: 0;
}

/* --------------------------------------------------------------------------
   3. 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
}

.btn:active {
    transform: translateY(1px);
}

.btn[disabled],
.btn.is-loading {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-600) 60%, var(--brand-700));
    box-shadow: 0 12px 26px -14px rgba(35, 77, 219, 0.9);
}

.btn--primary:hover {
    color: #fff;
    box-shadow: 0 16px 32px -14px rgba(35, 77, 219, 0.95);
    filter: saturate(1.08);
}

.btn--ghost {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-2);
}

.btn--ghost:hover {
    border-color: var(--border-strong);
    color: var(--text);
    background: var(--surface-2);
}

.btn--danger {
    background: linear-gradient(135deg, #d93838, var(--danger));
    color: #fff;
    box-shadow: 0 12px 26px -16px rgba(192, 38, 38, 0.9);
}

.btn--danger:hover {
    color: #fff;
    filter: saturate(1.05);
}

.btn--subtle {
    background: var(--brand-soft);
    color: var(--brand-700);
}

.btn--subtle:hover {
    background: var(--brand-100);
    color: var(--brand-800);
}

.btn--sm {
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 10px;
    gap: 6px;
}

.btn--sm .icon {
    width: 15px;
    height: 15px;
}

.btn--lg {
    height: 52px;
    font-size: 16px;
    border-radius: 14px;
}

.btn--block {
    width: 100%;
}

.btn--icon {
    width: 34px;
    padding: 0;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--surface);
    color: var(--text-2);
    transition: all var(--ease);
}

.icon-btn:hover {
    color: var(--text);
    border-color: var(--border-strong);
    background: var(--surface-2);
}

.theme-toggle__dark {
    display: none;
}

[data-theme="dark"] .theme-toggle__light {
    display: none;
}

[data-theme="dark"] .theme-toggle__dark {
    display: inline-flex;
}

/* 表单 */
.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
}

.field__label .req {
    color: var(--danger);
    margin-left: 2px;
}

.field__hint {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.6;
}

.field__error {
    font-size: 12px;
    color: var(--danger);
    font-weight: 500;
}

.input,
.select,
.textarea {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    font-size: 15px;
    transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.textarea {
    height: auto;
    min-height: 96px;
    padding: 12px 14px;
    line-height: 1.6;
    resize: vertical;
}

.select {
    appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8aa5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.input::placeholder,
.textarea::placeholder {
    color: var(--text-3);
    opacity: 0.75;
}

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

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: var(--ring);
}

.input.is-invalid {
    border-color: var(--danger);
}

.input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(192, 38, 38, 0.14);
}

.input-group {
    position: relative;
    display: block;
}

.input--icon {
    padding-left: 44px;
    padding-right: 46px;
}

.input-group__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    pointer-events: none;
}

.input-group__btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text-3);
}

.input-group__btn:hover {
    background: var(--surface-3);
    color: var(--text-2);
}

/* 徽标 */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.badge--success {
    color: var(--success);
    background: var(--success-soft);
    border-color: var(--success-border);
}

.badge--warning {
    color: var(--warning);
    background: var(--warning-soft);
    border-color: var(--warning-border);
}

.badge--danger {
    color: var(--danger);
    background: var(--danger-soft);
    border-color: var(--danger-border);
}

.badge--info {
    color: var(--info);
    background: var(--info-soft);
    border-color: var(--info-border);
}

.badge--neutral {
    color: var(--text-2);
    background: var(--surface-3);
    border-color: var(--border);
}

/* 提示条 */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.6;
}

.alert__icon {
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.alert__body {
    flex: 1;
    min-width: 0;
}

.alert__body strong {
    font-weight: 700;
}

.alert--success {
    color: var(--success);
    background: var(--success-soft);
    border-color: var(--success-border);
}

.alert--danger {
    color: var(--danger);
    background: var(--danger-soft);
    border-color: var(--danger-border);
}

.alert--warning {
    color: var(--warning);
    background: var(--warning-soft);
    border-color: var(--warning-border);
}

.alert--info {
    color: var(--info);
    background: var(--info-soft);
    border-color: var(--info-border);
}

/* 空状态 */
.empty {
    padding: 56px 24px;
    text-align: center;
    color: var(--text-3);
}

.empty__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--surface-3);
    color: var(--text-3);
}

.empty__icon .icon {
    width: 24px;
    height: 24px;
}

.empty__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 4px;
}

.empty__text {
    font-size: 13px;
    margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   4. 前台
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--header-bg);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.brand:hover {
    color: var(--text);
}

/* 品牌标识：浅色用完整字标，深色用图形标 + 文字（字标自带白描边，深底会产生光晕） */
.brand__logo {
    display: block;
    height: 44px;
    width: auto;
    max-height: 44px;
    max-width: 100%;
}

.brand__compact {
    display: none;
    align-items: center;
    gap: 10px;
}

.brand__mark-img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex: none;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(180, 20, 20, 0.28));
}

.brand__mark-img--sm {
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
    filter: none;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand__text strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.brand__text small {
    font-size: 11.5px;
    color: var(--text-3);
    letter-spacing: 0.6px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav__link {
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 14px;
    color: var(--text-2);
    transition: all var(--ease);
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--brand-700);
    background: var(--brand-soft);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
}

/* 汉堡按钮：三条横线用伪元素画，展开时过渡成叉号 */
.nav-toggle__bars {
    position: relative;
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: background 140ms ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: top 240ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle__bars::before {
    top: -6px;
}

.nav-toggle__bars::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   移动端导航浮层
   --------------------------------------------------------------------------
   关键点：position:absolute + top:100%，挂在 .site-header 底下。
   它完全脱离文档流，展开/收起只改变自身透明度与位移，
   不会改变 header 高度，因此下方内容不会跳动、不会被顶下去。

   关闭态用 visibility:hidden 而不是 display:none —— 既能参与过渡动画，
   又能让内部链接自动退出 Tab 顺序，不会出现「看不见却能用键盘聚焦」。
   -------------------------------------------------------------------------- */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    padding: 10px clamp(12px, 4vw, 24px) 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.985);
    transform-origin: 50% 0;
    transition: opacity 160ms ease,
                transform 240ms cubic-bezier(0.22, 0.9, 0.3, 1),
                visibility 0s linear 240ms;
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition: opacity 180ms ease,
                transform 280ms cubic-bezier(0.22, 0.9, 0.3, 1),
                visibility 0s;
}

/* 卡片本体：沿用站点下拉菜单的圆角、描边、投影语汇。
   默认贴右侧对齐汉堡按钮；手机窄屏再撑满宽度，视觉上不会「飘在中间」。 */
.mobile-nav__sheet {
    max-width: 460px;
    max-height: calc(100dvh - 96px);
    margin-left: auto;
    padding: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-nav__link,
.mobile-nav .mobile-nav__sublink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    transition: background var(--ease), color var(--ease);
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible,
.mobile-nav__link.is-active {
    background: var(--brand-soft);
    color: var(--brand-700);
}

.mobile-nav__go {
    width: 15px;
    height: 15px;
    flex: none;
    opacity: 0.5;
    transform: rotate(90deg); /* chevron 原始朝右，转成朝下 */
    transition: opacity var(--ease);
}

/* 外链项用的是「方框+箭头」图标，本身已朝向正确，不能再旋转；
   四个菜单项都是外链，图标重复出现，压到最轻避免变成视觉噪音。 */
.mobile-nav__go--out {
    width: 13px;
    height: 13px;
    opacity: 0.32;
    transform: none;
}

.mobile-nav__link:hover .mobile-nav__go,
.mobile-nav__link:focus-visible .mobile-nav__go {
    opacity: 0.9;
}

.mobile-nav__link:hover .mobile-nav__go--out,
.mobile-nav__link:focus-visible .mobile-nav__go--out {
    opacity: 0.6;
}

/* 二级菜单：左侧细竖线做层级引导，替代原来粗糙的「└」字符 */
.mobile-nav__group {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin: 2px 0 6px 15px;
    padding-left: 12px;
    border-left: 1px solid var(--border);
}

.mobile-nav .mobile-nav__sublink {
    justify-content: flex-start;
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--text-2);
}

.mobile-nav .mobile-nav__sublink:hover,
.mobile-nav .mobile-nav__sublink:focus-visible {
    background: var(--brand-soft);
    color: var(--brand-700);
}

.mobile-nav__cta {
    width: 100%;
    margin-top: 6px;
    justify-content: center;
}

/* 深色主题下 brand-700 对比度不足，整体提亮一档 */
[data-theme="dark"] .mobile-nav__link:hover,
[data-theme="dark"] .mobile-nav__link:focus-visible,
[data-theme="dark"] .mobile-nav__link.is-active,
[data-theme="dark"] .mobile-nav .mobile-nav__sublink:hover,
[data-theme="dark"] .mobile-nav .mobile-nav__sublink:focus-visible {
    color: var(--brand-300);
}

/* 主视觉 */
.hero {
    position: relative;
    overflow: hidden;
    padding: 54px 0 68px;
    color: #fff;
    background:
        radial-gradient(820px 400px at 10% -18%, rgba(93, 140, 255, 0.55), transparent 62%),
        radial-gradient(680px 360px at 94% 4%, rgba(6, 182, 212, 0.30), transparent 64%),
        linear-gradient(152deg, #0c1938 0%, #16265c 44%, #1d3eb5 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.55;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.1);
    font-size: 12.5px;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.92);
}

.hero__badge .icon {
    width: 15px;
    height: 15px;
    color: #7ff0e0;
}

.hero__title {
    font-size: clamp(28px, 4.4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.hero__sub {
    margin-top: 12px;
    font-size: 15px;
    color: rgba(226, 236, 255, 0.82);
}

/* 查询卡 */
.search {
    margin-top: 28px;
    padding: 22px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: 0 34px 70px -34px rgba(4, 12, 38, 0.7);
    color: var(--text);
}

.search__row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.search__row .field {
    flex: 1;
    min-width: 0;
}

.search__row .input {
    height: 52px;
    font-size: 16px;
}

.search__row .btn {
    height: 52px;
    padding: 0 26px;
    border-radius: 13px;
}

.search__note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--text-3);
}

.search__note .icon {
    width: 14px;
    height: 14px;
}

.search__msg {
    margin-bottom: 14px;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin-top: 26px;
    font-size: 12.5px;
    color: rgba(214, 227, 255, 0.78);
}

.hero__stat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero__stat .icon {
    width: 15px;
    height: 15px;
    color: #7ff0e0;
}

/* 结果卡 */
.section {
    padding: 40px 0 8px;
}

.result {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.result__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 24px;
    color: #fff;
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(6, 182, 212, 0.35), transparent 70%),
        linear-gradient(135deg, var(--brand-800), var(--brand-600));
}

.result__head-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.result__avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.result__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.result__sub {
    font-size: 12px;
    color: rgba(219, 232, 255, 0.8);
}

.result__body {
    padding: 22px 24px 4px;
}

.kv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.kv {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-2);
}

.kv__label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--text-3);
}

.kv__label .icon {
    width: 14px;
    height: 14px;
}

.kv__value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    word-break: break-word;
}

.kv__value--mono {
    font-family: var(--font-mono);
    font-size: 14.5px;
    letter-spacing: -0.2px;
}

.period {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
}

.period__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 12.5px;
    color: var(--text-3);
}

.period__value {
    font-weight: 700;
    color: var(--text-2);
    font-variant-numeric: tabular-nums;
}

.progress {
    height: 9px;
    border-radius: var(--radius-pill);
    background: var(--surface-3);
    overflow: hidden;
}

.progress__bar {
    height: 100%;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--brand-500), #6f9bff);
    transition: width 600ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.progress__bar.is-warning {
    background: linear-gradient(90deg, #e0912a, #f0b456);
}

.progress__bar.is-danger {
    background: linear-gradient(90deg, #d64545, #e87777);
}

.countdown {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
}

.countdown__label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-3);
}

.countdown__label .icon {
    width: 15px;
    height: 15px;
}

.countdown__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.cd {
    padding: 12px 6px 10px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    box-shadow: var(--shadow-xs);
}

.cd__num {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.8px;
    color: var(--brand-600);
    font-variant-numeric: tabular-nums;
}

.cd__unit {
    margin-top: 2px;
    font-size: 11px;
    color: var(--text-3);
}

.notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    border: 1px solid var(--danger-border);
    border-radius: var(--radius-md);
    background: var(--danger-soft);
    color: var(--danger);
}

.notice__icon {
    width: 22px;
    height: 22px;
    flex: none;
    margin-top: 1px;
}

.notice__title {
    font-size: 14.5px;
    font-weight: 700;
}

.notice__text {
    margin-top: 2px;
    font-size: 13px;
    color: var(--danger);
    opacity: 0.9;
}

.result__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}

.result__foot-text {
    font-size: 13px;
    color: var(--text-3);
}

.result__foot-actions {
    display: flex;
    gap: 8px;
}

/* 最近查询 */
.recent {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-3);
}

.recent__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recent__item {
    padding: 5px 12px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--text-2);
    font-family: var(--font-mono);
    font-size: 12px;
    cursor: pointer;
    transition: all var(--ease);
}

.recent__item:hover {
    border-style: solid;
    border-color: var(--brand-300);
    color: var(--brand-700);
    background: var(--brand-50);
}

/* FAQ / 说明 */
.faq {
    margin-top: 44px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    font-weight: 700;
}

.faq__head .icon {
    color: var(--brand-500);
}

.faq__item {
    border-bottom: 1px solid var(--border);
}

.faq__item:last-child {
    border-bottom: 0;
}

.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
}

.faq__q::-webkit-details-marker {
    display: none;
}

.faq__q .icon {
    color: var(--text-3);
    transition: transform var(--ease);
}

.faq__item[open] .faq__q .icon {
    transform: rotate(90deg);
    color: var(--brand-500);
}

.faq__a {
    padding: 0 24px 16px;
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.75;
}

/* 页脚 */
.site-footer {
    margin-top: 56px;
    padding-top: 40px;
    color: rgba(226, 236, 255, 0.78);
    background:
        radial-gradient(700px 300px at 20% -30%, rgba(52, 101, 240, 0.35), transparent 70%),
        #0d1830;
}

/* 前台页脚的实际布局在 13.8 统一接管（品牌居中 + 四个入口），
   这里只留最小骨架，不预设方向和对齐，免得两处规则互相打架。 */
.footer__inner {
    padding-bottom: 28px;
}

.footer__brand {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 420px;
}

.footer__brand strong {
    display: block;
    font-size: 15px;
    color: #fff;
    letter-spacing: 0.3px;
}

.footer__brand p {
    margin-top: 4px;
    font-size: 12.5px;
    line-height: 1.7;
    color: rgba(226, 236, 255, 0.6);
}

/* --------------------------------------------------------------------------
   5. 后台
   -------------------------------------------------------------------------- */
.admin {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    color: #dbe6ff;
    background:
        radial-gradient(400px 240px at 0% 0%, rgba(52, 101, 240, 0.35), transparent 70%),
        linear-gradient(180deg, #0d1a3a 0%, #142a63 55%, #16265c 100%);
    overflow-y: auto;
}

.sidebar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar__brand strong {
    display: block;
    font-size: 15px;
    color: #fff;
    letter-spacing: 0.4px;
}

.sidebar__brand small {
    display: block;
    font-size: 11px;
    color: rgba(200, 217, 255, 0.6);
    letter-spacing: 0.5px;
}

.sidebar__nav {
    flex: 1;
    padding: 16px 12px;
}

.sidebar__group {
    display: block;
    padding: 14px 10px 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: rgba(178, 199, 240, 0.55);
    text-transform: uppercase;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: rgba(219, 230, 255, 0.78);
    font-size: 13.5px;
    font-weight: 500;
    text-align: left;
    transition: all var(--ease);
}

.nav-item .icon {
    width: 17px;
    height: 17px;
    opacity: 0.85;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.nav-item.is-active {
    background: linear-gradient(90deg, rgba(52, 101, 240, 0.55), rgba(52, 101, 240, 0.22));
    color: #fff;
    box-shadow: inset 2px 0 0 #7fa4ff, 0 6px 18px -12px rgba(0, 0, 0, 0.9);
}

.nav-item.is-active .icon {
    opacity: 1;
}

.nav-item--danger {
    color: rgba(255, 178, 178, 0.9);
}

.nav-item--danger:hover {
    background: rgba(220, 60, 60, 0.18);
    color: #ffd6d6;
}

.nav-item--muted {
    color: rgba(178, 199, 240, 0.6);
}

.sidebar__foot {
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar__logout {
    margin: 0;
}

.sidebar-mask {
    display: none;
}

.admin__main {
    min-width: 0;
    background: var(--bg);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
    padding: 0 26px;
    border-bottom: 1px solid var(--border);
    background: var(--header-bg);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.topbar__menu {
    display: none;
}

.topbar__crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-3);
    min-width: 0;
}

.topbar__crumb .icon {
    width: 13px;
    height: 13px;
}

.topbar__crumb strong {
    color: var(--text);
    font-weight: 600;
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 22px 26px 56px;
}

.page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.page-head__title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.page-head__sub {
    margin-top: 4px;
    font-size: 13px;
    color: var(--text-3);
}

.page-head__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 统计卡 */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.stat {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--ease), transform var(--ease);
}

.stat:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.stat__label {
    font-size: 12.5px;
    color: var(--text-3);
    white-space: nowrap;
}

.stat__value {
    margin-top: 4px;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.8px;
    font-variant-numeric: tabular-nums;
}

.stat__hint {
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--text-3);
}

.stat__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 12px;
}

.stat__icon .icon {
    width: 19px;
    height: 19px;
}

.stat--brand .stat__value { color: var(--brand-600); }
.stat--brand .stat__icon { background: var(--brand-soft); color: var(--brand-600); }
.stat--success .stat__value { color: var(--success); }
.stat--success .stat__icon { background: var(--success-soft); color: var(--success); }
.stat--warning .stat__value { color: var(--warning); }
.stat--warning .stat__icon { background: var(--warning-soft); color: var(--warning); }
.stat--danger .stat__value { color: var(--danger); }
.stat--danger .stat__icon { background: var(--danger-soft); color: var(--danger); }

.layout-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

/* 面板 */
.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.panel + .panel {
    margin-top: 16px;
}

.panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

.panel__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
}

.panel__title .icon {
    width: 17px;
    height: 17px;
    color: var(--brand-500);
}

.panel__body {
    padding: 18px;
}

.panel__body--flush {
    padding: 0;
}

.panel__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
    font-size: 12.5px;
    color: var(--text-3);
}

/* 工具条 */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.toolbar__group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar .input,
.toolbar .select {
    height: 38px;
    font-size: 13px;
    border-radius: 10px;
}

.toolbar .select {
    width: auto;
    min-width: 132px;
    flex: 0 0 auto;
}

.toolbar .search-input .input {
    width: 100%;
}

.toolbar .search-input {
    flex: 0 0 252px;
    width: 252px;
}

.toolbar .search-input .input {
    padding-left: 36px;
}

.toolbar .search-input .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    width: 15px;
    height: 15px;
}

.bulk-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--brand-50);
    font-size: 12.5px;
    color: var(--brand-700);
}

.bulk-bar[hidden] {
    display: none;
}

.bulk-bar__count {
    font-weight: 700;
}

/* 表格 */
.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    min-width: 940px;
    border-collapse: collapse;
    font-size: 13.5px;
}

.table th {
    padding: 10px 14px;
    text-align: left;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--text-3);
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}

.table td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
    vertical-align: middle;
}

.table tbody tr {
    transition: background var(--ease);
}

.table tbody tr:hover {
    background: var(--surface-2);
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.table tbody tr.is-selected {
    background: var(--brand-50);
}

.table .cell-strong {
    color: var(--text);
    font-weight: 600;
}

.table .cell-mono {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--text);
    letter-spacing: -0.2px;
}

.table .cell-sub {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--text-3);
}

.table__check {
    width: 40px;
    padding-right: 0;
}

.table__actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-600);
    cursor: pointer;
    vertical-align: middle;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tag {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--surface-2);
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--text-2);
}

/* 分页 */
.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pager__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface);
    color: var(--text-2);
    font-size: 12.5px;
    transition: all var(--ease);
}

.pager__link:hover {
    border-color: var(--brand-300);
    color: var(--brand-700);
    background: var(--brand-50);
}

.pager__link.is-active {
    border-color: var(--brand-600);
    background: var(--brand-600);
    color: #fff;
    font-weight: 700;
}

.pager__link.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* 到期分布 */
.dist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dist__row {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-2);
}

.dist__label {
    white-space: nowrap;
    color: var(--text-3);
}

.dist__track {
    height: 8px;
    border-radius: var(--radius-pill);
    background: var(--surface-3);
    overflow: hidden;
}

.dist__bar {
    height: 100%;
    border-radius: var(--radius-pill);
    min-width: 3px;
    background: var(--brand-500);
}

.dist__bar--danger { background: linear-gradient(90deg, #d64545, #e87777); }
.dist__bar--warning { background: linear-gradient(90deg, #db8b1f, #efb451); }
.dist__bar--info { background: linear-gradient(90deg, var(--brand-500), #6f9bff); }
.dist__bar--success { background: linear-gradient(90deg, #12a45e, #45c98a); }

.dist__count {
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text);
}

/* 表单 */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.form-grid__full {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.form-narrow {
    max-width: 760px;
}

.hint-box {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--info-border);
    border-radius: 12px;
    background: var(--info-soft);
    color: var(--info);
    font-size: 12.5px;
    line-height: 1.7;
}

.hint-box .icon {
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: 2px;
}

.hint-box code {
    padding: 1px 5px;
    border-radius: 5px;
    background: rgba(26, 95, 208, 0.1);
    font-family: var(--font-mono);
    font-size: 12px;
}

.error-list {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.error-list li + li {
    margin-top: 2px;
}

/* 弹窗 */
.dialog {
    width: min(420px, calc(100vw - 32px));
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

.dialog::backdrop {
    background: var(--overlay);
    backdrop-filter: blur(2px);
}

.dialog__form {
    padding: 24px;
    text-align: center;
}

.dialog__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--text-2);
}

.dialog__icon--danger {
    background: var(--danger-soft);
    color: var(--danger);
}

.dialog__icon .icon {
    width: 24px;
    height: 24px;
}

.dialog__title {
    font-size: 16px;
    font-weight: 700;
}

.dialog__text {
    margin-top: 6px;
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.7;
}

.dialog__actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.dialog__actions .btn {
    flex: 1;
}

/* 登录页 */
.login {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 32px 20px 72px;
    background:
        radial-gradient(760px 420px at 12% 0%, rgba(52, 101, 240, 0.45), transparent 62%),
        radial-gradient(620px 380px at 92% 12%, rgba(6, 182, 212, 0.22), transparent 66%),
        linear-gradient(150deg, #0b1730 0%, #142a63 52%, #1b3aa0 100%);
}

.login__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 54px 54px;
    opacity: 0.6;
    pointer-events: none;
}

.login__panel {
    position: relative;
    width: min(420px, 100%);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: 0 40px 90px -40px rgba(2, 8, 26, 0.85);
}

.login__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.login__logo {
    display: block;
    height: 36px;
    width: auto;
    max-height: 36px;
    max-width: 100%;
}

.login__brand strong {
    display: block;
    font-size: 15px;
    letter-spacing: 0.4px;
}

.login__brand small {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.5px;
}

.login__title {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.login__sub {
    margin: 4px 0 18px;
    font-size: 13px;
    color: var(--text-3);
}

.login__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 12.5px;
    color: var(--text-3);
}

.login__back:hover {
    color: var(--brand-600);
}

.login__back .icon {
    width: 14px;
    height: 14px;
}

.login__foot {
    position: absolute;
    bottom: 24px;
    font-size: 11.5px;
    color: rgba(219, 230, 255, 0.45);
}

/* --------------------------------------------------------------------------
   6. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .layout-2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .admin {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 60;
        width: 264px;
        transform: translateX(-100%);
        transition: transform 240ms cubic-bezier(0.2, 0.7, 0.3, 1);
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
    }

    .admin.is-nav-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-mask {
        position: fixed;
        inset: 0;
        z-index: 55;
        display: block;
        background: var(--overlay);
    }

    .sidebar-mask[hidden] {
        display: none;
    }

    .topbar__menu {
        display: inline-flex;
    }

    .content {
        padding: 18px 18px 48px;
    }

    .topbar {
        padding: 0 18px;
    }

    .site-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .mobile-nav {
        display: block;
    }

    /* 只在触屏设备锁背景滚动。
       桌面窄窗口（如 720px）存在滚动条，一旦 overflow:hidden 会让
       页面横向位移约 15px —— 正是这次要消除的「布局跳动」。 */
    @media (pointer: coarse) {
        body.nav-open {
            overflow: hidden;
        }
    }

    .header__official {
        display: none; /* 移动端收进菜单，避免与汉堡按钮挤在一行 */
    }

    .brand__logo {
        height: 36px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 14.5px;
    }

    .hero {
        padding: 38px 0 46px;
    }

    .search {
        padding: 16px;
        border-radius: 18px;
    }

    .search__row {
        flex-direction: column;
    }

    .search__row .btn {
        width: 100%;
    }

    .hero__stats {
        gap: 8px 16px;
        font-size: 11.5px;
    }

    .result__head,
    .result__body,
    .result__foot {
        padding-left: 16px;
        padding-right: 16px;
    }

    .kv-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .countdown__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .cd__num {
        font-size: 21px;
    }

    .section {
        padding-top: 28px;
    }

    .faq__head,
    .faq__q,
    .faq__a {
        padding-left: 16px;
        padding-right: 16px;
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stat {
        padding: 13px 14px;
    }

    .stat__value {
        font-size: 23px;
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-head__title {
        font-size: 19px;
    }

    .content {
        padding: 16px 14px 40px;
    }

    .topbar {
        padding: 0 14px;
    }

    .toolbar .search-input {
        flex: 1 1 100%;
        width: 100%;
    }

    .toolbar,
    .toolbar__group {
        width: 100%;
    }

    .toolbar__group .input,
    .toolbar__group .select {
        flex: 1;
        min-width: 0;
    }

    .login__panel {
        padding: 22px;
    }
}

/* --------------------------------------------------------------------------
   7. 深色主题（仅切换令牌，组件样式自动继承）
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
    color-scheme: dark;

    --bg: #070d1a;
    --surface: #0f1729;
    --surface-2: #131d33;
    --surface-3: #1a2740;
    --border: #1e2c47;
    --border-strong: #2a3b5c;

    --text: #e9eefb;
    --text-2: #a9b8d1;
    --text-3: #7c8daa;

    --brand-soft: #182747;
    --brand-100: #1b2f56;

    --success: #4ecb8a;
    --success-soft: #102a20;
    --success-border: #1d4433;
    --warning: #e3a94f;
    --warning-soft: #2a2011;
    --warning-border: #46351a;
    --danger: #f07878;
    --danger-soft: #2c1414;
    --danger-border: #4a2222;
    --info: #7aa8ff;
    --info-soft: #121f3a;
    --info-border: #223a63;

    --header-bg: rgba(12, 20, 36, 0.82);
    --overlay: rgba(3, 8, 18, 0.68);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 14px 34px -18px rgba(0, 0, 0, 0.8);
    --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
    --ring: 0 0 0 4px rgba(93, 140, 255, 0.22);
}

[data-theme="dark"] body.is-public {
    background:
        radial-gradient(1000px 480px at 50% -200px, rgba(52, 101, 240, 0.18), transparent 70%),
        var(--bg);
}

[data-theme="dark"] .brand__logo {
    display: none;
}

[data-theme="dark"] .brand__compact {
    display: inline-flex;
}

[data-theme="dark"] .login__logo {
    display: none;
}

[data-theme="dark"] .brand__text strong,
[data-theme="dark"] .footer__brand strong {
    color: var(--text);
}

[data-theme="dark"] .site-footer {
    color: rgba(214, 227, 255, 0.7);
}

[data-theme="dark"] .cd__num {
    color: var(--brand-300);
}

[data-theme="dark"] .btn--ghost {
    background: var(--surface);
}

[data-theme="dark"] .table th {
    background: var(--surface-2);
}

[data-theme="dark"] .nav-item.is-active {
    background: linear-gradient(90deg, rgba(93, 140, 255, 0.35), rgba(93, 140, 255, 0.12));
    box-shadow: inset 2px 0 0 #9dbcff;
}

[data-theme="dark"] .login__panel {
    border-color: var(--border);
}

/* --------------------------------------------------------------------------
   8. 动效与可访问性
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

@keyframes hc-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rise {
    animation: hc-rise 420ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.rise--delay {
    animation-delay: 80ms;
}

/* --------------------------------------------------------------------------
   9. 补充组件（后台工具类 / 强度条 / 日志流 / 代码块）
   -------------------------------------------------------------------------- */
.mb-16 {
    margin-bottom: 16px;
}

.u-hidden {
    display: none !important;
}

.inline-form {
    display: inline-flex;
    margin: 0;
}

.toolbar .search-input {
    position: relative;
}

.pager__gap {
    padding: 0 2px;
    font-size: 12px;
    color: var(--text-3);
}

.btn.is-danger {
    color: var(--danger);
    border-color: var(--danger-border);
}

.btn.is-danger:hover {
    background: var(--danger-soft);
    color: var(--danger);
    border-color: var(--danger);
}

.bulk-bar__sep {
    opacity: 0.45;
}

.table th.is-right {
    text-align: right;
}

/* 密码强度 */
.pw-meter {
    height: 6px;
    margin-top: 8px;
    border-radius: var(--radius-pill);
    background: var(--surface-3);
    overflow: hidden;
}

.pw-meter__bar {
    display: block;
    height: 100%;
    width: 0;
    border-radius: var(--radius-pill);
    background: var(--danger);
    transition: width 280ms ease, background 280ms ease;
}

.pw-meter__bar[data-level="2"] {
    background: #db8b1f;
}

.pw-meter__bar[data-level="3"] {
    background: #2f8f5b;
}

.pw-meter__bar[data-level="4"] {
    background: #0f8f52;
}

/* 说明列表 */
.tips-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-2);
}

.tips-list .icon {
    width: 15px;
    height: 15px;
    margin-top: 3px;
    flex: none;
    color: var(--success);
}

/* 代码块 */
.code-block {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-2);
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.75;
    color: var(--text-2);
    overflow-x: auto;
    white-space: pre;
}

/* 最近操作流 */
.log-feed {
    display: flex;
    flex-direction: column;
}

.log-feed__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
}

.log-feed__item:last-child {
    border-bottom: 0;
}

.log-feed__detail {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-3);
    font-family: var(--font-mono);
    font-size: 11.5px;
}

.log-feed__time {
    flex: none;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}

/* 加载指示 */
.spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hc-spin 700ms linear infinite;
}

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

/* 倒计时归零态 */
.countdown.is-expired .countdown__grid {
    opacity: 0.4;
}

.countdown.is-expired .countdown__label {
    color: var(--danger);
}

.cell-nowrap {
    white-space: nowrap;
}

/* 内部备注预览（仅后台） */
.note-preview {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: help;
}

.note-preview .icon {
    width: 12px;
    height: 12px;
    flex: none;
    color: var(--text-3);
}

[data-theme="dark"] .search {
    border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .result__head {
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(6, 182, 212, 0.22), transparent 70%),
        linear-gradient(135deg, #1b3070, #2a58c4);
}

/* --------------------------------------------------------------------------
   10. 头部导航（下拉子菜单 / 后台导航管理）
   -------------------------------------------------------------------------- */
.site-nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.site-nav__caret {
    width: 13px;
    height: 13px;
    opacity: 0.55;
    transform: rotate(90deg);
    transition: transform var(--ease), opacity var(--ease);
}

.site-nav__item:hover .site-nav__caret,
.site-nav__item:focus-within .site-nav__caret {
    opacity: 1;
    transform: rotate(-90deg);
}

.site-nav__sub {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 50;
    min-width: 172px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

/* 悬停桥接，避免指针移入间隙时菜单收起 */
.site-nav__sub::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.site-nav__item:hover .site-nav__sub,
.site-nav__item:focus-within .site-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav__sublink {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--text-2);
    white-space: nowrap;
}

.site-nav__sublink:hover,
.site-nav__sublink:focus-visible {
    background: var(--brand-soft);
    color: var(--brand-700);
}

/* 后台导航管理 */
.nav-table {
    min-width: 880px;
}

.queries-table {
    min-width: 820px;
}

.nav-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cell strong {
    color: var(--text);
    font-weight: 600;
}

.nav-cell--child {
    padding-left: 16px;
}

.nav-branch {
    font-family: var(--font-mono);
    color: var(--text-3);
    opacity: 0.7;
}

.nav-href {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-3);
}

.nav-row--child td {
    background: var(--surface-2);
}

.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    margin: 0;
}

.icon-up {
    transform: rotate(-90deg);
}

.icon-down {
    transform: rotate(90deg);
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-2);
    cursor: pointer;
    user-select: none;
}

/* 续费弹窗 */
.dialog__field {
    margin-top: 18px;
    text-align: left;
}

.dialog__icon--brand {
    background: var(--brand-soft);
    color: var(--brand-600);
}

/* --------------------------------------------------------------------------
   11. 移动端适配（375–414px）
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    /* 表单控件统一 16px：低于 16px 时 iOS Safari 聚焦会自动放大页面 */
    .input,
    .select,
    .textarea,
    .toolbar .input,
    .toolbar .select {
        font-size: 16px;
    }

    /* 触控目标：主要交互元素不小于 40×40 */
    .btn {
        height: 46px;
    }

    .btn--sm {
        height: 40px;
        padding: 0 14px;
        font-size: 13.5px;
    }

    .btn--sm .icon {
        width: 16px;
        height: 16px;
    }

    .btn--icon {
        width: 40px;
        padding: 0;
    }

    .icon-btn {
        width: 42px;
        height: 42px;
    }

    .checkbox {
        width: 20px;
        height: 20px;
    }

    .table__actions,
    .row-actions {
        gap: 8px;
    }

    .pager__link {
        min-width: 38px;
        height: 38px;
    }

    .recent__item {
        padding: 8px 14px;
    }

    /* ---- 数据表格转卡片：避免 880–940px 的横向拖动 ---- */
    .table--cards {
        display: block;
        min-width: 0;
    }

    .table--cards thead {
        display: none;
    }

    .table--cards tbody {
        display: block;
    }

    .table--cards tr {
        position: relative;
        display: block;
        margin: 0 10px 10px;
        padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--surface);
        box-shadow: var(--shadow-xs);
    }

    .table--cards tbody tr:first-child {
        margin-top: 10px;
    }

    .table--cards.table--selectable tr {
        padding-right: 46px;
    }

    .table--cards td {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 4px 10px;
        width: auto;
        padding: 5px 0;
        border: 0;
        font-size: 13px;
        text-align: right;
    }

    /* 单元格内可能有多段内容（标签 + 子说明），首段左侧留白由 ::before 占位 */
    .table--cards td::before {
        margin-right: auto;
    }

    .table--cards td::before {
        content: attr(data-label);
        flex: none;
        color: var(--text-3);
        font-size: 12px;
        font-weight: 500;
        text-align: left;
    }

    .table--cards td[data-label=""]::before {
        content: none;
    }

    .table--cards td[data-label=""] {
        justify-content: flex-end;
        padding-top: 10px;
        margin-top: 4px;
        border-top: 1px dashed var(--border);
    }

    .table--cards td.table__check {
        position: absolute;
        top: 12px;
        right: 12px;
        width: auto;
        padding: 0;
    }

    .table--cards td.table__check::before {
        content: none;
    }

    .table--cards .nav-href {
        max-width: 100%;
        white-space: normal;
        word-break: break-all;
    }

    .table--cards .cell-sub {
        text-align: right;
    }

    .table--cards .badge-list {
        justify-content: flex-end;
    }

    .table--cards .nav-cell,
    .table--cards .nav-cell--child {
        justify-content: flex-end;
        padding-left: 0;
    }

    .table--cards .nav-row--child {
        margin-left: 22px;
        background: var(--surface-2);
    }

    .table--cards .nav-row--child td {
        background: transparent;
    }

    .table--cards .cell-block {
        display: block;
        text-align: left;
    }

    .table--cards .cell-block::before {
        display: block;
        margin-bottom: 2px;
    }

    /* ---- 抽屉与弹窗不超出可视高度（iOS 地址栏收起时 vh 会偏大） ---- */
    .sidebar {
        height: 100vh;
        height: 100dvh;
    }

    .mobile-nav__sheet {
        max-height: calc(100dvh - 88px);
    }

    /* 顶栏面包屑在窄屏允许收缩省略，避免挤压右侧操作区 */
    .topbar__crumb {
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
    }

    .topbar__crumb span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 筛选工具条：两个下拉 + 按钮排成一行 */
    .toolbar {
        justify-content: flex-start;
    }

    .toolbar .select {
        flex: 1 1 0;
        min-width: 108px;
    }

    .toolbar .search-input {
        flex: 1 1 100%;
    }

    /* 筛选按钮在窄屏收成图标按钮，给两个下拉让出宽度 */
    .toolbar__submit {
        flex: 0 0 46px;
        width: 46px;
        padding: 0;
        gap: 0;
        font-size: 0;
    }

    .dialog {
        max-height: calc(100dvh - 32px);
        overflow-y: auto;
    }

    /* 宽表格滚动更顺滑（日志页等仍保留横向滚动） */
    .table-wrap {
        -webkit-overflow-scrolling: touch;
    }
}

/* --------------------------------------------------------------------------
   12. 表单控件布局体系（统一尺寸 / 间距 / 对齐）
   -------------------------------------------------------------------------- */
:root {
    --control-h: 46px;
    --control-h-sm: 38px;
    --control-gap: 8px;
    --field-gap: 20px;
}

/* 标签 → 控件 → 说明 的垂直节奏固定，避免不同字段高度参差 */
.field {
    gap: var(--control-gap);
    min-width: 0;
}

.field__label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.4;
}

.field__label .req {
    margin-left: 1px;
    line-height: 1;
}

.field__hint {
    margin-top: 1px;
    line-height: 1.65;
    color: var(--text-3);
}

.field__error {
    margin-top: 1px;
    line-height: 1.5;
}

/* 所有文本类控件等高 */
.input,
.select,
.textarea {
    height: var(--control-h);
    line-height: 1.4;
}

.textarea {
    height: auto;
    min-height: 132px;
}

/* 下拉留出箭头空间，长文本不压到箭头 */
.select {
    padding-right: 38px;
    text-overflow: ellipsis;
}

/* 带图标/按钮的输入框，左右内边距与图标位置对齐 */
.input--icon {
    padding-left: 44px;
    padding-right: 46px;
}

.input-group__icon {
    left: 14px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.input-group__btn {
    width: 36px;
    height: 36px;
    right: 5px;
}

/* 双列表单：行距统一，字段底部对齐不互相拉扯 */
.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--field-gap) 18px;
}

.form-grid > .field {
    align-self: start;
}

/* 复选框行：控件与文字中线对齐，点击区域整行可点 */
.check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    line-height: 1.5;
}

.check .checkbox {
    margin: 0;
    flex: none;
}

/* 表单底部操作区 */
.form-actions {
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
}

/* 工具栏控件统一高度，避免搜索框比下拉高/矮 */
.toolbar .input,
.toolbar .select {
    height: var(--control-h-sm);
    line-height: 1.3;
}

/* 筛选表单：搜索框与按钮基线对齐 */
.toolbar {
    align-items: center;
}

/* 弹窗内控件与表单保持一致 */
.dialog__field {
    gap: var(--control-gap);
}

@media (max-width: 900px) {
    :root {
        --field-gap: 18px;
    }
}

@media (max-width: 640px) {
    :root {
        --control-h: 48px;
        --field-gap: 16px;
    }

    /* 单列布局：控件占满整行，触控高度略放大 */
    .input,
    .select,
    .textarea {
        height: var(--control-h);
    }

    .textarea {
        min-height: 140px;
    }

    .toolbar .input,
    .toolbar .select,
    .toolbar .btn {
        height: 42px;
    }

    /* 移动端搜索区纵向堆叠：子项撑满整行，避免被 align-items 压成内容宽度 */
    .search__row {
        align-items: stretch;
    }

    .input-group__btn {
        width: 40px;
        height: 40px;
        right: 4px;
    }

    .input--icon {
        padding-right: 50px;
    }

    /* 表单操作按钮在窄屏纵向排列，各占整行 */
    .form-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .form-actions .btn {
        width: 100%;
    }

    /* 两列网格强制单列 */
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* 设置页预览 */
.settings-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--surface-2);
}

.settings-preview__url {
    font-size: 12px;
    word-break: break-all;
}

/* 查询记录：刷新工具条 */
.refresh-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.refresh-bar__time {
    font-size: 12px;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}

/* 访问记录归档表 */
.visits-table {
    min-width: 820px;
}

/* --------------------------------------------------------------------------
   13. 前台视觉升级（v2.3）
   --------------------------------------------------------------------------
   全程限定在 body.is-public 之下，后台样式零影响。

   设计思路：
     · 颜色——底色压一档冷灰，正文色加深提高对比；主色仍用品牌蓝，
       青色只作点缀（徽标、图标、进度），避免彩色过多。
     · 字体——引入流体字号（clamp），大标题收紧字距、正文放松行高，
       形成「标题紧凑、正文舒展」的呼吸差。
     · 间距——统一 4px 基准的节奏，区块留白随视口自适应。
     · 阴影——从单层重投影改为「1px 贴边 + 大范围柔光」双层，
       卡片边界更干净，不会有发灰的脏影。
     · 动效——统一缓动曲线与 240ms 时长，所有位移都在 8px 以内。
   -------------------------------------------------------------------------- */

/* ---- 13.1 令牌：浅色 ---- */
html:not([data-theme="dark"]) body.is-public {
    --bg: #f2f6fc;
    --surface: #ffffff;
    --surface-2: #f7faff;
    --surface-3: #edf3fb;
    --border: #e2e9f4;
    --border-strong: #ccd8e9;

    --text: #0b1424;
    --text-2: #42536c;
    --text-3: #64758e;

    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 26px;

    --shadow-xs: 0 1px 2px rgba(11, 20, 36, 0.05);
    --shadow-sm: 0 1px 2px rgba(11, 20, 36, 0.04), 0 10px 26px -18px rgba(11, 20, 36, 0.22);
    --shadow-md: 0 1px 2px rgba(11, 20, 36, 0.04), 0 20px 44px -26px rgba(11, 20, 36, 0.3);
    --shadow-lg: 0 2px 4px rgba(11, 20, 36, 0.04), 0 36px 80px -40px rgba(11, 20, 36, 0.4);

    --ring: 0 0 0 4px rgba(52, 101, 240, 0.18);

    /* 前台专用节奏变量 */
    --pub-ease: cubic-bezier(0.22, 0.9, 0.3, 1);
    --pub-cyan: #22d3ee;
}

/* ---- 13.2 令牌：深色（在前台范围内覆盖，保持层次不塌陷） ---- */
[data-theme="dark"] body.is-public {
    --surface: #0e1728;
    --surface-2: #121d31;
    --surface-3: #18253c;
    --border: #1e2c45;
    --border-strong: #2b3d5d;

    --text: #eef3fd;
    --text-2: #aebbd3;
    --text-3: #8595b1;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 30px -20px rgba(0, 0, 0, 0.8);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.4), 0 22px 50px -28px rgba(0, 0, 0, 0.85);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.45), 0 40px 90px -44px rgba(0, 0, 0, 0.9);
}

body.is-public {
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* ---- 13.3 页头 ---- */
body.is-public .site-header {
    transition: box-shadow 240ms var(--pub-ease), border-color 240ms var(--pub-ease);
}

/* 滚动后浮起：只有阴影变化，不改高度，不会引起任何位移 */
body.is-public .site-header.is-scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 0 var(--border), 0 18px 40px -30px rgba(11, 20, 36, 0.55);
}

body.is-public .header__inner {
    height: 64px;
}

body.is-public .site-nav__link {
    padding: 7px 13px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

body.is-public .site-nav__link:hover,
body.is-public .site-nav__link.is-active {
    color: var(--brand-600);
    background: var(--brand-soft);
}

/* ---- 13.4 主视觉 ---- */
body.is-public .hero {
    padding: clamp(46px, 6.5vw, 78px) 0 clamp(54px, 7.5vw, 92px);
    background:
        radial-gradient(680px 340px at 10% -12%, rgba(93, 140, 255, 0.5), transparent 62%),
        radial-gradient(560px 300px at 92% 2%, rgba(34, 211, 238, 0.26), transparent 64%),
        radial-gradient(900px 460px at 50% 118%, rgba(29, 62, 181, 0.5), transparent 72%),
        linear-gradient(158deg, #0a152e 0%, #142353 46%, #1b3aa6 100%);
}

/* 网格加径向遮罩：只在标题附近显影，向下自然消散 */
body.is-public .hero::before {
    background-size: 64px 64px;
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(720px 380px at 50% 6%, #000 0%, transparent 76%);
    mask-image: radial-gradient(720px 380px at 50% 6%, #000 0%, transparent 76%);
}

body.is-public .hero__badge {
    padding: 7px 16px 7px 13px;
    margin-bottom: 22px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.09);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    font-size: 12.5px;
    font-weight: 500;
}

body.is-public .hero__title {
    font-size: clamp(2rem, 1.1rem + 3.6vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.022em;
    line-height: 1.2;
    text-wrap: balance;
}

/* 标题下方的青色渐隐短线：一个低成本的记忆点，替代厚重的装饰块 */
body.is-public .hero__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, rgba(127, 240, 224, 0.95), transparent);
}

body.is-public .hero__sub {
    max-width: 34em;
    margin: 2px auto 0;
    font-size: clamp(14px, 0.85rem + 0.3vw, 15.5px);
    line-height: 1.75;
    color: rgba(226, 236, 255, 0.8);
    text-wrap: balance;
}

/* 已查询 / 已出错：主视觉收到「抬头就能看到结果」的高度。
   只压缩留白与标题字号，不删任何内容，也不移动查询卡本身的位置逻辑。 */
body.is-public .hero--compact {
    padding-top: clamp(28px, 3.4vw, 40px);
    padding-bottom: clamp(30px, 3.8vw, 44px);
}

body.is-public .hero--compact .hero__badge {
    margin-bottom: 14px;
}

body.is-public .hero--compact .hero__title {
    font-size: clamp(1.6rem, 0.95rem + 2.1vw, 2.2rem);
}

body.is-public .hero--compact .hero__title::after {
    margin-top: 12px;
}

/* ---- 13.5 查询卡 ---- */
body.is-public .search {
    margin-top: clamp(26px, 3.4vw, 36px);
    padding: clamp(18px, 2.6vw, 26px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 2px 6px rgba(4, 12, 38, 0.12),
        0 44px 90px -44px rgba(4, 12, 38, 0.8);
}

/* 深色主题：上面的白色渐变是写死的（为了压在深蓝主视觉上更通透），
   深色下必须换回深色面，否则会变成一张刺眼的白卡。 */
[data-theme="dark"] body.is-public .search {
    border-color: rgba(255, 255, 255, 0.09);
    background: linear-gradient(180deg, #131d33 0%, #0e1626 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 6px rgba(0, 0, 0, 0.45),
        0 40px 84px -44px rgba(0, 0, 0, 0.95);
}

body.is-public .field__label {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-3);
}

body.is-public .search__row .input {
    height: 54px;
    border-width: 1px;
    border-radius: 15px;
    background: var(--surface-2);
    font-size: 16px;
    letter-spacing: 0.01em;
}

body.is-public .search__row .input:hover {
    border-color: var(--border-strong);
}

body.is-public .search__row .input:focus {
    background: var(--surface);
    border-color: var(--brand-400);
    box-shadow: var(--ring);
}

/* 输入框自身已有 4px 焦点光环，不再叠加外层 outline，避免双层描边 */
body.is-public .search__row .input:focus-visible {
    outline: none;
}

body.is-public .input-group__icon {
    left: 16px;
    color: var(--brand-400);
}

body.is-public .search__row .btn {
    height: 54px;
    padding: 0 30px;
    border-radius: 15px;
    font-size: 15px;
    letter-spacing: 0.02em;
    box-shadow: 0 14px 30px -16px rgba(35, 77, 219, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.is-public .search__row .btn:hover {
    transform: translateY(-1px);
}

body.is-public .search__row .btn:active {
    transform: translateY(0);
}

/* 禁用态：保留按钮尺寸与可点区域（否则连点收不到事件），只换掉颜色语义 */
body.is-public .search__row .btn.is-disabled {
    color: #7b8798;
    background: linear-gradient(180deg, #e8edf5, #d3dbe7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 16px -12px rgba(4, 12, 38, 0.55);
    cursor: not-allowed;
    filter: none;
}

body.is-public .search__row .btn.is-disabled:hover {
    transform: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 16px -12px rgba(4, 12, 38, 0.55);
}

[data-theme="dark"] body.is-public .search__row .btn.is-disabled {
    color: #6b7a91;
    background: linear-gradient(180deg, #1c2740, #162034);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* 点灰按钮时的横向轻抖：比单纯弹提示更容易让人意识到「是这个按钮没生效」 */
@keyframes hc-nudge {
    0%, 100% { transform: translateX(0); }
    18% { transform: translateX(-5px); }
    38% { transform: translateX(5px); }
    58% { transform: translateX(-3px); }
    78% { transform: translateX(3px); }
}

body.is-public .search__row .btn.is-nudge {
    animation: hc-nudge 420ms cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* 校验提示：单例盒子，重复点击只刷新内容与计时，不会层层堆叠 */
body.is-public .search__tip {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 12px 0 0;
    padding: 11px 14px 11px 12px;
    border: 1px solid rgba(217, 119, 6, 0.28);
    border-radius: 12px;
    background: #fff7ed;
    font-size: 13px;
    line-height: 1.6;
    color: #9a3412;
}

body.is-public .search__tip[hidden] {
    display: none;
}

body.is-public .search__tip::before {
    content: "";
    flex: none;
    width: 3px;
    align-self: stretch;
    margin-top: 1px;
    border-radius: 2px;
    background: #f59e0b;
}

body.is-public .search__tip.is-on {
    animation: hc-tip-in 220ms ease;
}

@keyframes hc-tip-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-theme="dark"] body.is-public .search__tip {
    border-color: rgba(245, 158, 11, 0.32);
    background: rgba(120, 53, 15, 0.3);
    color: #fcd9a8;
}

body.is-public .search__note {
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--text-3);
}

body.is-public .search__note .icon {
    flex: none;
    margin-top: 2px;
    color: var(--brand-400);
}

/* 三项承诺：从散落的文字改为一条半透明玻璃带 */
body.is-public .hero__stats {
    width: max-content;
    max-width: 100%;
    margin: clamp(24px, 3vw, 32px) auto 0;
    padding: 8px 6px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 12.5px;
    color: rgba(222, 233, 255, 0.82);
}

body.is-public .hero__stat {
    padding: 2px 18px;
}

body.is-public .hero__stat + .hero__stat {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

body.is-public .hero__stat .icon {
    color: #7ff0e0;
}

/* ---- 13.6 结果卡 ---- */
body.is-public .section {
    padding: clamp(32px, 5vw, 48px) 0 8px;
}

body.is-public .result {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

body.is-public .result__head {
    position: relative;
    overflow: hidden;
    padding: 22px 26px;
    background:
        radial-gradient(520px 240px at 100% -30%, rgba(34, 211, 238, 0.4), transparent 70%),
        linear-gradient(135deg, #16255c 0%, #2649c9 64%, #3465f0 100%);
}

/* 头部叠一层极淡网格，与主视觉呼应，避免大面积纯色显得平 */
body.is-public .result__head::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-mask-image: linear-gradient(100deg, transparent 8%, #000 62%);
    mask-image: linear-gradient(100deg, transparent 8%, #000 62%);
    pointer-events: none;
}

body.is-public .result__head > * {
    position: relative;
    z-index: 1;
}

body.is-public .result__avatar {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.is-public .result__title {
    font-size: 16.5px;
    letter-spacing: 0.01em;
}

body.is-public .result__body {
    padding: clamp(18px, 2.6vw, 24px) clamp(18px, 2.6vw, 26px) 6px;
}

/* 信息块：图标独立成浅色方块，标签退后、数值前置 */
body.is-public .kv-grid {
    gap: 10px;
}

body.is-public .kv {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-2);
    transition: border-color 240ms var(--pub-ease), background 240ms var(--pub-ease);
}

body.is-public .kv:hover {
    border-color: var(--border-strong);
    background: var(--surface);
}

body.is-public .kv__ico {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 11px;
    background: var(--brand-soft);
    color: var(--brand-600);
}

body.is-public .kv__ico .icon {
    width: 17px;
    height: 17px;
}

body.is-public .kv__main {
    min-width: 0;
    padding-top: 1px;
}

body.is-public .kv__label {
    margin-bottom: 3px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-3);
}

body.is-public .kv__value {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

body.is-public .kv__value--mono {
    font-size: 14.5px;
    letter-spacing: 0.04em;
}

body.is-public .tag {
    font-size: 12.5px;
    letter-spacing: 0.04em;
}

/* 服务周期进度 */
body.is-public .period {
    margin-top: 20px;
    padding-top: 20px;
}

body.is-public .period__head {
    margin-bottom: 10px;
    font-size: 12.5px;
}

body.is-public .period__value {
    font-size: 13px;
    color: var(--brand-600);
}

body.is-public .progress {
    height: 10px;
    background: var(--surface-3);
    box-shadow: inset 0 1px 2px rgba(11, 20, 36, 0.08);
}

body.is-public .progress__bar {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* 倒计时：数字做主视觉，单位退为注脚 */
body.is-public .countdown {
    margin-top: 22px;
    padding-top: 20px;
}

body.is-public .countdown__label {
    margin-bottom: 12px;
    font-size: 12.5px;
    letter-spacing: 0.03em;
    color: var(--text-3);
}

body.is-public .countdown__label .icon {
    color: var(--brand-400);
}

body.is-public .countdown__grid {
    gap: 8px;
}

body.is-public .cd {
    position: relative;
    padding: 14px 6px 12px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

body.is-public .cd::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, transparent, var(--brand-400), transparent);
    opacity: 0.75;
}

body.is-public .cd__num {
    font-size: clamp(24px, 3.4vw, 32px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

body.is-public .cd__unit {
    margin-top: 4px;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    color: var(--text-3);
}

/* 到期提示 */
body.is-public .notice {
    margin-top: 22px;
    border-radius: var(--radius-md);
}

/* 卡片底部操作区 */
body.is-public .result__foot {
    margin-top: 24px;
    padding: 16px clamp(18px, 2.6vw, 26px);
    gap: 14px;
}

body.is-public .result__foot-text {
    font-size: 12.5px;
    line-height: 1.6;
}

/* ---- 13.7 常见问题 ---- */
body.is-public .faq {
    margin-top: 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

body.is-public .faq__head {
    padding: 18px clamp(18px, 2.6vw, 26px);
    font-size: 15.5px;
    letter-spacing: 0.01em;
}

body.is-public .faq__head .icon {
    width: 20px;
    height: 20px;
}

body.is-public .faq__q {
    padding: 16px clamp(18px, 2.6vw, 26px);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
    transition: background 200ms var(--pub-ease);
}

body.is-public .faq__q:hover {
    background: var(--surface-2);
}

/* 展开指示器做成圆形按钮，比裸箭头更像「可点」 */
body.is-public .faq__q .icon {
    width: 14px;
    height: 14px;
    padding: 6px;
    box-sizing: content-box;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--text-3);
    transition: transform 240ms var(--pub-ease), background 240ms var(--pub-ease), color 240ms var(--pub-ease);
}

body.is-public .faq__item[open] .faq__q .icon {
    background: var(--brand-soft);
    color: var(--brand-600);
}

body.is-public .faq__a {
    padding: 0 clamp(18px, 2.6vw, 26px) 18px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--text-2);
}

body.is-public .faq__item[open] .faq__a {
    animation: pub-faq-in 260ms var(--pub-ease) both;
}

@keyframes pub-faq-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- 13.8 页脚 ---- */
body.is-public .site-footer {
    margin-top: clamp(56px, 9vw, 96px);
    padding-top: 0;
    background:
        radial-gradient(820px 340px at 50% -50%, rgba(52, 101, 240, 0.28), transparent 72%),
        linear-gradient(180deg, #0c1728 0%, #091120 100%);
}

/* 顶部一道渐隐高光，把页脚从内容区「切开」而不靠生硬的分割线 */
body.is-public .site-footer::before {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 160, 255, 0.45), transparent);
}

/* 竖向居中收窄：品牌在上、四个入口在下，左右不留大片空白 */
body.is-public .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 760px;
    padding: 40px 0 34px;
    text-align: center;
}

body.is-public .footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

body.is-public .footer__brand strong {
    font-size: 15.5px;
    letter-spacing: 0.02em;
}

body.is-public .footer__brand p {
    max-width: 26em;
    margin-top: 3px;
    color: rgba(226, 236, 255, 0.6);
}

/* 「联系客服」独占一行，备案号与版权信息在下面各自占一行并居中。
   三层都用 align-items/justify-content 居中，不靠 flex 撑宽，
   所以任何宽度下都不会贴到屏幕边缘。 */
body.is-public .footer__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* 备案号与版权信息分行排列，字号比入口小一档、颜色更淡，
   层级上让它们明显是「法务信息」而不是可点击导航 */
body.is-public .footer__legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
}

body.is-public .footer__legal-link,
body.is-public .footer__legal-copy {
    display: inline-block;
    font-size: 12.5px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: rgba(226, 236, 255, 0.64);
    white-space: nowrap;
}

/* 备案号是真链接：默认给一道浅下划线当可点提示，
   悬停时线色跟文字一起变亮，不靠蓝色强调也看得出能点 */
body.is-public .footer__legal-link {
    text-decoration: underline;
    text-decoration-color: rgba(226, 236, 255, 0.26);
    text-underline-offset: 3px;
    transition: color var(--ease), text-decoration-color var(--ease);
}

body.is-public .footer__legal-link:hover,
body.is-public .footer__legal-link:focus-visible {
    color: #fff;
    text-decoration-color: currentColor;
}

body.is-public .footer__entry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(226, 236, 255, 0.7);
    white-space: nowrap;
    transition: color var(--ease), background var(--ease);
}

body.is-public .footer__entry:hover,
body.is-public .footer__entry:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* 版权信息是纯文本，没有可去的地方；不给 hover 反馈，免得像坏的链接 */
body.is-public .footer__legal-copy {
    cursor: default;
}

/* ---- 13.9 响应式：只补前台特有的断点行为 ---- */
@media (max-width: 900px) {
    body.is-public .header__inner {
        height: 62px;
    }

    body.is-public .footer__inner {
        padding: 34px 0 30px;
    }
}

@media (max-width: 520px) {
    /* 触控高度提到 44px；宽度随文字自然收缩，靠父级居中排布，
       不再 flex:1 撑满 —— 撑满会贴到左右屏幕边缘，反而显得不居中 */
    body.is-public .footer__nav {
        gap: 2px;
        margin-top: 22px;
        padding-top: 16px;
    }

    body.is-public .footer__entry {
        min-height: 44px;
        padding: 6px 12px;
        font-size: 13.5px;
    }

    body.is-public .footer__legal {
        gap: 4px;
        margin-top: 4px;
    }

    body.is-public .footer__brand p {
        max-width: 20em;
    }
}

@media (max-width: 640px) {
    body.is-public {
        font-size: 15px;
    }

    /* 玻璃带在窄屏会折行，退回为轻量的一行说明，避免三段横条堆叠 */
    body.is-public .hero__stats {
        width: auto;
        gap: 8px 18px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        line-height: 1.6;
    }

    body.is-public .hero__stat {
        padding: 0;
    }

    body.is-public .hero__stat + .hero__stat {
        border-left: 0;
    }

    body.is-public .hero__title::after {
        margin-top: 14px;
    }

    body.is-public .search__row {
        gap: 10px;
    }

    body.is-public .search__row .btn {
        padding: 0 22px;
    }

    body.is-public .kv {
        padding: 13px 14px;
    }

    body.is-public .result__head {
        padding: 18px 20px;
    }

    body.is-public .cd__num {
        font-size: 24px;
    }

    body.is-public .faq__q {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    /* 四个倒计时格在超窄屏改为两行两列，数字不至于被压到 20px 以下 */
    body.is-public .countdown__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---- 13.10 可访问性 ---- */
@media (prefers-reduced-motion: reduce) {
    body.is-public .faq__item[open] .faq__a {
        animation: none;
    }

    body.is-public .search__row .btn:hover {
        transform: none;
    }

    /* 菜单浮层改为纯淡入淡出：位移缩放对前庭敏感用户不友好 */
    body.is-public .mobile-nav,
    body.is-public .mobile-nav.is-open {
        transform: none;
        transition-duration: 120ms;
    }
}

@media (prefers-contrast: more) {
    body.is-public .kv,
    body.is-public .cd,
    body.is-public .faq,
    body.is-public .result {
        border-color: var(--border-strong);
    }
}
