/* NEO Troll Arena: local interface, no external fonts or requests. */
:root{color-scheme:dark;--ink:#0b1422;--panel:rgba(12,24,39,.96);--mint:#62efd1;--amber:#ffd36c;--paper:#f5f2e9;--muted:#91a7ba;--line:rgba(198,222,238,.15);font-family:Inter,"Segoe UI",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#0b1828;color:var(--paper)}
button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--mint);outline-offset:4px}button:disabled{cursor:wait}img{max-width:100%}.hidden{display:none!important}
#game{position:fixed;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}
/* While aiming with a mouse the game draws its own aim cross (public/app.js drawAimCross, 11. 11. 2026). */
#game.aiming{cursor:none}
.topbar{position:fixed;top:0;left:0;right:0;height:94px;padding:22px 30px;display:flex;align-items:center;gap:25px;z-index:3;pointer-events:none;background:linear-gradient(#081321b8,transparent)}
.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;pointer-events:auto;font-weight:850;font-size:21px;letter-spacing:1px;line-height:1;text-shadow:0 1px 8px #07111e}
.brand-symbol{display:grid;place-items:center;width:41px;height:45px;color:var(--ink);background:var(--mint);border:1px solid #9bffe6;border-radius:12px 4px 12px 4px;font-size:29px;font-style:normal;box-shadow:0 5px 0 #1b685b,0 9px 23px #0002;text-shadow:none}
.brand-light{font-weight:450;font-size:16px;margin-left:8px;color:#c8d6e2;letter-spacing:1.4px}.brand small{display:block;font-size:8px;letter-spacing:2px;color:#a0b3c5;font-weight:600;margin-top:9px}
.live-pill{display:flex;gap:8px;align-items:center;color:#d5e3ee;font-size:10px;font-weight:700;letter-spacing:1px;border:1px solid var(--line);background:#0b1728ce;border-radius:30px;padding:11px 14px;white-space:nowrap}.live-pill i{width:6px;height:6px;border-radius:50%;background:var(--mint);box-shadow:0 0 12px #62efd160}
.top-actions{margin-left:auto;display:flex;gap:9px;pointer-events:auto}.icon-button{border:1px solid #aac5db33;background:var(--panel);border-radius:8px;height:38px;min-width:38px;padding:0 12px;font-size:11px;font-weight:650;letter-spacing:.7px;box-shadow:0 3px 0 #05101ba0}.icon-button span{color:#a4bbce;margin-left:7px}.icon-button:hover{border-color:var(--mint);color:var(--mint)}
.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:750;color:var(--mint)}.tiny-cross{font-size:19px;margin-right:8px;vertical-align:-1px}
.welcome{position:fixed;inset:98px 32px 35px;z-index:4;display:grid;grid-template-columns:minmax(280px,.85fr) minmax(490px,1.15fr);align-items:center;gap:42px;max-width:1190px;margin:auto;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#547083 #0c1b2c;touch-action:pan-y;padding:3px 8px 15px}
.welcome-intro{max-width:470px;padding:18px 0}.welcome h1{font-size:clamp(43px,4.6vw,64px);line-height:1.01;letter-spacing:-2.7px;font-weight:850;margin:25px 0 22px;text-shadow:0 3px 18px #08132188}.welcome h1 span{color:var(--mint)}.welcome-copy{font-size:15px;line-height:1.8;color:#c3d1df;max-width:365px;margin:0 0 24px;text-wrap:pretty}
.intro-stats{display:flex;gap:22px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:26px 0}.intro-stats>span{display:flex;flex-direction:column;gap:6px;font-size:8px;font-weight:700;letter-spacing:1.4px;color:#9fb4c6}.intro-stats strong{font-size:26px;font-weight:800;letter-spacing:-1px;color:#f3f3ec}
.welcome-controls{display:flex;flex-wrap:wrap;gap:18px;font-size:9px;letter-spacing:.6px;color:#b7c8d7}.welcome-controls>span{display:flex;align-items:center;gap:5px}kbd{font-family:inherit;display:inline-flex;align-items:center;justify-content:center;font-size:10px;color:#dce8f1;border:1px solid #91a7b944;background:#ffffff07;border-radius:5px;min-width:23px;height:25px;padding:0 6px;box-shadow:0 2px 0 #0003}
.prototype-note{font-size:11px;color:#91a8bc;line-height:1.8;margin-top:25px}
.profile-card{--selected-accent:var(--mint);width:100%;margin:0;background:linear-gradient(145deg,#14283cf9,#0d1d2ff9);border:1px solid #8caac538;border-radius:20px;padding:22px;box-shadow:0 25px 80px #0005,inset 0 1px #d2e9fc0a;position:relative;overflow:hidden}
.profile-card::before{content:"";position:absolute;top:0;left:28px;right:28px;height:2px;background:linear-gradient(90deg,transparent,var(--mint),transparent);opacity:.75}
.profile-card-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.profile-card-heading .eyebrow{font-size:9px;letter-spacing:1.5px}.profile-card h2{font-size:22px;font-weight:750;letter-spacing:-.7px;margin:5px 0 0}.profile-number{font-size:10px;letter-spacing:1.2px;color:#7e9bb1;border:1px solid var(--line);padding:8px;border-radius:5px}
.identity-row{display:grid;grid-template-columns:138px minmax(0,1fr);gap:17px;align-items:stretch}.profile-preview{--selected-accent:var(--mint);position:relative;min-height:142px;border-radius:12px;background:radial-gradient(ellipse at 50% 70%,color-mix(in srgb,var(--selected-accent) 15%,transparent),transparent 70%),#091524;border:1px solid #7c99b328;display:flex;align-items:center;justify-content:center;padding-top:20px;isolation:isolate}
.profile-preview::after{content:"";position:absolute;width:85px;height:12px;bottom:15px;left:50%;transform:translateX(-50%);background:var(--selected-accent);filter:blur(13px);opacity:.3;z-index:-1}
.preview-name{position:absolute;left:9px;right:9px;top:9px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px}.preview-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-name img{width:20px;height:15px;object-fit:cover;border:1px solid #ffffff35;border-radius:2px;flex-shrink:0}.profile-face{height:108px;width:112px;object-fit:contain;filter:drop-shadow(0 4px 3px #0008);transition:transform .16s}.profile-preview:hover .profile-face{transform:rotate(-4deg) scale(1.05)}
.preview-score{position:absolute;right:7px;bottom:7px;display:flex;gap:4px;align-items:baseline;color:#06221e;background:var(--mint);border:1px solid #a6ffeb;border-radius:5px;padding:4px 6px;font-size:15px;font-weight:850;line-height:1}.preview-score small{font-size:6px;letter-spacing:.5px}.face-loading{display:none;position:absolute;inset:40px 5px 26px;align-items:center;justify-content:center;text-align:center;font-size:10px;color:#a3bacd;background:#091524e8;padding:10px;border-radius:8px}.profile-preview.loading .face-loading{display:flex}.profile-preview.loading .profile-face{opacity:0}
.identity-fields{display:flex;flex-direction:column;justify-content:center;min-width:0}.field-label{display:block;color:#a6bfd2;font-size:9px;font-weight:750;letter-spacing:1.3px;margin-bottom:8px}.identity-fields input{width:100%;min-width:0;height:43px;padding:0 13px;color:#f4f3eb;background:#0b192a;border:1px solid #6889a64d;border-radius:7px;font-size:15px;font-weight:650}.identity-fields input::placeholder{font-size:11px;color:#617d94;font-weight:400}.country-label{margin-top:15px}.name-field{position:relative}.name-note{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:6;margin:0;padding:7px 10px;border-radius:7px;background:#2b1a07;border:1px solid #ffb44f99;color:#ffd38a;font-size:12px;font-weight:700;line-height:1.3;box-shadow:0 8px 20px #000a;pointer-events:none}.name-note[hidden]{display:none}.country-input{height:43px;display:flex;align-items:center;gap:9px;background:#0b192a;border:1px solid #6889a64d;border-radius:7px;padding:0 12px;position:relative}.country-input>img{width:23px;height:17px;object-fit:cover;border:1px solid #ffffff35;border-radius:2px;flex-shrink:0}.country-input select{appearance:none;min-width:0;width:100%;height:100%;padding:0 20px 0 0;color:#e8edf3;background:transparent;border:0;outline:0;font-size:13px;cursor:pointer}.country-input select option{color:#e8edf3;background:#102033}.select-chevron{pointer-events:none;position:absolute;right:13px;top:50%;margin-top:-4px;color:#91adc2}
/* One drawn chevron for every drop-down (15. 11. 2026, the user: the ⌄ letter "ni najbolj prijetno za oči pa še ni
   poravnana. popravi tudi drugje kjer je to!"). The box is the chevron itself, so centring the box centres it. */
:root{--chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.select-chevron,.premium-summary-price b,.live-ticker::after{display:inline-block;width:12px;height:8px;background:currentColor;-webkit-mask:var(--chevron) center/contain no-repeat;mask:var(--chevron) center/contain no-repeat;transition:transform .15s}
.server-menu[open] .select-chevron{transform:rotate(180deg)}

.face-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 10px}.face-section-heading .field-label{margin:0;font-size:9px}.face-section-heading>span{font-size:10px;font-weight:700;color:var(--amber)}
.face-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.face-option{--face-accent:var(--mint);position:relative;min-width:0;border:1px solid #55738a48;border-radius:9px;background:#0a1829;padding:7px 4px 6px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;transition:border-color .15s,background .15s,transform .15s;box-shadow:0 3px 0 #071220;overflow:hidden}
.face-option img{width:58px;height:54px;object-fit:contain;filter:drop-shadow(0 2px 2px #0005);transition:transform .15s}.face-option>span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;color:#a2b9cb;line-height:1.25}.face-option:hover{border-color:var(--face-accent);background:#1b3042;transform:translateY(-2px)}.face-option:hover img{transform:scale(1.08)}.face-option[aria-pressed="true"]{border:2px solid var(--face-accent);padding:6px 3px 5px;background:color-mix(in srgb,var(--face-accent) 12%,#0c1c2c);box-shadow:0 0 0 2px color-mix(in srgb,var(--face-accent) 12%,transparent),0 3px 0 #071220}.face-option[aria-pressed="true"]>span{color:#f4f3eb}.face-selected-mark{display:none;position:absolute;top:3px;right:4px;color:var(--face-accent);font-size:11px;font-weight:850;font-style:normal}.face-option[aria-pressed="true"] .face-selected-mark{display:block}
.play-button,.primary-button{border:1px solid #b5ffec;background:var(--mint);color:#06251f;border-radius:9px;min-height:52px;padding:0 18px;font-size:13px;font-weight:850;letter-spacing:.7px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 4px 0 #207867}.play-button{width:100%;margin-top:18px}.play-button:hover,.primary-button:hover{background:#a2ffea;box-shadow:0 4px 0 #2c8b77,0 0 24px #62efd129}.play-button:active,.primary-button:active{transform:translateY(2px);box-shadow:0 2px 0 #207867}.play-button:disabled{opacity:.55}.play-button>span{font-size:26px;font-weight:500}.profile-footer{display:flex;align-items:center;justify-content:center;gap:5px;color:#91aabc;font-size:9px;line-height:1.5;margin:13px 0 0;text-align:center}.profile-footer i{width:5px;height:5px;flex-shrink:0;background:var(--mint);border-radius:50%;margin-right:2px}
.hud{position:fixed;left:50%;transform:translateX(-50%);top:21px;display:flex;align-items:center;gap:22px;padding:13px 20px;background:var(--panel);border:1px solid #9eb9d033;border-radius:12px;z-index:2;box-shadow:0 5px 0 #06111b70,0 8px 30px #07132228}
.label{font-size:10px;letter-spacing:1.1px;font-weight:650;color:#a2b9cc;white-space:nowrap}.score-block{min-width:82px;position:relative}.score-block .label,.kill-block .label{display:block}.score-block strong{display:block;margin-top:3px;font-size:34px;line-height:1.05;font-weight:850;letter-spacing:-1.1px;font-variant-numeric:tabular-nums;color:#f5f3e9}.health-block{width:183px;border-left:1px solid var(--line);padding-left:21px;box-sizing:content-box}.health-block>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:14px;font-weight:650;color:#f0f3ed;font-variant-numeric:tabular-nums}.health-track{background:#283e4e;border-radius:4px;height:7px;margin-top:9px;overflow:hidden}.health-track>div{height:100%;width:100%;background:var(--mint);transition:width .12s}.health-rule-label{display:block;color:#93aabd;font-size:7px;font-weight:650;letter-spacing:.8px;margin-top:7px}.kill-block{padding-left:20px;border-left:1px solid var(--line)}.kill-block strong{font-size:29px;display:block;font-weight:650;margin-top:2px;font-variant-numeric:tabular-nums}#score-gain{position:absolute;right:-16px;bottom:5px;color:var(--mint);font-size:16px;opacity:0;transition:transform .4s,opacity .4s}#score-gain.show{opacity:1;transform:translateY(-18px)}
.leaderboard{position:fixed;right:24px;top:118px;z-index:2;width:242px;padding:15px;background:var(--panel);border:1px solid #9eb9d02e;border-radius:11px;box-shadow:0 5px 0 #06111b50}.panel-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:750;letter-spacing:1px}.subtle{color:#8fa8bd}.leaderboard ol{padding:0;margin:13px 0 12px;list-style:none;counter-reset:rank}.leaderboard li{display:flex;align-items:center;gap:7px;font-size:12px;height:35px;border-radius:5px;padding:0 4px;counter-increment:rank}.leaderboard li::before{content:counter(rank,decimal-leading-zero);color:#7391a8;font-size:9px;width:15px;flex-shrink:0}.leaderboard li.mine{background:#62efd11c;color:var(--mint)}.leaderboard .player-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.leader-face{width:28px;height:28px;object-fit:contain;flex-shrink:0}.leader-flag{width:18px;height:13px;object-fit:cover;border-radius:2px;border:1px solid #ffffff30;flex-shrink:0}.leaderboard .player-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:550}.leaderboard .player-score{margin-left:auto;font-weight:750;font-variant-numeric:tabular-nums}.leader-footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:12px;font-size:9px;color:#94afc2}.leader-footer>span:first-child{color:var(--mint)}
.location{position:fixed;bottom:112px;left:28px;z-index:2;display:flex;align-items:center;gap:8px;background:var(--panel);border:1px solid var(--line);padding:12px 14px;border-radius:7px;font-size:10px;font-weight:650;letter-spacing:1px}.location-dot{width:6px;height:6px;background:var(--mint);border-radius:50%}.location .subtle{font-size:8px}
.minimap-panel{position:fixed;right:24px;bottom:29px;width:254px;z-index:2;background:var(--panel);border:1px solid #9eb9d02e;border-radius:11px;padding:14px;box-shadow:0 5px 0 #06111b50}.minimap-panel canvas{width:224px;height:224px;display:block;border-radius:5px;margin-top:10px}.panel-heading button{border:0;padding:0;background:none;color:var(--mint);font-size:11px;font-weight:700;cursor:pointer}#minimap{image-rendering:auto}.map-legend{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.7px;color:#a1b8ca;margin-top:11px}.map-legend>span,.map-modal-footer>span:first-child{display:flex;align-items:center;gap:5px}.you-dot{display:inline-block;width:7px;height:7px;background:var(--mint);border-radius:50%}
.control-strip{position:fixed;left:28px;bottom:51px;display:flex;gap:13px;z-index:2;color:#c5d5e2;font-size:10px;font-weight:550;letter-spacing:.4px;background:var(--panel);border:1px solid var(--line);padding:10px 12px;border-radius:7px}.control-strip>span{display:flex;gap:6px;align-items:center}.control-strip kbd{font-size:9px;height:22px}.telemetry{position:fixed;bottom:15px;left:30px;display:flex;gap:17px;font-size:8px;font-weight:600;letter-spacing:1px;color:#96b0c4;z-index:5;text-shadow:0 1px 5px #000}.telemetry span:first-child{color:#73c8b8}.crosshair-hint{position:fixed;left:50%;bottom:29px;transform:translateX(-50%);background:var(--panel);border:1px solid #ffd36c40;padding:10px 13px;border-radius:6px;color:var(--amber);font-size:10px;font-weight:650;letter-spacing:.6px;pointer-events:none;opacity:0;transition:opacity .2s}.crosshair-hint.visible{opacity:1}
.death-card{position:fixed;top:43%;left:50%;transform:translate(-50%,-50%);z-index:4;width:360px;background:#0d1c2ff5;border:1px solid #e58a7759;border-radius:17px;padding:31px;text-align:center;box-shadow:0 20px 90px #0007}.death-card .eyebrow{color:#ffac93}.death-card h2{font-size:31px;letter-spacing:-1px;margin:17px 0 12px}.death-card p{font-size:13px;color:#b0c6d6}.respawn-track{height:4px;background:#ffffff15;margin-top:23px;border-radius:3px;overflow:hidden}.respawn-track i{display:block;height:100%;background:var(--mint);width:100%}
.overlay{position:fixed;inset:0;z-index:10;background:#06101ecf;backdrop-filter:blur(9px);display:grid;place-items:center;padding:20px}.map-modal{background:#102135;border:1px solid #9eb9d03b;border-radius:17px;padding:25px;width:min(750px,calc(100vw - 30px));max-height:96vh;overflow:auto;box-shadow:0 25px 100px #0007}.map-modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.map-modal h2{font-size:26px;letter-spacing:-.7px;margin:9px 0 0;font-weight:750}.close-button{border:1px solid var(--line);background:#07132255;border-radius:7px;width:36px;height:36px;color:#c6d8e6;font-size:24px;cursor:pointer}.close-button:hover{color:var(--mint);border-color:var(--mint)}.map-modal canvas{width:100%;max-height:70vh;object-fit:contain;aspect-ratio:1;display:block;border-radius:6px}.map-modal-footer{display:flex;justify-content:space-between;font-size:10px;color:#adc3d4;padding-top:15px}
.help-modal{position:relative;background:#102135;border:1px solid #9eb9d03b;border-radius:17px;padding:34px;width:min(520px,calc(100vw - 40px));max-width:100%;max-height:94vh;overflow:auto;box-shadow:0 25px 100px #0007}.help-modal>.close-button{position:absolute;right:20px;top:20px}.help-modal h2{font-size:34px;letter-spacing:-1px;line-height:1.12;margin:20px 0 27px}.help-rows p{display:flex;align-items:center;gap:17px;font-size:12px;color:#d2dfeb;margin:15px 0}.help-rows kbd{font-size:9px;min-width:130px;height:29px}.help-text{font-size:12px;color:#b2c6d7;line-height:1.8;margin-top:23px}.help-modal .primary-button{width:100%;margin-top:26px}
.touch-controls{position:fixed;inset:0;z-index:4;pointer-events:none}.stick{position:absolute;bottom:65px;width:112px;height:112px;border:1px solid #ffffff55;background:#0d182888;border-radius:50%;pointer-events:auto;touch-action:none;display:grid;place-items:center}.stick:first-child{left:25px}.stick:last-child{right:25px}.stick-knob{width:45px;height:45px;border-radius:50%;background:#62efd14d;border:1px solid #62efd17d;pointer-events:none}.stick>span{position:absolute;bottom:-23px;letter-spacing:2px;font-size:8px;color:#bfd3e1;pointer-events:none}
@media(max-width:1300px){.live-pill{display:none}.topbar{padding:20px 24px}.welcome{gap:28px;grid-template-columns:minmax(250px,.8fr) minmax(460px,1.2fr)}.welcome h1{font-size:52px}.welcome-copy{font-size:14px}.hud{gap:18px;padding:12px 17px}.health-block{width:175px;padding-left:18px}.leaderboard{width:220px;right:18px}.leaderboard li{gap:6px;font-size:11px}.minimap-panel{right:18px;width:224px;padding:12px}.minimap-panel canvas{width:198px;height:198px}.control-strip{gap:10px;font-size:9px}.control-strip>span:nth-child(2){display:none}}
@media(max-width:1050px){.welcome{inset:96px 24px 30px;grid-template-columns:minmax(200px,.7fr) minmax(430px,1.3fr);gap:24px}.welcome h1{font-size:45px;letter-spacing:-1.8px}.welcome-copy{font-size:13px;line-height:1.7}.intro-stats{gap:17px}.intro-stats strong{font-size:24px}.intro-stats>span{font-size:7px}.welcome-controls{gap:12px;font-size:8px}.prototype-note{font-size:10px}.profile-card{padding:19px}.identity-row{grid-template-columns:125px minmax(0,1fr);gap:14px}.face-option img{width:52px;height:49px}.face-option>span{font-size:9px}.hud{top:99px;left:24px;transform:none}.leaderboard{top:99px}.control-strip{left:24px;gap:8px}.control-strip>span:last-child{display:none}.location{left:24px}}
@media(max-height:740px) and (min-width:761px){.welcome{inset:89px 28px 25px;gap:26px}.welcome-intro{padding:10px 0}.welcome h1{font-size:47px;margin:19px 0}.welcome-copy{font-size:13px;margin-bottom:17px}.intro-stats{margin:18px 0;padding:13px 0}.prototype-note{margin-top:18px}.profile-card{padding:17px}.profile-card-heading{margin-bottom:12px}.profile-card h2{font-size:20px}.identity-row{grid-template-columns:120px minmax(0,1fr)}.profile-preview{min-height:132px}.profile-face{height:96px;width:102px}.face-section-heading{margin-top:14px}.face-option{padding-top:5px;padding-bottom:5px}.face-option img{height:43px}.face-option[aria-pressed="true"]{padding-top:4px;padding-bottom:4px}.play-button{margin-top:13px;min-height:47px}.profile-footer{margin-top:10px;font-size:8px}.leaderboard li{height:28px}.leaderboard li:nth-child(n+7){display:none}.minimap-panel{width:190px;bottom:24px;padding:10px}.minimap-panel canvas{width:168px;height:168px}.location{bottom:104px}}
@media(max-width:760px){.topbar{height:78px;padding:15px 17px}.brand{font-size:18px}.brand-symbol{width:34px;height:38px;font-size:25px;border-radius:9px 3px 9px 3px}.brand-light{font-size:12px;margin-left:6px;letter-spacing:1px}.brand small{font-size:6px;letter-spacing:1.5px;margin-top:7px}.icon-button{height:34px;min-width:34px;padding:0 8px;font-size:9px}.top-actions{gap:6px}.welcome{inset:84px 16px 30px;display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:0 2px 22px;max-width:550px}.welcome-intro{max-width:none;padding:4px 4px 0}.welcome h1{font-size:43px;letter-spacing:-1.9px;margin:15px 0 13px;line-height:1.03}.welcome h1 br{display:none}.welcome h1 span{display:block}.welcome .eyebrow{font-size:8px;letter-spacing:1.4px}.welcome-copy{font-size:12px;line-height:1.65;max-width:none;margin:0;max-width:450px}.intro-stats{padding:12px 0;margin:15px 0 0;gap:30px}.intro-stats>span{flex-direction:row;align-items:baseline;gap:7px;font-size:7px}.intro-stats strong{font-size:19px}.welcome-controls,.prototype-note{display:none}.profile-card{padding:18px;flex-shrink:0;border-radius:15px}.profile-card h2{font-size:20px}.profile-card-heading{margin-bottom:15px}.profile-card .eyebrow{font-size:8px}.identity-row{grid-template-columns:120px minmax(0,1fr);gap:14px}.profile-preview{min-height:137px}.profile-face{width:105px;height:100px}.identity-fields input{font-size:14px}.country-input select{font-size:12px}.face-option img{width:53px;height:51px}.face-option>span{font-size:9px}.play-button{font-size:12px}.profile-footer{font-size:8px}.hud{left:15px;right:15px;top:88px;transform:none;padding:11px 15px;gap:16px;width:auto;justify-content:space-between}.hud .kill-block{display:none}.hud .score-block{min-width:85px}.score-block strong{font-size:32px}.hud .health-block{width:auto;flex:1;padding-left:16px;max-width:260px}.health-block>div:first-child{font-size:13px}.label{font-size:9px}.health-rule-label{font-size:6px;letter-spacing:.6px}.leaderboard{display:none}.minimap-panel{width:166px;padding:9px;bottom:23px;right:15px}.minimap-panel canvas{width:146px;height:146px;margin-top:8px}.minimap-panel .panel-heading{font-size:8px}.map-legend{font-size:6px;letter-spacing:0;gap:3px;margin-top:8px}.map-legend .you-dot{width:5px;height:5px}.location{left:15px;bottom:224px;font-size:9px;padding:10px}.location>.subtle{display:none}.control-strip{display:none!important}.telemetry{left:16px;bottom:8px;font-size:6px;gap:10px}.crosshair-hint{display:none}.touch-controls .stick{bottom:78px;width:102px;height:102px}.touch-controls .stick:last-child{bottom:245px;right:26px}.map-modal{padding:16px}.map-modal h2{font-size:22px}.map-modal-footer{font-size:8px;gap:15px}.help-modal{padding:20px 18px;border-radius:14px;max-height:80vh;max-height:80dvh}.help-modal>.close-button{right:12px;top:12px;width:32px;height:32px;font-size:21px}.help-modal h2{font-size:22px;letter-spacing:-.6px;margin:12px 0 16px}.help-rows p{font-size:10px;gap:10px;margin:10px 0}.help-rows kbd{min-width:96px;font-size:8px;height:26px}.help-text{font-size:10.5px;line-height:1.65;margin-top:14px}.help-modal .primary-button{min-height:46px;margin-top:18px}.death-card{width:310px;padding:27px}}
@media(max-width:390px){.brand-light{font-size:10px;letter-spacing:.8px}.brand{gap:8px;font-size:17px}.brand small{letter-spacing:1px}.topbar{padding:13px}.icon-button{height:31px;min-width:31px;padding:0 6px;font-size:8px}.top-actions{gap:4px}.welcome{left:11px;right:11px}.welcome h1{font-size:37px}.profile-card{padding:14px}.identity-row{grid-template-columns:102px minmax(0,1fr);gap:11px}.profile-preview{min-height:132px}.profile-face{width:94px;height:96px}.preview-name{font-size:10px;gap:4px;left:5px;right:5px}.preview-name img{width:17px;height:13px}.identity-fields input{padding:0 9px;font-size:13px}.country-input{padding:0 8px;gap:6px}.country-input select{font-size:11px}.country-input>img{width:20px;height:15px}.field-label{font-size:8px;letter-spacing:.9px}.face-grid{gap:6px}.face-option{padding-left:2px;padding-right:2px}.face-option img{width:42px;height:43px}.face-option>span{font-size:8px}.face-option[aria-pressed="true"]{padding-left:1px;padding-right:1px}.face-section-heading .field-label{font-size:8px}.face-section-heading>span{font-size:9px}.profile-footer{display:block;font-size:8px}.profile-footer i{display:none}.hud{padding:10px 12px;gap:11px}.hud .score-block{min-width:70px}.score-block strong{font-size:28px}.health-block>div:first-child{font-size:12px}.hud .health-block{padding-left:11px}.label{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.welcome{align-items:safe center}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:760px){.welcome{align-items:stretch}}
.health-block>div:first-child{flex-wrap:wrap;row-gap:4px}.bodies-block{padding-left:17px;border-left:1px solid var(--line);min-width:48px}.bodies-block .label{display:block}.bodies-block strong{display:block;font-size:27px;margin-top:3px;font-variant-numeric:tabular-nums}.bodies-block.pending strong{color:var(--amber)}
.leader-bodies{font-size:8px;font-weight:800;color:var(--mint);flex-shrink:0}.split-test-button{border-color:#62efd16b;color:var(--mint);font-size:9px}.split-test-button span{margin:0;color:inherit}.split-test-short{display:none}.split-test-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:21px 0}.split-test-options button{border:1px solid #62efd14d;background:#0b1b2b;color:#f2f5ed;border-radius:9px;padding:13px;text-align:left;display:flex;flex-direction:column;gap:5px}.split-test-options button:hover{background:#16413f;border-color:var(--mint)}.split-test-options strong{font-size:16px}.split-test-options span{color:#9fb8c9;font-size:11px}.split-test-options button:last-child{grid-column:1/-1}.split-test-modal .help-text{margin-top:12px}
@media(max-width:1300px){.hud{gap:14px}.hud .health-block{width:160px;padding-left:14px}.hud .kill-block{padding-left:14px}.bodies-block{padding-left:14px}.split-test-button{padding:0 9px}.split-test-long{display:none}.split-test-short{display:inline}}
@media(max-width:760px){.hud .bodies-block{padding-left:10px;min-width:38px}.hud .bodies-block strong{font-size:23px}.hud .health-block{min-width:0;width:auto;padding-left:10px}.health-block>div:first-child{flex-wrap:wrap;gap:4px}.hud .score-block{min-width:65px}.hud{gap:10px}.split-test-button{font-size:8px;padding:0 6px}.split-test-options{gap:7px}.split-test-options button{padding:11px}.leader-bodies{font-size:7px}}
.split-damage-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 8px}.split-damage-options button{padding:12px;border-radius:9px;background:#391d2a;border:1px solid #ed65766b;color:#ffced3;display:flex;flex-direction:column;gap:5px;text-align:left}.split-damage-options strong{font-size:17px}.split-damage-options span{font-size:11px;color:#d4aab4}.split-damage-options button:hover{border-color:#ff6575;background:#512432}.split-damage-options button:disabled{opacity:.45}.body-loss-notice{position:fixed;left:50%;top:155px;transform:translate(-50%,-7px);padding:10px 16px;max-width:calc(100% - 24px);background:#441f29f5;border:1px solid #ff6c76;border-radius:8px;color:#ffe8c8;font-size:12px;font-weight:800;letter-spacing:.6px;text-align:center;opacity:0;transition:opacity .15s,transform .15s;pointer-events:none;z-index:12}.body-loss-notice.show{opacity:1;transform:translate(-50%,0)}
.split-test-modal{width:min(520px,calc(100vw - 40px));min-width:0}.split-damage-options{grid-template-columns:repeat(2,minmax(0,1fr))}.split-damage-options button{min-width:0}

#mouse-move-toggle{font:inherit;font-size:9px;font-weight:750;letter-spacing:.3px;min-height:22px;padding:3px 7px;border-radius:4px;border:1px solid #62efd16b;color:var(--mint);background:#153d3c}#mouse-move-toggle[aria-pressed="false"]{color:#b7cad8;background:#112236;border-color:#65809566}#mouse-move-toggle:hover{border-color:var(--mint)}
#place-lock-toggle{font:inherit;font-size:9px;font-weight:750;letter-spacing:.3px;min-height:22px;padding:3px 7px;border-radius:4px;border:1px solid #65809566;color:#b7cad8;background:#112236}
#place-lock-toggle[aria-pressed="true"]{color:#ffd878;background:#3d2c12;border-color:#ffd878}
#place-lock-toggle:hover{border-color:var(--mint)}@media(max-width:1050px){.control-strip>span:nth-of-type(5){display:none}}

/* Entry screen: explicit movement choice and genuine persistent records. */
.welcome-records{inset:92px 26px 29px;grid-template-columns:minmax(320px,.9fr) minmax(450px,1.1fr);align-items:start;gap:26px;padding:0 8px 16px}
.welcome-left{min-width:0;display:flex;flex-direction:column;gap:18px}
.welcome-records .welcome-intro{max-width:none;padding:0 2px}
.welcome-records h1{font-size:38px;letter-spacing:-1.6px;line-height:1.04;margin:10px 0 11px}
.welcome-records .welcome-copy{font-size:12px;line-height:1.65;max-width:390px;margin:0}
.welcome-records .welcome-intro>.eyebrow{font-size:8px;letter-spacing:1.35px}
.welcome-records .tiny-cross{font-size:15px}
.movement-choice{min-inline-size:0;margin:0 0 13px;padding:7px 9px 8px;border:1px solid #638da34d;border-radius:9px;background:#07172780}
.movement-choice legend{padding:0 5px;color:#adc7d9;font-size:9px;font-weight:750;letter-spacing:1.1px}
.movement-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.movement-options label{display:flex;align-items:center;gap:8px;min-height:31px;padding:5px 8px;border:1px solid #54758a55;border-radius:6px;background:#10243a;color:#c4d7e5;font-size:12px;font-weight:700;cursor:pointer}
.movement-options label:has(input:checked){background:#153d3b;border-color:#62efd1a3;color:#e9fff7}
.movement-options input{width:16px;height:16px;margin:0;accent-color:var(--mint);flex-shrink:0;cursor:pointer}
.movement-choice p{font-size:9px;line-height:1.4;color:#9fb9cc;margin:7px 0 0}
.ever-card{min-width:0;background:linear-gradient(145deg,#14283cf7,#0c1c2ff7);border:1px solid #8caac538;border-radius:16px;padding:16px;box-shadow:0 14px 45px #0003}
.ever-card [hidden]{display:none!important}
.ever-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.ever-heading .eyebrow{font-size:7px;line-height:1.5;letter-spacing:1.1px;color:#b4c9d8}
.ever-heading h2{font-size:25px;letter-spacing:-.6px;margin:4px 0 0;line-height:1.1;font-weight:850}
.ever-heading h2>span{color:var(--mint);font-size:16px;letter-spacing:1.3px}
.ever-refresh{border:1px solid #62efd14d;border-radius:6px;background:#62efd10b;color:var(--mint);padding:7px 9px;font-size:9px;font-weight:750;white-space:nowrap}
.ever-refresh:hover{border-color:var(--mint);background:#62efd11f}
.ever-refresh:disabled{opacity:.55;cursor:wait}
.ever-columns{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 3px 8px;font-size:8px;font-weight:700;letter-spacing:.8px;color:#87a5bd}
.ever-list-viewport{height:252px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#47667e #0b1a2a;border-bottom:1px solid var(--line)}
.ever-list-viewport:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
.ever-entries{list-style:none;padding:4px 0;margin:0;display:flex;flex-direction:column;gap:1px}
.ever-entry{display:grid;grid-template-columns:25px 28px 18px minmax(0,1fr) minmax(58px,auto);align-items:center;gap:7px;min-height:35px;padding:3px 4px;border-radius:6px}
.ever-entry:nth-child(even){background:#ffffff03}
.ever-entry.is-you{position:relative;background:#62efd113}
/* The own row's mark is a small triangle pointing at its place, no longer a line down its side (the user, 15. 11. 2026:
   "TUKAJ V MENIJIH TOP NAJ BO TAKA TRIKOTNA PIŠČICA PRISOTRNA NAMESTO STRANSKEGA ROBA. MOGOČE NEKOLIKO MANJŠA."). */
.ever-entry.is-you::before{content:"";position:absolute;left:3px;top:50%;translate:0 -50%;border-style:solid;border-width:5px 0 5px 7px;border-color:transparent transparent transparent var(--mint)}
/* A record's troll as it looked (public/ever-leaderboard.js recordLook, 15. 11. 2026): the face in a box that holds its
   head accessory, and around it the rank frame it showed; a framed face is 20 px, so the frame fits the row. */
.ever-look{position:relative;display:grid;place-items:center;width:28px;height:28px}
.ever-face-box{position:relative;display:block;width:28px;height:28px}
.ever-look.framed .ever-face-box{width:20px;height:20px}
.ever-face-box>.ever-face{display:block;width:100%;height:100%}
.ever-accessory{position:absolute;pointer-events:none}
.ever-frame{position:absolute;left:50%;top:50%;translate:-50% -50%;object-fit:contain;pointer-events:none}
@media(max-width:390px){.ever-look,.ever-face-box{width:26px;height:26px}.ever-look.framed .ever-face-box{width:19px;height:19px}}
.ever-rank{font-size:10px;font-variant-numeric:tabular-nums;color:#91afc6;text-align:right;padding-right:3px}
.ever-entry.top-rank .ever-rank{color:var(--amber);font-weight:850}
.ever-face{width:28px;height:28px;object-fit:contain}
.ever-flag{width:18px;height:13px;object-fit:cover;border:1px solid #ffffff30;border-radius:2px}
.ever-player{min-width:0;display:flex;align-items:center;gap:5px}
.ever-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:650;color:#e3edf4}
.ever-you{color:var(--mint);font-size:7px;letter-spacing:.6px;font-weight:850;flex-shrink:0}
.ever-score{max-width:126px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:right;font-size:12px;font-weight:750;font-variant-numeric:tabular-nums;color:#f5f3e9}
/* PLAYERS / TOP 10 COUNTRIES (11. 11. 2026, public/ever-leaderboard.js): two tabs over one list area. */
.ever-entry.ever-country{grid-template-columns:25px 27px minmax(0,1fr) minmax(58px,auto)}
.ever-country-flag{width:27px;height:20px}
.ever-players{flex-shrink:0;color:#87a5bd;font-size:9px;font-weight:700}
.ever-empty{display:grid;place-content:center;height:100%;max-width:270px;margin:0 auto;padding:24px 9px;text-align:center;color:#a2bdd0;font-size:13px;line-height:1.8;text-wrap:pretty}
.ever-status{font-size:9px;line-height:1.5;min-height:14px;color:#95b4c8;margin:8px 2px}
.ever-status.error{color:#ffb79f}
.ever-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ever-pagination button{min-height:30px;border:1px solid #63849c5e;background:#0d2135;border-radius:6px;padding:5px 10px;font-size:10px;font-weight:650;color:#d3e2ed}
.ever-pagination button:hover:enabled{border-color:var(--mint);color:var(--mint)}
.ever-pagination button:disabled{opacity:.35;cursor:default}
#ever-page-label{font-size:10px;color:#b9cddb;font-variant-numeric:tabular-nums;white-space:nowrap}
.ever-note{font-size:8px;color:#829fb6;line-height:1.6;margin:10px 2px 0}
.ever-floor{font-size:10px;line-height:1.4;color:#a2b9cc;margin:8px 2px 0;text-wrap:balance}
.ever-ranking-notice{font-size:10px;line-height:1.6;color:#ffdca1;background:#48371c80;border:1px solid #b9934b4d;border-radius:6px;padding:8px 9px;margin:10px 0 0}
@media(min-width:901px){
  .welcome-records .profile-card{padding:17px}
  .welcome-records .profile-card-heading{margin-bottom:12px}
  .welcome-records .profile-card h2{font-size:20px}
  .welcome-records .identity-row{grid-template-columns:120px minmax(0,1fr);gap:14px}
  .welcome-records .profile-preview{min-height:116px}
  .welcome-records .profile-face{height:90px;width:94px}
  .welcome-records .identity-fields input,.welcome-records .country-input{height:36px}
  .welcome-records .field-label{margin-bottom:6px}
  .welcome-records .country-label{margin-top:10px}
  .welcome-records .face-section-heading{margin:12px 0 8px}
  .welcome-records .face-section-heading .field-label{margin:0}
  .welcome-records .face-grid{gap:7px}
  .welcome-records .face-option{padding-top:5px;padding-bottom:5px}
  .welcome-records .face-option[aria-pressed="true"]{padding-top:4px;padding-bottom:4px}
  .welcome-records .face-option img{width:46px;height:41px}
  .welcome-records .face-option>span{font-size:9px}
  .welcome-records .play-button{margin-top:13px;min-height:45px}
  .welcome-records .profile-footer{margin-top:9px;font-size:8px}
}
@media(max-width:900px){
  .welcome-records{inset:87px 18px 28px;display:flex;flex-direction:column;align-items:stretch;gap:18px;max-width:550px;padding:0 2px 22px}
  .welcome-records .welcome-left{display:contents}
  .welcome-records .welcome-intro{order:0;padding:2px 3px 0}
  .welcome-records h1{font-size:32px;line-height:1.08;margin:8px 0 9px;letter-spacing:-1.3px}
  .welcome-records h1 br{display:none}
  .welcome-records h1 span{display:inline}
  .welcome-records .welcome-copy{font-size:11px;max-width:none;line-height:1.6}
  .welcome-records .profile-card{order:1;flex-shrink:0}
  .welcome-records .ever-card{order:2;flex-shrink:0}
  .ever-list-viewport{height:280px}
  .movement-choice{margin-bottom:14px}
}
@media(max-width:390px){
  .welcome-records{left:11px;right:11px}
  .welcome-records h1{font-size:29px}
  .movement-choice{padding-left:7px;padding-right:7px}
  .movement-options{gap:6px}
  .movement-options label{padding:6px;font-size:11px;gap:6px}
  .movement-choice p{font-size:8px}
  .ever-card{padding:13px}
  .ever-heading .eyebrow{font-size:6px;letter-spacing:.7px}
  .ever-heading h2{font-size:23px}
  .ever-entry{grid-template-columns:22px 26px 16px minmax(0,1fr) minmax(52px,auto);gap:5px}
  .ever-face{width:26px;height:26px}
  .ever-flag{width:16px;height:12px}
  .ever-name,.ever-score{font-size:11px}
  .ever-score{max-width:100px}
}

.map-legend{flex-wrap:wrap;row-gap:5px}

/* A shared power has one timer per owner, within the existing health HUD. */
.power-status{--power-color:var(--mint);--power-progress:100%;display:flex;align-items:center;gap:5px;min-width:0;position:relative;margin-top:7px;padding:3px 5px 5px;border-radius:5px;background:#071827;border:1px solid color-mix(in srgb,var(--power-color) 42%,transparent);overflow:hidden;color:var(--power-color)}
.power-status::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:var(--power-progress);background:var(--power-color)}
.power-status img{width:28px;height:28px;flex-shrink:0;object-fit:contain;margin:-4px 0}
#power-label{min-width:0;flex:1;font-size:8px;font-weight:800;line-height:1.35;letter-spacing:.15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#power-countdown{font-size:13px;font-weight:850;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.3}
.power-notice{--power-color:var(--mint);position:fixed;left:50%;top:210px;transform:translate(-50%,-7px);z-index:3;pointer-events:none;max-width:calc(100vw - 30px);padding:9px 14px;border:1px solid var(--power-color);border-radius:8px;color:var(--power-color);background:#0a1b2bf5;font-size:12px;font-weight:800;letter-spacing:.5px;text-align:center;opacity:0;transition:opacity .15s,transform .2s}
.power-notice.show{opacity:1;transform:translate(-50%,0)}
.help-powers{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.help-powers>span{display:flex;gap:5px;align-items:center;color:#eaf2f5;font-size:10px;font-weight:750}.help-powers img{width:33px;height:33px;object-fit:contain}
@media(max-width:1050px){.power-notice{top:221px}}
@media(max-width:760px){.power-status{gap:3px;padding:3px 3px 5px}.power-status img{width:24px;height:24px}#power-label{font-size:7px;letter-spacing:0}#power-countdown{font-size:11px}.power-notice{top:225px;font-size:10px;padding:8px 10px}.help-powers{gap:7px}.help-powers>span{font-size:9px}}

/* Premium is cosmetic. Locked art stays fully visible for inspection. */
.premium-collection{margin:16px 0 18px;border:1px solid #c5a45d55;border-radius:11px;background:#221f2229;overflow:hidden}
.premium-collection summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;cursor:pointer;padding:13px 12px;color:#f0d39a;font-size:9px;font-weight:800;letter-spacing:1px;min-height:57px}
.premium-collection summary::-webkit-details-marker{display:none}.premium-collection summary:focus-visible{outline:2px solid var(--mint);outline-offset:-3px}
.premium-collection summary strong{display:block;color:#f7eddb;letter-spacing:0;font-size:13px;margin-top:3px}.premium-summary-price{font-size:15px;letter-spacing:0;white-space:nowrap}.premium-summary-price small{font-size:10px;font-weight:500;color:#c9b994}.premium-summary-price b{margin-left:7px;vertical-align:middle;position:relative;top:-2px}.premium-collection[open] .premium-summary-price b{transform:rotate(180deg)}
.premium-description{padding:0 12px 8px}.premium-description p{font-size:11px;line-height:1.5;margin:0 0 5px;color:#d8d0bf}.premium-description .premium-fair-play{font-size:10px;color:#96b5b5}
.premium-face-grid{padding:3px 12px 13px;max-height:305px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#af9865 #111e2d;align-content:start}
.premium-face-grid .face-option{padding-top:12px;min-height:87px}.premium-face-grid .face-option[aria-pressed="true"]{padding-top:11px}.premium-face-grid .face-option img{height:54px;width:58px;filter:drop-shadow(0 2px 2px #0005)}
.face-lock-mark{display:none;position:absolute;right:4px;top:4px;color:#e7c48a;font-size:6px;font-weight:800;font-style:normal;letter-spacing:.4px}.face-option.locked .face-lock-mark{display:block}.face-option.locked{border-color:#b2986057}.face-option.locked:hover{border-color:#e7c48a}
.premium-checkout{border-top:1px solid #bda36c30;padding:12px}.premium-checkout button{width:100%;border:1px solid #c2ab7860;background:#ad916a18;border-radius:7px;color:#cbb88f;padding:10px;font-size:11px;font-weight:700;cursor:default}.premium-checkout p{font-size:10px;line-height:1.5;color:#adbac7;margin:8px 0 0}
.premium-preview-card{position:relative;width:min(420px,calc((100vw - 32px) / var(--welcome-zoom)));max-height:calc((100dvh - 36px) / var(--welcome-zoom));overflow:auto;text-align:center;padding:32px 24px 24px;border:1px solid #c4a56777;border-radius:18px;background:linear-gradient(145deg,#1b2d41,#111c2c);box-shadow:0 20px 90px #0009}.premium-preview-card>.close-button{position:absolute;right:16px;top:16px}.premium-preview-card .eyebrow{font-size:9px;color:#e7c48a}.premium-preview-card>img{display:block;width:min(240px,65vw);height:240px;object-fit:contain;margin:16px auto 4px;filter:drop-shadow(0 8px 12px #0004)}.premium-preview-card h2{font-size:25px;margin:5px 0 8px;color:#f5e6c9}.premium-preview-card p{font-size:13px;line-height:1.6;color:#d1dce6;margin:8px 0}.premium-preview-card #premium-preview-note{font-size:11px;color:#9bb0c1;margin:15px 0 22px}.premium-preview-card .primary-button{width:100%}
@media(max-width:430px){.premium-face-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.premium-face-grid .face-option{min-height:83px}.premium-preview-card{padding:30px 18px 20px}}
.account-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:12px 0 2px}.account-row[hidden]{display:none}
.google-sign-in{flex:0 0 100%;min-width:0;display:grid;justify-items:center;align-items:center;overflow:clip;border-radius:4px;background:transparent;color-scheme:light}
.google-sign-in[hidden]{display:none}
#google-local-preview{width:100%;height:40px;border:1px solid #747775;border-radius:4px;background:#131314;color:#e3e3e3;font:500 15px Arial,sans-serif;cursor:default}
#google-local-preview[hidden]{display:none}
.google-sign-in :is(#google-button-mount,iframe){color-scheme:light;background:transparent}
.google-sign-in:focus-within{outline:2px solid var(--mint);outline-offset:2px}
.account-delete-open{background:none;border:0;padding:5px 0;color:#f0a9a8;font:inherit;font-size:11px;text-decoration:underline;cursor:pointer}
#account-delete-dialog{width:min(27rem,calc(100% - 2rem));box-sizing:border-box;border:1px solid #955e65;border-radius:14px;padding:24px;background:#101f2b;color:#f5f2e9;box-shadow:0 16px 65px #0009}
#account-delete-dialog::backdrop{background:#04101bd9}
#account-delete-dialog h2{margin:0 0 12px;font-size:21px}
#account-delete-dialog p,#account-delete-consent{font-size:14px;line-height:1.5}
#account-delete-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0}
#account-delete-consent[hidden]{display:none}
#account-delete-agree{flex:none;width:18px;height:18px;margin:2px 0;accent-color:#ea8486}
#account-delete-feedback:empty{display:none}
.account-delete-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:18px}
.account-delete-actions button{padding:10px 14px;border:1px solid #738391;border-radius:7px;font:inherit;font-size:13px;cursor:pointer;background:#1c3040;color:#fff}
#account-delete-confirm{background:#842e39;border-color:#df8a92}
#account-delete-confirm:disabled{opacity:.45;cursor:default}
.google-sign-in:not([hidden]) + .account-status{flex-basis:100%;text-align:center}
.account-status{flex:1 1 200px;margin:0;font-size:11px;line-height:1.45;color:#9db5c8}.account-sign-out{border:1px solid #57e7d259;background:transparent;color:#d9fff4;border-radius:999px;padding:8px 14px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.account-sign-out:hover{background:#57e7d214}.account-crazygames{border:1px solid #8f7bff80;background:#6842ff2e;color:#efeaff;border-radius:999px;padding:9px 16px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.account-crazygames:hover{background:#6842ff4d}.account-crazygames:disabled{opacity:.6;cursor:default}.account-crazygames[hidden]{display:none}

/* Start screen v2 (7. 11. 2026): the user's neon background with the logo is drawn
   on the canvas (app.js drawWelcome), which also sets --logo-bottom. The chosen face
   is the hero with turning light rays; records and faces stand in two tall columns
   under the logo, the form and Premium on the right. Premium opens as a dialog in
   front of everything (app.js closes it with ×, Escape or a click outside). */
body:has(#welcome:not(.hidden)) .brand{visibility:hidden}
body:has(#welcome:not(.hidden)) .live-pill{margin-left:auto}
body:has(#welcome:not(.hidden)) .telemetry{display:none}
.welcome.welcome-v2{inset:0;max-width:none;margin:0;padding:86px clamp(16px,2.4vw,40px) 22px;overflow-x:hidden;overflow-y:auto;display:grid;gap:18px clamp(14px,1.6vw,26px);grid-template-columns:minmax(220px,1fr) minmax(240px,.78fr) minmax(300px,1.5fr) minmax(260px,1fr);grid-template-rows:auto 1fr auto;grid-template-areas:"rank faces hero form" "records faces hero form" "premium faces hero form";align-items:start}
.welcome-v2 .neon-panel{position:relative;min-width:0;background:linear-gradient(160deg,#0a2230e8,#061520ee);border:1px solid #62efd166;border-radius:18px;box-shadow:0 0 0 1px #62efd114,0 0 26px #62efd12e,inset 0 0 34px #62efd10d;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.welcome-v2 .panel-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;margin:0 2px 12px}
.welcome-v2 .panel-title h2,.welcome-v2 .ever-heading h2,.welcome-v2 .premium-title{margin:0;font-size:clamp(17px,1.45vw,23px);font-weight:900;font-style:normal;letter-spacing:.5px;line-height:1.1;color:#fdfaf0;text-shadow:0 2px 0 #06222b,0 0 14px #62efd155}
.welcome-v2 .faces-panel .panel-title h2{font-size:clamp(15px,1.15vw,20px)}
.welcome-v2 .profile-number{font-size:10px;font-weight:800;letter-spacing:1px;color:#9fe9d9;border:1px solid #62efd140;border-radius:20px;padding:4px 9px}

/* Two tall columns under the logo: records (left) and the faces (two per row). */
.welcome-v2 .ever-card{grid-area:records;align-self:stretch;display:flex;flex-direction:column;gap:6px;min-height:0;margin-top:max(0px,calc(var(--logo-bottom,250px) - 80px));padding:14px 14px 10px}
.welcome-v2 .ever-heading .eyebrow{font-size:8px;color:#9fd8cc}
.welcome-v2 .ever-heading h2>span{font-size:inherit;letter-spacing:.5px}
.welcome-v2 .ever-list-viewport{flex:1 1 auto;height:auto;max-height:none;min-height:140px}
.welcome-v2 .ever-note{display:none}
/* The floor line under the tabs (18 Nov 2026): the card's gap sets its room above and below. */
.welcome-v2 .ever-floor{margin:0 2px}
.welcome-v2 .faces-panel{grid-area:faces;padding:14px 12px 12px;margin-top:max(0px,calc(var(--logo-bottom,250px) - 80px))}
.welcome-v2 .face-grid{grid-template-columns:repeat(2,minmax(0,116px));justify-content:center;gap:8px}
.welcome-v2 .face-option{aspect-ratio:1/.92;padding:6px 4px 5px;border-radius:12px;border:1px solid #62efd12e;background:linear-gradient(160deg,#0d2a38,#071822)}
.welcome-v2 .face-option img{width:70%;height:auto;max-height:66%;object-fit:contain}
.welcome-v2 .face-option>span{font-size:10.5px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;color:#bcd3e0}
.welcome-v2 .face-option:hover{border-color:var(--face-accent);background:linear-gradient(160deg,#12384a,#0a2230)}
.welcome-v2 .face-option[aria-pressed="true"]{border:2px solid var(--face-accent);padding:5px 3px 4px;background:linear-gradient(160deg,color-mix(in srgb,var(--face-accent) 22%,#0d2a38),#071822);box-shadow:0 0 0 3px color-mix(in srgb,var(--face-accent) 22%,transparent),0 0 22px color-mix(in srgb,var(--face-accent) 40%,transparent)}
.welcome-v2 .face-selected-mark{top:4px;right:5px;width:20px;height:20px;border-radius:50%;background:var(--face-accent);color:#06221e;font-size:12px;line-height:20px;text-align:center}

/* The chosen face: floating over a glowing pedestal, light rays turning behind it
   and rings pulsing outwards, all in the face's own colour. */
/* zoom .7: the user asked for the whole selected-face area 30 % smaller. */
.welcome-v2 .hero-stage{grid-area:hero;align-self:stretch;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:min(560px,72vh);padding:44px 0 6px;zoom:.7;--pad-h:min(86px,6.5vw)}
.welcome-v2 .hero-stage>*{flex-shrink:0}
.welcome-v2 .profile-preview{position:relative;z-index:2;width:min(390px,100%);aspect-ratio:1;min-height:0;display:grid;place-items:center;background:none;border:0;border-radius:50%;overflow:visible}
.welcome-v2 .profile-preview::before{content:none}
.welcome-v2 .profile-preview::after{content:"";display:block;position:absolute;left:50%;top:50%;bottom:auto;z-index:-1;width:78%;height:auto;aspect-ratio:1;translate:-50% -50%;transform:none;filter:none;opacity:.7;border:0;border-radius:50%;pointer-events:none;background:radial-gradient(circle closest-side,color-mix(in srgb,var(--selected-accent) 50%,transparent),transparent 72%);animation:hero-aura 3.2s ease-in-out infinite}
/* Light rising from the pedestal, as in the user's reference picture: a cyan column whose
   streaks flow upwards. The column clips its moving layers, so they never make the page scroll. */
.welcome-v2 .pad-beam{position:absolute;left:50%;bottom:50%;z-index:1;width:120%;aspect-ratio:1.05;translate:-50% 0;overflow:hidden;pointer-events:none;clip-path:polygon(28% 100%,72% 100%,100% 0,0 0);-webkit-mask:linear-gradient(to top,#000 0,#000 12%,#000b 45%,transparent 95%);mask:linear-gradient(to top,#000 0,#000 12%,#000b 45%,transparent 95%)}
.welcome-v2 .pad-beam::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 30% 62% at 50% 100%,#d8fff6c0,#62efd166 45%,transparent 80%),linear-gradient(90deg,transparent 36%,#e6fffa2e 50%,transparent 64%),linear-gradient(to top,#62efd152,transparent 88%);animation:beam-flicker 2.8s ease-in-out infinite}
.welcome-v2 .pad-beam::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 27%,#8dfde833 31%,transparent 35%,#8dfde829 39%,transparent 43%,#d8fff640 47%,transparent 50.5%,#8dfde838 54%,transparent 58%,#8dfde829 62%,transparent 66%,#8dfde833 70%,transparent 74%);animation:beam-flicker 3.6s ease-in-out infinite reverse}
.welcome-v2 .pad-beam i{position:absolute;left:0;right:0;top:0;height:calc(100% + 240px);animation:beam-rise 2.4s linear infinite}
.welcome-v2 .pad-beam i:first-child{background:repeating-linear-gradient(to top,transparent 0 90px,#e6fffa 120px,transparent 150px 240px) 31% 0/2px 100% no-repeat,repeating-linear-gradient(to top,transparent 0 10px,#9ffff0 40px,transparent 70px 120px) 39% 0/2px 100% no-repeat,repeating-linear-gradient(to top,transparent 0 140px,#fff 170px,transparent 200px 240px) 47% 0/3px 100% no-repeat,repeating-linear-gradient(to top,transparent 0 40px,#9ffff0 75px,transparent 110px 120px) 54% 0/2px 100% no-repeat,repeating-linear-gradient(to top,transparent 0 170px,#e6fffa 200px,transparent 235px 240px) 62% 0/2px 100% no-repeat,repeating-linear-gradient(to top,transparent 0 60px,#9ffff0 80px,transparent 100px 120px) 70% 0/2px 100% no-repeat}
.welcome-v2 .pad-beam i:last-child{animation-duration:3.8s;background:repeating-linear-gradient(to top,transparent 0 30px,#8dfde880 90px,transparent 150px 240px) 35% 0/4px 100% no-repeat,repeating-linear-gradient(to top,transparent 0 120px,#8dfde880 175px,transparent 230px 240px) 51% 0/5px 100% no-repeat,repeating-linear-gradient(to top,transparent 0 10px,#8dfde866 50px,transparent 90px 120px) 66% 0/4px 100% no-repeat,repeating-linear-gradient(to top,transparent 0 100px,#fff 104px,transparent 108px 240px) 43% 0/3px 100% no-repeat,repeating-linear-gradient(to top,transparent 0 20px,#e6fffa 24px,transparent 28px 120px) 58% 0/3px 100% no-repeat,repeating-linear-gradient(to top,transparent 0 180px,#fff 183px,transparent 186px 240px) 76% 0/2px 100% no-repeat,repeating-linear-gradient(to top,transparent 0 60px,#e6fffa 63px,transparent 66px 120px) 24% 0/2px 100% no-repeat,repeating-linear-gradient(to top,transparent 0 150px,#fff 154px,transparent 158px 240px) 84% 0/2px 100% no-repeat}
/* Rings ripple outwards across the pad. */
.welcome-v2 .hero-pedestal::before,.welcome-v2 .hero-pedestal::after{content:"";position:absolute;inset:6% 4%;border-radius:50%;border:2px solid #9ffff0;box-shadow:0 0 16px #62efd1aa,inset 0 0 12px #62efd166;opacity:0;pointer-events:none;animation:pad-ripple 2.6s ease-out infinite}
.welcome-v2 .hero-pedestal::after{animation-delay:-1.3s}
.welcome-v2 .profile-face{width:86%;height:86%;object-fit:contain;filter:drop-shadow(0 18px 16px #000a) drop-shadow(0 0 28px color-mix(in srgb,var(--selected-accent) 55%,transparent));animation:hero-float 4.2s ease-in-out infinite;transition:opacity .2s}
.welcome-v2 .profile-preview:hover .profile-face{transform:none}
.welcome-v2 .preview-name{left:50%;right:auto;top:-36px;transform:translateX(-50%);z-index:3;max-width:100%;gap:14px;padding:11px 14px 11px 18px;font-size:30px;font-weight:800;white-space:nowrap;background:#061520e8;border:2px solid #62efd166;border-radius:20px;box-shadow:0 0 24px #62efd122}
.welcome-v2 .preview-name img{width:40px;height:30px;border-radius:4px}
.welcome-v2 .preview-name strong{min-width:0}
.welcome-v2 .preview-score{position:static;font-size:26px;padding:6px 12px;border-radius:9px}
.welcome-v2 .preview-score small{font-size:12px;letter-spacing:1px}
.welcome-v2 .face-loading{inset:30% 20%;font-size:12px;border-radius:12px}
.welcome-v2 .hero-pedestal{position:relative;z-index:1;width:min(360px,92%);height:var(--pad-h);margin-top:calc(min(390px,29vw) * -.2);border-radius:50%;background:radial-gradient(ellipse closest-side,#d8fff6d9 0,#62efd18c 18%,transparent 42%),radial-gradient(ellipse closest-side,transparent 50%,#8dfde85c 53%,transparent 56%,transparent 72%,#8dfde899 75.5%,transparent 79%),radial-gradient(ellipse at 50% 32%,#62efd147,#0b2a35 46%,#041119 72%);box-shadow:0 0 0 2px #62efd199,0 0 26px #62efd166,0 0 70px #62efd12e,inset 0 -10px 22px #000a,inset 0 6px 18px #62efd133;animation:pedestal-glow 3.4s ease-in-out infinite}
.welcome-v2 .hero-plaque{position:relative;z-index:2;margin:calc(var(--pad-h) * -.6) 0 0;padding:9px 34px;min-width:min(250px,21vw);text-align:center;background:linear-gradient(180deg,#0b2733,#06161f);border:2px solid #62efd1aa;border-radius:12px;box-shadow:0 0 22px #62efd144,inset 0 0 14px #62efd122}
.welcome-v2 .hero-plaque span{font-size:clamp(22px,2.2vw,34px);font-weight:900;font-style:normal;letter-spacing:1.5px;text-transform:uppercase;color:#fdfaf0;text-shadow:0 2px 0 #06222b,0 0 16px #62efd166}
@keyframes hero-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-12px) rotate(2deg)}}
@keyframes hero-aura{0%,100%{scale:.94;opacity:.55}50%{scale:1.04;opacity:.9}}
@keyframes beam-rise{to{translate:0 -240px}}
@keyframes beam-flicker{0%,100%{opacity:.82}40%{opacity:1}55%{opacity:.7}75%{opacity:.95}}
@keyframes pad-ripple{0%{scale:.12;opacity:0}20%{opacity:.95}100%{scale:1.14;opacity:0}}
@keyframes pedestal-glow{0%,100%{box-shadow:0 0 0 2px #62efd199,0 0 26px #62efd166,0 0 70px #62efd12e,inset 0 -10px 22px #000a,inset 0 6px 18px #62efd133}50%{box-shadow:0 0 0 2px #8dfde8cc,0 0 36px #62efd199,0 0 90px #62efd147,inset 0 -10px 22px #000a,inset 0 6px 22px #62efd155}}

/* Right column: the form, Premium under it, both centred vertically. */
.welcome-v2 .profile-card{grid-area:form;width:auto;padding:22px 22px 16px;overflow:visible}
.welcome-v2 .profile-card::before{left:40px;right:40px}
.welcome-v2 .identity-fields .field-label,.welcome-v2 .movement-choice legend{font-size:12px;font-weight:850;letter-spacing:1.6px;color:#c7dbe8;margin-bottom:8px}
.welcome-v2 .identity-fields input,.welcome-v2 .country-input{height:52px;border-radius:11px;background:#03101acc;border:1.5px solid #62efd155;font-size:19px}
.welcome-v2 .identity-fields input:focus,.welcome-v2 .country-input:focus-within{border-color:var(--mint);box-shadow:0 0 0 3px #62efd133;outline:0}
.welcome-v2 .country-input select{font-size:17px;font-weight:650}
.welcome-v2 .country-input>img{width:32px;height:22px}
.welcome-v2 .select-chevron{right:16px;width:14px;height:9px;margin-top:-4.5px}
.welcome-v2 .country-label{margin-top:16px}
.welcome-v2 .movement-choice{margin:18px 0 0;padding:0;border:0;background:none}
.welcome-v2 .movement-choice legend{padding:0}
.welcome-v2 .movement-options{gap:10px}
.welcome-v2 .movement-options label{min-height:48px;padding:0 12px;gap:9px;border:1.5px solid #62efd140;border-radius:11px;background:#03101acc;font-size:14px;white-space:nowrap}
.welcome-v2 .movement-options label:has(input:checked){border-color:var(--mint);background:#0b2f33;box-shadow:0 0 16px #62efd133}
.welcome-v2 .movement-options input{width:18px;height:18px}
.welcome-v2 #movement-help,.welcome-v2 #touch-help{font-size:10px;line-height:1.45;color:#8fb0c2;margin:8px 0 0}
.welcome-v2 .play-button{margin-top:18px;min-height:66px;padding:0 20px;border-radius:14px;border:2px solid #c8fff1;background:linear-gradient(180deg,#8dffe6,#42d9b9);color:#03241e;white-space:nowrap;font-size:clamp(17px,1.4vw,25px);font-weight:900;font-style:normal;letter-spacing:.8px;box-shadow:0 5px 0 #1f8a74,0 0 28px #62efd166}
.welcome-v2 .play-button>span{font-size:40px;font-style:normal;font-weight:700;line-height:1}
.welcome-v2 .play-button:hover{background:linear-gradient(180deg,#a8fff0,#56e6c6);box-shadow:0 5px 0 #1f8a74,0 0 42px #62efd199}
.welcome-v2 .profile-footer{margin-top:12px}
.welcome-v2 .premium-collection{grid-area:premium;margin:0;overflow:visible;border-color:#e7c48a8c;background:linear-gradient(160deg,#241e0feb,#0b1418ee);box-shadow:0 0 0 1px #e7c48a1f,0 0 26px #e7c48a33,inset 0 0 30px #e7c48a12}
.welcome-v2 .premium-collection>summary{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 12px;padding:14px;min-height:0;color:#f3ead2}
.welcome-v2 .premium-title{flex:1 0 100%;color:#ffd36c;text-shadow:0 2px 0 #3a2a05,0 0 12px #ffd36c55}
.welcome-v2 .premium-perks{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:750;letter-spacing:0;color:#f3ead2;white-space:nowrap}
.welcome-v2 .premium-perks>span::before{content:"✓";margin-right:8px;color:var(--mint);font-weight:900}

/* Premium dialog: large, centred and above every other panel. */
.welcome-v2 .premium-collection[open]{z-index:30;backdrop-filter:none;-webkit-backdrop-filter:none}
.welcome-v2 .premium-collection[open]::before{content:"";position:fixed;inset:0;z-index:0;background:#020a10c2;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);cursor:pointer}
.welcome-v2 .premium-body{position:fixed;left:50%;top:50%;z-index:1;translate:-50% -50%;width:min(960px,calc(100vw - 24px));max-height:min(86vh,800px);overflow:auto;overscroll-behavior:contain;padding:18px 20px 16px;background:linear-gradient(160deg,#1f1b10fa,#0a141afa);border:1px solid #e7c48a99;border-radius:20px;box-shadow:0 24px 80px #000c,0 0 34px #e7c48a40}
.welcome-v2 .premium-modal-heading{position:sticky;top:-18px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-18px -20px 8px;padding:16px 20px 10px;background:linear-gradient(180deg,#1f1b10,#1f1b10e8)}
.welcome-v2 .premium-modal-heading h2{margin:0;font-size:24px;font-weight:900;font-style:normal;color:#ffd36c;text-shadow:0 2px 0 #3a2a05,0 0 12px #ffd36c55}
.welcome-v2 .premium-modal-heading h2 span{margin-left:8px;color:#f3ead2;font-size:15px;font-style:normal;font-weight:700;text-shadow:none}
.welcome-v2 .premium-description{padding:0 0 10px}
.welcome-v2 .premium-face-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:12px;padding:4px 2px 14px;max-height:none;overflow:visible}
.welcome-v2 .premium-face-grid .face-option{aspect-ratio:auto;min-height:132px;padding:18px 6px 9px}
.welcome-v2 .premium-face-grid .face-option[aria-pressed="true"]{padding:17px 5px 8px}
.welcome-v2 .premium-face-grid .face-option img{width:76px;height:76px;max-height:none}
.welcome-v2 .premium-face-grid .face-option>span{font-size:12px;white-space:normal;text-wrap:balance;line-height:1.15}
.welcome-v2 .premium-checkout{padding:12px 0 0}

@media(min-width:1101px){
/* Face tiles shrink with the window height (down to 64 px wide), so the faces column does
   not make the page scroll: 108 px is the top and bottom padding, the panel starts at
   --logo-bottom + 6 px, and --faces-chrome is the panel's title, upload row and padding.
   Since 15. 11. 2026 (round 44) three faces a row (the user: "CHOSE YOUR TROLL NAREDI PO 3 TROLE V VRSTO, TO SE BO
   SKRČILO PLAC NAVZGOR. pOD TO DAJ POTEM OKNO pRMEIUM."): the 11 free faces take four rows, and Premium sits under
   them in the same column, so --faces-premium is the Premium card with its margin. The faces column is at least
   240 px wide (190 before), so three tiles keep about 66 px on a 1366 × 768 screen.
   Round 44b (the user: "Slika 2 porvanaj ob stran in okno nekoliko skrči spodnji premum okno pa naj bo tako veliko da
   sew poravna z spodnjo črto top playerjev"): the panel holds its three tiles from the left edge and is only as wide
   as they are (--face-tile, one tile; --faces-pad-x, the panel's side padding); Premium under it is as wide and
   reaches the bottom line of TOP PLAYERS. */
.welcome.welcome-v2{row-gap:0;--face-gap:8px;--face-aspect:.86;--panel-pad:14px;--faces-chrome:157px;--faces-premium:180px;--faces-pad-x:var(--panel-pad);--face-tile:min(116px,max(64px,(100dvh / var(--welcome-zoom) - 108px - var(--column-top,max(0px,var(--logo-bottom,250px) - 80px)) - var(--faces-chrome) - var(--faces-premium) - 3 * var(--face-gap)) / 4 / var(--face-aspect)))}
.welcome-v2 .premium-collection{margin-top:14px;align-self:stretch}
.welcome-v2 .faces-panel,.welcome-v2 .premium-collection{justify-self:start;width:min(100%,max(calc(222px + 2 * var(--faces-pad-x) + 2px),calc(3 * var(--face-tile) + 2 * var(--face-gap) + 2 * var(--faces-pad-x) + 2px)))}
.welcome-v2 .faces-panel .face-grid{gap:var(--face-gap);grid-template-columns:repeat(3,minmax(0,var(--face-tile)));justify-content:start}
.welcome-v2 .faces-panel .face-option{aspect-ratio:1/var(--face-aspect)}
/* Every column starts on one line under the logo (the user's request): TOP PLAYERS, CHOOSE
   YOUR TROLL, the name tag above the selected face, and YOUR NAME with Premium under it.
   The hero is zoomed .7, hence /.7; its 36px padding is the name tag's height above the face. */
/* Since 15. 11. 2026 the page fits the screen without scrolling (the user: "Postavitev je premajhna. Naredi prosim po
   svoje da bo vidno vse na zaslonu brez potrebe po scrolanju"). YOUR RANK went to the left column over TOP PLAYERS, so
   the right column holds the form alone; app.js fitWelcome() picks the largest zoom that fits. Since round 44 Premium
   sits under CHOOSE YOUR TROLL, and TOP PLAYERS goes down to the bottom, where Premium ended (the user: "TOP PLAYERS PA
   LAHKO POTEM RAZŠIRIŠ NEKOLIKO NAVZDOL DO TOČKE KJER JE SEDAJ SPODNJI ROB PREMUUM ROBA"). Since round 44c YOUR RANK
   is in the right window (the user: "Your rank prestavi v okno kamor kaže puščica"; app.js placeRankCard moves it
   there, and until then it is hidden here) and TOP PLAYERS fills the left column from the logo's line (the user: "Top
   players pa razširi do vrha kjer je Chose your trols"). The rows: the faces, and the rest, where Premium reaches the
   bottom line with TOP PLAYERS and the form. */
.welcome.welcome-v2{grid-template-rows:auto 1fr;grid-template-areas:"records faces hero form" "records premium hero form"}
.welcome-v2>.rank-card{display:none}
/* TOP PLAYERS keeps its rows, title and pages (the fit then counts it): at least three rows of the list. */
.welcome-v2 .ever-card{min-height:auto}
.welcome-v2 .ever-list-viewport{min-height:72px}
.welcome-v2 .hero-stage{align-self:start;min-height:0;margin-top:calc(max(0px,var(--logo-bottom,250px) - 80px) / .7);padding-top:36px}
/* The form ends on the bottom line and reaches up at least to the logo's line; with more in it than that, it grows
   upwards, up to the top bar, before the page has to shrink (round 44c, the user: "Če je prostor premajhen ga povečaj
   navzgor ne navzdol !"). */
.welcome-v2 .profile-card{align-self:end;margin-top:0;min-height:calc(100% - max(0px,var(--logo-bottom,250px) - 80px))}}
@media(min-width:1101px) and (max-height:820px){
.welcome.welcome-v2{--face-gap:6px;--face-aspect:.76;--panel-pad:12px;--faces-chrome:153px;--faces-premium:177px}
.welcome-v2 .panel-title{margin-bottom:8px}
.welcome-v2 .face-option img{max-height:56%}
.welcome-v2 .profile-preview{width:min(340px,100%)}
/* Short windows: a tighter form and a one-line Premium, so the right column, which now
   starts under the logo like the others, still fits. */
.welcome-v2 .profile-card{padding:12px 18px 10px}
.welcome-v2 .identity-fields .field-label,.welcome-v2 .movement-choice legend{font-size:11px;margin-bottom:5px}
.welcome-v2 .identity-fields input,.welcome-v2 .country-input{height:40px}
.welcome-v2 .country-label{margin-top:8px}
.welcome-v2 .movement-choice{margin-top:10px}
.welcome-v2 .movement-options label{min-height:38px}
.welcome-v2 .play-button{margin-top:10px;min-height:50px}
.welcome-v2 .profile-footer{margin-top:8px}}
/* The one-line Premium also up to 920 px high, since the BOOST row (8. 11. 2026) made the form
   taller; otherwise the right column scrolled by 20 px at 1440 × 900. Since 15. 11. 2026 on every wide screen; since
   round 44 Premium sits in the faces column under CHOOSE YOUR TROLL. */
@media(min-width:1101px){
.welcome-v2 .premium-collection>summary{align-items:center;gap:6px 12px;padding:10px 14px}
.welcome-v2 .premium-title{flex:1 1 auto}
.welcome-v2 .premium-perks{order:3;flex:1 0 100%;flex-direction:row;flex-wrap:wrap;gap:4px 14px;font-size:12px}}
@media(min-width:1101px) and (max-height:700px){.welcome-v2 .profile-footer{display:none}}
@media(max-width:1100px){
.welcome.welcome-v2{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:none;grid-auto-rows:auto;grid-template-areas:"hero rank" "hero form" "hero premium" "faces records";align-content:start;padding-top:calc(var(--logo-bottom,220px) + 6px)}
.welcome-v2 .faces-panel,.welcome-v2 .ever-card{margin-top:0}
.welcome-v2 .face-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.welcome-v2 .face-option{aspect-ratio:1/1.05}
.welcome-v2 .face-option>span{font-size:10px;letter-spacing:0}
.welcome-v2 .ever-list-viewport{max-height:300px}
.welcome-v2 .hero-stage{min-height:auto;--pad-h:min(70px,8vw)}
.welcome-v2 .profile-preview{width:min(330px,40vw)}
.welcome-v2 .hero-pedestal{width:min(300px,36vw);margin-top:calc(min(330px,40vw) * -.2)}
.welcome-v2 .hero-plaque{min-width:min(240px,30vw)}}
@media(max-width:760px){
.welcome.welcome-v2{grid-template-columns:minmax(0,1fr);grid-template-areas:"hero" "rank" "form" "premium" "faces" "records";padding:calc(var(--logo-bottom,200px) + 2px) 16px 24px;gap:14px}
.welcome-v2 .profile-preview{width:min(250px,62vw)}
.welcome-v2 .hero-stage{--pad-h:56px}
.welcome-v2 .hero-pedestal{width:min(230px,56vw);margin-top:calc(min(250px,62vw) * -.2)}
.welcome-v2 .hero-plaque{min-width:200px;padding:7px 24px}
.welcome-v2 .face-grid{gap:7px}
.welcome-v2 .face-option>span{font-size:9px}
.welcome-v2 .play-button{min-height:58px}
.welcome-v2 .ever-list-viewport{max-height:340px}
.welcome-v2 .premium-body{width:calc((100vw - 16px) / var(--welcome-zoom));max-height:calc(88vh / var(--welcome-zoom));padding:14px 12px}
.welcome-v2 .premium-modal-heading{top:-14px;margin:-14px -12px 8px;padding:12px 12px 8px}
.welcome-v2 .premium-face-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:9px}}
/* Phones and tablets (the user's screenshots, 8. 11. 2026). The records card grows with its rows:
   min-height:0 is only for the desktop column it stretches in; stacked, it collapsed to its
   padding and its heading spilled over an empty strip. The name tag may be wider than the face
   (the hero is zoomed .7), so a short name is no longer cut to its first letter. */
@media(max-width:1100px){.welcome-v2 .ever-card{min-height:auto}}
@media(max-width:760px){.welcome-v2 .preview-name{max-width:calc((100vw - 40px) / .7);gap:10px;padding:9px 14px;font-size:27px}.welcome-v2 .preview-score{font-size:22px;padding:5px 10px}}
/* PLAY SOUND and ? stay clickable above the start screen (only their buttons take touches); while
   it is scrolled they fade out instead of covering its fields. */
body:has(#welcome:not(.hidden)) .topbar{z-index:5}
body:has(#welcome:not(.hidden)) .top-actions{transition:opacity .2s}
body.welcome-scrolled:has(#welcome:not(.hidden)) .topbar{background:none}
body.welcome-scrolled:has(#welcome:not(.hidden)) .top-actions{opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){.welcome-v2 .profile-face,.welcome-v2 .hero-pedestal,.welcome-v2 .profile-preview::after,.welcome-v2 .pad-beam::before,.welcome-v2 .pad-beam::after,.welcome-v2 .pad-beam i{animation:none}.welcome-v2 .hero-pedestal::before,.welcome-v2 .hero-pedestal::after{display:none}}
/* Gameplay top bar (7. 11. 2026, the user's request): no logo on the left; the status panel
   is half its size and stands where the logo was. Its small texts are doubled inside the
   half-size panel so they stay readable. */
.brand{display:none}
.live-pill{margin-left:auto}
.hud{left:30px;right:auto;top:15px;transform:scale(.5);transform-origin:0 0}
.hud .label{font-size:17px;letter-spacing:1.4px}
.hud .health-block>div:first-child{font-size:20px}
.hud .health-rule-label{font-size:13px;letter-spacing:1px}
.hud .power-status{font-size:17px}
.hud .power-status img{width:36px;height:36px}
#score-gain{font-size:28px}
@media(max-width:760px){.hud{left:15px;top:8px;width:auto}}
/* Premium BOOST before a game (8. 11. 2026, profile.js): gold when ticked; without Premium it
   carries a PREMIUM badge and opens the collection. The preview's points turn gold with it. */
.boost-row{display:flex;align-items:center;gap:9px;min-height:40px;margin-top:12px;padding:6px 11px;border:1px solid #ffcf6070;border-radius:9px;background:linear-gradient(90deg,#3d300c80,#10243a);color:#e8eef2;font-size:12px;cursor:pointer}
.boost-row input{width:17px;height:17px;margin:0;accent-color:#ffcf60;flex-shrink:0;cursor:pointer}
.boost-name{font-weight:900;letter-spacing:1.5px;color:#ffd36b}
.boost-text{flex:1;min-width:0;color:#b8cad8;font-size:11px;font-weight:650}
.boost-text b{color:#fff1c7;font-weight:850}
.boost-left{font-size:12px;font-weight:850;color:#ffd36b;font-variant-numeric:tabular-nums;white-space:nowrap}
.boost-row:has(input:checked){border-color:#ffd36b;background:linear-gradient(90deg,#5c4612b0,#183040);box-shadow:0 0 18px #ffcf6038}
.boost-row.locked{border-color:#54758a55;background:#10243a}
.boost-row.locked input{opacity:.45;cursor:pointer}
.boost-row.locked .boost-name{color:#c9b47c}
.boost-row.locked .boost-left{font-size:8px;letter-spacing:.8px;color:#e7c48a;border:1px solid #e7c48a66;border-radius:4px;padding:3px 5px}
.boost-row.empty{opacity:.6;cursor:default}
.boost-row.empty input{cursor:default}
.profile-preview.boosted .preview-score{background:#ffd36b;border-color:#fff1c7;box-shadow:0 0 14px #ffcf6066}
/* Two BOOST rows since 11. 11. 2026: 2.5x (Premium, teal icon) and 5x (its own pack, gold icon);
   at most one is ticked. A little lower than the single row was, so the form grows only slightly. */
.boost-rows{display:grid;gap:5px;margin-top:10px}
.boost-rows .boost-row{margin-top:0;min-height:36px;padding:4px 10px}
.boost-icon{width:26px;height:26px;flex-shrink:0}
.boost-row.locked .boost-icon{opacity:.65;filter:grayscale(.35)}
.boost-row:not(.boost5-row) .boost-name{color:#8ff0e2}
.boost-row:not(.boost5-row):has(input:checked){border-color:#6fe4d1;background:linear-gradient(90deg,#0f4a52b0,#183040);box-shadow:0 0 18px #6fe4d138}
/* Auto controls (8. 11. 2026, app.js): no shooting stick; the moving stick waits faintly in its
   corner and jumps under the thumb wherever it touches the arena. Three choices fit in one row. */
.touch-controls.auto #aim-stick{display:none}
.touch-controls.auto #move-stick{pointer-events:none;opacity:.35}
.touch-controls.auto #move-stick.floating{opacity:1}
#touch-choice .movement-options{grid-template-columns:repeat(3,minmax(0,1fr))}
#touch-choice .movement-options label{line-height:1.15;padding:4px 8px;gap:6px}
#touch-choice .movement-options label span{white-space:normal}
/* Phones and tablets: the start picture is a page element that scrolls with the panels, so the
   browser moves both together (8. 11. 2026: drawing it on the canvas each frame lagged behind the
   scrolling and shook). Position and size come from welcomeLayout() in app.js. */
.welcome-bg{position:absolute;left:0;top:0;z-index:-1;pointer-events:none;background:no-repeat 0 0/100% 100%;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 40px,#000 calc(100% - 90px),transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0,#000 40px,#000 calc(100% - 90px),transparent 100%)}
/* The server choice (10. 11. 2026, public/servers.js): on the desktop start screen one line,
   SERVER [EU Online v], so the right column grows as little as possible.
   Only while shown: display:flex would otherwise override the hidden attribute (Codex SERVER-CHOICE-UI-002). */
@media(min-width:1101px){
.welcome-v2 .server-choice:not([hidden]){display:flex;align-items:center;gap:12px}
.welcome-v2 .server-choice legend{float:left;flex:none;margin:0}
.welcome-v2 .server-choice .server-menu{flex:1;min-width:0}}
/* SELECT SERVER (15. 11. 2026, the user: "Drop down meni se spusti na vrhu piše select server"): a drop-down in the
   look of the country field. A region announced before it has a server is greyed out as Offline and cannot be picked. */
.server-menu{position:relative}
.server-menu>summary{list-style:none;cursor:pointer;position:relative;height:43px;display:flex;align-items:center;gap:9px;padding:0 38px 0 12px;
  background:#0b192a;border:1px solid #6889a64d;border-radius:7px;color:#e8edf3;font-size:13px;font-weight:650}
.server-menu>summary::-webkit-details-marker{display:none}
.welcome-v2 .server-menu>summary{height:52px;border-radius:11px;background:#03101acc;border:1.5px solid #62efd155;font-size:17px}
.welcome-v2 .server-menu>summary:focus-visible,.welcome-v2 .server-menu[open]>summary{border-color:var(--mint);box-shadow:0 0 0 3px #62efd133;outline:0}
.server-menu .server-state{margin-left:auto;font-size:12px;font-weight:800;letter-spacing:.6px;color:#62efd1}
.server-dot{width:9px;height:9px;border-radius:50%;flex:none;background:#62efd1;box-shadow:0 0 8px #62efd1aa}
.server-dot.offline{background:#5d6f80;box-shadow:none}
.server-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;padding:10px;background:#071521;border:1.5px solid #62efd166;
  border-radius:11px;box-shadow:0 16px 40px #000c}
.server-list-title{margin:2px 4px 8px;color:#c7dbe8;font-size:11px;font-weight:850;letter-spacing:1.6px}
.server-options{display:flex;flex-direction:column;gap:6px}
.server-option{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;border:1px solid #6889a64d;border-radius:9px;
  background:#0b192a;color:#e8edf3;font:inherit;font-size:15px;font-weight:700;text-align:left;cursor:pointer}
.server-option:hover:not(:disabled),.server-option:focus-visible{border-color:var(--mint);outline:0}
.server-option[aria-checked="true"]{border-color:var(--mint);background:#0f2a2a}
.server-option.offline{cursor:not-allowed;color:#7f93a5;background:#08121c}
.server-option.offline .server-state{color:#7f93a5}
.server-help{margin:9px 4px 2px;color:#8fa9bd;font-size:11px;line-height:1.4}
/* RATING in the HUD (11. 11. 2026, the user's ideas, item 3); left out on narrow screens. */
@media(max-width:760px){.hud .rating-block{display:none}}
/* The own rank badge next to LV in the HUD (11. 11. 2026, public/rank-badges.js). */
.xp-badge{display:inline-flex;vertical-align:middle;margin-left:5px}
.xp-badge .rank-badge{width:18px;height:18px}
/* Live top 20 (the user, 11. 11. 2026: "lider board na vrhu opozit mapi kdo je med top 20. trenutno
   v igri"). Compact rows so all twenty fit above the map; on phones it shows too, small, at the top
   right (the map is bottom right). Below 874 px of height the rows are lower and the map smaller, so
   the list ends above the map; on screens up to 740 px high (phones 700) ten rows show at a time and
   the list scrolls to the other ten (Codex 101). Since 14. 11. 2026 phones show the strip of "Live top 30"
   below instead, and these phone rules are the base of the list that the strip opens. */
.leaderboard{padding:11px 12px}.leaderboard ol{margin:8px 0}.leaderboard li{height:22px;gap:6px;font-size:11px}
.leaderboard li::before{font-size:8px;width:13px}.leader-face{width:18px;height:18px}.leader-flag{width:15px;height:11px}.leader-footer{padding-top:8px}
@media(max-height:1000px) and (min-width:761px){.leaderboard{top:104px}.leaderboard li{height:18px;font-size:10px}.leader-face{width:15px;height:15px}}
@media(max-height:873px) and (min-width:761px){.leaderboard li{height:15px;font-size:9.5px}.leader-face{width:13px;height:13px}.leader-flag{width:13px;height:9px}.minimap-panel{width:190px;bottom:24px;padding:10px}.minimap-panel canvas{width:168px;height:168px}}
@media(max-height:740px) and (min-width:761px){.leaderboard li{height:16px}.leaderboard li:nth-child(n+7){display:flex}.leaderboard ol{max-height:160px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y}}
@media(max-width:760px){.leaderboard{display:block;top:64px;right:15px;width:150px;padding:6px 7px 5px;border-radius:8px;box-shadow:none}
.leaderboard .panel-heading{font-size:7px;letter-spacing:.6px}.leaderboard .panel-heading .subtle{display:none}.leaderboard ol{margin:4px 0}
.leaderboard li{height:14px;font-size:8.5px;gap:4px;padding:0 2px;border-radius:3px}.leaderboard li::before{font-size:6.5px;width:11px}
.leaderboard .leader-face,.leaderboard .leader-bodies{display:none}.leaderboard .leader-flag{width:11px;height:8px}
.leader-footer{font-size:6.5px;padding-top:4px;gap:4px}}
@media(max-width:760px) and (max-height:700px){.leaderboard ol{max-height:140px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y}}
/* The map is as wide as the live list above it (the user, 11. 11. 2026: "naj bosta enake širine torej
   zemljevid zmanjšaj na širino top lestvic"); the canvas fills the panel. The list's footer is the own
   row: place, flag, name and points, at any place. */
.minimap-panel{width:242px;padding:12px}.minimap-panel canvas{width:100%;height:auto;aspect-ratio:1}
@media(max-width:1300px){.minimap-panel{width:220px;right:18px}}
@media(max-height:873px) and (min-width:761px){.leaderboard,.minimap-panel{width:200px}.minimap-panel{padding:10px}}
@media(max-width:760px){.minimap-panel{width:150px;padding:7px;right:15px}.minimap-panel canvas{margin-top:6px}}
.leader-own{align-items:center;gap:6px;color:var(--mint);font-size:11px;font-weight:650;justify-content:flex-start}
.leader-own .own-rank{min-width:28px;font-size:9px;color:var(--mint);font-variant-numeric:tabular-nums}
.leader-own .player-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;color:var(--mint)}
.leader-own .player-score{margin-left:auto;font-weight:750;font-variant-numeric:tabular-nums;color:var(--mint)}
.leaderboard li.mine{display:flex}
@media(max-height:1000px) and (min-width:761px){.leader-own{font-size:10px}}
@media(max-width:760px){.leader-own{font-size:8.5px;gap:4px}.leader-own .own-rank{min-width:20px;font-size:7px}.leader-own .leader-flag{width:11px;height:8px}}
/* The end screen of a life (13. 11. 2026, GAME_RULES.md 13): mass, the points that count, the bunny debit, karma. */
.death-summary{margin:16px 0 4px;padding:12px 14px;border:1px solid #ffffff1a;border-radius:11px;background:#ffffff08;display:grid;gap:7px;text-align:left}
.death-summary>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.death-summary dt{font-size:10px;letter-spacing:1.3px;color:#8fa9bd}
.death-summary dd{margin:0;font-size:15px;font-weight:700;color:#e8f4fb;font-variant-numeric:tabular-nums}
.death-summary .death-karma-row{border-top:1px solid #ffffff1a;padding-top:7px}
.death-summary .death-karma-row dd{color:var(--mint);font-size:18px}
.death-summary .death-karma-row dd.negative{color:#ff8f7a}
.death-summary .death-not-counted{margin:2px 0 0;font-size:11px;color:#ffac93}
.death-summary[hidden],.death-summary .death-not-counted[hidden]{display:none}
/* Four boards since 13. 11. 2026 (MASS, KARMA, COUNTRIES, ARCHIVE): a little less spacing so the words fit a phone. */
/* The end screen's note that the life is on today's TOP 100 (13. 11. 2026). */
.death-summary .death-board{margin:2px 0 0;font-size:11px;color:var(--mint)}
.death-summary .death-board[hidden]{display:none}
/* The player's rank and XP in the setup window, always shown (the user, 14. 11. 2026: "Te xp točke lahko igralec
   vidi ves čas v svojem oknu kjer si nastavlja različne podobe"). public/level-up.js renderRankPanel fills it. */
.rank-panel{--rank-progress:0;display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;align-items:center;margin:0 0 16px;padding:10px 12px;border-radius:13px;border:1px solid #ffd36c3d;background:linear-gradient(135deg,#3a2c0b40,#0b172899)}
.rank-panel-badge{width:54px;height:54px;display:grid;place-items:center;border-radius:12px;background:radial-gradient(circle,#ffd36c26,#0b1728 70%);border:1px solid #8caac533}
.rank-panel-badge>*{width:46px;height:46px;object-fit:contain}
.rank-panel-badge.empty::before{content:"?";font-size:20px;font-weight:850;color:#5d7488}
.rank-panel-text{min-width:0;display:flex;flex-direction:column;gap:3px}
.rank-panel .field-label{margin:0}
.rank-panel-line{display:flex;align-items:baseline;gap:8px;min-width:0}
.rank-panel-line strong{font-size:15px;font-weight:800;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-panel-level{flex:none;font-size:10px;font-weight:800;letter-spacing:1px;color:#06221e;background:var(--amber);border-radius:4px;padding:2px 5px}
.rank-panel-xp{font-size:11px;font-weight:750;letter-spacing:1px;color:#a6bfd2}.rank-panel-xp b{color:var(--amber);font-size:15px;letter-spacing:.3px}
.rank-panel-track{position:relative;height:5px;border-radius:5px;background:#ffffff14;overflow:hidden;margin-top:2px}
.rank-panel-track i{position:absolute;inset:0 auto 0 0;width:calc(var(--rank-progress) * 100%);background:linear-gradient(90deg,var(--mint),var(--amber));border-radius:5px;transition:width .6s ease}
.rank-panel-next{font-size:10px;color:var(--muted);letter-spacing:.3px}
/* A new level (the user, 14. 11. 2026: "animacijo ko nekdo dobi nov badge za nov level ... v angleščini piše,
   čestitke pravkar si napredoval v level 1 ... pripisane pa so tudi skupne točke XP"): the badge springs in over
   turning rays and sparks. Only the card takes a tap (it closes it), so the controls stay free. */
.level-up{position:fixed;inset:0;z-index:12;display:flex;justify-content:center;align-items:flex-start;padding:max(150px,19vh) 16px 0;pointer-events:none}
.level-up.hidden{display:none}
.level-up-card{position:relative;pointer-events:auto;cursor:pointer;width:min(380px,100%);padding:84px 22px 22px;text-align:center;border-radius:20px;border:1px solid #ffd36c88;background:radial-gradient(120% 90% at 50% 0%,#3a2c0bf2,#0d1c2ff7 62%);box-shadow:0 0 0 1px #ffd36c33,0 24px 70px #000b,0 0 60px #ffd36c33;opacity:0;transform:translateY(-14px) scale(.92)}
.level-up.show .level-up-card{animation:level-card .55s cubic-bezier(.2,.9,.25,1.25) forwards,level-out .5s ease-in 4.7s forwards}
.level-up-badge{position:absolute;left:50%;top:-64px;width:128px;height:128px;margin-left:-64px;display:grid;place-items:center;filter:drop-shadow(0 6px 16px #000a) drop-shadow(0 0 18px #ffd36c88)}
.level-up-badge>*{width:128px;height:128px;object-fit:contain}
.level-up.show .level-up-badge{animation:level-badge 1.1s cubic-bezier(.2,.9,.2,1.3) .12s both}
.level-up-rays{position:absolute;left:50%;top:-150px;width:300px;height:300px;margin-left:-150px;border-radius:50%;background:repeating-conic-gradient(from 0deg,#ffd36c4d 0 9deg,transparent 9deg 24deg);-webkit-mask:radial-gradient(circle,#000 20%,transparent 66%);mask:radial-gradient(circle,#000 20%,transparent 66%);opacity:0;pointer-events:none}
.level-up.show .level-up-rays{animation:level-rays-in .8s ease-out .2s forwards,level-rays-spin 9s linear infinite}
.level-up-sparks{position:absolute;left:50%;top:0;width:0;height:0;pointer-events:none}
.level-up-sparks i{position:absolute;left:-4px;top:-4px;width:8px;height:8px;border-radius:2px;background:var(--amber);opacity:0}
.level-up-sparks i:nth-child(3n+2){background:var(--mint);width:6px;height:6px}.level-up-sparks i:nth-child(3n){background:#fff;width:5px;height:5px;border-radius:50%}
.level-up-sparks i:nth-child(1){--dx:-150px;--dy:-30px}.level-up-sparks i:nth-child(2){--dx:-120px;--dy:-95px}.level-up-sparks i:nth-child(3){--dx:-60px;--dy:-140px}.level-up-sparks i:nth-child(4){--dx:0px;--dy:-160px}.level-up-sparks i:nth-child(5){--dx:62px;--dy:-138px}
.level-up-sparks i:nth-child(6){--dx:122px;--dy:-92px}.level-up-sparks i:nth-child(7){--dx:152px;--dy:-26px}.level-up-sparks i:nth-child(8){--dx:-96px;--dy:30px}.level-up-sparks i:nth-child(9){--dx:98px;--dy:34px}.level-up-sparks i:nth-child(10){--dx:20px;--dy:-120px}
.level-up.show .level-up-sparks i{animation:level-spark 1.25s ease-out .35s forwards}
.level-up-eyebrow{display:block;font-size:13px;letter-spacing:3px;font-weight:850;color:var(--amber);text-shadow:0 0 14px #ffd36c66}
.level-up-title{margin:8px 0 6px;font-size:22px;line-height:1.2;font-weight:850;color:#fff}
.level-up-title span{color:var(--amber);white-space:nowrap}
.level-up-rank{margin:0 0 13px;color:#d9e6f0;font-size:13px;letter-spacing:.6px}.level-up-rank:empty{display:none}
.level-up-range{margin:0 0 12px;color:#ffd878;font-size:11px;letter-spacing:1.2px;font-weight:750}
.level-up-range:empty{display:none}
.level-up-xp{margin:0;display:inline-flex;gap:9px;align-items:baseline;padding:7px 15px;border-radius:999px;background:#0b1728;border:1px solid #62efd155;color:#a6bfd2;font-size:10px;letter-spacing:1.6px;font-weight:750}
.level-up-xp strong{color:var(--mint);font-size:18px;letter-spacing:.3px}
@keyframes level-card{to{opacity:1;transform:none}}
@keyframes level-out{to{opacity:0;transform:translateY(-10px) scale(.96)}}
@keyframes level-badge{0%{transform:scale(.2) rotate(-25deg);opacity:0}60%{transform:scale(1.15) rotate(6deg);opacity:1}100%{transform:none;opacity:1}}
@keyframes level-rays-in{to{opacity:1}}
@keyframes level-rays-spin{to{rotate:360deg}}
@keyframes level-spark{0%{opacity:1;transform:translate(0,0) scale(1)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.4) rotate(160deg)}}
@media(max-width:760px){.level-up{padding-top:max(118px,15vh)}.level-up-title{font-size:20px}}
@media(prefers-reduced-motion:reduce){.level-up.show .level-up-card{animation:level-card .2s linear forwards,level-out .3s linear 4.9s forwards}.level-up.show .level-up-badge,.level-up.show .level-up-rays,.level-up.show .level-up-sparks i{animation:none}.level-up-rays{opacity:.55}}
/* The player chooses whether others see their rank badge (the user, 14. 11. 2026: "Vsak ima možno da doda potem
   ta čin nase ali ne. Mora imeti na voljo izbiro"). Unticked, the row's badge dims: it is theirs alone. */
.rank-panel-toggle{grid-column:1/-1;display:flex;align-items:center;gap:9px;margin-top:2px;padding-top:9px;border-top:1px solid #8caac526;font-size:12px;color:#d6e3ee;cursor:pointer}
.rank-panel-toggle input{width:17px;height:17px;margin:0;accent-color:var(--amber);cursor:pointer}
.rank-panel.badge-hidden .rank-panel-badge>*{opacity:.35;filter:grayscale(.6)}
/* All 50 ranks in the setup window, a strip to scroll (the user, 14. 11. 2026: "vsak naj vidi vseh 50 vendar so ostali
   67 % zatemnjenji, pri vsakemu piše pri koliko xp se odklene in na njih je ključavnica ikona na sredini slike"). */
.rank-gallery-label{grid-column:1/-1;margin:4px 0 -4px!important}
.rank-gallery{grid-column:1/-1;position:relative;display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:4px 2px 9px;scrollbar-width:thin;scrollbar-color:#ffd36c66 transparent}
.rank-tile{flex:none;width:84px;scroll-snap-align:center;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 4px 7px;border-radius:10px;border:1px solid #8caac526;background:#0b172899;text-align:center}
.rank-tile-badge{position:relative;width:46px;height:46px;display:grid;place-items:center}
.rank-tile-badge>.rank-badge{width:46px;height:46px;object-fit:contain}
.rank-tile-level{font-size:10px;font-weight:800;letter-spacing:.8px;color:#fff}
.rank-tile-xp{font-size:9.5px;color:var(--muted);white-space:nowrap;letter-spacing:.2px}
.rank-tile.unlocked{border-color:#ffd36c3d}.rank-tile.unlocked .rank-tile-xp{color:var(--amber)}
.rank-tile.current{border-color:var(--amber);box-shadow:0 0 0 1px var(--amber),0 0 14px #ffd36c40}
.rank-lock{position:absolute;left:50%;top:50%;width:22px;height:22px;transform:translate(-50%,-50%);display:none;filter:drop-shadow(0 1px 2px #000)}
.rank-tile.locked .rank-tile-badge>.rank-badge{filter:brightness(.33)}
/* From LV 36 on a locked frame is fully dark (15. 11. 2026, the user: "od levela 36 dalje vse slike zatemni na 100% tako
   da se jih ne vidi"). The gallery always holds the 50 ranks in order, so its 36th tile is LV 36. A frame the player
   has reached shows in full. */
.rank-tile.locked:nth-child(n+36) .rank-tile-badge>.rank-badge{filter:brightness(0)}
.rank-tile.locked .rank-lock{display:block}
/* Any unlocked frame can be worn (the user, 14. 11. 2026: "Da, naj izbira"): a tap in the strip picks it; the worn
   one is ticked in mint. The tiles are buttons now. */
.rank-tile{font:inherit;color:inherit;cursor:default}
.rank-tile.unlocked{cursor:pointer}.rank-tile.unlocked:hover{border-color:#ffd36c99}
.rank-tile.worn{border-color:var(--mint);box-shadow:0 0 0 1px var(--mint),0 0 14px #62efd140}
.rank-tile.worn .rank-tile-badge::after{content:"\2713";position:absolute;right:-7px;top:-7px;width:18px;height:18px;border-radius:50%;background:var(--mint);color:#06221e;font-size:11px;font-weight:900;display:grid;place-items:center}
.rank-panel-wearing{font-size:10px;color:var(--mint);letter-spacing:.3px}.rank-panel-wearing[hidden]{display:none}
/* MY TROLL (the user, 14. 11. 2026): faces, headwear and rank frames in one window instead of long lists. */
.troll-window-open,.rank-frames-open{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:10px;padding:11px 12px;border-radius:11px;border:1px solid #62efd166;background:linear-gradient(135deg,#123a3c,#0b1d2b);color:var(--mint);font:inherit;font-size:11px;font-weight:850;letter-spacing:1.2px;cursor:pointer}
.troll-window-open:hover,.rank-frames-open:hover{border-color:var(--mint);background:#14454a}
.rank-frames-open{grid-column:1/-1;margin-top:2px;padding:8px 10px;font-size:10px;border-color:#ffd36c66;color:var(--amber);background:linear-gradient(135deg,#3a2c0b55,#0b1728)}
#troll-window{z-index:11}
#premium-preview{z-index:13}
.troll-window-card{position:relative;width:min(760px,calc((100vw - 24px) / var(--welcome-zoom)),100%);max-height:calc((100dvh - 32px) / var(--welcome-zoom));overflow:auto;padding:26px 22px 20px;border-radius:18px;border:1px solid #62efd14d;background:linear-gradient(150deg,#13283c,#0b1726);box-shadow:0 25px 100px #000a}
.troll-window-card h2{margin:6px 0 14px;font-size:22px}
.troll-tabs{display:flex;gap:6px;margin:0 0 14px;border-bottom:1px solid var(--line)}
.troll-tabs button{flex:1;padding:10px 6px;border:0;border-bottom:3px solid transparent;background:none;color:var(--muted);font:inherit;font-size:11px;font-weight:850;letter-spacing:1.2px;cursor:pointer}
.troll-tabs button[aria-selected="true"]{color:var(--mint);border-bottom-color:var(--mint)}
.troll-panel[hidden]{display:none}
.troll-group-title{margin:14px 0 8px;font-size:10px;font-weight:800;letter-spacing:1.4px;color:#a6bfd2}
.troll-group-title:first-child{margin-top:0}
.troll-window-card .troll-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:8px}
.troll-window-card .rank-gallery{flex-wrap:wrap;justify-content:center;overflow:visible;padding:4px 0}
.troll-window-done{display:block;margin:16px auto 0;min-width:180px}
.troll-window-card>.close-button{position:absolute;right:16px;top:16px}
.headwear-stage{position:relative;width:min(200px,52vw);aspect-ratio:1;margin:clamp(56px,16vw,84px) auto 10px;border-radius:50%;background:radial-gradient(circle,#62efd126,transparent 70%)}
.headwear-stage>img{position:absolute}
#headwear-face{left:0;top:0;width:100%;height:100%;object-fit:contain}
.headwear-item[hidden]{display:none}
.headwear-note{margin:0 0 12px;text-align:center;font-size:12px;color:var(--muted)}
.headwear-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px}
.headwear-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px 6px;border-radius:10px;border:1px solid #8caac533;background:#0b1728;color:#d6e3ee;font:inherit;font-size:9.5px;cursor:pointer}
.headwear-option img{width:52px;height:52px;object-fit:contain}
.headwear-option[aria-pressed="true"]{border-color:var(--mint);box-shadow:0 0 0 1px var(--mint)}
.headwear-grid.locked .headwear-option:not([data-accessory=""])::after{content:"PREMIUM";position:absolute;top:4px;right:4px;padding:1px 4px;border-radius:3px;background:#3a2c0b;color:var(--amber);font-size:7px;font-weight:850;letter-spacing:.6px}
.headwear-none{display:grid;place-items:center;width:52px;height:52px;font-size:30px;font-style:normal;color:#5d7488}
.profile-accessory-box{position:absolute;left:7%;top:7%;width:86%;height:86%;pointer-events:none;animation:hero-float 4.2s ease-in-out infinite}
.profile-accessory-box>img{position:absolute}
.profile-accessory[hidden]{display:none}
.profile-preview.loading .profile-accessory-box{opacity:0}
@media(prefers-reduced-motion:reduce){.profile-accessory-box{animation:none}}
@media(max-width:760px){.troll-window-card{padding:22px 14px 16px}.troll-window-card .troll-grid{grid-template-columns:repeat(auto-fill,minmax(74px,1fr))}}
/* Live top 30 (the user, 14. 11. 2026: "na vrhu se prikazuje pas top 3 in tvoj položaj kot tekoči trak ki neskončno
   kroži. lahko pa ga razširiš tam pa vidiš do top 30 in svoj položaj"). The server sends 30 rows. On wide screens the
   list keeps the height of 20 rows and scrolls to the rest, so it still ends above the map. On phones the list folds
   into a strip under the status panel: the top 3 and the own place run past without end (public/live-ticker.js), and
   a tap on the strip opens the whole list under it, which scrolls. Each copy of the items is at least as wide as the
   strip's window, so the loop never shows a gap, even with one short item (Codex 132). The strip and the open list
   keep clear of the sticks and the place label: the aim stick is 102 px wide at right 26 px and bottom 245 px, and
   the move stick and the place label are at the bottom left. On short portrait screens the open list leaves the aim
   stick's column; on landscape phones the strip ends left of the aim stick, and the list keeps to the middle. */
@media(min-width:761px){.leaderboard ol{max-height:440px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}}
@media(max-height:1000px) and (min-width:761px){.leaderboard ol{max-height:360px}}
@media(max-height:873px) and (min-width:761px){.leaderboard ol{max-height:300px}}
@media(max-height:740px) and (min-width:761px){.leaderboard ol{max-height:160px}}
.live-ticker{display:none}
@media(max-width:760px){.live-ticker{position:fixed;top:80px;left:15px;right:65px;z-index:3;display:flex;align-items:center;gap:8px;height:26px;margin:0;padding:0 9px 0 8px;background:var(--panel);border:1px solid #9eb9d02e;border-radius:8px;color:#dce8f2;font-size:10px;font-weight:650;text-align:left;overflow:hidden}
.live-ticker-label{flex-shrink:0;font-size:7px;font-weight:800;letter-spacing:.8px;color:var(--mint)}
.live-ticker-window{flex:1;min-width:0;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 10px,#000 calc(100% - 10px),transparent);mask-image:linear-gradient(90deg,transparent,#000 10px,#000 calc(100% - 10px),transparent)}
.live-ticker-track{display:inline-flex;min-width:200%;white-space:nowrap;animation:live-ticker-run 18s linear infinite}
.live-ticker-run{display:inline-flex;flex:1 0 auto;gap:18px;padding-right:18px}
.live-ticker-item{font-variant-numeric:tabular-nums}.live-ticker-item.mine{color:var(--mint)}
.live-ticker::after{content:'';flex-shrink:0;width:10px;height:7px;color:var(--mint)}.live-ticker[aria-expanded="true"]::after{transform:rotate(180deg)}
.leaderboard{display:none}
.leaderboard.expanded{display:block;top:110px;left:15px;right:15px;width:auto;z-index:3;padding:8px 10px 7px}
.leaderboard.expanded .panel-heading{font-size:8px}.leaderboard.expanded .panel-heading .subtle{display:inline}
.leaderboard.expanded ol{max-height:calc(100vh - 512px);max-height:calc(100dvh - 512px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y}
.leaderboard.expanded li{height:18px;font-size:10px;gap:6px}.leaderboard.expanded li::before{font-size:7.5px;width:14px}
.leaderboard.expanded .leader-face,.leaderboard.expanded .leader-bodies{display:block}.leaderboard.expanded .leader-face{width:15px;height:15px}
.leaderboard.expanded .leader-flag{width:15px;height:11px}.leaderboard.expanded .leader-own{font-size:10px}}
/* Portrait screens below 632 px, down to 320 × 480 (Codex 133): the open list keeps left of the aim stick and ends 8 px
   above the map (bottom 23 px, 187 px high) and the move stick; it may cover the place label while it is open. */
@media(max-width:760px) and (max-height:631px) and (orientation:portrait){.leaderboard.expanded{right:140px}.leaderboard.expanded ol{max-height:max(60px,calc(100vh - 383px));max-height:max(60px,calc(100dvh - 383px))}}
/* Very short portrait screens, below 460 px (320 × 430 when the browser's bars take height; Codex 134): the aim stick
   reaches the strip's row, so the strip and EXIT keep left of it as in landscape, and the open list may shrink to 40 px,
   so it still ends above the map down to 423 px. */
@media(max-width:760px) and (max-height:459px) and (orientation:portrait){.live-ticker{right:190px}.leaderboard.expanded ol{max-height:max(40px,calc(100vh - 383px));max-height:max(40px,calc(100dvh - 383px))}}
/* Landscape phones (Codex 133: by orientation, not by height): the strip ends left of the aim stick, and the open list
   keeps between the move stick and the map. */
@media(max-width:760px) and (orientation:landscape){.live-ticker{right:190px}.leaderboard.expanded{left:140px;right:172px}.leaderboard.expanded ol{max-height:max(60px,calc(100vh - 185px));max-height:max(60px,calc(100dvh - 185px))}}
@keyframes live-ticker-run{from{transform:translateX(0)}to{transform:translateX(-50%)}}
/* Without motion the strip stands still: the own entry comes first, so it is always in view, and only the right end
   fades (Codex 132). */
@media(prefers-reduced-motion:reduce){.live-ticker-track{animation:none}.live-ticker-item.mine{order:-1}.live-ticker-run[aria-hidden="true"]{display:none}
.live-ticker-window{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 10px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 10px),transparent)}}
/* EXIT (the user, 14. 11. 2026: "Naj bo nekje gumb za izhod"; "to se doda da lahko kdo normalno zaključi sredi igre").
   Wide screens: with the other buttons at the top right. Phones: at the right end of the LIVE strip's row, the strip
   ending 6 px before it (in landscape both keep left of the aim stick). A tap asks first; the troll then stays frozen in
   the arena until others eat it or the person plays again (server.js keepFrozen). */
.exit-button{border-color:#f2948566;color:#ffd2ca}
@media(max-width:760px){.exit-button{position:fixed;top:80px;right:15px;z-index:3;height:26px;min-width:44px;padding:0 8px;font-size:9px;box-shadow:none}}
@media(max-width:760px) and (orientation:landscape),(max-width:760px) and (max-height:459px) and (orientation:portrait){.exit-button{right:140px}}
.exit-modal{width:min(380px,calc(100vw - 40px));text-align:center}.exit-modal h2{margin:0 0 10px;font-size:22px;letter-spacing:-.4px}
.exit-actions{display:flex;gap:10px;margin-top:18px}.exit-actions .icon-button{flex:1;height:52px;font-size:12px}
.exit-actions .primary-button{flex:1;width:auto;margin-top:0;min-height:52px}
/* The start page 20 % smaller, on phones too, but not the arena (15. 11. 2026, the user: "Predlagam da se glej slika 4 da
   je vse za 20% manjše ker zgleda preveliko vse. tudi mobilno1 to ne velja za arene"). The start screen and its two
   windows are zoomed; the canvas, the arena and its HUD are not. Inside a zoomed box every length shrinks, the
   viewport units too, so a length that must still meet the screen or the logo (a window's full width or height on a
   phone, the logo's bottom and the phone background in app.js resize()) is divided
   by --welcome-zoom. */
:root{--welcome-zoom:.8}
.welcome.welcome-v2,#troll-window,#premium-preview{zoom:var(--welcome-zoom)}
/* YOUR RANK as its own card (15. 11. 2026); the panel inside keeps its look. */
.welcome-v2 .rank-card{grid-area:rank;padding:6px}
.welcome-v2 .rank-card .rank-panel{margin:0}
/* Privacy, terms and cookies live on trollarena.io (the user, 15. 11. 2026: "MISLIM DA JE VSE POTREBNO NA TROLLARENA.IO
   LAHKO DODAŠ LINKE NA TO STRAN ČE ŽELIŠ"): under the form and in the help. */
.legal-links{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 16px;margin:8px 0 0;font-size:10px;line-height:1.4}
.legal-links a{color:#91aabc;text-decoration:none}
.legal-links a:hover,.legal-links a:focus-visible{color:var(--mint)}
.help-modal .legal-links{margin:14px 0 4px;font-size:12px}
/* Round 44b (15. 11. 2026, the user: "Slika 3 naj bodo desno okno velikosti oken in vsega kot je to na levi strani"):
   on wide screens the form is as wide as the left column (both 1fr, see .welcome.welcome-v2), and its fields, choices
   and buttons take the sizes of the left column's: 28 px high like TODAY and ARCHIVE, 10 px capitals for the labels,
   fields 32 px high. Last in the file, so it also wins over the short-window form above. Like the left column, the form
   reaches the bottom line of TOP PLAYERS and Premium; ENTER THE ARENA and the lines under it go to its foot. The face
   names are a little smaller, so MR.ALFREDO fits a tile of three a row. */
@media(min-width:1101px){
.welcome-v2 .profile-card{display:flex;flex-direction:column;padding:var(--panel-pad) var(--panel-pad) 12px}
.welcome-v2 .profile-card>.boost-rows{margin-bottom:auto}
.welcome-v2 .faces-panel .face-option>span{font-size:9px;letter-spacing:0}
.welcome-v2 .profile-card::before{left:28px;right:28px}
.welcome-v2 .identity-fields .field-label,.welcome-v2 .movement-choice legend{font-size:10px;letter-spacing:1px;margin-bottom:5px}
.welcome-v2 .identity-fields input,.welcome-v2 .country-input{height:32px;border-radius:7px;border-width:1px;font-size:12px}
.welcome-v2 .country-input select{font-size:12px}
.welcome-v2 .country-input>img{width:22px;height:15px}
.welcome-v2 .select-chevron{right:11px;width:10px;height:6px;margin-top:-3px}
.welcome-v2 .country-label{margin-top:10px}
.welcome-v2 .movement-choice{margin-top:12px}
.welcome-v2 .movement-options{gap:6px}
.welcome-v2 .movement-options label{min-height:28px;padding:0 8px;gap:6px;border-width:1px;border-radius:7px;font-size:10px;font-weight:850;letter-spacing:1px}
.welcome-v2 .movement-options input{width:13px;height:13px}
.welcome-v2 #movement-help,.welcome-v2 #touch-help{font-size:9px;margin-top:5px}
.welcome-v2 .server-choice:not([hidden]){gap:8px}
.welcome-v2 .server-menu>summary{height:32px;gap:7px;padding:0 30px 0 10px;border-radius:7px;border-width:1px;font-size:12px}
.welcome-v2 .server-menu .server-state{font-size:10px}
.welcome-v2 .server-dot{width:7px;height:7px}
.welcome-v2 .boost-rows{gap:5px;margin-top:10px}
.welcome-v2 .boost-rows .boost-row{min-height:28px;padding:3px 8px;gap:6px;border-radius:7px;font-size:10px}
.welcome-v2 .boost-icon{width:20px;height:20px}
.welcome-v2 .boost-name{letter-spacing:1px}
.welcome-v2 .boost-text{font-size:9px}
.welcome-v2 .boost-left{font-size:10px}
.welcome-v2 .play-button{margin-top:12px;min-height:44px;padding:0 14px;border-radius:10px;font-size:16px;box-shadow:0 4px 0 #1f8a74,0 0 20px #62efd155}
.welcome-v2 .play-button>span{font-size:26px}
.welcome-v2 .profile-footer{margin-top:8px}}
/* Round 44c (15. 11. 2026). The user: "Zelo bi cenil če bi bila okna konsistentna", with the sizes "TOP PLAYERS 20px
   PREMIUM 20 px CHOOSE YOUR TROLL 20 px YOUR NAME 20px CONTROLS 10 px", and "Popravi prmium napis ker se ga ne vidi
   celotnega" and "Mouse naj piše z veliko tiskano MOUSE". On wide screens:
   - the four windows have one padding (--panel-pad) and one title, 20 px on the window's first line: TOP PLAYERS (the
     line about today's TOP 100 goes under it), CHOOSE YOUR TROLL (its count under it, always, so the window's height
     does not depend on its width), PREMIUM and YOUR NAME; the labels inside the right window (COUNTRY, CONTROLS,
     SERVER and YOUR RANK) are 10 px;
   - Premium shows all its lines: before, its last line was cut, as the perks took more lines the narrower the window
     was. Now the price has its own line and the five perks one under another, 10 px and not bold (round 44d, the user:
     "tekst ki je označen z kljukicami naj bo manjši in ne odebeljen naj bodo eden na vrh drugega ne vspoiredno"), so
     the height is the same at every width, and the faces leave exactly that room (--faces-premium; --faces-chrome is
     the faces window's title, count, button and padding);
   - TOP PLAYERS and CHOOSE YOUR TROLL start where the form does (round 44d, app.js alignColumns sets --column-top):
     on the logo's line, or higher when the form holds more;
   - YOUR RANK in the right window (see above) has the window's sizes: its label like CONTROLS over a box with the
     badge, the rank, the frames button 28 px high and the switch;
   - the controls read MOUSE and WASD / ARROWS, in capitals like TODAY and ARCHIVE;
   - a face's name may reach 3 px into each side of its tile, so MR.ALFREDO stays whole on the smallest tiles. */
@media(min-width:1101px){
.welcome-v2 .faces-panel{padding:var(--panel-pad)}
.welcome-v2 .ever-card{padding:var(--panel-pad) var(--panel-pad) 10px}
.welcome-v2 .panel-title{margin:0 0 10px}
.welcome-v2 .ever-heading{margin:0}
.welcome-v2 .panel-title h2,.welcome-v2 .faces-panel .panel-title h2,.welcome-v2 .ever-heading h2,.welcome-v2 .premium-title,.welcome-v2 .identity-fields>.field-label[for="nickname"]{margin:0;font-size:20px;font-weight:900;letter-spacing:.5px;line-height:1.1;white-space:nowrap}
.welcome-v2 .identity-fields>.field-label[for="nickname"]{margin-bottom:10px;color:#fdfaf0;text-shadow:0 2px 0 #06222b,0 0 14px #62efd155}
.welcome-v2 .faces-panel .panel-title{flex-direction:column;align-items:flex-start;gap:6px}
.welcome-v2 .ever-heading>div{display:flex;flex-direction:column-reverse;gap:4px}
.welcome-v2 .ever-heading .eyebrow{line-height:1.2}
.welcome-v2 .premium-collection>summary{gap:6px 12px;padding:var(--panel-pad)}
.welcome-v2 .premium-title,.welcome-v2 .premium-summary-price{flex:1 0 100%}
.welcome-v2 .premium-perks{flex-direction:column;gap:3px;font-size:10px;font-weight:400;letter-spacing:.2px}
.welcome-v2 .ever-card,.welcome-v2 .faces-panel{margin-top:var(--column-top,max(0px,calc(var(--logo-bottom,250px) - 80px)))}
.welcome-v2 .movement-options label>span{text-transform:uppercase;letter-spacing:.5px}
.welcome-v2 .faces-panel .face-option>span{max-width:calc(100% + 6px);letter-spacing:-.1px}
.welcome-v2 .profile-card>.boost-rows:has(+.rank-card){margin-bottom:0}
.welcome-v2 .profile-card>.rank-card{position:relative;display:block;margin:12px 0 auto;padding:18.5px 0 0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.welcome-v2 .profile-card>.rank-card .field-label{position:absolute;top:0;left:0;margin:0;font-size:10px;font-weight:850;letter-spacing:1px;color:#c7dbe8}
.welcome-v2 .profile-card .rank-panel{grid-template-columns:44px minmax(0,1fr);gap:6px 10px;padding:8px 10px;border-radius:7px}
.welcome-v2 .profile-card .rank-panel-badge{width:44px;height:44px;border-radius:7px}
.welcome-v2 .profile-card .rank-panel-badge>*{width:38px;height:38px}
.welcome-v2 .profile-card .rank-panel-text{gap:2px}
.welcome-v2 .profile-card .rank-panel-line strong,.welcome-v2 .profile-card .rank-panel-xp b{font-size:13px}
.welcome-v2 .profile-card .rank-frames-open{min-height:28px;margin:0;padding:0 8px;border-radius:7px;letter-spacing:.5px}
.welcome-v2 .profile-card .rank-panel-toggle{margin:0;padding-top:6px;gap:7px;font-size:10px}
.welcome-v2 .profile-card .rank-panel-toggle input{width:13px;height:13px}}
@media(min-width:1101px) and (max-height:820px){
.welcome-v2 .panel-title{margin-bottom:8px}}
/* Round 44e (15. 11. 2026). The user: "Naredi manjši drop down menu oziroma naj bodo okna enake velikosti kot zgornje
   okno prav tako tudi manjše pisave !" (on wide screens the server list's rows are as high as the field above it,
   32 px, with its 12 px and 10 px text), "spodnji del kjer je izpisano ime moraločevati velike in male črke ker jih ne !"
   (the plaque shows the name as it was typed), "zastava in badge 100points naj bosta iste velikosti , naj bo zastava
   tako velika kot badge" (the flag in the tag over the troll is as high as the points badge beside it, measured:
   40.6 px, and 36.3 px on phones; the flags are 4:3) and "odstrani črte pod linki" (see .legal-links a). */
.welcome-v2 .hero-plaque span{text-transform:none}
.welcome-v2 .preview-name img{width:54px;height:40.6px;border-radius:5px}
@media(max-width:760px){.welcome-v2 .preview-name img{width:48.4px;height:36.3px}}
@media(min-width:1101px){
.welcome-v2 .server-list{top:calc(100% + 4px);padding:8px;border-width:1px;border-radius:9px}
.welcome-v2 .server-list-title{margin:0 2px 6px;font-size:10px;letter-spacing:1px}
.welcome-v2 .server-options{gap:4px}
.welcome-v2 .server-option{height:32px;padding:0 10px;gap:7px;border-radius:7px;font-size:12px}
.welcome-v2 .server-option .server-state{font-size:10px}
.welcome-v2 .server-help{margin:6px 2px 0;font-size:9px}}
/* The map shows only you, as a red light that pulses like a radar (the user, 19 Nov 2026: "PRIKAZUJE PA Z ANIMACIJO
   RDEČO UTIPAJOČO LUČKO KOT RADAR KJE SE IGRALEC NAHAJA"). The frame is the map canvas's own box: its margin moved here,
   and the full map's frame is square, so --x and --y (public/app.js placeRadar, shares of the map) land on the drawing.
   The dot and its ring pulse by CSS on the compositor; the map itself is still drawn every 75 ms. */
.map-frame{position:relative}
.minimap-panel .map-frame{margin-top:10px}
.minimap-panel .map-frame canvas{margin-top:0}
.map-frame-full{width:min(100%,70vh);aspect-ratio:1;margin-inline:auto}
.map-modal .map-frame-full canvas{width:100%;height:100%;max-height:none}
.map-radar{position:absolute;left:calc(var(--x,.5) * 100%);top:calc(var(--y,.5) * 100%);width:0;height:0;pointer-events:none;--dot:7px}
.map-radar[hidden]{display:none}
.map-radar::before,.map-radar::after{content:"";position:absolute;left:0;top:0;width:var(--dot);height:var(--dot);border-radius:50%;transform:translate(-50%,-50%)}
.map-radar::before{background:#ff3b3b;box-shadow:0 0 6px 2px #ff3b3bb0;animation:map-radar-dot 1.6s ease-in-out infinite}
.map-radar::after{border:1.5px solid #ff4d4d;box-sizing:border-box;animation:map-radar-ring 1.6s ease-out infinite}
.map-frame-full .map-radar{--dot:12px}
@keyframes map-radar-dot{0%,100%{opacity:1}50%{opacity:.55}}
@keyframes map-radar-ring{0%{transform:translate(-50%,-50%) scale(1);opacity:.95}100%{transform:translate(-50%,-50%) scale(4.4);opacity:0}}
.map-legend .you-dot,.map-modal-footer .you-dot{background:#ff3b3b;box-shadow:0 0 5px #ff3b3b99}
@media(max-width:760px){.minimap-panel .map-frame{margin-top:6px}.minimap-panel .map-radar{--dot:5px}}
@media(prefers-reduced-motion:reduce){.map-radar::before{animation:none}.map-radar::after{animation:none;opacity:.55;transform:translate(-50%,-50%) scale(2.2)}}

/* Small portrait screens need three separate rows for actions, points and LIVE. */
@media (max-width: 430px) and (orientation: portrait) {
  body:has(#welcome.hidden) .hud { top: calc(env(safe-area-inset-top, 0px) + 60px); }
  .live-ticker { top: calc(env(safe-area-inset-top, 0px) + 134px); }
  .leaderboard.expanded { top: calc(env(safe-area-inset-top, 0px) + 164px); }
  .leaderboard.expanded ol { max-height: max(40px, calc(100dvh - 437px - env(safe-area-inset-top, 0px))); }
  main:has(#touch-controls:not(.hidden):not(.auto)) .leaderboard.expanded { right: 140px; }
}

/* The area below the move stick stays clear when the LIVE list opens. */
@media (max-width: 760px) {
  .location { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}

/* Short touch screens keep the right thumb above the map and the list in its own column. */
@media (max-width: 760px) and (max-height: 411px) and (orientation: landscape),
       (min-width: 761px) and (max-height: 480px) and (orientation: landscape) and (pointer: coarse) {
  .touch-controls .stick:last-child {
    top: calc(env(safe-area-inset-top, 0px) + 64px);
    bottom: auto;
    width: min(102px, 30dvh);
    height: min(102px, 30dvh);
  }
  main:has(#touch-controls:not(.hidden):not(.auto)) .minimap-panel {
    width: clamp(60px, calc(100dvh - 242px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)), 150px);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 761px) and (max-height: 480px) and (orientation: landscape) and (pointer: coarse) {
  .touch-controls .stick:last-child { top: calc(74px + env(safe-area-inset-top, 0px)); }
  main:has(#touch-controls:not(.hidden):not(.auto)) .minimap-panel {
    width: clamp(60px, calc(100dvh - 260px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)), 150px);
  }
  .leaderboard { right: calc(184px + env(safe-area-inset-right, 0px)); }
  .leaderboard ol { max-height: max(60px, calc(100dvh - 190px - env(safe-area-inset-bottom, 0px))); }
  .minimap-panel {
    right: calc(15px + env(safe-area-inset-right, 0px));
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    width: 150px;
    padding: 7px;
  }
  .location {
    left: calc(150px + env(safe-area-inset-left, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}
