/* Skydive Tracker — landing + auth + account theme.
   Dark aviation / HUD look, sharing the palette of the live map (style.css). */
:root {
  --bg: #0a0c10;
  --bg-2: #0c0f15;
  --panel: rgba(18, 21, 27, 0.72);
  --panel-solid: #12151b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e7ecf3;
  --muted: #8b94a3;
  --muted-2: #636c7b;
  --accent: #38e1ff;
  --accent-dim: #1c6f80;
  --climb: #57e08a;
  --exit: #ff5d6c;
  --tandem: #ffb454;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; min-height: 100%;
  background: var(--bg); color: var(--text);
  font-family: var(--font); -webkit-font-smoothing: antialiased;
}
body { display: flex; flex-direction: column; min-height: 100vh; position: relative; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* ---- Animated sky background ---- */
.sky-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(56,225,255,.10), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(87,224,138,.07), transparent 55%),
    linear-gradient(180deg, #0b0e13, #07090d 60%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb-a { width: 460px; height: 460px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(56,225,255,.45), transparent 70%); animation: drift 22s ease-in-out infinite; }
.orb-b { width: 380px; height: 380px; bottom: -120px; left: -60px;
  background: radial-gradient(circle, rgba(87,224,138,.32), transparent 70%); animation: drift 28s ease-in-out infinite reverse; }
.grid-lines { position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
}
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, 40px); } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1200px; margin: 0 auto; width: 100%;
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--accent); }
.brand svg { filter: drop-shadow(0 0 8px rgba(56,225,255,.55)); }
.brand-name { color: var(--text); font-weight: 800; letter-spacing: 1.8px; font-size: 14px; }
.brand-name b { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
/* Signed in: nav sits next to the brand (left), matching the map pages, so the
   nav location is consistent across the whole app. Logged-out keeps it right. */
.nav-app { justify-content: flex-start; gap: 30px; }
.navtoggle { display: none; cursor: pointer; user-select: none; }   /* hamburger: mobile only */
.nav-links a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 11px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: linear-gradient(180deg, #54e7ff, #25c8e6); color: #042027;
  box-shadow: 0 8px 24px rgba(56,225,255,.28); }
.btn-accent:hover { box-shadow: 0 10px 30px rgba(56,225,255,.42); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent-dim); }
.btn-block { width: 100%; padding: 13px; font-size: 15px; }

.page { flex: 1; width: 100%; }

/* ---- Flash messages ---- */
.flash-stack { max-width: 460px; margin: 14px auto 0; padding: 0 18px; display: grid; gap: 8px; }
.flash { padding: 11px 14px; border-radius: 11px; font-size: 14px; border: 1px solid var(--line-strong);
  background: var(--panel); backdrop-filter: blur(12px); }
.flash-error { border-color: rgba(255,93,108,.45); background: rgba(255,93,108,.12); color: #ffc4ca; }
.flash-success { border-color: rgba(87,224,138,.45); background: rgba(87,224,138,.12); color: #c2f3d4; }
.flash-info { border-color: rgba(56,225,255,.4); background: rgba(56,225,255,.10); color: #c2eeff; }

/* ===================== LANDING ===================== */
.hero { max-width: 1100px; margin: 0 auto; padding: 70px 24px 40px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-dim);
  background: rgba(56,225,255,.07); padding: 7px 14px; border-radius: 999px; }
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--climb);
  box-shadow: 0 0 0 0 rgba(87,224,138,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(87,224,138,.5);} 70%{box-shadow:0 0 0 9px rgba(87,224,138,0);} 100%{box-shadow:0 0 0 0 rgba(87,224,138,0);} }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.04; font-weight: 900; letter-spacing: -1.5px;
  margin: 22px auto 18px; max-width: 14ch; }
.hero h1 .grad { background: linear-gradient(120deg, #6fe9ff, #38e1ff 40%, #57e08a);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 60ch; margin: 0 auto 32px; line-height: 1.6; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted-2); }

/* HUD preview strip */
.hud-strip { max-width: 900px; margin: 46px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hud-tile { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px;
  backdrop-filter: blur(14px); text-align: left; }
.hud-tile .v { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hud-tile .v small { font-size: 14px; color: var(--muted); font-weight: 600; }
.hud-tile .l { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.hud-tile.alt .v { color: var(--accent); }
.hud-tile.climb .v { color: var(--climb); }
.hud-tile.exit .v { color: var(--exit); }

/* Features */
.features { max-width: 1100px; margin: 80px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  backdrop-filter: blur(14px); transition: border-color .2s ease, transform .2s ease; }
.feature:hover { border-color: var(--accent-dim); transform: translateY(-3px); }
.feature .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(56,225,255,.10); color: var(--accent); margin-bottom: 14px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Roadmap teaser */
.roadmap { max-width: 1100px; margin: 80px auto 0; padding: 0 24px; }
.roadmap h2 { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.roadmap .lead { text-align: center; color: var(--muted); margin: 0 auto 34px; max-width: 50ch; }
.road-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; }
.road-card { border: 1px dashed var(--line-strong); border-radius: 16px; padding: 22px; background: rgba(255,255,255,.02); }
.road-card .tag { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); }
.road-card h4 { margin: 10px 0 8px; font-size: 16px; }
.road-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.cta-band { max-width: 900px; margin: 84px auto 30px; padding: 44px 24px; text-align: center;
  border: 1px solid var(--line); border-radius: 22px;
  background: radial-gradient(600px 240px at 50% 0%, rgba(56,225,255,.12), transparent 70%), var(--panel); backdrop-filter: blur(14px); }
.cta-band h2 { font-size: 30px; font-weight: 800; margin: 0 0 10px; }
.cta-band p { color: var(--muted); margin: 0 0 22px; }

/* ===================== AUTH CARD ===================== */
.auth-wrap { max-width: 440px; margin: 5vh auto 40px; padding: 0 20px; }
.auth-card { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 22px;
  padding: 34px 30px; backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-head .badge-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--climb); margin-bottom: 14px; }
.auth-head .badge-live .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--climb); animation: pulse 2s infinite; }
.auth-head h1 { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.auth-head p { margin: 0; color: var(--muted); font-size: 14px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; letter-spacing: .6px; color: var(--muted); margin-bottom: 7px; font-weight: 600; }
.field input { width: 100%; padding: 13px 14px; border-radius: 12px; font-size: 15px; font-family: inherit;
  background: rgba(0,0,0,.35); border: 1px solid var(--line-strong); color: var(--text); transition: border-color .15s ease, box-shadow .15s ease; }
.field input::placeholder { color: var(--muted-2); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56,225,255,.16); }
.field .hint { font-size: 12px; color: var(--muted-2); margin-top: 6px; }

/* reCAPTCHA checkbox: centre it, and on narrow phones scale the fixed 304px
   widget down so it never spills past the card edge. */
.recaptcha-field { display: flex; justify-content: center; }
.recaptcha-field .g-recaptcha { transform-origin: center; }
@media (max-width: 360px) {
  .recaptcha-field .g-recaptcha { transform: scale(0.88); }
}

.row-between { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 13px; }
.checkbox { display: flex; align-items: center; gap: 8px; color: var(--muted); cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--accent); }
.link { color: var(--accent); }
.link:hover { text-decoration: underline; }

.auth-alt { text-align: center; margin-top: 20px; color: var(--muted); font-size: 14px; }
.auth-foot-note { text-align: center; margin-top: 18px; font-size: 12px; color: var(--muted-2); line-height: 1.5; }

/* ===================== ACCOUNT ===================== */
.account-wrap { max-width: 720px; margin: 4vh auto 40px; padding: 0 22px; }
.account-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  backdrop-filter: blur(14px); margin-bottom: 18px; }
.account-card h2 { margin: 0 0 4px; font-size: 20px; }
.account-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 12px 18px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; word-break: break-word; }
/* On phones, stack label over value so long emails never overflow the screen. */
@media (max-width: 560px) {
  .kv { grid-template-columns: 1fr; gap: 3px 0; }
  .kv dt { margin-top: 12px; }
}
.plan-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .4px; }
.plan-free { color: var(--accent); border: 1px solid var(--accent-dim); background: rgba(56,225,255,.08); }
.upsell { border: 1px dashed var(--line-strong); border-radius: 16px; padding: 22px; background: rgba(255,255,255,.02); }
.upsell h3 { margin: 0 0 8px; }
.upsell p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.upsell .soon { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--tandem);
  border: 1px solid rgba(255,180,84,.4); background: rgba(255,180,84,.08); padding: 4px 10px; border-radius: 999px; }

/* ---- Legal pages (Terms / Privacy) ---- */
.legal { font-size: 15px; line-height: 1.7; }
.legal h1 { font-size: 26px; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 13px; margin: 0 0 24px; }
.legal h2 { font-size: 17px; margin: 28px 0 8px; }
.legal p, .legal li { color: #c7cdd8; }
.legal ul { margin: 8px 0; padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal a { color: var(--accent); }
.legal .toc { font-size: 13.5px; color: var(--muted); }

/* signup clickwrap */
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; font-size: 13.5px;
  color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--accent); }
.consent a { color: var(--accent); }

/* ---- Landing: stat strip + motion ---- */
.stat-strip { display:flex; justify-content:center; gap:40px; flex-wrap:wrap; margin:30px auto 0; }
.stat-strip .s { text-align:center; }
.stat-strip .n { font-size:30px; font-weight:800; color:var(--accent); line-height:1; }
.stat-strip .l { font-size:11.5px; letter-spacing:1.2px; text-transform:uppercase; color:var(--muted); margin-top:7px; }

/* Scroll-reveal + gentle hero float — only when the user hasn't asked for less motion.
   .reveal is added by JS, so with JS off / reduced motion everything stays visible. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity:1; transform:none; }
  .feed-float { animation:floaty 6.5s ease-in-out infinite; }
  @keyframes floaty { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
}

/* ---- Landing: cinematic hero (real footage + floating feed post) ---- */
.hero-stage { position: relative; max-width: 860px; margin: 40px auto 0; }
.hero-jump { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 22px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -40px rgba(56,225,255,.40), 0 30px 80px -30px rgba(0,0,0,.85); }
.hero-glow { position: absolute; inset: -2px; border-radius: 24px; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 120%, rgba(56,225,255,.22), transparent 60%); z-index: -1; }
/* Glassy "feed post" floating over the footage */
.feed-float { position: absolute; left: 20px; bottom: 20px; width: min(360px, calc(100% - 40px));
  text-align: left; background: rgba(12,15,21,.66); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 13px 15px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.ff-head { display: flex; align-items: center; gap: 10px; }
.ff-av { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  font-weight: 800; color: #042027; background: linear-gradient(135deg, #6fe9ff, #57e08a); }
.ff-who { flex: 1; min-width: 0; line-height: 1.25; }
.ff-who b { font-size: 15px; }
.ff-who span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800;
  letter-spacing: 1px; color: var(--climb); }
.ff-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--climb);
  box-shadow: 0 0 0 0 rgba(87,224,138,.6); animation: pulse 2s infinite; }
.ff-sum { margin-top: 10px; font-weight: 700; font-size: 14.5px; }
.ff-chips { display: flex; gap: 7px; margin-top: 9px; }
.ff-chip { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: var(--accent); border: 1px solid var(--accent-dim); background: rgba(56,225,255,.10); }
.ff-chip.ghost { color: var(--muted); border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.ff-foot { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 11px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.10); font-size: 12px; color: var(--muted); }
.hero-fineprint { text-align: center; color: var(--muted); font-size: 13.5px; margin: 18px auto 0; }
@media (max-width: 560px) {
  .hero-stage { margin-top: 28px; }
  .hero-jump { aspect-ratio: 4 / 5; border-radius: 18px; }   /* taller crop on phones */
  .feed-float { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 12px 13px; }
  .ff-foot span:last-child { display: none; }
}

.showcase { max-width: 1100px; margin: 80px auto 0; padding: 0 24px; }
.showcase-head { text-align: center; margin-bottom: 28px; }
.showcase-head h2 { font-size: 26px; margin: 0 0 6px; }
.showcase-head .lead { color: var(--muted); margin: 0; }
/* Auto-advancing showcase carousel */
.carousel { position: relative; max-width: 1000px; margin: 0 auto; }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; padding: 0 2px; }
.car-slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
  display: block; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--panel);
  box-shadow: 0 24px 70px -38px rgba(0,0,0,.8); }
.car-slide figcaption { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 14px; line-height: 1.5; }
.car-slide figcaption b { color: #e6e9ef; font-weight: 600; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.car-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px;
  background: var(--line-strong); cursor: pointer; transition: width .25s ease, background .25s ease; }
.car-dot.active { background: var(--accent); width: 24px; }
.car-arrow { position: absolute; top: calc(50% - 22px); transform: translateY(-50%); width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(14,17,23,.66); color: #fff; font-size: 22px; cursor: pointer; backdrop-filter: blur(8px); z-index: 3; }
.car-arrow:hover { border-color: var(--accent); color: var(--accent); }
.car-arrow.prev { left: -10px; } .car-arrow.next { right: -10px; }
@media (max-width: 680px) { .car-arrow { display: none; } }

.cta-fine { color: var(--muted); font-size: 12.5px; margin-top: 14px; }

/* ---- Pricing ---- */
.pricing-wrap { max-width: 760px; margin: 4vh auto 40px; padding: 0 22px; }
.pricing-head { text-align: center; margin-bottom: 28px; }
.pricing-head h1 { font-size: 30px; margin: 12px 0 8px; }
.pricing-head p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 540px; margin: 0 auto; }
.plan-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan-card { position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px 24px; backdrop-filter: blur(14px); }
.plan-card.featured { border-color: var(--accent-dim); box-shadow: 0 0 0 1px var(--accent-dim),
  0 18px 60px -30px var(--accent); }
.plan-flag { position: absolute; top: -11px; left: 24px; font-size: 11px; font-weight: 700;
  letter-spacing: .4px; color: #06121a; background: var(--accent); padding: 4px 10px; border-radius: 999px; }
.plan-name { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.plan-price { font-size: 34px; font-weight: 800; margin: 6px 0 2px; }
.plan-price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan-note { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.plan-perks { max-width: 480px; margin: 26px auto 0; padding: 0; list-style: none;
  display: grid; gap: 10px; }
.plan-perks li { position: relative; padding-left: 26px; color: #c7cdd8; font-size: 14.5px; }
.plan-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.pricing-foot { text-align: center; color: var(--muted); font-size: 12.5px; margin: 26px auto 0;
  max-width: 520px; line-height: 1.6; }
.pricing-foot a { color: var(--accent); }
@media (max-width: 560px) { .plan-row { grid-template-columns: 1fr; } }

/* ---- Footer ---- */
.foot { max-width: 1200px; margin: 0 auto; width: 100%; padding: 26px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: var(--muted-2); font-size: 13px; border-top: 1px solid var(--line); margin-top: 40px; }
.foot-links { display: flex; gap: 18px; }
.foot-links a:hover { color: var(--text); }

/* Collapse the links into a ☰ dropdown at the SAME 900px breakpoint the map
   pages use, so the whole site switches to the hamburger at one width and the
   bar never wraps to two rows on tablets/large phones. */
@media (max-width: 900px) {
  .nav { padding: 12px 16px; gap: 10px; }
  .navtoggle { display: grid; place-items: center; margin-left: auto;
    width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 10px;
    color: var(--text); font-size: 18px; background: rgba(255,255,255,.05); }
  .nav-cb:checked ~ .navtoggle { border-color: var(--accent); color: var(--accent); }
  .nav-links { display: none; position: absolute; right: 16px; top: 60px; z-index: 60;
    flex-direction: column; align-items: stretch; gap: 0; min-width: 212px;
    background: rgba(14,17,23,.98); border: 1px solid var(--line-strong);
    border-radius: 14px; overflow: hidden; box-shadow: 0 16px 44px rgba(0,0,0,.55); }
  .nav-cb:checked ~ .nav-links { display: flex; }
  .nav-links a, .nav-links .btn { padding: 13px 16px; width: 100%; font-size: 14px;
    border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links .btn { background: none; border: none; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav-links a:last-child, .nav-links .btn:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .hud-strip { grid-template-columns: 1fr; }
  .hero { padding: 48px 18px 30px; }
  .auth-wrap { margin-top: 3vh; }
}

@media (max-width: 700px) {
  .mf-wrap { padding: 16px 16px 36px; }
  .mf-head { gap: 14px; }
  /* Stack the controls so the dropzone and the follow toggle each take a full
     row — no overflow, no awkward tall buttons crammed beside a short select. */
  .mf-head-controls { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; }
  /* width:100% (not just stretch) so the dropzone fills the row even though the
     base .mf-head-controls rule's align-items:flex-end wins on source order. */
  .mf-field { flex: 1; width: 100%; }
  .mf-field select { min-width: 0; width: 100%; }
  .mf-actions { width: 100%; }
  .identity-pick { width: 100%; }
  .identity-pick input { flex: 1; min-width: 0; }
  .ml-load { font-size: 21px; }
  .ml-eta .v { font-size: 24px; }
}

/* ===================== MANIFEST ===================== */
.mf-wrap { max-width: 1100px; margin: 0 auto; padding: 20px 22px 40px; }
.mf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.mf-title { font-size: 30px; font-weight: 800; margin: 0; }
.mf-sub { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.mf-head-controls { display: flex; align-items: flex-end; gap: 12px; }
/* Follow + Share sit in one equal-width row so they read as a matched pair;
   Share is hidden by JS when follow mode is off (so Follow fills the row). */
.mf-actions { display: flex; align-items: stretch; gap: 10px; }
.mf-actions .btn { flex: 1; justify-content: center; white-space: nowrap; padding: 11px 14px; }
.mf-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.mf-field select { padding: 10px 12px; border-radius: 11px; background: rgba(0,0,0,.35);
  border: 1px solid var(--line-strong); color: var(--text); font: inherit; min-width: 200px; }
.mf-field select:focus { outline: none; border-color: var(--accent); }

.mf-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px;
  backdrop-filter: blur(14px); margin-bottom: 18px; }
.mf-label { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }

/* Personalised "your lift" banner */
.my-lift { border-radius: 18px; padding: 20px 22px; margin-bottom: 18px; border: 1px solid var(--accent-dim);
  background: radial-gradient(600px 200px at 0% 0%, rgba(56,225,255,.14), transparent 70%), var(--panel);
  backdrop-filter: blur(14px); }
.my-lift.departed { border-color: rgba(255,93,108,.4);
  background: radial-gradient(600px 200px at 0% 0%, rgba(255,93,108,.12), transparent 70%), var(--panel); }
.ml-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ml-hi { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); }
.ml-load { font-size: 26px; font-weight: 800; margin-top: 2px; }
.ml-eta { text-align: right; }
.ml-eta .v { font-size: 30px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.ml-eta.departed .v { color: var(--exit); }
.ml-eta .l { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.my-lift.waiting { border-color: var(--line-strong);
  background: radial-gradient(600px 200px at 0% 0%, rgba(255,255,255,.04), transparent 70%), var(--panel); }
.ml-eta.waiting .v { color: var(--muted); font-size: 22px; }

/* status stepper: On call -> Boarding -> Climbing -> Jump run -> Exited */
.ml-stepper { display: flex; align-items: flex-start; margin: 18px 0 6px; }
.ml-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; }
.ml-step::before { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px;
  background: var(--line-strong); z-index: 0; }
.ml-step:first-child::before { display: none; }
.ml-sdot { width: 14px; height: 14px; border-radius: 50%; background: var(--panel-solid);
  border: 2px solid var(--line-strong); position: relative; z-index: 1; transition: background .3s, border-color .3s; }
.ml-slabel { font-size: 10px; letter-spacing: .4px; text-transform: uppercase; color: var(--muted-2); text-align: center; }
.ml-step.done .ml-sdot, .ml-step.now .ml-sdot { background: var(--accent); border-color: var(--accent); }
.ml-step.done::before, .ml-step.now::before { background: var(--accent); }
.ml-step.done .ml-slabel { color: var(--muted); }
.ml-step.now .ml-sdot { box-shadow: 0 0 0 4px rgba(56,225,255,.18); animation: pulse 2s infinite; }
.ml-step.now .ml-slabel { color: var(--accent); font-weight: 800; }
.my-lift.departed .ml-step.done .ml-sdot, .my-lift.departed .ml-step.now .ml-sdot { background: var(--exit); border-color: var(--exit); }
.my-lift.departed .ml-step.done::before, .my-lift.departed .ml-step.now::before { background: var(--exit); }
.my-lift.departed .ml-step.now .ml-slabel { color: var(--exit); }

.ml-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.ml-chip { font-size: 12px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03); color: var(--muted); }
.ml-chip b { color: var(--text); }
.ml-with { margin-top: 14px; font-size: 13px; color: var(--muted); }
.ml-watch { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 10px 16px;
  border-radius: 11px; font-weight: 800; font-size: 13.5px; text-decoration: none;
  color: #04212a; background: var(--accent); transition: filter .15s; }
.ml-watch:hover { filter: brightness(1.08); }

/* Landing → per-DZ SEO page links */
.dz-links { max-width: 900px; margin: 46px auto 0; padding: 0 22px; text-align: center; }
.dz-links h2 { font-size: 24px; margin: 0 0 8px; }
.dz-links p { color: var(--muted); margin: 0 0 16px; }
.dz-links-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dz-links-grid a { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; }
.dz-links-grid a:hover { border-color: var(--accent); color: var(--accent); }

/* Follow mode toggle: hide the personalised widgets to declutter to the board. */
.mf-wrap.follow-off #my-lift, .mf-wrap.follow-off .mf-card.identity { display: none !important; }
.mf-follow.on { color: var(--accent); border-color: var(--accent-dim, rgba(56,225,255,.45)); }

/* identity picker */
.identity-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.identity-status { font-size: 14px; margin-top: 4px; }
.identity-status b { color: var(--accent); }
.identity-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.identity-pick input { padding: 11px 13px; border-radius: 11px; background: rgba(0,0,0,.35);
  border: 1px solid var(--line-strong); color: var(--text); font: inherit; min-width: 220px; }
.identity-pick input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56,225,255,.16); }

/* loads */
.mf-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.mf-col-head { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text);
  margin: 4px 2px 12px; display: flex; align-items: center; gap: 8px; }
.mf-col-head.muted { color: var(--muted); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--climb); box-shadow: 0 0 0 0 rgba(87,224,138,.6); animation: pulse 2s infinite; }
.loads { display: flex; flex-direction: column; gap: 12px; }
.load { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; backdrop-filter: blur(14px); }
.load.mine { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-dim), 0 8px 30px rgba(56,225,255,.1); }
.load-hd { display: flex; align-items: center; gap: 10px; padding: 13px 15px; cursor: pointer; }
.load-hd .ln { font-weight: 800; font-size: 15px; }
.load-hd .st { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.st-boarding { color: var(--tandem); border: 1px solid rgba(255,180,84,.4); background: rgba(255,180,84,.08); }
.st-climbing, .st-onjumprun { color: var(--accent); border: 1px solid var(--accent-dim); background: rgba(56,225,255,.08); }
.st-oncall { color: var(--muted); border: 1px solid var(--line-strong); }
.st-departed { color: var(--exit); border: 1px solid rgba(255,93,108,.35); background: rgba(255,93,108,.08); }
.load-hd .cnt { margin-left: auto; font-size: 12px; color: var(--muted); }
.load-hd .eta { font-size: 12px; font-weight: 700; color: var(--tandem); }
.load-body { padding: 2px 8px 10px; }
.jrow { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 9px; font-size: 13.5px; }
.jrow:hover { background: rgba(255,255,255,.04); }
.jrow.me { background: rgba(56,225,255,.10); }
.jrow .jdot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.jrow .jt { margin-left: auto; font-size: 10px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.jrow .me-tag { margin-left: 8px; font-size: 9px; font-weight: 800; letter-spacing: 1px; color: #04212a; background: var(--accent); padding: 2px 6px; border-radius: 6px; }
.load-empty, .col-empty { color: var(--muted-2); font-size: 13px; padding: 14px; text-align: center; }
.mf-legend { display: flex; gap: 16px; margin: 14px 2px 0; font-size: 11px; color: var(--muted); }
.mf-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }

@media (max-width: 820px) { .mf-grid { grid-template-columns: 1fr; } }

/* ---- share-my-lift modal ---- */
.mf-share.on, .mf-share:hover { color: var(--accent); border-color: var(--accent-dim, rgba(56,225,255,.45)); }
.share-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(4,8,12,.66); backdrop-filter: blur(4px); padding: 20px; }
.share-modal.hidden { display: none; }
.share-card { position: relative; width: 100%; max-width: 460px; background: var(--panel);
  border: 1px solid var(--line-strong); border-radius: 18px; padding: 26px 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.share-x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 9px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); color: var(--muted);
  cursor: pointer; font-size: 14px; }
.share-x:hover { color: var(--text); border-color: var(--accent); }
.share-title { font-size: 21px; font-weight: 800; margin: 6px 0 8px; }
.share-desc { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 18px; }
.share-row { display: flex; gap: 10px; }
.share-row input { flex: 1; min-width: 0; padding: 12px 13px; border-radius: 11px; font: inherit; font-size: 13px;
  background: rgba(0,0,0,.35); border: 1px solid var(--line-strong); color: var(--text); }
.share-row .btn { flex: 0 0 auto; }
.share-alt { margin-top: 14px; font-size: 13px; color: var(--muted); }
.share-alt a { color: var(--accent); text-decoration: none; }
.share-alt a:hover { text-decoration: underline; }

/* ===================== LOGBOOK ===================== */
.lb-wrap { max-width: 1000px; margin: 0 auto; padding: 20px 22px 44px; }
.lb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.lb-title { font-size: 30px; font-weight: 800; margin: 0; }
.lb-sub { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.lb-identity { display: flex; align-items: center; gap: 12px; }
.lb-asname { color: var(--muted); font-size: 14px; } .lb-asname b { color: var(--accent); }
.lb-change { padding: 8px 14px; font-size: 13px; }
.lb-loading { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 40px 0; justify-content: center; }
.spin { width: 16px; height: 16px; border: 2px solid rgba(56,225,255,.25); border-top-color: var(--accent); border-radius: 50%; animation: lbspin 1s linear infinite; display: inline-block; }
@keyframes lbspin { to { transform: rotate(360deg); } }

.lb-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; backdrop-filter: blur(14px); margin-bottom: 18px; }
.lb-card-t { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

/* link-your-name */
.lb-link { text-align: center; padding: 40px 24px; }
.lb-link-ico { font-size: 40px; margin-bottom: 10px; }
.lb-link h2 { margin: 0 0 8px; font-size: 22px; }
.lb-link p { color: var(--muted); margin: 0 auto 22px; max-width: 44ch; }
.lb-link-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.lb-link-row input { padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--line-strong); color: var(--text); font: inherit; min-width: 260px; }
.lb-link-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56,225,255,.16); }
.lb-link-note { margin-top: 16px; font-size: 12px; color: var(--muted-2); }
.lb-empty { text-align: center; padding: 36px 24px; } .lb-empty h2 { margin: 0 0 8px; font-size: 20px; } .lb-empty p { color: var(--muted); margin: 0 0 18px; }

/* hero */
.lb-hero { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  background: radial-gradient(500px 200px at 0% 0%, rgba(56,225,255,.13), transparent 70%), var(--panel);
  border: 1px solid var(--line); border-radius: 20px; padding: 24px; backdrop-filter: blur(14px); margin-bottom: 18px; }
.lb-total { text-align: center; padding-right: 22px; border-right: 1px solid var(--line); }
.lb-total .v { display: block; font-size: 52px; font-weight: 900; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.lb-total .l { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.lb-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lb-quick div { display: flex; flex-direction: column; gap: 3px; }
.lb-quick b { font-size: 18px; font-weight: 800; }
.lb-quick span { font-size: 11px; color: var(--muted); }

.lb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14px; }
.lb-k { flex: 0 0 38%; display: flex; align-items: center; gap: 8px; color: var(--text); }
.lb-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.lb-bar { flex: 1; height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.lb-bar span { display: block; height: 100%; border-radius: 999px; }
.lb-v { flex: 0 0 auto; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
.lb-none { color: var(--muted-2); font-size: 13px; }

/* month chart */
.lb-months { display: flex; align-items: flex-end; gap: 16px; min-height: 124px; padding-top: 6px; flex-wrap: wrap; justify-content: center; }
.lb-month { width: 54px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lb-mbar { width: 100%; max-width: 46px; height: 90px; display: flex; align-items: flex-end; background: rgba(255,255,255,.04); border-radius: 8px; overflow: hidden; }
.lb-mbar span { width: 100%; background: linear-gradient(180deg, #54e7ff, #25c8e6); border-radius: 8px 8px 0 0; }
.lb-mc { font-size: 13px; font-weight: 800; } .lb-ml { font-size: 11px; color: var(--muted); }

.lb-cardhint { font-size: 10.5px; color: var(--muted-2); text-transform: none; letter-spacing: 0; margin-left: 8px; font-weight: 400; }
.lb-recent { display: flex; flex-direction: column; }
.lb-rrow { display: flex; justify-content: space-between; align-items: center; padding: 11px 8px; border-bottom: 1px solid var(--line); font-size: 14px; cursor: pointer; border-radius: 8px; }
.lb-rrow:last-child { border-bottom: none; }
.lb-rrow:hover { background: rgba(255,255,255,.03); }
.lb-rrow.open { background: rgba(56,225,255,.07); }
.lb-rdz { color: var(--muted); }
.lb-rc { color: var(--accent); font-weight: 700; display: flex; align-items: center; gap: 7px; }
.lb-rchev { color: var(--muted); transition: transform .2s; display: inline-block; }
.lb-rrow.open .lb-rchev { transform: rotate(90deg); color: var(--accent); }
.lb-roster { padding: 4px 4px 12px; }
.lb-rnone { color: var(--muted); font-size: 13px; padding: 14px; text-align: center; }
.lb-rhead { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding: 6px 8px 10px; }
.lb-rlist { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.lb-rlist li { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; font-size: 13.5px; }
.lb-rlist li:hover { background: rgba(255,255,255,.04); }
.lb-rlist li.me { background: rgba(56,225,255,.10); }
.lb-rlist .jdot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.lb-rlist .rn { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-rlist .rc { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.lb-rlist .me-tag { font-size: 9px; font-weight: 800; letter-spacing: 1px; color: #04212a; background: var(--accent); padding: 2px 5px; border-radius: 5px; }
.lb-rlegend { display: flex; gap: 16px; padding: 12px 8px 2px; font-size: 10.5px; color: var(--muted); }
.lb-rlegend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
@media (max-width: 600px) { .lb-rlist { grid-template-columns: 1fr; } }

/* per-load breakdown */
.lb-demotag { margin-left: 8px; font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--tandem); border: 1px solid rgba(255,180,84,.4); background: rgba(255,180,84,.08); padding: 2px 7px; border-radius: 999px; }
.lb-load { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; overflow: hidden; background: rgba(255,255,255,.02); }
.lb-load.mine { border-color: var(--accent-dim); }
.lb-load summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.lb-load summary::-webkit-details-marker { display: none; }
.lb-load summary:hover { background: rgba(255,255,255,.03); }
.lb-lname { font-weight: 800; font-size: 14px; }
.lb-ltime { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.lb-lcount { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.lb-lcount b { color: var(--accent); }
.lb-lchev { color: var(--muted); transition: transform .2s; display: inline-block; }
.lb-load[open] .lb-lchev { transform: rotate(90deg); color: var(--accent); }
.lb-load[open] summary { border-bottom: 1px solid var(--line); }
.lb-loadlist { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.lb-loadlist li { display: flex; align-items: center; gap: 9px; padding: 6px 9px; border-radius: 8px; font-size: 13.5px; }
.lb-loadlist li.me { background: rgba(56,225,255,.12); }
.lb-loadlist .jdot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.lb-loadlist .rn { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-loadlist .me-tag { font-size: 9px; font-weight: 800; letter-spacing: 1px; color: #04212a; background: var(--accent); padding: 2px 5px; border-radius: 5px; }
@media (max-width: 600px) { .lb-loadlist { grid-template-columns: 1fr; } }

@media (max-width: 720px) {
  .lb-hero { grid-template-columns: 1fr; }
  .lb-total { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 16px; }
  .lb-quick { grid-template-columns: repeat(2, 1fr); }
  .lb-grid { grid-template-columns: 1fr; }
}

/* ===================== DROPZONES ===================== */
.dz-wrap { max-width: 1040px; margin: 0 auto; padding: 20px 22px 44px; }
.dz-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.dz-title { font-size: 30px; font-weight: 800; margin: 0; }
.dz-sub { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.dz-pick { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.dz-pick select { padding: 10px 12px; border-radius: 11px; background: rgba(0,0,0,.35); border: 1px solid var(--line-strong); color: var(--text); font: inherit; min-width: 200px; }
.dz-pick select:focus { outline: none; border-color: var(--accent); }

.dz-totals { display: flex; gap: 16px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px 22px; backdrop-filter: blur(14px); margin-bottom: 18px; }
.dz-totals div { display: flex; flex-direction: column; gap: 2px; padding-right: 18px; border-right: 1px solid var(--line); }
.dz-totals div:last-child { border-right: none; }
.dz-totals b { font-size: 26px; font-weight: 800; color: var(--accent); }
.dz-totals span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

.dz-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 18px; }
.dz-card { text-align: left; cursor: pointer; background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; backdrop-filter: blur(14px); transition: border-color .2s, transform .15s; font: inherit; color: var(--text); }
.dz-card:hover { border-color: var(--accent-dim); transform: translateY(-2px); }
.dz-c-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dz-c-name { font-size: 16px; font-weight: 800; }
.dz-c-total { font-size: 22px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.dz-c-sub { color: var(--muted); font-size: 12.5px; margin: 4px 0 12px; }
.dz-detail-cta { margin-bottom: 16px; }
.dz-c-foot { display: flex; justify-content: flex-end; margin-top: 12px; }
.dz-watch { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  color: var(--accent); text-decoration: none; padding: 6px 11px; border-radius: 9px;
  border: 1px solid var(--accent-dim); background: rgba(56,225,255,.08); transition: background .15s; }
.dz-watch:hover { background: rgba(56,225,255,.18); }

.dz-days { display: flex; align-items: flex-end; gap: 6px; min-height: 70px; }
.dz-days.compact { min-height: 44px; gap: 3px; }
.dz-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.dz-dbar { width: 100%; max-width: 22px; height: 56px; display: flex; align-items: flex-end; background: rgba(255,255,255,.04); border-radius: 5px; overflow: hidden; }
.dz-days.compact .dz-dbar { height: 38px; max-width: 14px; }
.dz-dbar span { width: 100%; border-radius: 5px 5px 0 0; }
.dz-dl { font-size: 9px; color: var(--muted-2); white-space: nowrap; }

.dz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dz-none { color: var(--muted-2); font-size: 13px; padding: 8px 0; }

.dz-lb { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.dz-lb li { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.dz-lb li:last-child { border-bottom: none; }
.dz-rank { flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; font-size: 12px; font-weight: 800;
  color: var(--muted); background: rgba(255,255,255,.05); }
.dz-rank.top { color: #04212a; background: var(--accent); }
.dz-lname { flex: 1; font-weight: 600; }
.dz-ldz { color: var(--muted); font-size: 12px; }
.dz-ljumps { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; min-width: 40px; text-align: right; }

@media (max-width: 720px) { .dz-grid { grid-template-columns: 1fr; } }

/* ===================== SOCIAL SHELL (nav + tab bar + avatar) ===================== */
.muted { color: var(--muted); }

/* Authenticated top nav: links left of brand, avatar pinned right */
.nav-app-links a { position: relative; color: var(--muted); font-weight: 600; }
.nav-app-links a.active { color: var(--accent); }
.nav-app-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px;
  height: 2px; border-radius: 2px; background: var(--accent); }

.nav-avatar { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05);
  flex: 0 0 auto; }
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.av-fallback { font-weight: 800; color: var(--accent); font-size: 15px; }

/* Bottom tab bar — phone only (≤900px), Strava-style */
.tabbar { display: none; }
@media (max-width: 900px) {
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed;
    left: 0; right: 0; bottom: 0; z-index: 50;
    background: rgba(10,12,16,.97); border-top: 1px solid var(--line-strong);
    padding-bottom: env(safe-area-inset-bottom); }
  .tab { display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 8px 0 6px; font-size: 10.5px; letter-spacing: .2px; color: var(--muted); font-weight: 600; }
  .tab svg { width: 24px; height: 24px; }
  .tab.active { color: var(--accent); }
  .tab-av { width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
    display: grid; place-items: center; border: 1px solid var(--line-strong); }
  .tab-av.av-fallback { font-size: 12px; }
  .tab.active .tab-av { border-color: var(--accent); }
  /* The hidden top nav links on mobile are replaced by the tab bar; keep brand + avatar */
  .nav-app .nav-app-links { display: none; }
  /* The desktop "+ Add jump" pill is replaced by the bottom-bar center + on mobile */
  .nav-add { display: none; }
  /* Reserve room so fixed tab bar never covers page content/footer */
  body.is-auth { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  body.is-auth .foot { display: none; }
}

/* ===================== ACTIVITY FEED ===================== */
.feed-wrap { max-width: 640px; margin: 0 auto; padding: 18px 16px 40px; }
.feed-title { font-size: 26px; font-weight: 800; margin: 4px 0 16px; }
.feed-list { display: grid; gap: 14px; }
.feed-empty { background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 22px; text-align: center; backdrop-filter: blur(12px); }
.feed-empty p { margin: 0 0 8px; }
.feed-empty a { color: var(--accent); }
.feed-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 16px 4px; backdrop-filter: blur(12px); box-shadow: 0 6px 22px rgba(0,0,0,.16); }
.fc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fc-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fc-avs { display: flex; align-items: center; flex: 0 0 auto; }
.fc-avs .fc-av { margin-left: -12px; box-shadow: 0 0 0 2px var(--panel-solid); }
.fc-avs .fc-av:first-child { margin-left: 0; }
.fc-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); flex: 0 0 auto; }
.fc-av-fallback { font-weight: 800; color: var(--accent); }
.fc-whotext { min-width: 0; }
.fc-names { font-weight: 700; font-size: 15.5px; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-date { color: var(--muted); font-size: 12.5px; margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-loc { color: var(--muted); }
.fc-body { margin-top: 12px; }
.fc-summary { font-size: 15px; }
.fc-dz { color: var(--muted); font-size: 13px; margin-top: 4px; }
/* the day-post title (headline) */
.fc-caption { font-weight: 800; font-size: 17px; line-height: 1.3; margin-bottom: 8px;
  letter-spacing: -.01em; }
/* Strava-style stat strip: small uppercase label over a bold value */
.fc-stats { display: flex; align-items: stretch; gap: 20px; margin: 12px 0 2px; }
.fc-stat { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fc-stat + .fc-stat { border-left: 1px solid var(--line); padding-left: 20px; }
.fc-stat-l { font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--muted); }
.fc-stat-v { font-size: 17px; font-weight: 800; line-height: 1.15; }
.fc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.fc-chip { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--accent); border: 1px solid var(--accent-dim); background: rgba(56,225,255,.08); }
.fc-crew { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.fc-crew-l { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; margin-right: 4px; }
.fc-mate { color: var(--text); }
a.fc-mate:hover { color: var(--accent); }
/* Videos grouped by JUMP (load): a labelled block per jump, one 16:9 player, and a
   pill toggle to switch camera angles. Tap a clip to open it fullscreen (w/ sound).
   Media runs full-bleed edge-to-edge (the card clips it), Strava/Instagram style. */
.fc-jumps { display: grid; gap: 18px; margin: 12px -16px 0; }
.fc-jump-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  margin-bottom: 7px; padding: 0 16px; }
.fc-jump-load { font-weight: 700; font-size: 13.5px; }
.fc-jump-n { color: var(--accent); font-size: 12px; font-weight: 600; }
.fc-stage { position: relative; }
.fc-vid { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block;
  object-fit: cover; cursor: pointer; }
/* inline reel: angle videos crossfade over the preview, with the 👁 POV badge */
.fc-rvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  background: #000; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.fc-rvid.on { opacity: 1; z-index: 2; }
.fc-eye { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; align-items: center;
  background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  padding: 5px 11px; font-size: 13px; font-weight: 600; color: #fff; }
.fc-eye b { font-weight: 800; margin-left: 2px; }
.fc-jumpbar { display: flex; align-items: center; gap: 8px; margin-top: 9px; flex-wrap: wrap;
  padding: 0 16px; }
.fc-jumpbar .fc-angles { margin-top: 0; }
.fc-reel { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--accent); background: rgba(56,225,255,.12); color: var(--accent);
  font: 700 13px/1 var(--font); cursor: pointer; flex: 0 0 auto; }
.fc-reel.on { background: var(--accent); color: #04222b; }
.fc-save { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--text);
  font: 700 13px/1 var(--font); cursor: pointer; flex: 0 0 auto; }
.fc-save:hover { border-color: var(--accent-dim); background: rgba(255,255,255,.08); }
/* one edit menu per day-card, top-right of the header */
.fc-head-more { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px; border: none;
  background: none; color: var(--muted); font: 700 20px/1 var(--font); cursor: pointer; letter-spacing: 1px;
  display: inline-flex; align-items: center; justify-content: center; margin: -4px -6px 0 0; }
.fc-head-more:hover { color: var(--text); background: rgba(255,255,255,.06); }
/* per-video blocks in the edit sheet (a day with several of your clips) */
.pm-block-h { font-weight: 800; font-size: 13px; margin-bottom: 8px; color: var(--accent); }
.pm-sep { height: 1px; background: var(--line); margin: 16px 0; }

/* ⋯ edit-post sheet (reuses .share-overlay/.share-sheet) */
.pm-sheet { text-align: left; }
.pm-title { font-weight: 800; font-size: 17px; margin-bottom: 12px; text-align: center; }
.pm-cap-l, .pm-vis-l-head { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: 6px; display: block; }
.pm-vis-l-head { margin-top: 16px; }
.pm-cap { width: 100%; padding: 11px 13px; border-radius: 11px; background: rgba(0,0,0,.35);
  border: 1px solid var(--line-strong); color: var(--text); font: inherit; }
.pm-cap:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56,225,255,.16); }
.pm-cap-row { display: flex; justify-content: flex-end; margin-top: 8px; }
.pm-cap-save { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--accent); background: rgba(56,225,255,.14);
  color: var(--accent); font: 700 13px/1 var(--font); cursor: pointer; }
.pm-vis-list { display: flex; flex-direction: column; gap: 8px; }
.pm-vis { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  padding: 11px 13px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--text); cursor: pointer; transition: border-color .12s, background .12s; }
.pm-vis:hover { border-color: var(--accent-dim); }
.pm-vis.on { border-color: var(--accent); background: rgba(56,225,255,.12); }
.pm-vis-l { font-weight: 700; font-size: 14px; }
.pm-vis-s { font-size: 12px; color: var(--muted); }
/* ⋯ action list (each row opens its own focused popup) */
.pm-actions { display: flex; flex-direction: column; gap: 8px; }
.pm-action { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px;
  border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--text); font: 700 15px/1 var(--font); cursor: pointer; text-align: left;
  transition: border-color .12s, background .12s; }
.pm-action:hover { border-color: var(--accent-dim); background: rgba(56,225,255,.07); }
.pm-action-ic { font-size: 17px; width: 22px; text-align: center; }
.pm-action-go { margin-left: auto; color: var(--muted); font-weight: 800; }
.pm-action-del { color: #ff7676; }
.pm-action-del:hover { border-color: rgba(255,118,118,.4); background: rgba(255,118,118,.08); }
.pm-primary { width: 100%; margin-top: 12px; padding: 13px; border-radius: 12px; border: 1px solid var(--accent);
  background: var(--accent); color: #04222b; font: 800 15px/1 var(--font); cursor: pointer; }
.pm-primary:hover { filter: brightness(1.06); }
/* ---- Edit Post sheet (feed ⋯ → Edit post): post → jump drill-down ---- */
.ep-date { color: var(--muted); font-size: 13px; font-weight: 600; margin: -8px 0 14px; }
.ep-back { position: absolute; top: 14px; left: 14px; background: none; border: none;
  color: var(--accent); font: 700 14px/1 var(--font); cursor: pointer; padding: 6px 8px; }
.ep-jump-go { float: right; color: var(--muted); font-weight: 800; font-size: 16px; }
.ep-jumps { max-height: none; }
.ep-modal .up-title { margin-top: 6px; }
.ep-titlefield .aj-label { display: block; }
.ep-loadmeta { color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 6px; }
.ep-crew-l { font-size: 12px; color: var(--muted); font-weight: 700; margin: 10px 0 7px; }
.ep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ep-tile { position: relative; border-radius: 12px; overflow: hidden; background: #000;
  border: 1px solid var(--line); aspect-ratio: 1; }
.ep-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-tile-ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 26px;
  background: rgba(255,255,255,.04); }
.ep-kind { position: absolute; top: 6px; left: 6px; font-size: 12px; padding: 3px 7px;
  border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; }
.ep-del { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; cursor: pointer; }
.ep-del:hover { background: rgba(255,118,118,.85); }
.ep-del:disabled { opacity: .5; cursor: default; }
.ep-loadsel { position: absolute; left: 6px; right: 6px; bottom: 6px; width: calc(100% - 12px);
  font: 600 11px/1.2 var(--font); padding: 5px 6px; border-radius: 8px;
  background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.25); color: #fff; }
.ep-loadsel option { background: #16202b; color: #eaf2f8; }
.ep-addtile { display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; background: rgba(56,225,255,.06); border: 1.5px dashed var(--accent-dim);
  color: var(--accent); font: 700 11.5px/1.3 var(--font); cursor: pointer; text-align: center; }
.ep-addtile:hover { background: rgba(56,225,255,.12); border-color: var(--accent); }
.ep-add-plus { font-size: 24px; line-height: 1; }
.ep-logbook { display: inline-block; margin: 2px 0 10px; color: var(--muted); font-size: 12.5px;
  font-weight: 600; text-decoration: none; }
.ep-logbook:hover { color: var(--accent); }
.ep-save:disabled { opacity: .6; cursor: default; }

/* download picker rows in the ⋯ sheet */
.pm-dl-list { display: flex; flex-direction: column; gap: 8px; }
.pm-dl { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--text); cursor: pointer; transition: border-color .12s, background .12s; }
.pm-dl:hover { border-color: var(--accent-dim); background: rgba(56,225,255,.07); }
.pm-dl-t { font-weight: 700; font-size: 14px; }
.pm-dl-s { color: var(--muted); font-weight: 500; font-size: 12px; }
.pm-dl-ic { color: var(--accent); font-size: 17px; }
.pm-del { width: 100%; margin-top: 16px; padding: 12px; border-radius: 12px; background: rgba(255,118,118,.1);
  border: 1px solid rgba(255,118,118,.4); color: #ff7676; font: 700 14px/1 var(--font); cursor: pointer; }
.pm-cancel { width: 100%; margin-top: 8px; padding: 11px; border-radius: 12px; background: rgba(255,255,255,.06);
  border: 1px solid var(--line-strong); color: var(--text); font-weight: 700; cursor: pointer; }

/* Save / Share reel bottom-sheet (reuses .share-overlay/.share-sheet) */
.reel-sheet { text-align: center; }
.rs-grip { width: 40px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.18); margin: 0 auto 14px; }
.rs-title { font-weight: 800; font-size: 17px; }
.rs-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.rs-formats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 6px; }
.rs-fmt { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 16px; cursor: pointer;
  color: var(--text); transition: border-color .12s, background .12s, transform .12s; }
.rs-fmt:hover { border-color: var(--accent); background: rgba(56,225,255,.08); transform: translateY(-2px); }
.rs-ar { display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid var(--line-strong);
  color: var(--accent); font: 800 11px/1 var(--font); }
.rs-ar-h { width: 64px; height: 36px; border-radius: 7px; }
.rs-ar-v { width: 36px; height: 64px; border-radius: 7px; }
.rs-fmt-t { font-weight: 800; font-size: 15px; }
.rs-fmt-s { color: var(--muted); font-size: 11.5px; }
.rs-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; margin: 22px 0 12px; }
.rs-bar { height: 100%; width: 5%; border-radius: 999px; background: var(--accent); transition: width .4s ease; }
.rs-plabel { font-weight: 700; font-size: 14px; }
.rs-tip { margin-top: 8px; }
.rs-preview { display: block; margin: 14px auto 4px; border-radius: 14px; background: #000; border: 1px solid var(--line);
  max-width: 100%; }
.rs-preview.h { width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.rs-preview.v { height: 300px; aspect-ratio: 9/16; object-fit: contain; }
.rs-actions { display: flex; gap: 10px; margin-top: 14px; }
.rs-act { flex: 1; padding: 13px; border-radius: 12px; border: 1px solid var(--accent); background: var(--accent);
  color: #04222b; font: 800 15px/1 var(--font); cursor: pointer; }
.rs-act.ghost { background: rgba(255,255,255,.05); border-color: var(--line-strong); color: var(--text); }
.rs-act:disabled { opacity: .6; cursor: default; }
.rs-link { margin-top: 12px; background: none; border: 0; color: var(--accent); font: 700 13px/1 var(--font); cursor: pointer; }
.rs-cancel { width: 100%; margin-top: 12px; padding: 11px; border-radius: 12px; background: rgba(255,255,255,.06);
  border: 1px solid var(--line-strong); color: var(--text); font-weight: 700; cursor: pointer; }
.rs-cancel:hover { background: rgba(255,255,255,.1); }
.fc-angles { display: flex; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.fc-angle { display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border-radius: 999px;
  font: 700 13px/1 var(--font); cursor: pointer; background: rgba(255,255,255,.05);
  border: 1px solid var(--line-strong); color: var(--muted); transition: background .12s, color .12s, border-color .12s; }
.fc-angle::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .55; }
.fc-angle:hover { color: var(--text); }
.fc-angle.on { background: var(--accent); color: #04222b; border-color: var(--accent); }
.fc-angle.on::before { opacity: 1; }
.feed-card { overflow: hidden; }

/* ---- photo attachments: full-bleed grid on the card + lightbox ---- */
.fc-photos { display: grid; gap: 3px; margin: 12px -16px 0; }
.fc-ph { position: relative; display: block; padding: 0; border: 0; background: #000;
  cursor: pointer; overflow: hidden; }
.fc-ph img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.fc-photos.n1 .fc-ph img { aspect-ratio: auto; max-height: 520px; }
.fc-photos.n2, .fc-photos.n4 { grid-template-columns: 1fr 1fr; }
.fc-photos.n3 { grid-template-columns: repeat(3, 1fr); }
.fc-ph-more { position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.55); color: #fff; font: 800 22px/1 var(--font); }
.fc-lb { position: fixed; inset: 0; z-index: 1200; background: rgba(0,0,0,.95);
  display: grid; place-items: center; }
.fc-lb-img { max-width: 100vw; max-height: 94vh; object-fit: contain; }
.fc-lb-x { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 12px;
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12);
  color: #fff; font-size: 17px; line-height: 1; cursor: pointer; z-index: 2; }
.fc-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px;
  border: 0; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff;
  font-size: 30px; line-height: 1; cursor: pointer; z-index: 2; }
.fc-lb-nav.prev { left: 8px; }
.fc-lb-nav.next { right: 8px; }
.fc-lb-nav:hover { background: rgba(255,255,255,.18); }
.fc-lb-n { position: absolute; bottom: calc(14px + env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums; }

/* like (left) · comment (centre) · share (right) — three even, centred columns.
   Full-bleed divider so the bar reads as the card's footer. */
.fc-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px;
  padding: 6px 8px 4px; margin: 14px -16px 0; border-top: 1px solid var(--line); }
.fc-act { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 8px; border-radius: 12px; background: none; border: none; color: var(--muted);
  font: 700 14.5px/1 var(--font); cursor: pointer; transition: background .12s, color .12s; }
.fc-act svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fc-act:hover { color: var(--text); background: rgba(255,255,255,.05); }
.fc-act:active { transform: scale(.96); }
.fc-like.on { color: var(--exit); }
.fc-like.on svg { fill: var(--exit); stroke: var(--exit); }

/* share menu (desktop / no native sheet) + copy toast */
.share-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: end center;
  background: rgba(0,0,0,.55); opacity: 0; transition: opacity .18s; }
.share-overlay.on { opacity: 1; }
.share-sheet { width: 100%; max-width: 460px; margin: 0 12px 12px; background: var(--panel-solid, #11151c);
  border: 1px solid var(--line-strong); border-radius: 18px; padding: 18px 18px 14px;
  transform: translateY(14px); transition: transform .2s; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.share-overlay.on .share-sheet { transform: none; }
@media (min-width: 640px) { .share-overlay { place-items: center; } .share-sheet { margin: 0; } }
.share-head { font-weight: 800; font-size: 16px; margin-bottom: 14px; text-align: center; }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.share-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px;
  color: var(--text); font: 600 12.5px/1 var(--font); cursor: pointer; transition: border-color .12s, background .12s; }
.share-opt:hover { border-color: var(--accent-dim); background: rgba(255,255,255,.07); }
.share-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.06); }
.share-ic svg { width: 24px; height: 24px; }
.share-ic-facebook { background: #1877f2; color: #fff; }
.share-ic-x { background: #000; color: #fff; }
.share-ic-whatsapp { background: #25d366; color: #fff; }
.share-ic-telegram { background: #2aabee; color: #fff; }
.share-ic-instagram { background: linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5); color: #fff; }
.share-ic-copy { background: rgba(255,255,255,.1); color: var(--text); }
.share-close { width: 100%; margin-top: 14px; padding: 11px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-strong); color: var(--text);
  font-weight: 700; cursor: pointer; }
.share-close:hover { background: rgba(255,255,255,.1); }
.feed-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 12px);
  z-index: 1100; background: #11151c; border: 1px solid var(--line-strong); color: var(--text);
  padding: 11px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; max-width: 90vw;
  text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.feed-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* pick-a-jump sheet (a day with several jumps → choose which to share) */
.jp-list { display: grid; gap: 8px; }
.jp-row { display: flex; align-items: center; gap: 12px; padding: 9px; text-align: left;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); cursor: pointer; transition: border-color .12s, background .12s; }
.jp-row:hover { border-color: var(--accent-dim); background: rgba(255,255,255,.07); }
.jp-thumb { width: 72px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 auto;
  background: #000; border: 1px solid var(--line); }
.jp-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.jp-meta b { font-size: 15px; font-weight: 700; }
.jp-sub { color: var(--muted); font-size: 12.5px; }
.jp-go { color: var(--accent); font-size: 18px; flex: 0 0 auto; }

/* select-jumps sheet (whole day pre-checked, untick to drop a jump) */
.jps-sub { color: var(--muted); font-size: 12.5px; margin: -6px 2px 12px; text-align: center; }
.jps-row { display: flex; align-items: center; gap: 12px; padding: 9px; cursor: pointer; margin-bottom: 8px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; }
.jps-cb { width: 20px; height: 20px; accent-color: var(--accent); flex: 0 0 auto; cursor: pointer; }
.jps-tick { margin-left: auto; color: var(--accent); opacity: 0; font-weight: 800; flex: 0 0 auto; }
.jps-row:has(.jps-cb:checked) { border-color: var(--accent-dim); background: rgba(56,225,255,.06); }
.jps-row:has(.jps-cb:checked) .jps-tick { opacity: 1; }
.jps-share { width: 100%; margin-top: 6px; padding: 12px; }
.jps-share:disabled { opacity: .5; cursor: default; }
.fc-comments { padding: 2px 16px 14px; }
.fc-c { display: flex; align-items: flex-start; gap: 9px; padding: 7px 0; }
.fc-c-av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); font-size: 12px; }
.fc-c-body { flex: 1; font-size: 14px; line-height: 1.4; }
.fc-c-when { color: var(--muted); font-size: 12px; margin-left: 4px; }
.fc-cdel { background: none; border: none; color: var(--muted-2); font-size: 17px; cursor: pointer; line-height: 1; }
.fc-cdel:hover { color: var(--exit); }
.fc-compose { display: flex; gap: 8px; margin-top: 8px; }
.fc-cinput { flex: 1; min-width: 0; padding: 9px 13px; border-radius: 999px; background: rgba(0,0,0,.35);
  border: 1px solid var(--line-strong); color: var(--text); font: inherit; }
.fc-cinput:focus { outline: none; border-color: var(--accent); }
.fc-csend { padding: 8px 16px; font-size: 13px; flex: 0 0 auto; }
.fc-c-load { padding: 8px 0; }
.fc-like-n { cursor: pointer; }
.fc-likers-hd { font-weight: 700; font-size: 15px; padding: 2px 2px 8px; }
.fc-likers { max-height: 50vh; overflow-y: auto; }
.fc-liker { display: flex; align-items: center; gap: 10px; padding: 8px 2px; color: var(--text);
  text-decoration: none; font-size: 14px; }
.fc-liker:hover { color: var(--accent); }

/* ---- global jumper search (icon in the top bar, left of the avatar) ---- */
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-right .nav-avatar { margin-left: 0; }
.nav-iconbtn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); color: var(--text);
  cursor: pointer; flex: 0 0 auto; }
.nav-iconbtn:hover { border-color: var(--accent-dim); color: var(--accent); }
.nav-iconbtn svg { width: 19px; height: 19px; }
.nav-iconbtn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }

.nav-search-panel { position: absolute; top: calc(100% + 8px); right: 16px; z-index: 60;
  width: min(380px, calc(100vw - 24px));
  background: rgba(14,17,23,.99); border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.6); }

.people-search { position: relative; }
.people-search .ps-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.people-search input { width: 100%; padding: 11px 14px 11px 40px; border-radius: 11px;
  background: rgba(0,0,0,.35); border: 1px solid var(--line-strong); color: var(--text); font: inherit; }
.people-search input:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56,225,255,.16); }
.people-results { margin-top: 8px; max-height: 60vh; overflow: auto; }
.ps-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-bottom: 1px solid var(--line); }
.ps-row:last-child { border-bottom: none; }
.ps-who { display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; }
.ps-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); }
.ps-text { display: flex; flex-direction: column; min-width: 0; }
.ps-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-sub { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-conn { flex: 0 0 auto; padding: 8px 14px; font-size: 13px; min-width: 96px; }
.ps-none { padding: 16px; text-align: center; }

/* ---- notification bell badge ---- */
.nav-bell { position: relative; }
.nav-badge { position: absolute; top: -3px; right: -3px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--exit); color: #fff; font-size: 10px; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--bg); }

/* ---- connections + notifications pages ---- */
.conn-wrap { max-width: 640px; margin: 0 auto; padding: 18px 16px 40px; }
.conn-title { font-size: 24px; font-weight: 800; margin: 4px 0 14px; }
.conn-h2 { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted);
  margin: 22px 0 10px; font-weight: 700; }
.conn-row, .notif-row { display: flex; align-items: center; gap: 12px; padding: 11px 6px;
  border-bottom: 1px solid var(--line); }
.conn-row:last-child, .notif-row:last-child { border-bottom: none; }
.conn-who, .notif-who { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.conn-av, .notif-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); }
.conn-name { font-weight: 700; }
.conn-btn { min-width: 104px; padding: 8px 14px; font-size: 13px; }
.conn-empty { padding: 22px; text-align: center; }
.prof-statlink { color: inherit; }
.prof-statlink:hover { color: var(--accent); }
.notif-text { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.notif-when { font-size: 12px; color: var(--muted); }
.notif-row.unread { background: rgba(56,225,255,.06); border-radius: 10px; }

/* ===================== UNIFIED MAP PAGE (2D/3D toggle over iframes) ========= */
body.map-page .page { display: flex; flex-direction: column; padding: 0; }
.map-stage { position: relative; flex: 1 1 auto; min-height: 0; }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-frame.hidden { display: none; }
.map-toggle { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; border-radius: 999px; overflow: hidden; border: 1px solid var(--line-strong);
  background: rgba(10,12,16,.82); backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.map-toggle button { padding: 8px 20px; font: 700 13px/1 var(--font); letter-spacing: .5px;
  color: var(--muted); background: none; border: none; cursor: pointer; }
.map-toggle button.active { background: var(--accent); color: #04212a; }
/* On desktop the map fills below the sticky nav; the footer drops below the fold. */
body.map-page .foot { display: none; }

/* ===================== SETTINGS: profile form ===================== */
.profile-form .field { margin-bottom: 16px; }
.profile-form input[type="text"], .profile-form input[type="file"] {
  width: 100%; padding: 11px 13px; border-radius: 11px; background: rgba(0,0,0,.35);
  border: 1px solid var(--line-strong); color: var(--text); font: inherit; }
.profile-form input[type="text"]:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56,225,255,.16); }
.profile-form input[type="file"] { padding: 9px 12px; font-size: 13px; color: var(--muted); }
.avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.avatar-preview { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); }
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-preview .av-fallback { font-size: 28px; }

/* avatar cropper */
.av-card { max-width: 360px; text-align: center; }
.av-stage { position: relative; width: 300px; height: 300px; max-width: calc(100vw - 80px); aspect-ratio: 1;
  margin: 8px auto 18px; overflow: hidden; touch-action: none; }
.av-stage canvas { display: block; cursor: grab; }
.av-stage canvas:active { cursor: grabbing; }
.av-ring { position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 2000px rgba(10,12,16,.62); border: 2px solid rgba(255,255,255,.55); }
.av-zoom { width: 100%; accent-color: var(--accent); margin: 0 0 18px; }

/* ===================== USER UPLOAD (logbook) ===================== */
/* Per-jump "+ Add your video" button on a load you were on. */
.lb-upload { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  margin: 12px 0; padding: 14px; border-radius: 13px; font: 800 14.5px/1 var(--font); cursor: pointer;
  color: var(--accent); border: 1.5px dashed var(--accent-dim); background: rgba(56,225,255,.08);
  transition: background .12s, border-color .12s, transform .08s; }
.lb-upload:hover { background: rgba(56,225,255,.15); border-color: var(--accent); }
.lb-upload:active { transform: scale(.99); }
.lb-upload-ic { font-size: 17px; }
/* quieter once a clip is already attached (adding another camera angle) */
.lb-upload-more { margin: 8px 0 4px; padding: 10px; font-size: 13px; font-weight: 700;
  border-style: solid; border-color: var(--line-strong); color: var(--muted); background: rgba(255,255,255,.03); }
.lb-upload-more:hover { color: var(--accent); border-color: var(--accent-dim); background: rgba(56,225,255,.08); }
.lb-upload-more .lb-upload-ic { font-size: 15px; }

.up-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: end center;
  background: rgba(0,0,0,.66); backdrop-filter: blur(3px); }
.up-modal[hidden] { display: none; }
.up-card { position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow: auto;
  -webkit-overflow-scrolling: touch; background: var(--panel-solid); border: 1px solid var(--line-strong);
  border-radius: 20px 20px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 60px rgba(0,0,0,.6); }
@media (min-width: 560px) { .up-modal { place-items: center; padding: 16px; }
  .up-card { border-radius: 20px; } }
.up-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-strong);
  color: var(--muted); font-size: 16px; cursor: pointer; }
.up-title { margin: 0 4px 4px 0; font-size: 20px; font-weight: 800; }
/* context: which jump / roster am I uploading to (always visible) */
.up-context { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.up-ctx-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.up-ctx-t { font-weight: 800; font-size: 16px; margin-top: 6px; }
.up-ctx-s { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.up-ctx-roster { display: flex; align-items: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.up-who { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.06);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 3px; font-size: 12.5px; }
.up-who.me { border-color: var(--accent); background: rgba(56,225,255,.12); }
.up-av { width: 21px; height: 21px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 700; color: #04222b; background: #9fe9f2; }
.up-ctx-chg { color: var(--accent); font-size: 12.5px; background: none; border: 0; font: inherit;
  cursor: pointer; margin-left: 2px; padding: 4px; }

.up-sub { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; }
.up-pick { margin-bottom: 12px; cursor: pointer; }
.up-vid { width: 100%; max-height: 42vh; border-radius: 12px; background: #000; margin: 0 0 12px;
  display: block; cursor: pointer; }
.up-vid[hidden] { display: none; }
.up-img { object-fit: contain; cursor: default; }

/* the one bar: trim handles + draggable exit marker on the same track */
.up-editor { margin-bottom: 4px; }
.up-editor[hidden] { display: none; }
.up-readout { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 14px;
  font-variant-numeric: tabular-nums; color: var(--muted); }
.up-readout b { color: var(--accent); }
.up-ro-exit b { color: #ffd24a; }
.up-track { position: relative; height: 54px; border-radius: 12px; touch-action: none;
  background: repeating-linear-gradient(90deg,#1c2330 0 2px,#222b3a 2px 26px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset; margin-top: 22px; }
.up-mask { position: absolute; top: 0; bottom: 0; background: rgba(5,7,11,.72); pointer-events: none; }
.up-maskL { left: 0; border-radius: 12px 0 0 12px; }
.up-maskR { right: 0; border-radius: 0 12px 12px 0; }
.up-sel { position: absolute; top: 0; bottom: 0; pointer-events: none;
  border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }
.up-playhead { position: absolute; top: -3px; bottom: -3px; width: 2px; background: rgba(255,255,255,.85);
  pointer-events: none; z-index: 2; }
.up-handle { position: absolute; top: -3px; bottom: -3px; width: 20px; transform: translateX(-50%);
  background: var(--accent); border-radius: 7px; cursor: ew-resize; touch-action: none; z-index: 3;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.up-handle::before { content: ""; width: 3px; height: 20px; border-radius: 2px; background: rgba(4,34,43,.55); }
.up-exitm { position: absolute; top: -22px; bottom: -3px; width: 2px; background: #ffd24a;
  cursor: grab; touch-action: none; z-index: 4; }
.up-flag { position: absolute; top: -2px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: #ffd24a; color: #3a2c00; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 8px; }
.up-flag::after { content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%);
  border: 4px solid transparent; border-top-color: #ffd24a; }
.up-hints { display: flex; gap: 14px; margin-top: 14px; font-size: 11.5px; color: var(--muted); }
.up-hints span { display: inline-flex; align-items: center; gap: 6px; }
.up-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.up-dot-a { background: var(--accent); }
.up-dot-e { background: #ffd24a; }

/* "who filmed this?" chips (mirrors the add-jump flow) */
.up-filmer-wrap { margin: 14px 0 4px; }
.up-filmer-wrap[hidden] { display: none; }
.up-filmer-q { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.up-filmer-q .up-opt { font-weight: 500; color: var(--muted); }
.up-filmer { display: flex; flex-wrap: wrap; gap: 8px; }
.up-chip { font: inherit; font-size: 13px; padding: 8px 14px; cursor: pointer; color: #cfe7f2;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 20px;
  -webkit-tap-highlight-color: transparent; transition: background .12s, border-color .12s, color .12s; }
.up-chip.on { background: rgba(56,225,255,.16); border-color: var(--accent); color: #eafaff; font-weight: 700; }
.up-nocrew { font-size: 12.5px; color: var(--muted); }
.up-titlefield { display: block; margin: 14px 0; }
.up-titlefield span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.up-titlefield input { width: 100%; padding: 11px 13px; border-radius: 11px; background: rgba(0,0,0,.35);
  border: 1px solid var(--line-strong); color: var(--text); font: inherit; }
.up-titlefield input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56,225,255,.16); }
.up-progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin: 4px 0 8px; }
.up-bar { height: 100%; width: 0; background: var(--accent); transition: width .2s ease; }
.up-msg { font-size: 13px; color: var(--muted); min-height: 18px; margin-bottom: 10px; }

/* ===================== ADD JUMP (center + button + flow) ===================== */
/* Desktop "+ Add jump" button in the top bar */
.nav-add { padding: 9px 15px; font-size: 14px; flex: 0 0 auto; }
/* Center button in the bottom tab bar (mobile) — small, raised, centred */
.tab-add { background: none; border: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.tab-add-circle { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  margin-top: -3px; color: #042027; background: linear-gradient(180deg, #54e7ff, #25c8e6);
  box-shadow: 0 4px 12px rgba(56,225,255,.4); border: 2px solid var(--bg); }
.tab-add-circle svg { width: 19px; height: 19px; }

.aj-card { max-width: 480px; }
.aj-section { margin: 16px 0; }
.aj-label { font-size: 13px; font-weight: 700; margin-bottom: 9px; }
.aj-opt { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 4px; }
.aj-jumps { display: grid; gap: 8px; max-height: 220px; overflow: auto; }
.aj-jump { text-align: left; display: flex; flex-direction: column; gap: 3px; padding: 11px 13px;
  border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03);
  cursor: pointer; color: var(--text); }
.aj-jump.on { border-color: var(--accent); background: rgba(56,225,255,.10); }
.aj-jump-main { font-size: 14.5px; }
.aj-jump-sub { font-size: 12.5px; color: var(--muted); }
.aj-logged { color: var(--accent); font-weight: 700; }
.aj-empty, .aj-loading { padding: 16px; text-align: center; font-size: 13.5px; }
.aj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aj-chip { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04); color: var(--text); font: 600 13.5px/1 var(--font); cursor: pointer; }
.aj-chip.on { border-color: var(--accent); background: rgba(56,225,255,.16); color: var(--accent); }
.aj-hint { font-size: 12.5px; margin-top: 8px; }
.aj-nocrew { font-size: 13px; }

/* ===================== PROFILE ===================== */
.prof-wrap { max-width: 760px; margin: 0 auto; padding: 18px 16px 40px; }
.prof-head { display: flex; align-items: center; gap: 18px; padding: 6px 2px 20px; flex-wrap: wrap; }
.prof-av { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); }
.prof-av img { width: 100%; height: 100%; object-fit: cover; }
.prof-av .av-fallback { font-size: 34px; }
.prof-main { flex: 1 1 220px; min-width: 0; }
.prof-name { font-size: 24px; font-weight: 800; margin: 0; }
.prof-handle { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.prof-bio { margin: 8px 0 0; font-size: 14.5px; color: var(--text); }
.prof-stats { display: flex; gap: 18px; margin-top: 12px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.prof-stats b { color: var(--text); }
.prof-action { flex: 0 0 auto; }
.prof-action .btn { min-width: 116px; }

.prof-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; margin-bottom: 14px; backdrop-filter: blur(12px); }
.prof-card h2 { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted);
  margin: 0 0 12px; font-weight: 700; }
.prof-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prof-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04); font-size: 13.5px; }
.prof-chip b { color: var(--accent); margin-left: 4px; }
.prof-list { list-style: none; margin: 0; padding: 0; }
.prof-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.prof-list li:last-child { border-bottom: none; }
.prof-li-n { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.prof-empty { background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 22px; text-align: center; backdrop-filter: blur(12px); }
.prof-empty p { margin: 0 0 8px; }
