/* HarderstyleMap, new design (UX proposal of 09/11/2026, apps/core/ux.py).
   Loaded last, and only when the new design is on. Same identity as the v1: #161515 background,
   Roc Grotesk and Roc Grotesk Wide, the style colors as information (tags, stripes, markers, the
   line-up band), the v1 pictograms, markers and spikes, the end-cap buttons, tilted posters.
   What changes is legibility and ergonomics:
   - running text at 16px, normal letter spacing, #EEEEEE; letter spacing only on short capitals;
   - one size hierarchy per screen (the name first, then date and place), long names clamped;
   - real phone layouts (initial-scale=1), no horizontal scrolling;
   - text on a style color in #161515; white on coral only from 19px bold (WCAG large text);
   - tap targets of 40px and more, the whole row of an event is a link.
   The v1 map is untouched (only its height on phones). */

/* Base ------------------------------------------------------------------------------------ */
:root { --ux-underline: color-mix(in srgb, var(--hsm-muted) 45%, transparent); }
.hsm-ux main { font-weight: 400; letter-spacing: 0; color: var(--hsm-text); }
/* header and footer elements inside the page are not the site header (v1 header { height }) */
.hsm-ux main header, .hsm-ux main footer { height: auto; background: none; font: inherit; }
.ux-page { --side: clamp(16px, 7vw, 140px); position: relative; padding: 40px var(--side) 120px; }
.ux-page *, .ux-page *::before, .ux-page *::after { box-sizing: border-box; }
.ux-page img { max-width: 100%; }
.ux-page a { color: inherit; }
.ux-page :focus-visible { outline: 2px solid var(--hsm-white); outline-offset: 3px; }
.ux-block { margin-top: 64px; }
.ux-block--first { margin-top: 8px; }

.ux-label {
  display: block; margin: 0;
  font: 600 12px/1.3 var(--hsm-font); letter-spacing: 2.5px; text-transform: uppercase; color: var(--hsm-muted);
}
.ux-textlink {
  display: inline-flex; align-items: center; min-height: 40px;
  font: 600 14px/1.3 var(--hsm-font); letter-spacing: .5px; color: var(--hsm-text);
  text-decoration: underline; text-decoration-color: var(--ux-underline); text-underline-offset: 4px;
}
.ux-textlink:hover { text-decoration-color: currentColor; color: var(--hsm-white); }
.ux-empty { margin: 0; padding: 32px var(--side); color: var(--hsm-muted); font-size: 16px; }

/* Section heading: the v1 one (pictogram, capitals in two weights, a rule), readable size */
.ux-section {
  display: flex; align-items: center; gap: 16px; margin: 0 0 28px;
  font: 500 15px/1.3 var(--hsm-font); letter-spacing: 4px; text-transform: uppercase; color: var(--hsm-text);
}
.ux-section img { width: 40px; height: auto; flex: none; }
.ux-section strong { font-weight: 700; }
.ux-section::after { content: ""; flex: 1 1 40px; height: 1px; background: var(--hsm-rule); }

/* Style tag (v1 .logo-genre): outline and text in the style color */
.ux-row__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; position: relative; z-index: 1; }
.ux-tag {
  --t: var(--g, var(--hsm-text));
  display: inline-block; padding: 5px 6px 4px; border: 1px solid var(--g, var(--hsm-text)); border-top-right-radius: 3px;
  font: 600 11px/1 var(--hsm-font-wide); letter-spacing: 2px; text-transform: uppercase; color: var(--t);
  text-decoration: none; white-space: nowrap;
}
.ux-tag[style*="hardcore"], .ux-chip[style*="hardcore"] { --t: var(--hsm-hardcore-text); }
a.ux-tag:hover { background: color-mix(in srgb, var(--g) 14%, transparent); }
.ux-row__sponsored, .ux-status {
  display: inline-block; padding: 5px 6px 4px; border: 1px solid var(--hsm-text); border-top-right-radius: 3px;
  font: 600 11px/1 var(--hsm-font); letter-spacing: 2px; text-transform: uppercase; color: var(--hsm-text);
}
.ux-status { margin: 0 0 12px; border-color: var(--hsm-coral); color: var(--hsm-coral); }

/* Buttons: the v1 end-cap buttons, text big enough for white on coral */
.hsm-ux .hsm-btn { min-width: 0; min-height: 56px; padding: 6px 82px 6px 22px; font: 700 19px/1.1 var(--hsm-font); letter-spacing: 1px; }
.hsm-ux .hsm-btn--search { min-height: 52px; min-width: 200px; padding: 4px 76px 4px 22px; font-size: 19px; }
.hsm-ux .hsm-btn--search::after { -webkit-mask-size: 61px 100%; mask-size: 61px 100%; }
.hsm-ux .hsm-btn--fixed { width: auto; }
.hsm-ux .text-follow { display: none; }

/* Home: hero ----------------------------------------------------------------------------- */
.ux-hero { max-width: 980px; padding-top: 16px; }
.ux-hero__title {
  margin: 0; font: 600 clamp(26px, 3.6vw, 46px)/1.08 var(--hsm-font-wide); letter-spacing: 1px;
  text-transform: uppercase; color: var(--hsm-white);
}
.ux-hero__lead { margin: 18px 0 0; max-width: 62ch; font-size: 18px; line-height: 1.55; color: var(--hsm-muted); }

/* Search ---------------------------------------------------------------------------------- */
.ux-search__grid {
  display: grid; gap: 20px 16px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(150px, .5fr) minmax(150px, .5fr);
}
.ux-search__full { grid-column: 1 / -1; }
.ux-field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.ux-field input, .ux-field select {
  width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 0;
  background: var(--hsm-field); color: var(--hsm-text); color-scheme: dark;
  font: 400 16px/1.2 var(--hsm-font); letter-spacing: 0;
}
.ux-field input::placeholder { color: var(--hsm-muted); opacity: 1; }
.ux-field input:focus-visible, .ux-field select:focus-visible { outline: 2px solid var(--hsm-white); outline-offset: 0; }
.ux-field__combo { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 4px; }
.ux-field__combo select { padding: 0 8px 0 12px; }
.ux-field__combo .hsm-suggest { display: block; position: relative; }
.ux-near {
  justify-self: start; min-height: 32px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 14px/1.3 var(--hsm-font); color: var(--hsm-text);
  text-decoration: underline; text-decoration-color: var(--ux-underline); text-underline-offset: 4px;
}
.ux-near::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-top-right-radius: 3px; background: var(--hsm-uptempo); vertical-align: 1px; }
.ux-near:hover { text-decoration-color: currentColor; }
.ux-search__status:empty { display: none; }
.ux-search__status, .ux-search__error { margin: 0; font-size: 14px; color: var(--hsm-hardcore-text); }

.ux-styles { margin: 4px 0 0; padding: 0; border: 0; min-width: 0; }
.ux-styles legend { padding: 0; margin-bottom: 10px; }
.ux-styles__list { display: flex; flex-wrap: wrap; gap: 10px; }
.ux-chip {
  --t: var(--g);
  position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border: 1px solid var(--g); border-top-right-radius: 3px; cursor: pointer; user-select: none;
  font: 600 12px/1 var(--hsm-font-wide); letter-spacing: 2px; text-transform: uppercase; color: var(--t);
}
.ux-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ux-chip:hover { background: color-mix(in srgb, var(--g) 12%, transparent); }
.ux-chip:has(input:checked) { background: var(--g); color: var(--hsm-ink); }
.ux-chip:has(input:focus-visible) { outline: 2px solid var(--hsm-white); outline-offset: 2px; }

.ux-search__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }

/* The v1 map: the same map, in the page margins; shorter on phones so the page still scrolls */
.ux-map { margin-top: 48px; }
.ux-map #map { margin-top: 0; }

/* Lists ------------------------------------------------------------------------------------- */
.ux-listhead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-bottom: 8px; }
.ux-listhead .ux-section { flex: 1 1 320px; margin: 0; }
.ux-listhead__count { font: 600 12px/1.3 var(--hsm-font); letter-spacing: 2.5px; text-transform: uppercase; color: var(--hsm-muted); }
.ux-rows { margin: 20px calc(-1 * var(--side)) 0; border-top: 1px solid var(--hsm-rule); }
/* Day heading: the day on the left, its date on the right, in the date style of the rows and
   aligned on their date column (row padding + arrow column + gap). */
.ux-day {
  position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin: 0; padding: 16px calc(var(--side) + 120px) 14px var(--side); background: var(--hsm-ink); border-bottom: 1px solid var(--hsm-rule);
  font: 600 13px/1.3 var(--hsm-font-wide); letter-spacing: 3px; text-transform: uppercase; color: var(--hsm-white);
}
.ux-day__label { display: flex; align-items: baseline; gap: 16px; }
.ux-day__date { font: 600 24px/1.15 var(--hsm-font-wide); letter-spacing: 1.5px; text-align: right; }
.ux-day__count { font: 600 12px/1.3 var(--hsm-font); letter-spacing: 2.5px; color: var(--hsm-muted); }
.ux-row--grouped .ux-row__when { align-self: end; }
.ux-row__hours { font-size: 22px; }
.ux-more { margin-top: 36px; }
.ux-pager { margin-top: 36px; }
.ux-inline-ad:empty { display: none; }

/* Event row: desktop */
.ux-row {
  --g: var(--hsm-hardstyle);
  font-weight: 400; letter-spacing: 0; color: var(--hsm-text);
  position: relative; display: grid; align-items: center; column-gap: 36px; row-gap: 10px;
  grid-template-columns: 190px minmax(0, 1fr) minmax(220px, 28%) 64px;
  grid-template-areas: "poster main when arrow" "poster main where arrow";
  padding: 28px calc(var(--side, 24px) + 20px) 28px var(--side, 24px);
  border-bottom: 1px solid var(--hsm-rule); transition: background-color .15s;
}
/* Rows in the other pages of the v2 (style, city, series, journey...): .hsm-rows bleeds to the
   window edges, the content stays on the page margins (10%, 5% under 1024px). */
.hsm-rows .ux-row { --side: 10%; }
@media (max-width: 1024px) { .hsm-rows .ux-row { --side: 5%; } }
.ux-row::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 16px; background: var(--g); }
.ux-row:hover { background: color-mix(in srgb, var(--g) 6%, transparent); }
.ux-row__poster { grid-area: poster; align-self: center; display: flex; justify-content: center; }
.ux-row__poster img { display: block; max-width: 180px; max-height: 150px; width: auto; height: auto; transform: rotate(-7deg); }
.ux-row__noposter { display: grid; place-items: center; width: 150px; height: 110px; background: var(--hsm-field); transform: rotate(-7deg); }
.ux-row__noposter img { width: 28px; transform: rotate(7deg); }
.ux-row__main { grid-area: main; min-width: 0; align-self: center; }
.ux-row__name {
  margin: 0; font: 600 26px/1.15 var(--hsm-font-wide); letter-spacing: 1.5px; text-transform: uppercase; color: var(--hsm-white);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; overflow-wrap: anywhere;
}
.ux-row__link { text-decoration: none; }
.ux-row__link::after { content: ""; position: absolute; inset: 0; z-index: 0; } /* the whole row is the link */
.ux-row__link:focus-visible { outline: none; }
.ux-row:has(.ux-row__link:focus-visible) { outline: 2px solid var(--hsm-white); outline-offset: -2px; }
.ux-row__org { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--hsm-text); }
.ux-row__by { color: var(--hsm-muted); }
.ux-row__lineup {
  margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--hsm-muted);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.ux-row__more { color: var(--hsm-text); white-space: nowrap; }
/* Links inside the row stay clickable above the row link */
.ux-row__org a, .ux-row__lineup a, .ux-row__venue a { position: relative; z-index: 1; text-decoration: none; }
.ux-row__org a:hover, .ux-row__lineup a:hover, .ux-row__venue a:hover { color: var(--hsm-white); text-decoration: underline; text-underline-offset: 3px; }
.ux-row__when { grid-area: when; align-self: end; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ux-row__time { order: -1; font: 600 12px/1.3 var(--hsm-font); letter-spacing: 2.5px; text-transform: uppercase; color: var(--hsm-muted); }
.ux-row__date { font: 600 24px/1.15 var(--hsm-font-wide); letter-spacing: 1.5px; text-transform: uppercase; color: var(--hsm-white); }
.ux-row__to { display: block; font-size: 16px; color: var(--hsm-text); }
.ux-row__where { grid-area: where; align-self: start; text-align: right; padding-top: 12px; border-top: 1px solid var(--hsm-rule); justify-self: end; min-width: 120px; }
.ux-row__city { display: block; font: 600 19px/1.2 var(--hsm-font-wide); letter-spacing: 1.5px; text-transform: uppercase; color: var(--hsm-text); overflow-wrap: anywhere; }
.ux-row__country { display: block; margin-top: 2px; font: 600 12px/1.3 var(--hsm-font); letter-spacing: 2.5px; text-transform: uppercase; color: var(--hsm-muted); }
.ux-row__venue { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 16px; line-height: 1.3; color: var(--hsm-text); }
.ux-row__venue img { width: 14px; height: auto; flex: none; }
.ux-row__arrow { grid-area: arrow; justify-self: end; transition: transform .15s; }
.ux-row__arrow img { display: block; width: 56px; }
.ux-row:hover .ux-row__arrow { transform: translateX(4px); }
.ux-row--sponsored { background: color-mix(in srgb, var(--g) 4%, transparent); }

@media (max-width: 1100px) {
  .ux-search__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ux-row { grid-template-columns: 150px minmax(0, 1fr) minmax(200px, 30%); column-gap: 28px; grid-template-areas: "poster main when" "poster main where"; }
  .ux-row__arrow { display: none; }
  .ux-row__poster img { max-width: 140px; max-height: 130px; }
  .ux-row__noposter { width: 120px; height: 90px; }
  .ux-row__name { font-size: 22px; }
  .ux-row__date { font-size: 20px; }
  .ux-row__city { font-size: 17px; }
  .ux-day { padding-right: calc(var(--side) + 20px); }
  .ux-day__date { font-size: 20px; }
  .ux-row__hours { font-size: 18px; }
}

/* Event row and lists: phones */
@media (max-width: 720px) {
  .ux-page { padding-top: 24px; padding-bottom: 80px; }
  .ux-block { margin-top: 44px; }
  .ux-section { font-size: 13px; letter-spacing: 3px; gap: 12px; margin-bottom: 20px; }
  .ux-section img { width: 32px; }
  .ux-hero__lead { font-size: 16px; }
  .ux-search__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 10px; }
  .ux-field--q, .ux-field--place { grid-column: 1 / -1; }
  .ux-styles__list { gap: 8px; }
  .ux-chip { min-height: 40px; padding: 0 12px; font-size: 11px; letter-spacing: 1.5px; }
  .ux-search__actions { gap: 4px 20px; }
  .ux-search__actions .hsm-btn { width: 100%; }
  .ux-map #map { height: 360px; }

  .ux-row {
    grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; align-items: start;
    grid-template-areas: none; padding: 18px calc(var(--side, 16px) + 10px) 18px var(--side, 16px);
  }
  .ux-row::after { width: 6px; }
  .ux-row > *, .ux-row__main > * { grid-area: auto; }
  .ux-row__poster { grid-column: 1; grid-row: 1 / span 6; align-self: start; padding-top: 6px; }
  .ux-row__poster img { max-width: 84px; max-height: 110px; }
  .ux-row__noposter { width: 76px; height: 60px; }
  .ux-row__noposter img { width: 20px; }
  .ux-row__main { display: contents; }
  .ux-row__main > *, .ux-row__when, .ux-row__where { grid-column: 2; }
  .ux-row__tags { order: 1; margin: 0; gap: 4px; }
  .ux-row__name { order: 2; font-size: 17px; line-height: 1.2; letter-spacing: .5px; }
  .ux-row__when { order: 3; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; text-align: left; }
  .ux-row__time { order: 1; font-size: 12px; letter-spacing: 1px; color: var(--hsm-text); }
  .ux-row__date { order: 0; font-size: 13px; letter-spacing: 1px; }
  .ux-row__to { display: inline; font-size: 13px; }
  .ux-row__where { order: 4; padding: 0; border: 0; text-align: left; justify-self: start; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
  .ux-row__city { display: inline; font-size: 13px; letter-spacing: 1px; }
  .ux-row__country { display: none; }
  .ux-row__country--only { display: inline; margin: 0; font-size: 12px; color: var(--hsm-text); }
  .ux-row__venue { margin: 0; font-size: 14px; gap: 6px; }
  .ux-row__venue img { width: 11px; }
  .ux-row__org { order: 5; margin: 2px 0 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ux-row__lineup { order: 6; margin: 0; font-size: 13px; -webkit-line-clamp: 2; line-clamp: 2; }
  .ux-tag { font-size: 10px; letter-spacing: 1.5px; padding: 4px 5px 3px; }
  .ux-day { padding: 12px calc(var(--side) + 10px) 12px var(--side); font-size: 12px; letter-spacing: 2px; }
  .ux-day__date { font-size: 14px; letter-spacing: 1px; }
  .ux-day__label { gap: 10px; }
  .ux-row__hours { font-size: 13px; }
}

/* Event page -------------------------------------------------------------------------------- */
.ux-event__spike { position: absolute; left: 0; top: 64px; width: 45px; height: auto; }
.ux-event__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 34%); column-gap: 64px; align-items: start;
}
.ux-event__poster { grid-column: 2; grid-row: 1; display: flex; justify-content: center; padding: 24px 12px; }
.ux-event__poster img { display: block; max-width: 100%; max-height: 560px; width: auto; height: auto; transform: rotate(-7deg); }
.ux-event__noposter { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; background: var(--hsm-field); transform: rotate(-7deg); }
.ux-event__noposter img { width: 48px; transform: rotate(7deg); }
.ux-event__intro { grid-column: 1; grid-row: 1; min-width: 0; padding-top: 8px; }
.ux-event__title {
  margin: 0; font: 600 clamp(30px, 4vw, 54px)/1.05 var(--hsm-font-wide); letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--hsm-white); overflow-wrap: anywhere;
}
.ux-event__org { margin: 14px 0 0; font-size: 16px; line-height: 1.45; }
.ux-event__org a { text-decoration: underline; text-decoration-color: var(--ux-underline); text-underline-offset: 4px; }
.ux-event__org a:hover { text-decoration-color: currentColor; }
.ux-event__manage:empty { display: none; }

.ux-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px 32px;
  margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--hsm-rule);
}
.ux-fact { min-width: 0; }
.ux-fact dd { margin: 8px 0 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.ux-fact__main { font: 600 18px/1.25 var(--hsm-font-wide); letter-spacing: 1px; text-transform: uppercase; color: var(--hsm-white); text-decoration: none; }
a.ux-fact__main { text-decoration: underline; text-decoration-color: var(--ux-underline); text-underline-offset: 5px; }
a.ux-fact__main:hover { text-decoration-color: currentColor; }
.ux-fact__to { font-size: 15px; color: var(--hsm-text); }
.ux-fact__sub { font-size: 14px; line-height: 1.4; color: var(--hsm-muted); }
.ux-fact__venue { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.3; color: var(--hsm-text); text-decoration: underline; text-decoration-color: var(--ux-underline); text-underline-offset: 4px; }
.ux-fact__venue img { width: 14px; height: auto; }

.ux-event__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ux-event__actions .hsm-follow-form, .ux-event__actions .hsm-follow-wrap { display: contents; }
.ux-event__links { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 12px 0 0; }

.ux-event__body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 34%); column-gap: 64px; row-gap: 32px;
  margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--hsm-rule);
}
.ux-event__section + .ux-event__section { margin-top: 32px; }
.ux-prose { margin: 10px 0 0; max-width: 68ch; font-size: 17px; line-height: 1.65; color: var(--hsm-text); overflow-wrap: anywhere; }
.ux-event__section .ux-textlink { margin-top: 6px; }
.ux-event__plans { min-width: 0; }
.ux-event__plans .hsm-jr-attend { margin: 0; }
.ux-event__plans p, .ux-event__plans a, .ux-event__plans dd { letter-spacing: 0; }
.ux-event__intro .ux-row__tags { margin-bottom: 18px; }

.ux-lineup { margin-top: 72px; }
.ux-band {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 calc(-1 * var(--side)); padding: 22px var(--side); background: var(--g); color: var(--hsm-ink);
  font: 600 16px/1.2 var(--hsm-font-wide); letter-spacing: 4px; text-transform: uppercase;
}
.ux-band__count { font: 700 13px/1.2 var(--hsm-font); letter-spacing: 2px; }
.ux-lineup__grid {
  list-style: none; margin: 0; padding: 36px 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px;
}
.ux-artist a { display: block; text-decoration: none; }
.ux-artist img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--hsm-field); transition: filter .15s; }
.ux-artist__name { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--hsm-text); overflow-wrap: anywhere; }
.ux-artist a:hover img { filter: brightness(1.12); }
.ux-artist a:hover .ux-artist__name { color: var(--hsm-white); text-decoration: underline; text-underline-offset: 3px; }
.ux-artist__extra { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--hsm-muted); }

/* Artist, location and organisation pages: same frame as the event page */
.ux-entity__kind { margin-bottom: 14px; }
.ux-entity__badges:empty { display: none; }
.ux-entity__badges .hsm-v1-verified { margin: 14px 0 0; }
.ux-event__head:has(.ux-entity__photo:empty) { grid-template-columns: minmax(0, 1fr); }
.ux-entity__photo:empty { display: none; }
.ux-event__head:has(.ux-entity__photo:empty) .ux-facts { max-width: 860px; }
.ux-entity--artist .ux-entity__photo img { width: 100%; max-width: 420px; max-height: none; aspect-ratio: 1; object-fit: cover; transform: none; background: var(--hsm-field); }
.ux-entity--venue .ux-entity__photo img, .ux-entity--organization .ux-entity__photo img { max-height: 320px; transform: none; object-fit: contain; }
.ux-fact__venue--plain { text-decoration: none; }
.ux-entity__claim:empty { display: none; }
.ux-entity__claim { margin-top: 16px; }
.ux-entity__body { margin-top: 48px; }
.ux-entity__map { margin-top: 40px; }
.ux-entity__update { margin: 48px 0 0; }
.ux-page .div-event-map { padding: 0; }
.ux-page #event-map { margin-top: 0; }

.ux-event__map { margin-top: 64px; }
.ux-event__map .div-event-map { padding: 0; }
.ux-event__map #event-map { margin-top: 0; }
.ux-event__after { margin-top: 24px; }
.ux-event__report { margin-top: 40px; }
.ux-stickybar { display: none; }

@media (max-width: 900px) {
  .ux-event__spike { display: none; }
  .ux-event__head { grid-template-columns: minmax(0, 1fr); }
  .ux-event__poster { grid-column: 1; grid-row: 1; padding: 8px 24px 20px; }
  .ux-event__poster img { max-height: 400px; }
  .ux-entity--artist .ux-entity__photo img { max-width: 280px; }
  .ux-event__noposter { display: none; }
  .ux-event__intro { grid-row: 2; }
  .ux-event__body { grid-template-columns: minmax(0, 1fr); margin-top: 40px; padding-top: 32px; }
}

@media (max-width: 720px) {
  .ux-event__title { font-size: 28px; letter-spacing: 1px; }
  .ux-event__org { font-size: 15px; }
  .ux-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 16px; margin-top: 24px; }
  .ux-fact__main { font-size: 15px; letter-spacing: .5px; }
  .ux-event__actions { margin-top: 24px; }
  .ux-event__actions .hsm-btn { width: 100%; }
  .ux-prose { font-size: 16px; }
  .ux-lineup { margin-top: 56px; }
  .ux-band { padding: 16px var(--side); font-size: 14px; letter-spacing: 3px; }
  .ux-lineup__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; padding-top: 24px; }
  .ux-artist__name { font-size: 13px; margin-top: 8px; }
  .ux-artist__extra { font-size: 12px; }
  .ux-event__map #event-map { height: 300px; }

  /* Tickets always one tap away */
  .ux-event:has(.ux-stickybar) { padding-bottom: 120px; }
  .ux-stickybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--hsm-black); border-top: 1px solid var(--hsm-rule);
  }
  .ux-stickybar__text { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
  .ux-stickybar__text strong { font: 600 14px/1.2 var(--hsm-font-wide); letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--hsm-white); }
  .ux-stickybar__text span { font: 600 12px/1.3 var(--hsm-font); letter-spacing: 1px; text-transform: uppercase; color: var(--hsm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ux-stickybar { transition: transform .2s; }
  .ux-stickybar--off { transform: translateY(110%); }
  .ux-stickybar .hsm-btn { flex: none; width: auto; min-height: 50px; }
}

/* Home: account invitation for visitors ----------------------------------------------------- */
.ux-join { margin-top: 72px; padding: 32px 0 0; border-top: 1px solid var(--hsm-rule); max-width: 760px; }
.ux-join__title { margin: 0; font: 600 22px/1.2 var(--hsm-font-wide); letter-spacing: 1px; text-transform: uppercase; color: var(--hsm-white); }
.ux-join__lead { margin: 14px 0 0; font-size: 16px; color: var(--hsm-muted); }
.ux-join__list { margin: 14px 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.ux-join__list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; color: var(--hsm-text); }
.ux-join__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--hsm-hardstyle); border-top-right-radius: 3px; }

/* Header and menu, on every page while the new design is on ------------------------------- */
@media (max-width: 600px) {
  /* The account links move to the menu: logo, bell and menu only, nothing overlaps the logo. */
  .ux .header_nav_login { font-size: 0; margin-left: auto; margin-right: 18px; }
  .ux .header_nav_login > a, .ux .header_nav_login > form { display: none; }
  .ux .header_nav_bell { padding-left: 0; font-size: 14px; }
}
.ux .menu-liens-account { font-weight: 700; color: var(--hsm-white); }
@media (max-width: 600px) {
  /* Footer legal links: they wrap instead of widening the page (French labels are longer). */
  .ux .footer-informations table, .ux .footer-informations tbody { display: block; width: 100%; }
  .ux .footer-informations tr { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; }
  .ux .footer-informations td { display: block; padding: 0; }
}
.ux .menu-liens-more button { text-transform: inherit; }
