:root{--navy:#10375d;--navy2:#173f64;--blue:#197c9e;--teal:#008f9c;--orange:#f47d00;--ink:#143450;--muted:#647c8c;--border:#d5e4ec;--bg:#eef5f9;--soft:#f5fafc;--ok:#158348;--bad:#ba4542}*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100vh;font-family:'Segoe UI',Tahoma,Arial,sans-serif;background:radial-gradient(ellipse 90% 28% at 50% 24%,#d9eaf5 0%,transparent 85%),var(--bg);color:var(--ink)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.topbar{background:#fff;border-bottom:1px solid #dae5ee;box-shadow:0 2px 7px #0a2e4a05}.topbar-inner{max-width:1240px;margin:auto;min-height:88px;padding:16px 28px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;gap:12px;align-items:center}.brand img{width:54px;height:54px;object-fit:contain}.brand b{display:block;color:#113e66;font-size:24px;letter-spacing:-.6px}.brand span{display:block;color:#71879a;font-size:12px;margin-top:2px}.top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.version{color:var(--orange);font-size:11px;font-weight:850;letter-spacing:1px;margin:0 8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:12px;border:1px solid transparent;padding:12px 18px;text-decoration:none;font-weight:800;transition:filter .15s,transform .15s;color:var(--ink);white-space:nowrap}.button:hover:not(:disabled){filter:brightness(.97)}.button:active:not(:disabled){transform:translateY(1px)}.button-outline{background:#fff;color:var(--navy);border-color:#d0e0ea}.button-orange,.button-submit{background:var(--orange);color:#fff;box-shadow:0 6px 14px #f47d001d}.button-submit{width:100%;font-size:20px;min-height:60px}.page{max-width:1000px;margin:auto;padding:42px 20px 24px}.hero-top{text-align:center;height:28px}.small-label{font-size:10px;color:#718da3;font-weight:800;letter-spacing:3px}.panel{background:white;border:1px solid #dce6ee;box-shadow:0 15px 48px #17405b0c;border-radius:26px;padding:42px 42px 32px;position:relative;overflow:hidden}.panel[hidden],.feedback[hidden],.quiz-panel[hidden],.finished[hidden]{display:none!important}.intro-icon{position:absolute;top:24px;inset-inline-start:28px;background:#eff7fa;width:52px;height:52px;border-radius:18px;display:grid;place-items:center;font-size:25px}.eyebrow{font-size:12px;letter-spacing:2.8px;font-weight:800;color:#ee7500;margin-bottom:11px}.panel h1{font-size:clamp(26px,3.7vw,37px);line-height:1.35;margin:0 0 14px;color:#10375d;letter-spacing:-.5px}.intro{font-size:15px;color:#637c90;line-height:1.9;margin:0 0 19px}.chips{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:23px}.chip{background:#eff7f9;color:#19778c;border:1px solid #dbeef0;font-weight:800;font-size:12px;padding:7px 11px;border-radius:18px}.notice{padding:12px 15px;border-radius:11px;font-size:13px;line-height:1.6;margin:0 0 24px}.notice-blue{color:#2a6c88;background:#edf7fe;border:1px solid #d4e8f8}.notice-warn{background:#fff4e4;border-color:#ffd5a8;color:#8d580c}.notice-ok{background:#e9f8ef;border-color:#b8e5c9;color:#16653b}.entry-form{display:grid;grid-template-columns:1fr 1fr;gap:17px 18px}.entry-form label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:800;color:#133e60}.entry-form label span em{font-style:normal;color:#d84242}.entry-form input,.entry-form select{background:#fff;min-height:57px;border-radius:12px;border:1px solid #cddde7;padding:0 16px;outline:0;color:var(--navy);font-size:15px;width:100%}.entry-form input:focus,.entry-form select:focus{border-color:#208fb6;box-shadow:0 0 0 3px #208fb619}.entry-form input:read-only{background:#f4f8fa;color:#7c8e9b}.wide{grid-column:1/-1}.under-note{font-size:12px;text-align:center;color:#6d8293;line-height:1.8;margin:17px 0 2px}.quiz-panel{max-width:830px;margin:auto}.quiz-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.quiz-heading h2{font-size:27px;margin:0 0 6px;color:#0d3554}.quiet{font-size:13px;color:#8195a2;margin:0}.sound-toggle{background:#f0f8fb;color:#1f7890;border:1px solid #d7edf0;border-radius:11px;padding:11px 14px;font-size:13px;font-weight:800}.progress-head{display:flex;justify-content:space-between;margin:33px 0 9px;font-size:13px;font-weight:800;color:#4d6c7f}.progress-track{height:9px;background:#edf3f7;overflow:hidden;border-radius:20px}.progress-fill{height:100%;background:linear-gradient(90deg,#0c8f99,#35b8bf);width:10%;border-radius:20px;transition:width .25s}.question-card{background:#f8fbfd;padding:23px 25px;border:1px solid #e2edf3;border-radius:19px;margin-top:25px}.topic{color:#007b8c;background:#e5f4f6;display:inline-block;padding:6px 12px;border-radius:8px;font-size:12px;font-weight:800;margin-bottom:11px}.question-card h3{font-size:clamp(19px,3vw,23px);line-height:1.8;margin:6px 0 24px;color:#0c375b}.answer-options{display:grid;gap:11px}.answer{border:1px solid #d8e6ed;border-radius:13px;background:#fff;display:flex;align-items:start;gap:13px;width:100%;padding:16px;text-align:start;line-height:1.75;color:#224e6a;transition:border-color .15s,background .15s}.answer:hover:not(:disabled){border-color:#80bdcf;background:#fbfeff}.answer.selected{border-color:#0c8f9f;background:#edfafb;box-shadow:0 0 0 2px #14a1af15}.answer-letter{border:1px solid #cfe0e6;border-radius:9px;display:grid;place-items:center;min-width:36px;height:36px;font-weight:900;color:#0b7290;background:#f4fbfd}.answer-body{font-size:15px;font-weight:600;flex:1}.answer:disabled{opacity:1;cursor:default}.answer.locked.selected{border-color:#8ca9ba}.quiz-buttons{margin-top:23px}.feedback{display:flex;gap:10px;align-items:center;border-radius:13px;padding:17px 19px;margin-top:17px;border:1px solid;flex-wrap:wrap}.feedback.good{background:#eaf9ed;border-color:#bfe9cb;color:var(--ok)}.feedback.bad{background:#fef1ef;border-color:#f4cbc5;color:var(--bad)}.feedback.preview{background:#ecf7fb;border-color:#d0e9f1;color:#236b86}.feedback-icon{width:31px;height:31px;border-radius:50%;background:#ffffffad;display:grid;place-items:center;font-size:18px;font-weight:900}.feedback strong{font-size:18px}.feedback span:last-child{font-size:12px;flex-basis:100%}.finished{text-align:center;padding:72px 35px}.finished-icon{display:grid;place-items:center;font-size:47px;font-weight:bold;color:#188d58;background:#e6f8ec;border-radius:50%;width:90px;height:90px;margin:0 auto 25px}.finished h2{font-size:29px;color:#10395e}.finished p{max-width:500px;margin:14px auto 28px;color:#678092;line-height:1.9}.finished .button{margin:auto}footer{display:flex;gap:12px;justify-content:space-between;color:#8194a2;font-size:11px;padding:18px 8px;margin-top:14px}body[dir='ltr'] .topbar-inner,body[dir='ltr'] .brand{direction:ltr}body[dir='ltr'] .answer{text-align:left}body[dir='ltr'] .entry-form input{text-align:left}@media(max-width:650px){.topbar-inner{padding:12px 15px;min-height:74px}.brand img{width:44px;height:44px}.brand b{font-size:18px}.brand span{font-size:10px}.version{display:none}.top-actions .button{font-size:12px;padding:10px}.page{padding:20px 12px}.hero-top{height:15px}.small-label{display:none}.panel{padding:27px 18px 24px;border-radius:22px}.intro-icon{display:none}.eyebrow{font-size:10px;letter-spacing:2px}.panel h1{font-size:26px}.entry-form{grid-template-columns:1fr;gap:15px}.wide{grid-column:1}.entry-form input,.entry-form select{min-height:52px}.button-submit{font-size:18px;min-height:56px}.quiz-heading h2{font-size:22px}.sound-toggle{font-size:11px;padding:9px}.question-card{padding:16px 13px}.answer{padding:13px 10px;gap:10px}.answer-letter{min-width:32px;height:32px}.answer-body{font-size:14px}footer{padding-inline:6px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* V1.1 · Prize-led loading and encouragement, no promised prize details */
.prize-splash{position:fixed;inset:0;z-index:9999;min-height:100dvh;padding:42px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden;background:radial-gradient(circle at 50% 22%,#326183 0%,#133b61 38%,#082b48 100%);color:#fff;transition:opacity .42s ease,visibility .42s ease}
.prize-splash.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.prize-splash:before,.prize-splash:after{content:"";width:460px;height:460px;border:1px solid #ffffff16;border-radius:50%;position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);pointer-events:none}
.prize-splash:after{width:690px;height:690px;border-color:#ffffff0d}
.prize-stage{position:relative;display:flex;align-items:center;justify-content:center;width:270px;height:195px;margin-bottom:15px;z-index:2}
.prize-trophy{font-size:104px;filter:drop-shadow(0 22px 22px #030f2159);animation:prizeUp 2.3s ease-in-out infinite}
.prize-float{position:absolute;font-size:50px;filter:drop-shadow(0 10px 12px #081b3588)}
.prize-float-left{inset-inline-start:0;bottom:2px;transform:rotate(-17deg);animation:floatLeft 2.8s ease-in-out infinite}
.prize-float-right{inset-inline-end:0;top:9px;transform:rotate(14deg);animation:floatRight 2.7s ease-in-out infinite}
.prize-splash-title{position:relative;z-index:2;font-size:clamp(26px,5vw,40px);font-weight:900;margin:0 0 14px}
.prize-splash-text{font-size:clamp(14px,2.3vw,19px);color:#d8eafa;position:relative;z-index:2}
.prize-loading-track{position:relative;z-index:2;width:min(260px,74vw);height:7px;border-radius:20px;background:#ffffff2a;overflow:hidden;margin:35px auto 20px}
.prize-loading-track span{display:block;width:35%;height:100%;border-radius:20px;background:linear-gradient(90deg,#ffc16a,#f58404,#ffe3a4);animation:prizeProgress 1.6s ease-in-out infinite alternate}
.prize-splash-brand{position:relative;z-index:2;font-size:11px;font-weight:800;color:#a9cee2;letter-spacing:2px}
.prize-confetti{position:absolute;inset:0;pointer-events:none}
.prize-confetti i{position:absolute;top:-6%;width:10px;height:17px;border-radius:3px;background:#ffb553;animation:confettiRain 5s linear infinite;opacity:.8}
.prize-confetti i:nth-child(1){left:12%;animation-delay:.2s;background:#4ab1ca}.prize-confetti i:nth-child(2){left:26%;animation-delay:1.4s}.prize-confetti i:nth-child(3){left:39%;animation-delay:2.3s;background:#fff0be}.prize-confetti i:nth-child(4){left:55%;animation-delay:0.8s;background:#5fd1ae}.prize-confetti i:nth-child(5){left:70%;animation-delay:2.8s}.prize-confetti i:nth-child(6){left:82%;animation-delay:1.9s;background:#7bc8e8}.prize-confetti i:nth-child(7){left:92%;animation-delay:4.1s;background:#ffe3a4}.prize-confetti i:nth-child(8){left:6%;animation-delay:3.2s;background:#b7e9fb}
.prize-teaser{display:flex;align-items:center;gap:15px;padding:16px 18px;margin:14px 0 23px;border-radius:16px;background:linear-gradient(107deg,#fff3d6,#fffaf0 67%,#f2f9fb);border:1px solid #f6dca4}
.prize-teaser-mark{background:#fff;display:grid;place-items:center;font-size:35px;width:60px;height:60px;min-width:60px;border-radius:15px;box-shadow:0 5px 15px #a76e1a15}
.prize-teaser-copy{flex:1;display:flex;flex-direction:column;gap:5px}.prize-teaser-copy strong{font-size:17px;color:#9b5810}.prize-teaser-copy span{font-size:13px;line-height:1.7;color:#7a6342}.prize-teaser-gift{font-size:30px}
.next-hint{text-align:center;color:#6d8293;font-size:12px;line-height:1.7;margin:9px 0 0}.next-hint.ready{color:#177c54;font-weight:800}
#next-answer:disabled{opacity:.43;background:#8ea5b4;box-shadow:none}
@keyframes prizeUp{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-14px) rotate(3deg)}}
@keyframes floatLeft{0%,100%{transform:translateY(0) rotate(-16deg)}50%{transform:translateY(-9px) rotate(-5deg)}}
@keyframes floatRight{0%,100%{transform:translateY(0) rotate(15deg)}50%{transform:translateY(12px) rotate(6deg)}}
@keyframes prizeProgress{0%{transform:translateX(-170%)}100%{transform:translateX(440%)}}
@keyframes confettiRain{0%{transform:translateY(-30px) rotate(0deg);opacity:0}15%{opacity:.75}87%{opacity:.8}100%{transform:translateY(110vh) rotate(540deg);opacity:0}}
@media(max-width:650px){.prize-teaser{gap:9px;padding:12px 11px}.prize-teaser-mark{width:45px;height:45px;min-width:45px;font-size:26px}.prize-teaser-copy strong{font-size:14px}.prize-teaser-copy span{font-size:11px}.prize-teaser-gift{font-size:24px}}
@media(prefers-reduced-motion:reduce){.prize-splash *,.prize-splash:before,.prize-splash:after{animation:none!important}.prize-splash.is-hidden{transition:none}}

/* V1.2: invitation is checked from private link, never typed. */
#invitation-message{padding:12px 14px;border:1px solid #b7d3e9;background:#edf7ff;border-radius:12px;color:#184e74;font-size:13px;line-height:1.7}
