:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:#071226;color:#f2f6ff;--accent:#71d9ed;--border:#344c70;--muted:#b5c8e3;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:300px;min-height:100svh;background:radial-gradient(ellipse at top right,#173c6266,transparent 55%),#071226}button,input,select{font:inherit}button,summary,a,input,select{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer;border:1px solid #55749b;border-radius:11px;background:#203757;color:#f2f6ff;padding:11px 16px;font-weight:650;min-height:44px;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#2c4c74;transform:translateY(-1px)}button:disabled{opacity:.42;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:#08243d;font-weight:800}button.primary:hover:not(:disabled){filter:brightness(1.08)}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}[hidden]{display:none!important}.app{width:min(1280px,100%);padding:0 30px;margin:auto;min-height:100svh;display:flex;flex-direction:column}.header{display:flex;align-items:center;gap:22px;padding:17px 0;border-bottom:1px solid #38507188}.school-brand{flex-shrink:0;display:block;background:#e43433;border-radius:12px;padding:8px 12px;line-height:0}.school-brand img{display:block;width:170px;height:auto}.heading{flex:1;min-width:0}.heading h1{font-size:clamp(23px,3vw,34px);margin:0;letter-spacing:-.8px}.heading p{color:var(--muted);margin:6px 0 0;font-size:13px}.header-actions{display:flex;gap:8px;align-items:center}.header-actions a{padding:10px 12px;border:1px solid #55749b;border-radius:10px;font-size:13px;min-height:44px;display:grid;place-items:center}.header-actions button{font-size:13px}main{flex:1;padding:22px 0}.settings{background:#12243d;border:1px solid var(--border);border-radius:16px;padding:15px 19px;margin-bottom:18px}.settings summary{font-size:15px;font-weight:750;cursor:pointer;color:#dbe8fc}.settings-content{padding-top:15px}.settings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}label.field{display:flex;flex-direction:column;gap:7px;align-items:stretch;font-size:12px;color:#c9d9ef;font-weight:650}select,input[type=number]{width:100%;min-width:0;background:#0a192d;color:#f2f6ff;border:1px solid #6682a5;border-radius:9px;padding:10px;min-height:43px}input[type=range]{width:125px;accent-color:var(--accent)}.check-field{display:flex;align-items:center;gap:9px;font-size:13px;color:#c9d9ef}.check-field input{accent-color:var(--accent);width:17px;height:17px;flex-shrink:0}.settings-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:15px}.save-note{font-size:12px;line-height:1.6;color:#a9c0dd;margin:10px 0 0}.save-note:empty{display:none}.summary-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between;font-size:12px;color:#bcd0eb;margin-bottom:12px}.pill{border:1px solid #5a7a9c;color:var(--accent);background:#132c48;border-radius:20px;padding:6px 12px;font-size:11px;font-weight:800;letter-spacing:1px}.stage{position:relative;background:linear-gradient(130deg,#152c49,#0c1c32);border:1px solid #41618a;border-radius:23px;padding:24px;overflow:hidden;min-height:390px}.stage-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.stage-head h2{font-size:clamp(22px,3vw,32px);letter-spacing:-.7px;margin:0}.time{color:var(--accent);font-variant-numeric:tabular-nums;font-size:27px;font-weight:800;white-space:nowrap}.instruction{color:#c5d8f1;text-align:center;font-size:15px;line-height:1.7;margin:15px 0 0;min-height:25px}.progress{height:5px;background:#2f496b;border-radius:9px;overflow:hidden;margin-top:20px}.progress>div{height:100%;width:0;background:var(--accent);border-radius:9px;transition:width .12s linear}.actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:18px 0 12px}.status{color:#bdd2ec;text-align:center;line-height:1.6;font-size:13px;min-height:22px;margin:10px 0}.answer{border:1px solid #76d2c2;background:#12433e;color:#dbfff5;border-radius:13px;padding:14px 18px;margin-top:16px;text-align:center;line-height:1.7;font-size:16px}.help{padding:12px 17px;background:#112139;border:1px solid var(--border);border-radius:12px;color:#b5cae5;font-size:13px;line-height:1.7;margin-top:18px}.help summary{cursor:pointer;font-weight:700}.help p{margin-bottom:0}.footer{padding:20px 0 23px;display:flex;justify-content:space-between;gap:15px;border-top:1px solid #38507188;color:#9eb5d1;font-size:11px}.welcome-message{display:flex;min-height:220px;align-items:center;justify-content:center;flex-direction:column;gap:9px;text-align:center;color:#d1e5ff}.welcome-message strong{font-size:29px;letter-spacing:-.6px}.welcome-message p{max-width:480px;line-height:1.8;color:#aec7e3;margin:8px 0}fieldset{min-width:0}.difficulty{display:flex;gap:8px;flex-wrap:wrap}.difficulty button{font-size:12px;padding:9px 14px}.difficulty-label{font-size:12px;color:var(--muted)}@media(max-width:820px){.app{padding:0 20px}.header{gap:15px}.school-brand img{width:145px}.header-actions{flex-direction:column}.header-actions button,.header-actions a{font-size:11px;padding:8px 10px;width:100%}.heading h1{font-size:25px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stage{padding:20px}}@media(max-width:560px){.app{padding:0 14px}.header{flex-wrap:wrap;padding:14px 0;gap:14px}.school-brand img{width:125px}.heading h1{font-size:23px}.heading p{font-size:11px}.header-actions{width:100%;flex-direction:row}.header-actions button,.header-actions a{font-size:12px;flex:1;min-height:40px}.settings{padding:13px 15px}.settings-grid{gap:11px}.stage{padding:17px 13px;border-radius:18px;min-height:330px}.stage-head{align-items:flex-start;margin-bottom:15px}.stage-head h2{font-size:23px}.time{font-size:23px}.instruction{font-size:13px}.actions{gap:8px}.actions button{font-size:12px;padding:10px 12px}.footer{font-size:10px}.welcome-message strong{font-size:24px}.welcome-message p{font-size:13px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.objects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;min-height:245px;align-content:center}.object{min-height:105px;border:1px solid #6485a6;border-radius:17px;background:linear-gradient(135deg,#275477,#193653);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:13px 6px;min-width:0}.object .picture{font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:48px;line-height:1.15}.object .object-name{font-size:13px;font-weight:700;text-align:center;color:#ecf6ff}.object.empty{background:#0d1e33;border-style:dashed;border-color:#385775}.object.empty .picture{font-size:33px;color:#6283a8}.object.changed{outline:3px solid #83efcd;outline-offset:2px;background:#164b49}.curtain{min-height:245px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;background:repeating-linear-gradient(45deg,#203a58,#203a58 12px,#1b334f 12px,#1b334f 24px);border:1px solid #557a9f;border-radius:17px;color:#ddedff}.curtain strong{font-size:32px}.curtain span{font-size:14px;color:#c1d5ed}@media(max-width:560px){.objects{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.object{min-height:96px;border-radius:12px;padding:11px 4px}.object .picture{font-size:37px}.object .object-name{font-size:11px}.curtain{min-height:250px}.curtain strong{font-size:26px}}
