/* Events: /events/ (founder approved "C + A", 18 Nov 2026; layout pass 24 Nov 2026: the headliner lists its tickets,
   Coming up rows are ticket stubs, no poster strip), the "Events" chip on /deals/ and the home's "Upcoming events".
   Every colour is a site token (--ls-*, which body.ls-home turns dark), so dark holds. Markup: lib/events-view.js.
   Wide layout from 900 px; the tickets stand side by side as stubs from 1200 px. */

.ls-ev { background: var(--ls-canvas); }
.ev-page { padding-bottom: 0; }
.ev-wrap { padding-bottom: 8px; }

/* ---------- the doodle slot (the approved high five: high-five-ink.png in light, high-five-cream.png in dark) ---------- */
.ev-doodle { display: grid; place-items: center; flex: none; width: 96px; height: 96px; }
.ev-doodle img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ev-doodle--sm { width: 64px; height: 64px; }
/* The boil strip's frames meet at the box edge: where the tile sits on a half pixel, a hairline of the next frame shows there. One pixel off each side hides it; the drawing has margin inside the box. */
.ev-doodle img, .ev-deals-chip-art img { clip-path: inset(0 1px); }

/* ---------- hero: the Guides and How it works pattern (guides.css .gd-hero, how-it-works.css .hw-hero), same sizes and
   breakpoints: crumbs, the title, the doodle at their medium size (275 x 240) right of the title block and centred on it,
   centred under the title below 900 px; then the city chips on one line ---------- */
.ev-hero { padding: 0 0 22px; }
.ev-hero .ls-crumbs { margin: 0; }
.ev-hero-row { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
.ev-hero-copy { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ev-h1 { max-width: none; font-size: 36px; line-height: .98; letter-spacing: -0.04em; color: var(--ls-ink); }
.ev-h1 .ev-l2 { display: block; white-space: nowrap; }
.ev-hero-art { flex: none; align-self: center; display: block; width: 216px; height: 189px; }
.ev-hero-art img { display: block; width: 100%; height: 100%; object-fit: contain; clip-path: inset(0 1px); }
@media (max-width: 374px) { .ev-h1 { font-size: 33px; } }
@media (min-width: 761px) {
  .ev-hero { padding-top: 26px; }
  .ev-h1 { font-size: 66px; letter-spacing: -0.045em; }
}
@media (min-width: 901px) {
  .ev-hero-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
  .ev-hero-copy { flex: 0 1 700px; }
  .ev-hero-art { align-self: auto; width: 275px; height: 240px; margin-block: -17px; }
}
.ev-chips { margin: 20px calc(var(--ls-gutter) * -1) 0; }
.ev-chips ul { display: flex; gap: 8px; margin: 0; padding: 4px var(--ls-gutter) 6px; list-style: none; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ev-chips ul::-webkit-scrollbar { display: none; }
.ev-chips li { position: relative; flex: none; }
.ev-chip { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px; color: var(--ls-ink); background: var(--ls-paper); box-shadow: inset 0 0 0 1.5px var(--ls-line-2); font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.ev-chip:hover { text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--ls-ink); }
.ev-chip svg { flex: none; width: 16px; height: 16px; }
.ev-chip-n { margin-left: 2px; color: var(--ls-muted); font-family: var(--tud-font-secondary); font-size: 13px; font-weight: 700; }
.ev-chip.is-on { color: var(--ls-paper); background: var(--ls-ink); box-shadow: none; }
.ev-chip.is-on .ev-chip-n { color: var(--ls-orange); }

/* ---------- posters ---------- */
.ev-poster { position: relative; display: block; overflow: hidden; background: var(--ls-ink); }
.ev-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-poster--type { container-type: inline-size; background: var(--ls-tile, var(--ls-sand)); }
.ev-poster--type span { position: absolute; inset: auto 0 0 0; padding: 8cqw; color: var(--ls-ink); font-size: 12cqw; font-weight: 900; line-height: .9; letter-spacing: -0.04em; text-transform: uppercase; overflow-wrap: anywhere; }

/* ---------- the headliner ticket ---------- */
.ev-ticket { display: grid; overflow: hidden; border-radius: 22px; background: var(--ls-paper); box-shadow: var(--tud-shadow-card-raised); }
.ev-ticket > .ev-poster { aspect-ratio: 16 / 11; border-bottom: 2px solid var(--ls-line-2); }
/* An organiser's poster shows whole, at its own shape: posters carry their own words, so they are never cropped. */
.ev-ticket > .ev-poster:not(.ev-poster--crop, .ev-poster--type) { aspect-ratio: auto; background: var(--ls-canvas); }
.ev-ticket > .ev-poster:not(.ev-poster--crop, .ev-poster--type) img { height: auto; max-height: 380px; object-fit: contain; }
.ev-ticket > .ev-poster--crop { aspect-ratio: var(--cr-ar); background: var(--cr-bg); }
.ev-ticket > .ev-poster--crop img { position: absolute; left: var(--cr-x); top: var(--cr-y); width: var(--cr-w); height: var(--cr-h); max-width: none; object-fit: fill; }
.ev-ticket-body { display: grid; align-content: start; padding: 18px 20px 20px; }
.ev-off { justify-self: start; display: inline-flex; align-items: center; height: 32px; margin-bottom: 14px; padding: 0 14px; border-radius: 999px; color: var(--ls-accent-text); background: var(--ls-tint); box-shadow: inset 0 0 0 1.5px var(--ls-tint-line); font-size: 14px; font-weight: 800; white-space: nowrap; }
.ev-when time { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.ev-when b { color: var(--ls-ink); font-family: var(--tud-font-secondary); font-size: 32px; font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; }
.ev-when span { color: var(--ls-soft); font-size: 15px; font-weight: 700; }
.ev-name { margin-top: 6px; font-size: 26px; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.ev-meta { margin-top: 6px; color: var(--ls-soft); font-size: 15px; font-weight: 500; line-height: 1.35; }
.ev-meta + .ev-meta { margin-top: 2px; }
.ev-place { display: flex; align-items: flex-start; gap: 6px; }
.ev-place svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.ev-lineup { margin-top: 10px; color: var(--ls-ink-2); font-size: 15px; font-weight: 600; line-height: 1.4; }
.ev-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 2px dashed var(--ls-line-2); }
.ev-book { min-height: 48px; padding: 0 30px; }

.ev-price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.ev-price-now { display: inline-flex; align-items: baseline; gap: 5px; }
.ev-price b { color: var(--ls-ink); font-family: var(--tud-font-secondary); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ev-price s { color: var(--ls-muted); font-weight: 500; text-decoration-thickness: 2px; }
.ev-from { color: var(--ls-soft); font-size: 13px; font-weight: 700; }
.ev-price--big b { font-size: 30px; letter-spacing: -0.04em; }
.ev-price--big s { font-size: 16px; }
.ev-price.is-sold b { color: var(--ls-muted); font-family: var(--tud-font-primary); letter-spacing: 0; }

/* The tickets of a headliner sold as several: each row is its own booking link. */
.ev-opts { display: grid; gap: 10px; margin: 18px 0 0; padding: 16px 0 0; list-style: none; border-top: 2px dashed var(--ls-line-2); }
.ev-opt-link { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; grid-template-areas: "name price go" "when price go" "lineup lineup lineup"; align-items: center; column-gap: 12px; min-height: 64px; padding: 12px 14px 12px 16px; border-radius: 14px; color: var(--ls-ink); background: var(--ls-canvas); box-shadow: inset 0 0 0 1.5px var(--ls-line-2); text-decoration: none; }
a.ev-opt-link:hover { text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--ls-ink); }
.ev-opt-main { display: contents; }
.ev-opt-name { grid-area: name; font-size: 17px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.ev-opt-when { grid-area: when; color: var(--ls-soft); font-size: 14px; font-weight: 600; line-height: 1.3; }
.ev-opt-lineup { grid-area: lineup; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--ls-line); color: var(--ls-ink-2); font-size: 14px; font-weight: 500; line-height: 1.4; }
.ev-opt-price { grid-area: price; flex-direction: column; align-items: flex-end; gap: 0; }
.ev-opt-price b { font-size: 19px; }
.ev-opt-price s { font-size: 13px; }
.ev-go { grid-area: go; color: var(--ls-ink); }
.ev-opt.is-off .ev-opt-link { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "when price" "lineup lineup"; color: var(--ls-soft); }

/* ---------- lists ---------- */
.ev-h2 { margin: 44px 0 14px; font-size: 26px; font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }
.ev-year { margin: 18px 0 2px; color: var(--ls-ink-2); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.ev-list { margin: 0; padding: 0; list-style: none; }

/* Coming up: ticket stubs, the date on the event's category tone. */
.ev-list--up { display: grid; gap: 12px; }
.ev-list--up .ev-row { display: grid; }
.ev-list--up .ev-row-link { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; min-height: 96px; overflow: hidden; border-radius: 18px; color: var(--ls-ink); background: var(--ls-paper); box-shadow: inset 0 0 0 1.5px var(--ls-line-2); text-decoration: none; }
.ev-list--up .ev-row-link:hover { text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--ls-ink); }
.ev-row-date { display: grid; align-content: center; justify-items: center; gap: 2px; padding: 12px 4px; background: var(--ls-tile, var(--ls-sand)); color: var(--ls-ink); text-align: center; font-size: 12px; font-weight: 700; line-height: 1.2; }
.ev-row-date b { font-family: var(--tud-font-secondary); font-size: 32px; line-height: 1; letter-spacing: -0.04em; }
.ev-row-main { display: grid; align-content: center; gap: 3px; min-width: 0; padding: 14px 12px 14px 14px; }
.ev-row-name { font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.ev-row-meta { display: flex; align-items: center; gap: 4px; min-width: 0; color: var(--ls-muted); font-size: 13px; font-weight: 500; line-height: 1.3; }
.ev-row-meta > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-row-meta svg { flex: none; width: 14px; height: 14px; }
.ev-row-by { display: none; }
.ev-row-end { display: grid; align-content: center; justify-items: end; gap: 8px; padding: 14px 14px 14px 0; }
.ev-row-end .ev-price { flex-direction: column; align-items: flex-end; gap: 0; }
.ev-row-end .ev-price b { font-size: 18px; }
.ev-row-end .ev-price s { font-size: 12px; }
.ev-row-end .ev-from { font-size: 12px; }
.ev-row-book { display: none; }
.ev-row-art { display: none; }
.ev-row.is-sold .ev-row-name { color: var(--ls-soft); }
.ev-row.is-sold .ev-price b { font-size: 15px; }

/* Past: a dashed list, the poster as a thumbnail. */
.ev-row--past { border-bottom: 2px dashed var(--ls-line-2); }
.ev-row--past .ev-row-link { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 0; color: var(--ls-ink); text-decoration: none; }
.ev-row--past .ev-row-link:hover { text-decoration: none; }
.ev-row--past .ev-row-link:hover .ev-row-name { text-decoration: underline; text-underline-offset: 3px; }
.ev-row--past .ev-row-main { padding: 0; gap: 1px; }
.ev-row-when { color: var(--ls-muted); font-size: 13px; font-weight: 700; }
.ev-thumb { width: 56px; height: 56px; overflow: hidden; border-radius: 10px; }
.ev-thumb .ev-poster { width: 100%; height: 100%; }
.ev-thumb .ev-poster--type span { padding: 6cqw; font-size: 20cqw; }
.ev-went { display: inline-flex; align-items: center; min-height: 44px; color: var(--ls-accent-text); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

/* ---------- the empty ticket ---------- */
.ev-blank { display: grid; justify-items: center; gap: 16px; padding: 28px 20px; border: 2px dashed var(--ls-line-2); border-radius: 22px; background: var(--ls-paper); text-align: center; }
.ev-blank-line { font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }

/* ---------- the societies band ---------- */
.ev-band { position: relative; margin-top: 64px; padding: 48px 0 52px; background: var(--ls-paper); border-top: 2px solid var(--ls-line-2); text-align: center; }
.ev-band .ev-h2 { max-width: 14ch; margin: 0 auto 22px; }
.ev-band-acts { display: grid; justify-items: center; gap: 8px; }

/* ---------- tablet and up: the ticket's poster beside its words ---------- */
@media (min-width: 640px) {
  .ev-ticket { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ev-ticket > .ev-poster { aspect-ratio: auto; min-height: 420px; border-bottom: 0; border-right: 2px solid var(--ls-line-2); }
  .ev-ticket > .ev-poster:not(.ev-poster--crop, .ev-poster--type) { background: var(--ls-paper); }
  .ev-ticket > .ev-poster:not(.ev-poster--crop, .ev-poster--type) img { position: absolute; inset: 0; height: 100%; max-height: none; }
  .ev-ticket > .ev-poster--crop { aspect-ratio: var(--cr-ar); min-height: 0; align-self: center; }
  /* A ticket with rows is taller than its square poster: the poster column fills the height on the poster's own ground, the artwork centred in it. */
  .ev-ticket.has-opts > .ev-poster--crop { container-type: inline-size; align-self: stretch; aspect-ratio: auto; }
  .ev-ticket.has-opts > .ev-poster--crop img { top: var(--cr-top); height: auto; }
}

/* ---------- wide (desktop pass, 24 Nov 2026): the poster stands on its own with the tickets beside it, Coming up is a
   poster grid, Past is a three-column list with the organiser link under each name. Phone markup is unchanged; the
   Coming up poster (.ev-row-art) only shows from here. ---------- */
@media (min-width: 900px) {
  .ev-hero { padding-bottom: 32px; }
  .ev-chips { margin: 24px 0 0; }
  .ev-chips ul { padding: 4px 0 6px; }

  /* The headliner: no card around it. The poster is its own printed object at its own shape; the words sit on the page. */
  .ev-ticket { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: center; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
  .ev-ticket > .ev-poster { align-self: start; border-right: 0; border-radius: 22px; box-shadow: var(--tud-shadow-card-raised); }
  /* A poster of any shape: the round corners and the shadow sit on the picture itself, so a tall poster never stands on a wider card. */
  .ev-ticket > .ev-poster:not(.ev-poster--crop, .ev-poster--type) { min-height: 0; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
  .ev-ticket > .ev-poster:not(.ev-poster--crop, .ev-poster--type) img { position: static; width: auto; max-width: 100%; height: auto; max-height: 560px; border-radius: 22px; box-shadow: var(--tud-shadow-card-raised); }
  .ev-ticket > .ev-poster--type { min-height: 0; aspect-ratio: 4 / 5; }
  .ev-ticket.has-opts > .ev-poster--crop { container-type: normal; align-self: start; aspect-ratio: var(--cr-ar); }
  .ev-ticket.has-opts > .ev-poster--crop img { top: var(--cr-y); height: var(--cr-h); }
  .ev-ticket-body { align-content: center; padding: 4px 0; }
  .ev-off { height: 34px; margin-bottom: 16px; font-size: 15px; }
  .ev-when b { font-size: 48px; }
  .ev-when span { font-size: 18px; }
  .ev-name { margin-top: 6px; font-size: 44px; }
  .ev-meta { margin-top: 10px; font-size: 17px; }
  .ev-place svg { width: 18px; height: 18px; margin-top: 2px; }
  .ev-lineup { font-size: 17px; }
  .ev-buy { margin-top: 26px; padding-top: 26px; }
  .ev-price--big b { font-size: 44px; }
  .ev-price--big s { font-size: 19px; }
  .ev-book { min-height: 56px; padding: 0 40px; font-size: 18px; }
  .ev-opts { margin-top: 24px; padding-top: 22px; }
  .ev-opt-link { min-height: 72px; padding: 14px 18px 14px 20px; column-gap: 16px; background: var(--ls-paper); }
  .ev-opt-name { font-size: 18px; }
  .ev-opt-price b { font-size: 22px; }
  .ev-opt-price s { font-size: 14px; }

  .ev-h2 { margin: 64px 0 22px; font-size: 32px; }

  /* Coming up: poster cards, three to a row. The poster sits whole on a cream mount; the stub below carries the date on
     the category tone, the name and place, then the price and Book across a tear line. */
  .ev-list--up { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
  .ev-list--up .ev-row-link { grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "art art" "date main" "end end"; min-height: 0; border-radius: 20px; }
  /* A border, not an inset shadow: the poster would paint over the shadow and lose the card edge on the cream mount. */
  .ev-list--up .ev-row-link, .ev-list--up .ev-row-link:hover { box-shadow: none; border: 1.5px solid var(--ls-line-2); }
  .ev-list--up .ev-row-link:hover { border-color: var(--ls-ink); }
  .ev-row-art { grid-area: art; position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ls-canvas); border-bottom: 1.5px solid var(--ls-line-2); }
  .ev-row-art .ev-poster { width: 100%; height: 100%; background: none; }
  .ev-row-art .ev-poster img { object-fit: contain; }
  .ev-row-art .ev-poster--crop { height: auto; aspect-ratio: var(--cr-ar); background: var(--cr-bg); }
  .ev-row-art .ev-poster--crop img { position: absolute; left: var(--cr-x); top: var(--cr-y); width: var(--cr-w); height: var(--cr-h); max-width: none; object-fit: fill; }
  .ev-row-art .ev-poster--type { background: var(--ls-tile, var(--ls-sand)); }
  .ev-list--up .ev-row-date { grid-area: date; padding: 14px 4px; }
  .ev-row-date b { font-size: 36px; }
  .ev-list--up .ev-row-main { grid-area: main; align-content: center; padding: 14px 16px 14px 18px; }
  .ev-row-name { font-size: 19px; }
  .ev-row-meta { font-size: 14px; }
  .ev-row-by { display: flex; }
  .ev-list--up .ev-row-end { grid-area: end; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 12px 18px 12px 20px; border-top: 2px dashed var(--ls-line-2); }
  .ev-row-end .ev-price { flex-direction: column; align-items: flex-start; gap: 0; }
  .ev-row-end .ev-price b { font-size: 22px; }
  .ev-row-end .ev-price s { font-size: 14px; }
  .ev-row-end .ev-from { font-size: 13px; }
  .ev-row-book { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; color: var(--ls-paper); background: var(--ls-ink); font-size: 14px; font-weight: 700; }
  .ev-row-book:empty { display: none; }

  /* One or two events: a wider card each, poster on the left, so the row never leaves a hole. */
  .ev-list--up:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-list--up:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
  .ev-list--up:has(> li:nth-child(2):last-child) .ev-row-link { grid-template-columns: 168px 92px minmax(0, 1fr); grid-template-rows: 1fr auto; grid-template-areas: "art date main" "art end end"; }
  .ev-list--up:has(> li:only-child) .ev-row-art, .ev-list--up:has(> li:nth-child(2):last-child) .ev-row-art { border-bottom: 0; border-right: 1.5px solid var(--ls-line-2); }
  .ev-list--up:has(> li:only-child) .ev-row-link { grid-template-columns: 168px 108px minmax(0, 1fr) auto; grid-template-rows: auto; grid-template-areas: "art date main end"; }
  .ev-list--up:has(> li:only-child) .ev-row-main { padding: 20px 24px; }
  .ev-list--up:has(> li:only-child) .ev-row-end { gap: 24px; padding: 20px 28px; border-top: 0; border-left: 2px dashed var(--ls-line-2); }

  /* Past: three columns; the organiser link sits under the name, so the eye never crosses the page for it. */
  .ev-list--past { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  .ev-row--past .ev-row-link { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "thumb main" "thumb went"; align-items: start; column-gap: 16px; row-gap: 0; padding: 18px 0; }
  .ev-row--past .ev-thumb { grid-area: thumb; }
  .ev-row--past .ev-row-main { grid-area: main; }
  .ev-row--past .ev-went { grid-area: went; justify-self: start; min-height: 30px; }
  .ev-thumb { width: 64px; height: 64px; }
  .ev-went { font-size: 14px; }
  .ev-year { margin-top: 8px; }

  .ev-blank { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 40px; text-align: left; }
  .ev-blank-line { font-size: 30px; }

  .ev-band { margin-top: 88px; padding: 72px 0 76px; }
  .ev-band .ev-h2 { max-width: none; margin-bottom: 26px; }
  .ev-band-acts { display: flex; justify-content: center; align-items: center; gap: 28px; }
}

/* ---------- full width: the tickets stand side by side as stubs ---------- */
@media (min-width: 1200px) {

  .ev-row-end .ev-price { flex-direction: row; align-items: baseline; gap: 8px; }
  .ev-list--up:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ev-list--up:has(> li:nth-child(4):last-child) .ev-row-link { grid-template-columns: 80px minmax(0, 1fr); }
  .ev-list--up:has(> li:nth-child(4):last-child) .ev-row-main { padding: 14px 12px 14px 14px; }
  .ev-list--up:has(> li:nth-child(4):last-child) .ev-row-end { padding: 12px 14px 12px 16px; }
  .ev-list--up:has(> li:nth-child(4):last-child) .ev-row-end .ev-price { flex-direction: column; align-items: flex-start; gap: 0; }

  .ev-ticket { grid-template-columns: 420px minmax(0, 1fr); column-gap: 56px; }
  .ev-opts { grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 12px; margin-top: 28px; padding-top: 0; border-top: 0; }
  .ev-opt { display: grid; }
  .ev-opt-link { grid-template-columns: minmax(0, 1fr) 20px; grid-template-rows: auto auto 1fr auto; grid-template-areas: "name go" "when when" "lineup lineup" "price price"; align-items: start; row-gap: 2px; min-height: 0; padding: 18px 16px 16px 18px; border-radius: 16px; }
  .ev-opt-link .ev-go { align-self: center; }
  .ev-opt-lineup { margin-top: 10px; padding-top: 0; border-top: 0; font-size: 14px; }
  .ev-opt-price { align-items: flex-start; align-self: end; margin-top: 14px; padding-top: 14px; border-top: 2px dashed var(--ls-line-2); }
  .ev-opt.is-off .ev-opt-link { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "when" "lineup" "price"; }
}

/* ---------- the deals chip ---------- */
.ev-deals-chip { background: var(--ls-tint); box-shadow: inset 0 0 0 1.5px var(--ls-tint-line); }
.ev-deals-chip-art { display: grid; place-items: center; width: 34px; height: 28px; flex: none; }
.ev-deals-chip-art img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ---------- the home's Upcoming events ---------- */
.ev-home-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ev-home-head .ls-h2 { margin: 0; }
.ev-home-head .ev-link { margin-left: auto; }
.ev-home-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ev-hrow { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; overflow: hidden; border-radius: 18px; color: var(--ls-ink); background: var(--ls-paper); box-shadow: inset 0 0 0 1.5px var(--ls-line-2); text-decoration: none; }
.ev-hrow:hover { text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--ls-ink); }
.ev-hrow-date { display: grid; align-content: center; justify-items: center; padding: 14px 6px; background: var(--ls-tile, var(--ls-sand)); text-align: center; font-size: 12px; font-weight: 700; }
.ev-hrow-date b { font-family: var(--tud-font-secondary); font-size: 34px; line-height: 1; letter-spacing: -0.04em; }
.ev-hrow-body { display: grid; align-content: center; gap: 2px; min-width: 0; padding: 14px 16px; }
.ev-hrow-save { font-family: var(--tud-font-secondary); font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.ev-hrow-name { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-hrow-meta { color: var(--ls-muted); font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-hrow-place { display: flex; align-items: center; gap: 4px; }
.ev-hrow-place svg { flex: none; width: 13px; height: 13px; }
.ev-hrow-stub { display: grid; place-items: center; padding: 0 14px; border-left: 2px dashed var(--ls-line-2); }
.ev-hrow-stub:empty { display: none; }
.ev-hrow-book { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ls-ink); font-size: 14px; font-weight: 700; }
.ev-hrow.is-sold .ev-hrow-save { color: var(--ls-muted); font-family: var(--tud-font-primary); font-size: 18px; letter-spacing: 0; }
@media (min-width: 900px) {
  .ev-home-list { grid-template-columns: 1fr 1fr; }
  .ev-hrow { grid-template-columns: 110px minmax(0, 1fr) auto; }
  .ev-hrow-stub { padding: 0 24px; }
}
@media (max-width: 560px) {
  .ev-home-head { flex-wrap: wrap; }
  .ev-home-head .ev-doodle { width: 52px; height: 52px; }
}
