.toast-container{position:fixed;top:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:12px;pointer-events:none;max-width:400px}.toast-wrapper{pointer-events:auto}.toast{background:var(--surface-card);border-radius:16px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f,0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;min-width:320px;max-width:400px;cursor:pointer;transition:all .4s cubic-bezier(.34,1.56,.64,1);opacity:0;transform:translate(100%) scale(.9);overflow:hidden;border:1px solid rgba(0,0,0,.05)}.toast-visible{opacity:1;transform:translate(0) scale(1)}.toast-exiting{opacity:0;transform:translate(100%) scale(.9)}.toast-content{display:flex;align-items:flex-start;gap:14px;padding:16px 16px 12px}.toast-icon-wrapper{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px;font-weight:600}.toast-icon-error{background:linear-gradient(135deg,#fee2e2 0%,#fecaca 100%);color:#dc2626}.toast-icon-warning{background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%);color:#d97706}.toast-icon-info{background:linear-gradient(135deg,#dbeafe 0%,#bfdbfe 100%);color:#2563eb}.toast-icon-success{background:linear-gradient(135deg,#d1fae5 0%,#a7f3d0 100%);color:#059669}.toast-icon{display:flex;align-items:center;justify-content:center}.toast-body{flex:1;min-width:0}.toast-title{font-size:15px;font-weight:600;color:#1f2937;margin-bottom:4px;line-height:1.4}.toast-message{font-size:13px;color:#6b7280;line-height:1.5;word-wrap:break-word}.toast-close{background:none;border:none;width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#9ca3af;cursor:pointer;padding:0;transition:all .2s ease;flex-shrink:0;margin-top:-2px}.toast-close:hover{background:#f3f4f6;color:#4b5563}.toast-close svg{width:16px;height:16px}.toast-progress-bar{height:3px;background:rgba(0,0,0,.05);margin:0 16px 16px 70px;border-radius:2px;overflow:hidden}.toast-progress-fill{height:100%;border-radius:2px;transition:width .05s linear}.toast-error .toast-progress-fill{background:linear-gradient(90deg,#dc2626 0%,#ef4444 100%)}.toast-warning .toast-progress-fill{background:linear-gradient(90deg,#d97706 0%,#f59e0b 100%)}.toast-info .toast-progress-fill{background:linear-gradient(90deg,#2563eb 0%,#3b82f6 100%)}.toast-success .toast-progress-fill{background:linear-gradient(90deg,#059669 0%,#10b981 100%)}.toast:hover{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d,0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;transform:translateY(-2px)}@media (max-width: 480px){.toast-container{top:10px;right:10px;left:10px;max-width:none}.toast{min-width:auto;max-width:100%}.toast-content{padding:14px 14px 10px}.toast-icon-wrapper{width:36px;height:36px;font-size:16px}.toast-title{font-size:14px}.toast-message{font-size:12px}.toast-progress-bar{margin:0 14px 14px 64px}}.confirm-dialog-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:10000;opacity:0;transition:opacity .2s ease;padding:20px}.confirm-dialog-overlay.visible{opacity:1}.confirm-dialog-overlay.exiting{opacity:0}.confirm-dialog{background:var(--surface-card);border-radius:20px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:400px;width:100%;padding:28px;text-align:center;transform:scale(.9) translateY(20px);transition:all .2s cubic-bezier(.34,1.56,.64,1)}.confirm-dialog.visible{transform:scale(1) translateY(0)}.confirm-dialog.exiting{transform:scale(.9) translateY(20px);opacity:0}.confirm-dialog-icon{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px;margin:0 auto 20px}.confirm-dialog-icon-danger{background:linear-gradient(135deg,#fee2e2 0%,#fecaca 100%)}.confirm-dialog-icon-warning{background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%)}.confirm-dialog-icon-info{background:linear-gradient(135deg,#dbeafe 0%,#bfdbfe 100%)}.confirm-dialog-content{margin-bottom:24px}.confirm-dialog-title{font-size:20px;font-weight:600;color:#1f2937;margin:0 0 12px;line-height:1.3}.confirm-dialog-message{font-size:15px;color:#6b7280;margin:0;line-height:1.6}.confirm-dialog-actions{display:flex;gap:12px;justify-content:center}.confirm-dialog-btn{padding:12px 24px;border-radius:12px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;min-width:100px}.confirm-dialog-btn-cancel{background:#f3f4f6;color:#4b5563}.confirm-dialog-btn-cancel:hover{background:#e5e7eb;transform:translateY(-1px)}.confirm-dialog-btn-cancel:active{transform:translateY(0)}.confirm-dialog-btn-confirm{background:var(--grad-primary);color:#fff;box-shadow:0 4px 14px #667eea66}.confirm-dialog-btn-confirm:hover{transform:translateY(-1px);box-shadow:0 6px 20px #667eea80}.confirm-dialog-btn-confirm:active{transform:translateY(0)}.confirm-dialog-btn-danger{background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);box-shadow:0 4px 14px #ef444466}.confirm-dialog-btn-danger:hover{box-shadow:0 6px 20px #ef444480}.confirm-dialog-btn-warning{background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);box-shadow:0 4px 14px #f59e0b66}.confirm-dialog-btn-warning:hover{box-shadow:0 6px 20px #f59e0b80}@media (max-width: 480px){.confirm-dialog-overlay{padding:16px;align-items:flex-end}.confirm-dialog{padding:24px 20px;border-radius:16px}.confirm-dialog-icon{width:56px;height:56px;font-size:24px;margin-bottom:16px}.confirm-dialog-title{font-size:18px}.confirm-dialog-message{font-size:14px}.confirm-dialog-actions{flex-direction:column-reverse;gap:8px}.confirm-dialog-btn{width:100%;padding:14px 24px}}*{margin:0;padding:0;box-sizing:border-box}:root{--primary: #667eea;--primary-dark: #5a67d8;--primary-light: #a5b4fc;--accent: #764ba2;--success: #10b981;--warning: #f59e0b;--danger: #ef4444;--text: #1e293b;--text-secondary: #64748b;--text-tertiary: #94a3b8;--bg-card: rgba(255, 255, 255, .95);--bg-page: #f5f5f7;--border: #f1f5f9;--shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);--shadow-md: 0 8px 24px rgba(0, 0, 0, .1);--shadow-lg: 0 20px 60px rgba(0, 0, 0, .25);--shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06);--shadow-card-hover: 0 4px 12px rgba(16, 24, 40, .08), 0 12px 32px rgba(16, 24, 40, .12);--radius-sm: 12px;--radius-md: 16px;--radius-lg: 24px;--radius-full: 9999px;--tabbar-height: 60px;--grad-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);--grad-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);--grad-success: linear-gradient(135deg, #34d399 0%, #10b981 100%);--grad-warm: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);--grad-dating: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);--grad-bottle: linear-gradient(135deg, #4facfe 0%, #0072ff 100%);--grad-treehole: linear-gradient(135deg, #f6d365 0%, #fda085 100%);--grad-match: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);--grad-private: linear-gradient(135deg, #ec4899 0%, #be185d 100%);--grad-bottle-bg: linear-gradient(180deg, #4facfe 0%, #00c6fb 32%, #0072ff 62%, #fceabb 85%, #f6d365 100%);--grad-treehole-bg: linear-gradient(180deg, #f6d365 0%, #fda085 40%, #fccb90 75%, #ffecd2 100%);--surface-card: #ffffff;--surface-input: #ffffff;--surface-muted: #f8fafc;--surface-page: #f5f5f7}:root[data-theme=dark]{--primary: #818cf8;--primary-dark: #6366f1;--primary-light: #6366f1;--accent: #a78bfa;--success: #34d399;--warning: #fbbf24;--danger: #f87171;--text: #e2e8f0;--text-secondary: #94a3b8;--text-tertiary: #64748b;--bg-card: rgba(30, 35, 55, .92);--bg-page: #131722;--border: #2a3145;--shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);--shadow-md: 0 8px 24px rgba(0, 0, 0, .4);--shadow-lg: 0 20px 60px rgba(0, 0, 0, .55);--shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .35);--shadow-card-hover: 0 4px 12px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .5);--surface-card: #1e2337;--surface-input: #151a2b;--surface-muted: #262c42;--surface-page: #131722}.card{background:var(--surface-card);border-radius:var(--radius-md);box-shadow:var(--shadow-card);transition:box-shadow .2s ease,transform .2s ease}.card-hover:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-2px)}.gradient-text{background:var(--grad-primary);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}html{scroll-behavior:smooth;height:100%;overflow:hidden}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea 0%,#764ba2 50%,#8b5cf6 100%);background-attachment:fixed;height:100%;overflow:hidden;color:var(--text)}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.12) 0%,transparent 40%),radial-gradient(circle at 80% 80%,rgba(255,255,255,.1) 0%,transparent 40%);pointer-events:none;z-index:-1}#root{height:100%;overflow:hidden;display:flex;flex-direction:column}html:has(body.admin-app),body.admin-app{height:auto!important;min-height:100vh;overflow:visible!important}body.admin-app #root{height:auto!important;min-height:100vh;overflow:visible!important;display:block}body.admin-app .admin-login-page,body.admin-app .admin-dashboard-page{width:100%}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;cursor:pointer;font-weight:600;transition:all .25s cubic-bezier(.4,0,.2,1);outline:none;position:relative;overflow:hidden}.btn:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(255,255,255,.15);opacity:0;transition:opacity .2s}.btn:hover:after{opacity:1}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.6;cursor:not-allowed}.btn:focus-visible{box-shadow:0 0 0 3px #667eea66}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:rgba(0,0,0,.04);border-radius:3px}::-webkit-scrollbar-thumb{background:rgba(102,126,234,.35);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:rgba(102,126,234,.55)}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:2px solid var(--primary);outline-offset:2px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}[data-theme=dark] body:not(.admin-app){background:linear-gradient(135deg,#1e1b4b 0%,#171b3a 50%,#0f172e 100%);background-attachment:fixed}[data-theme=dark] .tab-bar,[data-theme=dark] .status-bar,[data-theme=dark] .connection-bar.connecting{background:rgba(24,28,46,.92)!important;color:var(--text);border-color:var(--border)}[data-theme=dark] .connection-bar.disconnected{background:rgba(127,29,29,.25)!important;color:#fca5a5}[data-theme=dark] .connection-bar.connecting{background:rgba(120,53,15,.25)!important;color:#fcd34d}[data-theme=dark] .confirm-dialog,[data-theme=dark] .prompt-dialog,[data-theme=dark] .report-dialog,[data-theme=dark] .me-profile-card,[data-theme=dark] .me-menu,[data-theme=dark] .me-menu-item,[data-theme=dark] .chat-list-page,[data-theme=dark] .match-list{background:var(--surface-card)!important;color:var(--text)}[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] select{background:var(--surface-input);color:var(--text);border-color:var(--border)}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:var(--text-tertiary)}[data-theme=dark] .toast{background:#262c42;border:1px solid var(--border);color:var(--text)}[data-theme=dark] .feature-card{background:linear-gradient(135deg,#272e47 0%,#1f2539 100%);border:1px solid var(--border)}[data-theme=dark] .feature-card .feature-card-title{color:var(--text)}[data-theme=dark] .feature-card .feature-card-desc{color:var(--text-secondary)}[data-theme=dark] .match-card{background:linear-gradient(135deg,rgba(99,102,241,.16),#1f2539)}[data-theme=dark] .discover-page .bottle-card{background:linear-gradient(135deg,rgba(59,130,246,.16),#1f2539)}[data-theme=dark] .private-channel-card{background:linear-gradient(135deg,rgba(236,72,153,.16),#1f2539)}[data-theme=dark] .tree-hole-card,[data-theme=dark] .games-card,[data-theme=dark] .subscribe-card{background:linear-gradient(135deg,rgba(245,158,11,.14),#1f2539)}[data-theme=dark] .eye-catcher-card{background:linear-gradient(135deg,rgba(96,165,250,.14),#1f2539)}[data-theme=dark] .dating-card{background:linear-gradient(135deg,rgba(244,63,94,.14),#1f2539)}[data-theme=dark] .bottle-card-title{color:var(--text)}[data-theme=dark] .bottle-container{background:radial-gradient(circle at 85% 5%,rgba(56,130,246,.18) 0%,rgba(56,130,246,0) 24%),linear-gradient(180deg,#0c1a33 0%,#0e2244 45%,#102a52 75%,#16324f 100%)!important}[data-theme=dark] .bottle-action-card{background:rgba(30,35,55,.85)!important;border-color:#94a3b840!important;color:var(--text)}[data-theme=dark] .bottle-action-card:hover{background:rgba(38,44,66,.95)!important}[data-theme=dark] .bottle-compliance{background:rgba(30,35,55,.75)!important;color:var(--text-secondary)!important}[data-theme=dark] .bottle-detail-content{background:linear-gradient(135deg,#16233f,#1b2c4e)!important;border-color:#2a3a5e!important;color:var(--text)}[data-theme=dark] .bottle-textarea{background:var(--surface-input);color:var(--text)}[data-theme=dark] .bottle-header{background:rgba(12,20,38,.55)!important;border-bottom-color:#94a3b833!important;color:#e2e8f0!important}[data-theme=dark] .bottle-header .ph-back-btn{background:rgba(148,163,184,.18);color:#e2e8f0}[data-theme=dark] .bottle-hero-glow{background:radial-gradient(circle,rgba(148,197,255,.28) 0%,rgba(148,197,255,.06) 45%,transparent 70%)}[data-theme=dark] .bottle-hero-bubble{background:radial-gradient(circle at 32% 28%,rgba(191,219,254,.65),rgba(191,219,254,.05) 62%);border-color:#bfdbfe40}[data-theme=dark] .bottle-wave-back{background:rgba(148,197,255,.07)}[data-theme=dark] .bottle-wave-front{background:rgba(148,197,255,.1)}[data-theme=dark] .bottle-rules{background:rgba(15,23,42,.45);border-color:#94a3b838;color:var(--text-secondary);text-shadow:none}[data-theme=dark] .bottle-card-quota{color:#a5c8f0;background:rgba(148,197,255,.14)}[data-theme=dark] .bottle-action-card .bottle-card-icon-badge{filter:saturate(.8) brightness(.9)}[data-theme=dark] .bottle-fishing-ripple{background:rgba(148,197,255,.4)}[data-theme=dark] .th-container{background:radial-gradient(circle at 85% 5%,rgba(251,191,36,.14) 0%,rgba(251,191,36,0) 24%),linear-gradient(180deg,#241a10 0%,#2b2014 50%,#33261a 100%)!important}[data-theme=dark] .th-header{background:rgba(20,16,10,.55)!important;color:#fde68a!important}[data-theme=dark] .th-header .ph-back-btn{background:rgba(253,230,138,.16);color:#fde68a}[data-theme=dark] .th-card,[data-theme=dark] .th-detail-hole,[data-theme=dark] .th-comment,[data-theme=dark] .th-comment-nested{background:#262c42!important;color:var(--text)}[data-theme=dark] .th-card-color-0{background:linear-gradient(135deg,rgba(245,158,11,.16),#262c42)!important}[data-theme=dark] .th-card-color-1{background:linear-gradient(135deg,rgba(96,165,250,.16),#262c42)!important}[data-theme=dark] .th-card-color-2{background:linear-gradient(135deg,rgba(52,211,153,.14),#262c42)!important}[data-theme=dark] .th-card-color-3{background:linear-gradient(135deg,rgba(236,72,153,.14),#262c42)!important}[data-theme=dark] .th-card-color-4{background:linear-gradient(135deg,rgba(167,139,250,.16),#262c42)!important}[data-theme=dark] .th-card-color-5{background:linear-gradient(135deg,rgba(45,212,191,.14),#262c42)!important}[data-theme=dark] .th-card-user,[data-theme=dark] .th-comment-user{color:#a5b4fc!important}[data-theme=dark] .th-card-time,[data-theme=dark] .th-comment-time{color:var(--text-tertiary)!important}[data-theme=dark] .th-text{color:var(--text)!important}[data-theme=dark] .th-editor,[data-theme=dark] .th-actions-bar,[data-theme=dark] .th-new-btn,[data-theme=dark] .th-refresh-btn{background:var(--surface-card)!important;color:var(--text)}[data-theme=dark] .th-textarea{background:var(--surface-input)!important;color:var(--text)!important}[data-theme=dark] .ec-container{background:radial-gradient(circle at 85% 5%,rgba(251,191,36,.12) 0%,rgba(251,191,36,0) 24%),linear-gradient(180deg,#241a10 0%,#2b2014 50%,#33261a 100%)!important}[data-theme=dark] .ec-header{background:rgba(20,16,10,.55)!important;color:#fde68a!important}[data-theme=dark] .ec-header .ph-back-btn{background:rgba(253,230,138,.16);color:#fde68a}[data-theme=dark] .ec-tabs button{background:rgba(38,44,66,.85);color:var(--text-secondary)}[data-theme=dark] .ec-tabs button.active{background:rgba(251,191,36,.22);color:#fde68a}[data-theme=dark] .ec-card{background:#262c42!important}[data-theme=dark] .ec-card-user{color:#a5b4fc!important}[data-theme=dark] .ec-card-time{color:var(--text-tertiary)!important}[data-theme=dark] .ec-composer-panel{background:var(--surface-card)!important;color:var(--text)}[data-theme=dark] .ec-compliance{background:rgba(30,35,55,.75)!important;color:var(--text-secondary)!important}[data-theme=dark] .ec-empty{color:var(--text-secondary)!important}[data-theme=dark] .games-page,[data-theme=dark] .game-card{color:var(--text)}[data-theme=dark] .game-card{background:var(--surface-card)!important;border-color:var(--border)!important}[data-theme=dark] .section-header h3,[data-theme=dark] .game-riddle p,[data-theme=dark] .my-game-content{color:var(--text)!important}[data-theme=dark] .my-game-item{background:var(--surface-muted)!important}[data-theme=dark] .my-game-thumb{border-color:var(--border)!important}[data-theme=dark] .my-game-answer,[data-theme=dark] .game-time,[data-theme=dark] .loading,[data-theme=dark] .empty{color:var(--text-tertiary)!important}[data-theme=dark] .game-riddle{background:linear-gradient(135deg,rgba(99,102,241,.14),rgba(30,41,66,.9))!important}[data-theme=dark] .game-image img{border-color:var(--border)!important}[data-theme=dark] .status-badge.pending{background:rgba(245,158,11,.16);color:#fbbf24}[data-theme=dark] .status-badge.solved{background:rgba(52,211,153,.16);color:#34d399}[data-theme=dark] .status-badge.expired{background:var(--surface-muted);color:var(--text-tertiary)}[data-theme=dark] .palette-dot{border-color:#fff3}[data-theme=dark] .palette-dot.active{border-color:#1e2337}[data-theme=dark] .brush-dot{background:var(--surface-muted);border-color:var(--border)}[data-theme=dark] .brush-dot span{background:#e2e8f0}[data-theme=dark] .brush-dot.active{border-color:#60a5fa;background:rgba(96,165,250,.12)}[data-theme=dark] .tool-btn{background:var(--surface-muted);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .game-celebrate{background:linear-gradient(135deg,rgba(52,211,153,.18),rgba(52,211,153,.08));color:#34d399}[data-theme=dark] .game-guess-error{color:#f87171}[data-theme=dark] .game-expire-badge{background:var(--surface-muted);color:var(--text-tertiary)}[data-theme=dark] .game-expire-badge.expiring{background:rgba(245,158,11,.16);color:#fbbf24}.room-action-row{display:flex;gap:10px;padding:4px 0 14px}.room-action-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 8px;border-radius:14px;border:1px solid var(--border, #e5e6eb);background:var(--surface-card, #fff);font-size:13px;font-weight:600;color:var(--text, #333);cursor:pointer;transition:all .15s ease;box-shadow:0 1px 4px #0000000a}.room-action-btn:active{transform:scale(.96)}.room-action-btn.primary{background:linear-gradient(135deg,#4a90d9,#6ba8e8);color:#fff;border-color:transparent;box-shadow:0 4px 12px #4a90d94d}.room-action-icon{font-size:15px}.room-avatar{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;box-shadow:0 3px 10px #667eea40}.room-avatar.has-img img{width:100%;height:100%;object-fit:cover}.room-avatar-fallback{color:#fff;font-size:19px;font-weight:600}.chat-room-lock{font-size:11px;flex-shrink:0;opacity:.7}.room-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.5);z-index:70;display:flex;align-items:center;justify-content:center}.room-modal{width:min(88vw,360px);background:var(--surface-card, #fff);border-radius:20px;padding:22px 20px;display:flex;flex-direction:column;gap:14px;box-shadow:0 20px 60px #00000040;animation:room-modal-in .25s cubic-bezier(.34,1.56,.64,1)}@keyframes room-modal-in{0%{transform:scale(.92) translateY(12px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.room-modal h4{margin:0;font-size:17px;font-weight:700;color:var(--text, #333);text-align:center}.room-modal-sub{margin:-6px 0 0;font-size:12px;color:var(--text-secondary, #999);text-align:center}.room-modal-tips{display:flex;align-items:flex-start;gap:6px;margin:10px 0 4px;padding:9px 11px;border-radius:10px;background:var(--surface-muted, rgba(255, 152, 0, .08));border:1px solid rgba(255,152,0,.25);font-size:12px;line-height:1.6;color:#b26a00;text-align:left}.room-modal-tips-icon{flex-shrink:0;font-size:14px;line-height:1.5}[data-theme=dark] .room-modal-tips{background:rgba(255,152,0,.12);border-color:#ff98004d;color:#ffb74d}.room-modal-input{border:1.5px solid var(--border, #e0e0e0);border-radius:12px;padding:11px 14px;font-size:14px;background:var(--bg-main, #f7f8fa);color:var(--text, #333);transition:border-color .15s ease,box-shadow .15s ease;outline:none}.room-modal-input:focus{border-color:#4a90d9;box-shadow:0 0 0 3px #4a90d91f}.room-modal-input.code{text-align:center;letter-spacing:3px;font-size:16px;font-weight:600;text-transform:uppercase}.room-modal-btns{display:flex;gap:10px}.room-modal-btns button{flex:1;border:1px solid var(--border, #e0e0e0);background:none;border-radius:12px;padding:11px;font-size:14px;font-weight:600;cursor:pointer;color:var(--text, #333);transition:all .15s ease}.room-modal-btns button:active{transform:scale(.97)}.room-modal-btns button.primary{background:linear-gradient(135deg,#4a90d9,#6ba8e8);color:#fff;border-color:transparent;box-shadow:0 4px 14px #4a90d959}.room-modal-btns button:disabled{opacity:.5;cursor:default}.room-join-preview{display:flex;flex-direction:column;gap:3px;background:linear-gradient(135deg,rgba(74,144,217,.08),rgba(107,168,232,.05));border:1px solid rgba(74,144,217,.2);border-radius:12px;padding:12px 14px}.room-join-name{font-size:14px;font-weight:600;color:var(--text, #333)}.room-join-meta{font-size:12px;color:var(--text-secondary, #888)}.room-privacy-row{display:flex;gap:10px}.room-privacy-option{flex:1;display:flex;align-items:center;gap:10px;padding:12px;border:2px solid var(--border, #e8e8e8);border-radius:14px;background:var(--bg-main, #f7f8fa);cursor:pointer;text-align:left;transition:all .18s ease}.room-privacy-option.active{border-color:#4a90d9;background:rgba(74,144,217,.07);box-shadow:0 3px 12px #4a90d926}.room-privacy-icon{font-size:24px;flex-shrink:0}.room-privacy-text{display:flex;flex-direction:column;gap:1px;min-width:0}.room-privacy-title{font-size:13px;font-weight:600;color:var(--text, #333)}.room-privacy-desc{font-size:10px;color:var(--text-secondary, #999)}.room-capacity-row{display:flex;align-items:center;gap:10px;margin-bottom:4px}.room-capacity-label{font-size:12px;font-weight:600;color:var(--text, #333);flex-shrink:0}.room-capacity-options{flex:1;display:flex;gap:6px}.room-capacity-option{flex:1;padding:7px 0;border:1.5px solid var(--border, #e8e8e8);border-radius:10px;background:var(--bg-main, #f7f8fa);font-size:13px;font-weight:600;color:var(--text-secondary, #666);cursor:pointer;transition:all .18s ease}.room-capacity-option:hover{border-color:#4a90d9;color:#4a90d9}.room-capacity-option.active{border-color:#4a90d9;background:rgba(74,144,217,.1);color:#4a90d9;box-shadow:0 2px 8px #4a90d926}[data-theme=dark] .room-capacity-option{background:var(--surface-card, #232530)}[data-theme=dark] .room-capacity-option.active{background:rgba(74,144,217,.18)}.room-modal.join{max-height:70vh;overflow:hidden}.room-join-tabs{display:flex;gap:6px;background:var(--bg-main, #f2f3f7);border-radius:12px;padding:4px}.room-join-tabs button{flex:1;border:none;background:none;border-radius:9px;padding:9px;font-size:13px;color:var(--text-secondary, #777);cursor:pointer;font-weight:500;transition:all .18s ease}.room-join-tabs button.active{background:var(--surface-card, #fff);color:var(--text, #333);font-weight:700;box-shadow:0 2px 8px #0000001a}.room-discover-list{display:flex;flex-direction:column;gap:8px;overflow-y:auto;max-height:44vh;margin:0 -4px;padding:0 4px}.room-discover-empty{text-align:center;padding:28px 12px;font-size:13px;color:var(--text-secondary, #999);line-height:1.8}.room-discover-empty span{font-size:11px;color:var(--text-tertiary, #bbb)}.room-discover-item{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border, #eee);border-radius:14px;background:var(--bg-main, #fafbfc);cursor:pointer;text-align:left;transition:all .18s ease}.room-discover-item:hover{border-color:#4a90d9;background:rgba(74,144,217,.05);transform:translateY(-1px);box-shadow:0 4px 14px #4a90d91f}.room-discover-item:active{transform:scale(.98)}.room-discover-avatar{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#a78bfa,#7c3aed);color:#fff;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:700;flex-shrink:0;box-shadow:0 3px 8px #7c3aed40}.room-discover-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.room-discover-name{font-size:14px;font-weight:600;color:var(--text, #333);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-discover-meta{font-size:11px;color:var(--text-secondary, #999);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-discover-join{flex-shrink:0;font-size:12px;font-weight:700;color:#fff;background:linear-gradient(135deg,#4a90d9,#6ba8e8);border-radius:14px;padding:6px 16px;box-shadow:0 3px 10px #4a90d94d}.room-discover-item:active .room-discover-join{transform:scale(.94)}[data-theme=dark] .room-action-btn{background:var(--surface-card);border-color:var(--border);color:var(--text)}[data-theme=dark] .room-modal{background:var(--surface-card)}[data-theme=dark] .room-modal-input{background:var(--surface-muted);border-color:var(--border);color:var(--text)}[data-theme=dark] .room-modal-btns button{border-color:var(--border);color:var(--text)}[data-theme=dark] .room-join-preview{background:var(--surface-muted)}[data-theme=dark] .room-privacy-option{background:var(--surface-muted);border-color:var(--border)}[data-theme=dark] .room-join-tabs{background:var(--surface-muted)}[data-theme=dark] .room-discover-item{background:var(--surface-muted);border-color:var(--border)}[data-theme=dark] .room-discover-empty{color:var(--text-secondary)}[data-theme=dark] .games-view-tabs button{background:var(--surface-card);border-color:var(--border);color:var(--text-secondary)}[data-theme=dark] .games-view-tabs button.active{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 4px 12px #3b82f640}[data-theme=dark] .count-chip{background:rgba(96,165,250,.14);color:#93c5fd}[data-theme=dark] .game-history-footer{border-top-color:var(--border)}[data-theme=dark] .game-history-answer{color:#34d399}[data-theme=dark] .game-history-answer.pending{color:#fbbf24}[data-theme=dark] .game-history-solver{color:var(--text-tertiary)}[data-theme=dark] .game-expire-badge.status-solved{background:rgba(52,211,153,.16);color:#34d399}[data-theme=dark] .game-expire-badge.status-expired{background:var(--surface-muted);color:var(--text-tertiary)}[data-theme=dark] .game-expire-badge.status-pending{background:rgba(245,158,11,.16);color:#fbbf24}[data-theme=dark] .game-history-card.solved{border-color:#34d3994d}[data-theme=dark] .dating-status-badge.open{background:rgba(244,63,94,.16);color:#fb7185}[data-theme=dark] .dating-status-badge.joined{background:rgba(52,211,153,.16);color:#34d399}[data-theme=dark] .dating-status-badge.pending{background:rgba(245,158,11,.16);color:#fbbf24}[data-theme=dark] .dating-status-badge.rejected{background:rgba(239,68,68,.16);color:#f87171}[data-theme=dark] .dating-stat-card{background:rgba(30,35,55,.75);border-color:var(--border)}[data-theme=dark] .match-history-page,[data-theme=dark] .notifications-page,[data-theme=dark] .subscribe-page{color:var(--text)}
