:root{color-scheme:dark;--green:#102d23;--lime:#a8cf32;--panel:rgba(8,25,19,.92)}
*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0;background:#071b15;font-family:Arial,Helvetica,sans-serif;overflow:hidden}
button,a{-webkit-tap-highlight-color:transparent}
.app{width:100%;height:100%;display:grid;grid-template-rows:minmax(0,1fr) 58px;background:radial-gradient(circle at 50% 35%,#184c3b 0,#0b251c 48%,#06150f 100%)}
.stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.slide{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none}
.start{position:absolute;inset:0;margin:auto;width:min(330px,78vw);height:78px;border:2px solid rgba(255,255,255,.75);border-radius:16px;background:rgba(13,52,39,.93);color:#fff;font-size:20px;font-weight:700;display:flex;gap:14px;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 12px 38px rgba(0,0,0,.45)}
.start[hidden]{display:none}
.start:hover,.start:focus-visible{background:#164f3b;outline:3px solid var(--lime);outline-offset:3px}
.start-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:var(--lime);color:#12351f;padding-left:3px}
.controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:7px 12px;background:var(--panel);border-top:1px solid rgba(255,255,255,.14)}
.controls button{width:43px;height:43px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:#174a38;color:#fff;font-size:25px;cursor:pointer}
.controls button:hover,.controls button:focus-visible{background:#23664e;outline:2px solid var(--lime)}
.counter{min-width:72px;text-align:center;color:#fff;font-size:14px;font-variant-numeric:tabular-nums}
.hotspots{position:absolute;inset:0;pointer-events:none}
.media-layer{position:absolute;display:none;object-fit:cover;background:#071b15;pointer-events:none}
.anim-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.anim-region{position:absolute;overflow:hidden}
.anim-piece{position:absolute;inset:0;background-repeat:no-repeat;opacity:0;transform:translate(var(--dx),var(--dy));animation:piece-in .75s cubic-bezier(.2,.72,.2,1) var(--delay) forwards;animation-play-state:paused}
.anim-layer.running .anim-piece{animation-play-state:running}
@keyframes piece-in{to{opacity:1;transform:translate(0,0)}}
.hotspot.attention{animation:attention 1.4s ease-in-out var(--attention-delay) 2;animation-play-state:paused}
.hotspots.running .hotspot.attention{animation-play-state:running}
@keyframes attention{50%{box-shadow:0 0 0 6px rgba(168,207,50,.9),0 0 28px 8px rgba(168,207,50,.55)}}
.hotspot{position:absolute;display:block;pointer-events:auto;border-radius:12px;background:transparent;color:transparent;text-indent:-9999px;overflow:hidden}
.hotspot:hover,.hotspot:focus-visible{outline:4px solid rgba(255,255,255,.9);outline-offset:-4px;box-shadow:0 0 0 3px var(--lime)}
.app.fullscreen{grid-template-rows:minmax(0,1fr) 52px}
@media(max-width:600px){.app{grid-template-rows:minmax(0,1fr) 52px}.controls{gap:8px}.controls button{width:38px;height:38px}.start{height:68px;font-size:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
