:root {
  --ink: #0F2140;
  --ink-2: #16305A;
  --ink-3: #1D3A69;
  --line: #2B4876;
  --paper: #EDF1F7;
  --mute: #93A6C3;
  --signal: #FFCC1A;
  --signal-ink: #1A1400;
  --live: #FF5A4E;

  --num: "Big Shoulders Display", "Pretendard Variable", Pretendard, sans-serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;

  --gutter: 16px;
  --radius-lg: 22px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}

[hidden] { display: none !important; }
a { color: inherit; }
b { font-weight: 700; }
h1, h2, h3, p, ol, ul, dl, dd, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 33, 64, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
}
.mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--num);
  font-weight: 800;
  font-size: 19px;
  line-height: 1;
  text-decoration: none;
}
.live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(255, 90, 78, 0.6);
  animation: beacon 1.8s ease-out infinite;
}
.live.is-over .live-dot { background: var(--mute); animation: none; }
.owner {
  margin-left: auto;
  font-size: 14px;
  color: var(--mute);
  text-decoration: none;
}
.owner:hover { color: var(--paper); }

@keyframes beacon {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 78, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 90, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 78, 0); }
}

/* Hero */
.hero {
  display: grid;
  gap: 36px;
  padding-top: 36px;
  padding-bottom: 32px;
}
.hero h1 {
  font-size: clamp(28px, 8vw, 58px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 17em;
}
.hero .ph { white-space: nowrap; }
.sub {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--mute);
  font-weight: 500;
}
/* 폰에서는 두 줄 자리를 잡아 둔다: 기본 글꼴일 때 두 줄, Pretendard 가 오면 한 줄로 바뀌며 아래가 들리는 것 방지 */
@media (max-width: 719px) { .sub { min-height: 2.9em; } }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.clock { container-type: inline-size; }
.clock-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.clock-label #elapsedLabel { color: var(--paper); }
.clock-num {
  font-family: var(--num);
  font-weight: 800;
  font-size: 27.5cqi;
  line-height: 0.92;
  letter-spacing: 0;
  margin-top: 4px;
  white-space: nowrap;
  color: var(--paper);
}
.clock-num .d { display: inline-block; width: 0.5em; text-align: center; }
.clock-num .c { display: inline-block; width: 0.26em; text-align: center; color: var(--mute); transform: translateY(-0.06em); }
.clock-num.is-over { color: var(--mute); font-family: var(--sans); font-size: 20cqi; letter-spacing: -0.04em; }
.clock-report { display: flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 14px; border-radius: var(--radius-sm); background: var(--signal); color: var(--signal-ink); font-size: 17px; font-weight: 800; text-decoration: none; }
.clock-report::after { content: ""; width: 8px; height: 8px; margin-left: 8px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); }

.ruler {
  position: relative;
  height: 14px;
  margin-top: 16px;
  background: var(--ink-2);
  border-radius: 3px;
  overflow: hidden;
}
.ruler-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--paper);
  transition: width 1s linear;
}
.ruler-ticks {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(100% / 24 - 1px), var(--ink) calc(100% / 24 - 1px), var(--ink) calc(100% / 24));
}
.ruler-ends {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}

/* Revenue board */
.board-sec { padding-bottom: 12px; }
.board {
  background: var(--signal);
  color: var(--signal-ink);
  border-radius: var(--radius-lg);
  padding: 22px 20px 20px;
  display: grid;
  gap: 24px;
}
.board-main { container-type: inline-size; min-width: 0; }
.board-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.total {
  display: flex;
  align-items: flex-start;
  margin-top: 6px;
  font-family: var(--num);
  font-weight: 800;
  line-height: 0.9;
  white-space: nowrap;
}
.won {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 9cqi;
  margin-top: 0.35em;
  margin-right: 0.08em;
}
.total-num { font-size: 26cqi; letter-spacing: -0.005em; }
.total-num .d { display: inline-block; width: 0.5em; text-align: center; }
.total-num .c { display: inline-block; width: 0.2em; text-align: left; }
.total.bump .total-num { animation: bump 0.9s ease-out; }
@keyframes bump {
  0% { color: var(--ink); }
  30% { color: #7A5A00; }
  100% { color: inherit; }
}

.goal { margin-top: 18px; }
.bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
}
.bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  transition: width 1.2s cubic-bezier(.2,.7,.2,1);
}
.bar-goal { background: rgba(15, 33, 64, 0.16); }
.bar-goal > span { background: var(--ink); min-width: 12px; }
.goal-text {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 10px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.pct { font-family: var(--num); font-weight: 800; font-size: 26px; line-height: 1; }

.streams {
  display: grid;
  border-top: 2px solid var(--signal-ink);
}
.streams > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(26, 20, 0, 0.18);
}
.streams dt { font-size: 15px; font-weight: 500; }
.streams dd { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.spend { margin-top: 18px; }
.spend-text {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.spend-text > span:last-child { color: rgba(26, 20, 0, 0.7); }
.spend-text b { color: var(--signal-ink); }
.bar-spend { height: 6px; margin-top: 8px; background: rgba(15, 33, 64, 0.16); }
.bar-spend > span { background: #C2261B; }
.updated {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(26, 20, 0, 0.66);
  font-variant-numeric: tabular-nums;
}

/* Agents and log */
.ops {
  display: grid;
  gap: 44px;
  padding-top: 44px;
  padding-bottom: 12px;
}
.sec-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.sec-sub { margin-top: 4px; font-size: 14px; color: var(--mute); }

.agents {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.agent {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 12px;
  padding: 14px 14px 15px;
  background: var(--ink-2);
}
.agent + .agent { border-top: 1px solid var(--line); }
.agent-id {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  border: 1px solid var(--line);
  font-family: var(--num);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: var(--mute);
}
.agent-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.agent-name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.agent-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mute);
  white-space: nowrap;
}
.agent-role { font-size: 13px; color: var(--mute); line-height: 1.45; }
.agent-task { margin-top: 8px; font-size: 15px; line-height: 1.5; grid-column: 2; }

.dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5E7394;
}
.is-working .dot { background: var(--signal); }
.is-working .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--signal);
  opacity: 0;
  animation: ping 1.6s ease-out infinite;
}
.is-working .agent-state { color: var(--signal); }
.is-working .agent-id { color: var(--signal); border-color: rgba(255, 204, 26, 0.45); }
.is-done .dot { display: none; }
.is-done .agent-state { color: var(--paper); }
.check { display: none; width: 12px; height: 12px; }
.is-done .check { display: block; }

@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}

.log { margin-top: 16px; position: relative; }
.log-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  column-gap: 12px;
  padding: 12px 0 14px;
  border-top: 1px solid var(--line);
}
.log-item:last-child { border-bottom: 1px solid var(--line); }
.log-time {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
  padding-top: 1px;
}
.log-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: 6px;
  background: var(--ink-3);
  color: var(--mute);
  font-size: 12.5px;
  font-weight: 600;
  vertical-align: 1px;
}
.log-text { font-size: 15px; line-height: 1.6; }
.log-item.is-new { animation: arrive 2.4s ease-out; }
@keyframes arrive {
  0% { background: rgba(255, 204, 26, 0.18); }
  100% { background: transparent; }
}
.log-empty { padding: 16px 0; color: var(--mute); font-size: 15px; }
.log-day {
  padding: 18px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mute);
}
.log-day:first-child { padding-top: 0; }

.more {
  margin-top: 12px;
  width: 100%;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font: 600 15px/1 var(--sans);
  cursor: pointer;
}
.more:hover { background: var(--ink-2); }

/* Games */
.games-sec { padding-top: 4px; padding-bottom: 8px; }

/* 오늘의 추천 */
/* status.json 이 오기 전: 추천 카드·분류 칩·목록 자리를 미리 잡아 둔다 (아래 칸이 밀리는 레이아웃 이동 방지) */
.games-sec.is-loading .pick-card, .games-sec.is-loading .pick-again { visibility: hidden; }
.games-sec.is-loading .pick-card { min-height: 177px; }
.games-sec.is-loading .chips { min-height: 84px; }
.games-sec.is-loading .games { min-height: 150vh; }
.pick { margin-bottom: 24px; }
.pick-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pick-label { font-size: 14px; font-weight: 800; color: var(--signal); letter-spacing: -0.01em; }
.pick-label span { margin-left: 6px; font-size: 12.5px; font-weight: 500; color: var(--mute); }
.pick-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "emoji body" "go go";
  gap: 12px 14px;
  align-items: center;
  margin-top: 8px;
  padding: 14px;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 0 0 3px var(--signal);
}
.pick-card:active { transform: scale(0.99); }
.pick-emoji { grid-area: emoji; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; background: #DCE4F0; font-size: 36px; line-height: 1; }
.pick-body { grid-area: body; display: grid; gap: 3px; min-width: 0; }
.pick-no { font-family: var(--num); font-weight: 800; font-size: 14px; letter-spacing: 0.02em; color: #4A5D7C; }
.pick-title { font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -0.035em; }
.pick-desc { font-size: 13.5px; line-height: 1.5; color: #33476A; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick-go { grid-area: go; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; background: var(--signal); color: var(--signal-ink); font-size: 16px; font-weight: 800; }
.pick-again {
  flex: none;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font: 600 13px/1 var(--sans);
  cursor: pointer;
}
.pick-again:hover { background: var(--ink-2); }

.games-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--paper);
}
.games-title { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.games-count {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--num);
  font-weight: 800;
  line-height: 0.85;
}
.games-count b { font-size: 44px; font-weight: 800; }
.games-count span { font-family: var(--sans); font-size: 16px; font-weight: 800; }

/* 최근 한 게임 (이 기기 기록). 기록이 있으면 head 의 작은 스크립트가 html.has-recent 를 붙여 자리를 미리 잡는다 */
.recent { margin-bottom: 22px; min-height: 92px; }
html.has-recent .recent[hidden] { display: block !important; visibility: hidden; }
.recent-label { font-size: 14px; font-weight: 800; color: var(--signal); letter-spacing: -0.01em; }
.recent-list { list-style: none; display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 2px; }
.recent-list::-webkit-scrollbar { display: none; }
.recent-list li { flex: none; }
.recent-item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; width: 176px; min-height: 60px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink-2); color: var(--paper); text-decoration: none; }
.recent-item .r-emoji { grid-row: 1 / span 2; font-size: 26px; line-height: 1; }
.recent-item .r-title { font-size: 14px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.02em; }
.recent-item .r-go { justify-self: start; margin-top: 3px; padding: 1px 7px; border-radius: 999px; background: var(--signal); color: var(--signal-ink); font-size: 11.5px; font-weight: 800; }

/* 검색 · 아무거나 */
.tools { display: flex; gap: 8px; margin-top: 14px; }
.search { position: relative; flex: 1; min-width: 0; }
.search input { width: 100%; height: 46px; padding: 0 14px 0 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); color: var(--paper); font: 500 16px/1 var(--sans); -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--mute); }
.search input:focus { outline: 2px solid var(--signal); outline-offset: 0; border-color: transparent; }
.search::before { content: ""; position: absolute; left: 14px; top: 50%; width: 13px; height: 13px; margin-top: -8px; border: 2.5px solid var(--mute); border-radius: 50%; pointer-events: none; }
.search::after { content: ""; position: absolute; left: 26px; top: 50%; width: 7px; height: 2.5px; margin-top: 4px; background: var(--mute); transform: rotate(45deg); pointer-events: none; }
.dice { flex: none; height: 46px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--signal); color: var(--signal-ink); font: 800 15px/1 var(--sans); letter-spacing: -0.02em; white-space: nowrap; cursor: pointer; touch-action: manipulation; }
.dice:active { transform: translateY(1px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 정렬 */
.sortbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; min-height: 32px; }
.found { font-size: 13.5px; color: var(--mute); }
.found b { color: var(--paper); }
.sort { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.sort button { min-height: 28px; padding: 0 11px; border: 0; border-radius: 999px; background: transparent; color: var(--mute); font: 700 13px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.sort button.is-on { background: var(--paper); color: var(--ink); }
.games-empty button { margin-left: 8px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--paper); font: 700 13px/1.4 var(--sans); cursor: pointer; }

/* 분류 칩 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font: 700 14px/1 var(--sans);
  letter-spacing: -0.02em;
  cursor: pointer;
  touch-action: manipulation;
}
.chip-n { font-family: var(--num); font-weight: 800; font-size: 15px; color: var(--mute); }
.chip.is-on { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.chip.is-on .chip-n { color: #4A5D7C; }
@media (hover: hover) { .chip:not(.is-on):hover { background: var(--ink-2); } }

/* 촘촘한 게임 카드 */
.games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.games-empty { grid-column: 1 / -1; padding: 20px 0; color: var(--mute); }
.game-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 118px;
  padding: 11px 12px 12px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.game-card:active { transform: scale(0.98); }
.game-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.game-emoji { font-size: 30px; line-height: 1; }
.game-tags { display: flex; gap: 4px; align-items: center; }
.game-no {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--signal);
  color: var(--signal-ink);
  font-family: var(--num);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.game-new {
  padding: 0 5px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px var(--live);
  color: #D2382D;
  font-family: var(--num);
  font-weight: 800;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.05em;
}
.game-title { margin-top: 9px; font-size: 15.5px; font-weight: 800; line-height: 1.3; letter-spacing: -0.035em; }
.game-desc {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #3B4F72;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 만드는 중 */
.soon { margin-top: 22px; }
.soon-title { font-size: 15px; font-weight: 800; color: var(--mute); }
.soon-title b { color: var(--paper); }
.soon-list { display: grid; gap: 6px; margin-top: 8px; }
.soon-in {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  color: var(--paper);
  text-decoration: none;
}
.soon-emoji { font-size: 22px; line-height: 1; filter: grayscale(0.5); opacity: 0.8; }
.soon-body { display: grid; min-width: 0; }
.soon-name { font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soon-meta { font-size: 12.5px; color: var(--signal); }
.is-voting .soon-in { border-color: var(--signal); }

/* Lobby ad: 게임 카드와 떨어뜨린다 */
.ad-sec:empty { display: none; }
.ad-sec { padding-top: 48px; }
.ad-sec .f-ad { padding-top: 12px; border-top: 1px solid var(--line); }
.ad-sec .f-ad:has(ins[data-ad-status="unfilled"]) { display: none; }

/* Transparency note and footer */
.note { padding-top: 36px; }
.note ul {
  display: grid;
  gap: 6px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.note li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.55;
}
.note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  background: var(--mute);
  border-radius: 1px;
}

.foot { padding-top: 32px; padding-bottom: 96px; font-size: 14px; color: var(--mute); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--paper); text-underline-offset: 3px; }
.biz {
  display: grid;
  gap: 2px;
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.6;
}
.biz > div { display: flex; gap: 8px; }
.biz dt { flex: none; }
.biz dt::after { content: ":"; }

/* 모바일: 카운트다운은 유지하되 작게 줄여 추천·게임 목록이 첫 화면 가까이 오게 */
@media (max-width: 719px) {
  .hero { gap: 18px; padding-top: 22px; padding-bottom: 22px; }
  .hero h1 { font-size: clamp(26px, 7.4vw, 32px); }
  .sub { margin-top: 10px; font-size: 14.5px; }
  .clock-num { font-size: 46px; line-height: 1; margin-top: 2px; }
  .clock-num.is-over { font-size: 30px; }
  .ruler { height: 8px; margin-top: 10px; }
  .ruler-ends { margin-top: 6px; font-size: 12px; }
}

/* Wider screens */
@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .games-sec.is-loading .pick-card { min-height: 120px; }
  .games-sec.is-loading .chips { min-height: 38px; }
  .hero { padding-top: 56px; }
  .board { padding: 28px; }
  .games { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .pick-card { grid-template-columns: auto 1fr auto; grid-template-areas: "emoji body go"; padding: 18px 20px; }
  .pick-go { padding: 0 22px; }
  .pick-emoji { width: 84px; height: 84px; font-size: 52px; }
  .pick-title { font-size: 24px; }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.25fr 1fr;
    align-items: end;
    gap: 56px;
    padding-top: 72px;
    padding-bottom: 48px;
  }
  .board {
    grid-template-columns: 1.35fr 1fr;
    gap: 48px;
    padding: 36px 40px;
    align-items: start;
  }
  .total-num { font-size: 21cqi; }
  .won { font-size: 7cqi; }
  .games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .games-count b { font-size: 56px; }
  .ops {
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: start;
    padding-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
