:root {
  color-scheme: dark;
  --paper: #060a0d;
  --ink: #f7f2df;
  --muted: rgba(247, 242, 223, 0.54);
  --rule: rgba(247, 242, 223, 0.16);
  --gold: #d4af37;
  font-family: "IBM Plex Mono", "SF Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html,
body,
.shell {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(212, 175, 55, 0.1), transparent 24rem),
    #060a0d;
  color: var(--ink);
}

.shell {
  position: fixed;
  inset: 0;
  --harp-advanced-top: 132px;
}

.astrolabe-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  touch-action: none;
}

.hero-astrolabe {
  position: absolute;
  inset: 56px 10px 34px;
  width: auto;
  height: auto;
  opacity: 0.84;
  pointer-events: auto;
  cursor: grab;
  --astrolabe-flow: 0.4;
  --astrolabe-swirl-phase: 0;
  --astrolabe-swirl-drift: 0;
  --zoom-scale: 1;
  --breath-scale: 1;
  isolation: isolate;
  scale: var(--breath-scale);
  transition: scale 180ms linear;
}

.hero-astrolabe canvas {
  position: relative;
  z-index: 1;
}

.hero-astrolabe:active {
  cursor: grabbing;
}

.meta {
  position: absolute;
  top: 18px;
  left: 54px;
  right: 54px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  pointer-events: none;
}

.meta__left,
.meta__right,
.constellation {
  display: flex;
  gap: 12px;
  align-items: center;
}

.meta__left {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.meta__right {
  justify-content: flex-end;
  flex-wrap: nowrap;
  min-width: 0;
}

.meta__mark,
.meta__plate {
  color: var(--ink);
}

.meta__sep {
  color: var(--gold);
}

.poem-title {
  display: inline-block;
  min-width: 0;
  max-width: min(30ch, 42vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 220ms ease, transform 220ms ease;
}

.thoth-toggle {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.24em;
  user-select: none;
  transition: color 200ms ease;
}

.thoth-toggle input {
  pointer-events: auto;
  cursor: pointer;
  accent-color: var(--gold);
  margin: 0;
}

.thoth-toggle:hover {
  color: var(--ink);
}

.thoth-dwell,
.harp-tempo,
.harp-control,
.harp-select {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.harp-time {
  pointer-events: auto;
  display: inline-grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 2px;
  padding: 2px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 6px;
  background: rgba(6, 10, 13, 0.42);
}

.harp-time button {
  min-width: 26px;
  height: 22px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(247, 242, 223, 0.48);
  font: inherit;
  font-size: 9px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.harp-time button:hover {
  color: var(--ink);
}

.harp-time button[aria-pressed='true'] {
  background: rgba(212, 175, 55, 0.16);
  color: rgba(212, 175, 55, 0.95);
}

.thoth-dwell input[type='range'],
.harp-tempo input[type='range'],
.harp-control input[type='range'] {
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  width: 76px;
  height: 2px;
  background: rgba(212, 175, 55, 0.3);
  border-radius: 2px;
  cursor: pointer;
}

.thoth-dwell input[type='range']::-webkit-slider-thumb,
.harp-tempo input[type='range']::-webkit-slider-thumb,
.harp-control input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}

.thoth-dwell input[type='range']::-moz-range-thumb,
.harp-tempo input[type='range']::-moz-range-thumb,
.harp-control input[type='range']::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}

.thoth-dwell span,
.harp-tempo output,
.harp-control output {
  min-width: 3ch;
  color: rgba(212, 175, 55, 0.85);
}

.harp-tempo input[type='range'],
.harp-control input[type='range'] {
  width: 94px;
}

.harp-tempo output,
.harp-control output {
  display: inline-block;
  min-width: 6ch;
}

.harp-select select {
  pointer-events: auto;
  max-width: 116px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 4px;
  background: rgba(6, 10, 13, 0.82);
  color: rgba(212, 175, 55, 0.92);
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
}

.harp-advanced-toggle {
  pointer-events: auto;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 4px;
  background: rgba(6, 10, 13, 0.34);
  color: rgba(212, 175, 55, 0.84);
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 7px;
}

.harp-advanced-toggle[aria-expanded='true'] {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--ink);
}

.harp-advanced-toggle:hover {
  color: var(--ink);
  border-color: rgba(212, 175, 55, 0.48);
}

.harp-advanced-panel {
  position: absolute;
  top: var(--harp-advanced-top);
  right: 54px;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  align-items: center;
  gap: 10px 12px;
  width: min(640px, calc(100vw - 108px));
  max-height: calc(100svh - var(--harp-advanced-top) - 22px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 6px;
  background: rgba(6, 10, 13, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--muted);
  pointer-events: auto;
  text-transform: uppercase;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.42);
}

.harp-advanced-panel[hidden] {
  display: none;
}

.song-mute {
  pointer-events: auto;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  opacity: 0.85;
  transition: opacity 200ms ease, color 200ms ease;
}

.song-mute:hover {
  opacity: 1;
}

.song-mute.is-muted {
  opacity: 0.4;
  color: var(--muted);
  text-decoration: line-through;
}

body.is-immersive-fullscreen .info-reopen,
body.is-immersive-fullscreen .words-toggle,
body.is-immersive-fullscreen .constellation,
body.is-immersive-fullscreen .readout {
  display: none;
}

body.settings-open .info-reopen,
body.settings-open .words-toggle {
  display: none;
}

body.is-immersive-fullscreen .meta {
  opacity: 0;
  pointer-events: none;
}

body.is-immersive-fullscreen .corner-btn {
  opacity: 0.34;
}

body.is-immersive-fullscreen .corner-btn:hover {
  opacity: 1;
}

.poem-title.is-fading {
  opacity: 0;
  transform: translateY(-2px);
}

.kbd,
.constellation a {
  border: 1px solid var(--rule);
  padding: 2px 6px;
}

/* ── splash info card ───────────────────────────────────────────────────────── */
.info-splash {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 42%, rgba(212, 175, 55, 0.08), transparent 30rem),
    rgba(4, 7, 9, 0.78);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  cursor: pointer;
  animation: info-fade-in 420ms ease both;
}

.info-splash.is-hidden {
  display: none;
}

@keyframes info-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.info-card {
  max-width: 392px;
  width: 100%;
  padding: 32px 34px 26px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(11, 16, 20, 0.92), rgba(6, 9, 12, 0.92));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.66), 0 1px 0 rgba(212, 175, 55, 0.14) inset;
  animation: info-rise 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes info-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.info-eyebrow {
  color: var(--gold);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0.78;
}

.info-title {
  margin: 9px 0 16px;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.26em;
  color: var(--ink);
  text-transform: uppercase;
  text-indent: 0.26em;
}

.info-lede {
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  font-size: 13.5px;
  line-height: 1.66;
  color: rgba(247, 242, 223, 0.78);
  font-family: Georgia, "Times New Roman", serif;
}

.info-lede em {
  color: var(--gold);
  font-style: italic;
}

.info-keys {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 2px;
}

.info-keys li {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
  padding: 4px 2px;
  font-size: 11.5px;
  color: rgba(247, 242, 223, 0.64);
  letter-spacing: 0.02em;
  transition: color 200ms ease;
}

.info-keys li:hover {
  color: var(--ink);
}

.info-keys kbd {
  justify-self: start;
  min-width: 46px;
  text-align: center;
  padding: 3px 0;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 5px;
  background: rgba(212, 175, 55, 0.05);
  color: var(--gold);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 200ms ease, background 200ms ease;
}

.info-keys li:hover kbd {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.11);
}

.info-gestures {
  list-style: none;
  margin: 0 0 22px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  display: grid;
  gap: 7px;
}

.info-gestures li {
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(247, 242, 223, 0.56);
  letter-spacing: 0.02em;
}

.info-gestures b {
  color: var(--gold);
  font-weight: 500;
  font-style: italic;
}

.info-hint {
  font-size: 9px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  animation: info-pulse 2.6s ease-in-out infinite;
}

@keyframes info-pulse {
  0%,
  100% {
    opacity: 0.42;
  }
  50% {
    opacity: 0.9;
  }
}

.info-reopen {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: rgba(6, 10, 13, 0.5);
  color: rgba(247, 242, 223, 0.5);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease;
}

.info-reopen:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.5);
}

.words-toggle {
  position: fixed;
  left: 54px;
  bottom: 18px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  gap: 5px;
  color: rgba(247, 242, 223, 0.5);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  transition: color 200ms ease;
}

.words-toggle input {
  accent-color: var(--gold);
  cursor: pointer;
  margin: 0;
  width: 13px;
  height: 13px;
}

.words-toggle:hover {
  color: var(--gold);
}

/* Display mode: a clean view — hide all the text chrome, keep the art + controls. */
body.display-mode .meta__left,
body.display-mode .hero-current-lexicon,
body.display-mode .constellation {
  opacity: 0;
  pointer-events: none;
}

body.display-mode .meta__left,
body.display-mode .hero-current-lexicon,
body.display-mode .constellation {
  transition: opacity 420ms ease;
}

.corner-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 7;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: rgba(6, 10, 13, 0.5);
  color: rgba(247, 242, 223, 0.5);
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease;
}

.corner-btn:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.5);
}

@media (max-width: 760px) {
  .info-card {
    padding: 26px 22px 22px;
  }
  .info-title {
    font-size: 22px;
    letter-spacing: 0.22em;
  }
  .info-keys li {
    grid-template-columns: 54px 1fr;
    gap: 12px;
  }
}

.hero-current-lexicon {
  position: absolute;
  inset: 0;
  pointer-events: none;
  --field-flow: 0.4;
  --swirl-phase: 0deg;
  --swirl-drift: 0deg;
  --field-center-x: 50%;
  --field-center-y: 50%;
  opacity: 1;
  transition: opacity 720ms ease;
}

.hero-current-lexicon.is-transitioning,
.hero-current-lexicon.is-entering,
.hero-current-lexicon--ghost.is-exiting {
  opacity: 0;
}

.hero-current-lexicon--ghost {
  pointer-events: none;
  z-index: 1;
}

.hero-word-orbit {
  position: absolute;
  left: var(--field-center-x);
  top: var(--field-center-y);
}

.hero-word-node {
  display: block;
}

.hero-word-label {
  display: inline-block;
  pointer-events: auto; /* clickable: click a word to queue it as a drift-steering nudge */
  cursor: pointer;
  color: rgba(248, 231, 182, 0.88);
  border: 1px solid rgba(248, 215, 120, 0.28);
  border-radius: 999px;
  background: rgba(6, 10, 13, 0.28);
  padding: calc(4px * var(--zoom-scale, 1)) calc(10px * var(--zoom-scale, 1));
  font-size: calc(12px * var(--zoom-scale, 1));
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 0 8px rgba(212, 175, 55, 0.28);
  transition: opacity 0.25s ease, letter-spacing 0.25s ease;
}

.readout {
  position: absolute;
  right: 24px;
  top: 78px;
  z-index: 5;
  display: grid;
  gap: 8px;
  min-width: 170px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: rgba(6, 10, 13, 0.58);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.readout[hidden] {
  display: none;
}

.readout b {
  color: var(--gold);
  font-weight: 700;
}

.constellation {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.constellation a {
  color: rgba(247, 242, 223, 0.48);
  text-decoration: none;
  background: rgba(6, 10, 13, 0.36);
}

.constellation a:hover,
.constellation a.is-current {
  color: var(--ink);
}

@media (max-width: 760px) {
  body,
  .shell {
    min-height: 100svh;
  }

  .meta {
    top: max(12px, env(safe-area-inset-top));
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    font-size: 9px;
    letter-spacing: 0.2em;
  }

  .meta__left {
    min-height: 24px;
  }

  .readout {
    display: none;
  }

  .meta__right {
    justify-content: flex-end;
    align-self: center;
  }

  .harp-advanced-panel {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    gap: 9px;
    width: auto;
    max-width: none;
    max-height: min(66svh, 520px);
    overflow-y: auto;
    padding: 10px;
  }

  .thoth-toggle,
  .thoth-dwell,
  .harp-tempo,
  .harp-control,
  .harp-select {
    min-width: 0;
    min-height: 38px;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 8px;
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 6px;
    background: rgba(6, 10, 13, 0.48);
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .thoth-toggle span,
  .harp-tempo span,
  .thoth-dwell span,
  .harp-control span,
  .harp-select span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .thoth-toggle input[type='checkbox'] {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .harp-time {
    min-height: 38px;
    width: 100%;
    padding: 4px;
    grid-column: 1 / -1;
  }

  .harp-time button {
    min-width: 0;
    height: 30px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .harp-advanced-toggle,
  .song-mute {
    min-height: 38px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    background: rgba(6, 10, 13, 0.48);
  }

  .harp-advanced-toggle {
    width: auto;
    padding-inline: 10px;
  }

  .song-mute {
    width: 100%;
  }

  .song-mute {
    font-size: 18px;
  }

  .thoth-dwell {
    grid-column: 1 / -1;
  }

  .thoth-dwell input[type='range'] {
    width: min(42vw, 180px);
  }

  .harp-tempo input[type='range'] {
    width: min(30vw, 132px);
    flex: 1 1 auto;
    min-width: 56px;
  }

  .harp-tempo output {
    min-width: 4ch;
    font-size: 9px;
    line-height: 1;
    white-space: nowrap;
  }

  .harp-control input[type='range'] {
    width: min(42vw, 180px);
    flex: 1 1 auto;
    min-width: 84px;
  }

  .harp-select select {
    max-width: min(46vw, 180px);
  }

  .info-reopen {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 8;
  }

  .words-toggle {
    left: max(48px, calc(env(safe-area-inset-left) + 48px));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 8;
    max-width: 104px;
    overflow: hidden;
    white-space: nowrap;
  }

  .constellation {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(4, 28px);
    grid-auto-rows: 20px;
    gap: 4px 5px;
    justify-content: end;
    align-items: center;
  }

  .constellation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 20px;
    padding: 0 3px;
    border: 1px solid rgba(247, 242, 223, 0.12);
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .hero-astrolabe {
    inset: 76px 8px 78px;
  }
}

@media (max-width: 340px) {
  .meta__right {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-astrolabe {
    inset: 430px 8px 48px;
  }
}

/* Zip design pass: fixed toolbar, sectioned control sheet, Fractal IAM gate. */
:root {
  --bg: #0a0907;
  --panel: rgba(20, 16, 10, 0.78);
  --panel-edge: rgba(214, 168, 70, 0.22);
  --panel-edge-soft: rgba(214, 168, 70, 0.1);
  --gold-hi: #f0cd76;
  --gold-dim: #8c7540;
  --gold-mute: #5f5230;
  --track: #2a2415;
  --line: rgba(214, 168, 70, 0.14);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html,
body,
.shell {
  background:
    radial-gradient(120% 90% at 50% 118%, rgba(150, 104, 30, 0.1), transparent 55%),
    radial-gradient(100% 70% at 84% -10%, rgba(150, 104, 30, 0.06), transparent 60%),
    var(--bg);
}

.shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(110, 20, 20, 0.75) 18%, rgba(110, 20, 20, 0.75) 82%, transparent);
  pointer-events: none;
}

.meta {
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0 24px;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.29em;
  color: var(--gold-dim);
}

.meta__left {
  gap: 12px;
}

.meta__right {
  pointer-events: auto;
}

.meta__mark {
  color: var(--gold-hi);
}

.meta__plate {
  color: var(--gold);
}

.meta__sep {
  color: var(--gold-mute);
}

.poem-title {
  max-width: min(48ch, 48vw);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: fit-content;
  pointer-events: auto;
}

.icon-btn {
  --sz: 38px;
  width: var(--sz);
  height: var(--sz);
  display: grid;
  place-items: center;
  border: 1px solid var(--panel-edge-soft);
  border-radius: 9px;
  background: transparent;
  color: var(--gold-dim);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition:
    color 0.22s var(--ease),
    border-color 0.22s var(--ease),
    background 0.22s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.15s var(--ease);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.icon-btn:hover {
  color: var(--gold-hi);
  border-color: var(--panel-edge);
  background: rgba(214, 168, 70, 0.06);
}

.icon-btn:active {
  transform: translateY(1px);
}

.toolbar .song-mute {
  flex: 0 0 auto;
  opacity: 1;
  text-decoration: none;
}

.song-mute .sound-wave,
.song-mute .mute-slash {
  transition: opacity 0.18s var(--ease);
}

.song-mute .mute-slash {
  opacity: 0;
}

.song-mute.is-muted {
  color: var(--gold-mute);
  text-decoration: none;
}

.song-mute.is-muted .sound-wave {
  opacity: 0;
}

.song-mute.is-muted .mute-slash {
  opacity: 1;
}

.harp-advanced-toggle {
  font-size: 0;
  letter-spacing: 0;
}

.harp-advanced-toggle .glyph,
.harp-advanced-toggle .k {
  transition: transform 0.5s var(--ease-out);
}

.harp-advanced-toggle[aria-expanded='true'] {
  color: #1a1508;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(214, 168, 70, 0.35),
    0 0 22px -2px rgba(214, 168, 70, 0.55);
}

.harp-advanced-toggle[aria-expanded='true'] .k1 {
  transform: translateX(5px);
}

.harp-advanced-toggle[aria-expanded='true'] .k2 {
  transform: translateX(-4px);
}

.harp-advanced-toggle[aria-expanded='true'] .k3 {
  transform: translateX(3px);
}

.pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-mute);
  margin-right: 4px;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pip.live {
  background: var(--gold-hi);
  box-shadow: 0 0 8px 0 rgba(240, 205, 118, 0.7);
}

.astrolabe-scrim {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: none;
  background: rgba(4, 3, 2, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.astrolabe-scrim.show {
  opacity: 1;
  pointer-events: none;
}

.control-panel {
  position: fixed;
  top: var(--harp-advanced-top);
  right: 24px;
  left: auto;
  z-index: 20;
  display: block;
  width: min(432px, calc(100vw - 48px));
  max-height: calc(100svh - var(--harp-advanced-top) - 16px);
  overflow: hidden;
  padding: 4px;
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
  background: var(--panel);
  color: var(--gold-dim);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 1px 0 0 rgba(255, 225, 150, 0.05) inset,
    0 28px 70px -28px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: scale(0.965) translateY(-8px);
  transform-origin: 100% 0;
  clip-path: inset(0 0 100% 0 round 12px);
  pointer-events: none;
  transition:
    opacity 0.32s var(--ease),
    transform 0.5s var(--ease-out),
    clip-path 0.55s var(--ease-out);
}

.control-panel[hidden] {
  display: none;
}

.control-panel.open {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0 round 12px);
  pointer-events: auto;
}

.panel-inner {
  max-height: calc(100svh - var(--harp-advanced-top) - 26px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 9px;
  padding: 14px 16px 28px;
  background: linear-gradient(180deg, rgba(255, 224, 150, 0.025), transparent 120px);
}

.sheet-handle {
  display: none;
}

.section {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.45s var(--ease-out);
}

.section:first-child {
  border-top: 0;
  padding-top: 4px;
}

.control-panel.open .section {
  opacity: 1;
  transform: none;
}

.control-panel.open .section:nth-child(1) {
  transition-delay: 0.1s;
}

.control-panel.open .section:nth-child(2) {
  transition-delay: 0.15s;
}

.control-panel.open .section:nth-child(3) {
  transition-delay: 0.2s;
}

.control-panel.open .section:nth-child(4) {
  transition-delay: 0.25s;
}

.control-panel.open .section:nth-child(5) {
  transition-delay: 0.3s;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}

.eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.26em;
  color: var(--gold-mute);
  text-transform: uppercase;
  white-space: nowrap;
}

.eyebrow-rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 26px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 22px;
  padding: 3px 0;
  cursor: pointer;
  user-select: none;
  color: var(--gold-dim);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.18s var(--ease);
}

.check:hover {
  color: var(--gold-hi);
}

.check input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.check-box {
  width: 13px;
  height: 13px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--gold-mute);
  border-radius: 3px;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.25s var(--ease);
}

.check-box::after {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 2px solid #160f02;
  border-bottom: 2px solid #160f02;
  opacity: 0;
  transform: rotate(-45deg) scale(0.5);
  transition: opacity 0.18s var(--ease), transform 0.25s var(--ease-out);
}

.check input:checked + .check-box {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px -2px rgba(214, 168, 70, 0.55);
}

.check input:checked + .check-box::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.check input:checked ~ span:last-child {
  color: var(--gold-hi);
}

.ctrl {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 24px;
  padding: 2px 0;
}

.ctrl .lbl,
.drop-row .lbl {
  color: var(--gold-dim);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ctrl .val {
  min-width: 58px;
  color: var(--gold-hi);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

input[type='range'].sld {
  width: 100%;
  height: 16px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

input[type='range'].sld::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--gold) 0 var(--pct, 50%), var(--track) var(--pct, 50%) 100%);
}

input[type='range'].sld::-moz-range-track {
  height: 2px;
  border-radius: 2px;
  background: var(--track);
}

input[type='range'].sld::-moz-range-progress {
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

input[type='range'].sld::-webkit-slider-thumb {
  width: 11px;
  height: 11px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow:
    0 0 0 3px rgba(10, 9, 7, 1),
    0 0 10px -1px rgba(240, 205, 118, 0.6);
  transition: box-shadow 0.2s var(--ease), transform 0.12s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

input[type='range'].sld::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow:
    0 0 0 3px rgba(10, 9, 7, 1),
    0 0 10px -1px rgba(240, 205, 118, 0.6);
}

input[type='range'].sld:hover::-webkit-slider-thumb {
  transform: scale(1.12);
  box-shadow:
    0 0 0 3px rgba(10, 9, 7, 1),
    0 0 16px 0 rgba(240, 205, 118, 0.85);
}

.ctrl--segmented {
  grid-template-columns: 64px minmax(0, 1fr);
}

.segmented,
.harp-time {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: 100%;
  height: 30px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--panel-edge);
  border-radius: 7px;
  background: transparent;
}

.harp-time button {
  min-width: 0;
  height: auto;
  border-left: 1px solid var(--line);
  border-radius: 0;
  color: var(--gold-dim);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.harp-time button:first-child {
  border-left: 0;
}

.harp-time button:hover {
  color: var(--gold-hi);
  background: rgba(214, 168, 70, 0.05);
}

.harp-time button[aria-pressed='true'] {
  background: var(--gold);
  color: #160f02;
  font-weight: 600;
}

.drop-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 2px 0;
}

.drop {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.drop::after {
  content: "";
  position: absolute;
  right: 10px;
  top: calc(50% - 3px);
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  pointer-events: none;
}

.drop select,
.harp-select select {
  width: 100%;
  max-width: none;
  padding: 6px 28px 6px 11px;
  border: 1px solid var(--panel-edge);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--gold-hi);
  cursor: pointer;
  font: inherit;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.drop select:hover,
.harp-select select:hover {
  border-color: var(--gold);
}

.drop select:focus,
.harp-select select:focus {
  outline: none;
  border-color: var(--gold-hi);
  box-shadow:
    0 0 0 1px var(--gold),
    0 0 14px -3px rgba(214, 168, 70, 0.55);
}

.stems {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.stems .check {
  padding: 2px 0;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding: 11px 2px 2px;
  border-top: 1px solid var(--line);
  color: var(--gold-mute);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-foot .seed {
  color: var(--gold-dim);
}

.identity {
  position: relative;
}

.identity[hidden] {
  display: none;
}

.id-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 10px 0 8px;
  border: 1px solid var(--panel-edge-soft);
  border-radius: 9px;
  background: transparent;
  color: var(--gold-dim);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.id-pill:hover {
  color: var(--gold-hi);
  border-color: var(--panel-edge);
  background: rgba(214, 168, 70, 0.05);
}

.id-avatar {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--gold);
  color: #160f02;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.id-did {
  color: var(--gold-dim);
  white-space: nowrap;
}

.id-menu {
  position: absolute;
  top: 46px;
  right: 0;
  z-index: 40;
  min-width: 208px;
  padding: 6px;
  border: 1px solid var(--panel-edge);
  border-radius: 10px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease-out);
}

.id-menu:not([hidden]) {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.id-menu-head {
  margin-bottom: 6px;
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--line);
}

.id-menu-head .who {
  color: var(--gold-hi);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.id-menu-head .sub {
  margin-top: 4px;
  color: var(--gold-mute);
  font-size: 9px;
  letter-spacing: 0.06em;
  word-break: break-all;
}

.id-menu button {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--gold-dim);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.id-menu button:hover {
  background: rgba(214, 168, 70, 0.08);
  color: var(--gold-hi);
}

.iam-login {
  --iam-ink: #e7ddc8;
  --iam-ink-muted: rgba(231, 221, 200, 0.72);
  --iam-ink-dim: rgba(231, 221, 200, 0.34);
  --iam-line: rgba(214, 168, 70, 0.24);
  --iam-gold: #d4a23c;
  --iam-gold-hi: #f0cd76;
  --iam-danger: #c2452f;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(150, 104, 30, 0.16), transparent 60%),
    radial-gradient(120% 90% at 50% 120%, rgba(150, 104, 30, 0.1), transparent 55%),
    var(--bg);
  color: var(--iam-ink);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease-out), filter 0.6s var(--ease);
}

.iam-login[hidden] {
  display: none;
}

.iam-login.signing {
  pointer-events: none;
}

.iam-login.done {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(6px);
  pointer-events: none;
}

.iam-login-card {
  width: 100%;
  max-width: 432px;
  padding: 38px 34px 30px;
  border: 1px solid var(--iam-line);
  border-radius: 5px;
  background: rgba(10, 9, 7, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.9),
    0 1px 0 0 rgba(255, 225, 150, 0.05) inset;
}

.iam-login-wordmark {
  margin: 0;
  color: var(--iam-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}

.iam-login-wordmark em {
  color: var(--iam-gold-hi);
  font-style: italic;
}

.iam-login-tag {
  margin-top: 12px;
  color: var(--gold-mute);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.iam-login-blurb {
  margin: 20px 0 24px;
  color: var(--iam-ink-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.iam-login-actions,
.iam-login-extra {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.iam-login-extra[hidden] {
  display: none;
}

.iam-login-btn {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--iam-line);
  border-radius: 4px;
  background: transparent;
  color: var(--iam-ink);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}

.iam-login-btn .pmark {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--iam-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 600;
  opacity: 0.85;
}

.iam-login-btn:hover:not(:disabled) {
  color: var(--iam-gold-hi);
  border-color: rgba(214, 168, 70, 0.55);
  background: rgba(214, 168, 70, 0.12);
}

.iam-login-more {
  width: 100%;
  height: 34px;
  margin-top: 9px;
  border: 0;
  background: transparent;
  color: var(--gold-mute);
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.15s var(--ease);
}

.iam-login-more:hover {
  color: var(--iam-gold-hi);
}

.iam-login-email {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--iam-line);
}

.iam-login-email-label {
  display: block;
  margin-bottom: 8px;
  color: var(--iam-ink-dim);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.iam-login-email-row {
  display: flex;
  gap: 8px;
}

.iam-login-email-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--iam-line);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--iam-ink);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.iam-login-email-input:focus {
  outline: none;
  border-color: rgba(214, 168, 70, 0.55);
}

.iam-login-email-row .iam-login-btn {
  width: auto;
  padding: 0 16px;
}

.iam-login-status {
  min-height: 1.25rem;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: var(--iam-ink-dim);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.iam-login-status[data-error='true'] {
  color: var(--iam-danger);
}

.iam-login-status .spin {
  width: 11px;
  height: 11px;
  display: none;
  border: 1.5px solid rgba(214, 168, 70, 0.25);
  border-top-color: var(--iam-gold-hi);
  border-radius: 50%;
  animation: iam-spin 0.7s linear infinite;
}

.iam-login-status.busy .spin {
  display: block;
}

@keyframes iam-spin {
  to {
    transform: rotate(360deg);
  }
}

.iam-login-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--iam-ink-dim);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.iam-login-foot a {
  color: var(--iam-gold);
  text-decoration: none;
}

.iam-login-foot a:hover {
  text-decoration: underline;
}

body.is-immersive-fullscreen .meta__left,
body.is-immersive-fullscreen .identity,
body.is-immersive-fullscreen .harp-advanced-toggle,
body.is-immersive-fullscreen .pip,
body.is-immersive-fullscreen .control-panel,
body.is-immersive-fullscreen .astrolabe-scrim {
  opacity: 0;
  pointer-events: none;
}

body.is-immersive-fullscreen .meta {
  opacity: 1;
  pointer-events: auto;
}

body.is-immersive-fullscreen .fullscreen-toggle {
  opacity: 0.34;
  pointer-events: auto;
}

body.is-immersive-fullscreen .fullscreen-toggle:hover {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .control-panel,
  .section,
  .iam-login,
  .id-menu {
    transition: none !important;
  }
}

@media (max-width: 760px) {
  .meta {
    height: 54px;
    padding: 0 14px;
    font-size: 10px;
    letter-spacing: 0.25em;
  }

  .meta__left {
    gap: 10px;
  }

  .meta__left > span:not(.meta__mark):not(.meta__sep):not(.meta__plate) {
    display: none;
  }

  .poem-title {
    display: none;
  }

  .toolbar {
    gap: 8px;
  }

  .icon-btn {
    --sz: 40px;
  }

  .id-did {
    display: none;
  }

  .astrolabe-scrim {
    display: block;
    background: rgba(4, 3, 2, 0.38);
  }

  .control-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    max-height: 86svh;
    padding: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    background: rgba(10, 9, 7, 0.96);
    clip-path: none;
    opacity: 1;
    transform: translateY(102%);
    transform-origin: 50% 100%;
    transition: transform 0.44s var(--ease-out);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .control-panel.open {
    transform: translateY(0);
    clip-path: none;
  }

  .sheet-handle {
    display: block;
    width: 42px;
    height: 4px;
    margin: 9px auto 1px;
    border-radius: 2px;
    background: var(--gold-mute);
  }

  .panel-inner {
    max-height: calc(86svh - 22px);
    padding: 6px 18px 38px;
    -webkit-overflow-scrolling: touch;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }

  .ctrl {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .ctrl .val {
    min-width: 60px;
  }

  .ctrl--segmented,
  .drop-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .check,
  .stems .check {
    font-size: 11px;
  }

  .segmented,
  .harp-time {
    height: 36px;
  }

  .harp-time button {
    font-size: 11px;
  }

  .drop select,
  .harp-select select {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .iam-login-card {
    padding: 30px 22px 24px;
  }

  .iam-login-wordmark {
    font-size: 38px;
  }

  .info-reopen {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 8;
  }

  .words-toggle {
    left: max(48px, calc(env(safe-area-inset-left) + 48px));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 8;
    max-width: 104px;
    overflow: hidden;
    white-space: nowrap;
  }

  .constellation {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(4, 28px);
    grid-auto-rows: 20px;
    gap: 4px 5px;
    justify-content: end;
    align-items: center;
  }

  .constellation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 20px;
    padding: 0 3px;
    border: 1px solid rgba(247, 242, 223, 0.12);
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .hero-astrolabe {
    inset: 64px 8px 78px;
  }
}

@media (max-width: 420px) {
  .meta__plate,
  .meta__left .meta__sep:nth-of-type(2) {
    display: none;
  }

  .pip {
    display: none;
  }

  .iam-login {
    padding: 16px;
  }

  .iam-login-email-row {
    flex-direction: column;
  }

  .iam-login-email-row .iam-login-btn {
    width: 100%;
  }
}
