﻿:root{--bg: #08070d;--panel: rgba(255,255,255,.075);--panel-strong: rgba(255,255,255,.105);--border: rgba(255,255,255,.12);--text: #ffffff;--muted: rgba(255,255,255,.64);--muted-soft: rgba(255,255,255,.46);--dark: #09090b;--pink: #d946ef;--rose: #f43f5e;--orange: #f59e0b;--cyan: #22d3ee;--green: #34d399;--radius-xl: 28px;--shadow: 0 30px 90px rgba(0,0,0,.38)}*{box-sizing:border-box}html{min-height:100%}body{min-height:100%;margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text);overflow-x:hidden}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.system-shell{position:relative;min-height:100vh;overflow-x:hidden;background:radial-gradient(circle at 12% 18%, rgba(217, 70, 239, 0.19), transparent 34%),radial-gradient(circle at 92% 2%, rgba(34, 211, 238, 0.15), transparent 30%),radial-gradient(circle at 65% 100%, rgba(245, 158, 11, 0.11), transparent 34%),var(--bg)}.bg-glow{position:fixed;z-index:0;border-radius:999px;filter:blur(80px);pointer-events:none}.bg-glow-one{width:420px;height:420px;left:-150px;top:70px;background:rgba(217,70,239,.28)}.bg-glow-two{width:520px;height:520px;right:-190px;top:-140px;background:rgba(34,211,238,.2)}.bg-grid{position:fixed;inset:0;z-index:0;background-image:radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px);background-size:34px 34px;opacity:.22;pointer-events:none}.glass-panel{position:relative;z-index:1;border:1px solid var(--border);border-radius:var(--radius-xl);background:linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.055));box-shadow:var(--shadow);backdrop-filter:blur(18px)}.brand-row{display:flex;align-items:center;gap:14px}.brand-mark{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border-radius:19px;background:linear-gradient(135deg, var(--pink), var(--orange));box-shadow:0 20px 50px rgba(217,70,239,.26);font-size:25px}.brand-title{font-size:20px;font-weight:950;line-height:1.05;letter-spacing:-0.03em}.brand-subtitle{margin-top:4px;color:var(--muted-soft);font-size:12px;font-weight:700}.auth-badge{display:inline-flex;width:fit-content;max-width:100%;margin-top:34px;padding:10px 16px;border:1px solid rgba(240,171,252,.22);border-radius:999px;background:rgba(217,70,239,.12);color:hsla(0,0%,100%,.88);font-size:14px;font-weight:850;line-height:1.2}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;border:0;border-radius:18px;padding:16px 26px;font-size:16px;font-weight:950;transition:transform .18s ease,border-color .18s ease,background .18s ease}.btn:hover{transform:translateY(-1px)}.btn-primary{color:#fff;background:linear-gradient(90deg, var(--pink), var(--rose), var(--orange));box-shadow:0 25px 70px rgba(217,70,239,.3)}.btn-secondary{color:#fff;background:hsla(0,0%,100%,.07);border:1px solid var(--border)}.full-btn{width:100%}.auth-wrap{position:relative;z-index:2;width:min(560px,100%);min-height:100vh;margin:0 auto;padding:28px 18px;display:grid;place-items:center}.auth-wrap-wide{width:min(1180px,100%);grid-template-columns:1.15fr .85fr;gap:22px}.auth-hero,.auth-side,.auth-card{width:100%;padding:34px}.auth-hero{min-height:620px;display:flex;flex-direction:column;justify-content:center}.auth-hero h1,.auth-card h1,.dashboard-hero h1{margin:24px 0 0;font-size:clamp(30px,4.2vw,46px);line-height:1.08;letter-spacing:-0.035em;font-weight:950}.auth-card h1{font-size:clamp(34px,6vw,52px);text-align:center}.dashboard-hero h1 span{background:linear-gradient(90deg, #f0abfc, #fde68a, #a5f3fc);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0)}.hero-copy,.form-copy,.dashboard-hero p{margin:22px 0 0;max-width:680px;color:var(--muted);font-size:18px;line-height:1.75}.auth-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}.auth-side{display:grid;gap:14px}.side-card{padding:22px;border:1px solid hsla(0,0%,100%,.09);border-radius:24px;background:rgba(0,0,0,.22)}.side-card span{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;background:linear-gradient(135deg, var(--pink), var(--cyan));font-weight:950}.side-card strong{display:block;margin-top:16px;font-size:20px}.side-card p{margin:8px 0 0;color:var(--muted-soft);line-height:1.6}.auth-card{max-width:520px}.centered-brand{justify-content:center;text-align:left}.back-link{display:inline-flex;margin-bottom:22px;color:hsla(0,0%,100%,.68);font-weight:800}.auth-form{margin-top:28px;display:grid;gap:14px}.auth-form label,.inline-form{display:grid;gap:8px}.auth-form span{color:hsla(0,0%,100%,.72);font-size:13px;font-weight:850}input{width:100%;height:54px;border:1px solid var(--border);border-radius:17px;padding:0 15px;outline:none;color:#fff;background:rgba(0,0,0,.3)}input:focus{border-color:rgba(34,211,238,.46);box-shadow:0 0 0 4px rgba(34,211,238,.08)}.switch-text{margin:22px 0 0;color:var(--muted-soft);text-align:center}.switch-text a{color:#a5f3fc;font-weight:900}.notice-card{text-align:center}.notice-card .brand-mark{margin:0 auto}.topbar{position:relative;z-index:9999;width:min(1180px,100%);margin:0 auto;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:16px;overflow:visible}.app-topbar{align-items:center}.topbar-right{position:relative;z-index:10000;display:flex;align-items:center;gap:14px;overflow:visible}.dashboard-wrap{position:relative;z-index:2;width:min(1180px,100%);margin:0 auto;padding:16px 24px 80px}.dashboard-hero{padding:34px;min-height:360px}.dashboard-hero h1{font-size:clamp(38px,6vw,64px)}.app-nav{display:flex;align-items:center;gap:6px;padding:7px;border:1px solid hsla(0,0%,100%,.1);border-radius:999px;background:hsla(0,0%,100%,.065);backdrop-filter:blur(18px);box-shadow:0 18px 50px rgba(0,0,0,.22)}.app-nav-btn{border:0;border-radius:999px;padding:12px 22px;color:hsla(0,0%,100%,.62);background:rgba(0,0,0,0);font-weight:950;white-space:nowrap;transition:.18s ease}.app-nav-btn:hover{color:#fff;background:hsla(0,0%,100%,.08)}.app-nav-btn.active{color:var(--dark);background:#fff;box-shadow:0 10px 26px hsla(0,0%,100%,.12)}.app-main{padding-top:20px}.app-screen{display:none}.app-screen.active{display:block}.home-system-grid{display:grid;gap:22px}.hero-actions-row{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:28px}.home-info-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:22px}.info-card{padding:26px}.info-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg, var(--pink), var(--cyan));box-shadow:0 18px 44px rgba(34,211,238,.12);font-size:23px}.info-card h3{margin:18px 0 8px;font-size:21px;line-height:1.16}.info-card p,.news-panel p,.rule-card p{margin:0;color:var(--muted);line-height:1.65}.news-panel{padding:30px}.news-panel h2{margin:8px 0 12px;font-size:30px;line-height:1.1}.small-label{color:rgba(165,243,252,.8);font-size:12px;font-weight:950;letter-spacing:.22em;text-transform:uppercase}.empty-text{margin:0;color:var(--muted-soft);line-height:1.6}.avatar{width:46px;height:46px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(135deg, var(--pink), var(--cyan));font-weight:950}.room-code-box{width:min(520px,100%);margin:26px 0 20px;padding:18px;border:1px solid hsla(0,0%,100%,.1);border-radius:22px;background:rgba(0,0,0,.25)}.room-code-box span,.room-code-box small{display:block;color:var(--muted-soft);font-weight:800}.room-code-box strong{display:block;margin:8px 0;font-size:34px;letter-spacing:.16em}.profile-menu{position:relative;z-index:10001}.profile-trigger{position:relative;z-index:10002;width:62px;height:62px;border:1px solid hsla(0,0%,100%,.18);border-radius:999px;background:hsla(0,0%,100%,.08);display:grid;place-items:center;padding:7px;box-shadow:0 20px 60px rgba(0,0,0,.28)}.profile-trigger>span{width:100%;height:100%;display:grid;place-items:center;border-radius:999px;background:linear-gradient(135deg, var(--pink), var(--orange));color:#fff;font-size:25px;font-weight:950}.profile-notification{position:absolute;top:-5px;right:-5px;min-width:26px;height:26px;padding:0 7px;display:grid;place-items:center;border-radius:999px;background:linear-gradient(135deg, #f43f5e, #f59e0b);color:#fff;border:2px solid #09090b;font-size:12px;font-weight:950}.profile-dropdown{position:absolute;z-index:10003;top:calc(100% + 14px);right:0;width:min(360px,100vw - 28px);padding:18px;border:1px solid hsla(0,0%,100%,.12);border-radius:28px;background:rgba(12,11,20,.94);backdrop-filter:blur(22px);box-shadow:0 30px 90px rgba(0,0,0,.46);opacity:0;visibility:hidden;transform:translateY(-8px) scale(0.98);transition:.18s ease}.profile-dropdown.open{opacity:1;visibility:visible;transform:translateY(0) scale(1)}.profile-dropdown-head{display:flex;align-items:center;gap:14px;padding:4px 4px 16px;margin-bottom:14px;border-bottom:1px solid hsla(0,0%,100%,.1)}.profile-dropdown-avatar{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg, var(--pink), var(--orange));color:#fff;font-size:22px;font-weight:950}.profile-dropdown-head strong,.profile-dropdown-head span{display:block;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-dropdown-head strong{color:#fff;font-size:18px;font-weight:950}.profile-dropdown-head span{margin-top:4px;color:var(--muted-soft);font-size:13px;font-weight:800}.profile-dropdown-btn{width:100%;min-height:54px;margin-top:10px;border:0;border-radius:18px;background:hsla(0,0%,100%,.08);color:#fff;font-size:16px;font-weight:950;display:flex;align-items:center;justify-content:center;gap:10px;transition:.18s ease}.profile-dropdown-btn:hover{background:hsla(0,0%,100%,.13)}.profile-dropdown-btn.has-alert{background:rgba(217,70,239,.16)}.profile-dropdown-btn.has-alert span{min-width:28px;height:28px;display:grid;place-items:center;border-radius:999px;background:linear-gradient(135deg, var(--pink), var(--orange));color:#fff;font-size:12px}.profile-dropdown-btn.logout{background:hsla(0,0%,100%,.06);color:hsla(0,0%,100%,.86)}.modal-backdrop{position:fixed;inset:0;z-index:20000;background:rgba(0,0,0,.58);backdrop-filter:blur(8px);opacity:0;visibility:hidden;transition:.18s ease}.modal-backdrop.open{opacity:1;visibility:visible}.profile-modal,.room-modal{position:fixed;inset:0;z-index:20010;display:grid;place-items:center;padding:22px;opacity:0;visibility:hidden;pointer-events:none;transition:.18s ease}.room-modal{z-index:20020}.profile-modal.open,.room-modal.open{opacity:1;visibility:visible;pointer-events:auto}.profile-modal-card{position:relative;z-index:1;width:min(560px,100%);max-height:min(720px,100vh - 44px);overflow:auto;border:1px solid hsla(0,0%,100%,.13);border-radius:30px;background:rgba(12,11,20,.94);backdrop-filter:blur(24px);box-shadow:0 40px 110px rgba(0,0,0,.55);padding:28px}.profile-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.profile-modal-head h2{margin:7px 0 0;color:#fff;font-size:30px;line-height:1.05;letter-spacing:-0.035em}.modal-close{width:44px;height:44px;border:0;border-radius:14px;background:hsla(0,0%,100%,.08);color:#fff;font-size:28px;line-height:1}.modal-description{margin:0 0 18px;color:var(--muted);font-size:16px;line-height:1.65}.modal-form{display:grid;gap:14px}.modal-form input{height:58px;border-radius:18px}.modal-form button{min-height:58px;border:0;border-radius:18px;background:linear-gradient(90deg, var(--pink), var(--rose), var(--orange));color:#fff;font-size:16px;font-weight:950}.modal-list{display:grid;gap:12px}.modal-legacy-player-row,.modal-request-row,.request-row{display:flex;align-items:center;gap:14px;padding:14px;border-radius:22px;background:rgba(0,0,0,.25);border:1px solid hsla(0,0%,100%,.08)}.modal-legacy-player-row strong,.modal-legacy-player-row span,.modal-request-row strong,.modal-request-row span,.request-row strong,.request-row span{display:block}.modal-legacy-player-row strong,.modal-request-row strong,.request-row strong{color:#fff;font-size:17px;font-weight:950}.modal-legacy-player-row span,.modal-request-row span,.request-row span{margin-top:3px;color:var(--muted-soft);font-size:13px;font-weight:750}.modal-request-row,.request-row{justify-content:space-between}.modal-request-row form,.request-row form{display:flex;align-items:center;gap:8px}.accept-btn,.reject-btn{width:42px;height:42px;border:0;border-radius:14px;color:#fff;font-size:20px;font-weight:950}.accept-btn{background:rgba(52,211,153,.22)}.reject-btn{background:rgba(244,63,94,.22)}.start-preview-layout{display:grid;grid-template-columns:minmax(0, 1.1fr) minmax(380px, 0.9fr);gap:24px;align-items:start}.start-preview-main{min-height:520px;padding:44px 36px;display:flex;flex-direction:column;justify-content:center}.start-preview-main h1{margin:28px 0 0;max-width:720px;color:#fff;font-size:clamp(42px,5.8vw,68px);line-height:.95;letter-spacing:-0.06em;font-weight:950}.start-preview-main p{margin:24px 0 0;max-width:680px;color:var(--muted);font-size:18px;line-height:1.75}.start-preview-main form{margin-top:34px}.start-preview-main .btn{width:fit-content;min-width:190px;margin-top:34px}.start-preview-side{display:grid;gap:24px}.start-legacy-players-panel,.start-join-panel{padding:30px}.start-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.start-panel-head h2,.start-join-panel h2{margin:8px 0 0;color:#fff;font-size:30px;line-height:1.08;letter-spacing:-0.035em;font-weight:950}.start-add-legacy-player-btn{min-height:48px;border:0;border-radius:18px;padding:0 18px;color:var(--dark);background:#fff;font-weight:950;white-space:nowrap}.start-legacy-players-list{display:grid;gap:14px}.start-legacy-player-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:14px;border:1px solid hsla(0,0%,100%,.09);border-radius:24px;background:rgba(0,0,0,.25)}.start-legacy-player-left{display:flex;align-items:center;gap:14px;min-width:0}.start-avatar-wrap{position:relative;flex:0 0 auto}.status-dot{position:absolute;top:-2px;right:-2px;width:13px;height:13px;border-radius:999px;border:2px solid #0d0c13;background:var(--green)}.start-legacy-player-row strong,.start-legacy-player-row span{display:block}.start-legacy-player-row strong{color:#fff;font-size:16px;font-weight:950}.start-legacy-player-row span{margin-top:3px;color:var(--muted-soft);font-size:13px;font-weight:750}.start-legacy-player-row button{min-height:44px;border:0;border-radius:16px;padding:0 16px;color:#fff;background:hsla(0,0%,100%,.08);font-weight:950}.start-legacy-player-row button:disabled{opacity:.45;cursor:not-allowed}.start-join-form{display:grid;grid-template-columns:1fr auto;gap:12px;margin-top:20px}.start-join-form input{height:58px;border-radius:18px}.start-join-form button{min-width:78px;min-height:58px;border:0;border-radius:18px;color:var(--dark);background:#fff;font-weight:950}.rules-heading{max-width:780px;margin:0 auto 34px;text-align:center}.rules-heading h1{margin:24px 0 0;font-size:clamp(38px,6vw,62px);line-height:.98;letter-spacing:-0.05em}.rules-heading p{margin:20px auto 0;max-width:680px;color:var(--muted);font-size:18px;line-height:1.7}.rules-grid{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:22px}.rule-card{padding:28px}.rule-card span{width:52px;height:52px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg, var(--pink), var(--cyan));font-size:22px;font-weight:950}.rule-card h3{margin:18px 0 8px;font-size:22px;line-height:1.16}.room-modal-card{position:relative;z-index:1;isolation:isolate;width:min(1120px,100%);max-height:calc(100vh - 48px);overflow:auto;display:grid;grid-template-columns:minmax(0, 1.05fr) minmax(360px, 0.95fr);gap:28px;padding:34px;border:1px solid hsla(0,0%,100%,.13);border-radius:34px;background:rgba(15,14,26,.96);backdrop-filter:blur(24px);box-shadow:0 44px 120px rgba(0,0,0,.62)}.room-modal-close{position:absolute;top:22px;right:22px;z-index:999999;width:50px;height:50px;padding:0;border:1px solid hsla(0,0%,100%,.16);border-radius:17px;display:grid;place-items:center;color:#fff;background:rgba(37,36,48,.98);box-shadow:0 22px 60px rgba(0,0,0,.48),0 0 0 1px hsla(0,0%,100%,.04);font-size:31px;line-height:1;font-weight:950;pointer-events:auto;transform:translateZ(0);isolation:isolate}.room-modal-left h2{margin:12px 0 0;color:#fff;font-size:clamp(34px,4.4vw,54px);line-height:1;letter-spacing:-0.05em;font-weight:950}.room-modal-left p{margin:22px 0 0;max-width:620px;color:var(--muted);font-size:18px;line-height:1.7}.room-modal-left h3{margin:34px 0 18px;color:#fff;font-size:24px;line-height:1.1;font-weight:950}.room-legacy-player-select-list{display:grid;gap:14px}.room-legacy-player-select{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:82px;padding:14px;border:1px solid hsla(0,0%,100%,.09);border-radius:24px;background:rgba(0,0,0,.25)}.room-legacy-player-select strong,.room-legacy-player-select span{display:block}.room-legacy-player-select strong{color:#fff;font-size:17px;font-weight:950}.room-legacy-player-select span{margin-top:3px;color:var(--muted-soft);font-size:13px;font-weight:750}.room-legacy-player-select button{width:74px;height:48px;border:0;border-radius:17px;color:#fff;background:hsla(0,0%,100%,.1);font-size:20px;font-weight:950}.room-modal-right{align-self:center;padding:28px;border:1px solid hsla(0,0%,100%,.09);border-radius:30px;background:rgba(0,0,0,.25)}.qr-placeholder{height:210px;display:grid;place-items:center;border-radius:24px;background:#fff;color:#000}.qr-placeholder span{font-size:74px;font-weight:950;line-height:1}.room-code-display{margin-top:26px;text-align:center}.room-code-display span{display:block;color:var(--muted-soft);font-size:13px;font-weight:950;letter-spacing:.24em;text-transform:uppercase}.room-code-display strong{display:block;margin-top:12px;color:#fff;font-size:clamp(34px,4vw,48px);line-height:1;letter-spacing:-0.035em;font-weight:950}.copy-room-code-btn,.start-room-btn{width:100%;min-height:58px;margin-top:22px;border:0;border-radius:18px;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(90deg, var(--cyan), #8b5cf6, var(--pink));font-size:16px;font-weight:950}.start-room-btn{margin-top:12px;color:var(--dark);background:#fff}@media(max-width: 1000px){.start-preview-layout,.room-modal-card{grid-template-columns:1fr}.start-preview-main{min-height:auto}.room-modal-right{align-self:stretch}}@media(max-width: 900px){.auth-wrap-wide{grid-template-columns:1fr}.auth-hero{min-height:auto}.topbar{align-items:stretch;flex-direction:column}.topbar-right{width:100%;display:grid;grid-template-columns:1fr auto}.app-nav{width:100%}.app-nav-btn{flex:1;padding:12px 12px}.home-info-grid,.rules-grid{grid-template-columns:1fr}}@media(max-width: 640px){.auth-wrap{padding:16px}.auth-hero,.auth-side,.auth-card,.dashboard-hero,.info-card,.news-panel,.rule-card,.start-preview-main,.start-legacy-players-panel,.start-join-panel,.profile-modal-card,.room-modal-card{padding:22px;border-radius:24px}.auth-hero h1,.auth-card h1,.dashboard-hero h1,.start-preview-main h1,.rules-heading h1,.room-modal-left h2{font-size:36px;letter-spacing:-0.045em}.hero-copy,.form-copy,.dashboard-hero p,.start-preview-main p{font-size:16px;line-height:1.65}.auth-actions,.hero-actions-row{display:grid;grid-template-columns:1fr}.btn,.hero-actions-row form,.hero-actions-row .btn,.start-preview-main .btn,.start-preview-main form,.start-preview-main form button{width:100%}.topbar{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:18px 16px}.topbar .brand-row{width:calc(100% - 74px);min-width:0}.topbar-right{position:static;width:100%;display:block;z-index:auto}.app-nav{width:100%;overflow:visible}.profile-menu{position:absolute;top:18px;right:16px;z-index:10020}.profile-trigger{width:58px;height:58px}.profile-trigger>span{font-size:23px}.profile-dropdown{right:0;transform:translateY(-8px) scale(0.98)}.profile-dropdown.open{transform:translateY(0) scale(1)}.dashboard-wrap{padding:8px 16px 56px}.home-info-grid{grid-template-columns:1fr}.start-panel-head,.start-legacy-player-row,.modal-legacy-player-row,.modal-request-row,.request-row{align-items:stretch;flex-direction:column}.start-add-legacy-player-btn,.start-legacy-player-row form,.start-legacy-player-row button{width:100%}.room-legacy-player-select{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.room-legacy-player-select form{width:auto;flex:0 0 auto}.room-legacy-player-select button{width:58px;height:46px;min-width:58px;flex:0 0 58px}.start-join-form{grid-template-columns:1fr}.profile-modal,.room-modal{padding:12px;align-items:center;justify-items:center}.profile-modal-card,.room-modal-card{width:100%;max-height:calc(100dvh - 24px);overflow:auto;-webkit-overflow-scrolling:touch}.room-modal-card{display:grid;grid-template-columns:1fr;gap:18px;padding:24px 18px}.room-modal-close{top:14px;right:14px;width:46px;height:46px;border-radius:16px;font-size:29px;z-index:999999}.room-modal-left{padding-top:46px}.room-modal-left p{font-size:15px;line-height:1.55}.room-modal-left h3{margin:22px 0 14px}.room-legacy-player-select{min-height:72px;padding:12px;border-radius:20px}.room-modal-right{padding:18px;border-radius:24px}.qr-placeholder{height:150px}.modal-request-row form,.request-row form{width:100%}.modal-request-row form button,.request-row form button{flex:1}}body.modal-open{height:100dvh;overflow:hidden;touch-action:none}body.modal-open .system-shell{height:100dvh;overflow:hidden}.profile-modal,.room-modal{overflow:hidden}.profile-modal.open,.room-modal.open{overflow:hidden}.profile-modal-card,.room-modal-card{overscroll-behavior:contain}@media(max-width: 640px){.profile-modal,.room-modal{position:fixed;inset:0;width:100vw;height:100dvh;overflow:hidden;padding:12px}.profile-modal-card,.room-modal-card{max-height:calc(100dvh - 24px);overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}}@media(max-width: 760px){.dashboard-wrap.app-main{padding-left:20px;padding-right:20px}.start-preview-layout.mobile-lobby-flow{width:100%;max-width:none;display:flex;flex-direction:column;align-items:stretch;gap:14px}.start-preview-layout.mobile-lobby-flow>.mobile-lobby-create{order:1;width:100%;max-width:none;min-height:0;height:auto;box-sizing:border-box;padding:22px 24px;border-radius:26px;justify-content:flex-start}.start-preview-layout.mobile-lobby-flow>.start-preview-side{order:2;width:100%;max-width:none;display:flex;flex-direction:column;align-items:stretch;gap:14px}.start-preview-layout.mobile-lobby-flow .mobile-lobby-join{order:1;width:100%;max-width:none;box-sizing:border-box;padding:22px 24px;border-radius:26px}.start-preview-layout.mobile-lobby-flow .mobile-lobby-legacy-players{order:2;width:100%;max-width:none;box-sizing:border-box;padding:22px 24px;border-radius:26px}.start-preview-layout.mobile-lobby-flow .mobile-lobby-create .auth-badge{margin:0 0 16px;padding:8px 15px;font-size:12px;line-height:1}.start-preview-layout.mobile-lobby-flow .mobile-lobby-create h1{max-width:100%;margin:0;font-size:clamp(34px,8vw,44px);line-height:.98;letter-spacing:-0.05em}.start-preview-layout.mobile-lobby-flow .mobile-lobby-create p{max-width:100%;margin:16px 0 0;font-size:16px;line-height:1.45}.start-preview-layout.mobile-lobby-flow .mobile-lobby-create form{width:100%;margin:0}.start-preview-layout.mobile-lobby-flow .mobile-lobby-create .btn,.start-preview-layout.mobile-lobby-flow .mobile-lobby-create .btn-primary{width:100%;min-width:0;min-height:56px;height:56px;margin-top:22px;border-radius:18px;font-size:18px}.start-preview-layout.mobile-lobby-flow .mobile-lobby-join .small-label,.start-preview-layout.mobile-lobby-flow .mobile-lobby-legacy-players .small-label{font-size:12px;line-height:1}.start-preview-layout.mobile-lobby-flow .mobile-lobby-join h2,.start-preview-layout.mobile-lobby-flow .mobile-lobby-legacy-players h2{margin-top:10px;font-size:clamp(34px,8vw,44px);line-height:1;letter-spacing:-0.045em}.start-preview-layout.mobile-lobby-flow .start-join-form{display:grid;grid-template-columns:1fr;gap:12px;margin-top:20px}.start-preview-layout.mobile-lobby-flow .start-join-form input,.start-preview-layout.mobile-lobby-flow .start-join-form button{width:100%;min-height:56px;height:56px;border-radius:18px;font-size:17px}.start-preview-layout.mobile-lobby-flow .start-panel-head{display:grid;grid-template-columns:1fr;align-items:stretch;gap:16px;margin-bottom:20px}.start-preview-layout.mobile-lobby-flow .start-add-legacy-player-btn{width:100%;min-height:56px;height:56px;border-radius:18px;font-size:17px}.start-preview-layout.mobile-lobby-flow .start-legacy-players-list{margin-top:0;gap:12px}.start-preview-layout.mobile-lobby-flow .start-legacy-player-row{min-height:76px;padding:12px 14px;border-radius:22px}}@media(max-width: 430px){.dashboard-wrap.app-main{padding-left:16px;padding-right:16px}.start-preview-layout.mobile-lobby-flow{gap:12px}.start-preview-layout.mobile-lobby-flow>.mobile-lobby-create,.start-preview-layout.mobile-lobby-flow .mobile-lobby-join,.start-preview-layout.mobile-lobby-flow .mobile-lobby-legacy-players{padding:18px;border-radius:24px}.start-preview-layout.mobile-lobby-flow .mobile-lobby-create .auth-badge{margin-bottom:12px}.start-preview-layout.mobile-lobby-flow .mobile-lobby-create h1{font-size:clamp(30px,8.4vw,38px)}.start-preview-layout.mobile-lobby-flow .mobile-lobby-create p{margin-top:12px;font-size:14px;line-height:1.4}.start-preview-layout.mobile-lobby-flow .mobile-lobby-create .btn,.start-preview-layout.mobile-lobby-flow .mobile-lobby-create .btn-primary{min-height:52px;height:52px;margin-top:18px;font-size:16px}.start-preview-layout.mobile-lobby-flow .mobile-lobby-join h2,.start-preview-layout.mobile-lobby-flow .mobile-lobby-legacy-players h2{font-size:clamp(30px,8.4vw,38px)}}.game-brand.account-game-brand{min-width:0;display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0)}.game-brand.account-game-brand img{width:48px;height:48px;max-width:48px;object-fit:contain;flex:0 0 48px;filter:drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35))}.game-brand.account-game-brand strong,.game-brand.account-game-brand span{display:block}.game-brand.account-game-brand strong{color:#fff;font-size:17px;line-height:1.05;font-weight:950;letter-spacing:-0.02em}.game-brand.account-game-brand span{margin-top:4px;color:var(--muted-soft);font-size:12px;line-height:1.1;font-weight:800}.auth-game-brand{justify-content:center;margin:0 auto 26px;text-align:left}.notice-game-brand{margin-bottom:22px}.app-nav-btn,.profile-trigger,.btn,.start-add-legacy-player-btn,.start-join-form button,.copy-room-code-btn,.start-room-btn,button,a{-webkit-tap-highlight-color:rgba(0,0,0,0)}.app-nav-btn{outline:none !important}.app-nav-btn:focus,.app-nav-btn:active,.app-nav-btn:focus-visible{outline:none !important}.app-nav:focus-within,.app-nav-btn:focus-within{outline:none !important}@media(max-width: 700px){.game-brand.account-game-brand{gap:10px}.game-brand.account-game-brand img{width:46px;height:46px;max-width:46px;flex-basis:46px}.game-brand.account-game-brand strong{font-size:16px}.game-brand.account-game-brand span{font-size:11px}.auth-game-brand{margin-bottom:22px}}.delete-lobby-form{width:100%;margin-top:14px}.delete-lobby-btn{width:100%;min-height:58px;border:1px solid hsla(0,0%,100%,.14);border-radius:18px;background:linear-gradient(135deg, #7a1025, #ff315e);color:#fff;font-size:17px;font-weight:1000;cursor:pointer;box-shadow:0 18px 45px rgba(255,49,94,.16);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.delete-lobby-btn:hover{transform:translateY(-1px);filter:brightness(1.05);box-shadow:0 22px 55px rgba(255,49,94,.22)}.delete-lobby-btn:active{transform:translateY(0)}@media(max-width: 700px){.delete-lobby-form{margin-top:12px}.delete-lobby-btn{min-height:54px;border-radius:17px;font-size:16px}}.start-room-btn{background:linear-gradient(135deg, #d83cff 0%, #ff4057 52%, #ff9a00 100%) !important;color:#fff !important;border:0 !important;box-shadow:0 22px 60px rgba(255,73,92,.22) !important}.start-room-btn:hover{filter:brightness(1.05);transform:translateY(-1px)}.start-room-btn:active{transform:translateY(0)}.room-modal-right{gap:14px}.room-modal-right>.copy-room-code-btn{background:#fff !important;color:#11111a !important;border:1px solid hsla(0,0%,100%,.72) !important;box-shadow:0 16px 38px hsla(0,0%,100%,.08) !important}.room-modal-right>.copy-room-code-btn:hover{filter:brightness(0.96);transform:translateY(-1px)}.room-modal-right>.copy-room-code-btn:active{transform:translateY(0)}.room-modal-right>.start-room-btn{margin-top:0 !important;background:linear-gradient(135deg, #d83cff 0%, #ff4057 52%, #ff9a00 100%) !important;color:#fff !important;border:0 !important;box-shadow:0 22px 60px rgba(255,73,92,.22) !important}.room-modal-right>.start-room-btn:hover{filter:brightness(1.05);transform:translateY(-1px)}.room-modal-right>.start-room-btn:active{transform:translateY(0)}.delete-lobby-form{width:100%;margin-top:10px !important;padding-top:16px;border-top:1px solid hsla(0,0%,100%,.08)}.delete-lobby-btn{width:auto !important;min-height:0 !important;height:auto !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:rgba(0,0,0,0) !important;color:rgba(255,94,122,.92) !important;box-shadow:none !important;font-size:14px !important;font-weight:900 !important;letter-spacing:.01em;cursor:pointer;text-decoration:none}.delete-lobby-btn::before{content:"⚠ ";opacity:.85}.delete-lobby-btn:hover{color:#ff5e7a !important;text-decoration:underline;transform:none !important;filter:none !important;box-shadow:none !important}.delete-lobby-btn:active{transform:none !important}@media(max-width: 700px){.room-modal-right{gap:12px}.delete-lobby-form{margin-top:8px !important;padding-top:14px}.delete-lobby-btn{font-size:14px !important}}.room-modal-right{display:flex !important;flex-direction:column !important;align-items:stretch !important}.room-modal-right>.copy-room-code-btn{margin-top:26px !important;margin-bottom:16px !important;background:#fff !important;color:#11111a !important;border:1px solid hsla(0,0%,100%,.72) !important;box-shadow:0 16px 38px hsla(0,0%,100%,.08) !important}.room-modal-right>.start-room-btn{margin-top:0 !important;margin-bottom:0 !important;background:linear-gradient(135deg, #d83cff 0%, #ff4057 52%, #ff9a00 100%) !important;color:#fff !important;border:0 !important;box-shadow:0 22px 60px rgba(255,73,92,.22) !important}.delete-lobby-form{width:100% !important;margin:28px 0 0 !important;padding:20px 0 0 !important;border-top:1px solid hsla(0,0%,100%,.09) !important;display:flex !important;justify-content:center !important}.delete-lobby-btn{width:auto !important;min-width:0 !important;min-height:0 !important;height:auto !important;padding:8px 14px !important;border:1px solid rgba(255,94,122,.18) !important;border-radius:999px !important;background:rgba(255,94,122,.06) !important;color:rgba(255,110,137,.96) !important;box-shadow:none !important;font-size:14px !important;line-height:1 !important;font-weight:950 !important;letter-spacing:.01em;cursor:pointer;text-align:center !important}.delete-lobby-btn::before{content:"⚠ ";opacity:.9}.delete-lobby-btn:hover{background:rgba(255,94,122,.11) !important;color:#ff6e89 !important;text-decoration:none !important;transform:none !important;filter:none !important;box-shadow:none !important}.delete-lobby-btn:active{transform:scale(0.99) !important}@media(max-width: 700px){.room-modal-right>.copy-room-code-btn{margin-top:22px !important;margin-bottom:14px !important}.delete-lobby-form{margin-top:24px !important;padding-top:18px !important}.delete-lobby-btn{font-size:14px !important;padding:8px 13px !important}}.auth-hero h1{max-width:14ch;text-wrap:balance}.auth-hero .hero-copy{max-width:42ch;line-height:1.5}.auth-page .side-card p{line-height:1.5}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #a9f6d8;outline-offset:4px}@media(max-width: 760px){.bg-glow{display:none}.glass-panel{backdrop-filter:none}}