/* Classic panels keep the arena visible and share one visual language. */
body:not(.comicUI):not(.pixelUI){--polish-panel:rgba(17,26,42,.94);--polish-line:rgba(171,200,236,.19);--polish-accent:#a4f1d8}
body:not(.comicUI):not(.pixelUI) :is(.panel,#clashPanel,#partyPanel,#partyOnlinePanel,.networkPanel,#cosPanel){border:1px solid var(--polish-line);background:var(--polish-panel);box-shadow:0 24px 85px #04091675;border-radius:22px}
body:not(.comicUI):not(.pixelUI) :is(#clashHud,#parkHud,#debateScores){background:rgba(15,24,40,.86);border:1px solid var(--polish-line);border-radius:15px;box-shadow:0 8px 28px #050b1838}
body:not(.comicUI):not(.pixelUI) :is(button,a){-webkit-tap-highlight-color:transparent}
body:not(.comicUI):not(.pixelUI) button{transition:background .15s,border-color .15s,transform .15s}
body:not(.comicUI):not(.pixelUI) button:active{transform:translateY(1px)}
body:not(.comicUI):not(.pixelUI) :is(button,a,input,select):focus-visible{outline:3px solid #a4f1d8;outline-offset:4px}
body:not(.comicUI):not(.pixelUI) .ui-home-head h1{font-size:clamp(30px,4vw,54px);letter-spacing:-.04em;line-height:1.05}
body:not(.comicUI):not(.pixelUI) .ui-home-head p{color:#c2cee0;line-height:1.5}
body:not(.comicUI):not(.pixelUI) .ui-mode-grid{gap:13px}
body:not(.comicUI):not(.pixelUI) .mode-card{position:relative;overflow:hidden;isolation:isolate;text-align:left;border:1px solid #ffffff18;border-radius:16px;min-height:181px;padding:21px;background:#253550;box-shadow:inset 0 1px #ffffff09;display:flex;flex-direction:column;align-items:flex-start;gap:9px}
body:not(.comicUI):not(.pixelUI) .mode-card::after{content:'';position:absolute;width:125px;height:125px;border:15px solid #ffffff07;border-radius:50%;right:-37px;top:-38px;z-index:-1}
body:not(.comicUI):not(.pixelUI) .mode-card:hover{border-color:#d3e3ff66;background:#2d4260;transform:translateY(-2px)}
body:not(.comicUI):not(.pixelUI) .mode-card strong{font-size:23px;line-height:1.13;letter-spacing:-.025em;color:#f4f8ff}
body:not(.comicUI):not(.pixelUI) .mode-card small{font-size:13px;line-height:1.5;color:#d0d9e7;max-width:29ch}
body:not(.comicUI):not(.pixelUI) .mode-card b{font-size:12px;color:#acedd8;margin-top:auto}
body:not(.comicUI):not(.pixelUI) .mode-tag{font-size:9px;letter-spacing:.11em;color:#b8cbdc}
body:not(.comicUI):not(.pixelUI) #enterRing{background:#3b3043}body:not(.comicUI):not(.pixelUI) #versusMode{background:#3c2942}body:not(.comicUI):not(.pixelUI) #parkourMode{background:#20494b}body:not(.comicUI):not(.pixelUI) #clashMode{background:#3a3d32}body:not(.comicUI):not(.pixelUI) #discoMode{background:#3b2e52}body:not(.comicUI):not(.pixelUI) #debateMode{background:#273b54}body:not(.comicUI):not(.pixelUI) #partyMode{background:#3d3552}
body:not(.comicUI):not(.pixelUI) :is(#clashActions button,#parkActions button,[data-act]){min-height:54px;border:1px solid #c6d8f638;border-radius:14px;background:#18273ee8;box-shadow:0 4px 16px #0003;color:#f6f8ff}
body:not(.comicUI):not(.pixelUI) :is(#clashActions button,#parkActions button,[data-act]) small{display:block;color:#b1c3dc;font-size:10px;margin-top:4px}
body:not(.comicUI):not(.pixelUI) #debateAnswers .wrong{background:#5d2f3d;color:#ffd9df;border-color:#ff9aad}
body:not(.comicUI):not(.pixelUI) .resultRow{padding:14px 0;border-bottom:1px solid #b0c5e51a;color:#e4ebf7}
body:not(.comicUI):not(.pixelUI) :is(#partyResult section,#qolOverlay section){border:1px solid var(--polish-line);border-radius:22px;box-shadow:0 24px 65px #04091680}
@media(min-width:1100px){body:not(.comicUI):not(.pixelUI) .ui-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){body:not(.comicUI):not(.pixelUI) .mode-card{min-height:158px;padding:18px}body:not(.comicUI):not(.pixelUI) .mode-card strong{font-size:21px}body:not(.comicUI):not(.pixelUI) .ui-mode-grid{gap:10px}body:not(.comicUI):not(.pixelUI) :is(.home-bottom button,#partyNext){min-height:44px}}
@media(prefers-reduced-motion:reduce){body button{transition:none!important}}
.at-home #creativeMode{background:linear-gradient(125deg,#323751,#344c4d);border-color:#84ead166}.at-home #creativeMode .mode-tag{color:#a3f0dd}

/* Brighter, clearer home hub: distinct game marks and calm color accents. */
body:not(.comicUI):not(.pixelUI).at-home #panel{background:radial-gradient(120% 90% at 0% 0%,#293d5b 0%,#17243a 47%,#101827 100%);border-color:#bdd5f02d;box-shadow:0 26px 90px #030812a8,inset 0 1px #ffffff12}
body:not(.comicUI):not(.pixelUI).at-home #panel .home-top{display:flex;align-items:center;gap:10px}
body:not(.comicUI):not(.pixelUI).at-home #panel .kicker{color:#b8c8dd;font-size:10px;font-weight:800;letter-spacing:.16em}
body:not(.comicUI):not(.pixelUI).at-home #panel .home-edition{padding:4px 7px;border:1px solid #ffd77b55;border-radius:5px;background:#ffd77b14;color:#ffdc89;font-size:9px;font-weight:900;letter-spacing:.12em}
body:not(.comicUI):not(.pixelUI).at-home #panel .ui-home-head h1{background:linear-gradient(100deg,#fff 20%,#bce9dc 75%,#f5d88d);color:transparent;background-clip:text}
body:not(.comicUI):not(.pixelUI).at-home #panel .mode-card{min-height:106px;padding-left:55px;background:linear-gradient(145deg,#263b56,#1c2d43)!important;border-color:#d5e5f125!important;box-shadow:inset 0 1px #ffffff0b,0 5px 15px #050c1735;transition:transform .18s,border-color .18s,background .18s,box-shadow .18s}
body:not(.comicUI):not(.pixelUI).at-home #panel .mode-card::before{content:'•';left:14px;top:16px;width:28px;height:28px;border-radius:8px;background:#d8e9ff10;border:1px solid #d8e9ff28;color:#bfe7dc;font:bold 17px/1 system-ui;transition:transform .18s,background .18s}
body:not(.comicUI):not(.pixelUI).at-home #panel #enterRing::before{content:'R';color:#ffd68a;background:#edb85b18;border-color:#edb85b45}
body:not(.comicUI):not(.pixelUI).at-home #panel #versusMode::before{content:'V';color:#ffabb8;background:#eb829718;border-color:#eb829745}
body:not(.comicUI):not(.pixelUI).at-home #panel #parkourMode::before{content:'P';color:#8ff0db;background:#69d6c118;border-color:#69d6c145}
body:not(.comicUI):not(.pixelUI).at-home #panel #clashMode::before{content:'C';color:#ffe17d;background:#efd56818;border-color:#efd56845}
body:not(.comicUI):not(.pixelUI).at-home #panel #discoMode::before{content:'D';color:#d6b6ff;background:#ad7bf118;border-color:#ad7bf145}
body:not(.comicUI):not(.pixelUI).at-home #panel #debateMode::before{content:'?';color:#a8ceff;background:#7caef118;border-color:#7caef145}
body:not(.comicUI):not(.pixelUI).at-home #panel #creativeMode::before{content:'+';color:#a5f0c9;background:#78d8a118;border-color:#78d8a145}
body:not(.comicUI):not(.pixelUI).at-home #panel #partyMode::before{content:'!';color:#ffb5df;background:#f17fc018;border-color:#f17fc045}
body:not(.comicUI):not(.pixelUI).at-home #panel .mode-card:hover{transform:translateY(-3px);border-color:#d5e5f15e!important;background:linear-gradient(145deg,#304c6c,#20364f)!important;box-shadow:inset 0 1px #ffffff16,0 12px 25px #02081265}
body:not(.comicUI):not(.pixelUI).at-home #panel .mode-card:hover::before{transform:rotate(-7deg) scale(1.08);background-color:#ffffff19}
body:not(.comicUI):not(.pixelUI).at-home #panel .mode-card strong{font-size:clamp(18px,2vw,22px)}
body:not(.comicUI):not(.pixelUI).at-home #panel .mode-card b{color:#b6f1dc}
body:not(.comicUI):not(.pixelUI).at-home #panel .home-bottom button{border-color:#d7e7fa28;background:#17283e;color:#e8f0f8}
body:not(.comicUI):not(.pixelUI).at-home #panel .tip{margin:12px 0 0;color:#aabbd0;font-size:11px}
@media(max-width:540px){body:not(.comicUI):not(.pixelUI).at-home #panel .mode-card{min-height:94px;padding:11px 10px 11px 48px}body:not(.comicUI):not(.pixelUI).at-home #panel .mode-card::before{left:11px;top:13px}}
