:root{font-family:Inter,system-ui,Arial,sans-serif;color:#ecf7ff;background:#070d1c;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 0%,#172b46 0%,#070d1c 60%);min-height:100vh}header{padding:24px max(24px,calc((100vw - 1100px)/2));display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #26354b}header strong{font-size:22px;letter-spacing:1px}header span,em{color:#48e9cb;font-style:normal}header small,.muted,small{color:#9aacc3}main{max-width:1050px;margin:40px auto;padding:0 22px}.intro{text-align:center;padding:20px 0 35px}.intro h1{font-size:clamp(38px,7vw,72px);margin:12px 0}.intro p{max-width:550px;margin:auto;color:#aabbd1;line-height:1.7}.pill{display:inline-block;color:#4de6ca;border:1px solid #295a5a;border-radius:100px;padding:9px 15px;font-size:12px;letter-spacing:2px}.panel{background:#111c31;border:1px solid #2c4059;border-radius:18px;padding:25px;margin-bottom:20px}.panel p{line-height:1.7;color:#bbcbdd}.check{display:flex;gap:12px;align-items:start;padding:12px 0 24px}input[type=checkbox]{width:19px;height:19px;accent-color:#47e9ca}button{border:0;border-radius:9px;padding:14px 22px;background:#43e6c7;color:#061b20;font-weight:800;cursor:pointer}button:disabled{opacity:.35;cursor:not-allowed}.secondary{background:#233852;color:#e5f2ff}.danger{background:#512b3c;color:#ffd8df}.hidden{display:none!important}.gamebar,.actions,.stats{display:flex;gap:15px;justify-content:space-between;align-items:center;flex-wrap:wrap}.gamebar h2{margin:7px 0 20px}.stage{position:relative;background:#020713;border:1px solid #3d5c77;border-radius:15px;overflow:hidden;aspect-ratio:4/3;max-height:70vh;margin:auto}.stage video,.stage canvas{position:absolute;width:100%;height:100%;object-fit:fill;transform:scaleX(-1)}.stage canvas{transform:none}.stage #hint{position:absolute;bottom:15px;left:15px;background:#081526b9;border-radius:7px;padding:10px;color:#55f0d2}.actions{justify-content:flex-start;margin:20px 0}footer{text-align:center;padding:40px;color:#677b96;font-size:12px}.admin{max-width:1250px}.admin #login{max-width:440px;margin:70px auto}.admin input{width:100%;padding:13px;margin:10px 0 20px;border:1px solid #567;background:#07101e;color:white;border-radius:8px}.stats>*{flex:1;min-width:150px}.stats h1{font-size:48px;margin:10px 0}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px}.shot{aspect-ratio:4/3;border:1px solid #35516a;border-radius:12px;overflow:hidden;background:#13253c}.shot img{width:100%;height:100%;object-fit:cover}.reveal-heading{text-align:center;padding:30px 10px}.reveal-heading h1{font-size:clamp(30px,5vw,65px)}.reveal-heading p{letter-spacing:3px;color:#c3d0df}@media(max-width:600px){header small{display:none}.actions button{flex:1}.panel{padding:20px}}

/* Mobile-first refinements: mirrored video and coordinate-matched canvas. */
.stage{width:100%;max-width:720px;aspect-ratio:4/3;touch-action:none}
.stage video{transform:scaleX(-1)}
.stage canvas{transform:none;pointer-events:none}
@media(max-width:650px){main{margin:16px auto;padding:0 12px}.intro{padding:10px 0 22px}.intro h1{font-size:clamp(34px,11vw,56px)}.stage{max-height:none}.gamebar{gap:8px}.gamebar h2{font-size:19px}.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.actions button{padding:13px 10px}.actions #stop{grid-column:1/-1}header{padding:16px}button{min-height:48px}}
