/* ==========================================
   【原始代码区】100% 保留，未做任何修改
   ========================================== */
:root{font-family:"Microsoft YaHei","Segoe UI",Arial,sans-serif;color:#14294c;background:#fff}

[data-theme="dark"]{--bg:#0d1b2a;--text:#e6e9ef;--pill-bg:#1a2744;--border:#2a3a5c;--left-bg:linear-gradient(145deg,#132238 0%,#111d30 65%,#0f1a28 100%);--shadow:0 2px 10px rgba(0,0,0,.35)}
[data-theme="dark"] body{background:var(--bg);color:var(--text)}
[data-theme="dark"] .topbar{background:var(--bg);border-color:var(--border)}
[data-theme="dark"] .system-pill{background:var(--pill-bg);border-color:var(--border);color:var(--text)}
[data-theme="dark"] .ip-tag{background:var(--pill-bg);border-color:var(--border);color:var(--text)}
[data-theme="dark"] .ip-welcome b{color:var(--primary)}
[data-theme="dark"] .dark-toggle{background:var(--pill-bg);border-color:var(--border);color:var(--text)}
[data-theme="dark"] .dark-toggle:hover{border-color:var(--primary);color:var(--primary)}
[data-theme="dark"] .intro-panel{background:var(--left-bg)}
[data-theme="dark"] .intro-panel p{color:var(--muted)}
[data-theme="dark"] .choice{background:var(--card-bg);border-color:var(--card-border);box-shadow:var(--shadow)}
[data-theme="dark"] .choice:hover{border-color:var(--primary)}
[data-theme="dark"] .choice small{color:var(--muted)}
[data-theme="dark"] .brand>img{filter:invert(1) hue-rotate(180deg)}
[data-theme="dark"] .utility a{background:var(--pill-bg);border-color:var(--border);color:var(--text)}
[data-theme="dark"] .utility a:hover{background:var(--card-bg);border-color:var(--primary);color:var(--primary)}
[data-theme="dark"] .utility{color:var(--text)}
[data-theme="dark"] .legal{border-color:var(--border);color:var(--muted)}
[data-theme="dark"] .legal a{color:var(--primary)}
[data-theme="dark"] .store-note-panel{background:var(--card-bg);border-color:var(--border)}
[data-theme="dark"] .store-note-panel h2{color:var(--text)}
[data-theme="dark"] .store-note-panel p{color:var(--muted)}
[data-theme="dark"] .store-note-close{background:var(--pill-bg);color:var(--text)}
[data-theme="dark"] .store-note{background:rgba(5,10,20,.7)}
[data-theme="dark"] .accent-line{background:var(--primary)}
[data-theme="dark"] .status-dot{background:#35b583}
*{box-sizing:border-box}
html,body{margin:0;min-width:320px}
body{min-height:100vh;display:flex;flex-direction:column;overflow-x:hidden}
a{text-decoration:none}
.topbar{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;padding:26px clamp(32px,5.84vw,112px);position:relative;z-index:1}
.site-name{font-size:30px;font-weight:800;letter-spacing:.05em;color:#086be5;white-space:nowrap}
.site-name span{font-size:25px;font-weight:600;letter-spacing:0;color:#365e91;margin-left:18px}
.system-pill{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 22px;background:#eaf4ff;color:#174f8f;border:1px solid #d6e9ff;border-radius:22px;font-size:15px;font-weight:650;white-space:nowrap}
#country-flag{width:24px;height:18px;flex:0 0 24px;display:inline-flex;align-items:center;justify-content:center;font-size:18px;line-height:1}
#country-flag img{display:block;width:24px;height:18px;object-fit:cover;border:1px solid rgba(36,70,110,.18);border-radius:2px}
.status-dot{width:7px;height:7px;flex:0 0 7px;background:#35b583;border-radius:50%}
.hero-layout{flex:1;min-height:460px;display:grid;grid-template-columns:34% 66%;position:relative;align-items:stretch}
.intro-panel{position:relative;display:flex;align-items:center;background:linear-gradient(145deg,#eaf4ff 0%,#e9f3ff 65%,#f1f8ff 100%);margin-top:-72px;padding:72px clamp(30px,3.3vw,64px) 0 clamp(42px,6.77vw,130px)}
.intro-content{max-width:460px}
.accent-line{width:54px;height:5px;background:#0877f5;border-radius:4px;margin-bottom:27px}
.intro-panel h1{font-size:clamp(34px,2.4vw,46px);line-height:1.35;margin:0 0 24px;font-weight:800;letter-spacing:.01em}
.intro-panel p{font-size:clamp(17px,1.05vw,20px);line-height:1.75;color:#35577f;font-weight:500;margin:0}
.right-panel{display:flex;align-items:center;padding-left:clamp(30px,5.73vw,110px);padding-right:clamp(24px,3.65vw,70px)}
.choices{width:min(864px,100%);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.choice{height:clamp(170px,11.56vw,222px);display:flex;align-items:center;justify-content:center;position:relative;border:1px solid #cddff5;border-radius:22px;background:#fff;box-shadow:0 7px 20px rgba(20,85,170,.08);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;color:inherit}
.choice:hover{transform:translateY(-4px);border-color:#76b4fb;box-shadow:0 11px 24px rgba(20,85,170,.16)}
.choice:focus-visible{outline:3px solid #1675ef;outline-offset:3px}
.choice small{position:absolute;top:21px;left:28px;font-size:16px;font-weight:650;letter-spacing:.04em;color:#4d719f}
.choice .arrow{position:absolute;right:28px;bottom:18px;color:#0877f5;font-size:23px;line-height:1}
.brand{display:flex;align-items:center;justify-content:center;width:100%;white-space:nowrap}
.brand>img{display:block;width:min(290px,calc(100% - 80px));max-height:90px;object-fit:contain}
.brand.ask{gap:16px}
.brand.ask img{width:66px;height:66px;flex:0 0 66px;object-fit:contain;border:1px solid #cddff5;border-radius:16px;box-shadow:0 4px 11px rgba(23,79,145,.14)}
.brand.ask span{font-size:50px;font-weight:750;line-height:1;letter-spacing:2px;color:#087cf8}
.utility{min-height:94px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:17px 26px;color:#183d6a;font-size:18px;font-weight:700}
.utility a{display:inline-flex;align-items:center;justify-content:center;min-height:41px;padding:8px 15px;color:inherit;background:#fff;border:1px solid #cbdff7;border-radius:999px;white-space:nowrap;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}
.utility a:hover{color:#086be5;background:#edf5ff;border-color:#7ab4f8;transform:translateY(-2px)}
.utility a:focus-visible{outline:3px solid #1675ef;outline-offset:2px}
.utility .notice{color:#d93441;background:#fff8f7;border-color:#f3c8c7}
.utility .notice:hover{color:#c82c37;background:#fff0ef;border-color:#f3bbbb}
.legal{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px clamp(32px,5.84vw,112px);border-top:1px solid #cad9eb;color:#425e80;font-size:15px;font-weight:500}
.legal a{color:#075fc7;text-decoration:underline;text-underline-offset:2px}
.legal .record{white-space:nowrap}
.download-frame[hidden],.store-note[hidden]{display:none}
.store-note{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:20px;background:rgba(14,35,65,.48)}
.store-note-panel{width:min(420px,100%);position:relative;padding:30px;background:#fff;border:1px solid #cbdff7;border-radius:20px;box-shadow:0 18px 50px rgba(12,42,84,.2)}
.store-note-panel h2{margin:0 28px 12px 0;font-size:21px}.store-note-panel p{margin:0 0 20px;color:#425e80;font-size:15px;line-height:1.7}
.store-note-panel>a{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;background:#086be5;border-radius:10px;color:#fff;font-weight:650}
.store-note-close{position:absolute;right:16px;top:14px;width:32px;height:32px;border:0;border-radius:8px;background:#edf5ff;color:#234a79;font-size:23px;cursor:pointer}
/* 右上角整体：识别信息 + 暗夜按钮 横向排列 */
.topbar-right{display:flex;align-items:center;gap:16px}
.detect-info{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.ip-note{display:flex;align-items:center;gap:14px;font-size:17px;font-weight:600;color:#365e91;line-height:1.8}
.ip-tag{padding:4px 14px;border-radius:12px;font-size:18px;background:#eaf4ff;border:1px solid #d6e9ff;white-space:nowrap;color: #14294c; }
.ip-welcome b{color:#0877f5;font-weight:600}
.dark-toggle{height:44px;display:inline-flex;align-items:center;gap:10px;padding:0 22px;border-radius:22px;font-size:15px;color:#174f8f;border:1px solid #d6e9ff;background:#eaf4ff;cursor:pointer;font-family:inherit;transition:all .25s ease;color: #14294c; }
.dark-toggle:hover{border-color:#76b4fb;color:#086be5;background:#edf5ff}
/* === 关闭所有背景遮罩 === */
.intro-panel,
[data-theme="dark"] .intro-panel {
  background: transparent !important;
}

.ip-tag, .system-pill, .dark-toggle,
[data-theme="dark"] .ip-tag,
[data-theme="dark"] .system-pill,
[data-theme="dark"] .dark-toggle {
  background: transparent !important;
  border: none !important;
}
/* === 日期节假日栏 === */
.header-left { 
    display: flex; 
    flex-direction: column; 
    gap: 14px; 
}

.date-holiday-bar {
    display: flex;           
    flex-direction: column;  
    align-items: flex-start; 
    gap: 14px;               
    font-size: 18px; 
    color: #174f8f;          /* 👈 改用与system-pill一致的深蓝，提升可读性与品牌统一感 */
    font-weight: 600; 
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.holiday-tag {
    display: inline-block; 
    padding: 3px 12px; 
    border-radius: 12px;
    background: blue;     /* 👈 改用品牌主色蓝，替代原先突兀的红色 */
    color: #fff; 
    font-size: 16px; 
    font-weight: 700;
    line-height: 1.4;
    width: fit-content;      
}

/* 暗夜模式适配 */
[data-theme="dark"] .date-holiday-bar { 
    color: #a8c4e0;          /* 👈 暗色模式下使用柔和浅蓝，避免刺眼 */
}
[data-theme="dark"] .holiday-tag { 
    background: #1a6dd4;     /* 👈 暗色模式下降低蓝色饱和度，保持舒适对比 */
}

/* 移动端适配 */
@media(max-width:760px){
  .topbar-right{gap:10px;flex-wrap:wrap;justify-content:flex-end}
  .detect-info{align-items:flex-start}
  .ip-note{font-size:14px;gap:8px}
  .system-pill,.dark-toggle{height:36px;padding:0 14px;font-size:13px}
  .topbar{height:auto;min-height:68px;flex-basis:auto;padding:14px 22px;gap:12px;flex-wrap:wrap}
  .site-name{font-size:21px}.site-name span{font-size:13px;margin-left:9px}
  .system-pill{padding:7px 12px;font-size:12px;color: #14294c;}
  .hero-layout{display:block;min-height:0}
  .intro-panel{margin:0;padding:42px 24px 35px}
  .intro-panel h1{font-size:30px;margin-bottom:10px}.intro-panel h1 br,.intro-panel p br{display:none}
  .accent-line{margin-bottom:16px}.intro-panel p{font-size:16px;line-height:1.6}
  .right-panel{padding:26px 20px 36px}.choices{margin:auto;max-width:600px}
  .choice{height:150px}.brand>img{width:min(235px,calc(100% - 35px))}
  .utility{padding:20px;font-size:16px;gap:10px}
  .utility a{min-height:36px;padding:7px 12px}
  .legal{padding:18px 22px;flex-wrap:wrap;gap:8px;font-size:14px}
    /*日期栏移动端css*/
   .header-left { gap: 10px; }
    .date-holiday-bar { 
        font-size: 14px; 
        gap: 8px; 
        color: #174f8f;      /* 👈 移动端同步更新颜色 */
    }
    .holiday-tag { 
        font-size: 12px; 
        padding: 2px 10px; 
        background: #086be5; /* 👈 移动端同步更新标签色 */
    }
}
@media(max-width:520px){
  .choices{grid-template-columns:1fr;max-width:340px;gap:14px}.choice{height:144px}
  .brand>img{width:250px}.brand.ask img{width:48px;height:48px}.brand.ask span{font-size:38px}
}
@media(max-device-width:600px){body{min-height:960px}}
@media(prefers-reduced-motion:reduce){.choice,.utility a{transition:none}}


/* ==========================================
   【SEO与体验优化补丁区】仅追加，不覆盖原有样式
   ========================================== */

/* 1. 修复 viewport 改为响应式后，防止小屏设备文字溢出 */
html {
  overflow-wrap: break-word;
  word-break: break-all;
}

/* 2. 为下载卡片增加触摸反馈（提升移动端 Core Web Vitals INP 评分） */
@media (hover: none) and (pointer: coarse) {
  .choice:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
  .utility a:active {
    transform: scale(0.96);
    transition: transform 0.1s ease;
  }
}

/* 3. 弹窗无障碍焦点可见性增强（WCAG 2.1 AA 标准） */
.store-note-close:focus-visible,
.store-note-panel > a:focus-visible {
  outline: 3px solid #1675ef;
  outline-offset: 2px;
}

/* 4. 打印样式优化（SEO 友好：确保搜索引擎抓取打印版时内容完整） */
@media print {
  .topbar-right,
  .dark-toggle,
  .download-frame,
  .store-note,
  .utility {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .choice {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    break-inside: avoid;
  }
}

/* 5. 安全区域适配（防止 iPhone 刘海屏/底部横条遮挡内容） */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .legal {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .topbar {
    padding-top: calc(26px + env(safe-area-inset-top));
  }
}