html,body{background:#133e52}#app{background:#153f54 url('assets/escenario.webp') center/cover no-repeat}.cover{width:100vw;height:100dvh;aspect-ratio:auto;isolation:isolate;background:url('assets/escenario.webp') center/cover}.cover:before{content:'';position:absolute;inset:0;background:#102e4033;z-index:-1}.cover-art{position:absolute;left:50%;top:calc(50% - 18px);transform:translate(-50%,-50%);width:min(100vw,calc((100dvh - 40px)*1.5));aspect-ratio:3/2}.cover-art>img{width:100%;height:100%;display:block}.home-links{bottom:0;height:36px;background:#123b50eb;border-top:1px solid #c59d4c;font-size:16px;gap:2vw}.home-links button{font-size:15px}.presents{position:absolute;left:1.3vw;top:1.2vh;margin:0;padding:.4em .9em;background:#143c50ed;color:#fff1ca;border:1px solid #e2bc65;border-radius:22px;font-size:clamp(13px,1.6vw,21px);box-shadow:0 2px 8px #0003}.scene{width:100vw;height:100dvh;background-size:100% 100%;overflow:hidden}.scene-title{top:1%;left:21%;width:58%;padding:.15em .5em .22em;margin:0;background:#fff0cd;border:3px solid #dda943;border-radius:35% 16% 30% 12%/22% 35% 20% 30%;color:#16465a;text-shadow:0 1px #fff;box-shadow:0 4px 0 #8e6434,0 5px 13px #102d4266;font-size:clamp(23px,3.3vw,48px);line-height:1.1;z-index:4}.scene .nav{top:2%;left:1%;right:1%;z-index:5}.scene-option{font-size:clamp(23px,3.1vw,44px);line-height:1.1;padding:.3% 1%;text-wrap:balance}.host-spot{position:absolute;left:38%;bottom:4%;width:24%;height:10%;border-radius:50%;background:radial-gradient(ellipse,#f5cf7866,#f4ba4766 60%,#d6a44c00 72%);box-shadow:0 8px 12px #123f4f22}.scene-host{left:37%;width:26%;height:66%;bottom:7%}.host-marvin{left:35%;width:27%;height:68%;bottom:7%}.host-mika{left:37%;width:26%;height:64%;bottom:6%}.game{padding:.8vh 2vw;gap:.6vh}.game-head{padding:.25em .45em;background:#123e54f5;border:2px solid #d9af54;border-radius:18px;box-shadow:0 3px 8px #0003}.game-head h1{color:#fff0b4;text-shadow:0 2px #102e42;font-size:clamp(23px,3vw,43px)}.instruction{margin:0 auto;padding:.25em .9em;background:#fff0d4f5;color:#153f52;border:1px solid #ddb664;border-radius:13px;font-size:clamp(16px,1.7vw,24px);max-width:96%;line-height:1.2}.sentence{display:block}.status{min-height:0;width:fit-content;max-width:98%;background:#fff1d9f7;color:#17495b;padding:.3em 1em;border:2px solid #d9b85c;border-radius:15px;font-size:clamp(16px,1.7vw,24px);line-height:1.2;margin:0 auto;text-wrap:balance}.status:empty{display:none}.stage{padding:.5vh 1vw;gap:.7vh}.counter{position:static;align-self:center;display:flex;align-items:center;gap:12px;background:#fff2d7;color:#163f53;border:3px solid #e0ad43;box-shadow:0 3px 0 #93622d;border-radius:16px;padding:.1em .8em;line-height:1}.counter strong{font-size:clamp(32px,5vw,65px);color:#ad4d28}.counter span{font-size:clamp(16px,1.8vw,26px)}.counter small{font-size:.8em}.memory{height:auto;flex:1;max-width:none!important;width:min(92vw,1350px);gap:.6vh .6vw}.tile img{background:#c6dfd4;border-radius:10px;object-fit:contain;padding:2%}.tile{overflow:hidden;background:#174e64}.tile.matched{background:#98d6c0}.tile .back{background:none}.thoughts-paper{padding:1vh 3vw}.thought-intro,.thought-detail,.treasure-intro{display:grid;grid-template-columns:24% 1fr;align-items:center;gap:3vw;max-width:1100px;width:100%;height:100%;min-height:0}.thought-intro h2,.treasure-intro h2{font-size:clamp(23px,3vw,40px);line-height:1.15}.thought-intro p,.treasure-intro p{font-size:clamp(17px,2vw,27px);line-height:1.25}.thought-host,.treasure-intro>img{width:100%;height:100%;max-height:50vh;object-fit:contain;transform-origin:50% 85%}.thought-question{color:#174b5f!important;text-shadow:none!important;font-size:clamp(23px,2.8vw,38px)}.thought-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:2vw;width:100%;min-height:0;flex:1}.thought-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6vh;font-size:clamp(22px,2.7vw,38px);padding:.6vh 1vw;line-height:1.1;text-wrap:balance;min-height:0}.thought-choice img{width:100%;height:24vh;min-height:0;object-fit:contain}.thought-detail .thought{color:#16465c;font-size:clamp(24px,3.4vw,46px);line-height:1.2;max-width:none;text-align:left}.phase-label{font-size:clamp(17px,1.8vw,26px);color:#9c5b31}.thought-detail .row{justify-content:flex-start;margin-top:2vh}.host-cheer{animation:hostCheer 1.1s ease-in-out}@keyframes hostCheer{0%,100%{transform:translateY(0) rotate(0)}20%{transform:translateY(-12%) rotate(-7deg)}45%{transform:translateY(0) rotate(6deg)}70%{transform:translateY(-7%) rotate(-4deg)}}.treasure-grid{display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(2,1fr);gap:1vh 1vw;width:100%;flex:1;min-height:0}.treasure-item{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;font-size:clamp(20px,2.3vw,32px);padding:.4vh .4vw;gap:.3vh;line-height:1.05}.mini-icon{width:100%;height:100%;object-fit:contain;max-width:100px;max-height:10vh;flex-shrink:1}.treasure-item .mini-icon{height:10vh}.treasure-item.wrong{border:4px solid #a43e35;background:#f8c5b6}.treasure-item.missed{border:4px dashed #365e73;background:#d2e5df}.treasure-review{background:#fff0d7;color:#16455a;border-radius:12px;font-size:clamp(15px,1.6vw,23px);line-height:1.2;text-align:center;max-width:100%;padding:0 .7em}.treasure-review:empty{display:none}.treasure-review p{margin:.2em 0}.treasure-controls .row{flex-wrap:nowrap}.wheel-wrap{gap:3vw;width:100%;justify-content:space-evenly}.wheel-scene{position:relative;aspect-ratio:1;height:min(62vh,52vw);max-height:100%;flex-shrink:0}.wheel{height:100%;width:100%;border-width:7px;box-shadow:0 5px 0 #9b6a32}.wheel-segment{position:absolute;width:29%;height:31%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;font-size:clamp(13px,1.3vw,20px);color:#173e4f;line-height:1.05;text-align:center}.wheel-segment .mini-icon{height:68%;width:65%;max-height:none;max-width:none}.wheel-segment img{position:static;width:100%;height:100%;object-fit:contain}.singing-mika{position:relative;width:70%;height:68%}.singing-mika .mini-icon{position:absolute;right:-30%;top:0;width:55%;height:50%}.wheel-hub{position:absolute;left:39%;top:39%;width:22%;height:22%;background:#fff1c8;border:3px solid #dbad46;border-radius:50%;padding:3%;pointer-events:none}.wheel-hub img{width:100%;height:100%;object-fit:contain}.pointer{left:calc(50% - 14px);top:-13px;color:#a43c26;font-size:30px;text-shadow:0 1px #ffe3a5}.plan-box{width:38vw;padding:2vh 2vw;color:#16465b;display:flex;flex-direction:column;align-items:center;gap:1vh;max-height:100%}.plan-box h2{font-size:clamp(24px,3.5vw,46px);line-height:1.05}.plan-box p{font-size:clamp(17px,1.9vw,27px);line-height:1.2}.plan-box p>.mini-icon{display:block;margin:auto;height:12vh}.plan-box button{font-size:clamp(21px,2.5vw,32px)}.illusion-menu{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,1fr);height:100%;width:100%;max-width:none}.illusion-menu button{height:auto;min-height:0;font-size:clamp(19px,2.2vw,31px);padding:.6vh 1vw}.illusion-explain{font-size:clamp(17px,1.9vw,27px)}.illusion-explain h2{font-size:1.3em}.word-grid{width:auto!important;height:100%;max-height:100%;aspect-ratio:1;flex-shrink:0;gap:2px}.word-grid button{font-size:clamp(16px,3.2vh,28px);border-width:1px;line-height:1}.word-layout{gap:2vw}.word-list{background:#fff0d6;color:#16465a;border:2px solid #dab55c;border-radius:16px;padding:.6vh 1vw;line-height:1.3;max-width:42%;display:flex;flex-wrap:wrap;align-content:center;gap:.3vh 1vw;font-size:clamp(18px,2vw,29px);max-height:100%}.word-list .muted{font-size:clamp(16px,1.6vw,23px);width:100%;line-height:1.2;border-top:1px solid #d2b66e;padding-top:.4vh}.word-list .done{color:#34705d}.soup-progress{width:100%;font-size:clamp(17px,1.8vw,25px);color:#875327}.soup-actions{display:flex;gap:8px;flex-wrap:wrap}.soup-actions button{font-size:clamp(16px,1.7vw,23px)}.hidden-result{display:flex;align-items:center;justify-content:center;gap:3vw;width:100%;height:100%;min-height:0}.hidden-result .reward{height:100%;max-height:40vh;width:35%;max-width:35%;object-fit:contain;aspect-ratio:1;background:#d3e8dc;border:5px solid #e1b354;border-radius:30px;padding:2vh}.hidden-result h2{font-size:clamp(30px,5vw,65px);color:#17475b}.hidden-result>div{background:#fff0d7;border:3px solid #dcb35b;border-radius:22px;padding:2vh 3vw;max-width:50%;text-align:center}.number{font-size:clamp(40px,7vw,90px);line-height:1.2}.steps{font-size:clamp(18px,2.1vw,29px);line-height:1.25;max-width:1100px;width:96%}.prediction{display:inline-block;background:#17475d;color:#fff0bb;border:4px solid #dfba60;padding:.1em .7em;font-size:clamp(32px,6vw,72px);border-radius:15px}.math-line{font-size:clamp(27px,4.2vw,58px);color:#a15b2c;line-height:1.25}.math-blank{display:inline-block;min-width:1.7em;border-bottom:4px solid #cc9e43}.cups-floor{height:43vh;max-height:100%}.ball{display:none}.ball.visible{display:block}.cup{height:100%;bottom:-4px;overflow:visible}.cup svg{display:block}.cup-choice-label{position:absolute;bottom:8%;left:40%;color:#ffedbb;font-size:clamp(17px,2vw,28px);pointer-events:none}.draw-side{background:#153f50ed;border:1px solid #d4ad58;border-radius:14px;padding:.5vh .6vw}.draw-side h3{font-size:clamp(16px,1.7vw,25px)}.draw-side .save-note{color:#fff0ca;font-size:clamp(12px,1.2vw,17px)}
@media(max-height:440px){.game{padding:.4vh 1.5vw;gap:.4vh}.game-head{padding:.1em .3em}.game-head h1{font-size:23px}.game-head button{font-size:15px;padding:.15em .6em}.instruction{font-size:16px;padding:.17em .7em}.status{font-size:16px;padding:.17em .6em;border-width:1px}.scene-title{font-size:clamp(22px,3.4vw,30px);padding:.1em .4em;border-width:2px}.scene-option{font-size:clamp(22px,3vw,29px)}.presents{font-size:13px;padding:.2em .6em}.home-links{font-size:14px}.home-links button{font-size:13px}.thought-intro h2,.treasure-intro h2{font-size:23px}.thought-intro p,.treasure-intro p{font-size:17px;margin:.3em 0}.thought-choice{font-size:23px}.thought-choice img{height:22vh}.thought-detail .thought{font-size:26px}.thoughts-paper{padding:.5vh 2vw}.treasure-item{font-size:20px;border-radius:11px}.treasure-item .mini-icon{height:8vh}.counter{gap:7px;padding:.05em .6em}.counter strong{font-size:35px}.counter span{font-size:17px}.counter small{font-size:14px}.wheel-scene{height:min(60vh,47vw)}.plan-box{gap:.5vh;padding:1vh 1.5vw}.plan-box h2{font-size:27px}.plan-box p{font-size:17px}.plan-box button{font-size:22px}.wheel-segment{font-size:13px}.illusion-menu button{font-size:20px}.word-list{font-size:19px;padding:.5vh 1vw}.word-list .muted{font-size:16px}.word-grid button{font-size:clamp(16px,4vh,22px)}.soup-progress{font-size:17px}.soup-actions button{font-size:15px;padding:.2em .5em}.hidden-result .reward{max-height:40vh}.steps{font-size:18px}.steps .muted{font-size:16px}.steps p{margin:.3em 0}.steps .row button{font-size:18px;padding:.3em .7em}.draw-side{padding:.3vh .4vw}.draw-side .save-note{font-size:11px}.draw-side h3{font-size:16px}.thought-detail .row{margin-top:1vh}.treasure-review{font-size:15px}.memory{gap:3px}.thought-intro,.treasure-intro{grid-template-columns:20% 1fr;gap:2vw}}
@media print{#app{background:white}.game-head,.instruction,.status,.draw-side{display:none!important}.game{background:white;padding:0}.canvas-wrap{border:0}.print-title{color:#143f50}.presents,.home-links{display:none}}
.illusion-image{width:55%;height:95%;display:flex;align-items:center;justify-content:center}.illusion-image svg{width:100%;max-height:100%}.hidden-clue{background:#fff0d7;border:2px solid #dab45c;border-radius:15px;padding:.2em 1em;color:#17475a!important;text-shadow:none!important;max-width:95%;font-size:clamp(22px,2.5vw,35px)}.word-progress{font-size:clamp(15px,1.5vw,21px);color:#fff0ca;background:#123f52;padding:.1em .9em;border-radius:10px}.hidden-result p{font-size:clamp(20px,2.4vw,32px)}
.mika-face{display:block;width:100%;height:100%;border-radius:50%;background:url('assets/mika.png') 50% 0/150% auto no-repeat}.singing-mika .mini-icon{right:-35%;top:4%;width:65%;height:65%}.treasure-intro{grid-template-columns:18% 1fr}.treasure-item .mini-icon{max-height:12vh;height:12vh;max-width:110px}
.orientation-character{width:65vw;height:38vh;display:flex;align-items:center;justify-content:center}.orientation-character img{display:block;width:100%;height:100%;object-fit:contain;background:none;border:0;border-radius:0;box-shadow:none}#rotate{background:#15485e url('assets/escenario.webp') center/cover;color:#fff1c8;padding:5vw;gap:1.5vh}#rotate h1,#rotate>p{background:#123c52ec;border:1px solid #d9b660;border-radius:16px;padding:.35em .7em;margin:0}#rotate h1{font-size:clamp(25px,7vw,40px)}#rotate>p{font-size:20px}
.word-list .muted{margin:.15em 0}.prediction{line-height:1.05;margin:.1em 0!important;padding:.08em .5em;border-width:3px}@media(max-height:360px){.prediction{font-size:32px}.steps p{margin:.2em 0}.steps .muted{margin:0}.word-list{gap:1px 1vw}.word-list .muted{margin:.1em 0}}
.cover{background:#82432f}.cover:before{inset:0 0 36px;background:#82432f url('assets/cover-wide.webp') center/auto 100% no-repeat}.cover-art{width:calc((100dvh - 36px)*1.5);height:calc(100dvh - 36px);aspect-ratio:3/2;top:calc(50% - 18px)}.cover-art>img{mask-image:linear-gradient(to right,transparent,#000 2%,#000 98%,transparent)}
.host-mika{left:39%;width:26%}
p{text-wrap:pretty}.game .stage>h2{text-wrap:balance}
