:root{font-family:Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,system-ui,sans-serif;color:#f0f0df;background:#111e2b;font-weight:650;line-height:1.55;color-scheme:dark;--mint:#9fe5bc;--gold:#ffcf58;--muted:#a3b7be;--edge:#405563;--panel:#1c2c39;--mono:ui-monospace,Consolas,monospace}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 5% 6%,#1e3340aa,transparent 54%),radial-gradient(ellipse at 98% 100%,#202a3b80,transparent 62%),#121f2c}button,input,textarea,select{font:inherit}button{cursor:pointer;touch-action:manipulation;color:inherit}button:disabled{cursor:default;opacity:.52}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffe684;outline-offset:3px}button{border:0;background:none}button:not(:disabled):active{translate:0 2px}button:hover:not(:disabled){filter:brightness(1.09)}button,h1,h2,p{margin:0}button{font-weight:800}h1,h2{line-height:1.4}img{max-width:100%}.pixel{image-rendering:pixelated;object-fit:contain;-webkit-user-select:none;user-select:none}.icon{flex:none;vertical-align:middle}.voucher{display:inline-flex;align-items:center;transform:rotate(-13deg)}.muted,.section-intro{color:var(--muted)}.icon-spark{color:var(--gold)}.topbar{background:#101b27;border-bottom:2px solid #344754;box-shadow:0 3px #0d192167}.header-inner{max-width:1380px;margin:auto;min-height:76px;padding:0 clamp(18px,4vw,66px);display:flex;align-items:center;gap:clamp(12px,2.1vw,35px)}.brand{white-space:nowrap;display:flex;align-items:center;gap:11px;padding:0;color:#fff9e7;font-size:clamp(18px,2vw,29px);font-weight:1000;letter-spacing:-.065em;text-shadow:1px 2px #07101a}.brand strong{font-weight:1000;color:#ffda70}.brand-art{display:grid;place-items:center;width:49px;height:49px;filter:drop-shadow(2px 3px 0 #061321)}.brand-art img{width:49px;height:49px}nav{align-self:stretch;display:flex;align-items:stretch;gap:5px}.nav-link{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;padding:0 clamp(9px,1.3vw,21px);color:#9eb1bb}.nav-link[aria-current]{color:#a6edc7;background:linear-gradient(0deg,#244a4650,transparent 90%)}.nav-link[aria-current]:after{content:"";position:absolute;bottom:0;height:3px;left:10px;right:10px;background:#86ddac;box-shadow:0 -2px 9px #72cca222}.hud{display:flex;margin-left:auto;align-items:center;border:1px solid #394a57;box-shadow:inset 0 2px #091621;background:#0c1722;border-radius:5px;padding:7px 3px;flex:none}.hud>span{display:flex;gap:7px;align-items:center;min-width:54px;padding:0 10px;justify-content:center}.hud>span+span{border-left:1px solid #354451}.hud b{font-family:var(--mono);font-weight:850;font-size:18px;color:#f6f1df}.gear-button{width:42px;height:44px;color:#b2c4c9;border:1px solid #41535f;border-radius:5px;background:#202f3c;display:grid;place-items:center;margin-left:-11px}.shell{max-width:1380px;margin:auto;padding:0 clamp(18px,4vw,66px) 12px;outline:none}.page-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:27px 0 17px}.page-title h1{display:flex;align-items:center;gap:12px;font-size:clamp(24px,2.35vw,34px);letter-spacing:.03em;font-weight:1000;color:#fff9e8;text-shadow:1px 2px #0a151d}.heading-mark{display:inline-block;width:9px;height:24px;background:#9bdeb5;box-shadow:3px 3px #426357;clip-path:polygon(0 4px,4px 4px,4px 0,100% 0,100% calc(100% - 4px),5px calc(100% - 4px),5px 100%,0 100%)}.rest-button,.back-btn,.text-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;color:#becacb}.rest-button{font-size:14px;letter-spacing:.03em;padding:0 5px 0 14px}.rest-button svg{color:#e1c782}.panel{border:2px solid var(--edge);border-radius:7px;background:var(--panel);box-shadow:0 4px #09131c,inset 0 1px #ffffff08}.dashboard{display:grid;grid-template-columns:minmax(0,2.16fr) minmax(295px,1fr);gap:18px}.hero-panel{display:flex;flex-direction:column;overflow:hidden;padding:5px 5px 0;background:#243a43;border-color:#577568;position:relative}.scene{position:relative;isolation:isolate;background:#69b8c3 url(/art/forest.png) center center/100% 100% no-repeat;image-rendering:pixelated;overflow:hidden;min-height:210px}.hero-panel>.scene{flex:1;min-height:clamp(250px,21.3vw,310px);border-radius:2px;border:1px solid #1d3b3e}.place,.speech,.coin-pop{image-rendering:auto}.place{display:inline-flex;align-items:center;gap:7px;position:absolute;left:15px;top:14px;background:#142d32e8;color:#f8f3ce;border:1px solid #c0d9b181;box-shadow:0 2px #183a386e;border-radius:3px;padding:4px 10px;font-size:13px;font-weight:800;letter-spacing:.06em}.place svg{color:#b5e4bc}.hero-character{position:absolute;left:50%;bottom:12.5%;width:clamp(129px,12vw,177px);aspect-ratio:64/72;transform:translate(-50%);display:grid;place-items:center}.ground-shadow{position:absolute;bottom:2%;left:20%;right:18%;height:9%;border-radius:50%;background:#39432672}.avatar{width:100%;aspect-ratio:64/72;position:relative;filter:drop-shadow(2px 3px 0 #26382f38);animation:breathe 3s steps(2,end) infinite;transform-origin:center bottom}.avatar>.pixel{position:absolute;inset:0;width:100%;height:100%}@keyframes breathe{50%{transform:translateY(-2px)}}.avatar.pose-hop{animation:hop 1.7s steps(5,end) infinite}.avatar.pose-proud{transform:rotate(-7deg);animation:none}.avatar.celebrate{animation:hop .7s steps(6,end) 2}@keyframes hop{45%{transform:translateY(-14px) rotate(-4deg)}}.speech{position:absolute;left:calc(50% + 40px);bottom:66%;background:#fff9df;border:2px solid #334941;border-radius:5px;padding:6px 12px;box-shadow:2px 3px #16363144;font-size:14px;color:#293d34;font-weight:900;white-space:nowrap}.speech:after{content:"";position:absolute;bottom:-7px;left:9px;width:9px;height:9px;transform:skewY(-37deg);background:#fff9df;border-left:2px solid #334941;border-bottom:2px solid #334941}.scene-corner{position:absolute;width:7px;height:7px;border-style:solid;border-color:#e1ecd782}.scene-corner.tl{left:4px;top:4px;border-width:2px 0 0 2px}.scene-corner.br{right:4px;bottom:4px;border-width:0 2px 2px 0}.coin-pop{position:absolute;left:40%;top:46%;color:#fff6a4;text-shadow:2px 2px #814d17;font:bold 23px var(--mono);animation:coin-pop 2.6s both}@keyframes coin-pop{0%{opacity:0}15%{opacity:1}85%,to{transform:translateY(-32px);opacity:0}}.hero-actions{display:flex;align-items:center;justify-content:center;gap:clamp(10px,1.5vw,24px);padding:17px 12px 19px;background:linear-gradient(180deg,#263c43,#21343c);min-height:86px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:47px;padding:9px 22px;line-height:1.3;border-radius:5px}.primary{background:linear-gradient(#ffe294 0 5%,#ffd164 6%,#ffc34a 95%);color:#3c301e;border:2px solid #ffe392;box-shadow:inset 0 -3px #eaa238,0 3px #9a6224,0 5px #0a152666;font-weight:950;letter-spacing:.04em}.primary:hover{background:#ffdb7c}.home-primary{flex:1;max-width:345px;min-height:56px;font-size:clamp(17px,1.65vw,24px);padding-inline:8px;white-space:nowrap}.mission-hint{display:flex;align-items:center;justify-content:center;gap:7px;color:#deeee1;font-size:clamp(13px,1.08vw,16px);white-space:nowrap}.secondary,.back-btn{background:#253845;border:1px solid #4d6670;color:#e1e9e4}.back-btn{border-radius:5px;padding:8px 16px;margin-top:20px}.status-panel{padding:0 17px 16px;display:flex;flex-direction:column;justify-content:space-between}.status-section{padding:16px 0}.status-section h2,.pose-picker h2{display:flex;align-items:center;gap:9px;font-size:clamp(16px,1.4vw,20px);font-weight:900;letter-spacing:.02em}.ico-square{display:inline-grid;place-items:center}.turquoise{color:#93dcb4}.stats-row{display:flex;gap:13px;align-items:center;margin-top:12px}.portrait{width:54px;height:54px;flex:none;position:relative;overflow:hidden;border:2px solid #4b626a;border-radius:4px;background:repeating-linear-gradient(135deg,#33484b 0 6px,#394f51 6px 12px)}.portrait img{position:absolute;max-width:none;width:85px;left:-16px;top:0}.xp-box{flex:1}.xp-heading,.xp-legend,.row-title{display:flex;align-items:center;justify-content:space-between;gap:5px}.xp-heading strong{color:#ffd775;font:900 16px var(--mono)}.xp-heading strong b{font-size:25px}.xp-heading>span{font-size:13px;color:#d3e1dc}.meter{height:9px;background:#0d1a24;border:1px solid #425a63;padding:1px;border-radius:2px;margin:5px 0}.meter i{height:100%;display:block;background:#a1d8a0}.xp-legend{font-size:12px;color:#a9bac0}.xp-legend b,.row-title small{font:700 13px var(--mono);color:#c6d3d3}.xp-legend em{font-style:normal;color:#8ea3ae}.week{border-top:1px solid #394b57;padding-top:15px}.stamp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-top:10px}.stamp-day{text-align:center;color:#90a5ae;font-size:12px}.stamp-day>div{margin-top:5px;height:30px;display:grid;place-items:center;background:#162530;border:1px dashed #475a62;border-radius:4px;color:#405360}.stamp-day.today{color:#b1e6be}.stamp-day.today>div{border:1px solid #8abea2;background:#284338;color:#72a78e}.stamp-day.done>div{background:#a1dcb5;color:#214b3a;border:1px solid #b9e5c8}.rare-progress{display:flex;gap:12px;align-items:center;border:1px solid #6f5a83;background:linear-gradient(110deg,#3f3350,#302d40);border-radius:5px;padding:10px 12px;color:#e4d2ee}.rare-symbol{display:grid;place-items:center}.rare-progress span:not(.voucher){font-size:12px;font-weight:750}.rare-progress strong{display:block;font-size:16px;line-height:1.35;color:#fff3d8}.rare-progress b{color:#f1ceff;font:900 23px var(--mono)}.rare-steps{margin-left:auto;display:flex;gap:3px;align-self:end;margin-bottom:4px}.rare-steps i{width:7px;height:10px;background:#211d2c;border:1px solid #6e5d78}.rare-steps .lit{background:#cc91eb}.activity-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.activity-card{position:relative;isolation:isolate;min-height:108px;display:flex;align-items:center;gap:clamp(9px,1.3vw,23px);padding:15px clamp(10px,1.5vw,26px);border:2px solid var(--tile-edge);border-radius:6px;text-align:left;box-shadow:0 4px #09131c,inset 0 1px #ffffff0c;overflow:hidden}.gacha-card{--tile-edge:#806344;--tile-corner:#b79255;background:linear-gradient(110deg,#493e30,#39332c)}.closet-card{--tile-edge:#675b83;--tile-corner:#a08cb5;background:linear-gradient(110deg,#3e374e,#302e41)}.book-card{--tile-edge:#4b7272;--tile-corner:#81a99d;background:linear-gradient(110deg,#2a4747,#273b41)}.tile-art{width:clamp(57px,5.4vw,84px);height:clamp(57px,5.4vw,84px);flex:none;filter:drop-shadow(2px 4px #08162052)}.tile-art img{width:100%;height:100%}.activity-card h2{font-size:clamp(19px,1.8vw,26px);font-weight:950;color:#fff4dd;letter-spacing:.06em}.activity-card p{font-size:clamp(12px,.98vw,15px);color:#d3cfca;margin-top:4px}.card-corner{position:absolute;right:8px;bottom:8px;height:8px;width:8px;border-right:2px solid var(--tile-corner);border-bottom:2px solid var(--tile-corner)}.activity-card:before{content:"";position:absolute;top:6px;left:6px;width:4px;height:4px;background:var(--tile-corner);opacity:.6}.setup-note{display:flex;align-items:center;gap:10px;padding:7px 13px;margin-top:20px;background:#203039;border:1px solid #40535a;border-radius:5px;color:#c1d3cc}.setup-note>svg{color:#91c4a7}.setup-note p{font-size:13px;line-height:1.7}.setup-note b{color:#d6e6d6}.setup-note button{white-space:nowrap;margin-left:auto;min-height:42px;font-size:13px;color:#c0e9cb;text-decoration:underline;text-underline-offset:4px}footer{margin-top:25px;padding:9px 0 0;border-top:1px solid #324450;display:flex;align-items:center;justify-content:space-between;gap:6px;color:#91a5af;font-size:13px}footer>div,footer button,.footer-brand{display:flex;align-items:center;gap:8px}footer button{min-height:44px;font-size:13px;padding:3px 5px}footer i{height:13px;width:1px;background:#4a5962;margin:0 6px}.footer-brand{color:#8296a1;letter-spacing:.045em}.footer-brand>span{color:#809e9e}.loading,.empty,.rest-stage,.reward-result,.gacha-stage{text-align:center}.loading{padding:20vh 20px}.loading>img,.empty>img{width:85px}.empty,.rest-stage{padding:40px 20px}.empty p,.rest-stage p,.reward-result p,.gacha-stage p{color:#c1cecf;margin:10px 0 18px}.rest-stage{max-width:680px;margin:45px auto}.rest-stage>.icon{color:var(--gold);margin-bottom:10px}.rest-stage h1{font-size:26px}.workout{overflow:hidden;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(285px,1fr)}.demo-frame,.edit-preview{position:relative;background:#293e45;display:grid;place-items:center;isolation:isolate;overflow:hidden}.demo-frame{min-height:355px}.sample-stage{position:absolute;inset:0;background:url(/art/forest.png) center/cover;image-rendering:pixelated;display:flex;justify-content:center;align-items:flex-end;padding-bottom:7%}.demo-figure{height:70%;max-width:90%;object-fit:contain}.uploaded-demo{max-width:100%;width:100%;height:100%;max-height:420px;object-fit:contain}.demo-badge{position:absolute;top:14px;left:14px;background:#152c35ef;border:1px solid #afd2ae;border-radius:5px;padding:5px 15px;color:#fff2b5;font-weight:900;font-size:22px}.workout-copy{padding:clamp(20px,3vw,44px);align-self:center}.workout-copy h2{font-size:clamp(24px,2.7vw,38px);margin:10px 0}.workout-copy>p{color:#ccd9d4;margin-bottom:25px}.workout-copy>button{min-width:74%;font-size:20px}.time-tag,.count-tag,.rarity{display:inline-flex;align-items:center;gap:6px;color:#ecd899;font-size:14px}.workout-tools{display:flex;gap:14px;margin-top:13px}.text-btn{font-size:14px;text-decoration:underline;text-underline-offset:4px}.section-intro{margin:-4px 0 20px}.settings-layout,.closet-layout{display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,2.5fr);gap:18px}.settings-index{padding:16px;align-self:start}.settings-index h2,.settings-editor h2{font-size:17px;margin:0 0 14px}.settings-index button{width:100%;padding:12px 9px;display:flex;justify-content:space-between;gap:5px;align-items:center;margin:5px 0;border:1px solid #485d68;border-radius:4px;text-align:left;font-size:14px}.settings-index .selected,.switches button[aria-pressed=true],.pose-picker button[aria-pressed=true]{background:#304d46;border-color:#87c19d;color:#d0efd3}.settings-index small{white-space:nowrap;font-size:12px;color:#acc0bc}.settings-index .add-ex{justify-content:center;color:#b1d6bf;margin-top:15px}.settings-editor{padding:18px}.edit-preview{height:160px;margin-bottom:14px;border:1px solid #586e70;border-radius:4px}.edit-preview .uploaded-demo{height:155px}.edit-preview .sample-stage{padding-bottom:8px}.edit-preview .demo-figure{height:90%}.settings-editor label{display:flex;flex-direction:column;gap:5px;color:#dce7e0;font-size:14px;margin-bottom:12px}.field-row{display:flex;gap:14px}.field-row label:first-child{flex:1}.field-row label:last-child{max-width:120px}.settings-editor input:not([type=checkbox]),textarea,select{width:100%;padding:9px 12px;background:#111f2a;border:1px solid #4f6370;color:#f3f0df;min-height:44px;border-radius:4px;font-weight:550}.settings-editor select{appearance:none;background:#111f2a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath fill='none' stroke='%23bed4cc' stroke-width='2' d='m2 2 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/13px;padding-right:32px}.settings-editor .approve{flex-direction:row;align-items:center;gap:10px;background:#2a433f;padding:10px 12px;border:1px solid #567e70;border-radius:4px;margin-bottom:0;min-height:48px;cursor:pointer}.approve input{height:21px;width:21px;accent-color:#98deb1;flex:none}.form-actions{display:flex;gap:15px;justify-content:flex-end;margin-top:18px}.error-box,.toast{background:#493924;color:#fff0c6;border:1px solid #a58a55;padding:12px 17px;border-radius:5px}.error-box{margin-top:12px}.toast{position:fixed;z-index:5;bottom:16px;left:50%;translate:-50% 0;width:max-content;max-width:92vw;box-shadow:0 3px 12px #07121d}.reward-result,.gacha-stage{max-width:730px;margin:auto;padding:24px}.reward-result>.scene{height:230px;margin:-18px -18px 22px;border-radius:3px}.reward-result .primary,.gacha-stage .primary{min-width:220px}.reward-result>.text-btn,.gacha-stage>.text-btn{display:flex;margin:10px auto 0}.reward-result h2,.gacha-stage h2{font-size:clamp(24px,2.6vw,34px)}.result-gifts{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:15px 0 24px}.result-gifts>span{display:flex;gap:7px;align-items:center;background:#2b3d46;border-radius:4px;padding:6px 10px;font-size:15px}.reward-result .rarity{color:#eacc78}.item-reveal,.chest-display{width:100%;height:180px;position:relative;display:grid;place-items:center;margin:8px 0 14px;background:radial-gradient(ellipse closest-side,#977b4238,transparent)}.item-reveal img,.large-item{width:135px;height:135px;filter:drop-shadow(3px 5px #101c25)}.item-reveal.rare{background:radial-gradient(ellipse closest-side,#9675c143,transparent)}.switches{display:inline-flex;flex-wrap:wrap;gap:5px;padding:4px;border:1px solid #435762;border-radius:6px;background:#12212b}.switches button{padding:7px 15px;min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:4px;color:#acc1c5}.switches b{font-family:var(--mono)}.chest-display{height:200px;background:radial-gradient(ellipse closest-side,#b89a5140,transparent)}.chest-display>img{width:145px;height:145px;filter:drop-shadow(3px 6px #101b22)}.chest-spark{position:absolute;color:#edc46b;font-size:26px}.chest-spark.a{left:28%;top:17%}.chest-spark.b{right:31%;top:9%}.chest-spark.c{right:25%;bottom:20%}.premium-stage .chest-display{filter:hue-rotate(325deg)}.gacha-stage>small{display:block;color:#aabcc1;margin-top:14px}.opening>img{animation:shake .18s steps(3) 6,glow .6s 1s both}@keyframes shake{25%{transform:rotate(-7deg)}75%{transform:rotate(7deg)}}@keyframes glow{to{filter:brightness(2.6) drop-shadow(0 0 27px #fff3a2);transform:scale(1.14)}}.count-tag{color:#bedfc9;border:1px solid #47675e;padding:4px 10px;border-radius:4px}.filter{margin:0 0 17px}.inventory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.item-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;background:linear-gradient(145deg,#253b45,#1c2e3a);border:2px solid #486069;border-radius:6px;min-height:180px;padding:12px}.item-card.rare{border-color:#675977;background:linear-gradient(145deg,#363447,#272937)}.item-card .item-state{align-self:flex-start;font-size:12px;color:#9fb6ba}.item-card img{width:75px;height:75px}.item-card.missing img{opacity:.72}.item-card>strong{font-size:17px}.item-card>span:last-child{font-size:13px;color:#bfceb9}.item-card.rare>span:last-child{color:#dec0f3}.closet-layout{grid-template-columns:1fr 1.45fr}.closet-preview{align-self:start;overflow:hidden}.closet-preview .scene{height:250px}.pose-picker{padding:16px}.pose-picker h2{margin-bottom:10px}.pose-picker button{font-size:13px;padding:7px 10px;margin:0 5px 6px 0}.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.item-dialog{width:min(370px,92vw);color:var(--fg);background:#213340;border:2px solid #708784;border-radius:7px;text-align:center;padding:19px 22px 24px}.item-dialog::backdrop{background:#07131bd9}.dialog-top{display:flex;justify-content:space-between;align-items:center}.close-btn{font-size:26px;width:44px;height:44px}.item-dialog p{font-size:15px;color:#c3d0cf;margin:7px 0 15px}.item-dialog .primary{width:100%}@media(min-width:1500px){.page-title{margin-top:37px}.hero-panel>.scene{min-height:335px}.activity-cards{margin-top:25px}.activity-card{min-height:119px}}@media(max-width:1050px){.header-inner,.shell{padding-inline:26px}.header-inner{gap:12px;min-height:68px}.brand{gap:6px}.nav-link{gap:5px;padding-inline:10px}.hud>span{min-width:42px;padding:0 7px}.gear-button{margin-left:0}.dashboard{grid-template-columns:minmax(0,1.88fr) minmax(275px,1fr);gap:12px}.status-panel{padding-inline:12px}.hero-actions{gap:8px;padding:13px 7px 15px}.mission-hint{font-size:12px;gap:3px}.mission-hint .icon{width:18px}.activity-cards{gap:12px}.activity-card{padding:12px 9px;gap:8px}.activity-card p{font-size:12px}.activity-card h2{font-size:22px}.brand-art,.brand-art img{width:41px;height:41px}.hero-panel>.scene{min-height:244px}.status-section{padding-block:13px}}@media(max-width:845px){.header-inner,.shell{padding-inline:18px}.header-inner{flex-wrap:wrap;gap:10px;justify-content:space-between;padding-top:9px}.brand{font-size:21px}.hud{margin-left:auto}.header-inner nav{order:5;justify-content:center;flex:0 0 100%;height:43px}.nav-link{flex:1}.dashboard{grid-template-columns:minmax(0,1.57fr) minmax(250px,1fr)}.hero-actions{flex-direction:column;gap:7px;padding:10px}.home-primary{width:100%;min-height:46px}.hero-panel>.scene{min-height:211px}.status-panel{padding-inline:10px}.stamp-grid{gap:3px}.rare-steps i{width:6px}.rare-progress{gap:7px;padding:8px}.activity-card{flex-direction:column;text-align:center;gap:4px}.activity-card h2{font-size:20px}.activity-card p{font-size:12px}.tile-art{width:60px;height:60px}.hero-character{width:125px}.speech{left:calc(50% + 20px);font-size:12px}.inventory{grid-template-columns:repeat(3,minmax(0,1fr))}.compact{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:670px){.header-inner,.shell{padding-inline:14px}.brand{font-size:18px}.brand-art,.brand-art img{width:34px;height:34px}.hud>span{min-width:29px;padding:0 4px;gap:3px}.hud b{font-size:15px}.hud .icon{width:18px}.gear-button{width:37px;height:40px}.page-title{margin:18px 0 12px}.rest-button{font-size:12px;padding-left:0}.page-title h1{gap:7px;font-size:23px}.dashboard{grid-template-columns:1fr}.hero-panel>.scene{min-height:clamp(204px,43vw,275px)}.hero-actions{flex-direction:row;flex-wrap:wrap;padding:12px;gap:8px}.home-primary{min-width:190px;max-width:none}.mission-hint{flex:1;min-width:148px}.status-panel{display:grid;grid-template-columns:1fr 1.1fr;gap:9px 12px;padding:10px 12px}.status-section{padding:0}.week{border-top:0}.status-section h2{font-size:14px;gap:5px}.row-title small,.portrait{display:none}.stats-row{margin-top:6px}.xp-heading>span{font-size:11px}.stamp-grid{margin-top:7px}.stamp-day>div{height:24px}.rare-progress{grid-column:1/-1}.rare-progress>div:nth-child(2){display:flex;align-items:center;gap:8px}.rare-symbol svg{height:24px}.activity-cards{gap:7px;margin-top:14px}.activity-card{min-height:105px;padding:7px 3px}.activity-card p{display:none}.tile-art{width:52px;height:52px}.setup-note{flex-wrap:wrap;gap:4px 7px;padding:7px 10px;margin-top:14px}.setup-note p{flex:1;font-size:12px}.setup-note button{font-size:12px}.footer-brand{display:none}footer{justify-content:center;margin-top:16px}.workout,.settings-layout,.closet-layout{grid-template-columns:1fr}.demo-frame{min-height:235px}.workout-copy{padding:20px}.workout-copy>button{width:100%}.workout-tools{justify-content:center}.inventory,.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.item-card{padding:9px;min-height:158px}.item-card>strong{font-size:15px}.settings-index{padding:10px}.settings-index h2{margin-bottom:5px}.settings-index button{min-height:44px;padding:7px 10px}.form-actions{flex-wrap:wrap}.reward-result,.gacha-stage{padding:16px}.reward-result>.scene{margin:-11px -11px 15px}.settings-editor{padding:12px}}@media(max-width:380px){.header-inner{gap:4px}.brand{font-size:16px}.brand-art{display:none}.hero-actions{flex-direction:column}.home-primary{width:100%}.activity-card h2{font-size:17px}.status-panel{grid-template-columns:1fr}.week{padding-top:8px;border-top:1px solid #435760}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}.coin-pop{display:none}}.theme-grass{--biome:#a5cf99;--rune:#8daf73;--field:#283e34;--shade:#182c2c}.theme-rock{--biome:#f1bb89;--rune:#bd8766;--field:#503b34;--shade:#302a32}.theme-ruins{--biome:#d8c6ff;--rune:#a59ad0;--field:#3b3657;--shade:#252b43}.scene-level,.arena-label,.area-condition,.boss-caption>span,.training-hint>span,.shop-coins,.battle-gifts span,.map-power,.move-data span{display:inline-flex;align-items:center;gap:7px}.scene-level{position:absolute;right:14px;top:14px;padding:4px 10px;background:#22332de8;color:#ffe290;border:1px solid #dcdfaa94;border-radius:3px;font:800 16px var(--mono)}.quest-dashboard{grid-template-columns:minmax(0,2.12fr) minmax(260px,1fr)}.training-hint{display:grid;gap:4px;font-size:14px;color:#f0f3df;text-align:left}.training-hint small{color:#c2d4c9;font-size:13px}.training-hint .text-btn{justify-self:start;min-height:44px;padding:0}.boss-preview{isolation:isolate;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;overflow:hidden;padding:14px 16px 16px;border-color:#758268;background:radial-gradient(ellipse at 48% 36%,var(--field) 0%,var(--shade) 76%);text-align:center}.boss-caption{width:100%;display:flex;align-items:center;justify-content:space-between;gap:5px;color:var(--biome);font-weight:800;font-size:14px}.region-count{font:700 12px var(--mono);color:#c9d3c6}.boss-portrait{position:relative;isolation:isolate;display:grid;place-items:center;width:100%;min-height:132px;flex:1}.boss-portrait>img{position:relative;z-index:1;width:clamp(116px,12vw,175px);filter:drop-shadow(3px 5px #101b2966)}.rune-ring{position:absolute;width:clamp(125px,12vw,180px);aspect-ratio:1;border:1px solid color-mix(in srgb,var(--rune) 58%,transparent);border-radius:50%;box-shadow:0 0 0 8px color-mix(in srgb,var(--rune) 8%,transparent),0 0 0 9px color-mix(in srgb,var(--rune) 24%,transparent);background:repeating-conic-gradient(from 9deg,transparent 0deg 42deg,color-mix(in srgb,var(--rune) 10%,transparent) 42deg 45deg)}.rune-ring:before,.rune-ring:after{content:"";position:absolute;inset:12%;border:1px solid color-mix(in srgb,var(--rune) 32%,transparent);transform:rotate(45deg)}.rune-ring:after{transform:rotate(0)}.boss-preview h2{font-size:clamp(20px,1.95vw,30px);letter-spacing:.045em;color:#fff4d7;font-weight:950}.power-pair{display:flex;align-items:center;gap:14px;font-size:13px;color:#c6d4c8;margin:2px 0 12px}.power-pair b{font:800 18px var(--mono);color:#ffe498}.power-pair span+span{border-left:1px solid #617369;padding-left:14px}.quest-button{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #819b7b;border-radius:4px;color:#e6efcf;box-shadow:inset 0 1px #d7edb521,0 2px #102522;background:#354d40}.quest-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:17px}.quest-shortcuts .activity-card{padding:12px 10px;gap:8px;min-height:92px}.quest-shortcuts .tile-art{width:clamp(43px,4.5vw,65px);height:clamp(43px,4.5vw,65px)}.quest-shortcuts .activity-card h2{font-size:clamp(17px,1.5vw,23px)}.quest-shortcuts .activity-card p{font-size:12px}.move-card{--tile-edge:#627b4e;--tile-corner:#a2bb83;background:linear-gradient(110deg,#3a4935,#2c3c32)}.quest-record{margin-top:18px}.quest-record .status-panel{display:grid;align-items:center;grid-template-columns:1.05fr 1.12fr .8fr;gap:22px;padding:14px 18px}.quest-record .status-section{padding:0}.quest-record .week{border:0;border-inline:1px solid #43545c;padding:0 20px}.quest-record .stats-row{margin-top:5px}.quest-record .stamp-grid{margin-top:4px}.quest-record .status-section h2{font-size:16px}.quest-record .rare-progress{min-height:72px}.quest-record .rare-steps{gap:2px}.quest-record .rare-steps i{width:6px}.map-power{flex-wrap:wrap;align-items:baseline;color:#f1d899;margin:0 0 17px}.map-power b{font:900 21px var(--mono)}.map-power span{color:#bccfc9;font-size:14px;margin-left:6px}.area-cards,.move-shelves{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.area-card,.boss-entries article{overflow:hidden;border-color:color-mix(in srgb,var(--rune) 58%,#293b46);background:linear-gradient(160deg,var(--field),#1d2b36 75%)}.area-landscape,.arena{position:relative;isolation:isolate;overflow:hidden;image-rendering:pixelated;background-position:center;background-size:cover}.area-landscape{height:clamp(160px,15vw,215px);display:flex;align-items:flex-end;justify-content:center;padding-bottom:12px;border-bottom:2px solid #475554}.area-landscape .place{top:9px;left:9px}.area-landscape img{height:78%;filter:drop-shadow(2px 4px #16202d66)}.area-copy{padding:17px}.area-condition{font-size:13px;color:var(--biome);font-weight:850}.area-copy h2{font-size:clamp(20px,1.9vw,28px);color:#fff2da;margin:7px 0 4px}.area-copy p{font-size:16px;color:#cdd9d5}.needed{display:block;margin-top:12px;font-size:14px;color:#c3d0ce}.needed b{font:800 20px var(--mono);color:var(--biome)}.area-copy button{width:100%;margin-top:14px}.locked-area .area-landscape{filter:saturate(.55)}.locked-area .area-copy button:disabled{opacity:.8}.adventure-links,.battle-actions,.battle-gifts{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px}.adventure-links{margin-top:22px}.adventure-links img{width:27px;height:27px}.battle-panel{max-width:1040px;margin:auto;overflow:hidden;border-color:var(--rune)}.arena{height:clamp(270px,29vw,393px);background-size:100% 100%;border-bottom:2px solid #68786c}.arena-label{position:absolute;z-index:2;top:12px;padding:6px 10px;color:#fff7df;font-size:14px;background:#172e32ed;border:1px solid #c3d5c285;border-radius:4px}.arena-label.left{left:12px}.arena-label.right{right:12px}.arena-label b{color:#ffdb86}.combatant{position:absolute;bottom:12%;display:grid;place-items:center}.combatant.hero{width:clamp(95px,15vw,185px);left:15%}.combatant.foe{width:clamp(116px,19vw,230px);right:12%}.combatant.foe>img{width:100%;position:relative;filter:drop-shadow(2px 3px #26333653)}.combatant.foe .ground-shadow{bottom:3%}.phase-arrival .foe{animation:arrive .8s steps(7) both}.phase-move .hero{animation:lunge .65s .2s steps(6) both}.phase-move .foe{animation:hit .4s 1.1s steps(4) 2}.phase-end.won .foe{filter:saturate(.6);transform:translateY(5px) rotate(4deg)}.spell-flight{position:absolute;z-index:1;width:52px;top:48%;left:32%;animation:spell 1.3s .25s ease-in both;filter:drop-shadow(0 0 9px #fff1ad)}.spell-flight>.pixel{width:100%}@keyframes arrive{0%{transform:translate(80px);opacity:0}to{transform:none;opacity:1}}@keyframes lunge{45%{transform:translate(22px,-8px) rotate(-2deg)}}@keyframes hit{50%{transform:translate(8px,-2px) rotate(3deg)}}@keyframes spell{0%{left:31%;opacity:0;transform:scale(.6)}18%{opacity:1}85%{left:69%;opacity:1;transform:scale(1.4)}to{left:72%;opacity:0;transform:scale(1.8)}}.battle-message{padding:22px;text-align:center;min-height:140px;background:linear-gradient(125deg,var(--shade),#1d2c3a)}.battle-message h2{color:#fff2c4;font-size:clamp(24px,2.2vw,34px)}.battle-message p{margin:8px 0 16px;color:#d8e5d9}.battle-gifts{gap:8px;margin:0 0 18px}.battle-gifts span{border:1px solid #52665a;background:#2d403e;padding:5px 10px;border-radius:4px;font-size:14px}.battle-actions .primary{min-width:0}.book-tabs{margin-bottom:16px}.boss-entries .boss-portrait{min-height:175px;background:radial-gradient(ellipse,var(--field),var(--shade));border-bottom:1px solid #465462}.boss-entries .boss-portrait img{width:134px}.boss-entries .rune-ring{width:129px}.missing-boss .boss-portrait img{filter:brightness(0);opacity:.35}.boss-entries .area-copy{min-height:137px}.move-shelves{gap:15px}.move-tile{--ink:#88cda4;position:relative;overflow:hidden;text-align:center;background:radial-gradient(ellipse at 50% 50%,var(--shelf),#1c2935 80%);border:2px solid #4b5f69;border-radius:7px;box-shadow:0 3px #0b1721;padding:14px 15px 17px}.tile-leaf{--shelf:#365f45;--ink:#a6deb0}.tile-flare{--shelf:#705039;--ink:#ffd28a}.tile-comet{--shelf:#4b436c;--ink:#d9bef6}.move-tile[aria-pressed=true]{border-color:var(--ink);box-shadow:0 3px #0d191e,inset 0 0 0 2px #0e1c231f}.move-state{display:block;text-align:left;color:var(--ink);font-size:13px}.move-art{display:grid;place-items:center;height:clamp(85px,9vw,132px)}.move-art .pixel{width:clamp(66px,7.2vw,105px);filter:drop-shadow(2px 4px #15232485)}.move-tile h2{font-size:clamp(18px,1.9vw,27px);color:#fff4dc}.move-data{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:10px;color:#d5ddcf;font-size:14px}.move-data b,.shop-detail b{color:#ffe091}.shop-detail{margin-top:18px;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:13px}.shop-detail h2{font-size:21px}.shop-detail p{margin:4px 0;color:#d9e8dc}.shop-detail span,.shop-detail small{color:#b9cbc7;font-size:14px}.shop-detail small{display:block;text-align:center;margin-top:7px}.shop-message{color:#c3e4c6;text-align:center;margin:12px 0}.shop-coins{color:#ffe19b}@media(max-width:1050px){.quest-record .status-panel{gap:12px;padding-inline:13px}.quest-record .week{padding-inline:12px}.quest-shortcuts .activity-card{gap:5px}.quest-shortcuts .activity-card p{font-size:11px}.quest-record .rare-steps{display:none}}@media(max-width:845px){.quest-dashboard{grid-template-columns:minmax(0,1.65fr) minmax(220px,1fr)}.quest-shortcuts .activity-card{flex-direction:row}.quest-shortcuts .activity-card p{display:none}.hero-actions .training-hint{align-items:center;text-align:center}.quest-record .status-panel{grid-template-columns:1fr 1.15fr .85fr}.quest-record .week{padding-inline:9px}.quest-record .portrait{display:none}.quest-record .rare-progress{padding:7px;gap:4px}.quest-record .rare-symbol svg{width:27px}.area-cards,.move-shelves{gap:10px}.area-copy{padding:12px}.area-copy .secondary,.area-copy .primary{padding-inline:6px;font-size:14px}.hero-actions .training-hint .text-btn{justify-self:center}}@media(max-width:670px){.quest-dashboard{grid-template-columns:1fr}.boss-preview{display:grid;grid-template-columns:92px 1fr;gap:2px 10px;padding:11px}.boss-caption{grid-column:1/-1}.boss-preview .boss-portrait{grid-row:2/5;min-height:94px}.boss-preview .rune-ring{width:70px}.boss-preview .boss-portrait img{width:88px}.boss-preview h2{font-size:20px}.boss-preview .power-pair{justify-content:center;margin:0 0 5px}.quest-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quest-shortcuts .activity-card{min-height:69px;gap:7px;justify-content:center}.quest-record .status-panel{grid-template-columns:1fr 1.05fr}.quest-record .week{border:0;padding:0}.quest-record .rare-progress{min-height:40px}.quest-record .rare-steps{display:flex}.quest-record .status-section h2{font-size:13px}.quest-record .rare-progress>div:nth-child(2){display:flex}.area-cards{grid-template-columns:1fr}.area-card,.boss-entries article{display:grid;grid-template-columns:minmax(100px,.85fr) minmax(0,1.15fr)}.area-landscape{height:100%;min-height:160px;align-items:center;padding:20px 0 0;border:0;background-size:auto 100%}.area-landscape img{height:auto;width:78%}.area-copy h2{font-size:20px}.area-copy p{font-size:14px}.arena{height:240px}.arena-label{font-size:11px;gap:4px}.arena-label.left{left:4px}.arena-label.right{right:4px}.combatant.hero{left:10%}.combatant.foe{right:7%}.battle-message{padding:15px}.battle-actions{gap:8px}.battle-actions .secondary{padding-inline:10px}.move-shelves{gap:6px}.move-tile{padding:6px 4px 9px}.move-art{height:66px}.move-art .pixel{width:55px}.move-tile h2{font-size:15px}.move-state{font-size:11px}.move-data{gap:2px 7px;font-size:12px}.move-data .icon{width:15px}.shop-detail{flex-wrap:wrap;padding:16px}.shop-detail>div:last-child{flex:1;min-width:170px}.shop-detail button{width:100%}.training-hint{padding-inline:2px}.boss-entries .boss-portrait{min-height:135px}.boss-entries .boss-portrait img{width:92px}.boss-entries .rune-ring{width:84px}.map-power{font-size:14px}}@media(min-width:671px)and (max-width:845px){.quest-shortcuts .activity-card{flex-direction:column;justify-content:center;gap:2px}.quest-shortcuts h2{white-space:nowrap}}@media(prefers-reduced-motion:reduce){.spell-flight{animation:none;left:50%;opacity:1}}
