:root{--purple:#6324c7;--deep:#32115b;--bg:#f6f5fa;--ink:#241733;--muted:#70677d;--border:#e2dfea;--tint:#ece3ff;--red:#db2345;--blue:#1565cc;--amber:#be8000;--green:#21764b;--radius:12px;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--purple);text-decoration:none}a:hover{text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.18;letter-spacing:-1px;font-weight:850;margin-bottom:10px}h2{font-size:22px;letter-spacing:-.45px;line-height:1.3;font-weight:750}h3{font-size:18px;line-height:1.4;margin-bottom:6px}p{line-height:1.6}input,textarea,select{width:100%;border:1px solid #d9d4e3;border-radius:8px;background:#fff;color:var(--ink);padding:12px 14px;min-height:46px;transition:border-color .15s,box-shadow .15s}input::placeholder,textarea::placeholder{color:#93899f}textarea{resize:vertical}input:focus,textarea:focus,select:focus{outline:0;border-color:var(--purple);box-shadow:0 0 0 3px #6324c71c}input[type=radio]{width:20px;height:20px;min-height:20px;accent-color:var(--purple);flex-shrink:0}label{display:block;font-size:14px;font-weight:650;margin-bottom:8px}label:not(:first-child){margin-top:20px}:focus-visible{outline:3px solid #bda0f5;outline-offset:4px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border-radius:8px;border:1px solid transparent;font-size:15px;font-weight:700;min-height:46px;white-space:nowrap;transition:background .15s,transform .15s;line-height:1.3}.button:hover{transform:translateY(-1px)}.button:active{transform:translateY(1px)}.primary{background:var(--purple);color:#fff;box-shadow:0 3px 0 #461392}.primary:hover{background:#5320a9}.secondary{background:#fff;border-color:#d9c9f4;color:var(--purple)}.tint{background:var(--tint);color:var(--purple)}.subtle{background:transparent;color:var(--muted);border-color:var(--border)}.small{padding:9px 16px;min-height:39px;font-size:14px}.full{width:100%}.icon{width:20px;height:20px;flex-shrink:0}.muted{color:var(--muted);font-size:15px}.hint{font-size:12px;line-height:1.65;color:var(--muted);margin-top:9px}.hidden,[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.text-button{border:0;background:transparent;display:inline-flex;gap:10px;align-items:center;padding:8px 0;font-size:14px;font-weight:650;color:inherit}.purple-text{color:var(--purple)}.danger-text{color:#ba2243!important}.icon-button{border:0;background:transparent;color:var(--muted);padding:8px;display:inline-flex;align-items:center;justify-content:center}.brand{font-size:36px;font-weight:900;letter-spacing:-1.8px;line-height:1.2;color:inherit}.brand-dot{display:none}.shapes{display:inline-flex;align-items:center;gap:10px;height:24px}.shapes i{display:inline-block;width:18px;height:18px;flex-shrink:0}.triangle{background:var(--red);clip-path:polygon(50% 0,100% 100%,0 100%)}.diamond{background:#217ae1;transform:rotate(45deg);width:15px!important;height:15px!important;margin:0 2px}.circle{background:#e0a119;border-radius:50%}.square{background:#258b51}.brand-link{display:flex;flex-direction:column;gap:12px;padding:0 16px;color:white}.workspace{min-height:100vh;display:grid;grid-template-columns:228px minmax(0,1fr)}.sidebar{background:var(--deep);color:#fff;padding:34px 16px 24px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar nav{display:flex;flex-direction:column;gap:9px;margin-top:44px}.sidebar nav a{color:#eee8f8;display:flex;align-items:center;gap:12px;padding:15px 16px;border-radius:8px;font-size:15px;font-weight:600}.sidebar nav a.active{background:#6531ac;color:#fff}.sidebar nav a:hover{background:#ffffff14}.sidebar nav a.active:hover{background:#7139bf}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff1a;padding:23px 16px 0;display:flex;flex-direction:column;gap:10px}.sidebar-bottom>span{font-size:12px;color:#baa3d6}.workspace-main{padding:42px 44px 24px;max-width:1500px;width:100%;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{margin-bottom:0}.welcome-band{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 30px;background:#eae0ff;border-radius:12px;margin-bottom:34px}.welcome-band h2{font-size:23px;margin-bottom:7px}.welcome-band p{font-size:14px;margin-bottom:0;color:#44305f}.welcome-action{display:flex;align-items:center;gap:14px;flex-direction:column;flex-shrink:0}.welcome-action .shapes{gap:13px}.welcome-action .shapes i{width:23px;height:23px}.welcome-action .shapes .diamond{width:19px!important;height:19px!important}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.section-heading h2{font-size:18px;margin:0}.count{display:inline-flex;align-items:center;justify-content:center;margin-left:7px;font-size:12px;background:#eae6f1;color:#70617e;border-radius:20px;padding:4px 9px;vertical-align:middle}.search-label{margin:0!important}.search-label input{min-height:39px;font-size:13px;width:210px;padding:9px 12px}.quiz-row{display:flex;align-items:center;gap:20px;background:#fff;border:1px solid #ece9f2;border-radius:12px;padding:20px;margin-bottom:12px;box-shadow:0 2px 3px #27143f02}.quiz-thumbnail{width:72px;height:66px;border-radius:8px;background:#f5f3f9;flex-shrink:0;display:grid;place-items:center}.quiz-thumbnail .shapes{display:grid;grid-template-columns:18px 18px;gap:8px;height:auto}.quiz-info{min-width:0;flex:1}.quiz-info h3{font-size:17px;margin:0 0 5px;overflow-wrap:anywhere}.quiz-info p{font-size:13px;margin:0;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:44vw}.separator{margin:0 8px}.row-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.menu{position:relative}.menu summary{list-style:none;cursor:pointer;padding:8px;color:var(--purple);letter-spacing:2px}.menu summary::-webkit-details-marker{display:none}.menu-panel{position:absolute;right:0;top:100%;min-width:160px;padding:6px;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #21122c22;z-index:5}.menu-panel button{display:block;width:100%;border:0;background:#fff;text-align:left;font-size:14px;padding:12px;border-radius:6px;color:var(--ink)}.menu-panel button:hover{background:var(--bg)}.workspace-footer{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:40px;padding:20px 0;font-size:12px;color:#8a8096}.workspace-footer .shapes{transform:scale(.6);transform-origin:right center;margin-left:-24px}.empty-state{text-align:center;padding:60px 20px;border:1px dashed #d9cfe7;border-radius:12px;background:#ffffff70}.empty-state h2{font-size:22px}.empty-mark{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:var(--tint);color:var(--purple);margin:0 auto 22px}.empty-mark .icon{width:28px;height:28px}.history-table{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}.history-row{display:grid;grid-template-columns:2fr 1.3fr 1fr 1.5fr;align-items:center;gap:18px;padding:18px 22px;border-bottom:1px solid var(--border);font-size:14px}.history-row:last-child{border:0}.history-row small{display:block;color:var(--muted);margin-top:6px}.table-head{font-size:12px;font-weight:750;color:var(--muted);background:#faf9fc}.status-badge{font-size:12px;color:var(--purple);background:var(--tint);padding:5px 10px;border-radius:6px;justify-self:start}.center-page{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:44px 20px}.purple,.game-screen{background:#46158b;background-image:radial-gradient(ellipse at 30% 10%,#6428b8 0,transparent 65%);color:#fff}.auth-brand{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:30px;color:#fff}.auth-brand .brand{font-size:56px;letter-spacing:-3px}.auth-brand .shapes{gap:14px}.auth-card{width:100%;max-width:410px;background:white;color:var(--ink);border-radius:12px;box-shadow:0 14px 55px #16052730;padding:30px}.auth-card h1{font-size:26px;letter-spacing:-.7px;margin-bottom:12px}.auth-card h2{font-size:25px}.auth-card .button{margin-top:22px}.auth-card input{min-height:50px}.auth-card input.pin-input{text-align:center;font-size:25px;font-weight:750;letter-spacing:5px}.quiet-link{display:block;text-align:center;color:var(--muted);font-size:13px;margin-top:22px}.auth-note{font-size:13px;color:#d5c1ef;margin-top:28px;margin-bottom:0}.form-error{color:#aa1938;background:#fff0f3;border-radius:8px;padding:10px 12px;font-size:13px;margin:12px 0 0;line-height:1.5}.boot{text-align:center;padding:100px 20px;color:var(--purple)}.boot strong{font-size:48px}.boot p{margin-top:16px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#241733;color:#fff;padding:14px 22px;border-radius:10px;box-shadow:0 5px 25px #0002;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:calc(100vw - 32px);font-size:14px}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#9c2041}.editor{min-height:100vh}.editor-header{height:90px;border-bottom:1px solid var(--border);padding:18px 28px;display:flex;align-items:center;gap:28px;background:white}.editor-header h1{font-size:26px;margin:0;flex:1}.editor-grid{display:grid;grid-template-columns:210px minmax(300px,1fr) 260px;gap:24px;padding:24px;max-width:1600px;margin:auto}.question-sidebar{padding:8px 0}.overline{font-size:11px;font-weight:750;letter-spacing:1.5px;color:var(--muted);display:flex;justify-content:space-between;padding:0 10px;margin-bottom:16px}.question-list{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.question-item{display:flex;align-items:center;gap:12px;padding:14px 12px;text-align:left;min-height:54px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink);font-size:14px;width:100%}.question-item span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.question-item.selected{background:#e9ddff;border-color:#d7c3fb;color:#46158b;font-weight:700}.question-number{font-weight:750;flex-shrink:0}.question-order{display:flex;gap:8px;margin-top:12px}.question-order button{flex:1}.editor-canvas{min-width:0}.quiz-meta,.question-edit,.settings-panel{background:#fff;border:1px solid #eeeaf3;border-radius:12px;padding:24px}.quiz-meta{margin-bottom:20px}.question-edit textarea{font-weight:650;font-size:20px;line-height:1.5;min-height:120px;background:#fdfcfe}.question-edit .section-heading .muted{font-size:12px}.answer-help{font-size:12px;color:var(--muted);margin:20px 0 16px}.answer-input-row{display:flex;align-items:center;gap:12px;margin-bottom:12px}.answer-input-row input:not([type=radio]){min-width:0}.answer-symbol{width:46px;height:46px;display:grid;place-items:center;border-radius:8px;flex-shrink:0;color:#fff}.answer-symbol svg{width:24px;height:24px;fill:currentColor}.answer-0{background:var(--red)}.answer-1{background:var(--blue)}.answer-2{background:var(--amber)}.answer-3{background:var(--green)}.settings-panel{align-self:start}.settings-panel h2{font-size:17px;margin-bottom:25px}.settings-panel label{margin-top:24px;font-size:13px}.settings-panel select,.settings-panel input{font-size:13px;padding:11px;min-height:42px}.optional{font-size:11px;color:var(--muted);font-weight:400}.settings-actions{border-top:1px solid var(--border);margin-top:28px;padding-top:22px;display:flex;gap:10px;flex-direction:column}.image-preview img{max-width:100%;max-height:220px;object-fit:contain;display:block;margin:16px auto}.preview-dialog{border:1px solid var(--border);border-radius:16px;max-width:700px;width:calc(100vw - 40px);max-height:85vh;padding:28px;color:var(--ink)}dialog::backdrop{background:#1d0b3588}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-heading h2{margin:0}.preview-question{margin-top:24px;border-top:1px solid var(--border);padding-top:24px}.preview-question li{padding:6px}.preview-question strong{color:var(--green)}
/* Shared live host and player screens */
.game-screen{min-height:100vh;padding:26px 32px 24px;display:flex;flex-direction:column}.game-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1400px;width:100%;margin:0 auto}.game-brand{display:flex;flex-direction:column;gap:6px;color:#fff}.game-brand .brand{font-size:32px}.game-brand .shapes{transform:scale(.75);transform-origin:left center;height:18px}.game-tools{display:flex;align-items:center;gap:10px}.game-screen .ghost{background:#ffffff12;border-color:#ffffff40;color:#fff;box-shadow:none}.game-screen .light{background:#fff;color:var(--purple);box-shadow:0 4px 0 #d0bde8}.game-header .question-counter{font-size:15px;font-weight:700}.game-main{width:100%;max-width:1200px;margin:auto;text-align:center;padding:32px 0}.game-footer{max-width:1400px;width:100%;margin:20px auto 0;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#dbc9f3;gap:15px}.connection.reconnecting{background:#fbbf24;color:#2b1b04;padding:5px 10px;border-radius:6px}.lobby-intro{font-size:17px;margin-bottom:16px;color:#e3d5f8}.pin-panel{display:inline-flex;align-items:center;gap:30px;padding:22px 32px;border-radius:12px;background:white;color:var(--ink);margin-bottom:28px}.pin-panel .pin-label{font-size:13px;color:var(--muted);text-align:left;margin-bottom:4px}.pin-value{font-size:62px;font-weight:850;letter-spacing:8px;line-height:1.15;font-variant-numeric:tabular-nums}.qr-container{width:112px;height:112px}.qr-container canvas{width:112px!important;height:112px!important}.lobby-title{font-size:24px;margin-bottom:10px}.lobby-meta{color:#d7c3ed;font-size:14px}.player-cloud{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;min-height:100px;margin:30px auto;max-width:950px;align-content:center}.player-chip{display:flex;align-items:center;gap:12px;background:#ffffff18;border:1px solid #ffffff22;border-radius:8px;padding:12px 18px;font-size:19px;font-weight:700;overflow-wrap:anywhere}.player-chip button{color:#e2c9fd;margin-right:-8px}.waiting-empty{padding:28px;font-size:16px;color:#dac8f1}.lobby-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}.lobby-actions .button{min-width:150px}.timer{width:88px;height:88px;border:6px solid #b997e1;border-top-color:#fff;border-right-color:#fff;border-radius:50%;display:grid;place-items:center;font-size:32px;font-weight:850;margin:0 auto 28px;font-variant-numeric:tabular-nums}.timer.expired{border-color:#ee9bb0}.question-title{font-size:clamp(26px,3.2vw,44px);line-height:1.25;max-width:1050px;margin:0 auto 30px;overflow-wrap:anywhere;letter-spacing:-.7px}.question-image{max-height:220px;max-width:min(100%,700px);object-fit:contain;display:block;margin:0 auto 24px;border-radius:10px}.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;text-align:left}.answer-tile{border:2px solid #ffffff20;border-radius:12px;min-height:115px;display:flex;align-items:center;gap:24px;padding:24px 28px;box-shadow:0 4px 0 #0002;color:#fff;position:relative;font-weight:750;font-size:clamp(18px,2vw,25px);line-height:1.3;overflow-wrap:anywhere;text-align:left}.answer-tile svg{width:34px;height:34px;fill:currentColor;flex-shrink:0}.answer-tile:disabled{opacity:1}.answer-tile.incorrect{opacity:.38}.answer-tile.correct{border:3px solid white;box-shadow:0 0 0 3px #ffffff30}.answer-tile .answer-count{margin-left:auto;font-size:20px;white-space:nowrap}.answer-tile .correct-label{position:absolute;top:8px;right:12px;font-size:11px;font-weight:750;letter-spacing:1px}.question-bottom{margin-top:24px;display:flex;justify-content:center;gap:20px;align-items:center;color:#e3d4f6;font-size:14px}.question-bottom .button{color:white}.submitted-state{padding:50px 10px}.check-circle{width:86px;height:86px;display:grid;place-items:center;background:#ffffff18;border:2px solid #ffffff70;border-radius:50%;margin:0 auto 26px}.check-circle .icon{width:42px;height:42px}.submitted-state h1{font-size:30px}.submitted-state p{color:#decef3}.me-score{font-size:56px;font-weight:850;line-height:1.2;margin-bottom:12px;letter-spacing:-1px}.me-score small{display:block;font-size:13px;font-weight:400;color:#d9c8ef;letter-spacing:0;margin-top:10px}.ranking{max-width:760px;margin:28px auto 32px;text-align:left;display:flex;flex-direction:column;gap:10px}.rank-row{display:flex;align-items:center;gap:18px;background:#ffffff16;border:1px solid #ffffff1a;border-radius:9px;padding:17px 24px;min-height:64px}.rank-row.me{background:#fff;color:var(--purple)}.rank-number{font-size:22px;font-weight:850;width:30px;flex-shrink:0}.rank-name{flex:1;font-size:20px;font-weight:700;overflow-wrap:anywhere}.rank-score{font-size:23px;font-weight:850;font-variant-numeric:tabular-nums}.podium{display:flex;align-items:flex-end;justify-content:center;gap:14px;max-width:720px;margin:42px auto 35px;min-height:250px}.podium-place{flex:1;max-width:220px;display:flex;flex-direction:column;align-items:center;min-width:0}.podium-name{font-size:22px;font-weight:750;margin-bottom:9px;overflow-wrap:anywhere;width:100%}.podium-score{color:#e0c5fa;font-size:14px;margin-bottom:16px}.podium-block{background:#9864dc;border-radius:10px 10px 0 0;width:100%;height:150px;display:flex;align-items:center;justify-content:center;font-size:65px;font-weight:900;box-shadow:0 6px 0 #2e0c61}.podium-place.first .podium-block{height:210px;background:#fff;color:var(--purple)}.podium-place.third .podium-block{height:110px;background:#7444b4}.podium-crown{height:32px;font-size:30px;margin-bottom:12px}.podium-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.player-screen .game-main{max-width:700px}.player-screen .game-header .brand{font-size:24px}.player-screen .game-header .shapes{display:none}.player-screen .game-tools .button{padding:8px;min-height:38px}.player-screen .game-tools .tool-label{display:none}.player-name{font-size:14px;color:#eadcf8}.player-screen .game-footer{margin-top:auto}.join-caption{display:flex;justify-content:center;gap:10px;font-size:13px;color:#dfcef4;margin-top:28px}.joined-pin{display:inline-block;padding:8px 14px;border-radius:8px;background:#ffffff14;color:#e3cffb;font-size:14px;margin-bottom:20px}.result-badge{font-size:18px;font-weight:750;display:inline-flex;gap:10px;padding:10px 18px;border-radius:8px;background:#ffffff14;margin-bottom:24px}.confetti-shapes{display:flex;justify-content:center;margin-bottom:22px}.confetti-shapes .shapes{transform:scale(1.5)}
@media(min-width:1700px){.game-main{max-width:1400px}.answer-tile{min-height:140px}}@media(max-width:1100px){.workspace-main{padding:32px 28px}.welcome-band{padding:24px}.welcome-band h2{font-size:20px}.welcome-action>.shapes{display:none}.editor-grid{grid-template-columns:170px minmax(280px,1fr) 220px;gap:16px;padding:16px}.quiz-meta,.question-edit,.settings-panel{padding:18px}.history-row{grid-template-columns:1.6fr 1fr 1fr;gap:12px}.history-row>:nth-child(2){display:none}.quiz-row{gap:14px}.quiz-thumbnail{width:60px}.quiz-info p{max-width:28vw}}@media(max-width:800px){.workspace{display:block}.sidebar{position:static;height:auto;padding:18px 20px;flex-direction:row;align-items:center;gap:24px}.brand-link{padding:0;gap:5px}.brand-link .brand{font-size:26px}.brand-link .shapes{display:none}.sidebar nav{margin:0;flex-direction:row;gap:4px;flex:1;justify-content:flex-end}.sidebar nav a{padding:10px;font-size:13px;gap:6px}.sidebar nav a .icon{display:none}.sidebar{flex-wrap:wrap;row-gap:8px}.sidebar-bottom{display:flex;flex-basis:100%;align-items:flex-end;margin:0;padding:0;border:0}.sidebar-bottom>span{display:none}.sidebar-bottom .text-button{min-height:44px;padding:8px 0}.workspace-main{padding:28px 22px}.welcome-action .button{font-size:12px;padding:10px}.page-heading h1{font-size:29px}.quiz-info p{max-width:42vw}.editor-grid{grid-template-columns:150px minmax(0,1fr)}.settings-panel{grid-column:2}.settings-panel .settings-actions{flex-direction:row}.settings-actions button{font-size:12px}.question-sidebar{grid-row:span 2}.game-screen{padding:20px}.answer-tile{min-height:100px;padding:20px;font-size:20px;gap:16px}.pin-value{font-size:52px}.game-main{padding:30px 0}.game-brand .brand{font-size:28px}.game-tools .tool-label{display:none}.game-tools .button{padding:10px}.question-title{font-size:32px}.question-image{max-height:160px}}
@media(max-width:540px){.sidebar{padding:16px;gap:14px}.sidebar nav a{font-size:11px;padding:9px 8px}.brand-link .brand{font-size:23px}.workspace-main{padding:25px 16px}.page-heading{gap:10px;margin-bottom:23px}.page-heading h1{font-size:27px}.page-heading .muted{font-size:12px}.page-heading .button{padding:10px 13px;font-size:13px}.welcome-band{padding:22px;display:block}.welcome-band h2{font-size:21px;max-width:250px}.welcome-band p{font-size:13px}.welcome-action{margin-top:16px;align-items:flex-start}.welcome-action .button{font-size:13px}.section-heading{gap:10px}.section-heading h2{font-size:16px}.search-label input{width:145px}.quiz-row{padding:14px;gap:12px;flex-wrap:wrap}.quiz-thumbnail{width:54px;height:54px}.quiz-thumbnail .shapes{transform:scale(.85)}.quiz-info h3{font-size:15px}.quiz-info p{max-width:59vw;font-size:11px}.quiz-row>.row-actions{margin-left:66px;gap:8px}.quiz-row .button{min-height:35px;padding:7px 14px;font-size:12px}.workspace-footer{font-size:10px;gap:3px}.history-row{padding:15px 12px;font-size:12px;grid-template-columns:1.5fr .8fr 1fr;gap:8px}.history-row .row-actions{flex-direction:column;gap:5px}.history-row .button{font-size:10px;padding:7px 9px}.editor-header{height:74px;padding:12px;gap:10px}.editor-header h1{font-size:20px}.editor-header .button{font-size:12px;padding:9px 10px;min-height:38px}.editor-header .icon{width:15px;height:15px}.editor-grid{display:flex;flex-direction:column;padding:12px;gap:12px}.question-sidebar{padding:0}.question-sidebar>.overline{display:none}.question-list{flex-direction:row;overflow:auto;margin-bottom:10px}.question-item{min-width:100px;max-width:150px;padding:10px;min-height:42px;font-size:12px}.question-sidebar>#add-question{width:auto;font-size:12px;min-height:36px;padding:8px 12px}.question-order{display:inline-flex;margin:0 0 0 8px}.question-order .button{font-size:12px;min-height:36px;padding:8px 12px}.quiz-meta{margin-bottom:12px}.quiz-meta,.question-edit,.settings-panel{padding:18px}.question-edit textarea{font-size:17px}.answer-input-row{gap:8px}.answer-symbol{width:36px;height:42px}.answer-symbol svg{width:19px;height:19px}.answer-input-row input:not([type=radio]){padding:10px;font-size:13px}.answer-input-row .icon-button{padding:4px}.game-screen{padding:18px 16px}.game-header{gap:12px;align-items:center}.game-header .question-counter{font-size:12px}.game-brand .brand{font-size:25px}.game-brand .shapes{display:none}.game-tools{gap:6px}.game-tools .button{min-height:36px;font-size:11px;padding:8px}.game-tools .icon{width:16px;height:16px}.game-header .end-game{display:inline-flex;min-height:44px}.game-main{padding:30px 0}.lobby-intro{font-size:14px}.pin-panel{padding:18px;gap:16px;margin-bottom:24px;max-width:100%;flex-wrap:wrap;justify-content:center}.pin-value{font-size:40px;letter-spacing:4px}.qr-container,.qr-container canvas{width:80px!important;height:80px!important}.lobby-title{font-size:22px}.lobby-meta{font-size:12px}.player-cloud{margin:22px auto;gap:8px}.player-chip{font-size:16px;padding:10px 13px;gap:5px}.lobby-actions .button{font-size:13px;min-width:125px}.game-footer{font-size:11px;align-items:flex-end;margin-top:12px}.timer{width:70px;height:70px;border-width:5px;font-size:27px;margin-bottom:24px}.question-title{font-size:26px;line-height:1.35;margin-bottom:26px;letter-spacing:-.4px}.answer-grid{gap:10px}.answer-tile{flex-direction:column;justify-content:center;align-items:center;text-align:center;font-size:16px;padding:22px 12px;min-height:142px;gap:18px;border-radius:10px;line-height:1.35}.answer-tile svg{width:32px;height:32px}.answer-tile .answer-count{font-size:15px;margin-left:0}.answer-tile .correct-label{font-size:9px}.question-bottom{margin-top:22px;font-size:12px;gap:10px}.question-bottom .button{font-size:12px;padding:10px}.player-screen .question-title{font-size:25px}.player-screen .answer-tile{min-height:170px}.player-screen .game-main{padding:30px 0 20px}.player-screen .game-footer{padding-top:20px}.auth-card{padding:26px;max-width:380px}.auth-brand .brand{font-size:50px}.center-page{padding:36px 22px}.rank-row{padding:14px 16px;gap:12px}.rank-name{font-size:17px}.rank-score{font-size:20px}.rank-number{font-size:19px;width:23px}.podium{gap:8px;margin-top:32px;min-height:230px}.podium-name{font-size:16px}.podium-score{font-size:12px}.podium-block{height:120px;font-size:46px}.podium-place.first .podium-block{height:170px}.podium-place.third .podium-block{height:90px}.submitted-state{padding:30px 0}.submitted-state h1{font-size:28px}.game-main>h1{font-size:30px}.me-score{font-size:48px}.podium-actions .button{font-size:13px}.preview-dialog{padding:22px}.dialog-heading h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Persistent language switch, outside route-owned DOM to preserve choice. */
.language-bar{position:fixed;right:12px;bottom:8px;z-index:80;display:flex;align-items:center;gap:8px;background:#fff;color:#33214d;border:1px solid #d9d2e4;border-radius:12px;padding:5px 9px;box-shadow:0 2px 12px #26104418;font-size:11px}.language-bar select{width:auto;min-height:28px;padding:3px 24px 3px 6px;border:0;background-color:#f6f3fb;font-size:12px}.language-bar label{margin:0;font-size:11px}body{padding-bottom:48px}.game-screen{min-height:calc(100dvh - 48px)}@media(max-width:600px){.language-bar{right:8px;bottom:6px}.language-bar label{font-size:10px}}

.music-volume{display:flex;align-items:center;margin:0;width:82px}.music-volume input{width:100%;min-height:30px;height:30px;padding:0;accent-color:#f5b900;cursor:pointer;background:transparent;border:0}@media(max-width:650px){.music-volume{width:52px}.host-screen .game-header{gap:10px;flex-wrap:wrap}.host-screen .game-tools{gap:6px}}

.google-button{background:#fff!important;color:#202124!important;border:1px solid #dadce0!important;margin-top:10px}.google-button:focus-visible{outline:3px solid #4285f4;outline-offset:3px}.google-identity{overflow-wrap:anywhere}.google-identity small{display:block;font-size:12px}.participant-google{width:min(100%,420px);padding:16px;background:white;border-radius:12px;color:#202124;margin:14px 0}.participant-google:empty{display:none}.participant-google .muted{color:#555}
