/* Character-select stage and shared reference surfaces. */
:root{--lab-yellow:#ffe056;--lab-text:#f4f0f7;--lab-muted:#b3aabe;--lab-line:#ffffff17;--lab-surface:#1c1823}
body{color:var(--lab-text);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;background:#100d15;background-image:radial-gradient(ellipse at 0 15%,#4d142f44,transparent 50%),radial-gradient(ellipse at 100% 0,#162b4b44,transparent 55%)}
main{min-height:75vh}button,input,select{font:inherit}button{cursor:pointer}input,select{color:var(--lab-text);background:#100e17;border:1px solid #ffffff29;border-radius:7px;padding:11px 13px;min-height:44px;max-width:100%}input:focus,select:focus{outline:2px solid var(--lab-yellow);outline-offset:2px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--lab-yellow);outline-offset:5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
h1,h2,h3,p{overflow-wrap:break-word}h1,h2,h3{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:-.04em}h1{font-size:clamp(40px,5vw,76px);line-height:1;margin:10px 0 22px;font-weight:900}h2{font-size:clamp(26px,3vw,38px);line-height:1.15;margin:8px 0 20px}h3{font-size:20px;margin:12px 0}p{line-height:1.65}em{color:var(--lab-yellow);font-style:normal}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:var(--lab-yellow);margin:0 0 10px}.muted,.small{color:var(--lab-muted)}.small{font-size:13px;line-height:1.65}.quiet-link{font-size:13px;color:var(--lab-text);text-underline-offset:5px}.lab-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--lab-yellow);border:1px solid var(--lab-yellow);color:#18121b!important;padding:12px 19px;border-radius:6px;min-height:46px;text-decoration:none;font-weight:800;font-size:14px}.lab-button:hover{background:#ffe987}.lab-wrap{max-width:1360px;margin:auto;padding:26px 32px 70px}.crumbs{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--lab-muted);margin:0 0 25px}.crumbs a{color:var(--lab-muted);text-decoration:none}.crumbs a:hover{color:var(--lab-yellow)}
.select-stage{position:relative;isolation:isolate;overflow:hidden;max-width:1600px;margin:0 auto;padding:30px 42px 25px;min-height:calc(100svh - var(--topbar-height,90px));background:radial-gradient(ellipse at 16% 38%,#b226514d,transparent 48%),radial-gradient(ellipse at 75% 40%,#1469b943,transparent 50%),linear-gradient(135deg,#160d1f80,#10141c66)}.select-stage:before{content:'';position:absolute;z-index:-1;inset:0;opacity:.18;background:repeating-linear-gradient(0deg,transparent 0 4px,#ffffff12 4px 5px);pointer-events:none}.arena-light{position:absolute;z-index:-1;top:-20%;left:50%;width:1px;height:120%;box-shadow:0 0 140px 75px #229de929;transform:rotate(16deg)}.select-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;position:relative;z-index:2}.select-heading h1{font-size:clamp(24px,3vw,44px);font-style:italic;margin:0;letter-spacing:-.04em}.select-heading h1 em{display:inline-block}.fighter-preview{position:relative;height:330px;display:flex;align-items:center;max-width:1100px;margin:10px auto 5px}.fighter-preview>img{position:absolute;left:4%;bottom:-5px;width:310px;height:360px;object-fit:contain;object-position:center top;filter:drop-shadow(0 0 35px #e4386845);mask-image:linear-gradient(#000 75%,transparent);transition:opacity .15s}.preview-copy{position:relative;margin-left:38%;max-width:430px;z-index:1}.preview-copy h2{font-size:clamp(48px,7vw,105px);line-height:.95;font-style:italic;font-weight:950;margin:0 0 10px;text-transform:uppercase}.preview-copy p:not(.eyebrow){font-size:15px;color:#c8bfce;margin:12px 0 20px}.stage-word{position:absolute;right:-5%;font-size:100px;font-style:italic;font-weight:950;writing-mode:vertical-rl;color:#ffffff04;letter-spacing:-.1em;pointer-events:none}.roster-bar{max-width:1130px;margin:0 auto 14px;display:flex;align-items:center;justify-content:space-between;gap:15px}.roster-bar>.eyebrow{margin:0;color:#c5bdcd}.roster-search input{width:220px;font-size:12px;min-height:38px;background:#100d1580}.roster{position:relative;z-index:2;max-width:1130px;margin:auto}.roster-row{display:flex;justify-content:center;gap:7px;margin-bottom:10px}.fighter-tile{position:relative;display:block;flex:0 1 calc((100% - 98px)/15);min-width:0;aspect-ratio: .72;background:linear-gradient(145deg,#393443,#18141e);border:1px solid #ffffff2b;transform:skew(-5deg);text-decoration:none;color:white;transition:transform .14s,border-color .14s,box-shadow .14s;isolation:isolate}.fighter-tile>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 8%;transform:skew(5deg) scale(1.07);clip-path:inset(0);position:absolute;inset:0;z-index:-1}.fighter-tile{overflow:hidden}.fighter-tile:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#09070dcc);z-index:-1}.fighter-name{position:absolute;bottom:3px;left:2px;right:2px;text-align:center;font-size:clamp(8px,.8vw,11px);font-weight:850;text-shadow:0 2px 3px #000;line-height:1.1;transform:skew(5deg)}.fighter-tile:hover,.fighter-tile:focus-visible,.fighter-tile.is-selected{border-color:var(--lab-yellow);box-shadow:0 0 0 2px #ffe05655,0 0 24px #ffe05630;transform:skew(-5deg) translateY(-4px);z-index:3}.fighter-tile:focus-visible{outline-offset:2px}.start-tile{background:linear-gradient(145deg,#ffe056,#c19214);color:#161019;border-color:#ffec99}.start-tile:after{display:none}.question{display:block;text-align:center;font-size:clamp(35px,4vw,61px);font-weight:950;line-height:1.35;transform:skew(5deg)}.start-tile .fighter-name{color:#161019;text-shadow:none;font-size:10px}.roster-bottom{max-width:1130px;margin:18px auto 0;display:flex;justify-content:space-between;gap:15px;color:#978ea2;font-size:10px}.roster.is-searching{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}.roster.is-searching .roster-row{display:contents}.roster.is-searching .fighter-tile{flex:0 0 68px}.select-stage #roster-empty{text-align:center}
.reference-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--lab-line);padding:0 30px 0 0;min-height:255px;overflow:hidden}.reference-head h1{text-transform:uppercase;font-style:italic;margin-bottom:12px}.reference-head>img{height:270px;width:190px;object-fit:cover;object-position:top;mask-image:linear-gradient(#000 65%,transparent)}.reference-head>div{position:relative;z-index:1}.reference-head p{color:var(--lab-muted)}.head-counts{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;margin:20px 0}.head-counts>span{border:1px solid var(--lab-line);border-radius:20px;padding:5px 10px}.head-counts>a{align-self:center}.section-nav{display:flex;flex-wrap:wrap;gap:7px;padding:18px 0;border-bottom:1px solid var(--lab-line)}.section-nav a{color:var(--lab-muted);padding:8px 12px;font-size:13px;text-decoration:none;border-radius:6px;min-height:40px;display:flex;align-items:center}.section-nav a:hover{color:var(--lab-yellow);background:#ffe0560e}.lab-section{padding:38px 0;border-bottom:1px solid var(--lab-line);scroll-margin-top:calc(var(--topbar-height,90px) + 20px)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.section-heading>.muted{font-size:13px}.section-heading h2{margin-bottom:24px}.quick-grid,.combo-grid,.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tool-card,.route-card{border:1px solid var(--lab-line);background:linear-gradient(145deg,#241d2c,#1a1720);border-radius:10px;padding:22px;min-width:0}.tool-card p:not(.eyebrow){font-size:13px;color:var(--lab-muted)}.move-command code{display:block;font-size:23px;color:#fff1b7;font-weight:800;margin:8px 0}.move-command>span{font-size:12px;color:var(--lab-muted)}code{font-family:ui-monospace,Consolas,monospace;overflow-wrap:anywhere}.move-stats{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}.move-stats>span,.tags>span{padding:4px 7px;border:1px solid var(--lab-line);border-radius:4px;font-size:10px;color:#d1c8da}.move-stats>span.risk,.risk{color:#ffa8b6}.tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}.tags>span{color:#d6c87b}.fold{margin:24px 0 0;padding:18px 20px;background:#ffffff03;border:1px solid var(--lab-line);border-radius:9px}.fold>summary{cursor:pointer;font-size:15px;font-weight:750;min-height:30px;line-height:1.7}.fold>summary>span{font-size:12px;font-weight:400;color:var(--lab-muted);margin-left:10px}.fold[open]>summary{margin-bottom:20px}.route-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.route-top .eyebrow{font-size:10px;margin:0;color:#b6a9c4}.favorite{border:0;background:transparent;color:var(--lab-yellow);font-size:27px;line-height:1;width:44px;height:44px;border-radius:6px;flex-shrink:0}.favorite:hover,.favorite[aria-pressed=true]{background:#ffe05615}.starter{font-weight:750;font-size:14px;margin:6px 0 12px}.route{display:block;font-size:15px;line-height:1.85;color:#fff0c3;word-break:normal;overflow-wrap:anywhere}.route-note{border-left:2px solid #ffe05670;padding-left:10px}.source-link{display:inline-block;color:#a295af;font-size:11px;margin-top:14px;text-decoration:none}.filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px}.filter-bar>label:first-child{flex:1;min-width:160px}.filter-bar input{width:100%}.filter-bar select{max-width:260px}.filter-button{border:1px solid var(--lab-line);background:#2b2432;color:var(--lab-yellow);padding:10px 14px;border-radius:6px;min-height:44px}.filter-button[aria-pressed=true]{border-color:var(--lab-yellow)}.combo-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:740px;overflow:auto;padding:3px;overscroll-behavior:contain;scrollbar-color:#66526f #17131d}.combo-library .route-card{padding:16px}.punish-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.punish-panel{background:#1b1721;border:1px solid var(--lab-line);border-radius:9px;padding:20px;min-width:0}.punish-panel h3{font-size:17px;margin-top:0;margin-bottom:18px}.punish-row{display:flex;gap:15px;padding:14px 0;border-top:1px solid var(--lab-line)}.punish-row>div{min-width:0}.window{flex:0 0 40px;font-size:17px;font-weight:850;color:var(--lab-yellow)}.punish-row code{font-size:16px;color:#f3e5fd}.punish-row p{margin:5px 0 0}.scroll-table{max-height:660px;overflow:auto;scrollbar-color:#66526f #17131d;margin-top:15px;border:1px solid var(--lab-line);border-radius:5px;overscroll-behavior:contain}.scroll-table table{border-collapse:collapse;width:100%;font-size:12px}.scroll-table th{position:sticky;top:0;background:#302635;color:#e9dcaa;text-align:left;z-index:1;font-size:11px;letter-spacing:.03em;white-space:nowrap}.scroll-table th,.scroll-table td{padding:13px;border-bottom:1px solid var(--lab-line);vertical-align:top}.scroll-table td:first-child{min-width:150px}.scroll-table td:last-child{min-width:220px}.scroll-table td code{color:#f2e1ff;font-size:14px}.scroll-table td p{margin:6px 0 0}.source-panel{margin-top:38px;border-left:3px solid #ffe05666;padding:5px 22px;font-size:13px;color:var(--lab-muted)}.source-panel h3{color:var(--lab-text)}.source-links{display:flex;flex-wrap:wrap;gap:10px 25px;font-size:12px}.source-links a{color:#cbbbdf}
.general-wrap{max-width:1100px}.general-head{position:relative;padding:50px 0;overflow:hidden}.general-head h1{font-style:italic}.general-head>p:last-child{max-width:470px;color:var(--lab-muted)}.big-question{position:absolute;right:50px;top:-40px;font-size:350px;font-weight:950;color:#ffe0560c;line-height:1;z-index:-1}.lesson-card{display:flex;align-items:center;gap:25px;padding:35px;border:1px solid #ffe05640;border-radius:12px;background:linear-gradient(120deg,#3c2c1e66,#211a2a);text-decoration:none;color:var(--lab-text);margin-bottom:25px}.lesson-card:hover{border-color:var(--lab-yellow)}.lesson-card h2{font-size:30px;margin:8px 0}.lesson-card p:last-child{color:var(--lab-muted);font-size:14px;margin:0}.lesson-number{font-size:48px;font-weight:900;color:#ffe05655;font-style:italic}.lesson-arrow{margin-left:auto;color:var(--lab-yellow);font-size:30px}.lesson-wrap{max-width:1040px}.lesson-head{padding:15px 0 25px}.lesson-head>p{font-size:18px;color:var(--lab-muted)}.lesson-head>.eyebrow{font-size:11px;color:var(--lab-yellow)}.character-picker{margin-top:35px;padding:22px;background:#231d2b;border:1px solid var(--lab-line);border-radius:10px;max-width:610px}.character-picker>label{display:block;font-weight:700;margin-bottom:12px}.character-picker>div{display:flex;gap:10px}.character-picker select{flex:1;min-width:0}.lesson-wrap .lab-section>p{max-width:76ch}.defense-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:28px 0}.defense-card{padding:22px;background:var(--lab-surface);border:1px solid var(--lab-line);border-radius:12px}.defense-card h3{margin-top:18px}.defense-card p{font-size:14px;color:var(--lab-muted)}.guard-diagram{position:relative;height:145px;background:radial-gradient(ellipse at bottom,#363044,transparent 70%);overflow:hidden;border-bottom:1px solid var(--lab-line)}.guard-person{position:absolute;width:30px;height:70px;bottom:0;right:50px;background:#baacd0;border-radius:12px 12px 0 0;transform:skew(-8deg)}.guard-person:before{content:'';position:absolute;width:25px;height:25px;border-radius:50%;background:inherit;left:2px;top:-32px}.guard-person.crouching{height:35px;transform:skew(-25deg);width:46px}.attack{position:absolute;left:10px;font:800 12px system-ui;color:#ffe056;letter-spacing:.1em}.attack.high{top:20px}.attack.mid{top:65px}.attack.low{bottom:10px}.attack.danger{color:#ff889e}.guard-wall{position:absolute;width:4px;height:95px;right:95px;bottom:12px;background:#ffe056;box-shadow:0 0 25px #ffe05680;border-radius:5px}.guard-wall.low-wall{height:45px;bottom:0}.input-demo{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--lab-muted)}.input-demo img,.notation img{object-fit:contain}.lesson-callout{padding:20px;border-left:3px solid var(--lab-yellow);background:#ffe05608;font-size:15px}.lesson-wrap .quick-grid{grid-template-columns:1fr 1fr}.notation-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.notation-grid>div{display:flex;align-items:center;gap:12px;font-size:13px}.practice-route{max-width:750px}.practice-checklist{padding:24px 0}.practice-checklist>label{display:flex;align-items:flex-start;gap:12px;padding:12px 0;font-size:14px}.practice-checklist input{accent-color:var(--lab-yellow);min-height:0;width:20px;height:20px;flex:0 0 20px;margin-top:1px}.practice-checklist label:has(input:checked){color:var(--lab-muted)}
@media(min-width:1800px){.select-stage{min-height:0;padding-bottom:45px}.fighter-preview{height:370px}.fighter-preview>img{height:410px;width:350px}.roster{max-width:1200px}}
@media(max-width:1050px){.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.punish-grid{grid-template-columns:1fr 1fr}.punish-panel:last-child{grid-column:1/-1}.select-stage{padding-inline:25px}.fighter-preview{height:290px}.fighter-preview>img{width:260px;height:310px}.fighter-name{font-size:8px}.roster-row{gap:5px}.fighter-tile{flex-basis:calc((100% - 70px)/15)}.start-tile .fighter-name{font-size:8px}.question{font-size:40px}}
@media(max-width:700px){.lab-wrap{padding:20px 18px 50px}.select-stage{padding:24px 18px}.select-heading{display:block}.select-heading .quiet-link{display:inline-block;margin-top:16px}.select-heading h1{font-size:28px}.fighter-preview{height:245px;margin:15px 0 0}.fighter-preview>img{left:-22px;width:190px;height:255px}.preview-copy{margin-left:43%}.preview-copy h2{font-size:clamp(28px,7vw,48px)}.preview-copy p:not(.eyebrow){font-size:12px;margin:8px 0 12px}.preview-copy .eyebrow{font-size:8px}.preview-copy .lab-button{font-size:11px;padding:10px;min-height:44px}.stage-word{display:none}.roster-bar{display:block;margin-bottom:18px}.roster-bar>.eyebrow{margin-bottom:12px;font-size:10px}.roster-search input{width:100%}.roster{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px 8px}.roster-row{display:contents}.fighter-tile{width:100%;aspect-ratio:.8;transform:skew(-3deg)}.fighter-tile img{transform:skew(3deg) scale(1.04)}.fighter-name{font-size:9px;bottom:4px}.start-tile .fighter-name{font-size:9px}.question{font-size:clamp(32px,9vw,60px);line-height:1.4}.roster.is-searching{display:grid}.roster.is-searching .fighter-tile{width:100%}.roster-bottom{display:block;line-height:1.8;font-size:10px}.roster-bottom>span{display:block}.reference-head{padding-right:0;min-height:225px;position:relative}.reference-head>div{max-width:80%}.reference-head>img{position:absolute;right:-30px;bottom:0;opacity:.3;width:180px;height:245px;z-index:0}.reference-head h1{font-size:46px}.reference-head p{font-size:13px}.head-counts{font-size:11px;gap:8px}.section-nav{gap:0}.section-nav a{font-size:12px;padding:8px 10px}.section-heading{display:block}.section-heading>.muted{display:block;margin:-12px 0 20px;font-size:12px}.lab-section{padding:30px 0}.tool-card,.route-card{padding:17px}.move-command code{font-size:21px}.combo-grid,.combo-library,.tool-grid{grid-template-columns:1fr}.combo-library{max-height:650px}.fold{padding:14px 12px}.fold>summary>span{display:block;margin-left:0}.punish-grid{grid-template-columns:1fr}.punish-panel:last-child{grid-column:auto}.filter-bar>label{flex:1}.filter-bar select{width:100%;max-width:none}.general-head{padding:25px 0}.general-head h1{font-size:clamp(32px,7vw,48px)}.big-question{right:-10px;font-size:250px;top:0}.lesson-card{padding:23px 18px;gap:15px;align-items:flex-start}.lesson-card h2{font-size:24px}.lesson-number{font-size:30px}.lesson-arrow{display:none}.lesson-card .eyebrow{font-size:9px}.lesson-head h1{font-size:48px}.lesson-head>p{font-size:16px}.character-picker{padding:17px}.character-picker>div{flex-wrap:wrap}.character-picker .lab-button{font-size:12px}.defense-card{padding:15px}.guard-person{right:18px}.guard-wall{right:62px}.attack{font-size:10px;left:0}.guard-diagram{height:130px}.defense-card h3{font-size:17px}.defense-card p{font-size:12px}.defense-grid{gap:10px}.lesson-wrap .quick-grid{grid-template-columns:1fr}.source-panel{padding-left:16px}.source-links{display:grid;gap:10px}}
@media(max-width:370px){.roster{grid-template-columns:repeat(4,minmax(0,1fr))}.quick-grid{grid-template-columns:1fr}.preview-copy{margin-left:44%}.preview-copy h2{font-size:27px}.fighter-preview>img{width:165px}.lab-wrap{padding-inline:14px}.character-picker .lab-button{width:100%}.defense-grid{grid-template-columns:1fr}.guard-person{right:45px}.guard-wall{right:88px}.attack{left:25px}.notation-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Override the old two-column roster container; the rows now own their layout. */
.roster{display:block;grid-template-columns:none;gap:0}
@media(max-width:700px){.roster,.roster.is-searching{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px 8px}}
@media(max-width:370px){.roster,.roster.is-searching{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Keep the complete select screen visible on ordinary desktop windows. */
@media(min-width:701px){
 .select-stage{max-width:1600px;min-height:0;padding:18px 32px 20px}
 .select-heading h1{font-size:clamp(25px,2.6vw,40px)}
 .fighter-preview{height:clamp(115px,21svh,230px);max-width:1200px;margin:8px auto}
 .fighter-preview>img{height:110%;width:230px;left:8%;bottom:0}
 .preview-copy{margin-left:34%}.preview-copy h2{font-size:clamp(38px,5vw,76px)}
 .preview-copy p:not(.eyebrow){margin:6px 0 10px;font-size:13px}.preview-copy .eyebrow{font-size:9px;margin-bottom:6px}
 .preview-copy .lab-button{font-size:12px;padding:9px 15px;min-height:40px}
 .roster,.roster-bar,.roster-bottom{max-width:1400px}
 .roster-row{gap:7px;margin-bottom:8px}
 .fighter-tile{flex:0 1 calc((100% - 98px)/15);max-width:90px;height:clamp(56px,10svh,100px);aspect-ratio:auto}
 .question{font-size:clamp(30px,6svh,62px);line-height:1.3}
 .roster-bar{margin-bottom:12px}.roster-bottom{margin-top:12px}
}
.fighter-name{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-size:clamp(7px,.68vw,10px);letter-spacing:-.02em}
.start-tile .fighter-name{white-space:nowrap;font-size:clamp(7px,.68vw,10px)}
@media(max-width:700px){.fighter-name,.start-tile .fighter-name{font-size:clamp(7px,1.9vw,10px)}}
@media(max-width:700px){.fighter-preview{height:190px}.fighter-preview>img{left:0;width:40%;height:200px}.preview-copy{margin-left:45%}}
@media(min-width:701px) and (max-width:900px){
 .roster,.roster.is-searching{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px 8px}
 .roster-row{display:contents}.fighter-tile{width:100%;max-width:none;height:86px;aspect-ratio:auto}
 .fighter-name,.start-tile .fighter-name{font-size:9px}.question{font-size:48px}
}
/* Let the arena dissolve into the page background on ultrawide displays. */
.select-stage{background:radial-gradient(ellipse at 22% 35%,#b2265136,transparent 65%),radial-gradient(ellipse at 70% 40%,#1469b935,transparent 65%)}
.select-stage:before{mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent)}
.command-diagram{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:14px;min-height:28px}.command-diagram img{width:28px;height:28px;object-fit:contain}.command-diagram>span{font-size:11px;font-weight:800;color:#c6bad1;padding:0 3px}
.lab-section{scroll-margin-top:16px}

.grab-breaks{margin:28px 0;padding:22px;border:1px solid #ffe05630;background:#ffe05605;border-radius:10px;scroll-margin-top:16px}.grab-breaks>p{font-size:14px}.grab-breaks>.eyebrow{font-size:10px}.grab-breaks>.small{font-size:12px}.grab-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.grab-grid>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;padding:16px 10px;border:1px solid var(--lab-line);border-radius:7px;background:var(--lab-surface)}.grab-grid span{font-size:12px;color:var(--lab-muted)}.grab-grid strong{font-size:15px;color:var(--lab-yellow)}.grab-grid small{font-size:11px;color:var(--lab-muted)}.grab-grid img{object-fit:contain}@media(max-width:480px){.grab-breaks{padding:16px 12px}.grab-grid{gap:6px}.grab-grid>div{padding:12px 5px}.grab-grid span,.grab-grid small{font-size:10px}}

/* Readable practice inputs and a compact, local five-route picker. */
.practice-route [hidden]{display:none!important}
.combo-input-icon{width:30px;height:30px;object-fit:contain;vertical-align:middle;margin:2px 1px}
.combo-input-group{display:inline-flex;align-items:center;vertical-align:middle;white-space:nowrap;gap:2px}
.combo-input-condition{font-size:12px;font-weight:750;letter-spacing:.02em;margin-right:3px}
.practice-route .route{line-height:2.6}
.practice-route .starter{line-height:2.2}
.practice-route-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.practice-route-toolbar>p{margin:0}
.practice-route-toolbar>button{min-height:44px;padding:10px 16px}

/* Practice HUD: input sequence first, health and stance context underneath. */
.combo-damage{border-top:1px solid var(--lab-line);margin-top:20px;padding-top:17px}
.combo-damage-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:10px}
.combo-damage-heading>span{font-size:10px;letter-spacing:.12em;color:var(--lab-muted);font-weight:800}
.combo-damage-heading>strong{font-size:20px;font-weight:900;font-style:italic;letter-spacing:-.03em;color:#ffe6ad}
.combo-hp-frame{padding:4px;background:linear-gradient(180deg,#7a2029,#ff7c72 12%,#fff1d4 38%,#fff9ed 52%,#ff6259 75%,#63202b);clip-path:polygon(0 0,calc(100% - 18px) 0,100% 100%,18px 100%);filter:drop-shadow(0 0 9px #ed4f3a55)}
.combo-hp-bar{height:28px;position:relative;overflow:hidden;clip-path:polygon(0 0,calc(100% - 15px) 0,100% 100%,15px 100%);background:repeating-linear-gradient(135deg,#20151d,#20151d 5px,#291720 5px,#291720 10px)}
.combo-hp-bar:before{content:'';position:absolute;inset:7px 0;z-index:2;pointer-events:none;background-image:linear-gradient(55deg,transparent 42%,#7e282b85 46%,#7e282bc0 52%,#fff6c860 57%,transparent 62%);background-size:calc(100% / 19) 100%;background-repeat:repeat-x}
.combo-hp-bar:after{content:'';position:absolute;inset:0;background:linear-gradient(#ffffff35,transparent 45%,#00000022);pointer-events:none}
.combo-hp-live{position:absolute;inset:0 auto 0 0;width:var(--hp-remaining);background:linear-gradient(90deg,#fff26c,#ffd348 45%,#ff9d39 68%,#ff4b35 87%,#ec252d);box-shadow:inset 0 3px #fffbd766,inset 0 -3px #b5232b80}
.combo-hp-recoverable{position:absolute;inset:0 auto 0 var(--hp-remaining);width:var(--hp-recoverable);background:linear-gradient(#d3cfd5,#7c7984);box-shadow:inset 0 0 0 1px #f6f0ffb0}
.combo-hp-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:11px;color:var(--lab-muted);margin-top:10px}
.combo-hp-legend>span{display:inline-flex;align-items:center;gap:6px}
.combo-hp-legend>.hp-live-label:before,.combo-hp-legend>.hp-recoverable-label:before,.combo-hp-legend>.hp-lost-label:before{content:'';width:7px;height:7px;display:inline-block;border-radius:1px}
.hp-live-label:before{background:#f6be54}.hp-recoverable-label:before{background:#c9c4cf}.hp-lost-label:before{background:#69383f}
.combo-damage-caption{font-size:10px;color:var(--lab-muted);margin:9px 0 0;line-height:1.5}
.combo-notes{margin-top:19px;color:var(--lab-muted);font-size:12px;line-height:1.7}
.combo-notes-label{font-size:10px;letter-spacing:.12em;font-weight:850;color:#d7cbe0;margin:0 0 8px}
.combo-notes ul{margin:0;padding-left:18px}.combo-notes li+li{margin-top:5px}
.combo-original{margin:18px 0 14px;color:var(--lab-muted);font-size:11px}
.combo-original summary{cursor:pointer;width:fit-content;min-height:32px;display:flex;align-items:center;gap:8px}
.combo-original summary:before{content:'+';color:var(--lab-yellow)}.combo-original[open] summary:before{content:'−'}
.combo-original code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:12px;margin:8px 0 14px}
@keyframes practice-hp-drain{from{width:100%}to{width:var(--hp-remaining)}}
.practice-route .route-card:not([hidden]) .combo-hp-live{animation:practice-hp-drain .65s ease-out both}
@media(prefers-reduced-motion:reduce){.practice-route .route-card .combo-hp-live{animation:none}}
@media(max-width:420px){.combo-damage-heading>strong{font-size:18px}.combo-hp-bar{height:21px}.combo-hp-legend{gap:7px 12px}}
.direction-key{margin:22px 0;padding-top:18px;border-top:1px solid var(--lab-line)}
.direction-key h3{font-size:17px;margin:0 0 15px}
.direction-key-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.direction-key-grid>div{display:flex;align-items:flex-start;gap:12px;background:#ffffff04;border:1px solid var(--lab-line);border-radius:8px;padding:14px}
.direction-key-grid img{flex:0 0 38px;object-fit:contain}
.direction-key-grid p{margin:0;font-size:12px;line-height:1.7}.direction-key-grid strong,.direction-key-grid p>span{display:block}
.direction-key-grid strong{color:var(--lab-text);margin-bottom:5px}
.direction-neutral{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:1px solid #c7b8d8;border-radius:50%;font:700 21px ui-monospace,monospace;color:#e8ddeb}
.direction-sequence{display:flex;align-items:center;gap:17px;margin-top:17px}.direction-sequence p{font-size:12px;line-height:1.7;margin:0}
.direction-sequence-icons{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}
@media(max-width:600px){.direction-key-grid{grid-template-columns:1fr}.direction-sequence{align-items:flex-start;flex-direction:column;gap:9px}}

/* Shared visual notation, with the original command directly below. */
.input-notation .combo-input-visual{display:block;font-size:14px;line-height:2.5;overflow-wrap:anywhere;color:#fff0c3}
.input-notation .combo-input-text{display:block;font-family:ui-monospace,Consolas,monospace;font-size:12px;font-weight:500;line-height:1.6;color:#c6bad1;margin-top:5px;overflow-wrap:anywhere}
.move-command .input-notation{margin:10px 0 6px}
.move-command .input-notation>span{display:block}
.scroll-table .input-notation{display:block;max-width:340px;min-width:150px}
.scroll-table .combo-input-icon,.punish-row .combo-input-icon{width:25px;height:25px}
.input-notation .combo-input-icon{max-width:none}
