/* Infinite Massive Music: Coming soon.
   The poster fills the screen in one of three versions (wide, tall, phone), each on a stage of its
   own proportions. What the page sets on it stands at the poster's own coordinates: "An invisioner
   live stream" under the title's rule, where the poster had "An invisioner album"; and under the
   laurels one group, the typed line and the release line, its middle halfway between the laurels'
   foot and the foot of what the screen shows of the poster. */

@font-face {
  font-family: 'Cinzel';
  src: url('../fonts/cinzel.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* The typed line's type is appcuarium-web's own, exactly: its src/styles.css sets the line (.brand
   .prompt) in var(--body), 'Manrope Variable', system-ui, sans-serif, at the body's weight, 400,
   from @fontsource-variable/manrope 5.3.0 (src/main.tsx imports it). Its two Latin files, the
   package's own bytes, with the package's unicode ranges; licence: fonts/OFL-Manrope.txt. */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The poster's release line is set in Oswald Medium (fonts/OFL-Oswald.txt; tools/oswald_woff2.py). */
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #cfc9c4; /* the poster's warm silver */
  --ink-bright: #d2cbc7; /* its "An invisioner album", measured */
  --ink-release: #b0aeae; /* its release line, measured */
  --night: #0d102f; /* the bokeh's darkest blue */
  --vh: 100vh;
  --full: 100vh;
  color-scheme: dark;
}

@supports (height: 100dvh) {
  :root {
    --vh: 100dvh;
  }
}

/* The screen's box as tall as the screen with the browser's bars away, as the Appcuarium site's
   layer is (owner 2026-12-01: "fill the full iphone screen with the background, check how appcuarium
   website does it"): on an iPhone its blurred backdrop runs on under Safari's bars; the poster and
   all on it stay placed by the screen the bars leave (--vh), as before. */
@supports (height: 100lvh) {
  :root {
    --full: 100lvh;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  /* The poster's foot is this navy, so what Safari shows under its bottom bar continues the poster (the
     blurred whole poster here showed its pink there: owner 2026-12-01, "wrong background"). */
  background: #080a1e; /* the poster's foot, measured on an iPhone (owner 2026-12-01: "make the background below the navbar on iphone darker blue") */
  color: var(--ink);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}

/* Safari looks under its bottom bar when the page loads, before the poster is drawn, sees only the
   flat colour and keeps it there until a fixed element's filter changes. Once the poster is drawn
   (index.html sets .is-drawn), this hair's change of blur makes it look again, as the Appcuarium
   page does with its depth gauge (its implementer, 2026-12-01: blur(9.9px) over 0.1 s). */
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  filter: blur(10px);
  transition: filter 0.1s;
  pointer-events: none;
}

.is-drawn body::after {
  filter: blur(9.9px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.screen {
  position: fixed;
  inset: 0 0 auto;
  height: var(--full);
  overflow: hidden;
}

/* Around a version that does not fill the screen: itself, tiny and blurred. */
.backdrop {
  position: absolute;
  inset: -8%;
  display: block;
}

.backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(32px) brightness(0.85);
}

/* --- The stage ------------------------------------------------------------------------------
   As large as covers the screen, but never more than `--over` times what would show it whole: past
   that the backdrop shows around it. `--px` and `--py` say which part stays in view when it is
   cropped (0 the left or top edge, 1 the right or bottom). */

.stage {
  --w: 3344;
  --h: 1882;
  --r: calc(var(--w) / var(--h));
  --px: 0.12;
  --py: 0.1;
  --over: 1.4;
  --sw: min(max(100vw, var(--vh) * var(--r)), var(--over) * min(100vw, var(--vh) * var(--r)));
  /* In the version's own pixels (tools/compose.py prints them): the middle of the poster's type
     (--mid), the laurels' foot (--foot); "An invisioner live stream", where the poster had its
     album line (--by-top, the capitals' top; --by-size); the typed line's type and width
     (--line-size, --line-wide); the release line's type (--rel-size); on the wide poster, the
     laurels' row, first laurel to last, as wide as the group may be (--row). */
  --mid: 759.5;
  --foot: 1273;
  --by-top: 948;
  --by-size: 35.911;
  --line-size: 34;
  --line-wide: 1240;
  --rel-size: 19.753;
  --row: 1120;
  position: absolute;
  width: var(--sw);
  height: calc(var(--sw) / var(--r));
  left: calc((100vw - var(--sw)) * var(--px));
  top: calc((var(--vh) - var(--sw) / var(--r)) * var(--py));
  container-type: size;
}

.stage picture,
.stage img {
  display: block;
  width: 100%;
  height: 100%;
}

.stage img {
  object-fit: cover;
}

/* Tall screens: portrait monitors and tablets. The version is 3:4, its middle 1440 columns all a
   9:16 screen sees; from 9:16 to 3:4 it covers the screen, cropped at the sides only. */
@media (max-aspect-ratio: 1/1) {
  .stage {
    --w: 1920;
    --h: 2560;
    --px: 0.5;
    --py: 0.5;
    --over: 1.42;
    --mid: 956.9;
    --foot: 2270.4;
    --by-top: 1936.1;
    --by-size: 36.938;
    --line-size: 35;
    --line-wide: 1300;
    --rel-size: 20.318;
  }
}

/* Nearly square: cropped any more at its top and foot it would lose the room under the laurels
   (at 1.13 the group had 76 px of it at 1000 x 1100, less than it is tall), so past 0.85 the
   backdrop shows at its sides. */
@media (min-aspect-ratio: 85/100) and (max-aspect-ratio: 1/1) {
  .stage {
    --py: 0.55;
    --over: 1.06;
  }
}

/* Short phones (9:16, such as an iPhone SE, or a phone behind its browser's bars), by their width.
   On a phone the typed line and the release line are larger than the poster's type was (its
   release line would be 5 px): at 390 px the line is 12 px, the release line 10. */
@media (max-width: 480px) and (max-aspect-ratio: 3/4) {
  .stage {
    --w: 1170;
    --h: 2080;
    --px: 0.5;
    --py: 0.75;
    --over: 1.16;
    --mid: 582.5;
    --foot: 1800.3;
    --by-top: 1534.5;
    --by-size: 30.011;
    --line-size: 36;
    --line-wide: 1060;
    --rel-size: 30;
  }
}

/* Phones held upright (9:19.5). */
@media (max-aspect-ratio: 51/100) {
  .stage {
    --w: 1170;
    --h: 2532;
    --px: 0.5;
    --py: 0.6;
    --over: 1.2;
    --mid: 582.5;
    --foot: 2172.3;
    --by-top: 1906.5;
    --by-size: 30.011;
    --line-size: 36;
    --line-wide: 1060;
    --rel-size: 30;
  }
}

/* Only where the backdrop shows beside a version are the version's edges faded into it. */
@media (min-aspect-ratio: 85/100) and (max-aspect-ratio: 1/1), (max-width: 480px) and (min-aspect-ratio: 65/100) and (max-aspect-ratio: 3/4) {
  .stage {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent), linear-gradient(180deg, transparent, #000 1.5%, #000 98.5%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent), linear-gradient(180deg, transparent, #000 1.5%, #000 98.5%, transparent);
    mask-composite: intersect;
  }
}

/* A length in the version's own pixels, on the stage. */
.stage > * {
  --u: calc(100cqw / var(--w));
}

/* --- An invisioner live stream ---------------------------------------------------------------
   In the poster's place and type for its album line: Cinzel 600, its capitals 27 px tall on the
   wide poster, tracked 0.379 em, in its silver (fitted to the poster's own pixels: the capitals'
   box to the pixel, mean difference 7.3 of 255). The rule above it is the poster's. */

.byline {
  position: absolute;
  left: calc(var(--mid) * var(--u));
  /* Cinzel's capitals stand 0.044 em under the top of a line of height 1. */
  top: calc(var(--by-top) * var(--u) - 0.0437em);
  margin: 0;
  font: 600 calc(var(--by-size) * var(--u)) / 1 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  letter-spacing: 0.3788em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-bright);
  /* Centred on its letters: the tracking after the last one is not counted. */
  transform: translateX(calc(-50% + 0.1894em));
}

/* --- The group under the laurels ---------------------------------------------------------------
   Its middle halfway between the laurels' foot and the foot of what shows of the stage: the
   screen's foot, or the stage's own where the stage ends above it. */

.group {
  --stage-top: calc((var(--vh) - var(--sw) / var(--r)) * var(--py));
  /* The room under the laurels, the clear space kept above and below the group in it, and the
     group's own unit (--gu): the version's pixel, as everywhere, unless the room is too short for
     the group (--k: the group's height in the version's pixels), as on 21:9 screens and short
     phones; there the group is set smaller, so that it never touches the laurels or the foot. */
  --room: calc(min(100cqh, var(--vh) - var(--stage-top)) - var(--foot) * var(--u));
  --clear: max(8px, var(--room) * 0.1);
  --k: 161;
  --gu: min(var(--u), (var(--room) - 2 * var(--clear)) / var(--k));
  position: absolute;
  left: calc(var(--mid) * var(--u));
  top: calc((var(--foot) * var(--u) + min(100cqh, var(--vh) - var(--stage-top))) / 2);
  width: min(calc(var(--line-wide) * var(--u)), 100vw - 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--line-size) * var(--gu) * 0.55);
  transform: translate(-50%, -50%);
}

/* The typed line's place: as tall as the room it keeps (js/line.js sets it). The line itself is
   drawn on .line-shown, over the poster, by appcuarium-web's own code. */
.line-slot {
  position: relative;
  width: 100%;
  height: calc(var(--line-size) * var(--gu) * 1.6);
  font-size: calc(var(--line-size) * var(--gu));
}

/* The unseen block the original lays the line out in (appcuarium-web, src/styles.css: .brand,
   .lead-room, .prompt, .lead-probe), centred on the slot, RES times larger (js/line.js). */
.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% * var(--line-res, 1));
  display: grid;
  justify-items: center;
  text-align: center;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  translate: -50% -50%;
}

/* The logo block's place for a logo this page does not draw there (tools/line/src/i18n.ts). */
.brand .logo-stacked {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
}

.brand .lead-room {
  justify-self: stretch;
}

.brand .prompt {
  margin: 0 auto;
  /* appcuarium-web's type for the line, its face and weight (above); only the size is the poster's. */
  font: 400 calc(var(--line-size) * var(--gu) * var(--line-res, 1)) / 1.6 'Manrope Variable', system-ui, sans-serif;
}

.brand .lead-probe {
  position: absolute;
  left: 0;
  right: 0;
  visibility: hidden;
}

/* The strip the original draws the line into, white on black, shown at one of its pixels to one of
   the screen's (js/line.js places it), in the poster's silver, screened onto the poster. */
.line-shown {
  position: absolute;
  left: 0;
  top: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  /* Its pixels are the screen's, one to one (js/line.js sizes it so): nothing is to be smoothed.
     Without this, Chrome resampled the strip where its CSS width came to a half pixel (an odd
     number of device pixels at 2x), and the line came out soft (measured: edge 0.52 against 0.95
     in the canvas itself, at 2560 x 1440 at 2x). */
  image-rendering: pixelated;
}

/* Where motion is kept low: the last phrase, standing, as real text. */
.line-still {
  display: none;
}

.line-slot.is-still .line-still {
  display: block;
  font: 400 1em / 1.6 'Manrope Variable', system-ui, sans-serif;
  text-align: center;
  color: var(--ink-bright);
  white-space: nowrap;
}

/* The release line, in the poster's type for it: Oswald Medium, its capitals 16 px tall on the
   wide poster, tracked 0.314 em, in its grey silver (fitted as the byline: mean difference 5.4 of
   255), with the label's mark before it and the live stream's button after it. */
.release {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7em 1.4em;
  font-size: calc(var(--rel-size) * var(--gu));
}

/* On a tall screen the poster's column is the screen's middle: the release row may be wider than
   the typed line's room, up to the screen's width less its gutters, so that it stays one row where
   the screen has the width (at 768 x 1024 and 1000 x 1100 it wrapped by 3 px, and the group, two
   rows taller, no longer fitted under the laurels). */
@media (max-aspect-ratio: 1/1) {
  .group {
    --k: 166;
  }

  .release {
    width: max-content;
    max-width: calc(100vw - 32px);
  }
}

/* Wide screens up to 2:1 (laptops, monitors, tablets held sideways): the group as large as its room
   and the poster's column let it be, as one unit. It is as tall as the room less its clear space
   above and below (--clear), and never wider than the laurels' row (--row): its release in two
   rows, the artist and the label's row over "Listen live". Its height and width in the release
   line's type: the typed line's slot and the gap under it 2.15 of the line's size, then the avatar
   4.4, the gap 0.7 and the button 2.3 (never under its 30 px); the artist and the label's row 40.9
   wide. (On a 1728 x 1000 laptop the group, 102 px tall in a room of 324, was a third of it.) Wider
   screens (21:9, phones held sideways), lower ones, tall ones and phones keep the group above: their
   room is too short for it to grow within the laurels' row (two rows would be 2 to 7 % smaller on
   an iPad upright, 29 % on an iPhone held sideways). */
@media (min-aspect-ratio: 1001/1000) and (max-aspect-ratio: 2/1) and (min-height: 360px) {
  body:not(.version) .group {
    --gu: min((var(--room) - 2 * var(--clear)) / (2.15 * var(--line-size) + 7.4 * var(--rel-size)), (var(--room) - 2 * var(--clear) - 30px) / (2.15 * var(--line-size) + 5.1 * var(--rel-size)), var(--row) * var(--u) / (40.9 * var(--rel-size)));
  }

  body:not(.version) .release {
    flex-direction: column;
  }
}

.release-mark,
.release-live {
  display: flex;
  align-items: center;
  gap: 0.9em;
}

.release-line {
  margin: 0;
  font: 500 1em / 1 'Oswald', 'Arial Narrow', sans-serif;
  letter-spacing: 0.3139em;
  margin-right: -0.3139em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-release);
}

/* The label's mark: the owner's logo without its box, its own paths filled in the poster's warm
   silver (img/infinite-massive-mark.svg, tools/logo_mark.py), a vector at any size, on no tile. */
.release .label {
  display: block;
  height: 4.4em; /* owner 2026-12-01: as tall as the avatar beside it (.artist .avatar, 4.4em) */
  width: auto;
  aspect-ratio: 250.715 / 281.215;
}

/* Owner 2026-12-01, a trial: "try putting the logo between listen and watch". Outside the phone
   layout the mark stands between "Listen live" and "Watch on YouTube", and not beside the artist;
   phones keep it where it was (their two links sit at the top corners). */
.release-mark .label {
  display: none;
}

.release-live .label-live {
  margin: 0 1.6em; /* owner 2026-12-01: "leave air left and right" */
}

@media (max-width: 480px) and (max-aspect-ratio: 3/4), (max-aspect-ratio: 51/100) {
  .release-mark .label {
    display: block;
  }

  .release-live .label-live {
    display: none;
  }
}

/* The artist, as on Suno: the round avatar, cropped as the owner cropped it there (img/avatar,
   tools/avatar_crop.py), and beside it the name in white bold sans. */
.artist {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin: 0;
}

/* (Not the poster's own picture: .stage picture and .stage img are its, at the stage's size.) */
.artist picture {
  display: block;
  flex: none;
  width: auto;
  height: auto;
}

.artist .avatar {
  display: block;
  width: 4.4em;
  height: 4.4em;
  border-radius: 50%;
  object-fit: cover;
}

.artist-name {
  font: 700 1.15em / 1 'Manrope Variable', system-ui, sans-serif;
  letter-spacing: -0.005em;
  color: var(--ink-release); /* owner 2026-12-01: the same colour as the release line beside it, not white */
  white-space: nowrap;
}

/* Before the label's mark and the release line: the artist, a rule, then the label. */
.release-mark .artist {
  padding-right: 1em;
  margin-right: 0.2em;
  border-right: 1px solid rgba(210, 203, 199, 0.4);
}

/* On a phone the room under the laurels is short (94 px on an iPhone in Safari, 120 on a tall phone
   with no bars): "Listen live" and "Watch on YouTube" stand at the top of the screen (below), and
   the group under the laurels is the typed line and, under it, the artist: the round avatar large
   and beside it "invisioner" over the label's mark and the release line, without the rule. (With
   the name and the label's row under the avatar, the group was 103 px tall at 402 x 714, the
   iPhone's Safari, against the 96 px of room: it no longer fitted.) */
@media (max-width: 480px) and (max-aspect-ratio: 3/4), (max-aspect-ratio: 51/100) {
  .artist .avatar {
    width: 3.2em;
    height: 3.2em;
  }

  /* The group placed without a transform, which would hold the controls inside it: as tall as the
     room, its rows centred in it, as translate(-50%, -50%) centred them on the room's middle. */
  .group {
    --k: 228;
    --gw: min(calc(var(--line-wide) * var(--u)), 100vw - 32px);
    left: calc(var(--mid) * var(--u) - var(--gw) / 2);
    top: calc(var(--foot) * var(--u));
    width: var(--gw);
    height: var(--room);
    justify-content: center;
    transform: none;
  }

  .group > * {
    flex-shrink: 0;
  }

  /* Owner 2026-12-01: "on iphone move the avatar line in the middle of the typewriter and the footer
     copyright note", then "you moved up the fucking typewriter on iphone ... bring back the typewriter
     where it was before": the typed line stays where the centred group put it (the space above it,
     2 parts plus 17 px less the group's gap, equals half of what the group left free), and the
     avatar's row stands midway between it and the note (1 part each side; the note's 9 px line, 1.3
     tall, 5 px above the foot, in the last 17 px). */
  .group {
    display: grid;
    grid-template-rows: 2fr auto 1fr auto 1fr 17px;
    justify-items: center;
    gap: 0;
    padding-top: max(0px, calc(17px - var(--line-size) * var(--gu) * 0.55));
  }

  /* Owner 2026-12-01, from Instagram's in-app browser: "the copyright footer overlaps the content".
     There the page runs to the screen's foot over the home indicator (its safe area 34 px), the note
     stands that high (.rights), and the group, set for a note 5 px above the foot, ran under it. Its
     room now ends as far above the foot as the note is lifted (--lift), and the group is never set
     larger than its rows fit in that room (short screens overflowed it too, as 375 x 564, an iPhone SE
     in the app): the 17 px above the typed line and the note's 17 px, the line's slot less the gap
     above it (1.05 of the line's size) and the avatar (4.4 of the release line's size, or of the
     row's cap, (100vw - 32px) / 46.5). Where the note is 5 px above the foot and the rows fit, as at
     every size that was right, both come to what they were. */
  .group {
    --lift: calc(max(5px, env(safe-area-inset-bottom, 0px)) - 5px);
    --room: calc(min(100cqh, var(--vh) - var(--stage-top)) - var(--foot) * var(--u) - var(--lift));
    --gu: min(var(--u), (var(--room) - 2 * var(--clear)) / var(--k), max((var(--room) - 34px) / (1.05 * var(--line-size) + 4.4 * var(--rel-size)), (var(--room) - 34px - 4.4 * (100vw - 32px) / 46.5) / (1.05 * var(--line-size))));
  }

  .line-slot {
    grid-row: 2;
  }

  .release {
    grid-row: 4;
  }

  /* The avatar spans the two rows of text beside it, which share out what it is taller than they
     are, the name at its row's foot and the label's row at its row's top: the rows of text stand
     in the avatar's middle. (The release line as tall as the mark, its letters on the mark's
     middle.) */
  /* Owner 2026-12-01: "make sure on iphone the avatar and production note stay on the same line":
     the avatar, the name, the mark and the release line in one row, set smaller where the screen is
     too narrow for it at the release line's size (46.5 of its ems wide, the avatar and the separator as on wide screens). */
  .release-mark {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-template-rows: auto;
    align-items: center;
    justify-items: start;
    gap: 0 0.9em;
    font-size: min(1em, calc((100vw - 32px) / 46.5));
  }

  .release-mark .artist {
    display: contents;
  }

  .release-mark .artist picture {
    grid-row: 1;
    grid-column: 1;
    align-self: center;
  }

  .release-mark .artist .avatar {
    width: 4.4em;
    height: 4.4em;
  }

  /* The separator the artist block draws on wide screens (.release-mark .artist), which a phone's grid
     dissolves (display: contents): drawn by the name, as tall as the row (owner 2026-12-01: "the
     separator between the avatar and the label release is missing on iphone"). */
  .release-mark .artist-name {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    display: flex;
    align-items: center;
    height: 1.9em; /* owner 2026-12-01: "Shorten the separator": as tall as the mark beside it */
    padding-right: 1em;
    margin-right: 0.2em;
    border-right: 1px solid rgba(210, 203, 199, 0.4);
  }

  .release-mark .label {
    grid-row: 1;
    grid-column: 3;
  }

  .release-mark .release-line {
    grid-row: 1;
    grid-column: 4;
    line-height: 1.9;
  }

  .release .label {
    height: 1.9em;
  }
}

.listen {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: max(2.3em, 30px);
  padding: 0.45em 0.85em 0.45em 0.8em;
  border: 1px solid rgba(210, 203, 199, 0.55);
  border-radius: 0;
  background: rgba(8, 10, 34, 0.42);
  color: var(--ink-bright);
  font: 500 max(1em, 10px) / 1 'Oswald', 'Arial Narrow', sans-serif;
  letter-spacing: 0.3139em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.listen span {
  margin-right: -0.3139em;
}

.listen svg {
  width: 0.8em;
  height: 0.8em;
  fill: currentColor;
}

.listen:hover,
.listen:focus-visible {
  border-color: var(--ink-bright);
  background: rgba(8, 10, 34, 0.62);
}

.listen:focus-visible,
.watch:focus-visible {
  outline: 1px solid var(--ink-bright);
  outline-offset: 3px;
}

.watch {
  color: var(--ink-release);
  font: 500 max(0.78em, 9px) / 1 'Oswald', 'Arial Narrow', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(176, 174, 174, 0.45);
  padding-bottom: 0.2em;
}

.watch:hover {
  color: var(--ink-bright);
  border-bottom-color: var(--ink-bright);
}

/* On a phone, "Listen live" at the screen's top left and "Watch on YouTube" at its top right, below
   the status bar and inside the side safe areas, in their own type at 8 px (never larger than the
   release line's). Each is 44 px tall to the touch: the button's frame and the link's rule are drawn
   at their own size inside that, as they were. (They are placed in the group, which stands at the
   laurels' foot, by the screen's own top and left in the stage's frame: the stage is cropped by
   --stage-top above and by (--sw - 100vw) * --px at the left.) */
@media (max-width: 480px) and (max-aspect-ratio: 3/4), (max-aspect-ratio: 51/100) {
  .release-live {
    position: absolute;
    z-index: 3;
    top: calc(-1 * var(--stage-top) - var(--foot) * var(--u) + env(safe-area-inset-top, 0px) + 4px);
    left: calc((var(--sw) - 100vw) * var(--px) - (var(--mid) * var(--u) - var(--gw) / 2) + max(16px, env(safe-area-inset-left, 0px)));
    width: calc(100vw - max(16px, env(safe-area-inset-left, 0px)) - max(16px, env(safe-area-inset-right, 0px)));
    justify-content: space-between;
    font-size: min(1em, 8px);
  }

  .listen {
    position: relative;
    isolation: isolate;
    min-height: 44px;
    padding: 0 calc(0.85em + 1px) 0 calc(0.8em + 1px);
    border: 0;
    background: none;
    font-size: 1em;
  }

  .listen::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 50%;
    height: 2.3em;
    translate: 0 -50%;
    border: 1px solid rgba(210, 203, 199, 0.55);
    background: rgba(8, 10, 34, 0.42);
  }

  .listen:hover,
  .listen:focus-visible {
    background: none;
    outline: none;
  }

  .listen:hover::before,
  .listen:focus-visible::before {
    border-color: var(--ink-bright);
    background: rgba(8, 10, 34, 0.62);
  }

  .listen:focus-visible::before {
    outline: 1px solid var(--ink-bright);
    outline-offset: 3px;
  }

  .release-live .watch {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 0.9em;
  }

  .release-live .watch::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% + 0.7em);
    border-bottom: 1px solid rgba(176, 174, 174, 0.45);
  }

  .release-live .watch:hover::after {
    border-bottom-color: var(--ink-bright);
  }
}

/* The copyright note (owner 2026-12-01: "put a small copyright note below the listen/watch block, thin
   letters", then "Move the notice near the bottom on all sizes, 10 px padding, except on iphone, if
   not possible, leave 5 px"): one line at the screen's foot, 10 px above it (inside the safe area),
   Manrope at a light weight in the release line's silver, its size in pixels so no layout value can
   drop it (on an iPhone the size computed from the group's values was dropped, and Safari fell back
   to its own serif at 16 px). On the stage, on the group's centre line (the poster's type column:
   under Listen live and Watch on YouTube on wide screens, the screen's middle on tall ones), its foot
   10 px above the screen's foot, measured as the group measures the room. */
.rights {
  --stage-top: calc((var(--vh) - var(--sw) / var(--r)) * var(--py));
  position: absolute;
  z-index: 2;
  left: calc(var(--mid) * var(--u));
  top: calc(min(100cqh, var(--vh) - var(--stage-top)) - max(10px, env(safe-area-inset-bottom, 0px)));
  translate: -50% -100%;
  margin: 0;
  font-family: 'Manrope Variable', sans-serif;
  font-weight: 300;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--ink-release);
}

@media (max-width: 480px) {
  .rights {
    top: calc(min(100cqh, var(--vh) - var(--stage-top)) - max(5px, env(safe-area-inset-bottom, 0px)));
    font-size: 8px; /* owner 2026-12-01: "make the copyright font smaller on iphone" (was 9 px) */
  }
}

/* --- The live stream's player (js/live.js): nothing of YouTube is on the page before the click. */

.player {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(5, 6, 24, 0.72);
}

.player-box {
  position: relative;
  width: min(1100px, 100%, (var(--vh) - 120px) * 16 / 9);
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(210, 203, 199, 0.35);
}

.player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font: 500 13px / 1 'Oswald', 'Arial Narrow', sans-serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.player-close {
  padding: 8px 12px;
  border: 1px solid rgba(210, 203, 199, 0.55);
  background: transparent;
  color: var(--ink-bright);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}
