@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.container{width:100%}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.shrink{flex-shrink:1}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.\[lambda\:CreateFunction\]{lambda:CreateFunction}:root{--surface-1:#0f172ad9;--surface-2:#0b1226;--surface-3:#101c3c;--surface-prompt:#0a1b7b;--text-primary:#f8fafc;--text-muted:#e2e8f0;--text-subtle:#e2e8f0b3;--text-on-light:#0f172a;--border-subtle:#94a3b859;--border-strong:#94a3b88c;--accent-blue:#3b82f68c;--accent-blue-soft:#3b82f64d;--accent-blue-bright:#60a5fa99;--success:#166534f2;--success-fg:#f8fafc;--danger:#b91c1c;--warning:#ffd54a;--hint-gold-soft:#fbe9a6;--hint-gold-strong:#b8860b;--hint-gold-gradient:linear-gradient(160deg,#fdf3c4,#f2d479);--bonus-gold:#b8860b;--chip-pin-temp-border:#3b82f6;--chip-pin-temp-bg:#3b82f661;--chip-pin-perm-border:#db2777;--chip-pin-perm-bg:#db277742;--bar-lit-bg:#38bdf8d1;--bar-lit-glow:#38bdf86b;--bar-dark-bg:#94a3b82e;--bar-complete-bg:#f472b6e6;--bar-complete-glow:#f472b680;--radius-xs:6px;--radius-sm:10px;--radius-md:14px;--radius-lg:20px;--radius-pill:999px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--focus-ring:0 0 0 3px #60a5fa8c;--control-h:36px;--control-pad:0 10px;--btn-primary-bg:linear-gradient(135deg,#22d3ee 0%,#818cf8 100%);--btn-primary-fg:#0f172a;--btn-primary-shadow:0 6px 16px #6366f159}.ui-btn{justify-content:center;align-items:center;gap:var(--space-2);border-radius:var(--radius-pill);font-family:var(--font-family-base);cursor:pointer;white-space:nowrap;border:1px solid #0000;font-weight:600;transition:background-color .12s,border-color .12s,color .12s,box-shadow .12s,transform .12s;display:inline-flex}.ui-btn:disabled{cursor:not-allowed;opacity:.55}.ui-btn:focus-visible{box-shadow:var(--focus-ring);outline:none}.ui-btn--sm{height:28px;padding:0 var(--space-3);font-size:.85rem}.ui-btn--md{height:var(--control-h);padding:0 var(--space-4);font-size:.95rem}.ui-btn--primary{background:var(--btn-primary-bg);color:var(--btn-primary-fg);border-color:var(--accent-blue);background-clip:padding-box}.ui-btn--primary:hover:not(:disabled){filter:brightness(1.1)}.ui-btn--secondary{background:var(--accent-blue-soft);color:var(--text-primary);border-color:var(--accent-blue)}.ui-btn--secondary:hover:not(:disabled){background:var(--accent-blue)}.ui-btn--ghost{color:var(--text-muted);border-color:var(--border-subtle);background:0 0}.ui-btn--ghost:hover:not(:disabled){border-color:var(--border-strong);background:#94a3b81f}.ui-btn--danger{background:var(--danger);color:var(--text-primary)}.ui-btn--danger:hover:not(:disabled){filter:brightness(1.1)}.ui-status{padding:var(--space-5)var(--space-4);text-align:center;color:var(--text-muted)}.ui-status__message{margin:0;font-size:.95rem}.ui-status__detail{margin:var(--space-2)0 0 0;color:var(--text-subtle);font-size:.85rem}.ui-status--error .ui-status__message{color:var(--danger)}.ui-status--empty .ui-status__message{color:var(--text-subtle)}.ui-prompt{z-index:9998;max-width:min(92vw,30rem);padding:var(--space-3)var(--space-4);border-radius:var(--radius-sm);background-color:var(--surface-prompt);color:var(--text-primary);align-items:center;gap:var(--space-3);font-family:var(--font-family-base);font-size:.95rem;display:flex;position:fixed;box-shadow:0 6px 16px #00000040}.ui-prompt--top-right{top:var(--space-4);right:var(--space-4)}.ui-prompt--bottom-center{left:50%;bottom:var(--space-4);transform:translate(-50%)}.ui-prompt__body{flex:1}.ui-prompt__actions{align-items:center;gap:var(--space-2);display:flex}.ui-toast-stack{top:var(--space-4);z-index:9998;gap:var(--space-2);pointer-events:none;flex-direction:column;align-items:center;display:flex;position:fixed;left:50%;transform:translate(-50%)}.ui-toast{padding:var(--space-2)var(--space-4);border-radius:var(--radius-xs);font-family:var(--font-family-base);white-space:nowrap;color:var(--text-primary);font-size:.95rem;font-weight:600;box-shadow:0 6px 16px #00000040}.ui-toast--success{background-color:var(--success);color:var(--success-fg)}.ui-toast--info{background-color:var(--surface-3)}.ui-toast--error{background-color:var(--danger)}:focus-visible{box-shadow:var(--focus-ring);outline:none}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}:root{--banner-color: #101c3c;--banner-text-color: #f8fafc;--game-area-bg-color: #eef5ff;--teammate-bg-color: rgba(15, 23, 42, .85);--teammate-border-color: rgba(100, 150, 200, .25);--surface-glow: 0 10px 24px rgba(15, 23, 42, .25);--font-family-base: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;touch-action:pan-x pan-y;-moz-user-select:-moz-none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html,body,#root{margin:0;padding:0;width:100%;height:100%;display:flex;flex-direction:column;background-color:var(--banner-color);background-image:radial-gradient(circle at top,rgba(56,189,248,.25),transparent 55%),linear-gradient(180deg,#0b1226,#101c3c 55%,#0f172a);color:var(--banner-text-color);overflow:hidden;font-family:var(--font-family-base);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}#root{box-sizing:border-box;padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left)}button,input,textarea,select{font-family:inherit}h1,h2,h3,h4,h5,h6{font-family:var(--font-family-base);font-weight:600;letter-spacing:-.01em;color:inherit}#banner{width:100%;height:55px;background-color:var(--banner-color);background-image:linear-gradient(135deg,#38bdf859,#4f46e500);color:var(--banner-text-color);display:flex;justify-content:center;align-items:center;position:relative;text-align:center;padding:3px 0;box-shadow:0 2px 5px #0003;text-shadow:0 1px 3px rgba(15,23,42,.6)}#banner img{height:95%;width:auto}.banner-homeButton{background:none;border:none;padding:0;margin:0;cursor:pointer;height:95%;display:flex;align-items:center;border-radius:var(--radius-sm);transition:opacity .15s ease,transform .15s ease}.banner-homeButton img{height:100%;width:auto}.banner-homeButton:hover,.banner-homeButton:focus-visible{opacity:.85;transform:scale(1.04)}#menuButton{position:absolute;left:10px;top:50%;transform:translateY(-50%);background:#0f172a59;border:none;cursor:pointer;padding:0;width:36px;height:36px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;border-radius:var(--radius-pill);box-shadow:0 4px 12px #0f172a47;transition:background .2s ease,box-shadow .2s ease}#menuButton span{display:block;width:22px;height:2px;background-color:var(--banner-text-color);border-radius:var(--radius-pill)}#menuButton:focus-visible,#menuButton:hover{background:#38bdf859;box-shadow:0 7px 18px #0f172a59}#page{flex:1;background-color:transparent;background-image:linear-gradient(180deg,#4f46e52e,#4f46e500);display:flex;justify-content:center;align-items:center;min-height:0;overflow:auto}#settingsButton{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:#0f172a59;border:none;cursor:pointer;color:var(--banner-text-color);border-radius:var(--radius-pill);box-shadow:0 4px 12px #0f172a47;transition:background .2s ease,box-shadow .2s ease,color .2s ease,transform .35s ease;width:36px;height:36px;display:flex;align-items:center;justify-content:center;padding:0}#settingsButton svg{width:85%;height:85%;display:block;transition:transform .35s ease}#settingsButton:not(:has(svg)){font-size:14px;padding:4px 10px;width:auto;height:auto}#settingsButton:hover,#settingsButton:focus-visible{background:#38bdf859;color:#ecfeff;box-shadow:0 7px 18px #0f172a59}#settingsButton:hover svg,#settingsButton:focus-visible svg{transform:rotate(60deg)}.auth-controls{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;font-size:.9rem}.auth-controls__button{background:#3b82f64d;border:1px solid rgba(96,165,250,.55);color:#f8fafc;border-radius:var(--radius-pill);padding:8px 18px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s ease,border-color .2s ease}.auth-controls__button:hover:not([disabled]),.auth-controls__button:focus-visible{background:#3b82f680;border-color:#60a5facc}.auth-controls__button[disabled]{opacity:.6;cursor:not-allowed}.auth-controls__status{opacity:.8}.auth-controls__error{position:static;background:#ffffffe6;border:1px solid #d32f2f;border-radius:var(--radius-xs);padding:2px 6px;color:#d32f2f;font-size:.75rem;margin-top:2px}.settings-overlay,.popOut-overlay{position:fixed;top:0;left:0;width:100%;height:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;padding:max(clamp(16px,4vw,32px),var(--safe-top)) max(clamp(16px,4vw,32px),var(--safe-right)) max(clamp(16px,4vw,32px),var(--safe-bottom)) max(clamp(16px,4vw,32px),var(--safe-left));background:radial-gradient(120% 120% at 0% 0%,rgba(37,99,235,.25),transparent 60%),radial-gradient(140% 110% at 85% 20%,rgba(244,114,182,.22),transparent 65%),#040616c7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:20}.settings-content,.popOut-content{position:relative;width:min(480px,100%);color:#e2e8f0;background:linear-gradient(150deg,#0f172aeb,#1e293bdb);border-radius:var(--radius-lg);padding:32px 0 0;border:1px solid rgba(148,163,184,.35);box-shadow:0 20px 42px #02061780;display:flex;flex-direction:column;gap:6px;max-height:min(92vh,680px);overflow:hidden;isolation:isolate;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);--settings-surface: rgba(30, 41, 59, .72);--settings-surface-hover: rgba(41, 55, 80, .82);--settings-border: rgba(148, 163, 184, .45);--settings-text: #e2e8f0;--settings-subtext: rgba(226, 232, 240, .7);animation:popOutEnter .18s ease-out both}@keyframes popOutEnter{0%{opacity:0;transform:scale(.96) translateY(6px)}to{opacity:1;transform:scale(1) translateY(0)}}.popOut-content--closing{animation:popOutExit .15s ease-in both}@keyframes popOutExit{0%{opacity:1;transform:scale(1) translateY(0)}to{opacity:0;transform:scale(.96) translateY(6px)}}.popOut-overlay--closing{animation:popOutOverlayFadeOut .15s ease-in both}@keyframes popOutOverlayFadeOut{0%{opacity:1}to{opacity:0}}.settings-content:before,.popOut-content:before{content:"";position:absolute;inset:-40% -50% 55% -15%;background:radial-gradient(ellipse at top,rgba(59,130,246,.32),transparent 65%);z-index:-1}.settings-content--formulas{width:min(820px,100%)}.settings-header,.popOut-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:0 28px 6px;border-bottom:1px solid rgba(148,163,184,.15)}.settings-title,.popOut-title{margin:0;font-size:1.6rem;font-weight:700;letter-spacing:-.01em;color:#f8fafc}.settings-description,.popOut-description{margin:6px 0 0;font-size:.95rem;color:var(--settings-subtext);min-height:1.2em}.popOut-body{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:16px;scrollbar-gutter:stable;padding:0 28px 28px}.close-button,.popOut-close{background:#0f172a59;border:1px solid rgba(148,163,184,.45);width:38px;height:38px;border-radius:var(--radius-pill);display:inline-flex;align-items:center;justify-content:center;color:#f8fafc;cursor:pointer;transition:background .2s ease,border-color .2s ease}.close-button svg,.popOut-close svg{width:18px;height:18px;display:block}.close-button:hover,.close-button:focus-visible,.popOut-close:hover,.popOut-close:focus-visible{background:#3b82f64d;border-color:#60a5faa6}.settings-grid{display:flex;flex-direction:column;gap:16px}.settings-grid>*{text-align:left}.settings-callout{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:10px;padding:20px 20px 24px;border-radius:var(--radius-lg);background:linear-gradient(150deg,#1e293bd9,#2563eb2e);border:1px solid rgba(148,163,184,.32);box-shadow:0 16px 28px #0f172a47}.settings-callout:before{content:"";position:absolute;inset:28% -35% -38% -25%;background:radial-gradient(circle at 45% 35%,rgba(14,165,233,.28),transparent 72%);opacity:.45;z-index:0}.settings-callout-badge{align-self:flex-start;padding:5px 12px;border-radius:var(--radius-pill);background:#0f172a59;border:1px solid rgba(148,163,184,.3);font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#e2e8f0d9;z-index:1}.settings-callout-title{margin:0;font-size:1.22rem;font-weight:600;letter-spacing:-.01em;color:#f1f5f9eb;z-index:1}.settings-callout-text{margin:0;font-size:.9rem;line-height:1.45;color:#e2e8f0bf;z-index:1}.settings-callout .ui-btn{align-self:flex-start;z-index:1}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;background:var(--settings-surface);border:1px solid var(--settings-border);border-radius:var(--radius-lg);box-shadow:0 16px 34px #02061766;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease,transform .2s ease}.setting-row:hover,.setting-row:focus-within{background:var(--settings-surface-hover);border-color:#60a5fa99;box-shadow:0 20px 38px #02061773;transform:translateY(-1px)}.setting-info{display:flex;flex-direction:column;gap:6px}.setting-label{font-weight:600;letter-spacing:-.01em;color:#f8fafc}.setting-helper{font-size:.85rem;color:var(--settings-subtext)}.setting-toggle{position:relative;display:inline-flex;align-items:center;cursor:pointer}.setting-toggle input{position:absolute;opacity:0;inset:0;cursor:pointer}.setting-toggle .toggle-slider{width:48px;height:26px;border-radius:var(--radius-pill);background:#94a3b84d;border:1px solid rgba(148,163,184,.45);display:inline-flex;align-items:center;padding:0 4px;box-sizing:border-box;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease}.setting-toggle .toggle-slider:after{content:"";width:18px;height:18px;border-radius:50%;background:#f8fafc;box-shadow:0 2px 8px #0f172a4d;transform:translate(0);transition:transform .25s ease}.setting-toggle input:checked+.toggle-slider{background:linear-gradient(135deg,#38bdf8d9,#3b82f6f2);border-color:#7dd3fca6;box-shadow:0 12px 24px #0ea5e973}.setting-toggle input:checked+.toggle-slider:after{transform:translate(20px)}.settings-formulas{display:flex;flex-direction:column;gap:16px;flex:1;min-height:0}.settings-formulas-actions{display:flex;flex-direction:column;gap:16px}.settings-roll-count{display:inline-flex;align-items:center;gap:10px;padding:0 0 8px}.settings-roll-count-label{font-weight:600;color:var(--settings-text)}.settings-roll-count-select{min-width:88px;padding:6px 32px 6px 12px;border-radius:var(--radius-pill);border:1px solid rgba(148,163,184,.45);background-color:#0f172a99;color:#f8fafc;font-size:.95rem;text-align:center;box-shadow:0 10px 20px #02061759;transition:border-color .25s ease,box-shadow .25s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,rgba(226,232,240,.85) 50%),linear-gradient(135deg,rgba(226,232,240,.85) 50%,transparent 50%);background-position:calc(100% - 18px) 55%,calc(100% - 12px) 55%;background-size:6px 6px,6px 6px;background-repeat:no-repeat;cursor:pointer}.settings-roll-count-select:hover,.settings-roll-count-select:focus-visible{border-color:#60a5fa99;box-shadow:0 16px 28px #0f172a73;outline:none}.setting-select{text-align:left;max-width:80%}.settings-formulas-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;-moz-column-gap:12px;column-gap:12px;row-gap:6px;align-items:center}.settings-formulas-toolbar__rsid{display:flex;justify-content:center;align-items:center;min-width:0}.settings-formulas-toolbar__rsid .rsid-display{display:flex;width:100%;min-width:0;justify-content:center}.settings-formulas-toolbar__rsid .rsid-display-target--sprites{min-width:0;width:100%;justify-content:center}.settings-formulas-toolbar__rsid .rsid-sprites--compact{display:grid;grid-template-columns:repeat(4,minmax(0,36px));justify-content:center;width:100%;min-width:0;gap:4px}.settings-formulas-toolbar__rsid .rsid-sprites--compact .rsid-sprite{width:100%;height:auto;max-width:36px;aspect-ratio:1}.settings-format-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 24px}.settings-format-row .versionsPanel,.settings-format-row .settings-roll-count{margin:0;padding:0}.settings-formula-jumps{display:grid;gap:10px;grid-template-columns:repeat(6,minmax(0,1fr));padding:16px;background:#0f172a8c;border:1px solid rgba(148,163,184,.3);border-radius:var(--radius-lg);box-shadow:0 18px 30px #02061773}.formula-jump-button{border:1px solid rgba(148,163,184,.4);background:#1e293bb3;color:#e2e8f0;font-weight:600;font-size:.8rem;padding:8px 0;border-radius:var(--radius-md);cursor:pointer;transition:background .2s ease,border-color .2s ease}.formula-jump-button:hover,.formula-jump-button:focus-visible{border-color:#60a5faa6;background:#3b82f64d;outline:none}.formula-jump-button--invalid{border-color:#f8717180;background:#f8717140;color:#fecaca}.formula-jump-button--invalid:hover,.formula-jump-button--invalid:focus-visible{border-color:#f87171bf;background:#f8717166}.settings-back-button{align-self:center}.settings-advanced-options{border:1px solid rgba(148,163,184,.25);border-radius:var(--radius-md);background:#0f172a66;padding:4px 0}.settings-advanced-options[open]{padding-bottom:12px}.settings-advanced-options__summary{cursor:pointer;padding:8px 0;color:var(--settings-text);font-weight:600;font-size:.9rem;list-style:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.settings-advanced-options__summary::-webkit-details-marker{display:none}.settings-advanced-options__summary:before{content:"▸ ";display:inline-block;transition:transform .2s ease}.settings-advanced-options[open] .settings-advanced-options__summary:before{transform:rotate(90deg)}.settings-advanced-options__body{display:flex;flex-direction:column;gap:12px;padding-top:4px}.settings-formulas-footer{display:flex;justify-content:center}.settings-crn-button{border:1px solid rgba(148,163,184,.45);background:#1e293ba6;color:#f8fafc;font-size:.9rem;font-weight:600;padding:8px 20px;border-radius:var(--radius-pill);cursor:pointer;transition:background .2s ease,border-color .2s ease}.settings-crn-button:hover,.settings-crn-button:focus-visible{background:#60a5fa40;border-color:#60a5faa6;outline:none}.settings-crn-text{margin:0;padding:14px;background:#0f172ab3;border:1px solid rgba(148,163,184,.3);border-radius:var(--radius-md);font-family:JetBrains Mono,Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.85rem;line-height:1.45;color:#f8fafc;white-space:pre-wrap;word-break:break-all;-moz-user-select:text;user-select:text;-webkit-user-select:text;max-height:60vh;overflow:auto}.rsid-sprites{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rsid-sprite{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:var(--radius-sm);background:#0f172a8c;border:1px solid rgba(148,163,184,.25)}.rsid-sprite img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;image-rendering:pixelated;-webkit-user-drag:none;-moz-user-select:none;user-select:none;-webkit-user-select:none;pointer-events:none}.rsid-sprites--compact{gap:4px}.rsid-sprites--compact .rsid-sprite{width:36px;height:36px;border-radius:var(--radius-xs)}.rsid-sprite--blank{border-style:dashed;border-color:#94a3b859;background:#0f172a59}.rsid-display{display:inline-flex;align-items:center;gap:8px;position:relative}.rsid-display-target{background:none;border:none;padding:0;margin:0;color:inherit;font:inherit;display:inline-flex;align-items:center}.rsid-display-target--text{text-decoration:underline;text-underline-offset:2px}.rsid-display-target--sprites:focus-visible .rsid-sprite{border-color:#60a5fa8c}.rsid-display-target:focus-visible{border-radius:var(--radius-xs)}.rsid-display-toggle{font-size:.72rem;padding:3px 9px;border-radius:var(--radius-pill);border:1px solid rgba(148,163,184,.4);background:#0f172a8c;color:var(--settings-subtext);cursor:pointer;line-height:1.2;white-space:nowrap;transition:border-color .2s ease,background .2s ease,color .2s ease}.rsid-display-toggle:hover,.rsid-display-toggle:focus-visible{border-color:#60a5fa99;background:#1e293bb3;color:#f8fafc;outline:none}.settings-rsid-lookup__input{grid-column:1 / -1;justify-self:center;width:min(100%,500px);min-width:0;height:var(--control-h);padding:var(--control-pad);border-radius:var(--radius-sm);border:1px solid rgba(148,163,184,.3);background:#0f172a8c;color:#e2e8f0f2;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:16px;text-align:center;box-sizing:border-box}.settings-rsid-lookup__input::-moz-placeholder{color:#94a3b88c}.settings-rsid-lookup__input::placeholder{color:#94a3b88c}.settings-rsid-lookup__status{font-size:.85rem;margin:4px 0 0;color:#fca5a5}.settings-filters{display:flex;flex-direction:column;gap:12px;margin:8px 12px 12px}.settings-filters__header{display:flex;flex-direction:column;gap:4px}.settings-filters__title{margin:0;font-size:.95rem;font-weight:600}.settings-filters__hint{margin:0;font-size:.8rem;color:var(--settings-subtext, rgba(226, 232, 240, .7))}.settings-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}@media (max-width: 520px){.settings-filter-grid{grid-template-columns:1fr}}.filter-box{position:relative;display:flex;flex-direction:column;gap:10px;padding:14px 16px;background:#1e293bb3;border:1px solid rgba(148,163,184,.35);border-radius:var(--radius-md);box-shadow:0 12px 24px #02061759}.filter-box .formula-field{width:100%}.filter-box>.formula-field:first-of-type{padding-right:28px}.filter-box__remove{position:absolute;top:8px;right:8px;height:26px;width:26px;border-radius:var(--radius-sm);border:1px solid rgba(148,163,184,.35);background:#0f172aa6;color:#f87171f2;font-size:.95rem;line-height:1;cursor:pointer;transition:background .2s ease,border-color .2s ease}.filter-box__remove:hover{background:#7f1d1d59;border-color:#f8717199}.filter-box__issue{margin:0;font-size:.8rem;color:#e2e8f0a6}.typed-value-ct{display:grid;grid-template-columns:auto 1fr;gap:6px;align-items:stretch;min-width:0}.typed-value-ct__sign{display:inline-flex;border:1px solid rgba(148,163,184,.35);border-radius:var(--radius-sm);overflow:hidden;background:#0f172a80}.typed-value-ct__sign-option{border:none;background:transparent;color:#e2e8f0b3;padding:0 8px;font-size:.9rem;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease}.typed-value-ct__sign-option:hover:not(:disabled){color:#f8fafc;background:#94a3b82e}.typed-value-ct__sign-option--active{background:#3b82f659;color:#f8fafc}.typed-value-ct__sign-option:disabled{opacity:.5;cursor:not-allowed}.typed-value-ct__number{min-width:0;width:100%}.filter-row-issue{grid-column:1 / -1;color:#f87171f2;font-style:normal}.settings-filters__footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.settings-filters__add{background:#94a3b826;border:1px solid rgba(148,163,184,.3);color:inherit;border-radius:var(--radius-pill);padding:6px 14px;font-size:.85rem;font-weight:600;cursor:pointer;transition:opacity .2s ease}.settings-filters__add:disabled{opacity:.4;cursor:not-allowed}.settings-filters__count{font-size:.85rem;opacity:.85}.settings-filters__count--error{color:#f87171f2;font-weight:600;opacity:1}.settings-back-button{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;height:var(--control-h);border:1px solid rgba(148,163,184,.45);background:#1e293ba6;color:#f8fafc;font-size:.95rem;font-weight:600;padding:0 var(--space-4);border-radius:var(--radius-pill);cursor:pointer;transition:background .2s ease,border-color .2s ease}.settings-back-button:hover,.settings-back-button:focus-visible{background:#60a5fa40;border-color:#60a5faa6}.settings-back-icon{font-size:1.1rem;line-height:1;transform:translateY(-.5px)}.ui-btn.ui-btn--saved,.ui-btn.ui-btn--saved:disabled,.ui-btn.ui-btn--saved:disabled:hover,.ui-btn.ui-btn--saved:disabled:focus-visible{background:linear-gradient(135deg,#34d399f2,#10b981f2);cursor:default;opacity:1;filter:none}.settings-helper-text{margin:0;font-size:.9rem;color:var(--settings-subtext)}.settings-formula-grid{display:flex;flex-direction:column;gap:12px;max-height:none;overflow-x:hidden;overflow-y:auto;padding-right:4px;flex:1;min-width:0}.settings-formula-grid::-webkit-scrollbar{width:6px}.settings-formula-grid::-webkit-scrollbar-thumb{background:#94a3b859;border-radius:var(--radius-pill)}.formula-row{display:flex;flex-direction:column;gap:12px;padding:0 14px 10px;background:#1e293bb3;border:1px solid rgba(148,163,184,.35);border-radius:var(--radius-lg);box-shadow:0 18px 32px #02061773;container-type:inline-size;container-name:formula-row}.formula-row__content{display:flex;flex-direction:column;gap:12px;min-width:0}.formula-row__tabs{display:flex;flex-wrap:nowrap;gap:0;margin:0 -18px;border-bottom:1px solid rgba(148,163,184,.3);background:#0f172a80;border-radius:18px 18px 0 0;overflow:hidden}.formula-row__tab{flex:1 1 0;min-width:0;padding:5px 6px;border:none;border-right:1px solid rgba(148,163,184,.25);background:transparent;color:#e2e8f0b3;font-family:inherit;font-size:.8rem;font-weight:600;letter-spacing:.02em;cursor:pointer;transition:background .15s ease,color .15s ease}.formula-row__tab:last-child{border-right:none}.formula-row__tab:hover:not(:disabled):not(.formula-row__tab--locked){color:#f8fafc;background:#94a3b82e}.formula-row__tab--active{background:#3b82f666;color:#f8fafc}.formula-row__tab--custom{font-style:italic}.formula-row__tab--locked{cursor:default;display:flex;align-items:center;justify-content:center}@container formula-row (inline-size < 460px){.formula-row__content{flex-direction:row;align-items:stretch}.formula-row__tabs{flex-direction:column;flex-wrap:nowrap;flex:0 0 auto;margin:0 0 0 -14px;border-bottom:1px solid rgba(148,163,184,.3);border-right:1px solid rgba(148,163,184,.3);border-radius:17px 0 0 16px}.formula-row__tab{flex:1 1 0;width:100%;border-right:none;border-bottom:1px solid rgba(148,163,184,.25);text-align:center;padding:10px 12px;font-size:.85rem}.formula-row__tab:last-child{border-bottom:none}.formula-row-fields{flex:1 1 auto;min-width:0;padding-top:14px}}.formula-row-fields{display:grid;grid-template-columns:1fr;gap:8px;align-items:flex-start}@container formula-row (inline-size >= 460px){.formula-row-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;grid-auto-flow:column;-moz-column-gap:0;column-gap:0;row-gap:10px}.formula-row-fields>.formula-field:nth-child(1),.formula-row-fields>.formula-field:nth-child(2){border-right:1px solid rgba(148,163,184,.18);padding-right:10px}.formula-row-fields>.formula-field:nth-child(3),.formula-row-fields>.formula-field:nth-child(4){padding-left:10px}}.formula-field-header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:28px}.formula-field-header__toggle{margin-top:0;align-self:center;flex:0 1 auto}.formula-field{display:flex;flex-direction:column;gap:4px;min-width:0}.formula-row-description{margin:0;padding-top:4px;border-top:1px solid rgba(148,163,184,.2);color:#e2e8f0c7;font-size:.85rem;line-height:1.5;font-style:italic}.formula-row-description--invalid{border-top:0;padding:8px 12px;border-radius:var(--radius-sm);background:#f871712e;color:#fecaca;font-style:normal}.formula-row-description__property{display:inline;white-space:nowrap}.formula-row-description__icon{width:1.05em;height:1.05em;-o-object-fit:contain;object-fit:contain;display:inline-block;vertical-align:-.15em;margin-right:2px}.formula-row-description__label{font:inherit;color:inherit}.formula-field-label{font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#e2e8f099}.formula-input{height:var(--control-h);padding:var(--control-pad);border-radius:var(--radius-md);border:1px solid rgba(148,163,184,.35);background:#0f172aa6;font-size:.9rem;color:#f8fafc;transition:border-color .25s ease,box-shadow .25s ease;box-sizing:border-box}@media (pointer: coarse){.formula-input,.formula-select,.property-select__button,.settings-rsid-lookup__input,.typed-value-ct__number{font-size:16px}}.formula-input:disabled,.formula-select:disabled{background:#47556980;color:#e2e8f08c;border-color:#94a3b840;cursor:not-allowed}.formula-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,rgba(226,232,240,.65) 50%),linear-gradient(135deg,rgba(226,232,240,.65) 50%,transparent 50%),linear-gradient(to right,#94a3b859,#94a3b859);background-position:calc(100% - 18px) 55%,calc(100% - 12px) 55%,calc(100% - 2.5em) center;background-size:6px 6px,6px 6px,1px 60%;background-repeat:no-repeat;padding-right:32px;cursor:pointer}.formula-select:focus-visible{outline:none}.property-select{position:relative;min-width:0}.property-select__button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:0 36px 0 10px;height:var(--control-h);cursor:pointer;position:relative;border-radius:var(--radius-md);border:1px solid rgba(148,163,184,.35);background:#0f172a99;color:#f8fafc;transition:border-color .2s ease,box-shadow .2s ease}.property-select__button:hover,.property-select__button:focus-visible{border-color:#60a5fa99;box-shadow:0 18px 28px #0f172a73;outline:none}.property-select__button:after{content:"";position:absolute;right:14px;top:50%;width:8px;height:8px;border-right:2px solid rgba(226,232,240,.7);border-bottom:2px solid rgba(226,232,240,.7);transform:translateY(-50%) rotate(45deg);pointer-events:none}.property-select__button:disabled{cursor:not-allowed;opacity:.6}.property-select__value{display:inline-flex;align-items:center;gap:10px;min-width:0}.property-select__icon{width:20px;height:20px;border-radius:var(--radius-xs);-o-object-fit:contain;object-fit:contain;box-shadow:0 0 0 1px #94a3b873;background:#1e293bcc;flex:0 0 auto}.property-select__icon--button{width:30px;height:30px;background:none;box-shadow:none;border:none;border-radius:0}.property-select__label{display:inline-block;color:#f8fafc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.property-select__label--placeholder{color:#e2e8f08c}.property-select__list{position:absolute;left:0;right:0;margin-top:6px;padding:6px 0;border-radius:var(--radius-md);border:1px solid rgba(148,163,184,.45);background:#0f172af2;box-shadow:0 24px 40px #0206178c;max-height:260px;overflow-y:auto;z-index:10}.property-select__option{display:flex;align-items:center;gap:10px;padding:8px 14px;font-size:.9rem;color:#f8fafc;cursor:pointer;transition:background-color .1s ease,color .1s ease,padding .05s ease,font-size .05s ease,gap .05s ease}.property-select__option--highlighted{background:#3b82f64d;padding:8px 6px;font-size:1.1rem;gap:12px;font-weight:600}.property-select__option--highlighted .property-select__icon{width:40px;height:40px}.property-select__option--selected{font-weight:600;color:#e0f2fe}.property-select__option--custom .property-select__label{font-style:italic;color:#e2e8f0b3}.property-select__list::-webkit-scrollbar{width:8px}.property-select__list::-webkit-scrollbar-thumb{background:#94a3b866;border-radius:var(--radius-pill)}.property-select[data-disabled] .property-select__button:after{border-color:#94a3b880}.formula-input:focus-visible{border-color:#7dd3fcb3}.scorer-toggle{display:inline-flex;flex-wrap:nowrap;align-self:flex-start;margin-top:4px;padding:2px;border-radius:var(--radius-pill);background:#0f172a8c;border:1px solid rgba(148,163,184,.35);gap:2px;max-width:100%}.scorer-toggle-option{padding:4px 10px;border:none;border-radius:var(--radius-pill);background:transparent;font-size:.65rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#f1f5f9d9;cursor:pointer;transition:background .2s ease,color .2s ease;flex:1 1 auto;text-align:center;white-space:nowrap}.scorer-toggle-option:hover{background:#3b82f64d;color:#f8fafc}.scorer-toggle-option--active{background:#3b82f68c;color:#f8fafc;box-shadow:inset 0 0 0 1px #60a5faa6}#gamespace{width:100%;height:100%;aspect-ratio:4 / 5;background-color:var(--game-area-bg-color);background-image:radial-gradient(circle at 20% 15%,rgba(56,189,248,.22),transparent 55%),radial-gradient(circle at 80% 20%,rgba(96,165,250,.15),transparent 50%),linear-gradient(180deg,#ffffffe6,#e2e8f0a6);box-shadow:0 4px 10px #0003,var(--surface-glow);display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding:0;max-width:100%;max-height:100%;margin:auto;border-bottom-left-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-lg)}.gameboard{flex:1;width:100%;min-height:0;display:grid;grid-template-columns:max-content minmax(0,1fr);grid-template-rows:repeat(6,minmax(0,1fr));gap:0px 1px;padding:0;box-sizing:border-box;align-items:stretch}@media (orientation: landscape){#gamespace{height:100%;width:auto}}@media (orientation: landscape) and (max-height: 480px) and (pointer: coarse){#gamespace.gamespace--landscape-mobile{flex-direction:row;align-items:stretch;justify-content:flex-start;aspect-ratio:auto;width:100%;height:100%;gap:6px;padding:6px;box-sizing:border-box}.gamespace--landscape-mobile .lm-leftrail{flex:0 0 40%;min-width:0;min-height:0;display:flex;flex-direction:column;gap:6px}.gamespace--landscape-mobile .lm-scorebar{flex:1 1 auto;min-width:0;min-height:0;display:flex;overflow-y:auto}.gamespace--landscape-mobile #scoreboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:3px;flex:1 1 auto;min-height:0;width:100%}.gamespace--landscape-mobile #scoreboard .rowOfSquares{display:contents}.gamespace--landscape-mobile #scoreboard .scoreTile{aspect-ratio:auto;height:100%;min-height:0}.gamespace--landscape-mobile .lm-controls{flex:0 0 auto;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:8px;min-height:0}.gamespace--landscape-mobile .lm-controls-rollButton{flex:1 1 auto}.gamespace--landscape-mobile .lm-controls-replay{display:flex;flex-direction:row;align-items:center;gap:6px}.gamespace--landscape-mobile .lm-board{flex:1 1 auto;width:auto;min-width:0;grid-template-columns:repeat(2,max-content minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));-moz-column-gap:6px;column-gap:6px}}.rowOfSquares,#scoreboard{display:flex;justify-content:space-between;align-items:center;width:100%;background-color:transparent;padding:0;margin:0;box-shadow:none;border-radius:0}#scoreboard{flex-direction:column}.scoreTile{position:relative;flex-direction:column;justify-content:center;gap:0;background:linear-gradient(180deg,var(--surface-3),var(--surface-2));box-shadow:0 2px 6px #0f172a4d;min-width:0;border:1px solid var(--border-subtle);cursor:pointer;padding:0 var(--space-1);color:var(--text-primary);font:inherit;text-align:center;overflow:hidden;transition:border-color .12s ease,filter .12s ease}.scoreTile:focus-visible{outline:none;box-shadow:var(--focus-ring)}.scoreTile:not(:disabled):hover{border-color:var(--border-subtle);filter:brightness(1.08)}.scoreTile:disabled{cursor:default}.scoreTile.rectangleInRow{aspect-ratio:1.22;border-radius:0;padding:0}.scoreTile__identity{flex:1 1 56%;min-height:0;width:100%;min-width:0;display:flex;flex-direction:column;align-items:stretch;line-height:1.04;overflow:hidden}.scoreTile__identity--text{align-items:center;max-width:100%;font-size:clamp(.5rem,1.05vw + .3rem,.8rem);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scoreTile__icon{flex:none;height:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;overflow:hidden}.scoreTile__icon img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.scoreTile__top{flex:1 1 0;min-height:0;min-width:0;display:flex;flex-direction:row;align-items:stretch;overflow:hidden}.scoreTile__threshold{flex:1 1 0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;font-size:clamp(.46rem,.85vw + .25rem,.7rem);font-weight:600;color:var(--text-primary);font-variant-numeric:tabular-nums}.scoreTile__threshold--visual{gap:2px;padding:1px 0}.scoreTile__thresholdIcon{height:100%;width:auto;max-width:100%;-o-object-fit:contain;object-fit:contain}.scoreTile__thresholdPill{height:80%;width:auto;max-width:100%}.scoreTile__thresholdCmp{font-size:clamp(.46rem,.85vw + .25rem,.7rem);font-weight:600;color:var(--text-primary)}.scoreTile__value{flex:1 1 auto;display:flex;align-items:center;justify-content:right;gap:3px;min-width:0;overflow:hidden;white-space:nowrap;font-size:clamp(.46rem,.9vw + .25rem,.68rem);font-weight:700;color:var(--text-subtle)}.scoreTile__scorerIcon{width:1.1em;height:1.1em;-o-object-fit:contain;object-fit:contain;flex:none}.scoreTile__scorer,.scoreTile__mult{min-width:0;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.scoreTile__mult{color:var(--text-subtle)}.scoreTile__score{flex:1 1 44%;min-height:0;width:100%;display:flex;flex-direction:column;background:#00000047;border-top:1px solid rgba(255,255,255,.06);color:var(--text-primary);font-weight:800;font-variant-numeric:tabular-nums;font-size:clamp(.8rem,1.2vw + .42rem,1.15rem);line-height:1;transition:background .12s ease,color .12s ease}.scoreTile__scoreNum{flex:1 1 auto;min-height:0;display:flex;justify-content:center;align-items:center;letter-spacing:-.02em}.scoreTile__bars{flex:0 0 auto;display:flex;flex-direction:row;align-items:flex-end;gap:1px;height:5px;padding:0 2px 2px;box-sizing:border-box}.scoreTile__bar{flex:1 1 0;min-width:0;height:3px}.scoreTile__bar--lit{background:var(--bar-lit-bg);box-shadow:0 0 4px var(--bar-lit-glow)}.scoreTile__bar--complete{background:var(--bar-complete-bg);box-shadow:0 0 4px var(--bar-complete-glow)}.scoreTile__bar--dark{background:var(--bar-dark-bg)}.scoreTile__score--empty{background:transparent;color:var(--text-subtle)}.scoreTile__score--held{background:var(--btn-primary-bg);color:var(--btn-primary-fg);box-shadow:var(--btn-primary-shadow)}.scoreTile__bonusAdd{margin-left:2px;font-variant-numeric:tabular-nums}.scoreTile__bonusAdd--pending{color:var(--bonus-gold);font-weight:800}.rectangleInRow{flex:1;aspect-ratio:2;background-color:var(--teammate-bg-color);border:1px solid var(--teammate-border-color);margin:0;box-shadow:none;display:flex;justify-content:center;align-items:center;border-radius:20%}.teammate{height:100%;aspect-ratio:1 / 1;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;transition:background-color .07s,box-shadow .2s ease,transform .2s ease;background:radial-gradient(circle at bottom,rgba(56,189,248,.25),transparent 55%),linear-gradient(180deg,#0b1226,#101c3c 55%,#0f172a);box-shadow:0 3px 6px #0f172a59;border:1px solid var(--teammate-border-color);border-radius:20%;box-sizing:border-box;align-self:stretch;cursor:pointer;padding:2.5%}.teammate.disabled{opacity:.6;filter:grayscale(.35);cursor:not-allowed}.teammate-image{pointer-events:none;-o-object-fit:contain;object-fit:contain;display:block;width:100%;height:100%}.teammate.held{background-image:linear-gradient(140deg,#06b6d4f2,#3b82f6e6)!important;box-shadow:0 3px 6px #0e749059}.teammate.shiny{background-image:radial-gradient(circle at bottom,rgba(250,204,21,.32),transparent 55%),linear-gradient(180deg,#3a2e05,#5c4708 55%,#2a2103)!important;box-shadow:0 3px 6px #facc1559}.teammate.shiny.held{background-image:linear-gradient(140deg,#facc15f2,#facc15e6)!important;box-shadow:0 3px 6px #0e749059}.locked{background-image:linear-gradient(140deg,#818cf8e6,#38bdf8d9);color:#0f172a;box-shadow:0 4px 14px #6366f14d}.scoreTile.locked .scoreTile__threshold,.scoreTile.locked .scoreTile__thresholdCmp,.scoreTile.locked .scoreTile__value,.scoreTile.locked .scoreTile__mult{color:var(--text-on-light)}.scoreTile.locked .scoreTile__score{background:#0f172a29;color:var(--text-on-light)}.dexDisplay{position:relative;width:100%;height:100%;min-height:0;background-color:#94a3b833;padding:3px 16px 3px 3px;box-shadow:0 2px 2px #0f172a40;border-radius:var(--radius-md);color:#0f172a;box-sizing:border-box;align-self:stretch;display:flex;flex-direction:column;gap:0px;overflow:hidden}.dexDisplay-header{display:flex;flex-direction:row;align-items:flex-start;gap:8px;min-width:0;width:100%;flex:0 0 auto;overflow:hidden}.dexDisplay-typeIcons{display:flex;flex-direction:row;align-items:center;gap:2px;flex-shrink:0}.dexDisplay-typeIcon{width:18px;height:18px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.dexDisplay-typeIcon img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.dexDisplay-nameBlock{display:flex;flex-direction:column;align-items:flex-start;line-height:1;gap:1px;min-width:0;flex:0 0 auto;min-height:calc(1.55rem + 1px)}.dexDisplay-nameRow{display:inline-flex;align-items:center;gap:6px}.dexDisplay-name{font-weight:600;font-size:1.05rem}.dexDisplay-formLine{display:inline-flex;align-items:center;font-size:.85rem}.dexDisplay-region{color:#1d4ed8;font-weight:600;font-size:.75rem;text-transform:uppercase}.dexDisplay-form{font-size:.5rem;opacity:.9}.dexDisplay-badges{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;flex:1 1 auto;min-width:0}.dexDisplay:after{content:"";position:absolute;top:0;left:0;width:16px;height:100%;background-color:var(--dex-color);border-radius:12px 0 0 12px;pointer-events:none;display:none}.dexDisplay[data-has-color=true]:after{display:block}.dexDisplay[data-has-color=true]{padding-left:18px}.dexDisplay-details{flex:1 1 auto;min-height:0;min-width:0;width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:none;scrollbar-width:none;-ms-overflow-style:none}.dexDisplay-details::-webkit-scrollbar{width:0;height:0;display:none}.dexDisplay-detailsTrack{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:.3em;width:-moz-max-content;width:max-content;height:100%;font-size:calc(.78rem * var(--dex-chip-scale, 1));line-height:1.1}.dexDisplay-detailRow{display:flex;flex-direction:row;align-items:center;gap:.4em;width:-moz-max-content;width:max-content}.dexDisplay-chipSlot{display:inline-flex;flex:0 0 auto;align-items:center}.dexDisplay-chipPad{flex:0 0 auto;width:0;align-self:stretch;pointer-events:none}.dexDisplay-chipSlot--empty{pointer-events:none}.dexDisplay-chip{display:inline-flex;align-items:center;gap:.25em;padding:.05em .35em;border-radius:var(--radius-pill);border:1px solid var(--border-subtle);white-space:nowrap;color:inherit}.dexDisplay-chip--perm{background:var(--chip-pin-perm-bg);border-color:var(--chip-pin-perm-border)}.dexDisplay-chip--temp{background:var(--chip-pin-temp-bg);border-color:var(--chip-pin-temp-border)}.dexDisplay-chip--interactive{cursor:pointer;touch-action:pan-x;-moz-user-select:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.dexDisplay-chipIcon{width:1.15em;height:1.15em;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.dexDisplay-chipIcon img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.dexDisplay-chipIcon--fallback{font-weight:600;color:#1d4ed8}.dexDisplay-chipValue{white-space:nowrap}.dexDisplay--collapsed .dexDisplay-chip{cursor:pointer}.dexDisplay--collapsed .dexDisplay-chip:not(.dexDisplay-chip--temp):not(.dexDisplay-chip--perm) .dexDisplay-chipValue{display:none}.dexDisplay--collapsed .dexDisplay-chip:not(.dexDisplay-chip--temp):not(.dexDisplay-chip--perm):hover .dexDisplay-chipValue,.dexDisplay--collapsed .dexDisplay-chip--open:not(.dexDisplay-chip--temp):not(.dexDisplay-chip--perm) .dexDisplay-chipValue{display:inline}.dexDisplay-badge{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px}.dexDisplay-badge img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.dexDisplay-badgeFallback{font-size:.75rem;font-weight:600;color:#1d4ed8;line-height:1}.gameFooter{margin-top:auto;width:100%;display:grid;grid-template-columns:20% 1fr 20%;align-items:center;gap:6px;padding:12px 8px;box-sizing:border-box}.gameFooter-score{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#0f172a;font-weight:700;text-align:center;gap:2px;width:100%}.gameFooter-scoreValue{font-size:2rem;line-height:1}.gameFooter-scoreLabel{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;opacity:.8}.gameFooter-rollButton{width:100%;background:linear-gradient(135deg,#0ea5e9f2,#4f46e5d9);color:#ecfeff;font-size:1.05rem;font-weight:600;letter-spacing:.02em;padding:12px 18px;border:none;border-radius:var(--radius-md);cursor:pointer;box-shadow:0 10px 24px #0f172a33;text-shadow:0 1px 2px rgba(15,23,42,.45);transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}.gameFooter-rollButton:hover,.gameFooter-rollButton:focus-visible{transform:translateY(-1px);box-shadow:0 14px 30px #0f172a40;filter:brightness(1.1)}.gameFooter-rollButton:active{transform:translateY(1px);box-shadow:0 8px 18px #0f172a33}.gameFooter-rollButton--greyed{opacity:.45;filter:grayscale(.6);pointer-events:none}.rollIndicator{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;margin-left:0;padding:0;color:#0f172a;text-align:center}.rollIndicator-row{display:flex;justify-content:center;gap:4px}.rollIndicator--text{gap:2px;font-weight:700}.rollCircle{width:12px;height:12px;border-radius:50%;border:1px solid rgba(15,23,42,.3);background-color:#94a3b840}.rollCircle.full{background:linear-gradient(135deg,#06b6d4f2,#0ea5e9f2);border-color:transparent}.sideMenuOverlay{position:fixed;inset:0;background:radial-gradient(120% 120% at 0% 0%,rgba(56,189,248,.18),transparent 55%),radial-gradient(120% 120% at 85% 0%,rgba(129,140,248,.18),transparent 60%),#020617b8;opacity:0;pointer-events:none;transition:opacity .3s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:10}.sideMenuOverlay.open{opacity:1;pointer-events:auto}.sideMenu{position:fixed;top:0;left:0;height:100%;width:min(420px,92%);background:linear-gradient(155deg,#0d1122f5,#1e293beb);box-shadow:0 28px 60px #020617a6;padding-top:max(32px,var(--safe-top));padding-right:28px;padding-bottom:max(32px,var(--safe-bottom));padding-left:max(28px,var(--safe-left));box-sizing:border-box;transform:translate(-100%);transition:transform .28s ease;display:flex;flex-direction:column;gap:1.9rem;z-index:11;color:#e2e8f0;border-right:1px solid rgba(148,163,184,.35);isolation:isolate;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.sideMenu:before{content:"";position:absolute;inset:-45% -45% 50% -25%;background:radial-gradient(ellipse at top,rgba(96,165,250,.5),transparent 65%);opacity:.85;z-index:-1}.sideMenu.open{transform:translate(0)}.sideMenu-header{display:flex;justify-content:space-between;align-items:center}.sideMenu-header h2{margin:0;font-size:1.55rem;letter-spacing:-.01em;color:#f8fafc}.sideMenu-closeButton{background:#0f172a73;border:1px solid rgba(148,163,184,.45);width:38px;height:38px;border-radius:var(--radius-pill);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#f8fafc;transition:background .2s ease,border-color .2s ease}.sideMenu-closeButton svg{width:18px;height:18px;display:block}.sideMenu-closeButton:hover,.sideMenu-closeButton:focus-visible{background:#3b82f64d;border-color:#60a5faa6}.sideMenu-section{display:flex;flex-direction:column;gap:.9rem;background:#0f172a8c;border:1px solid rgba(148,163,184,.35);border-radius:var(--radius-lg);padding:20px 18px;box-shadow:0 20px 36px #02061780}.sideMenu-page,.sideMenu-leaderboard{display:flex;flex-direction:column;gap:1rem;flex:1;min-height:0}.sideMenu-backButton{align-self:flex-start;padding:.5rem .9rem;border-radius:var(--radius-pill);border:1px solid rgba(148,163,184,.45);background:#1e293bb3;color:#f8fafc;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .25s ease,background .25s ease,border-color .25s ease}.sideMenu-backButton:hover,.sideMenu-backButton:focus-visible{transform:translateY(-1px);border-color:#60a5fa99;background:#60a5fa59;color:#0f172a;box-shadow:0 18px 28px #02061766}.sideMenu-status{margin:0;font-size:.95rem;line-height:1.6}.sideMenu-status--muted{color:#e2e8f0b3}.sideMenu-status--error{padding:.75rem 1rem;border-radius:var(--radius-lg);background:#f871712e;border:1px solid rgba(248,113,113,.45);color:#fecaca}.sideMenu-pageContent{flex:1;overflow-y:auto;padding-right:.25rem;color:#e2e8f0;font-size:.95rem;line-height:1.65}.sideMenu-pageContent h1,.sideMenu-pageContent h2,.sideMenu-pageContent h3{margin-top:1.5rem;font-size:1.2rem;color:#f8fafc}.sideMenu-pageContent h1:first-child,.sideMenu-pageContent h2:first-child,.sideMenu-pageContent h3:first-child{margin-top:0}.sideMenu-pageContent p,.sideMenu-pageContent ul{margin:0 0 1rem;color:#e2e8f0bf}.sideMenu-pageContent ul{padding-left:1.25rem}.sideMenu-section h3{margin:0;font-size:1.15rem;color:#f8fafc;letter-spacing:-.01em}.sideMenu .auth-controls{gap:.75rem}.sideMenu .auth-controls__status{display:block;font-weight:600;color:#e2e8f0bf}.sideMenu .auth-controls__button{border:1px solid rgba(148,163,184,.45);background:#1e293ba6;color:#f8fafc;border-radius:var(--radius-pill);padding:6px 12px;transition:background .25s ease,border-color .25s ease,transform .2s ease,box-shadow .25s ease}.sideMenu .auth-controls__button:hover,.sideMenu .auth-controls__button:focus-visible{background:#60a5fa59;color:#0f172a;border-color:#60a5fa99;box-shadow:0 16px 26px #02061766;transform:translateY(-1px)}.sideMenu-subtext{margin:0;color:#e2e8f0b3;font-size:.95rem}.sideMenu-lastChanged{margin:-.6rem 0 0;text-align:center;color:#e2e8f080;font-size:.78rem}.sideMenu-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.sideMenu-linkButton{width:100%;padding:12px 14px;border-radius:var(--radius-md);border:1px solid rgba(148,163,184,.35);background:linear-gradient(135deg,#3b82f659,#0ea5e94d);background-clip:padding-box;display:flex;justify-content:space-between;align-items:center;color:#f8fafc;font-weight:600;letter-spacing:-.01em;cursor:pointer;transition:border-color .2s ease,filter .2s ease}.sideMenu-linkButton span{font-size:1.15rem}.sideMenu-linkButton:hover,.sideMenu-linkButton:focus-visible{border-color:#60a5faa6;filter:brightness(1.1)}.sideMenu-section--primary .sideMenu-linkButton{min-height:72px;align-items:flex-end;background-image:linear-gradient(to top,rgba(4,6,22,.72) 0%,rgba(4,6,22,.18) 60%,transparent 100%),var(--nav-img, none);background-size:cover,cover;background-position:center,center;text-shadow:0 1px 4px rgba(0,0,0,.5)}.sideMenu-section--primary .sideMenu-linkButton[data-link=leaderboard]{background-color:#a1641259;border-color:#fbbf2459}.sideMenu-section--primary .sideMenu-linkButton[data-link=history]{background-color:#1d4e9c59;border-color:#60a5fa59}.sideMenu-section--primary .sideMenu-linkButton[data-link=replay-center]{background-color:#14645059;border-color:#34d39959}.pendingSubmissions-heading{margin:0 0 .5rem;font-size:1.15rem;color:#f8fafc;letter-spacing:-.01em}.pendingSubmissions-hint{margin:0 0 .5rem;color:#e2e8f0b3;font-size:.9rem;font-style:italic}.pendingSubmissions-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.pendingSubmissions-row{border:1px solid rgba(148,163,184,.35);border-radius:var(--radius-md);padding:10px 12px;background:#1e293b73;display:flex;flex-direction:column;gap:.35rem}.pendingSubmissions-meta{display:flex;justify-content:space-between;align-items:baseline;gap:.75rem}.pendingSubmissions-score{font-weight:700;color:#f8fafc;font-size:1.05rem}.pendingSubmissions-date{color:#e2e8f0a6;font-size:.85rem}.pendingSubmissions-error{margin:0;color:#f87171f2;font-size:.85rem;overflow-wrap:anywhere}.versionsPanel{display:flex;flex-direction:column;gap:.25rem}.settings-roll-count-static{min-width:88px;padding:6px 12px;border-radius:var(--radius-pill);border:1px solid rgba(148,163,184,.3);background:#0f172a66;color:#e2e8f0d9;font-size:.95rem;text-align:center;font-variant-numeric:tabular-nums}.versionsPanel-hint{margin:0;color:#fcd34df2;font-size:.85rem}.settings-version-info{margin-top:1.25rem;padding-top:.75rem;border-top:1px solid rgba(148,163,184,.18);color:#cbd5e1b3;font-size:.78rem}.settings-version-info-title{margin:0 0 .4rem;font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8cc}.settings-version-info-list{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.1rem .75rem;font-variant-numeric:tabular-nums}.settings-version-info-row{display:contents}.settings-version-info-row dt{color:#94a3b8d9}.settings-version-info-row dd{margin:0;color:#e2e8f0e6}.historyScreen{position:fixed;inset:0;z-index:9000;display:flex;flex-direction:column;background:#0a1b7b;color:#f8fafc;font-family:inherit;padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);box-sizing:border-box}.historyScreen-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid rgba(148,163,184,.35)}.historyScreen-title{margin:0;font-size:1.35rem;letter-spacing:-.01em}.historyScreen-close{background:transparent;border:1px solid rgba(148,163,184,.45);color:#f8fafc;border-radius:var(--radius-pill);width:2.25rem;height:2.25rem;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.historyScreen-close svg{width:16px;height:16px;display:block}.historyScreen-close:hover,.historyScreen-close:focus-visible{background:#60a5fa59;border-color:#60a5fa99}.historyScreen-body{flex:1;overflow-y:auto;padding:1rem 1.25rem 2rem}.historyScreen-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem;width:100%}.historyScreen-row{border:1px solid rgba(148,163,184,.35);border-radius:var(--radius-sm);padding:.45rem .85rem;background:#1e293b73;display:flex;flex-direction:column;gap:.2rem}.historyScreen-rowMain{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem}.historyScreen-score{font-weight:700;font-size:1.15rem}.historyScreen-scoreLabel{font-size:.82em;font-weight:600;color:#e2e8f0bf}.historyScreen-badge{font-size:.78rem;font-weight:600;padding:.15rem .55rem;border-radius:var(--radius-pill);border:1px solid currentColor}.historyScreen-badge--submitted{color:#86efacf2}.historyScreen-badge--failed{color:#f87171f2}.historyScreen-badge--pending,.historyScreen-badge--submitting{color:#fde047f2}.historyScreen-rowMeta{display:flex;align-items:center;justify-content:space-between;gap:.75rem;color:#e2e8f0a6;font-size:.85rem}.historyScreen-versions{font-variant-numeric:tabular-nums}.historyScreen-metaRight{display:flex;align-items:center;gap:.5rem}.historyScreen-metaRight .rsid-sprites--compact .rsid-sprite{width:26px;height:26px}.historyScreen-row--unsubmitted{border-color:#f8717173;background:#3c1e2866}.historyScreen-row--justSubmitted{border-color:#4ade8080;background:#14321e80;transition:border-color .4s ease,background .4s ease}.historyScreen-row--invalid{opacity:.6;border-style:dashed}.historyScreen-error{margin:0;color:#f87171e6;font-size:.8rem;overflow-wrap:anywhere}.historyScreen-rowMain .historyScreen-score{margin-right:auto}.historyScreen-bulkBar{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;flex-wrap:wrap;padding:0 1.25rem .75rem}.historyScreen-hint{color:#e2e8f0b3;font-size:.85rem}.historyScreen-confirmDelete{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.replayCenter{position:fixed;inset:0;z-index:9000;display:flex;flex-direction:column;background:#0a1b7b;color:#f8fafc;font-family:inherit;padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);box-sizing:border-box}#banner.banner--replay{background-color:#5b8def;background-image:linear-gradient(135deg,#bae6fd8c,#a5b4fc1f)}.replayCenter-body{display:flex;flex-direction:column;gap:.75rem;min-width:0}.replayCenter-label{font-weight:600}.replayCenter-textarea{width:100%;max-width:100%;box-sizing:border-box;resize:vertical;border-radius:var(--radius-sm);border:1px solid rgba(148,163,184,.45);background:#0206178c;color:#f8fafc;padding:.75rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.replayCenter-error{color:#f87171f2;font-size:.85rem;margin:0}.replayCenter-actions{display:flex;justify-content:flex-end}.replayCenter-divider{height:1px;background:#94a3b84d;margin:.5rem 0}.replayCenter-links{display:flex;flex-direction:column;gap:.5rem}.replayCenter-linkBtn{text-align:left;background:#1e293b73;border:1px solid rgba(148,163,184,.35);color:#f8fafc;border-radius:var(--radius-sm);padding:.75rem 1rem;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .2s ease,border-color .2s ease}.replayCenter-linkBtn:hover,.replayCenter-linkBtn:focus-visible{background:#3b82f64d;border-color:#60a5fa80}.replayCenter-hint{color:#e2e8f0a6;font-size:.85rem}.replayScreen-banner{background:#ca8a044d;color:#451a03f2;padding:.4rem 1rem;font-size:.8rem;text-align:center}.replayMessage{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:2rem 1.25rem;text-align:center;color:#0f172a}.replayMessage-btn{width:auto;padding:10px 18px}.replayMessage-detail{color:#b91c1c;font-size:.85rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;max-width:36rem;overflow-wrap:anywhere}.replayControls{display:flex;width:100%;gap:8px}.replayControls-btn{flex:1;width:auto}.replayControls-btn:disabled{opacity:.4;filter:grayscale(.7);cursor:not-allowed;transform:none;box-shadow:none}.replayControls-btn:disabled:hover{transform:none;filter:grayscale(.7);box-shadow:none}.replayChevron{background:transparent;border:1px solid rgba(148,163,184,.45);color:#f8fafc;border-radius:var(--radius-pill);width:1.9rem;height:1.9rem;font-size:1rem;line-height:1;cursor:pointer;flex:none}.replayChevron:hover:not(:disabled),.replayChevron:focus-visible:not(:disabled){background:#60a5fa59;border-color:#60a5fa99}.replayChevron:disabled{opacity:.35;cursor:not-allowed;color:#e2e8f099;border-color:#94a3b840}.sideMenu-leaderboardReplayCell{text-align:right;width:2.6rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.settings-box{display:flex;flex-direction:column;gap:10px;padding:18px 18px 20px;border-radius:var(--radius-lg);background:#1e293b8c;border:1px solid rgba(148,163,184,.3)}.settings-box-title{margin:0;font-size:1.1rem;font-weight:600;color:#f1f5f9eb}.settings-box-subtext{margin:0;font-size:.9rem;line-height:1.45;color:#e2e8f0bf}.leaderboardTableScroll{overflow-y:auto;border:1px solid rgba(148,163,184,.35);border-radius:var(--radius-lg)}.leaderboardTable{width:100%;border-collapse:collapse;font-size:.95rem;color:#f8fafc}.leaderboardTable thead{position:sticky;top:0;background:#3b69b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.leaderboardTable th,.leaderboardTable td{padding:.7rem 1rem;text-align:left;border-bottom:1px solid rgba(148,163,184,.25)}.leaderboardTable th{font-weight:600;color:#fff;font-size:.82rem;text-transform:uppercase;letter-spacing:.05em}.leaderboardTable tbody tr:nth-child(2n){background:#0f172a80}.leaderboardTable tbody tr:hover{background:#3b82f638}.leaderboardReplayCell{text-align:right;width:2.6rem}body.no-animations *,body.no-animations *:before,body.no-animations *:after{transition:none!important;animation-duration:.001ms!important;animation-delay:0s!important;animation-iteration-count:1!important}body.no-animations .popOut-close:hover,body.no-animations .popOut-close:focus-visible,body.no-animations .sideMenu-closeButton:hover,body.no-animations .sideMenu-closeButton:focus-visible{box-shadow:none!important;transform:none!important}.leaderboardRsidSearch{display:flex;flex-direction:column;align-items:center;gap:.6rem;width:100%;min-width:0}.leaderboardRsidSprites{display:inline-flex}.leaderboardRsidInput{width:min(100%,500px);min-width:0;height:var(--control-h);padding:var(--control-pad);border-radius:var(--radius-sm);border:1px solid rgba(148,163,184,.3);background:#0f172a8c;color:#e2e8f0f2;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:16px;text-align:center;box-sizing:border-box}.leaderboardRsidInput::-moz-placeholder{color:#94a3b88c}.leaderboardRsidInput::placeholder{color:#94a3b88c}.leaderboardSearchActions{display:flex;justify-content:flex-end}.leaderboardSummary{margin:0;font-size:.85rem;color:#e2e8f0bf}.challenge-card{display:flex;flex-direction:column;gap:1rem}.challenge-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.challenge-stat{display:flex;flex-direction:column;gap:.15rem;padding:.7rem .9rem;border:1px solid rgba(148,163,184,.3);border-radius:var(--radius-md);background:#0f172a66}.challenge-stat-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#e2e8f099}.challenge-stat-value{font-size:1.1rem;font-weight:600;color:#f8fafc;font-variant-numeric:tabular-nums}.challenge-me{display:flex;flex-direction:column;gap:.4rem;padding:.85rem 1rem;border:1px solid rgba(96,165,250,.5);border-radius:var(--radius-md);background:#3b82f61f}.challenge-me-row{display:flex;justify-content:space-between;align-items:baseline;gap:.75rem}.challenge-rank-of{font-size:.75em;font-weight:500;color:#e2e8f099}.challenge-me-row--sub{margin-top:-.2rem;justify-content:flex-end}.challenge-percentile{font-weight:500;font-size:.85rem;color:#e2e8f0b3}.challenge-hint{margin:0;font-size:.85rem;color:#e2e8f0b3}.challenge-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.challenge-actions .ui-btn{flex:1 1 auto}.slug-combobox{position:relative;width:100%}.slug-combobox__input{width:100%;min-width:0;box-sizing:border-box;height:var(--control-h);padding:var(--control-pad)}.slug-combobox[data-disabled] .slug-combobox__input{opacity:.55;cursor:not-allowed}.popOut-description-link{background:none;border:none;padding:0;margin:0;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.popOut-description-link:hover,.popOut-description-link:focus-visible{color:#e0f2fe;outline:none}.historyScreen-list-wrap{display:flex;flex-direction:column;gap:1rem}.historyScreen-section{display:flex;flex-direction:column;gap:.6rem}.historyScreen-section+.historyScreen-section{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid rgba(148,163,184,.2)}.historyScreen-sectionHeader{display:flex;align-items:center;justify-content:space-between}.historyScreen-sectionTitle{margin:0;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#e2e8f0b3}.historyScreen-sectionToggle{background:none;border:none;color:#e2e8f080;font-size:.7rem;cursor:pointer;padding:.2rem .35rem;border-radius:.25rem;line-height:1}.historyScreen-sectionToggle:hover{color:#e2e8f0d9}.historyScreen-loadMoreBar{display:flex;justify-content:center;padding-top:.5rem}.dexDisplay--hinted{background-color:var(--hint-gold-soft);border:2px solid var(--hint-gold-strong)}.scoreTile.hinted .scoreTile__score:not(.scoreTile__score--held){background:var(--hint-gold-gradient);color:var(--text-on-light)}.settings-section{display:flex;flex-direction:column;gap:16px;padding:18px 18px 20px;border-radius:var(--radius-lg);background:#0f172a66;border:1px solid rgba(148,163,184,.22)}.settings-section-title{margin:0;font-size:.95rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#e2e8f0d9}.settings-section .setting-row{box-shadow:none;background:var(--settings-surface)}.gameFooter-rollButton--confirm{background:linear-gradient(135deg,#fbbf24f2,#f59e0bd9)!important;color:#1f1300!important;box-shadow:0 0 0 3px #fbbf2459,0 10px 24px #f59e0b66!important}body.large-targets .scoreTile{min-height:64px}body.large-targets .gameFooter-rollButton{min-height:56px;min-width:120px;padding-inline:24px}body.large-targets #menuButton,body.large-targets #settingsButton,body.large-targets .sideMenu-item,body.large-targets .sideMenu-closeButton,body.large-targets .popOut-close{min-height:48px;min-width:48px}body.large-targets .setting-toggle,body.large-targets .setting-toggle .toggle-slider{min-height:32px}body.large-text{font-size:18px}body.large-text .setting-helper,body.large-text .settings-callout-text,body.large-text .sideMenu-item{font-size:1.05rem}body.high-contrast{--settings-subtext: #ffffff;--settings-text: #ffffff;--settings-border: rgba(226, 232, 240, .85)}body.high-contrast .setting-helper,body.high-contrast .settings-callout-text{color:#fff;opacity:1}body.high-contrast .setting-row,body.high-contrast .settings-section{border-color:#e2e8f0d9}body.high-contrast .teammate{border-color:#ffffffd9}body.high-contrast a{text-decoration:underline}body.high-contrast button:focus-visible,body.high-contrast [role=button]:focus-visible,body.high-contrast input:focus-visible,body.high-contrast select:focus-visible,body.high-contrast [tabindex]:focus-visible{outline:3px solid #ffd54a!important;outline-offset:2px!important}.skip-link{position:fixed;top:8px;left:8px;z-index:10000;transform:translateY(-200%);padding:10px 16px;border-radius:var(--radius-md);background:#ffd54a;color:#1f1300;font-weight:700;text-decoration:none;box-shadow:0 8px 18px #00000059}.skip-link:focus,.skip-link:focus-visible{transform:translateY(0);outline:2px solid #0b1226;outline-offset:2px}.loadingOverlay{position:fixed;inset:0;width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at top,#38bdf840,#0f172af2);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;transition:opacity .4s ease}.loadingOverlay__content{display:flex;flex-direction:column;align-items:center;gap:1.25rem;padding:2rem 3rem;border-radius:24px;background:#0f172ad9;box-shadow:0 18px 40px #0f172a66;color:#f8fafc;text-align:center}.loadingOverlay__stage{margin:0;font-size:1.25rem;letter-spacing:.04em;text-transform:uppercase}.loadingOverlay__progress{width:min(420px,70vw);height:12px;background:#94a3b840;border-radius:999px;overflow:hidden;box-shadow:inset 0 2px 4px #0f172a99}.loadingOverlay__progressFill{height:100%;background:linear-gradient(90deg,#38bdf8f2,#4f46e5f2);transition:width .45s ease}.loadingOverlay__progressFill--error{background:linear-gradient(90deg,#f87171f2,#dc2626f2)}.loadingOverlay--complete{animation:loadingOverlayFade .65s ease forwards}.loadingOverlay--error{animation:none}.loadingOverlay__error{margin:0;max-width:32ch;font-size:.95rem;color:#fca5a5}@keyframes loadingOverlayFade{0%{opacity:1}to{opacity:0;visibility:hidden}}
