:root{color-scheme:dark;background:#101e26;color:#f4edda;font:100%/1.65 system-ui,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
a{color:#ffdb8d;text-underline-offset:.22em}
button,summary{cursor:pointer}
:focus-visible{outline:3px solid #ffdb8d;outline-offset:4px}
.replay-shell{max-width:72rem;margin:auto;padding:1rem clamp(1rem,4vw,3rem) 3rem}
.replay-nav{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0 1.2rem}
header{max-width:55rem;padding:clamp(.75rem,3vw,2rem) 0}
h1{font:700 clamp(2rem,5vw,3.5rem)/1.12 Georgia,serif;margin:.25em 0}
header>p{max-width:46rem}
.replay-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:1.4rem}
.replay-card{background:#172b34;border:1px solid #425863;border-radius:12px;padding:1rem;margin:0 0 1rem}
.replay-time{font-size:.85rem;color:#ffdb8d;letter-spacing:.045em;margin:0}
h2{font-size:1.18rem;line-height:1.4;margin:.35rem 0 .65rem}
.replay-choices{display:flex;flex-wrap:wrap;gap:.45rem}
button{min-height:44px;border:1px solid #7b9298;background:#101e26;color:#f4edda;padding:.4rem .7rem;border-radius:6px;font:inherit;font-size:.94rem}
button:hover,button[aria-pressed=true]{background:#ffdb8d;color:#101e26;border-color:#ffdb8d}
.replay-feedback{color:#ffdb8d;margin:.55rem 0}
.replay-feedback:empty{margin:0}
details{margin-top:.65rem}
details>p{margin:0.45rem 0 0}
figure{margin:0;border:1px solid #425863;border-radius:12px;overflow:hidden;background:#172b34}
figure img{display:block;width:100%;height:auto}
figcaption{padding:.7rem 1rem;font-size:.92rem}
.replay-end{margin-top:1.3rem}
@media(max-width:760px){.replay-grid{grid-template-columns:1fr}}
