.cu-page {
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.cu-page h1, .cu-page h2, .cu-page h3 { letter-spacing: -.035em; }
.cu-page h1 { margin: 14px 0 18px; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.01; }
.cu-page h2 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.16; }
.cu-page h3 { margin: 4px 0; font-size: clamp(1.04rem, 1.7vw, 1.22rem); line-height: 1.25; }
.cu-page p { margin: 0; }
.cu-page a, .cu-lightbox button { text-underline-offset: .18em; }
.cu-door { max-width:32rem; margin:clamp(1.5rem,7vh,5rem) auto; padding:clamp(1.25rem,5vw,2.25rem); background:var(--surface); border:1px solid var(--line); border-radius:1rem; }
.cu-page .cu-door h1 { font-size:clamp(2rem,7vw,3rem); margin:.4rem 0 1.5rem; }
.cu-door > p + a { margin-top:1rem; }
.cu-door .btn { width:100%; }
.lm-door-access form { display:grid; gap:.9rem; }
.lm-door-access form p { color:var(--muted); }
.cu-title-link, .cu-chat-row { color: inherit; text-decoration: none; }
.cu-title-link:hover, .cu-chat-row:hover strong { color: var(--accent-hover); text-decoration: underline; }
.cu-text-link, .cu-facts a { color: var(--accent); font-weight: 630; }
.cu-text-link:hover, .cu-facts a:hover { color: var(--accent-hover); }
.cu-meta, .cu-chat-row small, .cu-chat-row p { color: var(--muted); font-size: .925rem; }
.cu-inline, .cu-actions, .cu-home-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.cu-page .cu-inline { margin-top: 6px; font-size: .95rem; }
.cu-home-links { margin: 16px 0 24px; }
.cu-columns { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); align-items: start; gap: clamp(22px, 4vw, 48px); }
.cu-columns > *, .cu-chat-row > div { min-width: 0; }
.cu-stack { display: grid; gap: 15px; padding: 0; background: transparent; border: 0; }
.cu-section { margin: 18px 0 27px; min-width: 0; }
.cu-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 13px; }
.cu-section-head h2, .cu-card h2 { margin: 0; }
.cu-section-head > a { font-size: .94rem; }
.cu-empty, .cu-card, .cu-notice {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: clamp(16px, 2.2vw, 24px);
  background: var(--surface);
}
.cu-empty p, .cu-card p { color: var(--muted); }
.cu-empty > a, .cu-empty > button, .cu-empty > .cu-actions, .cu-card > a, .cu-card > button, .cu-card .cu-actions { margin-top: 10px; }
.cu-card > h2 + p { margin-top: 8px; }
.cu-venue-cover, .cu-home-cover {
  --cu-cover-padding: clamp(20px, 4.6vw, 48px);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; min-height: clamp(210px, 25vw, 302px);
  padding: var(--cu-cover-padding); border-radius: 22px;
}
.cu-venue-cover {
  color: var(--on-accent);
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(122deg, transparent 0 68px, rgb(255 255 255 / 5%) 69px 70px, transparent 71px 105px),
    linear-gradient(110deg, var(--ink) 12%, color-mix(in srgb, var(--ink) 55%, var(--muted)));
}
.cu-venue-cover.cu-covered { min-height: clamp(248px, 34vw, 390px); background: var(--ink); }
.cu-cover-photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.cu-covered > div { position: relative; isolation: isolate; width: 100%; }
.cu-covered > div::before {
  content: ''; pointer-events: none; position: absolute; z-index: -1;
  inset: -3rem calc(0px - var(--cu-cover-padding)) calc(0px - var(--cu-cover-padding));
  background: linear-gradient(to bottom, transparent, rgb(10 11 14 / 65%) 3rem, rgb(10 11 14 / 80%));
}
.cu-page .cu-venue-cover h1, .cu-page .cu-home-cover h1 {
  font-size: clamp(3rem, 8vw, 5.65rem); margin: 0 0 8px; line-height: .96; letter-spacing: -.065em; color: inherit;
}
.cu-venue-cover p, .cu-home-cover p { font-size: clamp(1rem, 1.65vw, 1.16rem); }
.cu-venue-cover p { color: var(--on-accent); }
.cu-home-cover p { color: var(--muted); }
.cu-intro, .cu-description, .cu-notice-body { white-space: pre-line; line-height: 1.65; }
.cu-page .cu-intro { max-width: 70ch; padding: 20px 0 4px; font-size: 1.08rem; }
.cu-page .cu-venue-cover + .cu-columns, .cu-page .cu-intro + .cu-columns { margin-top: 20px; }
.cu-home-cover {
  min-height: clamp(184px, 22vw, 270px); align-items: center; color: var(--ink);
  border: 1px solid var(--line); background: var(--canvas);
  background-image: linear-gradient(112deg, var(--canvas) 56%, var(--neutral-soft));
}
.cu-home-cover > div:first-child { z-index: 1; position: relative; max-width: 68%; }
.cu-home-art {
  position: absolute; z-index: -1; pointer-events: none; left: 67%; top: 50%;
  width: 47%; aspect-ratio: 1; transform: translateY(-40%); border-radius: 50%;
  background:
    radial-gradient(circle, var(--ink) 0 1%, var(--canvas) 1.4% 2%, var(--line) 2.2% 15%, var(--muted) 15.3% 15.7%, transparent 16%),
    repeating-radial-gradient(circle, transparent 0 3px, rgb(255 255 255 / 16%) 3.5px 4px, transparent 4.5px 6px),
    conic-gradient(from 30deg, var(--ink), var(--muted) 18%, var(--ink) 38%, var(--ink) 58%, var(--muted) 75%, var(--ink));
}
.cu-personal-home .cu-diary-cover {
  min-height: clamp(120px, 16vw, 178px);
  padding-block: clamp(17px, 3vw, 30px);
}
.cu-page .cu-diary-cover h1 { font-size: clamp(2rem, 4.7vw, 3.8rem); }
.cu-diary-cover .cu-home-art { left: 75%; width: max(136px, 34%); }
.cu-diary-columns { margin-top: clamp(16px, 2.3vw, 25px); }
.cu-diary-columns .cu-section { margin: 0; }
.cu-diary-columns .cu-home-links { margin: 0 0 12px; gap: 8px; }
.cu-visits > .cu-text-link { display: inline-block; margin-top: 12px; }
.cu-discover-link { margin: 22px 0; }
.cu-search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; max-width: 46rem; margin-bottom: 24px; }
.cu-search .field { flex: 1 1 15rem; margin: 0; }
.cu-search > .cu-text-link { align-self: flex-end; padding: 8px 0; }
.cu-place-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 12px; }
.cu-place {
  display: flex; align-items: center; gap: 14px; padding: 14px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.cu-place h3 { margin: 0 0 3px; }
.cu-place-thumb {
  flex: 0 0 50px; width: 50px; height: 50px; display: grid; place-items: center; object-fit: cover;
  border-radius: 8px; background: var(--neutral-soft); color: var(--ink); font-size: 1.15rem; font-weight: 650;
}
.cu-row-venue { color: var(--muted); font-size: .94rem; }
.cu-facts { margin: 0; }
.cu-facts dt { font-size: .92rem; color: var(--muted); margin: 13px 0 3px; }
.cu-facts dd { margin: 0; }
.cu-event-row {
  display: grid; grid-template-columns: 48px minmax(0,1fr) 64px; align-items: center; gap: 16px;
  padding: 15px 0; border-top: 1px solid var(--line);
}
.cu-event-row:last-child { border-bottom: 1px solid var(--line); }
.cu-date {
  align-self: start; display: grid; justify-items: center; align-content: center;
  background: var(--neutral-soft); color: var(--ink); border-radius: 9px; padding: 7px 3px; line-height: 1.05;
}
.cu-date span { color: var(--muted); font-size: .8rem; font-weight: 650; text-transform: uppercase; }
.cu-date b { margin-top: 3px; font-size: 1.45rem; }
.cu-row-status { color: var(--ink); font-weight: 660; font-size: .94rem; }
.cu-event-swatch, .cu-event-art { display: block; width: 100%; aspect-ratio: 1; border-radius: 10px; }
.cu-art-vinyl {
  background: radial-gradient(circle at 74% 26%, #fad4b1 0 2%, #cb7b60 2.4% 18%, transparent 18.4%), repeating-radial-gradient(circle at 74% 26%, #413345 0 3px, #746271 3.5px 5px, #4a3c4c 5.5px 8px);
}
.cu-art-sunset { background: radial-gradient(circle at 66% 38%, #ffe1a0 0 18%, transparent 18.5%), linear-gradient(158deg, #d98e64 5%, #b95e48 51%, #654a57 85%); }
.cu-art-jazz { background: repeating-linear-gradient(67deg, #52654e 0 10px, #a4ae83 10.5px 14px, #3c4e3e 14.5px 23px); }
.cu-event-heading { display: flex; align-items: center; gap: clamp(16px, 3.5vw, 38px); margin: 12px 0 24px; }
.cu-event-heading > div:last-child { min-width: 0; }
.cu-event-art { flex: 0 0 clamp(98px, 18vw, 190px); width: auto; }
.cu-event-heading p + p { margin-top: 4px; }
.cu-event-heading h1 { margin: 8px 0 12px; }
.cu-badge { display: inline-flex; border-radius: 30px; background: var(--neutral-soft); color: var(--ink); padding: 4px 10px; font-size: .84rem; font-weight: 650; }
.cu-badge.cu-live { background: #e0ebd8; color: #2f5c44; }
.cu-badge.cu-ended { color: var(--muted); }
.cu-event-layout { grid-template-areas: 'info entry'; }
.cu-event-entry { grid-area: entry; }
.cu-event-info { grid-area: info; }
.cu-event-info .cu-section:first-child { margin-top: 0; }
.cu-registration { border-color: color-mix(in srgb, var(--accent) 24%, var(--line)); }
.cu-points { padding-left: 1.2em; }
.cu-points li + li { margin-top: 6px; }
.cu-notice { margin-bottom: 9px; }
.cu-notice p + p, .cu-notice .cu-actions { margin-top: 8px; }
.cu-check-code { width: fit-content; padding: 10px 14px; border-radius: 8px; color: var(--ink); background: var(--neutral-soft); font: bold 1.45rem monospace; overflow-wrap: anywhere; }
.cu-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 45%), 1fr)); gap: 10px; margin: 14px 0; }
.cu-media-tile {
  position: relative; padding: 0; width: 100%; aspect-ratio: 4/3; border: 0; border-radius: 12px; background: var(--ink); overflow: hidden; cursor: pointer;
}
.cu-media-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cu-media-tile img, .cu-media-tile video { display: block; width: 100%; height: 100%; object-fit: cover; }
.cu-media-tile span { position: absolute; left: 7px; bottom: 7px; background: rgb(18 19 22 / 86%); color: var(--on-accent); font-size: .85rem; padding: 3px 8px; border-radius: 8px; }
.cu-page .cu-album-caption { margin: 26px 0 0; }
.cu-album-page h1 { margin-top: 6px; }
dialog:has(.cu-lightbox) { width: min(800px, 93vw); max-width: 93vw; }
.cu-lightbox-media img, .cu-lightbox-media video {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 58dvh; margin: 14px auto; border-radius: 10px;
}
.cu-chat-row {
  display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line);
}
.cu-portrait { flex: 0 0 45px; height: 45px; width: 45px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 700; color: var(--ink); background: var(--neutral-soft); }
.cu-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cu-chat-row strong, .cu-chat-row small { display: block; }
.cu-chat-row p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) {
  .cu-columns { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .cu-event-layout { grid-template-areas: 'entry' 'info'; }
  .cu-stack { gap: 10px; }
  .cu-event-art { flex-basis: 84px; border-radius: 12px; }
  .cu-event-heading { align-items: flex-start; gap: 12px; }
  .cu-event-heading h1 { font-size: 2rem; }
  .cu-section { margin: 14px 0 22px; }
  .cu-event-row { grid-template-columns: 38px minmax(0,1fr) 44px; gap: 10px; }
  .cu-home-art { left: 69%; width: max(175px, 47%); }
  .cu-venue-cover, .cu-home-cover { border-radius: 16px; }
  .cu-home-cover { min-height: 157px; }
  .cu-page .cu-home-cover h1 { font-size: clamp(2.45rem, 8.5vw, 3.8rem); }
  .cu-page .cu-diary-cover h1 { font-size: clamp(1.95rem, 7.3vw, 2.8rem); }
  .cu-date b { font-size: 1.25rem; }
}
@media (max-width: 375px) {
  .cu-event-row { grid-template-columns: 38px minmax(0,1fr); }
  .cu-event-swatch { display: none; }
  .cu-event-art { flex-basis: 64px; }
}
