:root {
  --bg: #0a0c0f;
  --panel: #111419;
  --line: #222833;
  --text: #e9edf3;
  --muted: #8b95a3;
  --accent: #f7931a;
  --up: #35d07f;
  --down: #ff6b6b;
  --max: 1000px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ticker */
.ticker { background: #06070a; border-bottom: 1px solid var(--line); font-size: 12.5px; overflow: hidden; white-space: nowrap; }
.ticker .wrap { display: flex; gap: 22px; align-items: center; height: 40px; overflow-x: auto; scrollbar-width: none; }
.ticker .wrap::-webkit-scrollbar { display: none; }
.live { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .16em; flex: none; padding: 2px 8px; border: 1px solid rgba(247,147,26,.4); border-radius: 999px; }
.tick { flex: none; color: var(--muted); }
.tick b { color: #cfd7e2; margin-right: 7px; font-weight: 600; letter-spacing: .02em; }
.tick i { font-style: normal; color: var(--text); margin-right: 7px; font-variant-numeric: tabular-nums; }
.tick em { font-style: normal; font-variant-numeric: tabular-nums; }
.tick .up { color: var(--up); }
.tick .down { color: var(--down); }

/* header */
header { border-bottom: 1px solid var(--line); padding: 24px 0 18px; background: radial-gradient(90% 140% at 12% 0%, rgba(247,147,26,.09), transparent 60%); }
header .wrap { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.brand { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.brand span { color: var(--accent); }
.sub { color: var(--muted); font-size: 13px; }

/* stat cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 8px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.card span { color: var(--muted); font-size: 11.5px; letter-spacing: .06em; }
.card b { font-size: 21px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.card i { color: var(--muted); font-size: 11.5px; font-style: normal; }

/* tag chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 6px; }
.chip {
  font-size: 12.5px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel);
  transition: .15s;
}
.chip:hover { color: var(--accent); border-color: rgba(247,147,26,.5); }
.chip.on { color: var(--accent); border-color: rgba(247,147,26,.5); background: rgba(247,147,26,.08); }

/* news list */
.news { margin: 12px 0 40px; border-top: 1px solid var(--line); }
.item { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; position: relative; transition: padding .15s ease; }
.item:hover { padding-left: 10px; }
.item:hover h3 { color: var(--accent); }
.src { display: inline-block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(247,147,26,.28); border-radius: 4px; padding: 1px 6px; margin-bottom: 7px; }
.item h3 { margin: 0; font-size: 17px; line-height: 1.48; font-weight: 600; letter-spacing: -.01em; transition: color .15s; }
.item p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.time { display: inline-block; margin-top: 8px; color: #6b7482; font-size: 11.5px; }
.item.lead { padding: 22px; margin-top: 0; background: linear-gradient(135deg, rgba(247,147,26,.10), rgba(247,147,26,0) 62%); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; }
.item.lead h3 { font-size: 24px; line-height: 1.35; }
.item.lead p { -webkit-line-clamp: 3; font-size: 14.5px; }

/* article */
.post { max-width: 720px; margin: 34px auto 60px; }
.post .meta { display: flex; align-items: center; gap: 12px; }
.post h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.24; letter-spacing: -.025em; margin: 14px 0 12px; }
.tagline { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.tagline .t { font-size: 12.5px; color: var(--accent); border-bottom: 1px solid rgba(247,147,26,.3); }
.lede { font-size: 17.5px; line-height: 1.72; color: #cfd7e2; margin: 0 0 24px; padding-left: 16px; border-left: 3px solid var(--accent); }
.notice { background: rgba(255,255,255,.03); border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.btn { display: inline-block; background: var(--accent); color: #14100a; font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 999px; }
.btn:hover { filter: brightness(1.08); }

/* related */
.related { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 20px; }
.related h2 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 10px; }
.row { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row b { display: block; font-size: 15px; font-weight: 600; line-height: 1.45; }
.row:hover b { color: var(--accent); }
.row span { color: #6b7482; font-size: 11.5px; }

/* tag page */
.taghead { margin: 36px 0 4px; }
.taghead h1 { font-size: 34px; margin: 0 0 4px; letter-spacing: -.02em; }
.taghead p { margin: 0; color: var(--muted); font-size: 13px; }
.empty { color: var(--muted); padding: 40px 0; }

footer { border-top: 1px solid var(--line); padding: 22px 0 40px; color: #6b7482; font-size: 12px; }

@media (max-width: 760px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .item.lead h3 { font-size: 20px; }
  header { padding: 20px 0 16px; }
  .brand { font-size: 22px; }
  .post h1 { font-size: 26px; }
}

/* search */
header .wrap { flex-wrap: wrap; }
.search { margin-left: auto; position: relative; }
.search input {
  width: 210px;
  background: #05070a;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  transition: width .18s ease, border-color .18s;
}
.search input::-webkit-search-cancel-button { filter: invert(.6); }
.search input:focus { outline: none; border-color: rgba(247,147,26,.6); width: 270px; }
.results {
  position: absolute; right: 0; top: 42px;
  width: 380px; max-height: 70vh; overflow: auto;
  background: #0d1014; border: 1px solid var(--line);
  border-radius: 12px; display: none; z-index: 30;
  box-shadow: 0 24px 48px rgba(0,0,0,.55);
}
.results.on { display: block; }
.r-item { display: block; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.r-item:last-child { border-bottom: none; }
.r-item:hover { background: #131922; }
.r-t { font-size: 13.5px; line-height: 1.45; }
.r-m { color: var(--muted); font-size: 11px; margin-top: 3px; }
.r-empty { padding: 16px; color: var(--muted); font-size: 13px; }

/* home layout with hot list */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.col { min-width: 0; }
.side { position: sticky; top: 16px; display: grid; gap: 16px; }
.hot { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 6px; }
.hot h2 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; font-weight: 600; }
.hot ol { list-style: none; margin: 0; padding: 0; }
.hot li { border-top: 1px solid var(--line); }
.hot li:first-child { border-top: none; }
.hot li a { display: flex; gap: 10px; padding: 10px 0; align-items: flex-start; }
.rank { color: var(--accent); font-weight: 800; font-size: 13px; width: 18px; flex: none; font-variant-numeric: tabular-nums; padding-top: 1px; }
.ht { min-width: 0; }
.ht b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.42; }
.hot li a:hover b { color: var(--accent); }
.ht em { color: #6b7482; font-size: 11px; font-style: normal; }
.about { font-size: 12.5px; color: var(--muted); line-height: 1.65; margin: 0 0 12px; }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .search input { width: 150px; }
  .search input:focus { width: 190px; }
  .results { width: calc(100vw - 40px); right: -4px; }
}


/* topic cards */
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 6px; }
.tcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 5px;
  transition: border-color .15s, transform .15s;
}
.tcard:hover { border-color: rgba(247,147,26,.45); transform: translateY(-1px); }
.tcard:hover b { color: var(--accent); }
.tcard .cnt { color: var(--accent); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.tcard b { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; transition: color .15s; }
.tcard p {
  margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .topics { grid-template-columns: 1fr; } }


/* language badge */
.de {
  font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--accent); background: rgba(247,147,26,.14);
  border: 1px solid rgba(247,147,26,.3); border-radius: 3px;
  padding: 0 4px; margin-left: 6px; vertical-align: 1px;
}


/* language switch */
.langs { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.langs a {
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  padding: 4px 8px; border-radius: 6px; color: var(--muted);
  border: 1px solid transparent;
}
.langs a:hover { color: var(--text); }
.langs a.on { color: var(--accent); border-color: rgba(247,147,26,.35); background: rgba(247,147,26,.10); }
.langs + .search { margin-left: 10px; }


/* ═══════════════════════════════════════════════════════════
   Front page, editorial pass (2026-11-14)
   Warm newsprint at night: serif headlines, hairline rules,
   one orange for kickers and ranks. Additive — article and
   tag pages keep their existing rules.
   ═══════════════════════════════════════════════════════════ */
:root{
  --ink:#0c0b0a;
  --line:#221f1b;
  --paper:#f2ede4;
  --muted:#9a9186;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
}
body{background:var(--ink);color:var(--paper)}
.wrap{max-width:1180px}

.kicker{
  display:inline-flex;align-items:center;gap:8px;
  font-family:ui-sans-serif,system-ui,sans-serif;
  font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--accent);
}
.stamp{
  font-family:ui-sans-serif,system-ui,sans-serif;
  font-size:11.5px;font-weight:500;letter-spacing:.04em;color:var(--muted);
}

/* ── top of the page ─────────────────────────────────────── */
.front{
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);
  gap:40px;padding:28px 0 8px;border-bottom:1px solid var(--line);
}
.front-lead a{text-decoration:none;color:inherit;display:block}
.lead-media{margin-bottom:18px}
.lead-media img{
  width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:2px;background:#17140f;
}
.lead h1{
  font-family:var(--serif);
  font-size:clamp(26px,2.5vw,36px);line-height:1.12;letter-spacing:-.01em;font-weight:600;
  margin:12px 0 12px;text-wrap:balance;
}
.lead p{
  color:#cfc7bb;font-size:15.5px;line-height:1.55;margin:0 0 14px;max-width:54ch;
}

.front-side{display:grid;gap:22px;align-content:start;padding-top:4px}
.story a{
  display:grid;grid-template-columns:116px minmax(0,1fr);gap:16px;
  text-decoration:none;color:inherit;padding-bottom:22px;border-bottom:1px solid var(--line);
}
.story:last-child a{border-bottom:0;padding-bottom:0}
.story-media img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:2px;background:#17140f}
.story-text h3{
  font-family:var(--serif);font-size:18.5px;line-height:1.22;letter-spacing:-.008em;
  font-weight:600;margin:8px 0 8px;
}

/* ── topic strip ─────────────────────────────────────────── */
.strip{
  display:flex;flex-wrap:wrap;gap:26px;padding:16px 0;border-bottom:1px solid var(--line);
  font-family:ui-sans-serif,system-ui,sans-serif;font-size:12.5px;
}
.strip a{
  color:#d8d1c6;text-decoration:none;display:inline-flex;align-items:baseline;gap:7px;
  padding-bottom:2px;border-bottom:1px solid transparent;
}
.strip a:hover{color:var(--paper);border-bottom-color:var(--line)}
.strip a i{font-style:normal;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}

/* ── stream + rail ───────────────────────────────────────── */
.stream-grid{
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);
  gap:40px;padding:26px 0 48px;
}
.stream-col h2,.rail h2{
  font-family:ui-sans-serif,system-ui,sans-serif;
  font-size:10.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:var(--muted);margin:0 0 12px;
}
.stream{list-style:none;margin:0;padding:0}
.stream li{border-bottom:1px solid var(--line)}
.stream li:last-child{border-bottom:0}
.stream a{
  display:grid;grid-template-columns:60px minmax(0,1fr);gap:16px;
  padding:14px 0;text-decoration:none;color:inherit;
}
.stream .stamp{padding-top:3px}
.stream-body b{
  display:block;font-family:var(--serif);font-size:17px;line-height:1.3;
  letter-spacing:-.005em;font-weight:600;margin-top:6px;
}
.stream-body em{
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;
  font-style:normal;color:var(--muted);font-size:13px;line-height:1.45;margin-top:5px;
}
.stream a:hover b, .rail-list a:hover b{color:#fff}

.rail-list{list-style:none;margin:0;padding:0}
.rail-list li{border-top:1px solid var(--line);padding:12px 0}
.rail-list li:first-child{border-top:0;padding-top:0}
.rail-list a{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;text-decoration:none;color:inherit}
.rail .rank{
  font-family:ui-sans-serif,system-ui,sans-serif;font-size:12px;font-weight:600;
  color:var(--accent);font-variant-numeric:tabular-nums;padding-top:2px;
}
.rail-body b{font-family:var(--serif);font-size:15.5px;line-height:1.3;font-weight:600;display:block}
.rail-body em{font-style:normal;color:var(--muted);font-size:11.5px;display:block;margin-top:4px}

/* brand in serif, quieter chrome */
.brand{font-family:var(--serif);font-weight:600;letter-spacing:-.01em}
.brand-name{font-size:24px}

@media (max-width:900px){
  .front,.stream-grid{grid-template-columns:1fr;gap:26px}
  .story a{grid-template-columns:92px minmax(0,1fr)}
  .lead h1{font-size:30px}
  .strip{gap:18px}
}


/* edition bar */
.edition{
  display:flex;flex-wrap:wrap;gap:10px;align-items:baseline;
  padding:14px 0 0;border-bottom:0;
  font-family:ui-sans-serif,system-ui,sans-serif;
  font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);
}
.edition em{font-style:normal;color:#4a443c}


/* mobile hardening */
.front-lead,.front-side,.stream-col,.rail{min-width:0}
@media (max-width:900px){
  .front,.stream-grid{grid-template-columns:minmax(0,1fr)}
  .lead-media img{max-width:100%}
  header .wrap{flex-wrap:wrap;row-gap:8px}
  .langs{margin-left:auto}
  .search{margin-left:0;flex:1 1 100%}
  .search input{width:100%}
  .edition{gap:8px;font-size:10.5px}
  .stream a{grid-template-columns:52px minmax(0,1fr);gap:12px}
}


/* ═══════════════════════════════════════════════════════════
   Article + tag pages, same editorial hand (2026-11-14)
   ═══════════════════════════════════════════════════════════ */
.post{max-width:760px;margin:34px auto 64px}
.post .meta{gap:12px;align-items:baseline}
.post h1{
  font-family:var(--serif);font-size:clamp(27px,3vw,40px);line-height:1.14;
  letter-spacing:-.012em;font-weight:600;margin:16px 0 14px;
}
.post .lede{
  font-family:var(--serif);font-size:19px;line-height:1.5;color:#cfc7bb;
  border-left:0;padding-left:0;margin:0 0 22px;
}
.post .notice{
  background:none;border:1px solid var(--line);border-radius:2px;
  color:var(--muted);font-size:12.5px;padding:10px 12px;margin:0 0 18px;
}
.post .btn{border-radius:2px;height:44px;font-size:13.5px}
.post .btn:hover{background:#ff7f3d}
.tagline .t{
  color:var(--accent);border:0;font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;font-weight:600;
}
.related{border-top:1px solid var(--line);margin-top:40px;padding-top:18px}
.related h2{font-size:10.5px;letter-spacing:.16em;color:var(--muted);margin-bottom:10px}
.related .row{border-bottom:1px solid var(--line);padding:12px 0}
.related .row b{font-family:var(--serif);font-size:16.5px;font-weight:600;line-height:1.3}
.related .row:hover b{color:#fff}
.related .row span{color:var(--muted);font-size:11.5px}

/* topic / list pages */
.taghead{margin:34px 0 10px}
.taghead h1{font-family:var(--serif);font-size:clamp(30px,3.2vw,42px);font-weight:600;letter-spacing:-.01em;margin:0 0 6px}
.taghead p{color:var(--muted);font-size:12.5px;letter-spacing:.06em;text-transform:uppercase}
.news{border-top:1px solid var(--line);margin:20px 0 48px}
.news .item{border-bottom:1px solid var(--line);padding:20px 0;transition:none}
.news .item:hover{padding-left:0}
.news .item:hover h3{color:inherit}
.news .item .src{
  background:none;border:0;padding:0;margin-bottom:8px;
  font-size:10.5px;font-weight:600;letter-spacing:.14em;color:var(--accent);
}
.news .item h3{
  font-family:var(--serif);font-size:20px;line-height:1.3;
  font-weight:600;letter-spacing:-.008em;margin:0 0 8px;
}
.news .item p{color:var(--muted);font-size:13.5px;line-height:1.55}
.news .item .time{color:var(--muted-2);margin-top:6px}


.post .meta .src{
  background:none;border:0;padding:0;
  font-size:10.5px;font-weight:600;letter-spacing:.14em;color:var(--accent);
}
.post .meta .time{color:var(--muted);font-size:11.5px}

.news{max-width:840px}

/* people band */
.people{border-bottom:1px solid var(--line);padding:20px 0 24px}
.people h2{
  font-family:ui-sans-serif,system-ui,sans-serif;font-size:10.5px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:0 0 12px;
}
.people-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.people a{
  display:block;text-decoration:none;color:inherit;
  border-top:1px solid var(--line);padding-top:10px;
}
.people b{
  display:block;font-family:var(--serif);font-size:16.5px;line-height:1.3;
  font-weight:600;letter-spacing:-.008em;margin:8px 0 0;
}
.people a:hover b{color:#fff}
.people .stamp{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase}
@media (max-width:900px){ .people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px} }
@media (max-width:520px){ .people-grid{grid-template-columns:1fr} }


/* ---------- Lucky Scratch & Win ---------- */
.scratch-teaser { margin: 26px 0 30px; }
.scratch-card {
  position: relative; display: flex; align-items: center; gap: 20px;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(115deg, #171b21 0%, #1d1a14 55%, #241d12 100%);
  overflow: hidden; transition: border-color .18s, transform .18s;
}
.scratch-card:hover { border-color: rgba(247,147,26,.5); transform: translateY(-1px); }
.scratch-card::after {
  content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(247,147,26,.22), transparent 62%); pointer-events: none;
}
.scratch-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-kicker { display: block; font-size: 10px; letter-spacing: .18em; font-weight: 800; color: var(--accent); }
.sc-title { display: block; font: 700 21px/1.25 ui-serif, Iowan, "Palatino Linotype", Palatino, Georgia, serif; margin: 2px 0; }
.sc-desc { display: block; color: var(--muted); font-size: 13.5px; margin: 0; }
.sc-cta {
  margin-left: auto; flex: none; font-size: 13px; font-weight: 700; color: #1a1205;
  background: linear-gradient(180deg, #ffb44d, var(--accent)); padding: 9px 16px; border-radius: 999px;
}
.sc-swatch {
  flex: none; width: 54px; height: 54px; border-radius: 12px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.16) 0 3px, transparent 3px 7px),
    linear-gradient(135deg, #6b5a3c, #c9a25e 45%, #6b5a3c);
  display: grid; place-items: center; font-size: 22px;
}
@media (max-width: 620px) {
  .scratch-card { flex-wrap: wrap; }
  .sc-cta { margin-left: 0; }
}

.sc-locked { overflow: hidden; }
.sc-modal {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  padding: 20px; background: rgba(4,6,9,.78); backdrop-filter: blur(4px);
}
.sc-modal[hidden] { display: none; }
.sc-sheet {
  position: relative; width: 100%; max-width: 460px; border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 22px 18px; background: var(--panel);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.sc-sheet h2 { font: 700 22px/1.2 ui-serif, Georgia, serif; margin: 0 0 4px; }
.sc-hint { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.sc-close {
  position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--line); background: #0d1015; color: var(--muted);
  font-size: 17px; line-height: 1; cursor: pointer;
}
.sc-close:hover { color: var(--text); border-color: #333b47; }
.sc-stage {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px;
  overflow: hidden; background: #0b0e13; border: 1px solid var(--line);
  touch-action: none; cursor: crosshair;
}
#scCanvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.sc-result {
  margin: 14px 0 0; text-align: center; font-size: 15px; font-weight: 650; color: var(--muted);
  min-height: 22px;
}
.sc-result.is-win { color: var(--accent); font-size: 17px; }
.sc-odds { margin: 12px 0 0; color: #6f7987; font-size: 11.5px; line-height: 1.6; }
.sc-actions { margin-top: 14px; display: flex; gap: 10px; }
.sc-btn {
  flex: 1; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #0d1015; color: var(--text); font-size: 13.5px; font-weight: 650; cursor: pointer;
}
.sc-btn.primary { background: linear-gradient(180deg, #ffb44d, var(--accent)); color: #1a1205; border-color: transparent; }
.sc-btn:hover { border-color: #333b47; }
.sc-btn.primary:hover { filter: brightness(1.04); }

/* ── Chinese edition ─────────────────────────────────────── */
:root{
  --serif:"Iowan Old Style",Palatino,"Palatino Linotype",Georgia,"Songti SC","Noto Serif CJK SC","Source Han Serif SC",serif;
  --cjk:ui-sans-serif,system-ui,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
}
html[lang="zh"] body{font-family:var(--cjk)}
html[lang="zh"] .lead h1,
html[lang="zh"] .story-text h3,
html[lang="zh"] .stream-body b,
html[lang="zh"] .rail-body b,
html[lang="zh"] .people b,
html[lang="zh"] .post h1,
html[lang="zh"] .news .item h3,
html[lang="zh"] .related .row b,
html[lang="zh"] .taghead h1{font-family:var(--serif);letter-spacing:0}
html[lang="zh"] .lead p,
html[lang="zh"] .stream-body em{line-height:1.7}
.langs{gap:12px}
.langs a{font-size:13px}
em.zh{
  font-style:normal;font-size:9.5px;font-weight:700;letter-spacing:.08em;
  color:var(--accent);border:1px solid rgba(243,138,64,.45);border-radius:2px;
  padding:0 4px;margin-left:6px;vertical-align:middle;
}


/* ── Korean edition ──────────────────────────────────────── */
html[lang="ko"] body{
  font-family:"Pretendard","Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",ui-sans-serif,system-ui,sans-serif;
  word-break:keep-all;
}
html[lang="ko"] .lead h1,
html[lang="ko"] .story-text h3,
html[lang="ko"] .stream-body b,
html[lang="ko"] .rail-body b,
html[lang="ko"] .people b,
html[lang="ko"] .post h1,
html[lang="ko"] .news .item h3,
html[lang="ko"] .related .row b,
html[lang="ko"] .taghead h1{
  font-family:inherit;letter-spacing:-.02em;font-weight:700;
}
html[lang="ko"] .lead p,
html[lang="ko"] .stream-body em{line-height:1.65}


/* six-language header */
.langs{gap:10px}
.langs a{font-size:12.5px}
@media (max-width:760px){
  .langs{gap:8px}
  .langs a{font-size:11px}
}


/* seven-language header: wrap instead of overflowing on small screens */
@media (max-width: 820px){
  .langs{flex:1 1 100%;flex-wrap:wrap;justify-content:flex-start;row-gap:4px;margin-left:0;order:3}
  .langs a{padding:2px 6px}
}
@media (max-width: 420px){
  .langs{gap:6px}
  .langs a{font-size:10.5px;padding:2px 4px;letter-spacing:.02em}
}
