:root { color-scheme:dark; font-family:system-ui,sans-serif; color:#f3ebda; background:#172321; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
body { margin:0; background:radial-gradient(ellipse at 75% 0,#294548,#172321 620px); }
main { width:min(100% - 28px, 940px); margin:auto; padding:clamp(18px,5vw,58px) 0 44px; }
header { margin-bottom:24px; }
.brand { font-size:.82rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#d8bb9e; }
h1 { margin:0; font:600 clamp(3.5rem,9vw,7rem)/.96 Georgia,serif; letter-spacing:-.06em; }
header p:last-child { font-size:clamp(1rem,2.8vw,1.25rem); color:#e3e7dc; margin-bottom:0; }
h2 { margin:0; font:600 clamp(1.4rem,4vw,2rem)/1.2 Georgia,serif; }
#board,#finish { padding:clamp(13px,3vw,24px); background:#20312e; border:1px solid #54726b; border-radius:17px; box-shadow:0 16px 48px #1119; }
.scenehead { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:12px; }
#progress { color:#e5c6a6; font-size:.86rem; white-space:nowrap; }
.pictures { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(6px,2vw,14px); }
figure { margin:0; }
canvas { display:block; width:100%; height:auto; border-radius:9px; border:1px solid #c4bba86e; }
figcaption { margin:.45rem 0; font:650 clamp(.72rem,2.2vw,.92rem)/1.3 system-ui; }
.controls { border-top:1px solid #69857b; margin-top:11px; padding-top:12px; }
label { display:flex; justify-content:space-between; gap:8px; font-weight:700; }
input[type=range] { width:100%; margin:.55rem 0 .4rem; min-height:34px; accent-color:#ffcb99; }
.actions { display:flex; flex-wrap:wrap; gap:8px; }
button,.primary { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:8px 16px; border-radius:7px; border:1px solid transparent; background:#ffcb99; color:#172321; font:700 .97rem system-ui; text-decoration:none; cursor:pointer; }
#next,#reset { background:#294744; color:#f9ecd9; border-color:#87aaa2; }
#finish button { margin:5px 0; }
#status { margin:10px 0 0; min-height:2.8em; line-height:1.4; color:#e4eddf; }
.notes { max-width:64ch; margin-top:28px; color:#e3e7dc; line-height:1.53; }
.notes a { color:#ffcb99; text-underline-offset:3px; }
:focus-visible { outline:2px solid white; outline-offset:3px; }
