@import "https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700&family=Paytone+One&display=swap";@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::-webkit-file-upload-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::-webkit-file-upload-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:-webkit-any([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:-webkit-any([multiple],[size])) optgroup option{padding-inline-start:20px}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::-webkit-file-upload-button{margin-inline-end:4px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-year-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-month-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-day-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-hour-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-minute-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-second-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-millisecond-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-meridiem-field{padding-block-start:0;padding-block-end:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button{-webkit-appearance:button;appearance:button}input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.start:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:var(--spacing)}.start:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:var(--spacing)}.start:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:var(--spacing)}.start:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:var(--spacing)}.table{display:table}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#172035;--muted:#647087;--paper:#fbfaf5;--card:#fff;--line:#e5e3dc;--blue:#3267e3;--blue-dark:#2347a7;--yellow:#ffc928;--red:#ed4c34;--green:#16a078;--shadow:0 14px 38px #212b4814}*{box-sizing:border-box}html{background:var(--paper)}body{background:radial-gradient(circle at 7% 7%, #ffc92821, transparent 18rem), var(--paper);color:var(--ink);margin:0;font-family:IBM Plex Sans Thai,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}button,input,textarea,select{font:inherit}button{color:inherit}.app{min-height:100vh}.topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:30;background:#fbfaf5ed;align-items:center;gap:32px;height:74px;padding:0 clamp(20px,4vw,64px);display:flex;position:sticky;top:0}.brand{cursor:pointer;color:var(--blue-dark);white-space:nowrap;background:0 0;border:0;align-items:center;gap:10px;padding:0;font-family:Paytone One,IBM Plex Sans Thai,sans-serif;font-size:24px;display:flex}.brand-mark{background:var(--yellow);border:2px solid var(--ink);width:38px;height:38px;box-shadow:3px 3px 0 var(--ink);border-radius:9px 12px 8px 13px;place-items:center;display:grid;transform:rotate(-4deg)}.brand-mark span{color:var(--ink);transform:rotate(4deg)}.topbar nav{align-items:center;gap:4px;margin:0 auto;display:flex}.topbar nav button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:7px;padding:10px 14px;font-weight:600;display:flex}.topbar nav button:hover{color:var(--ink);background:#eeece5}.topbar nav button.active{color:var(--blue-dark);background:#e7edff}.class-pill{border:1px solid var(--line);white-space:nowrap;background:#fff;border-radius:999px;align-items:center;gap:8px;padding:8px 13px;font-size:14px;font-weight:600;display:flex}.online-dot{background:var(--green);border-radius:50%;width:8px;height:8px}.workspace{width:min(1220px,100% - 40px);margin:0 auto;padding:58px 0 80px}.library-workspace{padding-top:48px}.library-hero{color:#fff;background:radial-gradient(circle at 82% 20%,#ffc92861,#0000 15rem),linear-gradient(125deg,#172035,#2347a7);border-radius:28px;justify-content:space-between;align-items:flex-end;gap:32px;min-height:270px;padding:clamp(30px,5vw,62px);display:flex;box-shadow:0 22px 50px #2347a733}.library-hero .eyebrow{color:#ffd95d}.library-hero h1{letter-spacing:-.05em;margin:0;font-size:clamp(38px,5vw,68px);line-height:1.03}.library-hero p{color:#d8e1f6;margin:16px 0 0;font-size:17px}.library-create{background:var(--yellow);color:var(--ink);flex:none;padding:14px 20px;box-shadow:0 5px #b88a00}.library-create:hover{box-shadow:0 7px #b88a00}.category-filter{gap:9px;margin:30px 0 20px;padding:2px 1px 8px;display:flex;overflow-x:auto}.category-filter button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:#fff;border-radius:999px;flex:none;align-items:center;gap:7px;padding:9px 13px;font-weight:700;display:inline-flex}.category-filter button.active{border-color:var(--blue);color:var(--blue-dark);background:#eef2ff}.category-filter i,.quiz-category i{background:var(--category,var(--blue));border-radius:50%;width:9px;height:9px}.category-filter button span{background:#f1f0eb;border-radius:50%;place-items:center;min-width:23px;height:23px;font-size:11px;display:grid}.quiz-library-grid{grid-template-columns:repeat(3,1fr);gap:17px;display:grid}.quiz-library-card{border:1px solid var(--line);border-top:5px solid var(--category);min-height:260px;box-shadow:var(--shadow);background:#fff;border-radius:17px;flex-direction:column;padding:21px;transition:transform .18s,box-shadow .18s;display:flex}.quiz-library-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px #212b481f}.quiz-card-topline,.quiz-card-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.quiz-category{color:var(--muted);align-items:center;gap:7px;font-size:12px;font-weight:700;display:inline-flex}.quiz-card-actions{gap:4px;display:flex}.quiz-card-actions button{width:32px;height:32px;color:var(--muted);cursor:pointer;background:#f4f3ee;border:0;border-radius:8px;place-items:center;display:grid}.quiz-card-actions button:hover{color:var(--blue);background:#eef2ff}.quiz-card-actions button.danger:hover{color:var(--red);background:#fff0ed}.quiz-library-card h2{margin:24px 0 7px;font-size:22px;line-height:1.25}.quiz-library-card p{color:var(--muted);margin:0;font-size:14px;line-height:1.6}.quiz-card-footer{border-top:1px solid #eeece6;margin-top:auto;padding-top:22px}.quiz-card-footer>span{color:var(--muted);font-size:13px}.quiz-card-footer>span b{color:var(--ink);font-size:18px}.quiz-select-button{color:var(--blue-dark);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;font-weight:700;display:inline-flex}.library-empty{min-height:260px;color:var(--muted);background:#fff9;border:1px dashed #c9c5ba;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.library-empty strong{color:var(--ink);font-size:20px}.library-empty .secondary{margin-top:10px}.library-message{color:#a52d1d;background:#fff0ed;border:1px solid #ffd0c9;border-radius:10px;margin-bottom:16px;padding:12px 15px}.page-heading{justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:40px;display:flex}.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:var(--blue);margin-bottom:10px;font-size:12px;font-weight:700;display:inline-flex}.page-heading h1,.cards-toolbar h1{letter-spacing:-.045em;max-width:760px;margin:0;font-size:clamp(34px,4.3vw,60px);line-height:1.08}.page-heading p,.cards-toolbar p{color:var(--muted);margin:15px 0 0;font-size:17px}.primary,.secondary,.light-button,.camera-on{cursor:pointer;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:8px;padding:11px 18px;font-weight:700;transition:transform .18s,box-shadow .18s,background .18s;display:inline-flex}.primary{background:var(--blue);color:#fff;box-shadow:0 5px 0 var(--blue-dark)}.primary:hover{box-shadow:0 7px 0 var(--blue-dark);transform:translateY(-2px)}.primary:active{box-shadow:0 2px 0 var(--blue-dark);transform:translateY(3px)}.secondary{border-color:var(--line);color:var(--ink);background:#fff}.secondary:hover{background:#f2f0e9}.full{width:100%}.large{padding:14px 23px;font-size:16px}.hero-button{margin-bottom:7px}.back-to-library{color:var(--blue-dark);cursor:pointer;background:0 0;border:0;margin-bottom:13px;padding:0;font-weight:700}.setup-heading-actions{flex:none;align-items:center;gap:10px;display:flex}.quiz-details-panel{grid-template-columns:1.2fr .65fr .9fr 1.5fr;align-items:end;gap:13px;margin:-16px 0 22px;padding:18px 20px;display:grid}.quiz-details-panel label{color:var(--muted);flex-direction:column;gap:6px;font-size:12px;font-weight:700;display:flex}.quiz-details-panel input,.quiz-details-panel select{width:100%;color:var(--ink);padding:10px 11px}.setup-grid{grid-template-columns:340px minmax(0,1fr);align-items:start;gap:22px;display:grid}.panel{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px}.roster-panel{padding:22px;position:sticky;top:94px}.questions-panel{padding:22px}.panel-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.panel-title>div{align-items:center;gap:11px;display:flex}.panel-title h2{margin:0;font-size:20px}.panel-title p{color:var(--muted);margin:2px 0 0;font-size:12px}.step-number{color:#fff;background:var(--blue);border-radius:10px;place-items:center;width:36px;height:36px;font-weight:700;display:grid;transform:rotate(-3deg)}.step-number.yellow{background:var(--yellow);color:var(--ink);transform:rotate(3deg)}.roster-panel label,.time-field{margin:16px 0;font-size:13px;font-weight:700;display:block}.roster-panel label span{float:right;color:var(--muted);font-size:11px;font-weight:400}input,textarea,select{background:#fbfaf7;border:1px solid #dcd9d0;border-radius:9px;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #3267e31f}.roster-panel input,.roster-panel textarea{width:100%;margin-top:6px;padding:10px 12px}.roster-panel textarea{resize:vertical;line-height:1.7}.saved{color:var(--green);background:#e9f8f2;border-radius:99px;align-items:center;gap:4px;padding:5px 9px;font-size:12px;display:inline-flex}.question-list{gap:12px;display:grid}.question-editor{border:1px solid var(--line);border-radius:13px;grid-template-columns:34px minmax(0,1fr) 34px;gap:12px;padding:16px;display:grid}.question-editor:hover{border-color:#c8c5ba}.question-number{background:var(--ink);color:#fff;border-radius:8px;place-items:center;width:30px;height:30px;font-size:13px;font-weight:700;display:grid}.prompt-input{background:0 0;border:0;border-radius:0;width:100%;padding:2px 0 10px;font-size:17px;font-weight:700}.prompt-input:focus{box-shadow:none;border-bottom:2px solid var(--blue)}.choice-editor-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.choice-editor{background:#f7f6f1;border:1px solid #ebe8df;border-radius:8px;gap:6px;padding:5px;display:flex}.choice-editor.correct{border-color:var(--choice);box-shadow:inset 3px 0 var(--choice)}.choice-editor input{background:0 0;border:0;width:100%;min-width:0;padding:6px}.choice-editor input:focus{box-shadow:none}.correct-toggle{background:var(--choice);color:#fff;cursor:pointer;border:0;border-radius:7px;flex:none;place-items:center;width:29px;height:29px;font-weight:700;display:grid}.time-field{color:var(--muted);align-items:center;gap:7px;margin:10px 0 0;font-size:11px;display:flex}.time-field select{padding:4px 7px}.icon-button{cursor:pointer;width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.icon-button:hover{color:var(--red);background:#fff0ed}.icon-button:disabled{opacity:.25;pointer-events:none}.add-question{width:100%;color:var(--blue-dark);cursor:pointer;background:0 0;border:1px dashed #bbb6a8;border-radius:11px;justify-content:center;align-items:center;gap:8px;margin-top:12px;padding:12px;font-weight:700;display:flex}.add-question:hover{border-color:var(--blue);background:#f5f7ff}.cards-toolbar{justify-content:space-between;align-items:flex-end;gap:30px;display:flex}.cards-toolbar h1{font-size:clamp(36px,4vw,54px)}.toolbar-actions{flex:none;gap:10px;display:flex}.toolbar-actions a{text-decoration:none}.instruction-strip{background:#fff8d8;border:1px solid #dfd7b9;border-radius:12px;justify-content:center;align-items:center;gap:16px;margin:32px 0 22px;padding:13px 18px;font-size:14px;display:flex}.instruction-strip b{background:var(--yellow);border-radius:50%;place-items:center;width:23px;height:23px;margin-right:4px;display:inline-grid}.strip-arrow{color:#ad9b5d}.cards-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.paper-card{aspect-ratio:1;background:#fff;border:1px solid #d9d5c9;border-radius:8px;place-items:center;display:grid;position:relative;overflow:hidden;box-shadow:0 6px 18px #1e283c0f}.aruco-marker{aspect-ratio:1;object-fit:contain;width:48%;height:auto;image-rendering:crisp-edges;display:block}.marker-loading{font-size:30px}.card-letter{color:var(--ink);font-size:22px;font-weight:700;position:absolute}.letter-a{top:10px;left:50%;transform:translate(-50%)}.letter-b{top:50%;right:13px;transform:translateY(-50%)rotate(90deg)}.letter-c{bottom:10px;left:50%;transform:translate(-50%)rotate(180deg)}.letter-d{top:50%;left:13px;transform:translateY(-50%)rotate(-90deg)}.card-student{background:#fff;border-radius:99px;align-items:center;gap:6px;padding:3px 7px 3px 3px;font-size:11px;display:flex;position:absolute;bottom:10px;left:12px}.card-student strong{background:var(--yellow);border-radius:50%;place-items:center;width:22px;height:22px;display:grid}.number-panel{flex-direction:column;gap:2px;display:flex}.player-count-field>div{grid-template-columns:1fr auto;align-items:center;gap:9px;margin-top:7px;display:grid}.player-count-field input{width:100%;color:var(--blue-dark);padding:13px 14px;font-size:28px;font-weight:700}.player-count-field>div span{color:var(--muted);font-size:15px}.active-card-range{background:#fff7cf;border:1px solid #eadc91;border-radius:12px;flex-direction:column;align-items:flex-start;margin:4px 0 14px;padding:17px;display:flex}.active-card-range>span{color:#7a6b2c;font-size:12px;font-weight:700}.active-card-range strong{margin-top:2px;font-size:25px}.active-card-range p{color:#716b58;margin:7px 0 0;font-size:12px;line-height:1.5}.fixed-card-number{border:2px solid var(--ink);min-width:70px;color:var(--ink);background:#fff;border-radius:8px;align-items:center;gap:6px;padding:3px 6px;display:flex;position:absolute;bottom:9px;left:10px}.fixed-card-number span{text-transform:uppercase;font-size:8px;font-weight:700}.fixed-card-number strong{color:var(--blue-dark);margin-left:auto;font-family:Paytone One,sans-serif;font-size:20px;line-height:1}.play-mode{background:#111a32;min-height:100vh}.play-mode .topbar{display:none}.game-stage{color:#fff;background:linear-gradient(135deg,#111a32,#18284e);min-height:100vh;padding:18px}.game-meta{color:#cbd5ef;grid-template-columns:180px 1fr 180px;align-items:center;gap:18px;height:34px;font-size:13px;display:grid}.game-meta>span:last-child{text-align:right}.exit-game{color:#cbd5ef;cursor:pointer;background:0 0;border:0;justify-self:start;padding:6px 0;font-weight:600}.exit-game:hover{color:#fff}.progress-track{background:#ffffff1f;border-radius:99px;height:5px;overflow:hidden}.progress-track span{background:var(--yellow);border-radius:inherit;height:100%;transition:width .3s;display:block}.game-layout{grid-template-columns:minmax(0,1fr) 310px;gap:16px;height:calc(100vh - 70px);display:grid}.game-layout.is-scanning{grid-template-columns:minmax(0,1fr) minmax(380px,38vw)}.question-stage,.scan-panel{background:#ffffff0e;border:1px solid #ffffff1f;border-radius:18px}.question-stage{flex-direction:column;min-height:0;padding:clamp(20px,3vw,46px);display:flex}.question-topline{justify-content:space-between;align-items:center;display:flex}.question-kicker{color:var(--yellow);text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:700}.no-timer-badge{color:#dbe3f7;border:1px solid #fff3;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:600}.timer{border:5px solid var(--yellow);text-align:center;background:#111a32;border-radius:50%;place-content:center;width:68px;height:68px;transition:all .2s;display:grid}.timer strong{font-size:24px;line-height:1}.timer span{color:#abb8d8;font-size:9px}.timer.urgent{border-color:var(--red);transform:scale(1.07)}.question-stage>h1{letter-spacing:-.035em;text-align:center;max-width:900px;margin:18px auto 26px;font-size:clamp(28px,4vw,56px);line-height:1.16}.answers-grid{flex:1;grid-template-columns:1fr 1fr;gap:12px;min-height:280px;display:grid}.answer-tile{background:var(--choice);color:#fff;text-align:left;border:0;border-radius:14px;grid-template-columns:38px 1fr 38px;align-items:center;gap:14px;padding:clamp(14px,2vw,26px);font-size:clamp(19px,2.2vw,30px);font-weight:700;transition:all .25s;display:grid;box-shadow:inset 0 -6px #0000002e}.answers-grid .answer-tile{cursor:default}.answer-tile.is-muted{filter:grayscale(.8);opacity:.32;transform:scale(.98)}.answer-tile.is-correct{outline:5px solid #fff;transform:scale(1.015)}.answer-shape{background:#fffffff0;width:30px;height:30px;display:inline-block}.shape-0{clip-path:polygon(50% 0,100% 100%,0 100%)}.shape-1{border-radius:50%}.shape-2{transform:rotate(45deg)scale(.76)}.shape-3{clip-path:polygon(0 0,100% 0,100% 70%,65% 70%,50% 100%,35% 70%,0 70%)}.stage-callout,.result-callout,.live-controls{background:#ffffff1a;border-radius:13px;align-items:center;gap:14px;min-height:70px;margin-top:15px;padding:12px 14px;display:flex}.stage-callout>div{background:var(--yellow);width:44px;height:44px;color:var(--ink);border-radius:11px;place-items:center;display:grid}.stage-callout>span{color:#d5dcf0;flex:1}.live-controls span{color:#c6d0e9;flex:1;font-size:13px}.camera-on{color:#087350;background:#dff8ef}.confirm-button{background:var(--yellow);color:var(--ink);cursor:pointer;border:0;border-radius:10px;padding:12px 16px;font-weight:700;box-shadow:0 4px #ab8410}.confirm-button:active{transform:translateY(2px);box-shadow:0 2px #ab8410}.result-callout{justify-content:space-between}.result-copy{align-items:center;gap:12px;display:flex}.result-copy>div{flex-direction:column;display:flex}.result-copy>div span{color:#c6d0e9;font-size:13px}.result-icon{background:var(--green);border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.scan-panel{flex-direction:column;min-height:0;padding:15px;display:flex}.scan-header{justify-content:space-between;align-items:center;padding:2px 2px 12px;display:flex}.scan-header>div{align-items:center;gap:8px;display:flex}.pulse{background:#647087;border-radius:50%;width:8px;height:8px}.pulse.live{background:#47dfad;box-shadow:0 0 0 5px #47dfad24}.camera-box{aspect-ratio:4/3;background:#0b1122;border-radius:12px;place-items:center;display:grid;position:relative;overflow:hidden}.camera-box video{object-fit:cover;width:100%;height:100%;display:none;position:absolute;top:0;bottom:0;left:0;right:0}.camera-box.open video{display:block}.camera-placeholder{color:#91a0c5;flex-direction:column;align-items:center;gap:6px;font-size:12px;display:flex}.camera-placeholder strong{color:#dbe3f7;font-size:14px}.scan-frame{border:2px dashed #4f6088;border-radius:12px;place-items:center;width:82px;height:70px;margin-bottom:5px;display:grid}.scanner-action-bar{grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin-top:10px;display:grid}.scanner-action-bar>span{color:#91a0c5;font-size:10px;line-height:1.35}.scanner-action-bar .secondary,.scanner-action-bar .camera-on,.scanner-action-bar .confirm-button{padding:9px 10px;font-size:11px}.response-dots{grid-template-columns:repeat(6,1fr);gap:6px;margin:13px 0 7px;display:grid;overflow-y:auto}.response-dots button{aspect-ratio:1;color:#aebbd9;cursor:pointer;background:#222f4f;border:1px solid #415174;border-radius:7px;font-size:11px;font-weight:700}.response-dots button.answered{background:var(--green);color:#fff;border-color:#37d6a1}.response-dots button.showing-answer{background:var(--choice);border-color:var(--choice);grid-template-columns:1fr 1fr;align-items:center;padding:0;display:grid;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.response-dots button.showing-answer{border-color:color-mix(in srgb, var(--choice), white 32%)}}.response-dots button.showing-answer small{color:#ffffffc7;font-size:9px}.response-dots button.showing-answer strong{background:#0000002e;align-self:stretch;place-items:center;font-size:15px;display:grid}.response-dots button.answer-0{--choice:var(--red)}.response-dots button.answer-1{--choice:var(--blue)}.response-dots button.answer-2{--choice:#c28d00}.response-dots button.answer-3{--choice:var(--green)}.demo-hint{text-align:center;color:#7f8dae;margin:0 0 10px;font-size:10px}.scan-number-heading{color:#dce5fb;justify-content:space-between;align-items:center;margin-top:12px;font-size:12px;display:flex}.answer-visibility-toggle{color:#c8d3ed;cursor:pointer;background:#222f4f;border:1px solid #536383;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:700}.answer-visibility-toggle:hover{background:#2c3b5e}.answer-visibility-toggle.is-visible{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}.response-dots button svg{margin:auto}.result-area{margin-top:15px}.result-area .result-callout{margin-top:0}.correct-number-strip{background:#16a07824;border:1px solid #47dfad38;border-radius:11px;align-items:center;gap:12px;margin-top:9px;padding:11px 14px;display:flex}.correct-number-strip>strong{color:#a8f2d8;flex:none;font-size:12px}.correct-number-strip>div{flex-wrap:wrap;gap:5px;display:flex}.correct-number-strip>div span{background:var(--green);color:#fff;border-radius:7px;place-items:center;min-width:28px;height:28px;font-size:12px;font-weight:700;display:grid}.correct-number-strip em{color:#b8c3dd;font-size:12px;font-style:normal}.round-leaderboard{background:#070d1e57;border:1px solid #ffffff1f;border-radius:13px;margin-top:10px;padding:13px}.round-leaderboard-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.round-leaderboard-title>span{color:var(--yellow);align-items:center;gap:7px;font-weight:700;display:flex}.round-leaderboard-title small{color:#8290b0;font-size:10px}.leader-cards{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.leader-card{opacity:0;min-width:0;min-height:76px;animation:leader-card-in .55s cubic-bezier(.2,.8,.2,1) var(--leader-delay) forwards;background:#ffffff12;border:1px solid #ffffff1f;border-radius:11px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;display:grid;transform:translateY(22px)scale(.96)}.leader-card.current-leader{animation:leader-card-in .55s cubic-bezier(.2,.8,.2,1) var(--leader-delay) forwards, leader-glow 1.8s ease-in-out calc(var(--leader-delay) + .5s) infinite;background:linear-gradient(135deg,#ffc92833,#ffc9280f);border-color:#ffc928a6}.leader-rank{color:#d6def2;background:#273a67;border-radius:8px;place-items:center;width:28px;height:28px;font-weight:800;display:grid}.current-leader .leader-rank{background:var(--yellow);color:var(--ink)}.leader-card>div{flex-direction:column;min-width:0;display:flex}.leader-card>div strong{white-space:nowrap;font-size:14px}.leader-card>div>span:last-child{color:#aebbd9;font-size:11px}.leading-label{letter-spacing:.08em;text-transform:uppercase;width:-moz-fit-content;width:fit-content;margin-bottom:2px;font-weight:800;color:var(--yellow)!important;font-size:8px!important}.leader-crown{color:var(--yellow);font-size:22px;animation:1.1s ease-in-out infinite crown-bounce}@keyframes leader-card-in{to{opacity:1;transform:translateY(0)scale(1)}}@keyframes leader-glow{0%,to{box-shadow:0 0 #ffc92800}50%{box-shadow:0 0 25px #ffc92838}}@keyframes crown-bounce{0%,to{transform:translateY(0)rotate(-7deg)}50%{transform:translateY(-5px)rotate(7deg)}}.mini-leaderboard{border-top:1px solid #ffffff1a;margin-top:auto;padding-top:11px}.mini-title{color:var(--yellow);align-items:center;gap:6px;margin-bottom:7px;font-size:12px;font-weight:700;display:flex}.mini-leaderboard>div{grid-template-columns:25px 1fr auto;align-items:center;padding:5px 0;font-size:12px;display:grid}.mini-leaderboard>div b{color:#8c9aba}.mini-leaderboard>div strong{color:#fff}.mini-leaderboard>div strong small{color:var(--yellow);font-size:10px}.podium-screen{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:calc(100vh - 60px);display:flex;position:relative;overflow:hidden}.eyebrow.light{color:var(--yellow)}.podium-screen h1{letter-spacing:-.04em;margin:4px 0 54px;font-size:clamp(40px,6vw,78px);line-height:1}.podium{z-index:2;justify-content:center;align-items:flex-end;gap:10px;display:flex;position:relative}.podium-place{flex-direction:column;align-items:center;width:min(220px,27vw);display:flex}.podium-place>strong{margin:9px 0 1px;font-size:clamp(18px,2.3vw,28px)}.podium-place>span:not(.medal){color:#c2cce4;margin-bottom:10px;font-size:13px}.podium-place>div{background:#294276;border-radius:12px 12px 0 0;place-items:center;width:100%;height:130px;font-family:Paytone One;font-size:52px;display:grid}.podium-place.place-1>div{background:var(--yellow);height:190px;color:var(--ink)}.podium-place.place-2>div{height:140px}.podium-place.place-3>div{background:#a15f3c;height:105px}.medal{width:56px;height:56px;color:var(--ink);border:5px solid var(--yellow);background:#fff;border-radius:50%;place-items:center;font-size:26px;display:grid}.finish-actions{z-index:2;gap:10px;margin-top:25px;display:flex;position:relative}.light-button{color:var(--ink);background:#fff}.confetti{pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0}.confetti i{background:var(--yellow);width:8px;height:18px;position:absolute;transform:rotate(23deg)}.confetti i:nth-child(3n){background:var(--red);transform:rotate(65deg)}.confetti i:nth-child(4n){background:#43d9a7;transform:rotate(-30deg)}.confetti i:first-child{top:18%;left:8%}.confetti i:nth-child(2){top:55%;left:14%}.confetti i:nth-child(3){top:12%;left:23%}.confetti i:nth-child(4){top:35%;left:31%}.confetti i:nth-child(5){top:8%;left:39%}.confetti i:nth-child(6){top:25%;left:47%}.confetti i:nth-child(7){top:10%;left:56%}.confetti i:nth-child(8){top:37%;left:64%}.confetti i:nth-child(9){top:14%;left:72%}.confetti i:nth-child(10){top:29%;left:83%}.confetti i:nth-child(11){top:57%;left:91%}.confetti i:nth-child(12){top:78%;left:5%}.confetti i:nth-child(13){top:82%;left:18%}.confetti i:nth-child(14){top:72%;left:33%}.confetti i:nth-child(15){top:87%;left:48%}.confetti i:nth-child(16){top:75%;left:61%}.confetti i:nth-child(17){top:86%;left:74%}.confetti i:nth-child(18){top:77%;left:88%}.confetti i:nth-child(19){top:15%;left:95%}.confetti i:nth-child(20){top:42%;left:2%}.final-ranking-screen{text-align:center;flex-direction:column;align-items:center;width:min(760px,100% - 24px);min-height:calc(100vh - 60px);margin:0 auto;padding:54px 0;display:flex}.final-ranking-screen h1{letter-spacing:-.04em;margin:0;font-size:clamp(42px,7vw,78px);line-height:1}.final-ranking-screen>p{color:#aebbd9;margin:13px 0 26px}.final-ranking-table{text-align:left;background:#ffffff12;border:1px solid #ffffff26;border-radius:15px;width:100%;max-height:58vh;overflow:auto}.ranking-head,.ranking-row{grid-template-columns:100px 1fr 130px;align-items:center;gap:12px;padding:12px 18px;display:grid}.ranking-head{z-index:2;color:#8fa0c6;text-transform:uppercase;letter-spacing:.09em;background:#1b2a4f;font-size:11px;position:sticky;top:0}.ranking-row{border-top:1px solid #ffffff14}.ranking-row:nth-child(2){background:#ffc9281a}.ranking-row>span:last-child{text-align:right;color:#d7dff2}.rank-chip{background:var(--yellow);width:36px;height:30px;color:var(--ink);border-radius:8px;place-items:center;font-weight:800;display:grid}.celebration-screen{isolation:isolate;text-align:center;flex-direction:column;justify-content:flex-start;align-items:center;min-height:calc(100vh - 56px);padding:48px 18px 80px;display:flex;position:relative;overflow:hidden}.celebration-screen>:not(:-webkit-any(.fireworks,.celebration-confetti)){z-index:3;position:relative}.celebration-screen>:not(:is(.fireworks,.celebration-confetti)){z-index:3;position:relative}.last-answer-pill{color:#c7f8e7;opacity:0;background:#16a0782e;border:1px solid #5bebb961;border-radius:999px;align-items:center;gap:7px;margin-bottom:12px;padding:8px 13px;font-size:12px;font-weight:700;animation:.5s .15s forwards celebration-fade;display:flex}.celebration-screen h1{letter-spacing:-.055em;opacity:0;margin:0;font-size:clamp(54px,9vw,104px);line-height:.9;animation:.7s cubic-bezier(.2,.9,.2,1.25) .2s forwards title-pop;transform:scale(.75)}.celebration-screen>p{color:#d2dbef;opacity:0;margin:14px 0 30px;font-size:17px;animation:.5s .55s forwards celebration-fade}.winner-podium{justify-content:center;align-items:flex-end;gap:10px;width:min(720px,92vw);min-height:300px;display:flex}.winner-place{opacity:0;width:min(210px,29vw);animation:podium-rise .8s cubic-bezier(.2,.8,.2,1) var(--podium-delay) forwards;flex-direction:column;align-items:center;display:flex;transform:translateY(130px)}.winner-number{width:64px;height:64px;color:var(--ink);background:#fff;border:4px solid #91a0c5;border-radius:50%;place-items:center;font-family:Paytone One,sans-serif;font-size:27px;display:grid;box-shadow:0 8px 24px #0003}.winner-1 .winner-number{border-color:var(--yellow);width:78px;height:78px;font-size:34px}.winner-3 .winner-number{border-color:#c5784f}.winner-place>strong{margin-top:8px;font-size:clamp(14px,2vw,22px)}.winner-place>span:not(.winner-crown){color:#b8c3dd;margin-bottom:8px;font-size:12px}.podium-block{color:#fff;background:linear-gradient(#38558e,#263d70);border-radius:12px 12px 0 0;place-items:center;width:100%;height:116px;font-family:Paytone One,sans-serif;font-size:58px;display:grid;box-shadow:inset 0 3px #ffffff26}.winner-1 .podium-block{height:178px;color:var(--ink);background:linear-gradient(#ffd957,#eab21a)}.winner-3 .podium-block{background:linear-gradient(#bd7651,#87472d);height:86px}.winner-crown{color:var(--yellow);filter:drop-shadow(0 4px 5px #0003);font-size:33px;animation:1s ease-in-out infinite crown-bounce;position:absolute;top:-31px}.tie-note{color:#8796b8;margin-top:12px;font-size:10px}.scroll-ranking-hint{color:#9aa9c8;flex-direction:column;align-items:center;gap:2px;margin-top:22px;font-size:11px;display:flex}.scroll-ranking-hint b{color:var(--yellow);font-size:21px;animation:1.25s ease-in-out infinite scroll-hint}.full-ranking-section{text-align:left;background:#080e1f9e;border:1px solid #ffffff26;border-radius:18px;width:min(760px,94vw);margin-top:40px;overflow:hidden;box-shadow:0 22px 70px #00000038}.full-ranking-title{justify-content:space-between;align-items:flex-end;gap:14px;padding:20px 22px 16px;display:flex}.full-ranking-title .eyebrow{margin-bottom:2px}.full-ranking-title h2{margin:0;font-size:clamp(22px,4vw,32px)}.full-ranking-title>span{color:#cbd5ec;background:#ffffff1a;border-radius:999px;flex:none;padding:6px 10px;font-size:11px}.full-ranking-table{width:100%}.full-ranking-head,.full-ranking-row{grid-template-columns:90px 1fr 120px 120px;align-items:center;gap:12px;padding:12px 22px;display:grid}.full-ranking-head{color:#8f9dbd;letter-spacing:.08em;text-transform:uppercase;background:#1d2c50;font-size:10px;font-weight:700}.full-ranking-row{opacity:0;border-top:1px solid #ffffff13;min-height:58px;animation:.4s forwards full-rank-in;transform:translateY(10px)}.full-ranking-row:nth-child(2){animation-delay:50ms}.full-ranking-row:nth-child(3){animation-delay:.1s}.full-ranking-row:nth-child(4){animation-delay:.15s}.full-ranking-row:nth-child(n+5){animation-delay:.2s}.full-ranking-row>span:nth-last-child(2){color:#d2dbef;text-align:right;font-weight:600}.full-ranking-row .bonus-score{min-width:58px;color:var(--yellow);text-align:center;background:#ffc92824;border-radius:999px;justify-self:end;padding:5px 9px;font-weight:800}.full-ranking-row.top-rank{background:#ffffff09}.full-ranking-row.top-rank-1{background:linear-gradient(90deg,#ffc92829,#ffc92806)}.full-rank-badge{color:#dce4f5;background:#2b3e68;border-radius:9px;place-items:center;width:36px;height:32px;font-weight:800;display:grid}.top-rank-1 .full-rank-badge{background:var(--yellow);color:var(--ink)}.top-rank-2 .full-rank-badge{color:var(--ink);background:#d9e1ef}.top-rank-3 .full-rank-badge{color:#fff;background:#b8734e}.celebration-screen .finish-actions{margin-top:24px}.fireworks,.celebration-confetti{z-index:1;pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0}.firework{width:7px;height:7px;position:absolute;top:28%;left:50%}.firework-1{animation-delay:0s;top:18%;left:12%}.firework-2{animation-delay:.45s;top:12%;left:31%}.firework-3{animation-delay:.8s;top:16%;left:68%}.firework-4{animation-delay:.2s;top:25%;left:88%}.firework-5{animation-delay:1.1s;top:46%;left:20%}.firework-6{animation-delay:1.35s;top:48%;left:78%}.firework-7{animation-delay:1.6s;top:8%;left:50%}.firework i{background:var(--yellow);transform-origin:50% 70px;opacity:0;width:5px;height:25px;animation:2.2s ease-out infinite firework-spark;animation-delay:inherit;border-radius:99px;position:absolute;top:0;left:0}.firework i:nth-child(3n){background:#4be0b0}.firework i:nth-child(4n){background:#4f86ff}.firework i:nth-child(5n){background:var(--red)}.firework i:first-child{transform:rotate(0)translateY(-55px)}.firework i:nth-child(2){transform:rotate(30deg)translateY(-55px)}.firework i:nth-child(3){transform:rotate(60deg)translateY(-55px)}.firework i:nth-child(4){transform:rotate(90deg)translateY(-55px)}.firework i:nth-child(5){transform:rotate(120deg)translateY(-55px)}.firework i:nth-child(6){transform:rotate(150deg)translateY(-55px)}.firework i:nth-child(7){transform:rotate(180deg)translateY(-55px)}.firework i:nth-child(8){transform:rotate(210deg)translateY(-55px)}.firework i:nth-child(9){transform:rotate(240deg)translateY(-55px)}.firework i:nth-child(10){transform:rotate(270deg)translateY(-55px)}.firework i:nth-child(11){transform:rotate(300deg)translateY(-55px)}.firework i:nth-child(12){transform:rotate(330deg)translateY(-55px)}.celebration-confetti i{top:-24px;left:calc((var(--confetti-index,1)) * 2.7%);background:var(--yellow);width:8px;height:17px;animation:3.4s linear infinite confetti-fall;position:absolute}.celebration-confetti i:nth-child(4n){background:var(--red)}.celebration-confetti i:nth-child(4n+1){background:#4f86ff}.celebration-confetti i:nth-child(4n+2){background:#4be0b0}.celebration-confetti i:first-child{animation-delay:.1s;left:3%}.celebration-confetti i:nth-child(2){animation-delay:1.4s;left:8%}.celebration-confetti i:nth-child(3){animation-delay:.6s;left:13%}.celebration-confetti i:nth-child(4){animation-delay:2s;left:18%}.celebration-confetti i:nth-child(5){animation-delay:.9s;left:23%}.celebration-confetti i:nth-child(6){animation-delay:2.5s;left:28%}.celebration-confetti i:nth-child(7){animation-delay:.3s;left:34%}.celebration-confetti i:nth-child(8){animation-delay:1.7s;left:40%}.celebration-confetti i:nth-child(9){animation-delay:.8s;left:46%}.celebration-confetti i:nth-child(10){animation-delay:2.3s;left:52%}.celebration-confetti i:nth-child(11){animation-delay:.4s;left:58%}.celebration-confetti i:nth-child(12){animation-delay:1.2s;left:64%}.celebration-confetti i:nth-child(13){animation-delay:2.7s;left:70%}.celebration-confetti i:nth-child(14){animation-delay:.5s;left:76%}.celebration-confetti i:nth-child(15){animation-delay:1.9s;left:82%}.celebration-confetti i:nth-child(16){animation-delay:1s;left:88%}.celebration-confetti i:nth-child(17){animation-delay:2.4s;left:94%}.celebration-confetti i:nth-child(n+18){opacity:.7;animation-delay:1.1s}@keyframes celebration-fade{to{opacity:1}}@keyframes title-pop{to{opacity:1;transform:scale(1)}}@keyframes podium-rise{to{opacity:1;transform:translateY(0)}}@keyframes scroll-hint{0%,to{transform:translateY(0)}50%{transform:translateY(7px)}}@keyframes full-rank-in{to{opacity:1;transform:translateY(0)}}@keyframes firework-spark{0%{opacity:0;scale:.15}12%{opacity:1;scale:1}50%{opacity:0;translate:0 28px;scale:.55}to{opacity:0}}@keyframes confetti-fall{0%{opacity:1;transform:translateY(-5vh)rotate(0)}to{opacity:.25;transform:translateY(110vh)rotate(720deg)}}@media (max-width:900px){.topbar{gap:12px;padding-inline-start:16px;padding-inline-end:16px}.topbar nav button{padding:10px}.topbar nav button svg,.class-pill{display:none}.setup-grid{grid-template-columns:1fr}.quiz-library-grid{grid-template-columns:repeat(2,1fr)}.quiz-details-panel{grid-template-columns:1fr 1fr}.roster-panel{position:static}.cards-grid{grid-template-columns:repeat(2,1fr)}.game-layout{grid-template-columns:1fr;height:auto}.game-layout.is-scanning{flex-direction:column;gap:12px;width:100%;height:auto;display:flex}.scan-panel{min-height:500px}.game-layout.is-scanning .scan-panel{order:-1;width:100%;min-width:0;min-height:auto;position:relative}.game-layout.is-scanning .camera-box{aspect-ratio:auto;width:100%;height:56dvh;min-height:340px;max-height:580px}.game-layout.is-scanning .question-stage{order:0;width:100%;min-width:0;min-height:auto;padding:17px}.game-layout.is-scanning .question-stage .answers-grid{display:none}.game-layout.is-scanning .question-stage>h1{text-align:left;margin:8px 0 0;font-size:21px}.leader-cards{grid-template-columns:1fr}.leader-card{min-height:62px}.game-stage{padding-bottom:calc(110px + env(safe-area-inset-bottom));overflow:auto}}@media (max-width:620px){.topbar{flex-wrap:wrap;height:auto;padding-block-start:10px;padding-block-end:10px}.topbar nav{order:2;justify-content:space-between;width:100%}.topbar nav button{font-size:12px}.workspace{width:min(100% - 24px,1220px);padding-top:36px}.library-hero{flex-direction:column;align-items:stretch;min-height:0}.library-create{align-self:flex-start}.quiz-library-grid{grid-template-columns:1fr}.quiz-details-panel{grid-template-columns:1fr;margin-top:-20px}.setup-heading-actions,.page-heading,.cards-toolbar{flex-direction:column;align-items:stretch}.hero-button{align-self:flex-start}.choice-editor-grid,.answers-grid{grid-template-columns:1fr}.question-editor{grid-template-columns:28px minmax(0,1fr)}.question-editor>.icon-button{grid-column:2;justify-self:end}.cards-grid{grid-template-columns:1fr}.instruction-strip{flex-wrap:wrap;justify-content:flex-start}.strip-arrow{display:none}.game-stage{padding:10px;padding-bottom:calc(110px + env(safe-area-inset-bottom))}.game-meta{grid-template-columns:1fr auto}.game-meta>span:first-child{display:none}.question-stage{padding:15px}.question-stage>h1{margin-block-start:12px;margin-block-end:18px}.answers-grid{min-height:0}.answer-tile{grid-template-columns:30px 1fr 28px;min-height:82px}.stage-callout,.result-callout,.live-controls{flex-wrap:wrap}.stage-callout>span,.live-controls span{flex-basis:calc(100% - 60px)}.scanner-action-bar{grid-template-columns:1fr 1fr}.scanner-action-bar>span{text-align:center;grid-area:2/1/auto/-1}.scanner-action-bar .confirm-button{font-size:12px}.correct-number-strip,.round-leaderboard-title{flex-direction:column;align-items:flex-start}.winner-podium{gap:5px}.winner-place{width:31vw}.winner-number{width:50px;height:50px;font-size:22px}.winner-1 .winner-number{width:60px;height:60px;font-size:27px}.podium-block{height:90px;font-size:43px}.winner-1 .podium-block{height:138px}.winner-3 .podium-block{height:68px}.winner-place>strong{font-size:12px}.winner-place>span:not(.winner-crown){font-size:10px}.celebration-screen{padding:36px 10px 120px}.full-ranking-section{border-radius:14px;width:100%;margin-top:30px}.full-ranking-title{align-items:flex-start;padding:16px}.full-ranking-head,.full-ranking-row{grid-template-columns:48px 1fr 70px 68px;gap:7px;padding-inline-start:14px;padding-inline-end:14px}.full-ranking-row{min-height:54px}.full-ranking-row strong{font-size:13px}.full-ranking-row>span:nth-last-child(2){font-size:12px}.full-ranking-row .bonus-score{min-width:48px;padding-inline-start:6px;padding-inline-end:6px;font-size:12px}}@media (prefers-reduced-motion:reduce){.leader-card,.leader-card.current-leader,.leader-crown,.celebration-screen h1,.celebration-screen>p,.last-answer-pill,.winner-place,.winner-crown,.firework i,.celebration-confetti i,.scroll-ranking-hint b,.full-ranking-row{opacity:1;transform:none;animation:none!important}}@media print{@page{size:A4 landscape;margin:0}html,body{background:#fff;width:297mm;height:210mm;margin:0!important;padding:0!important}.topbar,.cards-toolbar,.instruction-strip{display:none!important}.app,.workspace,.cards-workspace,.cards-grid{background:#fff!important;width:297mm!important;margin:0!important;padding:0!important}.cards-grid{display:block}.paper-card{aspect-ratio:auto;width:190mm;height:190mm;box-shadow:none;break-inside:avoid-page;page-break-inside:avoid;break-after:page;page-break-after:always;border:0;border-radius:0;margin:10mm 53.5mm}.paper-card:last-child{break-after:auto;page-break-after:auto}.paper-card .aruco-marker{width:114mm}.paper-card .card-letter{font-size:10mm;line-height:1}.paper-card .letter-a{top:12mm}.paper-card .letter-b{right:12mm}.paper-card .letter-c{bottom:12mm}.paper-card .letter-d{left:12mm}.paper-card .fixed-card-number{border-width:.7mm;border-radius:3mm;gap:3mm;min-width:42mm;padding:2mm 3mm;bottom:12mm;left:12mm}.paper-card .fixed-card-number span{font-size:3.2mm}.paper-card .fixed-card-number strong{font-size:9mm}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
