/* Neon League match page: video layout controls (widen a side, full screen). Red and black only. */
.nl-live-grid{position:relative}
.nl-stage-dock{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:7;display:flex;flex-direction:column;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 20px)}
.nl-stage-bar,.nl-stage-live{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;max-width:100%;padding:5px;border-radius:999px;background:rgba(0,0,0,.74);border:1px solid rgba(230,46,45,.6);box-shadow:0 12px 30px -10px rgba(0,0,0,.9);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:opacity .25s}
.nl-stage-bar button{flex:0 1 auto;min-width:0;height:34px;padding:0 13px;border:0;border-radius:999px;background:transparent;color:#fff;font:700 12.5px/1 system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:background .15s}
.nl-stage-bar button:hover{background:rgba(230,46,45,.35)}
.nl-stage-bar button[aria-pressed=true]{background:#E62E2D}
.nl-stage-bar .nl-stage-sep{flex:none;width:1px;height:20px;background:rgba(255,255,255,.22);margin:0 3px}
.nl-stage-bar button:focus-visible,.nl-tile-widen:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* per-tile "widen this side" button */
.nl-tile-widen{position:absolute;top:10px;right:10px;z-index:6;display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.28);border-radius:12px;background:rgba(0,0,0,.62);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .15s,border-color .15s}
.nl-tile-widen svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.nl-tile-widen:hover,.nl-tile-widen[aria-pressed=true]{background:#E62E2D;border-color:#E62E2D}
.nl-live-tile{cursor:zoom-in}

/* focus: one side wide, the other becomes a small picture in the corner */
.nl-live-grid.view-a,.nl-live-grid.view-b{grid-template-columns:minmax(0,1fr)}
.nl-live-grid.view-a:after,.nl-live-grid.view-b:after{display:none}
.nl-live-grid.view-a .nl-live-tile[data-team=b],.nl-live-grid.view-b .nl-live-tile[data-team=a]{position:absolute;right:12px;bottom:calc(var(--dock-h,64px) + 22px);width:min(34%,240px);z-index:5;cursor:pointer;box-shadow:0 16px 36px -10px rgba(0,0,0,.9)}
.nl-live-grid.view-a .nl-live-tile[data-team=b] .nl-live-player,.nl-live-grid.view-b .nl-live-tile[data-team=a] .nl-live-player{aspect-ratio:3/4;min-height:0}
.nl-live-grid.view-a .nl-live-tile[data-team=b]>span,.nl-live-grid.view-b .nl-live-tile[data-team=a]>span{padding:7px 9px;font-size:11px}
.nl-live-grid.view-a .nl-live-tile[data-team=b] .nl-tile-widen,.nl-live-grid.view-b .nl-live-tile[data-team=a] .nl-tile-widen{display:none}
.nl-live-grid.view-a .nl-live-tile[data-team=a],.nl-live-grid.view-b .nl-live-tile[data-team=b]{cursor:zoom-out}
.nl-live-grid.view-a .nl-live-tile[data-team=a] .nl-live-player,.nl-live-grid.view-b .nl-live-tile[data-team=b] .nl-live-player{aspect-ratio:16/10;min-height:300px;max-height:80vh}

/* full screen (real fullscreen, or a fixed overlay where the browser has none, e.g. iPhone Safari) */
.nl-live-grid:fullscreen,.nl-live-grid:-webkit-full-screen,.nl-live-grid.is-pseudo-fs{background:#000;padding:0;gap:3px;width:100%;height:100%;overflow:hidden}
.nl-live-grid.is-pseudo-fs{position:fixed!important;inset:0;z-index:2147483000;width:100vw;height:100vh;height:100dvh}
.nl-live-grid:fullscreen,.nl-live-grid.is-pseudo-fs{grid-template-rows:minmax(0,1fr)}
.nl-live-grid:fullscreen .nl-live-tile,.nl-live-grid.is-pseudo-fs .nl-live-tile{border-radius:0;min-height:0;height:100%}
.nl-live-grid:fullscreen .nl-live-player,.nl-live-grid.is-pseudo-fs .nl-live-player,
.nl-live-grid.view-a:fullscreen .nl-live-tile[data-team=a] .nl-live-player,.nl-live-grid.view-b:fullscreen .nl-live-tile[data-team=b] .nl-live-player,
.nl-live-grid.view-a.is-pseudo-fs .nl-live-tile[data-team=a] .nl-live-player,.nl-live-grid.view-b.is-pseudo-fs .nl-live-tile[data-team=b] .nl-live-player{aspect-ratio:auto;height:100%;max-height:none;min-height:0}
.nl-live-grid:fullscreen.view-a .nl-live-tile[data-team=b] .nl-live-player,.nl-live-grid:fullscreen.view-b .nl-live-tile[data-team=a] .nl-live-player,
.nl-live-grid.is-pseudo-fs.view-a .nl-live-tile[data-team=b] .nl-live-player,.nl-live-grid.is-pseudo-fs.view-b .nl-live-tile[data-team=a] .nl-live-player{aspect-ratio:3/4;height:auto}
.nl-live-grid:fullscreen.view-a .nl-live-tile[data-team=b],.nl-live-grid:fullscreen.view-b .nl-live-tile[data-team=a],
.nl-live-grid.is-pseudo-fs.view-a .nl-live-tile[data-team=b],.nl-live-grid.is-pseudo-fs.view-b .nl-live-tile[data-team=a]{height:auto;border-radius:14px;width:min(26%,320px);right:18px;bottom:calc(var(--dock-h,64px) + 28px)}
.nl-live-grid:fullscreen .nl-live-tile>span,.nl-live-grid.is-pseudo-fs .nl-live-tile>span{font-size:15px;padding:16px}
.nl-live-grid:fullscreen.view-a .nl-live-tile[data-team=b]>span,.nl-live-grid:fullscreen.view-b .nl-live-tile[data-team=a]>span,
.nl-live-grid.is-pseudo-fs.view-a .nl-live-tile[data-team=b]>span,.nl-live-grid.is-pseudo-fs.view-b .nl-live-tile[data-team=a]>span{font-size:12px;padding:9px 11px}
.nl-live-grid.is-idle .nl-stage-bar,.nl-live-grid.is-idle .nl-stage-live,.nl-live-grid.is-idle .nl-tile-widen{opacity:0;pointer-events:none}
.nl-live-grid.is-idle{cursor:none}
html.nl-no-scroll,html.nl-no-scroll body{overflow:hidden!important}

@media (max-width:620px){
  .nl-stage-dock{bottom:8px}
  .nl-stage-bar,.nl-stage-live{padding:4px}
  .nl-stage-bar button{height:32px;padding:0 10px;font-size:12px;max-width:34vw}
  .nl-live-grid.view-a .nl-live-tile[data-team=a] .nl-live-player,.nl-live-grid.view-b .nl-live-tile[data-team=b] .nl-live-player{aspect-ratio:3/4;min-height:260px}
  .nl-live-grid.view-a .nl-live-tile[data-team=b],.nl-live-grid.view-b .nl-live-tile[data-team=a]{width:min(36%,150px);bottom:calc(var(--dock-h,56px) + 16px)}
  .nl-customer-display .nl-live-grid:not(:fullscreen):not(.is-pseudo-fs) .nl-stage-dock{position:static;left:auto;bottom:auto;transform:none;grid-column:1/-1;width:100%;max-width:100%;margin:8px 0 14px;gap:6px;z-index:1}
  .nl-customer-display .nl-live-grid:not(:fullscreen):not(.is-pseudo-fs) .nl-stage-bar,.nl-customer-display .nl-live-grid:not(:fullscreen):not(.is-pseudo-fs) .nl-stage-live{width:100%;max-width:100%;justify-content:center;border-radius:14px}
  .nl-customer-display .nl-live-grid:not(:fullscreen):not(.is-pseudo-fs) .nl-stage-bar button,.nl-customer-display .nl-live-grid:not(:fullscreen):not(.is-pseudo-fs) .nl-stage-live .nl-sb-btn{max-width:none;flex:1 1 auto;min-width:0;padding:0 8px;font-size:11px}
  .nl-customer-display .nl-live-grid:not(:fullscreen):not(.is-pseudo-fs){padding-bottom:8px}
}
@media (prefers-reduced-motion:reduce){.nl-stage-bar,.nl-stage-live,.nl-tile-widen,.nl-stage-bar button{transition:none}}

/* your camera and microphone, mirrored into the video so they work when it is wide or full screen */
.nl-stage-live[hidden],.nl-sb-btn[hidden]{display:none}
.nl-sb-btn{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 15px;border:0;border-radius:999px;background:transparent;color:#fff;font:700 12.5px/1 system-ui,sans-serif;white-space:nowrap;cursor:pointer;transition:background .15s}
.nl-sb-btn:hover{background:rgba(230,46,45,.35)}
.nl-sb-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
.nl-sb-btn .nl-dot{flex:none;width:9px;height:9px;border-radius:50%;background:#E62E2D;box-shadow:0 0 0 3px rgba(230,46,45,.32)}
.nl-sb-btn[data-state=off]{color:#c9c9c9}
.nl-sb-btn[data-state=off] .nl-dot{background:transparent;border:2px solid #7a7a7a;box-shadow:none}
.nl-sb-btn.is-primary{background:#E62E2D}
.nl-sb-btn.is-primary:hover{filter:brightness(1.1);background:#E62E2D}
.nl-sb-btn:disabled{opacity:.55;cursor:default}

/* next match, shown on the video for everyone */
.nl-live-grid>.nl-next-ad{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:7}
.nl-next-ad{display:flex;align-items:center;gap:10px;max-width:100%;padding:6px 8px 6px 6px;border-radius:999px;background:linear-gradient(90deg,#E62E2D,#7d1210);border:1px solid rgba(255,255,255,.3);box-shadow:0 14px 30px -12px rgba(230,46,45,.9);color:#fff;font-family:system-ui,sans-serif}
.nl-stage-dock .nl-next-ad{position:static;transform:none}
.nl-next-ad .nl-next-tag{flex:none;display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;background:#000;font:800 10.5px/1 system-ui,sans-serif;letter-spacing:.1em}
.nl-next-ad a{display:flex;align-items:center;gap:8px;min-width:0;color:#fff;text-decoration:none}
.nl-next-ad b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 13px/1.2 system-ui,sans-serif}
.nl-next-ad b i{font-style:normal;opacity:.75;font-size:10.5px;letter-spacing:.08em;margin:0 3px}
.nl-next-ad small{flex:none;font:700 12px/1 system-ui,sans-serif;opacity:.92;white-space:nowrap}
.nl-next-ad .nl-next-x{flex:none;width:26px;height:26px;border:0;border-radius:50%;background:rgba(0,0,0,.3);color:#fff;cursor:pointer;font-size:12px}
.nl-next-ad .nl-next-x:hover{background:rgba(0,0,0,.55)}
.nl-next-ad[hidden]{display:none}

/* camera status, visible to everyone */
.nl-live-tile>span{z-index:3}
.nl-cam-off{position:absolute;inset:0;z-index:2;display:none;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:radial-gradient(circle at 50% 42%,#2b0b0b,#050505 70%);color:#fff;font:700 15px system-ui,sans-serif;text-align:center;pointer-events:none}
.nl-cam-off svg{width:48px;height:48px;fill:none;stroke:#E62E2D;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.nl-live-tile[data-camera=off] .nl-cam-off{display:flex}
.nl-cam-badge{position:absolute;left:12px;top:62px;z-index:5;display:none;align-items:center;gap:7px;height:26px;padding:0 11px;border-radius:999px;background:rgba(0,0,0,.66);border:1px solid rgba(255,255,255,.25);color:#fff;font:700 11px/1 system-ui,sans-serif;letter-spacing:.03em;pointer-events:none}
.nl-live-tile[data-camera] .nl-cam-badge{display:inline-flex}
.nl-cam-badge i{width:8px;height:8px;border-radius:50%;background:#E62E2D;animation:nlCamPulse 1.3s infinite}
.nl-live-tile[data-camera=off] .nl-cam-badge i{background:#7a7a7a;animation:none}
@keyframes nlCamPulse{50%{opacity:.35}}
.nl-live-grid.view-a .nl-live-tile[data-team=b] .nl-cam-badge,.nl-live-grid.view-b .nl-live-tile[data-team=a] .nl-cam-badge{display:none}
.nl-live-grid.view-a .nl-live-tile[data-team=b] .nl-cam-off,.nl-live-grid.view-b .nl-live-tile[data-team=a] .nl-cam-off{font-size:11px;gap:6px}
.nl-live-grid.view-a .nl-live-tile[data-team=b] .nl-cam-off svg,.nl-live-grid.view-b .nl-live-tile[data-team=a] .nl-cam-off svg{width:26px;height:26px}
@media (max-width:620px){.nl-next-ad b{font-size:12px}.nl-next-ad small{display:none}.nl-sb-btn{padding:0 11px;height:34px}}
@media (prefers-reduced-motion:reduce){.nl-cam-badge i{animation:none}}

/* waiting room: who is ready, and the artist's pre-flight card (red and black only) */
.nl-presence{margin:12px 0;padding:12px 14px;border-radius:16px;background:#000;border:1px solid #2B2B2B}
.nl-pres-chips{display:flex;flex-wrap:wrap;gap:8px}
.nl-pres-chip{display:inline-flex;align-items:center;gap:9px;min-height:34px;padding:0 14px;border-radius:999px;background:#141414;border:1px solid #2B2B2B;color:#fff;font:700 13px system-ui,sans-serif}
.nl-pres-chip i{flex:none;width:9px;height:9px;border-radius:50%;background:#6b6b6b}
.nl-pres-chip em{font-style:normal;font-weight:600;color:#A3A3A3;font-size:12px}
.nl-pres-chip[data-state=ready]{border-color:rgba(230,46,45,.7)}
.nl-pres-chip[data-state=ready] i{background:#E62E2D;box-shadow:0 0 0 3px rgba(230,46,45,.3)}
.nl-pres-chip[data-state=ready] em{color:#fff}
.nl-pres-chip[data-state=checking] i,.nl-pres-chip[data-state=weak] i{background:transparent;border:2px solid #E62E2D}
.nl-pres-chip[data-state=weak] em{color:#ffb4b3}
.nl-pres-chip[data-state=missing] i{background:#000;border:2px solid #666}
.nl-pres-note{margin:10px 0 0;color:#d4d4d4;font-size:13px;line-height:1.45}
.nl-pres-note:empty{display:none}
.nl-pres-note[data-warn]{color:#ff8a89;font-weight:700}
.nl-preflight{margin:12px 0;padding:18px;border-radius:18px;background:radial-gradient(420px 180px at 0% 0%,rgba(230,46,45,.14),transparent 70%),#111;border:1px solid rgba(230,46,45,.4)}
.nl-preflight[hidden]{display:none}
.nl-preflight header{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.nl-preflight header b{font:800 17px system-ui,sans-serif;color:#fff}
.nl-preflight header span{color:#A3A3A3;font-size:13px}
.nl-pf-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.nl-pf-list li{display:grid;grid-template-columns:auto 128px minmax(0,1fr);gap:10px;align-items:center;padding:10px 12px;border-radius:12px;background:#171717;border:1px solid #262626;font-size:13.5px}
.nl-pf-list li i{width:12px;height:12px;border-radius:50%;background:#555}
.nl-pf-list li span{color:#fff;font-weight:700}
.nl-pf-list li em{font-style:normal;color:#A3A3A3;overflow-wrap:anywhere}
.nl-pf-list li[data-state=ok] i{background:#E62E2D;box-shadow:0 0 0 4px rgba(230,46,45,.28)}
.nl-pf-list li[data-state=ok] em{color:#fff}
.nl-pf-list li[data-state=warn] i{background:transparent;border:2px solid #E62E2D}
.nl-pf-list li[data-state=warn] em{color:#ffb4b3}
.nl-pf-list li[data-state=bad] i{background:#000;border:2px solid #fff}
.nl-pf-list li[data-state=bad] em{color:#ff8a89;font-weight:700}
.nl-pf-meter{grid-column:2/-1;height:6px;border-radius:99px;background:#252525;overflow:hidden}
.nl-pf-meter b{display:block;height:100%;width:0;background:linear-gradient(90deg,#8f1514,#E62E2D);transition:width .12s}
.nl-pf-overall{margin:14px 0 4px;font:800 15px system-ui,sans-serif;color:#fff}
.nl-pf-overall[data-state=ok]{color:#fff}.nl-pf-overall[data-state=bad]{color:#ff8a89}.nl-pf-overall[data-state=warn]{color:#ffb4b3}
.nl-pf-rule{margin:6px 0 0;color:#8a8a8a;font-size:12.5px;line-height:1.5}
.nl-preflight[data-closed] .nl-pf-list{opacity:.45}
@media (max-width:620px){.nl-pf-list li{grid-template-columns:auto minmax(0,1fr)}.nl-pf-list li em{grid-column:2}.nl-pf-meter{grid-column:2/-1}}

/* email verification popup and the sealed-result line (red and black only) */
.nl-vmodal{position:fixed;inset:0;z-index:2147483100;display:grid;place-items:center;padding:16px}
.nl-vmodal[hidden]{display:none}
.nl-vscrim{position:absolute;inset:0;background:rgba(0,0,0,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.nl-vbox{position:relative;width:min(420px,100%);padding:30px 24px 24px;border-radius:24px;background:radial-gradient(360px 160px at 50% 0%,rgba(230,46,45,.22),transparent 70%),#111;border:1px solid rgba(230,46,45,.45);box-shadow:0 40px 90px -30px rgba(0,0,0,.95);text-align:center;color:#fff;font-family:system-ui,sans-serif}
.nl-vx{position:absolute;top:12px;right:12px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;cursor:pointer}
.nl-vx:hover{background:rgba(255,255,255,.16)}
.nl-vicon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 14px;border-radius:18px;background:linear-gradient(135deg,#E62E2D,#8f1514);box-shadow:0 14px 30px -12px rgba(230,46,45,.9)}
.nl-vicon svg{width:28px;height:28px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nl-vbox h3{margin:0 0 8px;font:800 20px/1.25 system-ui,sans-serif;color:#fff}
.nl-vsub{margin:0 0 18px;color:#bdbdbd;font-size:14px;line-height:1.55}
.nl-vbtn{display:inline-flex;align-items:center;justify-content:center;width:100%;height:48px;border:0;border-radius:14px;background:linear-gradient(135deg,#E62E2D,#b81d1c);color:#fff;font:800 15px system-ui,sans-serif;cursor:pointer;box-shadow:0 14px 28px -14px rgba(230,46,45,.95)}
.nl-vbtn:disabled{opacity:.6;cursor:default}
.nl-vcode{width:100%;height:56px;margin:0 0 12px;border-radius:14px;border:1px solid #2B2B2B;background:#141414;color:#fff;text-align:center;font:800 26px/1 ui-monospace,Menlo,monospace;letter-spacing:10px;outline:0}
.nl-vcode:focus{border-color:#E62E2D;box-shadow:0 0 0 3px rgba(230,46,45,.28)}
.nl-vlink{margin-top:12px;border:0;background:none;color:#ff8a89;font:700 13px system-ui,sans-serif;cursor:pointer}
.nl-vlink:disabled{color:#777;cursor:default}
.nl-vmsg{min-height:20px;margin:14px 0 0;color:#d4d4d4;font-size:13.5px}
.nl-vmsg[data-bad]{color:#ff8a89;font-weight:700}
.nl-seal{display:inline-flex;align-items:center;height:26px;padding:0 11px;margin-left:6px;border-radius:999px;background:#000;border:1px solid rgba(230,46,45,.55);color:#ff8a89;font:700 12px/1 system-ui,sans-serif;text-decoration:none;vertical-align:middle}
.nl-seal:hover{border-color:#E62E2D;color:#fff}
