/* 로또플레이. 생김새 세 벌(data-look): paper(신문 통계면) · machine(추첨기) · grid(모눈 노트) */
:root {
  --b1: #f2b705; --b2: #4aa8e0; --b3: #ef5b5b; --b4: #9aa0a6; --b5: #7cbf3a;
  --r1: #c4302b; --r2: #e07a2e; --r3: #e8b13a; --r4: #5a9bd5; --r5: #6aa56a; --rest: #d9d4c7;
  --auto: #3d6fb6; --manual: #d9822b; --semi: #8a8f98;
}
html[data-look="paper"] {
  --bg: #f6f3ec; --ink: #1b1a17; --muted: #6d685d; --line: #d9d3c4; --panel: #fffdf8; --accent: #c4302b; --soft: #efe9dc;
  --head: "Nanum Myeongjo", "Pretendard Variable", serif; --body: "Pretendard Variable", Pretendard, system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 2px; --shadow: none;
}
html[data-look="machine"] {
  --bg: #0d1222; --ink: #eef1f8; --muted: #8e97b0; --line: #26304a; --panel: #141b31; --accent: #ffd34d; --soft: #1b2440;
  --head: "Pretendard Variable", Pretendard, system-ui, sans-serif; --body: "Pretendard Variable", Pretendard, system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 16px; --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px rgba(0,0,0,.25);
  --rest: #2c3550;
}
html[data-look="grid"] {
  --bg: #fbfbf7; --ink: #1d2733; --muted: #5f6b78; --line: #c9d6e2; --panel: #ffffff; --accent: #1f5fbf; --soft: #fff3a8;
  --head: "IBM Plex Mono", "Pretendard Variable", monospace; --body: "Pretendard Variable", Pretendard, system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 6px; --shadow: 3px 3px 0 #1d2733;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body);
  font-size: 16px; line-height: 1.7; font-variant-numeric: tabular-nums; word-break: keep-all; overflow-wrap: anywhere;
}
html[data-look="grid"] body {
  background-image: linear-gradient(#e6eef5 1px, transparent 1px), linear-gradient(90deg, #e6eef5 1px, transparent 1px);
  background-size: 24px 24px;
}
a { color: inherit; }
b { font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* 머리 */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; max-width: 1180px; margin: 0 auto; }
html[data-look="paper"] .top { border-bottom: 3px double var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.logo { display: inline-flex; gap: 3px; }
.logo i { width: 12px; height: 12px; border-radius: 50%; background: var(--b1); }
.logo i:nth-child(2) { background: var(--b3); }
.logo i:nth-child(3) { background: var(--b2); }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--muted); padding: 2px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { color: var(--ink); }
.top nav a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }

main { max-width: 1180px; margin: 0 auto; padding: 0 24px 48px; }
.loading { padding: 80px 0; color: var(--muted); }

/* 공 */
.ball {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff;
  font: 600 13px/1 var(--mono); text-shadow: 0 1px 1px rgba(0,0,0,.25); flex: none;
}
.ball.b1 { background: var(--b1); } .ball.b2 { background: var(--b2); } .ball.b3 { background: var(--b3); } .ball.b4 { background: var(--b4); } .ball.b5 { background: var(--b5); }
html[data-look="machine"] .ball { background-image: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), rgba(255,255,255,0) 45%); box-shadow: inset 0 -3px 6px rgba(0,0,0,.25); }
.ball.big { width: 52px; height: 52px; font-size: 20px; }
.balls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.balls.sm { gap: 4px; margin: 6px 0; }
.balls.sm .ball { width: 24px; height: 24px; font-size: 11px; }
.plus { color: var(--muted); font-size: 22px; }

/* 처음 */
.hero { padding: 56px 0 28px; max-width: 760px; }
.kicker { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; color: var(--accent); font-weight: 700; }
h1, h2 { font-family: var(--head); letter-spacing: -.02em; line-height: 1.3; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); margin: 0 0 20px; line-height: 1.18; }
.hero h1 em { font-style: normal; color: var(--accent); }
html[data-look="grid"] .hero h1 em { color: var(--ink); background: linear-gradient(transparent 55%, var(--soft) 55%); }
.lede { font-size: 18px; color: var(--ink); opacity: .86; max-width: 720px; }
.latest { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; margin: 8px 0 32px; }
html[data-look="paper"] .latest { border-width: 1px 0; background: transparent; padding: 18px 0; }
.latest-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.latest-head strong { font: 700 22px var(--head); }
.tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--bg); }
.facts { display: flex; gap: 8px 32px; flex-wrap: wrap; margin: 6px 0 0; }
.facts div { display: flex; gap: 8px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; transition: transform .15s; }
.card:hover { transform: translateY(-2px); }
html[data-look="paper"] .card { border-width: 3px 0 0; border-color: var(--ink); background: transparent; padding: 14px 2px; }
html[data-look="paper"] .card:hover { transform: none; }
html[data-look="paper"] .card:hover h2 { color: var(--accent); }
html[data-look="grid"] .card { border: 1.5px solid var(--ink); }
.card h2 { font-size: 21px; margin: 6px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card-k { font: 600 13px var(--mono); color: var(--accent); }

/* 장면 */
.scene-head { padding: 44px 0 16px; max-width: 780px; }
.scene-head h1 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 14px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin: 18px 0; }
html[data-look="paper"] .panel { background: transparent; border-width: 1px 0 0; border-color: var(--ink); padding: 18px 0 8px; }
html[data-look="grid"] .panel { border: 1.5px solid var(--ink); }
.panel h2 { font-size: 22px; margin: 0 0 10px; }
.panel p { max-width: 760px; }
.panel.caution { background: var(--soft); }
html[data-look="paper"] .panel.caution { background: var(--soft); padding: 18px 20px; border: 0; border-left: 4px solid var(--accent); }
html[data-look="machine"] .panel.caution { border-color: #4a3f1a; background: #1d1c1a; }
.panel-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button { font: inherit; font-size: 14px; border: 0; background: transparent; color: var(--muted); padding: 5px 14px; cursor: pointer; }
.seg button.on { background: var(--ink); color: var(--bg); }
.note { font-size: 14px; color: var(--muted); }
.btn { font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 10px 20px; background: var(--accent); color: var(--bg); cursor: pointer; }
html[data-look="machine"] .btn { color: #1a1400; }
html[data-look="grid"] .btn { border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 6px 14px; font-weight: 600; font-size: 14px; box-shadow: none; }

/* 차트 */
.chart { width: 100%; overflow-x: auto; }
.svg { width: 100%; min-width: 640px; height: auto; display: block; }
.chart.small .svg { min-width: 560px; }
.grid { stroke: var(--line); stroke-width: 1; }
.ax { fill: var(--muted); font: 11px var(--mono); }
.ax.n { font-size: 10px; }
.bar { cursor: pointer; }
.bar.b1 { fill: var(--b1); } .bar.b2 { fill: var(--b2); } .bar.b3 { fill: var(--b3); } .bar.b4 { fill: var(--b4); } .bar.b5 { fill: var(--b5); }
.bar.pos { fill: var(--accent); } .bar.neg { fill: var(--b4); }
.bar:hover { opacity: .75; }
.exp { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 4; }
.exp-l { fill: var(--ink); font: 600 12px var(--body); paint-order: stroke; stroke: var(--panel); stroke-width: 4px; }
.dot { fill: var(--accent); fill-opacity: .45; stroke: var(--accent); stroke-width: .8; cursor: pointer; }
.dot:hover { fill-opacity: 1; }
.none { stroke: var(--ink); stroke-width: 2; cursor: pointer; }
.line { fill: none; stroke: var(--accent); stroke-width: 1.4; }

.stat-row { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 14px 0; }
.stat-row > div { display: flex; flex-direction: column; }
.stat { font: 700 clamp(24px, 4vw, 34px)/1.15 var(--head); letter-spacing: -.02em; }
html[data-look="grid"] .stat { font-family: var(--mono); font-weight: 600; }
.stat-l { font-size: 13px; color: var(--muted); }

/* 1,000원 */
.coins { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; max-width: 640px; margin: 10px 0 12px; }
.coins i { aspect-ratio: 1; border-radius: 50%; }
html[data-look="paper"] .coins i { border-radius: 1px; }
.r1 { background: var(--r1); } .r2 { background: var(--r2); } .r3 { background: var(--r3); } .r4 { background: var(--r4); } .r5 { background: var(--r5); } .rest { background: var(--rest); }
.legend { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.legend i.auto, .hbar i.auto { background: var(--auto); } .legend i.manual, .hbar i.manual { background: var(--manual); } .legend i.semi, .hbar i.semi { background: var(--semi); }

.table-wrap { overflow-x: auto; }
.tbl { border-collapse: collapse; width: 100%; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-size: 13px; color: var(--muted); font-weight: 600; }
.tbl tbody th { font-weight: 700; white-space: nowrap; }
.tbl .r { text-align: right; white-space: nowrap; }
.tbl tr.closed { color: var(--muted); }
.pill { font-size: 11px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; color: var(--muted); }

.form { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; font-size: 17px; }
.form input { font: 600 18px var(--mono); width: 90px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); text-align: right; }
.form .wide input { width: min(280px, 60vw); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chip { font: inherit; font-size: 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); padding: 4px 12px; cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.taxbar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; background: var(--line); margin: 14px 0 4px; }
.taxbar .net { background: var(--b5); } .taxbar .t22 { background: var(--b1); } .taxbar .t33 { background: var(--b3); }

/* 1등 고른 회차 */
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 10px 0; }
.pick { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
html[data-look="paper"] .pick { background: transparent; border-width: 3px 0 0; border-color: var(--ink); padding: 12px 0; }
html[data-look="grid"] .pick { border: 1.5px solid var(--ink); }
.pick strong { font: 700 19px var(--head); }
.pick .small { margin: 6px 0 0; color: var(--muted); }

/* 자동·수동 */
.hbars { display: grid; gap: 6px; margin-top: 12px; }
.hbar-row { display: grid; grid-template-columns: 48px 1fr 92px; gap: 10px; align-items: center; font-size: 13px; }
.hbar-y { font-family: var(--mono); color: var(--muted); }
.hbar { display: flex; height: 16px; border-radius: 3px; overflow: hidden; background: var(--line); }
.hbar-n { font-family: var(--mono); color: var(--muted); }

/* 번호 고르기 */
.picker { display: grid; grid-template-columns: repeat(9, 40px); gap: 8px; margin: 6px 0 14px; }
.pick-b { width: 40px; height: 40px; border: 0; cursor: pointer; opacity: .32; font-size: 14px; transition: opacity .1s, transform .1s; }
.pick-b.on { opacity: 1; transform: scale(1.08); }
.picker.full .pick-b:not(.on) { opacity: .15; cursor: default; }

/* 지도 */
.map { height: 560px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 0; }

.dotk { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 4px 0 8px; vertical-align: 0; }
.dotk.first { background: #c4302b; } .dotk.second { background: #4a8fd0; } .dotk.closed { background: #8a8f98; }
.maplibregl-popup-content { font: 13px/1.5 var(--body); color: #1b1a17; }

/* 말풍선 */
.tip { position: fixed; display: none; z-index: 50; background: var(--ink); color: var(--bg); font-size: 13px; line-height: 1.55; padding: 10px 12px; border-radius: 8px; max-width: 280px; pointer-events: none; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.tip .muted { color: inherit; opacity: .7; }
.tip-h { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }

.foot { max-width: 1180px; margin: 0 auto; padding: 24px 24px 48px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot p { margin: 4px 0; max-width: 820px; }

@media (max-width: 640px) {
  .top { padding: 12px 16px; }
  main { padding: 0 16px 40px; }
  .foot { padding: 20px 16px 40px; }
  .hero { padding-top: 32px; }
  .panel { padding: 16px; }
  .ball.big { width: 40px; height: 40px; font-size: 16px; }
  .picker { grid-template-columns: repeat(7, 36px); gap: 6px; }
  .pick-b { width: 36px; height: 36px; }
  .map { height: 420px; }
  .coins { gap: 2px; }
}

/* ---------- 차트 더하기(2026-11-12) ---------- */
.cap { font-size: 14px; color: var(--muted); margin: 2px 0 10px; max-width: 760px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.grid2 .panel.wide { grid-column: 1 / -1; }
.svg.narrow { min-width: 0; }
.grid2 .svg { min-width: 0; }
.vbar { fill: var(--ink); fill-opacity: .82; cursor: pointer; }
.vbar:hover { fill: var(--accent); fill-opacity: 1; }
.theory { stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; pointer-events: none; }
.chart .vbar, .chart .bar, .hb i { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.chart .bar.neg { transform-origin: 50% 0; }
.chart:not(.in) .vbar, .chart:not(.in) .bar { transform: scaleY(0); }
.hb:not(.in) i { transform: scaleX(0); }
.hb i { transform-origin: 0 50%; }
.draw-in { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s ease-in-out; }
.chart.in .draw-in { stroke-dashoffset: 0; }
.chart.in .cum-a.draw-in { transition-delay: .3s; }
.legend-inline { display: inline-flex; gap: 12px; font-size: 13px; color: var(--muted); }

/* 번호 경주 */
.race-ctl { display: flex; align-items: center; gap: 10px; flex: 1 1 320px; }
.play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--accent); color: var(--bg); font-size: 15px; cursor: pointer; flex: none; }
.race-ctl input[type=range] { flex: 1; accent-color: var(--accent); min-width: 120px; }
.race-n { font: 13px var(--mono); color: var(--muted); white-space: nowrap; min-width: 112px; }
.race-n b { color: var(--ink); font-size: 16px; }
.race-stats { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; margin: 4px 0 6px; align-items: center; }
.race-stats span { display: inline-flex; align-items: center; gap: 4px; }
.race-stats .ball { width: 24px; height: 24px; font-size: 11px; }
.heat-key { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.heat-key i { width: 160px; height: 10px; border-radius: 2px; background: linear-gradient(90deg, rgba(58,111,182,.9), rgba(58,111,182,.05) 48%, rgba(196,48,43,.05) 52%, rgba(196,48,43,.9)); }
.hc { cursor: pointer; }
.hc:hover { stroke: var(--ink); stroke-width: 1.5; }
.curve { fill: var(--line); }
.tail { fill: var(--accent); fill-opacity: .35; }
.crit { stroke: var(--muted); stroke-dasharray: 3 3; }
.obs { stroke: var(--accent); stroke-width: 2.5; }
.obs-l { fill: var(--accent); font: 700 12px var(--body); }
.big-accent { color: var(--accent); }

/* 1등 기대 대 실제 */
.duel { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; margin-bottom: 14px; }
.duel > div:not(.vs) { display: flex; flex-direction: column; }
.duel .stat { font-size: clamp(34px, 6vw, 56px); }
.duel .stat.accent { color: var(--accent); }
.duel .vs { font: 700 18px var(--head); color: var(--muted); }
.cum-e { fill: none; stroke: var(--muted); stroke-width: 2.5; stroke-opacity: .8; }
.cum-a { fill: none; stroke: var(--accent); stroke-width: 3; }
.cum-l { font: 700 12px var(--body); }
.cum-l.e { fill: var(--ink); } .cum-l.a { fill: var(--accent); }
.hit { fill: transparent; }
.cursor { stroke: var(--ink); stroke-width: 1; pointer-events: none; }
.ax.lab { font: 12px var(--body); fill: var(--muted); }
.dot.hot { fill: var(--b1); stroke: #8a6a00; fill-opacity: .9; }

/* 가로 막대 */
.hb { display: grid; gap: 5px; }
.hb-row { display: grid; grid-template-columns: 72px 1fr 150px; gap: 10px; align-items: center; font-size: 14px; }
.hb-l { white-space: nowrap; }
.hb-t { height: 14px; }
.hb-t i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.hb-v { font: 13px var(--mono); }
.hb-v small { color: var(--muted); font-size: 11px; }

/* 첫 화면 */
.home-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center; padding: 36px 0 24px; }
.home-hero h1 { font-size: clamp(32px, 5.2vw, 56px); margin: 0 0 22px; line-height: 1.16; }
.home-hero h1 em { font-style: normal; color: var(--accent); }
.hh-drum canvas { width: 100%; height: 440px; display: block; }
.card-viz { height: 60px; margin: 8px 0 10px; display: flex; align-items: flex-end; }
.spark { width: 100%; height: 56px; overflow: visible; }
.spark rect { fill: var(--ink); fill-opacity: .75; }
.spark.num rect { fill: var(--accent); fill-opacity: .8; }
.spark path { fill: none; stroke: var(--accent); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.spark.auto path { stroke: var(--auto); }
.spark .ref { stroke: var(--ink); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.coinbar, .taxmini { display: flex; width: 100%; height: 22px; gap: 2px; align-self: center; }
.coinbar i, .taxmini i { display: block; height: 100%; border-radius: 1px; }
.taxmini i:nth-child(1) { background: var(--b5); } .taxmini i:nth-child(2) { background: var(--b1); } .taxmini i:nth-child(3) { background: var(--b3); }
.mini-dots { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; align-content: center; height: 100%; }
.mini-dots i { width: calc(4px + var(--s) * 3px); height: calc(4px + var(--s) * 3px); border-radius: 50%; background: var(--r1); opacity: .75; }
.mini-dots i:nth-child(3n) { background: var(--r4); }
.cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

@media (max-width: 760px) {
  .grid2 { grid-template-columns: 1fr; }
  .home-hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hh-drum canvas { height: 340px; }
  .race-n { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .chart .vbar, .chart .bar, .hb i, .draw-in { transition: none !important; transform: none !important; stroke-dashoffset: 0 !important; }
}

/* ---------- 보강(벤치마크 반영) ---------- */
.ci { stroke: var(--ink); stroke-width: 1.2; opacity: .7; pointer-events: none; }
.band { fill: var(--ink); fill-opacity: .05; }
.band-l { fill: var(--muted); font: 12px var(--body); }
.vbar.acc { fill: var(--accent); fill-opacity: .9; }
.sb-t { fill: var(--ink); font: 700 14px var(--body); }
.sb-v { fill: var(--ink); font: 600 12px var(--mono); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.grid2.tight { gap: 0 24px; }
.pairs { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.pairs .cap { flex-basis: 100%; margin: 6px 0 0; }
.pair { display: inline-flex; align-items: center; gap: 2px; }
.pair b { font: 600 13px var(--mono); margin-left: 4px; }
.hb-l .ball { width: 24px; height: 24px; font-size: 11px; }
.kv { display: grid; gap: 8px; margin: 6px 0 10px; }
.kv div { display: grid; grid-template-columns: 120px 1fr; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; font-weight: 600; }
.kv small { color: var(--muted); font-weight: 400; }
.pager { display: flex; justify-content: space-between; max-width: 520px; font-size: 14px; }
.pager a, .kicker a, .cta a, .cap a { color: var(--accent); }
.latest-head a.strong { font: 700 20px var(--head); color: var(--ink); }
.tbl.draws .balls.sm { margin: 0; flex-wrap: nowrap; }
.tbl .nw { white-space: nowrap; }
.cta p { margin: 0; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .kv div { grid-template-columns: 100px 1fr; } }
