@import "https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Barlow:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap";:root{color:#e6e9ef;font-synthesis:none;--bg:#101319;--panel:#181d25;--elevated:#202630;--line:#303743;--muted:#8c97a9;--green:#c6f16b;--blue:#70b9ed;--red:#f28d83;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#101319;font-family:Barlow,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{border:1px solid var(--line);color:#dce2ed;cursor:pointer;white-space:nowrap;background:#202630;border-radius:4px;justify-content:center;align-items:center;gap:7px;padding:8px 11px;font-weight:600;transition:background .12s,border-color .12s;display:inline-flex}button:hover{background:#2b3441;border-color:#505c6d}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:3px}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button svg,a svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}h1{letter-spacing:.1px;font-family:Barlow Condensed,sans-serif;font-size:27px}h2{font-size:18px}h3{font-size:14px}label{color:#adb7c6;flex-direction:column;gap:7px;font-size:12px;font-weight:500;display:flex}input,select,textarea{color:#e6eaf1;background:#141922;border:1px solid #363f4e;border-radius:3px;min-width:0;padding:9px 10px}input[type=number]{font-family:IBM Plex Mono,monospace}select{cursor:pointer;width:100%;padding-right:20px}textarea{resize:vertical;width:100%;font-family:IBM Plex Mono,monospace;font-size:12px;line-height:1.6}input[type=checkbox]{accent-color:var(--green);width:14px;height:14px;margin:0;padding:0}input[type=range]{accent-color:var(--green);align-self:center;width:100%;height:4px;padding:0}.primary{background:var(--green);color:#17220b;border-color:var(--green)}.primary:hover{background:#d8ff8a;border-color:#d8ff8a}.icon{background:0 0;min-width:30px;padding:7px}.subtle{color:#aab5c5;background:0 0;border-color:#0000}.subtle:hover,.subtle.active{color:#edf2f9;background:#28313d;border-color:#0000}.muted{color:var(--muted);font-size:12px;line-height:1.6}.danger{color:#f58c84!important}.inline{align-items:center;gap:9px;min-width:0;display:flex}.inline input,.inline select{flex:1;width:100%}.eyebrow{letter-spacing:1.3px;color:#8491a3;font-family:IBM Plex Mono,monospace;font-size:10px;font-weight:500}.p0{color:var(--blue)}.p1{color:var(--red)}.pad{padding:12px}.pad-top{padding-top:12px}.check{white-space:nowrap;cursor:pointer;flex-direction:row;align-items:center;gap:7px;font-size:12px}.app-header{background:#151920;border-bottom:1px solid #2b313c;align-items:center;gap:40px;min-height:60px;padding:0 36px;display:flex}.brand{color:#f0f3f8;align-items:center;gap:12px;display:flex;text-decoration:none!important}.live-dot{background:var(--green);border-radius:50%;width:6px;height:6px;display:inline-block;box-shadow:0 0 0 3px #c6f16b0b}main{max-width:1480px;margin:auto;padding:27px 36px 0}.workspace-actions{align-items:center;gap:7px;display:flex}.workspace-actions button{padding:7px 11px;font-size:12px}.battle-board{border:1px solid var(--line);background:#151a22;border-radius:5px;overflow:hidden}.brand img,.boot-icon{object-fit:contain;width:37px;height:37px}.brand h1{white-space:nowrap;font:600 18px Barlow,sans-serif}.workspace-actions{margin-inline-start:auto}.board-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:14px 16px 16px;display:grid}.team-cards{grid-template-rows:auto auto 1fr auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}.side-label{grid-column:1/-1;align-items:center;gap:7px;min-width:0;display:flex}.side-label h2{margin-inline-end:auto;font:600 20px Barlow,sans-serif}.side-label button{border-color:var(--line);color:#afbbcc;background:0 0;padding:5px 8px;font-size:11px}.side-label .icon{border-color:#0000}.reserves{grid-area:3/1/auto/-1;min-width:0}.reserves h3{color:#a9b5c5;margin:0 0 5px;font:11px IBM Plex Mono,monospace}.reserve-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.reserve{background:#171f29;border:1px solid #353e4b;border-radius:4px;min-width:0;padding:5px}.reserve-set{text-align:left;white-space:normal;overflow-wrap:anywhere;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:4px 5px;display:flex}.reserve-set:disabled{opacity:1}.reserve-set small,.reserve-details small{color:#a9b5c5}.reserve-identity{align-items:center;gap:4px;display:flex}.reserve-identity .sprite{object-fit:contain;flex:0 0 38px;width:38px;height:38px}.reserve-identity small{line-height:1.35;display:block}.reserve-moves{color:#b8c5d6;overflow-wrap:anywhere;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 7px;width:100%;padding:3px 0;font-size:10px;display:grid}.reserve-details summary{cursor:pointer;padding:4px 5px}.reserve-details ul{margin:4px 0 0;padding-left:17px;font-size:11px}.reserve-leads{flex-wrap:wrap;gap:4px;margin-top:3px;display:flex}.reserve-leads button,.add-reserve{padding:5px 7px;font-size:10px}.add-reserve{align-self:start;min-height:34px}.pokemon-card{text-align:left;white-space:normal;color:#dbe2ec;background:#1c222c;border:1px solid #353e4b;border-top:2px solid #5d9bc7;border-radius:4px;flex-direction:column;align-items:stretch;gap:0;min-width:0;padding:0;font-weight:400;display:flex;overflow:hidden}.pokemon-card:hover{background:#222a36;border-color:#627284}.pokemon-card.side-1{border-top-color:#cb766e}.pokemon-card:disabled{opacity:1;cursor:default}.card-top{align-items:center;gap:7px;min-width:0;padding:11px 10px 0;display:flex}.slot-id{color:var(--blue);background:#70b9ed14;border-radius:2px;padding:3px 4px;font:8px IBM Plex Mono,monospace}.side-1 .slot-id{color:var(--red);background:#f28d8314}.card-species{white-space:nowrap;text-overflow:ellipsis;font-family:Barlow Condensed,sans-serif;font-size:17px;font-weight:600;overflow:hidden}.card-top svg{color:#718095;opacity:.7;margin-left:auto}.card-main{align-items:center;gap:4px;min-width:0;height:101px;padding:0 9px;display:flex}.sprite{object-fit:contain;width:96px;height:96px;image-rendering:pixelated;filter:drop-shadow(0 5px 4px #0003);flex-shrink:0}.card-main .sprite{width:87px;max-width:44%;height:88px;margin-left:-6px}.sprite.fallback{color:#98a6b9;border:1px dashed #45536a;justify-content:center;align-items:center;font:24px Barlow Condensed;display:inline-flex}.card-info{flex:1;min-width:0}.types{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.type{text-transform:uppercase;letter-spacing:.1px;color:#fff;background:#687582;border-radius:2px;padding:4px 5px;font-family:IBM Plex Mono,monospace;font-size:8px;line-height:1;display:inline-block}.fire{--type:#e8844c}.water{--type:#579cdb}.grass{--type:#7cae55}.electric{--type:#ceba49}.ice{--type:#63b7b5}.fighting{--type:#c36375}.poison{--type:#a66ac8}.ground{--type:#c89d60}.flying{--type:#8b9dd1}.psychic{--type:#cf7495}.bug{--type:#9ba640}.rock{--type:#a99a6b}.ghost{--type:#7f71b7}.dragon{--type:#6e7fc8}.dark{--type:#7e7b88}.steel{--type:#779fa9}.fairy{--type:#c78bb9}.normal{--type:#9a9da3}.type{background:color-mix(in srgb, var(--type,#88919d) 75%, #26303a)}.ability-name{text-overflow:ellipsis;white-space:nowrap;margin-top:9px;font-size:11px;font-weight:500;display:block;overflow:hidden}.item-name{color:#b5bfce;align-items:center;gap:3px;min-width:0;height:24px;font-size:10px;display:flex}.item-name>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.item-icon{transform-origin:0;flex-shrink:0;margin-right:-3px;transform:scale(.84)}.card-info>small{color:#77869b;font-size:9px}.health{padding:0 11px 11px}.health>div{align-items:baseline;gap:7px;margin-bottom:5px;font-family:IBM Plex Mono,monospace;font-size:10px;display:flex}.health>div>span:first-child{color:#8593a7;font-size:8px}.health>div>span:last-child{color:#91a2b8;margin-left:auto;font-size:9px}.health b{color:#e1e8f0;font-weight:500}.health b small{color:#7b899d;font-size:9px}.health>i{background:#323a47;border-radius:1px;height:4px;display:block;overflow:hidden}.health>i>span{background:#9ec97e;height:100%;transition:width .3s;display:block}.health .mid{background:#d9bd5b}.health .low{background:#dc776a}.card-moves{background:#171d2655;border-top:1px solid #303845;grid-template-columns:1fr 1fr;gap:8px 4px;padding:10px;display:grid}.card-moves>span{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:5px;min-width:0;font-size:10px;display:flex;overflow:hidden}.move-dot{background:var(--type,#9a9da3);border-radius:1px;flex-shrink:0;width:6px;height:6px;display:inline-block}.card-bottom{color:#b8c5d6;border-top:1px solid #2c3542;flex-wrap:wrap;align-items:center;gap:4px;padding:6px 9px;font-size:10px;display:flex}.mon-state-tag{color:#d9ecc1;white-space:nowrap;border:1px solid #60734b;border-radius:3px;padding:2px 4px}.empty-card{background:#191f28;border:1px dashed #445164;justify-content:center;align-items:center;gap:10px;min-height:286px}.empty-card strong{font-size:15px}.empty-card span{color:var(--muted);font-size:11px}.empty-card svg{color:#66798f}.fainted .sprite{filter:grayscale();opacity:.6}.status-badge{text-transform:uppercase;background:#b87944;border-radius:2px;padding:3px;font:8px IBM Plex Mono}.team-conditions,.field-controls{border:1px solid var(--line);border-radius:4px;min-width:0;margin:0;padding:7px 9px 9px}.team-conditions{grid-area:4/1/auto/-1}.field-controls{margin:0 16px 15px}.team-conditions legend,.field-controls legend{color:#d0d8e4;padding:0 5px;font-size:12px;font-weight:600}.team-conditions legend small,.field-controls legend small{color:#a3afbe;margin-left:5px;font-weight:400}.side-durations{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid}.field-effects{grid-template-columns:repeat(2,minmax(0,190px)) minmax(0,90px);gap:13px;display:grid}.field-effect{grid-template-columns:minmax(0,1fr) minmax(56px,.7fr);gap:5px;display:grid}.side-durations label,.field-effects label{font-size:11px}.side-durations input,.field-effects select,.field-effects input{width:100%;min-width:0;height:30px;padding-block:4px;font-size:12px}.turn-setup{color:#aebdce;margin:0 15px 10px;font-size:11px}.turn-setup summary{cursor:pointer}.turn-setup label{width:100px;margin-top:6px}.form-grid{grid-template-columns:1fr 1fr;gap:13px;display:grid}.history-notice{color:#becda7;background:#a8bf6b12;border-top:1px solid #4d5d3d;align-items:center;gap:10px;padding:10px 15px;font-size:11px;display:flex}.history-notice button{background:0 0;margin-left:auto;font-size:11px}.solve-panel{border-top:1px solid var(--line)}.solve-main{align-items:center;gap:22px;padding:3px 16px 14px;display:flex}.segmented{background:#12171f;border:1px solid #394351;border-radius:4px;gap:3px;padding:3px;display:inline-flex}.segmented button{color:#929fb2;background:0 0;border:0;min-width:42px;padding:6px 12px;font:12px IBM Plex Mono}.segmented button.selected{color:#e1edce;background:#3e4d2d;box-shadow:inset 0 0 0 1px #76994c66}.segmented button:hover{background:#2b3542}.solve-context{color:#aebdce;margin-right:auto;font-size:12px}.solve-button{min-width:205px;height:48px;margin-left:auto;font-size:14px;font-weight:700}.solve-button>span{opacity:.5;margin-left:26px;font:16px IBM Plex Mono}.cancel-button{color:#f0b7af;background:#492b2a;border-color:#92564f;min-width:205px;height:48px;margin-left:auto}.solver-settings summary{cursor:pointer;color:#9cabbf;align-items:center;gap:7px;padding:11px 17px;font-size:10px;list-style:none;display:flex}.solver-settings summary>span{color:#75859a;margin-left:auto;font:9px IBM Plex Mono}.solver-settings summary:after{content:"+";color:#8999ad;margin-left:9px;font-size:15px}.solver-settings[open] summary:after{content:"−"}.solver-settings fieldset{border:0;border-top:1px solid #2f3947;margin:0;padding:18px}.settings-grid{grid-template-columns:repeat(4,1fr);gap:15px;display:grid}.solver-settings .muted{margin-top:15px}.solve-progress{background:#1e281c;border-top:1px solid #3c4b32;padding:15px 18px}.solve-progress>div{color:#d0e5b2;align-items:center;gap:8px;font-size:12px;display:flex}.solve-progress>div>span{color:#a7bb93;margin-left:auto;font:11px IBM Plex Mono}.solve-progress progress{width:100%;height:5px;accent-color:var(--green);margin:12px 0 7px}.solve-progress>small{color:#a2b594;font:10px IBM Plex Mono}.results{border:1px solid var(--line);background:#181e27;border-radius:4px;margin-top:22px;overflow:hidden}.results-title{justify-content:space-between;align-items:center;padding:18px 19px 15px;display:flex}.results-title h2{font-family:Barlow Condensed;font-size:22px;font-weight:600}.tag{color:#95a4b8;border:1px solid #394657;border-radius:3px;margin-left:4px;padding:4px 6px;font:8px IBM Plex Mono}.results-title>.muted{font:10px IBM Plex Mono}.value-summary{align-items:center;gap:33px;padding:8px 24px 23px;display:flex}.player-value{min-width:130px}.player-value>span{letter-spacing:.9px;font:9px IBM Plex Mono;display:block}.player-value>strong{margin-top:3px;font:600 38px Barlow Condensed;display:block}.player-value.p1{text-align:right}.value-center{flex:1}.outcome-bar{background:#333d49;border-radius:2px;height:10px;display:flex;overflow:hidden}.outcome-bar i:first-child{background:var(--blue)}.outcome-bar i:nth-child(2){background:#778196}.outcome-bar i:nth-child(3){background:var(--red)}.outcome-labels{color:#a3afbf;justify-content:space-between;margin-top:9px;font:9px IBM Plex Mono;display:flex}.value-center p{text-align:center;color:#7889a0;margin-top:14px;font-size:10px}.quality-strip{background:#141a22;border-top:1px solid #313c4a;border-bottom:1px solid #313c4a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:10px 19px;display:flex}.quality-strip>span{color:#8294ad;align-items:center;gap:6px;font-size:10px;display:flex}.quality-strip>span:first-child{color:#9ebb87}.quality-strip b{color:#b7c3d3;font:500 10px IBM Plex Mono}.tabs{background:#19212b;border-bottom:1px solid #313c4a;gap:12px;padding:0 18px;display:flex}.tabs button{color:#92a0b4;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:14px 4px;font-size:12px}.tabs button.active{color:var(--green);border-bottom-color:var(--green)}.result-toolbar{justify-content:space-between;align-items:center;gap:15px;padding:15px 18px;display:flex}.result-toolbar>.segmented button{min-width:83px;font:11px Barlow}.row-tools{align-items:center;gap:13px;display:flex}.row-tools>input{width:180px;padding:7px 9px;font-size:10px}.row-tools>select{width:135px;padding:7px;font-size:10px}.row-tools .check{font-size:10px}.row-tools>.subtle{padding:5px 7px;font-size:10px}.strategy-head,.strategy-row{grid-template-columns:minmax(0,1fr) 18% 11% 12% 13% 18px;align-items:center;gap:14px;padding:0 20px;display:grid}.strategy-head{color:#7488a3;letter-spacing:1px;background:#141a22;border-top:1px solid #283444;border-bottom:1px solid #2b3747;height:29px;font:8px IBM Plex Mono}.strategy-row{text-align:left;white-space:normal;background:0 0;border:0;border-bottom:1px solid #2c3745;border-radius:0;width:100%;min-height:72px;transition:background .1s}.strategy-row:hover{background:#222c38}.strategy-row:focus-visible{outline-offset:-2px}.strategy-choice{min-width:0}.strategy-choice small{color:#aebdce;margin-top:4px;font-size:10px;display:block}.action-text{flex-direction:column;gap:7px;min-width:0;display:flex}.action-text>span{align-items:center;gap:7px;min-width:0;font-size:11px;display:flex}.action-slot{color:#667d99;text-transform:uppercase;min-width:16px;font:8px IBM Plex Mono}.action-move{white-space:nowrap;text-overflow:ellipsis;max-width:155px;font-weight:500;overflow:hidden}.action-text svg{color:#667890}.target{color:#9babc0;text-overflow:ellipsis;white-space:nowrap;max-width:160px;font-size:10px;overflow:hidden}.mega{color:#e8c5ee;border:1px solid #916494;border-radius:2px;justify-content:center;align-items:center;width:12px;height:12px;margin-left:4px;font:8px IBM Plex Mono;display:inline-flex}.frequency b{color:#d3dfec;margin-bottom:7px;font:500 13px IBM Plex Mono;display:block}.frequency>span{background:#2a3544;border-radius:1px;width:100%;height:4px;display:block;overflow:hidden}.frequency i{background:var(--blue);min-width:1px;height:100%;display:block}.frequency i.p1{background:var(--red)}.ev{color:#cad5e3;font:500 13px IBM Plex Mono}.ev-loss{font-variant-numeric:tabular-nums;color:#aebdce;font-family:inherit;font-size:12px}.ev-loss.gain{color:#a4d57e}.ev-loss.loss{color:#f4a29a}.strategy-worst{color:#aebdce;font-variant-numeric:tabular-nums}.strategy-row .strategy-arrow{color:#667d99;border:0}.strategy-list{max-height:520px;overflow-y:auto}.list-footer{color:#71859f;justify-content:space-between;gap:15px;padding:11px 18px;font-size:9px;line-height:1.6;display:flex}.interpretation{background:#151c26;border-top:1px solid #323e4f;padding:13px 18px}.interpretation summary{cursor:pointer;color:#8a9cb6;align-items:center;gap:6px;font-size:10px;display:flex}.interpretation p{color:#8b9db6;max-width:950px;margin-top:12px;font-size:11px;line-height:1.7}.marginals{grid-template-columns:1fr 1fr;gap:25px;padding:12px 20px 20px;display:grid}.marginals h3{color:#b8c7db}.marginals p{margin:8px 0 14px}.marginal-row{border-bottom:1px solid #344257;justify-content:space-between;gap:12px;padding:12px 0;font-size:11px;display:flex;position:relative}.marginal-row>span{line-height:1.5}.marginal-row b{font:11px IBM Plex Mono}.marginal-row i{background:#7db4e3;height:2px;position:absolute;bottom:0;left:0}.diagnostic{color:#d9bc76;background:#8c733614;align-items:flex-start;gap:15px;padding:25px;display:flex}.diagnostic h3{margin-bottom:9px;font-size:16px}.diagnostic p{color:#b6ac94;font-size:12px;line-height:1.6}.diagnostic span{color:#b1a385;margin-top:12px;font:10px IBM Plex Mono;display:block}.matrix-layout{border-top:1px solid #344155;border-bottom:1px solid #344155;grid-template-columns:minmax(0,1fr) 290px;display:grid}.matrix-scroll{overscroll-behavior:contain;background:#101720;height:410px;position:relative;overflow:auto}.matrix-spacer{min-width:100%;min-height:100%;position:relative}.heat-cell{color:#e2eed8;border:1px solid #10172066;border-radius:0;padding:0;font:9px IBM Plex Mono;transition:none;position:absolute}.heat-cell:hover,.heat-cell.chosen{outline-offset:-2px;z-index:1;outline:2px solid #e1f6bb}.matrix-row-label,.matrix-col-label,.matrix-corner{z-index:2;color:#9badc6;background:#19222f;border-bottom:1px solid #2e3f54;border-right:1px solid #36475f;align-items:center;gap:6px;padding:5px 8px;font:9px IBM Plex Mono;display:flex;position:absolute}.matrix-row-label b{color:#6483ac;font-size:8px;font-weight:500}.matrix-row-label span{white-space:nowrap;text-overflow:ellipsis;font-family:Barlow;font-size:10px;overflow:hidden}.matrix-col-label{flex-direction:column;justify-content:center;gap:5px;padding:5px 0}.matrix-col-label small{color:#6483ac;font-size:7px}.matrix-corner{z-index:3;color:#c0cfe3;justify-content:space-between;font-size:10px}.matrix-corner span{color:var(--red)}.cell-detail{background:#1b2431;border-left:1px solid #344155;padding:18px;overflow:hidden}.cell-detail h3{margin:12px 0 17px;font:500 20px IBM Plex Mono}.cell-detail h3 span{color:#647c9c}.cell-detail .action-text>span{gap:5px;font-size:10px}.cell-detail .target{max-width:83px;font-size:9px}.cell-vs{color:#607b9f;margin:11px 0;padding-left:22px;font:8px IBM Plex Mono}.cell-utility{color:#d2e5ae;margin:18px 0;font:600 31px Barlow Condensed}.cell-utility>small{color:#8a9eb7;margin-top:3px;font:10px Barlow;display:block}.cell-stats{color:#8fa3be;grid-template-columns:1fr auto;gap:11px 6px;margin:18px 0;font-size:9px;display:grid}.cell-stats b{color:#c9d5e4;text-align:right;font:400 9px IBM Plex Mono}.legend{color:#9aaecb;align-items:center;gap:8px;font:10px IBM Plex Mono;display:flex}.legend i{background:linear-gradient(90deg,#753b2e,#57622a,#2c7545);border-radius:2px;width:100px;height:7px}.lock-layout{grid-template-columns:1fr 315px;gap:27px;padding:20px;display:grid}.lock-layout h3{align-items:center;gap:7px;display:flex}.lock-layout section>p{margin:12px 0 18px}.lock-layout .inline>select{width:0;font-size:10px}.lock-layout .inline button{font-size:11px}.lock-row{border-bottom:1px solid #334158;align-items:center;gap:15px;padding:17px 0;display:flex}.lock-row>.action-text{flex:1}.lock-row label{width:60px;font-size:9px}.lock-row input{width:60px;padding:7px;font-size:10px}.lock-row>b{color:#a3bf8c;font:10px IBM Plex Mono}.best-response{background:#131c25;border:1px solid #334a3b;padding:20px}.turn-explorer{border:1px solid var(--line);background:#181e27;border-radius:4px;margin-top:23px}.turn-explorer>header{justify-content:space-between;align-items:center;padding:18px;display:flex}.turn-explorer h2{align-items:center;gap:8px;font-size:16px;display:flex}.turn-explorer h2>svg{color:#8fa5c3}.turn-explorer h2 span{color:#8a9eb8;border:1px solid #344255;border-radius:3px;margin-left:4px;padding:4px 6px;font:8px IBM Plex Mono}.turn-explorer header p{color:#7d92ad;margin-top:7px;font-size:11px}.turn-explorer header button{padding:6px 10px;font-size:10px}.turn-controls{grid-template-columns:1fr 1fr 110px auto;align-items:end;gap:13px;padding:0 18px 18px;display:grid}.turn-controls label{letter-spacing:.4px;font:9px IBM Plex Mono;overflow:hidden}.turn-controls select{color:#c8d3e3;height:35px;font:10px Barlow}.turn-controls input{height:35px;font-size:11px}.slot-choices{gap:5px;min-width:0;display:grid}.replacement-notice{background:#212d23;border:1px solid #5b7049;border-radius:4px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;padding:10px 13px;display:flex}.replacement-choices{border:0;gap:5px;min-width:0;margin:0;padding:4px 0 0;display:grid}.replacement-choices legend{padding:0;font-size:12px;font-weight:600}.replacement-choices button{text-align:left;white-space:normal;justify-content:start;font-size:12px;display:grid}.replacement-choices button[aria-pressed=true]{color:#e2f0ce;background:#293c2a;border-color:#8bac5c}.replacement-choices button small{color:#aebdce;margin-right:4px}.turn-waiting{align-self:center;font-size:12px}.advance-button,.turn-back-button{height:35px;font-size:11px}.advance-button{color:#c6dda9;background:#2f3f2b;border-color:#4d6841}.no-events{color:#617c9d;background:#131a23;border-top:1px solid #2f3b4e;padding:17px;font-size:10px}.battle-log{background:#111923;border-top:1px solid #2f3b4e}.battle-log summary{color:#91a5bf;cursor:pointer;padding:12px 18px;font-size:10px}.battle-log>div{max-height:220px;padding:0 18px 15px;overflow:auto}.battle-log p{color:#a3b4ca;overflow-wrap:anywhere;font:10px/1.8 IBM Plex Mono}.battle-ended{color:#c6dda9;background:#a6c67012;justify-content:space-between;align-items:center;gap:12px;padding:18px;display:flex}.app-footer{color:#61738d;justify-content:space-between;align-items:center;gap:20px;padding:23px 0 24px;font-size:9px;display:flex}.app-footer>span{align-items:center;gap:6px;display:flex}.app-footer button{color:#8c9fb8;background:0 0;border:0;padding:0;font-size:9px}.error{color:#efb4aa;white-space:pre-wrap;overflow-wrap:anywhere;background:#5b2b2933;border:1px solid #844a45;border-radius:3px;align-items:center;gap:10px;margin-top:15px;padding:12px;font-size:12px;line-height:1.6;display:flex}.main-error button{margin-left:auto}.main-error{margin:17px 0}.empty{text-align:center;color:#8b9db6;padding:30px}.toast{color:#253516;z-index:100;background:#d1eeaf;border:1px solid #d0ebae;border-radius:4px;align-items:center;gap:8px;padding:12px 18px;font-size:12px;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 5px 30px #0006}.drawer-backdrop{z-index:30;background:#04080dc4;animation:.12s fade;position:fixed;inset:0}.drawer{background:#191f29;border-left:1px solid #3b4b61;flex-direction:column;width:min(530px,100vw);display:flex;position:absolute;top:0;bottom:0;right:0;box-shadow:-15px 0 70px #0006}.drawer>header,.modal>header{background:#1c2531;border-bottom:1px solid #354154;justify-content:space-between;align-items:center;padding:20px 23px;display:flex}.drawer>header{padding:10px 15px}.drawer>header h2{font-family:Barlow Condensed;font-size:22px}.drawer-body{flex:1;padding:10px 15px 15px;font-size:12px;overflow-y:auto}.editor-identity{align-items:center;gap:7px;margin-bottom:7px;display:flex}.editor-identity>.sprite{width:60px;height:60px}.editor-identity strong{margin-bottom:4px;font-family:Barlow Condensed;font-size:22px;display:block}.editor-battle-state{border:1px solid var(--line);border-radius:4px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:8px;margin:9px 0;padding:7px 8px;display:grid}.editor-battle-state small{color:#a7b4c8;margin-top:4px;display:block}.drawer .picker>label{margin-bottom:4px}.drawer .select-trigger,.drawer select,.drawer input[type=number]{padding-block:5px;font-size:12px}.drawer .preset-box{margin:8px 0;padding:8px}.picker{min-width:0;position:relative}.picker>label{color:#9eb0c8;margin-bottom:7px;font-size:11px}.select-trigger{text-align:left;background:#141c27;border-color:#3a485d;border-radius:3px;justify-content:space-between;width:100%;padding:10px;font-size:12px;font-weight:400}.picker-menu{z-index:10;background:#1c2839;border:1px solid #526984;border-radius:3px;min-width:min(350px,80vw);margin-top:3px;position:absolute;top:100%;left:0;right:0;overflow:hidden;box-shadow:0 14px 35px #000a}.picker .searchbox{color:#8ca3c2;border-bottom:1px solid #3f536d;align-items:center;gap:7px;padding:9px 10px;display:flex}.searchbox input{background:0 0;border:0;outline:none;flex:1;width:100%;padding:3px;font-size:12px}.picker-options{max-height:270px;overflow:auto}.picker-options>button{text-align:left;white-space:normal;background:0 0;border:0;border-radius:0;justify-content:flex-start;gap:10px;width:100%;padding:10px;font-size:11px;display:flex}.picker-options>button.active,.picker-options>button:hover{background:#33475f}.picker-options .sprite{width:38px;height:36px}.picker-options>button>span:not(.type){flex:1;min-width:0}.picker-options strong{font-weight:500;display:block}.picker-options small{color:#97acc8;margin-top:4px;font-size:10px;font-weight:400;line-height:1.5;display:block}.picker-options .type{text-align:center;width:50px;min-width:50px;padding:5px;font-size:7px}.picker-hint{color:#7f98b9;border-top:1px solid #3c506c;padding:8px 10px;font:8px IBM Plex Mono;display:block}.preset-box{background:#29362455;border:1px solid #46553b;border-radius:3px;margin:16px 0;padding:13px}.preset-box>label{color:#acbf95;letter-spacing:1px;margin-bottom:8px;font:8px IBM Plex Mono}.preset-box select{font-size:11px}.preset-box p{color:#8ca377;margin-top:9px;font-size:10px;line-height:1.7}.preset-box small{color:#7f9271;font-size:9px;display:block}.preset-box a{color:#b8cf93}.preset-box svg{vertical-align:middle}.drawer h3{color:#d5deeb;justify-content:space-between;align-items:baseline;margin:13px 0 7px;font-size:14px;display:flex}.drawer h3>span{color:#7c92b1;font-size:10px;font-weight:400}.move-editors{grid-template-columns:1fr 1fr;gap:8px 10px;display:grid}.move-editor{min-width:0}.move-editor>small{color:#7e95b2;margin-top:5px;font-size:9px;line-height:1.6;display:block}.move-editor:nth-child(2n) .picker-menu{left:auto;right:0}.drawer .form-grid{gap:8px;margin-top:8px}.stat-table{margin:8px 0 5px}.stat-head{color:#667f9f;justify-content:space-between;margin-bottom:9px;padding-right:4px;font:8px IBM Plex Mono;display:flex}.stat-head>span:nth-child(2){margin-left:-150px}.stat-row{grid-template-columns:34px 53px 1fr 37px;align-items:center;gap:12px;padding:3px 0;display:grid}.stat-row strong{color:#9db0cb;font:11px IBM Plex Mono}.stat-row input[type=number]{text-align:center;padding:6px 4px;font-size:12px}.stat-row b{text-align:right;color:#d3e2bf;font:12px IBM Plex Mono}.drawer details{border-top:1px solid #35445a;margin-top:10px;padding-top:8px}.drawer details>summary{color:#a4b6cf;cursor:pointer;font-size:11px}.drawer details .muted{margin-top:15px;font-size:10px}.drawer footer,.modal footer{background:#1c2633;border-top:1px solid #394b63;justify-content:flex-end;align-items:center;gap:8px;padding:15px 22px;display:flex}.drawer footer{padding:9px 15px}.drawer footer>.danger{margin-right:auto;font-size:11px}.drawer footer>.primary{padding:11px 16px;font-size:12px}.spread{color:#99afcc;border-bottom:1px solid #324158;justify-content:space-between;gap:14px;padding:12px 0;font:9px IBM Plex Mono;display:flex}.spread b{color:#bfcca8;font-weight:400}.modal{color:#d7e3f2;background:#192331;border:1px solid #4b617e;border-radius:5px;width:min(560px,100vw - 30px);max-height:90vh;padding:0;box-shadow:0 20px 90px #0009}.modal.wide{width:min(740px,100vw - 30px)}.modal::backdrop{background:#05090fc9}.modal>header{z-index:3;padding:16px 21px;position:sticky;top:0}.modal>header h2{font-size:18px}.modal-body{padding:20px}.modal-body>.muted{margin-bottom:15px}.modal-body>button{margin-top:15px}.modal-body h3{justify-content:space-between;margin:20px 0 12px;display:flex}.import-confirm{white-space:normal;margin:13px 0 8px;font-size:11px}.roster{grid-template-columns:1fr 1fr;gap:8px;display:grid}.roster button{text-align:left;background:#131e2d;border:1px solid #3c5270;justify-content:flex-start;min-width:0;font-size:12px}.roster button.selected{background:#31402a;border-color:#b9d88f}.roster .sprite{width:50px;height:50px}.roster small{color:#91a8c9;margin-top:5px;font-size:10px;font-weight:400;display:block}.roster svg{color:#c6e3a0;margin-left:auto}.saved-row{border-top:1px solid #384c68;align-items:center;gap:10px;padding:13px 0;display:flex}.saved-row>span{flex:1;font-size:12px}.saved-row small{color:#849ebf;margin-top:5px;font-size:10px;display:block}.saved-row button{font-size:10px}.file-button{cursor:pointer;border:1px dashed #526a8b;flex-direction:row;justify-content:center;align-items:center;margin-top:20px;padding:15px;font-size:12px;display:flex}.file-button input{display:none}.prose p{color:#9db0ca;margin-bottom:15px;font-size:12px;line-height:1.8}.prose b{color:#d3dfed}.prose>a{font-size:12px}.boot{flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100vh;display:flex}.boot p{color:#96accb;align-items:center;gap:8px;font-size:13px;display:flex}.boot h1{font-size:30px}.boot code{font-size:15px}.spin{animation:1.1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade{0%{opacity:0}to{opacity:1}}@media (width>=1450px){.card-species{font-size:20px}.card-main .sprite{width:100px;height:96px}.card-moves>span{font-size:11px}.card-info>small{font-size:10px}.ability-name{font-size:12px}}@media (width<=1100px){.app-header{gap:25px;padding:0 22px}main{padding:23px 22px 0}.board-cards{gap:22px}.team-cards{gap:7px}.card-species{font-size:16px}.card-main{gap:0;padding:0 5px}.card-main .sprite{width:72px;max-width:40%;height:78px;margin-left:-3px}.card-info .type{padding:3px;font-size:7px}.card-info .types{gap:3px}.card-main{height:90px}.card-moves{grid-template-columns:1fr;gap:6px;padding:8px 10px}.card-moves>span{font-size:10px}.row-tools{gap:7px}.row-tools>input{width:130px}.row-tools>select{width:120px}.strategy-head,.strategy-row{grid-template-columns:minmax(0,1fr) 16% 11% 12% 14% 18px;gap:12px}.matrix-layout{grid-template-columns:minmax(0,1fr) 270px}.app-footer>span:last-child{display:none}.results-title>.muted{font-size:9px}.quality-strip{gap:9px}.quality-strip>span{font-size:9px}}@media (width<=760px){.app-header{gap:16px;height:64px;padding:0 15px}.brand{gap:8px}main{padding:12px 10px 0}.workspace-actions{gap:3px}.workspace-actions button{gap:0;min-width:28px;padding:6px;font-size:0}.workspace-actions button svg{width:14px}.brand h1{font-size:15px}.brand img{width:29px;height:29px}.board-cards{grid-template-columns:1fr;gap:16px;padding:10px}.team-cards{grid-template-rows:auto auto auto auto}.team-cards+.team-cards{border-top:1px solid var(--line);padding-top:10px}.field-controls{margin-inline:10px}.field-effects{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.field-effects>.number-field{max-width:80px}.card-top{gap:5px;padding:9px 9px 0}.card-species{font-size:19px}.card-main{gap:0;height:96px;padding:0 6px}.card-main .sprite{width:85px;max-width:46%;height:90px}.card-info .type{font-size:7px}.ability-name{font-size:10px}.item-name{gap:0;font-size:9px}.item-icon{margin-right:-5px;transform:scale(.7)}.card-info>small{font-size:8px}.card-moves{grid-template-columns:1fr;gap:7px;padding:9px}.card-moves>span{font-size:10px}.card-bottom{padding:6px 8px;font-size:9px}.history-notice{flex-wrap:wrap;padding:10px;font-size:10px}.history-notice>svg{display:none}.history-notice>span{flex:1;line-height:1.5}.history-notice button{white-space:normal;max-width:100px;font-size:9px}.solve-main{flex-wrap:wrap;gap:10px;padding:2px 13px 13px}.solve-button,.cancel-button{min-width:135px;height:38px}.solve-button>span{margin-left:auto;position:absolute;right:30px}.solver-settings summary{padding:11px 13px;font-size:9px}.solver-settings summary>span{display:none}.settings-grid{grid-template-columns:1fr 1fr;gap:13px}.solver-settings fieldset{padding:13px}.results-title{align-items:flex-start;gap:7px;padding:14px 12px}.results-title h2{font-size:20px}.results-title .tag{display:none}.results-title .inline{gap:6px}.results-title>.muted{text-align:right;max-width:120px;font-size:8px;line-height:1.7}.value-summary{flex-wrap:wrap;gap:15px;padding:5px 13px 16px}.player-value{flex:1;min-width:90px}.player-value>span{letter-spacing:.6px;font-size:8px}.player-value>strong{font-size:33px}.value-center{order:3;min-width:100%;margin-top:0}.value-center p{margin-top:10px;font-size:9px}.outcome-labels{font-size:8px}.outcome-bar{height:7px}.quality-strip{grid-template-columns:1fr 1fr;gap:10px 5px;padding:10px 12px;display:grid}.quality-strip>span,.quality-strip b{font-size:8px}.tabs{gap:8px;padding:0 9px}.tabs button{gap:5px;padding:13px 3px;font-size:10px}.tabs button>svg{width:12px}.result-toolbar{flex-wrap:wrap;align-items:flex-start;gap:10px;padding:12px}.row-tools{flex-wrap:wrap;gap:10px;width:100%}.row-tools>input{flex:1;width:130px}.row-tools>select{width:120px}.row-tools .subtle{margin-left:auto}.result-toolbar>.segmented button{min-width:80px}.strategy-head,.strategy-row{grid-template-columns:minmax(0,1fr) 47px 38px 44px 47px;gap:5px;padding:0 8px}.strategy-head{letter-spacing:0;font-size:7px}.strategy-head>span:last-child,.strategy-row .strategy-arrow{display:none}.strategy-row{min-height:66px}.strategy-row>.ev-loss,.strategy-worst{font-size:9px}.action-text>span{flex-wrap:nowrap;gap:4px;font-size:10px}.action-slot{min-width:12px;font-size:7px}.action-move{max-width:90px;font-size:10px}.action-text .target{max-width:61px;font-size:8px}.action-text svg{width:8px}.frequency b,.ev{font-size:10px}.frequency>span{height:3px}.strategy-row .strategy-arrow{min-width:20px;padding:2px}.list-footer{flex-direction:column;gap:5px;padding:10px 12px;font-size:8px}.interpretation{padding:12px}.interpretation p{font-size:10px}.matrix-layout{grid-template-columns:1fr}.matrix-scroll{height:325px}.cell-detail{border:0;border-top:1px solid #344155;padding:15px}.cell-detail>.action-text{vertical-align:top;width:45%;display:inline-flex}.cell-vs{text-align:center;width:10%;margin:0;padding:0;display:inline-block}.cell-detail h3{margin:8px 0 15px;font-size:17px}.cell-detail .action-text .target{max-width:62px}.cell-utility{margin:17px 0;font-size:29px}.cell-stats{gap:9px;font-size:9px}.cell-stats b{font-size:9px}.cell-detail>.cell-utility{vertical-align:top;margin-right:22px;display:inline-block}.cell-detail>.cell-stats{width:65%;margin-bottom:0;display:inline-grid}.result-toolbar h3{font-size:12px}.result-toolbar>.check{font-size:10px}.result-toolbar>.legend{font-size:8px}.result-toolbar .muted{font-size:10px}.legend i{width:65px}.marginals{grid-template-columns:1fr;gap:20px;padding:12px}.marginal-row{font-size:10px}.lock-layout{grid-template-columns:1fr;gap:20px;padding:13px}.lock-row{gap:7px}.lock-row input{width:47px;font-size:9px}.lock-row label{width:47px}.best-response .action-move{max-width:150px}.best-response .target{max-width:130px}.turn-explorer>header{align-items:flex-start;gap:12px;padding:14px 12px}.turn-explorer h2{gap:5px;font-size:15px}.turn-explorer h2>span{display:none}.turn-explorer header p{font-size:10px;line-height:1.5}.turn-explorer header .inline{flex-direction:column;gap:5px}.turn-explorer header button{min-width:65px;padding:5px;font-size:9px}.turn-controls{grid-template-columns:1fr 1fr;gap:13px;padding:0 12px 13px}.turn-controls>label:nth-child(-n+2){grid-column:span 2;font-size:8px}.turn-controls>label select{font-size:10px}.turn-controls .number-field{font-size:9px}.turn-controls button{margin-top:auto}.app-footer{align-items:flex-start;gap:15px;padding:20px 1px}.app-footer>span{flex-wrap:wrap;font-size:8px;line-height:1.8}.app-footer>span:nth-child(2){text-align:right;justify-content:flex-end;max-width:150px}.app-footer b{font-size:6px}.drawer-body{padding:12px 17px 20px}.drawer>header{padding:16px 17px}.drawer h3{font-size:13px}.drawer h3 span{font-size:9px}.stat-row{grid-template-columns:30px 48px 1fr 30px;gap:8px}.drawer footer{gap:5px;padding:13px 15px}.drawer footer .primary{padding:11px;font-size:11px}.drawer footer .danger{font-size:10px}.modal-body{padding:17px}.roster{grid-template-columns:1fr}.modal .check{font-size:10px}.modal footer{padding:14px}.modal footer button{font-size:11px}.picker-menu{min-width:min(320px,85vw)}.move-editors{gap:15px 10px}.form-grid{gap:13px 10px}.drawer .form-grid{margin-top:15px}.toast{text-align:left;width:max-content;max-width:calc(100vw - 30px);padding:12px 15px;font-size:11px;bottom:15px}.modal h2{font-size:17px}.boot h1{font-size:27px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}.reserves-heading,.reserve-prior,.reserve-prior-candidates,.reserve-prior-candidates>span{align-items:center;gap:8px;display:flex}.reserves-heading,.reserve-prior{flex-wrap:wrap;justify-content:space-between}.reserves-heading>button,.reserve-prior>button{padding:4px 7px;font-size:11px}.reserve-prior{border:1px solid var(--line);background:#191f28;border-radius:4px;margin-top:6px;padding:7px 9px;font-size:11px}.reserve-prior-candidates{flex-wrap:wrap;flex:0 0 100%}.reserve-prior-candidates .sprite,.candidate-grid .sprite,.action-text .sprite{object-fit:contain;flex:0 0 24px;width:24px;height:24px}.candidate-grid,.manual-slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.candidate-grid button{white-space:normal;justify-content:flex-start;min-height:41px}.reserve-dialog fieldset,.manual-outcomes{border:1px solid var(--line);border-radius:4px;min-width:0;padding:10px}.reserve-dialog legend,.manual-outcomes legend{padding:0 5px;font-size:12px}.reserve-weight{grid-template-columns:1fr 56px 45px;align-items:center;gap:6px;margin:5px 0;font-size:12px;display:grid}.reserve-weight input{min-width:0;padding-inline:5px}.reserve-weight>span:last-child{text-align:end}.reserve-dialog .muted{font-size:12px}.lineup-confirm{flex-wrap:wrap;align-items:end;gap:10px;padding:0 18px 18px;display:flex}.lineup-confirm label{flex:230px;font-size:12px}.action-text .action-move,.action-text .target{min-width:0}.result-toolbar h3{margin:0;font-size:14px}.strategy-lineup{flex:160px;min-width:0;font-size:11px}.all-actions{text-align:center;padding:9px 16px}.manual-outcomes{grid-column:1/-1}.manual-outcomes>label{max-width:240px;margin-bottom:8px}.manual-slots>div{background:#171d27;border-radius:4px;min-width:0;padding:8px}.manual-slots strong{margin-bottom:6px;font-size:12px;display:block}.manual-slots label{margin-bottom:5px}.manual-outcomes>small{margin-top:7px;display:block}.turn-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 128px 88px auto}.turn-navigation{grid-column:-2/-1;justify-content:end}@media (width<=760px){.turn-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.turn-navigation{grid-column:1/-1}.action-text .sprite{flex-basis:19px;width:19px;height:19px}}.manual-order{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:8px;margin-bottom:8px;display:grid}.field-and-solve{grid-template-columns:minmax(0,1.3fr) minmax(225px,1fr);align-items:start;gap:14px;padding:0 16px 16px;display:grid}.battle-board .field-and-solve .field-controls{margin:0}.field-and-solve .field-effects{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(64px,.42fr);gap:8px}.field-and-solve .solve-panel{border:1px solid var(--line);border-radius:4px;align-self:stretch;min-width:0;padding:9px}.field-and-solve .solve-main{padding:0}.field-and-solve :is(.solve-button,.cancel-button){width:100%;min-width:0;height:39px}.field-and-solve .solver-settings summary{padding:9px 3px 2px}.field-and-solve .solver-settings .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field-and-solve .solver-settings fieldset{padding:9px 2px 2px}.field-and-solve .solve-progress{padding-inline:1px}.draft-link{color:#bfccdf;white-space:nowrap;font-size:12px}.turn-explorer h2{font-size:19px}.turn-explorer .turn-controls label{letter-spacing:.16px;font-size:11px}.turn-explorer .turn-controls select,.turn-explorer .turn-controls input{font-size:13px}.turn-explorer .turn-controls button,.turn-explorer .battle-log p{font-size:12px}.provisional-note{color:#d0dfb9;background:#a8bf6b12;border-block:1px solid #78985744;padding:10px 18px;font-size:13px}.provisional-note p{color:#b5c3a4;margin:4px 0 0}.lineup-coverage{color:#aebdce;margin:7px 0;padding-left:18px;font-size:12px}@media (width<=760px){.field-and-solve{grid-template-columns:minmax(0,1fr);gap:9px;padding:0 11px 11px}.field-and-solve .field-effects{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(57px,.48fr)}.field-and-solve .field-effect{grid-template-columns:minmax(0,1fr)}.turn-explorer h2{font-size:18px}.turn-explorer .turn-controls select{font-size:12px}}
