/* =========================================================
   W88优德中文官网 · 赛场坐标中国站
   /assets/site.css
   共享样式：Reset / 变量 / 页头 / 页脚 / 通用组件
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video, canvas { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- 2. Design Tokens ---------- */
:root {
  --c-space: #0A1628;
  --c-night: #1B2A4A;
  --c-neon: #00E676;
  --c-ember: #FF6D00;
  --c-chili: #E63946;
  --c-slate: #8D99AE;
  --c-ink: #FFFFFF;
  --c-mist: #F4F6F8;

  --t-heading: #FFFFFF;
  --t-body: #E9EEF5;
  --t-muted: #8D99AE;

  --f-display: "Oswald", "Arial Narrow", "DIN Condensed", "Bahnschrift", "Segoe UI", sans-serif;
  --f-body: "Source Han Sans SC", "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --f-data: "Roboto Mono", "SF Mono", "Cascadia Code", "Consolas", "Liberation Mono", monospace;

  --header-w: 280px;
  --header-topbar-h: 64px;
  --container-w: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space-section: clamp(4rem, 8vw, 7.5rem);

  --r-s: 4px;
  --r-m: 10px;
  --r-l: 18px;

  --line-dim: 1px solid rgba(141, 153, 174, 0.22);
  --line-neon: 1px solid rgba(0, 230, 118, 0.45);
  --line-ember: 1px solid rgba(255, 109, 0, 0.45);

  --sh-card: 0 16px 40px rgba(0, 0, 0, 0.45);
  --sh-rail: 10px 0 30px rgba(0, 0, 0, 0.45);
  --sh-pop: 0 8px 24px rgba(0, 230, 118, 0.2);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.3s;
}

/* ---------- 3. Base & Typography ---------- */
body {
  min-height: 100vh;
  padding-left: 0;
  background-color: var(--c-space);
  background-image:
    radial-gradient(rgba(0, 230, 118, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(0, 230, 118, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 230, 118, 0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--t-body);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--t-heading);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

strong, b { font-weight: 700; }
a { transition: color 0.2s ease; }

::selection { background: var(--c-neon); color: var(--c-space); }

/* ---------- 4. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 860px; }

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

.data-mono {
  font-family: var(--f-data);
  font-weight: 500;
  font-size: 0.95em;
  letter-spacing: 0.02em;
}

/* ---------- 5. Skip Link ---------- */
.skip-link {
  position: fixed;
  left: 50%;
  top: 0;
  z-index: 400;
  transform: translate(-50%, -160%);
  padding: 0.6rem 1.2rem;
  background: var(--c-neon);
  color: var(--c-space);
  font-family: var(--f-data);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 0 0 var(--r-m) var(--r-m);
  box-shadow: var(--sh-pop);
  transition: transform 0.25s var(--ease);
  white-space: nowrap;
}
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline: 3px solid var(--c-ember);
  outline-offset: 2px;
}

/* ---------- 6. Header / 侧轨导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--header-w);
  z-index: 300;
  display: flex;
  flex-direction: column;
  background-color: var(--c-space);
  background-image:
    linear-gradient(180deg, rgba(27, 42, 74, 0.5), transparent 36px),
    repeating-linear-gradient(-60deg, rgba(0, 230, 118, 0.028) 0 2px, transparent 2px 12px);
  border-right: 1px solid rgba(0, 230, 118, 0.18);
  box-shadow: var(--sh-rail);
}

.header-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-topbar-h);
  padding-inline: 1rem;
  background: rgba(10, 22, 40, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 230, 118, 0.22);
  position: relative;
  z-index: 220;
}

.header-rail {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 153, 174, 0.35) transparent;
}
.header-rail::-webkit-scrollbar { width: 6px; }
.header-rail::-webkit-scrollbar-thumb { background: rgba(141, 153, 174, 0.35); border-radius: 3px; }
.header-rail::-webkit-scrollbar-track { background: transparent; }

.header-rail-brand {
  position: relative;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: var(--line-dim);
}
.header-rail-brand::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 54px;
  height: 3px;
  background: linear-gradient(135deg, var(--c-ember), var(--c-chili));
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, var(--c-neon) 10%, #00b65e 90%);
  color: var(--c-space);
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--r-m);
  clip-path: polygon(0 16%, 16% 0, 100% 0, 100% 84%, 84% 100%, 0 100%);
  box-shadow: 0 4px 16px rgba(0, 230, 118, 0.28);
}
.brand-copy { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--f-display);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--t-heading);
  letter-spacing: 0.04em;
}
.brand-desc {
  font-family: var(--f-data);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-neon);
  margin-top: 2px;
}

/* Navigation */
.header-nav { flex: 1; }
.nav-list { display: flex; flex-direction: column; gap: 0.3rem; }
.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.8rem;
  border-left: 3px solid transparent;
  border-radius: 0 var(--r-m) var(--r-m) 0;
  color: var(--c-slate);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease);
}
.nav-index {
  min-width: 1.7rem;
  font-family: var(--f-data);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-neon);
  opacity: 0.55;
  transition: opacity 0.22s var(--ease);
}
.nav-label { flex: 1; letter-spacing: 0.02em; }

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--t-heading);
  background: rgba(0, 230, 118, 0.07);
}
.nav-link:hover .nav-index,
.nav-link:focus-visible .nav-index { opacity: 1; }

.nav-link[aria-current="page"],
.nav-link[data-active] {
  border-left-color: var(--c-neon);
  color: var(--t-heading);
  background: linear-gradient(90deg, rgba(0, 230, 118, 0.14), rgba(0, 230, 118, 0.02) 70%, transparent);
}
.nav-link[aria-current="page"] .nav-index,
.nav-link[data-active] .nav-index { opacity: 1; }

/* Header rail footer */
.header-rail-foot {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: var(--line-dim);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.rail-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--f-data);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--c-slate);
}
.rail-note::before {
  content: '';
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.85);
  animation: rail-pulse 2.4s ease-in-out infinite;
}
@keyframes rail-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

/* Mobile toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: var(--r-m);
  background: rgba(0, 230, 118, 0.07);
  color: var(--c-neon);
  font-family: var(--f-data);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(0, 230, 118, 0.14);
  border-color: var(--c-neon);
}
.nav-toggle-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}
.nav-toggle-line {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Scrim / backdrop */
.header-scrim { display: none; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 500;
  pointer-events: none;
}
.scroll-progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--c-neon), var(--c-ember));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* Desktop rail activation */
@media (min-width: 64em) {
  body { padding-left: var(--header-w); }
  .scroll-progress { left: var(--header-w); }
}

/* ---------- 7. Mobile / Tablet Drawer ---------- */
@media (max-width: 63.998em) {
  .site-header {
    position: sticky;
    top: 0;
    inset: auto;
    width: 100%;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 230, 118, 0.2);
    background: var(--c-space);
  }

  .header-topbar { display: flex; }

  .header-rail {
    position: fixed;
    top: var(--header-topbar-h);
    left: 0;
    bottom: 0;
    z-index: 210;
    width: min(318px, 86vw);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1rem 1.5rem;
    overflow-y: auto;
    background-color: var(--c-space);
    background-image:
      linear-gradient(180deg, rgba(27, 42, 74, 0.5), transparent 36px),
      repeating-linear-gradient(-60deg, rgba(0, 230, 118, 0.028) 0 2px, transparent 2px 12px);
    border-right: 1px solid rgba(0, 230, 118, 0.22);
    box-shadow: var(--sh-rail);
    transform: translateX(-105%);
    transition: transform 0.35s var(--ease);
  }
  .header-rail[data-open] { transform: translateX(0); }

  .header-rail-brand { display: none; }

  .header-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 205;
    background: rgba(6, 13, 28, 0.72);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  }
  .header-scrim[data-open] {
    opacity: 1;
    visibility: visible;
  }

  .scroll-progress { left: 0; }
}

/* ---------- 8. Footer ---------- */
.site-footer {
  position: relative;
  z-index: 10;
  margin-top: var(--space-section);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 1.25rem;
  background-color: #060D1C;
  border-top: 1px solid rgba(0, 230, 118, 0.16);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-neon) 0%, var(--c-chili) 32%, transparent 78%);
  opacity: 0.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: 2.5rem;
}

.footer-title {
  position: relative;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  font-family: var(--f-display);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-heading);
  border-bottom: var(--line-dim);
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--c-neon);
}

.footer-brand .brand-name { font-size: 1.3rem; }
.footer-brand .brand-desc { font-size: 0.72rem; }

.footer-statement {
  margin-top: 1rem;
  max-width: 30rem;
  padding: 0.7rem 0.9rem;
  border: var(--line-dim);
  border-left: 3px solid var(--c-neon);
  border-radius: 0 var(--r-m) var(--r-m) 0;
  background: rgba(0, 230, 118, 0.03);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--c-slate);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 1.2rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.22rem 0;
  font-size: 0.88rem;
  color: var(--c-slate);
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--c-ember);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transition: transform 0.2s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--t-heading);
  transform: translateX(3px);
}
.footer-links a:hover::before,
.footer-links a:focus-visible::before { transform: scale(1.25); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--c-slate);
}
.contact-item::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 0.45rem;
  background: var(--c-ember);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.contact-detail { display: block; }

.footer-note {
  margin-top: 0.9rem;
  padding-left: 0.7rem;
  border-left: 2px solid var(--c-chili);
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--c-slate);
  opacity: 0.82;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  max-width: var(--container-w);
  margin-inline: auto;
  padding: 1rem var(--gutter) 0;
  border-top: var(--line-dim);
  font-family: var(--f-data);
  font-size: 0.75rem;
  color: var(--c-slate);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
}
.footer-copy { color: var(--c-slate); }
.footer-icp { color: var(--c-slate); opacity: 0.75; }
.footer-legal-links { display: flex; align-items: center; gap: 0.7rem; }
.footer-legal-links a { color: var(--c-slate); transition: color 0.2s ease; }
.footer-legal-links a:hover,
.footer-legal-links a:focus-visible { color: var(--c-neon); }
.legal-sep { opacity: 0.4; }

@media (max-width: 63.998em) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 47.998em) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-meta { justify-content: center; text-align: center; }
  .footer-legal,
  .footer-legal-links { justify-content: center; }
}

/* ---------- 9. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--r-m);
  font-family: var(--f-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--c-neon); outline-offset: 3px; }

.btn-neon {
  background: var(--c-neon);
  color: var(--c-space);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.32);
}
.btn-neon:hover {
  background: #31f49a;
  box-shadow: 0 10px 28px rgba(0, 230, 118, 0.42);
}

.btn-ember {
  background: var(--c-ember);
  color: var(--c-ink);
  box-shadow: 0 6px 20px rgba(255, 109, 0, 0.28);
}
.btn-ember:hover {
  background: #ff8a3d;
  box-shadow: 0 10px 28px rgba(255, 109, 0, 0.36);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(0, 230, 118, 0.5);
  color: var(--c-neon);
}
.btn-ghost:hover {
  background: rgba(0, 230, 118, 0.08);
  border-color: var(--c-neon);
}

.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 0.42rem 0.9rem; font-size: 0.8rem; border-radius: var(--r-s); }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }

/* ---------- 10. Containers & Breadcrumb ---------- */
.section-heading {
  display: flex;
  align-items: flex-end;
  gap: 1.1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.section-heading-vert {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.section-index {
  padding-bottom: 0.3rem;
  font-family: var(--f-data);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--c-neon);
  white-space: nowrap;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; }
.section-desc {
  margin-top: 0.55rem;
  max-width: 40rem;
  font-size: 0.98rem;
  color: var(--c-slate);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--f-data);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--c-slate);
}
.breadcrumb a { color: var(--c-slate); transition: color 0.2s ease; }
.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: var(--c-neon); }
.breadcrumb-sep { color: var(--c-slate); opacity: 0.4; }
.breadcrumb-current { color: var(--t-heading); font-weight: 500; }

/* ---------- 11. Grid / Bento ---------- */
.grid-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.4vw, 1.5rem);
}
.bento-item {
  grid-column: span 4;
  min-width: 0;
}
.bento-wide { grid-column: span 8; }
.bento-full { grid-column: 1 / -1; }

@media (max-width: 63.998em) {
  .bento-item,
  .bento-wide { grid-column: span 6; }
}
@media (max-width: 47.998em) {
  .bento-item,
  .bento-wide { grid-column: 1 / -1; }
}

/* ---------- 12. Card / Chip / Tag / Image ---------- */
.card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  background: linear-gradient(160deg, rgba(27, 42, 74, 0.95), rgba(10, 22, 40, 0.9));
  border: var(--line-dim);
  border-radius: var(--r-l);
  box-shadow: var(--sh-card);
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease), background var(--speed) var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-neon), var(--c-ember), transparent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease);
}
.card:hover,
.card:focus-within {
  border-color: rgba(0, 230, 118, 0.4);
  transform: translateY(-4px);
}
.card:hover::before,
.card:focus-within::before { transform: scaleX(1); }

.data-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 1rem;
  background: rgba(27, 42, 74, 0.8);
  border: var(--line-dim);
  border-left: 3px solid var(--c-neon);
  border-radius: var(--r-m);
}
.data-chip-value {
  font-family: var(--f-data);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--c-neon);
}
.data-chip-label {
  font-family: var(--f-data);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-slate);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid;
  border-radius: var(--r-s);
  font-family: var(--f-data);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.tag-neon { color: var(--c-neon); border-color: rgba(0, 230, 118, 0.5); background: rgba(0, 230, 118, 0.07); }
.tag-ember { color: var(--c-ember); border-color: rgba(255, 109, 0, 0.5); background: rgba(255, 109, 0, 0.07); }
.tag-chili { color: var(--c-chili); border-color: rgba(230, 57, 70, 0.5); background: rgba(230, 57, 70, 0.07); }
.tag-slate { color: var(--c-slate); border-color: rgba(141, 153, 174, 0.4); background: rgba(141, 153, 174, 0.05); }

.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: var(--line-dim);
  border-radius: var(--r-l);
  background: var(--c-night);
}
.img-frame img,
.img-frame .img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.12);
  pointer-events: none;
}
.img-frame-16x9 { aspect-ratio: 16 / 9; }
.img-frame-4x3 { aspect-ratio: 4 / 3; }
.img-frame-3x4 { aspect-ratio: 3 / 4; }
.img-frame-square { aspect-ratio: 1; }

/* ---------- 13. Reveal & Focus & Motion ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js [data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--c-neon);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
