/* ==========================================================================
   安博电竞中国官方主站 — 共享样式 /assets/site.css
   暗夜电竞指挥舱 · 展览画册式信息陈列
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --ink-0: #05070E;
  --ink-1: #0B1424;
  --ink-2: #141F38;
  --cyan: #25E1D4;
  --violet: #7C5CFF;
  --orange: #FF5A2B;
  --amber: #FFC24B;
  --white: #F3F6FF;
  --mist: #97A6C4;

  --grad-axis: linear-gradient(135deg, #25E1D4 0%, #7C5CFF 100%);
  --grad-edge: linear-gradient(90deg, #25E1D4 0%, #7C5CFF 48%, #FF5A2B 100%);

  --line: rgba(151, 166, 196, .16);
  --line-mid: rgba(151, 166, 196, .32);
  --line-cyan: rgba(37, 225, 212, .45);
  --surface-0: rgba(20, 31, 56, .55);
  --surface-1: rgba(20, 31, 56, .88);

  --font-display: "Source Han Sans SC Heavy", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;

  --shell-max: 1440px;
  --gutter: clamp(18px, 6vw, 96px);
  --header-row-h: 56px;
  --radius: 3px;
  --shadow-lift: 0 18px 44px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  background: var(--ink-0);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(920px 420px at 10% -12%, rgba(37, 225, 212, .13), transparent 70%),
    radial-gradient(780px 380px at 94% 2%, rgba(124, 92, 255, .15), transparent 72%),
    radial-gradient(1200px 620px at 50% 118%, rgba(255, 90, 43, .07), transparent 70%);
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

input[type="text"] { -webkit-appearance: none; appearance: none; }

ul, ol { margin: 0; padding: 0; }

a { color: var(--cyan); }

/* ---------- 3. 排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 88%;
  line-height: 1.12;
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(40px, 6vw, 96px);
  line-height: .98;
  letter-spacing: -.02em;
}

h2 { font-size: clamp(26px, 3.4vw, 46px); }
h3 { font-size: clamp(20px, 2.2vw, 30px); }
h4 { font-size: clamp(17px, 1.6vw, 22px); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px
  ;margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

[id] { scroll-margin-top: 110px; }

/* ---------- 4. 布局容器与网格 ---------- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-hero {
  padding-block: clamp(34px, 5vw, 78px) clamp(16px, 2vw, 30px);
}

.section {
  padding-block: clamp(44px, 6vw, 92px);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 30px);
}

.grid-12 {
  display: grid;
  gap: clamp(16px, 2.2vw, 30px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-10 { grid-column: span 10; }
.span-12 { grid-column: span 12; }

@media (max-width: 1023px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-3, .span-4, .span-5, .span-6,
  .span-7, .span-8, .span-9, .span-10, .span-12 { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
}

.divider {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: clamp(24px, 4vw, 56px) 0;
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-mid);
  border-radius: 2px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--ease), border-color .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-compact { padding: 8px 14px; font-size: 13px; }

.btn-accent {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink-0);
}
.btn-accent:hover {
  background: #ff7043;
  border-color: #ff7043;
}

.btn-ghost {
  color: var(--cyan);
  border-color: var(--line-cyan);
}
.btn-ghost:hover {
  background: rgba(37, 225, 212, .09);
  border-color: var(--cyan);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- 6. 页头 ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--ink-0);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 10, 20, .93);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 6;
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad-edge);
  box-shadow: 0 0 12px rgba(37, 225, 212, .55);
  transition: width .09s linear;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 34px);
  height: var(--header-row-h);
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--white);
  text-decoration: none;
}

.brand-glyph {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-cyan);
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(37, 225, 212, .18), rgba(124, 92, 255, .2));
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  font-stretch: 88%;
  letter-spacing: .06em;
}

.brand-suffix {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--mist);
}

.version-badge {
  padding: 4px 9px;
  border: 1px solid rgba(124, 92, 255, .45);
  border-radius: 2px;
  background: rgba(124, 92, 255, .12);
  color: #cbc0ff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.primary-nav { min-width: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, .8vw, 12px);
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 11px;
  color: var(--mist);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: -1px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(.5); }

.nav-link[aria-current="page"] { color: var(--white); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 7px rgba(37, 225, 212, .95);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.cmd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface-0);
  color: var(--mist);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.cmd-trigger:hover {
  color: var(--white);
  border-color: var(--line-cyan);
}

.cmd-key {
  padding: 1px 5px;
  border: 1px solid rgba(37, 225, 212, .35);
  border-radius: 2px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line-mid);
  border-radius: 2px;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: var(--cyan);
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--cyan);
  transition: transform .18s var(--ease), top .18s var(--ease);
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

[data-nav-toggle][aria-expanded="true"] .nav-toggle-bars { background: transparent; }
[data-nav-toggle][aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
[data-nav-toggle][aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.header-status {
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(37, 225, 212, .07), rgba(124, 92, 255, .07) 58%, transparent);
}

.header-status-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 30px;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 5px var(--gutter);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
}

.status-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 9px rgba(255, 194, 75, .85);
  animation: statusPulse 2.6s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.status-hint { color: rgba(151, 166, 196, .72); }

/* ---------- 7. 移动端导航 ---------- */
@media (max-width: 1199px) {
  .version-badge { display: none; }
  .cmd-trigger { display: none; }
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: min(72vh, 540px);
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--ink-1);
    border-bottom: 1px solid var(--line-cyan);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .66);
  }

  .primary-nav[data-open] { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 14px 6px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    color: var(--cyan);
    background: linear-gradient(90deg, rgba(37, 225, 212, .1), transparent 72%);
  }

  .nav-link[aria-current="page"]::before {
    left: auto;
    right: 4px;
  }
}

/* ---------- 8. 命令栏页面索引面板 ---------- */
.cmd-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(56px, 12vh, 140px) var(--gutter) 40px;
}

.cmd-overlay[hidden] { display: none; }

.cmd-scrim {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 11, .8);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.cmd-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(620px, 100%);
  max-height: 72vh;
  background: var(--ink-1);
  border: 1px solid var(--line-cyan);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .72), inset 0 0 0 1px rgba(124, 92, 255, .16);
  animation: cmdIn .22s var(--ease);
}

@keyframes cmdIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.cmd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
}

.cmd-close {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  cursor: pointer;
}
.cmd-close:hover {
  color: var(--white);
  border-color: var(--cyan);
}

.cmd-field {
  display: block;
  padding: 14px 16px 0;
}

.cmd-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-mid);
  border-radius: 2px;
  background: var(--ink-2);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: .02em;
  outline: none;
}
.cmd-input::placeholder { color: rgba(151, 166, 196, .7); }
.cmd-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(37, 225, 212, .16);
}

.cmd-results {
  list-style: none;
  margin: 12px 0 0;
  padding: 0 16px 16px;
  overflow-y: auto;
}

.cmd-results li { border-bottom: 1px solid var(--line); }

.cmd-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 4px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .16s var(--ease), padding-left .16s var(--ease);
}
.cmd-result:hover { color: var(--cyan); padding-left: 10px; }

.cmd-result-route {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
}

.cmd-empty {
  padding: 18px 4px;
  color: var(--mist);
  font-size: 13px;
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 150px);
  background: var(--ink-1);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-edge);
  opacity: .85;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.7fr) repeat(3, minmax(130px, 1fr));
  gap: clamp(24px, 3vw, 52px);
  padding-block: clamp(42px, 6vw, 78px) clamp(28px, 4vw, 48px);
}

.footer-brand { min-width: 0; }

.footer-tagline {
  margin: 18px 0 8px;
  color: var(--cyan);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .04em;
}

.footer-note {
  margin: 0;
  max-width: 34ch;
  color: var(--mist);
  font-size: 13px;
  line-height: 1.8;
}

.footer-col { min-width: 0; }

.footer-title {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  font-stretch: normal;
  letter-spacing: .04em;
}

.footer-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-list a {
  display: inline-block;
  color: var(--mist);
  font-size: 14px;
  text-decoration: none;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer-list a:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(16px, 2.2vw, 34px);
  padding-block: clamp(22px, 3vw, 36px);
  border-top: 1px solid var(--line);
}

.contact-item { min-width: 0; }

.contact-label {
  display: block;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
}

.contact-value {
  display: block;
  margin-top: 7px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.contact-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 90, 43, .65);
  color: var(--mist);
  font-size: 13px;
  line-height: 1.75;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block: 20px 30px;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 13px;
}

.registration-line {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
}

.legal-links a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.legal-links a:hover {
  color: var(--cyan);
  border-color: currentColor;
}

.copyright-line {
  margin: 0;
  font-size: 12.5px;
}

/* ---------- 10. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line-cyan);
  border-radius: 2px;
  background: rgba(11, 20, 36, .94);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s linear;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 22px rgba(37, 225, 212, .28);
}

/* ---------- 11. 内容组件 ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 30px;
  margin-bottom: clamp(20px, 3vw, 38px);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 900;
  font-stretch: 88%;
  line-height: 1.06;
  letter-spacing: -.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.lede {
  max-width: 62ch;
  margin: 0;
  color: var(--mist);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(124, 92, 255, .45);
  border-radius: 2px;
  background: rgba(124, 92, 255, .12);
  color: #cfc4ff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  white-space: nowrap;
}

.tag--version {
  border-color: rgba(37, 225, 212, .45);
  background: rgba(37, 225, 212, .1);
  color: var(--cyan);
}

.tag--live {
  border-color: rgba(255, 194, 75, .5);
  background: rgba(255, 194, 75, .12);
  color: var(--amber);
}

.tag--playoff {
  border-color: rgba(255, 90, 43, .5);
  background: rgba(255, 90, 43, .14);
  color: #ff8a66;
}

.panel {
  position: relative;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.panel:hover {
  transform: translateY(-4px);
  border-color: var(--line-cyan);
  box-shadow: var(--shadow-lift);
}

.panel--quiet {
  background: var(--ink-1);
}

.panel--accent {
  border-left: 2px solid var(--cyan);
  background: linear-gradient(160deg, rgba(37, 225, 212, .09), var(--ink-2) 46%);
}

.quote {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid var(--violet);
  color: #d7e0f5;
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.7;
}

/* ---------- 12. 图片容器（供页面阶段放置占位） ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #0b1424 0%, #141f38 58%, #0b1424 100%);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(243, 246, 255, .05) 0 1px,
    transparent 1px 4px
  );
  opacity: .6;
}

.media-caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 3;
  padding: 4px 9px;
  background: rgba(5, 7, 14, .78);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  color: rgba(151, 166, 196, .72);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-align: center;
}

/* ---------- 13. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(16px, 2vw, 28px);
  list-style: none;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(151, 166, 196, .5);
}

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--cyan); }

.breadcrumb [aria-current="page"] { color: var(--white); }

/* ---------- 14. 显现动效 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .24s ease-out, transform .24s ease-out;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .brand-suffix { display: none; }
  .header-actions .btn-compact { padding: 7px 11px; font-size: 12px; }
  .status-hint { display: none; }
  .header-status-inner { justify-content: flex-start; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle-text { display: none; }
  .to-top { padding: 9px 12px; }
}

/* ---------- 16. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .status-dot { animation: none; }
  .panel:hover { transform: none; }
  .btn:hover { transform: none; }
  .footer-list a:hover { transform: none; }
}
