:root{--md-sys-color-primary:#6a5acd;--md-sys-color-on-primary:#fff;--md-sys-color-primary-container:#e8e0ff;--md-sys-color-on-primary-container:#1f1650;--md-sys-color-secondary:#1f8a78;--md-sys-color-on-secondary:#fff;--md-sys-color-secondary-container:#b8f0e4;--md-sys-color-on-secondary-container:#00382f;--md-sys-color-tertiary:#7d3c98;--md-sys-color-on-tertiary:#fff;--md-sys-color-tertiary-container:#f3d8ff;--md-sys-color-on-tertiary-container:#32004a;--md-sys-color-error:#ba1a1a;--md-sys-color-on-error:#fff;--md-sys-color-error-container:#ffdad6;--md-sys-color-on-error-container:#410002;--md-sys-color-success:#1b7a4a;--md-sys-color-background:#fdfdfd;--md-sys-color-on-background:#1c1b1f;--md-sys-color-surface:#fff;--md-sys-color-on-surface:#1c1b1f;--md-sys-color-on-surface-variant:#464555;--md-sys-color-surface-container:#f3f1f8;--md-sys-color-surface-container-low:#f8f6fc;--md-sys-color-surface-container-high:#eceaf3;--md-sys-color-surface-container-highest:#e6e4ee;--md-sys-color-outline:#777586;--md-sys-color-outline-variant:#c8c5d6;--md-sys-color-scrim:#000;--md-sys-color-shadow:#000;--md-sys-shape-corner-extra-small:8px;--md-sys-shape-corner-small:10px;--md-sys-shape-corner-medium:12px;--md-sys-shape-corner-large:16px;--md-sys-motion-spatial:.5s cubic-bezier(.38, 1.21, .22, 1);--md-sys-motion-fast:.35s cubic-bezier(.42, 1.67, .21, .9);--md-sys-motion-slow:.65s cubic-bezier(.39, 1.29, .35, .98);--touch-min:48px;--font-body:"Roboto", system-ui, sans-serif;--md-ref-typeface-brand:var(--font-body);--md-ref-typeface-plain:var(--font-body);--md-icon-font:"Material Symbols Outlined";--md-filled-button-container-shape:var(--md-sys-shape-corner-medium);--md-filled-button-container-height:48px;--md-outlined-button-container-shape:var(--md-sys-shape-corner-medium);--md-outlined-button-container-height:48px;--md-text-button-container-shape:var(--md-sys-shape-corner-medium);--md-text-button-container-height:48px;--md-filled-tonal-button-container-shape:var(--md-sys-shape-corner-medium);--md-filled-tonal-button-container-height:48px;--md-filled-text-field-container-shape:var(--md-sys-shape-corner-extra-small);--md-filled-text-field-container-shape-end-end:var(--md-sys-shape-corner-extra-small);--md-filled-text-field-container-shape-end-start:var(--md-sys-shape-corner-extra-small);--md-dialog-container-shape:var(--md-sys-shape-corner-large);--md-list-container-color:var(--md-sys-color-surface);--md-circular-progress-size:88px;--md-circular-progress-color:var(--md-sys-color-primary);font-family:var(--font-body);color:var(--md-sys-color-on-surface);background:var(--md-sys-color-background);-webkit-tap-highlight-color:transparent}@media (prefers-color-scheme:dark){:root{--md-sys-color-primary:#c9bfff;--md-sys-color-on-primary:#2d2167;--md-sys-color-primary-container:#4639a0;--md-sys-color-on-primary-container:#e8e0ff;--md-sys-color-secondary:#6ee7d0;--md-sys-color-on-secondary:#00382f;--md-sys-color-secondary-container:#005c4e;--md-sys-color-on-secondary-container:#b8f0e4;--md-sys-color-tertiary:#e0b6f3;--md-sys-color-on-tertiary:#4a1760;--md-sys-color-tertiary-container:#632e7c;--md-sys-color-on-tertiary-container:#f3d8ff;--md-sys-color-error:#ffb4ab;--md-sys-color-on-error:#690005;--md-sys-color-error-container:#93000a;--md-sys-color-on-error-container:#ffdad6;--md-sys-color-success:#7ddba8;--md-sys-color-background:#1c1b1f;--md-sys-color-on-background:#e6e1e5;--md-sys-color-surface:#1c1b1f;--md-sys-color-on-surface:#e6e1e5;--md-sys-color-on-surface-variant:#c8c5d6;--md-sys-color-surface-container:#2a2930;--md-sys-color-surface-container-low:#24232a;--md-sys-color-surface-container-high:#35343c;--md-sys-color-surface-container-highest:#403f47;--md-sys-color-outline:#928f9f;--md-sys-color-outline-variant:#464555}}*{box-sizing:border-box}html,body,#root{min-height:100dvh;margin:0}body{overflow-x:hidden}.phone-shell{z-index:1;width:100%;max-width:430px;min-height:100dvh;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));flex-direction:column;margin:0 auto;display:flex;position:relative}.phone-shell-content{flex-direction:column;flex:1;width:100%;display:flex}.page-title{letter-spacing:0;color:var(--md-sys-color-on-surface);align-items:center;gap:8px;margin:0 0 8px;font-size:clamp(1.75rem,6vw,2.25rem);font-weight:400;line-height:1.2;display:flex}.page-subtitle{color:var(--md-sys-color-on-surface-variant);margin:0 0 24px;font-size:1rem;font-weight:400;line-height:1.5}.brand-hero{margin-top:12vh;margin-bottom:8px}.stack{flex-direction:column;gap:14px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.error-text{color:var(--md-sys-color-error);margin:0;font-weight:500}.md-btn-full{width:100%}md-filled-text-field{--md-filled-text-field-container-shape:var(--md-sys-shape-corner-extra-small);--md-filled-text-field-container-shape-end-end:var(--md-sys-shape-corner-extra-small);--md-filled-text-field-container-shape-end-start:var(--md-sys-shape-corner-extra-small);--md-filled-text-field-active-indicator-color:var(--md-sys-color-outline-variant);--md-filled-text-field-hover-active-indicator-color:var(--md-sys-color-outline);--md-filled-text-field-focus-active-indicator-color:var(--md-sys-color-primary);width:100%}md-list{width:100%;padding-left:0;padding-right:0}.md-btn-danger{--md-filled-button-container-color:var(--md-sys-color-error);--md-filled-button-label-text-color:var(--md-sys-color-on-error)}.md-card{background:var(--md-sys-color-surface-container-low);border:1px solid var(--md-sys-color-outline-variant);border-radius:var(--md-sys-shape-corner-medium);box-shadow:0 1px 3px color-mix(in srgb, var(--md-sys-color-shadow) 12%, transparent);margin-bottom:12px;padding:16px}.md-card h3{margin:0 0 12px;font-size:1.15rem;font-weight:500}.app-top-bar{margin-bottom:12px}.app-top-bar-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.app-top-bar-title{align-items:center;gap:8px;min-width:0;margin:0;font-size:1.375rem;font-weight:400;line-height:1.3;display:flex}.app-top-bar-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:6px;display:flex}.app-top-bar-subtitle{color:var(--md-sys-color-on-surface-variant);margin-top:8px;font-size:.8rem;font-weight:400}.player-list{border-radius:var(--md-sys-shape-corner-medium);--md-list-container-color:var(--md-sys-color-surface-container-low);overflow:hidden}md-list-item.offline{opacity:.55}md-list-item.swap-selected{--md-list-item-container-color:var(--md-sys-color-primary-container)}.presence-dot{background:var(--md-sys-color-success);border-radius:50%;flex-shrink:0;width:10px;height:10px}.presence-dot.offline{background:var(--md-sys-color-outline)}.player-meta{color:var(--md-sys-color-on-surface-variant);font-size:.85rem;font-weight:400}.paper-display{text-align:center;background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);border-radius:var(--md-sys-shape-corner-medium);word-break:break-word;padding:20px 16px;font-size:clamp(1.35rem,5vw,1.75rem);font-weight:500}.qr-image{border-radius:var(--md-sys-shape-corner-small);background:#fff;width:min(100%,256px);height:auto;margin:0 auto;display:block}.muted{word-break:break-all;color:var(--md-sys-color-on-surface-variant);font-size:.85rem;font-weight:400}.circular-timer{flex-shrink:0;width:88px;height:88px;position:relative}.circular-timer-label{font-variant-numeric:tabular-nums;pointer-events:none;place-items:center;font-size:1.05rem;font-weight:500;display:grid;position:absolute;inset:0}.circular-timer.urgent{--md-circular-progress-color:var(--md-sys-color-error)}.circular-timer.urgent .circular-timer-label{color:var(--md-sys-color-error)}.feedback-burst-host{left:0;right:0;bottom:max(28px, env(safe-area-inset-bottom));z-index:50;pointer-events:none;justify-content:center;padding:0 16px;display:flex;position:fixed}.feedback-burst{border-radius:var(--md-sys-shape-corner-medium);box-shadow:0 8px 24px color-mix(in srgb, var(--md-sys-color-shadow) 20%, transparent);pointer-events:auto;align-items:center;gap:10px;max-width:min(398px,100%);padding:12px 18px;font-weight:500;display:inline-flex}.feedback-burst-icon{background:color-mix(in srgb, var(--md-sys-color-on-primary) 20%, transparent);border-radius:50%;place-items:center;width:24px;height:24px;font-size:.9rem;display:grid}.feedback-success{background:var(--md-sys-color-success);color:#fff}.feedback-error{background:var(--md-sys-color-error);color:var(--md-sys-color-on-error)}.animated-backdrop{z-index:0;pointer-events:none;background:radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--md-sys-color-primary) 10%, transparent) 0%, transparent 55%), radial-gradient(80% 50% at 0% 100%, color-mix(in srgb, var(--md-sys-color-secondary) 12%, transparent) 0%, transparent 50%), var(--md-sys-color-background);position:fixed;inset:0;overflow:hidden}.page-transition{flex-direction:column;flex:1;width:100%;display:flex}.phase-panel{flex-direction:column;gap:14px;display:flex}.lobby-with-sheet{padding-bottom:min(58vh,440px)}.checkbox-row{min-height:var(--touch-min);cursor:pointer;align-items:center;gap:12px;font-weight:400;display:flex}.bottom-sheet-scrim{z-index:20;background:color-mix(in srgb, var(--md-sys-color-scrim) 32%, transparent);position:fixed;inset:0}.bottom-sheet{z-index:21;background:var(--md-sys-color-surface-container-low);border-radius:var(--md-sys-shape-corner-large) var(--md-sys-shape-corner-large) 0 0;width:100%;max-width:430px;box-shadow:0 -8px 28px color-mix(in srgb, var(--md-sys-color-shadow) 18%, transparent);padding:8px 16px max(20px, env(safe-area-inset-bottom));margin:0 auto;position:fixed;bottom:0;left:0;right:0;overflow:auto}.bottom-sheet-handle{background:var(--md-sys-color-outline-variant);border-radius:999px;width:32px;height:4px;margin:4px auto 12px}.field-gap{flex-direction:column;gap:12px;display:flex}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
