:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#142e56;background:#f2f5fa;font-synthesis:none;--blue:#164fc1;--navy:#132f62;--muted:#66758a;--border:#dce4ef}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}a{color:var(--blue);text-decoration:none}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 18px;border:1px solid var(--border);border-radius:10px;background:white;color:var(--navy);font-weight:600;cursor:pointer;transition:background .15s,box-shadow .15s}button:hover,.button:hover{background:#edf3ff}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}.primary{background:var(--blue);color:white;border-color:var(--blue)}.primary:hover{background:#103e9c}.wide{width:100%;margin-top:14px}.danger{background:#8a2144;color:white;border:0}.danger:hover{background:#6d1935}h1,h2,h3,p{margin-top:0}h1{font-size:38px;line-height:1.2;letter-spacing:-1.1px;margin-bottom:22px}h2{font-size:25px;line-height:1.25;letter-spacing:-.5px}h3{font-size:20px;line-height:1.45;margin:16px 0}p{line-height:1.6}.header{max-width:1400px;margin:auto;padding:26px 40px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;gap:12px;align-items:center;color:var(--navy);font-size:22px;font-weight:750}.brand-icon{display:grid;place-items:center;background:var(--navy);color:white;width:44px;height:44px;border-radius:13px}.brand small{display:block;font-size:11px;letter-spacing:.5px;font-weight:500;color:var(--muted);margin-top:4px}.header-label{font-size:12px;letter-spacing:1.5px;color:var(--muted);text-transform:uppercase}.eyebrow{display:block;font-size:11px;line-height:1.5;font-weight:750;letter-spacing:1.8px;color:var(--blue);margin-bottom:18px}.card{background:white;border:1px solid var(--border);border-radius:20px;padding:34px;box-shadow:0 9px 30px #15316205}.welcome{max-width:1160px;margin:55px auto 65px;display:grid;grid-template-columns:1.1fr 1fr;gap:76px;padding:0 30px;align-items:center}.welcome h1{font-size:49px;letter-spacing:-1.8px}.lead{font-size:19px;color:#596c86}.facts{display:flex;gap:28px;margin:30px 0}.facts span{color:var(--muted);font-size:13px}.facts b{font-size:26px;display:block;color:var(--navy);margin-bottom:3px}.how{display:grid;grid-template-columns:30px 1fr;gap:12px;font-size:14px;align-items:center;margin-top:34px}.how>span{color:var(--blue);font-weight:700;font-size:12px}.how p{margin:0}.register-card{padding:38px}.muted{color:var(--muted);font-size:14px}.fine{font-size:12px;color:var(--muted);margin-top:20px;margin-bottom:0}.check{display:flex!important;align-items:flex-start;gap:10px;font-weight:400!important;line-height:1.5;font-size:12px!important;margin:20px 0!important}.check input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:var(--blue)}label{display:block;font-size:13px;font-weight:650;margin:22px 0 8px}input,textarea,select{width:100%;border:1px solid #cbd6e5;border-radius:9px;padding:13px 14px;background:#fbfcfe;color:var(--navy);min-height:48px}textarea{min-height:95px;resize:vertical}select{appearance:none;padding-right:48px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23164fc1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 17px center}.primary span{margin-left:auto}footer{text-align:center;color:#8491a4;font-size:12px;margin:30px}.player{max-width:780px;margin:22px auto 50px;padding:0 24px}.player-line{display:flex;justify-content:space-between;gap:20px;font-size:13px;margin-bottom:18px;color:var(--muted)}.question-top{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.question-top .eyebrow{margin:0 auto 0 0}.pill{padding:7px 10px;border-radius:20px;background:#edf1f6;font-size:11px;color:var(--muted);white-space:nowrap}.pill.live{background:#e3f4ee;color:#08724f}.timer{font:700 18px ui-monospace,SFMono-Regular,monospace;background:#e5edff;color:#1549ab;padding:7px 11px;border-radius:8px}.question-title{font-size:28px;line-height:1.35;letter-spacing:-.5px;margin:26px 0}.answers{display:grid;gap:12px}.answer{display:flex;justify-content:flex-start;align-items:center;text-align:left;gap:15px;padding:17px 18px;width:100%;font-size:16px;line-height:1.5;font-weight:500;border:1px solid var(--border);border-radius:12px;background:white}.letter{flex:0 0 35px;width:35px;height:35px;display:grid;place-items:center;background:#eff3fa;border-radius:9px;font-weight:700;color:var(--blue)}.answer.chosen{background:#eaf6ef;border-color:#25a26d;opacity:1;color:#166746}.answer:disabled{opacity:.65}.answer.chosen:disabled{opacity:1}.tick{margin-left:auto;font-size:22px}.answer-note{font-size:13px;color:var(--muted);margin:23px 0 0}.success{color:#16734f}.waiting{text-align:center;padding:50px 28px}.waiting-icon{display:grid;place-items:center;margin:0 auto 25px;width:66px;height:66px;background:#e5f4ed;border-radius:50%;font-size:30px;color:#19875a}.waiting-info{display:flex;gap:10px;align-items:center;justify-content:center;padding:20px;margin:25px 0;background:#f5f8fc;border-radius:12px;font-size:14px}.dot{width:8px;height:8px;border-radius:50%;background:#1c8e64}.connection{text-align:center;font-size:11px;color:#618171;margin:22px}.offline .connection{font-size:0;color:#9d4d22}.offline .connection:after{font-size:12px;content:'Связь потеряна. Переподключаемся…'}.score{display:flex;align-items:center;gap:25px;margin:25px 0 35px;padding:24px;background:#edf4ff;border-radius:14px}.score strong{font-size:55px;color:var(--blue)}.score small{font-size:22px;color:#687f9e}.score>span{font-size:13px;line-height:1.7}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{color:var(--muted);font-weight:500;font-size:11px;padding:14px 10px;background:#f4f7fb}td{padding:14px 10px;border-bottom:1px solid #eaf0f6;line-height:1.4}td:first-child{width:55px}.place{font-weight:700;color:var(--blue)}.login{max-width:510px;margin:60px auto;padding:0 20px}.login h1{font-size:30px}.text-link{display:block;font-size:13px;margin-top:22px}.admin{max-width:1350px;margin:20px auto 50px;padding:0 35px}.admin-title{display:flex;justify-content:space-between;gap:30px;align-items:center;margin:20px 0}.admin-title h1{font-size:29px;max-width:560px}.actions{display:flex;gap:9px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0}.stats .card{padding:24px;display:flex;gap:16px;align-items:center}.stats strong{font-size:32px}.stats span{font-size:12px;color:var(--muted)}.admin-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:20px 0}.section-heading h2{margin:0;font-size:22px}.question-admin{padding:26px;margin-bottom:18px}.question-admin.active{border-color:#4e8bdf;box-shadow:0 0 0 3px #dceaff}.admin-options{list-style:none;margin:0 0 22px;padding:0;font-size:14px;color:var(--muted)}.admin-options li{padding:9px 11px;line-height:1.5}.admin-options .correct{background:#edf7f1;border-radius:8px;color:#17704c}.results-panel{margin-top:62px;padding:25px;position:sticky;top:20px}.qr{display:block;width:100%;aspect-ratio:1;margin:20px auto}.qr.small{width:145px}.results-panel .text-link{text-align:center}.reset-panel{margin-top:24px;border-color:#edcdd7}.reset-panel h2{font-size:20px}.screen-shell{min-height:100vh;background:linear-gradient(#f3f7ffed,#f3f7ffed),url('/screen-background-vladivostok.png') center/cover}.screen-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:26px;max-width:1600px;padding:20px 42px 35px;margin:auto}.screen-main{padding:40px}.screen-title{font-size:58px;margin-top:35px;line-height:1.15}.screen-main .question-title{font-size:35px}.screen-answers{grid-template-columns:1fr 1fr;margin-top:35px}.screen-answers .answer{font-size:22px;min-height:120px}.qr-panel{text-align:center;padding:26px 20px;height:fit-content}.site-address{font-size:15px}.qr-panel p{font-size:14px;color:var(--muted);margin:18px 0}.screen-stat{padding:20px 0 0;margin-top:20px;border-top:1px solid var(--border)}.screen-stat strong{display:block;font-size:38px}.screen-stat span{font-size:13px;color:var(--muted)}.screen-main table{font-size:17px}.screen-main td{padding:10px}.screen-main th{font-size:13px}.screen-main .timer{font-size:26px}.screen-main .pill{font-size:14px}.loading{padding:60px;text-align:center}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);background:#7f253d;color:white;border-radius:12px;padding:16px 24px;box-shadow:0 12px 35px #0003;z-index:50;font-size:14px;line-height:1.5}
@media(max-width:850px){.header{padding:20px 24px}.welcome{grid-template-columns:1fr;gap:30px;margin:25px auto;max-width:620px}.welcome h1{font-size:40px}.how{display:none}.facts{margin:22px 0}.admin-grid{grid-template-columns:1fr}.results-panel{position:static;margin:0 0 24px}.admin-title{display:block}.screen-layout{grid-template-columns:1fr 220px;padding:20px}.screen-title{font-size:38px}.screen-main{padding:25px}.screen-answers{grid-template-columns:1fr}.screen-answers .answer{min-height:auto;font-size:17px}.screen-main .question-title{font-size:25px}.section-heading .muted{display:none}}
@media(max-width:540px){.header{padding:18px}.brand{font-size:19px}.header-label{font-size:9px;letter-spacing:.6px}.brand-icon{width:38px;height:38px}.welcome{padding:0 20px;margin-top:20px;gap:20px}.welcome h1{font-size:35px}.lead{font-size:16px}.register-card,.card{padding:24px}.welcome .facts{margin-bottom:0}.register-card h2{font-size:24px}.player{padding:0 14px;margin-top:14px}.player-line{font-size:11px}.player-line span:first-child{max-width:65%}.question-title{font-size:23px}.answer{font-size:15px;padding:13px;gap:10px}.question-top{gap:8px}.timer{font-size:15px}.pill{font-size:10px}.eyebrow{font-size:10px}.waiting h1{font-size:30px}.admin{padding:0 15px}.admin-title h1{font-size:25px}.admin .actions{gap:6px}.admin .actions button,.admin .actions .button{padding:10px 12px;font-size:12px}.stats{gap:8px}.stats .card{padding:15px 10px;display:block}.stats strong{font-size:25px;display:block;margin-bottom:6px}.stats span{font-size:10px;line-height:1.3;display:block}.question-admin h3{font-size:17px}.admin-options{font-size:13px}.screen-layout{grid-template-columns:1fr}.qr-panel{max-width:350px;width:100%;margin:auto}.screen-main .question-title{font-size:24px}.screen-title{font-size:35px}.score{gap:15px;padding:16px}.score strong{font-size:42px}th,td{padding:10px 7px}table{min-width:490px}.login{margin-top:30px}.screen-main table{font-size:13px}}
