/* roulang page: index */
:root {
  --bg: #120E14;
  --bg-2: #1A1218;
  --card: #241C28;
  --ink: #F6F1F4;
  --muted: #B7A8B2;
  --pink: #E23E8C;
  --lime: #C6F54A;
  --lime-2: #D6FF6A;
  --violet: #7B5CFF;
  --line: rgba(255,255,255,0.14);
  --shadow: 0 16px 40px rgba(0,0,0,0.45);
  --max: 1180px;
  --gap: 24px;
  --pad: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; letter-spacing: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: #120E14; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.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;
}
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  background: rgba(18,14,20,0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  transition: background 160ms ease, box-shadow 160ms ease;
}
.site-header.is-solid {
  background: #1A1218;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}
.nav-bar { min-height: 74px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; flex: 0 0 auto; }
.logo-mark {
  width: 28px; height: 28px; position: relative; border: 1px solid var(--pink);
  box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; background: var(--lime); }
.logo-mark::before { left: 5px; right: 5px; top: 13px; height: 1px; }
.logo-mark::after { top: 5px; bottom: 5px; left: 13px; width: 1px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 16px; font-weight: 700; }
.logo-text small { font-size: 12px; color: var(--lime); }
.desk-nav { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.desk-nav a {
  min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center;
  color: var(--ink); border-bottom: 2px solid transparent;
}
.desk-nav a:hover { color: var(--pink); }
.desk-nav a.is-active { color: var(--lime); border-bottom-color: var(--lime); }
.nav-search { margin-left: auto; display: flex; align-items: center; gap: 8px; position: relative; }
.nav-search input {
  width: 210px; height: 44px; border-radius: 2px; border: 1px solid var(--line);
  background: #120E14; color: var(--ink); padding: 0 12px;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search.is-error input { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime); }
.search-msg { position: absolute; left: 0; top: calc(100% + 6px); font-size: 13px; color: var(--lime); min-height: 0; }
.btn {
  min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer; font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--lime); color: #120E14; border-color: var(--lime); }
.btn-primary:hover { background: var(--lime-2); }
.btn-primary:active { background: #b6e043; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--pink); }
.btn-ghost:hover { color: var(--lime); border-color: var(--lime); }
.btn-ghost:active { background: rgba(226,62,140,0.12); }
.nav-cta { flex: 0 0 auto; }
.icon-btn {
  display: none; min-width: 44px; min-height: 44px; padding: 0 10px;
  background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer; border-radius: 2px;
}
.icon-btn:hover { border-color: var(--pink); color: var(--pink); }
.drawer { display: none; background: #1A1218; border-top: 1px solid var(--line); }
.drawer a { display: flex; align-items: center; min-height: 48px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.drawer a:hover { color: var(--lime); }
.hero {
  padding: 118px 0 64px;
  background:
    radial-gradient(680px 220px at 88% 10%, rgba(226,62,140,0.2), transparent 70%),
    linear-gradient(180deg, #1A1218 0%, #120E14 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.18; font-weight: 760; max-width: 640px; }
.hero-sub { margin-top: 14px; color: var(--lime); font-size: 18px; font-weight: 700; }
.hero-lead { margin-top: 14px; max-width: 640px; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.preview-shell { filter: drop-shadow(0 18px 28px rgba(0,0,0,0.48)); }
.preview-frame {
  position: relative; background: var(--card); min-height: 360px; padding: 22px;
  clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px);
  box-shadow: inset 0 0 0 1px var(--pink);
}
.tick { position: absolute; width: 12px; height: 12px; border: 1px solid var(--lime); z-index: 2; }
.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.cover { min-height: 168px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.g1 { background: linear-gradient(135deg, #3a1d34 0%, #E23E8C 58%, #241C28 100%); }
.g2 { background: linear-gradient(150deg, #241C28 0%, #7B5CFF 62%, #1A1218 100%); }
.g3 { background: linear-gradient(120deg, #120E14 0%, #E23E8C 78%, #3a2430 100%); }
.g4 { background: linear-gradient(160deg, #2a1a28 0%, #7B5CFF 40%, #C6F54A 130%); }
.cover-title { font-size: 26px; line-height: 1.3; font-weight: 760; }
.cover-meta { color: #F6F1F4; font-size: 14px; margin-top: 6px; }
.preview-list { margin-top: 16px; display: grid; gap: 8px; }
.clip-row {
  display: flex; justify-content: space-between; gap: 12px; min-height: 44px; align-items: center;
  border-top: 1px solid var(--line); padding-top: 8px; color: var(--muted); font-size: 15px;
}
.clip-row b { color: var(--ink); font-weight: 650; }
.block { padding: var(--pad) 0; position: relative; }
.block:nth-child(even) { background: var(--bg-2); }
.block:nth-child(odd) { background: var(--bg); }
.block h2 { font-size: 30px; line-height: 1.28; font-weight: 760; max-width: 860px; }
.lead { margin: 14px 0 28px; max-width: 820px; color: var(--muted); }
.pain-list { display: grid; gap: 16px; }
.pain-row { background: var(--card); border: 1px solid var(--line); padding: 16px 18px; box-shadow: var(--shadow); }
.pain-row:hover { border-color: var(--pink); }
.pain-name { color: var(--lime); font-weight: 760; }
.pain-row p { margin: 4px 0 10px; }
.bar, .thin { height: 10px; background: #120E14; border: 1px solid var(--line); position: relative; }
.thin { height: 6px; margin-top: 12px; }
.bar-fill, .thin-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--lime)); }
.w88 { width: 88%; } .w76 { width: 76%; } .w69 { width: 69%; }
.w86 { width: 86%; } .w62 { width: 62%; } .w74 { width: 74%; }
.w73 { width: 73%; } .w58 { width: 58%; } .w64 { width: 64%; } .w81 { width: 81%; }
.solution-grid, .play-grid, .quotes, .entries, .versus { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--gap); align-items: start; }
.hud { position: relative; background: #1A1218; border: 1px solid var(--line); padding: 22px 18px 18px; box-shadow: var(--shadow), inset 0 0 0 1px rgba(226,62,140,0.45); }
.hud-row { display: flex; justify-content: space-between; gap: 12px; min-height: 46px; align-items: center; border-bottom: 1px solid var(--line); }
.hud-row span { color: var(--muted); }
.hud-row b { color: var(--lime); font-weight: 700; }
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step-slot { padding: 22px 20px; position: relative; min-height: 180px; }
.step-slot:not(:last-child)::after { content: ""; position: absolute; top: 22px; bottom: 22px; right: 0; width: 1px; background: rgba(226,62,140,0.75); }
.step-kicker { color: var(--lime); font-weight: 760; margin-bottom: 8px; }
.step-slot h3, .card-body h3, .person h3, .cell h3, .col h3, .entry h3 { font-size: 20px; line-height: 1.4; margin-bottom: 8px; }
.play-side { display: grid; gap: 20px; }
.play-card, .person, .cell, .entry, .col, .news-item, .quote {
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: border-color 160ms ease;
}
.play-card:hover, .person:hover, .cell:hover, .entry:hover, .news-item:hover, .quote:hover, .scene-main:hover, .scene-sub:hover { border-color: var(--pink); }
.is-shift { transform: translateY(22px); }
.card-cover { min-height: 180px; padding: 16px; display: flex; align-items: flex-end; }
.is-lg .card-cover { min-height: 280px; }
.card-body, .person, .cell, .entry, .col, .quote { padding: 18px; }
.tag {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px; margin-bottom: 8px;
  border: 1px solid rgba(198,245,74,0.55); color: var(--lime); font-size: 12px;
}
.card-body p, .person p, .cell p, .entry p, .col li, .news-item p { color: var(--muted); }
.bar-block { margin-top: 8px; }
.bar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bar-head strong { font-size: 32px; line-height: 1; color: var(--lime); }
.result-list { display: grid; gap: 18px; }
.quotes { align-items: stretch; }
.is-offset { margin-top: 36px; }
.quote-short { margin-top: 18px; max-width: 760px; border-left: 3px solid var(--lime); }
.quote p { font-size: 16px; }
.who { color: var(--pink); margin-top: 10px; font-size: 14px; }
.people { display: grid; grid-template-columns: 1.45fr 1fr 0.78fr; gap: var(--gap); }
.scene-main, .scene-sub { display: block; position: relative; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px; min-height: 220px; }
.scene-main { min-height: 300px; margin-bottom: 20px; display: flex; flex-direction: column; justify-content: flex-end; }
.scene-row { display: grid; grid-template-columns: 1.35fr 0.75fr; gap: 20px; }
.scene-main h3, .scene-sub h3 { font-size: 28px; margin: 8px 0; }
.scene-sub h3 { font-size: 22px; }
.news-list { display: grid; gap: 12px; }
.news-item { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 18px; align-items: center; }
.news-date { color: var(--lime); font-weight: 700; }
.list-more { display: flex; justify-content: flex-end; margin-top: 16px; }
.board { display: grid; grid-template-columns: 1.35fr 0.85fr 1fr; grid-template-areas: "a b b" "a c d"; gap: 20px; }
.cell-a { grid-area: a; } .cell-b { grid-area: b; } .cell-c { grid-area: c; } .cell-d { grid-area: d; }
.cell strong { display: block; font-size: 40px; line-height: 1; color: var(--lime); margin-bottom: 8px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); }
.faq-item[open] { border-color: var(--pink); }
.faq-item summary { min-height: 52px; padding: 12px 16px; cursor: pointer; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--lime); font-size: 22px; }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 16px 16px; color: var(--muted); }
.entry { display: block; min-height: 220px; clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.col li { padding: 10px 0 10px 16px; position: relative; border-bottom: 1px solid var(--line); }
.col li::before { content: ""; width: 6px; height: 6px; background: var(--pink); position: absolute; left: 0; top: 20px; }
.col-now { box-shadow: var(--shadow), inset 0 0 0 1px rgba(198,245,74,0.45); }
.col-now li::before { background: var(--lime); }
.cta-band { background: #241C28 !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--pink); }
.cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }
.site-footer { background: #120E14; border-top: 1px solid var(--line); padding: 42px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 24px; }
.foot-brand strong { display: block; font-size: 20px; margin-bottom: 8px; }
.foot-links { display: grid; gap: 8px; }
.foot-links a { min-height: 36px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--lime); }
.copy { color: var(--muted); margin-top: 22px; font-size: 14px; }
@media (max-width: 1024px) {
  .hero-grid, .solution-grid, .quotes, .entries, .versus, .people, .scene-row, .foot-grid { grid-template-columns: 1fr 1fr; }
  .play-grid { grid-template-columns: 1fr; }
  .is-shift, .is-offset { transform: none; margin-top: 0; }
  .people .person:last-child { grid-column: 1 / -1; }
  .board { grid-template-columns: 1fr 1fr; grid-template-areas: "a b" "c d"; }
  .nav-search input { width: 150px; }
  .hero h1 { font-size: 44px; }
}
@media (max-width: 768px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .desk-nav { display: none; }
  .icon-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-search { display: none; width: 100%; margin-left: 0; }
  .nav-search.is-open { display: flex; order: 5; padding-bottom: 10px; }
  .nav-search input { flex: 1; width: auto; }
  .nav-bar { flex-wrap: wrap; padding: 8px 0; }
  .drawer.is-open, .drawer:not([hidden]) { display: block; }
  .hero { padding: 104px 0 40px; }
  .hero-grid, .solution-grid, .quotes, .entries, .versus, .people, .scene-row, .step-row, .board, .foot-grid, .news-item, .cta-inner { grid-template-columns: 1fr; display: grid; }
  .people .person:last-child { grid-column: auto; }
  .step-slot:not(:last-child)::after { display: none; }
  .step-slot { border-bottom: 1px solid var(--line); }
  .block { padding: 40px 0; }
  .hero h1 { font-size: 32px; }
  .block h2 { font-size: 26px; }
  .scene-main h3 { font-size: 24px; }
  .cell strong, .bar-head strong { font-size: 30px; }
  .cta-inner { align-items: stretch; }
}
@media (max-width: 520px) {
  .logo-text b { font-size: 14px; }
  .logo-text small { font-size: 11px; }
  .nav-cta { padding: 0 10px; font-size: 14px; }
  .hero h1 { font-size: 30px; }
  .cover-title { font-size: 22px; }
  .preview-frame { min-height: 0; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}

/* roulang page: category1 */
:root {
  --bg: #120E14;
  --bg-2: #1A1218;
  --card: #241C28;
  --ink: #F6F1F4;
  --muted: #B7A8B2;
  --pink: #E23E8C;
  --lime: #C6F54A;
  --lime-2: #D6FF6A;
  --violet: #7B5CFF;
  --line: rgba(255,255,255,0.14);
  --shadow: 0 16px 40px rgba(0,0,0,0.45);
  --max: 1180px;
  --gap: 24px;
  --pad: 72px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  background: rgba(18,14,20,0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  transition: background 160ms ease, box-shadow 160ms ease;
}
.site-header.is-solid {
  background: #1A1218;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}
.nav-bar { min-height: 74px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; flex: 0 0 auto; }
.logo-mark {
  width: 28px; height: 28px; position: relative; border: 1px solid var(--pink);
  box-shadow: 0 8px 16px rgba(0,0,0,0.35); flex: 0 0 auto;
}
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; background: var(--lime); }
.logo-mark::before { left: 5px; right: 5px; top: 13px; height: 1px; }
.logo-mark::after { top: 5px; bottom: 5px; left: 13px; width: 1px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.logo-text small { font-size: 12px; color: var(--lime); }
.desk-nav { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.desk-nav a {
  min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center;
  color: var(--ink); border-bottom: 2px solid transparent;
}
.desk-nav a:hover { color: var(--pink); }
.desk-nav a:active { color: var(--lime); }
.desk-nav a.is-active { color: var(--lime); border-bottom-color: var(--lime); }
.nav-search { margin-left: auto; display: flex; align-items: center; gap: 8px; position: relative; }
.nav-search input {
  width: 210px; height: 44px; border-radius: 2px; border: 1px solid var(--line);
  background: #120E14; color: var(--ink); padding: 0 12px;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search.is-error input { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime); }
.search-msg { position: absolute; left: 0; top: calc(100% + 6px); font-size: 13px; color: var(--lime); white-space: nowrap; }
.btn {
  min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer; font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--lime); color: #120E14; border-color: var(--lime); }
.btn-primary:hover { background: var(--lime-2); }
.btn-primary:active { background: #b6e043; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--pink); }
.btn-ghost:hover { color: var(--lime); border-color: var(--lime); }
.btn-ghost:active { background: rgba(226,62,140,0.12); }
.nav-cta { flex: 0 0 auto; }
.icon-btn {
  display: none; min-width: 44px; min-height: 44px; padding: 0 10px;
  background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer; border-radius: 2px;
  align-items: center; justify-content: center;
}
.icon-btn:hover { border-color: var(--pink); color: var(--pink); }
.icon-btn:active { background: rgba(226,62,140,0.12); }
.drawer { display: none; background: #1A1218; border-top: 1px solid var(--line); }
.drawer a { display: flex; align-items: center; min-height: 48px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.drawer a:hover, .drawer a[aria-current="page"] { color: var(--lime); }
.page-head {
  padding: 108px 0 32px;
  background:
    radial-gradient(520px 160px at 92% 0%, rgba(226,62,140,0.18), transparent 70%),
    linear-gradient(180deg, #1A1218 0%, #120E14 100%);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: 46px; line-height: 1.2; font-weight: 760; letter-spacing: 0; max-width: 760px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 14px; }
.lead { color: var(--muted); max-width: 640px; }
.meta-line { margin-top: 8px; color: var(--lime); font-weight: 700; font-size: 15px; }
.sorts, .chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 12px; border-radius: 2px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.chip:hover { transform: translateY(-2px); border-color: var(--pink); color: var(--pink); }
.chip:active { transform: translateY(0); }
.chip.is-on { background: var(--lime); color: #120E14; border-color: var(--lime); font-weight: 700; }
.chip.is-on:hover { background: var(--lime-2); color: #120E14; }
.band { padding: var(--pad) 0; border-bottom: 1px solid var(--line); }
.band:nth-child(odd) { background: var(--bg-2); }
.band:nth-child(even) { background: var(--bg); }
.band h2 { font-size: 30px; line-height: 1.3; font-weight: 760; letter-spacing: 0; margin-bottom: 14px; }
.subline { color: var(--muted); margin-bottom: 22px; max-width: 720px; }
.list-layout { display: grid; grid-template-columns: 270px 1fr; gap: 22px; align-items: start; }
.filter-rail {
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 16px; position: relative;
}
.filter-rail::before, .filter-rail::after {
  content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--lime); pointer-events: none;
}
.filter-rail::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.filter-rail::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.filter-group { padding: 12px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; padding-bottom: 0; }
.filter-group h3 { font-size: 16px; margin-bottom: 10px; color: var(--ink); }
.card-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  grid-template-areas: "a b c" "a d e";
  gap: 20px;
}
.card-a { grid-area: a; }
.card-b { grid-area: b; }
.card-c { grid-area: c; }
.card-d { grid-area: d; }
.card-e { grid-area: e; }
.card {
  position: relative; display: flex; flex-direction: column; min-height: 100%;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 0 1px rgba(226,62,140,0.22);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: border-color 160ms ease;
}
.card:hover { border-color: var(--pink); }
.card:active { border-color: var(--lime); }
.corners { position: absolute; inset: 0; pointer-events: none; }
.corners::before, .corners::after { content: ""; position: absolute; width: 12px; height: 12px; }
.corners::before { top: 8px; left: 8px; border-top: 1px solid var(--lime); border-left: 1px solid var(--lime); }
.corners::after { right: 8px; bottom: 8px; border-right: 1px solid var(--pink); border-bottom: 1px solid var(--pink); }
.card-cover { position: relative; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.card-a .card-cover { min-height: 250px; }
.card-b .card-cover { min-height: 110px; }
.card-c .card-cover { min-height: 148px; }
.card-d .card-cover { min-height: 92px; }
.card-e .card-cover { min-height: 132px; }
.cover-a { background: linear-gradient(155deg, #3a1830 0%, #7B5CFF 130%); }
.cover-b { background: linear-gradient(160deg, #241C28 10%, #E23E8C 140%); }
.cover-c { background: linear-gradient(200deg, #1c2414 0%, #6d8a22 120%); }
.cover-d { background: linear-gradient(145deg, #2a1428, #E23E8C 40%, #7B5CFF 140%); }
.cover-e { background: linear-gradient(180deg, #241C28, #3d2a18 80%, #C6F54A 180%); }
.cover-title { font-size: 26px; line-height: 1.3; font-weight: 760; }
.card-b .cover-title, .card-d .cover-title { font-size: 20px; }
.cover-meta { color: #F6F1F4; font-size: 14px; margin-top: 6px; }
.card-body { padding: 14px 16px 16px; display: grid; gap: 8px; }
.card-body p { color: var(--muted); font-size: 15px; }
.badge {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px;
  border: 1px solid var(--pink); color: var(--lime); font-size: 12px; font-weight: 700; width: max-content;
}
.hud-row { display: flex; justify-content: space-between; gap: 12px; min-height: 36px; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.hud-row b { color: var(--lime); font-weight: 700; }
.more-wrap { display: flex; justify-content: flex-end; margin-top: 18px; }
.length-layout { display: grid; grid-template-columns: 1.35fr 0.75fr; gap: 20px; align-items: stretch; }
.meter, .order-item, .time-item, .review, .news-item {
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: border-color 160ms ease;
}
.meter:hover, .order-item:hover, .time-item:hover, .review:hover, .news-item:hover { border-color: var(--pink); }
.meter { padding: 18px; }
.meter-long { display: flex; flex-direction: column; justify-content: center; min-height: 280px; }
.meter-side { display: grid; gap: 20px; }
.meter-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.meter-top b { font-size: 22px; }
.meter-top span { color: var(--lime); font-weight: 700; }
.meter p { color: var(--muted); margin-top: 8px; }
.bar { height: 10px; margin-top: 12px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--lime)); }
.order-list { display: grid; gap: 14px; }
.order-item { padding: 16px 18px; display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.order-item:nth-child(1) { width: 100%; }
.order-item:nth-child(2) { width: 88%; }
.order-item:nth-child(3) { width: 74%; }
.order-no { color: #120E14; background: var(--lime); font-weight: 760; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.order-item h3 { font-size: 20px; line-height: 1.4; margin-bottom: 4px; }
.order-item p { color: var(--muted); }
.time-list { display: grid; gap: 0; position: relative; }
.time-list::before { content: ""; position: absolute; left: 92px; top: 12px; bottom: 12px; width: 1px; background: rgba(198,245,74,0.45); }
.time-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; margin-bottom: 12px; position: relative; }
.time-mark { color: var(--lime); font-weight: 760; }
.time-item strong { display: block; font-size: 18px; }
.time-item span { color: var(--muted); }
.time-go { color: var(--pink); font-weight: 700; }
.review-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: start; }
.review { padding: 20px; }
.review:nth-child(2) { margin-top: 42px; }
.review-short { grid-column: 1 / -1; max-width: 68%; }
.review p { font-size: 18px; }
.who { display: block; margin-top: 12px; color: var(--lime); font-size: 14px; }
.news-list { display: grid; gap: 12px; }
.news-item { display: grid; grid-template-columns: 96px 1fr; gap: 8px 16px; padding: 14px 16px; align-items: center; }
.news-item time { color: var(--lime); font-weight: 700; }
.news-item strong { font-size: 18px; }
.news-item em { grid-column: 2; color: var(--muted); font-style: normal; font-size: 15px; }
.end-cta {
  background:
    linear-gradient(100deg, rgba(226,62,140,0.2), rgba(123,92,255,0.12) 46%, rgba(198,245,74,0.08)),
    #1A1218;
}
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cta-row p { color: var(--muted); margin-top: 8px; max-width: 640px; }
.site-footer { background: #1A1218; border-top: 1px solid var(--line); padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 28px; }
.foot-brand strong { display: block; font-size: 18px; margin-bottom: 8px; }
.foot-brand p, .copy { color: var(--muted); }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { min-height: 36px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--pink); }
.foot-links a:active { color: var(--lime); }
.copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
#pian-dan, #q { scroll-margin-top: 90px; }
@media (max-width: 1024px) {
  .nav-search input { width: 150px; }
  .list-layout, .length-layout, .review-grid, .foot-grid { grid-template-columns: 1fr; }
  .card-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "a b" "a c" "d e";
  }
  .order-item:nth-child(2), .order-item:nth-child(3), .review-short { width: 100%; max-width: none; }
  .review:nth-child(2) { margin-top: 0; }
  .filter-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .filter-group { border-bottom: 0; padding: 0; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  .desk-nav, .search-submit { display: none; }
  .icon-btn { display: inline-flex; }
  .nav-search { margin-left: auto; }
  .nav-search input { display: none; }
  .nav-search.is-open input {
    display: block; position: absolute; right: 0; top: 54px; width: min(280px, calc(100vw - 40px)); z-index: 50;
  }
  .drawer:not([hidden]) { display: block; }
  .page-head { padding: 100px 0 28px; }
  .page-head h1 { font-size: 32px; }
  .band h2 { font-size: 26px; }
  .head-row, .cta-row, .time-item, .order-item, .news-item { grid-template-columns: 1fr; display: grid; }
  .head-row { align-items: start; }
  .card-grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e"; }
  .filter-rail { grid-template-columns: 1fr; }
  .time-list::before { display: none; }
  .time-go { min-height: 44px; display: inline-flex; align-items: center; }
  .card-a .card-cover { min-height: 180px; }
}
@media (max-width: 520px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .logo-text small { display: none; }
  .page-head h1 { font-size: 30px; }
  .nav-cta { padding: 0 10px; font-size: 14px; }
  .end-cta .btn, .more-wrap .btn { width: 100%; }
  .cover-title { font-size: 22px; }
  .meter-long { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn:hover, .chip:hover { transform: none; }
}

/* roulang page: category2 */
:root {
  --bg: #120E14;
  --bg-2: #1A1218;
  --card: #241C28;
  --ink: #F6F1F4;
  --muted: #B7A8B2;
  --pink: #E23E8C;
  --lime: #C6F54A;
  --lime-2: #D6FF6A;
  --violet: #7B5CFF;
  --line: rgba(255,255,255,0.14);
  --shadow: 0 16px 40px rgba(0,0,0,0.45);
  --max: 1180px;
  --gap: 24px;
  --pad: 72px;
}
/* roulang page: category2 */
:root {
  --bg: #120E14;
  --bg-2: #1A1218;
  --card: #241C28;
  --ink: #F6F1F4;
  --muted: #B7A8B2;
  --pink: #E23E8C;
  --lime: #C6F54A;
  --lime-2: #D6FF6A;
  --violet: #7B5CFF;
  --line: rgba(255,255,255,0.14);
  --shadow: 0 16px 40px rgba(0,0,0,0.45);
  --max: 1180px;
  --gap: 24px;
  --pad: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  background: rgba(18,14,20,0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  transition: background 160ms ease, box-shadow 160ms ease;
}
.site-header.is-solid {
  background: #1A1218;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}
.nav-bar { min-height: 74px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; flex: 0 0 auto; }
.logo-mark {
  width: 28px; height: 28px; position: relative; border: 1px solid var(--pink);
  box-shadow: 0 8px 16px rgba(0,0,0,0.35);
  flex: 0 0 auto;
}
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; background: var(--lime); }
.logo-mark::before { left: 5px; right: 5px; top: 13px; height: 1px; }
.logo-mark::after { top: 5px; bottom: 5px; left: 13px; width: 1px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.logo-text small { font-size: 12px; color: var(--lime); }
.desk-nav { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.desk-nav a {
  min-height: 44px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}
.desk-nav a:hover { color: var(--pink); }
.desk-nav a:active { color: var(--lime); }
.desk-nav a.is-active { color: var(--lime); border-bottom-color: var(--lime); }
.nav-search { margin-left: auto; display: flex; align-items: center; gap: 8px; position: relative; }
.nav-search input {
  width: 210px;
  height: 44px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #120E14;
  color: var(--ink);
  padding: 0 12px;
  color-scheme: dark;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search input:focus { border-color: var(--lime); }
.nav-search.is-error input { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime); }
.search-msg { position: absolute; left: 0; top: calc(100% + 6px); font-size: 13px; color: var(--lime); white-space: nowrap; }
.btn {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--lime); color: #120E14; border-color: var(--lime); }
.btn-primary:hover { background: var(--lime-2); }
.btn-primary:active { background: #b6e043; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--pink); }
.btn-ghost:hover { color: var(--lime); border-color: var(--lime); }
.btn-ghost:active { background: rgba(226,62,140,0.12); }
.nav-cta { flex: 0 0 auto; }
.search-go { min-height: 44px; padding: 0 12px; }
.icon-btn {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  border-radius: 2px;
  align-items: center;
  justify-content: center;
}
.icon-btn:hover { border-color: var(--pink); color: var(--pink); }
.icon-btn:active { background: rgba(226,62,140,0.12); }
.burger { width: 18px; height: 12px; display: inline-flex; flex-direction: column; justify-content: space-between; }
.burger i { display: block; height: 1px; background: currentColor; }
.drawer { display: none; background: #1A1218; border-top: 1px solid var(--line); }
.drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}
.drawer a:hover, .drawer a.is-active { color: var(--lime); }
.flat-head {
  padding: 108px 0 28px;
  background:
    radial-gradient(420px 140px at 92% 0%, rgba(226,62,140,0.18), transparent 70%),
    linear-gradient(180deg, #1A1218 0%, #120E14 100%);
  border-bottom: 1px solid var(--line);
}
.time-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-size: 14px;
  min-height: 32px;
}
.pulse {
  width: 8px; height: 8px; background: var(--lime);
  box-shadow: 0 0 0 4px rgba(198,245,74,0.16);
}
.time-bar .sep { width: 4px; height: 4px; background: var(--pink); }
.brand-line { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 8px;
}
.flat-head h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.18;
  font-weight: 760;
  letter-spacing: 0;
}
.head-sub { margin: 10px 0 0; max-width: 640px; color: var(--ink); }
.sort-note {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--lime);
  background: rgba(18,14,20,0.55);
  font-size: 14px;
}
main { background: var(--bg); }
.band { padding: var(--pad) 0; }
.band-a { background: #120E14; }
.band-b { background: #1A1218; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2, .end-cta h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 760;
}
.lead { margin: 0 0 22px; color: var(--muted); max-width: 720px; }
.split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr); gap: 28px; align-items: start; }
.update-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: border-color 160ms ease, background 160ms ease;
}
.update-row:hover { border-color: var(--pink); background: rgba(36,28,40,0.72); }
.update-row time { color: var(--lime); font-size: 14px; font-weight: 700; }
.update-row h3 { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 700; }
.update-row h3 a:hover { color: var(--pink); }
.update-row p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--pink);
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
}
.more-wrap { margin-top: 18px; }
.count-rail {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(226,62,140,0.72);
  box-shadow: var(--shadow);
  padding: 18px 16px 8px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.count-rail::before, .count-rail::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--lime);
  border-style: solid;
  pointer-events: none;
}
.count-rail::before { top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.count-rail::after { right: 8px; bottom: 8px; border-width: 0 1px 1px 0; }
.count-rail h2 { font-size: 22px; }
.meter { padding: 12px 0 14px; border-top: 1px solid var(--line); }
.meter-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.meter-top span { color: var(--muted); }
.meter-top b { color: var(--lime); font-size: 22px; line-height: 1; }
.bar { margin-top: 8px; height: 8px; background: #120E14; border: 1px solid var(--line); }
.bar i { display: block; height: 100%; background: var(--lime); }
.today-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 24px; align-items: start; }
.panel, .slot, .note, .drop, .news-row, .end-cta {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: border-color 160ms ease;
}
.panel:hover, .slot:hover, .note:hover, .drop:hover, .news-row:hover { border-color: var(--pink); }
.panel { padding: 22px; position: relative; }
.panel h3, .slot h3, .note h3, .drop h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.4; }
.kicker { color: var(--pink); font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.mini-list { margin: 16px 0 0; padding: 0; list-style: none; }
.mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.mini-list b { color: var(--ink); font-weight: 650; }
.mini-list a:hover { color: var(--pink); }
.side-stack { display: grid; gap: 16px; }
.stat {
  background: #120E14;
  border: 1px solid var(--line);
  padding: 16px;
  min-height: 120px;
}
.stat:hover { border-color: var(--pink); }
.stat b { display: block; color: var(--lime); font-size: 28px; line-height: 1.2; }
.stat span { color: var(--muted); }
.order-row {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.05fr;
  background: var(--card);
  border: 1px solid rgba(226,62,140,0.72);
  box-shadow: var(--shadow);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.slot { background: transparent; border: 0; box-shadow: none; padding: 22px 20px 26px; border-right: 1px solid var(--line); }
.slot:last-child { border-right: 0; }
.slot:hover { border-color: transparent; }
.slot .idx { color: var(--violet); font-size: 13px; font-weight: 700; }
.note-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
.note { padding: 20px 18px; }
.note p { margin: 0; }
.note-side { display: grid; gap: 16px; margin-top: 34px; }
.note .mark { color: var(--lime); font-size: 14px; font-weight: 700; display: block; margin-bottom: 8px; }
.drop-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 24px; }
.drop { padding: 22px; min-height: 220px; position: relative; }
.drop::before, .drop::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--lime);
  border-style: solid;
}
.drop::before { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.drop::after { right: 10px; bottom: 10px; border-width: 0 1px 1px 0; }
.range { margin-top: 18px; display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.news-list { display: grid; }
.news-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.news-row time { color: var(--lime); font-size: 14px; font-weight: 700; }
.news-row h3 { margin: 0; font-size: 18px; line-height: 1.45; }
.news-row a:hover { color: var(--pink); }
.end-wrap { padding: 0 0 var(--pad); background: #120E14; }
.end-cta {
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-color: rgba(226,62,140,0.8);
  background:
    linear-gradient(90deg, rgba(226,62,140,0.16), transparent 42%),
    #241C28;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.end-cta p { margin: 0; color: var(--muted); max-width: 640px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { background: #1A1218; border-top: 1px solid var(--line); padding-top: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 24px; padding-bottom: 20px; }
.foot-brand strong { display: block; font-size: 18px; margin-bottom: 8px; }
.foot-brand p, .copy { color: var(--muted); margin: 0; }
.foot-links { display: grid; align-content: start; }
.foot-links a { min-height: 40px; display: flex; align-items: center; color: var(--muted); }
.foot-links a:hover { color: var(--lime); }
.foot-links a:active { color: var(--pink); }
.copy { border-top: 1px solid var(--line); padding: 16px 0 28px; font-size: 14px; }
@media (max-width: 1024px) {
  .split, .today-grid, .note-grid, .drop-grid, .foot-grid { grid-template-columns: 1fr; }
  .note-side { margin-top: 0; }
  .order-row { grid-template-columns: 1fr; }
  .slot { border-right: 0; border-bottom: 1px solid var(--line); }
  .head-row { align-items: flex-start; flex-direction: column; }
  .flat-head h1 { font-size: 40px; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  .desk-nav { display: none; }
  .icon-btn, .search-toggle { display: inline-flex; }
  .search-go { display: none; }
  .nav-search input { display: none; }
  .nav-search.is-open input {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(280px, 74vw);
    z-index: 6;
  }
  .nav-search.is-open .search-msg { top: calc(100% + 58px); right: 0; left: auto; }
  .drawer.is-open { display: block; }
  .flat-head { padding: 96px 0 24px; }
  .flat-head h1 { font-size: 32px; }
  .band h2, .end-cta h2 { font-size: 26px; }
  .update-row, .news-row { grid-template-columns: 1fr; gap: 4px; align-items: start; }
  .end-cta { display: block; }
  .cta-actions { margin-top: 16px; }
  .nav-cta { padding: 0 12px; }
}
@media (max-width: 520px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .logo-text b { font-size: 14px; }
  .logo-text small { font-size: 11px; }
  .flat-head h1 { font-size: 30px; }
  .nav-bar { gap: 8px; }
  .time-bar { font-size: 13px; }
  .panel, .note, .drop, .end-cta { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
