
:root{--navy:#073a48;--deep:#052d36;--green:#0c6d50;--green2:#22a16f;--gold:#f4c35d;--cream:#fff9e9;--red:#ce3547;--ink:#183d42;--muted:#5b7070;--white:#fff;--shadow:0 15px 34px rgba(2,41,52,.15)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 50% 0,#1b6570,#0a414f 45%,#062b36 100%);color:var(--ink);font:16px/1.48 'Nunito',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:100vh}body::before{content:"";pointer-events:none;position:fixed;inset:0;background-image:radial-gradient(#fff7 1.3px,transparent 1.3px),radial-gradient(#fff5 1.1px,transparent 1.1px);background-size:39px 45px,71px 88px;background-position:0 0,18px 12px;opacity:.28}.container{width:min(100%,830px);margin:0 auto;padding:0 15px 30px;position:relative}.topline{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#e5f6ee;padding:15px 5px 12px;font-weight:900;font-size:12px;letter-spacing:.12em}.brand{white-space:nowrap}.brand-icon{color:var(--gold);font-size:20px;vertical-align:middle}.topbuttons{display:flex;gap:8px}.topbuttons button{color:#eaf8f4;background:#ffffff17;border:1px solid #ffffff36;border-radius:22px;font-weight:900;cursor:pointer;padding:7px 11px;white-space:nowrap}.topbuttons button:hover{background:#ffffff30}.hero{position:relative;background:#fff6e6;border-radius:22px 22px 16px 16px;overflow:hidden;border:4px solid #f8e1a4;box-shadow:var(--shadow)}.hero-art{display:block;width:100%;height:auto}.hero-tag{color:#fff;background:linear-gradient(90deg,#17654a,#0e7759);text-align:center;padding:10px 5px;font-weight:900;font-size:clamp(10px,2.9vw,17px);letter-spacing:.035em}.hero-tag span{color:#f9dc82;margin:0 6px}.announcement{display:flex;align-items:center;gap:13px;margin:15px 0 18px;padding:14px 16px;background:linear-gradient(130deg,#fff5d1,#fffdf0);border:2px solid #ffdf8c;border-radius:17px;box-shadow:0 8px 22px #061b2661;color:#5c4221}.announcement-icon{font-size:34px;line-height:1}.announcement strong{display:block;font-size:clamp(13px,2.8vw,18px);line-height:1.3}.announcement small{display:block;margin-top:3px;font-size:13px;font-weight:700}.stage-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stage-tile{overflow:hidden;background:#fef9eb;border:3px solid #f1cd7d;border-radius:17px;box-shadow:var(--shadow);min-width:0}.stage-picture{position:relative;height:142px;overflow:hidden;background:#bedbe4}.stage-picture img{width:100%;height:100%;object-fit:cover;object-position:center}.number-tag{position:absolute;top:9px;left:10px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#ba2639;color:white;box-shadow:0 2px 4px #0006;font-size:19px;font-weight:900;border:2px solid #fff}.stage-info{padding:12px}.stage-info h2{font-size:16px;line-height:1.25;margin:0 0 6px;color:var(--navy)}.stage-info p{margin:0;color:#496668;font-size:12px;min-height:54px;line-height:1.45}.timechip{display:inline-block;margin-top:10px;color:#16684e;background:#e7f3d9;border-radius:12px;padding:3px 12px;font-size:12px}.start-panel{background:linear-gradient(135deg,#fffdf2,#f8f2d9);border-radius:18px;border:3px solid #ecc77b;text-align:center;margin:18px 0 22px;padding:19px 19px 15px;box-shadow:var(--shadow)}.start-copy strong{font-size:21px;font-weight:900;color:#073d47}.start-copy p{margin:5px 0 15px;font-size:14px;color:#557073}.gold-button{display:flex;gap:10px;align-items:center;justify-content:center;width:100%;border:2px solid #a56d19;border-bottom-width:5px;border-radius:16px;padding:14px 12px;color:#523316;font-size:clamp(20px,4.4vw,28px);font-weight:900;letter-spacing:.018em;cursor:pointer;background:linear-gradient(#ffe5a0,#f9b944);box-shadow:0 4px 0 #73531f34,0 5px 19px #d59c389e;transition:transform .15s}.gold-button:active{transform:translateY(2px);border-bottom-width:3px}.gold-button:disabled{filter:grayscale(.6);cursor:wait}.gold-button span{font-size:23px}.text-button{background:none;border:0;color:#27715a;text-decoration:underline;text-underline-offset:3px;font-weight:800;font-size:13px;padding:11px;cursor:pointer}.status{font-size:12px;color:#5b716b;font-weight:800;margin:3px 0 0}.status.warning{color:#a43d28}.hidden{display:none!important}.game-play{margin:18px 0;background:linear-gradient(#fffaf0,#fff);border-radius:23px;border:4px solid #ecca79;padding:18px 16px 16px;box-shadow:var(--shadow);text-align:center}.play-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:900;font-size:13px}.stage-marker{background:#106b51;color:white;border-radius:40px;padding:6px 12px;white-space:nowrap}.play-score{background:#fff0c5;color:#865520;border-radius:40px;padding:6px 12px;white-space:nowrap}.game-play h2{color:#124e51;font-size:clamp(21px,5vw,31px);font-weight:900;margin:14px 0 2px}.motion-prompt{color:#a34c32;font-weight:900;font-size:clamp(14px,4vw,18px);margin:0 0 12px}.scene{position:relative;overflow:hidden;border-radius:16px;border:3px solid #dfc27e;background:linear-gradient(#93c9e3,#c8e9f4);height:clamp(235px,45vw,385px);isolation:isolate}.scene-image{width:100%;height:100%;object-fit:cover;object-position:center;transition:filter .3s;transform-origin:center}.scene.running .scene-image{animation:runbob .45s ease-in-out infinite alternate}.scene[data-stage="1"].running .scene-image{animation:giftbob .7s ease-in-out infinite alternate}.scene[data-stage="2"].running .scene-image{animation:flightbob 1.7s ease-in-out infinite alternate}.scene::after{content:"";pointer-events:none;position:absolute;inset:0;background:linear-gradient(transparent 55%,#001e3b45)}.scene canvas{pointer-events:none;position:absolute;inset:0;z-index:1;width:100%;height:100%}.scene-counter{position:absolute;left:14px;bottom:13px;z-index:3;background:#073b4bdf;color:white;padding:8px 15px;border-radius:14px;border:1px solid #ffffff83;font-size:clamp(27px,6vw,41px);font-weight:900;text-shadow:0 1px 2px #0008;line-height:1}.scene-counter small{font-size:15px}.countdown{position:absolute;z-index:5;inset:0;display:grid;place-items:center;color:white;font-weight:900;font-size:clamp(100px,25vw,170px);text-shadow:0 4px 0 #b8324d,0 7px 22px #0009;background:#062e4280}.countdown.flash{animation:pop .7s ease both}.scene-cheer{position:absolute;z-index:4;top:10px;left:50%;transform:translateX(-50%);width:max-content;max-width:92%;padding:8px 15px;border:2px solid #fff9de;background:#fdf1c8f2;border-radius:50px;color:#6c3d19;font-weight:900;box-shadow:0 3px 15px #0003;white-space:normal}.stage-progress{display:flex;align-items:center;gap:12px;margin-top:15px}.progress-track{background:#e6e3d2;border-radius:50px;overflow:hidden;height:15px;flex:1;box-shadow:inset 0 2px 5px #0002}.progress-fill{height:100%;width:0;background:linear-gradient(90deg,#0f8661,#f2c04c);border-radius:50px;transition:width .12s}.stage-clock{color:#154b57;font-size:17px;white-space:nowrap;font-weight:900}.play-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.play-metrics div{background:#e9f3e8;border-radius:13px;padding:11px 6px}.play-metrics small{font-size:12px;display:block;font-weight:700;color:#597467}.play-metrics strong{font-size:20px;color:#125744}.round-dots{display:flex;gap:8px;align-items:center;justify-content:center}.round-dots span{width:30px;height:30px;border-radius:50%;background:#dce4d8;display:grid;place-items:center;font-weight:900;color:#677b6a}.round-dots span.active{background:#1f805b;color:white;transform:scale(1.15)}.round-dots span.done{background:#eaba58;color:#634009}.abort{color:#a74343}.motion-note{color:#70837b;font-size:12px;margin:3px auto 0}.results-section,.prizes,.share-section{margin:19px 0;background:#fffbef;border:3px solid #e9c479;border-radius:19px;padding:18px;box-shadow:var(--shadow)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-head h2{font-size:clamp(19px,4vw,25px);color:#174e4f;margin:0;line-height:1.2}.overline{font-weight:900;letter-spacing:.13em;color:#c28e3e;font-size:11px}.small-button{cursor:pointer;border:1px solid #c6d3c3;background:#fff;color:#27624e;border-radius:12px;padding:7px 10px;font-weight:900}.podium{display:grid;grid-template-columns:1fr 1.08fr 1fr;gap:8px;align-items:end;margin-top:15px}.podium-place{padding:16px 6px 12px;border-radius:14px 14px 9px 9px;display:flex;align-items:center;flex-direction:column;gap:5px;min-width:0;text-align:center;color:#65491d;border:2px solid #c0a678;background:#e8e1d3}.podium-place.gold{padding:23px 6px 17px;background:#fff0b6;border-color:#e9b94d;box-shadow:0 0 12px #efc36267}.podium-place.silver{background:#e8edf0}.podium-place.bronze{background:#f6e5db;border-color:#d5a081}.podium-medal{font-size:39px;line-height:1}.podium-place strong{font-size:13px}.podium-name{font-size:12px;font-weight:900;line-height:1.3;overflow-wrap:anywhere}.podium-points{color:#14644d;font-size:12px;font-weight:900}.board-rows{margin:15px 0 6px}.board-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:9px 11px;background:white;border:1px solid #eee4d2;border-radius:10px;margin-bottom:6px}.board-row .rank{width:30px;text-align:left;color:#ad844a;font-weight:900}.board-row .player{flex:1;font-weight:900;overflow-wrap:anywhere}.board-row .score{color:#176b52;font-weight:900;white-space:nowrap}.empty-board{padding:14px;text-align:center;color:#6b7c78}.board-note{margin:10px 0 0;color:#788178;font-size:11px}.prize-row{display:flex;align-items:center;gap:13px;border-bottom:1px solid #e8dec9;padding:12px 2px}.prize-row:last-of-type{border-bottom:0}.prize-emoji{width:60px;height:60px;border-radius:15px;flex:0 0 auto;background:#f4ead5;display:grid;place-items:center;font-size:36px}.prize-row strong{color:#275445}.prize-row p{margin:4px 0 0;color:#657873;font-size:13px}.prize-bottom{text-align:center;margin-top:13px;border-radius:12px;background:#dff0e6;padding:13px;color:#14533f;line-height:1.75;font-size:14px}.share-section{text-align:center}.share-section strong{color:#145943;font-size:20px}.share-section p{color:#647772;margin:3px 0 13px}.share-actions{display:flex;gap:10px;justify-content:center}.share-actions button{flex:1;padding:12px 8px;cursor:pointer;border-radius:12px;font-weight:900;font-size:14px}.share-btn{background:#17704f;border:1px solid #0f6342;color:white}.share-ghost{background:white;border:1px solid #b1c4b7;color:#196c4c}footer{padding:20px 5px;text-align:center;color:#e8f4e9;font-size:12px}footer button{background:transparent;border:0;color:#f9d483;text-decoration:underline;font:inherit;cursor:pointer}.modal{position:fixed;inset:0;display:grid;place-items:center;background:#031f29c9;z-index:50;padding:17px;overflow-y:auto;overscroll-behavior:contain}.modal-card{width:min(100%,470px);max-height:min(92vh,950px);overflow-y:auto;background:linear-gradient(#fffdf2,#fef7e6);position:relative;text-align:center;border:4px solid #e7be65;box-shadow:0 15px 65px #001c28a8;border-radius:25px;padding:27px 21px 21px}.modal-icon{font-size:55px;line-height:1.1}.modal-card h2{font-size:clamp(22px,6vw,31px);color:#164c4e;font-weight:900;margin:9px 0}.modal-card p{font-size:15px;color:#56716b}.modal-card .big-score{font-weight:900;color:#137152;font-size:clamp(34px,10vw,49px);line-height:1.1;margin:8px 0}.modal-card .result-summary{border-radius:14px;background:#e9f2e5;padding:10px 14px;font-size:14px;color:#20574d;font-weight:800;margin:12px 0}.modal-card .hint-card{background:#fff2d3;border:1px solid #ebce90;border-radius:12px;padding:12px;color:#775223;font-weight:800}.modal-actions{margin-top:16px;display:grid;gap:9px}.modal-actions button{cursor:pointer;width:100%;border-radius:13px;padding:12px 10px;font-weight:900;font-size:17px;border:2px solid #c48a3a;background:#f8cc70;color:#604009}.modal-actions button.secondary{border:1px solid #c5d9c8;background:white;font-size:14px;color:#246f54}.modal-actions button:disabled{opacity:.6;cursor:wait}.modal-x{position:absolute;right:12px;top:8px;font-size:29px;font-weight:700;border:0;background:none;color:#71908a;cursor:pointer}.name-label{display:block;text-align:left;font-weight:900;color:#275c50;margin:12px 0 5px}.name-input{width:100%;border:2px solid #b9cfb4;padding:12px 14px;font:900 18px 'Nunito',sans-serif;border-radius:13px;background:white;outline-color:#159068}.validation{font-size:13px;color:#b83737;font-weight:800;min-height:16px}.notice-text{font-size:12px!important;color:#697770!important}.rules-copy{text-align:left}.rules-copy p{margin:9px 0}.rules-copy ul{padding-left:22px}.rules-copy li{margin:8px 0}.rules-copy strong{color:#194e41}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap}@keyframes runbob{from{transform:scale(1.03) translate3d(-1%,0,0)}to{transform:scale(1.055) translate3d(1%,1%,0)}}@keyframes giftbob{from{transform:scale(1.04) translateY(0)}to{transform:scale(1.045) translateY(-1.3%)}}@keyframes flightbob{from{transform:scale(1.045) translateY(0)}to{transform:scale(1.08) translateY(2%)}}@keyframes pop{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.1);opacity:1}100%{transform:scale(1);opacity:1}}@media(max-width:630px){.container{padding:0 10px 18px}.topline{padding:10px 5px;font-size:10px}.brand-icon{font-size:16px}.topbuttons button{font-size:12px;padding:6px 8px}.hero{border-width:3px;border-radius:15px}.hero-tag{font-size:10.5px;padding:9px 3px}.hero-tag span{margin:0 2px}.announcement{padding:12px;gap:10px;margin:11px 0}.announcement-icon{font-size:28px}.announcement strong{font-size:12.7px}.announcement small{font-size:11.5px}.stage-preview{display:grid;grid-template-columns:1fr;gap:10px}.stage-tile{display:flex;min-height:114px;border-width:2px;border-radius:15px}.stage-picture{width:43%;height:auto;flex:0 0 43%;min-height:115px}.stage-picture img{height:100%;object-position:48%}.stage-info{flex:1;padding:10px 12px}.stage-info h2{font-size:17px}.stage-info p{font-size:12px;min-height:auto}.timechip{margin-top:4px}.start-panel{padding:15px 13px;border-width:2px}.start-copy strong{font-size:20px}.start-copy p{font-size:13px}.gold-button{font-size:22px;padding:12px}.results-section,.prizes,.share-section{padding:14px;border-width:2px}.scene{height:clamp(220px,67vw,320px)}.game-play{padding:13px 10px}.play-top{font-size:12px}.podium-medal{font-size:30px}.podium-place{padding:10px 4px}.podium-place.gold{padding:17px 4px 13px}.podium-name{font-size:11px}.section-head h2{font-size:20px}}@media(max-width:370px){.brand{font-size:9px}.hero-tag{font-size:9px}.stage-info h2{font-size:15px}.stage-info p{font-size:11px}.stage-picture{flex-basis:40%;width:40%}.topbuttons button{font-size:11px}.share-actions button{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}

.gift-pile{display:none;position:absolute;z-index:3;right:10px;bottom:13px;flex-wrap:wrap-reverse;align-items:flex-end;justify-content:flex-end;gap:0;width:150px;max-width:42%;pointer-events:none;filter:drop-shadow(0 3px 2px #1238)}.scene[data-stage="1"] .gift-pile{display:flex}.gift-pile span{font-size:clamp(21px,5vw,35px);line-height:1;display:inline-block}.gift-just-loaded{animation:giftland .5s cubic-bezier(.18,1.4,.48,1) both}.star-boost{position:absolute;z-index:3;pointer-events:none;font-size:30px;text-shadow:0 2px 7px #fff8;animation:starfly 1s ease-out both}@keyframes giftland{0%{opacity:0;transform:translateY(-130px) scale(.6) rotate(-25deg)}70%{opacity:1;transform:translateY(6px) scale(1.25) rotate(10deg)}100%{transform:translateY(0) scale(1) rotate(0)}}@keyframes starfly{0%{opacity:0;transform:translate(0,35px) scale(.35)}25%{opacity:1}100%{opacity:0;transform:translate(20px,-110px) scale(1.7)}}

.prize-emoji{width:74px;height:74px;background:#e7d6af;overflow:hidden}.prize-emoji img{display:block;width:100%;height:100%;object-fit:cover;border-radius:12px}
