/* Studio 285 Marketplace — approved 2026 marketplace design */
:root {
  --background: #F7F4EE;
  --surface: #FFFEFB;
  --primary: #526B5B;
  --primary-dark: #445A4C;
  --text: #252824;
  --text-muted: #62665F;
  --accent-brass: #A37B40;
  --border: #DED8CD;
  --frame: #F0ECE4;
  --on-primary: #FFFFFF;
  --on-primary-muted: #E4EAE5;
  --pending: #8A5A1E;
  --error: #A3362A;
  --radius: 8px;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: 16px;
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.locked, html.locked body { overflow: hidden; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- wordmark + header ---------- */
.wm-name { font: 500 22px/1 var(--serif); letter-spacing: .02em; }
.wm-sub { font: 500 11px/1 var(--sans); letter-spacing: .32em; color: var(--text-muted); }
.topbar { border-bottom: 1px solid var(--border); background: var(--background); padding-top: env(safe-area-inset-top); }
.topbar-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 18px max(var(--gutter), env(safe-area-inset-right)) 18px max(var(--gutter), env(safe-area-inset-left));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; min-height: 44px; }
.pickup-tag { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.pickup-tag svg { width: 16px; height: 16px; fill: none; stroke: var(--accent-brass); stroke-width: 2; flex: none; }

/* ---------- page sections ---------- */
main > section, .foot-inner {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* intro */
.intro {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-top: 40px; padding-bottom: 32px;
}
.intro h1 { font: 500 clamp(30px, 4.4vw, 46px)/1.12 var(--serif); letter-spacing: -.01em; }
.intro-lede { margin: 14px 0 0; font-size: 17px; }
.intro-sub { margin: 4px 0 0; font-size: 15px; color: var(--text-muted); }
.intro-btn { flex: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--radius); border: 1px solid transparent;
  font: 500 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { opacity: .7; cursor: progress; }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { display: flex; width: 100%; }
.btn-lg { min-height: 52px; }
.linklike { background: none; border: 0; padding: 4px; color: var(--primary); text-decoration: underline; cursor: pointer; font-weight: 500; }

/* ---------- catalog ---------- */
.catalog { padding-bottom: 40px; outline: none; scroll-margin-top: 8px; }
.catalog > h2 {
  font: 500 clamp(26px, 3.2vw, 32px)/1.2 var(--serif);
  padding-top: 28px; border-top: 1px solid var(--border); margin-bottom: 16px;
}
.controls { display: flex; gap: 12px; align-items: center; }
.search {
  flex: 1 1 380px; min-width: 0;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 14px; min-height: 48px;
}
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 2; flex: none; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; min-height: 46px; font-size: 16px; }
.search input::placeholder { color: var(--text-muted); }
.search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.chips-wrap { position: relative; min-width: 0; flex: 0 1 auto; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips-wrap::before, .chips-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 28px; pointer-events: none; opacity: 0; transition: opacity .15s;
}
.chips-wrap::before { left: 0; background: linear-gradient(to left, rgba(247,244,238,0), var(--background)); }
.chips-wrap::after { right: 0; background: linear-gradient(to right, rgba(247,244,238,0), var(--background)); }
.chips-wrap.fade-left::before, .chips-wrap.fade-right::after { opacity: 1; }
.chip {
  flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-size: 15px; cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--primary); }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.row { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin: 18px 0 14px; }
.count { margin: 0; font-size: 15px; color: var(--text-muted); }
.row-right { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; }
.toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; color: var(--text-muted); min-height: 44px; }
.toggle input { accent-color: var(--primary); width: 20px; height: 20px; margin: 0; }
.sort select {
  min-height: 44px; padding: 0 36px 0 12px; font-size: 15px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23252824' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px;
}

/* ---------- grid + cards ---------- */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 360px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; color: var(--text); text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: #C9C0B1; box-shadow: 0 4px 14px rgba(37,40,36,.07); }
.card:focus-visible { outline-offset: 3px; }
.card-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--frame); overflow: hidden; }
.card-photo img, .card-photo .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.card[data-status="Sold"] .card-photo img { filter: grayscale(.55); opacity: .8; }
/* Big red SOLD stamp */
.sold-stamp {
  position: absolute; z-index: 3; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
  padding: .08em .42em .02em; border: .09em solid #C8102E; border-radius: .14em;
  box-shadow: inset 0 0 0 .045em rgba(255,255,255,.75), inset 0 0 0 .075em #C8102E;
  background: rgba(255,255,255,.72); color: #C8102E;
  font: 900 clamp(34px, 9vw, 64px)/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-indent: .12em;
  pointer-events: none; white-space: nowrap;
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.82) 61%, #000 75%);
          mask-image: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.82) 61%, #000 75%);
}
.sold-stamp-lg { font-size: clamp(56px, 14vw, 120px); }
@media (prefers-reduced-motion: no-preference) {
  .sold-stamp { animation: stamp-in .45s cubic-bezier(.2,1.6,.4,1) both; }
  @keyframes stamp-in { from { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(1.8); } to { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); } }
}
.card-num {
  position: absolute; left: 8px; bottom: 8px;
  font-size: 11px; letter-spacing: .06em; color: var(--text-muted);
  background: rgba(255,254,251,.9); padding: 2px 7px; border-radius: 4px;
}
.status {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font: 600 12px/1.4 var(--sans); letter-spacing: .03em;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
}
.card-photo .status { position: absolute; top: 8px; left: 8px; }
.status[data-status="Pending"] { background: var(--pending); color: #fff; border-color: var(--pending); }
.status[data-status="Sold"] { background: #C8102E; color: #fff; border-color: #C8102E; }
.vid-badge {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(37,40,36,.78); color: #fff; font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 4px;
}
.card-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 12px 14px 14px; }
.card-title { font: 500 17px/1.3 var(--serif); }
.card-bottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card-price b { display: block; font: 600 20px/1.2 var(--sans); }
.card-price small { display: block; font-size: 13px; color: var(--text-muted); }
.card-cta { font-size: 14px; font-weight: 500; color: var(--primary); white-space: nowrap; }
.card-cta i { font-style: normal; display: inline-block; transition: transform .15s; }
.card:hover .card-cta i { transform: translateX(3px); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--text-muted); font-size: 14px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--text-muted); padding: 40px 0; }
.more { text-align: center; margin-top: 24px; }

/* ---------- how it works ---------- */
.how { padding-top: 28px; padding-bottom: 36px; border-top: 1px solid var(--border); }
.how > h2 { font: 500 clamp(24px, 3vw, 28px)/1.2 var(--serif); margin-bottom: 18px; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.how li { display: flex; gap: 14px; align-items: flex-start; padding: 0 20px; border-left: 1px solid var(--border); }
.how li:first-child { padding-left: 0; border-left: 0; }
.step {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: #E9E3D8; color: var(--text);
  font: 500 18px/1 var(--serif);
}
.how h3 { font: 500 18px/1.3 var(--serif); margin: 2px 0 2px; }
.how p { margin: 0; font-size: 15px; color: var(--text-muted); }

/* ---------- footer ---------- */
.foot { background: var(--primary); color: var(--on-primary); padding: 28px 0 calc(22px + env(safe-area-inset-bottom)); }
.foot-inner { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; align-items: start; }
.foot-mark { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.foot .wm-sub { color: var(--on-primary-muted); }
.foot-col h2 { font: 600 14px/1.3 var(--sans); letter-spacing: .02em; margin-bottom: 6px; }
.foot-col p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--on-primary-muted); }
.foot-fine {
  max-width: var(--max); margin: 22px auto 0;
  padding: 16px max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  border-top: 1px solid rgba(255,255,255,.22);
  font-size: 13px; color: var(--on-primary-muted);
}
.foot :focus-visible { outline-color: #fff; }

/* ---------- dialog ---------- */
dialog.sheet {
  border: 0; padding: 0; margin: auto;
  width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  border-radius: 12px; background: var(--surface); color: var(--text);
  box-shadow: 0 24px 64px rgba(0,0,0,.28); overflow: hidden;
}
dialog.sheet::backdrop { background: rgba(37,40,36,.55); }
.view { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
#item-view { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.close {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(255,254,251,.95); font-size: 26px; line-height: 1; cursor: pointer; color: var(--text);
}

.gallery { position: relative; background: var(--frame); min-width: 0; align-self: start; position: sticky; top: 0; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; max-height: calc(100dvh - 32px); display: grid; place-items: center; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: contain; }
.gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(255,254,251,.95); font-size: 28px; line-height: 1; cursor: pointer; color: var(--text);
}
.gal-btn:disabled { opacity: .35; cursor: default; }
.prev { left: 10px; } .next { right: 10px; }
.gal-count {
  position: absolute; top: 12px; left: 12px;
  background: rgba(37,40,36,.72); color: #fff; font-size: 13px; padding: 2px 9px; border-radius: 999px;
}
.dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; flex-wrap: wrap; }
.dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,254,251,.75); box-shadow: 0 0 0 1px rgba(37,40,36,.35); }
.dot[aria-current="true"]::before { background: var(--primary); box-shadow: 0 0 0 1px #fff; }

.detail { padding: 28px 28px 28px; min-width: 0; }
.eyebrow { margin: 0 52px 8px 0; font-size: 13px; letter-spacing: .06em; color: var(--text-muted); }
.detail h2 { font: 500 28px/1.2 var(--serif); margin-right: 40px; }
.detail-price { margin: 12px 0 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.detail-price b { font: 600 28px/1.1 var(--sans); }
.detail-price span { color: var(--text-muted); font-size: 16px; }
.detail-price .status { align-self: center; color: #fff; font-size: 12px; }
.detail-intro { margin: 16px 0 0; font-size: 17px; }
.facts { margin: 18px 0 0; border-top: 1px solid var(--border); }
.facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.facts dt { color: var(--text-muted); }
.facts dd { margin: 0; }
.mini { font: 600 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 20px 0 8px; }
.bullets { margin: 0; padding-left: 20px; font-size: 15px; }
.bullets li { margin: 4px 0; }
.bullets li::marker { color: var(--accent-brass); }
.pickup { margin: 0; font-size: 15px; }
.actions { display: grid; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.nudge { margin: 0; font: 500 17px/1.3 var(--serif); }
.fine-note { margin: 0; font-size: 14px; color: var(--text-muted); text-align: center; }
.status-note { margin: 0; padding: 14px; text-align: center; background: var(--frame); border-radius: var(--radius); font-weight: 600; }

/* offer view */
.offer-view { padding: 24px 28px 28px; max-width: 560px; margin: 0 auto; width: 100%; }
dialog.sheet:has(#offer-view:not([hidden])) { width: min(560px, calc(100vw - 32px)); }
.back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; margin: 0 0 6px -4px;
  background: none; border: 0; color: var(--primary); font-weight: 500; cursor: pointer;
}
#offer-heading { font: 500 30px/1.2 var(--serif); }
.offer-lede { margin: 6px 0 16px; color: var(--text-muted); }
.offer-item {
  display: flex; gap: 12px; align-items: center;
  padding: 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--background);
  margin-bottom: 18px;
}
.offer-item img { width: 64px; height: 64px; object-fit: contain; background: var(--frame); border-radius: 6px; flex: none; }
.oi-name { display: block; font: 500 16px/1.3 var(--serif); }
.oi-meta { display: block; font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.oi-meta b { color: var(--text); }
.field { display: block; font-size: 15px; font-weight: 500; margin: 0 0 6px; }
.input {
  display: block; width: 100%; min-height: 48px; margin-bottom: 16px;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  padding: 10px 12px; font-size: 16px;
}
textarea.input { resize: vertical; min-height: 92px; }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.money { position: relative; }
.money span { position: absolute; left: 12px; top: 13px; color: var(--text-muted); pointer-events: none; }
.money .input { padding-left: 26px; }
.form-error { color: var(--error); font-size: 15px; margin: 0 0 12px; }
#offer-form .btn { margin-bottom: 12px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: center; display: grid; gap: 12px; padding: 16px 0 4px; }
.thanks h2 { font: 500 26px/1.2 var(--serif); outline: none; }
.thanks p { margin: 0; color: var(--text-muted); }
.check { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 26px; }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .controls { flex-direction: column; align-items: stretch; }
  .search { flex: none; }
}
@media (max-width: 767px) {
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .foot-mark { grid-column: 1 / -1; }
}

/* ---------- phones ---------- */
@media (max-width: 719px) {
  .wm-name { font-size: 20px; }
  .wm-sub { font-size: 10px; letter-spacing: .28em; }
  .topbar-inner { padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 0 12px; }
  .wordmark { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
  .pickup-tag { font-size: 13px; }

  .intro { flex-direction: column; align-items: stretch; gap: 20px; padding-top: 26px; padding-bottom: 24px; }
  .intro h1 { font-size: 32px; }
  .intro-lede { font-size: 16px; margin-top: 12px; }
  .intro-btn { width: 100%; min-height: 52px; }

  .catalog > h2 { padding-top: 22px; margin-bottom: 14px; }
  .row { margin-top: 14px; }
  .row-right { width: 100%; justify-content: space-between; }

  .card-photo { aspect-ratio: 1 / 1; }
  .card-body { padding: 10px 10px 12px; gap: 6px; }
  .card-title { font-size: 16px; }
  .card-price b { font-size: 18px; }
  .card-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  .how ol { grid-template-columns: 1fr; gap: 16px; }
  .how li, .how li:first-child { padding: 0; border-left: 0; }

  .foot-inner { grid-template-columns: 1fr; gap: 18px; }

  dialog.sheet {
    width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
    margin: 0; border-radius: 0;
  }
  dialog.sheet:has(#offer-view:not([hidden])) { width: 100vw; }
  .view { height: 100dvh; max-height: 100dvh; padding-bottom: env(safe-area-inset-bottom); }
  .close { top: calc(8px + env(safe-area-inset-top)); right: 8px; }
  #item-view { display: block; }
  .gallery { position: relative; }
  .slide { aspect-ratio: 1 / 1; max-height: 62dvh; }
  .gal-count { top: calc(14px + env(safe-area-inset-top)); }
  .detail { padding: 20px var(--gutter) 28px; }
  .detail h2 { font-size: 24px; margin-right: 0; }
  .eyebrow { margin-right: 0; }
  .detail-price b { font-size: 26px; }
  .offer-view { padding: calc(10px + env(safe-area-inset-top)) var(--gutter) 28px; max-width: none; }
  #offer-heading { font-size: 28px; }
}
@media (max-width: 359px) {
  .card-bottom { flex-direction: row; align-items: flex-end; }
  .pickup-tag span { font-size: 12px; }
}

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

/* Bold "starting prices" notice */
.offer-banner { margin: 12px 0 0; padding: 12px 14px; border: 2px solid var(--accent-brass); border-radius: var(--radius); background: var(--surface); color: var(--text); font: 700 17px/1.35 var(--sans); }
.offer-banner strong { font-weight: 700; }
.offer-banner-slim { margin: 0 0 16px; font-size: 16px; }

/* Instant-accept screen */
.accepted { position: relative; display: grid; gap: 12px; }
.confetti { position: absolute; left: 0; top: 0; width: 100%; height: 420px; pointer-events: none; z-index: 2; }
.accepted-head { text-align: center; display: grid; gap: 8px; padding: 8px 0 4px; }
.party { font-size: 44px; line-height: 1; }
.accepted-head h2 { font: 500 26px/1.2 var(--serif); margin: 0; outline: none; }
.accepted-item { margin: 0; color: var(--text-muted); }
.accepted-item b { color: var(--text); }
.hold-warning { margin: 4px 0 0; padding: 10px 12px; border-radius: var(--radius); background: #FBF1E2; border: 2px solid var(--pending); color: var(--text); font: 500 15px/1.35 var(--sans); }
.pay-step { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font: 600 17px/1.3 var(--sans); }
.pay-step .step { width: 28px; height: 28px; font-size: 14px; flex: none; }
.pay-list { display: grid; gap: 8px; }
.pay { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.pay b { font: 600 15px/1.3 var(--sans); }
.pay span { font-size: 14px; color: var(--text-muted); overflow-wrap: anywhere; }
.pay-memo { margin: 0; font-size: 14px; }
#pay-form select.input { appearance: auto; }

/* Hot / cold meter */
.meter { margin: 8px 0 4px; }
.meter-bar { height: 10px; border-radius: 99px; background: var(--frame); overflow: hidden; }
.meter-bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: #9DB5A3; transition: width .3s ease, background-color .3s; }
.meter[data-zone="cold"] .meter-bar span { background: #8FB3D9; }
.meter[data-zone="mild"] .meter-bar span { background: #E8C77A; }
.meter[data-zone="warm"] .meter-bar span { background: #E39A4E; }
.meter[data-zone="hot"] .meter-bar span { background: linear-gradient(90deg, #E39A4E, #D2452F); }
.meter-text { margin: 6px 0 0; font: 500 14px/1.35 var(--sans); color: var(--text-muted); }
.meter[data-zone="hot"] .meter-text { color: #A3362A; font-weight: 700; }

/* Slot machine */
.slot-view { text-align: center; padding: 24px 0 12px; display: grid; gap: 16px; }
.slot-title { margin: 0; font: 500 26px/1.2 var(--serif); outline: none; }
.reels { display: flex; justify-content: center; gap: 10px; padding: 14px; margin: 0 auto; border-radius: 16px; background: var(--primary); box-shadow: inset 0 0 0 4px var(--accent-brass); }
.reel { width: 76px; height: 86px; display: grid; place-items: center; font-size: 44px; border-radius: 10px; background: var(--surface); }
.reel.spinning { filter: blur(1px); }
.reel.landed { animation: land .25s ease-out; }
@keyframes land { 0% { transform: translateY(-8px); } 100% { transform: none; } }
.slot-result { margin: 0; min-height: 1.4em; font: 600 17px/1.35 var(--sans); }
@media (prefers-reduced-motion: reduce) { .reel.landed { animation: none; } .meter-bar span { transition: none; } }

/* "Keep checking back" note */
.dig-note { position: relative; margin: 14px 0 0; padding: 16px 14px 14px; border: 2px dashed var(--primary); border-radius: 12px; background: var(--surface); }
.dig-note p { margin: 0; font-size: 15px; line-height: 1.45; }
.dig-note .dig-title { font: 500 18px/1.3 var(--serif); margin: 6px 0 6px; }
.must-go { display: inline-block; transform: rotate(-3deg); padding: 3px 10px; border: 2px solid #A3362A; border-radius: 6px; color: #A3362A; font: 700 13px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: #FFF6F2; }
.fine-note.field-note { text-align: left; margin: 6px 0 2px; }
