@font-face{font-family:Bpmf;src:url(/fonts/BpmfHuninn-Regular.ttf)format("truetype");font-display:block}:root{--sky:#5ec8f2;--ink:#3b2a1a;--card:#fffaf0;--accent:#ffb300;--good:#43a047;--bad:#e53935;--shadow:0 6px 0 #0000002e}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}html,body{background:var(--sky);height:100%;color:var(--ink);touch-action:manipulation;margin:0;font-family:Bpmf,system-ui,sans-serif;overflow:hidden}:root.lang-en body{font-family:system-ui,sans-serif}button{color:inherit;cursor:pointer;font-family:inherit}#app{position:fixed;inset:0}#game{position:absolute;inset:0}#overlay{pointer-events:none;position:absolute;inset:0}#overlay>*{pointer-events:auto}#rotate{display:none}@media (orientation:portrait){#rotate{z-index:100;text-align:center;background:var(--sky);color:#fff;justify-content:center;align-items:center;padding:16px;font-size:8vw;display:flex;position:fixed;inset:0}}.save-warn{top:max(8px, env(safe-area-inset-top));z-index:50;box-sizing:border-box;text-align:center;color:#3b2a1a;width:max-content;max-width:calc(100vw - 32px);box-shadow:var(--shadow);pointer-events:none;background:#ffe082;border-radius:999px;padding:.4em 1em;font-size:clamp(14px,3.5vh,24px);position:fixed;left:50%;transform:translate(-50%)}.qcard{background:var(--card);width:min(94%,1100px);max-height:84%;box-shadow:var(--shadow);border:5px solid #fff;border-radius:28px;flex-direction:column;gap:1.4vh;padding:1.6vh 2vw;animation:.35s cubic-bezier(.2,1.4,.4,1) card-in;display:flex;position:absolute;top:2.5%;left:50%;transform:translate(-50%)}.qcard.leaving{animation:.35s ease-in forwards card-out}@keyframes card-in{0%{transform:translate(-50%,-120%)}to{transform:translate(-50%)}}@keyframes card-out{to{opacity:0;transform:translate(-50%,-140%)rotate(-6deg)}}.q-prompt{align-items:center;gap:1.2vw;font-size:clamp(22px,5.2vh,44px);line-height:1.5;display:flex}.q-media{white-space:pre-line;align-items:center;gap:.6em;display:flex}.q-media img{height:2.2em}.q-media .zhuyin{font-family:system-ui,sans-serif}.q-pic{color:#2b1d4e;background:#eef0ff;border-radius:16px;flex-direction:column;flex:none;align-self:stretch;gap:.6vh;padding:.8vh 1.2vw;display:flex}.q-figure{object-fit:contain;flex:0 30vh;align-self:center;max-width:100%;height:auto;min-height:18vh;display:block}.qcard.has-figure .q-answer{min-height:clamp(48px,12vh,110px);font-size:clamp(20px,4.6vh,40px)}.q-answer img{height:12vh}.pic-line{flex-wrap:nowrap;align-items:center;gap:.5vw;display:flex}.pic-lab{white-space:nowrap;flex:none;min-width:3em;font-size:clamp(14px,3.4vh,26px);font-weight:700}.pic-e{font-size:clamp(16px,4.6vh,36px);line-height:1.15}.pic-who{background:#fff;border:3px solid #ff8f1f;border-radius:10px;flex-direction:column;align-items:center;padding:.2vh .4vw;display:inline-flex}.pic-who small{white-space:nowrap;font-size:clamp(11px,2.4vh,18px);font-weight:700;line-height:1.6}.pic-q{color:#ff8f1f;border:3px dashed #ff8f1f;border-radius:10px;padding:0 .4em;font-size:clamp(16px,4.2vh,32px);font-weight:700;line-height:1.3}.pic-sep{background:#9fa8da;border-radius:2px;flex:none;align-self:stretch;width:3px;margin:.4vh .8vw}.q-options{flex-wrap:wrap;justify-content:center;gap:1.2vw;display:flex}.q-option{flex:auto;min-width:18%;max-width:48%;position:relative}.q-answer{width:100%;min-height:clamp(64px,16vh,140px);box-shadow:var(--shadow);background:#fff;border:0;border-radius:22px;justify-content:center;align-items:center;padding:1vh calc(2.2*clamp(16px,3.4vh,26px) + 12px) 1vh 1vw;font-size:clamp(22px,5.6vh,48px);transition:transform .1s;display:flex}.q-answer:active{transform:translateY(4px);box-shadow:0 2px #0000002e}.q-option .speak{position:absolute;top:50%;right:6px;transform:translateY(-50%)}.speak{background:#ffe082;border:0;border-radius:50%;flex:none;width:2.2em;height:2.2em;font-size:clamp(16px,3.4vh,26px)}.q-option.wrong .q-answer{color:#aaa;background:#eee;animation:.4s shake}.q-option.correct .q-answer{background:var(--good);color:#fff;transform:scale(1.08)}@keyframes shake{20%,60%{transform:translate(-10px)}40%,80%{transform:translate(10px)}}.q-hint{color:#8d5b00;background:#fff3c4;border-radius:14px;padding:.4em .8em;font-size:clamp(18px,4vh,32px)}.hud{padding:0 max(16px, env(safe-area-inset-left));pointer-events:none;justify-content:space-between;align-items:center;font-size:clamp(20px,5vh,40px);display:flex;position:absolute;bottom:2vh;left:0;right:0}.hud>*{pointer-events:auto}.hud-coins,.hud-dots{background:#ffffffd9;border-radius:999px;padding:.15em .7em}.hud-dots{letter-spacing:.2em;color:var(--accent)}.hud-pause{width:2em;height:2em;font-size:inherit;background:#ffffffd9;border:0;border-radius:50%}.dialog{z-index:10;background:#00000059;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.dialog-box{background:var(--card);text-align:center;min-width:min(90%,560px);box-shadow:var(--shadow);border-radius:32px;padding:3vh 4vw;animation:.35s cubic-bezier(.2,1.4,.4,1) card-in-center}@keyframes card-in-center{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}.dialog-box h2{margin:0 0 1vh;font-size:clamp(28px,7vh,56px)}.stars{letter-spacing:.1em;font-size:clamp(48px,14vh,110px)}.star{color:#ddd;display:inline-block}.star.on{color:var(--accent);animation:.4s both star-pop}@keyframes star-pop{0%{transform:scale(0)}70%{transform:scale(1.3)}to{transform:scale(1)}}.result-coins{margin-bottom:2vh;font-size:clamp(24px,6vh,48px)}.dialog-buttons{flex-wrap:wrap;justify-content:center;gap:2vw;display:flex}.big-btn{background:var(--accent);color:#fff;box-shadow:var(--shadow);border:0;border-radius:20px;padding:.4em 1.2em;font-size:clamp(22px,5.5vh,44px)}.big-btn:active{transform:translateY(4px)}.wcard{flex-direction:row;align-items:center;gap:3vw;width:auto}.w-grid{aspect-ratio:1;touch-action:none;background:linear-gradient(90deg,#0000 calc(50% - 1px),#f5b7b1 calc(50% - 1px) calc(50% + 1px),#0000 calc(50% + 1px)),linear-gradient(#0000 calc(50% - 1px),#f5b7b1 calc(50% - 1px) calc(50% + 1px),#0000 calc(50% + 1px)),#fff;border:4px solid #e57373;border-radius:18px;flex:none;width:min(62vh,48vw)}.w-side{flex-direction:column;align-items:center;gap:2.4vh;font-size:clamp(22px,5.2vh,44px);display:flex}.w-steps{gap:.4em;display:flex}.w-step{box-sizing:border-box;white-space:nowrap;color:#999;background:#eee;border-radius:999px;justify-content:center;align-items:center;min-width:1.8em;height:1.8em;padding:0 .25em;display:flex}.w-step.on{background:var(--accent);color:#fff}.w-msg{min-height:1.5em}.t-slots{flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:.3em;min-height:1.6em;font-size:clamp(26px,7vh,60px);display:flex}.t-slot{text-align:center;border-bottom:5px solid #bbb;min-width:1.2em;padding:0 .15em;line-height:1.3}.t-slot.filled{border-color:var(--good)}.t-end{line-height:1.3}.t-tray{flex-wrap:wrap;justify-content:center;gap:1vw;display:flex}.t-tile{min-width:clamp(56px,13vh,110px);min-height:clamp(56px,13vh,110px);box-shadow:var(--shadow);background:#fff;border:0;border-radius:18px;padding:0 .4em;font-size:clamp(26px,7vh,56px)}.t-tile.used{visibility:hidden}.t-tile.miss{color:#aaa;background:#eee;animation:.4s shake}.t-tile.hint{animation:.8s ease-in-out infinite tile-hint}@keyframes tile-hint{50%{background:#ffe082;transform:scale(1.1)}}.rcard{align-items:center}.rcard .w-steps{font-size:clamp(18px,4.4vh,32px)}.r-line{align-items:center;gap:1.2vw;display:flex}.r-text{max-height:40vh;font-size:clamp(28px,7vh,60px);line-height:1.6;overflow-y:auto}.r-unit{border-radius:10px;transition:background .15s}.r-unit.on{background:#ffe082}.r-actions{gap:2vw;min-height:clamp(48px,10vh,80px);display:flex}.recite{gap:.8vh}.r-title{font-size:clamp(16px,4vh,32px)}.r-poem{grid-template-columns:repeat(2,auto);gap:0 3vw;max-height:none;font-size:clamp(20px,5.2vh,46px);line-height:1.5;display:grid;overflow:visible}.r-row{white-space:nowrap}.r-hide{color:#0000;box-shadow:inset 0 -3px #ccc}.t-lines .t-slots{flex-direction:column;align-items:center;gap:.1em;font-size:clamp(18px,4.6vh,40px)}.t-lines .t-slot{white-space:nowrap;min-width:8em}.t-lines .t-tray{grid-template-columns:repeat(2,auto);gap:1vh 2vw;display:grid}.t-lines .t-tile{white-space:nowrap;min-height:clamp(40px,9vh,72px);font-size:clamp(18px,4.6vh,40px)}.w-prompt{text-align:center;font-size:clamp(16px,3.8vh,30px)}.pcard{flex-direction:row;align-items:stretch;gap:2vw}.p-text{flex-direction:column;flex:45%;align-items:flex-start;gap:1vh;min-height:0;display:flex}.p-body{white-space:pre-line;max-height:62vh;font-size:clamp(22px,5vh,40px);line-height:1.7;overflow-y:auto}.p-listen{font-size:clamp(28px,8vh,64px)}.p-q{flex-direction:column;flex:55%;justify-content:center;align-items:center;gap:1.4vh;min-width:0;display:flex}.pcard .qcard{width:100%;max-height:none;box-shadow:none;background:0 0;border:0;padding:0;animation:none;position:static;transform:none}.pcard .qcard.leaving{opacity:.4;animation:none}.pcard .q-option{flex:0 auto;min-width:18%;max-width:100%}@media (height<=559px){.pcard .q-answer{min-height:48px}.qcard{overflow:hidden auto}.pcard .qcard{overflow:visible}}.alog{z-index:50;pointer-events:auto;box-shadow:var(--shadow);background:#fff;border-radius:24px;flex-direction:column;gap:1vh;padding:2vh 3vw;font-size:clamp(14px,2.4vh,20px);display:flex;position:absolute;inset:4vh 4vw;overflow:auto}.alog h2{margin:0;font-size:1.3em}.alog ol{margin:0;padding-left:1.5em;font-family:ui-monospace,monospace}.alog .big-btn{align-self:center}.transfer textarea{box-sizing:border-box;width:100%;min-height:4.5em;font:14px ui-monospace,monospace}.transfer .tr-msg{color:#7a4a00;min-height:1.2em;margin:0}.clr-panel{--x:clamp(16px, 4vh, 28px)}.clr-panel .clr-box{box-sizing:border-box;text-align:center;align-items:center;max-width:88vw;max-height:92vh;position:relative;inset:auto}.clr-panel .clr-box h2{min-height:calc(var(--x) * 2.2);padding:0 calc(var(--x) * 2.4);align-items:center;display:flex}.clr-panel .clr-intro{text-align:left;margin:0}.clr-panel .clr-warn{color:#b3261e;font-weight:700}.clr-panel .clr-ask{margin:0;font-size:1.3em;font-weight:700}.clr-panel .clr-input{background:#f3efe2;border-radius:12px;min-width:3em;min-height:1.4em;padding:.1em .5em;font-size:1.3em}.clr-panel .clr-pad{flex-wrap:wrap;justify-content:center;gap:1vh;max-width:36em;display:flex}.clr-panel .clr-key{min-width:2.4em;height:2.4em;box-shadow:var(--shadow);font:inherit;background:#fff3c4;border:0;border-radius:12px;font-size:1.1em}.clr-panel .clr-key:active{transform:translateY(4px)}.clr-panel .clr-go:disabled{opacity:.45}.clr-panel .clr-msg{color:#7a4a00;min-height:1.2em;margin:0}.clr-panel .clr-close{width:calc(var(--x) * 2.2);height:calc(var(--x) * 2.2);box-shadow:var(--shadow);font-size:var(--x);background:#fff3c4;border:0;border-radius:50%;position:absolute;top:1vh;right:1vw}.lc{width:min(calc(38vh * 2 / 3.5), calc(78vw / var(--n,1) - 1vw), 172px);flex-direction:column;flex:none;align-items:center;gap:.6vh;display:flex}.lc svg{aspect-ratio:2/3.5;touch-action:none;background:#fff;border-radius:12px;width:100%;display:block;box-shadow:0 0 0 3px #eee}.lc-line{stroke:#f5b7b1;stroke-width:.03px}.lc-line.base{stroke:#e57373}.lc-guide polyline{fill:none;stroke:#bdbdbd;stroke-width:.12px;stroke-dasharray:.15 .12;stroke-linecap:round;stroke-linejoin:round}.lc-ink polyline{fill:none;stroke:#1e88e5;stroke-width:.16px;stroke-linecap:round;stroke-linejoin:round}.lc.active svg{box-shadow:0 0 0 4px var(--accent)}.lc.done svg{box-shadow:0 0 0 4px var(--good)}.lc.wrong svg{box-shadow:0 0 0 4px #e57373}.lc-clear{background:#00000014;border:0;border-radius:50%;width:1.8em;height:1.8em;font-size:clamp(12px,2.6vh,18px)}.lc.off .lc-clear{visibility:hidden}.hcard{gap:1.6vh}.h-cells{justify-content:center;gap:1vw;display:flex}.zcard{--zw:min(calc((100vh - 110px) * 3 / (3.5 * var(--n,1))), 22vw, 150px);flex-direction:row;justify-content:center;align-items:center;gap:3vw}.zcard .q-prompt{flex-direction:column}.zcard .q-media{font-family:system-ui,sans-serif}.z-body{align-items:flex-end;gap:1.2vw;padding-left:2.2em;display:flex}.z-col{flex-direction:column;gap:.4vh;display:flex}.z-col .lc{width:var(--zw)}.z-tone .lc{width:calc(var(--zw) * 2 / 3)}.zcard .lc{position:relative}.zcard .lc-clear{position:absolute;top:50%;right:calc(100% + 6px);transform:translateY(-50%)}.z-tone .lc-clear{left:calc(100% + 6px);right:auto}.z-side{flex-direction:column;flex:1 1 0;align-items:center;gap:1.6vh;min-width:0;max-width:40%;display:flex}.h-msg{align-self:center;min-height:1.4em;font-size:clamp(18px,4.4vh,34px)}.write-sheet{--x:clamp(16px, 4vh, 28px)}.write-sheet .ws-box{box-sizing:border-box;text-align:center;align-items:center;max-width:88vw;max-height:92vh;position:relative;inset:auto}.write-sheet .ws-box h2{min-height:calc(var(--x) * 2.2);padding:0 calc(var(--x) * 2.4);align-items:center;display:flex}.write-sheet .ws-intro{margin:0}.write-sheet .ws-chars{gap:1.5vw;display:flex}.write-sheet .ws-char{box-sizing:border-box;background:#fff;border:3px solid #e57373;border-radius:10px;justify-content:center;align-items:center;min-width:1.8em;min-height:1.8em;font-size:2em;display:flex}.write-sheet .ws-btns{gap:2vw;display:flex}.write-sheet .ws-print:disabled{opacity:.45}.write-sheet .ws-msg{color:#7a4a00;min-height:1.2em;margin:0}.write-sheet .ws-close{width:calc(var(--x) * 2.2);height:calc(var(--x) * 2.2);box-shadow:var(--shadow);font-size:var(--x);background:#fff3c4;border:0;border-radius:50%;position:absolute;top:1vh;right:1vw}.screen{flex-direction:column;justify-content:center;align-items:center;gap:3vh;padding:16px;display:flex;position:absolute;inset:0}.title{color:#2b1d4e;margin:0;font-size:clamp(36px,11vh,96px)}.home-left{top:2vh;left:max(16px, env(safe-area-inset-left));align-items:center;gap:12px;display:flex;position:absolute}:root.lang-en .home-left{flex-direction:column;align-items:flex-start;gap:6px}.coins{white-space:nowrap;background:#ffffffd9;border-radius:999px;padding:.15em .7em;font-size:clamp(16px,min(5vh,2.6vw),40px)}.menu-btn{top:3vh;right:max(16px, env(safe-area-inset-right));position:absolute}.drawer-mask{z-index:10;opacity:0;pointer-events:none;background:#00000059;transition:opacity .25s;position:absolute;inset:0}.drawer{z-index:11;width:max-content;min-width:33vw;max-width:100vw;padding:2vh max(16px, env(safe-area-inset-right)) 2vh 16px;visibility:hidden;background:#fffdf5;flex-direction:column;gap:1.6vh;transition:transform .25s,visibility .25s;display:flex;position:absolute;top:0;bottom:0;right:0;overflow-y:auto;transform:translate(100%);box-shadow:-4px 0 16px #0003}.home.menu-open .drawer-mask{opacity:1;pointer-events:auto}.home.menu-open .drawer{visibility:visible;transform:none}.drawer-close{align-self:flex-end}.drawer-item{text-align:left}.drawer-item.drawer-gap{margin-top:4vh}.menu-btn,.drawer-close,.drawer-item{font:inherit;white-space:nowrap;color:inherit;background:#ffffffd9;border:0;border-radius:999px;padding:.15em .7em;font-size:clamp(16px,min(5vh,2.6vw),40px);text-decoration:none}.drawer-item,.drawer-close{box-shadow:var(--shadow);background:#fff3c4;padding:.3em .8em}.update:disabled{opacity:.6}.update-lock{z-index:30;background:#00000073;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.update-box{max-width:80vw;box-shadow:var(--shadow);background:#fffdf5;border-radius:24px;align-items:center;gap:.5em;padding:.6em 1.2em;font-size:clamp(18px,6vh,40px);display:flex}.update-msg{margin:0}.update-icon{animation:1.6s linear infinite update-spin}@keyframes update-spin{to{transform:rotate(360deg)}}.manual-panel{z-index:20;background:#fffdf5;position:absolute;inset:0}.manual-panel iframe{border:0;width:100%;height:100%}.manual-close{top:3vh;right:max(16px, env(safe-area-inset-right));width:2.2em;height:2.2em;box-shadow:var(--shadow);background:#ffffffe6;border:0;border-radius:50%;font-size:clamp(20px,5vh,40px);position:absolute}.home-head{align-items:center;gap:min(2vw,20px);display:flex}.install-btn{font:inherit;box-shadow:var(--shadow);white-space:nowrap;color:#2b1d4e;background:#ffffffe6;border:0;border-radius:999px;padding:.15em .8em;font-size:clamp(14px,min(4.2vh,2.2vw),32px)}.install-tip{z-index:20;background:#00000059;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;inset:0}.install-box{max-width:min(90vw,720px);box-shadow:var(--shadow);text-align:center;color:#2b1d4e;background:#fff;border-radius:32px;padding:3vh 4vw}.install-box h2{margin:0 0 1.5vh;font-size:clamp(24px,7vh,52px)}.install-steps{margin:0 0 1.5vh;font-size:clamp(18px,5.5vh,40px)}.install-note{color:#6a6280;margin:0;font-size:clamp(14px,3.8vh,26px)}.zones{align-items:center;gap:2vw;display:flex}.zone{--w:clamp(84px, min(19vw, 28vh), 240px);background:#fff6;border-radius:24px;flex-direction:column;align-items:center;gap:.6vh;padding:.8vh 1.4vw 1.4vh;display:flex}@media (height<=500px){.home .title{font-size:28px}.zone{--w:clamp(84px, min(19vw, 33vh), 240px)}}.zone-title{color:#2b1d4e;white-space:nowrap;font-size:clamp(14px,4vh,30px)}.worlds{grid-template-columns:var(--cols,1fr);gap:min(1.6vw,2vh);display:grid}.zone-learn .worlds{--cols:repeat(3, var(--w))}.zone-play .worlds{--cols:var(--w)}.world{width:var(--w);aspect-ratio:4/3;box-shadow:var(--shadow);color:inherit;border:4px solid #fff;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:.4vh;font-size:clamp(16px,4.4vh,40px);text-decoration:none;display:flex}.world:active{transform:translateY(4px)}.world-island{background:#ffe082}.world-forest{background:#a5d6a7}.world-castle{background:#ce93d8}.world-garden{background:#f8bbd0}.world-mountain{background:#b0bec5}.world-monopoly{background:#ffab91}.world-cards{background:#b3e5fc}.world-icon{font-size:1.9em;line-height:1.1}.world-name{white-space:nowrap;font-size:min(1em, calc((var(--w) - 16px) / 7.8))}.world:disabled{filter:grayscale(.8);opacity:.7}.soon{color:#2b1d4e;background:#fff;border-radius:999px;padding:0 .6em;font-size:max(10px,.6em)}.toggles{gap:min(1.5vw,16px);display:flex}.toggle{font:inherit;box-shadow:var(--shadow);white-space:nowrap;color:inherit;background:#ffffffe6;border:0;border-radius:999px;padding:.3em .7em;font-size:clamp(14px,min(4.2vh,2.2vw),32px);text-decoration:none}.toggle.off{opacity:.6;filter:grayscale()}.areas{justify-content:flex-start;padding-top:3vh;padding-bottom:0}.areas-total{top:3vh;right:max(16px, env(safe-area-inset-right));color:#2b1d4e;box-shadow:var(--shadow);white-space:nowrap;background:#fff8ec;border-radius:999px;padding:.2em .9em;font-size:clamp(16px,min(4.4vh,2.6vw),30px);font-weight:700;position:absolute}.areas-total:first-letter{color:#d39a00}.areas-scroll{-webkit-overflow-scrolling:touch;width:100%;min-height:0;padding:7vh max(16px, 4vw, env(safe-area-inset-right)) 10vh max(16px, 4vw, env(safe-area-inset-left));flex:1;overflow-y:auto}.areas-group{color:#2b1d4e;white-space:nowrap;background:#fff8ece6;border-radius:999px;margin:0 0 2.4vh;padding:.1em .8em;font-size:clamp(14px,min(3.6vh,2.2vw),26px);display:inline-block}.areas-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4.5vh 2.4vw;margin-bottom:4vh;display:grid}.acard{color:#2b1d4e;min-height:clamp(76px,19vh,150px);font:inherit;text-align:left;box-shadow:var(--shadow);background:#fff8ec;border:0;border-radius:22px;grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1.6vh .6vw;padding:1.8vh 1vw;font-weight:700;display:grid;position:relative}.acard-badge{aspect-ratio:1;color:#fff;background:#ff8f1f;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:clamp(24px,7vh,52px);font-family:system-ui,sans-serif;font-size:clamp(14px,3.6vh,28px);display:flex}.acard-name{white-space:nowrap;min-width:0;font-size:clamp(14px,min(4.4vh,2.4vw),32px);overflow:hidden}.acard-pips{grid-area:2/1/auto/3;gap:.5vw;display:flex}.acard-pips i{aspect-ratio:1;background:#e4dccd;border:2px solid #fff;border-radius:50%;width:clamp(10px,2.6vh,22px)}.acard-pips i.boss{background:#e9b3ae;border-radius:25%}.acard-pips i.got{background:#f5b82e}.acard-stars{color:#7a5a00;white-space:nowrap;grid-area:2/2;justify-self:end;font-family:system-ui,sans-serif;font-size:clamp(12px,3.2vh,24px)}.acard.full{background:#ffe9a8}.acard.full .acard-badge{background:#f5b82e}.acard.next{outline-offset:.4vh;outline:.8vh solid #2fbf71}.acard-go{color:#fff;white-space:nowrap;background:#2fbf71;border-radius:999px;align-items:center;gap:.25em;padding:.1em .7em .1em .3em;font-size:clamp(13px,3.4vh,26px);animation:1s ease-in-out infinite alternate bob;display:flex;position:absolute;top:-2.4vh;right:1.2vw;box-shadow:0 .5vh #1d7f4a}.acard-hero{-webkit-user-drag:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;width:auto;height:1.8em;margin:-.5em 0 -.3em}.areas-more{color:#fff;white-space:nowrap;pointer-events:none;background:#2b1d4e;border-radius:999px;padding:.15em .9em;font-size:clamp(13px,3.2vh,24px);position:absolute;bottom:1.6vh;left:50%;transform:translate(-50%)}.areas-more[hidden]{display:none}@media (prefers-reduced-motion:reduce){.acard-go{animation:none}}.map{justify-content:flex-start;padding-top:3vh}.back{top:3vh;left:max(16px, env(safe-area-inset-left));background:#ffffffe6;border:0;border-radius:50%;width:2.2em;height:2.2em;font-size:clamp(20px,5vh,40px);position:absolute}.map .back,.areas .back{color:#2b1d4e;font-weight:700}.map-sign{color:#2b1d4e;max-width:calc(100vw - 5.2em - 64px);font:inherit;box-shadow:var(--shadow);white-space:nowrap;background:#fff8ec;border:0;border-radius:999px;align-items:baseline;gap:.5em;margin-top:1.2vh;padding:.2em 1em;font-size:clamp(16px,min(5vh,3vw),36px);font-weight:700;display:flex}.map-score{color:#7a5a00;font-size:max(12px,.62em)}.map-stage{box-sizing:border-box;touch-action:pan-y;width:100%;padding:0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));flex:1;align-items:center;gap:2vw;display:flex}.map-side{color:#2b1d4e;min-width:clamp(56px,11vh,96px);min-height:clamp(96px,30vh,200px);font:inherit;box-shadow:var(--shadow);background:#ffffffeb;border:0;border-radius:24px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:.3em;padding:.4em .5em;font-weight:700;display:flex}.map-side .ar{font-size:clamp(24px,7vh,48px);line-height:1}.map-side .to{white-space:nowrap;font-size:clamp(12px,2.6vh,18px)}.map-side:disabled{opacity:.3}.map-path{flex:1;justify-content:space-around;align-self:stretch;align-items:center;min-width:0;display:flex;position:relative}.map-road{background:repeating-linear-gradient(90deg,#fff3e0d9 0 3vh,#0000 3vh 5vh);border-radius:999px;height:1.2vh;position:absolute;top:50%;left:6%;right:6%;transform:translateY(-50%)}.node{aspect-ratio:1;width:clamp(76px,22vh,170px);box-shadow:var(--shadow);font:inherit;color:#fff;background:#ff8f1f;border:6px solid #fff;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:flex;position:relative}.node-label{color:#fff;font-size:clamp(26px,8vh,64px);font-weight:700;line-height:1}.node.done{background:#f5b82e}.node.boss{background:#e53935;border-radius:22%}.node.boss.done{background:#f5b82e}.node.next{outline-offset:.6vh;outline:.6vh solid #ffd64fbf;width:clamp(90px,27vh,200px)}.node.locked{background:#b0bec5}.node-stars,.node-cap,.node-play{white-space:nowrap;border-radius:999px;padding:.15em .55em;font-weight:700;line-height:1.2;position:absolute;top:calc(100% + 1vh);left:50%;transform:translate(-50%)}.node-stars{background:#00000059;font-size:clamp(14px,3.4vh,26px)}.node-stars .got{color:#ffd54f}.node-stars .empty{color:#fff6}.node-cap{color:#fff3e0;background:#00000059;font-size:clamp(14px,3.2vh,24px)}.node-play{color:#fff;background:#2fbf71;font-size:clamp(16px,4vh,30px);box-shadow:0 .6vh #1d7f4a}.node-hero{-webkit-user-drag:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;width:62%;animation:1s ease-in-out infinite alternate bob;position:absolute;bottom:calc(100% - 1vh);left:50%;translate:-50%}@keyframes bob{to{transform:translateY(-1.5vh)}}.map-path.from-right{animation:.25s ease-out map-in-right}.map-path.from-left{animation:.25s ease-out map-in-left}@keyframes map-in-right{0%{opacity:0;transform:translate(8vw)}}@keyframes map-in-left{0%{opacity:0;transform:translate(-8vw)}}@media (prefers-reduced-motion:reduce){.map-path.from-right,.map-path.from-left,.node-hero{animation:none}}.avatar{font:inherit;color:inherit;white-space:nowrap;background:#ffffffd9;border:0;border-radius:999px;align-items:center;gap:.4em;padding:.15em .8em .15em .15em;font-size:clamp(16px,min(5vh,2.6vw),40px);display:flex}.avatar img{object-fit:cover;object-position:50% 8%;width:1.9em;height:1.9em;box-shadow:0 0 0 2px var(--accent);background:#ffe082;border:3px solid #fff;border-radius:50%}.avatar-label{font-size:.8em}.picks{gap:2.4vw;display:flex}.pick{width:clamp(120px,19vw,230px);box-shadow:var(--shadow);background:#ffffffbf;border:6px solid #fff;border-radius:28px;flex-direction:column;align-items:center;gap:.5vh;padding:1.5vh 0 1vh;font-size:clamp(16px,4vh,32px);transition:transform .15s;display:flex}.pick img{height:clamp(90px,30vh,250px)}.pick.picked{border-color:var(--accent);background:#ffe082;transform:scale(1.06)}.pick-ok{background:var(--accent);color:#fff;box-shadow:var(--shadow);border:0;border-radius:999px;padding:.3em 1.4em;font-size:clamp(22px,6vh,48px)}.pick-ok:disabled{opacity:.4}.pass{--u:clamp(.45px, min(100vh / 768, 100vw / 1024), 1.25px);gap:calc(64 * var(--u));background:#00000040;flex-direction:row}.pass .title{font-size:calc(56 * var(--u))}.pass .version{left:max(16px, env(safe-area-inset-left));bottom:calc(12 * var(--u));font-size:calc(18 * var(--u));color:#ffffffd9;position:absolute}.pass-left{align-items:center;gap:calc(24 * var(--u));flex-direction:column;display:flex}.pass-dots{gap:calc(12 * var(--u));display:flex}.pass-dots.shake{animation:.4s shake}.pass-dot{width:calc(88 * var(--u));aspect-ratio:1;border-radius:calc(18 * var(--u));box-shadow:var(--shadow);font-size:calc(60 * var(--u));background:#fff;justify-content:center;align-items:center;display:flex}.pass-pad{grid-template-columns:repeat(3, calc(100 * var(--u)));gap:calc(12 * var(--u));display:grid}.pass-key{height:calc(100 * var(--u));box-shadow:var(--shadow);font-size:calc(48 * var(--u));background:#fff;border:0;border-radius:50%}.pass-key:active{transform:translateY(4px)}@media (height<=559px){.pass{--u:clamp(.45px, min(100vh / 620, 100vw / 1024), 1.25px)}.pass-pad{grid-template-columns:repeat(3, max(44px, calc(80 * var(--u))))}.pass-key{height:max(44px, calc(80 * var(--u)))}}.voice-note{color:#7a4a00;text-align:center;background:#ffffffd9;border-radius:12px;max-width:70vw;margin:0;padding:6px 14px;font-size:clamp(12px,2.2vh,18px);position:absolute;bottom:3vh;left:50%;transform:translate(-50%)}.news{text-align:left;max-width:min(80vw,760px);max-height:60vh;overflow-y:auto}.news h2{text-align:center}.news-item{margin-bottom:1.6vh}.news-title{font-size:clamp(20px,4.5vh,34px);font-weight:700}.news-date{opacity:.6;margin-left:.6em;font-size:.6em;font-weight:400}.news-item p{margin:.3em 0 0;font-size:clamp(16px,3.4vh,26px);line-height:1.5}:root.theme-halloween{--sky:#2a1f4a;--accent:#ff8f1f}:root.theme-halloween .world-island{background:#e0a050}:root.theme-halloween .world-forest{background:#4f7d5c}:root.theme-halloween .world-castle{background:#7b5aa6}:root.theme-halloween .world-garden{background:#8e4a73}:root.theme-halloween .world-mountain{background:#5b6b7a}:root.theme-halloween .world-monopoly{background:#c8603c}:root.theme-halloween .world-cards{background:#3f6f8c}:root.theme-halloween .zone{background:#ffffff29}:root.theme-halloween .zone-title{color:#fff3e0}:root.theme-halloween .title{color:#fff3e0;text-shadow:none}:root.theme-halloween .world-forest,:root.theme-halloween .world-castle,:root.theme-halloween .world-garden,:root.theme-halloween .world-monopoly,:root.theme-halloween .world-cards,:root.theme-halloween .world-mountain{color:#fff3e0}:root.theme-christmas{--sky:#1d3557;--accent:#d62828}:root.theme-christmas .world-island{background:#e9c46a}:root.theme-christmas .world-forest{background:#2d6a4f}:root.theme-christmas .world-castle{background:#9d2c2c}:root.theme-christmas .world-garden{background:#a23b72}:root.theme-christmas .world-mountain{background:#4a6274}:root.theme-christmas .world-monopoly{background:#bc6c25}:root.theme-christmas .world-cards{background:#2a6f97}:root.theme-christmas .zone{background:#ffffff29}:root.theme-christmas .zone-title{color:#fff3e0}:root.theme-christmas .title{color:#fff3e0;text-shadow:none}:root.theme-christmas .world-forest,:root.theme-christmas .world-castle,:root.theme-christmas .world-garden,:root.theme-christmas .world-monopoly,:root.theme-christmas .world-cards,:root.theme-christmas .world-mountain{color:#fff3e0}:root.theme-newyear{--sky:#8b1e1e;--accent:#f4c430}:root.theme-newyear .world-island{background:#f4c430}:root.theme-newyear .world-forest{background:#2f6b3a}:root.theme-newyear .world-castle{background:#5a2a5e}:root.theme-newyear .world-garden{background:#b0245f}:root.theme-newyear .world-mountain{background:#3e5a73}:root.theme-newyear .world-monopoly{background:#c4501c}:root.theme-newyear .world-cards{background:#2a6f97}:root.theme-newyear .zone{background:#ffffff29}:root.theme-newyear .zone-title{color:#fff3e0}:root.theme-newyear .title{color:#fff3e0;text-shadow:none}:root.theme-newyear .world-forest,:root.theme-newyear .world-castle,:root.theme-newyear .world-garden,:root.theme-newyear .world-monopoly,:root.theme-newyear .world-cards,:root.theme-newyear .world-mountain{color:#fff3e0}:root.theme-dragonboat{--sky:#1f6f6b;--accent:#7cb342}:root.theme-dragonboat .world-island{background:#f2d16b}:root.theme-dragonboat .world-forest{background:#33691e}:root.theme-dragonboat .world-castle{background:#7a4a2a}:root.theme-dragonboat .world-garden{background:#a8467a}:root.theme-dragonboat .world-mountain{background:#4b6a5e}:root.theme-dragonboat .world-monopoly{background:#c4501c}:root.theme-dragonboat .world-cards{background:#1a5f8f}:root.theme-dragonboat .zone{background:#ffffff29}:root.theme-dragonboat .zone-title{color:#fff3e0}:root.theme-dragonboat .title{color:#fff3e0;text-shadow:none}:root.theme-dragonboat .world-forest,:root.theme-dragonboat .world-castle,:root.theme-dragonboat .world-garden,:root.theme-dragonboat .world-monopoly,:root.theme-dragonboat .world-cards,:root.theme-dragonboat .world-mountain{color:#fff3e0}:root.theme-midautumn{--sky:#1c2541;--accent:#f6c453}:root.theme-midautumn .world-island{background:#f6c453}:root.theme-midautumn .world-forest{background:#2f6f55}:root.theme-midautumn .world-castle{background:#6a4c93}:root.theme-midautumn .world-garden{background:#9c3f77}:root.theme-midautumn .world-mountain{background:#4d5d82}:root.theme-midautumn .world-monopoly{background:#b4562c}:root.theme-midautumn .world-cards{background:#3a6ea5}:root.theme-midautumn .zone{background:#ffffff29}:root.theme-midautumn .zone-title{color:#fff3e0}:root.theme-midautumn .title{color:#fff3e0;text-shadow:none}:root.theme-midautumn .world-forest,:root.theme-midautumn .world-castle,:root.theme-midautumn .world-garden,:root.theme-midautumn .world-monopoly,:root.theme-midautumn .world-cards,:root.theme-midautumn .world-mountain{color:#fff3e0}.theme-picker{z-index:20;background:#140c28e0;flex-direction:column;justify-content:center;align-items:center;gap:3vh;padding:16px;display:flex;position:absolute;inset:0}:root .theme-picker .title{color:#fff3e0;text-shadow:none}.theme-close{top:3vh;right:max(16px, env(safe-area-inset-right));width:2.2em;height:2.2em;box-shadow:var(--shadow);background:#ffffffe6;border:0;border-radius:50%;font-size:clamp(20px,5vh,40px);position:absolute}.theme-row{scrollbar-width:none;gap:3vw;max-width:100%;padding:12px 8px;display:flex;overflow-x:auto}.theme-row::-webkit-scrollbar{display:none}.theme-row.more-right{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 8vw),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 8vw),#0000)}.theme-row.more-left{-webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 8vw),#0000);mask-image:linear-gradient(270deg,#000 calc(100% - 8vw),#0000)}.theme-row.more-left.more-right{-webkit-mask-image:linear-gradient(90deg,#0000,#000 8vw calc(100% - 8vw),#0000);mask-image:linear-gradient(90deg,#0000,#000 8vw calc(100% - 8vw),#0000)}.theme-card{--w:clamp(110px, min(24vw, 40vh), 260px);width:var(--w);aspect-ratio:1;box-shadow:var(--shadow);font:inherit;color:#fff3e0;border:6px solid #fff;border-radius:32px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:1vh;font-size:clamp(20px,5vh,40px);display:flex;position:relative}.theme-card:first-child{margin-left:auto}.theme-card:last-child{margin-right:auto}.theme-card:active{transform:translateY(4px)}.theme-card[data-theme=normal],.theme-card.light{color:#2b1d4e}.theme-card.current{border-color:#ffd54f;transform:scale(1.06)}.theme-icon{font-size:2.2em}.theme-name{white-space:nowrap;font-size:min(1em, calc((var(--w) - 24px) / 5.6))}:root.lang-en .theme-card[data-theme=newyear] .theme-name{font-size:min(1em, calc((var(--w) - 24px) / 8.4))}.theme-now{white-space:nowrap;font-size:max(10px, min(.6em, calc((var(--w) - 24px) / 11)))}.theme-ok{font-size:.8em;position:absolute;top:4px;right:8px}.mp{padding:2vh max(16px, env(safe-area-inset-left));pointer-events:auto;flex-direction:column;justify-content:center;align-items:center;gap:1.5vh;display:flex;position:absolute;inset:0}.mp-board{aspect-ratio:2;grid-template-rows:repeat(4,1fr);grid-template-columns:repeat(8,1fr);gap:4px;width:min(96vw,156vh);display:grid}.mp-tile{text-align:center;background:#ffffffeb;border:3px solid #0000001f;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;padding:1px;font-size:clamp(8px,min(2.9vh,min(96vw,156vh)/48 - 2.66667px),24px);line-height:1.05;display:flex;position:relative;overflow:hidden}.mp-tile.owned{border-width:5px}.mp-math{background:#fff3c4}.mp-english{background:#d7f0d8}.mp-chinese{background:#ecd9f2}.mp-start,.mp-challenge,.mp-park{background:#fff;font-weight:700}.mp-icon{font-size:1.6em;line-height:1}.mp-name{white-space:nowrap}:root.lang-en .mp-name{line-height:1.2}.mp-price{color:#7a4a00}:is(.mp-level:empty,.mp-tile:has(.mp-level:not(:empty)) .mp-price){display:none}.mp-level{justify-content:center;display:flex}.mp-house{filter:drop-shadow(1px 2px #00000040);width:auto;height:1.9em;margin:-.3em -.15em 0}.mp-tokens{justify-content:center;display:flex;position:absolute;bottom:2px;left:2px;right:2px}.mp-token{background:#fff;border:2px solid;border-radius:50%;width:34%;max-width:40px;margin:0 -6%}.mp-center{background:#fff9;border-radius:16px;grid-area:2/2/4/8;grid-template-rows:auto 1fr;grid-template-columns:auto 1fr auto;place-items:center;gap:.6vh 2vw;padding:1vh 2vw;display:grid}.mp-turn{grid-column:1/-1;font-size:clamp(14px,2.6vh,22px);font-weight:700}.mp-act{flex-direction:column;align-items:center;gap:1vh;display:flex}.mp-dice{gap:calc(var(--s) / 4);--s:clamp(40px, 10vh, 84px);display:flex}.mp-dice:has(.mp-die:nth-child(3)){--s:clamp(32px, 8vh, 68px)}.mp-die{width:var(--s);height:var(--s);perspective:600px}.mp-cube{width:100%;height:100%;transform-style:preserve-3d;position:relative;transform:rotateX(-18deg)rotateY(22deg)rotateX(0)rotateY(0)}.mp-face{backface-visibility:hidden;background:#fff;border:2px solid #ddd;border-radius:18%;grid-template:repeat(3,1fr)/repeat(3,1fr);padding:14%;display:grid;position:absolute;inset:0;box-shadow:inset 0 0 8px #00000026}.mp-pip{aspect-ratio:1;background:#333;border-radius:50%;width:70%;margin:auto}.mp-face-1 .mp-pip{background:#e53935;width:90%}.mp-face-1{transform:translateZ(calc(var(--s) / 2))}.mp-face-6{transform:rotateY(180deg) translateZ(calc(var(--s) / 2))}.mp-face-3{transform:rotateY(90deg) translateZ(calc(var(--s) / 2))}.mp-face-4{transform:rotateY(-90deg) translateZ(calc(var(--s) / 2))}.mp-face-2{transform:rotateX(90deg) translateZ(calc(var(--s) / 2))}.mp-face-5{transform:rotateX(-90deg) translateZ(calc(var(--s) / 2))}.mp-msg{text-align:center;max-width:90%;min-height:2.6em;font-size:clamp(12px,min(2.6vh,1.7vw),22px)}.mp-roll:disabled{opacity:.4}.mp-rolls{gap:.6vw;display:flex}.mp-rolls.many .mp-roll{padding:.3em .6em;font-size:clamp(14px,3vh,26px)}@media (width<=960px){.mp-rolls.many{grid-template-columns:repeat(2,auto);gap:.6vh .6vw;display:grid}}.mp-tools{gap:10px;display:flex}.mp-fast,.mp-pause{font:inherit;background:#ffffffe6;border:0;border-radius:999px;padding:.2em .8em;font-size:clamp(14px,2.4vh,20px)}.mp-fast.on{background:#ffd54f}.mp-players{justify-content:center;gap:2vw;width:min(96vw,156vh);padding:4px 0;display:flex}.mp-player{white-space:nowrap;opacity:.85;background:#ffffffe6;border:4px solid;border-radius:16px;flex:0 calc(25% - 1.5vw);grid-template-columns:auto auto 1fr auto;grid-template-areas:"img name name ride""img coins lands ride";align-items:center;gap:0 .6em;min-width:0;padding:.3vh .8vw;font-size:clamp(12px,min(2.2vh,1.8vw),20px);display:grid;overflow:hidden}.mp-player img{grid-area:img;width:clamp(24px,7vh,56px)}.mp-pname{text-overflow:ellipsis;grid-area:name;overflow:hidden}.mp-coins{grid-area:coins}.mp-lands{grid-area:lands}.mp-ride{grid-area:ride;font-size:1.3em}.mp-player.now{opacity:1;box-shadow:0 0 0 4px #ffd54f}.mp-player.out{filter:grayscale();opacity:.5}.mp-setup{gap:4vh}.mp-row{flex-wrap:nowrap;justify-content:center;gap:2vw;display:flex}.mp-choice{font:inherit;white-space:nowrap;box-shadow:var(--shadow);color:inherit;background:#ffffffe6;border:5px solid #fff;border-radius:24px;padding:.5em 1em;font-size:clamp(14px,min(6vh,2.2vw),44px)}.mp-choice.on{background:#fff;border-color:#ffb300}.mp-rank{text-align:left;font-size:clamp(16px,3vh,26px)}.mp-detail{font-size:clamp(16px,3vh,24px)}@media (height<=500px){.mp-setup{gap:3vh;padding:8px 16px}.mp-setup .title{font-size:28px}.mp-players{gap:1.6vw}.mp-player{border-width:3px;flex-basis:calc(25% - 1.2vw);gap:0 .3em;padding:1px 4px;font-size:12px}.mp-player img{width:20px}}.mp-rule{color:#fff;text-align:center;background:#0000004d;border-radius:12px;max-width:90vw;margin:0;padding:.2em .8em;font-size:clamp(13px,2.4vh,20px)}.mp-reason{margin:0 0 1vh;font-size:clamp(16px,3vh,24px)}.mp-owner{aspect-ratio:1;object-fit:contain;background:#fff;border:2px solid;border-radius:50%;width:32%;max-width:34px;position:absolute;top:2px;right:2px}
