@font-face {
  font-family: 'HKGZS-Display';
  src: url('../fonts/orbitron.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}

/* ============================================================
   主题变量
   ============================================================ */
:root {
  --ease-out: cubic-bezier(.22, .9, .28, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --theme-ease: cubic-bezier(.16, 1, .3, 1);

  --font-ui: 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --font-display: 'HKGZS-Display', 'PingFang SC', sans-serif;

  /* ---- 明亮主题（默认）---- */
  --shell: rgba(255, 255, 255, .42);
  --glass-fill: linear-gradient(140deg, rgba(255, 255, 255, .76) 0%, rgba(255, 255, 255, .46) 44%, rgba(232, 243, 255, .52) 100%);
  --glass-fill-2: linear-gradient(130deg, rgba(255, 255, 255, .72), rgba(240, 248, 255, .44) 60%, rgba(255, 255, 255, .66));
  --glass-stroke: rgba(255, 255, 255, .9);
  --glass-edge: rgba(120, 165, 220, .24);
  --glass-glow: 0 30px 64px -30px rgba(38, 74, 128, .42), 0 1px 3px rgba(40, 80, 140, .05);
  --glass-inner: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 -1px 1px rgba(150, 185, 230, .3), inset 0 0 26px rgba(255, 255, 255, .18);

  --ink-1: #0d1b34;
  --ink-2: #36496e;
  --ink-3: #6a7c9e;

  --cyan: #0b8fc4;
  --cyan-soft: rgba(11, 143, 196, .12);
  --blue: #3c62e8;
  --violet: #7c4dff;
  --mint: #0aa88a;

  --brand-grad: linear-gradient(120deg, #0b8fc4, #3c62e8 52%, #7c4dff);
  --accent-a: #0b8fc4;
  --accent-b: #6f8dff;
  --accent-c: #9b6bff;

  --url-ink: #0a6f9c;
  --url-dot: rgba(11, 143, 196, .55);
  --url-glow: rgba(11, 143, 196, .28);

  --backdrop-blur: blur(30px) saturate(180%);
  --bg-blur: 26px;

  --chip-bg: rgba(255, 255, 255, .66);
  --chip-stroke: rgba(120, 165, 220, .3);
}

:root[data-theme="dark"] {
  --shell: rgba(10, 20, 38, .42);
  --glass-fill: linear-gradient(140deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .045) 44%, rgba(255, 255, 255, .062) 100%);
  --glass-fill-2: linear-gradient(130deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035) 60%, rgba(255, 255, 255, .055));
  --glass-stroke: rgba(255, 255, 255, .16);
  --glass-edge: rgba(160, 205, 255, .2);
  --glass-glow: 0 34px 80px -34px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .04);
  --glass-inner: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(0, 0, 0, .18);

  --ink-1: #f2f6ff;
  --ink-2: #c0cdee;
  --ink-3: #8b9ac2;

  --cyan: #5ce4ff;
  --cyan-soft: rgba(92, 228, 255, .12);
  --blue: #6f8dff;
  --violet: #b98cff;
  --mint: #5ff3ca;

  --brand-grad: linear-gradient(120deg, #83ecff, #6f8dff 58%, #b98cff);
  --accent-a: #5ce4ff;
  --accent-b: #6f8dff;
  --accent-c: #b98cff;

  --url-ink: #7fe2ff;
  --url-dot: rgba(92, 228, 255, .6);
  --url-glow: rgba(92, 228, 255, .4);

  --backdrop-blur: blur(26px) saturate(165%);

  --chip-bg: rgba(255, 255, 255, .06);
  --chip-stroke: rgba(255, 255, 255, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: smooth;
  background-color: #dfeaff;
  overflow-x: hidden;
  overflow-x: clip;
}
:root[data-theme="dark"] { background-color: #04070f; }

body {
  min-height: 100vh;
  min-height: 100lvh;
  color: var(--ink-1);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  background-color: #dfeaff;
  overflow-x: hidden;
  overflow-x: clip;
  cursor: url('../../image/11.ico') 3 3, auto;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] body { background-color: #04070f; }

button, input { font: inherit; color: inherit; }
button { cursor: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: rgba(60, 98, 232, .22); color: var(--ink-1); }

/* 自定义指针效果 */
.seg-btn, .tab, .search-go, .back-top, .cp-link, .item, .theme-toggle { cursor: url('../../image/22.cur'), pointer; }
#searchInput { cursor: url('../../image/22.cur'), text; }

/* 滚动条 */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: rgba(150, 180, 220, .1); }
:root[data-theme="dark"] ::-webkit-scrollbar-track { background: #05080f; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(60, 98, 232, .7), rgba(124, 77, 255, .7));
  border-radius: 99px; border: 2px solid transparent; background-clip: padding-box;
}

/* ============================================================
   背景（双主题）
   ============================================================ */
.bg {
  position: fixed; top: 0; left: 0; width: 100%;
  height: 100vh; height: 100lvh; min-height: 100%;
  z-index: 0; overflow: hidden; overflow: clip; pointer-events: none;
  background-color: #dfeaff;
  contain: layout style paint;
  isolation: isolate;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
@supports not (height: 100lvh) {
  @media (max-width: 900px) {
    .bg { height: calc(100vh + 100px); }
  }
}
:root[data-theme="dark"] .bg { background-color: #04070f; }

.bg::before,
.bg::after {
  content: ""; position: absolute; inset: 0;
  transform: translateZ(0);
  pointer-events: none;
}
.bg::before {
  background:
    radial-gradient(ellipse 120% 80% at 50% 116%, rgba(120, 170, 255, .5), transparent 62%),
    radial-gradient(ellipse 90% 60% at 50% -18%, rgba(170, 205, 255, .75), transparent 68%),
    linear-gradient(180deg, #f6faff 0%, #e8f1ff 46%, #dfeaff 100%);
}
.bg::after {
  background:
    radial-gradient(ellipse 120% 70% at 50% 112%, rgba(38, 78, 168, .35), transparent 62%),
    radial-gradient(ellipse 90% 60% at 50% -20%, rgba(42, 96, 200, .22), transparent 70%),
    linear-gradient(180deg, #050a17 0%, #070d1c 45%, #04070f 100%);
  opacity: 0;
  will-change: opacity;
  transition: opacity .34s var(--theme-ease);
}
:root[data-theme="dark"] .bg::after { opacity: 1; }

/* 极光 */
.bg-aurora { position: absolute; inset: -18% -10%; opacity: .78; transform: translateZ(0); transition: opacity .34s var(--theme-ease); will-change: opacity; }
:root[data-theme="dark"] .bg-aurora { opacity: .86; }
.bg-aurora i {
  position: absolute; display: block; border-radius: 50%;
  will-change: transform; transform: translateZ(0);
  -webkit-mask-image: radial-gradient(closest-side, #000 18%, rgba(0, 0, 0, .55) 48%, transparent 78%);
  mask-image: radial-gradient(closest-side, #000 18%, rgba(0, 0, 0, .55) 48%, transparent 78%);
}
.bg-aurora .a1 { width: 62vmax; height: 34vmax; left: -12vmax; top: 4vmax; background: radial-gradient(closest-side, rgba(54, 160, 255, .43), rgba(54, 160, 255, .16) 55%, transparent 80%); animation: aur1 24s ease-in-out infinite alternate; }
.bg-aurora .a2 { width: 54vmax; height: 30vmax; right: -14vmax; top: 20vmax; background: radial-gradient(closest-side, rgba(150, 102, 255, .35), rgba(150, 102, 255, .13) 55%, transparent 80%); animation: aur2 30s ease-in-out infinite alternate; }
.bg-aurora .a3 { width: 46vmax; height: 26vmax; left: 18vmax; bottom: -10vmax; background: radial-gradient(closest-side, rgba(40, 225, 190, .28), rgba(40, 225, 190, .1) 55%, transparent 80%); animation: aur3 36s ease-in-out infinite alternate; }
@keyframes aur1 { 0% { transform: translate3d(0, 0, 0) rotate(-6deg) scale(1); } 100% { transform: translate3d(8vmax, 4vmax, 0) rotate(4deg) scale(1.14); } }
@keyframes aur2 { 0% { transform: translate3d(0, 0, 0) rotate(8deg) scale(1.06); } 100% { transform: translate3d(-7vmax, 5vmax, 0) rotate(-4deg) scale(.94); } }
@keyframes aur3 { 0% { transform: translate3d(0, 0, 0) scale(.98); } 100% { transform: translate3d(-5vmax, -5vmax, 0) scale(1.12); } }

#stars { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .5s ease; }

/* 透视网格地平线 */
.bg-grid-wrap {
  position: absolute; inset: 0; overflow: hidden;
  perspective: 300px; perspective-origin: 50% 62%;
  -webkit-mask-image: linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, .55) 68%, #000 90%);
  mask-image: linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, .55) 68%, #000 90%);
  opacity: .42;
  transform: translateZ(0);
  transition: opacity .34s var(--theme-ease);
  will-change: opacity;
}
:root[data-theme="dark"] .bg-grid-wrap { opacity: .58; }
.bg-grid {
  position: absolute; left: -60%; right: -60%; bottom: 0; height: 62vh; height: 62lvh;
  transform-origin: 50% 100%;
  transform: rotateX(72deg);
}
/* 网格图案移至伪元素，用 transform 位移代替 background-position 动画，
   走 GPU 合成层，避免手机端滚动时逐帧重绘导致卡顿*/
.bg-grid::before {
  content: ""; position: absolute; left: -64px; right: 0; top: -64px; bottom: 0;
  background-image:
    linear-gradient(rgba(88, 155, 240, .46) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 155, 240, .46) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  animation: gridMove 8s linear infinite;
  will-change: transform;
}
@keyframes gridMove { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(64px, 64px, 0); } }
.bg-grid::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(60, 98, 232, .55) 30%, rgba(124, 77, 255, .55) 70%, transparent);
}
:root[data-theme="dark"] .bg-grid::after {
  background: linear-gradient(90deg, transparent, rgba(92, 228, 255, .85) 30%, rgba(185, 140, 255, .85) 70%, transparent);
}

/* 雷达环 */
.bg-radar { position: absolute; left: 50%; top: 46%; width: 92vmax; height: 92vmax; margin: -46vmax 0 0 -46vmax; pointer-events: none; opacity: .45; }
.bg-radar i {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(80, 140, 220, .16);
  will-change: transform, opacity;
  animation: radarPulse 7s var(--ease-out) infinite;
}
:root[data-theme="dark"] .bg-radar i { border-color: rgba(100, 190, 255, .09); box-shadow: inset 0 0 60px rgba(60, 140, 255, .05); }
.bg-radar i:nth-child(2) { animation-delay: 3.5s; }
@keyframes radarPulse {
  0% { transform: scale(.28); opacity: 0; }
  22% { opacity: .9; }
  100% { transform: scale(1); opacity: 0; }
}

/* 流星 */
.shoot {
  position: absolute; top: 0; left: 0; width: 140px; height: 1px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(90, 140, 230, .8));
  filter: drop-shadow(0 0 6px rgba(90, 140, 230, .7));
  opacity: 0;
  will-change: transform, opacity;
}
:root[data-theme="dark"] .shoot { background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(160, 230, 255, .9)); filter: drop-shadow(0 0 6px rgba(120, 220, 255, .9)); }
.shoot::after {
  content: ""; position: absolute; right: -1px; top: -1.4px; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 2px rgba(120, 180, 255, .9);
}
.shoot--1 { animation: shoot 13s linear infinite; }
.shoot--2 { animation: shoot 19s linear infinite 8s; }
@keyframes shoot {
  0% { transform: translate3d(18vw, 12vh, 0) rotate(24deg) scaleX(.2); opacity: 0; }
  4% { opacity: .95; }
  18% { transform: translate3d(58vw, 40vh, 0) rotate(24deg) scaleX(1); opacity: 0; }
  100% { transform: translate3d(58vw, 40vh, 0) rotate(24deg) scaleX(1); opacity: 0; }
}

.bg-vignette {
  position: absolute; inset: 0;
  pointer-events: none;
}
.bg-vignette::before,
.bg-vignette::after {
  content: ""; position: absolute; inset: 0;
  transform: translateZ(0);
}
.bg-vignette::before {
  background: radial-gradient(ellipse 88% 76% at 50% 40%, transparent 56%, rgba(70, 110, 175, .16) 100%);
}
.bg-vignette::after {
  background: radial-gradient(ellipse 85% 72% at 50% 40%, transparent 48%, rgba(0, 0, 0, .62) 100%);
  opacity: 0;
  will-change: opacity;
  transition: opacity .34s var(--theme-ease);
}
:root[data-theme="dark"] .bg-vignette::after { opacity: 1; }

.bg-noise {
  position: absolute; inset: 0; opacity: .028;
  transform: translateZ(0);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

#fx { position: fixed; inset: 0; z-index: 9; pointer-events: none; }

/* ============================================================
   顶部进度条
   ============================================================ */
.progress-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  background: rgba(120, 160, 220, .12);
  z-index: 9999; opacity: 0; transition: opacity .4s ease;
}
/* 进度条用 transform: scaleX 代替 width，滚动时不再触发布局重排 */
.progress-bar {
  height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b) 40%, var(--accent-c) 72%, var(--mint));
  box-shadow: 0 0 12px rgba(60, 98, 232, .55);
  transition: transform .15s linear;
  will-change: transform;
}

/* ============================================================
   页面骨架
   ============================================================ */
#app {
  position: relative; z-index: 3;
  width: 100%; max-width: 1020px;
  margin: 0 auto;
  padding: 26px 24px 46px;
  display: flex; flex-direction: column;
}
#app > * { animation: riseIn .85s var(--ease-out) both; }
#app > .search-panel { animation-delay: .06s; }
#app > .board { animation-delay: .12s; }
#app > .footer { animation-delay: .18s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(20px); } }

/* ============================================================
   顶栏（仅状态灯 + 主题开关）
   ============================================================ */
.topbar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 2px 2px 0;
}

.hud-status {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(10, 168, 138, .28);
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: var(--backdrop-blur); backdrop-filter: var(--backdrop-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 20px -14px rgba(30, 90, 110, .6); font-size: 11px; letter-spacing: .2em; color: #0a8f79;
}
:root[data-theme="dark"] .hud-status {
  border-color: rgba(95, 243, 202, .3); background: rgba(95, 243, 202, .07); color: #9cf7dc;
  box-shadow: none;
}
.hud-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); will-change: transform, opacity; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.78); } }

/* ---- 明暗切换开关 ---- */
.theme-toggle {
  position: relative; display: inline-flex; align-items: center;
  width: 92px; height: 40px; padding: 4px; border: 1px solid var(--glass-stroke);
  border-radius: 999px; background: var(--glass-fill);
  -webkit-backdrop-filter: var(--backdrop-blur); backdrop-filter: var(--backdrop-blur);
  box-shadow: var(--glass-glow), var(--glass-inner);
  overflow: hidden;
  transform: translateZ(0);
}
.tt-opt { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; color: var(--ink-3); opacity: .72; transform: scale(.9); transition: transform .42s var(--ease-spring), opacity .3s ease; }
.tt-opt svg { width: 16px; height: 16px; stroke-width: 2; }
.tt-moon { margin-left: auto; }

.tt-thumb {
  position: absolute; top: 4px; left: 4px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-grad);
  box-shadow: 0 6px 16px -4px rgba(60, 98, 232, .7), inset 0 1px 0 rgba(255, 255, 255, .6);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform .44s var(--ease-spring);
}
/* 明亮（默认）：滑块在左，太阳为深色激活 */
.tt-sun { color: #fff; opacity: 1; transform: scale(1); filter: drop-shadow(0 1px 3px rgba(10, 60, 110, .45)); }
.tt-sun svg { animation: sunSpin 16s linear infinite; }
@keyframes sunSpin { to { transform: rotate(360deg); } }

/* 深色：滑块右移，月亮激活 */
:root[data-theme="dark"] .tt-thumb { transform: translate3d(52px, 0, 0); }
:root[data-theme="dark"] .tt-sun { color: var(--ink-3); opacity: .72; transform: scale(.88); filter: none; }
:root[data-theme="dark"] .tt-sun svg { animation-play-state: paused; }
:root[data-theme="dark"] .tt-moon { color: #fff; opacity: 1; transform: scale(1); filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.theme-toggle:hover .tt-thumb { box-shadow: 0 8px 22px -4px rgba(60, 98, 232, .95), inset 0 1px 0 rgba(255, 255, 255, .7); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent-b); outline-offset: 3px; }

/* ============================================================
   时钟主视觉
   ============================================================ */
.clock-hero { display: flex; justify-content: center; padding: 8px 0 2px; }

.clock { position: relative; display: inline-flex; flex-direction: column; align-items: center; padding: 4px 28px 16px; }
.clock-ring {
  position: absolute; inset: -26px -10px -10px; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70, 130, 235, .1), transparent 70%);
  transform: translateZ(0);
}
:root[data-theme="dark"] .clock-ring { background: radial-gradient(closest-side, rgba(92, 228, 255, .12), transparent 70%); }
.clock-ring::before,
.clock-ring::after {
  content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.clock-ring::before {
  width: 310px; height: 310px;
  background:
    conic-gradient(from 0deg, rgba(60, 98, 232, .55), transparent 18%, transparent 82%, rgba(124, 77, 255, .5)) border-box;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  will-change: transform;
  animation: haloSpin 26s linear infinite;
}
.clock-ring::after {
  width: 238px; height: 238px;
  border: 1px dashed rgba(70, 130, 235, .2);
  will-change: transform;
  animation: haloSpin 44s linear infinite reverse;
}
:root[data-theme="dark"] .clock-ring::after { border-color: rgba(120, 200, 255, .1); }
@keyframes haloSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.clock-date {
  position: relative; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 15px; letter-spacing: .18em; color: var(--ink-2);
}
.clock-year { color: var(--ink-1); font-weight: 600; }
.clock-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-a); box-shadow: 0 0 10px var(--accent-a); }
.clock-week {
  padding: 3px 12px; border-radius: 999px;
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  color: #fff; background: var(--brand-grad);
  box-shadow: 0 8px 20px -10px rgba(60, 98, 232, .9), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.clock-time {
  position: relative; display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 2px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(54px, 8.4vw, 80px); line-height: 1.02; letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
}
#clock-hm {
  position: relative; display: inline-block;
  background: linear-gradient(115deg, #12305c 0%, #1d4ea8 38%, #3c62e8 68%, #7c4dff 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 20px rgba(60, 98, 232, .22));
  will-change: transform; transform: translateZ(0);
}
#clock-hm::after {
  content: attr(data-hm);
  position: absolute; inset: 0; pointer-events: none; user-select: none;
  background: linear-gradient(115deg, #ffffff 8%, #c9ecff 42%, #9fb4ff 72%, #e0c8ff 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(92, 228, 255, .38));
  opacity: 0; will-change: opacity;
  transition: opacity .34s var(--theme-ease);
}
:root[data-theme="dark"] #clock-hm::after { opacity: 1; }
.clock-sec {
  font-size: .46em; color: var(--accent-a); min-width: 2.1em; text-align: left;
  text-shadow: 0 0 20px rgba(60, 98, 232, .35);
  will-change: transform; transform: translateZ(0);
}
:root[data-theme="dark"] .clock-sec { color: var(--cyan); text-shadow: 0 0 22px rgba(92, 228, 255, .9); }
.clock-sec.tick { animation: secTick .5s var(--ease-spring); }
.clock-sec.tick-b { animation: secTickB .5s var(--ease-spring); }
@keyframes secTick { 0% { transform: translateZ(0) scale(1.16); } 100% { transform: translateZ(0) scale(1); } }
@keyframes secTickB { 0% { transform: translateZ(0) scale(1.16); } 100% { transform: translateZ(0) scale(1); } }

.clock-bar {
  width: 100%; height: 1px; margin-top: 10px; position: relative;
  background: linear-gradient(90deg, transparent, rgba(60, 98, 232, .4) 22%, rgba(124, 77, 255, .4) 78%, transparent);
}
/* 光条动画改用 transform 位移 */
.clock-bar::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 26%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-b), transparent);
  filter: blur(1px);
  animation: barRun 4.6s ease-in-out infinite;
  will-change: transform;
}
@keyframes barRun { 0%, 100% { transform: translate3d(-100%, 0, 0); opacity: .2; } 50% { transform: translate3d(285%, 0, 0); opacity: 1; } }

/* ============================================================
   搜索引擎
   ============================================================ */
.search-panel { margin: 12px auto 0; width: 100%; max-width: 760px; }

.seg {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  max-width: 404px; margin: 0 auto 14px; padding: 6px;
  border-radius: 999px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-glow), var(--glass-inner);
  -webkit-backdrop-filter: var(--backdrop-blur); backdrop-filter: var(--backdrop-blur);
}
.seg-ind {
  position: absolute; top: 6px; left: 6px; bottom: 6px; width: calc((100% - 24px) / 3);
  border-radius: 999px;
  background: linear-gradient(120deg, var(--cyan-soft), rgba(60, 98, 232, .14) 55%, rgba(124, 77, 255, .12));
  border: 1px solid rgba(60, 98, 232, .28);
  box-shadow: 0 8px 20px -14px rgba(60, 98, 232, .9), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .5s var(--ease-spring);
}
:root[data-theme="dark"] .seg-ind {
  background: linear-gradient(120deg, rgba(92, 228, 255, .26), rgba(111, 141, 255, .34) 55%, rgba(185, 140, 255, .28));
  border-color: rgba(160, 225, 255, .5);
  box-shadow: 0 0 26px rgba(92, 228, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.seg-btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 42px; border: 0; border-radius: 999px; background: transparent;
  font-size: 13.5px; font-weight: 600; letter-spacing: .1em; color: var(--ink-3);
}
.seg-btn:hover { color: var(--ink-1); }
.seg-btn.is-active { color: var(--ink-1); font-weight: 600; text-shadow: none; }
:root[data-theme="dark"] .seg-btn.is-active { color: #fff; text-shadow: 0 0 16px rgba(92, 228, 255, .8); }

/* 引擎图标：官方配色的圆角方块 */
.seg-ico {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(120, 165, 220, .26);
  box-shadow: 0 4px 10px -4px rgba(30, 70, 130, .35), inset 0 1px 0 #fff;
  transition: transform .45s var(--ease-spring);
}
:root[data-theme="dark"] .seg-ico {
  background: rgba(255, 255, 255, .94); border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .9), inset 0 1px 0 #fff;
}
.seg-ico svg { width: 17px; height: 17px; stroke: none; }
.seg-btn:hover .seg-ico { transform: translateY(-1px) scale(1.05); }
.seg-btn.is-active .seg-ico {
  transform: scale(1.1);
  border-color: rgba(60, 98, 232, .45);
  box-shadow: 0 8px 18px -8px rgba(60, 98, 232, .95), inset 0 1px 0 #fff;
}
:root[data-theme="dark"] .seg-btn.is-active .seg-ico { border-color: rgba(160, 225, 255, .45); box-shadow: 0 0 18px -6px rgba(92, 228, 255, .9); }

/* 搜索框：更厚的液态玻璃 */
.search-box {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 9px 9px 9px 22px; border-radius: 999px;
  background: var(--glass-fill-2);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-glow), var(--glass-inner);
  -webkit-backdrop-filter: var(--backdrop-blur); backdrop-filter: var(--backdrop-blur);
  overflow: hidden;
  transition: transform .35s var(--ease-out);
}
.search-box::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 98, 232, .6), rgba(124, 77, 255, .6), transparent);
  opacity: .6; transition: opacity .35s ease;
}
.search-box:focus-within {
  border-color: rgba(60, 98, 232, .42);
  box-shadow: var(--glass-glow), var(--glass-inner), 0 0 0 5px rgba(60, 98, 232, .1), 0 0 34px rgba(60, 98, 232, .16);
  transform: translateY(-1px);
}
:root[data-theme="dark"] .search-box:focus-within {
  border-color: rgba(92, 228, 255, .62);
  box-shadow: var(--glass-glow), var(--glass-inner), 0 0 0 6px rgba(92, 228, 255, .1), 0 0 40px rgba(92, 228, 255, .22);
}
.search-box:focus-within::before { opacity: 1; }
.search-ico { flex: none; display: grid; place-items: center; width: 22px; height: 22px; color: var(--accent-a); filter: drop-shadow(0 0 8px rgba(60, 98, 232, .35)); }
.search-ico svg { width: 20px; height: 20px; stroke-width: 2; }
#searchInput { flex: 1; min-width: 0; height: 46px; border: 0; outline: none; background: transparent; font-size: 15.5px; letter-spacing: .04em; color: var(--ink-1); }
#searchInput::placeholder { color: var(--ink-3); opacity: .75; }
#searchInput::-webkit-search-cancel-button {
  -webkit-appearance: none; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a7c9e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/contain no-repeat;
  cursor: pointer;
}
.search-go {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 24px;
  border: 0; border-radius: 999px; font-size: 14.5px; font-weight: 700; letter-spacing: .14em; color: #fff;
  background: var(--brand-grad);
  box-shadow: 0 14px 30px -14px rgba(60, 98, 232, .95), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .3s var(--ease-spring), box-shadow .3s ease, filter .3s ease;
}
.search-go svg { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .3s var(--ease-spring); }
.search-go:hover { transform: translateY(-1px) scale(1.03); filter: brightness(1.06); box-shadow: 0 18px 38px -14px rgba(60, 98, 232, 1), inset 0 1px 0 rgba(255, 255, 255, .6); }
.search-go:hover svg { transform: translateX(3px); }
.search-go:active { transform: scale(.97); }

.search-box.is-shake { animation: shakeBox .5s var(--ease-out); border-color: rgba(232, 62, 92, .55); }
@keyframes shakeBox {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

/* ============================================================
   收录分类
   ============================================================ */
.board { margin: 34px 0 0; }

.tabs {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  border-bottom: 1px solid rgba(110, 150, 205, .18);
}
:root[data-theme="dark"] .tabs { border-bottom-color: rgba(140, 190, 255, .1); }
.tab-ind {
  position: absolute; bottom: -1px; left: 0; height: 2px; width: calc((100% - 16px) / 3);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-c));
  box-shadow: 0 0 14px rgba(60, 98, 232, .55);
  transition: transform .55s var(--ease-spring), width .4s var(--ease-spring);
}
:root[data-theme="dark"] .tab-ind { box-shadow: 0 0 16px rgba(92, 228, 255, .85), 0 0 30px rgba(185, 140, 255, .5); }
.tab {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  height: 58px; padding: 0 6px; border: 0; background: transparent;
  font-size: 16px; letter-spacing: .16em; font-weight: 600; color: var(--ink-3);
  transition: transform .4s var(--ease-out);
}
.tab:hover { color: var(--ink-1); transform: translateY(-1px); }
.tab.is-active { color: var(--ink-1); }
:root[data-theme="dark"] .tab.is-active { color: #fff; }

/* 分类徽章：液态玻璃 + 可着色遮罩图标 */
.tab-badge {
  position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(150, 185, 230, .3), 0 6px 14px -10px rgba(35, 75, 130, .7);
  transition: transform .45s var(--ease-spring);
}
:root[data-theme="dark"] .tab-badge { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.tab-ico {
  display: block; width: 18px; height: 18px;
  color: var(--ink-3);
  stroke-width: 1.7;
  transition: transform .45s var(--ease-spring);
}
.tab:hover .tab-ico { color: var(--accent-b); }
.tab:hover .tab-badge { transform: translateY(-1px); border-color: rgba(60, 98, 232, .32); }

.tab.is-active .tab-badge {
  background: var(--brand-grad);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 12px 26px -12px rgba(60, 98, 232, .95), inset 0 1px 0 rgba(255, 255, 255, .55);
  transform: translateY(-1px) scale(1.06);
}
.tab.is-active .tab-ico { color: #fff; transform: scale(1.04); filter: drop-shadow(0 1px 2px rgba(10, 40, 90, .4)); }

.tab-count {
  font-size: 11px; font-weight: 400; letter-spacing: .06em;
  padding: 1px 7px; border-radius: 999px;
  background: rgba(120, 160, 220, .14); color: var(--ink-3);
  border: 1px solid rgba(120, 160, 220, .2);
}
:root[data-theme="dark"] .tab-count { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .06); color: var(--ink-3); }
.tab.is-active .tab-count {
  background: rgba(60, 98, 232, .14); border-color: rgba(60, 98, 232, .28); color: var(--blue);
}
:root[data-theme="dark"] .tab.is-active .tab-count { background: rgba(92, 228, 255, .18); border-color: rgba(92, 228, 255, .35); color: #d9f7ff; }

.panels { margin-top: 10px; min-height: 220px; }

.app-list { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 20px 0 6px; }
.app-list.is-active { display: grid; }
@media (max-width: 760px) { .app-list { grid-template-columns: minmax(0, 1fr); } }

/* ---- 卡片：高亮液态玻璃 ---- */
.item {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 18px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-glow), var(--glass-inner);
  -webkit-backdrop-filter: var(--backdrop-blur); backdrop-filter: var(--backdrop-blur);
  overflow: hidden;
  contain: layout style;
  transform: translateZ(0);
  animation: itemIn .7s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 55ms);
  transition: transform .4s var(--ease-out);
}
@keyframes itemIn { from { opacity: 0; transform: translateY(16px) scale(.985); } }

.item > .glass-sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.item > .glass-sheen::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  will-change: opacity; transition: opacity .34s var(--theme-ease);
  background:
    radial-gradient(120% 80% at 12% -10%, rgba(255, 255, 255, .85), transparent 52%),
    radial-gradient(90% 60% at 92% 108%, rgba(160, 200, 255, .28), transparent 62%),
    conic-gradient(from 210deg at 50% 50%, rgba(90, 150, 255, .12), rgba(255, 255, 255, 0) 25%, rgba(140, 110, 255, .12) 55%, rgba(255, 255, 255, 0) 78%, rgba(90, 220, 255, .12));
  mix-blend-mode: screen;
  opacity: .85;
}
:root[data-theme="dark"] .item > .glass-sheen::before { opacity: .28; }

.item::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px 100px at var(--mx, 50%) var(--my, 50%), rgba(60, 98, 232, .14), transparent 70%);
  transition: opacity .35s ease;
}
:root[data-theme="dark"] .item::before { background: radial-gradient(420px 100px at var(--mx, 50%) var(--my, 50%), rgba(92, 228, 255, .16), transparent 70%); }
.item::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-a), var(--accent-c));
  box-shadow: 0 0 12px rgba(60, 98, 232, .6);
  transform: translateY(-50%);
  transition: height .4s var(--ease-spring);
}
.item:hover, .item:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(60, 98, 232, .3);
  background: linear-gradient(140deg, rgba(255, 255, 255, .97) 0%, rgba(240, 247, 255, .9) 46%, rgba(246, 243, 255, .93) 100%);
  box-shadow: 0 34px 70px -32px rgba(38, 74, 128, .5), 0 0 0 1px rgba(60, 98, 232, .08), var(--glass-inner);
  outline: none;
}
:root[data-theme="dark"] .item:hover,
:root[data-theme="dark"] .item:focus-visible {
  border-color: rgba(92, 228, 255, .42);
  background: linear-gradient(125deg, rgba(92, 228, 255, .09), rgba(255, 255, 255, .035) 55%, rgba(185, 140, 255, .07));
  box-shadow: 0 30px 54px -32px #000, 0 0 34px -10px rgba(92, 228, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.item:hover::before, .item:focus-visible::before { opacity: 1; }
.item:hover::after, .item:focus-visible::after { height: 58%; }

.item-icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: #fff;
  border: 1px solid rgba(120, 165, 220, .24);
  box-shadow: 0 8px 18px -12px rgba(30, 70, 130, .55), inset 0 1px 0 #fff;
  overflow: hidden;
  transition: transform .45s var(--ease-spring);
}
:root[data-theme="dark"] .item-icon { background: rgba(255, 255, 255, .92); border-color: rgba(255, 255, 255, .6); }
.item-icon img { width: 30px; height: 30px; object-fit: contain; border-radius: 8px; }
.item:hover .item-icon { transform: scale(1.07) rotate(-4deg); box-shadow: 0 14px 28px -14px rgba(60, 98, 232, .8), inset 0 1px 0 #fff; }

.item-icon--glyph {
  background: linear-gradient(135deg, rgba(60, 98, 232, .12), rgba(124, 77, 255, .12));
  border-color: rgba(60, 98, 232, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 18px -12px rgba(60, 98, 232, .5);
}
:root[data-theme="dark"] .item-icon--glyph {
  background: linear-gradient(135deg, rgba(92, 228, 255, .18), rgba(185, 140, 255, .16));
  border-color: rgba(140, 210, 255, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 24px -8px rgba(92, 228, 255, .6);
}
.item-icon--glyph svg { width: 24px; height: 24px; color: var(--accent-a); stroke-width: 1.6; filter: drop-shadow(0 0 6px rgba(60, 98, 232, .35)); }
:root[data-theme="dark"] .item-icon--glyph svg { color: var(--cyan); filter: drop-shadow(0 0 8px rgba(92, 228, 255, .8)); }

.item-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.app-name {
  font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--ink-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 网址 */
.app-url {
  position: relative; display: inline-flex; align-items: center; width: fit-content; max-width: 100%;
  font-size: 13.5px; line-height: 1.4;
  letter-spacing: .14em; text-transform: lowercase;
  color: var(--url-ink);
  padding: 2px 2px 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 0 12px var(--url-glow);
  transition: letter-spacing .35s var(--ease-out);
}
.app-url::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background-image: radial-gradient(circle, var(--url-dot) 1px, transparent 1.2px);
  background-size: 5px 3px;
  opacity: .8;
  transition: opacity .3s ease;
}
.app-url::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(60, 98, 232, .85), rgba(124, 77, 255, .65));
  transform: scaleX(.28); transform-origin: left;
  transition: transform .45s var(--ease-spring);
}
:root[data-theme="dark"] .app-url::after { background: linear-gradient(90deg, rgba(92, 228, 255, .9), rgba(185, 140, 255, .7)); }
.item:hover .app-name { color: var(--ink-1); }
.item:hover .app-url { color: var(--blue); text-shadow: 0 0 16px rgba(60, 98, 232, .45); letter-spacing: .19em; }
:root[data-theme="dark"] .item:hover .app-url { color: #d8f8ff; text-shadow: 0 0 18px rgba(92, 228, 255, .85); }
.item:hover .app-url::before { opacity: 1; }
.item:hover .app-url::after { transform: scaleX(1); }

.item-go {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  color: var(--ink-3);
  border: 1px solid rgba(120, 160, 220, .28);
  background: rgba(255, 255, 255, .5);
  transition: transform .4s var(--ease-spring);
}
:root[data-theme="dark"] .item-go { border-color: rgba(255, 255, 255, .1); background: transparent; }
.item-go svg { width: 16px; height: 16px; stroke-width: 2; transition: transform .4s var(--ease-spring); }
.item:hover .item-go {
  color: #fff; border-color: transparent; background: var(--brand-grad);
  box-shadow: 0 10px 22px -10px rgba(60, 98, 232, .95);
  transform: rotate(45deg) scale(1.06);
}
.item:hover .item-go svg { transform: rotate(-45deg); }

/* ============================================================
   页脚
   ============================================================ */
.footer { margin-top: 40px; padding-top: 22px; text-align: center; border-top: 1px solid rgba(110, 150, 205, .18); }
:root[data-theme="dark"] .footer { border-top-color: rgba(140, 190, 255, .1); }
.copyright { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); }
.cp-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent-b); box-shadow: 0 0 8px rgba(60, 98, 232, .6); }
.cp-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; letter-spacing: .08em; color: var(--url-ink);
  padding: 2px 8px; border-radius: 7px;
}
.cp-link svg { width: 12px; height: 12px; stroke-width: 2.2; transition: transform .35s var(--ease-spring); }
.cp-link:hover { color: var(--ink-1); background: var(--cyan-soft); text-shadow: 0 0 12px var(--url-glow); }
.cp-link:hover svg { transform: translate(2px, -2px); }

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 60;
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--glass-stroke);
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--backdrop-blur); backdrop-filter: var(--backdrop-blur);
  box-shadow: var(--glass-glow), var(--glass-inner);
  color: var(--ink-1);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.back-top:hover { border-color: rgba(60, 98, 232, .4); }
:root[data-theme="dark"] .back-top:hover { border-color: rgba(92, 228, 255, .6); }
.back-top .arrow { width: 20px; height: 20px; stroke-width: 2.1; transition: transform .4s var(--ease-spring), color .3s ease; }
.back-top:hover .arrow { transform: translateY(-3px); color: var(--accent-a); }
.back-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.ring circle { fill: none; stroke-width: 2; }
.ring-bg { stroke: rgba(120, 160, 220, .22); }
.ring-fg { stroke: var(--accent-b); stroke-linecap: round; stroke-dasharray: 131.9; stroke-dashoffset: 131.9; filter: drop-shadow(0 0 4px rgba(60, 98, 232, .7)); transition: stroke-dashoffset .2s linear; }
:root[data-theme="dark"] .ring-bg { stroke: rgba(255, 255, 255, .1); }
:root[data-theme="dark"] .ring-fg { stroke: var(--cyan); filter: drop-shadow(0 0 5px rgba(92, 228, 255, .8)); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
  #app { padding: 22px 18px 90px; }
  .clock-ring::before { width: 270px; height: 270px; }
  .clock-ring::after { width: 205px; height: 205px; }
}

@media (max-width: 640px) {
  /* 手机端降低玻璃模糊半径，减少滚动时多层 backdrop-filter 的 GPU 开销，缓解滑动卡顿 */
  :root,
  :root[data-theme="dark"] { --backdrop-blur: blur(14px) saturate(160%); }

  #app { padding: 18px 14px 92px; }
  .topbar { padding-top: 0; }
  .theme-toggle { width: 84px; height: 38px; }
  .tt-opt { width: 28px; height: 28px; }
  .tt-thumb { width: 28px; height: 28px; }
  :root[data-theme="dark"] .tt-thumb { transform: translate3d(46px, 0, 0); }

  .clock-hero { padding: 6px 0 0; }
  .clock { padding: 4px 8px 12px; }
  .clock-ring { inset: -14px 0 0; }
  .clock-ring::before { width: 230px; height: 230px; }
  .clock-ring::after { width: 175px; height: 175px; }
  .clock-date { font-size: 12.5px; gap: 7px; letter-spacing: .1em; }
  .clock-week { font-size: 11px; padding: 2px 9px; }
  .clock-time { font-size: clamp(50px, 15.5vw, 66px); gap: 5px; }

  .search-panel { margin-top: 14px; }
  .seg { max-width: 100%; padding: 5px; }
  .seg-btn { height: 40px; font-size: 13px; gap: 7px; }
  .seg-ico { width: 24px; height: 24px; border-radius: 7px; }
  .seg-ico svg { width: 16px; height: 16px; }
  .search-box { padding: 6px 6px 6px 16px; gap: 8px; }
  #searchInput { height: 42px; font-size: 14.5px; }
  .search-go { height: 42px; padding: 0 16px; }
  .search-go span { display: none; }
  .search-go svg { width: 18px; height: 18px; }

  .board { margin-top: 30px; }
  .tab { height: 52px; gap: 8px; font-size: 14.5px; letter-spacing: .1em; }
  .tab-badge { width: 28px; height: 28px; border-radius: 9px; }
  .tab-ico { width: 16px; height: 16px; }
  .tab-count { display: none; }

  .app-list { gap: 11px; padding-top: 16px; }
  .item { padding: 12px 13px; gap: 11px; }
  .item-icon { width: 41px; height: 41px; border-radius: 12px; }
  .item-icon img { width: 27px; height: 27px; }
  .app-name { font-size: 13.6px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .app-url { font-size: 12.5px; letter-spacing: .12em; }

  .footer { margin-top: 34px; }
  .back-top { width: 46px; height: 46px; right: 16px; bottom: 20px; }
}

@media (max-width: 380px) {
  .seg-ico { width: 26px; height: 26px; }
  .hud-status { padding: 8px; }
}

/* 减少动态效果 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .bg-aurora i, .bg-radar i, .shoot { display: none; }
}

@media (hover: hover) {
  .item {
    transition: transform .4s var(--ease-out), border-color .3s ease, box-shadow .35s ease;
  }
  .search-box {
    transition: transform .35s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
  }
  .seg-btn, .tab, .tab-ico, .app-name {
    transition: color .25s ease, transform .4s var(--ease-out);
  }
  .app-url {
    transition: color .25s ease, letter-spacing .35s var(--ease-out);
  }
  .cp-link {
    transition: color .25s ease, background .25s ease, text-shadow .25s ease;
  }
  .item-go {
    transition: color .25s ease, border-color .25s ease, transform .4s var(--ease-spring);
  }
}
