
/* Exact existing Kids roots: separate blue notebook identity, no gameplay color changes. */
:is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn){--nk-paper:#fcfaf5;--nk-ink:#29495b;--nk-muted:#586d77;--nk-blue:#315d79;--nk-line:#d6e1e6;--nk-soft:#eef4f7;--paper:var(--nk-paper);--p:var(--nk-paper);--ink:var(--nk-ink);--muted:var(--nk-muted);--purple:var(--nk-blue);--line:var(--nk-line);--g-paper:var(--nk-paper);--g-ink:var(--nk-ink);--g-muted:var(--nk-muted);--g-purple:var(--nk-blue);--g-line:var(--nk-line);background:var(--nk-paper);color:var(--nk-ink)}
:is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(.ndk5-wrap,.ndg-wrap,.ndmk-wrap,.nds-wrap,.ndl-wrap){width:min(calc(100% - 40px),1120px)}
:is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(.ndk5-top,.ndg-top,.ndmk-top,.nds-top,.ndl-top){padding:14px 0;border-bottom:1px solid var(--nk-line);gap:12px}
:is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(.ndk5-pill,.ndk5-icon,.ndg-top a,.ndg-sound,.ndmk-top a,.nds-top a,.ndl-top a){border-color:var(--nk-line);border-radius:12px;background:transparent;color:var(--nk-ink);min-height:44px}
:is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(.ndk5-eyebrow,.ndg-eyebrow,.ndmk-eyebrow,.nds-eyebrow,.ndl-eyebrow){color:var(--nk-blue);letter-spacing:.065em;font-size:.68rem;font-family:var(--nw-sans,NahwaDigitOneSans,"Hind Siliguri"),"Noto Sans Bengali","Nirmala UI",sans-serif}
:is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(.ndk5-hero,.ndg-hero,.ndmk-hero,.nds-hero,.ndl-hero){padding-top:clamp(30px,5vw,58px);padding-bottom:30px}
:is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(.ndk5-hero,.ndg-hero,.ndmk-hero,.nds-hero,.ndl-hero) h1{font-size:clamp(2.1rem,4.4vw,4.1rem)!important;line-height:1.28!important;letter-spacing:-.02em!important}
:is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(.ndk5-hero,.ndg-hero,.ndmk-hero,.nds-hero,.ndl-hero) h1 span{color:var(--nk-blue)}
#nd-kids-home .ndk5-greeting{background:#eef4f7;color:#315d79;border-radius:7px;font-size:.77rem}
#nd-kids-home .ndk5-visual{min-height:0}
#nd-kids-home .ndk5-image-shell{border-radius:18px;background:#f1f5f5;border:1px solid var(--nk-line);box-shadow:0 16px 34px rgba(41,73,91,.09)}
#nd-kids-home .ndk5-section{padding:30px 0;border-top:1px solid var(--nk-line)}
#nd-kids-home :is(.ndk5-head,.ndk5-door){gap:12px}
#nd-kids-home :is(.ndk5-age,.ndk5-door,.ndk5-step){background:#fff!important;border-radius:14px;border-color:var(--nk-line);box-shadow:none;transition:border-color .16s ease,transform .16s ease}
#nd-kids-home .ndk5-age{padding:15px;min-height:114px;border-top:3px solid #9bb5c6}
#nd-kids-home .ndk5-door{min-height:204px;padding:20px;border-top:3px solid #9bb5c6}
#nd-kids-home .ndk5-door-icon{background:var(--nk-soft);color:var(--nk-blue);border-radius:12px}
#nd-kids-home :is(.ndk5-btn,.ndk5-today-age){border-radius:10px;border-color:var(--nk-line);min-height:44px}
#nd-kids-home .ndk5-btn.primary{background:var(--nk-blue);border-color:var(--nk-blue);color:#fff}
#nd-kids-home .ndk5-today-age[aria-pressed="true"]{background:var(--nk-blue);border-color:var(--nk-blue);color:#fff}
#nd-kids-games .ndg-hero:before,#nd-kids-games .ndg-hero:after{display:none}
#nd-kids-games :is(.ndg-age,.ndg-progress,.ndg-personal,.ndg-skill-progress div,.ndg-card){background:#fff!important;border-color:var(--nk-line);border-radius:14px;box-shadow:none}
#nd-kids-games .ndg-age-gate{background:var(--nk-soft);border-color:var(--nk-line);border-radius:14px;box-shadow:none}
#nd-kids-games .ndg-age{border-top:3px solid #9bb5c6;color:var(--nk-ink)}
#nd-kids-games .ndg-age[aria-pressed="true"]{background:var(--nk-soft)!important;border-color:var(--nk-blue);color:var(--nk-ink);box-shadow:none}
#nd-kids-games .ndg-age span,#nd-kids-games .ndg-age[aria-pressed="true"] span{color:var(--nk-muted)}
#nd-kids-games .ndg-age-note{color:var(--nk-muted)!important}
#nd-kids-games :is(.ndg-age-profile,.ndg-session){border-color:var(--nk-line);border-radius:12px;background:var(--nk-soft)}
#nd-kids-games .ndg-pill{border-radius:7px;background:var(--nk-soft);border-color:var(--nk-line);color:var(--nk-ink)}
#nd-kids-games :is(.ndg-progress-count,.ndg-card-icon){background:var(--nk-soft);color:var(--nk-blue)}
#nd-kids-games .ndg-progressbar{background:#e2ebee}
#nd-kids-games .ndg-progressbar span{background:var(--nk-blue)}
#nd-kids-games .ndg-card{padding:18px;border-top:3px solid #b6c9d4;min-height:190px;text-align:start}
#nd-kids-games .ndg-card:hover{transform:translateY(-2px);border-color:#7c9bb0;box-shadow:0 8px 20px rgba(41,73,91,.07)}
#nd-kids-games .ndg-filters{gap:8px;flex-wrap:wrap}
#nd-kids-games :is(.ndg-filter,.ndg-more,.ndg-game-search-clear){min-height:44px;border-radius:10px;border-color:var(--nk-line)}
#nd-kids-games .ndg-filter[aria-pressed="true"]{background:var(--nk-blue);border-color:var(--nk-blue);color:#fff}
#nd-kids-games .ndg-stage{border-radius:18px;background:#29495b;box-shadow:0 18px 40px rgba(41,73,91,.12)}
#nd-kids-games .ndg-stage-info .ndg-eyebrow{color:#f3d49a}
#nd-kids-games .ndg-stage-info h2:focus{outline:3px solid #b6d9ed;outline-offset:8px;border-radius:3px}
#nd-kids-games .ndg-game-search{border-radius:12px}
#nd-kids-games .ndg-game-search input{min-width:0;min-height:44px}
#nd-my-kids :is(.ndmk-stat,.ndmk-card,.ndmk-resource){background:#fff!important;border-color:var(--nk-line);border-radius:14px}
#nd-my-kids .ndmk-stats{gap:0;border:1px solid var(--nk-line);border-radius:14px;overflow:hidden;background:#fff}
#nd-my-kids .ndmk-stat{border:0;border-inline-end:1px solid var(--nk-line);border-radius:0;padding:18px}
#nd-my-kids .ndmk-stat:last-child{border-inline-end:0}
#nd-my-kids .ndmk-stat b{color:var(--nk-blue)}
#nd-my-kids :is(.ndmk-note,.ndmk-empty){background:var(--nk-soft);border-color:var(--nk-line);border-radius:10px;color:var(--nk-muted)}
#nd-my-kids .ndmk-item{border-radius:10px;border-color:var(--nk-line);background:var(--nk-paper);min-height:48px}
#nd-my-kids .ndmk-btn{border-radius:10px;min-height:44px;border-color:var(--nk-line);color:var(--nk-blue)}
#nd-my-kids .ndmk-btn.primary{background:var(--nk-blue);color:#fff;border-color:var(--nk-blue)}
#nd-my-kids .ndmk-control{border-radius:14px;background:#fff7f1}
#nd-story-world :is(.nds-pill,.nds-char){background:transparent!important;border-color:var(--nk-line);border-radius:10px}
#nd-story-world .nds-chars{gap:0;border:1px solid var(--nk-line);border-radius:14px;overflow:hidden}
#nd-story-world .nds-char{border:0;border-inline-end:1px solid var(--nk-line);border-radius:0;padding:18px}
#nd-story-world .nds-char:last-child{border-inline-end:0}
#nd-story-world .nds-book{border-color:var(--nk-line);border-radius:16px;padding:15px;background:#fff}
#nd-story-world .nds-cover{border-radius:5px 10px 10px 5px;box-shadow:inset 6px 0 rgba(41,73,91,.07),0 6px 12px rgba(41,73,91,.08)}
#nd-story-world .nds-book-actions :is(button,a){border-radius:9px;min-height:44px;border-color:var(--nk-line);color:var(--nk-blue)}
#nd-story-world .nds-book-actions button[aria-pressed="true"]{background:var(--nk-blue);color:#fff;border-color:var(--nk-blue)}
#nd-story-world .nds-note{border-radius:14px;border-color:var(--nk-line);background:var(--nk-soft)}
#nd-kids-learn :is(.ndl-age,.ndl-card){background:#fff!important;border-color:var(--nk-line);border-radius:14px;border-top:3px solid #9bb5c6}
#nd-kids-learn .ndl-card span{background:var(--nk-soft);color:var(--nk-blue);border-radius:10px}
#nd-kids-learn :is(.ndl-screenoff,.ndl-note){border-radius:14px;border-color:var(--nk-line);background:var(--nk-soft)}
#nd-kids-learn .ndl-btn{border-radius:10px;border-color:var(--nk-line);min-height:44px}
#nd-kids-learn .ndl-btn.primary{background:var(--nk-blue);border-color:var(--nk-blue);color:#fff}
:is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(.ndk5-footer,.ndg-footer,.ndmk-footer,.nds-footer,.ndl-footer){border-top:1px solid var(--nk-line);padding-top:18px}
:is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(a,button,input,select):focus-visible{outline:3px solid #315d79;outline-offset:4px}
/* Existing native account shell only; no replacement forms or runtime controls. */
body.page-id-310 :is(.ndl-hero,#account-area),body.page-id-311 :is(.myd-hero,.myd-note,.myd-how,#personal-amal){background:#fbf8f0;color:#173c32}
body.page-id-310 .ndl-hero,body.page-id-311 .myd-hero{padding:clamp(30px,5vw,58px) 20px 26px;border-bottom:1px solid #ded8cb}
body.page-id-310 .ndl-inner{max-width:880px}
body.page-id-310 :is(.ndl-bismillah,.ndl-kicker),body.page-id-311 :is(.myd-bismillah,.myd-kicker){color:#876a43}
body.page-id-310 .ndl-hero h1,body.page-id-311 .myd-hero h1{font-size:clamp(2.1rem,4.3vw,3.5rem);line-height:1.4;color:#173c32}
body.page-id-310 :is(.ndl-lead,.ndl-hint),body.page-id-311 :is(.myd-lead,.myd-two p){color:#58675d}
body.page-id-310 .ndl-shortcuts{gap:0;border:1px solid #ded8cb;border-radius:14px;overflow:hidden;background:#fffdf8}
body.page-id-310 .ndl-shortcuts a{border:0;border-inline-end:1px solid #ded8cb;background:transparent;color:#173c32;border-radius:0;min-height:96px;padding:18px}
body.page-id-310 .ndl-shortcuts a:last-child{border-inline-end:0}
body.page-id-310 :is(.ncb-backup-fallback,.ncb-account){border:1px solid #ded8cb;border-radius:14px;background:#fffdf8;color:#173c32;box-shadow:none}
body.page-id-310 .ncb-account{padding:clamp(18px,3vw,28px)}
body.page-id-310 .ncb-account-choices{display:flex;flex-wrap:wrap;gap:10px}
body.page-id-310 :is(.ncb-account a,.ncb-backup-fallback a,.ndl-back){min-height:44px;align-items:center;color:#173c32;text-underline-offset:4px}
body.page-id-310 .ncb-account-choices a{display:inline-flex;padding:10px 15px;border-radius:10px;border:1px solid #ded8cb;background:#f2efe5;text-decoration:none;line-height:1.65}
body.page-id-310 .ncb-account :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,button){font:inherit;min-height:44px;border-radius:9px;max-width:100%;box-sizing:border-box}
body.page-id-310 .ncb-account :is(input[type="text"],input[type="email"],input[type="password"],input[type="tel"],select){width:100%;padding:11px 12px;border:1px solid #c8c9bd;background:#fffdf8;color:#173c32}
body.page-id-310 .ncb-account :is(button,input[type="submit"]){padding:10px 16px;background:#173c32;color:#fff;border:1px solid #173c32}
body.page-id-310 :is(.ncb-eyebrow,.ncb-fallback-kicker){color:#876a43}
body.page-id-310 .ncb-account-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px;border-top:1px solid #ded8cb;padding-top:12px}
body.page-id-311 :is(.myd-note-inner,.myd-two article){border-color:#ded8cb;border-radius:12px;background:#fffdf8}
body.page-id-311 .myd-note-inner{background:#f2efe5}
body.page-id-311 :is(.myd-note p,.myd-note-inner>span){color:#876a43}
body.page-id-311 .myd-note small{color:#58675d}
body.page-id-311 .myd-actions a{border-radius:10px;min-height:44px}
body.page-id-311 .myd-primary,body.page-id-311 .myd-two b{background:#173c32;color:#fff}
body.page-id-311 .myd-secondary{border-color:#ded8cb;background:#fffdf8;color:#173c32}
body.page-id-310 :is(a,button,input,select):focus-visible,body.page-id-311 :is(.myd-actions a,#personal-amal a,#personal-amal button,#personal-amal input,#personal-amal select):focus-visible{outline:3px solid #876a43;outline-offset:4px}
@media(max-width:760px){
 :is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(.ndk5-wrap,.ndg-wrap,.ndmk-wrap,.nds-wrap,.ndl-wrap){width:calc(100% - 32px)}
 #nd-kids-home .ndk5-hero,#nd-story-world .nds-hero{gap:24px}
 #nd-my-kids .ndmk-stat:nth-child(2){border-inline-end:0}
 #nd-my-kids .ndmk-stat:nth-child(-n+2){border-bottom:1px solid var(--nk-line)}
 #nd-story-world .nds-char:nth-child(2){border-inline-end:0}
 #nd-story-world .nds-char:nth-child(-n+2){border-bottom:1px solid var(--nk-line)}
}
@media(max-width:620px){
 body.page-id-310 .ndl-shortcuts a{border-inline-end:0;border-bottom:1px solid #ded8cb;min-height:76px;padding:14px 16px}
 body.page-id-310 .ndl-shortcuts a:last-child{border-bottom:0}
}
@media(max-width:480px){
 :is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(.ndk5-top,.ndg-top,.ndmk-top,.nds-top,.ndl-top){align-items:flex-start;flex-wrap:wrap;gap:7px}
 :is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(.ndk5-hero,.ndg-hero,.ndmk-hero,.nds-hero,.ndl-hero) h1{font-size:2.15rem!important;line-height:1.35!important}
 #nd-kids-games .ndg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #nd-kids-games .ndg-card{padding:13px;min-height:184px}
 #nd-kids-games .ndg-card :is(b,p){overflow-wrap:anywhere}
 #nd-kids-games .ndg-card b{font-size:.86rem}
 #nd-kids-games .ndg-card p{font-size:.73rem}
 #nd-my-kids .ndmk-stat{padding:14px}
 #nd-story-world .nds-book-actions{flex-wrap:wrap}
 #nd-story-world .nds-book-actions :is(button,a){flex:1 1 auto}
 body.page-id-310 .ncb-account-choices a{flex:1 1 100%}
}
@media(prefers-reduced-motion:reduce){
 :is(#nd-kids-home,#nd-kids-games,#nd-my-kids,#nd-story-world,#nd-kids-learn) :is(.ndk5-age,.ndk5-door,.ndg-card,.nds-book,.ndl-card){transition:none;transform:none}
}
