/* store118: equal desktop transport gaps + max-vol speaker; keep store117 Apple Music LMP; cache-buster:store131 */
@font-face {
  font-family: Outfit;
  src: url("/assets/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: #050308;
  overflow: hidden;
  font-family: Outfit, "Segoe UI", system-ui, sans-serif;
  touch-action: pan-x pan-y;
}

html.no-gpu, html.no-gpu body {
  background-color: #050308;
  background-image: url("/assets/lattice-still.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

@keyframes lattice-hz {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, 0, 0.01px); }
}

#lattice {
  pointer-events: none;
  image-rendering: auto;
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
}

@media (pointer: coarse) {
  html, body {
    overflow: auto;
    height: auto;
    overscroll-behavior: none;
  }
  .app {
    height: auto;
    min-height: 100%;
    overflow: visible;
  }
  .stage {
    height: auto;
    min-height: 0;
    overflow: visible;
    -webkit-overflow-scrolling: auto;
  }
  #lattice {
    width: 100vw;
    height: 100lvh;
    transform: translateZ(0);
    animation: lattice-hz 2s linear infinite;
  }
}

html.no-gpu #lattice {
  display: none !important;
}

.app {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  isolation: isolate;
  transform: translateZ(0);
}

:root {
  --glass-fill: rgba(58, 52, 74, 0.78);
}
/* FROST: fill + rim only. No grain. */
.glass,
.nav {
  background-color: var(--glass-fill);
  background-image: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
/* Fill even if HTML class "glass" is missing. */
.nav,
.game-card__info {
  background-color: var(--glass-fill);
}
.nav {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 280px;
  width: 280px;
  align-self: stretch;
  margin: 14px 0 14px 14px;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 16px 0 28px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: none;
}


.nav__top {
  display: contents;
}
.brand { order: 0; }
.pills { order: 1; }
.radio { order: 2; }
.legal { order: 3; }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 18px 8px 18px;
  opacity: 1;
  width: auto;
  filter: none;
  animation: none;
  transform: none;
}

.brand__star {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  flex: 0 0 48px;
}

.brand__word {
  height: 26px;
  width: auto;
  max-width: 176px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

/* ionic.games: wordmark only — hide girl/star icon */
.brand__star {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  flex: 0 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.brand {
  gap: 0;
}
.brand__word {
  height: 28px;
  max-width: 200px;
}
@media (width <= 900px) {
  .brand__word {
    height: 24px;
    max-width: min(260px, 78vw);
  }
}

.pills {
  margin: 4px 0 0;
  /* Top/side inset so first-row pill cyan ring isn’t clipped by overflow or brand above */
  padding: 8px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pill {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 10px;
  height: 48px;
  width: 100%;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  color: #fff;
  font: 650 16px/1 Outfit, system-ui, sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  /* Flat 2026 frosted glass — no emboss, no clipped top sheen, no backdrop-filter. */
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: none;
  overflow: visible;
}

.pill::before {
  content: none;
  display: none;
}

.pill.is-on {
  background: rgba(200, 244, 255, 0.22);
  border-color: #c8f4ff;
  /* Stay highlighted while selected — not only on hover */
  box-shadow: 0 0 0 2px rgba(200, 244, 255, 0.95);
}

.pill:hover,
.pill:focus-visible {
  outline: none;
  border-color: #c8f4ff;
  background: rgba(255, 255, 255, 0.16);
  /* Cheap cyan ring (no blur/shadow stack that clips). */
  box-shadow: 0 0 0 2px rgba(200, 244, 255, 0.95);
}

.pill.is-on:hover,
.pill.is-on:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  border-color: #c8f4ff;
  box-shadow: 0 0 0 2px rgba(200, 244, 255, 0.95);
}

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

.pill__ico {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.pill:hover .pill__ico,
.pill:focus-visible .pill__ico {
  animation: pill-spin 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pill__ico svg { display: block; }

.pill__label { position: relative; z-index: 1; white-space: nowrap; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: left; }

.legal {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  flex-shrink: 0;
  margin: 8px 0 0;
  padding: 12px 16px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font: 500 12px/1.35 Outfit, "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  scrollbar-gutter: auto;
  --stage-pad-top: 20px;
  --stage-pad-bot: 28px;
  /* Extra inset so card hover glow (≈7px) on the first row isn’t clipped by overflow */
  padding: var(--stage-pad-top) 34px var(--stage-pad-bot) 30px;
}
.stage::-webkit-scrollbar { width: 8px; }
.stage::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.shelf {
  --gap: 12px;
  --row-gap: 8px;
  width: 100%;
  min-height: 0;
  height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap);
  row-gap: var(--row-gap);
  align-content: start;
  margin: 0;
  pointer-events: auto;
  box-sizing: border-box;
}
.shelf:not(:has(.game-card)) {
  min-height: 100%;
  align-content: center;
}

.shelf__empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #ffffffb0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.game-card,
.game-card:hover,
.game-card:focus-visible {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 0 0 1px #ffffff28;
  filter: none !important;
  transition: none !important;
  gap: 0;
  text-align: left;
}

.game-card:hover,
.game-card:focus-visible {
  box-shadow: 0 0 0 2px #c8f4ff, 0 0 0 7px #6ad4ff55;
  outline: none;
}

/* Category settle — opacity + tiny rise only. No blur/filter/will-change/layout. */
@keyframes card-settle {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes card-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.game-card.is-enter {
  opacity: 0;
  animation: card-settle 280ms ease-out both;
  animation-delay: var(--enter-delay, 0ms);
}

.game-card__info,
.game-card__info.glass {
  flex: 0 0 48px;
  height: 48px;
  min-height: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.5rem;
  align-content: center;
  align-items: center;
  padding: 0 0.7rem;
  /* Glass cap: frost fill only, no grain. Top radius matches card so frost reads over lattice. */
  background-color: var(--glass-fill);
  background-image: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px 18px 0 0;
  box-shadow: none;
}

.game-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  grid-row: 1 / 3;
  box-shadow: 0 0 0 1px #ffffff22;
}

.game-card__title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 1px 2px #000, 0 0 6px #000, 0 0 14px rgba(0,0,0,.95);
  line-height: 1.15;
}

.game-card__tag {
  max-width: none;
  font-size: 0.66rem;
  line-height: 1.25;
  color: #ffffffb0;
  text-shadow: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card__media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.game-card__art,
.game-card__hover,
.game-card__phone {
  box-shadow: none !important;
  transition: none !important;
}

.game-card__art {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: #000;
  border-radius: 0;
  display: block;
}

.game-card__hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.game-card:hover .game-card__hover.is-ready,
.game-card:focus-visible .game-card__hover.is-ready {
  opacity: 1;
}

.game-card.is-soon {
  cursor: pointer;
}
.game-card.is-offline {
  cursor: not-allowed;
  opacity: 0.72;
}
html.is-offline a.game-card {
  cursor: not-allowed;
}


.game-card__soon {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
}

.game-card.is-soon:hover .game-card__soon,
.game-card.is-soon:focus-visible .game-card__soon,
.game-card.is-soon.is-soon-open .game-card__soon {
  opacity: 1;
}

.game-card__soon-glass {
  position: relative;
  display: grid;
  place-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
  background: rgba(12, 10, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.10);
}

.game-card__soon-glass::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 1px;
  height: 50%;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0));
}



/* Desktop / fine pointer: two rows of cards must fit in the stage with no scrollbar.
   100cqh is the stage content box (padding already excluded). Extra rows (All, 7 games)
   still overflow and scroll. Tiny or coarse viewports keep today’s scroll. */
@media (width > 900px) and (pointer: fine) {
  .stage {
    min-height: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: auto;
    container-type: size;
  }
  .shelf {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    align-items: start;
    align-content: start;
    grid-auto-rows: auto;
  }
  .game-card {
    min-height: 0;
    height: auto;
    max-height: none;
    width: 100%;
    /* Shrink 16:9 + 48px info together so two rows fit; never stretch media. */
    max-width: min(100%, calc(((100cqh - var(--row-gap)) / 2 - 48px) * 16 / 9));
  }
  .game-card__media {
    flex: 0 0 auto;
    height: auto;
    max-height: none;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (width <= 900px) {
  .app {
    flex-direction: column;
  }
  .nav {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    align-self: stretch;
    margin: 12px 12px 0;
    overflow: hidden;
    border-radius: 28px;
    padding: 12px 0 20px;
  }
  .nav__top {
    display: contents;
  }
  .brand {
    flex: 0 0 auto;
    min-width: 0;
    padding: 2px 12px;
    gap: 8px;
  }
  .brand__star {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }
  .brand__word {
    height: 22px;
    max-width: min(220px, 70vw);
  }
  .legal {
    position: relative;
    margin: 8px 0 0;
    padding: 10px 16px 0;
    text-align: center;
    order: 3;
  }
  .stage {
    padding: 16px 18px 24px;
  }
  .shelf {
    width: 100%;
    height: auto;
    /* store105: stacked layout only; columns owned by EOF pointer rules (fine→2, coarse≤900→3). */
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    --gap: 12px;
    --row-gap: 6px;
  }
  .game-card {
    min-height: 0;
  }
  .pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 12px 8px;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 0;
    flex: 1 1 auto;
    position: relative;
    z-index: 2;
    order: 1;
  }
  .pill {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 10px 0 8px;
    font-size: 12px;
    gap: 6px;
  }
  .pill__label { white-space: nowrap; }
}

/* Mid shrink: pills stay 2-col (store106 — 3-col crushed desktop button labels). */
@media (min-width: 520px) and (max-width: 1200px) {
  .nav .pills,
  .pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Short desktop nav: keep pills 2-col (store106 readable labels). Shelf stays 2-col in wide mode. */
@media (width > 900px) and (height <= 900px) {
  .pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 12px 8px;
    overflow-x: hidden;
    overflow-y: visible;
    min-height: 0;
    flex: 0 0 auto;
  }
  .pill {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 8px 0 8px;
    font-size: 12px;
    gap: 6px;
  }
  .pill__label { white-space: nowrap; }
  .radio,
  #radio {
    flex: 0 0 auto;
    z-index: auto;
    min-height: 0;
  }
}
@media (width > 900px) and (height <= 720px) {
  .radio,
  #radio {
    flex: 0 0 auto;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-card__hover { display: none !important; }
  .game-card:hover .game-card__soon,
  .game-card:focus-visible .game-card__soon {
    opacity: 1;
  }
  .pill:hover .pill__ico,
  .pill:focus-visible .pill__ico {
    animation: none;
  }
  .game-card.is-enter {
    animation-name: card-fade;
    animation-delay: 0ms;
    transform: none;
  }
}

/* store radio (staging) */
.lattice-loop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  display: none;
}

html.lattice-video .lattice-loop {
  display: block;
}

/* #radio is a BARE HOLE. .nav is the only glass. No second card.
 * Loader v1 MUSIC_CSS glass uses --latis-music-* tokens — neutralize for shelf hole.
 * Also keep .lmp--compact so non-compact tall cover column does not inflate the nav. */
html.ionic-store #radio,
.radio,
#radio {
  --latis-music-glass: transparent;
  --latis-music-border: transparent;
  --latis-music-blur: 0px;
  --latis-music-radius: 0;
  --latis-music-radius-compact: 0;
  --latis-glass: transparent;
  --latis-glass-border: transparent;
  --latis-glass-blur: 0px;
}

.radio,
#radio {
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  flex: 0 0 auto;
  min-height: 0;
  height: auto;
  overflow: visible;
  contain: none;
  visibility: hidden;
  align-self: stretch;
  margin: 8px 16px 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
  min-width: 0;
  width: auto;
  /* cascade vars — desktop clears title outline */
  --lmp-fg: #fff;
  --lmp-muted: rgba(255, 255, 255, 0.28);
  --lmp-eq: #c8f4ff;
  --lmp-gain-fill: #fff;
  --lmp-title-shadow: none;
}
#radio.is-ready,
.radio.is-ready,
#radio.lmp.is-ready {
  visibility: visible;
}

/* Defeat UA [hidden]{display:none} so reserved slot does not collapse */
#radio[hidden],
.radio[hidden] {
  visibility: hidden;
}
@media (width > 900px) {
  #radio[hidden],
  .radio[hidden] {
    display: grid;
  }
}
@media (width <= 900px) {
  #radio[hidden],
  .radio[hidden] {
    display: grid;
  }
}

.pills {
  position: relative;
  z-index: 2;
  flex: 0 1 auto;
  min-height: 0;
}
#radio.glass-panel,
#radio.lmp,
.radio.lmp,
#radio.glass-panel.lmp {
  background: none;
  background-image: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  padding: 0;
}

/* Desktop column: leftover under pills; square art SHRINKS into leftover */
@media (width > 900px) {
  #radio,
  #radio.lmp,
  .radio.lmp {
    display: grid;
    grid-template-rows: auto auto auto auto auto auto auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
    contain: none;
    height: auto;
    max-height: 100%;
    width: auto;
    align-self: stretch;
    z-index: 0;
  }
  #radio .lmp-art {
    grid-row: 1;
    justify-self: center;
    align-self: center;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    background: #000;
  }
  #radio .lmp-title {
    grid-row: 2;
    text-align: center;
    font: 650 13px/1.2 Outfit, system-ui, sans-serif;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.2em;
    --lmp-title-shadow: none;
    text-shadow: none;
    -webkit-text-stroke: 0;
  }
  #radio .lmp-controls {
    grid-row: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
    box-sizing: border-box;
    /* Inset so .lmp-btn cyan hover/focus ring (2px + 7px glow) isn’t clipped by ancestors */
    padding: 8px;
    overflow: visible;
  }
  #radio .lmp-btn {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
  }
  #radio .lmp-gain,
  #radio input.lmp-gain[type="range"] {
    grid-row: 6;
    margin: 8px 0 0;
  }
  #radio .lmp-eq {
    grid-row: 7;
    height: 72px;
    max-height: 72px;
    min-height: 72px;
  }
}

.nav .pills {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 2;
  flex: 0 1 auto;
}

@media (width <= 900px) {
  .brand { order: 0; }
  .pills {
    order: 1;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    z-index: 2;
  }
  .radio, #radio { order: 2; }
  .legal { order: 3; margin: 8px 0 0; }

  /* One-row mobile: art | title (EQ behind) | play/next/mute. Bare hole; nav is glass. */
  #radio,
  #radio.lmp,
  .radio.lmp,
  #radio.glass-panel {
    margin: 8px 12px 0;
    padding: 6px 10px;
    height: auto;
    min-height: 0;
    max-height: none;
    flex: 0 0 auto;
    overflow: visible;
    z-index: 0;
    contain: none;
    min-width: 0;
    width: auto;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-sizing: border-box;
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-rows: 40px;
    grid-template-areas: "art title controls";
    align-items: center;
    column-gap: 8px;
    row-gap: 0;
    gap: 0 8px;
    /* Letter-only title shadow (no plate): soft 1–2px — never fills overflow box. */
    --lmp-title-shadow: 0 1px 1px #000, 0 0 2px rgba(0, 0, 0, 0.85);
  }
  #radio .lmp-art {
    grid-area: art;
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 9px;
    z-index: 1;
  }
  #radio .lmp-title {
    grid-area: title;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: left;
    font: 650 12px/1 Outfit, system-ui, sans-serif;
    min-width: 0;
    min-height: 0;
    width: auto;
    max-width: 100%;
    justify-self: start;
    align-self: center;
    padding: 0 !important;
    margin: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: var(--lmp-title-shadow);
    -webkit-text-stroke: 0;
    paint-order: fill;
    box-shadow: none !important;
    filter: none !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    outline: none !important;
    border-radius: 0;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  #radio .lmp-title::before,
  #radio .lmp-title::after {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
    filter: none !important;
    border: 0 !important;
  }
  #radio .lmp-eq {
    grid-area: title;
    position: absolute !important;
    inset: 0;
    /* Start a little left of the first title glyph (into column gap). */
    left: -5px;
    right: 0;
    top: 0;
    bottom: 0;
    width: calc(100% + 5px) !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 0;
    z-index: 0;
    pointer-events: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transform: none;
    box-shadow: none !important;
    filter: none !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    outline: none !important;
    opacity: 0.55;
  }
  #radio .lmp-controls {
    grid-area: controls;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 10px;
    align-items: center;
    z-index: 1;
    height: 36px;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
    padding: 0;
    overflow: visible;
  }
  #radio .lmp-btn {
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }
  /* store114: show prev on mobile; hide mute → prev · play · next */
  #radio .lmp-btn[data-lmp="prev"] {
    display: flex !important;
  }
  #radio .lmp-btn[data-lmp="mute"],
  #radio .lmp-btn--mute {
    display: none !important;
  }
  #radio .lmp-btn svg {
    width: 18px;
    height: 18px;
  }
  #radio .lmp-btn--play {
    width: 36px;
    flex: 0 0 36px;
  }
  #radio .lmp-btn--play svg {
    width: 20px;
    height: 20px;
  }
  #radio .lmp-btn--mute .icon-speaker {
    width: 18px;
    height: 18px;
  }
  #radio .lmp-gain,
  #radio input.lmp-gain[type="range"] {
    display: none !important;
  }
}

/* Category skip: warm = ~500ms crossfade; cold = fade out then fade in. Opacity only. */
.shelf-ghost {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  margin: 0;
}
.shelf-ghost.is-out {
  opacity: 0;
  transition: opacity 500ms ease;
}
.shelf-ghost.is-out-fast {
  opacity: 0;
  transition: opacity 180ms ease;
}
.shelf.is-cross-in {
  animation: card-fade 500ms ease both;
}
.shelf.is-hold {
  opacity: 0;
}
.shelf.is-cold-in {
  animation: card-fade 280ms ease both;
}

/* Truly narrow + touch: still 3 category pills (user 2026-09-03). Fine/desktop narrow stays 2 via pointer:fine rule. */
@media (pointer: coarse) and (max-width: 519px) {
  .nav .pills, .pills {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* === store111 base kept; store112 polish appended below === */

/* Desktop / fine pointer: category pills ALWAYS 2-col (never repeat(3) — text must fit). */
@media (pointer: fine), (min-width: 901px) {
  .nav .pills,
  .pills {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Touch / coarse + stacked: mobile touch categories 3-col */
@media (pointer: coarse) and (max-width: 900px) {
  .nav .pills,
  .pills {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Fine pointer (Mac/desktop): shelf ALWAYS 2-col, even if window ≤900 */
@media (pointer: fine) {
  .shelf {
    grid-template-columns: 1fr 1fr !important;
  }
}
/* Touch / coarse + stacked: mobile touch shelf 2-col */
@media (pointer: coarse) and (max-width: 900px) {
  .shelf {
    grid-template-columns: 1fr 1fr !important;
  }
}
/* Touch / coarse + wide: shelf 2-col */
@media (pointer: coarse) and (min-width: 901px) {
  .shelf {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* === store112: mobile LMP gap + no sticky touch rings + legal fixed bottom === */

/* More gap between LMP controls (mobile ≤900) */
@media (width <= 900px) {
  #radio .lmp-controls { gap: 10px !important; }
  #radio .lmp-btn { flex: 0 0 36px; width: 36px; min-width: 36px; }
  #radio .lmp-btn--play { flex: 0 0 36px; width: 36px; }
}

#radio .lmp-btn {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* No sticky cyan ring on touch */
@media (hover: none), (pointer: coarse) {
  #radio .lmp-btn:hover,
  #radio .lmp-btn:focus,
  #radio .lmp-btn:focus-visible,
  #radio .lmp-btn:active {
    box-shadow: none !important;
    outline: none !important;
  }
}
/* Fine pointer: hover ring only when truly hoverable */
@media (hover: hover) and (pointer: fine) {
  #radio .lmp-btn:hover,
  #radio .lmp-btn:focus-visible {
    box-shadow: 0 0 0 2px #c8f4ff, 0 0 0 7px #6ad4ff55;
    outline: none;
  }
}

/* Copyright out of nav panel → page bottom (mobile ≤900) */
@media (width <= 900px) {
  .app {
    position: relative;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }
  .nav {
    padding-bottom: 12px;
  }
  .legal {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: max(8px, env(safe-area-inset-bottom, 0px));
    z-index: 20;
    margin: 0 !important;
    padding: 0 12px !important;
    text-align: center;
    pointer-events: none;
  }
}

/* === store112 EOF === */

/* === store114: mobile LMP prev shown, mute hidden (≤900) === */
/* prev display:flex; mute display:none — see ≤900 #radio .lmp-btn rules above */

/* === store115: desktop nav hugs content; no radio/cover overlap under zoom === */
@media (width > 900px) {
  .nav {
    align-self: flex-start !important;
    height: auto !important;
    max-height: calc(100dvh - 28px);
    overflow-x: hidden;
    overflow-y: auto; /* zoom-in: scroll panel instead of overlap */
  }
  .nav .pills,
  .pills {
    flex: 0 0 auto !important;
    min-height: 0;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    position: relative;
    z-index: 3;
  }
  .radio,
  #radio,
  #radio.lmp {
    flex: 0 0 auto !important; /* hug — do not grow to fill nav */
    align-self: stretch;
    max-height: none;
    overflow: visible;
    z-index: 1;
    /* art sizes itself; no 1fr greed */
    grid-template-rows: auto auto auto auto auto auto auto !important;
    gap: 10px;
  }
  #radio .lmp-art {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: min(240px, 36vh) !important; /* shrink under zoom */
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    justify-self: center;
  }
  #radio .lmp-controls {
    /* room for cyan hover ring (2px + 7px) so it never paints into cover */
    margin-top: 2px;
    padding: 12px 10px !important;
    overflow: visible;
    position: relative;
    z-index: 2;
  }
  #radio .lmp-title {
    margin: 0;
    padding: 2px 0;
  }
  #radio .lmp-eq {
    flex: 0 0 auto;
  }
}
/* === store115 EOF === */

/* === store116: desktop pills grid shrink + clip x (undo store115 overflow:visible) === */
@media (width > 900px) {
  .nav .pills,
  .pills {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: 8px;
    row-gap: 8px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    /* keep cyan ring inside: inset + clip x */
    padding: 8px 12px !important;
    overflow-x: hidden !important;
    overflow-y: visible !important; /* undo store115 overflow:visible on both axes */
  }
  .nav .pill,
  .pill {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .pill__label {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .pill__ico {
    flex: 0 0 auto;
  }
}
/* === store116 EOF === */

/* === store117: Apple Music desktop LMP — seek, times, centered transport, vol row === */
@media (width > 900px) {
  #radio,
  #radio.lmp,
  .radio.lmp {
    grid-template-rows: auto auto auto auto auto auto auto !important;
    gap: 8px;
  }
  #radio .lmp-art { grid-row: 1; }
  #radio .lmp-title { grid-row: 2; }
  #radio .lmp-seek,
  #radio input.lmp-seek[type="range"] {
    grid-row: 3;
    width: 100%;
    margin: 0;
    min-width: 0;
  }
  #radio .lmp-times {
    grid-row: 4;
    display: flex;
    justify-content: space-between;
    font: 500 11px/1 system-ui, sans-serif;
    opacity: 0.7;
    width: 100%;
    padding: 0 1px;
  }
  #radio .lmp-controls {
    grid-row: 5;
    justify-content: center;
    gap: 32px;
    padding: 10px 8px !important;
  }
  #radio .lmp-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    max-width: 44px;
    margin: 0;
    padding: 0;
  }
  #radio .lmp-btn svg { width: 28px; height: 28px; }
  #radio .lmp-btn--play svg { width: 32px; height: 32px; }
  #radio .lmp-btn[data-lmp="mute"],
  #radio .lmp-btn--mute { display: none !important; }
  #radio .lmp-vol-row {
    grid-row: 6;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 4px 4px 0;
    box-sizing: border-box;
  }
  #radio .lmp-vol-ico {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    opacity: 0.85;
    color: #fff;
  }
  #radio .lmp-vol-ico svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
  }
  #radio .lmp-gain,
  #radio input.lmp-gain[type="range"] {
    grid-row: auto;
    flex: 1 1 auto;
    width: auto;
    margin: 0;
  }
  #radio .lmp-eq { grid-row: 7; }
}
@media (width <= 900px) {
  #radio .lmp-seek,
  #radio input.lmp-seek[type="range"],
  #radio .lmp-times,
  #radio .lmp-vol-row { display: none !important; }
}
/* === store117 EOF === */

/* === store118: equal desktop transport gaps + max-vol speaker (loader) === */
@media (width > 900px) {
  #radio .lmp-controls {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 32px !important; /* equal; override any space-between / flex:1 */
    width: 100%;
  }
  #radio .lmp-btn,
  #radio .lmp-btn--play {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #radio .lmp-btn[data-lmp="mute"],
  #radio .lmp-btn--mute {
    display: none !important; /* must not occupy flex space */
  }
}
/* === store118 EOF === */


/* Coming soon enlarge modal (store120) */
html.has-soon-modal {
  overflow: hidden;
}
.soon-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: max(16px, 3vw);
}
.soon-modal[hidden] {
  display: none !important;
}
.soon-modal {
  cursor: pointer;
  background: rgba(6, 8, 18, 0.72);
}
.soon-modal__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 96vw);
  max-height: min(92dvh, 920px);
  overflow: auto;
  border-radius: 22px;
  padding: 14px;
  background: rgba(16, 14, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.soon-modal__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a12;
}
.soon-modal__art,
.soon-modal__hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.soon-modal__hover {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.soon-modal__hover.is-ready {
  opacity: 1;
}
.soon-modal__badge {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.soon-modal__badge-glass {
  padding: 10px 18px;
  border-radius: 999px;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 650;
  font-size: 1.05rem;
  color: #fff;
  background: rgba(12, 10, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.soon-modal__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 4px 6px 2px;
}
.soon-modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
}
.soon-modal__title {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.soon-modal__tag {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
}
@media (max-width: 700px) {
  .soon-modal__panel {
    width: 100%;
    padding: 10px;
    border-radius: 16px;
  }
  .soon-modal__icon {
    width: 52px;
    height: 52px;
  }
  .soon-modal__title {
    font-size: 1.15rem;
  }
}

/* ===== store130: desktop Apple Music column — beat CDN MUSIC_CSS =====
 * Live keeps lmp--compact always; store.css reshapes #radio into 7-row column.
 * Must beat: (1) compact 52px pill / 40px art / overflow:hidden / grid-areas
 *            (2) :not(.lmp--compact) flex + order + min(320px,36vw) + art min-height 160
 * Mobile ≤900 keeps one-row compact pill (existing store rules).
 */
@media (width > 900px) {
  /* Ancestors: don't clip control rings / cover */
  html.ionic-store .nav,
  html.ionic-store .nav.glass {
    overflow-x: hidden;
    overflow-y: auto;
  }
  html.ionic-store .nav .pills,
  html.ionic-store .pills {
    overflow-x: hidden !important; /* keep pill rings; pills may still scroll via flex */
  }

  html.ionic-store #radio.lmp,
  html.ionic-store #radio.lmp.lmp--compact,
  html.ionic-store #radio.lmp--compact,
  html.ionic-store #radio.lmp:not(.lmp--compact),
  html.ionic-store .radio.lmp,
  html.ionic-store .radio.lmp--compact {
    display: grid !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto auto auto auto !important;
    grid-template-areas: none !important;
    align-items: stretch !important;
    align-content: start !important;
    align-self: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
    contain: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    /* hole tokens stay transparent */
    --latis-music-glass: transparent;
    --latis-music-border: transparent;
    --latis-music-blur: 0px;
    --latis-music-radius: 0;
    --latis-music-radius-compact: 0;
  }

  /* Kill flex order + compact grid-area on ALL player children */
  html.ionic-store #radio.lmp > *,
  html.ionic-store #radio.lmp.lmp--compact > *,
  html.ionic-store #radio.lmp:not(.lmp--compact) > *,
  html.ionic-store #radio.lmp .lmp-art,
  html.ionic-store #radio.lmp .lmp-title,
  html.ionic-store #radio.lmp .lmp-seek,
  html.ionic-store #radio.lmp .lmp-times,
  html.ionic-store #radio.lmp .lmp-controls,
  html.ionic-store #radio.lmp .lmp-vol-row,
  html.ionic-store #radio.lmp .lmp-gain,
  html.ionic-store #radio.lmp .lmp-eq,
  html.ionic-store #radio.lmp .lmp-btn {
    order: unset !important;
    grid-area: auto !important;
  }

  /* 1 art — square; undo compact 40px + loader min-height 160 */
  html.ionic-store #radio.lmp .lmp-art,
  html.ionic-store #radio.lmp.lmp--compact .lmp-art,
  html.ionic-store #radio.lmp:not(.lmp--compact) .lmp-art {
    grid-row: 1 !important;
    grid-column: 1 !important;
    grid-area: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    justify-self: center !important;
    align-self: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: min(240px, 36vh) !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    flex: unset !important;
    position: relative !important;
    z-index: 1 !important;
  }

  /* 2 title centered */
  html.ionic-store #radio.lmp .lmp-title,
  html.ionic-store #radio.lmp.lmp--compact .lmp-title,
  html.ionic-store #radio.lmp:not(.lmp--compact) .lmp-title {
    grid-row: 2 !important;
    grid-column: 1 !important;
    grid-area: auto !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    flex: unset !important;
    font: 650 13px/1.2 Outfit, system-ui, sans-serif !important;
  }

  /* 3 seek visible */
  html.ionic-store #radio.lmp .lmp-seek,
  html.ionic-store #radio.lmp input.lmp-seek[type="range"],
  html.ionic-store #radio.lmp.lmp--compact .lmp-seek,
  html.ionic-store #radio.lmp.lmp--compact input.lmp-seek[type="range"] {
    grid-row: 3 !important;
    grid-column: 1 !important;
    grid-area: auto !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    margin: 0 !important;
    flex: unset !important;
  }

  /* 4 times — opacity 0.7 (do NOT force 1; seek-hover may hide) */
  html.ionic-store #radio.lmp .lmp-times,
  html.ionic-store #radio.lmp.lmp--compact .lmp-times {
    grid-row: 4 !important;
    grid-column: 1 !important;
    grid-area: auto !important;
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    font: 500 11px/1 system-ui, sans-serif !important;
    opacity: 0.7;
    padding: 0 1px !important;
    margin: 0 !important;
    flex: unset !important;
  }

  /* 5 controls center gap 32px; mute hidden */
  html.ionic-store #radio.lmp .lmp-controls,
  html.ionic-store #radio.lmp.lmp--compact .lmp-controls {
    grid-row: 5 !important;
    grid-column: 1 !important;
    grid-area: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 32px !important;
    width: 100% !important;
    padding: 12px 10px !important;
    overflow: visible !important;
    flex: unset !important;
    position: relative !important;
    z-index: 2 !important;
  }
  html.ionic-store #radio.lmp .lmp-btn,
  html.ionic-store #radio.lmp.lmp--compact .lmp-btn,
  html.ionic-store #radio.lmp .lmp-btn--play {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    order: unset !important;
  }
  html.ionic-store #radio.lmp .lmp-btn[data-lmp="mute"],
  html.ionic-store #radio.lmp .lmp-btn--mute,
  html.ionic-store #radio.lmp.lmp--compact .lmp-btn--mute {
    display: none !important;
  }

  /* 6 vol-row flex visible */
  html.ionic-store #radio.lmp .lmp-vol-row,
  html.ionic-store #radio.lmp.lmp--compact .lmp-vol-row {
    grid-row: 6 !important;
    grid-column: 1 !important;
    grid-area: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    visibility: visible !important;
    padding: 4px 4px 0 !important;
    box-sizing: border-box !important;
    flex: unset !important;
  }
  html.ionic-store #radio.lmp .lmp-gain,
  html.ionic-store #radio.lmp input.lmp-gain[type="range"],
  html.ionic-store #radio.lmp.lmp--compact .lmp-gain {
    display: block !important;
    visibility: visible !important;
    flex: 1 1 auto !important;
    width: auto !important;
    margin: 0 !important;
    grid-row: auto !important;
    grid-area: auto !important;
    order: unset !important;
  }

  /* 7 eq ~72px — undo compact absolute-in-title */
  html.ionic-store #radio.lmp .lmp-eq,
  html.ionic-store #radio.lmp.lmp--compact .lmp-eq {
    grid-row: 7 !important;
    grid-column: 1 !important;
    grid-area: auto !important;
    display: block !important;
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 72px !important;
    max-height: 72px !important;
    min-height: 72px !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none;
    margin: 0 !important;
    flex: unset !important;
    z-index: 0 !important;
  }
}

/* === store131: nav order + fit music === */
@media (width > 900px) {
  html.ionic-store .nav,
  html.ionic-store .nav.glass {
    display: flex !important;
    flex-direction: column !important;
    max-height: calc(100dvh - 28px);
    overflow-x: hidden;
    overflow-y: auto; /* fallback if still too tall */
  }

  /* 1 brand → 2 pills → 3 music → 4 legal */
  html.ionic-store .brand {
    order: 0 !important;
    flex: 0 0 auto;
  }
  html.ionic-store #pills,
  html.ionic-store .pills,
  html.ionic-store .nav .pills {
    order: 1 !important;
    flex: 0 0 auto !important; /* do NOT grow into a hole below music */
    min-height: 0;
  }
  html.ionic-store #radio,
  html.ionic-store #radio.lmp,
  html.ionic-store #radio.lmp.lmp--compact,
  html.ionic-store #radio.lmp:not(.lmp--compact),
  html.ionic-store .radio,
  html.ionic-store .radio.lmp,
  html.ionic-store .radio.lmp--compact {
    order: 2 !important;
    flex: 0 0 auto !important; /* never grow while hidden / empty hole */
    min-height: 0 !important;
    height: auto !important; /* undo MUSIC_CSS compact height:52px */
    max-height: none !important;
    /* beat CDN MUSIC_CSS: column grid, no second glass card */
    display: grid !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto auto auto auto !important;
    grid-template-areas: none !important;
    align-items: stretch !important;
    align-content: start !important;
    align-self: stretch !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
    contain: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    --latis-music-glass: transparent;
    --latis-music-border: transparent;
    --latis-music-blur: 0px;
    --latis-music-radius: 0;
    --latis-music-radius-compact: 0;
  }
  html.ionic-store .legal {
    order: 3 !important;
    flex: 0 0 auto;
  }

  /* Keep loader MUSIC_CSS child order unset — art→title→seek→times→controls→vol→eq via grid-row */
  html.ionic-store #radio.lmp > *,
  html.ionic-store #radio.lmp.lmp--compact > *,
  html.ionic-store #radio.lmp:not(.lmp--compact) > *,
  html.ionic-store #radio.lmp .lmp-art,
  html.ionic-store #radio.lmp .lmp-title,
  html.ionic-store #radio.lmp .lmp-seek,
  html.ionic-store #radio.lmp .lmp-times,
  html.ionic-store #radio.lmp .lmp-controls,
  html.ionic-store #radio.lmp .lmp-vol-row,
  html.ionic-store #radio.lmp .lmp-gain,
  html.ionic-store #radio.lmp .lmp-eq,
  html.ionic-store #radio.lmp .lmp-btn {
    order: unset !important;
    grid-area: auto !important;
  }

  /* Shrink art so brand+pills+radio+legal fit typical desktop height */
  html.ionic-store #radio.lmp .lmp-art,
  html.ionic-store #radio.lmp.lmp--compact .lmp-art,
  html.ionic-store #radio.lmp:not(.lmp--compact) .lmp-art {
    grid-row: 1 !important;
    grid-column: 1 !important;
    max-height: min(160px, 22vh) !important;
    min-height: 0 !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    justify-self: center !important;
  }

  html.ionic-store #radio.lmp .lmp-title,
  html.ionic-store #radio.lmp.lmp--compact .lmp-title {
    grid-row: 2 !important;
    grid-column: 1 !important;
  }

  html.ionic-store #radio.lmp .lmp-seek,
  html.ionic-store #radio.lmp input.lmp-seek[type="range"],
  html.ionic-store #radio.lmp.lmp--compact .lmp-seek {
    grid-row: 3 !important;
    grid-column: 1 !important;
  }

  /* Times: compact — opacity 0 until seek hover (do not force opacity 1 / fat always-visible row) */
  html.ionic-store #radio.lmp .lmp-times,
  html.ionic-store #radio.lmp.lmp--compact .lmp-times {
    grid-row: 4 !important;
    grid-column: 1 !important;
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    font: 500 11px/1 system-ui, sans-serif !important;
    opacity: 0;
    padding: 0 1px !important;
    margin: 0 !important;
    min-height: 0 !important;
  }
  html.ionic-store #radio.lmp .lmp-seek:hover ~ .lmp-times,
  html.ionic-store #radio.lmp input.lmp-seek[type="range"]:hover ~ .lmp-times,
  html.ionic-store #radio.lmp.is-seek-hover .lmp-times,
  html.ionic-store #radio.is-seek-hover .lmp-times {
    opacity: 0.95 !important;
  }

  /* Controls: tighter padding; mute still hidden */
  html.ionic-store #radio.lmp .lmp-controls,
  html.ionic-store #radio.lmp.lmp--compact .lmp-controls {
    grid-row: 5 !important;
    grid-column: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 28px !important;
    width: 100% !important;
    padding: 4px 8px !important;
    overflow: visible !important;
    margin: 0 !important;
  }
  html.ionic-store #radio.lmp .lmp-btn[data-lmp="mute"],
  html.ionic-store #radio.lmp .lmp-btn--mute,
  html.ionic-store #radio.lmp.lmp--compact .lmp-btn--mute {
    display: none !important;
  }

  html.ionic-store #radio.lmp .lmp-vol-row,
  html.ionic-store #radio.lmp.lmp--compact .lmp-vol-row {
    grid-row: 6 !important;
    grid-column: 1 !important;
    padding: 2px 4px 0 !important;
  }

  /* EQ ~40–48px (undo store130 72px) */
  html.ionic-store #radio.lmp .lmp-eq,
  html.ionic-store #radio.lmp.lmp--compact .lmp-eq {
    grid-row: 7 !important;
    grid-column: 1 !important;
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 44px !important;
    max-height: 44px !important;
    min-height: 44px !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none;
    margin: 0 !important;
    flex: unset !important;
  }
}

/* Mobile ≤900: keep brand → pills → compact radio pill; don’t break that */
@media (width <= 900px) {
  html.ionic-store .brand {
    order: 0 !important;
  }
  html.ionic-store #pills,
  html.ionic-store .pills,
  html.ionic-store .nav .pills {
    order: 1 !important;
  }
  html.ionic-store #radio,
  html.ionic-store #radio.lmp,
  html.ionic-store .radio {
    order: 2 !important;
  }
  html.ionic-store .legal {
    order: 3 !important;
  }
}
