/* Public-only visual correction. Backend, admin styles and commerce contracts unchanged. */
:root {
  --cream: #faf7ef;
  --paper: #fffdf7;
  --ink: #24251f;
  --muted: #5b594f;
  --red: #b51e28;
  --line: #ddcfb9;
}
body {
  background: var(--cream);
  padding-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
header {
  height: 64px;
  min-height: 64px;
  max-width: 1160px;
  margin: 14px auto -78px;
  padding: 6px 26px;
  border-radius: 18px;
  background: #fffdf5f5;
  box-shadow: 0 5px 24px #4a3e2614;
  border-color: #dfd4be99;
  gap: 24px;
}
header .brand img {
  width: 142px;
}
header nav {
  gap: 26px;
}
header a {
  font:
    500 14px Georgia,
    serif;
}
header a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: #ae4d34;
}
header .tools {
  gap: 10px;
}
header .tools .button {
  background: #fffdf5b8;
  font: 600 12px system-ui;
  padding: 7px 13px;
  border-color: #cfc4af;
  min-width: 52px;
}
#menu-button {
  font: 24px/1 system-ui;
  padding: 0;
  min-width: 44px;
  background: transparent;
  border: 0;
}
.scene {
  height: clamp(540px, 40vw, 610px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #e4ebd9;
}
.scene picture {
  position: absolute;
  inset: 0;
  z-index: -4;
}
.scene .hero-art {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 50%;
  aspect-ratio: auto;
  padding: 0;
  content-visibility: visible;
}
.scene::after {
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  height: 58px;
  background: linear-gradient(transparent, #faf7efdd 76%, var(--cream));
  pointer-events: none;
  z-index: 4;
}
.hero-copy {
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  padding: 0;
  background: none;
  text-align: center;
  z-index: 3;
}
.hero-copy .hero-tagline {
  font-size: 21px;
  line-height: 1.35;
  font-style: italic;
  color: #29271f;
  max-width: 470px;
  margin: 0 auto 20px;
  text-shadow:
    0 1px 5px #fff,
    0 1px 12px #fff;
}
.hero-copy .actions {
  gap: 12px;
  flex-wrap: nowrap;
}
.hero-copy .button {
  font:
    600 13px Georgia,
    serif;
  min-width: 170px;
  min-height: 44px;
  padding: 10px 22px;
  background: #fffaf0ed;
  border-color: #a88865;
  box-shadow: 0 4px 14px #fff9;
}
.hero-copy .primary {
  background: #bf2029;
  color: white;
  border-color: #bf2029;
  box-shadow: 0 5px 18px #9f39222b;
}
.hero-copy .button span {
  font-size: 17px;
}
.hero-piano,
.hero-lake {
  display: none;
}
.ambient-ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.drift {
  position: absolute;
  width: 12px;
  height: 21px;
  background: linear-gradient(130deg, #d7b980, #fff9df);
  border-radius: 90% 0 90% 0;
  opacity: 0;
  animation: petal-drift 25s linear infinite;
}
.drift:nth-child(1) {
  left: 12%;
  top: -20px;
  animation-delay: -3s;
}
.drift:nth-child(2) {
  left: 42%;
  top: -20px;
  animation-delay: -17s;
  width: 9px;
  height: 15px;
}
.drift:nth-child(3) {
  left: 84%;
  top: -20px;
  animation-delay: -10s;
}
.drift:nth-child(4) {
  left: 95%;
  top: -20px;
  animation-delay: -22s;
  width: 8px;
  height: 14px;
}
.scene-notes {
  position: absolute;
  right: 10%;
  top: 48%;
  font: 36px Georgia;
  color: #fff8dd;
  opacity: 0.6;
  letter-spacing: 16px;
  transform: rotate(-15deg);
  animation: notes-shimmer 12s ease-in-out infinite;
  text-shadow: 0 0 8px #e0cf82;
}
.lake-light {
  position: absolute;
  right: 20%;
  bottom: 21%;
  height: 2px;
  width: 180px;
  background: linear-gradient(90deg, transparent, #fff8d4, transparent);
  animation: notes-shimmer 9s ease-in-out infinite;
}
@keyframes petal-drift {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0);
  }
  10% {
    opacity: 0.65;
  }
  80% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate(-85px, 650px) rotate(290deg);
  }
}
@keyframes notes-shimmer {
  0%,
  100% {
    opacity: 0.16;
  }
  50% {
    opacity: 0.65;
  }
}
@keyframes botanical-sway {
  0%,
  100% {
    transform: rotate(-0.3deg);
  }
  50% {
    transform: rotate(0.3deg);
  }
}
.garden {
  position: relative;
  isolation: isolate;
  background: radial-gradient(
    ellipse at 50% 50%,
    #fffdf8 0%,
    #faf7ef 65%,
    #f2e9d9 100%
  );
  padding-bottom: 28px;
  overflow: hidden;
}
.garden::before,
.garden::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
  z-index: -1;
  background-repeat: repeat-y;
  background-size: 100% auto;
  transform-origin: center bottom;
  animation: botanical-sway 18s ease-in-out infinite;
  mask-image: linear-gradient(90deg, #000 35%, transparent);
}
.garden::before {
  left: 0;
  background-image: url("/assets/visual-r1/edge-left.webp");
}
.garden::after {
  right: 0;
  background-image: url("/assets/visual-r1/edge-right.webp");
  mask-image: linear-gradient(270deg, #000 35%, transparent);
  animation-delay: -9s;
}
.garden > .wrap {
  max-width: 1360px;
  padding: 0 62px;
}
.destinations {
  padding-top: 18px;
  padding-bottom: 22px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  text-align: left;
  margin: 0 0 18px;
}
.section-title h2 {
  font: 600 12px/1.6 system-ui;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 17px;
}
.section-title h2::before {
  content: "";
  width: 38px;
  height: 1px;
  background: #b98660;
}
.section-title p {
  font: italic 16px/1.4 Georgia;
  color: #80573f;
  margin: 0;
}
.worlds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.world {
  display: block;
  border-radius: 8px;
  background: linear-gradient(125deg, #fffdfa, #fff8ef);
  border-color: #e1d5c5;
  box-shadow: 0 6px 13px #72523514;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.world:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px #72523525;
}
.world img {
  height: auto;
  min-height: 0;
  aspect-ratio: 156/91;
  object-fit: cover;
  image-rendering: auto;
}
.world .inside {
  padding: 13px 15px 37px;
  min-height: 148px;
}
.world h3 {
  font: 500 20px/1.08 Georgia;
  margin: 0 0 9px;
  padding: 0;
  overflow-wrap: normal;
  hyphens: auto;
}
.world p {
  font: 14px/1.4 Georgia;
  max-width: none;
  margin: 0;
  color: #423e35;
}
.world .arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #e6cbaa;
  background: #faedda;
  right: 12px;
  bottom: 10px;
  font-size: 18px;
  line-height: 1;
}
.editorial-shelf {
  padding: 28px 0 23px;
  border-top: 1px solid #d8c5a9;
  position: relative;
}
.editorial-shelf::before {
  content: "";
  position: absolute;
  right: 14px;
  top: 15px;
  font: 80px Georgia;
  color: #d9c6aa;
  opacity: 0.25;
  pointer-events: none;
}
.editorial-shelf .shelf-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.editorial-shelf h2 {
  font: 600 11px/1.6 system-ui;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}
.editorial-shelf .shelf-heading > a {
  font: italic 14px Georgia;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.catalog-silence {
  margin: 5px 0 0;
  min-height: 127px;
  border: 1px solid #e4d6c4;
  border-radius: 10px;
  background: #fffcf5e0;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 24px 35px;
  box-shadow: 0 8px 20px #84633108;
}
.catalog-silence .quiet-mark {
  font: 62px/1 Georgia;
  color: #8e563d;
  flex-shrink: 0;
}
.catalog-silence h3 {
  font: 400 25px/1.2 Georgia;
  margin: 0 0 6px;
}
.catalog-silence p {
  margin: 0;
  font: 15px/1.6 Georgia;
  color: #62584b;
  max-width: 730px;
}
.catalog-silence .eyebrow {
  margin: 0 0 7px;
  font-size: 9px;
  letter-spacing: 0.18em;
}
.scenic {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  min-height: 330px;
  background: url("/assets/visual-r1/lake-panorama.webp") center bottom/cover
    no-repeat;
  overflow: hidden;
  border-top: 1px solid #e7daca;
}
.scenic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #faf7eff0 0%,
      #faf7efcf 42%,
      #faf7ef30 70%,
      transparent
    ),
    linear-gradient(#faf7ef 0%, transparent 9%);
}
.scenic .wrap {
  max-width: 1240px;
  padding: 42px 40px;
}
.scenic article {
  position: relative;
  max-width: 530px;
  border-radius: 9px;
  background: #fffaf1c9;
  padding: 24px 28px;
  border: 1px solid #fff9;
  box-shadow: 0 6px 30px #7c644411;
}
.scenic .eyebrow {
  font-size: 10px;
  letter-spacing: 0.19em;
  margin-bottom: 9px;
  color: #875038;
}
.scenic h2 {
  font-size: 32px;
  line-height: 1.1;
  max-width: 410px;
  margin-bottom: 12px;
}
.scenic p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 17px;
  color: #39372e;
}
.scenic .button {
  background: #fff9ebc9;
  font: 600 13px Georgia;
  border-color: #aa8762;
  padding: 8px 19px;
}
.scenic .scenic-caption {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: rotate(-8deg);
  font: italic 24px/1.2 Georgia;
  color: #5d563e;
  text-align: center;
  max-width: 155px;
  text-shadow: 0 1px 6px #fff;
  pointer-events: none;
}
footer {
  margin-top: 0;
  padding: 28px max(36px, calc((100vw - 1200px) / 2)) 70px;
  background:
    linear-gradient(90deg, #202b23f5, #202b23ec),
    url("/assets/visual-r1/blossom-canopy.webp") center/cover;
  color: #f5eddc;
  border-top: 1px solid #7b8267;
}
footer .foot-top {
  align-items: center;
  gap: 30px;
}
footer img {
  width: 175px;
  border-radius: 3px;
}
footer .foot-top > div:first-child {
  display: flex;
  align-items: center;
  gap: 35px;
}
footer .foot-top p {
  font: italic 15px Georgia;
  max-width: 210px;
  margin: 0;
}
footer .foot-top > div:last-child {
  font: 13px/1.8 Georgia;
}
footer .eyebrow {
  font-size: 9px;
  margin: 0 0 4px;
  color: #eed0a4;
}
footer .legal {
  gap: 20px;
  margin-top: 18px;
  padding-top: 10px;
  font: 11px system-ui;
  border-color: #74806d66;
  align-items: center;
}
footer .legal button {
  font: 11px system-ui;
  min-height: 36px;
  padding: 6px 14px;
  background: #fff6e80a;
  border-color: #aab09b77;
  color: #f5eddc;
}
footer .legal span {
  margin-left: auto;
}
.page {
  position: relative;
  isolation: isolate;
  padding-top: 125px;
  padding-bottom: 45px;
  min-height: 75vh;
}
.page::before {
  content: "";
  position: absolute;
  inset: 100px -40px 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #faf7efd4, #faf7effa 15%, #faf7effa 85%, #faf7efd4),
    url("/assets/visual-r1/edge-left.webp") left top/65px auto repeat-y;
  opacity: 0.8;
}
.page > .lede,
.page > .prose {
  background: #fffdf7d9;
  padding: 20px;
  border-radius: 10px;
}
.empty {
  border-style: solid;
  background: #fffaf0db;
  box-shadow: 0 5px 20px #66513308;
}
.catalog article {
  background: #fffaf1e8;
}
#player {
  left: auto;
  right: 18px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: none;
  width: auto;
  max-width: 330px;
  min-height: 48px;
  padding: 2px 5px 2px 12px;
  gap: 3px;
  border-radius: 28px;
  background: #fffaf0f5;
  color: #353b2d;
  border: 1px solid #c4b697;
  box-shadow: 0 4px 18px #39432b21;
  display: flex;
  flex-wrap: nowrap;
  isolation: isolate;
  font: 11px/1.3 system-ui;
}
#player .note {
  font-size: 21px;
  color: #8a6947;
  margin-right: 5px;
}
#player .track {
  width: 72px;
  flex: none;
  margin-right: 3px;
}
#player .track strong {
  font-size: 10px;
  font-weight: 600;
}
#player .track span {
  display: none;
  color: #5c604f;
}
#player button {
  min-height: 44px;
  min-width: 44px;
  border: 0;
  padding: 0 5px;
  background: transparent;
  color: #363f2e;
  font: 15px/1 system-ui;
  box-shadow: none;
}
#player #play {
  font-size: 14px;
}
#player #mute {
  font-size: 15px;
}
#player #audio-options {
  display: inline-flex;
  font-size: 23px;
}
#player .volume,
#player .seek {
  display: none !important;
}
#player.expanded {
  width: 330px;
  max-width: calc(100% - 24px);
  flex-wrap: wrap;
  padding: 9px 12px;
  border-radius: 16px;
  gap: 5px;
}
#player.expanded .track {
  flex: 1;
  width: auto;
}
#player.expanded .track span {
  display: block;
  font-size: 10px;
  white-space: normal;
  line-height: 1.35;
}
#player.expanded .volume,
#player.expanded .seek {
  display: flex !important;
  flex-direction: row !important;
  width: 100%;
  align-items: center;
  gap: 12px;
  min-height: 34px;
}
#player.expanded input {
  flex: 1;
  width: auto !important;
  accent-color: #8c6143;
}
#player.expanded .volume span,
#player.expanded .seek span {
  width: 50px;
  font-size: 11px;
}
@media (min-width: 1280px) {
  .worlds {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
  }
  .world .inside {
    min-height: 160px;
  }
  .world h3 {
    font-size: 20px;
  }
  .world p {
    font-size: 13.5px;
  }
}
@media (min-width: 601px) and (max-width: 1000px) {
  header {
    width: calc(100% - 44px);
    max-width: 850px;
  }
  .scene {
    height: 500px;
  }
  .scene .hero-art {
    object-position: center top;
  }
  .hero-copy {
    top: 64%;
    width: 480px;
  }
  .hero-copy .hero-tagline {
    font-size: 20px;
  }
  .garden > .wrap {
    padding: 0 43px;
  }
  .worlds {
    gap: 16px;
  }
  .world .inside {
    min-height: 145px;
  }
  .section-title p {
    max-width: 230px;
    font-size: 14px;
  }
  .world h3 {
    font-size: 21px;
  }
  .scenic {
    background-size: cover;
    background-position: right bottom;
  }
  .scenic .wrap {
    padding-left: 43px;
  }
  .scenic article {
    max-width: 470px;
  }
  .scenic .scenic-caption {
    right: 4%;
    font-size: 20px;
  }
}
@media (max-width: 760px) {
  footer .foot-top > div:first-child {
    gap: 20px;
  }
  footer .foot-top p {
    display: none;
  }
  .scenic .scenic-caption {
    display: none;
  }
}
@media (max-width: 600px) {
  header {
    height: 54px;
    min-height: 54px;
    top: 10px;
    width: calc(100% - 26px);
    margin: 10px auto -64px;
    padding: 5px 12px;
    border-radius: 15px;
    gap: 8px;
  }
  header .brand img {
    width: 119px;
  }
  header .tools {
    gap: 5px;
  }
  header .tools .button {
    min-width: 44px;
    font-size: 11px;
    padding: 6px 9px;
  }
  #menu-button {
    display: inline-flex;
    font-size: 25px;
  }
  .scene {
    height: 570px;
    background: linear-gradient(#edf4e8 30%, #e9f1e4 50%, #f0e2ca);
  }
  .scene picture {
    inset: 0;
    z-index: -5;
  }
  .scene .hero-art {
    position: absolute;
    top: 34px;
    left: 50%;
    transform: translateX(-50%);
    width: 680px;
    max-width: none;
    height: 382.5px;
    object-fit: contain;
    object-position: center;
    min-height: 0;
  }
  .hero-piano,
  .hero-lake {
    display: block;
    position: absolute;
    pointer-events: none;
    z-index: -3;
    bottom: 0;
    object-fit: cover;
    max-width: none;
  }
  .hero-piano {
    left: -9px;
    width: 220px;
    height: 298px;
    mask-image:
      linear-gradient(180deg, transparent, #000 24%),
      linear-gradient(90deg, #000 47%, transparent 99%);
    mask-composite: intersect;
    object-position: left bottom;
  }
  .hero-lake {
    right: -8px;
    width: 225px;
    height: 308px;
    mask-image:
      linear-gradient(180deg, transparent, #000 24%),
      linear-gradient(270deg, #000 55%, transparent 100%);
    mask-composite: intersect;
    object-position: right bottom;
  }
  .scene::before {
    content: "";
    position: absolute;
    top: 268px;
    left: 15%;
    right: 12%;
    height: 170px;
    z-index: -1;
    background: radial-gradient(ellipse, #fff9eacc, transparent 72%);
    pointer-events: none;
  }
  .scene::after {
    height: 35px;
  }
  .hero-copy {
    top: 287px;
    width: 290px;
    max-width: calc(100% - 40px);
    padding: 0;
    background: none;
    transform: translateX(-50%);
  }
  .hero-copy .hero-tagline {
    font: italic 18px/1.3 Georgia;
    color: #29271e;
    margin: 0 auto 18px;
    max-width: 280px;
    text-shadow:
      0 1px 4px #fff,
      0 0 10px #fff;
  }
  .hero-copy .actions {
    flex-direction: column;
    align-items: center;
    gap: 9px;
  }
  .hero-copy .button {
    min-width: 208px;
    min-height: 44px;
    padding: 10px 16px;
    font: 600 13px Georgia;
    background: #fff9eef2;
  }
  .hero-copy .primary {
    background: #bd242c;
  }
  .scene-notes {
    right: -12px;
    top: 45%;
    font-size: 27px;
    letter-spacing: 7px;
  }
  .lake-light {
    bottom: 16%;
    right: 4%;
    width: 100px;
  }
  .drift {
    width: 8px;
    height: 14px;
  }
  .garden > .wrap {
    padding: 0 19px;
  }
  .garden::before,
  .garden::after {
    width: 25px;
    opacity: 0.8;
  }
  .destinations {
    padding-top: 14px;
    padding-bottom: 20px;
  }
  .section-title {
    justify-content: center;
    margin-bottom: 15px;
    gap: 0;
  }
  .section-title h2 {
    font-size: 9px;
    letter-spacing: 0.18em;
    gap: 10px;
    text-align: center;
  }
  .section-title h2::before {
    width: 20px;
  }
  .section-title h2::after {
    content: "";
    height: 1px;
    width: 20px;
    background: #b98660;
  }
  .section-title p {
    display: none;
  }
  .worlds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .world {
    display: block;
    grid-template-columns: none;
    border-radius: 8px;
  }
  .world img {
    width: 100%;
    height: auto;
    aspect-ratio: 156/91;
    min-height: 0;
  }
  .world .inside {
    padding: 10px 10px 35px;
    min-height: 137px;
  }
  .world h3 {
    font-size: 18px;
    line-height: 1.05;
    margin-bottom: 7px;
    padding: 0;
  }
  .world p {
    font: 12px/1.35 Georgia;
    margin: 0;
    max-width: none;
  }
  .world .arrow {
    width: 27px;
    height: 27px;
    right: 9px;
    bottom: 8px;
    font-size: 17px;
  }
  .editorial-shelf {
    padding-top: 14px;
    padding-bottom: 8px;
  }
  .editorial-shelf h2 {
    font-size: 9px;
    letter-spacing: 0.15em;
  }
  .editorial-shelf .shelf-heading > a {
    font-size: 12px;
    gap: 5px;
  }
  .catalog-silence {
    padding: 19px 16px;
    gap: 14px;
    min-height: 135px;
    margin-top: 4px;
  }
  .catalog-silence .quiet-mark {
    font-size: 43px;
  }
  .catalog-silence h3 {
    font-size: 21px;
  }
  .catalog-silence p {
    font-size: 13px;
    line-height: 1.45;
  }
  .catalog-silence .eyebrow {
    font-size: 8px;
    letter-spacing: 0.13em;
  }
  .garden {
    padding-bottom: 20px;
  }
  .scenic {
    background-image: url("/assets/visual-r1/lake-detail.webp");
    background-size: cover;
    background-position: right bottom;
    min-height: 390px;
  }
  .scenic::before {
    background:
      linear-gradient(90deg, #faf7efe0, #faf7efac 65%, #faf7ef28),
      linear-gradient(#faf7ef, transparent 7%);
  }
  .scenic .wrap {
    padding: 42px 20px;
  }
  .scenic article {
    padding: 21px 20px;
    background: #fff9edd9;
    max-width: 100%;
    border-color: #fffc;
  }
  .scenic h2 {
    font-size: 28px;
  }
  .scenic p {
    font-size: 14px;
    line-height: 1.5;
  }
  .scenic .eyebrow {
    font-size: 9px;
  }
  .scenic .button {
    min-height: 44px;
  }
  footer {
    padding: 25px 23px 84px;
  }
  .foot-top {
    flex-direction: row;
    align-items: flex-start !important;
    gap: 20px !important;
  }
  footer img {
    width: 127px;
  }
  footer .foot-top > div:first-child {
    display: block;
  }
  footer .foot-top > div:last-child {
    font: 11px/1.7 Georgia;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  footer .legal {
    gap: 10px;
    margin-top: 16px;
    padding-top: 8px;
    font-size: 10px;
  }
  footer .legal span {
    margin-left: 0;
    width: 100%;
  }
  footer .legal a {
    min-height: 34px;
  }
  footer .legal button {
    font-size: 10px;
    min-height: 36px;
  }
  .page {
    padding-top: 100px;
    min-height: 75vh;
    padding-bottom: 35px;
  }
  .page > h1 {
    font-size: 34px;
  }
  .page::before {
    inset: 80px 0 0;
  }
  .page .filters {
    gap: 12px;
  }
  .page .tabs {
    gap: 6px;
  }
  .page .tabs a {
    padding: 10px 13px;
    font-size: 12px;
  }
  .page .empty h2 {
    font-size: 25px;
  }
  #player {
    right: 10px;
    bottom: calc(9px + env(safe-area-inset-bottom));
    max-width: 244px;
    min-height: 46px;
    padding: 1px 3px 1px 9px;
    gap: 0;
  }
  #player .track {
    width: 58px;
    margin-right: 0;
  }
  #player .track strong {
    font-size: 9px;
  }
  #player .note {
    font-size: 18px;
    margin-right: 4px;
  }
  #player button {
    font-size: 13px;
    min-width: 44px;
    padding: 0;
  }
  #player.expanded {
    width: 305px;
    max-width: calc(100% - 20px);
    padding: 8px 11px;
    border-radius: 16px;
    gap: 3px;
  }
  #player.expanded .track {
    width: auto;
    flex: 1;
  }
  body:has(#player.expanded) {
    padding-bottom: 0;
  }
}
@media (max-width: 340px) {
  .worlds {
    grid-template-columns: 1fr;
  }
  .world .inside {
    min-height: 110px;
  }
  .world img {
    aspect-ratio: 2/1;
  }
  .scene {
    height: 585px;
  }
  .hero-copy {
    width: 270px;
  }
  .garden > .wrap {
    padding: 0 22px;
  }
  header .brand img {
    width: 100px;
  }
  .foot-top {
    flex-direction: column;
  }
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
  transition: none !important;
}
#player.dock-left {
  left: 18px;
  right: auto;
}
#player:not(.expanded) {
  min-width: 142px;
  max-width: 142px;
  min-height: 48px;
  padding: 1px 4px;
  gap: 0;
}
#player:not(.expanded) .note,
#player:not(.expanded) .track {
  display: none;
}
#player.dock-rise-1 {
  bottom: calc(68px + env(safe-area-inset-bottom));
}
#player.dock-rise-2 {
  bottom: calc(124px + env(safe-area-inset-bottom));
}
#player.dock-rise-3 {
  bottom: calc(180px + env(safe-area-inset-bottom));
}
@media (max-width: 600px) {
  #player:not(.expanded) .note,
  #player:not(.expanded) .track {
    display: none;
  }
  #player:not(.expanded) {
    padding: 1px 4px;
    min-width: 142px;
    max-width: 142px;
  }
  #player.dock-left {
    left: 10px;
    right: auto;
  }
}
footer .legal a {
  min-height: 44px;
}
header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
#player.expanded input {
  min-height: 44px;
}
#player.expanded {
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: auto;
  right: 18px;
}
@media (max-width: 600px) {
  #player.expanded {
    right: 10px;
    left: auto;
  }
}
#player.expanded .volume,
#player.expanded .seek {
  min-height: 44px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .drift,
  .scene-notes,
  .lake-light {
    display: none;
  }
}

/* R1.1: dedicated mobile audio row; content scrolls above, never behind it. */
@media (max-width: 600px) {
  body {
    height: 100vh;
    height: 100dvh;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    padding-bottom: 0;
  }
  #site-content {
    min-height: 0;
    overflow: auto;
    overscroll-behavior-y: contain;
    scroll-padding-block: 80px 16px;
  }
  #player:not(.expanded),
  #player.expanded {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    border-radius: 0;
    border-width: 1px 0 0;
    box-shadow: none;
    justify-content: flex-end;
    padding: 3px 12px calc(3px + env(safe-area-inset-bottom));
    background: var(--paper);
  }
  #player:not(.expanded) .track {
    display: block;
    flex: 1;
    width: auto;
    padding-left: 4px;
  }
  #player:not(.expanded) .track strong {
    font-size: 11px;
  }
  #player.expanded {
    padding-top: 7px;
  }
  #player.expanded .track {
    min-width: 100px;
  }
  #player.expanded .volume,
  #player.expanded .seek {
    margin: 0;
  }
  footer {
    padding-bottom: 28px;
  }
}
