/* Creator page cover on phones: show the whole picture above the title instead of cropping it from the left. */
.cover-banner { --cover-img: url('/assets/creator-iced-macchiato.webp'); }
.cover-art { display: none; }
/* Desktop: the banner picture a little smaller than the banner height (was 100%) */
@media (min-width: 701px) { .cover-banner { background-size: auto 82% !important; background-position: 14% 60% !important; } }
@media (max-width: 700px) {
  .cover-banner { height: auto !important; background-image: none !important; padding-bottom: 18px; }
  .cover-art { display: block; height: 170px; margin: 0 16px; background: var(--cover-img) center / contain no-repeat; }
  .cover-banner .container { padding-top: 8px !important; }
  .cover-banner h2 { max-width: none !important; }
}

/* ---- Phones: creator identity in the top bar, donation box right under the picture ---- */
.nav-creator { display: none; }
.socials-m { display: none; }
@media (max-width: 700px) {
  #siteNav .nav-inner { gap: 8px; }
  .nav-creator { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
  .nc-av { position: relative; width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; background: #910029 center / cover no-repeat; display: grid; place-items: center; font-weight: 900; font-size: 16px; color: #f5ede3; }
  .nc-av.avm-target::after { width: 18px; height: 18px; bottom: -5px; left: -5px; background-size: 9px; border-width: 2px; }
  .nc-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
  .nc-txt b { font-size: 14px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nc-txt small { font-size: 11px; color: var(--ink-soft, #d8bea5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nc-share { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line, #705444); background: transparent; color: var(--ink, #f5ede3); display: grid; place-items: center; cursor: pointer; }
  .nc-share svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  #siteNav .nav-actions [data-i18n="makeYours"] { font-size: 0; padding: 8px 12px; min-height: 36px; white-space: nowrap; }
  #siteNav .nav-actions [data-i18n="makeYours"]::after { content: "ساخت صفحه"; font-size: 12px; }
  html[lang="en"] #siteNav .nav-actions [data-i18n="makeYours"]::after { content: "Create yours"; }
  #siteNav .logo img { width: 42px !important; height: 42px !important; }
  .cover-banner .container { display: none !important; }
  .cover-banner { padding-bottom: 6px !important; }
  /* The top bar shows the creator; keep the h1 (name) for screen readers, hide the rest of the header */
  #profileHead { position: absolute !important; width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
  #profileHead > :not(.meta), #profileHead .meta > :not(h1) { display: none !important; }
  .creator-grid { padding-top: 10px !important; }
  .socials-m { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
}
