/* A1 Promos — Coral Ticket theme
   Fonts: Outfit (display) + DM Sans (body) */

/* The Chrome extension copies these tokens in extension/src/styles/tokens.css. Change both. */
:root {
  --ink: #1C1917;
  --muted: #57534E;
  --accent: #C2410C;
  --accent-dark: #9A3412;
  --tint: #FFF4EE;
  --sand: #F5F0EB;
  --border: #E7E0DA;
  --dash: #E7C9B8;
  --yellow: #FFE8A3;
  --yellow-ink: #713F12;
  --gold: #FFD166;
  --green: #DDF3E6;
  --green-ink: #166534;
  --footer-text: #D6D3D1;
  --white: #FFFFFF;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'DM Sans', system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
}
h1, h2, h3, .display { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 64px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }
.eyebrow--accent { color: var(--accent); }
.lead { font-size: 17px; color: var(--muted); line-height: 1.55; max-width: 620px; }
.section { padding: 40px 0 16px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section__head h2 { font-size: 38px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.1; }
.section__head p { color: var(--muted); margin-top: 6px; }
.section__head--tight h2 { font-size: 32px; letter-spacing: -1px; }
.section__link { font-weight: 700; font-size: 15px; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
  border: 0; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--border); }
.btn--ghost:hover { background: var(--sand); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 18px; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header { padding: 20px 0; position: relative; z-index: 10; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.8px; color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo__one { color: var(--accent); }
.logo__word { font-weight: 600; margin-left: 4px; }
.nav { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--sand); }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 999px; line-height: 24px; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--white); box-shadow: 0 1px 2px rgba(28, 25, 23, .08); }
.nav-toggle {
  display: none; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--white); color: var(--ink); font-weight: 700; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.pill-new {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--tint); color: var(--accent-dark); font-weight: 700; font-size: 13px;
}
.pill-new__tag { padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: 11px; letter-spacing: 1px; }
.hero__title { font-size: 64px; line-height: 1.02; font-weight: 800; letter-spacing: -2px; }
.hero__lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.hero__trending { display: flex; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.hero__trending strong { font-weight: 600; }
.hero__trending a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--dash); text-underline-offset: 3px; }
.hero__trending a, a.ticket__store { display: inline-block; padding: 12px 0; margin: -12px 0; }
.hero__trending a:hover { text-decoration-color: var(--accent); }
.hero__tickets { display: flex; flex-direction: column; gap: 16px; }

/* Search bar */
.search {
  display: flex; align-items: center; gap: 8px; width: 100%; max-width: 560px;
  padding: 6px 6px 6px 18px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px;
}
.search svg { flex-shrink: 0; }
.search input { flex-grow: 1; min-width: 0; border: 0; outline: 0; font-size: 16px; background: transparent; color: var(--ink); min-height: 44px; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button, .search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search--compact { width: 420px; }
.search--compact .btn { min-height: 44px; padding: 0 18px; }

/* ---------- Tickets (coupon cards) ---------- */
.ticket {
  position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr);
  background: var(--white); border: 1.5px solid var(--border); border-radius: 18px;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: 122px; width: 20px; height: 20px; border-radius: 50%; background: var(--white);
}
.ticket::before { top: -10px; border-bottom: 1.5px solid var(--border); }
.ticket::after { bottom: -10px; border-top: 1.5px solid var(--border); }
.ticket__stub {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 20px 10px; border-right: 2px dashed var(--dash); border-radius: 16px 0 0 16px; background: var(--tint);
  font-family: var(--font-display);
}
.ticket__big { font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -1px; }
.ticket__label { font-size: 11px; font-weight: 700; color: var(--accent-dark); letter-spacing: 2px; }
.ticket__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; min-width: 0; }
.ticket__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket__store { font-weight: 700; font-size: 15px; }
.ticket__cat { font-size: 13px; color: var(--muted); }
.ticket__title { font-size: 19px; font-weight: 700; letter-spacing: -.3px; line-height: 1.25; }
.ticket__detail { font-size: 13px; line-height: 1.5; color: var(--muted); }
.ticket__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.ticket__expiry { font-size: 13px; color: var(--muted); font-weight: 600; }
.tag {
  padding: 3px 9px; border-radius: 999px; background: var(--yellow); color: var(--yellow-ink);
  font-size: 11px; font-weight: 700; letter-spacing: .5px; white-space: nowrap;
}

/* Revealed code chip */
.code-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px;
  border: 2px dashed var(--accent); background: var(--tint); color: var(--accent);
  font-weight: 800; font-size: 14px; letter-spacing: 1.5px; cursor: pointer;
}
.code-chip { max-width: 100%; }
.code-chip > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.code-chip:hover { background: #FFE9DC; color: var(--accent-dark); }
.code-chip__copied { font-size: 11px; letter-spacing: .5px; font-weight: 700; color: var(--accent-dark); display: none; }
.code-chip.is-copied .code-chip__copied { display: inline; }
.code-chip.is-copied .code-chip__icon { display: none; }

/* Hero tickets (larger, tilted) */
.ticket--hero { grid-template-columns: 140px minmax(0, 1fr); border-radius: 20px; }
.ticket--hero::before, .ticket--hero::after { left: 130px; }
.ticket--hero .ticket__stub { padding: 24px 12px; border-radius: 18px 0 0 18px; }
.ticket--hero .ticket__big { font-size: 40px; }
.ticket--hero .ticket__label { font-size: 12px; }
.ticket--hero .ticket__body { padding: 20px 22px; }
.ticket--hero-light { border-color: var(--ink); transform: rotate(-2deg); }
.ticket--hero-light::before { border-bottom-color: var(--ink); }
.ticket--hero-light::after { border-top-color: var(--ink); }
.ticket--hero-light .ticket__stub { border-right-color: var(--ink); }
.ticket--hero-dark { background: var(--ink); color: var(--white); border-color: var(--ink); transform: rotate(1.5deg); margin-left: 32px; }
.ticket--hero-dark::before, .ticket--hero-dark::after { border: 0; }
.ticket--hero-dark .ticket__stub { background: transparent; border-right-color: var(--muted); }
.ticket--hero-dark .ticket__big { color: var(--gold); }
.ticket--hero-dark .ticket__label { color: var(--border); }
.ticket--hero-dark .ticket__expiry { color: var(--footer-text); }
.ticket--hero-dark .ticket__store, .ticket--hero-dark .ticket__store:hover { color: var(--gold); }
.ticket--hero-dark .code-static { border-color: var(--gold); color: var(--gold); }
.code-static {
  padding: 8px 12px; border-radius: 10px; border: 2px dashed var(--accent); color: var(--accent);
  font-weight: 800; letter-spacing: 1.5px; font-size: 14px; max-width: 100%; overflow-wrap: anywhere;
}
.ticket--hero .ticket__foot { flex-wrap: wrap; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }

/* Trending stores */
.stores { padding: 8px 0 40px; }
.stores .eyebrow { display: block; margin-bottom: 16px; }
.store-tile {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 44px;
  border: 1.5px solid var(--border); border-radius: 14px; color: var(--ink);
}
.store-tile:hover { background: var(--sand); color: var(--ink); }
.store-tile__initial {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.store-tile__name { font-weight: 600; font-size: 14px; line-height: 1.2; }
.t-green { background: var(--green); } .t-yellow { background: var(--yellow); } .t-blue { background: #E4E9FB; }
.t-pink { background: #FBE7EC; } .t-tint { background: var(--tint); } .t-teal { background: #DDF3F1; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; min-height: 46px; border-radius: 999px;
  border: 1.5px solid var(--border); color: var(--ink); font-weight: 600; font-size: 15px; background: var(--white); cursor: pointer;
}
.chip:hover { background: var(--sand); color: var(--ink); }
.chip--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.chip[aria-current="page"], .chip.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip input { width: 16px; height: 16px; accent-color: var(--accent); margin: 0; }

/* Feature cards */
.feature { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; background: var(--sand); }
.feature__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 20px; font-weight: 700; }
.feature p { color: var(--muted); line-height: 1.55; font-size: 15px; }

/* Blog cards */
.post { display: flex; flex-direction: column; gap: 12px; color: var(--ink); padding: 16px; border: 1.5px solid var(--border); border-radius: 18px; }
a.post:hover { border-color: var(--dash); color: var(--ink); }
.post__cover { height: 150px; border-radius: 12px; }
.post__cover--sm { height: 130px; }
.post__tag { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--accent); text-transform: uppercase; }
.post h3 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.3px; }
.post__excerpt { font-size: 14px; line-height: 1.5; color: var(--muted); }
.post__meta { font-size: 13px; color: var(--muted); }

.featured {
  display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 48px; align-items: center;
  padding: 40px; background: var(--tint); border-radius: 24px; color: var(--ink);
}
.featured:hover { color: var(--ink); }
.featured__copy { display: flex; flex-direction: column; gap: 14px; }
.featured h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.featured p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.featured__art { height: 280px; border-radius: 18px; background: var(--yellow); display: flex; align-items: center; justify-content: center; color: var(--yellow-ink); }

/* Page headers */
.page-head { padding: 48px 0 24px; }
.page-head--rule { border-bottom: 1.5px solid var(--border); }
.page-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.page-head__copy { display: flex; flex-direction: column; gap: 10px; }
.page-head h1 { font-size: 52px; font-weight: 800; letter-spacing: -1.6px; line-height: 1.05; }
.page-head .chips { padding-top: 16px; }
.page-head--center { text-align: center; padding: 72px 0 40px; }
.page-head--center .page-head__copy { align-items: center; gap: 20px; }
.page-head--center h1 { font-size: 58px; letter-spacing: -1.8px; max-width: 820px; }
.page-head--center .lead { font-size: 19px; max-width: 720px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.page-head--center .btn-row { justify-content: center; }
.btn-row .pill-new { align-self: center; }

/* Codes toolbar */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar__filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.toolbar__label { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.select {
  min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--white); font-size: 14px; color: var(--ink);
}
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }

/* About */
.promise { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: 24px; }
.promise--dark { background: var(--ink); color: var(--white); }
.promise--dark .eyebrow { color: var(--gold); }
.promise--dark p:last-child { color: var(--footer-text); }
.promise--dark a:not(.btn), .promise--dark a:not(.btn):hover { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.promise--tint { background: var(--tint); }
.promise--tint p:last-child { color: var(--muted); }
.promise__big { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.25; letter-spacing: -.6px; }
.promise p:last-child { font-size: 15px; line-height: 1.55; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; border: 1.5px solid var(--border); }
.step__num { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1; }
.step h3 { font-size: 18px; font-weight: 700; }
.step p { color: var(--muted); line-height: 1.5; font-size: 14px; }
.cta-band {
  margin-top: 32px; padding: 36px 40px; border-radius: 24px; border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-band h2 { font-size: 26px; font-weight: 800; letter-spacing: -.6px; }
.cta-band p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* Contact / Submit */
.contact { padding: 56px 0 48px; }
.contact__grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 56px; }
.contact__aside { display: flex; flex-direction: column; gap: 28px; }
.contact__aside .page-head__copy { gap: 14px; }
.info-list { display: flex; flex-direction: column; border: 1.5px solid var(--border); border-radius: 18px; }
.info-list__item { display: flex; gap: 14px; padding: 18px 20px; border-bottom: 1.5px solid var(--border); }
.info-list__item:last-child { border-bottom: 0; }
.info-list__icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-list__text { display: flex; flex-direction: column; gap: 3px; }
.info-list__text strong { font-size: 15px; }
.info-list__text span { font-size: 14px; color: var(--muted); }
.i-tint { background: var(--tint); color: var(--accent); }
.i-yellow { background: var(--yellow); color: var(--yellow-ink); }
.i-sand { background: var(--sand); color: var(--ink); }

.form { display: flex; flex-direction: column; gap: 18px; padding: 36px; background: var(--tint); border-radius: 24px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field__hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  font-size: 15px; color: var(--ink); background: var(--white); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 0 16px; min-height: 48px; width: 100%;
}
.field textarea { padding: 12px 16px; min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input[type="date"] { appearance: none; -webkit-appearance: none; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); min-height: 44px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__actions .btn { padding: 0 30px; }
.form-status { font-size: 14px; font-weight: 600; min-height: 20px; }
.form-status.is-error { color: var(--accent-dark); }
.form-status.is-success { color: var(--green-ink); }
.form-note { font-size: 13px; color: var(--muted); }
/* Honeypot: hidden from humans, still in the DOM for bots */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Article */
.article { padding: 48px 0 64px; }
.article__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.article h1 { font-size: 48px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.08; }
.article h2 { font-size: 28px; font-weight: 700; letter-spacing: -.6px; margin-top: 12px; }
.article p, .article li { font-size: 17px; line-height: 1.65; color: var(--ink); }
.article ul { padding-left: 22px; margin: 0; }
.article__meta { font-size: 14px; color: var(--muted); }
.article__cover { height: 320px; border-radius: 24px; background: var(--tint); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 48px; padding: 44px 0; background: var(--ink); color: var(--footer-text); font-size: 14px; }
.site-footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; max-width: 300px; }
.site-footer .logo { color: var(--white); font-size: 22px; letter-spacing: -.6px; }
.site-footer .logo__one { color: var(--accent); }
.site-footer__cols { display: flex; gap: 64px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col strong { color: var(--white); }
.site-footer__col a { color: var(--footer-text); }
.site-footer__col a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
  .featured { grid-template-columns: minmax(0, 1fr) 360px; }
  .contact__grid { grid-template-columns: 360px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 24px; right: 24px; top: calc(100% - 8px);
    flex-direction: column; border-radius: 20px; padding: 8px; box-shadow: 0 12px 32px rgba(28, 25, 23, .12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 16px; }
  .site-header__cta { display: none; }
  .hero { padding: 40px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: 48px; letter-spacing: -1.5px; }
  .ticket--hero-light, .ticket--hero-dark { transform: none; margin-left: 0; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .section__head h2 { font-size: 32px; }
  .featured { grid-template-columns: 1fr; padding: 24px; }
  .featured__art { height: 200px; }
  .page-head h1, .page-head--center h1 { font-size: 40px; letter-spacing: -1.2px; }
  .page-head__row { flex-direction: column; align-items: stretch; }
  .search--compact { width: 100%; }
  .contact__grid { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .site-footer__inner { flex-direction: column; }
  .site-footer__cols { flex-wrap: wrap; gap: 32px; }
  .article h1 { font-size: 36px; }
}
@media (max-width: 560px) {
  .grid--6, .grid--4 { grid-template-columns: 1fr 1fr; }
  .ticket { grid-template-columns: 104px minmax(0, 1fr); }
  .ticket::before, .ticket::after { left: 94px; }
  .ticket__big { font-size: 26px; }
  .ticket__foot { flex-direction: column; align-items: flex-start; }
  .hero__title { font-size: 40px; }
  .search { border-radius: 24px; flex-wrap: wrap; padding: 8px; }
  .search input { padding-left: 8px; }
  .search .btn { width: 100%; }
}

/* Contact / submit page title */
.contact__title { font-size: 52px; font-weight: 800; letter-spacing: -1.6px; line-height: 1.05; }
.featured .btn { align-self: flex-start; }
@media (max-width: 900px) { .contact__title { font-size: 40px; letter-spacing: -1.2px; } }

/* Article extras: deal box and tables */
.featured__art .ticket__big { font-size: 96px; letter-spacing: -3px; color: var(--yellow-ink); }
.article .ticket { margin: 8px 0; }
.article .ticket__title { font-size: 20px; }
.article .ticket__foot { flex-wrap: wrap; }
.article table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 4px 0; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1.5px solid var(--border); }
.article th { font-family: var(--font-display); font-weight: 700; background: var(--sand); }
.article td:not(:first-child), .article th:not(:first-child) { text-align: right; }
.article .note { padding: 16px 20px; border-radius: 14px; background: var(--tint); color: var(--muted); font-size: 15px; }
.article ol { padding-left: 22px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.article details { border: 1.5px solid var(--border); border-radius: 14px; padding: 0 18px; }
.article summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.article summary::-webkit-details-marker { display: none; }
.article summary::after { content: "+"; font-family: var(--font-display); font-size: 22px; color: var(--accent); }
.article details[open] summary::after { content: "–"; }
.article details p { padding-bottom: 14px; font-size: 16px; }
.code-chip { letter-spacing: 1px; }
.article code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; padding: 2px 6px; border-radius: 6px; background: var(--sand); color: var(--accent-dark); }
.article ul { display: flex; flex-direction: column; gap: 6px; }
/* Wide price tables scroll sideways on phones instead of widening the page */
@media (max-width: 560px) {
  .article table { display: block; overflow-x: auto; font-size: 14px; }
  .article th, .article td { padding: 10px 8px; }
}

.search-status { font-size: 15px; font-weight: 600; color: var(--muted); min-height: 22px; margin-top: 16px; }
.search-status:empty { display: none; }

/* ==========================================================================
   Phase 1 components (docs/design-system.md › New components)
   ========================================================================== */

/* ---------- Header account slot ---------- */
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__account { display: flex; align-items: center; }
.nav__account { display: none; }
.account-menu { position: relative; }
.account {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 2px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
}
.avatar { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--tint); }
.avatar--initial {
  display: flex; align-items: center; justify-content: center; color: var(--accent);
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  position: relative; overflow: hidden;
}
.avatar__photo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* Dropdown menu (account menu, autocomplete listbox) */
.menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: flex; flex-direction: column;
  min-width: 240px; padding: 6px; background: var(--white); border: 1.5px solid var(--border); border-radius: 14px;
  box-shadow: 0 8px 24px rgba(28, 25, 23, .12);
}
.menu__head { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1.5px solid var(--border); font-size: 14px; }
.menu__head span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.menu__form { margin: 0; }
.menu__item {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px;
  background: none; color: var(--ink); font-weight: 600; font-size: 15px; text-align: left; cursor: pointer;
}
.menu__item:hover, .menu__item:focus-visible, .menu__item[aria-selected="true"] { background: var(--sand); color: var(--ink); }
.menu__meta { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--muted); }

/* ---------- Flash message ---------- */
.flash { background: var(--tint); color: var(--accent-dark); font-size: 14px; font-weight: 600; }
.flash--success { background: var(--green); color: var(--green-ink); }
.flash__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.flash__close { min-width: 44px; min-height: 44px; border: 0; background: none; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }

/* ---------- Status tags ---------- */
.ticket__meta { flex-wrap: wrap; row-gap: 6px; }
.tags { display: flex; flex-shrink: 0; gap: 6px; }
.tag--exclusive { background: var(--ink); color: var(--gold); }
.tag--new { background: var(--tint); color: var(--accent-dark); }
.tag--soon { background: var(--white); color: var(--accent-dark); border: 1.5px solid var(--accent); padding: 1.5px 7.5px; }
.tag--expired { background: var(--sand); color: var(--muted); }

/* ---------- Ticket stats and extras ---------- */
.ticket__stats { font-size: 13px; line-height: 1.5; color: var(--muted); }
.ticket__tick { display: inline-block; vertical-align: -2px; margin-right: 4px; color: var(--green-ink); }
.icon-inline { display: inline-block; vertical-align: -2px; }
.ticket__warn { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent-dark); }
.ticket__warn svg { flex-shrink: 0; }
.ticket__credit { font-size: 12px; }
.ticket__terms { font-size: 13px; color: var(--muted); }
.ticket__terms summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.ticket__terms p { margin-top: 6px; line-height: 1.5; }
.ticket__vote { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; }
.ticket--expired .ticket__stub { filter: grayscale(1); opacity: .8; }
.ticket--expired .ticket__title { color: var(--muted); }
.ticket:target { outline: 2px solid transparent; outline-offset: 3px; animation: ticket-highlight 2s ease-out; }
@keyframes ticket-highlight { 0%, 60% { outline-color: var(--accent); } 100% { outline-color: transparent; } }
.ticket--compact { grid-template-columns: 96px minmax(0, 1fr); }
.ticket--compact::before, .ticket--compact::after { left: 86px; }
.ticket--compact .ticket__big { font-size: 24px; }
.ticket-list { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Chips with icons ---------- */
.chip svg { flex-shrink: 0; color: var(--accent); }
.chip[aria-current="page"] svg { color: var(--gold); }
.chip.is-empty { opacity: .4; cursor: default; pointer-events: none; }

/* ---------- Shop logo ---------- */
.shop-logo {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 800; color: var(--ink);
}
img.shop-logo { background: var(--white); border: 1.5px solid var(--border); object-fit: contain; }
.shop-logo--sm { width: 36px; height: 36px; border-radius: 10px; font-size: 16px; }
.shop-logo--md { width: 48px; height: 48px; border-radius: 12px; font-size: 20px; }
.shop-logo--lg { width: 72px; height: 72px; border-radius: 18px; font-size: 30px; }
.store-tile__logo { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; object-fit: contain; background: var(--white); border: 1.5px solid var(--border); }

/* ---------- Shop card ---------- */
.shop-card__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.shop-card__name { font-size: 15px; font-weight: 700; }
.shop-card__meta { font-size: 13px; color: var(--muted); }
.shop-card__tick { flex-shrink: 0; color: var(--green-ink); }

/* ---------- Shop head ---------- */
.shop-head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px 24px; align-items: start; }
.shop-head__main { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; min-width: 0; }
.shop-head__copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.shop-head__sub { font-size: 16px; color: var(--muted); }
.page-head .shop-head__copy .chips { padding-top: 4px; gap: 8px; }
.shop-head__cta { flex-shrink: 0; }
.shop-head__stats {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px;
  padding-top: 18px; border-top: 1.5px solid var(--border); font-size: 14px; font-weight: 600; color: var(--muted);
}
.shop-head__stats span + span::before { content: "·"; margin-right: 12px; color: var(--dash); }
.shop-head__stats strong { margin-right: 2px; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.4px; color: var(--ink); }

/* ---------- Shop page layout ---------- */
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.shop-aside { display: flex; flex-direction: column; gap: 20px; }
.shop-aside h2 { font-size: 22px; font-weight: 700; letter-spacing: -.4px; }
.shop-aside p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.collapse { border: 1.5px solid var(--border); border-radius: 18px; padding: 0 20px; }
.collapse > summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
}
.collapse > summary::-webkit-details-marker { display: none; }
.collapse > summary::after { content: "+"; font-size: 22px; color: var(--accent); }
.collapse[open] > summary::after { content: "–"; }
.collapse[open] { padding-bottom: 20px; }
.disclosure { margin-top: 24px; font-size: 13px; color: var(--muted); }

/* ---------- Category cards ---------- */
a.category-card { color: var(--ink); }
a.category-card:hover { background: var(--tint); color: var(--ink); }
.category-card__counts { font-size: 13px; font-weight: 700; color: var(--accent-dark); }

/* ---------- A–Z nav ---------- */
.az-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.az-nav .chip { justify-content: center; min-width: 44px; padding: 0 12px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Google button and sign-in gate ---------- */
.btn--google { gap: 10px; background: var(--white); color: var(--ink); border: 1.5px solid var(--border); }
.btn--google:hover { background: var(--sand); color: var(--ink); }
.btn--google svg { flex-shrink: 0; }
.gate { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 36px; background: var(--tint); border-radius: 24px; }
.gate h2 { font-size: 32px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.gate__text { font-size: 16px; line-height: 1.55; color: var(--muted); }
.gate__note { font-size: 13px; color: var(--muted); }

/* ---------- Submission status pill ---------- */
.status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.status--pending { background: var(--yellow); color: var(--yellow-ink); }
.status--approved { background: var(--green); color: var(--green-ink); }
.status--rejected, .status--duplicate { background: var(--sand); color: var(--muted); }

/* ---------- Data table (account pages) ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th, .data-table td { padding: 14px; border-bottom: 1.5px solid var(--border); text-align: left; vertical-align: top; }
.data-table th { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* ---------- Pager ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.pager__status { font-size: 14px; font-weight: 600; color: var(--muted); }
.btn.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- Empty state ---------- */
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px; border-radius: 18px; background: var(--sand); text-align: center; }
.empty__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--white); }
.empty h2, .empty h3 { font-size: 20px; font-weight: 700; }
.empty p { max-width: 460px; color: var(--muted); line-height: 1.55; }
.empty .btn-row { justify-content: center; margin-top: 6px; }

/* Hidden when the extension answers main.js's ping (html.has-a1-ext) */
html.has-a1-ext .ext-promo { display: none !important; }
.ext-installed { display: none; }
html.has-a1-ext .ext-installed { display: block; }

/* F-02: the aside sits beside the codes from 1100px up. */
@media (max-width: 1099.98px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .site-header__actions { display: none; }
  .nav__account { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; padding-top: 6px; border-top: 1.5px solid var(--border); }
  .nav__account form { margin: 0; }
  .nav__signout {
    width: 100%; padding: 12px 16px; border: 0; border-radius: 999px; background: none; text-align: left;
    color: var(--muted); font-weight: 600; font-size: 15px; line-height: 24px; cursor: pointer;
  }
  .nav__signout:hover { color: var(--ink); }
  .nav a.nav__submit { color: var(--accent); }
  .grid--4.grid--shops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-head__main { flex-direction: column; align-items: flex-start; }
  .gate { padding: 24px; }
}
@media (max-width: 560px) {
  .grid--4.grid--shops { grid-template-columns: 1fr; }
  .shop-head { grid-template-columns: 1fr; }
  .shop-head__main { align-items: stretch; }
  .shop-head__cta { width: 100%; }
  .az-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .az-nav::-webkit-scrollbar { display: none; }
  .empty { padding: 28px 20px; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table tr { display: block; margin-bottom: 12px; padding: 8px 0; border: 1.5px solid var(--border); border-radius: 14px; }
  .data-table td { display: flex; gap: 12px; padding: 6px 16px; border: 0; }
  .data-table td::before { content: attr(data-label); flex-shrink: 0; min-width: 88px; font-size: 13px; font-weight: 700; color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Accounts and submissions (F-05, F-06) ---------- */
.link-button { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link-button:hover { color: var(--accent-dark); }
.signed-in-as { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; font-size: 14px; color: var(--muted); }
.shop-pick__chip { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 16px 6px 6px; background: var(--white); border: 1.5px solid var(--border); border-radius: 14px; }
.shop-pick__chip strong { flex: 1; min-width: 0; font-size: 15px; overflow-wrap: anywhere; }
.shop-pick__search { position: relative; }
.shop-pick__menu { left: 0; right: 0; top: calc(100% + 6px); max-height: 320px; overflow-y: auto; }
.submit-done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; background: var(--green); border-radius: 24px; }
.submit-done:focus { outline: none; }
.submit-done h2 { font-size: 32px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.submit-done__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--green-ink); }
.section--flush { padding-top: 0; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.panel { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--white); border: 1.5px solid var(--border); border-radius: 18px; }
.panel.form { background: var(--tint); border-color: var(--tint); }
.panel__title { font-size: 20px; font-weight: 700; }
.panel__text { color: var(--muted); line-height: 1.55; }
.panel--danger { border-color: var(--dash); }
.avatar--lg { width: 44px; height: 44px; flex-shrink: 0; }
.account-delete { max-width: 640px; }
.account-delete__list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.5; }
.note-line { display: block; }
.submissions-table code { font-size: 14px; }
@media (max-width: 900px) {
  .account-grid { grid-template-columns: 1fr; }
  .submit-done { padding: 24px; }
  .panel { padding: 22px; }
}

/* ==========================================================================
   Catalogue pages (F-01 to F-04)
   ========================================================================== */

/* ---------- Search autocomplete ---------- */
.search.has-autocomplete { position: relative; }
.autocomplete { left: 0; right: 0; max-height: 420px; overflow-y: auto; }
.autocomplete__option { font-size: 15px; }
.autocomplete__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.autocomplete__logo {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
  object-fit: contain; background: var(--white); border: 1.5px solid var(--border);
}
.autocomplete__logo--initial { border: 0; font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--ink); }
.autocomplete__icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; color: var(--accent); }

/* ---------- Ticket extras ---------- */
.ticket__open { font-size: 13px; font-weight: 700; white-space: nowrap; }
.ticket__vote.is-done { color: var(--green-ink); }

/* ---------- Category index ---------- */
a.category-card h3 { font-size: 18px; font-weight: 700; }
a.category-card p { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- Shop directory ---------- */
.shops-filters { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.shop-group + .shop-group { margin-top: 28px; }
.shop-group__letter { margin-bottom: 12px; font-size: 24px; font-weight: 800; color: var(--accent); }

/* ---------- Shop page ---------- */
.shop-aside__block { display: flex; flex-direction: column; gap: 12px; }
.shop-aside .info-list__text p { font-size: 14px; color: var(--ink); }
.shop-aside .info-list__icon strong { font-family: var(--font-display); font-size: 16px; }
.shop-aside .promise { padding: 24px; }
.shop-aside .promise .promise__big { font-size: 20px; color: var(--ink); }
.shop-aside .promise a { font-weight: 700; }
.shop-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5px; margin: 0; border: 1.5px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--border); }
.shop-stats > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--white); }
.shop-stats dt { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.shop-stats dd { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.collapse .ticket-list { margin-top: 4px; }
.faq__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.faq__item { display: flex; flex-direction: column; gap: 8px; }
.faq__item h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.faq__item p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- Home extension band and search extras ---------- */
.ext-band { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px 40px; }
.ext-band > div { display: flex; flex-direction: column; gap: 10px; }
.ext-privacy { align-items: start; }
.search-featured { margin-top: 32px; }
.search-featured .eyebrow { display: block; margin-bottom: 16px; }

@media (max-width: 900px) {
  .faq__list { grid-template-columns: 1fr; }
  .ext-band { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}
@media (max-width: 560px) {
  .shop-stats { grid-template-columns: 1fr 1fr; }
  .ticket__open { white-space: normal; }
  .ticket__body { padding: 16px; }
  .ticket__vote-label { width: 100%; }
  .shop-head__stats { gap: 4px 16px; }
  .shop-head__stats span + span::before { content: none; }
}

/* ---------- Accessibility (docs/design-system.md › Accessibility) ---------- */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 15px;
}
.skip-link:focus { top: 12px; color: var(--white); }
main:focus { outline: none; }
/* The search input drops its own outline, so the pill shows focus instead. */
.search:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Links inside muted text are underlined: colour alone doesn't set them apart (WCAG 1.4.1). */
:is(.lead, .gate__text, .gate__note, .form-note, .form-status, .info-list__text span, .promise p, .panel__text, .empty p, .section__head p, .shop-aside p, .faq__item p, .disclosure, .article .note) a:not(.btn) {
  text-decoration: underline; text-underline-offset: 2px;
}
