/* Home presentation only; the original world entry and progress remain intact. */
#app #start.home-ready:not(.hidden){box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto minmax(150px,1fr) auto auto!important;align-items:center!important;justify-items:center!important;gap:12px!important;width:min(94vw,540px)!important;height:calc(var(--home-viewport,100dvh) - 20px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;max-height:calc(var(--home-viewport,100dvh) - 20px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;min-height:0!important;padding:18px 16px!important;overflow-x:hidden!important;overflow-y:auto!important;margin:0!important;position:relative;overscroll-behavior:contain}
#app #start.home-ready>*{min-width:0;box-sizing:border-box}
#app #start.home-ready .home-brand{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
#app #start.home-ready .brand-hero{width:76px!important;height:67px!important;margin:0!important;object-fit:contain!important;animation:none!important}
#app #start.home-ready h1{font-size:clamp(25px,7vw,34px)!important;line-height:1.25!important;margin:0!important;text-align:center!important}
#app #start.home-ready .brand-tagline{font-size:12px!important;line-height:1.5!important;margin:0!important;text-align:center!important}
#app #start.home-ready .home-profile{display:flex;align-items:center;justify-content:center;max-width:100%}
#app #start.home-ready .grade-picker{width:auto!important;max-width:100%;padding:0!important;margin:0!important;gap:6px!important;overflow-x:auto}
#app #start.home-ready .grade-picker button{padding:0!important;margin:0!important;min-width:70px!important;min-height:44px!important}
#app #start.home-ready .grade-picker button.selected{display:grid!important;grid-template-columns:42px auto!important;grid-template-rows:22px 18px!important;align-items:center;gap:0 7px!important}
#app #start.home-ready .grade-picker button img{width:40px!important;height:40px!important;object-fit:contain;margin:0!important;grid-column:1;grid-row:1/3}
#app #start.home-ready .grade-picker button b{font-size:12px!important;grid-column:2;grid-row:1;align-self:end}
#app #start.home-ready .grade-picker button small{font-size:10px!important;margin:0!important;grid-column:2;grid-row:2;align-self:start}
#app #start.home-ready .world-picker{position:relative!important;display:grid!important;grid-template-rows:24px minmax(100px,1fr) 24px!important;gap:5px!important;align-self:stretch!important;min-height:150px!important;max-height:310px;width:100%!important;margin:0!important;padding:0!important;overflow:hidden}
#app #start.home-ready .world-picker-title{position:static!important;display:block!important;align-self:center;justify-self:center;transform:none!important;margin:0!important;padding:0!important;background:none!important;box-shadow:none!important;font-size:14px!important;line-height:1.5!important;color:#fff2c6}
#app #start.home-ready .world-arrow{display:none!important}
#app #start.home-ready .world-carousel{position:relative!important;display:block!important;direction:ltr!important;width:100%!important;max-width:100%!important;min-height:100px!important;height:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;touch-action:pan-y!important;scroll-behavior:auto!important;scroll-snap-type:none!important;isolation:isolate}
#app #start.home-ready .world-orb{position:absolute!important;top:0!important;left:50%!important;display:none!important;flex:none!important;width:clamp(130px,36vw,180px)!important;height:100%!important;min-height:0!important;margin:0!important;padding:5px!important;align-items:center;justify-content:center;flex-direction:column;gap:0;border:0!important;background:transparent!important;box-shadow:none!important;transform:translateX(calc(-50% + var(--drag,0px)))!important;transition:none!important;filter:none!important;opacity:1}
#app #start.home-ready .world-orb[data-home-position]{display:flex!important}
#app #start.home-ready .world-orb.grade-hidden{display:none!important}
#app #start.home-ready .world-orb>img,#app #start.home-ready .world-orb>span{flex:0 1 auto!important;width:100%!important;height:auto!important;aspect-ratio:1;max-height:100%!important;object-fit:contain!important;margin:0!important}
#app #start.home-ready .world-orb>.english-world-icon{display:grid;place-items:center;font-size:40px!important}
#app #start.home-ready .world-orb b{display:none!important}
#app #start.home-ready .world-orb[data-home-position=next]{left:0%!important;opacity:.5;transform:translateX(calc(-50% + var(--drag,0px))) scale(.82)!important;z-index:1}
#app #start.home-ready .world-orb[data-home-position=previous]{left:100%!important;opacity:.5;transform:translateX(calc(-50% + var(--drag,0px))) scale(.82)!important;z-index:1}
#app #start.home-ready .world-orb[data-home-position=current]{z-index:2}
#app #start.home-ready #selectedWorldName{position:static!important;display:block!important;transform:none!important;margin:0!important;font-size:15px!important;line-height:1.5!important;text-align:center}
#app #start.home-ready #play{justify-self:center;width:min(90%,320px)!important;min-height:50px!important;margin:0!important;padding:10px 14px!important;font-size:17px!important;line-height:1.4!important;white-space:normal!important}
#app #start.home-ready>small{display:none!important}
#app #start.home-ready .home-extras{width:100%;position:relative;text-align:center;z-index:5}
#app #start.home-ready .home-extras>summary{display:inline-flex;align-items:center;justify-content:center;min-width:80px;min-height:44px;cursor:pointer;list-style:none;font-size:13px;color:#e2e6de;padding:0 15px;border-radius:22px;background:#ffffff0a}
#app #start.home-ready .home-extras>summary::-webkit-details-marker{display:none}
#app #start.home-ready .home-extras-tray{position:absolute;bottom:52px;left:0;right:0;display:grid;gap:12px;padding:16px;border:1px solid #cdb66c;border-radius:20px;background:#132d40;box-shadow:0 10px 40px #0009;max-height:calc(var(--home-viewport) - 130px);overflow:auto}
#app #start.home-ready .home-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#app #start.home-ready .home-shortcuts button,#app #start.home-ready .fh-home-tools button{min-height:44px!important;font-size:12px!important;margin:0!important;padding:7px!important}
#app #start.home-ready .fh-home-tools{width:100%!important;margin:0!important}
#app #start.home-ready .fh-home-tools>span{display:none!important}
#app #start.home-ready .fh-home-tools>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#app #start.home-ready .difficulty-info{font-size:11px!important;margin:0!important;padding:8px!important;line-height:1.5!important;max-width:100%!important}
@media(max-height:650px){#app #start.home-ready:not(.hidden){gap:8px!important;padding:12px!important}#app #start.home-ready .brand-hero{width:58px!important;height:50px!important}#app #start.home-ready h1{font-size:27px!important}#app #start.home-ready .brand-tagline{font-size:11px!important}}
@media(max-height:480px){#app #start.home-ready:not(.hidden){align-content:start!important;overflow-y:auto!important}}
#app #start.home-ready:not(.hidden){position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important}
#app #start.home-ready h1,#app #start.home-ready .brand-tagline{animation:none!important;opacity:1!important;transform:none!important;visibility:visible!important}
/* Adventure departure scene: existing in-game art, no separate illustration style. */
#app #start.home-ready:not(.hidden){background:linear-gradient(180deg,#d9f4fff0 0%,#dbf2fbdb 21%,#e6f5e5b8 43%,#e4f1dbad 66%,#c9dfc299 100%),url('assets/map-backgrounds/adventure-map.webp') center 44%/cover no-repeat!important;border:3px solid #f7dc8d!important;border-radius:30px!important;box-shadow:0 9px 0 #735324,0 15px 40px #123c4259!important;backdrop-filter:none!important;color:#214c55;padding:14px 10px!important;gap:8px!important;isolation:isolate}
#app #start.home-ready .home-brand{gap:0;width:100%;position:relative}
#app #start.home-ready .brand-hero{width:244px!important;height:130px!important;filter:drop-shadow(0 5px 3px #397f6633)!important}
#app #start.home-ready h1{font-size:30px!important;color:#fff2a3!important;text-shadow:0 3px 0 #92501f,2px 0 #92501f,-2px 0 #92501f,0 -1px #92501f!important;line-height:1.3!important}
#app #start.home-ready .brand-tagline{font-size:12px!important;color:#235b65!important;font-weight:800}
#app #start.home-ready .home-profile{direction:rtl;gap:8px;max-width:94%;min-height:36px;padding:3px 15px;border:2px solid #ffe9a5;border-radius:20px 7px 20px 7px;background:#fff7dc;box-shadow:0 3px 0 #ac8345,0 5px 10px #28595026;transform:rotate(-1deg)}
#app #start.home-ready .home-child-name{font-size:14px;font-weight:800;color:#315c55;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app #start.home-ready .home-profile .grade-picker{display:none!important}
#app #start.home-ready .home-grade-label{font-size:12px;color:#815925;direction:ltr;white-space:nowrap;border-inline-start:1px solid #d9be83;padding-inline-start:8px;font-weight:800}
#app #start.home-ready .world-picker{grid-template-rows:27px minmax(120px,1fr) 32px!important;gap:0!important;max-height:390px;min-height:179px!important;overflow:visible}
#app #start.home-ready .world-picker-title{font-size:14px!important;color:#fff7d8!important;background:#246e66!important;border:2px solid #f6d184;border-radius:16px 5px;padding:2px 17px!important;box-shadow:0 3px 0 #123f3c!important;z-index:3}
#app #start.home-ready .world-carousel{min-height:120px!important;overflow:hidden!important}
#app #start.home-ready .world-carousel::before{content:'';position:absolute;pointer-events:none;left:50%;top:50%;width:225px;height:130px;transform:translate(-50%,0);background:url('assets/optimized/numbers-island-ni-level-platform-wood-stone-v1.90055d8ea186.webp') center/contain no-repeat;filter:drop-shadow(0 8px 5px #1a4a4266);z-index:0}
#app #start.home-ready .world-orb{width:clamp(145px,40vw,190px)!important;padding:0 4px 29px!important}
#app #start.home-ready .world-orb>img,#app #start.home-ready .world-orb>span{max-height:calc(100% - 5px)!important;filter:drop-shadow(0 6px 5px #194b3b66)}
#app #start.home-ready .world-orb[data-home-position=next],#app #start.home-ready .world-orb[data-home-position=previous]{opacity:.8}
#app #start.home-ready #selectedWorldName{align-self:center;justify-self:center;max-width:92%;padding:4px 19px!important;border:2px solid #eac17b;border-radius:8px 15px;background:linear-gradient(#fff3ca,#f7dca2);box-shadow:0 3px 0 #8c693d;color:#5d3e21!important;font-size:14px!important;line-height:1.3!important;text-shadow:0 1px #fff5!important;z-index:3}
#app #start.home-ready #play{width:min(88%,310px)!important;min-height:51px!important;border:2px solid #fff6b6!important;border-radius:22px!important;background:linear-gradient(#ffed75,#ffc439)!important;color:#624018!important;text-shadow:0 1px #fff5!important;box-shadow:0 6px 0 #a96321,0 10px 14px #224f4540!important;font-size:17px!important}
#app #start.home-ready #play:active{box-shadow:0 2px 0 #a96321!important}
#app #start.home-ready .home-extras>summary{min-height:44px;color:#fff5dc;background:#205e50ed;border:1px solid #c0d9ab;border-radius:18px;font-size:12px;box-shadow:0 3px 0 #153c32}
#app #start.home-ready .home-extras-tray{background:#fff8df;border:3px solid #d0a366;box-shadow:0 10px 35px #163e4566;color:#235b65}
#app #start.home-ready .difficulty-info{color:#235b65!important;background:#edf3df!important;border-color:#c2d0a8!important}
@media(max-height:650px){#app #start.home-ready:not(.hidden){gap:8px!important;padding:12px 10px!important}#app #start.home-ready .brand-hero{width:210px!important;height:108px!important}#app #start.home-ready h1{font-size:28px!important}#app #start.home-ready .brand-tagline{font-size:11px!important}}
@media(max-height:570px){#app #start.home-ready .brand-hero{width:170px!important;height:87px!important}#app #start.home-ready h1{font-size:25px!important}#app #start.home-ready:not(.hidden){gap:7px!important}}
