/* Play Ceria — responsive, accessible light/dark design system */
:root{color-scheme:light;--bg:#fffaf0;--surface:#fff;--surface-2:#f5f0e6;--text:#213642;--muted:#687a82;--line:#e8e2d7;--brand:#246f68;--brand-strong:#15564f;--brand-soft:#e7f4ed;--coral:#ff897e;--yellow:#ffd36d;--blue:#7dbce7;--purple:#a998db;--shadow:0 16px 45px rgba(36,62,64,.09);--shadow-soft:0 7px 22px rgba(36,62,64,.07);--radius:24px;--radius-sm:14px;--focus:#176fca}
:root[data-theme="dark"]{color-scheme:dark;--bg:#111d25;--surface:#192a34;--surface-2:#223741;--text:#edf5f2;--muted:#b0c2c1;--line:#344a52;--brand:#80cdb2;--brand-strong:#a5e3cb;--brand-soft:#243f3b;--coral:#ff9a91;--yellow:#f3cd76;--blue:#86c1ea;--purple:#b5a6e9;--shadow:0 16px 45px rgba(0,0,0,.26);--shadow-soft:0 7px 22px rgba(0,0,0,.18);--focus:#8bc5ff}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.6}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button,a,input,select,summary{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus)}img{max-width:100%}.container{width:min(1160px,calc(100% - 40px));margin-inline:auto}.narrow-container{max-width:780px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;left:12px;top:-60px;z-index:1000;background:var(--surface);padding:10px 14px;border-radius:10px}.skip-link:focus{top:12px}.site-shell{min-height:100vh;display:flex;flex-direction:column}.site-shell>main{flex:1}
.site-header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 91%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;flex-shrink:0}.brand:hover{text-decoration:none}.brand-mark{width:42px;height:42px;border-radius:15px;background:linear-gradient(145deg,var(--yellow),var(--coral));color:#25464b;display:grid;place-items:center;font-size:25px;box-shadow:var(--shadow-soft)}.brand-copy{display:grid;line-height:1.15}.brand-copy strong{font-size:18px;letter-spacing:-.04em}.brand-copy small{font-size:10px;color:var(--muted);letter-spacing:.07em;text-transform:uppercase;margin-top:4px}.primary-nav{display:flex;align-items:center;gap:22px}.primary-nav>a{font-size:13px;font-weight:700;color:var(--muted)}.primary-nav>a:hover,.primary-nav>a.active{color:var(--brand);text-decoration:none}.nav-actions{display:flex;align-items:center;gap:8px}.language-select,.filter-select{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:12px;padding:9px 11px;font-size:12px;font-weight:700}.icon-button{height:38px;width:38px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);cursor:pointer;font-size:20px}.mobile-menu-toggle{display:none;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:12px;padding:9px 12px}.inline-form{display:inline-flex;margin:0}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:14px;padding:12px 18px;font-weight:800;font-size:13px;line-height:1.2;cursor:pointer;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.button:hover{transform:translateY(-2px);text-decoration:none}.button-primary{background:var(--brand);color:#fff;box-shadow:0 7px 18px color-mix(in srgb,var(--brand) 22%,transparent)}.button-primary:hover{background:var(--brand-strong);color:#fff}.button-soft{background:var(--brand-soft);color:var(--brand-strong)}.button-ghost{background:transparent;color:var(--text);border:1px solid var(--line)}.button-dark{background:#24474b;color:#fff}.button-large{padding:15px 22px;border-radius:16px}.button-small{padding:9px 12px;font-size:11px;border-radius:11px}.button-full{width:100%}
.hero-section{overflow:hidden;background:radial-gradient(ellipse at 80% 20%,rgba(255,211,109,.28),transparent 36%),linear-gradient(120deg,var(--bg),var(--brand-soft));border-bottom:1px solid var(--line)}.hero-grid{min-height:520px;padding-block:70px;display:grid;grid-template-columns:1.03fr .97fr;align-items:center;gap:40px}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--brand);text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:900}.eyebrow-dot{width:8px;height:8px;border-radius:50%;background:var(--coral);box-shadow:0 0 0 5px color-mix(in srgb,var(--coral) 20%,transparent)}h1,h2,h3,p{margin-top:0}.hero-copy h1{font-size:clamp(42px,5.4vw,70px);line-height:1.02;letter-spacing:-.065em;max-width:650px;margin:18px 0 19px}.hero-description{max-width:570px;color:var(--muted);font-size:17px;line-height:1.75}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.trust-points{display:flex;gap:16px;flex-wrap:wrap;margin-top:30px;color:var(--muted);font-size:11px;font-weight:700}.trust-points b{color:var(--brand);margin-right:5px}.hero-art{position:relative;min-height:385px;border-radius:44% 56% 47% 53%/49% 43% 57% 51%;background:linear-gradient(145deg,#e2f0db,#d3e9f2);overflow:hidden;isolation:isolate;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}.orbit{position:absolute;border:1px dashed rgba(52,103,100,.25);border-radius:50%;inset:13% 12%}.orbit-two{inset:24% 20%;transform:rotate(-25deg)}.hero-sun{position:absolute;right:15%;top:12%;font-size:74px;color:#ffbe48;text-shadow:0 9px 22px rgba(255,190,72,.24)}.hero-cloud{position:absolute;color:#fff;font-size:86px;opacity:.9}.cloud-one{left:12%;top:12%}.cloud-two{right:7%;top:47%;font-size:62px}.hero-island{position:absolute;display:flex;align-items:center;justify-content:center;gap:14px;border-radius:50%;background:#8dc9a2;box-shadow:inset 0 -14px 0 rgba(49,124,86,.14),0 22px 40px rgba(49,106,91,.18)}.island-back{width:190px;height:100px;left:13%;bottom:33%;background:#a6d6b2;transform:rotate(-10deg);font-size:38px}.island-front{width:310px;height:145px;right:8%;bottom:12%;font-size:46px;transform:rotate(7deg)}.floating-card{position:absolute;display:flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.88);border-radius:15px;box-shadow:0 12px 28px rgba(31,76,76,.13);font-size:24px}.floating-card small{font-size:11px;font-weight:800;color:#36545a}.float-card-one{left:5%;top:42%}.float-card-two{right:6%;top:18%}.float-card-three{left:23%;bottom:8%}
.section{padding-block:76px}.section-compact{padding-block:22px}.section-heading{margin-bottom:26px}.section-heading h2{font-size:clamp(28px,3vw,38px);letter-spacing:-.045em;line-height:1.1;margin:8px 0}.section-heading p{color:var(--muted);margin-bottom:0;max-width:690px}.section-heading-row{display:flex;align-items:end;justify-content:space-between;gap:20px}.count-bubble{background:var(--brand-soft);color:var(--brand);padding:9px 13px;border-radius:99px;font-size:11px;font-weight:800;white-space:nowrap}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.feature-strip>div{display:flex;align-items:center;gap:12px;padding:15px 18px;border-radius:17px;background:var(--surface);border:1px solid var(--line)}.feature-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--surface-2);font-size:22px}.feature-strip strong,.feature-strip small{display:block}.feature-strip strong{font-size:12px}.feature-strip small{font-size:10px;color:var(--muted)}
.age-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.age-card{position:relative;min-height:190px;padding:24px;border-radius:24px;overflow:hidden;color:#24414a;display:flex;flex-direction:column;justify-content:end;box-shadow:var(--shadow-soft);transition:transform .2s}.age-card:hover{transform:translateY(-4px);text-decoration:none}.age-card-one{background:#f7e7c9}.age-card-two{background:#dcecf6}.age-card-three{background:#e5e7d6}.age-illustration{position:absolute;right:18px;top:9px;font-size:82px;filter:drop-shadow(0 10px 5px rgba(40,60,40,.08))}.age-number{font-size:29px;line-height:1;font-weight:950;letter-spacing:-.06em}.age-card strong{font-size:16px;margin-top:9px}.age-card small{font-size:11px;opacity:.72}.games-section{background:var(--surface-2)}.game-toolbar{display:flex;gap:10px;margin:24px 0}.search-box{display:flex;align-items:center;gap:10px;min-width:260px;flex:1;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:0 13px;color:var(--muted)}.search-box input{width:100%;border:0;outline:0;background:transparent;color:var(--text);padding:12px 0;font-size:12px}.search-box input:focus-visible{outline:0}.games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.game-card{overflow:hidden;border:1px solid var(--line);border-radius:21px;background:var(--surface);box-shadow:var(--shadow-soft);transition:transform .2s,box-shadow .2s}.game-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.game-art{height:158px;position:relative;display:grid;place-items:center;overflow:hidden}.game-art:before,.game-art:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.25)}.game-art:before{width:190px;height:190px;right:-35px;top:-65px}.game-art:after{width:115px;height:115px;left:-30px;bottom:-52px}.game-art-coral{background:linear-gradient(130deg,#ffd9c9,#ffb7a3)}.game-art-blue{background:linear-gradient(130deg,#d7eafa,#a9d6ef)}.game-art-green{background:linear-gradient(130deg,#d9efd5,#a7d8b1)}.game-art-purple{background:linear-gradient(130deg,#e8dcfa,#c7b7eb)}.game-art-icon{font-size:65px;z-index:1;filter:drop-shadow(0 9px 6px rgba(31,58,55,.12))}.game-age-badge{position:absolute;left:13px;top:13px;z-index:2;padding:6px 9px;border-radius:99px;background:rgba(255,255,255,.8);color:#334c52;font-size:9px;font-weight:900}.game-card-body{padding:16px}.game-card-meta{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.game-card h3{font-size:18px;letter-spacing:-.03em;margin:9px 0 7px}.game-card p{font-size:12px;color:var(--muted);min-height:58px;margin-bottom:12px}.text-link{font-size:12px;font-weight:900}.empty-state{padding:30px;text-align:center;color:var(--muted)}
.parent-callout-section{padding-top:30px}.parent-callout{padding:34px 40px;border-radius:28px;background:linear-gradient(115deg,var(--brand-soft),var(--surface));border:1px solid var(--line);display:grid;grid-template-columns:180px 1fr;align-items:center;gap:28px}.callout-art{width:145px;height:145px;display:grid;place-items:center;border-radius:50%;background:var(--surface);font-size:66px;box-shadow:var(--shadow-soft)}.parent-callout h2{font-size:28px;letter-spacing:-.045em;margin:8px 0}.parent-callout p{color:var(--muted);max-width:700px}.faq-section{padding-top:30px}.faq-item{border-bottom:1px solid var(--line);padding:17px 0}.faq-item summary{cursor:pointer;font-weight:800;list-style:none}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:"+";float:right;color:var(--brand);font-size:20px}.faq-item[open] summary:after{content:"−"}.faq-item p{color:var(--muted);margin:12px 0 0;font-size:14px}
.site-footer{margin-top:auto;border-top:1px solid var(--line);background:var(--surface)}.footer-grid{padding-block:34px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px;align-items:center}.footer-brand p{font-size:11px;color:var(--muted);margin:12px 0 0}.footer-links{display:flex;flex-wrap:wrap;gap:11px 18px}.footer-links a{font-size:11px;font-weight:700;color:var(--muted)}.footer-note{text-align:right;color:var(--muted);font-size:11px}.footer-note p{margin:9px 0 0}.footer-pill{display:inline-flex;background:var(--brand-soft);color:var(--brand);padding:6px 10px;border-radius:99px;font-weight:900}
.flash-wrap{padding-top:12px}.flash{padding:12px 15px;border-radius:13px;font-size:13px;margin-bottom:10px}.flash-success{background:#e3f5e9;color:#1d6843}.flash-info{background:#e6f1fc;color:#245b89}.flash-error{background:#ffebe9;color:#913a37}.flash-warning{background:#fff3d6;color:#79591b}:root[data-theme="dark"] .flash-success{background:#1e4635;color:#b4eac9}:root[data-theme="dark"] .flash-info{background:#1e3d56;color:#b8daf7}:root[data-theme="dark"] .flash-error{background:#512a2b;color:#ffc2bd}:root[data-theme="dark"] .flash-warning{background:#493b1f;color:#f5d99b}
.page-hero{padding-block:65px;background:linear-gradient(115deg,var(--brand-soft),var(--bg));border-bottom:1px solid var(--line)}.page-hero h1{font-size:clamp(34px,4.8vw,54px);line-height:1.05;letter-spacing:-.06em;margin:12px 0}.page-hero p{max-width:760px;color:var(--muted);font-size:16px}.content-panel{padding:28px;background:var(--surface);border:1px solid var(--line);border-radius:21px;box-shadow:var(--shadow-soft)}.content-panel h2{font-size:21px;letter-spacing:-.035em;margin:24px 0 8px}.content-panel h2:first-child{margin-top:0}.content-panel h3{font-size:16px}.content-panel p,.content-panel li{color:var(--muted);font-size:14px}.check-list{padding-left:20px}.check-list li{padding:7px 0}.check-list li::marker{color:var(--brand)}.notice{padding:15px 17px;border-radius:15px;margin:18px 0}.notice p{margin:5px 0 0}.notice-soft{background:var(--brand-soft)}.notice-warning{background:#fff3d6;color:#76571a}:root[data-theme="dark"] .notice-warning{background:#45391f;color:#f0dba5}.button-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.auth-main{padding:55px 20px 80px;background:linear-gradient(145deg,var(--brand-soft),var(--bg))}.auth-card{max-width:510px;margin:0 auto;padding:30px;background:var(--surface);border:1px solid var(--line);border-radius:25px;box-shadow:var(--shadow)}.auth-card-heading{text-align:center;margin-bottom:22px}.auth-icon{font-size:38px}.auth-card h1{font-size:29px;letter-spacing:-.05em;margin:8px 0}.auth-card-heading p{font-size:12px;color:var(--muted)}.form-stack{display:grid;gap:15px}.form-stack label,.form-grid label{display:grid;gap:7px;font-size:12px;font-weight:800}.form-stack input,.form-grid input,.form-grid select{width:100%;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--text);padding:12px 13px;font-size:14px}.form-stack small{color:var(--muted);font-weight:500;font-size:10px}.check-label{display:flex!important;grid-template-columns:18px 1fr!important;align-items:start;gap:9px!important;color:var(--muted);font-weight:600!important;line-height:1.5}.check-label input{width:17px;height:17px;margin-top:2px;accent-color:var(--brand)}.check-label span{font-size:11px}.auth-switch{text-align:center;font-size:12px;color:var(--muted);margin:18px 0 0}.auth-switch a{font-weight:800}
.dashboard-hero{padding-block:38px}.dashboard-hero h1{font-size:40px}.dashboard-hero p{margin:0}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.dashboard-main{min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.panel-heading h2{font-size:22px;letter-spacing:-.04em;margin:0}.panel-heading p{font-size:11px;color:var(--muted);margin:4px 0 0}.profile-list{display:grid;gap:10px}.profile-card{display:flex;align-items:center;gap:13px;padding:13px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}.profile-active{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.profile-avatar{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;background:var(--brand-soft);font-size:24px}.profile-details{flex:1;min-width:0}.profile-details strong,.profile-details span{display:block}.profile-details strong{font-size:13px}.profile-details span{font-size:10px;color:var(--muted)}.active-label{font-size:10px;color:var(--brand);font-weight:900}.add-profile-panel{margin:15px 0 28px;padding:15px 17px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}.add-profile-panel summary{cursor:pointer;font-size:12px;font-weight:900;color:var(--brand)}.form-grid{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;margin-top:15px}.form-grid .button{height:42px}.progress-heading{margin-top:25px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0}.stat-card{padding:16px;border-radius:17px;background:var(--surface);border:1px solid var(--line)}.stat-card span{display:block;font-size:20px}.stat-card strong{display:block;font-size:25px;letter-spacing:-.05em}.stat-card small{display:block;color:var(--muted);font-size:10px}.progress-table-panel{padding:20px;margin-top:14px}.table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th,.data-table td{text-align:left;padding:10px;border-bottom:1px solid var(--line)}.data-table th{color:var(--muted);font-size:10px;text-transform:uppercase}.dashboard-side{display:grid;gap:14px}.dashboard-side .content-panel{padding:20px}.dashboard-side h3{margin:0 0 12px}.dashboard-side p{font-size:12px}.muted-small{color:var(--muted)}.empty-panel{padding:22px;text-align:center;border:1px dashed var(--line);border-radius:16px;background:var(--surface);color:var(--muted);font-size:12px}.empty-panel>span{display:block;font-size:32px}.empty-panel-wide{margin-top:20px}
.game-main{padding-bottom:70px}.game-breadcrumb{display:flex;gap:9px;align-items:center;padding-block:17px;color:var(--muted);font-size:10px}.game-breadcrumb a{font-weight:700}.game-intro{display:flex;justify-content:space-between;align-items:center;padding-block:20px 28px}.game-intro h1{font-size:clamp(35px,5vw,52px);letter-spacing:-.06em;line-height:1.03;margin:8px 0}.game-intro-copy{max-width:760px}.game-intro-copy>p{color:var(--muted);max-width:690px}.game-intro-emoji{width:116px;height:116px;display:grid;place-items:center;border-radius:34px;background:var(--brand-soft);font-size:60px;box-shadow:var(--shadow-soft)}.game-facts{display:flex;gap:24px;flex-wrap:wrap;margin-top:19px}.game-facts span{display:grid;gap:2px}.game-facts small{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}.game-facts b{font-size:12px}.game-play-section{max-width:920px}.game-shell{border:1px solid var(--line);border-radius:25px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow)}.game-shell-header,.game-shell-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 18px;background:var(--surface-2);font-size:11px}.game-shell-header>div{display:flex;align-items:center;gap:9px}.game-live-dot{width:8px;height:8px;border-radius:50%;background:#48ae75;box-shadow:0 0 0 4px rgba(72,174,117,.15)}.game-shell-age{color:var(--muted);font-size:10px}.game-stage{min-height:345px;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.game-shell-footer{border-top:1px solid var(--line);color:var(--muted)}.game-status{font-size:10px}.exit-game-link{font-size:10px;font-weight:800}.game-loading{color:var(--muted)}.loading-sparkle{font-size:36px;color:var(--yellow)}.game-intro-screen{max-width:520px}.game-intro-screen h2{font-size:25px;letter-spacing:-.04em}.game-intro-screen p{color:var(--muted);font-size:13px}.game-prompt{font-size:23px;letter-spacing:-.03em;margin:14px 0 20px;font-weight:900}.game-round-meta{font-size:10px;font-weight:900;color:var(--brand);text-transform:uppercase;letter-spacing:.12em}.game-visual{font-size:48px;letter-spacing:6px;margin:5px 0 16px;min-height:58px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px}.game-choices{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:12px;width:min(100%,440px)}.choice-button{min-height:75px;padding:13px;border:2px solid var(--line);border-radius:16px;background:var(--surface-2);color:var(--text);font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;flex-direction:column;transition:transform .15s,border .15s}.choice-button:hover{transform:translateY(-2px);border-color:var(--brand)}.choice-symbol{font-size:29px}.choice-label{font-size:12px}.choice-button:disabled{cursor:default;opacity:.78}.choice-button.correct-choice{border-color:#4aaf79;background:#e5f7eb;color:#21633f}.choice-button.wrong-choice{border-color:#e58c81;background:#fff0ed;color:#99463d}.game-feedback{min-height:28px;margin-top:18px;font-weight:900;font-size:14px}.game-feedback.good{color:#32915d}.game-feedback.try{color:#bc7440}.game-action{margin-top:12px}.game-result{max-width:480px}.result-stars{font-size:30px;letter-spacing:5px;margin:8px}.result-score{font-size:42px;font-weight:950;letter-spacing:-.06em}.result-note{font-size:12px;color:var(--muted);margin:8px 0 18px}.game-after-note{display:flex;gap:10px;align-items:center;margin:12px 0;color:var(--muted);font-size:11px}.game-after-note span{font-size:21px}.game-after-note p{margin:0}.game-details-grid{max-width:920px;display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.info-panel{padding:20px;border:1px solid var(--line);border-radius:19px;background:var(--surface)}.info-panel h2{font-size:16px;margin-bottom:10px}.info-panel p,.info-panel li{color:var(--muted);font-size:12px}.info-panel ul{padding-left:18px}.memory-grid{display:grid;grid-template-columns:repeat(3,90px);gap:10px;margin:15px auto}.memory-card{height:82px;border:2px solid var(--line);border-radius:15px;background:var(--brand-soft);font-size:30px;cursor:pointer}.memory-card[disabled]{cursor:default}.memory-card.flipped{background:var(--surface-2);border-color:var(--brand)}
@media(max-width:900px){.primary-nav{gap:13px}.primary-nav>a{font-size:11px}.nav-actions{gap:5px}.hero-grid{grid-template-columns:1fr .8fr;gap:20px}.hero-art{min-height:315px}.games-grid{grid-template-columns:repeat(2,1fr)}.dashboard-layout{grid-template-columns:1fr}.dashboard-side{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.container{width:min(100% - 28px,560px)}.header-inner{min-height:66px}.mobile-menu-toggle{display:inline-flex}.primary-nav{display:none;position:absolute;left:14px;right:14px;top:61px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow);align-items:stretch;flex-direction:column;gap:12px}.primary-nav.open{display:flex}.primary-nav>a{font-size:13px;padding:5px}.nav-actions{flex-wrap:wrap;padding-top:9px;border-top:1px solid var(--line)}.hero-grid{grid-template-columns:1fr;padding-block:48px 35px}.hero-copy h1{font-size:46px}.hero-description{font-size:14px}.hero-art{min-height:280px;width:100%;max-width:470px;margin:auto}.section{padding-block:52px}.feature-strip{grid-template-columns:1fr;gap:8px}.feature-strip>div{padding:10px 13px}.age-grid{gap:9px}.age-card{min-height:155px;padding:13px;border-radius:17px}.age-illustration{font-size:54px;right:7px;top:6px}.age-number{font-size:23px}.age-card strong{font-size:12px}.age-card small{font-size:9px}.games-grid{grid-template-columns:1fr 1fr;gap:10px}.game-art{height:118px}.game-art-icon{font-size:50px}.game-card-body{padding:12px}.game-card h3{font-size:14px}.game-card p{font-size:10px;min-height:74px}.game-card-meta{font-size:8px;flex-wrap:wrap}.game-toolbar{flex-wrap:wrap}.search-box{flex-basis:100%}.filter-select{flex:1;min-width:0}.section-heading-row{align-items:start;flex-direction:column}.count-bubble{margin-top:-13px}.parent-callout{grid-template-columns:1fr;padding:24px;gap:14px}.callout-art{width:88px;height:88px;font-size:43px}.parent-callout h2{font-size:23px}.footer-grid{grid-template-columns:1fr;gap:18px}.footer-note{text-align:left}.footer-links{gap:12px}.page-hero{padding-block:45px}.content-panel{padding:20px}.auth-main{padding:34px 14px 55px}.auth-card{padding:23px 18px}.form-grid{grid-template-columns:1fr}.form-grid .button{width:100%}.dashboard-side{grid-template-columns:1fr}.stats-grid{gap:7px}.stat-card{padding:11px}.stat-card strong{font-size:21px}.profile-card{flex-wrap:wrap}.profile-action{margin-left:58px}.game-intro{align-items:flex-start}.game-intro-emoji{width:76px;height:76px;font-size:38px;border-radius:22px}.game-facts{gap:12px}.game-facts span{min-width:90px}.game-stage{padding:20px 13px;min-height:340px}.game-prompt{font-size:20px}.game-choices{gap:8px}.choice-button{min-height:70px}.game-details-grid{grid-template-columns:1fr}.memory-grid{grid-template-columns:repeat(3,75px);gap:7px}.memory-card{height:70px}.game-after-note{align-items:flex-start}}
@media(max-width:390px){.games-grid{grid-template-columns:1fr}.game-card p{min-height:0}.age-card{min-height:143px}.age-illustration{font-size:44px}.hero-copy h1{font-size:40px}.game-facts{display:grid;grid-template-columns:1fr 1fr}.game-intro-emoji{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* =========================================================
   PLAY CERIA KID-FIRST GAME EXPERIENCE
   Bigger touch targets, friendly feedback and playful audio UI.
   ========================================================= */
:root{--brand:#258b78;--brand-strong:#176957;--brand-soft:#e6f7ee;--yellow:#ffd45e;--coral:#ff8b82;--blue:#7bc8f2;--purple:#b9a6f1}
:root[data-theme="dark"]{--brand:#8bdfc2;--brand-strong:#b4f0db;--brand-soft:#25473e;--yellow:#ffda79;--coral:#ff9d95;--blue:#91d4f8;--purple:#c2b3ff}
body{font-family:ui-rounded,"Nunito", "Trebuchet MS",system-ui,sans-serif}
.brand-mark{border-radius:18px;background:linear-gradient(145deg,#ffe47d,#ff9b91 58%,#9ddfc7);font-size:27px;transform:rotate(-4deg)}
.game-card{border-radius:26px;border-width:2px;box-shadow:0 9px 0 color-mix(in srgb,var(--line) 72%,transparent),var(--shadow-soft)}
.game-card:hover{transform:translateY(-5px) rotate(-.3deg)}
.game-card .button{min-height:46px}
.game-shell{border:3px solid color-mix(in srgb,var(--brand) 28%,var(--line));border-radius:32px;box-shadow:0 12px 0 color-mix(in srgb,var(--brand) 10%,transparent),var(--shadow)}
.game-shell-header{padding:15px 20px;background:linear-gradient(100deg,var(--brand-soft),var(--surface-2));font-size:13px}
.game-shell-tools{display:flex;align-items:center;gap:12px}
.game-shell-age{font-size:12px;font-weight:800}
.game-sound-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 13px;border:2px solid var(--line);border-radius:99px;background:var(--surface);color:var(--text);font-size:13px;font-weight:900;cursor:pointer}
.game-sound-toggle:hover{border-color:var(--brand);transform:translateY(-1px)}
.game-sound-toggle.is-muted-by-parent{background:var(--surface-2);opacity:.85;cursor:not-allowed}
.game-stage{min-height:510px;padding:clamp(20px,4vw,48px);background:radial-gradient(circle at 10% 10%,color-mix(in srgb,var(--yellow) 14%,transparent) 0 8%,transparent 9%),radial-gradient(circle at 92% 82%,color-mix(in srgb,var(--blue) 15%,transparent) 0 10%,transparent 11%),var(--surface)}
.game-intro-screen{width:min(100%,600px);display:flex;flex-direction:column;align-items:center;gap:10px}
.game-mascot-bounce{width:118px;height:118px;display:grid;place-items:center;border-radius:38px;background:linear-gradient(145deg,#fff0b9,#ffd4c7 58%,#c8f0dd);font-size:68px;box-shadow:0 10px 0 rgba(42,100,79,.09);animation:pc-bob 2.8s ease-in-out infinite}
@keyframes pc-bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-8px) rotate(3deg)}}
.game-ready-pill{padding:7px 14px;border-radius:99px;background:var(--brand-soft);color:var(--brand-strong);font-size:13px;font-weight:950}
.game-intro-screen h2{font-size:clamp(28px,4vw,38px);margin:4px 0;letter-spacing:-.04em}
.game-intro-screen p{max-width:480px;font-size:17px;line-height:1.65;color:var(--muted)}
.game-start-button{min-width:min(100%,245px);min-height:64px;border-radius:20px;font-size:20px;box-shadow:0 7px 0 color-mix(in srgb,var(--brand) 24%,transparent)}
.game-progress-wrap{width:min(100%,680px);display:grid;gap:9px;margin:0 0 12px}
.game-progress-label{font-size:14px;font-weight:950;color:var(--brand)}
.game-progress-track{height:13px;border-radius:99px;background:var(--surface-2);overflow:hidden;box-shadow:inset 0 2px 4px rgba(0,0,0,.06)}
.game-progress-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,#60c89a,#a8d96c,#ffd66e);transition:width .35s ease}
.game-question-wrap{width:min(100%,720px);display:grid;justify-items:center;gap:8px}
.game-prompt{max-width:700px;font-size:clamp(25px,4vw,37px);line-height:1.2;letter-spacing:-.035em;margin:12px 0 4px;font-weight:1000}
.listen-question-button{border:2px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:99px;padding:9px 16px;min-height:44px;font-size:14px;font-weight:900;cursor:pointer}
.listen-question-button:hover{border-color:var(--brand);background:var(--brand-soft)}
.game-visual{font-size:clamp(60px,9vw,92px);letter-spacing:6px;margin:9px 0 20px;min-height:100px;filter:drop-shadow(0 8px 6px rgba(45,85,75,.10))}
.game-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:min(100%,690px);margin-top:10px}
.choice-button{position:relative;min-height:132px;padding:18px 16px;border:3px solid transparent;border-radius:25px;box-shadow:0 7px 0 rgba(33,64,67,.09);gap:9px;justify-content:center;flex-direction:column;transition:transform .15s,box-shadow .15s,border-color .15s}
.choice-button:hover{transform:translateY(-3px) scale(1.015);border-color:var(--brand);box-shadow:0 10px 0 rgba(33,64,67,.08)}
.choice-button:active{transform:translateY(2px);box-shadow:0 3px 0 rgba(33,64,67,.08)}
.choice-button.choice-1{background:#fff0d1;color:#694c20;border-color:#ffe1a1}
.choice-button.choice-2{background:#e2f3ff;color:#23547a;border-color:#c2e5fb}
.choice-button.choice-3{background:#e4f7e9;color:#285e3c;border-color:#c5ebd0}
.choice-button.choice-4{background:#f0e9ff;color:#57427e;border-color:#ddd0fb}
:root[data-theme="dark"] .choice-button.choice-1{background:#514329;color:#ffe9b4;border-color:#735d36}
:root[data-theme="dark"] .choice-button.choice-2{background:#24445a;color:#d1edff;border-color:#356382}
:root[data-theme="dark"] .choice-button.choice-3{background:#244a38;color:#d1f6db;border-color:#387251}
:root[data-theme="dark"] .choice-button.choice-4{background:#40345d;color:#e8dcff;border-color:#65528c}
.choice-symbol{font-size:clamp(35px,5vw,51px);line-height:1.15}
.choice-label{font-size:clamp(18px,2.4vw,23px);line-height:1.22;font-weight:1000;overflow-wrap:anywhere}
.choice-button:disabled{opacity:1;filter:saturate(.8)}
.choice-button.correct-choice{border-color:#38a968;background:#dff8e7;color:#205d39}
.choice-button.wrong-choice{border-color:#e68c80;background:#fff0ed;color:#934238}
.game-feedback{width:min(100%,680px);padding:15px 18px;border-radius:19px;margin-top:22px;font-size:clamp(16px,2.5vw,20px);line-height:1.45}
.game-feedback.good{background:#e4f8e9;color:#21643c;border:2px solid #bde8c9}
.game-feedback.try{background:#fff2d9;color:#77521e;border:2px solid #f5dfae}
:root[data-theme="dark"] .game-feedback.good{background:#214331;color:#d4f9df;border-color:#356e4b}
:root[data-theme="dark"] .game-feedback.try{background:#4b3b21;color:#ffebbf;border-color:#70582d}
.game-action{min-width:190px;min-height:58px;border-radius:18px;font-size:17px}
.game-result{width:min(100%,550px)}
.game-finish-mascot{font-size:76px;animation:pc-bob 2.8s ease-in-out infinite}
.result-stars{font-size:44px;letter-spacing:7px;color:#e8ad27}
.result-score{font-size:clamp(52px,8vw,68px);color:var(--brand)}
.memory-grid{grid-template-columns:repeat(3,minmax(84px,112px));gap:15px;margin:22px auto}
.memory-card{height:106px;border:3px solid #c8b8ef;border-radius:23px;background:linear-gradient(145deg,#eae2ff,#d8eeff);font-size:45px;box-shadow:0 6px 0 rgba(55,55,95,.10);transition:transform .15s}
.memory-card:hover{transform:translateY(-3px)}
.memory-card.flipped{background:var(--surface);border-color:var(--brand)}
.parent-sound-setting{display:grid;gap:14px;margin:16px 0;padding:14px;border-radius:17px;background:var(--surface-2)}
.sound-setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}
.sound-setting-row span{display:grid;gap:4px}
.sound-setting-row small{font-weight:500;color:var(--muted)}
.sound-setting-row input{width:25px;height:25px;accent-color:var(--brand)}
.auth-card{border-radius:30px;box-shadow:0 10px 0 color-mix(in srgb,var(--brand) 10%,transparent),var(--shadow)}
.button{border-radius:17px}
@media(max-width:700px){
 .game-shell-header{align-items:flex-start;flex-wrap:wrap}.game-shell-tools{width:100%;justify-content:space-between}.game-sound-toggle{min-height:44px}
 .game-stage{min-height:470px;padding:24px 14px}.game-mascot-bounce{width:100px;height:100px;font-size:59px}
 .game-choices{gap:11px;width:100%}.choice-button{min-height:112px;padding:14px 8px;border-radius:19px}.choice-symbol{font-size:37px}.choice-label{font-size:17px}
 .game-prompt{font-size:25px}.game-visual{font-size:63px;min-height:80px}.game-feedback{font-size:16px}
 .memory-grid{grid-template-columns:repeat(3,minmax(70px,92px));gap:10px}.memory-card{height:88px;font-size:39px}
}
@media(max-width:360px){.game-choices{gap:8px}.choice-button{min-height:100px}.choice-label{font-size:15px}.game-prompt{font-size:22px}}
@media(prefers-reduced-motion:reduce){.game-mascot-bounce,.game-finish-mascot{animation:none}}
/* Homepage game discovery: larger, friendlier labels for young readers. */
.game-card h3{font-size:19px;line-height:1.2}
.game-card p{font-size:14px;line-height:1.5;min-height:74px}
.game-card-meta{font-size:11px;gap:9px}
.game-art{height:174px}
.age-card{border:3px solid rgba(255,255,255,.7)}
.age-card strong{font-size:19px}
.age-card small{font-size:13px}
.hero-copy h1{font-weight:1000}
@media(max-width:700px){.game-card h3{font-size:16px}.game-card p{font-size:12px;line-height:1.45;min-height:82px}.game-card-meta{font-size:9px}.game-art{height:130px}.age-card strong{font-size:15px}.age-card small{font-size:10px}}

/* END PLAY CERIA KID-FIRST GAME EXPERIENCE */


/* Play Ceria 1.2 — learning pathway and larger touch-first game cards */
.learning-section{background:var(--surface)}
.foundation-roadmap{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:22px auto 26px;padding:15px 18px;border:1px solid var(--line);border-radius:18px;background:var(--surface-2);max-width:900px}
.foundation-roadmap span:not(.roadmap-arrow){display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:900;color:var(--text)}
.foundation-roadmap b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:11px}
.roadmap-arrow{color:var(--muted);font-weight:900}
.game-card{position:relative;isolation:isolate;cursor:pointer}
.game-card-hitarea{position:absolute;inset:0;z-index:5;border-radius:inherit;color:transparent;text-decoration:none;outline-offset:4px}
.game-card-hitarea:focus-visible{outline:4px solid var(--brand);outline-offset:4px}
.card-cta{display:inline-flex;align-items:center;gap:8px;margin-top:3px;padding:10px 14px;border-radius:999px;background:var(--brand);color:#fff;font-size:12px;font-weight:950;box-shadow:0 4px 0 color-mix(in srgb,var(--brand) 76%,#000 24%);pointer-events:none}
.card-cta span{font-size:17px;line-height:10px}
.game-stage-badge{position:absolute;right:12px;top:13px;z-index:2;padding:6px 9px;border-radius:99px;background:rgba(255,255,255,.9);color:#334c52;font-size:9px;font-weight:950;max-width:58%;text-align:center}
.learning-card .game-art{min-height:175px}
.foundation-heading{width:min(100%,720px);margin:0 auto 14px}
.foundation-help{font-size:13px;color:var(--muted);margin:7px 0 0}
.foundation-detail{width:min(100%,520px);min-height:155px;margin:4px auto 15px;padding:17px 22px;border:2px solid var(--line);border-radius:22px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}
.foundation-detail-symbol{font-size:clamp(48px,9vw,76px);font-weight:1000;line-height:1.15;letter-spacing:-.05em}
.foundation-detail-title{margin:4px 0 0;font-size:19px;font-weight:950}
.foundation-detail-subtitle{margin:0;color:var(--muted);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.foundation-card-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;width:min(100%,690px);margin:0 auto 19px}
.foundation-card{min-width:0;min-height:62px;border:2px solid var(--line);border-radius:15px;background:var(--surface);color:var(--text);font-size:19px;font-weight:1000;cursor:pointer;box-shadow:0 3px 0 color-mix(in srgb,var(--line) 65%,transparent);transition:transform .14s,border-color .14s,background .14s}
.foundation-card:hover{transform:translateY(-2px);border-color:var(--brand)}
.foundation-card:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.foundation-card.is-selected{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 4px 0 color-mix(in srgb,var(--brand) 30%,transparent)}
.foundation-numbers{grid-template-columns:repeat(5,minmax(0,1fr))}
.foundation-numbers .foundation-card{min-height:70px;font-size:26px}
.foundation-shapes,.foundation-colours{grid-template-columns:repeat(3,minmax(0,1fr))}
.foundation-shapes .foundation-card{font-size:30px;min-height:74px}
.foundation-colours .foundation-card{font-size:32px;min-height:74px;text-shadow:0 1px 2px rgba(0,0,0,.15)}
.foundation-colour-red{--lesson-color:#ef5350;color:#ef5350!important}.foundation-colour-blue{--lesson-color:#4298df;color:#3284c8!important}.foundation-colour-yellow{--lesson-color:#d6a900;color:#b58a00!important}.foundation-colour-green{--lesson-color:#49a96a;color:#31864f!important}.foundation-colour-orange{--lesson-color:#f29a38;color:#cc741d!important}.foundation-colour-purple{--lesson-color:#9167ce;color:#7d55b7!important}
.foundation-detail-symbol.foundation-colour-red{color:#ef5350}.foundation-detail-symbol.foundation-colour-blue{color:#4298df}.foundation-detail-symbol.foundation-colour-yellow{color:#d6a900}.foundation-detail-symbol.foundation-colour-green{color:#49a96a}.foundation-detail-symbol.foundation-colour-orange{color:#f29a38}.foundation-detail-symbol.foundation-colour-purple{color:#9167ce}
.foundation-start{margin:0 auto}
.choice-button.choice-number .choice-label{font-size:clamp(38px,6vw,54px);line-height:1;font-weight:1000;letter-spacing:-.04em}
.choice-button.choice-number{min-height:146px}
.choice-button.choice-colour .choice-symbol{font-size:0;width:38px;height:38px;border-radius:50%;background:currentColor;box-shadow:0 2px 4px rgba(0,0,0,.16)}
.choice-button.choice-colour-red{color:#d84545}.choice-button.choice-colour-blue{color:#3284c8}.choice-button.choice-colour-yellow{color:#b58a00}.choice-button.choice-colour-green{color:#31864f}.choice-button.choice-colour-orange{color:#cc741d}.choice-button.choice-colour-purple{color:#7d55b7}
@media(max-width:700px){
 .foundation-roadmap{justify-content:flex-start;gap:8px;padding:12px}.foundation-roadmap span:not(.roadmap-arrow){font-size:10px}.foundation-roadmap b{width:22px;height:22px}.roadmap-arrow{font-size:11px}
 .foundation-card-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.foundation-card{min-height:51px;border-radius:11px;font-size:16px}.foundation-numbers{grid-template-columns:repeat(5,minmax(0,1fr))}.foundation-numbers .foundation-card{min-height:62px;font-size:22px}.foundation-shapes,.foundation-colours{grid-template-columns:repeat(3,minmax(0,1fr))}.foundation-detail{min-height:130px;padding:14px}.foundation-detail-symbol{font-size:56px}.choice-button.choice-number{min-height:120px}.choice-button.choice-number .choice-label{font-size:42px}
 .game-card-hitarea{inset:0}.card-cta{font-size:10px;padding:9px 11px}.game-stage-badge{font-size:8px}
}
@media(max-width:380px){.foundation-card-grid{gap:4px}.foundation-card{min-height:43px;font-size:14px}.foundation-numbers .foundation-card{min-height:56px;font-size:20px}.foundation-detail-symbol{font-size:48px}.foundation-roadmap{gap:5px}}


/* Play Ceria 2.0: child-first visual hierarchy */
.game-toolbar-large{align-items:stretch;margin:20px 0 0}.game-toolbar-large .search-box{min-height:58px;border-radius:18px}.game-toolbar-large .search-box input{font-size:17px}.game-toolbar-large .filter-select{min-height:58px;padding:0 16px;font-size:15px;border-radius:18px;min-width:160px}
.game-card-link{display:flex;flex-direction:column;position:relative;min-height:100%;text-decoration:none;color:var(--text);cursor:pointer;outline-offset:5px}.game-card-link:hover,.game-card-link:focus-visible{text-decoration:none;transform:translateY(-5px);box-shadow:var(--shadow)}.game-card-link:focus-visible{outline:4px solid var(--brand)}.game-card-link .game-art{height:205px;flex:0 0 205px}.game-card-link .game-art-icon{font-size:clamp(76px,7vw,100px)}.game-card-link .game-card-body{padding:20px;display:flex;flex-direction:column;flex:1}.game-card-link .game-card h3,.game-card-link h3{font-size:clamp(19px,1.5vw,23px);line-height:1.2}.game-card-link p{font-size:15px;line-height:1.5;min-height:68px}.game-card-meta{font-size:11px}.game-stage-badge{position:absolute;right:12px;bottom:12px;z-index:2;border-radius:999px;background:rgba(255,255,255,.88);color:#29424a;padding:7px 10px;font-size:10px;font-weight:950;letter-spacing:.04em}.game-age-badge{font-size:12px;padding:8px 11px}.card-cta{margin-top:auto;font-size:16px;font-weight:950;display:flex;justify-content:space-between;align-items:center;padding-top:15px;color:var(--brand)}
.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:28px auto 0;min-height:54px}.pagination[hidden]{display:none}.pagination-button{min-width:54px;min-height:52px;padding:10px 17px;border:2px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);font-size:15px;font-weight:900;cursor:pointer}.pagination-button:disabled{opacity:.4;cursor:not-allowed}.pagination-button:not(:disabled):hover{border-color:var(--brand);background:var(--brand-soft)}.pagination-info{font-size:14px;font-weight:850;color:var(--muted);text-align:center}.curriculum-flow{background:var(--surface-2)}.curriculum-steps{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:12px;margin-top:28px}.curriculum-steps>div:not(.curriculum-arrow){position:relative;display:grid;justify-items:center;gap:7px;padding:20px 13px;border:1px solid var(--line);border-radius:22px;background:var(--surface);text-align:center;box-shadow:var(--shadow-soft)}.curriculum-steps b{position:absolute;top:9px;left:11px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:var(--brand-soft);color:var(--text);font-size:13px}.curriculum-steps span{font-size:42px}.curriculum-steps strong{font-size:17px}.curriculum-steps small{font-size:12px;color:var(--muted)}.curriculum-arrow{font-size:26px;color:var(--brand);font-weight:950}
.topic-section-heading{max-width:650px;margin:0 auto 16px}.topic-helper{font-size:15px;line-height:1.55;color:var(--muted)}.topic-selected-card{width:min(100%,650px);min-height:180px;padding:20px;border-radius:22px;background:var(--surface-2);border:1px solid var(--line);display:grid;justify-items:center;align-content:center;gap:6px;margin:8px auto 19px}.topic-selected-visual{min-height:75px;display:grid;place-items:center;font-size:clamp(45px,8vw,72px);font-weight:1000;color:var(--text)}.topic-selected-title{font-size:clamp(22px,4vw,30px);margin:0}.topic-selected-subtitle{font-size:14px;color:var(--muted);margin:0}.topic-big-swatch{width:92px;height:72px;border-radius:22px;border:5px solid rgba(255,255,255,.8);box-shadow:0 5px 16px rgba(20,40,45,.14)}.topic-flashcard-grid{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px auto 20px}.topic-flashcard{min-height:126px;padding:13px 9px;border-radius:20px;border:2px solid var(--line);background:var(--surface);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;cursor:pointer;box-shadow:var(--shadow-soft);color:var(--text);font:inherit}.topic-flashcard:hover,.topic-flashcard.is-selected{border-color:var(--brand);background:var(--brand-soft);transform:translateY(-2px)}.topic-flashcard:focus-visible{outline:4px solid var(--brand);outline-offset:3px}.topic-flashcard-icon{font-size:42px;line-height:1.1}.topic-flashcard-label{font-size:15px;font-weight:900;text-align:center}.topic-flashcard-text{min-height:110px}.topic-flashcard-number{font-size:clamp(30px,4vw,46px);font-weight:1000;line-height:1;color:var(--brand)}.topic-flashcard-swatch{width:64px;height:64px;border:4px solid rgba(255,255,255,.9);border-radius:19px;box-shadow:0 4px 13px rgba(20,40,45,.15)}.topic-lesson-footer{width:100%;max-width:650px;display:grid;justify-items:center;gap:10px;margin:10px auto}.topic-lesson-footer .topic-helper{margin:0}.choice-text-large .choice-label,.choice-number .choice-label{font-size:clamp(27px,5vw,42px);font-weight:1000;line-height:1}.choice-picture-large .choice-symbol{font-size:clamp(42px,7vw,60px)}.choice-colour-swatch .choice-symbol{width:58px;height:58px;border-radius:50%;background:var(--choice-color,var(--brand));color:transparent;border:5px solid rgba(255,255,255,.85);box-shadow:0 3px 11px rgba(0,0,0,.12)}.choice-colour-swatch .choice-label{font-size:16px}.game-choices{width:min(100%,620px);gap:14px}.choice-button{min-height:92px;border-radius:20px;padding:15px}.game-prompt{font-size:clamp(24px,3.5vw,34px);line-height:1.25}.game-visual{font-size:clamp(34px,7vw,58px);letter-spacing:4px;line-height:1.4}.listen-question-button{min-height:48px;padding:9px 16px;font-size:14px}.game-start-button{min-height:58px;min-width:190px;font-size:18px}.game-next-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.game-next-link:hover{text-decoration:none}.game-intro-copy>p{font-size:17px;line-height:1.55}.game-shell-header,.game-shell-footer{font-size:14px}.game-status,.exit-game-link{font-size:13px}.game-after-note{font-size:14px}
@media(max-width:900px){.curriculum-steps{grid-template-columns:1fr 1fr;gap:12px}.curriculum-arrow{display:none}.game-card-link .game-art{height:180px;flex-basis:180px}.topic-flashcard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.game-toolbar-large{gap:9px}.game-toolbar-large .filter-select{min-width:calc(50% - 5px);font-size:14px}.game-card-link .game-art{height:160px;flex-basis:160px}.game-card-link .game-art-icon{font-size:70px}.game-card-link .game-card-body{padding:13px}.game-card-link h3{font-size:17px}.game-card-link p{font-size:13px;min-height:70px}.game-card-meta{font-size:9px}.card-cta{font-size:14px}.pagination{gap:8px}.pagination-button{min-width:48px;min-height:48px;padding:8px 10px;font-size:13px}.pagination-info{font-size:12px}.curriculum-steps{grid-template-columns:1fr 1fr}.curriculum-steps>div:not(.curriculum-arrow){padding:15px 10px}.curriculum-steps span{font-size:34px}.topic-flashcard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.topic-flashcard{min-height:112px;border-radius:16px}.topic-flashcard-icon{font-size:38px}.topic-flashcard-label{font-size:14px}.topic-selected-card{min-height:145px}.game-stage{padding:20px 12px}.game-choices{gap:9px}.choice-button{min-height:82px;padding:10px}.choice-colour-swatch .choice-symbol{width:46px;height:46px}.game-intro{gap:14px}.game-intro-copy>p{font-size:15px}}
@media(max-width:390px){.game-card-link .game-art{height:142px;flex-basis:142px}.game-card-link .game-art-icon{font-size:60px}.game-card-link .game-card-body{padding:11px}.game-card-link h3{font-size:15px}.game-card-link p{font-size:12px}.curriculum-steps{grid-template-columns:1fr 1fr}.topic-flashcard{min-height:100px}}
.game-card[hidden]{display:none!important}

.paired-activity-banner{display:flex;align-items:center;gap:15px;padding:16px 18px;margin:4px auto 16px;border:1px solid var(--line);border-radius:18px;background:var(--surface-2)}.paired-activity-banner>span{font-size:34px}.paired-activity-banner>div{display:grid;gap:3px;flex:1}.paired-activity-banner strong{font-size:16px}.paired-activity-banner small{font-size:13px;color:var(--muted)}.paired-activity-banner .button{white-space:nowrap;min-height:46px}@media(max-width:520px){.paired-activity-banner{flex-wrap:wrap}.paired-activity-banner .button{width:100%}}

.topic-flashcard-initial{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:var(--brand-soft);color:var(--brand);font-size:25px;font-weight:1000;line-height:1}

/* Play Ceria 3.0: bold, child-first learning controls */
:root{--pc-coral:#ff786b;--pc-yellow:#ffd45c;--pc-sky:#73c9f5;--pc-lilac:#bca2ff;--pc-mint:#83d9b7;--pc-peach:#ffb78f}
.learning-card .game-art{background:linear-gradient(135deg,#fff0c5,#ffd9aa)}
.practice-card .game-art{background:linear-gradient(135deg,#dff5ff,#d8d1ff)}
.game-card-link .game-art{position:relative;overflow:hidden}
.game-card-link .game-art:before,.game-card-link .game-art:after{content:"";position:absolute;border-radius:50%;opacity:.22;pointer-events:none}
.game-card-link .game-art:before{width:135px;height:135px;background:#fff;right:-28px;top:-35px}
.game-card-link .game-art:after{width:88px;height:88px;background:#fff;left:-20px;bottom:-35px}
.game-card-link .game-art-icon{filter:drop-shadow(0 7px 3px rgba(60,60,90,.12));position:relative;z-index:1}
.game-card-link{border:2px solid rgba(255,255,255,.82);box-shadow:0 7px 0 rgba(77,94,125,.12),0 14px 28px rgba(45,64,91,.08)}
.game-card-link:hover,.game-card-link:focus-visible{transform:translateY(-6px) scale(1.01)}
.topic-selected-card{position:relative;border:3px solid #ffe08a;border-radius:28px;background:linear-gradient(135deg,#fff9e8,#fff);padding:22px;display:grid;grid-template-columns:minmax(100px,180px) 1fr;align-items:center;gap:15px;min-height:185px;box-shadow:0 10px 0 rgba(255,213,92,.17)}
.topic-selected-visual{display:grid;place-items:center;min-height:130px;border-radius:24px;background:linear-gradient(135deg,#dff5ff,#f1eaff);font-size:clamp(55px,8vw,88px)}
.topic-selected-title{font-size:clamp(24px,3vw,34px);margin:0 0 8px;font-weight:1000}
.topic-selected-detail{font-size:17px;line-height:1.65;color:var(--text);margin:10px 0}
.topic-listen-button{min-height:48px;border:0;border-radius:15px;padding:10px 18px;background:#fff0b5;color:#554113;font-size:16px;font-weight:950;cursor:pointer}
.topic-flashcard{min-height:145px;border:3px solid #fff;border-radius:22px;background:linear-gradient(145deg,#fff,#f7f4ff);box-shadow:0 5px 0 rgba(52,69,102,.11);cursor:pointer;transition:transform .15s,border-color .15s;}
.topic-flashcard:nth-child(4n+1){background:linear-gradient(145deg,#fff3ce,#fff)}.topic-flashcard:nth-child(4n+2){background:linear-gradient(145deg,#dff7ef,#fff)}.topic-flashcard:nth-child(4n+3){background:linear-gradient(145deg,#e1f2ff,#fff)}.topic-flashcard:nth-child(4n){background:linear-gradient(145deg,#f2e8ff,#fff)}
.topic-flashcard:hover,.topic-flashcard:focus-visible,.topic-flashcard.is-selected{transform:translateY(-4px);border-color:#ffcf58;outline:0}
.topic-flashcard-icon{font-size:clamp(46px,5vw,68px)}.topic-flashcard-label{font-size:clamp(16px,1.8vw,21px);font-weight:950}
.level-select-wrap{display:grid;gap:18px;margin:20px 0}.level-select-head{text-align:center}.level-select-head h2{font-size:clamp(26px,4vw,36px);margin:0 0 6px}.level-select-head p{color:var(--muted);font-size:16px}
.level-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.level-card{border:3px solid transparent;border-radius:24px;min-height:190px;padding:20px 14px;background:linear-gradient(145deg,#fff2bf,#ffe6a1);box-shadow:0 7px 0 rgba(135,98,38,.12);text-align:center;display:grid;align-content:center;justify-items:center;gap:9px;cursor:pointer;color:#493b22}.level-card:nth-child(2){background:linear-gradient(145deg,#dff5ff,#c7e9ff)}.level-card:nth-child(3){background:linear-gradient(145deg,#f1e3ff,#dec9ff)}.level-card:disabled{filter:grayscale(.55);opacity:.58;cursor:not-allowed}.level-card:not(:disabled):hover,.level-card:focus-visible{transform:translateY(-5px);border-color:#ffbc35;outline:0}.level-card strong{font-size:21px}.level-card small{font-size:14px;line-height:1.4}.level-card .level-medal{font-size:48px}
.level-grade-select{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:13px;border-radius:20px;background:#eff8ff}.level-grade-select select{min-height:48px;border:2px solid #9dcff1;border-radius:13px;background:#fff;padding:8px 14px;font-size:16px;font-weight:900;color:#23435a}
.studio-shell{display:grid;gap:16px}.studio-task{font-size:clamp(22px,3vw,32px);font-weight:1000;text-align:center;margin:4px 0}.studio-instruction{text-align:center;font-size:17px;color:var(--muted)}.studio-canvas-wrap{border:4px dashed #b9d9f2;border-radius:25px;background:linear-gradient(135deg,#fff,#f4f9ff);padding:12px;touch-action:none}.studio-canvas{display:block;width:100%;height:auto;aspect-ratio:900/360;touch-action:none;cursor:crosshair}.studio-toolbar{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.studio-toolbar button{min-height:50px;border:0;border-radius:15px;padding:10px 20px;font-size:16px;font-weight:950;cursor:pointer}.studio-palette{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.studio-swatch{width:54px;height:54px;border:4px solid white;border-radius:50%;box-shadow:0 3px 9px #0002;cursor:pointer}.studio-swatch[aria-pressed=true]{outline:4px solid #263c54;outline-offset:2px}
.colouring-picture{width:min(100%,720px);margin:0 auto;border-radius:25px;background:linear-gradient(135deg,#eff9ff,#fff4df);padding:14px;box-shadow:inset 0 0 0 3px #fff}.colour-region{cursor:pointer;stroke:#34445a;stroke-width:5;stroke-linejoin:round}.colour-region:focus{outline:none;stroke:#ff7d59;stroke-width:10}
.math-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.math-grade-card{border:3px solid #fff;border-radius:24px;padding:19px;background:linear-gradient(145deg,#fff1c8,#ffdbb3);box-shadow:0 7px 0 rgba(60,85,120,.1);display:grid;gap:9px}.math-grade-card:nth-child(3n+2){background:linear-gradient(145deg,#dff5ff,#c7e6ff)}.math-grade-card:nth-child(3n){background:linear-gradient(145deg,#e4f7e8,#c8efd8)}.math-grade-card h3{font-size:23px;margin:0}.math-grade-card p{font-size:15px;margin:0;line-height:1.45}.math-topic-chips{display:flex;flex-wrap:wrap;gap:7px}.math-topic-chips span{border-radius:100px;background:#ffffffbd;padding:6px 10px;font-size:12px;font-weight:850}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.story-card{border:3px solid #fff;border-radius:26px;background:#fff;overflow:hidden;box-shadow:0 7px 0 rgba(70,80,110,.1);cursor:pointer;text-align:left;color:var(--text);padding:0}.story-card-art{display:grid;place-items:center;min-height:175px;font-size:78px;background:linear-gradient(135deg,#fff0c6,#e2f5ff)}.story-card:nth-child(3n+2) .story-card-art{background:linear-gradient(135deg,#dff7eb,#e8e0ff)}.story-card-body{padding:18px}.story-card-body h3{font-size:21px;margin:0 0 8px}.story-viewer{max-width:900px;margin:0 auto;border:3px solid #fff;border-radius:28px;background:linear-gradient(145deg,#fff6dc,#e9f6ff);padding:clamp(18px,4vw,35px);box-shadow:0 8px 0 rgba(70,80,110,.1)}.story-scene-art{min-height:220px;display:grid;place-items:center;font-size:clamp(75px,14vw,130px);border-radius:24px;background:#ffffffa8}.story-scene-text{font-size:clamp(19px,2.2vw,25px);line-height:1.7;margin:18px 0}.story-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.story-controls button{min-height:50px;font-size:16px}
@media(max-width:800px){.math-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topic-selected-card{grid-template-columns:1fr}.topic-selected-visual{min-height:110px}.level-cards{grid-template-columns:1fr}}
@media(max-width:520px){.math-hub-grid,.story-grid{grid-template-columns:1fr}.math-grade-card{padding:16px}.story-card-art{min-height:140px}.studio-task{font-size:23px}.studio-swatch{width:46px;height:46px}}

/* Play Ceria 3.0: multi-stage progression and expanded creative hubs */
.path-selector{max-width:1050px;margin:0 auto;padding:clamp(14px,3vw,28px);text-align:center;display:grid;gap:14px}
.path-selector-title{font-size:clamp(28px,4vw,42px);font-weight:1000;margin:0;color:var(--text)}
.path-selector-intro{max-width:760px;margin:0 auto;color:var(--muted);font-size:clamp(16px,2vw,20px);line-height:1.55}
.path-level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;text-align:left;margin:8px 0}
.path-level-card{border:3px solid #fff;border-radius:26px;padding:18px;background:linear-gradient(145deg,#fff0ba,#ffe0a4);box-shadow:0 7px 0 rgba(68,75,105,.11);display:grid;gap:12px;min-width:0}
.path-level-card.level-2{background:linear-gradient(145deg,#dff5ff,#c9e8ff)}.path-level-card.level-3{background:linear-gradient(145deg,#f0e5ff,#dfd0ff)}
.path-level-heading{display:flex;align-items:center;gap:10px}.path-level-emoji{font-size:42px}.path-level-copy{display:grid;gap:3px}.path-level-copy strong{font-size:clamp(17px,2vw,22px);font-weight:1000}.path-level-copy small{font-size:13px;line-height:1.4;color:#45566a}
.path-level-card.is-locked{filter:saturate(.5);opacity:.72}.path-stage-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.path-stage-chip{min-height:54px;border:2px solid #ffffff;border-radius:15px;background:#fff;color:#29445a;font-size:22px;font-weight:1000;box-shadow:0 3px 0 #0001;cursor:pointer}.path-stage-chip.is-selected{background:#fff2a8;border-color:#ffad33;transform:translateY(-2px)}.path-stage-chip.is-complete:after{content:' ✓';color:#168453;font-size:14px}.path-stage-chip:disabled{opacity:.4;cursor:not-allowed}.path-lock-note{font-size:12px;color:#566273}.path-start-row{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}.path-progress-copy{font-size:15px;font-weight:850;color:var(--muted);margin:0}.stage-complete-panel{max-width:760px;margin:0 auto;padding:clamp(20px,4vw,40px);border:3px solid #fff;border-radius:30px;background:linear-gradient(145deg,#fff2bc,#e6f7ff);text-align:center;box-shadow:0 9px 0 rgba(70,80,110,.1);display:grid;justify-items:center;gap:12px}.stage-complete-panel h2{font-size:clamp(28px,4vw,40px);margin:0}.stage-complete-panel .result-score{font-size:clamp(42px,7vw,64px)}
.trace-board{position:relative;width:min(100%,900px);margin:0 auto;aspect-ratio:900/420;border:4px dashed #acd4ef;border-radius:24px;background:linear-gradient(135deg,#fffdf5,#eef8ff);overflow:hidden;touch-action:none}.trace-guide,.trace-board .studio-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.trace-guide{pointer-events:none}.trace-guide-path{fill:none;stroke:#8bbbdc;stroke-width:13;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:4 25}.trace-ghost-letter{font-size:310px;font-weight:1000;fill:#d3dfed;stroke:#fff;stroke-width:4;stroke-dasharray:6 8;paint-order:stroke;text-anchor:middle;pointer-events:none}.trace-board .studio-canvas{touch-action:none;cursor:crosshair;z-index:2}
.colouring-picture{width:min(100%,900px);margin:0 auto;border-radius:26px;background:linear-gradient(135deg,#f3fbff,#fff6df);padding:14px;box-shadow:inset 0 0 0 3px #fff}.colouring-picture-svg{display:block;width:100%;height:auto;min-height:240px}.colour-region{cursor:pointer;stroke:#31455e;stroke-width:7;stroke-linejoin:round;stroke-linecap:round;transition:fill .12s}.colour-region:hover,.colour-region:focus{stroke:#ff8c42;stroke-width:11;outline:none}.studio-task{font-size:clamp(22px,3.4vw,34px);font-weight:1000;text-align:center;margin:5px 0}.studio-instruction{font-size:clamp(15px,2vw,19px);text-align:center;color:var(--muted);line-height:1.5}.studio-swatch{width:55px;height:55px;border:4px solid white;border-radius:50%;box-shadow:0 3px 10px #2235;cursor:pointer}.studio-swatch[aria-pressed=true]{outline:4px solid #29445a;outline-offset:3px;transform:scale(1.06)}.studio-toolbar button{min-height:54px;font-size:17px;font-weight:950}
.hub-main{min-height:60vh}.hub-hero{padding:clamp(35px,7vw,82px) 0;background:linear-gradient(120deg,#fff0bd,#e3f6ff 55%,#ede5ff)}.story-hero{background:linear-gradient(120deg,#ffe5c7,#e5f6ff 55%,#f1e5ff)}.maths-hero{background:linear-gradient(120deg,#fff0bc,#e3f4ff 55%,#e5f6dd)}.hub-hero-inner{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:28px}.hub-hero h1{font-size:clamp(34px,5.5vw,62px);line-height:1.06;margin:12px 0;font-weight:1000}.hub-hero p{font-size:clamp(17px,2vw,21px);max-width:720px;line-height:1.6;color:#42536a}.hub-hero-art{font-size:clamp(72px,11vw,132px);display:grid;place-items:center;min-height:180px;filter:drop-shadow(0 10px 8px #48608020)}.math-grade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.math-grade-card{transition:transform .16s,box-shadow .16s}.math-grade-card:hover,.math-grade-card:focus-visible{transform:translateY(-5px);box-shadow:0 10px 0 rgba(60,85,120,.1);outline:4px solid #ffd45c}.math-grade-card.is-selected{border-color:#ffb83f}.math-grade-emoji{font-size:42px}.math-grade-card small{font-size:13px;font-weight:800;color:#5b6472}.math-topic-chips span{font-size:12px}.grade-detail-section{background:#f5f9ff}.grade-detail-card{border:3px solid #fff;border-radius:28px;background:linear-gradient(140deg,#fff,#f5faff);padding:clamp(18px,4vw,32px);box-shadow:0 8px 0 #0000000a}.grade-detail-card h2{font-size:clamp(27px,4vw,38px);margin:8px 0}.grade-detail-card>p{line-height:1.65;color:var(--muted)}.grade-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 30px}.grade-topic-item{display:flex;align-items:center;gap:12px;border:2px solid #fff;background:#eaf6ff;border-radius:16px;padding:12px;font-size:15px}.grade-topic-item span{font-size:27px}.grade-topic-item strong{font-size:15px}.math-activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.math-activity-card{display:flex;align-items:center;gap:14px;background:#fff;border:2px solid #e8eef6;border-radius:18px;padding:14px;color:var(--text);text-decoration:none;transition:transform .15s,border-color .15s}.math-activity-card:hover{transform:translateY(-3px);border-color:#ffc34d}.math-activity-icon{font-size:42px}.math-activity-card span:last-child{display:grid;gap:5px}.math-activity-card strong{font-size:17px}.math-activity-card small{font-size:13px;color:var(--muted);line-height:1.4}.math-activity-card em{font-size:13px;font-weight:900;font-style:normal;color:#225f91}.curriculum-note{border-radius:15px;background:#fff6d9;padding:15px 18px;line-height:1.6;color:#5b4b2d}
.story-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.story-card{display:grid;grid-template-rows:1fr auto;transition:transform .16s,box-shadow .16s}.story-card:hover,.story-card:focus-visible{transform:translateY(-5px);box-shadow:0 12px 0 #0001;outline:4px solid #ffcf62}.story-card-art{font-size:clamp(68px,8vw,100px);min-height:185px}.story-card-body{display:grid;gap:8px}.story-card-body strong{font-size:20px}.story-card-body small{font-size:13px;color:var(--muted)}.story-card-body em{font-style:normal;font-size:14px;font-weight:950;color:#176799}.story-viewer{margin:30px auto 0;display:grid;gap:14px}.story-viewer-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.story-viewer h2{font-size:clamp(27px,4vw,38px);margin:6px 0}.story-viewer h3{font-size:clamp(21px,3vw,29px);margin:0}.story-scene-art{min-height:250px;display:grid;place-items:center;font-size:clamp(100px,17vw,160px);border-radius:25px;background:linear-gradient(135deg,#dff4ff,#fff1cb)}.story-scene-text{font-size:clamp(19px,2.5vw,26px);line-height:1.75;color:#27384e;margin:4px 0 14px}.story-controls>div{display:flex;gap:9px;flex-wrap:wrap}.story-end-note{padding:14px;border-radius:17px;background:#fff1c7;font-size:17px;line-height:1.5}
@media(max-width:850px){.path-level-grid,.math-grade-grid,.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-hero-inner{grid-template-columns:1fr}.hub-hero-art{min-height:100px}.math-activity-grid{grid-template-columns:1fr}}
@media(max-width:600px){.path-level-grid,.math-grade-grid,.story-grid,.grade-topic-grid{grid-template-columns:1fr}.path-level-card{padding:15px}.path-start-row{display:grid}.path-start-row .button{width:100%}.grade-detail-card{padding:17px}.math-activity-card{align-items:flex-start}.story-scene-art{min-height:190px}.story-controls{display:grid;grid-template-columns:1fr 1fr}.story-controls>div{grid-column:1/-1;grid-row:1;justify-content:center}.story-controls button{width:100%}.story-viewer-top{align-items:flex-start}.hub-hero h1{font-size:36px}}

/* Storybook illustration and inclusive touch targets */
.story-scene-art{min-height:0;padding:10px;background:linear-gradient(135deg,#e2f5ff,#fff1cb);overflow:hidden}
.story-svg-art{display:block;width:100%;height:auto;max-height:390px;border-radius:20px}
.story-controls button,.story-viewer-top button{min-height:54px;padding:13px 18px;font-size:16px;font-weight:900;touch-action:manipulation}
.story-card{min-height:280px;cursor:pointer;touch-action:manipulation}
.story-card:focus-visible,.story-controls button:focus-visible{outline:4px solid #ffbc42;outline-offset:3px}
@media(max-width:600px){.story-svg-art{max-height:280px}.story-scene-art{padding:6px}.story-scene-text{font-size:19px}.story-card{min-height:235px}}

/* Play Ceria 3.1: colourful age pathways and larger touch targets */
.age-pathways{padding-top:26px;padding-bottom:34px}
.age-track-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}
.age-track-card{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:15px;min-height:164px;padding:22px;border:3px solid #fff;border-radius:28px;text-decoration:none;color:#243348;box-shadow:0 8px 0 rgba(46,68,99,.12),0 16px 30px rgba(46,68,99,.08);transition:transform .16s ease,box-shadow .16s ease}
.age-track-card:before{content:"";position:absolute;z-index:-1;width:190px;height:190px;border-radius:50%;right:-70px;top:-92px;background:#ffffff80}
.age-track-card:hover,.age-track-card:focus-visible{transform:translateY(-5px);box-shadow:0 12px 0 rgba(46,68,99,.12),0 20px 34px rgba(46,68,99,.12);outline:4px solid #fff;outline-offset:3px}
.age-track-little{background:linear-gradient(135deg,#ffe7a8 0%,#ffc9c9 100%)}
.age-track-primary{background:linear-gradient(135deg,#c8efff 0%,#cfc9ff 100%)}
.age-track-teen{background:linear-gradient(135deg,#d8d0ff 0%,#bcefe7 100%)}
.age-track-art{display:grid;place-items:center;width:104px;min-height:104px;padding:8px;border-radius:24px;background:#ffffffa8;font-size:clamp(35px,4vw,50px);line-height:1.25;letter-spacing:-7px;text-align:center}
.age-track-copy{display:grid;gap:7px;min-width:0}
.age-track-copy strong{font-size:clamp(19px,2vw,24px);font-weight:1000;line-height:1.1}
.age-track-copy small{font-size:14px;line-height:1.45;color:#37475b}
.age-track-copy em{font-size:14px;font-style:normal;font-weight:1000;color:#243348}
.path-load-note{display:inline-flex;justify-self:center;align-items:center;min-height:38px;padding:8px 14px;border-radius:99px;background:#fff2c9;color:#624b17;font-size:14px;font-weight:900}
.path-level-card{min-height:210px}
.path-stage-chip{min-height:58px;font-size:24px}
.game-choices .choice-button{min-height:90px;padding:16px;border-radius:21px}
.game-choices .choice-label{font-size:clamp(23px,3.2vw,34px);font-weight:1000;line-height:1.15}
.choice-text-large .choice-label{font-size:clamp(27px,3.8vw,42px)}
.topic-flashcard{min-height:165px;padding:17px}
.topic-flashcard-label{font-size:clamp(18px,2vw,23px)}
.topic-flashcard-number{font-size:clamp(36px,5vw,54px);font-weight:1000;line-height:1.05}
.topic-flashcard-text{display:grid;place-items:center;gap:8px}
.topic-flashcard-text .topic-flashcard-label{font-size:clamp(20px,2.5vw,28px)}
.topic-flashcard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:15px}
.topic-lesson-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px;padding:16px;border-radius:22px;background:linear-gradient(135deg,#fff3ca,#e6f6ff)}
.topic-lesson-footer .topic-helper{flex:1 1 260px;margin:0;font-size:15px}
.story-svg-art{display:block;width:100%;height:auto;max-height:440px;border-radius:22px;overflow:hidden;background:linear-gradient(145deg,#c9efff,#fff0c4)}
.story-svg-art text{font-family:system-ui,sans-serif}
.story-scene-text{font-size:clamp(20px,2.4vw,27px);line-height:1.7;font-weight:650}
@media(max-width:900px){.age-track-grid{grid-template-columns:1fr}.age-track-card{min-height:135px}.age-track-art{width:88px;min-height:88px;font-size:39px}}
@media(max-width:520px){.age-track-card{grid-template-columns:78px 1fr;gap:12px;padding:15px;border-radius:22px}.age-track-art{width:76px;min-height:76px;padding:4px;font-size:32px;letter-spacing:-5px;border-radius:18px}.age-track-copy strong{font-size:19px}.age-track-copy small{font-size:13px}.game-choices .choice-button{min-height:80px}.topic-flashcard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.topic-flashcard{min-height:135px;padding:12px}}
@media(prefers-reduced-motion:reduce){.age-track-card,.game-card-link{transition:none}.age-track-card:hover,.game-card-link:hover{transform:none}}

.story-card-body strong{display:block;font-size:clamp(19px,2vw,23px);font-weight:1000;line-height:1.2;margin-bottom:8px}.story-card-body small{display:block;font-size:14px;color:var(--muted);margin:6px 0 12px}.story-card-body em{font-style:normal;font-size:14px;font-weight:950;color:var(--brand)}
[hidden]{display:none!important}
