/* Shared Neon League presentation; scores and eligibility remain server controlled. */
.nl-hero{background:#08090c;border-color:#b52835;padding:clamp(22px,4vw,42px)}
.nl-brand{letter-spacing:.25em;color:#ff5864}
.nl-hero h1{font-size:clamp(32px,5vw,64px);line-height:1.08;overflow-wrap:anywhere}
.nl-card{background:linear-gradient(135deg,#18191f,#0c0d11);color:#fff;padding:20px;border:1px solid #34343c;border-radius:20px;overflow:hidden}
.nl-card:focus-visible,.nl-bm:focus-visible{outline:3px solid #ff5864;outline-offset:4px}
.nl-card-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding-bottom:16px;border-bottom:1px solid #ffffff14}
.nl-round{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:#ff7780;background:#e62e2d19;border:1px solid #e62e2d44;border-radius:7px;padding:5px 8px}
.nl-card-meta small{font-size:12px;color:#b6b6c1}
.nl-card .nl-vs{padding:18px 0;margin:0;gap:14px}
.nl-card .nl-who,.nl-card .nl-who.right{flex-direction:column;text-align:center;gap:12px}
.nl-card .nl-who>div{min-width:0;max-width:100%}
.nl-card .nl-av{width:80px;height:80px;box-shadow:0 0 0 3px #15151b,0 0 0 4px #e62e2d77}
.nl-av{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;color:#ff7780;font-weight:800;background:#202027}
.nl-av img{display:block;width:100%;height:100%;object-fit:cover}
.nl-country{font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin-top:5px;color:#aaaab8!important;min-height:16px}
.nl-x{display:grid;place-items:center;width:38px;height:38px;border:1px solid #e62e2d66;border-radius:50%;background:#e62e2d16;color:#ff6470}
.nl-card-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff14;padding-top:14px;color:#ff7780;font-size:12px;font-weight:700}
.nl-card.is-live{border-color:#ff4656;box-shadow:0 0 25px #e62e2d22}
.nl-bracket{scroll-snap-type:x proximity;padding:4px 4px 14px;scrollbar-color:#b52835 #17171d}
.nl-col{scroll-snap-align:start}
.nl-bm{border-radius:12px;background:linear-gradient(135deg,#19191f,#101014)}
.nl-bm:hover{border-color:#b52835}
.nl-table .nl-who{min-width:180px}.nl-table tbody tr:hover{background:#e62e2d08}
.nl-side-top>div{min-width:0}.nl-side-top b{overflow-wrap:anywhere}.nl-score{font-size:clamp(24px,4vw,34px)}
@media(max-width:560px){.nl-card{padding:16px}.nl-sec-head{align-items:flex-start}.nl-sec-head h2{font-size:20px}.nl-sec-head>small{max-width:110px;text-align:right}.nl-parts{flex-wrap:wrap;gap:8px}.nl-side-top{gap:9px}.nl-side-top .nl-av{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.nl-live::before{animation:none}.nl-card{transition:none}}

/* Compact round columns keep every match readable without large empty gaps. */
.nl-bracket{grid-template-columns:repeat(5,260px);gap:24px;padding:6px 6px 22px;align-items:start}
.nl-bracket .nl-col{justify-content:flex-start;gap:12px;min-width:0}
.nl-col h3{display:flex;flex-direction:column;gap:6px;min-height:56px;margin:0;padding:12px 14px;border:1px solid #e62e2d44;border-radius:12px;background:linear-gradient(120deg,#e62e2d20,#16161c);color:#ff7780}
.nl-col h3 small{font-size:10px;font-weight:500;letter-spacing:.04em;text-transform:none;color:var(--muted)}
.nl-bracket .nl-bm{position:relative;overflow:visible;box-shadow:0 5px 14px #00000015}
.nl-bm:after{content:"";position:absolute;right:-25px;top:50%;width:24px;height:1px;background:linear-gradient(90deg,#e62e2d77,#e62e2d22)}
.nl-col:last-child .nl-bm:after{display:none}
.nl-bm .nl-bm-meta{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;border-bottom:1px solid #ffffff0d;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#aaaab8}
.nl-bm.is-live .nl-bm-meta{color:#ff7780}
.nl-bm .nl-bm-player{display:flex;align-items:center;justify-content:flex-start;padding:12px;gap:10px;min-height:55px}
.nl-bm .nl-bm-player+.nl-bm-player{border-top:1px solid #ffffff0d}
.nl-bm .nl-av{width:30px;height:30px;border-radius:9px;box-shadow:none;flex:none;font-size:12px}
.nl-bm .nl-bm-name{flex:1;min-width:0;font-size:12px}
.nl-bm .nl-av:after{content:none}
.nl-bm .w .nl-bm-name:after{color:#ff7780}
.nl-bm .l{opacity:.65}
.nl-bm em{min-width:26px;text-align:center;border-radius:6px;padding:4px;background:#ffffff08;font-size:12px;font-weight:700}
.nl-bm .w em{background:#e62e2d20;color:#ff7780}
.nl-col:last-child h3{border-color:#b99a56;color:#e5c783;background:linear-gradient(120deg,#b99a5622,#16161c)}
@media(max-width:560px){.nl-bracket{grid-template-columns:repeat(5,245px);gap:20px}.nl-bm:after{width:20px;right:-21px}}
.nl-bm .w .nl-av::after,.nl-bm .w .nl-av span::after{content:none}

/* Standings retain confirmed tournament ranks and adapt to cards on phones. */
.nl-standings.ex-card{padding:0;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--surface)}
.nl-standings .nl-table{margin:0}
.nl-table-caption{caption-side:top;text-align:left;padding:17px 20px;font-size:12px;line-height:1.5;color:var(--muted);border-bottom:1px solid var(--line)}
.nl-standings .nl-table th{padding:14px 16px;background:var(--surface-2);font-size:10px;letter-spacing:.1em;white-space:nowrap}
.nl-standings .nl-table td{padding:17px 16px;vertical-align:middle;border-bottom:1px solid var(--line)}
.nl-standings .nl-table tbody tr:last-child td{border-bottom:0}
.nl-standings .nl-table .nl-av{width:42px;height:42px;border-radius:12px;box-shadow:0 0 0 1px #e62e2d44}
.nl-table-identity{min-width:0}
.nl-table-identity b{font-size:13px;font-weight:700}
.nl-table-identity small{display:block;margin-top:4px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nl-standings .nl-table .num{font-size:14px;font-weight:700}
.nl-standings .nl-table-points{color:#ff7780}
.nl-standings .nl-rank{width:32px;height:32px;border-radius:10px;border:1px solid var(--line);font-size:12px}
.nl-standings .nl-tag{height:auto;min-height:27px;padding:5px 10px;font-size:10px;white-space:nowrap;line-height:1.4;border:1px solid var(--line)}
.nl-standings .nl-tag.in{color:#ff8891;border-color:#e62e2d44;background:#e62e2d14}
.nl-standings .nl-tag.champ{background:linear-gradient(120deg,#e2c47e,#bd9340);color:#17120a;border-color:#e2c47e}
.nl-standings tr.r1{background:#b99a560b}
.nl-standings tr.r1 .nl-rank{background:linear-gradient(135deg,#e2c47e,#bd9340);color:#17120a;box-shadow:none;border-color:#e2c47e}
@media(max-width:700px){
.nl-standings .nl-table,.nl-standings .nl-table tbody{display:block;width:100%}
.nl-standings .nl-table-caption{display:block}
.nl-standings .nl-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.nl-standings .nl-table tbody{padding:10px;box-sizing:border-box}
.nl-standings .nl-table tbody tr{display:grid;grid-template-columns:34px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:14px 8px;padding:15px 12px;border:1px solid var(--line);border-radius:14px;margin-bottom:10px}
.nl-standings .nl-table tbody tr:last-child{margin-bottom:0}
.nl-standings .nl-table td{display:block;padding:0;border:0!important}
.nl-standings .nl-table td:first-child{grid-column:1;grid-row:1;align-self:center}
.nl-standings .nl-table td:nth-child(2){grid-column:2/-1;grid-row:1}
.nl-standings .nl-table .nl-who{min-width:0;gap:10px}
.nl-standings .nl-who b{white-space:normal;overflow-wrap:anywhere}
.nl-standings .nl-table td.num{padding:10px 6px;background:var(--surface-2);border-radius:9px;text-align:center}
.nl-standings .nl-table td.num:before{content:attr(data-label);display:block;margin-bottom:6px;font-size:9px;font-weight:500;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.nl-standings .nl-table td:nth-child(3){grid-column:2}
.nl-standings .nl-table td.nl-table-status{grid-column:2/-1}
}

/* Upcoming fixtures share the League's compact head-to-head presentation. */
.nl-schedule-note{margin:-4px 0 16px;font-size:12px;color:var(--muted)}
.nl-schedule{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:14px}
.nl-fixture{display:block;min-width:0;padding:18px;border:1px solid var(--line);border-radius:18px;text-decoration:none;color:var(--text);background:linear-gradient(135deg,var(--surface-2),var(--surface));transition:border-color .15s,transform .15s}
.nl-fixture:hover{border-color:#e62e2d88;transform:translateY(-2px)}
.nl-fixture:focus-visible{outline:3px solid #ff7780;outline-offset:3px}
.nl-fixture-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.nl-fixture-meta>span:last-child{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.nl-fixture-pair{display:grid;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);align-items:center;gap:10px;padding:23px 0}
.nl-fixture-artist{display:flex;flex-direction:column;align-items:center;gap:11px;text-align:center;min-width:0}
.nl-fixture-artist .nl-av{width:52px;height:52px;border-radius:15px;box-shadow:0 0 0 1px #e62e2d66}
.nl-fixture-artist b{font-size:13px;line-height:1.5;overflow-wrap:anywhere;max-width:100%}
.nl-fixture-vs{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:10px;font-weight:800;color:#ff7780;background:#e62e2d14;border:1px solid #e62e2d44}
.nl-fixture-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:14px;border-top:1px solid var(--line);font-size:11px}
.nl-fixture-footer time{font-weight:600;font-variant-numeric:tabular-nums}
.nl-fixture-open{color:#ff7780;font-weight:700;white-space:nowrap}
.nl-fixture-open>span{margin-left:6px}
@media(max-width:560px){.nl-fixture{padding:16px}.nl-fixture-pair{padding:20px 0}.nl-fixture-footer{font-size:11px}}
@media(prefers-reduced-motion:reduce){.nl-fixture{transition:none}}

.nl-banner{margin:6px 0 16px;border-radius:20px;overflow:hidden;border:1px solid #7c3e8a55;background:#080910}
.nl-banner img{display:block;width:100%;height:auto}
.nl-registration.ex-card{padding:clamp(20px,4vw,30px);border:1px solid #a1429555;background:linear-gradient(130deg,#12203833,#511b4c33)}
.nl-registration h2{font-size:clamp(23px,4vw,32px);line-height:1.2;margin:14px 0}
.nl-registration p{color:var(--muted);font-size:14px;line-height:1.7;max-width:65ch}
.nl-request-status{padding:14px 16px;border:1px solid #a1429566;border-radius:12px}
.nl-launch-steps{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.nl-launch-steps span{border:1px solid var(--line);border-radius:8px;padding:9px 12px;font-size:11px;color:var(--muted)}
.nl-launch-steps .active{border-color:#be55af77;color:#e8a6df;background:#be55af14}
.nl-banner-button{position:relative;display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;color:#fff}
.nl-banner-button:focus-visible{outline:3px solid #55dcff;outline-offset:-5px}
.nl-preview-hint{display:block;padding:13px 18px;background:linear-gradient(90deg,#122743,#3c153e);font-size:12px;font-weight:700}
.nl-preview{width:min(1200px,94vw);max-width:94vw;max-height:90dvh;padding:0;border:1px solid #a14295;border-radius:16px;color:#fff;background:#0b0d16;box-shadow:0 20px 100px #0009;overflow:auto}
.nl-preview::backdrop{background:#000c;backdrop-filter:blur(5px)}
.nl-preview img{display:block;width:100%;height:auto}
.nl-preview-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:18px}
.nl-preview-heading h2{font-size:18px;margin:0 0 6px}.nl-preview-heading p{font-size:12px;color:#bbb;margin:0}
.nl-preview-heading button{flex:none;width:38px;height:38px;border:1px solid #ffffff33;border-radius:50%;background:#ffffff10;color:#fff;cursor:pointer}
.nl-preview-heading{position:sticky;top:0;z-index:1;background:#0b0d16}
.nl-preview img{max-height:calc(90dvh - 76px);width:100%;object-fit:contain}
.nl-live-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.nl-live-tile{position:relative;min-width:0;background:#090b13;border:1px solid #28c8f377;border-radius:15px;overflow:hidden}
.nl-live-tile:nth-child(2){border-color:#ed46be88}
.nl-live-player{width:100%;aspect-ratio:3/4;min-height:180px}
.nl-live-tile>span{position:absolute;bottom:0;left:0;right:0;padding:12px;background:linear-gradient(transparent,#000d);color:#fff;font-size:13px;font-weight:700;pointer-events:none}
.nl-live-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.nl-chat{margin-top:24px}.nl-chat h2{font-size:22px}.nl-chat-messages{max-height:340px;min-height:80px;overflow:auto;margin:16px 0;overscroll-behavior:contain}
.nl-comment{padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5;overflow-wrap:anywhere}.nl-comment b{display:block;color:#e878c5;font-size:11px;margin-bottom:4px}.nl-comment span{white-space:pre-wrap}
#nlChatForm{display:flex;gap:10px}#nlChatForm input{min-width:0;flex:1}
/* Battle teams: blue on the left, red on the right. */
.nl-battle-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0 12px}
.nl-battle-tools>span{font-weight:700;color:#e6edf6;font-size:14px}
.nl-battle-tools>div{display:flex;gap:8px}
.nl-arena{--blue:#22ceff;--red:#ff405e}
.nl-live-grid{position:relative;gap:12px}
.nl-live-grid:after{content:"VS";position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);z-index:3;padding:10px 6px;font-size:18px;font-weight:900;font-style:italic;color:white;text-shadow:-2px 0 #22ceff,2px 0 #ff405e;background:#070e1ce8;border:1px solid #ffffff55;border-radius:12px;pointer-events:none}
.nl-live-tile[data-team=a]{border:2px solid var(--blue);box-shadow:inset 0 0 20px #22ceff15,0 0 20px #22ceff22}
.nl-live-tile[data-team=b]{border:2px solid var(--red);box-shadow:inset 0 0 20px #ff405e15,0 0 20px #ff405e22}
.nl-live-tile>span small{display:block;font-size:9px;letter-spacing:.14em;margin-bottom:5px;color:#22ceff}
.nl-live-tile[data-team=b]>span small{color:#ff6079}
#nlSidea{border-color:#22ceff77;background:linear-gradient(135deg,#22ceff12,#070b16)}
#nlSideb{border-color:#ff405e77;background:linear-gradient(135deg,#ff405e12,#070b16)}
#nlSidea .nl-score,#nlSidea .nl-side-badge{color:#22ceff}
#nlSideb .nl-score,#nlSideb .nl-side-badge{color:#ff6079}
#nlSidea .nl-av{box-shadow:0 0 0 2px #22ceff77}
#nlSidea.lead{border-color:#22ceff;box-shadow:0 0 20px #22ceff33}
#nlSideb.lead{border-color:#ff405e;box-shadow:0 0 20px #ff405e33}
.nl-side-badge{font-size:10px;font-weight:800;letter-spacing:.03em;padding:10px 0 3px}
#nlBarA{background:#22ceff}#nlBarB{background:#ff405e}
.nl-acts .nl-comment-link{display:flex;align-items:center;justify-content:center;border:1px solid #ffffff22;border-radius:12px;text-decoration:none;color:#ddd;font-size:12px;min-height:40px;grid-column:1/-1}
#nlSidea [data-act=vote]{background:#22ceff22;border-color:#22ceff77}
#nlSideb [data-act=vote]{background:#ff405e22;border-color:#ff405e77}
.nl-result-banner{margin:14px 0;padding:20px;border:1px solid #e3c177;background:linear-gradient(120deg,#e3c17720,#10131e);border-radius:16px;color:#f3d791;font-size:18px;font-weight:800}
.nl-arena:fullscreen{background:#070a12;padding:28px;overflow:auto;grid-template-columns:minmax(0,1fr) 360px}
@media(max-width:650px){.nl-arena:fullscreen{grid-template-columns:1fr;padding:14px}.nl-battle-tools .ex-btn{font-size:11px;padding:9px 12px}}
