/* 由 build-css.php 生成，请勿直接编辑；改源文件后重新运行构建。 */

/* ===== site.css ===== */
/* 全站公共样式：浅灰底 + 750px 头部 + 778px 菜单与白色内容块
   配色取自 phototool.cn：slate 灰阶（#0f172a / #475569 / #94a3b8）+ 主色蓝 #2563eb
   头部尺寸全部写死（不靠字体行高撑），并且强制竖向滚动条占位，
   这样无论页面长短、无论中文字体回退到哪一个，头部和内容框都不会位移。

   移动端：宽度不再是死的 750/778，而是「宽屏时最多 750/778，窄屏时跟着屏幕缩」（width:100% + max-width）。
   桌面上的几何一点没变（窗口够宽时 max-width 生效，仍是 750/778 居中）；
   手机上则自动变成满宽，再配合下面 @media 里的菜单换行、字号、点击区放大。 */
html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
    -webkit-text-size-adjust: 100%;
}
div { margin: 0; padding: 0; }
body {
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f5f8fc;
    background-image:
        radial-gradient(1100px 420px at 50% -100px, #e7f0ff 0%, rgba(231, 240, 255, 0) 62%),
        linear-gradient(180deg, #f8fafd 0%, #f4f7fb 100%);
    background-repeat: no-repeat;
    font-family: Arial, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}
.skip-link {
    position: absolute;
    left: 8px;
    top: -48px;
    z-index: 9999;
    padding: 8px 14px;
    background: #0f172a;
    color: #fff;
    text-decoration: none;
    border-radius: 0 0 6px 6px;
    font-size: 13px;
    line-height: 1.3;
    transition: top .15s ease;
}
.skip-link:focus {
    top: 0;
    color: #fff;
    outline: 2px solid #fff;
    outline-offset: -4px;
}
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
#container { margin: 0 auto; padding: 0; }
h1, h2, h3 { margin-top: 0; }
p { text-align: left; }
h1 { font-size: 2em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1em; }
a { color: #2563eb; }
a:hover { text-decoration: none; color: #1d4ed8; }

/* 语言切换按钮：不套用菜单按钮样式 */
.i18n-item a {
    float: none;
    display: inline;
    min-height: 0;
    height: auto;
    line-height: 1.5;
    padding: 0;
    font-size: 12.5px;
    font-weight: normal;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: #64748b;
    text-decoration: none;
}
.i18n-item a:hover { color: #2563eb; }
.i18n-item b { color: #2563eb; font-weight: 600; }

/* 头部不再单独做成一块：和内容共用同一张白底，只靠一条很淡的分隔线过渡 */
/* Logo（方案 G）：线描小图标 + 双色字。深度只靠同色阶和 1px 白色高光，
   不用饱和色块、不用重投影，配白卡不突兀。纯 CSS，不引图片。
   上下各留一段留白，让它和页面顶边、下面的菜单条之间都有空气。 */
#logo {
    width: 100%; max-width: 750px; margin: 0 auto;
    height: auto; min-height: 45px;
    padding: 7px 0 6px;
    display: flex; align-items: center; gap: 9px;
    overflow: visible;
}
#logo .logo-mark {
    position: relative;
    flex: 0 0 auto;
    width: 26px; height: 24px;
    border: 1.5px solid rgba(37, 99, 235, .30);
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
}
#logo .logo-mark::before {          /* 一条斜放的“山脊” */
    content: "";
    position: absolute; left: 4px; bottom: 5px;
    width: 12px; height: 12px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(59, 130, 246, .55), rgba(37, 99, 235, .35));
    transform: rotate(45deg);
}
#logo .logo-mark::after {           /* 一个小太阳 */
    content: "";
    position: absolute; right: 4px; top: 4px;
    width: 5px; height: 5px; border-radius: 50%;
    background: #93c5fd;
}
#logo h1, #logo .logo-title, #logo p { margin: 0; line-height: 32px; }
/* logo 文字块：h1（站名）+ p（一句话说明）包在一起，桌面仍是「左站名、右说明」，
   手机上说明换到第二行。加这层是为了首页能把它改成上下竖排（2026-12 首页改版）。 */
.logo-txt { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
#logo h1, #logo .logo-title { padding: 0; font-size: 25px; letter-spacing: .5px; font-weight: bold; flex: 0 0 auto; }
#logo p { margin-left: auto; padding: 0; font-size: 1.2em; color: #64748b; letter-spacing: .3px; }
#logo a {
    text-decoration: none;
    /* 前两个字深蓝、后两个字亮蓝，两截各占一半；字的盒子宽度就是文字宽度，所以 50% 正好落在中间 */
    background: linear-gradient(90deg, #1e3a8a 0%, #1e3a8a 50%, #3b82f6 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .95));
}

/* 菜单：一条淡蓝灰的长条（和整体 white/slate-blue 同色系），上下各一条发丝线；
   高度仍写死 45px —— 线用 box-shadow 画，避免 border 把 45px 撑成 47px */
#menu {
    width: 100%; max-width: 778px; height: 45px; margin: 0 auto;
    background: #eaf0f8;
    box-shadow: inset 0 1px 0 #dfe7f1, inset 0 -1px 0 #d7e1ee;
    overflow: visible;
    z-index: 40;
}
#menu ul { margin: 0; padding: 5px 0 0 14px; list-style: none; }
#menu li { display: inline; }
#menu a {
    display: block;
    float: left;
    height: 29px;
    line-height: 29px;
    padding: 11px 30px 0 30px;
    text-decoration: none;
    font-weight: bold;
    color: #334155;
}
#menu a:hover { color: #2563eb; }

/* 顶部语言切换：白底胶囊，点开向下列出所有已就绪语言。
   放在导航菜单最左侧；页脚不再重复放语言切换。 */
#menu li.nav-lang {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 2px 6px 0 0;
}
#menu .nav-lang .nav-lang-drop { display: block; position: relative; }
#menu .nav-lang summary {
    display: inline-flex; align-items: center; gap: 7px;
    height: 34px; padding: 0 13px;
    border: 1px solid #dde4f0; border-radius: 10px;
    background: #ffffff;
    color: #454e6d;
    font-size: 12.5px; font-weight: 500; line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
    box-shadow: 0 1px 2px rgba(32, 37, 58, .04);
}
#menu .nav-lang summary::-webkit-details-marker { display: none; }
#menu .nav-lang summary::marker { content: ''; }
#menu .nav-lang summary:hover { border-color: #c7d2fe; color: #3d4ed1; }
#menu .nav-lang .lang-caret {
    width: 6px; height: 6px;
    border-right: 1.5px solid #7c87a6;
    border-bottom: 1.5px solid #7c87a6;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .16s ease;
}
#menu .nav-lang details[open] .lang-caret { transform: rotate(-135deg) translateY(-2px); }
#menu .nav-lang .lang-menu {
    position: absolute; top: calc(100% + 7px); left: 0;
    z-index: 90;
    display: none;
    min-width: 152px; max-height: min(60vh, 420px);
    margin: 0; padding: 6px;
    overflow-y: auto;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e3e8f2;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(32, 37, 58, .14);
}
#menu .nav-lang details[open] .lang-menu { display: block; }
#menu .nav-lang .lang-menu li { display: block; margin: 0; }
#menu .nav-lang .lang-menu a,
#menu .nav-lang .lang-menu .lang-on {
    display: block; float: none;
    height: auto; min-height: 0;
    padding: 8px 10px;
    border: 0; border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: #454e6d;
    font-size: 12.5px; font-weight: 400; line-height: 1.3;
    text-align: left;
    white-space: nowrap;
}
#menu .nav-lang .lang-menu a:hover { background: #f4f6fc; color: #3d4ed1; }
#menu .nav-lang .lang-menu .lang-on { background: #f4f6ff; color: #3d4ed1; font-weight: 600; }

/* 顶部语言胶囊见上方 #menu .nav-lang；页脚平铺语言链接见 footer.css */

/* 内容块：不再自己铺白底，让画布的蓝色光晕透上来；
   白卡交给下面的 #page-bg，全站页面都是「浅灰画布 + 一张浮起的白卡」 */
#page {
    width: 100%; max-width: 778px; margin: 0 auto;
    background: transparent;
    background-image: none;
    text-align: center;
}
/* 所有页面统一的大框架卡片：正文区 #page-bg 本身就画成一个白卡片。
   边框用 box-shadow 画（不占布局），否则 778 会变成 780，且会动到头部几何的对齐。 */
#page-bg {
    padding: 10px;
    text-align: center;
    background: #ffffff;
    border-radius: 14px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, .04),
        0 22px 46px -30px rgba(15, 23, 42, .35);
}

#footer { width: 100%; max-width: 750px; margin: 0 auto; padding: 20px 0; }
#footer p { margin: 0; text-align: center; font-size: smaller; color: #94a3b8; }
#footer a { color: #94a3b8; }
#footer a:hover { color: #2563eb; }

/* ============================ 移动端 ============================
   断点 768px：这一档以下是手机竖屏和多数安卓手机横屏。
   原则：结构不动（还是 logo / 菜单 / 内容块 / 页脚），只把宽度、留白、点击区改到手指能点。 */
@media (max-width: 768px) {
    body { font-size: 15px; }

    /* 头部：徽章和标题一行，副标题换到第二行；高度放开 */
    #logo {
        width: auto; max-width: none;
        height: auto;
        flex-wrap: wrap;
        row-gap: 3px;
        padding: 7px 14px 6px;
        overflow: visible;
        text-align: left; /* 手机上标题左对齐，和下面的菜单按钮对齐，不居中晃眼 */
    }
    #logo .logo-mark { width: 23px; height: 21px; border-radius: 5px; border-width: 1.2px; }
    #logo .logo-mark::before { left: 3px; bottom: 4px; width: 10px; height: 10px; }
    #logo .logo-mark::after { right: 3px; top: 3px; width: 4px; height: 4px; }
    #logo h1, #logo .logo-title, #logo p {
        height: auto;
        line-height: 1.3;
    }
    #logo h1, #logo .logo-title { font-size: 21px; letter-spacing: .5px; }
    #logo p { font-size: 12.5px; color: #64748b; margin-left: 0; flex: 1 0 100%; }
    .logo-txt { flex-wrap: wrap; row-gap: 2px; flex: 1 1 auto; }

    /* 菜单：改成可换行的按钮排，每个至少 44px 高（iOS 手指最小点击区） */
    #menu {
        width: auto; max-width: none;
        height: auto;
        overflow: visible;
        padding: 4px 6px 6px;
    }
    #menu ul {
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: flex-start;
    }
    #menu li { display: block; }
    #menu a {
        float: none;
        display: flex;
        align-items: center;
        min-height: 44px;
        height: auto;
        line-height: 1.2;
        padding: 0 14px;
        font-size: 14px;
        font-weight: 600;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 0 0 1px #dfe7f1;
        color: #1e293b;
    }
    #menu a:active { background: #eff6ff; color: #2563eb; }
    /* 手机上的语言胶囊与导航按钮同高，保持手指点击区 */
    #menu li.nav-lang { display: block; margin: 0; }
    #menu .nav-lang summary {
        height: 44px; padding: 0 13px;
        border-radius: 9px;
        font-size: 13.5px;
    }
    #menu .nav-lang .lang-menu { top: calc(100% + 6px); min-width: 168px; }
    #menu .nav-lang .lang-menu a,
    #menu .nav-lang .lang-menu .lang-on {
        padding: 10px 12px;
        font-size: 13.5px;
    }
    /* 那个空的 chuantu.biz 菜单项在手机上只是占位，直接收起来免得白占一行 */
    #menu li a:empty { display: none; }

    /* 内容块：满宽、留白收窄、圆角变小（满宽时 10px 圆角显得太圆） */
    #page { width: auto; max-width: none; }
    #page-bg { padding: 8px; border-radius: 8px; }

    #footer {
        width: auto; max-width: none;
        padding: 16px 14px calc(18px + env(safe-area-inset-bottom));
    }

    /* 全站兜底：表格、图片、长单词不许把页面撑出横向滚动条 */
    img, video, iframe { max-width: 100%; height: auto; }
    table { max-width: 100%; }
    pre, code { white-space: pre-wrap; word-break: break-word; }
    input, select, textarea, button { font-size: 15px; } /* 小于 16px 时 iOS 聚焦会放大页面 */
    textarea { max-width: 100%; }
}

/* 小屏（iPhone SE 之类 375 及以下）：字号再收一点，头部再紧一档 */
@media (max-width: 380px) {
    #logo h1, #logo .logo-title { font-size: 19px; }
    #menu a { padding: 0 11px; font-size: 13.5px; }
}

/* ===== 页脚站内文字链（关于 / 常见问题 / 隐私 / 条款 等） ===== */
#footer .foot-links {
    margin: 0 0 2px;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
}
#footer .foot-links a { color: #64748b; text-decoration: none; }
#footer .foot-links a:hover { color: #2563eb; text-decoration: underline; }
#footer .foot-links .foot-sep { margin: 0 6px; color: #cbd5e1; }
#footer .foot-links .foot-en { margin-left: 10px; color: #2563eb; }

/* 页脚正文那一行（原来是个 <p>，为了让展开的语言列表留在里面，换成 div，样式照旧） */
#footer .foot-note { margin: 0; text-align: center; font-size: smaller; color: #94a3b8; }
/* 品牌外链整体换行，别被拆成「片上传 image upload」这种半截；左侧留一点空隙，
   拉丁语系页面才不会出现「services!Image Upload」这种粘字 */
#footer .foot-note a { white-space: nowrap; margin-left: .4em; }

/* ===== 页脚语言切换：接在「图片上传 image upload」右边 =====
   不描边不填色，字号颜色都跟页脚一致，只有右边一个小箭头提示可点；
   点开向上弹（页脚在页面最底部，向下会顶出视口）。 */
#footer .footer-lang { position: relative; display: inline-block; margin-left: 10px; vertical-align: baseline; }
#footer .footer-lang details { display: inline; }
#footer .footer-lang .foot-sep { margin: 0 4px 0 0; color: #cbd5e1; }
#footer .footer-lang summary {
    display: inline-flex;
    align-items: center;
    list-style: none;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    color: #94a3b8;
    padding: 0 0 1px;
    border-bottom: 1px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
#footer .footer-lang summary::-webkit-details-marker { display: none; }
#footer .footer-lang summary::marker { content: ''; }
#footer .footer-lang summary:hover,
#footer .footer-lang details[open] summary {
    color: #2563eb;
    border-bottom-color: rgba(37, 99, 235, .38);
}
#footer .lang-caret {
    width: 5px; height: 5px;
    margin: -3px 0 0 5px;
    border-right: 1.3px solid currentColor;
    border-bottom: 1.3px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease, margin-top .18s ease;
}
#footer .footer-lang details[open] .lang-caret { transform: rotate(-135deg); margin-top: 3px; }

#footer .lang-menu {
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 70;
    min-width: 128px;
    max-height: 60vh;
    overflow-y: auto;
    margin: 0; padding: 5px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .12), 0 1px 2px rgba(15, 23, 42, .05);
    text-align: left;
}
#footer .lang-menu li { display: block; margin: 0; }
#footer .lang-menu a,
#footer .lang-menu .lang-on {
    display: block;
    padding: 6px 9px;
    border-radius: 4px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
}
#footer .lang-menu a:hover { background: #f1f5f9; color: #2563eb; }
#footer .lang-menu .lang-on { color: #2563eb; font-weight: 600; cursor: default; }
#footer .lang-menu .lang-on::after {
    content: '';
    display: inline-block;
    width: 4px; height: 8px;
    margin-left: 7px;
    border-right: 1.5px solid #93c5fd;
    border-bottom: 1.5px solid #93c5fd;
    transform: rotate(45deg) translateY(-2px);
}
/* 手机上页脚文字会折行，居中对齐的弹层容易顶到屏幕右边，改成贴着触发词的右边往上弹 */
@media (max-width: 560px) {
    #footer .lang-menu { left: auto; right: -4px; transform: none; max-width: calc(100vw - 24px); }
}

/* 首页只保留上传卡与公告，正文长文与 FAQ 已移到独立页，这里不再需要对应样式 */

/* ===== 独立内容页（关于 / 帮助 / 隐私 / 条款） ===== */
.doc { text-align: left; max-width: 720px; margin: 8px auto 4px; color: #334155; font-size: 14.5px; line-height: 1.9; }
.doc h2 { margin: 24px 0 8px; font-size: 19px; color: #0f172a; }
.doc h2:first-child { margin-top: 4px; }
.doc p { margin: 0 0 10px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin: 5px 0; }
.doc a { color: #2563eb; text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.doc .doc-note { color: #64748b; font-size: 13px; }
.doc .doc-faq dt { margin-top: 14px; font-weight: 600; color: #0f172a; }
.doc .doc-faq dd { margin: 4px 0 0; color: #475569; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 10px 0 6px; }
.doc-table th, .doc-table td { border: 1px solid #e2e8f0; padding: 8px 10px; text-align: left; }
.doc-table th { background: #f5f8fd; font-weight: 600; }
.doc-links { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 22px 0 4px; padding-top: 16px; border-top: 1px solid #e8eef7; }
.doc-links a { display: inline-block; padding: 7px 13px; border: 1px solid #dbe7f6; border-radius: 8px; background: #fff; font-size: 13px; }

/* ===== theme.css ===== */
/* ==========================================================================
   全站主题 v4（2026-12）
   把首页改版的视觉语言抽成一套公共样式：冷白纸感 + 靛蓝、1080 版心、
   一行式头部、文字导航、白色大圆角卡片。site.css 保留原有骨架与内页细节，
   本文件在其后加载，只做覆盖，不改结构。
   ========================================================================== */

:root{
  --ink:#20253a;
  --ink-2:#454e6d;
  --muted:#69728c;
  --line:#e6e9f2;
  --line-2:#eef0f8;
  --primary:#5365e9;
  --primary-dark:#3d4ed1;
  --soft:#eff1ff;
  --bg:#f6f7fb;
  --card-shadow:0 22px 50px rgba(41,53,115,.1),0 2px 6px rgba(41,53,115,.04);
  --btn-shadow:0 6px 14px rgba(83,101,233,.2);
  --serif:"Noto Serif SC","Source Han Serif SC","Songti SC","STSong","SimSun",serif;
}

/* ---------- 画布 ---------- */
body{
  background-color:var(--bg);
  background-image:linear-gradient(180deg,#f1f4ff 0,var(--bg) 480px);
  color:var(--ink);
  font-family:"Noto Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
  font-size:14px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

#container{
  max-width:1080px;
  padding:0 24px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  column-gap:44px;
  align-items:center;
}

/* ---------- 头部：logo 左，菜单右 ---------- */
#logo{
  grid-column:1; grid-row:1;
  max-width:none; width:auto; margin:0;
  min-height:88px; height:auto;
  padding:0;
  display:flex; align-items:center; gap:15px;
  overflow:visible;
}
#logo .logo-mark{
  position:relative;
  width:54px; height:52px;
  border:0;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(145deg,#c3cbf4 0%,#8b98e6 24%,#5365e9 58%,#35419a 100%);
  box-shadow:0 14px 26px -12px rgba(18,22,58,.50),0 3px 7px rgba(18,22,58,.14),
    inset 0 1px 0 rgba(255,255,255,.72),inset 1px 0 0 rgba(255,255,255,.20),
    inset -1px 0 2px rgba(7,14,24,.24),inset 0 -2px 4px rgba(7,14,24,.40);
}
#logo .logo-mark::before,#logo .logo-mark::after{ content:none !important; display:none !important; }
#logo .logo-window{
  position:absolute; top:3px; right:3px; bottom:3px; left:3px;
  border-radius:11px; overflow:hidden;
  background:radial-gradient(circle at 74% 14%,#7383e0 0%,#3d4ca8 36%,#1c2454 100%);
  box-shadow:inset 0 2px 6px rgba(0,0,0,.60),inset 0 -2px 4px rgba(0,0,0,.34),
    inset 0 0 0 1px rgba(205,214,255,.45),inset 0 1px 0 rgba(255,255,255,.10);
}
#logo .logo-glow{
  position:absolute; right:-5px; top:-5px; width:26px; height:26px; border-radius:50%; z-index:0;
  background:radial-gradient(circle,rgba(170,185,255,.34) 0%,rgba(170,185,255,.12) 38%,rgba(170,185,255,0) 70%);
}
#logo .logo-sun{
  position:absolute; right:6px; top:6px; width:10px; height:10px; border-radius:50%; z-index:1;
  background:radial-gradient(circle at 34% 28%,#fbfbff 0%,#dde1ff 35%,#aab6ff 70%,#6f7fe5 100%);
  box-shadow:0 0 9px 3px rgba(165,180,255,.45),0 0 0 2px rgba(165,180,255,.08);
}
#logo .logo-ridge{ position:absolute; left:-6%; right:-6%; bottom:-2px; }
#logo .logo-ridge-back{
  height:66%; opacity:.60; filter:blur(.35px); z-index:2;
  background:linear-gradient(180deg,#b9c2f2 0%,#7e8cd6 55%,#5563b4 100%);
  clip-path:polygon(0 100%,0 56%,22% 26%,40% 51%,62% 20%,100% 53%,100% 100%);
}
#logo .logo-haze{
  position:absolute; left:0; right:0; bottom:19%; height:29%; z-index:3;
  background:linear-gradient(180deg,rgba(205,214,255,0),rgba(205,214,255,.28) 48%,rgba(205,214,255,0));
  filter:blur(1px);
}
#logo .logo-ridge-mid{
  height:50%; opacity:.88; filter:blur(.12px); z-index:4;
  background:linear-gradient(180deg,#7c8ae0 0%,#4e5db5 58%,#303c8c 100%);
  clip-path:polygon(0 100%,0 70%,24% 38%,46% 62%,68% 31%,100% 59%,100% 100%);
}
#logo .logo-mist{
  position:absolute; left:0; right:0; bottom:22%; height:17%; z-index:5;
  background:linear-gradient(180deg,rgba(214,222,255,0),rgba(214,222,255,.30) 48%,rgba(214,222,255,0));
  filter:blur(1.2px);
}
#logo .logo-ridge-front{
  height:38%; z-index:6;
  background:linear-gradient(180deg,#ffffff 0%,#f4f5ff 9%,#dee2ff 55%,#c2c9f5 100%);
  clip-path:polygon(0 100%,0 74%,27% 27%,47% 57%,65% 33%,100% 61%,100% 100%);
  filter:drop-shadow(1.2px 2px 1.6px rgba(7,14,24,.34));
}
#logo .logo-vignette{
  position:absolute; top:0; right:0; bottom:0; left:0; z-index:7;
  border-radius:inherit; pointer-events:none;
  background:radial-gradient(120% 100% at 50% 0%,transparent 45%,rgba(9,12,38,.24) 100%);
}
#logo .logo-sheen{
  position:absolute; top:0; right:0; bottom:0; left:0; z-index:8;
  border-radius:inherit; pointer-events:none;
  background:linear-gradient(125deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.08) 16%,rgba(255,255,255,0) 34%,rgba(255,255,255,0) 100%);
}
#logo .logo-txt{ flex-direction:column; align-items:flex-start; gap:2px; }
#logo h1, #logo .logo-title, #logo p{ line-height:1.25; height:auto; }
#logo h1, #logo .logo-title{ font-size:25px; letter-spacing:.04em; font-weight:700; flex:0 0 auto; text-shadow:0 1px 0 rgba(255,255,255,.72); }
#logo p{ margin:0; font-size:9.5px; letter-spacing:.18em; color:#66727f; font-weight:600; text-transform:uppercase; }
#logo a{
  background:none;
  -webkit-background-clip:initial;
  background-clip:initial;
  color:#1b222c;
  filter:none;
  text-decoration:none;
}

#menu{
  grid-column:2; grid-row:1;
  max-width:none; width:auto; height:auto; margin:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
  justify-self:end;
  min-width:0;
}
#menu ul{
  display:flex; flex-wrap:nowrap; align-items:center;
  gap:30px;
  margin:0; padding:0;
  list-style:none;
}
#menu li{ display:block; flex:0 0 auto; float:none; }
#menu a{
  float:none; display:inline-block;
  height:auto; line-height:1.4;
  padding:8px 0 9px;
  font-size:13.5px; font-weight:400; letter-spacing:.02em;
  white-space:nowrap;
  color:var(--ink-2);
  border-bottom:1.5px solid transparent;
  text-decoration:none;
}
#menu a:hover{ color:var(--primary); }
#menu a.on{ color:var(--primary); font-weight:600; border-bottom-color:var(--primary); }
#menu li.nav-register{ order:98; }
#menu li.nav-login{ order:97; }
#menu li.nav-register a,
#menu a.solid{
  margin-left:4px;
  padding:9px 20px;
  border:1px solid var(--primary);
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  font-weight:600;
  box-shadow:var(--btn-shadow);
}
#menu li.nav-register a:hover,
#menu a.solid:hover{ background:var(--primary-dark); border-color:var(--primary-dark); color:#fff; }

/* ---------- 内容区：一张 1080 的白卡 ---------- */
#page{
  grid-column:1 / -1; grid-row:2;
  max-width:none; margin:0;
  background:transparent;
  text-align:left;
}
#page-bg{
  max-width:none; margin:10px 0 0;
  padding:28px 32px 32px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--card-shadow);
  text-align:left;
}
/* 登录 / 注册 / 重发激活这类纯表单页，卡片收窄，别让表单孤零零地贴在 1080 的左边 */
#page-bg:has(.mf-form){ max-width:480px; margin:10px auto 0; }
#page-bg:has(.mf-form) .mf-body{ max-width:360px; margin:0 auto; }
#page-bg:has(.mf-form) .mf-form{ max-width:none; }

/* 内页功能台（工具箱 / 会员中心 / 上传结果）：白卡外框与首页上传卡同宽 */
@media (min-width:821px){
  #page-bg:has(.mf-wrap):not(:has(.mf-form)){
    width:calc(90% - 26px);
    max-width:824px;
    margin-left:auto;
    margin-right:auto;
    padding-left:12px;
    padding-right:12px;
  }
}
@media (min-width:1201px){
  #page-bg:has(.mf-wrap):not(:has(.mf-form)){
    width:934px;
    max-width:934px;
  }
}
@media (max-width:820px){
  #page-bg:has(.mf-wrap):not(:has(.mf-form)){
    padding-left:10px;
    padding-right:10px;
  }
}
/* 卡内内容填满，工具网格与首页拖放区同宽 */
#page-bg .mf-wrap{
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
}
#page .site-safety{
  max-width:960px;
  margin-left:auto;
  margin-right:auto;
}
@media (min-width:821px) and (max-width:1200px){
  #page .site-safety{
    width:90%;
    max-width:850px;
  }
}
/* 登录/注册卡片保持原有 480 宽度，不套用功能台版心 */
#page-bg:has(.mf-form) .mf-wrap{
  width:100%;
  max-width:none;
}

/* ---------- 页脚 ---------- */
#footer{
  grid-column:1 / -1; grid-row:3;
  max-width:none; width:auto; margin:56px 0 0;
  padding:26px 0 36px;
  border-top:1px solid var(--line);
  text-align:left;
}
#footer .foot-links{
  display:flex; flex-wrap:wrap; gap:10px 26px;
  margin:0; font-size:13px; line-height:1.6; color:var(--muted);
}
#footer .foot-links a{ color:var(--ink-2); text-decoration:none; }
#footer .foot-links a:hover{ color:var(--primary); text-decoration:none; }
#footer .foot-links .foot-sep{ display:none; }
#footer .foot-links .foot-en{ margin-left:0; color:var(--primary); }
#footer .foot-note{
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:flex-start; gap:8px 18px;
  margin:22px 0 0; padding:0;
  font-size:12.5px; color:var(--muted); text-align:left;
}
#footer .foot-note .footer-lang{ margin-left:auto; }
#footer a{ color:var(--muted); }
#footer a:hover{ color:var(--primary); }
#footer .footer-lang summary:hover,
#footer .footer-lang details[open] summary{ color:var(--primary); border-bottom-color:rgba(83,101,233,.38); }
#footer .lang-menu{ border-color:var(--line); box-shadow:0 14px 30px rgba(41,53,115,.14); }
#footer .lang-menu a:hover{ background:var(--soft); color:var(--primary); }
#footer .lang-menu .lang-on{ color:var(--primary); }

/* ---------- 版式 ---------- */
h1, h2, h3, h4{ color:var(--ink); }
a{ color:var(--primary); }
a:hover{ color:var(--primary-dark); }
p{ text-align:left; }

/* ---------- 表单与按钮 ---------- */
input[type="text"], input[type="email"], input[type="password"], input[type="search"],
input[type="url"], input[type="number"], select, textarea{
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--ink);
  padding:8px 12px;
  font-size:14px;
  outline:none;
  transition:border-color .16s ease, box-shadow .16s ease;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus,
input[type="search"]:focus, input[type="url"]:focus, input[type="number"]:focus,
select:focus, textarea:focus{
  border-color:#a9b5ea;
  box-shadow:0 0 0 3px rgba(83,101,233,.12);
}
input[type="submit"], button.button, input.button, .btn{
  display:inline-block;
  height:40px;
  padding:0 24px;
  border:1px solid var(--primary);
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  font-size:13.5px; font-weight:600; letter-spacing:.02em;
  cursor:pointer;
  box-shadow:var(--btn-shadow);
  transition:background .16s ease, border-color .16s ease;
}
input[type="submit"]:hover, button.button:hover, input.button:hover, .btn:hover{
  background:var(--primary-dark); border-color:var(--primary-dark); color:#fff;
}

/* ---------- 表格 ---------- */
table{ border-color:var(--line); }
th, td{ border-color:var(--line); }
th{ background:#f8f9fe; color:var(--ink); font-weight:600; }

/* ---------- 说明页（关于 / 常见问题 / 隐私 / 条款） ---------- */
.doc{
  max-width:820px;
  margin:0 auto;
  color:var(--ink-2);
  font-size:14px;
  line-height:1.85;
}
.doc h2{
  font-family:var(--serif);
  font-size:21px;
  font-weight:600;
  letter-spacing:.01em;
  color:var(--ink);
  margin:34px 0 10px;
  padding-top:22px;
  border-top:1px solid var(--line-2);
}
.doc h2:first-child{ margin-top:0; padding-top:0; border-top:0; }
.doc p{ margin:0 0 12px; }
.doc ul, .doc ol{ margin:0 0 14px; padding-left:22px; }
.doc li{ margin:6px 0; }
.doc a{ color:var(--primary); text-decoration:none; }
.doc a:hover{ text-decoration:underline; }
.doc .doc-note{ color:var(--muted); font-size:13px; }
.doc .doc-faq dt{ margin-top:16px; font-weight:600; color:var(--ink); font-size:14.5px; }
.doc .doc-faq dd{ margin:5px 0 0; color:var(--ink-2); }
.doc-table{ width:100%; border-collapse:collapse; font-size:13px; margin:12px 0 8px; }
.doc-table th, .doc-table td{ border:1px solid var(--line); padding:9px 12px; text-align:left; }
.doc-table th{ background:#f8f9fe; font-weight:600; }
.doc-links{
  display:flex; flex-wrap:wrap; gap:8px 10px;
  margin:26px 0 0; padding-top:18px;
  border-top:1px solid var(--line);
}
.doc-links a{
  display:inline-block; padding:7px 14px;
  border:1px solid var(--line); border-radius:999px;
  background:#fff; font-size:13px; color:var(--ink-2);
}
.doc-links a:hover{ border-color:#c3cbee; color:var(--primary); text-decoration:none; }

/* ---------- 移动端 ---------- */
@media (max-width:900px){
  #menu ul{ gap:20px; }
}
@media (max-width:820px){
  #container{
    padding:0 18px;
    grid-template-columns:minmax(0,1fr);
    column-gap:0;
  }
  #logo{ grid-column:1; grid-row:1; min-height:70px; gap:11px; }
  #logo .logo-mark{ width:42px; height:40px; border-radius:11px; }
  #logo .logo-window{ top:2px; right:2px; bottom:2px; left:2px; border-radius:9px; }
  #logo .logo-glow{ right:-4px; top:-4px; width:22px; height:22px; }
  #logo .logo-sun{ right:5px; top:5px; width:8px; height:8px; }
  #logo .logo-ridge-front{ filter:drop-shadow(1px 1.6px 1.4px rgba(7,14,24,.55)); }
  #logo h1, #logo .logo-title{ font-size:21px; letter-spacing:.04em; }
  #logo p{ font-size:9px; letter-spacing:.15em; }
  #menu{
    grid-column:1; grid-row:2;
    justify-self:stretch; width:auto; min-width:0;
    padding:0;
  }
  #menu ul{
    display:flex; flex-wrap:wrap; width:100%; gap:4px 16px;
  }
  #menu a{
    font-size:13px; padding:6px 0 7px;
    min-height:0; height:auto;
    background:none; border-radius:0; box-shadow:none;
    color:var(--ink-2); font-weight:400;
  }
  #menu a.on{ color:var(--primary); font-weight:600; }
  #menu li.nav-register a, #menu a.solid{
    padding:7px 15px; font-size:13px; min-height:0; height:auto;
    background:var(--primary); color:#fff; border:1px solid var(--primary);
    border-radius:999px; box-shadow:var(--btn-shadow);
  }
  #page{ grid-row:3; min-width:0; }
  #page-bg{ padding:18px 14px 22px; border-radius:16px; }
  #footer{ grid-row:4; margin-top:44px; padding:20px 0 30px; }
  #footer .foot-links{ gap:8px 18px; }
  #footer .foot-note{ flex-direction:column; gap:6px; margin-top:16px; }
  .doc h2{ font-size:19px; margin-top:24px; }
}
/* ---------- 顶部右侧：紧凑语言与登录入口 ---------- */
#menu ul{ gap:14px; }
#menu li.nav-lang{ margin:0; }
#menu .nav-lang summary{
  height:36px; padding:0 14px;
  background:#fff;
  border:1px solid #e1e6f2; border-radius:999px;
  color:#4b5563; font-size:13px; font-weight:400;
}
#menu .nav-lang summary:hover{ color:#3d4ed1; }
#menu .nav-lang .lang-caret{ border-color:#7b849a; }
#menu .nav-lang .lang-menu a{ color:#4b5563; font-size:13px; }
#menu li.nav-login a{
  display:inline-flex; align-items:center;
  height:36px; padding:0 2px;
  font-size:13px; font-weight:400; color:#4b5563;
}
#menu li.nav-login a:hover{ color:var(--primary); }
#menu li.nav-register a,
#menu a.solid{
  display:inline-flex; align-items:center; justify-content:center;
  height:36px; padding:0 18px; margin-left:0;
  border:1px solid var(--primary); border-radius:999px;
  font-size:13px; font-weight:600; line-height:1;
}
@media (max-width:820px){
  #menu ul{ gap:9px; }
  #menu .nav-lang summary{ height:32px; padding:0 12px; font-size:12.5px; }
  #menu li.nav-login a{ height:32px; font-size:12.5px; padding:0 1px; }
  #menu li.nav-register a, #menu a.solid{ height:32px; padding:0 14px; font-size:12.5px; }
}
/* ---------- Header Logo：矢车菊蓝（2026-12-03 第二轮 02） ----------
   只改配色与投影，不动 54×52 结构、山脊形状和字标。
   目标：比雾蓝更亮、更有彩度，保留品牌蓝紫的连续性。 */
#logo .logo-mark{
  background:linear-gradient(145deg,#d8defa 0%,#b8c5f3 24%,#8b9fe8 58%,#5c6ebb 100%);
  box-shadow:0 12px 22px -14px rgba(27,40,64,.28),0 3px 7px rgba(27,40,64,.08),
    inset 0 1px 0 rgba(255,255,255,.82),inset 1px 0 0 rgba(255,255,255,.30),
    inset -1px 0 2px rgba(7,14,24,.10),inset 0 -2px 4px rgba(7,14,24,.16);
}
#logo .logo-window{
  background:radial-gradient(circle at 74% 14%,#bccbf7 0%,#879ce4 36%,#5164aa 100%);
  box-shadow:inset 0 2px 6px rgba(0,0,0,.38),inset 0 -2px 4px rgba(0,0,0,.18),
    inset 0 0 0 1px rgba(220,230,245,.42),inset 0 1px 0 rgba(255,255,255,.12);
}
#logo .logo-glow{
  background:radial-gradient(circle,rgba(171,184,235,.30) 0%,rgba(171,184,235,.10) 38%,rgba(171,184,235,0) 70%);
}
#logo .logo-sun{
  background:radial-gradient(circle at 34% 28%,#fcfbff 0%,#e8e7ff 35%,#b7c2f0 70%,#8293cf 100%);
  box-shadow:0 0 9px 3px rgba(171,184,235,.38),0 0 0 2px rgba(171,184,235,.08);
}
#logo .logo-ridge-back{background:linear-gradient(180deg,#d9e0f8 0%,#aebbea 55%,#8393c4 100%);}
#logo .logo-haze{background:linear-gradient(180deg,rgba(217,224,248,0),rgba(217,224,248,.26) 48%,rgba(217,224,248,0));}
#logo .logo-ridge-mid{background:linear-gradient(180deg,#bac8f2 0%,#8a9edb 58%,#5e71ac 100%);}
#logo .logo-mist{background:linear-gradient(180deg,rgba(228,232,252,0),rgba(228,232,252,.28) 48%,rgba(228,232,252,0));}
#logo .logo-ridge-front{background:linear-gradient(180deg,#ffffff 0%,#fafbff 9%,#e9edfc 55%,#d4daf3 100%);}
#logo .logo-vignette{background:radial-gradient(120% 100% at 50% 0%,transparent 45%,rgba(14,18,48,.10) 100%);}

/* ---------- Header Logo：Taourl 风格字母标（2026-12-03） ----------
   白底圆角方框 + 3px 品牌蓝描边 + 字母 C；覆盖上方旧山脊标。
   只替换站头图标，不改标题、副标和导航布局。 */
#logo{gap:15px;}
#logo .logo-mark{
  position:relative; flex:0 0 auto;
  width:54px; height:54px;
  border:3px solid #5365e9;
  border-radius:16px;
  background:#fff; overflow:visible;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 14px -11px rgba(35,47,120,.34);
}
#logo .logo-mark::before,#logo .logo-mark::after{content:none!important;display:none!important;}
#logo .logo-letter{
  display:block;
  font-family:"Arial Black","Arial","Helvetica Neue",sans-serif;
  font-weight:900; font-size:33px; line-height:1;
  color:#5365e9; letter-spacing:-.035em;
  transform:translateY(-1px);
}
#logo .logo-txt{gap:2px;}
#logo h1, #logo .logo-title{font-size:26px; font-weight:800; letter-spacing:.02em; text-shadow:none;}
#logo p{font-size:9.5px; letter-spacing:.16em; color:#7c8499; font-weight:500;}
#logo a{color:#20253a;}
@media (max-width:760px){
  #logo{gap:11px;}
  #logo .logo-mark{width:42px; height:42px; border-width:2.4px; border-radius:12px;}
  #logo .logo-letter{font-size:26px;}
  #logo h1, #logo .logo-title{font-size:21px;}
  #logo p{font-size:9px; max-width:calc(100vw - 180px); line-height:1.45;}
}
