@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/space-grotesk-vietnamese-wght-normal-D0rl6rjA.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/space-grotesk-latin-ext-wght-normal-D9tNdqV9.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.hidden{display:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#eeeef7;font-synthesis:none;--muted:#898c9f;--purple:#ad8bff;--blue:#6ba8ff;--panel:#11141e;--border:#242733;color-scheme:dark;background:#090b11;font-family:Inter Variable,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background-color:#0000;background-image:radial-gradient(at 15% 15%,#163d5a90,#0000 55%),radial-gradient(at 85% 35%,#4c246a80,#0000 55%),linear-gradient(155deg,#0a1422,#101021 55%,#090d19);background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:auto,auto,auto;background-attachment:fixed;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;min-width:320px;min-height:100dvh;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button,a,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:4px;outline:2px solid #b997ff}button{transition:color .18s,background .18s,border-color .18s,transform .18s,box-shadow .18s}button:disabled{opacity:.48}h1,h2,h3,p{margin:0}h1,h2,h3,.brand,.footer-wordmark{font-family:Space Grotesk Variable,Inter Variable,sans-serif}input,select{color:#eeedf7;background:#12151f;border:1px solid #303340;border-radius:9px;width:100%;min-width:0;padding:13px 14px}input::placeholder{color:#606578}select{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}input:focus,select:focus{border-color:#9c7ad9}input[type=range]{accent-color:var(--purple);border:0;padding:0}small{font-size:12px}.site-header{z-index:5;background:#0b0d14f0;border-bottom:1px solid #20232d;height:86px;position:relative}.header-inner{align-items:center;gap:70px;max-width:1328px;height:100%;margin:auto;padding:0 40px;display:flex}.brand{letter-spacing:-1.8px;background:0 0;border:0;align-items:center;gap:10px;padding:0;font-size:31px;font-weight:800;line-height:1;display:flex}.brand-period{color:#aa83ff;margin-left:-8px}.brand-symbol{gap:4px;margin-right:2px;display:flex;transform:skew(-12deg)}.brand-symbol i{background:#af8aff;border-radius:2px;width:9px;height:25px}.brand-symbol i:last-child{background:#7da9ff;height:18px;margin-top:7px}nav{gap:32px;height:100%;display:flex}nav button{color:#898b9c;background:0 0;border:0;align-items:center;gap:9px;padding:0;font-size:14px;display:flex;position:relative}nav button.active{color:#e7ddff}nav button.active:after{content:"";background:#ad86ff;border-radius:1px;width:100%;height:2px;position:absolute;bottom:0}nav button:hover{color:#e4ddf7}.header-right{align-items:center;gap:8px;margin-left:auto;display:flex}.icon-button{color:#9799ac;background:0 0;border:1px solid #0000;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.icon-button:hover{color:#e9e3fa;background:#20232f}.profile-button{color:#c2c2d1;background:0 0;border:0;border-left:1px solid #282a37;align-items:center;gap:10px;margin-left:10px;padding:0 0 0 18px;font-size:13px;display:flex}.profile-avatar,.player-avatar{color:#c3a8ff;background:#25213c;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:14px;font-weight:600;display:inline-flex}main{max-width:1248px;margin:auto;padding:0 24px}.eyebrow{color:#aaa1c2;letter-spacing:1.6px;align-items:center;gap:10px;font-size:12px;font-weight:600;display:flex}.tiny-line{background:#ad8bff;width:21px;height:2px}.mode-area{flex-direction:column;align-items:center;gap:12px;min-width:330px;margin-top:32px;display:flex}.mode-switch{background:#141620;border:1px solid #2d2e3e;border-radius:12px;gap:5px;padding:5px;display:flex}.mode-switch button{color:#9595a9;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;min-height:44px;padding:12px 19px;font-size:14px;display:flex}.mode-switch button.selected{color:#e8deff;background:#302344;box-shadow:inset 0 0 0 1px #644b81}.mode-area>span{color:#777b8e;font-size:12px}.join-shortcut{padding:0!important;font-size:12px!important}.button{border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:12px 19px;font-size:14px;font-weight:600;line-height:1.2;display:inline-flex}.button.primary{color:#1a102a;background:#b292fa;border-color:#bb9bff;box-shadow:0 2px 15px #a881ff18}.button.primary:hover:not(:disabled){background:#c0a3ff;transform:translateY(-1px);box-shadow:0 4px 24px #a881ff30}.button.secondary{color:#c8c7d8;background:#191c27;border-color:#323442}.button.secondary:hover:not(:disabled){background:#252435;border-color:#635078}.game-preview{width:100%;height:auto;display:block}.site-footer{color:#61667a;border-top:1px solid #232631;align-items:center;gap:20px;max-width:1200px;margin:auto;padding:25px 0 28px;font-size:11px;display:flex}.footer-wordmark{color:#79798e;letter-spacing:-1px;font-size:20px;font-weight:700}.site-footer>span:last-child{letter-spacing:1.4px;margin-left:auto;font-size:9px}.text-button{color:#b9a6dd;background:0 0;border:0;padding:14px 10px;font-size:13px}.text-button:hover{color:#e2d5ff}.full-width{width:100%}.modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:50;background:#05060bce;justify-content:center;align-items:center;padding:20px;animation:.18s fade-in;display:flex;position:fixed;top:0;right:0;bottom:0;left:0}.modal{background:#151722;border:1px solid #393341;border-radius:17px;width:465px;max-width:100%;max-height:90dvh;padding:27px;animation:.22s rise-in;overflow-y:auto;box-shadow:0 25px 100px #0008}.modal-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px;display:flex}.modal-heading h2{letter-spacing:-.7px;font-size:23px;font-weight:600}.modal-heading .icon-button{margin-top:-7px;margin-right:-8px}.dialog-copy{color:#b1afc3;margin-bottom:20px;font-size:14px;line-height:1.7}.field{color:#bebacd;flex-direction:column;gap:9px;margin-bottom:17px;font-size:13px;display:flex}.field input{font-size:15px}.setup-rules,.instruction-controls{color:#ada2c6;background:#28203860;border:1px solid #302c40;border-radius:9px;align-items:flex-start;gap:12px;margin-bottom:19px;padding:14px;display:flex}.setup-rules svg,.instruction-controls svg{flex-shrink:0;margin-top:3px}.setup-rules p,.instruction-controls p{font-size:13px;line-height:1.6}.dialog-bottom{color:#77758b;justify-content:center;align-items:center;gap:7px;margin-top:17px;font-size:11px;display:flex}.dialog-tabs{background:#0f111a;border-radius:9px;margin-bottom:22px;padding:4px;display:flex}.dialog-tabs button{color:#8e899f;background:0 0;border:0;border-radius:7px;flex:1;padding:11px;font-size:13px}.dialog-tabs button.selected{color:#d9c6ff;background:#312740}.code-input{text-transform:uppercase;letter-spacing:5px;font-family:monospace;font-size:21px!important}.form-error{color:#ffadaf;background:#54263055;border:1px solid #703942;border-radius:8px;margin-bottom:16px;padding:12px 14px;font-size:13px;line-height:1.6}.settings-section{border-top:1px solid #30303c;margin:15px 0 21px;padding-top:20px}.settings-section>.eyebrow{color:#9087a4;margin-bottom:17px;font-size:10px}.setting-row{justify-content:space-between;align-items:center;gap:15px;margin-bottom:19px;display:flex}.setting-row strong{font-size:14px;font-weight:500;display:block}.setting-row div>span{color:#8a879e;margin-top:5px;font-size:12px;display:block}.toggle{background:#292331;border:1px solid #4b4559;border-radius:20px;flex-shrink:0;width:44px;height:25px;padding:3px}.toggle>span{background:#898093;border-radius:50%;width:17px;height:17px;transition:transform .2s;display:block}.toggle.on{background:#9574cf;border-color:#ba92fa}.toggle.on>span{background:#fff;transform:translate(18px)}.volume-row{color:#9c93ae;align-items:center;gap:15px;margin:18px 0 25px;font-size:12px;display:flex}.volume-row input{flex:1}.volume-row>span{text-align:right;width:34px}.setting-note{color:#8f879f;margin-top:14px;font-size:12px;line-height:1.7}.dialog-buttons{justify-content:flex-end;gap:12px;display:flex}.error-banner{color:#e7b6c7;background:#372330;border:1px solid #704055;border-radius:9px;align-items:center;gap:12px;max-width:1200px;margin:20px auto 0;padding:13px 16px;font-size:13px;display:flex}.error-banner p{flex:1}.section-heading{justify-content:space-between;align-items:center;gap:20px;margin:44px 0 30px;display:flex}.section-heading h1{letter-spacing:-1.6px;margin-top:12px;font-size:38px;font-weight:600}.section-heading p{color:#9491a7;margin-top:11px;font-size:14px}.section-heading.compact{margin:36px 0 17px}.section-heading.compact h2{letter-spacing:-.6px;font-size:21px;font-weight:500}.section-heading.compact>span{color:#8f879e;font-size:12px}.lobby-grid{grid-template-columns:1fr 1fr;gap:24px;display:grid}.lobby-panel{background:#131520;border:1px solid #2e2d3a;border-radius:14px;padding:25px}.panel-heading{color:#b59bcc;align-items:center;gap:10px;margin-bottom:20px;display:flex}.panel-heading h2{color:#e6e1f1;font-size:17px;font-weight:500}.connection-badge{color:#f1b97e;background:#63472733;border:1px solid #8a643855;border-radius:5px;margin-left:auto;padding:5px 7px;font-size:10px}.connection-badge.is-connected{color:#a7c8bc;background:#2b544733;border-color:#50736255}.room-code{background:#241d32;border:1px dashed #554367;border-radius:10px;justify-content:space-between;align-items:center;margin-bottom:14px;padding:20px 18px;display:flex}.room-code>span{color:#d1b6ff;letter-spacing:5px;font-family:monospace;font-size:31px}.lobby-players{margin:24px 0}.lobby-player{align-items:center;gap:12px;padding:15px 0;display:flex}.lobby-player+.lobby-player{border-top:1px solid #2a2a36}.lobby-player>div{flex:1}.lobby-player strong{font-size:14px;font-weight:500;display:block}.lobby-player strong>small{color:#84758f;margin-left:6px;font-size:9px}.lobby-player div>span{color:#8b819a;margin-top:5px;font-size:12px;display:block}.lobby-player>svg{color:#8e82a6}.lobby-note{color:#8a7f9b;margin-top:13px;font-size:12px;line-height:1.7}.selected-game-panel .game-preview{object-fit:cover;border:1px solid #2c2939;border-radius:9px;height:180px}.selected-game-panel>h2{letter-spacing:-.7px;margin:18px 0 7px;font-size:23px;font-weight:500}.selected-game-panel>p{color:#a199b1;font-size:13px;line-height:1.6}.lobby-settings{gap:15px;margin-top:17px;display:flex}.lobby-settings label{color:#a79eb8;flex:1;font-size:12px}.lobby-settings select{margin-top:8px;padding:10px;font-size:13px}.stats-grid{grid-template-columns:repeat(4,1fr);gap:18px;display:grid}.stat-card{background:#17141f;border:1px solid #302b3c;border-radius:12px;padding:23px}.stat-card>span{color:#9c8dab;font-size:13px;display:block}.stat-card strong{color:#cfb2f6;margin-top:12px;font-family:Space Grotesk Variable,sans-serif;font-size:36px;font-weight:500;display:block}.empty-history{text-align:center;flex-direction:column;align-items:center;gap:18px;padding:90px 20px;display:flex}.empty-history>svg{color:#a384c4}.empty-history h2{letter-spacing:-.8px;font-size:24px;font-weight:500}.empty-history p{color:#9b8dab;font-size:14px}.empty-history .button{margin-top:7px}.history-list{border:1px solid #302b3c;border-radius:12px;margin:30px 0 50px;overflow:hidden}.history-row{background:#14131d;grid-template-columns:1.3fr 1fr 70px 1fr;align-items:center;gap:20px;padding:20px;display:grid}.history-row+.history-row{border-top:1px solid #302b3c}.history-game{align-items:center;gap:12px;display:flex}.history-icon{color:#b396d3;background:#2a2039;border-radius:10px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.history-game strong{font-size:14px;font-weight:500;display:block}.history-game div>span{color:#8c7e9f;margin-top:4px;font-size:11px;display:block}.history-rivals{color:#b4a3c3;justify-content:center;align-items:center;gap:10px;font-size:13px;display:flex}.history-rivals small{color:#766087;font-size:10px}.history-score{text-align:center;font-family:Space Grotesk Variable,sans-serif;font-size:18px;font-weight:500}.history-result{color:#d2b281;justify-content:flex-end;align-items:center;gap:8px;font-size:12px;display:flex}.history-result.is-draw{color:#ab9bbc}.history-page{min-height:70vh}.spin{animation:1.5s linear infinite spin}.page-enter{animation:.35s ease-out fade-in}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes rise-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes disc-in{0%{opacity:.3;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes card-flip{0%{transform:scaleX(.5)}to{transform:scaleX(1)}}@keyframes countdown{0%{opacity:0;transform:scale(1.3)}30%{opacity:1}to{opacity:.9;transform:scale(.95)}}@keyframes result-in{0%{opacity:0;transform:translateY(20px)scale(.9)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes trophy-glow{to{box-shadow:0 0 60px #e6ac5738}}html[data-reduced-motion=true] *,html[data-reduced-motion=true] :before,html[data-reduced-motion=true] :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media(max-width:1150px){.header-inner{gap:45px;padding:0 24px}.site-footer{margin:0 24px}}@media(max-width:800px){.site-header{height:74px}.header-inner{gap:30px}.brand{font-size:28px}nav{gap:22px}nav button{font-size:12px}.profile-button{margin-left:3px;padding-left:10px}.profile-button>span:not(.profile-avatar),.profile-button>svg{display:none}.mode-area{min-width:270px}.mode-switch button{padding:10px 13px;font-size:12px}.lobby-grid{gap:18px}.lobby-panel{padding:20px}.room-code{padding:18px 14px}.room-code>span{letter-spacing:4px;font-size:26px}.history-row{grid-template-columns:1.2fr 1fr 70px}.history-rivals{display:none}}@media(max-width:600px){main{padding-left:18px;padding-right:18px}.site-header{height:68px}.header-inner{gap:20px;padding:0 18px}.brand{gap:7px;font-size:25px}.brand-symbol{gap:3px;margin-right:1px}.brand-symbol i{width:7px;height:22px}.brand-symbol i:last-child{height:15px}.brand-period{margin-left:-5px}nav{gap:18px}nav button{white-space:nowrap;width:26px;padding:0 3px;font-size:0;display:inline-flex;overflow:hidden}nav button svg{flex-shrink:0;width:19px}.header-right{gap:0}.header-right .icon-button{width:33px}.profile-button{margin-left:6px;padding-left:8px}.profile-avatar{border-radius:8px;width:29px;height:29px;font-size:12px}.sound-toggle{display:none}.eyebrow{font-size:10px}.mode-area{gap:10px;width:100%;margin-top:0}.mode-switch{width:100%}.mode-switch button{flex:1;justify-content:center;font-size:13px}.mode-area>span{font-size:11px}.site-footer{gap:12px;margin:0 18px;padding:20px 0;font-size:10px}.site-footer>span:last-child{display:none}.footer-wordmark{font-size:18px}.modal-backdrop{padding:15px}.modal{border-radius:14px;max-height:92dvh;padding:22px}.modal-heading h2{font-size:21px}.modal-heading{margin-bottom:16px}.dialog-copy{font-size:13px}.field{font-size:12px}.field input{font-size:16px}.error-banner{margin:15px 18px 0;font-size:12px}.section-heading{align-items:flex-start;margin:30px 0 23px}.section-heading h1{font-size:30px}.section-heading p{font-size:13px}.section-heading>.button{white-space:nowrap;padding:10px;font-size:11px}.lobby-grid{grid-template-columns:1fr;gap:18px}.lobby-panel{padding:20px}.section-heading.compact{flex-direction:column;align-items:flex-start;gap:9px}.room-code>span{letter-spacing:6px;font-size:34px}.lobby-note{font-size:12px}.selected-game-panel .game-preview{height:190px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:13px}.stat-card{border-radius:10px;padding:18px}.stat-card>span{font-size:11px}.stat-card strong{font-size:30px}.history-row{grid-template-columns:1fr 53px;gap:12px;padding:16px}.history-game{gap:10px}.history-game strong{font-size:13px}.history-game div>span{font-size:10px}.history-icon{width:36px;height:36px}.history-result{grid-column:1/3;justify-content:flex-start;padding-left:46px;font-size:11px}.empty-history{padding:65px 15px}.empty-history h2{font-size:21px}.empty-history p{font-size:13px}}@media(max-width:360px){.header-inner{gap:15px}nav{gap:12px}.room-code>span{font-size:28px}}@media(max-height:600px)and (orientation:landscape){.site-header{height:54px}}.simple-header{background:0 0;border:0;height:64px}.simple-header .header-inner{gap:16px;max-width:1248px;padding:0 24px}.simple-header .brand{letter-spacing:-1px;font-size:22px}.pong-home{text-align:center;max-width:440px;padding:54px 24px 40px}.pong-home>h1{letter-spacing:5px;color:#0000;filter:drop-shadow(0 0 24px #9497ff30);background:linear-gradient(110deg,#76d6ff 10%,#c6a2ff 60%,#ffa8cb);-webkit-background-clip:text;background-clip:text;margin-bottom:34px;font-size:clamp(54px,12vw,72px);font-weight:700;line-height:1.1}.pong-home .mode-switch{width:100%}.pong-home .mode-switch>button{flex:1;justify-content:center;min-width:0;padding:13px 8px;font-size:14px}.home-options{margin-top:28px}.home-options h2{color:var(--muted);margin-bottom:15px;font-size:14px;font-weight:400}.difficulty-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.difficulty-options>button{min-height:52px;padding:12px 8px}.difficulty-options>.difficulty-easy{color:#b7ffe3;background:linear-gradient(135deg,#1d624c,#173c39);border-color:#419f84;box-shadow:0 4px 20px #37e9a51c}.difficulty-options>.difficulty-medium{color:#ffedb4;background:linear-gradient(135deg,#795025,#453326);border-color:#b88946;box-shadow:0 4px 20px #ffc3611c}.difficulty-options>.difficulty-hard{color:#ffd1e1;background:linear-gradient(135deg,#813757,#4d274b);border-color:#b45887;box-shadow:0 4px 20px #ff78b71c}.difficulty-options>.button:hover{filter:brightness(1.15);border-color:currentColor;transform:translateY(-2px)}.multiplayer-options{grid-template-columns:1fr;gap:12px;display:grid}.multiplayer-options>.button{min-height:50px}.multiplayer-options>.text-button{margin-top:2px}.mode-detail{color:#9e8abb;margin:19px 0;font-size:11px;display:block}.search-page{justify-content:center;align-items:center;min-height:calc(100dvh - 190px);padding:55px 24px;display:flex}.search-panel{text-align:center;background:#13141f;border:1px solid #3a304c;border-radius:18px;flex-direction:column;align-items:center;width:100%;max-width:580px;padding:45px 30px;display:flex}.search-panel h1{letter-spacing:-.7px;margin:17px 0 12px;font-size:29px;font-weight:600}.search-panel>p{color:#9c97ad;max-width:390px;font-size:14px;line-height:1.75}.search-panel>small{color:#7a748c;margin-top:20px}.search-radar{color:#c0a1ff;justify-content:center;align-items:center;width:130px;height:130px;margin-bottom:20px;display:flex;position:relative}.search-radar>span{background:#a07ef50b;border:1px solid #9975cd;border-radius:50%;animation:2.4s ease-out infinite search-pulse;position:absolute;top:12px;right:12px;bottom:12px;left:12px}.search-radar>span:nth-child(2){animation-delay:1.2s}.search-detail{color:#b599de;align-items:center;gap:9px;margin-top:23px;font-size:13px;display:flex}.search-panel .mode-detail{margin-bottom:23px}.pong-stats{grid-template-columns:repeat(3,minmax(0,1fr))}@keyframes search-pulse{0%{opacity:.7;transform:scale(.65)}to{opacity:0;transform:scale(1.25)}}@media(max-width:600px){.simple-header{height:56px}.simple-header .header-inner{padding:0 18px}.pong-home{padding:38px 22px 30px}.search-page{padding:28px 18px}.search-panel{padding:30px 18px}.search-panel h1{font-size:24px}.search-panel>p{font-size:13px}.pong-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.pong-stats .stat-card{padding:14px 10px}.pong-stats .stat-card>span{font-size:10px}}body.in-game{overscroll-behavior:none;background:#10131e;overflow:hidden}.play-page{touch-action:none;width:100dvw;max-width:none;height:100dvh;margin:0;padding:0;position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden}.game-stage{-webkit-user-select:none;user-select:none;background:#10131e;border:0;border-radius:0;width:100%;height:100%;min-height:0;margin:0;position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.game-stage[hidden]{display:none!important}.arena-canvas{pointer-events:none;touch-action:none;width:100%;height:100%;display:block}.player-0{color:var(--blue)}.player-1{color:var(--purple)}.player-0 .player-avatar{color:#a4c8ff;background:#283b5b}.player-1 .player-avatar{color:#d1b3ff;background:#3a2751}.court-hud{pointer-events:none;z-index:2;position:absolute;top:0;right:0;bottom:0;left:0}.court-pause,.court-fullscreen{top:max(12px,env(safe-area-inset-top));color:#e4e6f3;pointer-events:auto;background:#ffffff0c;border:1px solid #ffffff30;border-radius:50%;width:44px;height:44px;position:absolute}.court-pause{left:max(16px,env(safe-area-inset-left))}.court-fullscreen{right:max(16px,env(safe-area-inset-right))}.scoreboard{top:max(10px,env(safe-area-inset-top));display:flex;position:absolute;inset-inline:0}.score-player{flex-direction:column;flex:1;align-items:center;gap:2px;min-width:0;display:flex}.score-player>span{text-overflow:ellipsis;white-space:nowrap;max-width:65%;font-size:13px;font-weight:500;overflow:hidden}.score-player b{font:600 clamp(28px,7dvh,40px)/1 Space Grotesk Variable,sans-serif}.touch-controls{pointer-events:none;touch-action:none;-webkit-user-select:none;user-select:none;z-index:2;--control-size:clamp(64px, 20dvh, 96px);--control-edge:max(20px, env(safe-area-inset-left), env(safe-area-inset-right));position:absolute;top:0;right:0;bottom:0;left:0}.control-pad{display:contents}.direction{width:var(--control-size);height:var(--control-size);color:#98c3ff;touch-action:none;-webkit-touch-callout:none;pointer-events:auto;background:#6ba8ff17;border:2px solid #81b6ff55;border-radius:50%;justify-content:center;align-items:center;padding:0;transition:background .1s,border-color .1s;display:flex;position:absolute}.player-1 .direction{color:#cbb3ff;background:#ad8bff17;border-color:#c3a2ff55}.direction[data-pressed],.direction:active{background:#6ba8ff55;border-color:#9ec8ff}.player-1 .direction[data-pressed],.player-1 .direction:active{background:#ad8bff55;border-color:#ceb7ff}.direction:disabled{opacity:.25}.control-pad.player-0 .direction{left:var(--control-edge)}.control-pad.player-1 .direction{right:var(--control-edge)}.direction-up{top:31%}.direction-down{bottom:max(18px,env(safe-area-inset-bottom))}.single-controls .control-pad .direction-up{left:var(--control-edge);top:auto;right:auto;bottom:max(18px,env(safe-area-inset-bottom))}.single-controls .control-pad .direction-down{right:var(--control-edge);left:auto}.countdown-overlay,.pause-overlay,.result-overlay{z-index:5;justify-content:center;align-items:center;display:flex;position:absolute;top:0;right:0;bottom:0;left:0}.countdown-overlay{pointer-events:none;background:#10131e60}.countdown-overlay>span{color:#dec4ff;font:600 clamp(64px,23dvh,110px)/1 Space Grotesk Variable,sans-serif;animation:.8s ease-out countdown}.pause-overlay,.result-overlay{background:#090b11c9;padding:12px}.pause-card,.result-card{text-align:center;touch-action:pan-y;background:#201929;border:1px solid #514066;border-radius:16px;flex-direction:column;align-items:center;gap:10px;width:min(340px,100%);max-height:calc(100dvh - 24px);padding:18px 22px;display:flex;position:relative;overflow-y:auto}.pause-card h2,.result-card h2{letter-spacing:-.6px;font-size:24px;font-weight:600}.pause-card p,.result-card p,.pause-card small,.result-card small{color:#bba8cf;font-size:12px;line-height:1.5}.pause-card>.button,.result-card>.button{width:100%}.pause-options{gap:10px;width:100%;display:flex}.pause-options .button{flex:1;padding:10px}.pause-tools{gap:16px;display:flex}.pause-card .text-button,.result-card .text-button{padding:3px 8px}.result-card{animation:.35s ease-out result-in}.result-close{position:absolute;top:6px;right:6px}.victory-icon{color:#f5c885;background:#ffba6a14;border-radius:50%;padding:10px;display:flex}.final-score{align-items:center;gap:20px;font:600 32px/1 Space Grotesk Variable,sans-serif;display:flex}.final-score>span:nth-child(2){color:#807088;font-size:23px}.show-results{bottom:max(18px,env(safe-area-inset-bottom));z-index:3;position:absolute;left:50%;transform:translate(-50%)}.rotate-screen{text-align:center;background:radial-gradient(at 20% 25%,#17394c,#0000 65%),radial-gradient(at 85% 75%,#352349,#0000 65%),#10131e;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:24px;display:flex;position:absolute;top:0;right:0;bottom:0;left:0}.rotate-screen>svg{color:#bda5ff;transform:rotate(-90deg)}.rotate-screen h2{font-size:26px;font-weight:600}.rotate-screen p{color:#a5a3bc;font-size:14px}.rotate-screen .button{margin-top:8px}.in-game .modal-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}.in-game .modal{touch-action:pan-y}.in-game .error-banner{inset:max(8px,env(safe-area-inset-top)) 70px auto;z-index:60;max-width:600px;margin:auto;position:fixed}@media(max-height:360px)and (orientation:landscape){.pause-card,.result-card{gap:7px;padding:12px 18px}.pause-card h2,.result-card h2{font-size:21px}.pause-tools .icon-button{height:32px}.victory-icon{display:none}}.touch-controls{display:none}@media(any-pointer:coarse){.touch-controls{display:block}}.touch-controls.touch-capable{display:block}.player-0 .direction,.player-1 .direction{color:currentColor;border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.player-0 .direction,.player-1 .direction{border-color:color-mix(in srgb,currentColor 40%,transparent)}}.player-0 .direction,.player-1 .direction{background:currentColor}@supports (color:color-mix(in lab,red,red)){.player-0 .direction,.player-1 .direction{background:color-mix(in srgb,currentColor 10%,transparent)}}.player-0 .direction[data-pressed],.player-1 .direction[data-pressed],.direction:active{background:currentColor;border-color:currentColor}@supports (color:color-mix(in lab,red,red)){.player-0 .direction[data-pressed],.player-1 .direction[data-pressed],.direction:active{background:color-mix(in srgb,currentColor 35%,transparent)}}.skins-button{width:100%;min-height:48px;margin-top:26px}.skin-preview{border:1px solid #3e4053;border-radius:12px;justify-content:space-between;align-items:center;height:158px;margin-bottom:20px;padding:0 24px;display:flex;position:relative;overflow:hidden}.skin-preview:before{content:"";border-left:2px dashed #ffffff20;position:absolute;top:15px;right:50%;bottom:15px;left:50%}.skin-preview>i{border-radius:4px;width:9px;height:48px}.skin-preview>b{background:#fff;border-radius:50%;width:10px;height:10px;transform:translate(30px,20px)}.skin-section{border:0;margin:0 0 22px;padding:0}.skin-section legend{color:#b5b0c9;margin-bottom:11px;font-size:13px}.skin-colors,.skin-backgrounds{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.skin-colors button,.skin-backgrounds button{color:#c4bfd4;text-align:left;background:#11141e;border:1px solid #373342;border-radius:9px;padding:10px;font-size:12px}.skin-colors button[aria-pressed=true],.skin-backgrounds button[aria-pressed=true]{color:#f0e6ff;background:#2f2541;border-color:#baa0f5}.skin-colors button>span{gap:6px;margin-bottom:9px;display:flex}.skin-colors i{border-radius:50%;width:20px;height:20px;display:block}.skin-backgrounds button>span{border-radius:5px;height:57px;margin-bottom:9px;display:block}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
