[hidden]{display:none!important}.app-view{padding:35px 0 55px;min-height:60vh}.page-heading{margin:0 0 28px}.page-heading h1{font-size:50px;line-height:1.05;letter-spacing:-1px;margin:0 0 14px}.page-heading p{font-size:15px;line-height:1.7;max-width:750px;color:var(--muted);margin:0}.feature-links{display:flex;gap:12px;flex-wrap:wrap;padding:23px 0 0}.feature-links a{padding:12px 16px;background:#f0e7ff;border-radius:12px;font-size:15px;font-weight:800}.feature-links a:nth-child(2){background:#dcf5e8}.feature-links a:nth-child(3){background:#fff0c7}.feature-links a:nth-child(4){background:#ffe1eb}.app-view h2{font-size:30px}.app-view h3{font-size:22px}.app-view p{line-height:1.7}.panel{background:white;border:1px solid #eadff5;border-radius:22px;padding:26px;margin-bottom:22px}.notice{padding:24px;border-radius:20px;background:#fff0c7;margin-bottom:25px}.notice p{margin:0 0 15px}.actions{flex-wrap:wrap}.actions a.primary,.actions a.secondary{font-size:15px}.filter-bar{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;background:#f4edff;padding:20px;border-radius:20px;margin-bottom:25px}.filter-bar label{flex:1;min-width:125px}.filter-bar label:first-child{flex:2}.filter-bar .primary{align-self:flex-end}.filter-bar input,.filter-bar select{background:white}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-grid h2,.form-grid>.span-all,.form-grid>h3{grid-column:1/-1}.form-grid>button{justify-self:start}.form-grid label{min-width:0}label{display:flex;flex-direction:column;gap:9px;font-size:15px;font-weight:750;line-height:1.5}label>span{font-size:15px;font-weight:400;color:var(--muted)}input,select,textarea{width:100%;font:inherit;font-size:15px;color:var(--ink);padding:12px 14px;border:1px solid #d9c8ed;border-radius:11px;min-height:46px;background:#fff}input:focus,select:focus,textarea:focus{outline:2px solid #ad7df2;outline-offset:2px}textarea{resize:vertical;min-height:100px;line-height:1.55}input[type=checkbox]{width:22px;height:22px;min-height:0;accent-color:var(--purple)}.check-label{flex-direction:row;align-items:center;font-size:15px}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.quiz-card{background:#fff;border:1px solid #eadff5;border-radius:23px;overflow:hidden;display:flex;flex-direction:column}.card-art{display:grid;place-items:center;background:#f2e9ff;height:185px;overflow:hidden}.quiz-card:nth-child(3n+2) .card-art{background:#e2f7e7}.quiz-card:nth-child(3n+3) .card-art{background:#fff0bd}.premium-icon{width:100%;height:100%;display:block;mix-blend-mode:multiply}.card-art .premium-icon{width:145px;height:145px}.card-art img{width:100%;height:100%;object-fit:cover}.card-body{padding:22px;display:flex;flex-direction:column;flex:1}.card-body h2{font-size:26px;line-height:1.15;margin:12px 0}.card-body p{font-size:15px;line-height:1.6;flex:1;margin:0 0 20px}.pill{background:#f0e7ff;color:#5f2698;border-radius:100px;padding:6px 11px;font-size:15px;display:inline-block;width:max-content;max-width:100%}.card-body .pill{font-size:15px}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px}.card-footer .primary{padding:10px 14px;font-size:15px;white-space:nowrap}.quiz-landing{display:grid;grid-template-columns:.65fr 1fr;align-items:center;gap:40px;background:#f4ecff;border-radius:27px;padding:35px;margin-bottom:40px}.quiz-landing>.premium-icon,.quiz-landing>div>.premium-icon{height:270px;width:100%}.quiz-landing .page-heading{margin:18px 0}.quiz-landing .page-heading h1{font-size:46px}.quiz-landing .actions{margin-top:25px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:16px;margin:25px 0}.stats-grid>div{background:#f2e9ff;border:1px solid #e6d6fb;border-radius:20px;padding:23px;display:flex;flex-direction:column;gap:8px;font-size:15px}.stats-grid strong{font:42px Lilita,system-ui;color:var(--purple)}.badge-row{display:flex;gap:12px;flex-wrap:wrap;line-height:1.7}.badge{border:1px solid #efce65;border-radius:12px;padding:12px;background:#fff5d2;font-size:15px}.streak-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.streak-row>span{width:70px;display:flex;align-items:center;flex-direction:column;gap:10px;background:#f4effb;border-radius:14px;padding:15px 8px;font-size:15px}.streak-row>span.played{background:#def8e9;color:#16794d}.streak-row b{font-size:25px}.history-row{display:flex;gap:15px;align-items:center;justify-content:space-between;border-bottom:1px solid #eee6f4;padding:15px 0;flex-wrap:wrap;font-size:15px}.history-row:last-child{border:0}.history-row p{width:100%;margin:0}.leader-row{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #eee6f4;line-height:1.6}.leader-row>strong{margin-left:auto;white-space:nowrap}.leader-row>span:nth-last-child(2){color:var(--muted)}.leader-row a{font-weight:850}.avatar{font-size:32px}.two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.two-column>.panel{margin-bottom:0}.two-column{margin-bottom:24px}.scene-icon{display:block;width:100%;height:auto;mix-blend-mode:multiply}.challenge-landing{max-width:700px;margin:0 auto;text-align:center}.challenge-landing>.scene-icon{max-width:260px;height:260px;margin:auto}.challenge-landing .page-heading h1{font-size:46px}.challenge-landing .primary{margin-top:20px}.room-top{display:flex;align-items:center;gap:25px;margin-bottom:24px}.room-top>span{font-weight:900}.room-top+.two-column{grid-template-columns:1.3fr 1fr}.question-picture{height:200px;max-width:300px;margin:20px auto;display:flex;align-items:center;justify-content:center;overflow:hidden}.question-picture .premium-icon{width:200px;height:200px}.question-picture img{max-width:100%;max-height:200px;object-fit:contain}.question-picture.blurred{filter:blur(16px);transition:filter .25s}.reveal-button,.audio-button{margin:0 0 18px;font-size:15px}.order-item{display:flex;align-items:center;gap:10px;border:1px solid #e1d3f4;padding:12px;border-radius:12px;margin-bottom:10px;background:white}.order-item span{flex:1}.order-item button{background:#eee2ff;color:var(--ink);padding:9px 13px;border-radius:9px;font-size:18px}.match-item{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:10px 0;border-bottom:1px solid #eee6f4;gap:15px}.report-button{font-size:15px;color:#79618f;border:0;background:none;text-decoration:underline;margin-top:25px;padding:0}.result-art .scene-icon{width:100%;height:100%}.quiz-top .logo{font-size:25px}.quiz-top .logo span{font-size:18px}.quiz-label{font-size:15px;line-height:1.5}.question{font-family:Nunito,system-ui;font-size:25px;font-weight:850;line-height:1.4}.feedback p{margin:8px 0 0}.review-item,.review-item p{font-size:15px}.loading{padding:70px 15px;text-align:center;font-size:18px;color:var(--muted)}.admin-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:25px;text-transform:capitalize}.admin-tabs button{text-transform:capitalize;padding:11px 18px;font-size:15px}.admin-body{min-height:350px}.admin-body .stats-grid>div{font-size:15px;text-transform:capitalize}.admin-body pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5effd;padding:20px;border-radius:14px;max-height:500px;overflow:auto;font-size:15px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:15px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #ede3f5;padding:14px 12px;line-height:1.6}th{color:#725289;background:#faf7ff}td button{padding:8px 12px!important;margin:3px 6px 3px 0!important;font-size:15px}.moderation-item{border-bottom:1px solid #eadff5;padding:20px 0}.moderation-item:first-child{padding-top:0}.moderation-item:last-child{border:0}.mini-bar{height:8px;border-radius:10px;background:#eadcfc;width:100%}.mini-bar>span{display:block;background:#9361db;height:100%;border-radius:10px}details{line-height:1.6}summary{cursor:pointer;font-size:15px;font-weight:850;margin:15px 0}#consent-banner{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);width:min(850px,calc(100% - 32px));background:white;border:1px solid #dfd0ef;padding:22px;border-radius:20px;box-shadow:0 15px 70px #29123d35;z-index:12;display:flex;gap:16px;align-items:center}#consent-banner p{flex:1;font-size:15px;line-height:1.6;margin:0}#consent-banner button{font-size:15px;white-space:nowrap;padding:13px 18px}.sponsor-card{border:1px solid #e5d6f8;padding:25px;border-radius:20px;margin-bottom:25px;background:#fff}.sponsor-card h2{margin:12px 0}.header>nav{font-size:15px;gap:22px}.footer-links{flex-wrap:wrap;line-height:1.5}#admin-link{font-weight:800}.app-view .primary,.app-view .secondary{font-size:15px}.app-view .result-score{font-family:Lilita,system-ui}.footer-bottom{font-size:15px}
@media(max-width:1000px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header{grid-template-columns:auto 1fr auto;gap:20px}.header>nav{gap:16px;font-size:15px}.header>.logo{font-size:29px}.header .primary{font-size:15px}.quiz-landing{grid-template-columns:.6fr 1fr;padding:25px;gap:25px}.quiz-landing .page-heading h1{font-size:38px}#consent-banner{flex-wrap:wrap}#consent-banner p{width:100%;flex:auto}.room-top+.two-column{grid-template-columns:1fr}}
@media(max-width:700px){.app-view{padding-top:25px}.page-heading h1{font-size:38px}.page-heading p{font-size:15px}.panel{padding:21px;border-radius:18px}.filter-bar{gap:14px;padding:17px}.filter-bar label{min-width:calc(50% - 14px)}.filter-bar label:first-child{min-width:100%}.filter-bar button{width:100%}.catalog-grid{grid-template-columns:1fr;gap:20px}.quiz-card{display:grid;grid-template-columns:110px minmax(0,1fr);border-radius:19px}.card-art{height:100%;min-height:220px}.card-art .premium-icon{width:95px;height:95px}.card-body{padding:18px}.card-body h2{font-size:25px}.card-body p{font-size:15px;margin-bottom:15px}.card-body .pill{font-size:15px;padding:6px 9px}.card-footer{flex-wrap:wrap;font-size:15px}.quiz-landing{grid-template-columns:1fr;padding:24px;gap:10px}.quiz-landing>div>.premium-icon{height:150px}.quiz-landing .page-heading h1{font-size:38px}.quiz-landing .actions{gap:14px}.form-grid{grid-template-columns:1fr}.form-grid>.span-all,.form-grid h2,.form-grid>h3{grid-column:auto}.two-column{grid-template-columns:1fr;gap:18px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stats-grid>div{padding:20px}.stats-grid strong{font-size:36px}.leader-row{gap:10px;flex-wrap:wrap;font-size:15px}.leader-row>span:nth-last-child(2){font-size:15px}.avatar{font-size:25px}.streak-row{gap:6px}.streak-row>span{width:calc((100% - 24px)/5);min-width:50px;font-size:15px}.feature-links{gap:9px;padding-top:18px}.feature-links a{padding:11px 13px;font-size:15px}.header{grid-template-columns:1fr auto;gap:16px}.header>nav{display:none}.header>.primary{display:inline-flex}.footer-inner nav{display:flex;font-size:15px;gap:15px;flex-wrap:wrap}.footer-bottom>span{font-size:15px}.challenge-landing .page-heading h1{font-size:37px}.challenge-landing>.scene-icon{height:200px;width:200px}.room-top{flex-wrap:wrap;gap:14px}.admin-tabs{gap:8px}.admin-tabs button{padding:10px 13px;font-size:15px}.match-item{grid-template-columns:1fr;gap:10px}#consent-banner{padding:18px;gap:12px;bottom:10px;max-height:70vh;overflow:auto}#consent-banner button{flex:1;font-size:15px;white-space:normal}.score-row{font-size:15px}.game-copy small{font-size:15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.recommendations{margin-bottom:35px}.header a.primary{min-width:100px}.app-view section{margin-top:25px}

.mobile-menu{display:none;background:#efe3ff;color:var(--ink);border-radius:10px;padding:10px;font-size:22px;line-height:1}.header.menu-open>nav a{font-size:15px}
@media(max-width:700px){.header{grid-template-columns:1fr auto auto;column-gap:12px}.mobile-menu{display:block}.header>.logo{font-size:28px}.header>.primary{min-width:85px;padding:10px 13px}.header.menu-open>nav{display:flex;grid-column:1/-1;grid-row:2;justify-self:stretch;gap:5px;flex-direction:column;align-items:stretch;background:#f2e9ff;border-radius:15px;padding:12px;margin-top:8px}.header.menu-open>nav a{display:block;padding:12px}.header.menu-open>nav a:hover{background:white;border-radius:10px}}

.creator-question{border:1px solid #dfcff2;border-radius:18px;padding:22px;margin:0 0 22px;display:grid;gap:18px;min-width:0}.creator-question legend{font:24px Lilita,system-ui;padding:0 10px;color:var(--purple)}

/* Supplied FunQuizzy brand artwork, preserved without redrawing. */
.logo{display:inline-flex;align-items:center;line-height:1;text-decoration:none}.logo img{display:block;width:230px;height:auto;max-width:100%;object-fit:contain}.header{min-height:96px;padding-top:7px;padding-bottom:0;column-gap:24px;grid-template-columns:auto 1fr auto}.header>.logo{width:230px}.header>nav{gap:22px}.footer-inner .logo{background:#fffdf5;padding:5px 13px;border-radius:14px}.footer-inner .logo img{width:205px}.quiz-top .logo img{width:180px}.quiz-top .logo{font-size:0}.header .mobile-menu{display:none}
@media(max-width:1050px){.header{grid-template-columns:1fr auto auto;min-height:84px;gap:12px}.header>.logo{width:200px}.header .logo img{width:200px}.header>.mobile-menu{display:block}.header>nav{display:none}.header.menu-open>nav{display:flex;grid-column:1/-1;grid-row:2;justify-self:stretch;gap:5px;flex-direction:column;align-items:stretch;background:#f2e9ff;border-radius:15px;padding:12px;margin:5px 0 10px}.header.menu-open>nav a{display:block;padding:12px;font-size:15px}}
@media(max-width:700px){.header{min-height:79px;padding-top:4px;padding-bottom:0;gap:10px}.header>.logo,.header .logo img{width:175px}.header>.primary{min-width:76px;padding:10px 12px}.footer-inner .logo img{width:200px}.quiz-top .logo img{width:165px}}
@media(max-width:370px){.header>.logo,.header .logo img{width:145px}.header>.primary{min-width:70px;padding:10px}.header .mobile-menu{padding:8px}}

.maths-promo,.maths-intro{display:grid;grid-template-columns:1.7fr 1fr;align-items:center;gap:30px;background:#f2e8ff;border:1px solid #e6d5fb;border-radius:24px;padding:32px;margin-top:28px;margin-bottom:28px}.maths-promo h2{margin-top:16px;font-size:36px}.maths-promo p,.maths-intro p{font-size:15px;line-height:1.7}.maths-symbols{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;max-width:210px;margin:auto;transform:rotate(-7deg)}.maths-symbols span{display:grid;place-items:center;width:85px;height:85px;border-radius:23px;background:#ffdc6e;color:#582398;font:60px Lilita,system-ui;box-shadow:0 5px 0 #e9b63a}.maths-symbols span:nth-child(2){background:#ffc9de;box-shadow:0 5px 0 #e9a9c1}.maths-symbols span:nth-child(3){background:#b8efda;box-shadow:0 5px 0 #91d5bd}.maths-symbols span:nth-child(4){background:#cbdcff;box-shadow:0 5px 0 #adc5f7}.year-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:25px}.year-card{display:flex;gap:22px;background:white;border:1px solid #e4d4f8;border-radius:23px;padding:26px;align-items:flex-start}.year-number{background:#e8dcff;color:#7132bf;min-width:70px;height:80px;display:grid;place-items:center;font:49px Lilita,system-ui;border-radius:20px}.year-card:nth-child(3n+2) .year-number{background:#dcf5e7;color:#248458}.year-card:nth-child(3n) .year-number{background:#fff0bd;color:#996c13}.year-copy h2{font-size:32px;margin:13px 0 10px}.year-copy p{font-size:15px;line-height:1.65;margin:0 0 16px}.year-copy .year-meta{font-size:15px;color:var(--muted)}.year-copy .primary{font-size:15px;padding:13px 18px}.maths-notes{margin-top:24px}.maths-intro{margin-top:0}.maths-intro h2{font-size:30px}
@media(max-width:700px){.maths-promo,.maths-intro{grid-template-columns:1fr;padding:25px;gap:22px}.maths-promo h2{font-size:31px}.maths-symbols{display:flex;max-width:none;gap:10px;transform:rotate(-4deg)}.maths-symbols span{width:55px;height:55px;font-size:38px;border-radius:16px}.year-grid{grid-template-columns:1fr;gap:15px}.year-card{padding:22px;gap:18px}.year-number{min-width:60px;height:70px;font-size:43px}.year-copy h2{font-size:30px}.maths-intro p,.year-copy p{font-size:15px}}

/* School Quiz hub keeps the approved header, logo and 15px body type. */
.school-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 28px}.school-tabs a{padding:10px 18px;border:1px solid #e5d9f8;border-radius:100px;color:#6423b2;font-weight:700;text-decoration:none;background:#fff}.school-tabs a[aria-current=page]{color:white;background:#7427ec;border-color:#7427ec}.school-subjects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:28px 0}.school-subject{position:relative;overflow:hidden;padding:30px;border:1px solid #e5d9f8;border-radius:28px;background:linear-gradient(145deg,#f8f0ff,#fff)}.school-subject.science{background:linear-gradient(145deg,#e8fbf6,#fff);border-color:#c6eee4}.school-subject h2{font-size:32px;margin:18px 0 12px}.school-subject p{max-width:420px}.school-art{width:120px;height:110px;float:right;margin:0 0 15px 14px}.school-art svg{width:100%;height:100%}.school-year-links{clear:both;display:flex;flex-wrap:wrap;gap:8px;margin-top:26px;padding-top:22px;border-top:1px solid #e1d8ee}.school-year-links a{background:#fff;border:1px solid #e1d8ee;border-radius:10px;padding:7px 10px;font-weight:700;color:#592490;text-decoration:none}.school-year-links a:hover{background:#7427ec;color:white}.school-tabs a:focus-visible,.school-year-links a:focus-visible{outline:3px solid #ee9f37;outline-offset:3px}@media(max-width:700px){.school-subjects{grid-template-columns:1fr}.school-subject{padding:24px}.school-subject h2{font-size:29px}.school-art{width:90px;height:90px}.school-tabs{gap:6px}.school-tabs a{padding:9px 13px}}

.brain-intro,.brain-promo{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:30px;background:linear-gradient(120deg,#efe6ff,#fff1d6);border:1px solid #e5d7f5;border-radius:28px;margin-bottom:28px}.brain-intro>div:first-child{max-width:720px}.brain-intro h2,.brain-promo h2{font-size:34px;margin:14px 0}.brain-note{font-size:15px;color:#61516f;line-height:1.65}.brain-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0}.brain-type{display:block;background:#fff;border:1px solid #e7dcf2;border-radius:22px;padding:22px;text-decoration:none;color:#35116b;transition:transform .15s,border-color .15s}.brain-type:hover{transform:translateY(-3px);border-color:#7427ec}.brain-type.selected{box-shadow:0 0 0 2px #7427ec}.brain-type h2{font-size:23px;margin:12px 0}.brain-type p{font-size:15px;color:#6a5c75}.brain-symbol{font-size:32px}.brain-promo{margin-top:24px;margin-bottom:36px}.brain-promo p{max-width:650px}.brain-promo-art{font-size:90px;position:relative;padding:10px 35px}.brain-promo-art span{position:absolute;right:0;top:0;color:#e5a82d;font-size:40px}.memory-study{background:#f2eafd;border:1px solid #dac6f7;padding:22px;border-radius:20px;margin:22px 0;text-align:center}.memory-cue{font-size:28px;font-weight:800;letter-spacing:3px;overflow-wrap:anywhere}.brain-score-label{font-weight:800;color:#7427ec}.brain-type:focus-visible{outline:3px solid #ee9f37;outline-offset:3px}@media(max-width:800px){.brain-types{grid-template-columns:repeat(2,minmax(0,1fr))}.brain-intro{padding:24px}.brain-intro .maths-symbols{display:none}}@media(max-width:520px){.brain-types{grid-template-columns:1fr}.brain-promo{padding:24px}.brain-promo-art{display:none}.brain-intro h2,.brain-promo h2{font-size:29px}.memory-cue{font-size:23px}}

/* Premium artwork v13: high-density 3D atlases and consistent vector controls. */
.ui-icon{display:inline-block;width:20px;height:20px;vertical-align:-4px;flex-shrink:0;color:inherit}.feature-links a{display:inline-flex;align-items:center;gap:9px}.feature-links .ui-icon{width:23px;height:23px}.daily-label .ui-icon{width:20px;height:20px}.daily-facts .ui-icon{margin-right:6px}.brain-symbol{display:block;width:118px;height:100px;margin:-5px 0 8px}.brain-type{overflow:hidden}.brain-symbol .premium-icon{height:100%;width:100%}.subject-hero-art{width:230px;height:210px;flex:0 0 230px;mix-blend-mode:multiply}.subject-hero-art .premium-icon{height:100%;width:100%}.brain-promo-art{padding:0;width:225px;height:205px;flex:0 0 225px;mix-blend-mode:multiply}.brain-promo-art .premium-icon{width:100%;height:100%}.brain-promo-art span{display:none}.school-art{width:155px;height:145px}.school-tabs a{display:inline-flex;align-items:center;gap:7px}.avatar{width:48px;height:48px;display:inline-grid;place-items:center;flex-shrink:0;background:#f3eaff;border-radius:15px;color:#7427ec}.avatar>.ui-icon{width:30px;height:30px}.avatar .premium-icon{width:46px;height:46px}.badge{display:inline-flex;align-items:center;gap:8px}.badge .premium-icon{width:34px;height:34px}.stats-grid strong .ui-icon{width:27px;height:27px}.feedback strong .ui-icon{color:#a66b08}.review-item>strong>.ui-icon{width:18px;height:18px;margin-right:4px}.empty-icon .ui-icon{width:34px;height:34px}.footer-bottom .ui-icon{width:16px;height:16px}.game-icon svg,.category-art svg,.hero-art svg,.friends-art svg,.daily-art svg{overflow:hidden}.brain-type .premium-icon,.school-art .premium-icon{mix-blend-mode:multiply}@media(max-width:700px){.subject-hero-art{width:145px;height:145px;flex-basis:145px}.brain-intro .subject-hero-art{display:none}.school-art{width:105px;height:105px}}@media(max-width:520px){.brain-promo-art{display:none}.maths-intro .subject-hero-art{display:none}.maths-promo .subject-hero-art{width:125px;height:125px;flex-basis:125px}}

/* Dedicated browser puzzle games. */
.standalone-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:35px}.standalone-game{display:block;text-decoration:none;color:var(--ink);padding:25px;border:1px solid #e6d8f4;border-radius:25px;background:linear-gradient(135deg,#f2eaff,#fff)}.standalone-game:nth-child(2){background:linear-gradient(135deg,#e1f8ed,#fff)}.standalone-game>div{width:120px;height:110px;float:right}.standalone-game h2{margin:18px 0 10px}.standalone-game .primary{display:inline-block;margin-top:12px}.puzzle-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);gap:26px;align-items:start}.puzzle-toolbar{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:22px;flex-wrap:wrap}.puzzle-toolbar label{min-width:160px}.puzzle-stat{display:flex;flex-direction:column;gap:5px}.puzzle-stat strong{font-size:25px;color:#7427ec}.puzzle-stat span{font-size:15px;color:var(--muted)}.sudoku-panel{background:#fff;border:1px solid #e5d8f3;padding:24px;border-radius:24px;max-width:650px}.sudoku-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));border:3px solid #45216a;border-radius:5px;overflow:hidden;width:100%;aspect-ratio:1}.sudoku-cell{border:0;border-right:1px solid #dfd4eb;border-bottom:1px solid #dfd4eb;border-radius:0;background:#fff;color:#7427ec;font:700 clamp(17px,2.5vw,28px) Nunito,system-ui;min-width:0;min-height:0;padding:0;aspect-ratio:1;display:grid;place-items:center;cursor:pointer}.sudoku-cell:nth-child(9n){border-right:0}.sudoku-cell.box-right{border-right:2px solid #45216a}.sudoku-cell.box-bottom{border-bottom:2px solid #45216a}.sudoku-cell.given{color:#30213d;font-weight:900;background:#faf7fd}.sudoku-cell.peer{background:#f4effc}.sudoku-cell.same{background:#e8dcfa}.sudoku-cell.selected{background:#d6bafa;box-shadow:inset 0 0 0 2px #7427ec}.sudoku-cell.error{color:#b51f43;background:#ffe1e8}.sudoku-cell:focus-visible{outline:3px solid #b0761c;outline-offset:-3px}.sudoku-cell:disabled{opacity:1;cursor:default}.sudoku-notes{display:grid;grid-template-columns:repeat(3,1fr);width:100%;height:100%;font-size:clamp(8px,1.1vw,12px);font-weight:500;color:#6b5a7d;line-height:1}.sudoku-notes>span{display:grid;place-items:center}.sudoku-keypad{display:grid;grid-template-columns:repeat(9,1fr);gap:6px;margin:18px 0}.sudoku-keypad button{font-size:23px;font-weight:800;color:#6324b2;background:#f0e6ff;border-radius:10px;padding:10px 0;min-width:0}.puzzle-controls{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0}.puzzle-controls .secondary{padding:10px 13px;font-size:15px}.puzzle-controls [aria-pressed=true]{background:#7427ec;color:#fff}.puzzle-controls button:disabled{opacity:.5}.puzzle-message{background:#f2eaff;border-radius:12px;padding:14px;line-height:1.6;min-height:52px}.puzzle-guide-art{width:140px;height:125px;margin-bottom:16px}.puzzle-guide p,.puzzle-save-note{font-size:15px;line-height:1.7}.puzzle-save-note{color:#796487;border-top:1px solid #e8dff0;padding-top:17px}.letter-tiles{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:30px 0}.letter-tile{display:inline-grid;place-items:center;min-width:30px;height:43px;padding:4px;background:#f1e8fd;color:#3c155f;font-size:23px;font-weight:900;border-radius:8px;border-bottom:3px solid #c9b3e7}.letter-tile.gap{color:#7427ec;background:#ffedb6;border-bottom-color:#d6a333}.letters-panel{min-width:0}.letters-panel .word-clue{padding:16px;background:#f8f4fc;border-radius:14px}.letters-panel form input{text-transform:uppercase;letter-spacing:4px;font-weight:800;margin-bottom:7px}.letters-panel form>p{font-size:15px;color:var(--muted)}.letters-panel form>.primary{margin-top:6px}.letters-complete details>p{border-bottom:1px solid #eadff4;padding:12px 0}.game[href]{text-decoration:none;color:inherit}@media(max-width:850px){.puzzle-layout{grid-template-columns:1fr}.sudoku-panel{max-width:650px;width:100%;justify-self:center}.puzzle-guide{margin-top:0}.sudoku-cell{font-size:25px}.sudoku-notes{font-size:11px}}@media(max-width:600px){.standalone-games{grid-template-columns:1fr}.sudoku-panel{padding:13px}.puzzle-toolbar{gap:12px}.puzzle-toolbar label{min-width:130px}.puzzle-stat strong{font-size:22px}.sudoku-cell{font-size:22px}.sudoku-notes{font-size:9px}.sudoku-keypad{gap:4px}.sudoku-keypad button{font-size:20px;padding:11px 0}.letter-tile{min-width:25px;height:37px;font-size:19px}.letter-tiles{gap:4px}.letters-panel{padding:19px}.standalone-game>div{width:95px;height:90px}}

.word-audio{padding:19px;background:#f7f1ff;border:1px solid #e2d3f2;border-radius:18px;margin:20px 0}.word-audio h3{font-size:21px;margin:0 0 15px;display:flex;align-items:center;gap:8px}.word-audio label{max-width:100%}.word-audio .puzzle-controls{margin-bottom:10px}.word-audio .secondary{display:inline-flex;align-items:center;gap:7px}.word-audio p{font-size:15px;line-height:1.6}.word-audio-note{color:#786588;margin-bottom:0}.word-review-play{margin-top:10px;padding:8px 12px;font-size:15px;display:inline-flex;align-items:center;gap:6px}.word-review-play:disabled{opacity:.5}.word-audio .ui-icon{width:21px;height:21px}#word-audio-status{margin:10px 0 0}

.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.game-search-bar{position:relative;z-index:30;padding-top:4px;padding-bottom:8px}.game-search-bar form{position:relative;max-width:820px;margin:0 auto}.game-search-field{display:flex;align-items:center;gap:12px;border:1px solid #ded0ef;background:#fff;border-radius:16px;padding:7px 8px 7px 17px;box-shadow:0 4px 18px #49227c08}.game-search-field>.ui-icon{color:#7427ec;width:24px;height:24px}.game-search-field input{min-width:0;flex:1;border:0;background:transparent;padding:9px 2px;font-size:15px;min-height:40px}.game-search-field input:focus{outline:none}.game-search-field:focus-within{outline:2px solid #ad7df2;outline-offset:2px}.game-search-field button{padding:12px 20px;flex-shrink:0}.game-search-bar ul{position:absolute;z-index:40;left:0;right:0;top:100%;list-style:none;margin:7px 0 0;padding:7px;background:#fff;border:1px solid #dfd2f0;border-radius:17px;box-shadow:0 16px 40px #37125724;max-height:420px;overflow-y:auto}.game-search-bar li a{padding:12px 14px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:15px;text-decoration:none;color:#35116b;font-size:15px}.game-search-bar li a span{font-size:15px;color:#786388}.game-search-bar li a:hover,.game-search-bar li a[aria-selected=true]{background:#f0e5ff}.game-search-empty{padding:18px;line-height:1.7;font-size:15px;color:#786388}@media(max-width:600px){.game-search-field{gap:8px;padding-left:12px}.game-search-field button{padding:11px 13px}.game-search-field input{font-size:15px}.game-search-field input::placeholder{font-size:15px}.game-search-bar li a{align-items:flex-start;flex-direction:column;gap:4px}.game-search-bar ul{max-height:350px}}

.room-create:disabled,#room-create:disabled{opacity:.5;cursor:wait}.race-room .room-top{flex-wrap:wrap;justify-content:space-between}.race-room #room-countdown{font-size:23px;background:#f0e6ff;color:#6424b4;padding:11px 16px;border-radius:12px;white-space:nowrap}.room-lobby-art{width:155px;height:135px;margin:0 auto 15px}.room-code{font-size:26px;letter-spacing:4px;color:#7427ec}.room-player{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid #e9e0f2;overflow-wrap:anywhere}.room-private-note{font-size:15px;color:#7b648d;line-height:1.6}.room-private-note .ui-icon{width:18px;height:18px}.room-final{position:relative;overflow:hidden;text-align:center;padding:32px 22px;border:1px solid #e4d5f2;border-radius:28px;background:linear-gradient(130deg,#f2eaff,#fff);margin-bottom:25px}.room-final.room-winner{background:linear-gradient(130deg,#fff2c3,#f3e6ff);border-color:#e6ca72}.room-final>*:not(.winner-confetti){position:relative;z-index:1}.room-final h2{font-size:36px;margin:18px 0}.room-result-art{width:180px;height:165px;margin:0 auto 10px}.room-result-art svg{width:100%;height:100%}.room-personal-score{font:70px Lilita,system-ui;color:#7427ec}.room-personal-score span{font:20px Nunito,system-ui;margin-left:8px}.room-ranking table{width:100%;border-collapse:collapse;font-size:15px}.room-ranking th,.room-ranking td{text-align:left;padding:15px;border-bottom:1px solid #e8dff0}.room-ranking .your-rank{background:#f2e8ff;font-weight:800}.room-ranking td>.ui-icon{color:#a77000;width:25px;height:25px}.winner-confetti{position:absolute;inset:0;pointer-events:none}.winner-confetti i{position:absolute;left:var(--x);top:-20px;width:9px;height:17px;background:#a26aea;border-radius:2px;animation:room-confetti 4s ease-in calc(var(--i)*-.17s) 2}.winner-confetti i:nth-child(3n){background:#e3ad34}.winner-confetti i:nth-child(3n+1){background:#63c9a3}@keyframes room-confetti{0%{transform:translateY(-25px) rotate(0);opacity:0}15%{opacity:.85}100%{transform:translateY(650px) rotate(540deg);opacity:0}}@media(prefers-reduced-motion:reduce){.winner-confetti i{animation:none;display:none}}@media(max-width:700px){.room-play-layout{grid-template-columns:1fr}.room-final h2{font-size:29px}.room-personal-score{font-size:58px}.room-ranking th,.room-ranking td{padding:11px 8px}.race-room .room-top{gap:12px}.room-player .pill{font-size:15px;white-space:nowrap}}
/* Accounts and group builder */
.room-builder-intro{display:flex;align-items:center;gap:24px;padding:24px 30px;background:linear-gradient(120deg,#f3e8ff,#fff5d9);border:1px solid #eadcf8;border-radius:24px;margin:0 0 24px}.room-builder-intro>.premium-icon{width:120px;height:120px;flex:none}.room-builder-intro h2{font-size:28px;margin:10px 0}.room-builder-intro p{margin:0}.room-builder-intro+.two-column{align-items:start}.room-builder-intro+.two-column aside .panel{margin-bottom:20px}.room-builder-intro+.two-column li{padding:7px 0}.account-panel{max-width:560px;margin:0 auto 40px}.account-tabs{display:flex;gap:12px;border-bottom:1px solid #e8def2;margin-bottom:24px;padding-bottom:15px}.account-tabs a{padding:10px 14px;border-radius:12px;font-weight:800}.account-tabs .active{background:#7927eb;color:#fff}.account-panel input{width:100%}.recovery-code{display:block;overflow-wrap:anywhere;background:#f4edff;padding:20px;border-radius:14px;font-size:17px;user-select:all;margin:20px 0}.recovery-saved{display:flex;gap:10px;align-items:center;margin:20px 0}.recovery-saved input{width:20px;height:20px}.account-panel #account-error{color:#b42338;margin:0}.race-room .question{white-space:pre-line}.race-room #room-word-form input{font-size:20px;letter-spacing:.05em}.room-final>a,.room-final>button{margin:8px}.room-player .pill{white-space:nowrap}.room-builder-intro+.two-column select{max-width:100%}@media(max-width:700px){.room-builder-intro{gap:14px;padding:18px}.room-builder-intro>.premium-icon{width:75px;height:75px}.room-builder-intro h2{font-size:23px}.account-panel{padding:22px}.account-tabs a{padding:9px;font-size:15px}}
/* Learning hub, private classrooms and word workouts */
.feature-nav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.feature-nav a{padding:10px 15px;border:1px solid #e8dcf6;background:#fff;border-radius:999px;font-weight:800;color:#6224a7}.player-summary{display:flex;align-items:center;gap:22px;padding:24px;background:linear-gradient(120deg,#f0e6ff,#fff4d7);border-radius:24px;margin-bottom:24px}.player-summary h2{margin:0 0 7px}.player-avatar{display:grid;place-items:center;width:110px;height:110px;border:4px solid #e7ddf3;border-radius:28px;padding:10px;background:#fff;flex:none;box-sizing:border-box}.player-avatar>.premium-icon{width:75px;height:75px}.frame-explorer{border-color:#28b9a9;background:#e8fbf4;box-shadow:0 0 0 5px #d1f5e9}.frame-lightning{border-color:#e7b224;background:#fff7d6;box-shadow:0 0 0 5px #fff0b7}.frame-scholar{border-color:#8c47e8;background:#f1e7ff;box-shadow:0 0 0 5px #e1cbff}.subject-progress{margin:17px 0}.subject-progress>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px}.subject-progress span{font-size:15px}.panel progress{display:block;width:100%;height:11px;border:0;accent-color:#863be3;border-radius:99px;overflow:hidden}.panel progress::-webkit-progress-bar{background:#f0e9f8}.panel progress::-webkit-progress-value{background:linear-gradient(90deg,#a56ce9,#7428d0)}.progress-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:12px}.progress-days>div{padding:15px 10px;background:#f6f1fc;border-radius:13px}.progress-days strong,.progress-days span{display:block;margin:6px 0}.progress-days strong{font-size:22px}.progress-days span{font-size:15px}.feature-note{font-size:15px;color:#756780}.reward-frame-card{padding:20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}.reward-frame-card h3,.reward-frame-card p{margin:4px 0}.assignment-row{padding:18px 0;border-bottom:1px solid #ede6f5;display:flex;align-items:center;justify-content:space-between;gap:20px}.assignment-row h3{margin:0}.assignment-row p{margin:7px 0}.word-game-panel{min-height:360px}.word-tiles{font-size:clamp(21px,4vw,34px);font-weight:900;letter-spacing:.06em;overflow-wrap:anywhere;margin:28px 0;color:#7927d6}.word-definition{font-size:18px;line-height:1.7}.word-game-panel input{font-size:20px}.word-ladder-chain{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0}.word-ladder-chain span{font-size:22px;font-weight:900;letter-spacing:.08em;background:#eee2ff;color:#6621ad;padding:12px 16px;border-radius:12px}.driving-topic-form{margin:22px 0;padding:18px;background:#f7f1ff;border-radius:16px}.driving-topic-form button{margin-top:12px}.shared-start{text-align:center;padding:40px 15px}.shared-start>strong{display:block;font-size:96px;line-height:1.3;color:#7927e5}.room-remove-button{font-size:13px;border:0;background:#fff1f2;color:#a63649;border-radius:8px;padding:5px 8px;cursor:pointer}.room-player{gap:8px}.room-player>span:first-child{flex:1}.word-game-panel .review-item p{font-size:15px}.room-play-layout .notice{font-size:15px}@media(max-width:700px){.feature-nav{gap:7px}.feature-nav a{font-size:15px;padding:9px 11px}.player-summary{gap:15px;padding:18px}.player-avatar{width:86px;height:86px}.player-avatar>.premium-icon{width:58px;height:58px}.assignment-row{display:block}.assignment-row .actions{margin-top:12px}.subject-progress>div{flex-wrap:wrap}.word-definition{font-size:17px}.word-ladder-chain span{font-size:18px;padding:10px 12px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
