:root {
  color-scheme: light;
  --ink: #17324d;
  --muted: #637487;
  --paper: #fffaf0;
  --surface: #ffffff;
  --line: #d9e1e7;
  --accent: #f2b84b;
  --accent-dark: #7a4d00;
  --a: #f3b640;
  --a-ink: #513100;
  --l: #4fb8af;
  --l-ink: #073f3b;
  --shadow: 0 10px 30px rgb(23 50 77 / 0.12);
  --header-height: 76px;
  --usable-viewport-height: 90dvh;
  --system-bar-reserve: 10dvh;
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body {
  min-width: 320px;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible {
  outline: 4px solid #146fca;
  outline-offset: 3px;
}

button:disabled {
  opacity: 0.38;
}

.app-shell {
  width: min(100%, 480px);
  min-height: var(--usable-viewport-height);
  margin: 0 auto;
  background: var(--paper);
}

.kids-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  min-height: calc(var(--header-height) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 12px 0;
  border-bottom: 1px solid rgb(23 50 77 / 0.09);
  background: rgb(255 250 240 / 0.96);
  backdrop-filter: blur(16px);
}

.header-back {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 2rem;
  font-weight: 800;
}

.header-back:active {
  background: rgb(23 50 77 / 0.08);
}

.listener-switch {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.playback-listener-actions {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.playback-listener-action {
  min-height: 52px;
  padding: 5px 8px;
  border: 4px solid var(--listener-color, var(--ink));
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  box-shadow: 0 2px 8px rgb(23 50 77 / 0.08);
}

.playback-listener-action[data-child="a"] {
  --listener-color: var(--a);
}

.playback-listener-action[data-child="l"] {
  --listener-color: var(--l);
}

.playback-listener-action[data-action="join"] {
  background: var(--listener-color);
}

.playback-listener-action:active {
  transform: translateY(1px);
}

.listener-choice {
  min-height: 52px;
  border: 5px solid transparent;
  background: var(--surface);
  font-weight: 900;
  box-shadow: 0 2px 8px rgb(23 50 77 / 0.07);
}

.listener-circle {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  min-width: 52px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.1rem;
}

.listener-choice[data-listener="a"] {
  background: var(--a);
  color: var(--a-ink);
}

.listener-choice[data-listener="l"] {
  background: var(--l);
  color: var(--l-ink);
}

.listener-both {
  display: flex;
  min-width: 92px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 26px;
  background: var(--surface);
  border-color: #becbd5;
  font-size: 0.88rem;
}

.both-dots {
  display: flex;
  width: 31px;
}

.both-dots span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  font-size: 0.66rem;
}

.both-dots span:first-child {
  z-index: 1;
  background: var(--a);
  color: var(--a-ink);
}

.both-dots span:last-child {
  margin-left: -8px;
  background: var(--l);
  color: var(--l-ink);
}

.listener-choice.is-selected {
  border-color: var(--ink);
  box-shadow: 0 2px 8px rgb(23 50 77 / 0.07), 0 0 0 2px rgb(255 255 255 / 0.9);
}

.connection-dot {
  grid-column: 3;
  grid-row: 1;
  width: 10px;
  height: 10px;
  justify-self: center;
  border-radius: 50%;
  background: #c3cbd1;
}

.connection-dot.is-online {
  background: #2a9b68;
}

main {
  min-height: calc(var(--usable-viewport-height) - var(--header-height));
  outline: none;
}

.view {
  padding: 22px 18px calc(32px + env(safe-area-inset-bottom));
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.centered-view {
  display: grid;
  min-height: calc(var(--usable-viewport-height) - var(--header-height));
  place-items: center;
  text-align: center;
}

.loading-mark,
.setup-symbol {
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 30px;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 3rem;
  font-weight: 900;
  transform: rotate(-3deg);
}

.setup-card {
  width: min(100%, 390px);
  padding: 32px 24px;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.setup-card h1 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.setup-card p {
  margin: 0 auto 26px;
  max-width: 29ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.setup-card .setup-note {
  margin: 20px auto 0;
  font-size: 0.85rem;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 18px;
  background: #e9eef2;
  font-weight: 850;
}

.button-large {
  min-height: 62px;
  font-size: 1.08rem;
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-quiet {
  background: transparent;
  color: var(--muted);
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
}

.cover-card {
  display: grid;
  width: 100%;
  min-width: 0;
  padding: 0;
  align-self: start;
  border: 0;
  background: transparent;
  text-align: center;
}

.cover-card-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 24px;
  background: #e7ecef;
  box-shadow: 0 6px 16px rgb(23 50 77 / 0.12);
}

.cover-card-image > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #e7ecef;
  object-fit: cover;
}

.cover-progress-status {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  pointer-events: none;
}

.cover-listener-status {
  --status-color: var(--a);
  --status-ink: var(--a-ink);
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--status-ink);
  font-weight: 950;
  box-shadow: 0 3px 10px rgb(23 50 77 / 0.25);
}

.cover-listener-status.status-l {
  --status-color: var(--l);
  --status-ink: var(--l-ink);
}

.cover-listener-status.is-started {
  width: 42px;
  height: 42px;
  padding: 4px;
  border-radius: 50%;
  background: conic-gradient(var(--ink) var(--cover-progress), rgb(255 255 255 / 0.88) 0);
}

.cover-listener-status.is-started .cover-status-letter {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 50%;
  background: var(--status-color);
}

.cover-listener-status.is-complete {
  min-width: 58px;
  height: 42px;
  padding: 3px 5px 3px 3px;
  gap: 3px;
  border: 3px solid var(--surface);
  border-radius: 23px;
  background: var(--status-color);
}

.cover-listener-status.is-complete .cover-status-letter,
.cover-status-check {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
}

.cover-status-check {
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

.cover-card strong {
  width: 100%;
  margin-top: 11px;
  padding: 0 4px;
  overflow: hidden;
  font-size: 1.05rem;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.cover-card:active .cover-card-image > img {
  transform: scale(0.975);
}

.empty-state {
  display: grid;
  min-height: 55dvh;
  place-items: center;
  align-content: center;
  padding: 20px;
  text-align: center;
}

.empty-state > div {
  font-size: 4rem;
  color: #9caab5;
}

.empty-state h2 {
  margin: 12px 0 4px;
}

.empty-state p {
  max-width: 28ch;
  color: var(--muted);
}

.collection-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.collection-cover {
  width: 86px;
  height: 86px;
  border-radius: 24px;
  background: #e7ecef;
  object-fit: contain;
  box-shadow: 0 5px 14px rgb(23 50 77 / 0.12);
}

.collection-heading h1 {
  margin: 0;
  font-size: clamp(1.6rem, 8vw, 2.25rem);
  line-height: 1.05;
}

.player-view {
  display: flex;
  min-height: calc(var(--usable-viewport-height) - var(--header-height));
  flex-direction: column;
  align-items: center;
  padding-top: 14px;
}

.franchise-name {
  width: 100%;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
}

.player-cover-frame {
  width: clamp(176px, 47.5vw, 218.5px);
}

.player-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 28px;
  background: #e7ecef;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.player-title {
  width: min(calc(100vw - 16px), 464px);
  margin: 12px -10px 2px;
  font-size: clamp(1.2rem, 5vw, 1.45rem);
  line-height: 1.1;
  text-align: center;
  text-wrap: wrap;
}

.timeline {
  width: 100%;
  margin-top: 12px;
}

.marker-lane {
  position: relative;
  height: 42px;
  margin: 0 23px;
  pointer-events: none;
}

.marker-lane-bottom {
  height: 39px;
}

.progress-bubble {
  --marker-color: var(--a);
  --marker-ink: var(--a-ink);
  position: absolute;
  z-index: 2;
  left: var(--progress-position, 2%);
  width: 44px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--marker-ink);
  font-size: 0.98rem;
  font-weight: 950;
  pointer-events: none;
  transform: translateX(-50%);
}

.bubble-l {
  --marker-color: var(--l);
  --marker-ink: var(--l-ink);
}

.progress-bubble::before {
  position: absolute;
  left: 6px;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border: 3px solid var(--surface);
  border-radius: 50% 50% 50% 0;
  background: var(--marker-color);
  box-shadow: 0 3px 10px rgb(23 50 77 / 0.24);
  content: "";
}

.progress-bubble span {
  position: absolute;
  z-index: 1;
  left: 0;
  width: 100%;
  line-height: 20px;
  text-align: center;
}

.marker-lane-top .progress-bubble {
  bottom: -10px;
}

.marker-lane-bottom .progress-bubble {
  top: -10px;
}

.marker-lane-top .progress-bubble::before {
  top: 3px;
  transform: rotate(-45deg);
}

.marker-lane-bottom .progress-bubble::before {
  bottom: 3px;
  transform: rotate(135deg);
}

.marker-lane-top .progress-bubble span {
  top: 7px;
}

.marker-lane-bottom .progress-bubble span {
  bottom: 7px;
}

.range-wrap {
  display: grid;
  min-height: 58px;
  padding: 0 4px;
  align-items: center;
}

.seek-range {
  width: 100%;
  height: 58px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.seek-range::-webkit-slider-runnable-track {
  height: 18px;
  border-radius: 999px;
  background: #cfdae2;
  box-shadow: inset 0 1px 2px rgb(23 50 77 / 0.15);
}

.seek-range::-webkit-slider-thumb {
  width: 38px;
  height: 38px;
  margin-top: -10px;
  appearance: none;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 3px 9px rgb(23 50 77 / 0.2);
}

.seek-range::-moz-range-track {
  height: 18px;
  border-radius: 999px;
  background: #cfdae2;
}

.seek-range::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--surface);
}

.time-row {
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.merged-controls,
.track-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 16px;
}

.merged-controls {
  width: 278px;
  min-height: 82px;
  gap: 13px;
}

.round-control {
  display: grid;
  width: 66px;
  height: 66px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #e4ebf0;
  font-size: 1.1rem;
  font-weight: 900;
}

.play-control {
  width: 82px;
  height: 82px;
  background: var(--ink);
  color: #fff;
  font-size: 1.65rem;
  box-shadow: 0 7px 18px rgb(23 50 77 / 0.24);
}

.restart-control {
  display: grid;
  width: 84px;
  height: 66px;
  padding: 5px 7px;
  place-items: center;
  align-content: center;
  gap: 0;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: 0 5px 14px rgb(23 50 77 / 0.14);
}

.restart-control strong {
  font-size: 0.76rem;
  line-height: 1;
}

.restart-control.is-unavailable {
  visibility: hidden;
  pointer-events: none;
}

.restart-control:active {
  background: #e4ebf0;
  transform: translateY(1px);
}

.next-episode-button {
  position: fixed;
  z-index: 25;
  right: max(14px, calc((100vw - 480px) / 2 + 14px));
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + var(--system-bar-reserve));
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 46px;
  grid-template-rows: 25px 62px;
  width: 248px;
  height: 103px;
  padding: 8px 8px 8px 10px;
  align-items: center;
  column-gap: 9px;
  border: 4px solid var(--ink);
  border-radius: 25px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgb(23 50 77 / 0.3);
  text-align: left;
}

.next-episode-button.over-track-player {
  bottom: calc(320px + env(safe-area-inset-bottom) + var(--system-bar-reserve));
}

.next-episode-label {
  grid-column: 1 / 3;
  align-self: end;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.next-episode-button img {
  grid-column: 1;
  grid-row: 2;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: #e7ecef;
  object-fit: contain;
}

.next-episode-title {
  display: -webkit-box;
  grid-column: 2;
  grid-row: 2;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.next-episode-arrow {
  position: relative;
  display: grid;
  grid-column: 3;
  grid-row: 1 / 3;
  width: 40px;
  height: 44px;
  place-items: center;
  border-radius: 50% 7px 7px 50%;
  background: var(--ink);
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}

.next-episode-arrow::after {
  position: absolute;
  right: -8px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 10px solid var(--ink);
  content: "";
}

.next-episode-button:active {
  transform: translateY(1px);
}

.track-player-view {
  padding: 16px 14px 310px;
}

.track-playlist-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 18px;
}

.track-playlist-heading img {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #e7ecef;
  object-fit: contain;
  box-shadow: 0 5px 14px rgb(23 50 77 / 0.12);
}

.track-playlist-heading h1 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.1;
}

.track-list {
  display: grid;
  gap: 8px;
}

.track-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 6px 10px 6px 6px;
  align-items: center;
  gap: 13px;
  border: 3px solid transparent;
  border-radius: 20px;
  background: var(--surface);
  text-align: left;
}

.track-row.is-playing {
  border-color: var(--accent);
  background: #fff7df;
}

.track-row img {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: #e7ecef;
  object-fit: contain;
}

.track-row strong {
  overflow: hidden;
  font-size: 1.02rem;
  line-height: 1.22;
  text-overflow: ellipsis;
}

.track-progress-badges {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-listener {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--a);
  color: var(--a-ink);
  font-size: 0.72rem;
  font-weight: 950;
}

.mini-l {
  background: var(--l);
  color: var(--l-ink);
}

.now-playing-panel {
  position: fixed;
  z-index: 20;
  right: max(10px, calc((100vw - 480px) / 2));
  bottom: calc(max(10px, env(safe-area-inset-bottom)) + var(--system-bar-reserve));
  left: max(10px, calc((100vw - 480px) / 2));
  padding: 13px 14px 16px;
  border: 1px solid rgb(23 50 77 / 0.1);
  border-radius: 28px;
  background: rgb(255 255 255 / 0.98);
  box-shadow: 0 12px 35px rgb(23 50 77 / 0.24);
}

.now-playing-copy {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
}

.now-playing-copy img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e7ecef;
  object-fit: contain;
}

.now-playing-copy strong {
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.timeline-compact {
  margin-top: 2px;
}

.timeline-compact .marker-lane {
  height: 31px;
}

.timeline-compact .progress-bubble {
  font-size: 0.82rem;
}

.timeline-compact .range-wrap,
.timeline-compact .seek-range {
  min-height: 48px;
  height: 48px;
}

.track-controls {
  margin-top: 4px;
}

.small-round-control {
  width: 58px;
  height: 58px;
}

.track-controls .play-control {
  width: 70px;
  height: 70px;
}

.modal-layer {
  position: fixed;
  z-index: 100;
  inset: 0 0 var(--system-bar-reserve);
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgb(13 31 48 / 0.58);
  backdrop-filter: blur(8px);
}

.choice-dialog {
  width: min(100%, 420px);
  padding: 28px 22px;
  border-radius: 32px;
  background: var(--paper);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.28);
  text-align: center;
}

.choice-dialog h2 {
  margin: 0 0 25px;
  font-size: 2rem;
}

.listener-gate-options {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 10px;
}

.listener-gate-options button {
  display: grid;
  min-height: 112px;
  padding: 12px 6px;
  place-items: center;
  align-content: center;
  gap: 9px;
  border: 3px solid transparent;
  border-radius: 24px;
  background: #fff;
}

.listener-gate-options button:active {
  border-color: var(--ink);
}

.gate-circle,
.gate-pair span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--a);
  font-size: 1.4rem;
  font-weight: 950;
}

[data-gate-listener="l"] .gate-circle,
.gate-pair span:last-child {
  background: var(--l);
}

.gate-pair {
  display: flex;
  width: 88px;
  justify-content: center;
}

.gate-pair span {
  width: 54px;
  height: 54px;
  font-size: 1.1rem;
}

.gate-pair span:last-child {
  margin-left: -18px;
}

.resume-choices {
  display: grid;
  gap: 10px;
}

.resume-choice {
  display: flex;
  min-height: 72px;
  padding: 8px 18px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 22px;
  background: #fff;
  font-size: 1.15rem;
}

.resume-letter {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-weight: 950;
}

.from-start-choice {
  justify-content: center;
  gap: 12px;
  border: 3px solid var(--ink);
  box-shadow: 0 3px 10px rgb(23 50 77 / 0.11);
}

.resume-dialog-card > .button-quiet {
  margin-top: 14px;
}

.listener-action-dialog-card {
  max-width: 390px;
}

.listener-action-badge {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  place-items: center;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--a);
  color: var(--a-ink);
  font-size: 1.55rem;
  font-weight: 950;
}

.listener-action-badge.badge-l {
  background: var(--l);
  color: var(--l-ink);
}

.listener-action-dialog-card h2 {
  margin-bottom: 10px;
  text-wrap: balance;
}

.listener-action-dialog-card p {
  min-height: 2.8em;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
}

.listener-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.listener-confirm-button {
  min-height: 68px;
  border: 0;
  border-radius: 22px;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 950;
  box-shadow: 0 5px 14px rgb(23 50 77 / 0.18);
}

.listener-confirm-button span {
  margin-right: 5px;
  font-size: 1.45rem;
}

.confirm-no {
  background: #c64238;
}

.confirm-yes {
  background: #278657;
}

.listener-confirm-button:active {
  transform: translateY(1px);
  filter: brightness(0.94);
}

.toast {
  position: fixed;
  z-index: 200;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom) + var(--system-bar-reserve));
  left: 18px;
  max-width: 460px;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translateY(20px);
  transition: 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 370px) {
  :root {
    --header-height: 70px;
  }

  .kids-header {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .listener-switch {
    gap: 4px;
  }

  .playback-listener-actions {
    gap: 4px;
  }

  .playback-listener-action {
    padding-right: 4px;
    padding-left: 4px;
    font-size: 0.76rem;
  }

  .listener-choice {
    min-height: 48px;
  }

  .listener-circle {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .listener-both {
    min-width: 82px;
    padding: 0 8px;
  }

  .cover-grid {
    column-gap: 12px;
  }
}

@media (min-width: 500px) {
  .view {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
