@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

/* ============ TOKENS ============ */
:root {
  --bg: #0e1410;
  --bg-2: #11181410;
  --cream: #f5f1e8;
  --cream-2: #ebe6d8;
  --ink: #0c100d;
  --ink-2: #3d4540;
  --ink-3: #7a847e;
  --line: rgba(12,16,13,0.08);
  --line-2: rgba(12,16,13,0.05);
  --card: #fdfaf2;
  --card-2: #fffdf6;
  --accent: #1f4d36;
  --accent-2: #2d6b4d;
  --accent-soft: #dfe9e1;
  --gold: #b8923f;
  --gold-soft: #f0e5c5;
  --rose: #9b3a3a;
  --plum: #5a3d7a;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #efeadd; }
body {
  font-family: 'Geist', sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(184,146,63,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(31,77,54,0.08), transparent 60%),
    linear-gradient(180deg, #efeadd 0%, #ece6d5 100%);
}
a { text-decoration: none; color: inherit; }
input, button, select, textarea { font-family: inherit; }
img { max-width: 100%; }

/* ============ TYPOGRAPHY ============ */
.serif { font-family: 'Instrument Serif', serif; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: 'Geist Mono', monospace; }
.eyebrow { font-size: 11px; color: #b8923f; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: #b8923f; }
.title { font-family: 'Instrument Serif', serif; font-size: 60px; line-height: 1.0; letter-spacing: -0.025em; color: #f5f1e8; }
.title em { font-style: italic; color: #dcc890; background: linear-gradient(135deg, #e8d49b, #b8923f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { color: #b8b3a4; margin-top: 18px; font-size: 15px; max-width: 560px; line-height: 1.6; }

/* ============ SHELL ============ */
.shell { width: 1440px; margin: 0 auto; display: flex; min-height: 100vh; position: relative; }

/* ============ SIDEBAR ============ */
.sidebar { width: 252px; position: fixed; top: 0; bottom: 0; left: calc(50% - 720px); padding: 22px 14px 18px; display: flex; flex-direction: column; background: linear-gradient(180deg, #1a201c 0%, #0e1410 100%); color: #e8e3d4; border-right: 1px solid rgba(255,255,255,0.04); z-index: 30; }
.sidebar::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 50% 0%, rgba(184,146,63,0.08), transparent 70%); }
.brand { display: flex; align-items: center; gap: 11px; padding: 6px 10px 22px; position: relative; z-index: 1; }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, #b8923f, #8a6c2a); color: #fff8e0; display: flex; align-items: center; justify-content: center; font-family: 'Instrument Serif', serif; font-size: 24px; letter-spacing: -1px; box-shadow: 0 4px 16px -4px rgba(184,146,63,0.5), inset 0 1px 0 rgba(255,255,255,0.2); }
.brand-name { font-family: 'Instrument Serif', serif; font-size: 24px; line-height: 1; letter-spacing: -0.02em; color: #f5f1e8; }
.brand-sub { font-size: 9.5px; color: #7a847e; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; font-weight: 500; }

.nav-group { padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 1; }
.nav-group:first-of-type { border-top: none; }
.nav-label { font-size: 10px; color: #7a847e; text-transform: uppercase; letter-spacing: 0.14em; padding: 0 12px 10px; font-weight: 600; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; color: #b8b3a4; font-size: 13.5px; cursor: pointer; font-weight: 400; position: relative; transition: all var(--duration-fast); }
.nav-item:hover { background: rgba(255,255,255,0.04); color: #f5f1e8; }
.nav-item.active { background: linear-gradient(180deg, rgba(184,146,63,0.18), rgba(184,146,63,0.06)); color: #f5f1e8; font-weight: 500; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 1px 0 rgba(0,0,0,0.2); }
.nav-item.active::before { content: ''; position: absolute; left: -14px; top: 50%; transform: translateY(-50%); width: 3px; height: 20px; background: #b8923f; border-radius: 0 2px 2px 0; box-shadow: 0 0 10px rgba(184,146,63,0.6); }
.nav-item svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.nav-dot { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: #b8923f; box-shadow: 0 0 8px rgba(184,146,63,0.7); }
.nav-num { margin-left: auto; font-size: 11px; color: #7a847e; font-family: 'Geist Mono', monospace; }

.side-card { margin: 14px 4px; padding: 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(184,146,63,0.14), rgba(184,146,63,0.04)); border: 1px solid rgba(184,146,63,0.18); position: relative; z-index: 1; overflow: hidden; }
.side-card::after { content: ''; position: absolute; top: -30px; right: -30px; width: 90px; height: 90px; background: radial-gradient(circle, rgba(184,146,63,0.25), transparent 70%); }
.sc-eyebrow { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #b8923f; font-weight: 600; margin-bottom: 6px; }
.sc-title { font-family: 'Instrument Serif', serif; font-size: 18px; line-height: 1.15; color: #f5f1e8; margin-bottom: 4px; }
.sc-desc { font-size: 11.5px; color: #9a9485; line-height: 1.45; }
.sc-cta { margin-top: 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #f0e5c5; font-weight: 500; cursor: pointer; }

.side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 11px; padding-left: 8px; padding-right: 8px; padding-bottom: 2px; position: relative; z-index: 1; }
.profile-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #2d6b4d, #1f4d36); color: #f5f1e8; display: flex; align-items: center; justify-content: center; font-family: 'Instrument Serif', serif; font-size: 17px; box-shadow: 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15); position: relative; }
.profile-av::after { content: ''; position: absolute; bottom: 0; right: 0; width: 11px; height: 11px; background: #3fae6a; border-radius: 50%; border: 2px solid #15191657; box-shadow: 0 0 6px rgba(63,174,106,0.6); }
.profile-name { font-size: 13.5px; font-weight: 500; color: #f5f1e8; }
.profile-meta { font-size: 10.5px; color: #7a847e; margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.profile-meta .tier { color: #b8923f; font-weight: 600; }
.profile-icon { margin-left: auto; color: #7a847e; cursor: pointer; }

/* ============ MAIN ============ */
.main { margin-left: 252px; flex: 1; display: flex; flex-direction: column; }
.topbar { padding: 18px 36px; display: flex; align-items: center; gap: 18px; background: rgba(239,234,221,0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(12,16,13,0.06); }
.search { flex: 1; max-width: 460px; position: relative; }
.search input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px 0 42px; font-family: inherit; font-size: 13px; background: var(--card); color: var(--ink); transition: all var(--duration-fast); }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31,77,54,0.08); }
.search svg { position: absolute; left: 15px; top: 13px; width: 16px; height: 16px; stroke: var(--ink-3); stroke-width: 1.5; fill: none; }
.kbd { position: absolute; right: 10px; top: 11px; font-family: 'Geist Mono', monospace; font-size: 10.5px; color: var(--ink-3); background: #efeadd; border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 7px; }

.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.live-dot { width: 7px; height: 7px; background: #3fae6a; border-radius: 50%; box-shadow: 0 0 0 3px rgba(63,174,106,0.18); animation: pulse 2s infinite; }
.icon-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-2); position: relative; transition: all var(--duration-fast); }
.icon-btn:hover { color: var(--ink); background: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px -4px rgba(12,16,13,0.1); }
.icon-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.notif-dot { position: absolute; top: 10px; right: 11px; width: 8px; height: 8px; background: var(--rose); border-radius: 50%; border: 2px solid var(--card); }

/* ============ BUTTONS ============ */
.btn { height: 42px; padding: 0 18px; border-radius: 12px; font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; border: 1px solid transparent; transition: all var(--duration-fast); }
.btn-primary { background: linear-gradient(180deg, #2a614a, #1f4d36); color: #f5f1e8; box-shadow: 0 4px 14px -4px rgba(31,77,54,0.5), inset 0 1px 0 rgba(255,255,255,0.1); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -4px rgba(31,77,54,0.55); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: #fff; box-shadow: 0 4px 12px -4px rgba(12,16,13,0.1); }
.btn svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.ghost-btn { height: 36px; padding: 0 14px; font-size: 12.5px; background: transparent; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); font-family: inherit; font-weight: 500; cursor: pointer; transition: all var(--duration-fast); }
.ghost-btn:hover { background: rgba(12,16,13,0.04); border-color: rgba(12,16,13,0.18); }
.solid-btn { height: 36px; padding: 0 16px; font-size: 12.5px; background: linear-gradient(180deg, #2a614a, #1f4d36); color: #f5f1e8; border: none; border-radius: 9px; font-family: inherit; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 2px 8px -2px rgba(31,77,54,0.4), inset 0 1px 0 rgba(255,255,255,0.1); transition: all var(--duration-fast); }
.solid-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px -2px rgba(31,77,54,0.5); }
.solid-btn:active { transform: scale(0.98); }
.solid-btn svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; fill: none; }
.solid-btn.gold { background: linear-gradient(180deg, #c8a04f, #a07d2f); box-shadow: 0 2px 8px -2px rgba(184,146,63,0.5), inset 0 1px 0 rgba(255,255,255,0.15); }

/* ============ TAGS ============ */
.tag { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 20px; font-weight: 600; display: inline-block; }
.tag-green { background: var(--accent-soft); color: var(--accent); }
.tag-amber { background: var(--gold-soft); color: #7a5421; }
.tag-purple { background: #ece4f5; color: #5a3d7a; }
.tag-rose { background: #f5dada; color: #7a2828; }
.tag-slate { background: #e5e9f0; color: #2a3447; }
.tag-outline { background: transparent; color: var(--ink-3); border: 1px solid var(--line); }

/* ============ HERO ============ */
.content { padding: 32px 36px 48px; }
.hero-wrap { position: relative; border-radius: 24px; overflow: hidden; margin-bottom: 32px; background: radial-gradient(800px 400px at 90% 0%, rgba(184,146,63,0.22), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(45,107,77,0.18), transparent 60%), linear-gradient(135deg, #142019 0%, #0e1410 100%); color: #f5f1e8; border: 1px solid rgba(184,146,63,0.15); box-shadow: 0 24px 60px -20px rgba(12,16,13,0.4), inset 0 1px 0 rgba(255,255,255,0.05); animation: fadeIn var(--duration-slow) var(--ease-out); }
.hero-pattern { position: absolute; inset: 0; opacity: 0.06; pointer-events: none; background-image: radial-gradient(circle at 25% 25%, #f5f1e8 1px, transparent 1.5px), radial-gradient(circle at 75% 75%, #f5f1e8 1px, transparent 1.5px); background-size: 48px 48px; }
.hero-suits { position: absolute; right: -20px; bottom: -40px; font-family: 'Instrument Serif', serif; font-size: 180px; line-height: 0.85; color: rgba(184,146,63,0.10); pointer-events: none; letter-spacing: -8px; }
.hero { position: relative; padding: 40px 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero-meta { display: flex; flex-direction: column; gap: 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 18px; padding: 24px; backdrop-filter: blur(8px); }
.hero-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.hero-meta-row:last-child { padding-bottom: 0; border-bottom: none; }
.hmr-left { display: flex; align-items: center; gap: 12px; }
.hmr-ico { width: 34px; height: 34px; border-radius: 10px; background: rgba(184,146,63,0.15); color: #dcc890; display: flex; align-items: center; justify-content: center; }
.hmr-ico svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.hmr-lbl { font-size: 11.5px; color: #9a9485; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.hmr-sub { font-size: 12px; color: #7a847e; margin-top: 2px; }
.hmr-num { font-family: 'Instrument Serif', serif; font-size: 34px; line-height: 1; color: #f5f1e8; }
.hmr-num .unit { font-family: 'Geist', sans-serif; font-size: 13px; color: #7a847e; margin-left: 3px; font-weight: 400; }
.hero-actions { position: relative; padding: 0 44px 36px; display: flex; gap: 12px; }
.hero-cta { flex: 1; display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; cursor: pointer; transition: all .2s; backdrop-filter: blur(8px); }
.hero-cta:hover { background: rgba(255,255,255,0.07); border-color: rgba(184,146,63,0.3); transform: translateY(-2px); }
.hero-cta.featured { background: linear-gradient(135deg, rgba(184,146,63,0.25), rgba(184,146,63,0.08)); border: 1px solid rgba(184,146,63,0.35); box-shadow: 0 8px 24px -6px rgba(184,146,63,0.25); }
.hero-cta-ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.06); color: #dcc890; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.06); }
.hero-cta.featured .hero-cta-ico { background: linear-gradient(135deg, #b8923f, #8a6c2a); color: #fff8e0; border: none; box-shadow: 0 4px 12px -2px rgba(184,146,63,0.4); }
.hero-cta-body { flex: 1; min-width: 0; }
.hero-cta-title { font-size: 14px; font-weight: 500; color: #f5f1e8; display: flex; align-items: center; gap: 8px; }
.hero-cta-title .tag-mini { font-size: 9.5px; background: rgba(184,146,63,0.25); color: #dcc890; padding: 2px 7px; border-radius: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-cta-desc { font-size: 12px; color: #9a9485; margin-top: 2px; }
.hero-cta-arrow { color: #7a847e; }

/* ============ SPLIT ============ */
.split { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.section-title { font-family: 'Instrument Serif', serif; font-size: 32px; letter-spacing: -0.015em; display: flex; align-items: center; gap: 12px; }
.section-title .count-badge { font-family: 'Geist', sans-serif; font-size: 12px; background: var(--accent); color: #f5f1e8; padding: 4px 10px; border-radius: 20px; font-weight: 600; letter-spacing: 0.02em; }
.section-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* ============ SEGMENT TABS ============ */
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 2px; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset; }
.seg-i { padding: 8px 14px; font-size: 12.5px; color: var(--ink-3); border-radius: 8px; cursor: pointer; font-weight: 500; transition: all var(--duration-fast); border: none; background: transparent; font-family: inherit; }
.seg-i:hover { color: var(--ink); }
.seg-i.on { background: linear-gradient(180deg, #2a614a, #1f4d36); color: #f5f1e8; box-shadow: 0 2px 6px -2px rgba(31,77,54,0.3); }
.seg-i .c { font-family: 'Geist Mono', monospace; font-size: 10.5px; margin-left: 5px; opacity: .75; }

/* ============ TABLE CARDS ============ */
.tcards { display: flex; flex-direction: column; gap: 14px; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; transition: all .2s; cursor: pointer; position: relative; overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 1px 2px rgba(12,16,13,0.03); animation: slideUp var(--duration-normal) var(--ease-out) both; }
.tcard:hover { border-color: rgba(31,77,54,0.2); box-shadow: 0 12px 32px -12px rgba(12,16,13,0.12), 0 1px 0 rgba(255,255,255,0.5) inset; transform: translateY(-1px); }
.tcard.featured { background: linear-gradient(135deg, #fffdf6 0%, #faf3df 100%); border-color: rgba(184,146,63,0.3); box-shadow: 0 8px 28px -10px rgba(184,146,63,0.18); }
.tcard.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #b8923f, #dcc890, #b8923f); }

.tvisual { width: 96px; height: 96px; border-radius: 16px; position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; box-shadow: 0 8px 24px -8px rgba(12,16,13,0.3), inset 0 1px 0 rgba(255,255,255,0.1); background: linear-gradient(135deg, #1f4d36, #0f2419); }
.tvisual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 50%); }
.tvisual.purple { background: linear-gradient(135deg, #5a3d7a, #3d2952); }
.tvisual.amber { background: linear-gradient(135deg, #b8923f, #7a5421); }
.tvisual.rose { background: linear-gradient(135deg, #9b3a3a, #6b2828); }
.tvisual.slate { background: linear-gradient(135deg, #445069, #2a3447); }
.tvisual .suit { font-family: 'Instrument Serif', serif; font-size: 52px; color: rgba(245,241,232,0.96); line-height: 1; position: relative; z-index: 1; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.tvisual .corner { position: absolute; top: 9px; left: 11px; font-family: 'Geist Mono', monospace; font-size: 9.5px; color: rgba(245,241,232,0.55); letter-spacing: 0.1em; z-index: 1; font-weight: 500; }
.tvisual .corner-b { position: absolute; bottom: 9px; right: 11px; font-family: 'Geist Mono', monospace; font-size: 9.5px; color: rgba(245,241,232,0.55); letter-spacing: 0.1em; z-index: 1; font-weight: 500; }

.tinfo .tlabel { display: flex; gap: 7px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.tcard-name { font-family: 'Instrument Serif', serif; font-size: 26px; line-height: 1.1; margin-bottom: 7px; letter-spacing: -0.01em; }
.tcard-meta { font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tcard-meta strong { color: var(--ink-2); font-weight: 500; }
.tcard-meta .dot-sep { width: 3px; height: 3px; background: var(--ink-3); border-radius: 50%; opacity: .5; }
.tright { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; min-width: 240px; }
.seats-row { display: flex; align-items: center; gap: 8px; }
.seat-circle { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 500; color: #f5f1e8; border: 2.5px solid var(--card); margin-left: -7px; font-family: 'Instrument Serif', serif; font-size: 13px; box-shadow: 0 2px 4px rgba(0,0,0,0.08); }
.seat-circle:first-child { margin-left: 0; }
.seat-circle.empty { background: transparent; border: 1.5px dashed rgba(12,16,13,0.22); color: var(--ink-3); font-family: 'Geist', sans-serif; font-size: 13px; font-weight: 400; box-shadow: none; }
.tcard.featured .seat-circle { border-color: #fffdf6; }
.seats-text { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--ink-3); margin-left: 8px; letter-spacing: 0.04em; }
.tcta { display: flex; gap: 8px; }
.progress-mini { display: flex; align-items: center; gap: 6px; font-family: 'Geist Mono', monospace; font-size: 10.5px; color: var(--ink-3); }
.progress-bar { width: 80px; height: 4px; background: rgba(12,16,13,0.06); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #1f4d36, #2d6b4d); border-radius: 2px; }

/* ============ RAIL ============ */
.rail { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 88px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 1px 2px rgba(12,16,13,0.03); animation: fadeIn var(--duration-normal) var(--ease-out); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.panel-title { font-family: 'Instrument Serif', serif; font-size: 22px; letter-spacing: -0.01em; }
.panel-link { font-size: 11px; color: var(--ink-3); cursor: pointer; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.panel-link:hover { color: var(--accent); }

.n-item { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.n-item:last-child { border-bottom: none; padding-bottom: 0; }
.n-item:first-child { padding-top: 0; }
.n-ico { width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid rgba(31,77,54,0.08); }
.n-ico.amber { background: var(--gold-soft); color: #7a5421; border-color: rgba(184,146,63,0.15); }
.n-ico.rose { background: #f5dada; color: #7a2828; border-color: rgba(155,58,58,0.15); }
.n-content { flex: 1; min-width: 0; }
.n-title { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.n-desc { font-size: 12px; color: var(--ink-3); margin-top: 3px; line-height: 1.45; }
.n-time { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--ink-3); margin-top: 6px; letter-spacing: 0.04em; font-weight: 500; }
.n-accept { margin-top: 10px; display: inline-flex; gap: 6px; }
.n-accept .ghost-btn, .n-accept .solid-btn { height: 30px; padding: 0 12px; font-size: 11.5px; }

/* ============ MEMBERS ============ */
.m-list { display: flex; flex-direction: column; gap: 0; }
.m-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.m-item:last-child { border-bottom: none; padding-bottom: 0; }
.m-item:first-child { padding-top: 0; }
.m-av { width: 34px; height: 34px; border-radius: 50%; color: #f5f1e8; display: flex; align-items: center; justify-content: center; font-family: 'Instrument Serif', serif; font-size: 15px; position: relative; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.m-av .on { position: absolute; bottom: -1px; right: -1px; width: 11px; height: 11px; background: #3fae6a; border-radius: 50%; border: 2.5px solid var(--card); }
.m-name { font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.m-name .pro { font-size: 9px; background: var(--gold-soft); color: #7a5421; padding: 1px 6px; border-radius: 8px; font-weight: 600; letter-spacing: 0.06em; }
.m-state { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.m-invite { margin-left: auto; font-size: 11.5px; color: var(--ink); font-weight: 500; cursor: pointer; padding: 6px 11px; border-radius: 8px; border: 1px solid var(--line); background: transparent; font-family: inherit; transition: all var(--duration-fast); }
.m-invite:hover { background: var(--accent); color: #f5f1e8; border-color: var(--accent); }

/* ============ CHAT ============ */
.chat { background: linear-gradient(180deg, #15191657 0%, #0c100d 100%); color: #f5f1e8; border-radius: 18px; padding: 22px; border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 12px 32px -12px rgba(12,16,13,0.3), inset 0 1px 0 rgba(255,255,255,0.04); position: relative; overflow: hidden; }
.chat::after { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(184,146,63,0.08), transparent 70%); pointer-events: none; }
.chat .panel-head { margin-bottom: 16px; position: relative; z-index: 1; }
.chat .panel-title { color: #f5f1e8; }
.chat-channel { font-family: 'Geist Mono', monospace; font-size: 10.5px; color: rgba(245,241,232,0.45); letter-spacing: 0.06em; margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.chat-channel .dot-live { width: 6px; height: 6px; background: #3fae6a; border-radius: 50%; }
.chat-msgs { display: flex; flex-direction: column; gap: 14px; max-height: 240px; overflow-y: auto; margin-bottom: 14px; position: relative; z-index: 1; padding-right: 4px; }
.chat-msgs::-webkit-scrollbar { width: 4px; }
.chat-msgs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }
.cmsg { display: flex; gap: 11px; }
.cmsg-av { width: 30px; height: 30px; border-radius: 50%; color: #f5f1e8; display: flex; align-items: center; justify-content: center; font-family: 'Instrument Serif', serif; font-size: 13px; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.cmsg-body { flex: 1; min-width: 0; }
.cmsg-head { display: flex; align-items: baseline; gap: 7px; }
.cmsg-name { font-size: 12px; font-weight: 500; color: #f5f1e8; }
.cmsg-time { font-family: 'Geist Mono', monospace; font-size: 10px; color: rgba(245,241,232,0.4); }
.cmsg-txt { font-size: 12.5px; color: rgba(245,241,232,0.82); line-height: 1.5; margin-top: 3px; }
.chat-input { display: flex; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.08); position: relative; z-index: 1; }
.chat-input input { flex: 1; height: 36px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 0 14px; font-family: inherit; font-size: 12.5px; color: #f5f1e8; }
.chat-input input::placeholder { color: rgba(245,241,232,0.35); }
.chat-input input:focus { outline: none; border-color: rgba(184,146,63,0.4); box-shadow: 0 0 0 3px rgba(184,146,63,0.1); }
.csend { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #c8a04f, #a07d2f); color: #0c100d; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px -2px rgba(184,146,63,0.4); }

/* ============ FOOTER ============ */
.footer { padding: 28px 36px; margin-top: 30px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-2); color: var(--ink-3); font-size: 12px; }
.footer .links a { color: var(--ink-3); text-decoration: none; margin-left: 20px; transition: color var(--duration-fast); }
.footer .links a:hover { color: var(--accent); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .mark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #b8923f, #8a6c2a); color: #fff8e0; display: flex; align-items: center; justify-content: center; font-family: 'Instrument Serif', serif; font-size: 13px; }

/* ============ LOGIN CARD ============ */
.login-card { transition: all .2s; }
.login-card:hover { background: rgba(255,255,255,0.06) !important; border-color: rgba(255,255,255,0.15) !important; transform: translateY(-2px); }
.login-card.selected { border-color: #b8923f !important; background: rgba(184,146,63,0.1) !important; box-shadow: 0 0 0 3px rgba(184,146,63,0.2); }

/* ============ ANIMATIONS ============ */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(.9); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.stagger-enter > * { animation: slideUp var(--duration-normal) var(--ease-out) both; }
.stagger-enter > *:nth-child(1) { animation-delay: 0ms; }
.stagger-enter > *:nth-child(2) { animation-delay: 50ms; }
.stagger-enter > *:nth-child(3) { animation-delay: 100ms; }
.stagger-enter > *:nth-child(4) { animation-delay: 150ms; }
.stagger-enter > *:nth-child(5) { animation-delay: 200ms; }
