/* Version 2 extends the existing SWL palette and keeps every view touch-friendly. */
.nav{grid-template-columns:repeat(3,minmax(0,1fr));flex-basis:390px;width:390px}
.nav::before,.nav.tracking::before{width:calc((100% - 2 * var(--nav-inset) - 8px)/3)}
.version-tag{color:#d5fa70;border:1px solid #d5fa7035;padding:1px 4px;border-radius:4px;margin-left:3px;font-size:7px;letter-spacing:0}
.board-filters,.directory-groups{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}
.board-filters button,.directory-groups button{white-space:normal;max-width:100%;font-size:11px;line-height:1.5;min-height:42px;padding:10px 15px;background:#ffffff04;border:1px solid #ffffff16;border-radius:12px;color:#a8a2b6;font-weight:750}
.board-filters button[aria-pressed=true],.directory-groups button[aria-pressed=true]{background:#d5fa7010;border-color:#d5fa7060;color:#e3ff9d}
.board-scope{font-size:11px;color:#9c95ac;margin:12px 0 22px;line-height:1.5}
.section-head{flex-wrap:wrap;gap:12px}.section-head h2{margin-right:auto}
.insights-button{border:1px solid #bd9bff35;background:#bd9bff0b;color:#cdb4fc;border-radius:11px;padding:11px 14px;min-height:43px;font-weight:750;font-size:11px;line-height:1.4;display:inline-flex;align-items:center;justify-content:center;gap:10px;max-width:100%}
.profile-insights{margin:13px 8px 0 0}.profile-insights+.reveal-placement{margin-top:13px}
/* Renewal occupies a reserved footer inside every card, without changing card size. */
.skill-cell{position:relative;min-width:0;height:162px;min-height:162px;display:grid;border:1px solid #ffffff24;border-radius:11px;background:#101117;transition:background .35s,border-color .35s,box-shadow .35s}
.skill-cell[data-status="1"]{background:linear-gradient(145deg,#342641,#1e1a27);border-color:#bd9bff80}
.skill-cell[data-status="2"]{background:linear-gradient(145deg,#2c3520,#191e1b);border-color:#d5fa7080;box-shadow:inset 0 1px 0 #d5fa7011}
.skill-cell .skill{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:23px minmax(0,1fr) 36px;width:100%;height:100%;min-width:0;min-height:0;gap:0;padding:10px 12px 8px;border:0;background:transparent;box-shadow:none;transform:none;overflow:visible}
.skill-cell .skill-top{grid-column:1;grid-row:1;align-items:center;margin:0;gap:5px}
.skill-cell .skill-name{grid-column:1;grid-row:2;align-self:center;min-height:0;margin:3px 0;font-size:13px;line-height:1.35;color:#f2edf8}
.skill-cell .skill-bottom{grid-column:1;grid-row:3;align-self:center;min-height:30px;margin:0}
.skill-cell .skill-status{width:36px;min-width:36px;height:30px;padding:0 3px;font-size:17px;flex-shrink:0;white-space:nowrap}
.skill-renewal{position:absolute;z-index:1;inset:auto 8px 8px 64px;height:36px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:0;min-width:0}
.renewal-date{min-width:0;justify-self:end;text-align:right;font-size:10px;font-weight:650;color:#e3edce;line-height:1.25;overflow-wrap:anywhere}.skill-renewal button{font-size:10px;font-weight:800;background:#d5fa7024;border:1px solid #d5fa7090;color:#f0ffd0;border-radius:7px;height:36px;min-height:36px;padding:5px 7px;white-space:nowrap}.skill-renewal button:disabled{opacity:.55;cursor:default}

.skill-cell .skill:focus-visible,.skill-renewal button:focus-visible{outline:2px solid #e4ccff;outline-offset:-3px}
@media(max-width:600px){.skill-cell{height:91px;min-height:91px}.skill-cell .skill{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) 36px;gap:0 10px;padding:7px 12px}.skill-cell .skill-top{grid-column:2;grid-row:1;align-self:center}.skill-cell .skill-name{grid-column:1;grid-row:1;font-size:13px;line-height:1.25;margin:0}.skill-cell .skill-bottom{grid-column:1/-1;grid-row:2}.skill-cell .skill-points{font-size:17px}.skill-cell .skill-renewal{inset:auto 9px 7px 64px;padding:0}}
.renewal-guide{font-size:11px;line-height:1.7;color:#888192;max-width:850px;margin:13px 2px 17px}
#directory,#analytics{padding:25px 0 20px;min-width:0}#directoryRoot,#analyticsRoot{min-width:0;scroll-margin-top:calc(var(--header-height,76px) + 16px)}
.v2-page-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.v2-page-head h1{font-size:clamp(34px,5vw,60px);letter-spacing:-.065em;line-height:1.08;margin:8px 0 13px}.v2-page-head p:not(.eyebrow){font-size:13px;color:#a9a2b8;line-height:1.7}.v2-page-head>.quiet{flex-shrink:0}
.directory-tools{padding:20px;background:#17171f;border:1px solid #ffffff14;border-radius:20px;margin-bottom:28px}.directory-search{display:flex;align-items:center;gap:12px;background:#0e0f15;border:1px solid #ffffff1f;border-radius:12px;padding:0 16px;margin-bottom:17px}.directory-search>span{font-size:27px;color:#bd9bff}.directory-search input{background:none;border:0;color:#f7f5fc;min-width:0;width:100%;font-size:16px;padding:17px 0;outline:none}.directory-search:focus-within{outline:2px solid #bd9bff80;outline-offset:3px}.directory-groups{margin:0}.directory-section{margin:0 0 31px}.directory-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.directory-section-head h2{font-size:19px;letter-spacing:-.035em;line-height:1.4}.directory-section-head>span{font-size:10px;color:#8f879f;white-space:nowrap}
.directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.directory-card{display:flex;align-items:center;gap:13px;padding:20px 17px;min-width:0;text-align:left;background:linear-gradient(140deg,#ffffff06,transparent),#16171e;border:1px solid #ffffff16;border-radius:19px;color:#f6f4fa;transition:transform .25s,border-color .25s}.directory-card:hover{transform:translateY(-3px);border-color:#bd9bff75}.directory-card.is-on-fire{border-color:#ff9a4745;background:linear-gradient(130deg,#ff7b2510,transparent 70%),#16171e}.directory-avatar{display:grid;place-items:center;width:45px;height:45px;flex:0 0 45px;border-radius:14px;background:#bd9bff11;border:1px solid #bd9bff22;color:#d3b8ff;font-weight:800;font-size:13px}.directory-person{min-width:0;flex:1}.directory-person strong{display:block;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.directory-person small{display:block;font-size:9px;color:#9790a4;margin-top:6px;line-height:1.5}.directory-points{text-align:right;flex-shrink:0}.directory-points b{display:block;color:#d5fa70;font-size:22px;letter-spacing:-.05em}.directory-points small{font-size:9px;color:#8d8699}.due-badge{display:inline-block;font-size:8px;color:#ffa69b;margin-top:5px}.v2-empty{text-align:center;padding:50px 20px;color:#9f96af;font-size:13px;line-height:1.8;border:1px dashed #ffffff19;border-radius:20px}.v2-empty.small{padding:24px 15px;margin:0;border:0}
.analytics-filters{display:flex;align-items:flex-end;gap:15px;padding:20px;background:#181820;border:1px solid #ffffff16;border-radius:19px;margin:0 0 23px}.analytics-filters label{display:grid;gap:8px;font-size:10px;color:#a8a0b7;font-weight:750;flex:1;min-width:0}.analytics-filters select{width:100%;min-width:0;min-height:45px;padding:10px 32px 10px 12px;background:#0d0e14;color:#eee8fa;border:1px solid #ffffff20;border-radius:10px;font-size:13px}.analytics-filters>p{margin-left:auto;flex:0 0 auto;font-size:10px;line-height:1.6;color:#bd9bff}.analytics-filters>p span{color:#898197}.analytics-scope{font-size:12px;color:#ddd5ee;line-height:1.5;margin:0 0 17px}.analytics-scope span{color:#8f849d}
.analytics-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:19px}.analytics-stat-grid article{min-width:0;padding:22px 20px;background:radial-gradient(ellipse at top right,#bd9bff08,transparent 70%),#17171f;border:1px solid #ffffff14;border-radius:18px}.analytics-stat-grid article>span{font-size:10px;color:#aaa1b7;font-weight:750}.analytics-stat-grid article>strong{display:block;font-size:clamp(29px,3.8vw,48px);letter-spacing:-.06em;margin:13px 0 8px;font-variant-numeric:tabular-nums}.analytics-stat-grid strong small{font-size:14px;font-weight:500;color:#857b94;letter-spacing:0}.analytics-stat-grid p{font-size:9px;color:#8d839c;line-height:1.5}.analytics-stat-grid .stat-renew>strong{color:#ffa79d}
.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.analytics-panel{border:1px solid #ffffff15;border-radius:23px;padding:27px;background:linear-gradient(150deg,#ffffff04,transparent 75%),#15161d;min-width:0}.analytics-wide{grid-column:1/-1}.analytics-panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:27px}.analytics-panel-head .eyebrow{font-size:9px;letter-spacing:.13em;line-height:1.6}.analytics-panel h2{font-size:25px;letter-spacing:-.04em;line-height:1.2;margin:7px 0 0}.analytics-symbol{color:#bd9bff;font-size:26px}.mastery-layout{display:flex;align-items:center;gap:32px;justify-content:center}.mastery-donut{width:180px;height:180px;flex:0 0 180px;border-radius:50%;background:conic-gradient(#d5fa70 0 var(--perfect),#bd9bff var(--perfect) var(--retained),#292830 var(--retained) 100%);padding:17px;transform:rotate(-90deg)}.mastery-donut>div{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;border-radius:50%;background:#16171e;transform:rotate(90deg)}.mastery-donut strong{font-size:49px;font-weight:850;letter-spacing:-.08em}.mastery-donut strong small{font-size:22px;color:#9a8daa;letter-spacing:0}.mastery-donut>div>span{font-size:10px;color:#a59bae}.chart-key{list-style:none;padding:0;flex:1;max-width:190px;min-width:100px}.chart-key li{display:flex;align-items:center;gap:8px;font-size:11px;color:#a89db6;margin:18px 0}.chart-key strong{color:#f2edf8;margin-left:auto;font-size:17px}.chart-key i{display:block;width:8px;height:8px;border-radius:50%;background:#49424f}.chart-key .key-perfect{background:#d5fa70}.chart-key .key-achieved{background:#bd9bff}.category-bars{display:grid;gap:27px;margin:8px 0 29px}.bar-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:11px}.bar-label strong{font-size:13px;font-weight:750}.bar-label span{color:#91869f}.stacked-bar{height:13px;background:#292830;display:flex;border-radius:8px;overflow:hidden}.stacked-bar i{height:100%;display:block}.chart-note{font-size:10px;color:#887d98;line-height:1.65;margin:20px 0 0}
.column-chart{display:flex;align-items:stretch;gap:18px;justify-content:space-around}.chart-column{display:flex;flex-direction:column;align-items:center;flex:1;gap:10px;font-size:18px}.chart-track{width:100%;height:130px;display:flex;align-items:flex-end;border-radius:8px;background:#ffffff03;overflow:hidden}.chart-track i{display:block;width:100%;border-radius:8px 8px 0 0;background:linear-gradient(#d5fa70,#7da548)}.chart-column.is-due .chart-track i{background:linear-gradient(#ffb19f,#bd5963)}.chart-column>span{font-size:10px;color:#ada1bd;text-align:center;line-height:1.5}.chart-column small{display:block;font-size:8px;color:#82728f}.momentum-total{display:flex;align-items:center;gap:17px;margin:8px 0 22px}.momentum-total>strong{font-size:53px;letter-spacing:-.06em;color:#ffd782}.momentum-total>span{font-size:12px;color:#b0a3bb;line-height:1.6}.momentum-total b{font-size:10px;color:#ffa963;font-weight:650}.momentum-chart{display:flex;align-items:flex-end;gap:12px;height:132px}.momentum-chart>div{display:flex;flex:1;flex-direction:column;align-items:center;gap:7px}.momentum-chart strong{font-size:10px;color:#b7a4c5}.momentum-chart i{display:block;width:100%;background:linear-gradient(#ffbf6d,#bc704f);border-radius:6px 6px 3px 3px}.momentum-chart small{font-size:9px;color:#8b7d98}.squad-comparison{display:grid;gap:10px}.squad-comparison button{display:grid;grid-template-columns:minmax(210px,1fr) minmax(100px,1.2fr) 70px;gap:23px;align-items:center;text-align:left;padding:17px;border:1px solid #ffffff10;border-radius:13px;background:#ffffff03;color:#eee6f7}.squad-comparison button:hover{border-color:#bd9bff50}.squad-comparison-name strong{display:block;font-size:13px;line-height:1.5}.squad-comparison-name small{display:block;font-size:9px;color:#90829f;margin-top:4px}.comparison-track{height:9px;border-radius:8px;background:#2c2733;overflow:hidden}.comparison-track i{display:block;height:100%;background:linear-gradient(90deg,#a08acd,#d5fa70);border-radius:8px}.squad-comparison button>b{text-align:right;font-size:23px;color:#d5fa70}.squad-comparison button>b small{display:block;font-size:8px;font-weight:500;color:#9c8bab}
.map-key{font-size:9px;color:#8c809a;line-height:1.8;text-align:right}.map-key b{color:#bd9bff;font-weight:500}.map-key em{color:#d5fa70;font-style:normal}.map-key strong{color:#ff9c8d;font-weight:500}.skill-map-scroll{max-width:100%;overflow:auto;border-radius:12px}.skill-map{border-collapse:collapse;width:100%;min-width:720px}.skill-map th{text-align:left;padding:12px 7px;font-size:9px;color:#87778f;font-weight:500}.skill-map thead th{border-bottom:1px solid #ffffff14}.skill-map tbody th{min-width:175px}.skill-map th button{background:none;border:0;color:#cfc3dc;font-size:11px;text-align:left;line-height:1.4;min-height:33px}.skill-map td{padding:8px 7px;border-bottom:1px solid #ffffff05}.skill-map .map-dot{display:block;width:12px;height:12px;border-radius:4px;border:1px solid #443b4e;background:#25212c}.map-dot.level-1{background:#bd9bff;border-color:#bd9bff}.map-dot.level-2{background:#d5fa70;border-color:#d5fa70}.map-dot.due{background:#ff9c8d;border-color:#ff9c8d;box-shadow:0 0 9px #ff9c8d35}.map-legend{margin-top:18px;color:#9786a7;font-size:10px;line-height:1.7}.map-legend summary{cursor:pointer;min-height:30px}.map-legend ol{columns:3;column-gap:30px;padding-left:20px;margin-top:15px}.map-legend li{break-inside:avoid;padding-bottom:5px}.revisit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.revisit-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px;border:1px solid #ff9c8d20;border-radius:13px;background:#ff9c8d05;color:#ebd7df;text-align:left}.revisit-grid strong{font-size:12px;line-height:1.5}.revisit-grid button>span{color:#f9a196;font-size:10px}
.swlp-scope{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:18px 0 23px}.swlp-scope>span{font-size:11px;color:#a99db8;flex:1;min-width:180px}.swlp-scope button{min-height:38px;padding:8px 12px;font-size:10px;border:1px solid #ffffff17;border-radius:9px;color:#afa3bd;background:#ffffff04}.swlp-scope button[aria-pressed=true]{border-color:#bd9bff60;color:#d5baf9;background:#bd9bff0c}
@media(max-width:1100px){.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mastery-layout{gap:20px}.mastery-donut{width:155px;height:155px;flex-basis:155px}.mastery-donut strong{font-size:43px}.analytics-filters>p{display:none}.header-inner{gap:12px}.nav button{padding-left:8px;padding-right:8px}}
@media(max-width:850px){.nav{width:100%;flex:1 0 100%}.analytics-grid{grid-template-columns:1fr}.analytics-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-wide{grid-column:auto}.mastery-layout{justify-content:flex-start}.squad-comparison button{grid-template-columns:minmax(160px,1fr) 1fr 60px;gap:14px}.v2-page-head h1{font-size:44px}}
@media(max-width:600px){.nav{width:auto;flex:initial}.nav button{font-size:10px;padding:0 2px}.nav button:first-child{font-size:9px}.board-filters{gap:6px}.board-filters button{font-size:9px;padding:9px 11px;flex:1 1 calc(50% - 6px)}.board-scope{font-size:10px;margin-bottom:18px}.section-head{gap:8px}.section-head h2{width:100%;margin-bottom:2px}.insights-button{font-size:10px}.skill-renewal{padding-inline:14px}.renewal-guide{font-size:10px}.v2-page-head{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:22px}.v2-page-head h1{font-size:39px}.v2-page-head p:not(.eyebrow){font-size:12px}.v2-page-head .eyebrow{font-size:9px}.directory-tools{padding:15px}.directory-grid{grid-template-columns:1fr}.directory-card{padding:19px 15px}.directory-person strong{font-size:14px}.directory-groups button{font-size:9px;padding:8px 10px}.directory-section-head h2{font-size:17px}.directory-section-head>span{font-size:9px}.analytics-filters{padding:15px;flex-direction:column;align-items:stretch;gap:12px}.analytics-filters select{font-size:13px}.analytics-stat-grid{gap:9px}.analytics-stat-grid article{padding:18px 14px}.analytics-stat-grid article>span{font-size:9px}.analytics-stat-grid article>strong{font-size:33px}.analytics-stat-grid p{font-size:8px}.analytics-panel{padding:22px 19px}.analytics-panel h2{font-size:24px}.analytics-panel-head{margin-bottom:23px}.mastery-layout{gap:21px}.mastery-donut{width:143px;height:143px;flex-basis:143px;padding:14px}.chart-key li{font-size:10px;gap:6px}.chart-key{min-width:85px}.chart-key strong{font-size:14px}.squad-comparison button{grid-template-columns:1fr 57px;padding:14px;gap:10px}.comparison-track{grid-row:2;grid-column:1/-1}.squad-comparison-name strong{font-size:11px}.squad-comparison-name small{font-size:8px}.analytics-panel-head:has(.map-key){flex-direction:column;align-items:flex-start}.map-key{text-align:left}.map-legend ol{columns:1}.revisit-grid{grid-template-columns:1fr}.fire-badge{font-size:7px!important}.swlp-scope{gap:7px}.swlp-scope>span{flex:1 0 100%}}
@media(max-width:360px){.mastery-layout{gap:13px}.mastery-donut{width:122px;height:122px;flex-basis:122px}.mastery-donut strong{font-size:35px}.chart-key li{font-size:9px}.analytics-panel{padding:20px 16px}.analytics-stat-grid strong small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.fire-badge,.fire-badge>span{animation:none}.directory-card{transition:none}.directory-card:hover{transform:none}}body.no-motion .fire-badge,body.no-motion .fire-badge>span{animation:none}
.skill-cell[hidden],.skill-renewal[hidden]{display:none!important}

/* Give tablet navigation room for every label. */
@media(min-width:601px) and (max-width:1000px){.header-inner{flex-wrap:wrap}.nav{order:3;flex:1 0 100%;width:100%}}
.analytics-scope,.revisit-grid strong{min-width:0;overflow-wrap:anywhere}

/* Optional squad marking keeps profile navigation separate from skill controls. */
.directory-card{display:block;padding:0;overflow:hidden}.directory-card:hover{transform:none}.directory-profile{display:flex;align-items:center;gap:13px;width:100%;min-width:0;padding:20px 17px;text-align:left;border:0;background:transparent;color:inherit;border-radius:18px}.directory-profile:hover{background:#bd9bff08}.directory-profile:focus-visible{outline:2px solid #bd9bff;outline-offset:-3px}
.directory-complex-tools{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 15px;margin-top:18px;padding-top:17px;border-top:1px solid #ffffff12}.directory-complex-tools label{font-size:12px;font-weight:750;color:#d4c7e7;white-space:nowrap}.directory-complex-tools label span{margin-left:9px;color:#bd9bff}.directory-complex-tools select{min-width:0;min-height:44px;width:100%;padding:10px 26px 10px 12px;color:#eee8fa;background:#101116;border:1px solid #bd9bff35;border-radius:10px;font-size:12px}.directory-complex-tools p{grid-column:1/-1;font-size:10px;color:#938b9e;line-height:1.6;margin:0}
.directory-quick{padding:0 12px 13px}.directory-quick-label{display:block;font-size:9px;color:#b9aacb;line-height:1.5;margin:0 2px 8px}.directory-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.directory-quick-cell{position:relative;min-width:0;height:71px;min-height:71px;display:grid;border:1px solid #ffffff35;border-radius:10px;background:#ffffff06;transition:background .18s,border-color .18s}
.directory-quick-skill{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;justify-content:stretch;gap:3px;width:100%;height:100%;min-height:0;padding:2px 3px 33px;border:0;border-radius:9px;background:transparent;color:#e4dce9}
.directory-quick-skill>span{min-width:0;font-size:13px;line-height:1;letter-spacing:-2px;text-align:center;white-space:nowrap}.directory-quick-skill strong{min-width:0;font-size:9px;line-height:1.1;font-weight:750;overflow-wrap:anywhere;text-align:center}
.directory-quick-cell.level-1{background:#bd9bff1c;border-color:#bd9bff85}.directory-quick-cell.level-2{background:#d5fa7018;border-color:#d5fa7075}.directory-quick-skill.level-1{color:#bd9bff;}.directory-quick-skill.level-2{color:#d5fa70;}.directory-quick-skill:not(:disabled):active{transform:scale(.97)}.directory-quick-skill:disabled{cursor:default;opacity:.75}
.directory-quick-renewal{position:absolute;z-index:1;inset:auto 3px 3px;height:30px;display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:3px;padding:0;min-width:0}.directory-quick-days{font-size:9px;font-weight:700;line-height:1.1;text-align:center;color:#ffd4ca;overflow-wrap:anywhere}.directory-quick-renew{display:block;width:100%;height:30px;min-height:30px;padding:2px 1px;margin:0;border:1px solid #f58b81a0;border-radius:6px;background:#f58b8128;color:#ffe6df;font-size:8.5px;font-weight:800;letter-spacing:-.15px;white-space:nowrap}.directory-quick-renew:disabled{opacity:.55;cursor:default}
.directory-quick-skill:focus-visible,.directory-quick-renew:focus-visible{outline:2px solid #e4ccff;outline-offset:-3px}
@media(max-width:420px){.directory-complex-tools{grid-template-columns:minmax(0,1fr)}.directory-profile{padding:17px 14px}.directory-quick-cell{height:68px;min-height:68px}.directory-quick-skill{min-height:0;padding-top:1px;padding-bottom:32px}.directory-quick-renewal{bottom:2px}}



/* Heat never changes a name/card's layout: badges occupy existing metadata or padding. */
.person,.gymnast,.chooser,.chooser-copy,.athlete-summary,.directory-card,.directory-person,.swlp-row-person,.revisit-grid>button,.skill-map th button,.analytics-scope{position:relative}
.fire-badge{position:absolute!important;display:inline-flex!important;align-items:center;gap:3px;inset:auto auto 0 0;width:max-content;max-width:100%;height:13px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:8px!important;line-height:13px!important;font-weight:850!important;letter-spacing:.02em!important;font-style:normal;color:#ffe2a7!important;white-space:nowrap;pointer-events:none;vertical-align:baseline}
.fire-badge>span{font-size:11px;line-height:1;flex:0 0 auto}
.fire-badge.heat-hot{color:#ffd58e!important}
.heat-meta{position:relative}
.heat-meta .fire-badge{top:0;bottom:auto}
.heat-meta:has(.fire-badge)>.heat-meta-text{visibility:hidden}
.person:has(.fire-badge)>small:not(.heat-meta){visibility:hidden}
.gymnast .fire-badge{left:49px;bottom:1px;height:10px!important;font-size:7px!important;line-height:10px!important}
.chooser-copy .fire-badge{top:0;bottom:auto}
.chooser:is(.is-hot,.is-on-fire) small{visibility:hidden}
#athleteFire{position:absolute;top:6px;left:24px;height:13px;pointer-events:none}
#athleteFire .fire-badge{font-size:8px!important;top:0;bottom:auto}
.athlete-info h2,.chooser-copy strong{overflow-wrap:anywhere}
.revisit-grid>button .fire-badge{top:3px;right:10px;bottom:auto;left:auto;font-size:7px!important}
.skill-map th button{padding-right:23px}
.skill-map th .fire-badge{right:4px;left:auto;top:50%;bottom:auto;transform:translateY(-50%);font-size:0!important;width:13px}
.analytics-scope{padding-right:18px}
.analytics-scope>.fire-badge{right:0;left:auto;top:50%;bottom:auto;transform:translateY(-50%);font-size:0!important;width:13px}
.swlp-peek .fire-badge{display:none!important}

/* Static amber for Hot; molten moving light for On fire. Text remains still. */
:is(.is-hot,.is-on-fire):is(.rank-row,.gymnast,.athlete-summary,.chooser,.directory-card,.swlp-hero,.swlp-row,.analytics-scope,.revisit-grid>button,.skill-map th button){
  isolation:isolate;overflow:hidden;border-color:#d78b4b69!important;
  background:linear-gradient(125deg,#3c2b21,#241f23 53%,#191820)!important;
  box-shadow:inset 0 1px 0 #ffdba923,0 0 15px #e9982914!important;
}
.is-on-fire:is(.rank-row,.gymnast,.athlete-summary,.chooser,.directory-card,.swlp-hero,.swlp-row,.analytics-scope,.revisit-grid>button,.skill-map th button){
  border-color:#ff9d528c!important;background:linear-gradient(125deg,#54281f,#281a22 53%,#1d1820)!important;
  box-shadow:inset 0 1px 0 #ffda9f40,inset 0 -1px 0 #ff8e4c39,0 0 24px #f9703630!important;
}
.is-on-fire:is(.rank-row,.gymnast,.athlete-summary,.chooser,.directory-card,.swlp-hero,.swlp-row,.analytics-scope,.revisit-grid>button,.skill-map th button)::before{
  content:""!important;position:absolute!important;pointer-events:none!important;z-index:-1!important;
  inset:-35% -18% -25%!important;width:auto!important;height:auto!important;border:0!important;border-radius:inherit;
  background:radial-gradient(ellipse at 12% 91%,#ffbb5c86,transparent 39%),radial-gradient(ellipse at 82% 100%,#f1462485,transparent 43%),radial-gradient(ellipse at 49% 107%,#ffd48175,transparent 38%),linear-gradient(155deg,transparent 35%,#ff65253a 60%,transparent 78%)!important;
  transform-origin:50% 90%;opacity:.8;animation:swl-lava-flow 3.8s ease-in-out infinite alternate!important;animation-delay:-2s!important;
}
.rank-row.is-on-fire::after{display:none!important}
.directory-card.is-on-fire:nth-child(2n)::before,.swlp-row.is-on-fire:nth-child(2n)::before{animation-delay:-1s!important}
.is-on-fire:is(.athlete-summary,.swlp-hero)::before{animation-duration:5s!important}
:is(.is-hot,.is-on-fire):is(.rank-row,.gymnast,.chooser,.directory-card,.swlp-row,.athlete-summary,.swlp-hero) :is(.person strong,.gymnast-name,.chooser-copy strong,.directory-person strong,.swlp-row-person strong,h2){color:#fff2dd;text-shadow:0 0 18px #ffad5036}
:is(.is-hot,.is-on-fire) :is(.directory-avatar,.avatar,.swlp-row-avatar,.swlp-avatar){color:#ffe3af;background:linear-gradient(145deg,#a8492b55,#ffb55118);border-color:#ffb66c70;box-shadow:inset 0 1px #ffe7b626,0 0 15px #ff862b24}
@keyframes swl-lava-flow{0%{transform:translate3d(-6%,5%,0) scale(1.02);opacity:.7}50%{transform:translate3d(3%,-4%,0) scale(1.1);opacity:.95}100%{transform:translate3d(6%,2%,0) scale(1.04);opacity:.8}}
@media(prefers-reduced-motion:reduce){.is-on-fire.is-on-fire::before,.fire-badge,.fire-badge>span{animation:none!important}.is-on-fire.is-on-fire::before{transform:none!important}}
body.no-motion .is-on-fire::before,body.no-motion .fire-badge,body.no-motion .fire-badge>span,[data-placement-motion="off"] .is-on-fire::before,[data-placement-motion="off"] .fire-badge,[data-placement-motion="off"] .fire-badge>span{animation:none!important}
body.no-motion .is-on-fire::before,[data-placement-motion="off"] .is-on-fire::before{transform:none!important}

/* Age comparisons use only the public, current-year competition category. */
.analytics-age-note{font-size:10px;line-height:1.6;color:#a49aaf;margin:-10px 2px 21px;max-width:900px}
.analytics-filters{flex-wrap:wrap}.analytics-filters>label{flex:1 1 170px}.analytics-filters>p{display:none}
.age-distribution-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;align-items:stretch}
.age-bar{min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 7px;border:1px solid #ffffff0b;border-radius:13px;background:#ffffff02;color:#c9bfd5;text-align:center}
.age-bar>strong{font-size:23px;color:#f2eafa;line-height:1}.age-bar>b{font-size:10px;line-height:1.35;min-height:28px;display:grid;align-items:center}.age-bar>small{font-size:9px;color:#9c90ac}
.age-bar-track{height:92px;display:flex;align-items:flex-end;width:100%;max-width:50px;background:#ffffff03;border-radius:7px;overflow:hidden}.age-bar-track>i{display:block;width:100%;background:linear-gradient(#d5fa70,#8eab5b);border-radius:6px 6px 0 0}
.age-bar[aria-pressed=true],.age-cohort[aria-pressed=true]{border-color:#bd9bff85;background:#bd9bff0d}.age-bar[aria-pressed=true] .age-bar-track>i{background:linear-gradient(#dac4ff,#9a75ce)}
.age-bar:hover,.age-cohort:hover{border-color:#bd9bff70}.age-bar:focus-visible,.age-cohort:focus-visible{outline:2px solid #d5fa70;outline-offset:3px}
.age-coverage{font-size:10px;color:#a497b2;line-height:1.6;padding:13px 15px;margin:18px 0 0;border:1px solid #ffffff12;border-radius:10px;background:#ffffff03}.age-coverage strong{color:#d6c9e3}
.age-cohort-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.age-cohort{display:block;min-width:0;width:100%;text-align:left;padding:19px;border:1px solid #ffffff17;border-radius:15px;background:#ffffff03;color:#eee8f7}
.age-cohort-title{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 12px}.age-cohort-title>strong{font-size:14px}.age-cohort-title>small{font-size:9px;color:#a89bb7}
.age-cohort-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:19px 0}.age-cohort-metrics b{display:block;font-size:27px;line-height:1.15;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.age-cohort-metrics small{display:block;color:#a394b2;font-size:9px;line-height:1.5;margin-top:4px}
.age-foundation{display:block}.age-foundation>span{display:flex;justify-content:space-between;font-size:10px;color:#b4a5c1;gap:10px}.age-foundation b{color:#d5fa70}.age-foundation>i{display:block;height:7px;background:#ffffff09;border-radius:5px;overflow:hidden;margin-top:8px}.age-foundation>i>i{height:100%;display:block;background:linear-gradient(90deg,#bd9bff,#d5fa70);border-radius:5px}
@media(max-width:850px){.age-distribution-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.age-bar-track{height:67px}.age-cohort-title{display:block}.age-cohort-title>small{display:block;margin-top:5px}}
@media(max-width:600px){.age-cohort-grid{grid-template-columns:minmax(0,1fr)}.age-cohort{padding:17px}.age-cohort-metrics b{font-size:25px}.age-distribution-grid{gap:7px}.age-bar{padding:10px 4px;gap:6px}.age-bar>b{font-size:9px}.age-bar>small{font-size:8px}.age-bar-track{height:54px}.analytics-filters>label{flex:initial}}

.board-filter-controls{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:10px}.board-filter-controls .board-filters{flex:1 1 450px;margin:0}.board-age-filter{display:grid;gap:6px;flex:0 1 260px;min-width:180px;font-size:10px;font-weight:750;color:#b6aac5}.board-age-filter select{min-height:42px;width:100%;max-width:100%;padding:10px 30px 10px 12px;border:1px solid #bd9bff40;border-radius:11px;background:#17151f;color:#eee6f7;font-size:11px}.board-age-filter select:focus-visible{outline:2px solid #bd9bff;outline-offset:3px}@media(max-width:600px){.board-filter-controls{gap:10px}.board-age-filter{flex:1 1 100%;min-width:0}.board-filter-controls .board-filters{flex-basis:100%}}

/* Matching squad and age selectors keep the leaderboard header compact. */
.board-filter-controls .board-squad-filter{flex:1 1 300px;max-width:500px}
.board-filter-controls .board-age-filter{min-width:0}
@media(max-width:600px){.board-filter-controls .board-squad-filter{max-width:none;flex:1 1 100%}}

/* Coach identity stays distinct from scoring and heat indicators. */
.coach-badge.coach-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;vertical-align:middle;white-space:nowrap;margin:0 0 0 5px;padding:4px 6px;border:1px solid #bd9bff60;border-radius:5px;background:#8c5de02e;color:#d9c3ff;font-size:8px;font-weight:850;letter-spacing:.08em;line-height:1;text-shadow:none}
