/* ============================================================
   The Spinnaker Bar — dunmoreeastfood.com
   Mobile-first CSS. Base = mobile. Scale up with min-width.
   ============================================================ */

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: #faf5eb; color: #1a1208; line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --navy:     #0a1e35;
  --navy-2:   #12304f;
  --amber:    #d4880e;
  --amber-lt: #f0a830;
  --teal:     #1a7264;
  --cream:    #fdf6e8;
  --stone:    #e8dfc8;
  --muted:    #6b5d45;
  --card:     #ffffff;
  --dark-bg:  #07131f;
}

/* ── Typography ─────────────────────────────────────────────── */
.serif { font-family: 'Fraunces', Georgia, serif; }
.mono  { font-family: 'IBM Plex Mono', 'Courier New', monospace; }

/* ── Utility ─────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }


/* ══════════════════════════════════════════════════════════════
   NAVIGATION — mobile first
   ══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(7, 19, 31, 0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-bar {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 60px; padding: 0 16px; gap: 8px;
}
.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px; font-weight: 600;
  color: #fff; letter-spacing: -.02em;
  flex-shrink: 0;
}
.nav-logo b { color: var(--amber-lt); font-weight: 600; }

.nav-phone {
  display: flex; align-items: center; gap: 6px;
  background: var(--amber); color: #fff;
  padding: 9px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s;
}
.nav-phone:hover, .nav-phone:active { background: var(--amber-lt); }
.nav-phone svg { width: 14px; height: 14px; flex-shrink: 0; }

.nav-burger {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  color: rgba(255,255,255,.85); border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s; flex-shrink: 0;
}
.nav-burger:hover { background: rgba(255,255,255,.08); }
.nav-burger svg { width: 22px; height: 22px; }
.nav-burger .x { display: none; }

/* Fullscreen mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed; inset: 60px 0 0 0;
  background: rgba(5, 12, 22, 0.99);
  z-index: 199; overflow-y: auto;
  padding: 16px 20px 40px;
  flex-direction: column;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  display: block; padding: 18px 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px; font-weight: 600;
  color: #fff; letter-spacing: -.02em;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .15s;
}
.nav-overlay a:hover, .nav-overlay a:active { color: var(--amber-lt); }
.nav-overlay .nav-cta-big {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 24px; border-bottom: none;
  background: var(--amber); color: #fff;
  padding: 18px; border-radius: 12px;
  font-size: 20px; font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: .01em;
}

/* Desktop: show links inline, hide burger */
@media (min-width: 860px) {
  .nav-burger { display: none; }
  .nav-overlay {
    display: flex !important;
    position: static; inset: auto;
    background: none; padding: 0;
    flex-direction: row; align-items: center;
    gap: 28px; overflow: visible;
  }
  .nav-overlay a {
    padding: 0; font-family: 'Inter', sans-serif;
    font-size: 13.5px; font-weight: 500;
    color: rgba(255,255,255,.65); letter-spacing: .01em; border: none;
  }
  .nav-overlay .nav-cta-big { display: none; }
  .nav-overlay.open { display: flex; }
}


/* ══════════════════════════════════════════════════════════════
   HERO — full screen, video bg, bokeh swarm
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  min-height: 100dvh; min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: 80px 20px 0;
  background: var(--dark-bg);
}
.hero-vid-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-vid-wrap video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: brightness(.35);
}
.hero-vid-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5,12,22,.75) 0%,
    rgba(5,12,22,.1) 35%,
    rgba(5,12,22,.2) 65%,
    rgba(5,12,22,.95) 100%
  );
}

/* Bokeh swarm */
.bokeh { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bk {
  position: absolute; border-radius: 50%;
  background: rgba(255, 195, 80, .55);
  filter: blur(1.5px);
  animation: bk-float linear infinite;
}
@keyframes bk-float {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: .8; }
  100% { transform: translateY(-110vh) scale(.3); opacity: 0; }
}
.bk:nth-child(1)  { width:6px;  height:6px;  left:7%;   animation-duration:13s; animation-delay:0s;   }
.bk:nth-child(2)  { width:4px;  height:4px;  left:15%;  animation-duration:17s; animation-delay:-4s;  }
.bk:nth-child(3)  { width:8px;  height:8px;  left:24%;  animation-duration:11s; animation-delay:-8s;  background:rgba(255,170,60,.5); }
.bk:nth-child(4)  { width:3px;  height:3px;  left:33%;  animation-duration:19s; animation-delay:-2s;  }
.bk:nth-child(5)  { width:7px;  height:7px;  left:41%;  animation-duration:14s; animation-delay:-6s;  }
.bk:nth-child(6)  { width:5px;  height:5px;  left:50%;  animation-duration:12s; animation-delay:-10s; }
.bk:nth-child(7)  { width:4px;  height:4px;  left:59%;  animation-duration:18s; animation-delay:-3s;  }
.bk:nth-child(8)  { width:9px;  height:9px;  left:67%;  animation-duration:10s; animation-delay:-7s;  background:rgba(212,136,14,.45); }
.bk:nth-child(9)  { width:3px;  height:3px;  left:75%;  animation-duration:15s; animation-delay:-5s;  }
.bk:nth-child(10) { width:6px;  height:6px;  left:83%;  animation-duration:16s; animation-delay:-9s;  }
.bk:nth-child(11) { width:4px;  height:4px;  left:91%;  animation-duration:13s; animation-delay:-12s; }
.bk:nth-child(12) { width:5px;  height:5px;  left:3%;   animation-duration:21s; animation-delay:-15s; }
.bk:nth-child(13) { width:7px;  height:7px;  left:20%;  animation-duration:12s; animation-delay:-7s;  }
.bk:nth-child(14) { width:3px;  height:3px;  left:38%;  animation-duration:20s; animation-delay:-11s; }
.bk:nth-child(15) { width:6px;  height:6px;  left:55%;  animation-duration:14s; animation-delay:-4s;  }
.bk:nth-child(16) { width:4px;  height:4px;  left:71%;  animation-duration:16s; animation-delay:-8s;  }
.bk:nth-child(17) { width:5px;  height:5px;  left:88%;  animation-duration:11s; animation-delay:-13s; }
.bk:nth-child(18) { width:3px;  height:3px;  left:44%;  animation-duration:22s; animation-delay:-16s; }

.hero-content { position: relative; z-index: 2; max-width: 640px; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--amber-lt);
  margin-bottom: 20px;
}
.hero-kicker::before, .hero-kicker::after {
  content: ''; height: 1px; width: 24px;
  background: var(--amber-lt); opacity: .5; flex-shrink: 0;
}

.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(52px, 14vw, 96px);
  font-weight: 700; line-height: .92;
  letter-spacing: -.03em; color: #fff;
  margin-bottom: 20px;
}
.hero-sub {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(17px, 4vw, 24px);
  font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.hero-lede {
  font-size: clamp(15px, 3.5vw, 18px);
  color: rgba(255,255,255,.7);
  line-height: 1.6; max-width: 500px;
  margin: 0 auto 36px;
}

.hero-ctas {
  display: flex; flex-direction: column;
  gap: 12px; width: 100%; max-width: 340px;
  margin: 0 auto 48px;
}
.btn-primary {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; background: var(--amber); color: #fff;
  padding: 17px 28px; border-radius: 12px;
  font-size: 16px; font-weight: 700;
  box-shadow: 0 8px 28px rgba(212,136,14,.35);
  transition: background .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
  min-height: 54px;
}
.btn-primary:hover, .btn-primary:active { background: var(--amber-lt); transform: translateY(-1px); }
.btn-ghost {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; background: rgba(255,255,255,.1);
  color: #fff; padding: 17px 28px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  font-size: 16px; font-weight: 500;
  min-height: 54px;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s;
}
.btn-ghost:hover, .btn-ghost:active { background: rgba(255,255,255,.18); }

@media (min-width: 480px) {
  .hero-ctas { flex-direction: row; max-width: 420px; }
}

/* Waves */
.hero-waves { position: relative; z-index: 2; width: 100%; line-height: 0; margin-top: auto; }
.hero-waves svg { width: 100%; display: block; }


/* ══════════════════════════════════════════════════════════════
   SECTIONS — mobile first
   ══════════════════════════════════════════════════════════════ */
.section { padding: clamp(56px, 10vw, 96px) 0; }
.section-light { background: var(--cream); }
.section-dark  { background: var(--navy); color: #fff; }
.section-mid   { background: var(--dark-bg); color: #fff; }

.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 12px;
}
.section-dark .section-label,
.section-mid .section-label { color: var(--amber-lt); }

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 7vw, 52px);
  font-weight: 700; line-height: 1.02;
  letter-spacing: -.025em;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-dark .section-title em,
.section-mid .section-title em { color: var(--amber-lt); }

.section-body {
  font-size: clamp(15px, 3vw, 18px);
  line-height: 1.7; color: var(--muted);
  max-width: 560px;
}
.section-dark .section-body,
.section-mid .section-body { color: rgba(255,255,255,.6); }

/* Two-column layout (mobile=1col) */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 720px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col.reverse > *:first-child { order: 2; }
  .two-col.reverse > *:last-child  { order: 1; }
}


/* ══════════════════════════════════════════════════════════════
   CONTACT CARD
   ══════════════════════════════════════════════════════════════ */
.contact-card {
  background: var(--navy); border-radius: 20px;
  padding: clamp(28px, 5vw, 44px);
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(26,114,100,.35) 0%, transparent 70%);
  pointer-events: none;
}
.contact-card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 600; color: var(--amber-lt);
  margin-bottom: 4px;
}
.contact-card-sub {
  font-size: 13px; color: rgba(255,255,255,.45);
  letter-spacing: .04em; margin-bottom: 28px;
}
.contact-row {
  display: flex; align-items: center;
  gap: 14px; margin-bottom: 16px;
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-lbl { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.contact-val { font-size: clamp(15px, 3.5vw, 18px); font-weight: 600; color: #fff; }
.contact-val a { color: #fff; transition: color .2s; }
.contact-val a:hover { color: var(--amber-lt); }
.contact-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 24px;
  background: var(--amber); color: #fff;
  padding: 16px; border-radius: 10px;
  font-weight: 700; font-size: 16px;
  min-height: 54px;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.contact-cta:hover, .contact-cta:active { background: var(--amber-lt); }


/* ══════════════════════════════════════════════════════════════
   FOOD GRID
   ══════════════════════════════════════════════════════════════ */
.food-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px; margin-top: 36px;
}
@media (min-width: 560px) { .food-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .food-grid { grid-template-columns: repeat(3, 1fr); } }

.food-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 24px;
  text-decoration: none; color: inherit;
  display: block;
  transition: border-color .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
}
.food-card:hover, .food-card:active {
  border-color: rgba(255,255,255,.18);
  transform: translateY(-2px);
}
.food-card-emoji { font-size: 32px; margin-bottom: 12px; display: block; }
.food-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px; font-weight: 600;
  color: #fff; margin-bottom: 6px;
}
.food-card p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.55; }
.food-card-tag {
  display: inline-block; margin-top: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--amber-lt);
}


/* ══════════════════════════════════════════════════════════════
   HOURS
   ══════════════════════════════════════════════════════════════ */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 36px;
}
@media (min-width: 560px) { .hours-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .hours-grid { grid-template-columns: repeat(7, 1fr); } }

.hours-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px; padding: 16px 12px;
  text-align: center;
}
.hours-day {
  font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin-bottom: 6px;
}
.hours-time {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px; font-weight: 600;
  color: var(--amber-lt); line-height: 1.2;
}

.food-hours-note {
  background: rgba(212,136,14,.07);
  border: 1px solid rgba(212,136,14,.2);
  border-radius: 12px; padding: 20px 22px;
  margin-top: 20px;
}
.food-hours-note strong { color: var(--amber-lt); display: block; margin-bottom: 6px; font-size: 15px; }
.food-hours-note p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 14px; }
.food-hours-note a {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1877F2; color: #fff;
  padding: 10px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  min-height: 44px;
}


/* ══════════════════════════════════════════════════════════════
   MAP
   ══════════════════════════════════════════════════════════════ */
.map-frame {
  border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/3; border: 3px solid var(--navy);
  box-shadow: 0 8px 32px rgba(10,30,53,.15);
}
.map-frame iframe { width: 100%; height: 100%; border: none; display: block; }
@media (min-width: 720px) { .map-frame { aspect-ratio: 1; } }


/* ══════════════════════════════════════════════════════════════
   SPORTS & MUSIC
   ══════════════════════════════════════════════════════════════ */
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 28px;
}
.feature-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px; padding: 20px 16px;
  text-align: center;
}
.feature-card .icon { font-size: 32px; margin-bottom: 8px; }
.feature-card strong {
  display: block; font-family: 'Fraunces', Georgia, serif;
  font-size: 16px; color: #fff; margin-bottom: 4px;
}
.feature-card span { font-size: 13px; color: rgba(255,255,255,.4); }


/* ══════════════════════════════════════════════════════════════
   FACEBOOK CTA
   ══════════════════════════════════════════════════════════════ */
.fb-cta { text-align: center; }
.fb-cta h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 700; color: #fff;
  margin-bottom: 14px; line-height: 1.05;
}
.fb-cta h2 em { font-style: italic; color: var(--amber-lt); }
.fb-cta p { font-size: 16px; color: rgba(255,255,255,.55); max-width: 500px; margin: 0 auto 32px; line-height: 1.6; }
.fb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; background: #1877F2; color: #fff;
  padding: 17px 32px; border-radius: 12px;
  font-size: 16px; font-weight: 700;
  min-height: 54px; width: 100%; max-width: 380px;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.fb-btn:hover, .fb-btn:active { background: #1565C0; }

.fb-stats {
  display: flex; justify-content: center;
  gap: clamp(24px, 6vw, 56px);
  margin-top: 40px; flex-wrap: wrap;
}
.fb-stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700; color: var(--amber-lt);
}
.fb-stat-lbl { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 3px; letter-spacing: .04em; }


/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: #04090f; color: rgba(255,255,255,.45);
  padding: clamp(40px, 7vw, 64px) 0 clamp(24px, 5vw, 40px);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px; margin-bottom: 36px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px; font-weight: 600;
  color: #fff; margin-bottom: 8px;
}
.footer-brand b { color: var(--amber-lt); }
.footer-tagline { font-size: 14px; line-height: 1.6; max-width: 260px; }
.footer-col h4 {
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block; font-size: 14px;
  color: rgba(255,255,255,.45); line-height: 2;
  transition: color .2s;
}
.footer-col a:hover { color: var(--amber-lt); }
.footer-bar {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: 12px;
}
.footer-bar a { color: rgba(255,255,255,.3); transition: color .2s; }
.footer-bar a:hover { color: var(--amber-lt); }


/* ══════════════════════════════════════════════════════════════
   AI WIDGET — mobile first
   ══════════════════════════════════════════════════════════════ */
#spin-fab {
  position: fixed; bottom: 20px; right: 16px; z-index: 300;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--navy), #1e3a5f);
  color: var(--amber-lt); border: 1px solid rgba(212,136,14,.4);
  border-radius: 999px; padding: 14px 20px 14px 16px;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .04em; box-shadow: 0 4px 20px rgba(10,30,53,.5);
  transition: transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
#spin-fab:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(10,30,53,.6); }
#spin-fab .fab-icon { font-size: 18px; }
#spin-fab .fab-txt { white-space: nowrap; }

#spin-panel {
  position: fixed; z-index: 299;
  /* Mobile: full width, slide up from bottom */
  left: 0; right: 0; bottom: 0;
  max-height: 90dvh;
  background: #fff; border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(10,30,53,.25);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(100%); opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.34,1.2,.64,1), opacity .2s;
}
#spin-panel.open {
  transform: translateY(0); opacity: 1; pointer-events: auto;
}
.spin-handle {
  width: 40px; height: 4px; background: #e0d8c8;
  border-radius: 2px; margin: 12px auto 0;
  flex-shrink: 0;
}
#spin-header {
  background: var(--navy); padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 2px solid var(--amber); flex-shrink: 0;
}
.spin-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-lt));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.spin-name { font-family: 'Fraunces', Georgia, serif; font-size: 15px; font-weight: 600; color: #fff; }
.spin-status { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 1px; }
#spin-close {
  margin-left: auto; color: rgba(255,255,255,.4);
  font-size: 20px; padding: 4px; border-radius: 6px;
  transition: color .15s; line-height: 1; flex-shrink: 0;
}
#spin-close:hover { color: var(--amber-lt); }

#spin-msgs {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth; background: #fdfaf5;
  -webkit-overflow-scrolling: touch;
}
.smsg {
  max-width: 88%; padding: 11px 14px;
  border-radius: 14px; font-size: 14px;
  line-height: 1.55; word-break: break-word;
}
.smsg.bot {
  align-self: flex-start;
  background: #fff; border: 1px solid var(--stone);
  color: #1a1208; border-radius: 4px 14px 14px 14px;
  box-shadow: 0 1px 3px rgba(10,30,53,.06);
}
.smsg.bot strong { color: var(--navy); }
.smsg.user {
  align-self: flex-end;
  background: var(--navy); color: #fff;
  border-radius: 14px 14px 4px 14px;
}
.smsg.bot.streaming::after {
  content: '▋'; animation: spin-blink .7s step-end infinite;
  color: var(--amber); margin-left: 1px; font-size: 12px;
}
@keyframes spin-blink { 0%,100%{opacity:1} 50%{opacity:0} }
.s-think {
  align-self: flex-start; display: flex; gap: 5px; padding: 12px 14px;
}
.s-think span {
  width: 7px; height: 7px; background: var(--stone);
  border-radius: 50%; animation: s-th .9s ease-in-out infinite;
}
.s-think span:nth-child(2){animation-delay:.15s}
.s-think span:nth-child(3){animation-delay:.3s}
@keyframes s-th { 0%,80%,100%{transform:scale(1);background:var(--stone)} 40%{transform:scale(1.4);background:var(--amber)} }

#spin-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 14px 10px; background: #fdfaf5; }
.sq {
  background: none; border: 1px solid var(--stone);
  border-radius: 999px; color: var(--muted);
  font-size: 12px; padding: 7px 13px;
  min-height: 36px; transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.sq:hover, .sq:active { border-color: var(--amber); color: var(--navy); }

#spin-input-row {
  display: flex; gap: 8px; padding: 12px 14px;
  border-top: 1px solid var(--stone); background: #fff; flex-shrink: 0;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
#spin-input {
  flex: 1; background: #faf5eb; border: 1px solid var(--stone);
  border-radius: 10px; color: #1a1208;
  font-family: 'Inter', sans-serif; font-size: 16px; /* 16px prevents iOS zoom */
  padding: 11px 13px; transition: border-color .2s;
  -webkit-appearance: none;
}
#spin-input:focus { outline: none; border-color: var(--amber); }
#spin-input::placeholder { color: #b5a98a; }
#spin-send {
  background: var(--amber); color: #fff; border-radius: 10px;
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s; -webkit-tap-highlight-color: transparent;
}
#spin-send:hover, #spin-send:active { background: var(--amber-lt); }
#spin-send:disabled { opacity: .35; }
#spin-send svg { width: 16px; height: 16px; }

/* Desktop widget: right-side panel, not bottom sheet */
@media (min-width: 640px) {
  #spin-fab { bottom: 28px; right: 28px; }
  #spin-panel {
    left: auto; right: 28px; bottom: 92px;
    width: 370px; max-height: 520px;
    border-radius: 18px;
    transform: translateY(14px) scale(.97);
  }
  #spin-panel.open { transform: translateY(0) scale(1); }
  .spin-handle { display: none; }
  #spin-fab .fab-txt { display: inline; }
}
@media (max-width: 639px) {
  #spin-fab .fab-txt { display: none; }
  #spin-fab { padding: 16px; border-radius: 50%; }
}


/* ══════════════════════════════════════════════════════════════
   BIG CTA BUTTON
   ══════════════════════════════════════════════════════════════ */
.big-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; background: var(--amber); color: #fff;
  padding: 18px 36px; border-radius: 12px;
  font-size: clamp(16px, 3.5vw, 18px); font-weight: 700;
  min-height: 58px; width: 100%; max-width: 360px;
  margin: 0 auto; box-shadow: 0 8px 28px rgba(212,136,14,.3);
  transition: background .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.big-cta:hover, .big-cta:active { background: var(--amber-lt); transform: translateY(-1px); }
