/* Soft studio: the selected, mobile-first MatMeg prototype direction.
   Outfit and accessible control behaviour are ported from MatMeg Soft.
   Normal document scrolling is intentional, including in the preview iframe. */
@font-face {
  font-family: Outfit;
  src: url('assets/outfit.woff') format('woff');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  font-family: Outfit, system-ui, sans-serif;
  font-synthesis: none;
  color: #241c20;
  background: #fff7fa;
  --surface: #fff7fa;
  --paper: #ffffff;
  --ink: #241c20;
  --muted: #75636b;
  --pink: #df3168;
  --action: #ca245a;
  --action-hover: #ad1e4d;
  --line: #ecdce2;
  --control-line: #a68a96;
  --error: #9e2442;
  --dock-height: 134px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-padding-block: 20px; }
body { margin: 0; min-width: 0; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; }
button svg, a svg { width: 20px; height: 20px; flex: none; }
h1, h2, h3, p, li, dt, dd, label, button, a { overflow-wrap: anywhere; }
h1, h2, h3 { font-weight: 500; }
p { line-height: 1.5; }
button, input, select, a, summary { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--ink); }
main:focus, [tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.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;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 30;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.review-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 8px 16px;
  background: #f0e7eb;
  color: #68545e;
  font-size: .75rem;
  line-height: 1.4;
}
.review-bar button {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  color: var(--ink);
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.embedded .review-bar { display: none; }
body.standalone .review-bar { display: flex; }

/* Each onboarding view has one task and one primary action. */
.screen {
  width: min(100%, 440px);
  min-height: 100svh;
  margin-inline: auto;
  padding: 25px 28px max(18px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.screen > *, .screen form > *, .question-body > * { min-width: 0; }
.screen > form, .question-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: block; flex: none; }
.logo img, img.logo {
  display: block;
  width: 57px;
  height: auto;
  aspect-ratio: 57 / 51;
  object-fit: contain;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: .75rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .015em;
  color: #68545e;
}
.eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--pink);
}
.question-top {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  margin: -4px -6px 0;
  min-height: 44px;
}
.back, .close-flow {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 50%;
  color: #68545e;
  background: transparent;
  text-decoration: none;
  font-size: .875rem;
  line-height: 1.4;
}
.back:hover, .close-flow:hover { color: var(--action); background: #f5e8ed; }
.step-counter { text-align: center; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.progress-track { display: flex; gap: 5px; margin-top: 17px; }
.segment { height: 3px; flex: 1; min-width: 0; border-radius: 4px; background: #ebdce2; }
.segment.done { background: var(--action); }

/* Approved welcome composition. */
.welcome-hero {
  position: relative;
  isolation: isolate;
  align-self: center;
  width: min(100%, 294px);
  aspect-ratio: 1.12;
  margin: 30px 0 0;
  display: grid;
  place-items: center;
}
.welcome-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 12px -8px -11px 11px;
  border: 1px solid #edbdcd;
  border-radius: 50% 50% 44% 44%;
}
.welcome-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  border-radius: 50% 50% 44% 44%;
  display: block;
}
.welcome-copy { margin-top: 35px; }
.welcome-copy h1 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.045;
  letter-spacing: -.052em;
}
.welcome-copy h1 span { display: block; color: #b52051; }
.intro { margin: 15px 0 0; max-width: 19rem; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}
.prices li {
  flex: 1 1 5rem;
  padding: 10px 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #ffffffa8;
  text-align: center;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.03em;
}
.prices small { margin-left: 3px; font-size: .8rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.screen-actions { margin-top: auto; padding-top: 29px; }
.button {
  display: inline-flex;
  min-height: 55px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--action);
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 500;
  transition: background 180ms ease, border-color 180ms ease;
}
.button:hover:not(:disabled) { background: var(--action-hover); }
.button.primary { background: var(--action); color: white; }
.button.primary:hover:not(:disabled) { background: var(--action-hover); }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--control-line); }
.button.secondary:hover:not(:disabled) { background: #f6e9ee; border-color: var(--action); }
.full { width: 100%; }
.text-button, .plain, .text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #68545e;
  font-size: .875rem;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-button:hover, .plain:hover, .text-link:hover { color: var(--action); }
.screen-actions > .text-button, .screen-actions > .plain { display: flex; width: 100%; margin-top: 4px; }
.assurance { margin: 13px 0 0; text-align: center; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.fineprint { margin: 15px 0 0; text-align: center; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.fineprint button, .fineprint a { font: inherit; color: inherit; }
.fineprint button { padding: 0; min-height: 0; display: inline; border: 0; background: none; text-decoration: underline; }
.demo-note { margin: 20px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.screen-actions > .demo-note { text-align: center; }

/* One-question forms retain room to type and read. */
.question-body { flex: 1; margin-top: 32px; }
.question-copy h1, .issued-copy h1, .account-head h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.13;
  letter-spacing: -.04em;
}
.sub { margin: 14px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.question-art {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 25px;
  border: 1px solid #edd3de;
  border-radius: 21px;
  background: #fff;
  color: var(--action);
}
.question-art svg { width: 28px; height: 28px; }
.question-art img { width: 48px; height: auto; object-fit: contain; }
.question-art:has(.mini-ticket) { display: block; width: 100%; height: auto; margin-bottom: 36px; padding: 9px 9px 0; border: 0; background: none; }
.question-icon { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 25px; border-radius: 50%; background: #f8e5ed; color: var(--action); }
.question-icon svg { width: 35px; height: 35px; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; margin: 13px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.legal-links button, .legal-links a { min-height: 44px; padding: 10px 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.soft-note { margin-top: 17px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.toast { margin: 15px 0; padding: 12px 14px; border: 1px solid #d1dfd7; border-radius: 12px; background: #f1f8f4; color: #315f47; font-size: .875rem; line-height: 1.5; }
.toast:empty { display: none; }
.field { margin-top: 28px; }
.field label { display: block; margin-bottom: 9px; font-size: .875rem; line-height: 1.45; font-weight: 500; }
.field label span { color: var(--muted); font-weight: 400; }
.field input:not([type='checkbox']), .field select {
  display: block;
  min-height: 58px;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--control-line);
  border-radius: 16px;
  padding: 15px 16px;
  background: #fff;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.4;
}
.field input::placeholder { color: #8b7580; opacity: 1; }
.field input:focus, .field select:focus { border-color: var(--action); }
.field [aria-invalid='true'] { border: 2px solid var(--error); }
.phone-row { display: flex; flex-wrap: wrap; gap: 8px; }
.phone-row select { flex: 0 1 6.5rem; width: 6.5rem; padding-inline: 9px; }
.phone-row input { flex: 1 1 8rem; }
.help { margin: 10px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.error { margin: 14px 0; padding: 12px 14px; border-left: 3px solid var(--error); border-radius: 0 10px 10px 0; background: #fce8ee; color: var(--error); font-size: .875rem; line-height: 1.5; }
.error:empty { display: none; }
.success-note { margin: 12px 0; color: #315f47; font-size: .875rem; line-height: 1.5; }
.success-note:empty { display: none; }
.consents { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.consents legend { margin-bottom: 10px; padding: 0; font-weight: 500; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  margin-top: 11px;
  padding: 12px 0;
  color: var(--ink);
  font-size: .9375rem;
  line-height: 1.5;
  cursor: pointer;
}
.check input {
  flex: none;
  width: 21px;
  height: 21px;
  margin: 1px 0 0;
  accent-color: var(--action);
  cursor: pointer;
}
.check span { flex: 1; min-width: 0; }
.check input:disabled { cursor: default; }
.check:has(input:disabled) { opacity: .65; }
.consent-note { color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.taste-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(5rem, calc((100% - 20px) / 3))), 1fr));
  gap: 10px;
  margin-top: 26px;
}
.taste {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: stretch;
  min-width: 0;
  min-height: 44px;
  padding: 5px 5px 8px;
  border: 2px solid transparent;
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
  font-size: .875rem;
  line-height: 1.35;
  text-align: center;
}
.taste img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 11px; }
.taste span { display: block; padding-inline: 2px; }
.taste:hover { border-color: #e6b7c9; }
.taste[aria-pressed='true'] { border-color: var(--action); color: #ab1d4c; background: #fff0f5; }
.taste[aria-pressed='true']::after {
  content: '✓';
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--action);
  color: white;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
.selection-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; margin-top: 14px; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.preference-status { min-height: 1.5em; margin: 7px 0 0; color: var(--action); font-size: .875rem; }
.field .otp-input { padding-inline: 10px; text-align: center; font-size: 1.75rem; letter-spacing: .25em; font-variant-numeric: tabular-nums; }
.otp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 9px; }
.otp-actions .back { padding-inline: 4px; border-radius: 6px; text-decoration: underline; }

/* Issued pass and the final account view share a real visual object. */
.issued-art { margin: 58px 8px 45px; }
.mini-ticket {
  position: relative;
  max-width: 286px;
  min-height: 195px;
  margin-inline: auto;
  padding: 21px;
  border: 1px solid #e4bacb;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff 0%, #fae2ec 100%);
  box-shadow: 0 15px 28px -20px #7e284849;
  transform: rotate(-4deg);
}
.mini-ticket img { width: 45px; height: auto; display: block; }
.mini-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mini-label { color: #8b3e5a; font-size: .6875rem; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.mini-name { display: block; margin-top: 21px; font-size: 1.125rem; line-height: 1.25; font-weight: 500; }
.question-art .mini-ticket { min-height: 152px; max-width: 252px; padding: 18px; }
.question-art .mini-ticket .mini-header img { width: 36px; }
.mini-ticket p { margin: 16px 0 7px; color: #8b3e5a; font-size: .6875rem; letter-spacing: .11em; }
.mini-ticket strong { display: block; font-size: 1.625rem; line-height: 1.12; font-weight: 500; letter-spacing: -.04em; }
.mini-ticket > span { display: block; margin-top: 20px; color: #725765; font-size: .6875rem; letter-spacing: .025em; }
.issued-copy .eyebrow { margin-bottom: 12px; }
.issued-copy h1 { font-size: 2.125rem; }
.issued-screen .screen-actions { padding-top: 34px; }
.account-head { margin-top: 32px; }
.account-head .eyebrow { margin-bottom: 12px; }
.festival-pass {
  position: relative;
  margin-top: 26px;
  border: 1px solid #e4bacb;
  border-radius: 24px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 25px -20px #7e284846;
}
.pass-top { padding: 22px 22px 25px; background: linear-gradient(135deg, #fff8fb, #f9dfe9); }
.pass-brand { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.pass-brand img { width: 49px; height: auto; display: block; }
.pass-label { color: #7b4a5d; font-size: .6875rem; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.festival-pass h2 { margin: 23px 0 0; font-size: 2rem; line-height: 1.05; letter-spacing: -.045em; }
.pass-prices { display: flex; flex-wrap: wrap; gap: 7px; margin: 19px 0 0; padding: 0; list-style: none; font-size: .875rem; color: #784d5d; }
.pass-prices span, .pass-prices li { padding: 5px 9px; border: 1px solid #e8c3d2; border-radius: 8px; }
.pass-bottom { padding: 21px 22px; border-top: 1px dashed #dcb3c3; }
.pass-name-label { display: block; color: var(--muted); font-size: .6875rem; letter-spacing: .1em; line-height: 1.5; }
.pass-name { display: block; margin-top: 6px; font-size: 1.375rem; line-height: 1.25; font-weight: 500; overflow-wrap: anywhere; }
.demo-stamp { display: block; margin-top: 20px; color: #725765; font-size: .6875rem; line-height: 1.5; letter-spacing: .035em; }
.pass-instruction { margin-top: 19px; color: #68545e; font-size: .9375rem; line-height: 1.5; }
.pass-instruction strong { color: var(--ink); font-weight: 500; }
.pass-links { display: flex; flex-direction: column; gap: 7px; margin-top: 17px; }
.pass-links .text-button { align-self: center; }
.profile-options { margin-top: 26px; padding-top: 5px; border-top: 1px solid var(--line); }
.profile-options summary { min-height: 48px; padding-block: 15px; cursor: pointer; color: #68545e; font-size: .9375rem; }
.profile-options p { color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.profile-options .check { font-size: .875rem; }
.profile-options .food-grid { margin: 12px 0 20px; }
.pass-instruction h2 { margin: 0 0 8px; color: var(--ink); font-size: 1.125rem; line-height: 1.3; }
.pass-instruction p { margin: 0; }
.account-head h1 span { color: #b52051; }
.optional-invitation { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0; margin-top: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.optional-invitation span { min-width: 0; }
.optional-invitation strong { display: block; font-size: .9375rem; font-weight: 500; }
.optional-invitation small { display: block; margin-top: 5px; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.check span small { display: block; margin-top: 5px; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.returning { font-size: .8125rem; }
.suggestions { margin-top: 36px; }
.suggestions h2, .suggestions h3 { margin: 0; font-size: 1.4rem; line-height: 1.2; letter-spacing: -.025em; }
.suggestions .sub { margin-top: 9px; font-size: .875rem; }
.suggestions .food-grid { margin-top: 20px; }
.suggestions > .back { border-radius: 8px; margin-top: 10px; justify-content: flex-start; }

/* Food remains fully discoverable before creating an account. */
.browse-shell { width: min(100%, 680px); min-height: 100svh; margin-inline: auto; }
.browse-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 24px 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { display: block; flex: none; width: 52px; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: center; justify-content: flex-end; }
.nav-link, .signin { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 2px; color: #68545e; font-size: .8125rem; line-height: 1.4; text-decoration: none; }
.signin { padding-inline: 13px; border: 1px solid #dbc3cc; border-radius: 100px; }
.nav-link:hover, .signin:hover { color: var(--action); }
.nav-link[aria-current='page'] { color: var(--action); text-decoration: underline; }
.browse-main { padding: 13px 24px 24px; }
.discover-title h1 { margin: 0; font-size: 2.125rem; line-height: 1.08; letter-spacing: -.04em; }
.discover-title .eyebrow { margin-bottom: 11px; }
.discover-title .sub { margin-top: 11px; font-size: .9375rem; }
.filter-row { display: flex; gap: 7px; overflow-x: auto; padding: 7px 2px 10px; margin: 21px -2px 11px; scrollbar-width: thin; scrollbar-color: #dfc1cd transparent; }
.filter { flex: none; min-height: 44px; padding: 10px 15px; border: 1px solid #dbc3cc; border-radius: 100px; background: transparent; color: #68545e; font-size: .8125rem; line-height: 1.3; }
.filter[aria-pressed='true'] { border-color: var(--ink); color: white; background: var(--ink); }
.filter:hover:not([aria-pressed='true']) { border-color: var(--action); color: var(--action); }
.food-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(7rem, calc((100% - 12px) / 2))), 1fr)); gap: 25px 12px; }
.food-card { display: block; min-width: 0; text-decoration: none; border-radius: 16px; }
.food-card .photo { position: relative; aspect-ratio: 3 / 4; border-radius: 17px; overflow: hidden; background: #efe3e8; }
.food-card .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.food-card .price { position: absolute; bottom: 9px; right: 9px; padding: 7px 9px; border-radius: 10px; background: #fffafc; color: var(--ink); font-size: 1.125rem; line-height: 1; font-weight: 500; box-shadow: 0 2px 7px #241c2012; }
.food-card .price small { margin-left: 3px; font-size: .6875rem; font-weight: 400; }
.food-card h3 { margin: 11px 0 0; font-size: 1.0625rem; line-height: 1.25; }
.food-card .meta { margin: 5px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.food-card:hover h3 { color: var(--action); }
.food-card:focus-visible { outline-offset: 5px; }
.with-dock { padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom)); }
.dock {
  position: fixed;
  z-index: 5;
  bottom: 0;
  inset-inline: 0;
  width: 100%;
  border-top: 1px solid #ecdce2;
  padding: 11px 24px max(13px, env(safe-area-inset-bottom));
  background: #fff7faf5;
  backdrop-filter: blur(12px);
}
.dock-inner { max-width: 392px; margin-inline: auto; }
.dock-caption { margin: 0 0 9px; text-align: center; color: #68545e; font-size: .75rem; line-height: 1.4; }
.dock .button { width: 100%; min-height: 51px; padding: 14px 18px; }
.footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 15px; padding: 18px 24px 24px; color: var(--muted); font-size: .75rem; line-height: 1.5; text-align: center; }
.footer > span { flex-basis: 100%; }
.footer button, .footer a { min-height: 44px; padding: 10px 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; }
.browse-shell:has(.dock) > .footer { padding-bottom: calc(var(--dock-height) + 24px + env(safe-area-inset-bottom)); }

/* Detail page offers enough information to decide, with a single next action. */
.offer-page { padding: 0 24px 28px; }
.offer-page > .back { justify-content: flex-start; border-radius: 8px; margin-bottom: 11px; }
.offer-image { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; overflow: hidden; }
.offer-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.offer-copy { margin-top: 25px; }
.offer-copy h1 { margin: 9px 0 0; font-size: 2.25rem; line-height: 1.08; letter-spacing: -.045em; }
.offer-copy .meta { margin: 10px 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.offer-price { margin: 20px 0 0; font-size: 2rem; line-height: 1; letter-spacing: -.03em; }
.offer-price small { margin-left: 5px; color: var(--muted); font-size: 1rem; letter-spacing: 0; }
.detail-rule { margin: 13px 0 20px; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.offer-copy > .button { width: 100%; }
.offer-copy > .plain { display: flex; width: 100%; margin-top: 5px; }
.detail-facts { margin-top: 20px; }
.detail-facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 14px; padding-block: 14px; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.5; }
.detail-facts dt { color: var(--muted); }
.detail-facts dd { margin: 0; }

dialog {
  width: min(calc(100% - 32px), 390px);
  max-height: calc(100svh - 32px);
  padding: 25px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 20px 80px #241c2026;
}
dialog::backdrop { background: #241c2073; backdrop-filter: blur(5px); }
dialog h2 { margin: 17px 0 0; font-size: 1.625rem; line-height: 1.15; letter-spacing: -.025em; }
dialog h3 { margin: 23px 0 8px; font-size: 1.125rem; }
dialog p, dialog li { font-size: .9375rem; line-height: 1.55; }
dialog ul { padding-left: 20px; }
dialog li + li { margin-top: 9px; }
dialog .button { margin-top: 14px; }
.notice-tag { display: inline-block; color: var(--action); font-size: .75rem; line-height: 1.4; }

@media (max-width: 350px) {
  .screen { padding-inline: 23px; }
  .top { gap: 12px; }
  .eyebrow { font-size: .6875rem; }
  .welcome-hero { margin-top: 25px; }
  .welcome-copy { margin-top: 28px; }
  .welcome-copy h1 { font-size: 2.2rem; }
  .question-copy h1, .issued-copy h1, .account-head h1 { font-size: 1.875rem; }
  .browse-header { padding-inline: 20px; }
  .browse-main, .offer-page { padding-inline: 20px; }
  .browse-header .nav { gap: 4px 8px; }
  .nav-link, .signin { font-size: .75rem; }
  .signin { padding-inline: 11px; }
  .food-card .price { right: 7px; bottom: 7px; padding: 6px 8px; }
  .issued-art { margin-inline: 5px; }
  .pass-top, .pass-bottom { padding-inline: 19px; }
}

@media (max-height: 600px) {
  .question-body { margin-top: 25px; }
  .issued-art { margin-top: 32px; margin-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (forced-colors: active) {
  .button, .filter, .taste, .prices li, .festival-pass, .mini-ticket, .signin, .dock { border: 1px solid ButtonText; }
  .taste[aria-pressed='true'], .filter[aria-pressed='true'] { outline: 2px solid Highlight; outline-offset: 1px; }
  .taste[aria-pressed='true']::after { background: Highlight; color: HighlightText; forced-color-adjust: none; }
  .segment { background: GrayText; forced-color-adjust: none; }
  .segment.done { background: Highlight; }
  .welcome-hero::before { border-color: CanvasText; }
  .error { border-color: CanvasText; }
}
