/* The Set List's scene examples (owner, 2026-11-15): real photos of a scene, opened from its row.
 * The list's own construction: the cue sheet's paper, Barriecito titles, Space Mono labels, the row hairlines and the
 * mark button's circle. A native <dialog>, so Escape, focus and the dimmed page are the browser's.
 * Loaded on the Set List only, after site.css, into the layer the Set List lives in. */
@layer sections {
  .song__ex {
    grid-column: 2 / 3; justify-self: start; min-height: 32px; padding: 2px 0;
    font-family: var(--font-mono); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--pink-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  }
  .song__ex:hover { color: var(--ink-2); }

  .scene-ex {
    width: min(100% - 24px, 1080px); max-width: none; max-height: calc(100% - 24px); margin: auto; padding: 0;
    border: 0; border-radius: 6px; color: var(--ink-2); overflow: auto; overscroll-behavior: contain;
    background: linear-gradient(180deg, #fbf3e6, #f2e3cb);
    box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9);
  }
  .scene-ex::backdrop { background: rgba(17, 15, 15, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  html:has(.scene-ex[open]) { overflow: hidden; }
  .scene-ex__sheet { padding: clamp(18px, 2.6vw, 34px); }

  .scene-ex__head {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px;
    padding-bottom: 14px; border-bottom: 1px solid rgba(26, 26, 26, .14);
  }
  .scene-ex__kicker { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(26, 26, 26, .62); }
  .scene-ex__title { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; }
  .scene-ex__head .song__price { grid-column: 1; grid-row: auto; justify-self: start; text-align: left; }
  .scene-ex__head .song__price strong { display: inline; margin-left: 8px; }
  .scene-ex__close {
    grid-column: 2; grid-row: 1 / span 3; align-self: start; width: 52px; height: 52px; border-radius: 50%;
    border: 2px solid rgba(26, 26, 26, .3); display: grid; place-items: center; color: var(--ink-2);
    font-family: var(--font-mono); font-size: 1.5rem; line-height: 1;
    transition: border-color .25s, transform .35s var(--ease-spring);
  }
  .scene-ex__close:hover { border-color: var(--pink); transform: scale(1.06); }
  .scene-ex__intro { margin: 14px 0 4px; max-width: 46rem; font-size: .95rem; color: rgba(26, 26, 26, .72); }

  .scene-ex__show {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.75fr); gap: 14px clamp(20px, 3vw, 36px);
    align-items: start; padding: 16px 0; border-top: 1px solid rgba(26, 26, 26, .14);
  }
  .scene-ex__intro + .scene-ex__show { border-top: 0; }
  .scene-ex__place { font-family: var(--font-mono); font-size: .8rem; color: var(--pink-deep); }
  .scene-ex__couple { font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.02; margin-top: 2px; }
  .scene-ex__venue { margin-top: 6px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(26, 26, 26, .62); }
  .scene-ex__note { margin-top: 10px; font-size: .92rem; line-height: 1.5; color: rgba(26, 26, 26, .74); }
  .scene-ex__parts { margin: 12px 0 0; display: grid; gap: 6px; font-size: .88rem; line-height: 1.45; color: rgba(26, 26, 26, .8); }
  .scene-ex__parts div { display: grid; grid-template-columns: 5.8rem minmax(0, 1fr); gap: 8px; }
  .scene-ex__parts dt { padding-top: .15em; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(26, 26, 26, .55); }
  .scene-ex__parts dd { margin: 0; }
  .scene-ex__credit { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: .84rem; color: rgba(26, 26, 26, .62); }
  .scene-ex__credit a { color: var(--pink-deep); }
  .scene-ex__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .scene-ex__img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--cream-3); }

  @media (max-width: 860px) {
    .scene-ex__show { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 560px) {
    .song__ex { grid-column: 1; }
    .scene-ex__photos { grid-template-columns: minmax(0, 1fr); }
    .scene-ex__close { width: 46px; height: 46px; }
  }
}
