/* 航空史上的今天 — 纯静态站点样式 */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #f3f6fb; --bg2: #e8eff8;
  --surface: #ffffff; --surface-2: #f7f9fc; --surface-3: #eef2f8;
  --text: #152238; --text-2: #53657e; --text-3: #8a9ab0;
  --line: #dfe7f1; --line-2: #eef2f8;
  --brand: #174a86; --brand-2: #2f74c8; --brand-soft: #e6f0fc;
  --accent: #d97706;
  --topbar-bg: rgba(255, 255, 255, .87);
  --shadow-sm: 0 1px 2px rgba(19, 45, 80, .05);
  --shadow: 0 2px 6px rgba(19, 45, 80, .05), 0 14px 36px rgba(19, 45, 80, .07);
  --r: 14px;
}
html[data-theme="dark"] {
  --bg: #0d1420; --bg2: #111d2d;
  --surface: #16212f; --surface-2: #1b2838; --surface-3: #213044;
  --text: #e8eef7; --text-2: #a6b6ca; --text-3: #7286a0;
  --line: #2a3a4f; --line-2: #223146;
  --brand: #7db3f2; --brand-2: #5b9bea; --brand-soft: #1c3350;
  --topbar-bg: rgba(22, 33, 47, .88);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 16px 40px rgba(0, 0, 0, .3);
}

html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.6;
}
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button { cursor: pointer; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* 背景 */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--bg2) 0, var(--bg) 460px); }
.sky-glow { position: absolute; top: -240px; right: -140px; width: 760px; height: 640px; background: radial-gradient(circle, rgba(47, 116, 200, .15), transparent 66%); }
.sky-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(47, 116, 200, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 116, 200, .05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 580px); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 580px); }
html[data-theme="dark"] .sky-glow { background: radial-gradient(circle, rgba(70, 130, 210, .13), transparent 66%); }

/* 顶部航空摄影背景：多图交替淡入淡出，放大铺满 hero */
.hero { position: relative; isolation: isolate; }
.hero-bg {
  position: absolute; z-index: -1; inset: -54px -24px -34px;
  background-position: center 42%; background-size: cover; background-repeat: no-repeat;
  opacity: 0; filter: saturate(1.05) contrast(1.04);
  transition: opacity 1.2s ease;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  pointer-events: none;
}
.hero-bg.on { opacity: .55; }
html[data-theme="dark"] .hero-bg.on { opacity: .42; }
/* 左侧文字区柔和遮罩：保证大标题可读，右侧图片更突出 */
.hero-main { position: relative; }
.hero-main::before {
  content: ""; position: absolute; z-index: -1; inset: -54px -30px -30px -30px;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 22%, rgba(243, 246, 251, .82) 46%, transparent 78%);
  pointer-events: none;
}
html[data-theme="dark"] .hero-main::before {
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 22%, rgba(13, 20, 32, .82) 46%, transparent 78%);
}
.bg-credit { position: absolute; right: 0; bottom: -18px; font-size: 10px; color: var(--text-3); text-align: right; line-height: 1.4; transition: opacity .4s ease; }
.bg-credit a { color: var(--text-3); text-decoration: underline; text-underline-offset: 2px; }

/* 顶栏 */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--topbar-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 18px; }
html[data-theme="dark"] .brand-mark { color: #0d1420; }
.brand-text { font-weight: 700; font-size: 15px; line-height: 1.15; }
.brand-text small { display: block; font-size: 9px; letter-spacing: .16em; color: var(--text-3); font-weight: 600; margin-top: 3px; }
.topnav { display: flex; gap: 26px; }
.topnav a { color: var(--text-2); font-size: 13px; font-weight: 500; }
.topnav a:hover, .topnav a.active { color: var(--brand-2); text-decoration: none; }
.icon-btn { width: 34px; height: 34px; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; color: var(--text-2); font-size: 16px; line-height: 1; }
.icon-btn:hover { border-color: var(--brand-2); color: var(--brand-2); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; padding: 54px 0 34px; align-items: start; }
.eyebrow { color: var(--brand-2); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.eyebrow .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 9px; vertical-align: middle; }
.eyebrow .sep { opacity: .5; margin: 0 6px; }
.hero-date { font-size: clamp(52px, 7.4vw, 88px); line-height: 1.05; margin: 14px 0 12px; font-weight: 750; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.hero-date em { font-style: normal; font-size: .34em; font-weight: 500; color: var(--text-3); margin: 0 7px; letter-spacing: 0; }
.weekday { font-size: .21em; font-weight: 600; color: var(--brand-2); letter-spacing: 0; margin-left: 20px; vertical-align: middle; }
.hero-sub { color: var(--text-2); font-size: 15px; max-width: 540px; margin: 0; }
.hero-stats { display: flex; gap: 36px; margin-top: 34px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 28px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat span { font-size: 12px; color: var(--text-3); }

/* 日期面板 */
.hero-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.panel-label { font-size: 12px; font-weight: 700; color: var(--text-3); letter-spacing: .08em; display: flex; justify-content: space-between; align-items: center; }
.today-flag { background: var(--brand-soft); color: var(--brand-2); padding: 2px 9px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: 0; }
.today-flag[hidden] { display: none; }
.date-nav { display: flex; gap: 8px; margin-top: 14px; }
.nav-btn { width: 38px; height: 40px; flex: none; border: 1px solid var(--line); background: var(--surface-2); border-radius: 9px; font-size: 22px; color: var(--text-2); line-height: 1; }
.nav-btn:hover { border-color: var(--brand-2); color: var(--brand-2); }
.cal-title { flex: 1; text-align: center; font-size: 14px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.weekdays, .calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.weekdays { margin-top: 12px; }
.weekdays span { text-align: center; font-size: 11px; color: var(--text-3); font-weight: 600; padding: 3px 0; }
.calendar { margin-top: 3px; }
.cal-cell { position: relative; aspect-ratio: 1 / 1; min-height: 30px; border: 1px solid transparent; background: transparent; color: var(--text-2); border-radius: 8px; font-size: 12px; display: flex; align-items: center; justify-content: center; padding: 0; transition: background .14s, color .14s, border-color .14s; }
.cal-cell.pad { pointer-events: none; }
button.cal-cell:hover { background: var(--brand-soft); color: var(--brand-2); }
.cal-cell.today { border-color: var(--brand-2); color: var(--brand-2); font-weight: 700; }
.cal-cell.sel { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 700; }
html[data-theme="dark"] .cal-cell.sel { color: #0d1420; }
.cal-cell.sel .cal-dot { background: #fff; }
.cal-num { line-height: 1; }
.cal-dot { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
html[data-theme="dark"] .cal-cell.sel { border-color: var(--brand); }
.nav-extra { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.text-btn { background: none; border: 0; color: var(--brand-2); font-size: 12px; padding: 0; }
.text-btn:hover { text-decoration: underline; }
.panel-divider { height: 1px; background: var(--line); margin: 20px 0 16px; }
.distribution { margin-top: 12px; }
.dist-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 12px; }
.dist-name { width: 68px; flex: none; color: var(--text-2); white-space: nowrap; }
.dist-track { flex: 1; height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.dist-fill { height: 100%; border-radius: 99px; min-width: 3px; transition: width .35s ease; }
.dist-num { width: 20px; flex: none; text-align: right; color: var(--text-3); font-variant-numeric: tabular-nums; }
.dist-empty { font-size: 12px; color: var(--text-3); padding: 8px 0; }

/* 每日飞机小知识 */
.daily-tip { position: relative; display: flex; align-items: flex-start; gap: 16px; margin: 6px 0 14px; padding: 18px 22px; background: linear-gradient(100deg, var(--brand-soft), var(--surface) 62%); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.tip-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 21px; }
html[data-theme="dark"] .tip-icon { color: #1a1206; }
.tip-body { flex: 1; min-width: 0; }
.tip-head { display: flex; align-items: center; gap: 12px; }
.tip-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.tip-date { font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.tip-title { margin: 4px 0 3px; font-size: 16px; font-weight: 700; }
.tip-text { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.7; }
.tip-counter { flex: none; align-self: center; font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; background: var(--surface); border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }

/* 下载区块 */
.download-card { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.dl-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 22px; }
html[data-theme="dark"] .dl-icon { color: #0d1420; }
.dl-body { flex: 1; min-width: 0; }
.dl-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dl-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--brand-2); }
.dl-meta { font-size: 11px; color: var(--text-3); }
.dl-title { margin: 4px 0 3px; font-size: 16px; font-weight: 700; }
.dl-text { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.7; }
.dl-text code { background: var(--surface-3); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 12px; }
.dl-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; background: var(--brand); color: #fff; border-radius: 10px; font-size: 14px; font-weight: 650; white-space: nowrap; text-decoration: none; transition: filter .15s, transform .15s; }
.dl-btn:hover { filter: brightness(1.1); transform: translateY(-1px); text-decoration: none; }
html[data-theme="dark"] .dl-btn { color: #0d1420; }
.dl-btn span { font-size: 12px; font-weight: 500; opacity: .85; }

/* 工具栏 */
.toolbar { margin-top: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow-sm); }
.filter-row { display: flex; align-items: flex-start; gap: 14px; }
.toolbar-label { font-size: 12px; color: var(--text-3); padding-top: 8px; flex: none; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--text-2); padding: 6px 13px; border-radius: 99px; font-size: 13px; transition: .15s; display: inline-flex; align-items: center; gap: 7px; line-height: 1.3; }
.chip:hover { border-color: var(--brand-2); color: var(--brand-2); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
html[data-theme="dark"] .chip.on { color: #0d1420; }
.chip .cico { font-size: 12px; opacity: .85; }
.chip .cnt { font-size: 11px; opacity: .65; font-variant-numeric: tabular-nums; }
.control-row { display: flex; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.search-box { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; height: 40px; min-width: 0; }
.search-box > span { color: var(--text-3); font-size: 19px; line-height: 1; }
.search-box input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); outline: none; font-size: 14px; }
.search-box input::placeholder { color: var(--text-3); }
.search-box button { border: 0; background: none; color: var(--text-3); font-size: 18px; padding: 0 2px; line-height: 1; }
.sort-btn { height: 40px; padding: 0 14px; flex: none; border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); border-radius: 9px; font-size: 13px; }
.sort-btn:hover { border-color: var(--brand-2); color: var(--brand-2); }
.result-info { margin: 18px 0 0; font-size: 13px; color: var(--text-2); min-height: 20px; }
.result-info b { color: var(--brand-2); }

/* 时间轴 */
.timeline { position: relative; padding: 10px 0 8px 104px; }
.timeline::before { content: ""; position: absolute; left: 88px; top: 16px; bottom: 16px; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 5%, var(--line) 95%, transparent); }
.ev { position: relative; margin: 0 0 18px; }
.ev::before { content: ""; position: absolute; left: -21px; top: 23px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--etype, var(--brand-2)); box-shadow: 0 0 0 4px var(--bg); }
.ev-year { position: absolute; left: -104px; top: 15px; width: 72px; text-align: right; font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--brand-2); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ev-year small { display: block; font-size: 11px; font-weight: 500; color: var(--text-3); margin-top: 3px; letter-spacing: 0; }
.ev-card { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--etype, var(--brand-2)); border-radius: var(--r); padding: 17px 22px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.ev-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ev-card.has-img { display: flex; gap: 18px; align-items: flex-start; }
.ev-card .ev-body { flex: 1; min-width: 0; }
.ev-thumb { flex: 0 0 132px; width: 132px; height: 96px; overflow: hidden; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge { font-size: 11px; font-weight: 650; padding: 3px 10px; border-radius: 99px; color: var(--etype); background: var(--etype-bg); white-space: nowrap; }
html[data-theme="dark"] .badge { filter: brightness(1.55); }
.ev-title { font-size: 17px; font-weight: 650; letter-spacing: -.01em; line-height: 1.4; }
.ev-en { font-size: 12px; color: var(--text-3); word-break: break-word; }
.daytag { font-size: 11px; color: var(--text-3); background: var(--surface-3); padding: 2px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.ev-desc { margin: 8px 0 0; padding-left: 10px; border-left: 2px solid var(--etype, var(--brand-2)); color: var(--text); font-size: 13px; font-weight: 550; line-height: 1.6; }
.ev-summary { margin: 7px 0 12px; color: var(--text-2); font-size: 14px; }
.ev-note { margin: -2px 0 12px; padding: 8px 12px; font-size: 13px; color: var(--text-2); background: var(--surface-2); border-left: 2px solid var(--etype); border-radius: 0 6px 6px 0; }
.ev-analysis { margin: 2px 0 13px; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; }
.an-head { font-size: 12px; font-weight: 700; color: #b91c1c; letter-spacing: .04em; margin-bottom: 8px; }
html[data-theme="dark"] .an-head { color: #f87171; }
.an-row { margin: 0 0 6px; font-size: 13px; line-height: 1.7; color: var(--text-2); }
.an-row:last-child { margin-bottom: 0; }
.an-key { display: inline-block; min-width: 34px; margin-right: 8px; padding: 1px 6px; font-size: 11px; font-weight: 650; text-align: center; color: #b91c1c; background: rgba(225, 29, 72, .1); border-radius: 5px; vertical-align: 1px; }
html[data-theme="dark"] .an-key { color: #f87171; background: rgba(248, 113, 113, .14); }
.ev-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); }
.ev-foot .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); opacity: .6; }
.ev-links { margin-left: auto; display: flex; gap: 12px; }
.ev-links a { font-size: 12px; white-space: nowrap; }

/* 空状态 */
.empty { text-align: center; padding: 64px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); }
.empty .big { font-size: 34px; color: var(--text-3); }
.empty h3 { margin: 10px 0 6px; font-size: 17px; }
.empty p { margin: 0; color: var(--text-2); font-size: 13px; }
.empty button { margin-top: 16px; border: 1px solid var(--line); background: var(--surface-2); color: var(--brand-2); border-radius: 8px; padding: 8px 16px; font-size: 13px; }

/* 关于 */
.about { margin: 62px 0 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.about-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.about h2 { font-size: 21px; margin: 0; }
.update-stamp { font-size: 12px; color: var(--text-3); }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.about-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 19px 22px; }
.about-card h3 { font-size: 14px; margin: 0 0 8px; color: var(--brand-2); }
.about-card p { font-size: 13px; color: var(--text-2); margin: 0; line-height: 1.75; }
.about-card strong { color: var(--text); font-weight: 650; }
.disclaimer { font-size: 12px; color: var(--text-3); margin-top: 18px; line-height: 1.7; }

.footer { border-top: 1px solid var(--line); padding: 22px 0; font-size: 12px; color: var(--text-3); }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* 右下角互动组件：点赞 + 浏览数（本机记录） */
.corner-widget { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: flex; align-items: center; gap: 4px; padding: 6px 8px 6px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 6px 24px rgba(19, 45, 80, .18); }
.corner-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 0; border-radius: 99px; background: transparent; color: var(--text-2); font-size: 14px; line-height: 1; }
.like-btn { background: #e11d48; color: #fff; padding: 0 16px; box-shadow: 0 3px 12px rgba(225, 29, 72, .35); transition: transform .16s, box-shadow .16s, background .16s; }
.like-btn:hover { background: #be123c; transform: translateY(-2px); box-shadow: 0 5px 16px rgba(225, 29, 72, .45); }
.like-btn.liked { background: #9f1239; }
.like-btn .heart { font-size: 22px; line-height: 1; color: #fff; transition: transform .16s; }
.like-btn.liked .heart { animation: heartPop .35s ease; }
@keyframes heartPop { 0% { transform: scale(1); } 45% { transform: scale(1.45); } 100% { transform: scale(1); } }
.like-text { font-size: 13px; font-weight: 650; }
.corner-num { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.corner-sep { width: 1px; height: 20px; background: var(--line); }
.view-badge { cursor: default; padding: 0 12px 0 8px; }
.view-badge > span:first-child { color: var(--brand-2); font-size: 17px; }

/* ===== 视图模式 =====
 * 由 <html data-view="desktop|mobile"> 驱动，默认按屏幕宽度自动选择，
 * 用户点击顶栏按钮可强制切换并记忆。手机模式收窄容器居中，模拟手机视图。
 */
html[data-view="mobile"] .wrap { max-width: 500px; padding: 0 16px; }
html[data-view="mobile"] .topnav { display: none; }
html[data-view="mobile"] .hero { grid-template-columns: 1fr; gap: 24px; padding: 36px 0 24px; }
html[data-view="mobile"] .hero-stats { gap: 18px; margin-top: 26px; }
html[data-view="mobile"] .hero-date { font-size: 46px; }
html[data-view="mobile"] .weekday { margin-left: 10px; }
html[data-view="mobile"] .stat strong { font-size: 22px; }
html[data-view="mobile"] .timeline { padding-left: 0; }
html[data-view="mobile"] .timeline::before, html[data-view="mobile"] .ev::before { display: none; }
html[data-view="mobile"] .ev-year { position: static; width: auto; text-align: left; display: flex; align-items: baseline; gap: 9px; margin: 0 0 8px; font-size: 18px; }
html[data-view="mobile"] .ev-year small { margin: 0; }
html[data-view="mobile"] .about-grid { grid-template-columns: 1fr; }
html[data-view="mobile"] .filter-row { flex-direction: column; gap: 8px; }
html[data-view="mobile"] .toolbar-label { padding-top: 0; }
html[data-view="mobile"] .control-row { flex-wrap: wrap; }
html[data-view="mobile"] .search-box { flex-basis: 100%; }
html[data-view="mobile"] .ev-card { padding: 15px 16px; }
html[data-view="mobile"] .ev-card.has-img { flex-direction: column; gap: 12px; }
html[data-view="mobile"] .ev-thumb { flex: none; width: 100%; height: 150px; }
html[data-view="mobile"] .ev-links { margin-left: 0; width: 100%; }
html[data-view="mobile"] .daily-tip { gap: 12px; padding: 14px 16px; }
html[data-view="mobile"] .tip-icon { width: 36px; height: 36px; font-size: 18px; }
html[data-view="mobile"] .tip-counter { display: none; }
html[data-view="mobile"] .corner-widget { right: 12px; bottom: 12px; }
html[data-view="mobile"] .download-card { flex-wrap: wrap; gap: 12px; padding: 15px 16px; }
html[data-view="mobile"] .dl-icon { width: 38px; height: 38px; font-size: 19px; }
html[data-view="mobile"] .dl-btn { width: 100%; justify-content: center; }

/* 视图切换按钮 */
.view-btn { height: 34px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; color: var(--text-2); font-size: 12px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; line-height: 1; }
.view-btn:hover { border-color: var(--brand-2); color: var(--brand-2); }
.view-btn .vico { font-size: 14px; }
html[data-view="mobile"] .topbar-inner { gap: 10px; }
