/* ==========================================================================
 * Festival Studio - the vendor's side (Milestone H)
 *
 *   st-vway        "Selling at events?" on Your events (views/festivals.js)
 *   st-topbar__vlink  the vendor side's links in the top bar (views/shell.js)
 *   st-signin__switch "New to AKTVO? Create account" (views/signin.js)
 *   st-vverify     "Verify your email" (ui/vendor-verify.js)
 *   st-vhub        the vendor hub (views/vendor-hub.js)
 *   st-vevents     Find events (views/vendor-events.js)
 *   st-vprofile    a business profile (views/vendor-profile.js), st-vteam its team
 *   st-vjoin       a team invitation (views/vendor-join.js)
 *   st-vcard       the stand card preview (ui/vendor-card-preview.js)
 *   st-vevent      an event's page for vendors (views/vendor-event.js),
 *                  st-vtier its tiers
 *   st-vstatus     where a registration stands (ui/vendor-status.js)
 *   st-vpick       pick your spot (ui/vendor-spot-picker.js; the rest is
 *                  the st-spot-pick sheet of spot bidding)
 *
 * The vendor pages have no rail (st-app--bid, studio.css) and are made for
 * phones as much as for laptops: one column under 900 px. Colours are the
 * kit's tokens; a tier's colour comes from the data as an inline style.
 * Nothing here moves: the only transitions are the kit's colour fades, which
 * studio.css switches off under prefers-reduced-motion.
 * ========================================================================== */

/* ---------- the way in, the top bar, sign-in ---------- */
.st-vway { border-color: rgba(124, 92, 255, 0.3); }
.st-vway > .st-card__body { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 16px 20px; }
.st-vway > .st-card__body > * + * { margin-top: 0; }
.st-vway__icon { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--st-r-10); color: var(--st-lavender); background: rgba(109, 92, 255, 0.14); }
.st-vway__text { flex: 1 1 280px; min-width: 0; }
.st-vway__title { font-size: 15px; font-weight: 600; }
.st-vway__body { margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--st-text-dim); }

.st-topbar__vlink[aria-current="page"] { color: #fff; background: rgba(109, 92, 255, 0.16); }
.st-topbar__vlink[aria-current="page"] .st-icon { color: var(--st-lavender); }

.st-signin__arrival:empty { display: none; }
@media (max-width: 960px) {
  /* A vendor on a phone came to create an account: the form first, the pitch in one line. */
  .st-signin--vendor .st-signin__brand { padding-bottom: 18px; gap: 12px; }
  .st-signin--vendor .st-signin__pitch > p { display: none; }
  .st-signin--vendor .st-signin__pitch h1 { margin-bottom: 0; font-size: 20px; }
}
.st-signin__switch { margin-top: -4px; font-size: 13.5px; color: var(--st-text-dim); text-align: center; }
.st-signin__switch .st-textlink { font-weight: 600; }

/* ---------- verify your email ---------- */
.st-vverify {
  display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px 14px; padding: 14px 16px; border-radius: var(--st-r-12);
  border: 1px solid rgba(251, 191, 36, 0.38); background: rgba(251, 191, 36, 0.07);
}
.st-vverify[hidden] { display: none; }
.st-vverify__icon { flex: 0 0 auto; margin-top: 1px; color: var(--st-amber); }
.st-vverify__main { flex: 1 1 280px; min-width: 0; }
.st-vverify__title { font-size: 14px; font-weight: 600; }
.st-vverify__body { margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--st-text-dim); overflow-wrap: anywhere; }
.st-vverify__status { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--st-text-dim); }
.st-vverify__status.is-ok { color: #6ee7b7; }
.st-vverify__status.is-error { color: var(--st-red-text); }
.st-vverify__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

/* ---------- the hub ---------- */
.st-vhub { max-width: 980px; }
.st-vhub__welcome { border-color: rgba(124, 92, 255, 0.35); background: linear-gradient(180deg, rgba(109, 92, 255, 0.1), rgba(109, 92, 255, 0) 70%), var(--st-bg-card); }
.st-vhub__welcome > .st-card__body { padding: 24px; }
.st-vhub__welcome-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.st-vhub__welcome-lead { margin-top: 6px; max-width: 62ch; font-size: 14px; line-height: 1.55; color: var(--st-text-dim); }
.st-vhub__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.st-vhub__step { display: flex; gap: 10px; padding: 12px; border-radius: var(--st-r-12); border: 1px solid var(--st-border); background: var(--st-bg-elev); }
.st-vhub__step-n { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--st-violet); }
.st-vhub__step-title { font-size: 13.5px; font-weight: 600; }
.st-vhub__step-text { margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--st-text-muted); }
.st-vhub__welcome-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.st-vhub__rows { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border: 1px solid var(--st-border); border-radius: var(--st-r-12); background: var(--st-bg-elev); }
.st-vhub__row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; min-height: 64px; padding: 12px 12px 12px 14px; min-width: 0; }
.st-vhub__row + .st-vhub__row { border-top: 1px solid var(--st-border); }
.st-vhub__row.is-closed .st-vhub__title { color: var(--st-text-dim); }
.st-vhub__main { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.st-vhub__title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-vhub__meta { font-size: 12.5px; color: var(--st-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-vhub__biz { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--st-text-dim); min-width: 0; }
.st-vhub__biz span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-vhub__biz .st-icon { flex: 0 0 auto; color: var(--st-text-muted); }
.st-vhub__state { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 120px; }
.st-vhub__short { font-size: 12px; color: var(--st-text-muted); }
.st-vhub__row > .st-btn { flex: 0 0 auto; margin-left: auto; }

.st-vhub__profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.st-vhub__profiles > li { display: flex; min-width: 0; }
.st-vhub__profile {
  flex: 1 1 auto; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: var(--st-r-12);
  border: 1px solid var(--st-border); background: var(--st-bg-elev); transition: background var(--st-ease), border-color var(--st-ease);
}
.st-vhub__profile:hover { border-color: rgba(255, 255, 255, 0.24); background: #131930; }
.st-vhub__profile-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.st-vhub__profile-name { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-vhub__profile-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--st-text-muted); }
.st-vhub__profile-gap { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #fcd34d; }
.st-vhub__profile-open { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--st-text-muted); }
.st-vhub__profile:hover .st-vhub__profile-open { color: var(--st-lavender); }
.st-vhub__limit { font-size: 12.5px; color: var(--st-text-muted); }

.st-vhub__host > .st-card__body { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; padding: 14px 18px; }
.st-vhub__host > .st-card__body > * + * { margin-top: 0; }
.st-vhub__host > .st-card__body > div { flex: 1 1 280px; min-width: 0; }
.st-vhub__host-icon { flex: 0 0 auto; color: var(--st-text-muted); }
.st-vhub__host-title { font-size: 13.5px; font-weight: 600; }
.st-vhub__host-text { margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--st-text-muted); }

/* ---------- find events ---------- */
.st-vevents__toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.st-vevents__mode { font-size: 12px; font-weight: 600; color: var(--st-text-muted); }

/* ---------- a business profile ---------- */
.st-vprofile { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; padding-bottom: 76px; }
.st-vprofile__form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.st-vprofile__error:empty { display: none; }
.st-vprofile__preview { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.st-vprofile__preview-title { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--st-text-muted); }
/* Small tiles: six photos fit in a row or two, not a screen each. */
.st-vprofile .st-vdrawer__photos:not(.is-empty) { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.st-vprofile__photonew {
  position: absolute; left: 6px; bottom: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 600;
  color: #fcd34d; background: rgba(5, 6, 10, 0.78); border: 1px solid rgba(251, 191, 36, 0.4);
}
.st-vdrawer__count { font-size: 12px; font-weight: 600; color: var(--st-text-muted); font-variant-numeric: tabular-nums; }
/* The save bar stays in reach on a long form. */
.st-vprofile__bar {
  position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: -60px;
  padding: 10px 12px 10px 16px; border-radius: var(--st-r-12); border: 1px solid var(--st-border-strong); background: var(--st-bg-pop); box-shadow: var(--st-shadow-pop);
}
.st-vprofile__bar[hidden] { display: none; }
.st-vprofile__bar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.st-vteam { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.st-vteam-card .st-vdrawer__row > .st-badge { flex: 0 0 auto; }
/* An invitation by email: the address where a person's name would be. */
.st-vteam__invite > .st-person__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.st-vteam__invite .st-person__name { font-size: 13.5px; font-weight: 600; }
.st-vteam__invite .st-person__sub { font-size: 12.5px; color: var(--st-text-muted); }
.st-vteam__mail { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--st-text-dim); background: var(--st-bg-card); border: 1px dashed var(--st-border-strong); }

/* ---------- a team invitation (#/vendor/join) ---------- */
.st-vjoin { max-width: 520px; }
.st-vjoin .st-gate__body { display: flex; flex-direction: column; gap: 8px; }
.st-vjoin .st-gate__body .st-prose { margin: 0; }
.st-vjoin .st-gate__body .st-badge { vertical-align: 1px; }
.st-vjoin__account { overflow-wrap: anywhere; }
.st-vjoin__logo { width: 56px; height: 56px; margin-bottom: 6px; border-radius: var(--st-r-12); object-fit: cover; border: 1px solid var(--st-border); background: var(--st-bg-elev); }
/* The verify note and a refusal read as blocks of their own, left aligned in the centred card. */
.st-vjoin > .st-vverify, .st-vjoin > .st-callout { align-self: stretch; text-align: left; margin-top: 6px; }
/* The same note in the "verify first" gate of the join page. */
.st-vjoin-page .st-gate__card > .st-vverify { align-self: stretch; text-align: left; margin-top: 6px; }

/* ---------- the stand card preview ---------- */
.st-vcard { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.st-vcard__sheet {
  display: flex; flex-direction: column; gap: 12px; padding: 10px 18px 18px; border-radius: 22px 22px 14px 14px;
  background: #0f1322; border: 1px solid var(--st-border-strong); min-width: 0;
}
.st-vcard__handle { align-self: center; width: 40px; height: 4px; border-radius: 2px; background: rgba(170, 178, 197, 0.4); }
.st-vcard__head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.st-vcard__head .st-vendors-thumb { border-radius: 14px; }
.st-vcard__ident { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.st-vcard__name { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-vcard__name.is-empty { color: var(--st-text-muted); font-weight: 600; }
.st-vcard__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--st-text-muted); }
.st-vcard__tier {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
  color: #fcd34d; background: rgba(251, 191, 36, 0.14); border: 1px solid rgba(251, 191, 36, 0.35);
}
.st-vcard__desc { font-size: 13.5px; line-height: 1.45; color: var(--st-text-dim); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; white-space: pre-line; }
.st-vcard__desc.is-empty { color: var(--st-text-muted); font-style: italic; }
.st-vcard__offer { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: var(--st-r-12); border: 1px dashed rgba(251, 191, 36, 0.5); background: rgba(251, 191, 36, 0.06); }
.st-vcard__offer[hidden] { display: none; }
.st-vcard__offer > .st-icon { flex: 0 0 auto; margin-top: 1px; color: var(--st-amber); }
.st-vcard__offer-title { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.st-vcard__offer-details { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--st-text-dim); overflow-wrap: anywhere; }
.st-vcard__offer-code { margin-top: 4px; font-size: 12.5px; color: var(--st-text-muted); }
.st-vcard__offer-code code { font-family: var(--st-mono); font-weight: 600; letter-spacing: 0.06em; color: var(--st-text); }
.st-vcard__photos { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.st-vcard__photos[hidden] { display: none; }
.st-vcard__photos img { flex: 0 0 auto; width: 104px; height: 78px; object-fit: cover; border-radius: 12px; background: var(--st-bg-elev); }
.st-vcard__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.st-vcard__actions[hidden] { display: none; }
.st-vcard__btn {
  flex: 1 1 calc(50% - 4px); display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 10px;
  border-radius: 12px; border: 1px solid var(--st-border-strong); font-size: 13px; font-weight: 600; color: var(--st-text); white-space: nowrap;
}
.st-vcard__btn.is-primary { flex-basis: 100%; color: #fff; background: #ec4899; border-color: #ec4899; }
.st-vcard__note { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; line-height: 1.45; color: var(--st-text-muted); }
.st-vcard__note .st-icon { flex: 0 0 auto; margin-top: 2px; }

/* ---------- an event's page for vendors ---------- */
.st-vevent__notes, .st-vevent__statuses { display: flex; flex-direction: column; gap: 10px; }
.st-vevent__notes:empty, .st-vevent__statuses:empty { display: none; }
.st-vevent__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 16px; align-items: start; }
/* The map stays in view while the form on the left is filled in. */
.st-vevent__side { position: sticky; top: 16px; }
.st-vevent__grid.is-single { grid-template-columns: minmax(0, 780px); }
.st-vevent__grid.is-single > .st-vevent__side { display: none; }
.st-vevent__about { display: flex; flex-direction: column; gap: 14px; }
.st-vevent__intro { font-size: 14px; line-height: 1.6; color: var(--st-text); white-space: pre-line; overflow-wrap: anywhere; }
.st-vevent__intro.is-empty { color: var(--st-text-muted); font-style: italic; }
.st-vevent__facts { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.5; color: var(--st-text-dim); }
.st-vevent__facts li { display: flex; align-items: flex-start; gap: 8px; }
.st-vevent__facts .st-icon { flex: 0 0 auto; margin-top: 3px; color: var(--st-text-muted); }
.st-vevent__entry { border-color: rgba(124, 92, 255, 0.35); }
.st-vevent__entry > .st-card__body { display: flex; flex-direction: column; gap: 22px; }
.st-vevent__entry > .st-card__body > * + * { margin-top: 0; }
.st-vevent__block { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.st-vevent__block[hidden], .st-vevent__submit[hidden] { display: none; }
.st-vevent__step { display: flex; align-items: flex-start; gap: 10px; }
.st-vevent__step-n { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--st-violet); }
.st-vevent__step-title { font-size: 14.5px; font-weight: 600; line-height: 24px; }
.st-vevent__step-sub { font-size: 12.5px; line-height: 1.5; color: var(--st-text-muted); }
.st-vevent__biz { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--st-r-12); border: 1px solid var(--st-border); background: var(--st-bg-elev); min-width: 0; }
.st-vevent__biz-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.st-vevent__biz-name { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-vevent__biz > .st-link { flex: 0 0 auto; font-size: 13px; }
.st-vevent__hint { font-size: 12.5px; line-height: 1.5; color: var(--st-text-muted); }
.st-vevent__hint.is-warn { display: flex; align-items: flex-start; gap: 6px; color: #fcd34d; }
.st-vevent__hint .st-icon { flex: 0 0 auto; margin-top: 2px; }
.st-vevent__code { display: flex; align-items: center; gap: 8px; }
.st-vevent__code .st-input { flex: 1 1 160px; max-width: 240px; font-family: var(--st-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.st-vevent__terms { border: 1px solid var(--st-border); border-radius: var(--st-r-12); background: var(--st-bg-elev); }
.st-vevent__terms > summary { cursor: pointer; padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--st-text-dim); }
.st-vevent__terms-text { max-height: 220px; overflow-y: auto; padding: 0 14px 12px; font-size: 13px; line-height: 1.55; color: var(--st-text-dim); white-space: pre-line; overflow-wrap: anywhere; }
.st-vevent__submit { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; border-top: 1px solid var(--st-border); }
.st-vevent__submit > .st-callout { margin-top: 14px; }
.st-vevent__go { align-self: flex-start; min-height: 42px; padding: 0 18px; margin-top: 14px; font-size: 14.5px; }
.st-vevent__submit > .st-callout + .st-vevent__go { margin-top: 4px; }
.st-vevent__mapcard .st-card__body { display: flex; flex-direction: column; }
.st-vevent__mapcard .st-spot-map { height: max(380px, calc(100dvh - 360px)); max-height: 620px; border-top: 1px solid var(--st-border); }
.st-vevent__mapcard[hidden] { display: none; }
.st-vevent__mapnote { padding: 8px 14px 10px; font-size: 12.5px; color: var(--st-text-dim); border-top: 1px solid var(--st-border); }
.st-vevent__mapnote:empty { display: none; }

.st-vtiers { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.st-vtier {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--st-r-12);
  border: 1px solid var(--st-border); background: var(--st-bg-elev); min-width: 0;
}
.st-vtier.is-pickable { cursor: pointer; transition: border-color var(--st-ease), background var(--st-ease); }
.st-vtier.is-pickable:hover { border-color: var(--st-border-strong); }
.st-vtier.is-on { border-color: var(--st-violet-2); background: rgba(109, 92, 255, 0.1); }
.st-vtier.is-full { opacity: 0.62; }
.st-vtier.is-pickable.is-full { cursor: not-allowed; }
.st-vtier__radio { flex: 0 0 auto; width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--st-violet); }
.st-vtier:has(.st-vtier__radio:focus-visible) { outline: 2px solid var(--st-focus); outline-offset: 2px; }
.st-vtier__dot { flex: 0 0 auto; width: 12px; height: 12px; margin-top: 5px; border-radius: 4px; }
.st-vtier__main { flex: 1 1 0%; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.st-vtier__name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 14.5px; font-weight: 600; }
.st-vtier__badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
  color: #fcd34d; background: rgba(251, 191, 36, 0.14); border: 1px solid rgba(251, 191, 36, 0.35);
}
.st-vtier__desc { font-size: 13px; line-height: 1.5; color: var(--st-text-dim); white-space: pre-line; overflow-wrap: anywhere; }
.st-vtier__nums { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.st-vtier__price { font-size: 16px; font-weight: 700; }
.st-vtier__left { font-size: 12px; color: var(--st-text-muted); white-space: nowrap; }
.st-vtier__left.is-full { color: #fcd34d; font-weight: 600; }

/* ---------- where a registration stands ---------- */
.st-vstatus {
  display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: var(--st-r-14);
  border: 1px solid var(--st-border-strong); background: var(--st-bg-card); min-width: 0;
}
.st-vstatus.is-success { border-color: rgba(52, 211, 153, 0.38); background: linear-gradient(180deg, rgba(52, 211, 153, 0.08), rgba(52, 211, 153, 0) 80%), var(--st-bg-card); }
.st-vstatus.is-warning { border-color: rgba(251, 191, 36, 0.4); background: linear-gradient(180deg, rgba(251, 191, 36, 0.08), rgba(251, 191, 36, 0) 80%), var(--st-bg-card); }
.st-vstatus.is-danger { border-color: rgba(251, 113, 133, 0.42); background: linear-gradient(180deg, rgba(251, 113, 133, 0.08), rgba(251, 113, 133, 0) 80%), var(--st-bg-card); }
.st-vstatus__head { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; }
.st-vstatus__icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--st-r-10); color: var(--st-lavender); background: rgba(109, 92, 255, 0.14); }
.st-vstatus.is-success .st-vstatus__icon { color: var(--st-green); background: rgba(52, 211, 153, 0.12); }
.st-vstatus.is-warning .st-vstatus__icon { color: var(--st-amber); background: rgba(251, 191, 36, 0.12); }
.st-vstatus.is-danger .st-vstatus__icon { color: var(--st-red); background: rgba(251, 113, 133, 0.12); }
.st-vstatus__heading { flex: 1 1 240px; min-width: 0; }
.st-vstatus__title { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; overflow-wrap: anywhere; }
.st-vstatus__who { margin-top: 2px; font-size: 13px; color: var(--st-text-dim); overflow-wrap: anywhere; }
.st-vstatus__steps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; }
.st-vstatus__step { display: inline-flex; align-items: center; gap: 6px; color: var(--st-text-muted); }
.st-vstatus__dot { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--st-border-strong); }
.st-vstatus__step.is-done { color: var(--st-text-dim); }
.st-vstatus__step.is-done .st-vstatus__dot { border-color: var(--st-green); background: var(--st-green); color: #05210f; }
.st-vstatus__step.is-now { color: var(--st-text); font-weight: 600; }
.st-vstatus__step.is-now .st-vstatus__dot { border-color: var(--st-violet-2); background: rgba(109, 92, 255, 0.35); }
.st-vstatus__text { font-size: 14px; line-height: 1.55; color: var(--st-text-dim); overflow-wrap: anywhere; }
/* An invitation's sentence is read whole: it wraps instead of being cut. */
.st-myinv__title--wrap { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.st-vstatus__note { display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(245, 184, 71, 0.35); background: rgba(245, 184, 71, 0.08); font-size: 13px; line-height: 1.5; color: var(--st-text-dim); overflow-wrap: anywhere; }
.st-vstatus__note svg { flex: none; margin-top: 2px; color: var(--st-amber, #f5b847); }
.st-vstatus__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.st-vstatus__foot { font-size: 12.5px; line-height: 1.5; color: var(--st-text-muted); overflow-wrap: anywhere; }
.st-vstatus__receipt { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding-top: 12px; border-top: 1px solid var(--st-border); font-size: 13px; }
.st-vstatus__receipt > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.st-vstatus__receipt dt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--st-text-muted); }
.st-vstatus__receipt dd { margin: 0; color: var(--st-text); overflow-wrap: anywhere; }
.st-vstatus__receipt dd.st-mono { font-size: 12px; color: var(--st-text-dim); }
.st-vstatus > .st-row { color: var(--st-text-dim); font-size: 14px; }

/* ---------- pick your spot ---------- */
.st-vpick__notice:empty { display: none; }
.st-vpick__item { padding: 0; }
.st-vpick__row { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; text-align: left; font-size: 13px; }
.st-vpick__row:disabled { cursor: default; color: var(--st-text-muted); }
.st-vpick__row:not(:disabled):hover { background: rgba(255, 255, 255, 0.04); }
.st-vpick__row:focus-visible { outline-offset: -2px; }
.st-vpick__dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 3px; }

/* Picking a spot on a phone: a full-screen sheet. The map on top (always in
   view), the list of big rows under it (it scrolls by itself), the buttons at
   the bottom - nothing covers anything. The list is the control: a tap on a
   row selects the spot and the map moves to it. */
@media (max-width: 720px) {
  dialog.st-vpick-dialog.st-modal { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0; }
  .st-vpick-dialog.st-modal--lg .st-dialog__panel { width: 100%; height: 100%; max-height: none; border-radius: 0; border-width: 0; }
  .st-vpick-dialog .st-dialog__header { padding: 12px 10px 8px 16px; }
  .st-vpick-dialog .st-dialog__body { display: flex; flex-direction: column; overflow: hidden; padding: 0 12px 10px; }
  .st-vpick-dialog .st-spot-pick { display: flex; flex-direction: column; flex: 1 1 auto; gap: 10px; min-height: 0; }
  .st-vpick-dialog .st-spot-pick__mapbox { order: -1; flex: 0 0 auto; }
  .st-vpick-dialog .st-spot-pick__map { height: 36vh; height: 36dvh; min-height: 200px; }
  .st-vpick-dialog .st-vpick__maphint { display: none; }
  .st-vpick-dialog .st-spot-pick__side { flex: 1 1 auto; min-height: 0; gap: 8px; }
  .st-vpick-dialog .st-spot-pick__count { font-size: 14px; color: var(--st-text); }
  .st-vpick-dialog .st-spot-pick__list { flex: 1 1 auto; min-height: 96px; max-height: none; }
  .st-vpick-dialog .st-vpick__row { min-height: 56px; padding: 10px 14px; gap: 12px; font-size: 15px; }
  .st-vpick-dialog .st-vpick__dot { width: 14px; height: 14px; border-radius: 4px; }
  .st-vpick-dialog .st-spot-pick__name { font-weight: 600; }
  .st-vpick-dialog .st-spot-pick__size { font-size: 13px; }
  .st-vpick-dialog .st-spot-pick__item.is-picked { background: rgba(109, 92, 255, 0.2); box-shadow: inset 3px 0 0 var(--st-violet-2, #8b7bff); }
  .st-vpick-dialog .st-dialog__footer { flex-wrap: nowrap; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .st-vpick-dialog .st-dialog__footer-end { flex: 1 1 auto; margin-left: 0; }
  .st-vpick-dialog .st-dialog__footer .st-btn { flex: 1 1 0; justify-content: center; min-height: 44px; }
  /* A message that pops up while a dialog is open goes to the top of a phone's screen:
     at the bottom it sits on the dialog's own buttons. */
  dialog.st-modal .st-toasts { top: 12px; bottom: auto; }
}

/* ---------- narrow ---------- */
@media (max-width: 1100px) {
  .st-vprofile { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 900px) {
  .st-vprofile { grid-template-columns: minmax(0, 1fr); }
  .st-vprofile__preview { position: static; max-width: 420px; }
  .st-vevent__grid { grid-template-columns: minmax(0, 1fr); }
  .st-vevent__side { position: static; }
  .st-vevent__mapcard .st-spot-map { height: 340px; }
  .st-vhub__steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  /* The top bar keeps its icons; their names stay for screen readers and as tooltips. */
  .st-topbar__vlink { padding: 0 8px; }
  .st-topbar__vlink .st-btn__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
@media (max-width: 560px) {
  .st-vhub__row > .st-btn { margin-left: 0; width: 100%; justify-content: center; }
  .st-vhub__state { flex-direction: row; align-items: center; min-width: 0; }
  .st-vhub__profile-open { display: none; }
  /* A phone: the price and the places left go under the name, the name keeps its line with the dot. */
  .st-vtier { flex-wrap: wrap; }
  .st-vtier__nums { flex: 1 0 100%; flex-direction: row; align-items: baseline; gap: 10px; padding-left: 22px; text-align: left; }
  .st-vtier.is-pickable .st-vtier__nums { padding-left: 48px; }
  .st-vevent__go { align-self: stretch; justify-content: center; }
  .st-vevent__mapcard .st-spot-map { height: 300px; }
  .st-vstatus { padding: 14px; }
  .st-vstatus__actions .st-btn { flex: 1 1 auto; justify-content: center; }
  .st-vverify__actions { width: 100%; }
  .st-vverify__actions .st-btn { flex: 1 1 auto; justify-content: center; }
  .st-vprofile__bar { bottom: 8px; }
  .st-vevent__biz { flex-wrap: wrap; }
  /* An invited address is read whole: it takes the line, its tag and Revoke go under it. */
  .st-vteam__invite { flex-wrap: wrap; row-gap: 4px; padding-top: 10px; padding-bottom: 6px; }
  .st-vteam__invite > .st-person__text { flex: 1 1 calc(100% - 48px); }
  .st-vteam__invite .st-person__name, .st-vteam__invite .st-person__sub { white-space: normal; overflow-wrap: anywhere; }
  .st-vteam__invite > .st-badge { margin-left: 48px; }
  .st-vteam__invite > .st-btn { margin-left: auto; }
  .st-vjoin { padding: 24px 18px; }
}
