/* OSH Home Lab styles, all scoped to body.homebody so they cannot touch other labs */
@font-face{font-family:"OSH Fredoka";font-weight:500;font-display:swap;src:url(fonts/fredoka-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"OSH Fredoka";font-weight:600;font-display:swap;src:url(fonts/fredoka-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"OSH Fredoka";font-weight:700;font-display:swap;src:url(fonts/fredoka-latin-700-normal.woff2) format("woff2")}
@keyframes qhover{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
body.homebody{background:linear-gradient(180deg,#fff6e0 0,#ffe9f4 40%,#e8f6ff 100%);font-family:"OSH Fredoka","Baloo 2","Fredoka","Comic Sans MS","Chalkboard SE",ui-rounded,"Trebuchet MS",system-ui,sans-serif}
body.homebody h1{font-size:clamp(1.6rem,6.5vw,2.4rem)}
.homebanner{display:flex;align-items:center;gap:14px;margin:10px 0;padding:14px 16px;border-radius:26px;background:linear-gradient(135deg,#ffd45e,#ff9ec8);color:#3a1d00;text-decoration:none;box-shadow:0 6px 0 #e08a00;border:3px solid #fff;animation:bounceIn .7s ease both}
.homebanner:hover{transform:translateY(-2px) rotate(-.5deg)}
.homebanner .hb-e{font-size:48px;animation:wiggle 2.2s infinite}
.homebanner small{font-weight:600}
.homebanner .hb-go{margin-left:auto;background:#fff;border-radius:999px;padding:8px 14px;font-weight:900;color:#6c4cf0;white-space:nowrap}
@keyframes bounceIn{0%{transform:scale(.8);opacity:0}60%{transform:scale(1.05);opacity:1}100%{transform:scale(1)}}
body.homebody .snb{border:0;background:#fff;border-radius:50%;width:44px;height:44px;font-size:22px;box-shadow:0 3px 0 #d6c8ff;cursor:pointer}
body.homebody .hbox{display:flex;gap:12px;align-items:center;margin:10px 0 14px}
body.homebody .hmasc{flex:0 0 96px}
body.homebody .anu{width:96px;height:96px;animation:bob 2.4s ease-in-out infinite}
body.homebody .anu .orb{transform-origin:60px 60px;animation:spin 9s linear infinite}
body.homebody .anu .pp{animation:look 4s infinite}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes look{0%,45%,100%{transform:translateX(0)}55%,90%{transform:translateX(2.5px)}}
body.homebody .hsay{position:relative;background:#fff;border:3px solid #ffd0e8;border-radius:22px;padding:12px 14px;font-size:clamp(1.05rem,3.6vw,1.3rem);line-height:1.35;box-shadow:0 5px 0 #ffd0e8;flex:1}
body.homebody .hsay:before{content:"";position:absolute;left:-14px;top:30px;border:9px solid transparent;border-right-color:#ffd0e8;border-left:0}
body.homebody .sp,body.homebody .chunk{font:inherit;font-weight:900;cursor:pointer}
body.homebody .sp{margin-top:6px;border:0;background:#e8e0ff;color:#5a3bd6;border-radius:999px;padding:6px 14px;font-size:1rem}
body.homebody .agetag{background:#fff3c4;border-radius:99px;padding:3px 10px;margin-left:6px;white-space:nowrap}
body.homebody .rooms{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:12px 0}
@media(min-width:700px){body.homebody .rooms{grid-template-columns:repeat(4,1fr)}
}
body.homebody .room{display:flex;flex-direction:column;align-items:center;gap:2px;padding:16px 8px;background:var(--bg);border:4px solid var(--bd);border-radius:30px;box-shadow:0 7px 0 var(--bd);text-decoration:none;color:var(--ink);text-align:center;transition:transform .15s}
body.homebody .room:nth-child(odd){animation:pop .5s ease both}
body.homebody .room:nth-child(even){animation:pop .7s ease both}
body.homebody .room:hover,body.homebody .room:active{transform:translateY(-4px) rotate(-1deg)}
body.homebody .room .re{font-size:clamp(68px,22vw,96px);line-height:1.1;animation:bob 3s ease-in-out infinite}
body.homebody .room:nth-child(even) .re{animation-delay:-1s}
body.homebody .room b{font-size:clamp(1.05rem,4vw,1.3rem)}
body.homebody .room small{opacity:.75}
body.homebody .guide ul{padding-left:20px;line-height:1.5}
body.homebody .guide li{margin:6px 0}
body.homebody .rlist{display:grid;gap:12px;margin:12px 0}
body.homebody .act{display:flex;align-items:center;gap:14px;padding:12px 14px;background:var(--bg);border:4px solid var(--bd);border-radius:26px;box-shadow:0 6px 0 var(--bd);color:var(--ink);text-decoration:none;min-height:84px;transition:transform .15s}
body.homebody .act:hover,body.homebody .act:active{transform:translateY(-3px)}
body.homebody .act .ae{font-size:54px;line-height:1;animation:wiggle 3s infinite}
body.homebody .act .at{flex:1;display:flex;flex-direction:column;font-size:1.2rem}
body.homebody .act small{font-weight:600;opacity:.75}
body.homebody .act .ad{font-size:30px}
body.homebody .hpage{--bd:#ffd0e8}
body.homebody .hpage .card{background:#fff;border-color:var(--bd);box-shadow:0 5px 0 var(--bd);border-radius:26px;padding:14px}
body.homebody .hpage h2{font-size:1.35rem;margin:0 0 10px}
body.homebody .hpage h2 small{font-size:.8rem;color:var(--ink2);font-weight:700;margin-left:6px}
body.homebody .gu summary{cursor:pointer;font-weight:900;font-size:1.05rem}
body.homebody .gu p,body.homebody .gu li{font-size:1rem;line-height:1.5;font-weight:600}
body.homebody .find{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px}
body.homebody .fi{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;border:3px dashed #bbb;border-radius:20px;background:#fafafa;font:inherit;font-weight:700;font-size:.95rem;color:var(--ink);cursor:pointer;min-height:96px;transition:transform .15s}
body.homebody .fi span{font-size:42px;line-height:1.1}
body.homebody .fi.got{border:3px solid #22c070;background:#e5f9ec;animation:pop .35s ease both;position:relative}
body.homebody .fi.got:after{content:"✅";position:absolute;top:2px;right:6px;font-size:20px}
body.homebody .q{font-size:clamp(1.15rem,4.4vw,1.5rem);font-weight:900;text-align:center;margin:6px 0 8px;line-height:1.3}
body.homebody .whatis{text-align:center;font-size:clamp(1.3rem,5vw,1.8rem);margin:2px 0}
body.homebody .whatis b{background:#fff3c4;padding:4px 16px;border-radius:999px}
body.homebody .dots{display:flex;justify-content:center;gap:6px;margin:4px 0 6px}
body.homebody .dots i{width:12px;height:12px;border-radius:50%;background:#e4dcff}
body.homebody .dots i.on{background:#22c070}
body.homebody .dots i.cur{background:#ff9a1f;transform:scale(1.4)}
body.homebody .hstage{position:relative;height:230px;border-radius:24px;overflow:hidden;background:linear-gradient(180deg,#cfeeff,#fff6d6);border:4px solid #fff;box-shadow:inset 0 0 0 3px var(--bd,#ffd0e8);max-width:560px;margin:8px auto}
body.homebody .hstage .it{position:absolute;font-size:64px;line-height:1;z-index:3}
body.homebody .hstage .it.huge{font-size:96px}
body.homebody .tank{position:absolute;left:0;right:0;bottom:0;height:56%;background:linear-gradient(180deg,#7cd0ff88,#2aa7f0aa);border-top:4px solid #ffffffaa;z-index:2}
body.homebody .tank:before{content:"";position:absolute;top:-8px;left:0;right:0;height:10px;background:radial-gradient(circle at 10px 10px,#bfe9ff 8px,transparent 9px) 0 0/28px 10px}
body.homebody .mg{position:absolute;right:6%;top:84px;font-size:78px}
body.homebody .sp{}
body.homebody .hstage .sp{position:absolute;font-size:34px;opacity:0;z-index:4;left:42%;top:80px}
body.homebody .wet{position:absolute;left:calc(42% - 18px);top:84px;width:100px;height:100px;border-radius:50%;background:#7cc8ff;opacity:0}
body.homebody .drop{position:absolute;font-size:34px;z-index:4}
body.homebody .ramp{position:absolute;height:14px;background:linear-gradient(#c88a3c,#a8702a);border-radius:8px;transform-origin:left center}
body.homebody .torch{position:absolute;left:3%;top:70px;font-size:56px;transform:rotate(90deg)}
body.homebody .beam{position:absolute;left:14%;top:60px;width:70%;height:78px;background:linear-gradient(90deg,#fff59d,#fff59d00);clip-path:polygon(0 38%,100% 0,100% 100%,0 62%);opacity:0}
body.homebody .wall{position:absolute;right:0;top:0;bottom:0;width:20%;background:#fff3a8;z-index:1}
body.homebody .shd2{position:absolute;left:20%;top:56px;width:60%;height:84px;background:#2b2350;border-radius:50% 50% 40% 40%;opacity:0}
body.homebody .wind{position:absolute;left:4%;top:92px;font-size:52px;z-index:4}
body.homebody .jar{position:absolute;left:34%;top:50px;width:32%;height:150px;border:5px solid #ffffffcc;border-radius:14px 14px 30px 30px;background:linear-gradient(180deg,#ffffff55,#ffe97a88);overflow:hidden}
body.homebody .jf{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);font-size:46px}
body.homebody .bub{position:absolute;bottom:6px;border-radius:50%;background:#fff;opacity:0;border:2px solid #bfe9ff}
body.homebody .plate{position:absolute;left:calc(50% - 90px);top:18px;width:180px;height:180px;border-radius:50%;background:#fffdf5;border:6px solid #fff;box-shadow:0 0 0 4px #ffe8b0}
body.homebody .dt{position:absolute;width:20px;height:20px;border-radius:50%}
body.homebody .wd{position:absolute;left:50%;top:50%;font-style:normal;font-size:20px;transform:translate(-50%,-50%);opacity:.8}
body.homebody .cube{position:absolute;top:70px;width:90px;height:90px;border-radius:18px;background:linear-gradient(135deg,#e6f7ff,#9ad8ff);border:3px solid #fff;box-shadow:0 6px 0 #7cc4ee;display:flex;align-items:center;justify-content:center;font-size:36px;transform-origin:bottom center}
body.homebody .hl{position:absolute;top:172px;font-style:normal;font-weight:900;background:#fff;padding:2px 10px;border-radius:99px;font-size:.95rem}
body.homebody .tall{position:absolute;left:12%;top:16px;width:32%;height:200px;border:5px solid #ffffffcc;border-radius:12px 12px 24px 24px;background:#ffffff44;overflow:hidden}
body.homebody .ly{position:absolute;left:0;right:0;font-style:normal;height:0}
body.homebody .hl[style*="left:52%"]{left:52%}
body.homebody .pot{position:absolute;left:calc(50% - 50px);bottom:8px;width:100px;height:60px;background:linear-gradient(#d2691e,#a0522d);border-radius:8px 8px 30px 30px}
body.homebody .seed{position:absolute;left:calc(50% - 30px);bottom:56px;font-size:60px;transform-origin:bottom center}
body.homebody .sun{position:absolute;font-size:56px;z-index:2;left:8%;top:60px}
body.homebody .gr{position:absolute;left:0;right:0;bottom:0;height:34px;background:linear-gradient(#7ed957,#4cae3a)}
body.homebody .kid{position:absolute;left:46%;bottom:30px;font-size:80px;z-index:2;line-height:1}
body.homebody .shw{position:absolute;left:46%;bottom:10px;height:20px;width:150px;background:#2b2350;opacity:.5;border-radius:50%;transform-origin:left center;margin-left:34px}
body.homebody .bln{position:absolute;left:8%;top:70px;font-size:78px;transform-origin:center}
body.homebody .tr{position:absolute;left:4%;top:90px;font-size:44px;opacity:0}
body.homebody .bln2{position:absolute;left:44%;top:6px;font-size:76px;z-index:3}
body.homebody .bit{position:absolute;bottom:14px;font-size:24px}
body.homebody .bandw{position:absolute;left:8%;right:8%;display:flex;align-items:center;gap:10px}
body.homebody .bandw:nth-child(1){top:54px}
body.homebody .bandw:nth-child(2){top:140px}
body.homebody .band{display:block;flex:1;height:5px;background:#e23c5c;border-radius:4px}
body.homebody .bandw em{font-style:normal;font-weight:900;background:#fff;border-radius:99px;padding:2px 10px;font-size:.9rem;white-space:nowrap}
body.homebody .fulc{position:absolute;left:calc(50% - 22px);top:150px;font-size:44px;z-index:1}
body.homebody .beam2{position:absolute;left:12%;right:12%;top:146px;height:12px;background:linear-gradient(#c88a3c,#a8702a);border-radius:8px;transform-origin:center}
body.homebody .beam2 .sa,body.homebody .beam2 .sb2{position:absolute;top:-58px;font-size:54px;line-height:1}
body.homebody .beam2 .sa{left:6%}
body.homebody .beam2 .sb2{right:6%}
body.homebody .rbs{position:absolute;left:0;top:10px;width:100%;height:100%}
body.homebody .rb{fill:none;stroke-linecap:round}
body.homebody .dr2{position:absolute;right:8%;top:100px;font-size:34px}
body.homebody .pud{position:absolute;left:calc(50% - 48px);top:100px;font-size:96px}
body.homebody .clo{position:absolute;top:80px;width:84px;height:84px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:30px}
body.homebody .th{position:absolute;top:40px;width:18px;height:150px;background:#fff;border:3px solid #ddd;border-radius:10px;overflow:hidden;display:flex;align-items:flex-end}
body.homebody .th i{display:block;width:100%;background:#ff4d4d}
body.homebody .wand{position:absolute;left:8%;bottom:20px;font-size:70px}
body.homebody .sb{position:absolute;border-radius:50%;background:radial-gradient(circle at 30% 30%,#fff,#bfe9ff88 60%,#e8c8ff88);border:2px solid #ffffffaa;opacity:0}
body.homebody .glass{position:absolute;left:calc(50% - 50px);bottom:10px;width:100px;height:110px;border:5px solid #ffffffcc;border-radius:10px 10px 24px 24px;background:#ffffff44}
body.homebody .dp{position:absolute;top:46px;font-size:80px;line-height:1;z-index:3}
body.homebody .dp.res{top:96px;font-size:84px}
body.homebody .two,body.homebody .three{display:grid;gap:12px;margin:10px 0}
body.homebody .two{grid-template-columns:1fr 1fr}
body.homebody .three{grid-template-columns:repeat(3,1fr)}
body.homebody .big2{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:4px solid #fff;border-radius:24px;padding:12px 6px;font:inherit;font-weight:900;font-size:clamp(1rem,3.8vw,1.25rem);color:#fff;cursor:pointer;min-height:92px;box-shadow:0 6px 0 rgba(0,0,0,.18);transition:transform .12s;line-height:1.2}
body.homebody .big2 span{font-size:clamp(36px,10vw,52px);line-height:1.1}
body.homebody .big2.num{font-size:clamp(2rem,8vw,2.8rem)}
body.homebody .big2.c0{background:linear-gradient(180deg,#ff8aa5,#ff4d73)}
body.homebody .big2.c1{background:linear-gradient(180deg,#58d8ff,#19a8e8)}
body.homebody .big2.c2{background:linear-gradient(180deg,#8be07e,#22b25a)}
body.homebody .big2:active{transform:translateY(4px);box-shadow:0 2px 0 rgba(0,0,0,.18)}
body.homebody .big2:disabled{cursor:default;opacity:.55;filter:saturate(.6)}
body.homebody .big2.right{opacity:1;filter:none;animation:pop .4s ease both;outline:6px solid #ffe14d}
body.homebody .big2.wrong{animation:shake .4s ease}
body.homebody .big2.pilebtn{background:#fff;color:var(--ink);border:4px solid #bfe9ff}
body.homebody .big2.pilebtn.c1{border-color:#ffd0e8}
body.homebody .pile{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;font-size:34px;line-height:1.1;padding:6px}
body.homebody .pile.tapc{font-size:48px;gap:8px;background:#fafaff;border-radius:20px;border:3px dashed #d6c8ff;min-height:96px;margin:6px 0}
body.homebody .pile.tapc span{cursor:pointer;position:relative;transition:transform .15s}
body.homebody .pile.tapc span.cnt{opacity:.55;transform:scale(.88)}
body.homebody .pile.tapc span.cnt:after{content:attr(data-c);position:absolute;right:-2px;top:-6px;font-size:18px;background:#6c4cf0;color:#fff;border-radius:99px;min-width:24px;height:24px;line-height:24px;text-align:center;font-weight:900}
body.homebody .hint{text-align:center;color:var(--ink2);font-weight:700}
body.homebody .hfb{text-align:center;font-size:clamp(1.05rem,3.8vw,1.3rem);line-height:1.4;margin:6px 0;min-height:8px}
body.homebody .gd{color:#0e9b52}
body.homebody .bd{color:#d6336c}
body.homebody .chunk{border:0;border-radius:999px;background:linear-gradient(180deg,#8f73ff,#6c4cf0);color:#fff;padding:12px 22px;font-size:1.15rem;box-shadow:0 5px 0 #4a2fb8;margin:6px 4px;text-decoration:none;display:inline-block;min-height:48px}
body.homebody .chunk:active{transform:translateY(3px);box-shadow:0 2px 0 #4a2fb8}
body.homebody .chunk.ghost{background:#fff;color:#5a3bd6;border:3px solid #d6c8ff;box-shadow:0 4px 0 #d6c8ff}
body.homebody .chunk.big{font-size:1.35rem;padding:14px 26px;background:linear-gradient(180deg,#ffb938,#ff8a00);box-shadow:0 6px 0 #c76a00}
body.homebody .chunk:disabled{opacity:.45}
body.homebody .fin{text-align:center;padding:18px 8px}
body.homebody .fin .big{font-size:clamp(1.3rem,5vw,1.8rem);font-weight:900;margin-bottom:10px}
body.homebody .stp{display:flex;align-items:center;gap:12px;background:#fff9e0;border:3px solid #ffe08a;border-radius:24px;padding:14px;min-height:110px}
body.homebody .stp .sn{flex:0 0 58px;height:58px;border-radius:50%;background:linear-gradient(180deg,#ffb938,#ff8a00);color:#fff;font-size:2rem;font-weight:900;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 0 #c76a00}
body.homebody .stx{flex:1;font-size:clamp(1.1rem,4.2vw,1.4rem);line-height:1.4;font-weight:700}
body.homebody .snb2{border:0;background:#e8e0ff;border-radius:50%;width:46px;height:46px;font-size:22px;cursor:pointer;flex:0 0 46px}
body.homebody .stnav{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-top:8px}
body.homebody .stnav span{font-weight:800;color:var(--ink2)}
body.homebody .win{margin:10px auto;background:linear-gradient(135deg,#fff3a8,#ffd0e8);border:4px solid #fff;border-radius:24px;padding:14px;font-size:1.4rem;font-weight:900;text-align:center;animation:bounceIn .6s ease both;box-shadow:0 6px 0 #ffd45e}
body.homebody .ww{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
body.homebody .ww b{font-size:1.8rem;color:#6c4cf0;background:#efeaff;padding:2px 16px;border-radius:99px}
body.homebody .ww span{font-size:1.1rem;flex:1}
body.homebody .printcard{display:none}
@media print{body.homebody *{visibility:hidden}
body.homebody .printcard,body.homebody .printcard *{visibility:visible}
body.homebody .printcard{display:block;position:absolute;left:0;top:0;width:100%;padding:20px;font-family:Arial,sans-serif;color:#000}
body.homebody .printcard h1{background:none;color:#000;-webkit-text-fill-color:#000}
body.homebody .printcard li{margin:6px 0;font-size:16px}

}
@media(max-width:420px){body.homebody .hmasc{flex-basis:72px}
body.homebody .anu{width:72px;height:72px}
body.homebody .stp .sn{flex-basis:46px;height:46px;font-size:1.5rem}
body.homebody .hstage{height:210px}
body.homebody .hstage .it{font-size:56px}
}
@media(prefers-reduced-motion:reduce){body.homebody .anu,body.homebody .anu .orb,body.homebody .room .re,body.homebody .act .ae,.homebanner .hb-e{animation:none}
}
body.homebody .he{font-style:normal}


body.homebody .hstage .it{will-change:transform;backface-visibility:hidden;transform:translateZ(0)}
body.homebody .hstage .it.idle{animation:qhover 1.8s ease-in-out infinite}
body.homebody :focus-visible{outline:4px solid #6c4cf0;outline-offset:3px;border-radius:12px}
body.homebody .hstage .it img.em,body.homebody .big2 span img.em,body.homebody .re img.em{width:1em;height:1em;vertical-align:baseline}
body.homebody .hstage .it img.em{display:block}
body.homebody .fi span img.em,body.homebody .ae img.em{vertical-align:middle}

body.homebody .hl{display:inline-block}
body.homebody .act .ae{font-size:60px}
