@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@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-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}}}.fixed{position:fixed}.block{display:block}.contents{display:contents}.table{display:table}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.uppercase{text-transform:uppercase}.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,)}@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-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(148, 163, 184, .6);--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}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;border-radius:10px}#menuButton{position:absolute;left:10px;top:50%;transform:translateY(-50%);background:#0f172a59;border:none;cursor:pointer;padding:8px 4px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;border-radius:12px;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:999px}#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;font-size:16px;color:var(--banner-text-color);border-radius:999px;box-shadow:0 4px 12px #0f172a47;text-shadow:0 1px 2px rgba(15,23,42,.65);transition:background .2s ease,box-shadow .2s ease,color .2s ease}#settingsButton:hover,#settingsButton:focus-visible{background:#38bdf859;color:#ecfeff;box-shadow:0 7px 18px #0f172a59}.auth-controls{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;font-size:.9rem}.auth-controls__button{background:transparent;border:1px solid currentColor;border-radius:4px;padding:4px 8px;font-size:.9rem;cursor:pointer}.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:4px;padding:2px 6px;color:#d32f2f;font-size:.75rem;margin-top:2px}.settings-overlay{position:fixed;top:0;left:0;width:100%;height:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;padding:clamp(16px,4vw,32px);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{position:relative;width:min(480px,100%);color:#e2e8f0;background:linear-gradient(150deg,#0f172aeb,#1e293bdb);border-radius:24px;padding:32px 28px 28px;border:1px solid rgba(148,163,184,.35);box-shadow:0 20px 42px #02061780;display:flex;flex-direction:column;gap:24px;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)}.settings-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{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:6px;border-bottom:1px solid rgba(148,163,184,.15)}.settings-title{margin:0;font-size:1.6rem;font-weight:700;letter-spacing:-.01em;color:#f8fafc}.settings-description{margin:6px 0 0;font-size:.95rem;color:var(--settings-subtext);min-height:1.2em}.close-button{background:#0f172a59;border:1px solid rgba(148,163,184,.45);width:38px;height:38px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:1.05rem;color:#f8fafc;cursor:pointer;transition:transform .2s ease,box-shadow .25s ease,background .25s ease,border-color .25s ease}.close-button:hover,.close-button:focus-visible{background:#3b82f63d;border-color:#60a5fa80;box-shadow:0 10px 22px #2563eb47;transform:translateY(-1px)}.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:22px;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:999px;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-button{align-self:flex-start;padding:9px 18px;border-radius:999px;border:none;font-weight:600;letter-spacing:.01em;color:#0f172a;background:linear-gradient(135deg,#f8fafceb,#e2e8f0e6);box-shadow:0 12px 24px #0f172a47;cursor:pointer;z-index:1;transition:transform .2s ease,box-shadow .25s ease,filter .25s ease}.settings-callout-button:hover,.settings-callout-button:focus-visible{transform:translateY(-2px);box-shadow:0 16px 30px #94a3b84d;filter:brightness(1.01)}.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:18px;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:999px;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 12px;border-radius:999px;border:1px solid rgba(148,163,184,.45);background:#0f172a99;color:#f8fafc;font-size:.95rem;text-align:center;box-shadow:0 10px 20px #02061759;transition:border-color .25s ease,box-shadow .25s ease,transform .2s ease}.settings-roll-count-select:hover,.settings-roll-count-select:focus-visible{border-color:#60a5fa99;box-shadow:0 16px 28px #0f172a73;transform:translateY(-1px);outline:none}.settings-formulas-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.settings-save-group{display:flex;align-items:center;min-height:32px}.settings-formulas-overview{display:flex;flex-direction:column;gap:12px}.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:18px;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:12px;cursor:pointer;box-shadow:0 12px 22px #02061773;transition:transform .2s ease,box-shadow .25s ease,background .25s ease,border-color .25s ease}.formula-jump-button:hover,.formula-jump-button:focus-visible{border-color:#60a5fabf;background:#3b82f659;box-shadow:0 18px 28px #2563eb73;transform:translateY(-1px);outline:none}.formula-jump-button:active{transform:translateY(0);box-shadow:0 12px 22px #2563eb59}.formula-jump-button:focus-visible{outline:2px solid rgba(148,163,184,.55);outline-offset:2px}@media (min-width: 768px){.settings-formula-jumps{gap:10px}}@media (min-width: 1024px){.settings-formulas-overview{flex-direction:row;align-items:stretch;gap:16px}.settings-ruleset-preview,.settings-formula-jumps{flex:1}.settings-formula-jumps{align-content:start}}.settings-ruleset-preview{flex:1;min-width:220px;max-height:120px;padding:12px;border-radius:12px;border:1px solid rgba(148,163,184,.3);background:#0f172a99;font-family:JetBrains Mono,Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.85rem;line-height:1.4;resize:none;overflow:auto;color:#f8fafc;box-shadow:inset 0 1px 2px #0f172a33}.settings-ruleset-preview:focus{outline:none}.settings-ruleset-error{flex-basis:100%;font-size:.85rem;color:#fca5a5;margin:0}.settings-export-button{border:none;background:linear-gradient(135deg,#38bdf8f2,#3b82f6f2);color:#0f172a;font-weight:600;padding:8px 18px;border-radius:999px;cursor:pointer;box-shadow:0 14px 30px #2563eb73;transition:transform .2s ease,box-shadow .25s ease,filter .25s ease}.settings-export-button:hover,.settings-export-button:focus-visible{filter:brightness(1.05);transform:translateY(-2px);box-shadow:0 20px 34px #2563eb80}.settings-back-button{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(148,163,184,.45);background:#1e293ba6;color:#f8fafc;font-weight:600;padding:6px 14px;border-radius:999px;cursor:pointer;transition:background .25s ease,color .2s ease,box-shadow .25s ease,transform .2s ease}.settings-back-button:hover,.settings-back-button:focus-visible{background:#60a5fa59;color:#0f172a;box-shadow:0 18px 26px #02061766;transform:translate(-1px)}.settings-back-icon{font-size:1.1rem;line-height:1;transform:translateY(-.5px)}.settings-save-button{border:none;background:linear-gradient(135deg,#3b82f6f2,#0ea5e9f2);color:#0f172a;font-weight:600;padding:6px 18px;border-radius:999px;cursor:pointer;box-shadow:0 12px 26px #2563eb66;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease,opacity .2s ease}.settings-save-button:hover,.settings-save-button:focus-visible{filter:brightness(1.05);transform:translateY(-2px);box-shadow:0 20px 30px #2563eb73}.settings-save-button:disabled,.settings-save-button:disabled:hover,.settings-save-button:disabled:focus-visible{cursor:not-allowed;opacity:.55;filter:none;transform:none;box-shadow:none}.settings-save-status{font-size:.9rem;font-weight:600;color:#34d399;opacity:0;transform:translateY(4px);transition:opacity .2s ease,transform .2s ease;min-width:0;margin-right:0}.settings-save-status[data-visible=true]{opacity:1;transform:translateY(0);margin-right:10px}.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:auto;padding-right:4px;flex:1}.settings-formula-grid::-webkit-scrollbar{width:6px}.settings-formula-grid::-webkit-scrollbar-thumb{background:#94a3b859;border-radius:999px}.formula-row{display:flex;flex-direction:column;gap:12px;padding:18px;background:#1e293bb3;border:1px solid rgba(148,163,184,.35);border-radius:18px;box-shadow:0 18px 32px #02061773}.formula-row-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;align-items:flex-start}@media (max-width: 600px){.formula-row-fields{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}}@media (min-width: 768px){.formula-row-fields{grid-template-columns:minmax(96px,.9fr) minmax(150px,1.25fr) minmax(90px,.8fr) minmax(90px,.8fr) minmax(140px,1fr);-moz-column-gap:12px;column-gap:12px}}.formula-field{display:flex;flex-direction:column;gap:4px;min-width:0}.formula-threshold-any{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;font-weight:500;color:var(--settings-subtext);-webkit-user-select:none;-moz-user-select:none;user-select:none}.formula-threshold-any input{accent-color:#38bdf8}.formula-field-label{font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#e2e8f099}.formula-input{padding:8px 10px;border-radius:12px;border:1px solid rgba(148,163,184,.35);background:#0f172aa6;font-size:.9rem;color:#f8fafc;transition:border-color .25s ease,box-shadow .25s ease}.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:36px;cursor:pointer;position:relative;border-radius:12px;border:1px solid rgba(148,163,184,.35);background:#0f172a99;color:#f8fafc;box-shadow:0 10px 22px #02061759;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.property-select__button:hover,.property-select__button:focus-visible{border-color:#60a5fa99;box-shadow:0 18px 28px #0f172a73;transform:translateY(-1px);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:6px;-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:12px;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 .2s ease,color .2s ease}.property-select__option--highlighted{background:#3b82f640}.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:999px}.property-select[data-disabled] .property-select__button:after{border-color:#94a3b880}.formula-input:focus-visible{outline:none;border-color:#7dd3fcb3;box-shadow:0 0 0 3px #3b82f64d}.scorer-toggle{display:inline-flex;flex-wrap:nowrap;align-self:flex-start;margin-top:4px;padding:2px;border-radius:999px;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:999px;background:transparent;font-size:.65rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#e2e8f0a6;cursor:pointer;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease;flex:1 1 auto;text-align:center;white-space:nowrap}.scorer-toggle-option:hover{background:#3b82f640;color:#0f172a}.scorer-toggle-option:focus-visible{outline:none;box-shadow:0 0 0 3px #3b82f659}.scorer-toggle-option--active{background:#3b82f659;color:#0b1120;box-shadow:inset 0 0 0 1px #94a3b859}#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-radius:18px}.gameboard{flex:1;width:100%;min-height:0;display:grid;grid-template-columns:max-content 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}.typeIconColumn{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;align-self:stretch;min-width:24px}.typeIconColumn-image{width:18px;height:18px;padding:0;display:block;-o-object-fit:contain;object-fit:contain}@media (orientation: landscape){#gamespace{height:100%;width:auto}}.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{flex-direction:column;background:linear-gradient(155deg,#1e293bf2,#0f172ae6);box-shadow:0 10px 24px #0f172a40;min-width:0;border:none;cursor:pointer;padding:0;color:inherit;font:inherit;text-align:center}.scoreTile:focus-visible{outline:3px solid rgba(56,189,248,.9);outline-offset:3px}.scoreTile:disabled{cursor:not-allowed}.scoreTileText{background-color:#94a3b800;width:100%;flex:0 0 56%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.1rem;border-radius:20%;color:var(--banner-text-color);text-shadow:0 1px 2px rgba(15,23,42,.6);padding:.22rem .3rem .2rem;box-sizing:border-box;text-align:center;font-size:clamp(.5rem,1.05vw + .3rem,.85rem);line-height:1.08}.scoreTileTextLine{display:block;width:100%;white-space:nowrap}.scoreTileTextLinePrimary{font-weight:600}.scoreTileTextLineSecondary{opacity:.78}.scoreTileNum{background:#e2e8f040;flex:1 1 44%;width:100%;display:flex;justify-content:center;align-items:center;border-radius:20%;color:#e0f2fe;font-weight:600;text-shadow:0 1px 2px rgba(15,23,42,.55);font-size:clamp(.78rem,1.2vw + .4rem,1.2rem);padding:.18rem 0;box-sizing:border-box}.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 6px 18px #0f172a59;border:1px solid var(--teammate-border-color);border-radius:20%;box-sizing:border-box;align-self:stretch;cursor:pointer}.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 16px 32px #0e749080}.scoreTileNum-held{background-color:#22d3ee66!important;color:#0f172a}.locked{background-image:linear-gradient(140deg,#818cf8e6,#38bdf8d9);color:#0f172a;box-shadow:0 12px 24px #6366f159}.dexDisplay{position:relative;width:100%;height:100%;min-height:0;background-color:#94a3b833;padding:6px;box-shadow:0 2px 2px #0f172a40;border-radius:12px;color:#0f172a;box-sizing:border-box;align-self:stretch;display:flex;align-items:flex-start;gap:12px;overflow:hidden}.dexDisplay-nameBlock{display:flex;flex-direction:column;align-items:flex-start;line-height:1;gap:1px;min-width:0;flex:0 0 auto;width:var(--dex-left-column-width, auto);max-width:var(--dex-left-column-width, auto)}.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{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:9999px;background:#3b82f62e;color:#1d4ed8;font-weight:600;text-transform:uppercase}.dexDisplay-form{font-size:.5rem;opacity:.9}.dexDisplay-badges{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;width:100%}.dexDisplay:after{content:"";position:absolute;top:0;right:0;width:16px;height:100%;background-color:var(--dex-color);border-radius:0 12px 12px 0;pointer-events:none;display:none}.dexDisplay[data-has-color=true]{padding-right:36px}.dexDisplay[data-has-color=true]:after{display:block}.dexDisplay-details{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;justify-content:flex-start;flex:1 1 auto;min-width:0}.dexDisplay-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:9999px;background:#60a5fa40;border:1px solid rgb(49,105,185,.45);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);font-size:.8rem;line-height:1.1;color:inherit}.dexDisplay-chipIcon{width:18px;height:18px;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-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;background:#ffffffa6;box-shadow:inset 0 1px #94a3b840}.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:12px;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.05)}.gameFooter-rollButton:active{transform:translateY(1px);box-shadow:0 8px 18px #0f172a33}.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:32px 28px;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:hidden}.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:999px;display:inline-flex;align-items:center;justify-content:center;font-size:1.2rem;cursor:pointer;color:#f8fafc;transition:transform .2s ease,box-shadow .25s ease,background .25s ease,border-color .25s ease}.sideMenu-closeButton:hover,.sideMenu-closeButton:focus-visible{background:#3b82f659;border-color:#94a3b899;box-shadow:0 18px 34px #2563eb73;transform:translateY(-1px)}.sideMenu-section{display:flex;flex-direction:column;gap:.9rem;background:#0f172a8c;border:1px solid rgba(148,163,184,.35);border-radius:20px;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:999px;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:16px;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-leaderboardTableWrapper{flex:1;display:flex;flex-direction:column;background:#0f172a8c;border:1px solid rgba(148,163,184,.35);border-radius:20px;box-shadow:0 20px 32px #02061773;overflow:hidden}.sideMenu-leaderboardTableScroll{flex:1;overflow-y:auto}.sideMenu-leaderboardTable{width:100%;border-collapse:collapse;min-width:100%;font-size:.95rem;color:#f8fafc}.sideMenu-leaderboardTable thead{position:sticky;top:0;background:#3b82f640;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.sideMenu-leaderboardTable th,.sideMenu-leaderboardTable td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid rgba(148,163,184,.25)}.sideMenu-leaderboardTable th{font-weight:600;color:#e2e8f0bf;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em}.sideMenu-leaderboardTable tbody tr:nth-child(2n){background:#0f172aa6}.sideMenu-leaderboardTable tbody tr:hover{background:#3b82f640}.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:999px;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-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.sideMenu-linkButton{width:100%;padding:12px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.35);background:linear-gradient(135deg,#3b82f659,#0ea5e94d);display:flex;justify-content:space-between;align-items:center;color:#f8fafc;font-weight:600;letter-spacing:-.01em;cursor:pointer;transition:transform .2s ease,box-shadow .25s ease,border-color .25s ease}.sideMenu-linkButton span{font-size:1.15rem}.sideMenu-linkButton:hover,.sideMenu-linkButton:focus-visible{transform:translateY(-1px);border-color:#94a3b899;box-shadow:0 20px 30px #0f172a66}.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}}
