/* Mr Zeytoun: shared look for the client app and the barber dashboard.
   A phone-width white column, slim black-on-white header, faded photo backgrounds, sharp 4px corners,
   black as the only accent, a black graphite loyalty card and a brushed-silver tab bar. Light only, on purpose. */
:root {
  color-scheme: light;
  --bg: #f1f1f1;
  --surface: #ffffff;
  --sunken: #f5f5f5;
  --ink: #0d0d0d;
  --muted: #6e6e6e;
  --line: #e4e4e4;
  --accent: #0d0d0d;
  --accent-ink: #ffffff;
  --card: #0d0d0d;
  --ok: #1d7a4a;
  --warn: #9a5b00;
  --bad: #b3261e;
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.45; -webkit-tap-highlight-color: transparent; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
* { box-sizing: border-box; }
img { max-width: 100%; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.app { position: relative; max-width: 460px; min-height: 100%; margin: 0 auto; background: var(--surface); display: flex; flex-direction: column; box-shadow: 0 0 0 1px var(--line); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line);
  padding-block: 12px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand > div { flex: 1; min-width: 0; }
.brand h1 { font-family: var(--display); font-weight: 900; font-size: 20px; letter-spacing: .16em; text-transform: uppercase; margin: 0; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.subrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.brand small { display: block; min-width: 0; color: var(--muted); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Photo fixed behind each client screen; the overlay washes it out so the content stays the focus. */
.photo-bg { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 66px); bottom: 0; left: 50%; transform: translateX(-50%); width: min(460px, 100%); z-index: 0; pointer-events: none;
  background: #fff url("../img/mrz-photo.webp") center top / cover no-repeat; }
.photo-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.22) 30%, rgba(255,255,255,.62) 50%, rgba(255,255,255,.7) 100%); }
.photo-bg.quiet::after { background: rgba(255,255,255,.88); }
.photo-bg.rewards { background-image: url("../img/mrz-rewards.webp"); background-position: center 40%; }
/* Top half (the printed name) washed to solid white; only the clay tin shows, faded. */
.photo-bg.mine { background-image: url("../img/mrz-bookings.webp"); background-position: center top; }
.photo-bg.mine::after { background: linear-gradient(180deg, #fff 0%, #fff 44%, rgba(255,255,255,.55) 54%, rgba(255,255,255,.5) 70%, rgba(255,255,255,.6) 100%); }
.top, main, .tabs { position: relative; z-index: 1; }
.top { position: sticky; z-index: 5; }
.tabs { position: sticky; z-index: 5; }
.app.with-photo main { background: transparent; }
.app.with-photo .svc, .app.with-photo .day, .app.with-photo .time:not([aria-pressed="true"]), .app.with-photo .summary, .app.with-photo .note,
.app.with-photo .reward-pick, .app.with-photo .empty, .app.with-photo .booking {
  background: rgba(255,255,255,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.app.with-photo .day[aria-pressed="true"] { background: var(--ink); }
.app.with-photo .ladder { background: rgba(255,255,255,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 4px; padding: 0 14px; }
.app.with-photo .steps span:not(.on) { background: rgba(0,0,0,.12); }
.hero { min-height: 370px; display: flex; align-items: flex-end; }
.hero-copy { display: flex; flex-direction: column; gap: 6px; text-shadow: 0 0 12px rgba(255,255,255,.9); }
.hero-copy .eyebrow { font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.hero-copy p { margin: 0; font-size: 15px; max-width: 34ch; color: var(--ink); }
.hero-copy .row { gap: 8px; margin-top: 6px; }
.tagline { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 9px; background: var(--ink); color: #fff; border-radius: 3px; letter-spacing: .04em; text-shadow: none; }

main { flex: 1; padding-block: 18px 28px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: 22px; }

/* Brushed-silver tab bar */
.tabs { bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: linear-gradient(180deg, #eef0f2 0%, #e1e4e7 55%, #d6d9dd 100%); border-top: 1px solid #c4c8cd;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 -4px 14px rgba(0,0,0,.06);
  padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.tabs button { border: 0; background: none; padding: 11px 4px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #5a6067;
  font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tabs button svg { width: 22px; height: 22px; }
.tabs button[aria-current="page"] { color: #0d0d0d; font-weight: 800; box-shadow: inset 0 2px 0 var(--ink); }

h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; letter-spacing: .01em; margin: 0; line-height: 1.1; text-wrap: balance; }
h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; font-weight: 700; }
.sub { color: var(--muted); margin: 4px 0 0; }
section { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; gap: 10px; }
.spread { justify-content: space-between; }
.num { font-variant-numeric: tabular-nums; }

.steps { display: flex; gap: 6px; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.steps span.on { background: var(--accent); }

.svc { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.svc:hover { border-color: var(--ink); box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.svc > div:first-child { min-width: 0; }
.svc b { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 14.5px; }
.svc span { color: var(--muted); font-size: 13px; }
.svc .desc { display: block; margin-top: 2px; }
.svc .price { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--accent); flex-shrink: 0; text-align: right; }
.svc .price small { display: block; font-family: var(--body); font-size: 12px; color: var(--muted); font-weight: 600; }
.list { display: flex; flex-direction: column; gap: 8px; }

.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.day { flex: 0 0 auto; width: 58px; padding: 8px 0; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 1px; }
.day small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.day strong { font-family: var(--display); font-size: 21px; font-weight: 800; line-height: 1.1; }
.day[aria-pressed="true"] { background: var(--card); border-color: var(--card); color: #fff; }
.day[aria-pressed="true"] small { color: inherit; opacity: .75; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.time { padding: 10px 0; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); font-weight: 600; font-variant-numeric: tabular-nums; }
.time[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.empty { padding: 18px; border: 1px dashed var(--line); border-radius: 4px; color: var(--muted); text-align: center; }

.btn { border: 0; border-radius: 4px; padding: 14px 16px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 14px; background: var(--accent); color: var(--accent-ink); width: 100%;
  box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.btn:hover:not([disabled]) { background: #2a2a2a; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover:not([disabled]) { background: var(--sunken); }
.btn.small { width: auto; padding: 7px 12px; font-size: 12px; border-radius: 4px; }
.btn.busy { opacity: .6; pointer-events: none; }
.link { border: 0; background: none; padding: 0; color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .cell input, .cell select { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--sunken); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.summary { background: var(--sunken); border-radius: 4px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.summary .row { justify-content: space-between; }
.summary .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; font-weight: 700; }
.summary .sum-svc { font-family: var(--display); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.summary .total span:first-child { font-family: var(--display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.summary .total span:last-child { font-family: var(--display); font-weight: 800; font-size: 18px; }
.reward-pick { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 4px; }
.reward-pick input { margin-top: 3px; accent-color: var(--accent); }

/* Black graphite loyalty card, like a metal charge card: brushed grain, faint star specks, a soft diagonal sheen. */
.card { position: relative; color: #fff; border-radius: 10px; padding: 20px 18px 18px; overflow: hidden; border: 1px solid #2a2a2a;
  background:
    radial-gradient(circle, rgba(255,255,255,.32) 0 .6px, transparent 1.1px) 3px 7px / 37px 29px,
    radial-gradient(circle, rgba(255,255,255,.16) 0 .5px, transparent 1px) 21px 13px / 59px 43px,
    radial-gradient(circle, rgba(255,255,255,.38) 0 .8px, transparent 1.4px) 44px 31px / 83px 71px,
    radial-gradient(circle, rgba(255,255,255,.12) 0 .5px, transparent 1px) 11px 52px / 47px 61px,
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #222 0%, #0b0b0b 45%, #050505 70%, #161616 100%);
  box-shadow: 0 16px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.09) 42%, rgba(255,255,255,0) 56%); }
.card > * { position: relative; z-index: 1; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: #fff; }
.card-name { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.05; }
.card .lbl { font-size: 10.5px; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; margin-top: 5px; color: #fff; }
.card .big { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; text-align: right; flex-shrink: 0; }
.card .big span { font-size: 18px; color: rgba(255,255,255,.6); }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 6px; margin-top: 22px; }
/* Unearned: dashed ring, faint number. Earned: a raised glossy white disc with a black number and a tick. */
.stamp { aspect-ratio: 1; max-width: 100%; border-radius: 50%; display: grid; place-items: center; position: relative;
  border: 1.5px dashed rgba(255,255,255,.3); color: rgba(255,255,255,.4); }
.stamp .sn { font-family: "Michroma", var(--display); font-size: 17px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stamp.goal { border-style: solid; border-color: rgba(255,255,255,.65); color: rgba(255,255,255,.75); }
.stamp.on { border: 0; color: #0d0d0d; transform: translateY(-2px);
  background: radial-gradient(circle at 35% 28%, #ffffff 0%, #f4f4f4 38%, #cfcfcf 78%, #b4b4b4 100%);
  box-shadow: 0 3px 0 #7d7d7d, 0 7px 12px rgba(0,0,0,.65), inset 0 2px 2px #fff, inset 0 -3px 6px rgba(0,0,0,.18); }
.stamp .chk { position: absolute; top: -4px; right: -4px; width: 17px; height: 17px; border-radius: 50%; background: #0d0d0d; color: #fff;
  display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.stamp .chk svg { width: 11px; height: 11px; }
.stamp .tag { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); background: #fff; color: #000; box-shadow: 0 0 0 2px var(--card); font-size: 9px; padding: 1px 5px; border-radius: 6px; white-space: nowrap; letter-spacing: .04em; }
.bar { height: 6px; background: rgba(255,255,255,.2); border-radius: 3px; overflow: hidden; margin-top: 16px; }
.bar i { display: block; height: 100%; background: #fff; border-radius: 3px; }

.ladder { display: flex; flex-direction: column; }
.ladder > div { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ladder > div:last-child { border-bottom: 0; }
.ladder .n { width: 44px; height: 44px; border-radius: 50%; background: var(--sunken); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 17px; flex-shrink: 0; }
.ladder .ready .n { background: var(--accent); color: var(--accent-ink); }
.ladder p { margin: 0; flex: 1; min-width: 0; }
.ladder p small { display: block; color: var(--muted); }

.booking { border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.booking .when { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.1; }
.booking .meta { color: var(--muted); font-size: 13px; }
.booking .who { font-weight: 700; color: var(--ink); }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: .05em; border: 1px solid currentColor; white-space: nowrap; }
.pill.upcoming { color: var(--card); }
.pill.done { color: var(--ok); }
.pill.cancelled, .pill.noshow { color: var(--muted); }
.pill.reward { color: var(--accent); }

.note { font-size: 13px; color: var(--muted); background: var(--sunken); border-radius: 3px; padding: 10px 12px; }

/* "Your appointment changed" notice in the client app */
.notice { background: var(--ink); color: #fff; border-radius: 4px; padding: 14px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.notice small { font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.notice b { font-size: 15px; line-height: 1.35; }
.notice span { font-size: 13px; opacity: .8; }
.notice .row { margin-top: 6px; gap: 8px; }
.notice .btn.small { background: #fff; color: var(--ink); box-shadow: none; }
.notice .btn.small.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.pill:not([class*=" "]) { color: var(--muted); }
.note.err { color: var(--bad); }

.done-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 10px; }
.done-hero .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }

.loading { flex: 1; display: grid; place-items: center; min-height: 50vh; color: var(--muted); font-family: var(--display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.demo-flag { font-size: 11.5px; text-align: center; color: var(--warn); background: #fff7e6; border-bottom: 1px solid #f1dfb8; padding: 6px 12px; position: relative; z-index: 6; }

/* Four tabs in the client app: slightly tighter labels so "Loyalty points" fits */
.tabs.four button { font-size: 9px; letter-spacing: .07em; padding-inline: 2px; }

/* Prompt to turn on appointment notifications */
.cta-card { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--ink); border-radius: 6px; padding: 12px 14px; background: var(--surface); }
.cta-card > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cta-card b { font-size: 14px; }
.cta-card span { font-size: 12.5px; color: var(--muted); }
.cta-card .btn { flex-shrink: 0; }

/* Prize wheel card on the Loyalty page */
.spin-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: rgba(255,255,255,.88); }
.spin-card > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.spin-card small { font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.spin-card b { font-family: var(--display); font-weight: 800; font-size: 16px; }
.spin-card span { font-size: 12.5px; color: var(--muted); }
.spin-card.ready { border: 1.5px solid var(--ink); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.spin-card .btn { flex-shrink: 0; padding: 10px 18px; }

/* Prize vouchers */
.voucher { display: flex; align-items: center; gap: 12px; border: 1.5px dashed var(--ink); border-radius: 6px; padding: 12px 14px; background: rgba(255,255,255,.9); }
.voucher > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.voucher b { font-family: var(--display); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
.voucher span { font-size: 12.5px; color: var(--muted); }
.voucher .code { font-family: "Michroma", var(--display); font-size: 13px; letter-spacing: .08em; background: var(--ink); color: #fff; border-radius: 4px; padding: 6px 8px; flex-shrink: 0; }

/* Shop tab */
.shop-card { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: rgba(255,255,255,.9); color: var(--ink); text-decoration: none; }
.shop-card img { width: 96px; height: 96px; object-fit: cover; object-position: center 72%; border-radius: 6px; flex-shrink: 0; }
.shop-card > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.shop-card small { font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.shop-card b { font-family: var(--display); font-weight: 800; font-size: 15px; overflow-wrap: anywhere; }
.shop-card span { font-size: 12.5px; color: var(--muted); }
a.btn { display: block; text-align: center; text-decoration: none; }

/* Prize wheel (full screen) */
.wheel-overlay { position: fixed; inset: 0; z-index: 30; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 14px; overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 28px) max(20px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) max(20px, env(safe-area-inset-left, 0px)); }
.wheel-overlay > * { width: min(400px, 100%); }
.wheel-overlay h2, .wheel-overlay .sub { text-align: center; }
.wheel-x { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 12px); right: 14px; width: 40px !important; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; }
.wheel-x[disabled] { opacity: .3; }
.wheel-wrap { position: relative; aspect-ratio: 1; max-width: 340px; margin-top: 6px; }
.wheel-rot { width: 100%; height: 100%; will-change: transform; filter: drop-shadow(0 10px 24px rgba(0,0,0,.25)); }
.wheel-svg { width: 100%; height: 100%; display: block; }
.wheel-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 2; width: 0; height: 0;
  border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid var(--ink); filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }
.wheel-result { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.wheel-result small { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.wheel-result > b { font-family: var(--display); font-weight: 900; font-size: 24px; text-transform: uppercase; line-height: 1.15; }
.wheel-result span { font-size: 14px; color: var(--muted); max-width: 34ch; }
.wheel-result .btn { margin-top: 8px; }

/* Opening intro video (client app) */
.intro { position: fixed; inset: 0; z-index: 50; background: #fff; display: grid; place-items: center; cursor: pointer; transition: opacity .9s ease; }
/* While the intro plays the app waits invisible underneath, then fades in as the intro dissolves. */
.app { transition: opacity .9s ease; }
.intro-on .app { opacity: 0; }
.intro video, .intro-still { width: min(460px, 100%); height: 100%; object-fit: cover; display: block; background: #fff; }
.intro video::-webkit-media-controls, .intro video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.intro.out { opacity: 0; pointer-events: none; }
.intro-skip { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); right: max(14px, calc(50% - 230px + 14px)); border: 0; border-radius: 999px;
  background: rgba(0,0,0,.45); color: #fff; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 7px 13px; }

.toast { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: 3px; font-weight: 600; font-size: 14px; z-index: 20; max-width: calc(100% - 32px); }
@media (prefers-reduced-motion: no-preference) { .toast { animation: up .2s ease-out; } @keyframes up { from { transform: translate(-50%, 8px); opacity: 0; } } }
