
    /* 注意：Google Fonts 已在 HTML head 中通过 preload + 异步 onload 加载，不再使用 @import */
    :root {
      --rose:     #f43f5e;
      --rose-lt:  #fb7185;
      --rose-bg:  #fff1f2;
      --rose-bd:  #fecdd3;
      --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
      --shadow-md: 0 4px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
      --shadow-lg: 0 12px 40px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.05);
      --radius:   16px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }

    /* ── 温暖安抚主题 ──
       抛弃纯灰白冷调，改为奶油蜜桃 + 柔粉天蓝渐变。
       寓意：陪伴、温暖、希望，适合焦虑期的考生与家长。
    */
    body {
      font-family: 'Inter', -apple-system, sans-serif;
      background:
        radial-gradient(ellipse 80% 50% at 20% 0%,  rgba(254, 215, 226, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 90% 10%, rgba(255, 237, 213, 0.55) 0%, transparent 55%),
        radial-gradient(ellipse 90% 60% at 50% 100%, rgba(219, 234, 254, 0.45) 0%, transparent 60%),
        linear-gradient(180deg, #fff7ed 0%, #fef3ec 35%, #fef6f2 70%, #fff1f2 100%);
      background-attachment: fixed;
      color: #1e293b; overflow-x: hidden; min-height: 100vh;
    }
    .gradient-text { background: linear-gradient(135deg, #f43f5e, #fb7185); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    /* 卡片：白色 + 暖色柔光阴影，避免纯灰白生硬感 */
    .card { background: #ffffff; border-radius: var(--radius); transition: box-shadow 0.25s ease, transform 0.2s ease; box-shadow: 0 4px 18px rgba(251, 113, 133, 0.06), 0 1px 4px rgba(244, 63, 94, 0.04); }
    .card:hover { box-shadow: 0 12px 40px rgba(251, 113, 133, 0.14), 0 2px 8px rgba(244, 63, 94, 0.06); }
    .glow { box-shadow: var(--shadow-md); }
    .stat-number { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    .chart-container { position: relative; height: 420px; }
    .fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
    .fade-in.visible { opacity: 1; transform: translateY(0); }
    .loading-spinner { border: 3px solid #e2e8f0; border-top: 3px solid #f43f5e; border-radius: 50%; width: 36px; height: 36px; animation: spin 1s linear infinite; }
    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track { background: rgba(254, 215, 226, 0.15); }
    ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #fb7185, #f43f5e); border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #f43f5e, #be123c); }
    select { background: #fff; color: #334155; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 8px 12px; outline: none; transition: border-color .2s; }
    select:focus { border-color: #f43f5e; }
    .text-primary { color: #f43f5e; }

    /* ===== 通用可搜索下拉组件 ===== */
    .school-picker { position: relative; display: inline-block; }
    .school-picker-input-wrap {
      display: flex; align-items: center;
      background: #fff; border: 1.5px solid #e2e8f0; border-radius: 10px;
      padding: 0 12px; gap: 8px; cursor: pointer;
      transition: border-color 0.2s, box-shadow 0.2s;
      min-width: 200px;
    }
    .school-picker-input-wrap:focus-within {
      border-color: #f43f5e;
      box-shadow: 0 0 0 3px rgba(244,63,94,.1);
    }
    .school-picker-input-wrap input {
      flex: 1; border: none; background: transparent;
      color: #334155; font-size: 14px; padding: 9px 0;
      outline: none; cursor: pointer; min-width: 0;
    }
    .school-picker-input-wrap input::placeholder { color: #94a3b8; }
    .school-picker-arrow {
      color: #94a3b8; font-size: 12px; flex-shrink: 0;
      transition: transform 0.2s;
    }
    .school-picker.open .school-picker-arrow { transform: rotate(180deg); }
    .school-picker-clear {
      color: #94a3b8; font-size: 12px; flex-shrink: 0;
      cursor: pointer; padding: 2px;
      display: none;
    }
    .school-picker-clear:hover { color: #f43f5e; }
    .school-picker-panel {
      position: absolute; top: calc(100% + 6px); left: 0; right: 0;
      background: #fff; border: 1.5px solid #e2e8f0;
      border-radius: 12px; box-shadow: var(--shadow-lg);
      z-index: 200; max-height: 280px; overflow: hidden;
      display: none; flex-direction: column;
      min-width: 220px;
    }
    .school-picker.open .school-picker-panel { display: flex; }
    .school-picker-search-wrap {
      padding: 10px 12px 6px; border-bottom: 1px solid #f1f5f9;
      flex-shrink: 0;
    }
    .school-picker-search-wrap input {
      width: 100%; border: 1px solid #e2e8f0; border-radius: 7px;
      padding: 6px 10px; font-size: 13px; color: #334155;
      background: #f8fafc; outline: none;
      transition: border-color 0.2s;
    }
    .school-picker-search-wrap input:focus { border-color: #f43f5e; }
    .school-picker-list { overflow-y: auto; flex: 1; padding: 6px 0; }
    .school-picker-list::-webkit-scrollbar { width: 5px; }
    .school-picker-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
    .school-picker-item {
      padding: 9px 16px; cursor: pointer; font-size: 14px; color: #475569;
      transition: background 0.15s; display: flex; align-items: center; gap: 8px;
    }
    .school-picker-item:hover { background: var(--rose-bg); color: #f43f5e; }
    .school-picker-item.active {
      background: var(--rose-bg); color: #f43f5e; font-weight: 600;
    }
    .school-picker-item.active::before {
      content: "✓"; font-size: 12px; color: #f43f5e;
    }
    .school-picker-empty {
      padding: 18px; text-align: center; color: #94a3b8; font-size: 13px;
    }
    .school-picker-tag {
      display: inline-flex; align-items: center; gap: 4px;
      background: var(--rose-bg); color: #f43f5e;
      border: 1px solid var(--rose-bd); border-radius: 6px;
      padding: 2px 8px; font-size: 13px; font-weight: 500;
    }
    .text-secondary { color: #64748b; }
    .text-gray-400 { color: #94a3b8; }
    .text-gray-500 { color: #64748b; }
    .border-border { border-color: #e2e8f0; }
    .bg-dark { background: #fff; color: #1e293b; }
    .bg-dark-light { background: #fef7f4; }
    thead { background: linear-gradient(180deg, #fff5f1 0%, #ffe9e0 100%); }
    tbody tr:nth-child(even) { background: #fffaf7; }
    tbody tr:hover { background: var(--rose-bg) !important; }
    
    /* ===== 响应式优化 ===== */
    .table-container {
      overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px;
    }
    @media (max-width: 768px) {
      body { font-size: 14px; }
      .card { border-radius: 14px; }
      .stat-number { font-size: 1.75rem !important; }
      .chart-container { height: 320px; }
      h1 { font-size: 1.9rem !important; }
      .card { padding: 1.1rem !important; }
      #app { padding: .9rem !important; }
      header { margin-bottom: 1.75rem !important; }
      #middleSchoolSearch { width: 100% !important; }
      table { font-size: 13px; min-width: 580px; }
      th, td { padding: 0.55rem 0.45rem !important; }
      #school-select-section .flex-wrap { gap: 0.4rem !important; }
    }
    @media (max-width: 480px) {
      .stat-number { font-size: 1.5rem !important; }
      .card { padding: .9rem !important; }
      .chart-container { height: 280px; }
      table { font-size: 12px; min-width: 500px; }
      th, td { padding: 0.45rem 0.35rem !important; }
    }
    @media (min-width: 768px) and (max-width: 1024px) {
      .chart-container { height: 400px; }
    }
    @media (min-width: 1025px) {
      .card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); }
    }

    /* ── 左侧侧边栏 ── */
    :root { --sidebar-w: 220px; }

    .user-sidebar {
      position: fixed; left: 0; top: 0; bottom: 0;
      width: var(--sidebar-w);
      background: #fff;
      border-right: 1px solid #e2e8f0;
      display: flex; flex-direction: column;
      z-index: 1000;
      box-shadow: 2px 0 12px rgba(0,0,0,.04);
      overflow-y: auto;
    }
    .sidebar-logo {
      display: flex; align-items: center; gap: .6rem;
      padding: 1.1rem 1.2rem;
      border-bottom: 1px solid #f1f5f9;
    }
    .sidebar-logo-icon {
      width: 36px; height: 36px; border-radius: 10px;
      background: linear-gradient(135deg, #f43f5e, #fb7185);
      color: #fff; display: flex; align-items: center; justify-content: center;
      font-size: 1rem; flex-shrink: 0;
    }
    .sidebar-logo-name { font-size: .92rem; font-weight: 800; color: #1e293b; line-height: 1.2; }
    .sidebar-logo-sub { font-size: .68rem; color: #94a3b8; }

    .sidebar-user-card {
      display: flex; flex-direction: column; align-items: center;
      padding: 1.2rem 1rem;
      border-bottom: 1px solid #f1f5f9;
      gap: .35rem;
    }
    .sidebar-avatar {
      width: 56px; height: 56px; border-radius: 50%;
      background: linear-gradient(135deg, #f43f5e 0%, #fb923c 50%, #facc15 100%);
      color: #fff; font-size: 1.2rem; font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; overflow: hidden;
      box-shadow: 0 4px 14px rgba(244,63,94,.25);
      position: relative;
    }
    .sidebar-avatar::after {
      content: ''; position: absolute; inset: 0; border-radius: 50%;
      box-shadow: inset 0 -2px 8px rgba(0,0,0,.08);
      pointer-events: none;
    }
    .sidebar-username {
      font-size: .95rem; font-weight: 700; color: #1e293b; margin-top: .15rem;
      background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .sidebar-points {
      display: inline-flex; align-items: center; gap: 4px;
      background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
      border: 1.5px solid #fde68a; border-radius: 20px;
      padding: 3px 11px; font-size: .75rem; font-weight: 700; color: #b45309;
      margin-top: .25rem;
      box-shadow: 0 2px 6px rgba(245,158,11,.18);
    }
    .sidebar-points i {
      color: #f59e0b;
      filter: drop-shadow(0 1px 2px rgba(245,158,11,.4));
    }

    .sidebar-nav {
      flex: 1; overflow-y: auto;
      padding: .5rem 0;
    }
    .sidebar-nav-item {
      display: flex; align-items: center; gap: .6rem;
      padding: .65rem 1.4rem;
      font-size: .88rem; color: #475569; font-weight: 500;
      cursor: pointer; transition: background .15s, color .15s;
    }
    .sidebar-nav-item:hover { background: #fff1f2; color: #f43f5e; }
    .sidebar-nav-item i {
      width: 22px; height: 22px;
      display: inline-flex; align-items: center; justify-content: center;
      border-radius: 6px; font-size: .78rem;
      color: #fff;
      transition: transform .15s;
    }
    .sidebar-nav-item:hover i { transform: scale(1.1); }
    .sidebar-nav-item i.fa-calendar-check { background: linear-gradient(135deg, #f59e0b, #fb923c); }
    .sidebar-nav-item i.fa-pen-to-square { background: linear-gradient(135deg, #3b82f6, #6366f1); }
    .sidebar-nav-item i.fa-crown { background: linear-gradient(135deg, #facc15, #f59e0b); }
    .sidebar-nav-item i.fa-star { background: linear-gradient(135deg, #a855f7, #ec4899); }
    .sidebar-nav-item i.fa-book-open  { background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%); }
    .sidebar-nav-item i.fa-chart-line { background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%); }
    .sidebar-nav-item i.fa-right-from-bracket { background: linear-gradient(135deg, #94a3b8, #64748b); }
    .sidebar-nav-item.checked {
      color: #9ca3af; cursor: default;
    }
    .sidebar-nav-item.checked:hover { background: transparent; color: #9ca3af; }
    .sidebar-nav-item.checked i { opacity: .55; }

    .sidebar-footer {
      border-top: 1px solid #f1f5f9;
      padding: .75rem 1rem;
    }
    .sidebar-logout {
      width: 100%; padding: .55rem 0;
      background: #f8fafc; border: 1.5px solid #e2e8f0;
      border-radius: 10px; color: #64748b; font-size: .82rem;
      font-weight: 600; cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: .4rem;
      transition: background .2s, color .2s, border-color .2s;
    }
    .sidebar-logout:hover { background: #fff1f2; color: #f43f5e; border-color: #fecdd3; }

    /* 侧边栏遮罩（移动端） */
    .sidebar-backdrop {
      display: none; position: fixed; inset: 0;
      background: rgba(0,0,0,.35); z-index: 999;
    }
    .sidebar-backdrop.show { display: block; }

    /* 移动端顶栏（设计 C：大头像 + 胶囊感） */
    .topbar-mobile {
      position: fixed; top: 0; left: 0; right: 0;
      height: 64px; z-index: 998;
      background: rgba(255,255,255,.92);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-bottom: 1px solid #e2e8f0;
      display: flex; align-items: center; gap: .55rem;
      padding: 0 .9rem;
      box-shadow: 0 2px 12px rgba(15,23,42,.05);
    }
    /* 顶栏背景渐变细线 - 增强品牌感 */
    .topbar-mobile::before {
      content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
      background: linear-gradient(90deg,
        transparent 0%,
        rgba(244,63,94,.4) 25%,
        rgba(251,146,60,.4) 50%,
        rgba(250,204,21,.4) 75%,
        transparent 100%
      );
      pointer-events: none;
    }

    /* 汉堡菜单按钮：磨砂圆角 */
    .topbar-menu-btn {
      background: linear-gradient(135deg, #f8fafc, #f1f5f9);
      border: 1px solid #e2e8f0; cursor: pointer;
      font-size: 1rem; color: #475569;
      width: 36px; height: 36px; min-width: 36px;
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      transition: all .18s ease;
    }
    .topbar-menu-btn:hover { background: #fff1f2; color: #f43f5e; border-color: #fecdd3; transform: scale(1.05); }
    .topbar-menu-btn:active { transform: scale(.94); }

    /* 顶栏品牌名（未登录时显示） */
    .topbar-brand {
      display: inline-flex; align-items: center; gap: .45rem;
      font-size: .98rem; font-weight: 800; color: #f43f5e; flex: 1;
      min-width: 0;
    }
    .topbar-brand-icon {
      width: 30px; height: 30px;
      background: linear-gradient(135deg, #f43f5e 0%, #fb7185 50%, #fb923c 100%);
      color: #fff; border-radius: 9px;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: .92rem;
      box-shadow: 0 3px 8px rgba(244,63,94,.35);
    }
    .topbar-brand-text {
      background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* 未登录态：登录按钮 */
    .topbar-guest {
      flex: 1; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
      min-width: 0;
    }
    .topbar-login-btn {
      background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
      color: #fff; border: none; border-radius: 20px;
      padding: 7px 16px; font-size: .82rem; font-weight: 700;
      cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
      box-shadow: 0 4px 12px rgba(244,63,94,.4);
      transition: transform .15s, box-shadow .15s;
      letter-spacing: .3px;
    }
    .topbar-login-btn i { font-size: .75rem; }
    .topbar-login-btn:active { transform: scale(.96); box-shadow: 0 2px 6px rgba(244,63,94,.3); }

    /* 已登录态：单行布局 - 大头像 + 用户meta + 签到胶囊 */
    .topbar-user {
      flex: 1; display: flex; align-items: center; gap: .55rem;
      min-width: 0;
    }

    /* 大头像：40px + 三色渐变环 + 阴影 + VIP 角标 */
    .topbar-avatar {
      position: relative;
      width: 40px; height: 40px; min-width: 40px;
      border-radius: 50%; overflow: visible; /* VIP 角标要溢出 */
      background: linear-gradient(135deg, #f43f5e 0%, #fb923c 50%, #facc15 100%);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; padding: 0;
      box-shadow: 0 3px 12px rgba(244,63,94,.35);
      transition: transform .15s;
    }
    .topbar-avatar:active { transform: scale(.92); }
    /* 渐变环（实际是外层背景）+ 白色内描边 */
    .topbar-avatar-ring {
      position: absolute; inset: 2px;
      border-radius: 50%; pointer-events: none;
      background: #fff;
    }
    .topbar-avatar img {
      position: relative; z-index: 1;
      width: calc(100% - 4px); height: calc(100% - 4px);
      margin: 2px; border-radius: 50%;
      object-fit: cover; display: block;
    }
    .topbar-avatar-fallback {
      position: absolute;
      inset: 0;
      z-index: 1;
      display: none;        /* 默认隐藏：有头像时由 JS 切为 flex */
      align-items: center;
      justify-content: center;
      font-size: 1.05rem;   /* 略大，汉字视觉重量更足 */
      font-weight: 900;
      color: #fff;
      line-height: 1;
      user-select: none;
      text-transform: none; /* 防止中文被强制大写 */
      letter-spacing: 0;
      border-radius: 50%;
      background: linear-gradient(135deg, #f43f5e 0%, #fb923c 50%, #facc15 100%);
      pointer-events: none;
    }
    .topbar-avatar-fallback.show { display: flex; }
    /* VIP 角标（贴在头像右下） */
    .topbar-avatar-vip {
      position: absolute; right: -2px; bottom: -2px;
      width: 16px; height: 16px;
      background: linear-gradient(135deg, #facc15, #f59e0b);
      color: #fff;
      border-radius: 50%;
      border: 2px solid #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 7px;
      box-shadow: 0 1px 4px rgba(245,158,11,.5);
      z-index: 2;
    }

    /* 用户 meta 区域 - 上下两行（左昵称，右积分胶囊） */
    .topbar-user-meta {
      flex: 1; min-width: 0;
      display: flex; flex-direction: column;
      gap: 3px;
      justify-content: center;
      overflow: hidden;
    }
    .topbar-nickname-row { display: flex; align-items: center; gap: 4px; }
    .topbar-nickname {
      font-size: .88rem; font-weight: 700; color: #1e293b;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      max-width: 100%;
    }

    /* 顶栏积分徽章 - 横排小胶囊 */
    .topbar-points-row { display: flex; align-items: center; }
    .topbar-points {
      display: inline-flex; align-items: center; gap: 3px;
      background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
      border: 1px solid #fde68a;
      border-radius: 10px; padding: 1px 7px;
      font-size: .68rem; font-weight: 700; color: #b45309;
      line-height: 1.45;
      box-shadow: 0 1px 3px rgba(245,158,11,.2);
      max-width: fit-content;
    }
    .topbar-points i {
      font-size: .68rem; color: #f59e0b;
      filter: drop-shadow(0 1px 1px rgba(245,158,11,.4));
    }

    /* 签到胶囊按钮 - 浮动感 */
    .topbar-checkin {
      position: relative;
      display: inline-flex; align-items: center; gap: 4px;
      background: linear-gradient(135deg, #ff6b8a 0%, #f43f5e 100%);
      color: #fff; border: none;
      border-radius: 18px; padding: 6px 12px;
      font-size: .76rem; font-weight: 700;
      cursor: pointer; min-width: 64px;
      justify-content: center;
      box-shadow: 0 4px 14px rgba(244,63,94,.4);
      transition: transform .15s, box-shadow .2s, background .25s;
      letter-spacing: .3px;
    }
    .topbar-checkin i { font-size: .72rem; }
    /* 浮动小光晕 */
    .topbar-checkin::before {
      content: ''; position: absolute; inset: 0;
      border-radius: 18px;
      background: linear-gradient(135deg, rgba(255,255,255,.25), transparent 60%);
      pointer-events: none;
    }
    .topbar-checkin:active { transform: scale(.95); }
    /* 加号小角标（表示"可获取奖励"） */
    .topbar-checkin-plus {
      font-size: .55rem !important;
      background: rgba(255,255,255,.35);
      width: 12px; height: 12px;
      border-radius: 50%;
      display: inline-flex; align-items: center; justify-content: center;
      margin-left: 1px;
    }
    /* 已签到态：变灰色 */
    .topbar-checkin.checked {
      background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
      color: #94a3b8; box-shadow: none;
    }
    .topbar-checkin.checked::before { display: none; }
    .topbar-checkin.checked .topbar-checkin-plus { display: none; }

    /* ── PC 主内容区：侧边栏右侧居中 ── */
    #app {
      max-width: 960px;
      margin: 0 auto;
    }
    body.has-sidebar #app {
      margin-left: var(--sidebar-w);
      margin-right: 0;
      max-width: none;
      padding-top: 2rem !important;
      /* 在剩余宽度中居中：两侧等量留白，最少 1.5rem */
      padding-left:  max(1.5rem, calc((100vw - var(--sidebar-w) - 900px) / 2));
      padding-right: max(1.5rem, calc((100vw - var(--sidebar-w) - 900px) / 2));
    }

    @keyframes slideDown { from { opacity:0; transform:translateY(-100%); } to { opacity:1; transform:translateY(0); } }

    /* ── 未登录：顶部通栏横幅 ── */
    #login-banner {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
      background: linear-gradient(90deg, #f43f5e 0%, #fb7185 100%);
      padding: 0 1.25rem;
      height: 52px;
      display: flex; align-items: center; justify-content: space-between; gap: .75rem;
      box-shadow: 0 2px 12px rgba(244,63,94,.25);
      animation: slideDown .45s cubic-bezier(.16,1,.3,1);
    }

    .banner-left {
      display: flex; align-items: center; gap: .6rem;
      flex: 1; min-width: 0;
    }
    .banner-icon-sm { font-size: 1.1rem; flex-shrink: 0; }
    .banner-text { min-width: 0; }
    .banner-title {
      font-size: .88rem; font-weight: 700; color: #fff;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .banner-desc {
      font-size: .72rem; color: rgba(255,255,255,.8);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .banner-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

    .btn-go-login {
      padding: 6px 18px; border-radius: 20px;
      background: #fff; color: #f43f5e; border: none; font-size: .82rem;
      cursor: pointer; font-weight: 700; white-space: nowrap;
      transition: transform .15s, box-shadow .15s;
    }
    .btn-go-login:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
    .btn-go-login:active { transform: scale(.97); }

    .banner-close {
      background: none; border: none; cursor: pointer;
      color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1;
      padding: 4px; flex-shrink: 0; transition: color .15s;
    }
    .banner-close:hover { color: #fff; }

    /* push page down when banner showing */
    body.has-login-banner #app  { padding-top: 68px !important; }

    /* 侧边栏移动端响应式 */
    @media (max-width: 768px) {
      .user-sidebar {
        transform: translateX(-100%);
        transition: transform .25s cubic-bezier(.16,1,.3,1);
        box-shadow: 4px 0 20px rgba(0,0,0,.15);
      }
      .user-sidebar.open { transform: translateX(0); }
      .topbar-mobile { display: flex !important; }
      body.has-sidebar #app {
        margin-left: 0;
        padding-top: 76px !important;
        padding-left: 1rem;
        padding-right: 1rem;
      }
    }
    @media (max-width: 480px) {
      .banner-desc { display: none; }
      .banner-title { font-size: .82rem; }
      .btn-go-login { padding: 5px 12px; font-size: .78rem; }
      /* 极小屏：顶栏微调 */
      .topbar-mobile { height: 60px; padding: 0 .7rem; }
      .topbar-points { padding: 1px 5px; font-size: .65rem; }
      .topbar-checkin { padding: 5px 10px; min-width: 58px; }
      .topbar-nickname { font-size: .82rem; }
      body.has-sidebar #app { padding-top: 72px !important; }
    }
    @media (max-width: 360px) {
      /* 超小屏：隐藏积分，只保留 头像+昵称+签到 */
      .topbar-points { display: none; }
      .topbar-user { gap: .4rem; }
      .topbar-checkin span { display: none; }
      .topbar-checkin { min-width: 32px; padding: 5px 7px; }
      .topbar-checkin-plus { display: none !important; }
      .topbar-avatar { width: 36px; height: 36px; min-width: 36px; }
    }

    /* ── 模拟填志愿 ─────────────────────────────────────────── */
    .btn-volunteer {
      display: inline-flex; align-items: center; gap: .5rem;
      background: linear-gradient(135deg, #f43f5e, #fb7185);
      color: #fff; border: none; border-radius: 2rem;
      padding: .65rem 1.8rem; font-size: .95rem; font-weight: 700;
      cursor: pointer; box-shadow: 0 4px 20px rgba(244,63,94,.35);
      transition: transform .15s, box-shadow .15s;
    }
    .btn-volunteer:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(244,63,94,.45); }
    .btn-volunteer .vip-badge {
      background: rgba(255,255,255,.25); border-radius: 1rem;
      padding: .1rem .45rem; font-size: .68rem; letter-spacing: .05em; font-weight: 800;
    }
    /* overlay */
    .vol-overlay {
      position: fixed; inset: 0;
      background: rgba(15, 23, 42, 0.4);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 9999;
      display: flex; align-items: center; justify-content: center; padding: 1rem;
    }
    .vol-overlay.hidden { display: none; }
    /* modal */
    .vol-modal {
      background: #fff;
      border-radius: 20px;
      padding: 1.75rem;
      width: 100%; max-width: 520px;
      max-height: 92vh; overflow-y: auto;
      box-shadow: var(--shadow-lg);
      animation: volSlideUp .22s cubic-bezier(.16,1,.3,1);
    }
    .vol-modal::-webkit-scrollbar { width: 5px; }
    .vol-modal::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
    @keyframes volSlideUp { from { transform: translateY(24px); opacity:0; } to { transform: translateY(0); opacity:1; } }
    /* header */
    .vol-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
    .vol-modal-title { font-size: 1.1rem; font-weight: 800; color: #1e293b; }
    .vol-close-btn {
      background: #f1f5f9; border: none; color: #94a3b8;
      font-size: .95rem; cursor: pointer; padding: .3rem .55rem; border-radius: 8px;
      transition: background .15s, color .15s;
    }
    .vol-close-btn:hover { background: #e2e8f0; color: #475569; }
    /* form elements */
    .vol-label { font-size: .78rem; color: #64748b; margin-bottom: .4rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
    .vol-section { margin-bottom: 1.2rem; }
    .vol-score-input {
      width: 100%; padding: .65rem 1rem;
      background: #f8fafc; border: 1.5px solid #e2e8f0;
      border-radius: 10px; color: #1e293b; font-size: 1rem; font-weight: 700; outline: none;
      box-sizing: border-box; transition: border-color .2s, box-shadow .2s;
    }
    .vol-score-input:focus { border-color: #f43f5e; box-shadow: 0 0 0 3px rgba(244,63,94,.1); background: #fff; }
    .vol-score-input::placeholder { color: #94a3b8; font-weight: 400; }
    .vol-submit-btn {
      width: 100%; padding: .75rem;
      background: linear-gradient(135deg, #f43f5e, #fb7185);
      color: #fff; border: none; border-radius: 12px; font-size: .95rem; font-weight: 700;
      cursor: pointer; margin-top: .4rem;
      box-shadow: 0 4px 14px rgba(244,63,94,.3);
      transition: opacity .15s, transform .15s;
    }
    .vol-submit-btn:hover { opacity: .9; transform: translateY(-1px); }
    /* rank card */
    .vol-rank-card {
      background: linear-gradient(135deg, #fff1f2, #ffe4e6);
      border-radius: 14px; text-align: center;
      padding: 1.25rem 1rem; margin-bottom: 1.25rem;
    }
    .vol-rank-label { font-size: .75rem; color: #94a3b8; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
    .vol-rank-num { font-size: 2.4rem; font-weight: 900; line-height: 1.15; background: linear-gradient(135deg, #f43f5e, #fb7185); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .vol-rank-sub { font-size: .78rem; color: #94a3b8; margin-top: .3rem; }
    /* shared tags */
    .vol-tong-score { color: #94a3b8; font-size: .78rem; }
    .vol-dir-badge {
      background: var(--rose-bg); color: #f43f5e;
      border: 1px solid var(--rose-bd); border-radius: 1rem;
      padding: .1rem .5rem; font-size: .72rem;
    }
    .vol-dir-ok {
      background: #f0fdf4; color: #16a34a;
      border: 1px solid #bbf7d0; border-radius: 1rem;
      padding: .1rem .5rem; font-size: .72rem; font-weight: 700;
    }
    /* upgrade box */
    .vol-upgrade-box { text-align: center; padding: 2.5rem 1rem; }
    .vol-upgrade-icon { font-size: 3rem; margin-bottom: .75rem; }
    .vol-upgrade-title { font-size: 1.05rem; font-weight: 800; color: #1e293b; margin-bottom: .5rem; }
    .vol-upgrade-desc { color: #64748b; font-size: .87rem; margin-bottom: 1.4rem; line-height: 1.75; }
    /* back button */
    .vol-result-actions { text-align: center; margin-top: 1.2rem; }
    .btn-vol-back {
      background: #f8fafc; border: 1.5px solid #e2e8f0; color: #64748b;
      border-radius: 8px; padding: .45rem 1.4rem; cursor: pointer; font-size: .85rem;
      font-weight: 600; transition: background .15s, color .15s, border-color .15s;
    }
    .btn-vol-back:hover { background: #f1f5f9; color: #334155; border-color: #cbd5e1; }
    .vol-card-backup { border-left: 3px solid #93c5fd !important; }
    /* diff label */
    .vol-diff { font-size: .72rem; border-radius: 1rem; padding: .1rem .45rem; font-weight: 600; }
    .vol-diff-above { background: #f0fdf4; color: #16a34a; }
    .vol-diff-below { background: var(--rose-bg); color: #f43f5e; }
    /* empty tip */
    .vol-empty-tip { color: #94a3b8; font-size: .82rem; padding: .4rem 0; }
    /* advice box */
    .vol-advice {
      background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px;
      padding: .75rem 1rem; font-size: .84rem; color: #92400e;
      margin-bottom: 1.2rem; line-height: 1.6;
    }
    .vol-advice-warn {
      background: var(--rose-bg); border-color: var(--rose-bd); color: #be123c;
    }
    /* ── 志愿方案 Tabs ─────────────────────────────────── */
    .plan-tabs { display: flex; gap: .4rem; margin-bottom: 1rem; }
    .plan-tab-btn {
      flex: 1; padding: .5rem .8rem; border-radius: 10px;
      border: 1.5px solid #e2e8f0;
      background: #f8fafc; color: #94a3b8; font-size: .82rem; font-weight: 600;
      cursor: pointer; transition: background .15s, color .15s, border-color .15s;
      display: flex; align-items: center; justify-content: center; gap: .3rem;
    }
    .plan-tab-btn:hover { background: var(--rose-bg); color: #fb7185; border-color: var(--rose-bd); }
    .plan-tab-btn.active-recommend { background: var(--rose-bg); color: #f43f5e; border-color: var(--rose-bd); font-weight: 700; }
    .plan-tab-btn.active-custom    { background: #fffbeb; color: #d97706; border-color: #fde68a; font-weight: 700; }
    .plan-panel { display: none; }
    .plan-panel.active { display: block; }
    .plan-badge { font-size: .68rem; border-radius: 1rem; padding: .1rem .4rem; font-weight: 800; }
    .plan-tab-btn.plan-tab-locked {
      opacity: .45; cursor: not-allowed; color: #cbd5e1; border-color: #e2e8f0;
    }
    .plan-tab-btn.plan-tab-locked:hover { background: #f8fafc; color: #cbd5e1; border-color: #e2e8f0; }
    .plan-cfg-toggle {
      display: flex; align-items: center; gap: .5rem;
      margin-bottom: .55rem; font-size: .8rem; color: #94a3b8;
    }
    .toggle-switch {
      position: relative; display: inline-block; width: 34px; height: 19px; flex-shrink: 0;
    }
    .toggle-switch input { opacity: 0; width: 0; height: 0; }
    .toggle-slider {
      position: absolute; cursor: pointer; inset: 0;
      background: #cbd5e1; border-radius: 20px; transition: background .2s;
    }
    .toggle-slider:before {
      content: ''; position: absolute; height: 13px; width: 13px;
      left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform .2s;
    }
    .toggle-switch input:checked + .toggle-slider { background: #f43f5e; }
    .toggle-switch input:checked + .toggle-slider:before { transform: translateX(15px); }
    .custom-params-form {
      background: #fffbeb; border: 1.5px solid #fde68a; border-radius: 10px;
      padding: .9rem 1rem; margin-bottom: .8rem;
    }
    .custom-params-form h4 { font-size: .82rem; font-weight: 700; color: #92400e; margin: 0 0 .7rem; }
    .custom-param-row {
      display: flex; align-items: center; gap: .4rem;
      margin-bottom: .5rem; font-size: .8rem; color: #78350f;
    }
    .custom-param-row label { width: 6.5rem; flex-shrink: 0; }
    .custom-param-row input[type=number] {
      width: 3.5rem; padding: .25rem .35rem; border: 1px solid #fde68a;
      border-radius: 6px; font-size: .8rem; text-align: center;
      background: #fff; color: #1c1917; outline: none;
    }
    /* ── 2026中考日程时间线 ── */
    .tl-phase-badge {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 5px 13px; border-radius: 999px;
      font-size: .75rem; font-weight: 700;
      border: 1.5px solid #fecdd3; flex-shrink: 0;
      white-space: nowrap;
    }
    .tl-badge-dot {
      width: 7px; height: 7px; border-radius: 50%;
      display: inline-block; flex-shrink: 0;
      animation: tl-pulse 1.8s ease-in-out infinite;
    }
    @keyframes tl-pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: .45; transform: scale(.65); }
    }
    .tl-progress-wrap { padding: 0 2px; }
    .tl-progress-labels {
      display: flex; justify-content: space-between;
      font-size: .68rem; color: #94a3b8; margin-bottom: 5px;
    }
    .tl-progress-track {
      height: 6px; background: #f1f5f9; border-radius: 3px; overflow: hidden;
    }
    .tl-progress-fill {
      height: 100%; background: linear-gradient(90deg, #f43f5e, #fb7185);
      border-radius: 3px; transition: width 1.2s cubic-bezier(.16,1,.3,1);
    }
    .tl-list { display: flex; flex-direction: column; }
    .tl-phase { display: flex; align-items: flex-start; gap: 10px; }
    .tl-phase-left {
      display: flex; flex-direction: column; align-items: center;
      flex-shrink: 0; width: 38px;
    }
    .tl-phase-dot {
      width: 36px; height: 36px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      border: 2.5px solid; flex-shrink: 0; z-index: 1;
      font-weight: 700;
    }
    .tl-phase-line {
      width: 2px; flex: 1; min-height: 12px;
      margin: 3px 0; border-radius: 1px;
    }
    .tl-phase-body {
      flex: 1; padding: .65rem .9rem;
      border-radius: 12px; border: 1.5px solid transparent;
      margin-bottom: 6px; min-width: 0;
      transition: all .2s;
    }
    .tl-past .tl-phase-body { opacity: .5; }
    .tl-phase-head { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
    .tl-phase-label { font-size: .88rem; font-weight: 700; color: #1e293b; }
    .tl-label-past { color: #94a3b8 !important; text-decoration: line-through; }
    .tl-phase-period { font-size: .73rem; color: #64748b; }
    .tl-period-past { color: #cbd5e1 !important; }
    .tl-days-tag {
      font-size: .68rem; color: #64748b;
      background: #f1f5f9; border-radius: 999px;
      padding: 2px 8px; font-weight: 600; margin-left: auto;
      white-space: nowrap;
    }
    .tl-days-current {
      font-size: .68rem; color: #f43f5e;
      background: #fff1f2; border-radius: 999px;
      padding: 2px 8px; font-weight: 700; margin-left: auto;
      white-space: nowrap;
    }
    .tl-tip {
      font-size: .77rem; margin-top: .45rem; font-weight: 500;
      line-height: 1.55;
    }
    .tl-sub-items { margin-top: .5rem; display: flex; flex-direction: column; gap: .3rem; }
    .tl-sub-item {
      display: flex; align-items: flex-start; gap: .5rem;
      font-size: .77rem; color: #475569;
    }
    .tl-sub-date {
      white-space: nowrap; font-weight: 600; color: #94a3b8;
      flex-shrink: 0; padding-top: .05rem; min-width: 90px;
    }
    .tl-sub-text { line-height: 1.5; }
    .tl-sub-important .tl-sub-date { color: #f43f5e; }
    .tl-sub-important .tl-sub-text { font-weight: 600; color: #1e293b; }
    @media (max-width: 480px) {
      .tl-sub-item { flex-direction: column; gap: .1rem; }
      .tl-sub-date { min-width: unset; }
    }
    .custom-param-row input[type=number]:focus { border-color: #f59e0b; }
    .custom-param-row span { color: #a16207; }
    .btn-custom-calc {
      display: inline-flex; align-items: center; gap: .4rem;
      background: linear-gradient(135deg, #d97706, #f59e0b);
      color: #fff; border: none; border-radius: 8px;
      padding: .5rem 1rem; font-size: .83rem; font-weight: 600;
      cursor: pointer; margin-top: .3rem; transition: opacity .15s;
    }
    .btn-custom-calc:hover { opacity: .88; }

    /* AI 建议 */
    .btn-ai-advice {
      display: inline-flex; align-items: center; gap: .45rem;
      background: linear-gradient(135deg, #7c3aed, #a855f7);
      color: #fff; border: none; border-radius: 10px;
      padding: .55rem 1.1rem; font-size: .88rem; font-weight: 600;
      cursor: pointer; transition: opacity .15s, transform .15s;
      box-shadow: 0 3px 12px rgba(124,58,237,.25);
    }
    .btn-ai-advice:hover { opacity: .9; transform: translateY(-1px); }
    .btn-ai-advice:disabled { opacity: .5; cursor: not-allowed; transform: none; }
    .vol-ai-panel {
      margin-top: 1rem; background: #faf5ff;
      border: 1px solid #e9d5ff; border-radius: 12px;
      padding: 1rem 1.1rem; font-size: .87rem; line-height: 1.8;
      color: #3b0764; min-height: 2.5rem;
    }
    .vol-ai-panel h3 {
      font-size: .9rem; font-weight: 700; color: #5b21b6;
      margin: .9rem 0 .3rem; padding-bottom: .2rem;
      border-bottom: 1px solid #ede9fe;
    }
    .vol-ai-panel h3:first-child { margin-top: 0; }
    .vol-ai-panel.vip-panel-hint { background: #f8fafc; border-color: #e2e8f0; color: #64748b; text-align: center; }
    .vol-ai-panel ul { margin: .3rem 0 .5rem 1.2rem; padding: 0; }
    .vol-ai-panel li { margin-bottom: .25rem; }
    .vol-ai-panel p  { margin: .35rem 0; }
    .vol-ai-panel strong { color: #4c1d95; font-weight: 700; }
    .vol-ai-panel .ai-cursor {
      display: inline-block; width: 2px; height: 1em;
      background: #7c3aed; animation: blink .7s steps(1) infinite;
      vertical-align: text-bottom; margin-left: 1px;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
    /* ── 8槽志愿布局 ── */
    .vol-groups { display: flex; flex-direction: column; gap: .6rem; }
    .vol-group { border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; }
    .vol-group-hd {
      display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .7rem;
      padding: .55rem .9rem; font-size: .82rem;
    }
    .vol-group-title { font-weight: 800; font-size: .88rem; }
    .vol-group-desc  { color: #64748b; font-size: .78rem; flex: 1; }
    .vol-group-note  { font-size: .72rem; font-style: italic; }
    .vol-group-reach  .vol-group-hd { background: #fff1f2; border-bottom: 1px solid #fecdd3; }
    .vol-group-stable .vol-group-hd { background: #f0fdf4; border-bottom: 1px solid #bbf7d0; }
    .vol-group-safe   .vol-group-hd { background: #fffbeb; border-bottom: 1px solid #fde68a; }
    .vol-group-base   .vol-group-hd { background: #eff6ff; border-bottom: 1px solid #bfdbfe; }
    .vol-group-reach  .vol-group-title { color: #f43f5e; }
    .vol-group-stable .vol-group-title { color: #16a34a; }
    .vol-group-safe   .vol-group-title { color: #d97706; }
    .vol-group-base   .vol-group-title { color: #3b82f6; }
    .vol-group-reach  .vol-group-note  { color: #fda4af; }
    .vol-group-stable .vol-group-note  { color: #86efac; }
    .vol-group-safe   .vol-group-note  { color: #fcd34d; }
    .vol-group-base   .vol-group-note  { color: #93c5fd; }
    .vol-group-body { background: #fff; padding: .3rem .45rem; }
    .vol-slot-row {
      display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
      padding: .4rem .5rem; border-radius: 8px;
      margin-bottom: .12rem; font-size: .84rem;
      transition: background .12s;
    }
    .vol-slot-row:last-child { margin-bottom: 0; }
    .vol-slot-row:hover { background: #f8fafc; }
    .vol-slot-empty { opacity: .4; }
    .vol-slot-badge {
      width: 30px; height: 20px; border-radius: 5px;
      font-size: .7rem; font-weight: 900; letter-spacing: .03em;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .vol-badge-reach  { background: #fff1f2; color: #f43f5e; border: 1px solid #fecdd3; }
    .vol-badge-stable { background: #f0fdf4; color: #16a34a; border: 1px solid #86efac; }
    .vol-badge-safe   { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
    .vol-badge-base   { background: #eff6ff; color: #3b82f6; border: 1px solid #93c5fd; }
    .vol-slot-name { font-weight: 700; color: #1e293b; flex: 1; min-width: 80px; }
    .vol-slot-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
    /* ── 中考倒计时 ── */
    .countdown-bar {
      display: inline-flex; align-items: center; gap: 10px;
      background: #fff; border: 1.5px solid #e2e8f0; border-radius: 999px;
      padding: 9px 22px; font-size: 14px; color: #475569;
      box-shadow: var(--shadow-sm);
    }
    .countdown-bar .cd-icon { font-size: 15px; }
    .countdown-bar .cd-days {
      font-size: 1.85rem; font-weight: 900; line-height: 1;
      background: linear-gradient(135deg, #f43f5e, #fb7185);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .countdown-bar .cd-unit { font-size: 12px; color: #94a3b8; }
    .countdown-bar .cd-track-wrap { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 120px; }
    .countdown-bar .cd-track { flex: 1; height: 5px; background: #e2e8f0; border-radius: 3px; overflow: hidden; }
    .countdown-bar .cd-track-fill {
      height: 100%; border-radius: 3px;
      background: linear-gradient(90deg, #f43f5e, #fb7185);
      transition: width 0.5s ease;
    }
    .countdown-bar .cd-pct { font-size: 11px; color: #94a3b8; font-weight: 600; white-space: nowrap; }
    /* 暖心文案：单独成行，柔和小字 + 呼吸光晕 */
    .countdown-warm-wrap {
      margin-top: 8px; text-align: center;
      animation: cd-warm-fade 1.2s ease both;
    }
    .countdown-warm-wrap .cd-warm {
      display: inline-block;
      font-size: 13px; line-height: 1.5;
      color: #6b7280; font-weight: 500;
      padding: 6px 16px;
      background: linear-gradient(90deg, rgba(254, 215, 226, 0.6), rgba(255, 237, 213, 0.6), rgba(219, 234, 254, 0.6));
      border-radius: 999px;
      border: 1px solid rgba(251, 113, 133, 0.15);
      box-shadow: 0 2px 8px rgba(251, 113, 133, 0.08);
      transition: opacity 0.6s ease;
    }
    .countdown-warm-wrap .cd-warm:hover {
      color: #be185d;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(251, 113, 133, 0.18);
    }
    @keyframes cd-warm-fade {
      0%   { opacity: 0; transform: translateY(4px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    .countdown-bar.cd-done { border-color: #bbf7d0; }
    .countdown-bar.cd-done .cd-days {
      background: linear-gradient(135deg, #22c55e, #16a34a);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }

    /* ── 统计卡片 图标徽章 ── */
    .stat-card-icon {
      width: 36px; height: 36px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; margin-bottom: .75rem; flex-shrink: 0;
    }

    /* ── 高中筛选 pill chips ── */
    .school-chips-wrap {
      display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
      padding: .6rem 0;
    }
    .school-chips-label {
      font-size: .75rem; color: #94a3b8; font-weight: 600;
      letter-spacing: .04em; text-transform: uppercase;
      padding-right: .4rem; white-space: nowrap; align-self: center;
    }
    .school-chip {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 5px 12px; border-radius: 999px;
      border: 1.5px solid #e2e8f0; background: #fff;
      cursor: pointer; font-size: .8rem; font-weight: 500;
      color: #64748b; transition: all .15s; user-select: none;
      position: relative;
    }
    .school-chip:hover { border-color: #cbd5e1; background: #f8fafc; }
    .school-chip input[type=checkbox] {
      position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none;
    }
    .school-chip-dot {
      width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
      opacity: .4; transition: opacity .15s;
    }
    .school-chip:has(input:checked) {
      border-color: var(--chip-color, #94a3b8);
      background: color-mix(in srgb, var(--chip-color, #94a3b8) 9%, white);
      color: var(--chip-color, #475569);
    }
    .school-chip:has(input:checked) .school-chip-dot { opacity: 1; }

    /* ── 表格优化 ── */
    #comparisonTable thead tr {
      border-bottom: 2px solid #e2e8f0;
    }
    #comparisonTable thead th {
      font-size: .75rem; font-weight: 700; color: #64748b;
      letter-spacing: .04em; text-transform: uppercase;
      padding: .85rem 1rem; background: #f8fafc;
    }
    #comparisonTable thead th:first-child { border-radius: 8px 0 0 0; }
    #comparisonTable thead th:last-child  { border-radius: 0 8px 0 0; }
    #comparisonTable tbody td {
      padding: .75rem 1rem; border-bottom: 1px solid #f1f5f9;
      font-size: .88rem; vertical-align: middle;
    }
    #comparisonTable tbody tr:last-child td { border-bottom: none; }
    #comparisonTable tbody tr:hover td { background: #fff8f9; }

    /* ── 洞察双列布局 ── */
    #insightsList {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: .75rem;
    }
    @media (max-width: 640px) {
      #insightsList { grid-template-columns: 1fr; }
    }
    #insightsList > div {
      border-radius: 12px !important;
      padding: 1rem !important;
    }

    /* ── 分隔线 ── */
    .section-divider {
      height: 1px; background: #f1f5f9; margin: 0;
    }

    /* ── 截止线信息 badge ── */
    #cutoff-info span {
      display: inline-flex; align-items: center; gap: 5px;
      background: #f8fafc; border: 1px solid #e2e8f0;
      border-radius: 999px; padding: 4px 12px;
      font-size: .8rem; color: #475569; font-weight: 500;
    }

    /* ── AI 客服悬浮球 & 聊天窗口 ── */
    .cs-fab {
      position: fixed; right: 22px; bottom: 28px; z-index: 9000;
      width: 56px; height: 56px; border-radius: 50%;
      background: #fff1f2;
      box-shadow: 0 4px 20px rgba(244,63,94,.45), 0 0 0 3px #f43f5e;
      border: none; cursor: pointer; padding: 0;
      transition: transform .2s, box-shadow .2s;
    }
    .cs-fab > svg { width: 56px; height: 56px; display: block; border-radius: 50%; }
    .cs-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(244,63,94,.55), 0 0 0 3px #f43f5e; }
    .cs-fab .cs-badge {
      position: absolute; top: -3px; right: -3px;
      width: 16px; height: 16px; border-radius: 50%;
      background: #22c55e; border: 2px solid #fff;
      animation: cs-pulse 2s ease-in-out infinite;
    }
    @keyframes cs-pulse {
      0%,100% { transform: scale(1); opacity:1; }
      50%      { transform: scale(1.3); opacity:.7; }
    }

    .cs-window {
      position: fixed; right: 22px; bottom: 94px; z-index: 8999;
      width: 340px; max-width: calc(100vw - 32px);
      background: #fff; border-radius: 20px;
      box-shadow: 0 12px 48px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.06);
      display: flex; flex-direction: column;
      overflow: hidden;
      transform-origin: bottom right;
      transition: transform .25s cubic-bezier(.16,1,.3,1), opacity .2s;
    }
    .cs-window.cs-hidden {
      transform: scale(.85) translateY(12px);
      opacity: 0; pointer-events: none;
    }

    .cs-header {
      background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
      padding: 14px 16px;
      display: flex; align-items: center; gap: 10px;
      flex-shrink: 0;
    }
    .cs-avatar {
      width: 36px; height: 36px; border-radius: 50%;
      overflow: hidden; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .cs-avatar > svg { width: 36px; height: 36px; display: block; }
    .cs-header-info { flex: 1; }
    .cs-name { font-size: .9rem; font-weight: 700; color: #fff; line-height: 1.2; }
    .cs-status { font-size: .7rem; color: rgba(255,255,255,.8); }
    .cs-close-btn {
      background: rgba(255,255,255,.2); border: none; border-radius: 50%;
      width: 28px; height: 28px; cursor: pointer; color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: .85rem; flex-shrink: 0;
      transition: background .15s;
    }
    .cs-close-btn:hover { background: rgba(255,255,255,.35); }

    .cs-messages {
      flex: 1; overflow-y: auto; padding: 14px 14px 8px;
      display: flex; flex-direction: column; gap: 10px;
      min-height: 280px; max-height: 360px;
      scroll-behavior: smooth;
    }
    .cs-messages::-webkit-scrollbar { width: 4px; }
    .cs-messages::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 2px; }

    .cs-bubble-wrap {
      display: flex; align-items: flex-end; gap: 7px;
    }
    .cs-bubble-wrap.cs-user { flex-direction: row-reverse; }
    .cs-bubble-avatar {
      width: 26px; height: 26px; border-radius: 50%;
      background: #fff1f2; display: flex; align-items: center;
      justify-content: center; font-size: .8rem; flex-shrink: 0;
      border: 1.5px solid #fecdd3; overflow: hidden;
    }
    .cs-bubble-avatar > svg { width: 26px; height: 26px; display: block; }
    .cs-bubble {
      max-width: 78%; padding: 9px 12px;
      border-radius: 16px; font-size: .82rem;
      line-height: 1.6; word-break: break-word;
    }
    .cs-bubble-wrap:not(.cs-user) .cs-bubble {
      background: #f8fafc; color: #1e293b;
      border-bottom-left-radius: 4px;
    }
    .cs-bubble-wrap.cs-user .cs-bubble {
      background: linear-gradient(135deg, #f43f5e, #fb7185);
      color: #fff; border-bottom-right-radius: 4px;
    }
    .cs-cursor {
      display: inline-block; width: 2px; height: 1em;
      background: #f43f5e; vertical-align: text-bottom;
      animation: cs-blink .6s step-end infinite;
      margin-left: 1px;
    }
    @keyframes cs-blink { 0%,100%{opacity:1} 50%{opacity:0} }

    .cs-quick-btns {
      padding: 6px 14px 0;
      display: flex; flex-wrap: wrap; gap: 6px;
    }
    .cs-quick-btn {
      font-size: .72rem; padding: 4px 10px; border-radius: 999px;
      border: 1.5px solid #fecdd3; background: #fff1f2;
      color: #f43f5e; cursor: pointer; white-space: nowrap;
      transition: background .15s;
    }
    .cs-quick-btn:hover { background: #fecdd3; }

    .cs-input-row {
      padding: 10px 12px;
      display: flex; gap: 8px; align-items: flex-end;
      border-top: 1px solid #f1f5f9; flex-shrink: 0;
    }
    .cs-input {
      flex: 1; border: 1.5px solid #e2e8f0; border-radius: 12px;
      padding: 8px 12px; font-size: .83rem; color: #1e293b;
      resize: none; outline: none; font-family: inherit;
      max-height: 100px; min-height: 36px; line-height: 1.5;
      transition: border-color .2s;
    }
    .cs-input:focus { border-color: #f43f5e; }
    .cs-send-btn {
      width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
      background: linear-gradient(135deg, #f43f5e, #fb7185);
      border: none; color: #fff; cursor: pointer; font-size: .9rem;
      display: flex; align-items: center; justify-content: center;
      transition: opacity .15s, transform .15s;
    }
    .cs-send-btn:hover { opacity: .88; transform: scale(1.06); }
    .cs-send-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

    @media (max-width: 400px) {
      .cs-window { right: 12px; bottom: 84px; width: calc(100vw - 24px); }
      .cs-fab { right: 16px; bottom: 20px; }
    }
  

    /* ── 白噪音小窗 ── */
    .wn-fab {
      position: fixed; left: 24px; bottom: 24px; z-index: 9990;
      width: 56px; height: 56px; border-radius: 50%;
      background: linear-gradient(135deg, #fb7185, #f43f5e);
      border: none; cursor: pointer; outline: none;
      box-shadow: 0 8px 24px rgba(244, 63, 94, 0.35), 0 2px 6px rgba(244, 63, 94, 0.2);
      display: flex; align-items: center; justify-content: center;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      animation: wn-fab-pulse 3s ease-in-out infinite;
    }
    .wn-fab:hover {
      transform: translateY(-2px) scale(1.05);
      box-shadow: 0 12px 32px rgba(244, 63, 94, 0.45), 0 4px 8px rgba(244, 63, 94, 0.25);
    }
    .wn-fab-icon { font-size: 26px; line-height: 1; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15)); }
    @keyframes wn-fab-pulse {
      0%, 100% { box-shadow: 0 8px 24px rgba(244, 63, 94, 0.35), 0 0 0 0 rgba(244, 63, 94, 0.4); }
      50%      { box-shadow: 0 8px 24px rgba(244, 63, 94, 0.35), 0 0 0 12px rgba(244, 63, 94, 0); }
    }
    .wn-fab.is-playing { animation: none; background: linear-gradient(135deg, #10b981, #059669); }
    .wn-fab.is-playing:hover { box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5); }

    .wn-panel {
      position: fixed; left: 24px; bottom: 92px; z-index: 9991;
      width: 280px; padding: 0;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(251, 113, 133, 0.18);
      border-radius: 18px;
      box-shadow: 0 16px 48px rgba(244, 63, 94, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
      opacity: 0; transform: translateY(10px) scale(0.96); transform-origin: left bottom;
      pointer-events: none; transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .wn-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

    .wn-panel-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 14px 16px 10px;
      border-bottom: 1px dashed rgba(251, 113, 133, 0.2);
    }
    .wn-panel-title { font-size: 14px; font-weight: 700; color: #1e293b; }
    .wn-close {
      background: transparent; border: none; cursor: pointer;
      width: 24px; height: 24px; border-radius: 50%;
      font-size: 18px; line-height: 1; color: #94a3b8;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.15s ease, color 0.15s ease;
    }
    .wn-close:hover { background: #fef2f2; color: #f43f5e; }

    .wn-tracks { display: flex; flex-direction: column; padding: 8px; gap: 4px; }
    .wn-track {
      display: flex; align-items: center; gap: 10px;
      padding: 10px 12px; border-radius: 12px;
      background: transparent; border: 1.5px solid transparent;
      cursor: pointer; outline: none; text-align: left;
      transition: background 0.15s ease, border-color 0.15s ease;
      font-family: inherit;
    }
    .wn-track:hover { background: #fef6f5; }
    .wn-track.is-playing { background: linear-gradient(90deg, #fff1f2, #fef6f5); border-color: rgba(251, 113, 133, 0.35); }
    .wn-track-ico { font-size: 20px; width: 28px; text-align: center; }
    .wn-track-name { flex: 1; font-size: 13px; font-weight: 600; color: #475569; }
    .wn-track.is-playing .wn-track-name { color: #be123c; }
    .wn-track-vol { display: flex; align-items: center; gap: 2px; height: 12px; }
    .wn-track-vol i {
      display: inline-block; width: 3px; height: 100%; background: #cbd5e1; border-radius: 2px;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    .wn-track.is-playing .wn-track-vol i { background: linear-gradient(180deg, #fb7185, #f43f5e); animation: wn-bar 1.1s ease-in-out infinite; }
    .wn-track.is-playing .wn-track-vol i:nth-child(1) { animation-delay: 0s; }
    .wn-track.is-playing .wn-track-vol i:nth-child(2) { animation-delay: 0.2s; }
    .wn-track.is-playing .wn-track-vol i:nth-child(3) { animation-delay: 0.4s; }
    .wn-track.is-playing .wn-track-vol i:nth-child(4) { animation-delay: 0.15s; }
    @keyframes wn-bar {
      0%, 100% { transform: scaleY(0.4); }
      50%      { transform: scaleY(1.6); }
    }

    .wn-empty {
      padding: 16px 14px; text-align: center;
      color: #94a3b8; font-size: 12px; line-height: 1.7;
    }
    .wn-empty code {
      background: #fef6f5; color: #be123c; padding: 1px 6px; border-radius: 4px;
      font-size: 11px;
    }
    .wn-empty-hint { margin-top: 4px; }

    .wn-panel-footer {
      display: flex; align-items: center; justify-content: space-between;
      padding: 10px 14px 12px;
      border-top: 1px dashed rgba(251, 113, 133, 0.2);
    }
    .wn-tip { font-size: 11px; color: #94a3b8; }
    .wn-stop-all {
      background: #fef2f2; color: #f43f5e; border: 1px solid #fecdd3;
      padding: 4px 10px; border-radius: 999px;
      font-size: 11px; font-weight: 600; cursor: pointer; outline: none;
      transition: background 0.15s ease;
    }
    .wn-stop-all:hover { background: #fecdd3; }

    /* ═══════════════════════════════════════════════════════════
       Hero 区块 — PC 端全新视觉设计
    ═══════════════════════════════════════════════════════════ */
    .hero-section {
      position: relative;
      margin-bottom: 2.5rem;
      border-radius: 24px;
      overflow: hidden;
      /* 蜜桃奶油渐变背景 */
      background:
        radial-gradient(ellipse 70% 80% at 10% 50%, rgba(255,200,215,.55) 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 90% 20%, rgba(255,237,213,.7)  0%, transparent 55%),
        linear-gradient(145deg, #fff7f0 0%, #fff1f5 50%, #fef6ff 100%);
      border: 1px solid rgba(244,63,94,.1);
      box-shadow: 0 8px 40px rgba(244,63,94,.08), 0 2px 8px rgba(244,63,94,.04);
    }
    /* 装饰光晕 */
    .hero-section::before {
      content: '';
      position: absolute; inset: 0; pointer-events: none;
      background:
        radial-gradient(circle 280px at 85% 15%, rgba(251,146,60,.12) 0%, transparent 70%),
        radial-gradient(circle 200px at 15% 80%, rgba(244,63,94,.1) 0%, transparent 70%);
    }
    .hero-inner {
      position: relative; z-index: 1;
      display: flex; flex-direction: column; align-items: center;
      text-align: center;
      padding: 3.5rem 2rem 2.8rem;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: .45rem;
      background: #fff; border: 1.5px solid #fecdd3;
      border-radius: 999px; padding: .3rem 1rem;
      font-size: .78rem; font-weight: 700; color: #f43f5e;
      margin-bottom: 1.4rem;
      box-shadow: 0 2px 8px rgba(244,63,94,.12);
    }
    .hero-title {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 900; line-height: 1.15;
      color: #0f172a; margin-bottom: .75rem;
      letter-spacing: -.02em;
    }
    .hero-sub {
      font-size: .95rem; color: #64748b; line-height: 1.75;
      max-width: 26rem; margin-bottom: 1.8rem;
    }
    .hero-actions { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-bottom: 1.6rem; }
    .hero-hint { font-size: .75rem; color: #94a3b8; }
    .hero-countdown { width: 100%; display: flex; flex-direction: column; align-items: center; }

    /* ── 移动端 hero 紧凑版 ── */
    @media (max-width: 768px) {
      .hero-section { border-radius: 16px; margin-bottom: 1.5rem; }
      .hero-inner { padding: 2.2rem 1.2rem 2rem; }
      .hero-title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
    }

    /* ── 未登录无侧边栏时：#app 本身居中 ── */
    @media (min-width: 769px) {
      body:not(.has-sidebar) #app { padding-top: 2.5rem !important; }
    }

    @media (max-width: 480px) {
      .wn-panel { left: 12px; right: 12px; width: auto; }
      .wn-fab { left: 16px; bottom: 16px; }
    }