*{box-sizing:border-box;margin:0;padding:0}:root{--site-shell-width:clamp(1140px,calc(100vw - 144px),1280px);--site-shell-gutter:20px;--brand-primary:#2563eb;--brand-secondary:#ffb800;--brand-gradient:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);--brand-primary-hover:#1d4ed8;--brand-secondary-hover:#e5a600;--brand-gradient-hover:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);--brand-primary-rgb:37,99,235;--brand-secondary-rgb:255,184,0;--brand-gold:#ffb800;--brand-gold-light:#ffd54f;--brand-gold-dark:#e5a600;--brand-navy:#1e3a8a;--brand-navy-deep:#1e3a5f;--brand-blue:#3b82f6;--brand-blue-light:#60a5fa;--primary-color:#3b82f6;--primary-hover:#2563eb;--secondary-color:#06b6d4;--accent-color:#ffb800;--text-color:#1d1d1f;--text-light:#86868b;--bg-color:#fff;--bg-light:#f8f9fa;--bg-dark:#2c3e50;--border-color:#e1e8ed;--success-color:#27ae60;--error-color:#e74c3c;--warning-color:#f39c12;--info-color:#3498db;--radius-xs:6px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--radius-full:9999px;--changelog-card-radius:16px;--shadow-sm:0 1px 2px #0f172a0d,0 1px 3px #0f172a0a;--shadow:0 2px 6px #0f172a0f,0 4px 12px #0f172a0a;--shadow-md:0 4px 12px #0f172a12,0 2px 4px #0f172a0a;--shadow-lg:0 8px 24px #0f172a1a,0 2px 6px #0f172a0d;--shadow-xl:0 16px 40px #0f172a21,0 4px 12px #0f172a0f;--navbar-height:56px}body{color:var(--text-color);display:flex;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#fff;flex-direction:column;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,Segoe UI,Microsoft YaHei,Noto Sans SC,Roboto,sans-serif;font-weight:400;line-height:1.5}.container{max-width:1200px;margin:0 auto;padding:0 20px}.site-container{max-width:var(--site-shell-width);padding-inline:var(--site-shell-gutter);width:100%;margin-inline-start:auto;margin-inline-end:auto}.navbar{position:sticky;z-index:100;backdrop-filter:blur(20px)saturate(180%);-webkit-backdrop-filter:blur(20px)saturate(180%);background:#ffffffd1;padding:.375rem 0;transition:box-shadow .25s,background-color .25s;top:0;box-shadow:0 1px #13213c12}.navbar.is-scrolled{background:#ffffffed;box-shadow:0 1px #13213c0f,0 4px 12px #13213c0f}.navbar .container{display:flex;min-height:calc(var(--navbar-height) - .75rem);align-items: center;gap:2.25rem}.nav-brand{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:pointer;display:flex;flex-shrink:0;align-items: center;transition:opacity .2s;text-decoration:none!important;outline:none!important;border:none!important}.nav-brand:hover{opacity:.8;text-decoration:none!important;border:none!important}.nav-brand:focus{outline:none!important;text-decoration:none!important}.nav-brand:visited{text-decoration:none!important}.nav-brand-logo{display:block;object-fit:contain;pointer-events:none;width:auto;height:40px}.nav-menu{display:flex;position:relative;z-index:10;flex:1;align-items: center;gap:.25rem;min-width:0}.nav-menu>.user-menu,.nav-menu>.nav-auth-buttons{margin-left:auto}.nav-link{white-space:nowrap;position:relative;isolation:isolate;display:inline-flex;color:#5c6578;text-decoration:none;align-items: center;min-height:44px;padding:0 .875rem;transition:color .2s;font-weight:500}.nav-link--mobile-only{display:none}.nav-link:before{content:"";position:absolute;z-index:-1;border-radius:var(--radius-full);background-color:#0000;transition:background-color .2s;inset:4px 0}.nav-link:hover{color:var(--brand-primary)}.nav-link:hover:before{background-color:#13213c0d}.nav-link.active{color:var(--brand-navy);font-weight:500}.nav-link.active:before{background-color:rgba(var(--brand-primary-rgb),.14)}.nav-link:focus-visible{outline:3px solid rgba(var(--brand-primary-rgb),.24);outline-offset:-2px;border-radius:var(--radius-full)}.community-section-nav{position:relative;z-index:80;background:#fffffff5;border-bottom:1px solid #13213c17;flex-shrink:0;box-shadow:0 8px 24px #13213c09}.community-section-nav-inner{display:flex;align-items: center;min-height:60px}.community-section-nav-core,.community-section-nav-utilities{display:flex;align-items: center}.community-section-nav-core{align-self:stretch;gap:1.75rem}.community-section-nav-link{position:relative;display:inline-flex;color:#64748b;text-decoration:none;align-items: center;min-height:60px;transition:color .2s;font-size:.95rem;font-weight:600;line-height:1}.community-section-nav-link:after{content:"";position:absolute;background:var(--brand-gradient);opacity:0;border-radius:3px 3px 0 0;height:3px;transition:opacity .2s,transform .2s;bottom:-1px;left:0;right:0;transform:scaleX(.45)}.community-section-nav-link:hover,.community-section-nav-link.is-active{color:#13213c}.community-section-nav-link.is-active{font-weight:700}.community-section-nav-link.is-active:after{opacity:1;transform:scaleX(1)}.community-section-nav-label-short{display:none}.community-section-nav-utilities{gap:.8rem;margin-left:auto}.community-section-nav-utilities>span{background:#dbe3ee;width:1px;height:14px}.community-section-nav-utility{color:#7b8799;text-decoration:none;padding:.55rem .15rem;transition:color .2s;font-size:.84rem;font-weight:500;line-height:1}.community-section-nav-utility:hover,.community-section-nav-utility.is-active{color:var(--brand-primary)}.community-section-nav-more{display:none;position:relative;margin-left:auto}.community-section-nav-more summary{display:flex;color:#64748b;cursor:pointer;list-style:none;user-select:none;justify-content:center;align-items: center;gap:.25rem;min-width:68px;min-height:52px;padding:0 .75rem;font-size:.9rem;font-weight:600}.community-section-nav-more summary::-webkit-details-marker{display:none}.community-section-nav-more summary svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px;transition:transform .2s}.community-section-nav-more[open] summary,.community-section-nav-more.is-active summary{color:#13213c}.community-section-nav-more[open] summary svg{transform:rotate(180deg)}.community-section-nav-menu{position:absolute;display:grid;background:#fff;border:1px solid #13213c1a;border-radius:14px;gap:.2rem;width:148px;padding:.4rem;top:calc(100% + .5rem);right:0;box-shadow:0 16px 38px #13213c29}.community-section-nav-menu a{display:flex;color:#475569;text-decoration:none;border-radius:10px;align-items: center;min-height:44px;padding:0 .8rem;font-size:.9rem;font-weight:600}.community-section-nav-menu a:hover{color:#13213c;background:#f1f5f9}.community-section-nav-link:focus-visible{outline:3px solid rgba(var(--brand-primary-rgb),.28);outline-offset:2px}.community-section-nav-utility:focus-visible{outline:3px solid rgba(var(--brand-primary-rgb),.28);outline-offset:2px}.community-section-nav-more summary:focus-visible{outline:3px solid rgba(var(--brand-primary-rgb),.28);outline-offset:2px}.community-section-nav-menu a:focus-visible{outline:3px solid rgba(var(--brand-primary-rgb),.28);outline-offset:2px}@media (max-width:768px){.community-section-nav-inner{min-height:52px}.community-section-nav-core{gap:0}.community-section-nav-link{min-height:52px;padding:0 .85rem;font-size:.9rem}.community-section-nav-label-full,.community-section-nav-utilities{display:none}.community-section-nav-label-short,.community-section-nav-more{display:block}.community-section-nav-more summary{display:flex}}@media (max-width:360px){.community-section-nav-link,.community-section-nav-more summary{padding-left:.65rem;padding-right:.65rem}}@media (prefers-reduced-motion:reduce){.community-section-nav-link,.community-section-nav-link:after,.community-section-nav-utility,.community-section-nav-more summary svg{transition:none}}.guide-main .guide-title{text-wrap:balance}.guide-article-meta{display:flex;color:#ffffffb8;flex-wrap:wrap;gap:.45rem 1rem;margin:-.45rem 0 1.25rem;font-size:.82rem;line-height:1.5}.guide-article-meta-item{display:inline-flex;align-items: center;gap:.25rem}.guide-article-meta-item>span,.guide-article-meta-item time{color:#fffffff0;font-weight:600}.nav-hamburger{display:none;cursor:pointer;border-radius:var(--radius-sm);z-index:110;background:0 0;border:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:10px;transition:background-color .2s}.nav-menu-backdrop{display:none}body.nav-menu-open{overflow:hidden}.nav-hamburger:hover{background-color:#13213c0d}.nav-hamburger.open{background-color:#0000}.nav-hamburger span{display:block;border-radius:var(--radius-xs);transform-origin:center;background:#1d1d1f;width:100%;height:2px;transition:all .3s}.nav-hamburger.open span:first-child{transform:translateY(7px)rotate(45deg)}.nav-hamburger.open span:nth-child(2){opacity:0;transform:scaleX(0)}.nav-hamburger.open span:nth-child(3){transform:translateY(-7px)rotate(-45deg)}.nav-auth-buttons{display:flex;box-shadow:none;background:0 0;align-items: center;gap:.375rem;margin-left:.375rem;padding:0}.nav-auth-action{position:relative;display:inline-flex;overflow:hidden;letter-spacing:.01em;text-decoration:none;white-space:nowrap;border:0;border-radius:10px;justify-content:center;align-items: center;min-height:36px;padding:0 .875rem;transition:color .24s cubic-bezier(.22,1,.36,1),background-color .24s cubic-bezier(.22,1,.36,1),box-shadow .24s cubic-bezier(.22,1,.36,1);font-size:.9375rem;font-weight:600;line-height:1}.nav-auth-label{position:relative;z-index:1}.nav-auth-login{color:#334155;background:0 0}.nav-auth-login:before{content:"";position:absolute;z-index:0;border-radius:inherit;opacity:0;background:#13213c0e;transition:opacity .24s cubic-bezier(.22,1,.36,1);inset:0}.nav-auth-login:hover{color:#142033}.nav-auth-login:hover:before{opacity:1}.nav-auth-register{color:#fff;background:linear-gradient(135deg,var(--brand-primary-hover)0%,var(--brand-primary)100%);box-shadow:inset 0 1px 0 #ffffff29,0 2px 6px rgba(var(--brand-primary-rgb),.24);gap:.45rem;min-width:88px;padding:0 .45rem 0 .9375rem}.nav-auth-register-icon{position:relative;z-index:1;display:inline-flex;color:var(--brand-navy);background:var(--brand-secondary);border-radius:50%;flex:0 0 20px;justify-content:center;align-items: center;width:20px;height:20px;transition:transform .24s cubic-bezier(.22,1,.36,1);font-size:.75rem;font-weight:700;line-height:1}.nav-auth-register:hover{color:#fff;background:linear-gradient(135deg,#1d4ed8 0%,var(--brand-primary-hover)100%);box-shadow:0 4px 14px rgba(var(--brand-primary-rgb),.34)}.nav-auth-register:hover .nav-auth-register-icon{transform:translate(2px)}.nav-auth-register:active{box-shadow:0 1px 4px rgba(var(--brand-primary-rgb),.3)}.nav-auth-action:focus-visible{outline:3px solid rgba(var(--brand-primary-rgb),.24);outline-offset:2px}@media (prefers-reduced-motion:reduce){.navbar,.nav-auth-action,.nav-auth-login:before,.nav-auth-register-icon{transition:none}}.user-menu{display:flex;position:relative;align-items: center;gap:.75rem;min-width:0}.user-profile{display:flex;text-decoration:none;color:var(--text-color);border-radius:var(--radius-full);cursor:pointer;background:0 0;border:none;align-items: center;gap:.625rem;min-width:0;min-height:44px;padding:.25rem .75rem;transition:background-color .2s;font-family:inherit}.user-profile:hover{background-color:rgba(var(--brand-primary-rgb),.045)}.user-menu:has(.user-dropdown.show) .user-profile{background-color:rgba(var(--brand-primary-rgb),.045)}.user-profile:focus-visible{outline:3px solid rgba(var(--brand-primary-rgb),.35);outline-offset:2px}.user-profile-chevron{color:#5c6578;flex-shrink:0;width:14px;height:14px;transition:transform .2s}.user-menu:has(.user-dropdown.show) .user-profile-chevron{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.user-profile,.user-profile-chevron{transition:none}}.user-avatar,.user-avatar-placeholder{object-fit:cover;border-radius:50%;width:36px;height:36px}.user-avatar-placeholder{background:var(--brand-gradient);color:#fff;display:flex;text-transform:uppercase;justify-content:center;align-items: center;font-size:.875rem;font-weight:600}.lp-avatar-frame{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;background:#eceef1;border-radius:50%;flex-shrink:0}.lp-avatar-frame.is-ready{background:0 0}.lp-avatar-frame:has(img.lp-avatar-fadein.is-loaded){background:0 0}.lp-avatar-frame .lp-avatar-fallback{position:absolute;display:flex;color:#0000;text-transform:uppercase;z-index:0;pointer-events:none;background:#eceef1;justify-content:center;align-items: center;transition:opacity .12s,color .12s,background .12s;font-weight:600;line-height:1;inset:0}.lp-avatar-frame.is-ready .lp-avatar-fallback{opacity:0}.lp-avatar-frame:has(img.lp-avatar-fadein.is-loaded) .lp-avatar-fallback{opacity:0}.lp-avatar-frame.lp-avatar-load-failed .lp-avatar-fallback,.lp-avatar-frame.lp-avatar-no-img .lp-avatar-fallback{opacity:1;color:#fff;background:var(--brand-gradient)}.lp-avatar-frame:has(img.lp-avatar-fadein.is-failed) .lp-avatar-fallback{opacity:1;color:#fff;background:var(--brand-gradient)}img.lp-avatar-fadein{position:relative;z-index:1;display:block;opacity:0;object-fit:cover;width:100%;height:100%;transition:opacity .14s}img.lp-avatar-fadein.is-loaded{opacity:1}@media (prefers-reduced-motion:reduce){.lp-avatar-frame .lp-avatar-fallback,img.lp-avatar-fadein{transition:none}}.lp-avatar-frame-sm{width:36px;height:36px}.lp-avatar-frame-sm .lp-avatar-fallback{font-size:.875rem}.lp-avatar-frame-xs{width:24px;height:24px}.lp-avatar-frame-xs .lp-avatar-fallback{font-size:.7rem}.lp-avatar-frame-md{width:38px;height:38px}.lp-avatar-frame-md .lp-avatar-fallback{font-size:.8rem}.lp-avatar-frame-chat{width:34px;height:34px}.lp-avatar-frame-chat .lp-avatar-fallback{font-size:.85rem}.lp-avatar-frame-feed{width:40px;height:40px}.lp-avatar-frame-feed .lp-avatar-fallback{font-size:1rem}.lp-avatar-frame-feed-sm{width:22px;height:22px}.lp-avatar-frame-feed-sm .lp-avatar-fallback{font-size:.65rem}.avatar-ring>.lp-avatar-frame-profile-ring{display:block;box-sizing:border-box;width:100%;height:100%}.avatar-ring>.lp-avatar-frame-profile-ring .lp-avatar-fallback,.public-profile-avatar-ring>.lp-avatar-frame-profile-ring .lp-avatar-fallback{font-size:2.2rem}.player-avatar-wrapper .lp-avatar-frame{position:relative;z-index:0}.player-avatar-wrapper .player-status-icon{z-index:2}.chat-message.own .lp-avatar-frame.lp-avatar-load-failed .lp-avatar-fallback{color:#fff;background:linear-gradient(135deg,#6366f1,#818cf8)}.chat-message.own .lp-avatar-frame:has(img.lp-avatar-fadein.is-failed) .lp-avatar-fallback{color:#fff;background:linear-gradient(135deg,#6366f1,#818cf8)}.lp-avatar-frame .user-avatar,.lp-avatar-frame .player-avatar,.lp-avatar-frame .community-post-avatar,.lp-avatar-frame .feedback-form-avatar,.lp-avatar-frame .feedback-card-avatar,.lp-avatar-frame .chat-avatar{width:100%;height:100%}.user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-color);max-width:10rem;font-size:.95rem;font-weight:400}.user-nav-actions{display:flex;flex-shrink:0;align-items: center;gap:.25rem;margin-left:.5rem}.user-nav-icon-btn{display:inline-flex;color:#64748b;text-decoration:none;border-radius:var(--radius-sm);cursor:pointer;background:0 0;flex-direction:column;flex-shrink:0;justify-content:center;align-items: center;gap:4px;width:auto;min-width:44px;height:auto;min-height:44px;padding:0 6px;transition:color .2s,background-color .2s}a.user-nav-icon-btn:link,a.user-nav-icon-btn:visited{color:#64748b;text-decoration:none}.user-nav-icon-btn:hover{color:var(--brand-primary);background-color:rgba(var(--brand-primary-rgb),.08)}.user-nav-icon-btn.active{color:var(--brand-primary)}.user-nav-icon-wrap{position:relative;display:inline-flex;justify-content:center;align-items: center;width:24px;height:24px}.user-nav-icon{display:block;overflow:visible;flex-shrink:0;width:24px;height:24px}.user-nav-icon-label{display:none;color:inherit;font-size:10px;font-weight:400;line-height:1}.user-message-entry,.user-chat-entry{display:inline-flex;flex-direction:column}.user-entry-label{display:inline-block;white-space:nowrap;word-break:keep-all;min-width:2em;font-size:11px;line-height:1.2}.user-message-icon,.user-chat-icon{width:24px;height:24px}a.user-message-entry:link,a.user-message-entry:visited,a.user-chat-entry:link,a.user-chat-entry:visited{color:#475569;text-decoration:none}a.user-message-entry:hover,a.user-chat-entry:hover{color:var(--brand-primary)}a.user-message-entry:focus-visible{color:var(--brand-primary)}a.user-chat-entry:focus-visible{color:var(--brand-primary)}a.user-message-entry.active,a.user-chat-entry.active,.user-message-entry:hover .user-nav-icon-label,.user-chat-entry:hover .user-nav-icon-label{color:var(--brand-primary)}.user-message-entry.active .user-nav-icon-label,.user-chat-entry.active .user-nav-icon-label{color:var(--brand-primary);font-weight:500}.user-message-badge{position:absolute;pointer-events:none;display:inline-flex;color:#fff;background:#e74c3c;border:2px solid #fffffff2;border-radius:999px;justify-content:center;align-items: center;min-width:16px;height:16px;padding:0 4px;font-size:10px;font-weight:600;line-height:1;top:-4px;right:-4px;box-shadow:0 1px 3px #00000026}.user-message-badge-notification{background:#e74c3c;top:-4px;right:-4px}.user-chat-badge{background:#3b82f6;top:-4px;right:-4px}.user-dropdown{position:absolute;border-radius:var(--radius-md);box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;z-index:1000;border:1px solid var(--border-color);overflow:hidden;background:#fff;min-width:180px;transition:all .2s;top:calc(100% + 8px);right:0;transform:translateY(-10px)}.user-dropdown.show{opacity:1;visibility:visible;transform:translateY(0)}.user-dropdown-item{display:flex;color:var(--text-color);text-decoration:none;cursor:pointer;text-align:left;background:0 0;border:none;align-items: center;gap:.75rem;width:100%;padding:.75rem 1rem;transition:background-color .2s;font-family:inherit;font-size:.95rem}.user-dropdown-item:hover{background-color:var(--bg-light)}.user-dropdown-item:first-child{border-top:none}.user-dropdown-item:last-child{border-bottom:none}.user-dropdown-item.sound-item{cursor:pointer;justify-content:space-between}.user-dropdown-item.logout{color:var(--error-color);border-top:1px solid var(--border-color)}.user-dropdown-item.logout:hover{background-color:#e74c3c1a}.user-dropdown-icon{text-align:center;flex-shrink:0;width:20px;font-size:1rem}.sound-toggle-switch{position:relative;border-radius:var(--radius-md);cursor:pointer;background-color:#ccc;flex-shrink:0;width:44px;height:24px;margin-left:auto;transition:background-color .3s}.sound-toggle-switch.enabled{background-color:var(--primary-color)}.sound-toggle-slider{position:absolute;background-color:#fff;border-radius:50%;width:20px;height:20px;transition:transform .3s;top:2px;left:2px;box-shadow:0 2px 4px #0003}.sound-toggle-switch.enabled .sound-toggle-slider{transform:translate(20px)}.unread-dot{position:absolute;z-index:1;pointer-events:none;background:#e74c3c;border:2px solid #fff;border-radius:50%;width:10px;height:10px;top:-2px;right:-2px}.user-dropdown-badge{color:#fff;border-radius:var(--radius-sm);text-align:center;background:#e74c3c;min-width:18px;margin-left:auto;padding:.1rem .4rem;font-size:.7rem;font-weight:600;line-height:1.3}.btn{display:inline-block;text-decoration:none;text-align:center;cursor:pointer;position:relative;z-index:1;border:none;border-radius:10px;padding:.625rem 1.25rem;transition:all .2s cubic-bezier(.22,1,.36,1);font-family:inherit;font-size:1rem;font-weight:500}a.btn{pointer-events:auto;user-select:none}.btn-primary{background:var(--brand-gradient);color:#fff;box-shadow:inset 0 1px 0 #ffffff29,0 2px 6px rgba(var(--brand-primary-rgb),.22);transition:all .22s cubic-bezier(.22,1,.36,1);font-weight:600}.btn-primary:hover:not(:disabled){background:var(--brand-gradient-hover);box-shadow:inset 0 1px 0 #fff3,0 6px 16px rgba(var(--brand-primary-rgb),.28);transform:translateY(-1px)}.btn-primary:disabled,.btn:disabled{color:var(--text-light);cursor:not-allowed;opacity:1;box-shadow:none;background:#d2d2d7;font-weight:400;transform:none}.btn-primary:disabled:hover{box-shadow:none;background:#d2d2d7;transform:none}.btn-primary.loading{animation:1.5s ease-in-out infinite pulse-loading;background:var(--brand-gradient)!important;opacity:.8!important;cursor:wait!important}.btn-primary.loading:disabled{background:var(--brand-gradient)!important;opacity:.8!important}@keyframes pulse-loading{0%,to{opacity:.8;transform:scale(1)}50%{opacity:1;transform:scale(1.02)}}.btn-outline{color:var(--brand-primary);border:1px solid var(--brand-primary);background-color:#0000;transition:all .2s}.btn-outline:hover{background-color:rgba(var(--brand-primary-rgb),.1);color:var(--brand-primary)}.btn-dissolve{color:var(--error-color);border:2px solid var(--error-color);background-color:#0000}.btn-dissolve:hover{background-color:var(--error-color);color:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #e74c3c4d}.btn-danger{background-color:var(--error-color);color:#fff}.btn-danger:hover{background-color:#c0392b}.btn-large{min-height:48px;padding:.875rem 2rem;font-size:1.125rem}.btn-small{padding:.5rem 1rem;font-size:.875rem}.btn-block{width:100%}.home-main{background-color:var(--bg-color);flex:1}.hero-section{position:relative;text-align:center;color:var(--text-color);overflow:hidden;display:flex;align-items: center;min-height:60vh;max-height:75vh;padding:6rem 0 8rem}.hero-background{position:absolute;z-index:0;width:100%;height:100%;inset:0}.hero-image{position:absolute;object-fit:cover;object-position:center center;filter:brightness(.94)contrast(1.08)saturate(1.02);will-change:transform;z-index:0;opacity:1;display:block;width:100%;height:100%;transition:transform .6s ease-out;top:0;left:0;transform:scale(1.01)}.hero-image:before{content:"";position:absolute;z-index:-1;opacity:0;background:linear-gradient(135deg,#f5f5f7 0%,#e8e8ed 50%,#f5f5f7 100%);inset:0}.hero-image:empty:before{opacity:1}.hero-section:hover .hero-image{transform:scale(1)}.hero-overlay{position:absolute;z-index:1;background:linear-gradient(#ffffff14 0%,#ffffff0f 30%,#ffffff14 60%,#ffffff24 100%);inset:0}.hero-overlay:before{content:"";position:absolute;pointer-events:none;background:radial-gradient(120% 80% at top,#ffffff24 0%,#ffffff14 40%,#0000 70%);height:50%;top:0;left:0;right:0}.hero-overlay:after{content:"";position:absolute;pointer-events:none;background:linear-gradient(#0000 0%,#ffffff14 40%,#ffffff2e 70%,#ffffff42 100%);height:45%;bottom:0;left:0;right:0}@keyframes lightPulse{0%,to{opacity:1}50%{opacity:.85}}.hero-content{position:relative;z-index:2;opacity:0;animation:.3s ease-out forwards heroFadeIn;max-width:800px;margin:0 auto;transform:translateY(12px)}@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}.hero-title{letter-spacing:-.02em;color:var(--text-color);text-shadow:0 2px 20px #fffc,0 1px 10px #fff9;margin-bottom:1rem;font-size:5.5rem;font-weight:600;line-height:1.05}.hero-subtitle{color:var(--text-color);letter-spacing:.01em;text-shadow:0 1px 10px #fffc;opacity:.9;margin-bottom:2.5rem;font-size:1.25rem;font-weight:400;line-height:1.5}.hero-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem}.games-section{background-color:var(--bg-light);padding:5rem 0}.games-section .section-title{text-align:center;color:var(--text-color);margin-bottom:3rem;font-size:2.5rem;font-weight:700}.games-lobby-section{background-color:#fff;padding:5rem 0}.games-lobby-section .section-header{text-align:center;margin-bottom:3rem}.games-lobby-section .section-title{color:var(--text-color);letter-spacing:-.02em;margin-bottom:0;font-size:clamp(2rem,5vw,3.5rem);font-weight:600;line-height:1.1}.games-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:1.5rem;max-width:1200px;margin:0 auto}.games-lobby-section .games-grid{align-items:stretch}.games-lobby-more{display:flex;justify-content:center;align-items: center;margin-top:2.5rem;margin-bottom:.5rem;padding:2rem 1.25rem}.games-lobby-more-link{display:inline-flex;color:#6e6e73;text-decoration:none;background:0 0;border:none;align-items: center;gap:.35rem;transition:color .2s,text-decoration-color .2s;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Display,Helvetica Neue,sans-serif;font-size:.9375rem;font-weight:400}.games-lobby-more-link:hover{color:var(--text-color);text-decoration:underline;text-decoration-color:#0003;text-underline-offset:3px}.games-lobby-more-arrow{color:inherit;font-size:.875rem}.game-card{background-color:var(--bg-color);border-radius:var(--radius-lg);text-align:center;box-shadow:var(--shadow);overflow:hidden;border:1px solid #0000000d;padding:2.5rem;transition:all .2s}.game-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.game-icon{margin-bottom:1.5rem;font-size:4.5rem}.game-card .game-icon.game-icon-img{display:flex;justify-content:center;align-items: center;min-height:4.5rem}.game-card .game-icon.game-icon-img img{object-fit:contain;width:80px;height:80px}.game-card .game-icon .game-icon-fallback{font-size:4.5rem}.game-card h3{color:var(--text-color);margin-bottom:1rem;font-size:1.75rem;font-weight:600}.game-card .game-title{margin-bottom:.35rem}.game-card .game-subtitle{color:var(--text-light);margin:0 0 .8rem;font-size:.95rem;line-height:1.35}.game-card p{color:var(--text-light);display:-webkit-box;-webkit-line-clamp:2;overflow:hidden;-webkit-box-orient:vertical;min-height:3.2em;margin-bottom:1rem;font-size:1rem;line-height:1.6}.game-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-bottom:1.25rem}.game-meta-tag{display:inline-flex;border-radius:var(--radius-full);color:#6e6e73;white-space:nowrap;background-color:#f5f5f7;align-items: center;gap:.3rem;padding:.25rem .6rem;transition:background-color .2s,color .2s;font-size:.75rem;font-weight:500;line-height:1}.game-meta-tag svg{opacity:.7;flex-shrink:0}.game-meta-difficulty-easy{color:#2e7d32;background-color:#e8f5e9}.game-meta-difficulty-medium{color:#e65100;background-color:#fff3e0}.game-meta-difficulty-hard{color:#c62828;background-color:#fce4ec}.game-meta-ai-yes{color:#1565c0;background-color:#e3f2fd}.game-meta-ai-no{color:#9e9e9e;background-color:#f5f5f5}.game-meta-ai-pending{color:#7b1fa2;background-color:#f3e5f5}.game-card-upcoming{position:relative;overflow:hidden;filter:grayscale(.3);opacity:.88;transition:all .3s cubic-bezier(.4,0,.2,1)}.game-card-upcoming:hover{filter:grayscale(0);opacity:1}.game-upcoming-badge{position:absolute;background:var(--brand-gradient);color:#fff;z-index:2;letter-spacing:.5px;box-shadow:0 2px 8px rgba(var(--brand-primary-rgb),.3);padding:.3rem 2.5rem;font-size:.7rem;font-weight:600;top:16px;right:-32px;transform:rotate(45deg)}.game-image{border-radius:var(--radius-md);overflow:hidden;display:flex;position:relative;background-color:#f5f5f7;justify-content:center;align-items: center;width:100%;height:200px;margin-bottom:1.5rem}.game-image img{object-fit:cover;object-position:center 35%;width:100%;height:100%}.game-image-placeholder{color:var(--text-light);opacity:.6;font-size:4rem}.game-info{text-align:left}.game-card-large{border-radius:var(--radius-lg);box-shadow:var(--shadow);display:flex;overflow:hidden;background-color:#fff;border:1px solid #0000000d;flex-direction:column;align-items:stretch;gap:0;height:100%;padding:0;transition:all .2s}.game-card-large:hover{transform:scale(1.02);box-shadow:0 8px 24px #0000001f}.game-card-large .game-image{overflow:hidden;position:relative;background-color:#f5f5f7;border-radius:0;flex-shrink:0;width:100%;height:0;margin-bottom:0;padding-bottom:50%}.game-card-large .game-image img{position:absolute;object-fit:cover;object-position:center 35%;width:100%;height:100%;top:0;left:0}.game-card-large .game-image .game-image-placeholder{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.game-card-large .game-info{display:flex;flex-direction:column;flex:1;gap:.5rem;padding:1.25rem}.game-card-large .game-info h3{color:var(--text-color);margin:0;font-size:1.25rem;font-weight:600;line-height:1.2}.game-card-large .game-info p{color:var(--text-light);display:-webkit-box;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;min-height:2.8em;margin:0;font-size:.9375rem;font-weight:400;line-height:1.4}.game-card-large .game-info .btn{align-self: flex-start;margin-top:auto;padding:.5rem 1.25rem;font-size:.9375rem}.features-section{background-color:#f5f5f7;padding:6rem 0}.features-section .section-title{text-align:center;color:var(--text-color);letter-spacing:-.02em;margin-bottom:1rem;font-size:3.5rem;font-weight:600;line-height:1.1}.features-subtitle{text-align:center;color:var(--text-light);letter-spacing:.01em;margin-bottom:3.5rem;font-size:1.15rem;font-weight:400}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.feature-card{border-radius:var(--radius-lg);text-align:center;background-color:#fff;border:1px solid #0000000d;padding:2.5rem;transition:all .2s}.feature-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.feature-icon{color:var(--text-color);opacity:.75;display:flex;justify-content:center;align-items: center;margin-bottom:1.5rem}.feature-icon svg{width:40px;height:40px}.feature-card h3{color:var(--text-color);margin-bottom:.75rem;font-size:1.5rem;font-weight:600;line-height:1.3}.feature-card p{color:var(--text-light);font-size:1rem;font-weight:400;line-height:1.5}.features-seo-text{text-align:center;color:#aaa;max-width:680px;margin:3.5rem auto 0;font-size:.95rem;font-weight:400;line-height:1.8}.cta-section{text-align:center;color:var(--text-color);background:#fff;padding:6rem 0}.cta-content h2{letter-spacing:-.02em;color:var(--text-color);margin-bottom:1rem;font-size:3.5rem;font-weight:600;line-height:1.1}.cta-content p{color:var(--text-light);margin-bottom:2rem;font-size:1.25rem;font-weight:400;line-height:1.5}.auth-container{display:flex;padding:max(2rem,env(safe-area-inset-top))max(1rem,env(safe-area-inset-right))max(2rem,env(safe-area-inset-bottom))max(1rem,env(safe-area-inset-left));position:relative;overflow:hidden;background:linear-gradient(135deg,#f5f7fa 0%,#e8edf5 50%,#dce4f0 100%);flex-direction:column;justify-content:center;align-items: center;min-height:100dvh}.auth-container:before{content:"";position:absolute;background:radial-gradient(circle,rgba(var(--brand-primary-rgb),.12)0%,transparent 70%);pointer-events:none;animation:none;border-radius:50%;width:50%;height:50%;top:-15%;left:-10%}.auth-container:after{content:"";position:absolute;background:radial-gradient(circle,rgba(var(--brand-secondary-rgb),.1)0%,transparent 70%);pointer-events:none;border-radius:50%;width:40%;height:40%;bottom:-10%;right:-8%}.auth-brand{text-align:center;position:relative;z-index:1;opacity:0;animation:.4s ease-out .1s forwards authBrandIn;margin-bottom:1.75rem;transform:translateY(-10px)}@keyframes authBrandIn{to{opacity:1;transform:translateY(0)}}.auth-brand-logo-img{object-fit:contain;width:auto;height:48px;margin-bottom:.25rem}.auth-brand-logo{background:var(--brand-gradient);-webkit-text-fill-color:transparent;letter-spacing:-.02em;-webkit-background-clip:text;background-clip:text;margin-bottom:.35rem;font-size:2.25rem;font-weight:700;line-height:1.2}.auth-brand-tagline{color:var(--text-light);font-size:.95rem;font-weight:400}.auth-card{backdrop-filter:blur(20px)saturate(180%);-webkit-backdrop-filter:blur(20px)saturate(180%);border-radius:var(--radius-lg);touch-action:manipulation;position:relative;z-index:1;background:#ffffffd9;border:1px solid #fff9;width:100%;min-width:0;max-width:420px;padding:2.5rem 2.5rem 2rem;box-shadow:0 4px 24px #0000000f,0 1px 3px #0000000a}.auth-header{text-align:center;margin-bottom:1.5rem}.auth-logo{display:none}.auth-header h1,.auth-header h2{color:var(--text-color);letter-spacing:-.01em;margin-bottom:.35rem;font-size:1.5rem;font-weight:600}.auth-header p{color:var(--text-light);font-size:.9rem}.auth-form{margin-bottom:1rem}.auth-form .form-group{display:block;margin-bottom:1.125rem}.auth-form .form-group label{margin-bottom:.375rem}.error-message{border-radius:var(--radius-sm);color:#c0392b;text-align:center;background:#e74c3c14;border:1px solid #e74c3c33;margin-bottom:1.5rem;padding:.75rem 1rem;font-size:.875rem}.form-group{margin-bottom:1.75rem}.form-group label{display:block;color:var(--text-color);margin-bottom:.625rem;font-size:.875rem;font-weight:500}.form-group input[type=text],.form-group input[type=email],.form-group input[type=password],.form-group textarea{color:var(--text-color);border-radius:var(--radius-sm);background:#fffc;border:1px solid #0000001a;width:100%;padding:.8rem 1rem;transition:all .2s;font-family:inherit;font-size:.95rem}.form-group input::placeholder{color:#adb5bd}.form-group input:hover{border-color:#0000002e}.form-group textarea{resize:vertical;min-height:100px}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:rgba(var(--brand-primary-rgb),.5);box-shadow:0 0 0 3px rgba(var(--brand-primary-rgb),.1);background:#fff}.form-group input:disabled{color:#999;cursor:not-allowed;opacity:.7;background-color:#f5f5f5}.form-group small{display:block;color:var(--text-light);margin-top:.375rem;font-size:.8125rem}.auth-form .form-group input{min-width:0;min-height:48px;font-size:1rem}.auth-form .form-group input:focus{transform:none}.password-wrapper{position:relative}.auth-form .password-wrapper input{padding-right:4rem}.password-toggle{position:absolute;cursor:pointer;color:var(--text-light);display:flex;background:0 0;border:none;justify-content:center;align-items: center;width:44px;height:44px;padding:0;transition:color .2s;top:50%;right:.75rem;transform:translateY(-50%)}.password-toggle:hover{color:var(--text-color)}.password-toggle svg{width:18px;height:18px}.field-error{display:none;color:var(--error-color);margin-top:.35rem;font-size:.8rem}.input-error{border-color:var(--error-color)!important}.input-error:focus{box-shadow:0 0 0 3px #e74c3c1a!important}.password-strength{display:flex;align-items: center;gap:.5rem;margin-top:.5rem}.password-strength-bar{background:var(--border-color);border-radius:var(--radius-xs);overflow:hidden;flex:1;max-width:120px;height:4px}.password-strength-fill{border-radius:var(--radius-xs);width:0;height:100%;transition:width .3s,background .3s}.password-strength-text{min-width:1.5em;font-size:.75rem;font-weight:600}.auth-card .btn-primary{width:100%;min-height:48px;padding:.8rem 1.5rem;font-size:.95rem;font-weight:600}.auth-footer{text-align:center;color:var(--text-light);font-size:.875rem}.auth-footer a{display:inline-flex;color:var(--brand-primary);text-decoration:none;justify-content:center;align-items: center;min-width:44px;min-height:44px;transition:color .2s;font-weight:500}.auth-footer a:hover{color:var(--brand-secondary);opacity:1}.auth-footer p,.auth-footer p:last-child{margin-bottom:0}.auth-trust{display:flex;position:relative;z-index:1;opacity:0;animation:.4s ease-out .3s forwards authBrandIn;flex-wrap:wrap;justify-content:center;gap:1.5rem;max-width:100%;margin-top:1.75rem}.auth-trust-item{display:flex;color:#adb5bd;align-items: center;gap:.35rem;font-size:.8rem;font-weight:400}.auth-trust-item svg{opacity:.55;flex-shrink:0;width:14px;height:14px}.community-subnav{max-width:800px;margin:0 auto 2rem;padding:0 1rem}.community-subnav-inner{display:flex;position:relative;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-radius:var(--radius-lg);background:#ffffffd1;border:1px solid #0000000f;align-items: center;padding:.3rem;box-shadow:0 2px 16px #0000000f,inset 0 0 0 1px #fff9}.community-subnav-link{display:flex;border-radius:var(--radius-md);text-decoration:none;color:var(--text-light);position:relative;z-index:1;white-space:nowrap;user-select:none;-webkit-user-select:none;background:0 0;border:none;flex:1;justify-content:center;align-items: center;gap:.45rem;padding:.6rem 1rem;transition:color .25s;font-size:.95rem;font-weight:500}.community-subnav-link:hover{color:var(--text-color)}.community-subnav-link.active{color:#fff}.community-subnav-indicator{position:absolute;background:var(--brand-gradient);border-radius:var(--radius-md);z-index:0;box-shadow:0 2px 10px rgba(var(--brand-primary-rgb),.35);will-change:left,width;height:calc(100% - .6rem);transition:left .38s cubic-bezier(.4,0,.15,1),width .38s cubic-bezier(.4,0,.15,1);top:.3rem}.community-tab-panel{animation:.4s cubic-bezier(.22,1,.36,1) both communityContentEnter}.community-tab-panel.is-exiting{animation:none;opacity:0;transition:opacity .18s,transform .18s;transform:translateY(-6px)scale(.995)}.community-tab-panel.is-entering{animation:.35s cubic-bezier(.22,1,.36,1) both communityContentEnter}.community-tab-loading{display:flex;color:var(--text-light);flex-direction:column;justify-content:center;align-items: center;gap:1rem;min-height:200px;font-size:.95rem}.community-tab-loading-spinner{border:3px solid rgba(var(--brand-primary-rgb),.15);border-top-color:var(--brand-primary);animation:.7s linear infinite communitySpinnerRotate;border-radius:50%;width:28px;height:28px}@keyframes communityContentEnter{0%{opacity:0;transform:translateY(14px)scale(.995)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes communitySpinnerRotate{to{transform:rotate(360deg)}}.community-rich-editor{position:relative;background:0 0}.community-rich-textarea{border:1px solid var(--border-color);border-radius:var(--radius-sm);resize:vertical;box-sizing:border-box;width:100%;min-height:220px;padding:.7rem;line-height:1.6}.community-editor-status{color:#666;display:none;align-items: center;gap:.45rem;margin-top:.45rem;font-size:.85rem}.community-editor-status.show{display:inline-flex}.community-editor-status.loading:before{content:"";border:2px solid var(--border-color);border-top-color:var(--brand-primary);border-radius:var(--radius-full);animation:.85s linear infinite communityEditorSpin;width:.9rem;height:.9rem}.community-editor-status.error{color:#b42318}.community-editor-emoji-panel{position:absolute;z-index:1200;width:420px;max-width:calc(100% - 16px);top:56px;left:8px}.community-editor-emoji-panel .emoji-grid{max-height:240px}@keyframes communityEditorSpin{to{transform:rotate(360deg)}}@media (max-width:768px){.community-rich-textarea{font-size:16px}.community-rich-editor .tox .tox-tbtn{min-width:44px;min-height:44px}}.profile-main{min-height:calc(100vh - var(--navbar-height));background:#f7f8fa;flex:1;padding:0}.profile-banner{background:var(--brand-gradient);position:relative;overflow:hidden;height:180px}.profile-banner:before{content:"";position:absolute;pointer-events:none;background:radial-gradient(circle,#ffffff14 0%,#0000 60%);border-radius:50%;width:50%;height:160%;top:-40%;right:-15%}.profile-banner:after{content:"";position:absolute;pointer-events:none;background:radial-gradient(circle,#ffffff0d 0%,#0000 60%);border-radius:50%;width:40%;height:120%;bottom:-30%;left:-10%}.profile-container{position:relative;max-width:none;margin:0;padding:0}.profile-bottom-space{height:3rem}.profile-card{border-radius:var(--radius-lg);position:relative;z-index:1;opacity:0;animation:.4s ease-out .1s forwards profileFadeIn;background:#fff;max-width:none;margin-top:-100px;padding:0;transform:translateY(12px);box-shadow:0 1px 3px #0000000f,0 4px 24px #0000000a}@keyframes profileFadeIn{to{opacity:1;transform:translateY(0)}}.profile-card h2{color:var(--text-color);margin-bottom:2rem;font-size:2rem}.profile-form{margin-top:0}.avatar-upload{display:flex;align-items: center;gap:1.5rem;margin-bottom:.5rem}.avatar-preview{object-fit:cover;border:3px solid #fff;border-radius:50%;width:100%;height:100%}.avatar-preview.placeholder{background:var(--brand-gradient);color:#fff;display:flex;text-transform:uppercase;border:3px solid #fff;justify-content:center;align-items: center;font-size:2.5rem;font-weight:700}.avatar-upload input[type=file],.profile-header-row input[type=file]{display:none}.crop-modal{display:none;position:fixed;z-index:2000;background-color:#000000b3;justify-content:center;align-items: center;width:100%;height:100%;top:0;left:0}.crop-modal-content{background-color:var(--bg-color);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;width:600px;max-width:90%;max-height:90dvh;padding:0}.crop-modal-header{display:flex;border-bottom:2px solid var(--border-color);background-color:var(--bg-light);flex-shrink:0;justify-content:space-between;align-items: center;padding:1.5rem}.crop-modal-header h3{color:var(--text-color);margin:0;font-size:1.5rem;font-weight:600}.crop-modal-close{color:var(--text-light);cursor:pointer;display:flex;background:0 0;border:none;border-radius:50%;justify-content:center;align-items: center;width:32px;height:32px;padding:0;transition:all .2s;font-size:2rem;line-height:1}.crop-modal-close:hover{background-color:var(--bg-color);color:var(--text-color)}.crop-modal-body{overflow:auto;display:flex;flex:1;justify-content:center;align-items: center;min-height:0;padding:1.5rem}.crop-container{width:100%;max-width:500px;max-height:500px}.crop-container img{display:block;max-width:100%;max-height:500px}.crop-modal-footer{display:flex;border-top:2px solid var(--border-color);background-color:var(--bg-light);flex-shrink:0;justify-content:flex-end;gap:1rem;padding:1.5rem}.profile-layout{display:flex;position:relative;gap:2rem;max-width:1400px;margin:0 auto;padding:0 1.5rem}.profile-sidebar{position:sticky;z-index:2;flex-shrink:0;align-self: flex-start;width:220px;padding-top:2rem;top:100px}.profile-sidebar-nav{display:flex;border-radius:var(--radius-md);box-shadow:var(--shadow);background:#fff;flex-direction:column;gap:4px;padding:.5rem}.profile-sidebar-item{display:flex;border-radius:var(--radius-sm);color:var(--text-secondary);text-decoration:none;align-items: center;gap:10px;padding:10px 14px;transition:background .15s,color .15s;font-size:.9rem;font-weight:500}.profile-sidebar-item:hover{background:var(--bg-light);color:var(--text-color)}.profile-sidebar-item.active{background:rgba(var(--brand-primary-rgb),.08);color:var(--brand-primary);font-weight:600}.profile-sidebar-item svg{flex-shrink:0}.profile-content-area{flex:1;min-width:0}@media (max-width:768px){.profile-banner{height:140px}.profile-container{padding:0 1rem}.profile-card{margin-top:-80px}.profile-layout{flex-direction:column;gap:0;padding:0}.profile-sidebar{position:static;width:100%;padding:.75rem 1rem 0}.profile-sidebar-nav{flex-direction:row;gap:2px;padding:.25rem}.profile-sidebar-item{flex:1;justify-content:center;padding:8px 12px;font-size:.85rem}.profile-content-area{width:100%}}@media (max-width:480px){.profile-banner{height:120px}.profile-card{border-radius:var(--radius-md);margin-top:-60px}.profile-sidebar{padding:.5rem .75rem 0}.profile-sidebar-item{gap:5px;padding:7px 8px;font-size:.78rem}.profile-sidebar-item svg{width:15px;height:15px}}.toast{position:fixed;border-radius:var(--radius-sm);color:#fff;z-index:10000;opacity:0;pointer-events:none;backdrop-filter:blur(20px);box-shadow:var(--shadow-xl);padding:.75rem 1.5rem;transition:all .3s;font-size:.9rem;font-weight:500;bottom:2rem;left:50%;transform:translate(-50%)translateY(100px)}.toast.show,.toast-show{opacity:1;transform:translate(-50%)translateY(0)}.toast.success,.toast-success{background:linear-gradient(135deg,#27ae60,#2ecc71);box-shadow:0 4px 15px #27ae604d}.toast.error,.toast-error{background:linear-gradient(135deg,#e74c3c,#c0392b);box-shadow:0 4px 15px #e74c3c4d}.toast.info,.toast-info{background:linear-gradient(135deg,#17a2b8,#3498db);box-shadow:0 4px 15px #3498db4d}.crop-container cropper-canvas{direction:ltr;touch-action:none;width:100%;height:min(50dvh,400px);min-height:220px}.crop-container cropper-selection{outline-color:var(--brand-primary)}.form-actions{display:flex;gap:1rem;margin-top:2rem}.form-actions .btn{flex:1}.dashboard{min-height:calc(100vh - var(--navbar-height));padding:3rem 0}.dashboard-header{text-align:center;margin-bottom:2.5rem}.dashboard-header h2{background:var(--brand-gradient);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:.5rem;font-size:2.5rem;font-weight:700}.dashboard-header p{color:var(--text-light);font-size:1.125rem}.dashboard-section{margin-bottom:3rem}.dashboard-section:last-child{margin-bottom:0}.dashboard-section-header{display:flex;border-bottom:2px solid var(--border-color);justify-content:space-between;align-items: center;margin-bottom:1.5rem;padding-bottom:.75rem}.dashboard-section-title{color:var(--text-color);font-size:1.35rem;font-weight:600}.dashboard-section-count{color:var(--text-light);font-size:.875rem}@media (min-width:1200px){.dashboard .games-grid{grid-template-columns:repeat(4,1fr);max-width:1560px}}.lobby-main{min-height:calc(100vh - var(--navbar-height));position:relative;overflow:hidden;background:radial-gradient(circle at 0 0,#c7d2fe66,#0000 28%),radial-gradient(circle at 100% 0,#bfdbfe66,#0000 24%),linear-gradient(#f8fafc 0%,#eef2f7 100%);padding:2rem 0}.lobby-main>.container{position:relative;z-index:1}.lobby-main.is-offline{background:radial-gradient(circle at 9% 12%,#ffb36b2e,#0000 25%),radial-gradient(circle at 91% 16%,#70d6c524,#0000 23%),linear-gradient(#f8f4ed 0%,#edf2f4 68%,#e8eef2 100%);padding-top:2.25rem;padding-bottom:4rem}.lobby-main.is-offline:before{content:"";position:absolute;-webkit-mask-image:linear-gradient(#0000009e,#0000 72%);mask-image:linear-gradient(#0000009e,#0000 72%);pointer-events:none;background-image:radial-gradient(#1f2a431c .7px,#0000 .7px);background-size:22px 22px;inset:0}.lobby-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.3fr)minmax(220px,.7fr);overflow:clip;isolation:isolate;background:var(--lobby-hero-surface,linear-gradient(135deg,#1e293b 0%,#334155 100%));border-radius:28px;align-items:stretch;gap:1.5rem;margin-bottom:2rem;padding:2rem;box-shadow:0 22px 50px #0f172a2e}.lobby-hero.is-catmouse{--lobby-hero-accent:#f4d18b!important;--lobby-hero-accent-strong:#a86137!important;--lobby-hero-surface:linear-gradient(135deg,#14272b 0%,#294548 52%,#6f4930 100%)!important}.lobby-hero:before{content:"";position:absolute;pointer-events:none;background:radial-gradient(circle at 0 0,#ffffff38,#0000 30%),linear-gradient(120deg,#ffffff0a,#fff0);inset:0}.lobby-hero:after{content:"";position:absolute;pointer-events:none;background:radial-gradient(circle,#ffffff1f,#0000 70%);border-radius:999px;width:280px;height:280px;inset:auto -6% -32% auto}.lobby-hero-copy,.lobby-hero-media{position:relative;z-index:1}.lobby-hero-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}.lobby-hero h1{color:#f8fafc;letter-spacing:-.04em;margin:0 0 .85rem;font-size:clamp(2rem,4vw,3.25rem);font-weight:800;line-height:1.02}.lobby-reference-game{display:inline-flex;background:var(--lobby-hero-accent,#f3d48d);color:var(--lobby-hero-accent-strong,#a34d2f);letter-spacing:.01em;border-radius:999px;align-self: flex-start;align-items: center;gap:.4rem;margin:0 0 .85rem;padding:.4rem .9rem;font-size:.85rem;font-weight:800;line-height:1.2;box-shadow:0 6px 18px #0f172a38}.lobby-reference-game__icon{font-size:.95rem;line-height:1}.lobby-hero-description{color:#f1f5f9d6;max-width:40rem;margin:0;font-size:1rem;line-height:1.75}.lobby-hero-meta{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.15rem}.lobby-hero-meta span{display:inline-flex;color:#ffffffeb;background:#ffffff1f;border:1px solid #ffffff29;border-radius:999px;align-items: center;min-height:2rem;padding:.42rem .8rem;font-size:.85rem;font-weight:600}.lobby-header-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.4rem}.lobby-header-actions form{margin:0}.lobby-header-actions .btn{min-height:46px;padding-inline-start:1.1rem;padding-inline-end:1.1rem;box-shadow:0 10px 24px #0f172a2e}.lobby-header-actions .btn-outline{color:#fff;background:#ffffff1f;border-color:#ffffff38}.lobby-header-actions .btn-outline:hover{color:#fff;background:#fff3}.lobby-quick-play-modal{--qp-accent:#7c3aed;--qp-accent-strong:#6d28d9;--qp-ink:#312e81;--qp-muted:#5b5678;--qp-selected-bg:#f5f3ff;--qp-selected-ink:#5b21b6;--qp-summary-bg:linear-gradient(135deg,#f5f3fff0,#fffcf8f5);--qp-summary-ink:#4c1d95}.lobby-quick-play-modal[data-game-id="1"]{--qp-accent:#4f46e5;--qp-accent-strong:#4338ca;--qp-ink:#1e293b;--qp-muted:#475569;--qp-selected-bg:#eef2ff;--qp-selected-ink:#3730a3;--qp-summary-bg:linear-gradient(135deg,#eef2fff0,#f8fafcf5);--qp-summary-ink:#312e81}.lobby-quick-play-modal[data-game-id="2"]{--qp-accent:#d97706;--qp-accent-strong:#b45309;--qp-ink:#3f3328;--qp-muted:#64594f;--qp-selected-bg:#fff7e6;--qp-selected-ink:#92400e;--qp-summary-bg:linear-gradient(135deg,#fff7e6e6,#fffcf5f2);--qp-summary-ink:#7c4a1d}.lobby-quick-play-modal[data-game-id="3"]{--qp-accent:#ea580c;--qp-accent-strong:#c2410c;--qp-ink:#431407;--qp-muted:#7c2d12;--qp-selected-bg:#fff7ed;--qp-selected-ink:#9a3412;--qp-summary-bg:linear-gradient(135deg,#fff7edf0,#fffbf5f5);--qp-summary-ink:#9a3412}.lobby-quick-play-modal[data-game-id="12"]{--qp-accent:#157a6e;--qp-accent-strong:#0f5f56;--qp-ink:#32172a;--qp-muted:#4b5563;--qp-selected-bg:#ecfdf5;--qp-selected-ink:#115e59;--qp-summary-bg:linear-gradient(135deg,#ecfdf5f0,#fffbebf5);--qp-summary-ink:#115e59}.lobby-quick-play-modal[data-game-id="13"]{--qp-accent:#a34d2f;--qp-accent-strong:#7c3a24;--qp-ink:#173f3a;--qp-muted:#4b5563;--qp-selected-bg:#fff7ed;--qp-selected-ink:#9a3412;--qp-summary-bg:linear-gradient(135deg,#fff7edf0,#f0fdfaf5);--qp-summary-ink:#7c2d12}.lobby-quick-play-modal[data-game-id="21"]{--qp-accent:#8f3d59;--qp-accent-strong:#68263f;--qp-ink:#301b29;--qp-muted:#6f5a68;--qp-selected-bg:#fff7ed;--qp-selected-ink:#71324b;--qp-summary-bg:linear-gradient(135deg,#fff7edf0,#faf2e2f5);--qp-summary-ink:#653047}.lobby-quick-play-modal[data-game-id="22"]{--qp-accent:#173c6b;--qp-accent-strong:#102a4f;--qp-ink:#102a4f;--qp-muted:#66727d;--qp-selected-bg:#fff7d9;--qp-selected-ink:#173c6b;--qp-summary-bg:linear-gradient(135deg,#fff7d9f5,#dcefedf0);--qp-summary-ink:#173c6b}.lobby-quick-play-modal[data-game-id="23"]{--qp-accent:#1a6f8e;--qp-accent-strong:#174f61;--qp-ink:#173f48;--qp-muted:#637579;--qp-selected-bg:#e7f2f2;--qp-selected-ink:#174f61;--qp-summary-bg:#f2eee2;--qp-summary-ink:#173f48}.lobby-quick-play-modal[data-game-id="25"]{--qp-accent:#a85e35;--qp-accent-strong:#285860;--qp-ink:#27251f;--qp-muted:#6d665b;--qp-selected-bg:#fff5e6;--qp-selected-ink:#713b23;--qp-summary-bg:#f5ecdc;--qp-summary-ink:#285860}.lobby-quick-play-modal[data-game-id="27"]{--qp-accent:#23768a;--qp-accent-strong:#173f68;--qp-ink:#173f52;--qp-muted:#557384;--qp-selected-bg:#e7f6f1;--qp-selected-ink:#205e70;--qp-summary-bg:linear-gradient(135deg,#e7f6f1f5,#fff7dbf5);--qp-summary-ink:#173f52}.modal .modal-content.lobby-quick-play-modal-content{overflow:hidden auto;width:min(92vw,560px);max-width:560px;padding:1.5rem}.modal .modal-content.lobby-quick-play-modal-content:before{background:linear-gradient(90deg,var(--qp-accent),var(--qp-accent-strong))}.lobby-quick-play-modal-content .modal-header{align-items: flex-start;margin-bottom:1.25rem;padding-bottom:1rem}.lobby-quick-play-modal-content .modal-header h2{color:var(--qp-ink);margin:.2rem 0 0;font-size:clamp(1.45rem,4vw,1.9rem);line-height:1.2}.lobby-quick-play-modal-content .modal-header h2:before{content:none}.lobby-quick-play-kicker{color:var(--qp-accent-strong);letter-spacing:.14em;font-size:.72rem;font-weight:800}.lobby-quick-play-form{display:flex;flex-direction:column;gap:1.15rem;min-width:0}.lobby-quick-play-description{color:var(--qp-muted);margin:0;font-size:.94rem;line-height:1.6}.lobby-quick-play-counts{border:0;min-width:0;margin:0;padding:0}.lobby-quick-play-counts legend{color:var(--qp-ink);margin-bottom:.7rem;font-size:.9rem;font-weight:750}.lobby-quick-play-options{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;min-width:0}.lobby-quick-play-option{position:relative;cursor:pointer;flex:0 0 60px;margin:0}.lobby-quick-play-option input{position:absolute;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px}.lobby-quick-play-option>span{display:flex;color:#574c42;background:#fffdf9;border:1px solid #d6cec5;border-radius:13px;flex-direction:column;justify-content:center;align-items: center;gap:.1rem;min-height:68px;transition:border-color .16s,background-color .16s,color .16s,transform .16s,box-shadow .16s}.lobby-quick-play-option strong{font-size:1.25rem;line-height:1}.lobby-quick-play-option small{font-size:.7rem;font-weight:650}.lobby-quick-play-option:hover>span{border-color:var(--qp-accent);transform:translateY(-1px)}.lobby-quick-play-option input:checked+span{border-color:var(--qp-accent);background:var(--qp-selected-bg);color:var(--qp-selected-ink);box-shadow:0 0 0 2px color-mix(in srgb,var(--qp-accent)16%,transparent),0 8px 18px #0f172a1f}.lobby-quick-play-option input:focus-visible+span{outline:3px solid color-mix(in srgb,var(--qp-accent)34%,transparent);outline-offset:3px}.lobby-quick-play-roles{border:0;min-width:0;margin:0;padding:0}.lobby-quick-play-roles legend{color:var(--qp-ink);margin-bottom:.7rem;font-size:.9rem;font-weight:750}.lobby-quick-play-role-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.lobby-quick-play-role-option{position:relative;cursor:pointer;margin:0}.lobby-quick-play-role-option input{position:absolute;overflow:hidden;clip-path:inset(50%);width:1px;height:1px}.lobby-quick-play-role-option>span{display:grid;color:#574c42;background:#fffdf9;border:1px solid #d6cec5;border-radius:13px;align-content: center;gap:.2rem;min-height:64px;padding:.65rem .8rem}.lobby-quick-play-role-option small{color:var(--qp-muted);font-size:.72rem}.lobby-quick-play-role-option input:checked+span{border-color:var(--qp-accent);background:var(--qp-selected-bg);color:var(--qp-selected-ink);box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--qp-accent)14%,transparent)}.lobby-quick-play-role-option input:focus-visible+span{outline:3px solid color-mix(in srgb,var(--qp-accent)34%,transparent);outline-offset:3px}.lobby-quick-play-summary{display:flex;border:1px solid color-mix(in srgb,var(--qp-accent)20%,transparent);background:var(--qp-summary-bg);color:var(--qp-summary-ink);border-radius:14px;align-items: center;gap:.75rem;min-width:0;padding:.8rem .9rem}.lobby-quick-play-summary>span{display:inline-flex;background:var(--qp-accent);color:#fff;border-radius:11px;flex:0 0 36px;justify-content:center;align-items: center;width:36px;height:36px;font-size:1.1rem}.lobby-quick-play-summary p{display:flex;flex-direction:column;gap:.1rem;min-width:0;margin:0}.lobby-quick-play-summary strong{color:var(--qp-ink);font-size:.94rem}.lobby-quick-play-summary small{color:var(--qp-muted);font-size:.76rem;line-height:1.4}.lobby-quick-play-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.lobby-quick-play-actions .btn{min-width:0;min-height:44px}@media (max-width:520px){.modal.lobby-quick-play-modal{padding:max(.75rem,env(safe-area-inset-top)).75rem max(.75rem,env(safe-area-inset-bottom))}.modal .modal-content.lobby-quick-play-modal-content{border-radius:20px;width:100%;min-width:0;max-width:100%;max-height:calc(100dvh - 1.5rem);margin:0;padding:1.2rem}.lobby-quick-play-option{flex-basis:58px}.lobby-quick-play-option>span{min-height:62px}.lobby-quick-play-role-options{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.lobby-quick-play-option>span,.lobby-quick-play-role-option>span{transition:none}}.lobby-hero-media{display:flex;justify-content:center;align-items: center;min-height:100%}.lobby-hero-media:before{content:"";position:absolute;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);background:linear-gradient(#ffffff24,#ffffff0a);border:1px solid #ffffff24;border-radius:24px;inset:10% 8%}.lobby-hero-art{position:relative;aspect-ratio:3/4;overflow:hidden;background:#1e293b8c;border:1px solid #ffffff47;border-radius:24px;flex-shrink:0;width:min(100%,220px);box-shadow:0 18px 40px #0f172a57}.lobby-hero-art img{position:absolute;object-fit:cover;object-position:center;display:block;z-index:0;width:100%;height:100%;inset:0}.lobby-hero-art:before{content:"";position:absolute;z-index:1;border-radius:inherit;pointer-events:none;background:linear-gradient(#ffffff47,#ffffff14);inset:0}.lobby-hero-art:after{content:"";position:absolute;z-index:2;filter:blur(12px);pointer-events:none;background:radial-gradient(circle,#0f172a47,#0000 72%);height:18%;inset:auto 10% -10%}.lobby-hero.is-offline .lobby-hero-media:before{background:radial-gradient(circle at 50% 38%,rgba(var(--offline-highlight-rgb,255,179,107),.14),transparent 44%),linear-gradient(150deg,#0c1321e6,#1c283dad);border-color:#ffffff1f;border-radius:50%;inset:15% 2%;transform:rotate(-4deg);box-shadow:inset 0 1px #ffffff14,0 28px 50px #070c183d}.lobby-hero.is-offline .lobby-hero-art{opacity:1;border-color:#ffffff5c;border-radius:26px;width:min(100%,196px);transform:rotate(3deg);box-shadow:0 24px 48px #070c186b,0 0 0 8px #ffffff0d}.lobby-hero.is-offline{grid-template-columns:minmax(0,1.05fr)minmax(370px,.95fr);background:radial-gradient(circle at 78% 22%,rgba(var(--offline-highlight-rgb,255,179,107),.21),transparent 31%),radial-gradient(circle at 22% 120%,#ffffff1a,transparent 42%),linear-gradient(122deg,var(--lobby-hero-surface,#202a43)0%,#26324d 58%,#302a42 100%);border:1px solid #ffffff21;gap:2rem;min-height:430px;margin-bottom:1.5rem;padding:3.25rem 3.5rem 3.5rem;box-shadow:0 30px 64px #1f2a4338}.lobby-hero.is-offline:before{-webkit-mask-image:linear-gradient(90deg,#0000009e,#0000 74%);mask-image:linear-gradient(90deg,#0000009e,#0000 74%);background-color:#0000;background-image:linear-gradient(90deg,#ffffff0a 1px,#0000 1px),linear-gradient(#ffffff0a 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:36px 36px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box}.lobby-hero.is-offline:after{background:radial-gradient(circle,rgba(var(--offline-highlight-rgb,255,179,107),.13),transparent 68%);width:380px;height:380px;bottom:-180px;left:44%;right:auto}.lobby-hero.is-offline .lobby-hero-copy{max-width:650px}.lobby-hero .offline-lobby-title{letter-spacing:-.055em;text-wrap:balance;max-width:11em;margin-top:0;margin-bottom:1rem;font-size:clamp(2.75rem,4.6vw,4.25rem);line-height:1.02}.offline-lobby-title em,.offline-join-intro h2 em{display:block;color:var(--offline-highlight,#ffb36b);font-style:normal}.lobby-hero.is-offline .lobby-hero-description{color:#f6f8fccc;text-wrap:pretty;max-width:38rem;font-size:1.03rem;line-height:1.78}.lobby-hero.is-offline .lobby-hero-meta{margin-top:1.3rem}.lobby-hero.is-offline .lobby-hero-meta span{color:#ffffffe0;background:#ffffff14;border-color:#ffffff21;border-radius:10px;min-height:2.15rem;padding:.45rem .72rem;font-size:.82rem}.lobby-hero.is-offline .lobby-header-actions{margin-top:1.55rem}.lobby-hero.is-offline .lobby-header-actions .btn-primary{background:var(--offline-highlight,#ffb36b);color:#1d2940;box-shadow:0 14px 30px rgba(var(--offline-highlight-rgb,255,179,107),.23);border-color:#0000;min-height:52px;padding-inline-start:1.35rem;padding-inline-end:1.35rem;transition:transform .2s,box-shadow .2s,filter .2s;font-weight:800}.lobby-hero.is-offline .lobby-header-actions .btn-primary:hover{filter:brightness(1.04);box-shadow:0 18px 34px rgba(var(--offline-highlight-rgb,255,179,107),.3);transform:translateY(-2px)}.lobby-hero.is-offline .lobby-header-actions .btn-primary:active{transform:translateY(1px)scale(.99)}.lobby-hero.is-offline .lobby-header-actions .btn-primary:focus-visible{outline:3px solid #ffffffeb;outline-offset:3px}.offline-hero-note{color:#ffffff94;margin:.8rem 0 0;font-size:.82rem}.lobby-hero.is-offline .lobby-hero-media{isolation:isolate;min-height:330px}.lobby-party-bubble,.lobby-party-player{position:absolute;z-index:4;color:#26324a;background:#f9fbffed;border:1px solid #ffffff2b;box-shadow:0 14px 28px #060b1733}.lobby-party-bubble{border-radius:14px 14px 14px 4px;max-width:172px;padding:.65rem .8rem;font-size:.78rem;font-weight:700;line-height:1.35}.lobby-party-bubble.is-first{top:2%;right:-1%;transform:rotate(2deg)}.lobby-party-bubble.is-second{bottom:12%;left:-2%;transform:rotate(-3deg)}.lobby-party-player{display:grid;grid-template-columns:34px auto;grid-template-rows:auto auto;border-radius:16px;align-items: center;column-gap:.55rem;min-width:118px;padding:.55rem .72rem}.lobby-party-avatar{grid-row:1/3;display:grid;color:var(--offline-highlight,#ffb36b);background:#26324a;border-radius:12px;place-items: center;width:34px;height:34px;font-size:.9rem;font-weight:700}.lobby-party-avatar svg{fill:currentColor;width:18px;height:18px}.lobby-party-player small{color:#728096;font-size:.67rem}.lobby-party-player.is-one{top:8%;left:-1%;transform:rotate(-4deg)}.lobby-party-player.is-two{top:44%;right:-3%;transform:rotate(3deg)}.lobby-party-player.is-three{bottom:0;right:13%;transform:rotate(-2deg)}.lobby-party-live{position:absolute;z-index:3;display:inline-flex;color:#ffffffe6;backdrop-filter:blur(8px);background:#0e1524d6;border-radius:9px;align-items: center;gap:.38rem;padding:.38rem .58rem;font-size:.67rem;font-weight:700;bottom:.7rem;right:.7rem}.lobby-party-live i{background:var(--offline-highlight,#ffb36b);box-shadow:0 0 0 4px rgba(var(--offline-highlight-rgb,255,179,107),.18);border-radius:50%;width:7px;height:7px}@media (max-width:1024px) and (min-width:769px){.lobby-hero.is-offline{grid-template-columns:minmax(0,1fr)minmax(300px,.8fr);padding:2.5rem}.lobby-party-player.is-two{right:-8%}}.rooms-section{backdrop-filter:blur(14px);background:#ffffffb8;border:1px solid #ffffffb8;border-radius:24px;margin-top:2rem;padding:1.5rem;box-shadow:0 18px 38px #0f172a14}.section-panel{backdrop-filter:blur(14px);background:#ffffffb8;border:1px solid #ffffffb8;border-radius:24px;margin-bottom:1.5rem;padding:1.5rem;box-shadow:0 18px 38px #0f172a14}.section-panel .recent-games-header,.section-panel .leaderboard-header,.section-panel .rooms-header{border-bottom-color:#94a3b829}.lobby-section-title{letter-spacing:.08em;text-transform:uppercase;color:var(--lobby-hero-accent-strong,var(--brand-primary));margin-bottom:.6rem;font-size:.82rem;font-weight:800}.lobby-section-title+.rooms-header{margin-top:0}.offline-join-section.rooms-section{--offline-highlight:#ffb36b;--offline-highlight-rgb:255,179,107;--offline-join-ink:#a55237;--offline-join-emphasis:#c76542;display:grid;grid-template-columns:minmax(0,1.08fr)minmax(390px,.92fr);overflow:hidden;backdrop-filter:none;background:#f8f1e6;border:1px solid #5d4e3817;border-radius:28px;min-height:320px;margin-top:0;padding:0;box-shadow:0 24px 52px #2c35461f}.offline-join-section.is-turtle-soup{--offline-highlight:#70d6c5;--offline-highlight-rgb:112,214,197;--offline-join-ink:#247d70;--offline-join-emphasis:#299b88}.offline-join-section.is-bluff-king{--offline-highlight:#e98255;--offline-highlight-rgb:233,130,85;--offline-join-ink:#8f3f25;--offline-join-emphasis:#b44f2d}.offline-join-section.is-action-guess{--offline-highlight:#e3ac49;--offline-highlight-rgb:227,172,73;--offline-join-ink:#775014;--offline-join-emphasis:#aa6d10}.offline-join-intro{position:relative;overflow:hidden;padding:2.55rem 2.75rem 2.7rem}.offline-join-intro:after{content:"";position:absolute;background:rgba(var(--offline-highlight-rgb,255,179,107),.12);pointer-events:none;border-radius:50%;width:250px;height:250px;bottom:-120px;right:-90px}.offline-join-intro .lobby-section-title{position:relative;z-index:1;color:var(--offline-join-ink,#a55237);letter-spacing:.16em;margin-bottom:.75rem;font-size:.76rem}.offline-join-intro h2{position:relative;z-index:1;color:#202a43;letter-spacing:-.045em;margin:0;font-size:clamp(2rem,3vw,3rem);line-height:1.05}.offline-join-intro h2 em{color:var(--offline-join-emphasis,#c76542)}.offline-join-intro>p{position:relative;z-index:1;color:#667085;text-wrap:pretty;max-width:42rem;margin:1rem 0 0;font-size:.94rem;line-height:1.7}.offline-start-steps{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;gap:.75rem;margin:1.55rem 0 0;padding:0}.offline-start-steps li{display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto;align-items: center;column-gap:.55rem;min-width:0}.offline-start-steps li>span{grid-row:1/3;display:grid;color:#fff4e4;font-variant-numeric:tabular-nums;background:#202a43;border-radius:10px;place-items: center;width:30px;height:30px;font-size:.76rem;font-weight:800}.offline-start-steps strong{overflow:hidden;color:#2e374c;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem}.offline-start-steps small{overflow:hidden;color:#8992a3;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem}.offline-join-card{position:relative;z-index:1;background:#ffffffeb;border:1px solid #313c5214;border-radius:20px;align-self: center;margin:1rem;padding:2rem;box-shadow:0 18px 36px #463d2f1c}.offline-join-card-heading{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:1.35rem}.offline-join-card-heading span{color:#202a43;letter-spacing:-.025em;font-size:1.35rem;font-weight:800}.offline-join-card-heading small{color:var(--offline-join-ink,#a55237);letter-spacing:.14em;font-size:.68rem;font-weight:800}.join-code-form{max-width:none;margin:0;padding:0}.join-code-form label{display:block;color:#596579;margin-bottom:.55rem;font-size:.82rem;font-weight:700}.join-code-input-group{display:flex;align-items:stretch;gap:.7rem}.room-code-input{color:#202a43;font-variant-numeric:tabular-nums;letter-spacing:.27em;text-align:center;background:#f6f7f9;border:2px solid #d9dee6;border-radius:12px;flex:1;min-width:0;min-height:56px;padding:.8rem .9rem;transition:border-color .2s,box-shadow .2s,background-color .2s;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:1.35rem;font-weight:800}.room-code-input::placeholder{color:#bbc2ce;opacity:1}.room-code-input:focus{outline:none;border-color:var(--offline-highlight,#ffb36b);box-shadow:0 0 0 4px rgba(var(--offline-highlight-rgb,255,179,107),.18);background:#fff}.room-code-input[aria-invalid=true]{border-color:#c84d4d}.btn-join{color:#fff;white-space:nowrap;background:#202a43;border-color:#202a43;border-radius:12px;flex-shrink:0;min-height:56px;padding:.8rem 1.15rem;transition:transform .2s,background-color .2s,box-shadow .2s;font-size:.92rem;font-weight:800;box-shadow:0 10px 20px #202a432e}.btn-join:hover{background:#2e3e63;border-color:#2e3e63;transform:translateY(-2px);box-shadow:0 14px 24px #202a433d}.btn-join:active{transform:translateY(1px)}.btn-join:focus-visible{outline:3px solid rgba(var(--offline-highlight-rgb,255,179,107),.5);outline-offset:2px}.offline-room-code-hint{color:#8a93a2;margin:.7rem 0 0;font-size:.7rem;line-height:1.55}.join-error-msg{color:#a83838;text-align:left;background:#fff1f1;border-left:3px solid #c84d4d;border-radius:8px;margin-top:.9rem;padding:.72rem .8rem;font-size:.82rem;font-weight:700}.rooms-header{display:flex;justify-content:space-between;align-items: center;margin-bottom:2rem}.rooms-header h2{color:var(--text-color);display:flex;align-items: center;gap:.75rem;font-size:2rem;font-weight:700}.room-count{background:rgba(var(--brand-primary-rgb),.12);color:var(--brand-primary);box-shadow:none;border-radius:999px;padding:.5rem 1rem;font-size:.9rem;font-weight:700}.rooms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:1rem;margin-bottom:2rem}.room-card{display:flex;position:relative;overflow:hidden;background:#ffffffe6;border:1px solid #94a3b824;border-radius:18px;flex-direction:column;justify-content:space-between;padding:1.1rem;transition:transform .22s,box-shadow .22s,border-color .22s;box-shadow:0 14px 30px #0f172a12}.room-card:before{content:"";position:absolute;background:linear-gradient(180deg,var(--lobby-hero-accent-strong,var(--brand-primary)),#fff0);opacity:.8;width:4px;inset:0 auto 0 0}.room-card:hover{border-color:rgba(var(--brand-primary-rgb),.18);transform:translateY(-4px);box-shadow:0 20px 42px #0f172a1a}.room-info h3{color:var(--text-color);display:flex;overflow-wrap:anywhere;align-items: center;gap:.4rem;min-width:0;margin-bottom:.7rem;font-size:1.05rem;font-weight:700}.room-info h3:before{content:"🏠";font-size:1rem}.room-meta{display:flex;background:rgba(var(--brand-primary-rgb),.06);border-radius:12px;justify-content:space-between;align-items: center;gap:.5rem;margin-bottom:.6rem;padding:.55rem .65rem}.room-players{color:var(--text-color);display:flex;white-space:nowrap;align-items: center;gap:.35rem;font-size:.86rem;font-weight:600}.room-status{box-shadow:none;border-radius:999px;padding:.28rem .62rem;transition:none;font-size:.74rem;font-weight:700}.room-status:hover{transform:none}.status-waiting{background:var(--brand-primary);color:#fff;box-shadow:0 4px 15px rgba(var(--brand-primary-rgb),.3)}.status-playing{background:var(--brand-secondary);color:#fff;box-shadow:0 4px 15px rgba(var(--brand-secondary-rgb),.3)}.status-finished{color:#fff;background:#95a5a6;box-shadow:0 4px 15px #95a5a64d}.room-card.room-playing{opacity:.88;border-color:rgba(var(--brand-secondary-rgb),.28)}.room-playing-tag{background:var(--brand-gradient);color:#fff;border-radius:var(--radius-xl);padding:.32rem .7rem;font-size:.76rem;font-weight:600}.room-creator{color:var(--text-color);display:flex;border-radius:var(--radius-sm);overflow-wrap:anywhere;background:#0f172a08;align-items: center;gap:.4rem;margin-bottom:.4rem;padding:.42rem .55rem;font-size:.82rem}.room-creator:before{content:"⏰";font-size:.82rem}.room-creator:last-of-type:before{content:"👑"}.room-actions{display:flex;border-top:1px solid #94a3b824;flex-basis:100%;justify-content:flex-end;align-items: center;gap:.6rem;width:100%;margin-top:.85rem;padding-top:.75rem}.room-actions .btn{min-height:42px}.room-actions form{display:inline-block;margin:0}.room-owner{background:rgba(var(--brand-primary-rgb),.1);color:var(--brand-primary);border-radius:var(--radius-xl);box-shadow:0 2px 8px rgba(var(--brand-primary-rgb),.15);padding:.4rem .8rem;font-size:.82rem;font-weight:600}.room-full{color:var(--text-light);border-radius:var(--radius-xl);background:#0000000d;padding:.4rem .8rem;font-size:.82rem;font-weight:500}.no-rooms{text-align:center;color:var(--text-light);border-radius:var(--radius-xl);backdrop-filter:blur(10px);background:#ffffff80;padding:4rem 2rem}.no-rooms p{display:flex;justify-content:center;align-items: center;gap:.75rem;font-size:1.25rem;font-weight:500}.pagination{display:flex;justify-content:center;align-items: center;gap:.5rem;margin-top:2rem}.pagination-btn{border:2px solid rgba(var(--brand-primary-rgb),.3);border-radius:var(--radius-md);color:var(--text-color);text-decoration:none;backdrop-filter:blur(10px);box-shadow:var(--shadow);background:#fffc;padding:.6rem 1.2rem;transition:all .3s cubic-bezier(.175,.885,.32,1.275);font-weight:600}.pagination-btn:hover{border-color:var(--brand-primary);color:var(--brand-primary);box-shadow:0 4px 15px rgba(var(--brand-primary-rgb),.2);background:#fff;transform:translateY(-3px)scale(1.05)}.pagination-btn.active{background:var(--brand-gradient);color:#fff;box-shadow:0 4px 15px rgba(var(--brand-primary-rgb),.3);border-color:#0000}.user-result-badge{display:inline-flex;border-radius:var(--radius-xs);white-space:nowrap;justify-content:center;align-items: center;padding:.25rem .6rem;font-size:.8rem;font-weight:600;line-height:1}.user-result-badge.won{background:var(--success-color);color:#fff}.user-result-badge.lost{color:#fff;background:#9e9e9e}.faction-badge{display:inline-flex;border-radius:var(--radius-xs);white-space:nowrap;align-items: center;padding:.25rem .6rem;font-size:.75rem;font-weight:500}.faction-badge.good{color:#2e7d32;background:#4caf5026;border:1px solid #4caf504d}.faction-badge.evil{color:#c62828;background:#f4433626;border:1px solid #f443364d}.modal{display:none;position:fixed;z-index:1000;backdrop-filter:blur(6px);animation:.2s fadeIn;background:#0f172a85;justify-content:center;align-items: center;width:100%;height:100%;top:0;left:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{overflow-y:auto;animation:.24s cubic-bezier(.22,1,.36,1) slideUp;position:relative;background:#fff;border:1px solid #0f172a14;border-radius:18px;width:90%;max-width:520px;max-height:90vh;padding:1.75rem 2rem;box-shadow:0 24px 60px #0f172a2e,0 4px 16px #0f172a14}@keyframes slideUp{0%{transform:translateY(12px)scale(.985);opacity:0}to{transform:translateY(0)scale(1);opacity:1}}.modal-header{display:flex;border-bottom:1px solid #13213c14;justify-content:space-between;align-items: center;gap:1rem;margin-bottom:1.25rem;padding-bottom:1rem}.modal-header h2{color:#142033;letter-spacing:-.02em;display:flex;align-items: center;gap:.5rem;font-size:1.25rem;font-weight:700;line-height:1.35}.modal-body{color:var(--text-color);margin-bottom:1.5rem}.modal-body p{font-size:1rem;line-height:1.6}.game-rules-content{line-height:1.8}.game-rules-content h3{color:var(--primary-color);margin-top:1.5rem;margin-bottom:.75rem;font-size:1.2rem}.game-rules-content h3:first-child{margin-top:0}.game-rules-content p{color:var(--text-color);margin-bottom:.75rem}.game-rules-content ol,.game-rules-content ul{margin-bottom:1rem;margin-left:1.5rem}.game-rules-content li{color:var(--text-color);margin-bottom:.5rem}.game-rules-content ul{list-style-type:disc}.game-rules-content strong{color:var(--text-color);font-weight:600}.bd-rules-card-samples{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items: flex-end;gap:1rem;margin:1rem 0}.bd-rules-card-item{display:flex;flex-direction:column;align-items: center;gap:.35rem}.bd-rules-card-img{aspect-ratio:76/108;object-fit:contain;border-radius:var(--radius-sm);border:1px solid var(--border-color);width:52px;height:auto;box-shadow:0 2px 6px #0000001a}.bd-rules-card-label{color:var(--text-light);font-size:.8rem}.modal-footer{display:flex;border-top:1px solid #13213c14;justify-content:flex-end;gap:.75rem;padding-top:1rem}.modal-close{color:#64748b;cursor:pointer;display:flex;background:0 0;border:none;border-radius:10px;justify-content:center;align-items: center;width:36px;height:36px;padding:0;transition:background-color .18s,color .18s;font-size:1.35rem;font-weight:400;line-height:1}.modal-close:hover{color:#142033;background:#13213c0f}.modal-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{color:var(--text-color);font-weight:500}.form-group input{border:2px solid rgba(var(--brand-primary-rgb),.2);border-radius:var(--radius-md);background:#ffffffe6;padding:.875rem 1.25rem;transition:all .3s;font-size:1rem}.form-group input:focus{outline:none;border-color:var(--brand-primary);box-shadow:0 0 0 4px rgba(var(--brand-primary-rgb),.1);background:#fff;transform:translateY(-2px)}.form-group small{color:var(--text-light);font-size:.875rem}.form-actions{display:flex;gap:1rem;margin-top:1rem}.form-actions .btn{flex:1}.footer{text-align:left;color:#4f5b6b;background:#f8fafc;border-top:1px solid #13213c14;margin-top:auto;padding:1.25rem 0 .85rem}.footer-content{display:flex;flex-direction:column;align-items:stretch;gap:.7rem}.footer-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items: center;gap:.75rem 2rem}.footer-brand{display:flex;flex-direction:column;align-items: flex-start;gap:.15rem;min-width:0}.footer-brand-home{display:inline-flex;text-decoration:none;color:#142033;align-items: center;min-width:44px;min-height:36px}.footer-brand-home:focus-visible{outline:2px solid var(--brand-primary);outline-offset:3px;border-radius:6px}.footer-brand-wordmark{letter-spacing:-.025em;color:#142033;font-size:1.1rem;font-weight:800}.footer-logo{object-fit:contain;opacity:.92;width:auto;height:26px}.footer-tagline{color:#647082;text-wrap:pretty;margin:0;font-size:.8125rem;line-height:1.45}.footer-content p{word-break:break-word;font-size:.85rem;line-height:1.5}.footer-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items: center;gap:.1rem 1.35rem;font-size:.875rem;line-height:1.4}.footer-nav-divider{background:#13213c24;flex-shrink:0;width:1px;height:13px}.footer-link{display:inline-flex;color:#556173;text-decoration:none;white-space:nowrap;align-items: center;min-width:44px;min-height:44px;transition:color .18s}.footer-link:hover{color:#142033;text-decoration:underline;text-underline-offset:.24em}.footer-link--about{color:var(--brand-navy,#163a70);text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:rgba(var(--brand-primary-rgb),.35);text-underline-offset:.28em;font-weight:600}.footer-link--about:hover,.footer-link--about[aria-current=page]{color:var(--brand-primary,#2563eb);text-decoration-color:currentColor}.footer-link:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px;border-radius:4px}.footer-bottom{display:flex;border-top:1px solid #13213c14;flex-wrap:wrap;justify-content:space-between;align-items: center;gap:.25rem 1.5rem;padding-top:.45rem}.footer-links{color:#5f6b7a;margin:0}.footer-language{display:inline-flex;color:var(--text-light);align-items: center;min-height:44px;font-size:.8125rem}.footer-language-option{display:inline-flex;color:#5a6575;font-size:inherit;text-decoration:none;text-underline-offset:.24em;justify-content:center;align-items: center;min-width:44px;min-height:44px;padding:0 .4rem;transition:color .18s,text-decoration-color .18s;font-weight:400}.footer-language-option:hover{color:var(--brand-navy);text-decoration:underline;text-decoration-color:rgba(var(--brand-primary-rgb),.35)}.footer-language-option:focus-visible{color:var(--brand-navy);outline:1px solid rgba(var(--brand-primary-rgb),.35);outline-offset:2px}.footer-language-option.is-active{color:var(--text-color);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:rgba(var(--brand-primary-rgb),.4);font-weight:600}.footer-language-separator{color:#1e3a5f47;opacity:.75;user-select:none}@media (max-width:1280px){.footer-bottom{padding-right:4.5rem}}@media (max-width:960px){.footer-top{flex-direction:column;align-items: flex-start;gap:.65rem}.footer-nav{justify-content:flex-start;gap:0 1.25rem}.footer-nav-divider{display:none}}@media (max-width:560px){.footer{padding:1.25rem 0 calc(1.1rem + env(safe-area-inset-bottom,0px))}.footer-content{gap:.85rem}.footer-brand-home{min-height:44px}.footer-nav{gap:0 1.1rem}.footer-link{white-space:normal;line-height:1.35}.footer-bottom{flex-direction:column;align-items: flex-start;gap:.2rem;padding-top:.65rem;padding-right:4.5rem}.footer-language{margin-left:-.4rem}}.locale-scope-note{border:1px solid rgba(var(--brand-primary-rgb),.18);border-radius:var(--radius-md);background:rgba(var(--brand-primary-rgb),.06);color:var(--text-light);margin:0 0 1.25rem;padding:.75rem 1rem;font-size:.9rem;line-height:1.55}@media (min-width:768px){.games-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width:1200px){.games-grid{grid-template-columns:repeat(3,1fr);max-width:1200px}}@media (max-width:1199px){.nav-brand-logo{height:36px}.navbar .container{gap:1rem}.nav-hamburger{display:flex;margin-left:auto}.nav-menu{display:none;position:absolute;border-radius:var(--radius-lg);padding:.5rem;padding-bottom:calc(.5rem + env(safe-area-inset-bottom,0px));max-height:calc(100vh - 100% - 24px);overflow-y:auto;overscroll-behavior:contain;z-index:100;background:#fff;flex-direction:column;gap:.125rem;max-height:calc(100dvh - 100% - 24px);top:calc(100% + 8px);left:20px;right:20px;box-shadow:0 18px 44px #13213c29}.nav-menu-backdrop{display:block;position:fixed;z-index:99;opacity:0;visibility:hidden;pointer-events:none;background:#080f1c8f;transition:opacity .25s,visibility .25s;inset:0}body.nav-menu-open .nav-menu-backdrop{opacity:1;visibility:visible;pointer-events:auto}.nav-menu.open{display:flex;animation:.25s ease-out navSlideDown}@keyframes navSlideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.nav-link{width:100%;padding:.75rem 1rem;font-size:1rem}.nav-link--mobile-only{display:inline-flex}.nav-link:before{border-radius:var(--radius-md);inset:0}.nav-link.active{color:var(--brand-navy)}.nav-auth-buttons{box-shadow:none;background:0 0;border-top:1px solid #13213c14;border-radius:0;flex-direction:column;align-items:stretch;gap:.5rem;width:100%;margin-top:.25rem;margin-left:0;padding:.625rem .25rem .25rem}.nav-auth-buttons .nav-auth-action{border-radius:var(--radius-md);width:100%;min-height:48px}.nav-auth-buttons .nav-auth-login{background:rgba(var(--brand-primary-rgb),.055);box-shadow:inset 0 0 0 1px rgba(var(--brand-primary-rgb),.08)}.nav-auth-buttons .nav-auth-login:before{display:none}.user-menu{display:grid;grid-template-columns:minmax(0,1fr)auto;border-top:1px solid #13213c14;gap:.45rem;width:100%;margin-top:.25rem;margin-left:0;padding:.5rem .25rem .25rem}.user-profile{justify-self:start;max-width:100%}.user-name{display:inline}.user-nav-actions{gap:.35rem;margin-left:auto}.user-nav-icon-btn{flex-direction:column;gap:2px;width:auto;min-width:44px;min-height:44px;padding:4px 6px 3px}.user-nav-icon-label{display:inline-block;font-size:10px}.user-message-badge{min-width:16px;height:13px;padding:0 3px;font-size:9px;right:-10px}.user-dropdown{display:none;position:static;grid-column:1/-1;border-radius:var(--radius-md);box-shadow:none;width:100%;min-width:0;margin-top:.25rem;transform:none}.user-dropdown.show{display:block}}@media (max-width:768px){.cta-content h2{font-size:2.5rem}.cta-content p{font-size:1.125rem}.section-title,.games-lobby-section .section-title,.features-section .section-title{font-size:2.5rem}.btn{padding:.5rem 1rem;font-size:.875rem}.auth-container{padding:max(1.5rem,env(safe-area-inset-top))max(1rem,env(safe-area-inset-right))max(1.5rem,env(safe-area-inset-bottom))max(1rem,env(safe-area-inset-left))}.auth-brand{margin-bottom:1rem}.auth-brand-logo{font-size:1.85rem}.auth-card{border-radius:var(--radius-lg);padding:2rem 1.5rem 1.5rem}.auth-header h1,.auth-header h2{font-size:1.3rem}.auth-trust{align-items: center;gap:.5rem 1rem;margin-top:1rem}.community-subnav{padding:0 .75rem}.community-subnav-link{gap:.3rem;padding:.5rem;font-size:.88rem}.profile-card{margin-top:-80px}.features-grid,.games-grid{grid-template-columns:1fr}.avatar-upload{flex-direction:column;align-items: flex-start}.lobby-header{flex-direction:column;align-items: flex-start;gap:1rem}.lobby-header h1{font-size:2rem}.rooms-grid,.games-grid{grid-template-columns:1fr}.game-card-large{flex-direction:column}.game-card-large .game-image{width:100%;padding-bottom:50%}.hero-title{font-size:2.5rem}.hero-subtitle{font-size:1rem}.games-lobby-section .section-title,.features-section .section-title,.cta-content h2{font-size:2rem}.game-card{padding:1.5rem}.game-card h3{font-size:1.35rem}.game-icon{margin-bottom:1rem;font-size:3.5rem}.game-card .game-icon.game-icon-img img{width:64px;height:64px}.dashboard-header{padding:1.5rem 0 1rem}.dashboard-header h2{font-size:1.75rem}}.bio-input-wrapper{position:relative}.bio-recommendation{background:var(--brand-gradient);border-radius:var(--radius-sm);color:#fff;margin-top:1rem;padding:1rem;box-shadow:0 4px 6px #0000001a}.recommendation-header{display:flex;align-items: center;gap:.5rem;margin-bottom:.75rem;font-size:.9rem;font-weight:600}.recommendation-icon{font-size:1.2rem}.recommendation-content{border-radius:var(--radius-xs);backdrop-filter:blur(10px);background:#ffffff26;min-height:60px;margin-bottom:.75rem;padding:.75rem;font-size:.95rem;line-height:1.6}.recommendation-actions{display:flex;flex-wrap:wrap;gap:.5rem}.recommendation-actions .btn{flex:1;min-width:100px}.btn-small{padding:.5rem 1rem;font-size:.875rem}#generateRecommendationBtn{width:100%;margin-top:.5rem}#generateRecommendationBtn:disabled{opacity:.6;cursor:not-allowed}.notification-container{position:fixed;z-index:10000;display:flex;pointer-events:none;flex-direction:column;gap:10px;top:20px;right:20px}.notification{border-radius:var(--radius-sm);box-shadow:var(--shadow-md);display:flex;opacity:0;pointer-events:auto;border-left:4px solid var(--brand-primary);background:#fff;align-items: center;gap:12px;min-width:300px;max-width:400px;padding:12px 16px;transition:all .3s;transform:translate(100%)}.notification.show{opacity:1;transform:translate(0)}.notification-success{border-left-color:#27ae60}.notification-error{border-left-color:#e74c3c}.notification-warning{border-left-color:#f39c12}.notification-info{border-left-color:#3498db}.notification-icon{flex-shrink:0;font-size:20px;font-weight:700}.notification-success .notification-icon{color:#27ae60}.notification-error .notification-icon{color:#e74c3c}.notification-warning .notification-icon{color:#f39c12}.notification-info .notification-icon{color:#3498db}.notification-message{color:#2c3e50;flex:1;font-size:14px;line-height:1.5}.notification-close{color:#7f8c8d;cursor:pointer;display:flex;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items: center;width:20px;height:20px;padding:0;transition:color .2s;font-size:20px}.notification-close:hover{color:#2c3e50}@media (max-width:768px){.notification-container{top:max(12px,env(safe-area-inset-top));left:12px;right:12px}.notification{width:100%;min-width:0;max-width:none}.notification-close{width:44px;height:44px;margin:-10px -12px -10px 0}}.loading-overlay{position:fixed;backdrop-filter:blur(4px);z-index:9999;display:flex;opacity:0;pointer-events:none;background:#ffffffe6;justify-content:center;align-items: center;transition:opacity .3s;inset:0}.loading-overlay.show{opacity:1;pointer-events:auto}.loading-overlay-content{text-align:center}.loading-spinner-large{border:4px solid #e1e8ed;border-top-color:var(--brand-primary);animation:1s linear infinite spin;border-radius:50%;width:50px;height:50px;margin:0 auto 16px}.loading-message{color:#2c3e50;margin:0;font-size:16px}.loading-spinner{display:inline-block;animation:.8s linear infinite spin;vertical-align:middle;border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:14px;height:14px;margin-right:6px}button.loading{pointer-events:none;opacity:.7}.area-loading-spinner{position:absolute;display:flex;z-index:100;border-radius:var(--radius-sm);background:#fffc;flex-direction:column;justify-content:center;align-items: center;gap:12px;inset:0}.loading-area{position:relative;pointer-events:none;opacity:.6}@keyframes spin{to{transform:rotate(360deg)}}.modal-container{position:fixed;z-index:10001;pointer-events:none;inset:0}.custom-modal{position:fixed;display:flex;opacity:0;pointer-events:none;justify-content:center;align-items: center;transition:opacity .3s;inset:0}.custom-modal.show{opacity:1;pointer-events:auto}.custom-modal-overlay{position:absolute;backdrop-filter:blur(4px);background:#00000080;inset:0}.custom-modal-content{position:relative;border-radius:var(--radius-lg);overflow:hidden;z-index:1;background:#fff;width:90%;max-width:480px;max-height:90vh;transition:transform .3s;transform:scale(.9);box-shadow:0 8px 32px #0003}.custom-modal.show .custom-modal-content{transform:scale(1)}.custom-modal-header{display:flex;border-bottom:1px solid #e1e8ed;justify-content:space-between;align-items: center;padding:20px 24px}.custom-modal-title{color:#2c3e50;margin:0;font-size:18px;font-weight:600}.custom-modal-close{color:#7f8c8d;cursor:pointer;display:flex;background:0 0;border:none;border-radius:50%;justify-content:center;align-items: center;width:44px;height:44px;padding:0;transition:all .2s;font-size:24px}.custom-modal-close:hover{color:#2c3e50;background:#f8f9fa}.custom-modal-body{display:flex;text-align:center;flex-direction:column;align-items: center;padding:24px}.custom-modal-icon{display:flex;border-radius:50%;justify-content:center;align-items: center;width:64px;height:64px;margin-bottom:16px;font-size:32px;font-weight:700}.custom-modal-icon-warning{color:#f39c12;background:#f39c121a}.custom-modal-icon-danger{color:#e74c3c;background:#e74c3c1a}.custom-modal-icon-info{color:#3498db;background:#3498db1a}.custom-modal-icon-success{color:#27ae60;background:#27ae601a}.custom-modal-message{color:#2c3e50;word-break:break-word;font-size:15px;line-height:1.6}.custom-modal-footer{display:flex;background:#f8f9fa;border-top:1px solid #e1e8ed;justify-content:flex-end;gap:12px;padding:16px 24px}.custom-modal-footer .btn{min-width:80px}.custom-modal-confirm-warning{background:#f39c12}.custom-modal-confirm-warning:hover{background:#e67e22}.custom-modal-confirm-danger{background:#e74c3c}.custom-modal-confirm-danger:hover{background:#c0392b}.custom-modal-confirm-info{background:#3498db}.custom-modal-confirm-info:hover{background:#2980b9}.custom-modal-confirm-success{background:#27ae60}.custom-modal-confirm-success:hover{background:#229954}.custom-modal-footer:has(.custom-modal-cancel[style*="display: none"]){justify-content:center}.phase-transition{animation:.5s phaseTransition}@keyframes phaseTransition{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}to{transform:scale(1);opacity:1}}button[disabled][data-tooltip],button[disabled][title]{position:relative}button[disabled][data-tooltip]:hover:after,button[disabled][title]:hover:after{content:attr(data-tooltip)attr(title);position:absolute;color:#fff;border-radius:var(--radius-xs);white-space:nowrap;z-index:1000;pointer-events:none;background:#2c3e50;margin-bottom:5px;padding:6px 10px;font-size:12px;bottom:100%;left:50%;transform:translate(-50%);box-shadow:0 2px 8px #0003}button[disabled][data-tooltip]:hover:before,button[disabled][title]:hover:before{content:"";position:absolute;z-index:1000;pointer-events:none;border:5px solid #0000;border-top-color:#2c3e50;margin-bottom:-5px;bottom:100%;left:50%;transform:translate(-50%)}@media (max-width:480px){.hero-title{font-size:2rem}.hero-subtitle{font-size:.9rem}.games-lobby-section .section-title,.features-section .section-title,.cta-content h2{font-size:1.75rem}.room-container{gap:.5rem;padding:0 5px}.room-info-section,.room-players-section{padding:.5rem}.players-list{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:.25rem}.auth-container{padding:max(1rem,env(safe-area-inset-top))max(.75rem,env(safe-area-inset-right))max(1rem,env(safe-area-inset-bottom))max(.75rem,env(safe-area-inset-left))}.auth-brand-logo{font-size:1.75rem}.auth-card{border-radius:var(--radius-md);padding:1.75rem 1.25rem 1.25rem}.auth-header h1,.auth-header h2{font-size:1.25rem}.player-card{padding:.25rem}.chat-message{max-width:95%;padding:.5rem}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInRight{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.animate-fade-in-up{animation:.3s ease-out fadeInUp}.animate-slide-in-right{animation:.3s ease-out slideInRight}.animate-scale-in{animation:.3s ease-out scaleIn}.btn:not(:disabled):active{transform:scale(.98)}@media (hover:hover) and (pointer:fine){.game-card,.room-card,.feature-card{transition:all .3s cubic-bezier(.4,0,.2,1)}.game-card:hover,.room-card:hover,.feature-card:hover{transform:translateY(-4px)scale(1.02)}}.form-group input:focus,.form-group textarea:focus,.chat-input:focus{box-shadow:var(--shadow-md);transform:translateY(-1px)}.player-card.new-player,.chat-message{animation:.25s ease-out chatFadeIn}.player-card.new-player{animation-fill-mode:forwards}html{scroll-behavior:smooth}body{padding:env(safe-area-inset-top)env(safe-area-inset-right)env(safe-area-inset-bottom)env(safe-area-inset-left)}[data-game-surface]{touch-action:manipulation}.room-main,.room-game-area{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.chat-input,.chat-messages,.room-info-section,input,textarea{-webkit-user-select:auto;user-select:auto}.chat-messages,.message-content{-webkit-touch-callout:default;-webkit-user-select:text;user-select:text}@media (max-width:768px){.btn{min-width:44px;min-height:44px;padding:.625rem 1.25rem}.btn-small{min-height:44px;padding:.5rem 1rem;font-size:.875rem}.pagination-btn{min-width:44px;min-height:44px;padding:.5rem .75rem}.nav-link{display:inline-flex;align-items: center;min-height:44px}.modal-close,.crop-modal-close,.custom-modal-close,.dm-request-modal-close{width:44px;min-width:44px;height:44px;min-height:44px}.community-input{min-height:44px}.profile-field-content :-webkit-any(input,select){min-height:44px}.profile-field-content :-moz-any(input,select){min-height:44px}.profile-field-content :is(input,select){min-height:44px}.community-post-avatar[data-community-user-trigger="1"],.community-post-avatar-placeholder[data-community-user-trigger="1"]{min-width:44px;min-height:44px}.navbar{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fffffff5}.navbar.is-scrolled{background:#fffffffa}.hero-image{filter:none;will-change:auto}.auth-card{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fffffff5}}@media (max-width:480px){.dashboard-header h2{font-size:1.5rem}.dashboard-section-title{font-size:1.1rem}.game-card{padding:1rem}.game-card .game-title{font-size:1rem}.game-card .game-desc{-webkit-line-clamp:2;font-size:.85rem}.game-card .btn{display:flex;justify-content:center;align-items: center;width:100%;min-height:44px}.modal-content{padding:1.25rem}.modal-header h2{font-size:1.15rem}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}html{scroll-behavior:auto}.nav-menu,.nav-menu-backdrop,.nav-hamburger span{animation-duration:.01ms!important;transition-duration:.01ms!important}}.site-help-launchers{position:fixed;right:calc(24px + env(safe-area-inset-right,0px));bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:90;display:flex;flex-direction:column;align-items: center;gap:8px}.site-feedback-launcher{position:relative;box-sizing:border-box;display:inline-flex;border:1px solid var(--border-color);background:var(--bg-color);color:var(--brand-navy);text-decoration:none;touch-action:manipulation;border-radius:50%;justify-content:center;align-items: center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;box-shadow:0 2px 10px #1e3a5f1a}.site-feedback-launcher:hover{border-color:var(--brand-primary);background:var(--bg-light);color:var(--brand-primary-hover)}.site-feedback-launcher:focus-visible{outline:3px solid var(--brand-primary);outline-offset:3px}.site-help-tooltip{position:absolute;background:var(--brand-navy);color:#fff;text-align:left;visibility:hidden;border-radius:8px;width:max-content;max-width:min(240px,100vw - 90px);padding:8px 12px;font-size:13px;font-weight:500;line-height:1.5;top:50%;right:calc(100% + 10px);transform:translateY(-50%)}.site-help-tooltip:after{content:"";position:absolute;width:10px;height:100%;top:0;left:100%}.site-help-launchers>a:focus-visible .site-help-tooltip{visibility:visible}@media (hover:hover){.site-help-launchers>a:hover .site-help-tooltip{visibility:visible}}.site-help-launchers>a.is-tip-dismissed .site-help-tooltip{visibility:hidden}body:has([data-game-surface]) .site-help-launchers{display:none}body:has(input:focus,textarea:focus,[contenteditable=true]:focus) .site-help-launchers{display:none}body:has(.custom-modal.show,.modal.active,.modal.show,.modal-overlay.active,.lobby-onboarding.is-open) .site-help-launchers{display:none}@media (max-width:768px){body:has([data-mobile-quick-start=true]){--lobby-mobile-actions-space:calc(10rem + env(safe-area-inset-bottom,0px))}body:has([data-mobile-quick-start=true]) .site-help-launchers{bottom:calc(var(--lobby-mobile-actions-space) + 12px)}.site-help-launchers{right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(12px + env(safe-area-inset-bottom,0px))}}@media print{.site-help-launchers,.lp-nav-progress,.lp-nav-launch,.lp-nav-pill{display:none}}.lp-nav-progress{position:fixed;z-index:9999;pointer-events:none;opacity:0;height:3px;transition:opacity .16s;top:0;left:0;right:0}.lp-nav-progress.is-active{opacity:1}.lp-nav-progress__bar{position:relative;transform-origin:left center;background:linear-gradient(90deg,var(--brand-primary)0%,#38bdf8 58%,var(--brand-secondary)100%);overflow:hidden;width:100%;height:100%;transition:transform .65s cubic-bezier(.22,1,.36,1);transform:scaleX(0);box-shadow:0 0 10px #2563eb73}.lp-nav-progress.is-active .lp-nav-progress__bar:after{content:"";position:absolute;animation:1.15s ease-in-out infinite lp-nav-shimmer;background:linear-gradient(90deg,#0000 0%,#ffffff8c 50%,#0000 100%);inset:0;transform:translate(-100%)}@keyframes lp-nav-shimmer{to{transform:translate(100%)}}.lp-nav-launch{position:fixed;z-index:9998;display:flex;padding:calc(20px + env(safe-area-inset-top,0px))20px calc(20px + env(safe-area-inset-bottom,0px));backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);pointer-events:none;opacity:0;visibility:hidden;background:#0f172a6b;justify-content:center;align-items: center;transition:opacity .2s,visibility .2s;inset:0}.lp-nav-launch.is-visible{opacity:1;visibility:visible}.lp-nav-launch__card{display:flex;text-align:center;background:#fff;border:1px solid #ffffffd9;border-radius:22px;flex-direction:column;align-items: center;gap:10px;width:min(260px,100vw - 48px);padding:22px 20px 18px;transition:transform .24s cubic-bezier(.22,1,.36,1);transform:translateY(10px)scale(.96);box-shadow:0 20px 48px #0f172a3d,0 4px 14px #0f172a1a}.lp-nav-launch.is-visible .lp-nav-launch__card{transform:translateY(0)scale(1)}.lp-nav-launch__cover{position:relative;display:flex;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border-radius:50%;justify-content:center;align-items: center;width:76px;height:76px;box-shadow:0 6px 18px #2563eb29}.lp-nav-launch__img{object-fit:cover;display:block;border-radius:50%;width:66px;height:66px}.lp-nav-launch__cover.is-no-cover .lp-nav-launch__img{display:none}.lp-nav-launch__ring{position:absolute;border:2.5px solid #2563eb24;border-top-color:var(--brand-primary);border-right-color:var(--brand-secondary);animation:.9s linear infinite spin;border-radius:50%;inset:-3px}.lp-nav-launch__cover.is-no-cover .lp-nav-launch__ring{border-width:3px;border-radius:50%;inset:14px}.lp-nav-launch__title{color:var(--text-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:16px;font-weight:700;line-height:1.3}.lp-nav-launch__status{color:var(--text-light);font-size:13px;font-weight:500;line-height:1.2}.lp-nav-launch__track{position:relative;border-radius:var(--radius-full);overflow:hidden;background:#2563eb1f;width:100%;height:4px;margin-top:2px}.lp-nav-launch__track-fill{position:absolute;border-radius:var(--radius-full);background:linear-gradient(90deg,var(--brand-primary)0%,#38bdf8 60%,var(--brand-secondary)100%);animation:1.15s ease-in-out infinite lp-nav-launch-slide;width:42%;inset:0 auto 0 0}@keyframes lp-nav-launch-slide{0%{transform:translate(-110%)}to{transform:translate(260%)}}.lp-nav-pill{position:fixed;top:calc(12px + env(safe-area-inset-top,0px));z-index:9999;pointer-events:none;display:inline-flex;border-radius:var(--radius-full);color:#fff;letter-spacing:.01em;opacity:0;background:#0f172ae0;align-items: center;gap:8px;padding:8px 16px;transition:opacity .18s,transform .22s;font-size:13px;font-weight:600;line-height:1.2;left:50%;transform:translate(-50%,-8px);box-shadow:0 8px 24px #0f172a38}.lp-nav-pill.is-visible{opacity:1;transform:translate(-50%)}.lp-nav-pill__spinner{border:2px solid #ffffff52;border-top-color:var(--brand-secondary);animation:.65s linear infinite spin;border-right-color:#fff;border-radius:50%;flex-shrink:0;width:14px;height:14px}a.is-nav-loading{opacity:.86;cursor:progress}.lp-nav-spinner{display:inline-block;vertical-align:-.14em;animation:.65s linear infinite spin;border:2px solid;border-right-color:#0000;border-radius:50%;flex-shrink:0;width:.92em;min-width:13px;max-width:16px;height:.92em;min-height:13px;max-height:16px;margin-inline-start:.45em}.lp-nav-sr-only{position:absolute;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0}@media (max-width:768px){.lp-nav-launch{backdrop-filter:none;-webkit-backdrop-filter:none;background:#0f172a85}}@media (prefers-reduced-motion:reduce){.lp-nav-progress,.lp-nav-progress__bar,.lp-nav-launch,.lp-nav-launch__card,.lp-nav-pill{transition:none}.lp-nav-progress.is-active .lp-nav-progress__bar:after{animation:none;display:none}.lp-nav-launch__ring,.lp-nav-launch__track-fill,.lp-nav-spinner,.lp-nav-pill__spinner{animation:none}.lp-nav-launch__track-fill{width:65%;transform:none}.lp-nav-spinner,.lp-nav-pill__spinner{border-style:dotted;border-color:currentColor}.lp-nav-pill__spinner{border-color:var(--brand-secondary)}}
