/* Bargain Therapy — black, gold/tan, soft pink on cream */
:root {
  --ink: #161412;
  --ink-soft: #5a5148;
  --cream: #fbf7f1;
  --cream-deep: #f3e8dc;
  --paper: #ffffff;
  --hero-bg: #fefefe;
  --gold: #d4b075;
  --gold-deep: #7a5a18;
  --gold-soft: #f3e4d6;
  --pink: #c98980;
  --pink-deep: #7a3f3a;
  --pink-soft: #f6e6e3;
  --pink-wash: #f8ece9;
  --line: rgba(22, 20, 18, 0.12);
  --shadow: 0 16px 40px rgba(22, 20, 18, 0.08);
  --radius: 1.25rem;
  --header-h: 4.35rem;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(2.75rem, 8vw, 5.1rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 700;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--pink-deep);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(254, 254, 254, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  min-width: 0;
}

.wordmark img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #000;
  color: var(--gold) !important;
}

.nav-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold-soft);
  flex-shrink: 0;
}

.nav-facebook svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.nav-facebook:hover,
.nav-facebook:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #000;
  border-color: #000;
  color: var(--gold);
}

.btn-secondary {
  background: var(--pink-deep);
  color: #fff;
  border-color: var(--pink-deep);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #5e2e2b;
  border-color: #5e2e2b;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--ink);
  color: var(--cream);
}

/* Hero */
.hero {
  padding: 2.75rem 0 3.25rem;
  overflow: hidden;
  background: var(--hero-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem 1.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  color: var(--gold-deep);
  margin: 0.15rem 0 1.1rem;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-actions .btn {
  padding-inline: 1.05rem;
  font-size: 0.95rem;
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-art img {
  width: min(100%, 540px);
  height: auto;
}

/* Shared section styles */
.shop,
.pickup {
  padding: 4.5rem 0;
}

.about,
.contact {
  padding: 4.5rem 0;
  background: var(--cream-deep);
}

.section-kicker {
  margin: 0 0 0.45rem;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.section-intro {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
  margin: 0 0 2.4rem;
}

/* Shop cards */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.shop-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.shop-card-accent {
  background: linear-gradient(180deg, #ffffff 0%, var(--pink-wash) 100%);
  border-color: rgba(201, 137, 128, 0.28);
}

.fb-callout {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 0.95rem 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}

.fb-callout:hover,
.fb-callout:focus-visible {
  color: var(--pink-deep);
}

.fb-callout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--ink);
  flex-shrink: 0;
}

.fb-callout-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.fb-callout-arrow {
  margin-left: auto;
  font-weight: 800;
}

.shop-icon {
  margin-bottom: 1rem;
}

.shop-icon svg {
  width: 48px;
  height: 48px;
}

.shop-card h3 {
  margin-bottom: 0.5rem;
}

.shop-card p {
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 1.15rem;
}

.card-link {
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--pink-deep);
  text-decoration: underline;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.about-copy p {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.about-copy h2 {
  margin-bottom: 1.1rem;
}

.about-entity {
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--ink) !important;
}

.about-panel {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.about-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.point-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  margin-top: 0.1rem;
}

.about-points strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.about-points p {
  color: var(--ink-soft);
  margin: 0;
}

/* Meet Sunny */
.sunny {
  padding: 4.5rem 0;
  background: var(--pink-wash);
}

.sunny-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2.75rem;
  align-items: center;
}

.sunny-photo img {
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 18px 40px rgba(22, 20, 18, 0.14);
  background: #fff;
}

.sunny-copy p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

/* Pickup steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.step p {
  color: var(--ink-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy p {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.contact-email {
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--ink) !important;
}

.contact-email a {
  font-weight: 800;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-email a:hover,
.contact-email a:focus-visible {
  color: var(--pink-deep);
}

.contact-social {
  margin-top: 1rem;
}

.follow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}

.follow-link svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.follow-link:hover,
.follow-link:focus-visible {
  color: var(--pink-deep);
}

.contact-form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 800;
  font-size: 0.92rem;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(22, 20, 18, 0.18);
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input:focus-visible,
.field textarea:focus-visible,
.btn:focus-visible,
.site-nav a:focus-visible,
.card-link:focus-visible,
.wordmark:focus-visible,
.fb-callout:focus-visible,
.follow-link:focus-visible,
.footer-follow:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.btn-submit {
  justify-self: start;
}

/* Footer */
.site-footer {
  padding: 1.75rem 0 2rem;
  background: var(--ink);
  color: #f4e7d6;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.5rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem !important;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-place {
  opacity: 0.8;
}

.footer-follow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #f4e7d6;
  text-decoration: none;
  font-weight: 700;
}

.footer-follow svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.footer-follow:hover,
.footer-follow:focus-visible {
  color: var(--gold);
}

/* Thank-you page */
.thanks {
  min-height: calc(100vh - var(--header-h) - 7rem);
  display: grid;
  align-items: center;
  padding: 4rem 0;
  background: var(--hero-bg);
}

.thanks-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.thanks-card img {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
}

.thanks-card h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.8rem;
}

.thanks-card p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .shop-grid,
  .steps,
  .sunny-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.75rem 0 2.25rem;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    width: min(100%, 420px);
  }

  .sunny-photo {
    text-align: center;
  }

  .sunny-photo img {
    max-width: 280px;
  }

  .shop,
  .about,
  .sunny,
  .pickup,
  .contact {
    padding: 3.25rem 0;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.65rem 0 0.8rem;
    gap: 0.5rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem 0.85rem;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .nav-facebook {
    width: 2.15rem;
    height: 2.15rem;
  }

  .nav-cta {
    padding: 0.35rem 0.8rem;
  }

  .fb-callout {
    font-size: 0.95rem;
    padding: 0.85rem 1.1rem;
  }

  .wordmark img {
    width: 40px;
    height: 40px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* Featured Sunny video */
.video-feature { padding: 4rem 0; background: var(--ink); color: var(--cream); text-align: center; }
.video-feature .section-kicker { color: var(--gold); }
.video-feature h2 { color: var(--cream); margin-bottom: 1.5rem; }
.video-frame { max-width: 880px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--gold); box-shadow: 0 20px 50px rgba(0,0,0,0.35); background: #000; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 1248 / 704; }
.video-caption { max-width: 640px; margin: 1.25rem auto 0; color: var(--cream-deep); }
.video-caption a { color: var(--gold); font-weight: 700; }

/* Marketplace listings + Fresh finds */
.site-nav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.listings-page {
  padding: 3.25rem 0 4.5rem;
  background: var(--cream);
}

.listings-page h1 {
  font-size: clamp(2.15rem, 5.5vw, 3.6rem);
  margin-bottom: 0.85rem;
}

.listings-note {
  max-width: 40rem;
  margin: 0 0 1.4rem;
  padding: 0.75rem 1rem;
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: 0 0.7rem 0.7rem 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
}

.listings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.85rem;
}

.listings-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem 1.1rem;
  margin: 0 0 1.75rem;
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.listings-search,
.listings-filter {
  display: grid;
  gap: 0.3rem;
}

.listings-search {
  flex: 1 1 16rem;
}

.listings-filter {
  flex: 0 1 12rem;
}

.tools-label {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.listings-tools input[type="search"],
.listings-tools select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(22, 20, 18, 0.18);
  border-radius: 0.7rem;
  padding: 0.65rem 0.85rem;
  min-height: 2.85rem;
}

.listings-tools input[type="search"]:focus-visible,
.listings-tools select:focus-visible,
.listing-btn:focus-visible,
.fresh-cta a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.listings-count {
  margin: 0 0 0.15rem auto;
  font-weight: 800;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.listings-grid,
.fresh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.2rem;
}

.listing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.listing-card[hidden] {
  display: none;
}

.listing-photo {
  background: var(--cream-deep);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.listing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.95rem 1rem 1.1rem;
  flex: 1;
}

.listing-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--gold-deep);
  margin: 0;
  letter-spacing: -0.02em;
}

.listing-price-missing {
  font-size: 1rem;
  color: var(--ink-soft);
}

.condition-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.condition-badge.is-new {
  background: var(--gold);
  color: var(--ink);
}

.condition-badge.is-used {
  background: var(--pink-soft);
  color: var(--pink-deep);
}

.listing-btn {
  margin-top: auto;
  width: 100%;
  min-height: 2.7rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
}

.listings-empty {
  text-align: center;
  color: var(--ink-soft);
  margin: 2rem 0 0;
  font-weight: 700;
}

/* Homepage Fresh finds strip */
.fresh-finds {
  padding: 0.5rem 0 4.5rem;
  background: var(--cream);
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.fresh-finds .fresh-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fresh-cta {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 0;
}

.fresh-cta .btn {
  min-width: 12rem;
}

@media (max-width: 900px) {
  .fresh-finds .fresh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fresh-finds,
  .listings-page {
    padding-bottom: 3.25rem;
  }
}

@media (max-width: 680px) {
  .listings-count {
    margin: 0;
    width: 100%;
  }

  .listings-actions .btn,
  .listings-tools input,
  .listings-tools select {
    width: 100%;
  }

  .listings-search,
  .listings-filter {
    flex: 1 1 100%;
  }

  .fresh-finds .fresh-grid,
  .listings-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .listing-body {
    padding: 0.75rem 0.7rem 0.85rem;
  }

  .listing-title {
    font-size: 0.95rem;
    -webkit-line-clamp: 2;
  }

  .listing-price {
    font-size: 1.25rem;
  }

  .listing-btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.35rem;
    white-space: nowrap;
  }
}

@media (max-width: 340px) {
  .fresh-finds .fresh-grid,
  .listings-grid {
    grid-template-columns: 1fr;
  }
}

/* Sunny's Bargain Dash: homepage teaser */
.game-teaser {
  padding: 3.5rem 0;
  background: var(--ink);
  color: var(--cream);
}

.game-teaser-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.25rem;
  align-items: center;
  max-width: 880px;
}

.game-teaser-art img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--gold), 0 16px 40px rgba(0, 0, 0, 0.45);
}

.game-teaser .section-kicker { color: var(--gold); }
.game-teaser h2 { color: var(--cream); }
.game-teaser p { color: var(--cream-deep); max-width: 34rem; }

.game-teaser .btn-primary {
  margin-top: 0.5rem;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.game-teaser .btn-primary:hover,
.game-teaser .btn-primary:focus-visible {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

/* Sunny's Bargain Dash: game page */
.game-page {
  padding: 2rem 0 4rem;
}

.game-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.25rem;
}

.game-intro h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
}

.game-lede {
  color: var(--ink-soft);
}

.game-page kbd {
  display: inline-block;
  padding: 0 0.4rem;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 0.35rem;
  background: var(--paper);
  font-family: inherit;
  font-size: 0.85em;
  font-weight: 800;
}

.dash-shell {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--pink-soft);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.dash-shell canvas {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 400px);
  outline: none;
  cursor: pointer;
  touch-action: none;
}

.dash-shell.is-hit {
  animation: dash-shake 0.35s ease;
}

@keyframes dash-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

.dash-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(22, 20, 18, 0.35);
}

.dash-overlay[hidden] {
  display: none;
}

.dash-card {
  width: min(100%, 22rem);
  max-height: 100%;
  overflow: auto;
  padding: 1.1rem 1.25rem 1.2rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 2px solid var(--gold);
  box-shadow: 0 18px 40px rgba(22, 20, 18, 0.25);
  text-align: center;
}

.dash-card img {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.dash-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.dash-legend {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 0.92rem;
  text-align: left;
  display: grid;
  gap: 0.35rem;
}

.dash-chip {
  display: inline-block;
  min-width: 3.1rem;
  margin-right: 0.35rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-chip-good { background: var(--gold-soft); color: var(--gold-deep); }
.dash-chip-bad { background: var(--pink-soft); color: var(--pink-deep); }

.dash-btn {
  width: 100%;
}

.dash-hint,
.dash-best {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.dash-best:empty {
  display: none;
}

.dash-best {
  font-weight: 800;
  color: var(--gold-deep);
}

.dash-new-best {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-weight: 800;
  font-size: 0.85rem;
}

.dash-new-best[hidden] {
  display: none;
}

.dash-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.dash-scores p {
  margin: 0;
  padding: 0.45rem;
  border-radius: 0.8rem;
  background: var(--cream);
}

.dash-scores span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.dash-scores strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.1;
}

.dash-deals {
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
}

.dash-link {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--pink-deep);
  font-weight: 800;
  font-size: 0.92rem;
}

.game-after {
  margin-top: 1.75rem;
  text-align: center;
}

.game-after p {
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

body.dash-playing {
  overscroll-behavior: none;
}

.only-touch {
  display: none;
}

@media (hover: none) and (pointer: coarse) {
  .only-keys { display: none; }
  .only-touch { display: inline; }
}

@media (max-width: 680px) {
  .game-teaser-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }

  .game-teaser-art img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .game-teaser p {
    margin-inline: auto;
  }

  .game-page {
    padding-top: 1.25rem;
  }

  .game-intro {
    margin-bottom: 0.9rem;
  }

  .game-lede {
    font-size: 0.95rem;
  }

  .dash-shell {
    border-width: 2px;
    border-radius: 1rem;
  }

  .dash-shell canvas {
    height: min(290px, 60vh);
  }

  .dash-card {
    padding: 0.8rem 0.9rem 0.9rem;
  }

  .dash-card img {
    width: 52px;
    height: 52px;
  }

  .dash-card h2 {
    font-size: 1.3rem;
  }

  .dash-legend {
    font-size: 0.85rem;
  }

  .dash-hint {
    display: none;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .dash-shell canvas {
    height: calc(100vh - 2rem);
  }
}

/* ---------- Sunny's Arcade (game.html) ---------- */
.arcade-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 54rem;
  margin: 0 auto 1.5rem;
}

.arcade-tab {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.arcade-tab:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.arcade-tab[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.arcade-tab:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.arcade-tab-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-deep);
}

.arcade-tab[aria-selected="true"] .arcade-tab-icon {
  background: var(--gold);
  color: var(--ink);
}

.arcade-tab-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.arcade-tab-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.15;
}

.arcade-tab-text small {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.75;
}

.arcade-panel[hidden] {
  display: none;
}

.arcade-panel-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1rem;
}

.arcade-panel-head h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  margin-bottom: 0.35rem;
}

.dash-chip-gold { background: #f7e3a8; color: var(--gold-deep); }

/* Shopping Spree (Snake) */
.spree-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.spree-hud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.spree-hud p {
  margin: 0;
  padding: 0.3rem 0.5rem;
  border-radius: 0.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
  line-height: 1.15;
}

.spree-hud span {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.spree-hud strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.spree-hud p:last-child strong {
  color: var(--gold-deep);
}

.dash-shell.spree-shell canvas {
  height: auto;
  aspect-ratio: 1 / 1;
}

body.spree-playing {
  overscroll-behavior: none;
}

.spree-pad {
  display: none;
  grid-template-columns: repeat(3, 4.1rem);
  grid-template-rows: repeat(2, 3.3rem);
  grid-template-areas: ". up ." "left down right";
  gap: 0.45rem;
  justify-content: center;
  margin: 0.8rem auto 0;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.spree-key {
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 0.9rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.spree-key.is-down,
.spree-key:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--ink);
  background: var(--gold);
}

.spree-up { grid-area: up; }
.spree-left { grid-area: left; }
.spree-down { grid-area: down; }
.spree-right { grid-area: right; }

@media (hover: none) and (pointer: coarse), (max-width: 680px) {
  .spree-pad { display: grid; }
}

@media (max-width: 680px) {
  .arcade-tabs {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .arcade-tab {
    padding: 0.55rem 0.6rem;
    gap: 0.5rem;
  }

  .arcade-tab-icon {
    width: 2rem;
    height: 2rem;
  }

  .arcade-tab-icon svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .arcade-tab-text strong {
    font-size: 0.98rem;
  }

  .arcade-tab-text small {
    font-size: 0.72rem;
  }

  .arcade-panel-head {
    margin-bottom: 0.7rem;
  }

  .dash-shell.spree-shell canvas {
    height: auto;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .dash-shell.spree-shell canvas {
    height: auto;
  }
  .spree-wrap {
    max-width: min(560px, calc(100vh - 2rem));
  }
}

/* Deal Chase (maze) */
.chase-wrap {
  max-width: 580px;
}

.spree-hud.chase-hud {
  grid-template-columns: repeat(4, 1fr);
}

.dash-shell.chase-shell {
  background: #fbf1ea;
}

.dash-shell.chase-shell canvas {
  aspect-ratio: 19 / 21;
}

body.chase-playing {
  overscroll-behavior: none;
}

@media (max-width: 680px) {
  .arcade-tab {
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }

  .arcade-tab-text small {
    display: none;
  }

  .dash-shell.chase-shell canvas {
    height: auto;
  }

  .chase-shell .dash-card {
    padding: 0.7rem 0.8rem 0.8rem;
  }

  .chase-shell .dash-legend {
    font-size: 0.8rem;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .chase-wrap {
    max-width: min(580px, calc((100vh - 2rem) * 19 / 21));
  }
}

/* Vacation notice (Nov 2026) */
.vacation-notice{background:#0b0b0b;display:flex;justify-content:center;padding:24px 16px}
.vacation-notice img{width:100%;max-width:420px;height:auto;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.5)}
