/* THE SHOOTING GUIDE (3 Oct 2026). Onyx Bronze, dark: a screening room for the samples.
   One easing, two durations. Hover only on a real mouse. Press feedback everywhere. */

:root {
  --bg: #120A06;
  --bg-2: #1D120A;
  --bg-3: #2A1A10;
  --line: rgba(247, 240, 232, .09);
  --fg: #F7F0E8;
  --fg-2: #D9CBBB;
  --fg-3: #A8957F;
  --cu: #E8A374;
  --cu-2: #C4693A;
  --ok: #8CC7A6;
  --no: #E99A86;
  --e: cubic-bezier(.22, 1, .36, 1);
  --d1: 160ms;
  --d2: 260ms;
  --gut: 16px;
  --bar-h: 0px;
}

/* The site's own navbar (light, fixed, 72 px) and footer (dark) come from js/components.js and css/styles.css.
   Everything below is scoped to body.sg so nothing leaks into the shared parts. */
html:has(body.sg) {
  background: var(--bg);
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 150px;
}
body.sg {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--n-font-sans);
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
.sg ::selection { background: var(--cu-2); color: var(--fg); }
.sg main button { font: inherit; color: inherit; }
.sg .foot a { color: var(--fg-3); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.sg .foot a:hover { color: var(--fg-2); }
.sg main button, .sg main a, .sg main [role="button"] { touch-action: manipulation; }
.sg main button { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.sg main :focus-visible { outline: 2px solid var(--cu); outline-offset: 3px; border-radius: 10px; }
.skip { color: var(--bg); }
.press { transition: transform var(--d1) var(--e), background-color var(--d1) var(--e), color var(--d1) var(--e), opacity var(--d1) var(--e); }
.press:active { transform: scale(.98); }

.skip { position: absolute; left: -999px; top: 80px; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 10px; z-index: 30; }
.skip:focus { left: 8px; }

/* ── the two switches: Cards | Table (very top), All · Solo · With another person ── */
.seg { display: inline-flex; max-width: 100%; padding: 3px; border-radius: 999px; background: rgba(247, 240, 232, .07); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button {
  flex: none; min-height: 44px; min-width: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  color: var(--fg-2); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.topbar { display: flex; justify-content: flex-end; padding-top: 18px; }
.cats { margin-top: 22px; }

/* ── hero ──────────────────────────────────────────────── */
.sg main { max-width: 1320px; margin: 0 auto; padding: 72px max(var(--gut), env(safe-area-inset-right, 0px)) 0 max(var(--gut), env(safe-area-inset-left, 0px)); }
.hero { padding: 12px 0 8px; }
h1 {
  margin: 0; font-family: 'Inter Display', var(--n-font-sans); font-weight: 700;
  font-size: clamp(36px, 9vw, 64px); line-height: 1.02; letter-spacing: -.035em; color: var(--fg);
}
h1 em { letter-spacing: -.01em; }
.sub { margin: 14px 0 0; max-width: 46ch; color: var(--fg-2); font-size: 16px; line-height: 1.5; }

/* ── filters: a bar at the thumb on the phone, a row under the title on the laptop ── */
.filters { display: flex; align-items: center; gap: 12px; }
.count { margin: 0; flex: none; color: var(--fg-3); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.count b { color: var(--fg); font-weight: 600; }
.chips { display: flex; gap: 8px; }
.chip {
  flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(247, 240, 232, .08); color: var(--fg-2); font-size: 14px; font-weight: 600; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.chip svg { width: 14px; height: 14px; display: none; }
.chip[aria-pressed="true"] svg { display: block; }
.chip.clear { background: transparent; color: var(--cu); padding: 0 10px; }

@media (max-width: 767px) {
  :root { --bar-h: 104px; }
  .filters {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(18, 10, 6, .86);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 -1px 0 var(--line), 0 -12px 32px -12px rgba(0, 0, 0, .6);
  }
  .count { padding: 0 var(--gut); }
  .chips {
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    padding: 0 var(--gut); scroll-padding: 0 var(--gut); scroll-snap-type: x proximity;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; }
}
@media (min-width: 768px) {
  .filters { position: sticky; top: 72px; z-index: 15; padding: 14px 0; flex-wrap: wrap; justify-content: space-between; flex-direction: row-reverse; background: linear-gradient(var(--bg) 70%, rgba(18, 10, 6, 0)); }
  .chips { flex-wrap: wrap; }
}

/* ── the wall ──────────────────────────────────────────── */
.group-h { display: flex; align-items: baseline; gap: 12px; margin: 36px 0 16px; }
.group-h h2 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.group-h span { color: var(--fg-3); font-size: 13px; }
.group-p { margin: -8px 0 18px; color: var(--fg-2); max-width: 60ch; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 14px; }
@media (min-width: 768px) { .wall { grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); gap: 36px 20px; } }

.card { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.shot {
  position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 1px 0 rgba(247, 240, 232, .05) inset, 0 18px 36px -18px rgba(0, 0, 0, .7);
}
.shot img, .shot svg.frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 10, 6, .55) 0%, rgba(18, 10, 6, 0) 26%, rgba(18, 10, 6, 0) 70%, rgba(18, 10, 6, .55) 100%); pointer-events: none; }
.num {
  position: absolute; z-index: 2; top: 10px; left: 10px; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px;
  display: grid; place-items: center; background: rgba(18, 10, 6, .72); color: var(--fg); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.play {
  position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 999px;
  display: grid; place-items: center; background: rgba(247, 240, 232, .92); color: var(--bg);
}
.play svg { width: 14px; height: 14px; margin-left: 2px; }
.two { position: absolute; z-index: 2; left: 10px; bottom: 14px; font-size: 12px; font-weight: 600; color: var(--fg); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.card .name { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--fg); }
.card .facts { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.card[aria-expanded="true"] .shot { box-shadow: 0 0 0 2px var(--cu), 0 18px 36px -18px rgba(0, 0, 0, .7); }

@media (hover: hover) and (pointer: fine) {
  .card .shot { transition: transform var(--d2) var(--e), box-shadow var(--d2) var(--e); }
  .card:hover .shot { transform: translateY(-3px); }
  .chip:hover { background: rgba(247, 240, 232, .14); }
  .chip[aria-pressed="true"]:hover { background: var(--fg-2); }
  .seg button:hover { color: var(--fg); }
  .row:hover td { background: rgba(247, 240, 232, .04); }
  .row:hover th { background: #1F140C; }
  .x:hover, .pick:hover { background: rgba(247, 240, 232, .14); }
}


/* ── the open style: under its row, the video plays right there ── */
.open {
  grid-column: 1 / -1; scroll-margin-top: 76px;
  display: grid; gap: 20px 28px; padding: 20px 0 8px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .open { grid-template-columns: minmax(280px, 380px) 1fr; padding: 28px 0 20px; align-items: start; }
  .player { position: sticky; top: 156px; }
  .player .stage { max-height: calc(100svh - 260px); width: min(100%, calc((100svh - 260px) * 9 / 16)); }
}
.player { display: flex; flex-direction: column; gap: 10px; }
.player .stage { position: relative; aspect-ratio: 9 / 16; width: 100%; max-height: 74svh; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #000; }
/* on the phone the whole video, controls included, fits between the top bar and the filter bar */
@media (max-width: 899px) {
  .player .stage { --h: calc(100svh - 170px - var(--bar-h)); max-height: var(--h); width: min(100%, calc(var(--h) * 9 / 16)); }
}
.player video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.player .stage.ig { background: #fff; }
.player .frame-big { width: 100%; height: 100%; display: block; }
.picks { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; }
.picks::-webkit-scrollbar { display: none; }
.pick { flex: none; scroll-snap-align: start; white-space: nowrap; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(247, 240, 232, .08); color: var(--fg-2); font-size: 13px; font-weight: 600; cursor: pointer; }
@media (min-width: 900px) {
  .picks { flex-direction: column; overflow: visible; }
  .pick { white-space: normal; text-align: left; border-radius: 12px; padding: 8px 14px; }
  .player:has(.picks) .stage { max-height: calc(100svh - 420px); width: min(100%, calc((100svh - 420px) * 9 / 16)); min-height: 380px; min-width: 214px; }
}
.pick[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.credit { margin: 0; text-align: center; color: var(--fg-3); font-size: 12.5px; }

.info { min-width: 0; }
.info-h { display: flex; align-items: flex-start; gap: 12px; }
.info-h h2 { margin: 0; flex: 1; font-size: clamp(22px, 5.4vw, 30px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; }
.x { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(247, 240, 232, .08); display: grid; place-items: center; cursor: pointer; }
.x svg { width: 16px; height: 16px; }

/* three thin bars under the name */
.scores { display: grid; gap: 6px; margin: 14px 0 0; max-width: 460px; }
.score { display: grid; grid-template-columns: 9.5em 1fr 2.2em; align-items: center; gap: 12px; }
.score span { color: var(--fg-3); font-size: 13px; }
.score b { text-align: right; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.meter { height: 3px; border-radius: 3px; background: rgba(247, 240, 232, .1); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--cu); }

/* four short blocks */
.blocks { display: grid; gap: 0 28px; margin-top: 18px; }
@media (min-width: 640px) { .blocks { grid-template-columns: 1fr 1fr; } }
.block { padding: 14px 0 16px; border-top: 1px solid var(--line); }
.block h3 { margin: 0 0 6px; color: var(--cu); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.block p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.45; }
.block p + p { margin-top: 4px; }
.block p b { color: var(--fg-3); font-weight: 600; margin-right: 4px; }
.block .big { color: var(--fg); font-size: 16px; font-weight: 600; }
.block .soft { color: var(--fg-3); font-weight: 600; }
.block .pro, .block .con { display: flex; gap: 10px; align-items: baseline; color: var(--fg); }
.block .pro svg, .block .con svg { flex: none; width: 11px; height: 11px; transform: translateY(1px); }
.block .pro svg { color: var(--ok); }
.block .con svg { color: var(--no); }
.watch { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px !important; padding: 10px 12px; border-radius: 10px; background: rgba(232, 163, 116, .1); color: var(--fg) !important; }
.watch svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--cu); }

svg.frame text, svg.frame-big text { font-family: var(--n-font-sans); font-weight: 600; }

/* ── compare: a plain table ── */
.compare-wrap { margin-top: 20px; }
.tscroll { overflow-x: auto; overscroll-behavior-x: contain; border-radius: 14px; background: var(--bg-2); -webkit-overflow-scrolling: touch; }
.tscroll::-webkit-scrollbar { height: 8px; }
.tscroll::-webkit-scrollbar-thumb { background: rgba(247, 240, 232, .18); border-radius: 8px; }
table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1120px; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { padding: 12px 9px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-3); color: var(--fg-3); font-size: 12px; font-weight: 600; white-space: nowrap; }
tbody th { position: sticky; left: 0; z-index: 1; background: var(--bg-2); color: var(--fg); font-weight: 600; width: 170px; min-width: 150px; box-shadow: 1px 0 0 var(--line); }
thead th:first-child { position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 0 var(--line); }
th.n, td.n { text-align: right; }
td { color: var(--fg-2); white-space: nowrap; }
td small { display: block; margin-top: 2px; color: var(--fg-3); font-size: 12.5px; }
td.n { color: var(--fg); font-weight: 600; }
td.c { text-align: center; }
tr.gh th { background: var(--bg-3); color: var(--cu); font-size: 13px; padding-top: 16px; padding-bottom: 10px; }
tr.gh td { background: var(--bg-3); }
@media (max-width: 767px) { tbody th { width: 140px; min-width: 140px; } table { min-width: 1040px; font-size: 13.5px; } }
.row { cursor: pointer; }
.row:active td, .row:active th { background: #26180F; }
.tnote { margin: 10px 2px 0; color: var(--fg-3); font-size: 13px; }

.empty { padding: 48px 0; text-align: center; color: var(--fg-2); }
.empty button { margin-top: 12px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--fg); color: var(--bg); font-weight: 600; cursor: pointer; }
.err { padding: 48px 0; color: var(--fg-2); }

.foot { margin: 56px 0 32px; color: var(--fg-3); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  .press, .card .shot, .shot img { transition-property: opacity, background-color, color; }
  .press:active { transform: none; }
  @media (hover: hover) and (pointer: fine) { .card:hover .shot { transform: none; } }
}
@media (prefers-reduced-transparency: reduce) {
  .filters { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Nasser's curiosity tags (3 Oct 2026): High in copper, Medium quieter, nothing when there is no rating */
.cur { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; vertical-align: middle; }
.cur-high { background: rgba(232, 163, 116, .16); color: var(--cu); }
.cur-medium { background: rgba(247, 240, 232, .07); color: var(--fg-2); }
.card .cur { margin-top: 10px; }
.card .cur + .name { margin-top: 6px; }
.info-h h2 .cur { margin-left: 10px; transform: translateY(-3px); }
td.cq-high { color: var(--cu); font-weight: 600; }
td.cq-medium { color: var(--fg); }
td.cq-none { color: var(--fg-3); }
.block .why { margin-top: 8px; color: var(--fg); }
.block .why b { color: var(--cu); }

/* Nasser's second review (3 Oct 2026): what a type is good for, as quiet word-tags beside the curiosity tag */
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.card .tags { margin-top: 10px; }
.card .tags + .name { margin-top: 6px; }
.card .tags .cur { margin-top: 0; }
.ctag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--fg-2); box-shadow: inset 0 0 0 1px rgba(247, 240, 232, .14); }
.info-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.info-name h2 { margin: 0; font-size: clamp(22px, 5.4vw, 30px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; }
.works { color: var(--fg-3); font-size: 13px; }
td.gf { color: var(--fg); line-height: 1.5; }

td.w { white-space: normal; min-width: 84px; max-width: 112px; }

/* Public cards with an Instagram code carry Instagram's own player, clipped to the reel (3 Oct 2026, night).
   The drawn frame stays underneath as the skeleton until the player has loaded. */
.igslot { position: absolute; inset: 0; z-index: 1; overflow: hidden; opacity: 0; transition: opacity var(--d2) var(--e); background: transparent; }
.igslot.in { opacity: 1; }
.igslot iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #000; }
.ig-card .shot::after { display: none; }
.card-open { display: block; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.card.is-open .shot { box-shadow: 0 0 0 2px var(--cu), 0 18px 36px -18px rgba(0, 0, 0, .7); }
.soon { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--fg-3); font-style: italic; }
@media (prefers-reduced-motion: reduce) { .igslot { transition: none; } }

/* Public cards with a hosted sample (Nasser's colleagues, 3 Oct 2026 night): the real poster, a tap plays it there */
.cardvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.playbtn { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.playbtn[hidden] { display: none; }
.host-card .shot:has(.playbtn[hidden])::after { display: none; }

/* Nasser's review of the live page (3 Oct 2026, late): still pictures on the wall, details below, play on tap */
.cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 16px 14px 20px; background: #1D120A; }
.cover i { display: block; width: 36px; height: 2px; background: var(--cu-2); }
.cover b { color: var(--fg); font-size: clamp(18px, 4.6vw, 24px); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.stage .still { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; display: block; }
.stage .still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.play.big { right: auto; bottom: auto; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.play.big svg { width: 22px; height: 22px; margin-left: 4px; }
.stage.none { aspect-ratio: auto; height: auto; max-height: none; background: var(--bg-2); border-radius: 14px; }
.stage.none .coming { margin: 0; padding: 22px 18px; color: var(--fg-2); font-weight: 600; text-align: center; }
.player:has(.stage.none) { position: static; }
tr.open-row > td { padding: 0; white-space: normal; background: var(--bg); border-bottom: 1px solid var(--line); }
tr.open-row .open { position: sticky; left: 0; padding-left: 14px; padding-right: 14px; border: 0; box-sizing: border-box; }
tr.open-row .player { top: 156px; }
.row.is-open th, .row.is-open td { background: #26180F; }

.shot:has(.cover)::after { display: none; }

/* YouTube's player, loaded hidden under the still when the details open (3 Oct 2026, late night) */
.stage iframe.ytpre { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 0; background: #000; }
.stage .still { z-index: 1; }

/* ════ THE PHONE (up to 640 px), 3 Oct 2026 late night: Nasser "on mobile the UI/UX is shit". The laptop is unchanged. ════ */
.tags-on, .tline, .ptime, .score .sm, .cover em { display: none; }
.score .lg { font-style: normal; }

@media (max-width: 640px) {
  /* the wall: two cards a row; tags as small pills on the picture; under it the name (two lines) and the time */
  .card > .tags, .card .facts, .card .soon { display: none; }
  .tags-on { display: flex; flex-wrap: wrap; gap: 4px; position: absolute; z-index: 2; top: 8px; left: 8px; right: 8px; pointer-events: none; }
  .tags-on .tags { gap: 4px; }
  .tags-on .cur, .tags-on .ctag {
    height: 20px; padding: 0 7px; font-size: 10.5px; border-radius: 999px; box-shadow: none;
    background: rgba(18, 10, 6, .74); color: var(--fg); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  .tags-on .cur-high { color: var(--cu); }
  .card .name { margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tline { display: block; margin-top: 3px; font-size: 12.5px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
  .cover em { display: block; font-style: normal; font-size: 12px; font-weight: 600; color: var(--fg-3); }
  .cover { padding-top: 64px; }

  /* the opened type: a compact block, not a poster */
  .open {
    position: relative; margin-top: -16px; padding: 14px 14px 4px; border: 0; border-radius: 16px; background: var(--bg-2);
    display: grid; grid-template-columns: min(36%, 150px) minmax(0, 1fr); column-gap: 14px; row-gap: 0; align-items: start;
  }
  .open::before {
    content: ''; position: absolute; top: -7px; left: calc(var(--notch, 50%) - 7px); width: 14px; height: 14px;
    background: var(--bg-2); transform: rotate(45deg); border-radius: 2px;
  }
  tr.open-row .open::before { display: none; }
  .open .player, .open .info { display: contents; }
  .open .picks { grid-column: 1 / -1; grid-row: 5; margin: 12px 0 0; }
  .open .stage {
    grid-column: 1; grid-row: 1 / span 4; width: 100%; max-width: 150px; max-height: none; aspect-ratio: 9 / 16;
    border-radius: 12px; margin: 0;
  }
  .open .stage.none { aspect-ratio: auto; border-radius: 12px; background: rgba(247, 240, 232, .06); }
  .open .stage.none .coming { padding: 18px 8px; font-size: 13px; }
  .open .play.big { width: 40px; height: 40px; }
  .open .play.big svg { width: 14px; height: 14px; margin-left: 2px; }
  .open .info-h { grid-column: 2; grid-row: 1; display: block; padding-right: 40px; }
  .open .info-name { gap: 6px; }
  .open .info-name h2 { font-size: 18px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .open .info-name .tags { gap: 4px; }
  .open .info-name .cur, .open .info-name .ctag { height: 20px; font-size: 10.5px; padding: 0 7px; }
  .open .works { display: none; }
  .open .x { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; background: rgba(247, 240, 232, .08); }
  .open .scores { grid-column: 2; grid-row: 2; margin: 10px 0 0; gap: 4px; max-width: none; }
  .open .score { grid-template-columns: 4.9em minmax(0, 1fr) 1.7em; gap: 6px; }
  .open .score span { font-size: 11.5px; }
  .open .score b { font-size: 12.5px; }
  .open .score .lg { display: none; }
  .open .score .sm { display: inline; font-style: normal; }
  .ptime { display: block; grid-column: 2; grid-row: 3; margin: 8px 0 0; font-size: 12.5px; font-weight: 600; color: var(--fg-2); }
  .open .blocks { grid-column: 1 / -1; grid-row: 6; margin-top: 12px; grid-template-columns: 1fr; }
  .open .block { padding: 12px 0 12px; }
  .open .block p { font-size: 14px; }
  tr.open-row .open { padding-left: 14px; padding-right: 14px; margin: 8px 0; }

  /* the bottom filter bar never covers an open type */
  .filters { transition: transform 180ms var(--e); }
  body.type-open .filters, body.sheet-up .filters { transform: translateY(110%); }

  /* the player sheet: the stage itself, fitted to the screen, over a dark backdrop */
  html.sheet-lock, html.sheet-lock body { overflow: hidden; }
  .sheet-back { position: fixed; inset: 0; z-index: 1090; background: rgba(8, 5, 3, .94); overscroll-behavior: contain; touch-action: none; }
  .open .stage.in-sheet {
    --sh: min(calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 96px), calc((100vw - 32px) * 16 / 9));
    position: fixed; z-index: 1100; left: 50%; top: calc(50% + 10px); transform: translate(-50%, -50%);
    height: var(--sh); width: calc(var(--sh) * 9 / 16); max-width: none; max-height: none; aspect-ratio: auto;
    border-radius: 14px; box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
  }
  .sheet-x {
    position: fixed; z-index: 1110; top: calc(env(safe-area-inset-top, 0px) + 10px); right: calc(env(safe-area-inset-right, 0px) + 12px);
    width: 44px; height: 44px; border-radius: 999px; border: 0; display: grid; place-items: center; cursor: pointer;
    background: rgba(247, 240, 232, .16); color: var(--fg);
  }
  .sheet-x svg { width: 18px; height: 18px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .filters { transition: none; } }
