@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,::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,::backdrop{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%;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}::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:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::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:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-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{.visible{visibility:visible}.fixed{position:fixed}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.flex{display:flex}.hidden{display:none}.table{display:table}.resize{resize:both}.blur{--tw-blur:blur(8px);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,)}.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:#10213a;--muted:#66768d;--paper:#f4f7fb;--card:#fff;--line:#dce5ef;--blue:#3867f4;--blue-dark:#2449b7;--yellow:#ffcb47;--red:#e95944;--green:#159c78;--shadow:0 16px 40px #1d345714}*{box-sizing:border-box}html{background:var(--paper)}body{background:radial-gradient(circle at 4% 4%, #3867f414, transparent 24rem), radial-gradient(circle at 96% 18%, #ffcb4717, transparent 20rem), var(--paper);color:var(--ink);margin:0;font-family:IBM Plex Sans Thai,system-ui,sans-serif;line-height:1.5}button,input,textarea,select{font:inherit}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none!important;transform:none!important}.app{min-height:100vh}.login-overlay{z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:radial-gradient(circle at 80% 15%,#ffc92833,#0000 20rem),#111a32d1;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.login-card{background:#fff;border-radius:24px;width:min(460px,100%);padding:clamp(28px,5vw,48px);position:relative;box-shadow:0 30px 80px #00000047}.login-close{width:36px;height:36px;color:var(--muted);cursor:pointer;background:#f1f0eb;border:0;border-radius:50%;place-items:center;font-size:25px;line-height:1;display:grid;position:absolute;top:14px;right:14px}.login-close:hover{color:var(--red);background:#fff0ed}.login-brand{margin-bottom:28px}.login-card h1{margin:0;font-size:clamp(32px,6vw,48px);line-height:1.08}.login-card>p{color:var(--muted);margin:14px 0 25px;line-height:1.65}.login-card form{gap:13px;display:grid}.login-card label{gap:7px;font-size:13px;font-weight:700;display:grid}.login-card input{width:100%;padding:13px 14px;font-size:17px}.login-card button{width:100%;margin-top:2px}.login-error{color:#a52d1d;background:#fff0ed;border-radius:9px;padding:10px 12px;font-size:13px;font-weight:600}.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}.topbar nav button:disabled:hover{color:var(--muted);background:0 0}.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}.logout-button,.teacher-login-button{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:8px 0;font-size:12px;font-weight:700}.logout-button:hover{color:var(--red)}.teacher-login-button{color:var(--blue-dark);background:#eef2ff;border:1px solid #cfd8f6;border-radius:999px;padding:8px 12px}.teacher-login-button:hover{background:#dfe7ff}.teacher-manage-cta{color:#fff;cursor:pointer;background:#ffffff1a;border:1px solid #ffffff5c;border-radius:11px;flex:none;padding:12px 17px;font-weight:700}.teacher-manage-cta:hover{background:#ffffff2e}.workspace{width:min(1220px,100% - 40px);margin:0 auto;padding:58px 0 80px}.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}.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}.setup-message{color:#a52d1d;background:#fff0ed;border:1px solid #ffd0c9;border-radius:10px;margin:-25px 0 31px;padding:12px 15px;font-size:13px;font-weight:600}.start-requirement{color:#8a6410;text-align:right;margin:-28px 0 31px;font-size:12px;font-weight:700}.quiz-details-panel{grid-template-columns:1.3fr 1fr 1fr;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}.quiz-ready-panel{flex-direction:column;justify-content:center;min-height:390px;padding:clamp(26px,4vw,48px);display:flex}.quiz-ready-panel.has-preview{justify-content:flex-start}.quiz-ready-topline{justify-content:space-between;align-items:center;gap:12px;display:flex}.safe-screen-badge{color:#087350;background:#e9f8f2;border-radius:999px;align-self:flex-start;align-items:center;gap:6px;padding:7px 11px;font-size:12px;font-weight:700;display:inline-flex}.question-preview-toggle{color:var(--blue-dark);cursor:pointer;background:#eef2ff;border:1px solid #cfd8f6;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:700}.question-preview-toggle:hover{background:#dfe7ff}.question-preview-toggle.is-visible{color:#6f5915;background:#fff7cf;border-color:#d6bd65}.quiz-ready-panel>h2{letter-spacing:-.035em;margin:22px 0 8px;font-size:clamp(30px,4vw,48px);line-height:1.12}.quiz-ready-panel>p{color:var(--muted);margin:0;font-size:16px;line-height:1.6}.quiz-ready-facts{grid-template-columns:repeat(3,1fr);gap:10px;margin:28px 0;display:grid}.quiz-ready-facts>div{border:1px solid var(--line);background:#fbfaf7;border-radius:12px;flex-direction:column;gap:5px;padding:16px;display:flex}.quiz-ready-facts span{color:var(--muted);font-size:12px}.quiz-ready-facts strong{font-size:18px}.hidden-answers-notice{color:#625519;background:#fff7cf;border:1px solid #eadc91;border-radius:13px;align-items:center;gap:13px;padding:17px 19px;display:flex}.hidden-answers-notice>div{flex-direction:column;gap:3px;display:flex}.hidden-answers-notice span{color:#716b58;font-size:13px}.question-preview-list{gap:12px;margin-top:18px;display:grid}.question-preview-card{border:1px solid var(--line);background:#fbfaf7;border-radius:13px;padding:17px}.question-preview-heading{grid-template-columns:30px minmax(0,1fr);align-items:start;gap:10px;display:grid}.question-preview-heading>span{background:var(--ink);color:#fff;border-radius:8px;place-items:center;width:30px;height:30px;font-size:12px;font-weight:700;display:grid}.question-preview-heading strong{padding-top:3px;font-size:17px;line-height:1.5}.question-preview-choices{grid-template-columns:1fr 1fr;gap:8px;margin:13px 0 0 40px;display:grid}.question-preview-choices>div{background:#fff;border:1px solid #e4e1d8;border-radius:9px;align-items:center;gap:9px;min-width:0;padding:9px 10px;display:flex}.question-preview-choices b{background:var(--ink);color:#fff;border-radius:7px;flex:0 0 27px;place-items:center;width:27px;height:27px;font-size:12px;display:grid}.question-preview-choices span{line-height:1.4}.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}.guide-workspace{max-width:1120px}.guide-hero{color:#fff;background:radial-gradient(circle at 78% 25%,#ffc92861,#0000 16rem),linear-gradient(128deg,#172035,#2347a7);border-radius:28px;grid-template-columns:minmax(0,1fr) 290px;align-items:center;gap:clamp(28px,6vw,70px);min-height:360px;padding:clamp(32px,6vw,70px);display:grid;overflow:hidden;box-shadow:0 22px 50px #2347a733}.guide-hero .eyebrow{color:#ffd95d}.guide-hero h1{letter-spacing:-.05em;margin:0;font-size:clamp(40px,6vw,68px);line-height:1.04}.guide-hero p{color:#d8e1f6;max-width:650px;margin:17px 0 0;font-size:17px;line-height:1.7}.guide-hero-visual{aspect-ratio:1;width:250px;color:var(--ink);background:#fff;border:4px solid #fff;border-radius:20px;justify-self:center;place-items:center;display:grid;position:relative;transform:rotate(4deg);box-shadow:12px 15px #08112852}.guide-hero-visual img{width:58%;height:58%}.guide-hero-visual>strong{background:var(--yellow);border-radius:999px;padding:5px 9px;font-size:12px;position:absolute;bottom:11px;left:12px}.guide-letter{font-size:21px;font-weight:800;position:absolute}.guide-letter-a{top:9px;left:50%;transform:translate(-50%)}.guide-letter-b{top:50%;right:12px;transform:translateY(-50%)}.guide-letter-c{bottom:9px;left:50%;transform:translate(-50%)}.guide-letter-d{top:50%;left:12px;transform:translateY(-50%)}.guide-actions{justify-content:space-between;gap:10px;margin:22px 0 34px;display:flex}.guide-actions a{text-decoration:none}.guide-steps{gap:18px;display:grid}.guide-step{border:1px solid var(--line);min-height:245px;box-shadow:var(--shadow);background:#fff;border-radius:20px;grid-template-columns:50px minmax(0,1fr) minmax(220px,300px);align-items:center;gap:clamp(18px,4vw,42px);padding:clamp(24px,4vw,38px);display:grid}.guide-step-number{background:var(--yellow);width:46px;height:46px;color:var(--ink);box-shadow:3px 3px 0 var(--ink);border-radius:13px;place-items:center;font-family:Paytone One,sans-serif;font-size:23px;display:grid;transform:rotate(-4deg)}.guide-step:nth-child(2n) .guide-step-number{background:#dfe7ff;transform:rotate(4deg)}.guide-step-copy .eyebrow{margin-bottom:5px}.guide-step-copy h2{letter-spacing:-.025em;margin:0;font-size:clamp(23px,3vw,32px);line-height:1.2}.guide-step-copy p{color:var(--muted);margin:12px 0 0;line-height:1.7}.guide-illustration{background:#f3f5fb;border:1px solid #dce3f3;border-radius:17px;place-items:center;min-height:170px;display:grid;overflow:hidden}.guide-print-illustration{color:var(--blue-dark);grid-template-columns:1fr auto;gap:16px;padding:22px}.guide-paper{background:#fff;border:1px solid #d7d4ca;border-radius:6px;place-items:center;width:125px;height:145px;display:grid;position:relative;box-shadow:5px 7px #dfe3ed}.guide-paper img{width:74px;height:74px}.guide-paper b{background:var(--yellow);border-radius:50%;place-items:center;width:25px;height:25px;display:grid;position:absolute;bottom:7px;left:8px}.guide-quiz-illustration{background:linear-gradient(145deg,#eef2ff,#fff);align-content:center;place-items:start;gap:5px;padding:22px}.guide-quiz-illustration>span{color:var(--blue);font-size:11px;font-weight:800}.guide-quiz-illustration>strong{font-size:22px}.guide-quiz-illustration>small{color:var(--muted)}.guide-quiz-illustration>b{background:var(--blue);color:#fff;border-radius:8px;margin-top:12px;padding:8px 11px;font-size:12px}.guide-answer-illustration{background:#fff8d8;border-color:#e7d98f;grid-template-columns:150px 1fr;gap:14px;padding:17px}.guide-mini-card{aspect-ratio:1;border:3px solid var(--ink);background:#fff;border-radius:12px;place-items:center;width:140px;display:grid;position:relative;transform:rotate(-3deg)}.guide-mini-card img{width:62%;height:62%}.guide-mini-card b,.guide-mini-card>span{font-size:14px;position:absolute}.guide-mini-card b{color:var(--red);font-size:20px;top:4px;left:50%;transform:translate(-50%)}.guide-mini-card>span:first-of-type{top:50%;right:7px;transform:translateY(-50%)}.guide-mini-card>span:nth-of-type(2){bottom:5px;left:50%;transform:translate(-50%)}.guide-mini-card>span:nth-of-type(3){top:50%;left:7px;transform:translateY(-50%)}.guide-answer-illustration>strong{color:#795d0d;font-size:13px}.guide-scan-illustration{color:#fff;background:#111a32;border-color:#28375b;grid-template-columns:auto 1fr;gap:16px;padding:22px}.guide-scan-frame{width:88px;height:88px;color:var(--yellow);border:2px dashed #6f85bb;border-radius:15px;place-items:center;display:grid}.guide-scan-illustration>div{gap:10px;display:grid}.guide-scan-illustration>div>b{font-size:13px}.guide-scan-illustration>div>span{flex-wrap:wrap;gap:5px;display:flex}.guide-scan-illustration i{background:var(--green);border-radius:6px;width:22px;height:22px}.guide-download-panel{background:#fff7cf;border:1px solid #eadc91;border-radius:22px;justify-content:space-between;align-items:center;gap:28px;margin-top:28px;padding:clamp(26px,5vw,48px);display:flex}.guide-download-panel h2{margin:0;font-size:clamp(25px,3vw,36px)}.guide-download-panel p{color:#716b58;max-width:670px;margin:10px 0 0;line-height:1.65}.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;min-height:calc(100dvh - 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;overflow-y:auto}.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: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-copy{align-items:center;gap:12px;min-width:0;display:flex}.answer-letter{width:38px;height:38px;color:var(--ink);background:#fffffff0;border-radius:10px;flex:0 0 38px;place-items:center;font-size:.76em;line-height:1;display:inline-grid;box-shadow:0 2px #00000024}.answer-tile.is-muted{filter:grayscale(.8);opacity:.32;transform:scale(.98)}.answer-tile.is-correct{outline:5px solid #fff;transform:scale(1.015)}.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-actions{align-items:center;gap:9px;display:flex}.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;overflow-y:auto}.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}.scan-header-actions{justify-content:flex-end}.scan-header-actions button{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff3d;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700}.scan-header-actions button:hover{background:#ffffff29}.scan-header-actions>span{text-align:right;min-width:45px}.scan-question-overlay{z-index:120;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#070c19e0;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.scan-question-dialog{background:#18284e;border:1px solid #ffffff2e;border-radius:22px;width:min(900px,100%);max-height:calc(100dvh - 36px);padding:clamp(20px,4vw,38px);overflow-y:auto;box-shadow:0 30px 90px #00000073}.scan-question-dialog-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.scan-question-dialog-heading span{color:var(--yellow);letter-spacing:.08em;font-size:12px;font-weight:800}.scan-question-dialog-heading h2{color:#fff;margin:7px 0 20px;font-size:clamp(24px,4vw,44px);line-height:1.2}.scan-question-dialog-heading>button{color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:50%;flex:0 0 40px;width:40px;height:40px;font-size:28px;line-height:1}.scan-question-choices{grid-template-columns:1fr 1fr;gap:10px;display:grid}.scan-question-choices>div{background:var(--choice);color:#fff;border-radius:13px;align-items:center;gap:12px;min-height:70px;padding:13px 16px;font-size:clamp(16px,2vw,22px);font-weight:700;display:flex}.scan-question-choices strong{width:38px;height:38px;color:var(--ink);background:#fff;border-radius:9px;flex:0 0 38px;place-items:center;display:grid}.scan-question-close{margin:18px 0 0 auto;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;inset: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: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;inset: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(.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;inset: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 (width<=900px){.topbar{gap:12px;padding-inline:16px}.topbar nav button{padding:10px}.topbar nav button svg,.class-pill{display:none}.logout-button,.teacher-login-button{font-size:0}.logout-button:after{content:"ออก";font-size:12px}.teacher-login-button:after{content:"ครู";font-size:12px}.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)}.guide-hero{grid-template-columns:minmax(0,1fr) 220px}.guide-hero-visual{width:200px}.guide-step{grid-template-columns:46px minmax(0,1fr)}.guide-illustration{grid-column:2}.guide-download-panel{flex-direction:column;align-items:stretch}.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}.question-stage,.scan-panel{overflow:visible}.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 (width<=620px){.quiz-ready-facts,.guide-hero{grid-template-columns:1fr}.guide-hero-visual{width:190px}.guide-actions{flex-direction:column-reverse;align-items:stretch}.guide-actions>*{width:100%}.guide-step{grid-template-columns:1fr}.guide-step-number{margin-bottom:2px}.guide-illustration{grid-column:1}.guide-download-panel .toolbar-actions{flex-direction:column}.guide-download-panel .toolbar-actions>*{width:100%}.quiz-ready-topline{flex-direction:column;align-items:stretch}.question-preview-toggle{align-self:flex-start}.question-preview-choices{grid-template-columns:1fr;margin-left:0}.result-actions{flex-direction:column-reverse;width:100%}.result-actions button{width:100%}.scan-question-choices{grid-template-columns:1fr}.topbar{flex-wrap:wrap;height:auto;padding-block: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:12px 18px}.answers-grid{min-height:0}.answer-tile{grid-template-columns: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: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:6px;font-size:12px}}@media (orientation:landscape) and (height<=650px){.game-stage{min-height:100dvh;padding:8px;overflow-y:auto}.game-meta{grid-template-columns:130px 1fr 145px;gap:10px;height:30px}.game-layout,.game-layout:not(.is-scanning){grid-template-columns:minmax(0,1fr) minmax(245px,34vw);align-items:start;gap:8px;height:auto;min-height:calc(100dvh - 46px)}.game-layout.is-scanning{min-height:0;display:flex}.game-layout:not(.is-scanning) .question-stage,.game-layout:not(.is-scanning) .scan-panel{min-height:calc(100dvh - 46px);overflow:visible}.question-stage{padding:13px}.question-stage>h1{margin:8px auto 10px;font-size:clamp(21px,6vh,32px)}.answers-grid{gap:7px;min-height:0}.answer-tile{min-height:62px;padding:9px 11px;font-size:16px;box-shadow:inset 0 -4px #0000002e}.answer-letter{flex-basis:32px;width:32px;height:32px}.stage-callout,.result-callout,.live-controls{min-height:0;margin-top:8px}.result-callout{flex-wrap:wrap;align-items:flex-start}.result-actions{flex:none;margin-left:auto}.scan-question-dialog{width:min(960px,100%);padding:16px 20px}.scan-question-dialog-heading h2{margin-bottom:12px;font-size:clamp(21px,6vh,32px)}.scan-question-choices>div{min-height:52px;padding:8px 12px;font-size:15px}.scan-question-close{margin-top:10px}}@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}}.library-admin-actions,.library-search-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.library-search-row{background:#fff;border:1px solid #dce6ec;border-radius:16px;margin:18px 0 14px;padding:16px;box-shadow:0 8px 26px #173b570f}.library-search-row label{color:#496476;gap:6px;font-size:12px;font-weight:700;display:grid}.quiz-search-field{flex:330px}.grade-filter-field{flex:0 220px}.library-search-row input,.library-search-row select{color:#173b57;min-height:44px;font:inherit;background:#f9fbfc;border:1px solid #cbd9e1;border-radius:11px;padding:0 13px;font-size:14px}.clear-library-filter{color:#c34836;cursor:pointer;background:0 0;border:0;align-self:end;min-height:44px;font-weight:800}.game-mode-picker{border:0;gap:8px;margin:4px 0 8px;padding:0;display:grid}.game-mode-picker legend{color:#173b57;margin-bottom:8px;font-weight:900}.game-mode-picker label{cursor:pointer;background:#fff;border:1px solid #d9e3e9;border-radius:12px;align-items:flex-start;gap:9px;padding:11px;display:flex}.game-mode-picker label.selected{background:#eff4ff;border-color:#3267e3;box-shadow:0 0 0 2px #3267e31a}.game-mode-picker input{accent-color:#3267e3;margin-top:3px}.game-mode-picker label>span{gap:2px;display:grid}.game-mode-picker strong{color:#173b57;font-size:14px}.game-mode-picker small{color:#657b89;line-height:1.45}.missing-response-panel{background:#f8fbfd;border:1px solid #dce6ec;border-radius:13px;gap:10px;margin-top:10px;padding:13px;display:grid}.missing-response-panel>div:first-child{gap:2px;display:grid}.missing-response-panel strong{color:#173b57}.missing-response-panel>div:first-child span{color:#6b7f8d;font-size:12px}.missing-number-chips{flex-wrap:wrap;gap:6px;max-height:116px;display:flex;overflow:auto}.missing-number-chips span{color:#bd402d;background:#fff0ec;border-radius:9px;place-items:center;width:30px;height:30px;font-size:12px;font-weight:900;display:grid}.incomplete-confirmation{color:#634900;background:#fff8df;border:2px solid #efaa38;border-radius:14px;gap:8px;margin-top:10px;padding:14px;display:grid}.incomplete-confirmation p{margin:0;line-height:1.55}.incomplete-confirmation>div{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}::selection{color:var(--ink);background:#cdd9ff}:focus-visible{outline-offset:3px;outline:3px solid #3867f461}.topbar{background:#f8fafde0;border-bottom-color:#d6e0edd1;height:78px;box-shadow:0 8px 30px #1d345709}.brand{letter-spacing:-.03em;gap:11px;font-size:23px}.brand-mark{background:linear-gradient(145deg, #ffda67, var(--yellow));border:0;border-radius:13px;width:40px;height:40px;transform:none;box-shadow:0 8px 18px #cf97003d}.brand-mark span{transform:none}.topbar nav{background:#ffffffb8;border:1px solid #dce5efdb;border-radius:14px;padding:4px}.topbar nav button{border-radius:10px;min-height:40px;padding:9px 15px}.topbar nav button:hover{background:#f1f5fa}.topbar nav button.active{color:#2850bf;background:#e9efff;box-shadow:0 2px 8px #3867f417}.class-pill,.teacher-login-button{background:#ffffffe0;border-color:#d7e1ed;min-height:38px;box-shadow:0 5px 15px #1d34570d}.workspace{width:min(1260px,100% - 48px)}.library-workspace{padding-top:34px}.library-hero{isolation:isolate;background:radial-gradient(circle at 88% 12%,#4b7eff6b,#0000 35%),radial-gradient(circle at 8% 105%,#ffcb472e,#0000 34%),linear-gradient(132deg,#101c33 0%,#183b83 58%,#2857c6 100%);border:1px solid #ffffff24;border-radius:30px;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);align-items:center;gap:clamp(20px,4vw,58px);min-height:410px;padding:clamp(36px,5vw,64px);display:grid;position:relative;overflow:hidden;box-shadow:0 30px 70px #1a397638}.library-hero:before{content:"";z-index:-1;opacity:.17;background-image:linear-gradient(#ffffff2e 1px,#0000 1px),linear-gradient(90deg,#ffffff2e 1px,#0000 1px);background-size:44px 44px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#0000,#000 70%);mask-image:linear-gradient(90deg,#0000,#000 70%)}.library-hero-copy{z-index:2;position:relative}.library-hero .eyebrow{color:#ffdc73;letter-spacing:.19em;margin-bottom:14px}.library-hero h1{letter-spacing:-.055em;max-width:590px;font-size:clamp(48px,6vw,76px);line-height:.98}.library-hero p{color:#dce6ff;max-width:570px;margin-top:20px;font-size:clamp(16px,1.6vw,19px);line-height:1.65}.hero-proof-row{flex-wrap:wrap;gap:8px;margin:24px 0;display:flex}.hero-proof-row span{color:#edf3ff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff14;border:1px solid #ffffff29;border-radius:999px;align-items:center;gap:7px;padding:8px 11px;font-size:12px;font-weight:650;display:inline-flex}.library-admin-actions,.hero-guest-actions{flex-wrap:wrap;align-items:center;gap:11px;display:flex}.library-create,.teacher-manage-cta{background:var(--yellow);min-height:48px;color:var(--ink);border:0;border-radius:13px;padding:12px 18px;box-shadow:0 8px 22px #d59b0047}.library-create:hover,.teacher-manage-cta:hover{background:#ffd45d;transform:translateY(-2px);box-shadow:0 11px 25px #d59b0057}.hero-secondary-action{color:#fff;cursor:pointer;background:#ffffff1a;border:1px solid #ffffff3b;border-radius:13px;align-items:center;gap:8px;min-height:48px;padding:11px 16px;font-weight:700;display:inline-flex}.hero-secondary-action:hover{background:#ffffff2b}.hero-template-link,.hero-guide-link{color:#dce6ff;cursor:pointer;background:0 0;border:0;font-size:13px;font-weight:700;text-decoration:none}.hero-template-link:hover,.hero-guide-link:hover{color:#fff;text-decoration:underline}.library-hero-art{z-index:1;align-self:stretch;place-items:center;min-height:310px;display:grid;position:relative}.library-hero-art:after{content:"";filter:blur(30px);z-index:-1;background:#08122a59;border-radius:50%;width:82%;height:35%;position:absolute;bottom:5%}.library-hero-art img{object-fit:contain;filter:drop-shadow(0 24px 32px #050f2647);width:min(100%,620px);height:auto;transform:scale(1.08)}.hero-orbit{z-index:2;color:#fff;border:3px solid #fffc;border-radius:15px;place-items:center;width:48px;height:48px;font-weight:900;animation:4s ease-in-out infinite hero-float;display:grid;position:absolute;box-shadow:0 12px 24px #050f2633}.hero-orbit-a{background:var(--red);top:16%;left:-8px;transform:rotate(-8deg)}.hero-orbit-b{background:var(--blue);animation-delay:-1.7s;bottom:8%;right:2%;transform:rotate(7deg)}@keyframes hero-float{50%{translate:0 -9px}}.library-search-row{border:1px solid var(--line);background:#ffffffe0;border-radius:18px;margin:24px 0 16px;padding:14px;box-shadow:0 10px 30px #1d34570e}.library-search-row input,.library-search-row select{background:#f8fafd;border-color:#d7e1ed;border-radius:12px;min-height:48px}.category-filter{margin:0 0 19px}.category-filter button{background:#ffffffd6;border-color:#d8e2ed;min-height:40px;box-shadow:0 4px 12px #1d345709}.category-filter button.active{color:#2449b7;background:#eaf0ff;border-color:#aec1ff;box-shadow:0 5px 16px #3867f41a}.quiz-library-grid{gap:20px}.quiz-library-card{border:1px solid #dce5ef;border-radius:20px;min-height:244px;padding:23px;position:relative;overflow:hidden;box-shadow:0 12px 32px #1d345712}.quiz-library-card:before{content:"";background:var(--category);height:5px;position:absolute;inset:0 0 auto}.quiz-library-card:hover{border-color:#cbd7e5;transform:translateY(-5px);box-shadow:0 22px 46px #1d34571f}.quiz-library-card h2{letter-spacing:-.025em;margin-top:28px;font-size:23px}.quiz-card-footer{border-color:#e7edf4}.quiz-select-button{background:#edf2ff;border-radius:11px;min-height:40px;padding:8px 11px}.quiz-select-button:hover{background:#dfe8ff}.panel{border-color:#dce5ef;border-radius:20px;box-shadow:0 14px 38px #1d345712}.page-heading{margin-bottom:32px}.page-heading h1,.cards-toolbar h1{color:#10213a}.primary,.secondary,.light-button,.camera-on{min-height:44px;box-shadow:none;border-radius:12px}.primary{background:linear-gradient(135deg,#4774f6,#315bd9);box-shadow:0 8px 18px #315bd938}.primary:hover{box-shadow:0 11px 24px #315bd94d}.primary:active{box-shadow:0 5px 12px #315bd93d}.secondary{background:#fff;border-color:#d6e0eb}.secondary:hover{background:#f4f7fb}input,textarea,select{background:#f8fafd;border-color:#d5e0eb;border-radius:11px}.roster-panel,.questions-panel{padding:24px}.question-editor{background:#fff;border-color:#e0e7ef;border-radius:15px}.question-editor:hover{border-color:#bfcde0;box-shadow:0 9px 24px #1d34570f}.choice-editor{background:#f7f9fc;border-color:#e1e8f0;border-radius:10px}.game-mode-picker label{border-color:#dce5ef;border-radius:14px}.game-mode-picker label.selected{background:#eef3ff;border-color:#9eb5ff}.quiz-ready-facts>div{background:#f7f9fc;border-color:#dce5ef;border-radius:14px}.hidden-answers-notice{background:#fff8d9;border-color:#ead894;border-radius:15px}.guide-hero{background:radial-gradient(circle at 78% 18%,#4678ff66,#0000 30%),linear-gradient(132deg,#101c33,#1f4aa9);border-radius:30px;box-shadow:0 30px 70px #1a397633}.guide-step{border-color:#dce5ef;border-radius:20px;box-shadow:0 12px 34px #1d34570f}.game-stage{background:radial-gradient(circle at 40% 0,#213c72,#0000 46%),linear-gradient(145deg,#0c1528,#142544)}.question-stage,.scan-panel{background:#fff1;border-color:#ffffff21;box-shadow:inset 0 1px #ffffff0f}.answer-tile{border-radius:17px;box-shadow:inset 0 -5px #00000026,0 10px 25px #0000001a}.camera-box{border:1px solid #ffffff1f;border-radius:15px}@media (width<=960px){.library-hero{grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);padding:36px}.library-hero h1{font-size:clamp(44px,7vw,62px)}.library-hero-art img{transform:scale(1.15)}}@media (width<=760px){.topbar{flex-wrap:wrap;gap:8px 14px;height:auto;min-height:78px;padding:10px 14px}.topbar nav{order:2;justify-content:space-between;width:100%}.topbar nav button{flex:1;justify-content:center}.workspace{width:min(100% - 24px,1260px)}.library-workspace{padding-top:18px}.library-hero{border-radius:23px;grid-template-columns:1fr;gap:10px;min-height:0;padding:28px 20px 10px}.library-hero h1{font-size:clamp(40px,13vw,52px)}.library-hero p{margin-top:14px;font-size:15px}.hero-proof-row{gap:6px;margin:17px 0}.hero-proof-row span{padding:6px 9px;font-size:11px}.library-hero-art{min-height:170px;margin-inline:-8px}.library-hero-art img{width:min(100%,330px);transform:none}.hero-orbit{border-radius:11px;width:38px;height:38px}.hero-orbit-a{left:2%}.hero-orbit-b{right:3%}.library-search-row{margin-top:16px}.quiz-library-grid{grid-template-columns:1fr}}@media (width<=520px){.topbar{padding-inline:12px}.brand{font-size:21px}.brand-mark{width:36px;height:36px}.hero-proof-row span{font-size:11px}.library-admin-actions,.hero-guest-actions{flex-direction:column;align-items:stretch}.library-create,.teacher-manage-cta,.hero-secondary-action{width:100%}.hero-template-link,.hero-guide-link{align-self:center;padding:5px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!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}
