:root{--bg:#0d0b08;--surface:#1c1710;--surface-2:#24201a;--nav-bg:#13100c;--cream:#f0e8d5;--text-primary:#d4c9b0;--text-muted:#7a7060;--gold:#c8942a;--gold-light:#e8b84b;--burgundy:#6b1f2a;--status-open-bg:#1a4a2e80;--status-open-text:#4caf72;--status-open-border:#4caf724d;--status-few-bg:#8b202066;--status-few-text:#e57373;--status-few-border:#e573734d;--status-closed-bg:#24201acc;--status-closed-text:#7a7060;--status-closed-border:#7a70604d;--status-vip-bg:#6b1f2a66;--status-vip-text:#c8942a;--status-vip-border:#c8942a4d}*{box-sizing:border-box}html,body,#root{background:var(--bg);min-height:100%;margin:0}body{color:var(--text-primary);background:radial-gradient(circle at top,#c8942a14,#0000 26%),linear-gradient(#0d0b08 0%,#0f1115 100%);font-family:Geologica,system-ui,sans-serif}button{font:inherit;cursor:pointer;border:none;outline:none;min-height:44px}.app{background:var(--bg);min-height:100vh}.mobile-shell{background:var(--bg);width:100%;max-width:430px;min-height:100vh;padding-bottom:calc(88px + env(safe-area-inset-bottom));margin:0 auto;position:relative}.screen-body{padding:16px 16px 0;animation:.18s ease-out fadeUp}.page-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.page-title{color:var(--cream);margin:0;font-size:24px;font-weight:700}.icon-button,.back-button{width:44px;min-width:44px;height:44px;color:var(--text-muted);background:0 0;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-button svg,.back-button svg,.nav-item-icon svg,.detail-icon svg{width:24px;height:24px}.filter-row{scrollbar-width:none;gap:8px;margin-bottom:14px;padding-bottom:4px;display:flex;overflow-x:auto}.filter-row::-webkit-scrollbar{display:none}.filter-pill{min-height:36px;color:var(--text-muted);white-space:nowrap;background:0 0;border:.5px solid #c8942a26;border-radius:999px;padding:0 14px;font-size:13px;font-weight:400}.filter-pill.active{color:var(--gold-light);background:#c8942a26;border-color:#c8942a80}.stack{gap:12px;display:grid}.tournament-card{background:var(--surface);border:.5px solid #c8942a33;border-radius:12px;transition:transform .18s ease-out,opacity .18s ease-out;overflow:hidden}.tournament-card:active{border-color:#c8942a80;transform:translateY(1px)}.tournament-card-head{background:linear-gradient(135deg, #13100c, #221a12), var(--nav-bg);justify-content:space-between;align-items:flex-start;gap:12px;min-height:80px;padding:14px 16px;display:flex}.tournament-title{color:var(--gold-light);font-family:Cormorant Garamond,serif;font-size:28px;font-weight:700;line-height:.95}.tournament-card-body{padding:16px}.tournament-meta-row{color:var(--text-primary);justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;font-size:14px;display:flex}.price-text{color:var(--gold-light);font-family:Cormorant Garamond,serif;font-size:22px;font-weight:700}.caption{letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:400}.muted-text{color:var(--text-muted)}.status-badge{letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;border:.5px solid #0000;border-radius:4px;align-items:center;min-height:24px;padding:3px 8px;font-size:11px;display:inline-flex}.status-badge.open{background:var(--status-open-bg);color:var(--status-open-text);border-color:var(--status-open-border)}.status-badge.few{background:var(--status-few-bg);color:var(--status-few-text);border-color:var(--status-few-border)}.status-badge.closed{background:var(--status-closed-bg);color:var(--status-closed-text);border-color:var(--status-closed-border)}.status-badge.vip{background:var(--status-vip-bg);color:var(--status-vip-text);border-color:var(--status-vip-border)}.tournament-actions{gap:8px;margin-top:14px;display:grid}.btn{letter-spacing:.04em;border-radius:8px;width:100%;min-height:44px;padding:0 14px;font-size:14px;font-weight:500}.btn-primary{background:linear-gradient(135deg, var(--gold), var(--gold-light));color:var(--bg)}.btn-secondary{color:var(--gold-light);border:.5px solid var(--gold);background:0 0}.btn-ghost{color:var(--text-muted);background:0 0}.btn-disabled{background:var(--surface-2);color:var(--text-muted)}.detail-hero{background:var(--nav-bg);min-height:140px;padding:18px 16px 10px;animation:.18s ease-out fadeUp;position:relative}.detail-hero-center{text-align:center;padding:20px 24px 0}.hero-title{color:var(--gold-light);margin:0 0 8px;font-family:Cormorant Garamond,serif;font-size:36px;line-height:.95}.hero-subtitle{color:var(--text-primary);margin:0;font-size:14px;font-weight:300}.detail-list,.progress-card,.profile-header-card,.rank-card,.achievement-card,.current-player-row,.leaderboard-line,.top-card,.stat-tile{background:var(--surface)}.detail-list,.progress-card,.profile-header-card,.current-player-row{border:.5px solid #c8942a26;border-radius:12px}.detail-list{gap:14px;margin-bottom:14px;padding:14px 16px;display:grid}.detail-item{align-items:center;gap:12px;display:flex}.detail-icon{color:var(--gold);justify-content:center;align-items:center;display:inline-flex}.detail-text{color:var(--text-primary);font-size:14px;line-height:1.35}.progress-card{padding:16px}.progress-bar{background:var(--surface-2);border-radius:3px;width:100%;height:6px;margin:12px 0 10px;overflow:hidden}.progress-fill{background:linear-gradient(135deg, var(--gold), var(--gold-light));border-radius:3px;height:100%;display:block}.sticky-action-bar{width:100%;max-width:430px;padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:var(--nav-bg);border-top:.5px solid #c8942a26;gap:6px;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.profile-header-card{margin-bottom:14px;padding:16px}.profile-top{align-items:center;gap:14px;margin-bottom:16px;display:flex}.profile-avatar{width:64px;height:64px;color:var(--gold-light);background:#c8942a26;border-radius:50%;justify-content:center;align-items:center;font-size:20px;font-weight:700;display:flex}.profile-screen-name{color:var(--cream);font-size:18px;font-weight:500}.rank-card{background:#c8942a14;border:.5px solid #c8942a66;border-radius:12px;padding:14px}.rank-icon{margin-bottom:8px;font-size:24px}.rank-title{color:var(--gold-light);font-family:Cormorant Garamond,serif;font-size:22px;font-weight:700}.rank-subtitle{color:var(--text-muted);margin-top:4px;font-size:12px;font-weight:300}.stats-grid-profile{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.stat-tile{background:var(--surface-2);border-radius:8px;padding:12px}.stat-tile-value{color:var(--gold-light);font-family:Cormorant Garamond,serif;font-size:28px;font-weight:700}.stat-tile-label{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;margin-top:6px;font-size:11px}.section-title-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.section-title{color:var(--cream);margin:0;font-size:16px;font-weight:500}.achievements-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.achievement-card{border:.5px solid #c8942a26;border-radius:10px;padding:12px}.achievement-icon{background:#c8942a1f;border:.5px solid #c8942a33;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;margin-bottom:10px;display:flex}.achievement-title{color:var(--cream);margin-bottom:4px;font-size:13px;font-weight:400}.achievement-description{color:var(--text-muted);font-size:11px;font-weight:300;line-height:1.35}.achievement-locked{opacity:.55}.leaderboard-screen{padding-bottom:12px}.top-three-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.top-card{text-align:center;border:.5px solid #c8942a26;border-radius:12px;padding:12px}.top-card-1{border-color:#c8942a80}.top-card-place{margin-bottom:8px;font-size:20px}.top-card-name{color:var(--cream);margin-bottom:8px;font-size:13px;line-height:1.25}.top-card-score{color:var(--gold-light);font-family:Cormorant Garamond,serif;font-size:22px}.leaderboard-table{border:.5px solid #c8942a26;border-radius:12px;gap:0;display:grid;overflow:hidden}.leaderboard-line,.current-player-row{grid-template-columns:36px 1fr auto;align-items:center;gap:10px;min-height:52px;padding:0 12px;display:grid}.line-dark{background:var(--surface)}.line-light{background:var(--surface-2)}.current-player-row{border:1px solid var(--gold);background:#c8942a0f;margin-top:12px}.leaderboard-place{color:var(--text-muted);font-size:14px}.leaderboard-name{color:var(--cream);font-size:14px}.current-player-name{color:var(--gold-light)}.muted-inline{color:var(--text-muted)}.leaderboard-score{color:var(--gold-light);font-family:Cormorant Garamond,serif;font-size:18px;font-weight:700}.screen-state{background:var(--surface);color:var(--text-primary);border:.5px solid #c8942a26;border-radius:12px;margin:16px;padding:18px;animation:.18s ease-out fadeUp}.bottom-nav{width:100%;max-width:430px;height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--nav-bg);border-top:.5px solid #c8942a26;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.nav-item{min-height:64px;color:var(--text-muted);background:0 0;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:8px 4px 6px;display:flex;position:relative}.nav-item-indicator{background:0 0;border-radius:999px;height:2px;position:absolute;top:0;left:18%;right:18%}.nav-item.active{color:var(--gold)}.nav-item.active .nav-item-indicator{background:var(--gold)}.nav-item-icon{justify-content:center;align-items:center;display:inline-flex}.nav-item-label{font-size:10px;font-weight:400;line-height:1.1}.fade-in{will-change:opacity, transform;animation:.18s ease-out fadeUp}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.eyebrow-inline{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;font-size:11px}.page-head-tournaments{align-items:flex-end}.tournament-card-head-copy{flex-direction:column;justify-content:center;display:flex}.tournament-spots{margin-top:6px;margin-bottom:10px}.card-progress-bar{background:var(--surface-2);border-radius:3px;width:100%;height:6px;margin-bottom:14px;overflow:hidden}.tournament-actions-single{margin-top:0}.tournament-secondary-action{margin-top:8px}.top-card-rank-number{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;font-size:11px}.current-player-sticky{bottom:calc(76px + env(safe-area-inset-bottom));z-index:5;position:sticky;box-shadow:0 8px 24px #00000047}@media (width<=390px){.top-three-grid,.stats-grid-profile,.achievements-grid{grid-template-columns:1fr}}
