.desk-status{box-sizing:border-box;text-align:center;white-space:nowrap;text-overflow:ellipsis;color:#475d50;pointer-events:none;background:#edf1e6;border-bottom:1px solid #cbd6bd;border-radius:6px 6px 0 0;height:24px;font-size:clamp(11px,2.8vw,12px);font-weight:650;line-height:24px;overflow:hidden}.desk-status[data-bonus=true]{color:#78550e;background:#faf0d6}.stage-active .fever-board-stack{width:min(100cqw,77.7778cqh - 52.8889px)}@media (width<=760px){.board-column{width:min(100%,77.7778svh - 209.222px)}}@media (height<=550px) and (orientation:landscape){.board-column{width:min(100%,77.7778svh - 94.8889px)}.desk-status{font-size:9px}}.tile .block-art{width:90%;height:90%}.official-tile .block-art{width:100%;height:100%}.block-art{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none}.connection-burst{pointer-events:none;z-index:8;border-radius:inherit;contain:layout paint;position:absolute;inset:0;overflow:hidden}.connection-burst img{object-fit:contain;pointer-events:none;position:absolute}.connection-burst .burst-shard{clip-path:polygon(0 0,100% 0,72% 60%,0 84%)}.connection-burst>span{pointer-events:none;box-sizing:border-box;position:absolute}.connection-burst{--burst-ink:#42634e;--burst-light:#b1ceb3}.connection-burst[data-tier="2"]{--burst-ink:#8b6422;--burst-light:#f2d17b}.connection-burst[data-tier="3"]{--burst-ink:#6c5386;--burst-light:#b8aad8}.connection-burst[data-tier="4"]{--burst-ink:#a35d37;--burst-light:#ecc477}.burst-impact:before,.burst-impact:after{content:"";position:absolute;inset:0}.burst-impact:after,.burst-echo{border:3px solid var(--burst-light);box-shadow:inset 0 0 0 2px #fffdf2, 0 0 0 1px var(--burst-ink);border-radius:50%}.burst-impact:before{background:var(--burst-light);clip-path:polygon(48% 0,54% 31%,72% 8%,66% 36%,100% 26%,74% 47%,100% 62%,69% 63%,79% 95%,56% 75%,45% 100%,41% 72%,12% 89%,29% 61%,0 51%,28% 43%,8% 14%,39% 31%);inset:-12%;-webkit-mask-image:radial-gradient(circle,#0000 35%,#000 37%);mask-image:radial-gradient(circle,#0000 35%,#000 37%)}.connection-burst[data-tier="1"] .burst-impact:before{display:none}.connection-burst[data-tier="1"] .burst-impact:after{border-width:3px;box-shadow:0 0 0 2px #fffdf2}.connection-burst[data-tier="2"] .burst-impact:before{background:#f7d77b}.connection-burst[data-tier="2"] .burst-impact:after,.connection-burst[data-tier="4"] .burst-impact:after{background:radial-gradient(circle,#fffbe580,#fffbe520 40%,#0000 62%)}.connection-burst[data-tier="3"] .burst-impact:before{transform:rotate(20deg)}.connection-burst[data-tier="4"] .burst-impact:before{background:linear-gradient(35deg,#eeb371,#fff3be 45%,#e7bc64 70%,#fff3cf);inset:-22%}.burst-halo{border:2px dashed #a7bdd4;border-radius:50%}.burst-echo{border-width:2px}.burst-frame{border:2px solid var(--burst-light);border-radius:inherit;inset:2px;box-shadow:inset 0 0 12px #c3b2d635}.connection-burst[data-tier="4"] .burst-frame{border-width:3px;box-shadow:inset 0 0 14px #f2ca7b50}.burst-label{color:var(--burst-ink);border:2px solid var(--burst-ink);box-shadow:0 3px 0 var(--burst-light);text-align:center;letter-spacing:-.4px;white-space:nowrap;background:#fffdf2;border-radius:8px;font:900 15px/24px system-ui}.connection-burst[data-tier="4"] .burst-label{background:#fff3ce;font-size:19px}.connection-burst[data-quality=lite]:after{content:attr(data-label);color:var(--burst-ink);border:1px solid var(--burst-ink);background:#fffdf2;border-radius:6px;padding:2px 8px;font:800 12px/18px system-ui;position:absolute;top:5px;left:50%;transform:translate(-50%)}.official-tile[data-cover=ink]>.block-art{visibility:hidden}.official-tile[data-case-group=true]>.block-art{opacity:0}@media (prefers-reduced-motion:reduce){.connection-burst{display:none}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f7f5ef;--surface:#fffdf8;--ink:#303e35;--muted:#71776b;--accent:#4d7359;--line:#dedfd3;--gold:#b39248}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);-webkit-tap-highlight-color:transparent;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1:focus{outline:none}button[hidden],[hidden]{display:none!important}.masthead{justify-content:space-between;align-items:center;gap:12px;max-width:1100px;margin:auto;padding:24px 32px;display:flex}.masthead a{color:var(--ink);font-size:14px;font-weight:750;text-decoration:none}.masthead a span{color:var(--muted);margin-left:14px;font-size:12px;font-weight:400;display:inline-block}.preferences{gap:8px;display:flex}.icon-button{border:1px solid var(--line);background:0 0;border-radius:30px;min-height:44px;padding:10px 13px;font-size:12px}main{min-height:calc(100svh - 154px)}footer{text-align:center;color:var(--muted);padding:20px;font-size:11px}footer span{margin:0 8px}.home,.stage-selection,.result{text-align:center;max-width:510px;margin:auto;padding:36px 24px}.eyebrow{color:var(--accent);letter-spacing:2px;margin-bottom:22px;font-size:11px;font-weight:700}h1{letter-spacing:-1.8px;margin:0 0 16px;font-size:clamp(30px,5vw,44px);font-weight:650;line-height:1.35}h1 em{color:var(--accent);font-style:normal}.intro{color:var(--muted);margin:0 0 18px;font-size:15px;line-height:1.8}.still-life{background:radial-gradient(#e5e9dd,#0000 68%);border-radius:50%;max-width:340px;height:190px;margin:16px auto 24px;position:relative}.sample{filter:drop-shadow(0 10px 9px #424c3617);width:96px;height:96px;position:absolute}.sample.notebook{width:122px;height:122px;top:30px;left:76px;transform:rotate(-12deg)}.sample.pencil{top:7px;left:178px;transform:rotate(-20deg)}.sample.eraser{top:89px;left:205px;transform:rotate(10deg)}.sample.ruler{top:55px;left:0;transform:rotate(-35deg)}.sample.highlighter{width:70px;top:106px;left:137px}.primary{background:var(--accent);color:#fff;border:0;border-radius:14px;width:100%;min-height:54px;padding:17px 24px;font-weight:650;box-shadow:0 6px 18px #355b4219}.primary:hover{background:#355642}.primary span{float:right}.caption{color:var(--muted);font-size:12px;line-height:1.8}.home-guide{border-top:1px solid var(--line);color:var(--accent);justify-content:space-between;gap:10px;margin:32px -5px 0;padding-top:22px;font-size:11px;display:flex}.home-guide b{color:var(--muted);margin-top:8px;font-size:11px;font-weight:500;display:block}.mode-card{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:18px;margin-top:14px;padding:20px}.mode-card h2{margin:0 0 10px;font-size:18px}.mode-card p{color:var(--muted);font-size:12px;line-height:1.7}.daily-best{color:var(--accent);font-variant-numeric:tabular-nums;font-size:13px}.daily-note{color:var(--muted);grid-column:1/-1;font-size:12px;line-height:1.7}.daily-play h1{letter-spacing:-1px;font-size:26px}.daily-play #moves{color:var(--ink);font-variant-numeric:tabular-nums;font-size:22px}.daily-play .daily-attempt{grid-column:1/-1}.daily-play .daily-best{grid-column:1;margin:8px 0}.daily-result .text-button{margin:12px auto;display:block}.star-total{color:var(--gold);margin:24px 0;font-size:18px}.star-total strong{font-size:28px}.stage-list{gap:12px;margin-bottom:24px;display:grid}.chapter-nav{text-align:left;align-items:center;gap:14px;margin:24px 0 12px;display:flex}.chapter-nav label{color:var(--muted);font-size:13px}.chapter-nav select{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:44px;color:var(--ink);font:inherit;border-radius:10px;flex:1;padding:10px 12px;font-size:14px}.chapter-nav select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.chapter-heading{text-align:left;color:var(--muted);margin:16px 0 12px;font-size:14px;font-weight:500}.stage-card{text-align:left;background:var(--surface);border:1px solid var(--line);width:100%;min-height:82px;color:var(--ink);border-radius:16px;align-items:center;gap:18px;padding:16px;display:flex}.stage-card:disabled{opacity:.5;background:0 0}.stage-card:not(:disabled):hover{border-color:var(--accent)}.stage-number{color:var(--accent);font-variant-numeric:tabular-nums;font-size:24px}.stage-card strong{font-size:15px}.stage-card small{color:var(--muted);margin-top:6px;font-size:11px;display:block}.stage-stars{color:var(--gold);white-space:nowrap;margin-left:auto;font-size:16px}.play-layout{grid-template-columns:245px minmax(0,430px);align-items:center;gap:48px;max-width:790px;margin:auto;padding:22px 24px;display:grid}.text-button{color:var(--muted);background:0 0;border:0;min-height:44px;padding:12px 0}.play-info .eyebrow{margin-top:24px;margin-bottom:10px}.play-info h1{font-size:35px}.stage-description{color:var(--muted);font-size:12px;line-height:1.7}.score-line{font-variant-numeric:tabular-nums;align-items:baseline;gap:7px;margin-top:24px;display:flex}#score{font-size:30px;font-weight:700}.score-line>span{color:var(--muted);font-size:12px}#live-stars{color:var(--accent);white-space:nowrap;margin-left:auto;font-size:11px}.star-progress{grid-column:1/-1;min-width:0}.star-progress .meter{height:7px;margin-top:23px;position:relative;overflow:visible}.star-progress #score-meter{border-radius:inherit;height:100%}.star-tick{border-left:2px solid var(--accent);height:13px;position:absolute;top:-3px;transform:translate(-2px)}.star-tick:before{content:attr(data-stars);color:var(--gold);white-space:nowrap;font-size:9px;position:absolute;bottom:14px;right:-2px}.star-thresholds{font-variant-numeric:tabular-nums;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:9px;font-size:11px;display:grid}.star-thresholds>span{flex-wrap:wrap;align-items:baseline;gap:2px 4px;display:flex}.star-thresholds>span:last-child{justify-content:flex-end}.star-thresholds>span:nth-child(2){justify-content:center}.star-thresholds b{color:var(--gold);white-space:nowrap}.star-thresholds small{color:var(--muted);flex-basis:100%;font-size:9px}.star-thresholds>span:last-child small{text-align:right}.star-thresholds>span:nth-child(2) small{text-align:center}.star-thresholds .reached{color:var(--accent);font-weight:700}#next-star{color:var(--accent);margin:8px 0 0;font-size:11px;line-height:1.5}.meter{background:#e2e7da;border-radius:9px;height:5px;margin-top:10px;overflow:hidden}#score-meter{background:var(--accent);width:0;height:100%;transition:width .18s}.time-line{color:var(--muted);justify-content:space-between;align-items:center;margin-top:20px;font-size:12px;display:flex}#time{color:var(--ink);font-variant-numeric:tabular-nums;font-size:22px}#time.urgent{color:#a04f46}.mission{justify-content:space-between;gap:8px;margin-top:12px;font-size:12px;display:flex}.finish{min-height:44px;margin-top:16px;padding:12px;font-size:13px}.special-guide{border-top:1px solid var(--line);color:var(--muted);gap:10px;margin-top:26px;padding-top:20px;font-size:11px;display:grid}.special-guide b{color:var(--ink);font-weight:600}.board-column{text-align:center;min-width:0}.board-frame{background:#e6e9df;border-radius:22px;padding:7px;box-shadow:0 12px 40px #424c360d}.board{aspect-ratio:7/9;touch-action:none;-webkit-user-select:none;user-select:none;isolation:isolate;background:#e6e9df;border-radius:16px;width:100%;position:relative;overflow:hidden}.tile{touch-action:none;background:0 0;border:0;width:14.2857%;height:11.1111%;padding:3px;position:absolute}.tile-face{background:var(--tile-paper,var(--surface));border-radius:10px 12px 11px 10px;justify-content:center;align-items:center;width:100%;height:100%;transition:transform 90ms,background 90ms;display:flex;position:relative;box-shadow:inset 0 1px #ffffffb3,0 1px 1px #665c4512}.tile.pencil,.tile.eraser{--tile-paper:#fcf8ef}.tile.notebook,.tile.ruler{--tile-paper:#fafaf3}.tile.highlighter{--tile-paper:#fbf9ee}.tile svg{pointer-events:none;width:90%;height:90%}.tile.selected{z-index:3}.tile.selected .tile-face{outline:2px solid var(--accent);background:#fffef3;transform:scale(1.07);box-shadow:0 0 14px #628d5738}.tile:focus-visible{outline-offset:-4px;z-index:4;border-radius:13px}.order{color:var(--accent);font-size:10px;font-weight:750;position:absolute;top:1px;right:2px}#path{pointer-events:none;z-index:5;width:100%;height:100%;position:absolute;inset:0}#path polyline{fill:none;stroke:#4f755dcc;stroke-width:8px;stroke-linecap:round;stroke-linejoin:round}#particles{z-index:7;pointer-events:none;position:absolute;inset:0}.particle{background:#cfb571;border-radius:50%;width:6px;height:6px;position:absolute;box-shadow:0 0 9px #dfcb9b}.particle.fragment-pencil{box-shadow:none;border-radius:1px}.particle.fragment-eraser{border-radius:50%;box-shadow:0 0 5px #d8a39d66}.particle.fragment-notebook{border-radius:1px;box-shadow:1px 1px #fffdf8}.particle.fragment-ruler{border-radius:0;box-shadow:0 0 3px #8d9db866}.particle.fragment-highlighter{border-radius:50%;box-shadow:0 0 14px 5px #b8c77e55}.special-vfx{pointer-events:none;position:absolute}.vfx-eraser{background:#edd3c333;border:3px solid #d9a79d;border-radius:35%}.vfx-ruler{transform-origin:0;background:#eff4ff;width:100%;height:3px;left:0;box-shadow:0 0 12px 4px #829dc5aa}.vfx-ruler.vertical{transform-origin:top;width:3px;height:100%;top:0}.vfx-pencilCase{background:radial-gradient(#fff4c422,#0000 70%);border:2px solid #c8b276;border-radius:14px;inset:3px}.case-target .tile-face{outline:2px solid #baa369;box-shadow:0 0 10px #d7c48666}#feedback{z-index:8;pointer-events:none;filter:drop-shadow(0 2px 3px #fff);justify-items:center;gap:8px;display:grid;position:absolute;inset:25% 0 auto}.reaction{color:var(--accent);letter-spacing:1px;font-size:26px;font-weight:850}.reaction.level-5{color:#977a32;font-size:32px}.reaction:not(:empty){transform:scale(var(--reaction-scale,1));filter:brightness(var(--reaction-brightness,1));animation:.22s ease-out both reaction-rise}#feedback.perfect:not(:empty):before{content:"";border:1px solid #b3924866;border-radius:50%;width:180px;height:90px;animation:.4s ease-out both perfect-ring;position:absolute;top:-24px}.special-message{color:var(--accent);font-size:17px;font-weight:750}.floating-score{color:var(--ink);font-size:25px;font-weight:800;animation:.7s ease-out both float-score}.selection-caption{color:var(--accent);min-height:17px;margin:14px 0 4px;font-size:12px}.board-column .caption{margin:5px 0;font-size:10px}.result{padding-top:70px}.result h1{letter-spacing:-.8px;font-size:30px}.result-stars{color:var(--gold);letter-spacing:10px;margin:30px 0;font-size:60px}.clear .result-stars{animation:.4s ease-out both celebrate}.result-score{justify-content:center;align-items:baseline;gap:6px;display:flex}.result-score strong{font-variant-numeric:tabular-nums;font-size:52px}.result-score span{color:var(--muted);font-size:13px}.personal-best{color:var(--accent);margin:16px 0 32px;font-size:13px}.result>.text-button{margin:12px auto;display:block}.storage-warning{text-align:center;color:#8b5042;padding:10px 16px;font-size:12px}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes float-score{0%{opacity:1;transform:translateY(8px)}to{opacity:0;transform:translateY(-30px)}}@keyframes celebrate{0%{opacity:0;transform:scale(.8)}70%{transform:scale(1.05)}to{opacity:1;transform:scale(1)}}@keyframes reaction-rise{0%{opacity:.5;transform:translateY(5px)scale(.9)}to{opacity:1;transform:translateY(0) scale(var(--reaction-scale,1))}}@keyframes perfect-ring{0%{opacity:.65;transform:scale(.75)}to{opacity:0;transform:scale(1.2)}}@media (width<=640px){.masthead{padding:12px 16px}.masthead a span{margin:3px 0 0;font-size:10px;display:block}.icon-button{padding:8px 10px;font-size:11px}.home,.stage-selection{padding-top:26px}.play-layout{flex-direction:column;gap:12px;max-width:450px;padding:0 14px 14px;display:flex}.play-info{grid-template-columns:1fr auto;align-items:center;column-gap:16px;width:100%;display:grid}.play-info>.text-button{text-align:left;min-height:32px;padding:5px 0;font-size:11px}.play-info .eyebrow,.stage-description,.special-guide,#goal-hint{display:none}.play-info h1{grid-column:1;margin:0;font-size:24px}.score-line{grid-column:1;gap:5px;margin:4px 0 0}#score{font-size:25px}#live-stars{margin-left:8px}.time-line{grid-area:2/2/4;justify-items:end;gap:3px;margin:0;display:grid}.meter{grid-column:1/-1;margin-top:6px}#missions{grid-column:1/-1}.mission{margin-top:7px;font-size:11px}.finish{grid-column:1/-1;margin-top:8px;padding:8px}.board-column{width:min(100%,77.7778svh - 190.556px);min-width:266px}.board-frame{border-radius:17px;padding:5px}.tile{padding:2px}.tile-face{border-radius:8px}footer{padding:12px;font-size:10px}.result{padding-top:40px}}@media (orientation:landscape) and (height<=600px){.masthead{padding:6px 20px}.masthead a span{margin-left:8px;display:inline}.play-layout{grid-template-columns:minmax(170px,230px) minmax(0,310px);align-items:start;gap:22px;max-width:660px;padding:0 20px;display:grid}.play-info{display:block}.play-info h1{margin:0;font-size:24px}.play-info .eyebrow,.stage-description,.special-guide,#goal-hint{display:none}.score-line,.time-line{margin-top:8px}.time-line{display:flex}.board-column{justify-self:center;width:min(100%,77.7778svh - 76.2222px);min-width:175px}.board-column .caption{display:none}.selection-caption{margin-top:4px;font-size:10px}.tile{padding:2px}.tile-face{border-radius:5px}.finish{min-height:36px;padding:8px}footer{padding:8px}.result{padding-top:12px}.result-stars{margin:10px 0;font-size:38px}}.tutorial{border:1px solid var(--line);color:var(--accent);border-radius:12px;grid-column:1/-1;margin-top:12px;padding:10px 12px}.tutorial p{margin:0;font-size:13px;font-weight:650;line-height:1.5}.tutorial small{margin-top:4px;font-size:11px;line-height:1.5;display:block}.tutorial .text-button{min-height:36px;padding:6px 0;font-size:11px}#help{margin-left:12px}#hint-path{z-index:4;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}#hint-path polyline{fill:none;stroke:var(--accent);stroke-width:5px;stroke-dasharray:9 9;opacity:.35}.tile.hinted .tile-face{outline-offset:-2px;animation:hint-pulse 1.8s ease-in-out var(--hint-delay) infinite;outline:2px solid #78917e}.tile.hinted:after{content:attr(data-hint-order);color:var(--accent);background:var(--paper);pointer-events:none;border-radius:50%;width:15px;height:15px;font-size:10px;line-height:15px;position:absolute;top:5px;right:7px}#help-dialog{background:var(--paper);width:min(90vw,410px);max-height:85svh;color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:24px;overflow:auto}#help-dialog::backdrop{background:#263b3038}#help-dialog h2{font-size:20px}#help-dialog ol{padding-left:22px;font-size:14px;line-height:1.7}#help-dialog li{margin:12px 0}#help-dialog p{color:var(--muted);font-size:12px;line-height:1.6}@keyframes hint-pulse{0%,55%,to{filter:brightness()}20%{filter:brightness(1.09);transform:scale(1.025)}}@media (width<=640px) and (orientation:portrait){.play-layout:has(.tutorial:not([hidden])) .board-column{width:min(100%,77.7778svh - 268.333px)}.tutorial{margin-top:6px;padding:7px 10px}}@media (orientation:landscape) and (height<=600px){.tutorial{margin-top:6px;padding:6px 8px}.tutorial p{font-size:11px}.tutorial small{font-size:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}#feedback.perfect:before{display:none}}.stage-record{text-align:right;overflow-wrap:anywhere;max-width:140px;font-size:11px}#practice-goal{margin-left:auto;font-size:13px}.schoolboda-exits{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.schoolboda-exits .schoolboda-exit{align-items:center;min-height:44px;padding:8px;font-size:12px;display:inline-flex;position:static}.schoolboda-exits .schoolboda-exit[hidden]{display:none}.masthead{flex-wrap:wrap}.masthead>.schoolboda-exits{margin-left:auto}.schoolboda-exits a:focus-visible{outline-offset:3px;outline:3px solid #366c51}#game-account{flex-wrap:wrap;align-items:center;gap:8px;max-width:100%;display:flex}.profile-summary-button{border:1px solid var(--line);background:var(--paper);min-height:44px;color:var(--ink);border-radius:12px;align-items:center;gap:6px;max-width:100%;padding:4px 10px;font-size:12px;display:inline-flex}.profile-nickname{text-overflow:ellipsis;white-space:nowrap;max-width:140px;overflow:hidden}.profile-avatar{background:#f0ede5;border-radius:50%;flex:0 0 32px;width:32px;height:32px;display:inline-flex}.profile-avatar svg{width:100%;height:100%}#profile-editor{box-sizing:border-box;border:1px solid var(--line);background:var(--paper);width:min(420px,100vw - 32px);max-height:calc(100svh - 32px);color:var(--ink);border-radius:18px;padding:24px;overflow:auto}#profile-editor::backdrop{background:#263b3055}#profile-editor h2{margin:0 0 12px;font-size:21px}#profile-editor p{font-size:13px;line-height:1.6}#profile-editor label,#profile-editor legend{font-size:14px}#profile-nickname{box-sizing:border-box;border:1px solid var(--line);width:100%;min-height:44px;font:inherit;background:#fff;border-radius:8px;margin-top:6px;padding:10px;display:block}#profile-editor fieldset{border:0;min-width:0;margin:20px 0;padding:0}.profile-avatar-grid{grid-template-columns:repeat(4,minmax(44px,1fr));gap:8px;margin-top:10px;display:grid}.profile-avatar-choice{touch-action:manipulation;background:#f0ede5;border:2px solid #0000;border-radius:12px;min-width:44px;min-height:56px}.profile-avatar-choice svg{vertical-align:middle;width:42px;height:42px}.profile-avatar-choice[aria-pressed=true]{background:#e2e9df;border-color:#587260}.profile-visibility{align-items:center;gap:8px;min-height:44px;display:flex}.profile-visibility input{width:24px;height:24px}.profile-participation{background:#f0f4eb;border-radius:12px;border:1px solid var(--line)!important;padding:14px!important}.profile-participation legend{font-weight:700}.profile-visibility input{accent-color:var(--accent);flex-shrink:0}.profile-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.profile-actions button{white-space:nowrap;min-width:64px;min-height:44px}#profile-error{color:#80594f;min-height:24px}@media (width<=600px){.masthead:has(#game-account){flex-wrap:wrap}.preferences:has(#game-account){flex-wrap:wrap;flex:100%;justify-content:flex-end}#game-account{flex:100%;justify-content:flex-end}}#profile-nickname[readonly]{background:var(--surface);color:var(--ink)}#nickname-count{text-align:right;margin:4px 0}.profile-actions>button:only-child{white-space:normal;grid-column:1/-1}#profile-retry{min-height:44px}@media (width<=600px){.masthead:has(#game-account){gap:8px;padding:12px 16px}.preferences:has(#game-account){align-items:center;gap:8px;display:flex}.preferences>button{flex:none;min-height:44px}#game-account{flex:210px;justify-content:flex-end;gap:6px;min-width:0}.profile-summary-button{min-width:0;max-width:calc(100% - 86px)}.profile-nickname{max-width:74px}#game-logout{flex:none;min-height:44px;padding:6px;font-size:11px}.profile-summary-button{font-size:11px}.profile-avatar{flex-basis:24px;width:24px;height:24px}.profile-avatar svg{width:24px;height:24px}}@media (width<=650px){.profile-button-label{display:none}}#daily-ranking,#stage-ranking{box-sizing:border-box;color:#30483e;background:#fafbf7;border:1px solid #dcded5;border-radius:20px;width:min(440px,100vw - 32px);max-height:calc(100dvh - 32px);padding:20px;overflow:auto}#daily-ranking::backdrop,#stage-ranking::backdrop{background:#243a3655}#daily-ranking h2,#stage-ranking h2{font-size:1.2rem}#ranking-entries,#stage-ranking-entries{margin:16px 0;padding:0;list-style:none}.ranking-row{border-bottom:1px solid #dcded5;grid-template-columns:36px 32px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;font-size:.9rem;display:grid}.ranking-avatar,.ranking-avatar svg{width:32px;height:32px}.ranking-nickname{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}#ranking-mine,#stage-ranking-mine{background:#eaf0e9;border-radius:12px;padding:12px}.ranking-actions{justify-content:flex-end;gap:12px;display:flex}#daily-ranking button,#daily-ranking a,#stage-ranking button,#stage-ranking a,.ranking-open{min-width:44px;min-height:44px}.stage-ranking-tabs{gap:8px;display:flex}.stage-ranking-tabs button{color:inherit;background:0 0;border:1px solid #526b59;border-radius:10px;flex:1}.stage-ranking-tabs [aria-selected=true]{background:#e0eedf;font-weight:700}.home.home-landing{max-width:1000px;margin:auto;padding:22px 28px}.home-heading{text-align:center;margin-bottom:24px}.home-heading h1{margin:8px 0;font-size:clamp(24px,4vw,36px)}.home-heading p{color:#62766b;margin:8px 0}.home-games{grid-template-columns:1fr 1fr;gap:18px;display:grid}.home-games .game-choice{text-align:left;color:#254d3b;background:#eef9ee;border:2px solid #b1d6be;border-radius:24px;grid-template-columns:1fr 130px;align-items:center;min-height:230px;padding:24px;display:grid;position:relative;overflow:hidden;box-shadow:0 5px #c5ddc6}.home-games .quest{color:#655125;background:#fff8e4;border-color:#e5ce8b;box-shadow:0 5px #e8d9ae}.game-choice:active{transform:translateY(2px)}.game-choice:focus-visible{outline-offset:5px;outline:3px solid #328a74}.mode-copy{z-index:1;flex-direction:column;gap:9px;display:flex}.mode-copy small{letter-spacing:.14em;font-size:11px}.home-games .mode-copy strong{font-size:32px;line-height:1.1}.mode-copy b{font-size:13px}.mode-copy>span{font-size:13px;line-height:1.65}.mode-copy em{margin-top:4px;font-size:13px;font-style:normal;font-weight:800}.mode-scene{place-items:center;height:174px;display:grid;position:relative}.mode-board{background:#d1e8d4;border:2px solid #a9cfb6;border-radius:14px;grid-template-columns:repeat(3,1fr);gap:4px;width:126px;padding:8px;display:grid;position:relative;transform:rotate(-7deg);box-shadow:0 6px #adcab3}.quest .mode-board{background:#f1dda6;border-color:#dbc57e;transform:rotate(7deg);box-shadow:0 6px #d9c58f}.mode-board i{aspect-ratio:1;background:#fffaf0;border-radius:5px;place-items:center;display:grid}.mode-board svg,.mode-board img{width:28px;height:28px}.home-actions{justify-content:center;margin:25px 0 8px;display:flex}.home-secondary{color:#355346;background:#fffdf5;border:1px solid #cbd8cc;border-radius:14px;min-height:44px;padding:12px 24px;font-weight:750}.home-teaser{text-align:center;color:#637568;min-height:18px;font-size:12px}.home-daily{max-width:640px;margin:18px auto 0}.home-tertiary{flex-wrap:wrap;justify-content:center;gap:4px;margin-top:14px;display:flex}.home-tertiary button{min-height:44px}.home-daily h2{font-size:18px}.home-daily p{font-size:13px}@media (width<=650px){.home.home-landing{padding:16px 12px}.home-heading{margin-bottom:18px}.home-heading p{font-size:13px}.home-games{grid-template-columns:1fr;gap:16px}.home-games .game-choice{border-radius:21px;grid-template-columns:1fr 100px;min-height:164px;padding:16px 18px}.mode-copy{gap:7px}.home-games .mode-copy strong{font-size:26px}.mode-copy>span,.mode-copy b,.mode-copy em{font-size:12px}.mode-scene{height:140px}.mode-board{gap:3px;width:96px;padding:6px}.mode-board svg,.mode-board img{width:23px;height:23px}.home-actions{margin-top:20px}.home-teaser{line-height:1.6}.home-tertiary .text-button{font-size:12px}}@media (orientation:landscape) and (height<=500px) and (width>=600px){.home-games{grid-template-columns:1fr 1fr}.home-games .game-choice{grid-template-columns:1fr 90px;min-height:164px;padding:16px}.mode-scene{height:140px}.home-heading{margin-bottom:14px}}@media (prefers-reduced-motion:reduce){.game-choice:active{transform:none}}.home-games .game-choice.rush:hover{background:#e7f5e8}.home-games .game-choice.quest:hover{background:#fff3d2}nav.records-mode{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:calc(100% - 32px);max-width:820px;margin:12px auto;padding:0;display:grid}nav.records-mode button{color:#405b48;text-align:center;background:#fffdf5;border:2px solid #c6d4c2;border-radius:18px;gap:6px;min-height:80px;padding:12px 8px;display:grid}nav.records-mode span{font-size:11px}nav.records-mode button[aria-pressed=true]{color:#274e38;background:#e9f6e4;border-color:#317e62;box-shadow:inset 0 -4px #9ac399}nav.records-mode #records-mode-quest[aria-pressed=true]{color:#644c12;background:#fff1c8;border-color:#aa852d;box-shadow:inset 0 -4px #e2c575}nav.records-mode button:focus-visible{outline-offset:3px;outline:3px solid #247f75}#records-mode-home{max-width:820px;min-height:44px;margin:0 auto;display:block}nav.records-mode{grid-template-columns:repeat(3,minmax(0,1fr))}nav.records-mode strong{font-size:16px}.record-summary{max-width:900px;margin:auto;padding:16px}.record-summary header{text-align:center}.record-summary h1{font-size:26px}.record-summary header p{color:#556b5c;font-size:13px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.summary-grid article{background:#f3f9ee;border:1px solid #b9cdbb;border-radius:20px;min-width:0;padding:20px}.summary-grid #summary-quest{background:#fff8e5;border-color:#ddc886}.summary-grid h2{margin:0 0 14px}.summary-grid p{font-size:14px;line-height:1.65}.summary-standing{font-weight:750;font-size:18px!important}.summary-goal{background:#fffa;border-radius:10px;padding:10px}.summary-actions{gap:8px;margin-top:16px;display:grid}.summary-grid button{width:100%;min-height:44px;font:inherit;white-space:normal;padding:10px}.summary-grid summary{cursor:pointer;min-height:44px;padding:10px 0}.summary-grid details button{margin:4px 0}.summary-grid button:focus-visible,.summary-grid summary:focus-visible{outline-offset:3px;outline:3px solid #366c51}.summary-grid button:disabled{opacity:.55;cursor:default}.records-table{table-layout:fixed}.records-table th:first-child{width:48px}.records-table th,.records-table td{overflow-wrap:anywhere;word-break:normal}.records-table td:last-child{white-space:normal}.records-table th:last-child{width:32%}@media (width<=650px){.summary-grid{grid-template-columns:1fr}.record-summary{padding:12px}.summary-grid article{padding:16px}nav.records-mode button{min-height:64px}nav.records-mode span{font-size:10px}.records-table{font-size:12px}}.record-summary header h1{margin:8px 0;font-size:24px}.record-summary header p{margin:6px 0 14px}.summary-grid article{padding:14px}.summary-grid h2{margin-bottom:8px;font-size:21px}.summary-grid p{margin:6px 0}.summary-actions{margin-top:12px}.summary-secondary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.summary-secondary button,.summary-grid details summary{font-size:13px}.summary-grid .summary-goal{padding:8px}.quest-official-records .records-tabs button,.quest-official-records .text-button{font:inherit;color:#365441;cursor:pointer;background:#fffdf6;border:1px solid #ccd5c4;border-radius:12px;min-height:44px;padding:10px 16px}.quest-official-records button[aria-pressed=true]{color:#fff;background:#50735b;border-color:#50735b}.quest-official-records{background:#fffdf6;border:1px solid #d9dfcf;border-radius:22px;max-width:980px;margin:16px auto 36px;padding:24px;line-height:1.65}.quest-official-records h2{margin:0 0 8px;font-size:26px}.quest-official-records>p{color:#60705e;font-size:14px}.quest-official-records .records-tabs{flex-wrap:wrap;gap:8px;margin:20px 0 12px;display:flex}#quest-record-filters{flex-wrap:wrap;align-items:center;gap:8px;display:flex}#quest-record-filters select{font:inherit;background:#fff;border:1px solid #bccbb5;border-radius:8px;min-height:44px;padding:8px}#quest-rank-rule{background:#f0f4e9;border-radius:12px;padding:12px;font-size:13px}#quest-official-records .review-button{width:100%;min-height:48px;font:inherit;margin:8px 0;padding:12px}#quest-official-records .records-table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}#quest-official-records th,#quest-official-records td{word-break:keep-all;overflow-wrap:anywhere;border-bottom:1px solid #e3e8dd;padding:12px 6px}#quest-official-records tr[data-me=true]{background:#edf5e8}#quest-official-start{width:100%;min-height:48px;margin-top:20px}.quest-official-records button:focus-visible{outline-offset:3px;outline:3px solid #456d51}body.quest-active .records-mode,body.quest-active #records-mode-home{display:none}body.quest-active #records-mode-content{height:100%}#quest-official-records .records-table{table-layout:fixed}#quest-official-records .records-table th:first-child{width:calc(4ch + 12px)}#quest-official-records .records-table th:last-child{width:40%}#quest-official-records .records-table td:last-child{white-space:normal;text-align:left}#quest-official-records .quest-standing-line{display:block}@media (width<=650px){.quest-official-records{margin:12px 8px 24px;padding:16px}.quest-official-records h2{font-size:23px}.quest-official-records .records-tabs{gap:5px}.quest-official-records .records-tabs button{flex:1;padding:8px;font-size:13px}#quest-official-records .records-table{font-size:12px}}.quest-select.quest-map{color:#354b3d;background:radial-gradient(at 100% 0,#f1e7b74d,#0000 45%);max-width:1180px;padding:20px 24px 36px}.quest-map-header{justify-content:space-between;align-items:center;gap:20px;margin-top:16px;display:flex}.quest-map .quest-map-header h1{margin:6px 0;font-size:30px}.quest-map-header p{margin:0;font-size:13px}.quest-map-header .character-hud{flex-basis:80px;width:80px;height:80px}.quest-map-header .character-hud img{width:80px;height:80px}.quest-map-summary{background:#fff9de;border:1px solid #e1d8ae;border-radius:18px;justify-content:space-between;align-items:center;gap:28px;margin:18px 0 12px;padding:16px 20px;display:flex}.quest-map-summary>div{gap:5px;display:grid}.quest-map-summary strong{font-variant-numeric:tabular-nums;font-size:26px}.quest-map-summary small{font-size:13px;font-weight:500}.quest-map-summary span{color:#776a40;font-size:11px}.quest-map-summary progress{accent-color:#6d9567;width:100%;height:7px}.quest-map-actions{align-items:center;gap:12px;display:flex}.quest-map-actions .primary{min-height:48px;padding:10px 24px;font-size:16px}.quest-map button{cursor:pointer}.quest-map button:disabled{cursor:default}.quest-map button:focus-visible{outline-offset:4px;outline:3px solid #365e47}.quest-map-guide{margin:12px 0 18px;font-size:12px;line-height:1.7}.quest-save-warning{background:#fff3d7;border:1px solid #cdaa67;border-radius:12px;padding:12px;font-size:12px}.quest-save-warning button{min-height:44px}.quest-map-trail{padding:8px 16px;position:relative}.quest-map-list{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:230px;gap:24px 18px;margin:0;padding:0;list-style:none;display:grid;position:relative}.quest-map-list>li{min-width:0}.quest-map-trail>svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.quest-map-trail>svg path{fill:none;stroke:#c6b98b;stroke-width:3px;stroke-dasharray:5 6}.quest-road-mobile{display:none}.quest-map .quest-map-node{text-align:center;color:#354b3d;background:#fffdf5;border:1px solid #d4ddc8;border-radius:20px;flex-direction:column;justify-content:flex-start;align-items:center;gap:4px;width:100%;height:100%;min-height:0;padding:12px 8px;display:flex;position:relative;box-shadow:0 3px #d7dfcb}.quest-map .quest-map-node:hover:not(:disabled){background:#f7faed;border-color:#78916d}.quest-map .quest-map-node[data-state=current]{background:#f2f8e6;border:2px solid #648361;box-shadow:0 3px #9eaf89}.quest-map .quest-map-node:disabled{opacity:1;color:#647064;box-shadow:none;background:#edeee7;border-style:dashed}.quest-map-chapter{color:#71816a;font-size:10px!important}.quest-node-number{background:#e4ecd3;border-radius:50%;flex-shrink:0;place-items:center;width:46px;height:46px;margin:3px 0 5px;font-weight:800;display:grid;position:relative;font-size:25px!important}.quest-map-node[data-state=locked] .quest-node-number{color:#6b7665;background:#dce0d5}.quest-node-status{color:#526b4c;background:#fffdf5;border:1px solid #c6d1b8;border-radius:8px;padding:1px 5px;font-weight:600;position:absolute;bottom:-7px;right:-10px;font-size:9px!important}.quest-map-stars{color:#b09340;letter-spacing:1px;gap:1px;line-height:1.1;display:flex;font-size:23px!important}.quest-map .quest-map-stars b{color:inherit}.quest-map .quest-map-stars span{color:#9a947c;font-size:inherit!important}.quest-map-state{font-weight:700;font-size:11px!important}.quest-map-goals{place-items:center;min-height:30px;line-height:1.35;display:grid;font-size:11px!important}.quest-map-best{color:#65765c;font-size:10px!important}.quest-map-retry{color:#77622f;margin-top:auto;line-height:1.4;font-size:10px!important}.quest-result-stars .quest-award-star{color:#b5984c;min-width:1.15em;display:inline-block}.quest-award-star[data-earned=true]:not(.is-revealed){opacity:.22}.quest-award-star.is-revealed.is-animated{animation:.36s cubic-bezier(.2,.8,.2,1) both quest-star-arrive}.quest-result[data-finale=true] .quest-award-star.is-revealed.is-animated{animation-name:quest-star-finale}.quest-result .quest-reward-total{color:#765f27;font-size:16px;font-weight:700}.quest-result .quest-reward-note{font-size:12px}.quest-result .quest-save-warning{font-size:11px}@keyframes quest-star-arrive{0%{opacity:.25;transform:translateY(8px)scale(.65)}to{opacity:1;transform:none}}@keyframes quest-star-finale{0%{opacity:.25;transform:translateY(8px)scale(.65)}65%{opacity:1;text-shadow:0 0 14px #e7c95d;transform:scale(1.15)}to{text-shadow:none;transform:none}}@media (width<=650px){.quest-select.quest-map{padding:16px 12px 28px}.quest-map .quest-map-header h1{font-size:24px}.quest-map-header{gap:8px}.quest-map-header .character-hud,.quest-map-header .character-hud img{flex-basis:64px;width:64px;height:64px}.quest-map-summary{gap:12px;padding:12px}.quest-map-summary strong{font-size:23px}.quest-map-summary small{font-size:11px}.quest-map-actions .primary{flex:1;padding:10px;font-size:15px}.quest-map-trail{padding:8px 6px}.quest-map-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:230px;gap:16px 12px}.quest-road-desktop{display:none}.quest-road-mobile{display:block}.quest-map-guide{font-size:11px}.quest-map .quest-map-node{padding:10px 6px}.quest-map-goals,.quest-map-retry{font-size:10px!important}}@media (prefers-reduced-motion:reduce){.quest-award-star.is-revealed.is-animated{animation:none!important;transform:none!important}.quest-map *{scroll-behavior:auto!important}}.quest-map-actions .primary{flex:1;width:auto}.quest-map-actions #quest-map-sound{white-space:nowrap;min-width:70px;min-height:44px}@media (width>=651px){.quest-select.quest-map{grid-template-columns:minmax(0,1fr) 330px;gap:8px 24px;display:grid}.quest-map>#quest-home{grid-column:1/-1;justify-self:start;min-height:44px}.quest-map-header{grid-area:2/1;margin:0}.quest-map>.quest-practice{grid-area:3/1;margin:0}.quest-map-summary{grid-area:2/2/4;gap:12px;margin:0;padding:14px}.quest-map-summary strong{font-size:24px}.quest-map-summary small{font-size:11px}.quest-map-actions{grid-area:4/2}.quest-map-guide{grid-area:4/1;margin:6px 0}.quest-map>.quest-save-warning{grid-area:5/1/auto/-1}.quest-map-trail{grid-area:6/1/auto/-1}.quest-map-list{grid-auto-rows:220px}}@media (height<=550px) and (orientation:landscape){.quest-result[data-finale] .character-hud{flex-basis:40px;width:40px;height:40px;display:block}.quest-result[data-finale] .character-hud img{width:40px;height:40px}.quest-result[data-finale] p{margin:6px 0}.quest-result[data-finale] .quest-result-stars{font-size:26px!important}.quest-result[data-finale] #quest-result-character{float:right}.quest-result[data-finale] .quest-result-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.quest-result[data-finale] .quest-result-actions button{padding:8px;font-size:12px}}.quest-map-retry,.quest-map-goals{word-break:keep-all;overflow-wrap:break-word}.quest-map-trail{padding:8px 0}.quest-map-list{grid-template-columns:repeat(auto-fit,minmax(58px,1fr));grid-auto-rows:76px;gap:8px}.quest-map .quest-map-node{box-shadow:none;border-radius:10px;justify-content:center;gap:3px;padding:5px 2px}.quest-node-number{background:0 0;justify-content:center;align-items:center;gap:3px;width:auto;height:auto;margin:0;line-height:22px;display:flex;font-size:19px!important}.quest-map-node[data-state=current] .quest-node-number{color:#355642;background:0 0}.quest-map-node[data-state=locked] .quest-node-number{background:0 0}.quest-node-status{background:0 0;border:0;padding:0 2px;position:static;font-size:9px!important}.quest-map-stars{letter-spacing:0;gap:0;font-size:14px!important}.quest-map .quest-map-node[data-state=current]{box-shadow:none}.quest-select{max-width:900px;margin:auto;padding:24px}.quest-select h1{margin:16px 0 8px;font-size:36px}.quest-practice{color:#657265;font-size:11px}.quest-stage-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:24px;display:grid}.quest-stage-card{text-align:left;color:#354b3d;background:#fffdf5;border:1px solid #d5ddcc;border-radius:16px;gap:10px;min-height:140px;padding:18px;display:grid}.quest-stage-card span{font-size:13px}.quest-stage-card b{color:#897231}.quest-stage-card:disabled{opacity:.5}.quest-mode-choice{grid-template-columns:1fr 1fr;gap:12px;margin-top:22px;display:grid}.quest-mode-choice>*{text-align:left;color:#3c5944;background:#f4f7ec;border:1px solid #cdd8c5;border-radius:14px;gap:6px;padding:16px;display:grid}.quest-mode-choice strong{font-size:18px}.quest-mode-choice span,.quest-mode-choice small{font-size:12px}body.quest-active{overflow:hidden}body.quest-active .masthead,body.quest-active footer,body.quest-active #storage-warning{display:none}.quest-active #content{height:100dvh;padding:0}.quest-play{max-width:1100px;height:100%;padding:8px 12px max(8px,env(safe-area-inset-bottom));grid-template-rows:auto minmax(0,1fr) auto;gap:8px;margin:auto;display:grid}.quest-toolbar{align-items:center;gap:12px;display:flex}.quest-toolbar h1{white-space:nowrap;margin:0 auto 0 0;font-size:18px}.quest-toolbar button,.quest-actions button{min-height:44px}.quest-toolbar .schoolboda-exit{min-height:44px;padding:8px;font-size:11px}.quest-layout{grid-template-columns:minmax(240px,.9fr) minmax(0,1.1fr);align-items:center;gap:24px;min-height:0;display:grid}.quest-hud{background:#fffdf7;border:1px solid #d6dece;border-radius:20px;min-width:0;padding:14px}.quest-hud-top{justify-content:space-between;align-items:center;display:flex}.quest-hud-top strong{font-variant-numeric:tabular-nums;font-size:28px;display:block}.quest-goal{gap:3px;margin:7px 0;font-size:13px;display:grid}.quest-goal span{justify-content:space-between;display:flex}.quest-goal progress{accent-color:#6d9567;width:100%;height:7px}.quest-hud p{margin:8px 0;font-size:12px;line-height:1.5}.quest-star-rule{color:#756534;font-size:11px!important}.quest-actions{gap:16px;display:flex}.quest-hud #quest-feedback{color:#536a50;min-height:36px;margin-bottom:0}.quest-board-wrap{place-items:center;width:100%;height:100%;min-height:0;display:grid;container-type:size}#quest-board{aspect-ratio:7/9;touch-action:none;-webkit-user-select:none;user-select:none;isolation:isolate;background:#e2e7d8;border:2px solid #d2d9c7;border-radius:16px;grid-template-rows:repeat(9,minmax(0,1fr));grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;width:min(100cqw,77.7778cqh);padding:4px;display:grid;position:relative}.quest-tile{color:#374c3c;touch-action:none;background:#fffdf6;border:0;border-radius:8px;place-items:center;min-width:0;min-height:0;padding:0;display:grid;position:relative;box-shadow:0 2px 2px #4d63431a}.quest-tile .block-art,.quest-tile>svg{object-fit:contain;pointer-events:none;width:92%;height:92%}.quest-tile[data-selected=true]{background:#faf0b9;box-shadow:inset 0 0 0 2px #719368}.quest-tile:focus-visible{z-index:2;outline:3px solid #35694a}.quest-order{text-shadow:0 1px 3px #fff;pointer-events:none;place-items:center;font-size:15px;font-weight:800;display:grid;position:absolute;inset:0}.quest-tile[data-cover=case] .block-art{opacity:.1}.quest-tile .desk-mark{font-size:18px;inset:3px}.quest-case{pointer-events:none;z-index:2;width:28.5714%;height:22.2222%;position:absolute}.quest-case svg{width:100%;height:100%}.quest-case b{background:#fff3bf;border-radius:50%;place-items:center;width:20px;height:20px;font-size:12px;display:grid;position:absolute;bottom:12%;right:15%}#quest-controls{text-align:center;color:#61725f;margin:0;font-size:11px}.quest-result{color:#364c3c;text-align:center;background:#fffdf5;border:1px solid #cdd8c7;border-radius:22px;width:calc(100% - 24px);max-width:440px;max-height:calc(100dvh - 24px);padding:24px;overflow:auto}.quest-result::backdrop{background:#203c2f88}.quest-result h2{font-size:24px}.quest-result p{font-size:13px}.quest-result-stars{color:#b5984c;font-size:32px!important}.quest-result .character-hud{margin:auto}.quest-result-actions{gap:8px;display:grid}.quest-result button{min-height:44px}@media (width<=650px) and (orientation:portrait){.quest-play{gap:4px;padding:6px 8px}.quest-toolbar{flex-wrap:wrap;gap:4px}.quest-toolbar h1{font-size:16px}.quest-toolbar .schoolboda-exit{display:none}.quest-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;gap:5px}.quest-hud{padding:7px 10px}.quest-hud-top{float:right;gap:0;width:auto;height:auto;margin-left:8px}.quest-hud-top strong{white-space:nowrap;font-size:18px}.quest-hud-top .quest-practice{display:none}.quest-hud-top .character-hud,.quest-hud-top .character-hud img{width:56px;height:56px}.quest-goal{margin:4px 0}.quest-hud #quest-lesson{clear:both;margin:3px 0;font-size:11px}.quest-star-rule{margin:3px 0!important}.quest-actions{float:right;gap:6px}.quest-actions button{min-height:36px;padding:4px}.quest-hud #quest-feedback{max-width:62%;min-height:32px;margin:2px 0;font-size:10px}#quest-controls{font-size:9px}.quest-select{padding:16px}.quest-stage-list,.quest-mode-choice{grid-template-columns:1fr}}@media (height<=550px) and (orientation:landscape){.quest-play{gap:4px;padding:4px 10px}.quest-hud{padding:6px 10px}.quest-hud-top{height:auto}.quest-hud-top strong{font-size:22px}.quest-goal{margin:4px 0}.quest-hud p{margin:3px 0;font-size:11px}.quest-hud #quest-feedback{min-height:28px}.quest-actions button{min-height:36px;padding:4px}.quest-result{padding:12px}.quest-result h2{margin:6px;font-size:20px}.quest-result .character-hud{display:none}.quest-result-stars{margin:5px}}@media (prefers-reduced-motion:reduce){.quest-play *{scroll-behavior:auto!important}}.quest-toolbar button{font-size:12px}.quest-toolbar h1{margin-left:8px}.quest-goal progress{appearance:none;background:#e4e9dc;border:0;border-radius:6px;overflow:hidden}.quest-goal progress::-webkit-progress-bar{background:#e4e9dc}.quest-goal progress::-webkit-progress-value{background:#739268}.quest-goal progress::-moz-progress-bar{background:#739268}@media (width<=650px) and (orientation:portrait){.quest-hud-top{float:none;justify-content:space-between;width:100%;height:48px;margin:0 0 4px;position:relative}.quest-hud-top strong{font-size:22px}.quest-hud-top .quest-practice{font-size:10px;display:block}.quest-hud-top .character-hud{flex-basis:56px}.quest-hud-top .character-hud,.quest-hud-top .character-hud img{width:56px;height:56px}#quest-goals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}#quest-goals:has(>:only-child){grid-template-columns:1fr}.quest-goal{font-size:11px}.quest-goal span{gap:4px}.quest-goal b{white-space:nowrap}}.quest-actions button{min-height:44px}.quest-mode-choice button{cursor:pointer}.quest-mode-choice button:hover{background:#e6eddc}.quest-path{pointer-events:none;z-index:3;width:calc(100% - 8px);height:calc(100% - 8px);position:absolute;inset:4px;overflow:visible}.quest-path polyline{fill:none;stroke:#407958;stroke-width:5px;stroke-linecap:round;stroke-linejoin:round;opacity:.75}.quest-order{z-index:4}.quest-hud #quest-used{color:#657265;margin:3px 0;font-size:10px}.quest-result-actions{padding:12px 0 max(8px,env(safe-area-inset-bottom));background:#fffdf5;position:sticky;bottom:-24px;box-shadow:0 -8px 16px #fffdf5}.quest-result-actions button[hidden]{display:none}#quest-official-goal{color:#655125;font-size:17px;font-weight:750}.quest-result h2{margin:8px 0 12px}.quest-toolbar .schoolboda-exits{margin-left:auto}@media (width<=650px) and (orientation:portrait){.quest-toolbar .schoolboda-exits{justify-content:flex-end;gap:8px;width:100%}.quest-toolbar .schoolboda-exits .schoolboda-exit{min-height:44px;padding:4px 8px;font-size:11px;display:inline-flex}.quest-toolbar .schoolboda-exit[hidden]{display:none}}.quest-play{padding-top:max(6px,env(safe-area-inset-top));padding-bottom:max(6px,env(safe-area-inset-bottom));grid-template-rows:auto minmax(0,1fr)}.quest-hud{gap:2px;padding:5px 9px;display:grid}.quest-hud-top{float:none;justify-content:space-between;align-items:center;gap:6px;height:auto;min-height:44px;margin:0;display:flex}.quest-hud-top .quest-practice{font-size:10px;display:block}.quest-move-count{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:3px 8px;display:flex}.quest-hud #quest-used{color:#354b3d;margin:0;font-size:18px;line-height:1.15}#quest-moves{white-space:nowrap;font-size:12px}#quest-retry{color:#34523c;white-space:nowrap;background:#e6f2dd;border:1px solid #78936c;border-radius:10px;min-height:44px;padding:6px 12px;font-size:12px;font-weight:750}#quest-retry:focus-visible{outline-offset:2px;outline:3px solid #35694a}#quest-star-targets{font-variant-numeric:tabular-nums;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;font-size:11px;line-height:1.3;display:grid}#quest-star-targets>span{text-align:center;white-space:nowrap;background:#f4f7ec;border:1px solid #d4ddc8;border-radius:6px;gap:1px;padding:2px;display:grid}#quest-star-targets b{color:#70581f;font-size:11px}#quest-star-targets [data-exceeded=true]{color:#923c2c;background:#f8e8e2;border-style:dashed}#quest-star-targets [data-exceeded=true] b{color:inherit}.quest-hud #quest-feedback{max-width:none;min-height:28px;margin:0;font-size:11px;line-height:14px}@media (height<=550px) and (orientation:landscape){.quest-play{padding-top:max(4px,env(safe-area-inset-top));padding-bottom:max(4px,env(safe-area-inset-bottom))}}@media (width<=650px) and (orientation:portrait){.quest-play{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right));gap:4px}.quest-hud-top{width:100%}#quest-goals{gap:5px}#quest-goals:has(>.quest-goal:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}.quest-goal{min-width:0;margin:0;font-size:10px}.quest-goal span{min-width:0}#quest-goals:has(>.quest-goal:nth-child(3)) .quest-goal span{white-space:nowrap;letter-spacing:-.04em;line-height:1.3;display:block}#quest-goals:has(>.quest-goal:nth-child(3)) .quest-goal b{letter-spacing:0;font-size:10px;display:block}.quest-goal progress{height:6px;display:block}}[data-quest-index][data-repaired=true]{outline-offset:-3px;outline:3px solid #f2b705;box-shadow:inset 0 0 0 999px #f2b7052e}@media (prefers-reduced-motion:no-preference){[data-quest-index][data-repaired=true]{animation:.8s ease-in-out 2 quest-repair-pulse}}@keyframes quest-repair-pulse{50%{box-shadow:inset 0 0 0 999px #f2b70561}}.daily-mode-tabs,.daily-date-actions{flex-wrap:wrap;gap:8px;margin:8px 0 16px;display:flex}.daily-mode-tabs button,.daily-date-actions button{font:inherit;color:#3e5b45;cursor:pointer;background:#fffdf5;border:1px solid #cbd5c2;border-radius:12px;min-height:44px;padding:10px 16px}.daily-mode-tabs [aria-pressed=true]{color:#fff;background:#50735b}.daily-mode-tabs button:focus-visible{outline-offset:3px;outline:3px solid #476c50}#daily-mode-body .primary{margin-top:8px}#daily-mode-body>.text-button{min-height:44px;margin:8px auto 0;display:block}#quest-daily-ranking table{border-collapse:collapse;text-align:left;width:100%}#quest-daily-ranking td,#quest-daily-ranking th{overflow-wrap:anywhere;border-bottom:1px solid #dde4d5;padding:10px 5px}#quest-daily-ranking tr[data-me=true]{background:#eef4e6}#quest-daily-play{width:100%;min-height:48px;margin-top:16px}#quest-daily-back{min-height:44px;margin-top:8px;display:block}@media (width<=650px){#quest-daily-ranking table{font-size:12px}.daily-mode-tabs button{flex:1;padding:10px}.quest-toolbar #quest-daily-label{font-size:10px}}.stage-active .fever-board-stack{z-index:1;align-self:center;width:min(100cqw,77.7778cqh - 52.8889px);min-width:0;position:relative}.stage-active .fever-board-stack .official-board{width:100%;max-width:none}.fever-hud{box-sizing:border-box;pointer-events:none;text-align:center;color:#596746;font-variant-numeric:tabular-nums;grid-template-rows:18px 16px 6px;gap:1px;height:44px;padding:0 4px 2px;display:grid}.fever-label{white-space:nowrap;font-size:14px;font-weight:700;line-height:18px}.fever-board-bonus{white-space:nowrap;font-size:10px;line-height:16px}.fever-hud progress{--fever-track:#e2ece7;--fever-fill:#387f78;appearance:none;width:100%;height:6px;accent-color:var(--fever-fill);background:var(--fever-track);border:0;border-radius:999px;align-self:start;display:block;overflow:hidden}.fever-hud progress::-webkit-progress-bar{background:var(--fever-track);border-radius:999px}.fever-hud progress::-webkit-progress-value{background:var(--fever-fill);border-radius:999px;transition:width .12s linear}.fever-hud progress::-moz-progress-bar{background:var(--fever-fill);border-radius:999px}.fever-hud[data-active=true]{color:#78550e}.fever-hud[data-active=true] .fever-board-bonus{font-size:13px;font-weight:750}.fever-hud[data-active=true] progress{--fever-track:#51422f;--fever-fill:#ffce50}.fever-hud[data-arrival=true] .fever-label{text-shadow:0 0 8px #e7bd6a80;animation:.7s ease-out fever-arrival}@keyframes fever-arrival{0%{text-shadow:0 0 1px #e7bd6a40}45%{text-shadow:0 0 12px #e7bd6ac0}to{text-shadow:0 0 8px #e7bd6a80}}.official-board-wrap:before{content:"";pointer-events:none;opacity:0;background:radial-gradient(#f5d77850,#0000 70%);border-radius:24px;position:absolute;inset:0}.official-board-wrap[data-fever-active=true]:before{opacity:.7;animation:1.8s ease-in-out infinite alternate fever-glow}.official-board-wrap[data-fever-active=true] .official-board{outline-offset:2px;outline:2px solid #cfa445;box-shadow:0 0 14px 3px #d6b96350}@keyframes fever-glow{0%{opacity:.35}to{opacity:.75}}@media (prefers-reduced-motion:reduce){.official-board-wrap[data-fever-active=true]:before{opacity:.5;animation:none}.fever-hud progress::-webkit-progress-value{transition:none}.fever-hud[data-arrival=true] .fever-label{text-shadow:none;animation:none}}.official-stage{max-width:860px;margin:auto;padding:18px}.official-stage h1{letter-spacing:-.035em;margin:10px 0;font-size:clamp(1.35rem,3vw,1.8rem)}.official-stage button,.official-stage select{min-height:44px}#official-status{color:var(--muted);font-size:.9rem}#official-status:empty{display:none}.official-guide{color:var(--muted);font-size:.83rem;line-height:1.65}.official-layout{grid-template-columns:minmax(210px,1fr) minmax(0,390px);align-items:start;gap:22px;display:grid}.official-hud{border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:20px;box-shadow:0 7px 24px #303e3506}.hud-label{color:var(--muted);margin-bottom:3px;font-size:.72rem;font-weight:600;display:block}.official-score-row,.official-goal-row,.official-star-row{justify-content:space-between;align-items:center;gap:12px;display:flex}#official-score{font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-size:clamp(1.4rem,3vw,2rem);display:block}.official-timer{text-align:center;background:#edf2e9;border-radius:12px;min-width:78px;padding:8px 12px}#official-time{font-variant-numeric:tabular-nums;font-size:1.45rem}.official-timer[data-urgency=urgent]{color:#8c4f12;background:#fff0d4;outline:1px solid #d0a558}.official-timer[data-urgency=final]{color:#9c3429;background:#f9ded8;outline:2px solid #c67c6d}.official-timer:not([data-urgency=calm]) .hud-label{color:inherit}.official-goal-row{margin-top:20px;font-size:.85rem}.official-progress{background:#e8eadf;border-radius:20px;height:10px;margin:10px 0;overflow:hidden}#official-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#88a88a,#4d7359);width:0;height:100%;transition:width .23s ease-out;display:block}#official-goal{margin:8px 0 18px;font-size:.84rem;font-weight:600}#official-stars{color:#96732d;letter-spacing:.1em;font-size:1.35rem}#official-chain{white-space:nowrap;background:#f1eddf;border-radius:20px;padding:4px 9px;font-size:.72rem}#official-next-star,#official-missions{color:var(--muted);font-size:.8rem}#official-missions:empty{display:none}.official-hud .primary{width:100%;margin-top:8px}.official-hud .primary:disabled{color:#65765d;box-shadow:none;background:#e8eadf}.official-feedback{text-align:center;min-height:30px;color:var(--accent);font-size:.85rem;font-weight:600}.official-board{isolation:isolate;aspect-ratio:7/9;touch-action:none;-webkit-user-select:none;user-select:none;background:#e6e9df;border:1px solid #d9dfcf;border-radius:16px;grid-template-rows:repeat(9,1fr);grid-template-columns:repeat(7,1fr);gap:3px;width:100%;padding:5px;display:grid;position:relative}.official-stage .official-tile{touch-action:none;background:#fafbf6;border:1px solid #d7dccf;border-radius:9px;min-width:0;min-height:0;padding:1px;position:relative;box-shadow:0 2px #cbd2c540}.official-tile svg{pointer-events:none;width:100%;height:100%}.official-tile.selected{background:#e1ecdd;outline:2px solid #547864;transform:scale(1.04);box-shadow:0 0 0 4px #70916c28}.official-tile.official-committed{filter:brightness(1.08);transition:transform 90ms ease-out;transform:scale(1.1)}.official-order{color:#274535;z-index:3;font-size:11px;font-weight:800;position:absolute;top:0;right:2px}.official-path,.official-particles{pointer-events:none;z-index:2;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.official-path polyline{fill:none;stroke-linecap:round;stroke-linejoin:round}.path-halo{stroke:#fffdf8d9;stroke-width:15px}.path-core{stroke:#547864b8;stroke-width:6px}.official-board[data-connection="2"] .path-core{stroke:#547864;stroke-width:8px}.official-board[data-connection="3"] .path-core{stroke:#b39248;stroke-width:10px}.official-particles{z-index:4}.official-fragment{border-radius:1px;width:5px;height:8px;position:absolute}.official-fragment.star-dust{clip-path:polygon(50% 0,63% 36%,100% 50%,63% 64%,50% 100%,37% 64%,0 50%,37% 36%);width:10px;height:10px}#official-actions{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}#official-stages{margin-top:18px}#official-stages .stage-card{text-align:left;background:var(--surface);border-radius:16px;flex-direction:column;align-items:start;gap:8px;padding:16px;display:flex}.official-card-number{font-weight:700}.official-card-stars{color:#96732d;letter-spacing:.12em}#official-stages small{color:var(--muted);font-size:.73rem}.official-result{text-align:center;border:1px solid var(--line);background:var(--surface);border-radius:24px;max-width:420px;margin:24px auto;padding:28px}.official-result-stars{color:#b39248;letter-spacing:.15em;margin-bottom:20px;font-size:3rem}.official-result-score{letter-spacing:-.04em;font-size:3rem;display:block}.official-result-score small{margin-left:5px;font-size:1rem}.official-result p{color:var(--muted);font-size:.85rem}.official-result .primary{width:100%;margin-top:15px}.official-result-actions{justify-content:center;gap:12px;margin-top:12px;display:flex}@media (width<=650px) and (orientation:portrait){body:has(.official-layout) .masthead{flex-wrap:nowrap;padding:8px 12px}body:has(.official-layout) .masthead a{white-space:nowrap;font-size:12px}body:has(.official-layout) .preferences{gap:4px;width:auto}body:has(.official-layout) .icon-button{padding:8px;font-size:11px}body:has(.official-layout) .masthead a span{display:none}body:has(.official-layout) #game-account{display:none}.official-stage:has(.official-layout)>.eyebrow{display:none}.official-layout{grid-template-columns:1fr;gap:12px}.official-stage{padding:8px}.official-hud{z-index:5;padding:10px 14px;position:sticky;top:6px;box-shadow:0 5px 15px #303e3512}.official-timer{padding:5px 10px}#official-time{font-size:1.3rem}.official-hud .primary{min-height:38px;padding:8px 12px;font-size:.8rem}#official-stars{font-size:1.1rem}.official-score-row{gap:16px}.official-goal-row{margin-top:8px}#official-goal{margin-bottom:8px}.official-hud .official-guide{display:none}#official-next-star{margin:4px 0}.official-board-wrap{justify-self:center;width:min(100%,350px)}}@media (height<=550px) and (orientation:landscape){.official-layout{grid-template-columns:minmax(190px,1fr) minmax(0,260px);gap:16px}.official-board{max-width:calc(77.7778dvh - 71.5556px)}.official-stage h1{margin:4px 0}.official-stage .eyebrow,.official-hud .official-guide{display:none}.official-hud{padding:10px 14px}.official-goal-row{margin-top:8px}#official-goal{margin-bottom:8px}}@media (prefers-reduced-motion:reduce){.official-tile.selected,.official-tile.official-committed{transform:none}#official-progress-fill,.official-tile.official-committed{transition:none}}body.stage-active{height:100dvh;overflow:hidden}.stage-active>.masthead,.stage-active>footer,.stage-active .masthead,.stage-active footer{display:none}.stage-active main{height:100dvh;min-height:0}.stage-active .official-stage{width:100%;max-width:1050px;height:100dvh;padding:max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));grid-template-rows:38px minmax(0,1fr);grid-template-columns:1fr auto;gap:6px 12px;display:grid}.stage-active .official-stage>.eyebrow,.stage-active #official-actions,.stage-active #official-controls{display:none}.stage-active h1{grid-area:1/1;align-self:center;margin:0;font:700 20px/1.1 system-ui,sans-serif}.stage-playbar{grid-area:1/2;align-items:center;gap:10px;display:flex}.stage-playbar button{min-height:36px;padding:4px 8px;font-size:12px}.stage-active #official-body{grid-column:1/-1;min-height:0}.stage-active .official-layout{grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);align-items:center;gap:20px;height:100%;min-height:0}.stage-active .official-hud{min-width:0;padding:14px;position:static}.stage-active .official-board-wrap{grid-template-rows:minmax(0,1fr);justify-items:center;width:100%;height:100%;min-height:0;display:grid;position:relative;container-type:size}.stage-active .official-board{align-self:center;width:min(100cqw,77.7778cqh);max-width:none}.stage-active #official-score{font:750 clamp(22px,3vw,30px)/1.1 system-ui,sans-serif}.official-stage,.stage-review{font-variant-numeric:tabular-nums;font-family:system-ui,-apple-system,Segoe UI,sans-serif}.stage-active .official-timer{min-width:65px;padding:5px 8px}.stage-active #official-time{font-size:24px}.official-progress{position:relative;overflow:visible}.official-star-tick{background:#b39248;width:2px;height:14px;position:absolute;top:-2px;transform:translate(-2px)}.official-thresholds{color:#876927;justify-content:space-between;font-size:11px;display:flex}#official-next-star{margin:5px 0 0}#official-milestone,#official-celebration{z-index:7;pointer-events:none;text-align:center;background:#fffdf8f5;border:1px solid #d7dfce;border-radius:16px;max-width:95%;padding:12px 18px;position:absolute;box-shadow:0 8px 24px #303e351c}#official-milestone{font-size:14px;font-weight:700;top:35%}#official-celebration{color:#896627;font-size:24px;font-weight:750;top:40%}.stage-active #official-status{z-index:9;background:var(--paper);max-width:90%;padding:5px;font-size:12px;position:absolute;bottom:8px;left:16px}.stage-active #official-actions:has([data-auth-login]){z-index:10;background:var(--surface);display:flex;position:absolute;bottom:38px}.stage-review{border:1px solid var(--line);background:var(--surface);width:min(440px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--ink);text-align:center;border-radius:22px;padding:22px;overflow:auto}.stage-review::backdrop{background:#26382a55}.stage-review h2{margin:0;font-size:20px}.stage-review .official-result-stars{margin:8px 0;font-size:32px}.stage-review .official-result-score{font-size:42px}#review-best{color:var(--accent);font-weight:750}#review-title-progress,#review-rival{font-size:13px;line-height:1.6}.review-choices{gap:8px;margin-top:16px;display:flex}.review-choices .primary{min-height:44px;padding:12px 16px}.personal-record{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:16px;margin:12px 0;padding:14px}.personal-record strong{display:block}.personal-record p{font-size:13px}.personal-record progress{width:100%;accent-color:var(--accent);height:7px;margin-top:8px;display:block}@media (width<=650px) and (orientation:portrait){.stage-active .official-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;gap:4px}.stage-active .official-hud{padding:8px 10px}.stage-active .hud-label{font-size:10px}.stage-active .official-progress{height:7px;margin:7px 0}.stage-active .official-star-row{margin-top:5px}.stage-active #official-stars{font-size:16px}.stage-active #official-next-star,.stage-active #official-missions{font-size:11px}.stage-review{margin-bottom:max(8px, env(safe-area-inset-bottom))}}@media (height<=550px) and (orientation:landscape){.stage-active .official-layout{grid-template-columns:minmax(200px,1fr) minmax(0,1.5fr);gap:12px}.stage-active .official-hud{padding:10px}.stage-active .official-stage{grid-template-rows:30px minmax(0,1fr)}.stage-review{padding:12px 20px}.stage-review p{margin:8px 0}.stage-review .official-result-stars{font-size:22px}.stage-review .official-result-score{font-size:30px}}[data-void=true]{visibility:hidden;pointer-events:none}[data-cover]:not([data-cover=""])>svg{opacity:.12}.desk-mark{pointer-events:none;border-radius:7px;place-content:center;font-size:clamp(11px,2vw,20px);font-weight:800;display:grid;position:absolute;inset:0}[data-cover=sticky] .desk-mark{background:#f2dfa0;transform:rotate(-5deg);box-shadow:2px 3px #bda965}[data-cover=book] .desk-mark{color:#fff;background:#77877a;border-left:6px solid #4d6354;box-shadow:0 4px #465c49}[data-cover=case] .desk-mark{color:#fff;background:#ba9277;border-top:3px dashed #755d4b}.official-tile[data-cover=ink]{background:repeating-linear-gradient(135deg,#e1e6e5 0 4px,#f4f4eb 4px 8px);border:2px solid #788590;box-shadow:inset 0 0 0 1px #fff9}.official-tile[data-cover=ink]>svg{visibility:hidden}[data-cover=ink] .desk-mark{display:block;inset:2px}.ink-obstacle{display:block}.ink-spill{fill:#465b6a;stroke:#304553;stroke-width:1px}.ink-lock{fill:none;stroke:#fff8df;stroke-width:3px;stroke-linecap:round}.ink-lock-body{fill:#fff8df}.ink-keyhole{stroke:#304553;stroke-width:3px;stroke-linecap:round}[data-wild=true] .desk-mark{color:#89622b;background:#fff0b9dc;font-size:28px}[data-stamp=true] .desk-mark{background:#f6e3b7;border:1px solid #b39248;padding:2px;font-size:13px;inset:auto 0 0 auto}.desk-walls{pointer-events:none;z-index:3;width:100%;height:100%;position:absolute;inset:0}.desk-walls path{stroke:#695f4c;stroke-width:9px;stroke-linecap:round}.desk-event-toast{text-align:center;z-index:8;pointer-events:none;background:#fff9e8ec;border:1px solid #bca77b;border-radius:12px;padding:12px;font-weight:750;position:absolute;top:38%;left:10%;right:10%}[data-rush=true]{background:#f6edc9}.official-board[data-connection="5"] .path-core{stroke:#b39248;stroke-width:10px}.official-board[data-connection="6"] .path-core,.official-board[data-connection="7"] .path-core{stroke:#b39248;stroke-width:13px}.official-feedback[data-signature=burst]{letter-spacing:.02em;font-size:16px}.official-feedback[data-signature=sweep]{border-bottom:2px solid #b3924870}.record-tier,#review-best{position:relative}.record-tier{color:#765b31;min-height:26px;font-size:22px;font-weight:800}.record-tier[data-strength="6"],.record-tier[data-strength="7"]{background:linear-gradient(100deg,#f7edcf,#fffdf5,#f2dfaa);border:1px solid #b39248;border-radius:9px;padding:8px}.record-ring{border-radius:12px;box-shadow:0 0 0 2px #b3924850}.record-paper{color:#b39248;pointer-events:none;font-style:normal;position:absolute;top:50%;left:50%}.stage-review #review-best[data-reveal=true]{color:#72501f;background:linear-gradient(110deg,#f8e6b4,#fff9e6 55%,#f3dda5);border:1px solid #bd9652;border-radius:10px;padding:7px 12px;font-weight:900;box-shadow:0 3px #e4d0a0}.stage-review #review-best[data-reveal=true]:before{content:"✦ ";color:#9a7029}#review-rank{font-size:13px}.desk-object{z-index:4;pointer-events:none;filter:drop-shadow(0 3px 2px #35473833);width:28.57%;height:22.22%;position:absolute}.desk-object svg{width:100%;height:100%}.official-tile[data-case-group=true]>svg,[data-cover=case] .desk-mark{opacity:0}.desk-preview{z-index:6;pointer-events:none;text-align:center;color:#665f43;filter:drop-shadow(0 8px 5px #26382a66);width:14.28%;height:11.11%;font-size:24px;font-style:normal;position:absolute}.preview-ink{color:#455c77}.preview-stamp{color:#96732d;font-weight:800}[data-cover=sticky] .desk-mark:after{content:"";border:5px solid #fff8d7;border-color:#0000 #fff8d7 #fff8d7 #0000;position:absolute;bottom:0;right:0}.connection-number{z-index:8;text-align:center;letter-spacing:-.04em;color:#6d5932;text-shadow:0 2px #fffcf5,0 0 12px #fff;pointer-events:none;background:#fffdf0bb;border-radius:24px;font-size:clamp(22px,4vw,34px);font-weight:850;position:absolute;top:43%;left:5%;right:5%}.connection-number[data-level="7"]{outline:3px solid #b3924866;box-shadow:0 0 0 9px #b392481c}.record-tier[data-promoted=true][data-strength="6"]:after,.record-tier[data-promoted=true][data-strength="7"]:after{content:"";pointer-events:none;background:linear-gradient(105deg,#0000,#fff9,#0000);animation:.48s ease-out both record-shimmer;position:absolute;inset:0}.record-tier[data-strength="7"]{outline-offset:3px;letter-spacing:.06em;outline:2px solid #b3924866}@keyframes record-shimmer{0%{opacity:0;transform:scaleX(.1)}40%{opacity:1}to{opacity:0;transform:scaleX(1)}}@media (prefers-reduced-motion:reduce){.record-tier:after{animation:none!important}}#official-milestone.sr-only{clip-path:inset(50%);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.official-star-row{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:4px 8px}#official-chain{white-space:nowrap;font-size:12px}.connect-chip{white-space:nowrap;font-variant-numeric:tabular-nums;width:10ch;min-height:16px;font-size:10px;font-weight:700;display:inline-block}.connection-wave{aspect-ratio:1;pointer-events:none;border:3px solid #d3b46d;border-radius:50%;width:65%;position:absolute;top:50%;left:50%}.connection-wave[data-level="7"]{border-width:5px;box-shadow:0 0 12px #dccd93}.practice-feedback{font-variant-numeric:tabular-nums;justify-content:space-between;font-size:12px;display:flex}.stage-active .official-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;align-items:stretch;gap:6px}.stage-active .official-hud{justify-self:center;width:100%;max-width:760px}@media (width>=651px){.stage-active .official-hud{grid-template-columns:minmax(230px,1fr) minmax(280px,1fr);gap:0 20px;padding:6px 10px;display:grid}.official-score-row{grid-area:1/1/4}#official-progress{grid-area:1/2;margin:4px 0}.official-thresholds{grid-area:2/2}.official-star-row{grid-area:3/2}#official-next-star{grid-area:4/1}#official-missions{grid-area:4/2}#official-retry-request{grid-column:1/-1}}body.stage-active,.stage-active main{overscroll-behavior:none;overscroll-behavior-x:none}html:has(body.stage-active){overscroll-behavior:none;overscroll-behavior-x:none}.stage-active .official-hud{padding:8px 12px;display:block}.skill-goals{justify-content:space-between;gap:8px;margin-top:6px;font-size:12px;display:flex}.move-effect-slot{pointer-events:none;isolation:isolate;height:54px;margin-top:4px;position:relative}#move-effect{text-align:center;position:absolute;inset:0}#move-effect-label{margin-right:8px;font-size:15px;display:inline-block}#move-effect-points{font-size:20px;font-weight:800}#combo-timer{background:#dfe6d9;width:min(240px,80%);height:3px;margin:7px auto 0;display:block}#combo-timer i{transform-origin:0;background:#547864;width:100%;height:100%;display:block}#move-effect[data-strength="2"]{border-radius:20px;box-shadow:inset 0 0 0 1px #b39248}#move-effect[data-strength="3"]{border-radius:20px;box-shadow:inset 0 0 0 2px #b39248,0 0 9px #b3924828}#move-effect[data-strength="4"]{background:#fff4d966;border-radius:20px;box-shadow:inset 0 0 0 3px #b39248,0 0 12px #b3924855}#move-effect[data-strength="3"] #move-effect-label,#move-effect[data-strength="4"] #move-effect-label{font-size:18px}#connection-record{z-index:2;text-align:center;background:#fffae9;border:2px solid #b39248;border-radius:14px;place-content:center;font-size:clamp(16px,3vw,24px);font-weight:850;display:grid;position:absolute;inset:0}#connection-record[hidden],#move-effect[hidden]{display:none}#connection-record[data-milestone=true]{outline:3px solid #b3924844;box-shadow:0 0 16px #b3924855}.records-screen nav,#records-filters{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.records-screen button{border:1px solid var(--line);border-radius:12px;padding:8px 12px}#records-profile{min-height:44px}.records-screen button[aria-pressed=true]{color:#274535;background:#dfeada;outline:2px solid #547864}.records-cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.records-cards article{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:16px}.records-cards h2{font-size:14px}.records-cards strong{font-size:24px}.records-cards p{font-size:13px}.records-table{border-collapse:collapse;width:100%;font-size:14px}.records-table caption{text-align:left;padding:12px 0;font-weight:750}.records-table th,.records-table td{text-align:left;border-bottom:1px solid var(--line);padding:8px 4px}.records-table td:last-child{white-space:nowrap;text-align:right}.records-table tr[data-me=true]{background:#e1ecdd;outline:2px solid #547864;font-weight:750}.records-avatar{vertical-align:middle;width:26px;height:26px;margin-right:5px;display:inline-block}@media (width<=650px) and (orientation:portrait){.stage-active .official-stage{padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}.stage-active .official-score-row{gap:8px}.stage-active #official-score{font-size:23px}.stage-playbar{gap:0}.stage-playbar button{padding:4px}}@media (height<=550px) and (orientation:landscape){.stage-active .official-hud{grid-template-columns:1fr 1fr;gap:0 18px;padding:4px 8px;display:grid}.stage-active .official-score-row{grid-area:1/1/3}.skill-goals{grid-area:1/2;margin:0}.move-effect-slot{grid-area:2/2;height:40px;margin:0}#official-missions{grid-area:3/1/auto/-1;font-size:10px}}#move-effect[data-strength="3"]:after,#move-effect[data-strength="4"]:after{content:"✦";color:#947020;pointer-events:none;font-size:18px;position:absolute;top:5px;right:8px}.stage-navigation{border:1px solid var(--line);background:#eeefe8;border-radius:999px;gap:4px;width:fit-content;max-width:100%;margin:16px 0;padding:4px;display:flex}.stage-navigation .stage-pill{min-height:44px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:10px 18px;font-size:.88rem;font-weight:650}.stage-navigation .stage-pill:hover{color:var(--ink);background:#ffffff80}.stage-navigation .stage-pill[aria-current=page]{background:var(--surface);color:var(--ink);box-shadow:0 2px 6px #303e3512}.stage-hub{text-align:left;max-width:820px;margin:12px auto 28px;padding:24px}.stage-hub>.eyebrow{font-size:.75rem}.stage-hub h1{margin:6px 0 12px;font-size:1.8rem}.stage-hub #official-body,.records-panel{border:1px solid var(--line);background:var(--surface);border-radius:22px;padding:24px;box-shadow:0 8px 28px #303e3506}.stage-hub #official-status,.hub-intro{color:var(--muted);margin:12px 0 20px;font-size:.9rem;line-height:1.7}.stage-resume{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:0 0 22px;display:flex}.stage-resume h2{margin:0 0 6px;font-size:1.1rem}.stage-resume p{color:var(--muted);margin:0;font-size:.82rem}.stage-resume .primary{flex-shrink:0;width:auto;padding:12px 20px;font-size:.9rem}.stage-hub #stage-record{margin-bottom:14px}.stage-hub #official-chapter,#records-filters select{border:1px solid var(--line);color:var(--ink);background:var(--surface);font:inherit;border-radius:10px;margin-left:8px;padding:8px 12px}.stage-hub #official-stages{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:0}.stage-hub #official-stages .stage-card{border:1px solid var(--line);box-shadow:none;min-width:0}.stage-hub #official-actions{margin-top:14px}.stage-entry-state{max-width:560px}.stage-entry-state #official-body{justify-content:flex-start;padding:20px;display:flex}.stage-entry-state [data-auth-login],.records-panel [data-auth-login]{border:1px solid var(--accent);min-height:44px;color:var(--accent);border-radius:12px;align-items:center;padding:10px 18px;text-decoration:none;display:inline-flex}.stage-loading{align-content:center;gap:12px;min-height:180px;display:grid}.stage-loading span{background:#e8ebe2;border-radius:8px;max-width:75%;height:18px;display:block}.stage-loading span:nth-child(2){width:55%}.stage-loading span:nth-child(3){width:65%}.records-screen .stage-navigation{gap:4px;margin:16px 0}.records-screen .records-tabs{border-bottom:1px solid var(--line);margin:0 0 20px;padding-bottom:14px}.records-tabs button,#records-filters button{color:var(--muted);background:0 0;border-radius:999px}.records-screen button[aria-pressed=true]{color:#274535;background:#e1ebdf;border-color:#829781;outline:none}.records-screen .text-button{background:0 0;border:0;padding:12px 0}.records-screen #records-back{margin-top:14px}#records-content[aria-busy=true]{min-height:180px;color:var(--muted);padding-top:20px}.records-panel h2{font-size:1.05rem}@media (width<=600px){.stage-hub{margin-top:0;padding:16px}.stage-hub #official-body,.records-panel{border-radius:18px;padding:16px}.stage-navigation .stage-pill{padding:10px 15px;font-size:.82rem}.stage-resume{flex-direction:column;align-items:stretch;gap:12px}.stage-hub #official-stages{gap:8px}.stage-hub #official-stages .stage-card{padding:12px;font-size:.82rem}.records-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.records-cards article{padding:12px}.records-cards strong{font-size:18px}}:is(body:has(.stage-entry-state) #game-account [data-auth-login],body:has(#records-content [data-auth-login]) #game-account [data-auth-login]){display:none}.schoolboda-entry{background:var(--surface);border:1px solid var(--line);border-radius:22px;max-width:620px;margin:40px auto;padding:28px}.schoolboda-entry p{color:var(--muted);line-height:1.7}.schoolboda-entry [data-schoolboda-return]{border:1px solid var(--accent);color:var(--accent);border-radius:12px;align-items:center;margin-top:12px;padding:12px 18px;text-decoration:none;display:inline-flex}.schoolboda-entry-active .preferences{visibility:hidden}.clear-target{flex-wrap:wrap;justify-content:space-between;gap:2px 8px;margin-top:4px;font-size:11px;display:flex}#target-status{font-size:10px}#target-progress{accent-color:#547864;border:0;width:100%;height:4px;display:block}#target-progress::-webkit-progress-bar{background:#e8eadf;border-radius:4px}#target-progress::-webkit-progress-value{background:#547864;border-radius:4px}#target-feedback{z-index:3;background:#f3f6e9;border:1px solid #78937b;border-radius:12px;place-content:center;font-size:14px;font-weight:750;display:grid;position:absolute;inset:0}#target-feedback[hidden]{display:none}.stage-active .move-effect-slot{height:40px}.stage-active .official-hud{padding-top:6px;padding-bottom:6px}.review-skill-groups{text-align:left;grid-template-columns:1fr 1fr;gap:10px;display:grid}.review-skill-groups section{background:#f2f4ed;border-radius:12px;padding:8px 10px}.review-skill-groups h3{margin:0 0 4px;font-size:12px}.review-skill-groups p,#review-record-updates p{margin:4px 0;font-size:12px}#review-target{margin:4px 0;font-size:13px}@media (height<=550px) and (orientation:landscape){.clear-target{grid-area:3/1}.stage-active .official-score-row{grid-row:1/3}}@media (width<=400px){.review-skill-groups{gap:6px}.review-skill-groups section{padding:6px}}.review-skill-groups p{word-break:keep-all}.mastery-card,#review-stars{color:#82621e;font-weight:750}#review-stars{margin-left:8px;font-size:12px;display:inline-block}#review-retry-goal{color:#624e27;background:#f5eedb;border-radius:10px;margin:0;padding:8px 10px;font-size:12px;line-height:1.5}#review-retry-goal>span{word-break:keep-all;display:block}#review-tier:empty,#review-rival:empty,#review-rank:empty,#review-record-updates:empty{display:none}.stage-review{overscroll-behavior:contain;width:min(440px,100vw - 24px);margin:auto;padding:22px;line-height:1.45}.stage-review[open]{gap:16px;display:grid}.stage-review .review-stage{color:var(--muted);margin:0 0 4px;font-size:12px;font-weight:650}.stage-review h2{letter-spacing:-.035em;margin:0 0 16px;font-size:clamp(24px,6vw,30px);line-height:1.15}.stage-review .official-result-score{font-size:44px;line-height:1.15}.stage-review #review-best{margin:8px 0 0;font-size:14px}.review-summary,.review-details,.review-actions{min-width:0}.review-details{overflow-wrap:anywhere;align-content:start;gap:12px;display:grid}.review-ranking{align-items:center;gap:8px;display:grid}.review-ranking:not(:has(>:not(:empty))){display:none}.review-ranking>p,.review-details #review-record-updates p{margin:0}.review-actions{border-top:1px solid var(--line);gap:20px;padding-top:16px;display:grid}.review-records{width:100%;min-height:48px;font:inherit;padding:12px 16px}.stage-review .review-choices,.review-secondary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;display:grid}.stage-review .review-secondary{grid-template-columns:repeat(auto-fit,minmax(min(100%,136px),1fr))}.stage-review .review-choices>button:only-child,.review-secondary>button:only-child{grid-column:1/-1}.review-secondary:has(>a[hidden])>button{grid-column:1/-1}.stage-review .review-choices>button,.review-secondary>*{white-space:normal;word-break:keep-all;width:100%;min-width:0;min-height:44px;margin:0;padding:10px 8px;font-size:14px;line-height:1.3}.stage-review .review-choices>button{white-space:nowrap}.review-button,.review-secondary .schoolboda-exit{color:var(--ink);background:#f0f4eb;border:1px solid #aab8a4;border-radius:12px;justify-content:center;align-items:center;font-weight:650;text-decoration:none;display:flex}.stage-review .review-secondary>*{white-space:nowrap;padding:12px 16px}.review-button:hover,.review-secondary .schoolboda-exit:hover{border-color:var(--accent);background:#e8eee2}@media (width<=400px){.stage-review{padding:18px}.stage-review[open]{gap:14px}}@media (width<=360px){.stage-review{padding:12px}}@media (width>=700px) and (height<=800px),(height<=550px) and (orientation:landscape){.stage-review{width:min(720px,100vw - 32px);padding:16px 20px}.stage-review[open]{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:12px 20px}.stage-review h2{margin-bottom:10px;font-size:26px}.stage-review .official-result-score{font-size:36px}.review-actions{grid-column:1/-1;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px 12px;padding-top:16px}.review-actions .review-secondary{grid-column:1/-1}.review-actions .review-records{min-height:44px;padding:10px 8px;font-size:14px}.review-ranking{grid-template-columns:minmax(0,1fr) auto}.review-ranking #review-rival{grid-column:1/-1}}@media (height<=550px) and (orientation:landscape){.stage-review{padding-top:12px;padding-bottom:12px}.stage-review .review-skill-groups section{padding:6px}.stage-review .review-skill-groups h3{margin-bottom:2px;font-size:11px}.stage-review .review-skill-groups p{margin:2px 0;font-size:11px}.stage-review #review-record-updates:not(:empty){flex-wrap:wrap;justify-content:center;gap:2px 8px;display:flex}.stage-review #review-record-updates p{font-size:11px}.stage-review #review-retry-goal{padding:6px 8px;font-size:11px;line-height:1.35}.stage-review .review-ranking{gap:4px}.stage-review #review-rival{font-size:12px;line-height:1.4}.official-tile .desk-mark{white-space:nowrap;font-size:clamp(8px,2vh,11px);line-height:1}.official-tile[data-cover=book] .desk-mark{border-left-width:3px}.stage-active .official-layout{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(240px,.9fr) minmax(0,1.1fr);align-items:center}.stage-active .official-hud{display:block}}.stage-map-shell{max-width:820px;margin:auto}.stage-chapters{justify-content:space-between;align-items:center;gap:12px;margin:18px 0;display:flex}.stage-chapters button{background:#fffaf0;border:1px solid #bccfc0;border-radius:50%;min-width:48px;min-height:48px;font-size:20px}.stage-chapters strong{text-align:center}.stage-chapters small{margin-top:5px;font-size:12px;font-weight:400;display:block}.stage-node-grid{background:radial-gradient(#e5edda 0%,#f8f7e9 72%);border-radius:24px;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px 14px;margin:0;padding:18px 10px;list-style:none;display:grid}.stage-node{color:#355642;background:#fffdf4;border:2px solid #c0d3bd;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:100%;min-height:125px;padding:12px 6px;display:flex;position:relative;box-shadow:0 4px #d5ddc8}.stage-node-number{background:#e2eedb;border:2px solid #b9cfaf;border-radius:50%;place-items:center;width:48px;height:48px;font-size:24px;font-weight:900;display:grid}.stage-node-stars{color:#9a6c06;letter-spacing:2px;font-size:17px;line-height:1.1}.stage-node small{font-size:11px;line-height:1.5}.stage-node[data-state=current]{background:#f4fff3;border-color:#388b70}.stage-node[aria-current]{outline-offset:3px;outline:2px solid #71af89}.stage-node[data-state=complete] .stage-node-number{background:#f7e8a4;border-color:#d5bd69}.stage-node:disabled{box-shadow:none;color:#768072;opacity:.8;background:#e9ebe3}.stage-node:disabled .stage-node-number{background:#dce1d4;border-color:#c8cec1}.stage-node:focus-visible{outline-offset:3px;outline:3px solid #247f75}.stage-node:not(:disabled):active{transform:translateY(2px);box-shadow:0 1px #d5ddc8}.stage-map-tools{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.stage-map-tools button{min-height:44px}.quest-official-map .stage-node-grid{background:radial-gradient(#f6e9bb,#fffaf0 75%)}.quest-official-map .stage-node{min-height:160px}.quest-official-map .stage-node small{max-width:140px}.stage-map-note{color:#607564;font-size:13px;line-height:1.6}.stage-map-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.stage-map-heading h1{margin:8px 0;font-size:26px}.stage-map-shell .stage-resume{margin:12px 0}.stage-map-shell .stage-resume p{font-size:12px}.stage-map-shell .stage-resume h2{font-size:16px}@media (width<=600px){.stage-node-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px;padding:16px 10px}.stage-node{min-height:116px}.stage-map-heading h1{font-size:23px}.quest-official-map .stage-node{min-height:154px}}@media (prefers-reduced-motion:reduce){.stage-node:not(:disabled):active{transform:none}}.quest-records-shell{max-width:900px;margin:auto}.quest-active #quest-records-map{display:none}.stage-map-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.stage-map-tools button{word-break:keep-all;color:#355642;background:#fffdf4;border:1px solid #b9cbb6;border-radius:12px;padding:10px 6px;font-size:12px;line-height:1.5}.stage-map-tools button:active{background:#e5f0dc}.stage-map-tools button:focus-visible{outline:3px solid #247f75}.stage-node small{text-align:center;overflow-wrap:anywhere}@media (width<=600px){.stage-node-grid{gap:14px 12px;padding:14px 8px}.stage-map-shell .stage-resume{gap:10px}}.stage-chapters-bottom{border-top:1px solid #ccd6bf;margin:18px 0 12px;padding:12px 8px}.stage-node-grid:focus-visible{outline-offset:3px;outline:2px solid #679472}.quest-official-map .stage-node-grid{background:0 0;border-radius:0;grid-template-columns:repeat(auto-fit,minmax(58px,1fr));gap:8px;padding:8px 0}.quest-official-map .stage-node{min-height:64px;box-shadow:none;border-radius:10px;gap:4px;padding:6px 2px}.quest-official-map .stage-node-number{background:0 0;border:0;border-radius:0;width:auto;height:auto;font-size:19px;line-height:22px}.quest-official-map .stage-node-stars{letter-spacing:0;font-size:14px}.quest-official-map .stage-node[data-state=complete] .stage-node-number{background:0 0}.quest-official-map .stage-node[aria-current]{outline-offset:1px}.schoolboda-exit{border:1px solid var(--line);min-height:44px;color:var(--ink);background:var(--paper);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:8px 12px;font-size:12px;font-weight:650;text-decoration:none;display:inline-flex}dialog>.schoolboda-exits{margin-top:12px}.masthead:has(>.schoolboda-exits:not([hidden])){gap:10px}.masthead>.preferences{align-items:center;margin-left:auto}.masthead>.schoolboda-exits{flex-shrink:0}@media (width<=650px){body:not(.stage-active):not(.quest-active) .masthead:has(>.schoolboda-exits:not([hidden])){grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:8px 12px;display:grid}.masthead:has(>.schoolboda-exits) #brand span{display:none}.masthead>.schoolboda-exits{grid-area:1/2}body .masthead:has(>.schoolboda-exits) .preferences{flex-wrap:wrap;grid-area:2/1/auto/-1;justify-content:flex-end;gap:6px;width:100%;margin:0;display:flex}body .masthead:has(>.schoolboda-exits) #game-account{flex-wrap:nowrap;flex:0 auto;gap:6px;min-width:0}.masthead:has(>.schoolboda-exits) .profile-nickname{max-width:48px}.masthead:has(>.schoolboda-exits) .profile-avatar{flex-basis:24px;width:24px;height:24px}body .masthead:has(>.schoolboda-exits) .icon-button{padding:8px;font-size:11px}body .masthead:has(>.schoolboda-exits) #game-logout{min-height:44px;font-size:11px}}.stage-active .official-stage{grid-template-rows:44px minmax(0,1fr)}.stage-playbar{gap:6px}.stage-playbar button{white-space:nowrap;min-height:44px}@media (height<=550px) and (orientation:landscape){.stage-active .official-hud{padding-top:2px;padding-bottom:2px}.stage-active #official-time{font-size:22px;line-height:1;display:block}.stage-active .move-effect-slot{height:28px}.stage-active #move-effect-points{font-size:18px}.stage-active #combo-timer{margin-top:3px}}@media (width<=650px) and (orientation:portrait){.stage-active .official-stage{grid-template-rows:44px 44px minmax(0,1fr);gap:4px 8px;position:relative}.stage-active .stage-playbar{grid-area:2/1/auto/-1;justify-content:flex-end}.stage-active .stage-playbar .schoolboda-exits{top:max(8px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));position:absolute}.stage-active #play-exit{margin-right:auto}.stage-active #official-body{grid-row:3}}.stage-playbar .schoolboda-exits .schoolboda-exit{padding:8px;font-size:11px;position:static}.review-secondary .schoolboda-exits{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.review-secondary .schoolboda-exits a{min-width:0;padding:8px 4px;font-size:11px}.masthead .schoolboda-exits{flex-wrap:nowrap}.stage-review .review-secondary>.schoolboda-exits{padding:0}#play-restart{color:#34523c;background:#e6f2dd;border:1px solid #78936c;border-radius:10px;padding:6px 10px;font-weight:750}@media (width<=650px) and (orientation:portrait){.stage-active .official-stage{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.stage-active .official-hud{padding:4px 8px}.stage-active .official-score-row{line-height:1.1}.stage-active .hud-label{margin-bottom:2px}.stage-active .official-timer{padding:3px 8px}.stage-active #official-time{font-size:22px;line-height:1.1}.stage-active .skill-goals{margin-top:3px;font-size:11px;line-height:16px}.stage-active .clear-target{margin-top:3px;line-height:16px}.stage-active .move-effect-slot{height:28px;margin-top:2px}.stage-active #move-effect-label{font-size:13px}.stage-active #move-effect-points{font-size:17px}.stage-active #combo-timer{margin-top:2px}.stage-active #connection-record{font-size:16px}}
