/* wormnova.io menu theme. Gameplay canvas and game input are intentionally unstyled. */
body.wn-ui{font-family:Arial,system-ui,sans-serif;background:#020715;color:#fff}
body.wn-ui #app{height:100dvh;background:#020715!important;overflow:auto;isolation:isolate}
body.wn-ui .stage-wrap{height:auto;min-height:100%}
body.wn-ui #stage{position:relative;inset:auto;left:auto;top:auto;width:100%;height:auto;min-height:100dvh;transform:none!important;will-change:auto;display:flex;flex-direction:column;gap:0;padding:20px 28px 12px;z-index:1}
body.wn-ui .app.in-game #stage{display:none!important}
body.wn-ui .app.in-game{overflow:hidden!important}
body.wn-ui .wn-background{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
body.wn-ui .app.in-game .wn-background{display:none}
body.wn-ui .wn-retained-source,body.wn-ui .wn-hide-offers,body.wn-ui .wn-old-brand,body.wn-ui .skins-bg,body.wn-ui .vip-pill,body.wn-ui .player-card .badge{display:none!important}
body.wn-ui [hidden]{display:none!important}
body.wn-ui #stage button,body.wn-ui #stage input,body.wn-ui #stage select{font-family:Arial,system-ui,sans-serif}
body.wn-ui button:focus-visible,body.wn-ui a:focus-visible,body.wn-ui input:focus-visible,body.wn-ui select:focus-visible{outline:2px solid #4fdbfa!important;outline-offset:3px}
body.wn-ui .wn-topbar{height:auto;min-height:64px;border:0;border-radius:0;background:none;box-shadow:none;padding:0;display:flex;justify-content:space-between;gap:20px}
body.wn-ui .wn-player-open{display:flex;align-items:center;gap:12px;color:#fff;text-align:left;cursor:pointer}
body.wn-ui .wn-player-open>img{width:48px;height:48px;object-fit:cover;border:3px solid #fff;border-radius:6px;background:#dff6fd}
body.wn-ui .wn-player-copy{display:flex;flex-direction:column;gap:8px;min-width:100px}
body.wn-ui .wn-player-name{font-size:23px;font-weight:500;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.wn-ui .wn-player-points{font-size:12px;color:#c3d5ec;border-bottom:5px solid #d58b25;padding-bottom:5px}
body.wn-ui .wn-level-star{width:54px;height:58px;background:#f2a322;clip-path:polygon(50% 0,65% 24%,97% 29%,78% 56%,82% 96%,50% 78%,18% 96%,22% 56%,3% 29%,35% 24%);display:grid;place-items:center;padding-bottom:4px;color:#fff;font-size:26px}
body.wn-ui .wn-top-wallet{display:flex;align-items:center;gap:14px;font-size:23px}
body.wn-ui .wn-gold-coin{width:40px;height:45px;display:grid;place-items:center;background:#f5bb25;border:3px solid #ffe17b;border-radius:50%;transform:rotate(-16deg);box-shadow:3px 3px #b88115;color:#fff0ac;font-size:33px}
body.wn-ui .wn-top-wallet .exit-btn{font-size:12px;font-weight:500;border:1px solid #425876;background:#07182da6;padding:8px 10px;height:auto;border-radius:5px;box-shadow:none;text-shadow:none}
body.wn-ui .wn-home-board{width:100%;max-width:1600px;align-self:center;display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,420px) minmax(0,1fr);gap:32px;align-items:start;margin:30px 0 0;flex:1}
body.wn-ui .wn-main-column{grid-column:2;min-width:0;background:none;box-shadow:none;border:0;border-radius:0;padding:0;gap:0;display:flex;flex-direction:column;align-items:stretch}
body.wn-ui .wn-brand{position:relative;text-align:center;user-select:none;padding-top:35px;margin:0 -6px 12px}
body.wn-ui .wn-wordmark{display:flex;justify-content:center;white-space:nowrap;font-family:'Arial Rounded MT Bold','Trebuchet MS',sans-serif;font-size:clamp(48px,4.5vw,70px);font-weight:900;line-height:1.15;letter-spacing:-4px;-webkit-text-stroke:2px #07101f;filter:drop-shadow(0 4px 0 #07101f)}
body.wn-ui .wn-wordmark span:nth-child(5n+1){color:#ffdc2f}body.wn-ui .wn-wordmark span:nth-child(5n+2){color:#28bfe9}body.wn-ui .wn-wordmark span:nth-child(5n+3){color:#fb5d69}body.wn-ui .wn-wordmark span:nth-child(5n+4){color:#8add35}body.wn-ui .wn-wordmark span:nth-child(5n){color:#d75ce6}
body.wn-ui .wn-mascot{position:absolute;top:0;left:21%;width:100px;height:43px;transform:rotate(7deg)}
body.wn-ui .wn-mascot b{position:absolute;top:17px;left:31px;width:27px;height:24px;border:2px solid #101827;border-radius:50%;background:#f8767c}body.wn-ui .wn-mascot b:nth-child(2){left:50px;top:20px;background:#ef5b67}body.wn-ui .wn-mascot b:nth-child(3){left:69px;top:23px;background:#f8717b}body.wn-ui .wn-mascot b:nth-child(4){left:88px;top:30px;width:18px;height:15px;background:#e74a5e}
body.wn-ui .wn-mascot>span{position:absolute;top:1px;left:13px;width:41px;height:40px;line-height:31px;font-size:17px;color:white;background:#ff9897;border:2px solid #101827;border-radius:50%;text-shadow:1px 0 #000}
body.wn-ui #homeMain{width:100%;background:none;box-shadow:none;transform:none}
body.wn-ui #centerPanel{width:100%;height:auto;min-height:0;padding:0;border:0;background:none;box-shadow:none;border-radius:0;display:flex;flex-direction:column;gap:0}
body.wn-ui .center-top{width:100%;gap:0;display:flex;flex-direction:column}
body.wn-ui .home-center-skins{width:100%;height:108px;border-radius:0;box-shadow:none;background:none;overflow:visible;margin-bottom:17px}
body.wn-ui #skin-prev-canvas{width:calc(100% - 104px);max-width:300px;height:90px;margin:auto}
body.wn-ui .home-skins-btn{width:39px;height:39px;border:1.5px solid #21cce9;border-radius:50%;display:grid;place-items:center;background:#06182cbd}
body.wn-ui .home-skins-prev{left:8px}body.wn-ui .home-skins-next{right:8px}
body.wn-ui .home-skins-btn svg{width:13px;height:22px;pointer-events:none}body.wn-ui .home-skins-btn path{fill:white}
body.wn-ui .home-skins-btn:hover{background:#124369}
body.wn-ui .center-controls{gap:0}
body.wn-ui .wn-name-row{display:flex;width:100%;gap:12px;margin-bottom:18px}
body.wn-ui .wn-nickname{min-width:0;flex:1;height:45px;background:#fff;color:#705c1d;font-size:20px;padding:9px 12px;border-radius:5px;cursor:pointer;border:0}
body.wn-ui .wn-arena{width:112px;background:#2fc3d7;color:white;border-radius:5px;font-size:20px;cursor:pointer}
body.wn-ui .play-game-btn{width:100%;height:63px;min-height:0;border:0;box-shadow:none;text-shadow:none;border-radius:6px;padding:0;font-size:31px;font-weight:500;text-transform:none;background:#94d23a;color:white;margin:0 0 8px}
body.wn-ui .play-game-btn:hover{background:#a0dd49;transform:none;filter:none}
body.wn-ui .home-center-buttons{display:flex;width:100%;gap:6px}
body.wn-ui .home-center-buttons button{flex:1;min-width:0;width:auto;height:40px;justify-content:center;margin:0;padding:0 6px;background:#f4f4f5;color:#101727;border:1px solid #d5d7dc;border-radius:4px;box-shadow:none;text-shadow:none;font-size:12px;font-weight:400;cursor:pointer}
body.wn-ui .home-center-buttons .replay-btn{background:#ee971b;border-color:#ee971b;color:#fff}
body.wn-ui .header-buttons.wn-menu-actions{display:flex;gap:8px;justify-content:center;margin:42px -42px 25px;width:calc(100% + 84px)}
body.wn-ui .wn-menu-actions button{flex:1;min-width:0;height:46px;padding:0 10px;border:0;border-radius:5px;box-shadow:none;text-shadow:none;color:white;font-size:19px;line-height:1;font-weight:400;text-transform:none;cursor:pointer}
body.wn-ui .wn-menu-actions .settings-btn{background:#29bfd6}body.wn-ui .wn-menu-actions .lead-btn{background:#ed941c}body.wn-ui .wn-menu-actions .wn-set-button{background:#2b84bd}body.wn-ui .wn-menu-actions .store-btn{background:#89c739}
body.wn-ui .wn-menu-actions button:hover{filter:brightness(1.1);transform:none}
body.wn-ui .wn-server-card{grid-column:3;min-width:0;width:100%;max-width:330px;margin:92px 0 0 16px;align-self:start;background:#061329d9;border:1px solid #536681;border-radius:12px;padding:18px;box-shadow:none;color:white;min-height:305px}
body.wn-ui .wn-server-card h2{font-size:20px;font-weight:600;margin:0 0 14px}
body.wn-ui .wn-server-controls{display:flex;flex-direction:column;border-top:1px solid #283b57}
body.wn-ui .wn-server-controls label{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #283b57;font-size:13px;font-weight:600}
body.wn-ui .wn-server-controls select{min-width:0;width:150px;background:#1c3354;color:#fff;border:1px solid #4b668b;border-radius:5px;padding:5px 7px;font-size:13px;height:32px}
body.wn-ui .wn-server-card .center-bottom{gap:0;min-height:0;width:100%}
body.wn-ui .home-center-server-map{gap:6px;display:flex;justify-content:stretch;flex-wrap:wrap;border-bottom:1px solid #283b57;padding:14px 0;margin:0}
body.wn-ui .server-map{flex:1;padding:8px 3px;min-height:34px;text-align:center;border:1px solid transparent;border-radius:6px;background:#1b2b45;color:white;font:400 12px/16px Arial;box-shadow:none}
body.wn-ui .center-bottom[data-selected-server="eu"] .eu,body.wn-ui .center-bottom[data-selected-server="as"] .as,body.wn-ui .center-bottom[data-selected-server="na"] .na,body.wn-ui .center-bottom[data-selected-server="sa"] .sa{background:#104779;border-color:#35d0f8;box-shadow:0 0 0 1px #129ddb;color:white}
body.wn-ui .home-center-server-list{padding:0;border-radius:0;max-height:220px;scrollbar-width:thin}
body.wn-ui .server-item{gap:8px;border-radius:5px;padding:14px 4px;background:none;box-shadow:none;border:0;color:white;cursor:pointer}
body.wn-ui .server-item:hover{background:#173150}
body.wn-ui .server-name{gap:7px;min-width:0}.wn-ui .server-city{font-size:14px;font-weight:500}.wn-ui .server-img{width:23px;height:18px}.wn-ui .server-img img{width:100%;height:100%;object-fit:contain}
body.wn-ui .server-info{min-width:72px;width:auto}.wn-ui .server-online{gap:6px}.wn-ui .server-player{display:none}.wn-ui .server-count{font-size:12px;font-weight:400;color:#d3c5ed}.wn-ui .server-range{height:3px;background:#1b3853}.wn-ui .server-range-fill{background:#86d63d}
body.wn-ui.auth-locked .home-center-server-list{display:none!important}
body.wn-ui .wn-profile-popover{position:absolute;top:88px;left:24px;z-index:1000;width:320px;max-width:calc(100vw - 30px);padding:18px;background:#091b34;border:1px solid #4b6588;border-radius:10px;box-shadow:0 12px 40px #0008}
body.wn-ui .wn-profile-close{position:absolute;right:7px;top:5px;font-size:25px;line-height:30px;color:white;cursor:pointer;z-index:1}
body.wn-ui .wn-profile-popover .player-card{width:100%;padding:0;border:0;box-shadow:none;background:none}
body.wn-ui .wn-profile-popover .pi-top{margin-bottom:16px}.wn-ui .wn-profile-popover .pi-name h3{font-size:18px}.wn-ui .wn-profile-popover .pi-row{font-size:14px}.wn-ui .wn-profile-popover .change-name-btn{font-size:12px;min-height:30px}
body.wn-ui .wn-footer{margin-top:50px;padding:16px 0 8px}
body.wn-ui .wn-footer .footer-inner{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:22px;background:none;border:0;border-radius:0;box-shadow:none;padding:0;font-size:12px;font-weight:400}
body.wn-ui .wn-footer .foot-left,body.wn-ui .wn-footer .foot-link,body.wn-ui .wn-footer .wn-about-open{font-size:12px;font-weight:400;color:white;cursor:pointer}
body.wn-ui .wn-footer .foot-links{display:flex;align-items:center;gap:18px}
body.wn-ui .wn-footer .foot-google-play,body.wn-ui .wn-footer .support-mail{display:none}
body.wn-ui .wn-footer .socials{display:flex;gap:11px;align-items:center}.wn-ui .wn-footer .social-icon{width:20px;height:20px;object-fit:contain;opacity:.8}
body.wn-ui .wn-footer .footer-site-link{padding:0;border:0;background:none;box-shadow:none;font-size:12px;font-weight:400;text-shadow:none}
body.wn-ui .wn-about-dialog{margin:auto;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:22px;overflow:auto;background:#091a32;color:white;border:1px solid #476488;border-radius:10px}
body.wn-ui .wn-about-dialog::backdrop{background:#020711b9}.wn-ui .wn-dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.wn-ui .wn-dialog-bar h2{font-size:20px}.wn-ui .wn-dialog-bar button{font-size:27px;color:white;cursor:pointer}
body.wn-ui .wn-about-content{background:none;border:0;padding:0;box-shadow:none;gap:12px}.wn-ui .wn-about-content .logo-item{display:none}.wn-ui .wn-about-content #manualInfoBox{width:100%;height:auto;max-height:none;overflow:visible;font-size:14px;color:#c8d7ea;padding:0}.wn-ui .wn-about-content h2,.wn-ui .wn-about-content h3,.wn-ui .wn-about-content h4{color:#63cce7;font-size:17px;margin:14px 0 8px}.wn-ui .wn-about-content p,.wn-ui .wn-about-content li{line-height:1.65;margin-bottom:8px}
body.wn-ui #homeAuth{position:relative;inset:auto;width:100%;padding:0;margin:18px auto 0;min-height:0}.wn-ui .home-auth-inner{width:100%;max-width:420px;background:#08172de8;border:1px solid #3b5677;border-radius:10px;padding:20px;box-shadow:none}
body.wn-ui .wn-small-brand{font-family:'Trebuchet MS',Arial,sans-serif;font-size:25px;font-weight:600;color:#5ad5f5;display:inline-block}.wn-ui .wzil .wn-small-brand{margin-bottom:15px}
/* The existing settings, store and leaderboard retain their controls. */
body.wn-ui #settingsWrap,body.wn-ui #wzs-store,body.wn-ui .lb-wrap{position:fixed;inset:0;width:100%;height:100dvh;transform:none}
body.wn-ui .settings-modal,body.wn-ui .wzs-modal,body.wn-ui .lb-modal{width:min(1080px,calc(100vw - 32px));height:min(760px,calc(100dvh - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);background:#08182df5;border:1px solid #36577e;border-radius:12px;box-shadow:0 20px 70px #0008}
body.wn-ui .settings-head,body.wn-ui .wzs-head,body.wn-ui .lb-head{background:#102745;color:white;border-bottom:1px solid #2a4563;box-shadow:none}
body.wn-ui .settings-head h3,body.wn-ui .wzs-title,body.wn-ui .lb-head h3{font-size:23px;font-weight:500}
body.wn-ui .settings-body{min-height:0;overflow-y:auto;scrollbar-width:thin}
body.wn-ui #settings-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:5px;flex:none}
body.wn-ui #settings-tabs .tab,body.wn-ui .wzs-pill{background:#1b3352;border:1px solid #34557c;border-radius:5px;color:#d6e4f3;box-shadow:none;font-size:14px;font-weight:400}
body.wn-ui #settings-tabs .tab.active,body.wn-ui .wzs-pill.active{background:#1b6288;color:white;border-color:#38bce1}
body.wn-ui .settings-body .field,body.wn-ui .settings-body .copyBtn,body.wn-ui .settings-body .btnGhost{border-radius:5px;border:1px solid #355578;background:#142b49;color:#e7f1fb;box-shadow:none}
body.wn-ui .settings-body .opT{font-size:15px}.wn-ui .settings-body .hint{font-size:12px;color:#99afca}.wn-ui .settings-body .opt{border-bottom-color:#243d59}
body.wn-ui .wzs-side{background:#0b203a;border-color:#2c4667}.wn-ui .wzs-vbtn{background:#162e4d;border:1px solid #34557a;color:#dceaf7;box-shadow:none;border-radius:6px;font-weight:400}.wn-ui .wzs-vbtn.active{background:#1b5a7e;border-color:#36b7de}
body.wn-ui .wzs-canvas{background:#08162b;border:1px solid #28486b;border-radius:8px}.wn-ui .wzs-arrow{border-radius:50%;background:#102c49;border:1px solid #35bce6;color:white;box-shadow:none}
body.wn-ui .wzs-apply,body.wn-ui #wzsSkinAdd,body.wn-ui #wzsAccAdd{background:#85bf36;border:0;color:white;border-radius:5px;box-shadow:none}
body.wn-ui .wz-go-card{background:#0a1c34;border:1px solid #39587c;border-radius:12px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);overflow:auto}
@media(max-width:1100px){body.wn-ui .wn-home-board{grid-template-columns:minmax(0,1fr) minmax(300px,390px) minmax(235px,1fr);gap:24px}body.wn-ui .wn-server-card{margin-left:0;padding:14px}body.wn-ui .wn-menu-actions{margin-inline:0!important;width:100%!important}body.wn-ui .wn-menu-actions button{font-size:16px;padding:0 6px}body.wn-ui .wn-wordmark{font-size:58px}}
@media(max-width:900px){body.wn-ui #stage{padding:16px 20px 12px}body.wn-ui .wn-home-board{grid-template-columns:minmax(280px,1fr) minmax(220px,280px);gap:28px;margin-top:35px}body.wn-ui .wn-main-column{grid-column:1;max-width:400px;justify-self:center;width:100%}body.wn-ui .wn-server-card{grid-column:2;margin-top:80px}body.wn-ui .wn-wordmark{font-size:52px}body.wn-ui .wn-name-row{gap:8px}body.wn-ui .wn-arena{width:90px}body.wn-ui .wn-top-wallet .exit-btn{padding:8px}.wn-ui .wn-player-name{font-size:20px}.wn-ui .wn-level-star{width:45px;height:50px;font-size:22px}}
@media(max-width:680px){body.wn-ui #stage{padding:14px 14px 20px;gap:0}body.wn-ui .wn-topbar{gap:10px;align-items:flex-start}body.wn-ui .wn-player-open{gap:7px}.wn-ui .wn-player-open>img{width:38px;height:40px;border-width:2px}.wn-ui .wn-player-copy{gap:5px;min-width:0}.wn-ui .wn-player-name{font-size:17px;max-width:125px}.wn-ui .wn-player-points{font-size:10px;padding-bottom:3px;border-bottom-width:3px}.wn-ui .wn-level-star{width:35px;height:40px;font-size:18px}.wn-ui .wn-top-wallet{gap:7px;font-size:16px}.wn-ui .wn-gold-coin{width:26px;height:31px;font-size:22px;border-width:2px}.wn-ui .wn-top-wallet .exit-btn{font-size:9px;padding:7px 5px;min-height:32px}body.wn-ui .wn-home-board{display:flex;flex-direction:column;align-items:center;gap:20px;margin-top:28px}body.wn-ui .wn-main-column{width:100%;max-width:400px;align-self:center}body.wn-ui .wn-wordmark{font-size:clamp(43px,9vw,60px);letter-spacing:-3px}.wn-ui .wn-brand{margin-inline:0}body.wn-ui .wn-server-card{width:100%;max-width:400px;min-height:260px;margin:0;padding:17px}body.wn-ui .wn-server-controls select{width:170px;min-height:36px}.wn-ui .wn-server-controls label{font-size:13px}body.wn-ui .home-center-skins{height:105px}.wn-ui .wn-nickname{font-size:18px}.wn-ui .wn-arena{font-size:18px;width:90px}body.wn-ui .home-skins-btn{width:40px;height:40px}body.wn-ui .wn-menu-actions{gap:6px;margin-top:28px}.wn-ui .wn-menu-actions button{height:44px;font-size:15px}.wn-ui .server-map{min-height:44px;font-size:12px;padding-top:13px}.wn-ui .wn-footer{margin-top:22px}.wn-ui .wn-footer .footer-inner{gap:15px}.wn-ui .wn-footer .foot-links{gap:12px}.wn-ui .settings-modal,.wn-ui .wzs-modal,.wn-ui .lb-modal{width:calc(100vw - 18px);max-width:calc(100vw - 18px);max-height:calc(100dvh - 18px);height:calc(100dvh - 18px);border-radius:9px}.wn-ui .settings-head,.wn-ui .wzs-head{padding:12px;gap:10px}.wn-ui .settings-head h3,.wn-ui .wzs-title{font-size:18px}.wn-ui .settings-body{padding:12px}.wn-ui .settings-body .opt{flex-wrap:wrap;gap:10px}.wn-ui .settings-body .opL{width:100%;max-width:100%}.wn-ui .settings-body .opR{width:100%;max-width:100%;flex-wrap:wrap}.wn-ui .settings-body .field{min-width:0;max-width:100%;font-size:16px}.wn-ui .wzs-shell{display:flex;flex-direction:column;gap:12px;min-width:0}.wn-ui .wzs-side{width:100%;max-height:150px;overflow:auto;padding:10px}.wn-ui .wzs-vlist{display:flex;flex-wrap:wrap;gap:6px}.wn-ui .wzs-vbtn{width:auto;flex:1;min-width:110px;padding:9px;font-size:13px}.wn-ui .wzs-stage{width:100%;min-width:0}.wn-ui .wzs-canvas{min-height:180px;height:220px}.wn-ui .wzs-body{overflow:auto;min-height:0;padding:10px}.wn-ui .wzs-wallet{gap:5px}.wn-ui .wzs-amount{font-size:14px}.wn-ui .wzs-coin-img{width:22px;height:22px}.wn-ui .wn-profile-popover{top:75px;left:12px}}
