@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}.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 14px 35px rgba(15, 23, 42, .3);--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 6px 18px #0f172a59;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 10px 24px #0f172a73}#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 6px 18px #0f172a59;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 10px 24px #0f172a73}.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%;background:#080f218c;display:flex;justify-content:center;align-items:center;padding:16px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:20}.settings-content{background:linear-gradient(160deg,#f8fafcf2,#e0e7ffe6);padding:28px 24px 24px;border-radius:18px;width:min(420px,100%);color:#0f172a;box-shadow:0 18px 40px #0f172a59;border:1px solid rgba(148,163,184,.25);display:flex;flex-direction:column;gap:20px;position:relative}.settings-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.settings-title{margin:0;font-size:1.5rem;font-weight:600;color:#0f172a}.settings-description{margin:4px 0 0;font-size:.9rem;color:#0f172ab3}.close-button{background:#0f172a0d;border:1px solid rgba(15,23,42,.1);width:36px;height:36px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:1rem;color:#0f172a;cursor:pointer;transition:background .2s ease,box-shadow .2s ease,transform .2s ease}.close-button:hover,.close-button:focus-visible{background:#60a5fa26;box-shadow:0 8px 20px #0f172a33;transform:translateY(-1px)}.settings-grid{display:flex;flex-direction:column;gap:12px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;background:#ffffffd9;border:1px solid rgba(148,163,184,.25);border-radius:14px;box-shadow:inset 0 1px #fff9}.setting-row:hover,.setting-row:focus-within{border-color:#60a5fa80;box-shadow:0 12px 24px #94a3b833}.setting-info{display:flex;flex-direction:column;gap:4px}.setting-label{font-weight:600;color:#0f172a;letter-spacing:-.005em}.setting-helper{font-size:.85rem;color:#0f172aa6}.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:44px;height:24px;border-radius:999px;background:#94a3b859;border:1px solid rgba(148,163,184,.5);display:inline-flex;align-items:center;padding:0 4px;box-sizing:border-box;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}.setting-toggle .toggle-slider:after{content:"";width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #0f172a40;transform:translate(0);transition:transform .2s ease}.setting-toggle input:checked+.toggle-slider{background:linear-gradient(135deg,#3b82f6e6,#0ea5e9e6);border-color:transparent;box-shadow:0 8px 16px #3b82f659}.setting-toggle input:checked+.toggle-slider:after{transform:translate(18px)}#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:24px;height:24px;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}.scorebug{flex-direction:column;background:linear-gradient(155deg,#1e293bf2,#0f172ae6);box-shadow:0 10px 24px #0f172a40}.scorebugText{background-color:#94a3b82e;width:80%;flex:1;display:flex;justify-content:center;align-items:center;border-radius:20%;color:var(--banner-text-color);text-shadow:0 1px 2px rgba(15,23,42,.6)}.scorebugIcon{background:#e2e8f040;height:auto;aspect-ratio:2;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)}.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}.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}.scorebugIcon-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:12px;box-shadow:0 8px 22px #0f172a40;border-radius:12px;color:#0f172a;box-sizing:border-box;align-self:stretch;display:flex;align-items:center;flex-wrap:wrap;gap:4px;overflow:hidden}.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-item{display:inline-flex;align-items:center;gap:4px}.dex-shape-icon{display:inline-block;width:1em;height:1em;margin:0 4px;background-color:#fff;border-radius:50%;vertical-align:middle;position:relative;top:-2px;box-shadow:0 0 0 1px #fff,0 0 0 2px #000}.dex-shape-icon img{width:100%;height:100%;display:block}.dex-type-icon{display:inline-block;height:1em;margin:0 4px;vertical-align:middle}.dex-type-icon img{height:100%;width:auto;display:block}.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;align-items:center;align-self:center;gap:3px;justify-content:center;padding:6px 3px;background:#fff0;border-radius:999px;justify-self:end;margin-left:0}.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:#080f2173;opacity:0;pointer-events:none;transition:opacity .25s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10}.sideMenuOverlay.open{opacity:1;pointer-events:auto}.sideMenu{position:fixed;top:0;left:0;height:100%;width:min(410px,90%);background:linear-gradient(165deg,#f8fafcfa,#e0e7fff2);box-shadow:0 20px 45px #0f172a59;padding:28px 24px;box-sizing:border-box;transform:translate(-100%);transition:transform .28s ease;display:flex;flex-direction:column;gap:1.75rem;z-index:11;color:#0f172a;border-right:1px solid rgba(148,163,184,.3);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.sideMenu.open{transform:translate(0)}.sideMenu-header{display:flex;justify-content:space-between;align-items:center}.sideMenu-header h2{margin:0;font-size:1.5rem}.sideMenu-closeButton{background:#0f172a0d;border:1px solid rgba(15,23,42,.1);width:36px;height:36px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:1.2rem;cursor:pointer;color:#0f172a;transition:background .2s ease,box-shadow .2s ease,transform .2s ease}.sideMenu-closeButton:hover,.sideMenu-closeButton:focus-visible{background:#60a5fa2e;box-shadow:0 8px 20px #0f172a40;transform:translateY(-1px)}.sideMenu-section{display:flex;flex-direction:column;gap:.75rem;background:#ffffffbf;border:1px solid rgba(148,163,184,.25);border-radius:16px;padding:18px 16px;box-shadow:inset 0 1px #ffffffa6}.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,.3);background:#f8fafcd9;color:#0f172a;font-weight:500;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.sideMenu-backButton:hover,.sideMenu-backButton:focus-visible{transform:translateY(-1px);border-color:#3b82f673;box-shadow:0 10px 20px #94a3b840}.sideMenu-status{margin:0;font-size:.95rem;line-height:1.6}.sideMenu-status--muted{color:#0f172aa6}.sideMenu-status--error{padding:.75rem 1rem;border-radius:12px;background:#f871712e;border:1px solid rgba(220,38,38,.35);color:#991b1b}.sideMenu-pageContent{flex:1;overflow-y:auto;padding-right:.25rem;color:#0f172a;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:#0f172a}.sideMenu-pageContent h1:first-child,.sideMenu-pageContent h2:first-child,.sideMenu-pageContent h3:first-child{margin-top:0}.sideMenu-pageContent p{margin:0 0 1rem;color:#0f172ad9}.sideMenu-pageContent ul{padding-left:1.25rem;margin:0 0 1rem;color:#0f172ad9}.sideMenu-leaderboardTableWrapper{flex:1;display:flex;flex-direction:column;background:#ffffffd9;border:1px solid rgba(148,163,184,.3);border-radius:16px;box-shadow:inset 0 1px #ffffffb3;overflow:hidden}.sideMenu-leaderboardTableScroll{flex:1;overflow-y:auto}.sideMenu-leaderboardTable{width:100%;border-collapse:collapse;min-width:100%;font-size:.95rem;color:#0f172a}.sideMenu-leaderboardTable thead{position:sticky;top:0;background:#3b82f61f;-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:#0f172acc;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em}.sideMenu-leaderboardTable tbody tr:nth-child(2n){background:#f1f5f980}.sideMenu-leaderboardTable tbody tr:hover{background:#bfdbfe59}.sideMenu-section h3{margin:0;font-size:1.1rem;color:#0f172a}.sideMenu .auth-controls__status{display:block;font-weight:600;color:#0f172ad9}.sideMenu-subtext{margin:0;color:#0f172aa6;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:12px;border:1px solid rgba(148,163,184,.25);background:#f8fafce6;display:flex;justify-content:space-between;align-items:center;color:#0f172a;font-weight:500;letter-spacing:-.01em;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.sideMenu-linkButton span{font-size:1.1rem}.sideMenu-linkButton:hover,.sideMenu-linkButton:focus-visible{transform:translateY(-1px);border-color:#3b82f673;box-shadow:0 12px 26px #94a3b847}.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}}
