/* ═══════════════════════════════════════════════════════════════════
   Fog & Film — Member Portal Styles
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --paper:   #f0ece4;
  --paper2:  #e8e2d8;
  --white:   #ffffff;
  --ink:     #1a1510;
  --ink2:    #2d2820;
  --ink3:    #4a4540;
  --muted:   #7a7268;
  --gold:    #c8902a;
  --gold2:   #e8b050;
  --gold3:   #f5dfa0;
  --crimson: #8a1205;
  --blood:   #5a0a01;
  --dark:    #0d0b09;
  --dark2:   #1a1510;

  --topbar-h: 50px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Enforce [hidden] attribute even when CSS sets a display value */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}

/* ── NAV ──────────────────────────────────────────────────────────── */
#topbar {
  position: sticky; top: 0; z-index: 900;
  background: var(--dark); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: var(--topbar-h);
  border-bottom: 2px solid var(--gold);
  gap: 1.5rem;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem; letter-spacing: 0.14em;
  color: var(--gold2); text-decoration: none;
  line-height: 1;
}
.nav-logo span { color: #fff; }
.nav-links {
  display: flex; gap: 1.5rem; flex: 1; justify-content: flex-end;
  margin-right: 1rem;
}
.nav-links a {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold2); }
#btn-logout {
  background: none; border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.5); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 3px; cursor: pointer;
  transition: border-color .15s, color .15s;
  white-space: nowrap;
}
#btn-logout:hover { border-color: var(--crimson); color: #f88; }
@media (max-width: 640px) {
  .nav-links { display: none; }
  #topbar { padding: 0 1rem; }
}

/* ── BUTTONS ──────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; text-align: center;
  background: var(--crimson); color: #fff;
  border: none; border-radius: var(--radius);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: 0.12em;
  padding: 0.65rem 2rem; cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.btn-primary:hover { background: var(--blood); }
.btn-ghost {
  display: inline-block; text-align: center;
  background: none; color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600;
  padding: 0.5rem 1.5rem; cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: var(--gold); color: var(--dark); }

/* ═══════════════════════════════════════════════════════════════════
   LOGIN SCREEN
═══════════════════════════════════════════════════════════════════ */
.login-screen {
  min-height: calc(100vh - var(--topbar-h));
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(200,144,42,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(138,18,5,0.06) 0%, transparent 60%),
    var(--paper);
}
.login-card {
  background: var(--white);
  border: 1px solid var(--paper2);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  padding: 3rem 2.5rem;
  width: 100%; max-width: 480px;
  text-align: center;
}
.login-icon { font-size: 3rem; margin-bottom: 0.75rem; line-height: 1; }
.login-card h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem; letter-spacing: 0.1em;
  color: var(--ink); margin-bottom: 0.5rem;
}
.login-sub {
  color: var(--muted); font-size: 0.9rem; line-height: 1.6;
  margin-bottom: 2rem;
}

/* ── Choice buttons ─────────────────────────────────────────────── */
.choice-btns {
  display: flex; gap: 1rem; margin-top: 0.5rem;
}
.btn-choice {
  flex: 1; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 1.25rem 1rem;
  background: var(--paper); border: 2px solid var(--paper2);
  border-radius: var(--radius);
  font-family: inherit; text-align: center;
  transition: border-color .15s, background .15s;
}
.btn-choice:hover { border-color: var(--gold); background: #fff; }
.btn-choice.btn-choice-new { border-color: var(--crimson); }
.btn-choice.btn-choice-new:hover { background: #fff8f8; }
.choice-icon { font-size: 1.6rem; line-height: 1; }
.btn-choice strong { font-size: 0.95rem; color: var(--ink); display: block; }
.btn-choice span:last-child { font-size: 0.75rem; color: var(--muted); }

/* ── Back row on sign-in form ───────────────────────────────────── */
.form-back-row {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem;
}
.form-title {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink3);
}

@media (max-width: 420px) {
  .choice-btns { flex-direction: column; }
}

.login-field {
  text-align: left; margin-bottom: 1rem;
}
.login-field label {
  display: block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink3); margin-bottom: 6px;
}
.login-field input {
  width: 100%; padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--paper2); border-radius: var(--radius);
  font-size: 1rem; color: var(--ink); background: var(--paper);
  outline: none; transition: border-color .2s;
}
.login-field input:focus { border-color: var(--gold); }
#login-form-wrap .btn-primary {
  width: 100%; margin-top: 0.75rem;
  font-size: 1rem;
}
.login-error {
  margin-top: 0.75rem; color: var(--crimson);
  font-size: 0.85rem; font-weight: 600;
}

/* sent state */
.sent-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
#login-sent h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--ink);
}
#login-sent p {
  color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem;
}

/* verifying */
#login-verifying { padding: 1.5rem 0; }
#login-verifying p { color: var(--muted); margin-top: 1rem; font-size: 0.9rem; }
.spinner {
  width: 32px; height: 32px; margin: 0 auto;
  border: 3px solid var(--paper2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════════
   PORTAL SCREEN
═══════════════════════════════════════════════════════════════════ */
.portal-screen { min-height: calc(100vh - var(--topbar-h)); }

/* ── Hero banner ────────────────────────────────────────────────── */
.portal-hero {
  background: var(--dark);
  color: #fff;
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
}
.portal-hero::after {
  content: 'FOG & FILM';
  position: absolute; right: 2rem; top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 6rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.035);
  pointer-events: none; line-height: 1;
}
.portal-hero-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
}
.portal-tier-badge {
  background: var(--gold);
  color: var(--dark);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.portal-welcome {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem; font-style: italic;
  color: #fff; margin-bottom: 0.15rem;
}
.portal-meta {
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
}
@media (max-width: 480px) {
  .portal-hero-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .portal-welcome { font-size: 1.4rem; }
}

/* ── Tabs bar ───────────────────────────────────────────────────── */
.portal-tabs-bar {
  background: var(--ink2);
  display: grid;
  /* On wide screens all 5 sit on one row; on narrow they auto-wrap into 2-3 per row */
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  border-bottom: 2px solid rgba(255,255,255,0.06);
}
.portal-tab {
  background: none; border: none;
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 0.75rem 0.75rem;
  cursor: pointer;
  white-space: normal; /* allow text to wrap so it fits compactly */
  text-align: center; line-height: 1.25;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
}
.portal-tab.active {
  color: var(--gold2);
  border-bottom-color: var(--gold);
  background: rgba(255,255,255,0.04);
}
.portal-tab:hover:not(.active) { color: rgba(255,255,255,0.75); }

/* ── Portal body ────────────────────────────────────────────────── */
.portal-body {
  max-width: 900px; margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.tab-panel[hidden] { display: none !important; }

.section-intro { margin-bottom: 2rem; }
.section-intro h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; letter-spacing: 0.1em;
  color: var(--ink); margin-bottom: 0.35rem;
}
.section-intro p { color: var(--muted); font-size: 0.9rem; }

/* ── Ticket / access panel ──────────────────────────────────────── */
.ticket-access-panel {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, var(--dark) 0%, #2a1a05 100%);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.tap-left { display: flex; align-items: center; gap: 1rem; }
.tap-icon { font-size: 2rem; line-height: 1; }
.tap-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: 0.12em; color: var(--gold2);
}
.tap-detail { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 2px; }
.tap-right { text-align: right; flex-shrink: 0; }
.tap-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem; font-style: italic; color: #fff;
  margin-bottom: 4px;
}
.tap-badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--gold);
  padding: 2px 10px; border-radius: 20px;
}
@media (max-width: 520px) {
  .ticket-access-panel { flex-direction: column; align-items: flex-start; }
  .tap-right { text-align: left; }
}

/* ── Perks grid ─────────────────────────────────────────────────── */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.perk-card {
  background: var(--white);
  border: 1.5px solid var(--paper2);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  display: flex; align-items: flex-start; gap: 0.9rem;
  transition: border-color .2s;
}
.perk-card.locked { opacity: 0.55; }
.perk-card.unlocked { border-left: 3px solid var(--gold); }
.perk-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.perk-label { font-size: 0.85rem; font-weight: 600; color: var(--ink2); line-height: 1.3; }
.perk-status {
  font-size: 0.7rem; letter-spacing: 0.08em; margin-top: 3px;
  color: var(--muted);
}
.perk-card.unlocked .perk-status { color: var(--gold); }
.perk-card.perk-card-shirt { grid-column: 1 / -1; align-items: flex-start; }
.perk-card-teaser { cursor: default; }
.perk-status-locked { color: var(--crimson) !important; opacity: .7; }
.perk-shirt-picker { margin-top: .6rem; }
.perk-shirt-sizes  { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: .3rem; }
.perk-shirt-note   { font-size: .7rem; color: var(--muted); }
.perk-shirt-claimed { font-size: .72rem; color: var(--gold); margin-top: .35rem; }
.perk-skeleton {
  background: linear-gradient(90deg, var(--paper2) 25%, var(--paper) 50%, var(--paper2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: var(--radius); height: 80px;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── Donate CTA panel ───────────────────────────────────────────── */
.donate-cta-panel {
  text-align: center;
  background: linear-gradient(135deg, #1a1510 0%, #2a1f0a 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  margin-bottom: 1.5rem;
}
.dcta-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.donate-cta-panel h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem; letter-spacing: .12em; color: #fff;
  margin: 0 0 .6rem;
}
.donate-cta-panel p {
  font-size: .85rem; color: rgba(255,255,255,.6); max-width: 420px;
  margin: 0 auto 1.25rem; line-height: 1.6;
}
.dcta-btn {
  display: inline-block; text-decoration: none;
  padding: .65rem 1.6rem;
  font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 700;
}

/* ── Upgrade tier panel ─────────────────────────────────────────── */
.upgrade-tier-panel {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  background: var(--white); border: 1.5px solid var(--paper2);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-top: 1.25rem;
}
.utp-left  { display: flex; align-items: center; gap: .85rem; flex: 1; }
.utp-icon  { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.utp-label { font-size: .82rem; font-weight: 600; color: var(--ink2); }
.utp-detail{ font-size: .72rem; color: var(--muted); margin-top: 2px; }
.utp-btn   { text-decoration: none; flex-shrink: 0; padding: .5rem 1rem; font-size: .78rem; }

/* ── Emails list ────────────────────────────────────────────────── */
.emails-list { display: flex; flex-direction: column; gap: 0.75rem; }
.email-row {
  background: var(--white);
  border: 1px solid var(--paper2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.email-row:hover { border-color: var(--gold); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.email-row-icon { font-size: 1.4rem; flex-shrink: 0; }
.email-row-body { flex: 1; min-width: 0; }
.email-row-kind { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.email-row-subject { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.email-row-date { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.email-row-arrow { color: var(--muted); font-size: 0.9rem; flex-shrink: 0; }

/* ── Email lightbox ─────────────────────────────────────────────── */
.email-lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(10,8,6,0.75);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.email-lightbox[hidden] { display: none !important; }
.lightbox-inner {
  background: #fff;
  border-radius: 10px;
  width: 100%; max-width: 640px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
}
.btn-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; font-size: 1.1rem;
  cursor: pointer; color: var(--ink3); z-index: 1;
  width: 30px; height: 30px;
}
#lightbox-iframe {
  flex: 1; border: none; min-height: 0;
  width: 100%;
}

/* ── Updates list ───────────────────────────────────────────────── */
.updates-list { display: flex; flex-direction: column; gap: 1.5rem; }
.update-card {
  background: var(--white);
  border: 1px solid var(--paper2);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.update-card-type {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.4rem;
}
.update-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem; color: var(--ink);
  margin-bottom: 0.5rem;
}
.update-card p { color: var(--ink3); font-size: 0.9rem; line-height: 1.6; }
.update-card-date { font-size: 0.75rem; color: var(--muted); margin-top: 0.75rem; }

/* ── Exclusive content grid ─────────────────────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.content-card {
  background: var(--white);
  border: 1px solid var(--paper2);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  transition: border-color .15s, box-shadow .15s;
}
.content-card:hover { border-color: var(--gold2); box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.content-card.coming-soon { opacity: 0.7; }
.cc-badge { font-size: 2rem; margin-bottom: 0.75rem; }
.content-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.content-card p { font-size: 0.82rem; color: var(--ink3); line-height: 1.5; margin-bottom: 0.75rem; }
.cc-label {
  display: inline-block; font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--paper2);
  padding: 2px 8px; border-radius: 20px;
}

/* ── Loading / empty states ─────────────────────────────────────── */
.loading-state {
  text-align: center; color: var(--muted);
  padding: 3rem 1rem; font-size: 0.9rem;
}
.empty-state {
  text-align: center; padding: 3rem 1rem;
}
.empty-state-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.empty-state h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem; margin-bottom: 0.4rem; color: var(--ink);
}
.empty-state p { color: var(--muted); font-size: 0.88rem; }

/* ── Preferences tab ─────────────────────────────────────────────── */
.prefs-card {
  background: var(--white);
  border: 1px solid var(--paper2);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.25rem;
}
.prefs-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem; letter-spacing: 0.08em;
  color: var(--ink); margin-bottom: 0.5rem;
}
.prefs-card > p { color: var(--ink3); font-size: 0.88rem; margin-bottom: 1.25rem; }

.prefs-shirt-grid {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.shirt-btn {
  min-width: 52px; padding: 0.5rem 0.9rem;
  background: var(--paper); border: 2px solid var(--paper2);
  border-radius: var(--radius); font-size: 0.9rem; font-weight: 700;
  color: var(--ink3); cursor: pointer; transition: all .2s;
}
.shirt-btn:hover  { border-color: var(--gold); color: var(--ink); }
.shirt-btn.selected {
  background: var(--ink); border-color: var(--ink);
  color: var(--white);
}
.prefs-shirt-note {
  font-size: 0.82rem; color: var(--gold);
  font-weight: 600; margin-bottom: 1rem; min-height: 1.2em;
}
.prefs-no-perk {
  font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem;
  font-style: italic;
}
.prefs-save-row {
  display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem;
}
.prefs-save-row .btn-primary { padding: 0.55rem 1.5rem; font-size: 0.9rem; }
.prefs-save-status {
  font-size: 0.82rem; font-weight: 600;
}
.prefs-save-status.ok    { color: #2e7d4f; }
.prefs-save-status.error { color: var(--crimson); }

/* ═══════════════════════════════════════════════════════════════════
   WIDE AUTH SCREENS (register, account setup)
═══════════════════════════════════════════════════════════════════ */
.auth-wide-screen {
  min-height: calc(100vh - var(--topbar-h));
  display: flex; align-items: flex-start; justify-content: center;
  padding: 3rem 1rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(200,144,42,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(138,18,5,0.06) 0%, transparent 60%),
    var(--paper);
}
.auth-wide-card {
  background: var(--white);
  border: 1px solid var(--paper2);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  padding: 2.5rem 2.5rem 2rem;
  width: 100%; max-width: 680px;
  text-align: center;
}
.auth-wide-card h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem; letter-spacing: 0.1em;
  color: var(--ink); margin-bottom: 0.5rem;
}
.auth-wide-card .login-sub { margin-bottom: 1.5rem; }
.auth-wide-card .btn-primary { width: 100%; margin-top: 0.5rem; }

/* ── Donate-first prompt ─────────────────────────────────────────── */
.reg-donate-prompt {
  text-align: left;
  margin-bottom: 1rem;
}
.rdp-inner {
  display: flex; align-items: flex-start; gap: 1.25rem;
  background: linear-gradient(135deg, #1a1510 0%, #2a1f0a 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}
.rdp-icon { font-size: 2.5rem; line-height: 1; flex-shrink: 0; }
.rdp-inner h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem; letter-spacing: .1em; margin: 0 0 .45rem;
  color: var(--gold2);
}
.rdp-inner p { font-size: .82rem; color: rgba(255,255,255,.65); margin: 0 0 1rem; line-height: 1.6; }
.rdp-cta {
  display: inline-block; text-decoration: none;
  padding: .55rem 1.4rem; font-size: .8rem; font-weight: 700;
  background: var(--gold); color: var(--dark); border-radius: 4px;
}
.rdp-tiers {
  border: 1px solid var(--paper2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: .85rem;
}
.rdp-tier-row {
  display: flex; align-items: center; gap: .85rem;
  padding: .6rem 1rem; font-size: .78rem; color: var(--ink2);
  border-bottom: 1px solid var(--paper2);
}
.rdp-tier-row:last-child { border-bottom: none; }
.rdp-tier-featured { background: rgba(200,144,42,.06); font-weight: 600; }
.rdp-tier-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: .06em; color: var(--gold);
  min-width: 36px; flex-shrink: 0;
}
.rdp-skip-row {
  text-align: center; font-size: .8rem; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  flex-wrap: wrap;
}

/* ── Two-column field grid ──────────────────────────────────────── */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
  text-align: left;
  margin-bottom: 1rem;
}
.field-full   { grid-column: 1 / -1; }
.field-narrow { max-width: 130px; }
@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
  .field-narrow { max-width: none; }
}

/* ── Alt action links ───────────────────────────────────────────── */
.login-alt-actions {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.45rem; margin-top: 1rem;
}
.btn-link {
  background: none; border: none; padding: 0;
  color: var(--gold); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; text-decoration: underline;
  transition: color .15s;
}
.btn-link:hover { color: var(--gold2); }

/* ── Disabled / read-only input ─────────────────────────────────── */
.field-disabled {
  opacity: 0.5 !important; cursor: not-allowed !important;
  background: var(--paper2) !important;
}

/* ── Field hint (inline label sub-text) ─────────────────────────── */
.field-hint {
  font-size: 0.7rem; font-weight: 400; color: var(--muted);
  letter-spacing: 0; text-transform: none; margin-left: 4px;
}

/* ── Password section divider ───────────────────────────────────── */
.setup-pw-divider {
  position: relative; text-align: center; margin: 1.5rem 0 1rem;
}
.setup-pw-divider::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--paper2);
}
.setup-pw-divider span {
  position: relative; z-index: 1;
  background: var(--white); padding: 0 1rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink3);
}

/* ── Under Construction Banner ──────────────────────────────────── */
.uc-banner {
  position: relative;
  background: linear-gradient(90deg, #7b1c1c 0%, #4a1010 100%);
  color: #f5e6c8;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 0.65rem 2.5rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  border-bottom: 2px solid #c9963a;
}
.uc-dismiss {
  position: absolute;
  right: 0.75rem; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #f5e6c8;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  opacity: 0.7;
  line-height: 1;
}
.uc-dismiss:hover { opacity: 1; }

