/**
 * Phone venue channel chrome (html.vcd-phone): icon row (Info / Future / Past / Claim me / Edit),
 * the Events page filter bar under it (Rooms, event type, view), follow/like row, scroll pill,
 * under-map pills.
 */

html.vcd-phone {
  --vcp-teal: #77aca2;
  --vcp-ink: #031926;
  --vcp-card: #13171c;
}

/* Legacy pill tabs replaced by the icon bar. */
html.vcd-phone .pc-channel-tabs-shell,
html.vcd-phone #pcEventsTypeTabs,
html.vcd-phone #pcEventsRoomTabs,
html.vcd-phone #pcWallRoomTabs,
html.vcd-phone #pcMembersTab {
  display: none !important;
}

/* Claim / Edit move to the icon bar — not on the photo header. */
html.vcd-phone #pcHeroHeaderImage .ac-hero-header-actions--view {
  display: none !important;
}

/* Follow + followers + like — same order and look as Venues phone cards. */
html.vcd-phone .vcp-follow-row,
html.vcd-phone .pc-hero__subs-row.vcp-follow-row {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 8px 0 0;
  padding: 0 4px;
  box-sizing: border-box;
}
html.vcd-phone .vcp-follow-wrap,
html.vcd-phone .vcp-follow-row .ac-hero-subs-row__left {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
}
html.vcd-phone .vcp-follow-btn,
html.vcd-phone .pc-hero-follow-btn.vcp-follow-btn,
html.vcd-phone .vcp-follow-row .gvd2-follow {
  appearance: none;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  background: transparent !important;
  color: #fff !important;
  border-radius: 6px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  font: 700 14px/1 'League Spartan', sans-serif !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  order: 0;
}
/* Unfollow stays clear with a white border and white text, as on the Venues page. */
html.vcd-phone .vcp-follow-row .giggly-user-follow-btn--unfollow,
html.vcd-phone .vcp-follow-btn.giggly-user-follow-btn--unfollow,
html.vcd-phone .vcp-follow-btn.is-on {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
  color: #fff !important;
}
/* The hero wrappers are display: contents (artist look), so order is set on the pieces:
   Follow, then "N followers", then the like count and heart at the far right. */
html.vcd-phone .vcp-follow-row #pcHeroFollowBtn {
  order: 5 !important;
}
/* The row wrappers are display: contents, so Follow and the heart are laid out by .ac-hero-lower,
   18px inside the hero's own 16px. Pull both out to the 16px edge the first icon tile sits on. */
html.vcd-phone body.venue-channel-page .ac-hero-lower {
  --vcp-hero-inset: 18px;
  padding-left: var(--vcp-hero-inset) !important;
  padding-right: var(--vcp-hero-inset) !important;
}
html.vcd-phone body.venue-channel-page .vcp-follow-row #pcHeroFollowBtn {
  margin-left: calc(-1 * var(--vcp-hero-inset, 18px)) !important;
}
html.vcd-phone body.venue-channel-page #vcpHeroLike {
  margin-right: calc(-1 * var(--vcp-hero-inset, 18px)) !important;
}
html.vcd-phone .vcp-followers,
html.vcd-phone #pcHeroMeta.vcp-followers {
  display: inline-flex !important;
  align-items: center;
  font: 600 1rem/1 'League Spartan', sans-serif !important;
  color: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 40px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
  order: 6 !important;
}
html.vcd-phone .pc-hero-follow-label,
html.vcd-phone #pcHeroMetaCaption {
  display: none !important;
}
html.vcd-phone .vcp-like,
html.vcd-phone #vcpHeroLike {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  order: 7 !important;
}
html.vcd-phone .vcp-like .giggly-like__btn {
  height: 40px;
  min-width: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(232, 238, 240, 0.8);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
html.vcd-phone .vcp-like .giggly-like__btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
html.vcd-phone .vcp-like .giggly-like__btn.is-liked,
html.vcd-phone .vcp-like.is-liked .giggly-like__btn {
  background: #e85d6a;
  border-color: #e85d6a;
  color: #fff;
}
html.vcd-phone .vcp-like .giggly-like__count {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font: 600 1rem/1 'League Spartan', sans-serif;
  padding: 0;
  cursor: pointer;
  order: -1;
}
html.vcd-phone .vcp-like .giggly-like__count[hidden] {
  display: none !important;
}

/* Icon bar — same tiles as Venues / Events phone. */
.vcp-icons {
  display: none;
}
/* Address under the name: larger, in the deep brand teal. */
html.vcd-phone body.venue-channel-page:not(.pc--edit-mode) .vc-look-address {
  font-size: 18px !important;
  line-height: 1.25 !important;
  color: #468189 !important;
}

/* The page scrolls inside #pcPanelsScroll, so the bar pins to its top. That top must be the
   bottom of the nav, or the pinned bar floats with a gap above it. */
html.vcd-phone body.venue-channel-page .pc-main {
  padding-top: var(--vcd-topbar-h, 51px) !important;
}
/* The shared channel scroller keeps 4px at the end for a scrollbar that is hidden, which put the
   whole page 4px off centre and the heart 4px further in than Follow. */
html.vcd-phone body.venue-channel-page .pc-panels-scroll {
  padding-inline-end: 0 !important;
}
html.vcd-phone .vcp-icons {
  display: block;
  position: relative;
  z-index: 40;
  background: #000;
  padding: 10px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
html.vcd-phone .vcp-icons[hidden] {
  display: none !important;
}
html.vcd-phone .vcp-icons__row {
  list-style: none;
  margin: 0;
  padding: 0 12px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  align-items: flex-start;
}
html.vcd-phone .vcp-icons__row::-webkit-scrollbar {
  display: none;
}
html.vcd-phone .vcp-icons__item {
  flex: 0 0 72px;
  width: 72px;
  display: flex;
  justify-content: center;
  position: relative;
}
html.vcd-phone .vcp-icons__link {
  appearance: none;
  border: 0;
  background: transparent;
  color: #f4f6f7;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font: inherit;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}
html.vcd-phone .vcp-icons__ic {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vcp-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--vcp-teal);
  box-sizing: border-box;
}
html.vcd-phone .vcp-icons__ic svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html.vcd-phone .vcp-icons__label {
  font-family: 'League Spartan', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.15;
  max-width: 72px;
  color: #fff;
}
html.vcd-phone .vcp-icons__item.is-on .vcp-icons__ic,
html.vcd-phone .vcp-icons__item--on .vcp-icons__ic {
  background: var(--vcp-teal);
  color: var(--vcp-ink);
  border-color: var(--vcp-teal);
}
html.vcd-phone .vcp-icons__item--filt .vcp-icons__ic {
  border-color: #5a9e94;
}
html.vcd-phone .vcp-icons__gap {
  flex: 0 0 20px;
  width: 20px;
  list-style: none;
}
html.vcd-phone .vcp-icons__spacer {
  flex: 1 1 auto;
  min-width: 8px;
  list-style: none;
}
html.vcd-phone .vcp-icons__inner {
  padding-bottom: 12px;
}
html.vcd-phone .vcp-icons__item--action {
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
html.vcd-phone .vcp-icons__item--action:has(> .vcp-action-btn[hidden]) {
  display: none;
}
html.vcd-phone .vcp-icons__ic--action {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
html.vcd-phone .vcp-icons__ic--action svg {
  fill: currentColor;
  stroke: none;
}
html.vcd-phone .vcp-action-btn {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: transparent !important;
  font-size: 0 !important;
  cursor: pointer;
  z-index: 2;
}

/* Filter bar under the icons: the Events page one (.gev2-frow / .gev2-sel / .gev2-view). */
html.vcd-phone .vcp-frow {
  padding: 12px 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
html.vcd-phone .vcp-frow__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 12px;
}
html.vcd-phone .vcp-sel {
  appearance: none;
  height: 34px;
  border-radius: 999px;
  border: 1.5px solid #468189;
  background: transparent;
  color: #e8eef0;
  font: 600 13px/1 'League Spartan', sans-serif;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  max-width: 46vw;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
html.vcd-phone .vcp-sel svg {
  flex: none;
  width: 12px;
  height: 12px;
}
html.vcd-phone .vcp-sel--open {
  border-color: #77aca2;
  color: #77aca2;
}
html.vcd-phone .vcp-sel--set {
  background: #77aca2;
  border-color: #77aca2;
  color: #031926;
}
html.vcd-phone .vcp-view {
  appearance: none;
  margin-left: auto;
  flex: none;
  width: 46px;
  height: 34px;
  border-radius: 999px;
  border: 1.5px solid #77aca2;
  background: rgba(119, 172, 162, 0.16);
  color: #e8eef0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
html.vcd-phone .vcp-view svg {
  width: 18px;
  height: 18px;
}
html.vcd-phone .vcp-sub {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
}
html.vcd-phone .vcp-sub::-webkit-scrollbar {
  display: none;
}
html.vcd-phone .vcp-pill {
  appearance: none;
  flex: none;
  white-space: nowrap;
  border-radius: 999px;
  border: 1.5px solid #468189;
  background: transparent;
  color: #e8eef0;
  padding: 7px 12px;
  font: 600 13px/1.1 'League Spartan', sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
html.vcd-phone .vcp-pill--on {
  background: #77aca2;
  border-color: #77aca2;
  color: #031926;
}

/* The bar scrolls away with the page. Tapping the pill pins it under the nav (sticky keeps its
   place in the page, so pinning and unpinning move nothing); a new scroll fades it away again. */
html.vcd-phone.vcp-chrome-pinned .vcp-icons {
  position: sticky;
  top: 0;
  animation: vcp-bar-in 180ms ease both;
}
html.vcd-phone.vcp-chrome-leaving .vcp-icons {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
@keyframes vcp-bar-in {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Floating pill: same look and place as the Events page pill (.gev2-pagepill). */
.vcp-filter-pill {
  display: none;
}
html.vcd-phone .vcp-filter-pill:not([hidden]) {
  display: inline-flex;
  position: fixed;
  z-index: 60;
  right: 12px;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  max-width: calc(100vw - 24px);
  border-radius: 999px;
  border: 1.5px solid #77aca2;
  background: rgba(3, 25, 38, 0.92);
  color: #e8eef0;
  font: 600 12px/1 'League Spartan', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
}
.vcp-filter-pill > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.vcp-filter-pill svg {
  flex: none;
  width: 11px;
  height: 11px;
}
.vcp-filter-pill[hidden] {
  display: none !important;
}

/* Cards edge to edge in every view, as in the Events page #eventsContainer. */
html.vcd-phone #pcEventsList {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html.vcd-phone #pcEventsList.vcd-events--list {
  gap: 0 !important;
}

/* Capacity + type pills under the map — Venues card look. The row carries .cal-card-genre-row,
   whose card rule is a fixed 18px with overflow hidden, so the height has to be freed here. */
html.vcd-phone .vcp-under-map-pills,
html.vcd-phone .vcp-under-map-pills.cal-card-genre-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 14px 0 0 !important;
  padding: 0 2px calc(32px + env(safe-area-inset-bottom, 0px)) !important;
}
html.vcd-phone .vcp-under-map-pills[hidden] {
  display: none !important;
}
html.vcd-phone .vcp-under-map-pills .cal-card-genre-pill,
html.vcd-phone .vcp-under-map-pills .gvd2-card__cat,
html.vcd-phone .vcp-under-map-pills .gvd2-card__cap {
  flex: 0 0 auto;
  box-sizing: border-box;
  white-space: nowrap;
  border: 1px solid rgba(119, 172, 162, 0.45) !important;
  background: #06202c !important;
  color: #c9d3d7 !important;
  border-radius: 4px !important;
  height: auto !important;
  padding: 10px 14px !important;
  font: 700 13.5px/1 'League Spartan', sans-serif !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  margin: 0;
}

/* Address lives under the name; hide the duplicate under the map in view mode. */
html.vcd-phone body:not(.pc--edit-mode) #pcVenueAddressTextSection,
html.vcd-phone body:not(.pc--edit-mode) #pcFieldVenueCapacity,
html.vcd-phone body:not(.pc--edit-mode) #pcFieldCategories {
  display: none !important;
}

/* Landscape host close is unused — Expand map opens the slide-in pin map. */
html.vcd-phone #venueChannelMapCloseBtn {
  display: none !important;
}

@media (min-width: 992px) {
  .vcp-icons,
  .vcp-filter-pill,
  .vcp-under-map-pills {
    display: none !important;
  }
}

/* Event cards on brand black with slightly heavier dividers (owner, 9 Nov 2026). The id outranks
   the shared channel-card rule injected by ensureFpCardStyles, which sets #0b0a12 and 1px. */
html.vcd-phone body.venue-channel-page #pcEventsList .event-card--fp {
  background: #000 !important;
  border-width: 1.5px !important;
}
html.vcd-phone body.venue-channel-page #pcEventsList .event-card--fp .event-card-v2__details {
  background: #000 !important;
}

/* Gig wall (Show by): three flyers a row, the promoter channel's wall. */
html.vcd-phone #pcEventsList.vcp-events--wall {
  display: block !important;
  padding: 0 !important;
  background: #000;
}
html.vcd-phone #pcEventsList.vcp-events--wall .giggly-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
}
html.vcd-phone #pcEventsList.vcp-events--wall .giggly-profile-grid__tile {
  background: #14303a;
}

/* Down arrow while there is more of the page below. */
html.vcd-phone .vcp-scroll-hint {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  width: 44px;
  height: 44px;
  margin: 0 0 0 -22px;
  padding: 0;
  border: 2px solid #77aca2;
  border-radius: 50%;
  background: rgba(11, 14, 17, 0.88);
  color: #77aca2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: vcpHintBob 1.6s ease-in-out infinite;
}
.vcp-scroll-hint[hidden],
html:not(.vcd-phone) .vcp-scroll-hint {
  display: none !important;
}
html.vcd-phone .vcp-scroll-hint svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes vcpHintBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@media (prefers-reduced-motion: reduce) {
  html.vcd-phone .vcp-scroll-hint { animation: none; }
}
