/* Artdigg — profile pages, onboarding (Welcome / Sign up / Log in) and the profile wizard.
   Calm by default: hairlines, soft fields, one accent for the main action only. */

/* ---------- Signed out: only onboarding is visible ---------- */

body.is-signed-out .app-header,
body.is-signed-out .app-sidebar,
body.is-signed-out .app-nav,
body.is-signed-out .app-main { display: none !important; }

/* ---------- Feed: venue link inside an event post ---------- */

.post__venue { color: inherit; font: inherit; text-decoration: underline; text-decoration-color: var(--color-line-strong); text-underline-offset: 3px; }
.post__venue:active { opacity: .6; }

/* ---------- Profile screen ---------- */

.screen--profile .screen-bar--custom { grid-template-columns: var(--tap) 1fr var(--tap) 0; }
.screen--profile .screen-bar__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen--profile .screen-inner { max-width: 720px; padding: 0 0 calc(32px + env(safe-area-inset-bottom, 0px)); gap: 0; }
.pf-bar-more svg { width: 22px; height: 22px; }

.pf { display: flex; flex-direction: column; }

.pf__cover {
  position: relative;
  aspect-ratio: 375 / 180;
  max-height: 300px;
  width: 100%;
  overflow: hidden;
  background: var(--color-field);
}
.pf__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf__cover-ph {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 140% at 15% 0%, color-mix(in srgb, var(--color-accent) 14%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, var(--color-field), color-mix(in srgb, var(--color-field) 70%, var(--color-bg)));
}
.pf__cover-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 99px;
  background: rgba(16, 16, 20, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.pf__cover-btn svg { width: 16px; height: 16px; }

.pf__head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 8px;
  text-align: center;
  background: var(--color-surface);
}
.pf__av-wrap { position: relative; margin-top: -64px; }
.pf__av {
  width: 128px;
  height: 128px;
  font-size: 40px;
  box-shadow: 0 0 0 4px var(--color-surface);
}
.pf__av-btn {
  position: absolute;
  right: 2px;
  bottom: 6px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-ink);
  box-shadow: 0 0 0 var(--hairline) var(--color-line), 0 2px 8px rgba(0, 0, 0, .12);
}
.pf__av-btn svg { width: 18px; height: 18px; }
.pf__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 26px;
  line-height: 32px;
  font-weight: 900;
  letter-spacing: -.01em;
}
.pf__verified { display: inline-grid; }
.pf__verified svg { width: 22px; height: 22px; }
.pf__sub { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--color-ink-muted); }
.pf__acting {
  margin: 10px 0 0;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--color-accent-soft);
  color: var(--color-accent-text);
  font-size: 12px;
  font-weight: 700;
}
.pf__actions { display: flex; gap: 10px; width: 100%; max-width: 420px; margin-top: 18px; }
.pf__actions > * { flex: 1; }

.pf-btn {
  height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: var(--color-field);
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .15s ease, transform .1s ease, opacity .15s ease;
}
.pf-btn svg { width: 18px; height: 18px; }
.pf-btn--primary { background: var(--color-accent); color: var(--color-on-accent); }
.pf-btn.is-on { background: var(--color-field); color: var(--color-ink-2); }
.pf-btn:active { transform: scale(.98); }

.pf__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 420px;
  margin: 18px 0 4px;
}
.pf__stat { display: flex; flex-direction: column-reverse; align-items: center; gap: 2px; padding: 4px 8px; margin: -4px -8px; border-radius: 12px; background: none; color: inherit; font: inherit; text-decoration: none !important; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease, opacity .15s ease; }
.pf__stat .pf__stat-l { font-size: 13px; color: var(--color-ink-muted); }
.pf__stat .pf__stat-n { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pf__stat:active { opacity: .6; }
.pf__stat:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-accent); }
@media (hover: hover) { .pf__stat:hover { background: var(--color-hover); } .pf--hero .pf__stat:hover { background: rgba(255, 255, 255, .12); } }

/* Tabs: the shared underline tabs (tabs.css), scrolling when there are many */
.pf__tabs { position: sticky; top: 0; z-index: 2; }

.pf__pane { min-height: 240px; padding-bottom: 8px; }
.pf__pane.is-in { animation: pf-in .22s ease both; }
@keyframes pf-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pf__compose { background: var(--color-surface); border-bottom: var(--hairline) solid var(--color-line); }
.pf__posts .post:first-child { margin-top: 8px; }
.pf__empty { padding: 48px 24px; }

/* Calendar banner (Figma "Welcome to Gig Calendar") */
.pf-banner {
  position: relative;
  display: flex;
  gap: 12px;
  margin: 12px 12px 0;
  padding: 16px 44px 16px 16px;
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: inset 0 0 0 var(--hairline) var(--color-line);
  color: var(--color-ink);
  transition: opacity .2s ease, transform .2s ease;
}
.pf-banner b { display: block; font-size: 17px; line-height: 22px; }
.pf-banner p { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--color-ink-2); }
.pf-banner__x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; display: grid; place-items: center; color: var(--color-ink-2); }
.pf-banner__x svg { width: 18px; height: 18px; }
.pf-banner.is-leaving { opacity: 0; transform: translateY(-4px); }

.pf-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: 0 0 0 var(--hairline) var(--color-line);
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.pf-note svg { width: 18px; height: 18px; flex: none; color: var(--color-accent); }
.pf-note svg:last-child { margin-left: auto; color: var(--color-ink-muted); }

.pf-sec { margin-top: 8px; padding: 6px 0 10px; background: var(--color-surface); }
.pf-sec__title {
  margin: 0;
  padding: 12px 16px 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.pf-sec__empty, .pf-sec__hint { margin: 0; padding: 4px 16px 8px; font-size: 14px; line-height: 20px; color: var(--color-ink-muted); }

.pf-ev {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}
.pf-ev + .pf-ev::before { content: ""; position: absolute; top: 0; left: 76px; right: 0; border-top: var(--hairline) solid var(--color-line); }
.pf-ev__date {
  flex: none;
  width: 48px;
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-field);
}
.pf-ev__date b { font-size: 19px; line-height: 22px; }
.pf-ev__date small { font-size: 11px; font-weight: 700; color: var(--color-accent-text); text-transform: uppercase; letter-spacing: .04em; }
.pf-ev.is-past .pf-ev__date small { color: var(--color-ink-muted); }
.pf-ev__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pf-ev__txt b { font-size: 15px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-ev__txt small { font-size: 13px; color: var(--color-ink-muted); text-transform: capitalize; }
.pf-ev__who { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 2px; font-size: 13px; color: var(--color-ink-2); }
.pf-ev__who > * { display: inline-flex; align-items: center; gap: 4px; color: inherit; font: inherit; }
.pf-ev__who svg { width: 13px; height: 13px; color: var(--color-ink-muted); }
.pf-ev__who button:active { opacity: .6; }

.pf-free { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 16px 8px; }
.pf-free .chip { text-transform: capitalize; }
.pf-free .chip:disabled { opacity: 1; cursor: default; }
.pf-cta {
  width: calc(100% - 32px);
  height: 48px;
  margin: 8px 16px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: 15px;
  font-weight: 700;
}
.pf-cta svg { width: 18px; height: 18px; }

/* About */
.pf-about__row { display: flex; align-items: center; gap: 14px; padding: 8px 16px; font-size: 16px; line-height: 22px; }
.pf-about__row svg { width: 20px; height: 20px; flex: none; color: var(--color-ink-muted); }
.pf-about__row a { color: var(--color-ink); text-decoration: none; word-break: break-word; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 16px 6px; }
.pf-tags span { padding: 4px 12px; border-radius: 99px; background: var(--color-field); color: var(--color-ink-2); font-size: 13px; }
.pf-bio { margin: 0; padding: 2px 16px 6px; font-size: 15px; line-height: 22px; white-space: pre-line; }

.pf-people { display: flex; flex-direction: column; }
.pf-person {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 8px 16px;
  text-align: left;
  color: var(--color-ink);
}
.pf-person + .pf-person::before { content: ""; position: absolute; top: 0; left: 72px; right: 0; border-top: var(--hairline) solid var(--color-line); }
.pf-person__av { width: 44px; height: 44px; font-size: 14px; }
.pf-person__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pf-person__txt b { font-size: 15px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-person__txt small { font-size: 13px; color: var(--color-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-person__chev { width: 16px; height: 16px; color: var(--color-ink-muted); }
.pf-person:active { opacity: .7; }

/* Photos grid */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 2px; }
.pf-grid__cell { aspect-ratio: 1; overflow: hidden; background: var(--color-field); }
.pf-grid__cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }

@media (min-width: 640px) {
  .screen--profile .screen-inner { padding: 16px 16px 40px; }
  .pf__cover { border-radius: 20px 20px 0 0; }
  .pf__head { border-radius: 0 0 20px 20px; padding-bottom: 12px; }
  .pf__tabs { margin-top: 12px; }
  .pf-sec, .pf__compose { border-radius: 16px; box-shadow: 0 0 0 var(--hairline) var(--color-line); border-bottom: 0; }
  .pf-sec { margin-top: 12px; }
  .pf__compose { margin-top: 12px; }
  .pf-banner, .pf-note { margin-left: 0; margin-right: 0; }
  .pf-grid { gap: 6px; margin-top: 12px; }
  .pf-grid__cell { border-radius: 10px; }
}
@media (hover: hover) and (pointer: fine) {
  .pf-btn:hover { filter: brightness(.97); }
  .pf-btn--primary:hover { filter: brightness(1.06); }
  .pf-grid__cell:hover img { transform: scale(1.03); }
  .pf-person:hover, .pf-ev__who button:hover { color: var(--color-ink); }
}

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

.screen--onb .screen-body { background: var(--color-bg); }
.screen--onb .screen-inner { max-width: none; padding: 0; min-height: 100%; display: block; }
.onb { min-height: 100%; display: flex; flex-direction: column; color: #fff; }
.onb__hero {
  position: relative;
  flex: 1;
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(48px + env(safe-area-inset-top, 0px)) 24px 28px;
  overflow: hidden;
  isolation: isolate;
}
.onb__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 50%;
  z-index: -2;
  animation: onb-zoom 18s ease-out both;
}
.onb__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 14, .55) 0%, rgba(10, 10, 14, .15) 40%, rgba(10, 10, 14, .85) 100%);
}
@keyframes onb-zoom { from { transform: scale(1.08); } to { transform: none; } }
.onb__brand { display: flex; align-items: center; justify-content: center; gap: 12px; }
.onb__brand .onb__logo { height: 34px; width: auto; color: #fff; display: block; }
.onb__logo-text { font-size: 28px; font-weight: 900; color: #fff; }
.onb__hello { text-align: center; }
.onb__hello h1 { margin: 0; font-size: 30px; line-height: 36px; font-weight: 900; color: #fff; text-align: center; }
.onb__hello p { margin: 6px 0 0; font-size: 16px; line-height: 22px; color: rgba(255, 255, 255, .78); }

.onb__panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  background: var(--color-bg);
  color: var(--color-ink);
  border-radius: 24px 24px 0 0;
  margin-top: -20px;
  position: relative;
}
.onb-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: 0 0 0 var(--hairline) var(--color-line);
  color: var(--color-ink);
  text-decoration: none;
  transition: transform .12s ease, box-shadow .15s ease;
}
.onb-choice:active { transform: scale(.985); }
.onb-choice__ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--color-accent-soft); color: var(--color-accent); }
.onb-choice__ic svg { width: 22px; height: 22px; }
.onb-choice__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.onb-choice__txt b { font-size: 17px; line-height: 22px; }
.onb-choice__txt small { font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.onb-choice__chev { width: 18px; height: 18px; color: var(--color-ink-muted); }
.onb-choice--card { margin-top: 10px; }
.onb__note { margin: 6px 4px 0; font-size: 13px; line-height: 18px; color: var(--color-ink-muted); text-align: center; }
.onb__login { margin: 8px 0 0; font-size: 14px; text-align: center; color: var(--color-ink-2); }
.onb__login a { color: var(--color-accent-text); font-weight: 700; text-decoration: none; }

@media (min-width: 1024px) {
  .onb { flex-direction: row; min-height: 100vh; }
  .onb__hero { flex: 1.2; min-height: 100vh; padding: 56px 56px 64px; }
  .onb__brand { justify-content: flex-start; }
  .onb__hello { text-align: left; }
  .onb__hello h1 { font-size: 48px; line-height: 54px; text-align: left; }
  .onb__hello p { font-size: 18px; }
  .onb__panel { flex: 1; max-width: 520px; justify-content: center; margin: 0; padding: 64px 56px; border-radius: 0; }
  .onb__note, .onb__login { text-align: left; }
}
@media (hover: hover) and (pointer: fine) {
  .onb-choice:hover { box-shadow: 0 0 0 var(--hairline) var(--color-line-strong), 0 6px 18px rgba(0, 0, 0, .06); }
}

/* ---------- Forms: sign up, log in, wizard, edit ---------- */

.screen--onb-form .screen-inner { max-width: 640px; }
@media (min-width: 1024px) { .screen--onb-form .screen-inner { padding-top: 40px; } .screen--onb-form .of-title { font-size: 30px; line-height: 36px; letter-spacing: -.02em; } }
.of-form { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.of-step { margin: 0; font-size: 13px; font-weight: 700; color: var(--color-accent-text); }
.of-title { margin: -8px 0 0; font-size: 26px; line-height: 32px; font-weight: 900; letter-spacing: -.01em; }
.of-step + .of-title { margin-top: -10px; }
.of-lead { margin: -8px 0 4px; font-size: 15px; line-height: 22px; color: var(--color-ink-2); }
.of-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.of { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.of--full { grid-column: 1 / -1; }
.of__label { font-size: 13px; color: var(--color-ink-muted); }
.of__label i { font-style: normal; color: var(--color-accent-text); margin-left: 2px; }
.of__input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--color-field);
  color: var(--color-ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-user-select: text;
  user-select: text;
  transition: box-shadow .15s ease, background-color .15s ease;
}
select.of__input {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238A8A96' d='M18.72 8.24Q18.4 7.92 18 7.92Q17.6 7.92 17.28 8.24L12.72 12.8Q12.4 13.12 12 13.12Q11.6 13.12 11.28 12.8L6.72 8.24Q6.4 7.92 6 7.92Q5.6 7.92 5.28 8.2Q4.96 8.48 4.96 8.92Q4.96 9.36 5.28 9.6L9.92 14.24Q10.72 15.12 12 15.12Q13.28 15.12 14.16 14.24L18.72 9.6Q19.04 9.36 19.04 8.92Q19.04 8.48 18.72 8.24Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
textarea.of__input { height: auto; min-height: 88px; padding: 12px 14px; line-height: 22px; resize: vertical; }
.of__input:focus { background-color: var(--color-surface); box-shadow: inset 0 0 0 1.5px var(--color-accent); }
.of__input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--color-danger); }
.of__hint { font-size: 12px; color: var(--color-ink-muted); }
.of__err { font-size: 12px; color: var(--color-danger); }
.of__err--check { margin: -10px 0 0 32px; }
.of-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 20px; color: var(--color-ink-2); cursor: pointer; }
.of-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--color-accent); }
.of-cta {
  height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: 16px;
  font-weight: 700;
  transition: transform .1s ease, filter .15s ease;
}
.of-cta:active { transform: scale(.99); }
.of-demo { margin: 0; font-size: 12px; line-height: 18px; color: var(--color-ink-muted); text-align: center; }
.of-accounts { display: flex; flex-direction: column; border-radius: 16px; background: var(--color-surface); box-shadow: 0 0 0 var(--hairline) var(--color-line); overflow: hidden; }
.of-inline { display: flex; flex-direction: column; gap: 12px; }

.of-progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }   /* 3 or 4 steps, always one row */
.of-progress i { height: 4px; border-radius: 4px; background: var(--color-field); transition: background-color .25s ease; }
.of-progress i.is-on { background: var(--color-accent); }
.of-sec { display: flex; flex-direction: column; gap: 8px; }
.of-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.of-type {
  height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--color-field);
  color: var(--color-ink-2);
  font-size: 15px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1.5px transparent;
  transition: box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.of-type[aria-pressed="true"] { background: var(--color-accent-soft); color: var(--color-accent-text); box-shadow: inset 0 0 0 1.5px var(--color-accent); }
.of-genres { display: flex; flex-wrap: wrap; gap: 8px; }
.of-nav { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; margin-top: 4px; }
.of-nav > span:empty { display: none; }
.of-nav > span:empty + .of-cta { grid-column: 1 / -1; }

.of-pics { position: relative; padding-bottom: 48px; }
.of-cover {
  width: 100%;
  aspect-ratio: 375 / 150;
  border-radius: 16px;
  background: var(--color-field) center / cover no-repeat;
  display: grid;
  place-items: center;
  color: var(--color-ink-2);
  overflow: hidden;
}
.of-cover__hint { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--color-surface); font-size: 13px; font-weight: 700; box-shadow: 0 0 0 var(--hairline) var(--color-line); }
.of-cover__hint svg { width: 16px; height: 16px; }
.of-cover.has-img .of-cover__hint { background: rgba(16, 16, 20, .55); color: #fff; box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.of-av {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 104px;
  height: 104px;
  margin-left: -52px;
  border-radius: 50%;
  background: var(--color-field) center / cover no-repeat;
  box-shadow: 0 0 0 4px var(--color-bg);
  display: grid;
  place-items: center;
}
.of-av__ini { font-size: 30px; font-weight: 700; color: var(--color-ink-2); }
.of-av__cam { position: absolute; right: 0; bottom: 4px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--color-surface); box-shadow: 0 0 0 var(--hairline) var(--color-line), 0 2px 6px rgba(0, 0, 0, .12); color: var(--color-ink); }
.of-av__cam svg { width: 16px; height: 16px; }

@media (max-width: 380px) { .of-grid { grid-template-columns: 1fr; } }
@media (hover: hover) and (pointer: fine) {
  .of-cta:hover { filter: brightness(1.06); }
  .of-type:not([aria-pressed="true"]):hover { color: var(--color-ink); }
}

/* ---------- Import from links ---------- */

.imp { display: flex; flex-direction: column; gap: 16px; }
.imp .of-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.imp .of-cta svg { width: 18px; height: 18px; }
.imp .of-cta:disabled { background: var(--color-field); color: var(--color-ink-muted); cursor: default; }
.imp-label { display: flex; align-items: center; justify-content: space-between; }
.imp-paste { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 99px; background: var(--color-field); color: var(--color-ink-2); font-size: 12px; font-weight: 700; }
.imp-paste svg { width: 14px; height: 14px; }
.imp-text { min-height: 120px; font-size: 14px; line-height: 21px; }
.imp-chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; }
.imp-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 99px; background: var(--color-accent-soft); color: var(--color-ink); font-size: 12px; animation: pf-in .2s ease both; }
.imp-chip svg { width: 14px; height: 14px; color: var(--color-accent); }
.imp-chip small { color: var(--color-ink-muted); }
.imp-hint { font-size: 12px; color: var(--color-ink-muted); line-height: 28px; }
.imp-skip { height: 44px; color: var(--color-ink-2); font-size: 15px; font-weight: 700; }

.imp-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-radius: 16px; background: var(--color-surface); box-shadow: 0 0 0 var(--hairline) var(--color-line); overflow: hidden; }
.imp-steps li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-size: 15px; }
.imp-steps li + li { border-top: var(--hairline) solid var(--color-line); }
.imp-steps small { margin-left: auto; font-size: 13px; color: var(--color-ink-muted); }
.imp-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--color-line-strong); }
.imp-steps .is-run .imp-dot { box-shadow: inset 0 0 0 2px var(--color-accent-soft); border: 2px solid transparent; border-top-color: var(--color-accent); animation: imp-spin .8s linear infinite; }
.imp-steps .is-ok .imp-dot { background: var(--color-success); box-shadow: none; }
.imp-steps .is-none .imp-dot { background: var(--color-field); box-shadow: inset 0 0 0 2px var(--color-line); }
.imp-steps .is-wait { color: var(--color-ink-muted); }
@keyframes imp-spin { to { transform: rotate(360deg); } }

.imp-who { display: flex; align-items: center; gap: 14px; }
.imp-who__av { width: 72px; height: 72px; font-size: 22px; }
.imp-who__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.imp-who__txt .of__input { font-size: 18px; font-weight: 700; }
.imp-who__txt small { font-size: 13px; color: var(--color-ink-muted); }
.imp-picks { display: flex; flex-direction: column; border-radius: 16px; background: var(--color-surface); box-shadow: 0 0 0 var(--hairline) var(--color-line); overflow: hidden; }
.imp-pick { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; cursor: pointer; }
.imp-pick + .imp-pick { border-top: var(--hairline) solid var(--color-line); }
.imp-pick input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--color-accent); }
.imp-pick__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.imp-pick__txt b { font-size: 15px; }
.imp-pick__txt small { font-size: 13px; color: var(--color-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.imp-bio { font-size: 13px; line-height: 19px; color: var(--color-ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.imp-covers, .imp-thumbs { display: flex; gap: 6px; overflow: hidden; margin-top: 4px; }
.imp-covers img { width: 52px; height: 52px; border-radius: 6px; object-fit: cover; flex: none; background: var(--color-field); }
.imp-thumbs img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.imp-thumbs img.is-wide { width: 120px; border-radius: 8px; }
.imp-later { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--color-field); font-size: 13px; line-height: 19px; color: var(--color-ink-2); }
.imp-later svg { flex: none; width: 18px; height: 18px; color: var(--color-ink-muted); }

.imp-cta {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px;
  background: var(--color-accent-soft); color: var(--color-ink); text-decoration: none;
}
.imp-cta > svg:first-child { flex: none; width: 22px; height: 22px; color: var(--color-accent); }
.imp-cta > svg:last-child { flex: none; width: 16px; height: 16px; margin-left: auto; color: var(--color-ink-muted); }
.imp-cta span { display: flex; flex-direction: column; gap: 2px; }
.imp-cta b { font-size: 15px; }
.imp-cta small { font-size: 13px; color: var(--color-ink-2); }

/* ---------- Profile: perspective highlight ---------- */

.pf-hl { margin-top: 8px; padding: 6px 0 12px; background: var(--color-surface); }
.pf-hl__title { margin: 0; padding: 12px 16px 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--color-accent-text); }
.pf-hl__facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 4px 16px 8px; font-size: 14px; color: var(--color-ink-2); }
.pf-hl__facts span + span::before { content: "·"; margin-right: 14px; color: var(--color-ink-muted); }
.pf-hl__label { margin: 4px 16px 6px; font-size: 12px; color: var(--color-ink-muted); }
.pf-hl__faces { display: flex; align-items: center; gap: 0; padding: 6px 16px 4px; }
.pf-hl__faces button { margin-right: -8px; border-radius: 50%; box-shadow: 0 0 0 2px var(--color-surface); }
.pf-hl__faces .avatar { width: 34px; height: 34px; font-size: 11px; }
.pf-hl__faces small { margin-left: 18px; font-size: 13px; color: var(--color-ink-2); }
.pf-hl .pf-tags { padding-top: 2px; }

/* ---------- Profile: Music ---------- */

.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 16px 8px; }
.pf-chiplink { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 99px; background: var(--color-field); color: var(--color-ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.pf-chiplink svg { width: 15px; height: 15px; color: var(--color-ink-muted); }
.pf-tracks { margin: 0; padding: 0 0 4px; list-style: none; }
.pf-track { display: flex; align-items: center; gap: 12px; padding: 6px 16px; transition: background-color .15s ease; }
.pf-track.is-playing { background: var(--color-accent-soft); }
.pf-track__n { flex: none; width: 18px; text-align: center; font-size: 13px; color: var(--color-ink-muted); font-variant-numeric: tabular-nums; }
.pf-track__cover { flex: none; width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: var(--color-field); }
.pf-track__cover img { width: 100%; height: 100%; object-fit: cover; }
.pf-track__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pf-track__txt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-track__txt small { font-size: 12px; color: var(--color-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-track__play { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--color-field); color: var(--color-ink); }
.pf-track__play svg { width: 15px; height: 15px; }
.pf-track__play.is-on { background: var(--color-accent); color: var(--color-on-accent); }
.pf-embed { padding: 2px 16px 8px; }
.pf-embed iframe { width: 100%; border: 0; border-radius: 12px; display: block; background: var(--color-field); }
.pf-sec__count { margin-left: 8px; color: var(--color-ink-muted); font-weight: 400; }
.pf-releases { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px 12px; padding: 4px 16px 10px; }
.pf-rel { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: var(--color-ink); text-decoration: none; }
.pf-rel__cover { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--color-field); display: grid; place-items: center; color: var(--color-ink-muted); margin-bottom: 4px; }
.pf-rel__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.pf-rel__cover svg { width: 26px; height: 26px; }
.pf-rel b { font-size: 14px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-rel small { font-size: 12px; color: var(--color-ink-muted); text-transform: capitalize; }
.pf-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; padding: 4px 16px 10px; }
.pf-vid { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; color: #fff; text-align: left; }
.pf-vid img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.pf-vid .lk__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.pf-vid .lk__play svg { width: 20px; height: 20px; }
.pf-vid__t { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 13px; line-height: 17px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-vid__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #16161B; font-size: 14px; }
.pf-vid__ph svg { width: 28px; height: 28px; }
.pf-vid.is-playing iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pf-mu-src { margin: 12px 16px 4px; font-size: 12px; color: var(--color-ink-muted); }
.pf-mu-src a, .pf-sec__hint a { color: var(--color-accent-text); text-decoration: none; font-weight: 700; }
.pf-mu-cta { margin: 12px; }
.pf-loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 24px; color: var(--color-ink-muted); font-size: 14px; text-align: center; }
.pf-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--color-accent-soft); border-top-color: var(--color-accent); animation: imp-spin .8s linear infinite; }

@media (min-width: 640px) {
  .pf-hl { margin-top: 12px; border-radius: 16px; box-shadow: 0 0 0 var(--hairline) var(--color-line); }
  .pf-mu-cta { margin: 12px 0; }
}
@media (hover: hover) and (pointer: fine) {
  .pf-rel:hover .pf-rel__cover img { transform: scale(1.04); }
  .pf-chiplink:hover, .imp-paste:hover { color: var(--color-accent-text); }
  .pf-track:hover:not(.is-playing) { background: var(--color-hover); }
}
@media (max-width: 639px) {
}
/* Torro: the stage photo in black and white so the coral brand carries the colour */
.onb__bg { filter: grayscale(1) contrast(1.05) brightness(.9); }

/* ---------- Artist home: sections ---------- */
.pf-hs { margin-top: 8px; padding: 4px 0 12px; background: var(--color-surface); transition: opacity .2s ease; }
.pf-hs.is-hidden > .pf-hs__body { opacity: .45; }
.pf-sh { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 8px 2px 16px; }
.pf-sh__title { flex: 1; min-width: 0; margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-sh__title .pf-sec__count { font-size: 15px; }
.pf-sh__all { flex: none; height: 36px; padding: 0 10px; border-radius: 10px; color: var(--color-ink); font-size: 14px; font-weight: 700; }
.pf-sh__more { flex: none; width: 40px; height: 40px; color: var(--color-ink-2); }
.pf-sh__pill { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 99px; background: var(--color-field); color: var(--color-ink-2); font-size: 12px; font-weight: 700; }
.pf-sh__pill svg { width: 14px; height: 14px; }
.pf-hs__empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 2px 16px 4px; padding: 14px 16px; border-radius: 14px; box-shadow: inset 0 0 0 var(--hairline) var(--color-line-strong); }
.pf-hs__empty p { flex: 1 1 200px; margin: 0; font-size: 14px; line-height: 20px; color: var(--color-ink-2); }
.pf-hs__empty .pf-btn { flex: none; width: auto; padding: 0 16px; }
.pf-hs__loading { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--color-ink-muted); font-size: 14px; }
.pf-spin--sm { width: 20px; height: 20px; border-width: 2.5px; flex: none; }
.pf-hs .pf__compose { margin: 0 0 8px; }
.pf-chips--tight { padding-top: 8px; }

.pf-playall { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 12px; border-radius: 99px; background: var(--color-accent); color: var(--color-on-accent); font-size: 14px; font-weight: 700; }
.pf-playall svg { width: 16px; height: 16px; }
.pf-playall:active { transform: scale(.97); }
.pf-track[data-row] { cursor: pointer; }
.pf-track.is-playing .pf-track__txt b { color: var(--color-accent-text); }
.pf-track.is-hidden { opacity: .45; }

/* Releases: one swipeable row on home */
.pf-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 136px; gap: 12px; padding: 4px 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pf-strip::-webkit-scrollbar { display: none; }
.pf-strip .pf-rel { scroll-snap-align: start; }
.pf-rel { position: relative; }
.pf-rel.is-hidden { opacity: .45; }

/* About on home */
.pf-aboutmini { padding: 0 16px 4px; }
.pf-aboutmini__facts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; font-size: 14px; color: var(--color-ink-2); }
.pf-aboutmini__facts span + span::before { content: '·'; margin-right: 12px; color: var(--color-ink-muted); }
.pf-aboutmini__bio { margin: 0 0 6px; font-size: 15px; line-height: 22px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.pf-aboutmini .pf-hl__faces { padding: 6px 0 2px; }

/* Media grid */
.pf-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 2px; }
.pf-media--home { margin: 0 16px; gap: 4px; border-radius: 12px; overflow: hidden; }
.pf-media__cell { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--color-field); }
.pf-media__cell.is-hidden .pf-media__open { opacity: .4; }
.pf-media__open { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; display: block; }
.pf-media__open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.pf-media__badge { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(10, 10, 14, .55); color: #fff; }
.pf-media__badge svg { width: 13px; height: 13px; }
.pf-media__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; color: var(--color-ink-2); font-size: 12px; text-align: center; background: linear-gradient(160deg, var(--color-field), var(--color-surface)); }
.pf-media__ph svg { width: 24px; height: 24px; color: var(--color-ink-muted); }
.pf-media__ph b { font-weight: 700; }

/* Eye toggles (choose what's shown) */
.pf-eye { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--color-field); color: var(--color-ink); }
.pf-eye svg { width: 18px; height: 18px; }
.pf-eye[aria-pressed="false"] { color: var(--color-ink-muted); }
.pf-eye--float { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; background: var(--color-surface); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }

/* Owner tools above a tab */
.pf-tools { display: flex; gap: 8px; padding: 12px 16px 4px; overflow-x: auto; scrollbar-width: none; }
.pf-tools::-webkit-scrollbar { display: none; }
.pf-tool { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--color-field); color: var(--color-ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.pf-tool svg { width: 16px; height: 16px; }
.pf-tool--icon { width: 36px; padding: 0; justify-content: center; }
.pf-editbar { position: sticky; top: 52px; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; background: var(--color-surface); border-bottom: var(--hairline) solid var(--color-line); }
.pf-editbar span { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-ink-2); }
.pf-editbar span svg { width: 18px; height: 18px; flex: none; }
.pf-editbar .pf-btn { width: auto; flex: none; padding: 0 18px; }
.pf-filter { display: flex; gap: 8px; padding: 12px 16px 8px; overflow-x: auto; scrollbar-width: none; }
.pf-filter small { color: inherit; opacity: .7; font-weight: 400; }
.pf-follow-ig { display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 14px 16px; border-radius: 14px; box-shadow: inset 0 0 0 var(--hairline) var(--color-line-strong); color: var(--color-ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.pf-follow-ig svg { width: 18px; height: 18px; flex: none; }
.pf-follow-ig svg:last-child { margin-left: auto; color: var(--color-ink-muted); }
.pf-custom { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 32px); height: 44px; margin: 16px; border-radius: 12px; box-shadow: inset 0 0 0 var(--hairline) var(--color-line-strong); color: var(--color-ink); font-size: 14px; font-weight: 700; }
.pf-custom svg { width: 18px; height: 18px; }

/* Sheets: add links, customize sections, watch an embed */
.pf-sheet .fsheet__panel { padding: 8px 12px 12px; }
.pf-sheet__bar { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 0 0 4px; }
.pf-sheet__bar b { flex: 1; min-width: 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-sheet__link { flex: none; font-size: 13px; font-weight: 700; color: var(--color-ink); text-decoration: none; padding: 8px; border-radius: 8px; }
.pf-ask__input { width: 100%; min-height: 88px; margin-top: 4px; padding: 12px; border: 0; border-radius: 12px; background: var(--color-field); color: var(--color-ink); font: inherit; font-size: var(--fs-field); line-height: 22px; resize: vertical; }
.pf-ask__input:focus { outline: 2px solid var(--color-ink); outline-offset: 0; }
.pf-ask__hint { margin: 8px 4px 0; font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.pf-ask__err { margin: 8px 4px 0; font-size: 13px; color: var(--color-danger); font-weight: 700; }
.pf-ask__row { display: flex; gap: 8px; margin-top: 12px; }
.pf-ask__row .pf-btn { flex: 1; }
.pf-ask__row [hidden] { display: none; }
.pf-layout__hint { margin: 0 4px 8px; font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.pf-layout__list { margin: 0; padding: 0; list-style: none; }
.pf-layout__row { display: flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 2px 0 4px; border-top: var(--hairline) solid var(--color-line); }
.pf-layout__row:first-child { border-top: 0; }
.pf-layout__row.is-off .pf-layout__name { color: var(--color-ink-muted); }
.pf-layout__name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 15px; font-weight: 700; }
.pf-layout__name small { font-size: 12px; font-weight: 400; color: var(--color-ink-muted); }
.pf-mv { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--color-ink); }
.pf-mv svg { width: 18px; height: 18px; }
.pf-mv:disabled { color: var(--color-ink-muted); opacity: .35; }
.pf-layout__done { width: 100%; margin-top: 12px; }
.pf-embedsheet .fsheet__panel { max-width: 880px; }
.pf-embedsheet__panel.is-tall { max-width: 420px; }
.pf-embedsheet__frame { position: relative; width: 100%; max-height: calc(100dvh - 120px); border-radius: 12px; overflow: hidden; background: #000; }
.pf-embedsheet__panel.is-tall .pf-embedsheet__frame { aspect-ratio: auto !important; height: min(720px, calc(100dvh - 120px)); background: var(--color-field); }
.pf-embedsheet__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (min-width: 640px) {
  .pf-hs { margin-top: 12px; border-radius: 16px; box-shadow: 0 0 0 var(--hairline) var(--color-line); }
  .pf-media { grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0 16px; }
  .pf-media--home { grid-template-columns: repeat(3, 1fr); padding: 0; }
  .pf-strip { grid-auto-columns: 152px; }
}
@media (hover: hover) and (pointer: fine) {
  .pf-sh__all:hover, .pf-tool:hover, .pf-custom:hover, .pf-mv:not(:disabled):hover, .pf-sheet__link:hover { background: var(--color-hover); }
  .pf-media__open:hover img { transform: scale(1.04); }
  .pf-playall:hover { filter: brightness(1.06); }
}
/* Saved (own profile only) */
.pf-private { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 12px 16px 4px; font-size: 13px; color: var(--color-ink-muted); }
.pf-private svg { width: 14px; height: 14px; }

/* ---------- Artist & venue hero (Spotify-style): one big photo, the name on it ---------- */
.pf__hero { position: relative; width: 100%; aspect-ratio: 1 / 1.02; max-height: 78vh; overflow: hidden; background: #111116; isolation: isolate; }
.pf__hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.pf__hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(8, 8, 12, 0.82) 0%, rgba(8, 8, 12, 0.35) 30%, rgba(8, 8, 12, 0) 55%),
              linear-gradient(to bottom, rgba(8, 8, 12, 0.38) 0%, rgba(8, 8, 12, 0) 22%); }
/* Venues: a colour wash in the brand pair (iris → coral) over the photo */
.pf__hero--venue::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(155deg, rgba(91, 91, 214, 0.62) 0%, rgba(91, 91, 214, 0.18) 38%, rgba(255, 91, 93, 0) 55%),
              linear-gradient(335deg, rgba(255, 91, 93, 0.55) 0%, rgba(255, 91, 93, 0.12) 35%, rgba(255, 91, 93, 0) 55%);
  mix-blend-mode: soft-light; }
.pf__hero--venue > img { filter: saturate(.85) contrast(1.05); }
.pf__heroText { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 18px; color: #FFFFFF; text-align: left; }
.pf__heroName { margin: 0; font-size: clamp(36px, 11vw, 64px); line-height: .98; font-weight: 900; letter-spacing: -.025em; overflow-wrap: anywhere; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.pf__heroBadge { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 15px; font-weight: 700; }
.pf__heroBadge svg { width: 20px; height: 20px; color: #4C8DF6; filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.6)); }
.pf--hero .pf__head { align-items: flex-start; text-align: left; padding-top: 14px; }
.pf--hero .pf__sub { margin-top: 0; }
.pf--hero .pf__stats { align-self: stretch; }

@media (max-width: 1023px) {
  /* The page bar floats over the photo: round see-through buttons, no title */
  .screen.has-hero .screen-bar { position: absolute; z-index: 4; top: 0; left: 0; right: 0; min-height: 0; padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 0; background: transparent; box-shadow: none; border: 0; pointer-events: none; }
  .screen.has-hero .screen-bar__title { visibility: hidden; }
  .screen.has-hero .screen-bar__nav, .screen.has-hero .pf-bar-more { pointer-events: auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(16, 16, 20, 0.42); color: #FFFFFF; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .screen.has-hero .screen-body { padding-top: 0; }
  .screen--profile.has-hero .screen-inner { padding-top: 0; }
}
@media (min-width: 640px) {
  .pf__hero { aspect-ratio: 16 / 8; max-height: 440px; border-radius: 20px 20px 0 0; }
  .pf--hero .pf__head { border-radius: 0 0 20px 20px; }
  .pf__heroText { left: 24px; bottom: 24px; }
}
/* Venue wash: clearly there, never fighting the name */
.pf__hero--venue::before { mix-blend-mode: normal;
  background: linear-gradient(160deg, rgba(91, 91, 214, 0.55) 0%, rgba(91, 91, 214, 0.18) 35%, rgba(91, 91, 214, 0) 58%),
              linear-gradient(20deg, rgba(255, 91, 93, 0.42) 0%, rgba(255, 91, 93, 0.1) 30%, rgba(255, 91, 93, 0) 50%); }

/* ---------- Hero v2: everything above the tabs lives on the photo ---------- */
.pf__hero { aspect-ratio: auto; min-height: min(118vw, 600px); max-height: none; display: flex; flex-direction: column; justify-content: flex-end; }
.pf__hero > .pf__heroImg, .pf__hero > .pf__cover-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.pf__hero::after { background:
    linear-gradient(to top, rgba(8, 8, 12, 0.92) 0%, rgba(8, 8, 12, 0.78) 28%, rgba(8, 8, 12, 0.3) 52%, rgba(8, 8, 12, 0) 68%),
    linear-gradient(to bottom, rgba(8, 8, 12, 0.4) 0%, rgba(8, 8, 12, 0) 20%); }
.pf__heroText { position: relative; left: auto; right: auto; bottom: auto; padding: 0 16px 18px; display: flex; flex-direction: column; gap: 0; }
.pf__heroBadge { margin-top: 10px; }
.pf__heroSub { margin: 8px 0 0; font-size: 15px; line-height: 20px; color: rgba(255, 255, 255, 0.78); }
.pf--hero .pf__acting { align-self: flex-start; margin: 10px 0 0; background: rgba(255, 255, 255, 0.14); color: #FFFFFF; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pf--hero .pf__stats { display: flex; justify-content: flex-start; gap: 28px; margin: 16px 0 0; padding: 0; border: 0; background: none; }
.pf--hero .pf__stat { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 0; padding: 4px 8px; text-align: left; }
.pf--hero .pf__stat .pf__stat-n { color: #FFFFFF; font-size: 18px; line-height: 22px; }
.pf--hero .pf__stat .pf__stat-l { color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.pf--hero .pf__actions { display: flex; gap: 10px; width: 100%; margin: 18px 0 0; }
.pf--hero .pf__actions .pf-btn { flex: 1; height: 44px; background: rgba(255, 255, 255, 0.16); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pf--hero .pf__actions .pf-btn.pf-btn--primary { background: #FFFFFF; color: #111116; box-shadow: none; }
.pf--hero .pf__actions .pf-btn.is-on { background: rgba(255, 255, 255, 0.24); }
.pf--hero .pf__actions .pf-btn svg { color: currentColor; }
.pf--hero .pf__tabs { margin-top: 0; }
@media (min-width: 640px) {
  .pf__hero { min-height: 460px; border-radius: 20px; }
  .pf__heroText { padding: 0 28px 26px; }
  .pf--hero .pf__actions { max-width: 420px; }
  .pf--hero .pf__tabs { margin-top: 12px; }
}

/* Hero polish: genres as a quiet line; booking facts now live in the Calendar tab */
.pf__heroTags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.pf__heroTags span { padding: 3px 10px; border-radius: 999px; font-size: 12px; line-height: 18px; font-weight: 600; color: #FFFFFF; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.pf__heroSub + .pf__heroTags { margin-top: 10px; }
@media (min-width: 640px) { .pf__heroName { font-size: clamp(40px, 5vw, 56px); } }

/* Phone: floating buttons over the photo → solid bar once the photo is gone; tabs stick below the bar, never under it */
@media (max-width: 1023px) {
  .screen.has-hero { --hb: calc(env(safe-area-inset-top, 0px) + 56px); }
  .screen.has-hero .screen-bar { height: var(--hb); padding-top: env(safe-area-inset-top, 0px); align-items: center; transition: background-color .2s ease, box-shadow .2s ease; }
  .screen.has-hero .screen-bar__title { visibility: visible; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
  .screen.has-hero .screen-bar__nav, .screen.has-hero .pf-bar-more { transition: background-color .2s ease, color .2s ease; }
  .screen.has-hero .pf__tabs { top: var(--hb); }
  .screen.has-hero.is-solid .screen-bar { pointer-events: auto; background: var(--color-surface); box-shadow: 0 var(--hairline) 0 var(--color-line); }
  .screen.has-hero.is-solid .screen-bar__title { opacity: 1; transform: none; }
  .screen.has-hero.is-solid .screen-bar__nav, .screen.has-hero.is-solid .pf-bar-more { background: transparent; color: var(--color-ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Musicians: what they play, and whether bands can ask them */
.pf-open { display: flex; align-items: center; gap: 8px; margin: 10px 16px 2px; font-size: 14px; font-weight: 600; color: var(--color-ink-2); }
.pf-open svg { flex: none; width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--color-success, #1F9D55); color: #FFFFFF; }

/* Booking papers on About */
.pf-docs { display: flex; flex-direction: column; padding: 0 16px 4px; }
.pf-doc { display: flex; align-items: center; gap: 12px; min-height: 56px; color: var(--color-ink); text-decoration: none; border-bottom: var(--hairline) solid var(--color-line); }
.pf-doc:last-child { border-bottom: 0; }
.pf-doc > svg:first-child { flex: none; width: 20px; height: 20px; color: var(--color-ink-2); }
.pf-doc span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pf-doc b { font-size: 15px; }
.pf-doc small { font-size: 13px; color: var(--color-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-doc > svg:last-child { flex: none; width: 16px; height: 16px; color: var(--color-ink-muted); }

/* ---------- First-run setup on your own page ---------- */
.pf-su { margin: 16px 16px 4px; padding: 16px; border: 1px solid var(--color-line); border-radius: 16px; background: var(--color-surface); }
.pf-su__head { display: flex; align-items: center; gap: 12px; }
.pf-su__head h3 { flex: 1; min-width: 0; margin: 0; font-size: 17px; text-wrap: balance; }
.pf-su__ring { --p: 0; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: conic-gradient(var(--color-accent, #5B5BD6) calc(var(--p) * 1%), var(--color-line) 0); }
.pf-su__ring b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--color-surface); font-size: 11px; font-weight: 700; }
.pf-su__lead { margin: 6px 0 12px; font-size: 13px; line-height: 18px; color: var(--color-ink-muted); max-width: 60ch; }
.pf-su__steps { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 640px) { .pf-su__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pf-su__step { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border: 1px solid var(--color-line); border-radius: 12px; background: none; color: var(--color-ink); text-align: left; transition: border-color .15s ease, background-color .15s ease; }
.pf-su__step > svg { flex: none; width: 18px; height: 18px; color: var(--color-ink-muted); }
.pf-su__ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--color-field); }
.pf-su__ic svg { width: 18px; height: 18px; }
.pf-su__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pf-su__txt b { font-size: 14px; font-weight: 600; }
.pf-su__txt small { font-size: 12px; color: var(--color-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-su__step:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) { .pf-su__step:hover { border-color: var(--color-line-strong); background: var(--color-field); } }

/* Empty picture on your own page: add it right there */
.pf__cover, .pf__hero { position: relative; }
.pf-addimg { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(10, 10, 14, .45); color: #FFFFFF;
  font-size: 14px; font-weight: 600; white-space: nowrap; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pf-addimg svg { width: 18px; height: 18px; }
.pf-addimg--hero { top: 34%; }
.pf__cover .pf-addimg { top: 38%; }
.pf__av-wrap { position: relative; }
.pf-avadd { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-ink); color: var(--color-surface); border: 2px solid var(--color-surface); }
.pf-avadd svg { width: 16px; height: 16px; }

.su-sheet__body { padding: 0 4px 8px; display: flex; flex-direction: column; gap: 10px; }
.su-sheet__lead { margin: 0; font-size: 13px; color: var(--color-ink-muted); }
.su-sheet__hint { font-size: 12px; color: var(--color-ink-muted); }
.su-sheet__chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 46vh; overflow-y: auto; }
.su-sheet textarea.of__input { min-height: 120px; resize: vertical; }
.pf-su__later { flex: none; height: 32px; padding: 0 10px; border-radius: 999px; background: none; color: var(--color-ink-muted); font-size: 13px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .pf-su__later:hover { background: var(--color-field); color: var(--color-ink); } }

/* ---------- Where imported pictures and text came from ---------- */
.pf__credit { position: absolute; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: 2; }
.pf__credit .src-tag { border-color: rgba(255, 255, 255, .28); background: rgba(10, 10, 14, .42); color: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pf__credit a.src-tag:hover { color: #FFFFFF; border-color: rgba(255, 255, 255, .5); }
@media (min-width: 1024px) { .pf__credit { top: 14px; right: 14px; } }
.pf-credit { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.pf-credit__lic { font-size: 12px; color: var(--color-ink-muted); }
.pf-media__src { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; max-width: calc(100% - 12px); padding: 2px 7px 2px 5px; border-radius: 999px;
  background: rgba(10, 10, 14, .55); color: #FFFFFF; font-size: 10.5px; font-weight: 600; line-height: 15px; pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pf-media__src svg { flex: none; width: 11px; height: 11px; }
.pf-media__src span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Unofficial page ---------- */
.pf__heroBadge--uo { background: rgba(10, 10, 14, .45); border: 1px solid rgba(255, 255, 255, .3); color: #FFFFFF; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pf-uo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 16px 16px 4px; padding: 14px 16px; border: 1px solid var(--color-line); border-radius: 16px; background: var(--color-surface); }
.pf-uo__ic { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--color-field); color: var(--color-ink); }
.pf-uo__ic svg { width: 19px; height: 19px; }
.pf-uo__txt { min-width: 0; }
.pf-uo__txt b { font-size: 15px; }
.pf-uo__txt p { margin: 3px 0 0; font-size: 13px; line-height: 18px; color: var(--color-ink-muted); max-width: 62ch; }
.pf-uo__status { display: flex; gap: 6px; align-items: center; margin-top: 8px !important; color: var(--color-ink) !important; font-weight: 600; }
.pf-uo__status svg { flex: none; width: 15px; height: 15px; }
.pf-uo__acts { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; }
.pf-uo__claim { height: 36px; padding: 0 14px; font-size: 14px; }
.pf-uo__rm { padding: 0; background: none; color: var(--color-ink-muted); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .pf-uo__rm:hover { color: var(--color-ink); } }
.uo-q { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--color-ink-muted); }
.uo-opts { display: flex; flex-direction: column; gap: 8px; }
.uo-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--color-line); border-radius: 12px; cursor: pointer; }
.uo-opt:has(input:checked) { border-color: var(--color-ink); }
.uo-opt input { margin: 3px 0 0; accent-color: var(--color-ink); }
.uo-opt span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.uo-opt b { font-size: 14px; }
.uo-opt small { font-size: 12px; color: var(--color-ink-muted); overflow-wrap: anywhere; }
.uo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.uo-list li { display: flex; gap: 10px; font-size: 14px; line-height: 20px; }
.uo-list svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--color-ink-muted); }
.uo-sheet .shp-field textarea, .uo-sheet .shp-field input { width: 100%; }
.dx-uo { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 11.5px; font-weight: 600; color: var(--color-ink-muted); }
.dx-uo svg { width: 12px; height: 12px; }
.evp-card__uo { display: inline-flex; align-items: center; gap: 4px; }
.evp-card__uo svg { width: 12px; height: 12px; }
.pf__heroBadge--uo { display: inline-flex; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; gap: 6px; }
.pf__heroBadge--uo svg { width: 15px; height: 15px; color: #FFFFFF; filter: none; }
.pf__heroBadge--uo { align-self: flex-start; width: fit-content; max-width: 100%; }
.uo-sheet [hidden] { display: none !important; }

/* "Unofficial page" explainer */
button.pf__heroBadge--uo { font: inherit; font-size: 13px; font-weight: 600; cursor: help; transition: background-color .15s ease, border-color .15s ease; }
button.pf__heroBadge--uo[aria-expanded="true"], button.pf__heroBadge--uo:hover { background: rgba(10, 10, 14, .62); border-color: rgba(255, 255, 255, .55); }
button.pf__heroBadge--uo:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.uo-tip { --arrow: 24px; position: fixed; z-index: 120; padding: 14px 16px 12px; border-radius: 16px; background: var(--color-surface); color: var(--color-ink);
  box-shadow: 0 0 0 1px var(--color-line), 0 18px 48px rgba(0, 0, 0, .22); opacity: 0; transform: translateY(-4px); transition: opacity .15s ease, transform .18s ease; }
.uo-tip.is-above { transform: translateY(4px); }
.uo-tip.is-open { opacity: 1; transform: none; }
.uo-tip::before { content: ''; position: absolute; top: -6px; left: calc(var(--arrow) - 6px); width: 12px; height: 12px; background: inherit; transform: rotate(45deg);
  box-shadow: -1px -1px 0 0 var(--color-line); border-radius: 2px 0 0 0; }
.uo-tip.is-above::before { top: auto; bottom: -6px; box-shadow: 1px 1px 0 0 var(--color-line); border-radius: 0 0 2px 0; }
.uo-tip__t { display: block; font-size: 15px; margin-bottom: 10px; }
.uo-tip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.uo-tip li { display: flex; gap: 10px; font-size: 13.5px; line-height: 19px; }
.uo-tip li svg { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--color-positive); }
.uo-tip li:last-child svg { color: var(--color-ink-muted); }
.uo-tip__fix { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 0; background: none; color: var(--color-accent-text, var(--color-accent)); font-size: 13px; font-weight: 600; }
.uo-tip__fix svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .uo-tip { transition: none; } }

/* ---------- Unofficial page: hierarchy pieces ---------- */
.pf-hs--bare { padding-top: 0; border: 0; background: none; }
/* Next gig: the first thing fans want */
.pf-next { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--color-line); border-radius: 20px; background: var(--color-surface);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02), 0 10px 30px rgba(17, 17, 28, .06); }
.pf-next__pic { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--color-field); padding: 0; }
.pf-next__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-next__date { position: absolute; left: 8px; top: 8px; min-width: 40px; padding: 5px 5px 4px; border-radius: 10px; background: var(--color-surface); color: var(--color-ink); text-align: center; line-height: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.pf-next__date b { display: block; font-size: 18px; font-weight: 800; }
.pf-next__date small { display: block; margin-top: 2px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent-text, var(--color-accent)); }
.pf-next__txt { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pf-next__k { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--color-accent-text, var(--color-accent)); }
.pf-next__live { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: nx-pulse 2s ease-out infinite; }
@keyframes nx-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-accent) 45%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }
.pf-next__title { padding: 0; background: none; color: var(--color-ink); font: inherit; font-size: 19px; line-height: 1.2; font-weight: 800; text-align: left; text-wrap: balance; }
.pf-next__meta { margin: 0; font-size: 13.5px; color: var(--color-ink-muted); }
.pf-next__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 4px; }
.pf-next__go { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 12px; background: var(--color-ink); color: var(--color-surface); font-size: 14px; font-weight: 700; }
.pf-next__go.is-on { background: var(--color-positive); color: var(--color-on-positive); }
.pf-next__go svg, .pf-next__tix svg { width: 16px; height: 16px; }
.pf-next__tix { height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; text-decoration: none; }
.pf-next__n { font-size: 12.5px; color: var(--color-ink-muted); }
@media (min-width: 640px) { .pf-next { grid-template-columns: 148px minmax(0, 1fr); gap: 20px; padding: 16px; } .pf-next__title { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .pf-next__live { animation: none; } }
/* Fans */
.pf-fans { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pf-fans__faces { display: flex; flex: none; }
.pf-fans__faces .avatar { width: 34px; height: 34px; font-size: 12px; box-shadow: 0 0 0 2px var(--color-bg); }
.pf-fans__faces .avatar + .avatar { margin-left: -10px; }
.pf-fans__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--color-field); }
.pf-fans__ic svg { width: 20px; height: 20px; }
.pf-fans__txt { flex: 1 1 200px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.pf-fans__txt span { color: var(--color-ink-muted); }
.pf-fans__txt small { font-size: 12.5px; color: var(--color-ink-muted); }
.pf-fans__go { flex: none; }
/* Similar / played at */
.pf-sims { gap: 12px; }
.pf-sim { flex: none; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; background: none; color: var(--color-ink); text-align: center; scroll-snap-align: start; }
.pf-sim__av { width: 88px; height: 88px; font-size: 24px; margin-bottom: 4px; }
.pf-sim__av--sq { border-radius: 18px; }
.pf-sim b { max-width: 100%; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-sim small { max-width: 100%; font-size: 12px; color: var(--color-ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .pf-sim:hover .pf-sim__av { transform: scale(1.04); } .pf-sim__av { transition: transform .15s ease; } }
/* Empty states that ask, notes, and the closing card */
.pf-hs__empty--uo { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 1px dashed var(--color-line-strong); border-radius: 14px; }
.pf-hs__empty--uo p { margin: 0; font-size: 14px; color: var(--color-ink-muted); flex: 1 1 200px; }
.pf-uonote { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 16px 0 0; padding: 0 2px; font-size: 12.5px; color: var(--color-ink-muted); }
.pf-uonote > svg { flex: none; width: 15px; height: 15px; }
.pf-uonote > span { flex: 1 1 220px; min-width: 0; }
.pf-uonote button { padding: 0; background: none; color: var(--color-accent-text, var(--color-accent)); font-size: 12.5px; font-weight: 600; }
.pf-uo--end { margin: 24px 0 8px; }
.pf__pane > .pf-uo--end:last-child, .pf-about + .pf-uo--end { margin-left: 0; margin-right: 0; }
.pf-hs.pf-hs--bare { padding: 12px 0 4px !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.pf-hs.pf-hs--bare > .pf-next, .pf-hs.pf-hs--bare > .pf-uo { margin-left: 16px; margin-right: 16px; }
@media (min-width: 1024px) { .pf-hs.pf-hs--bare > .pf-next, .pf-hs.pf-hs--bare > .pf-uo { margin-left: 0; margin-right: 0; } }

/* ---------- Desktop: a profile has no page bar — Back (not on your own page) and ⋯ float on the photo ---------- */
.pf__float { display: none; }
@media (min-width: 1024px) {
  .screen--profile.pf-nobar > .screen-bar { display: none; }
  .pf__float { position: absolute; z-index: 3; top: 16px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
  .pf-fbtn { pointer-events: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(16, 16, 20, 0.42); color: #FFFFFF;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); transition: background-color .15s ease, transform .1s ease; }
  .pf-fbtn svg { width: 22px; height: 22px; }
  .pf-fbtn:hover { background: rgba(16, 16, 20, 0.62); }
  .pf-fbtn:active { transform: scale(.96); }
  .pf-fbtn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
  /* the photo credit moves to the bottom corner, out of the buttons' way */
  .pf__hero .pf__credit { top: auto; bottom: 22px; right: 22px; }
}

/* ---------- Profile photo + cover: each card shows WHERE the picture appears (assets/js/pics.js) ---------- */
.pk { --u: 1px; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .pk:not(.pk--compact) { grid-template-columns: 1fr 1fr; } }
.pk-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 16px; background: var(--color-surface); box-shadow: 0 0 0 var(--hairline) var(--color-line); }
.pk-hit { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pk-hit:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; border-radius: 16px 16px 0 0; }
.pk-prev { position: relative; display: block; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--color-field); }
.pk-tag { position: absolute; z-index: 3; top: calc(10 * var(--u)); left: calc(10 * var(--u)); padding: 3px 9px; border-radius: 99px; background: var(--color-surface); color: var(--color-ink-2);
  font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 0 0 var(--hairline) var(--color-line); }
/* the thing this card changes wears a camera; an empty one also a dashed ring */
.pk-cam, .pk-hero__cam { display: grid; place-items: center; border-radius: 50%; background: var(--color-surface); color: var(--color-ink); box-shadow: 0 0 0 var(--hairline) var(--color-line), 0 2px 8px rgba(0, 0, 0, .14); }
.pk-cam svg, .pk-hero__cam svg { width: 55%; height: 55%; }

/* In the feed: a post with the round photo next to the name */
.pk-prev--feed { display: flex; align-items: flex-end; justify-content: center; padding: 0 calc(18 * var(--u)); }
.pk-post { width: 100%; max-width: calc(270 * var(--u)); padding: calc(12 * var(--u)) calc(12 * var(--u)) 0; border-radius: calc(12 * var(--u)) calc(12 * var(--u)) 0 0; background: var(--color-surface);
  box-shadow: 0 0 0 var(--hairline) var(--color-line), 0 8px 24px rgba(0, 0, 0, .06); }
.pk-post__head { display: flex; align-items: center; gap: calc(10 * var(--u)); }
.pk-av { position: relative; flex: none; display: grid; place-items: center; width: calc(54 * var(--u)); height: calc(54 * var(--u)); border-radius: 50%; background: var(--color-field) center / cover no-repeat; }
.pk-av:not(.has-img) { box-shadow: 0 0 0 calc(2 * var(--u)) var(--color-surface), 0 0 0 calc(3.5 * var(--u)) var(--color-accent); }
.pk-av__ini { font-size: calc(17 * var(--u)); font-weight: 800; color: var(--color-ink-2); }
.pk-av .pk-cam { position: absolute; right: calc(-4 * var(--u)); bottom: calc(-2 * var(--u)); width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.pk-post__who { min-width: 0; display: flex; flex-direction: column; gap: calc(6 * var(--u)); }
.pk-post__who b { overflow: hidden; font-size: calc(14 * var(--u)); line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; color: var(--color-ink); }
.pk-post__who i, .pk-hero__lines i { display: block; height: calc(6 * var(--u)); border-radius: 3px; background: var(--color-field); }
.pk-post__who i { width: calc(56 * var(--u)); }
.pk-post__media { display: block; height: calc(64 * var(--u)); margin-top: calc(12 * var(--u)); border-radius: calc(8 * var(--u)) calc(8 * var(--u)) 0 0; background: var(--color-field); }

/* On the page: the big picture with the name on it (fans: a banner above the round photo) */
.pk-hero { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: calc(8 * var(--u)); padding: calc(14 * var(--u));
  background: var(--color-field) center 25% / cover no-repeat; color: #FFFFFF; }
.pk-hero:not(.has-img) { background-image: repeating-linear-gradient(135deg, transparent 0 10px, var(--color-hover) 10px 20px) !important; box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--color-accent); border-radius: 0; }
.pk-hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 12, .78) 0%, rgba(8, 8, 12, .2) 50%, rgba(8, 8, 12, 0) 70%); }
.pk-hero__cam { position: absolute; z-index: 2; left: 50%; top: 42%; width: calc(40 * var(--u)); height: calc(40 * var(--u)); transform: translate(-50%, -50%); }
.pk-hero.has-img .pk-hero__cam { left: auto; top: auto; right: calc(10 * var(--u)); bottom: calc(10 * var(--u)); width: calc(28 * var(--u)); height: calc(28 * var(--u)); transform: none; }
.pk-hero__name { position: relative; z-index: 1; overflow: hidden; font-size: calc(22 * var(--u)); line-height: 1.05; font-weight: 900; letter-spacing: -.02em; white-space: nowrap; text-overflow: ellipsis; }
.pk-hero:not(.has-img) .pk-hero__name { color: var(--color-ink); }
.pk-hero__lines { position: relative; z-index: 1; display: flex; gap: calc(10 * var(--u)); }
.pk-hero__lines i { width: calc(30 * var(--u)); background: rgba(255, 255, 255, .55); }
.pk-hero:not(.has-img) .pk-hero__lines i { background: var(--color-line-strong); }
.pk-prev--page.is-fan .pk-hero { inset: 0 0 auto; height: 58%; padding: 0; }
.pk-hero__av { position: absolute; z-index: 2; left: 50%; top: 58%; width: calc(54 * var(--u)); height: calc(54 * var(--u)); transform: translate(-50%, -55%); border-radius: 50%;
  background: var(--color-field) center / cover no-repeat; box-shadow: 0 0 0 calc(3 * var(--u)) var(--color-surface); }
.pk-prev--page.is-fan::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 16%; height: calc(7 * var(--u)); border-radius: 4px; background: var(--color-line-strong); }

.pk-foot { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 12px 14px 14px; }
.pk-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; min-height: 34px; }
.pk-title { font-size: 15px; line-height: 20px; }
.pk-hint { font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.pk-credit { margin-top: 4px; }
.pk-acts { flex: none; display: flex; align-items: center; gap: 2px; margin-left: auto; }
.pk-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 99px; background: var(--color-field); color: var(--color-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.pk-btn svg { width: 14px; height: 14px; }
.pk-del { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--color-ink-muted); cursor: pointer; }
.pk-del svg { width: 17px; height: 17px; }
@media (hover: hover) and (pointer: fine) {
  .pk-btn:hover { background: var(--color-hover); box-shadow: inset 0 0 0 1px var(--color-line-strong); }
  .pk-del:hover { color: var(--color-danger); background: var(--color-hover); }
  .pk-hit:hover .pk-cam, .pk-hit:hover .pk-hero__cam { color: var(--color-accent-text, var(--color-accent)); }
}

/* Compact (Edit profile): one row per picture, a small preview on the left */
.pk--compact { --u: .5px; gap: 10px; }
.pk--compact .pk-card { flex-direction: row; align-items: center; }
.pk--compact .pk-hit { flex: none; width: 132px; align-self: stretch; }
.pk--compact .pk-prev { height: 100%; min-height: 84px; aspect-ratio: auto; }
.pk--compact .pk-tag { display: none; }
.pk--compact .pk-foot { flex: 1; padding: 8px 10px 10px 12px; }
.pk--compact .pk-hint { font-size: 12.5px; line-height: 17px; }
/* compact: title, what it is, then the buttons */
.pk--compact .pk-row { display: contents; }
.pk--compact .pk-title { order: 0; }
.pk--compact .pk-hint { order: 1; }
.pk--compact .pk-credit { order: 2; }
.pk--compact .pk-acts { order: 3; margin: 4px 0 0 -4px; }
.pk--compact .pk-btn { height: 32px; }
@media (max-width: 400px) { .pk--compact .pk-hit { width: 112px; } }

/* Setup card: the picture steps show the shape they fill */
.pf-su__ic--av { border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--color-accent); background: none; color: var(--color-accent-text, var(--color-accent)); }
.pf-su__ic--cover { width: 48px; height: 32px; border-radius: 8px; margin: 2px 0; box-shadow: inset 0 0 0 1.5px var(--color-accent); background: repeating-linear-gradient(135deg, transparent 0 6px, var(--color-hover) 6px 12px); color: var(--color-accent-text, var(--color-accent)); }
.pf-su__ic--av svg, .pf-su__ic--cover svg { width: 16px; height: 16px; }
.of-note { display: flex; align-items: flex-start; gap: 8px; margin: -2px 0 0; font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.of-note svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
/* 22 Oct: a venue the public sources list as closed — next to "Unofficial page", no offer button */
.pf__heroBadge--closed { display: inline-flex; margin-right: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; gap: 6px; font-size: 13px; font-weight: 700;
  background: color-mix(in srgb, var(--color-danger) 70%, rgba(10, 10, 14, .5)); border: 1px solid rgba(255, 255, 255, .25); color: #FFFFFF; }
.pf__heroBadge--closed svg { width: 12px; height: 12px; }
.pf__heroBadge--closed { align-self: flex-start; width: auto; max-width: max-content; }
.pf__heroBadge--closed svg { color: #FFFFFF; }
/* Message next to Follow (Instagram): text when there's room, the icon alone next to two other buttons */
.pf-btn--msg { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pf-btn--msg svg { width: 17px; height: 17px; }
.pf__actions > .pf-btn--msg:nth-child(3) { flex: none; width: 48px; padding: 0; }
.pf__actions > .pf-btn--msg:nth-child(3) span { display: none; }

/* 23 Oct review: a page without a picture yet (Day 1) doesn't get a screen-tall empty gradient — the name sits higher */
.pf__hero.is-noimg { min-height: min(72vw, 360px); }
@media (min-width: 1024px) { .pf__hero.is-noimg { min-height: 300px; } }
/* no picture yet: "Add cover photo" sits in the top row, between Back and ⋯, clear of the name */
.pf__hero.is-noimg .pf-addimg--hero { top: 28px; }
@media (min-width: 640px) { .pf__hero.is-noimg .pf-addimg--hero { top: 40px; } }

/* ---------- Edit profile (owner 24 Oct): a page of its own — who you edit, named sections, Save always in reach ---------- */
.screen--edit .screen-inner { max-width: 1040px; }
.ed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ed-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ed-who { display: flex; align-items: center; gap: 14px; padding: 6px 0; color: inherit; text-decoration: none; min-width: 0; }
.ed-who__av { flex: none; width: 56px; height: 56px; font-size: 18px; box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 3.5px var(--color-line-strong); }
.ed-who__txt { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ed-who__txt small { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--color-accent-text); }
.ed-who__txt b { font-size: 19px; line-height: 24px; font-weight: 900; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-who__txt > span { font-size: 13px; color: var(--color-ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* phones: the sections as one scrolling row of chips · desktop: a quiet list that follows the scroll */
.ed-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; }
.ed-nav::-webkit-scrollbar { display: none; }
.ed-nav a { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--color-field); color: var(--color-ink-2); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.ed-nav a[aria-current] { background: var(--color-ink); color: var(--color-surface); }
.ed-form { gap: 0; padding-top: 0; }
.ed-sec { display: flex; flex-direction: column; gap: 16px; padding: 26px 0; scroll-margin-top: 24px; }
.ed-sec + .ed-sec { border-top: var(--hairline) solid var(--color-line); }
.ed-sec.is-flash .ed-sec__head h2 { animation: ed-flash 1.2s ease; }
@keyframes ed-flash { 0%, 100% { color: inherit; text-shadow: none; } 25% { color: var(--color-accent-text); text-shadow: 0 0 18px color-mix(in srgb, var(--color-accent) 45%, transparent); } }
.ed-sec__head h2:focus { outline: none; }
.ed-sec__head h2 { margin: 0; font-size: 18px; line-height: 24px; font-weight: 800; letter-spacing: -.005em; }
.ed-sec__head p { margin: 3px 0 0; max-width: 560px; font-size: 14px; line-height: 20px; color: var(--color-ink-muted); }
/* one row per item: what it is · what it says now · Edit — the editor opens only that item (account-page pattern) */
.ed-rows { display: flex; flex-direction: column; }
.ed-row { position: relative; border-radius: 16px; transition: background-color .15s ease, box-shadow .2s ease; }
.ed-row + .ed-row::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: var(--hairline); background: var(--color-line); }
.ed-row.is-open::before, .ed-row.is-open + .ed-row::before { opacity: 0; }
.ed-row__view { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; cursor: pointer; border-radius: 16px; }
.ed-row:not(.is-open) .ed-row__view:hover { background: var(--color-hover); }
.ed-row__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ed-row__txt > small { font-size: 12.5px; font-weight: 700; color: var(--color-ink-muted); letter-spacing: .01em; }
.ed-row__val { font-size: 15px; line-height: 21px; color: var(--color-ink); overflow-wrap: anywhere; }
.ed-row__val small { color: var(--color-ink-muted); font-size: 13px; }
.ed-row__val.is-empty { color: var(--color-ink-faint, var(--color-ink-muted)); font-style: normal; }
.ed-row__clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.ed-row__pills { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 3px; }
.ed-row__pills i { font-style: normal; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--color-field); color: var(--color-ink-2); }
.ed-row__go { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; background: none; color: var(--color-accent-text); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.ed-row__go:hover { background: color-mix(in srgb, var(--color-accent) 12%, transparent); }
.ed-row.is-open { background: var(--color-surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-accent) 38%, transparent), 0 0 24px -6px color-mix(in srgb, var(--color-accent) 35%, transparent); }
.ed-row.is-open .ed-row__view { cursor: default; padding-bottom: 4px; }
.ed-row.is-open .ed-row__txt > small { color: var(--color-accent-text); }
.ed-row.is-open .ed-row__val { display: none; }
.ed-row__edit { padding: 2px 14px 14px; }
.ed-row.is-open .ed-row__view { min-height: 0; padding-top: 14px; }
.ed-row__form.is-single .of__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ed-row__form { display: flex; flex-direction: column; gap: 14px; }
.ed-row__form .of-grid { margin: 0; }
.ed-row__acts { position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: flex-end; gap: 8px; margin: 0 -14px -14px; padding: 10px 14px calc(14px + env(safe-area-inset-bottom, 0px)); border-radius: 0 0 16px 16px; background: var(--color-surface); }
.ed-bar__cancel { height: 44px; padding: 0 18px; border-radius: 14px; background: none; color: var(--color-ink-2); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.ed-bar__cancel:hover { background: var(--color-hover); color: var(--color-ink); }
.ed-row__save { height: 44px; min-width: 120px; width: auto; }
@media (max-width: 560px) { .ed-row__acts > * { flex: 1; } .ed-row__save { min-width: 0; } }
@media (min-width: 1024px) {
  .ed { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
  .ed-side { position: sticky; top: 24px; gap: 22px; }
  .ed-nav { flex-direction: column; gap: 2px; overflow: visible; margin: 0; padding: 0; }
  .ed-nav a { height: 40px; padding: 0 14px; border-radius: 12px; background: none; font-size: 14.5px; }
  .ed-nav a:hover { background: var(--color-hover); color: var(--color-ink); }
  .ed-nav a[aria-current] { background: var(--color-field); color: var(--color-ink); box-shadow: inset 3px 0 0 var(--color-accent); }
  .ed-sec { padding: 30px 0; }
  .ed-sec:first-child { padding-top: 6px; }
}

/* Followers / Following (views/follows.js) — Instagram's list: tabs, search when long, Follow right in the row */
.fl { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 640px; margin: 0 auto; padding-bottom: 32px; }
.fl__tabs { position: sticky; top: 0; z-index: 2; }
.fl__q { margin: 6px 0 0; }
.fl__list { display: flex; flex-direction: column; }
.fl__row { display: flex; align-items: center; gap: 10px; padding: 4px 0; border-radius: 14px; }
.fl__row.is-gone .fl__who { opacity: .55; }
.fl__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 4px; border-radius: 14px; color: inherit; text-decoration: none !important; }
@media (hover: hover) { .fl__who:hover { background: var(--color-hover); } }
.fl__av { flex: none; width: 48px; height: 48px; font-size: 16px; }
.fl__txt { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fl__txt b { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl__txt small { font-size: 13px; line-height: 18px; color: var(--color-ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl__chk.vchk { width: 14px; height: 14px; }
.fl__tag { padding: 1px 7px; border-radius: 99px; background: var(--color-field); color: var(--color-ink-muted); font-style: normal; font-size: 11.5px; font-weight: 700; }
.fl__acts { flex: none; display: flex; gap: 6px; }
.fl__btn { height: 34px; min-width: 92px; padding: 0 14px; font-size: 14px; }
.fl__rm { min-width: 0; }
.fl__more { align-self: center; margin-top: 6px; }
.fl__none, .fl__hidden { margin: 10px 4px; font-size: 13.5px; color: var(--color-ink-muted); text-align: center; }
@media (max-width: 420px) { .fl__btn { min-width: 0; padding: 0 12px; } .fl__av { width: 44px; height: 44px; } }
.fl__body { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.fl__h { margin: 12px 4px 2px; font-size: 13px; font-weight: 700; color: var(--color-ink-muted); }
.fl__ev { gap: 12px; padding: 8px 6px; color: inherit; text-decoration: none !important; }
@media (hover: hover) { .fl__ev:hover { background: var(--color-hover); } }
.fl__ev .fl__txt { flex: 1; }
.fl__ev .fl__txt b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fl__date { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 48px; height: 52px; border-radius: 14px; background: var(--color-field); }
.fl__date b { font-size: 18px; line-height: 20px; font-weight: 800; }
.fl__date small { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-accent-text); }
.fl__list.is-past .fl__date small { color: var(--color-ink-muted); }
.fl__list.is-past .fl__ev { opacity: .75; }
@media (max-width: 1023px) { .fl__tabs { background: var(--color-bg); box-shadow: inset 0 calc(-1 * var(--hairline)) 0 var(--color-line); } }

/* the window on desktop */
.flm { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(8, 8, 12, .5); opacity: 0; transition: opacity .18s ease; }
.flm.is-open { opacity: 1; }
.flm__panel { display: flex; flex-direction: column; width: min(480px, 100%); height: min(640px, calc(100vh - 48px)); border-radius: 22px; background: var(--color-surface); overflow: hidden;
  box-shadow: 0 0 0 var(--hairline) var(--color-line), 0 24px 70px rgba(0, 0, 0, .28), 0 0 40px -12px color-mix(in srgb, var(--color-accent) 40%, transparent); transform: translateY(8px) scale(.985); transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.flm.is-open .flm__panel { transform: none; }
.flm__head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: 10px 10px 0; }
.flm__head h2 { margin: 0; text-align: center; font-size: 16px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl--modal { flex: 1; min-height: 0; max-width: none; padding: 0; gap: 0; }
.fl--modal .fl__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; background: var(--color-surface); padding: 0 8px; }
.fl--modal .fl__tabs > a { justify-content: center; height: 48px; font-size: 15px; padding: 0 8px; }
.fl--modal .fl__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 10px 14px 18px; }
@media (prefers-reduced-motion: reduce) { .flm, .flm__panel { transition: none; } }

/* ---------- Hero on the web (owner 24 Oct): the facts packed into two lines, the numbers to the right ----------
   Phone keeps the stacked column (display: contents = the wrappers don't exist there). */
.pf__heroMeta, .pf__heroRow, .pf__heroSide { display: contents; }
@media (min-width: 1024px) {
  .pf__heroText { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; width: 100%; box-sizing: border-box; }
  /* What every page always has (name, kind + place, the three numbers) fills the left column top to bottom;
     what may be missing (badge, genres, "acting as") just adds a line when it exists. The buttons — only on someone
     else's page — sit on the right, level with the numbers. (owner 24 Oct) */
  .pf__heroText > * { grid-column: 1; }
  .pf__heroText > .pf__heroName { grid-column: 1 / -1; grid-row: 1; }
  .pf__heroText > .pf__heroMeta { grid-row: 2; }
  .pf__heroText > .rv-headline { grid-row: 3; }
  .pf__heroText > .pf__heroRow { grid-row: 4; }
  .pf__heroName { margin-bottom: 4px; }
  /* one line: ✓ Verified owner · Band · Banja Luka, Bosnia & Herzegovina */
  .pf__heroMeta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 4px; margin-top: 10px; }
  .pf__heroMeta > * { margin: 0 !important; }
  .pf__heroMeta > * + *::before { content: '·'; margin-right: 10px; color: rgba(255, 255, 255, .5); font-weight: 400; }
  .pf__heroMeta .pf__heroBadge { font-size: 14px; line-height: 20px; }
  .pf__heroMeta .pf__heroBadge svg { width: 18px; height: 18px; }
  .pf__heroMeta .pf__heroSub { font-size: 14px; line-height: 20px; }
  /* genres and "you're acting as this page" share the next line */
  .pf__heroRow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
  .pf__heroRow > * { margin: 0 !important; }
  .pf--hero .pf__heroRow .pf__acting { align-self: auto; }
  .pf__heroSide { display: contents; }
  .pf--hero .pf__heroSide .pf__stats { grid-column: 1; grid-row: 5; margin: 14px 0 0; gap: 28px; }
  .pf--hero .pf__heroSide .pf__stat { flex-direction: row; align-items: baseline; gap: 6px; min-width: 0; padding: 2px 0; margin: 0; border-radius: 0; text-align: left; }
  .pf--hero .pf__heroSide .pf__stat .pf__stat-n { order: -1; font-size: 16px; line-height: 22px; }
  .pf--hero .pf__heroSide .pf__stat .pf__stat-l { font-size: 14px; color: rgba(255, 255, 255, .78); }
  .pf--hero .pf__heroSide .pf__stat:hover { background: none; }
  .pf--hero .pf__heroSide .pf__stat:hover .pf__stat-l { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
  .pf--hero .pf__heroSide .pf__actions { grid-column: 2; grid-row: 2 / 6; align-self: end; margin: 0; width: auto; max-width: none; }
  .pf--hero .pf__heroSide .pf__actions .pf-btn { flex: none; padding-inline: 20px; }
  /* the photo credit goes up next to ⋯, out of the numbers' way */
  .pf__hero .pf__credit { top: 22px; bottom: auto; right: 68px; }
}

/* ---------- Preuzimanje stranice (claim.js) ---------- */
.cl-lead { margin: 0 0 14px; font-size: 14px; line-height: 20px; color: var(--color-ink-muted); }
.cl-q { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.cl-opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.cl-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--color-field); cursor: pointer; transition: box-shadow .2s ease; }
.cl-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cl-opt:has(input:checked) { box-shadow: 0 0 0 1.5px var(--color-accent), 0 0 18px -6px var(--color-accent); }
.cl-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.cl-opt__ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-surface); color: var(--color-accent-text); }
.cl-opt__ic svg { width: 18px; height: 18px; }
.cl-opt__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cl-opt__t b { font-size: 15px; }
.cl-opt__t small { font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.cl-opt .radio { flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--color-line-strong); }
.cl-opt:has(input:checked) .radio { box-shadow: inset 0 0 0 6px var(--color-accent); }
.cl-proof { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.cl-proof[hidden] { display: none; }
.cl-code { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--color-accent-soft); }
.cl-code__l { font-size: 13px; color: var(--color-ink-muted); }
.cl-code__v { flex: 1; font-size: 17px; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--color-accent-text); user-select: all; }
.cl-code__copy { padding: 6px 12px; border: 0; border-radius: 999px; background: var(--color-surface); color: var(--color-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.cl-hint { margin: 0; font-size: 13px; line-height: 18px; color: var(--color-ink-muted); }
.cl-small { font-size: 12px; font-weight: 400; color: var(--color-ink-muted); }
.cl-sheet .mk-f { margin-bottom: 12px; }
.dsheet__foot.cl-foot { grid-template-columns: 1fr; }
.cl-accept { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; padding-inline: 20px; margin-top: 10px; text-decoration: none; }
.cl-accept svg { width: 18px; height: 18px; }
.pf-uo__status.is-bad { color: var(--color-danger); }
.cl-ib__warn { display: flex; align-items: center; gap: 6px; margin: 6px 0; font-size: 13px; font-weight: 700; color: var(--color-warn); }
.cl-ib__warn svg { width: 14px; height: 14px; }
.cl-ib__ok svg { width: 14px; height: 14px; }
/* #claim/<token> */
.cl-root { display: flex; justify-content: center; padding: 24px 16px 40px; }
.cl-v { width: 100%; max-width: 460px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cl-v__av { width: 96px; height: 96px; font-size: 30px; box-shadow: 0 0 0 3px var(--color-surface), 0 0 0 5px var(--color-accent), 0 0 36px -6px var(--color-accent); }
.cl-v__hi { margin: 18px 0 4px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-text); }
.cl-v__t { margin: 0 0 18px; font-size: 22px; line-height: 28px; text-wrap: balance; }
.cl-v__list { width: 100%; margin: 0 0 18px; padding: 0; list-style: none; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.cl-v__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 21px; }
.cl-v__list svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--color-accent-text); }
.cl-v__warn { display: flex; gap: 8px; align-items: flex-start; text-align: left; margin: 0 0 14px; font-size: 14px; color: var(--color-warn); }
.cl-v__warn svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.cl-v__acts { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.cl-v__acts .dx-btn { justify-content: center; height: 46px; text-decoration: none; }
.cl-v--msg { max-width: 520px; }

/* 24 Oct: the "·" between hero facts never starts a line (when the facts wrap, the dot at a line start is clipped) */
@media (min-width: 1024px) {
  .pf__heroMeta { column-gap: 0; margin-left: -20px !important; overflow: hidden; }
  .pf__heroMeta > * { position: relative; margin-left: 20px !important; }
  .pf__heroMeta > * + *::before { position: absolute; left: -14px; top: 0; margin: 0; }
}

/* 24 Oct: on phones the hero's text never slides under the top bar (Back · ⋯) — a page without a photo, or with a lot of
   facts, gets taller instead of crowding the buttons */
@media (max-width: 1023px) {
  .pf__hero { padding-top: calc(env(safe-area-inset-top, 0px) + 76px); }
  .pf__hero.is-noimg { min-height: min(92vw, 420px); }
}

/* 27 Oct: unofficial pages on phones — the "where this comes from" note and the claim card keep the page margin,
   and the note's link sits under its text instead of squeezing beside it */
.pf-uonote { display: grid; grid-template-columns: 15px minmax(0, 1fr); align-items: start; gap: 4px 10px; }
.pf-uonote > svg { margin-top: 1px; }
.pf-uonote > button { grid-column: 2; justify-self: start; }
@media (max-width: 1023px) {
  .pf__pane > .pf-uonote, .pf__pane > .pf-uo--end { margin-left: 16px !important; margin-right: 16px !important; }
}

/* 30 Oct (owner): a venue's picture card shows the venue shape (square, rounded corners) */
.pk[data-kind="venue"] .pk-av { border-radius: var(--av-venue-r, 18%); }
