/*
 * Artist and DJ pages outside Festival Pro, in the festival's look: big picture, big name in
 * capitals, outlined genres, one row of links, a black page at night. The sub navigation stays —
 * this is the artist's own channel, not a festival programme — except Followers, which the
 * follower count opens instead.
 *
 * Everything below the gig cards is under html.ac-look-new, set in artist-channel.html's head
 * only where the page was not opened from a festival, so the festival look keeps its own rules.
 * Edit mode is left as it was: it needs the avatar, the sections and their edit rows.
 */

/* ---------- Upcoming and recent gigs: the event page's flyer cards ---------- */

body:is(.artist-channel-page, .venue-channel-page) #acSeoGigs .view-event-page__seo-cards {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body:is(.artist-channel-page, .venue-channel-page) #acSeoGigs .view-event-page__seo-cards::-webkit-scrollbar {
  display: none;
}

body:is(.artist-channel-page, .venue-channel-page) #acSeoGigs .view-event-page__seo-cards > li {
  flex: 0 0 calc((100% - 12px) / 2.25);
  scroll-snap-align: start;
  min-width: 0;
}

body:is(.artist-channel-page, .venue-channel-page) #acSeoGigs .view-event-page__seo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: #f4f6f7 !important;
  background: #1c2229;
}

body:is(.artist-channel-page, .venue-channel-page) #acSeoGigs .view-event-page__seo-card--no-flyer {
  background: color-mix(in srgb, var(--brand-teal-deep, #468189) 55%, #1c2229);
}

body:is(.artist-channel-page, .venue-channel-page) #acSeoGigs .view-event-page__seo-card-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/*
 * A gradient alone left white type unreadable on light flyers, so the words sit on their own
 * frosted dark band, which reads the same over any artwork.
 */
body:is(.artist-channel-page, .venue-channel-page) #acSeoGigs .view-event-page__seo-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 12px;
  min-width: 0;
  text-align: left;
  background: rgba(7, 9, 12, 0.2);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 0 1px rgba(0, 0, 0, 0.9);
}

body:is(.artist-channel-page, .venue-channel-page) #acSeoGigs .view-event-page__seo-card-title {
  font-family: 'League Spartan', system-ui, sans-serif;
  font-size: calc(1.05rem * var(--giggly-type-scale, 1));
  font-weight: 600;
  line-height: 1.04;
  padding-top: 0.1em;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

body:is(.artist-channel-page, .venue-channel-page) #acSeoGigs .view-event-page__seo-card-date {
  font-family: 'League Spartan', system-ui, sans-serif;
  font-size: calc(0.8rem * var(--giggly-type-scale, 1));
  font-weight: 600;
  color: var(--brand-teal, #77aca2);
}

body:is(.artist-channel-page, .venue-channel-page) #acSeoGigs .view-event-page__seo-card-place {
  font-size: calc(0.75rem * var(--giggly-type-scale, 1));
  line-height: 1.2;
  opacity: 0.86;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Palette ---------- */

html.ac-look-new {
  --acl-bg: #f5f5f2;
  --acl-card: #ffffff;
  --acl-line: rgba(3, 25, 38, 0.12);
  --acl-text: #0b0f14;
  --acl-muted: #56616a;
  --acl-photo: #e2e5e7;
  --acl-chip: rgba(3, 25, 38, 0.06);
  --acl-chip-border: rgba(3, 25, 38, 0.3);
  --acl-accent: var(--brand-teal, #77aca2);
  --acl-accent-deep: var(--brand-teal-deep, #468189);
}

html.ac-look-new[data-theme='dark'] {
  --acl-bg: #07090c;
  --acl-card: #13171c;
  --acl-line: rgba(255, 255, 255, 0.1);
  --acl-text: #f4f6f7;
  --acl-muted: #a3adb4;
  --acl-photo: #1c2229;
  --acl-chip: rgba(255, 255, 255, 0.08);
  --acl-chip-border: rgba(255, 255, 255, 0.35);
}

html.ac-look-new,
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) {
  background: var(--acl-bg) !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) {
  --bg: var(--acl-bg);
  --text: var(--acl-text);
  --text-secondary: var(--acl-muted);
  --border: var(--acl-line);
  color: var(--acl-text);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) :is(.pc-topbar, .pc-channel-tabs-shell, .pc-channel-tabs, .pc-main, .pc-body, .pc-panels-scroll) {
  background: var(--acl-bg) !important;
}

/* ---------- Header: the festival's back button in teal, the title in capitals ---------- */

:root.ac-look-new:not(#acl-boost) body:is(.artist-channel-page, .venue-channel-page) .pc-topbar__back {
  width: 46px;
  height: 46px;
  border: 2px solid var(--acl-accent) !important;
  border-radius: 50%;
  background: var(--acl-card) !important;
  color: var(--acl-accent) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

:root.ac-look-new:not(#acl-boost) body:is(.artist-channel-page, .venue-channel-page) .pc-topbar__back .pc-topbar__back-icon {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--acl-accent);
  -webkit-text-fill-color: var(--acl-accent);
}

:root.ac-look-new:not(#acl-boost) body:is(.artist-channel-page, .venue-channel-page) .pc-topbar__title {
  font-family: 'League Spartan', system-ui, sans-serif;
  font-size: 1.5rem !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--acl-text) !important;
  -webkit-text-fill-color: var(--acl-text);
}

/* ---------- Picture and name ---------- */

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-header-image,
html.ac-look-new body.artist-channel-page .ac-hero-header-image {
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 70vh;
  background: var(--acl-photo);
}

/* 70vh on a wide window used to squash this into a shorter band than the crop.
   Stay 4:3 and sit in from the edges, in view and in edit. */
html.ac-look-new body.artist-channel-page .ac-hero-header-image,
html.fp-look-new.ac-look-new.pc--festival-set-times body.artist-channel-page .ac-hero-header-image {
  width: min(100%, calc(70vh * 4 / 3));
  margin-inline: auto;
}

html.ac-look-new body.artist-channel-page .ac-hero-header-image__img,
html.ac-look-new body.artist-channel-page .ac-hero-header-image--from-icon .ac-hero-header-image__img {
  object-fit: cover;
  object-position: center center;
  filter: none;
  transform: none;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .ac-hero-header-image--from-icon .ac-hero-header-image__img {
  filter: none;
  transform: none;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .ac-hero-header-image__shade {
  background: linear-gradient(180deg, transparent 70%, color-mix(in srgb, var(--acl-bg) 55%, transparent) 100%);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .ac-hero-identity__avatar {
  display: none !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .ac-hero-identity {
  margin-top: 0;
  padding: 18px 18px 0;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .pc-hero__name {
  font-family: 'League Spartan', system-ui, sans-serif;
  font-weight: 600;
  font-size: calc(2.5rem * var(--giggly-dir-card-type-scale, 1)) !important;
  line-height: 1 !important;
  padding-top: 0.08em;
  text-transform: uppercase !important;
  letter-spacing: -0.015em;
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--acl-text);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .pc-hero__handle {
  color: var(--acl-muted);
}

/*
 * Under the name, two lines: the gig counts with the follower count beside them (which opens the
 * list), then Follow and the tour as two separate buttons. The wrappers between them step aside
 * so the pieces can be ordered across what were two columns.
 */
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .ac-hero-lower {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  min-height: 0 !important;
  padding: 12px 18px 4px;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) :is(.ac-hero-main, .ac-hero-subs, .ac-hero-subs-row, .ac-hero-subs-row__left, .ac-hero-stat-col, .ac-hero-stat-col__counts) {
  display: contents !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroMeta { order: 1; }
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acFutureGigsStat { order: 2; }
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acPastGigsStat { order: 3; }
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .ac-hero-lower::after {
  content: '';
  order: 4;
  flex: 0 0 100%;
  height: 0;
}
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) :is(#acHeroFollowLabel, #acHeroFollowBtn) { order: 5; }
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroTourBtn { order: 6; }
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acEditGigsBtn { order: 7; }
/* Management and Bookings follow the genres, ahead of the counts. */
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroContacts {
  order: 0;
  flex: 0 0 100%;
  margin: 2px 0 6px !important;
  padding: 0 !important;
  text-align: left;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroContacts .ac-hero-contact-row {
  justify-content: flex-start;
  margin: 0 0 4px;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) :is(.ac-hero-stat-col .giggly-profile-feed__stat, #acHeroMeta) {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 5px;
  margin: 0;
  padding: 0;
  font-family: 'League Spartan', system-ui, sans-serif;
  text-transform: uppercase;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .ac-hero-stat-col .giggly-profile-feed__stat strong,
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroMeta .acl-count {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  color: var(--acl-text);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .ac-hero-stat-col .giggly-profile-feed__stat span,
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroMeta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--acl-muted);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroMeta {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroMeta::after {
  content: '';
  align-self: center;
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-right: 2px solid var(--acl-accent);
  border-bottom: 2px solid var(--acl-accent);
  transform: translateY(-2px) rotate(45deg);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .pc-panels-scroll:has(#acPanelSubscribers:not([hidden])) #acHeroMeta {
  color: var(--acl-accent);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .pc-panels-scroll:has(#acPanelSubscribers:not([hidden])) #acHeroMeta::after {
  transform: translateY(2px) rotate(-135deg);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) :is(#acHeroFollowBtn, #acHeroTourBtn) {
  min-height: 40px;
  margin: 0 !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  font-family: 'League Spartan', system-ui, sans-serif;
  font-size: 0.95rem !important;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroTourBtn {
  background: transparent !important;
  border: 2px solid var(--acl-accent) !important;
  color: var(--acl-accent) !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroTourBtn:empty {
  display: none !important;
}

/* ---------- Tabs: kept, with the teal mark; Followers lives behind the count ---------- */

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acSubscribersTab,
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .pc-tab-members {
  display: none !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .pc-channel-tabs-shell {
  border-bottom: 1px solid var(--acl-line);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-channel-tab {
  color: var(--acl-muted);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-channel-tab.promoter-channels-subnav__pill--active {
  color: var(--acl-text);
  box-shadow: inset 0 -3px 0 var(--acl-accent);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-channel-tab.promoter-channels-subnav__pill--active::after,
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-channel-tab.promoter-channels-subnav__pill--active::before {
  background: transparent !important;
  display: none;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-channel-tab__text {
  font-family: 'League Spartan', system-ui, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Info: genres, biography, where from, the links, then the rest ---------- */

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acPanelInfo {
  text-align: left;
}

/* City and genres sit in the hero, under the handle; the Info copies are only for editing. */
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) :is(#acGenresStrip, #acFieldCity),
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page).pc--edit-mode :is(#acHeroGenres, #acHeroCity) {
  display: none !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) #acHeroCity {
  margin: 2px 18px 0;
  font-family: 'League Spartan', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--acl-muted);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) #acHeroCity[hidden] {
  display: none;
}

/*
 * The tick follows the last word of the name, on its baseline, tucked slightly over the last
 * letter. It has no width of its own, and the name's end padding makes room for it, so it can
 * never wrap onto a line by itself: the last word goes with it.
 */
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .ac-hero--cover .ac-hero-name-row {
  display: block;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .ac-hero--cover .ac-hero-name-row #acHeroName {
  display: inline;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .ac-hero--cover .ac-hero-name-row:has(#acHeroVerifiedBadge:not([hidden])) #acHeroName {
  padding-right: 22px;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroVerifiedBadge {
  display: inline-block;
  width: 0;
  margin: 0;
  overflow: visible;
  white-space: nowrap;
  vertical-align: baseline;
  line-height: 0;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroVerifiedBadge > .giggly-artist-verified-badge {
  margin-left: -28px;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroVerifiedBadge[hidden] {
  display: none;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroVerifiedBadge :is(.giggly-artist-verified-badge, .giggly-artist-verified-badge__svg) {
  display: inline-block;
  width: 30px;
  height: 30px;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) #acHeroGenres {
  padding: 12px 18px 0;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) #acHeroGenres[hidden] {
  display: none;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroGenres .ac-genre-pills {
  justify-content: flex-start;
}

html.ac-look-new:not(#acl-boost) body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroGenres .event-card-v2__pill {
  font-size: 0.95rem !important;
  padding: 6px 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-color: var(--acl-chip-border) !important;
  background: var(--acl-chip) !important;
  color: var(--acl-text) !important;
  -webkit-text-fill-color: var(--acl-text) !important;
  opacity: 1 !important;
}

html.ac-look-new:not(#acl-boost) body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acHeroGenres .event-card-v2__pill * {
  color: inherit !important;
  opacity: 1 !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acAboutSection {
  padding: 12px 16px 4px;
  margin: 0;
}

/* Players run the width of the biography and the gig cards, on the same left edge. */
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acMediaEmbeds {
  padding: 18px 16px 0;
  box-sizing: border-box;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acMediaEmbeds .ac-media-embed {
  width: 100% !important;
  margin: 0;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .pc-description {
  font-size: calc(1.12rem * var(--giggly-dir-card-type-scale, 1));
  line-height: 1.55;
  text-align: left;
  color: color-mix(in srgb, var(--acl-text) 82%, transparent);
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) #pcPanelInfo .pc-desc-bubble {
  padding: 22px 16px 20px !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .pc-desc-bubble {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acPanelInfo .pc-field__label {
  text-align: left;
  text-transform: uppercase !important;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: var(--acl-muted);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acFieldCity {
  margin: 14px 16px 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acFieldCity .pc-field__label {
  display: none !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acCityView {
  margin: 0 !important;
  font-family: 'League Spartan', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left !important;
  color: var(--acl-muted);
}

/* The two icon sections become the festival's single row of links. */
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) :is(#acSocialSection, #acStreamingSection) {
  display: none !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page).pc--edit-mode #acFpLinksRow {
  display: none !important;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 18px 16px 4px;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row[hidden] {
  display: none;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row__track {
  --fp-link-gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 6 * var(--fp-link-gap)) / 7);
  gap: var(--fp-link-gap);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* A row that fits needs no arrows, so it sits in the middle. */
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row:not(.is-scrollable) .ac-fp-links-row__track {
  justify-content: center;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row.is-scrollable .ac-fp-links-row__track {
  grid-auto-columns: calc((100% - 5 * var(--fp-link-gap)) / 6);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row__track > * {
  scroll-snap-align: start;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row__track::-webkit-scrollbar {
  display: none;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row__arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid var(--acl-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--acl-accent);
  cursor: pointer;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row__arrow[hidden] {
  display: none;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row .ac-icon-link {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page) .ac-fp-links-row .ac-icon-link :is(img, svg, span) {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
}

/* The server-written gigs: left aligned under the same capitals labels. */
html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acSeoGigs {
  padding: 8px 16px 0;
  text-align: left;
  font-size: calc(1rem * var(--giggly-type-scale, 1));
  line-height: 1.5;
  color: color-mix(in srgb, var(--acl-text) 82%, transparent);
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acSeoGigs h3 {
  margin: 18px 0 10px;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) #acSeoGigs a {
  color: inherit;
}

html.ac-look-new body:is(.artist-channel-page, .venue-channel-page):not(.pc--edit-mode) .ac-unverified-footer {
  color: var(--acl-muted);
}

/* ---------- Venue: same cover height as an artist photo, icon off the bottom ---------- */

html.ac-look-new body.venue-channel-page .pc-topbar {
  background: #ffffff !important;
}

html.ac-look-new[data-theme='dark'] body.venue-channel-page .pc-topbar {
  background: var(--acl-bg) !important;
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .pc-head-block {
  position: relative;
  overflow: visible;
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-header-image {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 70vh;
  overflow: hidden;
  background: #ffffff;
}

html.ac-look-new[data-theme='dark'] body.venue-channel-page:not(.pc--edit-mode) .ac-hero-header-image {
  background: var(--acl-bg);
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-header-image__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 0.18s ease-out;
}

/* Stay blank until the bitmap has decoded, so the slide does not pop the photo in. */
html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-header-image--has-photo .ac-hero-header-image__img:not([data-pc-header-painted]) {
  opacity: 0;
}

/* No cover and no icon: leave the band empty. A logo with no cover is blurred across it. */
html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-header-image:not(.ac-hero-header-image--has-photo) .ac-hero-header-image__img {
  display: none;
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-header-image--from-icon .ac-hero-header-image__img {
  display: block;
  filter: blur(22px) saturate(1.2) brightness(0.62);
  transform: scale(1.18);
}

/* Claim and Edit sit on the cover, top right, the same place as an artist page. */
body.venue-channel-page:not(.pc--edit-mode) .ac-hero-header-actions--view {
  position: absolute;
  top: 10px;
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  pointer-events: none;
}

body.venue-channel-page:not(.pc--edit-mode) .ac-hero-header-actions--view > * {
  pointer-events: auto;
}

body.venue-channel-page.pc--edit-mode .ac-hero-header-actions--view {
  display: none;
}

body.venue-channel-page .ac-claim-profile-btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--accent-purple, #468189) 35%, var(--text) 20%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg, #fff) 90%, transparent);
  color: var(--text, #031926);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.16);
  -webkit-tap-highlight-color: transparent;
}

body.venue-channel-page .ac-hero-header-update-btn {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  padding: 4px 14px;
  border: none;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg, #fff) 90%, transparent);
  color: var(--text, #031926);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.16);
}

body.venue-channel-page:not(.pc--edit-mode) #pcHeroHeaderUpdateBtn {
  display: none !important;
}

/* Editing keeps the cover on screen so the header image can be replaced. */
body.venue-channel-page.pc--edit-mode .ac-hero-header-image {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 70vh;
  overflow: hidden;
}

body.venue-channel-page.pc--edit-mode .ac-hero-header-image__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.venue-channel-page.pc--edit-mode #vcLookHero {
  display: none !important;
}

body.venue-channel-page #pcPanelEvents .pc-events-toolbar {
  display: none !important;
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-header-share {
  position: absolute;
  right: max(10px, env(safe-area-inset-right, 0px));
  bottom: 10px;
  z-index: 4;
  pointer-events: auto;
}

html.ac-look-new body.venue-channel-page .ac-hero-header-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg, #fff) 88%, transparent);
  color: var(--text, #031926);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.16);
  -webkit-tap-highlight-color: transparent;
}

html.ac-look-new body.venue-channel-page.pc--edit-mode .ac-hero-header-share {
  display: none;
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-identity__avatar {
  display: block !important;
  position: absolute;
  left: 18px;
  top: -52px;
  z-index: 2;
  width: 104px;
  height: 104px;
  margin: 0;
  pointer-events: none;
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-identity__avatar .pc-hero__avatar-wrap {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 3px solid var(--acl-bg, var(--bg, #fff));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  background: var(--brand-teal-deep, #468189);
  pointer-events: auto;
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-identity__avatar .pc-hero__img,
html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-identity__avatar .pc-hero__fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .pc-hero.ac-hero--cover {
  text-align: left;
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-identity {
  position: relative;
  min-height: 60px;
  padding-top: 4px;
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-identity__meta {
  padding-left: 118px;
  min-height: 48px;
  box-sizing: border-box;
}

/* The page h1 clips a teal fill through the letters. The name sits under the cover, beside the icon. */
html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) #pcHeroName.pc-hero__name {
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  color: var(--acl-text);
  -webkit-text-fill-color: var(--acl-text);
  font-size: calc(2rem * var(--giggly-dir-card-type-scale, 1)) !important;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-identity__meta .vc-look-address {
  display: block;
  margin: 8px 0 0;
  text-align: left;
  font-family: 'League Spartan', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--acl-muted);
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) .ac-hero-identity__meta .vc-look-address__line {
  display: block;
}

html.ac-look-new body.venue-channel-page .ac-wall-past-feed[hidden] {
  display: none !important;
}

html.ac-look-new body.venue-channel-page .ac-wall-panel--past-feed .ac-wall-grid,
html.ac-look-new body.venue-channel-page .ac-wall-panel--past-feed .pc-wall-scroll-sentinel,
html.ac-look-new body.venue-channel-page .ac-wall-panel--past-feed > .pc-empty {
  display: none !important;
}

html.ac-look-new body.venue-channel-page .ac-wall-past-feed {
  padding: 8px 12px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

html.ac-look-new body.venue-channel-page:not(.pc--edit-mode) #pcHeroMeta {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Same tab row as an artist channel: one line, icon over a short label, not the large pills. */
html.ac-look-new body.venue-channel-page .pc-channel-tabs-shell .promoter-channels-subnav {
  flex-wrap: nowrap;
  justify-content: stretch;
  width: 100%;
  max-width: 100%;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--acl-line);
}

html.ac-look-new body.venue-channel-page .pc-channel-tabs-shell .ac-channel-tab {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--acl-muted);
}

html.ac-look-new body.venue-channel-page .pc-channel-tabs-shell .ac-channel-tab__icon {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

html.ac-look-new body.venue-channel-page .pc-channel-tabs-shell .ac-channel-tab__text {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

html.ac-look-new[data-theme='dark'] body.venue-channel-page .pc-channel-tabs-shell .ac-channel-tab.promoter-channels-subnav__pill--active,
html.ac-look-new[data-theme='dark'] body.venue-channel-page .pc-channel-tabs-shell .ac-channel-tab[aria-selected='true'] {
  color: #ffffff;
  box-shadow: inset 0 -3px 0 #9ee8d8;
}

html.ac-look-new[data-theme='dark'] body.venue-channel-page .pc-channel-tabs-shell .ac-channel-tab.promoter-channels-subnav__pill--active::after,
html.ac-look-new[data-theme='dark'] body.venue-channel-page .pc-channel-tabs-shell .ac-channel-tab[aria-selected='true']::after {
  content: '';
  display: block !important;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 2.75rem;
  max-width: 70%;
  height: 3px;
  border-radius: 2px;
  background: #9ee8d8 !important;
  pointer-events: none;
}

html.ac-look-new body.venue-channel-page .pc-wall-scroll-sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
}
