/* roulang page: index */
:root {
  --primary: #3E6B86;
  --primary-deep: #2f556b;
  --accent: #6E5A93;
  --bg: #F5F8FB;
  --alt: #E8EEF4;
  --alt-deep: #D9E3EC;
  --card: #FFFFFF;
  --text: #1B2833;
  --muted: #5C6B78;
  --line: #D5E0E8;
  --status: #C47A4A;
  --shadow: 0 12px 32px rgba(27, 40, 51, .08);
  --shadow-hover: 0 16px 36px rgba(27, 40, 51, .14);
  --radius: 16px;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --space: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); }
p { margin: 0 0 14px; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--text);
  line-height: 1.35;
  margin: 0 0 12px;
  font-weight: 700;
}
h1 { font-size: 40px; letter-spacing: .01em; }
h2 { font-size: 28px; }
h3 { font-size: 18px; margin-bottom: 8px; }
ul, ol { margin: 0; padding: 0; }
::selection { background: rgba(62, 107, 134, .18); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  background: rgba(245, 248, 251, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-bar {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  min-width: 0;
  flex: 0 0 auto;
}
.logo:hover { color: var(--text); }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--accent), var(--accent)) 7px 7px / 14px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 7px 7px / 1px 14px no-repeat,
    linear-gradient(var(--primary), var(--primary)) 16px 16px / 12px 1px no-repeat,
    linear-gradient(var(--primary), var(--primary)) 16px 16px / 1px 12px no-repeat,
    var(--card);
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--serif); font-size: 15px; font-weight: 700; }
.logo-text small { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.desk-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}
.desk-nav a {
  color: var(--text);
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.desk-nav a:hover { background: var(--alt); color: var(--primary-deep); }
.desk-nav a.active {
  color: var(--primary);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.nav-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status);
  display: block;
  box-shadow: 0 0 0 4px rgba(196, 122, 74, .15);
}
.menu-toggle, .bell {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  position: relative;
  box-shadow: var(--shadow);
}
.menu-toggle:hover, .bell:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.menu-toggle:active, .bell:active { transform: translateY(1px); }
.bell-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status);
}
.notice { position: relative; }
.notice summary { list-style: none; }
.notice summary::-webkit-details-marker { display: none; }
.notice-panel {
  position: absolute;
  right: 0;
  top: 50px;
  width: min(280px, 74vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 12px;
  z-index: 50;
}
.notice-panel strong { display: block; font-size: 14px; margin-bottom: 6px; }
.notice-panel li {
  list-style: none;
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: #fff; color: var(--primary-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost:active { transform: translateY(1px); }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.section { padding: var(--space) 0; }
.section.plain { background: var(--bg); }
.section.alt { background: var(--alt); }
.section.deep { background: var(--alt-deep); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.sub { color: var(--text); font-size: 18px; margin-bottom: 12px; }
.muted { color: var(--muted); }
.narrow { max-width: 760px; }
.card, .metric, .entry, .pair, .news-item, .scene, .prog, .qa, .badge-link, .form-card, .milestone li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.rune::after {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  opacity: .1;
  background:
    linear-gradient(#6E5A93, #6E5A93) left top / 12px 1px no-repeat,
    linear-gradient(#6E5A93, #6E5A93) left top / 1px 12px no-repeat,
    linear-gradient(#6E5A93, #6E5A93) right top / 12px 1px no-repeat,
    linear-gradient(#6E5A93, #6E5A93) right top / 1px 12px no-repeat,
    linear-gradient(#6E5A93, #6E5A93) left bottom / 12px 1px no-repeat,
    linear-gradient(#6E5A93, #6E5A93) left bottom / 1px 12px no-repeat,
    linear-gradient(#6E5A93, #6E5A93) right bottom / 12px 1px no-repeat,
    linear-gradient(#6E5A93, #6E5A93) right bottom / 1px 12px no-repeat;
}
.metric, .entry, .pair, .scene, .news-item, .prog, .badge-link, .form-card {
  transition: transform .18s ease, box-shadow .18s ease;
}
.entry:hover, .news-item:hover, .badge-link:hover, .scene:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.metric { padding: 16px 16px 14px; min-height: 124px; }
.metric b {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
  margin: 8px 0 4px;
}
.metric span, .eyebrow {
  color: var(--muted);
  font-size: 13px;
}
.metric-grid { margin-top: 8px; }
.meter {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.meter em { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; }
.track { flex: 1; height: 6px; background: var(--alt); border-radius: 999px; overflow: hidden; }
.track i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: inherit; }
.p76 { width: 76%; } .p42 { width: 42%; } .p88 { width: 88%; } .p35 { width: 35%; } .p60 { width: 60%; } .p54 { width: 54%; } .p82 { width: 82%; } .p64 { width: 64%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chip, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-deep);
  font-size: 12px;
  letter-spacing: .02em;
}
.chip.on { background: rgba(110, 90, 147, .1); border-color: rgba(110, 90, 147, .35); color: var(--accent); }
.badge.warm { color: var(--status); border-color: rgba(196, 122, 74, .35); background: rgba(196, 122, 74, .08); }
.entry { display: flex; flex-direction: column; gap: 8px; padding: 22px; height: 100%; color: var(--text); }
.entry:hover { color: var(--text); }
.entry p { color: var(--muted); margin: 0; font-size: 15px; }
.entry.tall { min-height: 220px; justify-content: space-between; }
.entry.mid { min-height: 180px; }
.section-head { margin-bottom: 28px; }
.pair { padding: 22px; height: 100%; }
.pair header { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.cmp { display: grid; gap: 10px; }
.cmp div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.cmp dt { color: var(--muted); font-size: 14px; }
.cmp dd { margin: 0; }
.timeline {
  list-style: none;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.milestone { min-width: 230px; flex: 1; padding: 18px; scroll-snap-align: start; }
.milestone time { color: var(--status); font-size: 13px; }
.split { align-items: center; }
.cover {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d7e4ee;
}
.cover.b { background: #e5dced; }
.cover.c { background: #dce8e3; }
.cover.d { background: #efe2d6; }
.cover.e { background: #d5e0ea; }
.cover.f { background: #e6e3f1; }
.cover svg { width: 100%; height: 100%; opacity: .55; }
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  border: 1px solid rgba(27, 40, 51, .18);
  background: rgba(255, 255, 255, .86);
}
.play::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 17px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--primary);
}
.schedule { display: grid; gap: 12px; }
.slot {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.slot b { font-family: var(--serif); }
.slot span { color: var(--muted); font-size: 14px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.static-note { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.news-list { display: grid; gap: 12px; }
.news-item {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 16px;
  padding: 10px;
  color: var(--text);
  align-items: center;
}
.news-item:hover { color: var(--text); }
.news-item h3 { font-size: 18px; }
.news-item p { margin: 0; color: var(--muted); font-size: 15px; }
.news-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.more-row { display: flex; justify-content: flex-end; margin-top: 16px; }
.scene { padding: 18px; height: 100%; }
.scene.low { min-height: 230px; }
.scene.midh { min-height: 300px; margin-top: 28px; }
.scene.high { min-height: 360px; }
.scene p { color: var(--muted); }
.prog { padding: 14px 16px; margin-bottom: 12px; }
.prog header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.prog header span { color: var(--primary); font-variant-numeric: tabular-nums; }
.badge-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.badge-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  min-height: 150px;
  color: var(--text);
}
.badge-link:hover { color: var(--text); }
.badge-link strong { font-family: var(--serif); font-size: 18px; }
.badge-link span { color: var(--muted); font-size: 14px; }
.mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--bg);
}
.qa { padding: 16px 18px; margin-bottom: 12px; }
.qa b { display: block; margin-bottom: 4px; }
.qa p { margin: 0; color: var(--muted); }
.accordion { background: transparent; border: 0; }
.accordion-item { margin-bottom: 10px; border: 0; background: transparent; }
.accordion-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 48px 16px 18px;
  box-shadow: var(--shadow);
  line-height: 1.5;
}
.accordion-title:hover, .accordion-title:focus { background: #fff; color: var(--primary-deep); }
.accordion-item.is-active .accordion-title { border-bottom-left-radius: 0; border-bottom-right-radius: 0; color: var(--primary); }
.accordion-content {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #fff;
  color: var(--muted);
  padding: 4px 18px 16px;
}
.form-card { padding: 22px; }
label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--text); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  margin: 0 0 14px;
  padding: 12px 14px;
  height: auto;
  color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110, 90, 147, .15);
  outline: none;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 15px;
}
.check input { margin-top: 6px; accent-color: var(--primary); }
.field-gap { margin-bottom: 0; }
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr; gap: 28px; }
.foot-brand { font-family: var(--serif); font-size: 22px; margin-bottom: 8px; }
.foot-links { list-style: none; }
.foot-links a { display: inline-block; padding: 4px 0; color: var(--text); }
.foot-links a:hover { color: var(--primary); }
.legal { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.drawer {
  background: var(--bg);
  padding: 18px;
  border-right: 1px solid var(--line);
}
.drawer-nav { list-style: none; margin-top: 18px; }
.drawer-nav a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
}
.drawer-nav a.active { color: var(--primary); }
.close-drawer {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
}
.off-canvas { box-shadow: var(--shadow-hover); }
.mb-0 { margin-bottom: 0; }
.stack-gap > .cell { margin-bottom: 16px; }
@media (min-width: 1024px) {
  .desk-nav { display: flex; }
  .menu-toggle { display: none; }
}
@media (max-width: 1023px) {
  .section { padding: 56px 0; }
  h1 { font-size: 34px; }
  h2 { font-size: 24px; }
  .badge-row { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .scene.midh { margin-top: 0; }
}
@media (max-width: 768px) {
  .news-item { grid-template-columns: 120px 1fr; }
  .slot { grid-template-columns: 1fr; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  :root { --space: 44px; }
  body { font-size: 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .wrap { width: min(1160px, calc(100% - 28px)); }
  .status { display: none; }
  .nav-tools .btn { padding: 0 12px; min-height: 38px; }
  .metric b { font-size: 26px; }
  .news-item { grid-template-columns: 1fr; }
  .badge-row { grid-template-columns: 1fr; }
  .cmp div { grid-template-columns: 1fr; gap: 2px; }
  .meter { flex-direction: column; align-items: stretch; border-radius: 16px; }
}
@media (max-width: 520px) {
  .logo-text strong { font-size: 14px; }
  .hero-actions .btn, .inline-actions .btn { width: 100%; }
  .legal { flex-direction: column; }
}

/* roulang page: category1 */
:root {
 --primary: #3E6B86;
 --primary-deep: #2f556b;
 --accent: #6E5A93;
 --bg: #F5F8FB;
 --alt: #E8EEF4;
 --alt-deep: #D9E3EC;
 --card: #FFFFFF;
 --text: #1B2833;
 --muted: #5C6B78;
 --line: #D5E0E8;
 --status: #C47A4A;
 --shadow: 0 12px 32px rgba(27, 40, 51, .08);
 --shadow-hover: 0 16px 36px rgba(27, 40, 51, .14);
 --radius: 16px;
 --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
 --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
 --space: 88px;
}
:root { --space: 44px; }
/* roulang page: category */
:root {
 --primary: #3E6B86;
 --primary-deep: #2f556b;
 --accent: #6E5A93;
 --bg: #F5F8FB;
 --alt: #E8EEF4;
 --alt-deep: #D9E3EC;
 --card: #FFFFFF;
 --text: #1B2833;
 --muted: #5C6B78;
 --line: #D5E0E8;
 --status: #C47A4A;
 --shadow: 0 12px 32px rgba(27, 40, 51, .08);
 --shadow-hover: 0 16px 36px rgba(27, 40, 51, .14);
 --radius: 16px;
 --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
 --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
 --space: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--text);
 font-family: var(--sans);
 font-size: 17px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); }
p { margin: 0 0 12px; }
h1, h2, h3, .logo-text strong, .foot-brand {
 font-family: var(--serif);
 font-weight: 700;
 line-height: 1.35;
 color: var(--text);
}
h1 { font-size: 40px; margin: 10px 0 12px; }
h2 { font-size: 28px; margin: 0 0 8px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 height: 72px;
 background: rgba(245, 248, 251, .94);
 border-bottom: 1px solid var(--line);
 backdrop-filter: blur(10px);
}
.nav-bar {
 height: 72px;
 display: flex;
 align-items: center;
 gap: 16px;
}
.logo {
 display: flex;
 align-items: center;
 gap: 10px;
 color: var(--text);
 min-width: 0;
 flex: 0 1 auto;
}
.logo:hover { color: var(--text); }
.logo-mark {
 width: 36px;
 height: 36px;
 border-radius: 10px;
 border: 1px solid var(--line);
 background:
 linear-gradient(var(--accent), var(--accent)) 7px 7px / 14px 1px no-repeat,
 linear-gradient(var(--accent), var(--accent)) 7px 7px / 1px 14px no-repeat,
 linear-gradient(var(--primary), var(--primary)) 16px 16px / 12px 1px no-repeat,
 linear-gradient(var(--primary), var(--primary)) 16px 16px / 1px 12px no-repeat,
 var(--card);
 box-shadow: var(--shadow);
 flex: 0 0 auto;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-text strong { font-size: 15px; font-weight: 700; }
.logo-text small { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.desk-nav {
 display: none;
 align-items: center;
 justify-content: center;
 gap: 6px;
 flex: 1;
}
.desk-nav a {
 color: var(--text);
 font-size: 15px;
 padding: 8px 12px;
 border-radius: 999px;
 border: 1px solid transparent;
}
.desk-nav a:hover { background: var(--alt); color: var(--primary-deep); }
.desk-nav a.active {
 color: var(--primary);
 background: #fff;
 border-color: var(--line);
 box-shadow: var(--shadow);
}
.nav-tools {
 margin-left: auto;
 display: flex;
 align-items: center;
 gap: 10px;
 flex: 0 0 auto;
}
.live {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 color: var(--muted);
 font-size: 13px;
 white-space: nowrap;
}
.live i {
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: var(--status);
 box-shadow: 0 0 0 4px rgba(196, 122, 74, .15);
 display: block;
}
.menu-toggle, .bell {
 width: 42px;
 height: 42px;
 border-radius: 50%;
 border: 1px solid var(--line);
 background: #fff;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 color: var(--text);
 position: relative;
 box-shadow: var(--shadow);
 flex: 0 0 auto;
}
.menu-toggle { display: inline-flex; }
.bell-count {
 position: absolute;
 top: -2px;
 right: -2px;
 min-width: 16px;
 height: 16px;
 padding: 0 4px;
 border-radius: 999px;
 background: var(--status);
 color: #fff;
 font-size: 10px;
 line-height: 16px;
 text-align: center;
}
.menu-toggle:hover, .bell:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.menu-toggle:active { transform: translateY(1px); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 42px;
 padding: 0 18px;
 border-radius: 999px;
 border: 1px solid transparent;
 font-size: 15px;
 font-weight: 500;
 line-height: 1;
 transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
 white-space: nowrap;
 text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: #fff; color: var(--primary-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost:active { transform: translateY(1px); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
 outline: 2px solid var(--accent);
 outline-offset: 2px;
}
.section { padding: var(--space) 0; }
.section.plain { background: var(--bg); }
.section.alt { background: var(--alt); }
.section.deep { background: var(--alt-deep); }
.muted { color: var(--muted); }
.narrow { max-width: 640px; }
.section-head { margin-bottom: 28px; text-align: left; }
.eyebrow, .metric span {
 color: var(--muted);
 font-size: 13px;
 letter-spacing: .04em;
}
.card, .metric, .entry, .pair, .news-item, .scene, .prog, .qa, .badge-link, .form-card, .milestone li, .close-band {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 position: relative;
}
.rune {
 background-image:
 linear-gradient(rgba(110, 90, 147, .10), rgba(110, 90, 147, .10)) left 10px top 10px / 14px 1px no-repeat,
 linear-gradient(rgba(110, 90, 147, .10), rgba(110, 90, 147, .10)) left 10px top 10px / 1px 14px no-repeat,
 linear-gradient(rgba(110, 90, 147, .10), rgba(110, 90, 147, .10)) right 10px top 10px / 14px 1px no-repeat,
 linear-gradient(rgba(110, 90, 147, .10), rgba(110, 90, 147, .10)) right 10px top 10px / 1px 14px no-repeat,
 linear-gradient(rgba(110, 90, 147, .10), rgba(110, 90, 147, .10)) left 10px bottom 10px / 14px 1px no-repeat,
 linear-gradient(rgba(110, 90, 147, .10), rgba(110, 90, 147, .10)) left 10px bottom 10px / 1px 14px no-repeat,
 linear-gradient(rgba(110, 90, 147, .10), rgba(110, 90, 147, .10)) right 10px bottom 10px / 14px 1px no-repeat,
 linear-gradient(rgba(110, 90, 147, .10), rgba(110, 90, 147, .10)) right 10px bottom 10px / 1px 14px no-repeat;
}
.metric, .entry, .pair, .scene, .news-item, .prog, .badge-link, .form-card, .link-row a {
 transition: transform .18s ease, box-shadow .18s ease;
}
.entry:hover, .news-item:hover, .badge-link:hover, .scene:hover, .link-row a:hover {
 transform: translateY(-2px);
 box-shadow: var(--shadow-hover);
}
.chips, .filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.chip, .badge {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 padding: 2px 10px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: #fff;
 color: var(--primary-deep);
 font-size: 12px;
 letter-spacing: .02em;
}
.chip.on { background: rgba(110, 90, 147, .1); border-color: rgba(110, 90, 147, .35); color: var(--accent); }
.badge.warm { color: var(--status); border-color: rgba(196, 122, 74, .35); background: rgba(196, 122, 74, .08); }
.narrow-hero { position: relative; overflow: hidden; }
.slant {
 position: absolute;
 right: -6%;
 top: -30%;
 width: 42%;
 height: 170%;
 background: var(--alt);
 transform: skewX(-14deg);
 border-left: 1px solid var(--line);
 z-index: 0;
}
.narrow-hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 640px; padding: 12px 0; }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.poster {
 position: relative;
 width: 100%;
 aspect-ratio: 16 / 9;
 border-radius: 12px;
 border: 1px solid var(--line);
 overflow: hidden;
 background-color: #d5e0e8;
}
.poster.a { background-color: #d7e3ec; }
.poster.b { background-color: #e4e0ee; }
.poster.c { background-color: #e8ddd4; }
.poster.d { background-color: #d5e4e2; }
.poster.e { background-color: #d9e2ea; }
.poster::before {
 content: "";
 position: absolute;
 inset: 12px;
 background:
 linear-gradient(rgba(62, 107, 134, .10), rgba(62, 107, 134, .10)) left top / 18px 1px no-repeat,
 linear-gradient(rgba(62, 107, 134, .10), rgba(62, 107, 134, .10)) left top / 1px 18px no-repeat,
 linear-gradient(rgba(110, 90, 147, .10), rgba(110, 90, 147, .10)) right bottom / 18px 1px no-repeat,
 linear-gradient(rgba(110, 90, 147, .10), rgba(110, 90, 147, .10)) right bottom / 1px 18px no-repeat;
}
.play {
 position: absolute;
 left: 50%;
 top: 50%;
 width: 52px;
 height: 52px;
 margin: -26px 0 0 -26px;
 border-radius: 50%;
 background: rgba(255, 255, 255, .92);
 border: 1px solid var(--line);
 box-shadow: var(--shadow);
}
.play::after {
 content: "";
 position: absolute;
 left: 21px;
 top: 17px;
 border-style: solid;
 border-width: 8px 0 8px 13px;
 border-color: transparent transparent transparent var(--primary);
}
.feature { padding: 16px; margin-bottom: 14px; }
.feature-copy { padding: 8px 8px 4px; }
.news-list, .link-list { display: grid; gap: 12px; }
.news-item {
 display: grid;
 grid-template-columns: 168px 1fr;
 gap: 16px;
 padding: 10px;
 color: var(--text);
 align-items: center;
}
.news-item h3 { font-size: 18px; }
.news-item p { margin: 0; color: var(--muted); font-size: 15px; }
.news-meta, .meta-line { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.track {
 height: 6px;
 border-radius: 999px;
 background: var(--alt);
 overflow: hidden;
 margin-top: 10px;
}
.track i {
 display: block;
 height: 100%;
 background: var(--primary);
 border-radius: inherit;
}
.prog header, .pair header { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.prog header span, .percent { color: var(--primary); font-variant-numeric: tabular-nums; }
.milestone {
 list-style: none;
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 12px;
 margin: 0;
 padding: 0;
}
.milestone li { padding: 16px 16px 14px; }
.milestone strong { display: block; font-size: 16px; margin: 6px 0; }
.milestone p { margin: 0; color: var(--muted); font-size: 14px; }
.pair { padding: 18px; height: 100%; }
.pair ul, .device-list, .foot-links { list-style: none; margin: 0; padding: 0; }
.pair li, .device-list li {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 padding: 8px 0;
 border-bottom: 1px solid var(--line);
 color: var(--muted);
 font-size: 15px;
}
.pair li strong, .device-list strong { color: var(--text); font-weight: 500; }
.device-list { margin-top: 14px; }
.device-list li {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: 12px;
 padding: 12px 14px;
 margin-bottom: 8px;
 box-shadow: var(--shadow);
}
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.badge-link {
 display: inline-flex;
 align-items: center;
 min-height: 40px;
 padding: 8px 14px;
 color: var(--text);
 font-size: 14px;
}
.badge-link:hover { color: var(--primary-deep); }
.link-row a {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 align-items: center;
 padding: 14px 16px;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 color: var(--text);
}
.link-row a small { color: var(--muted); }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 margin-bottom: 12px;
 overflow: hidden;
}
.accordion .accordion-title {
 color: var(--text);
 font-size: 16px;
 font-weight: 500;
 border: 0;
 padding: 16px 44px 16px 18px;
 line-height: 1.6;
 background: #fff;
}
.accordion .accordion-title:hover,
.accordion .accordion-title:focus {
 color: var(--primary-deep);
 background: #f8fbfc;
}
.accordion .accordion-content {
 border: 0;
 color: var(--muted);
 padding: 0 18px 16px;
}
.accordion .accordion-content p:last-child { margin: 0; }
.close-band { padding: 22px; }
.close-band .btn { margin-top: 8px; }
.off-canvas { background: var(--bg); color: var(--text); }
.off-canvas .close-button { color: var(--text); }
.mobile-nav { margin-top: 36px; }
.mobile-nav a {
 display: block;
 padding: 14px 18px;
 color: var(--text);
 border-bottom: 1px solid var(--line);
 font-size: 16px;
}
.mobile-nav a.active { color: var(--primary); background: #fff; }
.site-footer {
 background: var(--alt);
 border-top: 1px solid var(--line);
 padding: 48px 0 28px;
}
.foot-grid {
 display: grid;
 grid-template-columns: 1.4fr .8fr 1fr;
 gap: 28px;
}
.foot-brand { font-size: 20px; margin-bottom: 8px; }
.site-footer h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.foot-links li { margin: 6px 0; color: var(--muted); font-size: 14px; }
.foot-links a { color: var(--text); }
.foot-links a:hover { color: var(--primary-deep); }
.legal {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 margin-top: 28px;
 padding-top: 16px;
 border-top: 1px solid var(--line);
 color: var(--muted);
 font-size: 13px;
}
.summary-line {
 margin-top: 16px;
 color: var(--muted);
 font-size: 15px;
}
@media (min-width: 1024px) {
 .desk-nav { display: flex; }
 .menu-toggle { display: none; }
}
@media (max-width: 1023px) {
 .desk-nav { display: none; }
 .menu-toggle { display: inline-flex; }
 .slant { width: 30%; }
 .milestone { grid-template-columns: 1fr 1fr; }
 .foot-grid { grid-template-columns: 1fr 1fr; }
 .news-item { grid-template-columns: 140px 1fr; }
}
@media (max-width: 639px) {
 :root { --space: 44px; }
 h1 { font-size: 30px; }
 h2 { font-size: 22px; }
 body { font-size: 16px; }
 .wrap { width: min(1120px, calc(100% - 24px)); }
 .logo-text small { display: none; }
 .logo-text strong { font-size: 12px; max-width: 7.6em; white-space: normal; }
 .live span { display: none; }
 .nav-tools { gap: 6px; }
 .menu-toggle, .bell { width: 36px; height: 36px; }
 .nav-tools .btn { min-height: 36px; padding: 0 10px; font-size: 13px; }
 .slant { display: none; }
 .narrow-hero { background: linear-gradient(180deg, var(--alt) 0%, var(--bg) 70%); }
 .news-item, .milestone, .foot-grid { grid-template-columns: 1fr; }
 .pair li, .device-list li, .link-row a, .legal { display: block; }
 .legal span { display: block; margin-top: 4px; }
 .feature { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after {
 animation: none !important;
 transition: none !important;
 }
}
