@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Nunito:wght@500;600;700;800;900;1000&display=swap');
:root{--ink:#0c0818;--panel:#292043;--yellow:#ffda3e;--pink:#ff365e;--muted:#c5bbdf}*{box-sizing:border-box}body{margin:0;background:#6a40dd;color:#faf6ff;font-family:'Nunito',sans-serif;font-size:18px}button,input{font:inherit}button{color:inherit;cursor:pointer;background:var(--panel);border:4px solid var(--ink);border-radius:22px;box-shadow:5px 6px 0 var(--ink);font-weight:1000;transition:transform .12s,background .12s,box-shadow .12s}button:hover{background:#44335f;transform:translateY(-2px)}button:active{transform:translate(3px,4px);box-shadow:1px 2px 0 var(--ink)}button:focus-visible,input:focus-visible,canvas:focus-visible{outline:4px solid var(--yellow);outline-offset:4px}h1,h2,p{margin:0}h1{font-family:'Lilita One',Impact,sans-serif;font-weight:400;letter-spacing:1px}h2{font-size:23px;font-weight:1000}p{line-height:1.55}#arena{position:fixed;inset:0}canvas{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}.gameplay{display:none}.mode-arena .gameplay{display:flex}.hud{position:absolute;top:14px;left:18px;right:18px;align-items:flex-start;justify-content:space-between;gap:12px;pointer-events:none}.hud button{pointer-events:auto}.hud-left,.hud-right{display:flex;gap:12px;align-items:flex-start}.round{width:60px;height:60px;border-radius:50%;font:32px 'Nunito',sans-serif;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.nameplate,.scoreplate{background:var(--panel);border:4px solid var(--ink);border-radius:20px;box-shadow:5px 6px 0 var(--ink);padding:9px 15px}.nameplate strong{font-weight:1000;font-size:21px;display:block}.nameplate>span{font-size:13px;color:var(--pink);font-weight:900}.nameplate small{font-size:11px;color:var(--muted)}.scoreplate{min-width:255px;text-align:center;position:absolute;left:50%;transform:translateX(-50%)}.scoreplate>div:first-child{display:flex;align-items:center;justify-content:center;gap:12px}.scoreplate>div>span{font-size:15px;color:var(--muted);font-weight:900}.scoreplate strong{font:38px 'Lilita One',Impact,sans-serif}.meter{border:3px solid var(--ink);border-radius:12px;height:20px;background:#44336c;position:relative;overflow:hidden;margin-top:6px}.meter>div{height:100%;background:linear-gradient(90deg,#ffae18,#ff365e);width:0;transition:width .15s}.meter>span{position:absolute;inset:0;text-align:center;font-size:11px!important;color:#fff!important;font-weight:1000;line-height:14px;text-shadow:1px 1px #201334}.meter b{display:none}#sound{font-size:13px;line-height:1.1;padding:8px}.weapon-dock{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);flex-direction:column;width:min(900px,94%);gap:9px}.weapon-caption{display:flex;justify-content:center;align-items:center;gap:18px;text-align:center;font-size:15px;font-weight:1000;text-shadow:2px 2px #332135}#record{font-size:11px;border-width:3px;border-radius:12px;white-space:nowrap;padding:6px 10px;text-shadow:none;box-shadow:3px 3px var(--ink)}#record small{color:var(--muted)}#weapons{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.weapon{position:relative;height:84px;border-radius:20px;font-size:12px;line-height:1.1;padding:8px 2px}.weapon.selected{background:var(--yellow);color:#201232;transform:rotate(-2deg)}.weapon .key{position:absolute;left:8px;top:6px;font-size:11px;color:var(--muted)}.weapon.selected .key{color:#594324}.weapon .icon{display:block;font-size:29px;height:37px;margin-bottom:4px}#screens{position:relative;z-index:2;min-height:100dvh;background:#10052abf;backdrop-filter:blur(3px)}.mode-arena #screens{display:none}.screen{min-height:100dvh;padding:24px}.hidden{display:none!important}.home-content{display:flex;flex-direction:column;align-items:center;max-width:850px;margin:auto;text-align:center;padding:3vh 0 20px}.game-logo{display:flex;flex-direction:column;align-items:center;transform:rotate(-3deg);line-height:.89;margin:0 0 30px;filter:drop-shadow(5px 6px 0 var(--pink));font-family:'Lilita One',Impact,sans-serif}.game-logo>span{font-size:clamp(100px,13vw,165px);color:var(--yellow);-webkit-text-stroke:6px var(--ink);paint-order:stroke fill;letter-spacing:2px}.game-logo small{font-size:61px;color:#fff;-webkit-text-stroke:5px var(--ink);paint-order:stroke fill;line-height:1.02;margin:2px 0}.tagline{font-weight:1000;font-size:23px;background:var(--panel);border:4px solid var(--ink);border-radius:50px;padding:10px 24px;box-shadow:5px 6px var(--ink);transform:rotate(1deg);margin:0 0 28px}.primary{background:var(--pink);font:29px 'Lilita One',Impact,sans-serif;letter-spacing:1px;padding:17px 32px;border-radius:20px}.primary:hover{background:#ff5776}.menu-links{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;max-width:560px;margin-top:28px}.menu-links button{font-size:20px;padding:12px 22px}.disclaimer{font-size:15px;color:var(--muted);margin-top:29px;max-width:760px;line-height:1.5;font-weight:700}.selection-head{display:flex;gap:22px;align-items:center}.selection-head h1{font-size:48px;text-shadow:4px 4px var(--ink)}.selection-sub{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:12px 0 25px}.selection-sub p{font-size:18px;color:#e0d6f6;line-height:1.3}.selection-sub input{background:var(--panel);border:3px solid var(--ink);border-radius:15px;color:white;padding:12px 18px;width:210px;font-size:15px}.roster{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;max-width:1600px;margin:0 auto 25px}.kol{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:14px 9px 17px;border-radius:26px;position:relative;min-height:231px}.kol:hover{background:#413060;border-color:var(--yellow)}.kol svg{width:138px;max-width:100%;height:138px;display:block}.kol strong{font-size:19px;line-height:1.1;font-weight:1000;margin:3px 0 8px;overflow-wrap:anywhere}.kol .bio{font-size:14px;color:var(--muted);font-weight:700;line-height:1.25;max-width:180px}.modal-screen{display:flex;justify-content:center;align-items:flex-start;padding:5vh 22px}.modal{position:relative;background:var(--panel);border:4px solid var(--ink);border-radius:32px;box-shadow:10px 12px var(--ink);padding:32px;max-width:880px;width:100%;margin-bottom:20px}.modal.wide{max-width:1100px}.modal h1{font-size:36px;padding-right:65px;margin-bottom:20px}.modal p{margin:17px 0;font-size:19px}.modal h2{margin-top:26px;margin-bottom:13px}.close{position:absolute;top:16px;right:18px}.flywheel{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.flywheel span{background:#403066;border:3px solid var(--ink);border-radius:13px;padding:5px 12px;font-size:16px;font-weight:1000}.flywheel b{color:var(--pink)}.modal p.notice{font-size:16px;background:#403066;border:4px solid var(--ink);border-radius:19px;padding:15px;line-height:1.35;margin-bottom:0}.modal .note{font-size:14px;color:var(--muted)}.score-row{display:flex;justify-content:space-between;gap:12px;padding:17px 0;border-bottom:2px solid #493967;font-size:18px}.score-row strong{color:var(--yellow)}.votes{display:grid;grid-template-columns:repeat(6,1fr);gap:15px}.votes button{font-size:13px;padding:9px 4px;border-radius:17px}.votes svg{width:85px;max-width:100%;display:block;margin:auto}.votes small{color:var(--muted)}.votes .chosen{background:#57402b;border-color:var(--yellow)}#toast{position:fixed;z-index:10;bottom:125px;left:50%;transform:translateX(-50%);background:var(--yellow);color:#21142e;padding:12px 21px;border:3px solid var(--ink);box-shadow:4px 4px var(--ink);border-radius:16px;font-size:15px;font-weight:1000;display:none;text-align:center;max-width:90%}@media(min-height:950px){.home-content{padding-top:7vh}.game-logo>span{font-size:175px}.game-logo small{font-size:67px}}@media(max-width:1050px){.roster{grid-template-columns:repeat(4,minmax(0,1fr))}.hud-left .nameplate{max-width:210px}.nameplate strong{font-size:17px}.nameplate small{display:none}.scoreplate{min-width:215px}.votes{grid-template-columns:repeat(4,1fr)}}@media(max-width:700px){.screen{padding:17px}.home-content{padding-top:4vh}.game-logo>span{font-size:115px}.game-logo small{font-size:45px}.game-logo{margin-bottom:25px}.tagline{font-size:16px;padding:9px 14px}.primary{font-size:23px;padding:16px 27px}.menu-links{gap:12px;margin-top:24px}.menu-links button{font-size:15px;padding:10px 14px}.disclaimer{font-size:12px}.selection-head{gap:13px}.selection-head h1{font-size:31px}.round{width:46px;height:46px;font-size:26px}.selection-sub{flex-direction:column;align-items:stretch;gap:12px}.selection-sub p{font-size:15px}.selection-sub input{width:100%;padding:9px 14px}.roster{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.kol{min-height:185px;border-radius:19px;padding:11px 5px}.kol svg{width:94px;height:94px}.kol strong{font-size:15px}.kol .bio{font-size:11px}.hud{top:10px;left:10px;right:10px;gap:6px}.hud-left,.hud-right{gap:7px}.nameplate{padding:6px 9px;border-radius:15px;max-width:160px!important}.nameplate strong{font-size:14px}.nameplate>span{font-size:10px}.scoreplate{top:72px;min-width:185px;padding:5px 12px;border-radius:15px}.scoreplate strong{font-size:27px}.scoreplate>div>span{font-size:12px}.meter{height:16px;margin-top:2px}.meter>span{line-height:11px;font-size:9px!important}#sound{font-size:9px}.weapon-dock{width:96%;bottom:12px;gap:8px}#weapons{gap:5px}.weapon{height:68px;border-radius:12px;border-width:3px;font-size:9px;box-shadow:3px 4px var(--ink)}.weapon .icon{font-size:23px;height:28px}.weapon .key{font-size:8px;left:4px;top:3px}.weapon-caption{font-size:10px;gap:8px}#record{font-size:9px;padding:5px}.modal{padding:24px 18px;border-radius:23px}.modal h1{font-size:28px;padding-right:45px}.modal p{font-size:16px}.modal h2{font-size:19px}.flywheel span{font-size:13px}.modal p.notice{font-size:13px}.close{right:12px;top:12px}.votes{grid-template-columns:repeat(3,1fr);gap:12px}.score-row{font-size:13px}.modal-screen{padding:20px 12px}}@media(max-height:700px) and (min-width:701px){.home-content{padding:0}.game-logo>span{font-size:100px}.game-logo small{font-size:38px}.game-logo{margin-bottom:16px}.tagline{font-size:18px;margin-bottom:20px}.primary{font-size:23px;padding:12px 25px}.menu-links{margin-top:20px}.menu-links button{font-size:17px;padding:8px 16px}.disclaimer{margin-top:20px;font-size:12px}}
@media (max-height:850px){.home-content{padding-top:0}.game-logo>span{font-size:min(13vw,17vh)}.game-logo small{font-size:6vh}.game-logo{margin-bottom:20px}.tagline{font-size:20px;padding:8px 20px;margin-bottom:23px}.menu-links{margin-top:22px}.menu-links button{font-size:18px;padding:10px 18px}.disclaimer{margin-top:24px;font-size:13px}}@media(max-width:700px) and (max-height:850px){.game-logo>span{font-size:100px}.game-logo small{font-size:40px}.tagline{font-size:15px;padding:8px 12px}.menu-links button{font-size:14px}.disclaimer{font-size:11px}}

/* Portrait-only character cards. */
.kol{min-height:199px;padding-bottom:14px}.kol strong{margin-bottom:0}@media(max-width:700px){.kol{min-height:148px}}

#premium-items{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.premium-card{display:flex;flex-direction:column;gap:10px;padding:18px 12px}.premium-card>span{font-size:38px}.premium-card small{font-family:Arial,sans-serif;font-weight:400;line-height:1.4}.premium-card.chosen{background:#49347b;border-color:#ffda3e}.premium-card b{color:#ffda3e}.treasury-label{margin-bottom:6px!important;font-size:14px}.treasury-address{display:block;overflow-wrap:anywhere;font-size:14px;padding:12px;background:#171127;border-radius:10px}.premium-shop .primary{display:block;margin:20px 0;width:100%}#premium-status{min-height:28px;color:#ffda3e;font-size:16px}#receipt-signature{width:100%;box-sizing:border-box;margin:10px 0;padding:14px;background:#171127;color:white;border:2px solid #796597;border-radius:10px}button:disabled{opacity:.6;cursor:wait}.premium-shortcut{color:#ffda3e!important}.premium-shop details{font-size:16px}.premium-shop summary{cursor:pointer;font-weight:bold}#weapons{overflow-x:auto;justify-content:safe center}@media(max-width:600px){#premium-items{grid-template-columns:1fr}.premium-card{display:grid;grid-template-columns:auto 1fr;align-items:center}.premium-card small{grid-column:2}.premium-shop{padding:22px}.premium-card b{grid-column:2}}

#weapons{grid-template-columns:repeat(8,minmax(78px,1fr));justify-content:start}

#weapons{overflow-y:hidden;padding-bottom:8px}
