/* =====================================================================
   0. DESIGN TOKENS
   ===================================================================== */
:root {
  /* Palette */
  --espresso:  #0D0705;
  --mahogany:  #1F0E09;
  --mahogany-2:#2A140C;
  --brass:     #D49A42;
  --brass-hi:  #F0C47A;
  --brass-lo:  #8A5F22;
  --parchment: #EAE0D5;
  --parchment-dim: #B8A999;
  --live-red:  #D9453B;

  /* Type */
  --font-plaque: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body:   "Lora", Georgia, serif;
  --font-ui:     "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* -------------------------------------------------------------------
     HERO CALIBRATION  ← tweak these when the photo changes.
     All values are % of the *photo itself* (not the viewport), because
     the overlays live inside .lounge-stage, which is locked to the
     photo's aspect ratio. Measured against images/lounge-bg.jpg (1672×941):
       Plaque inner black panel ≈ x 284–418px, y 154–464px
       TV black glass          ≈ x 670–1036px, y 225–425px
     Phase 2: these are DEFAULTS only. The live values come from the
     active row in `lounge_themes` and are printed as inline custom
     properties on #lounge-hero by index.php. Calibrate visually from
     Admin → Lounge Themes → "Calibrate".
     ------------------------------------------------------------------- */
  --photo-ar: 1.7768;          /* photo width / height (1672 / 941)     */

  --plaque-top:   16.4%;
  --plaque-left:  17.0%;
  --plaque-width:  8.0%;
  --plaque-height:32.9%;

  --tv-top:    23.9%;
  --tv-left:   40.1%;
  --tv-width:  21.9%;
  --tv-height: 21.25%;

  --lounge-bg: url("../../images/lounge-bg.webp");

  --maxw: 1140px;
  --header-h: 60px;
  --radius: 6px;
}

/* =====================================================================
   1. BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--espresso);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brass); text-decoration: none; transition: color .2s, text-shadow .2s; }
a:hover, a:focus-visible { color: var(--brass-hi); }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-plaque); font-weight: 600; line-height: 1.2; color: var(--brass); margin: 0 0 .6em; letter-spacing: .02em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--brass); color: var(--espresso); padding: .5rem 1rem; border-radius: var(--radius);
  font-family: var(--font-ui); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Brass button */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-plaque); font-weight: 700; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .85em 1.6em; border-radius: 3px;
  color: var(--espresso);
  background: linear-gradient(180deg, var(--brass-hi) 0%, var(--brass) 45%, var(--brass-lo) 100%);
  border: 1px solid var(--brass-hi);
  box-shadow: 0 2px 0 rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.35), 0 0 24px rgba(212,154,66,.15);
  transition: box-shadow .25s, transform .25s, filter .25s;
}
.btn:hover, .btn:focus-visible { color: var(--espresso); filter: brightness(1.08); box-shadow: 0 2px 0 rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.4), 0 0 32px rgba(212,154,66,.4); transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: var(--brass);
  border: 1px solid var(--brass-lo);
  box-shadow: inset 0 0 0 1px rgba(212,154,66,.08);
}
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--brass-hi); border-color: var(--brass); background: rgba(212,154,66,.06); }

/* =====================================================================
   2. STICKY HEADER (always shown, homepage included)
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(31,14,9,.97), rgba(22,10,6,.97));
  border-bottom: 1px solid rgba(212,154,66,.35);
  box-shadow: 0 6px 24px rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(-100%); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.site-header.is-visible, body.home .site-header { opacity: 1; transform: none; pointer-events: auto; }
body.home { padding-top: var(--header-h); }   /* the room starts below the bar */
.site-header__inner {
  max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.crest { display: flex; align-items: baseline; gap: .55em; font-family: var(--font-plaque); color: var(--brass); white-space: nowrap; }
.crest__name { font-size: 1.25rem; font-weight: 700; letter-spacing: .06em; }
.crest__est  { font-size: .7rem; letter-spacing: .22em; color: var(--parchment-dim); text-transform: uppercase; }
.crest:hover .crest__name { text-shadow: 0 0 12px rgba(212,154,66,.5); }
.crest__text { display: flex; align-items: baseline; gap: .55em; }
/* Logo (Admin → Logo): sits inside the bar, sized by the admin's slider */
.crest.has-logo { align-items: center; gap: .75rem; }
.crest__logo { display: block; height: var(--logo-h, 46px); width: auto; max-width: 240px; object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); transition: filter .25s ease; }
.crest:hover .crest__logo { filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)) drop-shadow(0 0 10px rgba(212,154,66,.35)); }
@media (max-width: 768px) { .crest__logo { height: var(--logo-h-m, 40px); max-width: 160px; } .crest.has-logo { gap: .55rem; } }

.header-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; align-items: center; }
.header-nav a { font-family: var(--font-plaque); font-size: .82rem; font-weight: 600; letter-spacing: .08em; color: var(--parchment); }
.header-nav a:hover, .header-nav a:focus-visible { color: var(--brass-hi); text-shadow: 0 0 10px rgba(212,154,66,.6); }
.header-nav a.is-cta { color: var(--brass); border: 1px solid var(--brass-lo); padding: .35em .9em; border-radius: 3px; }
.header-nav a.is-cta:hover { border-color: var(--brass); background: rgba(212,154,66,.08); }

/* One-level dropdowns (Admin → Menu → "Dropdown under"). Hover or keyboard focus
   opens them on desktop; the chevron button opens them on touch screens. */
.header-nav .has-sub { position: relative; display: flex; align-items: center; gap: .2rem; }
.sub-toggle {
  display: inline-flex; align-items: center; gap: .35em; padding: .3em .2em; border: 0; background: none; cursor: pointer;
  font-family: var(--font-plaque); font-size: .82rem; font-weight: 600; letter-spacing: .08em; color: var(--parchment);
}
.sub-toggle::after {
  content: ""; width: .4em; height: .4em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-.15em) rotate(45deg); transition: transform .2s ease; opacity: .8;
}
.sub-toggle:hover, .sub-toggle:focus-visible, .sub-toggle.is-active { color: var(--brass-hi); }
.has-sub.is-open > .sub-toggle::after { transform: translateY(.1em) rotate(-135deg); }
.header-nav .sub-menu {
  position: absolute; top: calc(100% + .9rem); left: -1.1rem; z-index: 5; display: block; min-width: 14rem;
  margin: 0; padding: .45rem 0; list-style: none; border-radius: 6px;
  background: linear-gradient(180deg, #1b100a, #110906); border: 1px solid rgba(212,154,66,.35);
  box-shadow: 0 18px 40px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,220,160,.06);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
}
.header-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }   /* hover bridge */
.has-sub.is-open > .sub-menu,
.has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 769px) { .has-sub:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; } }
.header-nav .sub-menu a { display: block; padding: .6rem 1.15rem; font-size: .8rem; white-space: nowrap; }
.header-nav .sub-menu a:hover, .header-nav .sub-menu a:focus-visible { background: rgba(212,154,66,.1); text-shadow: none; }
.header-nav .has-sub.is-active-branch > a { color: var(--brass-hi); }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--brass-lo); border-radius: 3px;
  width: 42px; height: 38px; padding: 0; cursor: pointer; color: var(--brass);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .25s, opacity .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* =====================================================================
   3. HERO — THE LOUNGE ROOM (desktop)
   ===================================================================== */
.lounge-hero {
  /* Stage size: "object-fit: cover" done by hand so overlays stay pinned.
     The stage is always the photo's aspect ratio and always covers the
     viewport; overflow is cropped equally on both sides. Declared here (not
     :root) so the per-theme --photo-ar set inline on this element applies. */
  --hero-h: max(520px, calc(100vh - var(--header-h)));
  --stage-w: max(100vw, calc(var(--hero-h) * var(--photo-ar)));
  --stage-h: max(var(--hero-h), calc(100vw / var(--photo-ar)));
  position: relative; height: var(--hero-h);
  overflow: hidden; background: var(--espresso);
}
/* The stage is the photo's exact box. Everything positioned in % inside it
   tracks the photo no matter the viewport shape. */
.lounge-stage {
  /* Centred with plain offsets, not translate(-50%): a half-pixel transform
     made the browser re-sample every bit of text in the room (blurry). */
  /* Any vertical crop is taken 30% from the top, 70% from the floor, so the
     wall (TV, plaque) stays in view on short, wide windows. */
  position: absolute; left: calc(50% - var(--stage-w) / 2); top: calc((var(--hero-h) - var(--stage-h)) * .3);
  width: var(--stage-w); height: var(--stage-h);
  /* Root font size for all in-room typography, scaled to the photo width */
  font-size: calc(var(--stage-w) * .0066);
}
.lounge-stage__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; user-select: none; }
/* Soft vignette so the H1 + scroll cue read over the rug */
.lounge-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, transparent 55%, rgba(13,7,5,.55) 100%),
    linear-gradient(180deg, transparent 72%, rgba(13,7,5,.85) 100%);
}

/* ---------- 3a. Brass plaque navigation ---------- */
#lounge-nav {
  position: absolute; z-index: 2;
  top: var(--plaque-top); left: var(--plaque-left);
  width: var(--plaque-width); height: var(--plaque-height);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.2em .7em;          /* keeps text off the gold frame */
  font-size: calc(1em * var(--plaque-scale, 1) * var(--plaque-fit, 1));   /* bigger plaque → bigger type; --plaque-fit (site.js) shrinks it to fit */
  text-align: center;
  /* faint engraved-panel texture over the black plaque */
  background: radial-gradient(ellipse at 50% 30%, rgba(212,154,66,.07), transparent 70%);
}
.plaque__crest {
  font-family: var(--font-plaque); font-weight: 700; color: var(--brass);
  font-size: 1.35em; letter-spacing: .1em; line-height: 1.1;
  text-shadow: 0 1px 0 rgba(0,0,0,.9), 0 0 .6em rgba(212,154,66,.25);
}
.plaque__est { display: block; font-size: .5em; letter-spacing: .3em; color: var(--brass-lo); margin-top: .35em; }
.plaque__rule {
  width: 70%; height: 1px; margin: 1em auto;
  background: linear-gradient(90deg, transparent, var(--brass-lo), transparent);
}
#lounge-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: calc(clamp(.5em, 2.4vh, 1.5em) * var(--plaque-fit, 1)); width: 100%; }
#lounge-nav a {
  display: block; padding: .15em 0;
  /* POLISH FIX: clamp() keeps every label on one line inside the plaque from
     1280px laptops up to large monitors. The middle term tracks the photo width
     (and therefore the plaque width); min/max stop it going illegible or huge. */
  font-family: var(--font-plaque); font-weight: 600;
  font-size: calc(clamp(calc(.8rem * var(--plaque-scale, 1)), calc(var(--stage-w) * .0108 * var(--plaque-scale, 1)), calc(1.6rem * var(--plaque-scale, 1))) * var(--plaque-fit, 1));
  letter-spacing: clamp(0em, calc(var(--stage-w) * .00002), .05em);
  line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  /* engraved brass: gradient text + dark bevel shadow */
  background: linear-gradient(180deg, var(--brass-hi) 0%, var(--brass) 55%, var(--brass-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.95));
  transition: filter .25s ease;
}
#lounge-nav a:hover, #lounge-nav a:focus-visible {
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.95)) drop-shadow(0 0 .35em rgba(240,196,122,.85));
}
#lounge-nav a.is-cta {
  margin-top: .4em; padding: .45em .2em;
  border: 1px solid var(--brass-lo); border-radius: 2px;
  box-shadow: inset 0 0 .8em rgba(212,154,66,.18), 0 0 .8em rgba(212,154,66,.12);
}

/* ---------- 3a-2. Plaque odometer: "Currently Online" ----------
   A brass bezel with recessed ivory-on-black number drums. Each drum is a
   strip of 0–9 that rolls (translateY) to its digit; site.js starts them at 0. */
.plaque-counter { width: 100%; margin-top: 1.15em; text-align: center; }
.pc__label {
  display: flex; align-items: center; justify-content: center; gap: .45em; margin: 0 0 .45em;
  font-family: var(--font-plaque); font-weight: 700; font-size: .62em; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass); text-shadow: 0 1px 0 rgba(0,0,0,.9);
}
.pc__lamp {                         /* green jewel indicator lamp */
  flex: none; width: .75em; height: .75em; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d6ffd9 0 12%, #61e06c 35%, #1d7a2a 75%, #0c3d14 100%);
  box-shadow: 0 0 0 .12em #6b4a1c, 0 0 0 .2em #2a1a08, 0 0 .55em rgba(97,224,108,.75);
  animation: pc-lamp 2.4s ease-in-out infinite;
}
@keyframes pc-lamp { 50% { box-shadow: 0 0 0 .12em #6b4a1c, 0 0 0 .2em #2a1a08, 0 0 .2em rgba(97,224,108,.35); filter: brightness(.82); } }
.pc__bezel {                        /* brushed brass frame with two screws */
  display: inline-flex; align-items: center; gap: .35em; padding: .32em .4em; border-radius: .35em;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #f3d18c 0%, #d49a42 38%, #9c6a26 70%, #e2b766 100%);
  box-shadow: 0 .18em .45em rgba(0,0,0,.75), inset 0 1px 0 rgba(255,240,200,.75), inset 0 -1px 0 rgba(60,35,8,.8);
}
.pc__screw {
  width: .42em; height: .42em; border-radius: 50%; flex: none; position: relative;
  background: radial-gradient(circle at 35% 30%, #fbe6b4, #a8752c 60%, #5a3a12);
  box-shadow: inset 0 0 0 .04em rgba(40,22,4,.6);
}
.pc__screw::after { content: ""; position: absolute; left: 15%; right: 15%; top: 45%; height: .06em; background: rgba(50,28,6,.85); transform: rotate(-35deg); }
.pc__drums {
  display: flex; gap: .12em; padding: .14em; border-radius: .2em;
  background: #120a05; box-shadow: inset 0 .1em .25em rgba(0,0,0,.95), 0 0 0 .06em rgba(60,35,8,.9);
}
.pc__drum {
  position: relative; display: block; width: 1.05em; height: 1.5em; overflow: hidden; border-radius: .1em;
  background: linear-gradient(180deg, #050302 0%, #1d1510 45%, #1d1510 55%, #050302 100%);
  font-family: var(--font-ui); font-weight: 600; font-size: 1.12em; line-height: 1.5em; font-variant-numeric: tabular-nums;
  color: #f3ead9;
}
.pc__drum::after {                  /* curved-drum shading + glass glint */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.85) 0%, transparent 32%, transparent 68%, rgba(0,0,0,.85) 100%),
    linear-gradient(180deg, rgba(255,255,255,.12) 0 8%, transparent 9%);
}
.pc__drum.is-lead { color: #6f6253; }
.pc__strip {
  display: flex; flex-direction: column;
  transform: translateY(calc(var(--d) * -1.5em));
  transition: transform 1.6s cubic-bezier(.2,.7,.15,1) calc(var(--i) * .12s);
}
.pc__strip > span { display: block; height: 1.5em; text-align: center; text-shadow: 0 1px 0 #000; }
.plaque-counter.is-rolling .pc__strip { transform: translateY(0); transition: none; }
.pc__unit {
  margin: .4em 0 0; font-family: var(--font-plaque); font-size: .55em; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(212,154,66,.72); text-shadow: 0 1px 0 rgba(0,0,0,.9);
}

/* ---------- 3b. Wall TV — position only (the TV itself is styled in tv.css) ---------- */
#wall-tv {
  position: absolute; z-index: 2;
  top: var(--tv-top); left: var(--tv-left);
  width: var(--tv-width); height: var(--tv-height);
  font-size: calc(1em * var(--tv-scale, 1));   /* stage-scaled, × how much bigger this room's TV is than the design TV */
}

/* ---------- 3b-2. Drawn frames (themes whose photo has no TV or plaque in it) ----------
   Lounge Themes → "Draw the TV bezel and brass plaque". The coordinates are the
   screen glass and the plaque face; the bezel/frame is drawn just outside them. */
@media (min-width: 769px) {   /* desktop room only; the mobile lobby keeps its own TV frame */
.draw-frames #wall-tv {                    /* slim black bezel + thin brass trim + its shadow on the recess wall */
  --bezel: 0 0 0 .42em #070504, 0 0 0 calc(.42em + 1px) rgba(212,154,66,.45);
  box-shadow: var(--bezel), 0 1.4em 2.6em rgba(0,0,0,.72), inset 0 0 20px rgba(0,0,0,.9);
}
  .draw-frames.lounge-hero:not(.is-theater) #wall-tv:hover { box-shadow: var(--bezel), 0 0 2.2em rgba(240,196,122,.3), inset 0 0 20px rgba(0,0,0,.9); }
.draw-frames.lounge-hero.is-theater #wall-tv { box-shadow: var(--bezel), 0 0 0 220vmax rgba(6,3,2,.78), inset 0 0 20px rgba(0,0,0,.9); }
.draw-frames #lounge-nav {
  border: .42em solid transparent;
  border-image: linear-gradient(145deg, #f6dc9c 0%, #b9832f 22%, #f0c47a 45%, #8a5a1e 68%, #e8bd6d 88%, #a77027 100%) 1;
  background:
    radial-gradient(ellipse 90% 45% at 50% 18%, rgba(240,196,122,.10), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #160d08 0%, #0a0604 100%);
  box-shadow:
    0 1.2em 2.4em rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.8),
    inset 0 0 0 .14em #050302, inset 0 0 0 .2em rgba(212,154,66,.5), inset 0 0 2.4em rgba(0,0,0,.85);
  padding: 1.1em .5em;
}
  /* the drawn frame eats into the face, so the links track the plaque's own
     width with no rem floor (the floor is what clipped "Lounge Journal" at 1280) */
  .draw-frames #lounge-nav a { font-size: calc(var(--stage-w) * .0108 * var(--plaque-scale, 1) * var(--plaque-fit, 1)); letter-spacing: 0; padding: .1em 0; }
.draw-frames .pc__label { font-family: var(--font-ui); font-size: max(.7em, 9.5px); letter-spacing: .14em; }   /* small caps read better in the sans */
.draw-frames .pc__unit  { font-family: var(--font-ui); font-size: max(.62em, 9px); letter-spacing: .14em; color: rgba(232,190,120,.85); }
.draw-frames .pc__bezel { font-size: 1.15em; }   /* slightly bigger odometer in the taller plaque */
.draw-frames .plaque__est { font-size: max(.5em, 8.5px); }
.draw-frames #lounge-nav::before {          /* small brass crest finial on the top rail */
  content: "◆"; position: absolute; top: -.95em; left: 50%; transform: translateX(-50%);
  font-size: .9em; line-height: 1; color: #f0c47a; text-shadow: 0 1px 0 #000, 0 0 .5em rgba(240,196,122,.6);
}
}

/* ---------- 3c. H1 caption + scroll cue ---------- */
/* Hero title: a brass marquee over the rug: "◆ EST. 2000 ◆" rule, the big gold
   CIGARPASS (a slow light sweep runs across it), the tagline, then the services line. */
.hero-title {
  position: absolute; z-index: 3; left: 50%; bottom: 4.2rem; transform: translateX(-50%);
  margin: 0; padding: 1.1rem 4rem 1.2rem; text-align: center; white-space: nowrap;
  display: flex; flex-direction: column; align-items: center;
  font-weight: 600; text-transform: uppercase;
  background: radial-gradient(ellipse 50% 50% at 50% 55%, rgba(8,4,2,.62), rgba(8,4,2,.35) 55%, transparent 100%);
}
.hero-title::before {                                    /* ── ◆ EST. 2000 ◆ ── */
  content: "◆   " attr(data-est) "   ◆"; white-space: pre;
  display: flex; align-items: center; gap: 1em; margin-bottom: .45rem;
  font-family: var(--font-ui); font-size: clamp(.78rem, 1vw, 1.1rem); font-weight: 600; letter-spacing: .36em; color: var(--brass);
  text-shadow: 0 1px 6px rgba(0,0,0,.9);
}
.ht-name {
  position: relative; display: block; font-family: var(--font-plaque); font-weight: 700; line-height: 1;
  font-size: clamp(2.4rem, 4.6vw, 5rem); letter-spacing: .12em; padding: 0 .1em 0 .22em;   /* re-centre after the tracking */
  /* Two layers clipped to the letters: a bright shine band that sweeps across (it starts and
     ends fully off the word, so the loop never visibly jumps) over a fixed brushed-gold base. */
  background:
    linear-gradient(105deg, transparent 41%, rgba(255,238,196,.35) 46%, rgba(255,246,222,.7) 50%, rgba(255,238,196,.35) 54%, transparent 59%),
    linear-gradient(180deg, #f8dc9c 0%, #e8b763 34%, #cf9640 60%, #b07a2e 80%, #e6bd6e 100%);
  background-size: 250% 100%, 100% 100%; background-repeat: no-repeat;
  background-position: 100% 0, 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0,0,0,.7)) drop-shadow(0 0 18px rgba(240,170,80,.3));
  animation: ht-sweep 8s cubic-bezier(.45,.05,.35,1) 1s infinite;
}
@keyframes ht-sweep { 0% { background-position: 100% 0, 0 0; } 40%, 100% { background-position: 0% 0, 0 0; } }
.ht-name::after {                                       /* a star twinkles off the last letter as the shine leaves */
  content: "✦"; position: absolute; right: -.15em; top: -.12em; font-size: .3em; color: #fff6dc;
  text-shadow: 0 0 .4em #fff1c8, 0 0 .9em rgba(255,200,110,.9); opacity: 0; transform: scale(.2) rotate(0deg);
  animation: ht-twinkle 8s ease-out 1s infinite;
}
@keyframes ht-twinkle { 0%, 33% { opacity: 0; transform: scale(.2) rotate(0deg); } 40% { opacity: .85; transform: scale(.9) rotate(45deg); } 50%, 100% { opacity: 0; transform: scale(.3) rotate(90deg); } }
.ht-tag {
  display: block; margin-top: .55rem; font-family: var(--font-plaque); font-size: clamp(.8rem, 1.2vw, 1.3rem); letter-spacing: .38em; padding-left: .38em;
  color: #f1dcb4; text-shadow: 0 2px 10px rgba(0,0,0,.95);
}
.hero-title small {
  display: flex; align-items: center; gap: .9em; margin-top: .6rem;
  font-family: var(--font-ui); font-size: clamp(.74rem, .92vw, 1.02rem); font-weight: 600; letter-spacing: .3em; color: #d9c9b2;
  text-shadow: 0 1px 6px rgba(0,0,0,.95);
}
.hero-title small::before, .hero-title small::after { content: ""; width: 3.2rem; height: 1px; background: linear-gradient(90deg, transparent, var(--brass)); }
.hero-title small::after { transform: scaleX(-1); }

/* ---------- Room ambience: fire, lamps, smoke, embers (positioned in % of the photo) ---------- */
.ambience { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; container-type: size; }
.amb { position: absolute; left: var(--x); top: var(--y); }
.amb--fire, .amb--spill, .amb--lamp { width: calc(var(--s) * 1cqw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; mix-blend-mode: screen; }
.amb--fire  { background: radial-gradient(circle, rgba(255,170,60,.55) 0%, rgba(255,120,30,.28) 35%, transparent 70%); animation: amb-flicker 2.3s steps(1) var(--d) infinite, amb-sway 3.1s ease-in-out var(--d) infinite; }
.amb--spill { aspect-ratio: 1.6; background: radial-gradient(ellipse, rgba(255,140,50,.20) 0%, rgba(255,110,40,.08) 45%, transparent 70%); animation: amb-spill 3.4s ease-in-out infinite; }
.amb--lamp  { background: radial-gradient(circle, rgba(255,210,140,.32) 0%, rgba(255,180,90,.12) 40%, transparent 70%); animation: amb-breathe 6s ease-in-out var(--d) infinite; }
@keyframes amb-flicker { 0% { opacity: .78; } 9% { opacity: 1; } 17% { opacity: .7; } 28% { opacity: .95; } 41% { opacity: .82; } 53% { opacity: 1; } 66% { opacity: .74; } 79% { opacity: .92; } 90% { opacity: .8; } }
@keyframes amb-sway { 50% { transform: scale(1.07, .96) translateY(-2%); } }
@keyframes amb-spill { 0%, 100% { opacity: .85; } 35% { opacity: 1; } 60% { opacity: .75; } }
@keyframes amb-breathe { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.04); } }
/* rising embers from the fire */
.amb--ember { width: .25cqw; height: .25cqw; border-radius: 50%; background: #ffcf7a; box-shadow: 0 0 .5cqw #ff9a3c; opacity: 0;
  animation: amb-ember 4.6s ease-out var(--d) infinite; }
@keyframes amb-ember { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(.8cqw, -9cqh); } }
/* smoke: three soft wisps rising and spreading from an ashtray */
.amb--smoke { width: 0; height: 0; }
.amb--smoke i { position: absolute; left: -1.2cqw; top: -2cqw; width: 2.4cqw; height: 4cqw; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(225,215,200,.20), rgba(225,215,200,.06) 55%, transparent 70%); filter: blur(.35cqw); opacity: 0;
  animation: amb-smoke 9s ease-out infinite; animation-delay: calc(var(--d) + var(--k, 0s)); }
.amb--smoke i:nth-child(2) { --k: 3s; } .amb--smoke i:nth-child(3) { --k: 6s; }
@keyframes amb-smoke {
  0%   { opacity: 0;   transform: translate(0, 0) scale(.6) rotate(0deg); }
  15%  { opacity: .9; }
  60%  { opacity: .45; transform: translate(1.2cqw, -10cqh) scale(1.6) rotate(12deg); }
  100% { opacity: 0;   transform: translate(-.6cqw, -18cqh) scale(2.4) rotate(-8deg); }
}
.calibrate .ambience { display: none; }
@media (prefers-reduced-motion: reduce) { .ambience { display: none; } .ht-name { animation: none; } .ht-name::after { display: none; } }

.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 1.3rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  font-family: var(--font-plaque); font-size: clamp(.85rem, .95vw, 1.05rem); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #d9c9b2;
  text-shadow: 0 1px 6px rgba(0,0,0,.95);
}
.scroll-cue svg { width: 22px; height: 22px; color: var(--brass); animation: nudge 2.4s ease-in-out infinite; }
.scroll-cue:hover { color: var(--brass-hi); }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* ---------- 3c-2. Theater mode: "walk up to the TV" ----------
   site.js zooms the whole room (the stage) so the TV fills the screen; the TV is
   live HTML, so it stays sharp at any size. A giant box-shadow dims the room. */
.lounge-stage { transition: transform .95s cubic-bezier(.65,.05,.2,1); }
.lounge-hero.is-theater .lounge-stage { z-index: 20; }
.lounge-hero.is-theater #wall-tv {
  box-shadow: 0 0 0 220vmax rgba(6,3,2,.78), 0 0 2.5em rgba(240,196,122,.25), inset 0 0 20px rgba(0,0,0,.9);
  transition: box-shadow .9s ease;
}
@media (min-width: 769px) {
  #wall-tv { transition: box-shadow .9s ease; }
  .lounge-hero:not(.is-theater) #wall-tv { cursor: zoom-in; }
  .lounge-hero:not(.is-theater) #wall-tv:hover { box-shadow: 0 0 1.6em rgba(240,196,122,.28), inset 0 0 20px rgba(0,0,0,.9); }
  .lounge-hero:not(.is-theater) #wall-tv a, .lounge-hero:not(.is-theater) #wall-tv button { cursor: pointer; }
}
.lounge-hero.is-theater #lounge-nav, .lounge-hero.is-theater .hotspot, .lounge-hero.is-theater .hero-title,
.lounge-hero.is-theater .scroll-cue, .lounge-hero.is-theater:not(.theater-ledger) .ledger, .lounge-hero.is-theater:not(.theater-ledger) .billboard { opacity: 0; pointer-events: none; transition: opacity .4s ease; }
body.is-theater { overflow: hidden; }

.tv__zoom {
  position: absolute; right: .55em; top: .5em; z-index: 7;   /* top-right corner of the screen */
  width: 1.5em; height: 1.5em; padding: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1em; line-height: 1;
  color: var(--brass-hi); background: rgba(13,7,5,.65); border: 1px solid rgba(212,154,66,.55);
  opacity: .6; transition: opacity .25s, transform .25s, background .25s;
}
#wall-tv:hover .tv__zoom, .tv__zoom:focus-visible { opacity: 1; }
.tv__zoom:hover { background: rgba(212,154,66,.25); transform: scale(1.1); }
.is-theater #wall-tv .tv__zoom { opacity: 0; pointer-events: none; }   /* "Back to the room" / Esc / click outside exit */

.theater-close {
  position: absolute; top: 1.1rem; right: 1.2rem; z-index: 40;
  display: inline-flex; align-items: center; gap: .5em; padding: .55em 1.05em; border-radius: 999px; cursor: pointer;
  font-family: var(--font-plaque); font-size: .85rem; font-weight: 700; letter-spacing: .08em;
  color: var(--brass-hi); background: rgba(13,7,5,.82); border: 1px solid rgba(212,154,66,.6);
  box-shadow: 0 6px 20px rgba(0,0,0,.6); opacity: 0; transform: translateY(-.4rem);
  transition: opacity .4s ease .5s, transform .4s ease .5s;
}
.lounge-hero.is-theater .theater-close { opacity: 1; transform: none; }
.theater-close:hover { background: rgba(212,154,66,.18); }
@media (max-width: 768px) { .tv__zoom, .theater-close { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .lounge-stage { transition: none; } }

/* ---------- 3c-3. The Lounge Ledger — forum stats in the framed painting ----------
   A 520×560 board that site.js maps onto the painting's four corners with a
   perspective matrix (so it sits at the wall's angle). In "alternate" mode it
   dissolves in over the Vegas painting every ~45 s, or on click. */
.ledger {
  position: absolute; left: 0; top: 0; z-index: 2; width: 520px; height: 560px;
  transform-origin: 0 0; visibility: hidden; cursor: pointer;
}
.ledger.is-fitted { visibility: visible; }
.ledger__board {
  position: absolute; inset: 0; overflow: hidden; padding: 30px 34px 22px;
  display: flex; flex-direction: column; color: #f3e6cc;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(240,196,122,.13), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #1a0f0a 0%, #0e0806 100%);
  box-shadow: inset 0 0 0 3px #0a0503, inset 0 0 0 5px rgba(212,154,66,.6), inset 0 0 0 9px #0a0503, inset 0 0 0 10px rgba(212,154,66,.25), inset 0 0 60px rgba(0,0,0,.8);
  opacity: 0; transition: opacity 1.8s ease;
}
.ledger[data-shown] .ledger__board { opacity: 1; }
.ledger__board::after {                    /* glass glare at the wall's angle */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,240,210,.11) 0%, rgba(255,240,210,.03) 28%, transparent 40%);
}
/* Header + one big card at a time (readable at the painting's small size) */
.lg-title { margin: 0; text-align: center; font-family: var(--font-ui); font-size: 24px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #e9b866;
  padding-bottom: 14px; border-bottom: 2px solid rgba(212,154,66,.45); }
.lg-pages { position: relative; flex: 1; }
.lg-page { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.lg-page.is-active { opacity: 1; transform: none; }
.lg-label { margin: 0; display: flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-ui); font-size: 36px; font-weight: 800; line-height: 1.15; letter-spacing: .1em; text-transform: uppercase; color: #f0c47a; }
.lg-big { margin: 0; font-family: var(--font-ui); font-size: 128px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff4df;
  font-variant-numeric: tabular-nums; text-shadow: 0 4px 0 #000; }
.lg-big--xl { font-size: 150px; }
.lg-big--live { color: #9ff0a9; }
.lg-note { margin: 0; font-family: var(--font-ui); font-size: 30px; font-weight: 700; letter-spacing: .08em; color: #d9c3a0; }
.lg-pair { display: flex; flex-direction: column; gap: 30px; }
.lg-pair .lg-big { font-size: 116px; }

/* Big brass-framed rolling number drums (Members card) */
.lg-drums { display: inline-flex; align-items: center; gap: 4px; padding: 8px; border-radius: 8px;
  background: linear-gradient(180deg, #f3d18c, #d49a42 40%, #9c6a26 75%, #e2b766);
  box-shadow: 0 6px 14px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,240,200,.7); }
.lg-drum { position: relative; display: block; width: var(--dw, 66px); height: 112px; overflow: hidden; border-radius: 5px;
  font-family: var(--font-ui); font-size: 86px; font-weight: 800; line-height: 112px; text-align: center; color: #fff4df;
  background: linear-gradient(180deg, #050302 0%, #22180f 45%, #22180f 55%, #050302 100%); }
.lg-drum::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, transparent 22%, transparent 78%, rgba(0,0,0,.7) 100%); }
.lg-strip { display: flex; flex-direction: column; transform: translateY(calc(var(--d) * -112px));
  transition: transform 1.6s cubic-bezier(.2,.7,.15,1) calc(.25s + var(--i) * .1s); }
.lg-strip > span { display: block; height: 112px; }
.lg-page.is-rolling .lg-strip { transform: translateY(0); transition: none; }
.lg-sep { font-family: var(--font-ui); font-size: 64px; font-weight: 900; color: #3a2108; align-self: flex-end; line-height: 1; margin: 0 -2px; }

.lg-lamp { flex: none; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d6ffd9 0 12%, #61e06c 35%, #1d7a2a 80%);
  box-shadow: 0 0 0 3px #6b4a1c, 0 0 16px rgba(97,224,108,.8); animation: pc-lamp 2.4s ease-in-out infinite; }

.lg-newest { display: flex; flex-direction: column; align-items: center; gap: 14px; color: #fff4df; }
.lg-newest b { font-family: var(--font-ui); font-weight: 800; line-height: 1.05; max-width: 440px; overflow-wrap: anywhere; }
.lg-newest__av { position: relative; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; overflow: hidden;
  font-family: var(--font-ui); font-weight: 800; font-size: 72px; color: #fff4df; box-shadow: 0 0 0 5px #d49a42, 0 8px 20px rgba(0,0,0,.7); }
.lg-newest__av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lg-newest__av--mono { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--tone) 62%, #f0c47a), var(--tone) 72%); }

.lg-dots { display: flex; justify-content: center; gap: 14px; padding-top: 10px; }
.lg-dots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(240,196,122,.25); transition: background .4s; }
.lg-dots i.is-on { background: #f0c47a; box-shadow: 0 0 10px rgba(240,196,122,.7); }

/* ---------- Painting billboard: sponsor ads in the frame (Wall TV channels "Show on: painting") ----------
   A 1600×1200 canvas (drawn large so it stays sharp when you walk up) that site.js maps onto the painting's corners, like the Ledger. */
.billboard { position: absolute; left: 0; top: 0; z-index: 3; width: 1600px; height: 1200px; transform-origin: 0 0;
  visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 1.6s ease; }
.billboard.is-fitted { visibility: visible; }
.billboard[data-shown] { opacity: 1; pointer-events: auto; }
.bb-ad { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; background: #0d0705; }
.bb-ad.is-on { opacity: 1; z-index: 1; }
.bb-ad a, .bb-ad > img { display: block; width: 100%; height: 100%; }
.bb-ad img, .bb-ad video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-ad::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px rgba(0,0,0,.55); }   /* soft canvas vignette, no hard edges */
/* "Sponsored": plain text with a soft shadow, no box (any box edge breaks up into a stray line at painting size) */
.bb-tag { position: absolute; left: 40px; bottom: 30px; z-index: 2;
  font-family: var(--font-ui); font-size: 40px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f6ead2;
  text-shadow: 0 0 14px rgba(0,0,0,.95), 0 0 28px rgba(0,0,0,.85), 0 2px 4px rgba(0,0,0,.9); }
.bb-zoom { position: absolute; right: 32px; bottom: 28px; z-index: 2; width: 108px; height: 108px; border-radius: 50%; cursor: zoom-in;
  font-size: 56px; line-height: 1; color: var(--brass-hi); background: rgba(10,6,4,.72); border: 4px solid rgba(212,154,66,.6); }
.bb-zoom:hover { background: rgba(212,154,66,.3); }
.theater-ledger .bb-zoom { display: none; }
.calibrate .billboard { display: none; }
@media (max-width: 768px) { .billboard { display: none; } }
@media (prefers-reduced-motion: reduce) { .billboard, .bb-ad { transition: none; } }

/* Walk up to the painting (theater on the Ledger) */
.lounge-hero.theater-ledger .lounge-stage__photo { filter: brightness(.3); transition: filter .9s ease; }
.lounge-hero.theater-ledger #wall-tv { opacity: .15; transition: opacity .6s ease; }
@media (min-width: 769px) { .lounge-hero:not(.is-theater) .ledger { cursor: zoom-in; } }

.calibrate .ledger { visibility: visible; outline: 3px dashed #ff2bd6; }
.calibrate .ledger { pointer-events: none; }
.calibrate .ledger .ledger__board { opacity: .3; }   /* see the real frame corners through it */
@media (max-width: 768px) { .ledger { display: none; } }
@media (prefers-reduced-motion: reduce) { .ledger__board, .lg-page, .lg-strip { transition: none; } }

/* ---------- 3d. Room hotspots (desktop) — pulsing brass pins ---------- */
.hotspot {
  position: absolute; z-index: 3;
  width: 2.2em; height: 2.2em; margin: -1.1em 0 0 -1.1em;     /* centre the pin on its coordinate */
  border: 0; padding: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 35% 30%, var(--brass-hi), var(--brass) 45%, var(--brass-lo) 100%);
  box-shadow: 0 0 0 .22em rgba(13,7,5,.55), 0 0 1.1em rgba(240,196,122,.55);
  color: var(--espresso); font-size: 1em;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hotspot--humidor { top: var(--hs-humidor-top); left: var(--hs-humidor-left); }
.hotspot--pairing { top: var(--hs-pairing-top); left: var(--hs-pairing-left); }
.hotspot::before {               /* soft expanding ring */
  content: ""; position: absolute; inset: -.2em; border-radius: 50%;
  border: .12em solid rgba(240,196,122,.85);
  animation: hotspot-ring 2.6s ease-out infinite;
}
.hotspot::after {                /* tiny engraved dot */
  content: ""; position: absolute; inset: 0; margin: auto; width: .55em; height: .55em; border-radius: 50%;
  background: var(--espresso); box-shadow: inset 0 .08em .1em rgba(255,255,255,.25);
}
.hotspot:hover, .hotspot:focus-visible { transform: scale(1.15); box-shadow: 0 0 0 .22em rgba(13,7,5,.55), 0 0 1.8em rgba(240,196,122,.9); }
.hotspot__label {
  position: absolute; left: 50%; bottom: calc(100% + .7em); transform: translate(-50%, .3em);
  white-space: nowrap; pointer-events: none; opacity: 0;
  font-family: var(--font-plaque); font-size: .95em; font-weight: 700; letter-spacing: .08em;
  color: var(--brass-hi); background: rgba(13,7,5,.9); border: 1px solid rgba(212,154,66,.5);
  padding: .35em .8em; border-radius: 3px; box-shadow: 0 .4em 1em rgba(0,0,0,.5);
  transition: opacity .25s ease, transform .25s ease;
}
.hotspot:hover .hotspot__label, .hotspot:focus-visible .hotspot__label { opacity: 1; transform: translate(-50%, 0); }
/* Pins near the photo's edges open their label inwards so it never runs off-screen */
.hotspot--edge-l .hotspot__label { left: -.4em; transform: translate(0, .3em); }
.hotspot--edge-r .hotspot__label { left: auto; right: -.4em; transform: translate(0, .3em); }
.hotspot--edge-l:hover .hotspot__label, .hotspot--edge-l:focus-visible .hotspot__label,
.hotspot--edge-r:hover .hotspot__label, .hotspot--edge-r:focus-visible .hotspot__label { transform: translate(0, 0); }
@keyframes hotspot-ring { 0% { transform: scale(.9); opacity: .9; } 80%, 100% { transform: scale(2.1); opacity: 0; } }

/* ---------- 3e. Lounge modals (native <dialog>) ---------- */
.lounge-modal {
  width: min(92vw, 560px); max-height: 88vh; padding: 0; overflow: auto;
  color: var(--parchment); font-family: var(--font-body);
  background: linear-gradient(180deg, var(--mahogany-2) 0%, var(--mahogany) 60%, #160a06 100%);
  border: 1px solid rgba(212,154,66,.55); border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.75), inset 0 1px 0 rgba(240,196,122,.15), 0 0 0 6px rgba(13,7,5,.6);
}
.lounge-modal::backdrop { background: rgba(8,4,3,.72); backdrop-filter: blur(3px); }
.lounge-modal[open] { animation: modal-in .35s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.lounge-modal__inner { position: relative; padding: 2.2rem 2.2rem 2rem; }
.lounge-modal__inner::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(212,154,66,.12); border-radius: 4px; pointer-events: none; }
.lounge-modal__close {
  position: absolute; top: .8rem; right: .8rem; z-index: 2; width: 2.2rem; height: 2.2rem;
  border-radius: 50%; border: 1px solid rgba(212,154,66,.4); background: rgba(13,7,5,.6);
  color: var(--brass); font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.lounge-modal__close:hover { color: var(--brass-hi); border-color: var(--brass); }
.lounge-modal__art { margin: -2.2rem -2.2rem 1.6rem; aspect-ratio: 16 / 8; overflow: hidden; border-bottom: 1px solid rgba(212,154,66,.3); }
.lounge-modal__art img { width: 100%; height: 100%; object-fit: cover; }
.lounge-modal h2 { font-size: 1.65rem; margin-bottom: .5rem; }
.lounge-modal p { margin: 0 0 1rem; }
.lounge-modal .eyebrow { margin-bottom: .5rem; }
.lounge-modal .btn { margin-top: .6rem; }
.lounge-modal__list { list-style: none; padding: 0; margin: 0 0 1.4rem; font-family: var(--font-ui); font-size: .92rem; }
.lounge-modal__list li { display: flex; gap: .7rem; padding: .5rem 0; border-bottom: 1px dashed rgba(212,154,66,.18); }
.lounge-modal__list li::before { content: "◆"; color: var(--brass); font-size: .7rem; padding-top: .3em; }
.pairing-specs { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.1rem; margin: 1.1rem 0 1.3rem; padding: 1rem 1.1rem;
  background: rgba(0,0,0,.22); border: 1px solid rgba(212,154,66,.2); border-radius: 4px; font-family: var(--font-ui); font-size: .92rem; }
.pairing-specs dt { color: var(--brass); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; padding-top: .2em; }
.pairing-specs dd { margin: 0; color: var(--parchment); }

/* Mobile-only lobby bits are hidden on desktop */
.lobby-directory { display: none; }

/* =====================================================================
   4. BELOW THE FOLD — MAHOGANY LOUNGE DECK
   ===================================================================== */
.deck { position: relative; background: var(--espresso); }
.deck-section {
  position: relative; padding: 5.5rem 1.25rem;
  /* warm amber sconce glow accents */
  background:
    radial-gradient(ellipse 38% 55% at 4% 0%, rgba(212,154,66,.10), transparent 70%),
    radial-gradient(ellipse 38% 55% at 96% 0%, rgba(212,154,66,.07), transparent 70%);
}
.deck-section + .deck-section { border-top: 1px solid rgba(212,154,66,.12); }
.container { max-width: var(--maxw); margin: 0 auto; }
.eyebrow { font-family: var(--font-plaque); font-size: .78rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--brass-lo); margin: 0 0 .8rem; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--parchment-dim); margin: 0; }
.ornament { display: flex; align-items: center; justify-content: center; gap: .8rem; color: var(--brass); margin: 0 auto 1rem; }
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--brass-lo)); }
.ornament::after { transform: scaleX(-1); }

/* Card shell (dark mahogany + brass hairline) */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--mahogany-2) 0%, var(--mahogany) 100%);
  border: 1px solid rgba(212,154,66,.28);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(240,196,122,.08);
  padding: 2rem;
}
.card::before { /* inner brass inlay */
  content: ""; position: absolute; inset: 6px; border: 1px solid rgba(212,154,66,.08); border-radius: 3px; pointer-events: none;
}

/* ---------- Section A: story + live forum ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: start; }
.story h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.story p { color: var(--parchment); }
.story p.lead { font-size: 1.15rem; color: var(--parchment); }
/* ---------- The Lounge by the Numbers (under the heritage story) ---------- */
.numbers { position: relative; margin-top: 2.6rem; padding: 1.6rem 1.6rem 1.3rem; border-radius: 8px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,154,66,.12), transparent 70%), linear-gradient(180deg, #1b0f09, #120a06);
  border: 1px solid rgba(212,154,66,.35); box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,220,160,.07); }
.numbers::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(212,154,66,.12); border-radius: 5px; pointer-events: none; }
.numbers__head { text-align: center; margin-bottom: 1.3rem; }
.numbers__eyebrow { margin: 0 0 .35rem; font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--brass); }
.numbers__eyebrow span { font-size: .6rem; margin: 0 .5em; }
.numbers__head h3 { margin: 0; font-family: var(--font-plaque); font-size: 1.35rem; letter-spacing: .06em; color: var(--brass-hi); }
.numbers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.numbers__tile { position: relative; padding: .95rem .9rem .85rem; text-align: center; border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(0,0,0,.25)); border: 1px solid rgba(212,154,66,.18);
  transition: border-color .3s, transform .3s; }
.numbers__tile:hover { border-color: rgba(240,196,122,.5); transform: translateY(-2px); }
.numbers__label { display: flex; align-items: center; justify-content: center; gap: .45em; font-family: var(--font-ui); font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--parchment-dim); }
.numbers__n { display: block; margin: .35rem 0 .25rem; font-family: var(--font-plaque); font-weight: 700; font-size: clamp(1.45rem, 2.1vw, 1.95rem); line-height: 1.05;
  color: #f3cf86; text-shadow: 0 2px 0 rgba(0,0,0,.55), 0 0 18px rgba(240,170,80,.18); font-variant-numeric: tabular-nums; white-space: nowrap; }
.numbers__note { display: block; font-family: var(--font-body); font-style: italic; font-size: .78rem; line-height: 1.35; color: #a8957c; }
.numbers__tile.is-live { border-color: rgba(110,210,125,.35); background: linear-gradient(180deg, rgba(60,160,80,.08), rgba(0,0,0,.25)); }
.numbers__tile.is-live .numbers__n { color: #b5f0bd; text-shadow: 0 2px 0 rgba(0,0,0,.55), 0 0 18px rgba(95,224,108,.25); }
.numbers__dot { width: .55rem; height: .55rem; border-radius: 50%; background: #5fe06c; animation: tvt-ping 1.8s infinite; }
.numbers__newest { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; padding: .7rem .9rem; border-radius: 6px; color: var(--parchment);
  background: linear-gradient(90deg, rgba(212,154,66,.14), rgba(212,154,66,.02)); border: 1px solid rgba(212,154,66,.25); font-size: .92rem; transition: border-color .3s; }
.numbers__newest:hover { border-color: rgba(240,196,122,.55); color: var(--parchment); }
.numbers__newest b { color: var(--brass-hi); }
.numbers__go { margin-left: auto; color: var(--brass); transition: transform .3s; }
.numbers__newest:hover .numbers__go { transform: translateX(3px); }
.numbers__av { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
  font-family: var(--font-plaque); font-weight: 700; color: #fbe9c9; box-shadow: 0 0 0 2px #d49a42; }
.numbers__av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.numbers__av--mono { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--tone) 62%, #f0c47a), var(--tone) 72%); }
@media (max-width: 560px) { .numbers { padding: 1.2rem 1rem 1rem; } .numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@keyframes tvt-ping { 0% { box-shadow: 0 0 0 0 rgba(95,224,108,.7); } 70% { box-shadow: 0 0 0 .6em rgba(95,224,108,0); } 100% { box-shadow: 0 0 0 0 rgba(95,224,108,0); } }

/* ---------- Live From the Forum card ---------- */
.forum-card { padding-bottom: 0; overflow: hidden; }
.forum-card__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.1rem; }
.forum-card__head h3 { margin: 0; font-size: 1.3rem; }
.forum-card__eyebrow { margin: 0 0 .3rem; font-size: .66rem; letter-spacing: .32em; }
.live-pill {
  display: inline-flex; align-items: center; gap: .5em; padding: .35em .75em .35em .6em; border-radius: 999px;
  font-family: var(--font-ui); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #f2c9c4; background: rgba(217,69,59,.1); border: 1px solid rgba(217,69,59,.35);
}
.live-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live-red); box-shadow: 0 0 8px var(--live-red); animation: pulse 1.8s infinite; }
.live-dot {
  display: inline-block; width: 8px; height: 8px; margin-right: .55em; border-radius: 50%; vertical-align: .08em;
  background: #5FD36A; animation: live-ping-site 1.8s ease-out infinite;
}
@keyframes live-ping-site { 0% { box-shadow: 0 0 0 0 rgba(95,211,106,.7); } 70% { box-shadow: 0 0 0 7px rgba(95,211,106,0); } 100% { box-shadow: 0 0 0 0 rgba(95,211,106,0); } }

/* Stat tiles: engraved numerals on a dark brass-edged strip */
.forum-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); margin: 0 0 1.1rem; padding: 0;
  border: 1px solid rgba(212,154,66,.2); border-radius: 4px; background: rgba(0,0,0,.22); overflow: hidden;
}
.forum-stats > div { display: flex; flex-direction: column-reverse; padding: .6rem .5rem .55rem; text-align: center; }
.forum-stats > div + div { border-left: 1px solid rgba(212,154,66,.14); }
.forum-stats dt { font-family: var(--font-ui); font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--parchment-dim); }
.forum-stats dd { margin: 0 0 .1rem; font-family: var(--font-plaque); font-size: 1.15rem; font-weight: 700; color: var(--brass-hi); line-height: 1.2; text-shadow: 0 1px 0 rgba(0,0,0,.8); }
.forum-stats .is-online dd { color: #9fe3a5; display: flex; align-items: center; justify-content: center; }

/* Thread rows */
.thread-list { list-style: none; margin: 0 -2rem; padding: 0; }
.thread {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem;
  padding: .85rem 2rem; border-top: 1px solid rgba(234,224,213,.06); transition: background .2s ease;
}
.thread::before {                              /* brass edge on hover */
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px; border-radius: 2px;
  background: var(--brass); opacity: 0; transform: scaleY(.4); transition: opacity .2s, transform .25s;
}
.thread:hover { background: linear-gradient(90deg, rgba(212,154,66,.07), rgba(212,154,66,.015) 70%, transparent); }
.thread:hover::before { opacity: 1; transform: none; }
.thread__body { min-width: 0; }
.thread__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.35; color: var(--parchment);
}
.thread__title::after { content: ""; position: absolute; inset: 0; }   /* whole row clickable */
.thread:hover .thread__title { color: var(--brass-hi); }
.thread__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; margin: .35rem 0 0;
  font-family: var(--font-ui); font-size: .76rem; color: var(--parchment-dim);
}
.thread__meta .author { color: var(--brass); font-weight: 500; }
.thread__node {
  max-width: 13rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: .12em .6em; border-radius: 999px; background: rgba(212,154,66,.08); border: 1px solid rgba(212,154,66,.3);
  font-size: .64rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--brass-hi);
}
.thread__when { white-space: nowrap; }
.new-tag {
  display: inline-block; margin-right: .45em; padding: .05em .45em; border-radius: 3px; vertical-align: .05em;
  font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #0d2a10; background: #7fd98a; box-shadow: 0 0 10px rgba(127,217,138,.35);
}

/* Avatars: real XenForo avatar, or a warm monogram */
.thread__av, .chip__av { flex: none; display: inline-grid; place-items: center; overflow: hidden; border-radius: 50%; }
.thread__av { width: 40px; height: 40px; box-shadow: 0 0 0 1px rgba(212,154,66,.45), 0 0 0 3px rgba(13,7,5,.9), 0 3px 8px rgba(0,0,0,.5); }
.thread__av, .chip__av { position: relative; }
.thread__av img, .chip__av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thread__av--mono, .chip__av--mono {
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--tone) 65%, #f0c47a), var(--tone) 72%);
  font-family: var(--font-plaque); font-weight: 700; color: #fbe9c9; text-shadow: 0 1px 1px rgba(0,0,0,.6);
}
.thread__av--mono { font-size: 1.05rem; }

/* Reply counter: brass-edged plaque, ember-warm on very big threads */
.thread__replies {
  position: relative; z-index: 1; pointer-events: none;
  min-width: 3.6rem; padding: .4rem .5rem .35rem; text-align: center; font-family: var(--font-ui);
  border: 1px solid rgba(212,154,66,.28); border-radius: 4px; background: rgba(0,0,0,.2);
}
.thread__replies b { display: block; font-size: 1.05rem; color: var(--brass); line-height: 1.1; font-variant-numeric: tabular-nums; }
.thread__replies small { font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--parchment-dim); }
.thread__replies.is-hot { border-color: rgba(240,150,80,.5); background: linear-gradient(180deg, rgba(240,120,50,.14), rgba(0,0,0,.2)); box-shadow: 0 0 14px rgba(240,120,50,.12); }
.thread__replies.is-hot b { color: #f6b26b; }

.forum-card__foot { margin: 0 -2rem; padding: .9rem 2rem; border-top: 1px solid rgba(234,224,213,.06); font-family: var(--font-ui); font-size: .85rem; }

/* Currently in the Lounge */
.online-bar { margin: 0 -2rem; padding: 1.1rem 2rem 1.3rem; border-top: 1px solid rgba(212,154,66,.22);
  background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.34)); font-family: var(--font-ui); }
.online-bar__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .7rem; }
.online-bar__head p { margin: 0; font-family: var(--font-plaque); font-weight: 700; font-size: .95rem; letter-spacing: .04em; color: var(--brass); }
.online-bar__count { font-size: .78rem; color: var(--parchment-dim); white-space: nowrap; }
.online-bar__count b { color: #9fe3a5; font-weight: 600; }
.online-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .65rem .2rem .2rem; border-radius: 999px;
  font-size: .78rem; color: var(--parchment); background: rgba(234,224,213,.05); border: 1px solid rgba(212,154,66,.22);
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { color: var(--brass-hi); border-color: rgba(212,154,66,.6); background: rgba(212,154,66,.1); }
.chip__av { width: 22px; height: 22px; font-size: .68rem; }
.chip--more { padding: .2rem .7rem; color: var(--parchment-dim); border-style: dashed; }
.online-bar__sub { margin: .7rem 0 0; font-size: .76rem; color: var(--parchment-dim); }

/* ---------- Section B: ecosystem cards ---------- */
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.eco-card { display: flex; flex-direction: column; }
.eco-card h3 { font-size: 1.5rem; }
.eco-card .sub { font-family: var(--font-ui); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--parchment-dim); margin: -.3rem 0 1rem; }
.eco-card p { color: var(--parchment); }
.eco-card .btn { margin-top: auto; align-self: flex-start; }
.schedule, .vault-preview { list-style: none; margin: .5rem 0 1.8rem; padding: 0; font-family: var(--font-ui); font-size: .9rem; }
.schedule li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed rgba(212,154,66,.18); }
.schedule .when { color: var(--brass); font-weight: 600; }
.schedule .tag { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--live-red); margin-left: .4rem; }
.vault-preview { border: 1px solid rgba(212,154,66,.2); border-radius: 4px; overflow: hidden; }
.vault-preview li { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: .65rem .9rem; border-bottom: 1px solid rgba(234,224,213,.06); }
.vault-preview li:last-child { border-bottom: 0; }
.vault-preview li:nth-child(odd) { background: rgba(0,0,0,.18); }
.vault-preview .qty { color: var(--brass); font-variant-numeric: tabular-nums; }
.vault-preview .rating { color: var(--parchment-dim); font-size: .8rem; }
.vault-preview .head { background: rgba(212,154,66,.1) !important; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--parchment-dim); }

/* ---------- Section C: article grid ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.article-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.article-card:hover { transform: translateY(-4px); border-color: rgba(212,154,66,.55); }
.article-card__art {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 70%, rgba(212,154,66,.22), transparent 65%), linear-gradient(160deg, #2e160c, #120806);
  border-bottom: 1px solid rgba(212,154,66,.2);
  color: var(--brass);
}
.article-card__art .art-icon { width: 64px; height: 64px; opacity: .85; }
.article-card__art.has-photo { display: block; }
.article-card__art.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.art-monogram { font-family: var(--font-plaque); font-size: 2.2rem; font-weight: 700; letter-spacing: .1em; color: var(--brass); opacity: .55; }
.article-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.article-card .cat { font-family: var(--font-ui); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-lo); margin-bottom: .5rem; }
.article-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.article-card h3 a { color: var(--parchment); }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.article-card:hover h3 a { color: var(--brass-hi); }
.article-card p { font-size: .95rem; color: var(--parchment-dim); margin: 0 0 1rem; }
.article-card .read { margin-top: auto; font-family: var(--font-ui); font-size: .8rem; color: var(--brass); }
.section-foot { text-align: center; margin-top: 2.8rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #120805, var(--espresso));
  border-top: 2px solid var(--brass-lo);
  box-shadow: inset 0 1px 0 rgba(240,196,122,.25);
  padding: 3.5rem 1.25rem 2rem;
  font-family: var(--font-ui); font-size: .9rem; color: var(--parchment-dim);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
.site-footer h2 { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--parchment); }
.site-footer a:hover { color: var(--brass-hi); }
.footer-about p { font-family: var(--font-body); font-size: .95rem; line-height: 1.65; margin: .6rem 0 0; }
.footer-legal { max-width: var(--maxw); margin: 2.8rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgba(212,154,66,.18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .8rem; }

/* =====================================================================
   5. MOBILE — "VIP LOUNGE LOBBY" (<= 768px)
   ===================================================================== */
@media (max-width: 768px) {
  body { font-size: 16px; padding-top: var(--header-h); }

  /* Header is always present on mobile, with a drawer */
  .site-header { opacity: 1; transform: none; pointer-events: auto; }
  .crest__est { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .header-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(22,10,6,.98); border-bottom: 1px solid rgba(212,154,66,.35);
    box-shadow: 0 20px 40px rgba(0,0,0,.6);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .header-nav.is-open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  /* dropdowns open inline in the phone drawer */
  .header-nav .has-sub { flex-wrap: wrap; gap: 0; border-bottom: 1px solid rgba(212,154,66,.12); }
  .header-nav .has-sub > a { flex: 1; border-bottom: 0; }
  .header-nav .sub-toggle { padding: .9rem .4rem .9rem 1rem; font-size: .95rem; }
  .header-nav .sub-toggle--label { flex: 1; justify-content: space-between; padding-left: 0; }
  .header-nav .sub-menu { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 .4rem 1rem; border: 0; border-left: 2px solid rgba(212,154,66,.35);
    border-radius: 0; background: none; box-shadow: none; transform: none; display: none; opacity: 1; visibility: visible; transition: none; }
  .header-nav .has-sub.is-open > .sub-menu { display: block; }
  .header-nav .sub-menu a { padding: .7rem 0; font-size: .9rem; white-space: normal; border-bottom: 0; }
  .header-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .header-nav li a { display: block; padding: .9rem 0; font-size: .95rem; border-bottom: 1px solid rgba(212,154,66,.12); }
  .header-nav li a.is-cta { margin-top: .9rem; text-align: center; border: 1px solid var(--brass); }

  /* The room photo becomes a moody backdrop instead of a tiny diorama */
  .lounge-hero {
    height: auto; min-height: 0; overflow: visible;
    padding: 1.6rem 1rem 2.2rem;
    background:
      linear-gradient(180deg, rgba(13,7,5,.78) 0%, rgba(13,7,5,.9) 60%, var(--espresso) 100%),
      var(--lounge-bg) 50% 30% / cover no-repeat;
  }
  .lounge-hero::after, .lounge-stage__photo, #lounge-nav, .scroll-cue, .hotspot { display: none; }
  .lounge-stage { position: static; width: auto; height: auto; transform: none; font-size: 14px; }

  /* The single H1 moves above the TV as the lobby title */
  .lounge-hero { display: flex; flex-direction: column; }
  .hero-title {
    order: -1; position: static; transform: none; white-space: normal; padding: 0; background: none;
    margin: 0 0 1.2rem;
  }
  .hero-title::before { font-size: .6rem; letter-spacing: .3em; margin-bottom: .3rem; }
  .ht-name { font-size: 2.3rem; letter-spacing: .1em; }
  .ht-tag { font-size: .74rem; letter-spacing: .22em; margin-top: .4rem; }
  .hero-title small { font-size: .58rem; letter-spacing: .22em; }
  .hero-title small::before, .hero-title small::after { width: 1.4rem; }
  .ambience { display: none; }

  /* Full-width TV, framed like a matte bezel */
  #wall-tv {
    font-size: 1em;                       /* no room-size scaling in the lobby layout */
    position: relative; inset: auto; width: 100%; height: 21.5em;
    border: 6px solid #050303; border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(212,154,66,.25), 0 16px 40px rgba(0,0,0,.6), inset 0 0 20px rgba(0,0,0,.9);
    touch-action: pan-y;  /* allow vertical scroll, we handle horizontal swipe */
  }
  .tv__ch { opacity: .85; }
  .tv__threads a { white-space: normal; }

  /* Lounge Directory tiles */
  .lobby-directory { display: block; margin-top: 1.6rem; }
  .lobby-directory h2 { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; text-align: center; color: var(--brass-lo); margin-bottom: .9rem; }
  .tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
  .tile {
    display: flex; flex-direction: column; gap: .2rem; height: 100%;
    padding: 1rem .9rem; border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(42,20,12,.85), rgba(13,7,5,.85));
    border: 1px solid rgba(212,154,66,.3);
    box-shadow: inset 0 1px 0 rgba(240,196,122,.1), 0 8px 20px rgba(0,0,0,.4);
    backdrop-filter: blur(4px);
  }
  .tile b { font-family: var(--font-plaque); font-size: .95rem; color: var(--brass); letter-spacing: .04em; }
  .tile span { font-family: var(--font-ui); font-size: .74rem; line-height: 1.35; color: var(--parchment-dim); }
  .tile:active { border-color: var(--brass); }
  .tile--cta { background: linear-gradient(160deg, rgba(212,154,66,.22), rgba(42,20,12,.9)); border-color: var(--brass); }

  /* Deck collapses to one column */
  .deck-section { padding: 3.5rem 1rem; }
  .split, .eco-grid, .article-grid, .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .card { padding: 1.4rem; }
  .online-bar, .forum-card__foot, .thread-list { margin-left: -1.4rem; margin-right: -1.4rem; }
  .online-bar, .forum-card__foot, .thread { padding-left: 1.4rem; padding-right: 1.4rem; }
  .thread { gap: .7rem; }
  .thread__av { width: 34px; height: 34px; }
  .thread__node { max-width: 9.5rem; }
  .schedule li { grid-template-columns: 6.3rem 1fr; }
}

/* Mid-size desktops: keep header links from wrapping */
@media (min-width: 769px) and (max-width: 1020px) {
  .header-nav ul { gap: 1rem; }
  .header-nav a { font-size: .74rem; }
  .split { gap: 2rem; }
}


/* =====================================================================
   7. INNER PAGES — articles, pages, archives (Phase 2)
   ===================================================================== */
body.inner { padding-top: var(--header-h); }
.header-nav a.is-active { color: var(--brass-hi); }

.page-hero {
  position: relative; padding: 4rem 1.25rem 2.5rem; text-align: center;
  background:
    radial-gradient(ellipse 45% 90% at 50% 0%, rgba(212,154,66,.14), transparent 70%),
    linear-gradient(180deg, var(--mahogany) 0%, var(--espresso) 100%);
  border-bottom: 1px solid rgba(212,154,66,.15);
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: .2rem auto .8rem; max-width: 860px; }
.page-hero .dek { max-width: 680px; margin: 0 auto; color: var(--parchment-dim); font-size: 1.1rem; }
.post-meta { font-family: var(--font-ui); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--parchment-dim); margin-top: 1.2rem; }
.post-meta a { color: var(--brass); }
.post-meta span + span::before { content: "·"; margin: 0 .6em; color: var(--brass-lo); }

.breadcrumbs { font-family: var(--font-ui); font-size: .78rem; letter-spacing: .08em; color: var(--parchment-dim); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4em; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: .4em; color: var(--brass-lo); }
.breadcrumbs a { color: var(--parchment-dim); }
.breadcrumbs a:hover { color: var(--brass-hi); }
.breadcrumbs [aria-current] { color: var(--brass); }

.reading { max-width: 1040px; margin: 0 auto; padding: 3rem 1.25rem 4.5rem; }
.reading:has(.read-card) { max-width: 1048px; }
.featured-figure { margin: 0 0 2.5rem; border: 1px solid rgba(212,154,66,.25); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.featured-figure img { width: 100%; height: auto; }

.prose { font-size: 1.1rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.2em; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 .2em; padding-bottom: .4em; border-bottom: 1px solid rgba(212,154,66,.18); }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .1em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(212,154,66,.4); text-underline-offset: .2em; }
.prose a:hover { text-decoration-color: var(--brass-hi); }
.prose strong { color: #fff6ea; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 0; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--brass); }
.prose blockquote { margin: 1.6em 0; padding: .4em 0 .4em 1.4em; border-left: 3px solid var(--brass); font-style: italic; color: var(--parchment); }
.prose img { border-radius: var(--radius); }
.prose hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brass-lo), transparent); margin: 2.5em 0; }
.prose .schedule { background: linear-gradient(180deg, var(--mahogany-2), var(--mahogany)); border: 1px solid rgba(212,154,66,.25); border-radius: var(--radius); padding: .5rem 1.4rem; font-size: 1rem; }
.prose .schedule li { margin: 0; }
.prose .schedule li:last-child { border-bottom: 0; }
.prose .schedule li::marker { content: none; }
.muted { color: var(--parchment-dim); }

.post-footer { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(212,154,66,.18); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }

.related { border-top: 1px solid rgba(212,154,66,.12); }

/* =====================================================================
   READING CARD — warm antique parchment sheet (default) / Dark Lounge
   The page around it keeps the dark mahogany atmosphere.
   ===================================================================== */
.read-card {
  position: relative; max-width: 1000px; margin: 0 auto;
  padding: 48px 56px;
  padding-top: 72px;                              /* room for the Paper / Dark Lounge toggle */
  border-radius: 10px;
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.read-card::before, .read-card::after {            /* double inner brass accent rule */
  content: ""; position: absolute; pointer-events: none; border-radius: 6px;
}
.read-card::before { inset: 9px; border: 1px solid rgba(176,128,52,.55); }
.read-card::after  { inset: 13px; border: 1px solid rgba(176,128,52,.22); border-radius: 4px; }

/* ---- Paper (default) ---- */
.read-card[data-theme="paper"] {
  color: #24170f;
  background-color: #f6efe2;
  background-image:
    /* fine paper grain (inline SVG noise, no extra file) */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .25  0 0 0 0 .12  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    /* gentle aged edges */
    radial-gradient(ellipse 120% 90% at 50% 40%, transparent 60%, rgba(150,105,45,.12) 100%);
  border: 1px solid rgba(197,155,75,.55);
  box-shadow:
    0 2px 0 rgba(255,255,255,.35) inset,
    0 30px 70px rgba(0,0,0,.55), 0 10px 24px rgba(0,0,0,.35), 0 0 0 6px rgba(13,7,5,.35);
}
.read-card[data-theme="paper"] .prose { font-size: 18px; line-height: 1.75; color: #24170f; }
.read-card[data-theme="paper"] .prose h2 {
  color: #4e2410; border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(176,128,52,.85), rgba(176,128,52,.15) 85%, transparent) 1;
}
.read-card[data-theme="paper"] .prose h3 { color: #6b3818; }
.read-card[data-theme="paper"] .prose strong { color: #1a0f08; }
.read-card[data-theme="paper"] .prose em { color: #3a2414; }
.read-card[data-theme="paper"] .prose a { color: #8c4a19; text-decoration-color: rgba(140,74,25,.55); text-decoration-thickness: 1px; }
.read-card[data-theme="paper"] .prose a:hover { color: #6b2f0c; text-decoration-color: #6b2f0c; }
.read-card[data-theme="paper"] .prose li::marker { color: #a06a24; }
.read-card[data-theme="paper"] .prose blockquote {
  font-style: normal; color: #2c1c11; background: #ece0cb;
  border-left: 3px solid #b8862f; border-radius: 0 6px 6px 0; padding: 1em 1.3em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.read-card[data-theme="paper"] .prose hr { background: linear-gradient(90deg, transparent, rgba(176,128,52,.7), transparent); }
.read-card[data-theme="paper"] .prose img { box-shadow: 0 6px 18px rgba(60,30,10,.25); }
.read-card[data-theme="paper"] .prose code { background: #ece0cb; color: #5a2c10; padding: .08em .35em; border-radius: 3px; font-size: .9em; }
.read-card[data-theme="paper"] .prose .schedule { background: #ece0cb; border: 1px solid rgba(176,128,52,.45); color: #24170f; }
.read-card[data-theme="paper"] .prose .schedule li { border-bottom-color: rgba(176,128,52,.35); }
.read-card[data-theme="paper"] .prose .schedule .when { color: #8c4a19; }
.read-card[data-theme="paper"] .prose .muted { color: #6f5a45; }
.read-card[data-theme="paper"] .featured-figure { border-color: rgba(176,128,52,.5); box-shadow: 0 10px 26px rgba(60,30,10,.3); }

/* ---- Dark Lounge ---- */
.read-card[data-theme="dark"] {
  color: var(--parchment);
  background: linear-gradient(180deg, #23130b 0%, #180c07 100%);
  border: 1px solid rgba(212,154,66,.35);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(240,196,122,.1);
}
.read-card[data-theme="dark"]::before { border-color: rgba(212,154,66,.3); }
.read-card[data-theme="dark"]::after  { border-color: rgba(212,154,66,.1); }
.read-card[data-theme="dark"] .prose { font-size: 18px; line-height: 1.75; color: #eadfd2; }
.read-card[data-theme="dark"] .prose blockquote { font-style: normal; background: rgba(212,154,66,.07); padding: 1em 1.3em; border-radius: 0 6px 6px 0; }

/* ---- Paper / Dark Lounge pill toggle ---- */
.reader-toggle {
  position: absolute; top: 18px; right: 22px; z-index: 2;
  display: inline-flex; padding: 3px; border-radius: 999px;
  font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .04em;
}
.reader-toggle button {
  display: inline-flex; align-items: center; gap: .35em; padding: .38em .85em; border: 0; border-radius: 999px; white-space: nowrap;
  font: inherit; cursor: pointer; background: transparent; transition: background .25s, color .25s, box-shadow .25s;
}
.read-card[data-theme="paper"] .reader-toggle { background: rgba(120,80,30,.1); border: 1px solid rgba(176,128,52,.4); }
.read-card[data-theme="paper"] .reader-toggle button { color: #7a5432; }
.read-card[data-theme="paper"] .reader-toggle button[aria-pressed="true"] { background: #fffaf0; color: #4e2410; box-shadow: 0 1px 3px rgba(60,30,10,.25); }
.read-card[data-theme="dark"] .reader-toggle { background: rgba(0,0,0,.3); border: 1px solid rgba(212,154,66,.35); }
.read-card[data-theme="dark"] .reader-toggle button { color: var(--parchment-dim); }
.read-card[data-theme="dark"] .reader-toggle button[aria-pressed="true"] { background: linear-gradient(180deg, #3a2112, #2a160b); color: var(--brass-hi); box-shadow: inset 0 1px 0 rgba(240,196,122,.2); }
.reader-toggle button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.read-card > .featured-figure, .read-card > .prose { position: relative; z-index: 1; }
.read-card > .featured-figure { margin-top: 1.4rem; }

@media (max-width: 768px) {
  .read-card { padding: 66px 22px 30px; border-radius: 8px; }
  .read-card::before { inset: 6px; } .read-card::after { inset: 9px; }
  .reader-toggle { top: 14px; right: 50%; transform: translateX(50%); }
  .read-card[data-theme] .prose { font-size: 17px; }
}
@media print {
  .reader-toggle { display: none; }
  .read-card { box-shadow: none; background: #fff !important; color: #000 !important; }
}

/* Archive */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0 0 2.8rem; padding: 0; list-style: none; }
.filters a {
  display: inline-block; padding: .5em 1.15em; border-radius: 999px;
  border: 1px solid rgba(212,154,66,.3); color: var(--parchment);
  font-family: var(--font-ui); font-size: .8rem; font-weight: 500; letter-spacing: .08em;
}
.filters a:hover { border-color: var(--brass); color: var(--brass-hi); }
.filters a[aria-current="page"] { background: var(--brass); border-color: var(--brass); color: var(--espresso); font-weight: 600; }
.article-card .date { font-family: var(--font-ui); font-size: .75rem; color: var(--parchment-dim); margin-left: .6em; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--parchment-dim); }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; font-family: var(--font-ui); }
.pagination a, .pagination span { min-width: 2.6rem; padding: .5em .8em; text-align: center; border: 1px solid rgba(212,154,66,.25); border-radius: 3px; color: var(--parchment); }
.pagination [aria-current] { background: var(--brass); color: var(--espresso); border-color: var(--brass); }

/* Admin shortcut (only rendered for a logged-in admin) */
.admin-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 150;
  font-family: var(--font-ui); font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  background: rgba(13,7,5,.92); color: var(--brass); border: 1px solid var(--brass-lo);
  padding: .55em 1em; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.5);
}
.admin-fab:hover { color: var(--brass-hi); border-color: var(--brass); }

@media (max-width: 768px) {
  body.inner { padding-top: var(--header-h); }
  .page-hero { padding: 2.6rem 1rem 1.8rem; }
  .reading { padding: 2rem 1rem 3rem; }
  .prose { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   6. CALIBRATION MODE (/?calibrate — only active for a logged-in admin)
   ===================================================================== */
.calibrate #lounge-nav, .calibrate #wall-tv { outline: 2px dashed #39ff14; outline-offset: -1px; }
.calibrate .hotspot { outline: 2px dashed #ff2bd6; outline-offset: 3px; }
.calibrate .lounge-stage { cursor: crosshair; }
.calib-box { position: absolute; z-index: 50; border: 2px solid #ff2bd6; background: rgba(255,43,214,.12); pointer-events: none; }
.calib-readout {
  position: fixed; left: 12px; bottom: 12px; z-index: 300; max-width: 92vw;
  font: 12px/1.5 ui-monospace, Menlo, monospace; color: #39ff14; background: rgba(0,0,0,.85);
  border: 1px solid #39ff14; padding: 10px 12px; white-space: pre; user-select: all;
}

/* =========================================================================
   LOGGED-IN MEMBERS: avatar chip + menu in the top bar, new-message pop-up
   ========================================================================= */
.header-nav .me { position: relative; }
.me__btn { display: inline-flex; align-items: center; gap: .55rem; padding: .25rem .7rem .25rem .3rem; border-radius: 99px; cursor: pointer;
  font-family: var(--font-plaque); font-size: .82rem; font-weight: 600; letter-spacing: .06em; color: var(--brass-hi);
  background: rgba(212,154,66,.08); border: 1px solid var(--brass-lo); transition: border-color .2s, background .2s; }
.me__btn:hover, .me.is-open .me__btn { border-color: var(--brass); background: rgba(212,154,66,.16); }
.me__av { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none;
  background: radial-gradient(circle at 35% 30%, #e2b766, #7a4a1c 75%); box-shadow: 0 0 0 1.5px var(--brass); }
.me__av b { font-family: var(--font-plaque); font-size: .8rem; color: #fff3dc; }
.me__av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.header-nav a { white-space: nowrap; }
.me__name { max-width: 8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me__badge { min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; display: inline-grid; place-items: center; border-radius: 99px;
  font-family: var(--font-ui); font-size: .7rem; font-weight: 800; color: #fff; background: #c8333d; box-shadow: 0 0 0 2px #1a0e09, 0 0 10px rgba(200,51,61,.6);
  animation: me-pop .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes me-pop { from { transform: scale(.3); } }
.header-nav ul.me__menu { position: absolute; right: 0; top: calc(100% + .8rem); z-index: 6; display: block; min-width: 15rem; margin: 0; padding: .45rem 0; list-style: none; border-radius: 6px;
  background: linear-gradient(180deg, #1b100a, #110906); border: 1px solid rgba(212,154,66,.35); box-shadow: 0 18px 40px rgba(0,0,0,.65);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.me.is-open .me__menu, .header-nav .me.is-open ul.me__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.me__hello { padding: .55rem 1.15rem .7rem; margin-bottom: .3rem; border-bottom: 1px solid rgba(212,154,66,.2);
  font-family: var(--font-body); font-style: italic; font-size: .9rem; color: var(--brass-hi); }
.header-nav .me__menu a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 1.15rem; font-size: .8rem; white-space: nowrap; }
.header-nav .me__menu a:hover { background: rgba(212,154,66,.1); text-shadow: none; }
.header-nav .me__menu .me__item { display: flex; width: 100%; align-items: center; gap: 1rem; padding: .55rem 1.15rem; font: inherit; font-size: .8rem; white-space: nowrap; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; letter-spacing: inherit; }
.header-nav .me__menu .me__item:hover { background: rgba(212,154,66,.1); }
.me__count { min-width: 1.3rem; padding: .05rem .4rem; border-radius: 99px; text-align: center; font-family: var(--font-ui); font-size: .68rem; color: #fff; background: #c8333d; }
.menu-toggle.has-unread::after { content: ""; position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: #c8333d; box-shadow: 0 0 0 2px #1a0e09; }
.menu-toggle { position: relative; }

@media (min-width: 769px) and (max-width: 1280px) { .me__name { display: none; } .me__btn { padding-right: .5rem; } }

/* New-message pop-up (.me-toast): its base look is in assets/css/cp-menotes.css, shared with the forum. The guest card and vHerf reminder below build on it. */
@media (max-width: 768px) {
  .header-nav .me { border-bottom: 1px solid rgba(212,154,66,.12); padding: .7rem 0; }
  .me__btn { width: 100%; justify-content: flex-start; }
  .header-nav ul.me__menu { position: static; display: none; margin-top: .5rem; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .header-nav .me.is-open ul.me__menu { display: block; }
  .me-toast { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .me-toast { transition: none; } .me-toast__icon, .me__badge { animation: none; } }

/* ---------- Guests: Log in + Join Free, invitation card ---------- */
.header-nav .guest-login a { color: var(--parchment-dim); }
.header-nav .guest-login a:hover { color: var(--brass-hi); }
.me-toast__logo { flex: none; width: 5.2rem; display: grid; place-items: center; }
.me-toast__logo img { width: 100%; height: auto; display: block; filter: drop-shadow(0 3px 6px rgba(0,0,0,.6)); }
.me-toast__title { font-family: var(--font-plaque); font-size: 1.1rem; letter-spacing: .04em; }
.header-nav li.guest-login a { font-size: .74rem; letter-spacing: .1em; }
.header-nav a.is-cta.is-join { color: #2a160b; background: linear-gradient(180deg, #f3d18c, #c88f38); border-color: #e2b766; font-weight: 700;
  box-shadow: 0 0 0 0 rgba(240,196,122,.5); animation: join-glow 3.2s ease-in-out 2s infinite; }
.header-nav a.is-cta.is-join:hover { color: #2a160b; filter: brightness(1.08); }
@keyframes join-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(240,196,122,0); } 50% { box-shadow: 0 0 14px 2px rgba(240,196,122,.45); } }
.me-toast__alt { font-size: .75rem; color: var(--brass); text-decoration: underline; text-underline-offset: 2px; }
.me-toast__alt:hover { color: var(--brass-hi); }
.me-toast--guest .me-toast__icon { animation: none; }
.me-toast--guest { max-width: min(30rem, calc(100vw - 2.5rem)); align-items: center; padding: 1.1rem 1.1rem 1.1rem 1rem; }
.me-toast--guest .me-toast__body { gap: .35rem; }
.me-toast--guest .me-toast__snip { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: .92rem; line-height: 1.45; }
.me-toast__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .45rem; }
@media (max-width: 768px) { .me-toast--guest .me-toast__logo { width: 4rem; } .me-toast--guest { align-items: flex-start; } }
@media (max-width: 768px) { .header-nav li.guest-login a { border-bottom: 1px solid rgba(212,154,66,.12); } .header-nav a.is-cta.is-join { color: #2a160b; } }
@media (prefers-reduced-motion: reduce) { .header-nav a.is-cta.is-join { animation: none; } }

/* =========================================================================
   POP-UP CARDS (Admin → Pop-up Cards)
   ========================================================================= */
.cp-card { position: fixed; bottom: 1.25rem; z-index: 190; display: flex; align-items: center; gap: 1rem;
  width: min(30rem, calc(100vw - 2.5rem)); padding: 1.1rem 1.1rem 1.1rem 1rem; border-radius: 8px; color: var(--parchment);
  background: linear-gradient(180deg, #24140c, #160c07); border: 1px solid rgba(212,154,66,.5);
  box-shadow: 0 22px 50px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,220,160,.08);
  opacity: 0; transform: translateY(1.5rem); transition: opacity .35s ease, transform .45s cubic-bezier(.2,1.2,.4,1); }
.cp-card[hidden] { display: none; }
.cp-card.is-in { opacity: 1; transform: none; }
.cp-card--right { right: 1.25rem; }
.cp-card--left  { left: 1.25rem; }
.admin-fab ~ #cp-cards .cp-card { bottom: 4.8rem; }          /* clear the admin's "Admin CP" button */
.cp-card__img { flex: none; width: 5.2rem; display: grid; place-items: center; }
.cp-card__img img { width: 100%; height: auto; max-height: 6rem; object-fit: contain; display: block; filter: drop-shadow(0 3px 6px rgba(0,0,0,.6)); }
.cp-card__body { display: grid; gap: .35rem; min-width: 0; flex: 1; }
.cp-card__title { font-family: var(--font-plaque); font-size: 1.1rem; letter-spacing: .04em; color: var(--brass-hi); padding-right: 1.2rem; }
.cp-card__text { margin: 0; font-family: var(--font-body); font-style: italic; font-size: .92rem; line-height: 1.45; color: #e4d4bb; }
.cp-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .45rem; }
.cp-card__btn { padding: .5rem 1rem; border-radius: 4px; font-family: var(--font-plaque); font-weight: 700; font-size: .82rem; letter-spacing: .06em; color: #2a160b;
  background: linear-gradient(180deg, #f3d18c, #c88f38); box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.cp-card__btn:hover { color: #2a160b; filter: brightness(1.08); }
.cp-card__link { font-size: .78rem; color: var(--brass); text-decoration: underline; text-underline-offset: 2px; }
.cp-card__link:hover { color: var(--brass-hi); }
.cp-card__x { position: absolute; top: .55rem; right: .6rem; padding: .15rem .35rem; border: 0; background: none; cursor: pointer; color: var(--parchment-dim); font-size: .85rem; }
.cp-card__x:hover { color: var(--brass-hi); }
@media (max-width: 768px) {
  .cp-card, .cp-card--left, .cp-card--right { left: .75rem; right: .75rem; width: auto; bottom: .75rem; align-items: flex-start; }
  .cp-card__img { width: 4rem; }
}
@media (prefers-reduced-motion: reduce) { .cp-card { transition: none; } }

/* Green "in the chat now" number next to Chat links */
.chat-count { display: inline-grid; place-items: center; min-width: 1.35em; height: 1.35em; margin-left: .3em; padding: 0 .35em;
  border-radius: 99px; vertical-align: .1em; font-family: var(--font-ui, system-ui, sans-serif); font-size: .76em; font-weight: 700;
  letter-spacing: 0; line-height: 1; color: #06210f; background: linear-gradient(180deg, #5ee08a, #24a552);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 0 10px rgba(70,220,120,.45); text-transform: none; text-shadow: none; }
.chat-count[hidden] { display: none; }
.site-footer .chat-count { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .chat-count { animation: cc-glow 3s ease-in-out infinite; }
  @keyframes cc-glow { 50% { box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 0 16px rgba(70,220,120,.7); } }
}
.me__badge[hidden], .me__count[hidden] { display: none; }
/* Members see "Enter Forum" and their chip: tighten the top bar so everything fits */
@media (min-width: 769px) and (max-width: 1700px) {
  .site-header.has-me .crest__est { display: none; }
  .site-header.has-me .header-nav ul { gap: 1.15rem; }
}
@media (min-width: 769px) and (max-width: 1500px) {
  .site-header.has-me .me__name { display: none; }
  .site-header.has-me .me__btn { padding-right: .5rem; }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .site-header.has-me .header-nav ul { gap: .8rem; }
}
/* Narrow desktops / tablets in landscape: the menu has grown, so give the links room (all visitors) */
@media (min-width: 769px) and (max-width: 1366px) { .crest__est { display: none; } }
@media (min-width: 769px) and (max-width: 1180px) {
  .crest.has-logo .crest__name { display: none; }
  .header-nav ul, .site-header.has-me .header-nav ul { gap: .85rem; }
}
@media (min-width: 769px) and (max-width: 1000px) {
  .header-nav ul, .site-header.has-me .header-nav ul { gap: .6rem; }
  .header-nav > ul > li > a, .header-nav .has-sub > a { font-size: .78rem; letter-spacing: .03em; }
  .header-nav a.is-cta { padding-left: .6rem; padding-right: .6rem; }
}

/* ============================== vHerf: LIVE tag, live panel, session list ============================== */
.vh-badge { display: inline-flex; align-items: center; gap: .3em; margin-left: .45em; padding: .22em .5em .2em; border-radius: 3px; vertical-align: .12em;
  font-family: var(--font-ui); font-size: .62em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  color: #fff; background: var(--live-red); box-shadow: 0 0 12px rgba(217,69,59,.55); text-shadow: none; }
.vh-badge::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: #fff; animation: vh-blink 1.6s infinite; }
.vh-badge[hidden] { display: none; }
.site-footer .vh-badge { font-size: .55em; }

.vh-dot { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--brass); vertical-align: .08em; box-shadow: 0 0 8px rgba(212,154,66,.6); }
.vh-dot.is-live { background: var(--live-red); box-shadow: 0 0 10px var(--live-red); animation: vh-blink 1.6s infinite; }
.vh-status { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cp-card .vh-status { color: var(--brass-hi); }

/* Big status panel on the vHerf page */
.vh-live { position: relative; overflow: hidden; margin: 1.2rem 0 1.6rem; padding: 2rem 1.5rem 1.6rem; text-align: center; border-radius: 10px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(212,154,66,.16), transparent 60%), linear-gradient(180deg, #24110a, #150a06);
  border: 1px solid rgba(212,154,66,.35); box-shadow: inset 0 1px 0 rgba(255,220,160,.08), 0 18px 40px rgba(0,0,0,.35); }
.vh-live__glow { position: absolute; inset: -40% -10% auto; height: 80%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(240,196,122,.18), transparent); filter: blur(10px); }
.vh-live--live { border-color: rgba(217,69,59,.65); box-shadow: 0 0 0 1px rgba(217,69,59,.25), 0 0 40px rgba(217,69,59,.18), 0 18px 40px rgba(0,0,0,.35); }
.vh-live--live .vh-live__glow { background: radial-gradient(closest-side, rgba(217,69,59,.22), transparent); }
.vh-live__kicker { margin: 0 0 .4rem; font-family: var(--font-ui); font-size: .78rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }
.vh-live--live .vh-live__kicker { color: #ff8b80; }
.vh-live__title { margin: 0 0 .3rem; font-family: var(--font-plaque); font-size: clamp(1.5rem, 3.6vw, 2.3rem); color: var(--brass-hi); letter-spacing: .04em; }
.vh-live__when { margin: 0 0 1.2rem; font-family: var(--font-ui); color: var(--parchment); }
.vh-local { color: var(--parchment-dim); }
.vh-count { display: inline-flex; gap: .6rem; margin: .2rem 0 .5rem; }
.vh-count__cell { display: grid; gap: .35rem; min-width: 4.4rem; padding: .7rem .4rem .55rem; border-radius: 6px;
  background: linear-gradient(180deg, #120805, #24120a 50%, #120805 50.5%, #1c0d07); border: 1px solid rgba(212,154,66,.4);
  box-shadow: inset 0 1px 0 rgba(255,220,160,.1), 0 6px 14px rgba(0,0,0,.4); }
.vh-count__cell b { font-family: var(--font-ui); font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800; line-height: 1; color: var(--brass-hi);
  font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(240,196,122,.35); }
.vh-count__cell small { font-family: var(--font-ui); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--parchment-dim); }
.vh-count.no-days .vh-count__cell:first-child { display: none; }
.vh-live--live .vh-count__cell b { color: #ffd2cc; text-shadow: 0 0 18px rgba(217,69,59,.5); }
.vh-live__sub { margin: 0 0 1.2rem; font-family: var(--font-ui); font-size: .9rem; color: var(--parchment-dim); }
.vh-join { font-size: 1.05rem; padding: .85rem 1.8rem; }
.vh-live--live .vh-join, .vh-live--soon .vh-join { animation: vh-pulse 2.2s ease-in-out infinite; }
@keyframes vh-pulse { 50% { box-shadow: 0 0 0 6px rgba(240,196,122,.15), 0 0 30px rgba(240,196,122,.35); } }
.vh-live__fine { margin: .8rem 0 0; font-family: var(--font-ui); font-size: .85rem; color: var(--parchment-dim); }
.vh-live__cal { margin: 1.1rem 0 0; font-family: var(--font-ui); font-size: .85rem; }
.vh-live__cal a { color: var(--brass-hi); }

.vh-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .55rem; }
.vh-list__item { display: flex; align-items: center; gap: 1rem; padding: .7rem .9rem; border-radius: 8px; background: rgba(255,255,255,.02); border: 1px solid rgba(212,154,66,.16); }
.vh-list__item.is-live { border-color: rgba(217,69,59,.55); background: rgba(217,69,59,.07); }
.vh-list__date { flex: none; display: grid; justify-items: center; width: 3.4rem; padding: .35rem 0; border-radius: 6px; background: rgba(212,154,66,.1); border: 1px solid rgba(212,154,66,.25);
  font-family: var(--font-ui); line-height: 1.05; }
.vh-list__date b { font-size: 1.35rem; color: var(--brass-hi); }
.vh-list__date small { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--parchment-dim); }
.vh-list__main { display: grid; gap: .15rem; font-family: var(--font-ui); }
.vh-list__main b { color: var(--parchment); font-weight: 600; }
.vh-list__main small { color: var(--parchment-dim); font-size: .82rem; }
.vh-list .tag { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--live-red); margin-left: .35rem; }
.vh-list .tag--extra { color: var(--brass); }

.vh-mini__status { margin: .4rem 0 .2rem; font-family: var(--font-ui); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-hi); }
@media (max-width: 520px) { .vh-count { gap: .35rem; } .vh-count__cell { min-width: 3.6rem; } }
@media (prefers-reduced-motion: reduce) { .vh-badge::before, .vh-dot.is-live, .vh-join { animation: none !important; } }
@keyframes vh-blink { 50% { opacity: .35; } }
/* inside an article (Paper or Dark Lounge reading card): keep the panel's own colours */
.read-card .prose .vh-live { text-align: center; }
.read-card .prose .vh-live .vh-live__title { margin: 0 0 .3rem; color: var(--brass-hi); font-size: clamp(1.5rem, 3.6vw, 2.3rem); border: 0; padding: 0; }
.read-card .prose .vh-live p { color: var(--parchment); }
.read-card .prose .vh-live .vh-live__sub, .read-card .prose .vh-live .vh-live__fine { color: var(--parchment-dim); }
.read-card .prose .vh-live .vh-live__kicker { color: var(--brass); }
.read-card .prose .vh-live--live .vh-live__kicker { color: #ff8b80; }
.read-card .prose .vh-live a.vh-join { color: #2a160b; text-decoration: none; }
.read-card .prose .vh-live .vh-live__cal a { color: var(--brass-hi); }
.read-card .prose .vh-live strong, .read-card .prose .vh-live b { color: inherit; }
.read-card .prose .vh-count__cell b { color: var(--brass-hi); }
.read-card .prose .vh-list { padding: 0; }
.read-card .prose .vh-list li { margin: 0; }
.read-card[data-theme="paper"] .prose .vh-list__item { background: rgba(255,255,255,.35); border-color: rgba(140,90,40,.28); }
.read-card[data-theme="paper"] .prose .vh-list__item.is-live { background: rgba(217,69,59,.08); border-color: rgba(190,60,50,.5); }
.read-card[data-theme="paper"] .prose .vh-list__date { background: rgba(160,106,36,.12); border-color: rgba(140,90,40,.3); }
.read-card[data-theme="paper"] .prose .vh-list__date b { color: #6b3818; }
.read-card[data-theme="paper"] .prose .vh-list__date small, .read-card[data-theme="paper"] .prose .vh-list__main small, .read-card[data-theme="paper"] .prose .vh-local { color: #6e5a46; }
.read-card[data-theme="paper"] .prose .vh-list__main b { color: #24170f; }
.read-card[data-theme="paper"] .prose .vh-live .vh-local { color: var(--parchment-dim); }
/* the plaque is small: just a pulsing red dot there */
#lounge-nav .vh-badge { font-size: 0; width: 7px; height: 7px; padding: 0; margin-left: 5px; border-radius: 50%; vertical-align: .2em; box-shadow: 0 0 8px var(--live-red); animation: vh-blink 1.6s infinite; }
#lounge-nav .vh-badge::before { display: none; }
.vh-mini .schedule li { grid-template-columns: minmax(9.5rem, auto) 1fr; }

/* ============================== Contact page ============================== */
.contact { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); min-height: 70vh; }
.contact__room { position: absolute; inset: 0; z-index: -1; background: var(--contact-bg) center 40% / cover no-repeat; filter: blur(3px) saturate(.9); transform: scale(1.04); }
.contact__room::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 70% at 30% 35%, rgba(13,7,5,.45), rgba(13,7,5,.78) 75%), linear-gradient(180deg, rgba(13,7,5,.25) 40%, rgba(13,7,5,.95)); }
.contact__wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__kicker { margin: 0 0 .6rem; font-family: var(--font-ui); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
.contact__intro h1 { margin: 0 0 1rem; font-family: var(--font-plaque); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; color: var(--brass-hi);
  text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.contact__lead { margin: 0 0 2rem; font-family: var(--font-body); font-size: 1.12rem; line-height: 1.7; color: var(--parchment); max-width: 34rem; }
.contact__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.contact__facts li { display: flex; gap: .9rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 8px; background: rgba(20,10,6,.55);
  border: 1px solid rgba(212,154,66,.2); backdrop-filter: blur(4px); }
.contact__facts span { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; font-size: 1.1rem;
  background: radial-gradient(circle at 35% 30%, #3a2012, #160a05); border: 1px solid rgba(212,154,66,.6); box-shadow: 0 2px 8px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,220,160,.15); }
.contact__facts b { display: block; font-family: var(--font-ui); color: var(--brass-hi); font-size: .95rem; }
.contact__facts small { font-family: var(--font-ui); color: var(--parchment-dim); font-size: .85rem; }
.contact__facts a { color: var(--brass-hi); }

/* the letterhead card */
.contact__card { position: relative; padding: 1.6rem clamp(1.2rem, 3.5vw, 2.4rem) 2rem; border-radius: 6px; color: #2a1a10;
  background: radial-gradient(120% 80% at 20% 0%, #fbf5ea, #f1e5cf 70%, #e8d8bb);
  box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(160,110,40,.35), inset 0 0 0 6px #f6ecda, inset 0 0 0 7px rgba(176,128,52,.45); }
.contact__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .3 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.contact__letterhead { display: flex; align-items: center; justify-content: center; gap: .9rem; padding-bottom: 1.1rem; margin-bottom: 1.4rem;
  border-bottom: 1px solid rgba(160,106,36,.35); box-shadow: 0 1px 0 rgba(255,255,255,.6); }
.contact__logo { height: 52px; width: auto; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.contact__letterhead b { display: block; font-family: var(--font-plaque); font-size: 1.35rem; letter-spacing: .16em; color: #6b3818; line-height: 1.1; }
.contact__letterhead small { font-family: var(--font-plaque); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: #9a7448; }

.contact__form { position: relative; display: grid; gap: 1.05rem; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf { position: relative; display: grid; gap: .35rem; }
.cf > span { font-family: var(--font-ui); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7a5228; }
.cf > span small { font-weight: 400; letter-spacing: .04em; text-transform: none; color: #9a8268; }
.cf input, .cf select, .cf textarea { width: 100%; padding: .75rem .85rem; font: 400 1rem/1.5 var(--font-ui); color: #24170f;
  background: rgba(255,252,245,.85); border: 1px solid rgba(150,100,40,.35); border-radius: 4px; box-shadow: inset 0 1px 3px rgba(80,50,20,.08);
  transition: border-color .2s, box-shadow .2s, background .2s; }
.cf textarea { resize: vertical; min-height: 9rem; font-family: var(--font-body); font-size: 1.02rem; line-height: 1.65; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: none; border-color: #b77a2a; background: #fffdf8; box-shadow: 0 0 0 3px rgba(212,154,66,.25); }
.cf input[readonly] { background: rgba(227,243,230,.6); border-color: rgba(40,130,70,.35); }
.cf__ok { position: absolute; right: .7rem; bottom: .8rem; font-style: normal; font-family: var(--font-ui); font-size: .75rem; font-weight: 700; color: #1d6b33; }
.cf__count { justify-self: end; font-family: var(--font-ui); font-size: .72rem; color: #9a8268; }
.cf em { font-style: normal; font-family: var(--font-ui); font-size: .82rem; color: #a3231b; }
.cf.has-err input, .cf.has-err select, .cf.has-err textarea { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.contact__err { padding: .75rem 1rem; border-radius: 4px; background: #fbe3df; border: 1px solid #e3a49c; color: #8a1f17; font-family: var(--font-ui); font-size: .9rem; }
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__send { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .3rem; }
.contact__send small { font-family: var(--font-ui); font-size: .82rem; color: #8a7058; }
.contact__btn { min-width: 12rem; }
.contact__form.is-sending .contact__btn { pointer-events: none; opacity: .8; }
.contact__form.is-sending .contact__btn span::after { content: " …"; }

/* sent: wax seal */
.contact__sent { position: relative; text-align: center; padding: 1rem 0 .5rem; }
.contact__sent h2 { margin: .6rem 0 .5rem; font-family: var(--font-plaque); font-size: 1.9rem; color: #6b3818; }
.contact__sent p { margin: 0 auto 1.6rem; max-width: 26rem; font-family: var(--font-body); font-size: 1.08rem; line-height: 1.6; color: #3a2414; }
.contact__sent a:not(.btn) { color: #8c4a19; }
.contact__seal { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #d4584b, #8f1d15 62%, #6e140e);
  box-shadow: 0 6px 16px rgba(110,20,14,.45), inset 0 -4px 8px rgba(0,0,0,.35), inset 0 3px 6px rgba(255,170,150,.35);
  clip-path: polygon(50% 0%, 61% 6%, 73% 3%, 80% 13%, 92% 16%, 93% 29%, 100% 39%, 95% 50%, 100% 61%, 93% 71%, 92% 84%, 80% 87%, 73% 97%, 61% 94%, 50% 100%, 39% 94%, 27% 97%, 20% 87%, 8% 84%, 7% 71%, 0% 61%, 5% 50%, 0% 39%, 7% 29%, 8% 16%, 20% 13%, 27% 3%, 39% 6%);
  animation: seal-in .7s cubic-bezier(.2,1.4,.4,1) both; }
.contact__seal span { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 2px solid rgba(255,200,185,.45);
  font: 700 2rem/1 var(--font-plaque); color: #ffe3dc; text-shadow: 0 -1px 0 rgba(0,0,0,.35); }
@keyframes seal-in { from { transform: scale(1.8) rotate(-18deg); opacity: 0; } to { transform: none; opacity: 1; } }
.contact__sent-actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.contact__card .btn--ghost { color: #6b3818; border-color: rgba(140,90,40,.5); }

.site-footer .footer-contact { margin-top: 1.1rem; color: #2a160b; }
.site-footer .footer-contact:hover { color: #2a160b; }

@media (max-width: 900px) {
  .contact__wrap { grid-template-columns: 1fr; }
  .contact__lead { margin-bottom: 1.2rem; }
  .contact__facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .contact__row { grid-template-columns: 1fr; } .contact__btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .contact__seal { animation: none; } }
@media (max-width: 900px) {                       /* phones: heading, then the form, then the facts */
  .contact__wrap { display: flex; flex-direction: column; gap: 1.4rem; padding-inline: 1.1rem; }
  .contact__intro { display: contents; }
  .contact__intro > * { margin-bottom: 0; }
  .contact__card { order: 2; }
  .contact__facts { order: 3; }
}
#lounge-nav li:first-child a.is-cta { margin-top: 0; margin-bottom: .35em; }

/* Plaque "Currently online" counter: easier to read */
#lounge-nav .pc__drum.is-lead { display: none; }                      /* "61", not "0061" */
#lounge-nav .pc__drum { width: 1.1em; font-size: 1.55em; font-weight: 700; color: #fff8ea; }
#lounge-nav .pc__strip > span { text-shadow: 0 0 .35em rgba(255,236,200,.35), 0 1px 0 #000; }
#lounge-nav .pc__drum::after { background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, transparent 26%, transparent 74%, rgba(0,0,0,.6) 100%),
  linear-gradient(180deg, rgba(255,255,255,.1) 0 7%, transparent 8%); }
#lounge-nav .pc__bezel { padding: .3em .5em; gap: .45em; }
#lounge-nav .pc__label, .draw-frames #lounge-nav .pc__label { font-family: var(--font-ui); font-size: .9em; font-weight: 700; letter-spacing: .14em; color: var(--brass-hi); margin-bottom: .55em; white-space: nowrap; }
#lounge-nav .pc__unit, .draw-frames #lounge-nav .pc__unit { font-family: var(--font-ui); font-size: .8em; font-weight: 600; letter-spacing: .14em; color: #e6cfa4; margin-top: .5em; white-space: nowrap; }
/* Plaque crest: bigger, brighter (site.js trims it to the width if needed) */
#lounge-nav .plaque__crest { font-size: 2em; letter-spacing: .06em; color: var(--brass-hi); white-space: nowrap; }
#lounge-nav .plaque__est, .draw-frames #lounge-nav .plaque__est { font-family: var(--font-ui); font-size: max(.36em, 10px); font-weight: 600; letter-spacing: .32em; color: #e0c48f; margin-top: .45em; }

/* ============================== Friends Remembered ============================== */
.memorial-page { background: #0b0604; }
.memorial { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 4rem;
  background: radial-gradient(60rem 36rem at 50% 0%, rgba(214,150,70,.13), transparent 70%), linear-gradient(180deg, #120a06, #0b0604 30rem); }
.memorial__head { max-width: 46rem; margin: 0 auto 3.5rem; padding: 0 1.4rem; text-align: center; }
.memorial__candle { position: relative; width: 2.2rem; height: 5.2rem; margin: 0 auto 1.4rem; }
.memorial__wax { position: absolute; left: .45rem; right: .45rem; bottom: 0; height: 3.2rem; border-radius: .25rem .25rem .15rem .15rem;
  background: linear-gradient(90deg, #d8c7a6, #f3e8d0 40%, #cdb894); box-shadow: inset 0 -.6rem .8rem rgba(120,90,50,.25), 0 0 1.6rem rgba(255,190,110,.18); }
.memorial__wick { position: absolute; left: 50%; bottom: 3.15rem; width: 2px; height: .45rem; margin-left: -1px; background: #2a1a10; }
.memorial__flame { position: absolute; left: 50%; bottom: 3.5rem; width: .8rem; height: 1.45rem; margin-left: -.4rem; border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 50% 75%, #fff8e6 0 18%, #ffd27a 38%, #f08a24 68%, rgba(240,120,30,0) 72%);
  box-shadow: 0 0 1.2rem .3rem rgba(255,170,70,.45), 0 0 3.5rem 1.2rem rgba(255,150,60,.18); transform-origin: 50% 90%; animation: mem-flicker 3.2s ease-in-out infinite; }
@keyframes mem-flicker { 0%, 100% { transform: scale(1) rotate(-1deg); opacity: 1; } 30% { transform: scale(.97, 1.04) rotate(1.5deg); } 55% { transform: scale(1.02, .97) rotate(-.5deg); opacity: .93; } 80% { transform: scale(.99, 1.02) rotate(1deg); } }
.memorial__kicker { margin: 0 0 .5rem; font-family: var(--font-ui); font-size: .8rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: #b99660; }
.memorial__head h1 { margin: 0; font-family: var(--font-plaque); font-size: clamp(2.3rem, 5.5vw, 3.8rem); font-weight: 700; letter-spacing: .06em; line-height: 1.05;
  background: linear-gradient(180deg, #fbe8c2, #e0b56a 55%, #a87a35); -webkit-background-clip: text; background-clip: text; color: transparent; }
.memorial__rule, .memorial__sep { display: flex; align-items: center; justify-content: center; gap: 1rem; color: #b99660; }
.memorial__rule { margin: 1.3rem auto 1.6rem; max-width: 22rem; }
.memorial__rule::before, .memorial__rule::after, .memorial__sep::before, .memorial__sep::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,170,100,.6)); }
.memorial__rule::after, .memorial__sep::after { transform: scaleX(-1); }
.memorial__rule span, .memorial__sep span { font-size: .8rem; }
.memorial__intro { margin: 0 0 1.1rem; font-family: var(--font-body); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.8; color: #e3d6c1; }
.memorial__intro:first-of-type { font-size: clamp(1.15rem, 1.6vw, 1.32rem); color: #f1e5d0; }
.memorial__admin { margin-top: 1.6rem; font-family: var(--font-ui); font-size: .85rem; }
.memorial__admin a { color: #e0b56a; }

.memorial__list { max-width: 72rem; margin: 0 auto; padding: 0 1.4rem; }
.memorial__sep { max-width: 30rem; margin: 3.4rem auto; opacity: .7; }
.friend { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.friend--flip .friend__gallery { order: 2; }

/* the photo, matted and framed */
.friend__cover { position: relative; display: block; width: 100%; padding: .7rem; border: 0; cursor: zoom-in; border-radius: 3px;
  background: linear-gradient(145deg, #3a2414, #1c0f08); box-shadow: 0 1.4rem 3rem rgba(0,0,0,.55), inset 0 0 0 1px rgba(224,181,106,.55), inset 0 0 0 .35rem #1a0e07, inset 0 0 0 calc(.35rem + 1px) rgba(224,181,106,.25); }
.friend__cover img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #0a0604; border-radius: 1px; filter: saturate(.92); transition: filter .4s ease; }
.friend__cover:hover img, .friend__cover:focus-visible img { filter: saturate(1); }
.friend__count { position: absolute; right: 1.2rem; bottom: 1.2rem; padding: .3rem .7rem; border-radius: 99px; font-family: var(--font-ui); font-size: .74rem; font-weight: 600;
  letter-spacing: .06em; color: #f6ead6; background: rgba(10,6,4,.72); backdrop-filter: blur(4px); }
.friend__cap { margin: .7rem .2rem 0; font-family: var(--font-body); font-style: italic; font-size: .95rem; color: #cbb999; text-align: center; }
.friend__thumbs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: .9rem; }
.friend__thumb { width: 4.4rem; height: 3.3rem; padding: 0; border: 1px solid rgba(224,181,106,.25); border-radius: 3px; overflow: hidden; cursor: pointer; background: #0a0604; opacity: .62; transition: opacity .25s, border-color .25s; }
.friend__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.friend__thumb:hover, .friend__thumb.is-on { opacity: 1; border-color: #e0b56a; }
.friend__nophoto { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 3px;
  background: radial-gradient(70% 70% at 50% 40%, #2a170c, #120a06); box-shadow: inset 0 0 0 1px rgba(224,181,106,.35), inset 0 0 0 .35rem #120a06, inset 0 0 0 calc(.35rem + 1px) rgba(224,181,106,.18); }
.friend__nophoto span { display: grid; place-items: center; width: 7rem; height: 8.6rem; border-radius: 50%; font-family: var(--font-plaque); font-size: 2.6rem; letter-spacing: .06em; color: #e0b56a;
  border: 1px solid rgba(224,181,106,.5); box-shadow: inset 0 0 0 .3rem #170c06, inset 0 0 0 calc(.3rem + 1px) rgba(224,181,106,.3); }

/* the words */
.friend__body { text-align: center; }
.friend__name { margin: 0; font-family: var(--font-plaque); font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: .04em; line-height: 1.1; color: #f1d9a8; }
.friend__years { margin: .35rem 0 0; font-family: var(--font-plaque); font-size: 1.05rem; letter-spacing: .28em; color: #b99660; }
.friend__rule { width: 5rem; height: 1px; margin: 1.1rem auto 1.2rem; background: linear-gradient(90deg, transparent, #e0b56a, transparent); }
.friend__facts { display: grid; gap: .85rem; margin: 0; }
.friend__facts dt { font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #a98b5c; }
.friend__facts dd { margin: .2rem 0 0; font-family: var(--font-body); font-size: 1.22rem; color: #f1e5d0; }
.friend__facts a { color: #f0c47a; text-decoration: none; border-bottom: 1px solid rgba(240,196,122,.35); }
.friend__facts a:hover { border-bottom-color: #f0c47a; }
.friend__tribute { margin: 1.4rem auto 0; max-width: 30rem; padding: 0; font-family: var(--font-body); font-style: italic; font-size: 1.15rem; line-height: 1.7; color: #e3d6c1; }
.friend__tribute::before { content: "“"; display: block; font-family: var(--font-plaque); font-style: normal; font-size: 2.4rem; line-height: .6; color: #a98b5c; }
.friend__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1.5rem 0 0; padding: 0; }
.friend__links a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.05rem; border-radius: 99px; font-family: var(--font-ui); font-size: .9rem; font-weight: 600;
  color: #f0c47a; text-decoration: none; border: 1px solid rgba(240,196,122,.4); background: rgba(240,196,122,.05); transition: background .25s, border-color .25s; }
.friend__links a:hover { background: rgba(240,196,122,.13); border-color: #f0c47a; }
.memorial__empty { text-align: center; color: #b9a88c; font-family: var(--font-body); font-style: italic; }
.memorial__foot { margin-top: 4.5rem; text-align: center; }
.memorial__foot p { font-family: var(--font-plaque); font-size: 1rem; letter-spacing: .3em; text-transform: uppercase; color: #8f7550; }

/* photo viewer */
.mlb { position: fixed; inset: 0; z-index: 400; display: grid; grid-template-columns: 4rem 1fr 4rem; align-items: center; background: rgba(6,3,2,.94); opacity: 0; transition: opacity .25s ease; }
.mlb.is-in { opacity: 1; }
.mlb[hidden] { display: none; }
.mlb__fig { grid-column: 2; margin: 0; display: grid; justify-items: center; gap: .8rem; max-height: 100vh; padding: 3.5rem 0 4rem; }
.mlb__fig img { max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; border-radius: 2px; box-shadow: 0 1rem 3rem rgba(0,0,0,.7); }
.mlb__fig figcaption { font-family: var(--font-body); font-style: italic; color: #e3d6c1; text-align: center; }
.mlb__nav { height: 4rem; border: 0; background: none; color: #e0b56a; font-size: 3rem; line-height: 1; cursor: pointer; opacity: .75; }
.mlb__nav:hover { opacity: 1; }
.mlb.is-single .mlb__nav { visibility: hidden; }
.mlb__x { position: absolute; top: 1rem; right: 1.2rem; border: 0; background: none; color: #e0b56a; font-size: 1.6rem; cursor: pointer; }
.mlb__who { position: absolute; left: 0; right: 0; bottom: 1.2rem; margin: 0; text-align: center; font-family: var(--font-plaque); letter-spacing: .14em; color: #b99660; font-size: .9rem; }
body.mlb-open { overflow: hidden; }

@media (max-width: 820px) {
  .friend { grid-template-columns: 1fr; gap: 1.4rem; }
  .friend--flip .friend__gallery { order: 0; }
  .memorial__sep { margin: 2.6rem auto; }
  .mlb { grid-template-columns: 2.6rem 1fr 2.6rem; }
}
@media (prefers-reduced-motion: reduce) { .memorial__flame { animation: none; } }

/* ---- Friends Remembered: a realistic candle (memorial.php drives --lean / --lvl / --stretch) ---- */
.mc { --lean: 0; --lvl: 1; --stretch: 1; position: relative; width: 4.6rem; height: 10.5rem; margin: -.5rem auto 1rem; }
.mc__halo { position: absolute; left: 50%; top: 1.6rem; width: 22rem; height: 22rem; margin: -11rem 0 0 -11rem; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,190,110,.30) 0%, rgba(255,150,70,.12) 28%, rgba(255,130,50,.04) 50%, transparent 68%);
  opacity: calc(.55 + var(--lvl) * .45); transform: translateX(calc(var(--lean) * 4px)) scale(calc(.92 + var(--lvl) * .1)); mix-blend-mode: screen; }
/* flame */
.mc__flame { position: absolute; left: 50%; bottom: 6.45rem; width: 1.3rem; height: 3.3rem; margin-left: -.65rem;
  transform-origin: 50% 92%; transform: rotate(calc(var(--lean) * 5deg)) skewX(calc(var(--lean) * -4deg)) scale(calc(.94 + var(--lvl) * .08), var(--stretch)); }
.mc__flame i { position: absolute; left: 50%; bottom: 0; border-radius: 50% 50% 45% 45% / 64% 64% 36% 36%; transform: translateX(-50%); }
.mc__outer { width: 1.3rem; height: 3.3rem; background: radial-gradient(ellipse 50% 60% at 50% 72%, rgba(255,170,60,.9), rgba(255,110,20,.55) 55%, rgba(255,80,0,0) 78%);
  filter: blur(1.5px); opacity: var(--lvl); }
.mc__mid { width: .95rem; height: 2.6rem; background: radial-gradient(ellipse 50% 60% at 50% 74%, #fff3c4, #ffd06a 45%, rgba(255,160,50,.85) 70%, rgba(255,140,40,0) 82%); filter: blur(.6px); }
.mc__core { width: .45rem; height: 1.25rem; bottom: .2rem !important; background: radial-gradient(ellipse at 50% 70%, #fffef6, #fff6d6 55%, rgba(255,240,200,0) 80%); filter: blur(.4px); }
.mc__blue { width: .55rem; height: .55rem; bottom: -.05rem !important; border-radius: 50% !important; background: radial-gradient(circle, rgba(110,150,255,.75), rgba(80,110,255,0) 70%); filter: blur(1px); }
/* wick */
.mc__wick { position: absolute; left: 50%; bottom: 6.15rem; width: 3px; height: .6rem; margin-left: -1.5px; border-radius: 1px;
  background: linear-gradient(180deg, #ff9a3c 0, #3a1f0f 35%, #1a0d06); box-shadow: 0 0 4px rgba(255,140,50,.8); transform: rotate(calc(var(--lean) * 4deg)); transform-origin: 50% 100%; }
/* wax pillar */
.mc__wax { position: absolute; left: .55rem; right: .55rem; bottom: .55rem; height: 5.75rem; border-radius: .2rem .2rem .25rem .25rem / .55rem .55rem .25rem .25rem;
  background: linear-gradient(90deg, #b9a37e 0%, #e9dcc0 22%, #f8f0de 42%, #efe3c8 62%, #cdb791 85%, #a8916b 100%);
  box-shadow: inset 0 -1.2rem 1.4rem rgba(90,60,30,.28), inset 0 1.4rem 1.2rem rgba(255,190,110,calc(.18 + var(--lvl) * .22)), 0 0 2.2rem rgba(255,170,90,.12); }
.mc__pool { position: absolute; left: .15rem; right: .15rem; top: -.28rem; height: .65rem; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #fff7e2, #f1d9a6 55%, #c9a870 100%); box-shadow: inset 0 .1rem .25rem rgba(120,80,30,.35), 0 0 .8rem rgba(255,190,110,calc(.2 + var(--lvl) * .3)); }
.mc__drip { position: absolute; top: .05rem; width: .42rem; border-radius: 0 0 .3rem .3rem; background: linear-gradient(90deg, #e6d6b4, #f8efdb 50%, #dccaa3); box-shadow: 0 .1rem .2rem rgba(90,60,30,.2); }
.mc__drip--1 { left: .25rem; height: 1.6rem; }
.mc__drip--2 { right: .55rem; height: .9rem; width: .32rem; }
.mc__drip::after { content: ""; position: absolute; left: 50%; bottom: -.18rem; width: 125%; height: .38rem; margin-left: -62.5%; border-radius: 50%; background: inherit; }
.mc__shine { position: absolute; left: 28%; top: .6rem; bottom: .7rem; width: .32rem; border-radius: 1rem; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0)); filter: blur(1px); }
/* brass dish */
.mc__dish { position: absolute; left: -.4rem; right: -.4rem; bottom: 0; height: .9rem; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 30%, #f3d18c, #b07d2f 50%, #5c3a12 100%); box-shadow: 0 .4rem 1rem rgba(0,0,0,.6), inset 0 .1rem .1rem rgba(255,240,200,.5); }
/* a whisper of smoke */
.mc__smoke { position: absolute; left: 50%; bottom: 9.4rem; width: 0; height: 0; }
.mc__smoke i { position: absolute; left: -.3rem; bottom: 0; width: .6rem; height: .6rem; border-radius: 50%; background: rgba(220,210,200,.18); filter: blur(4px); opacity: 0;
  animation: mc-smoke 7s linear infinite; }
.mc__smoke i:nth-child(2) { animation-delay: 2.3s; } .mc__smoke i:nth-child(3) { animation-delay: 4.6s; }
@keyframes mc-smoke { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 15% { opacity: .55; } 60% { transform: translate(.6rem, -3.2rem) scale(2.2); opacity: .22; } 100% { transform: translate(-.4rem, -6rem) scale(3.4); opacity: 0; } }
/* fallback flicker when the script can't run */
@media (prefers-reduced-motion: no-preference) { .mc__flame { animation: mc-sway 4.2s ease-in-out infinite; } }
@keyframes mc-sway { 0%,100% { translate: 0 0; } 50% { translate: .5px -.5px; } }
@media (prefers-reduced-motion: reduce) { .mc__smoke { display: none; } }
@media (max-width: 600px) { .mc { transform: scale(.85); margin-bottom: .4rem; } }
.mc__flame { width: 1.55rem; height: 4rem; margin-left: -.775rem; }
.mc__outer { width: 1.55rem; height: 4rem; }
.mc__mid { width: 1.1rem; height: 3.1rem; }
.mc__core { width: .52rem; height: 1.5rem; }
.mc__smoke { bottom: 10.2rem; }
/* the community candle burns a little taller on busy days (--burn) and swells when someone keeps it lit (--boost) */
.mc { --burn: 1; --boost: 1; }
.mc__flame { transform: rotate(calc(var(--lean) * 5deg)) skewX(calc(var(--lean) * -4deg)) scale(calc((.94 + var(--lvl) * .08) * (1 + (var(--boost) - 1) * .35)), calc(var(--stretch) * var(--burn) * var(--boost))); }
.mc__halo { transform: translateX(calc(var(--lean) * 4px)) scale(calc((.92 + var(--lvl) * .1) * var(--burn) * (1 + (var(--boost) - 1) * .5))); }
.memorial__light { margin: 1.6rem 0 .4rem; }
.memorial__lightbtn { display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1.5rem; border-radius: 99px; cursor: pointer;
  font-family: var(--font-plaque); font-size: 1rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #f3d59a;
  background: radial-gradient(120% 140% at 50% 0%, rgba(255,190,110,.18), rgba(255,190,110,.04)); border: 1px solid rgba(224,181,106,.55);
  box-shadow: 0 0 0 rgba(255,180,90,0); transition: box-shadow .5s ease, background .5s ease, color .3s; }
.memorial__lightbtn:hover { box-shadow: 0 0 1.6rem rgba(255,180,90,.25); color: #fff1cf; }
.memorial__lighticon { font-size: 1.15rem; filter: saturate(.9); }
.memorial__lightbtn.is-lit { background: radial-gradient(120% 140% at 50% 0%, rgba(255,190,110,.3), rgba(255,190,110,.08)); box-shadow: 0 0 2rem rgba(255,180,90,.3); }
.memorial__thanks { margin: .9rem 0 0; font-family: var(--font-body); font-style: italic; font-size: 1.08rem; color: #e9d3a6; opacity: 0; transform: translateY(.3rem); transition: opacity 1.2s ease, transform 1.2s ease; }
.memorial__thanks.is-in { opacity: 1; transform: none; }
.memorial__today { margin: 1.8rem auto 0; max-width: 36rem; display: grid; gap: .55rem; }
.memorial__today p { margin: 0; padding: .7rem 1.1rem; border-radius: 6px; font-family: var(--font-body); font-size: 1.05rem; color: #eadcc4;
  background: rgba(224,181,106,.07); border: 1px solid rgba(224,181,106,.28); }
.memorial__today a { color: #f3d59a; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(243,213,154,.4); }
.memorial__todaytag { display: block; margin-bottom: .2rem; font-family: var(--font-ui); font-size: .7rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: #b99660; }
.friend__today { margin: 0 0 .4rem; font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: #e0b56a; }
.friend.is-today .friend__cover { box-shadow: 0 0 2.6rem rgba(255,180,90,.22), 0 1.4rem 3rem rgba(0,0,0,.55), inset 0 0 0 1px rgba(224,181,106,.8), inset 0 0 0 .35rem #1a0e07, inset 0 0 0 calc(.35rem + 1px) rgba(224,181,106,.35); }

/* ---- Friends Remembered: full-screen hero ---- */
.memorial { padding-top: 0; }
.mh { --mh-p: 0; --mh-s: 1; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding: 2vh 1.4rem 9vh; overflow: hidden; text-align: center;
  background: radial-gradient(70vmax 60vmax at 50% 38%, rgba(255,170,80,.16), rgba(40,20,10,0) 60%), #0b0604; }
.mh__room { position: absolute; inset: -4%; z-index: 0; background: var(--mh-bg, none) center 45% / cover no-repeat; filter: blur(6px) saturate(.7) brightness(.55); opacity: .32; transform: scale(1.04); }
.mh__room::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(60vmax 50vmax at 50% 36%, rgba(11,6,4,.15), rgba(11,6,4,.85) 62%, #0b0604 90%), linear-gradient(180deg, rgba(11,6,4,.5), rgba(11,6,4,0) 30%, rgba(11,6,4,0) 70%, #0b0604); }
.mh__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 60rem;
  opacity: calc(1 - var(--mh-p) * 1.1); transform: translateY(calc(var(--mh-p) * 9vh)) scale(calc(1 - var(--mh-p) * .06)); will-change: opacity, transform; }
.mh .mc { margin: 0 auto; transform: scale(calc(var(--mh-s) * 1.3)); transform-origin: 50% 100%; margin-bottom: calc(var(--mh-s) * 1.6rem); }
.mh .mc__halo { width: 34rem; height: 34rem; margin: -17rem 0 0 -17rem; }
.mh .memorial__kicker { margin-top: 1.4vh; font-size: clamp(.72rem, 1.5vh, 1rem); }
.mh h1 { margin: .4vh 0 0; font-family: var(--font-plaque); font-weight: 700; letter-spacing: .06em; line-height: 1.02;
  font-size: clamp(2.2rem, min(8.6vh, 7.4vw), 6rem);
  background: linear-gradient(180deg, #fbe8c2, #e0b56a 55%, #a87a35); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mh .memorial__rule { margin: 2.2vh auto 1.8vh; width: min(22rem, 60vw); }
.mh__line { margin: 0; font-family: var(--font-body); font-style: italic; font-size: clamp(1.05rem, 2.6vh, 1.6rem); line-height: 1.4; color: #eadcc4; }
.mh .memorial__light { margin: 3.2vh 0 0; }
.mh .memorial__lightbtn { font-size: clamp(.9rem, 1.9vh, 1.15rem); padding: 1.3vh 2.4vh; min-height: 2.8rem; }
.mh__cue { position: absolute; z-index: 1; left: 50%; bottom: 2.6vh; display: grid; justify-items: center; gap: .55rem; transform: translateX(-50%); text-decoration: none;
  font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #a98b5c; opacity: calc(1 - var(--mh-p) * 3); transition: color .3s; }
.mh__cue:hover { color: #e0b56a; }
.mh__cue i { width: 1px; height: 2.6rem; background: linear-gradient(180deg, rgba(224,181,106,0), #e0b56a); position: relative; overflow: hidden; }
.mh__cue i::after { content: ""; position: absolute; left: -3px; bottom: 0; width: 7px; height: 7px; border-right: 1px solid #e0b56a; border-bottom: 1px solid #e0b56a; transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .mh__cue i { animation: mh-cue 2.4s ease-in-out infinite; }
  @keyframes mh-cue { 0%, 100% { opacity: .35; transform: translateY(-.35rem); } 50% { opacity: 1; transform: none; } }
}
/* intro section under the hero */
#remember { scroll-margin-top: calc(var(--header-h) + 1rem); padding-top: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 3rem; }
.memorial__rule--end { margin-top: 2.4rem; }
@media (max-width: 700px) {
  .mh { min-height: calc(86vh - var(--header-h)); min-height: calc(86svh - var(--header-h)); padding-bottom: 11vh; }
  .mh .mc { transform: scale(calc(var(--mh-s) * 1.05)); }
  .mh h1 { font-size: clamp(2.1rem, 11vw, 3.2rem); }
}
.mh__cue span { white-space: nowrap; }
@media (max-width: 700px) {
  .mh__cue { font-size: .64rem; letter-spacing: .2em; bottom: 1.6vh; }
  .mh__cue i { height: 1.8rem; }
  .mh .memorial__lightbtn { letter-spacing: .1em; }
}

/* ============================== vHerf screening room (/vherf hero) ============================== */
.vr { --hh: calc(100vh - var(--header-h)); position: relative; height: var(--hh); min-height: 22rem; overflow: hidden; background: #0b0604; }
@supports (height: 100svh) { .vr { --hh: calc(100svh - var(--header-h)); } }
/* the photo "stage" covers the hero like background-size: cover, so % positions stay locked to the photo */
.vr__stage { --h: max(var(--hh), calc(100vw / var(--vr-ar))); --w: calc(var(--h) * var(--vr-ar));
  position: absolute; width: var(--w); height: var(--h); left: calc(50% - var(--w) / 2);
  top: max(calc(var(--hh) - var(--h)), min(0px, max(calc((var(--hh) - var(--h)) / 2), calc(var(--h) * -.15))));
  background: var(--vr-bg) center / 100% 100% no-repeat; }
.vr__screen { position: absolute; left: var(--sl); top: var(--st); width: var(--sw); height: var(--sh); container-type: size; overflow: hidden; }
.vr__glass { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 80% at 50% 38%, rgba(212,154,66,.13), rgba(0,0,0,0) 70%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 30%); }
.vr__screen.is-live .vr__glass { background: radial-gradient(90% 80% at 50% 38%, rgba(217,69,59,.16), rgba(0,0,0,0) 70%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 30%); }
.vr__module { position: absolute; inset: 0 3% 20%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #f4ead9; }
.vr__strip { position: absolute; left: 0; right: 0; bottom: 0; height: 20%; }
.vr__eyebrow { margin: 0; display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  font-size: clamp(9px, 4.4cqh, 1.1rem); letter-spacing: .3em; color: #d9a85a; }
.vr__dot { width: .62em; height: .62em; border-radius: 50%; background: #d49a42; box-shadow: 0 0 .6em rgba(212,154,66,.8); }
.vr__screen.is-live .vr__eyebrow { color: #ff8b80; }
.vr__screen.is-live .vr__dot { background: #e0483c; box-shadow: 0 0 .7em #e0483c; animation: vh-blink 1.5s infinite; }
.vr__title { margin: 2.2cqh 0 0; max-width: 100%; font-family: var(--font-plaque); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.05;
  font-size: clamp(14px, min(10.5cqh, 5.2cqw), 4.2rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(180deg, #fff1c9, #f0c47a 45%, #b9832f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vr__hours { margin: 1.4cqh 0 0; font-family: var(--font-ui); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: clamp(9px, 4.6cqh, 1.2rem); color: #e6d3b0; }
.vr__count { display: flex; gap: min(2.4cqh, 1.6cqw); margin-top: 4cqh; }
.vr__cell { display: grid; gap: .8cqh; min-width: min(17cqh, 9cqw); padding: 2cqh 1.2cqh 1.6cqh; border-radius: .4rem;
  background: linear-gradient(180deg, #120805, #24120a 50%, #120805 50.5%, #1c0d07); border: 1px solid rgba(212,154,66,.45);
  box-shadow: inset 0 1px 0 rgba(255,220,160,.1), 0 .5rem 1rem rgba(0,0,0,.5); }
.vr__cell[hidden] { display: none; }
.vr__cell b { font-family: var(--font-ui); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; font-size: clamp(14px, min(11cqh, 5cqw), 3.4rem); color: #ffe2a8; text-shadow: 0 0 1.2rem rgba(240,196,122,.35); }
.vr__cell small { font-family: var(--font-ui); font-size: clamp(7px, 2.6cqh, .72rem); letter-spacing: .22em; text-transform: uppercase; color: #c9b79c; }
.vr__screen.is-live .vr__cell b { color: #ffd2cc; text-shadow: 0 0 1.2rem rgba(217,69,59,.5); }
.vr__until { margin: 1.6cqh 0 0; font-family: var(--font-ui); font-size: clamp(8px, 3.4cqh, .95rem); color: #b9a58a; letter-spacing: .06em; }
.vr__btn { display: inline-flex; align-items: center; gap: .8em; margin-top: 4cqh; padding: .85em 1.7em; border-radius: 4px; text-decoration: none;
  font-family: var(--font-plaque); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(10px, min(4.6cqh, 2.2cqw), 1.15rem); color: #2a160b;
  background: linear-gradient(180deg, #fff0c4 0%, #f0c47a 28%, #c8913c 62%, #e9b866 100%);
  box-shadow: 0 0 0 1px #7d5417, inset 0 1px 0 rgba(255,250,230,.8), inset 0 -2px 0 rgba(120,70,10,.35), 0 .5rem 1.4rem rgba(0,0,0,.55), 0 0 1.6rem rgba(240,196,122,.25);
  transition: transform .2s ease, box-shadow .3s ease, filter .2s; }
.vr__btn em { font-style: normal; font-family: var(--font-ui); font-size: .72em; letter-spacing: .16em; padding-left: .8em; border-left: 1px solid rgba(42,22,11,.35); }
.vr__btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 0 0 1px #7d5417, inset 0 1px 0 rgba(255,250,230,.8), 0 .7rem 1.8rem rgba(0,0,0,.6), 0 0 2.4rem rgba(240,196,122,.4); }
@media (prefers-reduced-motion: no-preference) { .vr__screen.is-live .vr__btn { animation: vh-pulse 2.2s ease-in-out infinite; } }
.vr__cue { position: absolute; z-index: 2; left: 50%; bottom: 2.4vh; transform: translateX(-50%); display: grid; justify-items: center; gap: .35rem; text-decoration: none; white-space: nowrap;
  font-family: var(--font-ui); font-size: clamp(.62rem, 1.35vh, .82rem); font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #f3e3c3;
  text-shadow: 0 1px 2px #000, 0 0 12px rgba(0,0,0,.95); padding: .5rem 1rem; border-radius: 99px; background: rgba(10,6,4,.35); backdrop-filter: blur(3px); }
.vr__cue i { font-style: normal; font-size: 1.2em; color: #f0c47a; }
.vr__cue:hover { color: #fff; }
@media (prefers-reduced-motion: no-preference) { .vr__cue i { animation: vr-bob 2.2s ease-in-out infinite; } @keyframes vr-bob { 50% { transform: translateY(.3rem); } } }
#vherf-details { scroll-margin-top: var(--header-h); }
.vh-cal-only { margin: 0 0 1rem; }

/* Phones & tall screens: the wall screen would be cropped, so the room stays as the backdrop and the module sits on a dark glass panel */
@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .vr__stage { inset: 0; width: auto; height: auto; left: 0; top: 0; background: var(--vr-bg-m, var(--vr-bg)) 50% 30% / cover no-repeat; }
  .vr__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,6,4,.35), rgba(11,6,4,.15) 40%, rgba(11,6,4,.6)); }
  .vr__screen { z-index: 1; left: 4%; width: 92%; top: 9%; height: min(64%, 34rem); border-radius: 6px;
    background: rgba(8,5,3,.84); box-shadow: 0 0 0 1px rgba(212,154,66,.5), inset 0 0 0 .3rem #0b0604, inset 0 0 0 calc(.3rem + 1px) rgba(212,154,66,.25), 0 1rem 2.4rem rgba(0,0,0,.6); }
  .vr__module { inset: 0 4% 14%; }
  .vr__strip { height: 14%; }
  .vr__title { white-space: normal; font-size: clamp(18px, min(9cqh, 8cqw), 2.4rem); }
  .vr__eyebrow { letter-spacing: .2em; }
  .vr__btn { flex-direction: column; gap: .25em; padding: .8em 1.2em; }
  .vr__btn em { border-left: 0; padding-left: 0; }
  .vr__cue { letter-spacing: .14em; font-size: .62rem; }
}

/* vHERF keeps its lowercase v: these lines are written in capitals already (vherf_caps), not CSS uppercase */
.vr__eyebrow, .vr__title, .vr__btn, .vr__cue { text-transform: none; }

/* ---- vHerf presence strip (bottom 20% of the wall screen) ---- */
.vr__strip { display: flex; align-items: center; justify-content: center; padding: 0 4%; }
.vp { position: relative; display: flex; align-items: center; justify-content: center; gap: 2cqh; width: 100%; max-width: 100%; height: 100%;
  border-top: 1px solid rgba(212,175,55,.25); font-family: var(--font-ui); font-size: clamp(8px, 4cqh, 1rem); letter-spacing: .08em; color: #e6d3b0; white-space: nowrap; }
.vp__dot { flex: none; width: .7em; height: .7em; border-radius: 50%; background: #8a7a64; }
.vp--active .vp__dot { background: #4fd16a; box-shadow: 0 0 .7em #4fd16a; animation: vh-blink 1.8s infinite; }
.vp--lineup .vp__dot { background: #f0a53a; box-shadow: 0 0 .7em rgba(240,165,58,.8); }
.vp--quiet .vp__dot { background: #b8913f; box-shadow: 0 0 .5em rgba(212,175,55,.45); }
.vp__avs { display: inline-flex; flex: none; }
.vp__avs:empty { display: none; }
.vp__av { display: inline-grid; place-items: center; width: 2.1em; height: 2.1em; margin-left: -.55em; border-radius: 50%; overflow: hidden;
  font-weight: 700; font-size: .95em; color: #2a160b; background: radial-gradient(circle at 35% 30%, #fff1c9, #d49a42 60%, #8a5a1e);
  box-shadow: 0 0 0 .14em #0b0604, 0 0 0 .22em rgba(212,154,66,.6); }
.vp__av:first-child { margin-left: 0; }
.vp__av img { width: 100%; height: 100%; object-fit: cover; }
.vp__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.vp__text b { font-weight: 700; letter-spacing: .16em; color: #f0c47a; }
.vp--active .vp__text b { color: #8fe6a0; }
.vp--quiet .vp__text b { color: #d9c29a; font-weight: 600; }
.vp__pill { flex: none; padding: .45em 1em; border-radius: 99px; cursor: pointer; font: 700 .9em/1 var(--font-ui); letter-spacing: .12em; color: #2a160b;
  background: linear-gradient(180deg, #fbe2a6, #d6a24c 55%, #a8742a); border: 0; box-shadow: 0 0 0 1px #6e4914, inset 0 1px 0 rgba(255,245,215,.7), 0 .2em .6em rgba(0,0,0,.5);
  transition: filter .2s, transform .2s; }
.vp__pill:hover { filter: brightness(1.08); transform: translateY(-1px); }
.vp__pill.is-on { color: #f6e3b8; background: linear-gradient(180deg, #3c2412, #24140a); box-shadow: 0 0 0 1px #d6a24c, inset 0 1px 0 rgba(255,220,160,.15); }
.vp__pill.is-busy { opacity: .6; pointer-events: none; }
.vp__pill[hidden] { display: none; }
@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .vr__strip { padding: 0 5%; }
  .vp { flex-wrap: wrap; align-content: center; white-space: normal; text-align: center; gap: 1.2cqh 2cqh; font-size: clamp(10px, 2.9cqh, .85rem); }
  .vp__text { overflow: visible; }
}
.vr__btn, .vr__btn:visited, .vr__btn:focus, .vr__btn:active, .vr__btn:hover { color: #2a160b; }
@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .vr__screen { height: min(72%, 38rem); }
  .vr__module { inset: 0 4% 21%; }
  .vr__strip { height: 21%; padding-bottom: 1.5cqh; }
  .vp { font-size: clamp(10px, 2.6cqh, .8rem); letter-spacing: .04em; }
  .vp__text b { letter-spacing: .1em; }
}

/* ---- vHerf wall screen polish: powered glow, glass sheen, Art Deco corners, split-flap counters ---- */
.vr__glass { background: radial-gradient(circle at 50% 42%, rgba(212,175,55,.10), transparent 65%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 28%); }
.vr__screen.is-live .vr__glass { background: radial-gradient(circle at 50% 42%, rgba(217,69,59,.12), transparent 65%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 28%); }
.vr__sheen { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0 38%, rgba(255,248,230,.045) 44%, rgba(255,248,230,.012) 52%, rgba(255,255,255,0) 58% 100%); }
.vr__module, .vr__strip { z-index: 1; }
.vr__corner { position: absolute; z-index: 1; width: 12px; height: 12px; pointer-events: none; border: 0 solid rgba(212,175,55,.55); }
.vr__corner--tl { left: 8px; top: 8px; border-left-width: 1px; border-top-width: 1px; }
.vr__corner--tr { right: 8px; top: 8px; border-right-width: 1px; border-top-width: 1px; }
.vr__corner--bl { left: 8px; bottom: 8px; border-left-width: 1px; border-bottom-width: 1px; }
.vr__corner--br { right: 8px; bottom: 8px; border-right-width: 1px; border-bottom-width: 1px; }
.vr__cell { position: relative; overflow: hidden;
  background: linear-gradient(180deg, #1c0e07 0%, #2a150b 49.6%, #120805 50.4%, #1d0e07 100%);
  box-shadow: inset 0 1px 0 rgba(255,225,170,.18), inset 0 -1px 0 rgba(0,0,0,.6), 0 .15rem 0 rgba(0,0,0,.55), 0 .8rem 1.6rem rgba(0,0,0,.65); }
.vr__cell::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.75), rgba(255,220,160,.06)); }
.vr__cell::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; pointer-events: none; background: linear-gradient(180deg, rgba(255,235,190,.07), rgba(255,235,190,0)); }
.vr__cell b { position: relative; z-index: 1; }
/* RSVP cigar note */
.vp[hidden] { display: none; }
.vp__form { display: flex; align-items: center; justify-content: center; gap: 1.6cqh; width: 100%; height: 100%; border-top: 1px solid rgba(212,175,55,.25);
  font-family: var(--font-ui); font-size: clamp(8px, 4cqh, 1rem); }
.vp__form[hidden] { display: none; }
.vp__form input { flex: 1; min-width: 0; max-width: 30em; padding: .5em .9em; border-radius: 99px; font: 500 1em/1.2 var(--font-ui); color: #f6ead6;
  background: rgba(0,0,0,.55); border: 1px solid rgba(212,175,55,.45); outline: none; }
.vp__form input::placeholder { color: #9c8a70; }
.vp__form input:focus { border-color: #f0c47a; box-shadow: 0 0 0 .2em rgba(240,196,122,.15); }
.vp__out, .vp__x { flex: none; padding: .4em .6em; border: 0; background: none; cursor: pointer; font: 600 .85em/1 var(--font-ui); letter-spacing: .08em; color: #c9b79c; }
.vp__out:hover, .vp__x:hover { color: #fff1cf; }
.vp__out { text-transform: uppercase; text-decoration: underline; text-underline-offset: .2em; }
.vp__form.is-busy { opacity: .6; pointer-events: none; }
.vp__save { display: inline-block; }
@media (max-aspect-ratio: 1/1), (max-width: 760px) { .vp__form { flex-wrap: wrap; font-size: clamp(11px, 2.8cqh, .85rem); } .vp__form input { flex-basis: 100%; max-width: none; } }
/* /vherf below the fold: flows straight from the room into the details */
.vherf-page .reading { padding-top: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: var(--header-h); }
.vherf-page .read-card--vip { border-color: rgba(212,175,55,.35); box-shadow: 0 1.6rem 3rem rgba(0,0,0,.55), inset 0 0 0 1px rgba(212,175,55,.12); }
/* any pasted "Enter the vHerf Room" button in the page text: the room above already has it */
.vherf-page .prose div:has(> a[href*="zoom.us"]), .vherf-page .prose p:has(> a.btn[href*="zoom.us"]) { display: none; }
.vherf-page .post-footer a[href$="/"]:first-child { display: none; }
.vherf-page .read-card--vip { padding-top: clamp(1.6rem, 3vw, 2.4rem); } .vherf-page .read-card--vip .prose > :first-child { margin-top: 0; }

/* ============================== vHerf extras ============================== */
/* 1 · doors open (last 15 min) and the 5:00 flash */
.vr__screen.is-doors .vr__eyebrow { color: #ffc46b; }
.vr__screen.is-doors .vr__dot { background: #ffb347; box-shadow: 0 0 .8em #ffb347; animation: vh-blink 1.2s infinite; }
.vr__screen.is-doors .vr__cell { border-color: rgba(255,179,71,.65); }
.vr__screen.is-doors .vr__cell b { color: #ffd38a; text-shadow: 0 0 1.4rem rgba(255,170,60,.55); }
.vr__screen.is-doors .vr__glass { background: radial-gradient(circle at 50% 42%, rgba(255,170,60,.16), transparent 65%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 28%); }
@media (prefers-reduced-motion: no-preference) {
  .vr__screen.is-doors .vr__btn { animation: vr-glow 2s ease-in-out infinite; }
  @keyframes vr-glow { 50% { box-shadow: 0 0 0 1px #7d5417, inset 0 1px 0 rgba(255,250,230,.8), 0 .5rem 1.4rem rgba(0,0,0,.55), 0 0 2.8rem rgba(255,190,90,.7); } }
  .vr__screen.is-flash::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle at 50% 45%, rgba(255,240,210,.55), rgba(255,180,90,.15) 50%, transparent 75%); animation: vr-flash 1.5s ease-out forwards; }
  @keyframes vr-flash { from { opacity: 1; } to { opacity: 0; } }
}
/* 2 · the rotating line: countdown note · tonight's humidor · last night's recap */
.vr__until { transition: opacity .26s ease; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vr__until.is-swap { opacity: 0; }
.vr__until.is-humidor { color: #f0c47a; letter-spacing: .04em; }
.vr__until.is-recap { color: #e6d3b0; font-style: italic; }
/* 3 · host's note */
.vr__host { margin: 1cqh 0 0; max-width: 100%; font-family: var(--font-body); font-style: italic; font-size: clamp(9px, 4.2cqh, 1.1rem); color: #f3dfb8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vr__host[hidden] { display: none; }
/* remind me */
.vr__remind { margin-top: 1.8cqh; padding: .2em .4em; border: 0; background: none; cursor: pointer; font: 600 clamp(8px, 3.3cqh, .85rem)/1.2 var(--font-ui); letter-spacing: .06em; color: #c9b79c; text-decoration: underline; text-decoration-color: rgba(212,175,55,.35); text-underline-offset: .25em; }
.vr__remind:hover { color: #fff1cf; }
.vr__remind.is-on { color: #f0c47a; text-decoration: none; }
.vr__remind[hidden] { display: none; }
/* the module has more lines now: tighten its rhythm a touch */
.vr__title { margin-top: 1.6cqh; }
.vr__count { margin-top: 3cqh; }
.vr__btn { margin-top: 3cqh; }

/* 4 · the room comes alive: sconce glow + drifting smoke (stronger when live) */
.vr__sconce { position: absolute; z-index: 0; width: 14%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255,214,150,.32) 0%, rgba(255,170,80,.14) 35%, transparent 68%); opacity: .55; }
.vr__sconce--l { left: 18.7%; top: 27.5%; } .vr__sconce--r { left: 81.3%; top: 27.5%; }
.vr.is-live .vr__sconce, .vr.is-doors .vr__sconce { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .vr__sconce { animation: vr-sconce 5s ease-in-out infinite; } .vr__sconce--r { animation-delay: -2.3s; }
  @keyframes vr-sconce { 0%, 100% { filter: brightness(1); } 40% { filter: brightness(1.12); } 60% { filter: brightness(.94); } }
}
.vr__smoke { position: absolute; left: 50.4%; top: 82%; width: 0; height: 0; z-index: 0; pointer-events: none; }
.vr__smoke i { position: absolute; left: -1.6vw; bottom: 0; width: 3.2vw; height: 3.2vw; border-radius: 50%; background: rgba(225,215,205,.16); filter: blur(10px); opacity: 0; }
.vr.is-live .vr__smoke i, .vr.is-doors .vr__smoke i { background: rgba(230,220,210,.24); }
@media (prefers-reduced-motion: no-preference) {
  .vr__smoke i { animation: vr-smoke 9s linear infinite; } .vr__smoke i:nth-child(2) { animation-delay: 3s; } .vr__smoke i:nth-child(3) { animation-delay: 6s; }
  @keyframes vr-smoke { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 15% { opacity: .7; } 55% { transform: translate(1.4vw, -12vh) scale(2.4); opacity: .3; } 100% { transform: translate(-1vw, -24vh) scale(4); opacity: 0; } }
}
/* 5 · members heading in take a seat: name tags above the two leather chairs */
.vr__chair { position: absolute; z-index: 1; top: 63%; display: flex; flex-direction: column; gap: .5vh; pointer-events: none; }
.vr__chair--l { left: 3%; align-items: flex-start; } .vr__chair--r { right: 3%; align-items: flex-end; }
.vr__seat { display: inline-flex; align-items: center; gap: .45em; padding: .25em .7em .25em .25em; border-radius: 99px; font: 600 clamp(.62rem, 1.1vw, .85rem)/1 var(--font-ui); color: #f6ead6;
  background: rgba(10,6,4,.72); box-shadow: 0 0 0 1px rgba(212,175,55,.45), 0 .3rem .8rem rgba(0,0,0,.5); backdrop-filter: blur(3px); animation: vr-seat .6s ease both; animation-delay: calc(var(--i) * .12s); }
.vr__seat .vp__av { margin: 0; width: 1.7em; height: 1.7em; font-size: 1em; }
.vr__seat b { font-weight: 600; max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes vr-seat { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
@media (max-aspect-ratio: 1/1), (max-width: 760px) { .vr__sconce, .vr__chair, .vr__smoke { display: none; } }

/* 7 · Lounge Regulars plaque (below the fold) */
.vreg { margin: 3rem auto 0; max-width: 46rem; }
.vreg__plaque { position: relative; padding: 2rem clamp(1.2rem, 4vw, 2.6rem) 2.2rem; text-align: center; border-radius: 6px;
  background: linear-gradient(160deg, #3b2412, #20120a 55%, #170c06); box-shadow: 0 1.4rem 2.6rem rgba(0,0,0,.55), inset 0 0 0 1px rgba(240,196,122,.6), inset 0 0 0 .4rem #1a0e07, inset 0 0 0 calc(.4rem + 1px) rgba(240,196,122,.3); }
.vreg__kicker { margin: 0 0 .4rem; font: 700 .72rem/1 var(--font-ui); letter-spacing: .3em; text-transform: uppercase; color: #b99660; }
.vreg h2 { margin: 0; font-family: var(--font-plaque); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: .08em; background: linear-gradient(180deg, #fff1c9, #f0c47a 45%, #b9832f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vreg__sub { margin: .7rem auto 1.4rem; max-width: 30rem; font-family: var(--font-body); font-style: italic; color: #cbb999; }
.vreg__names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem .9rem; }
.vreg__names li { font-family: var(--font-plaque); font-size: 1.12rem; letter-spacing: .04em; color: #f1d9a8; }
.vreg__names li + li::before { content: "◆"; margin-right: .9rem; font-size: .55em; vertical-align: .25em; color: #8f6a35; }
.vh-remind .me-toast__icon { font-size: 1.2rem; }
/* button row: gold button + a small bell for "Remind me" */
.vr__actions { display: flex; align-items: center; gap: 1.6cqh; margin-top: 3cqh; }
.vr__actions .vr__btn { margin-top: 0; }
.vr__remind { margin: 0; flex: none; display: grid; place-items: center; width: clamp(26px, 10cqh, 3rem); height: clamp(26px, 10cqh, 3rem); padding: 0; border-radius: 50%;
  font-size: clamp(11px, 4.4cqh, 1.15rem); text-decoration: none; background: rgba(10,6,4,.6); box-shadow: 0 0 0 1px rgba(212,175,55,.45); filter: grayscale(.6) brightness(.85); transition: filter .2s, box-shadow .2s; }
.vr__remind:hover { filter: none; box-shadow: 0 0 0 1px #f0c47a; }
.vr__remind.is-on { filter: none; background: radial-gradient(circle at 50% 35%, rgba(240,196,122,.35), rgba(10,6,4,.6)); box-shadow: 0 0 0 1px #f0c47a, 0 0 1rem rgba(240,196,122,.4); }
.vr__until.is-host { color: #f3dfb8; font-family: var(--font-body); font-style: italic; letter-spacing: 0; font-size: clamp(9px, 3.8cqh, 1.05rem); }
/* live: the wall screen turns into tonight's guest list (pages of 6; phones 2 rows of 4) */
.vr__module.has-guests .vr__count, .vr__module.has-guests .vr__until { display: none; }
.vr__module.has-guests > * { flex-shrink: 0; }
.vr__module.has-guests .vr__title { font-size: min(8cqh, 5cqw); }
.vr__guests { --gcols: 6; --grows: 1; width: 100%; margin-top: 3cqh; }
.vr__guests-hd { margin: 0 0 2.4cqh; font: 600 clamp(8px, 3.2cqh, .95rem)/1 var(--font-ui); letter-spacing: .28em; color: #e9c77f; }
.vr__guests-hd b { color: #f6ead6; font-weight: 600; }
.vr__guests-hd i { font-style: normal; margin-left: .8em; color: rgba(233,199,127,.6); letter-spacing: .1em; }
.vr__guests-list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(var(--gcols), minmax(0, 1fr)); gap: 2.4cqh 1.6cqw;
  max-width: calc(var(--gcols) * 15cqw); transition: opacity .35s; }
.vr__guests-list.is-turn { opacity: 0; }
.vr__guest { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.vr__guest[hidden] { display: none; }
.vr__gav { width: 11cqh; height: 11cqh; border-radius: 50%; overflow: hidden; display: grid; place-items: center; flex: none;
  background: #2a1a10; color: #f0c47a; font: 600 5cqh/1 var(--font-display, serif); box-shadow: 0 0 0 2px #c9a24e, 0 0 1.4cqh rgba(240,196,122,.35); }
.vr__gav img { width: 100%; height: 100%; object-fit: cover; }
.vr__guest b { margin-top: 1.4cqh; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 clamp(10px, 3.8cqh, 1.1rem)/1.25 var(--font-ui); color: #f6ead6; }
.vr__guest small { margin-top: .3cqh; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: italic clamp(9px, 3cqh, .9rem)/1.25 var(--font-body); color: #d8b57a; }
.vr__guest.is-new { animation: vr-arrive 2.4s ease-out both; }
.vr__guest.is-new .vr__gav { animation: vr-arrive-glow 2.4s ease-out both; }
@keyframes vr-arrive { from { opacity: 0; transform: translateY(1.5cqh) scale(.9); } 25% { opacity: 1; transform: none; } }
@keyframes vr-arrive-glow { 0%,40% { box-shadow: 0 0 0 2px #f0c47a, 0 0 4cqh rgba(240,196,122,.9); } }
.vr__module.has-guests .vr__actions { margin-top: 3cqh; }
@media (prefers-reduced-motion: reduce) { .vr__guest.is-new, .vr__guest.is-new .vr__gav { animation: none; } .vr__guests-list { transition: none; } }
@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .vr__guests { --gcols: 4; --grows: 1; }
  .vr__guests-hd { letter-spacing: .16em; white-space: nowrap; }
  .vr__guests-list { max-width: none; gap: 2cqh 2cqw; }
  .vr__gav { width: 7.5cqh; height: 7.5cqh; font-size: 3.6cqh; }
  .vr__guest b { font-size: clamp(11px, 2.6cqh, .95rem); } .vr__guest small { font-size: clamp(10px, 2.2cqh, .85rem); }
}

/* ---------- "Add to Home Screen" bar (installable app, phones) ---------- */
.app-bar { position: fixed; z-index: 950; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: .7rem;
  padding: .7rem .7rem .7rem .8rem; border-radius: 14px; background: linear-gradient(180deg, #24140c, #160c07); border: 1px solid rgba(212,154,66,.45);
  box-shadow: 0 16px 40px rgba(0,0,0,.65); font-family: var(--font-ui); color: var(--parchment); transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.app-bar.is-in { transform: none; }
.app-bar img { flex: none; width: 44px; height: 44px; border-radius: 10px; }
.app-bar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.app-bar__text b { font-size: .88rem; color: var(--brass-hi); }
.app-bar__text span { font-size: .78rem; color: var(--parchment-dim); }
.app-bar__share { display: inline-block; width: .9em; height: 1.05em; margin: 0 .15em -.15em; border: 1.6px solid currentColor; border-top: 0; border-radius: 0 0 2px 2px; position: relative; }
.app-bar__share::before { content: ""; position: absolute; left: 50%; top: -.45em; width: 1.6px; height: .8em; background: currentColor; transform: translateX(-50%); }
.app-bar__share::after { content: ""; position: absolute; left: 50%; top: -.5em; width: .4em; height: .4em; border-left: 1.6px solid currentColor; border-top: 1.6px solid currentColor; transform: translateX(-50%) rotate(45deg); }
.app-bar__go { flex: none; padding: .5rem .95rem; border: 0; border-radius: 99px; cursor: pointer; font: 700 .82rem/1 var(--font-plaque); letter-spacing: .05em; color: #2a160b; background: linear-gradient(180deg, #f3d18c, #c88f38); }
.app-bar__x { flex: none; width: 2rem; height: 2rem; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--parchment-dim); background: rgba(255,255,255,.06); }

/* Admin shortcut sits bottom-left so the Messages button can have bottom-right */
.admin-fab { right: auto; left: 1rem; }
.admin-fab ~ #cp-cards .cp-card { bottom: 1.25rem; }

/* Phones: every close ✕ gets a fingertip-sized target (44×44, Apple's minimum) with a visible circle */
@media (max-width: 860px), (pointer: coarse) {
  .me-toast__x, .cp-card__x, .lounge-modal__close, .mlb__x, .app-bar__x {
    display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; padding: 0; border-radius: 50%;
    font-size: 1.35rem; line-height: 1; color: var(--parchment); background: rgba(255,255,255,.09); border: 1px solid rgba(212,154,66,.3);
  }
  .cp-card__x { top: .35rem; right: .35rem; }
  .me-toast__x { align-self: center; }
}

/* ============================== vHerf: spread the word (menu line · Tonight ribbon · TV channel) ============================== */
/* the small line under "vHerf Lounge" in the top menu */
.vh-sub { display: none; }
.vh-sub:empty { display: none !important; }
.header-nav a:has(> .vh-sub) { position: relative; }
.header-nav .vh-sub { display: block; position: absolute; left: 50%; top: calc(100% + 2px); transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  font-family: var(--font-ui); font-size: .62rem; font-weight: 600; letter-spacing: .04em; text-transform: none; line-height: 1; color: rgba(236,220,190,.62); text-shadow: none; }
.header-nav .vh-sub--today { color: var(--brass-hi); }
.header-nav .vh-sub--live { color: #ff9b92; font-weight: 700; }
.header-nav .vh-sub--live::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .35em; border-radius: 50%; background: var(--live-red); box-shadow: 0 0 6px var(--live-red); vertical-align: .05em; animation: vh-blink 1.6s infinite; }
@media (max-width: 768px) {
  .header-nav .vh-sub { position: static; transform: none; display: inline-block; margin-left: .6em; font-size: .72rem; vertical-align: .1em; }
}

/* the "Tonight" ribbon under the header */
.vhr { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 90; display: flex; align-items: center; gap: .6rem; height: 40px; padding: 0 .6rem 0 1rem;
  background: linear-gradient(90deg, #2a140b, #3a1d0e 45%, #2a140b); border-bottom: 1px solid rgba(212,154,66,.35); box-shadow: 0 6px 18px rgba(0,0,0,.45);
  font-family: var(--font-ui); font-size: .82rem; color: var(--parchment); transform: translateY(-100%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.vhr.is-in { transform: none; opacity: 1; }
.vhr.is-live { background: linear-gradient(90deg, #3a0f0c, #5a1712 45%, #3a0f0c); border-bottom-color: rgba(217,69,59,.55); }
.vhr__main { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: .6rem; color: inherit; text-decoration: none; }
.vhr__main:hover .vhr__t { color: var(--brass-hi); }
.vhr__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 8px rgba(212,154,66,.8); }
.vhr.is-live .vhr__dot { background: var(--live-red); box-shadow: 0 0 8px var(--live-red); animation: vh-blink 1.6s infinite; }
.vhr__t { font-family: var(--font-plaque); font-weight: 700; letter-spacing: .07em; white-space: nowrap; }
.vhr__s { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(236,220,190,.75); }
.vhr__faces { display: flex; flex: none; }
.vhr__faces:empty { display: none; }
.vhr__faces img, .vhr__ini { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 2px solid #2a140b; margin-left: -7px; background: #5b3a1f; }
.vhr__faces > :first-child { margin-left: 0; }
.vhr__ini { display: grid; place-items: center; font-size: .66rem; font-weight: 800; color: var(--parchment); }
.vhr__go { flex: none; padding: .38em .95em; border: 1px solid var(--brass); border-radius: 999px; background: rgba(212,154,66,.14); color: var(--brass-hi);
  font: inherit; font-weight: 700; font-size: .78rem; letter-spacing: .03em; text-decoration: none; cursor: pointer; white-space: nowrap; }
.vhr__go:hover { background: rgba(212,154,66,.28); }
.vhr__go.is-in { border-color: rgba(120,200,140,.6); color: #a8e0b4; background: rgba(90,170,110,.14); }
.vhr.is-live .vhr__go { background: var(--live-red); border-color: var(--live-red); color: #fff; }
.vhr__x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: rgba(236,220,190,.6); font-size: 1rem; cursor: pointer; }
.vhr__x:hover { color: #fff; background: rgba(255,255,255,.08); }
body.has-vhr.inner, body.has-vhr.home { padding-top: calc(var(--header-h) + 40px); }
@media (max-width: 768px) {
  body.has-vhr { padding-top: calc(var(--header-h) + 40px); }
  .vhr { padding-left: .7rem; gap: .4rem; font-size: .78rem; }
  .vhr__main { justify-content: flex-start; gap: .45rem; }
  .vhr__s { display: none; }
  .vhr__faces img, .vhr__ini { width: 22px; height: 22px; }
  .vhr__x { width: 40px; height: 40px; font-size: 1.1rem; }
}
@media (max-width: 560px) { .vhr__faces { display: none; } .vhr__main { overflow: hidden; } .vhr__t { overflow: hidden; text-overflow: ellipsis; } }
@media (prefers-reduced-motion: reduce) { .vhr { transition: none; } .vhr__dot, .header-nav .vh-sub--live::before { animation: none !important; } }
/* the vHerf line: "N in the room" next to the LIVE tag; inside a dropdown it sits on the same line instead of hanging below */
.header-nav .vh-sub--room { color: #ff9b92; font-weight: 700; }
.header-nav .sub-menu .vh-sub { position: static; transform: none; display: block; margin: .3em 0 0; font-size: .66rem; letter-spacing: .03em; }

/* ---- Status Bar (Admin → Status Bar): announcement styles + Live Chat; the vHerf look is above ---- */
.vhr__ic { flex: none; font-size: 1.05rem; line-height: 1; }
.vhr__ic[hidden], .vhr__go[hidden], .vhr__x[hidden] { display: none !important; }
.vhr--ann .vhr__dot, .vhr--ann .vhr__faces, .vhr--ann .vhr__s { display: none; }
.vhr--ann .vhr__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-ui); font-weight: 600; letter-spacing: .01em; font-size: .9rem; }
.vhr--ann .vhr__main:not([href]) { cursor: default; }
.vhr--ann .vhr__main:not([href]):hover .vhr__t { color: inherit; }
.vhr--ann.vhr--brass { background: linear-gradient(90deg, #2e1a0b, #4a2c10 45%, #2e1a0b); border-bottom-color: rgba(212,154,66,.55); }
.vhr--ann.vhr--brass .vhr__go { background: linear-gradient(180deg, #e2b062, #b47a2e); border-color: transparent; color: #1d0e06; }
.vhr--ann.vhr--red { background: linear-gradient(90deg, #3a0f0c, #6a1a14 45%, #3a0f0c); border-bottom-color: rgba(217,69,59,.6); }
.vhr--ann.vhr--red .vhr__go { background: var(--live-red); border-color: var(--live-red); color: #fff; }
.vhr--ann.vhr--green { background: linear-gradient(90deg, #0d2214, #17391f 45%, #0d2214); border-bottom-color: rgba(110,190,130,.5); }
.vhr--ann.vhr--green .vhr__go { background: #3f9a5a; border-color: #3f9a5a; color: #fff; }
.vhr--ann.vhr--blue { background: linear-gradient(90deg, #0c1428, #17264a 45%, #0c1428); border-bottom-color: rgba(120,150,230,.5); }
.vhr--ann.vhr--blue .vhr__go { background: #3c5fb8; border-color: #3c5fb8; color: #fff; }
.vhr--chat { background: linear-gradient(90deg, #10201c, #173530 45%, #10201c); border-bottom-color: rgba(110,200,170,.45); }
.vhr--chat .vhr__dot { background: #5fd3a5; box-shadow: 0 0 8px rgba(95,211,165,.8); animation: vh-blink 2.2s infinite; }
.vhr--chat .vhr__go { background: rgba(95,211,165,.16); border-color: #5fd3a5; color: #b9f0da; }
.vhr--chat .vhr__go:hover { background: rgba(95,211,165,.3); }
.vhr--chat .vhr__faces img, .vhr--chat .vhr__ini { border-color: #10201c; }
@media (max-width: 768px) {
  .vhr--ann .vhr__t { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .78rem; line-height: 1.2; }
  .vhr--chat .vhr__s { display: inline; font-size: .74rem; }
}

/* Menu links set to "Members only" / "Guests only" (Admin → Menu → Who sees it): site.js adds html.is-member once the forum answers */
html:not(.is-member) [data-aud="members"], html.is-member [data-aud="guests"] { display: none !important; }

/* ---------- StogieVault: the walk-in vault room (/stogievault) ----------
   Full-bleed photo under the header; the glass box sits in the centre aisle on the rug,
   below the round vault door, so the door, lockers and desk stay clear. */
.sv { position: relative; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 34rem; overflow: hidden;
  background: #0b0604 var(--sv-bg) center / cover no-repeat; }
.sv::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; pointer-events: none; background: linear-gradient(to bottom, transparent, rgba(11,6,4,.85)); }
.sv__box { position: absolute; z-index: 2; left: 50%; top: 64%; transform: translate(-50%, -50%); width: min(560px, 88vw); text-align: center;
  background: rgba(15, 10, 7, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.35); border-radius: 6px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 20px 50px rgba(0,0,0,0.75); color: #f3e3c3; }
.sv__eyebrow { margin: 0; font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .32em; color: #e2b867; }
.sv__dot { color: #d4af37; margin-right: .35em; text-shadow: 0 0 8px rgba(212,175,55,.7); }
.sv__title { margin: .35rem 0 .9rem; font-family: var(--font-plaque); font-weight: 700; font-size: clamp(2rem, 5.2vw, 3.3rem); line-height: 1.05; letter-spacing: .08em;
  background: linear-gradient(180deg, #fff3cf 0%, #f0c47a 30%, #b9842f 58%, #f2cf86 78%, #a8741f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.9)) drop-shadow(0 0 14px rgba(240,196,122,.18)); }
.sv__lede { margin: 0 auto; max-width: 30em; font-family: var(--font-body, Georgia, serif); font-style: italic; font-size: clamp(.98rem, 1.6vw, 1.1rem); color: #eadbc0; }
.sv__stash { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 .2rem; border-top: 1px solid rgba(212,175,55,.28); border-bottom: 1px solid rgba(212,175,55,.28); }
.sv__stash[hidden] { display: none; }
.sv__cell { display: grid; gap: .25rem; padding: .7rem .4rem; }
.sv__cell + .sv__cell { border-left: 1px solid rgba(212,175,55,.2); }
.sv__cell b { font-family: var(--font-plaque); font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: #f6dca0; font-variant-numeric: tabular-nums; }
.sv__cell small { font-family: var(--font-ui); font-size: .58rem; font-weight: 700; letter-spacing: .16em; color: #bfa680; }
.sv__actions { display: grid; justify-items: center; gap: .75rem; margin-top: 1.2rem; }
.sv__btn { display: inline-flex; align-items: center; gap: .6em; padding: .85em 1.8em; border-radius: 4px; text-decoration: none;
  font-family: var(--font-plaque); font-weight: 700; letter-spacing: .14em; font-size: clamp(.8rem, 1.4vw, .95rem); color: #2a160b;
  background: linear-gradient(180deg, #fff0c4 0%, #f0c47a 28%, #c8913c 62%, #e9b866 100%);
  box-shadow: 0 0 0 1px #7d5417, inset 0 1px 0 rgba(255,250,230,.8), inset 0 -2px 0 rgba(120,70,10,.35), 0 .5rem 1.4rem rgba(0,0,0,.55), 0 0 1.6rem rgba(240,196,122,.25);
  transition: transform .2s ease, filter .2s; }
.sv__btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: #2a160b; }
.sv__log { font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: #d9bd88; text-decoration: none; border-bottom: 1px solid rgba(217,189,136,.35); padding-bottom: .1em; }
.sv__log:hover { color: #fff; border-color: #f0c47a; }
.sv__cue { position: absolute; z-index: 2; left: 50%; bottom: 2.4vh; transform: translateX(-50%); display: grid; justify-items: center; gap: .35rem; text-decoration: none; white-space: nowrap;
  font-family: var(--font-ui); font-size: clamp(.6rem, 1.3vh, .78rem); font-weight: 700; letter-spacing: .24em; color: #f3e3c3;
  text-shadow: 0 1px 2px #000, 0 0 12px rgba(0,0,0,.95); padding: .5rem 1rem; border-radius: 99px; background: rgba(10,6,4,.35); backdrop-filter: blur(3px); }
.sv__cue i { font-style: normal; font-size: 1.2em; color: #f0c47a; }
.sv__cue:hover { color: #fff; }
@media (prefers-reduced-motion: no-preference) { .sv__cue i { animation: vr-bob 2.2s ease-in-out infinite; } }
/* shorter laptop screens: a slimmer box sits a little lower so the vault door stays clear */
@media (max-height: 820px) and (min-width: 651px) {
  .sv__box { top: 69%; padding: 18px 26px; }
  .sv__title { font-size: clamp(1.8rem, 5.6vh, 2.7rem); margin: .2rem 0 .55rem; }
  .sv__actions { margin-top: .85rem; gap: .5rem; }
  .sv__btn { padding: .7em 1.6em; }
  .sv__cue { bottom: 1.2vh; padding: .3rem .9rem; gap: .1rem; }
}
@media (max-height: 640px) { .sv__box { top: 58%; } .sv__cue { display: none; } }
@media (max-width: 650px) {
  .sv { background-image: var(--sv-bg-m, var(--sv-bg)); background-position: 50% 40%; }
  .sv__box { top: 60%; }
  .sv__eyebrow { letter-spacing: .22em; font-size: .64rem; }
  .sv__cue { letter-spacing: .12em; font-size: .58rem; }
}
.sv-page .reading { padding-top: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: var(--header-h); }
.sv-page .read-card--vip { border-color: rgba(212,175,55,.35); padding-top: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(180deg, #2a160d 0%, #1d0f08 100%); box-shadow: 0 1.6rem 3rem rgba(0,0,0,.55), inset 0 0 0 1px rgba(212,175,55,.12); }
.sv-page .read-card--vip .prose > :first-child { margin-top: 0; }

/* ---------- Today's Smoke (/todays-smoke): who's smoking what, from the forum thread ---------- */
.smk-hero__go { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: 1.6rem 0 0; }
.smk-wrap { width: min(640px, 100% - 2rem); margin: 0 auto; padding: 0 0 4rem; }
.smk-note { text-align: center; font-family: var(--font-ui); font-size: .85rem; color: var(--brass-hi); border: 1px dashed var(--brass-lo); border-radius: 6px; padding: .6rem 1rem; }
.smk-tabs { position: sticky; top: calc(var(--header-h) + .5rem); z-index: 5; display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 1.2rem; padding: .35rem;
  border: 1px solid rgba(212,154,66,.3); border-radius: 99px; background: rgba(14,9,6,.92); backdrop-filter: blur(6px); }
.smk-tabs button { appearance: none; border: 0; border-radius: 99px; padding: .65rem 1rem; cursor: pointer; background: none; color: var(--parchment-dim);
  font-family: var(--font-ui); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.smk-tabs button span { display: inline-block; min-width: 1.6em; margin-left: .4em; padding: .05em .45em; border-radius: 99px; background: rgba(212,154,66,.16); color: var(--brass-hi); letter-spacing: 0; }
.smk-tabs button[aria-selected="true"] { color: #2a160b; background: linear-gradient(180deg, #f6d48f, #d49a42); }
.smk-tabs button[aria-selected="true"] span { background: rgba(42,22,11,.16); color: #2a160b; }
.smk-count { margin: 0 0 1rem; text-align: center; font-family: var(--font-ui); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--parchment-dim); }
.smk-count:empty { display: none; }
.smk-count b { color: var(--brass-hi); }
.smk { margin: 0 0 1.4rem; border: 1px solid rgba(212,154,66,.22); border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, #24130b, #170c07); box-shadow: 0 1rem 2rem rgba(0,0,0,.45); }
.smk.is-new { animation: smk-in .6s ease-out; }
@keyframes smk-in { from { opacity: 0; transform: translateY(-.6rem); } }
.smk__who { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.1rem;
  background: radial-gradient(120% 140% at 0% 0%, rgba(212,154,66,.10), transparent 55%), linear-gradient(180deg, #2b160c, #1d0f08); }
.smk__who::after { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,196,122,.55) 20%, rgba(240,196,122,.55) 80%, transparent); }
.smk__member { display: flex; align-items: center; gap: .85rem; min-width: 0; text-decoration: none; color: var(--parchment); }
.smk__ring { flex: none; position: relative; width: 52px; height: 52px; padding: 2.5px; border-radius: 50%;
  background: conic-gradient(from 210deg, #8a5f22, #f6d48f, #c8913c, #fff0c4, #8a5f22); box-shadow: 0 4px 12px rgba(0,0,0,.55); }
.smk__ring::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%;     /* the ember */
  background: radial-gradient(circle at 40% 40%, #ffd08a, #ff7a1a 55%, #b33a00); box-shadow: 0 0 0 2px #1d0f08, 0 0 8px rgba(255,122,26,.75); }
.smk__av { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #1d0f08; box-sizing: border-box; }
.smk__av--letter { display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #7a4a22, #3a1f0e); color: #f6d48f; font: 700 1.25rem var(--font-plaque); }
.smk__id { display: grid; gap: .3rem; min-width: 0; }
.smk__name { font-family: var(--font-plaque); font-weight: 700; font-size: clamp(1.02rem, 2.4vw, 1.18rem); letter-spacing: .05em; line-height: 1.1;
  color: #f3dfb4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 0 rgba(0,0,0,.6); }
.smk__member:hover .smk__name { color: #fff3d6; }
.smk__meta { display: flex; flex-wrap: wrap; gap: .1rem .55rem; font-family: var(--font-ui); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--parchment-dim); }
.smk__lit { color: var(--brass-hi); }
.smk__since::before { content: "◆"; margin-right: .55rem; font-size: .7em; color: var(--brass-lo); }
.smk__no { flex: none; display: inline-flex; align-items: baseline; gap: .28rem; padding: .32rem .7rem .3rem; border-radius: 3px;
  font-family: var(--font-plaque); color: #f6d48f; background: linear-gradient(180deg, #3b2210, #24130a);
  box-shadow: inset 0 0 0 1px rgba(240,196,122,.55), inset 0 0 0 3px #24130a, inset 0 0 0 4px rgba(240,196,122,.28), 0 3px 8px rgba(0,0,0,.4); }
.smk__no small { font-size: .62rem; letter-spacing: .12em; color: var(--brass); }
.smk__no b { font-family: var(--font-ui); font-size: .98rem; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 480px) { .smk__who { padding: .8rem .85rem; } .smk__ring { width: 46px; height: 46px; } .smk__meta { flex-direction: column; letter-spacing: .12em; } .smk__since::before { content: none; } }
.smk__ph { display: block; background: #0d0704; }
.smk__ph img { display: block; width: 100%; height: auto; max-height: 85vh; object-fit: contain; }
.smk-empty { text-align: center; padding: 2.5rem 1rem; border: 1px dashed rgba(212,154,66,.3); border-radius: 8px; color: var(--parchment-dim); }
.smk-empty[hidden] { display: none; }
.smk-empty p { margin: 0 0 1rem; font-style: italic; }
@media (prefers-reduced-motion: reduce) { .smk.is-new { animation: none; } }

/* Today's Smoke: mahogany circle with today's count beside its menu link */
.smoke-count { display: inline-grid; place-items: center; min-width: 1.75em; height: 1.75em; margin-left: .4em; padding: 0 .3em; border-radius: 99px; vertical-align: .05em;
  font-family: var(--font-ui, "Inter", system-ui, sans-serif); font-size: .72em; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; line-height: 1; text-transform: none; text-shadow: 0 1px 0 rgba(0,0,0,.6);
  color: #f6d48f; background: radial-gradient(circle at 35% 28%, #8a4a24 0%, #5a2a12 45%, #34160a 100%);
  box-shadow: 0 0 0 1px #c8913c, 0 0 0 2.5px #2a140a, 0 0 0 3px rgba(240,196,122,.45), 0 2px 6px rgba(0,0,0,.5); }
.smoke-count[hidden] { display: none; }
.smoke-count.is-tick { animation: smoke-tick .7s ease-out; }
@keyframes smoke-tick { 30% { transform: scale(1.28); box-shadow: 0 0 0 1px #f0c47a, 0 0 0 2.5px #2a140a, 0 0 0 3px rgba(240,196,122,.7), 0 0 14px rgba(240,196,122,.75); } }
@media (prefers-reduced-motion: reduce) { .smoke-count.is-tick { animation: none; } }
.site-footer .smoke-count { display: none; }

/* footer: the forum's reactions (read-only) + Go to Post */
.smk__foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1rem; flex-wrap: wrap; padding: .75rem 1.1rem;
  background: linear-gradient(180deg, #1d0f08, #170c07); border-top: 1px solid rgba(240,196,122,.18); }
.smk__rx { display: flex; align-items: center; gap: .55rem; min-width: 0; font-family: var(--font-ui); font-size: .82rem; color: var(--parchment-dim); }
.smk__rx:empty { display: none; }
.smk__rx-e { display: inline-flex; font-size: 1.05rem; letter-spacing: -.12em; line-height: 1; filter: drop-shadow(0 1px 1px rgba(0,0,0,.6)); }
.smk__rx-t { color: #d9bd88; overflow: hidden; text-overflow: ellipsis; }
.smk__go { margin-left: auto; display: inline-flex; align-items: center; gap: .45em; padding: .45em .95em; border-radius: 3px; text-decoration: none; white-space: nowrap;
  font-family: var(--font-plaque); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-hi);
  border: 1px solid rgba(212,154,66,.45); background: rgba(212,154,66,.06); transition: background .2s, border-color .2s, color .2s; }
.smk__go:hover { color: #2a160b; background: linear-gradient(180deg, #f6d48f, #d49a42); border-color: #d49a42; }
.smk__go span { transition: transform .2s; } .smk__go:hover span { transform: translateX(3px); }

/* Today's Smoke: the lounge backdrop (the homepage photo behind the page; Admin → Today's Smoke) */
html:has(body.has-smk-bd) { background-color: #0D0705; }
body.has-smk-bd { background: transparent; }
body.has-smk-bd::before, body.has-smk-bd::after { content: ""; position: fixed; pointer-events: none; }
body.has-smk-bd::before { inset: var(--smk-bleed, 0); z-index: -2; background: var(--smk-bd) center top / cover no-repeat; filter: blur(var(--smk-blur, 0)) saturate(1.08); }
body.has-smk-bd::after { inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,7,5,.35) 0%, transparent 18%), linear-gradient(180deg, rgba(13,7,5,var(--smk-dim, .55)) 0%, rgba(13,7,5,var(--smk-dim2, .59)) 100%); }
@media (max-width: 900px) { body.has-smk-bd::before { background-image: var(--smk-bd-m, var(--smk-bd)); } }
body.has-smk-bd .smk-hero { background: radial-gradient(ellipse 45% 90% at 50% 0%, rgba(212,154,66,.14), transparent 70%), linear-gradient(180deg, rgba(30,15,10,.55), rgba(13,7,5,0)); border-bottom-color: transparent; }
body.has-smk-bd .smk-tabs { background: rgba(14,9,6,.82); }
body.has-smk-bd .site-footer { position: relative; }

/* Bordered menu buttons are the same height whether or not they have a dropdown (▾) */
.header-nav a.is-cta { display: inline-block; line-height: 1.5; }

/* ---------- Homepage: Everything Under One Roof (includes/showcase.php) ---------- */
.shw-kicker { margin: 0 0 .35rem; display: flex; align-items: center; gap: .45rem; font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.shw-grid .eco-card h3 { margin-top: 0; }
.shw-ember { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #ffd08a, #ff7a1a 55%, #b33a00); box-shadow: 0 0 8px rgba(255,122,26,.8); }
.shw-live { width: 8px; height: 8px; border-radius: 50%; background: #3fd474; box-shadow: 0 0 8px rgba(63,212,116,.8); }
@media (prefers-reduced-motion: no-preference) { .shw-ember, .shw-live { animation: shw-pulse 2.2s ease-in-out infinite; } @keyframes shw-pulse { 50% { opacity: .45; } } }

.shw-smoke { margin: 0 0 2rem; padding: clamp(1.2rem, 2.5vw, 2rem); border-radius: var(--radius); border: 1px solid rgba(212,154,66,.32);
  background: radial-gradient(90% 120% at 0% 0%, rgba(212,154,66,.12), transparent 60%), linear-gradient(180deg, var(--mahogany-2), var(--mahogany)); box-shadow: 0 1.2rem 2.5rem rgba(0,0,0,.45); }
.shw-smoke__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.3rem; }
.shw-smoke__head h3 { margin: 0 0 .4rem; font-size: 1.5rem; }
.shw-smoke__lede { margin: 0; max-width: 40em; color: var(--parchment-dim); }
.shw-smoke__lede b { color: var(--brass-hi); }
.shw-smoke__strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.shw-smoke__strip a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; border: 1px solid rgba(212,154,66,.3); background: #0d0704; text-decoration: none; }
.shw-smoke__strip a > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shw-smoke__strip a:hover > img { transform: scale(1.05); }
.shw-smoke__who { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .4rem; padding: 1.6rem .55rem .5rem;
  background: linear-gradient(180deg, transparent, rgba(10,5,3,.92)); color: #f3dfb4; font-family: var(--font-ui); font-size: .74rem; }
.shw-smoke__who img, .shw-smoke__who i { flex: none; width: 22px; height: 22px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #d49a42; }
.shw-smoke__who i { display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .7rem; background: #5a3418; color: #f6d48f; }
.shw-smoke__who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 980px) { .shw-smoke__strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .shw-smoke__strip { grid-template-columns: repeat(2, 1fr); } .shw-smoke__strip li:nth-child(n+5) { display: none; } .shw-smoke__head .btn { width: 100%; text-align: center; } }

.shw-chat__people { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .55rem; }
.shw-chat__people li { display: flex; align-items: center; gap: .65rem; }
.shw-chat__people img, .shw-chat__people i { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(212,154,66,.5); }
.shw-chat__people i { display: grid; place-items: center; font-style: normal; font: 700 .9rem var(--font-plaque); background: #5a3418; color: #f6d48f; }
.shw-chat__people span { display: grid; min-width: 0; font-family: var(--font-ui); font-size: .88rem; }
.shw-chat__people small { color: var(--parchment-dim); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shw-chat__more { font-family: var(--font-ui); font-size: .82rem; color: var(--brass); padding-left: .2rem; }
.shw-chat__empty { font-style: italic; color: var(--parchment-dim) !important; }
.shw-memorial__names { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.shw-memorial__names li { padding: .3rem .7rem; border-radius: 99px; border: 1px solid rgba(212,154,66,.3); font-family: var(--font-plaque); font-size: .85rem; color: #f3dfb4; background: rgba(0,0,0,.18); }

/* Game Night badge (menu): red LIVE while the weekly Hold'em tournament runs */
.smoke-count.game-count.is-live { min-width: 0; padding: 0 .55em; font-size: .62em; letter-spacing: .12em; color: #fff; background: radial-gradient(circle at 35% 28%, #e0574a, #8e1c14); box-shadow: 0 0 0 1px #f08a7f, 0 0 .8em rgba(217,69,59,.55); }
.vhr--glive .vhr__ic, .vhr--gsoon .vhr__ic { font-size: 1.05em; color: var(--brass-hi, #f0c27a); }

/* ---------------- Top bar fits on one line (site.js B1b sets data-fit and builds "More") ---------------- */
.site-header__inner { max-width: 1880px; }
.header-nav li.is-folded { display: none !important; }
@media (min-width: 769px) {
  .site-header[data-fit] .crest__est { display: none; }
  .site-header[data-fit] .header-nav ul { gap: 1rem; }
  .site-header[data-fit="2"] .header-nav ul, .site-header[data-fit="3"] .header-nav ul { gap: .75rem; }
  .site-header[data-fit="2"] .header-nav > ul > li > a, .site-header[data-fit="2"] .header-nav .sub-toggle,
  .site-header[data-fit="3"] .header-nav > ul > li > a, .site-header[data-fit="3"] .header-nav .sub-toggle { font-size: .76rem; letter-spacing: .04em; }
  .site-header[data-fit="3"] .crest.has-logo .crest__name { display: none; }      /* the name goes last */
  .header-nav .nav-more > .sub-menu { left: auto; right: -.6rem; max-height: calc(100vh - var(--header-h) - 2rem); overflow-y: auto; }
  .header-nav .sub-menu--more > li { list-style: none; }
  .header-nav .nav-more__group > a, .header-nav .nav-more__group > span { display: block; padding: .6rem 1.15rem .3rem; font-family: var(--font-plaque); font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--brass); }
  .header-nav .nav-more__group:not(:first-child) { margin-top: .3rem; border-top: 1px solid rgba(212,154,66,.15); }
  .header-nav .nav-more__child > a { padding-left: 1.9rem; font-size: .76rem; color: var(--parchment-dim); }
  .header-nav .sub-menu--more li > a { white-space: nowrap; }
}

/* ---------------- Log in / Join cards (site.js B1c) ---------------- */
.xl { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 1rem; opacity: 0; transition: opacity .22s ease; }
.xl.is-in { opacity: 1; }
html.xl-open { overflow: hidden; }
.xl__backdrop { position: absolute; inset: 0; background: rgba(8,4,2,.62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.xl__card { position: relative; width: min(400px, 100%); max-height: calc(100dvh - 2rem); overflow-y: auto; padding: 1.9rem 1.8rem 1.4rem; border-radius: 18px; text-align: center; color: var(--parchment);
  background: linear-gradient(180deg, rgba(46,24,13,.92), rgba(16,8,5,.95)); border: 1px solid rgba(212,154,66,.5);
  box-shadow: 0 30px 70px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,225,170,.1), 0 0 0 6px rgba(212,154,66,.06);
  transform: translateY(10px) scale(.98); transition: transform .25s cubic-bezier(.2,.8,.3,1); }
.xl.is-in .xl__card { transform: none; }
.xl__card::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(212,154,66,.16); border-radius: 13px; pointer-events: none; }
.xl__x { position: absolute; right: .55rem; top: .45rem; width: 2.1rem; height: 2.1rem; border: 0; border-radius: 50%; background: none; color: rgba(243,232,214,.55); font: 400 1.5rem/1 var(--font-ui); cursor: pointer; }
.xl__x:hover { color: #fff; background: rgba(255,255,255,.07); }
.xl__logo { display: block; height: 64px; width: auto; max-width: 180px; margin: 0 auto .7rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.xl__title { margin: 0; font: 700 1.55rem/1.15 var(--font-plaque); letter-spacing: .06em; color: var(--brass-hi); }
.xl__sub { margin: .35rem 0 1.25rem; font: italic 400 1rem/1.4 var(--font-body); color: var(--parchment-dim); }
.xl__field { position: relative; display: block; margin: 0 0 .8rem; text-align: left; }
.xl__field > span { display: block; margin: 0 0 .3rem .15rem; font: 600 .7rem/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(243,232,214,.6); }
.xl__field input { width: 100%; box-sizing: border-box; padding: .78rem .9rem; border-radius: 10px; border: 1px solid rgba(212,154,66,.32); background: rgba(0,0,0,.35);
  color: #f6ecdc; font: 500 1rem/1.2 var(--font-ui); outline: none; transition: border-color .2s, box-shadow .2s; }
.xl__field input:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(212,154,66,.18); }
.xl__eye { position: absolute; right: .45rem; bottom: .45rem; padding: .35rem .55rem; border: 0; border-radius: 7px; background: rgba(255,255,255,.06); color: rgba(243,232,214,.7); font: 600 .72rem/1 var(--font-ui); letter-spacing: .06em; cursor: pointer; }
.xl__field:has(.xl__eye) input { padding-right: 4.2rem; }
.xl__check { display: flex; align-items: center; gap: .5rem; margin: .1rem 0 .4rem .1rem; font: 500 .88rem/1 var(--font-ui); color: rgba(243,232,214,.8); cursor: pointer; text-align: left; }
.xl__check input { width: 1.05rem; height: 1.05rem; accent-color: #c8913a; }
.xl__err { min-height: 1.2em; margin: .3rem 0 .5rem; font: 500 .88rem/1.35 var(--font-ui); color: #f0a08a; }
.xl__btn { display: block; width: 100%; box-sizing: border-box; padding: .9rem 1rem; border: 0; border-radius: 999px; cursor: pointer; text-align: center; text-decoration: none;
  font: 700 .92rem/1 var(--font-plaque); letter-spacing: .12em; text-transform: uppercase; color: #2a160b; background: linear-gradient(180deg, #f6d998, #c8913a);
  box-shadow: 0 8px 22px rgba(200,145,58,.28), inset 0 1px 0 rgba(255,255,255,.45); transition: filter .2s, transform .2s; }
.xl__btn:hover, .xl__btn:focus-visible { filter: brightness(1.07); transform: translateY(-1px); color: #2a160b; }
.xl__btn:disabled { opacity: .75; cursor: default; transform: none; }
.xl__links { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; font: 500 .85rem/1.3 var(--font-ui); }
.xl--join .xl__links { justify-content: center; }
.xl__links a { color: var(--brass); text-decoration: none; }
.xl__links a:hover { color: var(--brass-hi); text-decoration: underline; }
.xl__perks { list-style: none; margin: 0 0 1.3rem; padding: 0; text-align: left; display: grid; gap: .55rem; }
.xl__perks li { position: relative; padding-left: 1.6rem; font: 500 .95rem/1.35 var(--font-ui); color: #eadfcd; }
.xl__perks li::before { content: "✦"; position: absolute; left: .2rem; top: 0; color: var(--brass); }
.xl__card.is-shake { animation: xl-shake .35s; }
@keyframes xl-shake { 25% { transform: translateX(-7px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.xl__card.is-done .xl__btn { background: linear-gradient(180deg, #9fe0a8, #4f9e5d); color: #0f2412; }
@media (prefers-reduced-motion: reduce) { .xl, .xl__card { transition: none; } .xl__card.is-shake { animation: none; } }

/* "Online now": forum / lounge split under the odometer */
.pc__split { display: inline-flex; align-items: stretch; gap: 0; margin: .5em 0 0; padding: .3em .2em; border-radius: 6px; font-family: var(--font-ui); font-size: .6em;
  color: #f3e6cf; white-space: nowrap; font-variant-numeric: tabular-nums; background: rgba(8,4,2,.6); box-shadow: inset 0 0 0 1px rgba(212,154,66,.35); text-shadow: 0 1px 2px rgba(0,0,0,.8); }
.pc__s { display: grid; justify-items: center; gap: .15em; padding: 0 .75em; font-size: .78em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(243,230,207,.85); }
.pc__s b { font-size: 1.75em; font-weight: 800; letter-spacing: .02em; line-height: 1; color: #ffd88a; }
.pc__split > i { width: 1px; background: rgba(212,154,66,.35); }
#lounge-nav .pc__split { font-size: .9em; }

/* Lounge TV: the Race & Sports Book channel (includes/sportsbook_site.php) */
.tvsb__lg { margin: .2em 0 .35em; font: 700 .62em/1 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: rgba(240,196,122,.85); }
.tvsb__big { display: flex; align-items: center; justify-content: center; gap: .9em; margin: .1em 0 .4em; }
.tvsb__t { display: grid; justify-items: center; gap: .05em; }
.tvsb__t b { font: 700 .9em/1 var(--font-plaque); letter-spacing: .08em; color: #f6e3c7; }
.tvsb__t i { font: 800 2.3em/1 var(--font-ui); font-style: normal; font-variant-numeric: tabular-nums; color: #fff8ea; text-shadow: 0 0 .4em rgba(240,196,122,.35); }
.tvsb__clock { font: 800 .8em/1 var(--font-ui); color: #ff6b5e; white-space: nowrap; }
.tvsb__more { list-style: none; margin: 0 0 .55em; padding: 0; display: grid; gap: .25em; font: 600 .62em/1.2 var(--font-ui); color: rgba(246,234,211,.85); font-variant-numeric: tabular-nums; }
.tvsb__more small { color: rgba(240,196,122,.8); font-size: .85em; letter-spacing: .1em; margin-right: .3em; }
.tvsb__more em { font-style: normal; color: #ff8a7e; margin-left: .3em; }
.tvsb__clock.is-pre, .tvsb__more em.is-pre { color: #f0c47a; }
/* "Big game, full screen": one game fills the TV like a stadium scoreboard */
.tvsbf { width: 100%; }
.tvsbf__board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .8em; margin: .2em 0 .45em; font-size: 1.05em; }
.tvsbf__team { display: grid; justify-items: center; gap: .18em; min-width: 0; }
.tvsbf__mark { width: 3em; height: 3em; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--tc) 55%, transparent), transparent 70%); filter: drop-shadow(0 0 .5em color-mix(in srgb, var(--tc) 60%, transparent)); }
.tvsbf__mark img { width: 82%; height: 82%; object-fit: contain; }
.tvsbf__disc { width: 86%; height: 86%; display: grid; place-items: center; border-radius: 50%; background: var(--tc); box-shadow: inset 0 0 0 .08em rgba(255,255,255,.35);
  font: 800 .78em/1 var(--font-ui); letter-spacing: .04em; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.tvsbf__team b { font: 700 .72em/1.1 var(--font-plaque); letter-spacing: .05em; color: #f6e3c7; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvsbf__team i { font: 800 2.3em/1 var(--font-ui); font-style: normal; font-variant-numeric: tabular-nums; color: #fff8ea; text-shadow: 0 0 .35em color-mix(in srgb, var(--tc) 55%, rgba(240,196,122,.5)); }
.tvsbf__team small { font: 600 .55em/1 var(--font-ui); color: rgba(246,234,211,.7); }
.tvsbf__mid { display: grid; justify-items: center; gap: .25em; }
.tvsbf__mid .tvsb__clock { font-size: .95em; padding: .3em .6em; border-radius: .4em; background: rgba(0,0,0,.45); box-shadow: 0 0 0 1px rgba(255,107,94,.45); }
.tvsbf__at { font: 700 1.2em/1 var(--font-plaque); color: rgba(240,196,122,.6); }
.tvsbf__when { font: 700 .6em/1.2 var(--font-ui); letter-spacing: .06em; color: #f0c47a; text-align: center; white-space: nowrap; }


/* =========================================================================
   HOMEPAGE — Everything Under One Roof: Game Night band + small cards (includes/showcase.php)
   ========================================================================= */
.shw-games { margin-top: 2rem; padding: 1.8rem 1.8rem 2rem; border-radius: 10px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(120,24,18,.28), transparent 60%), linear-gradient(180deg, #1d100a, #120905);
  border: 1px solid rgba(212,154,66,.4); box-shadow: 0 22px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,220,160,.07); }
.shw-games::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(212,154,66,.14); border-radius: 7px; pointer-events: none; }
.shw-games__head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.4rem; }
.shw-games__head h3 { margin: 0 0 .35rem; font-size: 1.6rem; color: var(--brass-hi); }
.shw-games__head p { margin: 0; max-width: 46rem; color: var(--parchment); }
.shw-games__head .btn { flex: none; }
.shw-games__grid { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
.shw-games__grid--2 { grid-template-columns: repeat(2, 1fr); }
.shw-games__grid--1 { grid-template-columns: 1fr; max-width: 34rem; }
.shw-game__link { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--parchment);
  background: #150a06; border: 1px solid rgba(212,154,66,.3); box-shadow: 0 10px 26px rgba(0,0,0,.45); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.shw-game__link:hover { transform: translateY(-3px); border-color: rgba(240,196,122,.7); box-shadow: 0 16px 34px rgba(0,0,0,.55), 0 0 24px rgba(212,154,66,.18); color: var(--parchment); }
.shw-game__pic { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; background: var(--pic) center 42% / cover no-repeat, #0b0604; overflow: hidden; }
.shw-game__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,5,3,.05) 30%, rgba(21,10,6,.95)); }
.shw-game__link:hover .shw-game__pic { background-size: auto 112%; }
.shw-game--pickem .shw-game__pic { background: none; }
.shw-game--pickem .shw-game__pic::before { content: ""; position: absolute; inset: -16px; background: var(--pic) center / cover no-repeat; filter: blur(8px) brightness(.42) saturate(1.2); }
.shw-game__board { position: relative; z-index: 1; display: grid; justify-items: center; gap: .3rem; padding: .7rem 1.4rem .8rem; border-radius: 10px; margin-top: -.6rem;
  background: linear-gradient(180deg, rgba(14,18,32,.92), rgba(6,8,14,.95)); border: 2px solid rgba(233,184,92,.55); box-shadow: 0 10px 24px rgba(0,0,0,.55), 0 0 22px rgba(233,184,92,.22); }
.shw-game__board small { font: 700 .62rem/1 var(--font-ui); letter-spacing: .3em; text-transform: uppercase; color: #e9b85c; }
.shw-game__board b { font: 800 1.7rem/1 var(--font-ui); letter-spacing: .04em; text-transform: uppercase; color: #ffe2a6; text-shadow: 0 0 14px rgba(255,190,90,.55); }
.shw-game__live { position: absolute; top: .7rem; left: .7rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .65rem; border-radius: 99px;
  background: rgba(10,4,2,.82); box-shadow: 0 0 0 1px rgba(255,90,70,.55); font: 700 .7rem/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #ffd0c8; }
.shw-game__live[hidden] { display: none; }
.shw-game__live i { width: 7px; height: 7px; border-radius: 50%; background: #ff4b3e; box-shadow: 0 0 8px #ff4b3e; animation: shw-pulse 1.6s ease-in-out infinite; }
.shw-game__body { position: relative; z-index: 1; display: grid; gap: .35rem; padding: 0 1.1rem 1.1rem; margin-top: -1.6rem; flex: 1; align-content: start; }
.shw-game__body small { font: 700 .66rem/1 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.shw-game__body b { font-family: var(--font-plaque); font-size: 1.18rem; line-height: 1.2; color: var(--brass-hi); }
.shw-game__text { font-size: .92rem; line-height: 1.45; color: #e4d4bb; }
.shw-game__go { margin-top: .35rem; font: 700 .78rem/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: #ffd88a; }
.shw-game__link:hover .shw-game__go { text-decoration: underline; text-underline-offset: 3px; }

.shw-minis { margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.2rem; }
.shw-mini { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem 1.3rem 1.2rem 1.3rem; border-radius: 8px;
  background: linear-gradient(180deg, #22130b, #160c07); border: 1px solid rgba(212,154,66,.3); box-shadow: 0 10px 24px rgba(0,0,0,.35); transition: border-color .25s ease, transform .25s ease; }
.shw-mini:hover { border-color: rgba(240,196,122,.6); transform: translateY(-2px); }
  background: radial-gradient(circle at 35% 30%, rgba(240,196,122,.25), rgba(212,154,66,.06)); box-shadow: inset 0 0 0 1px rgba(212,154,66,.35); }
.shw-mini h3 { margin: 0; font-size: 1.25rem; color: var(--brass-hi); }
.shw-mini p:not(.shw-kicker) { margin: .2rem 0 .6rem; font-size: .93rem; line-height: 1.5; color: #e4d4bb; }
.shw-mini__go { margin-top: auto; font: 700 .76rem/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: #ffd88a; }
.shw-mini__go:hover { color: #fff0cf; }
.shw-mini__go::after { content: ""; position: absolute; inset: 0; }                 /* the whole card is the link */

@media (max-width: 1000px) { .shw-games__grid, .shw-games__grid--2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .shw-games { padding: 1.3rem 1rem 1.4rem; }
  .shw-games__head { flex-direction: column; align-items: flex-start; }
  .shw-games__grid, .shw-games__grid--2 { grid-template-columns: 1fr; }
}
@keyframes shw-pulse { 50% { opacity: .35; } }

/* a window into each room at the top of the card (vHerf, Live Chat, StogieVault, Members Map) */
.shw-has-room, .shw-mini { overflow: hidden; }
.shw-room { position: relative; display: block; height: 13rem; margin: -2rem -2rem 1.2rem; background: var(--room) center 45% / cover no-repeat; transition: transform 1.4s ease; transform-origin: 50% 40%; }
.shw-room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,10,6,0) 45%, rgba(26,14,8,.75) 80%, #1f110a 100%); pointer-events: none; }
.shw-has-room:hover .shw-room, .shw-mini:hover .shw-room { transform: scale(1.035); }
.shw-mini .shw-room { height: auto; aspect-ratio: 12 / 5; margin: -1.3rem -1.3rem .9rem; }
.shw-mini--map .shw-room { background-position: center; background-size: 100% 100%; }
.shw-tv { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; gap: .6em; border-radius: 2px;
  font: 800 .92rem/1 var(--font-ui); letter-spacing: .22em; text-transform: uppercase; box-shadow: inset 0 0 20px rgba(0,0,0,.7); }
.shw-tv[hidden] { display: none; }
.shw-tv--vherf { left: 25.3%; top: 10.5%; width: 49.4%; height: 45%; color: #ffe0d8; text-shadow: 0 0 10px rgba(255,90,70,.9);
  background: radial-gradient(ellipse at center, rgba(200,40,30,.5), rgba(30,6,4,.92) 75%); box-shadow: 0 0 34px rgba(255,70,50,.35), inset 0 0 20px rgba(0,0,0,.7); }
.shw-tv--vherf i { width: .55em; height: .55em; border-radius: 50%; background: #ff4b3e; box-shadow: 0 0 8px #ff4b3e; animation: shw-pulse 1.6s ease-in-out infinite; }
.shw-tv--chat { left: 40.5%; top: 7.5%; width: 27%; height: 38%; font-size: .78rem; color: #d8ffe2; text-shadow: 0 0 10px rgba(90,230,130,.8);
  background: radial-gradient(ellipse at center, rgba(40,120,60,.35), rgba(4,14,8,.92) 75%); box-shadow: 0 0 30px rgba(80,220,120,.22), inset 0 0 20px rgba(0,0,0,.7); }
.shw-tv--chat b { font-size: 1.3em; letter-spacing: .04em; }
.shw-pins { position: absolute; inset: 0; z-index: 1; }
.shw-pins i { position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 6px rgba(255,200,110,.9), 0 0 0 1px rgba(60,30,10,.6); }
.shw-pins i.is-more { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; }
@media (max-width: 700px) {
  .shw-room { height: 10rem; margin: -1.5rem -1.5rem 1rem; }
  .shw-tv { font-size: .8rem; } .shw-tv--chat { font-size: .66rem; }
}
