.app-shell.home-app-mode[data-theme="dark"] .journey-shelf-section {container-type:inline-size;}
/* Approved dark-mode artwork for the Continue Your Journey shelf. */
.app-shell.home-app-mode[data-theme="dark"] .journey-shelf {
  container-type: inline-size;
  height: max(var(--journey-shelf-height), 29.334cqi) !important;
  min-height: max(var(--journey-shelf-height), 29.334cqi) !important;
  background-color: #100b07 !important;
  background-image: url("./continue-journey-dark-user.png") !important;
  background-position: center calc(100% + 4cqi) !important;
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
}

.app-shell.home-app-mode[data-theme="dark"] .journey-shelf-track {
  /* Align book bottoms with the painted plank, not the image bounds. */
  padding-bottom: 10.05cqi !important;
}

.app-shell.home-app-mode[data-theme="dark"] .journey-shelf-track::before {
  display: none !important;
}

/* Mobile parity: shelf artwork travels with books, as in light mode. */
@media (max-width: 620px) {
 html[data-cosy-android="true"] .app-shell.home-app-mode[data-theme="dark"] .journey-shelf {
  height: calc(var(--journey-shelf-height) + 84px) !important;
  min-height: calc(var(--journey-shelf-height) + 84px) !important;
  background-image: none !important;
 }
 html[data-cosy-android="true"] .app-shell.home-app-mode[data-theme="dark"] .journey-shelf-track {
  padding-bottom: var(--journey-shelf-baseline) !important;
 }
 html[data-cosy-android="true"] .app-shell.home-app-mode[data-theme="dark"] .journey-shelf-track::before {
  display: block !important;
  background-image: url("./continue-journey-dark-user.png") !important;
  background-size: 980px auto !important;
  background-position: left calc(100% - var(--journey-shelf-baseline) + 132px) !important;
  background-repeat: repeat-x !important;
  filter: none !important;
 }
}
