/* =========================================================
   涩里番官方网站 — Soft Aurora
   柔和精致版：保留独特结构，去掉硬线框与门户风
   ========================================================= */
:root {
  --rose: #f3a6c1;
  --rose-deep: #e57aa3;
  --rose-soft: #fff0f6;
  --lilac: #b9a4e8;
  --lilac-deep: #8f78d4;
  --lilac-soft: #f4efff;
  --sky: #8ec5ef;
  --sky-deep: #5a9fd4;
  --sky-soft: #eef7ff;
  --ink: #2c3140;
  --ink-2: #5b6475;
  --ink-3: #8b93a3;
  --paper: #ffffff;
  --mist: #f7f9fc;
  --line: rgba(90, 100, 120, 0.1);
  --line-2: rgba(90, 100, 120, 0.16);
  --night: #222836;
  --night-2: #2d3446;
  --grad: linear-gradient(135deg, #5a9fd4 0%, #9b84db 48%, #e57aa3 100%);
  --grad-soft: linear-gradient(145deg, #eef7ff 0%, #f4efff 48%, #fff0f6 100%);
  --shadow-sm: 0 6px 20px rgba(80, 100, 140, 0.06);
  --shadow-md: 0 16px 40px rgba(80, 100, 140, 0.1);
  --shadow-lg: 0 28px 64px rgba(80, 100, 140, 0.14);
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --max: 1140px;
  --font-display: "M PLUS Rounded 1c", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  background:
    radial-gradient(1000px 520px at 0% -5%, rgba(243, 166, 193, 0.22), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(185, 164, 232, 0.2), transparent 50%),
    radial-gradient(800px 500px at 70% 100%, rgba(142, 197, 239, 0.18), transparent 55%),
    var(--mist);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lilac-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rose-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.3;
  margin: 0 0 .55em;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--ink-2); }
button { font: inherit; }

.wrap { width: min(100% - 2.2rem, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ========== Header ========== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.topbar-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0 .35rem;
}
.brand {
  display: flex; align-items: center; gap: .75rem; color: var(--ink);
}
.brand img {
  width: 42px; height: 42px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.08rem; font-weight: 700;
}
.brand-copy span {
  font-size: .7rem; color: var(--ink-3);
  letter-spacing: .16em; text-transform: uppercase;
}
.topbar-tools {
  display: flex; align-items: center; gap: .85rem;
  font-size: .82rem; color: var(--ink-3);
}
.topbar-tools a {
  color: #fff;
  background: var(--grad);
  padding: .45rem .9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .8rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(149, 120, 200, 0.25);
}
.topbar-tools a:hover { color: #fff; filter: brightness(1.05); }
@media (max-width: 1100px) {
  .topbar-tools a { font-size: .74rem; padding: .4rem .7rem; }
}

.rail-nav {
  display: flex; flex-wrap: nowrap; gap: .15rem;
  padding: .25rem 0 .7rem;
  overflow-x: auto; scrollbar-width: none;
}
.rail-nav::-webkit-scrollbar { display: none; }
.rail-nav a {
  flex: 0 0 auto;
  padding: .45rem .7rem;
  color: var(--ink-2);
  font-size: .86rem; font-weight: 500;
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
}
.rail-nav a:hover {
  color: var(--lilac-deep);
  background: rgba(244, 239, 255, 0.8);
}
.rail-nav a.active {
  color: var(--lilac-deep);
  background: linear-gradient(135deg, rgba(238, 247, 255, .95), rgba(255, 240, 246, .95));
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(159, 140, 210, 0.22);
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 12px;
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span {
  width: 16px; height: 2px; background: var(--ink); position: relative; border-radius: 2px;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px;
  background: var(--ink); border-radius: 2px;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.nav-drawer {
  display: none;
  padding: .35rem 0 1rem;
}
.nav-drawer.open {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
}
.nav-drawer a {
  padding: .75rem .85rem;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600; font-size: .9rem;
}
.nav-drawer a.active {
  background: var(--grad-soft);
  border-color: rgba(159, 140, 210, 0.3);
  color: var(--lilac-deep);
}

/* ========== Ads：顶部固定广告条，小图标 + 数量自适应 ========== */
.ads-rail {
  padding: .5rem 0 .55rem;
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--line);
}
.ads-rail[hidden] { display: none !important; }
.ads-rail .wrap {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.ads-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: .35rem 0 0;
  font-size: .7rem;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: .04em;
  white-space: nowrap;
}
.ads-label::before {
  content: "AD";
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  padding: .1rem .32rem;
  border-radius: 4px;
}
.ads-grid {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .75rem;
  align-items: flex-start;
  justify-content: flex-start;
  padding: .55rem .7rem;
  background: rgba(247, 249, 252, .9);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.ad-card {
  flex: 0 0 auto;
  width: 72px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform .15s ease;
}
.ad-card:hover {
  transform: translateY(-1px);
  box-shadow: none;
}
.ad-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .28rem;
  color: inherit;
  text-align: center;
}
.ad-card .ad-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(80, 100, 140, 0.08);
}
.ad-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--lilac-soft);
}
.ad-card .ad-title {
  width: 100%;
  padding: 0;
  font-size: .72rem;
  line-height: 1.25;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
}

/* ========== Splash ========== */
.splash {
  position: relative;
  min-height: min(70vh, 660px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  margin: .75rem auto 0;
  width: min(100% - 1.5rem, calc(var(--max) + 2rem));
  border-radius: var(--r-xl);
  isolation: isolate;
  padding: 1.5rem 1.2rem 1.5rem 0;
}
.splash-bg {
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(620px 400px at 82% 28%, rgba(185,164,232,.35), transparent 60%),
    radial-gradient(520px 340px at 12% 85%, rgba(142,197,239,.28), transparent 55%),
    var(--grad-soft);
  z-index: 0;
}
.splash-mark {
  position: absolute;
  right: 3%; top: 4%;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -.05em;
  color: rgba(143, 120, 212, 0.08);
  pointer-events: none; line-height: .85;
  user-select: none; z-index: 0;
}
.splash-visual {
  position: relative;
  z-index: 1;
  height: min(560px, 62vh);
  display: grid;
  place-items: center;
  order: 2;
}
.splash-phone {
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(70, 80, 120, 0.22), 0 0 0 10px rgba(255,255,255,.7);
  object-fit: cover;
  object-position: top;
}
.splash-phone.main {
  width: min(250px, 58%);
  aspect-ratio: 9/18.5;
  position: relative;
  z-index: 2;
}
.splash-phone.side {
  position: absolute;
  width: min(170px, 40%);
  aspect-ratio: 9/18;
  right: 8%;
  bottom: 4%;
  z-index: 1;
  transform: rotate(8deg);
  opacity: .96;
  animation: floatSoft 6.5s ease-in-out infinite;
}
@keyframes floatSoft {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-10px); }
}
.splash-panel {
  position: relative; z-index: 1;
  width: min(100% - 1.5rem, 520px);
  margin: 1.4rem 0 1.4rem max(1.2rem, calc((100% - var(--max)) / 2 + .2rem));
  padding: 1.7rem 1.75rem 1.8rem;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  order: 1;
}
.splash-panel .kicker {
  display: inline-flex; align-items: center;
  margin-bottom: .85rem;
  padding: .28rem .7rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .06em;
  color: var(--lilac-deep);
  background: rgba(244, 239, 255, .9);
  border: 1px solid rgba(185, 164, 232, .28);
  border-radius: 999px;
}
.splash-panel h1 {
  font-size: clamp(2.35rem, 5vw, 3.5rem);
  margin-bottom: .5rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.splash-panel .lead {
  color: var(--ink-2);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}
.splash-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: .7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600; font-size: .92rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid, .btn-ink {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 24px rgba(149, 120, 200, 0.28);
}
.btn-solid:hover, .btn-ink:hover { color: #fff; box-shadow: 0 14px 28px rgba(149, 120, 200, 0.34); }
.btn-line, .btn-outline {
  color: var(--ink);
  background: rgba(255,255,255,.88);
  border-color: var(--line-2);
}
.btn-line:hover, .btn-outline:hover {
  color: var(--lilac-deep);
  background: #fff;
  border-color: rgba(159, 140, 210, 0.35);
}

/* ========== Sections ========== */
.band { padding: 3.8rem 0; position: relative; }
.band-alt { background: transparent; }
.band-sky {
  background: linear-gradient(180deg, rgba(238,247,255,.7), rgba(255,255,255,.35));
}
.band-lilac {
  background: linear-gradient(180deg, rgba(244,239,255,.65), rgba(255,240,246,.4));
}
.band-slash { background: transparent; clip-path: none; padding: 3.8rem 0; }

.band-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.4rem;
  align-items: end;
  margin-bottom: 2rem;
}
.band-index {
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 700;
  color: var(--lilac-deep);
  letter-spacing: .08em;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(244, 239, 255, .9);
  border: 1px solid rgba(185, 164, 232, .25);
  align-self: start;
  margin-top: .35rem;
}
.band-head h2 {
  margin: 0 0 .35rem;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
}
.band-head p { margin: 0; max-width: 38rem; }

/* Brand timeline ========== */
.timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid rgba(185, 164, 232, .45);
  margin-left: .55rem;
  padding-left: 0;
}
.timeline-item {
  position: relative;
  padding: 0 0 1.5rem 1.35rem;
}
.timeline-item::before {
  content: "";
  position: absolute; left: -7px; top: .4rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--rose);
  box-shadow: 0 0 0 4px rgba(243, 166, 193, 0.2);
}
.timeline-item h3 { margin: 0 0 .3rem; font-size: 1.08rem; }
.timeline-item p { margin: 0; }

.brand-duo {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.4rem;
  margin-top: 1.6rem;
  align-items: stretch;
}
.brand-stat {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
}
.brand-stat div {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.2rem 1.05rem;
  box-shadow: var(--shadow-sm);
}
.brand-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .3rem;
}
.brand-stat span { font-size: .86rem; color: var(--ink-2); }
.frame-shot {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.frame-shot img {
  width: 100%; height: 100%;
  max-height: 380px;
  object-fit: cover; object-position: top;
}

/* Bento ========== */
.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .9rem;
}
.bento-cell {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  border-radius: var(--r-md);
  padding: 1.25rem 1.3rem;
  min-height: 138px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.bento-cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bento-cell.hero-cell {
  grid-row: span 2;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0;
  overflow: hidden;
  background: var(--night);
  border: 0;
}
.bento-cell.hero-cell:hover { transform: none; }
.bento-cell.hero-cell img {
  width: 100%; height: 100%; min-height: 290px;
  object-fit: cover; object-position: top; opacity: .9;
}
.bento-cell.hero-cell .cap {
  padding: 1.05rem 1.2rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(34,40,54,.96));
  margin-top: -3rem;
  position: relative;
}
.bento-cell.hero-cell h3 { color: #fff; margin: 0 0 .3rem; }
.bento-cell.hero-cell p { color: rgba(255,255,255,.78); margin: 0; font-size: .9rem; }
.bento-cell h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.bento-cell p { margin: 0; font-size: .9rem; }
.bento-cell .tag {
  display: inline-block;
  margin-bottom: .55rem;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .1em;
  color: var(--sky-deep);
  background: var(--sky-soft);
  padding: .15rem .45rem;
  border-radius: 6px;
}

/* Filmstrip ========== */
.filmstrip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .85rem;
  padding: 1.1rem;
  background: linear-gradient(160deg, #2a3142, #1d2330);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.film-frame {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 8px 8px 0;
  overflow: hidden;
  transition: transform .2s ease;
}
.film-frame:hover { transform: translateY(-4px); }
.film-frame::before, .film-frame::after { display: none; }
.film-frame img {
  aspect-ratio: 9/16;
  object-fit: cover; object-position: top;
  width: 100%;
  border-radius: 12px;
}
.film-frame figcaption {
  color: rgba(255,255,255,.72);
  font-size: .74rem;
  text-align: center;
  padding: .55rem 0 .6rem;
}

/* Category map ========== */
.cat-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  border: 0;
}
.cat-map a {
  display: block;
  padding: 1.3rem 1.2rem;
  color: var(--ink);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-map a:nth-child(3n) { border-right: 1px solid var(--line); }
.cat-map a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(159, 140, 210, 0.35);
  color: var(--ink);
  background: #fff;
}
.cat-map strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: .3rem;
}
.cat-map span { font-size: .86rem; color: var(--ink-2); }

/* Guide ladder ========== */
.ladder {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 1.2rem;
}
.ladder-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  padding-top: .2rem;
  text-align: center;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  border-right: 0;
}
.ladder-row { display: contents; }
.ladder-body {
  padding: .1rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
}
.ladder-body h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.ladder-body p { margin: 0; }

/* News ledger ========== */
.ledger {
  border-top: 0;
  display: grid;
  gap: .75rem;
}
.ledger-row {
  display: grid;
  grid-template-columns: 118px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.ledger-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.ledger-date {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--lilac-deep);
  font-weight: 700;
}
.ledger-row h3 { margin: 0 0 .25rem; font-size: 1.02rem; }
.ledger-row h3 a { color: var(--ink); }
.ledger-row h3 a:hover { color: var(--lilac-deep); }
.ledger-row p { margin: 0; font-size: .9rem; }
.ledger-go {
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  padding: .45rem .75rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* FAQ ========== */
.ask-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.ask-item {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  border-radius: var(--r-md);
  border-left: 4px solid var(--lilac);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ask-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
}
.ask-item summary::-webkit-details-marker { display: none; }
.ask-item summary::after {
  content: "+";
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1rem;
  color: var(--lilac-deep);
  background: var(--lilac-soft);
  flex-shrink: 0;
}
.ask-item[open] summary::after { content: "–"; }
.ask-item .ask-a {
  padding: 0 1.1rem 1.05rem;
  color: var(--ink-2);
  font-size: .92rem;
  border-top: 1px solid var(--line);
  padding-top: .85rem;
}

/* Page intro ========== */
.page-intro {
  padding: 2.1rem 0 1.5rem;
  background: transparent;
  border-bottom: 0;
}
.crumbs {
  display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
  font-size: .8rem; color: var(--ink-3); margin-bottom: .8rem;
}
.crumbs a { color: var(--ink-2); }
.crumbs span[aria-current] { color: var(--lilac-deep); font-weight: 700; }
.page-intro h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: .45rem;
}
.page-intro .lead { margin: 0; max-width: 42rem; }

/* Inner helpers ========== */
.panel {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.45rem;
  box-shadow: var(--shadow-sm);
}
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }
.panel ul, .panel ol { padding-left: 1.2rem; margin: 0 0 1em; }
.panel li { margin-bottom: .35rem; color: var(--ink-2); }
.panel ul li { list-style: disc; }
.panel ol li { list-style: decimal; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  align-items: start;
}
.split.reverse > :first-child { order: 2; }
.stack { display: grid; gap: 1.2rem; }
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.tile {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  border-radius: var(--r-md);
  padding: 1.2rem 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tile h3 { font-size: 1rem; }
.tile p { margin: 0; font-size: .9rem; }
.shot-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
}
.shot-wall figure {
  margin: 0;
  background: #fff;
  border-radius: 22px;
  padding: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease;
}
.shot-wall figure:hover { transform: translateY(-4px); }
.shot-wall img {
  aspect-ratio: 9/16;
  object-fit: cover; object-position: top;
  border-radius: 16px;
}
.shot-wall figcaption {
  text-align: center;
  font-size: .8rem;
  padding: .55rem .2rem .35rem;
  color: var(--ink-2);
}
.works-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.work {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work .thumb { aspect-ratio: 3/4; overflow: hidden; }
.work .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work .body { padding: 1rem 1.05rem 1.15rem; }
.work h3 { margin: 0 0 .3rem; font-size: 1rem; }
.work p { margin: 0; font-size: .88rem; }

.cat-rows { display: grid; gap: .85rem; }
.cat-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 1.1rem;
  align-items: center;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: .85rem;
  box-shadow: var(--shadow-sm);
}
.cat-row img {
  width: 128px; height: 168px;
  object-fit: cover; object-position: top;
  border-radius: 16px;
}
.article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm);
}
.article h2 { font-size: 1.25rem; margin-top: 1.4rem; }
.article ul, .article ol { padding-left: 1.2rem; margin: 0 0 1em; }
.article li { list-style: disc; margin-bottom: .35rem; color: var(--ink-2); }
.article-meta {
  font-size: .82rem;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.prose-links a { text-decoration: underline; text-underline-offset: 3px; }
.mt { margin-top: 1.5rem; }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.error-box {
  min-height: 68vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}
.error-box .code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Footer ========== */
.site-foot {
  margin-top: 1rem;
  background: linear-gradient(180deg, #2a3142, var(--night));
  color: rgba(255,255,255,.78);
  padding: 3.2rem 0 1.6rem;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.site-foot a { color: rgba(255,255,255,.82); }
.site-foot a:hover { color: #fff; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.foot-brand {
  display: flex; gap: .85rem; align-items: flex-start;
}
.foot-brand img {
  width: 48px; height: 48px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.foot-brand strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: .35rem;
}
.foot-brand p { color: rgba(255,255,255,.62); margin: 0; font-size: .9rem; }
.foot-col h3 {
  color: #fff;
  font-size: .88rem;
  margin-bottom: .7rem;
}
.foot-col a {
  display: block;
  font-size: .9rem;
  padding: .22rem 0;
  opacity: .85;
}
.foot-col a:hover { opacity: 1; }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  justify-content: space-between;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

/* Responsive ========== */
@media (max-width: 1100px) {
  .filmstrip { grid-template-columns: repeat(4, 1fr); }
  .shot-wall { grid-template-columns: repeat(3, 1fr); }
  .rail-nav a { padding: .42rem .58rem; font-size: .82rem; }
}
@media (max-width: 900px) {
  .brand-duo, .split, .bento, .ask-grid, .tile-grid, .works-wall {
    grid-template-columns: 1fr;
  }
  .bento-cell.hero-cell { grid-row: auto; }
  .band-head { grid-template-columns: 1fr; gap: .55rem; }
  .cat-map { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .filmstrip { grid-template-columns: repeat(3, 1fr); }
  .splash {
    width: min(100% - 1rem, 100%);
    border-radius: var(--r-lg);
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 1rem .4rem 1.4rem;
  }
  .splash-visual {
    order: 0;
    height: 340px;
    margin-bottom: .2rem;
  }
  .splash-phone.main { width: min(200px, 46%); }
  .splash-phone.side { width: min(140px, 32%); right: 14%; }
  .splash-panel {
    max-width: none;
    width: min(100% - 1.5rem, 560px);
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .rail-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .topbar-tools .hide-m { display: none; }
  .topbar-row { padding: .75rem 0; }
  .ads-rail .wrap {
    flex-direction: column;
    gap: .35rem;
  }
  .ads-label { margin: 0; }
  .ads-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .4rem .3rem;
    padding: .5rem .4rem;
    width: 100%;
  }
  .ad-card { width: auto; }
  .ad-card .ad-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }
  .ad-card .ad-title {
    font-size: .66rem;
    -webkit-line-clamp: 2;
  }
  .ledger-row { grid-template-columns: 1fr; gap: .4rem; }
  .ledger-go { justify-self: start; }
  .shot-wall, .filmstrip { grid-template-columns: repeat(2, 1fr); }
  .cat-map { grid-template-columns: 1fr; }
  .cat-row { grid-template-columns: 100px 1fr; }
  .cat-row img { width: 100px; height: 132px; }
  .foot-grid { grid-template-columns: 1fr; }
  .band { padding: 2.7rem 0; }
  .ladder { grid-template-columns: 52px 1fr; }
  .ladder-num { font-size: 1.55rem; }
  .site-foot { border-radius: var(--r-lg) var(--r-lg) 0 0; }
}
@media (min-width: 769px) {
  .nav-drawer { display: none !important; }
  .nav-toggle { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
