:root{font-family:Inter,system-ui,sans-serif;color:#e8eef8;background:#080d17}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:radial-gradient(circle at 15% 12%,#162c40 0,transparent 40%),radial-gradient(circle at 83% 70%,#241b34 0,transparent 42%),#080d17;min-height:100vh}main{max-width:1330px;margin:auto;padding:26px 28px 40px}header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff24;padding-bottom:18px}header small,.eyebrow{font-size:10px;font-weight:700;letter-spacing:.24em;color:#74d4df}h1,h2{font-family:Cinzel,Georgia,serif;margin:0}h1{font-size:26px;letter-spacing:.08em}#connection{color:#aab8c9;font-size:13px}.menu{display:grid;grid-template-columns:1.25fr .75fr;gap:50px;align-items:center;min-height:680px}.intro h2{font-size:clamp(42px,5vw,76px);line-height:1.08;margin:22px 0}.intro h2 em{font-style:normal;color:#8de1dc}.intro p{max-width:540px;color:#adc0cf;line-height:1.7;font-size:17px}.mode-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:36px}.mode-tabs button,.loadout,.abilities>div,#share,#leave{border:1px solid #ffffff2b;background:#101b2b;color:#dce8f3;border-radius:10px}.mode-tabs button{padding:12px 14px;cursor:pointer}.mode-tabs button.chosen{border-color:#76d5d3;background:#1c4248}.mode-tabs small{display:block;color:#8ca2b5;font-size:10px;margin-top:3px}.loadout{padding:30px;box-shadow:0 18px 80px #0008}.loadout label,.loadout>b{display:block;font-size:13px;font-weight:700;letter-spacing:.04em}.loadout input{display:block;width:100%;margin:9px 0 25px;padding:13px;border-radius:6px;background:#0b1320;color:white;border:1px solid #40536a;font:inherit}.heroes{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0 22px}.hero{padding:14px;text-align:left;border:1px solid #ffffff2b;border-radius:8px;background:#121f2e;color:#fff;cursor:pointer}.hero.selected{border-color:var(--hero);box-shadow:inset 0 0 0 1px var(--hero),0 0 20px #ffffff0b}.hero .orb{display:inline-block;width:14px;height:14px;border-radius:50%;background:var(--hero);box-shadow:0 0 20px var(--hero);margin-right:8px}.hero b{font-size:15px}.hero small{display:block;color:#9dafbf;margin-top:6px}.primary{width:100%;padding:16px;border:0;border-radius:8px;background:linear-gradient(100deg,#83e1d7,#b4edbd);color:#071824;font-size:15px;font-weight:800;cursor:pointer}.note{font-size:12px;color:#93a7b6;line-height:1.5}.score{display:flex;justify-content:center;align-items:center;gap:85px;margin:17px auto 12px}.team{display:flex;align-items:center;gap:14px;font-weight:700;letter-spacing:.15em}.team strong{font-family:Cinzel;font-size:40px}.blue{color:#80d9ff}.red{color:#ff9475}.round{text-align:center;min-width:110px}.round b{display:block;color:#e9eff9}.round span{color:#99acbe;font-size:13px}.progress{display:flex;width:min(420px,60vw);height:8px;margin:0 auto 18px;gap:4px}.progress>div{height:100%;width:0;transition:width .2s}.progress #blue-progress{background:#80d9ff}.progress #red-progress{background:#ff9475}.arena-wrap{position:relative;border:1px solid #446178;border-radius:14px;overflow:hidden;box-shadow:0 30px 80px #0009}canvas{display:block;width:100%;aspect-ratio:1200/820;background:#101f2b;cursor:crosshair}#overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#08111ddc;text-align:center}#overlay[hidden]{display:none}#overlay h2{font-size:40px}#overlay p{color:#b8c9d8}#drafts{display:flex;gap:12px;margin-top:15px}#drafts button{width:190px;min-height:104px;border:1px solid #96dcd5;background:#183440;color:white;border-radius:9px;font:inherit;cursor:pointer}#drafts button b{display:block;font-size:18px;margin-bottom:7px}#drafts button small{color:#bbced9}#drafts button:disabled{opacity:.55;cursor:default}.below{display:flex;align-items:center;gap:16px;margin-top:13px}.abilities{display:flex;gap:7px}.abilities>div{padding:8px 12px;min-width:125px;display:grid;grid-template-columns:43px 1fr;gap:2px 7px;font-size:11px}.abilities kbd{grid-row:span 2;background:#315064;border-radius:4px;padding:4px;text-align:center;color:#fff}.abilities strong{font-size:11px;color:#8de1dc}.instructions{flex:1;text-align:center;color:#a3b7c7;font-size:12px}#share,#leave{padding:10px 13px;cursor:pointer}.feed{color:#9eb7c7;text-align:right;font-size:12px;margin-top:12px;min-height:18px}@media(max-width:850px){main{padding:15px}.menu{grid-template-columns:1fr;gap:20px;padding:35px 0}.intro h2{font-size:42px}.below{flex-wrap:wrap}.instructions{order:3;flex-basis:100%}.score{gap:20px}#drafts{flex-wrap:wrap;justify-content:center}#drafts button{width:140px}.arena-wrap{min-height:350px}canvas{min-height:350px}}

button{font:inherit}button:disabled{opacity:.5;cursor:wait}.play-options{display:flex;gap:10px;margin-top:10px}.play-options button,#again,#mute,.touch-controls button{padding:12px;border:1px solid #5b8190;background:#152c3c;border-radius:8px;color:#dceef1;cursor:pointer}.play-options button{flex:1;font-size:12px}.profile-card{border-top:1px solid #ffffff20;margin-top:20px;font-size:12px;color:#a4c4d3}.profile-card ul{padding-left:15px;line-height:1.8}.roster{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-size:12px;margin-top:15px}.roster span{padding:8px;border:1px solid #ffffff15;border-radius:4px}footer{display:flex;align-items:center;gap:18px;color:#a0b5c6;font-size:12px;margin-top:25px}.touch-controls{display:none}canvas{touch-action:none}#again{margin-top:8px}button:focus-visible{outline:3px solid #e5cf8d;outline-offset:3px}@media(pointer:coarse){.touch-controls{display:flex;gap:6px;margin-top:12px}.touch-controls button{flex:1;touch-action:none}.instructions{display:none}}@media(max-width:500px){.loadout{padding:18px}.roster{grid-template-columns:repeat(2,1fr)}.abilities>div{min-width:90px;padding:6px}.score{gap:12px}.team{gap:6px;font-size:12px}#overlay h2{font-size:26px}#drafts{gap:6px}#drafts button{width:100px;min-height:90px;font-size:12px}#drafts button b{font-size:14px}header small{font-size:8px}.arena-wrap,canvas{min-height:0}footer span{line-height:1.5}}

.kit-details{border:1px solid #ffffff22;border-radius:8px;padding:10px 13px;margin-bottom:14px;background:#091625}.kit-details p{font-size:12px;line-height:1.6;color:#bcd1de;margin:6px 0}.kit-details p:first-child{font-weight:700;color:#a0eee0}.match-rule,.player-status{text-align:center;color:#b1ccd8;font-size:12px;line-height:1.5;margin:10px 0}.player-status{min-height:18px;color:#dceff5}.stick{position:relative;width:104px;height:104px;flex:none;border:1px solid #6ba6b8;border-radius:50%;background:#143447;touch-action:none;user-select:none;--stick-x:0px;--stick-y:0px}.stick-thumb{position:absolute;left:calc(50% - 17px);top:calc(50% - 17px);width:34px;height:34px;border-radius:50%;background:#8adfd9;box-shadow:0 0 15px #8adfd933;transform:translate(var(--stick-x),var(--stick-y));pointer-events:none}.stick small{position:absolute;top:calc(100% + 5px);width:100%;left:0;text-align:center;color:#b8d8e4;font-size:11px;pointer-events:none}.touch-actions{display:flex;flex-direction:column;justify-content:center;gap:7px}.touch-actions button{min-width:65px;min-height:44px;touch-action:none;user-select:none}.touch-actions .pressed{background:#376a79;border-color:#b2fff0}.touch-controls{user-select:none;-webkit-user-select:none}.roster span{line-height:1.55;overflow-wrap:anywhere}@media(pointer:coarse){.touch-controls{display:flex;align-items:center;justify-content:space-around;gap:10px;margin:14px 0 26px}.touch-controls button{flex:none}.stick{width:104px;height:104px}}@media(max-width:500px){.kit-details{padding:8px 10px}.match-rule{font-size:11px}.stick{width:96px;height:96px}.below{gap:9px}.abilities{width:100%}.abilities>div{flex:1;min-width:0;grid-template-columns:34px 1fr}.abilities span{overflow-wrap:anywhere}.touch-controls{gap:5px}}

.touch-enabled .touch-controls{display:flex;align-items:center;justify-content:space-around;gap:10px;margin:14px 0 26px}.touch-enabled .touch-controls button{flex:none}.touch-enabled .instructions{display:none}
#cosmetic-shop{margin:24px 0;padding:24px;border:1px solid #365367;border-radius:18px;background:#102331}#cosmetic-shop summary{cursor:pointer;font-size:1.2rem;font-weight:700}.collection-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.collection-tabs .chosen{border-color:#a4f2dc;background:#254b52}.skin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.skin-card{min-width:0;background:#091622;border:1px solid #365367;border-radius:12px;padding:12px}.skin-card canvas{width:100%;height:auto}.skin-card h4{min-height:3em;margin:8px 0}.skin-card button{width:100%}.bundle-buy{margin:16px 12px 16px 0}#store-status{color:#b8e5dc}@media(max-width:760px){.skin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#cosmetic-shop{padding:14px}.skin-card{padding:8px}}
#cosmetic-shop button{font:inherit;color:#e7f4fa;background:#172f3e;border:1px solid #527488;border-radius:9px;padding:10px 14px;cursor:pointer}#cosmetic-shop button:hover:not(:disabled){border-color:#a4f2dc;background:#244751}#cosmetic-shop button:disabled{opacity:.55;cursor:default}#cosmetic-shop .bundle-buy{background:#9de3cf;color:#071e29;font-weight:700}#cosmetic-shop .collection-tabs .chosen{border-color:#a4f2dc;background:#254b52}
