﻿/* Games Desk styles. Loaded AFTER ../css/style.css (reuses its fonts, colours and header).
   Plain CSS, no build step. Everything here is scoped to the games pages. */

.games-hero { padding: 1.6rem 0 1rem; }
.games-hero .page-title { margin-bottom: .4rem; }
.games-hero .lede { margin: 0; }
.kbd { font-family: var(--mono); font-size: .78em; border: 1px solid var(--line); border-bottom-width: 2px; padding: .02rem .35rem; color: var(--ink); background: var(--bg-2); white-space: nowrap; }
button { font: inherit; }
.btn { cursor: pointer; }
.btn:focus-visible, .key:focus-visible, .chip:focus-visible, .seg button:focus-visible { outline: 2px solid var(--hazard); outline-offset: 2px; }

/* ---------- hub ---------- */
.hub-feature { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 3px solid var(--ink); }
.play-card { padding: 1rem 1.4rem 1.3rem 0; display: flex; flex-direction: column; gap: .55rem; position: relative; }
.play-card + .play-card { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.play-card:last-child { padding-right: 0; }
.play-card h3 { overflow-wrap: anywhere; }
.play-card h3 { font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.02; margin: 0; }
.play-card h3 a { color: var(--ink); }
.play-card h3 a:hover { color: var(--hazard); text-decoration: none; }
.play-card .hook { font-size: 1.18rem; font-style: italic; color: var(--text); margin: 0; }
.play-card p { margin: 0; color: var(--muted); }
.play-card .btn { align-self: flex-start; margin-top: .4rem; }
.play-art { border: 1px solid var(--line); background: rgba(0,0,0,.22); padding: .9rem 1rem; font-family: var(--mono); font-size: .95rem; line-height: 1.5; color: var(--text); white-space: pre; overflow: hidden; }
.play-art b { color: var(--hazard); }
.live-tag { font-family: var(--mono); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--alive); color: #0f1a08; padding: .12rem .45rem; }
.soon-tag { font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hazard); border: 1px dashed var(--hazard); padding: .1rem .4rem; }
.scope { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line); padding: .1rem .4rem; }
.soon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 0; }
.soon-card { border-left: 1px solid var(--line); padding: 0 1.2rem .3rem; display: flex; flex-direction: column; gap: .4rem; }
.soon-card:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.soon-card::before { content: ""; display: block; border-top: 2px solid var(--ink); margin-bottom: .25rem; }
.soon-card h3 { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; margin: 0; color: var(--ink); }
.soon-card .hook { margin: 0; font-style: italic; color: var(--text); }
.soon-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.soon-card .row { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.fine { font-family: var(--mono); font-size: .7rem; color: var(--dim); letter-spacing: .04em; }

/* ---------- shared game chrome ---------- */
.game-wrap { max-width: 760px; margin-inline: auto; }
.seg { display: inline-flex; border: 1px solid var(--line); }
.seg button { background: transparent; color: var(--muted); border: 0; border-left: 1px solid var(--line); padding: .45rem .9rem; cursor: pointer;
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.seg button:first-child { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--ember); color: #160a04; }
.game-bar { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); padding: .45rem 0; margin-bottom: 1rem; }
.game-bar .meta { font-size: .72rem; }
.linkish { background: none; border: 0; color: var(--ember-2); cursor: pointer; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: .3rem 0; }
.linkish:hover { color: var(--hazard); }
.howto { border: 1px solid var(--line); border-left: 3px solid var(--hazard); padding: .8rem 1rem; margin: 0 0 1rem; background: rgba(0,0,0,.16); }
.howto p, .howto ul { margin: .2rem 0 .4rem; }
.howto ul { padding-left: 1.1rem; }
.howto li { margin-bottom: .2rem; }
.toast { position: fixed; left: 50%; top: 1rem; transform: translate(-50%, -150%); z-index: 50; background: var(--ink); color: #160a04; font-family: var(--mono); font-weight: 700; font-size: .8rem;
  letter-spacing: .06em; padding: .6rem 1rem; transition: transform .2s ease; max-width: 90vw; text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Guess the Doomsday ---------- */
.exhibit { border: 1px solid var(--line); background: rgba(0,0,0,.18); padding: 1rem 1.2rem 1.1rem; position: relative; }
.exhibit .ex-kicker { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: .6rem; }
.exhibit .big-quote { margin: 0 0 .5rem; }
.keypad[hidden], .range-bar[hidden] { display: none; }
.unredact { background: none; color: var(--hazard); font-weight: 700; border-bottom: 2px solid var(--ember); padding: 0 .05em; }
.redact { background: var(--ink); color: var(--ink); padding: 0 .1em; letter-spacing: -.05em; border-radius: 1px; user-select: none; }
.clues { list-style: none; margin: .8rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.clues li { display: grid; grid-template-columns: 8.5rem 1fr; gap: .8rem; padding: .5rem 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.clues .ck { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.clues .cv { color: var(--text); }
.clues .locked .cv { color: var(--dim); font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; }
.clues .fresh .cv { animation: pop .5s ease; color: var(--hazard); }
@keyframes pop { 0% { opacity: 0; transform: translateY(-3px); } 100% { opacity: 1; transform: none; } }

.board { display: grid; gap: .35rem; margin: 1rem 0; }
.g-row { display: grid; grid-template-columns: 2rem minmax(0, 5.6rem) 2.6rem 1fr; gap: .6rem; align-items: center; min-height: 2.9rem; border: 1px solid var(--line-soft); padding: .25rem .6rem; }
.g-row .n { font-family: var(--mono); font-size: .7rem; color: var(--dim); }
.g-row .yr { font-family: var(--mono); font-weight: 800; font-size: 1.5rem; letter-spacing: .06em; color: var(--ink); font-variant-numeric: tabular-nums; }
.g-row .dir { font-size: 1.3rem; text-align: center; font-weight: 900; }
.g-row .heat { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.g-row.filled { animation: flip .45s ease; }
@keyframes flip { 0% { transform: rotateX(90deg); } 100% { transform: none; } }
.g-row.h-hit { border-color: var(--alive); background: rgba(166,238,124,.12); } .g-row.h-hit .heat { color: var(--alive); }
.g-row.h-scorch { border-color: var(--blood); background: rgba(229,72,77,.12); } .g-row.h-scorch .heat { color: #ff7a7e; }
.g-row.h-hot { border-color: var(--ember); background: rgba(255,90,31,.1); } .g-row.h-hot .heat { color: var(--ember-2); }
.g-row.h-warm { border-color: #a8902a; background: rgba(255,210,63,.07); } .g-row.h-warm .heat { color: var(--hazard); }
.g-row.h-cold { border-color: var(--line); } .g-row.h-cold .heat { color: var(--ice); }
.g-row.current { border-color: var(--muted); border-style: dashed; }
.g-row.current .yr { color: var(--hazard); }
.g-row.current .yr::after { content: "_"; animation: blink 1s steps(2, start) infinite; color: var(--ember); }
.shake { animation: shake .35s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.range-bar { position: relative; height: 1.9rem; border: 1px solid var(--line); background: rgba(0,0,0,.22); margin: .2rem 0 .3rem; overflow: hidden; }
.range-bar .live { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(255,90,31,.25), rgba(255,210,63,.25)); border-left: 2px solid var(--ember); border-right: 2px solid var(--ember); transition: left .4s ease, width .4s ease; }
.range-bar .lbl { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: .7rem; color: var(--muted); padding: 0 .4rem; }
.range-bar .lbl.l { left: 0; } .range-bar .lbl.r { right: 0; }
.range-bar .mid { left: 50%; transform: translate(-50%, -50%); color: var(--hazard); font-weight: 700; white-space: nowrap; }
.range-cap { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 0 0 .8rem; }

.keypad { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; margin: .4rem 0 0; }
.key { font-family: var(--mono); font-weight: 800; font-size: 1.25rem; color: var(--ink); background: var(--card-2); border: 1px solid var(--line); border-bottom-width: 3px;
  padding: .75rem 0; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.key:hover { border-color: var(--muted); }
.key:active { transform: translateY(1px); border-bottom-width: 2px; }
.key.wide { grid-column: span 2; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.key.go { background: var(--ember); color: #160a04; border-color: #b93a0c; }
.key.go:hover { background: var(--hazard); border-color: #b39220; }
.key:disabled { opacity: .35; cursor: default; }

.reveal { margin-top: 1.2rem; border-top: 3px double var(--ink); padding-top: 1rem; animation: pop .5s ease; }
.reveal .stamp { position: static; display: inline-block; margin: 0 0 .6rem; }
.reveal .stamp.lost { color: var(--blood); border-color: var(--blood); outline-color: var(--blood); }
.reveal h2 { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 4.4vw, 2.7rem); line-height: 1.04; margin: .1rem 0 .4rem; text-wrap: balance; }
.reveal h2 a { color: var(--ink); }
.reveal h2 a:hover { color: var(--hazard); text-decoration: none; }
.reveal .dek { font-size: 1.1rem; }
.reveal .facts { margin: .8rem 0; }
.reveal-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 .2rem; }
.share-box { width: 100%; font-family: var(--mono); font-size: .9rem; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); padding: .6rem .7rem; margin-top: .6rem; resize: none; }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 1rem 0 .6rem; }
.stats-row div { padding: .6rem .7rem; border-left: 1px solid var(--line); text-align: center; }
.stats-row div:first-child { border-left: 0; }
.stats-row b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.stats-row span { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dist { display: grid; gap: .25rem; margin: .4rem 0 .8rem; }
.dist div { display: grid; grid-template-columns: 1.2rem 1fr; gap: .5rem; align-items: center; font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.dist i { display: block; background: var(--line); color: var(--ink); font-style: normal; text-align: right; padding: .1rem .4rem; min-width: 1.6rem; font-weight: 700; }
.dist i.me { background: var(--ember); color: #160a04; }
.next-up { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.next-up b { color: var(--hazard); font-variant-numeric: tabular-nums; }

/* ---------- Doom Dodger ---------- */
.arcade { position: relative; border: 1px solid var(--line); background: #0d0b08; touch-action: none; user-select: none; -webkit-user-select: none; overflow: hidden; }
.arcade canvas { display: block; width: 100%; height: 100%; }
.arcade-hud { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .45rem 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: .6rem; }
.arcade-hud b { color: var(--hazard); font-variant-numeric: tabular-nums; }
.arcade-hud .hp { color: var(--blood); letter-spacing: .1em; }
.overlay { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .6rem; padding: 1.2rem;
  background: rgba(13,11,8,.82); }
.overlay[hidden] { display: none; }
.overlay h2 { font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 5vw, 2.8rem); line-height: 1.04; margin: 0; color: var(--ink); max-width: 20ch; text-wrap: balance; }
.overlay h2 .glow { color: var(--ember); font-style: italic; }
.overlay p { margin: 0; color: var(--muted); max-width: 44ch; }
.overlay .kick { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--hazard); }
.overlay .score-big { font-family: var(--mono); font-weight: 800; font-size: clamp(2.4rem, 8vw, 3.6rem); color: var(--hazard); line-height: 1; }
.overlay .btns { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: .3rem; }
.busted-feed { font-family: var(--mono); font-size: .74rem; color: var(--muted); min-height: 1.3rem; margin: .5rem 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.busted-feed b { color: var(--alive); }
.touch-pad { display: none; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: .5rem; }
.touch-pad .key { font-size: 1.4rem; padding: .9rem 0; }
@media (hover: none) and (pointer: coarse) { .touch-pad { display: grid; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soon-card:nth-child(3n+1) { border-left: 1px solid var(--line); padding-left: 1.2rem; }
  .soon-card:nth-child(2n+1) { border-left: 0; padding-left: 0; }
}
@media (max-width: 1000px) {
  .play-art { font-size: .8rem; }
}
@media (max-width: 900px) {
  .hub-feature { grid-template-columns: 1fr; }
  .play-card, .play-card + .play-card { padding: 1rem 0 1.2rem; border-left: 0; }
  .play-card + .play-card { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .soon-grid { grid-template-columns: 1fr; }
  .soon-card, .soon-card:nth-child(n) { border-left: 0; padding: 0 0 .4rem; }
  .clues li { grid-template-columns: 1fr; gap: .1rem; }
  .exhibit { padding: .8rem .85rem .9rem; }
  .g-row { grid-template-columns: 1.4rem 4.6rem 2rem 1fr; gap: .4rem; padding: .2rem .45rem; }
  .g-row .yr { font-size: 1.3rem; }
  .g-row .heat { font-size: .64rem; letter-spacing: .04em; }
  .stats-row b { font-size: 1.5rem; }
  .key { padding: .85rem 0; }
  .play-art { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .g-row.filled, .shake, .reveal, .clues .fresh .cv { animation: none; }
}

/* ---------- Reschedule! ---------- */
.rs-stage { position: relative; isolation: isolate; border: 1px solid var(--line); background: rgba(0,0,0,.2); touch-action: manipulation; user-select: none; -webkit-user-select: none; min-height: 460px; cursor: pointer; }
.rs-stage { -webkit-tap-highlight-color: transparent; }
.rs-stage:focus { outline: none; }
.rs-stage:focus-visible { outline: 1px solid var(--muted); outline-offset: 2px; }
.rs-card { padding: 1rem 1.2rem 1.1rem; }
.rs-kicker { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 0 0 .5rem; border-bottom: 1px solid var(--line); padding-bottom: .4rem; }
.rs-kicker #r-times { color: var(--hazard); }
.rs-head { font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 3.6vw, 2.1rem); line-height: 1.08; margin: 0 0 .35rem; color: var(--ink); text-wrap: balance; min-height: 2.2em; }
.rs-orig { margin: 0 0 .7rem; color: var(--muted); font-style: italic; font-size: .98rem; }
.rs-deadline { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; flex-wrap: wrap; border-top: 3px double var(--ink); padding-top: .5rem; }
.rs-deadline span { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.rs-deadline strong { font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--ember); line-height: 1.1; }
.rs-deadline strong.bump { animation: bump .5s ease; }
@keyframes bump { 0% { transform: translateY(-8px); color: var(--hazard); opacity: .2; } 100% { transform: none; } }
.rs-digits { margin: .7rem 0 .6rem; }
.rs-digits .digit b { font-size: clamp(1.8rem, 6vw, 3.2rem); }
.rs-digits.urgent .digit b { color: var(--blood); }
.rs-fuse { position: relative; height: 1.1rem; border: 1px solid var(--line); background: rgba(0,0,0,.35); overflow: hidden; }
.rs-fuse i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: linear-gradient(90deg, var(--ember), var(--hazard)); z-index: 1; }
.rs-fuse i::after { content: ""; position: absolute; right: -4px; top: -3px; bottom: -3px; width: 8px; background: #fff6d0; box-shadow: 0 0 10px 4px rgba(255,210,63,.8); border-radius: 50%; }
.rs-fuse em { position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; pointer-events: none; border-right: 1px dashed rgba(239,230,213,.55); }
.rs-fuse .z3 { width: 28%; } .rs-fuse .z2 { width: 12%; } .rs-fuse .z1 { width: 4%; background: rgba(166,238,124,.25); border-right-color: var(--alive); }
.rs-zone-lbl { display: flex; justify-content: space-between; margin: .25rem 0 0; font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.rs-zone-lbl span:first-child { color: var(--alive); }
.rs-verdict { font-family: var(--mono); font-weight: 800; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; text-align: center; margin: .8rem 0 .3rem; min-height: 1.5em; }
.rs-verdict.perfect { color: var(--alive); } .rs-verdict.great { color: var(--hazard); } .rs-verdict.good { color: var(--ember-2); } .rs-verdict.bad { color: var(--blood); }
.rs-excuse { border-left: 3px solid var(--alive); padding: .45rem .8rem; background: rgba(0,0,0,.2); animation: pop .35s ease; }
.rs-excuse p { margin: 0; }
.rs-excuse .q { font-family: var(--display); font-size: 1.12rem; color: var(--ink); }
.rs-excuse .src { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; color: var(--dim); margin-top: .2rem; text-transform: uppercase; }
.rs-excuse .src b { color: var(--alive); }
.rs-excuse .q.sub { font-size: .95rem; color: var(--dim); margin-top: .15rem; }
.rs-big { display: block; width: 100%; margin-top: .6rem; font-family: var(--mono); font-weight: 800; font-size: 1.15rem; letter-spacing: .16em; text-transform: uppercase; color: #160a04;
  background: var(--ember); border: 1px solid #b93a0c; border-bottom-width: 4px; padding: 1rem; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.rs-big:hover { background: var(--hazard); border-color: #b39220; }
.rs-big:active { transform: translateY(2px); border-bottom-width: 2px; }
.rs-big:disabled { opacity: .45; cursor: default; }
.rs-grid { font-size: 1.1rem; letter-spacing: .05em; margin: .2rem 0; word-break: break-all; max-width: 30ch; }
@media (max-width: 640px) {
  .rs-card { padding: .8rem .85rem .9rem; }
  .rs-stage { min-height: 500px; }
}
@media (prefers-reduced-motion: reduce) { .rs-deadline strong.bump, .rs-excuse { animation: none; } }

/* Reschedule! overlays share the stage's grid cell with the card, so the stage always grows to fit
   whichever is taller (no text spilling out of the box on narrow phones or with larger text settings). */
.rs-stage { display: grid; }
.rs-stage > .rs-card, .rs-stage > .overlay { grid-area: 1 / 1; min-width: 0; }
.rs-stage > .overlay { position: relative; inset: auto; background: rgba(13,11,8,.97); } /* opaque enough that the card behind doesn't read through the text */
.overlay { overflow-wrap: break-word; }
.overlay .kbd { white-space: nowrap; }
@media (max-width: 640px) {
  .overlay { padding: 1rem .9rem; gap: .5rem; }
  .arcade .overlay { background: rgba(13,11,8,.88); }
  .overlay h2 { font-size: clamp(1.5rem, 7.2vw, 2rem); }
  .overlay p { font-size: .98rem; line-height: 1.45; }
  .overlay .btn { white-space: normal; text-align: center; justify-content: center; }
}

/* ---------- Deadline Duel (games/duel.html) ---------- */
.dd-panel { border: 1px solid var(--line); background: rgba(0,0,0,.18); padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.dd-panel p { margin: 0; }
.dd-panel .kick { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--hazard); }
.dd-panel h2 { font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1.04; margin: 0; color: var(--ink); }
.dd-panel .score-big { font-family: var(--mono); font-weight: 800; font-size: clamp(2.4rem, 8vw, 3.6rem); color: var(--hazard); line-height: 1; }
.dd-panel .btns { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .3rem; }
.dd-panel[hidden], #dd-play[hidden] { display: none; }
.dd-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0 0 .9rem; }
.dd-card { border: 1px solid var(--line); border-top: 3px solid var(--ink); background: rgba(0,0,0,.18); padding: .8rem .95rem .95rem; min-width: 0; display: flex; flex-direction: column; gap: .35rem; }
.dd-card.dd-b { border-top-color: var(--hazard); }
.dd-card.is-ok { border-color: var(--alive); border-top-color: var(--alive); }
.dd-card.is-no { border-color: var(--blood); border-top-color: var(--blood); }
.dd-card p { margin: 0; }
.dd-kick { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.dd-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 2.6vw, 1.45rem); line-height: 1.15; margin: 0 0 .2rem; color: var(--ink); overflow-wrap: anywhere; }
.dd-title a { color: var(--ink); }
.dd-title a:hover { color: var(--hazard); }
.dd-who { color: var(--text); font-size: .98rem; overflow-wrap: anywhere; }
.dd-k { display: inline-block; min-width: 4.6rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dd-due { margin-top: .25rem !important; border-top: 1px solid var(--line-soft); padding-top: .45rem; }
.dd-due b { font-family: var(--mono); font-weight: 800; color: var(--hazard); font-size: 1.02rem; overflow-wrap: anywhere; }
.dd-due.dd-q b { letter-spacing: .2em; color: var(--muted); }
.dd-st { font-family: var(--mono); font-size: .6rem; font-weight: 800; letter-spacing: .12em; padding: .08rem .4rem; }
.dd-busted { background: var(--alive); color: #0f1a08; }
.dd-up { border: 1px solid var(--hazard); color: var(--hazard); }
.dd-verdict { font-family: var(--mono); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.dd-verdict.ok { color: var(--alive); } .dd-verdict.no { color: #ff7a7e; }
.dd-question { font-size: 1.12rem; color: var(--text); margin: 0 0 .7rem; text-align: center; }
.dd-question b { color: var(--ink); }
.dd-btns { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.dd-btns .btn { min-width: 9.5rem; text-align: center; padding-top: .8rem; padding-bottom: .8rem; touch-action: manipulation; }
.dd-btns .btn[hidden] { display: none; }
#dd-over-detail .dd-k { display: block; margin: .4rem 0 .4rem; }
@media (max-width: 640px) {
  .dd-pair { grid-template-columns: 1fr; gap: .55rem; }
  .dd-btns .btn { flex: 1 1 0; min-width: 0; }
  .dd-btns #dd-next { flex-basis: 100%; }
}
.dd-more { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--muted); margin: .2rem 0 .5rem; }
