:root {
  --bg: #0e1217;
  --surface: #161c24;
  --surface-2: #1d2530;
  --line: #2a3441;
  --text: #e8ecf1;
  --muted: #8d99a8;
  --accent: #ffb84d;
  --accent-ink: #1b1405;
  --good: #5ee39a;
  --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

button {
  font: inherit;
  color: inherit;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
}
button:hover:not(:disabled) { border-color: #3d4a5c; background: #232d3a; }
button:disabled { opacity: 0.45; cursor: default; }
button.ghost { background: transparent; }
button.danger { color: #ff8b8b; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.wordmark { display: block; height: 26px; width: auto; }
.tag { color: var(--muted); font-size: 13px; }
/* The owner's tools (votes, physics, engine menu, layout switch) show only
   with ?user=admin. */
body:not(.admin) .admin-only, body.admin .player-only { display: none !important; }
.meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.seed input {
  width: 84px;
  margin-left: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  padding: 4px 8px;
  font: inherit;
}
.seed span { margin-left: 6px; }
.seed input { width: 120px; }
button.small { padding: 4px 10px; font-size: 13px; }
.pace { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.pace input { width: 90px; accent-color: var(--accent); }
.pace b { color: var(--text); font-weight: 500; min-width: 30px; font-variant-numeric: tabular-nums; }
.panel.thinking .alts, .panel.thinking .pick { display: none; }
.pick { display: flex; align-items: center; padding: 5px 10px; font-size: 13px; }
.pick[hidden] { display: none; }
.pick small, .choose-actions small { color: var(--muted); font-size: 11px; margin-left: 6px; }
.choose-hint { text-transform: none; letter-spacing: 0; }
.panel.choosing .routes-card { border-color: var(--accent); }
.choose-actions { display: flex; gap: 8px; margin-top: 10px; }
.choose-actions[hidden] { display: none; }
.choose-actions .primary {
  flex: 1; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 650;
}
.choose-actions .primary small { color: rgba(27, 20, 5, 0.65); }
.score { display: inline-flex; gap: 6px; }
.score .sb {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--muted);
}
.score .sb i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.score .sb b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.score .sb.on { border-color: var(--accent); color: var(--text); }
.score .sb em { font-style: normal; font-size: 12px; color: var(--accent); }

/* The table takes whatever the window allows; app.js sizes the stage so the
   whole table fits on screen. */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 16px 20px 24px;
}
.stage { justify-self: center; min-width: 0; }
.stage-row { display: flex; gap: 12px; align-items: flex-end; }
.stage-row .table-wrap { flex: 1; min-width: 0; }

/* Tip and power card under the routes. Its content keeps its space when hidden
   so nothing below moves. */
.hit-card .hit-row { justify-content: center; }
.hit-card .hit-label { text-align: center; }
.hit-inner { visibility: hidden; }
.hit-inner.on { visibility: visible; }
.hit-row { display: flex; gap: 10px; align-items: stretch; }
.hit-ball { width: 120px; height: 120px; }
.hb-ball { fill: #f6f4ec; stroke: #9a978c; stroke-width: 1.5; }
.hb-cross { stroke: #c9c5b8; stroke-width: 1; stroke-dasharray: 3 3; }
.hb-aim { fill: none; stroke: #1b6fe0; stroke-width: 1.5; stroke-dasharray: 3 2; }
.hb-hit { fill: #1b6fe0; stroke: #fff; stroke-width: 2; }
.power {
  position: relative; width: 16px; border-radius: 8px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
}
.power-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; }
.power-aim { position: absolute; left: -2px; right: -2px; height: 2px; background: #fff; bottom: 0; }
.hit-label { margin-top: 6px; font-size: 13px; line-height: 1.3; }
.hit-label.muted { margin-top: 2px; color: var(--muted); }

.table-wrap { position: relative; }
#table { display: block; width: 100%; border-radius: 10px; }
/* Messages are printed on the top rail, above the diamonds, so the cloth stays
   clear. The band height comes from the table drawing (--rail-h). */
.rail-msg {
  position: absolute; top: 0; left: 0; right: 0;
  height: var(--rail-h, 18px); line-height: var(--rail-h, 18px);
  font-size: var(--rail-fs, 12px); font-weight: 600; letter-spacing: 0.3px;
  text-align: center; white-space: nowrap; overflow: hidden;
  color: #f3e6c8; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.rail-msg[hidden] { display: none; }
.rail-msg { z-index: 2; }

/* Quiz: the four routes as large tables in the table's place, two by two,
   below the rail message. */
.quiz-grid {
  position: absolute; inset: 0; z-index: 1;
  padding-top: calc(var(--rail-h, 18px) + 4px);
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 10px;
  background: var(--bg);
}
.quiz-grid[hidden] { display: none; }
.table-wrap.quizzing .fs-btn { display: none; }
.quiz-route {
  display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: 8px; text-align: left;
  background: var(--surface-2);
}
.quiz-route .mini { flex: 1; min-height: 0; display: grid; place-items: center; }
.quiz-route canvas { display: block; border-radius: 6px; max-width: 100%; }
/* The table and what sits on its top rail: the route number, and once
   answered the engine's badge and the odds. */
.mini-table { position: relative; line-height: 0; }
.on-rail {
  position: absolute; top: 3px; left: 8px; right: 8px; display: flex; align-items: center; gap: 6px;
  line-height: 1; font-size: 13px; pointer-events: none;
}
.on-rail .pct { margin-left: auto; color: var(--accent); font-weight: 700; background: rgba(14, 18, 23, 0.7); border-radius: 4px; padding: 1px 4px; }
.on-rail .badge, .on-rail .num { margin: 0; }
.quiz-route .pct { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 600; }
.quiz-route .num {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font-size: 13px; font-weight: 700; color: #0e1217; background: #e8e3d6; margin-right: 8px; vertical-align: 1px;
}
.quiz-route:hover:not(:disabled) { border-color: var(--accent); }
.quiz-route.right, .quiz-route.answer { border-color: #4ade80; box-shadow: 0 0 0 3px #4ade80; }
.quiz-route.wrong { border-color: #fca5a5; box-shadow: 0 0 0 3px #fca5a5; }

/* Table-only toggle, on the wood at the table's bottom-right corner. */
.fs-btn {
  position: absolute; right: 6px; bottom: 6px;
  width: 28px; height: 28px; padding: 0; display: grid; place-items: center;
  background: rgba(14, 18, 23, 0.55); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 6px;
}
.fs-btn svg { width: 16px; height: 16px; fill: #f3e6c8; }
.fs-btn svg[hidden] { display: none; }
.fs-btn:hover:not(:disabled) { background: rgba(14, 18, 23, 0.8); }

/* Table only: everything else hidden, the table fills the browser window. */
body.table-only .top, body.table-only .panel, body.table-only .player,
body.table-only .legend, body.table-only .keys, body.table-only .landing { display: none; }
body.table-only .layout {
  grid-template-columns: 1fr; padding: 0; height: 100vh; place-items: center; overflow: hidden;
}

.player {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 12px;
}
.icon-btn { width: 38px; height: 34px; padding: 0; display: grid; place-items: center; }
.icon-btn svg { width: 20px; height: 20px; fill: var(--text); }
.icon-btn svg[hidden] { display: none; }
.time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; min-width: 86px; text-align: right; }
.speeds { display: flex; gap: 2px; }
.speeds button { padding: 5px 9px; font-size: 13px; background: transparent; border-color: transparent; }
.speeds button.on { background: var(--surface-2); border-color: var(--line); color: var(--accent); }

.scrub { flex: 1; appearance: none; -webkit-appearance: none; height: 22px; background: transparent; cursor: pointer; }
.scrub::-webkit-slider-runnable-track {
  height: 5px; border-radius: 3px;
  background: linear-gradient(to right, var(--accent) var(--fill, 0%), #36414f var(--fill, 0%));
}
.scrub::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; margin-top: -4.5px; box-shadow: 0 0 0 3px rgba(255, 184, 77, 0.35);
}
.scrub::-moz-range-track { height: 5px; border-radius: 3px; background: #36414f; }
.scrub::-moz-range-progress { height: 5px; border-radius: 3px; background: var(--accent); }
.scrub::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }

.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; color: var(--muted); font-size: 13px; align-items: center; }
.legend .sw { display: inline-block; width: 18px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.sw.mark { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.toggle { margin-left: auto; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.keys { margin-top: 8px; color: #5f6b7a; font-size: 12px; }

/* Routes on top (mini tables, two across on wide screens), then votes and
   physics side by side. */
.panel { display: flex; flex-direction: column; gap: 16px; width: 680px; }
.panel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
/* Players: the ad sits alone in the panel's bottom corner (tip and power
   are on the table); a quiz answer goes above it. */
body:not(.admin) .panel-row { grid-template-columns: 1fr; }
.ad-side { width: 100%; height: 250px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px;
}
.card-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; }
.routes-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; min-height: 32px; } /* same height with or without the pick button */
.routes-head .card-label { margin-bottom: 0; }
.think-line { display: none; font-size: 17px; font-weight: 500; color: var(--muted); margin: 4px 0; }
.panel.thinking .think-line, .panel.noshot .think-line { display: block; }

.route-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.route-card {
  display: flex; flex-direction: column; gap: 6px; padding: 6px; text-align: left;
  background: var(--surface-2);
}
.route-card { align-items: center; }
.route-card canvas { display: block; border-radius: 6px; }
.route-card.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.route-card .pct { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 600; }
/* Quiz: numbered route cards; green for a right answer, light red for a
   wrong one, and the engine's pick highlighted. */
.route-card .num {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  font-size: 11px; font-weight: 700; color: #0e1217; background: #e8e3d6; margin-right: 6px; vertical-align: 1px;
}
.route-card.right { border-color: #4ade80; box-shadow: 0 0 0 2px #4ade80; }
.route-card.wrong { border-color: #fca5a5; box-shadow: 0 0 0 2px #fca5a5; }
.route-card.answer { border-color: #4ade80; box-shadow: 0 0 0 2px #4ade80; }
.model-pick, .lang-pick { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.model-pick select, .lang-pick select {
  background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 6px;
  padding: 4px 6px; font: inherit; font-size: 13px;
}
/* Desktop / phone switch. */
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.view-toggle button { border: 0; border-radius: 0; padding: 5px 10px; font-size: 13px; background: transparent; }
.view-toggle button[aria-pressed="true"] { background: var(--surface-2); color: var(--accent); }

/* Ad placeholders: where ads would go, nothing loaded. */
.ad-slot {
  display: grid; place-items: center; text-align: center;
  border: 1px dashed #5b6676; border-radius: 6px; color: #7d8898; font-size: 12px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 10px, transparent 10px 20px);
}
.ad-slot em { font-style: normal; }
.ad-slot span { font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-right: 6px; }
.phone-only { display: none !important; }
.phone-bar, .phone-menu { display: none; }

/* ---------- Phone layout ----------
   A phone-sized screen (390 x 844, iPhone-sized). On a desktop it sits in a
   frame in the middle of the page; on a real phone it fills the screen. The
   table stands upright and takes most of it; the top bar sits on the head
   rail between the diamonds; the status prints on the foot rail; controls
   and a banner ad go underneath. No routes or physics panel. */
body.phone .top, body.phone .panel, body.phone .legend, body.phone .keys,
body.phone .fs-btn, body.phone .speeds, body.phone .time { display: none !important; }
body.phone .phone-only { display: grid !important; }
body.phone .layout {
  display: flex; flex-direction: column; grid-template-columns: none;
  width: 390px; height: 844px; margin: 24px auto; padding: 8px 0 10px; gap: 0; overflow: hidden;
  border: 1px solid #2c3542; border-radius: 34px; box-shadow: 0 0 0 10px #05070a, 0 20px 60px rgba(0,0,0,0.6);
  background: var(--bg);
}
body.phone .stage { display: flex; flex-direction: column; flex: 1; min-height: 0; width: 100% !important; padding: 0 6px; }
body.phone .table-wrap { margin: 0 auto; }
/* The width layout() gives the upright table (a tablet is wider than it needs). */
body.phone .stage-row .table-wrap { flex: none; }
/* Playback controls are secondary on a phone: hidden until you tap the
   table, then they pop up over the foot rail. */
body.phone .player {
  display: none; position: absolute; left: 4px; right: 4px; bottom: 2px; z-index: 4;
  margin: 0; padding: 3px 6px; gap: 4px; flex-wrap: nowrap;
  background: rgba(14, 18, 23, 0.9); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}
body.phone.controls-open .player { display: flex; }
body.phone .player .icon-btn { width: 34px; height: 30px; }
body.phone .ad-banner { flex: 1; min-height: 54px; max-height: 110px; margin-top: 10px; }
body.phone .view-toggle { position: fixed; top: 14px; right: 18px; z-index: 50; background: var(--surface); }
body.phone .rail-msg { top: auto; bottom: 0; }
body.phone .phone-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; justify-items: center;
  position: absolute; top: 0; left: 0; right: 0; height: var(--frame-px, 40px);
  padding: 0 var(--frame-px, 40px); z-index: 3; pointer-events: none;
}
body.phone .phone-bar > * { pointer-events: auto; }
body.phone .phone-bar .score { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; width: 100%; justify-items: center; }
body.phone .phone-bar .score .sb { font-size: 0; padding: 3px 8px; gap: 5px; background: rgba(14,18,23,0.6); }
body.phone .phone-bar .score .sb b { font-size: 14px; }
body.phone .phone-bar .score .sb em { display: none; }
body.phone .phone-bar .toggle-btn, body.phone .phone-bar .menu-btn {
  height: 26px; padding: 0 10px; font-size: 12px; background: rgba(14,18,23,0.6);
}
body.phone .phone-bar .menu-btn { width: 34px; padding: 0; }
body.phone .phone-bar .menu-btn svg { width: 16px; height: 16px; }
body.phone .phone-menu:not([hidden]) {
  display: block; position: absolute; inset: auto 8px 8px 8px; z-index: 6;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.phone-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.phone-menu-body { display: grid; gap: 12px; }
.phone-menu-body .pace { display: flex; align-items: center; gap: 8px; }
/* Quiz on a phone: two upright tables side by side at full width, then a
   300x250 ad (or, once answered, why the engine's shot is better). The foot
   rail strip stays clear for the status line. */
body.phone .quiz-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 6px;
  padding: calc(var(--frame-px, 40px) + 4px) 4px calc(var(--rail-h, 18px) + 2px); align-content: start;
}
body.phone .quiz-route { padding: 4px; gap: 4px; }
body.phone .quiz-route .mini { flex: none; height: auto; }
body.phone .quiz-route .on-rail { top: 1px; left: 4px; right: 4px; font-size: 11px; gap: 4px; }
body.phone .quiz-route .num { width: 16px; height: 16px; font-size: 10px; margin-right: 0; }
body.phone .quiz-route .on-rail .badge { font-size: 9px; padding: 0 4px; }
.quiz-grid .ad-quiz { min-height: 0; grid-column: 1 / -1; justify-self: center; width: 728px; max-width: 100%; height: 90px; }
.quiz-grid .ad-quiz.ad-billboard { width: 970px; height: 250px; }
body.phone .quiz-grid .ad-quiz, body.phone .quiz-grid .quiz-explain { grid-column: 1 / -1; }
body.phone .quiz-grid .ad-quiz { width: 300px; height: 250px; justify-self: center; align-self: center; }
.quiz-explain {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font-size: 13px; line-height: 1.35; overflow: auto;
}
.quiz-explain h3 { margin: 0 0 6px; font-size: 15px; }
.quiz-explain h3.right { color: #4ade80; }
.quiz-explain h3.wrong { color: #fca5a5; }
.quiz-explain ul { margin: 0 0 8px; padding-left: 16px; display: grid; gap: 5px; }
.quiz-explain .row { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; }
/* A real phone: the whole screen, no frame, no switch. */
@media (max-width: 600px) {
  body.phone .layout { width: 100vw; height: 100dvh; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .view-toggle { display: none !important; }
}
/* Players: the phone layout always fills the screen (the framed phone on a
   desktop is the owner's preview). */
body.phone:not(.admin) .layout { width: 100vw; height: 100dvh; margin: 0; border: 0; border-radius: 0; box-shadow: none; }

.toggle-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: rgba(255, 184, 77, 0.12); }
.quiz-card { grid-column: 1 / -1; }
.quiz-card[hidden] { display: none; }
.panel.quiz-shown .hit-card, .panel.quiz-shown .feedback, .panel.quiz-right .feedback { display: none; }
.panel.quiz-right .quiz-card { grid-column: 2; grid-row: 1; }
body:not(.admin) .panel.quiz-right .quiz-card { grid-column: 1; }
.panel.quiz .choose-hint, .panel.quiz .pick { visibility: hidden; }
/* While you choose, the routes are on the table, not here. */
.panel.quiz-asking .route-grid { display: none; }
.panel.quiz-asking .think-line { display: block; }
.quiz-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.quiz-head h3 { margin: 0 0 8px; font-size: 17px; font-weight: 650; }
.quiz-head h3.right { color: #4ade80; }
.quiz-head h3.wrong { color: #fca5a5; }
.quiz-score { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quiz-reasons { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.4; }
.route-card .badge, .quiz-route .badge {
  display: inline-block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--accent-ink); background: var(--accent); border-radius: 4px; padding: 1px 5px; margin-right: 6px;
  vertical-align: 1px;
}

.votes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.votes button { display: flex; flex-direction: column; align-items: center; padding: 10px 6px; gap: 2px; }
.votes button small, .next small { color: var(--muted); font-size: 11px; }
.votes button.on { border-color: var(--accent); background: rgba(255, 184, 77, 0.12); }
.tally { margin-top: 10px; color: var(--muted); font-size: 13px; min-height: 1.4em; }
.tally b { color: var(--text); font-weight: 600; }
.next {
  width: 100%; margin-top: 12px; padding: 11px;
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 650;
}
.next:hover:not(:disabled) { background: #ffc66e; border-color: #ffc66e; }
.next small { color: rgba(27, 20, 5, 0.65); margin-left: 6px; }

.physics { margin-top: 10px; }
.physics summary { cursor: pointer; font-size: 13px; color: var(--muted); }
/* Opens as a pop-over above the button so the page never grows. */
.physics { position: relative; }
.physics[open] .physics-body {
  position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 5;
  width: 340px; max-height: 75vh; overflow-y: auto; padding: 4px 16px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}
.slider { margin-top: 12px; }
.slider .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.slider .row b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.slider input { width: 100%; accent-color: var(--accent); }
.slider.key .row span { color: var(--text); }
.physics-actions, .data-actions { display: flex; gap: 8px; margin-top: 14px; }
.physics-actions button:first-child { flex: 1; }

@media (max-width: 1500px) {
  .panel { width: 480px; }
}
@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; padding: 16px; }
  .top { padding: 12px 16px; }
  .panel { width: auto; }
  .route-grid { grid-template-columns: 1fr; }
  .panel-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .panel-row { grid-template-columns: 1fr; }
}
