
:root{font-family:Nunito,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;--ink:#262953;--muted:#7e84a2;--navy:#25264f;--purple:#6966e8;--purple-dark:#4b46c8;--soft:#f7f8fd;--border:#e6e7f3;--yellow:#ffd56b;--coral:#ff746d;--green:#21b69c;--white:#fff;--shadow:0 15px 45px rgba(47,52,111,.075)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--soft);color:var(--ink)}body,button,input,textarea,select{font-family:Nunito,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f2ba54;outline-offset:2px}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.15px}h2{letter-spacing:-.55px}a{color:inherit;text-decoration:none}input,textarea,select{font-size:14px}.loading-screen{min-height:80vh;display:grid;place-content:center;text-align:center;gap:10px}.loading-screen img{height:150px}.loading-screen h1{font-size:22px}
.shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{background:#25274e;color:white;padding:28px 18px;display:flex;flex-direction:column;gap:22px;min-height:100vh;position:sticky;top:0;height:100vh;overflow:auto;z-index:20}.brand{display:flex;gap:10px;align-items:center;padding:0 10px 20px;border-bottom:1px solid #ffffff1b}.brand-mark{background:#6e6be7;border-radius:16px;display:grid;place-items:center;width:45px;height:45px;font-size:27px;transform:rotate(-6deg);box-shadow:inset 0 -5px 0 #0001}.brand .brand-name{font-size:18px;font-weight:1000;line-height:1.2}.brand .brand-tag{color:#b9bfe5;font-size:10px;letter-spacing:.09em;font-weight:900;margin-top:4px}.sidebar-label{font-weight:1000;font-size:10px;color:#949cc4;letter-spacing:.15em;margin:10px 11px 2px}.nav-list{display:grid;gap:7px}.nav{border:1px solid transparent;background:transparent;color:#c8cce7;padding:13px 13px;border-radius:13px;display:flex;align-items:center;gap:12px;text-align:left;font-size:14px;font-weight:900;transition:background .15s}.nav .ico{width:23px;text-align:center;font-size:17px}.nav:hover,.nav.active{color:#fff;background:#ffffff20}.nav.active{border-color:#ffffff35;box-shadow:inset 4px 0 0 #ffce66}.sidebar-bottom{margin-top:auto;background:#ffffff10;border:1px solid #ffffff1c;border-radius:17px;padding:14px;line-height:1.55;color:#d5d9ee;font-size:12px}.sidebar-bottom strong{color:#ffe3a2}.sidebar-bottom img{max-height:86px;float:right;width:86px;margin-left:5px}.sidebar-bottom b{display:block;color:white;margin-bottom:6px}
.main{min-width:0;padding:26px clamp(18px,3.3vw,58px) 70px}.site-header{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:52px;margin-bottom:24px}.site-header .crumb{color:#9298af;font-size:13px;font-weight:800}.header-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mini-chip{border:1px solid var(--border);background:white;border-radius:100px;display:inline-flex;gap:7px;align-items:center;padding:8px 13px;color:#625fd0;font-size:12px;font-weight:900}.mini-chip.green{color:#1c9e80;background:#eafaf4;border-color:#d3f3e5}.avatar{width:37px;height:37px;display:grid;place-items:center;background:#ffe5c2;color:#b36622;border:3px solid white;border-radius:50%;font-weight:1000}
.btn{border:1px solid #e4e4f1;padding:11px 17px;border-radius:13px;background:white;color:var(--ink);font-size:13px;font-weight:1000;display:inline-flex;align-items:center;gap:9px;justify-content:center;transition:transform .15s,box-shadow .15s,border-color .15s}.btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #45449120}.btn.primary{background:var(--purple);border-color:var(--purple);color:white;box-shadow:0 7px 15px #6966e833}.btn.dark{background:#262750;border-color:#262750;color:white}.btn.orange{background:#ffb84e;border-color:#ffb84e;color:#593a2e}.btn.ghost{background:transparent;color:inherit;border-color:#ffffff91}.btn.pale{background:#eef0ff;color:#504cca;border-color:#eef0ff}.btn.danger{background:#fff0f0;color:#c23e56;border-color:#ffd9dd}.btn.small{font-size:12px;padding:8px 11px;border-radius:10px}.btn.large{padding:15px 21px;font-size:14px;border-radius:15px}.btn.block{width:100%}.btn.plain{background:none;border:0;box-shadow:none}.btn.round{border-radius:100px}.wrap{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:1000;letter-spacing:.15em;text-transform:uppercase;color:#6a67dc}.title-xl{font-size:clamp(25px,3vw,36px);line-height:1.24}.section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:34px 0 18px}.section-title h2{font-size:22px}.section-title p{font-size:13px;color:var(--muted);margin-top:4px}.intro{max-width:800px;font-size:14px;line-height:1.8;margin-top:9px;color:var(--muted)}.card{background:white;border:1px solid var(--border);border-radius:21px;box-shadow:var(--shadow)}.card.padded{padding:22px}.status-dot{height:7px;width:7px;background:#2fb79d;border-radius:50%;display:inline-block}.label{font-size:12px;font-weight:1000;color:#525a7c;display:block;margin-bottom:8px}.control{width:100%;border:1px solid #dfe2ef;border-radius:12px;min-height:44px;padding:11px 13px;background:white;color:var(--ink);outline:0;font-weight:700}.control:focus{border-color:#8986ef;box-shadow:0 0 0 3px #8d8aff25}textarea.control{min-height:86px;resize:vertical;line-height:1.6}.field{margin-bottom:18px}.field-hint{display:block;margin-top:5px;color:#9399b0;font-size:11px}.pill{border-radius:99px;padding:6px 11px;font-size:11px;font-weight:1000;white-space:nowrap;background:#e9f8f3;color:#168f76}.pill.orange{background:#fff0da;color:#b06d2d}.pill.purple{background:#eeecff;color:#6654ce}.divider{border:0;border-top:1px solid var(--border);margin:19px 0}.tiny{font-size:12px}.font-bold{font-weight:1000}
.hero{min-height:330px;background:linear-gradient(110deg,#5d5ddd 0%,#7772ef 57%,#8e84f2 100%);border-radius:27px;overflow:hidden;position:relative;padding:46px 42px;display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:center;color:white;box-shadow:0 22px 55px #6564d831}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 76% 24%,#ffffff22 3px,transparent 4px) 0 0/44px 44px;opacity:.8}.hero:after{content:"";position:absolute;width:620px;height:390px;border:3px dashed #ffffff35;border-radius:50%;right:-165px;top:-30px;transform:rotate(-20deg)}.hero-copy{position:relative;z-index:2}.hero-eyebrow{font-size:11px;font-weight:1000;color:#fff2bd;letter-spacing:.16em;margin-bottom:13px}.hero h1{font-size:clamp(28px,3.1vw,45px);max-width:640px;line-height:1.24;font-weight:1000}.hero h1 em{font-style:normal;color:#ffe18b}.hero p{font-size:14px;line-height:1.75;color:#eeeaff;margin:15px 0 22px;max-width:520px}.hero-art{position:relative;z-index:2;min-height:300px;display:flex;justify-content:center;align-items:center}.hero-art img{width:min(100%,325px);height:310px;filter:drop-shadow(0 22px 16px #322b7e44);animation:floaty 3.6s ease-in-out infinite}.floating-sticker{position:absolute;background:white;border:3px solid #ebe6ff;border-radius:17px;box-shadow:0 10px 25px #2019683b;padding:11px 17px;color:#6357db;font-size:12px;font-weight:1000}.floating-sticker.one{top:29px;right:6px;transform:rotate(9deg)}.floating-sticker.two{bottom:35px;left:5px;transform:rotate(-9deg);color:#bc7840}.spark{position:absolute;color:#fff5a3;font-size:44px;left:30px;top:48px;opacity:.9}@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}.stat-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:18px}.stat-card{background:white;border:1px solid var(--border);border-radius:18px;display:flex;align-items:center;gap:13px;padding:18px}.stat-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;font-size:24px;background:#eeefff}.stat-icon.yellow{background:#fff2d9}.stat-icon.green{background:#dffaf2}.stat-num{font-size:23px;font-weight:1000;line-height:1.1}.stat-caption{font-size:12px;font-weight:800;color:#969bb1;margin-top:4px}
.filterbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.filter{border:1px solid #e0e3f2;border-radius:100px;padding:9px 16px;color:#777f9e;background:#fff;font-size:12px;font-weight:1000}.filter.active{background:var(--purple);color:white;border-color:var(--purple)}.search{border:1px solid var(--border);border-radius:12px;background:white;min-height:40px;padding:9px 13px;color:var(--ink);margin-left:auto;width:min(270px,100%)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.game-card{overflow:hidden;transition:transform .2s,box-shadow .2s}.game-card:hover{transform:translateY(-5px);box-shadow:0 23px 40px #47468a22}.game-image{height:187px;background:#eee;overflow:hidden;position:relative}.game-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.game-card:hover .game-image img{transform:scale(1.05)}.game-ribbon{position:absolute;top:12px;left:12px;background:#fffdfaef;padding:6px 10px;border-radius:10px;font-weight:1000;font-size:10px;color:#6862c3;box-shadow:0 5px 16px #0001}.game-body{padding:18px}.game-body h3{font-size:17px;line-height:1.3}.game-body p{margin-top:8px;color:#8a90a7;font-size:12px;line-height:1.7;min-height:41px}.game-foot{margin-top:15px;display:flex;justify-content:space-between;gap:10px;align-items:center}.game-level{color:#aaa6bd;font-size:11px;font-weight:1000}.empty{background:white;border-radius:18px;text-align:center;padding:52px 20px;color:var(--muted)}.advice{margin-top:26px;padding:17px 20px;background:#eeefff;border:1px solid #e2e4ff;border-radius:17px;display:flex;gap:14px;align-items:flex-start;color:#5a5ca2;font-size:13px;line-height:1.65}.advice .big{font-size:24px}
.row{display:flex;gap:14px;align-items:center}.col2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.editor-shell{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:20px;align-items:start}.bank-item{padding:14px;border:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:13px;background:white;text-align:left;width:100%;margin-bottom:9px}.bank-item.active{border-color:#8783e7;background:#f4f3ff}.bank-item .name{font-size:13px;font-weight:1000}.bank-item .count{font-size:11px;color:#9198b0}.questions-scroll{display:grid;gap:8px;max-height:480px;overflow:auto;padding-right:3px}.question-item{text-align:left;display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border:1px solid var(--border);border-radius:12px;background:white;width:100%;font-size:12px;color:#555e80;line-height:1.5;font-weight:800}.question-item.active{border-color:#7776ed;background:#f1f0ff}.q-num{background:#f0eeff;color:#6662dc;min-width:28px;height:28px;display:grid;place-items:center;border-radius:9px;font-size:12px;font-weight:1000}.q-thumb{width:90px;height:58px;object-fit:cover;border-radius:8px;border:1px solid var(--border)}.option-input{display:grid;grid-template-columns:24px minmax(0,1fr) 45px;align-items:center;gap:9px;margin-bottom:10px}.option-input strong{font-size:13px;color:#7776d2}.option-input input[type=radio]{height:17px;width:17px;accent-color:var(--purple)}.image-preview{width:100%;max-height:180px;object-fit:contain;background:#f7f8fc;border-radius:11px;border:1px solid var(--border);margin:7px 0}.badge-row{display:flex;gap:7px;flex-wrap:wrap}
.setup-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.select-game-art{width:100%;border-radius:17px;height:240px;object-fit:cover}.teamfields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.swatches{display:flex;flex-wrap:wrap;gap:8px}.swatch{width:25px;height:25px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #ccd0e5}.callout{background:#f4f3ff;color:#645f9d;padding:12px 14px;border-radius:12px;font-size:12px;line-height:1.65}.step-list{display:grid;gap:12px}.step{display:flex;gap:15px;align-items:flex-start;padding:15px;background:white;border:1px solid var(--border);border-radius:14px}.step-number{background:#f0efff;color:#6862df;min-width:35px;height:35px;border-radius:11px;display:grid;place-items:center;font-weight:1000}.step p{font-size:13px;color:var(--muted);line-height:1.65;margin-top:5px}.help-box h3{margin-bottom:11px}
.live-header{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:18px}.live-header h1{font-size:clamp(23px,3vw,31px)}.live-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:17px}.live-main{min-width:0}.stage-art{height:218px;border-radius:20px;position:relative;overflow:hidden;background:linear-gradient(110deg,#9185ec,#6269d9);margin-bottom:19px}.stage-art img{width:100%;height:100%;object-fit:cover;opacity:.9}.stage-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#141d6d99,transparent 70%)}.stage-art-title{position:absolute;z-index:1;top:20px;left:25px;right:20px;color:#fff}.stage-art-title h2{font-size:clamp(22px,3vw,33px);text-shadow:0 3px 14px #0003}.stage-art-title p{font-size:12px;color:#fff9;margin-top:5px}.live-card{background:white;border:1px solid var(--border);border-radius:20px;padding:22px}.q-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.question-title{font-size:clamp(19px,2.1vw,27px);line-height:1.47;font-weight:1000;margin:7px 0 18px}.question-photo{max-height:250px;max-width:100%;border-radius:12px;margin:0 0 16px;border:1px solid #eaeaf2}.answers{display:grid;grid-template-columns:1fr 1fr;gap:11px}.answer-btn{border:2px solid #ececf5;background:#fff;border-radius:14px;padding:14px 15px;min-height:68px;text-align:left;display:flex;gap:10px;align-items:center;font-size:14px;font-weight:900;line-height:1.5}.answer-btn:hover:not(:disabled){border-color:#aaa8fc;background:#f7f6ff}.answer-btn b{background:#f0efff;border-radius:9px;min-width:29px;height:29px;color:#6965d5;display:grid;place-items:center;font-size:12px}.answer-btn.correct{border-color:#45c29e;background:#e9fff5;color:#18866c}.answer-btn.wrong{border-color:#ffa6ae;background:#fff0f1;color:#b74d64}.feedback{margin-top:15px;border-radius:13px;padding:13px 15px;line-height:1.7;font-size:13px;font-weight:800;background:#eaf8f3;color:#23876d}.feedback.bad{background:#fff0f0;color:#b84b61}.feedback.neutral{background:#f1f1ff;color:#6b63b7}.live-controls{margin-top:17px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.live-side{min-width:0}.scoreboard{padding:18px}.scoreboard h3{font-size:17px;margin-bottom:14px}.teamline{padding:12px;border:1px solid var(--border);border-radius:12px;margin-bottom:9px;background:#fff}.teamline.active{background:#f3f1ff;border-color:#a4a1f7}.team-top{display:flex;justify-content:space-between;gap:6px;align-items:center}.team-name{font-size:12px;font-weight:1000;overflow-wrap:anywhere}.team-score{font-size:20px;font-weight:1000}.team-bottom{font-size:11px;color:#9b9fb8;margin-top:5px}.score-btns{display:flex;gap:6px;margin-top:6px}.score-btns button{border-radius:8px;border:1px solid var(--border);background:white;font-size:12px;font-weight:900;padding:3px 9px}.current-team{font-size:12px;font-weight:800;background:#fff3d9;color:#98703f;padding:10px;border-radius:11px;margin-bottom:12px}
.board{margin-top:19px;padding:18px;background:#f7f7fe;border-radius:18px;border:1px solid #e8e8f7;overflow:hidden}.board-head{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px;font-weight:1000;font-size:13px}.board-note{font-size:11px;color:#878daa;font-weight:800}.board-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.board-tile{background:linear-gradient(145deg,#6767e7,#8179ee);border:3px solid #b2b0ff;border-radius:14px;min-height:68px;display:grid;place-items:center;color:white;font-size:23px;font-weight:1000;box-shadow:0 6px 0 #5d59b850;transition:transform .18s}.board-tile:hover:not(:disabled){transform:translateY(-3px)}.board-tile.revealed{background:#fff;border-color:#e8e1ff;color:#6660b8;box-shadow:none}.board-tile.opened{opacity:.57;box-shadow:none}.board-tile:disabled{opacity:.66}.cardboard{display:flex;justify-content:center;flex-wrap:wrap;gap:11px;min-height:185px;align-content:center}.draw-card{background:linear-gradient(145deg,#ffb984,#ff7f97);border:5px solid #fff;box-shadow:0 8px 14px #3939772b;border-radius:17px;width:94px;height:128px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:5px;font-size:35px;color:white;transform:rotate(-3deg)}.draw-card:nth-child(3n){transform:rotate(5deg);background:linear-gradient(145deg,#8dc1fc,#8880f3)}.draw-card:nth-child(2n){background:linear-gradient(145deg,#77e8d2,#2cbbab)}.draw-card[disabled]{opacity:.4}.draw-card:hover:not(:disabled){transform:translateY(-8px) rotate(0)}.reward-bubble{text-align:center;background:white;border:1px dashed #c6c3ec;border-radius:14px;padding:13px;margin-top:12px;font-size:16px;font-weight:1000;color:#6161bc}.race-lane{display:grid;grid-template-columns:105px repeat(12,minmax(0,1fr));align-items:center;gap:3px;margin:11px 0}.race-label{font-weight:1000;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.race-cell{height:35px;border-radius:6px;background:#e8e8fa;display:grid;place-items:center;font-size:15px}.race-cell.filled{background:#ffdc85}.race-cell.runner{background:#8fd9ba}.board-wheel{width:min(295px,80%);aspect-ratio:1;margin:15px auto;border-radius:50%;border:13px solid #fff;box-shadow:0 8px 0 #b7addf,0 14px 25px #4945942f;background:conic-gradient(#f4b968 0deg 45deg,#ef78a2 45deg 90deg,#8588e5 90deg 135deg,#66c9aa 135deg 180deg,#ffe09a 180deg 225deg,#a989ed 225deg 270deg,#73c6f0 270deg 315deg,#ef9577 315deg 360deg);display:grid;place-items:center;position:relative;transition:transform 1.1s cubic-bezier(.17,.67,.3,1.05)}.board-wheel:after{content:"★";background:#fff;border-radius:50%;color:#f2b456;display:grid;place-items:center;width:65px;height:65px;font-size:35px;box-shadow:0 2px 18px #5758a43a}.wheel-pointer{position:relative;margin:-6px auto 0;background:#ffba5e;clip-path:polygon(0 0,100% 0,50% 100%);width:36px;height:39px;z-index:2;filter:drop-shadow(0 3px 1px #8663a8)}.chests{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.chest{min-height:82px;border:0;border-radius:13px;background:linear-gradient(135deg,#b17a56,#7f5078);color:white;display:grid;place-items:center;font-size:28px;box-shadow:inset 0 7px 0 #e9bb74,0 5px 0 #533f6d}.chest.open{background:#fff;color:#6758b8;box-shadow:none;border:2px solid #dbd7ed}.towergrid{display:flex;gap:13px;justify-content:center;align-items:end;min-height:220px}.towercol{flex:1;max-width:160px;display:flex;flex-direction:column;align-items:center;gap:2px}.towerstack{height:170px;display:flex;flex-direction:column;justify-content:end;gap:3px;width:80%}.towerblock{height:18px;background:#ffce7c;border:2px solid white;border-radius:5px;box-shadow:0 2px 0 #ca9579}.towercol:nth-child(2n) .towerblock{background:#96d9ef}.towercol:nth-child(3n) .towerblock{background:#dea9ed}.tower-name{font-size:11px;font-weight:1000;text-align:center}.seal-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;max-width:430px;margin:20px auto}.seal{aspect-ratio:1;border:3px dashed #d4c8f2;border-radius:15px;background:#ece6fc;display:grid;place-items:center;font-size:30px;color:#aaa3ca}.seal.ok{border-style:solid;border-color:#ffe3a0;background:#fff0bb;color:#e49e48}.meter-row{display:flex;gap:9px;align-items:center;font-weight:1000;font-size:12px;margin:10px 0}.meter-name{min-width:92px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.meter-track{height:21px;border-radius:100px;background:#e7e5f3;flex:1;overflow:hidden}.meter-fill{height:100%;border-radius:100px;background:linear-gradient(90deg,#61c8cf,#8573eb)}.mosaic{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;max-width:480px;margin:auto;border:8px solid #fff;border-radius:14px;overflow:hidden;box-shadow:0 6px 25px #5e63b02c;background:#7c89d1}.mosaic-piece{aspect-ratio:1.15;background:#e8eafa;display:grid;place-items:center;font-size:22px;color:#9b9dc3;transition:background .2s}.mosaic-piece.open{background:linear-gradient(140deg,#5bd0bc,#c5f0c3,#ffda7f);color:#fff;font-size:26px}.quiz-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.quiz-cell{min-height:62px;border-radius:11px;border:2px solid #e1e1fb;background:linear-gradient(125deg,#736bea,#514fc9);color:white;font-size:20px;font-weight:1000}.quiz-cell.sel{border:4px solid #ffd66a;background:#9485ee}.quiz-cell.used{background:#e4e3f2;color:#a6a5b9}.bridge-lanes{display:flex;flex-direction:column;gap:15px;margin:17px 0}.bridge-row{display:grid;grid-template-columns:90px repeat(10,minmax(0,1fr));align-items:center;gap:5px}.bridge-piece{height:27px;background:#dfebf7;border-radius:4px;display:grid;place-items:center}.bridge-piece.built{background:#e9b16b;box-shadow:inset 0 -5px #d39d59}.island-path{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:25px 0}.island-node{width:54px;height:54px;display:grid;place-items:center;background:#d9e4ff;border-radius:47% 53% 46% 54%;font-size:22px;color:#9ea8c7;flex-shrink:0}.island-node.done{background:#93e0bd;color:#fff}.island-node.current{background:#ffd785;color:#8b5e34;box-shadow:0 0 0 5px #ffe3af}.island-connector{flex:1;height:4px;background:#cfdbf6;border-radius:100px}.timer-display{font-size:clamp(48px,7vw,88px);font-weight:1000;text-align:center;color:#5759c3;letter-spacing:-4px;margin:8px 0}.timer-display.low{color:#e7506b;animation:blink 1s infinite}@keyframes blink{50%{opacity:.55}}.game-winner{padding:25px;border-radius:17px;background:linear-gradient(115deg,#fef3ce,#fff8ea);text-align:center;border:2px dashed #f2d48b}.game-winner h2{font-size:28px;margin:8px 0}.game-winner p{color:#997e51;font-size:13px}.podium{display:flex;gap:8px;justify-content:center;align-items:end;min-height:155px;margin-top:25px}.podium .p{width:27%;min-height:65px;border-radius:12px 12px 0 0;background:#d5c6f9;display:flex;align-items:center;flex-direction:column;padding:13px 8px;gap:8px;font-size:12px;font-weight:1000}.podium .p:nth-child(2){min-height:135px;background:#ffe19e}.podium .p:nth-child(3){min-height:100px;background:#a3e4ce}.toast{position:fixed;z-index:100;bottom:22px;right:22px;max-width:min(430px,calc(100vw - 36px));background:#292a57;color:white;padding:13px 18px;border-radius:15px;font-size:13px;font-weight:800;box-shadow:0 20px 45px #20214d44;opacity:0;pointer-events:none;transform:translateY(12px);transition:all .2s}.toast.show{opacity:1;transform:translateY(0)}.projector .sidebar,.projector .site-header{display:none}.projector .shell{display:block}.projector .main{padding:14px 18px 24px;max-width:none}.projector .live-layout{grid-template-columns:minmax(0,1fr) 245px}.projector .stage-art{height:170px}.projector .question-title{font-size:clamp(24px,2.9vw,38px)}.projector .answer-btn{font-size:clamp(15px,1.4vw,21px);min-height:85px}.projector .live-header{margin-bottom:12px}.projector .board{padding:16px}.projector .live-card{padding:16px}
@media(max-width:1100px){.shell{grid-template-columns:215px 1fr}.sidebar{padding:21px 12px}.main{padding:25px}.hero{grid-template-columns:1fr 215px;padding:28px}.hero-art img{height:225px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.live-layout{grid-template-columns:minmax(0,1fr) 220px}.editor-shell{grid-template-columns:1fr}.setup-grid{grid-template-columns:1fr}.stage-art{height:178px}}
@media(max-width:700px){.shell{display:block}.sidebar{height:auto;min-height:auto;position:static;padding:12px;gap:9px}.brand{padding:3px 5px 7px;border:0}.brand-mark{width:36px;height:36px;border-radius:11px}.brand .brand-name{font-size:16px}.sidebar-label,.sidebar-bottom{display:none}.nav-list{display:flex;gap:7px;overflow:auto;padding-bottom:3px}.nav{font-size:11px;padding:8px 11px;border-radius:10px;flex-shrink:0;gap:5px}.nav .ico{font-size:14px;width:16px}.main{padding:15px 12px 40px}.site-header{margin-bottom:13px}.hero{grid-template-columns:1fr;min-height:0;padding:28px 22px}.hero-art{min-height:170px}.hero-art img{height:190px;width:190px}.floating-sticker{font-size:10px}.hero h1{font-size:29px}.stat-strip{grid-template-columns:1fr 1fr;gap:8px}.stat-card{padding:11px}.stat-card:last-child{grid-column:1/3}.cards{grid-template-columns:1fr 1fr;gap:10px}.game-image{height:125px}.game-body{padding:12px}.game-body h3{font-size:14px}.game-body p{font-size:11px;min-height:0}.game-foot{align-items:flex-start;flex-direction:column}.section-title{margin:23px 0 12px}.section-title h2{font-size:19px}.search{margin-left:0;width:100%}.col2,.editor-shell,.live-layout,.setup-grid{grid-template-columns:1fr}.live-side{order:2}.answers{grid-template-columns:1fr}.teamfields{grid-template-columns:1fr 1fr}.board-grid{gap:5px}.board-tile{min-height:54px;font-size:17px}.draw-card{width:67px;height:92px;font-size:24px}.chests{grid-template-columns:repeat(3,1fr)}.chest{min-height:65px}.live-header h1{font-size:22px}.live-card{padding:15px}.stage-art{height:150px}.projector .main{padding:9px}.projector .live-layout{grid-template-columns:1fr}.projector .stage-art{height:125px}.projector .answer-btn{font-size:17px;min-height:65px}.projector .live-header h1{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* ==========================================================
   LỚP CHƠI STUDIO V3 — ORIGINAL CINEMATIC CARTOON WORLDS
   Artwork: 100% local hand-authored SVG, no commercial assets.
   ========================================================== */
:root{--purple:#6756ed;--purple-dark:#4736be;--ink:#25234e;--soft:#f1f2fb;--shadow:0 18px 40px rgba(49,43,103,.12)}
body{background:radial-gradient(ellipse at 45% 0%,#f6efff,#f0f2fc 62%,#fff5eb)}
.sidebar{background:linear-gradient(165deg,#211c50 4%,#302264 45%,#151c42 100%);border-right:1px solid #ffffff20}
.brand-mark{background:linear-gradient(130deg,#ffcb68,#ff7db6 55%,#8f78ff);box-shadow:0 10px 25px #0004;transform:rotate(-7deg)}
.nav.active{background:linear-gradient(100deg,#8b69f766,#f5aa5e33);border:1px solid #ffffff45;box-shadow:inset 4px 0 0 #ffd378,0 10px 30px #0002}
.main{max-width:1750px;margin-inline:auto}
.hero{background:linear-gradient(110deg,#363081 0%,#6253b5 44%,#ef8ca1 100%);padding-block:50px;min-height:392px;box-shadow:0 28px 55px #574d9e33;border:2px solid #ffffff99;isolation:isolate}
.hero:before{inset:0;background:radial-gradient(circle at 82% 37%,#fff2b9aa 0 9%,transparent 23%),radial-gradient(circle at 64% 58%,#ffffff21 0 1.5px,transparent 3px) 0 0/35px 35px,linear-gradient(0deg,#211e5c70,transparent 65%);opacity:1}
.hero:after{width:500px;height:500px;border:16px solid #ffffff25;right:-190px;top:-150px;box-shadow:0 0 0 70px #ffffff0c}
.hero h1{font-size:clamp(37px,3.2vw,55px);line-height:1.13;text-shadow:0 3px 16px #1a1a4730}
.hero p{font-size:15px;max-width:590px}
.hero-art{min-height:330px}
.hero-art img{position:relative;z-index:3;filter:drop-shadow(0 33px 15px #121c564b)}
.hero-planet{position:absolute;border-radius:50%;pointer-events:none;box-shadow:inset -24px -15px 0 #36358520,0 20px 30px #231b5a27}
.hero-planet-one{width:190px;height:190px;right:8%;top:10%;background:linear-gradient(130deg,#fce6ac,#f2a8b9)}
.hero-planet-two{width:100px;height:100px;left:5%;bottom:12%;background:linear-gradient(130deg,#a7f9e0,#77c9e5)}
.floating-sticker{z-index:4;border-width:2px;padding:12px 18px;font-size:13px}
.stat-card,.game-card,.card{box-shadow:0 16px 42px #3c386913}
.game-card{border-radius:23px;isolation:isolate}
.game-image.v3-game-image{height:205px;background:#5d5088;position:relative}
.game-image.v3-game-image:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(0deg,#141440bb,transparent);pointer-events:none}
.game-image.v3-game-image img{opacity:1;object-position:center center;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.game-card:hover .v3-game-image img{transform:scale(1.085)}
.game-ribbon{background:#fff7ed;color:#6657b7;font-weight:1000;z-index:2}
.card-scene-label{position:absolute;bottom:15px;left:16px;right:15px;color:white;font-size:18px;z-index:2;font-weight:1000;line-height:1.25;text-shadow:0 3px 8px #14143eaa}
.game-body{padding:19px 20px 20px}
.game-body h3{font-size:18px}
.game-foot .wrap{gap:6px}
.game-foot .btn.small{min-height:37px}
.game-foot .game-level{font-size:11px}
.btn.primary{background:linear-gradient(120deg,#6f5ff1,#6254d5);border-color:#6656e2;box-shadow:0 9px 18px #5a4ed63a}
.btn.orange{background:linear-gradient(120deg,#ffdf8c,#ffb761);color:#68414c;border-color:#ffe5ae;box-shadow:0 8px 18px #ba80472b}
.filter.active{background:linear-gradient(115deg,#6e5feb,#a07aee);border-color:transparent}
/* Storybook game banners are actual layered scene assets. */
.stage-art.scene-stage{height:335px;border:5px solid #fff;border-radius:29px;background:#393869;box-shadow:0 23px 45px #3d38652f, inset 0 0 0 1px #ffffff72;margin-bottom:22px}
.stage-art.scene-stage img{object-fit:cover;width:100%;height:100%;opacity:1;animation:scene-enter .8s cubic-bezier(.18,.8,.2,1) both}
.stage-art.scene-stage:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#182456a8,transparent 60%),linear-gradient(0deg,#15235070,transparent 30%);pointer-events:none}
.stage-art-title{z-index:2;top:auto;left:27px;bottom:29px;max-width:470px;padding:10px}
.stage-art-title h2{font-size:clamp(27px,2.5vw,42px);line-height:1.08;text-shadow:0 3px 8px #16225799}
.stage-art-title p{font-size:13px;line-height:1.5;max-width:420px;text-shadow:0 1px 3px #162257bb}
.stage-art-title .pill{box-shadow:0 5px 15px #1c315a3d}
.stage-v3-indicator{position:absolute;right:20px;top:20px;z-index:4;color:#fff;background:#30254bb8;border:1px solid #fff5;padding:8px 14px;border-radius:50px;letter-spacing:.14em;font-size:10px;font-weight:1000;backdrop-filter:blur(9px)}
@keyframes scene-enter{from{transform:scale(1.055);opacity:.65}to{transform:scale(1);opacity:1}}
.live-main .live-card{border:1px solid #e3e0f4;box-shadow:0 18px 55px #3c38641a;border-radius:24px;padding:24px}
.question-title{font-size:clamp(22px,2.15vw,30px);line-height:1.4}
.answer-btn{border:2px solid #e5e4f6;background:linear-gradient(120deg,#ffffff,#faf9ff);box-shadow:0 5px 0 #e6e4f1;transition:transform .14s,box-shadow .14s,border-color .14s;font-size:15px;min-height:75px}
.answer-btn:hover:not(:disabled){transform:translateY(-3px);border-color:#9990ed;box-shadow:0 9px 0 #e5e2fa}
.answer-btn b{background:#eeebff;color:#6e5bcb;box-shadow:0 3px 0 #d6ccff}
.answer-btn.correct{background:#e5fff1!important;border-color:#4dce95!important;box-shadow:0 4px 0 #abebc9}
.answer-btn.wrong{background:#fff0ee!important;border-color:#ed968a!important;box-shadow:0 4px 0 #ffcbc4}
/* The illustrated game board is a playable scene, not a gradient box. */
.board.v3-board{background:#293e75;isolation:isolate;position:relative;padding:21px 20px 25px;border-radius:23px;border:5px solid #fff;box-shadow:0 22px 34px #2c2b5631, inset 0 0 0 2px #ffffff66;min-height:290px;overflow:hidden;color:white;margin-top:25px}
.board.v3-board::before{content:'';position:absolute;inset:-7px;z-index:-2;background-image:var(--scene-image);background-size:cover;background-position:center 64%;transform:scale(1.02)}
.board.v3-board::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#161e56a8 0%,#16245062 36%,#19184ca5 100%)}
.v3-board .board-head{font-size:14px;text-shadow:0 2px 5px #16194cbd;margin-bottom:20px;gap:10px}
.v3-board .board-note{color:#f6eaff;text-shadow:0 1px 4px #1c2053aa}
.v3-board .reward-bubble{border:2px solid #ffebae;background:#fff9e9;box-shadow:0 7px 15px #201c522e;color:#674486;font-size:17px;margin-top:18px;animation:reward-pop .35s cubic-bezier(.2,1.5,.4,1)}
@keyframes reward-pop{from{transform:scale(.9);opacity:.5}to{transform:scale(1);opacity:1}}
.v3-board .btn{box-shadow:0 8px 0 #1b244b7a}
/* Real interactive illustrated treasure chests */
.board-treasure{min-height:510px!important}
.board-treasure::after{background:linear-gradient(180deg,#1747788c 0%,#184b6280 55%,#162945b8 100%)!important}
.treasure-island-board{min-height:355px;position:relative;display:flex;flex-direction:column;justify-content:end;padding:15px 7px 3px}
.treasure-instruction{font-size:17px;text-align:center;font-weight:1000;margin:0 0 15px;text-shadow:0 2px 7px #102a4da9}
.v3-board .chests{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;align-items:end;max-width:1020px;width:100%;margin:auto}
.v3-board .chest{background:transparent;border:0;box-shadow:none;min-height:125px;padding:7px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:end;position:relative;color:white;transition:filter .2s,transform .2s}
.v3-board .chest img{height:97px;width:min(100%,134px);object-fit:contain;filter:drop-shadow(0 8px 6px #1a254d6b)}
.v3-board .chest strong{font-size:12px;background:#382d6aba;padding:3px 10px;border:1px solid #ffffff8a;border-radius:20px;margin-top:-6px;position:relative;z-index:1}
.v3-board .chest:hover:not(:disabled){transform:translateY(-14px) scale(1.06);filter:brightness(1.1)}
.v3-board .chest.open{opacity:1;animation:chest-pop .35s ease both}
.v3-board .chest.open img{filter:drop-shadow(0 0 14px #fff0a3)}
.v3-board .chest:disabled{opacity:.73}
@keyframes chest-pop{0%{transform:translateY(10px) scale(.88)}60%{transform:translateY(-10px) scale(1.08)}100%{transform:translateY(0) scale(1)}}
/* Animated character tokens on a racetrack */
.board-race{min-height:470px!important}
.board-race::after{background:linear-gradient(180deg,#20204d71 0%,#191944bd 85%)!important}
.race-world{max-width:1120px;margin:auto;padding:12px 5px 12px;min-height:290px}
.race-heading{display:flex;justify-content:space-between;color:#fff0c1;font-size:12px;letter-spacing:.12em;font-weight:1000;margin-bottom:18px;text-shadow:0 3px 5px #111431}
.race-track-lane{display:grid;grid-template-columns:120px minmax(0,1fr) 52px;align-items:center;gap:9px;margin-bottom:12px;background:#241e52a8;backdrop-filter:blur(4px);border:1px solid #ffffff45;border-radius:17px;padding:9px 12px;min-height:63px}
.race-track-name{font-size:13px;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.race-road{position:relative;height:29px;border:3px solid #ffedb9;background:repeating-linear-gradient(90deg,#d3be93 0 20px,#c6ae85 20px 40px);border-radius:90px;box-shadow:inset 0 3px 6px #452e4072}
.race-run-progress{position:absolute;top:0;bottom:0;left:0;background:linear-gradient(90deg,#6de1bf,#eeec86);border-radius:90px;transition:width .8s cubic-bezier(.18,.9,.2,1)}
.race-pawn{font-size:30px;position:absolute;bottom:-6px;transform:translateX(-22%);filter:drop-shadow(0 4px 2px #141c4b99);transition:left .8s cubic-bezier(.18,.9,.2,1),transform .4s;z-index:2}
.race-finish{position:absolute;right:1px;top:-14px;font-size:30px}
.race-distance{font-size:11px;font-weight:1000;color:#ffefc4}
.v3-action-center{display:flex;justify-content:center;margin-top:24px}
/* Other playable scenes share rich illustrated assets with unique mechanics. */
.v3-board .board-grid{max-width:860px;margin:auto;gap:12px}
.v3-board .board-tile{border-color:#ffde8e;background:linear-gradient(140deg,#8d66d7,#5951aa);box-shadow:0 7px 0 #242459b8, inset 0 2px 0 #ffffff6b;min-height:87px;font-size:31px}
.v3-board .board-tile.revealed{background:linear-gradient(140deg,#fff5d6,#ffdea1);color:#684080;border-color:#fff}
.v3-board .draw-card{border:6px solid #fff1c7;background:linear-gradient(160deg,#ffaf76,#d4619c);box-shadow:0 12px 0 #2422589a, 0 17px 20px #17174380;border-radius:21px;width:100px;height:145px}
.v3-board .draw-card:nth-child(2n){background:linear-gradient(150deg,#64d8c0,#2f99af)}
.v3-board .draw-card:nth-child(3n){background:linear-gradient(150deg,#99b3ff,#6b5cc9)}
.v3-board .draw-card:disabled{opacity:.54}
.v3-board .board-wheel{width:min(345px,85%);box-shadow:0 11px 0 #453c83,0 25px 35px #13143d7a;border:15px solid #fff5d2}
.v3-board .towergrid{min-height:260px}
.v3-board .towerblock{height:24px;background:linear-gradient(#ffedbf,#efb75a);border:2px solid #fffbd5;box-shadow:0 3px 0 #966e538c}
.v3-board .tower-name,.v3-board .board-note,.v3-board .meter-row{color:#fff}
.v3-board .seal{background:#e9e0fe88;border:3px solid #e1d2ff;color:#fff;box-shadow:0 5px 10px #1a164a66}
.v3-board .seal.ok{color:#8d598a;background:#fff0b5;border-color:#fff7ce;box-shadow:0 0 19px #ffebb790}
.v3-board .mosaic{max-width:570px;box-shadow:0 18px 40px #1c1d527a;border:8px solid #fff1bc}
.v3-board .quiz-grid{max-width:750px;margin:auto}
.v3-board .quiz-cell{min-height:78px;border:3px solid #fff4dc;background:linear-gradient(150deg,#7f6de0,#5142b0);box-shadow:0 5px 0 #262266}
.v3-board .bridge-row{gap:7px}
.v3-board .bridge-piece{height:41px;background:#95d3e7;border:2px solid #fff8d1}
.v3-board .bridge-piece.built{background:linear-gradient(#f3cb86,#d79a59);box-shadow:inset 0 -7px #965e55}
.v3-board .island-node{width:65px;height:65px;background:#b0f2cc;border:4px solid #fff6d4;box-shadow:0 8px 15px #132c4c77}
.v3-board .island-node.done{background:#57c992}
.v3-board .timer-display{color:#fff5c9;text-shadow:0 9px 22px #1e1556,0 0 40px #e5b5ff;letter-spacing:-5px}
.v3-board .timer-display.low{color:#ffc3d2}
.v3-board p[style*="color:#8f90ac"],.v3-board p[style*="color:#8e8cac"]{color:#fff!important}
/* Reactions and optionally enabled synthesized tones (not bundled recordings). */
.v3-confetti{position:fixed;inset:0;z-index:200;pointer-events:none;overflow:hidden}
.v3-confetti i{position:absolute;left:50%;top:45%;width:10px;height:17px;background:var(--c);border-radius:3px;animation:burst 1s ease-out var(--d) both}
@keyframes burst{0%{transform:translate(0,0) rotate(0);opacity:1}70%{opacity:1}100%{transform:translate(var(--x),65vh) rotate(var(--r));opacity:0}}
.projector .stage-art.scene-stage{height:250px}
.projector .board.v3-board{min-height:230px;margin-top:16px}
.projector .board-treasure{min-height:390px!important}
.projector .treasure-island-board{min-height:270px}
.projector .board-race{min-height:350px!important}
.projector .race-track-lane{min-height:54px;padding:7px}
@media(max-width:1100px){.stage-art.scene-stage{height:255px}.race-track-lane{grid-template-columns:85px minmax(0,1fr) 39px}.game-image.v3-game-image{height:174px}}
@media(max-width:700px){.hero{padding:26px 20px}.hero-art{min-height:190px}.hero-art img{height:205px}.hero-planet-one{width:100px;height:100px}.hero-planet-two{width:60px;height:60px}.hero h1{font-size:31px}.floating-sticker{font-size:9px;padding:7px}.game-image.v3-game-image{height:135px}.card-scene-label{font-size:13px;bottom:9px;left:9px}.stage-art.scene-stage{height:220px}.stage-art-title{bottom:13px;left:14px}.stage-art-title h2{font-size:24px}.stage-art-title p{font-size:11px}.stage-v3-indicator{font-size:8px;padding:6px 8px}.board.v3-board{padding:14px 9px;min-height:240px}.board-treasure{min-height:400px!important}.treasure-island-board{min-height:265px}.v3-board .chests{gap:0;grid-template-columns:repeat(5,1fr)}.v3-board .chest{min-height:78px}.v3-board .chest img{height:60px}.v3-board .chest strong{font-size:9px}.race-track-lane{grid-template-columns:69px minmax(0,1fr) 32px;gap:5px;padding:5px 5px;min-height:52px}.race-track-name{font-size:10px}.race-pawn{font-size:22px}.race-distance{font-size:10px}.race-heading{font-size:9px}.board-race{min-height:400px!important}.v3-board .board-tile{min-height:53px;font-size:20px}.v3-board .draw-card{height:90px;width:64px;font-size:23px;border-width:4px}.projector .stage-art.scene-stage{height:180px}}
@media(prefers-reduced-motion:reduce){.v3-confetti{display:none}}

.v3-discovery{padding:28px 5px 14px}.v3-discovery h2{font-size:21px;margin-bottom:7px}.v3-discovery p{font-size:13px;color:#8586a6;margin-bottom:18px}.v3-discovery-links{display:flex;flex-wrap:wrap;gap:9px}.v3-discovery-links a,.v3-policy-links a{background:#fff;border:1px solid #e6e1f5;border-radius:50px;padding:9px 13px;font-size:12px;font-weight:900;box-shadow:0 3px 14px #504d8220}.v3-discovery-links a:hover{background:#f0edff;color:#6251cc}.v3-policy-links{display:flex;gap:14px;margin-top:17px}.v3-policy-links a{border:0;background:transparent;text-decoration:underline;padding:3px}
