/* Artdigg — Discover: Gig Match + Gig Radar, sheets (calendar, location, genres, offers). */

.dx { max-width: 1040px; margin: 0 auto; padding-bottom: 32px; }

/* ---------- Tabs (underline on phones, segmented on desktop) ---------- */

.dx__tabs { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 6; }
@media (min-width: 1024px) { .dx__tabs { top: 0; margin: 0 0 8px; } }

.dx__pane.is-in { animation: dx-in .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes dx-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.dx-col { max-width: 720px; margin: 0 auto; }
@media (min-width: 1024px) { .dx-col { margin: 0; } }

/* ---------- Welcome banner ---------- */

.dx-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 16px 4px;
  padding: 16px 12px 16px 18px;
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: inset 0 0 0 var(--hairline) var(--color-line);
  transition: opacity .2s ease, transform .2s ease;
}
.dx-banner.is-leaving { opacity: 0; transform: scale(.98); }
.dx-banner b { display: block; font-size: 16px; line-height: 22px; color: var(--color-ink); }
.dx-banner p { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--color-ink-2); }
.dx-banner__x { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--radius-full); color: var(--color-ink-2); }
.dx-banner__x svg { width: 16px; height: 16px; }
@media (min-width: 1024px) { .dx-banner { margin: 12px 0 8px; } }

/* ---------- Gig Match groups ---------- */

.mg { margin-top: 8px; background: var(--color-surface); }
.mg__head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "date chev" "sum chev";
  align-items: center;
  row-gap: 4px;
  padding: 16px;
  text-align: left;
  color: var(--color-ink);
}
.mg__date { grid-area: date; font-size: 22px; line-height: 28px; }
.mg__date b { font-weight: 700; }
.mg__date > span { color: var(--color-ink-muted); }
.mg__date small { margin-left: 8px; font-size: 13px; color: var(--color-ink-muted); text-transform: capitalize; }
.mg__sum { grid-area: sum; font-size: 13px; color: var(--color-ink-2); }
.mg__chev { grid-area: chev; width: 18px; height: 18px; color: var(--color-ink-muted); transition: transform .25s ease; }
.mg.is-open .mg__chev { transform: rotate(180deg); }
.mg__body { display: none; padding-bottom: 6px; }
.mg.is-open .mg__body { display: block; animation: dx-in .28s ease both; }
.dx-empty-line { margin: 0; padding: 4px 16px 16px; font-size: 14px; color: var(--color-ink-muted); }
@media (min-width: 640px) {
  .mg { margin: 12px 0 0; border-radius: 16px; box-shadow: 0 0 0 var(--hairline) var(--color-line); overflow: hidden; }
}

/* ---------- Rows ---------- */

.dx-list { background: var(--color-surface); }
.dx-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 12px 16px;
  text-align: left;
  color: var(--color-ink);
}
.dx-row + .dx-row::before { content: ""; position: absolute; top: 0; left: 76px; right: 0; border-top: var(--hairline) solid var(--color-line); }
.dx-av {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-field);
  color: var(--color-ink-2);
  font-size: 15px;
  font-weight: 700;
}
.dx-av.has-dot::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 2.5px var(--color-surface);
}
.dx-row__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dx-row__txt b { font-size: 16px; line-height: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-row__txt small { font-size: 13px; line-height: 18px; color: var(--color-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-wait, .dx-muted { font-size: 13px; color: var(--color-ink-muted); }
.dx-genres { display: flex; gap: 4px; margin-top: 4px; overflow: hidden; }
.dx-genres i { flex: none; padding: 1px 8px; border-radius: 99px; background: var(--color-field); color: var(--color-ink-muted); font-size: 11px; font-style: normal; line-height: 18px; }
.dx-time { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--color-field); font-size: 13px; font-weight: 700; }
.dx-chev { width: 16px; height: 16px; color: var(--color-ink-muted); }

.dx-btn {
  flex: none;
  height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  background: var(--color-field);
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .15s ease, transform .1s ease;
}
.dx-btn svg { width: 14px; height: 14px; }
.dx-btn--primary { background: var(--color-accent); color: var(--color-on-accent); }
.dx-btn.is-on { background: var(--color-ink); color: var(--color-surface); }
.dx-btn:active { transform: scale(.97); }
.dx-tag {
  flex: none;
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 99px;
  background: var(--color-field);
  color: var(--color-ink-muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.dx-tag svg { width: 14px; height: 14px; }
.dx-tag.is-booked { color: var(--color-success); }
.dx-link { height: 40px; font-size: 15px; color: var(--color-ink-2); }
.dx-link.is-danger { color: var(--color-danger); }

.dx-cta {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: 15px;
  font-weight: 700;
  transition: opacity .15s ease, transform .1s ease;
}
.dx-cta:disabled { background: var(--color-field); color: var(--color-ink-muted); cursor: default; }
.dx-cta:not(:disabled):active { transform: scale(.99); }

/* ---------- Fan view of Gig Match ---------- */

.dx-card { background: var(--color-surface); }
.dx-fan { margin-top: 8px; padding: 32px 0 8px; text-align: center; }
.dx-fan__icon { width: 56px; height: 56px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-accent); }
.dx-fan__icon svg { width: 24px; height: 24px; }
.dx-fan h2 { margin: 0 16px; font-size: 20px; line-height: 26px; }
.dx-fan p { margin: 8px auto 20px; max-width: 40ch; padding: 0 16px; font-size: 14px; line-height: 20px; color: var(--color-ink-muted); }
.dx-fan__list { text-align: left; border-top: var(--hairline) solid var(--color-line); }
.dx-fan__av { width: 48px; height: 48px; font-size: 15px; }
@media (min-width: 640px) { .dx-fan { margin-top: 12px; border-radius: 16px; box-shadow: 0 0 0 var(--hairline) var(--color-line); overflow: hidden; } }

/* ---------- Gig Radar ---------- */

.rd__card { margin-top: 8px; padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 16px; }
.rd__date { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; }
.rd__datebtn { height: 44px; font-size: 17px; font-weight: 700; color: var(--color-ink); text-transform: none; }
.rd__datebtn em { font-style: normal; color: var(--color-accent-text); }
.rd__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rd__pick {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px 0 14px;
  border-radius: 12px;
  background: var(--color-field);
  color: var(--color-ink);
  font-size: 15px;
  text-align: left;
}
.rd__pick span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd__pick svg { flex: none; width: 12px; height: 12px; color: var(--color-ink-muted); }
.fld > span:first-child { font-size: 13px; color: var(--color-ink-muted); }
.rd__dist { gap: 10px; }
.rd__distlab { display: flex; justify-content: space-between; align-items: baseline; }
.rd__distlab b { font-size: 17px; color: var(--color-ink); }
.rd__ticks { display: flex; justify-content: space-between; color: var(--color-ink-muted); }
.rd__ticks small { font-size: 11px; }

input[type="range"][data-range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"][data-range]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent) var(--p), var(--color-field) var(--p));
}
input[type="range"][data-range]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--color-field); }
input[type="range"][data-range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--color-accent); }
input[type="range"][data-range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-surface), 0 2px 8px rgba(0, 0, 0, 0.18);
}
input[type="range"][data-range]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-surface), 0 2px 8px rgba(0, 0, 0, 0.18);
}

.rd__results { margin-top: 8px; }
.rd__head { padding: 20px 16px 10px; background: var(--color-surface); }
.rd__kicker { margin: 0; font-size: 13px; color: var(--color-ink-muted); }
.rd__big { margin: 2px 0 4px; font-size: 26px; line-height: 32px; }
.rd__big b { font-weight: 700; }
.rd__big span { color: var(--color-ink-muted); }
.rd__count { margin: 0; font-size: 13px; color: var(--color-ink-2); }
.rd__results .empty-state { background: var(--color-surface); }
.rd__idle { display: none; }

@media (min-width: 1024px) {
  .rd { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 24px; align-items: start; }
  .rd__filters { position: sticky; top: 76px; }
  .rd__card { margin-top: 12px; border-radius: 16px; box-shadow: 0 0 0 var(--hairline) var(--color-line); padding: 16px 18px 18px; }
  .rd__results { margin-top: 12px; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 var(--hairline) var(--color-line); background: var(--color-surface); }
  .rd__idle { display: grid; place-items: center; min-height: 420px; color: var(--color-ink-muted); background: linear-gradient(180deg, var(--color-surface), var(--color-field)); }
  .rd__idle svg { width: 48px; height: 48px; opacity: .45; }
  .dx-list { background: transparent; }
}

@media (hover: hover) {
  .dx-btn:hover { background: color-mix(in srgb, var(--color-field) 80%, var(--color-ink) 8%); }
  .dx-btn--primary:hover { background: color-mix(in srgb, var(--color-accent) 88%, #fff 12%); }
  .dx-row--btn:hover, .mg__head:hover { background: var(--color-hover); }
  .rd__pick:hover { background: color-mix(in srgb, var(--color-field) 85%, var(--color-ink) 6%); }
}

/* ---------- Sheets ---------- */

.dsheet__panel { max-width: 480px; padding: 0; display: flex; flex-direction: column; max-height: 88vh; overflow: hidden; }
@supports (height: 100dvh) { .dsheet__panel { max-height: min(88dvh, calc(100dvh - 24px - env(safe-area-inset-top, 0px))); } }   /* iPhone Safari: 88vh is taller than what's visible — the top (with ✕) slid off */
.dsheet__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 8px 20px; }
.dsheet__head h2 { margin: 0; font-size: 18px; line-height: 24px; }
.dsheet__x {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--color-field);
  color: var(--color-ink);
}
.dsheet__x svg { width: 16px; height: 16px; }
.dsheet__x:disabled { opacity: .35; cursor: default; }
.rd__date .dsheet__x { background: transparent; }
.dsheet__body { flex: 1; overflow-y: auto; padding: 8px 16px 20px; }
.dsheet__foot { flex: none; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: var(--hairline) solid var(--color-line); }
.dsheet__foot .dx-btn { height: 48px; }

.dx-opt {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
  border-radius: 10px;
  color: var(--color-ink);
  font-size: 15px;
  text-align: left;
}
.dx-opt span { flex: 1; }
.dx-opt svg { width: 18px; height: 18px; color: var(--color-accent); }
.dx-opt--geo { font-weight: 700; }
.dx-opt--geo svg { color: var(--color-ink-2); }
.dx-opt + .dx-opt { box-shadow: 0 calc(-1 * var(--hairline)) 0 var(--color-line); }
@media (hover: hover) { .dx-opt:hover { background: var(--color-hover); } }
.dx-gchips { margin: 0; padding: 4px 0; flex-wrap: wrap; overflow: visible; }

/* Calendar */
.cal { padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; }
.cal__nav { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; text-align: center; }
.cal__nav .dsheet__x { background: transparent; }
.cal__month { font-size: 16px; text-transform: capitalize; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__wd { padding-bottom: 6px; text-align: center; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--color-ink-muted); }
.cal__d {
  position: relative;
  height: 44px;
  border-radius: 12px;
  font-size: 16px;
  color: var(--color-ink);
  transition: background-color .15s ease, color .15s ease;
}
.cal__d::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: transparent; }
.cal__d.is-free::after { background: var(--color-success); }
.cal__d.is-pending { color: var(--color-accent-text); font-weight: 700; }
.cal__d.is-pending::after { background: var(--color-accent); }
.cal__d.is-booked { color: var(--color-ink-muted); text-decoration: line-through; text-decoration-color: var(--color-line-strong); }
.cal__d.is-booked::after { background: var(--color-ink-muted); }
.cal__d.is-past { color: var(--color-ink-muted); opacity: .45; cursor: default; }
.cal__d.is-today { box-shadow: inset 0 0 0 1px var(--color-line-strong); }
.cal__d.is-picked { background: var(--color-accent); color: var(--color-on-accent); font-weight: 700; }
.cal__d.is-picked::after { background: currentColor; }
@media (hover: hover) { .cal__d:not(.is-past):not(.is-picked):hover { background: var(--color-hover); } }
.cal__tip { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--color-accent-soft); color: var(--color-ink); font-size: 13px; text-align: center; animation: dx-in .2s ease both; }
.cal__tip[hidden] { display: none; }
.cal__legend { display: flex; justify-content: center; gap: 16px; font-size: 12px; color: var(--color-ink-muted); }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal__legend i { width: 7px; height: 7px; border-radius: 50%; }
.cal__legend .is-free { background: var(--color-success); }
.cal__legend .is-pending { background: var(--color-accent); }
.cal__legend .is-booked { background: var(--color-ink-muted); }

/* Offer */
.offer { display: flex; flex-direction: column; gap: 14px; }
.offer__to { display: flex; align-items: center; gap: 12px; }
.offer__to span { display: flex; flex-direction: column; min-width: 0; }
.offer__to b { font-size: 16px; }
.offer__to small { font-size: 13px; color: var(--color-ink-muted); }
.offer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offer__fee { display: flex; gap: 6px; }
.offer__fee input { flex: 1; }
.fld select, .fld .sel__btn, .fld textarea {
  border: 0;
  border-radius: 10px;
  background: var(--color-field);
  color: var(--color-ink);
  font: inherit;
  font-size: var(--fs-field);
  outline: none;
}
.fld select, .fld .sel__btn { height: 44px; padding: 0 8px 0 12px; }
.fld textarea { padding: 10px 12px; line-height: 22px; resize: vertical; min-height: 96px; -webkit-user-select: text; user-select: text; }
.fld input[readonly] { color: var(--color-ink-2); }
.offer__len { margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
.offer__note { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--color-field); font-size: 13px; line-height: 18px; color: var(--color-ink-2); }
.offer__note svg { flex: none; width: 18px; height: 18px; color: var(--color-ink-muted); }
.offer__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.offer__facts div { padding: 12px; border-radius: 12px; background: var(--color-field); }
.offer__facts dt { font-size: 12px; color: var(--color-ink-muted); }
.offer__facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; }
.offer__quote { margin: 0; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 var(--hairline) var(--color-line-strong); font-size: 14px; line-height: 21px; color: var(--color-ink-2); }
.offer__actions { display: grid; gap: 8px; }
.offer__actions .dx-btn { justify-content: center; height: 48px; }

/* ---------- Real profiles in Discover ---------- */

.dx-av--img { overflow: visible; background: var(--color-field); }
.dx-av--img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; box-shadow: 0 0 0 var(--hairline) var(--color-line); }
.dx-av svg { width: 18px; height: 18px; }
.dx-row__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; text-align: left; color: inherit; }
.dx-row__who:active { opacity: .7; }

.dx-sec { padding: 4px 0; overflow: hidden; }
.dx-sec__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 16px 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.dx-sec__title span {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 99px;
  display: inline-grid;
  place-items: center;
  background: var(--color-field);
  color: var(--color-ink-2);
  font-size: 12px;
  letter-spacing: 0;
}
.dx-sec .dx-empty-line { padding-top: 8px; }
.dx-sec { margin-top: 8px; }
@media (min-width: 640px) { .dx-sec { margin-top: 12px; border-radius: 16px; box-shadow: 0 0 0 var(--hairline) var(--color-line); } }

/* Gig Radar: on desktop the month is just open in the filter card — no tap needed */
.rd-cal { display: none; }
@media (min-width: 1024px) {
  .rd__date { display: none; }
  .rd-cal { display: flex; flex-direction: column; gap: 8px; }
  .rd-cal .cal__nav .dsheet__x { width: 34px; height: 34px; }
  .rd-cal .cal__month { font-size: 15px; }
  .rd-cal .cal__d { height: 38px; border-radius: 10px; font-size: 14px; }
  .rd-cal .cal__d::after { bottom: 4px; }
  .rd-cal .cal__legend { padding-top: 2px; }
}

/* Discover holds Search on desktop: one field on top */
.dx-search { display: none; }
@media (min-width: 1024px) {
  .dx-search { display: flex; align-items: center; gap: 12px; height: 52px; margin: 0 0 16px; padding: 0 14px 0 18px; border-radius: 16px; background: var(--color-surface); box-shadow: 0 0 0 var(--hairline) var(--color-line-strong); color: var(--color-ink-muted); font-size: 15px; text-decoration: none; transition: box-shadow .15s ease; }
  .dx-search svg { width: 20px; height: 20px; flex: none; color: var(--color-ink-2); }
  .dx-search span { flex: 1; }
  .dx-search kbd { padding: 2px 8px; border-radius: 6px; background: var(--color-field); font: inherit; font-size: 12px; color: var(--color-ink-muted); }
  .dx-search:hover { box-shadow: 0 0 0 var(--hairline) var(--color-line-strong), 0 6px 18px rgba(17, 17, 28, 0.06); }
}

/* Fan Discover: no Match/Radar tools, just "Gigs near you" */
.dx__tabs[hidden] { display: none; }
.dx-fanhead { padding: 8px 16px 6px; }
@media (min-width: 640px) { .dx-fanhead { padding: 4px 2px 6px; } }
.dx-fanhead h1 { margin: 0; font-size: 22px; line-height: 28px; }
.dx-fanhead p { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--color-ink-muted); }

/* ---------- Make an offer: a full page on phones, a dialog on desktop ---------- */
.dsheet--offer .fsheet__panel { max-width: 560px; }
.offer__head { position: relative; justify-content: center; min-height: 56px; padding: 8px 56px; border-bottom: var(--hairline) solid var(--color-line); }
.offer__head h2 { font-size: 17px; line-height: 22px; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer__head .dsheet__x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.offer__back { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); display: none; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: var(--color-ink); }
.offer__back svg { width: 24px; height: 24px; }
.offer-form { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.dsheet--offer .dsheet__body { padding: 16px 20px 24px; gap: 20px; }
.offer .fld { gap: 8px; }
.offer .fld > span:first-child, .offer .fld > label:first-child { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--color-ink-2); }
.offer__to { padding: 2px 0; }
.offer__to .dx-av { width: 44px; height: 44px; }

/* Date | Fee + currency: two clean fields, never fused */
.offer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.offer .fld input[type="date"] { -webkit-appearance: none; appearance: none; display: flex; align-items: center; text-align: left; min-width: 0; max-width: 100%; }
.offer .fld input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.offer__fee { display: grid; grid-template-columns: minmax(0, 1fr) auto; height: 44px; border-radius: 10px; background: var(--color-field); overflow: hidden; }
.offer__fee:focus-within { box-shadow: inset 0 0 0 1px var(--color-line-strong); }
.offer__fee input { height: 44px; background: transparent !important; box-shadow: none !important; font-variant-numeric: tabular-nums; }
.offer__fee select { height: 44px; padding: 0 12px; border: 0; border-left: var(--hairline) solid var(--color-line-strong); border-radius: 0; background: transparent; color: var(--color-ink); font: inherit; font-size: 15px; font-weight: 600; outline: none; }

/* Set length: one even row, never wraps */
.offer__len { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 3px; border-radius: 12px; background: var(--color-field); }
.offer__len button { display: flex; align-items: baseline; justify-content: center; gap: 3px; height: 40px; padding: 0; border-radius: 9px; color: var(--color-ink-2); font-size: 15px; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.offer__len button b { font-weight: 600; align-self: center; }
.offer__len button small { font-size: 11px; color: var(--color-ink-muted); align-self: center; }
.offer__len button[aria-pressed="true"] { background: var(--color-surface); color: var(--color-ink); box-shadow: 0 1px 3px rgba(17, 17, 28, 0.1), 0 0 0 var(--hairline) var(--color-line); }
.offer__len button[aria-pressed="true"] b { font-weight: 700; }

/* Food / Transportation / Accommodation: one grouped list, label left, choice right */
.offer__terms { display: flex; flex-direction: column; border-radius: 14px; box-shadow: inset 0 0 0 var(--hairline) var(--color-line-strong); overflow: hidden; }
.offer__term { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 14px 0 16px; cursor: pointer; }
.offer__term + .offer__term { border-top: var(--hairline) solid var(--color-line); }
.offer__term > span:first-child { font-size: 15px; color: var(--color-ink); }
.offer__sel { position: relative; display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--color-ink-2); }
.offer__sel select { -webkit-appearance: none; appearance: none; max-width: 100%; height: 44px; padding: 0 22px 0 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 15px; text-align: right; text-align-last: right; outline: none; cursor: pointer; }
.offer__sel svg { position: absolute; right: 0; width: 14px; height: 14px; color: var(--color-ink-muted); pointer-events: none; }
.offer__term:focus-within { background: var(--color-hover); }

.offer textarea { min-height: 112px; }
.offer__addfile { align-self: flex-start; }
.offer__foot { flex: none; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--color-surface); border-top: var(--hairline) solid var(--color-line); }
.offer__foot .dx-cta { width: 100%; height: 50px; }

@media (max-width: 639px) {
  /* A page, not a sheet: full screen, slides in from the right, Back on the left */
  .fsheet.dsheet--offer { align-items: stretch; background: transparent !important; }
  .dsheet--offer .fsheet__panel { max-width: none; width: 100%; height: 100%; max-height: none; margin: 0; border-radius: 0; box-shadow: none; padding-top: env(safe-area-inset-top, 0px); transform: translateX(100%); opacity: 1; transition: transform .26s cubic-bezier(.2, .8, .2, 1); }
  .dsheet--offer.is-open .fsheet__panel { transform: none; }
  .dsheet--offer .fsheet__panel::before { display: none !important; }
  .offer__back { display: grid; }
  .offer__head .dsheet__x { display: none; }
  .dsheet--offer .dsheet__body { padding: 16px 16px 28px; }
  .offer__foot { padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 359px) { .offer__len button small { display: none; } }
@media (min-width: 640px) {
  .fsheet.dsheet--offer { align-items: center; }
  .dsheet--offer .fsheet__panel { max-height: min(860px, calc(100dvh - 48px)); border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { .dsheet--offer .fsheet__panel { transition: none; } }
.offer__fee input::-webkit-outer-spin-button, .offer__fee input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.offer__fee input[type="number"] { -moz-appearance: textfield; }
.dsheet--offer .offer > * { flex-shrink: 0; }
/* Photo avatars: pinned to the circle on every browser (Safari sized grid children by the photo's own shape → eggs) */
.dx-av--img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; border-radius: inherit; }
/* Gig Match / Gig Radar open like Calendar: title + one sentence */
.dx-head { padding: 20px 16px 14px; }
@media (min-width: 640px) { .dx-head { padding: 8px 0 12px; } }

/* ---------- Offer / counteroffer form v2: calm sections, real controls, no system dropdowns ---------- */
.dsheet--offer .dsheet__body { gap: 22px; scrollbar-width: thin; }
.dsheet--offer .dsheet__body::-webkit-scrollbar { width: 6px; }
.dsheet--offer .dsheet__body::-webkit-scrollbar-thumb { border-radius: 3px; background: var(--color-line-strong); }
.of2-sec { display: flex; flex-direction: column; gap: 8px; }
.of2-label { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--color-ink-2); }
.of2-pair { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.of2-date, .of2-fee { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.of2-box { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 14px; background: var(--color-field); color: var(--color-ink); transition: box-shadow .15s ease, background-color .15s ease; }
.of2-box > svg { flex: none; width: 18px; height: 18px; color: var(--color-ink-2); }
.of2-box b { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: capitalize; }
.of2-chev { width: 14px !important; height: 14px !important; color: var(--color-ink-muted) !important; }
/* the real date input sits invisibly over the box, so a tap opens the system picker everywhere */
.of2-date input[type="date"] { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; width: 100%; opacity: 0; cursor: pointer; border: 0; }
.of2-date:has(.of2-was:not([hidden])) input[type="date"] { bottom: 22px; }
.of2-date:focus-within .of2-box, .of2-box--fee:focus-within { box-shadow: inset 0 0 0 1.5px var(--color-ink); background: var(--color-surface); }
.of2-box--fee { padding: 0 6px 0 14px; }
.of2-box--fee input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: var(--color-ink); font: inherit; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; outline: none; }
.of2-box--fee input::placeholder { color: var(--color-ink-muted); font-weight: 400; }
.of2-box--fee .sel__btn { flex: none; height: 36px; padding: 0 8px 0 12px; border: 0; border-radius: 10px; background: var(--color-surface); color: var(--color-ink); font: inherit; font-size: 14px; font-weight: 700; -webkit-appearance: none; appearance: none; box-shadow: 0 0 0 var(--hairline) var(--color-line); cursor: pointer; outline: none; }
.of2-was { font-size: 12px; line-height: 14px; color: var(--color-ink-muted); }
.of2-was s { text-decoration-color: color-mix(in srgb, var(--color-ink-muted) 70%, transparent); }
.of2-was[hidden] { display: none; }

/* What's included: each term is one row of choices */
.of2-terms { display: flex; flex-direction: column; border-radius: 16px; box-shadow: inset 0 0 0 var(--hairline) var(--color-line-strong); }
.of2-term { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.of2-term + .of2-term { border-top: var(--hairline) solid var(--color-line); }
.of2-term__k { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.of2-term__k svg { width: 18px; height: 18px; color: var(--color-ink-2); }
.of2-term__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.of2-term__opts .chip { height: 34px; padding: 0 12px; font-size: 13px; }
.of2-term.is-changed .of2-term__k::after { content: ''; width: 7px; height: 7px; margin-left: 2px; border-radius: 50%; background: var(--color-accent); }

.of2-msg { width: 100%; min-height: 92px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--color-field); color: var(--color-ink); font: inherit; font-size: 15px; line-height: 22px; resize: vertical; outline: none; -webkit-user-select: text; user-select: text; }
.of2-msg:focus { box-shadow: inset 0 0 0 1.5px var(--color-ink); background: var(--color-surface); }

.of2-attach { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 14px; text-align: left; color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-line-strong); background: none; }
.of2-attach > svg { flex: none; width: 18px; height: 18px; padding: 7px; box-sizing: content-box; border-radius: 50%; background: var(--color-field); }
.of2-attach span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.of2-attach b { font-size: 15px; }
.of2-attach small { font-size: 12px; line-height: 16px; color: var(--color-ink-muted); }
.of2-note { display: flex; align-items: flex-start; gap: 10px; margin: -4px 2px 0; font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.of2-note svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.dsheet--offer .offer__foot .dx-cta { background: var(--color-accent); color: var(--color-on-accent); box-shadow: none; font-size: 16px; font-weight: 700; border-radius: 14px; }

@media (max-width: 420px) { .of2-pair { grid-template-columns: 1fr; } }
@media (hover: hover) and (pointer: fine) {
  .of2-date:hover .of2-box { background: var(--color-hover); }
  .of2-attach:hover { background: var(--color-hover); }
}

/* Papers from the profile, one tap to attach */
.dc2-sug { display: flex; flex-direction: column; gap: 8px; }
.dc2-sug__label { font-size: 12px; color: var(--color-ink-muted); }
.dc2-sug__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dc2-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; font-size: 13px; }
.dc2-chip svg { width: 13px; height: 13px; }
.dc2-empty { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--color-field); font-size: 13px; line-height: 18px; color: var(--color-ink-2); }
.dc2-empty svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--color-accent-text); }
.dc2-empty span { flex: 1; }
.dc2-empty a { flex: none; font-weight: 700; color: var(--color-accent-text); text-decoration: none; }
.offer__files:not(:empty) { display: flex; flex-direction: column; gap: 6px; }

/* Edit profile: rider & booking papers */
.dc2 { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.dc2__title { margin: 0; font-size: 17px; font-weight: 700; }
.dc2__lead { margin: -4px 0 4px; font-size: 14px; line-height: 20px; color: var(--color-ink-muted); }
.dc2-item { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 var(--hairline) var(--color-line-strong); }
.dc2-item__head { display: flex; align-items: center; gap: 10px; }
.dc2-item__head svg { width: 18px; height: 18px; color: var(--color-ink-2); }
.dc2-item__head b { font-size: 15px; }
.dc2-hint { font-size: 13px; color: var(--color-ink-muted); }
.dc2-note { width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--color-field); color: var(--color-ink); font: inherit; font-size: 15px; line-height: 21px; resize: vertical; outline: none; -webkit-user-select: text; user-select: text; }
.dc2-note:focus { box-shadow: inset 0 0 0 1.5px var(--color-ink); background: var(--color-surface); }
.dc2-up { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--color-field); color: var(--color-ink); font-size: 14px; font-weight: 600; }
.dc2-up svg { width: 14px; height: 14px; }
.dc2-file { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--color-field); }
.dc2-file > svg { flex: none; width: 18px; height: 18px; color: var(--color-ink-2); }
.dc2-file span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dc2-file b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc2-file small { font-size: 12px; color: var(--color-ink-muted); }
.dc2-file button { flex: none; height: 32px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--color-ink-2); }
.dc2-file button.is-danger { color: var(--color-danger); }

/* "@name" without a platform: ask, don't guess */
.lk-ask { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--color-line); border-radius: 12px; background: var(--color-surface); }
.lk-ask__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--color-ink); }
.lk-ask__row > span { flex: 1 1 160px; min-width: 0; }
.lk-ask__opts { display: flex; gap: 6px; flex-wrap: wrap; }
.lk-ask__opts .chip { height: 32px; padding: 0 12px; font-size: 13px; }

/* ---------- Gig Radar, 22 Oct: a search, in the split frame (filters | glowing line | results), no boxes ---------- */
.rd__go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.rd__go svg { width: 18px; height: 18px; }
.rd__go.is-done { background: var(--color-field); color: var(--color-ink-muted); box-shadow: none; }
.rd__need { margin: -6px 0 0; font-size: 13px; color: var(--color-ink-muted); text-align: center; }
.rd__results.is-stale .dx-list { opacity: .45; filter: saturate(.6); transition: opacity .2s ease; }
.rd__stale { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 10px 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--color-accent) 10%, transparent); font-size: 14px; color: var(--color-ink); }
.rd__stale > svg { flex: none; width: 16px; height: 16px; color: var(--color-accent); }
.rd__stale span { flex: 1; min-width: 0; }
.rd__stale .dx-btn { flex: none; height: 36px; background: var(--color-accent); color: var(--color-on-accent); box-shadow: none; }
.rd-idle { display: flex; flex-direction: column; gap: 8px; padding: 24px 16px; }
.rd-idle__hero { padding: 12px 0 8px; background: none !important; }
.rd-idle__hero .empty-state__icon { box-sizing: border-box; width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--color-field); color: var(--color-accent); }
.rd-recent h3 { margin: 12px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--color-ink-muted); }
.rd-recent__row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 4px; text-align: left; color: var(--color-ink); border-top: var(--hairline) solid var(--color-line); }
.rd-recent__row:first-of-type { border-top: 0; }
.rd-recent__row > svg:first-child { flex: none; width: 18px; height: 18px; color: var(--color-ink-muted); }
.rd-recent__row span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rd-recent__row b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-recent__row small { font-size: 13px; color: var(--color-ink-muted); }
.rd-recent__go { flex: none; width: 16px; height: 16px; color: var(--color-ink-muted); }
@media (hover: hover) { .rd-recent__row:hover b { text-decoration: underline; } }
.rd-busy { display: flex; flex-direction: column; gap: 14px; padding: 24px 16px; }
.rd-busy p { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 15px; color: var(--color-ink-2); }
.rd-busy p svg { width: 18px; height: 18px; color: var(--color-accent); animation: rd-pulse 1s ease-in-out infinite; }
.rd-busy i { display: block; height: 64px; border-radius: 14px; background: linear-gradient(90deg, var(--color-field) 0%, color-mix(in srgb, var(--color-field) 60%, var(--color-surface)) 50%, var(--color-field) 100%); background-size: 200% 100%; animation: rd-shimmer 1.1s linear infinite; }
@keyframes rd-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes rd-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .rd-busy i, .rd-busy p svg { animation: none; } }

@media (min-width: 1024px) {
  .dx:has(.rd) .rd { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 0; }
  .rd__filters { top: 28px; padding-right: 28px; }
  .rd__card { margin-top: 8px; padding: 0; border-radius: 0; box-shadow: none; background: none; }
  .rd__results { position: relative; margin-top: 0; min-height: calc(100dvh - 140px); padding: 0 0 48px 32px; border-radius: 0; overflow: visible; box-shadow: none; background: none; }
  .rd__results::before { content: ''; position: absolute; left: 0; top: 0; bottom: 28px; width: 1px; pointer-events: none;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--color-accent) 70%, transparent) 22%, color-mix(in srgb, var(--color-accent) 70%, transparent) 78%, transparent);
    box-shadow: 0 0 12px 0.5px color-mix(in srgb, var(--color-accent) 45%, transparent); opacity: .75; }
  .rd__head { padding: 0 0 12px; background: none; }
  .rd__results .empty-state { background: none; }
  .rd-idle, .rd-busy { padding: 0; max-width: 640px; }
  .rd-idle__hero { align-items: flex-start; text-align: left; padding: 8px 0 12px; }
  .rd-idle__hero .empty-state__title { font-size: 28px; line-height: 34px; font-weight: 900; letter-spacing: -.02em; }
  .rd-idle__hero .empty-state__text { max-width: 48ch; }
  .rd__results .dx-list { background: none; }
}
@media (max-width: 1023px) {
  .rd__results { position: relative; padding-top: 18px; }
  .rd__results::before { content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-accent) 70%, transparent) 25%, color-mix(in srgb, var(--color-accent) 70%, transparent) 75%, transparent);
    box-shadow: 0 0 12px 0.5px color-mix(in srgb, var(--color-accent) 45%, transparent); opacity: .75; }
}
.rd__alert { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; height: 38px; padding: 0 14px; border-radius: 19px; font-size: 14px; font-weight: 600; color: var(--color-ink);
  box-shadow: inset 0 0 0 var(--hairline) var(--color-line-strong); }
.rd__alert svg { width: 16px; height: 16px; color: var(--color-accent); }
.rd__alert.is-on { background: color-mix(in srgb, var(--color-accent) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-accent) 45%, transparent); }
.rd__pro { font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: var(--color-accent); color: var(--color-on-accent); }
@media (hover: hover) { .rd__alert:hover { background: var(--color-hover); } }

/* One frame for every work page on desktop (22 Oct): Gig Match and Gig Radar sit exactly where Tasks, Crew,
   Offers and Calendar sit — same width (--page-w), same side padding, the title on the same line. */
@media (min-width: 1024px) {
  body:not(.is-fan) .dx { max-width: var(--page-w); margin: 0 auto; padding: 28px var(--page-pad) 0; }
  body:not(.is-fan) .dx .dx-title { margin: 8px 0 2px; padding: 0; }
  body:not(.is-fan) .dx .dx-head { padding-left: 0; padding-right: 0; }
  body:not(.is-fan) .dx .dx-col { margin: 0; max-width: 760px; }
}

/* e-mail offers to pages not on Torro: today's quota (Pro 10, free 1) */
.of2-quota { display: flex; gap: 8px; align-items: center; margin: -4px 0 4px; font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.of2-quota svg { width: 14px; height: 14px; flex: none; }
.of2-quota button { font: inherit; font-weight: 700; color: var(--color-ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.eq-full { display: grid; gap: 10px; padding-bottom: 20px; }
.eq-full p { margin: 0; font-size: 15px; line-height: 22px; }
.eq-full .eq-full__muted { font-size: 13px; color: var(--color-ink-muted); }
.eq-full .em-acts { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Gig Match (redone 23 Oct): a strip of free dates + the venues for the chosen one ---------- */
.gm-lab { margin: 16px 16px 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--color-ink-muted); }
.gm-dates {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 4px 16px 12px; scroll-padding-inline: 16px; -webkit-overflow-scrolling: touch;
}
.gm-dates::-webkit-scrollbar { display: none; }
.gm-date {
  position: relative; flex: none; scroll-snap-align: start;
  width: 64px; padding: 10px 0 9px; border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  color: var(--color-ink); background: transparent;
  box-shadow: inset 0 0 0 1px var(--color-line);
  transition: background .2s ease, box-shadow .2s ease, color .2s ease, transform .15s ease;
}
.gm-date small { font-size: 11px; line-height: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--color-ink-muted); }
.gm-date b { font-size: 22px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gm-date:hover { box-shadow: inset 0 0 0 1px var(--color-line-strong); }
.gm-date:active { transform: scale(.96); }
.gm-date:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-accent); }
.gm-date.is-on {
  background: var(--color-ink); color: var(--color-surface);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--color-accent) 22%, transparent);
}
.gm-date.is-on small { color: color-mix(in srgb, var(--color-surface) 72%, transparent); }
.gm-date.has-dot::after {
  content: ""; position: absolute; top: 7px; right: 9px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-success); box-shadow: 0 0 0 2px var(--color-surface), 0 0 8px color-mix(in srgb, var(--color-success) 60%, transparent);
}
.gm-h { margin: 14px 16px 2px; font-size: 15px; line-height: 20px; font-weight: 700; color: var(--color-ink); }
.gm-h:first-letter { text-transform: uppercase; }
.gm-list { position: relative; }
.gm-list::before {
  content: ""; display: block; height: 1px; margin: 0 16px 4px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-accent) 55%, transparent) 30%, color-mix(in srgb, var(--color-accent) 55%, transparent) 70%, transparent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--color-accent) 35%, transparent); opacity: .5;
}
.gm .dx-row { min-height: 84px; }
.gm .dx-av { width: 56px; height: 56px; }
.gm .dx-row + .dx-row::before { left: 84px; }
.gm .dx-row.is-waiting { background: linear-gradient(90deg, color-mix(in srgb, var(--color-success) 7%, transparent), transparent 70%); }
.dx-row__who { border-radius: 14px; }
.dx-row__who:hover .dx-row__txt b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.dx-row__who:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-accent); }
.dx-genres i.is-shared { background: var(--color-field); color: var(--color-ink-2); box-shadow: inset 0 0 0 var(--hairline) var(--color-line-strong); }   /* 24 Oct (owner): no colour — the genres you share just read a step stronger */
.gm-more {
  display: flex; align-items: center; gap: 12px; width: calc(100% - 32px); margin: 12px 16px 24px; padding: 14px 16px;
  border-radius: 18px; text-align: left; font-size: 14px; color: var(--color-ink-2);
  box-shadow: inset 0 0 0 1px var(--color-line), 0 0 18px color-mix(in srgb, var(--color-accent) 8%, transparent);
}
.gm-more > svg:first-child { flex: none; width: 20px; height: 20px; color: var(--color-accent-text); }
.gm-more span { flex: 1; min-width: 0; }
.gm-more:hover { color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-line-strong), 0 0 18px color-mix(in srgb, var(--color-accent) 14%, transparent); }
@media (min-width: 1024px) {
  .gm-lab, .gm-h { margin-left: 0; margin-right: 0; }
  .gm-dates { padding-left: 0; padding-right: 0; flex-wrap: nowrap; }
  .gm-date { width: 72px; }
  .gm-list::before { margin-left: 0; margin-right: 0; }
  .gm .dx-row { padding-left: 0; padding-right: 0; }
  .gm .dx-row + .dx-row::before { left: 68px; }
  .gm-more { width: 100%; margin-left: 0; margin-right: 0; }
}
.dx-btn--offer .is-sm { display: none; }
@media (max-width: 639px) {
  .dx-btn--offer .is-lg { display: none; }
  .dx-btn--offer .is-sm { display: inline; }
}
.gm-quiet { margin: 14px 0 0; padding: 0 16px; font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.gm--venue .is-waiting-wrap > .dx-row { background: linear-gradient(90deg, color-mix(in srgb, var(--color-success) 7%, transparent), transparent 70%); }
.gm--venue .gm-h:first-child { margin-top: 6px; }
@media (min-width: 1024px) { .gm-quiet { padding: 0; } }

/* Offer (24 Oct): the fee is private · how long you wait · what you know about them before sending */
.of2-private { display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 0; font-size: 12.5px; line-height: 17px; color: var(--color-ink-muted); }
.of2-private svg { flex: none; width: 13px; height: 13px; margin-top: 2px; }
.chips.of2-wait { margin: 0; padding: 0; }
.of2-wait .chip:disabled { opacity: .35; cursor: default; }
.of2-hint { display: block; margin-top: 6px; font-size: 12.5px; line-height: 17px; color: var(--color-ink-muted); }
.offer__to small.offer__reply { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 3px; }
.offer__to .offer__reply span { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 4px; }
.offer__reply svg { width: 12px; height: 12px; flex: none; }
