/* "Feels like a real console. Works like a modern one." (index.html #unique) and the 0.6 highlights (features.html).
   One heading over two columns, like a magazine spread: the left half is the ritual you can see and hear, the right half
   what works behind it. No cards: type, rules and white space; the TV clip is the one object. Built on retro.css's
   variables, so Cocoa, Pea, Dark, Light and the Pixel letters all carry over. Pixel sizes stay on the 11 px grid. */

.ln-unique { max-width: 76rem; margin: 1rem auto 3.2rem; padding: 0 var(--margin); scroll-margin-top: 5.5rem; }

/* The heading: the two halves of the sentence stand over their two columns. */
.uq-head { border-top: var(--px) solid var(--text); padding-top: 1.6rem; margin: 0 0 2.2rem; }
.uq-head .eyebrow { margin-bottom: 1rem; }
.ln-unique h2 { font-size: var(--h1); line-height: 1.15; margin: 0 0 1rem; color: var(--text); }
.uq-h-a, .uq-h-b { display: block; }
.uq-h-b { color: var(--amber); }
.uq-lede { font-size: 1.2rem; line-height: 1.5; color: var(--chalk); margin: 0; max-width: 38rem; }

.uq-cols { display: grid; gap: 0; }
.uq-modern { border-top: var(--px) solid var(--text); margin-top: 2.6rem; padding-top: 0.4rem; }
@media (min-width: 60rem) {
  .ln-unique h2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4.4rem; }
  .uq-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 0; }
  .uq-feel { padding-right: 2.2rem; }
  .uq-modern { border-top: 0; margin-top: 0; padding: 0 0 0 2.2rem; border-left: 2px solid var(--rule); }
}

.ln-unique h3 { font-size: var(--h2); line-height: 1.2; margin: 0 0 0.5rem; color: var(--text); }
.ln-unique p { color: var(--chalk); }

/* ---- Left: the ritual ------------------------------------------------------------------------------------------ */
.uq-ritual { scroll-margin-top: 5.5rem; }
.uq-clip { margin: 0 0 1.6rem; }
.uq-clip .frame { aspect-ratio: 16 / 9; }
.uq-ritual > p { margin: 0 0 1.8rem; font-size: 1.08rem; max-width: 34rem; }

/* Hear it: a track list, like the back of a cassette. Each line is a plain link to the MP3; unique.js plays it in place. */
.uq-hear-h { font-family: var(--pixel); font-size: var(--d1); font-weight: 400; color: var(--amber); letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 0.5rem; }
.uq-sounds { list-style: none; margin: 0 0 0.9rem; padding: 0; counter-reset: trk; border-bottom: 1px solid var(--rule); }
.uq-sounds li { margin: 0; border-top: 1px solid var(--rule); counter-increment: trk; }
.uq-snd {
  display: grid; grid-template-columns: 2.2rem 1.2rem minmax(0, 1fr); align-items: center; min-height: 44px; padding: 0 0.5rem 0 0;
  color: var(--text); text-decoration: none; font-weight: 600; cursor: pointer;
}
.uq-snd::before { content: counter(trk, decimal-leading-zero); order: -1; font-family: var(--pixel); font-size: var(--d1); font-weight: 400; color: var(--dust); padding-left: 0.2rem; }
.uq-tri { width: 9px; height: 12px; background: var(--amber); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.uq-snd:hover, .uq-snd:focus-visible { background: var(--spine); color: var(--text); }
.uq-snd:focus-visible { outline: 3px solid var(--text); outline-offset: -3px; }
/* Playing: the flat selection bar, and three bars in place of the triangle. */
.uq-snd.is-playing { background: var(--select); color: var(--on-select); }
.uq-snd.is-playing::before { color: var(--on-select); }
.uq-snd.is-playing .uq-tri {
  clip-path: none; width: 12px; height: 12px; background:
    linear-gradient(currentColor, currentColor) 0 100% / 3px 60% no-repeat,
    linear-gradient(currentColor, currentColor) 50% 100% / 3px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 3px 40% no-repeat;
  animation: uq-bars 0.5s steps(3) infinite alternate;
}
@keyframes uq-bars {
  from { background-size: 3px 60%, 3px 100%, 3px 40%; }
  to { background-size: 3px 100%, 3px 30%, 3px 90%; }
}
@media (prefers-reduced-motion: reduce) { .uq-snd.is-playing .uq-tri { animation: none; } }
.uq-snd.is-soon { opacity: 0.6; cursor: default; }
.ln-unique .uq-fine { font-size: 0.92rem; margin: 0; color: var(--dust); }

/* ---- Right: what works like a modern one -------------------------------------------------------------------------- */
.uq-item { padding: 1.5rem 0 1.6rem; border-top: 1px solid var(--rule); scroll-margin-top: 5.5rem; }
.uq-item:first-of-type { border-top: 0; padding-top: 1.2rem; }
@media (min-width: 60rem) { .uq-item:first-of-type { padding-top: 0; } }
.uq-item p { margin: 0 0 0.8rem; max-width: 34rem; }
.ln-unique .uq-say, .uq-hl .uq-say { font-size: 1.12rem; line-height: 1.4; color: var(--amber); margin: 0 0 0.6rem; font-weight: 600; }
.uq-facts { margin: 0 0 0.9rem; padding: 0; list-style: none; max-width: 34rem; }
.uq-facts li { position: relative; padding-left: 1.3rem; margin: 0 0 0.3rem; color: var(--chalk); }
.uq-facts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--amber); }
.ln-unique .uq-where, .uq-hl .uq-where { font-size: 0.92rem; color: var(--dust); margin: 0; }
.uq-soon { display: inline-block; font-family: var(--pixel); font-size: var(--d1); color: var(--quiet); margin-left: 0.3rem; white-space: nowrap; }
.uq-soon::before { content: ""; display: inline-block; width: 7px; height: 9px; margin-right: 0.45rem; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* ---- features.html: the 0.6 highlights, one per line --------------------------------------------------------------- */
.uq-hl { margin: 1.2rem 0 2.8rem; border-top: var(--px) solid var(--text); scroll-margin-top: 5.5rem; }
.uq-hl > h2 { font-size: var(--h2); margin: 1.4rem 0 0.4rem; color: var(--text); }
.uq-hl > p { margin: 0 0 1rem; color: var(--chalk); max-width: 36rem; }
.uq-hl .uq-item p:not(.uq-say):not(.uq-where) { color: var(--chalk); }
.uq-hl h3 { font-size: var(--h2); line-height: 1.2; margin: 0 0 0.4rem; color: var(--text); }
@media (min-width: 52rem) {
  .uq-hl .uq-item { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 2.6rem; }
  .uq-hl .uq-item:first-of-type { padding-top: 1.5rem; }
  .uq-hl .uq-item > :not(.uq-side) { grid-column: 2; }
  .uq-hl .uq-side { grid-column: 1; grid-row: 1 / span 6; }
}
.uq-hl .uq-item:first-of-type { border-top: 1px solid var(--rule); }

/* Pixel letters: the running words keep the clean sizes (21.11.2026; one grid step up made them a third bigger). */
:root[data-text="pixel"] .uq-lede, :root[data-text="pixel"] .uq-ritual > p, :root[data-text="pixel"] .uq-item p,
:root[data-text="pixel"] .uq-facts li, :root[data-text="pixel"] .uq-snd, :root[data-text="pixel"] .ln-unique .uq-say,
:root[data-text="pixel"] .uq-hl .uq-say, :root[data-text="pixel"] .uq-hl > p { line-height: 1.5; }

/* Photos and RomM: a smaller pair under both columns, the column rule carried on. */
.uq-also { display: grid; border-top: 1px solid var(--rule); margin-top: 1rem; }
.uq-also .uq-item:first-of-type { padding-top: 1.5rem; }
.uq-also .uq-item + .uq-item { border-top: 1px solid var(--rule); }
.uq-also h3 { font-size: var(--d2); }
@media (min-width: 60rem) {
  .uq-also { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 0; }
  .uq-also .uq-item, .uq-also .uq-item:first-of-type { padding: 1.5rem 2.2rem 0 0; }
  .uq-also .uq-item + .uq-item { border-top: 0; border-left: 2px solid var(--rule); padding: 1.5rem 0 0 2.2rem; }
}

/* New in 0.6: the video over the list. */
.uq-hl-clip { max-width: 52rem; margin: 1rem 0 1.8rem; }
.uq-hl-clip .frame { aspect-ratio: 16 / 9; }
