/* =============================================================================
   INDIE NEON. The last word on the interface: one hand-made neon look over the
   earlier layers (interface.css, neon-ui.css, arena-neon.css). Ink-violet night,
   one hot accent (pink), one cool light (cyan), amber for money. Neon is spent
   where it means something - the live dot, the selected thing, PLAY - and the rest
   is print: solid panels, hard offset shadows, misregistered headings, film grain.
   No corner brackets. Remove the <link> and the arena-neon look returns.
   Gameplay rendering, fighter art, arenas and rarity colours are untouched.
   ============================================================================= */
:root,body.arnInterface{
 --iu-ink:#09060f;--iu-night:#0e0a1b;--iu-panel:#140f26;--iu-raised:#1c1535;--iu-sunk:#0b0817;
 --iu-line:rgba(196,178,255,.13);--iu-line2:rgba(196,178,255,.26);
 --iu-text:#f4efff;--iu-muted:#a99dcb;--iu-dim:#7a6ea0;
 --iu-pink:#ff3e9d;--iu-pink-d:#c42a77;--iu-cyan:#43efff;--iu-amber:#ffc54f;--iu-violet:#8d6dff;--iu-ok:#5cf2a6;--iu-bad:#ff5a6e;
 --iu-display:'Barlow Condensed','Arial Narrow',Impact,sans-serif;
 --iu-body:'Segoe UI Variable Text','Segoe UI',system-ui,-apple-system,'Helvetica Neue',sans-serif;
 --iu-r:12px;--iu-r-sm:8px;
 --iu-print:5px 5px 0 rgba(255,62,157,.20);
 --iu-lift:0 18px 40px -18px rgba(0,0,0,.8);
 --iu-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
 /* the older layers' variables follow along */
 --neo-cyan:var(--iu-cyan);--neo-pink:var(--iu-pink);--neo-amber:var(--iu-amber);--neo-violet:var(--iu-violet);
 --neo-night:var(--iu-ink);--neo-line:var(--iu-line2);
 --neo-glow:0 0 0 transparent;--neo-glow-pink:0 0 0 transparent;
 --ui-ink:var(--iu-ink);--ui-surface:var(--iu-panel);--ui-raised:var(--iu-raised);--ui-rule:var(--iu-line2);
 --ui-paper:var(--iu-text);--ui-muted:var(--iu-muted);--ui-accent:var(--iu-cyan);--ui-live:var(--iu-cyan);
}

/* ---- the room behind the menus: night, two lamps, grain ---- */
html body.arnInterface{font-family:var(--iu-body);color:var(--iu-text);-webkit-font-smoothing:antialiased;
 background:radial-gradient(900px 520px at 8% 0%,rgba(255,62,157,.13),transparent 62%),radial-gradient(900px 600px at 100% 100%,rgba(67,239,255,.09),transparent 60%),var(--iu-ink) fixed!important}
html body.arnInterface #arnMenu{background:radial-gradient(900px 520px at 6% -4%,rgba(255,62,157,.16),transparent 62%),radial-gradient(1000px 640px at 104% 108%,rgba(67,239,255,.11),transparent 60%),linear-gradient(180deg,#0d0919,#09060f 70%)!important;font-family:var(--iu-body)!important}
/* the neon frame with corner brackets around the whole screen goes; grain and soft scanlines take its place */
html body.arnInterface #arnMenu::after{inset:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;
 background:repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0 1px,transparent 1px 3px),var(--iu-grain)!important;background-size:auto,160px 160px!important;opacity:.55;mix-blend-mode:overlay}
/* the floor grid stays, quieter */
html body.arnInterface #arnMenu::before{opacity:.32;background-size:80px 80px!important}

/* ---- type ---- */
html body.arnInterface h1,html body.arnInterface h2,html body.arnInterface .tcPanel h2,html body.arnInterface .tcPanel h3,
html body.arnInterface #stMenu h1,html body.arnInterface #stMenu h2,html body.arnInterface .arnPlayWindow h2{
 font-family:var(--iu-display)!important;font-weight:700;text-transform:uppercase;letter-spacing:.02em;color:var(--iu-text)!important;
 text-shadow:2px 2px 0 rgba(255,62,157,.55),-1px -1px 0 rgba(67,239,255,.25)!important}
html body.arnInterface .uiNavGroup>h2,html body.arnInterface .uiNavGroup>h3,html body.arnInterface #lobbyEyebrow{
 font-family:var(--iu-body)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.16em!important;
 color:var(--iu-dim)!important;text-shadow:none!important}

/* ---- buttons: solid, tactile; they lift on hover and press in ---- */
html body.arnInterface button,html body.arnInterface .tcBtn{
 font-family:var(--iu-body)!important;font-weight:600;background:var(--iu-raised)!important;color:var(--iu-text)!important;
 border:1px solid var(--iu-line2)!important;border-radius:var(--iu-r-sm);box-shadow:0 1px 0 rgba(255,255,255,.05) inset!important;text-shadow:none!important;
 transition:transform .08s ease,box-shadow .12s ease,border-color .12s ease,background-color .12s ease}
html body.arnInterface button:hover:not(:disabled),html body.arnInterface .tcBtn:hover:not(:disabled){
 border-color:rgba(255,62,157,.75)!important;transform:translateY(-1px);box-shadow:3px 3px 0 rgba(255,62,157,.35)!important;text-shadow:none!important}
html body.arnInterface button:active:not(:disabled),html body.arnInterface .tcBtn:active:not(:disabled){transform:translate(1px,1px);box-shadow:none!important}
html body.arnInterface button:focus-visible{outline:2px solid var(--iu-cyan);outline-offset:2px}
html body.arnInterface button:disabled{opacity:.45;transform:none}
/* primary: hot pink slab, ink text, a cyan offset shadow */
html body.arnInterface .tcBtn.pri,html body.arnInterface button.pri,html body.arnInterface button.primary,html body.arnInterface #arnFight,
html body.arnInterface #tcoGo,html body.arnInterface .tcPanel button.done,html body.arnInterface #tco .win button.go,
html body.arnInterface #tco button.rk,html body.arnInterface.lobbyLocked #tco button.rk,html body.arnInterface #mapSelectLock,html body.arnInterface .crateActions button:not(:disabled){
 background:var(--iu-pink)!important;color:#14051a!important;border:1px solid #ff74b8!important;font-weight:800!important;
 box-shadow:4px 4px 0 var(--iu-cyan)!important;filter:none!important}
html body.arnInterface .tcBtn.pri:hover:not(:disabled),html body.arnInterface #arnFight:hover:not(:disabled),html body.arnInterface #tcoGo:hover:not(:disabled),
html body.arnInterface #tco button.rk:hover:not(:disabled),html body.arnInterface #mapSelectLock:hover:not(:disabled),html body.arnInterface .crateActions button:hover:not(:disabled){
 background:#ff5aac!important;box-shadow:6px 6px 0 var(--iu-cyan)!important;transform:translate(-1px,-1px)}
html body.arnInterface .tcBtn.pri:active:not(:disabled),html body.arnInterface #arnFight:active:not(:disabled),html body.arnInterface #tcoGo:active:not(:disabled){
 transform:translate(3px,3px);box-shadow:1px 1px 0 var(--iu-cyan)!important}

/* ---- windows: a solid panel, a thin lit edge on top, a printed shadow - no brackets ---- */
html body.arnInterface .tcOv,html body.arnInterface #tco{background:rgba(6,4,12,.78)!important;-webkit-backdrop-filter:blur(6px) saturate(.9);backdrop-filter:blur(6px) saturate(.9)}
html body.arnInterface .tcPanel,html body.arnInterface .tcOv .tcPanel,html body.arnInterface .tcOv .tc-panel,html body.arnInterface .mapSelectWindow,
html body.arnInterface .cw-panel,html body.arnInterface .cc-panel,html body.arnInterface .cosDetail,html body.arnInterface .arnReplayFrame,
html body.arnInterface #stBox,html body.arnInterface #tco .win,html body.arnInterface.lobbyLocked #tco .win,html body.arnInterface #tcoResult .box,
html body.arnInterface.lobbyLocked #tcoResult .box,html body.arnInterface #arnMatchmaking .arnQueueCard,html body.arnInterface .arnLanguageCard{
 background:linear-gradient(90deg,var(--iu-pink),var(--iu-violet) 55%,var(--iu-cyan)) top/100% 2px no-repeat,
  linear-gradient(180deg,#19122f,var(--iu-panel) 140px)!important;
 border:1px solid var(--iu-line2)!important;border-radius:var(--iu-r)!important;
 box-shadow:var(--iu-print),var(--iu-lift)!important;color:var(--iu-text)!important}
/* window headers sit on the panel, not in a glowing band */
html body.arnInterface #tco .win .hdr,html body.arnInterface.lobbyLocked #tco .win .hdr{background:transparent!important;border-bottom:1px solid var(--iu-line)!important}
html body.arnInterface #tco .tabs{background:transparent!important;border-bottom:1px solid var(--iu-line)!important}

/* ---- tabs: underline, not boxes ---- */
html body.arnInterface #tco .tabs button,html body.arnInterface .mkTabs button,html body.arnInterface .tcTabs button{
 background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;box-shadow:none!important;color:var(--iu-muted)!important;transform:none!important}
html body.arnInterface #tco .tabs button:hover,html body.arnInterface .mkTabs button:hover,html body.arnInterface .tcTabs button:hover{color:var(--iu-text)!important;box-shadow:none!important}
html body.arnInterface #tco .tabs button.on,html body.arnInterface .mkTabs button.on,html body.arnInterface .tcTabs button.on{
 color:var(--iu-text)!important;border-bottom-color:var(--iu-pink)!important;background:transparent!important}

/* ---- choice chips (mode, map, difficulty): quiet until chosen ---- */
html body.arnInterface .arnPlayWindow .arnRow{gap:8px!important}
html body.arnInterface .arnPlayWindow .arnRow .arnCard,html body.arnInterface .arnRow>.arnCard{
 background:var(--iu-raised)!important;border:1px solid var(--iu-line2)!important;border-radius:999px!important;box-shadow:none!important;
 padding:9px 16px!important;font-weight:600!important;color:var(--iu-muted)!important;cursor:pointer;transition:transform .08s,border-color .12s,color .12s}
html body.arnInterface .arnRow>.arnCard:hover{color:var(--iu-text)!important;border-color:rgba(255,62,157,.7)!important;transform:translateY(-1px)}
html body.arnInterface .arnRow>.arnCard.on{color:var(--iu-ink)!important;background:var(--iu-cyan)!important;border-color:var(--iu-cyan)!important;box-shadow:3px 3px 0 var(--iu-pink)!important}

/* ---- inputs ---- */
html body.arnInterface select,html body.arnInterface input:not([type=range]):not([type=checkbox]):not([type=radio]),html body.arnInterface textarea,
html body.arnInterface #arnMenu #lobbyPick,html body.arnInterface .tcOv select,html body.arnInterface .tcOv input:not([type=range]):not([type=checkbox]):not([type=radio]){
 background-color:var(--iu-sunk)!important;color:var(--iu-text)!important;border:1px solid var(--iu-line2)!important;border-radius:var(--iu-r-sm)!important;box-shadow:none!important;font-family:var(--iu-body)!important}
html body.arnInterface select:focus,html body.arnInterface input:focus,html body.arnInterface textarea:focus{border-color:var(--iu-cyan)!important;box-shadow:0 0 0 3px rgba(67,239,255,.18)!important;outline:none}
html body.arnInterface input::placeholder,html body.arnInterface textarea::placeholder{color:var(--iu-dim)!important}
html body.arnInterface input[type=checkbox],html body.arnInterface input[type=radio],html body.arnInterface input[type=range]{accent-color:var(--iu-pink)}

/* ---- the lobby ---- */
/* PLAY: the one loud thing on the screen - a pink slab with a cyan shadow, no light sweep */
html body.arnInterface #arnMenu #arnMainCol #arnPlay,html body.arnInterface #arnMenu #arnMenuUI #arnPlay{
 background:var(--iu-pink)!important;border:1px solid #ff79bb!important;border-radius:var(--iu-r)!important;color:#16051c!important;
 box-shadow:6px 6px 0 var(--iu-cyan)!important;transform:none;transition:transform .1s ease,box-shadow .1s ease!important}
html body.arnInterface #arnMenu #arnMainCol #arnPlay *{color:#16051c!important;text-shadow:none!important}
html body.arnInterface #arnMenu #arnMainCol #arnPlay .uiActionLabel{font-size:clamp(40px,4.2vw,58px)!important;letter-spacing:.01em}
html body.arnInterface #arnMenu #arnMainCol #arnPlay small,html body.arnInterface #arnMenu #arnMainCol #arnPlay .uiActionSub{opacity:.72}
html body.arnInterface #arnMenu #arnMainCol #arnPlay::after{content:none!important;animation:none!important}
html body.arnInterface #arnMenu #arnMainCol #arnPlay:hover{transform:translate(-2px,-2px);box-shadow:9px 9px 0 var(--iu-cyan)!important;filter:none!important;background:#ff57ab!important}
html body.arnInterface #arnMenu #arnMainCol #arnPlay:active{transform:translate(4px,4px);box-shadow:2px 2px 0 var(--iu-cyan)!important}
/* the other big actions: plain rows; the hover is a pink tick and the label moves a step */
html body.arnInterface #arnMenu #arnMainCol .arnBtn:not(#arnPlay){border-image:none!important;border-bottom:1px solid var(--iu-line)!important;transform:none!important;box-shadow:none!important;background:none!important}
html body.arnInterface #arnMenu #arnMainCol .arnBtn:not(#arnPlay) .uiActionLabel{transition:transform .12s ease,color .12s!important;text-shadow:none!important}
html body.arnInterface #arnMenu #arnMainCol .arnBtn:not(#arnPlay):hover .uiActionLabel{transform:translateX(6px);color:#fff!important;text-shadow:2px 2px 0 rgba(255,62,157,.6)!important}
html body.arnInterface #arnMenu #arnMainCol .arnBtn:not(#arnPlay) .uiIcon{color:var(--iu-dim)!important;filter:none!important;transition:color .12s}
html body.arnInterface #arnMenu #arnMainCol .arnBtn:not(#arnPlay):hover .uiIcon{color:var(--iu-pink)!important}
html body.arnInterface #arnMenu #arnMainCol .arnBtn:not(#arnPlay) small,html body.arnInterface #arnMenu #arnMainCol .arnBtn:not(#arnPlay) .uiActionSub{color:var(--iu-muted)!important}
/* the side navigation */
html body.arnInterface #arnMenu .arnTile{border-bottom:1px solid var(--iu-line)!important;transform:none!important;box-shadow:none!important;color:var(--iu-text)!important;text-shadow:none!important;transition:padding .12s ease,color .12s!important}
html body.arnInterface #arnMenu .arnTile .uiIcon{color:var(--iu-dim)!important;filter:none!important}
html body.arnInterface #arnMenu .arnTile:hover{background:none!important;padding-left:6px!important;text-shadow:none!important}
html body.arnInterface #arnMenu .arnTile:hover .uiIcon{color:var(--iu-cyan)!important}
html body.arnInterface #arnMenu .arnTile:hover::before{left:-12px!important;width:3px!important;box-shadow:none!important;background:var(--iu-pink)!important}
/* small text links under the actions stay links */
html body.arnInterface #nwMenuLearn,html body.arnInterface #nwMenuControls{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;
 color:var(--iu-muted)!important;font-weight:500!important;text-decoration:underline;text-decoration-color:rgba(255,62,157,.5);text-underline-offset:4px;transform:none!important;padding:6px 0!important;margin-right:14px}
html body.arnInterface #nwMenuLearn:hover,html body.arnInterface #nwMenuControls:hover{color:var(--iu-text)!important;box-shadow:none!important;text-decoration-color:var(--iu-pink)}
/* the fighter on the stage: a lit name, a quiet picker */
html body.arnInterface #arnMenu #lobbyHero h1,html body.arnInterface #lobbyName{-webkit-text-fill-color:var(--iu-text)!important;color:var(--iu-text)!important;text-shadow:3px 3px 0 var(--iu-pink),-1px -1px 0 rgba(67,239,255,.35)!important}
html body.arnInterface #arnMenu #lobbyPick{max-width:260px;margin-inline:auto}
/* the stage: a dark disc with a lit rim, its light spilling onto the street */
html body.arnInterface #lobbyHero:before{border:0!important;border-radius:50%!important;
 background:radial-gradient(closest-side,#211740,#120c22 93%,transparent 95%),conic-gradient(from 200deg,var(--iu-pink),var(--iu-violet),var(--iu-cyan),var(--iu-violet),var(--iu-pink))!important;
 box-shadow:0 0 0 1px rgba(255,255,255,.04),0 18px 40px -6px rgba(255,62,157,.30),0 30px 70px -10px rgba(67,239,255,.18)!important;padding:2px}
html body.arnInterface #lobbyPortrait{filter:drop-shadow(0 10px 18px rgba(0,0,0,.55))!important}

/* ---- match setup ---- */
html body.arnInterface #arnPlayScr{background:radial-gradient(800px 500px at 0% 0%,rgba(255,62,157,.10),transparent 60%),var(--iu-night)!important}
html body.arnInterface .arnPlayHeader,html body.arnInterface .arnPlayFooter{background:rgba(9,6,15,.92)!important;border-color:var(--iu-line)!important;box-shadow:none!important}
html body.arnInterface .arnPlayHeader>span{color:var(--iu-muted)!important;font-family:var(--iu-body)!important}
html body.arnInterface #arnPlayScr h2{font-size:clamp(22px,2.3vw,30px)!important;margin:26px 0 12px!important}
html body.arnInterface #arnPlayScr #arnSummary{color:var(--iu-muted)!important}
html body.arnInterface #arnPlayScr #arnSummary b{color:var(--iu-text)!important}
html body.arnInterface #arnPlayScr #arnFight{font-family:var(--iu-display)!important;font-weight:700!important;letter-spacing:.06em!important;font-size:clamp(22px,2.4vw,30px)!important;border-radius:var(--iu-r)!important;padding-inline:34px!important}
/* fighter cards: a dark tile, the rarity colour as a thin line along the bottom, a lifted chosen card */
html body.arnInterface #arnPlayIn .arnF{background:linear-gradient(180deg,#1a1430,#120d22)!important;border:1px solid var(--iu-line)!important;border-radius:10px!important;
 box-shadow:inset 0 -2px 0 var(--rc)!important;color:var(--iu-muted)!important;font:600 11px/1.6 var(--iu-body)!important;padding:6px 4px 8px!important;transition:transform .1s ease,border-color .12s,color .12s}
html body.arnInterface #arnPlayIn .arnF:hover{transform:translateY(-2px);border-color:var(--iu-line2)!important;color:var(--iu-text)!important}
html body.arnInterface #arnPlayIn .arnF.on{border-color:var(--iu-cyan)!important;color:var(--iu-text)!important;transform:translateY(-2px);box-shadow:inset 0 -2px 0 var(--rc),4px 4px 0 var(--iu-pink)!important}
html body.arnInterface #arnPlayIn .arnF.lock{opacity:.4;filter:saturate(.4)}
html body.arnInterface #arnPlayIn .arnF .lk{font-size:0!important;width:9px;height:11px;top:7px!important;right:7px!important;border-radius:2px;background:var(--iu-dim)}
html body.arnInterface #arnPlayIn .arnF .lk::before{content:'';position:absolute;left:1px;top:-5px;width:5px;height:5px;border:1.5px solid var(--iu-dim);border-bottom:0;border-radius:4px 4px 0 0}
html body.arnInterface #arnPlayIn #arnQ{width:280px!important;padding:10px 14px!important}
html body.arnInterface #arnPlayIn a#arnAdv{color:var(--iu-dim)!important}

/* ---- online window ---- */
html body.arnInterface #tcoChat{background:var(--iu-sunk)!important;border:1px solid var(--iu-line)!important;border-radius:var(--iu-r-sm)!important}
html body.arnInterface #tcoChatComposer{background:transparent!important;border:0!important}
html body.arnInterface #tco .card{background:rgba(255,255,255,.025)!important;border:1px solid var(--iu-line)!important;border-radius:var(--iu-r)!important;box-shadow:none!important}
html body.arnInterface #tco table th{color:var(--iu-dim)!important;letter-spacing:.12em;font-size:11px}
html body.arnInterface #tco table td,html body.arnInterface #tco table th{border-color:var(--iu-line)!important}

/* ---- the older charcoal-and-green family, brought into the night ---- */
/* selected tabs and items */
html body.arnInterface .cosTabs button.active,html body.arnInterface .cosTabs button.on,html body.arnInterface .cosTabs button[aria-selected=true],
html body.arnInterface .tcTab.on,html body.arnInterface #tco .tab.on,html body.arnInterface .mkNav .on,html body.arnInterface .replayLibraryPanel nav .on,
html body.arnInterface .tutItem.on,html body.arnInterface .arnLanguageChoices button[aria-pressed=true]{
 background:rgba(255,62,157,.14)!important;border-color:rgba(255,62,157,.8)!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--iu-pink)!important}
/* cards and side panels */
html body.arnInterface .shCard,html body.arnInterface .cosCard,html body.arnInterface .cosDetail,html body.arnInterface .mkTradeSides section,
html body.arnInterface .mkOfferColumns>section,html body.arnInterface .offlineTeamPicker,html body.arnInterface .mapSelectPlayer,html body.arnInterface #tutBox,
html body.arnInterface #tutHead,html body.arnInterface #tutList,html body.arnInterface #nwCoach,html body.arnInterface #nwWelcome .nwCard,
html body.arnInterface #lobbyMatchResult,html body.arnInterface .mrSpotlight,html body.arnInterface .mrReplayActions,html body.arnInterface .mkBasket,
html body.arnInterface .arnLanguageChoices button,html body.arnInterface #arnMenu #lobbyResume{
 background:var(--iu-raised)!important;border-color:var(--iu-line2)!important;color:var(--iu-text)!important}
html body.arnInterface .cosCard{border-radius:10px!important;transition:transform .1s ease,border-color .12s!important}
html body.arnInterface .cosCard:hover{background:#231a42!important;border-color:var(--iu-line2)!important;transform:translateY(-2px)}
html body.arnInterface .cosCard[aria-pressed=true]{background:#231a42!important;border-color:var(--iu-cyan)!important;box-shadow:4px 4px 0 var(--iu-pink)!important}
/* wells that hold art */
html body.arnInterface .cosCard .cosThumb,html body.arnInterface .cosDetailArt,html body.arnInterface .mkArt,html body.arnInterface .offlineTeamColumns select{
 background:radial-gradient(120% 90% at 50% 100%,rgba(255,62,157,.10),transparent 60%),var(--iu-sunk)!important;border-color:var(--iu-line)!important}
html body.arnInterface .cosHeader{background:transparent!important;border-color:var(--iu-line)!important}
html body.arnInterface .matchReport th{background:var(--iu-raised)!important;color:var(--iu-muted)!important}
html body.arnInterface .mkBadge,html body.arnInterface #arnQueueMode{background:rgba(255,62,157,.14)!important;border-color:rgba(255,62,157,.6)!important;color:#fff!important}
html body.arnInterface #arnQueueCancel{background:var(--iu-raised)!important;border-color:var(--iu-line2)!important}
html body.arnInterface #arnLoad,html body.arnInterface #arnMatchmaking,html body.arnInterface #arnLanguageGate{
 background:radial-gradient(900px 520px at 8% 0%,rgba(255,62,157,.14),transparent 62%),radial-gradient(900px 600px at 100% 100%,rgba(67,239,255,.09),transparent 60%),var(--iu-ink)!important}
/* clans: chat and wars are entries on the panel, each with its own edge colour */
html body.arnInterface .cc-entry,html body.arnInterface .cw-entry{background:var(--iu-raised)!important;border:1px solid var(--iu-line2)!important;border-radius:var(--iu-r)!important}
html body.arnInterface .cc-entry{box-shadow:inset 3px 0 0 var(--iu-cyan)!important}
html body.arnInterface .cw-entry{box-shadow:inset 3px 0 0 var(--iu-amber)!important}
html body.arnInterface .cc-panel .pri,html body.arnInterface .cc-entry .pri,html body.arnInterface .cw-panel .pri,html body.arnInterface .cw-entry .pri{
 background:var(--iu-pink)!important;color:#14051a!important;border-color:#ff74b8!important;box-shadow:3px 3px 0 var(--iu-cyan)!important}

/* ---- the practice coach and the welcome window ---- */
html body.arnInterface #nwCoach{background:linear-gradient(90deg,var(--iu-pink),var(--iu-violet) 55%,var(--iu-cyan)) top/100% 2px no-repeat,rgba(20,15,38,.97)!important;
 border:1px solid var(--iu-line2)!important;border-radius:var(--iu-r)!important;box-shadow:var(--iu-print),var(--iu-lift)!important;color:var(--iu-text)!important;font-family:var(--iu-body)!important}
html body.arnInterface .nwEyebrow{color:var(--iu-amber)!important;font-family:var(--iu-body)!important}
html body.arnInterface #nwCoach p{color:var(--iu-muted)!important}
html body.arnInterface .nwProgress span{background:rgba(255,255,255,.08)!important}html body.arnInterface .nwProgress .on{background:var(--iu-pink)!important}
html body.arnInterface #nwCoach button:not(#nwContinue):not([data-preset]):not([data-bind]),html body.arnInterface .nwControlSummary button{background:none!important;border:0!important;box-shadow:none!important;color:var(--iu-muted)!important;text-decoration:underline;text-decoration-color:rgba(255,62,157,.5);text-underline-offset:4px;transform:none!important}
html body.arnInterface #nwCoach button:not(#nwContinue):not([data-preset]):not([data-bind]):hover{color:var(--iu-text)!important}
html body.arnInterface #nwCoach #nwContinue:not(:disabled){background:var(--iu-pink)!important;color:#14051a!important;border:1px solid #ff74b8!important;box-shadow:3px 3px 0 var(--iu-cyan)!important}
html body.arnInterface #nwCoach #nwContinue:disabled{background:rgba(255,255,255,.05)!important;color:var(--iu-dim)!important;border:1px solid var(--iu-line)!important;box-shadow:none!important}
html body.arnInterface .nwGoal{color:var(--iu-cyan)!important}
html body.arnInterface kbd{background:var(--iu-raised)!important;border:1px solid var(--iu-line2)!important;border-bottom-width:3px!important;color:var(--iu-text)!important;border-radius:6px!important}
html body.arnInterface .nwControlSummary{background:var(--iu-sunk)!important;border-color:var(--iu-line)!important}
html body.arnInterface .nwWelcomeFacts span{background:rgba(255,255,255,.04)!important;border-color:var(--iu-line)!important;color:var(--iu-muted)!important}
html body.arnInterface .nwReset{background:var(--iu-raised)!important;color:var(--iu-text)!important;border-color:var(--iu-line2)!important}
/* the controls step: three layout cards, then the actions as key caps you can click */
html body.nwPracticing #nwCoach.nwCoachControls{max-height:min(470px,62dvh)!important}
html body.arnInterface .nwPresetPick{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 12px}
html body.arnInterface .nwPresetPick button{display:grid!important;gap:1px;text-align:left;padding:8px 14px!important;border-radius:10px!important;min-width:150px}
html body.arnInterface .nwPresetPick button b{font-size:13px}html body.arnInterface .nwPresetPick button small{font-size:11px;color:var(--iu-dim);font-weight:500}
html body.arnInterface .nwPresetPick button.on{border-color:var(--iu-cyan)!important;box-shadow:3px 3px 0 var(--iu-pink)!important;background:#231a42!important}
html body.arnInterface .nwPresetPick button.on small{color:var(--iu-cyan)}
html body.arnInterface .nwCustomTag{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--iu-amber)}
html body.arnInterface .nwBindGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
html body.arnInterface .nwBindGrid button{display:flex!important;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px 7px 12px!important;border-radius:10px!important;font-size:12px!important;font-weight:600!important;min-width:0}
html body.arnInterface .nwBindGrid button span{color:var(--iu-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.arnInterface .nwBindGrid button kbd{margin:0!important;white-space:nowrap}
html body.arnInterface .nwBindGrid button.wait{border-color:var(--iu-pink)!important;background:rgba(255,62,157,.12)!important}
html body.arnInterface .nwBindGrid button.wait kbd{background:var(--iu-pink)!important;color:#14051a!important;border-color:#ff74b8!important;animation:nwBlink 1s ease-in-out infinite}
@keyframes nwBlink{50%{opacity:.55}}
html body.arnInterface .nwBindFoot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 4px}
@media (max-width:700px){html body.arnInterface .nwBindGrid{grid-template-columns:repeat(2,minmax(0,1fr))}html body.arnInterface .nwPresetPick button{min-width:0;flex:1 1 40%}}
@media (prefers-reduced-motion:reduce){html body.arnInterface .nwBindGrid button.wait kbd{animation:none}}

/* ---- match loading (match-loading.js): the versus card and the stall banner ---- */
#mlCard{position:fixed;inset:0;z-index:10040;display:grid;place-items:center;background:var(--iu-ink,#09060f);color:var(--iu-text,#f4efff);font-family:var(--iu-body);animation:mlIn .22s ease-out both;overflow:hidden}
#mlCard .mlBack{position:absolute;inset:0;width:100%;height:100%;opacity:.38;filter:saturate(1.1) blur(1px)}
#mlCard::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(255,255,255,.02) 0 1px,transparent 1px 3px),radial-gradient(ellipse at center,transparent 35%,rgba(9,6,15,.75));pointer-events:none}
#mlCard.mlOut{animation:mlOut .3s ease-in both}
@keyframes mlIn{from{opacity:0}}@keyframes mlOut{to{opacity:0;transform:scale(1.03)}}
#mlCard .mlInner{position:relative;z-index:1;width:min(1000px,94vw);text-align:center}
#mlCard .mlKind{display:inline-block;font:700 12px/1 var(--iu-body);letter-spacing:.24em;color:var(--iu-amber);padding:8px 14px;border:1px solid rgba(255,197,79,.4);border-radius:999px;background:rgba(9,6,15,.6)}
#mlCard .mlKind span{color:var(--iu-dim)}
#mlCard .mlVs{align-self:center;margin-top:calc(-1 * clamp(40px,6vh,70px))}
#mlCard .mlVersus{display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:clamp(8px,3vw,40px);margin:clamp(14px,4vh,38px) 0}
#mlCard .mlSide{margin:0;display:grid;justify-items:center;gap:12px;animation:mlSlideA .45s cubic-bezier(.2,.9,.25,1.15) both}
#mlCard .mlSideB{animation-name:mlSlideB}
@keyframes mlSlideA{from{opacity:0;transform:translateX(-60px)}}@keyframes mlSlideB{from{opacity:0;transform:translateX(60px)}}
#mlCard .mlArtWrap{width:clamp(130px,22vw,240px);aspect-ratio:1;border-radius:18px;border:1px solid var(--iu-line2);
 background:radial-gradient(70% 60% at 50% 90%,rgba(255,62,157,.28),transparent 70%),linear-gradient(180deg,#1d1438,#0e0a1b);box-shadow:6px 6px 0 rgba(255,62,157,.35);overflow:hidden;display:grid;place-items:center}
#mlCard .mlSideB .mlArtWrap{background:radial-gradient(70% 60% at 50% 90%,rgba(67,239,255,.25),transparent 70%),linear-gradient(180deg,#1d1438,#0e0a1b);box-shadow:-6px 6px 0 rgba(67,239,255,.35)}
#mlCard .mlSideB canvas{transform:scaleX(-1)}   /* the right-hand fighter faces in */
#mlCard .mlArt{width:100%;height:100%}
#mlCard figcaption{display:grid;gap:3px}
#mlCard figcaption b{font:700 clamp(22px,3vw,34px)/1 var(--iu-display);text-transform:uppercase;letter-spacing:.02em;text-shadow:2px 2px 0 rgba(255,62,157,.55)}
#mlCard .mlSideB figcaption b{text-shadow:2px 2px 0 rgba(67,239,255,.5)}
#mlCard figcaption em{font:800 10px/1 var(--iu-body);font-style:normal;letter-spacing:.2em;color:var(--iu-ink);background:var(--iu-cyan);border-radius:4px;padding:4px 6px;justify-self:center}
#mlCard figcaption small{color:var(--iu-muted);font-size:13px}
#mlCard .mlVs{font:700 clamp(48px,8vw,104px)/1 var(--iu-display);color:var(--iu-text);transform:skewX(-10deg);text-shadow:4px 4px 0 var(--iu-pink),-3px -3px 0 rgba(67,239,255,.7);animation:mlVs .5s .2s cubic-bezier(.2,1.4,.4,1) both}
@keyframes mlVs{from{opacity:0;transform:skewX(-10deg) scale(2.2)}}
#mlCard .mlStatus{display:flex;justify-content:center;align-items:baseline;gap:12px;flex-wrap:wrap}
#mlCard .mlState{font:700 18px/1 var(--iu-display);letter-spacing:.12em;text-transform:uppercase;color:var(--iu-cyan)}
#mlCard .mlLine{color:var(--iu-muted);font-size:14px}
#mlCard .mlBar{position:relative;height:4px;width:min(420px,70vw);margin:14px auto 0;border-radius:4px;background:rgba(255,255,255,.07);overflow:hidden}
#mlCard .mlBar i{position:absolute;inset:0 auto 0 0;width:38%;border-radius:4px;background:linear-gradient(90deg,var(--iu-pink),var(--iu-cyan));animation:mlRun 1.15s ease-in-out infinite}
@keyframes mlRun{from{left:-38%}to{left:100%}}
#mlCard .mlTip{margin:18px auto 0;max-width:520px;color:var(--iu-dim);font-size:13px;min-height:1.4em}
#mlBanner{position:fixed;left:50%;top:84px;transform:translateX(-50%);z-index:10035;display:flex;align-items:center;gap:10px;padding:9px 16px;border-radius:999px;
 background:rgba(20,15,38,.94);border:1px solid rgba(255,197,79,.5);color:var(--iu-text,#f4efff);font:600 13px/1.3 var(--iu-body);box-shadow:4px 4px 0 rgba(255,62,157,.3)}
#mlBanner i{width:8px;height:8px;border-radius:50%;background:var(--iu-amber,#ffc54f);animation:nwBlink 1s ease-in-out infinite}
@media (max-width:640px){#mlCard .mlVersus{grid-template-columns:1fr;gap:6px}#mlCard .mlVs{font-size:44px;margin-top:0}#mlCard .mlArtWrap{width:min(42vw,170px)}}
@media (prefers-reduced-motion:reduce){#mlCard,#mlCard *{animation:none!important}}

/* ---- the two floating corner buttons ---- */
html body.arnInterface #arnLanguageButton,html body.arnInterface #lobbyFullscreen{background:rgba(20,15,38,.9)!important;border:1px solid var(--iu-line2)!important;color:var(--iu-muted)!important;border-radius:999px!important;box-shadow:none!important;font-weight:600!important}
html body.arnInterface #arnLanguageButton:hover,html body.arnInterface #lobbyFullscreen:hover{color:var(--iu-text)!important;border-color:rgba(255,62,157,.7)!important}
/* while a window is open the corner buttons step aside (on touch screens they would sit on the window's title) */
html body.arnInterface:has(.tcOv) #lobbyFullscreen,html body.arnInterface:has(#tco[style*="flex"]) #lobbyFullscreen,
html body.arnInterface:has(.tcOv) #arnLanguageButton,html body.arnInterface:has(#tco[style*="flex"]) #arnLanguageButton{display:none!important}

/* ---- small parts ---- */
html body.arnInterface .tcCoins,html body.arnInterface #arnCoins{color:var(--iu-amber)!important;text-shadow:none!important}
html body.arnInterface *{scrollbar-color:#3a2d66 transparent}
@media (prefers-reduced-motion:reduce){html body.arnInterface button,html body.arnInterface .arnCard{transition:none!important;transform:none!important}}
