.app-shell{background:radial-gradient(ellipse at 80% 0, #263b292b, transparent 48%), var(--tg-bg);min-height:100svh;color:var(--tg-text);font-family:var(--tg-font-body);font-size:16px}.app-shell .main-shell{margin-left:0}.platform-skip{z-index:100;border-radius:var(--tg-radius-control);background:var(--tg-lime);color:#172013;padding:14px 20px;position:fixed;top:-80px;left:24px}.platform-skip:focus{top:18px}.platform-header{z-index:40;padding:12px clamp(12px,3vw,24px);position:sticky;top:0}.app-shell .topbar{width:100%;max-width:var(--tg-content-width);-webkit-backdrop-filter:blur(18px)saturate(150%);backdrop-filter:blur(18px)saturate(150%);background:#141916d9;border:1px solid #ffffff12;border-radius:18px;gap:20px;height:64px;margin:0 auto;padding:8px 12px 8px 16px;position:static;box-shadow:0 10px 40px -12px #0009}.platform-brand{flex-shrink:0;align-items:center;gap:10px;display:inline-flex}.platform-mobile-search{display:none}.app-shell .topbar-links{gap:4px;height:auto;font-size:14px;font-weight:600}.app-shell .topbar-links>a{color:#c9d0c8;white-space:nowrap;border-radius:10px;height:auto;padding:10px 12px}.app-shell .topbar-links>a:hover{color:var(--tg-text);background:#ffffff0c}.app-shell .topbar-links>a.selected{color:var(--tg-lime);background:#c6f96a12}.app-shell .topbar-links>a:after{display:none}.app-shell .topbar-links span{font-family:var(--tg-font-mono);color:var(--tg-violet);background:#2b2533;border:1px solid #42374d;padding:3px 6px;font-size:9px}.app-shell .topbar-actions{flex-shrink:0;gap:12px;margin-inline-start:auto}.app-shell .search-box{background:var(--tg-surface-raised);border-color:var(--tg-line);border-radius:12px;gap:8px;width:215px;max-width:22%;height:40px}.app-shell .search-box input{font-size:13px}.app-shell .search-box:focus-within{border-color:var(--tg-lime)}.app-shell .search-shortcut{display:none}.app-shell .credit-balance{height:40px;font-family:var(--tg-font-mono);background:#222a1e;border-radius:12px;gap:8px;padding:0 12px;font-size:13px}.app-shell .balance-plus{display:none}.app-shell .icon-button{border-radius:10px;min-width:36px;min-height:36px}.app-shell .account-signout{padding:10px 4px;font-size:12px}.app-shell .account-auth-links{gap:16px;font-size:13px}.app-shell .account-auth-links .button{border-radius:12px;min-height:40px;padding:11px 16px;font-size:14px}.workspace-nav{max-width:var(--tg-content-width);scrollbar-width:thin;align-items:center;gap:8px;margin:12px auto 0;padding:0 24px;display:flex;overflow-x:auto}.workspace-label{color:#8c968f;font-family:var(--tg-font-mono);letter-spacing:.12em;white-space:nowrap;margin-inline-end:18px;font-size:10px}.workspace-nav a{color:var(--tg-muted);white-space:nowrap;border:1px solid #0000;border-radius:12px;align-items:center;gap:8px;padding:11px 15px;font-size:13px;font-weight:600;display:inline-flex}.workspace-nav a:hover{background:var(--tg-surface-raised);color:var(--tg-text)}.workspace-nav a[aria-current=page]{color:var(--tg-lime);background:#c6f96a12;border-color:#c6f96a29}.app-shell main{max-width:var(--tg-content-width);margin:0 auto;padding:48px 24px 0}.app-shell .page-heading{margin:0 0 36px}.app-shell .eyebrow{font-family:var(--tg-font-mono);letter-spacing:.13em;font-size:11px;font-weight:500;line-height:1.7}.app-shell .page-heading .eyebrow{color:var(--tg-lime);margin-bottom:18px;font-size:12px;display:block}.app-shell .page-heading h1{letter-spacing:-.045em;overflow-wrap:anywhere;max-width:1000px;font-size:clamp(38px,4.8vw,64px);font-weight:800;line-height:1.04}.app-shell .page-heading p{max-width:700px;color:var(--tg-muted);margin-top:18px;font-size:16px;line-height:1.75}.app-shell .lobby-heading{align-items:flex-end;gap:24px;margin:0 0 36px}.app-shell .lobby-heading h1{letter-spacing:-.045em;max-width:none;font-size:clamp(38px,4.8vw,64px);font-weight:800;line-height:1.04}.app-shell .lobby-heading p{color:var(--tg-muted);margin-top:16px;font-size:16px;line-height:1.7}.app-shell .early-access{font-family:var(--tg-font-mono);color:var(--tg-lime);white-space:nowrap;padding-bottom:7px;font-size:11px}.app-shell .button{border-radius:var(--tg-radius-control);white-space:normal;text-align:center;min-height:48px;padding:13px 20px;font-size:14px;font-weight:700}.app-shell .button.primary{background:var(--tg-lime);color:#172013;border-color:#d4ff8d}.app-shell .button.primary:hover{background:#d4ff8d}.app-shell .button.secondary{color:var(--tg-text);background:#222925;border-color:#354037}.app-shell .button.lavender{color:#302245;background:#c6b4f7}.app-shell .section-title{flex-wrap:wrap;gap:16px;margin-bottom:24px}.app-shell .section-title h2,.app-shell .panel .section-title h2{letter-spacing:-.035em;font-size:clamp(22px,2.4vw,28px);font-weight:800;line-height:1.25}.app-shell .section-title>a,.app-shell .section-title>button,.app-shell .section-title .muted{font-size:13px}.app-shell .panel{background:var(--tg-surface);border:1px solid var(--tg-line);border-radius:var(--tg-radius-card);padding:30px}.app-shell .stats-grid{gap:18px;margin-bottom:28px}.app-shell .stat-card{background:var(--tg-surface);border-color:var(--tg-line);border-radius:24px;min-width:0;padding:28px}.app-shell .stat-card p{color:var(--tg-muted);margin-bottom:22px;padding-inline-end:22px;font-size:14px;line-height:1.5}.app-shell .stat-card>span{inset-inline-end:24px;color:var(--tg-lime);top:28px}.app-shell .stat-card>strong{letter-spacing:-.045em;overflow-wrap:anywhere;font-size:clamp(32px,3.3vw,44px);font-weight:800}.app-shell .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:28px}.app-shell .small-tag,.app-shell .beta-pill{font-family:var(--tg-font-mono);color:#b9d4a0;background:#c6f96a12;border-radius:8px;padding:6px 9px;font-size:10px;font-weight:500;line-height:1.5}.app-shell .subtle-info{color:var(--tg-muted);gap:9px;font-size:12px;line-height:1.8}.app-shell .field-label{color:#d4dfce;margin-top:24px;font-size:14px}.app-shell .room-form input,.app-shell .room-form select,.app-shell .inline-input input{border-radius:var(--tg-radius-control);min-height:50px;color:var(--tg-text);background:#101412;border:1px solid #3b4539;padding:14px 16px;font-size:16px}.app-shell .empty-state{padding:48px 24px}.app-shell .empty-icon{width:64px;height:64px;color:var(--tg-lime);background:#c6f96a12;border-color:#c6f96a29;border-radius:20px}.app-shell .empty-state h3{letter-spacing:-.035em;font-size:25px;font-weight:800;line-height:1.25}.app-shell .empty-state p{max-width:430px;color:var(--tg-muted);margin:14px auto 24px;font-size:15px;line-height:1.8}.app-shell .compact-games button{border-color:var(--tg-line);background:var(--tg-surface-raised);border-radius:16px;padding:16px}.app-shell .compact-games button>span:nth-child(2){font-size:15px}.app-shell .compact-games small{color:var(--tg-muted);font-size:12px}.app-shell .activity-icon{color:var(--tg-lime);background:#c6f96a12;border-radius:12px}.app-shell table{font-size:14px}.app-shell th{background:var(--tg-surface);color:var(--tg-muted);font-family:var(--tg-font-mono);padding:16px 12px;font-size:11px}.app-shell td{border-color:var(--tg-line);color:#b7c1b5;padding:22px 12px}.app-shell .games-section{margin-top:32px}.app-shell .filter-bar{align-items:center;gap:16px;margin-bottom:26px}.app-shell .category-tabs{flex-wrap:wrap;gap:8px}.app-shell .category-tabs button{min-height:44px;color:var(--tg-muted);border-radius:12px;gap:8px;padding:11px 15px;font-size:14px}.app-shell .category-tabs button.selected{color:var(--tg-lime);background:#c6f96a14;border-color:#c6f96a40}.app-shell .sort-select{border-radius:12px;gap:8px;height:44px;padding:0 12px}.app-shell .sort-select select{padding:0;font-size:13px}.app-shell .games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}.app-shell .game-cover{aspect-ratio:1.25;border-radius:24px}.app-shell .cover-tag{font-family:var(--tg-font-mono);letter-spacing:.08em;border-radius:999px;padding:6px 9px;font-size:10px;top:15px;left:15px}.app-shell .cover-wordmark{letter-spacing:-.045em;font-size:clamp(32px,3.2vw,46px);line-height:.95;bottom:44px}.app-shell .art-durak-v1 .cover-wordmark{color:#fff1db}.app-shell .art-durak-v1 img{object-position:center top}.app-shell .cover-subtitle{letter-spacing:.11em;font-size:8px;bottom:20px}.app-shell .play-overlay{border-radius:inherit;font-size:16px}.app-shell .game-title-row{gap:8px;margin-top:18px}.app-shell .game-name{font-family:var(--tg-font-display);letter-spacing:-.025em;font-size:21px;font-weight:800}.app-shell .favorite-button{border-radius:10px;padding:8px}.app-shell .favorite-button svg{width:19px;height:19px}.app-shell .game-meta{color:var(--tg-muted);gap:8px;margin-top:9px;font-size:12px}.app-shell .game-meta>span:last-child{color:var(--tg-muted);gap:6px}.app-shell .game-social-row{gap:12px;margin-top:12px;font-size:13px}.app-shell .game-love-button{border-radius:10px;min-height:36px;padding:6px 8px;font-size:13px}.app-shell .loading-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.app-shell .loading-grid>div{aspect-ratio:1.25;border-radius:24px}.app-shell .info-banner{background:#c4b5fa0b;border-color:#c4b5fa30;border-radius:20px;gap:16px;padding:24px}.app-shell .info-banner strong{font-size:16px}.app-shell .info-banner p{color:var(--tg-muted);margin-top:8px;font-size:14px;line-height:1.8}.app-shell .room-form .button{margin-top:24px}.app-shell .room-form>.muted{font-size:13px;line-height:1.8}.app-shell .room-list{gap:16px}.app-shell .room-row{background:var(--tg-surface);border-color:var(--tg-line);border-radius:20px;gap:16px;padding:24px}.app-shell .room-row h3{letter-spacing:-.025em;font-size:18px}.app-shell .room-row p{margin-top:8px;font-size:13px}.app-shell .room-code,.app-shell .code-input{font-family:var(--tg-font-mono)}.app-shell .room-code{font-size:16px}.app-shell .room-invite h2{font-size:30px;font-weight:800}.app-shell .room-invite p{font-size:14px}.app-shell .credits-overview{background:radial-gradient(ellipse at 90% 0, #c6f96a13, transparent 65%), var(--tg-surface);gap:30px;padding:36px}.app-shell .big-credit{letter-spacing:-.04em;flex-wrap:wrap;margin:22px 0;font-size:clamp(44px,6vw,68px);font-weight:800}.app-shell .big-credit small{font-size:16px}.app-shell .credits-overview p{color:var(--tg-muted);font-size:15px;line-height:1.8}.app-shell .economy-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}.app-shell .economy-grid .panel{padding:28px}.app-shell .economy-grid h3{letter-spacing:-.025em;margin-top:20px;font-size:21px}.app-shell .economy-grid p{color:var(--tg-muted);margin-top:12px;font-size:14px;line-height:1.8}.app-shell .ledger-list>div{border-color:var(--tg-line);gap:16px;padding:22px 0}.app-shell .ledger-list b{font-size:14px;line-height:1.6}.app-shell .ledger-list small{margin-top:6px;font-size:12px}.app-shell .ledger-list>div>strong{font-family:var(--tg-font-mono);font-size:15px}.app-shell .ledger-icon{border-radius:12px}.app-shell .recent-scores b{font-size:14px}.app-shell .recent-scores small{font-size:12px}.app-shell .activity-empty{border-radius:20px;padding:24px;font-size:14px}.app-shell .activity-empty small{font-size:12px}.app-shell .activity-empty>button{font-size:14px}.app-shell .error-banner{border-radius:16px;padding:16px 20px;font-size:14px;line-height:1.7}.app-shell .toast{border-radius:16px;padding:17px 22px;font-size:14px;line-height:1.6;bottom:24px;left:50%}.app-shell .modal{border-radius:var(--tg-radius-card);background:var(--tg-surface);border-color:#3b453c;padding:36px}.app-shell .modal h2{letter-spacing:-.045em;font-size:34px;font-weight:800;line-height:1.15}.app-shell .modal>p,.app-shell .help-list>div{font-size:14px;line-height:1.8}.app-shell .help-list b{font-size:16px}.app-shell .notification-note{background:var(--tg-surface-raised);border-radius:16px}.app-shell .notification-note strong{font-size:15px}.app-shell .notification-note p{font-size:13px}.app-shell .game-modal{padding:0}.app-shell .main-footer{border-color:var(--tg-line);color:#8c968f;gap:20px;margin-top:64px;padding:28px 0 32px;font-size:12px;line-height:1.8}.app-shell .main-footer>div{gap:20px}.app-shell .main-footer button{font-size:12px}.app-shell .mobile-menu{display:none}.app-shell .sidebar{z-index:70;background:var(--tg-surface);border-color:var(--tg-line);width:min(340px,100vw - 32px);transform:none;box-shadow:20px 0 80px #0006}.app-shell .sidebar-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:65;background:#0009;display:block;position:fixed;inset:0}.app-shell .sidebar .brand{gap:10px;height:90px;padding:0 24px}.platform-menu-close{inset-inline-end:16px;position:absolute;top:27px}.app-shell .sidebar-content{padding:0 20px 24px}.app-shell .sidebar-create{border-radius:14px;padding:16px;font-size:14px}.app-shell .nav-caption{font-family:var(--tg-font-mono);margin:28px 14px 12px;font-size:10px}.app-shell .nav-item{border-radius:12px;padding:14px;font-size:14px}.app-shell .sidebar-invite{border-radius:20px;padding:20px}.app-shell .sidebar-invite strong{font-size:15px}.app-shell .sidebar-invite p,.app-shell .sidebar-invite>a{font-size:13px}.app-shell .sidebar-bottom>button,.app-shell .language{font-size:12px}.app-shell .sidebar-footer{font-size:11px}@media (max-width:1200px){.app-shell .topbar{gap:14px}.app-shell .topbar-links>a{padding:10px 8px;font-size:13px}.app-shell .search-box{width:170px}.app-shell .notifications-button{display:none}}@media (max-width:1000px){.app-shell .topbar-links{display:none}.app-shell .mobile-menu{display:inline-flex}.app-shell .search-box{width:240px;max-width:30%}.app-shell .games-grid,.app-shell .loading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .cover-wordmark{font-size:46px}.app-shell .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .stats-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell .stat-card{padding:22px}.app-shell .stat-card>span{top:23px;inset-inline-end:20px}}@media (max-width:760px){.app-shell .topbar{gap:12px;height:64px;padding:8px 12px}.app-shell .search-box{display:none}.platform-mobile-search{border:1px solid var(--tg-line);background:var(--tg-surface-raised);min-height:50px;color:var(--tg-muted);border-radius:14px;align-items:center;gap:12px;margin:0 0 28px;padding:0 16px;display:flex}.app-shell .platform-mobile-search input{width:100%;min-width:0;color:var(--tg-text);background:0 0;border:0;border-radius:0;outline:none;padding:14px 0;font-size:16px}.platform-mobile-search:focus-within{border-color:var(--tg-lime)}.platform-mobile-search button{border-radius:8px;padding:6px;display:flex}.app-shell .topbar-actions{gap:12px}.app-shell .credit-balance{height:36px;font-size:12px}.app-shell .account-signout{display:none}.workspace-nav{gap:4px;margin-top:6px;padding:0 20px}.workspace-label{display:none}.workspace-nav a{gap:6px;padding:11px 12px;font-size:12px}.app-shell main{padding:32px 20px 0}.app-shell .page-heading,.app-shell .lobby-heading{margin-bottom:28px}.app-shell .page-heading p,.app-shell .lobby-heading p{font-size:15px}.app-shell .early-access{display:none}.app-shell .dashboard-grid{grid-template-columns:1fr}.app-shell .panel{border-radius:24px;padding:24px}.app-shell .filter-bar{flex-direction:column;align-items:stretch}.app-shell .category-tabs{flex-wrap:wrap;overflow:visible}.app-shell .category-tabs button{flex:none;padding:10px 12px;font-size:13px}.app-shell .sort-select{align-self:flex-start}.app-shell .games-grid{gap:28px 20px}.app-shell .game-cover{border-radius:20px}.app-shell .cover-wordmark{font-size:34px;bottom:36px}.app-shell .cover-subtitle{font-size:6px;bottom:16px}.app-shell .cover-tag{font-size:8px;top:12px;left:12px}.app-shell .game-name{font-size:19px}.app-shell .game-meta{flex-wrap:wrap;font-size:12px}.app-shell .stats-grid.three,.app-shell .economy-grid{grid-template-columns:1fr}.app-shell .credits-overview{flex-direction:column;align-items:flex-start;gap:16px;padding:26px}.app-shell .room-row{flex-wrap:wrap;padding:20px}.app-shell .room-row>div{flex:1;min-width:150px}.app-shell .main-footer{flex-direction:column;align-items:flex-start;margin-top:48px}.app-shell .main-footer>div{flex-wrap:wrap;gap:16px}.app-shell .modal{padding:28px}.app-shell .game-modal{padding:0}}@media (max-width:600px){.app-shell .games-grid,.app-shell .loading-grid{grid-template-columns:1fr}.app-shell .game-cover{aspect-ratio:1.3}.app-shell .cover-wordmark{font-size:48px;bottom:42px}.app-shell .cover-subtitle{font-size:8px;bottom:20px}.app-shell .cover-tag{font-size:10px;top:15px;left:15px}.app-shell .game-name{font-size:22px}.app-shell .game-meta{flex-wrap:nowrap}}@media (max-width:440px){.app-shell .topbar{gap:8px;padding:8px 10px}.platform-brand{gap:7px}.platform-brand>svg{width:30px;height:30px}.platform-brand>span{font-size:18px!important}.app-shell .topbar-actions{gap:8px}.app-shell .credit-balance{gap:5px;padding:0 8px}.app-shell .account-auth-links{gap:9px;font-size:12px}.app-shell .account-auth-links .button{padding:10px 12px;font-size:12px}.app-shell .stat-card{padding:20px}.app-shell .stat-card p{font-size:12px}.app-shell .stat-card>strong{font-size:32px}.workspace-nav a{padding:10px;font-size:12px}}@media (prefers-reduced-motion:reduce){.app-shell *,.app-shell :before,.app-shell :after{scroll-behavior:auto;transition:none}}html[dir=rtl] .app-shell .sidebar{left:auto;right:0}html[dir=rtl] .app-shell .stat-card>span{right:auto}html[dir=rtl] .app-shell :is(.game-name,.compact-games button,.room-row,th,td){text-align:start}@media (max-width:1200px){.app-shell .topbar-links{display:none}.app-shell .mobile-menu{display:inline-flex}}@media (max-width:600px){.app-shell .topbar{flex-wrap:wrap;height:auto;min-height:64px}.app-shell .topbar-actions{flex-wrap:wrap;flex:1;justify-content:flex-end}.app-shell .topbar-actions .account-auth-links{flex-wrap:wrap}}html[dir=rtl] .app-shell .tg-directional-icon{transform:scaleX(-1)}.app-shell .flux-cover-brand{pointer-events:none;display:block;position:absolute;bottom:40px;left:9%;right:9%}.app-shell .flux-catalog-icon{border-radius:8px}.app-shell .game-name--flux{min-width:0;margin-inline-end:auto}.app-shell a.game-cover,.app-shell a.game-name{text-decoration:none}@media (max-width:600px){.app-shell .flux-cover-brand{bottom:38px}}
