/* Wrestling UI, rebuilt as a compact broadcast with a clear center of play. */
#matchHeader{position:absolute;inset:0 0 auto;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#07101ed9,transparent);border:0;z-index:20;pointer-events:none}
#matchHeader>*{pointer-events:auto}#matchHeader .brand{display:flex;gap:9px;align-items:center;font-family:system-ui;letter-spacing:0}
#matchHeader .station-mark{width:38px;height:36px;display:grid;place-items:center;position:relative;background:#f2cf7b;color:#182232;border-radius:7px;box-shadow:none}
#matchHeader .station-mark b{color:#182232;font-size:13px;letter-spacing:-1px}#matchHeader .station-mark i{position:absolute;bottom:1px;right:3px;font:700 6px system-ui}
#matchHeader .brand>div small{display:block;font:700 8px system-ui;letter-spacing:1px;color:#d5deeb}
#matchHeader .brand>div span{display:flex;align-items:center;gap:7px;font:900 17px system-ui;letter-spacing:1px;color:white}
#matchHeader .brand em{background:#de4e5d;color:#fff;border-radius:3px;font:800 7px system-ui;letter-spacing:1px;padding:3px 5px}
#matchHeader .top-actions{display:flex;align-items:center;gap:7px;max-width:none}
#matchHeader button,#matchHeader summary{padding:8px 11px;border:1px solid #ffffff30;background:#121e30e8;color:#f0f3f7;border-radius:7px;font:700 11px system-ui;box-shadow:none;cursor:pointer;list-style:none}
#matchHeader summary::-webkit-details-marker{display:none}#matchHeader button:hover,#matchHeader summary:hover{background:#2a3b53}
#matchMenu{position:relative}#matchMenu>div{position:absolute;right:0;top:43px;display:grid;grid-template-columns:1fr 1fr;gap:6px;width:220px;padding:10px;background:#111d2ef5;border:1px solid #526078;border-radius:10px;box-shadow:0 12px 30px #0006}
#matchMenu:not([open])>div{display:none}
#matchHud{position:absolute;top:76px;left:20px;right:20px;display:flex;justify-content:flex-start;gap:0;align-items:stretch;pointer-events:none;max-width:470px;border:1px solid #ffffff30;border-radius:9px;background:#0b1524e8;box-shadow:0 5px 20px #0003;overflow:hidden}
#matchHud :is(.player-card,.score-card,.progress-card){position:static;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none;padding:11px 13px;min-width:0}
#matchHud .player-card{width:210px}#matchHud .score-card{border-left:1px solid #ffffff20!important;border-right:1px solid #ffffff20!important;width:112px;text-align:center}#matchHud .progress-card{width:135px;text-align:left}
#matchHud .eyebrow{font:700 7px system-ui;letter-spacing:1px;color:#acbacd;margin-bottom:5px}#matchHud .player-card>b{font:800 14px system-ui;color:#fff;letter-spacing:.2px}
#matchHud .health-track{height:6px;margin-top:7px;background:#ffffff1c;border-radius:2px}#matchHud #hpFill{background:#8fd6c0}#matchHud .health-label{font:500 9px system-ui;color:#d1dce9;margin-top:4px}#matchHud .stamina-row{font:600 8px system-ui;color:#aabbd0;margin-top:7px;gap:5px}#matchHud .stamina-track{height:3px}#matchHud #staminaFill{background:#e8c576}
#matchHud #clock{font:800 25px/1.3 system-ui;letter-spacing:-1px;color:#fff;font-variant-numeric:tabular-nums}#matchHud #statusText{font:600 7px system-ui;letter-spacing:.5px;color:#aabbd0;margin-top:3px}
#matchHud .coins{font:800 19px system-ui;color:#f2cf7b}#matchHud .coins small{font-size:7px;letter-spacing:.6px;color:#d4bf91}#matchHud .progress-track{height:2px;margin-top:9px}#matchHud #progressText{font:500 9px system-ui;color:#b8c7da;margin-top:5px}
body #waveBadge{top:auto;bottom:94px;left:20px;display:grid;grid-template-columns:auto auto;column-gap:12px;align-items:center;padding:8px 12px;background:#0d1828df;border:1px solid #ffffff26;border-left:3px solid #f2cf7b;border-radius:5px;box-shadow:none;max-width:320px}
body #waveBadge::before{content:none}body #waveBadge #arenaName{grid-column:1/-1;color:#c0ccdb;font:600 8px system-ui;letter-spacing:.7px;margin-bottom:3px}body #waveBadge #wavePhase{display:none}body #waveBadge b{font:900 19px system-ui;color:#fff;margin:0}body #waveBadge small{font:500 9px system-ui;color:#b8c7da;max-width:145px}
body #enemyCards{top:76px;right:20px;width:162px;max-height:36vh;gap:5px}body #enemyCards .enemy-card{background:#0d1828e8;border:1px solid #ffffff24;border-left:2px solid #e96c7b;border-radius:6px;box-shadow:none;padding:7px 9px}body #enemyCards .enemy-card b{font:700 12px system-ui;color:#fff}body #enemyCards .enemy-card small{font:500 8px system-ui;color:#c4cada;margin:3px 0 6px}body #enemyCards .enemy-card.locked{border-left-color:#f2cf7b}
body #comboReadout{left:50%;top:auto;bottom:99px;transform:translateX(-50%);font:700 9px system-ui;letter-spacing:.4px;color:#d5e2f3;background:#0d1828b8;padding:6px 9px;border:0;border-radius:5px;white-space:nowrap}
body #desktopControls{bottom:18px;padding:9px 13px;border:1px solid #ffffff22;background:#0d1828db;border-radius:7px;gap:16px;font:500 10px system-ui;color:#c5d2e3;box-shadow:none}body #desktopControls kbd{font:700 9px system-ui;color:#f2cf7b;background:#ffffff0d;border:1px solid #ffffff20;border-radius:3px;padding:3px 5px}
body #difficultyButton{top:auto;bottom:18px;right:18px;font-size:10px;padding:8px 10px;background:#142137;color:#dbe5f4;border:1px solid #ffffff30;box-shadow:none}body #qolButton{left:18px;right:auto;bottom:18px;font:600 10px system-ui;padding:8px 10px;box-shadow:none}
body #wavePowers{left:20px;bottom:163px;max-width:230px;gap:5px}body #wavePowers b{padding:5px 7px;font-size:9px}body #wavePowers>span{font-size:7px}
body #toast{font:600 11px system-ui;max-width:80vw;padding:9px 12px;bottom:151px;pointer-events:none}
body #overlay{padding:74px 16px 35px;background:#07101b9c;backdrop-filter:blur(5px)}
body #panel{width:min(820px,94vw);max-height:calc(100dvh - 114px);padding:24px;border:1px solid #71839a60;border-radius:14px;background:#142032f5;box-shadow:0 22px 70px #0006;color:#f4f2ea;overflow:auto;text-align:left;scrollbar-width:thin;scrollbar-color:#4d5e77 transparent}
body #panel :is(h1,h2,h3){color:#f8f6ed;text-shadow:none;letter-spacing:-1px}body #panel h1{font:850 clamp(26px,4vw,39px)/1.1 system-ui;margin:0}body #panel p{color:#b8c8dc;font:400 12px/1.6 system-ui}body #panel :is(.kicker,.home-edition){color:#f2cf7b;font-size:10px;letter-spacing:1px}body #panel .home-top{margin-bottom:15px}body #panel .ui-home-head{display:flex;gap:20px;align-items:flex-end;justify-content:space-between;margin-bottom:18px}body #panel .ui-home-head p{margin:0;max-width:235px;font-size:11px}
body #panel .ui-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
body #panel .mode-card{min-height:95px;padding:13px 15px 12px 51px;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;background:#1b2b42!important;border:1px solid #ffffff1d!important;border-radius:9px;box-shadow:none;transform:none;text-align:left;color:#f6f4ed;overflow:hidden}
body #panel .mode-card::before{content:'★';position:absolute;left:12px;top:15px;width:28px;height:28px;display:grid;place-items:center;background:#f2cf7b1a;border:1px solid #f2cf7b33;border-radius:7px;color:#f2cf7b;font:800 13px system-ui}
body #panel #parkourMode::before{content:'↗';color:#95e0c4}body #panel #versusMode::before{content:'VS';font-size:9px}body #panel #clashMode::before{content:'♛'}body #panel #discoMode::before{content:'◎'}body #panel #debateMode::before{content:'?'}body #panel #creativeMode::before{content:'+'}body #panel #partyMode::before{content:'⤨'}body #panel .mode-card::after{content:none}body #panel .mode-card:hover{background:#283d59!important;border-color:#91a7c6!important}body #panel .mode-card strong{font:800 17px system-ui;letter-spacing:-.4px;color:#fff!important}body #panel .mode-card small{font:400 10px/1.4 system-ui;color:#bacbdf!important;max-width:none}body #panel .mode-tag{font:700 6px system-ui;color:#91a7c4!important;letter-spacing:.7px}body #panel .mode-card>b{display:none}body #panel .home-bottom{margin-top:14px;gap:7px}body #panel .home-bottom button{font-size:10px;padding:7px 11px}body #panel .tip{font-size:10px!important;margin:12px 0 0}body #panel .qolModeSearch{margin-bottom:10px}body #panel .qolModeSearch input{font-size:11px;padding:8px 11px;background:#0d1829;border:1px solid #ffffff29;color:#fff;border-radius:7px}body #panel .qolModeSearch span{font-size:9px;color:#a7bad2}
body #panel button{background:#253751;border:1px solid #7586a047;color:#edf1f7;box-shadow:none;border-radius:7px}body #panel button.primary{background:#f2cf7b;color:#182232;border-color:#f2cf7b}
body.comicUI #panel{border:2px solid #000;box-shadow:4px 4px 0 #000}body.comicUI #matchHud{border:2px solid #000;box-shadow:2px 2px 0 #000}
body.at-home #matchHeader #pauseBtn{display:none}body.at-home #difficultyButton{display:none}body.at-home #matchMenu #shopBtn{display:none}
@media(max-width:720px){#matchHeader{padding:10px 11px}#matchHeader .brand>div small{font-size:6px}#matchHeader .brand>div span{font-size:14px}#matchHeader button,#matchHeader summary{font-size:10px;padding:7px 9px}#matchHud{top:65px;left:11px;right:11px;width:calc(100% - 22px);max-width:430px}#matchHud .player-card{width:47%}#matchHud .score-card{width:25%}#matchHud .progress-card{width:28%}#matchHud :is(.player-card,.score-card,.progress-card){padding:9px}#matchHud .player-card>b{font-size:12px}#matchHud #clock{font-size:23px}#matchHud .health-label{font-size:8px}#matchHud #powerLabel{max-width:75px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#matchHud .coins{font-size:17px}body #enemyCards{top:164px;right:11px;width:130px;max-height:22vh}body #waveBadge{left:11px;bottom:183px;padding:7px 9px}body #comboReadout{bottom:153px;left:11px;transform:none;font-size:8px}body #desktopControls{display:none}body #difficultyButton{bottom:10px;right:10px;font-size:9px}body #qolButton{bottom:10px;left:10px;font-size:9px}body #wavePowers{left:11px;bottom:238px}body #panel{padding:17px;width:100%;max-height:calc(100dvh - 105px)}body #panel .ui-home-head{display:block;margin-bottom:12px}body #panel .ui-home-head p{max-width:none;margin-top:7px}body #panel .mode-card{padding:10px 10px 10px 40px;min-height:99px}body #panel .mode-card::before{left:8px;top:12px;width:24px;height:24px;font-size:11px}body #panel .mode-card strong{font-size:14px}body #panel .mode-card small{font-size:9px}body #panel .mode-tag{font-size:5px}body #panel .home-bottom{flex-wrap:wrap}body #overlay{padding-top:62px}body #panel .home-top{margin-bottom:12px}}
@media(max-height:520px) and (min-width:600px){#matchHud{top:58px;transform:scale(.88);transform-origin:top left}body #enemyCards{top:58px}body #waveBadge{bottom:63px}body #comboReadout{bottom:55px}body #panel{max-height:calc(100dvh - 88px)}body #overlay{padding-top:56px}}

#matchMenu :is(#networkButton,#difficultyButton,#qolButton){position:static!important;inset:auto!important;transform:none!important;width:auto;min-width:0;margin:0;display:block;font:700 10px system-ui;letter-spacing:0;box-shadow:none}#matchMenu #networkButton{grid-column:1/-1;background:#f2cf7b;color:#182232;border-color:#f2cf7b}body.at-home #matchMenu #difficultyButton{display:block}

/* Normal home menu keeps its established geometry; this pass only retunes color. */
body:not(.comicUI):not(.pixelUI) #overlay{background:#10192bb8}
body:not(.comicUI):not(.pixelUI) #panel{background:#17283df5;border-color:#68cdbc70;box-shadow:0 22px 70px #020916a8;color:#f5f8f8;scrollbar-color:#3b776f transparent}
body:not(.comicUI):not(.pixelUI) #panel :is(h1,h2,h3){color:#f7fbfa}
body:not(.comicUI):not(.pixelUI) #panel p{color:#c5d6da}
body:not(.comicUI):not(.pixelUI) #panel :is(.kicker,.home-edition){color:#7de0c6}
body:not(.comicUI):not(.pixelUI) #panel .mode-card{background:#213b55!important;border-color:#6da99a!important;color:#f6fbfa}
body:not(.comicUI):not(.pixelUI) #panel .mode-card:hover{background:#294a62!important;border-color:#a4dfcf!important}
body:not(.comicUI):not(.pixelUI) #panel .mode-card::before{background:#77ddc52b;border-color:#77ddc56b;color:#a5f0dc}
body:not(.comicUI):not(.pixelUI) #panel .mode-card strong{color:#f8fcfb!important}
body:not(.comicUI):not(.pixelUI) #panel .mode-card small{color:#c5d6dc!important}
body:not(.comicUI):not(.pixelUI) #panel .mode-tag{color:#92cfc1!important}
body:not(.comicUI):not(.pixelUI) #panel .mode-card>b{color:#a0ebd6}
body:not(.comicUI):not(.pixelUI) #panel button{background:#28445d;border-color:#78ac9c;color:#f4fbf8}
body:not(.comicUI):not(.pixelUI) #panel button.primary{background:#7de0c6;border-color:#7de0c6;color:#102c31}
body:not(.comicUI):not(.pixelUI) #panel .qolModeSearch input{background:#102338;border-color:#6da99a;color:#f5fbf8}
body:not(.comicUI):not(.pixelUI) #panel .qolModeSearch span{color:#b4d1d0}

/* Three clear choices after the playlist was retired. */
body #panel .ui-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
body #panel .mode-card{min-height:112px;padding:13px 12px 12px 48px;}
body #panel #horrorMode::before{content:'◉';color:#ffbd97;}
@media(max-width:720px){body #panel .ui-mode-grid{grid-template-columns:1fr;gap:6px}body #panel .mode-card{min-height:70px;padding:9px 10px 9px 42px}body #panel .mode-card small{font-size:10px}}
