*,:after,:before{box-sizing:border-box;margin:0;padding:0}html{font-size:16px}body{font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}:root{--brand:#6b4eff;--brand-rgb:107,78,255;--accent:#6b4eff;--bg:#fefce8;--surface:#fff;--surface-2:#f5f1e8;--board:#e5e0d5;--cell:#f5f1e8;--text:#1f2937;--text-muted:#6b7280;--border:rgba(0,0,0,.08);--shadow:0 2px 8px rgba(0,0,0,.08);--shadow-lg:0 8px 32px rgba(0,0,0,.12);--radius-sm:6px;--radius:12px;--radius-lg:20px;--success:#10b981;--warning:#f59e0b;--error:#ef4444;--green:#10b981;--t2:#ebf8ff;--t2-fg:#0f172a;--t4:#d1e7fe;--t4-fg:#0f172a;--t8:#fef9e7;--t8-fg:#292415;--t16:#fee4d6;--t16-fg:#292415;--t32:#ffcba4;--t32-fg:#fff;--t64:#fda857;--t64-fg:#fff;--t128:#9370db;--t128-fg:#fff;--t256:#7c5ac2;--t256-fg:#fff;--t512:#6b4eff;--t512-fg:#fff;--t1024:#5940d4;--t1024-fg:#fff;--t2048:#4a33aa;--t2048-fg:#fff}@media (prefers-color-scheme:dark){:root{--brand:#6b4eff;--brand-rgb:107,78,255;--accent:#6b4eff;--bg:#0f1419;--surface:#1a1f2e;--surface-2:#242c3f;--board:#2d3548;--cell:#242c3f;--text:#f3f4f6;--text-muted:#9ca3af;--border:hsla(0,0%,100%,.1);--shadow:0 2px 8px rgba(0,0,0,.3);--shadow-lg:0 8px 32px rgba(0,0,0,.4);--success:#34d399;--warning:#fbbf24;--error:#f87171;--green:#34d399;--t2:#1e3a5f;--t2-fg:#e0f2fe;--t4:#1e40af;--t4-fg:#dbeafe;--t8:#451a03;--t8-fg:#fffaeb;--t16:#5b2c0f;--t16-fg:#fed7aa;--t32:#7c2d12;--t32-fg:#fecaca;--t64:#92400e;--t64-fg:#fef3c7;--t128:#5b21b6;--t128-fg:#ddd6fe;--t256:#6d28d9;--t256-fg:#ede9fe;--t512:#7c3aed;--t512-fg:#f3e8ff;--t1024:#8b5cf6;--t1024-fg:#f3e8ff;--t2048:#a78bfa;--t2048-fg:#1e1b4b}}html.light-mode{--brand:#6b4eff;--brand-rgb:107,78,255;--accent:#6b4eff;--bg:#fefce8;--surface-2:#f5f1e8;--board:#e5e0d5;--cell:#f5f1e8;--text:#1f2937;--text-muted:#6b7280;--border:rgba(0,0,0,.08);--shadow:0 2px 8px rgba(0,0,0,.08);--shadow-lg:0 8px 32px rgba(0,0,0,.12);--success:#10b981;--warning:#f59e0b;--error:#ef4444;--green:#10b981;--t2:#ebf8ff;--t2-fg:#0f172a;--t4:#d1e7fe;--t4-fg:#0f172a;--t8:#fef9e7;--t8-fg:#292415;--t16:#fee4d6;--t16-fg:#292415;--t32:#ffcba4;--t64:#fda857;--t64-fg:#fff;--t128:#9370db;--t128-fg:#fff;--t256:#7c5ac2;--t512:#6b4eff;--t1024:#5940d4;--t2048:#4a33aa;--t2048-fg:#fff}html.dark-mode{--brand:#6b4eff;--brand-rgb:107,78,255;--accent:#6b4eff;--bg:#0f1419;--surface:#1a1f2e;--surface-2:#242c3f;--board:#2d3548;--cell:#242c3f;--text:#f3f4f6;--text-muted:#9ca3af;--border:hsla(0,0%,100%,.1);--shadow:0 2px 8px rgba(0,0,0,.3);--shadow-lg:0 8px 32px rgba(0,0,0,.4);--success:#34d399;--warning:#fbbf24;--error:#f87171;--green:#34d399;--t2:#1e3a5f;--t2-fg:#e0f2fe;--t4:#1e40af;--t4-fg:#dbeafe;--t8:#451a03;--t8-fg:#fffaeb;--t16:#5b2c0f;--t16-fg:#fed7aa;--t32:#7c2d12;--t32-fg:#fecaca;--t64:#92400e;--t64-fg:#fef3c7;--t128:#5b21b6;--t128-fg:#ddd6fe;--t256:#6d28d9;--t256-fg:#ede9fe;--t512:#7c3aed;--t512-fg:#f3e8ff;--t1024:#8b5cf6;--t1024-fg:#f3e8ff;--t2048:#a78bfa;--t2048-fg:#1e1b4b}.app{min-height:100vh;background:var(--bg);color:var(--text);display:flex;flex-direction:column}.game-view{overscroll-behavior:contain}.header{justify-content:space-between;flex-wrap:wrap;padding:14px 24px;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow);position:sticky;top:0;z-index:100}.header,.header__left{display:flex;align-items:center;gap:10px}.header__left,.header__logo{cursor:pointer}.header__logo{display:flex;align-items:center;gap:8px}.header__logo-text{font-size:.9rem;font-weight:900;letter-spacing:-.04em;color:var(--brand);line-height:1;white-space:nowrap}.header__right{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px}.header__username{display:inline-flex;align-items:center;gap:5px;max-width:160px;overflow:hidden;white-space:nowrap;padding:6px 12px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);font-size:.85rem;font-weight:700;color:var(--text)}.header__username-name{overflow:hidden;text-overflow:ellipsis}.header__verified{flex-shrink:0}.header__username--badge-only,.header__verified{color:var(--green)}.icon-btn{background:var(--surface-2);border:1px solid var(--border);border-radius:50%;width:36px;height:36px;font-size:1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text);transition:background .15s,transform .15s,box-shadow .15s;line-height:1;flex-shrink:0}.icon-btn:hover{background:var(--cell);transform:scale(1.1);box-shadow:0 0 10px rgba(132,94,247,.3)}.icon-btn:active{transform:scale(.96);box-shadow:none}.tooltip{position:relative;display:inline-flex}.tooltip:after{content:attr(data-tip);top:calc(100% + 9px);transform:translateX(-50%) translateY(-4px) scale(.96);background:var(--text);color:var(--surface);font-size:.72rem;font-weight:700;letter-spacing:.01em;padding:5px 9px;border-radius:7px;white-space:nowrap}.tooltip:after,.tooltip:before{position:absolute;left:50%;pointer-events:none;opacity:0;transition:opacity .16s ease,transform .16s ease;z-index:200}.tooltip:before{content:"";top:calc(100% + 3px);transform:translateX(-50%) translateY(-4px);border:5px solid transparent;border-bottom:5px solid var(--text)}.tooltip:focus-within:after,.tooltip:hover:after{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}.tooltip:focus-within:before,.tooltip:hover:before{opacity:1;transform:translateX(-50%) translateY(0)}.icon-btn--active{color:#fff;border-color:transparent;box-shadow:0 2px 10px rgba(132,94,247,.35)}.icon-btn--active,.icon-btn--active:hover{background:var(--brand)}.theme-toggle{background:var(--surface-2);border:1px solid var(--border);border-radius:50%;width:36px;height:36px;font-size:1.2rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,transform .15s,box-shadow .15s;line-height:1;flex-shrink:0;padding:0}.theme-toggle:hover{background:var(--cell);transform:scale(1.1);box-shadow:0 0 10px rgba(var(--brand-rgb),.3)}.theme-toggle:active{transform:scale(.96);box-shadow:none}.screen{width:100%;max-width:480px;display:flex;flex-direction:column;gap:18px}.screen__title{display:flex;align-items:center;justify-content:center;gap:9px;font-size:1.4rem;font-weight:800;text-align:center;letter-spacing:-.02em}.screen__title svg{color:var(--brand)}.username-card{width:100%;box-sizing:border-box;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.username-card--editing{flex-direction:column;align-items:stretch;gap:10px}.username-card__display{display:flex;flex-direction:column;gap:2px;min-width:0}.username-card__label{font-size:.72rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.username-card__name{font-size:1.05rem;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.username-card>.btn{flex-shrink:0}.username-card__unset{color:var(--text-muted);font-weight:600;font-style:italic}.username-card__form{display:flex;gap:8px;align-items:center}.username-card__input{flex:1;min-width:0;padding:9px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);font-size:.95rem;font-weight:600}.username-card__input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(132,94,247,.18)}.username-card__actions{display:flex;gap:6px}.username-card__hint{font-size:.78rem;color:var(--text-muted);line-height:1.4}.username-card__hint--error{color:#dc2626;font-weight:600}.username-modal__title{font-size:1.4rem;font-weight:800;letter-spacing:-.02em;margin-top:2px}.username-modal__desc{font-size:.9rem;color:var(--text-muted);line-height:1.5;margin:8px 0 16px}.username-modal__input{width:100%;font-size:1.05rem}.username-modal__actions{display:flex;margin-top:16px}.username-modal__actions .btn{width:100%}.username-modal__actions--stack{flex-direction:column;gap:10px}.username-modal__info{font-size:.85rem;color:var(--text-muted);text-align:center;margin-top:12px}.setup-spinner-container{display:flex;flex-direction:column;align-items:center;gap:16px;padding:24px 0}.setup-spinner-text{font-size:.9rem;color:var(--text-muted);text-align:center;margin:0}.gas-modal__addr-label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin:4px 0 6px}.gas-modal__addr{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 14px;border:1px solid var(--border,#e2ddd0);border-radius:12px;background:var(--cell,#f4efe2);cursor:pointer;text-align:left;transition:background .15s,border-color .15s}.gas-modal__addr:hover:not(:disabled){background:var(--bg,#efe9da)}.gas-modal__addr:disabled{opacity:.6;cursor:default}.gas-modal__addr-text{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem;word-break:break-all;line-height:1.4;color:var(--text,#2a2722)}.gas-modal__addr-copy{flex-shrink:0;font-size:.78rem;font-weight:700;color:var(--accent,#7c5cff)}.gas-modal__steps{margin:14px 0 4px;padding-left:18px;font-size:.82rem;color:var(--text-muted);line-height:1.6}.gas-modal__steps li+li{margin-top:4px}.gas-modal__steps strong{color:var(--text,#2a2722);font-weight:700}.gas-modal__error{margin:12px 0 0;font-size:.82rem;color:var(--error);text-align:center}.home{width:100%;max-width:720px;margin-inline:auto;display:flex;flex-direction:column;gap:40px;padding-top:12px}.hero{text-align:center;padding:32px 20px}.hero,.hero__inner{display:flex;flex-direction:column;align-items:center}.hero__inner{gap:24px;max-width:520px}.hero__badge{display:inline-block;padding:6px 16px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);font-size:.85rem;font-weight:600;color:var(--text-muted);letter-spacing:.01em}.hero__logo-section{display:flex;align-items:center;justify-content:center;padding:16px;background:color-mix(in srgb,var(--brand) 8%,var(--surface));border-radius:var(--radius-lg);border:1px solid color-mix(in srgb,var(--brand) 20%,var(--border));box-shadow:0 8px 24px rgba(107,78,255,.15);margin-bottom:8px}.hero__title{font-size:clamp(2.2rem,8vw,3.5rem);font-weight:800;letter-spacing:-.03em;line-height:1.1;color:var(--brand)}.hero__tagline{font-size:1rem;line-height:1.6;color:var(--text);max-width:480px}.hero__cta{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:8px}.hero__claim{width:100%;padding-top:16px;border-top:1px solid var(--border)}.hero__spacer{height:clamp(0px,4vw - 8px,40px)}@media (max-width:480px){.hero__cta{flex-direction:column;align-self:stretch}.hero__cta .btn{width:100%}}.btn--ghost{background:var(--surface);color:var(--text);border:1px solid var(--border);box-shadow:var(--shadow)}.icon-badge{display:inline-flex;align-items:center;justify-content:center;color:#fff;background:var(--brand);flex-shrink:0}.icon-badge--sm{width:34px;height:34px;border-radius:8px}.icon-badge--md{width:42px;height:42px;border-radius:12px;margin-bottom:4px}.icon-badge--lg{width:44px;height:44px;border-radius:12px;flex-shrink:0}.features{display:flex;flex-direction:column;gap:32px;padding:0 20px 40px}.features__title{font-size:1.3rem;font-weight:700;color:var(--text);text-align:center}.features__grid{display:grid;grid-template-columns:1fr;gap:20px}@media (min-width:768px){.features__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.feature-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px 20px;display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center;transition:transform .15s,box-shadow .15s}.feature-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}.feature-card__title{font-size:1rem;font-weight:700;color:var(--text)}.feature-card__text{font-size:.9rem;color:var(--text-muted);line-height:1.5}.daily-claim{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px 20px}.daily-claim__info{display:flex;align-items:center;gap:14px;min-width:0}.daily-claim__title{font-size:1.05rem;font-weight:800}.daily-claim__status{font-size:.85rem;color:var(--text-muted);margin-top:2px}.daily-claim__status--done{color:var(--green);font-weight:700}.daily-claim .btn{flex-shrink:0}.daily-claim__text{flex:1;min-width:0}.daily-claim--verify-needed .daily-claim__status{color:#ea580c;font-weight:700}.daily-claim--claimed .daily-claim__status{color:var(--green);font-weight:700}.daily-claim--ready .daily-claim__status{color:var(--brand);font-weight:700}.daily-claim--error .daily-claim__status{color:#dc2626;font-weight:700}.daily-claim__balance{font-size:.85rem;color:var(--text);margin-top:4px;font-weight:600}.daily-claim__countdown{font-size:.8rem;color:var(--text-muted);margin-top:2px;font-style:italic}.daily-claim__error,.daily-claim__error-message{font-size:.8rem;color:#dc2626;font-weight:600;margin-top:4px;width:100%}.daily-claim__error-message{margin-top:8px}.daily-claim .btn:disabled{opacity:.6;cursor:not-allowed}@media (max-width:480px){.daily-claim{justify-content:center}.daily-claim .btn{width:100%}}.notice-banner{width:100%;max-width:480px;background:#eff6ff;border:1px solid #93c5fd;color:#1e40af;border-radius:var(--radius-sm);padding:10px 16px;font-size:.85rem;font-weight:500;display:flex;align-items:flex-start;gap:10px;line-height:1.5}.notice-banner code{font-family:SF Mono,Fira Code,monospace;font-size:.8rem;background:rgba(30,64,175,.1);padding:1px 5px;border-radius:4px}.main{flex:1;display:flex;flex-direction:column;align-items:center;gap:22px;padding:28px 16px 48px}.score-panel{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;width:100%;max-width:480px}.score-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 18px;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:100px;flex:1;box-shadow:var(--shadow)}.score-label{font-size:.62rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted)}.score-value{font-size:1.45rem;font-weight:800;letter-spacing:-.04em;line-height:1;color:var(--text)}.score-box--highlight{background:var(--surface);border-color:var(--brand);box-shadow:0 0 16px rgba(107,78,255,.3)}.score-box--highlight .score-value{color:var(--brand);animation:highScorePulse .6s ease-in-out}.score-increment{position:absolute;font-size:1.2rem;font-weight:800;color:var(--brand);pointer-events:none;animation:floatUp .8s ease-out forwards}.board-wrapper{-webkit-touch-callout:none;user-select:none}.board,.board-wrapper{position:relative;touch-action:none}.board{--gap:10px;display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap);padding:var(--gap);background:var(--board);border-radius:var(--radius);width:min(480px,calc(100vw - 32px));aspect-ratio:1/1;box-shadow:0 8px 32px rgba(0,0,0,.12)}.board--empty{display:flex;align-items:center;justify-content:center}.board-placeholder{text-align:center;color:var(--text-muted);font-size:1rem;font-weight:500;line-height:1.9}.board-placeholder__sub{font-size:.82rem}.tile{background:var(--cell);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;font-weight:900;letter-spacing:-.03em;line-height:1;user-select:none;transition:background .08s;box-shadow:0 4px 12px rgba(0,0,0,.1)}.tile:not(.tile--empty){min-height:100%;display:flex}.tile--2{background:var(--t2);color:var(--t2-fg)}.tile--4{background:var(--t4);color:var(--t4-fg)}.tile--8{background:var(--t8);color:var(--t8-fg)}.tile--16{background:var(--t16);color:var(--t16-fg)}.tile--32{background:var(--t32);color:var(--t32-fg)}.tile--64{background:var(--t64);color:var(--t64-fg)}.tile--128{background:var(--t128);color:var(--t128-fg)}.tile--256{background:var(--t256);color:var(--t256-fg)}.tile--512{background:var(--t512);color:var(--t512-fg)}.tile--1024{background:var(--t1024);color:var(--t1024-fg)}.tile--2048{background:var(--t2048);color:var(--t2048-fg);box-shadow:0 6px 20px rgba(74,51,170,.4)}.tile--131072,.tile--16384,.tile--32768,.tile--4096,.tile--65536,.tile--8192{background:linear-gradient(135deg,var(--t2048),#3d2382);color:#fff;box-shadow:0 6px 20px rgba(74,51,170,.4)}@keyframes tileAppear{0%{transform:scale(.3);opacity:.5}65%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}@keyframes tileMerge{0%{transform:scale(1)}30%{transform:scale(1.22)}65%{transform:scale(.92)}to{transform:scale(1)}}@keyframes tileGlow2048{0%,to{box-shadow:0 0 0 0 rgba(107,78,255,0)}50%{box-shadow:0 0 28px 12px rgba(107,78,255,.5)}}@keyframes highScorePulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.15);opacity:.8}}@keyframes floatUp{0%{transform:translateY(0) scale(1);opacity:1}to{transform:translateY(-60px) scale(.9);opacity:0}}@keyframes celebrationPop{0%{transform:scale(.5) rotate(-15deg);opacity:1}to{transform:scale(1.3) rotate(15deg);opacity:0}}.tile--appear{animation:tileAppear .22s cubic-bezier(.34,1.56,.64,1)}.tile--merge{animation:tileMerge .12s ease-out}.tile--glow{animation:tileGlow2048 2s ease-in-out infinite}.tile--high-score{animation:highScorePulse .6s ease-in-out}.score--float{animation:floatUp .8s ease-out forwards}.celebration--pop{animation:celebrationPop .6s cubic-bezier(.34,1.56,.64,1) forwards}.tile-layer{position:absolute;inset:var(--gap);z-index:1}.tile-layer .tile-pos{position:absolute;top:0;left:0;width:calc((100% - 3 * var(--gap)) / 4);height:calc((100% - 3 * var(--gap)) / 4);transform:translate(calc(var(--col, 0) * (100% + var(--gap))),calc(var(--row, 0) * (100% + var(--gap))));transition:transform var(--slide-ms,.14s) cubic-bezier(.22,.68,.32,1);will-change:transform}.tile-layer .tile-pos--ghost{z-index:0}.tile-layer .tile-pos>.tile{width:100%;height:100%;min-height:0;transform-origin:center;transition:transform 90ms ease-out}@keyframes tileSpawnPop{0%{transform:scale(.2);opacity:0}60%{transform:scale(1.1);opacity:1}to{transform:scale(1);opacity:1}}@keyframes tileMergeReveal{0%{transform:scale(0);opacity:0}55%{transform:scale(1.2);opacity:1}to{transform:scale(1);opacity:1}}.tile-layer .tile-pos>.tile--appear{animation:tileSpawnPop .2s cubic-bezier(.34,1.56,.64,1) backwards}.tile-layer .tile-pos>.tile--merged{animation:tileMergeReveal .18s cubic-bezier(.34,1.56,.64,1) backwards}@media (prefers-reduced-motion:reduce){.tile-layer .tile-pos,.tile-layer .tile-pos>.tile{transition:none!important;animation:none!important}}.game-overlay{position:absolute;inset:0;border-radius:var(--radius);background:rgba(0,0,0,.75);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;animation:fadeIn .3s ease;z-index:10}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.game-overlay__content{text-align:center;color:#fff;display:flex;flex-direction:column;gap:16px}.game-overlay__title{font-size:2rem;font-weight:900;letter-spacing:-.04em;margin:0;line-height:1.1}.game-overlay__score{font-size:1.4rem;font-weight:800;opacity:.95;color:var(--brand)}.game-overlay__emoji{font-size:2.5rem;line-height:1;animation:celebrationPop .6s cubic-bezier(.34,1.56,.64,1)}.controls{display:flex;flex-direction:column;gap:10px;width:100%;max-width:480px}.btn,.controls{align-items:center}.btn{padding:12px 36px;border-radius:var(--radius-sm);border:none;font-size:.95rem;font-weight:700;letter-spacing:.02em;cursor:pointer;display:inline-flex;gap:8px;transition:transform .1s,opacity .15s,box-shadow .15s;min-width:160px;justify-content:center}.btn:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.2)}.btn:not(:disabled):active{transform:translateY(0)}.btn--primary{background:var(--brand);color:#fff}.btn--secondary{background:var(--text-muted);color:#fff}.btn--tertiary{background:transparent;color:var(--brand);box-shadow:inset 0 0 0 2px var(--brand)}.btn--tertiary:disabled{opacity:.45;cursor:not-allowed}.btn--disabled{background:var(--surface);color:var(--text-muted);border:1px solid var(--border);opacity:.7;cursor:not-allowed}.btn--disabled:hover{transform:none;box-shadow:none}.btn.btn--xs{padding:5px 14px;min-width:auto;font-size:.8rem;border-radius:6px;background:#f59e0b;color:#fff}.btn--sm{padding:8px 16px;min-width:auto;font-size:.85rem}.controls__hint{font-size:.8rem;color:var(--text-muted);text-align:center}.spinner{width:14px;height:14px;border:2px solid hsla(0,0%,100%,.3);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;display:inline-block;flex-shrink:0}.error-banner{width:100%;max-width:480px;background:#fef2f2;border:1px solid #fca5a5;color:#b91c1c;border-radius:var(--radius-sm);padding:10px 16px;font-size:.85rem;font-weight:500}.htp-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(3px);z-index:200;display:flex;align-items:center;justify-content:center;padding:16px;animation:fadeIn .2s ease}.htp-modal{background:var(--surface);border-radius:var(--radius-lg);padding:32px 28px 24px;width:100%;max-width:400px;position:relative;box-shadow:var(--shadow-lg)}.htp-close{position:absolute;top:14px;right:14px;background:var(--surface-2);border:1px solid var(--border);border-radius:50%;width:30px;height:30px;font-size:.8rem;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-muted);transition:background .15s}.htp-close:hover{background:var(--cell)}.htp-label{font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:20px}@keyframes slideFromRight{0%{opacity:0;transform:translateX(28px)}to{opacity:1;transform:translateX(0)}}@keyframes slideFromLeft{0%{opacity:0;transform:translateX(-28px)}to{opacity:1;transform:translateX(0)}}.htp-slide{min-height:120px}.htp-slide--forward{animation:slideFromRight .28s cubic-bezier(.25,.46,.45,.94)}.htp-slide--back{animation:slideFromLeft .28s cubic-bezier(.25,.46,.45,.94)}.htp-slide__title{font-size:1.35rem;font-weight:900;letter-spacing:-.03em;margin-bottom:12px;color:var(--text)}.htp-slide__text{font-size:.9rem;color:var(--text-muted);line-height:1.7}.htp-dots{display:flex;justify-content:center;gap:6px;margin:24px 0 20px}.htp-dot{width:7px;height:7px;border-radius:50%;border:none;background:var(--cell);cursor:pointer;padding:0;transition:background .2s,transform .2s}.htp-dot--active{background:var(--accent);transform:scale(1.3)}.htp-nav{display:flex;gap:10px}.htp-nav__btn{flex:1;padding:11px;font-size:.88rem}.htp-nav__btn--prev{background:var(--surface-2);color:var(--text-muted);border:1px solid var(--border)}.htp-nav__btn--prev:disabled{opacity:0;pointer-events:none}.htp-nav__btn--prev:not(:disabled):hover{background:var(--cell)}.identity-gate{width:100%;max-width:480px;background:#fff8eb;border:1.5px solid #f59e0b;border-radius:var(--radius);padding:20px;display:flex;gap:16px;align-items:flex-start;box-shadow:0 4px 16px rgba(245,158,11,.15)}.identity-gate__icon{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.identity-gate__face{color:#92400e}.identity-gate__spinner{width:22px;height:22px;border-color:#f59e0b rgba(245,158,11,.3) rgba(245,158,11,.3)}.identity-gate__body{flex:1;min-width:0}.identity-gate__title{font-weight:700;font-size:.95rem;color:#92400e;margin-bottom:6px}.identity-gate__desc{font-size:.82rem;color:#78350f;line-height:1.55;margin-bottom:14px}.identity-gate__steps{margin:8px 0 14px 16px;font-size:.82rem;color:#78350f;line-height:1.9}.identity-gate__steps strong{color:#92400e}.identity-gate__actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.identity-gate__btn{padding:9px 18px;font-size:.85rem;min-width:auto;text-decoration:none}.identity-gate__btn--check{background:var(--surface);color:#92400e;border:1.5px solid #f59e0b}.identity-gate__btn--check:hover{background:#fef3c7}.identity-gate__error{font-size:.78rem;color:#b91c1c;background:#fef2f2;border:1px solid #fca5a5;border-radius:6px;padding:6px 10px;margin-bottom:6px;word-break:break-all}.identity-gate__note{font-size:.75rem;color:#a16207;font-style:italic}.identity-gate__steer{margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:.5rem}.identity-gate__steer-text{font-size:.78rem;line-height:1.4;color:var(--text-muted,#6b7280)}.identity-gate__steer-btn{align-self:flex-start}.identity-gate--non-blocking{position:relative;margin-bottom:16px}.identity-gate__close{position:absolute;top:12px;right:12px;width:28px;height:28px;padding:0;border:none;background:transparent;color:#92400e;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .15s ease}.identity-gate__close:hover{opacity:.7}.shop{width:100%;max-width:900px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px 24px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:28px}.shop__header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.shop__title{font-size:1.3rem;font-weight:700;color:var(--text);margin:0}.shop__subtitle{font-size:.9rem;color:var(--text-muted);margin-top:4px}.shop__balance{text-align:right;background:var(--surface-2);border-radius:var(--radius);padding:12px 16px;min-width:140px}.shop__balance-label{font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted)}.shop__balance-value{font-size:1.3rem;font-weight:800;color:var(--brand);margin-top:4px}.shop__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.shop__stat{background:var(--surface-2);border-radius:var(--radius-sm);padding:12px;display:flex;flex-direction:column;gap:4px;text-align:center}.shop__stat-label{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.shop__stat-value{font-size:1.1rem;font-weight:800;color:var(--text)}.shop__items{display:grid;gap:22px}.shop__items--powerups{grid-template-columns:repeat(2,1fr)}.shop__items--cosmetics{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));justify-items:center}.shop__items--cosmetics>.shop-item:nth-last-child(-n+2):nth-child(odd){margin-left:auto;margin-right:auto}.shop-item{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);padding:20px 18px;display:flex;flex-direction:column;gap:12px;align-items:stretch;text-align:center;transition:transform .15s,box-shadow .15s;position:relative;height:100%;width:100%;max-width:260px}.shop-item:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.shop-item__top{display:flex;flex-direction:column;align-items:center;gap:0;width:100%}.shop-item__name{font-size:1rem;font-weight:700;color:var(--text);line-height:1.3;margin:0}.shop-item__content{display:flex;flex-direction:column;gap:8px;flex:1;justify-content:flex-start;width:100%}.shop-item__desc{font-size:.8rem;color:var(--text-muted);line-height:1.5;margin:0}.shop-item__status{font-size:.75rem;font-weight:600;letter-spacing:.05em;color:var(--text-muted);padding:4px 0;background:transparent;border-radius:0;text-align:center;margin:0}.shop-item__footer{display:flex;flex-direction:column;gap:10px;width:100%;margin-top:auto;align-items:stretch}.shop-item__price-section{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 8px;background:color-mix(in srgb,var(--brand) 10%,var(--surface));border-radius:var(--radius-sm);width:100%;margin:0}.shop-item__price{font-size:1.4rem;font-weight:900;color:var(--brand);letter-spacing:-.03em}.shop-btn{padding:10px 20px;border-radius:18px;border:none;font-size:.85rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:opacity .15s,transform .1s;width:100%}.shop-btn:not(:disabled):hover{transform:translateY(-1px);opacity:.9}.shop-btn:not(:disabled):active{transform:translateY(0);opacity:.8}.shop-btn:disabled{cursor:not-allowed}.shop-btn--buy{background:var(--brand);color:#fff}.shop-btn--approve{background:var(--warning);color:#fff}.shop-btn--disabled{background:var(--surface);color:var(--text-muted);border:1px solid var(--border);opacity:.7}.shop__back-btn{background:transparent;border:none;color:var(--text-muted);cursor:pointer;font-size:.95rem;padding:8px 12px;border-radius:var(--radius-sm);transition:all .15s;position:absolute;left:0;top:12px}.shop__back-btn:hover{color:var(--text);background:var(--surface-2)}.shop__categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px;margin-top:24px}.shop__category-card{background:var(--surface-2);border:2px solid var(--border);border-radius:var(--radius);padding:40px 24px;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;cursor:pointer;transition:all .2s}.shop__category-card:hover{border-color:var(--brand);transform:translateY(-4px);box-shadow:var(--shadow-lg)}.shop__category-icon{font-size:3rem;line-height:1}.shop__category-name{font-size:1.3rem;font-weight:700;margin:0;color:var(--text)}.shop__category-desc{font-size:.85rem;color:var(--text-muted);margin:0}.shop__category-icon-wrapper{display:flex;align-items:center;justify-content:center;width:100%;height:110px;flex-shrink:0;margin-bottom:8px}.category-icon{width:110px;height:110px;object-fit:contain;color:var(--text);display:block;flex-shrink:0}.category-icon--fallback{display:flex;align-items:center;justify-content:center;line-height:1;flex-shrink:0;background:color-mix(in srgb,var(--brand) 12%,var(--surface-2));border:2px solid color-mix(in srgb,var(--brand) 25%,var(--border));border-radius:var(--radius);color:var(--text)}.shop__category-tabs{display:flex;gap:12px;margin:16px 0;border-bottom:2px solid var(--border)}.shop__category-tab{padding:12px 20px;background:transparent;border:none;border-bottom:3px solid transparent;font-size:.95rem;font-weight:600;color:var(--text-muted);cursor:pointer;transition:all .15s;margin-bottom:-2px}.shop__category-tab:hover{color:var(--text)}.shop__category-tab--active{color:var(--brand);border-bottom-color:var(--brand)}.shop-item__icon{font-size:2rem;line-height:1}.shop-item__emoji{font-size:2.5rem;line-height:1}.shop-item__icon-wrapper{display:flex;align-items:center;justify-content:center;width:100%;height:120px;flex-shrink:0;margin:-2px -2px 4px}.shop-icon{width:110px;height:110px;object-fit:contain;color:var(--text);display:block;flex-shrink:0}.shop-icon--fallback{line-height:1;flex-shrink:0;background:color-mix(in srgb,var(--brand) 12%,var(--surface-2));border:2px solid color-mix(in srgb,var(--brand) 25%,var(--border));border-radius:var(--radius);color:var(--text)}.shop-icon--fallback,.shop-item__quantity-selector{display:flex;align-items:center;justify-content:center}.shop-item__quantity-selector{gap:6px;width:100%}.shop-item__quantity-input{width:50px;padding:6px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-size:.85rem;text-align:center}.leaderboard{width:100%;box-sizing:border-box;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px 20px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:24px}.leaderboard__title{font-size:1.3rem;font-weight:700;color:var(--text);margin:0}.leaderboard__empty{font-size:.85rem;color:var(--text-muted);text-align:center;padding:12px 0}.leaderboard__empty-state{text-align:center;padding:40px 20px;display:flex;flex-direction:column;align-items:center;gap:16px}.leaderboard__empty-icon{font-size:3rem;line-height:1}.leaderboard__empty-state h3{font-size:1.1rem;font-weight:700;color:var(--text);margin:0}.leaderboard__empty-state p{font-size:.9rem;color:var(--text-muted);max-width:300px}.leaderboard__podium{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:flex-end;padding:20px;background:linear-gradient(135deg,rgba(107,78,255,.04),rgba(107,78,255,.02));border:1px solid var(--border);border-radius:var(--radius)}.leaderboard__podium--partial{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));align-items:center}.leaderboard__podium-item{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 12px;background:var(--surface-2);border-radius:var(--radius-sm);text-align:center}.leaderboard__podium-item--rank1{grid-column:2;grid-row:1/3;padding:20px 16px;background:linear-gradient(135deg,rgba(255,215,0,.15),rgba(255,215,0,.05));border:1px solid rgba(255,215,0,.3)}.leaderboard__podium-item--rank2{grid-column:1;grid-row:1;height:100%}.leaderboard__podium-item--rank3{grid-column:3;grid-row:1;height:100%}.leaderboard__podium-medal{font-size:1.8rem;line-height:1}.leaderboard__podium-avatar{width:48px;height:48px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.4rem}.leaderboard__podium-name{font-weight:700;font-size:.95rem;color:var(--text);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard__podium-badge{font-size:.8rem}.leaderboard__podium-xp{font-size:.85rem;font-weight:700;color:var(--text)}.leaderboard__separator{height:1px;background:var(--border)}.leaderboard__list-header{display:flex;align-items:center;gap:12px;padding:0 4px}.leaderboard__list-title{font-size:.95rem;font-weight:700;color:var(--text);margin:0}.leaderboard__list-count{font-size:.75rem;font-weight:600;color:var(--text-dim,var(--text));opacity:.6;padding:2px 8px;border-radius:999px;background:var(--border)}.leaderboard__list{list-style:none;display:flex;flex-direction:column;gap:8px}.leaderboard__entry{display:grid;grid-template-columns:40px 36px 1fr auto auto;align-items:center;gap:12px;padding:12px;border-radius:var(--radius-sm);background:var(--surface-2);font-size:.875rem;transition:background .15s}.leaderboard__entry:hover{background:color-mix(in srgb,var(--border) 50%,var(--surface-2))}.leaderboard__avatar-sm{width:32px;height:32px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;flex-shrink:0}.leaderboard__entry:first-child{background:color-mix(in srgb,var(--accent) 12%,var(--surface-2));border:1px solid color-mix(in srgb,var(--accent) 35%,transparent)}.leaderboard__rank{font-weight:800;color:var(--text-muted);font-size:.9rem;text-align:center;font-variant-numeric:tabular-nums}.leaderboard__entry:first-child .leaderboard__rank{color:var(--accent)}.leaderboard__player{display:flex;flex-direction:column;gap:1px;min-width:0}.leaderboard__name{font-weight:700;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard__addr{font-family:SF Mono,Fira Code,monospace;font-size:.72rem;color:var(--text-muted)}.leaderboard__score{font-weight:800;font-size:.95rem;font-variant-numeric:tabular-nums;color:var(--text)}.leaderboard__entry--current-user{background:color-mix(in srgb,var(--brand) 12%,var(--surface-2));border:1px solid color-mix(in srgb,var(--brand) 35%,transparent)}.badge{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;font-size:.7rem;font-weight:700;flex-shrink:0}.badge--verified{background:color-mix(in srgb,var(--success) 20%,var(--surface));color:var(--success);border:1px solid var(--success)}.badge--unverified{background:color-mix(in srgb,var(--warning) 20%,var(--surface));color:var(--warning);border:1px solid var(--warning)}.badge--loading{background:color-mix(in srgb,var(--muted) 20%,var(--surface));color:var(--muted);border:1px solid var(--muted)}.badge--unavailable{background:color-mix(in srgb,var(--error) 15%,var(--surface));color:var(--error);border:1px dashed var(--error);opacity:.7}.leaderboard__name-input{font-weight:700;color:var(--text);background:var(--surface);border:1px solid var(--accent);border-radius:var(--radius-sm);padding:4px 8px;font-size:.875rem;font-family:inherit}.leaderboard__name-input:focus{outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 30%,transparent)}.leaderboard__name-input:disabled{opacity:.6;cursor:not-allowed}.leaderboard__actions{display:flex;gap:4px}.leaderboard__action-btn{width:28px;height:28px;padding:0;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-2);color:var(--text);font-size:.875rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.leaderboard__action-btn:hover:not(:disabled){background:var(--accent);color:var(--surface);border-color:var(--accent);transform:scale(1.1)}.leaderboard__action-btn:disabled{opacity:.5;cursor:not-allowed}.leaderboard__action-btn--edit:hover{background:var(--accent)}.leaderboard__action-btn--save{background:color-mix(in srgb,var(--green) 20%,var(--surface-2))}.leaderboard__action-btn--save:hover:not(:disabled){background:var(--green);border-color:var(--green)}.leaderboard__action-btn--cancel{background:color-mix(in srgb,#f44336 20%,var(--surface-2))}.leaderboard__action-btn--cancel:hover:not(:disabled){background:#f44336;border-color:#f44336;color:var(--surface)}.leaderboard__error{margin-top:12px;padding:10px;border-radius:var(--radius-sm);background:color-mix(in srgb,#f44336 15%,var(--surface));border:1px solid color-mix(in srgb,#f44336 40%,transparent);color:#d32f2f;font-size:.8rem;text-align:center}.leaderboard__name-badge{display:flex;align-items:center;gap:6px}.leaderboard__badge{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;font-size:.75rem;font-weight:600}.leaderboard__badge--verified{background:color-mix(in srgb,var(--success) 22%,var(--surface));color:var(--success);border:1px solid var(--success);font-weight:800}.leaderboard__badge--unverified{background:color-mix(in srgb,var(--warning,#ff9800) 18%,var(--surface));color:var(--warning,#ff9800);border:1px solid var(--warning,#ff9800)}.leaderboard__badge--loading{background:color-mix(in srgb,var(--muted) 20%,var(--surface));color:var(--muted);border:1px solid var(--muted)}.leaderboard__badge--unavailable{background:color-mix(in srgb,#f44336 15%,var(--surface));color:#f44336;border:1px dashed #f44336;opacity:.7}.leaderboard__pagination{margin-top:16px;display:flex;align-items:center;justify-content:center;gap:12px;padding-top:16px;border-top:1px solid var(--border)}.leaderboard__pagination-btn{padding:8px 16px;background:var(--brand);color:#fff;border:none;border-radius:var(--radius-sm);font-size:.85rem;font-weight:500;cursor:pointer;transition:background .2s}.leaderboard__pagination-btn:hover:not(:disabled){background:color-mix(in srgb,var(--brand) 80%,#000)}.leaderboard__pagination-btn:disabled{opacity:.5;cursor:not-allowed}.leaderboard__pagination-info{font-size:.85rem;color:var(--text-secondary);font-weight:500}.login-screen{width:100%;min-height:100vh;background:var(--bg);color:var(--text);display:flex;align-items:center;justify-content:center;padding:20px}.login-container{width:100%;max-width:560px;gap:40px}.login-container,.login-header{display:flex;flex-direction:column}.login-header{text-align:center;gap:12px}.login-title{font-size:clamp(2.2rem,8vw,4rem);font-weight:900;letter-spacing:-.045em;line-height:1;background:var(--brand);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.login-subtitle{font-size:1.05rem;line-height:1.6;color:var(--text-muted)}.login-tabs{display:flex;gap:12px;border-bottom:2px solid var(--border);padding-bottom:0}.login-tab{flex:1;padding:12px 16px;background:none;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:.95rem;font-weight:600;color:var(--text-muted);transition:all .2s;margin-bottom:-2px}.login-tab:hover:not(:disabled){color:var(--text)}.login-tab--active{color:var(--brand);border-bottom-color:var(--brand)}.login-tab:disabled{opacity:.6;cursor:not-allowed}.login-options{gap:14px}.login-email-form,.login-options{display:flex;flex-direction:column}.login-email-form{gap:8px}.login-email-form__input{width:100%;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);font-family:Inter,system-ui,sans-serif;font-size:1rem;transition:border-color .2s}.login-email-form__input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 12px rgba(132,94,247,.15)}.login-email-form__input::placeholder{color:var(--text-muted)}.login-option{display:flex;align-items:center;gap:16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;cursor:pointer;transition:all .2s;text-align:left;font-family:Inter,system-ui,sans-serif;width:100%}.login-option:hover:not(:disabled){border-color:var(--brand);box-shadow:0 0 20px rgba(132,94,247,.2);transform:translateY(-2px)}.login-option:active:not(:disabled){transform:translateY(0)}.login-option:disabled{opacity:.6;cursor:not-allowed}.login-option__icon{width:56px;height:56px;flex-shrink:0;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px}.login-option--wallet .login-option__icon{background:var(--brand)}.login-option--email .login-option__icon{background:linear-gradient(135deg,#00c9a7,#00b4e0)}.login-option__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.login-option__title{font-size:1.05rem;font-weight:800;margin:0}.login-option__description{font-size:.85rem;color:var(--text-muted);margin:0;line-height:1.4}.login-option__arrow{font-size:1.5rem;color:var(--brand);font-weight:600;flex-shrink:0}.login-loading{display:flex;align-items:center;justify-content:center;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text-muted);font-size:.95rem}.wallet-selector-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-end}.wallet-selector-overlay{position:absolute;inset:0;background:rgba(0,0,0,.4);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:0}.wallet-selector-dialog{position:relative;z-index:1;pointer-events:auto;width:100%;max-width:480px;background:var(--surface);border-radius:var(--radius-lg) var(--radius-lg) 0 0;display:flex;flex-direction:column;gap:0;box-shadow:var(--shadow-lg);max-height:85vh;overflow-y:auto}@media (min-width:640px){.wallet-selector-modal{align-items:center;justify-content:center}.wallet-selector-dialog{width:90%;max-width:420px;border-radius:var(--radius-lg);max-height:90vh}}.wallet-selector-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border);flex-shrink:0}.wallet-selector-title{font-size:1.25rem;font-weight:800;color:var(--text);margin:0}.wallet-selector-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-muted);padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);transition:all .2s}.wallet-selector-close:hover{background:var(--surface-2);color:var(--text)}.wallet-selector-content{padding:20px 24px;display:flex;flex-direction:column;gap:16px;overflow-y:auto;overflow-x:hidden;flex:1}.wallet-selector-description{font-size:.9rem;color:var(--text-muted);margin:0 0 4px;flex-shrink:0}.wallet-selector-error{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;background:#fef2f2;border:1px solid #fca5a5;border-radius:var(--radius);margin:10px 0;font-size:.9rem;color:#b91c1c;line-height:1.4}.wallet-selector-error__icon{flex-shrink:0;font-size:1.1rem;line-height:1}.wallet-selector-error__text{flex:1}.wallet-selector-error__actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.wallet-selector-error__reset{background:none;border:none;color:#b91c1c;cursor:pointer;font-size:.8rem;font-weight:600;line-height:1;padding:4px 8px;margin:0;text-decoration:underline;transition:color .15s}.wallet-selector-error__reset:hover{color:#7f1d1d}.wallet-selector-error__close{flex-shrink:0;background:none;border:none;color:#b91c1c;cursor:pointer;font-size:1.2rem;line-height:1;padding:0;margin:-2px -8px -2px 0}.wallet-selector-error__close:hover{color:#7f1d1d}.wallet-selector-options{display:flex;flex-direction:column;gap:8px;flex-shrink:1;min-height:0;overflow-y:auto}.wallet-option{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;transition:all .2s ease;font-family:Inter,system-ui,sans-serif;width:100%;text-align:left;height:60px;flex-shrink:0}.wallet-option:hover:not(:disabled){border-color:var(--brand);background:rgba(132,94,247,.08);box-shadow:0 2px 8px rgba(132,94,247,.12);transform:translateY(-1px)}.wallet-option:active:not(:disabled){transform:translateY(0)}.wallet-option:disabled{opacity:.6;cursor:not-allowed}.wallet-option:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(132,94,247,.1)}.wallet-option--connecting{border-color:var(--brand);background:rgba(132,94,247,.08)}.wallet-option__icon-container{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--surface);border-radius:calc(var(--radius) - 2px);border:1px solid var(--border);overflow:hidden}.wallet-option__icon-image{width:100%;height:100%;object-fit:contain;padding:4px;background:transparent}.wallet-option__icon-fallback{width:20px;height:20px;color:var(--text-muted);flex-shrink:0}.wallet-option__content{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.wallet-option__name-row{display:flex;align-items:center;gap:6px;line-height:1.2}.wallet-option__name{font-size:.9rem;font-weight:600;color:var(--text);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wallet-option__badge{display:inline-block;font-size:.7rem;font-weight:500;color:var(--text-muted);background:var(--surface);padding:2px 6px;border-radius:calc(var(--radius) - 2px);text-transform:uppercase;letter-spacing:.3px;flex-shrink:0}.wallet-option__description{font-size:.75rem;color:var(--text-muted);display:block;margin:0;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wallet-option__spinner{display:flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0}.wallet-option__arrow{font-size:1rem;color:var(--brand);font-weight:600;flex-shrink:0}.wallet-selector-empty{font-size:.9rem}.wallet-selector-empty p{margin:0;line-height:1.4}.wallet-selector-footer{padding:14px 24px 20px;border-top:1px solid var(--border);text-align:center;flex-shrink:0;background:var(--surface)}.wallet-selector-help{font-size:.8rem;color:var(--text-muted);margin:0;line-height:1.4}.wallet-selector-help--note{margin-top:8px;padding-top:8px;border-top:1px solid var(--border);color:var(--text-muted);font-size:.8rem}.wallet-selector-link{color:var(--brand);text-decoration:none;font-weight:600;transition:opacity .2s}.wallet-selector-link:hover{opacity:.8;text-decoration:underline}.wallet-selector-loading{display:flex;align-items:center;justify-content:center;gap:8px;padding:20px;text-align:center;color:var(--text-muted);font-size:14px;animation:slideIn .3s ease}.wallet-selector-loading__spinner{font-size:18px;animation:spin 1s linear infinite}.wallet-selector-empty{padding:20px;text-align:center;color:var(--text-muted);font-size:14px;background:var(--surface-2);border-radius:var(--radius-sm);margin:12px 0}.login-footer{display:flex;flex-direction:column;gap:12px;text-align:center}.login-disclaimer{font-size:.85rem;color:var(--text-muted);line-height:1.6;margin:0}.login-features{font-size:.78rem;color:var(--text-muted);margin:0;opacity:.7}.login-link{color:var(--brand);text-decoration:none;font-weight:600;transition:opacity .2s}.login-link:hover{opacity:.8;text-decoration:underline}.login-error{display:flex;flex-direction:column;gap:12px;padding:16px;background:rgba(220,53,69,.1);border:1px solid #dc3545;border-radius:var(--radius);position:relative;animation:slideIn .3s ease-out}.login-error__title{margin:0;font-weight:600;color:#dc3545;font-size:.95rem}.login-error__message{margin:0;font-size:.85rem;color:#c82333;line-height:1.5}.login-error__dismiss{position:absolute;top:8px;right:8px;background:none;border:none;color:#dc3545;font-size:1.2rem;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;opacity:.7;transition:opacity .2s}.login-error__dismiss:hover{opacity:1}@media (max-width:480px){.header{padding:12px 14px}.header__logo{font-size:1.25rem}.header__sub{display:none}.main{padding:18px 12px 40px;gap:16px}.score-box{padding:8px 12px;min-width:80px}.score-value{font-size:1.2rem}.icon-btn{width:32px;height:32px;font-size:.9rem}.header__right{width:100%;justify-content:space-between}.header__username{max-width:110px;padding:5px 10px;font-size:.8rem}.wallet-button-container{margin-left:auto}.wallet-dropdown{max-width:calc(100vw - 24px)}}@media (max-width:360px){.header{padding:10px}.header__logo{font-size:1.1rem}.header__right{width:100%;justify-content:space-between}.header__username{max-width:80px;padding:4px 7px;font-size:.72rem}.wallet-button-container{margin-left:auto}.icon-btn{width:28px;height:28px;font-size:.8rem}.main{padding:12px 10px 32px;gap:12px}.board{--gap:6px;gap:var(--gap);padding:var(--gap);border-radius:var(--radius-sm)}.score-panel{gap:6px}.score-box{min-width:60px;padding:5px 7px}.score-value{font-size:1rem}.score-label{font-size:.55rem}.btn{padding:10px 18px;min-width:120px;font-size:.82rem}.hero__title{font-size:clamp(1.8rem,8vw,2.4rem)}.hero__tagline{font-size:.88rem}.feature-card{padding:12px}.feature-card__title{font-size:.88rem}.feature-card__text{font-size:.78rem}.feature-card__icon{width:36px;height:36px}.game-overlay__title{font-size:1.1rem}.game-overlay__score{font-size:.85rem}.htp-modal{padding:18px 14px 16px}.htp-slide__title{font-size:1.1rem}.leaderboard__entry{padding:8px 10px;gap:8px;font-size:.8rem}.shop{padding:14px}.shop__items{gap:14px}.shop__items--cosmetics,.shop__items--powerups{grid-template-columns:1fr}.shop-item{padding:12px 10px;max-width:none}.shop-item__icon-wrapper{height:90px}.shop-icon{width:80px;height:80px}.shop__category-tabs{gap:8px;margin:12px 0}.shop__category-tab{padding:10px 14px;font-size:.85rem}.shop__category-icon-wrapper{height:90px}.category-icon{width:90px;height:90px}.controls__hint{font-size:.72rem}.daily-claim{padding:14px 16px}.daily-claim__title{font-size:.92rem}}@media (orientation:landscape) and (max-height:500px){.header{padding:6px 14px}.header__logo{font-size:1.1rem}.header__sub{display:none}.icon-btn{width:30px;height:30px;font-size:.85rem}.main{padding:8px 16px 16px;gap:8px}.score-panel{gap:6px}.score-box{min-width:65px;padding:4px 8px}.score-value{font-size:.95rem}.score-label{font-size:.55rem}.board{--gap:5px;width:min(340px,55vh,calc(100vw - 32px));gap:var(--gap);padding:var(--gap)}.controls{gap:6px}.btn{padding:6px 14px;min-width:90px;font-size:.75rem}.game-overlay__title{font-size:1rem}.game-overlay__score{font-size:.8rem}.controls__hint{font-size:.68rem}.board-placeholder{font-size:.85rem}.board-placeholder__sub{font-size:.72rem}.identity-gate{padding:14px;gap:12px}.identity-gate__title{font-size:.85rem}.identity-gate__desc{font-size:.75rem}}@media (min-width:481px) and (max-width:767px){.board{width:min(440px,calc(100vw - 48px))}.screen{max-width:520px}.main{padding:24px 24px 48px;gap:20px}.home{max-width:520px}.hero__title{font-size:clamp(3rem,8vw,3.8rem)}.hero__tagline{font-size:1rem}.header__right{width:100%;justify-content:space-between}.wallet-button-container{margin-left:auto}}@media (min-width:768px){.board{--gap:12px;width:min(520px,calc(100vw - 64px));gap:var(--gap);padding:var(--gap)}.screen{max-width:560px}.score-panel{max-width:520px;gap:14px}.score-box{padding:14px 24px}.score-value{font-size:1.6rem}.score-label{font-size:.68rem}.controls{max-width:520px}.header{padding:18px 32px}.header__logo{font-size:1.7rem}.shop__items--powerups{grid-template-columns:repeat(2,1fr)}.shop__items--cosmetics{grid-template-columns:repeat(3,1fr)}.shop-item{max-width:260px}.header__right{gap:10px}.icon-btn{width:38px;height:38px;font-size:1.05rem}.main{padding:36px 32px 56px;gap:28px}.home{max-width:800px;gap:48px}.features{gap:18px}.feature-card{padding:24px}.hero__tagline{font-size:1.1rem;max-width:560px}.btn{padding:14px 40px;min-width:180px;font-size:1rem}.controls__hint{font-size:.85rem}.htp-modal{max-width:480px;padding:36px 32px 28px}.leaderboard{padding:24px}.shop{padding:22px 22px 18px}.game-overlay__title{font-size:1.8rem}.game-overlay__score{font-size:1.05rem}.score-box{min-width:120px}.daily-claim{padding:20px 24px}}@media (min-width:1024px){.board{--gap:14px;width:min(560px,calc(100vw - 80px));gap:var(--gap);padding:var(--gap)}.screen{max-width:640px}.score-panel{max-width:560px;gap:16px}.score-box{min-width:140px;padding:16px 28px}.score-value{font-size:1.8rem}.controls{max-width:560px}.header{padding:20px 40px}.header__logo{font-size:1.8rem}.header__right{gap:12px}.header__username{max-width:200px;padding:7px 14px;font-size:.9rem}.icon-btn{width:40px;height:40px;font-size:1.1rem}.main{padding:40px 40px 64px;gap:32px}.home{max-width:960px;gap:56px}.features{gap:20px}.hero__title{font-size:clamp(3.5rem,5vw,5rem)}.hero__tagline{max-width:640px;font-size:1.15rem}.btn{padding:14px 44px;min-width:190px;font-size:1.05rem}.leaderboard{padding:28px}.leaderboard__entry{padding:12px 16px;font-size:.95rem}.shop{padding:26px}.shop-item{padding:14px 16px}.game-overlay__title{font-size:2rem}.game-overlay__score{font-size:1.15rem}}@media (min-width:1440px){.board{--gap:16px;width:600px;gap:var(--gap);padding:var(--gap)}.screen{max-width:720px}.score-panel{max-width:600px;gap:18px}.score-box{min-width:160px;padding:18px 32px}.score-value{font-size:2rem}.controls{max-width:600px}.header{padding:22px 48px}.header__logo{font-size:1.9rem}.main{padding:44px 48px 72px;gap:36px}.home{max-width:1100px;gap:64px}.features{gap:24px}.feature-card{padding:28px}.hero__tagline{max-width:720px;font-size:1.2rem}.leaderboard{padding:32px}.shop{padding:28px}.htp-modal{max-width:520px;padding:40px 36px 32px}.daily-claim{padding:22px 28px}}@media (hover:none) and (pointer:coarse){.btn,.htp-close,.htp-nav__btn,.shop-btn{min-height:44px}.htp-close{min-width:44px}.hero__cta .btn{min-height:48px}.identity-gate__btn,.username-card__input,.username-modal__input{min-height:44px}}.wallet-button-container{position:relative}.wallet-button{display:flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;background:var(--surface-2);border:1px solid var(--border);color:var(--text);font-size:.875rem;cursor:pointer;transition:all .2s;white-space:nowrap}.wallet-button:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.wallet-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.wallet-button:active{transform:scale(.97)}.wallet-button--open{background:var(--accent);color:#fff;border-color:var(--accent)}.wallet-button__balance{font-weight:700;font-variant-numeric:tabular-nums}.wallet-button__divider{width:1px;height:14px;background:currentColor;opacity:.25;flex-shrink:0}.wallet-button__address{font-family:monospace;font-size:.8em;opacity:.7}.wallet-button__chevron{opacity:.6;transition:transform .2s ease;flex-shrink:0}.wallet-button--open .wallet-button__chevron,.wallet-button:hover .wallet-button__chevron{opacity:1}.wallet-button--open .wallet-button__chevron{transform:rotate(180deg)}.wallet-dropdown{position:absolute;top:100%;right:0;margin-top:8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);z-index:1000;min-width:280px}.wallet-dropdown__content{padding:16px;display:flex;flex-direction:column;gap:16px}.wallet-dropdown__section{display:flex;flex-direction:column;gap:6px}.wallet-dropdown__label{font-size:.75rem;font-weight:600;text-transform:uppercase;color:var(--text-muted);letter-spacing:.5px}.wallet-dropdown__value{padding:8px 12px;background:var(--bg);border-radius:6px;font-size:.875rem;color:var(--text);font-variant-numeric:tabular-nums;word-break:break-all}.wallet-dropdown__value code{font-family:monospace;font-size:.8rem}.btn--danger{background:#dc2626;color:#fff;border-color:#dc2626;width:100%;margin-top:8px}.btn--danger:hover{background:#991b1b;border-color:#991b1b}@keyframes slideIn{0%{opacity:0;transform:translateX(400px)}to{opacity:1;transform:translateX(0)}}.signin-modal-wrapper{position:fixed;inset:0;z-index:1001;display:flex;align-items:center;justify-content:center;padding:16px}.signin-modal-overlay{position:absolute;inset:0;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:0}.signin-modal-card{position:relative;z-index:1;width:100%;max-width:400px;background:var(--surface);border-radius:var(--radius-lg);padding:32px 24px;box-shadow:var(--shadow-lg);animation:signin-modal-enter .3s ease-out}.signin-modal-card--wallet{max-width:420px;padding:24px}@keyframes signin-modal-enter{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.signin-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.signin-modal-header--wallet{margin-bottom:12px}.signin-modal-back{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--text);padding:8px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);transition:all .2s}.signin-modal-back:hover{background:var(--surface-2)}.signin-modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-muted);padding:8px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);transition:all .2s;margin-left:auto}.signin-modal-close:hover{background:var(--surface-2);color:var(--text)}.signin-modal-title{font-size:1.5rem;font-weight:800;color:var(--text);margin:0;flex:1;text-align:left}.signin-modal-subtitle{font-size:.9rem;color:var(--text-muted);margin:0 0 20px}.signin-modal-tagline{font-size:.95rem;color:var(--text-muted);margin:0 0 28px;line-height:1.4}.signin-form{gap:12px;margin-bottom:24px}.signin-field,.signin-form{display:flex;flex-direction:column}.signin-field{gap:6px}.signin-input-wrapper{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);transition:all .2s}.signin-input-wrapper:focus-within{border-color:var(--brand);background:var(--surface);box-shadow:0 0 0 3px rgba(107,78,255,.1)}.signin-input-icon{width:18px;height:18px;flex-shrink:0;color:hsla(0,0%,100%,.6)}.signin-email-input{flex:1;background:none;border:none;font-size:.95rem;color:var(--text);font-family:Inter,system-ui,sans-serif;outline:none}.signin-email-input::placeholder{color:var(--text-muted)}.signin-email-input:disabled{opacity:.6;cursor:not-allowed}.signin-error-message{font-size:.8rem;color:var(--error);margin:0;line-height:1.3}.signin-primary-button{width:100%;padding:14px 20px;background:var(--brand);color:#fff;border:none;border-radius:var(--radius);font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;font-family:Inter,system-ui,sans-serif}.signin-primary-button:hover:not(:disabled){background:#5939d4;transform:translateY(-2px);box-shadow:0 4px 12px rgba(107,78,255,.3)}.signin-primary-button:active:not(:disabled){transform:translateY(0)}.signin-primary-button:disabled{opacity:.5;cursor:not-allowed}.signin-primary-button--loading{opacity:.9}.signin-spinner{display:inline-block;width:16px;height:16px;border:2px solid hsla(0,0%,100%,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.signin-divider{display:flex;align-items:center;gap:12px;margin:24px 0;color:var(--text-muted)}.signin-divider:after,.signin-divider:before{flex:1;height:1px;background:var(--border);content:""}.signin-divider-text{font-size:.85rem;font-weight:500;color:var(--text-muted);white-space:nowrap}.signin-secondary-button{width:100%;padding:12px 16px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);font-size:.95rem;color:var(--text);cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:12px;min-height:48px;font-family:Inter,system-ui,sans-serif;margin-bottom:20px}.signin-secondary-button:hover{border-color:var(--brand);background:rgba(107,78,255,.04);transform:translateY(-1px)}.signin-secondary-button:active{transform:translateY(0)}.signin-secondary-icon{width:20px;height:20px;flex-shrink:0;color:var(--text)}.signin-secondary-text{flex:1;text-align:left}.signin-secondary-label{display:block;font-weight:600;color:var(--text)}.signin-secondary-chevron{font-size:1.3rem;color:var(--brand);flex-shrink:0}.signin-footer-text{font-size:.8rem;color:var(--text-muted);text-align:center;margin:0;line-height:1.4}.signin-modal-wallet-list{margin-top:16px}@media (max-width:480px){.signin-modal-card{max-width:100%;padding:24px 20px;border-radius:var(--radius) var(--radius) var(--radius-lg) var(--radius-lg)}.signin-modal-title{font-size:1.25rem}.signin-modal-tagline{margin-bottom:24px}.signin-primary-button,.signin-secondary-button{min-height:48px}}@media (prefers-color-scheme:dark){:root:not(.light-mode) .signin-modal-card{background:#1a1a1a}}.wallet-list-container{display:flex;flex-direction:column;gap:16px}.wallet-list-row{display:flex;align-items:center;gap:16px;padding:0 20px;height:72px;background:var(--surface-2);border:1.5px solid var(--border);border-radius:16px;cursor:pointer;transition:all .2s ease;font-family:Inter,system-ui,sans-serif;width:100%;text-align:left;text-decoration:none;color:var(--text);box-sizing:border-box}.wallet-list-row:hover:not(:disabled){border-color:rgba(107,78,255,.5);background:rgba(107,78,255,.05)}.wallet-list-row:active:not(:disabled){transform:scale(.98)}.wallet-list-row:disabled{opacity:.6;cursor:not-allowed}.wallet-list-row:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(107,78,255,.1)}.wallet-list-row--connecting{border-color:var(--brand);background:rgba(107,78,255,.05)}.wallet-list-icon-box{width:36px;height:36px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--surface);border-radius:8px;border:1px solid var(--border);overflow:hidden}.wallet-list-icon{width:100%;height:100%;object-fit:contain;padding:2px;background:transparent}.wallet-list-icon-fallback{width:100%;height:100%;background:rgba(0,0,0,.1)}.wallet-list-name{flex:1;font-size:18px;font-weight:700;color:var(--text);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wallet-list-chevron{font-size:20px;font-weight:600;color:var(--brand);flex-shrink:0}.wallet-list-spinner{display:inline-block;width:18px;height:18px;border:2px solid rgba(107,78,255,.3);border-top:2px solid var(--brand);border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}.wallet-list-fallback{margin-top:2px;padding:10px 8px;width:100%;background:none;border:none;font-family:Inter,system-ui,sans-serif;font-size:13px;font-weight:600;line-height:1.4;color:var(--text-muted,#8a8a8a);text-align:center;text-decoration:underline;text-underline-offset:3px;cursor:pointer;transition:color .2s ease}.wallet-list-fallback:hover:not(:disabled){color:var(--brand)}.wallet-list-fallback:disabled{opacity:.5;cursor:not-allowed}.wallet-list-wcuri{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:1.5px solid var(--border);background:var(--surface-2);border-radius:12px}.wallet-list-wcuri__label{margin:0;font-family:Inter,system-ui,sans-serif;font-size:13px;font-weight:600;color:var(--text)}.wallet-list-wcuri__value{display:block;max-height:84px;overflow-y:auto;word-break:break-all;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.4;color:var(--text-muted,#8a8a8a)}.wallet-list-wcuri__copy{align-self:flex-start;padding:6px 14px;border:1.5px solid var(--brand);border-radius:8px;background:none;font-weight:700;color:var(--brand);cursor:pointer}.wallet-list-note,.wallet-list-wcuri__copy{font-family:Inter,system-ui,sans-serif;font-size:13px}.wallet-list-note{margin:0;padding:4px 0;text-align:center;font-weight:500;color:var(--text-muted,#8a8a8a)}.wallet-list-cta-group{display:flex;flex-direction:column;gap:10px}.wallet-list-cta{display:flex;align-items:center;justify-content:center;min-height:52px;padding:0 20px;border-radius:14px;background:var(--brand);color:#fff;font-family:Inter,system-ui,sans-serif;font-size:15px;font-weight:700;text-align:center;text-decoration:none;border:none;cursor:pointer}.wallet-list-cta:active{transform:scale(.98)}@keyframes spin{to{transform:rotate(1turn)}}.stat-card{display:flex;flex-direction:column;gap:8px;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-height:100px}.stat-card__header{display:flex;align-items:center;gap:8px}.stat-card__icon{font-size:18px;line-height:1}.stat-card__label{font-size:13px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.stat-card__value{font-size:28px;font-weight:700;color:var(--text);line-height:1.2;word-break:break-word}.stat-card__skeleton{height:32px;background:linear-gradient(90deg,var(--surface-2) 25%,rgba(0,0,0,.05) 50%,var(--surface-2) 75%);background-size:200% 100%;animation:stat-card-shimmer 1.5s infinite;border-radius:4px}.stat-card__empty{color:var(--text-muted)}.stat-card__error{color:var(--error);font-size:14px}.stat-card__coming-soon{color:var(--text-muted);font-size:14px;font-style:italic}.stat-card__note{margin:0;color:var(--text-muted);font-size:.75rem;line-height:1.35}@keyframes stat-card-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.profile-header{display:flex;flex-direction:column;align-items:center;gap:16px;padding:32px 16px;text-align:center}.profile-avatar{width:80px;height:80px;border-radius:50%;justify-content:center;font-size:32px;font-weight:700;color:#fff;background:linear-gradient(135deg,var(--brand),color-mix(in srgb,var(--brand) 60%,var(--accent)))}.profile-avatar,.profile-name{display:flex;align-items:center}.profile-name{flex-direction:column;gap:8px}.profile-title{margin:0;font-size:24px;font-weight:700;color:var(--text)}.profile-badge{display:inline-flex;gap:6px;padding:4px 10px;background:rgba(16,185,129,.1);color:var(--success);border-radius:12px;font-weight:600}.profile-address,.profile-badge{align-items:center;font-size:12px}.profile-address{font-family:monospace;color:var(--text-muted);display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.profile-address-copy{background:none;border:none;color:var(--brand);cursor:pointer;font-size:12px;padding:0;text-decoration:underline}.profile-address-copy:hover{opacity:.8}.stat-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;padding:0 16px 24px}@media (max-width:768px){.stat-cards-grid{grid-template-columns:repeat(2,1fr)}}.invite-block{margin:24px 16px 0;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.invite-block__title{margin:0 0 8px;font-size:18px;font-weight:700;color:var(--text)}.invite-block__copy{margin:0 0 16px;font-size:14px;color:var(--text-muted);line-height:1.5}.invite-link-group{display:flex;gap:8px;margin-bottom:12px}.invite-link-input{flex:1;padding:10px 12px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:12px;font-family:monospace;color:var(--text);word-break:break-all;overflow-y:auto;max-height:60px}.invite-link-copy-btn{padding:10px 16px;background:var(--brand);color:#fff;border:none;border-radius:var(--radius-sm);font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:opacity .2s}.invite-link-copy-btn:hover{opacity:.9}.invite-link-copy-btn:active{transform:scale(.98)}.invite-share-btn{width:100%;padding:12px;background:var(--brand);color:#fff;border:none;border-radius:var(--radius-sm);font-size:14px;font-weight:600;cursor:pointer;transition:opacity .2s}.invite-share-btn:hover{opacity:.9}.invite-share-btn:active{transform:scale(.98)}.invite-referral-count{font-size:13px;color:var(--text-muted);margin-top:12px}.profile-not-found{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;padding:32px 16px;text-align:center}.profile-not-found__title{margin:0 0 8px;font-size:20px;font-weight:700;color:var(--text)}.profile-not-found__desc{margin:0;font-size:14px;color:var(--text-muted);max-width:300px}.bounty-page{width:100%;box-sizing:border-box;max-width:1200px;margin:0 auto;padding:20px 16px}.bounty-page__title{font-size:28px;font-weight:700;color:var(--text);margin:0 0 24px;text-align:center}.bounty-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:24px;margin-bottom:24px;box-shadow:var(--shadow)}.bounty-card--upcoming{border-left:4px solid var(--warning)}.bounty-card--live{border-left:4px solid var(--success);background:linear-gradient(135deg,var(--surface) 0,rgba(16,185,129,.05) 100%)}.bounty-card--ended{opacity:.75}.bounty-card__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}.bounty-card__title{font-size:24px;font-weight:700;color:var(--text);margin:0}.bounty-card__badge{padding:6px 12px;background:var(--brand);color:#fff;border-radius:4px;font-size:12px;font-weight:600;white-space:nowrap}.bounty-card__description{font-size:14px;line-height:1.6;color:var(--text-muted);margin:0 0 20px}.bounty-card__info{display:flex;gap:20px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--border)}.bounty-card__info-item{display:flex;flex-direction:column}.bounty-card__info-label{font-size:12px;font-weight:600;color:var(--text-muted);margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px}.bounty-card__info-value,.bounty-countdown{font-size:16px;font-weight:600;color:var(--text);font-family:Courier New,monospace}.bounty-card__section{margin-bottom:20px}.bounty-card__section:last-child{margin-bottom:0}.bounty-card__section--leaderboard{margin-top:24px;padding-top:24px;border-top:1px solid var(--border)}.bounty-card__section-title{font-size:16px;font-weight:700;color:var(--text);margin:0 0 12px}.bounty-card__list{list-style:decimal;margin:0;padding-left:20px}.bounty-card__list-item{margin-bottom:8px}.bounty-card__criteria,.bounty-card__list-item{font-size:14px;line-height:1.6;color:var(--text)}.bounty-card__criteria{margin:0}.bounty-leaderboard__empty,.bounty-leaderboard__error,.bounty-leaderboard__loading{font-size:14px;color:var(--text-muted);text-align:center;padding:20px;margin:0}.bounty-leaderboard__error{color:var(--error)}.bounty-leaderboard__list{list-style:none;margin:0;padding:0}.bounty-leaderboard__entry{display:flex;align-items:center;gap:12px;padding:12px;border-radius:var(--radius-sm);margin-bottom:8px;background:var(--surface-2);transition:background .2s}.bounty-leaderboard__entry:hover{background:var(--cell)}.bounty-leaderboard__entry--prize{background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 10%,var(--surface)) 0,color-mix(in srgb,var(--warning) 10%,var(--surface)) 100%);border-left:3px solid var(--brand);padding-left:9px}.bounty-leaderboard__entry--preview{opacity:.5;color:var(--text-muted)}.bounty-leaderboard__rank{font-weight:700;font-size:14px;color:var(--text);min-width:50px}.bounty-leaderboard__avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:#fff;flex-shrink:0}.bounty-leaderboard__name{flex:1}.bounty-leaderboard__name-link{color:var(--brand);text-decoration:none;font-weight:500;font-size:14px}.bounty-leaderboard__name-link:hover{text-decoration:underline}.bounty-leaderboard__xp{font-weight:600;font-size:14px;color:var(--text);text-align:right;min-width:100px}.bounty-page__upcoming{margin-top:40px}.bounty-page__upcoming-title{font-size:20px;font-weight:700;color:var(--text);margin:0 0 16px}.bounty-page__upcoming-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.bounty-ended{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:24px;margin-bottom:16px;opacity:.7}.bounty-ended .bounty-card__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}.bounty-ended .bounty-card__title{font-size:18px;font-weight:700;color:var(--text-muted);margin:0}.bounty-ended .bounty-card__badge{padding:6px 12px;background:var(--surface-2);color:var(--text-muted);border-radius:4px;font-size:12px;font-weight:600;white-space:nowrap}.bounty-ended__leaderboard{margin-top:0}.bounty-ended__section-title{font-size:14px;font-weight:600;color:var(--text-muted);margin:0 0 12px;text-transform:uppercase;letter-spacing:.5px}.bounty-leaderboard__list--faded{opacity:.85}.bounty-leaderboard__list--faded .bounty-leaderboard__entry{background:color-mix(in srgb,var(--surface-2) 80%,var(--surface));border-left:none}.bounty-leaderboard__list--faded .bounty-leaderboard__entry:hover{background:color-mix(in srgb,var(--surface-2) 85%,var(--surface))}.bounty-leaderboard__list--faded .bounty-leaderboard__entry--prize{background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 5%,var(--surface)) 0,color-mix(in srgb,var(--warning) 5%,var(--surface)) 100%);border-left:none}.bounty-page__past{margin-top:40px}.bounty-page__past-title{font-size:20px;font-weight:700;color:var(--text);margin:0 0 16px}@keyframes slideInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width:768px){.bounty-card{padding:16px}.bounty-card__title{font-size:20px}.bounty-card__header{flex-direction:column;align-items:flex-start}.bounty-card__info{flex-direction:column;gap:12px}.bounty-leaderboard__entry{gap:8px;padding:10px}.bounty-leaderboard__xp{min-width:auto}}.shop__ubi-note{margin:8px 0 16px;font-size:.85rem;color:var(--text-muted);text-align:center}.shop__ubi-confirmed a,.shop__ubi-note a{color:var(--brand);font-weight:600;text-decoration:none}.shop-item__ubi{display:block;font-size:.72rem;color:var(--text-muted);margin-top:2px}@media (hover:none),(max-width:480px){.tooltip:after,.tooltip:before{display:none}}:root{--font-display:"Outfit","Inter",system-ui,sans-serif;--brand-500:#6650f4;--brand-400:#7b68f6;--accent-green:#16a34a;--accent-cyan:#0891b2;--chrome:var(--surface);--card:var(--surface);--card-2:var(--surface-2);--cell-well:var(--cell);--gold:#facc15;--silver:#cbd5e1;--bronze:#d08a4c}@media (prefers-color-scheme:dark){:root:not(.light-mode){--bg:#0e1116;--surface:#1a1d29;--surface-2:#232838;--board:#262b38;--cell:#1b1e27;--text:#f4f5f8;--text-muted:#9aa1b2;--border:hsla(0,0%,100%,.08);--brand:#6650f4;--brand-rgb:102,80,244;--accent:#6650f4;--accent-green:#4ade80;--accent-cyan:#67e8f9;--green:#4ade80;--success:#4ade80;--chrome:#181b26;--card:#171a24;--card-2:#2a2f3e;--cell-well:#1b1e27;--t2:#6650f4;--t2-fg:#fff;--t4:#c4b8fa;--t4-fg:#fff;--t8:#2a3fae;--t8-fg:#fff;--t16:#3e55d6;--t16-fg:#fff;--t32:#8b7cf8;--t32-fg:#fff;--t64:#fde96a;--t64-fg:#fff;--t128:#f5c542;--t128-fg:#fff;--t256:#22c3e6;--t256-fg:#fff;--t512:#4ade80;--t512-fg:#0e1116;--t1024:#a78bfa;--t1024-fg:#fff;--t2048:#fde96a;--t2048-fg:#1a1d29}}html.dark-mode{--bg:#0e1116;--surface:#1a1d29;--surface-2:#232838;--board:#262b38;--cell:#1b1e27;--text:#f4f5f8;--text-muted:#9aa1b2;--border:hsla(0,0%,100%,.08);--brand:#6650f4;--brand-rgb:102,80,244;--accent:#6650f4;--accent-green:#4ade80;--accent-cyan:#67e8f9;--green:#4ade80;--success:#4ade80;--chrome:#181b26;--card:#171a24;--card-2:#2a2f3e;--cell-well:#1b1e27;--t2:#6650f4;--t2-fg:#fff;--t4:#c4b8fa;--t4-fg:#fff;--t8:#2a3fae;--t8-fg:#fff;--t16:#3e55d6;--t16-fg:#fff;--t32:#8b7cf8;--t32-fg:#fff;--t64:#fde96a;--t64-fg:#fff;--t128:#f5c542;--t128-fg:#fff;--t256:#22c3e6;--t256-fg:#fff;--t512:#4ade80;--t512-fg:#0e1116;--t1024:#a78bfa;--t1024-fg:#fff;--t2048:#fde96a;--t2048-fg:#1a1d29}.app .header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:18px clamp(16px,5vw,80px);background:var(--chrome);border-bottom:1px solid var(--border);box-shadow:none;position:sticky;top:0;z-index:50;flex-wrap:nowrap}.header__brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none}.header__wordmark{font-family:var(--font-display);font-weight:800;font-size:1.25rem;letter-spacing:.01em;text-transform:uppercase;color:var(--brand-500)}.header__nav{display:flex;justify-content:center;gap:clamp(14px,2vw,34px);min-width:0}.nav-link{position:relative;font-family:var(--font-display);font-size:.82rem;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);text-decoration:none;background:none;border:0;cursor:pointer;padding:6px 0;white-space:nowrap}.nav-link:hover:not(:disabled){color:var(--text)}.nav-link:disabled{opacity:.45;cursor:not-allowed}.nav-link--active{color:var(--brand-400)}.nav-link--active:after{content:"";position:absolute;left:50%;bottom:-4px;width:16px;height:2px;border-radius:2px;background:var(--brand-400);transform:translateX(-50%)}.nav-link:focus-visible{outline:2px solid var(--brand-400);outline-offset:4px;border-radius:4px}.header__actions{display:flex;align-items:center;gap:10px;justify-content:flex-end}.icon-btn--ghost{width:34px;height:34px;color:var(--text-muted)}.header__actions .theme-toggle,.icon-btn--ghost{background:transparent;border:0;box-shadow:none}.header__actions .wallet-button-container>button,.header__actions>.btn{font-family:var(--font-display);font-weight:600;letter-spacing:.04em;text-transform:uppercase;font-size:.8rem;background:transparent;color:var(--text);border:1px solid hsla(0,0%,100%,.16);border-radius:8px;padding:10px 18px;box-shadow:none}html.light-mode .header__actions .wallet-button-container>button{border-color:rgba(0,0,0,.16)}.header__nav{overflow-x:auto;scrollbar-width:none}.header__nav::-webkit-scrollbar{display:none}@media (min-width:1401px){.header__username{max-width:110px}}@media (min-width:1601px){.header__username{max-width:150px}}@media (max-width:1700px){.app .header{column-gap:16px}.header__nav{gap:18px}}@media (max-width:1520px){.header__nav{gap:14px}}@media (max-width:1400px){.app .header{grid-template-columns:minmax(0,1fr) auto;row-gap:12px}.header__nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:clamp(14px,2vw,28px);padding:2px 2px 8px;margin:0 -4px}.header__actions{min-width:0}}@media (max-width:480px){.header__wordmark{font-size:1.05rem}.app .header{padding:12px 16px;gap:10px}.header__actions .wallet-button__balance,.header__actions .wallet-button__divider,.header__username{display:none}.header__actions{gap:4px}.header__actions .wallet-button-container>button{padding:8px 10px;font-size:.72rem}.header__nav{margin:0}}@media (max-width:380px){.header__connect-more{display:none}.app .header{padding:10px 12px;column-gap:8px}}@media (max-width:340px){.header__wordmark{display:none}}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:32px clamp(16px,5vw,80px);background:var(--chrome);border-top:1px solid var(--border);color:var(--text-muted);font-size:.85rem;margin-top:auto}.app>.main+.site-footer,.app>main+.site-footer{margin-top:40px}.site-footer__links{display:flex;gap:24px}.site-footer__links a{color:var(--text-muted);text-decoration:none}.site-footer__links a:hover{color:var(--text)}.card{background:var(--card);border:1px solid var(--border);border-radius:14px}.card__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.card__title{font-family:var(--font-display);font-weight:700;font-size:.92rem;letter-spacing:.02em;text-transform:uppercase}.card__title--lg{font-size:1.15rem}.kicker{font-family:var(--font-display);font-size:.68rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted)}.kicker--green{color:var(--accent-green);font-size:.78rem;font-weight:700}.status-dot{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-display);font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.status-dot:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.status-dot--on{color:var(--accent-green)}.status-dot--off{color:var(--text-muted)}.section-title{font-family:var(--font-display);font-weight:800;font-size:1.15rem;text-transform:uppercase;letter-spacing:.01em}.link-btn{background:none;border:0;color:var(--accent-cyan);font-weight:600;font-size:.85rem;cursor:pointer}.link-btn:hover{text-decoration:underline}.skeleton{display:inline-block;width:4.5em;height:.9em;border-radius:6px;background:linear-gradient(90deg,var(--card-2),var(--surface-2),var(--card-2));background-size:200% 100%;animation:skeleton 1.2s linear infinite;vertical-align:middle}@keyframes skeleton{to{background-position:-200% 0}}.state-note{color:var(--text-muted);padding:18px 20px;border:1px dashed var(--border);border-radius:12px}.state-note--error{color:#f9a8b8;background:rgba(244,63,94,.06);border:1px solid rgba(244,63,94,.18)}.app .btn{font-family:var(--font-display);font-weight:700;text-transform:uppercase;letter-spacing:.03em;border-radius:8px}.app .btn--primary{background:var(--brand-500);color:#fff;border:0;box-shadow:0 6px 20px rgba(102,80,244,.28)}.app .btn--primary:hover:not(:disabled){background:var(--brand-400)}.app .btn--primary:disabled{opacity:.45;box-shadow:none}.btn--block{width:100%;justify-content:center;padding:13px 18px}.app .main{align-items:stretch;padding:48px clamp(16px,5vw,80px) 24px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;width:100%;max-width:1280px;margin:0 auto;overscroll-behavior:contain}.play-layout__main{min-width:0}.play-layout__main,.play-layout__side{display:flex;flex-direction:column;gap:24px}.play-layout__wide{grid-column:1/-1;margin-top:24px}.run-stats{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;padding:22px 20px}.run-stats__item{display:flex;align-items:baseline;gap:12px;padding:0 4px}.run-stats__item--center{justify-content:center;border-left:1px solid var(--border);border-right:1px solid var(--border)}.run-stats__item--end{justify-content:flex-end}.run-stats__label{font-family:var(--font-display);font-size:.78rem;font-weight:600;text-transform:uppercase;color:var(--text-muted)}.run-stats__value{font-family:var(--font-display);font-size:1.7rem;font-weight:800;color:var(--text);font-variant-numeric:tabular-nums}.run-stats__value--moves{color:var(--accent-green)}.run-stats__value--time{color:var(--accent-cyan)}.board-card{display:flex;flex-direction:column;align-items:center;gap:22px;padding:32px 24px}.board-card .board{width:min(460px,100%,max(280px,calc(100vh - 330px)));width:min(460px,100%,max(280px,calc(100dvh - 330px)));box-shadow:0 0 0 1px var(--border);border-radius:12px}.board-card .tile{font-family:var(--font-display);border-radius:6px}.board-card .tile--128,.board-card .tile--2048,.board-card .tile--64{text-shadow:0 1px 2px rgba(0,0,0,.35)}.board-card .board-wrapper{width:min(460px,100%,max(280px,calc(100vh - 330px)));width:min(460px,100%,max(280px,calc(100dvh - 330px)))}.board-card .controls{margin:0}.board-card .controls .btn--primary{padding:12px 26px}.board-card .error-banner{width:100%;max-width:460px}.combo-meter{display:flex;align-items:center;justify-content:center;gap:10px;max-width:100%;min-height:30px;padding:5px 14px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);color:var(--text-muted);font-size:.82rem;font-weight:600}.combo-meter__pips{display:inline-flex;gap:4px;flex-shrink:0}.combo-meter__pip{width:8px;height:8px;border-radius:50%;background:var(--border);transition:background .15s}.combo-meter__pip--on{background:var(--brand-400)}.combo-meter__text{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.combo-meter--building{color:var(--text)}.combo-meter--earned{color:#fff;background:var(--brand);border-color:transparent}.combo-meter--earned .combo-meter__pip--on{background:#fff}.climb-card,.standing,.submit-card,.your-stats{padding:24px}.standing__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.standing__value{font-family:var(--font-display);font-size:1.65rem;font-weight:800;margin-top:4px;font-variant-numeric:tabular-nums}.standing__value--rank{color:var(--accent-green)}.standing__note{font-size:.75rem;color:var(--text-muted);margin-top:2px}.submit-card{display:flex;flex-direction:column;gap:14px;border-color:hsla(0,0%,100%,.12)}.submit-card__text{color:var(--text-muted);line-height:1.5;font-size:.95rem}.submit-card__text strong{color:var(--text)}.submit-card .controls{margin:0;width:100%;flex-direction:column;align-items:stretch}.submit-card .controls:empty{display:none}.submit-card .controls .btn{width:100%;justify-content:center;padding:13px 18px;background:var(--brand-500);color:#fff;border:0}.submit-card .controls__hint{text-align:left}.podium-teaser__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px}.podium-teaser__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.podium-card{display:flex;align-items:center;gap:12px;padding:18px 16px;background:var(--card-2);border-radius:12px;min-height:68px;min-width:0}.podium-card--loading{justify-content:center}.podium-card__who{display:flex;flex-direction:column;min-width:0;flex:1}.podium-card__name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.podium-card__sub{font-size:.78rem;color:var(--text-muted)}.podium-card__xp{color:var(--accent-cyan);font-weight:700;white-space:nowrap}.podium-card__xp,.rank-chip{font-family:var(--font-display)}.rank-chip{font-weight:800;font-size:.72rem;padding:3px 8px;border-radius:4px;color:#111}.rank-chip--1{background:var(--gold)}.rank-chip--2{background:var(--silver)}.rank-chip--3{background:var(--bronze)}@media (max-width:960px){.play-layout{grid-template-columns:1fr;gap:20px}.play-layout__wide{margin-top:4px}.podium-teaser__grid{grid-template-columns:1fr}}@media (max-width:560px){.app .main{padding:20px 12px 12px}.run-stats{padding:14px 8px}.run-stats__item{flex-direction:column;align-items:center;gap:2px}.run-stats__item--end{justify-content:center}.run-stats__value{font-size:1.25rem}.board-card{padding:14px 10px 18px}.board-card .board{--gap:8px}}.page{width:100%;max-width:1280px;margin:0 auto}.page__hero{margin-bottom:36px}.page__title{font-family:var(--font-display);font-size:clamp(1.5rem,min(9vw,max(2.2rem,5vw)),3.2rem);overflow-wrap:anywhere;font-weight:900;text-transform:uppercase;letter-spacing:.005em;line-height:1}.page__lede{color:var(--text-muted);margin-top:14px;max-width:360px;line-height:1.5}.lb-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;align-items:start}.lb-layout__side{display:flex;flex-direction:column;gap:24px}.lb-layout__note{color:var(--text-muted);font-size:.8rem;margin:-10px 0 16px}.seg-tabs{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap}.seg-tabs__tab{font-family:var(--font-display);font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:10px 20px;border-radius:8px;border:1px solid var(--border);background:#fff;color:#333;cursor:pointer}.seg-tabs__tab:disabled{opacity:.5;cursor:not-allowed}.seg-tabs__tab--active{background:var(--brand-500);color:#fff;border-color:var(--brand-500)}.your-stats__row{margin-top:18px}.your-stats__value{font-family:var(--font-display);font-size:1.6rem;font-weight:800;color:var(--accent-cyan);margin-top:2px}.climb-card{display:flex;flex-direction:column;gap:10px;background:transparent;border-color:hsla(0,0%,100%,.14)}.climb-card__title{font-family:var(--font-display);font-size:1.45rem;font-weight:800;color:var(--text-muted);margin-bottom:10px}.lb-layout .username-editor,.lb-layout__side>:not(.card){width:100%}.lb-layout .leaderboard{width:100%;max-width:none;padding:0;background:transparent;border:0;box-shadow:none}.lb-layout .leaderboard__list-header,.lb-layout .leaderboard__podium,.lb-layout .leaderboard__separator,.lb-layout .leaderboard__title,.leaderboard__cols{display:none}.lb-layout .leaderboard__cols{display:grid;grid-template-columns:72px minmax(0,1fr) 120px;gap:12px;padding:16px 24px;background:var(--card);border-bottom:1px solid var(--border);border:1px solid var(--border);border-bottom:1px solid hsla(0,0%,100%,.5);border-radius:14px 14px 0 0;font-family:var(--font-display);font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.lb-layout .leaderboard__cols span:last-child{text-align:right}.lb-layout .leaderboard__list{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-top:0;border-radius:0 0 14px 14px;overflow:hidden;background:var(--card)}.lb-layout .leaderboard__entry{display:grid;grid-template-columns:72px 40px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:14px 24px;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;margin:0;box-shadow:none}.lb-layout .leaderboard__entry:last-child{border-bottom:0}.lb-layout .leaderboard__rank{font-family:var(--font-display);color:var(--text-muted);font-weight:600}.lb-layout .leaderboard__score{font-family:var(--font-display);font-weight:700;text-align:right;min-width:108px;font-variant-numeric:tabular-nums}.lb-layout .leaderboard__addr{display:none}.lb-layout .leaderboard__entry--top .leaderboard__rank{font-weight:800;color:#111}.lb-layout .leaderboard__entry--top .leaderboard__name{font-weight:700}.lb-layout .leaderboard__entry--top{--band:96px}.lb-layout .leaderboard__entry--rank-1{background:linear-gradient(90deg,#fad54a var(--band),rgba(250,213,74,.12) var(--band))}.lb-layout .leaderboard__entry--rank-2{background:linear-gradient(90deg,#d08a4c var(--band),rgba(208,138,76,.12) var(--band))}.lb-layout .leaderboard__entry--rank-3{background:linear-gradient(90deg,#c9cdd4 var(--band),rgba(201,205,212,.1) var(--band))}.lb-layout .leaderboard__entry--rank-1 .leaderboard__score{color:var(--gold)}.lb-layout .leaderboard__entry--rank-2 .leaderboard__score{color:#f0a35e}.lb-layout .leaderboard__entry--current-user{box-shadow:inset 3px 0 0 var(--brand-500)}html.light-mode .lb-layout .leaderboard__entry--top{background-blend-mode:normal}html.light-mode .lb-layout .leaderboard__entry--rank-1,html.light-mode .lb-layout .leaderboard__entry--rank-2,html.light-mode .lb-layout .leaderboard__entry--rank-3{--row-end:var(--surface)}@media (max-width:960px){.lb-layout{grid-template-columns:minmax(0,1fr);gap:24px}}@media (max-width:560px){.lb-layout .leaderboard__cols{grid-template-columns:44px minmax(0,1fr) 80px;padding:12px 14px}.lb-layout .leaderboard__entry{grid-template-columns:44px 32px minmax(0,1fr) auto;padding:12px 14px;gap:8px}.lb-layout .leaderboard__actions{display:none}.lb-layout .leaderboard__score{min-width:0}.lb-layout .leaderboard__entry--top{--band:58px}}@media (max-width:380px){.lb-layout .leaderboard__cols,.lb-layout .leaderboard__entry{grid-template-columns:34px minmax(0,1fr) auto;padding:10px;gap:6px}.lb-layout .leaderboard__entry--top{--band:44px}.lb-layout .leaderboard__avatar-sm{display:none}.lb-layout .leaderboard__score{font-size:.82rem}.seg-tabs{gap:8px}.seg-tabs__tab{padding:8px 12px}}.page__lede--wide{max-width:640px}.page__body--center{display:flex;justify-content:center}.page__body--center>*{width:100%;max-width:820px}.app .main>.screen{align-self:center}.bounty-page__title{font-family:var(--font-display);font-size:clamp(1.5rem,min(9vw,max(2.2rem,5vw)),3.2rem);overflow-wrap:anywhere;font-weight:900;text-transform:uppercase;text-align:left;line-height:1}.shop2{width:100%}.shop2__hero{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px;flex-wrap:wrap}.shop2__balance{display:inline-flex;align-items:center;gap:10px;padding:12px 22px;border-radius:999px;background:var(--brand-500);color:#fff;font-family:var(--font-display);font-weight:800;font-size:1.05rem;box-shadow:0 8px 24px rgba(102,80,244,.3);white-space:nowrap}.shop2__balance .shop-card__coin{color:#fff;width:18px;height:18px}.shop2__bar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:24px}.shop2__bar .seg-tabs{margin-bottom:0}.shop2__chips{display:flex;gap:10px}.shop2__chip{font-size:.8rem;color:var(--text-muted);background:var(--card);border:1px solid var(--border);border-radius:999px;padding:6px 12px}.shop2__chip strong{color:var(--text);font-family:var(--font-display);margin-left:4px}.shop2__grid{--gap:24px;--cols:1;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--gap)}.shop2__grid>*{flex:0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols))}.shop2__grid--3{--cols:4}.shop2__grid--4{--cols:5}.shop__wallet-note{margin:0 0 20px;padding:12px 16px;border-radius:12px;border:1px solid var(--border);background:var(--card);color:var(--text-muted);font-size:.88rem;line-height:1.5}.shop2 .shop__error,.shop2 .shop__ubi-confirmed,.shop2 .shop__ubi-note{margin:0 0 20px}.shop2 .shop__error,.shop2 .shop__ubi-confirmed{margin:20px 0 0}.shop-card{display:flex;flex-direction:column;background:var(--card-2);border:1px solid var(--border);border-radius:14px;overflow:hidden;min-width:0}.shop-card--sm{background:var(--card)}.shop-card__media{position:relative;display:flex;align-items:center;justify-content:center;height:160px;background:radial-gradient(120% 90% at 50% 40%,rgba(102,80,244,.22),transparent 60%),#07080b}html.light-mode .shop-card__media{background:radial-gradient(120% 90% at 50% 40%,rgba(102,80,244,.16),transparent 60%),#ede9fe}@media (prefers-color-scheme:light){:root:not(.dark-mode) .shop-card__media{background:radial-gradient(120% 90% at 50% 40%,rgba(102,80,244,.16),transparent 60%),#ede9fe}}.shop-card__media .shop-icon{filter:drop-shadow(0 8px 18px rgba(0,0,0,.45))}.shop-card__badge{position:absolute;top:14px;left:14px;font-family:var(--font-display);font-size:.62rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:3px 7px;border-radius:4px;border:1px solid;background:rgba(7,8,11,.6)}.shop-card__badge--active{color:#4ade80}.shop-card__badge--owned{color:#c4b8fa}.shop-card__badge--info{color:#67e8f9}.shop-card__badge--muted{color:#9aa1b2}.shop-card__body{display:flex;flex-direction:column;gap:6px;padding:20px;flex:1}.shop-card__name{font-family:var(--font-display);font-size:1.2rem;font-weight:800}.shop-card__price{display:flex;align-items:center;gap:6px;color:var(--accent-green);font-family:var(--font-display);font-weight:700;font-size:.92rem;text-transform:uppercase}.shop-card__coin{color:currentColor;flex-shrink:0}.shop-card__ubi{font-size:.72rem;color:var(--text-muted)}.shop-card__desc{color:var(--text-muted);font-size:.88rem;line-height:1.45;margin-top:4px}.shop-card__status{font-size:.78rem;color:var(--accent-cyan)}.shop-card__actions{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:14px}.shop-card__btn{flex:1;font-family:var(--font-display);font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;padding:12px 16px;border-radius:8px;border:0;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;min-height:42px}.shop-card__btn--approve,.shop-card__btn--buy{background:var(--brand-500);color:#fff}.shop-card__btn--approve:hover:not(:disabled),.shop-card__btn--buy:hover:not(:disabled){background:var(--brand-400)}.shop-card__btn--owned{background:#d5d7dd;color:#4b5060;cursor:default}.shop-card__btn--disabled{background:var(--surface-2);color:var(--text-muted);cursor:not-allowed}.shop-card__btn:disabled:not(.shop-card__btn--owned){opacity:.75}.seg-tabs__tab:focus-visible,.shop-card__btn:focus-visible{outline:2px solid var(--brand-400);outline-offset:2px}.shop-card__qty{display:flex;align-items:center;gap:6px;font-size:.72rem;color:var(--text-muted);text-transform:uppercase}.shop-card__qty input{width:52px;padding:9px 6px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);text-align:center}@media (max-width:1279px){.shop2__grid--3{--cols:2}.shop2__grid--4{--cols:3}}@media (max-width:900px){.shop2__grid--4{--cols:2}}@media (max-width:560px){.shop2__grid--3,.shop2__grid--4{--cols:1;--gap:16px}.shop2__hero{flex-direction:column;gap:16px}.shop-card__media{height:140px}}.profile2{display:flex;flex-direction:column;gap:24px}.profile2__head{justify-content:space-between;gap:20px;flex-wrap:wrap}.profile2__head,.profile2__who{display:flex;align-items:center}.profile2__who{gap:18px;min-width:0}.profile2__avatar{width:72px;height:72px;flex:none;border-radius:12px;border:2px solid hsla(0,0%,100%,.12);display:flex;align-items:center;justify-content:center;color:#fff;font-family:var(--font-display);font-weight:800;font-size:1.9rem;box-shadow:0 8px 24px rgba(0,0,0,.25)}.profile2__id{min-width:0}.profile2__name{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0;font-family:var(--font-display);font-weight:800;font-size:clamp(1.4rem,3vw,1.85rem);line-height:1.1;overflow-wrap:anywhere}.profile2__verified{font-family:var(--font-display);font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--accent-green);background:rgba(74,222,128,.12);border:1px solid rgba(74,222,128,.3);border-radius:999px;padding:3px 10px}.profile2__wallet{display:flex;align-items:center;gap:6px;margin:6px 0 0;color:var(--text-muted);font-size:.85rem}.profile2__addr{color:var(--accent-cyan);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82rem}.profile2__copy{background:transparent;border:1px solid var(--border);color:var(--text-muted);border-radius:6px;font-size:.72rem;padding:2px 8px;cursor:pointer}.profile2__copy:hover{color:var(--text)}.profile2__edit,.profile2__share{font-family:var(--font-display);font-weight:700;font-size:.8rem;letter-spacing:.05em;text-transform:uppercase;background:var(--brand-500);color:#fff;border:0;border-radius:8px;padding:12px 22px;cursor:pointer;box-shadow:0 8px 20px rgba(102,80,244,.28)}.profile2__edit:hover,.profile2__share:hover{background:var(--brand-400)}.profile2__copy:focus-visible,.profile2__edit:focus-visible,.profile2__link-copy:focus-visible,.profile2__share:focus-visible{outline:2px solid var(--brand-400);outline-offset:3px}.profile2__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.profile2__stat{padding:20px 22px;min-width:0}.profile2__stat-value{font-family:var(--font-display);font-weight:800;font-size:clamp(1.5rem,2.6vw,2rem);line-height:1.15;margin:10px 0 6px;color:var(--text);overflow-wrap:anywhere}.profile2__stat-value--accent{color:var(--accent-green)}.profile2__stat-value--empty{color:var(--text-muted);font-size:clamp(1.1rem,2vw,1.3rem)}.profile2__stat-note{color:var(--text-muted);font-size:.8rem;margin:0}.profile2__more.stat-cards-grid{grid-template-columns:repeat(5,minmax(0,1fr));padding:0;gap:12px}.profile2__more .stat-card{background:var(--card);box-shadow:none;border-radius:12px;min-height:0;padding:14px 16px;gap:4px}.profile2__more .stat-card__label{font-family:var(--font-display);font-size:.66rem;letter-spacing:.05em}.profile2__more .stat-card__value{font-family:var(--font-display);font-size:1.15rem;font-weight:700}.profile2__body{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:24px;align-items:start;margin-top:16px}.profile2__body--single{grid-template-columns:minmax(0,1fr)}.profile2__runs{padding:0;overflow:hidden}.profile2__runs-title{padding:20px 22px 16px;margin:0;border-bottom:2px solid var(--border)}.profile2__table-wrap{overflow-x:auto}.profile2__table{width:100%;border-collapse:collapse;font-size:.85rem}.profile2__table th{text-align:left;padding:12px 22px;font-family:var(--font-display);font-size:.66rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);border-bottom:1px solid var(--border);white-space:nowrap}.profile2__table th:nth-child(n+4){text-align:right}.profile2__table td{padding:14px 22px;border-bottom:1px solid var(--border)}.profile2__runs-empty{color:var(--text-muted);text-align:center;line-height:1.55;padding:36px 22px!important;border-bottom:0!important}.profile2__runs-empty strong{display:block;color:var(--text);font-family:var(--font-display);margin-bottom:4px}.profile2__invite{padding:22px;display:flex;flex-direction:column;gap:14px}.profile2__invite .card__title{margin:0}.profile2__invite-copy{color:var(--text-muted);font-size:.88rem;line-height:1.5;margin:0}.profile2__link{display:flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:8px 8px 8px 14px}.profile2__link-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;color:var(--text-muted)}.profile2__link-copy{flex:none;background:var(--card-2);color:var(--text);border:1px solid var(--border);border-radius:6px;font-size:.74rem;font-weight:600;padding:6px 12px;cursor:pointer}.profile2__share{width:100%}.profile2__referrals{margin:0;font-size:.8rem;color:var(--text-muted);text-align:center}html.light-mode .profile2__avatar{border-color:rgba(0,0,0,.08);box-shadow:0 6px 16px rgba(0,0,0,.12)}html.light-mode .profile2__link{background:var(--surface-2)}@media (max-width:1000px){.profile2__more.stat-cards-grid,.profile2__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile2__more.stat-cards-grid>.stat-card:last-child:nth-child(odd){grid-column:1/-1}.profile2__body{grid-template-columns:minmax(0,1fr)}}@media (max-width:560px){.profile2__head{align-items:flex-start}.profile2__avatar{width:56px;height:56px;font-size:1.5rem}.profile2__edit{width:100%}.profile2__stats{gap:12px}.profile2__stat{padding:16px}.profile2__table td,.profile2__table th{padding-left:14px;padding-right:14px}}.bounty-card__kicker{margin:0 0 6px;font-family:var(--font-display);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-400)}.bounty-ended{opacity:1}.bounty-ended .bounty-card__description{color:var(--text-muted);margin:0 0 16px}.bounty-ended .bounty-card__info{margin-bottom:18px}.bounty-standings--final .bounty-card__section-title{color:var(--accent-green)}.bounty-standings--final .bounty-leaderboard__list{margin-bottom:10px}.bounty-winner__avatar{background:linear-gradient(135deg,var(--brand-500),var(--brand-400))}.bounty-winner--1 .bounty-winner__avatar{background:linear-gradient(135deg,#f5c542,#facc15);color:#1a1d29}.bounty-winner--2 .bounty-winner__avatar{background:linear-gradient(135deg,#94a3b8,#cbd5e1);color:#1a1d29}.bounty-winner--3 .bounty-winner__avatar{background:linear-gradient(135deg,#b8733f,#d08a4c)}.bounty-winner__unnamed{color:var(--text-muted);font-style:italic}.bounty-standings__note{margin:6px 0 0;font-size:.8rem;color:var(--text-muted);line-height:1.5}.bounty-page__note{margin:-8px 0 20px;color:var(--text-muted);font-size:.95rem;line-height:1.5}.bounty-leaderboard__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bounty-card.bounty-card--ended{opacity:1}.bounty-card--ended .bounty-card__badge{background:var(--surface-2);color:var(--text-muted)}@media (max-width:768px){.bounty-ended .bounty-card__header{flex-direction:column;align-items:flex-start}.bounty-ended{padding:16px}}@media (max-width:560px){.bounty-card__info{flex-direction:column;gap:12px}.bounty-leaderboard__entry{gap:8px}}@media (max-width:380px){.bounty-leaderboard__avatar{display:none}.bounty-leaderboard__rank{min-width:40px}.bounty-card,.bounty-ended{padding:14px}}.header__actions .icon-btn--ghost,.header__actions .theme-toggle{width:36px;height:36px;border-radius:8px;color:var(--text-muted);font-size:0;transform:none}.header__actions .icon-btn--ghost:hover,.header__actions .theme-toggle:hover{color:var(--text);background:hsla(0,0%,50%,.12);transform:none;box-shadow:none}.header__actions .icon-btn--ghost:focus-visible,.header__actions .theme-toggle:focus-visible,.header__connect:focus-visible{outline:2px solid var(--brand-400);outline-offset:2px}.theme-toggle--placeholder{display:inline-block;visibility:hidden}.header__connect{display:inline-flex;align-items:center;white-space:nowrap;text-decoration:none;font-family:var(--font-display);font-weight:600;letter-spacing:.04em;text-transform:uppercase;font-size:.8rem;color:var(--text);border:1px solid hsla(0,0%,100%,.16);border-radius:8px;padding:10px 18px}.header__connect:hover{border-color:var(--brand-400);color:var(--brand-400)}html.light-mode .header__connect{border-color:rgba(0,0,0,.16)}@media (prefers-color-scheme:light){:root:not(.dark-mode) .header__connect{border-color:rgba(0,0,0,.16)}}@media (max-width:480px){.header__connect{padding:8px 10px;font-size:.72rem}}.shop-card__media--art{padding:0;overflow:hidden;background:#07080b}html.light-mode .shop-card__media--art{background:#07080b}@media (prefers-color-scheme:light){:root:not(.dark-mode) .shop-card__media--art{background:#07080b}}.shop-card__art{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.shop-card__media--art .shop-card__badge{z-index:1}.shop-card__art--contain{object-fit:contain}.shop-card__media--contain,html.light-mode .shop-card__media--contain{background:#000}@media (prefers-color-scheme:light){:root:not(.dark-mode) .shop-card__media--contain{background:#000}}@media (orientation:landscape) and (max-height:500px) and (max-width:960px){.app .header{position:static;padding-block:8px;row-gap:6px}.app .main{padding-top:12px}.play-layout__main{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto auto 1fr;column-gap:20px;row-gap:12px;align-items:start}.play-layout__main>.board-card{display:contents}.board-card>.board-wrapper{grid-column:1;grid-row:1/-1;width:min(460px,calc(100vh - 24px));width:min(460px,calc(100dvh - 24px))}.board-card>.board-wrapper .board{width:100%}.board-card>:not(.board-wrapper),.play-layout__main>.run-stats{grid-column:2}.run-stats{grid-template-columns:1fr;row-gap:8px;padding:12px 14px}.run-stats__item,.run-stats__item--center,.run-stats__item--end{flex-direction:row;justify-content:space-between;align-items:baseline;gap:8px;padding:0;border:0}.run-stats__value{font-size:1.15rem}.board-card .controls,.combo-meter{justify-content:flex-start}.combo-meter{border-radius:14px}.combo-meter__text{white-space:normal}}:root{--tone-success:#047857;--tone-error:#c81e4a;--tone-warning:#b45309;--tone-info:#01616e;--tone-feature:#6650f4}@media (prefers-color-scheme:dark){:root:not(.light-mode){--tone-success:#4ade80;--tone-error:#f87171;--tone-warning:#fbbf24;--tone-info:#67e8f9;--tone-feature:#a78bfa}}html.dark-mode{--tone-success:#4ade80;--tone-error:#f87171;--tone-warning:#fbbf24;--tone-info:#67e8f9;--tone-feature:#a78bfa}.notice{--tone:var(--tone-info);display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-radius:12px;background:color-mix(in srgb,var(--tone) 7%,transparent);border:1px solid color-mix(in srgb,var(--tone) 35%,var(--border));color:var(--text);font-family:Inter,system-ui,sans-serif;font-size:.875rem;line-height:1.45;text-align:left}.notice--success{--tone:var(--tone-success)}.notice--error{--tone:var(--tone-error)}.notice--warning{--tone:var(--tone-warning)}.notice--info{--tone:var(--tone-info)}.notice--feature{--tone:var(--tone-feature)}.notice--floating{background:var(--chrome);box-shadow:var(--shadow-lg);pointer-events:auto}.notice__icon{flex:none;display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;color:var(--tone);background:color-mix(in srgb,var(--tone) 14%,transparent)}.notice__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;padding-top:4px}.notice__title{margin:0;font-family:var(--font-display);font-size:.78rem;font-weight:700;line-height:1.3;letter-spacing:.04em;text-transform:uppercase;color:var(--tone)}.notice__message{margin:0;color:var(--text);overflow-wrap:anywhere}.notice__message p{margin:0}.notice__message a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}.notice__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.notice__actions .btn{font-family:var(--font-display);font-size:.75rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:7px 14px;min-width:auto;border:0;border-radius:8px;background:var(--brand-500);color:#fff;box-shadow:none}.notice__actions .btn:hover:not(:disabled){background:var(--brand-400);transform:none;box-shadow:none}.notice__actions .btn:disabled{opacity:.55;cursor:not-allowed}.notice__close{flex:none;display:inline-grid;place-items:center;width:28px;height:28px;margin:0 -6px 0 0;border:0;border-radius:8px;background:transparent;color:var(--text-muted);cursor:pointer}.notice__close:hover{color:var(--text);background:color-mix(in srgb,var(--text) 8%,transparent)}.notice__actions .btn:focus-visible,.notice__close:focus-visible{outline:2px solid var(--brand-400);outline-offset:2px}@media (pointer:coarse){.notice__close{width:36px;height:36px;margin:-4px -10px -4px 0}}.toast-container{position:fixed;top:16px;right:16px;z-index:9999;display:flex;flex-direction:column;gap:8px;width:min(380px,calc(100vw - 32px));pointer-events:none}.toast-container>.notice{animation:slideIn .3s ease-out}.feature-notification{position:fixed;bottom:20px;left:20px;z-index:8000;width:min(360px,calc(100vw - 40px));animation:slideInUp .3s ease-out}.network-guard-banner{position:fixed;top:0;left:0;right:0;z-index:9999;padding:12px 16px;pointer-events:none}.network-guard-banner__content{max-width:720px;margin:0 auto}.chain-banner{width:100%;max-width:480px}.signin-error-box{margin-bottom:16px}.wallet-list-error{margin-bottom:12px}.shop__error,.shop__ubi-confirmed{margin-top:12px}@media (max-width:768px){.feature-notification{left:12px;right:12px;bottom:12px;width:auto}}@media (max-width:480px){.toast-container{top:12px;right:12px;width:calc(100vw - 24px)}.network-guard-banner{padding:8px 12px}}.state-note--error{color:var(--tone-error);background:color-mix(in srgb,var(--tone-error) 7%,transparent);border:1px solid color-mix(in srgb,var(--tone-error) 35%,var(--border))}.htp-label__icon{vertical-align:-2px;margin-right:4px}.game-overlay__icon{vertical-align:-3px;margin-right:6px}html.light-mode{--bg:#f9fafb;--surface:#fff;--surface-2:#e5e7eb;--board:#e5e7eb;--cell:#f3f4f6;--text:#101827;--text-muted:#5b6473;--border:#d1d5db;--line-strong:#8d9bb0;--line-row:#b9bdc1;--brand:#6650f4;--brand-rgb:102,80,244;--accent:#6650f4;--brand-400:#5a43e8;--accent-green:#047857;--accent-cyan:#01616e;--green:#047857;--success:#047857;--danger-text:#c81e4a;--error:#c81e4a;--chrome:#fff;--card:#f3f4f6;--card-2:#f3f4f6;--cell-well:#e5e7eb;--t2:#6c4eff;--t2-fg:#fff;--t4:#c3b6fd;--t4-fg:#1e1b4b;--t8:#1d40ae;--t8-fg:#fff;--t16:#3e55d6;--t16-fg:#fff;--t32:#7058f2;--t32-fg:#fff;--t64:#ffeb3b;--t64-fg:#101827;--t128:#f5c542;--t128-fg:#101827;--t256:#0e7490;--t256-fg:#fff;--t512:#047857;--t512-fg:#fff;--t1024:#5b21b6;--t1024-fg:#fff;--t2048:#ffeb3b;--t2048-fg:#101827}@media (prefers-color-scheme:light){:root:not(.dark-mode){--bg:#f9fafb;--surface:#fff;--surface-2:#e5e7eb;--board:#e5e7eb;--cell:#f3f4f6;--text:#101827;--text-muted:#5b6473;--border:#d1d5db;--line-strong:#8d9bb0;--line-row:#b9bdc1;--brand:#6650f4;--brand-rgb:102,80,244;--accent:#6650f4;--brand-400:#5a43e8;--accent-green:#047857;--accent-cyan:#01616e;--green:#047857;--success:#047857;--danger-text:#c81e4a;--error:#c81e4a;--chrome:#fff;--card:#f3f4f6;--card-2:#f3f4f6;--cell-well:#e5e7eb;--t2:#6c4eff;--t2-fg:#fff;--t4:#c3b6fd;--t4-fg:#1e1b4b;--t8:#1d40ae;--t8-fg:#fff;--t16:#3e55d6;--t16-fg:#fff;--t32:#7058f2;--t32-fg:#fff;--t64:#ffeb3b;--t64-fg:#101827;--t128:#f5c542;--t128-fg:#101827;--t256:#0e7490;--t256-fg:#fff;--t512:#047857;--t512-fg:#fff;--t1024:#5b21b6;--t1024-fg:#fff;--t2048:#ffeb3b;--t2048-fg:#101827}}html.light-mode .app .header{border-bottom-color:var(--line-strong)}html.light-mode .site-footer{border-top-color:#e5e7eb}html.light-mode .header__actions>.btn{border-color:rgba(0,0,0,.16)}html.light-mode .card,html.light-mode .climb-card,html.light-mode .podium-card,html.light-mode .shop-card,html.light-mode .submit-card{border:1px solid var(--line-strong)}html.light-mode .climb-card{background:transparent}html.light-mode .board-card .board{box-shadow:0 0 0 1px var(--line-strong)}html.light-mode .board-card .tile--128,html.light-mode .board-card .tile--2048,html.light-mode .board-card .tile--64{text-shadow:none}html.light-mode .run-stats__item--center{border-color:var(--line-row)}html.light-mode .signin-input-icon{color:var(--text-muted)}html.light-mode .state-note--error{color:var(--danger-text);background:rgba(200,30,74,.06);border-color:rgba(200,30,74,.3)}html.light-mode .app .btn--primary{box-shadow:0 6px 16px rgba(102,80,244,.22)}html.light-mode .app .btn--primary:disabled{opacity:.55}html.light-mode .seg-tabs__tab{background:#fff;color:var(--text);border-color:var(--border)}html.light-mode .seg-tabs__tab--active{background:var(--brand-500);color:#fff;border-color:var(--brand-500)}html.light-mode .lb-layout .leaderboard__cols{border-color:var(--line-strong);border-bottom-color:var(--line-row)}html.light-mode .lb-layout .leaderboard__list{border-color:var(--line-strong)}html.light-mode .lb-layout .leaderboard__entry{border-bottom-color:var(--line-row)}html.light-mode .lb-layout .leaderboard__entry--rank-1{background:linear-gradient(90deg,#fad54a var(--band),rgba(250,213,74,.16) var(--band))}html.light-mode .lb-layout .leaderboard__entry--rank-2{background:linear-gradient(90deg,#d08a4c var(--band),rgba(208,138,76,.14) var(--band))}html.light-mode .lb-layout .leaderboard__entry--rank-3{background:linear-gradient(90deg,#c9cdd4 var(--band),rgba(201,205,212,.22) var(--band))}html.light-mode .lb-layout .leaderboard__entry--top .leaderboard__rank{color:#101827}html.light-mode .lb-layout .leaderboard__entry--rank-1 .leaderboard__score{color:#a16207}html.light-mode .lb-layout .leaderboard__entry--rank-2 .leaderboard__score{color:#b45309}html.light-mode .profile2__runs-title,html.light-mode .profile2__table td,html.light-mode .profile2__table th{border-bottom-color:var(--line-row)}html.light-mode .profile2__more .stat-card{border:1px solid var(--line-strong)}html.light-mode .profile2__verified{background:rgba(4,120,87,.08);border-color:rgba(4,120,87,.3)}html.light-mode .profile2__link,html.light-mode .profile2__link-copy{background:#fff}html.light-mode .shop-card--sm{background:var(--card)}html.light-mode .shop2__chip{background:#fff}html.light-mode .shop-card__qty input{background:#fff;border-color:var(--border)}html.light-mode .htp2 .card,html.light-mode .stats2 .card,html.light-mode .stats2 .stats-chart{background:#fff}