/* ==========================================================================
   涩视界 Site Kit / assets/site.css
   暗夜俱乐部 · 赛博朋克 · 目录型内容地图
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  min-height: 100%;
}
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--cream);
  background-color: var(--bg-black);
  background-image:
    radial-gradient(circle at 85% 8%, rgba(199,36,245,0.13), transparent 42%),
    radial-gradient(circle at 5% 70%, rgba(0,229,255,0.08), transparent 46%),
    radial-gradient(circle at 60% 92%, rgba(255,44,136,0.05), transparent 38%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-left: var(--header-w);
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
ul[class], ol[class] { list-style: none; }
[hidden] { display: none !important; }
#main-content { display: block; scroll-margin-top: 24px; }

/* ---------- Design Tokens ---------- */
:root {
  --bg-black: #0B0B0D;
  --bg-rock: #1A1A1E;
  --glass-white: rgba(255,255,255,0.06);
  --purple: #C724F5;
  --blue: #00E5FF;
  --pink: #FF2C88;
  --red: #FF3B1A;
  --moss: #7A8B5E;
  --terracotta: #B0693C;
  --cream: #F2EDE6;
  --gray: #8A8A8A;

  --font-head: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-body: "Noto Serif SC", "Source Han Serif SC", "Times New Roman", serif;

  --header-w: 280px;
  --header-h-mobile: 64px;
  --radius: 8px;
  --gap: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  letter-spacing: 0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5vw, 48px); }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: clamp(20px, 2.4vw, 24px); }
p { text-wrap: pretty; }
strong { font-weight: 700; color: #fff; }
::selection { background: var(--purple); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-black); }
::-webkit-scrollbar-thumb { background: #2B2B31; border-radius: 8px; border: 2px solid var(--bg-black); }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

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

/* ---------- Scroll Progress ---------- */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 3px;
  z-index: 1000;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--pink));
  box-shadow: 0 0 14px rgba(199,36,245,0.55);
  pointer-events: none;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: fixed;
  top: -72px;
  left: 16px;
  z-index: 999;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--purple), #8e1bb3);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 24px rgba(199,36,245,0.4);
  transition: top 0.25s var(--ease);
}
.skip-link:focus {
  top: 0;
  outline: none;
}

/* ---------- Header / Side Rail ---------- */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 120;
  width: var(--header-w);
  display: flex;
  flex-direction: column;
  background: rgba(26, 26, 30, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--cream);
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  opacity: 0.7;
  pointer-events: none;
}
.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--purple) 0%, transparent 32%, transparent 62%, var(--blue) 100%);
  opacity: 0.55;
  pointer-events: none;
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  text-decoration: none;
  color: var(--cream);
  flex: 1;
}
.site-brand__glyph {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--purple), rgba(199,36,245,0.55));
  color: #fff;
  font-family: var(--font-head);
  font-size: 24px;
  transform: skewX(-8deg);
  box-shadow: 0 0 18px rgba(199,36,245,0.45);
  border-radius: 4px;
  transition: box-shadow 0.3s;
}
.site-brand:hover .site-brand__glyph { box-shadow: 0 0 26px rgba(199,36,245,0.7); }
.site-brand__text { display: grid; gap: 2px; }
.site-brand__name {
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #fff;
}
.site-brand__subtext {
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.32em;
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-right: 14px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.nav-toggle:hover { border-color: var(--purple); color: #fff; box-shadow: 0 0 14px rgba(199,36,245,0.3); }
.nav-toggle__bars { position: relative; display: inline-block; width: 18px; height: 12px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), bottom 0.3s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { bottom: 5px; transform: rotate(-45deg); }
.nav-toggle__text { font-size: 12px; }

.site-header__drawer {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.site-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 0 8px;
}
.site-nav__list { list-style: none; }
.site-nav__item { position: relative; }
.site-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 18px 11px 22px;
  color: var(--gray);
  font-size: 15px;
  text-decoration: none;
  border-radius: 0 8px 8px 0;
  transition: color 0.3s, background 0.3s, text-shadow 0.3s, box-shadow 0.3s;
}
.site-nav__num {
  font-family: var(--font-head);
  font-size: 12px;
  line-height: 1.8;
  color: var(--terracotta);
  min-width: 20px;
  opacity: 0.8;
  transition: color 0.3s;
}
.site-nav__label { display: inline-block; line-height: 1.6; }
.site-nav__link:hover {
  color: var(--blue);
  background: linear-gradient(90deg, rgba(0,229,255,0.08), rgba(0,229,255,0.01));
  text-shadow: 0 0 14px rgba(0,229,255,0.35);
}
.site-nav__link:hover .site-nav__num { color: var(--blue); }
.site-nav__link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(90deg, rgba(199,36,245,0.2), transparent 86%);
  box-shadow: inset 3px 0 0 var(--purple);
  text-shadow: 0 0 16px rgba(199,36,245,0.5);
}
.site-nav__link[aria-current="page"] .site-nav__num { color: var(--purple); opacity: 1; }

.site-header__aux {
  display: grid;
  gap: 12px;
  padding: 18px 18px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.aux-search { position: relative; }
.aux-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.aux-search__input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.aux-search__input::placeholder { color: rgba(138,138,138,0.8); }
.aux-search__input:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(0,229,255,0.05);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.16);
}
.aux-search::before,
.aux-search::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition: border-color 0.3s, background 0.3s;
}
.aux-search::before {
  left: 11px;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 1.6px solid #6e6e76;
  border-radius: 50%;
  transform: translateY(-62%);
}
.aux-search::after {
  left: 21px;
  top: 55%;
  width: 6px;
  height: 1.6px;
  background: #6e6e76;
  transform: rotate(45deg);
  border-radius: 2px;
}
.aux-search:focus-within::before { border-color: var(--blue); }
.aux-search:focus-within::after { background: var(--blue); }
.aux-fav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: linear-gradient(90deg, rgba(255,44,136,0.1), var(--glass-white));
  border: 1px solid rgba(255,44,136,0.22);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.aux-fav__icon { color: var(--pink); font-size: 14px; line-height: 1; }
.aux-fav:hover {
  border-color: var(--purple);
  box-shadow: 0 0 16px rgba(255,44,136,0.22);
  transform: translateY(-1px);
}
.site-header__footer-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 16px;
  color: rgba(138,138,138,0.7);
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.28em;
  white-space: nowrap;
}
.site-header__footer-note-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--purple), transparent); }
.site-header__footer-note-text { flex: 0 0 auto; }

.site-header__overlay { display: none; }

/* ---------- Header Mobile ---------- */
@media (max-width: 960px) {
  body {
    padding-left: 0;
    padding-top: var(--header-h-mobile);
    background-attachment: scroll;
  }
  #main-content { scroll-margin-top: calc(var(--header-h-mobile) + 16px); }
  .skip-link { top: -80px; }
  .skip-link:focus { top: 0; }

  .site-header {
    inset: 0 0 auto 0;
    width: 100%;
    min-height: var(--header-h-mobile);
    background: rgba(11,11,13,0.86);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header::before { height: 2px; opacity: 0.55; }
  .site-header::after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--purple), var(--blue), var(--pink));
    opacity: 0.7;
  }
  .site-header__bar { min-height: var(--header-h-mobile); }
  .site-brand { padding: 0 12px; gap: 10px; }
  .site-brand__glyph { width: 36px; height: 36px; font-size: 20px; }
  .site-brand__name { font-size: 20px; }
  .site-brand__subtext { font-size: 10px; letter-spacing: 0.24em; }
  .nav-toggle { display: inline-flex; }

  .site-header__drawer {
    position: fixed;
    top: var(--header-h-mobile);
    bottom: 0;
    left: 0;
    z-index: 130;
    width: min(86vw, 360px);
    background: rgba(11,11,13,0.94);
    border-right: 1px solid rgba(255,255,255,0.08);
    box-shadow: 24px 0 60px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    visibility: hidden;
    transform: translateX(-105%);
    transition: transform 0.34s var(--ease), visibility 0s 0.34s;
  }
  .site-header__drawer[data-open] {
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.34s var(--ease), visibility 0s 0s;
  }
  .site-header__overlay {
    position: fixed;
    inset: var(--header-h-mobile) 0 0 0;
    z-index: 125;
    display: block;
    background: rgba(0,0,0,0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .site-header__overlay.is-visible { opacity: 1; pointer-events: auto; }
  body.nav-locked { overflow: hidden; }
}
@media (max-width: 480px) {
  .nav-toggle__text { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--bg-rock);
  overflow: hidden;
}
.site-footer::before {
  content: "涩";
  position: absolute;
  right: -1%;
  bottom: -18%;
  font-family: var(--font-head);
  font-size: clamp(180px, 30vw, 380px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(199,36,245,0.16);
  transform: rotate(-8deg);
  pointer-events: none;
  user-select: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--pink));
  opacity: 0.5;
}
.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px clamp(20px, 4vw, 56px) 40px;
  display: grid;
  grid-template-columns: 1.6fr 0.75fr 1fr;
  gap: 40px 48px;
}
.site-footer__brand { display: grid; gap: 10px; align-content: start; }
.site-footer__logo {
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.08em;
}
.site-footer__logo::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
}
.site-footer__tagline {
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.4em;
}
.site-footer__trust {
  margin-top: 8px;
  max-width: 44em;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(242,237,230,0.62);
}
.site-footer__col { display: grid; gap: 14px; align-content: start; }
.site-footer__col--nav { max-width: 20em; }
.site-footer__heading {
  font-size: 15px;
  color: var(--cream);
  letter-spacing: 0.18em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer__links { list-style: none; display: grid; gap: 6px; }
.site-footer__link {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s, padding-left 0.3s;
}
.site-footer__link:hover { color: var(--blue); padding-left: 6px; }
.site-footer__contacts { list-style: none; display: grid; gap: 10px; font-size: 14px; color: rgba(242,237,230,0.7); }
.site-footer__contact-item { display: grid; gap: 2px; }
.site-footer__contact-label {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--terracotta);
  text-transform: uppercase;
}
.site-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer__bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--gray);
}
.site-footer__copyright { margin-right: auto; }
.site-footer__icp { letter-spacing: 0.06em; }
.site-footer__note { flex-basis: 100%; color: rgba(138,138,138,0.7); }
@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }
}

/* ---------- Layout & Section Skeleton ---------- */
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) clamp(20px, 4vw, 56px) clamp(48px, 6vw, 88px);
}
.narrow-flow { max-width: 720px; }

.page-head {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
}
.page-head__title {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  position: relative;
}
.page-head__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--terracotta), transparent);
}
.page-head__lead { max-width: 640px; color: var(--gray); font-size: 15px; }

.chapter {
  position: relative;
  padding: clamp(28px, 5vw, 64px) 0 8px;
  scroll-margin-top: 20px;
}
.chapter:first-child { padding-top: 0; }
.chapter__top {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}
.chapter__number {
  font-family: var(--font-head);
  font-size: 96px;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--terracotta);
  user-select: none;
  white-space: nowrap;
  transition: color 0.4s;
}
.chapter:hover .chapter__number { color: rgba(176,105,60,0.08); }
.chapter__title-block { display: grid; gap: 6px; padding-bottom: 8px; }
.chapter__title { font-size: clamp(26px, 3.4vw, 36px); }
.chapter__lead { color: var(--gray); max-width: 640px; font-size: 15px; }
.chapter__body { margin-top: 8px; }
@media (max-width: 640px) {
  .chapter__number { font-size: 64px; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 28px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--gray);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 12px; }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: rgba(255,255,255,0.18); }
.breadcrumb__link { color: var(--gray); text-decoration: none; transition: color 0.25s; }
.breadcrumb__link:hover { color: var(--blue); }
.breadcrumb__item[aria-current="page"] { color: var(--cream); }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.18);
  background: var(--glass-white);
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--purple), rgba(199,36,245,0.55));
  border-color: transparent;
  color: #fff;
}
.btn--primary:hover { box-shadow: 0 8px 30px rgba(199,36,245,0.4); }
.btn--ghost:hover { color: var(--blue); border-color: var(--blue); box-shadow: 0 0 22px rgba(0,229,255,0.25); }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

.link-inline {
  color: var(--purple);
  text-decoration: none;
  border-bottom: 1px solid rgba(199,36,245,0.35);
  transition: color 0.2s, border-color 0.2s, text-shadow 0.2s;
}
.link-inline:hover {
  color: var(--blue);
  border-color: var(--blue);
  text-shadow: 0 0 12px rgba(0,229,255,0.3);
}

/* ---------- Callout / Glass / Clip ---------- */
.callout {
  position: relative;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(199,36,245,0.1), rgba(0,229,255,0.03));
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: rgba(242,237,230,0.85);
  font-size: 15px;
}
.callout--terracotta {
  background: linear-gradient(135deg, rgba(176,105,60,0.12), rgba(0,0,0,0.1));
  border-left-color: var(--terracotta);
}
.callout strong { color: #fff; }

.glass-panel {
  background: var(--glass-white);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 32px);
}
.clip-diagonal {
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  border-radius: 2px;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--gap);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, #202027, var(--bg-rock));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 65%, rgba(199,36,245,0.08));
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,229,255,0.35);
  box-shadow: 0 18px 44px rgba(0,0,0,0.5), 0 0 20px rgba(0,229,255,0.1);
}
.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(199,36,245,0.2), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(0,229,255,0.16), transparent 50%),
    #121216;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__body {
  padding: 16px 18px 20px;
  display: grid;
  gap: 8px;
  align-content: start;
  flex: 1;
}
.card__title { font-size: 18px; line-height: 1.3; color: var(--cream); }
.card__meta {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.card__action { margin-top: auto; display: flex; gap: 10px; padding-top: 8px; }

/* ---------- Image Frames ---------- */
.figure-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(-45deg, rgba(199,36,245,0.1), transparent 40%),
    linear-gradient(120deg, rgba(0,229,255,0.08), transparent 55%),
    var(--bg-rock);
  border: 1px solid rgba(255,255,255,0.06);
}
.figure-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(199,36,245,0.12), transparent 38%),
    linear-gradient(-55deg, rgba(0,229,255,0.08), transparent 46%);
  z-index: 1;
  pointer-events: none;
}
.figure-frame--wide { aspect-ratio: 16 / 9; }
.figure-frame--tall { aspect-ratio: 3 / 4; }
.figure-frame img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 36px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(11,11,13,0.82));
  color: rgba(242,237,230,0.85);
  font-size: 13px;
}
.figure-frame__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
}
.media-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.14);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.3em;
}

/* ---------- Tags & Status ---------- */
.tag-region {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 3px;
  border: 1px solid;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  background: rgba(0,0,0,0.25);
}
.tag-region--cn {
  color: var(--red);
  border-color: rgba(255,59,26,0.5);
  background: rgba(255,59,26,0.08);
  box-shadow: 0 0 12px rgba(255,59,26,0.15);
}
.tag-region--jp {
  color: var(--pink);
  border-color: rgba(255,44,136,0.5);
  background: rgba(255,44,136,0.08);
  box-shadow: 0 0 12px rgba(255,44,136,0.15);
}
.tag-region--eu {
  color: var(--blue);
  border-color: rgba(0,229,255,0.5);
  background: rgba(0,229,255,0.06);
  box-shadow: 0 0 12px rgba(0,229,255,0.12);
}
.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1;
  color: var(--moss);
}
.pill-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.pill-status--muted { color: var(--gray); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease);
}
.reveal[data-revealed] { opacity: 1; transform: none; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid rgba(255,255,255,0.08); }
.accordion__item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  background: transparent;
  border: none;
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s;
}
.accordion__trigger:hover { color: var(--blue); }
.accordion__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--purple);
  transition: transform 0.35s var(--ease), color 0.25s;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform 0.3s;
}
.accordion__icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.accordion__icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(135deg); color: var(--blue); }
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.accordion__panel.is-open { grid-template-rows: 1fr; }
.accordion__panel-inner {
  min-height: 0;
  overflow: hidden;
  color: rgba(242,237,230,0.72);
  font-size: 15px;
}
.accordion__panel-inner > * { padding: 0 4px 20px; }

/* ---------- Motion Preferences & Focus ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
