@import "https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,400;0,600;0,700;1,400&family=Rakkas&display=swap";@font-face{font-family:Allo;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/AlloVariable.woff2)format("woff2"),url(/fonts/AlloVariable.ttf)format("truetype")}:root{--font-card:"Rakkas", sans-serif;--font-ui:"Allo", sans-serif;--font-mono:"Allo", sans-serif;--font-gameplay:"Allo", sans-serif;--font-fantasy:"Rakkas", serif;--font-cormorant:"Cormorant Infant", Georgia, serif;--font-body:"Allo", sans-serif;--font-sans:"Allo", sans-serif;--bg-primary:#f5f1e8;--bg-surface:#fff;--bg-secondary:#ebe6db;--bg-tertiary:#e0dbd0;--text-primary:#1a1a1a;--text-secondary:#5c574f;--text-muted:#9a958c;--border-color:#d4d0c8;--border-strong:#c5c5c5;--accent-color:#e8a33d;--accent-ink:#1a1a1a;--correct-char:#1a1a1a;--incorrect-char:#e04545;--charge-fill:linear-gradient(90deg, #7e22ce, #c084fc, #eab308);--keycap-face:#fff;--keycap-edge:#d9d9d9;--keycap-side:#c5c5c5;--key-left:url(/light-key-left.svg);--key-mid:url(/light-key-mid.svg);--key-right:url(/light-key-right.svg);--btn-height:clamp(44px, 6.2dvh, 58px);--btn-font-size:clamp(15px, 2.1dvh, 21px);--btn-padding-x:clamp(12px, 3.5vw, 20px);--lane-band:clamp(18px, 3.2dvh, 44px);--menu-gap:clamp(6px, 1.3dvh, 12px);--brand-input-height:clamp(44px, 6.2dvh, 58px);--keycap-height:clamp(42px, 5.8dvh, 48px);--keycap-end-w:calc(var(--keycap-height) * 10 / 45);--keycap-pad-top:calc(var(--keycap-height) * 5 / 45);--keycap-pad-bottom:calc(var(--keycap-height) * 9 / 45);--keycap-pad-left:calc(var(--keycap-height) * 7 / 45);--keycap-pad-right:calc(var(--keycap-height) * 11 / 45);--card-shadow:0 4px 0 #c5c5c5, 0 6px 14px #1a1a1a14;--button-shadow:0 4px 0 #c5c5c5, 0 6px 12px #1a1a1a14;--button-shadow-pressed:0 1px 0 #c5c5c5, 0 2px 6px #1a1a1a0f;--modal-shadow:0 8px 0 #c5c5c5, 0 16px 40px #1a1a1a24;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-key:10px;--lane-1:#89a700;--lane-2:#ffb900;--lane-3:#f99c00;--lane-4:#e76200;--lane-5:#d01a00;--brand-face:#d06428;--brand-shadow:#cac194;--brand-paper:#f2eedc;--brand-ink:#271e19;--font-pixel:var(--font-ui);--font-retro:var(--font-ui);--touch-min:44px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark]{--bg-primary:#1c1b19;--bg-surface:#2a2825;--bg-secondary:#35322e;--bg-tertiary:#403c37;--text-primary:#f3efe6;--text-secondary:#c4bfb4;--text-muted:#8a857c;--border-color:#4a463f;--border-strong:#5a554c;--accent-color:#f0b14a;--accent-ink:#1a1a1a;--correct-char:#f3efe6;--incorrect-char:#ff6b6b;--charge-fill:linear-gradient(90deg, #9333ea, #c084fc, #fbbf24);--keycap-face:#3a3a3a;--keycap-edge:#242424;--keycap-side:#100e0e;--key-left:url(/dark-key-left.svg);--key-mid:url(/dark-key-mid.svg);--key-right:url(/dark-key-right.svg);--card-shadow:0 4px 0 #1a1917, 0 6px 14px #00000059;--button-shadow:0 4px 0 #1a1917, 0 6px 12px #00000059;--button-shadow-pressed:0 1px 0 #1a1917, 0 2px 6px #00000040;--modal-shadow:0 8px 0 #1a1917, 0 16px 40px #00000073;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body{touch-action:manipulation;min-height:100%}body{background-color:var(--bg-primary);color:var(--text-primary);font-family:var(--font-ui);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;flex-direction:column;justify-content:flex-start;align-items:center;min-height:100dvh;font-weight:400;line-height:1.4;transition:background-color .2s,color .2s;display:flex}button,input,a{touch-action:manipulation;font-family:inherit}#canvas-container{z-index:0;touch-action:none;width:100vw;height:100dvh;position:fixed;inset:0;overflow:hidden}#app{z-index:1;width:100vw;max-width:100vw;min-height:100dvh;padding:16px;padding-top:max(16px, env(safe-area-inset-top,0px));padding-bottom:max(16px, env(safe-area-inset-bottom,0px));padding-left:max(16px, env(safe-area-inset-left,0px));padding-right:max(16px, env(safe-area-inset-right,0px));pointer-events:none;background:0 0;flex-direction:column;gap:16px;display:flex;position:relative}#app button,#app input,#app a,#app .menu-shell,#app .modal-card,#app .hud-slim,#app .terminal,#app .user-badge{pointer-events:auto}.keycap,.keycap-btn{--keycap-height:48px;--keycap-end-w:calc(var(--keycap-height) * 10 / 45);--keycap-pad-top:calc(var(--keycap-height) * 5 / 45);--keycap-pad-bottom:calc(var(--keycap-height) * 9 / 45);--keycap-pad-left:calc(var(--keycap-height) * 7 / 45);--keycap-pad-right:calc(var(--keycap-height) * 11 / 45);appearance:none;touch-action:manipulation;isolation:isolate;border-radius:calc(var(--keycap-height) * 3.5 / 45);color:var(--text-primary);background-color:#0000;background-image:var(--key-mid), var(--key-left), var(--key-right);background-repeat:no-repeat,no-repeat,no-repeat;background-size:calc(100% - (2 * var(--keycap-end-w)) + 2px) calc(100% + 2px), var(--keycap-end-w) 100%, var(--keycap-end-w) 100%;box-shadow:none;padding:var(--keycap-pad-top) var(--keycap-pad-right) var(--keycap-pad-bottom) var(--keycap-pad-left);min-height:max(var(--touch-min), var(--keycap-height));height:auto;font-family:var(--font-ui);letter-spacing:.01em;cursor:pointer;text-align:center;-webkit-tap-highlight-color:transparent;background-position:50%,0,100%;border:none;justify-content:center;align-items:center;gap:6px;font-size:clamp(.88rem,2.2dvh,1rem);font-weight:500;line-height:1.15;text-decoration:none;transition:transform 80ms,opacity .15s,filter .15s;display:inline-flex;position:relative}.btn{appearance:none;background:var(--keycap-face);color:var(--text-primary);border:1.5px solid var(--keycap-edge);border-radius:var(--radius-key);min-height:var(--touch-min);font-family:var(--font-ui);letter-spacing:.01em;cursor:pointer;box-shadow:var(--button-shadow);text-align:center;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-size:1rem;font-weight:500;line-height:1.2;text-decoration:none;transition:transform 80ms,box-shadow 80ms,background-color .15s,opacity .15s;display:inline-flex}.keycap:hover:not(:disabled):not(.disabled),.keycap-btn:hover:not(:disabled):not(.disabled){transform:translateY(-1px)}.btn:hover:not(:disabled):not(.disabled){box-shadow:0 5px 0 var(--keycap-side), 0 8px 16px #1a1a1a1a;transform:translateY(-1px)}.keycap:active:not(:disabled):not(.disabled),.keycap-btn:active:not(:disabled):not(.disabled){transform:translateY(2px)}.btn:active:not(:disabled):not(.disabled){box-shadow:var(--button-shadow-pressed);transform:translateY(3px)}.keycap:focus-visible,.keycap-btn:focus-visible,.btn:focus-visible{outline:2px solid var(--accent-color);outline-offset:3px}.keycap:disabled,.keycap-btn:disabled,.btn:disabled,.keycap.disabled,.btn.disabled{opacity:.42;cursor:not-allowed;filter:grayscale(25%)}.keycap-primary,.btn-primary{color:var(--text-primary);font-weight:600}.btn-primary{background:var(--text-primary);color:var(--bg-primary);border-color:var(--text-primary);box-shadow:0 4px 0 color-mix(in srgb, var(--text-primary) 75%, #000), 0 6px 14px #1a1a1a29}.btn-primary:hover:not(:disabled){background:var(--text-primary);color:var(--bg-primary);box-shadow:0 5px 0 color-mix(in srgb, var(--text-primary) 75%, #000), 0 8px 16px #1a1a1a2e}.btn-primary:active:not(:disabled){box-shadow:0 1px 0 color-mix(in srgb, var(--text-primary) 75%, #000)}.keycap-ghost{box-shadow:none;color:var(--text-secondary);background-color:#0000;border:none;border-radius:0;height:auto;min-height:auto;padding:8px 4px;background-image:none!important}.keycap-ghost:hover:not(:disabled){color:var(--text-primary);background-color:#0000;transform:none}.keycap-ghost:active:not(:disabled){transform:none}header{display:none}.logo{align-items:center;gap:12px;display:flex}.logo h1{font-family:var(--font-ui);letter-spacing:-.02em;font-size:1.35rem;font-weight:600}.nav-actions{align-items:center;gap:12px;display:flex}.user-badge{border:1.5px solid var(--border-color);background-color:var(--bg-secondary);border-radius:var(--radius-md);align-items:center;gap:10px;padding:8px 12px;display:flex}.rank-badge{font-family:var(--font-ui);color:var(--text-muted);font-size:.75rem}.view{display:none}.view.active{flex-direction:column;flex:1;gap:16px;display:flex}#viewMenu.active{flex-direction:column;flex:1;justify-content:center;align-items:center;width:100%;display:flex}@media (width>=860px){#viewMenu.active{align-items:flex-start;padding-left:6vw}.menu-shell{margin:0!important}}.menu-shell{background:var(--ui-bg,#ffffff9e);-webkit-backdrop-filter:blur(24px);border:1.5px solid #ffffff80;border-radius:clamp(18px,3.5vh,28px);flex-direction:column;justify-content:center;align-items:center;gap:clamp(12px,2.5dvh,20px);width:100%;max-width:min(440px,100%);margin:0 auto;padding:clamp(18px,4dvh,36px) clamp(16px,5vw,32px);display:flex;box-shadow:0 16px 40px #00000017,0 2px 6px #0000000a}[data-theme=dark] .menu-shell{background:#1e1c1ab8;border-color:#ffffff1a;box-shadow:0 16px 40px #00000059}.menu-logo{aspect-ratio:233/45;-webkit-user-select:none;user-select:none;pointer-events:none;width:min(280px,72vw);height:auto;margin-bottom:8px;display:block;position:relative}.menu-logo-keycap,.menu-logo-wordmark{-o-object-fit:contain;object-fit:contain;width:100%;height:100%;display:block;position:absolute;inset:0}[data-theme=dark] .menu-logo-wordmark{filter:invert()}.menu-user-row{justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.menu-user-btn{appearance:none;color:var(--text-secondary);font-family:var(--font-ui);cursor:pointer;min-height:var(--touch-min);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:none;max-width:60%;padding:8px 4px;font-size:1rem;font-weight:500;overflow:hidden}.menu-user-btn:hover{color:var(--text-primary)}.menu-login-btn{--keycap-height:44px;min-width:100px;font-size:.95rem;font-weight:500}.menu-primary-cta{--keycap-height:clamp(44px, 6.2dvh, 56px);letter-spacing:.01em;width:100%;font-size:clamp(.95rem,2.3dvh,1.15rem);font-weight:600}.menu-secondary-row{grid-template-columns:repeat(3,1fr);gap:clamp(6px,1.5vw,10px);width:100%;display:grid}.menu-secondary-row .keycap{--keycap-height:clamp(40px, 5.5dvh, 52px);width:100%;font-size:clamp(.75rem,1.8dvh,.88rem);font-weight:500}.hero-card{background-color:var(--bg-surface);border:1.5px solid var(--border-color);border-radius:var(--radius-lg);box-shadow:var(--card-shadow);text-align:center;flex-direction:column;align-items:center;gap:16px;padding:28px 24px;display:flex}.hero-card h2,.hero-card h3{font-family:var(--font-ui);font-size:1.35rem;font-weight:600;line-height:1.3}.hero-card p{color:var(--text-secondary);max-width:560px;font-size:.95rem}.menu-actions{flex-wrap:wrap;justify-content:center;gap:12px;width:100%;display:flex}.menu-actions .btn{padding:14px 22px}.hud-slim,.hud-bar{box-shadow:none;background:0 0;border:none;justify-content:space-between;align-items:center;gap:10px;padding:8px 4px;display:flex}.hud-slim-stats{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.hud-item{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.hud-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.7rem;font-weight:500}.hud-value{font-family:var(--font-ui);font-size:1.05rem;font-weight:600}.hud-quit{--keycap-height:40px;min-width:72px;font-size:.85rem;font-weight:500}.race-row{flex-direction:row;align-items:stretch;gap:12px;width:100%;min-height:0;display:flex}.terminal{border:1.5px solid var(--border-strong);border-radius:var(--radius-md);min-width:0;box-shadow:var(--card-shadow);background:#c8c8c8;flex-direction:column;flex:auto;display:flex;overflow:hidden}[data-theme=dark] .terminal{background:#3a3834}.terminal-titlebar{background:#bdbdbd;border-bottom:1px solid #00000014;align-items:center;gap:12px;min-height:36px;padding:8px 10px;display:flex}[data-theme=dark] .terminal-titlebar{background:#2f2d29;border-bottom-color:#ffffff0f}.traffic-lights{flex-shrink:0;align-items:center;gap:7px;display:flex}.traffic-lights span{background:#8a8a8a;border-radius:50%;width:12px;height:12px;transition:background-color .15s,box-shadow .15s,transform .15s;box-shadow:inset 0 -1px 2px #00000040}.traffic-lights span[data-count="3"].is-active{background:#ff5f57;box-shadow:0 0 8px #ff5f57b3}.traffic-lights span[data-count="2"].is-active{background:#febc2e;box-shadow:0 0 8px #febc2eb3}.traffic-lights span[data-count="1"].is-active{background:#28c840;box-shadow:0 0 8px #28c840b3}.traffic-lights.is-go span{background:#28c840;transform:scale(1.08);box-shadow:0 0 10px #28c840d9}.terminal-charge{background:#0000002e;border:1px solid #00000014;border-radius:999px;flex:auto;height:14px;position:relative;overflow:hidden}.terminal-charge .charge-fill,#chargeFill{background:var(--charge-fill);border-radius:inherit;width:50%;height:100%;transition:width .15s ease-out}.terminal-body,.canvas-container{height:clamp(200px,36vh,340px);min-height:200px;box-shadow:none;background:#d4d4d4;border:none;flex:auto;position:relative;overflow:hidden}[data-theme=dark] .terminal-body,[data-theme=dark] .canvas-container{background:#2a2825}.terminal-body canvas,.canvas-container canvas,canvas#gameCanvas{width:100%;height:100%;display:block}.lottie-runner{pointer-events:none;z-index:10;width:135px;height:135px;transition:transform 50ms linear;position:absolute;top:0;left:0}.lottie-runner svg{width:100%;height:100%}.spell-deck-container{touch-action:manipulation;flex-direction:column;flex:none;justify-content:center;gap:8px;width:84px;padding-bottom:0;display:flex}.spell-card{aspect-ratio:12/7;box-sizing:border-box;-webkit-user-select:none;user-select:none;touch-action:manipulation;cursor:pointer;background-color:#1f2733;background-position:50%;background-repeat:no-repeat;background-size:cover;border:1px solid #0000004d;border-radius:clamp(8px,2.4vw,16px);flex:none;width:100%;min-width:0;max-width:none;height:auto;min-height:0;padding:0;transition:transform 80ms,filter 80ms;display:block;position:relative;overflow:hidden;box-shadow:0 2px 8px #00000040}.spell-card[data-spell=dash],.kb-spell[data-spell=dash]{background-image:url(/cards/dash.png)}.spell-card[data-spell=shield],.kb-spell[data-spell=shield]{background-image:url(/cards/shield.png)}.spell-card[data-spell=reverse],.kb-spell[data-spell=reverse]{background-image:url(/cards/reverse.png)}.spell-card[data-spell=zap],.kb-spell[data-spell=zap]{background-image:url(/cards/zap.png)}.spell-card[data-spell=freeze],.kb-spell[data-spell=freeze]{background-image:url(/cards/freeze.png)}.spell-card[data-spell=silence],.kb-spell[data-spell=silence]{background-image:url(/cards/silence.png)}.spell-card[data-spell=swap],.kb-spell[data-spell=swap]{background-image:url(/cards/swap.png)}.spell-card[data-spell=ensnare],.kb-spell[data-spell=ensnare]{background-image:url(/cards/ensnare.png)}.spell-card[data-spell=smokescreen],.kb-spell[data-spell=smokescreen]{background-image:url(/cards/smokescreen.png)}.spell-card[data-spell=nitro],.kb-spell[data-spell=nitro]{background-image:url(/cards/nitro.png)}.spell-card[data-spell=stampede],.kb-spell[data-spell=stampede]{background-image:url(/cards/stampede.png)}.spell-card[data-spell=stun],.kb-spell[data-spell=stun]{background-image:url(/cards/stun.png)}.spell-card[data-spell=reflect],.kb-spell[data-spell=reflect]{background-image:url(/cards/reflect.png)}.spell-card[data-spell=boulder],.kb-spell[data-spell=boulder]{background-image:url(/cards/boulder.png)}.spell-card[data-spell=teleport],.kb-spell[data-spell=teleport]{background-image:url(/cards/teleport.png)}.spell-card[data-spell=glitch],.kb-spell[data-spell=glitch]{background-image:url(/cards/glitch.png)}.spell-card[data-spell=instabattery],.kb-spell[data-spell=instabattery]{background-image:url(/cards/instabattery.png)}.spell-card[data-spell=hack],.kb-spell[data-spell=hack]{background-image:url(/cards/hack.png)}.spell-card.disabled{opacity:.85;filter:grayscale(40%)brightness(.65);cursor:not-allowed}.spell-card:active{filter:brightness(.9);transform:scale(.96)}.spell-key-badge,.spell-icon,.spell-stock,.spell-cooldown-overlay{display:none!important}.spell-cost-badge{color:#fff;width:clamp(22px,6.5vw,36px);height:clamp(22px,6.5vw,36px);font-family:var(--font-card);text-shadow:0 1px 2px #0009;z-index:3;pointer-events:none;background:radial-gradient(circle at 35% 30%,#4a8ae6,#1b4994 65%,#0e2957 100%);border:none;border-radius:50%;justify-content:center;align-items:center;margin:0;padding:0;font-size:clamp(14px,4.2vw,22px);font-weight:700;line-height:1;display:flex;position:absolute;top:clamp(4px,1.8vw,10px);right:clamp(6px,2.2vw,12px);box-shadow:0 2px 4px #0006,inset 0 1px 1px #fff9}.spell-cost-badge:empty{display:none}.spell-name-pill{z-index:3;box-sizing:border-box;pointer-events:none;background:#fff;border-radius:9999px;justify-content:center;align-items:center;max-width:85%;padding:clamp(2px,.7vw,5px) clamp(10px,3.2vw,20px);display:flex;position:absolute;bottom:clamp(6px,2vw,12px);left:50%;transform:translate(-50%);box-shadow:0 2px 5px #00000040}.spell-name{color:#383838;font-family:var(--font-card);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;text-align:center;margin:0;padding:0;font-size:clamp(13px,3.8vw,22px);font-weight:700;line-height:1;display:inline-block;overflow:hidden}.spell-card.has-long-name .spell-name{letter-spacing:.01em;font-size:clamp(10px,2.8vw,16px)}.typing-container{box-shadow:none;touch-action:manipulation;background-color:#0000;border:none;flex-direction:column;align-items:center;gap:10px;padding:8px 4px 4px;display:flex;position:relative}.word-display{min-height:48px;font-size:clamp(2rem,7.5vw,2.85rem);font-family:var(--font-ui);flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;font-weight:700;display:flex}.word-char{font-family:var(--font-ui);color:var(--text-muted);font-weight:700}.word-char.correct{color:var(--correct-char);text-decoration:none}.word-char.incorrect{color:var(--incorrect-char);background-color:color-mix(in srgb, var(--incorrect-char) 15%, transparent);border-radius:4px}.word-char.current{border-bottom:3px solid var(--accent-color);animation:1s infinite blink}@keyframes blink{0%,to{border-color:var(--accent-color)}50%{border-color:#0000}}.upcoming-queue{color:var(--text-muted);justify-content:center;gap:16px;font-size:clamp(1.15rem,3.8vw,1.45rem);font-weight:500;display:flex;overflow-x:hidden}.streak-bar-container{flex-direction:column;gap:4px;width:100%;max-width:280px;margin-bottom:6px;display:flex}.streak-bar-header{color:var(--text-secondary);justify-content:space-between;align-items:center;font-size:.8rem;font-weight:600;display:flex}.streak-label-group{letter-spacing:.05em;align-items:center;gap:6px;display:flex}.streak-title{color:var(--text-muted);text-transform:uppercase;font-size:.75rem}.streak-count{color:var(--accent-color,#a855f7);font-size:.85rem;font-weight:700}.streak-mult-badge{color:var(--accent-color,#a855f7);background:#a855f71f;border:1px solid #a855f740;border-radius:999px;padding:1px 7px;font-size:.75rem;font-weight:700;transition:all .2s}.streak-mult-badge.has-mult{color:#eab308;background:#eab30833;border-color:#eab30880;box-shadow:0 0 8px #eab3084d}.streak-bar{background-color:var(--bg-secondary);border:none;border-radius:999px;width:100%;height:8px;position:relative;overflow:hidden}.streak-fill{border-radius:inherit;background:linear-gradient(90deg,#a855f7 0%,#ec4899 50%,#eab308 100%);width:0%;height:100%;transition:width .2s cubic-bezier(.4,0,.2,1)}.streak-ticks{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.streak-tick{z-index:2;background-color:#ffffff59;width:2px;height:100%;transition:background-color .2s,box-shadow .2s;position:absolute;top:0;transform:translate(-50%)}.streak-tick.is-reached{background-color:#fff;box-shadow:0 0 4px #fff}.elixir-charge-container{display:none}.charge-gauge-header{justify-content:space-between;align-items:center;font-size:.8rem;display:flex}.charge-label{color:var(--text-muted);letter-spacing:.04em}.charge-numeric{color:#a855f7;font-weight:600}.charge-bar{background-color:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:999px;height:14px;position:relative;overflow:hidden}.charge-fill{background:var(--charge-fill);height:100%;transition:width .15s ease-out}.charge-pips{display:none}.modal-overlay{z-index:1000;padding:max(16px, env(safe-area-inset-top,0px)) max(16px, env(safe-area-inset-right,0px)) max(16px, env(safe-area-inset-bottom,0px)) max(16px, env(safe-area-inset-left,0px));-webkit-backdrop-filter:blur(10px);touch-action:manipulation;background:#1a1a1a6b;justify-content:center;align-items:center;display:none;position:fixed;inset:0}.modal-card{background:var(--bg-surface);color:var(--text-primary);border:1.5px solid var(--border-color);border-radius:var(--radius-lg);box-shadow:var(--modal-shadow);width:min(360px,100%);max-height:min(88vh,640px);font-family:var(--font-ui);flex-direction:column;gap:14px;padding:24px 20px;display:flex;overflow-y:auto}.modal-card h3{font-family:var(--font-ui);text-align:center;letter-spacing:.01em;font-size:1.2rem;font-weight:600}.modal-card p{color:var(--text-secondary);text-align:center;font-size:.95rem;line-height:1.45}.modal-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.modal-actions .keycap,.modal-actions .btn{flex:auto;min-width:120px}.auth-input{border-radius:var(--radius-sm);border:1.5px solid var(--border-color);background:var(--bg-secondary);width:100%;color:var(--text-primary);font-family:var(--font-ui);min-height:var(--touch-min);padding:12px 14px;font-size:1rem}.auth-input::placeholder{color:var(--text-muted)}.auth-input:focus{outline:2px solid color-mix(in srgb, var(--accent-color) 70%, transparent);outline-offset:1px;border-color:var(--accent-color)}.settings-row{justify-content:space-between;align-items:center;gap:12px;padding:4px 0;display:flex}.settings-label{font-family:var(--font-ui);color:var(--brand-ink);font-size:15px;font-weight:600}.settings-toggle{appearance:none;touch-action:manipulation;border:1px solid var(--brand-ink);cursor:pointer;background:#fff;border-radius:0;flex-shrink:0;width:48px;height:26px;transition:background-color .15s,border-color .15s;position:relative}.settings-toggle:after{content:"";border:1px solid var(--brand-ink);background:#fff;border-radius:0;width:20px;height:20px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:1px 1px #271e1933}.settings-toggle[aria-checked=true],.settings-toggle.is-on{background:var(--lane-5);border-color:var(--brand-ink)}.settings-toggle[aria-checked=true]:after,.settings-toggle.is-on:after{background:#fff;transform:translate(22px)}.theme-segment{border:1px solid var(--brand-ink);background:#fff;border-radius:0;grid-template-columns:repeat(3,1fr);gap:0;width:100%;padding:0;display:grid;overflow:hidden}.theme-segment button{appearance:none;color:#271e19a6;font-family:var(--font-ui);cursor:pointer;background:0 0;border:none;border-right:1px solid #271e1933;border-radius:0;min-height:38px;padding:9px 4px;font-size:14px;font-weight:500;transition:background-color .12s,color .12s}.theme-segment button:last-child{border-right:none}@media (hover:hover){.theme-segment button:not(.is-active):not([aria-pressed=true]):hover{color:var(--brand-ink);background:#271e190f}}.theme-segment button.is-active,.theme-segment button[aria-pressed=true]{background:var(--brand-ink);color:#fff;box-shadow:none;font-weight:600}.results-podium{flex-direction:column;gap:8px;width:100%;display:flex}.podium-row{background:var(--bg-secondary);border-radius:var(--radius-sm);border:1px solid var(--border-color);justify-content:space-between;align-items:center;padding:10px 12px;font-size:.95rem;display:flex}.podium-row.user{border-color:var(--accent-color);background:color-mix(in srgb, var(--accent-color) 14%, var(--bg-surface));font-weight:600}#viewGame.active{padding-bottom:max(8px, env(safe-area-inset-bottom,0px));gap:12px}#viewMenu.active{justify-content:center}.ads-queue-slot{justify-content:center;align-items:center;min-height:50px;margin:4px 0;display:flex}.ads-queue-stub{border:1.5px dashed var(--border-color);border-radius:var(--radius-sm);background:var(--bg-secondary);width:100%;max-width:320px;min-height:50px;color:var(--text-muted);text-align:center;padding:12px;font-size:.8rem}.ads-interstitial-stub{z-index:9999;pointer-events:none;background:#000000b8;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.ads-interstitial-stub-card{background:var(--bg-surface);color:var(--text-primary);border:1.5px solid var(--border-color);border-radius:var(--radius-lg);box-shadow:var(--modal-shadow);font-family:var(--font-ui);text-align:center;padding:28px 36px;font-size:1rem}@media (width<=520px){#app{gap:12px;padding:12px}.menu-secondary-row{gap:8px}.menu-secondary-row .keycap{--keycap-height:clamp(38px, 5.2dvh, 46px);font-size:clamp(.72rem,1.6dvh,.8rem)}.race-row{flex-direction:column}.spell-deck-container{flex-direction:row;gap:8px;width:100%}.spell-card{flex:1 1 0}.terminal-body,.canvas-container{height:clamp(180px,32vh,260px);min-height:180px}.word-display{font-size:1.45rem}.modal-card{width:100%;padding:20px 16px}}@media (width>=521px){.spell-deck-container{width:130px}}.visually-hidden,.is-hidden-chrome{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.modal-card-wide{width:min(520px,94vw);max-height:min(90vh,720px)}.profile-header-banner{border-bottom:1px solid var(--border-color);align-items:center;gap:14px;padding-bottom:12px;display:flex;position:relative}.profile-avatar-badge,.public-avatar{background:var(--bg-tertiary);border:2px solid var(--accent-color);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:56px;height:56px;font-size:1.8rem;display:flex}.profile-header-meta{flex-direction:column;flex:1;gap:4px;display:flex}.profile-user-row{align-items:center;gap:8px;display:flex}.profile-user-row h3{text-align:left;margin:0;font-size:1.25rem}.badge-guest{color:#fff;letter-spacing:.05em;background:#f59e0b;border-radius:4px;padding:2px 6px;font-size:.7rem;font-weight:700}.profile-rank-info{color:var(--text-secondary);align-items:center;gap:6px;font-size:.9rem;font-weight:600;display:flex}.btn-close-icon{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:4px;font-size:1.5rem;line-height:1;position:absolute;top:0;right:0}.profile-tabs{background:var(--bg-secondary);border-radius:var(--radius-md);border:1px solid var(--border-color);gap:4px;padding:4px;display:flex}.profile-tab{color:var(--text-muted);font-family:var(--font-ui);border-radius:var(--radius-sm);cursor:pointer;text-align:center;background:0 0;border:none;flex:1;padding:8px 4px;font-size:.85rem;font-weight:600;transition:all .15s}.profile-tab-content{flex-direction:column;gap:14px;display:flex}.rp-progress-container{flex-direction:column;gap:6px;display:flex}.rp-progress-labels{color:var(--text-secondary);justify-content:space-between;font-size:.8rem;font-weight:600;display:flex}.rp-progress-bar{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:999px;width:100%;height:8px;overflow:hidden}.rp-progress-fill{background:linear-gradient(90deg, var(--accent-color), #8b5cf6);border-radius:inherit;height:100%;transition:width .3s}.stats-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.stats-grid-compact{grid-template-columns:repeat(2,1fr)}.stat-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-sm);flex-direction:column;gap:4px;padding:10px 12px;display:flex}.stat-card-label{color:var(--text-muted);font-size:.78rem;font-weight:500}.stat-card-value{color:var(--text-primary);font-size:1.15rem;font-weight:700}.match-history-container{flex-direction:column;gap:8px;max-height:320px;display:flex;overflow-y:auto}.history-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-sm);justify-content:space-between;align-items:center;padding:10px 12px;font-size:.85rem;display:flex}.history-card-left{align-items:center;gap:10px;display:flex}.history-place{text-align:center;width:32px;font-size:1.2rem;font-weight:700}.history-title{color:var(--text-primary);font-weight:600}.history-date{color:var(--text-muted);font-size:.72rem}.history-card-stats{color:var(--text-secondary);gap:12px;font-size:.8rem;display:flex}.history-rp{border-radius:4px;padding:2px 8px;font-size:.9rem;font-weight:700}.history-rp.rp-plus{color:#10b981;background:#10b9811f}.history-rp.rp-minus{color:#ef4444;background:#ef44441f}.history-rp.rp-neutral{color:var(--text-muted,#71717a);background:#71717a1f}.history-empty{text-align:center;color:var(--text-muted);padding:20px;font-style:italic}.skins-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;display:grid}.skin-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-sm);text-align:center;flex-direction:column;align-items:center;gap:6px;padding:12px 10px;transition:border-color .15s;display:flex}.skin-card.is-equipped{border-color:var(--accent-color);background:color-mix(in srgb, var(--accent-color) 12%, var(--bg-surface))}.skin-card.is-locked{opacity:.6}.skin-avatar{font-size:2rem}.skin-name{font-size:.85rem;font-weight:600}.skin-req{color:var(--text-muted);font-size:.72rem}.keycap-sm{min-height:32px;padding:4px 10px;font-size:.75rem}.account-section{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-sm);flex-direction:column;gap:8px;padding:12px;display:flex}.account-section h4{margin:0;font-size:.95rem;font-weight:600}.section-desc{color:var(--text-muted);text-align:left;margin:0;font-size:.8rem}.account-input-group,.account-form-grid{gap:8px;display:flex}.account-form-grid{flex-direction:column}.account-action-row{gap:10px;margin-top:4px;display:flex}.btn-danger:hover{color:#fff;background:#ef4444}.form-feedback{min-height:1.2em;font-size:.8rem}.form-feedback.is-success{color:#10b981}.form-feedback.is-error{color:#ef4444}.public-profile-header{border-bottom:1px solid var(--border-color);flex-direction:column;align-items:center;gap:6px;padding-bottom:12px;display:flex}.kb{z-index:40;padding:0 4px calc(clamp(4px, .8dvh, 8px) + env(safe-area-inset-bottom,0px));--kb-gap:5px;background:var(--bg-secondary);border-top:1px solid var(--keycap-edge);touch-action:none;-webkit-user-select:none;user-select:none;flex-direction:column;gap:clamp(3px,.7dvh,6px);display:flex;position:fixed;bottom:0;left:0;right:0}.kb[hidden]{display:none}.kb.is-sliding-in{animation:.38s cubic-bezier(.16,1,.3,1) forwards kbSlideUp}@keyframes kbSlideUp{0%{opacity:.6;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.kb-row{gap:var(--kb-gap);justify-content:center;display:flex}.kb-bottom-spacer{pointer-events:none;flex-shrink:0;height:clamp(12px,2.6dvh,22px)}.kb-letters{padding-inline:calc(var(--kb-short,0) * (100% + var(--kb-gap)) / (2 * var(--kb-cols)))}.kb-key{min-width:0;height:calc(clamp(38px, 6.6dvh, 52px) * var(--kb-scale,1));color:#000;font-family:var(--font-ui);font-size:calc(clamp(17px, 5.2vw, 24px) * var(--kb-scale,1));text-transform:none;cursor:pointer;border:1px solid #00000014;border-radius:clamp(14px,3.2vw,24px) clamp(14px,3.2vw,24px) clamp(28px,6.4vw,48px) clamp(28px,6.4vw,48px);flex:1 1 0;justify-content:center;align-items:center;font-weight:700;line-height:1;transition:transform 60ms,box-shadow 60ms;display:flex;box-shadow:0 clamp(2px,.5vh,4px) clamp(4px,1vh,7.5px) #6d6d6d40}.kb-key:not(.kb-spell){background:linear-gradient(#fff 35%,#e9e9e9 72%,#fff 100%)}.kb-key-mod{font-size:calc(clamp(16px, 4.8vw, 22px) * var(--kb-scale,1));color:#00000073}.kb-key.is-armed{color:#fff;background:#111;border-color:#000;box-shadow:0 2px 4px #0006}.kb-key.is-down{background:linear-gradient(#e2e2e2 0%,#d8d8d8 100%);transform:translateY(2px);box-shadow:0 1px 3px #6d6d6d4d}@media (hover:hover) and (pointer:fine){.kb-key:not(.kb-spell):hover{background:linear-gradient(#fff 20%,#e3e3e3 80%,#fff 100%)}}.kb-spells{gap:var(--kb-gap);margin-bottom:4px;padding-inline:4px}.kb-spell{aspect-ratio:12/7;cursor:pointer;background-color:#1f2733;background-position:50%;background-repeat:no-repeat;background-size:cover;border:1px solid #00000040;border-radius:clamp(7px,2vw,12px);flex:1 1 0;height:auto;min-height:0;padding:0;transition:transform 80ms,filter 80ms;display:block;position:relative;overflow:hidden;box-shadow:0 2px 5px #0003}.kb-spell-keybind{display:none}.kb-spell-cost{color:#fff;width:clamp(21px,5.6vw,28px);min-width:21px;height:clamp(21px,5.6vw,28px);min-height:21px;font-family:var(--font-fantasy);font-size:calc(clamp(14px, 4vw, 19px) * var(--kb-scale,1));text-shadow:0 1px 2px #0009;z-index:3;pointer-events:none;background:linear-gradient(#5555fc 0%,#0e0e94 100%);border:1.5px solid #5454f5;border-radius:50%;justify-content:center;align-items:center;font-weight:400;line-height:1;display:flex;position:absolute;top:clamp(2px,.7vw,5px);left:clamp(2px,.9vw,6px);right:auto;box-shadow:0 2px 5px #00000073,inset 0 1px 1px #ffffff73}.kb-spell-cost:empty{display:none}.kb-spell-pill{z-index:3;box-sizing:border-box;pointer-events:none;background:#fff;border-radius:9999px;justify-content:center;align-items:center;max-width:94%;padding:clamp(1px,.35vw,3px) clamp(5px,1.5vw,10px);display:flex;position:absolute;bottom:clamp(2px,.7vw,5px);left:50%;transform:translate(-50%);box-shadow:0 1px 4px #0000004d}.kb-spell-label{color:#383838;font-family:var(--font-card);font-size:calc(clamp(13px, 3.8vw, 17px) * var(--kb-scale,1));letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;text-align:center;margin:0;padding:0;font-weight:700;line-height:1;display:inline-block;overflow:hidden}.kb-spell.has-long-name .kb-spell-label{font-size:calc(clamp(11px, 3.1vw, 14px) * var(--kb-scale,1));letter-spacing:0}.kb-spell-cd-veil{z-index:4;pointer-events:none;background:#0a0e18c7;justify-content:center;align-items:center;height:0%;transition:height 80ms linear;display:flex;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.kb-spell-cd-time{color:#f8fafc;font-family:var(--font-ui);font-size:calc(clamp(12px, 3.5vw, 16px) * var(--kb-scale,1));font-variant-numeric:tabular-nums;text-shadow:0 1px 4px #000000e6;font-weight:700;line-height:1}.kb-spell.is-off{filter:grayscale(40%)brightness(.65);opacity:.85;cursor:not-allowed}.kb-spell.is-frozen-locked{cursor:not-allowed;filter:saturate(.6)brightness(.6)hue-rotate(185deg)!important;border-color:#38bdf8b3!important;box-shadow:inset 0 0 10px #38bdf866!important}.kb-spell.is-rooted-locked{cursor:not-allowed;filter:saturate(.6)brightness(.65)hue-rotate(80deg)!important;border-color:#22c55eb3!important;box-shadow:inset 0 0 10px #22c55e66!important}.kb-spell.is-cooling{filter:saturate(.55)brightness(.8)}.kb-spell.is-down{filter:brightness(.9);transform:scale(.96)}.kb-mp{box-sizing:border-box;justify-content:space-between;align-items:center;gap:clamp(6px,2vw,12px);width:100%;height:auto;margin-bottom:clamp(2px,.4dvh,4px);padding:0 clamp(4px,1.2vw,8px)}.kb-stamina-gauge,.kb-mp-gauge{box-sizing:border-box;pointer-events:none;background:#fff;border-radius:9999px;flex:1 1 0;align-items:center;gap:clamp(6px,1.8vw,12px);width:auto;min-width:0;padding:clamp(4px,.7dvh,6px) clamp(9px,2.2vw,14px);display:flex;box-shadow:0 2px 8px #0000002e}.kb-stamina-label,.kb-mp-label{font-family:var(--font-ui);white-space:nowrap;color:#111;font-variant-numeric:tabular-nums;font-size:clamp(11px,2.8vw,14px);font-weight:700;line-height:1}.kb-stamina-track,.kb-mp-track{background:#e4e7eb;border:none;border-radius:999px;flex:auto;min-width:0;height:clamp(7px,1.3dvh,10px);position:relative;overflow:hidden}.kb-stamina-fill{background:linear-gradient(90deg,#22c55e 0%,#15803d 100%);border-radius:999px;width:100%;height:100%;transition:width 90ms linear,background .15s}.kb-stamina-gauge.is-low .kb-stamina-fill{background:linear-gradient(90deg,#f59e0b 0%,#b45309 100%)}.kb-stamina-gauge.is-resting .kb-stamina-fill{background:linear-gradient(90deg,#fb923c 0%,#c2410c 100%)}.kb-stamina-gauge.is-resting .kb-stamina-label{color:#c2410c;animation:.65s ease-in-out infinite alternate stamRestPulse}@keyframes stamRestPulse{0%{opacity:.65}to{opacity:1}}.kb-mp-fill{background:linear-gradient(90deg,#4086e2 0%,#234a7c 100%);border-radius:999px;width:0%;height:100%;transition:width 90ms linear}.kb-mp-gauge.is-full .kb-mp-label{color:#1b4994}.kb-layout-toggle,.kb-key.kb-key-split-dup{display:none}.kb-layout-toggle-icon{justify-content:center;align-items:center;display:inline-flex}@media (width>=600px){.kb:not([data-kb-mode=system]) .kb-layout-toggle{z-index:12;color:#111;font-family:var(--font-ui);cursor:pointer;pointer-events:auto;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #0000001f;border-radius:9999px;flex:none;justify-content:center;align-items:center;gap:clamp(4px,.7vw,6px);padding:clamp(4px,.7dvh,6px) clamp(10px,1.8vw,14px);font-size:clamp(11px,1.8vw,13px);font-weight:700;line-height:1;display:inline-flex;position:absolute;top:clamp(2px,.5dvh,6px);right:clamp(8px,1.8vw,16px);box-shadow:0 2px 8px #00000047}.kb:not([data-kb-mode=system]) .kb-layout-toggle[aria-pressed=true]{color:#fff;background:#111;border-color:#000}.kb:not([data-kb-mode=system]) .kb-spell{max-height:clamp(56px,8.5dvh,78px)}:root[data-kb-layout=split] .kb:not([data-kb-mode=system]),.kb.is-split:not([data-kb-mode=system]){--kb-split-gap:clamp(56px, 20vw, calc(100vw - 480px))}:root[data-kb-layout=split] .kb:not([data-kb-mode=system]) .kb-letters,.kb.is-split:not([data-kb-mode=system]) .kb-letters{--kb-short:0;padding-inline:0}:root[data-kb-layout=split] .kb:not([data-kb-mode=system]) .kb-key.kb-key-split-dup,.kb.is-split:not([data-kb-mode=system]) .kb-key.kb-key-split-dup{display:flex}:root[data-kb-layout=split] .kb:not([data-kb-mode=system]) .kb-letters .kb-key:nth-child(5),.kb.is-split:not([data-kb-mode=system]) .kb-letters .kb-key:nth-child(5){margin-right:var(--kb-split-gap)}}.hud-item[hidden]{display:none}.hud-shields{align-items:center;gap:4px;min-height:1em;display:flex}.hud-shield-pip{background:var(--accent-color);border:1px solid var(--keycap-edge);border-radius:2px 2px 5px 5px;flex:none;width:10px;height:12px}#viewLoading{z-index:70}.brand-screen{background:var(--brand-paper);color:var(--brand-ink);font-family:var(--font-ui);touch-action:manipulation;position:fixed;inset:0;overflow:hidden}.brand-grid{pointer-events:none;background-image:linear-gradient(90deg,#271e1912 1px,#0000 1px),linear-gradient(#271e1912 1px,#0000 1px);background-size:var(--grid-col,25%) var(--grid-row,132px);position:absolute;inset:0}.brand-grid:after{content:"";border-left:1px solid #271e1921;border-right:1px solid #271e1921;position:absolute;inset:0 8.5%}.brand-loadbar{background:var(--brand-ink);height:14px;position:absolute;top:0;left:0;right:0}.brand-loadbar-fill{background:var(--lane-2);transform-origin:0;width:0%;height:100%}.brand-mark{z-index:1;flex-direction:column;align-items:flex-start;gap:clamp(6px,1.2dvh,10px);display:flex;position:absolute;left:clamp(16px,8.5%,60px);right:clamp(16px,8.5%,60px)}.brand-kicker{width:min(312px,78%);height:auto;max-height:clamp(14px,2.2dvh,18px);display:block}.brand-wordmark{width:100%;max-width:min(340px,80vw);height:auto;display:block}.lanes-v{justify-content:center;height:46%;display:flex;position:absolute;bottom:0;left:clamp(16px,8.5%,60px);right:clamp(16px,8.5%,60px)}.lanes-v .lane{width:clamp(24px,4vw,42px)}.lanes-h{flex-direction:column;display:flex;position:absolute;bottom:0;left:0;right:0}.lanes-h .lane{height:var(--lane-band,44px)}.lane:first-child{background:var(--lane-1)}.lane:nth-child(2){background:var(--lane-2)}.lane:nth-child(3){background:var(--lane-3)}.lane:nth-child(4){background:var(--lane-4)}.lane:nth-child(5){background:var(--lane-5)}#viewMenu .brand-statbar,#viewMenu .brand-mark,#viewMenu .brand-menu-body,#menuLanes .lane{opacity:0}.brand-statbar{left:clamp(16px,8.5%,60px);right:clamp(16px,8.5%,60px);top:max(clamp(14px, 2.5dvh, 32px), env(safe-area-inset-top,0px));color:#271e19b8;justify-content:space-between;font-size:clamp(11px,1.8dvh,13px);display:flex;position:absolute}.brand-statbar span+span{margin-left:clamp(8px,2vw,14px)}.brand-menu-body{left:clamp(16px,8.5%,60px);right:clamp(16px,8.5%,60px);bottom:calc(5 * var(--lane-band) + clamp(10px, 2dvh, 22px));gap:var(--menu-gap);flex-direction:column;display:flex;position:absolute}.brand-user-row{justify-content:space-between;align-items:center;margin-bottom:clamp(2px,.8dvh,6px);display:flex}.brand-user-name{font:inherit;color:var(--brand-ink);cursor:pointer;background:0 0;border:0;padding:0;font-size:clamp(13px,1.9dvh,15px)}.brand-login{background:var(--lane-5);color:#fff;font:inherit;cursor:pointer;border:0;padding:clamp(5px,1.1dvh,8px) clamp(10px,2.5vw,14px) clamp(3px,.6dvh,5px);font-size:clamp(12px,1.8dvh,14px);font-weight:500;line-height:1}.brand-btn{width:100%;height:var(--btn-height);min-height:var(--btn-height);text-align:left;border:1.5px solid var(--brand-ink);color:var(--brand-ink);font:inherit;font-family:var(--font-ui);font-size:var(--btn-font-size);padding:clamp(4px, .7vh, 7px) var(--btn-padding-x) 0;cursor:pointer;clip-path:none;box-sizing:border-box;white-space:nowrap;background:0 0;border-radius:0;justify-content:flex-start;align-items:center;font-weight:600;line-height:1;display:flex;position:relative}.brand-btn:after{content:"";background:var(--brand-ink);clip-path:polygon(100% 0,100% 100%,0 0);width:11px;height:11px;position:absolute;top:3px;right:3px}.brand-btn:disabled{opacity:.38;cursor:default}@media (hover:hover){.brand-btn:not(:disabled):hover{background:#271e190f}}.brand-btn[style*="text-align: center"],.brand-btn[style*=text-align\:center]{justify-content:center}.brand-btn-row{gap:clamp(8px,2vw,18px);display:flex}.brand-btn-row .brand-btn{flex:1;padding:0 clamp(6px,2vw,20px);font-size:clamp(14px,1.9dvh,20px)}.brand-btn-row .brand-btn:only-child{font-size:var(--btn-font-size)}.brand-window{z-index:1;background:var(--brand-paper);border:1px solid var(--brand-ink);width:min(340px,86vw);font-family:var(--font-ui);color:var(--brand-ink);touch-action:manipulation;position:relative;box-shadow:4px 4px #271e1947}.brand-window-bar{border-bottom:1px solid var(--brand-ink);align-items:center;gap:6px;padding:7px 9px;display:flex}.brand-window-bar i{border-radius:50%;width:9px;height:9px;display:block}.brand-window-bar i:first-child{background:var(--lane-5)}.brand-window-bar i:nth-child(2){background:var(--lane-2)}.brand-window-bar i:nth-child(3){background:var(--lane-1)}.brand-window-body{text-align:center;background:#fff;padding:clamp(16px,3.5dvh,30px) clamp(14px,3.5vw,22px) clamp(14px,2.5dvh,22px)}.brand-glass{width:clamp(34px,5.5dvh,44px);height:clamp(34px,5.5dvh,44px);margin:0 auto clamp(12px,2.8dvh,28px)}.brand-glass img{width:100%;height:100%;display:block}#queueWindow.is-leaving,#fantasySharedStage .fantasy-stage-content.is-leaving{will-change:transform;animation:.42s cubic-bezier(.42,-.14,.62,.04) 1.2s both queueWindowLeave}@keyframes queueWindowLeave{0%{transform:translateY(0)}to{transform:translateY(-100vh)}}#queueLanes .lane.is-leaving{will-change:transform;animation:.42s cubic-bezier(.55,.06,.68,.19) both queueLaneLeave}#queueLanes .lane.is-leaving:nth-child(2){animation-delay:90ms}#queueLanes .lane.is-leaving:nth-child(3){animation-delay:.18s}#queueLanes .lane.is-leaving:nth-child(4){animation-delay:.27s}#queueLanes .lane.is-leaving:nth-child(5){animation-delay:.36s}@keyframes queueLaneLeave{0%{transform:translate(0)}to{transform:translate(110%)}}@media (prefers-reduced-motion:reduce){#queueWindow.is-leaving,#fantasySharedStage .fantasy-stage-content.is-leaving{animation-name:queueWindowFade;animation-duration:.25s;animation-timing-function:linear}#queueLanes .lane.is-leaving{animation-name:queueLaneFade;animation-duration:.25s;animation-delay:0s}}@keyframes queueWindowFade{0%{opacity:1}to{opacity:0}}@keyframes queueLaneFade{0%{opacity:1}to{opacity:0}}.brand-window-title{margin:0;font-size:clamp(16px,2.4dvh,21px);font-weight:600}.brand-window-sub{color:#271e19bf;margin:4px 0 0;font-size:clamp(13px,1.8dvh,15px)}.brand-window-foot{font-size:11px;font-family:var(--font-mono);color:#271e198c;justify-content:space-between;padding:5px 9px;display:flex}#modalAuth .brand-window,#modalSettings .brand-window,#modalPublicProfile .brand-window{width:min(360px,92vw)}#modalProfile .brand-window.brand-window-lg{width:min(440px,94vw)}#modalAuth .brand-window-body,#modalProfile .brand-window-body,#modalPublicProfile .brand-window-body,#modalSettings .brand-window-body{text-align:left;flex-direction:column;gap:clamp(8px,1.6dvh,14px);max-height:min(80dvh,560px);padding:clamp(14px,2.5dvh,24px) clamp(14px,3.5vw,22px);display:flex;overflow-y:auto}.brand-btn-primary{background:var(--lane-5);color:#fff}.brand-btn-primary:after{background:#ffffffd9}.brand-input{width:100%;height:var(--brand-input-height,var(--btn-height));min-height:var(--brand-input-height,var(--btn-height));padding:0 var(--btn-padding-x);border:1.5px solid var(--brand-ink);color:var(--brand-ink);font:inherit;font-family:var(--font-ui);font-size:var(--btn-font-size);appearance:none;box-sizing:border-box;background:#fff;border-radius:0;font-weight:500;line-height:1.4}.brand-input::placeholder{color:#271e1973;font-weight:400}.brand-input:focus{outline:2px solid var(--lane-5);outline-offset:1px}.brand-link{color:var(--lane-5);font-weight:500}.account-input-group .brand-btn{white-space:nowrap;flex-shrink:0;width:auto}.profile-header-banner{border-bottom-color:#271e192e}.profile-avatar-badge,.public-avatar{background:var(--brand-paper);border-color:var(--brand-ink);color:var(--brand-ink)}.profile-user-row h3{color:var(--brand-ink)}.profile-rank-info{color:#271e19b3}.badge-guest{background:var(--lane-4)}.btn-close-icon{color:#271e198c}.btn-close-icon:hover{color:var(--brand-ink)}.profile-tabs{border:1px solid var(--brand-ink);background:0 0;border-radius:0;padding:0}.profile-tab{color:#271e1999;border-radius:0}.profile-tab+.profile-tab{border-left:1px solid #271e192e}.profile-tab.active{background:var(--brand-ink);color:#fff;box-shadow:none}.rp-progress-bar{border-color:var(--brand-ink);background:#271e191a;border-radius:0}.rp-progress-fill{background:linear-gradient(90deg, var(--lane-1), var(--lane-2), var(--lane-3), var(--lane-4), var(--lane-5));border-radius:0}.rp-progress-labels{color:#271e19b3}.stat-card,.history-card,.account-section{background:#271e190a;border:1px solid #271e192e;border-radius:0}.stat-card-label{color:#271e198c}.stat-card-value,.history-title{color:var(--brand-ink)}.history-date{color:#271e1980}.history-card-stats{color:#271e19a6}.account-section h4{color:var(--brand-ink)}.section-desc{color:#271e1999}.account-danger-zone{border-color:#d01a0066}.btn-danger{color:var(--lane-5);background:#d01a001f;border-color:#d01a0066}.btn-danger:hover{background:var(--lane-5);color:#fff}#modalQueue{pointer-events:auto;background:0 0;overflow:hidden}#modalQueue .lanes-h{justify-content:stretch;top:0;bottom:0}#modalQueue .lanes-h .lane{flex:1;height:auto}[hidden]{display:none!important}.race-go{z-index:25;pointer-events:none;opacity:0;justify-content:center;align-items:center;display:flex;position:fixed;top:25%;left:50%;transform:translate(-50%,-50%)}.race-go span{font-family:var(--font-card);letter-spacing:.04em;color:#10b981;text-shadow:0 4px #1a1a1a66,0 0 42px #10b98199;white-space:nowrap;font-size:clamp(5rem,22vw,10rem);font-style:normal;font-weight:700;line-height:1;display:inline-block}.race-go.is-on span{animation:.75s cubic-bezier(.15,.85,.35,1) forwards raceGoPop}.race-go.is-on{opacity:1}@keyframes raceGoPop{0%{opacity:.2;transform:scale(.85)}12%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2.5)}}@media (prefers-reduced-motion:reduce){.race-go.is-on span{animation:.75s linear forwards raceGoFade}@keyframes raceGoFade{0%,70%{opacity:1}to{opacity:0}}}.is-hidden-race{display:none!important}body.in-race{--font-ui:"Allo", sans-serif}.race-hud{padding:max(clamp(10px, 2vh, 22px), calc(env(safe-area-inset-top,0px) + 8px)) clamp(10px, 3vw, 20px) 16px;z-index:20;font-family:"Allo", var(--font-ui), sans-serif;color:#fff;text-shadow:0 1px 4px #0000008c;pointer-events:none;box-sizing:border-box;background:linear-gradient(#0f141c8a 0%,#0f141c3d 68%,#0f141c00 100%);justify-content:space-between;align-items:flex-start;transition:opacity .25s;display:flex;position:absolute;top:0;left:0;right:0}.race-hud.is-countdown{opacity:0!important;visibility:hidden!important;pointer-events:none!important}.race-hud .hud-quit{pointer-events:auto}.race-hud-left{flex-direction:column;flex:none;align-items:flex-start;gap:2px;display:flex}.race-lap{letter-spacing:.02em;color:#fff;font-size:clamp(12px,2.2vw,15px);font-weight:700;line-height:1.2}.race-lap b{font-weight:700}.race-me{align-items:baseline;margin-top:-2px;display:flex}.race-me-place{color:#fff;font-variant-numeric:tabular-nums;align-items:flex-start;font-size:clamp(38px,8.5vw,56px);font-weight:700;line-height:.95;display:inline-flex}.race-me-place sup{vertical-align:top;margin-top:.12em;margin-left:2px;font-size:.35em;font-weight:700}.race-hud-center{flex-direction:column;flex:auto;align-items:center;max-width:clamp(160px,46vw,360px);margin:2px clamp(6px,1.8vw,16px) 0;display:flex}#streakBarContainer{pointer-events:none;background:0 0;flex-direction:column;gap:clamp(4px,.8vh,8px);width:100%;max-width:none;margin:0;padding:0;display:flex}.streak-header{color:#fff;white-space:nowrap;justify-content:space-between;width:100%;font-size:clamp(11px,2.4vw,15px);font-weight:700;line-height:1;display:flex}.streak-header b{font-variant-numeric:tabular-nums;font-weight:700}#streakBar{box-sizing:border-box;background:#fff;border-radius:9999px;width:100%;height:clamp(20px,3.4vh,28px);padding:clamp(3px,.6vw,5px);transition:box-shadow .2s;display:flex;position:relative;box-shadow:0 2px 8px #0003}.streak-multiplier{font-family:"Allo", var(--font-ui), sans-serif;transform-origin:50%;font-weight:700;transition:color .2s;display:inline-block}.streak-multiplier.has-mult{color:var(--tier-color,#44a420)}.streak-multiplier.is-bumped{animation:1s cubic-bezier(.34,1.56,.64,1) multiplierSpringBump}@keyframes multiplierSpringBump{0%{transform:scale(1)}25%{transform:scale(1.45)}50%{transform:scale(.92)}75%{transform:scale(1.08)}to{transform:scale(1)}}.streak-segments{border-radius:9999px;gap:clamp(3px,.8vw,6px);width:100%;height:100%;display:flex;overflow:hidden}.streak-segments .streak-segment,.streak-segments i{background:#dadada;border-radius:9999px;flex:1 1 0;height:100%;transition:background-color .14s,box-shadow .14s}.streak-segments .streak-segment.is-on,.streak-segments i.is-on{background:var(--tier-color,#44a420);box-shadow:0 0 8px var(--tier-color,#44a42099)}.streak-segments.is-tier-complete .streak-segment.is-on,.streak-segments.is-tier-complete i.is-on{animation:.45s ease-out tierCompletePop}@keyframes tierCompletePop{0%{transform:scale(1)}40%{filter:brightness(1.35) drop-shadow(0 0 6px var(--tier-color,#44a420));transform:scale(1.15)}to{filter:brightness();transform:scale(1)}}.streak-segments.is-max .streak-segment.is-on,.streak-segments.is-max i.is-on{background:var(--tier-color,#ef4444);box-shadow:0 0 12px var(--tier-color,#ef4444d9);animation:.8s ease-in-out infinite alternate streakMaxGlow}@keyframes streakMaxGlow{0%{filter:brightness(1) drop-shadow(0 0 2px var(--tier-color,#ef4444))}to{filter:brightness(1.35) drop-shadow(0 0 8px var(--tier-color,#ef4444))}}@media (prefers-reduced-motion:reduce){.streak-multiplier.is-bumped,.streak-segments.is-tier-complete .streak-segment.is-on,.streak-segments.is-tier-complete i.is-on,.streak-segments.is-max .streak-segment.is-on,.streak-segments.is-max i.is-on{animation:none}}.race-hud-right{flex-direction:column;flex:none;align-items:center;display:flex}.race-typeguard{flex-direction:column;align-items:center;gap:clamp(4px,.8vh,8px);margin-top:2px;display:flex}.typeguard-label{color:#fff;white-space:nowrap;font-size:clamp(12px,2.5vw,16px);font-weight:700;line-height:1}.streak-shields{align-items:center;gap:clamp(3px,.8vw,6px);display:flex}.shield-pip{justify-content:center;align-items:center;width:clamp(20px,4.4vw,32px);height:clamp(22px,4.8vw,34px);display:inline-flex}.shield-pip svg{filter:drop-shadow(0 1px 3px #00000073);width:100%;height:100%;display:block}.shield-pip svg path{fill:none;stroke:#fff;stroke-width:2.2px;stroke-linejoin:round;opacity:.45;transition:fill .15s,opacity .15s}.shield-pip.is-held svg path{fill:#fff;stroke:#fff;opacity:1;filter:drop-shadow(0 1px 3px #0006)}.race-hud .hud-quit{top:max(clamp(8px, 1.5dvh, 16px), env(safe-area-inset-top,0px));position:absolute;right:clamp(12px,3.5vw,24px)}#wordStage{z-index:4;color:#f8fafc;pointer-events:none;box-sizing:border-box;background:#0f131cf5;border-top:1px solid #ffe09638;flex-direction:column;justify-content:center;align-items:center;gap:clamp(2px,.4dvh,4px);padding:clamp(5px,.9dvh,8px) clamp(10px,3vw,18px) clamp(4px,.7dvh,6px);display:flex;position:fixed;bottom:68px;left:0;right:0}#customKeyboard #wordStage{z-index:auto;margin-inline:-4px;margin-top:-8px;margin-bottom:2px;position:static;bottom:auto;left:auto;right:auto}#wordStage.is-reversed{background:linear-gradient(#421254f0,#0f131cf5);border-top-color:#d946efb3}#wordStage.is-frozen{background:linear-gradient(#0e3a56f0,#0f131cf5);border-top-color:#38bdf8c7}.word-debuff-banner{display:none}.word-debuff-banner.is-visible{color:#fecdd3;font-family:var(--font-ui);letter-spacing:.02em;white-space:nowrap;text-overflow:ellipsis;background:#f43f5e38;border:1px solid #fb71858c;border-radius:999px;justify-content:center;align-items:center;max-width:96%;padding:clamp(2px,.4dvh,3px) clamp(8px,2.4vw,12px) clamp(1px,.2dvh,2px);font-size:clamp(10px,2.6vw,12px);font-weight:700;line-height:1.1;display:inline-flex;overflow:hidden}.word-stage-main{justify-content:center;align-items:center;width:100%;min-height:clamp(30px,5dvh,42px);display:flex;position:relative}.word-countdown-dots{display:none}#wordStage.is-countdown .word-countdown-dots{align-items:center;gap:clamp(10px,3vw,16px);display:inline-flex}.word-countdown-dots span[data-count]{background:#ffffff29;border:1.5px solid #ffffff4d;border-radius:50%;width:clamp(12px,2.2dvh,16px);height:clamp(12px,2.2dvh,16px);transition:transform .14s,background-color .14s,box-shadow .14s}.word-countdown-dots span[data-count="3"].is-active{background:#ef4444;border-color:#fca5a5;transform:scale(1.18);box-shadow:0 0 12px #ef4444bf}.word-countdown-dots span[data-count="2"].is-active{background:#f59e0b;border-color:#fde68a;transform:scale(1.18);box-shadow:0 0 12px #f59e0bbf}.word-countdown-dots span[data-count="1"].is-active{background:#10b981;border-color:#6ee7b7;transform:scale(1.18);box-shadow:0 0 12px #10b981cc}#wordStage .word-display{min-height:0;font-family:var(--font-gameplay,"Allo", sans-serif);letter-spacing:.02em;color:#f8fafc;flex-wrap:nowrap;justify-content:center;align-items:baseline;gap:clamp(1px,.25vw,2px);padding-top:2px;font-size:clamp(1.45rem,6vw,2.1rem);font-weight:700;line-height:1.05;display:inline-flex}#wordStage.is-countdown .word-display{display:none}#wordStage .word-char{color:#e2e8f09e;font-family:inherit;font-weight:700}#wordStage .word-char.correct{color:#34d399;text-shadow:0 0 10px #34d39959}#wordStage .word-char.current{color:#fff;border-bottom:2.5px solid #fbbf24;animation:.9s ease-in-out infinite wordCaretPulse}#wordStage .word-char.incorrect{color:#fb7185;background:#f43f5e3d;border-radius:3px}#wordStage .word-display.is-reversed .word-char:not(.correct){color:#f0abfc}#wordStage.is-smoked .word-display{filter:blur(clamp(3px,.5vw,5px));transition:filter .18s}#wordStage .word-display.is-shaking{animation:.28s cubic-bezier(.36,.07,.19,.97) wordTypoShake}@keyframes wordCaretPulse{0%,to{border-color:#fbbf24}50%{border-color:#fbbf2440}}@keyframes wordTypoShake{0%,to{transform:translate(0)}20%{transform:translate(-6px)}45%{transform:translate(6px)}70%{transform:translate(-4px)}88%{transform:translate(3px)}}.word-frozen{color:#38bdf8;letter-spacing:.08em;text-shadow:0 0 12px #38bdf88c;margin-right:8px;font-weight:800}.word-frozen-count{color:#bae6fd;font-variant-numeric:tabular-nums;font-size:.8em}.word-streak-pop{opacity:0;font-family:var(--font-card);letter-spacing:.04em;color:#fbbf24;text-shadow:0 1px 6px #fbbf2473;pointer-events:none;white-space:nowrap;font-size:clamp(12px,3.2vw,16px);font-weight:800;position:absolute;top:50%;right:clamp(2px,1.5vw,12px);transform:translateY(-50%)scale(.85)}.word-streak-pop.is-popping{animation:.52s cubic-bezier(.16,1,.3,1) forwards wordStreakPopAnim}@keyframes wordStreakPopAnim{0%{opacity:0;transform:translateY(-20%)scale(.78)}22%{opacity:1;transform:translateY(-55%)scale(1.06)}to{opacity:0;transform:translateY(-95%)scale(.96)}}#wordStage .upcoming-queue{width:100%;max-width:min(560px,92vw);min-height:clamp(14px,2.2dvh,18px);font-family:var(--font-ui);color:#94a3b8d1;white-space:nowrap;justify-content:center;align-items:center;gap:clamp(10px,2.8vw,16px);font-size:clamp(12px,3.2vw,15px);font-weight:500;display:flex;overflow:hidden}#wordStage .upcoming-queue span:first-child{color:#e2e8f0f0;font-weight:700}#canvas-container{visibility:hidden;opacity:0;transition:opacity 1s cubic-bezier(.16,1,.3,1)}body.in-race #canvas-container,body.has-3d-bg #canvas-container{visibility:visible;opacity:1}#viewMenu.brand-screen.active{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex;overflow-y:auto}#viewMenu .brand-statbar{padding-top:max(clamp(10px, 2dvh, 24px), env(safe-area-inset-top,0px));flex:none;margin:0 clamp(16px,8.5%,60px);font-size:clamp(11px,1.8dvh,13px);position:static;top:auto;left:auto;right:auto}#viewMenu .brand-mark{flex:none;gap:clamp(4px,1dvh,8px);margin:auto clamp(16px,8.5%,60px) 0;position:static;left:auto;right:auto;top:auto!important}#viewMenu .brand-menu-body{gap:var(--menu-gap);flex:none;margin:clamp(10px,2.2dvh,22px) clamp(16px,8.5%,60px) 0;position:static;bottom:auto;left:auto;right:auto}#viewMenu #menuLanes{--lane-band:clamp(18px, 3.2dvh, 40px);flex:none;margin-top:clamp(8px,1.8dvh,20px);position:static}@media (width>=860px) and (aspect-ratio>=1){:root{--desktop-menu-width:clamp(520px, 39vw, 720px);--lane-band:clamp(20px, 2.7vh, 24px)}#canvas-container{visibility:visible!important}#viewLoading.brand-screen:not(.fantasy-screen){width:var(--desktop-menu-width);border-right:1.5px solid #271e1926;right:auto;overflow:hidden;box-shadow:4px 0 28px #00000024}#viewLoading .brand-grid:after{inset:0 clamp(24px,12%,80px)}#viewLoading .brand-mark{width:auto;left:clamp(40px,19.5%,130px);right:clamp(40px,19.5%,130px)}#viewLoading .lanes-v{gap:8px;left:clamp(40px,19.5%,130px);right:clamp(40px,19.5%,130px)}#viewLoading .lanes-v .lane{width:clamp(28px,4vw,44px)}#viewMenu.brand-screen.active{width:var(--desktop-menu-width);border-right:1.5px solid #271e1926;display:block;right:auto;overflow:hidden;box-shadow:4px 0 28px #00000024}#viewMenu .brand-grid:after{inset:0 clamp(24px,12%,80px)}#viewMenu .brand-statbar{color:var(--brand-ink);margin:0;padding-top:0;font-size:16px;font-weight:500;position:absolute;top:clamp(50px,12vh,96px);left:clamp(24px,12%,80px);right:clamp(24px,12%,80px)}#viewMenu .brand-statbar span+span{margin-left:20px}#viewMenu .brand-mark{flex-direction:column;align-items:flex-start;gap:10px;width:auto;margin:0;display:flex;position:absolute;left:clamp(40px,19.5%,130px);right:clamp(40px,19.5%,130px);top:clamp(140px,26vh,220px)!important}#viewMenu .brand-kicker{width:78%;max-width:312px;height:auto}#viewMenu .brand-wordmark{width:100%;height:auto}#viewMenu .brand-menu-body{left:clamp(40px,19.5%,130px);right:clamp(40px,19.5%,130px);bottom:calc(5 * var(--lane-band) + clamp(36px, 5.5vh, 56px));flex-direction:column;gap:14px;margin:0;display:flex;position:absolute}#viewMenu .brand-user-row{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}#viewMenu .brand-user-name{color:var(--brand-ink);font-size:17px;font-weight:500}#viewMenu .brand-login{color:#fff;cursor:pointer;letter-spacing:.02em;background:#c01818;border:none;border-radius:2px;padding:6px 14px;font-size:15px;font-weight:700}#viewMenu .brand-btn-row{gap:18px;display:flex}#viewMenu .brand-btn-row .brand-btn{flex:1;font-size:20px}#viewMenu #menuLanes{--lane-band:clamp(20px, 2.7vh, 24px);flex-direction:column;margin:0;display:flex;position:absolute;inset:auto 0 0}#viewMenu #menuLanes .lane{height:var(--lane-band);flex:none}.modal-overlay{-webkit-backdrop-filter:blur(10px);width:100%;box-shadow:none;box-sizing:border-box;background:#1a1a1a6b;border-right:none;justify-content:center;align-items:center;padding:clamp(16px,3vh,32px) clamp(16px,3vw,28px);inset:0;overflow-y:auto}.modal-overlay .brand-window,#modalAuth .brand-window,#modalSettings .brand-window,#modalPublicProfile .brand-window{width:min(400px, calc(var(--desktop-menu-width) - 48px));border:1.5px solid var(--brand-ink);background:var(--brand-paper);flex-direction:column;height:auto;max-height:calc(100vh - 48px);margin:auto;display:flex;box-shadow:4px 4px #271e1947}#modalProfile .brand-window.brand-window-lg{width:min(460px, calc(var(--desktop-menu-width) - 32px));border:1.5px solid var(--brand-ink);background:var(--brand-paper);flex-direction:column;height:auto;max-height:calc(100vh - 48px);margin:auto;display:flex;box-shadow:4px 4px #271e1947}.modal-overlay .brand-window-body,#modalAuth .brand-window-body,#modalSettings .brand-window-body,#modalProfile .brand-window-body,#modalPublicProfile .brand-window-body{flex:1;min-height:0;overflow-y:auto;max-height:calc(100vh - 120px)!important}.modal-overlay .modal-card{width:min(400px, calc(var(--desktop-menu-width) - 48px));border:1.5px solid var(--brand-ink);background:var(--brand-paper);border-radius:0;height:auto;max-height:calc(100vh - 48px);margin:auto;padding:clamp(24px,4vh,36px) clamp(20px,3vw,32px);overflow-y:auto;box-shadow:4px 4px #271e1947}#modalQueue{background:0 0}.race-hud{align-items:flex-start!important;padding:0 clamp(20px,2.5vw,32px)!important;top:clamp(16px,2.6dvh,26px)!important}.race-lap{letter-spacing:.03em;font-size:clamp(20px,2.8dvh,28px)}.race-me{gap:clamp(10px,1.2vw,16px);margin-top:4px}.race-me-place{font-size:clamp(44px,6.8dvh,64px)}.race-me-place sup{margin-left:2px;font-size:.42em}.race-hud-center{max-width:clamp(320px,38vw,480px)!important}#streakBarContainer .streak-header{font-size:clamp(14px,1.4vw,17px)!important}#streakBarContainer #streakBar{height:clamp(26px,3.6dvh,32px)!important}.race-hud-right .typeguard-label{font-size:clamp(14px,1.4vw,17px)!important}.race-hud-right .shield-pip{width:clamp(26px,2.6vw,32px)!important;height:clamp(28px,2.9vw,36px)!important}#customKeyboard:not([hidden]):not([data-kb-mode=custom]){width:min(860px,92vw)!important;padding:clamp(10px, 1.4dvh, 14px) clamp(18px, 2.2vw, 26px) calc(clamp(10px, 1.4dvh, 14px) + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;-webkit-backdrop-filter:blur(10px)!important;z-index:40!important;pointer-events:auto!important;background:#121418f0!important;border:1.5px solid #ffffff1f!important;border-bottom:none!important;border-radius:16px 16px 0 0!important;flex-direction:column!important;justify-content:flex-end!important;align-items:center!important;gap:clamp(8px,1.1dvh,10px)!important;display:flex!important;position:fixed!important;bottom:0!important;left:50%!important;right:auto!important;transform:translate(-50%)!important}#customKeyboard[hidden],#customKeyboard:not([data-kb-mode=custom]) .kb-letters,#customKeyboard:not([data-kb-mode=custom]) .kb-bottom-spacer{display:none!important}#customKeyboard:not([data-kb-mode=custom]) #wordStage{background:#0a0d14e0!important;border:1px solid #ffffff1f!important;border-radius:12px!important;width:100%!important;margin:0!important;padding:clamp(6px,.9dvh,10px) clamp(16px,2vw,24px) clamp(4px,.7dvh,7px)!important}#customKeyboard:not([data-kb-mode=custom]) #wordStage.is-reversed{background:linear-gradient(#421254e6,#0a0d14eb)!important;border-color:#d946efa6!important}#customKeyboard:not([data-kb-mode=custom]) #wordStage.is-frozen{background:linear-gradient(#0e3a56e6,#0a0d14eb)!important;border-color:#38bdf8bf!important}#customKeyboard:not([data-kb-mode=custom]) #wordStage .word-stage-main{min-height:clamp(32px,4.4dvh,44px)!important}#customKeyboard:not([data-kb-mode=custom]) #wordStage .word-display{font-size:clamp(1.55rem,2.5vw,2.25rem)!important}#customKeyboard:not([data-kb-mode=custom]) #wordStage .upcoming-queue{max-width:min(760px,88vw)!important;font-size:clamp(13px,1.15vw,16px)!important}#customKeyboard:not([data-kb-mode=custom]) #wordStage .word-streak-pop{font-size:clamp(14px,1.3vw,19px)!important;right:clamp(10px,1.8vw,24px)!important}#customKeyboard:not([data-kb-mode=custom]) .kb-mp{justify-content:space-between!important;align-items:center!important;gap:clamp(10px,1.4vw,16px)!important;width:100%!important;margin:0!important;padding:0!important;display:flex!important}#customKeyboard:not([data-kb-mode=custom]) .kb-stamina-gauge,#customKeyboard:not([data-kb-mode=custom]) .kb-mp-gauge{flex:1 1 0!important;gap:clamp(10px,1.2vw,14px)!important;width:auto!important;padding:clamp(6px,.9dvh,8px) clamp(14px,1.6vw,20px)!important}#customKeyboard:not([data-kb-mode=custom]) .kb-stamina-label,#customKeyboard:not([data-kb-mode=custom]) .kb-mp-label{font-size:clamp(13px,1.15vw,16px)!important}#customKeyboard:not([data-kb-mode=custom]) .kb-stamina-track,#customKeyboard:not([data-kb-mode=custom]) .kb-mp-track{height:clamp(9px,1.3dvh,12px)!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spells{align-items:stretch!important;gap:clamp(10px,1.3vw,16px)!important;width:100%!important;margin:0!important;padding:0!important;display:flex!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell{aspect-ratio:auto!important;cursor:pointer!important;border:1.5px solid #fff3!important;border-radius:12px!important;flex:1 1 0!important;height:100%!important;min-height:clamp(82px,11dvh,102px)!important;transition:transform 80ms,filter 80ms!important;display:block!important;position:relative!important;overflow:hidden!important;box-shadow:0 4px 14px #00000059!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell:hover:not(.is-off){filter:brightness(1.1);transform:translateY(-2px);box-shadow:0 6px 18px #00000073}#customKeyboard:not([data-kb-mode=custom]) .kb-spell.is-down{transform:scale(.97)!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell-cost{width:clamp(32px,3vw,42px)!important;min-width:32px!important;height:clamp(32px,3vw,42px)!important;min-height:32px!important;font-family:var(--font-fantasy)!important;text-shadow:0 2px 4px #000000b3!important;background:linear-gradient(#5555fc 0%,#0e0e94 100%)!important;border:1.5px solid #5454f5!important;font-size:clamp(20px,2vw,28px)!important;font-weight:400!important;top:7px!important;left:9px!important;right:auto!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell-pill{background:#fff!important;border-radius:9999px!important;padding:3px clamp(10px,1.2vw,16px)!important;bottom:7px!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell-label,#customKeyboard:not([data-kb-mode=custom]) .kb-spell.has-long-name .kb-spell-label{letter-spacing:.01em!important;font-size:clamp(16px,1.6vw,22px)!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell-cd-time{font-size:clamp(18px,1.7vw,24px)!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell-keybind{color:#fff;font-family:var(--font-ui);letter-spacing:.02em;pointer-events:none;z-index:3;background:#000000b8;border:1px solid #ffffff4d;border-radius:6px;padding:3px 7px 1px;font-size:clamp(11px,1vw,14px);font-weight:700;position:absolute;top:7px;left:auto;right:9px;display:flex!important}#customKeyboard:not([data-kb-mode=custom]) .kb-mp-fill{background:#3b82f6!important;border-radius:999px!important;transition:width 90ms linear!important;box-shadow:0 0 10px #3b82f6b3!important}#customKeyboard:not([data-kb-mode=custom]) .kb-mp-gauge.is-full .kb-mp-label{color:#1b4994!important}}body.is-results-open #canvas-container{filter:blur(12px)brightness(.72);transition:filter .25s,transform .25s;transform:scale(1.04)}body:has(#modalResults:not([style*="display: none"])) #canvas-container{filter:blur(12px)brightness(.72);transition:filter .25s,transform .25s;transform:scale(1.04)}body.is-results-open #viewGame .race-hud{opacity:0!important;pointer-events:none!important}body:has(#modalResults:not([style*="display: none"])) #viewGame .race-hud{opacity:0!important;pointer-events:none!important}#modalResults{-webkit-backdrop-filter:blur(12px);box-sizing:border-box;background:#0e09066b;padding:clamp(8px,1.8dvh,18px) 0;overflow:hidden auto}#modalResults .result-stage{text-align:center;color:#fff;flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:100vw;margin:auto;display:flex}#modalResults .result-banner{filter:drop-shadow(0 clamp(6px,1dvh,10px) clamp(12px,2.2dvh,20px) #0000008c);box-sizing:border-box;background:url(/brand/parchment_word_scroll.webp) 50%/100% 100% no-repeat;width:136vw;max-width:620px;margin:clamp(-4px,-.6dvh,0px) -18vw clamp(14px,2.6dvh,24px);padding:clamp(14px,2.5dvh,24px) clamp(24px,8vw,48px);overflow:hidden;transform:rotate(-5.5deg)}#modalResults .result-banner-title{line-height:.88;font-family:var(--font-fantasy);letter-spacing:.03em;color:#3e2511;text-transform:uppercase;text-shadow:0 1px #fff4e073;flex-direction:column;align-items:center;margin:0;font-size:clamp(32px,5.2dvh,46px);font-weight:400;display:flex}#modalResults .result-banner-title span{display:block}#modalResults .result-banner-title span:first-child{margin-right:clamp(44px,12vw,76px)}#modalResults .result-banner-title span:last-child{margin-left:clamp(28px,8vw,52px)}#modalResults .result-hero{flex-direction:column;justify-content:center;align-items:center;margin-bottom:clamp(18px,3.2dvh,30px);display:inline-flex;position:relative}#modalResults .result-youre{font-family:var(--font-fantasy);color:#fff;text-shadow:0 2px 8px #000000b3;z-index:2;align-self:flex-start;margin:0 0 clamp(-2px,-.3dvh,2px) clamp(-8px,-1.5vw,-2px);font-size:clamp(22px,3.3dvh,30px);font-weight:400;line-height:1}#modalResults .result-avatar-ring{background:#12131a;border:clamp(3px,.5dvh,4.5px) solid #fff;border-radius:50%;width:clamp(128px,20.5dvh,174px);height:clamp(128px,20.5dvh,174px);position:relative;overflow:hidden;box-shadow:0 clamp(6px,1.2dvh,12px) clamp(16px,3dvh,28px) #000000a6}#modalResults .result-avatar-img{pointer-events:none;width:370%;max-width:none;height:auto;display:block;position:absolute;top:-32%;left:-120.625%}#modalResults .result-avatar-img.is-grim{width:370%;top:-32%;left:-120.625%}#modalResults .result-avatar-img.is-blink{width:358.7%;top:-32%;left:-115%;transform:scaleX(-1)}#modalResults .result-avatar-img.is-gigahertz{width:175.1%;top:-4%;left:-18%}#modalResults .result-avatar-img.is-arma{width:397.3%;top:-32%;left:-134%;transform:scaleX(-1)}#modalResults .result-mmr-pill{font-family:"Allo", var(--font-body);color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap;z-index:3;border-radius:999px;padding:clamp(3px,.5dvh,5px) clamp(10px,2.4vw,14px);font-size:clamp(11px,1.75dvh,14px);font-weight:700;line-height:1.15;position:absolute;top:clamp(38px,6.2dvh,54px);right:clamp(-24px,-5vw,-32px);box-shadow:0 3px 10px #00000080}#modalResults .result-mmr-pill.is-positive{background:linear-gradient(#22c55e 0%,#16a34a 100%)}#modalResults .result-mmr-pill.is-negative{background:linear-gradient(#ef4444 0%,#dc2626 100%)}#modalResults .result-place-hero{pointer-events:none;filter:drop-shadow(0 4px 10px #000000a6);z-index:3;position:absolute;bottom:clamp(-14px,-2.2dvh,-20px);right:clamp(-22px,-4.5vw,-30px)}#modalResults .result-place-num{font-family:var(--font-fantasy);color:#f97316;paint-order:stroke fill;-webkit-text-stroke:clamp(5px, .9dvh, 8px) #fff;align-items:flex-start;font-weight:400;line-height:.82;display:inline-flex}#modalResults .result-place-num b{font-family:var(--font-fantasy);font-variant-numeric:tabular-nums;font-size:clamp(64px,11.2dvh,98px);font-weight:400}#modalResults .result-place-num sup{font-family:var(--font-fantasy);margin-left:clamp(1px,.3vw,3px);font-size:clamp(28px,4.8dvh,42px);font-weight:400;top:clamp(2px,.4dvh,5px)}#modalResults .result-place-hero[data-place="1"] .result-place-num{color:#f97316}#modalResults .result-place-hero[data-place="2"] .result-place-num{color:#2563eb}#modalResults .result-place-hero[data-place="3"] .result-place-num{color:#22c55e}#modalResults .result-place-hero[data-place="4"] .result-place-num{color:#9333ea}#modalResults .results-podium{background:0 0;border:none;flex-direction:column;align-items:flex-start;gap:clamp(8px,1.5dvh,14px);width:min(230px,72vw);margin:0 auto clamp(18px,3.2dvh,28px);padding:0;display:flex}#modalResults .podium-row{width:100%!important;box-shadow:none!important;text-align:left!important;background:0 0!important;border:none!important;border-radius:0!important;grid-template-columns:clamp(38px,9vw,48px) 1fr!important;align-items:start!important;gap:clamp(8px,2.2vw,12px)!important;margin:0!important;padding:0!important;display:grid!important}#modalResults .podium-place{font-family:var(--font-fantasy);color:#fff;text-align:right;font-variant-numeric:tabular-nums;text-shadow:0 2px 6px #000000a6;font-size:clamp(20px,3.1dvh,26px);font-weight:400;line-height:.95}#modalResults .podium-place sup{font-family:var(--font-fantasy);vertical-align:super;font-size:.58em;font-weight:400}#modalResults .podium-info{flex-direction:column;min-width:0;line-height:1.1;display:flex}#modalResults .podium-char-name{font-family:var(--font-fantasy);letter-spacing:.03em;color:#fff;text-transform:uppercase;text-shadow:0 2px 6px #000000a6;font-size:clamp(14px,2.15dvh,18px);font-weight:400}#modalResults .podium-player-name{font-family:"Allo", var(--font-body);color:#38bdf8;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 4px #000000a6;font-size:clamp(11.5px,1.75dvh,14px);font-weight:600;overflow:hidden}#modalResults .result-actions{flex-direction:column;align-items:center;gap:clamp(10px,1.8dvh,16px);width:100%;display:flex}#modalResults .result-again{width:min(290px,82vw);height:clamp(48px,6.8dvh,58px);font-family:var(--font-fantasy);color:#fff;text-shadow:0 1px 2px #00000073;cursor:pointer;touch-action:manipulation;background:linear-gradient(#f8a22f 0%,#de7916 100%);border:2px solid #fff8e8eb;border-radius:clamp(10px,1.6dvh,14px);justify-content:center;align-items:center;padding:0 clamp(16px,4vw,24px);font-size:clamp(20px,3dvh,25px);font-weight:400;transition:transform .12s,filter .12s;display:flex;box-shadow:0 clamp(4px,.8dvh,8px) clamp(12px,2.2dvh,20px) #00000073,inset 0 1px #fff6}#modalResults .result-again:active{transform:scale(.97)}#modalResults .result-back{font-family:var(--font-fantasy);color:#ffffffeb;cursor:pointer;text-shadow:0 1px 4px #000000a6;touch-action:manipulation;background:0 0;border:0;justify-content:center;align-items:center;padding:clamp(4px,.8dvh,8px) clamp(10px,2.5vw,16px);font-size:clamp(14px,2.1dvh,17px);font-weight:400;display:inline-flex}@media (hover:hover){#modalResults .result-again:hover{filter:brightness(1.07)}#modalResults .result-back:hover{color:#fff;text-decoration:underline}}@keyframes resultBannerDrop{0%{opacity:0;transform:translateY(-18px)rotate(-5.5deg)scale(.94)}to{opacity:1;transform:translateY(0)rotate(-5.5deg)scale(1)}}@keyframes resultSlideFromLeft{0%{opacity:0;transform:translate(-56px)}to{opacity:1;transform:translate(0)}}@keyframes resultSlideFromRight{0%{opacity:0;transform:translate(56px)}to{opacity:1;transform:translate(0)}}@keyframes resultPopIn{0%{opacity:0;transform:scale(.75)}70%{opacity:1;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}@keyframes resultPlaceSlam{0%{opacity:0;transform:scale(1.45)translateY(-8px)}75%{opacity:1;transform:scale(.96)translateY(0)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes resultRowIn{0%{opacity:0;transform:translate(-14px)}to{opacity:1;transform:translate(0)}}@keyframes resultActionsIn{0%{opacity:0;pointer-events:none;transform:translateY(14px)}95%{pointer-events:none}to{opacity:1;pointer-events:auto;transform:translateY(0)}}#modalResults.is-animating .result-banner{animation:.38s cubic-bezier(.22,1,.36,1) both resultBannerDrop}#modalResults.is-animating .result-banner-title span:first-child{animation:.44s cubic-bezier(.22,1,.36,1) 80ms both resultSlideFromLeft}#modalResults.is-animating .result-banner-title span:last-child{animation:.44s cubic-bezier(.22,1,.36,1) .14s both resultSlideFromRight}#modalResults.is-animating .result-youre,#modalResults.is-animating .result-avatar-ring{animation:.4s cubic-bezier(.22,1,.36,1) .26s both resultPopIn}#modalResults.is-animating .result-place-hero{animation:.4s cubic-bezier(.22,1,.36,1) .36s both resultPlaceSlam}#modalResults.is-animating .result-mmr-pill{animation:.32s cubic-bezier(.22,1,.36,1) .46s both resultPopIn}#modalResults.is-animating .podium-row{animation:resultRowIn .32s cubic-bezier(.22, 1, .36, 1) calc(.68s + var(--row-index,0) * .14s) both}#modalResults.is-animating .result-actions{animation:.34s cubic-bezier(.22,1,.36,1) 1.12s both resultActionsIn}@media (prefers-reduced-motion:reduce){#modalResults.is-animating .result-banner,#modalResults.is-animating .result-banner-title span:first-child,#modalResults.is-animating .result-banner-title span:last-child,#modalResults.is-animating .result-youre,#modalResults.is-animating .result-avatar-ring,#modalResults.is-animating .result-place-hero,#modalResults.is-animating .result-mmr-pill,#modalResults.is-animating .podium-row,#modalResults.is-animating .result-actions{opacity:1!important;animation:none!important}}.word-frozen{color:#5ac8ff;letter-spacing:.08em;font-weight:700}.word-frozen-count{color:#5ac8ff;opacity:.75;font-variant-numeric:tabular-nums;margin-left:.6em}.word-finished{color:var(--accent-color);letter-spacing:.08em;font-weight:700}#modalCharacterSelect.fantasy-char-select-screen{z-index:1010;box-sizing:border-box;-webkit-backdrop-filter:blur(10px);pointer-events:auto;opacity:1;flex-direction:column;justify-content:center;align-items:center;gap:clamp(4px,.8dvh,10px);width:100%;height:100%;transition:opacity .4s ease-out;display:flex;position:fixed;inset:0;overflow:hidden;padding:clamp(6px, 1.2dvh, 16px) clamp(12px, 3.5vw, 24px) max(clamp(8px, 1.5dvh, 20px), env(safe-area-inset-bottom,0px))!important;background:0 0!important}#modalCharacterSelect.fantasy-char-select-screen.is-fade-pending{opacity:0!important;pointer-events:none!important;transition:none!important}#modalCharacterSelect.fantasy-char-select-screen[style*="display: none"]{display:none!important}.fantasy-char-select-ad-stub{flex-shrink:0;height:clamp(44px,7.2dvh,92px);margin-bottom:clamp(2px,.4dvh,6px);margin-top:0!important}.fantasy-char-select-stack{z-index:2;box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;width:min(360px,94vw);margin:auto;display:flex;position:relative}.char-select-stage{flex-direction:column;align-items:center;width:100%;display:flex;position:relative}.char-select-preview-box{z-index:1;pointer-events:none;justify-content:center;align-items:center;width:min(299px,76vw);height:clamp(140px,24dvh,279px);margin-bottom:clamp(-36px,-4.8dvh,-50px);display:flex;position:relative}#modalCharacterSelect:has(#charSelectAdSlot[style*="display: flex"]) .char-select-preview-box{height:clamp(106px,18.5dvh,220px);margin-bottom:clamp(-30px,-4.2dvh,-44px)}.char-select-preview-canvas{width:100%;height:100%;display:block}.char-select-random-mystery{-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;gap:clamp(2px,.8vw,6px);padding-bottom:clamp(18px,3dvh,32px);display:flex;position:absolute;inset:0}.mystery-q{font-family:var(--font-fantasy);color:#fff;text-shadow:0 4px 24px #000000e6;font-size:clamp(92px,15.5dvh,159px);font-weight:400;line-height:1;display:inline-block}.mystery-q.is-mid,.mystery-q.q-mid{transform:translateY(clamp(-18px,-3.2dvh,-35px))}.char-select-info-card{z-index:2;filter:drop-shadow(0 4px 12px #00000080);box-sizing:border-box;border-radius:8px;width:min(349px,92vw);position:relative}.char-select-timer-pill,.char-select-timer-badge{z-index:5;width:clamp(54px,8dvh,80px);height:clamp(54px,8dvh,80px);font-family:var(--font-fantasy);color:#32e4ff;text-shadow:0 1px 6px #00000026;font-variant-numeric:tabular-nums;pointer-events:none;background:#1717fa;border-radius:999px;justify-content:center;align-items:center;font-size:clamp(24px,4dvh,40px);font-weight:400;line-height:1;display:flex;position:absolute;top:clamp(-34px,-5.2dvh,-50px);right:clamp(-6px,-1.5vw,-12px)}.char-info-header{box-sizing:border-box;background:linear-gradient(#c38050 0%,#5d3d26 100%);border-radius:8px 8px 0 0;justify-content:center;align-items:center;width:100%;height:clamp(38px,5.8dvh,59px);display:flex}.char-info-title{font-family:var(--font-fantasy);color:#fff;text-shadow:0 4px 12px #00000080;text-align:center;letter-spacing:.4px;margin:0;font-size:clamp(21px,3.3dvh,32px);font-weight:400;line-height:1}.char-info-body{box-sizing:border-box;text-align:left;background:#d6faff;border-radius:0 0 8px 8px;grid-template-columns:1.08fr 1fr;align-content:start;gap:clamp(8px,2.2vw,14px);width:100%;min-height:clamp(96px,13.5dvh,114px);padding:clamp(6px,1dvh,10px) clamp(8px,2.2vw,12px) clamp(10px,1.5dvh,15px);display:grid}.char-info-section-label{font-family:var(--font-fantasy);color:#11474e;margin-bottom:clamp(2px,.4dvh,4px);font-size:clamp(9px,1.15dvh,10px);font-weight:400;line-height:1.1;display:block}.char-info-passive-name,.char-passive-name{color:#11474e;font-family:Allo,sans-serif;font-size:clamp(10.5px,1.38dvh,12px);font-weight:700;line-height:1.2}.char-info-passive-desc,.char-passive-desc{color:#11474e;margin-top:1px;font-family:Allo,sans-serif;font-size:clamp(10px,1.32dvh,12px);font-weight:400;line-height:1.22}.char-info-stats-rows,.char-stats-rows{flex-direction:column;gap:clamp(3px,.55dvh,5px);display:flex}.char-info-stat-row,.char-stat-line{align-items:center;gap:clamp(4px,1vw,6px);display:flex}.char-info-stat-label,.char-stat-name{color:#53a3ae;flex-shrink:0;width:clamp(38px,10vw,50px);font-family:Allo,sans-serif;font-size:clamp(9.5px,1.2dvh,10px);font-weight:400;line-height:1.2}.char-info-stat-mystery,.char-stat-mystery{color:#53a3ae;font-family:Allo,sans-serif;font-size:clamp(9.5px,1.2dvh,10px);font-weight:400;line-height:1.2}.char-info-stat-segs,.char-stat-segments{align-items:center;gap:1px;display:flex}.char-stat-seg{background:#c1c1c1;border-radius:1px;flex-shrink:0;width:clamp(9px,2.6vw,12px);height:clamp(6px,.9dvh,8px);display:inline-block}.char-stat-seg.is-first{border-radius:6px 1px 1px}.char-stat-seg.is-last{border-radius:1px 1px 6px}.char-stat-seg.is-speed.is-filled,.char-stat-seg.is-speed.is-on{background:#f36309}.char-stat-seg.is-speed.is-half{background:linear-gradient(90deg,#f36309 50%,#c1c1c1 50%)}.char-stat-seg.is-stamina.is-filled,.char-stat-seg.is-stamina.is-on{background:#3db135}.char-stat-seg.is-stamina.is-half{background:linear-gradient(90deg,#3db135 50%,#c1c1c1 50%)}.char-stat-seg.is-magic.is-filled,.char-stat-seg.is-magic.is-on{background:#a030f6}.char-stat-seg.is-magic.is-half{background:linear-gradient(90deg,#a030f6 50%,#c1c1c1 50%)}.char-lock-btn{z-index:3;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;user-select:none;touch-action:manipulation;width:clamp(220px,66vw,282px);height:clamp(42px,6.2dvh,61px);font-family:var(--font-fantasy);color:#fff3d1;background:url(/brand/btn_lock_unlocked.svg) 50%/100% 100% no-repeat;border:none;outline:none;justify-content:center;align-items:center;margin-top:clamp(4px,.8dvh,8px);padding:0 clamp(14px,3.5vw,22px);font-size:clamp(18px,2.7dvh,25px);font-weight:400;transition:transform .12s,filter .12s;display:flex;position:relative}.char-lock-btn.is-locked{cursor:pointer;background-image:url(/brand/btn_lock_locked.svg)}.char-lock-btn span{font-family:var(--font-fantasy);background:linear-gradient(#ffe6ac 18.75%,#fff 70.83%);-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 1px #00000040);white-space:nowrap;-webkit-background-clip:text;font-size:clamp(18px,2.7dvh,25px);font-weight:400;line-height:1}.char-lock-btn:hover:not(:disabled){filter:brightness(1.08)}.char-lock-btn:active:not(:disabled){transform:scale(.97)}.char-select-picker-section{flex-direction:column;align-items:center;gap:clamp(6px,1.2dvh,14px);width:100%;margin-top:clamp(8px,1.4dvh,14px);display:flex}.char-select-subtitle{font-family:var(--font-fantasy);color:#fff;text-align:center;margin:0;font-size:clamp(16px,2.3dvh,20px);font-weight:400;line-height:1.1}.char-select-grid-wrap{justify-content:center;width:100%;display:flex;position:relative}.char-select-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,2.4vw,18px);width:min(338px,88vw,44dvh);display:grid;position:relative}#modalCharacterSelect:has(#charSelectAdSlot[style*="display: flex"]) .char-select-grid{width:min(338px,88vw,38dvh)}.char-portrait-tile{aspect-ratio:160/120;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;box-sizing:border-box;background:#12131a;border:none;width:100%;padding:0;transition:transform .12s,filter .12s;position:relative;overflow:hidden}.char-portrait-tile *{pointer-events:none}.char-portrait-img-wrap{pointer-events:none;position:absolute;inset:0;overflow:hidden}.char-portrait-tile.is-grim{border-radius:clamp(16px,2.6dvh,24px) 0}.char-portrait-tile.is-blink,.char-portrait-tile.is-gigahertz{border-radius:0 clamp(16px,2.6dvh,24px)}.char-portrait-tile.is-arma{border-radius:clamp(16px,2.6dvh,24px) 0}.char-portrait-tile.is-selected:after{content:"";border-radius:inherit;pointer-events:none;z-index:3;box-sizing:border-box;border:clamp(3px,.5dvh,4px) solid #32e4ff;position:absolute;inset:0}.char-portrait-tile:hover:not(:disabled){filter:brightness(1.08)}.char-portrait-tile.is-locked{cursor:pointer}.char-portrait-img{pointer-events:none;max-width:none;height:auto;display:block;position:absolute}.char-portrait-tile.is-grim .char-portrait-img{width:370%;height:auto;top:-55.833%;left:-120.625%}.char-portrait-tile.is-blink .char-portrait-img{width:358.7%;height:auto;top:-55.833%;left:-115%;transform:scaleX(-1)}.char-portrait-tile.is-gigahertz .char-portrait-img{width:175.1%;height:auto;top:-8.333%;left:-18%}.char-portrait-tile.is-arma .char-portrait-img{width:397.3%;height:auto;top:-55.833%;left:-134%;transform:scaleX(-1)}.char-portrait-name,.char-portrait-label{z-index:2;font-family:var(--font-fantasy);color:#fff;text-shadow:0 4px 12px #000;font-size:clamp(11px,1.6dvh,14px);font-weight:400;line-height:1;position:absolute}.char-portrait-tile.is-grim .char-portrait-name,.char-portrait-tile.is-grim .char-portrait-label{top:clamp(7px,1.1dvh,10px);left:clamp(8px,2.4vw,11px)}.char-portrait-tile.is-blink .char-portrait-name,.char-portrait-tile.is-blink .char-portrait-label{top:clamp(7px,1.1dvh,10px);right:clamp(8px,2.4vw,10px)}.char-portrait-tile.is-gigahertz .char-portrait-name,.char-portrait-tile.is-gigahertz .char-portrait-label{bottom:clamp(5px,.8dvh,6px);left:clamp(8px,2.4vw,11px)}.char-portrait-tile.is-arma .char-portrait-name,.char-portrait-tile.is-arma .char-portrait-label{bottom:clamp(5px,.8dvh,6px);right:clamp(9px,2.6vw,13px)}.char-random-btn,.char-random-tile{z-index:5;color:#eb9cbe;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;box-sizing:border-box;background:radial-gradient(circle at 50% 26%,#c567d1 0%,#432215 100%);border:none;border-radius:999px;justify-content:center;align-items:center;width:clamp(60px,9.2dvh,90px);height:clamp(60px,9.2dvh,90px);padding:0;transition:transform .12s,filter .12s,border-color .12s,color .12s;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 4px 14px #0000008c}.char-random-btn *,.char-random-tile *{pointer-events:none}.char-random-btn.is-selected,.char-random-tile.is-selected{color:#32e4ff;border:clamp(3px,.5dvh,4px) solid #32e4ff}.char-random-btn:hover:not(:disabled),.char-random-tile:hover:not(:disabled){filter:brightness(1.08)}.char-random-btn:active:not(:disabled),.char-random-tile:active:not(:disabled){transform:translate(-50%,-50%)scale(.95)}.char-random-btn.is-locked,.char-random-tile.is-locked{cursor:pointer}.char-random-dice-icon,.char-random-dice-svg{width:53.33%;height:53.33%;display:block}.char-select-lobby{flex-wrap:wrap;justify-content:center;gap:clamp(4px,.8dvh,6px);display:none}.char-lobby-pill{background:#ffffffa6;border:1.5px solid #271e1933;border-radius:999px;align-items:center;gap:clamp(4px,.8vw,6px);padding:clamp(3px,.5dvh,5px) clamp(7px,1.4vw,10px);font-size:clamp(10px,1.35dvh,12px);display:inline-flex}.char-lobby-pill.is-me{border-color:var(--brand-ink);font-weight:700}.char-lobby-pill.is-ready{background:#10b98124}.char-lobby-name{text-overflow:ellipsis;white-space:nowrap;max-width:clamp(64px,14vw,110px);overflow:hidden}.char-lobby-char{color:#271e19ad;font-size:.92em}.fantasy-screen{z-index:60;box-sizing:border-box;font-family:var(--font-body);color:#fff;touch-action:manipulation;background:0 0;flex-direction:column;justify-content:space-between;align-items:center;padding:clamp(20px,4dvh,48px) clamp(16px,4vw,32px);display:flex;position:fixed;inset:0;overflow:hidden}.fantasy-bg-overlay{opacity:.95;pointer-events:none;z-index:1;background-color:#0b0d14;background-image:linear-gradient(181.98deg,#000000b8 53.35%,#c44a0ab8 99.05%),url(/brand/bg_arena_dark.webp);background-position:50%;background-repeat:no-repeat;background-size:cover;transition:opacity 1.2s cubic-bezier(.16,1,.3,1),background 1.2s;position:fixed;inset:0}body.has-3d-bg .fantasy-bg-overlay{opacity:.85;background-color:#0000;background-image:radial-gradient(at 50% 40%,#0a0c1240 0%,#06070cc7 100%),linear-gradient(#0009 0%,#00000026 30%,#000000a6 100%)}#viewLoading[style*="display: none"]{display:none!important}#viewLoading.fantasy-screen{display:flex;width:100%!important;box-shadow:none!important;padding:clamp(20px, 4dvh, 48px) clamp(16px, 4vw, 32px) max(clamp(16px, 2.5dvh, 32px), env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;z-index:70!important;border-right:none!important;flex-direction:column!important;justify-content:space-between!important;align-items:center!important;position:fixed!important;inset:0!important}.fantasy-splash-content{z-index:2;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:clamp(20px,4dvh,40px);width:100%;max-width:402px;margin:auto;padding-bottom:clamp(16px,3dvh,32px);display:flex;position:relative}#viewLoading.fantasy-screen .fantasy-logo-3d{-o-object-fit:contain;object-fit:contain;width:min(338px,84vw);height:auto;max-height:clamp(200px,32dvh,280px)}#viewLoading.fantasy-screen .fantasy-load-box{width:min(250px,75vw);max-width:250px}#viewLoading.fantasy-screen .fantasy-footer{width:100%;max-width:402px;margin:0 auto}.fantasy-welcome-content{z-index:2;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:clamp(16px,3.8dvh,35px);width:100%;max-width:402px;padding:clamp(8px,1.5dvh,20px) 0;display:flex;position:relative}.fantasy-logo-welcome .fantasy-logo-3d{-o-object-fit:contain;object-fit:contain;filter:drop-shadow(-10px -10px 20px #f3b43280)drop-shadow(7px 3.5px 20px #079cff99);width:min(338px,84vw);height:auto;max-height:clamp(190px,31dvh,280px)}.fantasy-logo-wrap{justify-content:center;align-items:center;width:100%;display:flex;position:relative}@keyframes fantasyLogoFloat{0%,to{filter:drop-shadow(-8px -8px 18px #f3b4326b)drop-shadow(6px 4px 18px #079cff85);transform:translateY(0)scale(1)}50%{filter:drop-shadow(-10px -10px 22px #f3b43294)drop-shadow(8px 6px 22px #079cffad);transform:translateY(-4px)scale(1.02)}}.fantasy-logo-3d{-o-object-fit:contain;object-fit:contain;filter:drop-shadow(-8px -8px 18px #f3b43273)drop-shadow(6px 4px 18px #079cff8c);will-change:transform, filter;width:clamp(300px,82vw,380px);height:auto;max-height:clamp(220px,30dvh,300px);animation:3.8s ease-in-out infinite fantasyLogoFloat}@media (prefers-reduced-motion:reduce){.fantasy-logo-3d{animation:none}}.fantasy-load-box{flex-direction:column;gap:clamp(6px,1dvh,10px);width:min(300px,86vw);display:flex}.fantasy-load-header{font-family:var(--font-fantasy);color:#fff;letter-spacing:.28px;justify-content:space-between;align-items:baseline;font-size:clamp(13px,1.8dvh,16px);display:flex}.fantasy-pill-bar{box-sizing:border-box;background:#fff;border-radius:999px;width:100%;height:clamp(18px,2.4dvh,22px);padding:2px;box-shadow:0 0 14px #32e4ff59}.fantasy-pill-track{background:#1b1b1b;border-radius:999px;width:100%;height:100%;position:relative;overflow:hidden}.fantasy-pill-fill{background:linear-gradient(270deg,#32e4ff 0%,#1717fa 100%);border-radius:999px;width:0%;height:100%;transition:width .15s ease-out;box-shadow:0 0 8px #32e4ff}.fantasy-footer{z-index:2;width:100%;max-width:440px;font-family:var(--font-body);color:#ffffffd9;pointer-events:none;justify-content:space-between;align-items:center;font-size:clamp(12px,1.6dvh,15px);display:flex;position:relative}.fantasy-welcome-actions{flex-direction:column;align-items:center;gap:clamp(8px,1.4dvh,14px);width:100%;display:flex}.fantasy-welcome-skip{font-family:var(--font-fantasy);color:#ffffff8c;cursor:pointer;margin-top:clamp(6px,1dvh,10px);font-size:clamp(11px,1.4dvh,13px);text-decoration:underline;transition:color .15s;display:inline-block;position:static}.fantasy-welcome-skip:hover{color:#fff}.btn-fantasy-primary{cursor:pointer;box-sizing:border-box;width:min(305px,86vw);height:clamp(56px,7.5dvh,70px);font-family:var(--font-fantasy);color:#fff;text-shadow:0 1px 2px #0006;-webkit-user-select:none;user-select:none;touch-action:manipulation;white-space:nowrap;background:url(/brand/btn_fantasy_primary.svg) 50%/100% 100% no-repeat;border:none;outline:none;justify-content:center;align-items:center;padding:0 clamp(10px,3vw,18px);font-size:clamp(16px,2.3dvh,20px);transition:transform .12s,filter .12s;display:flex}.btn-fantasy-primary span{color:#fff;-webkit-text-fill-color:#fff;white-space:nowrap;background:0 0;line-height:1;display:inline-block}.btn-fantasy-primary:hover{filter:brightness(1.08)drop-shadow(0 0 12px #f20fd866)}.btn-fantasy-primary:active{transform:scale(.97)}.btn-stone-secondary{cursor:pointer;box-sizing:border-box;width:min(238px,65vw);height:clamp(48px,6.2dvh,54px);font-family:var(--font-fantasy);color:#fff;letter-spacing:.36px;-webkit-user-select:none;user-select:none;touch-action:manipulation;background:url(/brand/btn_stone_secondary.svg) 50%/100% 100% no-repeat;border:none;outline:none;justify-content:center;align-items:center;padding:0 clamp(12px,3vw,18px);font-size:clamp(15px,2.1dvh,18px);font-weight:400;transition:transform .12s,filter .12s;display:flex}.btn-stone-secondary:hover{filter:brightness(1.15)drop-shadow(0 0 10px #ffffff40)}.btn-stone-secondary:active{transform:scale(.97)}.fantasy-or-divider{width:min(238px,65vw);font-family:var(--font-fantasy);color:#fff;justify-content:center;align-items:center;gap:12px;margin:clamp(2px,.5dvh,4px) auto;font-size:clamp(13px,1.8dvh,15px);display:flex}.divider-line{background:#fff;flex:1;max-width:83px;height:1px}.divider-text{opacity:1;padding:0 4px}.fantasy-auth-screen{box-sizing:border-box;-webkit-backdrop-filter:blur(10px);z-index:65;-webkit-overflow-scrolling:touch;background:0 0;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;padding:clamp(12px,2.4dvh,24px) clamp(12px,3vw,20px);display:flex;position:fixed;inset:0;overflow-y:auto}.fantasy-auth-screen .fantasy-footer{box-sizing:border-box;padding:0 clamp(16px,4vw,28px);position:absolute;bottom:clamp(12px,2.2dvh,20px);left:0;right:0}.fantasy-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(10px);box-sizing:border-box;background:#06040aa6;flex-direction:column;justify-content:center;align-items:center;padding:clamp(12px,2.4dvh,24px) clamp(12px,3vw,20px);display:flex;position:fixed;inset:0;overflow-y:auto}.fantasy-modal-overlay .fantasy-footer{box-sizing:border-box;padding:0 clamp(16px,4vw,28px);position:absolute;bottom:clamp(12px,2.2dvh,20px);left:0;right:0}body:has(.fantasy-modal-overlay:not([style*="display: none"])) .fantasy-screen .fantasy-footer{opacity:0}.fantasy-modal-container{z-index:2;box-sizing:border-box;flex-direction:column;align-items:center;width:min(340px,92vw);margin:auto;display:flex;position:relative}.fantasy-modal-logo{z-index:5;pointer-events:none;justify-content:center;width:clamp(200px,54vw,246px);margin-bottom:clamp(-46px,-6dvh,-38px);display:flex;position:relative}.fantasy-modal-logo .fantasy-logo-3d{filter:drop-shadow(-6px -6px 14px #f3b43273)drop-shadow(6px 4px 14px #079cff8c);width:100%;height:auto;max-height:none}.fantasy-modal-card{box-sizing:border-box;filter:drop-shadow(0 14px 28px #000000a6);background:url(/brand/card_fantasy_bg.svg) 50%/100% 100% no-repeat;flex-direction:column;align-items:center;width:100%;padding:clamp(48px,6.2dvh,60px) clamp(18px,4.8vw,24px) clamp(16px,2.2dvh,22px);display:flex;position:relative;overflow:visible}.fantasy-modal-card-sm{width:min(340px,92vw);padding-bottom:clamp(24px,3.2dvh,32px)}.fantasy-card-pattern{opacity:1;pointer-events:none;z-index:1;background:url(/brand/pattern_card_fitted.svg) 50%/100% 100% no-repeat;position:absolute;inset:9px 8px}.fantasy-skip-link{font-family:var(--font-fantasy);color:#fff;cursor:pointer;text-shadow:0 2px 4px #000000d9;z-index:1005;font-size:clamp(13px,1.8dvh,15px);text-decoration:none;transition:opacity .15s;position:fixed;top:clamp(16px,2.8dvh,28px);right:clamp(16px,4.5vw,28px)}.fantasy-skip-link:hover{opacity:.85;text-decoration:underline}.fantasy-form{z-index:3;flex-direction:column;gap:clamp(6px,1.1dvh,9px);width:100%;margin-top:clamp(6px,1dvh,10px);display:flex;position:relative}.fantasy-field{flex-direction:column;gap:3px;width:100%;display:flex}.fantasy-label-row{justify-content:space-between;align-items:baseline;width:100%;display:flex}.fantasy-label{font-family:var(--font-body);color:#4f4962;font-size:clamp(13px,1.8dvh,15px);font-weight:500}.fantasy-action-link{cursor:pointer;font-family:var(--font-body);color:#1717fa;background:0 0;border:none;padding:0;font-size:clamp(11px,1.5dvh,13px);font-weight:600;text-decoration:underline}.fantasy-action-link:hover{color:#0c0cc7}.fantasy-input{width:100%;height:clamp(38px,4.8dvh,44px);font-family:var(--font-body);color:#1b1b1b;box-sizing:border-box;background:#fff;border:2px solid #4f4962;border-radius:8px;outline:none;padding:0 12px;font-size:clamp(13px,1.8dvh,15px);transition:border-color .15s,box-shadow .15s}.fantasy-input::placeholder{color:#9e9baa}.fantasy-input:focus{border-color:#328bff;box-shadow:0 0 6px #328bff66}.fantasy-input.has-error{border-color:#fe6b19!important}.fantasy-strength-box{font-family:var(--font-body);gap:6px;font-size:11px;font-weight:600;display:flex}.strength-tag{color:#8c8899;opacity:.38;transition:opacity .2s,color .2s}.strength-tag#tagStrengthWeak.is-active{color:#f70505;opacity:1}.strength-tag#tagStrengthGood.is-active{color:#355aff;opacity:1}.strength-tag#tagStrengthStrong.is-active{color:#297f0a;opacity:1}.fantasy-mismatch-tag{font-family:var(--font-body);color:#f70505;font-size:11px;font-weight:600}.fantasy-error-msg{min-height:1.1em;font-family:var(--font-body);color:#d01a00;text-align:center;font-size:12px;font-weight:600}.fantasy-modal-card .btn-fantasy-primary{width:min(287px,100%);height:clamp(50px,6.4dvh,56px);margin:clamp(8px,1.2dvh,14px) auto 0;font-size:clamp(19px,2.5dvh,22px)}.fantasy-modal-card .btn-stone-secondary{width:min(236px,85%);height:clamp(44px,5.6dvh,49px);margin:clamp(8px,1.2dvh,14px) auto 0;font-size:clamp(15px,2dvh,18px)}.fantasy-social-block{z-index:3;flex-direction:column;align-items:center;gap:clamp(6px,1dvh,8px);width:100%;margin-top:clamp(8px,1.2dvh,12px);display:flex;position:relative}.fantasy-social-title{font-family:var(--font-fantasy);color:#2868a8;font-size:clamp(12px,1.6dvh,14px)}.fantasy-social-row{justify-content:center;align-items:center;gap:clamp(10px,2.5vw,16px);display:flex}.btn-social-circle{cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;filter:drop-shadow(0 2px 5px #0003);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:clamp(40px,5.2dvh,44px);height:clamp(40px,5.2dvh,44px);padding:0;transition:transform .12s,filter .12s;display:flex}.btn-social-circle:hover{filter:drop-shadow(0 3px 8px #0000004d);transform:scale(1.08)}.btn-social-circle:active{transform:scale(.95)}.btn-social-circle img{-o-object-fit:contain;object-fit:contain;width:100%;height:100%}.fantasy-switch-auth{z-index:3;flex-direction:column;align-items:center;gap:clamp(5px,.8dvh,8px);width:100%;margin-top:clamp(10px,1.5dvh,16px);display:flex;position:relative}.fantasy-switch-prompt{font-family:var(--font-fantasy);color:#fff;text-shadow:0 2px 4px #000000d9;margin:0;font-size:clamp(13px,1.8dvh,15px)}.fantasy-switch-auth .btn-stone-secondary{width:min(236px,80vw);height:clamp(44px,5.6dvh,49px);margin:0 auto;font-size:clamp(15px,2dvh,18px)}.fantasy-welcome-skip{text-align:center;width:100%;margin-top:clamp(14px,2.2dvh,20px);display:inline-block;position:static}.fantasy-modal-card-terms{box-sizing:border-box;flex-direction:column;width:min(380px,94vw);max-height:min(90dvh,660px);padding-top:clamp(24px,3.6dvh,34px);display:flex}.fantasy-modal-title{font-family:var(--font-fantasy);color:#f7ecb5;text-align:center;text-shadow:0 2px 6px #000000e6;letter-spacing:.04em;z-index:3;margin:clamp(4px,.8dvh,8px) 0 clamp(2px,.4dvh,4px);font-size:clamp(20px,2.8dvh,26px);position:relative}.fantasy-modal-subtitle{font-family:var(--font-body);color:#adc5cf;text-align:center;z-index:3;margin:0 0 clamp(10px,1.6dvh,14px);font-size:clamp(11.5px,1.55dvh,13.5px);line-height:1.35;position:relative}.fantasy-terms-body{overscroll-behavior:contain;height:clamp(160px,28dvh,260px);max-height:clamp(160px,28dvh,260px);font-family:var(--font-body);color:#e0e8ed;text-align:left;z-index:3;background:#080e16d9;border:1px solid #64c8f052;border-radius:12px;flex:auto;margin-bottom:clamp(12px,1.8dvh,16px);padding:clamp(10px,1.6dvh,14px) clamp(12px,2.5vw,16px);font-size:clamp(11.5px,1.5dvh,13px);line-height:1.5;position:relative;box-shadow:inset 0 2px 8px #0009;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;overflow-y:scroll!important}.fantasy-terms-body::-webkit-scrollbar{width:clamp(4px,1vw,6px)}.fantasy-terms-body::-webkit-scrollbar-track{background:#0006;border-radius:4px}.fantasy-terms-body::-webkit-scrollbar-thumb{background:#64c8f066;border-radius:4px}.fantasy-terms-body::-webkit-scrollbar-thumb:hover{background:#64c8f0b3}.fantasy-terms-body h4{font-family:var(--font-fantasy);color:gold;letter-spacing:.02em;margin:clamp(10px,1.4dvh,14px) 0 3px;font-size:clamp(12.5px,1.6dvh,14.5px)}.fantasy-terms-body h4:first-child{margin-top:0}.fantasy-terms-body p{color:#c4d6df;margin:0 0 clamp(6px,.9dvh,8px)}.fantasy-terms-links{border-top:1px dashed #64c8f040;padding-top:clamp(6px,1dvh,10px);font-size:clamp(11px,1.45dvh,12.5px);margin-top:clamp(8px,1.2dvh,12px)!important}.fantasy-terms-links a{color:#55d0ff;text-decoration:underline}.fantasy-terms-links a:hover{color:#8be4ff}.fantasy-terms-actions{z-index:3;flex-direction:column;gap:clamp(8px,1.3dvh,11px);width:100%;display:flex;position:relative}.fantasy-dialog-overlay{-webkit-backdrop-filter:blur(10px);box-sizing:border-box;z-index:1020;background:#06040ac7;justify-content:center;align-items:center;width:100vw;height:100dvh;padding:clamp(16px,3vw,24px);display:flex;position:fixed;inset:0}.fantasy-dialog-card{filter:drop-shadow(0 14px 28px #000c);box-sizing:border-box;text-align:center;background:url(/brand/card_fantasy_bg.svg) 50%/100% 100% no-repeat;flex-direction:column;align-items:center;width:min(340px,92vw);padding:clamp(24px,3.5dvh,32px) clamp(18px,4.5vw,24px) clamp(20px,3dvh,26px);display:flex}.fantasy-dialog-title{font-family:var(--font-fantasy);color:#f7ecb5;text-shadow:0 2px 6px #000000e6;margin:0 0 clamp(8px,1.2dvh,12px);font-size:clamp(18px,2.4dvh,22px)}.fantasy-dialog-desc{font-family:var(--font-body);color:#adc5cf;margin:0 0 clamp(16px,2.4dvh,22px);font-size:clamp(12.5px,1.65dvh,14px);line-height:1.45}.fantasy-dialog-actions{flex-direction:column;gap:clamp(10px,1.4dvh,12px);width:100%;display:flex}.fantasy-dialog-actions .btn-fantasy-primary,.fantasy-dialog-actions .btn-stone-secondary{width:100%}#confirmLoginTitle{color:#202020;text-shadow:0 1px #ffffffd9;margin-bottom:clamp(16px,2.4dvh,22px)}#viewMenu.fantasy-menu-screen{-webkit-overflow-scrolling:touch;box-sizing:border-box;touch-action:manipulation;z-index:10;flex-direction:column;justify-content:space-between;align-items:center;width:100%;height:100%;display:none;position:fixed;inset:0;overflow-y:auto;padding:max(clamp(12px, 2.2dvh, 28px), env(safe-area-inset-top,0px)) max(clamp(16px, 4vw, 32px), env(safe-area-inset-right,0px)) max(clamp(12px, 2dvh, 24px), env(safe-area-inset-bottom,0px)) max(clamp(16px, 4vw, 32px), env(safe-area-inset-left,0px))!important;background:0 0!important}#viewMenu.fantasy-menu-screen.active{pointer-events:auto;display:flex!important}#viewMenu.fantasy-menu-screen:not(.active),#viewAuthWelcome[style*="display: none"]{display:none!important}body:has(#viewMenu.active) #viewAuthWelcome{display:none!important}body:has(#viewAuthWelcome[style*="display: flex"]) #viewMenu{display:none!important}@media (width>=860px){#viewMenu.fantasy-menu-screen.active{width:100%!important;height:100%!important;box-shadow:none!important;background:0 0!important;border-right:none!important;justify-content:space-between!important;align-items:center!important;padding-left:clamp(16px,4vw,32px)!important;display:flex!important;position:fixed!important;inset:0!important}}.fantasy-menu-content{z-index:2;box-sizing:border-box;flex-direction:column;align-items:center;width:100%;max-width:400px;margin:auto;display:flex;position:relative}.fantasy-menu-topbar{z-index:10;box-sizing:border-box;justify-content:flex-end;width:min(340px,92vw);padding:0 4px clamp(4px,.8dvh,8px);display:flex;position:relative}.fantasy-menu-auth-link{font-family:var(--font-fantasy);color:#fff;cursor:pointer;letter-spacing:.2px;opacity:.95;white-space:nowrap;font-size:clamp(13px,1.8dvh,15px);text-decoration:none;transition:opacity .15s,text-shadow .15s}.fantasy-menu-auth-link:hover{opacity:1;text-shadow:0 0 8px #fff9}.fantasy-menu-card-wrap{box-sizing:border-box;flex-direction:column;align-items:center;width:min(340px,92vw);display:flex;position:relative}.fantasy-menu-logo{z-index:5;pointer-events:none;justify-content:center;width:clamp(180px,50vw,215px);margin-bottom:clamp(-46px,-6.5dvh,-38px);display:flex;position:relative}.fantasy-menu-logo .fantasy-logo-3d{filter:drop-shadow(4px 2px 6px #079cff99)drop-shadow(-4px -2px 10px #f3b43266);will-change:transform, filter;width:100%;height:auto;max-height:clamp(110px,18dvh,160px);animation:3.8s ease-in-out infinite fantasyLogoFloat}.fantasy-menu-card{box-sizing:border-box;filter:drop-shadow(0 14px 28px #000000a6);background:url(/brand/card_menu_bg.svg) 50%/100% 100% no-repeat;flex-direction:column;align-items:center;width:100%;padding:clamp(48px,6.5dvh,58px) clamp(16px,4.5vw,20px) clamp(16px,2.4dvh,22px);display:flex;position:relative;overflow:visible}.fantasy-menu-pattern{opacity:1;pointer-events:none;z-index:1;background:url(/brand/card_menu_pattern.svg) 50%/100% 100% no-repeat;position:absolute;inset:8px}.fantasy-menu-card-body{z-index:2;text-align:center;box-sizing:border-box;flex-direction:column;align-items:center;width:100%;display:flex;position:relative}.fantasy-menu-welcome{font-family:var(--font-cormorant);color:#311405;margin:0;font-size:clamp(17px,2.4dvh,20px);font-weight:400;line-height:1.2}.fantasy-menu-username-btn{cursor:pointer;touch-action:manipulation;background:0 0;border:none;outline:none;justify-content:center;align-items:center;max-width:100%;margin:clamp(2px,.4dvh,6px) 0;padding:0;transition:transform .12s;display:inline-flex}.fantasy-menu-username-btn:hover{transform:scale(1.03)}.fantasy-menu-username-btn:active{transform:scale(.97)}.fantasy-menu-username{font-family:var(--font-fantasy);background:linear-gradient(#f20fd8 31.25%,#1717fa 100%);-webkit-text-fill-color:transparent;filter:drop-shadow(0 1.2px #fff);white-space:nowrap;text-overflow:ellipsis;-webkit-background-clip:text;max-width:clamp(220px,60vw,290px);font-size:clamp(24px,3.5dvh,30px);font-weight:400;line-height:1.15;display:block;overflow:hidden}.fantasy-menu-rank{font-family:var(--font-cormorant);color:#311405;justify-content:center;align-items:center;gap:8px;margin:0 0 clamp(10px,1.6dvh,16px);font-size:clamp(18px,2.7dvh,24px);font-weight:400;line-height:1.2;display:flex}.fantasy-menu-rank-dot{opacity:.75}.btn-menu-ranked{cursor:pointer;box-sizing:border-box;-webkit-user-select:none;user-select:none;touch-action:manipulation;background:url(/brand/btn_play_ranked.svg) 50%/100% 100% no-repeat;border:none;outline:none;justify-content:center;align-items:center;width:clamp(270px,78vw,305px);height:clamp(62px,8.4dvh,72px);padding:0 clamp(12px,3vw,20px);transition:transform .12s,filter .12s;display:flex}.btn-menu-ranked span{font-family:var(--font-fantasy);background:linear-gradient(#fff 29.17%,#ffe6ac 81.25%);-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 1px #00000040);white-space:nowrap;-webkit-background-clip:text;font-size:clamp(24px,3.4dvh,32px);line-height:1;display:inline-block}.btn-menu-ranked:hover{filter:brightness(1.08)drop-shadow(0 0 12px #ff9c3973)}.btn-menu-ranked:active{transform:scale(.97)}.fantasy-menu-actions{z-index:2;box-sizing:border-box;flex-direction:column;align-items:stretch;gap:clamp(10px,1.4dvh,16px);width:clamp(270px,78vw,305px);margin-top:clamp(12px,1.8dvh,20px);display:flex;position:relative}.btn-menu-brown{cursor:pointer;box-sizing:border-box;height:clamp(48px,6.8dvh,60px);font-family:var(--font-fantasy);color:#fff;letter-spacing:.48px;text-align:center;-webkit-user-select:none;user-select:none;touch-action:manipulation;background:linear-gradient(#80563c 0%,#4f331d 100%);border:4px solid #fff;border-radius:12px;outline:none;justify-content:center;align-items:center;font-size:clamp(18px,2.6dvh,24px);line-height:1;transition:transform .12s,filter .12s;display:flex;box-shadow:0 4px 14px #00000073}.btn-menu-brown:hover{filter:brightness(1.1)drop-shadow(0 0 10px #ffffff4d)}.btn-menu-brown:active{transform:scale(.97)}.btn-menu-practice{width:100%;height:clamp(52px,6.8dvh,60px);font-size:clamp(20px,2.7dvh,24px)}.fantasy-menu-btn-row{align-items:center;gap:clamp(10px,2.5vw,16px);width:100%;display:flex}.btn-menu-remove-ads{white-space:nowrap;flex:1.35;height:clamp(52px,6.8dvh,60px);font-size:clamp(18px,2.4dvh,24px)}.btn-menu-settings{white-space:nowrap;flex:1;height:clamp(52px,6.8dvh,60px);font-size:clamp(18px,2.4dvh,24px)}.fantasy-menu-ad-stub{z-index:2;box-sizing:border-box;-webkit-user-select:none;user-select:none;background:#d9d9d9;justify-content:center;align-items:center;width:min(360px,92vw);height:clamp(64px,9.5dvh,92px);margin-top:clamp(12px,1.8dvh,20px);display:flex;position:relative}.fantasy-menu-ad-box{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.fantasy-menu-ad-text{font-family:var(--font-cormorant);color:#000;letter-spacing:.5px;text-align:center;font-size:clamp(18px,2.8dvh,24px);font-weight:700;line-height:1}.fantasy-menu-footer{z-index:2;color:#fffffff2;pointer-events:none;justify-content:space-between;align-items:center;width:min(344px,90vw);margin-top:auto;padding-top:clamp(8px,1.4dvh,16px);font-family:Allo,sans-serif;font-size:clamp(13px,1.7dvh,15px);display:flex;position:relative}#modalQueue.fantasy-queue-screen{box-sizing:border-box;-webkit-backdrop-filter:blur(10px);pointer-events:auto;flex-direction:column;justify-content:space-between;align-items:center;width:100%;height:100%;display:flex;position:fixed;inset:0;overflow:hidden;z-index:1015!important;padding:clamp(12px, 2.2dvh, 28px) clamp(16px, 4vw, 32px) max(clamp(12px, 2dvh, 24px), env(safe-area-inset-bottom,0px))!important;background:0 0!important}#modalQueue.fantasy-queue-screen[style*="display: none"]{display:none!important}@media (width>=860px){#modalQueue.fantasy-queue-screen{width:100%!important;height:100%!important;box-shadow:none!important;background:0 0!important;border-right:none!important;justify-content:space-between!important;align-items:center!important;position:fixed!important;inset:0!important}}.fantasy-queue-content{z-index:2;box-sizing:border-box;flex-direction:column;align-items:center;width:100%;max-width:400px;margin:auto;display:flex;position:relative}.fantasy-queue-logo{z-index:5;pointer-events:none;justify-content:center;width:clamp(180px,50vw,215px);margin-bottom:clamp(-46px,-6.5dvh,-38px);display:flex;position:relative}.fantasy-queue-logo .fantasy-logo-3d{filter:drop-shadow(4px 2px 6px #079cff99)drop-shadow(-4px -2px 10px #f3b43266);will-change:transform, filter;width:100%;height:auto;max-height:clamp(110px,18dvh,160px);animation:3.8s ease-in-out infinite fantasyLogoFloat}.fantasy-queue-card{box-sizing:border-box;filter:drop-shadow(0 14px 28px #000000a6);background:url(/brand/card_menu_bg.svg) 50%/100% 100% no-repeat;flex-direction:column;align-items:center;width:min(340px,92vw);padding:clamp(52px,7.2dvh,64px) clamp(16px,4.5vw,24px) clamp(22px,3.2dvh,30px);display:flex;position:relative;overflow:visible}.fantasy-queue-card-body{z-index:2;text-align:center;box-sizing:border-box;flex-direction:column;align-items:center;width:100%;display:flex;position:relative}.fantasy-queue-icon{pointer-events:none;justify-content:center;align-items:center;width:clamp(44px,6.2dvh,52px);height:clamp(44px,6.2dvh,52px);margin-bottom:clamp(10px,1.4dvh,16px);display:flex}.fantasy-queue-icon img{-o-object-fit:contain;object-fit:contain;width:100%;height:100%;display:block}.fantasy-queue-title{font-family:var(--font-cormorant);color:#311405;text-align:center;letter-spacing:.2px;margin:0 0 clamp(4px,.6dvh,6px);font-size:clamp(28px,4.2dvh,36px);font-weight:700;line-height:1.1}.fantasy-queue-rank{font-family:var(--font-cormorant);color:#311405;text-align:center;margin:0;font-size:clamp(20px,2.8dvh,24px);font-weight:400;line-height:1.2}.fantasy-queue-actions{z-index:2;box-sizing:border-box;flex-direction:column;align-items:stretch;width:clamp(270px,78vw,305px);margin-top:clamp(14px,2.2dvh,24px);display:flex;position:relative}.btn-queue-cancel{width:100%;height:clamp(52px,6.8dvh,60px);font-size:clamp(20px,2.7dvh,24px)}.fantasy-queue-ad-stub{margin-top:clamp(12px,1.8dvh,20px)}.fantasy-queue-footer{z-index:2;color:#fffffff2;pointer-events:none;justify-content:space-between;align-items:center;width:min(344px,90vw);margin-top:auto;padding-top:clamp(8px,1.4dvh,16px);font-family:Allo,sans-serif;font-size:clamp(13px,1.7dvh,15px);display:flex;position:relative}.fantasy-stage-marker{pointer-events:none!important;opacity:0!important;width:0!important;height:0!important;position:fixed!important;overflow:hidden!important}#fantasySharedStage.fantasy-shared-stage{z-index:60;-webkit-overflow-scrolling:touch;box-sizing:border-box;pointer-events:auto;flex-direction:column;justify-content:space-between;align-items:center;width:100%;height:100%;display:flex;position:fixed;inset:0;overflow-y:auto;padding:max(clamp(12px, 2.2dvh, 28px), env(safe-area-inset-top,0px)) max(clamp(16px, 4vw, 32px), env(safe-area-inset-right,0px)) max(clamp(12px, 2dvh, 24px), env(safe-area-inset-bottom,0px)) max(clamp(16px, 4vw, 32px), env(safe-area-inset-left,0px))!important;background:0 0!important}#fantasySharedStage[style*="display: none"]{display:none!important}.fantasy-stage-content{z-index:2;box-sizing:border-box;flex-direction:column;align-items:center;width:100%;max-width:400px;margin:auto;display:flex;position:relative}.fantasy-stage-topbar{z-index:10;box-sizing:border-box;justify-content:flex-end;align-items:center;width:min(340px,92vw);min-height:clamp(22px,3dvh,28px);padding:0 4px clamp(4px,.8dvh,8px);display:flex;position:relative}.fantasy-stage-topbar .fantasy-skip-link{margin:0;padding:0;position:static}.fantasy-shared-card-wrap{flex-direction:column;align-items:center;width:min(340px,92vw);margin-top:clamp(32px,5dvh,52px);display:flex;position:relative}.fantasy-shared-logo{z-index:4;pointer-events:none;justify-content:center;margin-bottom:calc(-1*clamp(42px,6dvh,58px));display:flex;position:relative}.fantasy-shared-logo .fantasy-logo-3d{filter:drop-shadow(4px 2px 6px #079cff99)drop-shadow(-4px -2px 10px #f3b43266);will-change:transform, filter;width:clamp(148px,40vw,198px);height:auto;max-height:clamp(110px,18dvh,160px);animation:3.8s ease-in-out infinite fantasyLogoFloat}.fantasy-shared-card{box-sizing:border-box;filter:drop-shadow(0 14px 28px #000000a6);flex-direction:column;align-items:center;width:100%;padding:clamp(50px,6.8dvh,62px) clamp(16px,4.5vw,22px) clamp(18px,2.6dvh,24px);display:flex;position:relative;overflow:hidden}.fantasy-stage-pane{z-index:2;box-sizing:border-box;flex-direction:column;align-items:center;width:100%;display:flex;position:relative}.fantasy-auth-pane{text-align:center;gap:clamp(8px,1.4dvh,14px)}.fantasy-shared-card .btn-fantasy-primary,.fantasy-shared-card .btn-stone-secondary{width:100%}.fantasy-stage-actions{z-index:2;flex-direction:column;align-items:center;width:100%;display:flex;position:relative}.fantasy-stage-action-group{flex-direction:column;align-items:stretch;width:clamp(270px,78vw,305px);display:flex}.fantasy-stage-action-group.fantasy-switch-auth{align-items:center;margin-top:clamp(12px,1.8dvh,18px)}#fantasySharedStage[data-stage-state=settings] .fantasy-shared-card-wrap{margin-top:0}#fantasySharedStage[data-stage-state=settings] .fantasy-shared-card{padding:clamp(26px,4.2dvh,41px) clamp(18px,5vw,24px) clamp(24px,3.6dvh,34px)}.fantasy-settings-pane{align-items:center;gap:clamp(14px,2.2dvh,20px)}.fantasy-settings-title{font-family:var(--font-fantasy);color:#202020;text-shadow:0 1.25px #fff;text-align:center;margin:0;font-size:clamp(24px,3.5dvh,30px);font-weight:400;line-height:1.15}.fantasy-settings-list{box-sizing:border-box;flex-direction:column;gap:clamp(10px,1.5dvh,14px);width:100%;display:flex}.fantasy-settings-row{box-sizing:border-box;justify-content:space-between;align-items:center;gap:clamp(8px,2vw,12px);width:100%;padding:0 clamp(8px,2.5vw,12px);display:flex}.fantasy-settings-group{box-sizing:border-box;flex-direction:column;gap:clamp(6px,.9dvh,8px);width:100%;display:flex}.fantasy-settings-group>.fantasy-settings-label{padding-left:clamp(8px,2.5vw,12px)}.fantasy-settings-label{font-family:var(--font-body);color:#323232;text-align:left;font-size:clamp(14px,1.9dvh,16px);font-weight:400;line-height:1.2}.settings-pill-toggle{cursor:pointer;font-family:var(--font-body);color:#a7785b;touch-action:manipulation;background:#80563c;border:none;border-radius:999px;flex-shrink:0;justify-content:flex-end;align-items:center;gap:clamp(4px,1vw,6px);padding:clamp(3px,.45dvh,4px) clamp(8px,2vw,10px) clamp(3px,.45dvh,4px) clamp(3px,.45dvh,4px);font-size:clamp(13px,1.8dvh,16px);line-height:1;transition:background-color .16s,color .16s;display:inline-flex}.settings-pill-toggle.is-on{color:#fff;background:#eb620e;flex-direction:row-reverse;padding:clamp(3px,.45dvh,4px) clamp(3px,.45dvh,4px) clamp(3px,.45dvh,4px) clamp(8px,2vw,10px)}.settings-pill-knob{background:#fff;border-radius:50%;flex-shrink:0;width:clamp(16px,2.2dvh,20px);height:clamp(16px,2.2dvh,20px)}.settings-pill-state{text-align:center;min-width:2.1ch}.settings-pill-segment{box-sizing:border-box;background:#80563c;border-radius:999px;justify-content:space-between;align-items:center;gap:clamp(2px,.6vw,4px);width:100%;padding:clamp(3px,.45dvh,4px);display:flex}.settings-pill-segment>button{min-width:0;font-family:var(--font-body);color:#dca482;cursor:pointer;text-align:center;white-space:nowrap;touch-action:manipulation;background:0 0;border:none;border-radius:999px;flex:1 1 0;padding:clamp(6px,.95dvh,8px) clamp(4px,1.5vw,10px);font-size:clamp(12.5px,1.8dvh,16px);font-weight:400;line-height:1.2;transition:background-color .16s,color .16s}.settings-pill-segment>button.is-active{color:#fff;background:#eb620e}.fantasy-stage-action-group.fantasy-settings-actions{margin-top:clamp(16px,2.4dvh,24px)}.fantasy-settings-diagnostics{color:#5c3e2b;opacity:.8;word-break:break-word;padding-left:clamp(8px,2.5vw,12px);font-size:clamp(11px,1.4dvh,13px)}.fantasy-settings-legal-row{font-family:var(--font-body);border-top:1px solid #80563c38;flex-wrap:wrap;justify-content:center;align-items:center;gap:clamp(6px,1.6vw,10px);margin-top:clamp(4px,.8dvh,8px);padding-top:clamp(10px,1.5dvh,14px);font-size:clamp(12px,1.55dvh,14px);line-height:1.2;display:flex}.fantasy-settings-legal-link{color:#80563c;text-underline-offset:2px;text-decoration:underline;transition:color .14s}.fantasy-settings-legal-link:hover,.fantasy-settings-legal-link:active{color:#eb620e}.fantasy-settings-legal-sep{color:#80563c73}.btn-settings-back{width:100%;height:clamp(50px,6.8dvh,60px);font-size:clamp(19px,2.6dvh,24px)}#fantasySharedStage[data-stage-state=profile] .fantasy-shared-card-wrap{margin-top:0}#fantasySharedStage[data-stage-state=profile] .fantasy-shared-card{padding:clamp(30px,4.8dvh,44px) clamp(18px,5vw,25px) clamp(30px,5.2dvh,52px)}.fantasy-profile-pane{flex-direction:column;align-items:center;gap:clamp(12px,1.9dvh,18px);width:100%;display:flex}.profile-stage-header{text-align:center;flex-direction:column;align-items:center;width:100%;display:flex}.profile-leaderboard-line{font-family:var(--font-body);color:#565656;text-shadow:0 1.25px #fff;margin:0;font-size:clamp(11.5px,1.45dvh,12.5px);line-height:1.3}.profile-leaderboard-line strong{font-weight:600}.profile-leaderboard-link{font:inherit;color:#565656;text-underline-offset:2px;cursor:pointer;touch-action:manipulation;background:0 0;border:none;margin:0;padding:0;text-decoration:underline}.profile-leaderboard-link:hover,.profile-leaderboard-link:active{color:#1717fa}.profile-username-display{max-width:100%;margin:clamp(2px,.35dvh,4px) 0 0;font-size:clamp(26px,3.6dvh,30px)}.profile-rank-block{flex-direction:column;align-items:center;gap:clamp(5px,.95dvh,8px);margin-top:clamp(2px,.45dvh,5px);display:flex}.profile-rank-mmr{font-family:var(--font-cormorant);color:#311405;white-space:pre;margin:0;font-size:clamp(19px,2.55dvh,22px);font-weight:600;line-height:1.15}.profile-next-rank{font-family:var(--font-body);color:gray;text-shadow:0 1.25px #fff;margin:0;font-size:clamp(11.5px,1.45dvh,12.5px);font-weight:400;line-height:1.25}.profile-pill-tabs{box-sizing:border-box;background:#dbdbdb;border-radius:999px;align-items:center;width:100%;padding:clamp(3px,.45dvh,4px);display:flex}.profile-pill-tab{min-width:0;font-family:var(--font-body);color:#5f5f5f;cursor:pointer;text-align:center;white-space:nowrap;touch-action:manipulation;background:0 0;border:none;border-radius:999px;flex:1 1 0;padding:clamp(7px,1dvh,9px) clamp(8px,2.5vw,12px);font-size:clamp(14px,1.85dvh,16px);font-weight:400;line-height:1.2;transition:background-color .16s,color .16s}.profile-pill-tab.active{color:#fff;background:#606060;font-weight:700}.profile-tab-content{flex-direction:column;gap:clamp(12px,1.85dvh,16px);width:100%;display:flex}.profile-winrate-card{box-sizing:border-box;background:#fff;border:1px solid #dbdbdb;border-radius:8px;justify-content:center;align-items:center;gap:clamp(18px,5.5vw,24px);width:100%;min-height:clamp(78px,11.2dvh,98px);padding:clamp(10px,1.5dvh,14px) clamp(12px,3.2vw,16px);display:flex}.profile-winrate-value{font-family:var(--font-fantasy);color:#1717fa;flex-shrink:0;font-size:clamp(40px,5.6dvh,48px);font-weight:400;line-height:1.1}.profile-winrate-meta{text-align:left;flex-direction:column;align-items:flex-start;line-height:1.3;display:flex}.profile-winrate-title{font-family:var(--font-body);color:#2f2f2f;font-size:clamp(13px,1.75dvh,14px);font-weight:700}.profile-winrate-races{font-family:var(--font-body);color:#606060;font-size:clamp(11.5px,1.5dvh,12.5px);font-weight:400}.profile-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,3.2vw,15px);width:100%;display:grid}.profile-stat-card{text-align:center;box-sizing:border-box;background:#fff;border:1px solid #dbdbdb;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;min-height:clamp(74px,10.2dvh,89px);padding:clamp(10px,1.5dvh,12px) clamp(8px,2.2vw,12px) clamp(12px,1.9dvh,16px);display:flex}.profile-stat-value{font-family:var(--font-fantasy);color:#2f2f2f;font-size:clamp(24px,3.3dvh,28px);font-weight:400;line-height:1.15}.profile-stat-label{font-family:var(--font-body);color:#606060;margin-top:clamp(2px,.4dvh,4px);font-size:clamp(12.5px,1.65dvh,14px);font-weight:700;line-height:1.25}.history-subtitle{font-family:var(--font-fantasy);color:#202020;text-align:center;margin:0;font-size:clamp(14px,1.9dvh,16px);font-weight:400;line-height:1.2}.fantasy-profile-pane .match-history-container{box-sizing:border-box;flex-direction:column;gap:clamp(6px,.9dvh,8px);width:100%;max-height:clamp(230px,41dvh,360px);padding-right:2px;display:flex;overflow-y:auto}.history-row{box-sizing:border-box;justify-content:space-between;align-items:center;gap:clamp(8px,2vw,12px);width:100%;padding:clamp(6px,.9dvh,8px) 0;display:flex}.history-row-left{align-items:center;gap:clamp(10px,2.8vw,12px);min-width:0;display:flex}.history-place-circle{color:#fff;width:clamp(38px,5.1dvh,44px);height:clamp(38px,5.1dvh,44px);font-family:var(--font-fantasy);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;font-weight:400;display:flex}.history-place-circle.is-place-1{background:#f36309}.history-place-circle.is-place-2{background:#3db135}.history-place-circle.is-place-3{background:#a030f6}.history-place-circle.is-place-other{background:#606060}.history-place-num{font-size:clamp(17px,2.3dvh,20px);line-height:1}.history-place-suffix{font-size:clamp(11px,1.48dvh,12.9px)}.history-row-meta{flex-direction:column;justify-content:center;align-items:flex-start;gap:clamp(2px,.45dvh,4px);min-width:0;display:flex}.history-row-speed{font-family:var(--font-body);color:#606060;margin:0;font-size:clamp(10.5px,1.35dvh,11.5px);font-weight:400;line-height:1.2}.history-row-streak{font-family:var(--font-body);color:#2f2f2f;margin:0;font-size:clamp(11px,1.45dvh,12px);font-weight:600;line-height:1.2}.history-row-date{font-family:var(--font-body);color:#a8a8a8;margin:0;font-size:clamp(10.5px,1.35dvh,11.5px);font-weight:400;line-height:1.2}.history-mmr-pill{font-family:var(--font-fantasy);color:#fff;white-space:nowrap;border-radius:99px;flex-shrink:0;padding:clamp(5px,.75dvh,7px) clamp(8px,2.2vw,10px);font-size:clamp(11px,1.45dvh,12px);font-weight:400;line-height:1}.history-mmr-pill.rp-plus{background:#3db135}.history-mmr-pill.rp-minus{background:#ff1a1a}.history-mmr-pill.rp-neutral{background:#b8b8b8}.fantasy-profile-pane .history-empty{color:#606060;text-align:center;font-family:var(--font-body);background:#fff;border:1px solid #dbdbdb;border-radius:8px;padding:clamp(16px,2.5dvh,24px) 12px;font-size:clamp(12px,1.6dvh,14px)}.settings-pill-tabs{margin-bottom:clamp(2px,.4dvh,4px)}.settings-account-pane{box-sizing:border-box;flex-direction:column;gap:clamp(10px,1.5dvh,14px);width:100%;max-height:clamp(260px,46dvh,400px);display:flex;overflow-y:auto}.settings-account-pane .account-section{box-sizing:border-box;background:#fff;border:1px solid #dbdbdb;border-radius:8px;flex-direction:column;gap:clamp(6px,1dvh,8px);margin:0;padding:clamp(10px,1.4dvh,12px);display:flex}.settings-account-heading{font-family:var(--font-body);color:#2f2f2f;margin:0;font-size:clamp(12px,1.6dvh,14px);font-weight:700}.settings-account-pane .section-desc{font-family:var(--font-body);color:#606060;margin:0;font-size:clamp(11px,1.45dvh,12px);line-height:1.35}.settings-account-pane .account-input-group{align-items:stretch;gap:clamp(6px,1.8vw,8px);display:flex}.settings-account-pane .account-form-grid{flex-direction:column;gap:clamp(6px,1dvh,8px);display:flex}.settings-account-input{flex:auto;min-width:0;padding:clamp(7px,1.05dvh,9px) clamp(10px,2.5vw,12px)!important;font-size:clamp(13px,1.75dvh,15px)!important}.settings-account-save-btn{color:#fff;font-family:var(--font-body);cursor:pointer;white-space:nowrap;touch-action:manipulation;background:#eb620e;border:none;border-radius:8px;padding:clamp(7px,1.05dvh,9px) clamp(12px,3vw,16px);font-size:clamp(12px,1.65dvh,14px);font-weight:700}.settings-account-save-btn:active{filter:brightness(.94)}.settings-account-pane .account-action-row{gap:clamp(8px,2vw,10px);display:flex}.settings-account-action-btn{color:#2f2f2f;font-family:var(--font-body);cursor:pointer;text-align:center;touch-action:manipulation;background:#f5f5f5;border:1px solid #dbdbdb;border-radius:8px;flex:1 1 0;padding:clamp(8px,1.15dvh,10px) clamp(8px,2vw,12px);font-size:clamp(12px,1.65dvh,14px);font-weight:700}.settings-account-action-btn.is-danger{color:#fff;background:#dc2626;border-color:#dc2626}.settings-account-pane .form-feedback{font-family:var(--font-body);min-height:1em;font-size:clamp(11px,1.45dvh,12px)}.settings-account-pane .form-feedback.is-success{color:#15803d}.settings-account-pane .form-feedback.is-error{color:#dc2626}.fantasy-card-dynamic{background:0 0!important}svg.fantasy-card-svg,svg.fantasy-btn-svg{pointer-events:none;z-index:0;width:100%;height:100%;display:block;position:absolute;inset:0}.btn-fantasy-primary,.btn-stone-secondary,.btn-menu-ranked{isolation:isolate;position:relative}:is(.btn-fantasy-primary:has(>svg.fantasy-btn-svg),.btn-stone-secondary:has(>svg.fantasy-btn-svg),.btn-menu-ranked:has(>svg.fantasy-btn-svg)){filter:drop-shadow(0 4px 10px #0000004d);background:0 0!important}.btn-fantasy-primary>span,.btn-stone-secondary>span,.btn-menu-ranked>span{z-index:2;position:relative}.race-frame-glow{pointer-events:none;z-index:48;opacity:0;transition:opacity .22s,box-shadow .22s;position:fixed;inset:0}.race-frame-glow.is-debuff{opacity:1;box-shadow:inset 0 0 clamp(22px,6vw,52px) clamp(6px,2vw,18px) #ff0000eb}.race-frame-glow.is-buff{opacity:1;box-shadow:inset 0 0 clamp(22px,6vw,52px) clamp(6px,2vw,18px) #57f672eb}#viewGame .race-hud,#raceHud.race-hud{pointer-events:none;z-index:12;background:0 0!important;padding:0!important;display:block!important;position:absolute!important;inset:0!important}#viewGame .race-hud-left{top:max(clamp(12px, 2.2dvh, 22px), env(safe-area-inset-top));flex-direction:column;align-items:flex-start;gap:0;display:flex;position:absolute;left:clamp(14px,3.8vw,22px)}#viewGame .race-lap{font-family:var(--font-fantasy);letter-spacing:.01em;color:#fff;text-shadow:0 2px 6px #000000a6;font-size:clamp(16px,2.4dvh,22px);font-weight:400;line-height:1.05}#viewGame .race-lap b{color:#fff;font-weight:400}#viewGame .race-me-place{font-family:var(--font-fantasy);color:#fff;text-shadow:0 4px 12px #0000008c;align-items:flex-start;margin-top:clamp(2px,.4dvh,5px);font-size:clamp(64px,9.8dvh,96px);font-weight:400;line-height:.84;display:inline-flex}#viewGame .race-me-place b{font-family:var(--font-fantasy);font-weight:400}#viewGame .race-me-place sup{font-family:var(--font-fantasy);margin-left:1px;font-size:.46em;font-weight:400;line-height:1;top:.05em}#viewGame .race-hud-right{top:max(clamp(14px, 2.5dvh, 24px), env(safe-area-inset-top));pointer-events:auto;align-items:center;display:flex;position:absolute;right:clamp(14px,3.8vw,22px)}#viewGame .race-hud .hud-quit,#viewGame .hud-leave-match{appearance:none;font-family:var(--font-fantasy);white-space:nowrap;color:#ffffff8c;text-shadow:0 2px 6px #000000a6;cursor:pointer;pointer-events:auto;background:0 0;border:none;padding:4px 6px;font-size:clamp(14px,2.05dvh,18px);font-weight:400;line-height:1;transition:color .15s,transform .12s;position:static}#viewGame .hud-leave-match:hover,#viewGame .hud-leave-match:active{color:#ffffffeb}#viewGame .race-hud-center{pointer-events:none;top:auto!important;left:auto!important;right:clamp(12px,3vw,20px)!important;bottom:calc(var(--race-boost-bottom,clamp(180px, 36dvh, 420px)) + clamp(6px, 1dvh, 12px))!important;flex-direction:column!important;align-items:center!important;width:auto!important;max-width:none!important;margin:0!important;display:flex!important;position:absolute!important}#viewGame #streakBarContainer.streak-bar-container{flex-direction:column!important;align-items:center!important;gap:clamp(4px,.7dvh,7px)!important;width:auto!important;display:flex!important}#viewGame #streakBarContainer .streak-header{flex-direction:column!important;justify-content:center!important;align-items:center!important;padding:0!important;display:flex!important}#viewGame #streakBarContainer .streak-count-label{text-align:center;color:#fff;text-shadow:0 2px 4px #0000008c;flex-direction:column;align-items:center;line-height:1;display:flex}#viewGame #streakBarContainer .streak-count-value{white-space:nowrap;font-family:var(--font-fantasy);color:#fff;justify-content:center;align-items:baseline;font-size:clamp(22px,3.3dvh,30px);font-weight:400;line-height:.92;display:inline-flex}#viewGame #streakBarContainer #streakCount{font-family:var(--font-fantasy);font-weight:400;font-size:inherit;color:#fff;line-height:.92}#viewGame #streakBarContainer .streak-words-unit{font-family:"Allo", var(--font-sans);letter-spacing:.04em;color:#fff;margin-top:2px;font-size:clamp(8.5px,1.25dvh,11px);font-weight:600}#viewGame #streakBarContainer .streak-vertical-body{justify-content:center;align-items:flex-end;display:flex;position:relative}#viewGame #streakBarContainer #streakBar{border:1.5px solid var(--tier-color,#3b82f6)!important;background:#061020db!important;border-radius:999px!important;flex-direction:column!important;width:clamp(15px,3.8vw,19px)!important;height:clamp(142px,22.5dvh,232px)!important;padding:clamp(2.5px,.6vw,3.5px)!important;transition:border-color .25s,box-shadow .25s!important;display:flex!important;overflow:hidden!important;box-shadow:0 0 10px #3b82f652,0 3px 10px #00000073,inset 0 0 8px #000000a6!important}#viewGame #streakBarContainer.is-max #streakBar{box-shadow:0 0 14px #ef4444a6,0 3px 10px #00000073,inset 0 0 8px #000000a6!important}#viewGame #streakBarContainer #streakSegments{border-radius:999px!important;flex-direction:column-reverse!important;gap:clamp(2px,.4dvh,3.5px)!important;width:100%!important;height:100%!important;padding:0!important;display:flex!important;position:relative!important;inset:auto!important;overflow:hidden!important}#viewGame #streakBarContainer .streak-seg,#viewGame #streakBarContainer .streak-segment{background:var(--seg-color,#3b82f6)!important;opacity:.18!important;border-radius:1px!important;flex:1 1 0!important;width:140%!important;height:auto!important;margin-left:-20%!important;transition:opacity .2s,filter .2s,box-shadow .2s!important;transform:skewY(-36deg)!important}#viewGame #streakBarContainer .streak-seg:first-child,#viewGame #streakBarContainer .streak-segment:first-child{margin-bottom:-8px!important;padding-bottom:8px!important}#viewGame #streakBarContainer .streak-seg:last-child,#viewGame #streakBarContainer .streak-segment:last-child{margin-top:-8px!important;padding-top:8px!important}#viewGame #streakBarContainer .streak-seg.is-on,#viewGame #streakBarContainer .streak-segment.is-on{background:var(--seg-color,#3b82f6)!important;opacity:1!important;filter:brightness(1.08)!important;box-shadow:0 0 6px var(--seg-color,#3b82f6), inset 0 0 3px #ffffff52!important}#viewGame #streakBarContainer .streak-speed-label{writing-mode:vertical-rl;white-space:nowrap;font-family:"Allo", var(--font-sans);letter-spacing:.03em;color:#fff;text-shadow:0 1px 4px #000000bf;font-size:clamp(9.5px,1.4dvh,12px);font-weight:500;line-height:1;position:absolute;bottom:clamp(4px,.8dvh,8px);right:calc(100% + clamp(3px,.8vw,6px));transform:rotate(180deg)}#viewGame #streakBarContainer .streak-multiplier{color:#fff;font-weight:700}#customKeyboard.kb:not([hidden]){width:100%!important;max-width:100%!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;z-index:40!important;background:linear-gradient(#0000 0 clamp(54px,8.2dvh,72px),#000 clamp(54px,8.2dvh,72px) 100%)!important;border:none!important;border-radius:0!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:0 clamp(5px,1.4vw,8px)!important;display:flex!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;overflow:visible!important;transform:none!important}#customKeyboard.kb[hidden]{display:none!important}#customKeyboard.kb.is-custom-keys .kb-letters{display:flex!important}#customKeyboard.kb.is-custom-keys .kb-bottom-spacer{display:block!important}#wordStage,#customKeyboard #wordStage{width:calc(100% + 2*clamp(5px,1.4vw,8px))!important;box-shadow:none!important;z-index:6!important;background:0 0!important;border:none!important;border-radius:0!important;flex-direction:column!important;align-items:stretch!important;margin:0 calc(-1*clamp(5px,1.4vw,8px))!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}#wordStage .race-typeguard,#customKeyboard #wordStage .race-typeguard{pointer-events:none;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:clamp(6px,1.6vw,10px)!important;min-height:clamp(18px,2.6dvh,22px)!important;margin-bottom:clamp(-3px,-.35dvh,0px)!important;padding-left:clamp(54px,14vw,76px)!important;display:flex!important}#wordStage .typeguard-label,#customKeyboard #wordStage .typeguard-label{font-family:"Allo", var(--font-sans)!important;color:#fff!important;text-shadow:0 2px 4px #000000a6!important;font-size:clamp(11px,1.65dvh,14px)!important;font-weight:500!important}#wordStage .shield-pip,#customKeyboard #wordStage .shield-pip{width:clamp(13px,3.2vw,17px)!important;height:clamp(15px,3.6vw,19px)!important}#wordStage .word-parchment-scroll,#customKeyboard #wordStage .word-parchment-scroll{box-sizing:border-box!important;z-index:4!important;background:url(/brand/parchment_word_scroll.webp) 50%/100% 100% no-repeat!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;width:100%!important;min-height:clamp(64px,10dvh,84px)!important;padding:clamp(6px,1dvh,11px) clamp(18px,5vw,32px) clamp(6px,1dvh,10px) clamp(98px,25.5vw,124px)!important;display:flex!important;position:relative!important}#wordStage .word-stage-main,#customKeyboard #wordStage .word-stage-main{justify-content:center!important;align-items:center!important;min-height:clamp(30px,4.6dvh,42px)!important;display:flex!important}#wordStage .word-display,#customKeyboard #wordStage .word-display{font-family:var(--font-fantasy)!important;letter-spacing:.02em!important;color:#5d3e14!important;text-shadow:none!important;min-height:1em!important;font-size:clamp(28px,4.6dvh,40px)!important;font-weight:400!important;line-height:.94!important}#wordStage .word-display .word-char,#wordStage .word-display .char,#customKeyboard #wordStage .word-display .word-char,#customKeyboard #wordStage .word-display .char{font-family:var(--font-fantasy)!important;color:#5d3e14!important;border-bottom:3px solid #0000!important;font-weight:400!important}#wordStage .word-display .word-char.correct,#wordStage .word-display .char.correct,#customKeyboard #wordStage .word-display .word-char.correct,#customKeyboard #wordStage .word-display .char.correct{color:#1f7219!important;text-shadow:0 1px #ffffff59!important}#wordStage .word-display .word-char.current,#wordStage .word-display .char.current,#customKeyboard #wordStage .word-display .word-char.current,#customKeyboard #wordStage .word-display .char.current{color:#5d3e14!important;border-bottom-color:#b45309!important;animation:none!important}#wordStage .word-display .word-char.incorrect,#wordStage .word-display .char.incorrect,#wordStage .word-display .char.wrong,#customKeyboard #wordStage .word-display .word-char.incorrect,#customKeyboard #wordStage .word-display .char.incorrect{color:#dc2626!important;background:#dc262624!important}#wordStage .upcoming-queue,#customKeyboard #wordStage .upcoming-queue{justify-content:center!important;align-items:center!important;gap:0!important;min-height:clamp(14px,2.1dvh,19px)!important;margin-top:clamp(1px,.25dvh,3px)!important;display:flex!important}#wordStage .upcoming-queue span,#wordStage .upcoming-queue span:first-child,#customKeyboard #wordStage .upcoming-queue span,#customKeyboard #wordStage .upcoming-queue span:first-child{font-family:var(--font-fantasy)!important;color:#a97c3d!important;opacity:1!important;font-size:clamp(13.5px,2.1dvh,18px)!important;font-weight:400!important;line-height:1!important}#wordStage .upcoming-queue span:nth-child(n+2),#customKeyboard #wordStage .upcoming-queue span:nth-child(n+2){display:none!important}#wordStage .word-debuff-banner,#customKeyboard #wordStage .word-debuff-banner{z-index:16!important;pointer-events:none!important;box-shadow:none!important;opacity:1!important;background:0 0!important;border:none!important;flex-direction:column!important;align-items:flex-start!important;gap:clamp(5px,.8dvh,8px)!important;max-width:78vw!important;margin:0!important;padding:0!important;display:flex!important;position:absolute!important;bottom:calc(100% + clamp(4px,.7dvh,8px))!important;left:0!important;overflow:visible!important;transform:none!important}#wordStage .word-debuff-banner:not(.is-visible),#customKeyboard #wordStage .word-debuff-banner:not(.is-visible){display:none!important}#wordStage .status-pill,#customKeyboard #wordStage .status-pill{min-height:clamp(25px,3.8dvh,33px);font-family:var(--font-fantasy);color:#fff;text-shadow:0 2px 4px #00000059;white-space:nowrap;border-radius:0 999px 999px 0;justify-content:flex-start;align-items:center;padding:clamp(3px,.45dvh,5px) clamp(16px,4.2vw,22px) clamp(3px,.45dvh,5px) clamp(12px,3.2vw,16px);font-size:clamp(14.5px,2.25dvh,19px);font-weight:400;line-height:1.05;animation:.24s cubic-bezier(.22,1,.36,1) both statusPillPopInLeft;display:inline-flex;box-shadow:0 4px 12px #0000006b}#wordStage .status-pill.is-debuff,#customKeyboard #wordStage .status-pill.is-debuff{background:linear-gradient(90deg,#ff5252 0%,#993131 100%)}#wordStage .status-pill.is-buff,#customKeyboard #wordStage .status-pill.is-buff{background:linear-gradient(90deg,#54aa63 0%,#0b8820 100%)}@keyframes statusPillPopInLeft{0%{opacity:.25;transform:translate(-105%)}to{opacity:1;transform:translate(0)}}#customKeyboard .kb-row.kb-mp{z-index:9!important;pointer-events:none!important;justify-content:center!important;align-items:center!important;width:clamp(92px,24.5vw,114px)!important;height:clamp(92px,24.5vw,114px)!important;margin:0!important;padding:0!important;display:flex!important;position:absolute!important;top:clamp(6px,1dvh,12px)!important;left:clamp(2px,.7vw,6px)!important}#customKeyboard .kb-resource-orb{filter:drop-shadow(0 4px 10px #0000008c);justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}#customKeyboard .kb-orb-svg{width:100%;height:100%;display:block;overflow:visible}#customKeyboard .kb-mp-wave-group{transition:transform .22s ease-out}#customKeyboard .kb-stamina-mask-ring{transition:stroke-dasharray .14s linear}#customKeyboard .kb-stamina-arc-text{filter:drop-shadow(0 1px 1.5px #000000b3)}#customKeyboard .kb-mp-orb-readout{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;padding-bottom:clamp(6px,1dvh,10px);display:flex;position:absolute;inset:0}#customKeyboard .kb-mp-orb-val{font-family:var(--font-fantasy);color:#fff;text-shadow:0 2px 4px #0000008c;font-variant-numeric:tabular-nums;font-size:clamp(26px,4.1dvh,36px);font-weight:400;line-height:.86}#customKeyboard .kb-mp-orb-unit{font-family:var(--font-fantasy);color:#fff;text-shadow:0 2px 4px #0000008c;margin-top:2px;font-size:clamp(11px,1.7dvh,15px);font-weight:400;line-height:.95}#customKeyboard .kb-row.kb-spells{z-index:5!important;align-items:stretch!important;gap:clamp(4px,1.2vw,7px)!important;margin:0!important;padding:clamp(5px,.8dvh,8px) 0 clamp(5px,.85dvh,9px)!important;display:flex!important;position:relative!important}#customKeyboard .kb-spell{aspect-ratio:auto!important;border-radius:6px!important;height:clamp(42px,6.2dvh,52px)!important;min-height:clamp(42px,6.2dvh,52px)!important}#customKeyboard .kb-spell[data-slot="0"],#customKeyboard .kb-spell[data-slot="1"],#customKeyboard .kb-spell[data-slot="2"]{flex:1 1 0!important;min-width:0!important}#customKeyboard .kb-spell[data-slot="3"]{flex:2.05 1 0!important;min-width:0!important}#customKeyboard .kb-spell-cost{width:clamp(20px,5vw,25px)!important;min-width:20px!important;height:clamp(20px,5vw,25px)!important;min-height:20px!important;font-family:var(--font-fantasy)!important;background:linear-gradient(#5555fc 0%,#0e0e94 100%)!important;border:1.5px solid #5454f5!important;font-size:clamp(13px,3.6vw,17px)!important;font-weight:400!important;top:clamp(2px,.6vw,4px)!important;left:clamp(2px,.8vw,5px)!important;right:auto!important}#customKeyboard .kb-spell-pill{padding:1px clamp(5px,1.3vw,9px)!important;bottom:clamp(2px,.5vw,4px)!important}#customKeyboard .kb-spell-label,#customKeyboard .kb-spell.has-long-name .kb-spell-label{letter-spacing:.01em!important;font-size:clamp(9.5px,2.5vw,12px)!important}#customKeyboard .kb-spell{background-color:#f9f8f0!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:cover!important;border:clamp(2px,.55vw,3px) solid #d06028!important;border-radius:clamp(7px,2vw,10px)!important;box-shadow:0 2px 5px #00000040!important}#customKeyboard .kb-spell-cost{width:clamp(16px,4.4vw,20px)!important;min-width:16px!important;height:clamp(16px,4.4vw,20px)!important;min-height:16px!important;box-shadow:none!important;font-family:var(--font-fantasy)!important;color:#fff!important;text-shadow:none!important;background:radial-gradient(circle at 50% 30%,#3c00ff 0%,#3e0ae6 25%,#4015cd 50%,#44299b 100%)!important;border:1px solid #bbb!important;font-size:clamp(11px,3vw,14px)!important;font-weight:400!important;line-height:1!important;top:clamp(2px,.6vw,4px)!important;left:clamp(2px,.7vw,4px)!important}#customKeyboard .kb-spell-pill{background:#d06028!important;border-radius:0 clamp(10px,2.8vw,14px) 0 0!important;max-width:92%!important;padding:clamp(1px,.25dvh,2px) clamp(7px,2.1vw,11px) clamp(1px,.2dvh,2px) clamp(4px,1.2vw,7px)!important;bottom:0!important;left:0!important;transform:none!important;box-shadow:0 0 6px #00000040!important}#customKeyboard .kb-spell-label{color:#fff!important;font-family:var(--font-fantasy)!important;letter-spacing:.01em!important;text-transform:lowercase!important;font-size:clamp(9px,2.5vw,12px)!important;font-weight:400!important;line-height:1.05!important}#customKeyboard .kb-spell.has-long-name .kb-spell-label{color:#fff!important;font-family:var(--font-fantasy)!important;letter-spacing:0!important;text-transform:lowercase!important;font-size:clamp(7.5px,2vw,10px)!important;font-weight:400!important;line-height:1.05!important}#customKeyboard .kb-spell.has-long-name .kb-spell-pill{max-width:96%!important;padding-right:clamp(5px,1.5vw,9px)!important}#customKeyboard .kb-spell-label:first-letter{text-transform:uppercase}@media (hover:hover) and (pointer:fine){#customKeyboard:not([data-kb-mode=custom]) .kb-row.kb-spells{width:min(860px,92vw)!important;margin-inline:auto!important;padding-inline:0!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell{background-position:50%!important;background-size:cover!important;border:clamp(3px,.35vw,4.5px) solid #d06028!important;border-radius:clamp(12px,1.3vw,16px)!important;height:auto!important;min-height:0!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell[data-slot="0"],#customKeyboard:not([data-kb-mode=custom]) .kb-spell[data-slot="1"],#customKeyboard:not([data-kb-mode=custom]) .kb-spell[data-slot="2"]{aspect-ratio:1100/640!important;flex:1 1 0!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell[data-slot="3"]{aspect-ratio:2200/640!important;flex:2 1 0!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell-cost{width:clamp(24px,2.4vw,30px)!important;min-width:24px!important;height:clamp(24px,2.4vw,30px)!important;min-height:24px!important;font-size:clamp(16px,1.7vw,22px)!important;top:clamp(5px,.7dvh,8px)!important;left:clamp(5px,.6vw,8px)!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell-pill{background:#d06028!important;border-radius:0 clamp(14px,1.5vw,20px) 0 0!important;padding:clamp(2px,.35dvh,4px) clamp(10px,1.2vw,16px) clamp(2px,.3dvh,4px) clamp(7px,.9vw,11px)!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell-label{font-size:clamp(14px,1.35vw,18px)!important}#customKeyboard:not([data-kb-mode=custom]) .kb-spell.has-long-name .kb-spell-label{font-size:clamp(12px,1.15vw,15px)!important}}#customKeyboard{--kb-gap:clamp(3px, .85vw, 5.5px)}#customKeyboard .kb-row.kb-letters{gap:var(--kb-gap);z-index:5;padding-top:clamp(2.5px,.45dvh,5px);padding-bottom:clamp(2.5px,.45dvh,5px);position:relative}#customKeyboard .kb-key:not(.kb-spell){color:#000;height:clamp(43px,6.6dvh,58px);font-family:"Allo", var(--font-sans);background:linear-gradient(#fff 35%,#e9e9e9 72%,#fff 100%);border:none;border-radius:clamp(9px,2.3vw,13px) clamp(9px,2.3vw,13px) clamp(17px,4.5vw,25px) clamp(17px,4.5vw,25px);font-size:clamp(16px,2.55dvh,21px);font-weight:500;box-shadow:0 2px 6px #00000059}#customKeyboard .kb-key.kb-key-mod:not(.is-armed){background:linear-gradient(#dcdcdc 35%,#c8c8c8 72%,#dcdcdc 100%)}#customKeyboard .kb-bottom-spacer{width:100%;height:clamp(36px,6dvh,56px);padding-bottom:env(safe-area-inset-bottom,0px);pointer-events:none;background:#000;flex-shrink:0;order:99}@media (width>=600px){#customKeyboard:not([data-kb-mode=system]){--kb-split-gap:0px;--kb-side-pad:calc((100% - var(--kb-split-gap,0px) + var(--kb-gap)) / (var(--kb-cols,10) + 2))}:root[data-kb-layout=split] #customKeyboard:not([data-kb-mode=system]),#customKeyboard.is-split:not([data-kb-mode=system]){--kb-split-gap:clamp(56px, 20vw, calc(100vw - 480px))}#customKeyboard:not([data-kb-mode=system])[data-layout=full]{--kb-split-gap:0px}#customKeyboard:not([data-kb-mode=system]) .kb-row.kb-spells{padding-inline:var(--kb-side-pad)!important}#customKeyboard:not([data-kb-mode=system]) .kb-row.kb-letters{padding-inline:calc(var(--kb-side-pad) + var(--kb-short,0) * (100% - 2 * var(--kb-side-pad) + var(--kb-gap)) / (2 * var(--kb-cols,10)))}}.remove-ads-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(10px);padding:max(8px, env(safe-area-inset-top,0px)) max(12px, env(safe-area-inset-right,0px)) max(8px, env(safe-area-inset-bottom,0px)) max(12px, env(safe-area-inset-left,0px));-webkit-overflow-scrolling:touch;touch-action:manipulation;box-sizing:border-box;background:#1a1a1a6b;justify-content:center;align-items:center;display:none;position:fixed;inset:0;overflow-y:auto}.remove-ads-modal-wrap{box-sizing:border-box;flex-direction:column;align-items:center;gap:clamp(8px,1.4dvh,16px);width:min(340px,92vw);margin:auto;padding-top:clamp(4px,.8dvh,12px);padding-bottom:clamp(6px,1.2dvh,16px);animation:.22s cubic-bezier(.18,.89,.32,1.2) fantasyModalPop;display:flex}.remove-ads-card{filter:drop-shadow(0 14px 28px #000000a6);box-sizing:border-box;text-align:center;flex-direction:column;align-items:center;width:100%;padding:clamp(26px,4.2dvh,42px) clamp(16px,4.5vw,25px) clamp(14px,2.4dvh,26px);display:flex;position:relative}.remove-ads-card>*{z-index:2;position:relative}.remove-ads-title{font-family:var(--font-fantasy);color:#202020;text-shadow:0 1.25px #fff;margin:0 0 clamp(2px,.4dvh,4px);font-size:clamp(24px,3.4dvh,30px);line-height:1.1}.remove-ads-restore-link{cursor:pointer;font-family:var(--font-body);color:#606060;text-underline-position:from-font;text-shadow:0 1.25px #fff;background:0 0;border:none;margin:0 0 clamp(6px,1dvh,12px);padding:2px 8px;font-size:clamp(11.5px,1.5dvh,13px);text-decoration:underline;transition:color .15s}.remove-ads-restore-link:hover,.remove-ads-restore-link:focus-visible{color:#1a1a1a}.remove-ads-error-msg{color:var(--lane-5,#e03c3c);font-family:var(--font-body);text-align:center;min-height:1.2em;margin-bottom:clamp(2px,.5dvh,4px);font-size:clamp(11px,1.4dvh,12.5px)}.remove-ads-tiers{flex-direction:column;gap:clamp(6px,1dvh,12px);width:100%;display:flex}.remove-ads-tier-btn{cursor:pointer;box-sizing:border-box;text-align:left;touch-action:manipulation;-webkit-user-select:none;user-select:none;border-radius:999px;justify-content:space-between;align-items:center;width:100%;height:clamp(48px,6.4dvh,68px);min-height:clamp(48px,6.4dvh,68px);padding:0 clamp(16px,5vw,24px);transition:transform .12s,filter .12s,box-shadow .12s;display:flex}.remove-ads-tier-btn:hover{filter:brightness(1.03);transform:translateY(-1px)}.remove-ads-tier-btn:active{transform:translateY(1px)scale(.99)}.remove-ads-tier-col{flex-direction:column;justify-content:center;display:flex}.remove-ads-tier-col-left{text-align:left;align-items:flex-start}.remove-ads-tier-col-right{text-align:right;align-items:flex-end}.remove-ads-tier-name{font-family:var(--font-fantasy);letter-spacing:.48px;font-size:clamp(18px,2.7dvh,24px);line-height:1}.remove-ads-tier-sub{font-family:var(--font-body);letter-spacing:.24px;margin-top:3px;font-size:clamp(10.5px,1.4dvh,12px);line-height:1}.remove-ads-tier-price{font-family:var(--font-fantasy);letter-spacing:.48px;font-size:clamp(18px,2.7dvh,24px);line-height:1}.remove-ads-tier-price.remove-ads-tier-price-lg{letter-spacing:.64px;font-size:clamp(22px,3.4dvh,32px)}.remove-ads-tier-strike{font-family:var(--font-body);letter-spacing:.24px;margin-top:3px;font-size:clamp(10.5px,1.4dvh,12px);line-height:1;text-decoration:line-through}.remove-ads-tier-outline{color:#80563c;background:#fff;border:2px solid #80563c;box-shadow:0 2px 6px #80563c1a}.remove-ads-tier-outline .remove-ads-tier-name,.remove-ads-tier-outline .remove-ads-tier-price,.remove-ads-tier-outline .remove-ads-tier-sub,.remove-ads-tier-outline .remove-ads-tier-strike{color:#80563c}.remove-ads-tier-outline:hover{box-shadow:0 4px 10px #80563c2e}.remove-ads-tier-lifetime{color:#fff;background:#f36309;border:2px solid #e25b07;box-shadow:0 4px 14px #f3630959}.remove-ads-tier-lifetime .remove-ads-tier-name,.remove-ads-tier-lifetime .remove-ads-tier-price,.remove-ads-tier-lifetime .remove-ads-tier-sub{color:#fff}.remove-ads-tier-lifetime:hover{box-shadow:0 6px 18px #f3630973}.remove-ads-sponsor-section{text-align:center;flex-direction:column;align-items:center;width:100%;padding-top:clamp(4px,.8dvh,8px);display:flex}.remove-ads-sponsor-title{font-family:var(--font-fantasy);color:#202020;text-shadow:0 1.25px #fff;margin:0 0 2px;font-size:clamp(13px,1.8dvh,16px);line-height:1.2}.remove-ads-sponsor-desc{font-family:var(--font-body);color:#606060;text-shadow:0 1.25px #fff;margin:0;font-size:clamp(10.5px,1.45dvh,13px);line-height:1.35}.remove-ads-tier-gold{background-image:linear-gradient(104deg,#fee4b3 .8%,#dfa537 90.6%);border:1px solid #cd952f;box-shadow:0 3px 10px #cd952f4d}.remove-ads-tier-gold .remove-ads-tier-name,.remove-ads-tier-gold .remove-ads-tier-sub{color:#c18b27}.remove-ads-tier-gold .remove-ads-tier-price{color:#fff;text-shadow:0 1px 1px #00000040;filter:drop-shadow(0 1px .5px #00000040)}.remove-ads-tier-gold:hover{box-shadow:0 5px 14px #cd952f66}.remove-ads-tier-platinum{background-image:linear-gradient(104deg,#e6e6e6 .8%,#b6b6b5 90.6%);border:1px solid #c1c1c1;box-shadow:0 3px 10px #b6b6b54d}.remove-ads-tier-platinum .remove-ads-tier-name,.remove-ads-tier-platinum .remove-ads-tier-sub{color:#7e7e7e}.remove-ads-tier-platinum .remove-ads-tier-price{color:#fff;text-shadow:0 1px 1px #00000040;filter:drop-shadow(0 1px .5px #00000040)}.remove-ads-tier-platinum:hover{box-shadow:0 5px 14px #b6b6b566}.btn-remove-ads-back{width:min(305px,86vw);height:clamp(44px,5.8dvh,60px);min-height:clamp(44px,5.8dvh,60px);font-family:var(--font-fantasy);letter-spacing:.48px;color:#fff;text-align:center;cursor:pointer;box-sizing:border-box;touch-action:manipulation;background:#80563c;border:4px solid #fff;border-radius:12px;justify-content:center;align-items:center;font-size:clamp(18px,2.5dvh,24px);transition:transform .12s,filter .12s,box-shadow .12s;display:flex;box-shadow:0 4px 16px #0006}.btn-remove-ads-back:hover{filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 6px 20px #00000080}.btn-remove-ads-back:active{transform:translateY(1px)scale(.99)}.remove-ads-legal-disclaimer{font-family:var(--font-body);color:#20202099;text-align:center;margin-top:clamp(6px,1dvh,10px);font-size:clamp(9px,1.2dvh,11px);line-height:1.35}.remove-ads-legal-links{font-family:var(--font-body);justify-content:center;align-items:center;gap:8px;margin-top:4px;font-size:clamp(10px,1.3dvh,11.5px);display:flex}.remove-ads-legal-link{color:#202020b3;text-decoration:underline;transition:color .15s}.remove-ads-legal-link:hover{color:#1a1a1a}.remove-ads-legal-sep{color:#20202066}#modalAbandonWarning.leave-race-overlay{-webkit-backdrop-filter:blur(10px);padding:max(16px, env(safe-area-inset-top,0px)) max(16px, env(safe-area-inset-right,0px)) max(16px, env(safe-area-inset-bottom,0px)) max(16px, env(safe-area-inset-left,0px));background:#1a1a1a6b}.leave-race-dialog{-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;width:min(340px,86vw);animation:.22s cubic-bezier(.18,.89,.32,1.2) fantasyModalPop;display:flex;position:relative}.leave-race-card{aspect-ratio:339/185;box-sizing:border-box;filter:drop-shadow(0 14px 28px #0000008c);justify-content:center;align-items:center;width:100%;padding:clamp(20px,4.5dvh,32px) clamp(16px,4vw,24px);display:flex;position:relative}.leave-race-card>*{z-index:2;position:relative}.leave-race-card-body{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100%;margin-top:clamp(2px,.6dvh,6px);display:flex}.leave-race-title{font-family:var(--font-fantasy);color:#202020;text-shadow:0 1.25px #fff;margin:0;font-size:clamp(24px,6.8vw,30px);font-weight:400;line-height:1.1}.leave-race-sub{font-family:var(--font-ui);color:#606060;text-shadow:0 1.25px #fff;text-align:center;margin:clamp(8px,1.8dvh,12px) 0 0;font-size:clamp(13px,3.8vw,16px);font-weight:400;line-height:1.55}.leave-race-actions{gap:clamp(10px,3vw,16px);width:100%;margin-top:clamp(12px,2.2dvh,16px);display:flex}.leave-race-btn{height:clamp(48px,7.2dvh,60px);font-family:var(--font-fantasy);color:#fff;letter-spacing:.48px;text-align:center;cursor:pointer;box-sizing:border-box;white-space:nowrap;border:4px solid #fff;border-radius:12px;outline:none;justify-content:center;align-items:center;padding:0 clamp(8px,2vw,14px);font-size:clamp(19px,5.5vw,24px);font-weight:400;transition:transform 80ms,filter 80ms;display:flex}.leave-race-btn:hover{filter:brightness(1.08)}.leave-race-btn:active{filter:brightness(.94);transform:scale(.96)}.leave-race-btn-resume{background-color:#80563c;flex:1.25}.leave-race-btn-leave{background-color:#e42b25;flex:1}#modalRegistrationReminder.save-progress-overlay{-webkit-backdrop-filter:blur(10px);padding:max(16px, env(safe-area-inset-top,0px)) max(16px, env(safe-area-inset-right,0px)) max(16px, env(safe-area-inset-bottom,0px)) max(16px, env(safe-area-inset-left,0px));background:#1a1a1a6b}.save-progress-dialog{-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;width:min(339px,86vw);animation:.22s cubic-bezier(.18,.89,.32,1.2) fantasyModalPop;display:flex;position:relative}.save-progress-card{box-sizing:border-box;filter:drop-shadow(0 14px 28px #0000008c);justify-content:center;align-items:center;width:100%;min-height:clamp(220px,31.8dvh,278px);padding:clamp(24px,4.4dvh,38px) clamp(18px,5.5vw,25px) clamp(20px,3.4dvh,28px);display:flex;position:relative}.save-progress-card>*{z-index:2;position:relative}.save-progress-card-body{text-align:center;flex-direction:column;align-items:center;width:100%;display:flex}.save-progress-title{font-family:var(--font-fantasy);color:#202020;text-shadow:0 1.25px #fff;margin:0;font-size:clamp(24px,6.8vw,30px);font-weight:400;line-height:1.15}.save-progress-copy{flex-direction:column;align-items:center;gap:clamp(14px,2.7dvh,24px);width:100%;margin-top:clamp(12px,1.8dvh,16px);display:flex}.save-progress-desc{font-family:var(--font-ui);color:#606060;text-shadow:0 1.25px #fff;max-width:275px;margin:0;font-size:clamp(13.5px,3.8vw,16px);font-weight:400;line-height:1.6}.save-progress-cta-copy{font-family:var(--font-ui);color:#2f2f2f;text-shadow:0 1.25px #fff;margin:0;font-size:clamp(13.5px,3.8vw,16px);font-weight:700;line-height:1.6}.save-progress-actions{gap:clamp(10px,3.8vw,16px);width:100%;margin-top:clamp(16px,3.2dvh,29px);display:flex}.save-progress-btn{height:clamp(48px,7.2dvh,60px);font-family:var(--font-fantasy);color:#fff;letter-spacing:.48px;text-align:center;cursor:pointer;box-sizing:border-box;white-space:nowrap;border:4px solid #fff;border-radius:12px;outline:none;justify-content:center;align-items:center;padding:0 clamp(8px,2vw,14px);font-size:clamp(19px,5.5vw,24px);font-weight:400;transition:transform 80ms,filter 80ms;display:flex}.save-progress-btn:hover{filter:brightness(1.08)}.save-progress-btn:active{filter:brightness(.94);transform:scale(.96)}.save-progress-btn-signup{background-color:#80563c;flex:1.255}.save-progress-btn-later{background-color:#8e8e8e;flex:1}.leaderboard-modal-overlay,.public-profile-modal-overlay{z-index:1005;-webkit-backdrop-filter:blur(10px);padding:max(8px, env(safe-area-inset-top,0px)) max(12px, env(safe-area-inset-right,0px)) max(8px, env(safe-area-inset-bottom,0px)) max(12px, env(safe-area-inset-left,0px));-webkit-overflow-scrolling:touch;touch-action:manipulation;box-sizing:border-box;background:#1a1a1a6b;justify-content:center;align-items:center;display:none;position:fixed;inset:0;overflow-y:auto}.leaderboard-modal-wrap,.public-profile-modal-wrap{box-sizing:border-box;flex-direction:column;align-items:center;gap:clamp(12px,2.4dvh,24px);width:min(340px,88vw);max-height:100%;margin:auto;padding:clamp(4px,.8dvh,12px) 0;animation:.22s cubic-bezier(.18,.89,.32,1.2) fantasyModalPop;display:flex}.public-profile-card{filter:drop-shadow(0 14px 28px #000000a6);box-sizing:border-box;width:100%;padding:clamp(30px,4.8dvh,44px) clamp(18px,5vw,25px) clamp(30px,5.2dvh,52px);position:relative}.public-profile-card>*{z-index:2;position:relative}.leaderboard-card{filter:drop-shadow(0 14px 28px #000000a6);box-sizing:border-box;text-align:center;flex-direction:column;align-items:center;width:100%;max-height:min(74dvh,632px);padding:clamp(24px,4.2dvh,41px) clamp(14px,4.5vw,22px) clamp(14px,2.4dvh,24px);display:flex;position:relative}.leaderboard-card>*{z-index:2;position:relative}.leaderboard-title{font-family:var(--font-fantasy);color:#202020;text-shadow:0 1.25px #fff;flex-shrink:0;margin:0 0 clamp(6px,1.1dvh,12px);font-size:clamp(24px,3.4dvh,30px);font-weight:400;line-height:1.1}.leaderboard-player-rank{font-family:var(--font-cormorant);color:#1717fa;text-shadow:0 1.25px #fff;flex-shrink:0;margin:0 0 clamp(6px,1.2dvh,12px);font-size:clamp(18px,2.7dvh,24px);font-weight:400;line-height:1.15}.leaderboard-player-rank strong{font-weight:600}.leaderboard-divider{flex-shrink:0;width:clamp(76px,24vw,100px);height:auto;margin:0 auto clamp(6px,1.2dvh,12px);display:block}.leaderboard-section-title{font-family:var(--font-fantasy);color:#202020;text-shadow:0 1.25px #fff;flex-shrink:0;margin:0 0 clamp(6px,1dvh,10px);font-size:clamp(16px,2.3dvh,20px);font-weight:400;line-height:1.15}.leaderboard-list{-webkit-overflow-scrolling:touch;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#60606059 transparent;flex-direction:column;flex:auto;gap:clamp(8px,1.3dvh,12px);width:100%;min-height:0;padding:clamp(4px,.8dvh,8px) clamp(6px,1.8vw,10px);display:flex;overflow-y:auto}.leaderboard-list::-webkit-scrollbar{width:clamp(4px,1vw,5px)}.leaderboard-list::-webkit-scrollbar-thumb{background:#60606059;border-radius:999px}.leaderboard-row{text-align:left;flex-shrink:0;align-items:center;gap:clamp(8px,2.5vw,12px);width:100%;display:flex}.leaderboard-rank{font-family:var(--font-fantasy);color:#606060;flex-shrink:0;width:clamp(34px,10vw,44px);font-size:clamp(16px,2.3dvh,20px);font-weight:400;line-height:1.1}.leaderboard-rank-suffix{font-size:.645em}.leaderboard-player-info{flex-direction:column;flex:1;justify-content:center;align-items:flex-start;min-width:0;line-height:1.15;display:flex}.leaderboard-username{font-family:var(--font-fantasy);color:#606060;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:clamp(16px,2.3dvh,20px);font-weight:400;overflow:hidden}.leaderboard-row-top1 .leaderboard-username{color:#f36309}.leaderboard-row-top2 .leaderboard-username{color:#3db135}.leaderboard-row-top3 .leaderboard-username{color:#a030f6}.leaderboard-meta{font-family:var(--font-ui);color:#606060;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:clamp(10.5px,1.4dvh,12px);font-weight:400;overflow:hidden}.leaderboard-empty{font-family:var(--font-ui);color:#606060;margin:clamp(16px,3dvh,28px) 0;font-size:clamp(13px,1.8dvh,15px)}.leaderboard-back-btn{flex-shrink:0;width:min(305px,90%);height:clamp(48px,6.8dvh,60px);font-size:clamp(18px,2.7dvh,24px)}
