:root{--panel19:#fffaf0;--edge19:#5268792b;--accent19:#477f71;--ink19:#263f4c;--touch-scale19:1}html[data-theme=dark]{--panel19:#213944;--edge19:#c0dfdb25;--accent19:#b9e6c3;--ink19:#e4efdf}body{font-feature-settings:'ss01';}button,input,select{border-radius:12px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #e9b36c;outline-offset:3px}header{padding:12px 20px;gap:10px}#nav{order:2;flex-basis:100%;display:flex;gap:6px;overflow:auto;flex-wrap:nowrap;scrollbar-width:thin;padding-bottom:3px}#nav button{flex:0 0 auto;padding:9px 13px;font-size:12px}header .brand{margin-right:auto}#menu{max-width:1440px;margin:auto}#menu .hero{padding:22px 28px;min-height:190px;border-radius:26px}#menu .hero h1{font-size:clamp(30px,4vw,48px);letter-spacing:-1.5px}#mascot{max-height:190px}.card{border-color:var(--edge19);box-shadow:0 5px 18px #203a4110}.card h3{line-height:1.3}.card .hint:empty,.card p:empty{display:none}.map-preview15{object-fit:cover}.sectionhead{margin:22px 0}.eyebrow19{letter-spacing:2px;font-size:11px;font-weight:800}.settings-grid19,.journey-ways19{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin:20px 0}.settings-card19{background:var(--panel19);border:1px solid var(--edge19);border-radius:22px;padding:22px}.setting-row19{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0;font-size:13px}.setting-row19 input[type=range]{min-width:0;width:100px;accent-color:var(--accent19)}.setting-row19 input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent19)}.setting-row19 output{font-variant-numeric:tabular-nums;font-size:11px}.key-guide19{white-space:pre-line;font-size:13px;line-height:2}.journey-hero19{display:flex;align-items:center;gap:26px;background:linear-gradient(120deg,#477765,#253f5c);color:#fff3cf;padding:30px;border-radius:26px}.journey-hero19 h3{font-size:clamp(20px,3vw,32px);margin:8px 0}.journey-hero19 progress{width:min(60vw,500px);height:12px;accent-color:#dcebaf}.level-badge19{border:3px solid #ecd598;border-radius:24px;width:94px;height:104px;display:grid;place-content:center;font-size:42px;font-weight:800;box-shadow:inset 0 0 0 5px #a9c6a755}.pets19{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.pet-house19{margin:30px 0}.pet-card19,.journey-stop19{display:flex;flex-direction:column;align-items:center;gap:12px;background:var(--panel19);border:1px solid var(--edge19);border-radius:20px;padding:18px;text-align:center}.reward-sprite19{width:96px!important;height:96px!important;aspect-ratio:1!important;object-fit:contain}.journey-road19{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;padding:15px 0}.stop-level19{font-size:10px;letter-spacing:1px;opacity:.7}.locked19 .reward-sprite19{filter:grayscale(.95);opacity:.5}.claimed19{border-color:#7eaa83;background:linear-gradient(135deg,#91b98514,var(--panel19))}.profile-progress19{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.rank19,.profile-level19{background:var(--panel19);border:1px solid var(--edge19);padding:14px 22px;border-radius:18px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}.rank19 strong{font-size:12px;letter-spacing:1px}.rank19 span{font-size:12px;opacity:.65}.profile-level19 .reward-sprite19{width:55px!important;height:55px!important}.wheel .wheel-prize19{display:flex;flex-direction:column;align-items:center;font-size:12px;gap:0}.wheel-prize19 .reward-sprite19{width:48px!important;height:48px!important}.wheel-prize19 b{background:#fff1cddd;color:#31444c;padding:1px 6px;border-radius:8px}.sound-grid19{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.sound-grid19 audio{width:100%;height:36px}.sound-grid19 input{width:100%}.sound-card19{min-width:0} body.playing19,body.arena-live19{overflow:hidden}body.playing19>header,body.arena-live19>header{display:none}body.playing19 #play{position:fixed;inset:0;padding:0;margin:0;width:100%;height:100dvh;max-width:none;background:#283f4a}body.playing19 #aside,body.playing19 .touch,body.playing19 .game-layout>section>p.hint{display:none!important}body.playing19 .game-layout{display:block;width:100%;height:100%;gap:0;margin:0}body.playing19 .game-layout>section{height:100%}body.playing19 .stage{height:100%;width:100%;border:0;border-radius:0;box-shadow:none}body.playing19 #world{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:fill}body.playing19 .strip{position:absolute;z-index:22;left:max(12px,env(safe-area-inset-left));top:max(10px,env(safe-area-inset-top));right:12px;margin:0;display:flex;gap:6px;justify-content:flex-start;pointer-events:none}body.playing19 .strip>*{pointer-events:auto}body.playing19 .strip button{font-size:11px;padding:8px 11px;background:#183342dc;color:#eef5df;border:1px solid #ffffff25;backdrop-filter:blur(8px)}body.playing19 #leveltitle{background:#183342c9;border-radius:10px;padding:8px 14px;color:#fff0cd;font-size:12px;max-width:35vw;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}body.playing19 .hud{top:60px;left:12px;right:12px;pointer-events:none}.scene-actions19{display:none}body.playing19 .scene-actions19{position:absolute;right:max(12px,env(safe-area-inset-right));bottom:14px;display:flex;gap:6px;z-index:24}.scene-actions19 button{font-size:12px;background:#183342d9;color:#eff4df;border:1px solid #ffffff33}.mobile-controls{z-index:25}.mobile-actions{transform:scale(var(--touch-scale19));transform-origin:right bottom}.move-zone{transform:scale(var(--touch-scale19));transform-origin:left bottom}.emote-mobile19{background:#e7c681!important;color:#294650!important;font-size:22px!important}.mobile-controls .move-zone small{display:none}.emote-wheel19{position:fixed;inset:0;background:#122a3a99;backdrop-filter:blur(8px);z-index:999;display:grid;place-items:center;padding:10px;touch-action:none}.emote-disk19{position:relative;width:min(92vw,510px,90dvh);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#284d5a 0 23%,#26444fe6 24% 67%,#9cbdaf55 68% 69%,transparent 70%);box-shadow:0 0 70px #0d1d2955}.emote-center19{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;width:25%;height:25%;white-space:pre-line;font-size:clamp(10px,2vw,14px);background:#f0dba2;color:#2f4c51;border:3px solid #a4c3ad}.emote-choice19{position:absolute;width:23%;height:25%;left:calc(50% + var(--x)*33%);top:calc(50% + var(--y)*33%);transform:translate(-50%,-50%);background:#2b5059;color:#f7edcc;border:1px solid #c9ddba44;border-radius:18px;padding:0 3px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}.emote-choice19:hover,.emote-choice19.selected{transform:translate(-50%,-50%);background:#5d8373;border-color:#f1d99c;box-shadow:0 0 24px #b6dd9d33}.emote-choice19 canvas{width:auto!important;height:74%!important;aspect-ratio:112/104!important;max-width:100%}.emote-choice19 span{font-size:clamp(9px,1.7vw,12px);line-height:1.1}.arena-live19 #menu{position:fixed;inset:0;padding:0;max-width:none}.arena-live19 #content{height:100dvh;margin:0}.arena-live19 .arena-shell19{height:100%;position:relative;background:#263f49}.arena-live19 .arena-canvas17{width:100%!important;height:100%!important;aspect-ratio:auto!important;max-height:none;border-radius:0}.arena-live19 .arena-hud17{position:absolute;top:14px;left:50%;transform:translateX(-50%);z-index:5;background:#193744df;color:#f2e8c9;padding:12px 18px;border-radius:15px;font-size:12px;text-align:center;white-space:nowrap}.arena-status19{position:absolute;top:65px;left:50%;transform:translateX(-50%);z-index:5;border-radius:10px;background:#17353bdc;color:#f8efce;padding:7px 14px;font-size:12px;max-width:90%;text-align:center}.arena-live19 .arena-actions19{position:absolute;right:12px;top:14px;z-index:7;display:flex;gap:5px}.arena-actions19 button{font-size:11px;background:#193744df;color:#f8efce}.arena-live19 .arena-touch17{position:absolute;inset:auto 16px max(14px,env(safe-area-inset-bottom));justify-content:space-between;z-index:6}.arena-touch17 button{touch-action:none;user-select:none;min-height:54px;min-width:58px;background:#e8eedada;color:#284650;border:2px solid #ffffff66;border-radius:18px}.arena-result19{position:absolute;inset:25% 15%;z-index:9;border:1px solid #d9d399;border-radius:24px;background:#233e4afa;padding:25px;color:#f8edc9;text-align:center;box-shadow:0 20px 80px #0e263866}.arena-ranked19{display:flex;gap:12px;align-items:center;margin:16px 0}.arena-ranked19 input{width:21px;height:21px;accent-color:var(--accent19)} @media(pointer:coarse){body.playing19 .scene-actions19{bottom:auto;top:max(10px,env(safe-area-inset-top))}body.playing19 .scene-actions19 button:first-child,body.playing19 .scene-actions19 button:last-child{display:none}body.playing19 .mobile-controls{position:absolute;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));margin:0}body.playing19 #restart{display:none}body.playing19 .strip{right:65px}.mobile-actions button{min-height:50px}.mobile-actions .jump-button{min-height:66px}body.playing19 #modebadge{font-size:10px}.arena-live19 .arena-actions19{top:auto;bottom:85px}.emote-disk19{width:min(94vw,90dvh)}} @media(max-width:600px){header{padding:10px}#nav button{font-size:11px;padding:9px}#menu .hero{min-height:145px;padding:18px}#mascot{max-height:145px}.journey-hero19{padding:18px;gap:16px}.level-badge19{width:65px;height:78px;flex-shrink:0;font-size:30px}.settings-card19{padding:18px}.journey-road19{grid-template-columns:repeat(2,minmax(0,1fr))}.arena-result19{inset:25% 5%}body.playing19 #leveltitle{display:none}} .reduce19 *{scroll-behavior:auto}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}.reduce19 .case-overlay14 *,.reduce19 .journey-hero19 *{animation:none!important}.contrast19 button{border-width:2px} .case-odds19{margin:10px 0}.case-odds19 summary{cursor:pointer;padding:11px;border:1px solid var(--edge19);border-radius:10px;font-size:12px}.odds-list19{display:grid;gap:7px;max-height:420px;overflow:auto;margin-top:10px}.odds-item19{display:grid;grid-template-columns:64px 1fr auto;grid-template-rows:1fr 1fr;gap:2px 9px;align-items:center;background:color-mix(in srgb,var(--rarity) 12%,var(--panel19));border:1px solid color-mix(in srgb,var(--rarity) 60%,transparent);border-left:4px solid var(--rarity);border-radius:12px;padding:7px}.odds-item19 .asset-art17{grid-row:1/3;width:64px!important;height:50px!important;aspect-ratio:auto!important;object-fit:contain;margin:0}.odds-item19 strong{font-size:11px;line-height:1.2}.odds-item19 small{grid-column:2;font-size:10px;color:var(--rarity)}.odds-item19 b{grid-column:3;grid-row:1/3;font-size:11px;font-variant-numeric:tabular-nums;color:var(--rarity)}.case-theatre19{position:fixed;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#344953,#192e3c 70%);color:#f2ebd3;border:1px solid #a1bfb74d;padding:28px;width:min(760px,94vw);border-radius:26px;box-shadow:0 30px 120px #0008}.case-theatre19 h2{font-size:clamp(22px,3vw,32px);letter-spacing:-.5px;color:#f8edcf}.case-theatre19::backdrop{background:#102632bb;backdrop-filter:blur(7px)}.case-theatre19 .roll-window14{border:1px solid #aac7ba55;background:#10252f;border-radius:18px;box-shadow:inset 40px 0 30px #10252f,inset -40px 0 30px #10252f}.case-theatre19 .roll-needle14{background:#fff1bb;box-shadow:0 0 16px #ffe4ab;width:3px}.case-theatre19.revealed19{border-color:var(--drop-color);box-shadow:0 0 90px color-mix(in srgb,var(--drop-color) 20%,transparent),0 30px 120px #0008}.case-theatre19 .case-rewards18{position:relative;z-index:1;margin:20px 0;display:flex;gap:14px;justify-content:center;flex-wrap:wrap}.case-theatre19.revealed19 .roll-item14{width:220px!important;flex:0 0 220px;min-height:240px;border-radius:20px;box-shadow:0 0 32px color-mix(in srgb,var(--rarity) 15%,transparent)}.case-theatre19.revealed19 .roll-item14 canvas{width:210px!important;height:160px!important;aspect-ratio:auto!important}.case-theatre19>button{position:relative;z-index:2;background:#d1e4b2;color:#284147;padding:12px 25px}.drop-fx19{position:absolute;inset:0;width:100%!important;height:100%!important;aspect-ratio:auto!important;pointer-events:none;z-index:-1}.bp-day16 .reward-sprite19{width:60px!important;height:60px!important}.bp-reward16>.reward-sprite19{align-self:center} body.editing19>header{display:none}body.editing19 #play{padding:10px;max-width:none}body.editing19 .game-layout{grid-template-columns:minmax(0,1fr) 310px;gap:12px}body.editing19 #aside{height:calc(100dvh - 82px);overflow:auto;padding:14px;scrollbar-width:thin}body.editing19 .stage{border-radius:16px}body.editing19 #world{height:calc(100dvh - 175px);aspect-ratio:auto!important}body.editing19 .touch{display:none}.editor-essentials19{display:grid!important;grid-template-columns:repeat(3,1fr);gap:5px!important;padding:8px 0}.editor-essentials19 button{font-size:10px;padding:8px 4px}.editor-essentials19 button:first-child,.editor-essentials19 button:nth-child(2){background:#8db89c;color:#243c44;border-color:#8db89c}.tool-search19{width:100%;font-size:12px;margin:8px 0;padding:10px}.editor-tabs15{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.editor-tabs15 button{font-size:10px;padding:8px 5px}.editor-toolbar15{position:sticky;top:0;z-index:5;background:var(--panel19);padding:8px 0;display:grid;grid-template-columns:1fr 1fr}.editor-toolbar15 button{font-size:10px}.editor-fold19{margin:12px 0;border:1px solid var(--edge19);padding:11px;border-radius:14px;background:var(--panel19)}.editor-fold19 summary{cursor:pointer;font-size:12px;font-weight:700}.editor-fold19 .tools{margin-top:10px}.editor-fold19>select,.editor-fold19>input{width:100%;margin:8px 0;font-size:12px}.editor-fold19 button{font-size:11px;margin-top:6px}.editor-minimap19{width:100%!important;height:100px!important;aspect-ratio:auto!important;border:1px solid var(--edge19);border-radius:12px;cursor:crosshair;margin-bottom:12px}.transform-panel15:has(p:only-child){display:none}@media(max-width:800px){body.editing19 .game-layout{display:flex;flex-direction:column}body.editing19 #aside{height:44dvh;order:2}body.editing19 #world{height:43dvh}body.editing19 #aside>.editor-minimap19{display:none}body.editing19 .editor-essentials19{grid-template-columns:repeat(5,1fr)}body.editing19 .editor-tabs15{grid-template-columns:repeat(6,1fr)}body.editing19 .strip button{font-size:11px;padding:7px}} .equipment19{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.equipment-slot19{display:flex;flex-direction:column;align-items:center;text-align:center;padding:14px;border:1px solid var(--edge19);background:var(--panel19);border-radius:20px;gap:8px}.equipment-slot19 small{letter-spacing:2px;opacity:.65}.equipment-slot19 .asset-art17{width:100%;height:130px;object-fit:contain;aspect-ratio:auto!important}.empty-slot19{height:130px;display:grid;place-items:center;font-size:44px;opacity:.4}@media(max-width:550px){.equipment19{gap:7px}.equipment-slot19{padding:9px 5px;font-size:11px}.equipment-slot19 .asset-art17,.empty-slot19{height:90px}.equipment-slot19 button{padding:8px;font-size:11px}} 