#teamlab[hidden]{display:none!important}
#teamlab{margin:8px 0;padding:12px;border:1px solid #75e5db28;border-radius:14px;background:radial-gradient(ellipse at 50% 18%,#14343b,#07171b 72%);color:#effff9;min-width:0;padding-bottom:max(14px,env(safe-area-inset-bottom))}
#teamlab button,#teamlab summary{font:700 11px/1.35 system-ui;cursor:pointer}#teamlab button:focus-visible,#teamlab summary:focus-visible{outline:2px solid #aaffdd;outline-offset:2px}
.tl-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}.tl-heading>div{display:flex;flex-direction:column;gap:2px}.tl-heading strong{font:900 15px/1.1 system-ui;letter-spacing:.14em}.tl-heading span,.tl-heading small{font:700 9px/1.4 system-ui;color:#93bcb2;letter-spacing:.05em}.tl-heading>small{text-align:right}
.tl-selector{display:flex;gap:6px;overflow:auto;padding:2px 0 10px;scrollbar-width:thin}.tl-selector button{display:flex;align-items:center;gap:6px;min-width:128px;padding:6px 8px;border:1px solid #75e5db2c;border-radius:10px;background:#0c2025;color:#eafff8;text-align:left}.tl-selector button.selected{background:#20483e;border-color:#75e5db}.tl-selector img{width:38px;height:38px;object-fit:contain;image-rendering:pixelated}.tl-selector span{display:flex;flex-direction:column;min-width:0}.tl-selector b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-selector small{font-size:8px;color:#9fc6bd}
.tl-hero{display:grid;grid-template-columns:minmax(170px,1fr) minmax(250px,1.35fr);gap:10px;align-items:center;padding:10px;border:1px solid #75e5db30;border-radius:12px;background:#ffffff08}.tl-mon{display:flex;align-items:center;gap:10px}.tl-mon>img{width:72px;height:72px;object-fit:contain;image-rendering:pixelated;background:#75e5db0b;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}.tl-mon h2{margin:1px 0;font:900 20px/1.1 system-ui}.tl-mon p,.tl-mon small{margin:0;font-size:9px;color:#a3c9c0}.tl-types{display:inline-flex;gap:4px;flex-wrap:wrap;margin-top:4px}.tl-types i{font:800 8px/1 system-ui;font-style:normal;padding:4px 6px;border-radius:99px;background:#75e5db18;border:1px solid #75e5db2d;color:#cffff1}
.tl-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.tl-stats>div{display:flex;flex-direction:column;align-items:center;padding:6px 2px;border-radius:8px;background:#07191e;border:1px solid #ffffff0c}.tl-stats small{font-size:7px;color:#89aca5}.tl-stats b{font-size:15px}.tl-live-tags{grid-column:1/-1;display:flex;gap:5px;flex-wrap:wrap}.tl-live-tags span,.tl-role-row span{font:800 8px/1.2 system-ui;padding:5px 7px;border-radius:99px;background:#132e2f;border:1px solid #75e5db24;color:#d9fff4}
.tl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.tl-card{min-width:0;padding:10px;border:1px solid #75e5db20;border-radius:12px;background:#081a1f}.tl-card>header{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin-bottom:8px;border-bottom:1px solid #ffffff0c;padding-bottom:6px}.tl-card>header b{font:900 11px/1.2 system-ui;letter-spacing:.08em}.tl-card>header small{font:700 8px/1.3 system-ui;color:#88aaa2;text-align:right}.tl-development,.tl-fabric{grid-column:1/-1}
.tl-branch{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:6px;border:1px solid transparent;border-radius:10px}.tl-branch.selected{border-color:#75e5db35;background:#75e5db08}.tl-evo-node{display:flex;align-items:center;gap:5px;padding:4px 6px;border:0;background:transparent;color:#effff9;border-radius:8px}.tl-evo-node:hover{background:#75e5db12}.tl-evo-node img{width:42px;height:42px;image-rendering:pixelated;object-fit:contain}.tl-evo-node span{display:flex;flex-direction:column;text-align:left}.tl-evo-node b{font-size:10px}.tl-evo-node small{font-size:8px;color:#9cbeb6}.tl-evo-arrow{display:flex;flex-direction:column;align-items:center;color:#7ff0d2;font:900 18px/1 system-ui;min-width:45px}.tl-evo-arrow small{font:700 7px/1.2 system-ui;color:#a1c5bc;text-align:center;margin-top:3px}.tl-choose-branch{margin-left:auto;border:1px solid #75e5db35;border-radius:8px;background:#173b38;color:#dffff6;padding:7px}
.tl-move-list,.tl-unlocks,.tl-archetypes{display:grid;gap:5px}.tl-move,.tl-unlocks article,.tl-arch{padding:7px;border-radius:9px;background:#0e2227;border:1px solid #ffffff0c}.tl-move-main,.tl-unlocks article>div{display:flex;align-items:center;gap:6px}.tl-move b,.tl-unlocks b,.tl-arch b{font-size:10px}.tl-move small,.tl-unlocks small,.tl-arch small{display:block;font-size:8px;color:#a2c1ba;margin-top:2px}.tl-move p,.tl-unlocks p{margin:3px 0 0;font:700 8px/1.3 system-ui;color:#d4efe7}.tl-move-main span,.tl-unlocks article>div>span{margin-left:auto;font:900 7px/1 system-ui;padding:4px 5px;border-radius:6px}.tl-unlocks em{font:900 7px/1 system-ui;font-style:normal;padding:4px 5px;border-radius:6px;background:#3e825f;color:#effff5}.tl-q-core{background:#6d5630;color:#fff3cb}.tl-q-high{background:#315f53;color:#e0fff5}.tl-q-good{background:#2a4040;color:#d8f0e9}.tl-q-niche{background:#262f35;color:#b5c2c7}.tl-foot,.tl-muted,.tl-provenance{font:650 8px/1.4 system-ui;color:#819e98}.tl-foot{margin:8px 1px 0}.tl-provenance{margin-top:9px;padding:8px;border-top:1px solid #ffffff0c}
.tl-arch{display:grid;grid-template-columns:auto 1fr;gap:2px 7px}.tl-arch>span{grid-row:1/3;font:900 7px/1 system-ui;align-self:start;padding:4px 5px;border-radius:6px;background:#24423e;color:#abf3df}.tl-arch small{grid-column:2}.tl-smogon>span{background:#47364f;color:#f1d2ff}
.tl-break{display:grid;grid-template-columns:1fr auto;gap:3px 8px;margin-top:8px;padding:8px;border-radius:10px;border:1px solid #a9c76a35;background:#242d20}.tl-break>b{font-size:9px}.tl-break>strong{font-size:9px;color:#e9f6a5}.tl-break>small,.tl-break>p{grid-column:1/-1;margin:0;font-size:8px;color:#bdcfa7}.tl-break.ready{background:#173428;border-color:#75e5db4c}.tl-break.ready>strong{color:#95ffd8}
.tl-partners{display:grid;gap:5px}.tl-partner{display:grid;grid-template-columns:48px 1fr;gap:7px;width:100%;padding:6px;border:1px solid #ffffff0d;border-radius:10px;background:#0d2025;color:#effff9;text-align:left}.tl-partner:hover{border-color:#75e5db44}.tl-partner>img{width:46px;height:46px;object-fit:contain;image-rendering:pixelated}.tl-partner-copy{display:grid;grid-template-columns:1fr auto;gap:2px 7px;min-width:0}.tl-partner-copy b{font-size:10px}.tl-partner-copy>strong{font-size:7px;padding:3px 5px;border-radius:5px;align-self:start}.tl-partner-copy small,.tl-partner-copy p,.tl-partner-copy em{grid-column:1/-1;margin:0;font-size:8px;line-height:1.3}.tl-partner-copy small{color:#9fbdb6}.tl-partner-copy p{color:#d8eee8}.tl-partner-copy em{font-style:normal;color:#e9b2ae}.tl-fit-excellent{background:#3e7c5f}.tl-fit-strong{background:#315f53}.tl-fit-useful{background:#5e5935}.tl-fit-loose{background:#464d4d}.tl-fit-risky{background:#673c3c}
.tl-fabric-top{display:grid;grid-template-columns:110px 160px 1fr;gap:5px}.tl-fabric-top>div{display:flex;flex-direction:column;padding:8px;border:1px solid #ffffff0c;border-radius:9px;background:#0c2025}.tl-fabric-top small{font-size:7px;color:#8daaa4}.tl-fabric-top b{font-size:15px;overflow-wrap:anywhere}.tl-fabric-top em{font-size:7px;font-style:normal;color:#9ec0b6}.tl-team-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-top:6px}.tl-team-strip button{display:flex;flex-direction:column;align-items:center;min-width:0;padding:5px;border:1px solid #ffffff0d;border-radius:9px;background:#0d2025;color:#eafff8}.tl-team-strip img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated}.tl-team-strip>button>span:not(.tl-types){font-size:8px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.tl-team-strip .tl-types{justify-content:center}.tl-team-strip .tl-types i{font-size:6px;padding:3px 4px}.tl-role-row{display:flex;gap:4px;flex-wrap:wrap;margin:7px 0}.tl-plan,.tl-gaps{padding:7px;border-radius:9px;background:#ffffff06;margin-top:5px}.tl-plan b,.tl-gaps b{font-size:8px;letter-spacing:.08em}.tl-plan p,.tl-gaps p{margin:3px 0;font-size:8px;color:#cfe4de}.tl-matrix{margin-top:7px;border-top:1px solid #ffffff0c;padding-top:6px}.tl-matrix summary{color:#b7d8cf;font-size:8px;list-style:none}.tl-matrix summary::-webkit-details-marker{display:none}.tl-matrix-grid{display:grid;grid-template-columns:1fr 52px 52px 52px;gap:1px;margin-top:6px}.tl-matrix-grid>*{padding:4px;background:#0c2025;font-size:8px}.tl-matrix-grid>b{color:#9cc2b8}.tl-matrix-grid .bad{background:#5a3135;color:#ffd9d9;font-weight:900}
.tl-loading{height:120px;border-radius:12px;background:linear-gradient(90deg,#ffffff05,#75e5db14,#ffffff05);background-size:200% 100%;animation:tlLoad 1.1s linear infinite}.tl-error,.tl-empty{padding:18px;border:1px solid #ffffff10;border-radius:10px;color:#c8ded8;font-size:11px}.tl-error{color:#ffc7c7}@keyframes tlLoad{to{background-position:-200% 0}}
@media(max-width:760px){.tl-grid{grid-template-columns:1fr}.tl-development,.tl-fabric{grid-column:auto}.tl-hero{grid-template-columns:1fr}.tl-stats{grid-template-columns:repeat(3,1fr)}.tl-fabric-top{grid-template-columns:1fr 1fr}.tl-fabric-top>div:last-child{grid-column:1/-1}.tl-team-strip{grid-template-columns:repeat(3,1fr)}.tl-heading{align-items:flex-start}.tl-heading>small{max-width:110px}.tl-card>header{align-items:flex-start;flex-direction:column}.tl-card>header small{text-align:left}.tl-evo-arrow{min-width:35px}.tl-branch{align-items:center}.tl-choose-branch{width:100%;margin:4px 0 0}.tl-matrix-grid{grid-template-columns:1fr 45px 45px 45px}}
@media(max-width:420px){#teamlab{padding:9px}.tl-selector button{min-width:116px}.tl-mon>img{width:62px;height:62px}.tl-mon h2{font-size:18px}.tl-team-strip img{width:42px;height:42px}.tl-fabric-top{grid-template-columns:1fr}.tl-fabric-top>div:last-child{grid-column:auto}.tl-evo-node img{width:36px;height:36px}.tl-evo-node{padding:3px}.tl-evo-arrow small{max-width:54px}.tl-heading span{font-size:7px}}
@media(prefers-reduced-motion:reduce){.tl-loading{animation:none!important}}
.tl-subhead{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin:9px 0 5px;padding-top:7px;border-top:1px solid #ffffff0c}.tl-subhead:first-child{margin-top:0;padding-top:0;border-top:0}.tl-subhead b{font:900 8px/1.2 system-ui;letter-spacing:.1em;color:#cffff1}.tl-subhead small{font:700 7px/1.25 system-ui;color:#789a93;text-align:right}.tl-theory{border-style:dashed}.tl-tactical{margin-top:7px;border:1px solid #b77fd52b;border-radius:9px;background:#281d2b}.tl-tactical summary{padding:7px;color:#eccfff;font-size:8px;list-style:none}.tl-tactical summary::-webkit-details-marker{display:none}.tl-tactical p{margin:0;padding:0 8px 8px;font:650 8px/1.45 system-ui;color:#decbe4}.tl-next{margin-top:8px;padding-top:1px}.tl-next article{display:grid;grid-template-columns:42px 1fr;gap:7px;padding:6px;margin-top:4px;border:1px solid #ffffff0d;border-radius:9px;background:#0d2025}.tl-next img{width:42px;height:42px;object-fit:contain;image-rendering:pixelated}.tl-next article div{min-width:0}.tl-next b{font-size:9px}.tl-next small{display:block;margin-top:2px;font-size:7px;color:#95b7af}.tl-next p{margin:3px 0 0;font-size:8px;line-height:1.3;color:#d5e9e3}
@media(max-width:760px){.tl-subhead{align-items:flex-start}.tl-subhead small{max-width:55%;}.tl-next article{grid-template-columns:38px 1fr}.tl-next img{width:38px;height:38px}}

/* v0.1.21 Threat Lab, PC specimen and six-stack layers */
.tl-box-selected{border-color:#d79fff55!important;background:#35233e!important}.tl-open-field{margin-left:auto!important;border-style:dashed!important;color:#b7fff0!important}.tl-open-field small{font-size:7px!important;color:#8eb8ae!important}
.tl-threat-card,.tl-optimizer-card{grid-column:1/-1}.tl-threat-overview{display:grid;grid-template-columns:1fr 1fr;gap:6px}.tl-threat-overview>div{display:flex;flex-direction:column;padding:9px;border:1px solid #ffffff10;border-radius:9px;background:#0c2025}.tl-threat-overview small{font:800 7px/1 system-ui;color:#8daaa4}.tl-threat-overview b{margin-top:3px;font-size:17px}.tl-threat-overview em{margin-top:2px;font:700 8px/1.3 system-ui;font-style:normal;color:#9ec0b6}.tl-threat-strip{display:flex;gap:5px;overflow-x:auto;padding:7px 1px 4px;scrollbar-width:thin}.tl-threat-strip button{flex:0 0 64px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:5px 3px;border:1px solid #ffffff0e;border-radius:9px;background:#0c2025;color:#dffcf4}.tl-threat-strip button.selected{border-color:#ff9f8f66;background:#3b2022}.tl-threat-strip img{width:42px;height:42px;object-fit:contain;image-rendering:pixelated}.tl-threat-strip span{max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 7px/1.2 system-ui}
.tl-benchmark-controls,.tl-opt-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:7px}.tl-benchmark-controls label,.tl-opt-controls label{display:flex;flex-direction:column;gap:4px;font:900 7px/1 system-ui;color:#8eb0a8;letter-spacing:.06em}.tl-benchmark-controls select,.tl-opt-controls select{min-width:0;width:100%;padding:7px;border:1px solid #75e5db2d;border-radius:8px;background:#08181d;color:#eafff8;font:750 9px/1.2 system-ui}.tl-bench-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:7px}.tl-bench-grid article{display:flex;flex-direction:column;gap:4px;padding:9px;border:1px solid #ffffff0e;border-radius:10px;background:#0d2025}.tl-bench-grid small{font:900 7px/1.2 system-ui;color:#8eb0a8;letter-spacing:.06em}.tl-bench-grid b{font-size:14px;color:#eafff8}.tl-bench-grid p{margin:0;font:650 8px/1.4 system-ui;color:#b9d5ce}.tl-bench-grid strong{font:850 8px/1.35 system-ui;color:#9af2d6}.tl-ev-optimizer{margin-top:8px;padding:8px;border:1px solid #75e5db1f;border-radius:11px;background:#07191e}.tl-ev-spread{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.tl-ev-spread div{display:flex;flex-direction:column;align-items:center;padding:6px 2px;border:1px solid #ffffff0c;border-radius:8px;background:#0d2025}.tl-ev-spread small{font:800 7px/1 system-ui;color:#89aaa3}.tl-ev-spread b{font-size:13px}.tl-ev-optimizer>p{margin:6px 1px 0;font:800 8px/1.35 system-ui}.tl-ev-optimizer>p.ok{color:#8ff5d2}.tl-ev-optimizer>p.bad,.tl-warn{color:#ffc0b7}.tl-exact-note{margin:8px 0 0;padding:7px;border-left:2px solid #75e5db50;background:#75e5db08;font:650 8px/1.45 system-ui;color:#9dbab3}
.tl-opt-results{display:grid;gap:7px;margin-top:8px}.tl-opt-results>article{padding:9px;border:1px solid #ffffff0f;border-radius:11px;background:#0b1e23}.tl-opt-results article>header{display:flex;justify-content:space-between;gap:8px;align-items:center}.tl-opt-results article>header b{font:900 9px/1.2 system-ui}.tl-opt-results article>header span{padding:4px 6px;border-radius:99px;background:#23493f;color:#aef8e1;font:900 7px/1 system-ui}.tl-opt-team{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-top:7px}.tl-opt-team>div{display:flex;flex-direction:column;align-items:center;min-width:0;padding:5px;border-radius:8px;background:#07191e;border:1px solid #ffffff0b}.tl-opt-team img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated}.tl-opt-team b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.tl-opt-team small{max-width:100%;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:6.5px;color:#87aaa2}.tl-opt-results article>footer{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.tl-opt-results article>footer span{padding:4px 6px;border-radius:7px;background:#ffffff08;font:700 7px/1.2 system-ui;color:#9fbdb6}.tl-opt-results article>p{margin:6px 0 0;font:650 8px/1.35 system-ui;color:#c9dfd9}.tl-warn{margin:7px 0;padding:7px;border:1px solid #ff9f8f26;border-radius:8px;background:#3b202222;font:750 8px/1.4 system-ui}
@media(max-width:760px){.tl-threat-card,.tl-optimizer-card{grid-column:auto}.tl-benchmark-controls,.tl-opt-controls,.tl-bench-grid{grid-template-columns:1fr}.tl-ev-spread{grid-template-columns:repeat(3,1fr)}.tl-opt-team{grid-template-columns:repeat(3,1fr)}.tl-threat-overview{grid-template-columns:1fr}.tl-open-field{margin-left:0!important;min-width:130px}}
@media(max-width:420px){.tl-threat-strip button{flex-basis:58px}.tl-threat-strip img{width:38px;height:38px}.tl-opt-team img{width:42px;height:42px}}
/* v0.1.21.1 · ADV role grammar + TeamLab → Live EV Coach handshake */
.tl-role-card{align-self:start}.tl-role-profile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.tl-role-profile article{display:flex;flex-direction:column;gap:4px;padding:8px;border:1px solid #ffffff0d;border-radius:9px;background:#0c2025}.tl-role-profile article>div{display:flex;align-items:center;justify-content:space-between;gap:7px}.tl-role-profile b{font:900 9px/1.15 system-ui;letter-spacing:.035em;color:#effff9}.tl-role-profile span{flex:0 0 auto;padding:3px 5px;border-radius:99px;background:#75e5db16;border:1px solid #75e5db28;font:900 6px/1 system-ui;color:#aef4e1}.tl-role-profile small{font:700 8px/1.35 system-ui;color:#a9c9c1}.tl-role-profile .tl-role-coverage{border-color:#9f92ff2d;background:#15182b}.tl-role-profile .tl-role-theme{border-color:#70b9ff28;background:#0e1c2a}.tl-role-profile .tl-role-utility{background:#101e23}.tl-ev-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:7px 0 2px}.tl-ev-actions button{appearance:none;border:1px solid #74e9c94d;background:#153c34;color:#eafff8;border-radius:8px;padding:8px 10px;font:900 8px/1 system-ui;letter-spacing:.04em}.tl-ev-actions button:hover{background:#1e5145}.tl-ev-actions button.sent{border-color:#8ef4cf;background:#245a48;color:#f1fff9}.tl-ev-actions button:disabled{cursor:not-allowed;opacity:.36;background:#162326}.tl-ev-actions small{font:700 7px/1.3 system-ui;color:#819e98}
@media(max-width:560px){.tl-role-profile{grid-template-columns:1fr}.tl-ev-actions{align-items:stretch}.tl-ev-actions button{width:100%;min-height:36px}.tl-ev-actions small{width:100%}}

/* v0.1.24.8.4 · Gen III STAB axis */
.tl-stab-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.tl-stab-summary>div{padding:12px;border:1px solid rgba(125,245,213,.16);border-radius:14px;background:rgba(6,30,32,.45)}.tl-stab-summary small,.tl-stab-split>section>small{display:block;color:#8ca4a1;font-size:10px;letter-spacing:.13em}.tl-stab-summary b{display:block;margin-top:4px;font-size:18px}.tl-stab-line{padding:12px 13px;border:1px solid rgba(125,245,213,.14);border-radius:13px;background:rgba(3,20,24,.48);margin:8px 0}.tl-stab-line>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tl-stab-line small{display:block;margin-top:5px;color:#a8b8b6;line-height:1.45}.tl-stab-cat{font-size:9px;letter-spacing:.12em;border-radius:999px;padding:4px 7px;border:1px solid currentColor}.tl-stab-physical{color:#ffb36d}.tl-stab-special{color:#9bc7ff}.tl-stab-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.tl-stab-split>section{min-width:0}@media(max-width:650px){.tl-stab-summary,.tl-stab-split{grid-template-columns:1fr}.tl-stab-line{padding:11px}}
