.tool-result-head{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.tool-results-item{flex-wrap:wrap;justify-content:space-between;align-items:center}.tool-results-name{min-height:var(--touch-min);font-weight:var(--weight-semibold);align-items:center;display:inline-flex}.tool-results-empty{color:var(--text-muted)}.grid-form-row{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr));display:grid}.grid-member{align-items:flex-start;gap:var(--space-1);padding:var(--space-3);border:var(--hairline) solid var(--rule);border-radius:var(--radius-m);flex-direction:column;display:flex}.grid-member-moves,.grid-fixed{color:var(--text-muted);font-size:var(--text-s)}.grid-builds{gap:var(--space-1);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.grid-scenarios{border-collapse:collapse;font-variant-numeric:tabular-nums}.grid-scenarios th,.grid-heat th{color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold)}.grid-scenarios th,.grid-scenarios td{padding:var(--space-1);text-align:center}.grid-scenario{min-width:4.5rem;min-height:var(--touch-min);padding:var(--space-1) var(--space-2);border:var(--hairline) solid var(--rule);border-radius:var(--radius-m);background:var(--surface);color:var(--text);font:inherit;font-weight:var(--weight-bold);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;display:inline-flex}.grid-scenario[aria-pressed=true]{border-color:var(--rule-strong);box-shadow:inset 0 0 0 var(--hairline) var(--rule-strong);background:var(--surface-sunk)}.grid-scenario-wins{color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold)}.grid-heat-wrap{overflow-x:auto}.grid-heat{border-collapse:collapse;font-size:var(--text-s);font-variant-numeric:tabular-nums}.grid-heat caption{padding-bottom:var(--space-2);text-align:left}.grid-heat th,.grid-heat td{padding:var(--space-1);text-align:center;white-space:nowrap}.grid-heat-corner{text-align:left}.grid-cell{border-radius:var(--radius-s);background:var(--surface-sunk);min-width:3rem;min-height:2rem;font-weight:var(--weight-bold);justify-content:center;align-items:center;display:inline-flex}.grid-cell[data-result=win]{background:color-mix(in srgb, var(--win) var(--grid-mix,0%), var(--surface))}.grid-cell[data-result=loss]{background:color-mix(in srgb, var(--loss) var(--grid-mix,0%), var(--surface))}.iv-sweep-entries,.iv-sweep-list{margin:0;padding:0;list-style:none}.iv-sweep-entry,.iv-sweep-moves{align-items:flex-end}.iv-sweep-input{gap:var(--space-6)}.iv-sweep-input>.ui-fieldset{gap:var(--space-4)}.iv-sweep-rating{white-space:nowrap}.iv-sweep-rating[data-outcome=win]{font-weight:var(--weight-semibold)}.iv-sweep-rating[data-outcome=loss]{color:var(--danger)}.tournament-roster{gap:var(--space-0);flex-direction:column;display:flex}.tournament-roster-name{align-items:center;gap:var(--space-2);font-weight:var(--weight-semibold);display:inline-flex}.tournament-roster-members{color:var(--text-muted);font-size:var(--text-s);font-weight:var(--weight-regular)}.tournament-mine>*{background:var(--surface-sunk)}.tournament-pick{white-space:nowrap}.tournament-picks{gap:var(--space-1);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.tournament-picks>li{justify-content:space-between;gap:var(--space-2);flex-wrap:wrap;display:flex}.tournament-opponents{gap:var(--space-2);flex-direction:column;display:flex}.tournament-opponent-grid{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr));display:grid}.tournament-opponent-grid h4{margin:0 0 var(--space-1)}.tournament-facts{gap:var(--space-2);flex-direction:column;margin:0;display:flex}.tournament-facts dd{margin:0}.tournament-cell-battles{color:var(--text-muted);font-size:var(--text-xs);display:block}.matrix-page{gap:var(--space-4);flex-direction:column;display:flex}.matrix-card{min-width:0;padding:var(--space-4);border:var(--hairline) solid var(--rule);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-1)}.matrix-card-head{justify-content:space-between;align-items:flex-end;gap:var(--space-3);flex-wrap:wrap;display:flex}.matrix-card-title,.matrix-section-title{font-size:var(--text-l);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);margin:0}.matrix-view-text{max-width:var(--measure);color:var(--text-muted);font-size:var(--text-s);margin:0}.matrix-link{padding-block:var(--space-1)}.matrix-link-form{gap:var(--space-3);flex-direction:column;display:flex}.matrix-link-form .ui-field{flex:auto}.matrix-saved-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.matrix-setup{gap:var(--space-4);flex-direction:column;display:flex}.matrix-setup-selects,.matrix-side-fill,.matrix-move-grid,.matrix-stat-grid{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(min(10rem,100%),1fr));display:grid}.matrix-stat-grid{grid-template-columns:repeat(auto-fit,minmax(min(7.5rem,100%),1fr))}.matrix-sides{gap:var(--space-3);flex-direction:column;display:flex}.matrix-swap{justify-content:center;display:flex}.matrix-swap .ui-button-icon{rotate:90deg}.matrix-side{gap:var(--space-4);min-width:0;padding:var(--space-4);border:var(--hairline) solid var(--rule);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-1);flex-direction:column;display:flex}.matrix-side-body{gap:var(--space-4);flex-direction:column;min-width:0;display:flex}.matrix-side-head{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.matrix-side-title{font-size:var(--text-l);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);margin:0}.matrix-side-lede,.matrix-side-empty{color:var(--text-muted);font-size:var(--text-s);margin:0}.matrix-side-empty{padding:var(--space-4);border:var(--hairline) dashed var(--rule-strong);border-radius:var(--radius-l)}.matrix-side-count{color:var(--text-muted);font-size:var(--text-s);font-weight:var(--weight-semibold);flex:none}.matrix-members{border:var(--hairline) solid var(--rule);border-radius:var(--radius-l);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.matrix-members-more{margin-top:calc(-1 * var(--space-2));align-self:stretch}.matrix-member{align-items:center;gap:var(--space-3);min-height:calc(var(--touch-min) + var(--space-3));padding:var(--space-1) var(--space-1) var(--space-1) var(--space-3);border-bottom:var(--hairline) solid var(--rule);display:flex;position:relative}.matrix-member:first-child{border-radius:var(--radius-l) var(--radius-l) 0 0}.matrix-member:last-child{border-radius:0 0 var(--radius-l) var(--radius-l);border-bottom:0}.matrix-member:only-child{border-radius:var(--radius-l)}@media (hover:hover){.matrix-member:has(.matrix-member-name:enabled:hover){background:var(--surface-hover)}}.matrix-member:has(.matrix-member-name:enabled:active){background:var(--surface-hover)}.matrix-member-index{min-width:1.5rem;color:var(--text-muted);font-stretch:var(--stretch-condensed);font-weight:var(--weight-bold);flex:none}.matrix-member-main{align-items:center;gap:var(--space-0) var(--space-2);flex-wrap:wrap;flex:auto;min-width:0;display:flex}.matrix-member-name{color:inherit;font:inherit;font-weight:var(--weight-semibold);text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.matrix-member-name:after{content:"";border-radius:inherit;position:absolute;inset:0}.matrix-member-name:focus-visible{outline:none}.matrix-member-name:focus-visible:after{outline:var(--focus-ring);outline-offset:calc(-1 * var(--focus-width))}.matrix-member-name:disabled{cursor:default}.matrix-member-edit-icon{width:1rem;height:1rem;color:var(--text-muted);flex:none;display:none}@media (width>=48rem){.matrix-member-edit-icon{display:block}}.matrix-member-remove{z-index:1;flex:none;position:relative}.matrix-member-types{gap:var(--space-1);display:inline-flex}.matrix-member-sprite{--sprite-size:2.5rem;background:var(--surface-sunk)}.matrix-member[data-empty]{color:var(--text-muted)}.matrix-member-slot{aspect-ratio:1;border:var(--hairline) dashed var(--rule-strong);border-radius:var(--radius-m);flex:none;width:2.5rem}.matrix-member-empty{font-size:var(--text-s);flex:auto}button.matrix-member-empty{color:var(--text)}.matrix-adder-note{margin-top:var(--space-1);display:block}.matrix-member-sub{text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted);font-size:var(--text-xs);flex:1 0 100%;overflow:hidden}.matrix-move-new{padding:0 var(--space-1);border-radius:var(--radius-s);background:var(--info-bg);box-shadow:inset 0 0 0 var(--hairline) var(--rule-strong);color:var(--text);font-weight:var(--weight-semibold);text-decoration:none}.matrix-move-was{margin-left:var(--space-2)}.matrix-move-was>del{text-decoration-thickness:var(--hairline)}.matrix-dialog-actions{justify-content:flex-end}.matrix-run{bottom:calc(var(--tab-bar-h) + env(safe-area-inset-bottom,0px) + var(--space-2));z-index:var(--z-sticky);justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-2) var(--space-2) var(--space-4);border-radius:var(--radius-l);background:var(--shell);color:var(--shell-text);box-shadow:var(--shadow-2);display:flex;position:sticky}@media (height<=30rem){.matrix-run{position:static}}.matrix-run-switches{gap:var(--space-3) var(--space-5);grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr));display:grid}.matrix-run-count{font-size:var(--text-s);font-weight:var(--weight-semibold);flex-direction:column;display:flex}.matrix-run-battles{color:var(--shell-text-muted);font-size:var(--text-xs)}.matrix-output{gap:var(--space-4);margin-top:var(--space-4);flex-direction:column;display:flex}.matrix-output:empty{display:none}.matrix-stats .stat-value{align-items:baseline;column-gap:var(--space-1);white-space:normal;flex-wrap:wrap;display:flex}.matrix-stat-name{overflow-wrap:anywhere;min-width:0}.matrix-stats .stat-value .stat-sub{flex:none;margin-left:0}.matrix-card .ui-tabs-bar{--fade-bg:var(--surface);padding:0 0 var(--space-2);-webkit-backdrop-filter:none;background:0 0;justify-content:space-between;margin:0;position:static}.matrix-view-head{justify-content:space-between;align-items:center;gap:var(--space-3);margin:var(--space-3) 0;flex-wrap:wrap;display:flex}.matrix-table-scroll{--matrix-head-w:8rem;overscroll-behavior-x:contain;max-width:100%;scroll-padding:calc(var(--touch-min) + var(--space-3)) 0 0 var(--matrix-head-w);border:var(--hairline) solid var(--rule);border-radius:var(--radius-l);background:var(--surface);overflow:auto}.matrix-table{border-collapse:separate;border-spacing:0;font-size:var(--text-s)}.matrix-table th,.matrix-table td{padding:var(--space-1);border-bottom:var(--hairline) solid var(--rule)}.matrix-table thead th{z-index:2;background:var(--surface-sunk);color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);vertical-align:bottom;text-align:left;position:sticky;top:0}.matrix-table tfoot td,.matrix-table tfoot th{border-top:var(--hairline) solid var(--rule-strong);border-bottom:0}.matrix-corner,.matrix-row-head{border-right:var(--hairline) solid var(--rule);text-align:left;position:sticky;left:0}.matrix-table thead .matrix-corner{z-index:3;padding:var(--space-2) var(--space-3)}.matrix-row-head{z-index:1;min-width:var(--matrix-head-w,8rem);max-width:15rem;padding:var(--space-2) var(--space-3);background:var(--surface)}.matrix-head-text{gap:var(--space-0);flex-direction:column;display:flex}.matrix-head-name{color:var(--text);font-weight:var(--weight-semibold);display:block}.matrix-head-sub{color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-regular);display:block}.matrix-col-head{min-width:5.5rem;max-width:8rem}.matrix-sort{align-items:flex-end;gap:var(--space-1);width:100%;min-height:var(--touch-min);padding:var(--space-1) var(--space-2);border-radius:var(--radius-m);color:var(--text-muted);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;display:flex}.matrix-table th[aria-sort] .matrix-sort{background:var(--surface);color:var(--text)}@media (hover:hover){.matrix-sort:hover{background:var(--surface);color:var(--text)}}.matrix-sort-icon{flex:none;width:.875rem;height:.875rem}.matrix-cell-td{text-align:center}.matrix-cell{width:100%;min-width:4.5rem;min-height:var(--touch-min);padding:0 var(--space-2);border-radius:var(--radius-m);background:var(--surface-sunk);color:var(--text);font:inherit;font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;border:0;justify-content:center;align-items:center;display:inline-flex}button.matrix-cell{cursor:pointer}@media (hover:hover){button.matrix-cell:hover{box-shadow:inset 0 0 0 var(--hairline) var(--rule-strong)}}.matrix-cell[data-result=win]{background:color-mix(in srgb, var(--win) var(--matrix-mix,0%), var(--surface))}.matrix-cell[data-result=loss]{background:color-mix(in srgb, var(--loss) var(--matrix-mix,0%), var(--surface))}.matrix-num{padding:var(--space-2) var(--space-3);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.matrix-foot{vertical-align:top;text-align:center}.matrix-diff-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.matrix-diff-row{gap:var(--space-1);padding:var(--space-2) 0;border-bottom:var(--hairline) solid var(--rule);font-size:var(--text-s);display:grid}.matrix-diff-row:last-child{border-bottom:0}.matrix-diff-group{align-items:flex-start;gap:var(--space-1);color:var(--text-muted);display:flex}.matrix-diff-icon{width:1rem;height:1rem;margin-top:var(--space-0);flex:none}.matrix-diff-group[data-tone=win] .matrix-diff-icon{color:var(--win)}.matrix-diff-group[data-tone=loss] .matrix-diff-icon{color:var(--loss)}.matrix-points,.matrix-scenario-grid{border-collapse:collapse;font-size:var(--text-s);font-variant-numeric:tabular-nums}.matrix-points{width:100%}.matrix-points th,.matrix-points td{padding:var(--space-2) var(--space-3);border-bottom:var(--hairline) solid var(--rule);text-align:left}.matrix-points thead th,.matrix-scenario-grid th{color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold)}.matrix-scenario-grid th,.matrix-scenario-grid td{padding:var(--space-1);text-align:center}.matrix-external{align-items:center;gap:var(--space-2);min-height:var(--touch-min);color:var(--text);font-weight:var(--weight-semibold);display:inline-flex}.matrix-external>svg{width:1rem;height:1rem}.battle-timeline{max-height:24rem;font-size:var(--text-s);flex-direction:column;display:flex;overflow-y:auto}.battle-timeline-row{gap:var(--space-3);padding:var(--space-2) var(--space-3);border-inline-start:3px solid var(--rule-strong);border-bottom:var(--hairline) solid var(--rule);align-items:baseline;display:flex}.battle-timeline-row[data-side="1"]{border-inline-start-color:var(--text-muted);border-inline-start-style:dashed}.battle-timeline-time{min-width:3.5em;color:var(--text-muted);flex:none}.battle-timeline-main{gap:var(--space-1) var(--space-2);flex-wrap:wrap;flex:auto;align-items:center;min-width:0;display:flex}.battle-timeline-name{color:var(--text-muted)}.battle-timeline-row[data-kind=chargedMove] .battle-timeline-main,.battle-timeline-row[data-kind=form] .battle-timeline-main{font-weight:var(--weight-semibold)}.battle-timeline-damage{color:var(--text-muted);flex:none}.matrix-analysis-run{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.matrix-analysis-box{padding:var(--space-4);border:var(--hairline) solid var(--rule);border-radius:var(--radius-l);background:var(--surface-sunk)}.matrix-analysis-box .notice[data-tone=info]{background:var(--surface)}.matrix-analysis-summary{max-width:var(--measure);font-size:var(--text-m);margin:0}.matrix-analysis-heading{margin:0 0 var(--space-2);font-size:var(--text-s);font-weight:var(--weight-semibold);color:var(--text-muted)}.matrix-analysis-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.matrix-analysis-list>li{gap:var(--space-1);max-width:var(--measure);padding:var(--space-2) 0;border-bottom:var(--hairline) solid var(--rule);font-size:var(--text-s);display:grid}.matrix-analysis-list>li:last-child{border-bottom:0}.matrix-analysis-item-head{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.matrix-analysis-pair{gap:var(--space-4);display:grid}.matrix-analysis-meta{font-size:var(--text-xs)}.matrix-analysis-controls{gap:var(--space-2);flex-wrap:wrap;display:flex}.matrix-analysis:focus{outline:none}.matrix-team{gap:var(--space-2);grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr));margin:0;padding:0;list-style:none;display:grid}.matrix-team-slot{gap:var(--space-1);padding:var(--space-3);border:var(--hairline) solid var(--rule);border-radius:var(--radius-l);background:var(--surface);box-shadow:var(--shadow-1);flex-direction:column;display:flex}.matrix-team-role{color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold)}.matrix-team-name{font-size:var(--text-m);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight)}.matrix-team-why{font-size:var(--text-s);line-height:var(--leading-body)}.matrix-peek-role{min-width:5.5rem;color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);flex:none}.matrix-thread{gap:var(--space-4);padding:var(--space-4) 0 0;border-top:var(--hairline) solid var(--rule);flex-direction:column;margin:0;list-style:none;display:flex}.matrix-turn{gap:var(--space-2);flex-direction:column;display:flex}.matrix-turn-question{max-width:min(36rem,85%);padding:var(--space-2) var(--space-3);border:var(--hairline) solid var(--rule);border-radius:var(--radius-l) var(--radius-l) var(--radius-s) var(--radius-l);background:var(--surface);box-shadow:var(--shadow-1);color:var(--text);font-size:var(--text-s);font-weight:var(--weight-medium);overflow-wrap:anywhere;white-space:pre-line;align-self:flex-end;margin:0}.matrix-turn-answer{max-width:var(--measure);font-size:var(--text-s);line-height:var(--leading-body)}.matrix-turn-answer>p,.matrix-turn-answer>ul{margin:0 0 var(--space-2)}.matrix-turn-answer>:last-child{margin-bottom:0}.matrix-turn-answer>ul{padding-left:var(--space-4)}.matrix-follow-up{gap:var(--space-2);padding-top:var(--space-4);border-top:var(--hairline) solid var(--rule);flex-direction:column;display:flex}.matrix-analysis-box>.matrix-thread:first-child,.matrix-analysis-box>.matrix-follow-up:first-child{border-top:0;padding-top:0}.matrix-follow-up .ui-textarea{background:var(--surface)}.matrix-follow-up-actions{justify-content:flex-end;gap:var(--space-2);flex-wrap:wrap;display:flex}.matrix-peek{align-items:flex-start;gap:var(--space-3);min-width:0;padding:var(--space-4);border:var(--hairline) solid var(--rule);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-1);animation:matrix-peek-in var(--dur-base) var(--ease-out);flex-direction:column;display:flex}.matrix-peek-head{align-items:center;gap:var(--space-1) var(--space-2);flex-wrap:wrap;width:100%;display:flex}.matrix-peek-icon{width:1.125rem;height:1.125rem;color:var(--brand-accent);flex:none}.matrix-peek-title{font-size:var(--text-m);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);margin:0}.matrix-peek-summary{max-width:var(--measure);font-size:var(--text-m);line-height:var(--leading-snug);text-wrap:pretty;margin:0}.matrix-peek-list{gap:var(--space-2);font-size:var(--text-s);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.matrix-peek-list>li{align-items:baseline;gap:var(--space-2);display:flex}.matrix-peek>.ui-button{margin-left:calc(-1 * var(--space-3))}@keyframes matrix-peek-in{0%{opacity:0;transform:translateY(4px)}}@media (prefers-reduced-motion:reduce){.matrix-peek{animation:none}}.moveset-score{align-items:center;gap:var(--space-1);font-variant-numeric:tabular-nums;display:inline-flex}.moveset-facts{gap:var(--space-1) var(--space-3);font-size:var(--text-s);margin:0;display:grid}.moveset-facts>dt{font-weight:var(--weight-semibold);color:var(--text-muted)}.moveset-facts>dd{margin:0 0 var(--space-2)}.moveset-facts-score{font-variant-numeric:tabular-nums}.moveset-facts-list{gap:var(--space-2);margin:0;padding:0;list-style:none;display:grid}@media (width>=48rem){.moveset-facts{grid-template-columns:max-content 1fr}.moveset-facts>dd{margin:0}}.moveset-arrow{width:1rem;height:1rem;color:var(--text-muted);flex:none}.moveset-chips{gap:var(--space-1);flex-wrap:wrap;display:inline-flex}.moveset-chip{align-items:center;gap:var(--space-1);padding:var(--space-0) var(--space-2);border:var(--hairline) solid var(--rule);border-radius:var(--radius-pill);background:var(--surface);font-size:var(--text-xs);white-space:nowrap;display:inline-flex}.moveset-chip:before{content:"";background:var(--chip,var(--text-muted));border-radius:50%;width:.5rem;height:.5rem}.moveset-chip[data-fast]{border-color:var(--chip,var(--rule-strong));font-weight:var(--weight-semibold)}.moveset-chips[data-muted] .moveset-chip{color:var(--text-muted);text-decoration:line-through}.moveset-ladder{margin:0}.moveset-ladder svg{width:100%;height:auto;max-height:14rem;display:block}.moveset-even{stroke:var(--rule-strong);stroke-dasharray:4 4}.moveset-line{fill:none;stroke:var(--text-muted);stroke-width:2px}.moveset-dot{stroke:var(--surface);stroke-width:2px;fill:var(--text-muted)}.moveset-dot[data-side=mine],.moveset-legend [data-side=mine]:before{fill:var(--win);background:var(--win)}.moveset-dot[data-side=theirs],.moveset-legend [data-side=theirs]:before{fill:var(--loss);background:var(--loss)}.moveset-value{fill:var(--text);font-size:15px;font-weight:var(--weight-semibold);font-variant-numeric:tabular-nums}.moveset-axis{fill:var(--text-muted);text-anchor:end;font-size:13px}.moveset-ladder g .moveset-axis{text-anchor:middle}.moveset-legend{gap:var(--space-1) var(--space-3);color:var(--text-muted);font-size:var(--text-xs);flex-wrap:wrap;display:flex}.moveset-legend [data-side]:before{content:"";width:.625rem;height:.625rem;margin-right:var(--space-1);vertical-align:middle;border-radius:50%;display:inline-block}.moveset-rounds{gap:var(--space-3);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.moveset-round{gap:var(--space-2);padding:var(--space-2) 0 var(--space-2) var(--space-3);border-left:.1875rem solid var(--loss);font-size:var(--text-s);display:grid}.moveset-round[data-side=mine]{border-left-color:var(--win)}.moveset-change{gap:var(--space-1);display:grid}.moveset-change-who{font-weight:var(--weight-semibold)}.moveset-change-moves{align-items:center;gap:var(--space-1);flex-wrap:wrap;display:flex}.moveset-gain{align-items:center;gap:var(--space-2);font-size:var(--text-xs);font-variant-numeric:tabular-nums;display:flex}.moveset-gain-track{border-radius:var(--radius-pill);background:var(--surface-sunk);flex:none;width:6rem;height:.375rem;overflow:hidden}.moveset-gain-fill{background:var(--loss);height:100%;display:block}.moveset-gain[data-up] .moveset-gain-fill{background:var(--win)}.moveset-candidates>summary{cursor:pointer;color:var(--text-muted);font-size:var(--text-xs)}.moveset-candidates>ul{gap:var(--space-1);margin:var(--space-2) 0 0;padding:0;list-style:none;display:grid}.moveset-candidate{gap:0 var(--space-2);font-size:var(--text-xs);grid-template-columns:minmax(0,1fr) auto;display:grid}.moveset-candidate-name{overflow-wrap:anywhere;grid-column:1/-1}.moveset-candidate-bar{border-radius:var(--radius-pill);background:var(--surface-sunk);align-self:center;height:.5rem;overflow:hidden}.moveset-candidate-bar>span{background:var(--rule-strong);height:100%;display:block}.moveset-candidate[data-chosen] .moveset-candidate-bar>span{background:var(--accent)}.moveset-candidate[data-chosen] .moveset-candidate-name{font-weight:var(--weight-semibold)}.moveset-candidate-score{color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.moveset-grid-wrap{max-width:100%;overflow-x:auto}.moveset-grid{border-collapse:separate;border-spacing:.125rem;font-size:var(--text-xs);font-variant-numeric:tabular-nums}.moveset-grid th{padding:var(--space-1);color:var(--text-muted);font-weight:var(--weight-semibold)}.moveset-cell{min-width:2.5rem;padding:var(--space-1);border-radius:var(--radius-s);text-align:center;background:var(--surface-sunk)}.moveset-cell[data-result=win]{background:color-mix(in srgb, var(--win) var(--matrix-mix,0%), var(--surface))}.moveset-cell[data-result=loss]{background:color-mix(in srgb, var(--loss) var(--matrix-mix,0%), var(--surface))}.moveset-cell[data-flip]{box-shadow:inset 0 0 0 .125rem var(--text);font-weight:var(--weight-bold)}@media (width>=48rem){.matrix-analysis-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.matrix-link-form{flex-direction:row;align-items:flex-start}.matrix-table-scroll{--matrix-head-w:11rem;max-height:75dvh}.matrix-run{bottom:var(--space-3)}.matrix-link-form>.ui-button{margin-top:calc(var(--text-s) * 1.5 + var(--space-1))}.matrix-setup{align-items:flex-start;column-gap:var(--space-5);flex-flow:wrap}.matrix-setup-selects{flex:20rem}.matrix-page .ui-field>.segmented{align-self:flex-start}.matrix-setup>:not(.league-switch,.matrix-setup-selects){flex:1 0 100%}.matrix-sides{align-items:start;column-gap:var(--space-2);grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);display:grid}.matrix-side{grid-row:1/span 2;grid-template-rows:subgrid;row-gap:var(--space-4);display:grid}.matrix-side:first-child{grid-column:1}.matrix-side:last-child{grid-column:3}.matrix-swap{grid-area:1/2;align-self:center}.matrix-swap .ui-button-icon{rotate:none}.matrix-diff-row{gap:var(--space-3);grid-template-columns:minmax(10rem,1fr) minmax(0,2fr) minmax(0,2fr)}}@media (height<=30rem){.matrix-table-scroll{max-height:none}}.team-builder-blocks{align-items:flex-start;gap:var(--space-1);flex-direction:column}.team-builder-blocks>p{flex:none}.team-builder-blocks-head{align-items:flex-start;gap:var(--space-2);margin:0;display:flex}.team-builder-blocks-head>svg{flex:none;width:1rem;height:1rem;margin-top:.2rem}.team-builder-blocks>ul{padding-left:var(--space-4);margin:0}.team-builder-format{color:var(--text-muted);font-size:var(--text-s);margin:0}.team-builder-lede{color:var(--text-muted);margin:0}.team-builder-name{font-weight:var(--weight-semibold)}.team-builder-cp{color:var(--text-muted);font-size:var(--text-xs)}.team-builder-rules{align-items:center;gap:var(--space-1) var(--space-3);color:var(--text-muted);font-size:var(--text-s);flex-wrap:wrap;margin:0;display:flex}.team-builder-issue{align-items:flex-start;gap:var(--space-1);color:var(--warning-text);font-size:var(--text-xs);flex:1 0 100%;display:inline-flex}.team-builder-issue>svg{flex:none;width:.875rem;height:.875rem;margin-top:.125rem}.team-builder-cell{gap:var(--space-0);flex-direction:column;display:flex}.team-builder-cell-head{align-items:center;gap:var(--space-0) var(--space-2);flex-wrap:wrap;display:inline-flex}.team-builder-moves{color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-regular)}@media (width<48rem){.team-builder-cell .team-builder-moves{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}.team-builder-result{gap:var(--space-6)}.team-builder-result>section{gap:var(--space-2)}.team-builder-rating{white-space:nowrap}.team-builder-rating[data-outcome=win]{color:var(--success-text);font-weight:var(--weight-semibold)}.team-builder-rating[data-outcome=loss]{color:var(--danger-text)}.team-builder-grades{gap:var(--space-2);grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr));margin:0;display:grid}.team-builder-grade{align-content:start;align-items:center;gap:var(--space-1) var(--space-3);padding:var(--space-3);border:var(--hairline) solid var(--rule);border-radius:var(--radius-l);background:var(--surface);box-shadow:var(--shadow-1);grid-template-columns:1fr auto;display:grid}.team-builder-grade-title{font-weight:var(--weight-semibold)}.team-builder-grade-value{margin:0}.team-builder-grade-note{color:var(--text-muted);font-size:var(--text-s);grid-column:1/-1;margin:0}
