

:root {
  
  --bg-cream: #F0FDF4;
  --bg-sun-Wash: #ECFDF5;
  --bg-card: rgba(255, 255, 255, 0.96);
  --bg-card-solid: #FFFFFF;

  --rind-dark: #064E3B;
  --rind-deep: #065F46;
  --rind-mid: #047857;
  --emerald-hope: #059669;
  --emerald-bright: #10B981;
  --emerald-soft: #D1FAE5;
  --emerald-tint: #ECFDF5;
  --emerald-border: #6EE7B7;

  --melon-red: #047857;
  --melon-crimson: #059669;
  --melon-coral: #10B981;
  --melon-pink: #6EE7B7;
  --melon-soft: #ECFDF5;
  --melon-wash: #F0FDF4;

  --sun-gold: #10B981;
  --sun-amber: #059669;
  --sun-coral: #059669;
  --terracotta: #047857;
  --sky-trust: #0D9488;
  --sky-soft: #CCFBF1;

  --ink-900: #0F172A;
  --ink-800: #1E293B;
  --ink-700: #334155;
  --ink-500: #475569;
  --ink-400: #64748B;

  --border-warm: rgba(16, 185, 129, 0.28);
  --border-strong: rgba(5, 150, 105, 0.48);
  --shadow-soft: 0 12px 32px -8px rgba(6, 78, 59, 0.09), 0 4px 12px -2px rgba(6, 78, 59, 0.05);
  --shadow-hover: 0 20px 42px -10px rgba(6, 95, 70, 0.18), 0 8px 20px -4px rgba(16, 185, 129, 0.14);
  --shadow-glow: 0 0 0 4px rgba(16, 185, 129, 0.24);

  --watermelon-gradient: linear-gradient(90deg, #064E3B 0%, #047857 50%, #10B981 100%);
  --green-hero-gradient: linear-gradient(135deg, #064E3B 0%, #047857 52%, #059669 100%);
  --melon-btn-gradient: linear-gradient(135deg, #047857 0%, #059669 100%);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-heading: 'Fraunces', Georgia, serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--theme-canvas-bg, #EFE8DE);
  background: var(--theme-canvas-bg, #EFE8DE);
  color: var(--theme-ink-primary, var(--ink-900));
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(6, 78, 59, 0.045) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.watermelon-top-strip {
  background: linear-gradient(90deg, #064E3B 0%, #047857 38%, #065F46 68%, #9F1239 100%);
  color: #FFFFFF;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-bottom: 3px solid #10B981;
  position: relative;
  z-index: 95;
}

.watermelon-top-strip-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  text-align: center;
}

.watermelon-strip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.76rem;
  color: #ECFDF5;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  max-width: 100vw;
  width: 100%;
  background:
    radial-gradient(circle at 12% 10%, rgba(16, 185, 129, 0.18), transparent 44%),
    radial-gradient(circle at 88% 16%, rgba(16, 185, 129, 0.08), transparent 42%),
    radial-gradient(circle at 50% 82%, rgba(5, 150, 105, 0.14), transparent 50%),
    linear-gradient(180deg, #ECFDF5 0%, #F0FDF4 48%, #FFFFFF 100%);
}

#sunbeamCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  overflow: hidden;
  opacity: 0.55;
}

.sun-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.38;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-gold {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #10B981, rgba(16, 185, 129, 0));
  top: -120px;
  left: -90px;
}

.orb-emerald {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #059669, rgba(5, 150, 105, 0));
  bottom: 8%;
  right: -90px;
  animation-delay: -5s;
}

.orb-coral {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #10B981, rgba(16, 185, 129, 0));
  top: 36%;
  left: 55%;
  animation-delay: -9s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, -25px) scale(1.08); }
}

.admin-live-bar {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(90deg, #064E3B 0%, #065F46 55%, #047857 100%);
  color: #FFFFFF;
  padding: 0.65rem 1.25rem;
  border-bottom: 3px solid #E11D48;
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.35);
  max-width: 100vw;
  width: 100%;
  box-sizing: border-box;
}

.admin-live-bar-inner {
  max-width: 1340px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-status-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.24);
  color: #A7F3D0;
  border: 1px solid rgba(110, 231, 183, 0.45);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.draft-status-text {
  font-size: 0.85rem;
  color: #D1FAE5;
  font-weight: 500;
}

.draft-status-text.has-changes {
  color: #FFE4E6;
  font-weight: 700;
}

.admin-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn-admin-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-admin-bar:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.btn-shuffle {
  background: rgba(225, 29, 72, 0.28);
  border-color: rgba(253, 164, 175, 0.55);
  color: #FFE4E6;
}

.btn-update-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
}

.btn-update-live:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.55);
}

.btn-update-live:disabled {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}

.btn-update-live.needs-publish {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #FFFFFF;
  animation: gentleBounce 2s infinite;
}

@keyframes gentleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.btn-admin-exit {
  background: transparent;
  color: #A7F3D0;
  border: 1px solid rgba(167, 243, 208, 0.35);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-admin-exit:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(240, 253, 244, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(16, 185, 129, 0.28);
}

.site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 0.75rem;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 1.25rem !important;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink-900);
  flex-shrink: 0;
}

.brand-emblem {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #059669 0%, #E11D48 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.28), 0 0 0 1.5px #10B981;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-emblem:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4), 0 0 12px rgba(16, 185, 129, 0.5);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--rind-dark);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #CE1126;
  margin-top: 1px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 1;
}

.nav-link {
  text-decoration: none;
  color: var(--rind-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.38rem 0.65rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--rind-deep);
  background: rgba(16, 185, 129, 0.16);
}

.nav-link-fotw {
  font-size: 0.78rem !important;
  padding: 0.3rem 0.65rem !important;
  white-space: nowrap !important;
  font-weight: 800 !important;
}

.nav-link-pledge {
  background: #ECFDF5;
  color: #065F46 !important;
  border: 1px solid #A7F3D0;
  font-weight: 800 !important;
  border-radius: 9999px;
  padding: 0.3rem 0.75rem !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  white-space: nowrap !important;
}

.nav-link-pledge:hover {
  background: #D1FAE5;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.2);
}

.nav-link-families,
.nav-link-method {
  background: #FFFFFF;
  color: #1F2937 !important;
  border: 1.5px solid #E5E7EB;
  font-weight: 700 !important;
  border-radius: 9999px;
  padding: 0.3rem 0.75rem !important;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  white-space: nowrap !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav-link-families:hover,
.nav-link-method:hover {
  background: #F0FDF4;
  color: #047857 !important;
  border-color: #6EE7B7;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.15);
}

.nav-link-qr {
  color: var(--melon-crimson);
  background: #FFE4E6;
  border: 1.5px solid #FDA4AF;
}

.nav-link-qr:hover {
  background: #FECDD3;
  color: #881337;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  color: var(--rind-dark);
  border: 1.5px solid var(--emerald-border);
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-admin-toggle:hover {
  border-color: var(--emerald-hope);
  background: #ECFDF5;
  transform: translateY(-1px);
}

.btn-admin-toggle.active-admin {
  background: var(--rind-deep);
  color: #FFFFFF;
  border-color: var(--rind-deep);
}

@media (max-width: 1680px) {
  .header-socials {
    display: none !important;
  }
  .site-header .nav-container {
    gap: 0.35rem;
    padding: 0 0.85rem !important;
  }
  .brand-logo .brand-emblem {
    width: 40px;
    height: 40px;
  }
  .brand-logo .brand-name {
    font-size: 1.22rem;
  }
  .brand-logo .brand-sub {
    display: none;
  }
  #currentLangLabel {
    display: none !important;
  }
  #topThemeModeText {
    display: none !important;
  }
  .btn-lang-selector {
    padding: 0.32rem 0.5rem !important;
  }
  .btn-top-theme-toggle {
    padding: 0.32rem 0.5rem !important;
  }
  .main-nav {
    gap: 0.22rem;
  }
  .nav-link {
    font-size: 0.78rem;
    padding: 0.26rem 0.48rem;
  }
  .nav-actions {
    gap: 0.35rem !important;
    margin-left: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 1366px) {
  .site-header .nav-container {
    gap: 0.28rem;
    padding: 0 0.55rem !important;
  }
  .brand-logo .brand-name {
    font-size: 1.14rem;
  }
  .main-nav {
    gap: 0.16rem;
  }
  .nav-link {
    font-size: 0.74rem;
    padding: 0.22rem 0.38rem;
  }
  .nav-link-pledge {
    padding: 0.22rem 0.48rem !important;
  }
  .nav-link-method {
    padding: 0.22rem 0.48rem !important;
  }
  .nav-link-weekly-updates {
    padding: 3px 6px !important;
    font-size: 0.73rem !important;
  }
  .nav-live-stream-pill {
    padding: 0.28rem 0.55rem !important;
    font-size: 0.71rem !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 1200px) {
  .nav-link {
    font-size: 0.73rem;
    padding: 0.20rem 0.34rem;
  }
}

@media (max-width: 1040px) {
  .nav-container {
    flex-wrap: wrap;
    height: auto !important;
    min-height: 52px;
    gap: 0.35rem 0.5rem;
  }
  .main-nav {
    display: flex !important;
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.38rem;
    padding: 0.25rem 0 0.1rem;
    border-top: 1px solid rgba(16, 185, 129, 0.18);
  }
  .main-nav::-webkit-scrollbar {
    display: none;
  }
  .main-nav .nav-link {
    flex-shrink: 0;
    font-size: 0.76rem;
    padding: 0.32rem 0.68rem;
    background: #F0FDF4;
    border: 1px solid #A7F3D0;
    border-radius: 999px;
    white-space: nowrap;
  }
}

.welcome-section,
.hero-section {
  padding: 1.1rem 0 0.65rem;
  position: relative;
}

.welcome-container,
.hero-container {
  max-width: 1340px;
}

.friendly-welcome-banner-box,
.friendly-welcome-hero-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 244, 0.96) 65%, rgba(236, 253, 245, 0.95) 100%);
  border: 2.5px solid #6EE7B7;
  border-radius: 24px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 14px 36px -12px rgba(6, 95, 70, 0.14), 0 4px 12px -2px rgba(6, 95, 70, 0.06);
  position: relative;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.friendly-welcome-banner-box::before,
.friendly-welcome-hero-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--watermelon-gradient);
}

.welcome-compact-grid {
  display: grid;
  grid-template-columns: 1.65fr 0.85fr;
  gap: 1.25rem;
  align-items: center;
}

.welcome-brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.welcome-logo-img,
.hero-logo-img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  border-radius: 22px;
  background: #FFFFFF;
  border: 3px solid #10B981;
  box-shadow: 0 12px 28px -6px rgba(6, 95, 70, 0.28), 0 0 0 1px rgba(52, 211, 153, 0.35);
  padding: 2px;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.welcome-logo-img:hover,
.hero-logo-img:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 36px -6px rgba(6, 95, 70, 0.35), 0 0 16px rgba(16, 185, 129, 0.45);
}

.welcome-title-wrap {
  text-align: left;
}

.welcome-badge-row,
.hero-badge-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.35rem;
}

.welcome-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #D1FAE5 0%, #FFE4E6 100%);
  border: 1.5px solid #34D399;
  color: var(--rind-dark);
  padding: 0.28rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.1);
}

.sparkle-icon {
  color: var(--melon-red);
  font-size: 0.95rem;
}

.welcome-title,
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--rind-dark);
}

.welcome-title-highlight,
.hero-title-highlight {
  color: #047857;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: initial !important;
}

.mission-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #A7F3D0;
  border-radius: 16px;
  padding: 0.9rem 1.15rem;
  box-shadow: var(--shadow-soft);
  text-align: left;
  overflow: hidden;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.mission-card.mission-card-highlight {
  border-color: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.28), 0 12px 28px rgba(6, 95, 70, 0.18);
  transform: translateY(-2px);
}

.mission-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.48rem;
}

.mission-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: #065F46;
  background: linear-gradient(135deg, #D1FAE5 0%, #ECFDF5 100%);
  border: 1.5px solid #34D399;
  padding: 0.2rem 0.68rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.mission-eyebrow-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  opacity: 0.88;
}

.mission-statement {
  position: relative;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--ink-800);
  font-weight: 500;
}

.mission-footer {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(5, 150, 105, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mission-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pillar-tag {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--rind-dark);
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  padding: 0.22rem 0.68rem;
  border-radius: var(--radius-pill);
}

.pillar-tag.melon-tag {
  background: #FFF1F2;
  border-color: #FDA4AF;
  color: var(--melon-crimson);
}

.welcome-compact-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.impact-metrics-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.metric-box {
  background: #FFFFFF;
  border: 1.5px solid #A7F3D0;
  border-radius: 14px;
  padding: 0.6rem 0.75rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.06);
}

.welcome-side-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.btn-inline-edit {
  background: #ECFDF5;
  color: var(--rind-deep);
  border: 1px solid #34D399;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.btn-primary-sun {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #059669 0%, #047857 60%, #E11D48 100%);
  color: #FFFFFF;
  text-decoration: none;
  border: none;
  padding: 0.82rem 1.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px -6px rgba(5, 150, 105, 0.45);
  transition: all 0.22s ease;
}

.btn-primary-sun:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(5, 150, 105, 0.45);
}

.btn-secondary-warm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #FFFFFF;
  color: var(--rind-dark);
  text-decoration: none;
  border: 2px solid #6EE7B7;
  padding: 0.78rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
}

.btn-secondary-warm:hover {
  border-color: var(--emerald-hope);
  background: #ECFDF5;
  transform: translateY(-2px);
}

.btn-outline-qr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #FFF1F2;
  color: var(--melon-crimson);
  text-decoration: none;
  border: 2px solid #FDA4AF;
  padding: 0.78rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-qr:hover {
  background: #FFE4E6;
  transform: translateY(-2px);
}

.metric-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rind-deep);
  line-height: 1.1;
  display: block;
}

.metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-700);
  margin-top: 2px;
  display: block;
}

.families-section {
  padding: 0.5rem 0 3.5rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-header-text {
  max-width: 740px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rind-deep);
  background: #D1FAE5;
  border: 1px solid #6EE7B7;
  padding: 0.24rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.4rem;
}

.eyebrow-emerald {
  color: var(--rind-dark);
  background: #D1FAE5;
}

.eyebrow-gold {
  color: var(--melon-crimson);
  background: #FFE4E6;
  border-color: #FDA4AF;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--rind-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--ink-700);
}

.section-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.btn-visitor-shuffle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ECFDF5;
  color: var(--rind-dark);
  border: 2px solid #34D399;
  padding: 0.52rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-visitor-shuffle:hover {
  background: #D1FAE5;
  transform: translateY(-1px);
}

.btn-add-member-inline {
  background: var(--emerald-hope);
  color: #FFFFFF;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.directory-scale-bar {
  background: #FFFFFF;
  border: 2px solid #6EE7B7;
  border-radius: 18px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 24px -8px rgba(6, 78, 59, 0.1);
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.directory-search-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.directory-search-input-wrap {
  flex: 1;
  min-width: 250px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon-prefix {
  position: absolute;
  left: 12px;
  font-size: 0.95rem;
  pointer-events: none;
}

#familySearchInput {
  width: 100%;
  padding: 0.62rem 2.2rem 0.62rem 2.3rem;
  border: 2px solid #A7F3D0;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-900);
  background: #F0FDF4;
  transition: all 0.2s ease;
}

#familySearchInput:focus {
  outline: none;
  border-color: #059669;
  background: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn-clear-search {
  position: absolute;
  right: 10px;
  background: #D1FAE5;
  color: var(--rind-dark);
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.btn-search-execute {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border: 1px solid #047857;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.22);
  transition: all 0.18s ease;
}
.btn-search-execute:hover {
  background: linear-gradient(135deg, #047857 0%, #065F46 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.32);
}

.directory-jump-wrap,
.directory-pagesize-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.jump-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--rind-dark);
  white-space: nowrap;
}

.jump-number-input {
  width: 86px;
  padding: 0.5rem 0.6rem;
  border: 1.5px solid #A7F3D0;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  -moz-appearance: textfield;
}

.jump-number-input::-webkit-outer-spin-button,
.jump-number-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-jump-go {
  background: #059669;
  color: #FFFFFF;
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.pagesize-select {
  padding: 0.5rem 0.65rem;
  border: 1.5px solid #A7F3D0;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #ECFDF5;
  color: var(--rind-dark);
  cursor: pointer;
}

.directory-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(16, 185, 129, 0.3);
  max-width: 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.directory-filter-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.filter-pill {
  background: #F0FDF4;
  color: var(--rind-dark);
  border: 1.5px solid #A7F3D0;
  padding: 0.36rem 0.82rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-pill:hover {
  background: #D1FAE5;
  border-color: #10B981;
}

.filter-pill.active {
  background: linear-gradient(135deg, #064E3B 0%, #059669 65%, #E11D48 100%);
  color: #FFFFFF;
  border-color: #064E3B;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

.directory-capacity-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.showing-status-badge {
  display: none !important;
}

.directory-pagination-bar {
  margin-top: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: #FFFFFF;
  border: 2px solid #A7F3D0;
  border-radius: 16px;
  padding: 0.85rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.btn-page-num {
  background: #F0FDF4;
  color: var(--rind-dark);
  border: 1.5px solid #A7F3D0;
  min-width: 36px;
  height: 36px;
  padding: 0 0.65rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-page-num:hover:not(:disabled) {
  background: #D1FAE5;
  border-color: #059669;
}

.btn-page-num.active {
  background: linear-gradient(135deg, #059669 0%, #E11D48 100%);
  color: #FFFFFF;
  border-color: #059669;
}

.btn-page-num:disabled {
  opacity: 0.4;
  cursor: default;
}

.hotdog-tabs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.coming-soon-grid-divider {
  grid-column: 1 / -1;
  margin-top: 0.65rem;
  margin-bottom: 0.15rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(90deg, #ECFDF5 0%, #F8FAFC 100%);
  border: 1.5px dashed #6EE7B7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #065F46;
}

.coming-soon-divider-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-500);
}

.hotdog-item {
  background: #FFFFFF;
  border: 1.5px solid #A7F3D0;
  border-radius: 14px;
  box-shadow: 0 4px 12px -4px rgba(6, 78, 59, 0.1);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.2s ease;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  will-change: transform;
}

.hotdog-item.verified-family-card {
  border: 2px solid #10B981;
  box-shadow: 0 6px 18px -6px rgba(5, 150, 105, 0.16);
}

.hotdog-item.coming-soon-pill-card {
  opacity: 0.92;
  border-radius: 12px;
  border: 1.5px solid #A7F3D0;
}

.hotdog-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--watermelon-gradient);
  z-index: 2;
}

.hotdog-item:not(.expanded):hover,
.hotdog-item:not(.expanded):focus-visible {
  border-color: #059669;
  box-shadow: 0 20px 38px -10px rgba(6, 95, 70, 0.28), 0 8px 20px -6px rgba(5, 150, 105, 0.16);
  transform: translateY(-5px) scale(1.052);
  z-index: 35;
}

.hotdog-item.coming-soon-pill-card:not(.expanded):hover {
  transform: translateY(-3px) scale(1.045);
  opacity: 1;
}

.hotdog-item.expanded {
  grid-column: 1 / -1;
  background: #FFFFFF;
  border-width: 2.5px;
  border-color: #059669;
  box-shadow: 0 20px 42px -12px rgba(6, 95, 70, 0.24);
  z-index: 25;
}

.hotdog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.48rem 0.6rem 0.46rem;
  cursor: pointer;
  user-select: none;
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 65%, #ECFDF5 100%);
  transition: background 0.2s ease;
}

.hotdog-item.coming-soon-pill-card .hotdog-bar {
  padding: 0.42rem 0.58rem;
}

.hotdog-item.verified-family-card .hotdog-bar,
.hotdog-item:hover .hotdog-bar,
.hotdog-item.expanded .hotdog-bar {
  background: linear-gradient(135deg, #064E3B 0%, #047857 58%, #E11D48 100%);
  color: #FFFFFF;
}

.hotdog-pill-left {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  min-width: 0;
  flex: 1;
}

.hotdog-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid #10B981;
  flex-shrink: 0;
  background: #ECFDF5;
  box-shadow: 0 2px 6px rgba(6, 78, 59, 0.14);
}

.hotdog-item.coming-soon-pill-card .hotdog-avatar {
  width: 28px;
  height: 28px;
}

.hotdog-item.verified-family-card .hotdog-avatar,
.hotdog-item:hover .hotdog-avatar,
.hotdog-item.expanded .hotdog-avatar {
  border-color: #FFFFFF;
}

.hotdog-rank {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--rind-deep);
  background: #D1FAE5;
  border: 1px solid #6EE7B7;
  padding: 0.08rem 0.34rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.hotdog-item.verified-family-card .hotdog-rank,
.hotdog-item:hover .hotdog-rank,
.hotdog-item.expanded .hotdog-rank {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.hotdog-title-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hotdog-name {
  font-family: var(--font-serif);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--rind-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.18;
}

.hotdog-item.verified-family-card .hotdog-name,
.hotdog-item:hover .hotdog-name,
.hotdog-item.expanded .hotdog-name {
  color: #FFFFFF;
}

.hotdog-friendly-sub {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ink-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.hotdog-item.verified-family-card .hotdog-friendly-sub,
.hotdog-item:hover .hotdog-friendly-sub,
.hotdog-item.expanded .hotdog-friendly-sub {
  color: #D1FAE5;
}

.hotdog-pill-right {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.hotdog-hover-preview {
  padding: 0.5rem 0.56rem 0.56rem;
  background: #F8FAFC;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.hotdog-item.expanded .hotdog-hover-preview {
  padding: 0.85rem 1.1rem 0.9rem;
  background: #F0FDF4;
}

.hotdog-photos-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.38rem;
}

.hotdog-photos-strip[data-count="1"] {
  grid-template-columns: 1fr;
}

.hotdog-photos-strip[data-count="2"] {
  grid-template-columns: repeat(2, 1fr);
}

.hotdog-photos-strip[data-count="3"] {
  grid-template-columns: repeat(3, 1fr);
}

.hotdog-item.expanded .hotdog-photos-strip {
  grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
  gap: 0.85rem;
  max-width: 940px;
}

.hotdog-photo-thumb {
  position: relative;
  width: 100%;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1.5px solid rgba(16, 185, 129, 0.28);
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(6, 78, 59, 0.08);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.2s ease, z-index 0s;
}

.hotdog-item.expanded .hotdog-photo-thumb {
  aspect-ratio: 1 / 1;
  height: auto;
  max-width: 220px;
  border-radius: 12px;
}

.hotdog-photo-thumb:hover {
  transform: scale(1.08) translateY(-2px);
  z-index: 30;
  border-color: #059669;
  box-shadow: 0 10px 20px -4px rgba(6, 78, 59, 0.3);
}

.hotdog-photo-thumb img.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.3s ease;
}

.hotdog-photo-thumb:hover img.thumb-img {
  transform: scale(1.05);
}

.hotdog-photo-badge {
  display: none !important;
}

.compact-aid-banner {
  margin-top: 0.45rem;
  background: #F0FDF4;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.compact-aid-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: #065F46;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.compact-aid-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
}

.compact-fuel-bar {
  margin-top: 0.45rem;
  background: #FFFFFF;
  border: 1px solid #D1FAE5;
  border-radius: 8px;
  padding: 0.35rem 0.5rem 0.45rem;
}

.compact-fuel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--rind-dark);
  margin-bottom: 0.28rem;
}

.compact-fuel-goal {
  font-weight: 600;
  color: var(--ink-500);
}

.compact-fuel-pct {
  display: none !important;
}

.compact-fuel-track {
  height: 20px;
  background: #E2E8F0;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 2.5px rgba(0, 0, 0, 0.12);
}

.compact-fuel-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #E11D48 0%, #10B981 55%, #047857 100%);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.compact-fuel-pct-in-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.015em;
  z-index: 2;
  pointer-events: none;
  line-height: 1;
}

.compact-fuel-pct-in-bar.is-white {
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.compact-fuel-pct-in-bar.is-dark {
  color: #064E3B;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}

.hotdog-quick-actions {
  margin-top: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  width: 100%;
}

.hotdog-quick-actions-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.22rem;
  width: 100%;
}

.hotdog-quick-actions-row > * {
  min-width: 0;
  width: 100%;
}

.hotdog-click-prompt,
.hotdog-quick-actions .hotdog-click-prompt,
.hotdog-quick-actions .btn-story-card-trigger,
.hotdog-quick-actions .btn-compact-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  padding: 0.34rem 0.2rem;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.15;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 28px;
  max-height: 28px;
  transition: all 0.18s ease;
}

.btn-compact-donate-full,
.hotdog-quick-actions .btn-compact-donate-full {
  width: 100%;
  min-height: 36px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 0.45rem 0.65rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #FFFFFF;
  background: #047857;
  border: 1.5px solid transparent;
  box-shadow: 0 2.5px 8px rgba(4, 120, 87, 0.22);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s ease;
}

.btn-compact-donate-full:hover,
.hotdog-quick-actions .btn-compact-donate-full:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.34);
  background: #059669;
}

.btn-compact-donate-full.is-completed,
.hotdog-quick-actions .btn-compact-donate-full.is-completed {
  background: linear-gradient(135deg, #047857 0%, #D97706 100%);
  border: 1.5px solid #FCD34D;
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.3);
}

.btn-compact-donate-full.pending,
.hotdog-quick-actions .btn-compact-donate-full.pending {
  background: #FFF1F2;
  color: #9F1239;
  border-color: #FDA4AF;
  box-shadow: none;
  cursor: default;
}

.hotdog-click-prompt,
.hotdog-quick-actions .hotdog-click-prompt {
  color: var(--rind-deep);
  background: #ECFDF5;
  border: 1.5px solid #6EE7B7;
}

.hotdog-click-prompt:hover,
.hotdog-quick-actions .hotdog-click-prompt:hover {
  background: #A7F3D0;
  color: var(--rind-dark);
  border-color: #059669;
}

.hotdog-quick-actions .btn-story-card-trigger {
  background: #FFF1F2;
  color: #BE123C;
  border: 1.5px solid #FDA4AF;
}

.hotdog-quick-actions .btn-story-card-trigger:hover {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #FFFFFF;
  border-color: #BE123C;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(225, 29, 72, 0.24);
}

.hotdog-quick-actions .btn-compact-share {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1.5px solid #93C5FD;
}

.hotdog-quick-actions .btn-compact-share:hover {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.24);
}

.btn-compact-donate,
.hotdog-quick-actions .btn-compact-donate {
  color: #FFFFFF;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: 1.5px solid transparent;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2);
}

.btn-compact-donate:hover,
.hotdog-quick-actions .btn-compact-donate:hover {
  background: linear-gradient(135deg, #047857 0%, #064E3B 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.32);
}

.btn-compact-donate.pending,
.hotdog-quick-actions .btn-compact-donate.pending {
  background: #FFF1F2;
  color: #9F1239;
  border-color: #FDA4AF;
  box-shadow: none;
  cursor: default;
}

.btn-close-story-inline {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-close-story-inline:hover {
  background: #FECACA;
}

.random-chooser-banner {
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #064E3B 0%, #047857 52%, #BE123C 100%);
  border: 2.5px solid #34D399;
  border-radius: var(--radius-lg);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 14px 32px -10px rgba(6, 78, 59, 0.32);
  color: #FFFFFF;
}

.random-chooser-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.random-chooser-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  flex-shrink: 0;
}

.random-chooser-eyebrow {
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #A7F3D0;
}

.random-chooser-title {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  font-weight: 700;
  color: #FFFFFF;
}

.btn-random-chooser {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #FFE4E6 0%, #FFFFFF 50%, #D1FAE5 100%);
  color: var(--rind-dark);
  border: 2px solid #FFFFFF;
  padding: 0.78rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 22px -4px rgba(0, 0, 0, 0.25);
  transition: all 0.22s ease;
}

.btn-random-chooser:hover {
  transform: translateY(-2px) scale(1.02);
  background: #FFFFFF;
  color: var(--melon-crimson);
}

.random-spotlight-card {
  margin-bottom: 1.4rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 60%, #FFF1F2 100%);
  border: 3px solid #10B981;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 20px 45px -12px rgba(5, 150, 105, 0.25);
  animation: slideDownDrawer 0.35s ease;
  position: relative;
  overflow: hidden;
}

.random-spotlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--watermelon-gradient);
}

.hotdog-item.roulette-highlight {
  border-color: var(--melon-red) !important;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.35), var(--shadow-hover) !important;
  transform: translateY(-4px) scale(1.02);
}

.gas-meter-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.14rem 0.48rem;
  border-radius: var(--radius-pill);
  background: #ECFDF5;
  color: var(--rind-deep);
  border: 1px solid #6EE7B7;
  flex-shrink: 0;
}

.hotdog-item.verified-family-card .gas-meter-pill-badge,
.hotdog-item:hover .gas-meter-pill-badge,
.hotdog-item.expanded .gas-meter-pill-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.45);
}

.gas-meter-widget {
  margin-top: 0.55rem;
  background: #FFFFFF;
  border: 1.5px solid #A7F3D0;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
}

.gas-meter-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.38rem;
}

.gas-meter-gauge-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.gas-gauge-svg {
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}

.gas-meter-percent-big {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--rind-dark);
  line-height: 1.1;
}

.gas-meter-amounts {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-700);
}

.gas-tank-track {
  position: relative;
  height: 11px;
  background: #E2E8F0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
}

.gas-tank-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #E11D48 0%, #10B981 55%, #047857 100%);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.gas-tank-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--ink-500);
  margin-top: 3px;
  padding: 0 2px;
}

.hotdog-drawer {
  display: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 1rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
  border-top: 2px dashed rgba(5, 150, 105, 0.3);
  animation: slideDownDrawer 0.28s ease;
  overflow: hidden;
}

@keyframes slideDownDrawer {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hotdog-item.expanded .hotdog-drawer {
  display: block;
}

.hotdog-story-box {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border-left: 5px solid #059669;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.06);
  word-break: break-word;
  overflow-wrap: break-word;
}

.hotdog-story-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rind-deep);
  margin-bottom: 0.35rem;
}

.hotdog-story-paragraph {
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--ink-800);
  word-break: break-word;
  overflow-wrap: break-word;
}

.hotdog-initiative-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  background: linear-gradient(135deg, #ECFDF5 0%, #FFF1F2 100%);
  border: 2px solid #6EE7B7;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.hotdog-initiative-info {
  min-width: 0;
  flex: 1 1 240px;
  max-width: 100%;
  box-sizing: border-box;
}

.hotdog-initiative-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--rind-dark);
  word-break: break-word;
  overflow-wrap: break-word;
}

.hotdog-initiative-url {
  font-size: 0.78rem;
  color: var(--ink-500);
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.hotdog-drawer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  box-sizing: border-box;
  max-width: 100%;
}

.hotdog-drawer-actions .btn-story-card-trigger,
.hotdog-drawer-actions .btn-compact-share {
  padding: 0.62rem 1rem;
  font-size: 0.84rem;
  box-sizing: border-box;
}

.btn-hotdog-donate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #047857;
  color: #FFFFFF;
  text-decoration: none;
  padding: 0.68rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.26);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-hotdog-donate:hover {
  transform: translateY(-2px);
  background: #059669;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.36);
}

.card-admin-action-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.38rem 0.45rem;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid #F59E0B;
  border-radius: 10px;
}

.btn-card-admin-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  padding: 0.35rem 0.2rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid rgba(217, 119, 6, 0.4);
  background: #FFFFFF;
  color: #92400E;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-card-admin-tool:hover {
  background: #F59E0B;
  color: #FFFFFF;
  border-color: #D97706;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
}

.btn-card-admin-tool.del {
  color: #DC2626;
  border-color: rgba(220, 38, 38, 0.35);
}

.btn-card-admin-tool.del:hover {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #B91C1C;
}

.btn-card-admin-tool.is-goal-active {
  background: #10B981;
  color: #FFFFFF;
  border-color: #059669;
}

.hotdog-admin-btns {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.35rem;
}

.btn-mini-admin {
  background: rgba(255, 255, 255, 0.9);
  color: var(--rind-dark);
  border: 1px solid rgba(5, 150, 105, 0.35);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-mini-admin:hover:not(:disabled) {
  background: var(--emerald-hope);
  color: #FFFFFF;
}

.btn-mini-admin.del {
  color: #DC2626;
}

.btn-card-admin {
  background: #ECFDF5;
  color: var(--rind-dark);
  border: 1px solid #6EE7B7;
  padding: 0.28rem 0.6rem;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-card-admin:hover:not(:disabled) {
  background: #10B981;
  color: #FFFFFF;
  border-color: #059669;
}

.btn-card-admin:disabled {
  opacity: 0.35;
  cursor: default;
}

.btn-card-admin.btn-delete {
  color: #DC2626;
  border-color: rgba(220, 38, 38, 0.3);
  background: #FFF1F2;
}

.btn-card-admin.btn-delete:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.orgs-section {
  padding: 4rem 0 4.25rem;
  position: relative;
  background-color: #042f24;
  background-image:
    linear-gradient(180deg, rgba(4, 38, 28, 0.78) 0%, rgba(6, 58, 43, 0.70) 50%, rgba(4, 38, 28, 0.84) 100%),
    url("photos/orgs-section-bg.jpg");
  background-size: cover;
  background-position: center;
  border-top: 3px solid #10B981;
  border-bottom: 3px solid #E11D48;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.35);
}

.orgs-section .orgs-header .section-eyebrow {
  background: rgba(236, 253, 245, 0.95);
  color: #065F46;
  border-color: #34D399;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.orgs-section .orgs-header .section-title {
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.orgs-section .orgs-header .section-subtitle {
  color: #ECFDF5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  max-width: 780px;
}

.inline-org-link {
  color: #6EE7B7;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}

.orgs-section .inline-org-link:hover {
  color: #FFFFFF;
}

.orgs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .orgs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (max-width: 768px) {
  .orgs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }
  .org-card {
    border-radius: 18px !important;
  }
  .org-card-photo-banner {
    height: 110px !important;
    padding: 0.45rem 0.55rem !important;
  }
  .org-photo-location-pill {
    font-size: 0.6rem !important;
    padding: 0.18rem 0.45rem !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .org-card-body {
    padding: 0.75rem 0.65rem 0.85rem !important;
  }
  .org-card-top {
    margin-bottom: 0.35rem !important;
  }
  .org-badge {
    font-size: 0.62rem !important;
    padding: 0.18rem 0.45rem !important;
  }
  .org-name {
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.25rem !important;
  }
  .org-focus {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.35rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .org-desc {
    font-size: 0.75rem !important;
    line-height: 1.38 !important;
    margin-bottom: 0.65rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .org-card-footer {
    padding-top: 0.55rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.4rem !important;
  }
  .org-card-footer a:first-child {
    font-size: 0.72rem !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }
  .btn-org-link {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.72rem !important;
    padding: 0.45rem 0.5rem !important;
    text-align: center !important;
  }
}

.org-card {
  background-color: #FFFFFF;
  background-size: cover;
  background-position: center;
  border: 2px solid #6EE7B7;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.42);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.org-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--watermelon-gradient);
  z-index: 3;
}

.org-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -10px rgba(0, 0, 0, 0.55);
  border-color: #34D399;
}

.org-card-photo-banner {
  position: relative;
  height: 175px;
  width: 100%;
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  overflow: hidden;
}

.org-card-photo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(4, 47, 36, 0.72) 100%);
  pointer-events: none;
}

.org-photo-location-pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(6, 78, 59, 0.88);
  color: #ECFDF5;
  border: 1px solid rgba(110, 231, 183, 0.65);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.org-card-body {
  padding: 1.35rem 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(6px);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.org-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.org-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--emerald-soft);
  color: #065F46;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  border: 1px solid #6EE7B7;
}

.org-name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--rind-dark);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.org-focus {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--melon-crimson);
  margin-bottom: 0.65rem;
}

.org-card-info-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.org-desc {
  font-size: 0.91rem;
  color: var(--ink-700);
  line-height: 1.62;
  margin-bottom: 1.25rem;
  flex: 1;
}

.org-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(16, 185, 129, 0.22);
  width: 100%;
}

.org-card-footer .org-domain-link,
.org-card-footer a:first-child {
  display: block;
  width: 100%;
  font-size: 0.84rem;
  font-weight: 800;
  color: #047857;
  text-decoration: underline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
  min-height: 1.4em;
}

.btn-org-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  transition: all 0.2s ease;
}

.btn-org-link:hover {
  background: linear-gradient(135deg, #047857 0%, #E11D48 100%);
  transform: translateY(-1px);
}

.qr-section {
  padding: 3.5rem 0 4rem;
}

.city-banner-studio-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #ECFDF5 50%, #FFF1F2 100%);
  border: 3px solid #10B981;
  border-radius: var(--radius-xl);
  padding: 2.2rem 2.2rem 2.4rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 22px 48px -12px rgba(6, 78, 59, 0.2);
  position: relative;
  overflow: hidden;
}

.city-banner-studio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #000000 0%, #000000 28%, #FFFFFF 28%, #FFFFFF 52%, #007A3D 52%, #007A3D 78%, #CE1126 78%, #CE1126 100%);
}

.city-banner-controls-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #A7F3D0;
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.75rem;
}

.city-banner-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  align-items: start;
}

.city-banner-form-grid select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: block;
  width: 100%;
  min-height: 44px;
  height: 44px;
  line-height: 1.4;
  padding: 0.55rem 2.5rem 0.55rem 0.95rem;
  border: 1.5px solid #A7F3D0;
  border-radius: 12px;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #064E3B;
  box-shadow: 0 1px 3px rgba(6, 78, 59, 0.04);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.city-banner-form-grid select:hover {
  border-color: #059669;
  background-color: #F0FDF4;
}

.city-banner-form-grid select:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  background-color: #FFFFFF;
}

.city-banner-form-grid select option {
  padding: 8px 12px;
  font-size: 0.9rem;
  color: #0B0F19;
  background-color: #FFFFFF;
}

.city-banner-form-grid .form-group label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #064E3B;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.35;
}

.city-banner-form-grid .input-hint {
  font-size: 0.74rem;
  color: #047857;
  line-height: 1.35;
  margin-top: 0.25rem;
  display: block;
}

.city-input-with-clear input#bannerCityInput {
  font-size: 1.05rem;
  font-weight: 900;
  color: #064E3B;
  background: #ECFDF5;
  border: 2.5px solid #059669;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.quick-city-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-top: 0.45rem;
}

.quick-city-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-500);
}

.city-preset-pill {
  background: #F0FDF4;
  color: #065F46;
  border: 1px solid #6EE7B7;
  border-radius: 999px;
  padding: 0.16rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.city-preset-pill:hover {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
}

.city-banner-action-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1.5px dashed rgba(5, 150, 105, 0.3);
}

.btn-print-city-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #007A3D 0%, #064E3B 52%, #CE1126 100%);
  color: #FFFFFF;
  border: none;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px -6px rgba(0, 122, 61, 0.4);
  transition: all 0.2s ease;
}

.btn-print-city-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(206, 17, 38, 0.42);
}

.btn-download-city-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: #064E3B;
  border: 2px solid #059669;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-download-city-banner:hover {
  background: #ECFDF5;
  border-color: #CE1126;
  color: #CE1126;
}

.printable-banner-stage-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow-x: auto;
}

.printable-city-banner {
  width: 100%;
  max-width: 1060px;
  background: #FFFFFF;
  border: 5px solid #064E3B;
  border-radius: 22px;
  box-shadow: 0 24px 55px -12px rgba(6, 78, 59, 0.28);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 0 0 1.4rem;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  transition: all 0.25s ease;
}

.printable-city-banner.paper-letter-landscape {
  max-width: 980px;
}

.printable-city-banner.paper-letter-portrait,
.printable-city-banner.paper-a4-portrait {
  max-width: 780px;
}

.printable-city-banner.paper-legal-long {
  max-width: 780px;
  border-color: #007A3D;
}

.printable-city-banner.paper-tabloid-long {
  max-width: 860px;
  border-width: 6px;
}

.printable-city-banner.paper-panoramic-strip {
  max-width: 780px;
  padding-bottom: 1.5rem;
}

.banner-flag-top-bar {
  position: relative;
  height: 22px;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 2px solid #064E3B;
}

.banner-flag-top-bar .flag-stripe-black {
  flex: 1;
  background: #0B0F19;
}

.banner-flag-top-bar .flag-stripe-white {
  flex: 1;
  background: #FFFFFF;
}

.banner-flag-top-bar .flag-stripe-green {
  flex: 1;
  background: #007A3D;
}

.banner-flag-top-bar .flag-triangle-red {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 90px;
  background: #CE1126;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.banner-header-zone {
  padding: 1.25rem 1.75rem 0.85rem;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
}

.banner-solidarity-pill {
  display: inline-block;
  background: #064E3B;
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  padding: 0.28rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.banner-inline-edit-hint {
  font-size: 0.78rem;
  font-weight: 800;
  color: #047857;
  background: #ECFDF5;
  border: 1.5px dashed #10B981;
  display: inline-block;
  padding: 0.22rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.banner-city-headline {
  font-family: var(--font-serif);
  font-size: var(--city-headline-size, clamp(1.85rem, 3.6vw, 3.1rem));
  font-weight: 900;
  color: #0B0F19;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.banner-city-inline-edit-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  max-width: 100%;
  min-width: 0;
  flex-shrink: 1;
}

.banner-city-highlight {
  color: #CE1126;
  text-decoration: underline;
  text-decoration-color: #007A3D;
  text-decoration-thickness: 5px;
  text-underline-offset: 6px;
}

input.banner-city-inline-input {
  font-family: var(--font-serif);
  font-size: inherit;
  font-weight: 900;
  color: #CE1126;
  background: rgba(254, 242, 242, 0.75);
  border: 2.5px dashed #007A3D;
  border-radius: 12px;
  padding: 0.02em 0.28em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: #007A3D;
  text-decoration-thickness: 4px;
  text-underline-offset: 5px;
  width: 10.5ch;
  min-width: 4ch;
  max-width: 100%;
  box-sizing: border-box;
  cursor: text;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

input.banner-city-inline-input::placeholder {
  color: rgba(206, 17, 38, 0.48);
}

input.banner-city-inline-input:hover {
  background: #FFF1F2;
  border-color: #CE1126;
  box-shadow: 0 4px 14px rgba(206, 17, 38, 0.15);
}

input.banner-city-inline-input:focus {
  outline: none;
  background: #FFFFFF;
  border: 3px solid #CE1126;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.28);
  text-decoration: none;
}

.banner-city-edit-badge {
  background: #064E3B;
  color: #FFFFFF;
  border: 1.5px solid #10B981;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.24rem 0.6rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  box-shadow: 0 3px 8px rgba(6, 78, 59, 0.22);
}

.banner-city-edit-badge:hover {
  background: #CE1126;
  border-color: #CE1126;
  transform: translateY(-1px);
}

input.banner-footer-city-inline-input {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 900;
  color: #CE1126;
  background: #FFF1F2;
  border: 1.5px dashed #007A3D;
  border-radius: 6px;
  padding: 0.08rem 0.4rem;
  text-align: center;
  text-transform: uppercase;
  width: 11ch;
  min-width: 6ch;
  cursor: text;
}

input.banner-footer-city-inline-input:focus {
  outline: none;
  background: #FFFFFF;
  border-style: solid;
  border-color: #CE1126;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.banner-city-subheadline {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1E293B;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.45;
}

.banner-center-qr-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1.75rem 1rem;
  margin: 0.25rem 0;
}

.printable-city-banner.paper-letter-portrait .banner-center-qr-stage,
.printable-city-banner.paper-a4-portrait .banner-center-qr-stage {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem 1rem;
}

.printable-city-banner.paper-letter-portrait .banner-side-callout,
.printable-city-banner.paper-a4-portrait .banner-side-callout {
  display: flex;
  padding: 0.85rem 0.7rem;
}

.printable-city-banner.paper-letter-portrait .palestine-flag-qr-centerpiece,
.printable-city-banner.paper-a4-portrait .palestine-flag-qr-centerpiece {
  min-width: 0;
  padding: 0;
}

.banner-side-callout {
  background: #F0FDF4;
  border: 2px dashed #007A3D;
  border-radius: 18px;
  padding: 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.callout-badge-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #007A3D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 4px 10px rgba(0, 122, 61, 0.15);
}

.callout-title {
  font-size: 0.86rem;
  font-weight: 900;
  color: #064E3B;
  letter-spacing: 0.04em;
}

.callout-desc {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.35;
}

.callout-arrow-right,
.callout-arrow-left {
  font-size: 2rem;
  font-weight: 900;
  color: #CE1126;
  line-height: 1;
  margin-top: 0.15rem;
}

.palestine-flag-qr-centerpiece {
  position: relative;
  padding: 0 !important;
  border-radius: 20px;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  min-width: 0;
}

.palestine-flag-backdrop {
  display: none !important;
}

.pf-band {
  flex: 1;
  width: 100%;
}

.pf-band-black {
  background: #0B0F19;
}

.pf-band-white {
  background: #FFFFFF;
}

.pf-band-green {
  background: #007A3D;
}

.pf-red-triangle-svg {
  display: none !important;
}

.banner-qr-white-vault {
  position: relative;
  z-index: 5;
  background: #FFFFFF;
  border: 2.5px solid #047857 !important;
  outline: none !important;
  border-radius: 20px;
  padding: 0.9rem 1.15rem 0.85rem;
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner-qr-scan-tag {
  background: #CE1126;
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  padding: 0.24rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
  white-space: nowrap;
}

#bannerQrCanvas {
  width: 268px;
  height: 268px;
  display: block;
}

.banner-qr-bottom-tag {
  margin-top: 0.45rem;
  font-size: 0.68rem;
  font-weight: 900;
  color: #064E3B;
  letter-spacing: 0.05em;
}

.banner-footer-zone {
  padding: 0.65rem 1.5rem 0.2rem;
  border-top: 2px solid #A7F3D0;
  margin: 0 1.5rem;
}

.banner-url-giant {
  font-family: var(--font-sans);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 900;
  color: #007A3D;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.banner-footer-meta {
  margin-top: 0.3rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.palestine-flag-mini-frame {
  border: 2px solid #047857 !important;
  box-shadow: none !important;
  outline: none !important;
}

.tier5-prestige-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #064E3B 0%, #0B0F19 100%) !important;
  border: 1.5px solid #10B981 !important;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.25);
}

.tier5-gold-star {
  background: #D97706;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.4);
}

.banner-tier5-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
  margin: 0.85rem auto 0.2rem;
  max-width: 860px;
  text-align: left;
}

.tier5-trust-pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid #A7F3D0;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.05);
  transition: transform 0.15s ease;
}

.tier5-trust-pill.fee-zero {
  border-color: #10B981;
  background: linear-gradient(135deg, #ECFDF5 0%, #FFFFFF 100%);
}

.tier5-trust-pill.direct-mission {
  border-color: #6EE7B7;
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 100%);
}

.trust-pill-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.trust-pill-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.trust-pill-text strong {
  font-size: 0.78rem;
  font-weight: 900;
  color: #064E3B;
  letter-spacing: 0.04em;
}

.trust-pill-text span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
}

.banner-tier5-channels-strip {
  margin: 0.35rem 1.5rem 0.75rem;
  padding: 0.75rem 1.1rem;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
}

.banner-social-handles-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #0F172A;
}

.banner-channel-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  font-weight: 700;
}

.banner-channel-item strong {
  color: #065F46;
}

.banner-channel-dot {
  color: #94A3B8;
  font-weight: 900;
}

.banner-business-callout-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  background: #FFFFFF;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid #10B981;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
  font-size: 0.78rem;
}

.biz-pill-badge {
  background: #064E3B;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.biz-pill-text {
  color: #1E293B;
  font-weight: 700;
}

.biz-email-link {
  color: #059669;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.biz-view-tiers-btn {
  background: #047857;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.biz-view-tiers-btn:hover {
  background: #065F46;
  transform: translateY(-1px);
}

.business-partners-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #ECFDF5 50%, #F0FDF4 100%);
  border-top: 2px solid rgba(16, 185, 129, 0.25);
  border-bottom: 2px solid rgba(16, 185, 129, 0.25);
  position: relative;
}

.biz-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.biz-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  color: #064E3B;
  line-height: 1.2;
  margin: 0.5rem 0 0.85rem;
}

.biz-subheading {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}

.biz-creator-spotlight-card {
  background: #FFFFFF;
  border: 2px solid #6EE7B7;
  border-radius: 20px;
  padding: 1.75rem 2rem;
  margin-bottom: 2.75rem;
  box-shadow: 0 10px 30px rgba(6, 78, 59, 0.08);
}

.creator-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.creator-count-badge {
  background: #064E3B;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.creator-status-badge {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #10B981;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.creator-details-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 860px) {
  .creator-details-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.creator-info-block h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.5rem;
}

.creator-info-block p {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.creator-metrics-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.metric-mini-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.85rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-num {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 900;
  color: #059669;
}

.metric-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  line-height: 1.25;
}

.biz-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.85rem;
  margin-bottom: 3.5rem;
  align-items: stretch;
}

.biz-tier-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 22px;
  padding: 2.25rem 1.85rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.biz-tier-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(6, 78, 59, 0.14);
}

.biz-tier-card.featured-tier {
  border: 3px solid #10B981;
  box-shadow: 0 18px 45px rgba(16, 185, 129, 0.18);
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
}

.biz-tier-card.vip-tier {
  border: 3px solid #D97706;
  box-shadow: 0 18px 45px rgba(217, 119, 6, 0.18);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBEB 100%);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.vip-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.tier-card-header {
  margin-bottom: 1.4rem;
}

.tier-pill {
  display: inline-block;
  background: #E2E8F0;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.tier-pill-gold {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #10B981;
}

.tier-pill-vip {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #F59E0B;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.tier-currency {
  font-size: 1.8rem;
  font-weight: 800;
  color: #064E3B;
}

.tier-amount {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1;
}

.tier-period {
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748B;
  margin-left: 0.3rem;
}

.tier-video-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #F1F5F9;
  color: #0F172A;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  margin-bottom: 0.95rem;
}

.tier2-highlight {
  background: #ECFDF5;
  color: #065F46;
  border-color: #6EE7B7;
}

.tier3-highlight {
  background: #FFFBEB;
  color: #92400E;
  border-color: #FCD34D;
}

.tier-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.tier-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-top: 1.5px solid #E2E8F0;
  padding-top: 1.35rem;
}

.tier-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.45;
}

.tier-features-list .check-icon {
  color: #059669;
  font-weight: 900;
  font-size: 1.05rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.tier-card-cta {
  margin-top: auto;
}

.btn-select-tier {
  width: 100%;
  padding: 0.88rem 1.2rem;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-tier-1 {
  background: #0F172A;
  color: #FFFFFF;
}

.btn-tier-1:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.btn-tier-2 {
  background: #059669;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.32);
}

.btn-tier-2:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.42);
}

.btn-tier-3 {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.btn-tier-3:hover {
  background: linear-gradient(135deg, #B45309 0%, #92400E 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.45);
}

.biz-application-box {
  background: #FFFFFF;
  border: 2px solid #A7F3D0;
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 16px 45px rgba(6, 78, 59, 0.08);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .biz-application-box {
    padding: 1.8rem 1.4rem;
  }
}

.app-box-header {
  text-align: center;
  margin-bottom: 2rem;
}

.app-box-header h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: #064E3B;
  margin: 0 0 0.5rem;
}

.app-box-header p {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.partner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .partner-form-grid {
    grid-template-columns: 1fr;
  }
}

.partner-form-grid .full-width {
  grid-column: 1 / -1;
}

.partner-form-grid label {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 0.4rem;
}

.partner-form-grid input,
.partner-form-grid select,
.partner-form-grid textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: #0F172A;
  background: #F8FAFC;
  box-sizing: border-box;
  transition: all 0.18s ease;
}

.partner-form-grid input:focus,
.partner-form-grid select:focus,
.partner-form-grid textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.btn-submit-partnership {
  flex: 1;
  min-width: 260px;
  background: #059669;
  color: #FFFFFF;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.3);
}

.btn-submit-partnership:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.4);
}

.btn-copy-email-direct {
  background: #F1F5F9;
  color: #0F172A;
  border: 1.5px solid #CBD5E1;
  padding: 0.95rem 1.4rem;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-copy-email-direct:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
}

.partner-success-msg {
  background: #ECFDF5;
  border: 2px solid #10B981;
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
  animation: fadeInToast 0.3s ease;
}

.partner-success-msg.hidden {
  display: none;
}

.partner-success-msg .success-icon {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.partner-success-msg h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #064E3B;
  margin: 0 0 0.4rem;
}

.partner-success-msg p {
  font-size: 0.92rem;
  color: #065F46;
  line-height: 1.5;
  margin: 0;
}

.qr-hub-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #ECFDF5 55%, #FFF1F2 100%);
  border: 2.5px solid #6EE7B7;
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.qr-hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: var(--watermelon-gradient);
}

.qr-hub-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--rind-dark);
  margin: 0.4rem 0 0.85rem;
  line-height: 1.2;
}

.qr-hub-desc {
  font-size: 0.98rem;
  color: var(--ink-700);
  margin-bottom: 1.5rem;
}

.qr-customizer-box {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid #A7F3D0;
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.qr-url-input-row {
  display: flex;
  gap: 0.5rem;
}

.qr-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.qr-preview-column {
  display: flex;
  justify-content: center;
}

.qr-poster-card {
  background: #FFFFFF;
  border: 3px solid #10B981;
  border-radius: 26px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  max-width: 350px;
  width: 100%;
  box-shadow: 0 20px 45px -12px rgba(6, 78, 59, 0.22);
  position: relative;
  overflow: hidden;
}

.qr-poster-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--watermelon-gradient);
}

.qr-poster-badge {
  display: inline-block;
  background: #ECFDF5;
  color: var(--rind-deep);
  border: 1px solid #6EE7B7;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
}

.qr-poster-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--rind-dark);
  margin-bottom: 0.3rem;
}

.qr-poster-sub {
  font-size: 0.8rem;
  color: var(--ink-700);
  margin-bottom: 1.1rem;
}

.palestine-flag-poster-badge {
  width: 58px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  border: 2px solid #10B981;
  background: #FFFFFF;
  flex-shrink: 0;
  display: block;
}

.palestine-flag-icon {
  display: inline-block;
  vertical-align: -2px;
  width: 1.25em;
  height: 0.83em;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  margin-right: 0.28rem;
}

.qr-canvas-frame {
  background: #FFFFFF;
  border: 2.5px solid #10B981;
  border-radius: 18px;
  padding: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

#qrCanvas {
  width: 220px;
  height: 220px;
  display: block;
}

.qr-poster-footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.qr-poster-url {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--melon-crimson);
  word-break: break-all;
}

.qr-poster-partner {
  font-size: 0.75rem;
  color: var(--emerald-hope);
}

.site-footer {
  background: linear-gradient(180deg, #064E3B 0%, #022C22 100%);
  color: #D1FAE5;
  padding: 3.25rem 0 2rem;
  margin-top: 2rem;
  border-top: 5px solid #E11D48;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(167, 243, 208, 0.2);
}

.site-footer .brand-name {
  color: #064E3B;
}

.footer-mission {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #374151;
  max-width: 380px;
}

.footer-links-col h4,
.footer-admin-col h4 {
  color: #064E3B;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links-col a {
  color: #A7F3D0;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.footer-links-col a:hover {
  color: #FDA4AF;
}

.footer-admin-col p {
  font-size: 0.86rem;
  color: #A7F3D0;
  margin-bottom: 0.85rem;
}

.btn-small-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(167, 243, 208, 0.35);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-small-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.footer-bottom {
  padding-top: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #6EE7B7;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-header-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #1F2937;
  transition: all 0.18s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.btn-header-social svg {
  width: 13px;
  height: 13px;
}

.btn-header-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-header-social.ig:hover {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
  color: #FFFFFF;
  border-color: transparent;
}

.btn-header-social.tiktok:hover {
  background: #000000;
  color: #10B981;
  border-color: #10B981;
}

.btn-header-social.fb:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: transparent;
}

.btn-header-social.x:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.btn-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.45rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-social-pill.ig {
  background: rgba(221, 42, 123, 0.18);
  color: #FFFFFF;
  border-color: rgba(221, 42, 123, 0.5);
}

.btn-social-pill.ig:hover {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(221, 42, 123, 0.4);
}

.btn-social-pill.tiktok {
  background: rgba(0, 0, 0, 0.35);
  color: #FFFFFF;
  border-color: rgba(37, 244, 238, 0.4);
}

.btn-social-pill.tiktok:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #10B981;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-social-pill.fb {
  background: rgba(24, 119, 242, 0.22);
  color: #FFFFFF;
  border-color: rgba(24, 119, 242, 0.5);
}

.btn-social-pill.fb:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.btn-social-pill.x {
  background: rgba(0, 0, 0, 0.45);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-social-pill.x:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100050 !important;
  background: rgba(3, 18, 12, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}

#adminLoginModal {
  z-index: 100055 !important;
}

#adminStudioModal {
  z-index: 100060 !important;
}

#randomMatchWelcomeModal,
#familyStoryCardModal,
#languageSelectModal {
  z-index: 100075 !important;
}

#memberEditorModal,
#orgEditorModal {
  z-index: 100080 !important;
}

#photoCropperModal,
#confirmModal,
#goalHistoryModal,
#recordGoalModal {
  z-index: 100092 !important;
}

#lightboxModal {
  z-index: 100095 !important;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid #6EE7B7;
  box-shadow: 0 25px 60px -15px rgba(6, 78, 59, 0.4);
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-small { max-width: 480px; }
.modal-large { max-width: 820px; }
.modal-xl { max-width: 1080px; }

.modal-header {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid #A7F3D0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ECFDF5;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--rind-dark);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--ink-500);
  cursor: pointer;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-helper-text {
  font-size: 0.9rem;
  color: var(--ink-700);
  margin-bottom: 1.1rem;
}

.modal-footer {
  padding-top: 1.15rem;
  margin-top: 1rem;
  border-top: 1px solid #A7F3D0;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--rind-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.68rem 0.9rem;
  border: 1.5px solid #A7F3D0;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink-900);
  background: #FFFFFF;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald-hope);
  box-shadow: var(--shadow-glow);
}

.input-hint {
  font-size: 0.76rem;
  color: var(--ink-500);
}

.error-text {
  color: #DC2626;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.editor-section-box {
  background: #F0FDF4;
  border: 1.5px solid #A7F3D0;
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1.15rem;
}

.editor-section-header {
  margin-bottom: 0.85rem;
}

.editor-section-header h4 {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--rind-dark);
}

.editor-section-header p {
  font-size: 0.8rem;
  color: var(--ink-700);
}

.photos-editor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.photo-slot-editor {
  background: #FFFFFF;
  border: 1px solid #A7F3D0;
  border-radius: 12px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.photo-slot-preview-wrap {
  position: relative;
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  background: #ECFDF5;
}

.photo-slot-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot-num {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(6, 78, 59, 0.8);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
}

.btn-upload-photo {
  display: block;
  text-align: center;
  background: #D1FAE5;
  color: var(--rind-dark);
  border: 1px dashed #059669;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.btn-upload-photo:hover {
  background: #A7F3D0;
}

.photo-slot-editor input[type="text"] {
  padding: 0.4rem 0.55rem;
  font-size: 0.76rem;
  border: 1px solid #A7F3D0;
  border-radius: 6px;
}

.admin-studio-header {
  padding: 1.2rem 1.5rem;
  background: linear-gradient(90deg, #064E3B 0%, #047857 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-badge-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A7F3D0;
}

.admin-studio-header h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
}

.admin-studio-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-studio-header .modal-close-btn {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.admin-studio-header .modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: rgba(239, 68, 68, 1);
  color: #FFFFFF;
  transform: scale(1.08);
}

.admin-studio-header .modal-close-btn:active {
  transform: scale(0.95);
  background: rgba(220, 38, 38, 1);
}

.admin-tabs-bar {
  display: flex;
  background: #ECFDF5;
  border-bottom: 1px solid #A7F3D0;
  padding: 0 1rem;
  overflow-x: auto;
}

.admin-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.9rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--ink-700);
  cursor: pointer;
  white-space: nowrap;
}

.admin-tab-btn.active {
  color: var(--rind-dark);
  border-bottom-color: var(--melon-red);
  background: #FFFFFF;
}

.admin-studio-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.admin-pane-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-pane-sub {
  font-size: 0.86rem;
  color: var(--ink-700);
}

.admin-order-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.admin-order-item {
  background: #F0FDF4;
  border: 1.5px solid #A7F3D0;
  border-radius: 14px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-order-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.order-index-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #D1FAE5;
  color: var(--rind-dark);
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-item-thumbs {
  display: flex;
  gap: 0.25rem;
}

.admin-item-thumbs img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #6EE7B7;
}

.admin-item-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--rind-dark);
}

.admin-item-info p {
  font-size: 0.78rem;
  color: var(--ink-700);
}

.admin-order-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.hosting-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1rem 0 1.5rem;
}

.hosting-info-card {
  background: #F0FDF4;
  border: 1.5px solid #A7F3D0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.hosting-step-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #D1FAE5;
  color: var(--rind-dark);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.45rem;
}

.hosting-info-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.hosting-info-card p {
  font-size: 0.83rem;
  color: var(--ink-700);
  margin-bottom: 0.9rem;
}

.hosting-btn-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.file-upload-label {
  cursor: pointer;
}

.reset-zone {
  padding-top: 1rem;
  border-top: 1px solid #A7F3D0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.passcode-change-row {
  display: flex;
  gap: 0.5rem;
}

.passcode-change-row input {
  padding: 0.45rem 0.75rem;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
}

.admin-studio-card .btn-small-ghost {
  color: var(--rind-dark);
  border-color: #6EE7B7;
  background: #FFFFFF;
}

.lightbox-container {
  position: relative;
  max-width: 920px;
  width: 100%;
  background: #022C22;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: #FFFFFF;
  border: 2px solid #10B981;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
}

.lightbox-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.lightbox-image-wrap {
  flex: 1;
  text-align: center;
}

#lightboxImg {
  max-width: 100%;
  max-height: 68vh;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-caption-bar {
  margin-top: 0.75rem;
}

.lightbox-counter {
  font-size: 0.75rem;
  font-weight: 800;
  color: #6EE7B7;
  text-transform: uppercase;
}

.lightbox-caption {
  font-size: 0.95rem;
  color: #ECFDF5;
  margin-top: 2px;
}

.lightbox-nav {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-nav:hover {
  background: rgba(16, 185, 129, 0.45);
}

.lightbox-thumbs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.lightbox-thumb {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
}

.lightbox-thumb.active {
  border-color: #10B981;
  opacity: 1;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100080 !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: #064E3B;
  color: #FFFFFF;
  border-left: 5px solid #E11D48;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(6, 78, 59, 0.35);
  animation: toastIn 0.25s ease;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .welcome-compact-grid {
    grid-template-columns: 1fr;
  }
  .banner-center-qr-stage {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .palestine-flag-qr-centerpiece {
    min-width: 0;
    width: 100%;
    max-width: 440px;
    padding: 1.15rem 1.25rem;
  }
  .qr-hub-card {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .hosting-cards-grid {
    grid-template-columns: 1fr;
  }
  .photos-editor-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  .friendly-welcome-hero-box {
    padding: 1.35rem 1.1rem;
  }
  .city-banner-studio-card {
    padding: 1.2rem 1rem;
  }
  .mission-card {
    padding: 1.2rem;
  }
  .metric-divider {
    display: none;
  }
  .hotdog-tabs-grid {
    grid-template-columns: 1fr;
  }
}

#welcome,
#missionSection,
#familiesOfTheWeekSection,
#directoryStart,
#families,
#qr-hub,
#faq,
#newsletter {
  scroll-margin-top: 112px;
}

#organizations {
  scroll-margin-top: 76px !important;
}

.faq-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 55%, #FFF1F2 100%);
  border-top: 3px solid #10B981;
}

.faq-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 2rem;
  background: #FFFFFF;
  border: 2px solid #A7F3D0;
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.15rem;
  box-shadow: var(--shadow-soft);
}

.faq-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.faq-cat-pill {
  border: 1.5px solid #A7F3D0;
  background: #ECFDF5;
  color: #065F46;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.faq-cat-pill:hover {
  border-color: #10B981;
  background: #D1FAE5;
}

.faq-cat-pill.active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border-color: #047857;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.faq-category-group {
  margin-bottom: 2.25rem;
}

.faq-category-group:last-child {
  margin-bottom: 0;
}

.faq-category-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--rind-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid #A7F3D0;
}

.faq-category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ECFDF5;
  border: 1.5px solid #34D399;
  color: #065F46;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: start;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: #FFFFFF;
  border: 2px solid #A7F3D0;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px -8px rgba(6, 78, 59, 0.12);
  overflow: hidden;
  transition: all 0.2s ease;
  position: relative;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: var(--watermelon-gradient);
}

.faq-item:hover {
  border-color: #10B981;
  box-shadow: 0 12px 26px -8px rgba(6, 78, 59, 0.2);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1.15rem 1.25rem 1.15rem 1.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--rind-dark);
  line-height: 1.35;
}

.faq-toggle-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ECFDF5;
  border: 1.5px solid #6EE7B7;
  color: #047857;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
  background: #059669;
  color: #FFFFFF;
  border-color: #047857;
}

.faq-answer {
  display: none;
  padding: 0 1.35rem 1.25rem 1.45rem;
  color: var(--ink-700);
  font-size: 0.94rem;
  line-height: 1.68;
  border-top: 1px dashed rgba(16, 185, 129, 0.28);
}

.faq-item.open .faq-answer {
  display: block;
  padding-top: 0.95rem;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-bullet-list {
  margin: 0.65rem 0 0.25rem 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-bullet-list li {
  line-height: 1.6;
}

.faq-bullet-list strong {
  color: var(--rind-dark);
}

.newsletter-section {
  padding: 3.75rem 0 4.25rem;
  background: linear-gradient(135deg, #064E3B 0%, #042F24 55%, #4C0519 100%);
  border-top: 3px solid #34D399;
  border-bottom: 3px solid #E11D48;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.newsletter-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink-900);
  border: 3px solid #34D399;
  border-radius: var(--radius-xl);
  padding: 2.4rem 2.4rem;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.25rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--watermelon-gradient);
}

@media (max-width: 920px) {
  .newsletter-card {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.35rem;
  }
}

.newsletter-coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFF1F2;
  color: #BE123C;
  border: 1.5px solid #FDA4AF;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 700;
  color: var(--rind-dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.newsletter-desc {
  font-size: 0.98rem;
  color: var(--ink-700);
  line-height: 1.65;
  margin-bottom: 1.15rem;
}

.newsletter-perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
}

@media (max-width: 560px) {
  .newsletter-perks-list {
    grid-template-columns: 1fr;
  }
}

.newsletter-perks-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #065F46;
}

.newsletter-form-box {
  background: linear-gradient(180deg, #ECFDF5 0%, #FFF1F2 100%);
  border: 2px solid #6EE7B7;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: inset 0 1px 0 #FFFFFF;
}

.newsletter-form-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rind-dark);
  margin-bottom: 0.25rem;
}

.newsletter-form-sub {
  font-size: 0.83rem;
  color: var(--ink-700);
  margin-bottom: 1rem;
}

.newsletter-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1.5px solid #6EE7B7;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-family: var(--font-sans);
  background: #FFFFFF;
  color: var(--ink-900);
}

.newsletter-input:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.newsletter-interests-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.newsletter-interest-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFFFFF;
  border: 1px solid #A7F3D0;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #065F46;
  cursor: pointer;
}

.newsletter-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 0.88rem 1.4rem;
  font-size: 0.96rem;
}

.newsletter-success-banner {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: #D1FAE5;
  border: 1.5px solid #10B981;
  color: #065F46;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
}

.btn-install-pwa {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border: 1.5px solid #34D399;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.22);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-install-pwa:hover {
  background: linear-gradient(135deg, #047857 0%, #E11D48 100%);
  transform: translateY(-1px);
}

.btn-fair-rotation {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ECFDF5;
  color: #065F46;
  border: 1.5px solid #34D399;
  border-radius: 999px;
  padding: 0.48rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-fair-rotation.active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border-color: #047857;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.24);
}

.btn-fair-rotation:hover {
  transform: translateY(-1px);
}

.urgent-exposure-banner {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFFFFF 48%, #ECFDF5 100%);
  border: 2.5px solid #F43F5E;
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 12px 28px -10px rgba(225, 29, 72, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.urgent-exposure-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #E11D48 0%, #059669 100%);
}

.urgent-exposure-left {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex: 1;
  min-width: 260px;
}

.urgent-exposure-avatar {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid #E11D48;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.urgent-exposure-pill-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.22rem;
}

.urgent-boost-badge {
  background: #FFE4E6;
  color: #BE123C;
  border: 1px solid #FDA4AF;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
}

.urgent-exposure-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.25;
}

.urgent-exposure-sub {
  font-size: 0.82rem;
  color: var(--ink-700);
  margin-top: 0.15rem;
}

.urgent-exposure-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-compact-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  background: #ECFDF5;
  color: #065F46;
  border: 1.5px solid #6EE7B7;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-compact-share:hover {
  background: #059669;
  color: #FFFFFF;
  border-color: #047857;
  transform: translateY(-1px);
}

a.pillar-tag,
a.metric-box {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

a.pillar-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(5, 150, 105, 0.16);
}

a.metric-box:hover {
  transform: translateY(-2px);
}

a.hotdog-platform-tag:hover,
a.hotdog-initiative-title:hover,
a.hotdog-initiative-url:hover {
  opacity: 0.88;
}

a,
button,
input,
select,
textarea,
.hotdog-item,
.hotdog-photo-thumb,
.filter-pill,
.faq-question-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-hero-fast-bar,
.mobile-welcome-fast-bar {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

.lightbox-swipe-hint {
  display: none;
}

@media (max-width: 960px) {
  body {
    padding-bottom: calc(85px + env(safe-area-inset-bottom, 16px));
  }

  .site-header {
    padding: 0.45rem 0 0.35rem;
    height: auto;
  }

  .nav-container {
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
    height: auto !important;
    min-height: 52px;
  }

  .brand-emblem {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .brand-name {
    font-size: 1.22rem;
    font-weight: 800;
  }

  .brand-sub {
    font-size: 0.70rem;
    font-weight: 800;
  }

  .nav-actions {
    margin-left: auto;
    gap: 0.4rem !important;
  }

  .btn-install-pwa,
  .btn-admin-toggle {
    padding: 0.38rem 0.72rem;
    font-size: 0.74rem;
  }

  .main-nav {
    display: flex !important;
    order: 3;
    width: 100%;
    flex-wrap: wrap !important;
    justify-content: center !important;
    overflow-x: visible !important;
    gap: 0.28rem;
    padding: 0.32rem 0 0.14rem;
    border-top: 1px solid rgba(16, 185, 129, 0.18);
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav .nav-link {
    flex-shrink: 0;
    font-size: 0.72rem;
    padding: 0.24rem 0.54rem;
    background: #F0FDF4;
    border: 1px solid #A7F3D0;
    border-radius: 999px;
    white-space: nowrap;
  }

  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 2px solid #10B981;
    box-shadow: 0 -6px 22px rgba(6, 78, 59, 0.14);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 0.35rem 0.35rem max(0.45rem, env(safe-area-inset-bottom, 8px));
    gap: 0.2rem;
  }

  .mobile-nav-item {
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0.32rem 0.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    text-decoration: none;
    color: #064E3B;
    font-weight: 800;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  }

  .mobile-nav-item .mobile-nav-label {
    color: #064E3B;
    font-weight: 800;
  }

  body[data-theme="dark"] .mobile-bottom-nav,
  body.is-dark-mode .mobile-bottom-nav,
  body[data-theme^="dark-"] .mobile-bottom-nav {
    background: rgba(11, 15, 25, 0.98) !important;
    border-top: 2px solid #10B981 !important;
    box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.7) !important;
  }

  body[data-theme="dark"] .mobile-nav-item,
  body.is-dark-mode .mobile-nav-item,
  body[data-theme^="dark-"] .mobile-nav-item {
    color: #F1F5F9 !important;
  }

  body[data-theme="dark"] .mobile-nav-item .mobile-nav-label,
  body.is-dark-mode .mobile-nav-item .mobile-nav-label,
  body[data-theme^="dark-"] .mobile-nav-item .mobile-nav-label {
    color: #E2E8F0 !important;
    font-weight: 700 !important;
  }

  body[data-theme="dark"] .mobile-nav-item.active,
  body.is-dark-mode .mobile-nav-item.active,
  body[data-theme^="dark-"] .mobile-nav-item.active {
    background: rgba(16, 185, 129, 0.24) !important;
    border-color: rgba(52, 211, 153, 0.4) !important;
    color: #34D399 !important;
  }

  body[data-theme="dark"] .mobile-nav-item.active .mobile-nav-label,
  body.is-dark-mode .mobile-nav-item.active .mobile-nav-label,
  body[data-theme^="dark-"] .mobile-nav-item.active .mobile-nav-label {
    color: #34D399 !important;
  }

  .mobile-nav-item:active {
    transform: scale(0.93);
  }

  .mobile-nav-item.active {
    background: #ECFDF5;
    border-color: #6EE7B7;
    color: #047857;
  }

  .mobile-nav-item.active .mobile-nav-label {
    color: #047857;
  }

  .mobile-nav-item.mobile-nav-highlight {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    border-color: #047857 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.28) !important;
  }

  .mobile-nav-item.mobile-nav-highlight .mobile-nav-label {
    color: #FFFFFF !important;
  }

  .mobile-nav-icon {
    font-size: 1.08rem;
    line-height: 1.1;
  }

  .mobile-nav-label {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .toast-container {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    right: 12px;
    left: 12px;
  }

  .toast {
    text-align: center;
    font-size: 0.84rem;
  }
}

@media (max-width: 768px) {
  
  #familySearchInput,
  #jumpToNumberInput,
  #pageSizeSelect,
  #bannerCityInput,
  .newsletter-input,
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }

  .directory-filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .directory-filter-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.42rem;
    padding-bottom: 0.25rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .directory-filter-pills::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex-shrink: 0;
    padding: 0.48rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .directory-search-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.55rem !important;
    margin-bottom: 0.5rem !important;
  }

  .directory-search-input-wrap {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
  }

  #familySearchInput {
    width: 100% !important;
    height: 42px !important;
    font-size: 0.88rem !important;
    padding-left: 2.3rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
  }

  .directory-jump-wrap {
    flex: 0 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.25rem !important;
  }

  .jump-number-input {
    width: 56px !important;
    min-width: 52px !important;
    height: 34px !important;
    font-size: 0.78rem !important;
    padding: 0 0.25rem !important;
    text-align: center !important;
    box-sizing: border-box !important;
    -moz-appearance: textfield !important;
  }

  .jump-number-input::-webkit-outer-spin-button,
  .jump-number-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
  }

  .btn-jump-go {
    height: 34px !important;
    padding: 0 0.58rem !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
  }

  .directory-pagesize-wrap {
    flex: 0 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.25rem !important;
    margin-left: auto !important;
  }

  .pagesize-select {
    height: 34px !important;
    width: auto !important;
    min-width: 102px !important;
    max-width: none !important;
    font-size: 0.74rem !important;
    padding: 0 1.2rem 0 0.45rem !important;
    box-sizing: border-box !important;
  }

  .lightbox-container {
    padding: 0.85rem 0.65rem 1rem;
    border-radius: 18px;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
    flex-shrink: 0;
  }

  .lightbox-swipe-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #6EE7B7;
    opacity: 0.9;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 0.85rem;
  }

  .watermelon-top-strip {
    padding: 0.32rem 0.6rem;
    font-size: 0.72rem;
  }

  .watermelon-strip-text {
    display: none;
  }

  .site-header {
    padding: 0.35rem 0 0.25rem;
    height: auto;
  }

  .nav-container {
    height: auto !important;
    min-height: 48px;
    gap: 0.25rem 0.4rem;
  }

  .brand-logo {
    gap: 0.45rem;
  }

  .brand-emblem {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 1.15rem;
    font-weight: 800;
  }

  .brand-sub {
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    font-weight: 800;
  }

  .nav-actions {
    margin-left: auto;
    gap: 0.3rem !important;
  }

  .btn-header-social {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }

  .btn-header-social svg {
    width: 14px;
    height: 14px;
  }

  .btn-install-pwa,
  .btn-admin-toggle {
    padding: 0.32rem 0.52rem;
    font-size: 0.72rem;
    border-radius: 8px;
  }

  .welcome-section,
  .hero-section {
    padding: 0.85rem 0 0.5rem;
  }

  .friendly-welcome-banner-box,
  .friendly-welcome-hero-box {
    margin-top: 0.35rem;
    padding: 0.95rem 0.9rem;
    border-radius: 18px;
  }

  .welcome-brand-header {
    gap: 0.7rem;
    align-items: center;
  }

  .welcome-logo-img,
  .hero-logo-img {
    width: 74px;
    height: 74px;
    border-radius: 16px;
    padding: 2px;
  }

  .welcome-pill {
    font-size: 0.66rem;
    padding: 0.2rem 0.58rem;
  }

  .welcome-title,
  .hero-title {
    font-size: 1.18rem;
    line-height: 1.22;
  }

  .mobile-hero-fast-bar,
  .mobile-welcome-fast-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    margin-top: 0.65rem;
  }

  .btn-mobile-fast-primary {
    flex: 1 1 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.68rem 1rem;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.25);
  }

  .btn-mobile-fast-random {
    flex: 1 1 calc(48% - 0.25rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    color: #047857;
    border: 1.5px solid #6EE7B7;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.56rem 0.55rem;
    border-radius: 11px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.12);
    box-sizing: border-box;
  }

  .btn-mobile-mission-toggle {
    flex: 1 1 calc(48% - 0.25rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ECFDF5;
    color: #065F46;
    border: 1.5px solid #6EE7B7;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.56rem 0.55rem;
    border-radius: 11px;
    cursor: pointer;
    box-sizing: border-box;
  }

  .friendly-welcome-hero-box .mission-card {
    display: block;
    margin-top: 0.65rem;
    padding: 0.9rem;
  }

  .friendly-welcome-hero-box:not(.mobile-mission-expanded) .welcome-compact-side {
    display: none;
  }

  .families-section {
    padding-top: 0.6rem;
  }

  .random-chooser-banner {
    padding: 0.85rem 0.95rem;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
    border-radius: 16px;
  }

  .random-chooser-icon {
    font-size: 1.65rem;
  }

  .random-chooser-eyebrow {
    font-size: 0.66rem;
  }

  .random-chooser-title {
    font-size: 0.95rem;
  }

  .btn-random-chooser {
    width: 100%;
    justify-content: center;
    padding: 0.68rem 0.95rem;
    font-size: 0.82rem;
  }

  .section-header {
    gap: 0.7rem;
    margin-bottom: 0.85rem;
  }

  .section-title {
    font-size: 1.32rem;
  }

  .section-subtitle {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .section-controls {
    width: 100%;
    gap: 0.4rem;
  }

  #autoSyncLiveBadge {
    display: none !important;
  }

  .btn-fair-rotation,
  .btn-visitor-shuffle,
  #toggleViewModeBtn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.48rem 0.65rem !important;
    font-size: 0.75rem !important;
  }

  .hotdog-bar {
    padding: 0.55rem 0.72rem;
  }

  .hotdog-avatar {
    width: 40px;
    height: 40px;
  }

  .hotdog-name {
    font-size: 0.96rem;
  }

  .hotdog-friendly-sub {
    font-size: 0.72rem;
  }

  .hotdog-hover-preview {
    padding: 0.6rem 0.68rem 0.68rem;
  }

  .hotdog-photos-strip {
    gap: 0.42rem;
  }

  .hotdog-photo-thumb {
    height: 74px;
  }

  .hotdog-photo-thumb:active {
    transform: scale(0.96);
  }

  .hotdog-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    margin-top: 0.48rem;
  }

  .hotdog-quick-actions-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
  }

  .hotdog-quick-actions-row .hotdog-click-prompt,
  .hotdog-quick-actions-row .btn-story-card-trigger,
  .hotdog-quick-actions-row .btn-compact-share {
    min-height: 34px;
    max-height: 34px;
    padding: 0.36rem 0.25rem;
    font-size: 0.72rem;
    border-radius: 8px;
  }

  .btn-compact-donate-full,
  .hotdog-quick-actions .btn-compact-donate-full {
    min-height: 40px;
    font-size: 0.84rem;
    border-radius: 10px;
  }

  .hotdog-item.expanded .hotdog-photos-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }

  .hotdog-item.expanded .hotdog-photo-thumb {
    max-width: none;
    height: auto;
  }

  .hotdog-drawer {
    padding: 0.75rem 0.65rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .hotdog-story-box {
    padding: 0.85rem 0.75rem;
    margin-bottom: 0.75rem;
    border-left-width: 4px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hotdog-story-paragraph {
    font-size: 0.92rem;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hotdog-initiative-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .hotdog-initiative-info {
    flex: 0 0 auto;
    height: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: left;
  }

  .hotdog-initiative-title {
    font-size: 0.92rem;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 0.2rem;
  }

  .hotdog-initiative-url {
    font-size: 0.76rem;
    line-height: 1.35;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hotdog-initiative-url a {
    word-break: break-all;
    overflow-wrap: anywhere;
    display: inline;
    max-width: 100%;
  }

  .hotdog-drawer-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 0.45rem;
    box-sizing: border-box;
    align-items: stretch;
  }

  .hotdog-drawer-actions .btn-story-card-trigger,
  .hotdog-drawer-actions .btn-compact-share,
  .hotdog-drawer-actions .btn-hotdog-donate,
  .hotdog-initiative-bar .btn-hotdog-donate,
  .hotdog-initiative-bar .btn-compact-share,
  .hotdog-initiative-bar .btn-story-card-trigger {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.72rem 0.8rem !important;
    font-size: 0.86rem !important;
    margin: 0 !important;
    white-space: normal !important;
  }
}

.btn-story-card-trigger:not(.hotdog-quick-actions *) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  color: #065F46;
  border: 1.5px solid #6EE7B7;
  border-radius: 999px;
  padding: 0.36rem 0.68rem;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-story-card-trigger:not(.hotdog-quick-actions *):hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border-color: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.24);
}

.story-card-modal-box {
  max-width: 900px;
  border: 2.5px solid #10B981;
}

.story-card-modal-header {
  background: linear-gradient(90deg, #064E3B 0%, #047857 55%, #059669 100%);
  color: #FFFFFF;
  padding: 1rem 1.4rem;
}

.story-card-modal-header h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-top: 0.1rem;
}

.story-card-modal-header .modal-close-btn {
  color: #FFFFFF;
}

.story-card-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #A7F3D0;
}

.story-card-modal-body {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
}

.story-card-preview-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-card-canvas-wrap {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #064E3B;
  box-shadow: 0 18px 38px -10px rgba(6, 78, 59, 0.35);
  background: #064E3B;
}

#familyStoryPosterCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.story-card-controls-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-control-group {
  background: #FFFFFF;
  border: 1.5px solid #A7F3D0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.story-control-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--rind-dark);
  margin-bottom: 0.48rem;
}

.story-family-select-row {
  display: flex;
  gap: 0.5rem;
}

.story-family-select {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid #6EE7B7;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-900);
  background: #F0FDF4;
}

.story-layout-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.story-layout-pill {
  border: 1.5px solid #A7F3D0;
  background: #F0FDF4;
  color: #065F46;
  border-radius: 999px;
  padding: 0.38rem 0.78rem;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.story-layout-pill.active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border-color: #047857;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.25);
}

.story-card-primary-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.btn-story-share-native {
  width: 100%;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 0.82rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(5, 150, 105, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-story-share-native:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -4px rgba(5, 150, 105, 0.45);
}

.btn-story-download-png {
  width: 100%;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 0.76rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px -4px rgba(5, 150, 105, 0.32);
  transition: transform 0.15s ease;
}

.btn-story-download-png:hover {
  transform: translateY(-1px);
}

.btn-story-copy-caption {
  width: 100%;
  background: #ECFDF5;
  color: #065F46;
  border: 1.5px solid #34D399;
  border-radius: 12px;
  padding: 0.68rem 1rem;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.story-caption-preview-box {
  background: #FFFFFF;
  border: 1.5px solid #A7F3D0;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.story-caption-header {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--rind-dark);
  margin-bottom: 0.35rem;
}

#storyCardCaptionTextarea {
  width: 100%;
  border: 1px solid #D1FAE5;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-700);
  background: #F8FAFC;
  resize: vertical;
}

@media (max-width: 768px) {
  #familyStoryCardModal {
    padding: 0.65rem 0.5rem;
    align-items: center;
    justify-content: center;
  }

  .story-card-modal-box {
    width: 100%;
    max-width: 440px;
    max-height: 94vh;
    border-radius: 18px;
    box-shadow: 0 16px 40px -10px rgba(6, 78, 59, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .story-card-modal-header {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
  }

  .story-card-modal-header div {
    min-width: 0;
    flex: 1;
  }

  .story-card-eyebrow {
    font-size: 0.64rem;
    line-height: 1.25;
    margin-bottom: 0.15rem;
    display: block;
    white-space: normal;
    word-break: break-word;
  }

  .story-card-modal-header h3 {
    font-size: 1.05rem;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .story-card-modal-header .modal-close-btn {
    flex-shrink: 0;
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    transition: background 0.15s ease;
  }

  .story-card-modal-header .modal-close-btn:active {
    background: rgba(255, 255, 255, 0.35);
  }

  .story-card-modal-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem;
    gap: 0.85rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    min-height: 0;
  }

  .story-card-preview-col {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 0;
  }

  .story-card-canvas-wrap {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    margin: 0 auto;
    box-shadow: 0 12px 30px -8px rgba(6, 78, 59, 0.35);
    border: 2.5px solid #064E3B;
  }

  #familyStoryPosterCanvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: contain;
  }

  .story-card-controls-col {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .story-control-group {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
  }

  .story-control-label {
    font-size: 0.78rem;
    margin-bottom: 0.35rem;
  }

  .story-family-select-row {
    width: 100%;
    min-width: 0;
    display: flex;
    gap: 0.45rem;
    align-items: center;
  }

  .story-family-select {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    font-size: 0.84rem;
    border-radius: 9px;
  }

  #storyCardRandomFamilyBtn {
    flex-shrink: 0;
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .story-layout-pills {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.4rem;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .story-layout-pills::-webkit-scrollbar {
    display: none;
  }

  .story-layout-pill {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.42rem 0.78rem;
    font-size: 0.76rem;
    border-radius: 999px;
  }

  .story-card-primary-actions {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-story-share-native {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .btn-story-download-png {
    padding: 0.78rem 1rem;
    font-size: 0.86rem;
    border-radius: 12px;
  }

  .btn-story-download-zip {
    padding: 0.72rem 1rem !important;
    font-size: 0.84rem !important;
    border-radius: 12px !important;
  }

  .btn-story-copy-caption {
    padding: 0.68rem 1rem;
    font-size: 0.82rem;
    border-radius: 12px;
  }

  .story-caption-preview-box {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.65rem 0.8rem;
    border-radius: 11px;
  }

  .story-caption-header {
    font-size: 0.74rem;
    margin-bottom: 0.3rem;
  }

  #storyCardCaptionTextarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 0.76rem;
    padding: 0.5rem 0.6rem;
  }
}

@media (max-width: 420px) {
  .story-card-canvas-wrap {
    max-width: 180px;
  }

  .story-card-modal-header h3 {
    font-size: 0.96rem;
  }

  .btn-story-share-native {
    font-size: 0.84rem;
    padding: 0.75rem 0.85rem;
  }
}

@media print {
  @page {
    size: auto;
    margin: 0mm !important;
  }
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  html,
  body {
    background: #FFFFFF !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  body.printing-city-banner > *:not(main),
  body.printing-city-banner main > *:not(#qr-hub),
  body.printing-city-banner #qr-hub > .container > *:not(#printableCityBannerSection),
  body.printing-city-banner #printableCityBannerSection > *:not(.printable-banner-stage-wrap),
  body.printing-city-banner #globalLangTopStrip,
  body.printing-city-banner #organizerPledgeSection,
  body.printing-city-banner .pledge-preview-section,
  body.printing-city-banner .pledge-transparency-section,
  body.printing-city-banner #solidarityWallSection,
  body.printing-city-banner .solidarity-wall-section,
  body.printing-city-banner #leaveSolidarityModal,
  body.printing-city-banner .site-header,
  body.printing-city-banner .watermelon-top-strip,
  body.printing-city-banner .solidarity-live-ticker,
  body.printing-city-banner .low-data-status-banner,
  body.printing-city-banner .admin-live-bar,
  body.printing-city-banner .welcome-section,
  body.printing-city-banner .hero-section,
  body.printing-city-banner .families-section,
  body.printing-city-banner .orgs-section,
  body.printing-city-banner #business-partners,
  body.printing-city-banner .business-partners-section,
  body.printing-city-banner .faq-section,
  body.printing-city-banner .newsletter-section,
  body.printing-city-banner .site-footer,
  body.printing-city-banner .mobile-bottom-nav,
  body.printing-city-banner .mobile-welcome-fast-bar,
  body.printing-city-banner .mobile-hero-fast-bar,
  body.printing-city-banner .no-print,
  body.printing-city-banner .city-banner-controls-panel,
  body.printing-city-banner .city-banner-studio-header,
  body.printing-city-banner .qr-hub-content,
  body.printing-city-banner .qr-poster-column,
  body.printing-city-banner #qrPosterCard,
  body.printing-city-banner .no-print-when-banner-only,
  body.printing-vertical-flyer > *:not(main),
  body.printing-vertical-flyer main > *:not(#qr-hub),
  body.printing-vertical-flyer #globalLangTopStrip,
  body.printing-vertical-flyer #organizerPledgeSection,
  body.printing-vertical-flyer .pledge-preview-section,
  body.printing-vertical-flyer #solidarityWallSection,
  body.printing-vertical-flyer .solidarity-wall-section,
  body.printing-vertical-flyer .site-header,
  body.printing-vertical-flyer .watermelon-top-strip,
  body.printing-vertical-flyer .solidarity-live-ticker,
  body.printing-vertical-flyer .low-data-status-banner,
  body.printing-vertical-flyer .admin-live-bar,
  body.printing-vertical-flyer .welcome-section,
  body.printing-vertical-flyer .hero-section,
  body.printing-vertical-flyer .families-section,
  body.printing-vertical-flyer .orgs-section,
  body.printing-vertical-flyer .pledge-transparency-section,
  body.printing-vertical-flyer .faq-section,
  body.printing-vertical-flyer .newsletter-section,
  body.printing-vertical-flyer .site-footer,
  body.printing-vertical-flyer .mobile-bottom-nav,
  body.printing-vertical-flyer .mobile-welcome-fast-bar,
  body.printing-vertical-flyer .mobile-hero-fast-bar,
  body.printing-vertical-flyer .no-print,
  body.printing-vertical-flyer .city-banner-controls-panel,
  body.printing-vertical-flyer .qr-hub-content,
  body.printing-vertical-flyer #printableCityBannerSection {
    display: none !important;
  }
  html.printing-city-banner,
  body.printing-city-banner {
    background: #FFFFFF !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
  }
  body.printing-city-banner main,
  body.printing-city-banner .qr-section,
  body.printing-city-banner #qr-hub,
  body.printing-city-banner #qr-hub > .container,
  body.printing-city-banner #printableCityBannerSection,
  body.printing-city-banner .printable-banner-stage-wrap,
  body.printing-vertical-flyer main,
  body.printing-vertical-flyer .qr-section {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    display: block !important;
    visibility: visible !important;
    overflow: hidden !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
    page-break-before: avoid !important;
    break-before: avoid !important;
  }
  body.printing-city-banner #printableCityBannerSection,
  body.printing-city-banner #printableCityBanner,
  body.printing-city-banner #printableCityBanner * {
    visibility: visible !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
  }
  body.printing-city-banner .city-banner-studio-card,
  body.printing-city-banner #printableCityBannerSection,
  body.printing-city-banner .printable-banner-stage-wrap {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: stretch !important;
    align-items: stretch !important;
  }
  body.printing-city-banner .city-banner-studio-card::before {
    display: none !important;
  }
  body.printing-city-banner .printable-city-banner,
  body[data-theme].printing-city-banner .printable-city-banner,
  body.printing-city-banner #printableCityBanner,
  body[data-theme].printing-city-banner #printableCityBanner {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #0B0F19 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    margin: 0 auto !important;
    padding: 0 0 0.5rem !important;
    border: 4px solid #064E3B !important;
    border-radius: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    overflow: hidden !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    page-break-before: avoid !important;
    break-before: avoid !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
  }
  
  body.printing-city-banner .printable-city-banner .banner-center-qr-stage,
  body.printing-city-banner .printable-city-banner.paper-letter-portrait .banner-center-qr-stage,
  body.printing-city-banner .printable-city-banner.paper-a4-portrait .banner-center-qr-stage,
  body.printing-city-banner .printable-city-banner.paper-legal-long .banner-center-qr-stage,
  body.printing-city-banner .printable-city-banner.paper-tabloid-long .banner-center-qr-stage,
  body.printing-city-banner .printable-city-banner.paper-panoramic-strip .banner-center-qr-stage {
    display: grid !important;
    grid-template-columns: minmax(125px, 1fr) auto minmax(125px, 1fr) !important;
    align-items: center !important;
    justify-items: stretch !important;
    padding: 0.45rem 1rem !important;
    margin: auto 0 !important;
    gap: 0.75rem !important;
    flex: 1 1 auto !important;
  }
  body.printing-city-banner .printable-city-banner .banner-side-callout,
  body.printing-city-banner .printable-city-banner.paper-letter-portrait .banner-side-callout {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    width: auto !important;
    max-width: none !important;
    padding: 0.85rem 0.65rem !important;
    border-radius: 16px !important;
    background: #F0FDF4 !important;
    border: 2px solid #007A3D !important;
    color: #064E3B !important;
  }
  body.printing-city-banner .banner-flag-top-bar {
    height: 18px !important;
    flex-shrink: 0 !important;
  }
  body.printing-city-banner .banner-header-zone {
    padding: 0.65rem 1.15rem 0.4rem !important;
    background: #FFFFFF !important;
    background-image: none !important;
    color: #0B0F19 !important;
    flex-shrink: 0 !important;
  }
  body.printing-city-banner .banner-solidarity-pill {
    font-size: 0.72rem !important;
    padding: 0.24rem 0.85rem !important;
    margin-bottom: 0.35rem !important;
    background: #064E3B !important;
    border: 1.5px solid #007A3D !important;
    color: #FFFFFF !important;
  }
  body.printing-city-banner .banner-city-headline,
  body.printing-city-banner .banner-city-headline * {
    font-size: var(--city-headline-size-print, 2.05rem) !important;
    line-height: 1.14 !important;
    margin-bottom: 0.3rem !important;
    max-width: 100% !important;
    color: #0B0F19 !important;
    -webkit-text-fill-color: #0B0F19 !important;
  }
  body.printing-city-banner .banner-city-subheadline {
    font-size: 0.88rem !important;
    line-height: 1.32 !important;
    max-width: 95% !important;
    color: #1E293B !important;
    margin-bottom: 0.35rem !important;
  }
  body.printing-city-banner .callout-badge-circle {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.2rem !important;
    display: flex !important;
  }
  body.printing-city-banner .callout-title {
    font-size: 0.82rem !important;
    color: #064E3B !important;
  }
  body.printing-city-banner .callout-desc {
    font-size: 0.74rem !important;
    line-height: 1.28 !important;
    color: #334155 !important;
  }
  body.printing-city-banner .callout-arrow-right,
  body.printing-city-banner .callout-arrow-left {
    font-size: 1.65rem !important;
    margin-top: 0.1rem !important;
    color: #007A3D !important;
  }
  body.printing-city-banner .palestine-flag-qr-centerpiece {
    padding: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  body.printing-city-banner .palestine-flag-backdrop {
    display: none !important;
  }
  body.printing-city-banner .banner-qr-white-vault {
    padding: 0.75rem 0.95rem 0.7rem !important;
    border: 2.5px solid #047857 !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 18px !important;
    background: #FFFFFF !important;
  }
  body.printing-city-banner .banner-qr-scan-tag {
    font-size: 0.72rem !important;
    padding: 0.2rem 0.75rem !important;
    margin-bottom: 0.35rem !important;
    background: #0B0F19 !important;
    color: #FFFFFF !important;
  }
  body.printing-city-banner #bannerQrCanvas {
    width: 245px !important;
    height: 245px !important;
    background: #FFFFFF !important;
  }
  body.printing-city-banner .banner-qr-bottom-tag {
    font-size: 0.66rem !important;
    padding: 0.16rem 0.6rem !important;
    border-radius: 999px !important;
    margin-top: 0.32rem !important;
    background: #047857 !important;
    color: #FFFFFF !important;
  }
  body.printing-city-banner .banner-footer-zone {
    padding: 0.45rem 1rem 0.15rem !important;
    margin: 0 1rem !important;
    background: #FFFFFF !important;
    border-top: 2px solid #A7F3D0 !important;
    flex-shrink: 0 !important;
  }
  body.printing-city-banner .banner-url-giant,
  body.printing-city-banner .banner-url-giant a {
    font-size: 1.95rem !important;
    line-height: 1.08 !important;
    color: #007A3D !important;
  }
  body.printing-city-banner .banner-footer-meta,
  body.printing-city-banner .banner-footer-meta * {
    font-size: 0.8rem !important;
    margin-top: 0.22rem !important;
    color: #1E293B !important;
  }

  body.printing-city-banner .printable-city-banner.paper-legal-long #bannerQrCanvas {
    width: 300px !important;
    height: 300px !important;
  }
  body.printing-city-banner .printable-city-banner.paper-legal-long .palestine-flag-qr-centerpiece {
    padding: 0 !important;
  }
  body.printing-city-banner .printable-city-banner.paper-tabloid-long #bannerQrCanvas {
    width: 380px !important;
    height: 380px !important;
  }
  body.printing-city-banner .printable-city-banner.paper-tabloid-long .palestine-flag-qr-centerpiece {
    padding: 0 !important;
  }
  body.printing-city-banner .printable-city-banner.paper-panoramic-strip #bannerQrCanvas {
    width: 360px !important;
    height: 360px !important;
  }
  body.printing-city-banner .printable-city-banner.paper-panoramic-strip .palestine-flag-qr-centerpiece {
    padding: 0 !important;
  }

  input.banner-city-inline-input,
  input.banner-footer-city-inline-input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  body.printing-city-banner .qr-hub-card,
  body.printing-vertical-flyer .qr-hub-card {
    border: none !important;
    box-shadow: none !important;
    grid-template-columns: 1fr !important;
    padding: 0 !important;
  }

  body.printing-city-banner .printable-city-banner {
    page-break-after: avoid !important;
    break-after: avoid !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    box-sizing: border-box !important;
  }

  body.printing-city-banner input.banner-city-inline-input,
  body.printing-city-banner input.banner-footer-city-inline-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #CE1126 !important;
    font-weight: 900 !important;
    font-family: inherit !important;
    text-decoration: underline !important;
    text-decoration-color: #007A3D !important;
    text-decoration-thickness: 3px !important;
    text-underline-offset: 4px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    text-align: center !important;
    display: inline-block !important;
    -webkit-text-fill-color: #CE1126 !important;
  }
  body.printing-city-banner input.banner-footer-city-inline-input {
    color: #0B0F19 !important;
    -webkit-text-fill-color: #0B0F19 !important;
    font-size: inherit !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    border-bottom: 1.5px solid #007A3D !important;
  }
  body.printing-city-banner .banner-inline-edit-hint,
  body.printing-city-banner .banner-city-edit-badge,
  body.printing-city-banner .no-print {
    display: none !important;
  }

  body.printing-city-banner .banner-tier5-trust-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem !important;
    margin: 0.35rem auto 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  body.printing-city-banner .tier5-trust-pill {
    padding: 0.42rem 0.65rem !important;
    border: 1.5px solid #10B981 !important;
    border-radius: 12px !important;
    background: #F0FDF4 !important;
  }
  body.printing-city-banner .tier5-trust-pill .trust-pill-icon {
    font-size: 1.15rem !important;
  }
  body.printing-city-banner .tier5-trust-pill strong {
    font-size: 0.72rem !important;
  }
  body.printing-city-banner .tier5-trust-pill span {
    font-size: 0.64rem !important;
    line-height: 1.25 !important;
  }
  body.printing-city-banner .banner-tier5-channels-strip {
    margin: 0.35rem 1rem !important;
    padding: 0.5rem 0.75rem !important;
    gap: 0.4rem !important;
    background: #F8FAFC !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
  }
  body.printing-city-banner .banner-social-handles-row {
    font-size: 0.76rem !important;
    gap: 0.6rem !important;
  }
  body.printing-city-banner .banner-channel-item {
    padding: 0.16rem 0.5rem !important;
    font-size: 0.74rem !important;
  }
  body.printing-city-banner .banner-business-callout-pill {
    font-size: 0.74rem !important;
    padding: 0.24rem 0.75rem !important;
  }

  @media (max-width: 768px), (max-device-width: 768px) {
    body.printing-city-banner .printable-city-banner {
      width: 100% !important;
      max-width: 100% !important;
      max-height: 96vh !important;
      padding: 0 0 0.2rem !important;
    }
    body.printing-city-banner .printable-city-banner:not(.paper-letter-portrait) .banner-center-qr-stage {
      display: grid !important;
      grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr) !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 0.45rem !important;
      padding: 0.2rem 0.5rem !important;
    }
    body.printing-city-banner .printable-city-banner:not(.paper-letter-portrait) .banner-side-callout {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
      padding: 0.35rem 0.45rem !important;
    }
    body.printing-city-banner .palestine-flag-qr-centerpiece {
      min-width: 0 !important;
      width: auto !important;
      max-width: 90% !important;
      margin: 0 auto !important;
      padding: 0.35rem 0.8rem !important;
    }
    body.printing-city-banner #bannerQrCanvas {
      width: 150px !important;
      height: 150px !important;
    }
  }
}

.launch-countdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #03120C;
  background-image: radial-gradient(circle at 50% 12%, rgba(16, 185, 129, 0.28) 0%, transparent 65%),
                    radial-gradient(circle at 85% 85%, rgba(225, 29, 72, 0.18) 0%, transparent 60%);
  color: #FFFFFF;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  box-sizing: border-box;
  animation: countdownFadeIn 0.35s ease-out;
}

@keyframes countdownFadeIn {
  from { opacity: 0; transform: scale(0.99); }
  to { opacity: 1; transform: scale(1); }
}

.countdown-watermelon-strip {
  width: 100%;
  background: linear-gradient(90deg, #064E3B 0%, #059669 35%, #BE123C 75%, #064E3B 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1.5px solid rgba(110, 231, 183, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.countdown-stage-container,
.countdown-hero-container {
  width: 100%;
  max-width: 860px;
  padding: 2.2rem 1.25rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.countdown-brand-emblem {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #10B981;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35), 0 0 20px rgba(6, 78, 59, 0.6);
  background: #ECFDF5;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.countdown-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1.5px solid rgba(52, 211, 153, 0.5);
  color: #6EE7B7;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.countdown-headline {
  font-family: var(--font-serif, 'Fraunces', serif);
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.9rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
  .countdown-headline {
    font-size: 1.85rem;
  }
}

.countdown-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #CBD5E1;
  max-width: 680px;
  margin-bottom: 1.4rem;
}

.countdown-action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.62rem 1.35rem;
  margin-bottom: 2rem;
  background: rgba(6, 78, 59, 0.45);
  border: 1.5px solid #10B981;
  border-radius: 999px;
  color: #ECFDF5;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(6, 78, 59, 0.35);
  backdrop-filter: blur(8px);
}

.countdown-heart-icon {
  font-size: 1.15rem;
  line-height: 1;
}

@media (max-width: 580px) {
  .countdown-action-pill {
    font-size: 0.92rem;
    padding: 0.55rem 1.1rem;
    margin-bottom: 1.6rem;
    width: fit-content;
    max-width: 92%;
  }
}

.countdown-clock-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: nowrap;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 580px) {
  .countdown-clock-wrapper {
    gap: 0.2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

.countdown-clock-card {
  background: rgba(6, 78, 59, 0.45);
  border: 2px solid rgba(52, 211, 153, 0.45);
  border-radius: 18px;
  padding: 1.2rem 1.25rem 1rem;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

@media (max-width: 580px) {
  .countdown-clock-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.65rem 0.15rem 0.55rem;
    border-radius: 12px;
  }
}

.countdown-clock-val {
  font-family: var(--font-serif, 'Fraunces', serif);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: #6EE7B7;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 25px rgba(110, 231, 183, 0.55);
}

@media (max-width: 580px) {
  .countdown-clock-val {
    font-size: clamp(1.35rem, 5.5vw, 2rem);
  }
}

.countdown-clock-lbl {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A7F3D0;
  margin-top: 0.35rem;
}

@media (max-width: 580px) {
  .countdown-clock-lbl {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }
}

.countdown-clock-colon {
  font-size: 2.6rem;
  font-weight: 800;
  color: #34D399;
  line-height: 1;
  padding-bottom: 0.6rem;
  animation: colonBlink 1.4s infinite ease-in-out;
}

@keyframes colonBlink {
  0%, 100% { opacity: 0.95; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.92); }
}

@media (max-width: 580px) {
  .countdown-clock-colon {
    font-size: 1.35rem;
    padding-bottom: 0.25rem;
  }
}

.countdown-target-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 9999px;
  padding: 0.45rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #FDE68A;
  margin-bottom: 2.4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  box-sizing: border-box;
}

.countdown-engagement-box {
  width: 100%;
  background: rgba(6, 44, 34, 0.65);
  border: 1.5px solid rgba(52, 211, 153, 0.35);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.countdown-box-title {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 1.1rem;
  font-weight: 700;
}

.countdown-socials-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.countdown-newsletter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .countdown-newsletter-row {
    flex-direction: column;
    width: 100%;
  }
  .countdown-newsletter-row input,
  .countdown-newsletter-row button {
    width: 100% !important;
  }
}

.countdown-newsletter-row input {
  flex: 1;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(52, 211, 153, 0.4);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: #FFFFFF;
  outline: none;
  transition: border-color 0.2s;
}

.countdown-newsletter-row input:focus {
  border-color: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}

.countdown-admin-bypass-zone {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.btn-countdown-admin {
  background: rgba(15, 23, 42, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #E2E8F0;
  border-radius: 12px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
  user-select: none;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 580px) {
  .btn-countdown-admin {
    font-size: 0.82rem;
    padding: 0.65rem 0.85rem;
    white-space: normal;
    text-align: center;
  }
}

.btn-countdown-admin:hover {
  background: rgba(6, 78, 59, 0.85);
  border-color: #34D399;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.countdown-admin-sub {
  font-size: 0.82rem;
  color: #94A3B8;
  max-width: 500px;
  line-height: 1.4;
}

.admin-mode-banner {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: linear-gradient(90deg, #064E3B 0%, #047857 50%, #064E3B 100%);
  border-bottom: 2px solid #34D399;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  padding: 0.45rem 0;
}

.admin-mode-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-mode-banner-text {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #FFFFFF;
  font-size: 0.85rem;
}

.admin-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.admin-mode-sep {
  color: #6EE7B7;
  opacity: 0.6;
}

.admin-mode-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-banner-action {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-banner-action.studio {
  background: #10B981;
  color: #FFFFFF;
  border-color: #34D399;
}

.btn-banner-action.studio:hover {
  background: #059669;
}

.btn-banner-action.preview {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-banner-action.preview:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-banner-action.exit {
  background: rgba(225, 29, 72, 0.2);
  color: #FDA4AF;
  border-color: rgba(244, 63, 94, 0.4);
}

.btn-banner-action.exit:hover {
  background: rgba(225, 29, 72, 0.35);
  color: #FFFFFF;
}

.modal-cropper-card {
  max-width: 680px !important;
  width: 95% !important;
  background: #0F172A !important;
  color: #FFFFFF !important;
  border: 2px solid #10B981 !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6) !important;
}

.cropper-modal-body {
  padding: 1.25rem 1.5rem;
}

.cropper-instruction-text {
  font-size: 0.9rem;
  color: #CBD5E1;
  margin-bottom: 1.1rem;
  line-height: 1.45;
}

.cropper-stage-wrapper {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 620px) {
  .cropper-stage-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

.cropper-stage {
  flex: 1;
  width: 100%;
  height: 340px;
  background: #020617;
  border: 2px solid rgba(52, 211, 153, 0.5);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.cropper-stage.grabbing {
  cursor: grabbing !important;
}

#cropperImageEl {
  position: absolute;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
  max-width: none;
  max-height: none;
  transform-origin: center center;
  display: block;
}

.cropper-guides-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cropper-grid-3x3 {
  position: absolute;
  inset: 0;
}

.grid-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.22);
}

.grid-line.horizontal {
  left: 0;
  right: 0;
  height: 1px;
}
.grid-line.horizontal.h1 { top: 33.33%; }
.grid-line.horizontal.h2 { top: 66.66%; }

.grid-line.vertical {
  top: 0;
  bottom: 0;
  width: 1px;
}
.grid-line.vertical.v1 { left: 33.33%; }
.grid-line.vertical.v2 { left: 66.66%; }

.cropper-face-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px dashed #34D399;
  box-shadow: 0 0 0 9999px rgba(2, 6, 23, 0.38);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.6rem;
}

.cropper-face-circle-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #A7F3D0;
  background: rgba(6, 78, 59, 0.85);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  letter-spacing: 0.03em;
}

.cropper-previews-sidebar {
  width: 140px;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

@media (max-width: 620px) {
  .cropper-previews-sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
  }
}

.cropper-sidebar-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cropper-mini-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.cropper-preview-lbl {
  font-size: 0.7rem;
  color: #CBD5E1;
  font-weight: 600;
}

.cropper-tab-preview-box {
  width: 90px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #10B981;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cropper-tab-preview-box canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cropper-circle-preview-box {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #34D399;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cropper-circle-preview-box canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-cropper-pill {
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-cropper-pill:hover {
  background: rgba(255, 255, 255, 0.16);
}

.cropper-toolbar-card {
  background: rgba(30, 41, 59, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cropper-control-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cropper-control-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #E2E8F0;
  min-width: 65px;
}

.btn-cropper-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.btn-cropper-btn:hover {
  background: #047857;
  border-color: #34D399;
}

.cropper-zoom-slider {
  flex: 1;
  accent-color: #10B981;
  cursor: pointer;
  height: 6px;
}

.cropper-zoom-badge {
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #6EE7B7;
  min-width: 48px;
  text-align: right;
}

.cropper-control-row.nudge-row {
  justify-content: space-between;
}

.cropper-nudge-buttons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-cropper-nudge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #E2E8F0;
  cursor: pointer;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.btn-cropper-nudge:hover {
  background: #047857;
  border-color: #34D399;
  color: #FFFFFF;
}

.btn-cropper-reset {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FDE68A;
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-cropper-reset:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #F59E0B;
}

.cropper-modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 1rem 1.5rem !important;
}

.photo-slot-btn-row {
  display: flex;
  gap: 0.35rem;
  width: 100%;
}

.btn-adjust-photo {
  flex: 1;
  background: linear-gradient(135deg, #064E3B 0%, #047857 100%);
  border: 1.5px solid #34D399;
  color: #FFFFFF;
  border-radius: 8px;
  padding: 0.45rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: all 0.15s ease;
}

.btn-adjust-photo:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(6, 78, 59, 0.3);
}

.community-tiktok-banner,
.hero-tiktok-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(90deg, #0B0F19 0%, #03120C 50%, #160B12 100%);
  border: 2px solid #10B981;
  border-radius: 16px;
  padding: 0.95rem 1.35rem;
  margin-bottom: 1.1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.22), 0 0 15px rgba(225, 29, 72, 0.15);
  transition: all 0.22s ease;
}

.community-tiktok-banner:hover,
.hero-tiktok-banner:hover {
  transform: translateY(-2px);
  border-color: #34D399;
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.35), 0 0 22px rgba(225, 29, 72, 0.25);
}

.community-tiktok-icon,
.hero-tiktok-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, #E11D48 0%, #000000 70%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.community-tiktok-content,
.hero-tiktok-content {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  flex: 1;
  text-align: left;
}

.community-tiktok-title,
.hero-tiktok-title {
  color: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.community-tiktok-sub,
.hero-tiktok-sub {
  color: #6EE7B7;
  font-size: 0.82rem;
  font-weight: 600;
}

.community-tiktok-badge,
.hero-tiktok-badge {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(225, 29, 72, 0.3);
}

@media (max-width: 640px) {
  .community-tiktok-banner,
  .hero-tiktok-banner {
    padding: 0.75rem 0.85rem;
    gap: 0.65rem;
  }
  .community-tiktok-icon,
  .hero-tiktok-icon {
    width: 36px;
    height: 36px;
  }
  .community-tiktok-title,
  .hero-tiktok-title {
    font-size: 0.86rem;
  }
  .community-tiktok-sub,
  .hero-tiktok-sub {
    font-size: 0.74rem;
  }
  .community-tiktok-badge,
  .hero-tiktok-badge {
    display: none;
  }
}

.countdown-tiktok-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  max-width: 680px;
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.6) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(136, 19, 55, 0.6) 100%);
  border: 2px solid #34D399;
  border-radius: 16px;
  padding: 1rem 1.4rem;
  margin-bottom: 1.8rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.25);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.countdown-tiktok-callout:hover {
  transform: translateY(-2px);
  border-color: #6EE7B7;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(16, 185, 129, 0.4);
}

.countdown-tiktok-callout-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, #E11D48 0%, #000000 70%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.countdown-tiktok-callout-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.2rem;
}

.countdown-tiktok-callout-text strong {
  color: #FFFFFF;
  font-size: 0.96rem;
  font-weight: 800;
}

.countdown-tiktok-callout-text span {
  color: #6EE7B7;
  font-size: 0.84rem;
  font-weight: 600;
}

.countdown-mission-card {
  width: 100%;
  max-width: 680px;
  background: rgba(6, 44, 34, 0.65);
  border: 1.5px solid rgba(52, 211, 153, 0.35);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.8rem;
  text-align: left;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.countdown-mission-header {
  margin-bottom: 1rem;
}

.countdown-mission-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #34D399;
  background: rgba(6, 78, 59, 0.6);
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.countdown-mission-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.countdown-mission-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.countdown-mission-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.countdown-mission-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.countdown-mission-item strong {
  display: block;
  font-size: 0.88rem;
  color: #A7F3D0;
  margin-bottom: 0.15rem;
}

.countdown-mission-item p {
  margin: 0;
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.45;
}

.btn-mini-success-active {
  background: #047857 !important;
  color: #FCD34D !important;
  border-color: #FCD34D !important;
  font-weight: 800;
}

.gas-meter-pill-badge.success-pill-badge {
  background: linear-gradient(135deg, #065F46 0%, #92400E 100%) !important;
  color: #FEF3C7 !important;
  border: 1.5px solid #FCD34D !important;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
}

.filter-pill.filter-pill-success {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FCD34D;
  font-weight: 800;
}

.filter-pill.filter-pill-success:hover,
.filter-pill.filter-pill-success.active {
  background: #B45309;
  color: #FFFFFF;
  border-color: #78350F;
}

.footer-mission-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.footer-mission-wrap .footer-mission {
  margin-top: 0;
  max-width: none;
  flex: 1 1 360px;
  line-height: 1.6;
}

.footer-mission-wrap .btn-footer-email {
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  transition: all 0.2s ease;
}

.footer-mission-wrap .btn-footer-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.footer-clean-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-social-title {
  color: #064E3B !important;
}

.footer-clean-nav li a {
  color: #047857 !important;
  text-decoration: underline !important;
  text-decoration-color: #047857 !important;
  text-underline-offset: 3px;
  font-size: 0.90rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.footer-clean-nav li a .footer-nav-bullet {
  color: #064E3B !important;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease;
}

.footer-clean-nav li a:hover {
  color: #064E3B !important;
  text-decoration-color: #064E3B !important;
  transform: translateX(4px);
}

.footer-clean-nav li a:hover .footer-nav-bullet {
  transform: translateX(2px);
  color: #047857 !important;
}

body.is-dark-mode .footer-social-title,
body[data-theme="dark"] .footer-social-title,
body[data-theme^="dark-"] .footer-social-title,
body[data-theme="midnight-olive"] .footer-social-title {
  color: #6EE7B7 !important;
}

body.is-dark-mode .footer-clean-nav li a,
body[data-theme="dark"] .footer-clean-nav li a,
body[data-theme^="dark-"] .footer-clean-nav li a,
body[data-theme="midnight-olive"] .footer-clean-nav li a {
  color: #6EE7B7 !important;
  text-decoration: underline !important;
  text-decoration-color: #6EE7B7 !important;
}

body.is-dark-mode .footer-clean-nav li a .footer-nav-bullet,
body[data-theme="dark"] .footer-clean-nav li a .footer-nav-bullet,
body[data-theme^="dark-"] .footer-clean-nav li a .footer-nav-bullet,
body[data-theme="midnight-olive"] .footer-clean-nav li a .footer-nav-bullet {
  color: #34D399 !important;
}

body.is-dark-mode .footer-clean-nav li a:hover,
body[data-theme="dark"] .footer-clean-nav li a:hover,
body[data-theme^="dark-"] .footer-clean-nav li a:hover,
body[data-theme="midnight-olive"] .footer-clean-nav li a:hover {
  color: #FFFFFF !important;
  text-decoration-color: #34D399 !important;
}

.press-story-badge {
  margin-top: 1rem;
  padding: 0.9rem 1.25rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 78, 59, 0.18) 100%);
  border: 1.5px solid #10B981;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.08);
  transition: all 0.2s ease;
}

.press-story-badge:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(6, 78, 59, 0.24) 100%);
  border-color: #34D399;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.15);
}

.press-story-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 260px;
}

.press-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #064E3B;
  color: #A7F3D0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  border: 1px solid #10B981;
  white-space: nowrap;
}

.press-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.press-sub {
  font-size: 0.74rem;
  font-weight: 700;
  color: #047857;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.press-headline {
  font-size: 0.92rem;
  font-weight: 700;
  color: #064E3B;
  text-decoration: underline;
  transition: color 0.18s ease;
  line-height: 1.35;
}

.press-headline:hover {
  color: #059669;
}

.btn-press-read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.25);
  transition: all 0.18s ease;
}

.btn-press-read:hover {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 5px 14px rgba(16, 185, 129, 0.35);
}

@media (max-width: 640px) {
  .press-story-badge {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    margin-top: 0.65rem;
  }
  .press-story-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 0;
    width: 100%;
  }
  .press-pill {
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
  }
  .press-sub {
    font-size: 0.68rem;
  }
  .press-headline {
    font-size: 0.84rem;
    line-height: 1.35;
  }
  .btn-press-read {
    width: 100%;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    justify-content: center;
  }
}

.btn-social-pill.medium {
  background: #0B0E14;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.btn-social-pill.medium:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #34D399;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.fotw-spotlight-section {
  margin: 1.25rem 0 1.5rem;
  width: 100%;
}

.fotw-card-wrapper {
  background: linear-gradient(135deg, #FFFBEB 0%, #F0FDF4 50%, #ECFDF5 100%);
  border: 2px solid #F59E0B;
  box-shadow: 0 12px 36px -8px rgba(245, 158, 11, 0.22), 0 4px 16px -2px rgba(6, 78, 59, 0.08);
  border-radius: 20px;
  padding: 1.4rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.fotw-card-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #F59E0B 0%, #10B981 50%, #E11D48 100%);
}

.fotw-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}

.nav-link-fotw {
  background: #FEF3C7;
  color: #92400E !important;
  border: 1px solid #FCD34D;
  font-weight: 800 !important;
  border-radius: 9999px;
  padding: 0.32rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.nav-link-fotw:hover {
  background: #FDE68A;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.25);
}

.fotw-spotlight-section {
  margin: 1.5rem 0 2rem;
  position: relative;
  z-index: 5;
}

.fotw-card-wrapper {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
  border: 2px solid #10B981;
  border-radius: 24px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 12px 35px -8px rgba(6, 78, 59, 0.15), 0 0 0 1px rgba(16, 185, 129, 0.15);
  position: relative;
}

.fotw-header-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1.5px dashed rgba(16, 185, 129, 0.3);
}

.fotw-header-banner-clean {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid rgba(16, 185, 129, 0.25);
}

.fotw-header-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fotw-clean-heading {
  font-family: var(--font-serif, 'Fraunces', serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #064E3B;
  margin: 0;
  line-height: 1.25;
}

.fotw-clean-sub {
  font-size: 0.78rem;
  color: #047857;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.btn-fotw-method-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ECFDF5;
  color: #047857;
  border: 1.5px solid #A7F3D0;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.12);
}

.btn-fotw-method-link:hover {
  background: #D1FAE5;
  border-color: #34D399;
  color: #065F46;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.fotw-crown-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.fotw-crown-icon {
  font-size: 1.85rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
  animation: crownBob 2.5s ease-in-out infinite;
}

@keyframes crownBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(4deg); }
}

.fotw-crown-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.fotw-badge-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.15rem;
  color: #92400E;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.fotw-badge-sub {
  font-size: 0.76rem;
  font-weight: 700;
  color: #047857;
}

.fotw-round-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #065F46;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.fotw-pulse-dot {
  width: 9px;
  height: 9px;
  background: #10B981;
  border-radius: 50%;
  animation: pulseDot 1.8s infinite;
}

.fotw-timer-tag {
  background: #FEF3C7;
  color: #92400E;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.76rem;
  border: 1px solid #FCD34D;
}

.fotw-fairness-banner {
  background: #FFFFFF;
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  padding: 0.8rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.fotw-fairness-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 260px;
}

.fotw-fairness-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.fotw-fairness-text {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.45;
}

.fotw-tiktok-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #000000;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.42rem 0.9rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.fotw-tiktok-channel-link:hover {
  background: #1E293B;
  color: #6EE7B7 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fotw-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 960px) {
  .fotw-dual-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.fotw-single-card {
  background: #FFFFFF;
  border: 2px solid #10B981;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px -6px rgba(6, 78, 59, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fotw-single-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -6px rgba(6, 78, 59, 0.2);
}

.fotw-card-top-tag {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.fotw-spotlight-pill {
  display: none !important;
}

.fotw-index-pill {
  font-size: 0.72rem;
  color: #065F46;
  font-weight: 700;
  background: #ECFDF5;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  border: 1px solid #A7F3D0;
}

.fotw-photos-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fotw-main-photo-wrap,
.fotw-hero-photo-wrap {
  position: relative;
  width: 100%;
  height: 310px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px -4px rgba(6, 78, 59, 0.16);
  border: 2px solid #FFFFFF;
  cursor: pointer;
  background: #F1F5F9;
}

@media (max-width: 640px) {
  .fotw-main-photo-wrap,
  .fotw-hero-photo-wrap {
    height: 270px;
  }
}

.fotw-main-photo-wrap img,
.fotw-hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transition: transform 0.35s ease;
}

.fotw-main-photo-wrap:hover img,
.fotw-hero-photo-wrap:hover img {
  transform: scale(1.04);
}

.fotw-photo-overlay-crown {
  display: none !important;
}

.fotw-thumbs-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}

.fotw-thumb-box {
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  background: #E2E8F0;
}

.fotw-thumb-box:hover {
  transform: translateY(-2px);
  border-color: #F59E0B;
}

.fotw-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.fotw-details-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.fotw-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.25;
  margin: 0;
}

.fotw-meta-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--ink-700);
}

.fotw-meta-tag {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  font-weight: 700;
}

.fotw-meta-tag.platform {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FCD34D;
}

.fotw-story-snippet {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-800);
  background: #F8FAFC;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border-left: 3px solid #10B981;
  margin: 0;
  font-style: italic;
}

.fotw-progress-card {
  background: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fotw-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink-900);
}

.fotw-progress-pct {
  display: none !important;
}

.fotw-progress-track {
  height: 22px;
  background: #E2E8F0;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 2.5px rgba(0, 0, 0, 0.12);
}

.fotw-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(90deg, #E11D48 0%, #10B981 55%, #047857 100%);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fotw-progress-pct-in-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.015em;
  z-index: 2;
  pointer-events: none;
  line-height: 1;
}

.fotw-progress-pct-in-bar.is-white {
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.fotw-progress-pct-in-bar.is-dark {
  color: #064E3B;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}

.fotw-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.btn-fotw-donate {
  flex: 1;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: #047857;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.84rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.24);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-fotw-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.36);
  background: #059669;
}

.btn-fotw-story {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.95rem;
  background: linear-gradient(135deg, #065F46 0%, #047857 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.84rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(6, 95, 70, 0.2);
  transition: all 0.2s ease;
}

.btn-fotw-story:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #059669 0%, #065F46 100%);
}

.btn-fotw-tiktok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: #000000;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  border: 1.5px solid #000000;
  margin-top: 0.15rem;
}

.btn-fotw-tiktok:hover {
  background: #111827;
  color: #FFFFFF !important;
  border-color: #10B981 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(16, 185, 129, 0.35) !important;
}

.modal-matched-family-card {
  max-width: 620px;
  width: 95%;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
  border: 2px solid #10B981;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 25px 60px -15px rgba(6, 78, 59, 0.4), 0 0 0 1px rgba(16, 185, 129, 0.2);
  position: relative;
  animation: matchCardIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-matched-family-card .modal-close-btn {
  position: sticky;
  top: 0;
  float: right;
  margin-top: -0.25rem;
  margin-right: -0.25rem;
  margin-bottom: -2rem;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  color: #334155;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
}

.modal-matched-family-card .modal-close-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #10B981;
  transform: scale(1.08);
}

[dir="rtl"] .modal-matched-family-card .modal-close-btn {
  float: left;
  margin-right: 0;
  margin-left: -0.25rem;
}

@keyframes matchCardIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.welcome-match-header {
  text-align: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(16, 185, 129, 0.3);
}

.welcome-match-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.25rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 0.6rem;
}

.welcome-match-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.3;
  margin: 0 0 0.45rem;
}

.welcome-match-sub {
  font-size: 0.9rem;
  color: var(--ink-700);
  line-height: 1.45;
  margin: 0;
}

.welcome-match-content {
  background: #FFFFFF;
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 4px 16px -2px rgba(6, 78, 59, 0.06);
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.welcome-match-content.shuffling {
  opacity: 0;
  transform: scale(0.97);
}

.match-family-top-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.match-family-avatar {
  width: 90px;
  height: 90px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid #10B981;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.match-family-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.match-family-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0;
  line-height: 1.25;
}

.match-family-location {
  font-size: 0.82rem;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.match-family-category {
  display: inline-block;
  background: #ECFDF5;
  color: #065F46;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #A7F3D0;
}

.match-family-story {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-800);
  background: #F8FAFC;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border-left: 3px solid #10B981;
  margin: 0;
}

.match-family-progress {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: #F0FDF4;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
}

.match-family-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 800;
}

.match-family-track {
  height: 8px;
  background: #CBD5E1;
  border-radius: 9999px;
  overflow: hidden;
}

.match-family-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #059669);
  border-radius: 9999px;
}

.welcome-match-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 500px) {
  .welcome-match-actions {
    grid-template-columns: 1fr;
  }
}

.welcome-match-footer {
  text-align: center;
  margin-top: 0.85rem;
}

.welcome-match-explore-link {
  background: none;
  border: none;
  color: var(--ink-500);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.18s ease;
}

.welcome-match-explore-link:hover {
  color: #047857;
}

.trash-order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  background: #FFF1F2;
  border: 1.5px solid #FECDD3;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.trash-order-item:hover {
  border-color: #FB7185;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.1);
}

.btn-restore {
  background: #ECFDF5 !important;
  border: 1.5px solid #10B981 !important;
  color: #065F46 !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  padding: 0.5rem 0.95rem !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}

.btn-restore:hover {
  background: #10B981 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
}

.btn-perm-delete {
  background: #FEF2F2 !important;
  border: 1.5px solid #F87171 !important;
  color: #DC2626 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 0.5rem 0.95rem !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}

.btn-perm-delete:hover {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25) !important;
}

.lang-tab-bar-strip {
  background: linear-gradient(90deg, #090D16 0%, #111827 50%, #090D16 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
  position: relative;
  z-index: 999;
  padding: 0.35rem 0.75rem;
}

.lang-tab-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.lang-tab-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6EE7B7;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-tabs-scroller {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.15rem 0;
  flex: 1;
}

.lang-tabs-scroller::-webkit-scrollbar {
  display: none;
}

.lang-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  user-select: none;
  flex-shrink: 0;
}

.lang-tab-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.lang-tab-btn.active {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  border-color: #34D399 !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.45) !important;
}

.lang-tab-btn .lang-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-tab-btn .lang-name {
  font-size: 0.76rem;
}

.lang-switcher-wrapper {
  position: relative;
  display: inline-block;
}

.btn-lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.9);
  color: #0F172A;
  border: 1.5px solid #CBD5E1;
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.btn-lang-selector:hover {
  background: #FFFFFF;
  border-color: #10B981;
  color: #065F46;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.btn-lang-selector .lang-arrow {
  font-size: 0.65rem;
  color: #64748B;
  transition: transform 0.2s ease;
}

.btn-lang-selector[aria-expanded="true"] .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: #0F172A;
  border: 1.5px solid rgba(52, 211, 153, 0.35);
  border-radius: 14px;
  padding: 0.45rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  z-index: 100060;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  animation: fadeInDown 0.18s ease;
}

.lang-dropdown-menu.hidden {
  display: none !important;
}

.lang-menu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.65rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #E2E8F0;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  width: 100%;
}

.lang-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.lang-menu-item.active {
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
  font-weight: 800;
}

.lang-menu-item .menu-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.lang-menu-item .menu-name {
  flex: 1;
}

.lang-menu-item .menu-check {
  font-size: 0.85rem;
  opacity: 0;
}

.lang-menu-item.active .menu-check {
  opacity: 1;
  color: #10B981;
}

[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Arabic", "Noto Nastaliq Urdu", Tahoma, Arial, sans-serif;
}

[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] button,
[dir="rtl"] a,
[dir="rtl"] label,
[dir="rtl"] .quiz-question-label,
[dir="rtl"] .quiz-opt-btn,
[dir="rtl"] .quiz-plat-pill,
[dir="rtl"] .welcome-match-pill,
[dir="rtl"] .welcome-match-title,
[dir="rtl"] .welcome-match-sub,
[dir="rtl"] .fotw-card-top-tag,
[dir="rtl"] .hotdog-name,
[dir="rtl"] .hotdog-story-paragraph,
[dir="rtl"] .mission-statement,
[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle,
[dir="rtl"] .brand-sub {
  unicode-bidi: isolate;
}

[dir="rtl"] .watermelon-top-strip-inner,
[dir="rtl"] .site-header .nav-container,
[dir="rtl"] .nav-actions,
[dir="rtl"] .fotw-header-banner,
[dir="rtl"] .fotw-crown-badge,
[dir="rtl"] .fotw-fairness-banner,
[dir="rtl"] .fotw-fairness-left,
[dir="rtl"] .fotw-details-col,
[dir="rtl"] .fotw-card-top-tag,
[dir="rtl"] .random-chooser-banner,
[dir="rtl"] .random-chooser-left,
[dir="rtl"] .welcome-brand-header,
[dir="rtl"] .hero-badge-row,
[dir="rtl"] .hotdog-header-top,
[dir="rtl"] .hotdog-meta-pills {
  text-align: right;
}

[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-menu-item {
  text-align: right;
}

[dir="rtl"] .fotw-card-top-tag,
[dir="rtl"] .fotw-action-buttons,
[dir="rtl"] .fotw-progress-header {
  direction: rtl;
}

[dir="rtl"] .quiz-question-label {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .quiz-platform-pills {
  justify-content: flex-start;
  direction: rtl;
}

[dir="rtl"] .quiz-options-grid {
  direction: rtl;
}

[dir="rtl"] .quiz-opt-btn {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .btn-fotw-tiktok svg,
[dir="rtl"] .fotw-tiktok-channel-link svg {
  transform: scaleX(-1);
}

[dir="rtl"] .city-banner-form-grid select {
  direction: rtl !important;
  text-align: right !important;
  background-position: left 0.85rem center !important;
  padding: 0.55rem 0.95rem 0.55rem 2.5rem !important;
  unicode-bidi: isolate;
}

[dir="rtl"] .city-banner-form-grid .form-group label {
  text-align: right !important;
  direction: rtl !important;
  justify-content: flex-start !important;
  unicode-bidi: isolate;
}

[dir="rtl"] .city-banner-form-grid .input-hint {
  text-align: right !important;
  direction: rtl !important;
  unicode-bidi: isolate;
}

[dir="rtl"] .quick-city-pills {
  direction: rtl !important;
  justify-content: flex-start !important;
}

[dir="rtl"] .city-input-with-clear input#bannerCityInput {
  text-align: right !important;
  direction: rtl !important;
  unicode-bidi: isolate;
}

[dir="rtl"] .city-banner-action-bar {
  direction: rtl !important;
  justify-content: flex-start !important;
}

[dir="rtl"] .banner-inline-edit-hint {
  direction: rtl !important;
  text-align: center !important;
  unicode-bidi: isolate;
}

[dir="rtl"] .banner-city-headline {
  direction: rtl !important;
  unicode-bidi: isolate;
}

[dir="rtl"] .banner-city-subheadline {
  direction: rtl !important;
  text-align: center !important;
  unicode-bidi: isolate;
}

[dir="rtl"] .banner-side-callout {
  direction: rtl !important;
  text-align: center !important;
  unicode-bidi: isolate;
}

[dir="rtl"] .banner-callout-left .callout-arrow-right {
  transform: scaleX(-1);
}

[dir="rtl"] .banner-callout-right .callout-arrow-left {
  transform: scaleX(-1);
}

[dir="rtl"] .banner-footer-meta {
  direction: rtl !important;
  unicode-bidi: isolate;
}

@media (max-width: 768px) {
  .lang-tab-bar-strip {
    padding: 0.3rem 0.5rem;
  }
  .lang-tab-btn {
    padding: 0.22rem 0.55rem;
    font-size: 0.74rem;
  }
  
  .lang-switcher-wrapper {
    display: none !important;
  }
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lang-modal-card-box {
  max-width: 700px;
  width: 95%;
  background: #111827;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  padding: 1.5rem;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-modal-card-box .modal-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 0 0 1rem 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
}

.lang-modal-card-box .modal-header h3 {
  color: #FFFFFF !important;
  font-family: inherit !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}

.lang-modal-card-box .modal-close-btn {
  color: #94A3B8 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-size: 0.95rem !important;
  padding: 0 !important;
}

.lang-modal-card-box .modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #EF4444 !important;
  border-color: #EF4444 !important;
}

.lang-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.25rem;
}

@media (max-width: 640px) {
  .lang-modal-grid {
    grid-template-columns: 1fr;
    max-height: 55vh;
  }
}

.lang-modal-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: #F8FAFC;
}

[dir="rtl"] .lang-modal-item {
  text-align: right;
}

.lang-modal-item:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}

.lang-modal-item.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.25) 100%);
  border-color: #10B981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
}

.lang-modal-flag {
  font-size: 1.85rem;
  flex-shrink: 0;
  line-height: 1;
}

.lang-modal-names {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lang-modal-native {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.lang-modal-sub {
  font-size: 0.74rem;
  color: #94A3B8;
  margin-top: 0.15rem;
}

.lang-modal-badge {
  font-size: 1.1rem;
  font-weight: 900;
  color: #10B981;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lang-modal-item.active .lang-modal-badge {
  opacity: 1;
}

.btn-lang-modal-trigger {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #E2E8F0;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  margin-left: 0.4rem;
}

.btn-lang-modal-trigger:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10B981;
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.lang-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.35rem 0;
}

.lang-menu-open-modal {
  background: rgba(16, 185, 129, 0.08) !important;
  color: #6EE7B7 !important;
  font-weight: 700;
  border-radius: 8px;
}

.lang-menu-open-modal:hover {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #FFFFFF !important;
}

.lang-menu-open-modal .menu-arrow {
  font-size: 0.85rem;
  color: #6EE7B7;
}

.celebration-fireworks-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100080;
}

.celebration-launch-banner {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100085;
  width: 92%;
  max-width: 860px;
  pointer-events: auto;
  animation: celebrationBannerSlideDown 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.celebration-launch-banner.fade-out {
  animation: celebrationBannerSlideUp 0.4s ease-in forwards;
}

@keyframes celebrationBannerSlideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes celebrationBannerSlideUp {
  from {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -25px) scale(0.96);
  }
}

.celebration-banner-inner {
  background: #03140d;
  border: 2px solid rgba(16, 185, 129, 0.6);
  border-radius: 20px;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.9),
              0 0 25px rgba(16, 185, 129, 0.3),
              0 0 30px rgba(228, 49, 43, 0.25);
}

.celebration-flag-mini {
  position: relative;
  width: 48px;
  height: 32px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.flag-stripe-blk {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 33.33%;
  background: #000000;
}

.flag-stripe-wht {
  position: absolute;
  top: 33.33%;
  left: 0;
  width: 100%;
  height: 33.33%;
  background: #FFFFFF;
}

.flag-stripe-grn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 33.33%;
  background: #009736;
}

.flag-wedge-red {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 20px solid #E4312B;
}

.celebration-banner-copy {
  flex: 1;
  min-width: 0;
}

.celebration-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(90deg, rgba(228, 49, 43, 0.25), rgba(0, 151, 54, 0.25));
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #6EE7B7;
  margin-bottom: 0.35rem;
}

.celebration-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.2rem 0;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.celebration-subtitle {
  font-size: 0.82rem;
  color: #94A3B8;
  margin: 0;
  line-height: 1.35;
}

.celebration-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.celebration-timer-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid rgba(52, 211, 153, 0.45);
  border-radius: 12px;
  padding: 0.4rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 48px;
}

.timer-num {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-size: 1.2rem;
  font-weight: 800;
  color: #34D399;
  line-height: 1;
}

.timer-lbl {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.btn-celebration-enter {
  background: linear-gradient(135deg, #10B981, #059669);
  border: 1.5px solid #34D399;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-celebration-enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #059669, #047857);
}

@media (max-width: 680px) {
  .celebration-launch-banner {
    top: 10px;
    width: 96%;
  }
  .celebration-banner-inner {
    padding: 0.75rem 0.85rem;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .celebration-flag-mini {
    display: none;
  }
  .celebration-title {
    font-size: 0.95rem;
  }
  .celebration-subtitle {
    font-size: 0.74rem;
    display: none;
  }
  .celebration-banner-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 0.2rem;
  }
  .btn-celebration-enter {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
  }
}

.btn-celebration-sound {
  background: rgba(15, 23, 42, 0.88);
  border: 1.5px solid rgba(52, 211, 153, 0.5);
  color: #F8FAFC;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.btn-celebration-sound:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #34D399;
  transform: translateY(-1px);
}

.btn-celebration-sound.muted {
  border-color: rgba(148, 163, 184, 0.4);
  color: #94A3B8;
}

.btn-celebration-sound.needs-interaction {
  border-color: #F59E0B;
  background: rgba(245, 158, 11, 0.2);
  color: #FDE68A;
  animation: pulseSoundGlow 1.6s infinite ease-in-out;
}

@keyframes pulseSoundGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.85);
    transform: scale(1.04);
  }
}

.celebration-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100078;
  background: radial-gradient(circle at 50% 25%, #071911 0%, #030a06 45%, #000000 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.2s ease-out;
}

.celebration-backdrop.fade-out {
  opacity: 0;
}

.celebration-center-hero {
  position: fixed;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100084;
  width: 90%;
  max-width: 940px;
  pointer-events: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: celebrationHeroZoomFadeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.celebration-center-hero.fade-out {
  animation: celebrationHeroFadeOut 0.6s ease-in forwards;
}

@keyframes celebrationHeroZoomFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes celebrationHeroFadeOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -54%) scale(0.96);
  }
}

.celebration-hero-card {
  background: #020C07;
  border: 2px solid rgba(16, 185, 129, 0.7);
  border-radius: 28px;
  padding: 2.2rem 2.6rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.98),
              0 0 55px rgba(16, 185, 129, 0.4),
              0 0 65px rgba(228, 49, 43, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: 100%;
}

.celebration-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(90deg, rgba(228, 49, 43, 0.35), rgba(0, 151, 54, 0.35));
  border: 1.5px solid rgba(52, 211, 153, 0.6);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #A7F3D0;
  text-transform: uppercase;
}

.celebration-hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.95),
               0 0 35px rgba(255, 255, 255, 0.7);
}

.celebration-title-glow {
  color: #34D399;
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.95),
               0 0 45px rgba(16, 185, 129, 0.8),
               0 0 70px rgba(239, 68, 68, 0.6),
               0 4px 14px rgba(0, 0, 0, 0.95);
  letter-spacing: 0.01em;
}

.celebration-hero-subtitle {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 600;
  color: #E2E8F0;
  margin: 0;
  max-width: 680px;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.celebration-hero-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6EE7B7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.celebration-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 10px #EF4444;
  animation: pulseLiveDot 1.2s infinite ease-in-out;
}

@keyframes pulseLiveDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

@media (max-width: 680px) {
  .celebration-center-hero {
    top: 40%;
    width: 95%;
  }
  .celebration-hero-card {
    padding: 1.3rem 1.1rem;
    border-radius: 20px;
    gap: 0.55rem;
  }
  .celebration-hero-pill {
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
  }
  .celebration-hero-title {
    font-size: 2.1rem;
  }
  .celebration-hero-subtitle {
    font-size: 0.88rem;
  }
  .celebration-hero-footer {
    font-size: 0.72rem;
  }
}

.btn-close-modal svg,
.btn-close-modal svg * {
  pointer-events: none;
}

.celebration-video-fullscreen-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  background: #000000;
  display: none !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none !important;
}

.celebration-video-fullscreen-overlay.active {
  display: flex !important;
  opacity: 1;
  pointer-events: auto !important;
}

.celebration-video-element {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: #000000;
}

.celebration-video-hud {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(3, 20, 13, 0.88);
  border: 1.5px solid rgba(52, 211, 153, 0.65);
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(16, 185, 129, 0.4);
  max-width: 90vw;
}

.celebration-video-live-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #EF4444;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.celebration-video-live-tag::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #EF4444;
  animation: pulseLiveDot 1.2s infinite ease-in-out;
}

.celebration-video-timer {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.celebration-video-timer span {
  color: #34D399;
  font-weight: 800;
}

.celebration-video-skip-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.celebration-video-skip-btn:hover {
  transform: translateY(-1px) scale(1.03);
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

@media (max-width: 680px) {
  .celebration-video-hud {
    top: 1rem;
    padding: 0.45rem 0.9rem;
    gap: 0.75rem;
  }
  .celebration-video-live-tag {
    font-size: 0.72rem;
  }
  .celebration-video-timer {
    font-size: 0.75rem;
  }
  .celebration-video-skip-btn {
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
  }
}

.live-impact-ticker-box {
  margin: 0.85rem 0 1.25rem 0;
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  animation: fadeInTicker 0.6s ease-out;
}

@keyframes fadeInTicker {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.live-impact-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.live-impact-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #047857;
  color: #FFFFFF;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.impact-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #34D399;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.live-impact-ticker-content {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.live-impact-headline {
  font-size: 0.94rem;
  font-weight: 700;
  color: #064E3B;
  line-height: 1.35;
}

.live-impact-sub {
  font-size: 0.78rem;
  color: #4B5563;
  line-height: 1.3;
}

.btn-ticker-quick-pick {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

.btn-ticker-quick-pick:hover,
.btn-ticker-quick-pick:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
  background: linear-gradient(135deg, #047857 0%, #065F46 100%);
}

.filter-pill.filter-pill-urgent {
  border-color: #E11D48 !important;
  color: #BE123C !important;
  background: #FFF1F2;
}

.filter-pill.filter-pill-urgent:hover,
.filter-pill.filter-pill-urgent.active {
  background: #E11D48 !important;
  color: #FFFFFF !important;
}

.filter-pill.filter-pill-zero {
  border-color: #9F1239 !important;
  color: #9F1239 !important;
  background: #FFE4E6;
}

.filter-pill.filter-pill-zero:hover,
.filter-pill.filter-pill-zero.active {
  background: #9F1239 !important;
  color: #FFFFFF !important;
}

.urgent-need-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #FFF1F2;
  color: #E11D48;
  border: 1px solid #FDA4AF;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-left: 0.35rem;
}

.zero-funded-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #FFE4E6;
  color: #9F1239;
  border: 1px solid #F43F5E;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-left: 0.35rem;
  animation: pulseUrgent 2s infinite ease-in-out;
}

@keyframes pulseUrgent {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.btn-pick-random,
.btn-pick-random-hero {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-right: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-pick-random:hover,
.btn-pick-random-hero:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-copy-campaign-link {
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-copy-campaign-link:hover {
  background: #E5E7EB;
  border-color: #9CA3AF;
  color: #111827;
}

@media (max-width: 768px) {
  .live-impact-ticker-box {
    margin: 0.65rem 0 0.95rem 0;
    padding: 0.7rem 0.85rem;
  }
  .live-impact-ticker-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .btn-ticker-quick-pick {
    width: 100%;
    text-align: center;
    padding: 0.55rem;
  }

  .hotdog-item.expanded .hotdog-initiative-bar {
    position: sticky;
    bottom: 0;
    z-index: 40;
    background: #FFFFFF;
    border-top: 2px solid #059669;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
    padding: 0.75rem 0.85rem;
    margin-left: -0.85rem;
    margin-right: -0.85rem;
    margin-bottom: -0.85rem;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  .hotdog-item.expanded .hotdog-drawer-actions .btn-hotdog-donate,
  .hotdog-item.expanded .hotdog-initiative-bar .btn-hotdog-donate {
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35) !important;
    font-size: 0.92rem !important;
    font-weight: 900 !important;
    padding: 0.8rem 1rem !important;
  }
}

.campaign-direct-clean-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ECFDF5;
  color: #065F46 !important;
  border: 1.5px solid #10B981;
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
  transition: all 0.15s ease;
}

.campaign-direct-clean-link:hover {
  background: #10B981;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.pillar-feature-badge {
  cursor: default !important;
  user-select: none;
}

.verified-trust-badge {
  display: none !important;
}

.tier5-matcher-card {
  max-width: 640px !important;
  width: 95% !important;
  max-height: 90vh !important;
  max-height: 90dvh !important;
  border-radius: 20px !important;
  border: 2px solid #10B981 !important;
  box-shadow: 0 25px 60px -15px rgba(6, 78, 59, 0.4) !important;
  padding: 1.25rem !important;
  background: #FFFFFF !important;
}

@media (max-width: 480px) {
  .tier5-matcher-card {
    padding: 1rem 0.85rem !important;
    width: 96% !important;
    border-radius: 16px !important;
  }
  .quiz-options-grid {
    grid-template-columns: 1fr !important;
  }
}

.matcher-quiz-body {
  margin: 1.1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.quiz-question-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: #064E3B;
  display: block;
  margin-bottom: 0.45rem;
  text-align: start;
  unicode-bidi: isolate;
  width: 100%;
  box-sizing: border-box;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem;
}

.quiz-opt-btn {
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  text-align: start;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: all 0.18s ease;
}

.quiz-opt-btn:hover {
  border-color: #34D399;
  background: #F0FDF4;
  transform: translateY(-1px);
}

.quiz-opt-btn.active {
  border-color: #059669;
  background: #ECFDF5;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.opt-emoji {
  font-size: 1.1rem;
}

.opt-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #111827;
}

.opt-desc {
  font-size: 0.7rem;
  color: #6B7280;
  line-height: 1.25;
}

.quiz-platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.quiz-plat-pill {
  background: #F3F4F6;
  border: 1px solid #D1D5DB;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quiz-plat-pill:hover {
  background: #E5E7EB;
}

.quiz-plat-pill.active {
  background: #047857;
  color: #FFFFFF;
  border-color: #047857;
}

.matcher-quiz-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-quiz-submit {
  flex: 1.4;
  min-width: 220px;
  padding: 0.75rem 1.2rem;
  font-size: 0.95rem;
}

.btn-quiz-skip {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
}

.solidarity-wall-section {
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
  border-top: 1.5px solid #D1FAE5;
  border-bottom: 1.5px solid #E5E7EB;
  margin-top: 2rem;
}

.solidarity-wall-container {
  max-width: 1200px;
  margin: 0 auto;
}

.solidarity-wall-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.solidarity-pill {
  background: #047857;
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.solidarity-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: #064E3B;
  margin: 0 0 0.35rem 0;
}

.solidarity-sub {
  font-size: 0.88rem;
  color: #4B5563;
  margin: 0;
}

.btn-leave-solidarity-message {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-leave-solidarity-message:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.solidarity-cards-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.solidarity-card {
  background: #FFFFFF;
  border: 1.5px solid #A7F3D0;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solidarity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.12);
  border-color: #34D399;
}

.solidarity-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.solidarity-author {
  font-weight: 800;
  font-size: 0.86rem;
  color: #064E3B;
}

.solidarity-flag {
  font-size: 0.78rem;
  color: #4B5563;
  font-weight: 600;
}

.solidarity-quote {
  font-size: 0.84rem;
  color: #1F2937;
  line-height: 1.45;
  font-style: italic;
  margin: 0;
}

.solidarity-time {
  font-size: 0.7rem;
  color: #9CA3AF;
  font-weight: 600;
}

.modal-solidarity-card {
  max-width: 540px !important;
  width: 95% !important;
  border-radius: 18px !important;
  padding: 1.5rem !important;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #374151;
  display: block;
  margin-bottom: 0.25rem;
}

.form-text-input,
.form-textarea {
  width: 100%;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  font-size: 0.85rem;
  box-sizing: border-box;
  font-family: inherit;
}

.form-text-input:focus,
.form-textarea:focus {
  border-color: #059669;
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.preset-messages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.btn-preset-msg {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.76rem;
  text-align: left;
  cursor: pointer;
  color: #374151;
  line-height: 1.35;
  transition: all 0.15s ease;
}

.btn-preset-msg:hover,
.btn-preset-msg.active {
  background: #ECFDF5;
  border-color: #34D399;
  color: #064E3B;
  font-weight: 700;
}

.solidarity-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.safe-filter-guarantee {
  font-size: 0.72rem;
  color: #059669;
  font-weight: 700;
}

.btn-post-solidarity {
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
}

@media (max-width: 600px) {
  
  .hotdog-tabs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
  }

  .hotdog-item {
    border-radius: 12px;
  }

  .hotdog-bar {
    padding: 0.42rem 0.48rem !important;
    gap: 0.35rem;
  }

  .hotdog-avatar {
    width: 32px !important;
    height: 32px !important;
  }

  .hotdog-rank {
    font-size: 0.65rem !important;
    padding: 0.1rem 0.25rem !important;
  }

  .hotdog-name {
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
    max-height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .hotdog-friendly-sub {
    font-size: 0.65rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .gas-meter-pill-badge {
    font-size: 0.65rem !important;
    padding: 0.12rem 0.35rem !important;
  }

  .hotdog-hover-preview {
    padding: 0.45rem 0.48rem !important;
  }

  .hotdog-photos-strip {
    gap: 0.25rem !important;
  }

  .hotdog-photo-thumb {
    height: 48px !important;
    border-radius: 6px !important;
  }

  .compact-fuel-meta {
    font-size: 0.7rem !important;
  }

  .compact-fuel-raised {
    font-size: 0.75rem !important;
  }

  .hotdog-quick-actions-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.25rem !important;
  }

  .hotdog-quick-actions-row .btn-compact-share {
    display: inline-flex !important;
  }

  .hotdog-quick-actions-row .hotdog-click-prompt,
  .hotdog-quick-actions-row .btn-story-card-trigger,
  .hotdog-quick-actions-row .btn-compact-share {
    min-height: 32px !important;
    max-height: 32px !important;
    font-size: 0.68rem !important;
    padding: 0 !important;
  }

  .btn-compact-donate-full,
  .hotdog-quick-actions .btn-compact-donate-full {
    min-height: 34px !important;
    font-size: 0.74rem !important;
    padding: 0.35rem 0.45rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hotdog-item.expanded {
    grid-column: 1 / -1 !important;
    z-index: 50;
  }

  .hotdog-item.expanded .hotdog-avatar {
    width: 42px !important;
    height: 42px !important;
  }

  .hotdog-item.expanded .hotdog-name {
    font-size: 1rem !important;
    -webkit-line-clamp: unset;
  }

  .hotdog-item.expanded .hotdog-photo-thumb {
    height: 70px !important;
  }
}

@media (max-width: 600px) {

  .hotdog-tabs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
  }

  .hotdog-bar {
    padding: 0.45rem 0.4rem !important;
    gap: 0.25rem !important;
    align-items: center !important;
  }

  .hotdog-avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
  }

  .hotdog-rank {
    display: none !important; 
  }

  .hotdog-title-stack {
    min-width: 0 !important;
    flex: 1 !important;
  }

  .hotdog-name {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    line-height: 1.2 !important;
  }

  .hotdog-friendly-sub {
    font-size: 0.62rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  .gas-meter-pill-badge {
    font-size: 0.64rem !important;
    padding: 0.1rem 0.3rem !important;
    flex-shrink: 0 !important;
  }

  .hotdog-hover-preview {
    padding: 0.45rem !important;
  }

  .hotdog-photos-strip {
    gap: 0.2rem !important;
  }

  .hotdog-photo-thumb {
    height: 42px !important;
  }

  .compact-fuel-raised {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
  }

  .compact-fuel-goal {
    font-size: 0.62rem !important;
  }

  .compact-fuel-pct {
    display: none !important;
  }

  .compact-fuel-track {
    height: 18px !important;
  }

  .compact-fuel-pct-in-bar {
    font-size: 0.64rem !important;
  }

  .fotw-progress-pct {
    display: none !important;
  }

  .fotw-progress-track {
    height: 20px !important;
  }

  .fotw-progress-pct-in-bar {
    font-size: 0.68rem !important;
  }

  .btn-compact-donate-full,
  .hotdog-quick-actions .btn-compact-donate-full {
    min-height: 34px !important;
    font-size: 0.76rem !important;
    padding: 0.35rem 0.25rem !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .hotdog-quick-actions .btn-compact-donate-full::after {
    content: none !important;
    display: none !important;
  }

  .hotdog-item.expanded {
    grid-column: 1 / -1 !important;
  }

  .hotdog-item.expanded .hotdog-avatar {
    width: 38px !important;
    height: 38px !important;
  }

  .hotdog-item.expanded .hotdog-name {
    font-size: 0.95rem !important;
    white-space: normal !important;
  }

  .hotdog-item.expanded .hotdog-photo-thumb {
    height: 65px !important;
  }

}

.modal-install-guide-card {
  max-width: 480px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1.25rem 1.25rem;
  background: #FFFFFF;
  border-radius: 22px;
  border: 1.5px solid #A7F3D0;
  box-shadow: 0 20px 48px rgba(4, 120, 87, 0.22);
  text-align: left;
  position: relative;
}

.modal-install-guide-card .modal-close-btn {
  position: absolute !important;
  top: 0.9rem !important;
  right: 0.9rem !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #F3F4F6 !important;
  border: 1px solid #E5E7EB !important;
  color: #4B5563 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  z-index: 20 !important;
  transition: all 0.2s ease !important;
}

.modal-install-guide-card .modal-close-btn:hover {
  background: #E5E7EB !important;
  color: #111827 !important;
}

[dir="rtl"] .modal-install-guide-card .modal-close-btn {
  right: auto !important;
  left: 0.9rem !important;
}

.install-guide-header {
  text-align: center;
  margin-bottom: 1.1rem;
}

.install-guide-icon {
  font-size: 2.3rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.install-guide-title {
  font-family: var(--font-heading, "Fraunces", serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: #064E3B;
  margin: 0 0 0.35rem;
}

.install-guide-sub {
  font-size: 0.88rem;
  color: #4B5563;
  margin: 0;
  line-height: 1.45;
}

.install-inapp-alert {
  background: #FEF3C7;
  border: 1.5px solid #FCD34D;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  color: #92400E;
}

.install-inapp-alert p {
  margin: 0.25rem 0 0;
  line-height: 1.4;
}

.install-device-card {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.install-device-card.ios-card {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.device-badge {
  font-weight: 800;
  font-size: 0.84rem;
  color: #065F46;
  margin-bottom: 0.5rem;
}

.install-device-card.ios-card .device-badge {
  color: #334155;
}

.install-steps-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.83rem;
  color: #374151;
  line-height: 1.5;
}

.install-steps-list li {
  margin-bottom: 0.3rem;
}

.install-steps-list li:last-child {
  margin-bottom: 0;
}

.tier5-impact-glass {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 16px 36px -10px rgba(6, 78, 59, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
  border-radius: 20px !important;
  padding: 1.1rem 1.35rem !important;
  margin-bottom: 1.25rem !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.tier5-impact-glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px -12px rgba(6, 95, 70, 0.20), 0 0 0 1px rgba(16, 185, 129, 0.4) inset !important;
}

.tier5-impact-metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.18);
  flex-wrap: wrap;
}

.impact-metric-pill {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.impact-metric-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #047857;
  text-transform: uppercase;
}

.impact-metric-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0F172A;
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
}

.impact-green-highlight {
  color: #059669 !important;
}

.impact-metric-divider {
  width: 1px;
  height: 28px;
  background: rgba(16, 185, 129, 0.25);
}

.tier5-glow-btn {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.tier5-glow-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45) !important;
}

.tier5-glow-btn:active {
  transform: translateY(0) scale(0.98) !important;
}

.verified-family-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}

.verified-family-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -8px rgba(6, 78, 59, 0.16), 0 0 0 1.5px rgba(16, 185, 129, 0.35) !important;
}

.match-photos-mini-carousel::-webkit-scrollbar {
  height: 5px;
}

.match-photos-mini-carousel::-webkit-scrollbar-thumb {
  background: #A7F3D0;
  border-radius: 999px;
}

.match-gallery-thumb {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #E2E8F0;
  cursor: pointer;
  opacity: 0.72;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.match-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.match-gallery-thumb:hover {
  opacity: 1;
  transform: scale(1.05);
  border-color: #10B981;
}

.match-gallery-thumb.active {
  opacity: 1;
  border-color: #10B981;
  border-width: 2.5px;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .tier5-impact-metrics-row {
    justify-content: space-around;
    gap: 0.5rem;
  }
  .impact-metric-val {
    font-size: 1.1rem;
  }
  .impact-metric-divider {
    display: none;
  }
  .impact-metric-pill {
    align-items: center;
    text-align: center;
  }
}

.hotdog-item:not(.expanded) .hotdog-avatar {
  display: none !important;
}

.hotdog-item:not(.expanded) .hotdog-photo-thumb:not(:first-child) {
  display: none !important;
}

.hotdog-item:not(.expanded) .hotdog-photos-strip {
  display: block !important;
  position: relative !important;
  margin-bottom: 0.52rem !important;
}

.hotdog-item:not(.expanded) .hotdog-photo-thumb:first-child {
  width: 100% !important;
  height: 172px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1.5px solid #A7F3D0 !important;
  box-shadow: 0 6px 16px rgba(6, 78, 59, 0.1) !important;
  cursor: pointer;
}

.hotdog-item:not(.expanded) .hotdog-photo-thumb:first-child .thumb-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 28%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hotdog-item:not(.expanded):hover .hotdog-photo-thumb:first-child .thumb-img {
  transform: scale(1.035) !important;
}

.single-photo-count-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  color: #FFFFFF;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  letter-spacing: 0.015em;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  transition: all 0.2s ease;
}

.hotdog-item:not(.expanded):hover .single-photo-count-pill {
  background: rgba(15, 23, 42, 0.58);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.02);
}

.hotdog-item.expanded .single-photo-count-pill {
  display: none !important;
}

.hotdog-item.expanded .hotdog-photos-strip {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.65rem !important;
  margin-bottom: 0.65rem !important;
}

.hotdog-item.expanded .hotdog-photo-thumb {
  display: block !important;
  height: 155px !important;
  border-radius: 12px !important;
}

.hotdog-quick-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 0.4rem !important;
  margin-top: 0.48rem !important;
  width: 100% !important;
}

.hotdog-quick-actions .btn-compact-donate-full {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 0.75rem !important;
  border-radius: 10px !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.32rem !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: all 0.16s ease !important;
}

.hotdog-quick-actions .btn-compact-donate-full:not(.is-completed):not(.pending) {
  background: #047857 !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.22) !important;
}

.hotdog-quick-actions .btn-compact-donate-full:not(.is-completed):not(.pending):hover {
  background: #059669 !important;
  background-image: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.36) !important;
}

.hotdog-quick-actions-row {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.28rem !important;
  width: auto !important;
}

.hotdog-quick-actions-row > button {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  height: 31px !important;
  min-height: 31px !important;
  max-height: 31px !important;
  padding: 0 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.16s ease !important;
}

.hotdog-quick-actions-row .hotdog-click-prompt {
  background: #F0FDF4 !important;
  color: #065F46 !important;
  border: 1.5px solid #86EFAC !important;
}

.hotdog-quick-actions-row .hotdog-click-prompt:hover {
  background: #DCFCE7 !important;
  border-color: #10B981 !important;
  transform: translateY(-1px);
}

.hotdog-quick-actions-row .btn-story-card-trigger {
  background: #F8FAFC !important;
  color: #374151 !important;
  border: 1.5px solid #CBD5E1 !important;
}

.hotdog-quick-actions-row .btn-story-card-trigger:hover {
  background: #ECFDF5 !important;
  color: #047857 !important;
  border-color: #10B981 !important;
  transform: translateY(-1px);
}

.hotdog-quick-actions-row .btn-compact-share {
  background: #F8FAFC !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
}

.hotdog-quick-actions-row .btn-compact-share:hover {
  background: #ECFDF5 !important;
  color: #065F46 !important;
  border-color: #10B981 !important;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .hotdog-item:not(.expanded) .hotdog-photo-thumb:first-child {
    height: 118px !important;
  }

  .single-photo-count-pill {
    font-size: 0.58rem;
    padding: 0.16rem 0.44rem;
    bottom: 6px;
    right: 6px;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
  }

  .hotdog-item.expanded .hotdog-photos-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
  }

  .hotdog-item.expanded .hotdog-photo-thumb {
    height: 110px !important;
  }

  .hotdog-quick-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.3rem !important;
  }

  .hotdog-quick-actions-row {
    order: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.25rem !important;
    width: 100% !important;
  }

  .hotdog-quick-actions-row > button {
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }

  .hotdog-quick-actions .btn-compact-donate-full {
    order: 2 !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    min-height: 36px !important;
    max-height: 36px !important;
    font-size: 0.78rem !important;
  }
}

#shareFamilyModal {
  z-index: 99999 !important;
}

.share-family-modal-card {
  position: relative !important;
  max-width: 480px !important;
  width: 94% !important;
  border-radius: 22px !important;
  border: 2px solid #A7F3D0 !important;
  background: #FFFFFF !important;
  box-shadow: 0 24px 54px -12px rgba(6, 78, 59, 0.42) !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.share-modal-close-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
  transition: background 0.15s ease !important;
}

.share-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.32) !important;
}

.share-modal-header {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 1.1rem 3.2rem 1.1rem 1.25rem !important;
  background: linear-gradient(135deg, #064E3B 0%, #047857 60%, #9F1239 100%) !important;
  color: #FFFFFF !important;
}

.share-modal-avatar {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  border: 2px solid #6EE7B7 !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.share-modal-title-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.12rem !important;
  min-width: 0 !important;
}

.share-modal-eyebrow {
  display: block !important;
  font-size: 0.66rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  color: #A7F3D0 !important;
  text-transform: uppercase !important;
}

.share-modal-title {
  margin: 0 !important;
  font-size: 1.12rem !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.share-modal-sub {
  font-size: 0.74rem !important;
  color: #ECFDF5 !important;
  opacity: 0.92 !important;
}

.share-modal-section {
  padding: 0.95rem 1.25rem 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.55rem !important;
}

.share-modal-section:last-child {
  padding-bottom: 1.25rem !important;
}

.share-modal-label {
  display: block !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  color: #065F46 !important;
  margin: 0 !important;
}

.share-url-copy-box {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  background: #F8FAFC !important;
  border: 1.5px solid #A7F3D0 !important;
  border-radius: 12px !important;
  padding: 0.4rem 0.45rem !important;
}

.share-url-readonly-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0.45rem 0.6rem !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 0.76rem !important;
  font-family: var(--font-sans) !important;
  color: #1E293B !important;
  background: transparent !important;
  outline: none !important;
}

.btn-share-copy-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.32rem !important;
  background: #047857 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 9px !important;
  padding: 0.54rem 0.88rem !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.24) !important;
  transition: all 0.16s ease !important;
}

.btn-share-copy-primary:hover {
  transform: translateY(-1px) !important;
  background: #059669 !important;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.36) !important;
}

.btn-share-copy-secondary {
  width: 100% !important;
  background: #ECFDF5 !important;
  color: #065F46 !important;
  border: 1.5px solid #6EE7B7 !important;
  border-radius: 10px !important;
  padding: 0.52rem 0.78rem !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: all 0.16s ease !important;
}

.btn-share-copy-secondary:hover {
  background: #D1FAE5 !important;
}

.btn-share-native-devices {
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0.78rem 1rem !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.28) !important;
  transition: all 0.16s ease !important;
}

.btn-share-native-devices:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.38) !important;
}

.share-apps-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.45rem !important;
  margin-top: 0.15rem !important;
}

.share-app-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
  padding: 0.56rem 0.45rem !important;
  border-radius: 10px !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border: 1.5px solid #E2E8F0 !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.share-app-pill:hover {
  transform: translateY(-1px) !important;
  border-color: #10B981 !important;
  background: #F0FDF4 !important;
  color: #065F46 !important;
}

.share-app-pill.poster-btn {
  background: #FFF1F2 !important;
  color: #BE123C !important;
  border-color: #FECDD3 !important;
}

.share-app-pill.poster-btn:hover {
  background: #FFE4E6 !important;
  border-color: #F43F5E !important;
}

.solidarity-live-ticker {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1.5px solid rgba(16, 185, 129, 0.25) !important;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.05) !important;
  position: relative;
  z-index: 45;
}

.ticker-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap !important;
  overflow: hidden;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.pulse-emerald-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseEmeraldDot 1.8s infinite;
}

@keyframes pulseEmeraldDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ticker-badge-text {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #065F46;
  text-transform: uppercase;
}

.ticker-viewport {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  height: 26px;
  display: flex;
  align-items: center;
}

.ticker-message {
  font-size: 0.86rem;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.ticker-message.active {
  opacity: 1;
  transform: translateY(0);
}

.ticker-action-link {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.75rem;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF !important;
  font-size: 0.74rem;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.28);
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.ticker-action-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.42);
}

@media (max-width: 768px) {
  .solidarity-live-ticker .ticker-inner {
    flex-wrap: wrap !important;
    gap: 0.32rem 0.5rem !important;
    padding: 0.5rem 0.85rem !important;
    overflow: visible !important;
  }

  .solidarity-live-ticker .ticker-badge {
    order: 1 !important;
    padding: 0.16rem 0.52rem !important;
  }

  .solidarity-live-ticker .ticker-badge-text {
    font-size: 0.64rem !important;
  }

  .solidarity-live-ticker .ticker-action-link {
    order: 2 !important;
    margin-left: auto !important;
    font-size: 0.72rem !important;
    padding: 0.18rem 0.58rem !important;
  }

  .solidarity-live-ticker .ticker-viewport {
    order: 3 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 20px !important;
    overflow: visible !important;
  }

  .solidarity-live-ticker .ticker-message {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.38 !important;
    font-size: 0.81rem !important;
  }
}

.almost-funded-spotlight {
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 35%, #ECFDF5 100%) !important;
  border: 2px solid #F59E0B !important;
  border-radius: 18px !important;
  padding: 1rem 1.25rem !important;
  box-shadow: 0 10px 28px -6px rgba(245, 158, 11, 0.22) !important;
  position: relative;
  overflow: hidden;
}

.almost-funded-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.almost-funded-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #B45309;
  color: #FEF3C7;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.almost-funded-title {
  font-family: var(--font-heading, "Fraunces", serif);
  font-size: 1.22rem;
  font-weight: 800;
  color: #78350F;
  margin: 0;
}

.almost-funded-sub {
  font-size: 0.82rem;
  color: #92400E;
  margin: 0.15rem 0 0;
}

.almost-funded-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
}

.almost-funded-card {
  background: #FFFFFF;
  border: 1.5px solid #FCD34D;
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.almost-funded-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
  border-color: #F59E0B;
}

.almost-card-avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #F59E0B;
}

.almost-card-details {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.almost-card-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.almost-card-bar-track {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.2rem 0;
}

.almost-card-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
  border-radius: 999px;
  transition: width 0.5s ease;
}

.almost-card-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
}

.almost-card-needed {
  font-weight: 800;
  color: #B45309;
}

.almost-card-pct {
  font-weight: 900;
  color: #047857;
}

.btn-almost-complete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 0.45rem 0.75rem !important;
  border-radius: 9px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.28) !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  align-self: flex-start;
  margin-top: 0.2rem;
}

.btn-almost-complete:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(225, 29, 72, 0.42) !important;
}

@media (min-width: 900px) {
  .directory-scale-bar {
    position: sticky !important;
    top: 66px !important;
    z-index: 85 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border-radius: 16px !important;
    border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 12px 32px -8px rgba(6, 78, 59, 0.16) !important;
    transition: all 0.25s ease !important;
  }
}

.filter-pill-almost {
  background: #FFFBEB !important;
  color: #B45309 !important;
  border-color: #FCD34D !important;
}

.filter-pill-almost.active,
.filter-pill-almost:hover {
  background: #F59E0B !important;
  color: #FFFFFF !important;
  border-color: #D97706 !important;
}

.photo-lightbox-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.photo-lightbox-modal.hidden {
  display: none !important;
}

.lightbox-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(3, 7, 18, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.lightbox-container {
  position: relative !important;
  z-index: 2 !important;
  max-width: 960px !important;
  width: 94% !important;
  max-height: 92vh !important;
  display: flex !important;
  flex-direction: column !important;
  background: #0B0F19 !important;
  border: 1.5px solid rgba(16, 185, 129, 0.4) !important;
  border-radius: 20px !important;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.7) !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.lightbox-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.85rem 1.25rem !important;
  background: rgba(15, 23, 42, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.lightbox-counter-badge {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #6EE7B7 !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 0.22rem 0.55rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
}

.lightbox-title-text {
  font-weight: 800 !important;
  color: #FFFFFF !important;
  font-size: 0.94rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.15s ease !important;
}

.lightbox-close-btn:hover {
  background: rgba(225, 29, 72, 0.8) !important;
  border-color: #E11D48 !important;
}

.lightbox-stage {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  padding: 0.75rem !important;
  height: 54vh !important;
  min-height: 380px !important;
  max-height: 560px !important;
  background: #030712 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.lightbox-image-wrap {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.lightbox-image-wrap img,
#lightboxImg {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.lightbox-nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(15, 23, 42, 0.75) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.16s ease !important;
  z-index: 5 !important;
}

.lightbox-nav-btn.prev { left: 14px !important; }
.lightbox-nav-btn.next { right: 14px !important; }

.lightbox-nav-btn:hover {
  background: #059669 !important;
  border-color: #10B981 !important;
  transform: translateY(-50%) scale(1.08) !important;
}

.lightbox-footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.55rem !important;
  padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px)) !important;
  background: rgba(15, 23, 42, 0.98) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.lightbox-caption {
  font-size: 0.84rem !important;
  color: #94A3B8 !important;
  margin: 0 !important;
  text-align: center !important;
  max-width: 680px !important;
  line-height: 1.35 !important;
}

.lightbox-action-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0.15rem 0 !important;
}

.btn-lightbox-support {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  background: #047857 !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 0.65rem 1.85rem !important;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(4, 120, 87, 0.38) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease !important;
  margin: 0 auto !important;
}

.btn-lightbox-support:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.5) !important;
  background: #059669 !important;
}

.lightbox-thumbs {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  width: 100% !important;
}

.lightbox-thumb {
  width: 54px !important;
  height: 40px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
  cursor: pointer !important;
  opacity: 0.6 !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
}

.lightbox-thumb.active {
  border-color: #10B981 !important;
  opacity: 1 !important;
  transform: scale(1.05) !important;
}

.lightbox-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.flyer-print-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 100100 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow-y: auto !important;
  padding: 1.5rem 0.5rem !important;
  box-sizing: border-box !important;
}

.flyer-print-modal.hidden {
  display: none !important;
}

.flyer-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(3, 7, 18, 0.85) !important;
  backdrop-filter: blur(8px) !important;
}

.flyer-modal-window {
  position: relative !important;
  z-index: 2 !important;
  max-width: 820px !important;
  width: 96% !important;
  background: #FFFFFF !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4) !important;
  overflow: hidden !important;
}

.flyer-modal-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.85rem 1.25rem !important;
  background: #064E3B !important;
  color: #FFFFFF !important;
}

.flyer-bar-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
}

.btn-print-flyer-action {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 0.5rem 0.95rem !important;
  border-radius: 9px !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3) !important;
}

.flyer-modal-close {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  border: none !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
}

.printable-flyer-sheet {
  padding: 1.5rem !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  font-family: var(--font-sans) !important;
}

.flyer-header-banner {
  border-bottom: 3px solid #064E3B !important;
  padding-bottom: 0.85rem !important;
  margin-bottom: 1rem !important;
}

.flyer-sub-eyebrow {
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  color: #BE123C !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 0.2rem !important;
}

.flyer-headline {
  font-family: var(--font-heading, "Fraunces", serif) !important;
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  color: #064E3B !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.flyer-body-grid {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  gap: 1.25rem !important;
}

.flyer-photo-frame {
  width: 240px !important;
  height: 240px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 2px solid #064E3B !important;
  margin-bottom: 0.85rem !important;
}

.flyer-photo-frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.flyer-qr-box {
  text-align: center !important;
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 12px !important;
  padding: 0.65rem !important;
}

.flyer-qr-canvas {
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 0.4rem !important;
}

.flyer-qr-caption {
  font-size: 0.66rem !important;
  font-weight: 800 !important;
  color: #065F46 !important;
  display: block !important;
  line-height: 1.3 !important;
}

.flyer-family-name-box h2 {
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  margin: 0 0 0.25rem !important;
}

.flyer-verified-seal {
  display: inline-block !important;
  background: #ECFDF5 !important;
  color: #065F46 !important;
  border: 1px solid #6EE7B7 !important;
  padding: 0.18rem 0.55rem !important;
  border-radius: 999px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
}

.flyer-progress-summary {
  margin: 0.85rem 0 !important;
  padding: 0.65rem 0.85rem !important;
  background: #F0FDF4 !important;
  border: 1px solid #A7F3D0 !important;
  border-radius: 10px !important;
}

.flyer-progress-numbers {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  color: #065F46 !important;
  margin-bottom: 0.35rem !important;
}

.flyer-progress-bar-track {
  width: 100% !important;
  height: 9px !important;
  background: #E2E8F0 !important;
  border-radius: 999px !important;
  overflow: hidden !important;
}

.flyer-progress-bar-fill {
  height: 100% !important;
  background: #10B981 !important;
  border-radius: 999px !important;
}

.flyer-story-box {
  margin: 0.85rem 0 !important;
}

.flyer-story-box h3 {
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em !important;
  color: #065F46 !important;
  margin: 0 0 0.35rem !important;
}

.flyer-story-box p {
  font-size: 0.84rem !important;
  line-height: 1.5 !important;
  color: #334155 !important;
  margin: 0 !important;
}

.flyer-trust-footer {
  border-top: 1px dashed #CBD5E1 !important;
  padding-top: 0.65rem !important;
  font-size: 0.72rem !important;
  color: #64748B !important;
  line-height: 1.4 !important;
}

@media print {
  body.printing-family-flyer > *:not(#familyFlyerPrintModal) {
    display: none !important;
  }
  body.printing-family-flyer #familyFlyerPrintModal,
  body.printing-family-flyer #familyFlyerPrintModal * {
    visibility: visible !important;
  }
  body.printing-family-flyer #familyFlyerPrintModal {
    position: static !important;
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    background: #FFFFFF !important;
  }
  body.printing-family-flyer .flyer-modal-backdrop,
  body.printing-family-flyer .no-print {
    display: none !important;
  }
  body.printing-family-flyer .flyer-modal-window {
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    max-width: none !important;
  }
  body.printing-family-flyer .printable-flyer-sheet {
    padding: 0.5in !important;
  }
}

.goal-adjusted-badge {
  display: none !important;
}

.admin-goal-filter-btn.active {
  background: #0F172A !important;
  color: #FFFFFF !important;
  border-color: #0F172A !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}

.goal-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.goal-status-badge.flagged {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #F87171;
}

.goal-status-badge.intact {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #6EE7B7;
}

.goal-history-card {
  border-left: 3px solid #3B82F6;
  background: #F8FAFC;
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.goal-history-card.flagged {
  border-left-color: #EF4444;
  background: #FFF1F2;
}

.goal-history-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748B;
  margin-bottom: 0.25rem;
}

.goal-history-note {
  font-size: 0.84rem;
  color: #1E293B;
  line-height: 1.4;
  font-weight: 500;
}

.nav-live-stream-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  text-decoration: none;
  font-size: 0.74rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.nav-live-stream-pill.is-live {
  background: linear-gradient(135deg, #140508 0%, #26070F 55%, #140508 100%) !important;
  border: 1.5px solid #EF4444 !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.5), inset 0 0 8px rgba(239, 68, 68, 0.22) !important;
  animation: recPillBreath 2.2s infinite ease-in-out;
}

.nav-live-stream-pill.is-live .rec-tally-tag {
  color: #FF3B53 !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  font-family: var(--font-sans) !important;
  font-variant-numeric: tabular-nums !important;
  font-size: 0.74rem !important;
  text-shadow: 0 0 8px rgba(255, 59, 83, 0.6) !important;
}

.nav-live-stream-pill.is-live .rec-tally-sep {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.68rem !important;
}

.nav-live-stream-pill.is-live .rec-tally-live {
  color: #FFFFFF !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  font-size: 0.73rem !important;
}

.nav-live-stream-pill.is-live:hover {
  background: linear-gradient(135deg, #22080E 0%, #380A15 50%, #22080E 100%) !important;
  border-color: #FF0033 !important;
  transform: translateY(-1.5px) scale(1.04) !important;
  box-shadow: 0 0 22px rgba(255, 0, 51, 0.75), 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 0 12px rgba(255, 0, 51, 0.35) !important;
}

.nav-live-stream-pill.is-live:hover .live-dot-pulse {
  background: #FF1744 !important;
  box-shadow: 0 0 12px #FF1744, 0 0 24px rgba(255, 23, 68, 1) !important;
  animation-duration: 0.6s !important;
}

.nav-live-stream-pill.is-live:hover .live-dot-pulse::after {
  animation-duration: 0.85s !important;
}

.nav-live-stream-pill.is-live:hover .rec-tally-tag {
  color: #FF5E73 !important;
  text-shadow: 0 0 12px rgba(255, 94, 115, 0.95) !important;
}

.nav-live-stream-pill.is-live:active {
  transform: translateY(0) scale(0.96) !important;
  box-shadow: 0 0 10px rgba(255, 0, 51, 0.6) !important;
}

.nav-live-stream-pill.not-live {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #065F46 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  animation: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .nav-live-stream-pill.not-live {
  color: #6EE7B7 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-live-stream-pill.not-live:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #34D399;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transform: translateY(-1px);
}

.nav-tiktok-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.live-dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF0033 !important;
  box-shadow: 0 0 10px #FF0033, 0 0 20px rgba(255, 0, 51, 0.95), inset 0 1px 2px rgba(255, 255, 255, 0.85) !important;
  animation: recTallyBlink 1.1s infinite cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
  display: inline-block;
  margin-right: 1px;
}

.live-dot-pulse::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 0, 51, 0.9);
  animation: recTallyRadar 1.3s infinite cubic-bezier(0, 0.2, 0.8, 1);
  pointer-events: none;
  box-sizing: content-box;
}

@keyframes recTallyBlink {
  0%, 68% {
    opacity: 1;
    transform: scale(1);
    background-color: #FF0033;
    box-shadow: 0 0 10px #FF0033, 0 0 20px rgba(255, 0, 51, 0.95), inset 0 1px 2px rgba(255, 255, 255, 0.85);
  }
  78%, 90% {
    opacity: 0.22;
    transform: scale(0.85);
    background-color: #880015;
    box-shadow: 0 0 2px rgba(136, 0, 21, 0.4);
  }
  97%, 100% {
    opacity: 1;
    transform: scale(1);
    background-color: #FF0033;
    box-shadow: 0 0 10px #FF0033, 0 0 20px rgba(255, 0, 51, 0.95), inset 0 1px 2px rgba(255, 255, 255, 0.85);
  }
}

@keyframes recTallyRadar {
  0% {
    width: 9px;
    height: 9px;
    opacity: 1;
    border-width: 2px;
  }
  100% {
    width: 22px;
    height: 22px;
    opacity: 0;
    border-width: 1px;
  }
}

@keyframes recPillBreath {
  0%, 100% {
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4), inset 0 0 6px rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.85);
  }
  50% {
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.7), inset 0 0 10px rgba(239, 68, 68, 0.3);
    border-color: #FF0033;
  }
}

.community-tiktok-banner.live-broadcast-active,
.hero-tiktok-banner.live-broadcast-active {
  background: linear-gradient(90deg, #12040B 0%, #1A0713 40%, #061910 100%) !important;
  border: 2px solid #E11D48 !important;
  box-shadow: 0 8px 30px rgba(225, 29, 72, 0.35), 0 0 18px rgba(16, 185, 129, 0.25) !important;
  position: relative;
  overflow: hidden;
}
.community-tiktok-banner.live-broadcast-active::before,
.hero-tiktok-banner.live-broadcast-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: broadcastShimmer 3.5s infinite;
}
.community-tiktok-banner.guest-broadcast-active,
.hero-tiktok-banner.guest-broadcast-active {
  background: linear-gradient(90deg, #13071A 0%, #1A0713 45%, #051A10 100%) !important;
  border: 2px solid #F43F5E !important;
  box-shadow: 0 8px 30px rgba(244, 63, 94, 0.4), 0 0 20px rgba(16, 185, 129, 0.3) !important;
}
.community-tiktok-banner.guest-broadcast-active .live-badge-beacon,
.hero-tiktok-banner.guest-broadcast-active .live-badge-beacon {
  background: linear-gradient(135deg, #E11D48 0%, #8B5CF6 100%) !important;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.7) !important;
}
.community-tiktok-banner.guest-broadcast-active .live-cta-pill,
.hero-tiktok-banner.guest-broadcast-active .live-cta-pill {
  background: linear-gradient(135deg, #E11D48 0%, #10B981 100%) !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.5) !important;
}
@keyframes broadcastShimmer {
  0% { left: -100%; }
  60%, 100% { left: 200%; }
}
.community-tiktok-icon,
.hero-tiktok-icon,
.broadcast-live-icon {
  position: relative !important;
}
.live-pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  max-width: 60px;
  max-height: 60px;
  border-radius: 14px;
  border: 2px solid #E11D48;
  animation: liveRingPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
  box-sizing: border-box;
}
@keyframes liveRingPing {
  0% { transform: scale(0.95); opacity: 1; }
  75%, 100% { transform: scale(1.35); opacity: 0; }
}
.community-tiktok-topline,
.hero-tiktok-topline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.live-badge-beacon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #E11D48;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.6);
}
.beacon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  animation: liveDotBlink 0.9s infinite alternate;
}
.live-cta-pill {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 14px rgba(225, 29, 72, 0.45) !important;
}

.community-tiktok-banner:not(.live-broadcast-active) .live-badge-beacon,
.hero-tiktok-banner:not(.live-broadcast-active) .live-badge-beacon {
  background: rgba(16, 185, 129, 0.18) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  color: #6EE7B7 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2) !important;
}
.community-tiktok-banner:not(.live-broadcast-active) .live-cta-pill,
.hero-tiktok-banner:not(.live-broadcast-active) .live-cta-pill {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.35) !important;
}
.ticker-badge.is-live {
  background: #FFE4E6 !important;
  border: 1.5px solid #F43F5E !important;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.25) !important;
}
.ticker-badge.is-live .ticker-badge-text {
  color: #9F1239 !important;
  font-weight: 900 !important;
}
.ticker-badge.is-live .pulse-emerald-dot {
  background: #E11D48 !important;
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7) !important;
  animation: pulseLiveRedDot 1.5s infinite !important;
}
@keyframes pulseLiveRedDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}
.ticker-action-link.is-live,
a[data-ticker-action="open-live"] {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 12px rgba(225, 29, 72, 0.4) !important;
  border: none !important;
  font-weight: 900 !important;
  animation: pulseLiveBtn 2s infinite !important;
}
@keyframes pulseLiveBtn {
  0%, 100% { transform: scale(1); box-shadow: 0 3px 12px rgba(225, 29, 72, 0.4); }
  50% { transform: scale(1.04); box-shadow: 0 5px 18px rgba(225, 29, 72, 0.7); }
}

body[data-theme^="dark-"] .ticker-badge.is-live,
body.is-dark-mode .ticker-badge.is-live {
  background: rgba(225, 29, 72, 0.25) !important;
  border-color: rgba(244, 63, 94, 0.6) !important;
}
body[data-theme^="dark-"] .ticker-badge.is-live .ticker-badge-text,
body.is-dark-mode .ticker-badge.is-live .ticker-badge-text {
  color: #FECDD3 !important;
}
.live-impact-ticker-badge.is-live {
  background: rgba(225, 29, 72, 0.2) !important;
  border-color: rgba(225, 29, 72, 0.5) !important;
}
.live-impact-ticker-badge.is-live .impact-badge-text {
  color: #FDA4AF !important;
}
.live-impact-ticker-badge.is-live .impact-pulse-dot {
  background: #E11D48 !important;
  box-shadow: 0 0 8px #E11D48 !important;
}

.btn-rally-wheel-live {
  background: linear-gradient(135deg, #059669 0%, #047857 50%, #B45309 100%) !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35), 0 0 10px rgba(245, 158, 11, 0.25) !important;
  border: 1.5px solid #34D399 !important;
  padding: 0.48rem 1rem !important;
  font-size: 0.82rem !important;
  gap: 0.45rem !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.btn-rally-wheel-live:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.5), 0 0 16px rgba(245, 158, 11, 0.4) !important;
}
.btn-rally-wheel-live.is-spinning {
  opacity: 0.85;
  cursor: wait;
}
.rally-icon-spin {
  display: inline-block;
  animation: diceWiggle 1.5s infinite ease-in-out;
}
.btn-rally-wheel-live.is-spinning .rally-icon-spin {
  animation: diceSpin 0.3s infinite linear;
}
@keyframes diceWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}
@keyframes diceSpin {
  100% { transform: rotate(360deg); }
}

.finish-line-live-card {
  border: 2px solid #F59E0B !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.15) !important;
}
.finish-line-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}
.finish-line-rank-tag {
  font-size: 0.68rem;
  font-weight: 900;
  color: #B45309;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.finish-line-urgency {
  font-size: 0.72rem;
  font-weight: 800;
  color: #BE123C;
  background: #FFE4E6;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  animation: urgencyGlow 2s infinite alternate;
}
@keyframes urgencyGlow {
  0% { box-shadow: 0 0 0 rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 10px rgba(225, 29, 72, 0.35); }
}
.finish-line-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.finish-line-actions .btn-almost-complete {
  flex: 1;
}
.btn-finish-line-expand {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.42rem 0.6rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-finish-line-expand:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.presence-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: presencePulse 1.8s infinite;
  vertical-align: 1px;
  margin-right: 4px;
}

@keyframes presencePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.live-presence-val {
  color: #34D399 !important;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.watermelon-strip-presence {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #ECFDF5;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  margin-left: 0.6rem;
}

.solidarity-reactions-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.btn-solidarity-react {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid #D1FAE5;
  background: #F0FDF4;
  color: #065F46;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.btn-solidarity-react:hover {
  background: #DCFCE7;
  border-color: #34D399;
  transform: translateY(-1.5px) scale(1.05);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.btn-solidarity-react.active {
  background: #10B981;
  border-color: #059669;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.btn-solidarity-react.active .react-count {
  color: #FFFFFF;
}

.btn-solidarity-react.pop-anim {
  animation: reactPop 0.35s ease-out;
}

@keyframes reactPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.react-emoji {
  font-size: 0.9rem;
  line-height: 1;
}

.react-count {
  font-size: 0.72rem;
  font-weight: 800;
  color: #047857;
  font-variant-numeric: tabular-nums;
}

.filter-pill-saved {
  background: #FFFBEB !important;
  border-color: #FCD34D !important;
  color: #B45309 !important;
  font-weight: 800 !important;
}

.filter-pill-saved.active {
  background: #F59E0B !important;
  border-color: #D97706 !important;
  color: #FFFFFF !important;
}

.watermelon-heart-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  font-size: 3.5rem;
  pointer-events: none;
  z-index: 999;
  animation: watermelonHeartBurst 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  filter: drop-shadow(0 6px 18px rgba(225, 29, 72, 0.5));
}

@keyframes watermelonHeartBurst {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
  }
  25% {
    transform: translate(-50%, -50%) scale(1.35);
    opacity: 1;
  }
  65% {
    transform: translate(-50%, -85%) scale(1.1);
    opacity: 0.95;
  }
  100% {
    transform: translate(-50%, -140%) scale(0.65);
    opacity: 0;
  }
}

.hotdog-item {
  content-visibility: auto;
  contain-intrinsic-size: 0 280px;
}

.hotdog-avatar,
.hotdog-photo-thumb {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 640px) {
  .modal-backdrop {
    display: flex;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .share-family-modal-card,
  .modal-solidarity-card,
  .welcome-match-card,
  .quiz-matcher-card,
  .lang-modal-card {
    border-radius: 22px 22px 0 0 !important;
    max-height: 86vh !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
    animation: sheetSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    box-shadow: 0 -12px 38px rgba(0, 0, 0, 0.5) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  @keyframes sheetSlideUp {
    from {
      transform: translateY(100%);
      opacity: 0.8;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .bottom-sheet-handle {
    width: 44px;
    height: 5px;
    background: #CBD5E1;
    border-radius: 999px;
    margin: 0 auto 0.85rem auto;
    display: block;
  }
}

.toast.toast-floating-copied {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(6, 78, 59, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  border: 1.5px solid #34D399;
  border-radius: 999px;
  padding: 0.58rem 1.1rem 0.58rem 0.7rem;
  box-shadow: 0 12px 32px rgba(6, 78, 59, 0.35);
  font-weight: 800;
  font-size: 0.86rem;
}

.toast-check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 900;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .directory-filter-row {
    position: sticky;
    top: 56px;
    z-index: 88;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.45rem 0.5rem;
    margin: 0 -0.35rem 0.55rem -0.35rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(203, 213, 225, 0.75);
  }

  .filter-pills-group {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.38rem;
    padding-bottom: 2px;
  }

  .filter-pills-group::-webkit-scrollbar {
    display: none;
  }

  .filter-pills-group .filter-pill {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

.goal-reached-community-section {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: #0B1118;
  border: 1.5px solid rgba(16, 185, 129, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.goal-reached-community-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.goal-reached-header-left {
  flex: 1 1 420px;
}

.goal-reached-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #34D399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}

.goal-reached-title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.45rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 0.35rem 0;
}

.goal-reached-desc {
  font-size: 0.92rem;
  color: #94A3B8;
  line-height: 1.55;
  margin: 0;
}

.goal-reached-stats-box {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.goal-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #111827;
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  padding: 0.55rem 0.95rem;
  min-width: 135px;
  text-align: center;
}

.goal-stat-pill.goal-stat-pill-amber {
  background: #111827;
  border-color: rgba(245, 158, 11, 0.35);
}

.goal-stat-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: #34D399;
  line-height: 1.1;
}

.goal-stat-pill-amber .goal-stat-num {
  color: #FBBF24;
}

.goal-stat-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94A3B8;
  margin-top: 0.15rem;
}

.goal-next-graduate-banner {
  background: #0D141C;
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  border-radius: 16px;
  padding: 1.15rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.goal-next-banner-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.goal-next-pill {
  background: linear-gradient(135deg, #059669, #047857);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
}

.goal-next-explain {
  font-size: 0.84rem;
  font-weight: 600;
  color: #94A3B8;
  line-height: 1.45;
}

.goal-next-candidates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.95rem;
}

.goal-next-candidate-card {
  background: #111827;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.goal-next-candidate-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.goal-next-candidate-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.goal-next-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #10B981;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.goal-next-info {
  min-width: 0;
  flex: 1;
}

.goal-next-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.goal-next-rank-tag {
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.16);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.12rem 0.5rem;
  border-radius: 6px;
}

.goal-next-remaining-tag {
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.16);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.12rem 0.5rem;
  border-radius: 6px;
}

.goal-next-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #F8FAFC;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.goal-next-sub {
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 0.1rem;
}

.goal-next-progress-track {
  background: #1F2937 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  height: 18px !important;
  position: relative !important;
}

.goal-next-progress-track .compact-fuel-fill {
  background: linear-gradient(90deg, #059669 0%, #10B981 100%) !important;
  height: 100% !important;
}

.goal-next-progress-track .compact-fuel-pct-in-bar {
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 0.7rem !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.goal-next-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.btn-goal-next-support {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.28) !important;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.btn-goal-next-support:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4) !important;
}

.btn-goal-next-view {
  background: #1F2937;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #F1F5F9;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.52rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-goal-next-view:hover {
  background: #374151;
  color: #FFFFFF;
  border-color: #10B981;
  transform: translateY(-1px);
}

.goal-reached-empty-community-box {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #0F172A;
  border: 1.5px dashed rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
}

.goal-empty-left {
  flex: 1 1 380px;
}

.goal-empty-status-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.goal-empty-left h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.02rem;
  color: #FFFFFF;
  font-weight: 800;
}

.goal-empty-left p {
  margin: 0;
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.5;
}

.graduated-forever-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 900;
  background: #059669;
  color: #FFFFFF;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.3rem;
}

.saved-card-pill-indicator {
  display: inline-flex;
  align-items: center;
  background: #FFFBEB;
  color: #B45309;
  border: 1.5px solid #FBBF24;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  margin-right: 0.28rem;
  cursor: pointer;
}

.btn-drawer-save-later {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFBEB;
  color: #92400E;
  border: 1.5px solid #FCD34D;
  border-radius: 10px;
  padding: 0.48rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-drawer-save-later.is-saved {
  background: #ECFDF5;
  color: #065F46;
  border-color: #10B981;
}

.wallet-print-modal-card {
  max-width: 920px;
  width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.35rem;
  background: #F8FAFC;
  border-radius: 20px;
}

.wallet-print-modal-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 1.15rem;
}

.wallet-modal-subtitle {
  font-size: 0.86rem;
  color: #475569;
  margin: 0.25rem 0 0 0;
}

.wallet-modal-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.printable-wallet-sheet-4up {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: #FFFFFF;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid #CBD5E1;
}

@media (max-width: 680px) {
  .printable-wallet-sheet-4up {
    grid-template-columns: 1fr;
  }
}

.wallet-handout-card {
  position: relative;
  background: #FFFFFF;
  border: 2px dashed #64748B;
  border-radius: 12px;
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wallet-card-top-stripe {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0F172A 0%, #0F172A 33%, #059669 33%, #059669 66%, #E11D48 66%, #E11D48 100%);
  margin-bottom: 0.2rem;
}

.wallet-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.wallet-card-brand {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #065F46;
}

.wallet-card-tag {
  font-size: 0.68rem;
  font-weight: 800;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #6EE7B7;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.wallet-card-headline {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.02rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0;
}

.wallet-card-body {
  font-size: 0.76rem;
  color: #334155;
  line-height: 1.4;
  margin: 0;
}

.wallet-card-qr-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.wallet-qr-box {
  width: 118px;
  height: 118px;
  padding: 4px;
  background: #FFFFFF;
  border: 2px solid #059669;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-qr-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.wallet-qr-fallback-img {
  display: none;
}

.wallet-qr-steps {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  flex: 1;
  min-width: 0;
}

.wallet-step {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  line-height: 1.25;
}

.wallet-step strong {
  color: #0F172A;
  font-weight: 800;
}

.wallet-step span {
  color: #475569;
}

.wallet-url-pill {
  margin-top: 0.2rem;
  background: #ECFDF5;
  border: 1.5px solid #059669;
  color: #065F46;
  font-weight: 900;
  font-size: 0.76rem;
  text-align: center;
  padding: 0.22rem 0.45rem;
  border-radius: 6px;
}

.wallet-card-cut-hint {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  text-align: center;
  padding-top: 0.3rem;
  border-top: 1px dashed #CBD5E1;
}

@media print {
  body.printing-wallet-cards > *:not(#walletCardsPrintModal) {
    display: none !important;
  }

  body.printing-wallet-cards #walletCardsPrintModal {
    position: static !important;
    display: block !important;
    background: #FFFFFF !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.printing-wallet-cards .wallet-print-modal-card {
    max-width: 100% !important;
    width: 100% !important;
    max-height: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    background: #FFFFFF !important;
  }

  body.printing-wallet-cards .no-print,
  body.printing-wallet-cards .wallet-print-modal-header {
    display: none !important;
  }

  body.printing-wallet-cards .printable-wallet-sheet-4up {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    padding: 8px !important;
    border: none !important;
  }

  body.printing-wallet-cards .wallet-handout-card {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 2px dashed #0F172A !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

.btn-low-data-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: rgba(15, 23, 42, 0.75);
  color: #F8FAFC;
  border: 1.5px solid rgba(148, 163, 184, 0.5);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.btn-low-data-toggle:hover {
  border-color: #34D399;
}

.btn-low-data-toggle .low-data-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94A3B8;
}

.btn-low-data-toggle.active {
  background: #065F46;
  color: #FEF08A;
  border-color: #34D399;
}

.btn-low-data-toggle.active .low-data-dot {
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
}

.low-data-status-banner {
  background: #064E3B;
  color: #ECFDF5;
  border-bottom: 1.5px solid #10B981;
  padding: 0.42rem 0.85rem;
  font-size: 0.78rem;
}

.low-data-status-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
}

.low-data-badge {
  background: #10B981;
  color: #064E3B;
  font-weight: 900;
  font-size: 0.68rem;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.low-data-disable-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

body.low-data-mode .ambient-bg,
body.low-data-mode #sunbeamCanvas,
body.low-data-mode .sun-orb {
  display: none !important;
}

body.low-data-mode * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

.live-studio-root {
  position: relative;
  z-index: 920;
}

.live-studio-mini-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b131d 0%, #064e3b 100%);
  border: 2px solid #10B981;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65), 0 0 20px rgba(16, 185, 129, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 925;
  padding: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
  outline: none;
}

.live-studio-mini-badge:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.75), 0 0 28px rgba(16, 185, 129, 0.7);
}

.mini-live-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #EF4444;
  opacity: 0.8;
  animation: studioMiniPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.mini-live-beacon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  margin-bottom: 2px;
}

.mini-live-text {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-size: 0.62rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  line-height: 1;
}

@keyframes studioMiniPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

.live-studio-floating-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 925;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 19, 29, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  border-radius: 9999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 28px rgba(16, 185, 129, 0.25);
  padding: 6px 8px 6px 14px;
  max-width: 480px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  user-select: none;
}

.dock-left-content {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  outline: none;
}

.dock-radar-container {
  position: relative;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dock-radar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #EF4444;
  animation: studioRadarRing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dock-radar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444, 0 0 14px rgba(239, 68, 68, 0.8);
  display: block;
}

@keyframes studioRadarRing {
  0% { transform: scale(0.6); opacity: 0.9; }
  80% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.dock-badge-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dock-topline {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.dock-rec-pill {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-size: 0.68rem;
  font-weight: 800;
  color: #EF4444;
  letter-spacing: 0.06em;
}

.dock-handle {
  font-size: 0.78rem;
  font-weight: 700;
  color: #F8FAFC;
}

.dock-subline {
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}

.dock-title-text {
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 500;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-eq-visualizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
  margin-left: 2px;
}

.dock-eq-bar {
  width: 2.5px;
  background: #10B981;
  border-radius: 2px;
  animation: studioEqAnim 1.2s ease-in-out infinite alternate;
}

.dock-eq-bar.bar-1 { height: 4px; animation-delay: 0.1s; }
.dock-eq-bar.bar-2 { height: 9px; animation-delay: 0.3s; }
.dock-eq-bar.bar-3 { height: 6px; animation-delay: 0.2s; }

@keyframes studioEqAnim {
  0% { height: 3px; }
  50% { height: 10px; }
  100% { height: 5px; }
}

.dock-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}

.btn-dock-action {
  border: none;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  outline: none;
}

.btn-dock-pip {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.btn-dock-pip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.6);
}

.btn-dock-expand {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E2E8F0;
}

.btn-dock-expand:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-dock-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.95rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
  padding: 0;
  outline: none;
}

.btn-dock-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.live-studio-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 928;
  transition: opacity 0.3s ease;
}

.live-studio-drawer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: rgba(11, 19, 29, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(16, 185, 129, 0.5);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 36px rgba(16, 185, 129, 0.3);
  z-index: 930;
  overflow: hidden;
  animation: studioDrawerPop 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes studioDrawerPop {
  0% { transform: translateY(20px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.studio-card-glow-edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10B981 0%, #EF4444 50%, #10B981 100%);
}

.studio-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.studio-drawer-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-live-beacon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #F87171;
  padding: 3px 9px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  position: relative;
}

.studio-beacon-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: studioRadarRing 1.5s infinite;
}

.studio-host-pill {
  font-size: 0.82rem;
  font-weight: 700;
  color: #F8FAFC;
}

.studio-drawer-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.15rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
  padding: 0;
}

.studio-drawer-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.studio-drawer-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.studio-stream-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.studio-stream-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
}

.studio-stream-desc {
  margin: 0;
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.45;
}

.studio-audio-wave-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 12px;
}

.audio-wave-indicator {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.wave-bar {
  width: 3px;
  background: #10B981;
  border-radius: 3px;
  animation: studioWavePulse 1s ease-in-out infinite alternate;
}

.wave-bar.w-1 { height: 4px; animation-delay: 0.1s; }
.wave-bar.w-2 { height: 10px; animation-delay: 0.25s; }
.wave-bar.w-3 { height: 14px; animation-delay: 0.4s; }
.wave-bar.w-4 { height: 8px; animation-delay: 0.15s; }
.wave-bar.w-5 { height: 12px; animation-delay: 0.3s; }

@keyframes studioWavePulse {
  0% { transform: scaleY(0.4); opacity: 0.6; }
  100% { transform: scaleY(1.2); opacity: 1; }
}

.audio-wave-label {
  font-size: 0.74rem;
  color: #34D399;
  font-weight: 600;
}

.studio-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.btn-studio-primary {
  width: 100%;
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  outline: none;
}

.btn-studio-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.65);
}

.btn-studio-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-studio-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.btn-studio-main-text {
  font-size: 0.94rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.btn-studio-sub-text {
  font-size: 0.72rem;
  color: #E2E8F0;
  opacity: 0.9;
  line-height: 1.25;
}

.btn-studio-secondary {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-studio-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.btn-studio-matcher {
  width: 100%;
  box-sizing: border-box;
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px dashed rgba(16, 185, 129, 0.5);
  border-radius: 12px;
  padding: 10px 14px;
  color: #A7F3D0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
  outline: none;
}

.btn-studio-matcher:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: #10B981;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.studio-drawer-footer-hint {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.72rem;
  color: #94A3B8;
  line-height: 1.4;
}

.hint-lightbulb {
  font-size: 0.85rem;
  line-height: 1;
}

@media (max-width: 960px) {
  .live-studio-mini-badge {
    bottom: calc(76px + env(safe-area-inset-bottom, 12px));
    right: 14px;
  }
  .live-studio-floating-dock {
    bottom: calc(76px + env(safe-area-inset-bottom, 12px));
    right: 12px;
    left: auto;
    max-width: calc(100vw - 24px);
    padding: 6px 8px 6px 12px;
  }
  .dock-title-text {
    max-width: 90px;
  }
  .live-studio-drawer {
    bottom: calc(72px + env(safe-area-inset-bottom, 12px));
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .btn-dock-expand .dock-btn-label {
    display: none;
  }
  .dock-title-text {
    display: none;
  }
}

body[data-theme^="dark-"] .solidarity-live-ticker,
body.is-dark-mode .solidarity-live-ticker {
  background: rgba(11, 19, 29, 0.96) !important;
  border-bottom: 1.5px solid rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

body[data-theme^="dark-"] .ticker-message,
body.is-dark-mode .ticker-message {
  color: #F1F5F9 !important;
}

body[data-theme^="dark-"] .ticker-badge,
body.is-dark-mode .ticker-badge {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

body[data-theme^="dark-"] .ticker-badge-text,
body.is-dark-mode .ticker-badge-text {
  color: #34D399 !important;
}
