/* Wizbang Sites: shared styles */
:root {
  /* Theme tokens. Light is the default; html[data-theme="dark"] flips them. The names are older than the
     light theme: --ground is the page, --panel a surface, --cream the main text, --amber the site's accent. */
  color-scheme: light;
  --ground: #F5F6F9;
  --panel: #FFFFFF;
  --panel-2: #F9FAFC;
  --line: #E3E6ED;
  --line-2: #CDD2DE;
  --cream: #141A2B;
  --cream-2: #424A5F;
  --muted: #646C82;
  --dim: #858CA1;
  --amber: #5B4BFF;            /* the site's accent; core.js sets it from the site's settings */
  --accent: var(--amber);
  --on-accent: #FFFFFF;        /* text on the accent; core.js picks black or white for contrast */
  --ink: var(--on-accent);
  --blue: #2F5BEA;             /* links and the second accent */
  --green: #18804F;
  --red: #C23B26;
  --deep-blue: color-mix(in srgb, var(--amber) 22%, var(--panel));
  --ridge: color-mix(in srgb, var(--amber) 40%, var(--panel));
  --sky: color-mix(in srgb, var(--amber) 8%, var(--ground));
  --soft: color-mix(in srgb, var(--amber) 9%, var(--panel));     /* tinted background */
  --soft-line: color-mix(in srgb, var(--amber) 32%, var(--line));
  --shadow-sm: 0 1px 2px rgba(20, 26, 43, .06), 0 1px 1px rgba(20, 26, 43, .04);
  --shadow: 0 1px 2px rgba(20, 26, 43, .05), 0 8px 24px -12px rgba(20, 26, 43, .18);
  --shadow-lg: 0 24px 56px -24px rgba(20, 26, 43, .35);
  --radius: 14px;
  --jefferson: var(--amber);
  --berkeley: var(--blue);
  --morgan: var(--green);
  --elsewhere: var(--muted);
  --body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;   /* headings: same family, heavier and tighter */
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;          /* page titles and the site's name */
  --pixel: 'Geist', system-ui, sans-serif;                                 /* small labels (once a pixel font) */
}
html[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0E1220;
  --panel: #161B2C;
  --panel-2: #1B2135;
  --line: #262D45;
  --line-2: #343C5A;
  --cream: #ECEEF6;
  --cream-2: #BCC2D6;
  --muted: #9097AF;
  --dim: #6F7690;
  --blue: #8EA8FF;
  --green: #6FCB8E;
  --red: #F08D7A;
  --soft: color-mix(in srgb, var(--amber) 16%, var(--panel));
  --soft-line: color-mix(in srgb, var(--amber) 45%, var(--line));
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .6);
  --shadow-lg: 0 28px 60px -24px rgba(0, 0, 0, .75);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { letter-spacing: -0.015em; text-wrap: balance; }
img { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--cream); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pixel { font-family: var(--pixel); font-weight: 600; }
.display { font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -0.01em; margin: 0; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, box-shadow .15s, filter .15s, color .15s;
}
.btn-amber { background: var(--amber); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(20,26,43,.12); }
.btn-amber:hover { filter: brightness(.94); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 16px -6px color-mix(in srgb, var(--amber) 70%, transparent); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { filter: brightness(.94); color: #fff; }
.btn-ghost { background: var(--panel); color: var(--cream); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn-outline-blue { background: var(--panel); color: var(--cream); border-color: var(--line-2); }
.btn-outline-blue:hover { border-color: var(--amber); color: var(--cream); }
.btn-lg { min-height: 52px; font-size: 16.5px; padding: 0 24px; border-radius: 12px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 20; }
.site-header .bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 10px; padding-bottom: 10px; }
.site-header .logo img { height: 56px; width: auto; display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 22px; flex: 1 1 auto; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.site-nav a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--amber); }
.header-right { display: flex; align-items: center; gap: 14px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; }
.porch-count { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.me-chip { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--cream); font-weight: 600; text-transform: uppercase; object-fit: cover; flex: 0 0 auto; }
.me-link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; }
.me-link:hover { color: var(--cream); }
.site-banner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 48px 10px 16px; background: var(--amber); color: var(--on-accent); font-weight: 600; font-size: 14.5px; text-align: center; position: relative; }
.site-banner a { color: var(--on-accent); }
.site-banner-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: var(--on-accent); font-size: 22px; cursor: pointer; }
.linkish { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 8px 4px; font-size: 13px; }

/* ---------- area colors (unused by default) ---------- */
.c-Jefferson { color: var(--jefferson); }
.c-Berkeley { color: var(--berkeley); }
.c-Morgan { color: var(--morgan); }
.c-Elsewhere { color: var(--elsewhere); }

/* ---------- cards ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.label-pixel { font-family: var(--pixel); font-weight: 600; font-size: 14px; }

/* ---------- modal ---------- */
dialog.fwv-modal {
  border: 1px solid var(--line); border-radius: 18px; padding: 0; box-shadow: var(--shadow-lg);
  background: var(--panel); color: var(--cream); width: min(440px, calc(100vw - 32px));
}
dialog.fwv-modal::backdrop { background: rgba(20, 26, 43, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.modal-body h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.02; margin: 0; }
.modal-body p { margin: 0; color: var(--cream-2); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--cream-2); }
.input, select.input {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--cream); font-size: 16px; padding: 12px 14px; min-height: 46px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, select.input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 18%, transparent); }
.input::placeholder { color: var(--dim); }
.form-error { color: var(--red); font-size: 14px; min-height: 1em; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--cream); color: var(--ground); padding: 12px 18px; border-radius: 12px;
  font-weight: 600; font-size: 15px; z-index: 50; max-width: calc(100vw - 32px);
  box-shadow: var(--shadow-lg);
}

/* ---------- setup banner ---------- */
.setup-banner { background: var(--red); color: var(--ink); text-align: center; padding: 10px 16px; font-weight: 600; font-size: 14px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--panel); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--cream-2); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }

@media (max-width: 640px) {
  .site-header .logo img { height: 44px; }
  .site-nav { order: 3; flex-basis: 100%; gap: 0 16px; }
  .porch-count { display: none; }
}

/* ---------- shared: chips, small buttons, form dialogs, photo fields ---------- */
.chip { font-size: 14px; font-weight: 600; border-radius: 22px; padding: 0 16px; min-height: 44px; background: transparent; color: var(--cream); border: 1px solid var(--line-2); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--ground); border-color: var(--cream); }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
/* image fields in forms */
.field-label { font-size: 14px; font-weight: 600; color: var(--cream-2); }
.img-field { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.img-preview { background: var(--ground); border: 1px dashed var(--line-2); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 13px; }
.img-preview.square { width: 88px; height: 88px; border-radius: 50%; }
.img-preview.wide { width: 200px; aspect-ratio: 16 / 9; border-radius: 8px; }
.img-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1 1 160px; }
.img-actions label.btn { cursor: pointer; }
.crop-pos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crop-pos:empty { display: none; }
.chip-sm { min-height: 40px; padding: 0 14px; font-size: 13px; }

.btn-danger { background: var(--red); color: var(--ink); }
.btn-danger:hover { background: #EC9384; color: var(--ink); }
textarea.input { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--cream-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--amber); }
dialog.fwv-modal.wide { width: min(560px, calc(100vw - 32px)); }
/* one scrollbar only: the dialog scrolls, the body inside it doesn't */
dialog.fwv-modal { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
dialog.fwv-modal .modal-body { max-height: none; overflow: visible; }

/* Points chip in the header */
.bucks-chip { font-family: var(--pixel); font-weight: 600; font-size: 13px; line-height: 1; color: var(--green); border: 1px solid #2E6B2A; border-radius: 14px;
  padding: 3px 9px; text-decoration: none; white-space: nowrap; }
.bucks-chip:hover { color: #B6E8B2; border-color: var(--green); }
@media (max-width: 420px) { .bucks-chip { display: none; } }
/* member rank stamp */
.rank-stamp { font-family: 'Alfa Slab One', var(--display), serif; font-size: 12px; letter-spacing: .06em; padding: 2px 7px; border: 2px solid currentColor;
  border-radius: 3px; color: var(--green); display: inline-block; transform: rotate(-2deg); }

/* "Watch party LIVE" pill: bottom-left, small, dismissible */
.live-pill { position: fixed; left: 14px; bottom: 14px; z-index: 30; display: flex; align-items: center; max-width: min(360px, calc(100vw - 28px));
  background: #B3261E; color: #FFF6EC; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.4); font-size: 14px; }
.live-pill-go { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px 0 14px; color: inherit; text-decoration: none; min-width: 0; flex: 1; }
.live-pill-go:hover { color: #fff; }
.live-pill-dot { width: 9px; height: 9px; border-radius: 50%; background: #FFF6EC; flex: none; animation: livePillBlink 1.2s steps(1) infinite; }
.live-pill b { font-family: var(--pixel); font-weight: 600; font-size: 14px; line-height: 1; }
.live-pill-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; opacity: .92; }
.live-pill-join { font-weight: 600; text-decoration: underline; flex: none; }
.live-pill-x { width: 40px; height: 44px; flex: none; background: transparent; border: 0; border-left: 1px solid rgba(255,246,236,.3); color: inherit; font-size: 20px; cursor: pointer; border-radius: 0 999px 999px 0; }
@keyframes livePillBlink { 0%,49% { opacity: 1 } 50%,100% { opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .live-pill-dot { animation: none; } }

/* favorite hearts + star ratings */
.fav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 10px; background: transparent;
  border: 1px solid var(--line-2); border-radius: 22px; color: var(--muted); cursor: pointer; font-size: 14px; font-weight: 600; }
.fav-btn:hover { color: #FF7A96; border-color: #FF7A96; }
.fav-btn[aria-pressed="true"] { color: #FF7A96; border-color: #FF7A96; }
.stars { display: inline-flex; gap: 1px; line-height: 1; font-size: 18px; letter-spacing: 0; }
.stars.sm { font-size: 15px; }
.stars .star { background: linear-gradient(90deg, var(--amber) var(--fill), #3A4570 var(--fill)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* header messages link */
.msg-chip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--muted); text-decoration: none; border: 1px solid var(--line-2); }
.msg-chip:hover { color: var(--cream); border-color: var(--cream); }
.msg-chip .n { position: absolute; top: -4px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: var(--ground); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Inside the 304 quiz: make "Sign in to claim it" hard to miss, and keep its small header tidy */
#save-claim { animation: fwvClaimPulse 2.4s ease-in-out infinite; will-change: transform, box-shadow; }
#save-claim:hover, #save-claim:focus-visible { animation-play-state: paused; }
@keyframes fwvClaimPulse {
  0%   { transform: translateY(0) scale(1);    box-shadow: 0 0 0 0 rgba(255, 196, 61, .65); }
  40%  { transform: translateY(-2px) scale(1.025); box-shadow: 0 0 0 12px rgba(255, 196, 61, 0); }
  55%  { transform: translateY(0) scale(1) rotate(-0.6deg); }
  62%  { transform: rotate(0.6deg); }
  70%  { transform: rotate(0); box-shadow: 0 0 0 0 rgba(255, 196, 61, 0); }
  100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 0 rgba(255, 196, 61, 0); }
}
@media (prefers-reduced-motion: reduce) { #save-claim { animation: none; box-shadow: 0 0 0 3px rgba(255, 196, 61, .6); } }
.qsite .bucks-chip { display: none; }
.qsite .me-chip { flex-wrap: wrap; justify-content: flex-end; }

/* ---------- sponsor spots: blend in, stay honest ---------- */
.promo-slot { transition: opacity .35s ease; }
.promo-slot.promo-fade { opacity: 0; }
.promo-tag { display: inline-block; font-family: var(--pixel); font-weight: 600; font-size: 11px; line-height: 1; color: var(--dim); border: 1px solid var(--line-2); border-radius: 3px; padding: 2px 6px; vertical-align: 2px; }
.promo-text { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.promo-text .promo-head { color: var(--cream); font-weight: 600; text-decoration-color: var(--line-2); }
.promo-text .promo-head:hover { color: var(--amber); }
.promo-text .promo-by { color: var(--dim); font-size: 13px; }
.promo-banner { display: flex; flex-wrap: wrap; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.promo-banner .promo-img { flex: 0 0 min(400px, 42%); min-width: 0; align-self: center; aspect-ratio: 16 / 9; display: block; background: var(--ground); }
.promo-banner .promo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .promo-banner .promo-img { flex: 0 0 100%; } }
.promo-banner .promo-copy { flex: 999 1 260px; min-width: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.promo-banner .promo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); }
.promo-banner .promo-head { font-family: var(--display); letter-spacing: -0.02em; font-weight: 650; font-size: 18px; line-height: 1.05; color: var(--cream); text-decoration: none; overflow-wrap: anywhere; }
.promo-banner .promo-head:hover { color: var(--amber); }
.promo-banner p { margin: 0; font-size: 15px; color: var(--cream-2); overflow-wrap: anywhere; }
.promo-banner .promo-cta { margin-top: 4px; }
.promo-card { padding: 0 !important; }
.promo-card .promo-banner { border: 0; border-radius: inherit; flex-direction: column; height: 100%; }
.promo-card .promo-banner .promo-img { flex: none; aspect-ratio: 16 / 9; }
.promo-card .promo-banner .promo-img img { max-height: none; }
.promo-card .promo-banner .promo-copy { flex: 1; }
.promo-strip { padding-top: 6px; padding-bottom: 6px; }
.promo-strip:has(.promo-slot:not([hidden])) { padding-top: 12px; padding-bottom: 22px; }

/* ---------- porch mail sign-up ---------- */
.su { display: flex; flex-direction: column; gap: 12px; }
.su-form { display: flex; flex-direction: column; gap: 12px; }
.su-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.su-fields .input { flex: 1 1 180px; min-width: 0; }
.su-fields input[type=email] { flex: 2 1 240px; }
.su-fields .btn { flex: 0 0 auto; }
.su-lists { display: flex; flex-direction: column; gap: 6px; }
.su-k { font-size: 13px; font-weight: 600; color: var(--muted); }
.su-list small { color: var(--muted); font-size: 13px; }
.su-fine { margin: 0; font-size: 13px; color: var(--dim); }
.su-msg { margin: 0; font-size: 14px; }
.su-msg:empty { display: none; }
.su-msg.err { color: var(--red); }
.su-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.su-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.su-status { margin: 0; color: var(--cream-2); }
.su-done { display: flex; gap: 16px; align-items: center; padding: 6px 0; }
.su-done b { font-family: var(--display); letter-spacing: -0.02em; font-weight: 700; font-size: 21px; line-height: 1.08; }
.su-done p { margin: 6px 0 0; color: var(--cream-2); }
.su-env { flex: none; width: 64px; height: 44px; position: relative; border-radius: 6px; background: var(--cream); animation: suFly .8s cubic-bezier(.2,.8,.2,1) both; }
.su-env::before { content: ''; position: absolute; inset: 0 0 45% 0; background: linear-gradient(to bottom right, transparent 49%, #CFC5AE 50%) left / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 49%, #CFC5AE 50%) right / 50% 100% no-repeat; }
.su-env::after { content: ''; position: absolute; right: 6px; top: 6px; width: 12px; height: 14px; background: var(--amber); border: 2px dotted var(--cream); }
@keyframes suFly { from { transform: translate(-30px, 14px) rotate(-12deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .su-env { animation: none; } }

/* homepage + dashboard "porch mail" band */
.mailband { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: clamp(24px, 4vw, 40px); border-radius: 20px;
  background: radial-gradient(500px 240px at 0% 0%, color-mix(in srgb, var(--amber) 14%, transparent), transparent 70%), var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mailband > * { position: relative; }
.mailband .mb-copy { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mailband .mb-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 44px); line-height: 1; margin: 0; }
.mailband .mb-copy p { margin: 0; color: var(--cream-2); font-size: 17px; }
.mailband .mb-stamp { display: none; }
.mailband [data-signup] { flex: 1 1 380px; min-width: 0; }
@media (max-width: 600px) { .mailband { padding: 24px 20px; } }

/* =====================================================================
   Header + navigation (built by core.js). Frosted bar, a glow that glides
   to whatever you point at, dropdown panels, and a slide-in phone menu.
   ===================================================================== */
.site-header.nv-on { background: color-mix(in srgb, var(--panel) 86%, transparent); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); z-index: 40; }
.site-header.nv-on::after { content: none; }
@keyframes nvSheen { to { background-position: -200% 0; } }
.site-header.nv-on .bar { flex-wrap: nowrap; gap: 16px; transition: padding .25s ease; }
.site-header.nv-on .logo { flex: none; }
.site-header.nv-on .logo img { transition: height .25s ease, transform .25s ease; }
.site-header.nv-on .logo:hover img { transform: rotate(-4deg) scale(1.04); }
.site-header.nv-on.scrolled .bar { padding-top: 5px; padding-bottom: 5px; }
.site-header.nv-on.scrolled .logo img { height: 44px; }
.site-header.nv-on .header-right { margin-left: auto; gap: 10px; flex: none; }
.site-header.nv-on .porch-count { border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: 13px; white-space: nowrap; }

.site-nav.nv { position: relative; flex: 0 1 auto; margin: 0 auto; display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); font-size: 14.5px; }
.nv-glow { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; pointer-events: none; opacity: 0;
  background: color-mix(in srgb, var(--tint, var(--amber)) 17%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint, var(--amber)) 45%, transparent), 0 0 18px -4px color-mix(in srgb, var(--tint, var(--amber)) 55%, transparent);
  transition: transform .38s cubic-bezier(.3, 1.25, .5, 1), width .38s cubic-bezier(.3, 1.25, .5, 1), opacity .2s, background .3s, box-shadow .3s; }
.nv-item { position: relative; display: flex; align-items: center; }
.site-nav.nv .nv-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 0; border-radius: 999px; text-decoration: none; color: var(--cream-2); font-weight: 600; white-space: nowrap; transition: color .2s; }
.site-nav.nv .nv-link svg { color: var(--tint); opacity: .9; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.site-nav.nv .nv-link:hover, .site-nav.nv .nv-link:focus-visible, .site-nav.nv .nv-link[aria-current="page"] { color: var(--cream); }
.site-nav.nv .nv-link:hover svg { transform: rotate(-10deg) scale(1.15); }
.site-nav.nv .nv-link[aria-current="page"] { border-bottom: 0; }
.nv-item.has-kids .nv-link { padding-right: 3px; }
.nv-caret { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 30px; margin-right: 4px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.nv-caret:hover { color: var(--cream); }
.nv-caret svg { transition: transform .25s; }
.nv-item.open .nv-caret svg { transform: rotate(180deg); }
.nv-live { display: none; font-family: var(--pixel); font-weight: 600; font-size: 11px; line-height: 1; color: #fff; background: var(--red); border-radius: 4px; padding: 2px 5px 1px; animation: nvLive 1.6s ease-in-out infinite; }
html.fwv-live .nv-live { display: inline-block; }
@keyframes nvLive { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 25%, transparent); } }
.nv-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-left: 6px; vertical-align: middle; animation: nvPing 2.4s ease-out infinite; }
.nv-link .nv-dot { position: absolute; top: 6px; right: 6px; margin: 0; }
@keyframes nvPing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--green) 0%, transparent); } }

.nv-panel { position: absolute; top: calc(100% + 14px); left: 50%; width: 340px; padding: 10px; border-radius: 16px; z-index: 50;
  background: color-mix(in srgb, var(--panel) 97%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: 0 28px 56px -16px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 8px) scale(.98); transform-origin: top center; transition: opacity .18s ease, transform .22s cubic-bezier(.3, 1.3, .5, 1), visibility .18s; }
.nv-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }   /* keeps hover alive across the gap */
.nv-panel.wide { width: 560px; }
.nv-item.open .nv-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.nv-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 10px 8px; font-family: var(--pixel); font-weight: 600; font-size: 13px; color: var(--muted); }
.nv-badge { font-family: var(--pixel); font-weight: 600; font-size: 11px; line-height: 1; color: var(--ground); background: var(--green); border-radius: 4px; padding: 3px 6px 2px; }
.nv-grid { display: grid; gap: 2px; }
.nv-panel.wide .nv-grid { grid-template-columns: 1fr 1fr; }
.nv-kid { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--cream); transition: background .15s; }
.nv-kid:hover, .nv-kid:focus-visible { background: color-mix(in srgb, var(--cream) 6%, transparent); color: var(--cream); }
.nv-kid-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: var(--tint); background: color-mix(in srgb, var(--tint) 15%, var(--ground)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 30%, transparent); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.nv-kid:hover .nv-kid-ic { transform: rotate(-6deg) scale(1.08); }
.nv-kid-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.nv-kid-txt b { font-weight: 600; font-size: 15px; }
.nv-kid-txt small { font-size: 13px; color: var(--muted); line-height: 1.3; }

/* guest + member corner */
.guest-chip { display: inline-flex; align-items: center; gap: 6px; }
.login-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--cream); text-decoration: none; }
.login-link:hover { background: color-mix(in srgb, var(--cream) 6%, transparent); color: var(--cream); }
.btn-join { min-height: 40px; padding: 0 18px; border-radius: 999px; position: relative; overflow: hidden; }
.btn-join::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-join:hover::after { left: 130%; }
.um { position: relative; }
.um-btn { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--cream); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.um-btn:hover, .um.open .um-btn { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 8%, transparent); }
.um-btn .avatar { width: 32px; height: 32px; font-size: 12px; }
.um-btn svg { color: var(--muted); transition: transform .25s; }
.um.open .um-btn svg { transform: rotate(180deg); }
.um-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; padding: 8px; border-radius: 14px; z-index: 50; display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--panel) 98%, transparent); border: 1px solid var(--line-2); box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .2s, visibility .16s; }
.um.open .um-panel { opacity: 1; visibility: visible; transform: none; }
.um-head { display: flex; flex-direction: column; padding: 6px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.um-head small { color: var(--muted); }
.um-panel a, .um-panel button { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; text-decoration: none; color: var(--cream); font-size: 14.5px; font-weight: 500; background: none; border: 0; text-align: left; cursor: pointer; width: 100%; }
.um-panel a:hover, .um-panel button:hover, .um-panel a:focus-visible, .um-panel button:focus-visible { background: color-mix(in srgb, var(--cream) 6%, transparent); color: var(--cream); }
.um-panel svg { color: var(--muted); }
.um-panel .um-out { color: var(--red); margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; }

/* the burger + drawer (phones and small tablets) */
.nv-burger { display: none; flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--cream) 4%, transparent); cursor: pointer; position: relative; }
.nv-burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform .3s cubic-bezier(.3, 1.3, .5, 1), opacity .2s, top .3s; }
.nv-burger span:nth-child(1) { top: 15px; } .nv-burger span:nth-child(2) { top: 21px; } .nv-burger span:nth-child(3) { top: 27px; right: 18px; }
html.nv-open .nv-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
html.nv-open .nv-burger span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
html.nv-open .nv-burger span:nth-child(3) { top: 21px; right: 12px; transform: rotate(-45deg); }
.nv-scrim { position: fixed; inset: 0; z-index: 70; background: color-mix(in srgb, var(--cream) 62%, transparent); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; }
html.nv-open .nv-scrim { opacity: 1; pointer-events: auto; }
html.nv-open, html.nv-open body { overflow: hidden; }
.nv-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(88vw, 390px); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, var(--panel) 0%, var(--ground) 40%); border-left: 1px solid var(--line-2); box-shadow: -24px 0 60px rgba(0, 0, 0, .5);
  transform: translateX(105%); visibility: hidden; transition: transform .34s cubic-bezier(.3, 1.1, .4, 1), visibility .34s; outline: none; }
html.nv-open .nv-drawer { transform: none; visibility: visible; }
.nv-dhead { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.nv-dhead .porch-count { display: inline-flex; margin-left: auto; font-size: 13px; }
.nv-dlogo img { display: block; height: 44px; width: auto; }
.nv-x { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: none; color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer; }
.nv-duser { padding: 16px 16px 12px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.nv-dme { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.nv-dme .avatar { width: 44px; height: 44px; font-size: 16px; box-shadow: 0 0 0 2px var(--amber); }
.nv-dme span { display: flex; flex-direction: column; } .nv-dme b { font-size: 17px; } .nv-dme small { color: var(--muted); }
.nv-dquick { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.nv-dquick a, .nv-dquick button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--cream) 3%, transparent); color: var(--cream); font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.nv-dquick svg { color: var(--amber); }
.nv-dquick button { color: var(--red); } .nv-dquick button svg { color: var(--red); }
.nv-dhello { margin: 0; color: var(--cream-2); }
.nv-dauth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nv-dauth .btn { width: 100%; }
.nv-dlist { padding: 10px 10px; display: flex; flex-direction: column; gap: 2px; }
.nv-drow { display: grid; grid-template-columns: 1fr auto; align-items: center; border-radius: 14px; }
.nv-drow.open { background: color-mix(in srgb, var(--cream) 3%, transparent); }
.nv-dlink { display: flex; align-items: center; gap: 14px; padding: 10px 8px; text-decoration: none; color: var(--cream); font-family: var(--display); letter-spacing: -0.02em; font-weight: 650; font-size: 18px; border-radius: 14px; }
.nv-dlink:hover { color: var(--cream); }
.nv-dlink[aria-current="page"] { background: color-mix(in srgb, var(--tint) 14%, transparent); }
.nv-dic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--tint); background: color-mix(in srgb, var(--tint) 16%, var(--ground)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 30%, transparent); }
.nv-dlink .nv-live, .nv-dlink .nv-badge { font-family: var(--pixel); font-weight: 600; }
.nv-dtog { width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; color: var(--muted); cursor: pointer; }
.nv-dtog svg { transition: transform .25s; } .nv-drow.open .nv-dtog svg { transform: rotate(180deg); }
.nv-dkids { grid-column: 1 / -1; display: flex; flex-direction: column; padding: 0 8px 10px 62px; gap: 2px; }
.nv-dkids[hidden] { display: none; }
.nv-dkids a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; color: var(--cream-2); text-decoration: none; font-weight: 500; }
.nv-dkids a:hover { background: color-mix(in srgb, var(--cream) 5%, transparent); color: var(--cream); }
.nv-dkids svg { color: var(--muted); }
.nv-dfoot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 16px; border-top: 1px solid var(--line); }
.nv-dfoot a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; text-decoration: none; }
.nv-drawer a, .nv-drawer button { -webkit-tap-highlight-color: transparent; }

@media (max-width: 1400px) {
  .site-nav.nv .nv-link svg { display: none; }
  .site-nav.nv .nv-link { padding: 8px 11px; }
  .um-handle { display: none; }
  .site-header.nv-on .porch-count { padding: 5px 9px; }
}
@media (max-width: 1320px) { .site-header.nv-on .header-right .porch-count { display: none; } }
@media (max-width: 1179px) {
  .site-nav.nv { display: none; }
  .nv-burger { display: inline-block; }
  .site-header.nv-on .header-right { gap: 8px; }
  .site-header.nv-on .bar { gap: 10px; }
  .login-link { padding: 0 8px; }
}
@media (max-width: 420px) {
  .guest-chip .login-link { display: none; }
  .btn-join { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header.nv-on::after, .nv-live, .nv-dot { animation: none; }
  .nv-glow, .nv-panel, .nv-drawer, .nv-burger span { transition: none; }
}

/* ---------- log in / join ---------- */
.auth { display: flex; flex-direction: column; gap: 14px; }
.auth h2 { margin: 0; font-family: var(--display); letter-spacing: -0.02em; font-weight: 700; font-size: 25px; line-height: 1.08; }
.auth-lede { margin: 0; color: var(--cream-2); font-size: 15.5px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--ground); border: 1px solid var(--line); }
.auth-tabs button { min-height: 40px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.auth-tabs button[aria-selected="true"] { background: var(--amber); color: var(--ground); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.pw-wrap { position: relative; }
.pw-wrap .input { width: 100%; padding-right: 66px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.pw-eye:hover { color: var(--cream); background: color-mix(in srgb, var(--cream) 6%, transparent); }
.auth-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.auth-go { width: 100%; min-height: 50px; font-size: 16px; }
.auth-foot { font-size: 14px; color: var(--muted); text-align: center; }
.auth-fine { margin: 0; font-size: 13px; color: var(--dim); }
.auth .form-error:empty { display: none; }
.auth-env { width: 64px; height: 44px; position: relative; border-radius: 6px; background: var(--cream); animation: suFly .8s cubic-bezier(.2,.8,.2,1) both; }
.auth-env::before { content: ''; position: absolute; inset: 0 0 45% 0; background: linear-gradient(to bottom right, transparent 49%, #CFC5AE 50%) left / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 49%, #CFC5AE 50%) right / 50% 100% no-repeat; }
.auth-env::after { content: ''; position: absolute; right: 6px; top: 6px; width: 12px; height: 14px; background: var(--amber); border: 2px dotted var(--cream); }
.auth-note { margin-bottom: 14px; padding: 12px 14px; border: 1px solid var(--amber); border-radius: 10px; color: var(--cream-2); }
dialog.fwv-modal.auth-modal { width: min(440px, calc(100vw - 24px)); }
.auth-modal .modal-body { position: relative; }
.auth-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.auth-x:hover { color: var(--cream); }
.auth-modal .auth-tabs { margin-right: 44px; }
.auth-modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.auth-page-link { font-size: 13px; color: var(--muted); }
.um-handle { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1360px) { .um-handle { display: none; } }

/* ---------- members only: the friendly wall guests see ---------- */
.mwall { position: relative; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--panel); min-height: 220px; display: grid; }
.mwall.compact { min-height: 0; }
.mw-ghost { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; padding: 22px; filter: blur(5px); opacity: .45; pointer-events: none; }
.mw-ghost span { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--line-2), color-mix(in srgb, var(--amber) 35%, transparent)); }
.mw-ghost span:nth-child(odd) { margin-left: 34px; }
.mw-card { grid-area: 1 / 1; z-index: 1; align-self: center; justify-self: center; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 20px; max-width: 440px; }
.mwall.compact .mw-card { padding: 16px; }
.mw-lock { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent); }
.mw-title { font-family: var(--display); letter-spacing: -0.02em; font-weight: 700; font-size: 19px; line-height: 1.05; color: var(--cream); }
.mwall.compact .mw-title { font-size: 20px; }
.mw-count { font-family: var(--pixel); font-weight: 600; font-size: 13px; color: var(--green); }
.mw-text { margin: 0; color: var(--cream-2); font-size: 15px; }
.mw-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.auth-reason { margin: 0 34px 4px 0; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--cream); background: color-mix(in srgb, var(--amber) 10%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent); border-radius: 10px; padding: 10px 12px; }
.auth-reason-dot { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 20%, transparent); }

/* ---------- "Get your own page" progress tracker ---------- */
.pr { display: flex; flex-direction: column; gap: 18px; }
.pr-top { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.pr-ring { --p: 0; width: 96px; height: 96px; flex: none; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--panel) 78%, transparent 79% 100%), conic-gradient(var(--amber) calc(var(--p) * 1%), var(--line-2) 0); }
.pr.ok .pr-ring { background: radial-gradient(closest-side, var(--panel) 78%, transparent 79% 100%), conic-gradient(var(--green) calc(var(--p) * 1%), var(--line-2) 0); }
.pr-ring b { font-family: var(--display); letter-spacing: -0.02em; font-weight: 700; font-size: 22px; line-height: 1.08; color: var(--cream); }
.pr-ring small { font-family: var(--pixel); font-weight: 600; font-size: 11px; color: var(--muted); }
.pr-head { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; flex: 1 1 240px; }
.pr-head > b { font-family: var(--display); letter-spacing: -0.02em; font-weight: 700; font-size: 22px; line-height: 1.05; color: var(--cream); }
.pr-kick { font-family: var(--pixel); font-weight: 600; font-size: 12px; color: var(--amber); overflow-wrap: anywhere; }
.pr-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pr-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--ground); }
.pr-steps li.done { border-color: color-mix(in srgb, var(--green) 45%, transparent); }
.pr-check { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; font-weight: 900; color: var(--ground); }
.pr-steps li.done .pr-check { background: var(--green); border-color: var(--green); }
.pr-body { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 0; align-items: flex-start; }
.pr-row { display: flex; justify-content: space-between; gap: 10px; width: 100%; flex-wrap: wrap; }
.pr-row b { font-size: 16px; color: var(--cream); }
.pr-meter { font-family: var(--pixel); font-weight: 600; font-size: 12px; color: var(--muted); }
.pr-steps li.done .pr-meter { color: var(--green); }
.pr-bar { width: 100%; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pr-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--amber), #F5C97A); transition: width .6s ease; }
.pr-steps li.done .pr-bar span { background: var(--green); }
.pr-detail { font-size: 14px; color: var(--cream-2); }
.pr.compact .pr-ring { width: 72px; height: 72px; }
.pr.compact .pr-ring b { font-size: 22px; }
.pr.compact .pr-head > b { font-size: 22px; }
.pr.compact .pr-steps li { padding: 10px 12px; }
.site-footer .copy-row { margin-top: 14px; font-size: 13px; color: var(--dim); }
.auth-adult { font-size: 14px; line-height: 1.4; align-items: flex-start; }
.auth-adult a { color: var(--blue); }

/* ---------- The Morning Porch ---------- */
.mp-kick { font-family: var(--pixel); font-weight: 600; font-size: 14px; color: var(--amber); }
.mp-home { padding: 4px 0 18px; }
.mp-home[hidden] { display: none; }
.mp-strip { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px; border-radius: 16px; text-decoration: none; color: var(--cream);
  background: linear-gradient(120deg, color-mix(in srgb, var(--amber) 16%, transparent), color-mix(in srgb, var(--ridge) 18%, transparent) 60%, transparent), var(--panel); border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent);
  transition: border-color .2s, transform .2s; }
.mp-strip:hover { border-color: var(--amber); transform: translateY(-1px); color: var(--cream); }
.mp-strip-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mp-date { font-size: 14px; color: var(--muted); }
.mp-strip-intro { margin: 0; font-size: 19px; line-height: 1.35; color: var(--cream); max-width: 900px; }
.mp-strip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; padding: 5px 11px; border-radius: 999px; background: var(--ground); border: 1px solid var(--line-2); color: var(--cream-2); }
.mp-chip i { font-style: normal; }
.mp-chip.warn { border-color: color-mix(in srgb, var(--amber) 60%, transparent); color: var(--amber); }
.mp-chip.bad { border-color: color-mix(in srgb, var(--red) 70%, transparent); color: #F2A596; }
.mp-strip-go { font-size: 14px; color: var(--amber); font-weight: 600; }
.mp-strip-go i { font-style: normal; transition: margin .2s; }
.mp-strip:hover .mp-strip-go i { margin-left: 4px; }

.mp { padding-top: 30px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 20px; }
.mp-loading { padding: 60px 0; }
.mp-head { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.mp-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6.56vw, 75px); line-height: 1.08; margin: 0; }
.mp-intro { margin: 0; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.35; color: var(--cream); }
.mp-note { margin: 0; padding: 12px 16px; border-left: 4px solid var(--amber); background: color-mix(in srgb, var(--amber) 8%, transparent); border-radius: 0 10px 10px 0; color: var(--cream-2); font-size: 16px; }
.mp-note b { color: var(--amber); }
.mp-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); align-items: center; }
.mp-alerts { display: flex; flex-direction: column; gap: 8px; }
.mp-alert { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 12px 16px; border-radius: 12px; text-decoration: none; color: var(--cream);
  background: color-mix(in srgb, var(--amber) 12%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 60%, transparent); }
.mp-alert.sev-severe, .mp-alert.sev-extreme { background: color-mix(in srgb, var(--red) 16%, transparent); border-color: var(--red); }
.mp-alert span { color: var(--cream-2); font-size: 15px; }
.mp-alert small { color: var(--muted); }
.mp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.mp-card { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.mp-card.wide { grid-column: span 2; }
.mp-card.full { grid-column: 1 / -1; }
.mp-label { margin: 0; font-family: var(--pixel); font-weight: 600; font-size: 14px; color: var(--muted); }
.mp-sub { margin: 4px 0 0; font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: .05em; }
.mp-card p { margin: 0; }
.mp-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.mp-towns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.mp-town { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--ground); border: 1px solid var(--line); text-decoration: none; color: var(--cream); }
.mp-town:hover { border-color: var(--line-2); color: var(--cream); }
.mp-sky { font-size: 30px; line-height: 1; }
.mp-temp { font-family: var(--display); letter-spacing: -0.02em; font-weight: 700; font-size: 28px; line-height: 1.08; }
.mp-temp small { font-size: 22px; color: var(--muted); }
.mp-short { font-size: 14px; color: var(--cream-2); }
.mp-sky-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--cream-2); }
.mp-detail { font-size: 14px; color: var(--muted); }
.mp-school-list { display: flex; flex-direction: column; gap: 8px; }
.mp-school { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; padding: 10px 12px; border-radius: 10px; background: var(--ground); border: 1px solid var(--line); }
.mp-school span { font-weight: 600; }
.mp-school.ok span { color: var(--green); }
.mp-school.warn { border-color: color-mix(in srgb, var(--amber) 60%, transparent); } .mp-school.warn span { color: var(--amber); }
.mp-school.bad { border-color: var(--red); } .mp-school.bad span { color: #F2A596; }
.mp-school.none span { color: var(--muted); font-weight: 400; }
.mp-school small { width: 100%; color: var(--muted); }
.mp-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.mp-links a, .mp-card a { color: var(--blue); }
.mp-links small { color: var(--muted); }
.mp-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mp-events li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mp-events li:last-child { border-bottom: 0; }
.mp-when { font-size: 13px; font-weight: 600; color: var(--amber); }
.mp-events b, .mp-events a { font-weight: 600; }
.mp-events small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.mp-season-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mp-season-list li { display: flex; gap: 12px; align-items: flex-start; }
.mp-season-n { flex: none; min-width: 66px; text-align: center; font-family: var(--pixel); font-weight: 600; font-size: 12px; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--amber); }
.mp-season-list li.open .mp-season-n { background: var(--green); border-color: var(--green); color: var(--ground); }
.mp-season-list small { color: var(--muted); }
.mp-season-note { display: block; font-size: 12px; }
.mp-hist { display: flex; gap: 12px; align-items: flex-start; }
.mp-year { flex: none; font-family: var(--display); letter-spacing: -0.02em; font-weight: 700; font-size: 21px; line-height: 1.08; color: var(--amber); }
.mp-hist p { font-size: 14px; color: var(--cream-2); margin-top: 4px; }
.mp-word-w { font-family: var(--display); letter-spacing: -0.02em; font-weight: 700; font-size: 25px; line-height: 1.08; color: var(--cream); }
.mp-word p { color: var(--cream-2); font-size: 16px; }
.mp-talk-list, .mp-news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mp-talk-list li, .mp-news-list li { font-size: 15px; line-height: 1.4; }
.mp-src { display: inline-block; font-family: var(--pixel); font-weight: 600; font-size: 11px; color: var(--muted); margin-right: 8px; }
.mp-talk-hot .mp-src { color: var(--blue); }
.mp-news-list small { color: var(--muted); }
.mp-vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.mp-vid { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--cream); font-size: 14px; }
.mp-vid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--ground); }
.mp-vid small { color: var(--muted); }
.mp-live { color: var(--cream) !important; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.mp-host { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px dashed var(--amber); border-radius: 12px; background: color-mix(in srgb, var(--amber) 5%, transparent); }
.mp-host-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.mp-host-row > b { font-family: var(--pixel); font-weight: 600; font-size: 13px; color: var(--amber); }
.mp-host-school { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.mp-host-school .input { width: auto; padding: 6px 10px; }
@media (max-width: 1000px) { .mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .mp-grid { grid-template-columns: 1fr; }
  .mp-card.wide { grid-column: auto; }
  .mp-events li { grid-template-columns: 1fr; gap: 2px; }
  .mp-strip { padding: 16px; }
  .mp-strip-intro { font-size: 17px; }
}
.mp-home.top { padding: 16px 0 0; background: var(--sky); }
.mp-home.top .mp-strip { background: linear-gradient(120deg, color-mix(in srgb, var(--amber) 20%, transparent), color-mix(in srgb, var(--ridge) 25%, transparent) 60%, color-mix(in srgb, var(--ground) 60%, transparent)), var(--panel); }

/* ---------- Wizbang: per-site monogram logo and "no site here" page ---------- */
.site-mono { display: inline-grid; place-items: center; border-radius: 12px; background: var(--amber); color: var(--on-accent); letter-spacing: -0.02em; font-family: var(--display); letter-spacing: -0.02em; font-weight: 650; font-size: 15px; }
.site-gone { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px 16px; text-align: center; }
.site-gone h1 { font-size: clamp(32px, 6vw, 52px); margin: 0; }
.site-gone p { margin: 0 0 8px; color: var(--muted); font-size: 18px; max-width: 440px; }

/* Site logo slot in the header: the site's logo (or initials) and its name */
.site-header .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); min-width: 0; }
.site-header .logo .site-mono { flex: none; }
.site-header .logo .logo-name { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1; letter-spacing: -0.01em; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cream); }
@media (max-width: 1180px) { .site-header .logo .logo-name { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1; letter-spacing: -0.01em; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cream); } }
@media (min-width: 1181px) { html[data-kind="solo"] .site-header .logo .logo-name { max-width: 360px; } }
@media (max-width: 520px) { .site-header .logo { min-width: 0; } .site-header .logo .logo-name { max-width: 38vw; font-size: 21px; } }
@media (max-width: 420px) { .site-header .logo .logo-name { max-width: 30vw; } }
@media (max-width: 720px) { .site-header .logo .site-mono, .site-header .logo img { width: 44px !important; height: 44px !important; } }
html[data-theme="dark"] .btn-blue, html[data-theme="dark"] .btn-blue:hover { color: #0E1220; }


/* =====================================================================
   Branding: heading styles, corner styles, photos and their placeholders
   ===================================================================== */
html[data-font="modern"] { --serif: 'Geist', system-ui, sans-serif; }
html[data-font="modern"] .display, html[data-font="modern"] h1.display, html[data-font="modern"] .hero h1, html[data-font="modern"] .sec-head h2 { font-weight: 700; letter-spacing: -0.035em; }
html[data-font="elegant"] { --serif: 'Playfair Display', Georgia, serif; }
html[data-font="friendly"] { --serif: 'Fraunces', Georgia, serif; }
html[data-font="elegant"] .display, html[data-font="friendly"] .display { font-weight: 500; letter-spacing: -0.02em; }
html[data-font="bold"] { --serif: 'Archivo', 'Arial Black', system-ui, sans-serif; }
html[data-font="bold"] .display, html[data-font="bold"] h1.display, html[data-font="bold"] .hero h1, html[data-font="bold"] .sec-head h2, html[data-font="bold"] .site-header .logo .logo-name { font-weight: 800; font-stretch: 118%; letter-spacing: -0.03em; }
/* Heading weight, width and spacing for each heading style (used by one-owner sites) */
html { --hw: 400; --hs: 100%; --ht: -0.015em; }
html[data-font="modern"] { --hw: 700; --ht: -0.045em; }
html[data-font="elegant"] { --hw: 500; --ht: -0.025em; }
html[data-font="friendly"] { --hw: 600; --ht: -0.025em; }
html[data-font="bold"] { --hw: 800; --hs: 118%; --ht: -0.035em; }
html[data-corners="soft"] { --radius: 8px; }
html[data-corners="soft"] .btn { border-radius: 7px; }
html[data-corners="square"] { --radius: 2px; }
html[data-corners="square"] .btn, html[data-corners="square"] .input, html[data-corners="square"] .chip, html[data-corners="square"] .card,
html[data-corners="square"] .site-mono, html[data-corners="square"] .site-nav.nv, html[data-corners="square"] .btn-join { border-radius: 2px; }

.photo-slot { position: relative; overflow: hidden; display: block; background: var(--panel-2); }
.photo-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-slot.ph { display: grid; place-items: center; color: color-mix(in srgb, var(--amber) 70%, var(--cream)); }
.ph-art { position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--amber) 38%, transparent), transparent 60%),
    radial-gradient(100% 80% at 0% 100%, color-mix(in srgb, var(--blue) 26%, transparent), transparent 60%),
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--amber) 7%, transparent) 0 2px, transparent 2px 14px),
    color-mix(in srgb, var(--amber) 10%, var(--panel)); }
.photo-slot.ph > svg { position: relative; width: 34%; max-width: 72px; min-width: 32px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.ph-edit { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px;
  background: rgba(20, 26, 43, .78); color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ph-edit:hover { background: rgba(20, 26, 43, .92); }
.photo-slot.ph .ph-edit { border: 1px dashed rgba(255,255,255,.6); }
/* A banner photo at the top of a page */
[data-page-photo] { margin-bottom: 4px; }
.photo-slot.page-banner { height: clamp(150px, 22vw, 260px); border-bottom: 1px solid var(--line); }

/* One-owner sites: no online counter or community extras */
html[data-kind="solo"] .porch-count, html[data-kind="solo"] .bucks-chip { display: none !important; }

/* Formatted posts and the post composer (rich.js): the Board, blog posts and the blog editor */
/* formatted posts */
.rich { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.rich p { margin: 0; }
.rich blockquote { margin: 0; padding: 6px 0 6px 14px; border-left: 3px solid var(--line-2); color: var(--cream-2); }
.rich ul { margin: 0; padding-left: 22px; }
.rich li + li { margin-top: 4px; }
.post-link { color: var(--blue); word-break: break-all; }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 640px; border-radius: 8px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-start { position: absolute; inset: 0; padding: 0; border: 0; background: #000; cursor: pointer; }
.video-start img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.video-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: #E33; }
.video-play::after { content: ''; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.post-photos { display: grid; gap: 6px; max-width: 640px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-photos.n1 { grid-template-columns: minmax(0, 1fr); }
.post-photos a { display: block; border-radius: 6px; overflow: hidden; background: var(--ground); }
.post-photos img { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.post-photos:not(.n1) img { aspect-ratio: 1 / 1; }
.post-photos.n1 img { object-fit: contain; height: auto; }

/* composer */
.composer { display: flex; flex-direction: column; gap: 8px; }
.composer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.composer-bar .spacer { flex: 1; }
.tool { background: var(--ground); color: var(--cream); border: 1px solid var(--line-2); border-radius: 6px; min-height: 40px; min-width: 40px; padding: 0 10px; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tool:hover { border-color: var(--cream); }
.tool[aria-pressed="true"] { background: var(--cream); color: var(--ground); }
.composer-text { min-height: 120px; }
.composer-preview { border: 1px dashed var(--line-2); border-radius: 6px; padding: 12px; min-height: 120px; }
.composer-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.composer-photos .thumb { position: relative; width: 88px; height: 88px; border-radius: 6px; overflow: hidden; background: var(--ground); }
.composer-photos .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--cream) 80%, transparent); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.composer-status { font-size: 13px; }
