@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:700;src:url(./cinzel-latin-ext-700-normal-C24KFjuG.woff2)format("woff2"),url(./cinzel-latin-ext-700-normal-CORa-yIv.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:700;src:url(./cinzel-latin-700-normal-Dkw14w9r.woff2)format("woff2"),url(./cinzel-latin-700-normal-C-gK7hA8.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:800;src:url(./cinzel-latin-ext-800-normal-BVA5zD9y.woff2)format("woff2"),url(./cinzel-latin-ext-800-normal-gMcvnDsD.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:800;src:url(./cinzel-latin-800-normal-CwkMVn6z.woff2)format("woff2"),url(./cinzel-latin-800-normal-69OYDlL6.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--panel:#181c20d1;--text:#eee6d2;--muted:#b8ad94;--accent:#e0b43c}html{-webkit-text-size-adjust:100%}html,body{height:100%;color:var(--text);-webkit-user-select:none;user-select:none;background:#20262b;margin:0;font:14px/1.4 system-ui,sans-serif;overflow:hidden}#game{width:100vw;height:100vh;display:block}#ui{pointer-events:none;position:fixed;inset:0}.hud-top{background:var(--panel);text-transform:capitalize;color:var(--muted);border-radius:8px;gap:16px;padding:6px 14px;display:flex;position:absolute;top:8px;left:50%;transform:translate(-50%)}.hud-top b{color:var(--text)}.hud-bottom{box-sizing:border-box;background:var(--panel);border-radius:8px;max-width:calc(100vw - 32px);padding:8px 14px;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.sel{pointer-events:auto;border-top:2px solid #e0b43c73;width:max-content}.sel-hint{color:var(--muted)}.sel-icon{background:var(--owner);color:#fff;text-shadow:0 1px 1px #00000080;border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font-size:13px;font-style:normal;font-weight:700;display:inline-grid;box-shadow:inset 0 0 0 2px #ffffff40,inset 0 -6px #0000002e}.sel-icon.building{border-radius:5px}.sel-icon.big{width:46px;height:46px;font-size:22px}.sel-one{align-items:center;gap:12px;min-width:min(280px,100vw - 60px);display:flex}.sel-info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.sel-name{font-size:15px}.sel-owner{color:var(--muted);align-items:center;gap:6px;display:flex}.sel-owner .dot{background:var(--owner);border-radius:50%;width:9px;height:9px}.sel-tag{text-transform:uppercase;letter-spacing:.04em;border-radius:4px;padding:0 6px;font-size:11px;font-style:normal}.sel-tag.enemy{color:#ff9a8e;background:#e0584c40}.sel-tag.ally{color:#a6ec9f;background:#6fd36a33}.sel-hprow{align-items:center;gap:8px;display:flex}.sel-hp{background:#1c1c1c;border-radius:4px;flex:1;min-width:90px;height:7px;position:relative;overflow:hidden}.sel-hp i{background:#6fd36a;position:absolute;inset:0 auto 0 0}.sel-hp i[data-level=mid]{background:#e8c547}.sel-hp i[data-level=bad]{background:#e0584c}.sel-hp-text{color:var(--text);font-variant-numeric:tabular-nums}.sel-stats,.sel-status{color:var(--muted)}.sel-status:empty{display:none}.sel-group-head{align-items:center;gap:12px;margin-bottom:6px;display:flex}.sel-group-head .sel-hprow{flex:1}.sel-cards{flex-wrap:wrap;gap:6px;max-width:min(560px,100vw - 60px);display:flex}.sel-card{min-width:120px;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;background:#2c3238;border:1px solid #4a4f55;border-radius:6px;grid-template-rows:auto auto;grid-template-columns:auto 1fr auto;align-items:center;gap:4px 6px;padding:5px 8px;display:grid}.sel-card:hover{border-color:var(--accent)}.sel-card .sel-icon{grid-row:1/3}.sel-card-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sel-count{color:var(--accent);font-variant-numeric:tabular-nums}.sel-hp.mini{grid-column:2/4;min-width:0;height:4px}.select-box{pointer-events:none;background:#f2f2d01f;border:1px solid #f2f2d0;display:none;position:fixed}.hud-build{box-sizing:border-box;background:var(--panel);pointer-events:auto;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:min(340px,100vw - 20px);padding:8px;display:grid;position:absolute;bottom:54px;left:10px}.hud-build button{min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:#2c3238;border:1px solid #4a4f55;border-radius:6px;flex-direction:column;align-items:flex-start;gap:2px;padding:6px 8px;display:flex}.hud-build button:hover{border-color:var(--accent)}.hud-build button small{color:var(--muted)}.hud-build button.poor{opacity:.5}.hud-build button.locked{opacity:.35;cursor:not-allowed}.hud-build button.locked b:before{content:"🔒 "}@media (max-width:1100px){.hud-build{bottom:calc(var(--sel-h,40px) + 18px)}}.title-bg{width:100%;height:100%;display:block;position:fixed;inset:0}.menu{box-sizing:border-box;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));pointer-events:auto;-webkit-user-select:text;user-select:text;background:#101418b3;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.menu.title{background:radial-gradient(at 50% 42%,#1014180d 0%,#10141880 65%,#0a0c10d9 100%)}@media (orientation:portrait) and (max-width:600px){.menu{padding-top:calc(60px + env(safe-area-inset-top))}}.menu-box{box-sizing:border-box;overscroll-behavior:contain;background:var(--panel);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid #e0b43c59;border-radius:12px;flex-direction:column;gap:12px;width:min(420px,100%);max-height:100%;padding:clamp(16px,4vw,28px);display:flex;overflow-y:auto;box-shadow:0 12px 40px #00000073}.menu-box.enter{animation:.22s ease-out menu-in}.menu-box.wide{width:min(640px,100%)}.menu-box .scroll{overscroll-behavior:contain;flex-direction:column;flex:auto;gap:12px;min-height:0;display:flex;overflow-y:auto}.menu h1{color:var(--accent);margin:0 0 6px}.menu .screen-title{letter-spacing:.06em;text-transform:uppercase;color:var(--accent);margin:0;font-family:Cinzel,Georgia,serif;font-size:clamp(22px,5vw,30px);font-weight:800}.menu h3{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:6px 0 0;font-size:12px}.menu-box.title-box{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;align-items:center;overflow:visible}.logo{place-items:center;width:100%;min-height:clamp(130px,36vmin,280px);display:grid;position:relative}.wheel{opacity:.6;filter:drop-shadow(0 4px 14px #00000080);width:clamp(130px,36vmin,280px);height:auto;position:absolute}.wheel-turn{animation:48s linear infinite wheel-spin}.wheel .w-gold{fill:#e0b43c8c}.wheel .w-dark{fill:#181c20bf}.wheel .w-bronze{fill:#96622899}.wheel .w-pointer{fill:#eee6d2;stroke:#1c1c1c;stroke-width:2px}.wheel .w-rim{fill:none;stroke:#e0b43c;stroke-width:3px}.wheel .w-outer{fill:none;stroke:#e0b43c80;stroke-width:6px}.wheel .w-peg{fill:#eee6d2}.wheel .w-hub{fill:#e0b43c;stroke:#1c1c1c;stroke-width:3px}.logo-text{letter-spacing:.06em;text-align:center;text-transform:uppercase;color:#f0c95a;background:linear-gradient(#fbe7a6,#e0b43c 55%,#a87a1c);-webkit-text-fill-color:transparent;filter:drop-shadow(0 3px #2a1d06)drop-shadow(0 6px 18px #000000bf);-webkit-background-clip:text;background-clip:text;margin:0;font-family:Cinzel,Georgia,serif;font-size:clamp(34px,min(11vw,12vh),76px);font-weight:800;line-height:1;position:relative}.logo-text span{display:block}.menu-actions{flex-direction:column;gap:10px;width:100%;display:flex}.menu input,.menu select,.menu button{box-sizing:border-box;min-height:44px;color:var(--text);font:inherit;background:#2c333a;border:1px solid #4a525a;border-radius:8px;padding:8px 12px;font-size:16px}.menu button{cursor:pointer;touch-action:manipulation;transition:background-color .15s,border-color .15s,transform .1s}.menu button:active:not(:disabled){transform:scale(.98)}@media (hover:hover){.menu button:hover:not(:disabled){border-color:var(--accent)}}.menu :focus-visible{outline:2px solid var(--accent);outline-offset:2px}.menu button:disabled{opacity:.5;cursor:default}.menu button.big{letter-spacing:.08em;text-transform:uppercase;background:#181c20cc;border-color:#e0b43c73;min-height:52px;font-family:Cinzel,Georgia,serif;font-size:clamp(17px,1.2vw + 12px,21px);font-weight:700}.menu button.primary,.menu button.big.primary{color:#1c1c1c;background:linear-gradient(#ecc556,#c99a28);border-color:#f0cf6a;font-weight:700}.menu button.quiet{color:var(--muted)}.menu .field{color:var(--muted);flex-direction:column;gap:4px;display:flex}.menu .row{gap:8px;display:flex}.menu .row.end button{flex:1 1 0}.menu .code-input{text-transform:uppercase;letter-spacing:.3em;text-align:center;flex:1;min-width:0}.menu .divider{color:var(--muted);align-items:center;gap:10px;font-size:13px;display:flex}.menu .divider:before,.menu .divider:after{content:"";border-top:1px solid #ffffff1f;flex:1}.menu .code{letter-spacing:.15em;color:var(--text)}.menu .muted{color:var(--muted);margin:0}.menu .small{font-size:13px}.menu .error{color:#e08a6a;min-height:1.4em;margin:0}.menu .error:empty{min-height:0}.cards{grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;display:grid}.menu .card{text-align:left;background:#2c333ae6;border-radius:10px;flex-direction:column;align-items:flex-start;gap:2px;min-height:72px;padding:10px 12px;display:flex}.card b{font-family:Cinzel,Georgia,serif;font-size:18px}.card small{color:var(--muted);font-size:13px}.menu .card.on{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:#e0b43c29}.slots{flex-direction:column;gap:6px;display:flex}.slot{background:#ffffff0a;border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px;padding:6px;display:flex}.slot.me{box-shadow:inset 3px 0 0 var(--accent)}.slot .who{text-overflow:ellipsis;white-space:nowrap;flex:1 0 100%;align-items:center;gap:8px;min-height:28px;font-weight:600;display:flex;overflow:hidden}.slot.me .who{color:var(--accent)}.slot select,.slot .color-pick,.slot .tag,.slot button{flex:96px;min-width:0}.menu .slot select{flex-basis:80px;padding:8px 4px 8px 8px}.slot .color-pick{flex:1.5 112px}.menu .slot .icon{flex:0 0 44px;padding:0}@media (max-width:559px){.slot .who{flex-basis:calc(100% - 50px);order:-2}.menu .slot .icon{order:-1}}@media (min-width:560px){.slot .who{flex:0 0 7.5em}}.slot .seat{width:24px;height:24px;color:var(--muted);background:#ffffff14;border-radius:50%;place-items:center;font-size:12px;display:inline-grid}.slot .star{color:var(--accent)}.menu .tag{min-height:44px;color:var(--muted);align-items:center;padding:0 10px;display:inline-flex}.menu .color-pick{align-items:center;gap:6px;display:flex}.menu .color-pick select{flex:1;min-width:0}.menu .swatch{vertical-align:middle;border:1px solid #ffffff59;border-radius:4px;flex:none;width:18px;height:18px;margin-right:6px;display:inline-block}.menu .color-pick .swatch{margin-right:0}.slider-row{align-items:center;gap:10px;display:flex}.slider-row output{text-align:right;min-width:3.5em;color:var(--text)}.menu input[type=range]{appearance:none;background:0 0;border:0;flex:1;min-width:0;height:44px;padding:0}.menu input[type=range]::-webkit-slider-runnable-track{background:#4a525a;border-radius:3px;height:6px}.menu input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--accent);border:2px solid #1c1c1c;border-radius:50%;width:28px;height:28px;margin-top:-11px}.menu input[type=range]::-moz-range-track{background:#4a525a;border-radius:3px;height:6px}.menu input[type=range]::-moz-range-thumb{background:var(--accent);border:2px solid #1c1c1c;border-radius:50%;width:24px;height:24px}.menu .switch{text-align:left;justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.switch i{background:#4a525a;border-radius:14px;flex:none;width:48px;height:28px;transition:background-color .15s;position:relative}.switch i:after{content:"";background:var(--text);border-radius:50%;width:22px;height:22px;transition:transform .15s;position:absolute;top:3px;left:3px}.switch[aria-checked=true] i{background:var(--accent)}.switch[aria-checked=true] i:after{transform:translate(20px)}.segmented{display:flex}.menu .segmented button{border-radius:0;flex:1 1 0;min-width:0}.menu .segmented button:first-child{border-radius:8px 0 0 8px}.menu .segmented button:last-child{border-radius:0 8px 8px 0}.menu .segmented button.on{border-color:var(--accent);background:#e0b43c38}@media (orientation:landscape) and (max-height:520px){.menu{padding-right:calc(164px + env(safe-area-inset-right))}.menu-box{gap:8px;padding:12px 16px}.menu-box.title-box{flex-direction:row;gap:24px;width:min(760px,100%)}.title-box .logo{flex:50%;min-height:0}.wheel{width:clamp(120px,62vh,260px)}.title-box .menu-actions{flex:50%}.menu button.big{min-height:46px}.menu .card{min-height:56px}}@keyframes menu-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes wheel-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.menu-box.enter,.wheel-turn{animation:none}.menu button,.switch i,.switch i:after{transition:none}}.banner{background:var(--panel);color:#e08a6a;border-radius:6px;padding:8px 14px;position:fixed;top:44px;left:50%;transform:translate(-50%)}.hud-queue{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:4px;min-height:30px;display:flex}.hud-queue small{color:var(--muted)}.hud-build .hud-queue button{min-height:30px;padding:4px 8px;position:relative;overflow:hidden}.hud-queue .bar{background:var(--accent);height:3px;position:absolute;bottom:0;left:0}.hud-queue .bar.waiting{background:#e0584c}.music-controls{top:max(8px, env(safe-area-inset-top));right:max(8px, env(safe-area-inset-right));z-index:20;pointer-events:auto;background:#14161ab3;border-radius:8px;align-items:center;gap:2px;padding:0 10px 0 0;display:flex;position:fixed}.music-controls button{cursor:pointer;touch-action:manipulation;background:0 0;border:0;min-width:44px;min-height:44px;font-size:20px}.music-controls input{width:90px;height:44px;accent-color:var(--accent);margin:0}.menu.hidden{display:none}.endscreen h1.lost{color:#e08a6a}.hud-points{top:max(8px, env(safe-area-inset-top));left:max(8px, env(safe-area-inset-left));box-sizing:border-box;background:var(--panel);width:210px;color:var(--muted);border-radius:8px;padding:6px 10px 8px;position:absolute}.pts-head{white-space:nowrap;align-items:baseline;gap:8px;display:flex}.pts-title{text-transform:uppercase;letter-spacing:.06em;font-size:12px}.pts-count{color:var(--text);font-variant-numeric:tabular-nums}.pts-spins{margin-left:auto;font-weight:700}.pts-spins.ready{background:var(--accent);color:#20262b;border-radius:4px;padding:0 6px;animation:1.6s ease-in-out infinite pts-glow}.pts-bar{background:#ffffff1f;border-radius:3px;height:6px;margin-top:4px;overflow:hidden}.pts-bar i{background:var(--accent);width:0;height:100%;transition:width .3s ease-out;display:block}.pts-recent{margin:4px 0 0;padding:0;font-size:12px;list-style:none}.pts-recent:empty{display:none}.pts-recent b{color:var(--accent)}@keyframes pts-glow{50%{box-shadow:0 0 10px #e0b43ccc}}@media (max-width:1000px){.hud-points{top:calc(max(8px, env(safe-area-inset-top)) + 40px);width:190px}}@media (max-width:600px){.hud-points{top:calc(max(8px, env(safe-area-inset-top)) + 60px)}}@media (prefers-reduced-motion:reduce){.pts-spins.ready{animation:none}.pts-bar i{transition:none}}.spectator{pointer-events:auto;flex-direction:column;gap:6px;max-width:calc(100vw - 16px);display:flex;position:absolute;top:8px;left:8px}.spectator-players{background:var(--panel);border-radius:8px;padding:4px 0;overflow-x:auto}.spectator-row{color:var(--muted);white-space:nowrap;cursor:pointer;align-items:center;gap:12px;padding:3px 12px;display:flex}.spectator-row:hover{background:#ffffff0f}.spectator-row b{color:var(--text)}.spectator-row.out{opacity:.45;text-decoration:line-through}.spectator-row i{border-radius:3px;flex:none;width:12px;height:12px}.spectator-row .name{min-width:96px;color:var(--text)}.spectator-speed{background:var(--panel);border-radius:8px;align-self:flex-start;gap:4px;padding:4px;display:flex}.spectator-speed button{min-width:40px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:4px 8px}.spectator-speed button.on{border-color:var(--accent);color:var(--text)}.spectator-eye{color:var(--muted);cursor:pointer;background:0 0;border:1px solid #fff3;border-radius:6px;padding:1px 8px}.spectator-eye.on{color:var(--text);border-color:var(--text)}
