#kw-ls *{box-sizing:border-box}
#kw-ls{margin:0;background:#f5f7fb;color:#23324a;font:18px system-ui,sans-serif}
#kw-ls .ls-toolbar{background:#fff;border-bottom:1px solid #dce4ef;padding:18px 5%;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#kw-ls button,#kw-ls select{font:inherit;border:0;border-radius:14px;padding:12px 18px;cursor:pointer;background:#e6edf9;color:#23324a}
#kw-ls button:hover{filter:brightness(.95)}
#kw-ls button:focus-visible,#kw-ls select:focus-visible{outline:3px solid #315bd6}
#kw-ls .ls-main{max-width:1050px;margin:auto;padding:28px 20px}
#kw-ls h1{font-size:clamp(28px,5vw,46px);margin:0 0 10px}
#kw-ls h2{margin-top:0}
#kw-ls .hero{background:#dce9ff;border-radius:28px;padding:30px;margin-bottom:24px}
#kw-ls .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}
#kw-ls .tile{min-height:150px;text-align:left;padding:22px;display:flex;flex-direction:column;gap:12px;font-weight:700;font-size:21px}
#kw-ls .emoji{font-size:44px}
#kw-ls .panel{background:white;border-radius:24px;padding:24px;box-shadow:0 6px 24px #24364a0c;margin-top:18px}
#kw-ls .choices{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
#kw-ls .choices button{min-width:76px;font-size:24px}
#kw-ls .primary{background:#315bd6;color:white}
#kw-ls .muted{color:#53647a}
#kw-ls .big{font-size:clamp(30px,7vw,65px);font-weight:750;overflow-wrap:anywhere}
#kw-ls .feedback{min-height:32px;font-weight:bold}
#kw-ls .memory{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:550px}
#kw-ls .memory button{height:80px;font-size:32px;padding:4px}
#kw-ls canvas{width:100%;max-width:650px;border:2px solid #cbd5e1;border-radius:12px;touch-action:none;background:white;display:block}
#kw-ls .sheet{background:white;color:#111;padding:20px}
#kw-ls .sheet p{border-bottom:1px solid #ddd;padding:12px}
#kw-ls .story{line-height:1.8;max-width:700px}
#kw-ls .small{font-size:14px}
#kw-ls .ls-footer{text-align:center;padding:24px;color:#53647a}
@media  print{#kw-ls .ls-toolbar,#kw-ls .ls-footer,#kw-ls .no-print{display:none!important}
#kw-ls,#kw-ls .ls-main,#kw-ls .panel{background:white;margin:0;padding:0;box-shadow:none}
#kw-ls .sheet{display:block}}
@media (max-width:450px){#kw-ls .panel{padding:16px}
#kw-ls .memory button{height:65px}
#kw-ls .hero{padding:20px}}
#kw-ls{background:#f4f8ff}
#kw-ls .ls-toolbar{border:0;box-shadow:0 4px 20px #24364a12}
#kw-ls .hero{background:linear-gradient(125deg,#dceaff,#e6f9e9);display:flex;align-items:center;justify-content:space-between;gap:15px}
#kw-ls .hero img{width:clamp(85px,25vw,220px)}
#kw-ls .tile{border:1px solid #ffffff;box-shadow:0 6px 0 #24364a15,0 12px 24px #24364a0b;transition:transform .15s}
#kw-ls .tile:hover{transform:translateY(-3px)}
#kw-ls .tile img{width:75px;height:75px}
#kw-ls .levelbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
#kw-ls .feedback{color:#216e43}
#kw-ls .mascot{width:90px;float:right}
#kw-ls .choices button:disabled{opacity:.65}
#kw-ls .hero h1{color:#25466b}
@media (prefers-reduced-motion:reduce){#kw-ls *{transition:none!important}}
#kw-ls{background:#f4f7ed;color:#284638}
#kw-ls .ls-toolbar{background:#fffdf5;position:sticky;top:0;z-index:2}
#kw-ls .ls-toolbar strong{color:#326b4d}
#kw-ls .hero{background:#d7ebc7 url(forest.svg) center/cover;min-height:290px;position:relative;overflow:hidden;flex-wrap:wrap;border:2px solid #fff;box-shadow:0 12px 30px #456c3820}
#kw-ls .hero>div:first-child{background:#fffdf2e8;border-radius:22px;padding:20px;max-width:570px;z-index:1}
#kw-ls .hero h1{color:#285b42}
#kw-ls .friends{display:flex;align-items:end;justify-content:center;flex:1;min-width:220px}
#kw-ls .friends img{width:25%;max-width:140px;filter:drop-shadow(0 6px 5px #365b3730)}
#kw-ls .tile{background-image:linear-gradient(145deg,#ffffff80,transparent)!important;min-height:170px;border-radius:24px;color:#284638}
#kw-ls .tile img{width:100px;height:95px}
#kw-ls .tile .emoji{font-size:30px}
#kw-ls .panel{border:2px solid #e0ead8;background:#fffdf7}
#kw-ls .big{background:#285b45;color:#fff9dd;border:8px solid #b78b58;border-radius:20px;padding:24px;text-align:center;box-shadow:inset 0 0 20px #163c2b80;clear:both}
#kw-ls .choices button{background:#e5efda;color:#284638;border-bottom:4px solid #a9c49b}
#kw-ls .primary{background:#397b57;color:white}
#kw-ls .mascot{width:130px}
#kw-ls .ls-footer a{color:#285b42;font-weight:bold}
#kw-ls .roundbar{height:10px;background:#dce8d3;border-radius:12px;overflow:hidden}
#kw-ls .roundbar span{display:block;height:100%;background:#58a86b}
#kw-ls .hero p{margin:8px 0}
@media (max-width:500px){#kw-ls .hero{padding:14px}
#kw-ls .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#kw-ls .tile{padding:12px;font-size:16px;min-height:135px}
#kw-ls .tile img{width:76px;height:72px}
#kw-ls .big{padding:14px}
#kw-ls .mascot{width:85px}}
@media  print{#kw-ls .ls-footer{display:block!important}
#kw-ls .sheet p{padding:5px;margin:6px 0}}
#kw-ls{background:linear-gradient(135deg,#d9f3c5,#a8dfe7);min-height:100vh}
#kw-ls .ls-toolbar{background:#234f38;color:white;border-bottom:5px solid #d6a353}
#kw-ls .ls-toolbar strong{color:#fff4c6;font-size:clamp(18px,3vw,26px)}
#kw-ls .ls-toolbar button,#kw-ls .ls-toolbar select{background:#fff1c4}
#kw-ls .ls-main{max-width:1180px}
#kw-ls .hero{background:#315c39 url(landscape.webp) center/cover;min-height:clamp(230px,34vw,400px);display:flex;align-items:end;justify-content:center;padding:16px;border:6px solid #b77b35}
#kw-ls .hero>div:first-child{background:#234f38e8;color:white;max-width:100%;text-align:center;padding:12px 24px}
#kw-ls .hero h1{color:#fff1b7;font-size:clamp(22px,3vw,34px)}
#kw-ls .hero .friends{display:none}
#kw-ls .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#kw-ls .tile{align-items:center;text-align:center;justify-content:center;border:3px solid white;box-shadow:0 6px 0 #567343,0 12px 22px #274f3840;background-image:linear-gradient(150deg,#ffffff88,transparent)!important;min-height:175px}
#kw-ls .tile img{width:125px;height:85px;object-fit:cover;border-radius:20px;animation:bob 3s ease-in-out infinite}
#kw-ls .tile:nth-child(2n) img{animation-delay:-1s}
#kw-ls .tile .emoji{font-size:30px}
#kw-ls .panel{background:#fff8df;border:5px solid #b77b35;box-shadow:0 10px 24px #244b3b40}
#kw-ls .big{background:linear-gradient(140deg,#28644a,#123d30);border-color:#b77b35;text-shadow:0 2px 2px #123d30}
#kw-ls .mascot{width:150px;border-radius:24px;animation:bob 3s ease-in-out infinite}
#kw-ls .choices button{background:linear-gradient(#fff9d8,#f5c45c);border:2px solid white;border-bottom:5px solid #b77b35;font-weight:750}
#kw-ls .choices button.right{background:#a5ed78;opacity:1;animation:pop .4s ease}
#kw-ls .primary{background:linear-gradient(#55a85c,#257744);border-bottom:4px solid #164d2c}
#kw-ls .primary:disabled{opacity:.5;cursor:default}
#kw-ls .ls-footer{background:#234f38;color:#fff4c6}
#kw-ls .ls-footer a{color:white}
@keyframes  bob{50%{transform:translateY(-5px)}}
@keyframes  pop{50%{transform:scale(1.1)}}
@media (max-width:600px){#kw-ls .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#kw-ls .tile{min-height:145px}
#kw-ls .tile img{width:100px;height:70px}
#kw-ls .mascot{width:90px}
#kw-ls .hero{background-position:center top}
#kw-ls .hero>div:first-child{padding:8px}
#kw-ls .hero p{font-size:14px}}
@media (prefers-reduced-motion:reduce){#kw-ls *{animation:none!important}}
@media  print{#kw-ls,#kw-ls .ls-footer{background:white;color:black}
#kw-ls .ls-footer a{color:black}}
#kw-ls .tile img{width:100%;height:auto;aspect-ratio:2.2;object-fit:cover;animation:none;border-radius:16px}
#kw-ls .tile{padding:9px;gap:6px}
#kw-ls .tile span{display:none}
#kw-ls .panel{position:relative;isolation:isolate;overflow:hidden}
#kw-ls .panel:before{content:"";position:absolute;inset:0;background:var(--scene) center/cover;opacity:.10;z-index:-1}
#kw-ls .picture{width:clamp(75px,15vw,150px);height:auto;aspect-ratio:1.5;object-fit:contain;border-radius:15px;display:block;margin:8px auto}
#kw-ls .choices button .picture{width:100px}
#kw-ls .memory button{height:auto;min-height:65px;aspect-ratio:1.3}
#kw-ls .memory img{width:100%;height:100%;object-fit:contain;border-radius:9px}
#kw-ls .storyart{width:min(100%,360px);display:block;margin:auto;border-radius:20px}
#kw-ls .mascot.cheer{animation:cheer .65s ease}
#kw-ls .mascot.retry{animation:retry .5s ease}
@keyframes  cheer{40%{transform:translateY(-22px) rotate(-8deg) scale(1.12)}}
@keyframes  retry{30%,70%{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}
#kw-ls .seo-info{margin:28px 0 0;padding:24px;background:#fffdf5;border-radius:22px;line-height:1.6}
#kw-ls .seo-info a{color:#285b42}
#kw-ls .seo-info h3{margin-bottom:6px}
@media  print{#kw-ls .seo-info{display:none}}
#kw-ls .editorial{max-width:1180px;margin:0 auto 28px;padding:0 20px}
#kw-ls .editorial [hidden]{display:none!important}
@media  print{#kw-ls .editorial{display:none!important}}
#kw-ls{background:transparent;min-height:0;margin:20px auto;color:#284638}#kw-ls .ls-toolbar{position:static;border-radius:16px;display:flex;justify-content:space-between;align-items:center;padding:12px;flex-wrap:wrap}#kw-ls .hero{align-items:center;background-position:center;min-height:0;padding:24px;gap:20px}#kw-ls .hero>div:first-child{flex:1;min-width:220px}#kw-ls .hero .friends{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;flex:1}#kw-ls .friends button{background:#fff8df;border:2px solid white;padding:4px;border-radius:18px;color:#245c43;font-weight:800;overflow:hidden}#kw-ls .friends img{width:100%;max-width:none;display:block;aspect-ratio:1;object-fit:cover;border-radius:12px;filter:none}#kw-ls .friends button:hover img,#kw-ls .friends button.active img{animation:ls-hop .65s ease}#kw-ls .friends button:nth-child(2).active img{animation:ls-wing .65s ease}@keyframes ls-hop{40%{transform:translateY(-8px) scale(1.05)}}@keyframes ls-wing{30%,70%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}#kw-ls .ls-main{padding:0;max-width:none}#kw-ls .ls-toolbar button{color:#245c43}#kw-ls .editorial{padding:0}#kw-ls .ls-footer{display:none}#kw-ls .hero h1{line-height:1.2}#kw-ls .ls-dialog{min-height:2em;color:white}#kw-ls .tile{color:#284638}#kw-ls .choices button{color:#284638}#kw-ls .primary{color:white}#kw-ls .panel:before{display:none}@media(prefers-reduced-motion:reduce){#kw-ls *{animation:none!important}}@media print{body.kw-ls-print *{visibility:hidden}body.kw-ls-print #kw-ls .sheet,body.kw-ls-print #kw-ls .sheet *,body.kw-ls-print #kw-ls canvas{visibility:visible}body.kw-ls-print #kw-ls .sheet,body.kw-ls-print #kw-ls canvas{position:absolute;left:0;top:0;width:100%;max-width:none}}