/* Pheasant Nation — colors matched to pheasantnation.com
   Black header bands (#161616), sienna accent (#a0522d), white pages, dark slate subheads (#2f4f4f). */
:root {
  --bg: #ffffff;
  --dark: #161616;                /* header / dark sections */
  --on-dark: #f7f7f7;
  --on-dark-muted: #a6a6a6;
  --surface: #ffffff;
  --surface-alt: #faf6f4;
  --line: #e7dfda;
  --line-strong: #a0522d;
  --text: #1b1b1b;                /* strong text */
  --body: #5a5a5a;                /* paragraph grey */
  --muted: #767676;
  --slate: #2f4f4f;               /* sub-headings */
  --accent: #a0522d;              /* sienna */
  --accent-dark: #86431f;
  --accent-tint: #f6ebe5;
  --accent-ink: #ffffff;          /* text on sienna buttons */
  --danger: #a23b2a;
  --danger-bg: #fbe9e5;
  --ok: #3f6128;
  --ok-bg: #e9f1e1;
  --radius: 6px;                  /* the site uses nearly square corners */
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06);
  --tabs-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --banner-img: url("media/brand-banner.jpg");
  /* Fonts matched to pheasantnation.com */
  --font-head: "Cinzel", "Trajan Pro", Georgia, serif;             /* section headings (engraved small caps) */
  --font-brand: "Montserrat", "Helvetica Neue", Arial, sans-serif; /* PHEASANT NATION wordmark */
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif; /* text, nav, buttons */
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--bg); color-scheme: light; }
body {
  background: var(--bg);
  color: var(--body);
  font: 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .4em; color: var(--accent); font-weight: 400; letter-spacing: .02em; }
h3 { font-family: var(--font-body); line-height: 1.25; margin: 0 0 .4em; color: var(--slate); font-weight: 600; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 .8em; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
::selection { background: var(--accent); color: #fff; }

/* Full-width dark band (like the site's header and dark sections), even inside the centered column */
.band { background: var(--dark); box-shadow: 0 0 0 100vmax var(--dark); clip-path: inset(0 -100vmax); }

/* Section title: centered sienna heading with a short grey rule under it, like the website */
.rule-title {
  font-family: var(--font-head); font-weight: 400; font-size: 1.35rem; text-align: center;
  color: var(--accent); margin: 0 0 18px; letter-spacing: .03em;
}
.rule-title::after { content: ""; display: block; width: 64px; height: 2px; background: #d9d9d9; margin: 14px auto 0; }

/* ---------- intro video ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: #000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1.1s ease;
}
.intro video { width: 100%; height: 100%; object-fit: cover; }
.intro.fade { opacity: 0; pointer-events: none; }
.intro.gone { display: none; }
.skip {
  position: absolute; right: 16px; bottom: calc(24px + var(--safe-b));
  background: rgba(0,0,0,.5); color: #fff; border: 1px solid rgba(255,255,255,.6);
  border-radius: 4px; padding: 8px 18px; font: 600 14px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  backdrop-filter: blur(4px);
}

/* ---------- layout ---------- */
.demo-banner {
  background: var(--accent-tint); color: var(--accent-dark); font-size: 14px; text-align: center;
  padding: 6px 16px; font-weight: 600;
}
.app { max-width: 760px; margin: 0 auto; padding: 0 16px calc(var(--tabs-h) + 64px + var(--safe-b)); outline: none; }
.app.no-tabs { padding-bottom: 40px; }
.section { margin: 28px 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* ---------- hero ---------- */
/* Photo banner (member home, and the welcome page when your intro-video still is present) */
.hero {
  position: relative; margin: 0 -16px; min-height: 340px;
  display: flex; align-items: flex-end; color: #fff;
  background:
    linear-gradient(180deg, rgba(22,22,22,0) 35%, rgba(22,22,22,.82) 100%),
    var(--hero-img, var(--banner-img));
  background-size: cover; background-position: 50% 30%;
}
.hero-inner { padding: 24px 20px 18px; width: 100%; }
.hero h1 { color: #fff; font-size: 2.2rem; margin-bottom: .15em; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero .tag { font-size: 15px; color: var(--on-dark); margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,.7); }

/* Welcome page: round medallion on a dark band */
.hero.medallion {
  background: var(--dark); box-shadow: 0 0 0 100vmax var(--dark); clip-path: inset(0 -100vmax);
  margin: 0; min-height: 0; flex-direction: column; align-items: center; text-align: center;
  padding: 30px 0 26px;
}
.hero.medallion .hero-inner { padding: 20px 16px 0; }
.hero.medallion h1 {
  font-family: var(--font-brand); font-weight: 700; font-size: clamp(1.4rem, 6vw, 2.5rem); text-transform: uppercase;
  letter-spacing: .18em; color: var(--accent); text-shadow: none;
}
.hero.medallion .tag { color: var(--on-dark-muted); text-shadow: none; }
.medallion-img {
  width: min(74vw, 340px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; display: block;
  box-shadow: 0 0 0 3px var(--accent), 0 0 0 8px var(--dark), 0 0 0 9px rgba(160,82,45,.6), 0 20px 50px rgba(0,0,0,.5);
}
.hero:not(.medallion) .medallion-img { display: none; }

.badge {
  display: inline-block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark); padding: 5px 0; font-weight: 600; margin-bottom: 8px;
  border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent);
}
.hero:not(.medallion) .badge { background: rgba(22,22,22,.6); padding: 4px 10px; border: 1px solid var(--accent); border-radius: 3px; }

/* Header band: black with the sienna wordmark, like the website */
.topbar {
  display: flex; align-items: center; gap: 10px; padding: 14px 0; margin-bottom: 12px;
  background: var(--dark); box-shadow: 0 0 0 100vmax var(--dark); clip-path: inset(0 -100vmax);
}
.topbar .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-brand); font-weight: 700; color: var(--accent); font-size: 15px;
  text-decoration: none; text-transform: uppercase; letter-spacing: .18em;
}
.topbar .brand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 2px var(--accent); }

/* ---------- cards & buttons ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; margin: 12px 0;
}
.card .date { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; font-weight: 700; }
.card .body > :last-child { margin-bottom: 0; }
.card .body a { color: var(--accent); }
.card img { border-radius: 3px; margin: 6px 0 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 20px; border-radius: 4px; border: 0; cursor: pointer;
  font: 700 15px/1.2 var(--font-body); text-decoration: none; letter-spacing: .12em; text-transform: uppercase; text-align: center;
  background: var(--accent); color: var(--accent-ink); width: 100%;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
/* White button with the offset dark shadow used on the website */
.btn.secondary { background: #fff; color: var(--dark); border: 1px solid var(--dark); box-shadow: 4px 4px 0 var(--dark); }
.btn.secondary:hover { background: #f4f4f4; }
.btn.ghost { background: transparent; color: var(--muted); width: auto; min-height: 40px; box-shadow: none; border: 0; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.stack > * + * { margin-top: 12px; }

/* plans */
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; text-align: center; position: relative; margin: 0; }
.plan h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: 1.1rem; color: var(--accent); font-weight: 600; }
.plan.featured { border: 2px solid var(--accent); }
.plan-img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #161616; border-radius: 4px; margin-bottom: 12px; }
.plan .ribbon { z-index: 1;
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 3px;
  white-space: nowrap; letter-spacing: .12em; text-transform: uppercase;
}
.plan .price { font-family: var(--font-head); font-size: 2.1rem; color: var(--text); font-weight: 700; }
.plan .per { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.plan .note { font-size: 14px; color: var(--slate); font-weight: 700; min-height: 1.4em; margin-bottom: 12px; }
.plan .btn { margin-top: auto; }

/* status */
.status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 3px; letter-spacing: .06em; text-transform: uppercase; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.bad { background: var(--danger-bg); color: var(--danger); }
.pill.neutral { background: #eeeeee; color: #555; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; margin: 10px 0 0; }
.kv dt { color: var(--muted); white-space: nowrap; }
.kv dd { margin: 0; font-weight: 600; color: var(--text); text-align: right; overflow-wrap: anywhere; }

/* locked content */
.locked { text-align: center; padding: 28px 18px; }
.locked .icon { font-size: 30px; margin-bottom: 6px; }

.notice { background: var(--accent-tint); border: 1px solid #e6cfc2; border-radius: var(--radius); padding: 12px 14px; font-size: 15px; color: var(--accent-dark); }
.error { background: var(--danger-bg); border: 1px solid #efc3b9; color: var(--danger); border-radius: var(--radius); padding: 12px 14px; font-size: 15px; }

/* forms (admin preview) */
label { display: block; font-weight: 600; margin: 12px 0 4px; color: var(--slate); }
input, textarea, select {
  width: 100%; font: inherit; padding: 12px; border: 1px solid #cfcfcf; border-radius: 4px;
  background: #fff; color: var(--text);
}
textarea { min-height: 110px; resize: vertical; }
ol b, p b { color: var(--text); }

/* tabs: black bar like the website's menu */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: space-around; background: var(--dark);
  padding-bottom: var(--safe-b);
}
.tabs[hidden] { display: none; }
.tabs a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: var(--tabs-h); font-size: 10.5px; font-weight: 600; color: var(--on-dark-muted); text-decoration: none; text-transform: uppercase;
  letter-spacing: .08em; border-top: 3px solid transparent;
}
.tabs a .ti { font-size: 20px; line-height: 1.1; }
.tabs a.active { color: #fff; font-weight: 700; border-top-color: var(--accent); }

.footer { text-align: center; font-size: 13px; color: var(--muted); margin: 40px 0 8px; }
.footer .motto { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 6px; }
.footer a { color: var(--muted); }

.spinner { width: 28px; height: 28px; border: 3px solid #eadcd4; border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabs-h) + 16px + var(--safe-b)); transform: translateX(-50%) translateY(20px);
  background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 4px; font-size: 15px;
  opacity: 0; transition: .25s; pointer-events: none; z-index: 50; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.fade-in { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- pheasant page transition ---------- */
.pn-ghost {
  position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 15; overflow: hidden; pointer-events: none;
  background: var(--bg);
}
.pn-ghost > .app { position: absolute; left: 0; right: 0; margin: 0 auto; }
.pn-bird {
  position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; will-change: transform;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.45));
}
.pn-bird svg, .pn-bird img { display: block; width: 100%; height: auto; }
/* Wingbeat modeled on the flushing rooster: wings thrown straight up over the back into a deep V,
   then a fast, full downstroke below the body. Quick, powerful, no gliding. */
.pn-wing { transform-box: view-box; transform-origin: 228px 104px; animation: pnFlap .13s linear infinite; }
.pn-wing.far { animation-delay: -.018s; }
@keyframes pnFlap {
  0%   { transform: rotate(24deg) scaleY(1.12); animation-timing-function: cubic-bezier(.5,0,.9,.6); }  /* top of stroke */
  42%  { transform: rotate(-12deg) scaleY(-.95); animation-timing-function: cubic-bezier(.2,.4,.6,1); } /* bottom: fast downstroke */
  100% { transform: rotate(24deg) scaleY(1.12); }                                                    /* slower recovery */
}
/* Photo pheasant: wings hinge at the shoulder and beat by swinging forward and foreshortening,
   the way a real wing looks from below — fast, full downstroke, slightly slower recovery. */
.pn-photo { position: relative; width: 100%; aspect-ratio: 644 / 504; --beat: .15s; }
.pn-photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pn-photo .wing { will-change: transform; animation-duration: var(--beat); animation-iteration-count: infinite; animation-timing-function: linear; }
.pn-photo .far  { transform-origin: 63.15% 44.31%; animation-name: pnFarBeat; animation-delay: calc(var(--beat) * -.06); }
.pn-photo .near { transform-origin: 67.29% 53.57%; animation-name: pnNearBeat; }
.pn-photo .body { transform-origin: 55% 55%; animation: pnBob var(--beat) linear infinite; }
@keyframes pnFarBeat {
  0% { transform: rotate(0.0deg) rotate(-135.6deg) scaleX(1.0) scaleY(1.0) skewY(0deg) rotate(135.6deg); animation-timing-function: cubic-bezier(.45,0,.9,.5); }
  10% { transform: rotate(3.0deg) rotate(-135.6deg) scaleX(0.94) scaleY(1.01) skewY(5deg) rotate(135.6deg); animation-timing-function: linear; }
  30% { transform: rotate(12.0deg) rotate(-135.6deg) scaleX(0.56) scaleY(1.06) skewY(9deg) rotate(135.6deg); animation-timing-function: cubic-bezier(.2,.5,.5,1); }
  44% { transform: rotate(16.0deg) rotate(-135.6deg) scaleX(0.26) scaleY(1.09) skewY(3deg) rotate(135.6deg); animation-timing-function: cubic-bezier(.3,0,.6,1); }
  56% { transform: rotate(11.0deg) rotate(-135.6deg) scaleX(0.33) scaleY(1.02) skewY(-7deg) rotate(135.6deg); animation-timing-function: linear; }
  78% { transform: rotate(4.0deg) rotate(-135.6deg) scaleX(0.7) scaleY(0.99) skewY(-9deg) rotate(135.6deg); animation-timing-function: cubic-bezier(.3,.3,.6,1); }
  100% { transform: rotate(0.0deg) rotate(-135.6deg) scaleX(1.0) scaleY(1.0) skewY(0deg) rotate(135.6deg); }
}
@keyframes pnNearBeat {
  0% { transform: rotate(0.0deg) rotate(34deg) scaleX(1.0) scaleY(1.0) skewY(0deg) rotate(-34deg); animation-timing-function: cubic-bezier(.45,0,.9,.5); }
  10% { transform: rotate(-2.7deg) rotate(34deg) scaleX(0.94) scaleY(1.01) skewY(-5deg) rotate(-34deg); animation-timing-function: linear; }
  30% { transform: rotate(-10.8deg) rotate(34deg) scaleX(0.56) scaleY(1.06) skewY(-9deg) rotate(-34deg); animation-timing-function: cubic-bezier(.2,.5,.5,1); }
  44% { transform: rotate(-14.4deg) rotate(34deg) scaleX(0.26) scaleY(1.09) skewY(-3deg) rotate(-34deg); animation-timing-function: cubic-bezier(.3,0,.6,1); }
  56% { transform: rotate(-9.9deg) rotate(34deg) scaleX(0.33) scaleY(1.02) skewY(7deg) rotate(-34deg); animation-timing-function: linear; }
  78% { transform: rotate(-3.6deg) rotate(34deg) scaleX(0.7) scaleY(0.99) skewY(9deg) rotate(-34deg); animation-timing-function: cubic-bezier(.3,.3,.6,1); }
  100% { transform: rotate(0.0deg) rotate(34deg) scaleX(1.0) scaleY(1.0) skewY(0deg) rotate(-34deg); }
}
/* the body lifts on the downstroke and pitches slightly, settling on the upstroke */
@keyframes pnBob {
  0%, 100% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(-1.8%) rotate(-1.2deg); animation-timing-function: ease-out; }
  70% { transform: translateY(.4%) rotate(.4deg); }
}
/* gliding: wings held out and slightly bowed down, like a rooster sailing between bursts of flapping */
.pn-photo .wing, .pn-photo .body { transition: transform .14s ease-out; }
.pn-photo.glide .wing, .pn-photo.glide .body { animation: none; }
.pn-photo.glide .far  { transform: rotate(7deg) rotate(-135.6deg) scaleX(.78) scaleY(1.03) rotate(135.6deg); }
.pn-photo.glide .near { transform: rotate(-6deg) rotate(34deg) scaleX(.8) scaleY(1.03) rotate(-34deg); }
.pn-photo.glide .body { transform: rotate(-.6deg); }
.pn-bird.photo { filter: drop-shadow(0 8px 12px rgba(0,0,0,.25)); }

.pn-feather {
  position: fixed; z-index: 69; width: 22px; pointer-events: none;
  animation: pnFeather 1.5s ease-out forwards;
}
.pn-feather svg { display: block; width: 100%; }
@keyframes pnFeather {
  from { transform: translate(0, 0) rotate(0) scale(var(--s)); opacity: .95; }
  to   { transform: translate(var(--dx), 140px) rotate(var(--rot)) scale(var(--s)); opacity: 0; }
}

/* ---------- release map ---------- */
.map-wrap {
  margin: 14px -8px 6px; padding: 10px 4px; border-radius: var(--radius);
  background: #000; border: 1px solid #000;
}
.usmap { display: block; width: 100%; height: auto; transition: opacity .5s ease; }
.usmap.dim { opacity: .35; }
.usmap .st { stroke: #fff; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.usmap .st[role=button] { cursor: pointer; transition: filter .15s; }
.usmap .st[role=button]:hover, .usmap .st[role=button]:focus { filter: brightness(1.15); outline: none; }
.usmap .st[role=button]:focus-visible { stroke-width: 3; }
.usmap .lbl {
  fill: #fff; font: 700 34px/1 var(--font-body); letter-spacing: .02em;
  text-anchor: middle; dominant-baseline: central; pointer-events: none;
}
.usmap .lbl-orange, .usmap .lbl-grey { paint-order: stroke; stroke: rgba(0,0,0,.55); stroke-width: 3px; }
@media (max-width: 600px) { .usmap .lbl { font-size: 36px; } }
.usmap .callout line { stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .8; }
.usmap .callout rect { stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; }
.usmap .callout[data-state]:not([data-state=""]) { cursor: pointer; }
.usmap .callout[data-state]:not([data-state=""]) .lbl { pointer-events: auto; }
.legend { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 15px; font-weight: 600; color: var(--slate); margin-top: 8px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-bird { width: 50px; height: 29px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px;
  font-size: 14px; font-weight: 700; text-decoration: none; border: 1px solid rgba(0,0,0,.18);
}
.chip-orange { background: #ef7d22; color: #1a0f07; }
.chip-grey { background: #8a8a8a; color: #111; }
.back { display: inline-block; margin: 6px 0 12px; color: var(--accent); text-decoration: none; font-weight: 700; font-size: 15px; }
.state-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.state-head h1 { margin-bottom: 6px; }
.state-shape { flex: none; }
.pill.hot { background: var(--accent-tint); color: var(--accent-dark); }
.state-expand { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drone { position: fixed; inset: 0; z-index: 80; pointer-events: none; perspective: 900px; overflow: hidden; }
.drone-cam { position: absolute; background: #000; border-radius: var(--radius); will-change: transform, filter; }
.drone-cam .usmap { visibility: visible !important; }
.drone-target { filter: drop-shadow(0 0 6px rgba(255,190,120,.9)); }
.drone-rush { position: absolute; inset: -10%; background:
  radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.85) 75%),
  repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,235,210,.07) 0 1.2deg, transparent 1.2deg 7deg); opacity: 0; }
.state-expand svg { display: block; }

/* ---------- active member counter (your "Live Member Count" artwork) ---------- */
.member-counter {
  position: relative; overflow: hidden; margin: 14px 0; border: 1.5px solid #c9763f; border-radius: var(--radius);
  aspect-ratio: 3 / 2; background: #0b0a08 url("media/member-count-bg.jpg") center / cover no-repeat;
  container-type: inline-size; box-shadow: 0 6px 22px rgba(0,0,0,.25);
}
/* soft light sweep across the artwork */
.member-counter::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255,190,140,.10) 47%, rgba(255,235,210,.22) 50%, transparent 62%);
  transform: translateX(-120%); animation: mcSweep 6s ease-in-out 2s infinite;
}
@keyframes mcSweep { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
/* pulsing "live" light over the dot beside LIVE MEMBER COUNT */
.mc-dot {
  position: absolute; left: 34.9%; top: 39.55%; width: 1.3%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: #e4814a; box-shadow: 0 0 0 0 rgba(228,129,74,.7); animation: mcPing 1.6s ease-out infinite;
}
@keyframes mcPing {
  0% { box-shadow: 0 0 0 0 rgba(228,129,74,.75); } 80%, 100% { box-shadow: 0 0 0 1.6cqw rgba(228,129,74,0); }
}
/* the number sits inside the copper frame */
.mc-frame {
  position: absolute; left: 50%; top: 57%; width: 56%; height: 25%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.mc-num {
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; font-size: 11.5cqw; line-height: 1;
  color: #f4ead9; letter-spacing: .04em; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(228,129,74,.45), 0 2px 0 rgba(0,0,0,.6);
}
.member-counter.pop .mc-num { animation: mcGlow 1s ease-out; }
@keyframes mcGlow { 0% { text-shadow: 0 0 40px rgba(255,160,90,1), 0 0 10px rgba(255,200,150,.9); transform: scale(1.06); } 100% { transform: scale(1); } }
.mc-bar { width: 70%; height: .55cqw; min-height: 3px; margin-top: 1.6cqw; border-radius: 99px; background: rgba(244,234,217,.14); overflow: hidden; }
.mc-bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #a0522d, #e4814a, #ffc08a); transition: width 1.8s cubic-bezier(.2,.7,.2,1); }
.member-counter.ready .mc-bar span { width: var(--pct); }
.mc-sub {
  margin-top: 1.2cqw; font-family: var(--font-head); font-size: 11px; font-size: 2.3cqw; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(244,234,217,.75);
}

/* ---------- banquets ---------- */
.banquet { display: flex; gap: 14px; align-items: flex-start; }
.cal {
  flex: none; width: 64px; text-align: center; border: 1.5px solid var(--accent); border-radius: 4px; overflow: hidden; background: #fff;
}
.cal span { display: block; }
.cal .m { background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 3px 0; }
.cal .d { font-family: var(--font-head); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--text); padding-top: 4px; }
.cal .d.tba { font-size: 16px; padding: 10px 0 8px; }
.cal .w { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 5px; }
.banquet .info { min-width: 0; flex: 1; }
.banquet h3 { margin-bottom: 4px; }
.banquet .meta { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--slate); font-weight: 600; margin-bottom: 8px; }
.banquet .where { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); }

.reg-btn { margin-top: 12px; min-height: 44px; }
.reg-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--accent); }
.no-reg .reg-btn, .no-reg .reg-link { display: none; }
ul.verify { margin: 0 0 12px; padding-left: 20px; color: var(--text); }
ul.verify li { margin: 4px 0; }

/* ---------- giveaways ---------- */
.giveaway { border: 1.5px solid #c9763f; border-radius: var(--radius); overflow: hidden; margin: 16px 0; background: #fff; box-shadow: var(--shadow); }
.gv-hero {
  background: radial-gradient(120% 90% at 50% 0%, #3a2618 0%, #161616 70%); color: #f4ead9; text-align: center; padding: 22px 16px 18px;
}
.gv-hero.art { padding: 0; background: #0d0d0d; }
.gv-art { display: block; width: 100%; height: auto; }
.gv-reveal { color: #f4ead9; text-align: center; padding: 14px 16px 16px; background: linear-gradient(#0d0d0d, #2a1a10); }
.gv-tag { display: inline-block; background: #ef7d22; color: #161616; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; margin-bottom: 6px; }
.gv-car { width: min(78%, 320px); height: auto; display: block; margin: 0 auto 6px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); animation: gvFloat 3.2s ease-in-out infinite; }
@keyframes gvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.gv-img { width: 100%; border-radius: 4px; margin-bottom: 10px; }
.gv-prize { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: .06em; }
.gv-arv { font-size: 14px; color: rgba(244,234,217,.75); margin-top: 4px; }
.gv-bodywrap { padding: 16px 18px 18px; }
.gv-title { margin-bottom: 12px; }
.gv-draw { background: var(--accent-tint); border: 1px solid #e6cfc2; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 16px; color: var(--accent-dark); }
.gv-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gv-rule { font-size: 17px; color: var(--text); margin: 2px 0 8px; }
.gv-bar { width: 100%; height: 7px; background: #efd9cb; margin: 0 0 6px; }
.gv-bar span { width: 0; }
.gv-count { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.gv-entry { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 14px; border: 1px solid var(--line); }
.gv-entry.ok { background: var(--ok-bg); border-color: #cfe0bf; }
.gv-entry.wait { background: #f6f6f6; }
.gv-entry.no { background: var(--danger-bg); border-color: #efc3b9; }
.gv-entry b { color: var(--text); }
.gv-entry select { margin-top: 8px; }
.gv-check { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--ok); }
.gv-entry.wait .gv-check { background: #8a8a8a; }
.gv-entry.no .gv-check { background: var(--danger); }
.gv-facts { font-size: 13px; color: var(--muted); padding-left: 18px; margin: 0 0 14px; }
.gv-facts li { margin: 3px 0; }

/* ---------- gear ---------- */
.gear-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px;
  border-radius: var(--radius); color: #f4ead9;
  background: linear-gradient(90deg, rgba(22,22,22,.94) 0%, rgba(22,22,22,.78) 55%, rgba(22,22,22,.35) 100%), var(--banner-img) 70% 35% / cover;
}
.gear-copy { flex: 1 1 200px; min-width: 0; }
.gear-kicker { font-family: var(--font-brand); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #e4814a; margin-bottom: 4px; }
.gear-copy p { margin: 0; color: rgba(244,234,217,.9); }
.gear-btn { width: auto; flex: 0 0 auto; }
.gear-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
@media (min-width: 640px) { .gear-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gear-tile { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; background: #fff; }
.gear-tile img, .gear-noimg { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: var(--surface-alt); display: block; }
.gear-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.gear-price { font-size: 14px; color: var(--accent); font-weight: 700; }

.shop-link { font-weight: 700; color: var(--accent); text-decoration: none; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
.pdp { display: grid; gap: 18px; }
@media (min-width: 640px) { .pdp { grid-template-columns: 1fr 1fr; align-items: start; } }
.pdp-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); display: block; background: var(--surface-alt); }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 3px; border: 2px solid transparent; cursor: pointer; }
.thumb.on { border-color: var(--accent); }
.pdp-info h1 { margin-bottom: 4px; }
.pdp-price { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--text); margin-bottom: 12px; }
.opt { margin-bottom: 14px; }
.opt-name { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.opt-vals { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn { min-height: 40px; min-width: 48px; padding: 0 14px; border: 1px solid #cfcfcf; background: #fff; color: var(--text); border-radius: 4px; font: 600 15px var(--font-body); cursor: pointer; }
.opt-btn.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.opt-btn.na:not(.on) { color: #aaa; text-decoration: line-through; }
.qty { display: inline-flex; align-items: center; border: 1px solid #cfcfcf; border-radius: 4px; }
.qty button { width: 42px; height: 40px; border: 0; background: #fff; font-size: 20px; cursor: pointer; color: var(--text); }
.qty span { min-width: 36px; text-align: center; font-weight: 700; color: var(--text); }
.pdp-desc { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- contests ---------- */
.ct-promo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #f4ead9; background: radial-gradient(120% 120% at 0% 0%, #3a2416 0%, #161616 70%); border: 1.5px solid #c9763f; border-radius: var(--radius); padding: 14px 16px; margin: 12px 0; }
.ct-promo-prize { flex: none; font-family: var(--font-head); font-weight: 700; font-size: 30px; color: #f2b36b; line-height: 1; }
.ct-kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #e4814a; }
.ct-promo-title { font-family: var(--font-head); font-size: 20px; line-height: 1.2; margin: 2px 0; }
.ct-promo-sub { font-size: 14px; color: rgba(244,234,217,.8); }
.ct-hero { background: radial-gradient(120% 90% at 50% 0%, #3a2416 0%, #161616 70%); color: #f4ead9; border-radius: var(--radius); padding: 22px 18px; text-align: center; margin: 4px 0 8px; }
.ct-hero h1 { color: #f4ead9; margin: 6px 0 4px; font-size: 1.9rem; }
.ct-hero p { color: rgba(244,234,217,.85); margin: 6px auto 12px; max-width: 46ch; }
.ct-prize { font-family: var(--font-head); font-weight: 700; font-size: 3.2rem; color: #f2b36b; line-height: 1; margin-top: 6px; }
.ct-prize span { display: block; font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,234,217,.75); margin-top: 4px; }
.ct-meta { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; font-size: 14px; color: rgba(244,234,217,.8); }
.ct-steps { padding-left: 20px; margin: 0 0 12px; color: var(--text); }
.ct-steps > li { margin: 10px 0; }
.ct-steps ul { margin: 6px 0 0; padding-left: 18px; color: var(--body); font-size: 15px; }
.ct-example { margin: 0 0 8px; background: #faf6f2; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.ct-art { display: block; width: 100%; height: auto; }
.ct-example figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; text-align: center; }
.ct-board { list-style: none; padding: 0; margin: 0; }
.ct-board li { display: grid; grid-template-columns: 34px 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ct-board .rank { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--accent); text-align: center; }
.ct-board img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.ct-board .who { display: flex; flex-direction: column; min-width: 0; font-size: 13px; color: var(--muted); }
.ct-board .who b { color: var(--text); font-size: 15px; }
.ct-board .len { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--text); font-variant-numeric: tabular-nums; }
.ct-board li.win { background: #fdf3e7; }
.ct-form label { margin-top: 12px; }
.ct-row { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .ct-row { grid-template-columns: 1fr 1fr; } }
.opt-l { font-weight: 400; color: var(--muted); }
.ct-len { display: flex; align-items: center; gap: 10px; }
.ct-len input { width: 96px; } .ct-len select { width: 96px; } .ct-len span { color: var(--muted); white-space: nowrap; }
.ct-thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ct-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
label.chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); font-size: 15px; margin: 12px 0 0; }
label.chk input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-form .error { margin-top: 14px; }
.ct-form .btn { margin-top: 16px; }
.ct-done .gv-check { margin: 0 auto 8px; }
.rv-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 6px; }
.rv-tab { padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; }
.rv-tab.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.rv-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.rv-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); display: block; }
.rv-len { font-size: 18px; margin: 10px 0 0; color: var(--text); }
.rv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.rv-actions .btn { width: auto; flex: 1 1 140px; }
.rv-reason { flex: 1 1 220px; }

/* ---------- PN Recipe Book ---------- */
.rb-promo { display: block; text-decoration: none; color: var(--text); border: 1.5px solid var(--accent); border-radius: var(--radius); padding: 14px 16px; margin: 12px 0;
  background: linear-gradient(120deg, #fff 0%, #fbf3ec 100%); }
.rb-promo-title { font-family: var(--font-head); font-size: 21px; color: var(--accent); margin: 2px 0; }
.rb-promo-sub { font-size: 14px; color: var(--body); }
.rb-hero { text-align: center; background: #faf6f2; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; margin: 4px 0 14px; }
.rb-hero h1 { margin: 6px 0; }
.rb-hero p { max-width: 52ch; margin: 0 auto 14px; }
.rb-hero .btn { width: auto; padding: 0 26px; }
.rb-bar { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-f { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--slate); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.chip-f.on { background: var(--slate); color: #fff; border-color: var(--slate); }
.rc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.rc { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.rc-link { display: flex; flex-direction: column; text-decoration: none; color: var(--text); padding-bottom: 46px; }
.rc-link img, .rc-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #161616; }
.rc-ph { display: grid; place-items: center; background: radial-gradient(120% 100% at 30% 0%, #3a2416, #161616); }
.rc-ph svg { width: 48%; }
.rc-rank { position: absolute; top: 8px; left: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 3px; }
.rc-cat { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding: 10px 12px 0; }
.rc h3 { font-size: 16px; line-height: 1.25; margin: 4px 12px; }
.rc-meta { font-size: 13px; color: var(--muted); padding: 0 12px; }
.like { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--accent); border-radius: 999px; padding: 5px 12px; font: 700 14px var(--font-body); cursor: pointer; font-variant-numeric: tabular-nums; }
.like.on { background: var(--accent-tint); border-color: #e6cfc2; }
.rc .like { position: absolute; left: 10px; bottom: 10px; }
.rd .rc-cat { padding: 0; margin-top: 10px; }
.rd-img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); }
.rd-by { color: var(--muted); margin-bottom: 10px; }
.rd-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rd-facts { display: flex; gap: 24px; margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rd-facts dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.rd-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--text); }
.rd-story { font-style: italic; }
.rd-h { font-size: 1.15rem; margin-top: 20px; }
.rd-ing, .rd-steps { color: var(--text); padding-left: 22px; }
.rd-ing li, .rd-steps li { margin: 6px 0; }
.rv-more summary { cursor: pointer; font-weight: 600; color: var(--accent); margin-top: 8px; }
/* printed volume */
.vol { max-width: 760px; margin: 0 auto; }
.vol-page { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px 26px; margin: 16px 0; color: var(--text); }
.vol-cover { text-align: center; background: #161616; color: #f4ead9; padding: 70px 24px; }
.vol-cover h1 { color: #f2b36b; font-size: 2.4rem; margin: 10px 0; }
.vol-sub { color: rgba(244,234,217,.85); } .vol-tag { margin-top: 40px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #e4814a; }
.vol-toc { padding-left: 24px; } .vol-toc li { padding: 4px 0; border-bottom: 1px dotted var(--line); }
.vol-toc li span:last-child { float: right; color: var(--muted); font-size: 14px; }
.vol-num { font-family: var(--font-head); font-size: 14px; color: var(--accent); letter-spacing: .12em; }
.vol-page img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 4px; margin: 8px 0; }
.vol-by { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.vol-story { font-style: italic; }
.vol-cols { display: grid; gap: 18px; } @media (min-width: 640px) { .vol-cols { grid-template-columns: 1fr 1.4fr; } }
.vol-cols h3 { font-family: var(--font-head); color: var(--accent); }
.vol-cols ul, .vol-cols ol { padding-left: 20px; margin: 0; } .vol-cols li { margin: 4px 0; }
@media print {
  .demo-banner, .topbar, .tabs, .member-counter, .no-print, .footer, .toast, .pn-feather { display: none !important; }
  .app { padding: 0 !important; max-width: none; }
  .vol-page { border: 0; margin: 0; page-break-after: always; break-after: page; }
  .vol-cover { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- aerial hero (welcome) ---------- */
.aerial { position: relative; margin: 0 -16px; min-height: min(78vh, 620px); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: #161616; }
.aerial-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aerial::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.6) 100%); }
.aerial-inner { position: relative; z-index: 1; padding: 40px 20px; color: #fff; }
.aerial-brand { font-family: var(--font-brand); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #f2b36b; font-size: 14px; }
.aerial h1 { color: #fff; font-size: clamp(2rem, 7vw, 3.4rem); margin: 10px auto 18px; max-width: 16ch; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.aerial-cta .btn { width: auto; padding: 0 30px; }
.aerial-cap { position: absolute; right: 12px; bottom: 10px; z-index: 1; font-size: 12px; color: rgba(255,255,255,.85); text-shadow: 0 1px 4px rgba(0,0,0,.7); }
/* embed mode: page content only, for showing app pages inside the website */
body.embed .topbar, body.embed .tabs, body.embed .member-counter, body.embed .demo-banner, body.embed .back, body.embed .footer { display: none !important; }
body.embed .app { padding-bottom: 24px; }
body.embed { min-height: 0; }

/* ---------- live member count: slim running banner ---------- */
.member-bar {
  position: sticky; top: 0; z-index: 30; overflow: hidden; white-space: nowrap;
  background: #161616; color: #f4ead9; border-bottom: 1.5px solid #c9763f;
  padding-top: env(safe-area-inset-top, 0px); font-size: 13px; line-height: 32px; height: calc(32px + env(safe-area-inset-top, 0px));
}
.mb-track { display: inline-flex; animation: mbRun 38s linear infinite; }
.mb-item { display: inline-flex; align-items: center; gap: 8px; padding-right: 8px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.mb-num { font-family: var(--font-head); font-size: 15px; color: #f2b36b; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.mb-dot { color: #e4814a; }
.mb-live { display: inline-flex; align-items: center; gap: 5px; background: #e4814a; color: #161616; font-size: 10px; font-weight: 800; letter-spacing: .14em; padding: 0 6px; height: 18px; border-radius: 3px; }
.mb-live i { width: 6px; height: 6px; border-radius: 50%; background: #161616; animation: mcPulse 1.4s ease-in-out infinite; }
@keyframes mbRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.member-bar:hover .mb-track { animation-play-state: paused; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.embed .member-bar { display: none !important; }

/* ---------- satellite map (state pages) ----------
   First thing on the page: the drone dive lands straight into it. */
.sat-wrap { position: relative; margin: -28px -16px 20px; }
@media (min-width: 640px) { .sat-wrap { margin: 0 0 20px; } }
.sat { height: min(62vh, 560px); min-height: 320px; background: #0d0d0d; position: relative; overflow: hidden; }
@media (min-width: 640px) { .sat { border-radius: var(--radius); } }
.sat .maplibregl-canvas { transition: filter .9s ease-out, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.sat:not(.sat-live) .maplibregl-canvas { filter: blur(8px) brightness(.85); transform: scale(1.08); }
.sat-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
  background: linear-gradient(to top, rgba(10,9,8,.85), rgba(10,9,8,0)); border-radius: 0 0 var(--radius) var(--radius); }
.sat-title { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; pointer-events: none; }
.sat-title h1 { color: #fff; margin: 0 0 6px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.sat-back { position: absolute; top: 12px; left: 12px; z-index: 3; background: rgba(16,16,16,.72); color: #fff !important;
  text-decoration: none; font-weight: 700; font-size: 14px; padding: 7px 12px; border-radius: 4px; backdrop-filter: blur(4px); }
.sat.sat-off { display: grid; place-items: center; background: radial-gradient(120% 120% at 50% 0%, #2c3a22 0%, #161616 70%); }
.sat-msg { color: #e9dfd0; text-align: center; padding: 24px 24px 90px; font-size: 15px; max-width: 40ch; }
.sat-pin { width: 22px; height: 30px; background: #ef7d22; border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0,0,0,.5); cursor: pointer; }
.sat .maplibregl-popup-content { font: 14px var(--font-body); color: var(--text); }
/* Demo only: a stand-in aerial look (the hosted demo can't load satellite imagery) */
.sat.sat-demo { background:
  repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 90px),
  repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 70px),
  conic-gradient(from 20deg at 30% 40%, #5b6b34, #8a7a45, #4d5e2c, #7d6c3a, #5b6b34),
  #4d5e2c; background-size: 100% 100%, 100% 100%, 260px 210px, auto; }
.sat-demo svg { position: absolute; inset: 12% 10% 22%; width: 80%; height: 66%; animation: satDemo 1.6s cubic-bezier(.2,.7,.2,1) both; }
.sat-demo svg path { fill: rgba(239,125,34,.12); stroke: #ffb066; stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255,170,90,.8)); }
.sat-demo .sat-note { position: absolute; top: 54px; left: 12px; background: rgba(16,16,16,.72); color: #e9dfd0; font-size: 12px; padding: 5px 9px; border-radius: 4px; }
@keyframes satDemo { from { transform: scale(1.25); filter: blur(8px); } to { transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  .intro, .fade-in, .toast, .member-counter::after, .mc-dot, .mc-num, .mc-bar span, .gv-car, .mb-track, .mb-live i { transition: none; animation: none; }
  .aerial video { display: none; }
}

/* food-plot grass along the top of the tab bar (grass.js) */
.tab-grass { position: fixed; left: 0; bottom: 0; width: 100vw; z-index: 19; pointer-events: none; }
body.embed .tab-grass { display: none; }
@media print { .tab-grass { display: none !important; } }
