/* ==========================================================================
   作业栏 · 八年级四班  主题样式（v7 · 科技感 / 玻璃拟态）
   --------------------------------------------------------------------------
   主题：默认「按时段」—— 天黑（19:00–06:00）自动暗色，天亮自动浅色；
        也可手动切「跟随系统 / 暗色 / 浅色」。切换由 homework.js 控制。
   ========================================================================== */
:root {
  /* 深色为默认（夜间） */
  --bg: #05070f;
  --bg-soft: #080e1c;
  --panel: rgba(16, 24, 45, 0.56);
  --panel-2: rgba(24, 34, 60, 0.38);
  --panel-solid: #0b1122;
  --line: rgba(125, 165, 225, 0.14);
  --line-2: rgba(125, 165, 225, 0.26);
  --text: #e8eefc;
  --dim: #9aadd3;
  --faint: #67799f;

  /* 科技主调：青 → 靛 → 紫 */
  --accent: #22d3ee;
  --accent-2: #818cf8;
  --accent-3: #c084fc;
  --accent-grad: linear-gradient(115deg, #22d3ee 0%, #818cf8 52%, #c084fc 100%);
  --accent-soft: rgba(34, 211, 238, 0.14);
  --glow: rgba(34, 211, 238, 0.22);
  --ok: #34d399;
  --warn: #fbbf24;
  --red: #fb5a70;
  --red-soft: rgba(251, 90, 112, 0.12);

  --r: 16px;
  --r-lg: 22px;
  --shadow-1: 0 10px 30px rgba(2, 6, 18, 0.34);
  --shadow-2: 0 20px 50px rgba(2, 6, 18, 0.5);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;
}

/* 浅色（白天）：冷白玻璃 + 靛青 */
html[data-theme='light'] {
  --bg: #eaeff8;
  --bg-soft: #f6f8fd;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-2: rgba(255, 255, 255, 0.5);
  --panel-solid: #ffffff;
  --line: rgba(18, 42, 84, 0.10);
  --line-2: rgba(18, 42, 84, 0.20);
  --text: #0c1730;
  --dim: #4b5b79;
  --faint: #7a89a6;
  --accent: #0891b2;
  --accent-2: #4f46e5;
  --accent-3: #7c3aed;
  --accent-grad: linear-gradient(115deg, #0891b2 0%, #4f46e5 52%, #7c3aed 100%);
  --accent-soft: rgba(8, 145, 178, 0.12);
  --glow: rgba(8, 145, 178, 0.16);
  --ok: #0f9d6b;
  --warn: #b45309;
  --red: #d92c47;
  --red-soft: rgba(217, 44, 71, 0.1);
  --shadow-1: 0 8px 24px rgba(20, 40, 80, 0.08);
  --shadow-2: 0 18px 44px rgba(20, 40, 80, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 620px at 86% -12%, rgba(129, 140, 248, 0.20), transparent 62%),
    radial-gradient(900px 520px at 4% 0%, rgba(34, 211, 238, 0.15), transparent 58%),
    radial-gradient(900px 620px at 100% 104%, rgba(192, 132, 252, 0.13), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 55%, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color .6s ease, color .4s ease;
}

html[data-theme='light'] body {
  background:
    radial-gradient(1100px 620px at 86% -12%, rgba(99, 102, 241, 0.14), transparent 62%),
    radial-gradient(900px 520px at 4% 0%, rgba(6, 182, 212, 0.12), transparent 58%),
    radial-gradient(900px 620px at 100% 104%, rgba(124, 58, 237, 0.09), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 55%, var(--bg) 100%);
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

::selection { background: var(--accent-soft); color: var(--text); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); background-clip: content-box; }

/* ── 科技感背景（装饰层） ── */
.hw-scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hw-scene__grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(125, 175, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 175, 235, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 18%, #000 0%, rgba(0,0,0,.45) 45%, transparent 82%);
  mask-image: radial-gradient(120% 90% at 50% 18%, #000 0%, rgba(0,0,0,.45) 45%, transparent 82%);
}
html[data-theme='light'] .hw-scene__grid {
  background-image:
    linear-gradient(rgba(30, 70, 130, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 70, 130, 0.07) 1px, transparent 1px);
}
.hw-scene__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hw-scene__glow--a { width: 520px; height: 520px; top: -140px; right: -80px; background: radial-gradient(circle, rgba(129,140,248,.42), transparent 68%); }
.hw-scene__glow--b { width: 420px; height: 420px; top: 34%; left: -140px; background: radial-gradient(circle, rgba(34,211,238,.30), transparent 68%); }
.hw-scene__beam {
  position: absolute; left: -10%; right: -10%; top: -30%; height: 62%;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.055), transparent);
  animation: hwBeam 16s ease-in-out infinite;
}
@keyframes hwBeam { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(22%); opacity: .95; } }

.hw-mote {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: rgba(190, 225, 255, 0.9);
  box-shadow: 0 0 10px rgba(120, 200, 255, 0.85);
  animation: hwFloat 9s linear infinite;
}
html[data-theme='light'] .hw-mote { background: rgba(60, 130, 200, .5); box-shadow: 0 0 8px rgba(60, 130, 200, .35); }
@keyframes hwFloat {
  0% { transform: translateY(0); opacity: 0; }
  14% { opacity: .85; }
  86% { opacity: .45; }
  100% { transform: translateY(-150px); opacity: 0; }
}

/* ── 顶栏 ── */
.hw-top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  background: rgba(6, 10, 22, 0.62);
  border-bottom: 1px solid var(--line);
  transition: background-color .6s ease, border-color .6s ease;
}
html[data-theme='light'] .hw-top { background: rgba(246, 249, 254, 0.72); }
.hw-top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
}
.hw-top__inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.hw-top__brand { font-weight: 700; letter-spacing: .02em; display: flex; align-items: center; gap: 12px; }
.hw-top__brand b { color: var(--accent); font-weight: 700; }
.hw-logo {
  width: 26px; height: 26px; border-radius: 8px; position: relative;
  flex: 0 0 auto; overflow: hidden;
  background: var(--accent-grad);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 0 18px -2px var(--glow);
}
.hw-logo::after {
  content: ""; position: absolute; inset: 8px; border-radius: 3px;
  background: rgba(255,255,255,.92);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.hw-top__right { display: flex; align-items: center; gap: 10px; }
.hw-top__back {
  font-size: 13px; color: var(--dim); border: 1px solid var(--line-2);
  padding: 7px 14px; border-radius: 99px; transition: .18s; white-space: nowrap;
}
.hw-top__back:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

.hw-clock {
  font-size: 12.5px; color: var(--dim);
  border: 1px solid var(--line-2); padding: 6px 12px; border-radius: 99px;
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
  font-family: var(--mono); background: var(--panel-2);
}
.hw-theme {
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--accent);
  font-size: 15px; display: grid; place-items: center; transition: .2s;
}
.hw-theme:hover { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 20px -6px var(--glow); }

/* ── 页头 ── */
.hw-bar { padding: 44px 0 90px; }
.hw-bar__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.hw-eyebrow {
  margin: 0 0 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.hw-eyebrow::before {
  content: ""; width: 18px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent);
}
.hw-bar__head h1 {
  font-size: clamp(28px, 4.4vw, 42px); margin: 0; line-height: 1.1;
  letter-spacing: .01em;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 24px var(--glow));
}
.hw-bar__sub { color: var(--dim); font-size: 14px; margin: 10px 0 0; }
.hw-bar__sub b { color: var(--accent); font-variant-numeric: tabular-nums; }
.hw-warm-text { color: var(--dim); }

/* ── 统计卡 ── */
.hw-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hw-stat {
  flex: 1 1 150px; min-width: 140px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 15px 18px 16px; display: flex; flex-direction: column; gap: 3px;
  position: relative; overflow: hidden;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-1);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s, background-color .6s ease;
}
.hw-stat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--accent-grad); opacity: .75;
}
.hw-stat::after {
  content: ""; position: absolute; right: -22px; top: -22px; width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 72%);
  filter: blur(8px); opacity: .55;
}
.hw-stat:hover { transform: translateY(-3px); border-color: var(--line-2); }
.hw-stat__num {
  font-size: 27px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums;
  letter-spacing: -.01em; line-height: 1.15;
}
.hw-stat__label { font-size: 12px; color: var(--faint); letter-spacing: .06em; }
.hw-stat--soon .hw-stat__num { color: var(--warn); }
.hw-stat--past .hw-stat__num { color: var(--red); }
.hw-stat--file .hw-stat__num { color: var(--ok); }
.hw-stat--preview .hw-stat__num {
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── 卡片网格 ── */
.hw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 18px; }
.hw-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-1);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s, background-color .6s ease;
}
.hw-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  opacity: .45; pointer-events: none;
}
.hw-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.38);
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(34, 211, 238, 0.16), 0 0 38px -8px var(--glow);
}
html[data-theme='light'] .hw-card:hover { border-color: rgba(8, 145, 178, 0.4); }

/* 缩略图区 */
.hw-card__thumb {
  position: relative; aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, var(--panel-2), rgba(0,0,0,.12));
  overflow: hidden; cursor: pointer;
  border-bottom: 1px solid var(--line);
}
html[data-theme='light'] .hw-card__thumb { background: linear-gradient(160deg, #f2f6fc, #e6ecf7); }
.hw-card__thumb--img { background-size: cover; background-position: center; }
.hw-card__thumb--text { padding: 36px 14px 14px; cursor: default; }
.hw-thumb__text {
  font-size: 12px; color: var(--dim); line-height: 1.6; overflow: hidden; max-height: 100%;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical;
}
.hw-thumb__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; color: var(--faint); }
.hw-spin {
  width: 22px; height: 22px; border: 2px solid var(--line-2); border-top-color: var(--accent);
  border-radius: 50%; animation: hwSpin .8s linear infinite;
}
@keyframes hwSpin { to { transform: rotate(360deg); } }
.hw-thumb__page { position: absolute; top: 0; left: 0; width: 480px; transform: scale(.5); transform-origin: top left; }
.hw-thumb__doc, .hw-thumb__xls { background: #fff; color: #1a1a1a; height: 100%; overflow: hidden; font-size: 14px; }
.hw-thumb__doc { padding: 18px 22px; }
.hw-thumb__doc img { max-width: 100%; }
.hw-thumb__doc table { border-collapse: collapse; width: 100%; }
.hw-thumb__doc td, .hw-thumb__doc th { border: 1px solid #bbb; padding: 5px 8px; }
.hw-thumb__xls table { border-collapse: collapse; font-size: 14px; }
.hw-thumb__xls td, .hw-thumb__xls th { border: 1px solid #bbb; padding: 5px 8px; white-space: nowrap; }
.hw-thumb__page .px-slide { margin: 0; border-radius: 0; box-shadow: none; }

/* 类型角标 */
.hw-card__badge {
  position: absolute; left: 9px; top: 9px; z-index: 2;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  padding: 3px 8px; border-radius: 7px; color: #fff;
  background: rgba(8, 13, 26, 0.62); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
}
.hw-badge--img { background: rgba(34, 211, 238, .9); color: #04222b; border-color: transparent; }
.hw-badge--pdf { background: rgba(251, 90, 112, .9); border-color: transparent; }
.hw-badge--doc { background: rgba(99, 102, 241, .92); border-color: transparent; }
.hw-badge--xls { background: rgba(16, 185, 129, .92); border-color: transparent; }
.hw-badge--ppt { background: rgba(192, 132, 252, .92); border-color: transparent; }
.hw-badge--txt { background: rgba(56, 189, 248, .9); color: #04222b; border-color: transparent; }
.hw-badge--file { background: rgba(103, 121, 159, .9); border-color: transparent; }
.hw-badge--video { background: rgba(236, 72, 153, .92); border-color: transparent; }
.hw-badge--seewo { background: rgba(251, 146, 60, .95); color: #2a1606; border-color: transparent; }

/* 管理态：勾选框 */
.hw-card--admin { cursor: default; }
.hw-card__pick {
  position: absolute; top: 9px; right: 9px; z-index: 4;
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(8, 13, 26, 0.62); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .18); cursor: pointer;
}
.hw-card__pick input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }

/* 锁定态（暂时不可访问）：置灰 + 斜纹遮罩 + 红色提示 */
.hw-card--locked { opacity: .82; }
.hw-card--locked .hw-card__thumb { filter: grayscale(.85) brightness(.7); }
.hw-card--locked .hw-card__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(0, 0, 0, .18) 0 10px, rgba(0, 0, 0, .34) 10px 20px);
  pointer-events: none;
}
.hw-badge--lock { background: rgba(251, 90, 112, .95) !important; color: #fff !important; border-color: transparent !important; }
.hw-card__lock {
  font-size: 12.5px; line-height: 1.5; color: var(--red);
  background: var(--red-soft); border: 1px solid rgba(251, 90, 112, 0.3);
  border-radius: 9px; padding: 7px 10px; word-break: break-word;
}
.hw-card__lock b { color: var(--text); font-weight: 600; }

/* 管理工具条 */
.hw-adminbar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin: 12px 0 2px; padding: 11px 14px;
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: var(--r); backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-1);
}
.hw-adminbar__hint { font-size: 13px; color: var(--faint); margin-right: auto; }
.hw-adminbar__all { font-size: 13px; color: var(--text); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.hw-adminbar__all input { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }

/* 卡片正文 */
.hw-card__body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hw-card__title {
  margin: 0; font-size: 15px; line-height: 1.45; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hw-card__desc {
  margin: 0; color: var(--dim); font-size: 12.5px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hw-card__foot { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ── 灯箱预览 ── */
.hw-preview { border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); overflow: hidden; }
.hw-preview__label {
  font-size: 10.5px; letter-spacing: .16em; color: var(--faint);
  padding: 9px 13px; border-bottom: 1px solid var(--line); text-transform: uppercase; font-family: var(--mono);
}
.hw-preview img { display: block; max-width: 100%; margin: 0 auto; }
.hw-preview iframe { width: 100%; height: 260px; border: 0; background: #fff; }
.hw-preview pre {
  margin: 0; padding: 13px; max-height: 220px; overflow: auto;
  font-size: 12.5px; white-space: pre-wrap; word-break: break-word; color: var(--text);
  font-family: var(--mono);
}
.hw-preview__note { padding: 12px; font-size: 13px; color: var(--dim); }
.hw-preview__loading { padding: 16px; font-size: 13px; color: var(--dim); }

/* ── 灯箱 ── */
.hw-viewer { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 24px; }
.hw-viewer[hidden] { display: none; }
.hw-viewer__backdrop { position: absolute; inset: 0; background: rgba(2, 5, 12, 0.84); backdrop-filter: blur(8px); }
html[data-theme='light'] .hw-viewer__backdrop { background: rgba(18, 28, 48, 0.55); }
.hw-viewer__panel {
  position: relative; width: min(980px, 100%); max-height: 92vh;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  display: flex; flex-direction: column; overflow: hidden;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--shadow-2), 0 0 60px -20px var(--glow);
}
.hw-viewer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--accent-soft), transparent);
}
.hw-viewer__title {
  margin: 0; font-size: 17px; line-height: 1.3; padding-right: 12px; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.hw-viewer__close { background: none; border: 0; color: var(--dim); font-size: 26px; cursor: pointer; line-height: 1; padding: 0 4px; }
.hw-viewer__close:hover { color: var(--text); }
.hw-viewer__body { padding: 16px; overflow: auto; background: var(--panel-2); }
.hw-viewer__frame { width: 100%; height: 72vh; border: 0; background: #fff; border-radius: 10px; }
.hw-viewer__pre {
  white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.65; margin: 0;
  font-family: var(--mono);
}

/* ── 办公文档预览 ── */
.hw-doc { padding: 16px 20px; max-height: 70vh; overflow: auto; font-size: 15px; color: #1a1a1a; background: #fff; border-radius: 10px; }
.hw-doc img { max-width: 100%; height: auto; }
.hw-doc table { border-collapse: collapse; width: 100%; }
.hw-doc td, .hw-doc th { border: 1px solid #ccc; padding: 6px 9px; }
.hw-xls { padding: 12px; background: #fff; border-radius: 10px; }
.hw-xls__title { margin: 12px 0 6px; font-size: 14px; color: #1f6f4a; }
.hw-xls__scroll { overflow: auto; max-height: 64vh; border: 1px solid #ddd; border-radius: 8px; }
.hw-xls__scroll table { border-collapse: collapse; font-size: 13px; }
.hw-xls__scroll td, .hw-xls__scroll th { border: 1px solid #ccc; padding: 5px 9px; white-space: nowrap; }
.hw-pptx { overflow: auto; max-height: 72vh; background: #f3f3f5; padding: 10px; border-radius: 10px; }
.hw-pptx img { max-width: 100%; display: block; }

/* ── 自研 PPTX 渲染器输出 ── */
.px-slide {
  position: relative; margin: 0 auto 14px; border-radius: 8px; overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .22); color: #000; background: #fff;
}
.px-slide--thumb { margin: 0; border-radius: 0; box-shadow: none; }
.px-canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.px-sp, .px-picbox, .px-gf { position: absolute; }
.px-picbox, .px-gf { overflow: hidden; }
.px-sp { overflow: visible; }
.px-picbox { z-index: 1; }
.px-sp, .px-gf { z-index: 2; }
.px-shape { width: 100%; height: 100%; display: flex; flex-direction: column; }
.px-tx { display: flex; flex-direction: column; width: 100%; }
.px-tx p { margin: 0 0 3px; line-height: 1.25; text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 1px 3px rgba(255,255,255,.85); }
.px-pic { max-width: 100%; height: 100%; object-fit: contain; display: block; }
.px-tbl { width: 100%; border-collapse: collapse; font-size: 12pt; }
.px-tbl td { border: 1px solid #999; padding: 4px 8px; vertical-align: top; }
.px-no { position: absolute; right: 12px; bottom: 10px; font-size: 16px; font-weight: 700; color: #555; }
.px-note { padding: 8px; font-size: 11px; color: #888; }

/* 附件处理状态 */
.hw-file-status { margin-top: 6px; font-size: 12px; color: var(--dim); min-height: 16px; }
.hw-file-status--err { color: var(--red); font-weight: 600; }

/* ── 按钮 ── */
.hw-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 13.5px; padding: 9px 15px;
  border-radius: 11px; border: 1px solid var(--line-2);
  background: var(--panel-2); color: var(--text); cursor: pointer; transition: .18s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hw-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.hw-btn--primary {
  background: var(--accent-grad); color: #04121a; border-color: transparent; font-weight: 700;
  box-shadow: 0 8px 22px -8px var(--glow);
}
.hw-btn--primary:hover { color: #04121a; filter: brightness(1.06); box-shadow: 0 10px 26px -6px var(--glow); }
.hw-btn--dl { background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.34); color: var(--ok); }
.hw-btn--dl:hover { color: var(--ok); border-color: var(--ok); background: rgba(52, 211, 153, 0.18); }
.hw-btn--del { margin-left: auto; background: var(--red-soft); border-color: rgba(251, 90, 112, 0.34); color: var(--red); }
.hw-btn--del:hover { color: var(--red); border-color: var(--red); background: rgba(251, 90, 112, 0.18); }
.hw-btn--mini { font-size: 12px; padding: 6px 10px; border-radius: 9px; gap: 4px; }
.hw-btn--mini:disabled { opacity: .55; cursor: not-allowed; }

/* ── 空状态 ── */
.hw-empty {
  text-align: center; color: var(--faint); padding: 62px 20px;
  border: 1px dashed var(--line-2); border-radius: var(--r); margin-top: 8px;
  background: var(--panel-2);
}

/* ── 弹层 ── */
.hw-modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; }
.hw-modal[hidden] { display: none; }
.hw-modal__backdrop { position: absolute; inset: 0; background: rgba(2, 5, 12, 0.74); backdrop-filter: blur(6px); }
html[data-theme='light'] .hw-modal__backdrop { background: rgba(20, 32, 56, 0.42); }
.hw-modal__panel {
  position: relative; width: min(580px, 100%); max-height: 88vh; overflow: auto;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 28px;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--shadow-2), 0 0 60px -24px var(--glow);
}
.hw-modal__panel h2 { margin: 0 0 20px; font-size: 21px; font-weight: 700; letter-spacing: .01em; }
.hw-modal__panel h2::before { content: "✦ "; color: var(--accent); }
.hw-modal__close { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: var(--dim); font-size: 24px; cursor: pointer; line-height: 1; }
.hw-modal__close:hover { color: var(--text); }
.hw-modal__panel label { display: block; font-size: 12.5px; color: var(--dim); margin-bottom: 15px; letter-spacing: .02em; }
.hw-modal__panel input[type=text], .hw-modal__panel input[type=url], .hw-modal__panel input[type=date], .hw-modal__panel textarea {
  width: 100%; margin-top: 7px; padding: 11px 13px; border-radius: 11px;
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text);
  font: inherit; font-size: 14px; outline: none;
  transition: border-color .18s, box-shadow .18s, background-color .6s ease;
}
.hw-modal__panel input:focus, .hw-modal__panel textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 0 22px -8px var(--glow);
}
.hw-modal__panel textarea { resize: vertical; }
.hw-modal__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.hw-warn { color: var(--warn); font-size: 13px; min-height: 18px; margin: -6px 0 10px; }

/* ── 下载兜底 / 分享链接 ── */
.hw-viewer__tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.hw-toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 999;
  transform: translate(-50%, 14px);
  max-width: 86vw; padding: 11px 17px; border-radius: 12px;
  background: rgba(12, 18, 34, .95); color: #eaf2ff;
  font-size: 13px; line-height: 1.5;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.hw-toast--on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@media (max-width: 520px) {
  .hw-grid { grid-template-columns: 1fr; }
  .hw-clock { display: none; }
  .hw-viewer__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hw-viewer__tools { justify-content: flex-start; }
  .hw-bar { padding-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .hw-scene__beam, .hw-mote { animation: none; }
  .hw-card, .hw-stat { transition: none; }
}

/* ── 科技感台灯（挑灯夜读，装饰层，不挡交互） ── */
.hw-scene__lamp {
  position: absolute; right: 2.5vw; bottom: -6px; width: 168px; height: 200px;
  z-index: 1; pointer-events: none; opacity: .9;
  filter: drop-shadow(0 0 14px rgba(57, 216, 255, .34));
}
.hw-lamp__cone { animation: hwLampBreath 5.5s ease-in-out infinite; transform-origin: 98px 112px; }
@keyframes hwLampBreath { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hw-lamp__cone { animation: none; }
  .hw-scene__lamp { filter: drop-shadow(0 0 10px rgba(57, 216, 255, .3)); }
}

/* ── 视频预览 ── */
.hw-preview--video { padding: 0; }
.hw-preview--video video {
  display: block; width: 100%; max-height: 66vh; background: #000; outline: none;
}
.hw-preview__cap {
  padding: 10px 13px; font-size: 12.5px; color: var(--dim);
  border-top: 1px solid var(--line); background: var(--panel-2);
}
.hw-preview__actions { padding: 12px 13px; border-top: 1px solid var(--line); background: var(--panel-2); }
.hw-preview__actions .hw-btn { margin-right: 8px; }

/* ── 希沃白板预览卡 ── */
.hw-preview--seewo {
  text-align: center; padding: 30px 22px; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hw-seewo__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800; letter-spacing: .04em; color: #04222b;
  padding: 7px 14px; border-radius: 10px; background: var(--accent-grad);
  box-shadow: 0 8px 22px -8px var(--glow);
}
.hw-seewo__name { font-size: 16px; font-weight: 600; color: var(--text); word-break: break-all; }
.hw-seewo__meta { font-size: 12.5px; color: var(--faint); font-family: var(--mono); }
.hw-preview--seewo .hw-preview__note { max-width: 460px; margin: 0; }
.hw-seewo__actions { margin-top: 6px; }

/* ── 缩略图：视频播放键 / 希沃标签 ── */
.hw-thumb__play {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(8, 13, 26, .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, .5);
  display: flex; align-items: center; justify-content: center;
}
.hw-thumb__play::before {
  content: ""; width: 0; height: 0; margin-left: 4px;
  border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.hw-thumb__seewo {
  font-size: 12px; font-weight: 800; color: #2a1606; letter-spacing: .03em;
  padding: 5px 10px; border-radius: 8px; background: var(--accent-grad);
  box-shadow: 0 6px 16px -6px var(--glow);
}

/* ── 空间占用环形图 ── */
.hw-ring {
  --p: 0; width: 62px; height: 62px; border-radius: 50%; position: relative;
  background: conic-gradient(var(--accent) calc(var(--p) * 360deg), var(--line) 0);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px -6px var(--glow);
}
.hw-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--panel); }
.hw-ring__num { position: relative; z-index: 1; font-size: 12px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.hw-ring__pct { display: block; margin-top: 6px; font-size: 10.5px; color: var(--faint); font-family: var(--mono); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hw-stat--space { display: flex; flex-direction: column; align-items: center; gap: 2px; }

/* ── 拖拽到作业栏高亮 ── */
.hw-bar--drag { position: relative; outline: 2px dashed var(--accent); outline-offset: 6px; border-radius: var(--r-lg); }
.hw-bar--drag::after {
  content: "松手即可添加作业"; position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: var(--accent); text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  background: var(--accent-soft); border-radius: var(--r-lg); pointer-events: none;
}

/* ==========================================================================
   华为应用市场风格覆盖层（v14）
   --------------------------------------------------------------------------
   浅色为基底、白色大圆角卡片、华为蓝主色、顶部搜索框、分类标签。
   以覆盖方式追加，不改动上方原有规则，保证功能类样式不丢失。
   ========================================================================== */
html, html[data-theme], html[data-theme='dark'], html[data-theme='light'] {
  --hw-blue: #0a59f7;
  --hw-blue-deep: #0b4ed8;
  --hw-blue-soft: rgba(10, 89, 247, .08);
  --bg: #f4f6fa;
  --bg-soft: #eef1f7;
  --panel: #ffffff;
  --panel-2: #f7f9fc;
  --panel-solid: #ffffff;
  --line: rgba(22, 43, 77, .08);
  --line-2: rgba(22, 43, 77, .13);
  --text: #191f2b;
  --dim: #5c6779;
  --faint: #8a94a6;
  --accent: var(--hw-blue);
  --accent-2: #3d7bff;
  --accent-3: #7aa2ff;
  --accent-grad: linear-gradient(115deg, #0a59f7 0%, #3d7bff 100%);
  --accent-soft: var(--hw-blue-soft);
  --glow: rgba(10, 89, 247, .16);
  --ok: #16a34a;
  --warn: #d97706;
  --red: #e5484d;
  --red-soft: rgba(229, 72, 77, .09);
  --r: 16px;
  --r-lg: 20px;
  --shadow-1: 0 2px 10px rgba(24, 45, 84, .05);
  --shadow-2: 0 12px 32px rgba(24, 45, 84, .12);
  color-scheme: light;
}
html, body { background: var(--bg) !important; color: var(--text); }
body {
  background: linear-gradient(180deg, #f7f9fd 0%, #f2f5fa 60%, #eef1f7 100%) !important;
}
/* 隐藏原科技装饰层：网格/光晕/粒子/台灯，应用市场风格不需要 */
.hw-scene { display: none !important; }

/* ── 顶栏：白底、搜索框居中 ── */
.hw-top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92) !important;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 1px 0 rgba(24, 45, 84, .03);
}
.hw-top::after { display: none !important; }
.hw-top__inner { height: 62px; gap: 22px; }
.hw-top__brand { flex: none; gap: 10px; }
.hw-top__brand b { color: var(--text) !important; font-size: 17px; }
.hw-top__brand-sub { color: var(--faint); font-size: 13px; font-weight: 500; }
.hw-logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent-grad) !important;
  box-shadow: 0 4px 12px rgba(10, 89, 247, .28);
}
.hw-top__search {
  flex: 1; max-width: 520px; margin: 0 auto;
  display: flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 14px;
  background: #f1f4f9; border: 1px solid transparent; border-radius: 19px;
  color: var(--faint); transition: .2s;
}
.hw-top__search:focus-within { background: #fff; border-color: var(--hw-blue); box-shadow: 0 0 0 3px var(--hw-blue-soft); }
.hw-top__search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 13.5px; color: var(--text); font-family: inherit;
}
.hw-top__search input::placeholder { color: #9aa4b5; }
.hw-top__search-clear {
  border: 0; background: #dfe4ec; color: #6b7688; cursor: pointer;
  width: 18px; height: 18px; line-height: 16px; border-radius: 50%; font-size: 14px; padding: 0;
}
.hw-top__right { flex: none; gap: 8px; }
.hw-top__back {
  background: var(--hw-blue) !important; color: #fff !important;
  border: 0 !important; border-radius: 18px !important;
  padding: 8px 16px !important; font-size: 13px !important; font-weight: 600;
  box-shadow: 0 4px 12px rgba(10, 89, 247, .22);
}
.hw-top__back:hover { filter: brightness(1.06); background: var(--hw-blue-deep) !important; }
.hw-theme {
  border: 1px solid var(--line) !important; background: #fff !important;
  color: var(--dim) !important; border-radius: 50%; width: 34px; height: 34px;
}

/* ── 主体：紧凑一些 ── */
.hw-bar { padding: 30px 0 80px !important; }
.hw-bar__head { margin-bottom: 20px; }
.hw-eyebrow { color: var(--hw-blue) !important; font-weight: 700; letter-spacing: .12em; }
.hw-bar__head h1 { color: var(--text) !important; font-size: 26px !important; }
.hw-bar__sub { color: var(--dim) !important; }
.hw-bar__sub b { color: var(--hw-blue) !important; }
.hw-warm-text { color: var(--faint) !important; }

/* ── 统计卡：应用市场数据条 ── */
.hw-stats { gap: 12px; margin-bottom: 20px; }
.hw-stat {
  background: #fff !important; border: 1px solid var(--line) !important;
  border-radius: 14px !important; box-shadow: var(--shadow-1) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  padding: 14px 18px !important;
}
.hw-stat__num { color: var(--hw-blue) !important; font-size: 24px !important; }
.hw-stat__label { color: var(--dim) !important; }

/* ── 分类标签 ── */
.hw-cats {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 20px; padding: 4px 0;
}
.hw-cat {
  appearance: none; border: 1px solid var(--line); background: #fff;
  color: var(--dim); font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 7px 17px; border-radius: 18px; cursor: pointer; transition: .18s;
}
.hw-cat:hover { border-color: var(--hw-blue); color: var(--hw-blue); }
.hw-cat.is-active {
  background: var(--hw-blue); color: #fff; border-color: var(--hw-blue);
  box-shadow: 0 4px 12px rgba(10, 89, 247, .22);
}

/* ── 卡片：应用市场白卡 ── */
.hw-grid { grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); gap: 16px; }
.hw-card {
  background: #fff !important; border: 1px solid var(--line) !important;
  border-radius: 18px !important; box-shadow: var(--shadow-1) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  overflow: hidden;
}
.hw-card::before { display: none !important; }
.hw-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 89, 247, .35) !important;
  box-shadow: var(--shadow-2) !important;
}
.hw-card__thumb {
  background: linear-gradient(160deg, #f7f9fd, #eef2f9) !important;
  aspect-ratio: 16 / 9 !important;
}
.hw-card__badge { border-radius: 7px; font-weight: 700; }
.hw-card__body { padding: 14px 16px 16px !important; }
.hw-card__title { color: var(--text) !important; font-size: 15px !important; }
.hw-card__desc { color: var(--dim) !important; }
.hw-card__foot { gap: 8px; }
.hw-btn {
  border-radius: 10px !important; font-size: 12.5px !important;
  font-weight: 600 !important; padding: 7px 13px !important;
  border-color: var(--line-2) !important; background: #fff !important; color: var(--dim) !important;
}
.hw-btn:hover { border-color: var(--hw-blue) !important; color: var(--hw-blue) !important; background: var(--hw-blue-soft) !important; }
.hw-btn--primary {
  background: var(--hw-blue) !important; color: #fff !important; border-color: var(--hw-blue) !important;
  border-radius: 20px !important; padding: 10px 20px !important;
  box-shadow: 0 6px 16px rgba(10, 89, 247, .26);
}
.hw-btn--primary:hover { background: var(--hw-blue-deep) !important; color: #fff !important; }
.hw-btn--view { background: var(--hw-blue-soft) !important; border-color: rgba(10, 89, 247, .28) !important; color: var(--hw-blue) !important; }
.hw-btn--dl { background: rgba(22, 163, 74, .09) !important; border-color: rgba(22, 163, 74, .26) !important; color: var(--ok) !important; }
.hw-btn--del { background: var(--red-soft) !important; border-color: rgba(229, 72, 77, .24) !important; color: var(--red) !important; }

/* ── 其他：弹层/灯箱/管理条同步浅色白卡 ── */
.hw-modal__panel, .hw-viewer__panel, .hw-adminbar {
  background: #fff !important; border: 1px solid var(--line) !important;
  border-radius: 20px !important; box-shadow: var(--shadow-2) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.hw-modal__panel h2, .hw-viewer__title { color: var(--text) !important; }
.hw-empty { color: var(--dim) !important; }
.hw-toast { background: rgba(25, 31, 43, .92) !important; }

/* 移动端：搜索框换行到第二行 */
@media (max-width: 720px) {
  .hw-top__inner { height: auto; min-height: 62px; flex-wrap: wrap; padding: 10px 20px; gap: 10px; }
  .hw-top__search { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
  .hw-top__back { padding: 7px 12px !important; font-size: 12px !important; }
}

/* hidden 属性必须压过组件自带的 display，避免管理条/弹层意外常显 */
[hidden] { display: none !important; }

/* ==========================================================================
   多端自适应覆盖层：手机 / 平板 / 折叠屏（v14+）
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; }
img, svg, video { max-width: 100%; }

/* 平板 / 折叠内屏 */
@media (min-width: 768px) and (max-width: 1023px) {
  .wrap { max-width: 900px !important; padding: 0 26px !important; }
  .hw-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .hw-stats { gap: 10px !important; }
  .hw-stat { flex: 1 !important; min-width: 0 !important; }
}
/* 大屏手机 / 折叠外屏 */
@media (max-width: 767px) {
  .wrap { padding: 0 14px !important; }
  .hw-top__inner { height: auto !important; min-height: 58px; flex-wrap: wrap !important; gap: 8px !important; padding: 9px 14px !important; }
  .hw-top__brand { font-size: 15px !important; }
  .hw-top__brand-sub { display: none !important; }
  .hw-top__search { order: 3; flex-basis: 100% !important; max-width: none !important; margin: 0 !important; height: 36px; }
  .hw-top__back { font-size: 12px !important; padding: 7px 12px !important; }
  .hw-bar { padding: 22px 0 40px !important; }
  .hw-bar__head { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; }
  .hw-bar__head > div:first-child { width: 100% !important; }
  .hw-bar__head h1 { font-size: 22px !important; }
  .hw-bar__head .hw-btn--primary, .hw-bar__head #hw-admin-btn { display: inline-flex !important; width: auto !important; }
  .hw-stats { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .hw-stat { padding: 12px 14px !important; }
  .hw-stat__num { font-size: 20px !important; }
  .hw-cats { gap: 6px !important; overflow-x: auto !important; flex-wrap: nowrap !important; padding-bottom: 6px !important; -webkit-overflow-scrolling: touch !important; scrollbar-width: none !important; }
  .hw-cats::-webkit-scrollbar { display: none !important; }
  .hw-cat { flex: none !important; padding: 6px 13px !important; font-size: 12px !important; }
  .hw-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 11px !important; }
  .hw-card__title { font-size: 13.5px !important; }
  .hw-card__body { padding: 11px 12px 13px !important; }
  .hw-card__desc { font-size: 11.5px !important; }
  .hw-card__foot { flex-wrap: wrap !important; gap: 6px !important; }
  .hw-btn { font-size: 11.5px !important; padding: 6px 10px !important; }
  .hw-btn--del { margin-left: 0 !important; }
  .hw-adminbar { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; padding: 12px !important; }
  .hw-adminbar__hint { margin-right: 0 !important; font-size: 12px !important; }
  .hw-modal__panel { max-height: 92vh !important; padding: 22px 16px !important; border-radius: 18px !important; }
  .hw-viewer__panel { width: 100% !important; height: 92vh !important; }
  .hw-viewer__head { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; }
  .hw-viewer__tools { flex-wrap: wrap !important; }
}
/* 小屏手机 */
@media (max-width: 480px) {
  .hw-grid { grid-template-columns: 1fr !important; }
  .hw-stat__num { font-size: 18px !important; }
  .hw-stat__label { font-size: 11px !important; }
  .hw-viewer__tools .hw-btn--mini { font-size: 11px !important; padding: 5px 8px !important; }
}
/* 折叠屏展开态：宽但矮 */
@media (min-width: 700px) and (max-height: 520px) and (orientation: landscape) {
  .hw-bar { padding: 18px 0 30px !important; }
  .hw-bar__head { margin-bottom: 12px !important; }
  .hw-stats { margin-bottom: 12px !important; }
  .hw-cats { margin-bottom: 12px !important; }
  .hw-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .hw-modal__panel, .hw-viewer__panel { max-height: 94vh !important; }
}

/* 窄屏：装饰短线避免溢出 */
@media (max-width: 480px) {
  .hw-eyebrow { padding-left: 0 !important; letter-spacing: .06em !important; font-size: .62rem !important; }
  .hw-eyebrow::before { display: none !important; }
}
