.game-page{box-sizing:content-box;max-width:min(460px,51svh);margin:auto;padding:24px clamp(16px,4vw,40px) 60px}.game-back{color:#c5bdba}.game-masthead{border-bottom:1px solid #393939;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;padding:0 0 12px;display:flex}.game-masthead .game-back{font-size:14px}.game-masthead h1{letter-spacing:-.035em;white-space:nowrap;margin:0;font:700 clamp(16px,3vw,20px)/1.2 Manrope,sans-serif}.game-page h1 em{color:#ff744d}.game-intro,.game-setup p,.game-result p{color:#c4c0ba}.game-hud{justify-content:space-between;gap:8px;margin:20px 0 10px;font:13px monospace;display:flex}.game-hud strong{color:#ff997a}.restore-arena{aspect-ratio:2/3;isolation:isolate;-webkit-user-select:none;user-select:none;background:#191918;border:1px solid #67534c;border-radius:14px;width:100%;position:relative;overflow:hidden}.restore-arena:focus-visible{outline:2px solid #ff997a}.restore-photo,.restore-photo img,.restore-scratches,.game-overlay{width:100%;height:100%;position:absolute;inset:0}.restore-photo img{object-fit:contain;transition:opacity .8s}.restore-scratches{pointer-events:none;background:repeating-linear-gradient(106deg,#0000 0 21%,#eed9aa60 21.2%,#0000 21.5% 40%),linear-gradient(16deg,#0000 68%,#f1e2b570 68.3%,#0000 69%);transition:opacity .8s}.game-overlay{background:#1115;place-items:center;display:grid}.restore-drop,.restore-editor,.stage-flash{position:absolute;transform:translate(-50%,-50%)}.restore-drop{color:#fff;background:#9d3b1b;border:2px solid #ffebd0;border-radius:9px;place-items:center;width:30px;height:30px;display:grid;box-shadow:0 3px 7px #0009}.tool-1{background:#37605c}.tool-2{background:#514677}.restore-editor{background:#ea7146;border:3px solid #231d1b;border-radius:9px 9px 13px 13px;width:11%;max-width:64px;height:38px;top:92%;box-shadow:0 3px #101010}.restore-editor i{background:#ffcd99;border:2px solid #28201b;border-radius:5px;width:132%;height:8px;position:absolute;top:-7px;left:-16%}.restore-editor b{text-align:center;letter-spacing:3px;color:#211a15;font:24px monospace;display:block}.stage-flash{background:#171819ec;border-radius:20px;padding:8px 14px;top:20%;left:50%}.game-pause,.game-result .btn{margin-top:12px}.game-setup{border-top:1px solid #393939;margin-top:20px;padding:14px 0}.game-setup summary{cursor:pointer}.game-setup input{max-width:100%}@media (prefers-reduced-motion:reduce){.restore-photo img,.restore-scratches{transition:none}}.game-round-controls{color:#c4c0ba;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;font:13px monospace;display:flex}.game-round-controls strong{color:#ffd6bd}.game-round-controls button{color:#fff;cursor:pointer;background:#242424;border:1px solid #635750;border-radius:8px;margin-left:auto;padding:7px 12px}.game-over{text-align:center;background:#191918f5;border:1px solid #67534c;border-radius:12px;padding:20px 28px}.game-over h2{margin:0}.game-over p{margin:8px 0 16px}.game-hud{flex-wrap:wrap}.game-offer{border-top:1px solid #393939;margin-top:24px;padding-top:18px}.game-offer h3{margin:0}.game-offer p{margin:8px 0 0}.game-offer .btn{margin-top:12px}.game-controls{gap:6px;margin-left:auto;display:flex}.game-round-controls{min-height:36px}.game-start{text-align:center;background:#191918ed;border-radius:12px;max-width:28ch;padding:20px}.game-start p{margin:0 0 12px}.game-masthead+.win-panel{margin-top:18px}.win-panel header,.win-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.win-panel h2{letter-spacing:-.055em;margin:0;font:700 clamp(30px,5vw,44px)/1.1 Manrope,sans-serif}.win-panel header span{color:#ffad8e;font:14px monospace}.win-photo{text-align:center;margin:18px 0 14px}.win-print{vertical-align:top;border-radius:6px;max-width:100%;display:inline-block;position:relative;overflow:hidden}.win-print img{width:auto;max-width:100%;height:auto;max-height:53svh;margin:auto;display:block}.win-print .win-original{object-fit:contain;background:#171719;width:100%;height:100%;position:absolute;inset:0}.win-photo figcaption{justify-content:center;margin:10px auto;display:flex}.win-photo button{cursor:pointer;color:#ddd;background:#181818;border:1px solid #494542;padding:9px 17px}.win-photo button:first-child{border-radius:16px 0 0 16px}.win-photo button:last-child{border-radius:0 16px 16px 0}.win-photo button[aria-pressed=true]{color:#211c19;background:#e9e2d8}.win-actions{border-top:1px solid #393939;padding:14px 0}.play-offline{max-width:36rem;margin:12vh auto}.play-offline h1{line-height:1.1}.game-board{border-top:1px solid #393939;margin-top:22px;padding-top:14px}.game-board header{justify-content:space-between;align-items:center;display:flex}.game-page .game-board h2{letter-spacing:normal;margin:0;font:700 20px Manrope,sans-serif}.game-board ol{max-height:52svh;padding-left:28px;overflow:auto}.game-board li{border-bottom:1px solid #333;padding:6px 4px}.game-board li strong{float:right;color:#ffad8e}.game-start h2{margin:0 0 10px;font-size:21px}.game-start{max-width:min(34ch,94%);max-height:100%;overflow:auto}.game-start p{font-size:14px;line-height:1.45}.restore-drop.golden-brush{color:#3b2403;clip-path:polygon(50% 0,62% 23%,86% 14%,77% 38%,100% 50%,77% 62%,86% 86%,62% 77%,50% 100%,38% 77%,14% 86%,23% 62%,0 50%,23% 38%,14% 14%,38% 23%);filter:drop-shadow(0 0 5px #ffd668);background:linear-gradient(135deg,#fff5ad,#edb63f 55%,#bd7816);border:0;border-radius:0;width:40px;height:40px;overflow:visible}.golden-brush svg{stroke-width:2.5px;width:21px;height:21px}.golden-flash{white-space:nowrap;color:#ffe59b;pointer-events:none;background:#30230bf2;border:1px solid #e9c56b;border-radius:20px;padding:9px 14px;font-weight:700;position:absolute;top:30%;left:50%;transform:translate(-50%)}.game-start .golden-hint{color:#efd28b;font-size:12px}.game-board li.podium{font-weight:700}.game-board li.podium span{overflow-wrap:anywhere;align-items:center;gap:7px;max-width:75%;display:inline-flex}.game-board .podium-1,.game-board .podium-1 strong{color:#f3cf76}.game-board .podium-2,.game-board .podium-2 strong{color:#d1d9e4}.game-board .podium-3,.game-board .podium-3 strong{color:#dca77b}.game-board .podium svg{flex-shrink:0}.golden-trail{color:#ffe6a1;text-shadow:0 0 8px #ffc64b;pointer-events:none;font-size:18px;position:absolute;transform:translate(-50%,-100%)}.golden-trail small{opacity:.6;font-size:10px;position:absolute;bottom:20px;left:12px}.restore-arena{overscroll-behavior:contain;-webkit-user-select:none;-webkit-touch-callout:none}.restore-photo,.restore-editor,.restore-drop{pointer-events:none}
