.t-classic{--bg: #f0eeea;--surface: #ffffff;--track: #e2dfd9;--text: #1a1816;--muted: #635f58;--muted2: #55504a;--faint: #8a857d;--dash: #b3ada4;--icon-off: #ccc7bf;--hero: #1a1816;--on-hero: #ffffff;--hero-muted: #bfb9b0;--btn: #1a1816;--on-btn: #ffffff;--p1: #6b3cf0;--on-p1: #ffffff;--p2: #d61f74;--on-p2: #ffffff;--p3: #c8f04b;--on-p3: #1a1816;--p4: #3fd8f0;--on-p4: #1a1816;--accent-light: #d9ccff;--accent-light-deep: #c4b3fa;--on-accent-light: #1a1816;--accent-dark: #1d3a9e;--accent-dark-deep: #172f82;--on-accent-dark: #ffffff;--timer: var(--accent-dark);--timer-deep: var(--accent-dark-deep);--on-timer: var(--on-accent-dark);--tag: #ffdcd9;--on-tag: #b3161b;--solving: #0f8a5f;--live: #1a1816;--alert: #e0261b;--on-alert: #ffffff;--done: #0f8a5f;--on-done: #ffffff;--danger: #e0261b;--on-danger: #ffffff;--wait: #45403a}.t-volt{--bg: #2b2a2d;--surface: #171815;--track: #3b3a3f;--text: #f5f6ee;--muted: #a8a79c;--muted2: #b8b7ac;--faint: #85847b;--dash: #55545a;--icon-off: #46473f;--hero: #0f100d;--on-hero: #f59be8;--hero-muted: #8d9080;--btn: #f5f6ee;--on-btn: #12130f;--p1: #e4ff3a;--on-p1: #12130f;--p2: #ec3a3f;--on-p2: #ffffff;--p3: #8b45e8;--on-p3: #ffffff;--p4: #2f6bf5;--on-p4: #ffffff;--accent-light: #f59be8;--accent-light-deep: #ea84dc;--on-accent-light: #12130f;--accent-dark: #0f8a5f;--accent-dark-deep: #0b734f;--on-accent-dark: #ffffff;--timer: var(--accent-light);--timer-deep: var(--accent-light-deep);--on-timer: var(--on-accent-light);--tag: #ff9330;--on-tag: #12130f;--solving: #f59be8;--live: #f59be8;--alert: #ff9330;--on-alert: #12130f;--done: #0f8a5f;--on-done: #ffffff;--danger: #ff9330;--on-danger: #12130f;--wait: #c9c8be}@font-face{font-family:Bricolage;src:url(/fonts/bricolage.woff2) format("woff2");font-weight:400 800;font-display:swap}@font-face{font-family:JetBrains;src:url(/fonts/jetbrains.woff2) format("woff2");font-weight:400 800;font-display:swap}:root{--ease-out: cubic-bezier(.23, 1, .32, 1);--ease-in-out: cubic-bezier(.77, 0, .175, 1);--ease-drawer: cubic-bezier(.32, .72, 0, 1)}*{box-sizing:border-box}html{scrollbar-gutter:stable;background:var(--bg, #f0eeea);color:var(--text, #1a1816);font-family:Bricolage,system-ui,-apple-system,PingFang SC,sans-serif;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}input,textarea{user-select:text;-webkit-user-select:text}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:0;color:inherit;background:none;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.45}button,input,a{touch-action:manipulation}button:focus-visible,input:focus-visible{outline:3px solid var(--live);outline-offset:3px}button{transition:filter .15s ease,transform .16s var(--ease-out)}@media(hover:hover)and (pointer:fine){button:hover:not(:disabled){filter:brightness(.96)}}button:active:not(:disabled){transform:scale(.97)}.page{display:contents}.thumb{position:absolute;transition:transform .25s var(--ease-in-out)}.thumb~button{position:relative;transition:color .25s var(--ease-in-out),filter .15s ease,transform .16s var(--ease-out)}input{min-width:0;width:100%;border:0;background:var(--bg);color:var(--text);border-radius:16px;padding:0 16px;height:48px;font-size:18px;font-weight:700}input::placeholder{color:var(--faint)}h1,h2,h3,p{margin:0}h2{font-size:18px;font-weight:800}h3{font-size:16px}small{font-size:12px}svg{flex-shrink:0}a{color:inherit}strong,b{font-weight:800}[hidden]{display:none!important}.app{width:100%;max-width:470px;min-height:100svh;margin:auto;display:flex;flex-direction:column;gap:12px;padding:max(20px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom));position:relative}.header{display:flex;align-items:center;justify-content:space-between;min-height:44px;gap:8px;flex-shrink:0}.header-spacer{width:44px}.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;letter-spacing:-.02em}.brand-mark{display:grid;grid-template-columns:1fr 1fr;width:30px;height:30px;gap:3px}.brand-mark i{border-radius:6px}.theme-switch{position:relative;display:flex;gap:2px;padding:4px;border-radius:999px;background:var(--surface)}.theme-switch button{width:36px;height:36px;border-radius:50%;display:grid;place-items:center}.theme-switch .thumb{border-radius:50%;background:var(--track)}.swatch{display:block;width:18px;height:18px;border-radius:50%}.swatch.classic{background:linear-gradient(135deg,#d9ccff 50%,#1d3a9e 50%)}.swatch.volt{background:linear-gradient(135deg,#f59be8 50%,#0f8a5f 50%)}.icon-button{display:grid;place-items:center;min-width:44px;width:44px;height:44px;background:var(--surface);border-radius:50%}.card{background:var(--surface);border-radius:28px;padding:16px}.inline{display:flex;align-items:center;gap:10px}.avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:20px;font-weight:800}.color-1{background:var(--p1);color:var(--on-p1);--player: var(--p1);--on-player: var(--on-p1)}.color-2{background:var(--p2);color:var(--on-p2);--player: var(--p2);--on-player: var(--on-p2)}.color-3{background:var(--p3);color:var(--on-p3);--player: var(--p3);--on-player: var(--on-p3)}.color-4{background:var(--p4);color:var(--on-p4);--player: var(--p4);--on-player: var(--on-p4)}.accent-light{background:var(--accent-light);color:var(--on-accent-light)}.accent-dark{background:var(--accent-dark);color:var(--on-accent-dark)}.inverse{background:var(--on-player);color:var(--player);width:40px;height:40px;font-size:18px}.mono{font-family:JetBrains,monospace;font-variant-numeric:tabular-nums}.hero{position:relative;overflow:hidden;background:var(--accent-light);color:var(--on-accent-light);border-radius:32px;padding:24px;min-height:300px;display:flex;flex-direction:column;justify-content:space-between}.hero h1{font-size:44px;line-height:.98;letter-spacing:-.035em;font-weight:800;max-width:280px;position:relative}.hero-cube{position:absolute;right:-86px;top:-46px;transform:rotate(14deg);display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:276px}.hero-cube i{height:84px;border-radius:20px;background:#ffffff59;animation:tile-in .5s var(--ease-out) calc(var(--d) * 60ms + .1s) backwards}@keyframes tile-in{0%{opacity:0;transform:scale(.9)}}.puzzle-tags{display:flex;gap:6px;position:relative}.puzzle-tags span{font-size:13px;font-weight:700;background:var(--on-accent-light);color:var(--accent-light);border-radius:999px;padding:6px 11px}.profile-editor{display:flex;flex-direction:column;gap:10px}.color-picker{display:flex;align-items:center;gap:4px}.color-picker button{width:40px;height:40px;padding:0;display:grid;place-items:center}.color-picker button>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;transition:box-shadow .15s ease}.color-picker button[aria-pressed=true]>span{box-shadow:0 0 0 3px var(--surface),0 0 0 5px var(--text)}.color-picker small{font-size:10px;color:var(--muted);margin-left:auto}.join-form{display:flex;gap:10px}.join-form input{height:60px;font:700 23px JetBrains,monospace;letter-spacing:.13em;border-radius:18px}.join-form input::placeholder{font-family:inherit;letter-spacing:.04em;font-size:20px}.join-button{height:60px;padding:0 22px;border-radius:18px;background:var(--btn);color:var(--on-btn);display:flex;align-items:center;gap:8px;font-weight:800;flex-shrink:0}.create-card{min-height:130px;flex:1;background:var(--accent-dark);color:var(--on-accent-dark);border-radius:28px;padding:22px;display:flex;justify-content:space-between;text-align:left;gap:12px}.create-card>span{align-self:flex-end;font-size:34px;line-height:1;font-weight:800;letter-spacing:-.03em}.create-card small{display:block;font-size:12px;margin-top:10px;letter-spacing:.05em;font-weight:600}.create-card i{width:56px;height:56px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:var(--on-accent-dark);color:var(--accent-dark)}.home-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px}.home-footer button{display:flex;align-items:center;gap:4px;font-size:11px;padding:6px 0}.primary,.secondary,.danger-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:60px;border-radius:22px;font-size:17px;font-weight:800;padding:14px 20px;width:100%;flex-shrink:0}.primary{background:var(--btn);color:var(--on-btn)}.secondary{background:var(--surface);color:var(--text)}.danger-button{background:var(--danger);color:var(--on-danger)}.hint{text-align:center;font-size:11px;line-height:1.7;color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.1em;font-weight:700}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading>small{color:var(--muted)}.faint{color:var(--faint)}.puzzle-picker{display:flex;gap:8px;padding:8px}.puzzle-picker button{transition:background-color .2s ease,color .2s ease,filter .15s ease,transform .16s var(--ease-out);flex:1;height:136px;border-radius:22px;background:var(--bg);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;font-size:18px}.puzzle-picker .selected{background:var(--hero);color:var(--on-hero)}.puzzle-picker button:not(.selected) .puzzle-icon i{background:var(--icon-off)!important}.puzzle-icon{width:46px;height:46px;display:grid;gap:3px;flex-shrink:0}.puzzle-icon i{transition:background-color .2s ease;border-radius:4px;box-shadow:inset 0 0 0 1px #00000018}.round-picker{flex:1;min-height:340px;border-radius:32px;background:var(--accent-dark);color:var(--on-accent-dark);padding:8px 8px 20px;display:flex;flex-direction:column;gap:16px}.segmented{position:relative;display:flex;gap:4px;border-radius:24px;background:var(--accent-dark-deep);padding:4px}.segmented button{flex:1;height:48px;border-radius:20px;font-weight:800}.segmented .thumb{border-radius:20px;background:var(--surface)}.segmented button[aria-pressed=true]{color:var(--text)}.round-count{flex:1;display:flex;align-items:center;justify-content:space-between;padding:0 12px}.round-count>.icon-button{width:54px;height:54px;color:var(--text)}.round-count>div{display:flex;flex-direction:column;align-items:center}.round-count strong{font:800 clamp(80px,26vw,132px)/1 JetBrains,monospace;letter-spacing:-.06em}.round-count b{font-size:15px}.presets{display:flex;gap:8px;padding:0 12px}.presets button{transition:background-color .2s ease,color .2s ease,filter .15s ease,transform .16s var(--ease-out);flex:1;height:56px;border-radius:18px;background:var(--surface);color:var(--text);font:800 16px JetBrains,monospace}.presets button[aria-pressed=true]{background:var(--hero);color:var(--on-hero)}.endless{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.endless span{font:120px/1 Bricolage,sans-serif}.endless b{font-size:14px}.room-code-card{background:var(--accent-light);color:var(--on-accent-light);border-radius:32px;padding:22px;display:flex;flex-direction:column;gap:18px}.room-code-card .eyebrow{display:block;margin-bottom:6px}.room-code{font:800 clamp(28px,9.5vw,44px)/1.15 JetBrains,monospace;letter-spacing:.05em}.pill{display:inline-flex;align-items:center;gap:6px;font:700 12px JetBrains,monospace;border-radius:999px;padding:7px 10px;background:var(--track);color:var(--text);white-space:nowrap}.dark{background:var(--hero);color:var(--on-hero)}.done{background:var(--done)!important;color:var(--on-done)!important}.share-buttons{display:flex;gap:10px}.share-buttons button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;height:48px;background:var(--surface);color:var(--text);border-radius:16px;font-weight:800;font-size:14px}.share-buttons button:last-child{background:var(--hero);color:var(--on-hero)}.seats{flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(140px,1fr));gap:12px}.seat{transition:opacity .3s var(--ease-out),transform .3s var(--ease-out);padding:16px;border-radius:28px;display:flex;flex-direction:column;justify-content:space-between;gap:16px;overflow:hidden}.seat b{font-size:24px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seat small{display:block;font-size:11px;margin-top:5px;opacity:.85}.empty-seat{border:2px dashed var(--dash);border-radius:28px;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;color:var(--muted2)}.room-settings{padding:8px;display:flex;gap:8px}.room-settings>div{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;background:var(--bg);border-radius:22px;height:80px}.room-settings .puzzle-icon{width:30px;height:30px;gap:2px}.room-settings strong{font-size:28px}.room-settings small{font-weight:800}.room-settings button{width:52px;border-radius:22px;background:var(--hero);color:var(--on-hero)}.room-header h2{font-size:17px;white-space:nowrap}.timer-page{display:flex;flex-direction:column;gap:12px;flex:1}.scramble{padding:16px 20px}.scramble .section-heading{margin-bottom:9px}.scramble small{font-size:10px;letter-spacing:.07em;font-weight:700}.scramble p{font:600 17px/1.65 JetBrains,monospace;word-spacing:.06em;overflow-wrap:anywhere}.scramble.solved p{color:var(--muted)}.preview-row{display:flex;gap:12px}.net-card{flex:1.7;min-width:0;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;padding:16px}.net-card>small{color:var(--muted);font-size:10px}.cube-net{display:grid;width:100%;max-width:228px;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,auto);gap:6px}.cube-face{display:grid;gap:2px;aspect-ratio:1;padding:3px;border-radius:6px;background:var(--track)}.cube-face span{border-radius:2px;box-shadow:inset 0 0 0 1px #00000020}.mini-stats{display:flex;flex:1;min-width:0;flex-direction:column;gap:12px}.mini-stat{flex:1;border-radius:24px;padding:14px;display:flex;flex-direction:column;justify-content:space-between;gap:8px}.mini-stat small{font-size:12px;font-weight:800}.mini-stat strong{font:800 clamp(18px,5.6vw,26px) JetBrains,monospace}.timer-pad{border-radius:32px;min-height:245px;flex:1;background:var(--timer);color:var(--on-timer);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:22px 12px;touch-action:none;overflow:hidden;position:relative}.timer-pad:hover:not(:disabled){filter:none}.timer-pad:before{content:"";position:absolute;inset:0;background:currentColor;opacity:.12;clip-path:circle(0 at 50% 50%);pointer-events:none}.timer-pad.holding:before,.timer-pad.armed:before{clip-path:circle(71% at 50% 50%)}.timer-pad.holding:before{transition:clip-path .35s linear}.timer-pad>*{position:relative}.timer-pad:active:not(:disabled){transform:none}.timer-value{font:800 clamp(54px,20vw,96px)/1.1 JetBrains,monospace;letter-spacing:-.06em;font-variant-numeric:tabular-nums;max-width:100%}.timer-pad>span{font-size:13px;font-weight:600;opacity:.75}.timer-pad>small{font-size:9px;letter-spacing:.1em;opacity:.6}.timer-pad.holding>span,.timer-pad.armed>span{opacity:1}.timer-pad.running{position:fixed;inset:0;z-index:100;min-height:0;border-radius:0;padding:env(safe-area-inset-top) 16px env(safe-area-inset-bottom);background:var(--timer);color:var(--on-timer)}.timer-pad.running .timer-value{font-size:clamp(64px,30vw,160px);line-height:1;letter-spacing:-.05em}.timer-pad.running .timer-value.long-time{font-size:clamp(48px,21vw,120px)}.timer-pad.solved{background:var(--timer);color:var(--on-timer);justify-content:space-between;align-items:stretch;padding:18px;touch-action:auto}.solved-time{flex:1;display:flex;flex-wrap:wrap;align-content:center;align-items:baseline;justify-content:center;gap:4px;min-width:0}.solved-time .timer-value{line-height:1;letter-spacing:-.05em}.solved-time .plus{font:800 36px JetBrains,monospace}.penalties{position:relative;display:flex;gap:6px;background:var(--timer-deep);border-radius:22px;padding:6px}.penalties button{flex:1;height:52px;border:0;border-radius:17px;background:transparent;color:var(--on-timer);font-size:17px;font-weight:800}.penalties .thumb{border-radius:17px;background:var(--on-timer)}.penalties button[aria-pressed=true]{color:var(--timer)}.next-round{transition:opacity .25s var(--ease-out),transform .25s var(--ease-out)}.next-round .primary{min-height:52px;font-size:15px}.room-nav{position:sticky;bottom:max(20px,env(safe-area-inset-bottom));margin-top:auto;height:72px;flex-shrink:0;background:var(--surface);border-radius:28px;padding:8px;display:flex;gap:6px;box-shadow:0 8px 20px #00000008;z-index:2}.room-nav button{position:relative;flex:1;border-radius:20px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;font-size:12px;font-weight:800;color:var(--muted)}.room-nav .thumb{border-radius:20px;background:var(--btn)}.room-nav button[aria-current=page]{color:var(--on-btn)}.nav-badge{transition:background-color .2s ease;position:absolute;top:1px;left:calc(50% + 7px);background:var(--alert);color:var(--on-alert);font:800 10px JetBrains,monospace;border-radius:999px;padding:2px 5px}.session-done{padding:18px;background:var(--accent-light);color:var(--on-accent-light);border-radius:22px;text-align:center}.session-done span{display:block;font-size:11px;margin-top:6px}.stats-content{display:flex;flex-direction:column;gap:12px}.section-title{display:flex;align-items:center;justify-content:space-between;padding:10px 4px}.section-title h1{font-size:32px;letter-spacing:-.04em;margin-top:3px}.section-title .eyebrow{color:var(--muted)}.live-round{position:relative;display:flex;flex-direction:column;gap:8px}.live-player{min-height:64px;background:var(--surface);border-radius:22px;padding:0 16px;display:flex;align-items:center;gap:12px}.live-player .avatar{width:36px;height:36px;font-size:14px}.live-player b{flex:1;min-width:0;font-size:17px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-player strong{font-size:20px;font-weight:800}.live-player .tag{flex-shrink:0;font-size:12px;font-weight:800;background:var(--tag);color:var(--on-tag);border-radius:999px;padding:3px 8px}.round-winner>svg{transition:opacity .3s var(--ease-out),transform .3s var(--ease-out)}.live-player .solving{flex-shrink:0;color:var(--solving)}.spinner-arc{animation:spin 1s linear infinite}.stat-player{border-radius:28px;padding:16px;display:flex;flex-direction:column;gap:18px}.stat-player b{max-width:220px;overflow:hidden;text-overflow:ellipsis}.wins{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:13px;font-weight:800}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 8px;text-align:center}.metrics small{display:block;font-size:11px;opacity:.8}.metrics strong{display:block;font:800 16px JetBrains,monospace;margin-top:5px}.pulse{animation:pulse 1s infinite alternate;color:var(--solving)}@keyframes pulse{to{opacity:.3}}.modal{position:fixed;inset:auto 0 0;margin:auto;border:0;border-radius:32px 32px 0 0;background:var(--bg);color:var(--text);padding:22px 20px max(24px,env(safe-area-inset-bottom));width:100%;max-width:470px;max-height:90dvh;overflow:auto;box-shadow:0 -10px 60px #0003;--modal-hidden: translateY(100%);--modal-hidden-opacity: 1;transition:transform .4s var(--ease-drawer),opacity .4s var(--ease-drawer)}.modal::backdrop{background:#0008;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);transition:opacity .4s var(--ease-drawer)}.modal[data-closing]{transform:var(--modal-hidden);opacity:var(--modal-hidden-opacity);transition-duration:.25s;pointer-events:none}.modal[data-closing]::backdrop{opacity:0;transition-duration:.25s}.modal>p{font-size:14px;line-height:1.8;margin:16px 0}.modal>.primary,.modal>.secondary,.modal>.danger-button{margin-top:12px}.modal>.profile-editor{margin-top:12px}.menu-theme{display:flex;align-items:center;justify-content:space-between;padding:18px 4px 6px}.menu-code{display:flex;align-items:center;gap:12px;background:var(--surface);border-radius:28px;padding:16px 16px 16px 22px}.menu-code>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.menu-code strong{font-size:32px;font-weight:800;line-height:1.2;letter-spacing:.08em}.menu-code small{color:var(--muted);font-size:14px;font-weight:700}.menu-code button{display:grid;place-items:center;flex-shrink:0;width:56px;height:56px;border-radius:18px;background:var(--bg)}.menu-code button:last-child{background:var(--hero);color:var(--on-hero)}.menu-item{display:flex;align-items:center;gap:18px;width:100%;min-height:64px;margin-top:12px;padding:14px 22px;border-radius:28px;background:var(--surface);text-align:left}.menu-item>svg{flex-shrink:0}.menu-item b{font-size:17px;font-weight:800}.menu-item.danger{background:var(--danger);color:var(--on-danger)}.toast{position:fixed;z-index:10;top:max(24px,env(safe-area-inset-top));left:0;right:0;width:fit-content;margin:0 auto;transition:opacity .4s ease,transform .4s ease;padding:14px 22px;background:var(--hero);color:var(--on-hero);border-radius:999px;box-shadow:0 4px 30px #0003;font-size:13px;font-weight:700;display:flex;align-items:center;gap:8px;white-space:nowrap}.toast[data-closing]{opacity:0;transform:translateY(-100%)}.error-banner,.connection-banner{transition:opacity .2s var(--ease-out),transform .2s var(--ease-out);display:flex;gap:10px;align-items:center;padding:12px 16px;border-radius:18px;background:var(--tag);color:var(--on-tag);font-size:12px;line-height:1.6}.error-banner span{flex:1}.error-banner button{display:grid;place-items:center}.connection-banner{background:var(--accent-light);color:var(--on-accent-light)}.ended{padding:12px 18px}.ended p{font-size:13px;color:var(--muted);line-height:1.6}.ended b{font-size:22px}.connecting{margin:auto 0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px;padding:32px}.spinner{width:36px;height:36px;border-radius:50%;border:3px solid var(--track);border-top-color:var(--accent-dark);animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:700px){.app{min-height:calc(100svh - 48px);margin:24px auto;padding:20px;background:var(--bg);border:1px solid var(--track);border-radius:40px;box-shadow:0 15px 60px #00000006}html{background:var(--track)}.modal{inset:0;margin:auto;border-radius:32px;height:fit-content;--modal-hidden: scale(.96);--modal-hidden-opacity: 0;transition-duration:.25s;transition-timing-function:var(--ease-out)}.modal[data-closing]{transition-duration:.2s}.hero{min-height:300px}.room-nav{bottom:45px}}@media(max-width:359px){.app{padding-left:12px;padding-right:12px}.hero h1{font-size:40px}.join-form input{font-size:20px}.join-button{padding:0 16px}.color-picker small{font-size:9px}.room-header h2{font-size:15px}.timer-value{font-size:18vw}}.timer-value.long-time{font-size:clamp(36px,13vw,62px)}.battle-switch{background:var(--track);flex-shrink:0}.battle-switch button{color:var(--muted)}.round-progress{background:var(--accent-light);color:var(--on-accent-light);border-radius:28px;padding:22px;display:flex;flex-direction:column;gap:18px}.round-tally{display:flex;align-items:baseline;gap:6px;font-weight:800}.round-tally strong{font-size:88px;line-height:1;letter-spacing:-.05em}.round-tally span{font-size:32px}.round-bars{display:grid;gap:6px}.round-bars i{position:relative;height:10px;border-radius:999px;background:var(--accent-light-deep)}.round-bars i:after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--on-accent-light);clip-path:inset(0 100% 0 0);transition:clip-path .3s var(--ease-out)}.round-bars i.filled:after{clip-path:inset(0)}.rank{width:18px;flex-shrink:0;color:var(--muted);font-size:15px;font-weight:800}.waiting-label{min-height:60px;background:var(--track);border-radius:22px;padding:0 18px;display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;font-size:16px;font-weight:800;color:var(--wait)}.personal-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.personal-metric{padding:20px;border-radius:28px;min-height:140px;display:flex;flex-direction:column;justify-content:space-between}.personal-metric small{font-size:14px;font-weight:800}.personal-metric strong{font:800 34px JetBrains,monospace;letter-spacing:-.05em}.session-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.session-summary>div{container-type:inline-size;min-width:0;border-radius:28px;padding:18px 20px;display:flex;flex-direction:column;gap:6px}.session-summary small{font-size:14px;font-weight:800}.session-summary strong{--fit-max: 34px;font-size:min(var(--fit-max),calc(100cqi / var(--fit-em, 1)));font-weight:800;letter-spacing:-.05em;line-height:1.1}.session-rounds{grid-row:span 2;justify-content:space-between;background:var(--hero);color:var(--on-hero)}.session-rounds small{color:var(--hero-muted)}.session-summary .session-rounds strong{--fit-max: 128px;line-height:.8;letter-spacing:-.06em}.session-rounds strong span{margin-left:.25em;font-size:.4em;color:var(--hero-muted);letter-spacing:.04em}.session-summary .session-leader{font-size:30px;letter-spacing:-.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wins-table{display:grid;grid-template-columns:fit-content(96px) minmax(0,1fr) auto;align-items:center;gap:12px 16px;padding:20px}.wins-table>small{grid-column:1 / -1;color:var(--muted);font-size:14px;font-weight:800;margin-bottom:4px}.wins-row{display:contents}.wins-row b{font-size:16px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wins-bar{display:block;height:28px;border-radius:10px;background:var(--bg);overflow:hidden}.wins-bar i{display:block;height:100%;border-radius:10px;clip-path:inset(0 calc(100% - var(--pct)) 0 0 round 10px);transition:clip-path .4s var(--ease-out)}.wins-row strong{min-width:2ch;text-align:right;font-size:18px;font-weight:800}.profile-editor .color-picker{gap:4px}.color-picker button{width:44px;height:44px}.hero h1{max-width:260px}.solve-log{display:flex;flex-direction:column;gap:8px}.solve-log .section-heading{padding:6px 4px 2px;font-size:17px;font-weight:800}.solve-row{min-height:64px;background:var(--surface);border-radius:22px;padding:0 18px 0 14px;display:flex;align-items:center;gap:12px}.solve-round{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--track);color:var(--muted2);font-size:14px;font-weight:800}.solve-tags{flex:1;min-width:0;display:flex;align-items:center;gap:6px}.solve-tags .tag{font-size:12px;font-weight:800;border-radius:999px;padding:3px 8px}.solve-tags .penalty{background:var(--tag);color:var(--on-tag)}.solve-row strong{font-size:20px;font-weight:800}.solve-row .solving{flex-shrink:0;color:var(--solving)}.solve-list{background:var(--surface);border-radius:22px;padding:2px 18px}.solve-item{min-height:52px;display:flex;align-items:center;gap:10px}.solve-item+.solve-item{border-top:1px solid var(--track)}.solve-no{min-width:22px;flex-shrink:0;color:var(--muted);font-size:14px;font-weight:700}.solve-item strong{font-size:19px;font-weight:800}.solve-item .solving{flex-shrink:0;color:var(--solving)}.log-head{min-height:0;background:none}.log-head .solve-round{height:0;background:none}.log-cells{flex:1;min-width:0;display:grid;gap:6px;justify-items:center}.log-head .avatar{width:30px;height:30px;font-size:13px}.log-cell{display:flex;align-items:center;justify-content:center;min-width:0}.log-cell strong{font-size:16px;white-space:nowrap}.log-cell .winner{padding:5px 9px;border-radius:999px}.log-cell .solving{color:var(--solving)}@starting-style{.modal[open]{transform:var(--modal-hidden);opacity:var(--modal-hidden-opacity)}.modal[open]::backdrop{opacity:0}.toast{opacity:0;transform:translateY(-100%)}.error-banner,.connection-banner{opacity:0;transform:translateY(-8px)}.next-round{opacity:0;transform:translateY(8px)}.seat{opacity:0;transform:scale(.94)}.round-winner>svg{opacity:0;transform:rotate(-20deg) scale(.9)}.wins-bar i{clip-path:inset(0 100% 0 0 round 10px)}}@media(prefers-reduced-motion:reduce){.modal{--modal-hidden: none;--modal-hidden-opacity: 0;transition-duration:.2s;transition-timing-function:ease}.toast[data-closing]{transform:none}.hero-cube i{animation-name:fade-in}.timer-pad:before,.timer-pad.holding:before,.timer-pad.armed:before{clip-path:none;opacity:0}.timer-pad.holding:before,.timer-pad.armed:before{opacity:.12}.timer-pad.holding:before{transition:opacity .35s linear}.thumb,.wins-bar i,.round-bars i:after{transition:none}@starting-style{.toast,.error-banner,.connection-banner,.next-round,.seat,.round-winner>svg{transform:none}}}@keyframes fade-in{0%{opacity:0}}
