/* ==========================================================
   科技风数据大屏 · 样式
   布局目标：100dvh 一屏显示，不出现页面滚动
   ========================================================== */

:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --panel: rgba(13, 22, 38, .72);
  --panel-solid: #0d1626;
  --line: rgba(56, 189, 248, .16);
  --line-strong: rgba(56, 189, 248, .34);
  --ink: #e6f1ff;
  --ink-soft: #9fb3cc;
  --ink-dim: #6c819c;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --green: #34d399;
  --glow: 0 0 18px rgba(34, 211, 238, .35);
  --radius: 6px;
  --gap: clamp(6px, .8vh, 12px);
}

/* 浅色主题（可切换，仍保持大屏结构） */
[data-theme="light"] {
  --bg: #eef3fa;
  --bg-2: #e2e9f5;
  --panel: rgba(255, 255, 255, .86);
  --panel-solid: #ffffff;
  --line: rgba(30, 64, 175, .16);
  --line-strong: rgba(30, 64, 175, .32);
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-dim: #64748b;
  --cyan: #0891b2;
  --blue: #2563eb;
  --violet: #7c3aed;
  --green: #059669;
  --glow: 0 0 14px rgba(8, 145, 178, .22);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;               /* 关键：禁止页面滚动 */
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(12px, 1.05vh, 15px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}

a { text-decoration: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
img { display: block; }

::selection { background: var(--cyan); color: #04121b; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }

/* ============ 背景层 ============ */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .5;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 85%);
}

.bg-glow {
  position: fixed; z-index: 0; pointer-events: none;
  width: 46vw; height: 46vw; border-radius: 50%;
  filter: blur(90px); opacity: .28;
}
.bg-glow-a { top: -14vw; left: -10vw; background: var(--blue); }
.bg-glow-b { right: -12vw; bottom: -16vw; background: var(--cyan); opacity: .18; }

.scanline {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(34, 211, 238, .07) 50%, transparent 100%);
  height: 26vh;
  animation: scan 7s linear infinite;
}
@keyframes scan {
  0% { transform: translateY(-30vh); }
  100% { transform: translateY(130vh); }
}

/* ============ 屏幕容器 ============ */
.screen {
  position: relative; z-index: 1;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: var(--gap);
  padding: var(--gap) clamp(6px, 1vw, 16px);
}

.screen-main {
  display: grid;
  grid-template-columns: clamp(230px, 21vw, 300px) minmax(0, 1fr) clamp(250px, 23vw, 330px);
  gap: var(--gap);
  min-height: 0;                   /* 允许子项收缩，防止溢出 */
}

.col {
  display: grid;
  gap: var(--gap);
  min-height: 0;
}
.col-left   { grid-template-rows: auto auto minmax(0, 1fr); }
.col-center { grid-template-rows: auto minmax(0, 1.05fr) minmax(0, 1fr); }
.col-right  { grid-template-rows: minmax(0, 1.25fr) minmax(0, 1fr); }

/* ============ 面板通用 ============ */
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  padding: clamp(8px, 1.4vh, 18px) clamp(10px, 1.3vw, 18px);
  min-height: 0;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.panel:hover { border-color: var(--line-strong); box-shadow: 0 0 0 1px var(--line-strong), var(--glow); }

/* 四角 HUD 装饰 */
.panel::before,
.panel::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--cyan);
  opacity: .55;
  pointer-events: none;
}
.panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.panel-title {
  display: flex; align-items: center; gap: .5em;
  font-size: clamp(12px, 1.35vh, 16px);
  color: var(--ink);
  padding-bottom: .5em;
  margin-bottom: .7em;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.panel-title i { color: var(--cyan); }
.panel-code {
  margin-left: auto;
  font-size: .68em;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.text-gradient {
  background: linear-gradient(100deg, var(--cyan), var(--blue) 45%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hud-dot {
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .35; } }

.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); flex: none; }

/* ============ 顶栏 ============ */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(6px, 1vh, 12px);
}
.topbar-left { display: flex; align-items: center; gap: .7rem; min-width: 0; }

.brand-mark {
  display: grid; place-items: center; flex: none;
  width: clamp(30px, 4.4vh, 42px); height: clamp(30px, 4.4vh, 42px);
  font-weight: 800; font-size: clamp(12px, 1.6vh, 16px);
  color: #04121b;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 8px;
  box-shadow: var(--glow);
}

.topbar-titles { display: grid; min-width: 0; }
.topbar-titles strong { font-size: clamp(13px, 1.8vh, 19px); white-space: nowrap; }
.topbar-titles small {
  font-size: clamp(9px, 1.15vh, 12px);
  letter-spacing: .22em; color: var(--ink-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.topbar-right { display: flex; align-items: center; gap: .45rem; flex-wrap: nowrap; }

.hud-chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .3em .7em;
  font-size: clamp(10px, 1.25vh, 13px);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(34, 211, 238, .06);
  white-space: nowrap;
}
.hud-chip i { color: var(--cyan); }
.hud-clock { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }

.hud-btn {
  display: grid; place-items: center; flex: none;
  width: clamp(28px, 3.6vh, 36px); height: clamp(28px, 3.6vh, 36px);
  color: var(--ink);
  background: rgba(34, 211, 238, .08);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  transition: all .25s ease;
}
.hud-btn:hover { color: var(--cyan); border-color: var(--line-strong); box-shadow: var(--glow); }

/* ============ 左列：身份档案 ============ */
.identity-body { display: flex; align-items: center; gap: .9rem; }

.avatar-hex {
  flex: none;
  width: clamp(58px, 9vh, 88px); height: clamp(58px, 9vh, 88px);
  padding: 3px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.avatar-hex img { width: 100%; height: 100%; object-fit: cover; clip-path: inherit; }

.identity-meta { min-width: 0; }
.identity-name { font-size: clamp(15px, 2.1vh, 22px); }
.identity-en { font-size: .55em; font-weight: 500; color: var(--ink-dim); letter-spacing: .1em; }
.identity-role { margin: .15em 0 .5em; color: var(--cyan); font-size: clamp(11px, 1.4vh, 14px); }

.identity-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .2em .6em;
  font-size: clamp(9px, 1.15vh, 12px);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(56, 189, 248, .05);
}
.tag-live { color: var(--green); border-color: rgba(52, 211, 153, .35); }
.tag-live i { font-size: .55em; animation: blink 1.6s infinite; }

.identity-foot {
  display: flex; align-items: center; gap: .6rem;
  margin-top: .8em; padding-top: .7em;
  border-top: 1px dashed var(--line);
  font-size: clamp(10px, 1.2vh, 13px);
  color: var(--ink-dim);
}

/* ============ 左列：核心指标 ============ */
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.metric {
  text-align: center;
  padding: .6em .3em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34, 211, 238, .08), transparent);
}
.metric-num {
  font-size: clamp(18px, 3.2vh, 34px);
  font-weight: 800; line-height: 1.1;
  color: var(--cyan);
  text-shadow: var(--glow);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.metric-label { font-size: clamp(9px, 1.15vh, 12px); color: var(--ink-dim); }

.ring-wrap { display: flex; align-items: center; gap: .9rem; margin-top: .9em; }

.ring {
  --p: 0;
  flex: none;
  display: grid; place-items: center;
  width: clamp(56px, 9vh, 84px); height: clamp(56px, 9vh, 84px);
  border-radius: 50%;
  background:
    conic-gradient(var(--cyan) calc(var(--p) * 1%), rgba(56, 189, 248, .12) 0);
  position: relative;
  transition: background .1s linear;
}
.ring::after {
  content: "";
  position: absolute; inset: 7px;
  border-radius: 50%;
  background: var(--panel-solid);
}
.ring span {
  position: relative; z-index: 1;
  font-size: clamp(11px, 1.5vh, 15px);
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink);
}
.ring-text { display: grid; gap: .15em; min-width: 0; }
.ring-text strong { font-size: clamp(11px, 1.4vh, 14px); }
.ring-text small { color: var(--ink-dim); font-size: clamp(9px, 1.1vh, 12px); }

/* ============ 左列：技术栈 ============ */
.stack-grid { display: flex; flex-wrap: wrap; gap: .4rem; align-content: flex-start; }
.chip {
  padding: .3em .75em;
  font-size: clamp(10px, 1.25vh, 13px);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(56, 189, 248, .05);
  transition: all .25s ease;
}
.chip:hover {
  color: #04121b;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

/* ============ 中列：Hero ============ */
.panel-hero {
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(34, 211, 238, .12), transparent 55%),
    var(--panel);
}
.hero-line {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: clamp(9px, 1.2vh, 12px);
  letter-spacing: .3em;
  color: var(--ink-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-bottom: .5em;
}
.hero-title {
  font-size: clamp(22px, 4.6vh, 52px);
  line-height: 1.12;
  margin-bottom: .4em;
}
.hero-desc {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(11px, 1.5vh, 15px);
  margin-bottom: 1.1em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .55rem; }

.btn-hud {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .5em 1.2em;
  font-size: clamp(11px, 1.4vh, 14px);
  font-weight: 600;
  color: #04121b;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-hud:hover { box-shadow: var(--glow); transform: translateY(-1px); }
.btn-hud-ghost {
  color: var(--ink);
  background: rgba(56, 189, 248, .07);
  border-color: var(--line-strong);
}
.btn-hud-ghost:hover { color: var(--cyan); background: rgba(34, 211, 238, .14); }

/* ============ 中列：技能 ============ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 20px);
  height: 100%;
}
.skill-group { display: grid; align-content: start; gap: .55em; min-width: 0; }
.skill-group h3 {
  display: flex; align-items: center; gap: .45em;
  font-size: clamp(11px, 1.4vh, 14px);
  color: var(--cyan);
}
.skill { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3em .6em; }
.skill span { font-size: clamp(10px, 1.2vh, 13px); color: var(--ink-soft); }
.skill em {
  font-style: normal;
  font-size: clamp(9px, 1.15vh, 12px);
  color: var(--ink-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.skill .progress {
  grid-column: 1 / -1;
  height: 6px;
  background: rgba(56, 189, 248, .12);
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar {
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 10px rgba(34, 211, 238, .5);
  transition: width 1.2s cubic-bezier(.22, .8, .28, 1);
}

/* ============ 中列：项目 ============ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  height: 100%;
}
.project-card {
  display: flex; flex-direction: column;
  padding: clamp(8px, 1.3vh, 14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(56, 189, 248, .07), transparent);
  min-width: 0;
  transition: all .3s ease;
}
.project-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .35), var(--glow);
}
.project-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5em; }
.project-badge {
  padding: .15em .55em;
  font-size: clamp(9px, 1.1vh, 11px);
  font-weight: 600; letter-spacing: .08em;
  color: #04121b;
  background: var(--cyan);
  border-radius: 4px;
}
.project-head i { color: var(--ink-dim); font-size: clamp(10px, 1.2vh, 13px); }
.project-card h3 { font-size: clamp(12px, 1.6vh, 17px); margin-bottom: .3em; }
.project-card p {
  margin: 0 0 .7em;
  font-size: clamp(10px, 1.2vh, 13px);
  color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.project-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: auto; }
.project-tags span {
  padding: .15em .5em;
  font-size: clamp(9px, 1.05vh, 11px);
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* ============ 右列：时间线 ============ */
.timeline { position: relative; padding-left: 1.1em; height: 100%; overflow: hidden; }
.timeline::before {
  content: ""; position: absolute; left: 3px; top: 4px; bottom: 4px;
  width: 1px;
  background: linear-gradient(var(--cyan), var(--violet));
  opacity: .5;
}
.timeline li { position: relative; padding: 0 0 .9em 1em; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -1.1em; top: .45em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.tl-date {
  display: block;
  font-size: clamp(9px, 1.1vh, 12px);
  letter-spacing: .08em;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.timeline strong { display: block; font-size: clamp(11px, 1.4vh, 15px); }
.timeline p {
  margin: .15em 0 0;
  font-size: clamp(10px, 1.2vh, 13px);
  color: var(--ink-dim);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============ 右列：联系 ============ */
.contact-list { display: grid; gap: .5em; }
.contact-list li { display: flex; align-items: center; gap: .55em; }
.contact-list i { color: var(--cyan); font-size: clamp(11px, 1.3vh, 14px); flex: none; }
.contact-key { color: var(--ink-dim); font-size: clamp(9px, 1.1vh, 12px); flex: none; }
.contact-val {
  margin-left: auto;
  font-size: clamp(10px, 1.25vh, 13px);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.copy-mini {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px;
  color: var(--ink-soft);
  background: rgba(56, 189, 248, .08);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: all .25s ease;
}
.copy-mini:hover { color: #04121b; background: var(--cyan); border-color: var(--cyan); }

.contact-social { display: flex; gap: .45rem; margin-top: .9em; }
.contact-social a {
  display: grid; place-items: center;
  width: clamp(26px, 3.4vh, 34px); height: clamp(26px, 3.4vh, 34px);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: all .25s ease;
}
.contact-social a:hover { color: var(--cyan); border-color: var(--line-strong); box-shadow: var(--glow); }

.contact-note {
  display: flex; align-items: center; gap: .5em;
  margin: .9em 0 0; padding-top: .7em;
  border-top: 1px dashed var(--line);
  font-size: clamp(9px, 1.1vh, 12px);
  color: var(--ink-dim);
}

/* ============ 底部滚动信息条 ============ */
.ticker {
  display: flex; align-items: center; gap: .8rem;
  padding-block: clamp(5px, .9vh, 10px);
  overflow: hidden;
}
.ticker-label {
  display: inline-flex; align-items: center; gap: .4em; flex: none;
  padding: .2em .6em;
  font-size: clamp(9px, 1.1vh, 12px);
  font-weight: 700; letter-spacing: .12em;
  color: #04121b;
  background: var(--green);
  border-radius: 4px;
}
.ticker-track {
  display: flex; align-items: center; gap: 1.1rem;
  width: max-content;
  font-size: clamp(10px, 1.2vh, 13px);
  color: var(--ink-soft);
  animation: marquee 32s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ 移动端分栏切换 ============ */
.mobile-tabs { display: none; }

/* ============ Toast ============ */
.toast-area {
  position: fixed; z-index: 90;
  left: 50%; bottom: clamp(56px, 9vh, 72px);
  transform: translateX(-50%);
  display: grid; gap: .4rem;
  justify-items: center;
  pointer-events: none;
}
.toast-card {
  display: flex; align-items: center; gap: .5em;
  padding: .55em 1em;
  font-size: clamp(11px, 1.3vh, 14px);
  color: #04121b;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 6px;
  box-shadow: var(--glow);
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}
.toast-card.is-in { opacity: 1; transform: none; }
.toast-card.is-error { background: linear-gradient(135deg, #f87171, #fb923c); color: #2b0d0d; }

/* ============ 响应式 ============ */

/* 平板：中列技能/项目两列 */
@media (max-width: 1199.98px) {
  .screen-main { grid-template-columns: clamp(210px, 24vw, 260px) minmax(0, 1fr) clamp(230px, 26vw, 290px); }
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 手机：单列 + 底部标签切换分栏，保证不滚动 */
@media (max-width: 767.98px) {
  body { font-size: 13px; }

  .screen {
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding-bottom: 0;
  }

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

  .col { display: none; grid-template-rows: none; }
  body[data-view="profile"] .col-left,
  body[data-view="overview"] .col-center,
  body[data-view="journey"] .col-right { display: grid; }

  .col-left   { grid-template-rows: auto auto minmax(0, 1fr); }
  .col-center { grid-template-rows: auto minmax(0, 1.1fr) minmax(0, 1fr); }
  .col-right  { grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr); }

  .mobile-tabs {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    padding-top: var(--gap);
  }
  .mtab {
    display: grid; place-items: center; gap: .15em;
    padding: .5em;
    font-size: 11px;
    color: var(--ink-soft);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
  }
  .mtab i { font-size: 15px; }
  .mtab.active { color: #04121b; background: linear-gradient(135deg, var(--cyan), var(--blue)); border-color: transparent; }

  .topbar-titles strong { font-size: 13px; }
  .topbar-titles small { display: none; }
  .hud-chip.d-none { display: none !important; }

  .skills-grid, .project-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-desc { -webkit-line-clamp: 4; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .panel-skills, .panel-projects, .panel-timeline, .panel-contact { overflow: hidden; }

  .ticker-track { animation-duration: 26s; }
  .toast-area { bottom: calc(env(safe-area-inset-bottom, 0px) + 74px); }
}

@media (max-width: 400px) {
  .hud-chip:not(.hud-clock) { display: none; }
  .identity-foot { font-size: 10px; }
}

/* 矮屏（横屏手机）：压缩间距 */
@media (max-height: 560px) and (min-width: 768px) {
  .panel { padding-block: 8px; }
  .hero-title { font-size: clamp(20px, 5vh, 34px); }
  .ring-wrap { margin-top: .6em; }
}

/* 降低动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .scanline { display: none; }
}
