:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;color:#1d1d1f;background:#f5f5f7;font-synthesis:none;--muted:#6e6e73;--blue:#0071e3;--line:#dedee3}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0;color:inherit;background:transparent}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #74b7ff;outline-offset:4px}button{transition:background .18s,transform .18s}button:active:not(:disabled){transform:scale(.98)}.studio{height:54px;padding:0 24px;border-bottom:1px solid #e6e6ea;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fafafc;font-size:12px;color:var(--muted)}.studio nav{display:flex;background:#e9e9ed;border-radius:9px;padding:3px;gap:2px}.studio nav button{min-width:62px;padding:6px 16px;border-radius:7px;font-size:12px}.studio nav [aria-pressed=true]{background:#fff;color:#1d1d1f;box-shadow:0 1px 4px #00000012}#notes{font-size:12px;min-height:40px}.page{max-width:1080px;margin:auto;padding:28px 40px}.brand{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;letter-spacing:.01em}.brand img{width:21px;height:21px;image-rendering:pixelated}.top{display:flex;justify-content:space-between;align-items:center}.top .quiet{font-size:13px;color:var(--muted)}.eyebrow{font-size:12px;font-weight:600;color:var(--muted);letter-spacing:.07em}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,4vw,46px);font-weight:650;letter-spacing:-.045em;line-height:1.15}h2{font-size:25px;letter-spacing:-.025em}p{color:var(--muted);font-size:14px;line-height:1.7}.primary{background:var(--blue);color:#fff;padding:13px 23px;border-radius:100px;font-weight:600;font-size:14px;min-height:46px}.quiet-link{color:var(--blue);font-size:13px;min-height:44px}.home{min-height:calc(100svh - 54px);height:calc(100svh - 54px);max-height:1000px;position:relative;display:flex;flex-direction:column}.home-core{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:25px 0 10px}.intro{text-align:center}.intro h1{margin:10px 0 12px}.intro p{font-size:15px}.balls{display:flex;justify-content:center;gap:clamp(24px,8vw,100px);padding:42px 0 25px}.ball{display:flex;align-items:center;justify-content:center;position:relative;width:100px;height:100px;border-radius:50%;transition:transform .3s}.ball:hover{transform:translateY(-5px)}.ball img{width:74px;height:74px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 10px 9px #16243416)}.ball[aria-pressed=true]{background:#e5effb;box-shadow:0 0 0 1px #bed8f2}.ball[aria-pressed=true] img{width:85px;height:85px}.reveal{width:min(100%,450px);height:136px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.reveal .hint{color:#85858b;font-size:13px}.name-row{display:flex;align-items:center;justify-content:center;gap:10px}.name-row h2{font-size:24px}.tag{font-size:10px;line-height:1;padding:5px 7px;border-radius:5px;background:#e1eee4;color:#376446;font-weight:600}.tag.fire{background:#f9e6df;color:#934d32}.tag.water{background:#e2ecf9;color:#37638c}.tag.electric{background:#f3ecd1;color:#7b6317}.moves{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}.moves span{font-size:12px;padding:7px 10px;background:#fff;border-radius:7px;color:#4d4d55;border:1px solid #e6e6eb}.home-actions{text-align:center;padding:5px 0 20px}.home-actions .primary{min-width:240px}.home-actions p{margin-top:12px;font-size:11px}.secret{position:absolute;bottom:27px;right:28px;width:50px;height:54px}.secret img{width:34px;height:34px;image-rendering:pixelated;animation:bounce 2.4s infinite}.secret span{position:absolute;right:2px;top:0;color:#ad8500;font-size:17px}@keyframes bounce{0%,75%,100%{transform:translateY(0)}85%{transform:translateY(-7px)}93%{transform:translateY(-2px)}}.route{padding-top:24px}.route-title{display:flex;align-items:end;justify-content:space-between;margin:34px 0 22px}.route-title h1{font-size:32px;margin-top:8px}.badge-count{font-size:13px;color:var(--muted);padding-bottom:4px}.route-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px}.map-card{background:#fff;border:1px solid #e5e5ea;border-radius:18px;overflow:hidden}.map-head{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;font-size:13px;font-weight:600}.map-head button{font-size:12px;color:var(--blue);min-height:35px}.map{height:300px;position:relative;background:#9ad2b1;overflow:hidden}.map svg{width:100%;height:100%;display:block}.location{fill:#fff;stroke:#a84f50;stroke-width:4}.map-path{fill:none;stroke:#fff;stroke-width:5;stroke-dasharray:3 8;stroke-linecap:round;filter:drop-shadow(0 1px 1px #295235)}.map-player{image-rendering:pixelated}.map-caption{display:flex;justify-content:space-between;padding:10px 20px;font-size:11px;color:var(--muted)}.map-caption a{color:var(--muted)}.journey{padding:20px;border-top:1px solid #eeeef1}.steps{display:flex;justify-content:space-between;position:relative;margin:0 0 24px}.steps:before{content:'';position:absolute;height:1px;background:#dedee4;left:18px;right:18px;top:18px}.steps button{position:relative;background:#fff;border:1px solid #dddde3;border-radius:50%;width:36px;height:36px;color:#7b7b82;font-size:16px}.steps button.current{border:1.5px solid var(--blue);color:var(--blue);background:#eef5fe}.steps button.done{color:#58795e}.node-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.node-heading h2{font-size:20px}.node-heading p{font-size:12px;margin-top:5px}.choices{display:flex;gap:8px;margin-top:16px}.choices button{flex:1;text-align:left;padding:13px;border-radius:10px;border:1px solid #dddde3;font-size:12px;display:flex;gap:8px;align-items:center}.choices button[aria-pressed=true]{background:#f0f6ff;border-color:#77aae1;color:#175ca8}.side section{background:#fff;border:1px solid #e5e5ea;border-radius:15px;padding:18px;margin-bottom:14px}.side h3{font-size:14px;margin-bottom:14px}.member{display:flex;align-items:center;gap:12px}.member img{width:48px;height:48px;image-rendering:pixelated}.member b{font-size:14px}.member small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.hp{height:4px;background:#e9e9ec;border-radius:3px;margin-top:9px;width:115px}.hp i{display:block;background:#609875;width:85%;height:4px;border-radius:3px}.bag{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);padding:8px 0}.learn{max-width:670px;min-height:calc(100svh - 54px)}.learn-intro{text-align:center;padding:28px 0 24px}.learn-intro img{width:74px;height:74px;image-rendering:pixelated}.learn-intro h1{font-size:30px;margin:8px 0 10px}.new-move{padding:22px;background:#fff;border-radius:16px;border:1px solid #e4e4e9;margin-bottom:24px}.new-move .name-row{justify-content:space-between;margin-bottom:10px}.new-move h2{font-size:20px}.new-move p{font-size:13px}.section-label{font-size:12px;color:var(--muted);margin-bottom:10px}.skill-list{background:#fff;border:1px solid #e4e4e9;border-radius:16px;overflow:hidden}.skill-option{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;padding:17px 20px;border-bottom:1px solid #ededf1;min-height:64px}.skill-option:last-child{border:0}.skill-option b{font-size:14px;display:block}.skill-option small{color:var(--muted);font-size:11px;display:block;margin-top:4px}.radio{width:19px;height:19px;border:1px solid #bdbdc5;border-radius:50%}.skill-option[aria-pressed=true]{background:#f0f6fe}.skill-option[aria-pressed=true] .radio{border:6px solid var(--blue)}.learn-actions{display:flex;gap:12px;margin-top:22px}.learn-actions button{flex:1}.decline{color:#a44e53;background:#f4e5e6;border-radius:100px;font-size:14px;min-height:46px}.result{text-align:center;padding:60px 0}.result h2{margin-bottom:15px}.result button{margin-top:24px}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:12px;background:#23232bea;color:#fff;font-size:13px;z-index:9;max-width:90vw}dialog{border:1px solid #dddde5;border-radius:22px;width:min(90vw,460px);padding:30px;box-shadow:0 25px 100px #0002}dialog::backdrop{background:#1b23324d;backdrop-filter:blur(5px)}dialog #close{float:right;min-width:30px;min-height:30px}dialog h2{margin:18px 0}dialog p,dialog li{font-size:13px;line-height:1.8;color:var(--muted)}dialog ul{padding-left:18px}dialog a{display:block;font-size:12px;color:var(--blue);margin-top:15px}@media(max-width:700px){.studio{padding:0 14px;gap:8px}.studio>span{font-size:10px}.studio nav button{padding:6px 10px;min-width:45px}.page{padding:22px}.home-core{padding:16px 0 0}.home .top .quiet{display:none}.intro p{font-size:13px}.balls{gap:22px;padding:30px 0 17px}.ball{width:80px;height:80px}.ball img{width:62px;height:62px}.ball[aria-pressed=true] img{width:72px;height:72px}.reveal{height:124px}.home-actions{padding-bottom:56px}.secret{right:13px;bottom:12px}.route-title{margin-top:26px}.route-title h1{font-size:27px}.route-grid{display:block}.map{height:235px}.map-head,.journey{padding:14px}.map-caption{padding:9px 14px}.node-heading .primary{padding:10px 16px}.side{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.side section{padding:14px;margin:0}.side h3{font-size:12px}.member{gap:6px}.member img{width:35px;height:35px}.hp{width:85px}.bag{font-size:12px}.learn-intro{padding:22px 0}.learn-actions{position:sticky;bottom:0;padding:12px 0;background:#f5f5f7}.route .top .quiet{font-size:11px}}@media(max-height:680px){.home .intro h1{font-size:28px;margin:6px 0 7px}.home .intro p{font-size:12px}.home-core{padding:8px 0 0}.balls{padding:15px 0 6px}.reveal{height:105px}.home-actions{padding-bottom:35px}.home-actions p{margin-top:7px}.home{padding-top:15px}.home .ball{width:68px;height:68px}.home .ball img{width:53px;height:53px}.home .ball[aria-pressed=true] img{width:64px;height:64px}.name-row h2{font-size:20px}.moves span{padding:5px 8px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.ball-sprite{display:block;width:64px;height:64px;background:url(assets/ball.png) top center / 100% auto no-repeat;image-rendering:pixelated;filter:drop-shadow(0 8px 7px #16243416)}.ball-sprite.logo{width:18px;height:18px}.secret .ball-sprite{width:30px;height:30px;position:static;animation:bounce 2.4s infinite}.secret>span:not(.ball-sprite){right:2px;top:0}.ball .ball-sprite{position:static}@media(max-width:700px){.ball .ball-sprite{width:56px;height:56px}}@media(max-height:680px){.ball .ball-sprite{width:48px;height:48px}}
.map{height:auto;aspect-ratio:790/330}.map:has(svg[viewBox="0 0 1964 1346"]){aspect-ratio:1964/1346}.location{fill:#ffffff16;stroke:#c45255;stroke-width:5}
/* Selection is an opened Poké Ball, not an unrelated colored disc. */
.ball[aria-pressed=true]{background:transparent;box-shadow:none}.open-ball{position:absolute;inset:-12px;pointer-events:none}.ball[aria-pressed=true] img{position:relative;width:72px;height:72px;transform:translateY(-5px);filter:drop-shadow(0 3px 1px #27354422)}.secret .open-ball{inset:-6px;animation:none}.secret[aria-pressed=true] img{position:relative;z-index:1;transform:translateY(-4px);width:35px;height:35px;animation:none}.secret>span.open-ball{position:absolute;right:-6px;top:-6px;width:auto;height:auto}.moves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:320px;max-width:100%;gap:7px}.moves .move-chip{display:flex;align-items:center;gap:8px;justify-content:flex-start;padding:7px 10px;font-size:12px}.move-chip b{font-weight:500}.move-type{font-size:10px;font-weight:600;line-height:1;flex:0 0 28px;text-align:center;padding:5px 2px;border-radius:4px;background:#e9e9ee;color:#5b5b67}.move-type.grass{background:#e1eee4;color:#376446}.move-type.water{background:#e2ecf9;color:#37638c}.move-type.fire{background:#f9e6df;color:#934d32}.move-type.electric{background:#f3ecd1;color:#7b6317}.reveal{height:154px;gap:11px}@media(max-width:700px){.ball[aria-pressed=true] img{width:62px;height:62px}.open-ball{inset:-9px}.reveal{height:146px}.moves{width:285px}}@media(max-height:680px){.ball[aria-pressed=true] img{width:51px;height:51px}.reveal{height:132px;gap:8px}.moves .move-chip{padding:5px 8px}.moves{gap:5px}.move-type{padding:4px 2px}}
/* Original 16px sprite sheet, second frame: the actual open Poké Ball. */
.open-ball{inset:auto;left:50%;top:50%;width:112px;height:112px;transform:translate(-50%,-50%);background:url(assets/ball.png) center 50% / 100% auto no-repeat;image-rendering:pixelated;filter:none}.ball[aria-pressed=true] img{transform:translateY(-4px);filter:none}.secret>span.open-ball{inset:auto;left:50%;top:50%;width:48px;height:48px;transform:translate(-50%,-50%)}@media(max-width:700px){.open-ball{inset:auto;left:50%;top:50%;width:96px;height:96px}}@media(max-height:680px){.open-ball{width:80px;height:80px}}
.ball[aria-pressed=true] img{width:64px;height:64px;transform:translateY(-1px)}@media(max-width:700px){.ball[aria-pressed=true] img{width:54px;height:54px}}@media(max-height:680px){.ball[aria-pressed=true] img{width:44px;height:44px}}
/* Keep the sprite's native aspect ratio: 20×19 / 19×21 / 20×27. */
.ball[aria-pressed=true] img{width:auto;height:auto;max-width:64px;max-height:64px;object-fit:contain;transform:translateY(-1px)}.balls.four-balls{gap:clamp(24px,5vw,60px)}.awaiting-ball{visibility:hidden}.travelling-ball{position:fixed;z-index:20;pointer-events:none;transform-origin:top left;animation:none!important}.ball.is-open .open-ball{animation:open-in .18s ease-out}.ball.is-open img{animation:partner-in .2s ease-out}@keyframes open-in{from{opacity:.4}to{opacity:1}}@keyframes partner-in{from{opacity:0}to{opacity:1}}@media(max-width:700px){.ball[aria-pressed=true] img{width:auto;height:auto;max-width:54px;max-height:54px}.balls.four-balls{gap:9px}.four-balls .ball{width:62px;height:80px}.four-balls .open-ball{width:80px;height:80px}.four-balls .ball-sprite{width:48px;height:48px}.four-balls .ball[aria-pressed=true] img{max-width:46px;max-height:50px}}@media(max-height:680px){.ball[aria-pressed=true] img{width:auto;height:auto;max-width:44px;max-height:44px}.four-balls .ball{width:60px;height:68px}.four-balls .ball[aria-pressed=true] img{max-width:44px;max-height:44px}}
.ball[aria-pressed=true] img{height:64px;width:auto;max-width:64px;max-height:64px;object-fit:contain}@media(max-width:700px){.ball[aria-pressed=true] img{height:54px;width:auto;max-width:54px;max-height:54px}.four-balls .ball[aria-pressed=true] img{height:50px;width:auto;max-width:46px;max-height:50px}}@media(max-height:680px){.ball[aria-pressed=true] img,.four-balls .ball[aria-pressed=true] img{height:44px;width:auto;max-width:44px;max-height:44px}}
.preparing{height:calc(100svh - 54px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center}.preparing h1{font-size:24px;letter-spacing:-.02em}.preparing p{font-size:13px}.prep-mark{width:24px;height:24px;border:2px solid #d8dce3;border-top-color:#6a7b91;border-radius:50%;animation:prepare-spin 1s linear infinite}@keyframes prepare-spin{to{transform:rotate(360deg)}}
/* Route companions: original sprites, a quiet detail panel and a bounded six-slot roster. */
.party-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.party-heading h3{margin:0}.party-heading>span{font-size:11px;color:var(--muted)}.partner-detail{display:flex;align-items:center;gap:14px;margin:20px 0 16px;min-height:66px}.partner-detail img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}.partner-detail h2{font-size:19px}.partner-detail p,.partner-detail small{font-size:11px;color:var(--muted)}.health-label{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-bottom:6px}.health-label b{font-weight:500;font-variant-numeric:tabular-nums}.party-hp{height:4px;background:#ececf0;border-radius:3px;overflow:hidden}.party-hp i{display:block;height:100%;background:#609875}.party-hp.medium i{background:#b3974c}.party-hp.low i{background:#b96363}.party-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 6px}.party-thumbs button{min-width:0;border:1px solid #e8e8ed;border-radius:10px;padding:7px 6px 9px;background:#fafafc}.party-thumbs button[aria-pressed=true]{border-color:#83add7;background:#eef5fd}.thumb-stage{height:42px;display:flex;align-items:center;justify-content:center;position:relative}.thumb-stage img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}.lead-mark{position:absolute;top:-4px;left:-4px;background:#e5eef9;color:#3c6184;padding:2px 3px;font-size:8px;border-radius:3px}.party-thumbs b{font-size:10px;font-weight:500;display:block;white-space:nowrap;margin:3px 0 7px}.party-panel>.quiet-link{width:100%;text-align:center;margin-top:4px}#party-dialog{width:min(94vw,560px);max-height:90svh;overflow:auto;padding:24px}#party-dialog h2{margin:0;font-size:22px}.party-heading button{width:40px;height:40px}.party-roster{margin:18px 0}.party-roster button{display:flex;align-items:center;gap:14px;width:100%;padding:14px 0;text-align:left;border-bottom:1px solid #e9e9ee}.party-roster img{width:44px;height:44px;object-fit:contain;image-rendering:pixelated}.party-roster button>span{flex:1;min-width:0}.party-roster b{font-size:14px}.party-roster small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin:5px 0}.party-roster em{font-size:10px;color:#43719e;font-style:normal;margin-left:8px}.fixture-note{font-size:11px!important}.move-facts{display:flex;gap:6px 14px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:8px 0}.move-facts b{display:inline;font-size:11px;font-weight:600;color:#55555e}.move-effect{font-size:12px;line-height:1.6;color:#55555e}.damage-note{font-size:11px;line-height:1.5;margin:-2px 0 13px}.skill-option{gap:16px;padding:15px 20px}.skill-option>span:first-child{flex:1}.skill-option .radio{flex-shrink:0}.new-move{margin-bottom:18px}.side .party-panel{padding:18px}.side .bag{min-height:36px}@media(max-width:700px){.side{display:block}.side section+section{margin-top:14px}.side .party-heading h3{font-size:14px}.party-thumbs{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.partner-detail{margin:16px 0}.party-thumbs b{font-size:11px}.thumb-stage{height:40px}.side section{padding:18px}.skill-option{padding:14px}.move-facts{gap:6px 10px}.learn .new-move{padding:18px}.side .bag{display:inline-flex;width:49%;padding-right:16px}}
.learn-intro img{object-fit:contain;width:48px;height:48px}.learn-intro{padding:20px 0}.learn-intro h1{font-size:26px}.learn .learn-actions{position:sticky;bottom:0;background:#f5f5f7;padding:12px 0;margin-top:12px}.learn .new-move .move-facts{font-size:12px}.learn .new-move .move-effect{font-size:12px}.side section.party-panel{margin-bottom:14px}
.node-top{display:flex;align-items:center;justify-content:space-between}.node-top .quiet{font-size:11px;color:var(--muted)}.node-types{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0 30px}.node-types button{padding:10px 14px;border-radius:9px;background:#e9e9ee;font-size:12px}.node-types [aria-pressed=true]{background:#fff;box-shadow:0 1px 5px #0001;color:var(--blue)}.node-title h1{font-size:30px;margin:8px 0 10px}.node-title{margin-bottom:24px}.encounter-grid{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:20px}.encounter-main,.battle-team,.rest-layout,.result-card{background:#fff;border:1px solid #e5e5ea;border-radius:18px;overflow:hidden}.battle-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px}.battle-status b{font-size:15px}.battle-status small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.battle-status>span{color:#a5a5ae;font-size:11px}.battle-status>div:last-child{text-align:right}.battle-placeholder{min-height:240px;display:flex;align-items:center;justify-content:space-around;gap:10px;background:#eef0ed;border-block:1px solid #e5e8e1;padding:20px}.battle-placeholder img{width:60px;height:60px;object-fit:contain;image-rendering:pixelated}.battle-placeholder div{text-align:center;color:#778171;font-size:13px}.battle-placeholder small{display:block;font-size:10px;margin-top:8px}.active-skills{padding:16px 18px}.active-skills>span{font-size:11px;color:var(--muted)}.active-skills>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.active-skills b{font-size:12px;padding:7px 10px;border-radius:7px;background:#f4f4f7;font-weight:500}.encounter-actions{display:flex;gap:10px;flex-wrap:wrap;padding:0 18px 18px;justify-content:center}.secondary{background:#eef0f5;color:#3c5776;min-height:44px;border-radius:100px;padding:10px 16px;font-size:12px}.battle-team{padding:18px}.battle-team h3{font-size:14px}.battle-team p{font-size:10px;margin:5px 0 14px}.battle-team>button{width:100%;display:flex;gap:10px;align-items:center;text-align:left;padding:9px 6px;border-radius:9px}.battle-team>button[aria-pressed=true]{background:#eef5fd}.battle-team img{width:30px;height:30px;object-fit:contain;image-rendering:pixelated}.battle-team b{font-size:12px}.battle-team small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.battle-team em{margin-left:auto;font-size:9px;font-style:normal;color:#3c77ae}.prototype-controls{display:flex;gap:14px;align-items:center;flex-wrap:wrap;border-top:1px solid #dddde4;margin-top:24px;padding-top:10px}.prototype-controls>span{font-size:11px;color:var(--muted)}.rest-layout,.result-card{text-align:center;padding:32px;max-width:720px;margin:auto}.rest-symbol{font-size:36px;color:#6c8d7e;margin:8px 0 20px}.rest-layout h2,.result-card h2{font-size:24px;margin-bottom:14px}.rest-options,.reward-options{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:24px 0}.reward-options{grid-template-columns:repeat(3,1fr)}.option-card{border:1px solid #dedee6;border-radius:12px;padding:20px 14px;font-weight:600;font-size:14px;background:#fafafc;min-height:85px}.option-card span{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:8px}.rest-layout>.primary{margin:20px}.rest-layout .encounter-actions,.result-card .encounter-actions{padding:24px 0 0}.caught-sprite{width:64px;height:72px;object-fit:contain;image-rendering:pixelated;margin:10px auto 24px}@media(max-width:700px){.encounter-grid{display:block}.node-title h1{font-size:27px}.node-types{gap:5px}.node-types button{padding:10px;font-size:11px}.battle-placeholder{min-height:210px;padding:12px}.battle-placeholder img{width:44px;height:44px}.battle-placeholder small{font-size:9px}.battle-team{margin-top:14px;display:grid;grid-template-columns:1fr 1fr;gap:5px}.battle-team h3,.battle-team p{grid-column:1/-1}.rest-layout,.result-card{padding:22px 16px}.rest-options,.reward-options{grid-template-columns:1fr}.option-card{min-height:68px;padding:16px}.encounter-actions .primary{font-size:12px;padding:10px 16px}.battle-status{padding:14px;gap:8px}.battle-status b{font-size:13px}.battle-status small{font-size:10px}}
.sortable-member{border-bottom:1px solid #e9e9ee}.roster-line{display:flex;align-items:center;gap:8px}.party-roster .roster-line>button{flex:1;min-width:0;border:none}.order-buttons{display:flex;gap:4px;flex-shrink:0}.party-roster .order-buttons button{width:38px;height:40px;justify-content:center;padding:0;border:1px solid #e2e3e9;background:#f6f7fa;font-size:17px;border-radius:8px}.ordered-skills{padding:0 0 12px 58px}.ordered-skills>p{font-size:11px;margin-bottom:6px}.ordered-skills>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;padding:4px 0}.party-roster .roster-line b{font-size:13px}@media(max-width:400px){#party-dialog{padding:18px 14px}.roster-line{gap:4px}.party-roster .roster-line>button{gap:7px}.party-roster img{width:32px;height:36px}.party-roster .order-buttons button{width:32px;height:40px}.ordered-skills{padding-left:8px}}
