/* Buulan Stage 4B. Existing forest/ivory palette, app surfaces only. */
:root{font-family:"Segoe UI",system-ui,sans-serif;color:#183e35;background:#f6f5ee;font-size:16px;line-height:1.5;--ink:#183e35;--muted:#5e7069;--paper:#f6f5ee;--line:#dce3d8;--lime:#d9edb3;--white:#fffefa;--shadow:0 14px 40px #183e3508;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a.action,.primary{min-height:46px;border:1px solid var(--line);border-radius:14px;padding:11px 18px;background:var(--white);color:var(--ink);font-weight:650;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.35}button:hover,a.action:hover{background:#edf3e5;border-color:#9aaf97}button:disabled{opacity:.6;cursor:not-allowed}.primary,button[type=submit]{background:var(--ink);color:white;border-color:var(--ink)}.primary:hover,button[type=submit]:hover{background:#285748}.quiet{background:transparent;border-color:transparent}a{color:var(--ink);text-underline-offset:4px}a:hover{text-decoration-thickness:2px}:focus-visible{outline:3px solid #8b570d;outline-offset:4px}h1,h2,h3,h4,p{overflow-wrap:anywhere}h1,h2,h3{font-family:"Trebuchet MS","Segoe UI",sans-serif;line-height:1.12}h1{font-size:clamp(2.2rem,4.5vw,3.8rem);letter-spacing:-.045em;margin:10px 0 18px;font-weight:700}h2{font-size:1.7rem;letter-spacing:-.025em;margin:8px 0 16px}h3{font-size:1.2rem;margin:12px 0}h4{font-size:1.1rem;margin:0 0 8px}p{line-height:1.65}.lead{font-size:1.08rem;color:var(--muted);max-width:620px}.eyebrow{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;font-weight:750;color:#5b7162;margin:0 0 12px}.small,.muted{color:var(--muted);font-size:.9rem}[hidden]{display:none!important}.skip-link{position:fixed;left:12px;top:-100px;z-index:100;background:white;padding:12px}.skip-link:focus{top:12px}.app-header{display:flex;align-items:center;justify-content:space-between;padding:22px max(24px,5vw);border-bottom:1px solid var(--line);gap:16px;min-height:90px}.wordmark{font-size:30px;font-weight:800;letter-spacing:-1.5px;line-height:1}.wordmark span{display:block;font-size:10px;font-weight:500;letter-spacing:.08em;margin-top:8px}.app-header nav{display:flex;align-items:center;gap:22px}.app-header a{font-size:.9rem;font-weight:650;min-height:44px;display:inline-flex;align-items:center;gap:10px}.family-page main{max-width:1200px;margin:0 auto;padding:52px 32px 28px}.family-heading{text-align:center}.family-heading .lead{margin:0 auto}.welcome{display:grid;grid-template-columns:1.2fr 1fr;gap:55px;align-items:center;padding:34px 0 58px}.welcome h1{font-size:clamp(2.7rem,5.5vw,4.6rem)}.welcome .lead{max-width:510px}.google-link{margin:22px 0 8px}.google-link span:first-child{background:white;color:var(--ink);width:26px;height:26px;display:grid;place-items:center;border-radius:50%}.welcome-art{height:400px;background:#e5ecdb;border-radius:48% 48% 36px 36px;position:relative;overflow:hidden}.welcome-art p{position:absolute;bottom:30px;left:35px;font-family:"Trebuchet MS",sans-serif;font-size:1.65rem;font-weight:700;line-height:1.2}.orb{position:absolute;border:1px solid #183e351a;display:grid;place-items:center;border-radius:50%}.orb-one{width:180px;height:180px;background:#d4e8b0;left:20px;top:36px;font-size:65px;transform:rotate(-15deg)}.orb-two{width:160px;height:160px;background:#f8f4dc;right:12px;top:95px;font-size:90px}.orb-three{width:70px;height:70px;background:#e5e2f1;right:65px;top:12px;font-size:38px}#children{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:42px 0}#children button{flex-direction:column;min-height:190px;justify-content:flex-start;padding:25px 12px 20px;border-radius:24px;box-shadow:var(--shadow);font-size:1rem;position:relative;transition:transform .16s,border-color .16s}#children button:hover{transform:translateY(-4px)}.profile-symbol{display:grid;place-items:center;width:76px;height:76px;border-radius:27px;background:#e3edcb;margin-bottom:12px;font-size:38px;color:#3a5943;flex-shrink:0}.profile-symbol svg{width:40px;height:40px}#children button:nth-child(2) .profile-symbol{background:#f3e4c5;color:#805e25}#children button:nth-child(3) .profile-symbol{background:#e1ddec;color:#625579}#children button:nth-child(4) .profile-symbol{background:#d8e9e8;color:#376567}#children button:nth-child(5) .profile-symbol{background:#f2ded4;color:#8a523e}#children [aria-pressed=true]{border:2px solid #50744c;background:#f0f5e6}.profile-hint{font-size:.72rem;font-weight:500;color:var(--muted)}.family-page:has(#library:not([hidden])) .family-heading{text-align:left}.family-page:has(#library:not([hidden])) .family-heading .lead{margin:0}.family-page:has(#library:not([hidden])) #children{display:none}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:28px}.section-heading h2{margin-bottom:0}.section-heading label{margin:0}#library-note{margin-bottom:5px}#games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0}.game-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:0;overflow:hidden;border-radius:24px;box-shadow:var(--shadow);min-height:290px;justify-content:flex-start;transition:transform .16s}.game-card:hover{transform:translateY(-3px)}.game-art{height:136px;display:flex;align-items:center;justify-content:space-between;padding:25px 28px;background:#dce9cb;overflow:hidden;position:relative;color:#355b40}.game-art::after{content:"";width:145px;height:145px;position:absolute;right:-22px;top:25px;border:1px solid currentColor;border-radius:50%;opacity:.17}.game-art .subject-mark{font-size:54px;line-height:1}.game-art .darjah{font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;font-weight:750;align-self:flex-start}.game-card[data-subject="English"] .game-art{background:#e7e1f0;color:#62567e}.game-card[data-subject="Mathematics"] .game-art{background:#dae9ed;color:#406d78}.game-body{display:flex;flex-direction:column;gap:7px;padding:21px 24px;flex:1}.game-body small{color:var(--muted);font-size:.75rem;font-weight:550}.game-body strong{font-family:"Trebuchet MS",sans-serif;font-size:1.65rem;letter-spacing:-.025em;line-height:1.2}.game-cta{display:flex;justify-content:space-between;margin-top:14px;font-size:.9rem}.family-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);padding:20px 0;color:var(--muted);font-size:.8rem}.empty-card{padding:28px;background:white;border:1px dashed #a6b6a0;border-radius:22px}.empty-card a{display:block;margin-top:12px}.notice:not(:empty){background:#fff1d9;border:1px solid #e5cc9d;color:#704813;border-radius:14px;padding:14px 18px}.notice:empty,[role=status]:empty{display:none}.arrival{padding:25px;border:1px dashed var(--line);border-radius:18px;color:var(--muted)}.save-status{font-size:.8rem;color:#4b6658;line-height:1.4}.save-status[data-state=confirmed]::before{content:"✓ ";color:#2a664c}.save-status[data-state=pending]{color:#80581b}.save-status[data-state=attention]{color:#963d2e}
/* Compact, stable gameplay shell: no game styling crosses the iframe. */
#play{position:fixed;inset:0;background:white;z-index:5;display:flex;flex-direction:column}#play nav{display:flex;align-items:center;gap:10px;padding:4px max(10px,env(safe-area-inset-right)) 4px max(10px,env(safe-area-inset-left));min-height:54px;background:var(--paper);flex-shrink:0;border-bottom:1px solid var(--line)}#play nav button{padding:7px 12px;white-space:nowrap;min-height:44px}#playing{font-size:.85rem;font-weight:650;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#save-label{margin-left:auto;max-width:220px}#frame-slot{flex:1;min-height:0}#frame-slot iframe{width:100%;height:100%;border:0;display:block}body:has(#play:not([hidden])){overflow:hidden}
/* Recovery is a keyboard-contained dialog, not a debug console. */
#diagnostics{position:fixed;inset:16px 16px 16px auto;width:min(580px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;background:var(--white);padding:26px;z-index:20;border:1px solid var(--line);box-shadow:0 0 0 100vmax #132b256b,0 20px 70px #102c2633;border-radius:24px}.dialog-heading{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}.dialog-heading h2{font-size:1.6rem}.dialog-heading button{flex-shrink:0;padding:9px;font-size:.8rem}.recovery-section{padding:20px 0;border-top:1px solid var(--line)}.actions{display:flex;gap:10px;flex-wrap:wrap}.recovery-section button{margin:5px 5px 5px 0}.recovery-section summary{cursor:pointer;font-weight:700;min-height:44px;padding:9px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}#recoveries p,#cloud-recoveries section{padding:18px;background:#f1f4ec;border-radius:16px}body:has(#diagnostics:not([hidden])){overflow:hidden}
/* Parent navigation: a calm six-section workspace. */
.parent-page main{max-width:1280px;margin:auto;padding:38px 32px 60px;display:grid;grid-template-columns:205px minmax(0,1fr);column-gap:38px;align-items:start}.parent-page main> :not(#dashboard-nav){grid-column:2}.parent-heading h1{font-size:clamp(2rem,3.5vw,3rem)}.parent-heading .lead{margin:0 0 20px}.test-banner{font-size:.78rem;border:1px solid #d8dfca;background:#edf1e3;padding:11px 15px;border-radius:12px;margin:0 0 20px;color:#526144}.test-banner strong{margin-right:8px}.parent-page #dashboard-nav{grid-column:1;grid-row:1 / span 15;display:flex;flex-direction:column;gap:7px;position:sticky;top:24px;padding-top:5px}.parent-page #dashboard-nav a{padding:13px 16px;border-radius:12px;min-height:46px;text-decoration:none;font-size:.88rem;font-weight:600;display:flex;align-items:center;gap:10px}.parent-page #dashboard-nav a::before{content:"·";font-size:24px;line-height:1}.parent-page #dashboard-nav a[aria-current=page]{background:var(--ink);color:white}.parent-page #dashboard-nav a:hover{background:#e6eddb}.parent-page #dashboard-nav a[aria-current=page]:hover{background:#285748}.panel,.review{background:var(--white);border:1px solid var(--line);border-radius:24px;padding:28px;margin:0 0 22px;box-shadow:var(--shadow);min-width:0}.parent-page .panel h2{font-size:1.5rem}.parent-page[data-view] #dashboard>section,.parent-page[data-view] #account,.parent-page[data-view] #help{display:none}.parent-page[data-view=overview] #dashboard>#overview,.parent-page[data-view=access] #dashboard>#access,.parent-page[data-view=children-panel] #dashboard>#children-panel,.parent-page[data-view=progress-panel] #dashboard>#progress-panel,.parent-page[data-view=purchases] #account,.parent-page[data-view=help] #help{display:block}#overview{background:var(--ink);color:white;position:relative;overflow:hidden}#overview>p{color:#cbdcc9}#overview-data{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:26px 0}#overview-data p{margin:0;padding:20px;border:1px solid #ffffff30;border-radius:16px;color:#e3ebdc;font-size:.87rem}#overview-data p:first-child{grid-column:1/-1;font-size:1.5rem;font-weight:650;border:0;padding:0 0 8px;color:white}.overview-links{display:flex;gap:10px;flex-wrap:wrap}.overview-links a{background:#d9edb3;border-color:#d9edb3;color:var(--ink);font-size:.85rem}.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:16px;margin:20px 0}.product,.order{padding:22px;border:1px solid var(--line);border-radius:18px;background:white;overflow-wrap:anywhere;min-width:0}.product h3,.order h3{margin-top:0}.product p,.order p{font-size:.88rem;color:var(--muted)}.product button,.order button{margin:8px 6px 0 0;font-size:.85rem}.product a.action{font-size:.85rem;margin-top:8px}.order{margin:14px 0}.bundle{background:#eef4e2;border:1px solid #9fb98b}.bundle::before{content:"THE FULL ADVENTURE";font-size:.65rem;letter-spacing:.14em;color:#4c6b3c;font-weight:750}.price{font-size:2.1rem!important;font-weight:750;color:var(--ink)!important;letter-spacing:-.05em;margin:12px 0!important}.profile-form{padding:24px;background:#f1f4ea;border-radius:18px;margin-top:24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.profile-form>h3,.profile-form>p{grid-column:1/-1;margin:0}.profile-form>label:first-of-type{grid-column:1/-1}.profile-form input,.profile-form select{width:100%}label{display:block;font-size:.85rem;font-weight:600;margin:12px 0}input,select{display:block;padding:12px;border:1px solid #aab9a6;border-radius:12px;background:white;color:var(--ink);max-width:100%;min-height:46px;margin-top:7px}#child-cards .product{border-top:4px solid #c4d8ac}#child-cards h3{font-size:1.05rem}#progress-data .product{border-top:4px solid #c5dbd8}#catalog>section{display:none}#catalog>section[data-grade-active=true]{display:block}#catalog .products{grid-template-columns:repeat(3,minmax(0,1fr))}#catalog .bundle{grid-column:1/-1}#catalog h2{font-size:1.1rem}#help p{max-width:70ch}#support-contact{padding:18px;background:#eef3e5;border-radius:16px}.order details{font-size:.8rem;border-top:1px solid var(--line);padding-top:10px;margin-top:14px}.order summary{min-height:44px;cursor:pointer;padding:10px 0}.order details p{font-size:.78rem}.review{border:2px solid #718b58}.review h2:focus{outline:none}#review:focus{outline:3px solid #8b570d;outline-offset:3px}
@media(max-width:1000px){.parent-page main{grid-template-columns:170px minmax(0,1fr);gap:22px;padding:28px 22px}.parent-page #dashboard-nav a{padding:12px;font-size:.8rem}#children{gap:12px}#children button{padding:20px 9px;min-height:170px}.profile-symbol{width:62px;height:62px;border-radius:22px}#games{gap:14px}.game-body{padding:20px}#catalog .products{grid-template-columns:1fr}.welcome{gap:28px}}
@media(max-width:760px){.app-header{padding:20px 22px}.app-header nav{gap:8px}.family-page main{padding:34px 22px 20px}#children{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:30px 0}#games{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome{grid-template-columns:1fr;padding:10px 0 25px}.welcome-art{display:none}.family-footer{align-items:flex-start}.parent-page main{display:block;padding:28px 20px}.parent-page #dashboard-nav{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 22px;padding:0}.parent-page #dashboard-nav a{justify-content:center;text-align:center;background:#e9eee1;line-height:1.2;font-size:.77rem;padding:10px 6px}.parent-page #dashboard-nav a::before{display:none}.panel,.review{padding:22px}.parent-heading .lead{font-size:1rem}#overview-data{grid-template-columns:1fr}#overview-data p:first-child{font-size:1.3rem}.dialog-heading{flex-wrap:wrap}.dialog-heading button{margin-left:auto}.section-heading{gap:12px}#play nav{flex-wrap:wrap;gap:4px 8px}#playing{flex:1}#save-label{order:4;flex-basis:100%;max-width:none;margin:0 4px;padding-bottom:3px;font-size:.73rem}#play-dev{font-size:.75rem}}
@media(max-width:480px){.wordmark{font-size:27px}.wordmark span{font-size:8px}.app-header{padding:18px 16px}.app-header nav{gap:0}.app-header a{font-size:.78rem}.app-header button{font-size:.75rem;padding:10px}.family-page main{padding:30px 18px 18px}h1{font-size:2.3rem}.family-heading .lead{font-size:.95rem}#children{grid-template-columns:repeat(2,minmax(0,1fr))}#children button{min-height:170px;padding:21px 10px}#children button:last-child{grid-column:1/-1;max-width:calc(50% - 6px);width:100%;justify-self:center}#games{grid-template-columns:1fr;gap:18px}.game-card{min-height:260px}.game-art{height:115px}.game-body strong{font-size:1.7rem}.section-heading h2{font-size:1.5rem}.section-heading button{font-size:.8rem;padding:10px}.family-footer{font-size:.75rem}.family-footer span{max-width:180px}.family-footer button{font-size:.8rem;padding:8px}.profile-form{grid-template-columns:1fr;padding:18px}.profile-form>*{grid-column:1!important}#diagnostics{inset:8px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:22px}.parent-page main{padding:25px 16px}.panel,.review{padding:20px}.test-banner strong{display:block}.parent-page #dashboard-nav a{font-size:.72rem}.section-heading{flex-wrap:wrap}.section-heading label{width:100%}.section-heading select{width:100%}}
@media(max-height:450px) and (orientation:landscape){#play nav{flex-wrap:nowrap;padding:2px 8px;min-height:48px}#save-label{order:0;flex-basis:auto;margin-left:auto;max-width:190px;font-size:.7rem;padding:0}#playing{max-width:28vw}#play nav button{min-height:44px;font-size:.75rem;padding:7px 10px}#diagnostics{inset:6px 6px 6px auto;max-height:calc(100dvh - 12px)}.family-page main{padding-top:24px}.family-heading h1{font-size:2rem}#children button{min-height:140px}.profile-symbol{height:50px;width:50px;margin:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.parent-page:not([data-view=purchases]) #review{display:none}

/* First owner checkpoint: restrained foundation retained below. */
.eyebrow{letter-spacing:.1em;color:#65756b}.family-heading h1{font-size:clamp(2.2rem,4vw,3.3rem)}
#children button{min-height:165px;border-radius:18px;box-shadow:none;padding:25px 14px;gap:9px}
#children button:hover,.game-card:hover{transform:none}.profile-hint{display:none}
.profile-symbol,#children button:nth-child(n) .profile-symbol{width:60px;height:60px;border-radius:20px;background:#e8ecdf;color:#45604c;margin-bottom:4px}
.profile-symbol svg{width:32px;height:32px}#children button:nth-child(2) .profile-symbol{background:#eeeadd}#children button:nth-child(3) .profile-symbol{background:#e5e9e3}#children button:nth-child(4) .profile-symbol{background:#e3eae7}#children button:nth-child(5) .profile-symbol{background:#ede7e0}
.game-card{border-radius:18px;box-shadow:none;min-height:245px}.game-art{height:100px;background:#e8eddf;color:#52674e;padding:20px 24px}.game-art::after{display:none}.game-art .subject-mark{font-size:36px}.game-card[data-subject="English"] .game-art{background:#ece9ef;color:#6c6279}.game-card[data-subject="Mathematics"] .game-art{background:#e5edef;color:#4e6a70}.game-body strong{font-size:1.5rem}.game-body{padding:20px 24px}.game-cta{margin-top:12px}
#overview{background:var(--white);color:var(--ink);border-top:3px solid #a5b58d}#overview>p{color:var(--muted)}#overview-data p{border:1px solid var(--line);color:var(--muted);background:#f6f7f0}#overview-data p:first-child{color:var(--ink);background:none}.overview-links a{background:#edf2e5;border-color:#dae2cf}.panel,.review{box-shadow:none;border-radius:20px}.bundle::before{content:none}.welcome-art{height:330px;background:#edf0e6;border-radius:32px}.orb-three{display:none}.orb-one{width:130px;height:130px;background:#e0e8d1;font-size:44px}.orb-two{width:115px;height:115px;background:#f3efdf;font-size:62px;right:35px;top:65px}.welcome-art p{font-size:1.3rem}.parent-heading h1{font-size:clamp(2rem,3.5vw,2.7rem)}
@media(max-width:480px){#children button{min-height:150px}.game-card{min-height:235px}.game-art{height:90px}.game-body strong{font-size:1.55rem}}
/* Revision 2: original Buulan block-play language. Decorative tiles are not gameplay. */
:root{--paper:#f3f3ec;--line:#cbd6c9;--shadow:0 5px 0 #d5ded0}
body{background:var(--paper)}
.app-header{background:#fffefa;border-bottom:2px solid #d3ddcf}
button,a.action,.primary,input,select{border-radius:8px}
button:not(.quiet):not(.game-card),a.action{box-shadow:0 3px 0 #c7d2c3}
.primary,button[type=submit]{box-shadow:0 4px 0 #102b23}
.family-page main{background-image:radial-gradient(#5473481c 1px,transparent 1px);background-size:22px 22px}
.family-heading .eyebrow{display:inline-block;padding:6px 12px;background:#e1ebce;border:1px solid #cad8b7;border-radius:5px;color:#34513a}
.family-heading h1{font-weight:800;letter-spacing:-.04em}
#children{gap:18px}
#children button{border:2px solid #c9d6c2;border-radius:12px;min-height:210px;box-shadow:0 6px 0 #d1ddc9;background:#fffefa;padding:24px 12px;gap:12px}
#children button:hover{border-color:#456c3e;background:#f5f9ed;transform:translateY(-2px)}
.profile-symbol,#children button:nth-child(n) .profile-symbol{width:82px;height:82px;border-radius:12px;border:2px solid #ffffffb3;box-shadow:inset 0 -7px 0 #183e3514,5px 5px 0 #183e3510;background:#d6e7ae;color:#3a5935;margin-bottom:2px}
.profile-symbol svg{width:42px;height:42px}#children button:nth-child(2) .profile-symbol{background:#f0dca9;color:#7b5826}#children button:nth-child(3) .profile-symbol{background:#ddd5ed;color:#66517e}#children button:nth-child(4) .profile-symbol{background:#bcded9;color:#356763}#children button:nth-child(5) .profile-symbol{background:#ebc8b6;color:#85513a}
.profile-hint{display:block;font-size:.72rem;color:#52694f}
.game-card{border:2px solid #c7d4c0;border-radius:12px;box-shadow:0 6px 0 #d1ddc9;min-height:310px}
.game-card:hover{border-color:#456c3e;transform:translateY(-2px);background:#fffefa}
.game-art{height:145px;padding:24px;background:#dbe9b9;background-image:linear-gradient(90deg,#ffffff25 1px,transparent 1px),linear-gradient(#ffffff25 1px,transparent 1px);background-size:24px 24px;color:#3b5831;border-bottom:2px solid #c3d39f}
.game-card[data-subject="English"] .game-art{background-color:#ded7ed;color:#5b4a76;border-color:#c6badc}
.game-card[data-subject="Mathematics"] .game-art{background-color:#cce3e7;color:#37646e;border-color:#afced3}
.game-art::after{display:block;width:66px;height:66px;border:9px solid currentColor;border-radius:5px;right:30px;top:58px;opacity:.12;transform:rotate(-12deg);box-shadow:34px -34px 0 -13px currentColor}
.game-art .subject-mark{font-size:46px;position:relative;z-index:1}.game-art .darjah{padding:5px 8px;background:#ffffffa6;border-radius:4px}
.game-body strong{font-weight:800;font-size:1.65rem}.game-body{padding:22px}.game-cta{background:#28563d;color:white;padding:12px 14px;border-radius:6px;box-shadow:0 3px 0 #183c2a;margin-top:15px;font-weight:700}
.parent-page #dashboard-nav a{border-radius:7px}.parent-page #dashboard-nav a::before{content:"";width:8px;height:8px;background:currentColor;border-radius:1px;flex-shrink:0;opacity:.65}
.panel,.review,.product,.order,.profile-form,#support-contact{border-radius:10px}
#overview{border-top:5px solid #92af72;box-shadow:0 4px 0 #d9e0d2}
#overview-data p{border-radius:6px;border-left:4px solid #b6c99c}.overview-links a{background:#e5edcf;border-radius:6px}
.test-banner{border-radius:6px}.bundle{border-top:4px solid #8da96c}.welcome-art{border-radius:16px;box-shadow:8px 8px 0 #d9e2cd}.orb{border-radius:12px}.orb-one{transform:rotate(-8deg)}.orb-two{transform:rotate(8deg)}
#diagnostics{border-radius:12px}#play nav button{box-shadow:none}
@media(max-width:760px){#children{gap:14px}#children button{min-height:185px}.parent-page #dashboard-nav a::before{display:none}}
@media(max-width:480px){#children button{min-height:185px;padding:20px 10px}.profile-symbol,#children button:nth-child(n) .profile-symbol{width:70px;height:70px}.game-card{min-height:290px}.game-art{height:125px}.game-body{padding:20px}}
@media(max-height:450px) and (orientation:landscape){#children button{min-height:155px}.profile-symbol,#children button:nth-child(n) .profile-symbol{height:54px;width:54px}}
/* Revision 3: parent hub with real counts and direct section tiles. */
.parent-page[data-view=overview] #overview{background:transparent;border:0;box-shadow:none;padding:0}
.parent-page[data-view=overview] #overview>h2{font-size:1.15rem;margin-top:8px}
#overview-data{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 28px}
.family-stat{display:flex;flex-direction:column;background:#fffefa;border:1px solid #cbd6c3;border-top:5px solid #9ab67a;border-radius:10px;padding:20px;box-shadow:0 4px 0 #dce3d4;gap:5px;min-width:0}
.family-stat:nth-child(2){border-top-color:#9fbfc0}.family-stat:nth-child(3){border-top-color:#baa8d1}
.family-stat strong{font-size:2.6rem;line-height:1.1;letter-spacing:-.04em}.family-stat span{font-size:.9rem;font-weight:700}.family-stat small{font-size:.75rem;color:var(--muted)}
#overview-data .overview-sync{grid-column:1/-1;border:0;border-left:3px solid #9ab67a;background:#e9efdf;padding:12px 16px;font-size:.8rem}
.overview-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.overview-tiles a.action{display:grid;grid-template-columns:54px 1fr 20px;grid-template-rows:auto auto;text-align:left;align-items:center;justify-content:stretch;gap:4px 14px;background:#fffefa;padding:22px;border:1px solid #cbd6c3;border-radius:10px;box-shadow:0 5px 0 #d9e2d2}
.overview-tiles .tile-icon{grid-row:1/3;display:grid;place-items:center;width:54px;height:54px;background:#deebc7;border-radius:9px;font-size:28px;color:#3b5c37}
.overview-tiles a:nth-child(2) .tile-icon{background:#d6e7e6}.overview-tiles a:nth-child(3) .tile-icon{background:#e5dcf0}.overview-tiles a:nth-child(4) .tile-icon{background:#f0e2c3}
.overview-tiles strong{font-size:1rem}.overview-tiles a>span:not(.tile-icon){grid-column:2;font-weight:400;color:var(--muted);font-size:.8rem}.overview-tiles b{grid-column:3;grid-row:1/3}.overview-tiles a:hover{border-color:#5d8150;background:#f5f8ef}
#child-cards .product{background:#fffefa;border-top:5px solid #aac68b;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 4px 0 #dce3d4}
#child-cards .product:nth-child(2){border-top-color:#dfc887}#child-cards .product:nth-child(3){border-top-color:#baa7d1}#child-cards .product:nth-child(4){border-top-color:#8cbdb6}#child-cards .product:nth-child(5){border-top-color:#d4aa90}
#child-cards .product .profile-symbol{width:54px;height:54px;border-radius:9px}#child-cards .product .profile-symbol svg{width:30px;height:30px}
@media(max-width:1000px){.overview-tiles{grid-template-columns:1fr}.family-stat{padding:16px}.family-stat strong{font-size:2rem}}
@media(max-width:480px){#overview-data{grid-template-columns:1fr}.family-stat{display:grid;grid-template-columns:65px 1fr;gap:4px 12px}.family-stat strong{grid-row:1/3}.family-stat small{grid-column:2}.overview-tiles a.action{padding:18px;grid-template-columns:44px 1fr 16px;gap:4px 10px}.overview-tiles .tile-icon{width:44px;height:44px;font-size:24px}}

/* Owner-selected logo 3: scalable custom wordmark; sage smile-shaped second u. */
.wordmark{display:block;line-height:1}.brand-logo{display:block;width:132px;height:auto;overflow:visible}.wordmark span{letter-spacing:.02em;font-size:9px;margin-top:5px}.app-header .wordmark{flex-shrink:0}@media(max-width:480px){.brand-logo{width:112px}.wordmark span{font-size:8px}}

/* Authentic accepted-game screenshots; titles and launch buttons remain intact. */
.game-card .game-art.game-screenshot{height:auto;aspect-ratio:8/5;padding:0;display:block;background:#edf0e8}
.game-art.game-screenshot img{display:block;width:100%;height:100%;object-fit:contain}
.game-art.game-screenshot::after,.game-art.game-screenshot .subject-mark,.game-art.game-screenshot .darjah{display:none}
