@charset "utf-8";
/* Expedition cabinet: existing Pokémon sprites, inventory and game controls. */
body:has(.slots-shell){background:#07152b;color:#edf4ff}
.slots-shell{--navy:#061b37;--navy-light:#12365b;--slot-gold:#ffda70;--slot-border:#b88b32;--white:#edf4ff;--muted:#a9bed9;position:relative;isolation:isolate;display:grid;grid-template-columns:228px minmax(0,1fr) 232px;gap:18px 16px;width:calc(100% - 40px);max-width:1600px;margin:20px auto 32px;align-items:start;font-family:'Trebuchet MS','Segoe UI',sans-serif}
.slots-shell:before{content:'';display:block;position:fixed;inset:0;width:auto;height:100vh;opacity:1;z-index:-2;background:linear-gradient(180deg,#04112659,#03112577),var(--expedition-bg) center/contain no-repeat #050b18;image-rendering:pixelated;pointer-events:none}
.slots-shell:after{content:'';position:fixed;inset:0;z-index:-1;background:linear-gradient(90deg,#00112644,transparent 40%,#00112633);pointer-events:none}
.slots-shell button{font-family:inherit}
.slots-shell .game-topbar{grid-column:1/-1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;width:100%;max-width:none;margin:0;padding:12px 18px;min-height:76px;color:#fff0bc;background:linear-gradient(#102e54,#03142c);border:3px solid #e0b94f;outline:3px solid #041328;box-shadow:inset 0 0 0 3px #071426,inset 0 0 0 4px #547293,0 6px 0 #02102799}
.expedition-brand{display:flex;align-items:center;gap:9px;background:transparent;border:0;padding:0;text-align:left;width:fit-content}
.expedition-brand .item-sprite{width:42px;height:42px;filter:drop-shadow(2px 3px 0 #010c1d)}
.expedition-brand strong{font:clamp(23px,2.4vw,36px) Impact,'Arial Black',sans-serif;letter-spacing:1px;color:#ffe28a;text-shadow:2px 3px #8a561c,3px 4px #000}
.slots-shell .expedition-id{text-align:center;display:grid;gap:5px;line-height:1.2}
.slots-shell .expedition-id strong{font-size:20px;letter-spacing:1.5px;color:#ffe28a;text-shadow:2px 2px #000}
.slots-shell .expedition-id span{font-size:11px;letter-spacing:3px;color:#bed7f3}
.slots-shell .game-top-actions{justify-content:flex-end;gap:12px;display:flex;align-items:center}
.slots-shell .topbar-balance{border:2px solid #a78b49;padding:8px 10px;gap:5px;background:#061427;font-size:20px;font-weight:900;color:#ffe071;white-space:nowrap}

.slots-shell .run-nav{display:flex;gap:7px}
.slots-shell .run-nav button{background:#123456;border:1px solid #c2b572;color:#eef5ff;padding:11px 12px;box-shadow:inset 0 0 0 2px #051a35,2px 2px #020e22;font-size:12px;font-weight:800}
.slots-shell .run-nav .danger{color:#e59b9e;padding:10px}
.slots-shell .game-stage,.slots-shell .game-main{width:100%;max-width:none;margin:0;padding:0;min-width:0}
.slots-shell .run-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start;margin:0}
.slots-shell .run-main{min-width:0}
.expedition-progress{display:flex;align-items:center;gap:24px;min-height:70px;padding:2px 8px;margin-bottom:10px;color:#e7effb;text-shadow:1px 2px #000}
.biome-identity{display:flex;align-items:center;gap:13px;min-width:210px;max-width:350px}
.biome-identity>img{width:66px;height:62px;object-fit:cover;image-rendering:pixelated;border:3px solid #b49347;outline:3px solid #071c30;box-shadow:5px 5px #0008}
.biome-identity>div{display:grid;gap:5px;padding:9px 14px 9px 0}
.biome-identity small{font-size:10px;letter-spacing:2px;color:#c9ddf8}
.biome-identity strong{font-size:18px;line-height:1.25;color:#ffe795}
.journey-track{flex:1;display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;min-width:200px;padding:8px 10px;background:linear-gradient(#0d3054,#071831);border:2px solid #b48b3f;box-shadow:inset 0 0 0 3px #07142b,0 4px 0 #020c20}.journey-track:after{content:'';position:absolute;left:13px;top:50%;height:8px;transform:translateY(-50%);width:var(--progress,0%);max-width:calc(100% - 26px);background:linear-gradient(#ffe58c,#f2c043 55%,#dfaa26);box-shadow:inset 0 0 0 1px #c18b21;z-index:0;transition:width .4s ease}
.journey-track:before{content:'';position:absolute;left:13px;right:13px;top:50%;height:8px;transform:translateY(-50%);background:#041225;box-shadow:inset 0 2px 0 #12365b,inset 0 -2px 0 #010a16;z-index:0}
.track-stop{display:grid;place-items:center;flex:1 1 0;min-width:0;max-width:46px;aspect-ratio:1;position:relative;z-index:1;padding:2px;border:2px solid #31587d;background:#0b2845;box-shadow:inset 2px 2px #041a32,inset -2px -2px #183a5b,2px 2px 0 #020e22;color:#7f9cc0;font-size:13px;font-weight:900}
.track-stop:nth-child(even){background:#0a2440}
.track-stop-tile{display:grid;place-items:center;width:100%;height:100%;overflow:hidden}
.track-stop-tile img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(2px 2px 0 #00000070)}
.track-stop-mark{font-size:15px;line-height:1;color:inherit}
.track-stop.caught{background:#12492c;border-color:#3fbf63;box-shadow:inset 2px 2px #062f18,inset -2px -2px #2a7d48,2px 2px 0 #020e22}
.track-stop.caught:after{content:'';position:absolute;top:-4px;right:-4px;width:8px;height:8px;background:#ffda70;box-shadow:0 0 0 2px #071120}
.track-stop.missed{background:#1d2739;border-color:#55617a;box-shadow:inset 2px 2px #121a28,inset -2px -2px #39465e,2px 2px 0 #020e22}
.track-stop.missed .track-stop-tile img{filter:grayscale(1) brightness(1.15) contrast(.9) drop-shadow(2px 2px 0 #00000070);opacity:.7}
.track-stop.event{background:#0d3a4a;border-color:#4b93a8;box-shadow:inset 2px 2px #04202b,inset -2px -2px #196b82,2px 2px 0 #020e22}
.track-stop.event .track-stop-tile img{width:92%;height:92%}
.track-stop.current{background:linear-gradient(#ffe58c,#f2c043 55%,#dfaa26);border-color:#ffea9f;color:#0a1b34;box-shadow:inset 0 0 0 2px #c18b21,2px 2px 0 #020e22,0 0 12px #ffc84255;animation:track-current-pulse 1.6s steps(2,end) infinite;z-index:2}
@keyframes track-current-pulse{50%{box-shadow:inset 0 0 0 2px #c18b21,2px 2px 0 #020e22,0 0 20px #ffc842aa}}
.track-boss{background:#071729;border-bottom:3px solid #cd4b6b;width:44px;height:44px;display:grid;place-items:center;animation:boss-mystery-pulse 2.4s ease-in-out infinite}
.track-boss-mark{font-size:20px;font-weight:900;color:#ffe27a;text-shadow:0 0 8px #ffb74d}@keyframes boss-mystery-pulse{50%{box-shadow:0 0 12px #cd4b6b99}}
.progress-copy{display:grid;gap:6px;padding:11px 14px;margin-top:10px;background:#06172dde;border-left:3px solid #e3c466;white-space:normal}
.progress-copy strong{font-size:14px;color:#fff2cc}.progress-copy small{font-size:11px;color:#a9c6eb}
.slot-machine{position:relative;background:linear-gradient(135deg,#20446c,#071a36 40%,#0c2b4c);border:3px solid #eac35e;padding:14px 16px 12px;outline:3px solid #071120;box-shadow:inset 0 0 0 3px #041225,inset 0 0 0 6px #466586,0 8px 0 #071120b3,0 0 25px #007ed333;color:#edf4ff}
.slot-machine:before,.slot-machine:after{content:'◆';position:absolute;top:3px;color:#ffe39b;font-size:13px;text-shadow:1px 1px #533813}.slot-machine:before{left:3px}.slot-machine:after{right:3px}
.machine-title{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;border:2px solid #b48b3f;background:linear-gradient(#0d3054,#071831);box-shadow:inset 0 0 0 3px #07142b,0 4px 0 #020c20;padding:14px 10px 12px;position:relative}
.machine-title>.item-sprite{width:33px;height:33px;flex:none}.machine-title>span{color:#ffe290;font-size:24px}
.machine-title small{font-size:10px;font-weight:800;color:#c2dcf6;letter-spacing:2px}.machine-title h1{font-family:'Trebuchet MS','Segoe UI',sans-serif;font-size:clamp(16px,1.9vw,25px);font-weight:900;letter-spacing:.2px;line-height:1.2;margin:5px 0;color:#ffe38b;text-shadow:2px 2px #000}.machine-title p{font-size:12px;line-height:1.3;color:#d4e6ff}
.machine-lights{display:flex;justify-content:space-around;padding:12px 16px 9px}.machine-lights i{width:5px;height:5px;background:#fce39d;box-shadow:0 0 7px #ffd463}.machine-lights i:nth-child(even){background:#67dffa;box-shadow:0 0 7px #4bcbff}
.encounter-reels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:9px;background:#020e20;border:2px solid #527ca1;box-shadow:0 0 0 2px #010917,inset 0 0 20px #000;margin:0 0 16px}
.encounter-reel{min-width:0}.reel-window{height:345px;position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(90deg,#c9c3a8,#fcf8df 16%,#fffcec 50%,#eee8cc 84%,#b4b39e);border:4px solid #d7ad4e;outline:2px solid #574218;box-shadow:inset 0 12px 18px #1826356b,inset 0 -10px 18px #172b446b}
.reel-window:after{content:'';pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 0 2px #ffeca666,inset 0 25px 25px -20px #001431,inset 0 -25px 25px -20px #001431;z-index:3}
.reel-number{position:absolute;left:8px;top:8px;z-index:3;color:#354765;font-weight:900;font-size:10px;letter-spacing:1px}
.reel-ghost{position:absolute;left:0;right:0;display:flex;justify-content:center;opacity:.32;filter:saturate(.6);z-index:-1}.reel-ghost.above{top:-38px}.reel-ghost.below{bottom:-43px}.reel-ghost .pixel{width:115px;height:115px;object-fit:contain}
.reel-focus{position:absolute;inset:67px 0 55px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:linear-gradient(transparent,#fffcedb8 30%,#fffcebe0 70%,transparent);text-align:center;color:#0b203e;z-index:1}
.reel-pokemon{width:100%;height:126px;display:grid;place-items:center;position:relative}.reel-pokemon .pixel{width:145px;height:145px;max-width:110%;object-fit:contain;filter:drop-shadow(0 7px 0 #5b708326)}.reel-pokemon .reel-pokeball{width:56%;height:56%;max-width:96px;max-height:96px;object-fit:contain;opacity:.85;filter:drop-shadow(0 7px 0 #5b708326)}
.reel-name{font-size:18px;line-height:1.1;text-shadow:none;max-width:100%;overflow-wrap:anywhere;padding:0 4px}.reel-types{display:flex;gap:4px;justify-content:center;flex-wrap:wrap;min-height:22px}.reel-types .type{font-family:inherit;font-size:9px!important;line-height:14px;padding:3px 6px;border-width:1px;box-shadow:1px 2px #0002}.reel-types .type-sprite{width:12px;height:12px}
.reel-level{display:inline-block;padding:2px 6px;border:1px solid #8b6f39;background:#f5df9a;color:#142a43;font-size:10px;font-weight:900;line-height:1.1;letter-spacing:.4px}
.reel-details{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;font-weight:800;min-height:18px;color:#355374}.reel-details .money{color:#745615;gap:3px}.reel-details .money-icon{width:13px;height:13px;filter:drop-shadow(0 1px 0 #0006)}.reel-details>span+span{border-left:1px solid #989b99;padding-left:7px}
.reel-archetype{font-size:9px;font-weight:900;letter-spacing:.5px;color:#17334e;background:#d8e7eb;border:1px solid #7996a4;padding:2px 5px;line-height:1}.reel-support{font-size:10px;color:#466079;margin-top:-4px}.reel-elite{position:absolute;right:3px;top:-16px;font-size:9px;font-weight:900;color:#8b3b1d;background:#ffe39d;padding:3px 6px}.reel-spark{position:absolute;top:20px;right:15px;color:#cdae48;font-size:17px;opacity:.6}.encounter-reel.elite .reel-window{border-color:#ffcf4d;box-shadow:inset 0 0 0 2px #4a2f04,0 0 0 2px #ffcf4d,0 0 16px 3px #ffcf4d80;animation:elite-aura 1.7s ease-in-out infinite}@keyframes elite-aura{0%,100%{box-shadow:inset 0 0 0 2px #4a2f04,0 0 0 2px #ffcf4d,0 0 14px 2px #ffcf4d66}50%{box-shadow:inset 0 0 0 2px #4a2f04,0 0 0 3px #ffe387,0 0 24px 6px #ffcf4dc0}}@media(prefers-reduced-motion:reduce){.encounter-reel.elite .reel-window{animation:none}}
.reel-battle{width:100%;padding:12px 3px;margin-top:10px;background:linear-gradient(#ffe066,#f2b705);color:#3a2600;font-size:13px;font-weight:900;letter-spacing:.5px;border:2px solid #fff3b0;box-shadow:inset 0 0 0 2px #a37600,0 3px #402c00,0 0 10px 1px #f2b70555;transition:.15s}.reel-battle:hover:not(:disabled){background:linear-gradient(#fff0a3,#ffc61a);box-shadow:inset 0 0 0 2px #a37600,0 3px #402c00,0 0 16px 3px #ffce3399}
.reel-battle:disabled{opacity:.55;font-size:10px}.reel-battle:not(:disabled):hover{background:#225c83;border-color:#fff1b7;box-shadow:0 0 15px #f8c75b66;transform:translateY(-2px)}
.machine-controls{display:grid;grid-template-columns:55px minmax(0,1fr) 40px;gap:16px;align-items:center;padding:3px 12px 11px}.spin-emblem .item-sprite{width:48px;height:48px;filter:drop-shadow(0 0 12px #69bdff66)}
.encounter-spin{display:flex;justify-content:center;align-items:center;gap:20px;background:linear-gradient(#ffe58c,#f2c043 55%,#dfaa26);color:#0a1b34;border:3px solid #ffea9f;outline:2px solid #74551c;box-shadow:inset 0 0 0 2px #c18b21,0 5px 0 #81601f,0 0 19px #ffc84255;padding:12px 10px;font-size:clamp(16px,1.8vw,24px);font-weight:900;line-height:1.1;text-shadow:0 1px #ffeaae}
.encounter-spin small{display:block;font-size:9px;font-weight:800;letter-spacing:1.4px;margin-top:6px}.encounter-spin:disabled{opacity:1;background:linear-gradient(#194668,#102d4c);border-color:#829e9e;outline-color:#051325;box-shadow:inset 0 0 0 2px #082441,0 4px #051328;color:#a6dbe8;text-shadow:none;font-size:17px}.encounter-spin:not(:disabled):hover{filter:brightness(1.12);box-shadow:inset 0 0 0 2px #c18b21,0 5px 0 #81601f,0 0 25px #ffc84299}
.machine-lever{height:76px;width:44px;position:relative}.machine-lever:before{content:'';position:absolute;width:36px;height:22px;background:#153a60;border:3px solid #597ba2;bottom:0;left:4px;box-shadow:2px 3px #020e20;z-index:1}.lever-arm{position:absolute;inset:0;transform-origin:23px 60px}.machine-lever i{position:absolute;height:56px;width:10px;bottom:16px;left:19px;transform:rotate(12deg);background:linear-gradient(90deg,#667d94,#f0faff,#8bafcb);border:2px solid #021630}.machine-lever b{position:absolute;width:34px;height:34px;left:12px;top:-8px;background:radial-gradient(circle at 34% 28%,#ffb5a8 0 10%,#fa4d63 15% 40%,#b91338 65%);border:3px solid #360b24;box-shadow:2px 2px #00102a;border-radius:50%}
.machine-status{text-align:center;color:#bcd6f1;font-size:11px;line-height:1.5;background:#051830;padding:10px 6px;border-top:1px solid #527999;margin-top:4px}
.center-stop{margin:12px 0 0;width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:10px;background:#133a47;border:2px solid #7de1b0;box-shadow:inset 0 0 0 2px #051d2b;color:#e8fff3}.center-stop .ui-sprite{width:44px;height:44px;object-fit:contain}.center-stop span{display:grid;gap:5px;flex:1}.center-stop strong{font-size:12px}.center-stop small{font-size:10px;line-height:1.5;color:#b0ded2}.center-stop b{font-size:10px;color:#8ff7b0}
.rolling .encounter-reel:not(.landed) .reel-pokemon{animation:reel-rush .15s linear infinite}.rolling .encounter-reel:not(.landed) .reel-types,.rolling .encounter-reel:not(.landed) .reel-details{opacity:.25}.rolling .lever-arm{animation:lever-pull .7s cubic-bezier(.22,.61,.36,1)}@keyframes lever-pull{0%{transform:rotate(0deg)}22%{transform:rotate(50deg)}42%{transform:rotate(58deg)}65%{transform:rotate(-8deg)}82%{transform:rotate(3deg)}100%{transform:rotate(0deg)}}.rolling .machine-lights i{animation:bulb-flash .35s steps(2,end) infinite}.rolling .machine-lights i:nth-child(even){animation-delay:.17s}.landed .reel-window{animation:reel-land .3s ease-out}.slots-ready .reel-window{border-color:#f2d578}
@keyframes reel-rush{from{transform:translateY(-44px);filter:blur(2px)}to{transform:translateY(46px);filter:blur(2px)}}@keyframes bulb-flash{to{opacity:.3}}@keyframes reel-land{40%{transform:translateY(5px);filter:brightness(1.3)}}
.slots-shell .expedition-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;color:#a6c0df;font-size:9px;letter-spacing:1px}.slots-shell .speed-control{background:#061a30;border:1px solid #64819e;padding:4px;box-shadow:none;color:#c0d0e3;font-size:9px}.slots-shell .speed-control>span{font-size:9px}.slots-shell .speed-chip{background:#0c2847;color:#b9cdea;border:0;min-width:28px;padding:6px}.slots-shell .speed-chip.active{background:#e9c354;color:#061a30}
.slots-shell .pixel-dialog,.slots-shell .biome-picker,.slots-shell .lab{background:#061d38ef;color:#ecf4ff;border:2px solid #bf9b48;box-shadow:inset 0 0 0 3px #153b60,3px 5px #06142888}.slots-shell .pixel-dialog{padding:35px 24px}.slots-shell .pixel-dialog p{color:#b7d1f2}.slots-shell .btn{font-family:inherit;font-size:12px}.slots-shell .btn.primary{background:#f1cc58;border:2px solid #ffeb9b;color:#071b37;text-shadow:none;box-shadow:3px 4px #695020}.slots-shell .btn.ghost{color:#dbeaff;border-color:#627d9f;background:#133557}
.slot-service{text-align:center;min-height:590px}.slot-service h2{font-size:25px;color:#ffe290}.slot-service p{color:#bad2ef;font-size:14px;line-height:1.6;margin:15px auto 22px;max-width:360px}.slot-service footer{color:#96b5d9;font-size:11px;margin-top:35px}.slot-shop-art{margin:35px auto 20px}.slot-shop-art .ui-sprite{width:140px;height:140px;object-fit:contain;filter:drop-shadow(0 0 25px #47baf17a)}
.slots-shell .biome-picker header{padding:24px 12px}.slots-shell .biome-picker header h1{color:#ffe497;font:900 24px 'Trebuchet MS',sans-serif;letter-spacing:0}.slots-shell .biome-picker header .eyebrow{color:#0b213a;background:#f9d670}.slots-shell .biome-picker header p{color:#b9cfe9;font-size:12px}.slots-shell .biome-picker-card{background:#09294a;border-color:#7191ad;box-shadow:3px 4px #05182d;color:#eef3ff}.slots-shell .biome-copy{background:#082341;color:#e9f1ff}.slots-shell .biome-copy strong{font:800 15px 'Trebuchet MS',sans-serif;color:#ffe498}.slots-shell .biome-copy small{color:#89e3ad}.slots-shell .biome-copy>span{color:#9cbedc}.slots-shell .biome-picker footer{color:#bfd2ed;border-color:#4f7097;font-size:11px}.slots-shell .lab{margin-bottom:14px;padding:10px;font-size:11px}.slots-shell .lab select{color:#f4e4b4;background:#132b4a}.slots-shell .showdown-battle{border-color:#c1a050}.slots-shell .battle-commandbar,.slots-shell .battle-actions{background:#071e3a;color:#d8e9fe}.slots-shell .battle-commandbar .eyebrow{color:#ffe590}
/* Side panels keep their existing slots, click handlers and drag targets. */
.slots-shell .team-rail{display:block;height:auto;max-height:none;overflow:visible}
.slots-shell .team-heading{height:auto;min-height:0;border-right:0}
.slots-shell .member .info{display:block}
.slots-shell .inventory-panel{order:0}
.slots-shell .bag-slot{width:100%;min-width:0;max-width:100%}
.slots-shell .team-rail{position:sticky;top:16px;width:100%;margin:0;padding:13px 10px 12px;background:linear-gradient(#102e50,#03172e);border:3px solid #d7b653;outline:2px solid #041126;box-shadow:inset 0 0 0 3px #06192d,0 6px #05101ea3;color:#e9f2ff;align-self:start}
.slots-shell .team-heading{padding:3px 3px 13px;border-bottom:2px solid #6c8bab;display:grid;grid-template-columns:1fr auto;gap:6px;margin:0 0 12px;color:#ffdf86}.slots-shell .team-heading strong{font-size:18px;letter-spacing:.5px}.slots-shell .team-heading span{font-size:15px;color:#d4e9ff}.slots-shell .team-heading small{grid-column:1/-1;color:#7fa6cb;font-size:9px;letter-spacing:.5px}
.slots-shell .team-list{display:grid;grid-template-columns:1fr;gap:10px;padding:0;margin:0;overflow:visible}.slots-shell .member{position:relative;display:flex;align-items:center;width:100%;min-height:91px;margin:0;padding:10px 8px 10px 3px;gap:2px;background:linear-gradient(130deg,#153655,#061b35);border:1px solid #6088b1;outline:0;box-shadow:inset 0 0 0 2px #03172e,2px 3px #020e23;color:#edf4ff;transform:none}.slots-shell .member:hover{border-color:#f3d475;background:#163b5f}.slots-shell .member .team-portrait{position:static;width:59px;min-width:59px;height:65px;padding:0;margin:0;display:grid;place-items:center;border:0;border-radius:0;background:none;box-shadow:none;transform:none}.slots-shell .team-portrait:before,.slots-shell .team-portrait:after{display:none}.slots-shell .member .team-portrait .pixel{position:static;width:76px;height:76px;max-width:none;object-fit:contain;transform:none;filter:drop-shadow(2px 3px #0005)}
.slots-shell .member .info{min-width:0;flex:1;padding:0;margin:0}.slots-shell .member-title{display:block;margin:0 0 7px}.slots-shell .member-title h3{font:800 13px 'Trebuchet MS',sans-serif;color:#f0f6ff;white-space:normal;overflow-wrap:anywhere;line-height:1.2;padding:0}.slots-shell .member-title>strong{font-size:9px;color:#9bbce0;display:block;margin-top:3px}.slots-shell .member-health{display:flex;align-items:center;gap:4px;font-size:9px;color:#cfe5fb;margin:0 0 4px}.slots-shell .member-health strong{font-size:10px;font-weight:500}.slots-shell .member-health em{margin-left:auto;color:#ffdf7b;background:#06172a;padding:2px 3px;font-style:normal;font-size:8px}.slots-shell .member .hp{height:7px;border:1px solid #95c8dc;background:#06192d;box-shadow:none}.slots-shell .member .hp span{background:#23d76d}.slots-shell .member .hp.low span{background:#f4716b}.slots-shell .member .slot{position:absolute;top:4px;right:5px;color:#5f87aa;font-size:8px}.slots-shell .member .drag-grip{position:absolute;bottom:1px;right:3px;color:#7391b0;font-size:11px}.slots-shell .member.empty{width:100%;height:65px;min-height:65px;display:flex;justify-content:center;gap:12px;border:1px dashed #4b7297;color:#8eadcb;background:#061a32}.slots-shell .member.empty .empty-ball{font-size:24px;width:auto;height:auto;background:none;border:0;color:#b9cce2}.slots-shell .member.empty small{font-size:10px}.slots-shell .member.fainted{opacity:.58}
.slots-shell .inventory-panel{position:sticky;top:16px;padding:10px;background:linear-gradient(#102d4a,#051a32);border:3px solid #d7b653;outline:2px solid #041126;box-shadow:inset 0 0 0 3px #06192d,0 6px #05101ea3;color:#d9eaff;width:100%;max-width:none}.slots-shell .bag-head{padding:9px 4px 12px;margin:0;border:0;border-bottom:2px solid #5e83a5;background:none;box-shadow:none}.slots-shell .bag-title strong{font-size:16px;color:#ffdf86}.slots-shell .bag-head-gold{color:#ffdf76;background:#071b31;border:1px solid #756e43;padding:4px;gap:3px;font-size:10px}.slots-shell .bag-head .bag-gold-icon{width:20px;height:20px;object-fit:contain;filter:drop-shadow(0 1px 1px #000a)}.slots-shell .bag-tabs{gap:6px;margin:11px 0}.slots-shell .bag-tabs button{padding:9px 5px;background:#0b2848;border:1px solid #476e95;box-shadow:none;color:#9dbbd9;font-size:10px}.slots-shell .bag-tabs button.active{background:#f2ce61;border-color:#fff0aa;color:#092440}.slots-shell .bag-tabs small{font-size:10px;margin-top:5px}.slots-shell .bag-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:7px;border:1px solid #486d90;background:#04172d;box-shadow:inset 0 0 0 2px #0f3152}.slots-shell .bag-slot{background:#0b2845;border:1px solid #31587d;box-shadow:inset 2px 2px #041a32,inset -2px -2px #183a5b;aspect-ratio:1;min-height:0;padding:2px}.slots-shell .bag-slot:empty:after{background:#2b5376;width:4px;height:4px}.slots-shell .bag-slot.filled{background:#244966;border-color:#92a784}.slots-shell .bag-slot .pixel,.slots-shell .bag-slot .item-sprite{width:100%;height:100%;object-fit:contain}.slots-shell .bag-slot small{font-size:6px}.slots-shell .bag-stats{margin:9px 0;padding:10px 8px;border:1px solid #668295;background:#081c34;color:#dcecff;font-size:10px}.slots-shell .bag-stats strong{color:#ffe488}.slots-shell .active-passives{margin:12px 0 0;background:#092a3c;border:1px solid #527f82;box-shadow:none;padding:0;color:#d9ffde}.slots-shell .active-passives>header{padding:12px 8px;background:#0c3544;border:0;border-bottom:1px solid #416573}.slots-shell .active-passives header strong{color:#ffdd7b;font-size:12px}.slots-shell .active-passives header small{background:#f0cf66;color:#072338;font-size:10px}.slots-shell .passive-list{padding:10px;gap:8px}.slots-shell .passive-empty{font-size:10px;line-height:1.5;color:#7faaa9}.slots-shell .passive-item{background:#092039;border:1px solid #42667b}.slots-shell .passive-item small{font-size:8px;color:#d2e5f5}
@media(min-width:1450px){.slots-shell{grid-template-columns:260px minmax(0,1fr) 260px}.slots-shell .run-layout{grid-template-columns:minmax(0,1fr)}.reel-window{height:405px}.reel-focus{inset:80px 0 65px}.reel-pokemon{height:155px}.reel-pokemon .pixel{width:178px;height:178px}.reel-name{font-size:21px}.slots-shell .member{min-height:99px}.slots-shell .member .team-portrait{width:68px;min-width:68px}.slots-shell .member-title h3{font-size:15px}}
@media(max-width:1100px){.slots-shell{grid-template-columns:196px minmax(0,1fr) 194px;gap:14px 12px;width:calc(100% - 28px);margin-top:14px}.slots-shell .run-layout{grid-template-columns:minmax(0,1fr);gap:12px}.slots-shell .game-topbar{padding:10px}.expedition-brand strong{font-size:25px}.expedition-brand .item-sprite{width:30px;height:30px}.slots-shell .expedition-id strong{font-size:16px}.slots-shell .topbar-balance{font-size:15px}.expedition-progress{gap:15px}.biome-identity{min-width:190px;max-width:280px}.biome-identity strong{font-size:15px}.progress-copy{padding:9px}.progress-copy strong{font-size:12px}.track-stop{max-width:38px}.journey-track{padding:6px 8px;min-width:150px}.slot-machine{padding:12px 10px}.machine-title>.item-sprite{width:22px;height:22px}.machine-title h1{font-size:16px}.machine-title small{font-size:9px;letter-spacing:1px}.machine-title p{font-size:10px}.encounter-reels{gap:7px;padding:6px}.reel-window{height:310px;border-width:3px}.reel-focus{inset:55px 0 45px;gap:8px}.reel-pokemon{height:110px}.reel-pokemon .pixel{width:123px;height:123px}.reel-name{font-size:15px}.reel-types .type{font-size:8px!important;padding:2px 4px}.reel-details{font-size:9px;gap:3px}.reel-battle{font-size:11px}.reel-battle:disabled{font-size:8px}.machine-controls{grid-template-columns:28px minmax(0,1fr) 24px;gap:9px;padding:3px 0 10px}.spin-emblem .item-sprite{width:32px;height:32px}.encounter-spin{font-size:17px;gap:8px}.encounter-spin small{font-size:8px;letter-spacing:.3px}.machine-lever{transform:scale(.8);transform-origin:left bottom}.slots-shell .member-title h3{font-size:12px}.slots-shell .member .team-portrait{min-width:49px;width:49px}.slots-shell .member .team-portrait .pixel{width:66px;height:66px}.slots-shell .member-health{gap:2px;font-size:8px}.slots-shell .member-health em{font-size:7px}.slots-shell .team-heading strong{font-size:16px}.slots-shell .bag-title strong{font-size:13px}.slots-shell .inventory-panel{padding:8px}}
@media(max-width:900px){.slots-shell{grid-template-columns:180px minmax(0,1fr)}.slots-shell .inventory-panel{grid-column:1/-1}.slots-shell .inventory-panel{position:relative;top:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.slots-shell .inventory-panel .bag-head{grid-column:1/-1}.slots-shell .inventory-panel .bag-tabs{grid-column:1}.slots-shell .inventory-panel .bag-grid{grid-column:1;grid-row:3/5}.slots-shell .inventory-panel .bag-stats{grid-column:1;margin:0}.slots-shell .inventory-panel .active-passives{grid-column:2;grid-row:2/5;margin:0}.progress-copy small{display:none}.progress-copy strong{white-space:normal}.biome-identity{max-width:235px}.slots-shell .game-topbar{grid-template-columns:1fr 1fr}.slots-shell .expedition-id{grid-column:1/-1;grid-row:2;padding-top:8px;border-top:1px solid #516889;display:flex;justify-content:center;align-items:center;gap:18px}.slots-shell .expedition-id strong{font-size:14px}.slots-shell .expedition-id span{font-size:10px}.expedition-progress{gap:12px}.track-boss{display:none}.journey-track{min-width:130px;gap:4px}.journey-track:before{right:0}.track-stop{max-width:32px;font-size:11px}.track-stop.caught:after{width:6px;height:6px;top:-3px;right:-3px}.slots-shell .member-health em{display:none}.slots-shell .expedition-footer>span{display:none}.slots-shell .expedition-footer{justify-content:flex-end}.reel-window{height:345px}}
@media(max-width:620px){.slots-shell{display:flex;flex-direction:column;width:calc(100% - 20px);margin:10px auto 24px;gap:14px}.slots-shell .game-topbar{width:100%;order:0;gap:10px;padding:10px 8px}.expedition-brand strong{font-size:22px}.expedition-brand .item-sprite{width:26px;height:26px}.slots-shell .topbar-balance{font-size:13px;padding:6px}.slots-shell .run-nav button{font-size:10px;padding:8px}.slots-shell .run-nav .danger{padding:7px}.slots-shell .game-top-actions{gap:7px}.slots-shell .expedition-id strong{font-size:12px}.slots-shell .expedition-id span{font-size:9px;letter-spacing:2px}.expedition-progress{width:100%;order:1;flex-wrap:wrap;padding:0 2px;gap:10px}.biome-identity{max-width:none;min-width:0;flex:1}.biome-identity>img{width:45px;height:45px}.biome-identity strong{font-size:14px}.biome-identity small{font-size:8px}.progress-copy{max-width:122px}.progress-copy strong{font-size:11px}.journey-track{order:3;flex-basis:100%;margin:0 10px}.track-stop{max-width:30px}.journey-track{padding:6px}.slots-shell .team-rail{position:relative;top:0;order:3;padding:10px}.slots-shell .game-stage{order:2}.slots-shell .inventory-panel{order:2}.slots-shell .team-list{grid-template-columns:1fr 1fr}.slots-shell .team-heading{grid-template-columns:1fr auto}.slots-shell .team-heading small{grid-column:auto}.slots-shell .team-heading span{grid-column:2;grid-row:1}.slots-shell .member .team-portrait{width:52px;min-width:52px}.slots-shell .member.empty{height:91px}.slots-shell .run-layout{gap:16px}.slot-machine{padding:10px 8px}.machine-title{padding:12px 4px}.machine-title h1{font-size:14px}.machine-title small{font-size:8px}.machine-title>.item-sprite{width:22px;height:22px}.reel-window{height:288px}.reel-focus{inset:45px 0 38px;gap:7px}.reel-pokemon{height:102px}.reel-pokemon .pixel{width:114px;height:114px}.reel-name{font-size:14px}.reel-types{gap:2px}.reel-types .type{font-size:7px!important;padding:2px}.reel-types .type-sprite{width:9px;height:9px}.reel-details{font-size:8px;flex-wrap:wrap}.reel-details>span+span{padding-left:3px}.encounter-reels{gap:6px;padding:5px;margin-bottom:12px}.reel-battle{font-size:10px;padding:10px 1px}.reel-battle:disabled{font-size:7px}.machine-controls{grid-template-columns:23px minmax(0,1fr) 22px;gap:7px}.encounter-spin{font-size:17px;padding:10px 5px}.encounter-spin:disabled{font-size:14px}.spin-emblem .item-sprite{width:26px;height:26px}.machine-status{font-size:10px}.center-stop{padding:8px;gap:7px}.center-stop b{font-size:8px}.center-stop strong{font-size:10px}.center-stop small{font-size:9px}.slots-shell .inventory-panel .bag-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.slots-shell .inventory-panel{grid-template-columns:1.3fr 1fr}.slots-shell .bag-title strong{font-size:17px}.slots-shell .expedition-footer{margin-top:12px}.slot-service{min-height:480px}.slots-shell .biome-picker header h1{font-size:19px}}
@media(prefers-reduced-motion:reduce){.slots-shell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Progress panel doubles as a rotating tips "TV": status first, then gameplay tips. */
.progress-copy{position:relative;overflow:hidden}.tv-live{position:absolute;top:9px;right:10px;width:7px;height:7px;border-radius:50%;background:#5ee06a;box-shadow:0 0 6px #5ee06a;animation:tv-live-blink 1.6s ease-in-out infinite}@keyframes tv-live-blink{50%{opacity:.25}}.progress-copy.tv-flip{animation:tv-flip .35s ease}@keyframes tv-flip{0%{opacity:0;transform:translateY(-5px)}100%{opacity:1;transform:translateY(0)}}

/* Animated pixel-art night sky (biome picker). Stars twinkle in steps, grass sways. */
.slots-shell.night:before{display:none}
.night-sky{position:fixed;inset:0;z-index:-3;overflow:hidden;pointer-events:none;background:linear-gradient(180deg,#05061f 0,#0a0f36 34%,#111a4d 56%,#182660 72%,#1b2c5e 86%,#14204a 100%)}
.night-sky span{position:absolute;display:block}
.night-stars,.night-stars-2,.night-stars-3{inset:-40px -40px 22% -40px;background-repeat:repeat}
.night-stars{background-image:radial-gradient(#ffffff 0 1.1px,transparent 1.3px);background-size:74px 63px;background-position:12px 8px;opacity:.9;animation:star-blink-a 4.2s steps(2,end) infinite}
.night-stars-2{background-image:radial-gradient(#cfe2ff 0 1px,transparent 1.2px);background-size:109px 91px;background-position:41px 24px;opacity:.75;animation:star-blink-b 5.6s steps(2,end) infinite}
.night-stars-3{background-image:radial-gradient(#9fb8ff 0 .9px,transparent 1.1px);background-size:157px 133px;background-position:14px 62px;opacity:.55;animation:star-blink-c 7.3s steps(2,end) infinite}
@keyframes star-blink-a{50%{opacity:.42}}
@keyframes star-blink-b{50%{opacity:.3}}
@keyframes star-blink-c{50%{opacity:.75}}
.night-moon{top:11%;right:13%;width:5px;height:5px;background:#f7f2cd;box-shadow:-15px -30px 0 0 #f7f2cd,-10px -30px 0 0 #f7f2cd,-5px -30px 0 0 #f7f2cd,0px -30px 0 0 #f7f2cd,5px -30px 0 0 #f7f2cd,10px -30px 0 0 #f7f2cd,-25px -25px 0 0 #f7f2cd,-20px -25px 0 0 #f7f2cd,-15px -25px 0 0 #f7f2cd,-10px -25px 0 0 #f7f2cd,-5px -25px 0 0 #f7f2cd,0px -25px 0 0 #f7f2cd,5px -25px 0 0 #f7f2cd,10px -25px 0 0 #f7f2cd,15px -25px 0 0 #f7f2cd,20px -25px 0 0 #f7f2cd,-25px -20px 0 0 #f7f2cd,-20px -20px 0 0 #f7f2cd,-15px -20px 0 0 #f7f2cd,-10px -20px 0 0 #f7f2cd,-5px -20px 0 0 #f7f2cd,0px -20px 0 0 #f7f2cd,5px -20px 0 0 #f7f2cd,10px -20px 0 0 #f7f2cd,15px -20px 0 0 #f7f2cd,20px -20px 0 0 #f7f2cd,-30px -15px 0 0 #f7f2cd,-25px -15px 0 0 #f7f2cd,-20px -15px 0 0 #f7f2cd,-15px -15px 0 0 #f7f2cd,-10px -15px 0 0 #f7f2cd,-5px -15px 0 0 #f7f2cd,0px -15px 0 0 #f7f2cd,5px -15px 0 0 #f7f2cd,10px -15px 0 0 #f7f2cd,15px -15px 0 0 #f7f2cd,20px -15px 0 0 #f7f2cd,25px -15px 0 0 #f7f2cd,-30px -10px 0 0 #f7f2cd,-25px -10px 0 0 #f7f2cd,-20px -10px 0 0 #f7f2cd,-15px -10px 0 0 #f7f2cd,0px -10px 0 0 #f7f2cd,5px -10px 0 0 #f7f2cd,10px -10px 0 0 #f7f2cd,15px -10px 0 0 #f7f2cd,20px -10px 0 0 #f7f2cd,25px -10px 0 0 #f7f2cd,-30px -5px 0 0 #f7f2cd,-25px -5px 0 0 #f7f2cd,-20px -5px 0 0 #f7f2cd,-15px -5px 0 0 #f7f2cd,-5px -5px 0 0 #f7f2cd,0px -5px 0 0 #f7f2cd,5px -5px 0 0 #f7f2cd,10px -5px 0 0 #f7f2cd,15px -5px 0 0 #f7f2cd,20px -5px 0 0 #f7f2cd,25px -5px 0 0 #f7f2cd,-30px 0px 0 0 #f7f2cd,-25px 0px 0 0 #f7f2cd,-20px 0px 0 0 #f7f2cd,-15px 0px 0 0 #f7f2cd,-10px 0px 0 0 #f7f2cd,-5px 0px 0 0 #f7f2cd,0px 0px 0 0 #f7f2cd,5px 0px 0 0 #f7f2cd,10px 0px 0 0 #f7f2cd,15px 0px 0 0 #f7f2cd,20px 0px 0 0 #f7f2cd,25px 0px 0 0 #f7f2cd,-30px 5px 0 0 #f7f2cd,-25px 5px 0 0 #f7f2cd,-20px 5px 0 0 #f7f2cd,-15px 5px 0 0 #f7f2cd,-10px 5px 0 0 #f7f2cd,-5px 5px 0 0 #f7f2cd,0px 5px 0 0 #f7f2cd,5px 5px 0 0 #f7f2cd,20px 5px 0 0 #f7f2cd,25px 5px 0 0 #f7f2cd,-30px 10px 0 0 #f7f2cd,-25px 10px 0 0 #f7f2cd,-20px 10px 0 0 #f7f2cd,-15px 10px 0 0 #f7f2cd,-10px 10px 0 0 #f7f2cd,-5px 10px 0 0 #f7f2cd,0px 10px 0 0 #f7f2cd,5px 10px 0 0 #f7f2cd,15px 10px 0 0 #f7f2cd,20px 10px 0 0 #f7f2cd,25px 10px 0 0 #f7f2cd,-25px 15px 0 0 #f7f2cd,-20px 15px 0 0 #f7f2cd,-10px 15px 0 0 #f7f2cd,-5px 15px 0 0 #f7f2cd,0px 15px 0 0 #f7f2cd,5px 15px 0 0 #f7f2cd,10px 15px 0 0 #f7f2cd,15px 15px 0 0 #f7f2cd,20px 15px 0 0 #f7f2cd,-25px 20px 0 0 #f7f2cd,-20px 20px 0 0 #f7f2cd,-15px 20px 0 0 #f7f2cd,-10px 20px 0 0 #f7f2cd,-5px 20px 0 0 #f7f2cd,5px 20px 0 0 #f7f2cd,10px 20px 0 0 #f7f2cd,15px 20px 0 0 #f7f2cd,20px 20px 0 0 #f7f2cd,-15px 25px 0 0 #f7f2cd,-10px 25px 0 0 #f7f2cd,-5px 25px 0 0 #f7f2cd,0px 25px 0 0 #f7f2cd,5px 25px 0 0 #f7f2cd,10px 25px 0 0 #f7f2cd;filter:drop-shadow(0 0 18px #ffe9a340)}
.night-moon:after{content:'';position:absolute;left:0;top:0;width:5px;height:5px;box-shadow:-10px -10px 0 0 #ddd3a4,-5px -10px 0 0 #ddd3a4,-10px -5px 0 0 #ddd3a4,10px 5px 0 0 #ddd3a4,15px 5px 0 0 #ddd3a4,10px 10px 0 0 #ddd3a4,-15px 15px 0 0 #ddd3a4,0px 20px 0 0 #ddd3a4}
.night-hills{left:-2%;right:-2%;bottom:96px;height:150px;background:
  repeating-linear-gradient(90deg,#0e1b3d 0 3px,#101e44 3px 6px);
  clip-path:polygon(0 62%,6% 44%,12% 56%,19% 33%,27% 52%,35% 38%,44% 58%,52% 40%,61% 57%,69% 35%,78% 54%,86% 42%,93% 58%,100% 46%,100% 100%,0 100%)}
.night-grass{left:-6%;right:-6%;bottom:0;height:132px}
.night-grass span{left:0;right:0;bottom:0;transform-origin:50% 100%}
.grass-back{height:86px;background:repeating-linear-gradient(90deg,transparent 0 7px,#14361f 7px 13px);animation:grass-sway 7.5s ease-in-out infinite alternate}
.grass-mid{height:62px;background:repeating-linear-gradient(90deg,transparent 0 5px,#1b4a2b 5px 10px);animation:grass-sway 5.8s ease-in-out -1.4s infinite alternate}
.grass-front{height:40px;background:repeating-linear-gradient(90deg,transparent 0 4px,#0c2515 4px 9px);animation:grass-sway 4.6s ease-in-out -.7s infinite alternate}
.grass-floor{height:16px;background:#0a1d11;box-shadow:0 -2px 0 #123021}
@keyframes grass-sway{from{transform:skewX(-3.2deg)}to{transform:skewX(3.2deg)}}
@media(prefers-reduced-motion:reduce){.night-stars,.night-stars-2,.night-stars-3,.night-grass span{animation:none}}

/* Phone-first composition lifted out of the media queries. */
.slots-shell{grid-template-columns:196px minmax(0,1fr) 194px;gap:14px 12px;width:calc(100% - 28px);margin-top:14px}.slots-shell .run-layout{grid-template-columns:minmax(0,1fr);gap:12px}.slots-shell .game-topbar{padding:10px}.expedition-brand strong{font-size:25px}.expedition-brand .item-sprite{width:30px;height:30px}.slots-shell .expedition-id strong{font-size:16px}.slots-shell .topbar-balance{font-size:15px}.expedition-progress{gap:15px}.biome-identity{min-width:190px;max-width:280px}.biome-identity strong{font-size:15px}.progress-copy{padding:9px}.progress-copy strong{font-size:12px}.track-stop{max-width:38px}.journey-track{padding:6px 8px;min-width:150px}.slot-machine{padding:12px 10px}.machine-title>.item-sprite{width:22px;height:22px}.machine-title h1{font-size:16px}.machine-title small{font-size:9px;letter-spacing:1px}.machine-title p{font-size:10px}.encounter-reels{gap:7px;padding:6px}.reel-window{height:310px;border-width:3px}.reel-focus{inset:55px 0 45px;gap:8px}.reel-pokemon{height:110px}.reel-pokemon .pixel{width:123px;height:123px}.reel-name{font-size:15px}.reel-types .type{font-size:8px!important;padding:2px 4px}.reel-details{font-size:9px;gap:3px}.reel-battle{font-size:11px}.reel-battle:disabled{font-size:8px}.machine-controls{grid-template-columns:28px minmax(0,1fr) 24px;gap:9px;padding:3px 0 10px}.spin-emblem .item-sprite{width:32px;height:32px}.encounter-spin{font-size:17px;gap:8px}.encounter-spin small{font-size:8px;letter-spacing:.3px}.machine-lever{transform:scale(.8);transform-origin:left bottom}.slots-shell .member-title h3{font-size:12px}.slots-shell .member .team-portrait{min-width:49px;width:49px}.slots-shell .member .team-portrait .pixel{width:66px;height:66px}.slots-shell .member-health{gap:2px;font-size:8px}.slots-shell .member-health em{font-size:7px}.slots-shell .team-heading strong{font-size:16px}.slots-shell .bag-title strong{font-size:13px}.slots-shell .inventory-panel{padding:8px}
.slots-shell{grid-template-columns:180px minmax(0,1fr)}.slots-shell .inventory-panel{grid-column:1/-1}.slots-shell .inventory-panel{position:relative;top:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.slots-shell .inventory-panel .bag-head{grid-column:1/-1}.slots-shell .inventory-panel .bag-tabs{grid-column:1}.slots-shell .inventory-panel .bag-grid{grid-column:1;grid-row:3/5}.slots-shell .inventory-panel .bag-stats{grid-column:1;margin:0}.slots-shell .inventory-panel .active-passives{grid-column:2;grid-row:2/5;margin:0}.progress-copy small{display:none}.progress-copy strong{white-space:normal}.biome-identity{max-width:235px}.slots-shell .game-topbar{grid-template-columns:1fr 1fr}.slots-shell .expedition-id{grid-column:1/-1;grid-row:2;padding-top:8px;border-top:1px solid #516889;display:flex;justify-content:center;align-items:center;gap:18px}.slots-shell .expedition-id strong{font-size:14px}.slots-shell .expedition-id span{font-size:10px}.expedition-progress{gap:12px}.track-boss{display:none}.journey-track{min-width:130px;gap:4px}.journey-track:before{right:0}.track-stop{max-width:32px;font-size:11px}.track-stop.caught:after{width:6px;height:6px;top:-3px;right:-3px}.slots-shell .member-health em{display:none}.slots-shell .expedition-footer>span{display:none}.slots-shell .expedition-footer{justify-content:flex-end}.reel-window{height:345px}
.slots-shell{display:flex;flex-direction:column;width:calc(100% - 20px);margin:10px auto 24px;gap:14px}.slots-shell .game-topbar{width:100%;order:0;gap:10px;padding:10px 8px}.expedition-brand strong{font-size:22px}.expedition-brand .item-sprite{width:26px;height:26px}.slots-shell .topbar-balance{font-size:13px;padding:6px}.slots-shell .run-nav button{font-size:10px;padding:8px}.slots-shell .run-nav .danger{padding:7px}.slots-shell .game-top-actions{gap:7px}.slots-shell .expedition-id strong{font-size:12px}.slots-shell .expedition-id span{font-size:9px;letter-spacing:2px}.expedition-progress{width:100%;order:1;flex-wrap:wrap;padding:0 2px;gap:10px}.biome-identity{max-width:none;min-width:0;flex:1}.biome-identity>img{width:45px;height:45px}.biome-identity strong{font-size:14px}.biome-identity small{font-size:8px}.progress-copy{max-width:122px}.progress-copy strong{font-size:11px}.journey-track{order:3;flex-basis:100%;margin:0 10px}.track-stop{max-width:30px}.journey-track{padding:6px}.slots-shell .team-rail{position:relative;top:0;order:3;padding:10px}.slots-shell .game-stage{order:2}.slots-shell .inventory-panel{order:2}.slots-shell .team-list{grid-template-columns:1fr 1fr}.slots-shell .team-heading{grid-template-columns:1fr auto}.slots-shell .team-heading small{grid-column:auto}.slots-shell .team-heading span{grid-column:2;grid-row:1}.slots-shell .member .team-portrait{width:52px;min-width:52px}.slots-shell .member.empty{height:91px}.slots-shell .run-layout{gap:16px}.slot-machine{padding:10px 8px}.machine-title{padding:12px 4px}.machine-title h1{font-size:14px}.machine-title small{font-size:8px}.machine-title>.item-sprite{width:22px;height:22px}.reel-window{height:288px}.reel-focus{inset:45px 0 38px;gap:7px}.reel-pokemon{height:102px}.reel-pokemon .pixel{width:114px;height:114px}.reel-name{font-size:14px}.reel-types{gap:2px}.reel-types .type{font-size:7px!important;padding:2px}.reel-types .type-sprite{width:9px;height:9px}.reel-details{font-size:8px;flex-wrap:wrap}.reel-details>span+span{padding-left:3px}.encounter-reels{gap:6px;padding:5px;margin-bottom:12px}.reel-battle{font-size:10px;padding:10px 1px}.reel-battle:disabled{font-size:7px}.machine-controls{grid-template-columns:23px minmax(0,1fr) 22px;gap:7px}.encounter-spin{font-size:17px;padding:10px 5px}.encounter-spin:disabled{font-size:14px}.spin-emblem .item-sprite{width:26px;height:26px}.machine-status{font-size:10px}.center-stop{padding:8px;gap:7px}.center-stop b{font-size:8px}.center-stop strong{font-size:10px}.center-stop small{font-size:9px}.slots-shell .inventory-panel .bag-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.slots-shell .inventory-panel{grid-template-columns:1.3fr 1fr}.slots-shell .bag-title strong{font-size:17px}.slots-shell .expedition-footer{margin-top:12px}.slot-service{min-height:480px}.slots-shell .biome-picker header h1{font-size:19px}
/* Phone-first composition: the narrow breakpoints above now apply at every width, */
/* with the whole game centred inside a phone-sized column. */
.slots-shell{width:calc(100% - 24px);max-width:600px;margin:14px auto 30px;gap:12px}
.slots-shell>*{width:100%}
.slots-shell .game-topbar{order:0}
.slots-shell .game-stage{order:1}
.slots-shell .team-rail{order:2;max-height:none;overflow:visible}
.slots-shell .inventory-panel{order:3}
.menu-page .main,.menu-page .menu-top{width:calc(100% - 24px);max-width:600px;margin-left:auto;margin-right:auto}
.modal{width:min(600px,calc(100% - 20px))}
.overlay{padding:12px}

/* Readability pass: the phone rules assume a high-DPI handset, so the tiniest type gets bumped. */
.machine-title small{font-size:11px}
.machine-title h1{font-size:19px}
.machine-title p{font-size:12px}
.reel-name{font-size:16px}
.reel-details{font-size:11px}
.reel-battle{font-size:13px}
.reel-battle:disabled{font-size:10px}
.machine-status{font-size:12px}
.center-stop strong{font-size:12px}
.center-stop small,.center-stop b{font-size:11px}
.progress-copy strong{font-size:13px}
.progress-copy small{font-size:11px;display:block}
.biome-identity small{font-size:10px}
.biome-identity strong{font-size:16px}
.slots-shell .bag-stats,.slots-shell .bag-tabs button{font-size:11px}
.slots-shell .bag-slot small{font-size:8px}
.slots-shell .member-title h3{font-size:13px}
.slots-shell .member-health{font-size:10px}
.slots-shell .active-passives header strong{font-size:12px}
.slots-shell .passive-item small{font-size:9px}
.slots-shell .expedition-id strong{font-size:15px}
.slots-shell .expedition-id span{font-size:11px}
