:root {
  color-scheme: dark;
  --bg: #0c0b10;
  --bg-soft: #151218;
  --panel: #1d1820;
  --panel-2: #261f26;
  --gold: #d9b56a;
  --gold-bright: #f3d58f;
  --ink: #f7f0e4;
  --muted: #b7aa98;
  --line: rgba(217, 181, 106, 0.22);
  --shadow: rgba(0, 0, 0, 0.45);
  --danger: #ff9f9f;
  --success: #9df0c2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html.band-direct-scroll {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(217, 181, 106, 0.18), transparent 34rem),
    linear-gradient(180deg, #09080c 0%, var(--bg) 48%, #100d12 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

/* Fill iPhone landscape canvas/safe-area gutters for black background + white frame. */
html.presentation-black-canvas,
body.presentation-black-canvas {
  background: #000;
}

body.photo-show-start-open {
  overflow: hidden;
}

.photo-show-start[hidden] {
  display: none;
}

.photo-show-start {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1200;
  display: grid;
  width: var(--viewer-visible-width, 100vw);
  height: var(--viewer-visible-height, 100dvh);
  place-items: center;
  padding: max(1.25rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 50% 18%, rgba(217, 181, 106, 0.2), transparent 22rem),
    rgba(5, 5, 7, 0.98);
}

.photo-show-start__panel {
  display: grid;
  width: min(100%, 28rem);
  gap: 0.9rem;
  padding: clamp(1.4rem, 5vw, 2rem);
  border: 1px solid rgba(217, 181, 106, 0.62);
  border-radius: 1.1rem;
  background: linear-gradient(160deg, rgba(31, 27, 22, 0.98), rgba(9, 9, 12, 0.98));
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.62), 0 0 2.5rem rgba(217, 181, 106, 0.08);
  text-align: center;
}

.photo-show-start__eyebrow,
.photo-show-start__panel h2,
.photo-show-start__panel p {
  margin: 0;
}

.photo-show-start__eyebrow {
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.photo-show-start__panel h2 {
  color: var(--ink);
  font-size: clamp(1.7rem, 7vw, 2.35rem);
  line-height: 1.08;
}

.photo-show-start__panel p:not(.photo-show-start__eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.photo-show-start__button,
.photo-show-start__cancel {
  width: 100%;
  min-height: 3.5rem;
  border-radius: 0.72rem;
  font: inherit;
  font-weight: 900;
}

.photo-show-start__button {
  margin-top: 0.35rem;
  border: 1px solid var(--gold-bright);
  background: linear-gradient(135deg, #f3d58f, #bd8e36);
  color: #15100a;
  box-shadow: 0 0.7rem 1.8rem rgba(217, 181, 106, 0.22);
}

.photo-show-start__cancel {
  border: 1px solid rgba(217, 181, 106, 0.38);
  background: rgba(8, 8, 10, 0.56);
  color: var(--gold-bright);
}

@media (orientation: landscape) and (max-height: 32rem) {
  .photo-show-start {
    padding: 0.45rem max(0.65rem, env(safe-area-inset-right)) 0.45rem max(0.65rem, env(safe-area-inset-left));
  }

  .photo-show-start__panel {
    width: min(100%, 28rem);
    gap: 0.42rem;
    padding: 0.7rem 1rem;
  }

  .photo-show-start__eyebrow {
    font-size: 0.7rem;
  }

  .photo-show-start__panel h2 {
    font-size: 1.45rem;
  }

  .photo-show-start__panel p:not(.photo-show-start__eyebrow) {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .photo-show-start__button,
  .photo-show-start__cancel {
    min-height: 2.45rem;
  }
}

html.viewer-open,
body.viewer-open {
  overflow: hidden;
  overscroll-behavior: none;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.floating-menu {
  position: fixed !important;
  top: max(1rem, calc(env(safe-area-inset-top) + 1rem)) !important;
  left: 0.85rem !important;
  z-index: 1000;
  display: grid;
  gap: 0.35rem;
  justify-items: start;
  transition: opacity 0.2s ease;
}

body.presentation-open .floating-menu {
  opacity: 0;
  pointer-events: none;
}

body.hero-fullscreen-open .floating-menu {
  opacity: 0;
  pointer-events: none;
}

body.hero-fullscreen-open .quick-links {
  opacity: 0;
  pointer-events: none;
}

body.viewer-open .floating-menu {
  opacity: 0;
  pointer-events: none;
}

body.presentation-open .fixed-quick-buttons,
body.presentation-open .nav-pill--hero-fullscreen,
body.hero-fullscreen-open .fixed-quick-buttons,
body.hero-fullscreen-open .nav-pill--hero-fullscreen,
body.viewer-open .fixed-quick-buttons {
  opacity: 0;
  pointer-events: none;
}

.floating-menu__button {
  display: grid;
  width: 3rem;
  height: 3rem;
  min-height: 3rem;
  place-items: center;
  border: 1px solid rgba(217, 181, 106, 0.38);
  border-radius: 50%;
  background: rgba(10, 8, 12, 0.88);
  color: var(--gold-bright);
  box-shadow: 0 0.7rem 1.4rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(0.45rem);
}

.floating-menu__icon {
  display: grid;
  width: 1.28rem;
  height: 1.08rem;
  align-content: space-between;
  justify-items: center;
}

.floating-menu__icon span {
  display: block;
  width: 1.28rem;
  height: 0.12rem;
  border-radius: 999px;
  background: currentColor;
}

.floating-menu__links {
  display: none;
  width: min(74vw, 15rem);
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(15, 12, 17, 0.96);
  box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(0.6rem);
}

.floating-menu.is-open .floating-menu__links {
  display: grid;
}

.floating-menu__links a,
.floating-menu__forget-access {
  display: block;
  width: 100%;
  padding: 0.88rem 0.85rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04rem;
  line-height: 1.2;
  text-align: left;
  text-transform: none;
  white-space: normal;
}

.floating-menu__links a:active,
.floating-menu__links a:focus-visible,
.floating-menu__forget-access:active,
.floating-menu__forget-access:focus-visible {
  background: rgba(217, 181, 106, 0.14);
  color: var(--gold-bright);
}

.floating-menu__forget-access {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  letter-spacing: 0;
}

.floating-menu__links .floating-menu__highlight {
  color: var(--gold-bright);
}

.floating-menu__links .scan-click-menu {
  margin-top: 0.35rem;
  border: 1px solid rgba(151, 226, 255, 0.82);
  background: linear-gradient(135deg, rgba(171, 232, 255, 0.26), rgba(93, 186, 229, 0.14));
  color: #bcecff;
  box-shadow: 0 0 0.9rem rgba(111, 211, 255, 0.3), inset 0 0 0.7rem rgba(199, 241, 255, 0.08);
}

.floating-menu__links .floating-menu__meldingen-demo {
  margin-top: 0.18rem;
  border: 1px solid rgba(219, 191, 106, 0.66);
  background: linear-gradient(135deg, rgba(249, 229, 151, 0.22), rgba(212, 180, 86, 0.12));
  color: #f4e4b0;
  box-shadow: 0 0 0.9rem rgba(230, 199, 103, 0.22), inset 0 0 0.7rem rgba(249, 233, 176, 0.11);
}

.floating-menu__links .floating-menu__meldingen-demo:hover,
.floating-menu__links .floating-menu__meldingen-demo:focus-visible {
  border-color: rgba(228, 200, 98, 0.9);
  background: linear-gradient(135deg, rgba(255, 236, 167, 0.3), rgba(230, 200, 104, 0.2));
  color: #ffebb0;
  box-shadow: 0 0 1rem rgba(238, 208, 92, 0.28), inset 0 0 0.8rem rgba(250, 235, 182, 0.12);
}

.floating-menu__links .floating-menu__meldingen-demo:active {
  background: linear-gradient(135deg, rgba(226, 194, 106, 0.24), rgba(206, 168, 82, 0.16));
  color: #ecdd9d;
}

.floating-menu__links .main-menu-admin-link--admin {
  border: 1px solid rgba(217, 181, 106, 0.32);
  background: rgba(217, 181, 106, 0.09);
  color: #e8c879;
}

.floating-menu__links .main-menu-admin-link--bottom {
  margin-top: 0.42rem;
  box-shadow: 0 -0.42rem 0 -0.37rem rgba(255, 255, 255, 0.16);
}

.app-shell {
  width: min(100%, 32rem);
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 18rem);
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 1rem 1rem 2rem;
}

body.hero-fullscreen-open {
  overflow: hidden;
}

.hero.is-hero-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: 100%;
  min-height: 100svh;
  padding: 1rem 1rem 2rem;
  overflow: hidden;
  background: var(--bg);
  cursor: zoom-out;
}

.hero.is-hero-fullscreen:fullscreen,
.hero.is-hero-fullscreen:-webkit-full-screen {
  width: 100%;
  min-height: 100vh;
  background: var(--bg);
}

.hero.is-hero-fullscreen .topbar {
  opacity: 0;
  pointer-events: none;
}

.hero.is-hero-fullscreen .hero-decorations,
.hero.is-hero-fullscreen .hero-decorations-front {
  display: none;
}

.hero-admin-panel {
  position: static;
  z-index: auto;
  display: flex;
  justify-content: center;
  gap: 0.28rem;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 10rem;
}

.hero-admin-panel.hidden {
  display: none;
}

.hero-admin-panel a {
  display: inline-flex;
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.45rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.58rem;
  border: 1px solid rgba(217, 181, 106, 0.36);
  border-radius: 0.42rem;
  background: rgba(10, 8, 12, 0.78);
  color: var(--gold-bright);
  font-size: clamp(0.84rem, 3vw, 1rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0.55rem 1.05rem rgba(0, 0, 0, 0.22);
}

.hero-admin-panel a:focus-visible,
.hero-admin-panel a:hover {
  border-color: rgba(255, 226, 143, 0.82);
  background: rgba(217, 181, 106, 0.18);
  outline: none;
}

.hero-admin-panel__admin {
  border-color: rgba(255, 226, 143, 0.58) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 226, 143, 0.14), transparent 70%),
    rgba(243, 213, 143, 0.12) !important;
  color: #ffe28a !important;
  box-shadow:
    0 0 0 1px rgba(255, 226, 143, 0.08),
    0 0 0.72rem rgba(255, 212, 92, 0.18),
    0 0.62rem 1.1rem rgba(0, 0, 0, 0.22) !important;
  text-shadow: 0 0 0.38rem rgba(255, 226, 143, 0.28);
}

.hero-admin-panel__dj {
  border-color: rgba(159, 220, 255, 0.58) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(159, 220, 255, 0.14), transparent 70%),
    rgba(93, 202, 255, 0.12) !important;
  color: #bfeaff !important;
  box-shadow:
    0 0 0 1px rgba(159, 220, 255, 0.08),
    0 0 0.72rem rgba(93, 202, 255, 0.2),
    0 0.62rem 1.1rem rgba(0, 0, 0, 0.22) !important;
  text-shadow: 0 0 0.38rem rgba(159, 220, 255, 0.3);
}

.hero.is-hero-fullscreen .phone-stage {
  inset: 0.65rem 0 auto;
  transform: none;
}

.hero.is-hero-fullscreen .phone-frame {
  width: min(96vw, 34rem);
  height: calc(100vh - 1.3rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.hero.is-hero-fullscreen .phone-speaker {
  display: none;
}

.hero.is-hero-fullscreen .art-frame,
.hero.is-hero-fullscreen .turntable {
  left: 3vw;
  right: 3vw;
  height: min(42vh, calc((100vh - 5rem) / 2));
}

.hero.is-hero-fullscreen .art-frame {
  top: 1.25rem;
}

.hero.is-hero-fullscreen .turntable {
  bottom: 3rem;
}

.hero.is-hero-fullscreen .turntable {
  border-radius: 0;
  border: 0.38rem solid transparent;
  background:
    linear-gradient(180deg, #20151b, #100b10) padding-box,
    linear-gradient(135deg, #8b6220 0%, #ffe69a 14%, #b78325 28%, #fff0b8 43%, #7a521c 58%, #d7a948 74%, #fff5c5 86%, #9a6a22 100%) border-box;
  box-shadow:
    inset 0 0 0 1px rgba(255, 242, 185, 0.8),
    inset 0 0 0 0.14rem rgba(74, 45, 12, 0.72),
    inset 0 0 0 0.2rem rgba(255, 221, 122, 0.22),
    0 0.25rem 0 rgba(255, 239, 171, 0.34),
    0 0.78rem 1.7rem rgba(0, 0, 0, 0.52);
}

.hero.is-hero-fullscreen .turntable::before {
  inset: -0.38rem;
  border-radius: 0;
  background: none;
  box-shadow:
    inset 0 0 0 0.1rem rgba(255, 244, 187, 0.7),
    inset 0 0 0 0.2rem rgba(92, 57, 13, 0.64),
    inset 0 0 0 0.3rem rgba(255, 218, 112, 0.32);
}

.hero.is-hero-fullscreen .turntable::after {
  inset: 0.1rem;
  left: 0.1rem;
  top: 0.1rem;
  bottom: 0.1rem;
  width: auto;
  border-radius: 0;
  background: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 158, 0.78),
    inset 0 0.35rem 0.7rem rgba(255, 239, 176, 0.12),
    inset 0 -0.45rem 0.9rem rgba(59, 33, 8, 0.34);
  opacity: 1;
}

.hero.is-hero-fullscreen .turntable .hero-frame-slideshow {
  opacity: 1;
  z-index: 2;
}

.turntable.has-slideshow .hero-frame-slideshow {
  opacity: 1;
}

.hero-secondary-dj .turntable .hero-frame-slideshow,
.hero-secondary-dj .turntable.has-slideshow .hero-frame-slideshow {
  opacity: 0;
  pointer-events: none;
}

.hero-secondary-pending .turntable {
  visibility: hidden;
}

.hero.is-hero-fullscreen .turntable .dj-platter,
.hero.is-hero-fullscreen .turntable .dj-mixer,
.hero.is-hero-fullscreen .turntable .tonearm {
  display: none;
}

.hero.is-hero-fullscreen .hero-copy {
  display: none;
}

.hero.is-hero-fullscreen-primary .art-frame {
  top: 50%;
  left: 50%;
  right: auto;
  width: min(94vw, calc((100vh - 2rem) * 0.82));
  height: min(calc(100vh - 2rem), calc(94vw / 0.82));
  transform: translate(-50%, -50%);
}

.hero.is-hero-fullscreen-primary .turntable {
  display: none;
}

.hero.is-hero-fullscreen-primary .phone-stage::before {
  display: none;
}

.hero.is-hero-fullscreen-secondary .phone-stage::before {
  display: none;
}

.hero.is-hero-fullscreen-secondary .art-frame {
  display: none;
}

.hero.is-hero-fullscreen-secondary .turntable {
  display: block;
  top: 50%;
  bottom: auto;
  left: 2vw;
  right: 2vw;
  height: min(72vh, calc(96vw * 0.5625));
  transform: translateY(-50%);
}

@media (orientation: landscape) {
  .hero.is-hero-fullscreen .art-frame {
    top: 1rem;
    left: 1.5vw;
    right: 1.5vw;
    height: calc(100vh - 2rem);
  }

  .hero.is-hero-fullscreen-primary .art-frame {
    top: 50%;
    left: 50%;
    right: auto;
    width: min(58vw, calc((100vh - 2rem) * 0.82));
    height: min(calc(100vh - 2rem), calc(58vw / 0.82));
    transform: translate(-50%, -50%);
  }

  .hero.is-hero-fullscreen .turntable {
    display: none;
  }

  .hero.is-hero-fullscreen-secondary .art-frame {
    display: none;
  }

  .hero.is-hero-fullscreen-secondary .turntable {
    display: block;
    top: 1rem;
    bottom: auto;
    left: 1.5vw;
    right: 1.5vw;
    height: calc(100vh - 2rem);
    transform: none;
  }
}

/* viewer-mobile-portrait-controls */
/* Keep the photo-to-controls gap equal to the controls-to-screen-edge gap. */
@media (orientation: portrait) and (max-width: 37.5rem) and (hover: none) and (pointer: coarse) {
  #photoViewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__dialog {
    --viewer-button-size: clamp(2.8rem, 12.5vw, 3.25rem);
    --viewer-portrait-control-gap: max(1.15rem, env(safe-area-inset-bottom, 0px));
  }

  #photoViewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__image-wrap {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
    padding-bottom: calc(
      var(--viewer-button-size)
      + var(--viewer-portrait-control-gap)
      + var(--viewer-portrait-control-gap)
    );
  }

  #photoViewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__image-wrap img {
    grid-row: 2;
    align-self: end;
    justify-self: center;
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }

  #photoViewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__actions {
    bottom: var(--viewer-portrait-control-gap);
    width: calc(100vw - 1.25rem);
    max-width: 26rem;
    grid-template-columns: repeat(5, var(--viewer-button-size));
    justify-content: space-between;
    gap: 0;
  }
}

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  min-height: 3.05rem;
}

.brand {
  position: absolute;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(-50%);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 3.05rem;
  height: 3.05rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(217, 181, 106, 0.08);
  color: var(--gold-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.22rem;
}

.nav-pill {
  display: grid;
  width: 3rem;
  height: 3rem;
  min-height: 3rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-bright);
  box-shadow: 0 0.7rem 1.4rem rgba(0, 0, 0, 0.24);
}

.nav-pill--hero-fullscreen {
  position: absolute;
  top: 0;
  right: 0.85rem;
  z-index: 70;
  transition: opacity 0.2s ease;
}

.fixed-quick-buttons {
  position: absolute;
  top: 1rem;
  left: 4.35rem;
  z-index: 70;
  display: flex;
  gap: 0.5rem;
  transition: opacity 0.2s ease;
  will-change: transform;
}

.nav-pill--tv {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-pill--tv.is-active {
  border-color: rgba(255, 226, 143, 0.85);
  background: rgba(217, 181, 106, 0.22);
  color: #fff4c5;
  box-shadow:
    0 0 0 1px rgba(255, 226, 143, 0.16),
    0 0.7rem 1.4rem rgba(0, 0, 0, 0.24);
}

.nav-pill--popular {
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-pill__heart-icon {
  width: 1.7rem;
  height: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-pill--popular.is-active {
  border-color: rgba(255, 226, 143, 0.85);
  background: rgba(217, 181, 106, 0.22);
  color: #ef2e4e;
}

.nav-pill--popular.is-active .nav-pill__heart-icon {
  fill: currentColor;
}

.nav-pill__tv-icon {
  position: relative;
  display: block;
  width: 1.62rem;
  height: 1.12rem;
  border: 0.13rem solid currentColor;
  border-radius: 0.16rem;
  background: linear-gradient(135deg, transparent 18%, rgba(243, 213, 143, 0.18) 19% 42%, transparent 43%);
}

.nav-pill__tv-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 0.28rem solid transparent;
  border-bottom: 0.28rem solid transparent;
  border-left: 0.45rem solid currentColor;
  transform: translate(-38%, -50%);
}

.nav-pill__tv-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.34rem;
  width: 0.78rem;
  height: 0.13rem;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.nav-pill__music-icon {
  display: block;
  color: currentColor;
  font-size: 1.62rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-0.02rem);
  text-shadow: 0 0 0.5rem rgba(255, 226, 143, 0.24);
}


.nav-pill__fullscreen-icon {
  position: relative;
  display: block;
  width: 1.38rem;
  height: 1.38rem;
}

.nav-pill__fullscreen-icon::before,
.nav-pill__fullscreen-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(currentColor 0 0) left top / 0.52rem 0.14rem no-repeat,
    linear-gradient(currentColor 0 0) left top / 0.14rem 0.52rem no-repeat,
    linear-gradient(currentColor 0 0) right top / 0.52rem 0.14rem no-repeat,
    linear-gradient(currentColor 0 0) right top / 0.14rem 0.52rem no-repeat,
    linear-gradient(currentColor 0 0) left bottom / 0.52rem 0.14rem no-repeat,
    linear-gradient(currentColor 0 0) left bottom / 0.14rem 0.52rem no-repeat,
    linear-gradient(currentColor 0 0) right bottom / 0.52rem 0.14rem no-repeat,
    linear-gradient(currentColor 0 0) right bottom / 0.14rem 0.52rem no-repeat;
}

.nav-pill__fullscreen-icon::after {
  inset: 0.32rem;
  opacity: 0.45;
}

.nav-pill__photo-icon {
  position: relative;
  display: block;
  width: 1.38rem;
  height: 1.08rem;
  border: 0.13rem solid currentColor;
  border-radius: 0.18rem;
}

.nav-pill__photo-icon::before {
  content: "";
  position: absolute;
  top: 0.18rem;
  right: 0.2rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: currentColor;
}

.nav-pill__photo-icon::after {
  content: "";
  position: absolute;
  left: 0.18rem;
  right: 0.18rem;
  bottom: 0.14rem;
  height: 0.34rem;
  background: currentColor;
  clip-path: polygon(0 100%, 32% 35%, 52% 72%, 70% 45%, 100% 100%);
}

.phone-stage {
  position: absolute;
  inset: 5.15rem 0 auto;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  top: 4%;
  left: 50%;
  width: min(82vw, 21rem);
  height: 78%;
  border-radius: 48%;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 228, 143, 0.24), transparent 42%),
    radial-gradient(circle at 50% 58%, rgba(255, 194, 73, 0.12), transparent 58%);
  filter: blur(0.7rem);
  opacity: 0.95;
  transform: translateX(-50%) rotate(-3deg);
  pointer-events: none;
}

.phone-frame {
  position: relative;
  width: min(70vw, 18rem);
  aspect-ratio: 9 / 16;
  border: 0.72rem solid #060507;
  border-radius: 2.3rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(180deg, #17131b, #0b090d);
  box-shadow:
    0 1.6rem 4rem var(--shadow),
    0 0 2.4rem rgba(255, 214, 118, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(217, 181, 106, 0.24);
  transform: translateX(-0.15rem) rotate(-3deg);
}

.phone-speaker {
  position: absolute;
  top: 0.52rem;
  left: 50%;
  width: 4.8rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #050405;
  transform: translateX(-50%);
}

.art-frame {
  appearance: none;
  position: absolute;
  top: 1.6rem;
  left: 0.96rem;
  right: 0.96rem;
  z-index: 4;
  height: 56%;
  padding: 0;
  border: 0.06rem solid var(--gold);
  background:
    linear-gradient(135deg, rgba(243, 213, 143, 0.24), transparent 42%),
    linear-gradient(180deg, #2d2228, #151015);
  box-shadow: inset 0 0 0 1px rgba(8, 7, 8, 0.85), 0 0.7rem 1.6rem rgba(0, 0, 0, 0.38);
  cursor: pointer;
  color: inherit;
  font: inherit;
  overflow: hidden;
}

.art-frame:focus-visible {
  outline: 3px solid rgba(243, 213, 143, 0.58);
  outline-offset: 0.18rem;
}

.photo-glow {
  position: absolute;
  inset: 14% 18%;
  border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 235, 178, 0.72), transparent 22%),
    radial-gradient(circle at 50% 64%, rgba(96, 58, 70, 0.95), transparent 45%);
}

.portrait-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(243, 213, 143, 0.2) 49%, transparent 51%),
    repeating-linear-gradient(180deg, transparent 0 1.25rem, rgba(255, 255, 255, 0.04) 1.25rem 1.32rem);
}

.turntable {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 4;
  height: 29%;
  border-radius: 0;
  border: 1px solid rgba(217, 181, 106, 0.22);
  background: linear-gradient(150deg, #292329, #100e12);
  box-shadow: inset 0 0 1.8rem rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.turntable:focus-visible {
  outline: 3px solid rgba(243, 213, 143, 0.58);
  outline-offset: 0.18rem;
}

.hero-photo-play-card {
  display: none;
}

.record,
.mini-record {
  border-radius: 50%;
  background:
    conic-gradient(from 18deg, rgba(255, 255, 255, 0.42) 0 10deg, transparent 10deg 48deg, rgba(255, 255, 255, 0.24) 48deg 56deg, transparent 56deg 122deg, rgba(255, 255, 255, 0.16) 122deg 128deg, transparent 128deg 360deg),
    radial-gradient(circle, var(--gold-bright) 0 8%, #121015 8.5% 18%, #050406 18.5% 100%);
}

.record {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 7.8rem;
  aspect-ratio: 1;
  transform: translateY(-50%);
  box-shadow: 0 0 0 1px #000, inset 0 0 0 1.2rem #09080b;
}

.record-ring {
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.record-label {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: var(--gold);
}

.tonearm {
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  width: 4.2rem;
  height: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-bright), #7b683f);
  transform: rotate(34deg);
  transform-origin: right center;
}

.tonearm::after {
  content: "";
  position: absolute;
  right: -0.35rem;
  top: -0.38rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: min(128vw, 34rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(2rem, 8.5vw, 3rem);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.08;
}

h2 {
  color: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.18rem, 4.15vw, 1.62rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.02rem;
  text-transform: none;
}

.hero-copy p:last-child,
.panel-text {
  max-width: 27rem;
  margin: 0.85rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.spotify-feature,
.youtube-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  white-space: nowrap;
}

body.youtube-buttons-hidden .hero-copy :is(.spotify-feature, .youtube-feature) {
  display: none;
}

.spotify-feature__icon {
  width: 1em;
  height: 1em;
  color: #1ed760;
  fill: currentColor;
  stroke: #08120b;
  stroke-linecap: round;
  stroke-width: 1.45;
  vertical-align: -0.14em;
}

.youtube-feature__icon {
  width: 1.18em;
  height: 1em;
  fill: #ff0033;
  vertical-align: -0.14em;
}

.youtube-feature__icon path {
  fill: #fff;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(5, clamp(3rem, 16.2vw, 4.05rem));
  justify-content: center;
  gap: clamp(0.14rem, 0.65vw, 0.32rem);
  width: 100%;
  max-width: 100%;
  padding: 0 0.65rem 2rem;
  overflow-x: hidden;
}

body.playlist-feature-hidden .quick-links {
  grid-template-columns: repeat(3, clamp(3rem, 16.2vw, 4.05rem));
}

.quick-links a {
  display: grid;
  min-width: 0;
  min-height: clamp(3.75rem, 15.5vw, 4.4rem);
  align-content: center;
  justify-items: center;
  gap: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: clamp(0.52rem, 2.55vw, 0.7rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.icon {
  color: var(--gold-bright);
  font-size: clamp(1rem, 4vw, 1.18rem);
}

.section {
  padding: 2.4rem 1rem;
  border-top: 1px solid rgba(217, 181, 106, 0.13);
  scroll-margin-top: 0;
}

#gallery {
  padding-inline: 0.25rem;
}

.section:last-child {
  min-height: 100vh;
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-heading > .eyebrow {
  width: min(100%, 18rem);
  margin-inline: auto;
  font-size: 0.9rem;
  text-align: center;
}

#gallery .section-heading > .eyebrow {
  margin-top: -0.75rem;
  margin-bottom: 1.35rem;
}

@media (max-width: 32rem) {
  #gallery .section-heading > .eyebrow {
    width: auto;
    margin-left: 4.1rem;
    margin-right: 10.9rem;
    white-space: nowrap;
  }
}

@media (max-width: 22rem) {
  #gallery .section-heading > .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.06rem;
  }
}

#upload .section-heading > .eyebrow {
  margin-top: -0.45rem;
  margin-bottom: 1.15rem;
}

#playlist .section-heading > .eyebrow,
#request .section-heading > .eyebrow,
#messagesList .section-heading > .eyebrow,
#message .section-heading > .eyebrow {
  margin-top: -0.45rem;
  margin-bottom: 1.15rem;
}

.heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.heading-row h2 {
  align-self: center;
}

.section-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

#gallery .heading-row {
  align-items: flex-end;
}

#gallery .section-tools {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gallery-page-summary {
  margin: 0.42rem 0 0;
  color: var(--muted);
  font-size: clamp(0.72rem, 2.2vw, 0.84rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.gallery-page-summary[hidden] {
  display: none;
}

.section-refresh-button {
  display: grid;
  width: 2.7rem;
  min-height: 2.7rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-bright);
  font-size: 1.22rem;
  line-height: 1;
  box-shadow: none;
}

.section-icon-button {
  position: relative;
  display: grid;
  width: 2.7rem;
  min-height: 2.7rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-bright);
  box-shadow: none;
}

.gallery-page-button__value,
.playlist-page-button span {
  display: grid;
  min-width: 1.38rem;
  height: 1.38rem;
  place-items: center;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
}

.gallery-page-button {
  width: auto;
  min-width: 3.6rem;
  padding-inline: 0.78rem;
  border-radius: 0.45rem;
}

#galleryPageButton {
  border-color: rgba(92, 239, 151, 0.72);
  background: linear-gradient(135deg, rgba(42, 190, 103, 0.2), rgba(31, 112, 70, 0.1));
  color: #7dffae;
  box-shadow:
    inset 0 0 0 1px rgba(122, 255, 173, 0.08),
    0 0 1.15rem rgba(49, 221, 116, 0.12);
}

#galleryPageButton:hover,
#galleryPageButton:focus-visible {
  border-color: rgba(116, 255, 172, 0.96);
  background: linear-gradient(135deg, rgba(47, 219, 116, 0.3), rgba(31, 130, 77, 0.16));
  color: #ddffe9;
  box-shadow:
    inset 0 0 0 1px rgba(143, 255, 185, 0.15),
    0 0 1.45rem rgba(57, 235, 129, 0.24);
}

#playlist .heading-row {
  flex-wrap: wrap;
}

.playlist-page-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.playlist-pagination-bottom {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0;
  justify-content: flex-start;
  gap: clamp(2.5rem, 10vw, 8.125rem);
}

.playlist-pagination-bottom[hidden] {
  display: none;
}

.gallery-pagination-bottom {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0;
  justify-content: flex-start;
  gap: clamp(1rem, 4vw, 2.5rem);
  flex-wrap: wrap;
}

.gallery-pagination-bottom[hidden] {
  display: none;
}

body.gallery-band-active .gallery-pagination-bottom {
  scroll-margin-block: 1rem;
}

.gallery-pagination-bottom {
  display: block;
}

.gallery-pagination-bottom__button {
  display: grid;
  width: 100%;
  min-height: 4.8rem;
  justify-items: start;
  gap: 0.38rem;
  padding: 0.8rem 1rem;
  border-color: rgba(92, 239, 151, 0.72);
  background: linear-gradient(135deg, rgba(42, 190, 103, 0.2), rgba(31, 112, 70, 0.1));
  box-shadow:
    inset 0 0 0 1px rgba(122, 255, 173, 0.08),
    0 0 1.15rem rgba(49, 221, 116, 0.12);
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gallery-pagination-bottom__button:hover,
.gallery-pagination-bottom__button:focus-visible {
  border-color: rgba(116, 255, 172, 0.96);
  background: linear-gradient(135deg, rgba(47, 219, 116, 0.3), rgba(31, 130, 77, 0.16));
  box-shadow:
    inset 0 0 0 1px rgba(143, 255, 185, 0.15),
    0 0 1.45rem rgba(57, 235, 129, 0.24);
  transform: translateY(-1px);
}

.gallery-pagination-bottom__line {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 0.55rem;
  white-space: normal;
}

.gallery-pagination-bottom__next {
  color: #ddffe9;
  font-size: clamp(0.9rem, 2.8vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.gallery-pagination-bottom__button .gallery-page-button__value {
  flex: 0 0 auto;
  min-width: 2.6rem;
  height: auto;
  color: #7dffae;
  font-size: clamp(1rem, 3vw, 1.18rem);
  white-space: nowrap;
}

.gallery-pagination-bottom__summary {
  color: rgba(222, 255, 235, 0.78);
  font-size: clamp(0.76rem, 2.3vw, 0.9rem);
  font-weight: 700;
  line-height: 1.25;
}

.small-section-button {
  display: inline-grid;
  min-height: 2.7rem;
  place-items: center;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-bright);
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.gallery-view-button span {
  position: relative;
  display: block;
  width: 1.22rem;
  height: 1.22rem;
}

.gallery-view-button--mini span {
  background:
    linear-gradient(currentColor 0 0) left top / 0.48rem 0.48rem no-repeat,
    linear-gradient(currentColor 0 0) right top / 0.48rem 0.48rem no-repeat,
    linear-gradient(currentColor 0 0) left bottom / 0.48rem 0.48rem no-repeat,
    linear-gradient(currentColor 0 0) right bottom / 0.48rem 0.48rem no-repeat;
}

.gallery-view-button--cards span {
  width: 1.32rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 0.14rem;
}

.gallery-view-button--cards span::before,
.gallery-view-button--cards span::after {
  content: "";
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  height: 2px;
  background: currentColor;
}

.gallery-view-button--cards span::before {
  top: 0.3rem;
}

.gallery-view-button--cards span::after {
  bottom: 0.26rem;
}

.gallery-view-button--band span {
  width: 0.9rem;
  height: 1.3rem;
  border: 2px solid currentColor;
  border-radius: 0.12rem;
  background:
    linear-gradient(currentColor 0 0) center 0.32rem / 0.52rem 2px no-repeat,
    linear-gradient(currentColor 0 0) center 0.65rem / 0.52rem 2px no-repeat,
    linear-gradient(currentColor 0 0) center 0.98rem / 0.52rem 2px no-repeat;
}

.gallery-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.gallery-grid--cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.gallery-grid--mini,
.gallery-grid--thumbs {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.18rem;
}

.gallery-grid--band {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.18rem;
  touch-action: pan-x pinch-zoom;
  overscroll-behavior-y: contain;
}

.gallery-grid--band .photo-open {
  touch-action: manipulation;
}

.gallery-grid--band .photo-card {
  width: min(100%, 56rem);
  margin-inline: auto;
  padding: 0.12rem;
  border-radius: 0;
  box-shadow: none;
}

.gallery-grid--band .photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.gallery-grid--band .photo-card__text {
  min-height: 3.1rem;
  padding: 0.28rem 0.5rem 0.42rem;
}

body.band-photo-info-hidden .gallery-grid--band {
  gap: 0;
}

body.band-photo-info-hidden .gallery-grid--band .photo-card {
  padding: 0;
  border: 0;
  background: #000;
}

body.band-photo-info-hidden .gallery-grid--band .photo-card__text {
  display: none;
}

.photo-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0.28rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(217, 181, 106, 0.18), rgba(255, 255, 255, 0.035));
  box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.28);
}

.photo-card__media {
  position: relative;
  min-width: 0;
}

.gallery-success {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(157, 240, 194, 0.4);
  border-radius: 0.5rem;
  background: rgba(157, 240, 194, 0.12);
  color: var(--success);
  font-size: 0.95rem;
  font-weight: 800;
}

.gallery-success__icon {
  display: grid;
  width: 1.7rem;
  min-width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(157, 240, 194, 0.18);
  color: var(--success);
  font-size: 1.08rem;
}

.gallery-success strong,
.gallery-success span span {
  display: block;
}

.gallery-success span span {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: pre-line;
}

.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #0a080b;
}

.gallery-grid--cards .photo-card img,
.gallery-grid--mini .photo-card img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-card__blur-backdrop {
  display: none;
}

.gallery-grid--cards .photo-card--portrait .photo-open,
.gallery-grid--mini .photo-card--portrait .photo-open {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #08070a;
}

.gallery-grid--cards .photo-card--portrait .photo-card__blur-backdrop,
.gallery-grid--mini .photo-card--portrait .photo-card__blur-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  filter: blur(clamp(0.55rem, 1.4vw, 0.95rem)) saturate(0.82) brightness(0.56);
  opacity: 0.88;
  transform: scale(1.09);
  pointer-events: none;
  user-select: none;
}

.gallery-grid--cards .photo-card--portrait .photo-card__image,
.gallery-grid--mini .photo-card--portrait .photo-card__image {
  position: relative;
  z-index: 1;
  object-fit: contain;
  background: transparent;
}

.photo-like-chip {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-grid;
  grid-template-rows: 1.45rem 1rem;
  min-width: 2.25rem;
  width: 2.25rem;
  min-height: 2.72rem;
  height: 2.72rem;
  padding: 0.28rem 0 0;
  justify-items: center;
  align-items: center;
  gap: 0;
  align-self: start;
  justify-self: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--gold);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.photo-like-chip__heart {
  color: currentColor;
  font-size: 1.72rem;
  line-height: 0.82;
  text-shadow:
    0 0.08rem 0.25rem rgba(0, 0, 0, 0.78),
    0 0.12rem 0.72rem rgba(0, 0, 0, 0.54);
}

.photo-like-chip__count {
  margin-top: 0.28rem;
  color: #fff;
  font-size: 0.68rem;
  line-height: 1;
  text-shadow: 0 0.08rem 0.22rem rgba(0, 0, 0, 0.9);
}

.photo-like-chip--compact .photo-like-chip__count {
  font-size: 0.6rem;
}

.photo-like-chip.has-likes,
.photo-like-chip.is-liked {
  color: #ef2e4e;
}

.gallery-grid--cards .photo-like-chip,
.gallery-grid--cards .photo-like-chip.has-likes {
  color: #fff;
}

.gallery-grid--cards .photo-like-chip.is-liked {
  color: #ef2e4e;
}

.gallery-grid--band .photo-like-chip--band {
  position: absolute;
  right: 0.95rem;
  bottom: 0.95rem;
  z-index: 3;
  grid-column: auto;
  grid-row: auto;
  width: 2.7rem;
  min-width: 2.7rem;
  height: 3.15rem;
  min-height: 3.15rem;
  padding-top: 0.18rem;
  border-radius: 50%;
  background: rgba(8, 7, 10, 0.48);
  backdrop-filter: blur(0.18rem);
  color: #fff;
}

.gallery-grid--band .photo-like-chip--band.is-liked {
  color: #ef2e4e;
}

.gallery-grid--band .photo-like-chip--band .photo-like-chip__heart {
  font-size: 2rem;
}

.gallery-grid--band .photo-like-chip--band .photo-like-chip__count {
  margin-top: 0.36rem;
  font-size: 0.72rem;
}

.photo-like-chip:focus-visible {
  outline: 2px solid rgba(255, 226, 143, 0.65);
  outline-offset: 0.14rem;
}

.photo-like-chip:disabled {
  cursor: wait;
  opacity: 0.78;
}

.photo-like-chip.is-toggle-locked {
  cursor: default;
  opacity: 1;
}

.gallery-grid--cards .photo-open {
  touch-action: manipulation;
}

.gallery-grid--thumbs .photo-card {
  padding: 0.08rem;
  border-color: rgba(217, 181, 106, 0.32);
  border-radius: 0.16rem;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.gallery-grid--thumbs .photo-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid--thumbs .photo-card__text {
  display: grid;
  min-height: 2.85rem;
  padding: 0.18rem 0.08rem 0.26rem;
}

.gallery-grid--thumbs .photo-card.has-photo-like .photo-card__text {
  display: grid;
  min-height: 2.85rem;
}

body.mini-photo-info-hidden .gallery-grid--thumbs {
  gap: 0.12rem;
}

body.mini-photo-info-hidden .gallery-grid--thumbs .photo-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.mini-photo-info-hidden .gallery-grid--thumbs .photo-card__text,
body.mini-photo-info-hidden .gallery-grid--thumbs .photo-card.has-photo-like .photo-card__text {
  display: none;
}

.photo-card figcaption {
  grid-column: 1;
  grid-row: 1;
  padding: 0.45rem 0 0;
  color: var(--gold-bright);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.photo-card__text {
  padding: 0.25rem 0.15rem 0.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  align-items: start;
  column-gap: 0.5rem;
  gap: 0.1rem;
}

.photo-card__copy {
  min-width: 0;
}

.photo-caption {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.photo-upload-time {
  grid-column: 1;
  grid-row: 3;
  margin: 0.1rem 0 0;
  padding: 0;
  color: rgba(235, 222, 190, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.photo-card:not(.has-caption) .photo-upload-time {
  grid-row: 2;
}

.photo-time {
  display: inline;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.8em;
  font-weight: 400;
}

.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 1rem;
  touch-action: none;
}

.photo-viewer button,
.photo-viewer img {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.photo-viewer.is-open {
  display: grid;
}

#photoViewer.is-exiting-to-band:not(.is-presentation) {
  pointer-events: none;
  animation: viewer-to-band-exit 160ms ease-out forwards;
}

body.viewer-band-transition-active .gallery-grid--band {
  transition: opacity 220ms ease-out, transform 220ms ease-out;
  will-change: opacity, transform;
}

body.viewer-band-transition-active.viewer-band-entering .gallery-grid--band {
  opacity: 0;
  transform: translateY(0.7rem);
}

@keyframes viewer-to-band-exit {
  to {
    opacity: 0;
    transform: translateY(-0.55rem) scale(0.992);
  }
}

@media (prefers-reduced-motion: reduce) {
  #photoViewer.is-exiting-to-band:not(.is-presentation) {
    animation: none;
  }

  body.viewer-band-transition-active .gallery-grid--band {
    transition: none;
    transform: none;
  }
}

.photo-viewer.is-fullscreen-viewer {
  padding: 0;
  background: #000;
}

.photo-viewer.is-fullscreen-viewer:fullscreen,
.photo-viewer.is-fullscreen-viewer:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #000;
}

.photo-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 5, 0.88);
  backdrop-filter: blur(0.45rem);
}

.nav-pill--gallery {
  flex: 0 0 auto;
}

.photo-viewer__dialog {
  --viewer-control-bottom: 0.9rem;
  --viewer-control-clearance: 6.35rem;
  --viewer-button-size: 3.45rem;
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 30rem);
  height: min(92vh, 44rem);
  grid-template-rows: minmax(0, 1fr);
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #000;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.65);
}

.photo-viewer__image-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: end;
  justify-items: center;
  gap: 0.65rem;
  min-height: 16rem;
  height: 100%;
  overflow: hidden;
  padding: 0.85rem 0.85rem var(--viewer-control-clearance);
  border-radius: 0.4rem;
  background: #000;
}

.photo-viewer__image-wrap img {
  width: 100%;
  height: auto;
  max-height: min(100%, calc(100dvh - 15rem));
  object-fit: contain;
}

.photo-viewer__image-meta {
  display: grid;
  align-content: start;
  gap: 0.08rem;
}

.photo-viewer__image-meta .photo-viewer__caption[hidden] {
  display: none;
}

.photo-viewer.is-fullscreen-viewer .photo-viewer__backdrop {
  background: #000;
  backdrop-filter: none;
}

.photo-viewer.is-fullscreen-viewer .photo-viewer__dialog {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.photo-viewer.is-fullscreen-viewer .photo-viewer__dialog > .photo-viewer__title,
.photo-viewer.is-fullscreen-viewer .photo-viewer__dialog > .photo-viewer__caption {
  display: none;
}

.photo-viewer.is-fullscreen-viewer .photo-viewer__image-wrap {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  max-height: none;
  border-radius: 0;
  background: #000;
}

.photo-viewer.is-fullscreen-viewer .photo-viewer__image-wrap img {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  max-height: none;
  object-fit: contain;
}

.photo-viewer__dialog > .photo-viewer__title,
.photo-viewer__dialog > .photo-viewer__caption,
.photo-viewer.is-landscape:not(.is-presentation) .photo-viewer__dialog > .photo-viewer__title,
.photo-viewer.is-landscape:not(.is-presentation) .photo-viewer__dialog > .photo-viewer__caption {
  display: none !important;
}

.photo-viewer.is-landscape:not(.is-presentation) .photo-viewer__image-wrap {
  grid-template-rows: auto auto;
}

.photo-viewer.is-landscape:not(.is-presentation) .photo-viewer__image-meta {
  display: grid;
}

.photo-viewer.is-landscape:not(.is-presentation) .photo-viewer__image-meta .photo-viewer__caption[hidden] {
  display: none;
}

.photo-viewer__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(100%, calc(100dvh - 15rem));
  object-fit: contain;
}

.photo-viewer.is-landscape:not(.is-presentation) .photo-viewer__image-wrap img {
  height: auto;
  max-height: min(100%, calc(100dvh - 15rem));
}

.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__image-wrap {
  display: grid;
  align-content: stretch;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  padding: 0;
}

.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__image-meta {
  display: none;
}

.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__image-wrap img {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  max-height: none;
}

.photo-viewer:not(.is-presentation) .photo-viewer__close,
.photo-viewer:not(.is-presentation) .photo-viewer__slideshow,
.photo-viewer:not(.is-presentation) .photo-viewer__actions {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.photo-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__close,
.photo-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__slideshow,
.photo-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__actions {
  opacity: 1;
  pointer-events: auto;
}

.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__close,
.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__slideshow,
.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__actions {
  opacity: 0;
}

.photo-viewer.is-fullscreen-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__close,
.photo-viewer.is-fullscreen-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__slideshow,
.photo-viewer.is-fullscreen-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__actions {
  opacity: 0.74;
}

.photo-viewer.is-landscape:not(.is-presentation) .photo-viewer__close,
.photo-viewer.is-landscape:not(.is-presentation) .photo-viewer__slideshow {
  bottom: var(--viewer-control-bottom);
  width: var(--viewer-button-size);
  min-height: var(--viewer-button-size);
}

.photo-viewer.is-landscape:not(.is-presentation) .photo-viewer__actions {
  bottom: var(--viewer-control-bottom);
}

.photo-viewer.is-landscape:not(.is-presentation) .photo-viewer__nav {
  width: var(--viewer-button-size);
  min-height: var(--viewer-button-size);
}

.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__close,
.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__close {
  top: max(0.85rem, calc(env(safe-area-inset-top) + 0.85rem));
  right: max(0.85rem, calc(env(safe-area-inset-right) + 0.85rem));
  bottom: auto;
  width: 3.25rem;
  min-height: 3.25rem;
}

.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__slideshow,
.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__slideshow {
  top: max(0.85rem, calc(env(safe-area-inset-top) + 0.85rem));
  bottom: auto;
  left: max(0.85rem, calc(env(safe-area-inset-left) + 0.85rem));
  width: 3.25rem;
  min-height: 3.25rem;
}

.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__actions,
.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__actions {
  bottom: max(0.9rem, calc(env(safe-area-inset-bottom) + 0.9rem));
}

.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__nav,
.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__nav {
  width: 3.25rem;
  min-height: 3.25rem;
}

.photo-viewer__title {
  margin: 0;
  color: var(--gold-bright);
  font-size: 1.22rem;
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}

.photo-viewer__title-time {
  color: var(--muted);
  font-size: 0.8em;
  font-weight: 400;
}

.photo-viewer__counter {
  display: inline-flex;
  margin-left: 0.35rem;
  padding: 0.08rem 0.35rem;
  border: 1px solid rgba(243, 213, 143, 0.22);
  border-radius: 999px;
  color: rgba(255, 244, 218, 0.82);
  font-size: 0.72em;
  font-weight: 900;
}

.photo-viewer__caption {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.14;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.photo-viewer__actions {
  position: absolute;
  left: 50%;
  bottom: var(--viewer-control-bottom);
  z-index: 2;
  display: flex;
  gap: 0.7rem;
  transform: translateX(-50%);
}

.photo-viewer__nav {
  width: var(--viewer-button-size);
  min-height: var(--viewer-button-size);
  border-radius: 50%;
  font-size: 1.85rem;
  line-height: 1;
}

.photo-viewer__like {
  position: relative;
  display: grid;
  width: var(--viewer-button-size);
  min-height: var(--viewer-button-size);
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.88rem;
  line-height: 1;
}

.photo-viewer__like-heart,
.photo-viewer__like-count {
  grid-area: 1 / 1;
}

.photo-viewer__like-heart {
  transform: translateY(-0.02rem);
}

.photo-viewer__like-count {
  display: none;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  text-shadow: 0 0.08rem 0.28rem rgba(0, 0, 0, 0.9);
  transform: translateY(0.02rem);
}

.photo-viewer__like.has-likes .photo-viewer__like-count {
  display: block;
}

.photo-viewer__like.is-liked {
  color: #e32845;
}

.photo-viewer__like.is-liked .photo-viewer__like-heart {
  animation: photo-heart-pop 260ms ease;
}

.photo-viewer__like:disabled {
  cursor: wait;
  opacity: 0.7;
}

@keyframes photo-heart-pop {
  0% { transform: scale(0.88); }
  55% { transform: scale(1.16); }
  100% { transform: scale(1); }
}

.photo-viewer.is-presentation {
  right: auto;
  bottom: auto;
  width: var(--viewer-visible-width, 100vw);
  height: var(--viewer-visible-height, 100dvh);
  padding: 0;
  background: #000;
  cursor: none;
}

.photo-viewer.is-presentation:fullscreen,
.photo-viewer.is-presentation:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #000;
}

.photo-viewer.is-presentation.presentation-controls-visible {
  cursor: default;
}

.photo-viewer.is-presentation .photo-viewer__backdrop {
  background: #000;
  backdrop-filter: none;
}

.photo-viewer.is-presentation .photo-viewer__dialog {
  width: var(--viewer-visible-width, 100vw);
  height: var(--viewer-visible-height, 100dvh);
  max-height: none;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.photo-viewer.is-presentation .photo-viewer__image-wrap {
  width: var(--viewer-visible-width, 100vw);
  height: var(--viewer-visible-height, 100dvh);
  min-height: 0;
  max-height: none;
  border-radius: 0;
  background: #000;
}

.photo-viewer.is-presentation .photo-viewer__image-wrap img {
  width: var(--viewer-visible-width, 100vw);
  height: var(--viewer-visible-height, 100dvh);
  max-height: none;
  object-fit: contain;
}

@media (orientation: landscape) {
  .photo-viewer.is-presentation .photo-viewer__image-wrap,
  .photo-viewer.is-presentation .photo-viewer__image-wrap img {
    height: var(--viewer-visible-height, 100dvh);
  }

  .photo-viewer.is-presentation .photo-viewer__close,
  .photo-viewer.is-presentation .photo-viewer__play-toggle,
  .photo-viewer.is-presentation .photo-viewer__slide-nav {
    bottom: max(0.9rem, calc(env(safe-area-inset-bottom) + 0.9rem));
  }
}

.photo-viewer.is-presentation .photo-viewer__title,
.photo-viewer.is-presentation .photo-viewer__caption,
.photo-viewer.is-presentation .photo-viewer__actions,
.photo-viewer.is-presentation .photo-viewer__slideshow {
  display: none;
}

.photo-viewer.is-presentation .photo-viewer__close {
  position: fixed;
  top: auto;
  right: auto;
  bottom: max(1.2rem, calc(env(safe-area-inset-bottom) + 1.2rem));
  left: calc(50% + 6.75rem);
  transform: translateX(-50%);
  width: 3.6rem;
  min-height: 3.6rem;
  border-color: rgba(255, 215, 126, 0.42);
  background: rgba(22, 16, 8, 0.34);
  color: rgba(255, 228, 155, 0.78);
  box-shadow: 0 0.45rem 1.2rem rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(0.35rem);
}

.photo-viewer__play-toggle,
.photo-viewer__slide-nav {
  display: none;
}

.photo-viewer__play-toggle[hidden],
.photo-viewer__slide-nav[hidden] {
  display: none !important;
}

.photo-viewer.is-presentation .photo-viewer__play-toggle,
.photo-viewer.is-presentation .photo-viewer__slide-nav {
  position: fixed;
  top: auto;
  bottom: max(2.2rem, calc(env(safe-area-inset-bottom) + 2.2rem));
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  width: 3.6rem;
  min-height: 3.6rem;
  place-items: center;
  border: 1px solid rgba(255, 215, 126, 0.42);
  border-radius: 50%;
  background: rgba(22, 16, 8, 0.34);
  color: rgba(255, 228, 155, 0.78);
  box-shadow: 0 0.45rem 1.2rem rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(0.35rem);
}

.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__close,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__play-toggle,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__slide-nav {
  opacity: 0.72;
  pointer-events: auto;
}

.photo-viewer.is-presentation .photo-viewer__play-toggle {
  left: calc(50% - 6.75rem);
}

.photo-viewer.is-presentation .photo-viewer__slide-nav--next {
  left: calc(50% + 2.25rem);
}

.photo-viewer.is-presentation .photo-viewer__slide-nav--prev {
  left: calc(50% - 2.25rem);
}

.photo-viewer.is-presentation .photo-viewer__play-toggle span {
  position: relative;
  width: 1rem;
  height: 1.25rem;
  border-left: 0.28rem solid currentColor;
  border-right: 0.28rem solid currentColor;
}

.photo-viewer.is-presentation .photo-viewer__play-toggle.is-paused span {
  width: 0;
  height: 0;
  border-top: 0.58rem solid transparent;
  border-bottom: 0.58rem solid transparent;
  border-left: 0.9rem solid currentColor;
  border-right: 0;
  transform: translateX(0.08rem);
}

.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__close:focus-visible,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__play-toggle:focus-visible,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__slide-nav:focus-visible,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__slide-nav:hover,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__play-toggle:hover,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__close:hover {
  opacity: 1;
}

.vinyl-panel {
  display: flex;
  align-items: center;
  gap: 1.08rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(217, 181, 106, 0.12), rgba(255, 255, 255, 0.035));
}

.mini-record {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 5.15rem;
  width: 5.15rem;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background:
    conic-gradient(from 18deg, rgba(255, 255, 255, 0.42) 0 10deg, transparent 10deg 48deg, rgba(255, 255, 255, 0.24) 48deg 56deg, transparent 56deg 122deg, rgba(255, 255, 255, 0.16) 122deg 128deg, transparent 128deg 360deg),
    radial-gradient(circle, var(--gold-bright) 0 8%, #121015 8.5% 18%, #050406 18.5% 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0.55rem 1rem rgba(0, 0, 0, 0.28),
    inset 0 0 0 0.82rem #09080b,
    inset 0 0 0 1.56rem rgba(255, 255, 255, 0.075);
}

.mini-record::before {
  content: "";
  position: absolute;
  inset: -0.28rem;
  border: 0.32rem solid rgba(255, 255, 255, 0.46);
  border-top-color: rgba(255, 255, 255, 0.86);
  border-right-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.mini-record::after {
  content: "";
  position: absolute;
  inset: 1.58rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.25rem #07070a;
  pointer-events: none;
}

.mini-record__count {
  position: relative;
  z-index: 1;
  min-width: 2rem;
  padding: 0.08rem 0.22rem;
  border-radius: 999px;
  background: rgba(7, 6, 8, 0.72);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.panel-title {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.18;
}

.panel-title:empty {
  display: none;
}

.panel-text {
  display: grid;
  gap: 0.08rem;
  max-width: none;
  margin-top: 0.38rem;
  font-size: 1rem;
  line-height: 1.28;
}

.panel-text__label {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.panel-text__activities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.panel-text__activity {
  display: grid;
  gap: 0.08rem;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0 0.75rem;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.panel-text__activity + .panel-text__activity {
  border-left: 1px solid rgba(217, 181, 106, 0.2);
}

.panel-text__activity:hover .panel-text__title,
.panel-text__activity:focus-visible .panel-text__title { color: var(--gold-bright); }
.panel-text__activity:focus-visible { outline: 2px solid rgba(151, 226, 255, 0.75); outline-offset: 0.2rem; }
.panel-text__detail { color: #bcecff; }

.panel-text__song {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.32rem;
  row-gap: 0.02rem;
  align-items: baseline;
  font-weight: 700;
}

.panel-text__title {
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.12;
}

.panel-text__separator {
  color: rgba(255, 229, 171, 0.64);
}

.panel-text__artist {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
}

.panel-text__requester {
  display: inline-flex;
  gap: 0.24rem;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 700;
}

.panel-text__requester-name {
  color: #d8f4ff;
}

.panel-text__requester-time {
  color: var(--muted);
}

.panel-note {
  margin: 0.65rem 0 0;
  color: var(--gold-bright);
  font-size: 0.84rem;
  line-height: 1.45;
}

.field-counter {
  margin: -0.35rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

.song-list,
.message-list {
  display: grid;
  gap: 0.75rem;
}

.song-item,
.message-item,
.empty-state {
  padding: 1rem;
  border: 1px solid rgba(217, 181, 106, 0.17);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
}

.song-item {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
}

.song-item.is-just-starred {
  border-color: rgba(255, 240, 170, 1);
  box-shadow:
    0 0 0 0.14rem rgba(255, 240, 170, 0.45),
    0 0 1.6rem rgba(255, 216, 111, 0.7),
    0 0 3rem rgba(255, 181, 64, 0.34),
    0 0.8rem 2rem rgba(0, 0, 0, 0.28);
}

.song-item.is-jump-target {
  border-color: rgba(151, 226, 255, 0.95);
  box-shadow: 0 0 0 0.14rem rgba(151, 226, 255, 0.32), 0 0 1.6rem rgba(91, 196, 240, 0.45);
}

@media (max-width: 44rem) {
  .panel-text__activities { grid-template-columns: 1fr; }
  .panel-text__activity { padding: 0; }
  .panel-text__activity + .panel-text__activity { margin-top: 0.48rem; padding-top: 0.48rem; border-top: 1px solid rgba(217, 181, 106, 0.2); border-left: 0; }
}

.song-request-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.72rem;
  min-width: 0;
}

body.youtube-buttons-hidden .song-music-links {
  display: none;
}

.song-request-copy {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
  margin-top: -0.16rem;
}

.song-request-title {
  min-width: 0;
  margin-top: -0.08rem;
}

.song-request-title strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.song-link-panel {
  display: grid;
  gap: 0.55rem;
  align-self: start;
  align-content: start;
  justify-items: end;
  min-height: 4.42rem;
  padding: 0;
}

.song-action-row {
  display: inline-grid;
  grid-template-columns: repeat(2, 2.4rem);
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
}

.song-favorite-badge {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  justify-self: center;
  place-items: center;
  border: 1px solid rgba(217, 181, 106, 0.78);
  border-radius: 999px;
  background: rgba(10, 8, 12, 0.88);
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 0 0.38rem rgba(255, 238, 170, 0.92),
    0 0 0.95rem rgba(255, 204, 92, 0.72);
  box-shadow:
    0 0 0 0.12rem rgba(255, 216, 111, 0.18),
    0 0 0.9rem rgba(255, 216, 111, 0.48),
    0 0 1.65rem rgba(255, 181, 64, 0.34),
    0 0.35rem 0.85rem rgba(0, 0, 0, 0.24);
}

button.song-favorite-badge {
  padding: 0;
  cursor: pointer;
}

button.song-favorite-badge:hover,
button.song-favorite-badge:focus-visible {
  border-color: rgba(255, 238, 170, 0.96);
  outline: none;
}

.song-favorite-badge.is-empty {
  color: rgba(217, 181, 106, 0.54);
  text-shadow: none;
  box-shadow:
    0 0 0 0.08rem rgba(255, 216, 111, 0.1),
    0 0.35rem 0.85rem rgba(0, 0, 0, 0.24);
}

.song-request-number {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  justify-self: center;
  place-items: center;
  border: 1px solid rgba(217, 181, 106, 0.72);
  border-radius: 999px;
  background: rgba(10, 8, 12, 0.86);
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.2);
}

.song-request-number:hover,
.song-request-number:focus-visible {
  border-color: rgba(255, 238, 170, 0.96);
  background: rgba(35, 29, 19, 0.96);
  outline: none;
}

.song-music-links {
  display: grid;
  grid-template-columns: repeat(2, 2.4rem);
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
}

.song-music-link {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  min-width: 2.4rem;
  place-items: center;
  padding: 0;
  line-height: 1;
  text-decoration: none;
}

.song-spotify-link {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: #1db954;
  color: #07160d;
  box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.2);
}

.song-spotify-link:hover,
.song-spotify-link:focus-visible {
  background: #22d864;
  border-color: rgba(255, 255, 255, 0.82);
  outline: none;
  transform: translateY(-1px);
}

.song-spotify-link .spotify-icon {
  width: 1.72rem;
  height: 1.72rem;
}

.song-youtube-link {
  width: 2.4rem;
  height: 2.4rem;
  min-width: 2.4rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.song-youtube-link:hover,
.song-youtube-link:focus-visible {
  border: 0;
  background: transparent;
  outline: none;
  transform: translateY(-1px);
}

.song-youtube-link .youtube-icon {
  width: 2.4rem;
  height: 2.4rem;
}

.song-item strong,
.message-item strong {
  display: block;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.vote-buttons {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.26rem;
  margin-left: auto;
}

.song-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  align-items: center;
}

.song-request-meta {
  margin-left: auto;
  display: grid;
  justify-items: end;
  align-content: center;
  min-width: 4.8rem;
  text-align: right;
}

.song-request-time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.vote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  min-height: 2.18rem;
  min-width: 4.15rem;
  padding: 0 0.66rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--gold-bright);
  font-size: 0.98rem;
  font-weight: 900;
  box-shadow: none;
}

.vote-button.is-liked {
  border-color: rgba(157, 240, 194, 0.45);
  background: rgba(157, 240, 194, 0.12);
  color: var(--success);
}

.vote-button.is-disliked {
  border-color: rgba(255, 159, 159, 0.45);
  background: rgba(255, 159, 159, 0.12);
  color: var(--danger);
}

.vote-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.vote-button.is-liked:disabled,
.vote-button.is-disliked:disabled {
  opacity: 1;
}

.song-item > span,
.message-item span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.song-request-copy > .song-artist {
  display: block;
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.song-item > span .song-time {
  display: block;
  margin-top: 0.18rem;
  color: var(--gold-bright);
  font-size: 0.82em;
  font-weight: 700;
}

.song-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.song-item .song-requester {
  display: block;
  color: #d8f4ff;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.18;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.playlist-details-hidden .song-requester,
body.playlist-details-hidden .song-note,
body.playlist-details-hidden .song-request-divider,
body.playlist-details-hidden .song-request-meta {
  display: none;
}

.song-request-divider {
  width: 100%;
  height: 1px;
  margin: 0.28rem 0 0.12rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(217, 181, 106, 0.2), rgba(255, 255, 255, 0.08));
}

.song-vote-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.song-vote-label {
  color: var(--muted);
  font-weight: 800;
}

.vote-button span {
  display: inline;
  margin-top: 0;
  color: inherit;
  font-size: inherit;
}

.song-stat-count {
  color: var(--gold-bright);
  font-weight: 900;
}

.message-item strong .message-time {
  display: inline;
  margin-top: 0;
  color: var(--gold-bright);
  font-size: 0.8em;
  font-weight: 700;
}

.empty-state {
  color: var(--muted);
  text-align: center;
}

.upload-lock-notice {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(217, 181, 106, 0.24);
  border-radius: 0.5rem;
  background: rgba(217, 181, 106, 0.08);
  color: var(--gold-bright);
  font-weight: 800;
  line-height: 1.45;
}

#message:has(#messageForm.hidden) {
  min-height: 100vh;
}

.form-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.22);
}

label {
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 800;
}

.checkbox-field {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.55rem 0;
  color: #b7d8ff;
}

.checkbox-field input {
  width: 1.55rem;
  min-height: 1.55rem;
  flex: 0 0 1.55rem;
  accent-color: var(--gold);
}

.photo-visibility-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: stretch;
}

.photo-visibility-label {
  margin-bottom: -0.2rem;
}

.photo-visibility-button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid rgba(217, 181, 106, 0.42);
  border-radius: 0.5rem;
  background: rgba(6, 5, 7, 0.72);
  color: #b7d8ff;
  font-size: 0.92rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.photo-visibility-button.is-active {
  background: linear-gradient(135deg, #f5d27a, #b9802a);
  color: #15100a;
  border-color: rgba(255, 244, 198, 0.82);
  box-shadow: 0 0 0 1px rgba(255, 238, 177, 0.2), 0 0.8rem 1.8rem rgba(217, 181, 106, 0.22);
}

.photo-visibility-button[data-photo-visibility="public"] {
  border-color: rgba(94, 214, 137, 0.7);
  background: rgba(94, 214, 137, 0.12);
  color: #8bf0aa;
}

.photo-visibility-button[data-photo-visibility="adminf"] {
  border-color: rgba(104, 174, 255, 0.72);
  background: rgba(104, 174, 255, 0.12);
  color: #9fc9ff;
}

.photo-visibility-button[data-photo-visibility="adminf"].is-active {
  border-color: rgba(159, 201, 255, 0.96);
  background: linear-gradient(135deg, #9fc9ff, #2f6fb8);
  color: #06111f;
  box-shadow: 0 0 0 1px rgba(159, 201, 255, 0.24), 0 0.8rem 1.8rem rgba(104, 174, 255, 0.18);
}

.photo-visibility-button[data-photo-visibility="public"].is-active {
  border-color: rgba(139, 240, 170, 0.96);
  background: linear-gradient(135deg, #8bf0aa, #2f9b5e);
  color: #061509;
  box-shadow: 0 0 0 1px rgba(139, 240, 170, 0.24), 0 0.8rem 1.8rem rgba(94, 214, 137, 0.18);
}

.photo-visibility-button[hidden] {
  display: none;
}

@media (max-width: 380px) {
  .photo-visibility-choice {
    grid-template-columns: 1fr;
  }
}

.field-hint {
  margin: -0.4rem 0 0;
  color: #9fc9ff;
  font-size: 0.82rem;
  line-height: 1.35;
}

.optional-label {
  color: #ffffff;
  font-weight: 400;
}

.tenant-text-parenthetical {
  color: #ffffff !important;
  font-weight: 400 !important;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(217, 181, 106, 0.2);
  border-radius: 0.45rem;
  background: rgba(6, 5, 7, 0.72);
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

input {
  min-height: 3rem;
  padding: 0 0.85rem;
}

input[type="file"] {
  display: block;
  min-height: 3.2rem;
  width: 100%;
  padding: 0.55rem;
  border: 1px solid rgba(217, 181, 106, 0.5);
  border-radius: 0.35rem;
  background: #ffffff;
  color: #111111;
  font: 16px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  appearance: auto;
  -webkit-appearance: auto;
  cursor: pointer;
}

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

textarea {
  resize: vertical;
  padding: 0.85rem;
}

input:focus,
textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(217, 181, 106, 0.14);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.check-row input {
  width: 1.55rem;
  height: 1.55rem;
  min-height: 1.55rem;
  flex: 0 0 1.55rem;
  accent-color: var(--gold);
}

.file-picker {
  position: relative;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-height: 3.2rem;
  padding: 0.55rem;
  border: 1px solid rgba(217, 181, 106, 0.5);
  border-radius: 0.35rem;
  background: #ffffff;
}

.file-picker:focus-within {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(217, 181, 106, 0.14);
}

.file-picker__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.25rem;
  background: #666a70;
  color: #ffffff;
  font: 700 1rem/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.photo-source-picker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.photo-source-picker:focus-within {
  border-color: transparent;
  box-shadow: none;
}

.photo-source-picker .photo-source-button {
  gap: 0.55rem;
  min-width: 0;
  min-height: 3.6rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(255, 232, 169, 0.72);
  border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #17100a;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 0.65rem 1.2rem rgba(217, 181, 106, 0.2);
}

.photo-source-button svg {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
}

.photo-source-picker .file-picker__input:focus-visible + .photo-source-button {
  outline: 3px solid rgba(243, 213, 143, 0.45);
  outline-offset: 2px;
}

.photo-source-picker .file-name {
  grid-column: 1 / -1;
  min-height: 2.45rem;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(217, 181, 106, 0.32);
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.94);
}

body.photo-upload-composer-open {
  overflow: hidden;
}

.photo-upload-composer {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(0.35rem);
}

.photo-upload-composer.hidden {
  display: none;
}

.photo-upload-composer__dialog {
  width: min(46rem, 100%);
  max-height: min(92dvh, 58rem);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  border: 1px solid rgba(255, 216, 111, 0.65);
  border-radius: 0.65rem;
  background: #151119;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.55);
}

.photo-upload-composer__dialog h2 {
  margin: 0;
  color: var(--gold-bright);
}

.photo-upload-composer__dialog > p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.photo-upload-composer__list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
}

.photo-upload-composer__item {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.65rem;
  border: 1px solid rgba(217, 181, 106, 0.22);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.035);
}

.photo-upload-composer__item img {
  width: 6rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
}

.photo-upload-composer__fields {
  display: grid;
  gap: 0.45rem;
}

.photo-upload-composer__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem;
  align-items: center;
}

.photo-upload-composer__tools {
  display: inline-flex;
  gap: 0.25rem;
}

.photo-upload-composer__fields input,
.photo-upload-composer__fields textarea {
  width: 100%;
}

.photo-upload-date-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .45rem .55rem;
  border: 1px solid rgba(100, 177, 255, .55);
  border-radius: .35rem;
  color: #cfe7ff;
  font-size: .82rem;
}

.photo-upload-date-choice[hidden] { display: none; }
.photo-upload-date-choice button { min-height: 2.35rem; padding: .35rem .55rem; border-color: rgba(100,177,255,.85); background: rgba(36,107,180,.24); color: #d9edff; }
.photo-upload-date-choice button[aria-pressed="true"] { background: #176b3a; border-color: #8bf0aa; color: #fff; }

.photo-upload-composer__fields textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.photo-upload-composer__clear,
.photo-upload-composer__copy {
  width: 2.35rem;
  min-height: 2.35rem;
  padding: 0;
  border: 1px solid rgba(203, 154, 255, 0.8);
  background: rgba(116, 53, 171, 0.2);
  color: #dfbaff;
  box-shadow: none;
}

.photo-upload-composer__copy {
  border-color: rgba(100, 177, 255, 0.85);
  background: rgba(36, 107, 180, 0.24);
  color: #bdddff;
}

.photo-upload-composer__bulk-tools {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.photo-upload-composer__bulk-tools button {
  width: auto;
  min-height: 2.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
}

.photo-upload-composer__visibility-label {
  display: block;
  margin: 0.25rem 0 0.55rem;
}

.photo-upload-composer__hint {
  margin-top: 0.5rem !important;
}

.photo-upload-composer__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 1rem;
}

.photo-upload-composer__actions button {
  min-height: 2.8rem;
  padding: 0.55rem 0.9rem;
}

.photo-upload-composer__cancel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  box-shadow: none;
}

.photo-upload-composer__confirm {
  min-width: 8rem;
}

@media (max-width: 38rem) {
  .photo-upload-composer {
    align-items: stretch;
  }

  .photo-upload-composer__dialog {
    max-height: 100%;
  }

  .photo-upload-composer__item {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .photo-upload-composer__item img {
    width: 4.5rem;
    height: 4.5rem;
  }

  .photo-upload-composer__field {
    grid-template-columns: minmax(0, 1fr);
  }

  .photo-upload-composer__tools {
    justify-content: flex-end;
  }
}

.file-name {
  color: #111111;
  font: 400 1rem/1.3 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}

@media (max-width: 30rem) {
  .file-picker:not(.photo-source-picker) {
    grid-template-columns: 1fr;
  }

  .file-picker:not(.photo-source-picker) .file-picker__button {
    justify-self: start;
  }

  .photo-source-picker .photo-source-button {
    min-height: 4rem;
    padding-inline: 0.55rem;
    font-size: 0.9rem;
  }
}

button {
  min-height: 3.6rem;
  border: 0;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #17100a;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0.65rem 1.2rem rgba(217, 181, 106, 0.2);
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.photo-open {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.photo-open:focus-visible {
  outline: 3px solid rgba(243, 213, 143, 0.55);
  outline-offset: 0.2rem;
}

body[data-layout-profile="desktop"] .gallery-grid--cards .photo-card.is-gallery-selected .photo-open,
body[data-layout-profile="desktop"] .gallery-grid--mini .photo-card.is-gallery-selected .photo-open {
  outline: 5px solid #ffd84f;
  outline-offset: -5px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 224, 0.96),
    0 0 0 2px rgba(255, 216, 79, 0.78),
    0 0 0.9rem rgba(255, 190, 38, 0.72);
}

.photo-viewer.is-fullscreen-viewer.is-native-fullscreen:not(.is-presentation):not(.viewer-controls-visible),
.photo-viewer.is-fullscreen-viewer.is-native-fullscreen:not(.is-presentation):not(.viewer-controls-visible) *,
.photo-viewer.is-fullscreen-viewer.is-photo-fullscreen:not(.is-presentation):not(.viewer-controls-visible),
.photo-viewer.is-fullscreen-viewer.is-photo-fullscreen:not(.is-presentation):not(.viewer-controls-visible) * {
  cursor: none !important;
}

.photo-viewer__close {
  position: absolute;
  right: 0.9rem;
  bottom: var(--viewer-control-bottom);
  z-index: 2;
  width: var(--viewer-button-size);
  min-height: var(--viewer-button-size);
  border: 1px solid rgba(243, 213, 143, 0.3);
  border-radius: 50%;
  background: rgba(10, 8, 12, 0.08);
  color: rgba(255, 228, 155, 0.72);
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: none;
  backdrop-filter: blur(0.25rem);
  opacity: 0.76;
}

.photo-viewer__close:focus-visible,
.photo-viewer__close:hover {
  border-color: rgba(243, 213, 143, 0.78);
  background: rgba(243, 213, 143, 0.1);
  color: var(--gold-bright);
  opacity: 1;
}

.photo-viewer__nav,
.photo-viewer__like {
  border: 1px solid rgba(243, 213, 143, 0.3);
  background: rgba(10, 8, 12, 0.08);
  color: rgba(255, 228, 155, 0.72);
  font-weight: 800;
  box-shadow: none;
  backdrop-filter: blur(0.25rem);
  opacity: 0.76;
}

.photo-viewer__nav:focus-visible,
.photo-viewer__nav:hover,
.photo-viewer__like:focus-visible,
.photo-viewer__like:hover {
  border-color: rgba(243, 213, 143, 0.78);
  background: rgba(243, 213, 143, 0.1);
  color: var(--gold-bright);
  opacity: 1;
}

.photo-viewer__like.is-liked,
.photo-viewer__like.is-liked:hover,
.photo-viewer__like.is-liked:focus-visible {
  color: #e32845;
}

.photo-viewer__slideshow {
  position: absolute;
  left: 0.9rem;
  bottom: var(--viewer-control-bottom);
  z-index: 2;
  display: grid;
  width: var(--viewer-button-size);
  min-height: var(--viewer-button-size);
  place-items: center;
  border: 1px solid rgba(243, 213, 143, 0.3);
  border-radius: 50%;
  background: rgba(10, 8, 12, 0.08);
  color: rgba(255, 228, 155, 0.72);
  box-shadow: none;
  backdrop-filter: blur(0.25rem);
  opacity: 0.76;
}

.photo-viewer__slideshow span {
  position: relative;
  width: 1.28rem;
  height: 0.92rem;
  border: 2px solid currentColor;
  border-radius: 0.16rem;
}

.photo-viewer__slideshow span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-top: 0.24rem solid transparent;
  border-bottom: 0.24rem solid transparent;
  border-left: 0.38rem solid currentColor;
  transform: translate(-38%, -50%);
}

.photo-viewer__slideshow:focus-visible,
.photo-viewer__slideshow:hover {
  border-color: rgba(243, 213, 143, 0.78);
  background: rgba(243, 213, 143, 0.1);
  color: var(--gold-bright);
  opacity: 1;
}

.photo-viewer.is-open:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__dialog,
.photo-viewer.is-open:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-wrap {
  background: #000 !important;
}

.photo-viewer.is-open:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__dialog {
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.65);
}

.photo-viewer.is-open:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__dialog > .photo-viewer__title,
.photo-viewer.is-open:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__dialog > .photo-viewer__caption {
  display: none !important;
}

.photo-viewer.is-open:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-meta {
  display: grid;
}

.form-status {
  min-height: 1.6rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status.success {
  color: var(--success);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.5;
  padding-top: 0.35rem;
}

.form-status a {
  color: var(--gold-bright);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.form-status.error {
  color: var(--danger);
}

@media (min-width: 40rem) {
  .app-shell {
    border-inline: 1px solid rgba(217, 181, 106, 0.08);
  }
}
.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__image-meta,
.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__image-meta {
  position: absolute;
  top: max(0.9rem, calc(env(safe-area-inset-top) + 0.9rem));
  left: 50%;
  z-index: 3;
  display: grid;
  width: min(88vw, 34rem);
  max-height: min(34vh, 14rem);
  gap: 0.12rem;
  padding: 0.62rem 0.9rem 0.72rem;
  border: 1px solid rgba(243, 213, 143, 0.22);
  border-radius: 0.55rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.42));
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.42);
  opacity: 0;
  overflow: auto;
  pointer-events: none;
  text-shadow: 0 0.12rem 0.5rem rgba(0, 0, 0, 0.8);
  transform: translateX(-50%);
  transition: opacity 180ms ease;
}

.photo-viewer.is-fullscreen-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__image-meta,
.photo-viewer.is-fullscreen-viewer.viewer-controls-visible.is-landscape:not(.is-presentation) .photo-viewer__image-meta {
  opacity: 1;
}

.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__image-meta .photo-viewer__caption[hidden] {
  display: none;
}

.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__image-meta .photo-viewer__title {
  color: var(--gold-bright);
  font-size: clamp(1.05rem, 4vw, 1.45rem);
}

.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__image-meta .photo-viewer__caption {
  color: rgba(255, 244, 218, 0.9);
  font-size: clamp(0.98rem, 3.5vw, 1.22rem);
  line-height: 1.18;
}
.photo-viewer.is-presentation .photo-viewer__close,
.photo-viewer.is-presentation .photo-viewer__play-toggle,
.photo-viewer.is-presentation .photo-viewer__slide-nav,
.photo-viewer.is-fullscreen-viewer .photo-viewer__close,
.photo-viewer.is-fullscreen-viewer .photo-viewer__slideshow,
.photo-viewer.is-fullscreen-viewer .photo-viewer__nav {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(243, 213, 143, 0.28);
  color: rgba(243, 213, 143, 0.72);
  box-shadow: none;
}

.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__close,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__play-toggle,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__slide-nav,
.photo-viewer.is-fullscreen-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__close,
.photo-viewer.is-fullscreen-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__slideshow,
.photo-viewer.is-fullscreen-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__actions {
  opacity: 0.46;
}

.photo-viewer.is-fullscreen-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__image-meta {
  opacity: 0.78;
}
/* player-buttons-low */
.photo-viewer.is-presentation .photo-viewer__close,
.photo-viewer.is-presentation .photo-viewer__play-toggle,
.photo-viewer.is-presentation .photo-viewer__slide-nav {
  bottom: max(0.72rem, calc(env(safe-area-inset-bottom) + 0.72rem));
  width: var(--viewer-button-size);
  min-height: var(--viewer-button-size);
}

.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__actions,
.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__actions {
  bottom: max(0.72rem, calc(env(safe-area-inset-bottom) + 0.72rem));
}

.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__close,
.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__close {
  top: auto;
  right: max(0.72rem, calc(env(safe-area-inset-right) + 0.72rem));
  bottom: max(0.72rem, calc(env(safe-area-inset-bottom) + 0.72rem));
}

/* viewer-play-with-nav */
.photo-viewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__slideshow,
.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__slideshow {
  top: auto;
  right: auto;
  bottom: max(0.72rem, calc(env(safe-area-inset-bottom) + 0.72rem));
  left: calc(50% - 10.9rem);
  transform: none;
}

/* player-nozoom-fullscreen */
.photo-viewer.is-presentation .photo-viewer__slide-nav {
  display: none !important;
}

.photo-viewer.is-presentation .photo-viewer__image-wrap,
.photo-viewer.is-presentation .photo-viewer__image-wrap img {
  width: var(--viewer-visible-width, 100vw);
  height: var(--viewer-visible-height, 100dvh);
  max-height: none;
}

.photo-viewer.is-presentation .photo-viewer__image-wrap {
  padding: 0;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  gap: 0;
  align-content: stretch;
  place-items: center;
}

.photo-viewer.is-presentation .photo-viewer__image-wrap img {
  grid-area: 1 / 1;
  object-fit: contain;
}

.photo-viewer.is-presentation .photo-viewer__image-meta {
  display: none;
}

.photo-viewer.is-presentation .photo-viewer__play-toggle,
.photo-viewer.is-presentation .photo-viewer__close {
  bottom: max(0.72rem, calc(env(safe-area-inset-bottom) + 0.72rem));
}

.photo-viewer.is-presentation .photo-viewer__play-toggle {
  left: max(0.85rem, calc(env(safe-area-inset-left) + 0.85rem));
  transform: none;
}

.photo-viewer.is-presentation .photo-viewer__close {
  left: auto;
  right: max(0.85rem, calc(env(safe-area-inset-right) + 0.85rem));
  transform: none;
}

/* presentation-controls-polish */
.photo-viewer.is-presentation .photo-viewer__play-toggle,
.photo-viewer.is-presentation .photo-viewer__close {
  bottom: max(1.55rem, calc(env(safe-area-inset-bottom) + 1.55rem));
  display: grid;
  width: 3.35rem;
  min-height: 3.35rem;
  place-items: center;
  border-color: rgba(255, 222, 143, 0.68);
  background: rgba(7, 6, 8, 0.58);
  color: rgba(255, 232, 166, 0.92);
  box-shadow:
    0 0.65rem 1.35rem rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 232, 166, 0.08);
  backdrop-filter: blur(0.48rem);
}

.photo-viewer.is-presentation .photo-viewer__play-toggle {
  left: max(1rem, calc(env(safe-area-inset-left) + 1rem));
}

.photo-viewer.is-presentation .photo-viewer__close {
  right: max(1rem, calc(env(safe-area-inset-right) + 1rem));
}

.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__close,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__play-toggle {
  opacity: 0.92;
  pointer-events: auto;
}

.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__close:hover,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__close:focus-visible,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__play-toggle:hover,
.photo-viewer.is-presentation.presentation-controls-visible .photo-viewer__play-toggle:focus-visible {
  border-color: rgba(255, 232, 166, 0.95);
  background: rgba(18, 14, 10, 0.74);
  color: #ffe8a6;
  opacity: 1;
}
/* viewer-emoji-gap */
.photo-viewer__caption-text:not(:empty) + .photo-viewer__caption-emojis {
  display: block;
  margin-top: 0.34rem;
  margin-left: 0;
}

.photo-caption__text:not(:empty) + .photo-caption__emojis {
  display: inline-block;
  margin-left: 0.28em;
}

@media (max-width: 40rem) {
  .photo-viewer__caption-text:not(:empty) + .photo-viewer__caption-emojis {
    margin-top: 0.42rem;
    margin-left: 0;
  }

  .photo-caption__text:not(:empty) + .photo-caption__emojis {
    margin-left: 0.38em;
  }
}

/* viewer-admin-button-style */
.photo-viewer__dialog {
  --viewer-button-size: 3.1rem;
}

.photo-viewer:not(.is-presentation) .photo-viewer__close,
.photo-viewer:not(.is-presentation) .photo-viewer__slideshow,
.photo-viewer:not(.is-presentation) .photo-viewer__actions {
  opacity: 1;
  pointer-events: auto;
}

.photo-viewer.is-fullscreen-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__close,
.photo-viewer.is-fullscreen-viewer.viewer-controls-visible:not(.is-presentation) .photo-viewer__slideshow {
  opacity: 1;
}

.photo-viewer:not(.is-presentation) .photo-viewer__actions {
  left: 50%;
  right: auto;
  bottom: max(0.74rem, calc(env(safe-area-inset-bottom) + 0.74rem));
  display: grid;
  grid-template-columns: repeat(5, var(--viewer-button-size));
  align-items: center;
  justify-content: center;
  gap: clamp(0.42rem, 2.1vw, 0.68rem);
  width: max-content;
  max-width: calc(100vw - 1.1rem);
  transform: translateX(-50%);
}

.photo-viewer:not(.is-presentation) .photo-viewer__close,
.photo-viewer:not(.is-presentation) .photo-viewer__slideshow,
.photo-viewer:not(.is-presentation) .photo-viewer__nav,
.photo-viewer:not(.is-presentation) .photo-viewer__like {
  position: static;
  inset: auto;
  display: grid;
  width: var(--viewer-button-size);
  height: var(--viewer-button-size);
  min-height: var(--viewer-button-size);
  place-items: center;
  transform: none;
  border-color: rgba(255, 216, 111, 0.82);
  background: rgba(12, 10, 14, 0.78);
  color: #ffd86f;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(0.28rem);
  opacity: 1;
}

.photo-viewer:not(.is-presentation) .photo-viewer__close,
.photo-viewer:not(.is-presentation) .photo-viewer__nav,
.photo-viewer:not(.is-presentation) .photo-viewer__like {
  font-size: 2rem;
}

.photo-viewer:not(.is-presentation) .photo-viewer__like {
  font-size: 1.95rem;
}

.photo-viewer:not(.is-presentation) .photo-viewer__like.has-likes {
  grid-template-rows: 2.05rem 0.82rem;
  align-content: center;
  justify-items: center;
  gap: 0.02rem;
  border-color: transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
  backdrop-filter: none;
  font-size: 1rem;
}

.photo-viewer:not(.is-presentation) .photo-viewer__like.has-likes .photo-viewer__like-heart,
.photo-viewer:not(.is-presentation) .photo-viewer__like.has-likes .photo-viewer__like-count {
  grid-area: auto;
}

.photo-viewer:not(.is-presentation) .photo-viewer__like.has-likes .photo-viewer__like-heart {
  font-size: 2.55rem;
  line-height: 0.78;
  text-shadow:
    0 0.08rem 0.28rem rgba(0, 0, 0, 0.74),
    0 0.16rem 0.74rem rgba(0, 0, 0, 0.48);
}

.photo-viewer:not(.is-presentation) .photo-viewer__like.has-likes .photo-viewer__like-count {
  color: #fff;
  font-size: 0.76rem;
  line-height: 1;
  margin-top: 0.16rem;
  transform: none;
}

.photo-viewer:not(.is-presentation) .photo-viewer__like.has-many-likes .photo-viewer__like-count {
  font-size: 0.66rem;
}

.photo-like-float {
  position: absolute;
  z-index: 4;
  color: var(--heart-color, #ef2e4e);
  font-size: clamp(3.45rem, 11vw, 6.6rem);
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-shadow:
    0 0.16rem 0.45rem rgba(0, 0, 0, 0.44),
    0 0.35rem 1.2rem rgba(239, 46, 78, 0.35);
  transform: translate(-50%, -50%) scale(0.58) rotate(var(--heart-rotate, 0deg));
  animation: photo-like-float 4200ms cubic-bezier(0.18, 0.78, 0.18, 1) forwards;
}

/* viewer-heart-motion: slightly smaller and compositor-smooth in the regular photo viewer. */
#photoViewer.is-open:not(.is-presentation) .photo-like-float {
  font-size: clamp(3.05rem, 9.7vw, 5.75rem);
  backface-visibility: hidden;
  will-change: transform, opacity;
  animation-name: photo-like-float-viewer;
  animation-duration: 4400ms;
  animation-timing-function: linear;
}

/* play-presentation-blur */
#photoViewer .photo-viewer__blur-backdrop,
#photoViewer .photo-viewer__presentation-frame,
#photoViewer .photo-viewer__presentation-blur,
#photoViewer .photo-viewer__presentation-frame-toggle,
#photoViewer .photo-viewer__presentation-theme-toggle,
#photoViewer .photo-viewer__presentation-text-toggle,
#photoViewer .photo-viewer__presentation-background-toggle {
  display: none;
}

#photoViewer.is-presentation #photoViewerImage {
  position: relative;
  z-index: 1;
}

#photoViewer.is-presentation.is-presentation-blur .photo-viewer__blur-backdrop {
  position: absolute;
  inset: -1.75rem;
  z-index: 0;
  display: block;
  width: calc(100% + 3.5rem);
  height: calc(100% + 3.5rem);
  max-width: none;
  max-height: none;
  object-fit: cover;
  filter: blur(clamp(1.15rem, 3vw, 2rem)) saturate(1.08) brightness(0.76);
  opacity: 0.9;
  transform: scale(1.045);
  pointer-events: none;
  user-select: none;
}

#photoViewer.is-presentation.is-presentation-white-background,
#photoViewer.is-presentation.is-presentation-white-background .photo-viewer__backdrop,
#photoViewer.is-presentation.is-presentation-white-background .photo-viewer__dialog,
#photoViewer.is-presentation.is-presentation-white-background .photo-viewer__image-wrap {
  background: #fff;
}

#photoViewer.is-presentation.is-presentation-frame .photo-viewer__presentation-frame {
  position: absolute;
  z-index: 2;
  display: block;
  box-sizing: border-box;
  pointer-events: none;
}

#photoViewer.is-presentation.is-presentation-white-frame .photo-viewer__presentation-frame {
  border: clamp(0.26rem, 0.62vw, 0.56rem) solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.42);
}

#photoViewer.is-presentation.is-presentation-black-frame .photo-viewer__presentation-frame {
  border: clamp(0.26rem, 0.62vw, 0.56rem) solid #000;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.42);
}

#photoViewer.is-presentation.is-presentation-gold-frame .photo-viewer__presentation-frame {
  border: clamp(0.3rem, 0.7vw, 0.62rem) solid #d8b35f;
  box-shadow:
    inset 0 0 0 clamp(0.08rem, 0.18vw, 0.14rem) rgba(255, 241, 178, 0.92),
    0 0 0 clamp(0.08rem, 0.2vw, 0.16rem) #654714,
    0 0.65rem 2rem rgba(0, 0, 0, 0.5);
}

#photoViewer.is-presentation.is-presentation-painting-frame .photo-viewer__presentation-frame {
  border: clamp(0.58rem, 1.25vw, 1.05rem) ridge #c99a3c;
  background: transparent;
  box-shadow:
    inset 0 0 0 clamp(0.08rem, 0.18vw, 0.15rem) #ffec9e,
    inset 0 0 0 clamp(0.22rem, 0.48vw, 0.38rem) rgba(83, 48, 10, 0.72),
    0 0 0 clamp(0.12rem, 0.28vw, 0.22rem) #5a3810,
    0 0 0 clamp(0.29rem, 0.62vw, 0.48rem) #d6ae58,
    0 0.78rem 2.3rem rgba(0, 0, 0, 0.58);
}

#photoViewer.is-presentation.is-presentation-wood-frame .photo-viewer__presentation-frame {
  border: clamp(0.28rem, 0.7vmin, 0.56rem) solid transparent;
  border-image: linear-gradient(
    135deg,
    #8a5a22 0%,
    #c18a36 22%,
    #f1d176 48%,
    #9b6425 72%,
    #bd8734 100%
  ) 1;
  background: transparent;
  box-shadow:
    inset 0 0 0 clamp(0.06rem, 0.14vmin, 0.12rem) rgba(255, 235, 164, 0.94),
    0 0.55rem 1.45rem rgba(99, 66, 24, 0.34);
}

#photoViewer.is-presentation.is-presentation-wood-frame .photo-viewer__presentation-frame::before,
#photoViewer.is-presentation.is-presentation-wood-frame .photo-viewer__presentation-frame::after {
  content: none;
}

#photoViewer.is-presentation.is-presentation-wood-frame #photoViewerImage {
  box-shadow: none;
}

#photoViewer.is-presentation.is-presentation-blur-border .photo-viewer__presentation-frame {
  overflow: visible;
  border: clamp(0.72rem, 1.7vw, 1.5rem) solid rgba(255, 255, 255, 0.11);
  border-radius: clamp(0.55rem, 1.25vw, 1.15rem);
  box-shadow:
    inset 0 0 clamp(1.5rem, 3.6vw, 3.3rem) rgba(255, 255, 255, 0.16),
    0 0 clamp(2.4rem, 5.4vw, 4.8rem) rgba(255, 255, 255, 0.19),
    0 0 clamp(4rem, 8vw, 7.5rem) rgba(0, 0, 0, 0.16);
}

#photoViewer.is-presentation.is-presentation-blur-border .photo-viewer__presentation-frame::after {
  content: "";
  position: absolute;
  inset: calc(-1 * clamp(0.35rem, 0.85vw, 0.75rem));
  border: clamp(0.85rem, 2vw, 1.8rem) solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(0.85rem, 2vw, 1.8rem);
  filter: blur(clamp(0.7rem, 1.65vw, 1.5rem));
  opacity: 0.62;
}

#photoViewer.is-presentation.is-presentation-blur-border #photoViewerImage {
  border-radius: clamp(0.45rem, 1vw, 0.9rem);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 clamp(0.42rem, 1vw, 0.9rem), #000 calc(100% - clamp(0.42rem, 1vw, 0.9rem)), transparent 100%),
    linear-gradient(0deg, transparent 0, #000 clamp(0.42rem, 1vw, 0.9rem), #000 calc(100% - clamp(0.42rem, 1vw, 0.9rem)), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 clamp(0.42rem, 1vw, 0.9rem), #000 calc(100% - clamp(0.42rem, 1vw, 0.9rem)), transparent 100%),
    linear-gradient(0deg, transparent 0, #000 clamp(0.42rem, 1vw, 0.9rem), #000 calc(100% - clamp(0.42rem, 1vw, 0.9rem)), transparent 100%);
  mask-composite: intersect;
}

#photoViewer.is-presentation .photo-viewer__presentation-blur,
#photoViewer.is-presentation .photo-viewer__presentation-frame-toggle {
  position: fixed;
  top: auto;
  right: max(5.05rem, calc(env(safe-area-inset-right) + 5.05rem));
  bottom: max(1.55rem, calc(env(safe-area-inset-bottom) + 1.55rem));
  z-index: 5;
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  min-height: 3.35rem;
  place-items: center;
  border: 1px solid rgba(255, 222, 143, 0.68);
  border-radius: 50%;
  background: rgba(7, 6, 8, 0.58);
  color: rgba(255, 232, 166, 0.92);
  box-shadow:
    0 0.65rem 1.35rem rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 232, 166, 0.08);
  font: 800 1.55rem/1 system-ui, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(0.48rem);
}

#photoViewer.is-presentation .photo-viewer__presentation-frame-toggle {
  right: max(1rem, calc(env(safe-area-inset-right) + 1rem));
}

#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-blur,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-frame-toggle {
  opacity: 0.92;
  pointer-events: auto;
}

#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-blur:hover,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-blur:focus-visible,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-frame-toggle:hover,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-frame-toggle:focus-visible {
  border-color: rgba(255, 232, 166, 0.95);
  background: rgba(18, 14, 10, 0.74);
  color: #ffe8a6;
  opacity: 1;
}

@keyframes photo-like-float-viewer {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -45%, 0) scale(0.5) rotate(var(--heart-rotate, 0deg));
  }
  12% {
    opacity: 0.94;
    transform: translate3d(-50%, -70%, 0) scale(var(--heart-scale, 1)) rotate(var(--heart-rotate, 0deg));
  }
  68% {
    opacity: 0.86;
    transform: translate3d(calc(-50% + var(--heart-drift, 0rem)), -170%, 0) scale(var(--heart-scale, 1)) rotate(var(--heart-rotate, 0deg));
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--heart-drift, 0rem)), -270%, 0) scale(0.72) rotate(var(--heart-rotate, 0deg));
  }
}

.photo-like-float--fixed {
  position: fixed;
  z-index: 1200;
  font-size: clamp(3.45rem, 10vw, 7.15rem);
  animation-duration: 5200ms;
  cursor: default;
  pointer-events: none;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.photo-like-float--band {
  pointer-events: none;
  animation-name: photo-like-float-band;
  animation-timing-function: cubic-bezier(0.18, 0.76, 0.2, 1);
  text-shadow:
    0 0.16rem 0.45rem rgba(0, 0, 0, 0.42),
    0 0.35rem 1.35rem rgba(239, 46, 78, 0.38);
}

@keyframes photo-like-float-band {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.58) rotate(var(--heart-rotate, 0deg));
  }
  6% {
    opacity: 0.96;
    transform: translate(calc(-50% + var(--heart-drift, 0rem)), -62%) scale(var(--heart-scale, 1)) rotate(var(--heart-rotate, 0deg));
  }
  64% {
    opacity: 0.84;
    transform: translate(calc(-50% + var(--heart-drift, 0rem) + var(--heart-sway, 0rem)), -145%) scale(var(--heart-scale, 1)) rotate(var(--heart-rotate, 0deg));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--heart-drift, 0rem)), -235%) scale(0.74) rotate(var(--heart-rotate, 0deg));
  }
}

.photo-like-float--card {
  backface-visibility: hidden;
  cursor: pointer;
  pointer-events: auto;
  will-change: transform, opacity;
  animation-name: photo-like-float-card;
  animation-timing-function: linear;
}

@keyframes photo-like-float-card {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.45) rotate(var(--heart-rotate, 0deg));
  }
  14% {
    opacity: 0.96;
    transform: translate3d(calc(-50% + var(--heart-drift, 0rem)), -82%, 0) scale(var(--heart-scale, 1)) rotate(var(--heart-rotate, 0deg));
  }
  66% {
    opacity: 0.9;
    transform: translate3d(calc(-50% + var(--heart-drift, 0rem) + var(--heart-sway, 0rem)), -202%, 0) scale(var(--heart-scale, 1)) rotate(var(--heart-rotate, 0deg));
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--heart-drift, 0rem)), -280%, 0) scale(0.78) rotate(var(--heart-rotate, 0deg));
  }
}

@keyframes photo-like-float {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.45) rotate(var(--heart-rotate, 0deg));
  }
  14% {
    opacity: 0.96;
    transform: translate(calc(-50% + var(--heart-drift, 0rem)), -62%) scale(var(--heart-scale, 1)) rotate(var(--heart-rotate, 0deg));
  }
  66% {
    opacity: 0.9;
    transform: translate(calc(-50% + var(--heart-drift, 0rem) + var(--heart-sway, 0rem)), -155%) scale(var(--heart-scale, 1)) rotate(var(--heart-rotate, 0deg));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--heart-drift, 0rem)), -280%) scale(0.78) rotate(var(--heart-rotate, 0deg));
  }
}

.photo-viewer:not(.is-presentation) .photo-viewer__slideshow span {
  width: 1.12rem;
  height: 0.8rem;
}

.photo-viewer:not(.is-presentation) .photo-viewer__close:focus-visible,
.photo-viewer:not(.is-presentation) .photo-viewer__close:hover,
.photo-viewer:not(.is-presentation) .photo-viewer__nav:focus-visible,
.photo-viewer:not(.is-presentation) .photo-viewer__nav:hover,
.photo-viewer:not(.is-presentation) .photo-viewer__like:focus-visible,
.photo-viewer:not(.is-presentation) .photo-viewer__like:hover,
.photo-viewer:not(.is-presentation) .photo-viewer__download:focus-visible,
.photo-viewer:not(.is-presentation) .photo-viewer__download:hover,
.photo-viewer:not(.is-presentation) .photo-viewer__slideshow:focus-visible,
.photo-viewer:not(.is-presentation) .photo-viewer__slideshow:hover {
  border-color: rgba(255, 226, 144, 0.95);
  background: rgba(24, 18, 12, 0.88);
  color: #ffe490;
  opacity: 1;
}

.photo-viewer:not(.is-presentation) .photo-viewer__like.has-likes,
.photo-viewer:not(.is-presentation) .photo-viewer__like.has-likes:hover,
.photo-viewer:not(.is-presentation) .photo-viewer__like.has-likes:focus-visible {
  border-color: transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.photo-viewer:not(.is-presentation) .photo-viewer__like.is-liked,
.photo-viewer:not(.is-presentation) .photo-viewer__like.is-liked:hover,
.photo-viewer:not(.is-presentation) .photo-viewer__like.is-liked:focus-visible {
  color: #ef2e4e;
}

.photo-viewer.is-presentation .photo-viewer__actions {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.photo-viewer.is-presentation .photo-viewer__actions .photo-viewer__slideshow,
.photo-viewer.is-presentation .photo-viewer__actions .photo-viewer__like,
.photo-viewer.is-presentation .photo-viewer__actions .photo-viewer__nav {
  display: none;
}

/* viewer-text-lift */
.photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-wrap {
  gap: 1.25rem;
}

/* viewer-emoji-line-drop */
.photo-viewer__caption-emojis {
  display: inline-block;
  margin-top: 0.18rem;
  font-size: 1.18em;
  line-height: 1.2;
  transform: translateY(0.12em);
}

@media (max-width: 40rem) {
  .photo-viewer__caption-emojis {
    margin-top: 0.24rem;
    font-size: 1.22em;
    transform: translateY(0.16em);
  }
}

/* viewer-text-clarity */
.photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__title {
  color: #ffe28a;
  font-weight: 850;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.78);
}

.photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__title-time {
  color: rgba(235, 222, 190, 0.86);
  font-weight: 500;
}

.photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__caption {
  color: #eadfc7;
  font-weight: 500;
  line-height: 1.18;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.78);
}

/* viewer-nav-gap */
.photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__actions {
  gap: 1.05rem;
}

@media (max-width: 40rem) {
  .photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__actions {
    gap: 1.15rem;
  }
}

/* viewer-photo-wider */
.photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-wrap {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

@media (max-width: 40rem) {
  .photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-wrap {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}

/* viewer-photo-gold-edge */
.photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-wrap img {
  border: 1px solid rgba(255, 216, 111, 0.72);
  border-radius: 0.28rem;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* viewer-mobile-portrait-fit */
@media (max-width: 40rem) and (orientation: portrait) {
  .photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) {
    padding: 0.65rem;
  }

  .photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__dialog {
    height: min(92dvh, 44rem);
    max-height: calc(100dvh - 1.3rem);
  }

  .photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-wrap {
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
    min-height: 0;
    overflow: hidden;
    padding-top: 0.7rem;
  }

  .photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-meta {
    min-height: 0;
  }

  .photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-wrap img {
    align-self: center;
    justify-self: center;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
  }
}

/* gallery-caption-clarity */
.photo-card__text strong {
  color: #ffe28a;
  font-weight: 850;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
}

.photo-card__text .photo-date {
  color: rgba(235, 222, 190, 0.86);
  font-weight: 500;
}

.photo-card__text .photo-caption {
  color: #eadfc7;
  font-weight: 500;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
}

.photo-card__text .photo-upload-time {
  color: rgba(235, 222, 190, 0.78);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.66);
}

.gallery-grid--thumbs .photo-card__text strong,
.gallery-grid--thumbs .photo-card__text .photo-date,
.gallery-grid--thumbs .photo-card__text .photo-caption,
.gallery-grid--thumbs .photo-card__text .photo-upload-time {
  text-shadow: none;
}

/* section-home-button */
.section {
  position: relative;
}

.section-home,
.section-info-toggle {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  z-index: 2;
  display: grid;
  width: 3rem;
  height: 3rem;
  min-height: 3rem;
  place-items: center;
  border: 1px solid rgba(217, 181, 106, 0.38);
  border-radius: 50%;
  background: rgba(10, 8, 12, 0.88);
  color: var(--gold-bright);
  text-decoration: none;
  box-shadow: 0 0.7rem 1.4rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(0.45rem);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.section-home:active,
.section-home:focus-visible,
.section-info-toggle:active,
.section-info-toggle:focus-visible {
  border-color: rgba(255, 222, 137, 0.72);
  background: rgba(24, 18, 14, 0.94);
  transform: translateY(1px);
  outline: none;
}

.section-home__icon,
.section-info-toggle__icon {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-info-toggle {
  right: 4.25rem;
  padding: 0;
  font: inherit;
}

#gallery .gallery-hearts-toggle {
  right: 7.65rem;
}

#playlist .playlist-details-toggle {
  padding: 0;
}

#playlist .section-home {
  text-decoration: none;
}

.playlist-search {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) 4.55rem;
  gap: 0.68rem;
  align-items: end;
  margin: -0.2rem 0 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(217, 181, 106, 0.32);
  border-radius: 0.64rem;
  background: rgba(8, 7, 11, 0.82);
  box-shadow: 0 0 1.3rem rgba(217, 181, 106, 0.09), inset 0 0 0 1px rgba(255, 226, 143, 0.035);
  backdrop-filter: blur(0.65rem);
}

.playlist-search__field {
  display: grid;
  gap: 0.52rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.playlist-search input {
  width: 100%;
  min-height: 4.55rem;
  padding: 0.82rem 1.18rem;
  border: 1px solid rgba(217, 181, 106, 0.3);
  border-radius: 0.52rem;
  background: rgba(5, 5, 8, 0.78);
  color: var(--ink);
  font: inherit;
  font-size: 1.42rem;
  font-weight: 800;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 0 1rem rgba(217, 181, 106, 0.05);
}

.playlist-search input::placeholder {
  color: rgba(238, 220, 185, 0.62);
}

.playlist-search input:focus {
  border-color: rgba(255, 226, 143, 0.74);
  box-shadow: 0 0 0 0.18rem rgba(217, 181, 106, 0.14), 0 0 1.15rem rgba(217, 181, 106, 0.08);
}

.playlist-search__refresh {
  display: inline-grid;
  width: 4.55rem;
  min-width: 4.55rem;
  min-height: 4.55rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(217, 181, 106, 0.5);
  border-radius: 0.52rem;
  background: rgba(217, 181, 106, 0.12);
  color: var(--gold-bright);
  cursor: pointer;
  box-shadow: 0 0 1.2rem rgba(217, 181, 106, 0.15), inset 0 0 0 1px rgba(255, 226, 143, 0.04);
}

.playlist-search__refresh:hover,
.playlist-search__refresh:focus-visible {
  border-color: rgba(255, 226, 143, 0.74);
  background: rgba(217, 181, 106, 0.18);
  box-shadow: 0 0 1.25rem rgba(217, 181, 106, 0.24);
  outline: none;
}

.playlist-search__refresh svg {
  width: 2rem;
  height: 2rem;
  stroke-width: 2.25;
}

@media (max-width: 34rem) {
  .playlist-search {
    grid-template-columns: minmax(0, 1fr) 3.65rem;
    gap: 0.5rem;
    padding: 0.78rem;
  }

  .playlist-search input {
    min-height: 3.65rem;
    font-size: 1.02rem;
  }

  .playlist-search__field {
    font-size: 0.82rem;
  }

  .playlist-search__refresh {
    width: 3.65rem;
    min-width: 3.65rem;
    min-height: 3.65rem;
  }

  .playlist-search__refresh svg {
    width: 1.55rem;
    height: 1.55rem;
  }
}

#playlist .playlist-details-toggle .section-info-toggle__icon,
#playlist .section-home .section-home__icon {
  width: 1.35rem;
  height: 1.35rem;
}

@media (max-width: 40rem) {
  #playlist .playlist-details-toggle {
    color: var(--gold-bright);
  }

  #playlist .playlist-details-toggle .section-info-toggle__icon {
    width: 1.35rem;
    height: 1.35rem;
    stroke-width: 2.35;
  }
}


.photo-time,
.photo-upload-time,
.photo-viewer__title-time {
  display: none;
}

body.photo-datetime-visible .photo-time,
body.photo-datetime-visible .photo-upload-time,
body.photo-datetime-visible .photo-viewer__title-time {
  display: inline;
}

.photo-card.has-forced-upload-info .photo-upload-time,
.photo-viewer__title-time.is-forced {
  display: inline;
  color: #dcb5ff;
}

/* viewer-compact-header */
.photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-wrap {
  align-content: start;
  gap: 1rem;
  padding-top: 0.55rem;
}

.photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-meta {
  gap: 0.02rem;
}

.photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__caption-text:not(:empty) + .photo-viewer__caption-emojis {
  margin-top: 0.28rem;
}

@media (max-width: 40rem) and (orientation: portrait) {
  .photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-wrap {
    gap: 0.95rem;
    padding-top: 0.45rem;
  }

  .photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__caption-text:not(:empty) + .photo-viewer__caption-emojis {
    margin-top: 0.32rem;
  }

  .photo-viewer:not(.is-presentation):not(.is-fullscreen-viewer) .photo-viewer__image-wrap img {
    align-self: start;
  }
}

/* fullscreen-portrait-header */
.photo-viewer.is-fullscreen-viewer.is-portrait:not(.is-presentation) .photo-viewer__image-wrap {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  gap: 0.55rem;
  padding: max(0.65rem, env(safe-area-inset-top)) 0 max(7.4rem, calc(env(safe-area-inset-bottom) + 6.8rem));
}

.photo-viewer.is-fullscreen-viewer.is-portrait:not(.is-presentation) .photo-viewer__image-meta {
  position: static;
  inset: auto;
  z-index: 3;
  display: grid;
  width: min(92vw, 34rem);
  max-height: none;
  justify-self: center;
  gap: 0.08rem;
  padding: 0.55rem 0.9rem 0.62rem;
  border: 1px solid rgba(243, 213, 143, 0.22);
  border-radius: 0.55rem;
  background: #000;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.photo-viewer.is-fullscreen-viewer.is-portrait:not(.is-presentation) .photo-viewer__image-wrap img {
  grid-row: 2;
  align-self: end;
  justify-self: center;
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__image-wrap {
  padding: 0 0 max(7.4rem, calc(env(safe-area-inset-bottom) + 6.8rem));
}

.photo-viewer.is-fullscreen-viewer.is-landscape:not(.is-presentation) .photo-viewer__image-wrap img {
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

/* presentation-controls-alignment */
.photo-viewer.is-presentation .photo-viewer__actions {
  position: static;
  inset: auto;
  width: 0;
  height: 0;
  transform: none;
}

.photo-viewer.is-presentation .photo-viewer__play-toggle,
.photo-viewer.is-presentation .photo-viewer__close {
  position: fixed;
  top: auto;
  bottom: max(1.55rem, calc(env(safe-area-inset-bottom) + 1.55rem));
  z-index: 5;
  width: 3.35rem;
  height: 3.35rem;
  min-height: 3.35rem;
  transform: none;
}

.photo-viewer.is-presentation .photo-viewer__play-toggle {
  right: auto;
  left: max(5.05rem, calc(env(safe-area-inset-left) + 5.05rem));
}

.photo-viewer.is-presentation .photo-viewer__close {
  right: auto;
  left: max(1rem, calc(env(safe-area-inset-left) + 1rem));
}

/* Keep the portrait row clear of the frame edges and browser chrome. */
@media (orientation: portrait) and (max-width: 37.5rem) and (hover: none) and (pointer: coarse) {
  #photoViewer.is-presentation .photo-viewer__close {
    right: auto;
    left: max(0.5rem, calc(env(safe-area-inset-left) + 0.5rem));
  }

  #photoViewer.is-presentation .photo-viewer__play-toggle {
    right: auto;
    left: max(4.55rem, calc(env(safe-area-inset-left) + 4.55rem));
  }

  #photoViewer.is-presentation .photo-viewer__presentation-blur {
    right: max(4.55rem, calc(env(safe-area-inset-right) + 4.55rem));
    left: auto;
  }

  #photoViewer.is-presentation .photo-viewer__presentation-frame-toggle {
    right: max(0.5rem, calc(env(safe-area-inset-right) + 0.5rem));
    left: auto;
  }

  #photoViewer.is-presentation .photo-viewer__close,
  #photoViewer.is-presentation .photo-viewer__play-toggle,
  #photoViewer.is-presentation .photo-viewer__presentation-blur,
  #photoViewer.is-presentation .photo-viewer__presentation-frame-toggle {
    top: auto;
    bottom: max(1rem, calc(env(safe-area-inset-bottom) + 1rem));
  }

  #photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__close {
    left: max(calc(var(--presentation-photo-frame-left, 0px) + 0.75rem), calc(env(safe-area-inset-left) + 0.75rem));
  }

  #photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__play-toggle {
    left: max(calc(var(--presentation-photo-frame-left, 0px) + 4.8rem), calc(env(safe-area-inset-left) + 4.8rem));
  }

  #photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__presentation-blur {
    right: max(calc(var(--presentation-photo-frame-right, 0px) + 4.8rem), calc(env(safe-area-inset-right) + 4.8rem));
  }

  #photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__presentation-frame-toggle {
    right: max(calc(var(--presentation-photo-frame-right, 0px) + 0.75rem), calc(env(safe-area-inset-right) + 0.75rem));
  }

  #photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__close,
  #photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__play-toggle,
  #photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__presentation-blur,
  #photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__presentation-frame-toggle {
    bottom: max(
      calc(100dvh - var(--presentation-photo-frame-bottom, 100dvh) + 0.75rem),
      calc(env(safe-area-inset-bottom) + 0.75rem)
    );
  }
}

/* Keep the mobile landscape controls in two calm vertical groups. */
@media (orientation: landscape) and (pointer: coarse) and (max-height: 37.5rem) {
  #photoViewer.is-presentation .photo-viewer__close,
  #photoViewer.is-presentation .photo-viewer__play-toggle {
    right: auto;
    left: max(3rem, calc(env(safe-area-inset-left) + 3rem));
  }

  #photoViewer.is-presentation .photo-viewer__close,
  #photoViewer.is-presentation .photo-viewer__presentation-blur {
    top: auto;
    bottom: max(0.75rem, calc(env(safe-area-inset-bottom) + 0.75rem));
  }

  #photoViewer.is-presentation .photo-viewer__play-toggle {
    top: auto;
    bottom: max(4.85rem, calc(env(safe-area-inset-bottom) + 4.85rem));
  }

  #photoViewer.is-presentation .photo-viewer__presentation-blur,
  #photoViewer.is-presentation .photo-viewer__presentation-frame-toggle {
    right: max(3rem, calc(env(safe-area-inset-right) + 3rem));
    left: auto;
  }

  #photoViewer.is-presentation .photo-viewer__presentation-frame-toggle {
    top: auto;
    bottom: max(4.85rem, calc(env(safe-area-inset-bottom) + 4.85rem));
  }
}

/* Draw the black-background selector at a reliable size and exactly in the middle. */
#photoViewer.is-presentation .photo-viewer__presentation-blur {
  padding: 0;
  place-content: center;
  line-height: 1;
  text-align: center;
}

#photoViewer.is-presentation .photo-viewer__presentation-blur[data-mode="normal"] {
  font-size: 0;
}

#photoViewer.is-presentation .photo-viewer__presentation-blur[data-mode="normal"]::before {
  content: "";
  display: block;
  box-sizing: border-box;
  width: 1.15rem;
  height: 1.15rem;
  place-self: center;
  border: 0.13rem dotted currentColor;
  border-radius: 50%;
}

/* Match the controls to the white-background/black-frame presentation mode. */
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame .photo-viewer__close,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame .photo-viewer__play-toggle,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame .photo-viewer__presentation-blur,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame .photo-viewer__presentation-frame-toggle,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame .photo-viewer__extra-options-toggle {
  border: 2px solid rgba(0, 0, 0, 0.94);
  background: rgba(255, 255, 255, 0.92);
  color: #050505;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.96),
    0 0.72rem 1.55rem rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(0.28rem);
  transition:
    opacity 0.2s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__close:hover,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__close:focus-visible,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__close:active,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__play-toggle:hover,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__play-toggle:focus-visible,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__play-toggle:active,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__presentation-blur:hover,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__presentation-blur:focus-visible,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__presentation-blur:active,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__presentation-frame-toggle:hover,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__presentation-frame-toggle:focus-visible,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__presentation-frame-toggle:active,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__extra-options-toggle:hover,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__extra-options-toggle:focus-visible,
#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame.presentation-controls-visible .photo-viewer__extra-options-toggle:active {
  border-color: rgba(255, 255, 255, 0.98);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.88),
    0 0.72rem 1.55rem rgba(0, 0, 0, 0.48);
  opacity: 1;
}

/* Invert the white-background/black-frame controls for black background + white frame. */
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background) .photo-viewer__close,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background) .photo-viewer__play-toggle,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background) .photo-viewer__presentation-blur,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background) .photo-viewer__presentation-frame-toggle,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background) .photo-viewer__extra-options-toggle {
  border: 2px solid rgba(255, 255, 255, 0.96);
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.96),
    0 0.72rem 1.55rem rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(0.28rem);
  transition:
    opacity 0.2s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__close:hover,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__close:focus-visible,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__close:active,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__play-toggle:hover,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__play-toggle:focus-visible,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__play-toggle:active,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__presentation-blur:hover,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__presentation-blur:focus-visible,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__presentation-blur:active,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__presentation-frame-toggle:hover,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__presentation-frame-toggle:focus-visible,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__presentation-frame-toggle:active,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__extra-options-toggle:hover,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__extra-options-toggle:focus-visible,
#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background).presentation-controls-visible .photo-viewer__extra-options-toggle:active {
  border-color: rgba(0, 0, 0, 0.98);
  background: rgba(255, 255, 255, 0.94);
  color: #050505;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.9),
    0 0.72rem 1.55rem rgba(0, 0, 0, 0.48);
  opacity: 1;
}

/* hero-eyebrow-gold */
.hero-copy > .eyebrow {
  color: #ffe28a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.78), 0 0 14px rgba(255, 216, 111, 0.28);
}

/* hero-subtext-smaller */
.hero-copy p:last-child {
  max-width: 21rem;
  margin-top: 0.52rem;
  font-size: 0.74rem;
  line-height: 1.28;
}

.hero-tagline {
  display: flex;
  max-width: min(80vw, 21rem);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 0.52rem;
  row-gap: 0.02rem;
  font-size: 0.68rem;
}

.hero-tagline > span {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  white-space: nowrap;
}

.hero-tagline > span:not(.hero-tagline__line)::after {
  content: "";
}

.hero-tagline__line {
  width: 100%;
  justify-content: center;
  font-size: 0.92em;
}

.hero-tagline--desktop-promo {
  display: none;
}

/* hero-copy-lower */
.hero-copy {
  padding-top: min(134vw, 35.4rem);
}

/* hero-title-smaller */
.hero-copy h1 {
  font-size: clamp(1.82rem, 7.6vw, 2.68rem);
}

@media (max-width: 430px) {
  .hero-copy > .eyebrow {
    font-size: clamp(0.6rem, 3vw, 0.74rem);
    letter-spacing: 0.13rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.76rem, 8.4vw, 2.38rem);
  }

  .hero-tagline {
    max-width: min(70vw, 18rem);
    column-gap: 0.36rem;
    font-size: clamp(0.46rem, 2.5vw, 0.56rem);
    line-height: 1.18;
  }
}

/* topbar-brand-removed */
.topbar {
  justify-content: flex-end;
}

/* info-eye-toggle */
.section-info-toggle[aria-pressed="true"] .section-info-toggle__slash {
  display: none;
}

.section-info-toggle[aria-pressed="false"] .section-info-toggle__slash {
  display: block;
}

/* Schilderij template: Blur 1 */
.hero-frame-slideshow {
  --painting-blur-backdrop-filter: blur(0.62rem) saturate(1.08) contrast(1) brightness(1.1);
  --painting-blur-backdrop-opacity: 0.82;
  --painting-blur-backdrop-scale: 1.06;
  --painting-blur-edge-x: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  --painting-blur-edge-y: linear-gradient(180deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  position: absolute;
  inset: 0;
  opacity: 0;
  background: #080608;
  transition: opacity 0.9s ease;
}

.art-frame.has-slideshow .hero-frame-slideshow {
  opacity: 1;
}

.hero-frame-slideshow__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  opacity: 0;
  filter: saturate(1.06) contrast(1.02);
  -webkit-mask-image: var(--painting-blur-edge-x), var(--painting-blur-edge-y);
  -webkit-mask-composite: source-in;
  mask-image: var(--painting-blur-edge-x), var(--painting-blur-edge-y);
  mask-composite: intersect;
  transition: opacity 2.4s ease-in-out;
}

.hero-frame-slideshow__image--backdrop {
  z-index: 1;
  object-fit: cover;
  opacity: 0;
  filter: var(--painting-blur-backdrop-filter);
  -webkit-mask-image: none;
  mask-image: none;
  transform: scale(var(--painting-blur-backdrop-scale));
}

.hero-frame-slideshow__image.is-active {
  opacity: 1;
}

.hero-frame-slideshow__image--backdrop.is-active {
  opacity: var(--painting-blur-backdrop-opacity);
}

.art-frame.has-slideshow .photo-glow {
  opacity: 0;
}

.art-frame.has-slideshow .portrait-lines {
  opacity: 0.24;
  mix-blend-mode: screen;
}


@media (prefers-reduced-motion: reduce) {
  .hero-frame-slideshow__image {
    transition: opacity 0.4s ease;
    transform: none;
  }

  .hero-frame-slideshow__image.is-active {
    transform: none;
  }

}

/* gold-painting-frame */
.art-frame {
  border: 0.22rem solid transparent;
  background:
    linear-gradient(180deg, #20151b, #100b10) padding-box,
    linear-gradient(135deg, #8b6220 0%, #ffe69a 14%, #b78325 28%, #fff0b8 43%, #7a521c 58%, #d7a948 74%, #fff5c5 86%, #9a6a22 100%) border-box;
  box-shadow:
    inset 0 0 0 1px rgba(255, 242, 185, 0.78),
    inset 0 0 0 0.1rem rgba(74, 45, 12, 0.72),
    inset 0 0 0 0.16rem rgba(255, 221, 122, 0.22),
    0 0.22rem 0 rgba(255, 239, 171, 0.32),
    0 0.78rem 1.7rem rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(75, 48, 18, 0.7);
}

.art-frame::before,
.art-frame::after {
  content: "";
  position: absolute;
  z-index: 6;
  pointer-events: none;
}

.art-frame::before {
  inset: -0.22rem;
  background: none;
  box-shadow:
    inset 0 0 0 0.08rem rgba(255, 244, 187, 0.62),
    inset 0 0 0 0.15rem rgba(92, 57, 13, 0.66),
    inset 0 0 0 0.2rem rgba(255, 218, 112, 0.28);
}

.art-frame::after {
  inset: 0.1rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 158, 0.62),
    inset 0 0.35rem 0.7rem rgba(255, 239, 176, 0.12),
    inset 0 -0.45rem 0.8rem rgba(49, 28, 7, 0.62);
}

.art-frame.has-slideshow .portrait-lines {
  opacity: 0.18;
}



/* dj-deck-upgrade */
.dj-deck {
  overflow: hidden;
  border: 0.14rem solid rgba(243, 213, 143, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 230, 151, 0.1), transparent 24% 72%, rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, #2a242b 0%, #141116 52%, #0a090c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 185, 0.22),
    inset 0 0 1.8rem rgba(0, 0, 0, 0.58),
    0 0.8rem 1.8rem rgba(0, 0, 0, 0.34);
}

.dj-deck::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: 0.78rem;
  height: 0.14rem;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(243, 213, 143, 0.44), transparent);
}

.dj-deck::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.92rem;
  bottom: 0.92rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(243, 213, 143, 0.3), transparent);
  opacity: 0.75;
}

.dj-platter {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: min(47%, 8.4rem);
  aspect-ratio: 1;
  transform: translateY(-45%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 238, 181, 0.42) 0 1.5%, transparent 1.8%),
    conic-gradient(from 20deg, rgba(255, 226, 143, 0.18), transparent 12%, rgba(255, 255, 255, 0.05) 18%, transparent 30%, rgba(255, 226, 143, 0.16) 42%, transparent 58%, rgba(255, 255, 255, 0.06) 68%, transparent 100%),
    radial-gradient(circle, #0b0a0e 0 58%, #18151a 59% 72%, #070609 73% 100%);
  box-shadow:
    inset 0 0 0 0.18rem #050406,
    inset 0 0 0 0.34rem rgba(255, 232, 158, 0.18),
    0 0.55rem 1rem rgba(0, 0, 0, 0.55);
}

.dj-deck .record {
  left: 50%;
  top: 50%;
  width: 72%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 1px #000,
    inset 0 0 0 0.72rem #09080b,
    inset 0 0 0 1.05rem rgba(255, 255, 255, 0.035);
}

.dj-deck .record-ring {
  inset: 0.78rem;
  border-color: rgba(255, 255, 255, 0.12);
}

.dj-deck .record-label {
  inset: 36%;
  background:
    radial-gradient(circle, #fff0b2 0 20%, var(--gold) 22% 100%);
}

.dj-mixer {
  position: absolute;
  left: 58%;
  right: 1rem;
  top: 1.12rem;
  bottom: 0.82rem;
  transform: scale(0.84);
  transform-origin: center center;
  border-radius: 0.72rem;
  background:
    linear-gradient(180deg, rgba(255, 246, 209, 0.08), transparent 36%),
    linear-gradient(155deg, #1d181f, #0b0a0d);
  box-shadow:
    inset 0 0 0 1px rgba(243, 213, 143, 0.16),
    inset 0 -0.55rem 0.9rem rgba(0, 0, 0, 0.36);
}

.dj-screen {
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  top: 0.58rem;
  height: 1.05rem;
  border-radius: 0.32rem;
  background:
    linear-gradient(90deg, rgba(243, 213, 143, 0.42) 0 16%, transparent 16% 22%, rgba(243, 213, 143, 0.28) 22% 48%, transparent 48% 55%, rgba(243, 213, 143, 0.34) 55% 74%, transparent 74%),
    linear-gradient(180deg, #07090d, #0f1419);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 185, 0.2), 0 0 0.8rem rgba(243, 213, 143, 0.12);
}

.dj-knob {
  position: absolute;
  top: 2.1rem;
  width: 0.68rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff1bc, var(--gold) 42%, #6d511c 100%);
  box-shadow: 0 0.18rem 0.38rem rgba(0, 0, 0, 0.42);
}

.dj-knob-1 { left: 0.8rem; }
.dj-knob-2 { left: calc(50% - 0.34rem); }
.dj-knob-3 { right: 0.8rem; }

.dj-fader {
  position: absolute;
  top: 3.38rem;
  width: 0.22rem;
  height: 1.88rem;
  border-radius: 999px;
  background: rgba(255, 236, 174, 0.22);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.52);
}

.dj-fader::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0.72rem;
  height: 0.28rem;
  border-radius: 999px;
  background: var(--gold-bright);
  transform: translateX(-50%);
  box-shadow: 0 0.2rem 0.36rem rgba(0, 0, 0, 0.42);
}

.dj-fader-a { left: 1.12rem; }
.dj-fader-a::after { top: 0.46rem; }
.dj-fader-b { right: 1.12rem; }
.dj-fader-b::after { top: 1.2rem; }

.dj-pad {
  position: absolute;
  bottom: 1.15rem;
  width: 0.68rem;
  height: 0.52rem;
  border-radius: 0.18rem;
  background: linear-gradient(180deg, #ffe08a, #c8912b);
  box-shadow: inset 0 0 0 1px rgba(255, 251, 220, 0.18), 0 0.18rem 0.34rem rgba(0, 0, 0, 0.38);
}

.dj-pad-1 { left: 0.76rem; }
.dj-pad-2 { left: 1.9rem; }
.dj-pad-3 { right: 1.9rem; }
.dj-pad-4 { right: 0.76rem; }

.dj-crossfader {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.45rem;
  height: 0.18rem;
  border-radius: 999px;
  background: rgba(255, 236, 174, 0.22);
}

.dj-crossfader::after {
  content: "";
  position: absolute;
  left: 58%;
  top: 50%;
  width: 0.9rem;
  height: 0.28rem;
  border-radius: 999px;
  background: var(--gold-bright);
  transform: translate(-50%, -50%);
}

.dj-deck .tonearm {
  right: 42%;
  top: 1.34rem;
  width: 1.42rem;
  height: 0.22rem;
  transform: rotate(0deg);
  opacity: 0.82;
  background: linear-gradient(90deg, #fff1bd, var(--gold));
}

.dj-deck .tonearm::after {
  right: -0.36rem;
  top: -0.29rem;
  width: 0.72rem;
  height: 0.72rem;
  border-width: 2px;
  background: rgba(8, 7, 9, 0.78);
}

@media (max-width: 420px) {
  .dj-platter {
    width: 46%;
    left: 0.7rem;
  }

  .dj-mixer {
    left: 57%;
    right: 0.82rem;
    transform: scale(0.82);
  }

  .dj-knob {
    width: 0.62rem;
  }

  .dj-pad {
    width: 0.62rem;
    height: 0.48rem;
  }
}




/* hero-title-only-smaller */
.hero-copy h1 {
  font-size: clamp(1.48rem, 6.2vw, 2.18rem);
}

/* tenant-home-heading-consistent */
.hero-copy > .eyebrow {
  margin-bottom: 0.32rem;
  font-size: clamp(1.25rem, 6vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: 0.1rem;
}

.hero-copy h1 {
  font-size: clamp(1.05rem, 4.6vw, 1.55rem);
}

/* hero-copy-text-smaller */
.hero-copy p:last-child {
  max-width: 24rem;
  margin-top: 0.68rem;
  font-size: 0.98rem;
  line-height: 1.34;
}


/* quick-links-lower */
.quick-links {
  margin-top: clamp(2.4rem, 13vh, 6.4rem);
}


/* hero-gold-decorations */
.hero-decorations {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  overflow: hidden;
  pointer-events: none;
}

body.hero-decorations-enabled .hero-decorations {
  display: block;
}

.hero-balloon-cluster {
  position: absolute;
  width: clamp(5.8rem, 22vw, 9rem);
  height: clamp(6.6rem, 24vw, 10.5rem);
  opacity: 0.76;
  filter: drop-shadow(0 0.9rem 1.1rem rgba(0, 0, 0, 0.34));
}

.hero-balloon-cluster--left {
  left: max(-2rem, -4vw);
  top: clamp(6.4rem, 14vh, 9rem);
  transform: rotate(-10deg);
}

.hero-balloon-cluster--right {
  right: max(-2.4rem, -5vw);
  top: clamp(4.8rem, 10vh, 7rem);
  transform: rotate(11deg) scale(0.96);
}

.hero-balloon {
  position: absolute;
  display: block;
  width: 42%;
  aspect-ratio: 0.78;
  border-radius: 50% 50% 47% 47%;
  box-shadow:
    inset -0.42rem -0.7rem 0.9rem rgba(44, 24, 4, 0.32),
    inset 0.24rem 0.22rem 0.58rem rgba(255, 255, 255, 0.28);
}

.hero-balloon::before {
  content: "";
  position: absolute;
  left: 22%;
  top: 14%;
  width: 26%;
  height: 18%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  filter: blur(0.08rem);
}

.hero-balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.26rem;
  width: 0.46rem;
  height: 0.38rem;
  border-radius: 0 0 0.22rem 0.22rem;
  background: rgba(213, 164, 55, 0.78);
  transform: translateX(-50%);
}

.hero-balloon--gold {
  left: 31%;
  top: 4%;
  background:
    radial-gradient(circle at 34% 23%, rgba(255, 255, 255, 0.72), transparent 16%),
    radial-gradient(circle at 58% 48%, #f7ce61 0 12%, transparent 32%),
    linear-gradient(145deg, #fff2a8, #d7a02c 45%, #8c5a13 100%);
}

.hero-balloon--black {
  left: 7%;
  top: 27%;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 230, 166, 0.34), transparent 15%),
    linear-gradient(145deg, #2d2a2a, #070609 56%, #000 100%);
}

.hero-balloon--confetti {
  right: 4%;
  top: 29%;
  background:
    radial-gradient(circle at 33% 22%, rgba(255, 255, 255, 0.8), transparent 15%),
    radial-gradient(circle at 34% 50%, rgba(55, 31, 7, 0.62) 0 4%, transparent 4.5%),
    radial-gradient(circle at 61% 35%, rgba(79, 47, 9, 0.64) 0 4%, transparent 4.5%),
    radial-gradient(circle at 55% 68%, rgba(64, 34, 5, 0.58) 0 3.6%, transparent 4.1%),
    radial-gradient(circle at 75% 53%, rgba(92, 57, 13, 0.56) 0 3.4%, transparent 4%),
    linear-gradient(145deg, #fff5bc, #dba735 44%, #8f5d17 100%);
}

.hero-garland {
  position: absolute;
  height: 6rem;
  opacity: 0.68;
}

.hero-garland::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.6rem;
  height: 1.4rem;
  border-top: 1px solid rgba(255, 226, 138, 0.54);
  border-radius: 50%;
}

.hero-garland--left {
  left: -1.2rem;
  top: 2.3rem;
  width: 44vw;
  transform: rotate(-8deg);
}

.hero-garland--right {
  right: -1.6rem;
  top: 2.1rem;
  width: 48vw;
  transform: rotate(8deg);
}

.hero-garland span {
  position: absolute;
  top: 1.35rem;
  width: 0.92rem;
  height: 1.55rem;
  border-radius: 0 0 0.5rem 0.5rem;
  background: linear-gradient(180deg, #ffe88f, #b87c1e);
  transform-origin: 50% -0.5rem;
  box-shadow: inset 0 0 0 1px rgba(255, 246, 193, 0.18);
}

.hero-garland span:nth-child(1) { left: 8%; transform: rotate(10deg); }
.hero-garland span:nth-child(2) { left: 28%; transform: rotate(-5deg); background: linear-gradient(180deg, #1a171a, #050405); }
.hero-garland span:nth-child(3) { left: 49%; transform: rotate(3deg); }
.hero-garland span:nth-child(4) { left: 68%; transform: rotate(-9deg); background: linear-gradient(180deg, #2c272c, #050405); }
.hero-garland span:nth-child(5) { left: 86%; transform: rotate(6deg); }

@media (max-width: 430px) {
  .hero-balloon-cluster {
    opacity: 0.58;
  }

  .hero-balloon-cluster--left {
    left: -2.85rem;
    top: 7.2rem;
  }

  .hero-balloon-cluster--right {
    right: -3.1rem;
    top: 5.6rem;
  }

  .hero-garland {
    opacity: 0.48;
  }
}


/* hero-decorations-lower */
.hero-balloon-cluster--left {
  top: clamp(15rem, 36vh, 21.5rem);
}

.hero-balloon-cluster--right {
  top: clamp(13.5rem, 31vh, 19.5rem);
}

.hero-garland--left,
.hero-garland--right {
  top: clamp(10.5rem, 24vh, 15rem);
}

@media (max-width: 430px) {
  .hero-balloon-cluster--left {
    left: -2.65rem;
    top: 22.5rem;
  }

  .hero-balloon-cluster--right {
    right: -2.9rem;
    top: 20.6rem;
  }

  .hero-garland--left,
  .hero-garland--right {
    top: 16.4rem;
  }
}


/* real-balloon-overlay */
.hero-decorations--real {
  z-index: 2;
  opacity: 0.74;
  mix-blend-mode: screen;
}

.hero-decorations__image {
  position: absolute;
  left: 50%;
  top: clamp(7.8rem, 18vh, 12rem);
  width: min(118vw, 48rem);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  filter: saturate(1.05) contrast(1.05) drop-shadow(0 1rem 1.6rem rgba(0, 0, 0, 0.34));
  pointer-events: none;
  user-select: none;
}

.hero-decorations--real .hero-balloon-cluster,
.hero-decorations--real .hero-garland {
  display: none;
}

@media (max-width: 430px) {
  .hero-decorations--real {
    opacity: 0.68;
  }

  .hero-decorations__image {
    top: 12.2rem;
    width: 150vw;
  }
}


/* dark-balloon-overlay */
.hero-decorations--real {
  opacity: 0.58;
  mix-blend-mode: normal;
}

.hero-decorations__image {
  top: clamp(7rem, 16vh, 10.5rem);
  width: min(116vw, 47rem);
}

@media (max-width: 430px) {
  .hero-decorations--real {
    opacity: 0.52;
  }

  .hero-decorations__image {
    top: 11.5rem;
    width: 148vw;
  }
}


/* balloon-fullheight-from-buttons */
.hero-decorations--real {
  inset: 0 0 auto;
  height: calc(100% + clamp(2.4rem, 13vh, 6.4rem));
  z-index: 1;
  opacity: 0.62;
  mix-blend-mode: normal;
  overflow: hidden;
}

.hero-decorations__image {
  top: auto;
  bottom: 0;
  width: auto;
  height: 100%;
  max-width: none;
  transform: translateX(-50%);
  filter: saturate(1.06) contrast(1.04) drop-shadow(0 1rem 1.6rem rgba(0, 0, 0, 0.34));
}

@media (max-width: 430px) {
  .hero-decorations--real {
    height: calc(100% + clamp(2.4rem, 13vh, 6.4rem));
    opacity: 0.58;
  }

  .hero-decorations__image {
    width: auto;
    height: 100%;
  }
}


/* balloon-front-layers */
.hero-decorations-front {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: none;
  height: calc(100% + clamp(2.4rem, 13vh, 6.4rem));
  overflow: hidden;
  pointer-events: none;
  contain: paint;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

body.hero-decorations-enabled .hero-decorations-front {
  display: block;
}

body.hero-decorations-enabled .hero-decorations--real {
  display: none;
}

/* Base mobile phone size without decorations; the both-off layout is below. */
@media (max-width: 430px) and (min-height: 650px) and (orientation: portrait) {
  body.hero-decorations-disabled .hero:not(.is-hero-fullscreen) .phone-frame {
    width: min(82vw, calc(56.25svh - 7.5rem), 21rem);
  }

  body.hero-decorations-disabled .hero:not(.is-hero-fullscreen) .hero-copy {
    padding-top: min(155vw, calc(100svh - 11rem), 40rem);
  }
}

body.hero-tagline-hidden .hero-tagline {
  display: none !important;
}

/* Keep the tenant title lower when the tagline is hidden. */
@media (max-width: 430px) and (min-height: 650px) and (orientation: portrait) {
  body.hero-tagline-hidden .hero:not(.is-hero-fullscreen) .hero-copy {
    padding-top: min(155vw, calc(100svh - 8rem), 40rem);
  }

  /* With both options off, use the free space for a larger, lower phone. */
  body.hero-decorations-disabled.hero-tagline-hidden .hero:not(.is-hero-fullscreen) .phone-stage {
    top: 6.15rem;
  }

  body.hero-decorations-disabled.hero-tagline-hidden .hero:not(.is-hero-fullscreen) .phone-stage::before {
    top: -2%;
    width: min(100vw, 27rem);
    height: 104%;
    background:
      radial-gradient(ellipse at 50% 30%, rgba(255, 225, 154, 0.3), transparent 66%),
      radial-gradient(ellipse at 50% 78%, rgba(239, 178, 69, 0.18), transparent 68%);
    filter: blur(1.15rem);
    opacity: 1;
  }

  body.hero-decorations-disabled.hero-tagline-hidden .hero:not(.is-hero-fullscreen) .phone-frame {
    width: min(90vw, calc(56.25svh - 6.25rem), 23rem);
    border-color: #141218;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 45%),
      linear-gradient(180deg, #26232b, #0e0c12);
    box-shadow:
      0 1.6rem 4rem var(--shadow),
      0 0 3rem rgba(255, 214, 118, 0.28),
      inset 0 0 0 1px rgba(255, 255, 255, 0.26),
      0 0 0 1px rgba(255, 220, 145, 0.45),
      0 0 0 3px rgba(217, 181, 106, 0.1);
  }

  body.hero-decorations-disabled.hero-tagline-hidden .hero:not(.is-hero-fullscreen) .phone-speaker {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 1px 2px #000;
  }

  body.hero-decorations-disabled.hero-tagline-hidden .hero:not(.is-hero-fullscreen) .hero-copy {
    padding-top: min(178vw, calc(100svh - 7.5rem), 46rem);
  }
}

.hero-decorations-front__image {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: auto;
  height: 100%;
  max-width: none;
  opacity: 0.72;
  clip-path: inset(0 58% 0 0);
  filter: saturate(1.08) contrast(1.05) drop-shadow(0 1rem 1.4rem rgba(0, 0, 0, 0.32));
  transform: translate3d(-50%, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  user-select: none;
}

.hero-decorations-front__image--left {
  bottom: calc(-1 * clamp(0.45rem, 2.1vh, 1.2rem));
  transform: translate3d(calc(-50% - clamp(1rem, 3vw, 2.1rem)), 0, 0) scale(0.85);
}

.hero-decorations-front__image--right {
  bottom: calc(-1 * clamp(1.6rem, 5vh, 3.2rem));
  opacity: 0.68;
  clip-path: inset(0 0 0 60%);
  filter: saturate(1.06) contrast(1.04);
  transform: translate3d(calc(-50% - clamp(0.4rem, 2.5vw, 1.8rem)), 0, 0) scale(0.85);
}

.hero.is-hero-fullscreen .hero-decorations-front__image--left {
  transform: translate3d(calc(-50% - clamp(0.35rem, 1.6vw, 1.1rem)), 0, 0) scale(0.85);
}

.hero.is-hero-fullscreen .hero-decorations-front__image--right {
  transform: translate3d(calc(-50% - clamp(0.4rem, 2.5vw, 1.8rem)), 0, 0) scale(0.85);
}

@media (max-width: 430px) {
  .hero-decorations-front {
    height: calc(100% + clamp(2.4rem, 13vh, 6.4rem));
  }

  .hero-decorations-front__image {
    opacity: 0.7;
    clip-path: inset(0 54% 0 0);
  }

  .hero-decorations-front__image--left {
    bottom: -3.05rem;
    transform: translate3d(calc(-50% - 1.05rem), 0, 0) scale(0.85);
  }

  .hero-decorations-front__image--right {
    bottom: -3.25rem;
    opacity: 0.66;
    clip-path: inset(0 0 0 58%);
    transform: translate3d(calc(-50% - 0.3rem), 0, 0) scale(0.85);
  }

  .hero.is-hero-fullscreen .hero-decorations-front__image--left {
    bottom: -1.65rem;
    transform: translate3d(calc(-50% - 0.35rem), 0, 0) scale(0.85);
  }

  .hero.is-hero-fullscreen .hero-decorations-front__image--right {
    bottom: -3.25rem;
    transform: translate3d(calc(-50% - 0.3rem), 0, 0) scale(0.85);
  }
}

/* restore-mobile-hero-buttons-and-blur */
.fixed-quick-buttons {
  position: absolute;
  top: 1rem;
  left: 4.35rem;
  right: auto;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-pill--hero-fullscreen {
  position: absolute;
  top: 0;
  right: 0.85rem;
  z-index: 1001;
}

.fixed-quick-buttons .nav-pill,
.nav-pill--hero-fullscreen {
  width: 3rem;
  height: 3rem;
  min-height: 3rem;
  flex: 0 0 3rem;
  background: rgba(10, 8, 12, 0.88);
  border-color: rgba(217, 181, 106, 0.38);
}

@media (max-width: 23rem) {
  .floating-menu {
    left: 0.5rem !important;
  }

  .floating-menu__button,
  .fixed-quick-buttons .nav-pill,
  .nav-pill--hero-fullscreen {
    width: 2.35rem;
    height: 2.35rem;
    min-height: 2.35rem;
    flex-basis: 2.35rem;
  }

  .fixed-quick-buttons {
    left: 3.55rem;
    gap: 0.24rem;
  }

  .nav-pill--hero-fullscreen {
    right: 0.5rem;
  }

  .nav-pill__heart-icon {
    width: 1.4rem;
    height: 1.4rem;
  }
}

#photoViewer.is-presentation #slideshowPrevButton {
  right: calc(var(--photo-play-control-edge) + (2 * (var(--photo-play-control-size) + var(--photo-play-control-gap)))) !important;
  left: auto !important;
}
#photoViewer.is-presentation #slideshowPlayToggle {
  right: calc(var(--photo-play-control-edge) + var(--photo-play-control-size) + var(--photo-play-control-gap)) !important;
  left: auto !important;
}
#photoViewer.is-presentation #slideshowNextButton {
  right: var(--photo-play-control-edge) !important;
  left: auto !important;
}

.hero-frame-slideshow {
  --painting-blur-backdrop-filter: blur(0.28rem) saturate(1.08) contrast(1.02) brightness(1.14);
  --painting-blur-backdrop-opacity: 0.72;
  --painting-blur-backdrop-scale: 1.025;
  --painting-blur-edge-x: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.58) 1%, #000 3.5%, #000 96.5%, rgba(0, 0, 0, 0.58) 99%, transparent 100%);
  --painting-blur-edge-y: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.58) 1%, #000 3.5%, #000 96.5%, rgba(0, 0, 0, 0.58) 99%, transparent 100%);
}

.hero-frame-slideshow__image--backdrop {
  filter: var(--painting-blur-backdrop-filter);
}

/* Photo-only zoom: controls and heart animations stay in the unscaled layer. */
#photoViewer:not(.is-presentation) .photo-viewer__dialog {
  --viewer-button-size: clamp(2.75rem, 7vw, 3.1rem);
}

#photoViewer:not(.is-presentation) .photo-viewer__actions {
  grid-template-columns: repeat(5, var(--viewer-button-size));
  gap: clamp(0.28rem, 1.4vw, 0.6rem);
}

#photoViewer.viewer-hearts-hidden:not(.is-presentation):not(.is-photo-zoomed) .photo-viewer__actions {
  grid-template-columns: repeat(4, var(--viewer-button-size));
}

#photoViewer.viewer-hearts-hidden:not(.is-presentation) #photoLikeButton,
#photoViewer.viewer-hearts-hidden:not(.is-presentation) .photo-like-float {
  display: none !important;
}

#photoViewer:not(.is-presentation) .photo-viewer__actions > button {
  width: var(--viewer-button-size);
  height: var(--viewer-button-size);
  min-height: var(--viewer-button-size);
}

#photoViewer:not(.is-presentation) .photo-viewer__zoom {
  font-size: 1rem;
  font-weight: 800;
}

#photoViewer:not(.is-presentation):not(.is-photo-zoomed) #photoViewerZoomButton {
  display: none;
}

#photoViewer.is-presentation .photo-viewer__actions #photoViewerZoomButton {
  position: fixed;
  top: auto;
  right: auto;
  bottom: max(1.55rem, calc(env(safe-area-inset-bottom) + 1.55rem));
  left: 50%;
  z-index: 7;
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  min-height: 3.35rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 222, 143, 0.68);
  border-radius: 50%;
  background: rgba(7, 6, 8, 0.72);
  color: rgba(255, 232, 166, 0.96);
  box-shadow:
    0 0.65rem 1.35rem rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 232, 166, 0.08);
  font: 800 0.92rem/1 system-ui, sans-serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
  backdrop-filter: blur(0.48rem);
}

/* The fixed frame must not cut through the enlarged photo. */
#photoViewer.is-presentation.is-photo-zoomed .photo-viewer__presentation-frame {
  display: none;
}

#photoViewer.is-presentation.is-photo-zoomed.is-presentation-blur-border #photoViewerImage {
  border-radius: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

#photoViewer.is-presentation.is-photo-zoomed.presentation-zoom-status-visible .photo-viewer__actions #photoViewerZoomButton {
  opacity: 0.94;
  visibility: visible;
  pointer-events: auto;
  cursor: pointer;
  transition-delay: 0s;
}

#photoViewer.is-presentation.is-presentation-white-background.is-presentation-black-frame .photo-viewer__actions #photoViewerZoomButton {
  border: 2px solid rgba(0, 0, 0, 0.94);
  background: rgba(255, 255, 255, 0.94);
  color: #050505;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.96),
    0 0.72rem 1.55rem rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(0.28rem);
}

#photoViewer.is-presentation.is-presentation-white-frame:not(.is-presentation-blur):not(.is-presentation-white-background) .photo-viewer__actions #photoViewerZoomButton {
  border: 2px solid rgba(255, 255, 255, 0.96);
  background: rgba(0, 0, 0, 0.94);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.96),
    0 0.72rem 1.55rem rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(0.28rem);
}

#photoViewer.is-presentation .photo-viewer__image-wrap,
#photoViewer.is-presentation #photoViewerImage {
  touch-action: none;
  -webkit-user-drag: none;
}

/* Keep the preview visible until the decoded full-resolution photo is ready. */
#photoViewer.is-presentation .photo-viewer__detail-overlay {
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
  will-change: opacity;
}

#photoViewer.is-presentation .photo-viewer__detail-overlay.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  #photoViewer.is-presentation .photo-viewer__detail-overlay {
    transition-duration: 1ms;
  }
}

@media (orientation: portrait) and (max-width: 37.5rem) and (hover: none) and (pointer: coarse) {
  #photoViewer.is-presentation .photo-viewer__actions #photoViewerZoomButton {
    bottom: max(1rem, calc(env(safe-area-inset-bottom) + 1rem));
  }
}

@media (orientation: landscape) and (pointer: coarse) and (max-height: 37.5rem) {
  #photoViewer.is-presentation .photo-viewer__actions #photoViewerZoomButton {
    bottom: max(0.75rem, calc(env(safe-area-inset-bottom) + 0.75rem));
  }
}

#photoViewer:not(.is-presentation) #photoViewerImage {
  touch-action: none;
  -webkit-user-drag: none;
}

#photoViewer.is-open:not(.is-presentation) #photoViewerImage {
  will-change: transform;
}

#photoViewer.is-photo-zoomed #photoViewerImage {
  cursor: grab;
}

#photoViewer.is-photo-dragging #photoViewerImage {
  cursor: grabbing;
}

/* viewer-landscape-overlay */
/* Screen orientation must outrank the photo-orientation classes added on load. */
@media (orientation: landscape) {
  #photoViewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__dialog {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
  }

  #photoViewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__image-wrap {
    display: grid;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    gap: 0;
    padding: 0;
  }

  #photoViewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__image-meta,
  #photoViewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__dialog > .photo-viewer__title,
  #photoViewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__dialog > .photo-viewer__caption {
    display: none !important;
  }

  #photoViewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__image-wrap img {
    grid-area: 1 / 1;
    align-self: stretch;
    justify-self: stretch;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    object-fit: contain;
    object-position: center bottom;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #photoViewer.is-fullscreen-viewer:not(.is-presentation) .photo-viewer__actions {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: max(0.65rem, calc(env(safe-area-inset-bottom) + 0.65rem));
    z-index: 6;
    transform: translateX(-50%);
  }
}

/* viewer-zoom-focus: while zoomed, keep only the zoom level visible. */
#photoViewer.is-photo-zoomed:not(.is-presentation) .photo-viewer__image-meta {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#photoViewer.is-photo-zoomed:not(.is-presentation) .photo-viewer__dialog > .photo-viewer__title,
#photoViewer.is-photo-zoomed:not(.is-presentation) .photo-viewer__dialog > .photo-viewer__caption {
  display: none !important;
}

#photoViewer.is-photo-zoomed:not(.is-presentation) .photo-viewer__actions {
  grid-template-columns: repeat(1, var(--viewer-button-size));
  justify-content: center;
  gap: clamp(0.55rem, 2.8vw, 0.9rem);
  width: max-content;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

#photoViewer.is-photo-zoomed.viewer-controls-visible:not(.is-presentation) .photo-viewer__actions {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

#photoViewer.is-photo-zoomed:not(.is-presentation) #photoViewerZoomButton {
  display: grid;
}

#photoViewer.is-photo-zoomed:not(.is-presentation) #photoViewerSlideshowButton,
#photoViewer.is-photo-zoomed:not(.is-presentation) #photoLikeButton,
#photoViewer.is-photo-zoomed:not(.is-presentation) #prevPhoto,
#photoViewer.is-photo-zoomed:not(.is-presentation) #nextPhoto,
#photoViewer.is-photo-zoomed:not(.is-presentation) #closePhotoViewer {
  display: none;
}

/* viewer-landscape-heart-only: at 1x a rotated phone keeps only the heart. */
@media (orientation: landscape) and (pointer: coarse) and (max-height: 37.5rem) {
  #photoViewer.is-open.is-fullscreen-viewer:not(.is-presentation):not(.is-photo-zoomed):not(.is-swipe-focus):not(.is-swipe-gesture) .photo-viewer__actions {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: none;
  }

  #photoViewer.is-open.is-fullscreen-viewer:not(.is-presentation):not(.is-photo-zoomed):not(.is-swipe-focus):not(.is-swipe-gesture) .photo-viewer__actions > button {
    display: none;
  }

  #photoViewer.is-open.is-fullscreen-viewer:not(.is-presentation):not(.is-photo-zoomed):not(.is-swipe-focus):not(.is-swipe-gesture):not(.viewer-hearts-hidden) #photoLikeButton {
    position: fixed;
    right: max(0.8rem, calc(env(safe-area-inset-right) + 0.8rem));
    bottom: max(0.8rem, calc(env(safe-area-inset-bottom) + 0.8rem));
    left: auto;
    z-index: 7;
    display: grid;
    opacity: 0.82;
    pointer-events: auto;
  }
}

/* viewer-swipe-focus: navigation gestures leave only the photo until the next tap. */
#photoViewer.is-swipe-gesture:not(.is-presentation) .photo-viewer__image-meta,
#photoViewer.is-swipe-gesture:not(.is-presentation) .photo-viewer__dialog > .photo-viewer__title,
#photoViewer.is-swipe-gesture:not(.is-presentation) .photo-viewer__dialog > .photo-viewer__caption {
  visibility: hidden;
  opacity: 0;
}

#photoViewer.is-swipe-gesture:not(.is-presentation) .photo-viewer__actions,
#photoViewer.is-swipe-focus:not(.is-presentation) .photo-viewer__image-meta,
#photoViewer.is-swipe-focus:not(.is-presentation) .photo-viewer__dialog > .photo-viewer__title,
#photoViewer.is-swipe-focus:not(.is-presentation) .photo-viewer__dialog > .photo-viewer__caption {
  opacity: 0;
}

#photoViewer.is-swipe-focus:not(.is-presentation) .photo-viewer__image-meta,
#photoViewer.is-swipe-focus:not(.is-presentation) .photo-viewer__dialog > .photo-viewer__title,
#photoViewer.is-swipe-focus:not(.is-presentation) .photo-viewer__dialog > .photo-viewer__caption {
  display: none !important;
}

#photoViewer.is-swipe-gesture:not(.is-presentation) .photo-like-float,
#photoViewer.is-swipe-focus:not(.is-presentation) .photo-like-float {
  display: none !important;
}

#photoViewer.is-swipe-gesture:not(.is-presentation) .photo-viewer__actions,
#photoViewer.is-swipe-focus:not(.is-presentation) .photo-viewer__actions {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* portrait-swipe-tools: use the complete screen and overlay only the optional heart. */
@media (orientation: portrait) and (max-width: 37.5rem) and (hover: none) and (pointer: coarse) {
  #photoViewer.is-fullscreen-viewer.is-swipe-focus:not(.is-presentation) .photo-viewer__image-wrap {
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    padding: 0;
  }

  #photoViewer.is-fullscreen-viewer.is-swipe-focus:not(.is-presentation) .photo-viewer__image-wrap img {
    grid-row: 1;
    align-self: stretch;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    object-position: center bottom;
  }

  #photoViewer.is-swipe-focus.swipe-tools-visible:not(.is-swipe-gesture):not(.is-presentation) .photo-viewer__actions {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }

  #photoViewer.is-swipe-focus.swipe-tools-visible:not(.is-swipe-gesture):not(.is-presentation) .photo-viewer__actions > button {
    display: none;
  }

  #photoViewer.is-swipe-focus.swipe-heart-visible:not(.is-swipe-gesture):not(.is-presentation):not(.viewer-hearts-hidden) #photoLikeButton {
    position: fixed;
    right: max(var(--swipe-heart-right, 0.8rem), calc(env(safe-area-inset-right) + 0.45rem));
    bottom: max(var(--swipe-heart-bottom, 0.8rem), calc(env(safe-area-inset-bottom) + 0.45rem));
    left: auto;
    z-index: 7;
    display: grid;
    opacity: 0.82;
    pointer-events: auto;
  }

}

/* landscape-swipe-tools: keep the optional heart at one fixed screen position. */
@media (orientation: landscape) and (pointer: coarse) and (max-height: 37.5rem) {
  #photoViewer.is-swipe-focus.swipe-tools-visible:not(.is-swipe-gesture):not(.is-presentation) .photo-viewer__actions {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }

  #photoViewer.is-swipe-focus.swipe-tools-visible:not(.is-swipe-gesture):not(.is-presentation) .photo-viewer__actions > button {
    display: none;
  }

  #photoViewer.is-swipe-focus.swipe-heart-visible:not(.is-swipe-gesture):not(.is-presentation):not(.viewer-hearts-hidden) #photoLikeButton {
    position: fixed;
    right: max(0.8rem, calc(env(safe-area-inset-right) + 0.8rem));
    bottom: max(0.8rem, calc(env(safe-area-inset-bottom) + 0.8rem));
    left: auto;
    z-index: 7;
    display: grid;
    opacity: 0.82;
    pointer-events: auto;
  }

}

/* compact-landscape-viewer-hearts: keep reactions calmer on a rotated phone. */
@media (orientation: landscape) and (pointer: coarse) and (max-height: 37.5rem) {
  #photoViewer.is-open:not(.is-presentation) .photo-viewer__like {
    font-size: 1.65rem;
  }

  #photoViewer.is-open:not(.is-presentation) .photo-viewer__like.has-likes .photo-viewer__like-heart {
    font-size: 2.15rem;
  }

  #photoViewer.is-open:not(.is-presentation) .photo-like-float {
    font-size: clamp(2.35rem, 7.4vw, 4.45rem);
  }
}


/* FotoPlay settings and adaptive captions. */
#photoViewer .photo-viewer__extra-options-toggle,
#photoViewer .photo-viewer__extra-options {
  display: none;
}

#photoViewer.is-presentation .photo-viewer__extra-options-toggle {
  position: fixed;
  top: max(1rem, calc(env(safe-area-inset-top) + 1rem));
  right: max(1rem, calc(env(safe-area-inset-right) + 1rem));
  bottom: auto;
  z-index: 8;
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  min-height: 3.35rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 222, 143, 0.68);
  border-radius: 50%;
  background: rgba(7, 6, 8, 0.72);
  color: rgba(255, 232, 166, 0.96);
  box-shadow: 0 0.65rem 1.35rem rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 232, 166, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, background 0.18s ease, color 0.18s ease;
  backdrop-filter: blur(0.48rem);
}

#photoViewer.is-presentation .photo-viewer__extra-options-toggle svg {
  width: 1.48rem;
  height: 1.48rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__extra-options-toggle,
#photoViewer.is-presentation.is-photo-play-options-open .photo-viewer__extra-options-toggle {
  opacity: 0.94;
  pointer-events: auto;
}

@media (orientation: landscape) {
  #photoViewer.is-presentation .photo-viewer__extra-options-toggle {
    top: auto;
    right: max(1rem, calc(env(safe-area-inset-right) + 1rem));
    bottom: max(5.55rem, calc(env(safe-area-inset-bottom) + 5.55rem));
  }
}

@media (orientation: portrait) and (max-width: 37.5rem) and (hover: none) and (pointer: coarse) {
  #photoViewer.is-presentation .photo-viewer__extra-options-toggle {
    top: max(var(--presentation-extra-options-top, 1rem), calc(env(safe-area-inset-top) + 1rem));
    right: max(0.5rem, calc(env(safe-area-inset-right) + 0.5rem));
    bottom: auto;
  }

  #photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__extra-options-toggle {
    top: max(calc(var(--presentation-photo-frame-top, 0px) + 0.75rem), calc(env(safe-area-inset-top) + 0.75rem));
    right: max(calc(var(--presentation-photo-frame-right, 0px) + 0.75rem), calc(env(safe-area-inset-right) + 0.75rem));
  }
}

@media (orientation: landscape) and (pointer: coarse) and (max-height: 37.5rem) {
  #photoViewer.is-presentation .photo-viewer__extra-options-toggle,
  #photoViewer.is-presentation .photo-viewer__presentation-frame-toggle,
  #photoViewer.is-presentation .photo-viewer__presentation-blur {
    right: max(3rem, calc(env(safe-area-inset-right) + 3rem));
  }

  #photoViewer.is-presentation .photo-viewer__extra-options-toggle {
    top: max(2.2rem, calc(env(safe-area-inset-top) + 2.2rem));
    bottom: auto;
  }

  #photoViewer.is-presentation .photo-viewer__presentation-frame-toggle {
    top: auto;
    bottom: max(4.85rem, calc(env(safe-area-inset-bottom) + 4.85rem));
  }

  #photoViewer.is-presentation .photo-viewer__presentation-blur {
    top: auto;
    bottom: max(0.75rem, calc(env(safe-area-inset-bottom) + 0.75rem));
  }
}

#photoViewer.is-presentation .photo-viewer__extra-options[hidden] {
  display: none;
}

#photoViewer.is-presentation .photo-viewer__extra-options {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 12;
  display: block;
  width: min(31rem, calc(100vw - 2rem));
  max-height: min(42rem, calc(100dvh - 2rem));
  overflow: auto;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.35rem;
  background: rgba(5, 5, 6, 0.96);
  color: #fff;
  box-shadow: 0 1.6rem 4.5rem rgba(0, 0, 0, 0.58);
  transform: translate(-50%, -50%);
  backdrop-filter: none;
}

#photoViewer.is-presentation.is-photo-play-options-open .photo-viewer__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(0.18rem);
}

#photoViewer.is-presentation .photo-viewer__extra-options[data-theme="light"] {
  border-color: rgba(0, 0, 0, 0.88);
  background: rgba(255, 255, 255, 0.97);
  color: #090909;
}

.photo-viewer__extra-options-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.75rem 1.25rem;
  border-bottom: 1px solid currentColor;
}

.photo-viewer__extra-options-header h2 {
  margin: 0;
  color: inherit;
  font: 800 clamp(1.25rem, 3.2vw, 1.62rem)/1.2 system-ui, sans-serif;
}

.photo-viewer__extra-options-header #photoViewerProfileLabel {
  display: block;
  margin-top: 0.15rem;
  color: inherit;
  font: 700 0.72rem/1.2 system-ui, sans-serif;
  letter-spacing: 0.04em;
  opacity: 0.72;
}

.photo-viewer__extra-options-header button,
.photo-viewer__extra-option-row button {
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.photo-viewer__extra-options-header button {
  box-sizing: border-box;
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  min-height: 3rem;
  padding: 0;
  font: 500 2rem/1 system-ui, sans-serif;
}

.photo-viewer__extra-options-grid {
  display: grid;
  gap: 0.72rem;
  padding: 1rem;
}

.photo-viewer__extra-option-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 0.62rem 0.72rem 0.62rem 1rem;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 1rem;
  font: 700 clamp(1.05rem, 2.8vw, 1.22rem)/1.3 system-ui, sans-serif;
}

.photo-viewer__extra-option-row button {
  box-sizing: border-box;
  width: 3.6rem;
  min-width: 3.6rem;
  height: 3.6rem;
  min-height: 3.6rem;
  padding: 0.3rem;
  font: 800 0.9rem/1.05 system-ui, sans-serif;
  text-align: center;
}

#photoViewerOrderButton {
  width: 5.8rem;
  min-width: 5.8rem;
  border-radius: 1.8rem;
  font-size: 0.76rem;
}

#photoViewerOrderButton svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.photo-viewer__extra-option-row button[aria-pressed="true"] {
  border-color: #090909;
  background: #fff;
  color: #090909;
  box-shadow: inset 0 0 0 0.16rem rgba(9, 9, 9, 0.18);
}

.photo-viewer__extra-option-row button[aria-pressed="true"] .photo-viewer__option-check {
  display: block;
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 0.78;
}

.photo-viewer__extra-option-row button[aria-pressed="true"] .photo-viewer__option-state {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

#photoViewer.is-presentation.is-presentation-grey-background,
#photoViewer.is-presentation.is-presentation-grey-background .photo-viewer__backdrop,
#photoViewer.is-presentation.is-presentation-grey-background .photo-viewer__dialog,
#photoViewer.is-presentation.is-presentation-grey-background .photo-viewer__image-wrap {
  background: #d8d8d8;
}

#photoViewer.is-presentation.is-presentation-meta-visible .photo-viewer__image-meta {
  position: absolute;
  z-index: 4;
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 0.55rem 0.8rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

#photoViewer.is-presentation.is-presentation-meta-visible .photo-viewer__image-meta[data-placement^="outside"] {
  background: rgba(0, 0, 0, 0.72);
}

#photoViewer.is-presentation.is-presentation-meta-visible .photo-viewer__image-meta {
  overflow-wrap: anywhere;
  white-space: normal;
}

#photoViewer.is-presentation.is-presentation-meta-visible .photo-viewer__image-meta[data-placement="inside-bottom"] {
  overflow-y: auto;
  pointer-events: auto;
}

#photoViewer.is-presentation.is-presentation-white-background.is-presentation-meta-visible .photo-viewer__image-meta[data-placement^="outside"],
#photoViewer.is-presentation.is-presentation-grey-background.is-presentation-meta-visible .photo-viewer__image-meta[data-placement^="outside"] {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

#photoViewer.is-presentation.is-presentation-meta-visible .photo-viewer__image-meta .photo-viewer__title {
  display: block !important;
  margin: 0;
  color: inherit;
  font-size: clamp(1rem, 2.1vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  visibility: visible;
  opacity: 1;
}

#photoViewer.is-presentation.is-presentation-meta-visible .photo-viewer__image-meta .photo-viewer__caption:not([hidden]) {
  display: block !important;
  margin: 0.2rem 0 0;
  color: inherit;
  font-size: clamp(0.82rem, 1.55vw, 1.45rem);
  line-height: 1.25;
  visibility: visible;
  opacity: 1;
}

@media (max-width: 40rem) {
  #photoViewer.is-presentation.is-presentation-meta-visible .photo-viewer__image-meta .photo-viewer__title { font-size: 1.05rem; }
  #photoViewer.is-presentation.is-presentation-meta-visible .photo-viewer__image-meta .photo-viewer__caption:not([hidden]) { font-size: 0.88rem; }
}

/* Keep FotoPlay icons readable while making only their circular controls slightly calmer. */
#photoViewer.is-presentation .photo-viewer__close,
#photoViewer.is-presentation .photo-viewer__play-toggle,
#photoViewer.is-presentation .photo-viewer__presentation-blur,
#photoViewer.is-presentation .photo-viewer__presentation-frame-toggle,
#photoViewer.is-presentation .photo-viewer__extra-options-toggle {
  width: 3.1rem;
  height: 3.1rem;
  min-height: 3.1rem;
}

#photoViewer.is-presentation .photo-viewer__close {
  font-size: 1.75rem;
}

/* 2026-10-04 FotoPlay themes, shared controls and decorative backgrounds. */
#photoViewer.is-presentation {
  --photo-play-control-size: 2.85rem;
  --photo-play-control-gap: 0.75rem;
  --photo-play-frame-control-inset: 0.9rem;
  --photo-play-control-edge: max(0.75rem, env(safe-area-inset-left));
  --photo-play-control-bottom: max(1rem, calc(env(safe-area-inset-bottom) + 0.75rem));
  --photo-play-control-bg: rgba(5, 5, 6, 0.94);
  --photo-play-control-fg: #fff;
  --photo-play-control-ring: rgba(255, 255, 255, 0.96);
  --photo-play-control-shadow: 0 0.68rem 1.4rem rgba(0, 0, 0, 0.46);
}

#photoViewer.is-presentation[data-photo-theme="painting"] {
  --photo-play-control-bg: rgba(7, 7, 8, 0.94);
  --photo-play-control-fg: #f3c957;
  --photo-play-control-ring: #e6bb43;
}

#photoViewer.is-presentation[data-photo-theme="classic"] {
  --photo-play-control-bg: rgba(255, 246, 218, 0.97);
  --photo-play-control-fg: #55270f;
  --photo-play-control-ring: #b77921;
  --photo-play-control-shadow: 0 0.68rem 1.4rem rgba(45, 20, 7, 0.42);
}

#photoViewer.is-presentation[data-photo-theme="white"] {
  --photo-play-control-bg: rgba(255, 255, 255, 0.97);
  --photo-play-control-fg: #050505;
  --photo-play-control-ring: #050505;
}

#photoViewer.is-presentation .photo-viewer__close,
#photoViewer.is-presentation .photo-viewer__play-toggle,
#photoViewer.is-presentation .photo-viewer__slide-nav,
#photoViewer.is-presentation .photo-viewer__presentation-theme-toggle,
#photoViewer.is-presentation .photo-viewer__presentation-frame-toggle,
#photoViewer.is-presentation .photo-viewer__presentation-text-toggle,
#photoViewer.is-presentation .photo-viewer__presentation-background-toggle,
#photoViewer.is-presentation .photo-viewer__actions #photoViewerZoomButton,
#photoViewer.is-presentation .photo-viewer__extra-options-toggle {
  position: fixed;
  z-index: 8;
  display: grid;
  box-sizing: border-box;
  width: var(--photo-play-control-size);
  min-width: var(--photo-play-control-size);
  height: var(--photo-play-control-size);
  min-height: var(--photo-play-control-size);
  padding: 0;
  place-items: center;
  border: 2px solid var(--photo-play-control-ring);
  border-radius: 50%;
  background: var(--photo-play-control-bg);
  color: var(--photo-play-control-fg);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--photo-play-control-bg) 94%, transparent), var(--photo-play-control-shadow);
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 180ms ease, transform 160ms ease, background 160ms ease, color 160ms ease;
  backdrop-filter: blur(0.32rem);
}

#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__close,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__play-toggle,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__slide-nav,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-theme-toggle,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-frame-toggle,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-text-toggle,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-background-toggle,
#photoViewer.is-presentation.is-photo-zoomed.presentation-controls-visible .photo-viewer__actions #photoViewerZoomButton,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__extra-options-toggle,
#photoViewer.is-presentation.is-photo-play-options-open .photo-viewer__extra-options-toggle {
  opacity: 0.96;
  visibility: visible;
  pointer-events: auto;
}

#photoViewer.is-presentation.is-photo-play-options-open .photo-viewer__close,
#photoViewer.is-presentation.is-photo-play-options-open .photo-viewer__play-toggle,
#photoViewer.is-presentation.is-photo-play-options-open .photo-viewer__slide-nav,
#photoViewer.is-presentation.is-photo-play-options-open .photo-viewer__presentation-theme-toggle,
#photoViewer.is-presentation.is-photo-play-options-open .photo-viewer__presentation-frame-toggle,
#photoViewer.is-presentation.is-photo-play-options-open .photo-viewer__presentation-text-toggle,
#photoViewer.is-presentation.is-photo-play-options-open .photo-viewer__presentation-background-toggle,
#photoViewer.is-presentation.is-photo-play-options-open .photo-viewer__actions #photoViewerZoomButton,
#photoViewer.is-presentation.is-photo-play-options-open .photo-viewer__extra-options-toggle {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__close:hover,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__close:focus-visible,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__play-toggle:hover,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__play-toggle:focus-visible,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__slide-nav:hover,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__slide-nav:focus-visible,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-theme-toggle:hover,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-frame-toggle:hover,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-text-toggle:hover,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-background-toggle:hover,
#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__extra-options-toggle:hover {
  outline: none;
  transform: scale(1.055);
}

#photoViewer.is-presentation .photo-viewer__extra-options-toggle {
  top: max(1rem, calc(env(safe-area-inset-top) + 0.75rem));
  right: auto;
  bottom: auto;
  left: max(1rem, calc(env(safe-area-inset-left) + 0.75rem));
}

#photoViewer.is-presentation .photo-viewer__presentation-text-toggle {
  top: max(1rem, calc(env(safe-area-inset-top) + 0.75rem));
  right: auto;
  bottom: auto;
  left: calc(max(1rem, calc(env(safe-area-inset-left) + 0.75rem)) + var(--photo-play-control-size) + var(--photo-play-control-gap));
}

#photoViewer.is-presentation .photo-viewer__close {
  top: max(1rem, calc(env(safe-area-inset-top) + 0.75rem));
  right: max(1rem, calc(env(safe-area-inset-right) + 0.75rem));
  bottom: auto;
  left: auto;
  font-size: 1.62rem;
}

#photoViewer.is-presentation .photo-viewer__presentation-theme-toggle,
#photoViewer.is-presentation .photo-viewer__presentation-frame-toggle,
#photoViewer.is-presentation .photo-viewer__presentation-background-toggle,
#photoViewer.is-presentation .photo-viewer__actions #photoViewerZoomButton,
#photoViewer.is-presentation .photo-viewer__slide-nav,
#photoViewer.is-presentation .photo-viewer__play-toggle {
  top: auto;
  bottom: var(--photo-play-control-bottom);
}

#photoViewer.is-presentation .photo-viewer__presentation-background-toggle { left: var(--photo-play-control-edge); right: auto; }
#photoViewer.is-presentation .photo-viewer__presentation-frame-toggle { left: calc(var(--photo-play-control-edge) + var(--photo-play-control-size) + var(--photo-play-control-gap)); right: auto; }
#photoViewer.is-presentation .photo-viewer__presentation-theme-toggle { left: calc(var(--photo-play-control-edge) + (2 * (var(--photo-play-control-size) + var(--photo-play-control-gap)))); right: auto; }
#photoViewer.is-presentation .photo-viewer__actions #photoViewerZoomButton {
  left: calc(50% - 1.425rem);
  right: auto;
  transform: none !important;
  transition: opacity 180ms ease, background 160ms ease, color 160ms ease;
  font: 800 0.82rem/1 system-ui, sans-serif;
}
#photoViewer.is-presentation .photo-viewer__slide-nav--next { right: var(--photo-play-control-edge); left: auto; }
#photoViewer.is-presentation .photo-viewer__play-toggle { right: calc(var(--photo-play-control-edge) + var(--photo-play-control-size) + var(--photo-play-control-gap)); left: auto; }
#photoViewer.is-presentation .photo-viewer__slide-nav--prev { right: calc(var(--photo-play-control-edge) + (2 * (var(--photo-play-control-size) + var(--photo-play-control-gap)))); left: auto; }

#photoViewer.is-presentation.presentation-navigation-focus.presentation-controls-visible .photo-viewer__close,
#photoViewer.is-presentation.presentation-navigation-focus.presentation-controls-visible .photo-viewer__extra-options-toggle,
#photoViewer.is-presentation.presentation-navigation-focus.presentation-controls-visible .photo-viewer__presentation-theme-toggle,
#photoViewer.is-presentation.presentation-navigation-focus.presentation-controls-visible .photo-viewer__presentation-frame-toggle,
#photoViewer.is-presentation.presentation-navigation-focus.presentation-controls-visible .photo-viewer__presentation-text-toggle,
#photoViewer.is-presentation.presentation-navigation-focus.presentation-controls-visible .photo-viewer__presentation-background-toggle,
#photoViewer.is-presentation.presentation-navigation-focus.presentation-controls-visible .photo-viewer__actions #photoViewerZoomButton {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

#photoViewer.is-presentation.is-photo-zoomed .photo-viewer__image-meta {
  display: none !important;
}

#photoViewer.is-presentation.is-photo-zoomed .photo-viewer__actions #photoViewerZoomButton {
  top: calc(var(--presentation-photo-frame-bottom, 100dvh) - var(--photo-play-control-size) - 0.9rem) !important;
  right: auto !important;
  bottom: auto !important;
  left: var(--presentation-photo-frame-center, 50%) !important;
  transform: translateX(-50%) !important;
}

#photoViewer.is-presentation .photo-viewer__slide-nav {
  line-height: 1;
}

#photoViewer.is-presentation .photo-viewer__slide-nav:not([hidden]) {
  display: grid !important;
}

#photoViewer.is-presentation .photo-viewer__slide-nav svg {
  display: block;
  width: 1.78rem;
  height: 1.78rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#photoViewer.is-presentation .photo-viewer__presentation-theme-toggle svg,
#photoViewer.is-presentation .photo-viewer__presentation-frame-toggle svg,
#photoViewer.is-presentation .photo-viewer__presentation-text-toggle svg,
#photoViewer.is-presentation .photo-viewer__presentation-background-toggle svg,
#photoViewer.is-presentation .photo-viewer__extra-options-toggle svg {
  width: 1.38rem;
  height: 1.38rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#photoViewer.is-presentation .photo-viewer__theme-palette-outline,
#photoViewer.is-presentation .photo-viewer__theme-palette-hole {
  fill: none;
  stroke: #f2c94c;
}

#photoViewer.is-presentation .photo-viewer__theme-palette-dot {
  stroke: none;
}

#photoViewer.is-presentation .photo-viewer__theme-palette-dot--blue { fill: #69b9ff; }
#photoViewer.is-presentation .photo-viewer__theme-palette-dot--pink { fill: #f56b7a; }
#photoViewer.is-presentation .photo-viewer__theme-palette-dot--gold { fill: #f4cf57; }

#photoViewer.is-presentation .photo-viewer__presentation-background-toggle .photo-viewer__background-off-line {
  opacity: 1;
  transition: opacity 160ms ease;
}

#photoViewer.is-presentation .photo-viewer__presentation-background-toggle[aria-pressed="true"] .photo-viewer__background-off-line {
  opacity: 0;
}

#photoViewer.is-presentation.presentation-controls-visible .photo-viewer__presentation-text-toggle[aria-pressed="false"] {
  opacity: 0.65;
}

#photoViewer.is-presentation .photo-viewer__presentation-status {
  position: fixed;
  top: calc(var(--presentation-photo-frame-top, 4.8rem) + 1.4rem);
  left: 50%;
  z-index: 7;
  max-width: min(80vw, 22rem);
  padding: 0.48rem 1rem;
  border: 1px solid var(--photo-play-control-ring);
  border-radius: 999px;
  background: var(--photo-play-control-bg);
  color: var(--photo-play-control-fg);
  box-shadow: 0 0.45rem 1.1rem rgba(0, 0, 0, 0.36);
  font: 750 clamp(0.82rem, 2.4vw, 1rem)/1.15 system-ui, sans-serif;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -0.35rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

#photoViewer.is-presentation .photo-viewer__presentation-status.is-visible {
  opacity: 0.96;
  transform: translate(-50%, 0);
}

#photoViewer.is-presentation.is-presentation-caption-only .photo-viewer__image-meta .photo-viewer__title {
  display: none !important;
}

#photoViewer.is-presentation.is-presentation-caption-only .photo-viewer__image-meta .photo-viewer__caption:not([hidden]) {
  margin-top: 0;
}

#photoViewer.is-presentation.is-presentation-painting-frame .photo-viewer__presentation-frame {
  border: clamp(0.58rem, 1.25vw, 1.05rem) ridge #c99a3c;
  background: transparent;
  box-shadow:
    inset 0 0 0 clamp(0.08rem, 0.18vw, 0.15rem) #ffec9e,
    inset 0 0 0 clamp(0.22rem, 0.48vw, 0.38rem) rgba(83, 48, 10, 0.72),
    0 0 0 clamp(0.12rem, 0.28vw, 0.22rem) #5a3810,
    0 0 0 clamp(0.29rem, 0.62vw, 0.48rem) #d6ae58,
    0 0.78rem 2.3rem rgba(0, 0, 0, 0.58);
}

#photoViewer.is-presentation[data-photo-theme="classic"].is-presentation-blur .photo-viewer__blur-backdrop {
  filter: blur(clamp(1.15rem, 3vw, 2rem)) sepia(0.48) saturate(0.86) brightness(0.62);
}

#photoViewer.is-presentation[data-photo-background]:not([data-photo-background="standard"]) .photo-viewer__blur-backdrop {
  display: none;
}

#photoViewer.is-presentation[data-photo-background]:not([data-photo-background="standard"]),
#photoViewer.is-presentation[data-photo-background]:not([data-photo-background="standard"]) .photo-viewer__dialog,
#photoViewer.is-presentation[data-photo-background]:not([data-photo-background="standard"]) .photo-viewer__image-wrap {
  background: transparent;
}

#photoViewer.is-presentation[data-photo-background]:not([data-photo-background="standard"]) .photo-viewer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100dvh;
  background-color: transparent;
  background-image: var(--photo-play-background-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

html:has(body.presentation-open),
body.presentation-open,
body.presentation-open #photoViewer.is-presentation,
body.presentation-open #photoViewer.is-presentation .photo-viewer__backdrop,
body.presentation-open #photoViewer.is-presentation .photo-viewer__dialog,
body.presentation-open #photoViewer.is-presentation .photo-viewer__image-wrap {
  background-color: var(--photo-play-browser-color, #000);
}

@media (max-width: 64rem) and (hover: none) {
  html {
    --photo-play-safe-top: env(safe-area-inset-top, 0px);
    --photo-play-safe-right: env(safe-area-inset-right, 0px);
    --photo-play-safe-bottom: env(safe-area-inset-bottom, 0px);
    --photo-play-safe-left: env(safe-area-inset-left, 0px);
    --photo-play-canvas-width: max(100vw, calc(var(--viewer-visible-width, 100vw) + env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px)));
    --photo-play-canvas-height: max(100lvh, calc(var(--viewer-visible-height, 100dvh) + env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px)));
    --photo-play-canvas-image-width: max(var(--photo-play-canvas-width), calc(var(--photo-play-canvas-height) * var(--photo-play-image-ratio, 1)));
    --photo-play-canvas-image-height: max(var(--photo-play-canvas-height), calc(var(--photo-play-canvas-width) / var(--photo-play-image-ratio, 1)));
  }

  /* Safari may clip fixed paint at its browser bars. Keep an identical,
     document-positioned canvas underneath the fixed viewer, including on rotation. */
  html[data-photo-play-background][data-photo-play-transparency="transparent"]:has(body.presentation-open) {
    background-image: var(--photo-play-background-image);
    background-position:
      calc(var(--photo-play-document-left, 0px) + (var(--photo-play-canvas-width) - var(--photo-play-canvas-image-width)) / 2)
      calc(var(--photo-play-document-top, 0px) + (var(--photo-play-canvas-height) - var(--photo-play-canvas-image-height)) / 2);
    background-size: var(--photo-play-canvas-image-width) var(--photo-play-canvas-image-height);
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  html[data-photo-play-background] body.presentation-open {
    background: transparent;
  }

  html[data-photo-play-background][data-photo-play-transparency="transparent"]:has(body.presentation-open)::before {
    content: "";
    position: absolute;
    left: var(--photo-play-document-left, 0px);
    top: var(--photo-play-document-top, 0px);
    z-index: 49;
    width: var(--photo-play-canvas-width, 100vw);
    height: var(--photo-play-canvas-height, 100lvh);
    background-image: var(--photo-play-background-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
  }

  #photoViewer.is-presentation[data-photo-background]:not([data-photo-background="standard"]),
  #photoViewer.is-presentation[data-photo-background]:not([data-photo-background="standard"]) .photo-viewer__dialog,
  #photoViewer.is-presentation[data-photo-background]:not([data-photo-background="standard"]) .photo-viewer__image-wrap {
    background: transparent;
  }

  #photoViewer.is-presentation[data-photo-background]:not([data-photo-background="standard"]) .photo-viewer__backdrop {
    position: fixed;
    inset: auto;
    left: calc(-1 * env(safe-area-inset-left, 0px));
    top: calc(-1 * env(safe-area-inset-top, 0px));
    z-index: 0;
    width: 100vw;
    width: var(--photo-play-canvas-width, 100vw);
    height: 100dvh;
    height: var(--photo-play-canvas-height, 100lvh);
    background-color: transparent;
    background-image: var(--photo-play-background-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
  }
}

#photoViewer.is-presentation .photo-viewer__extra-options[data-theme="painting"] {
  border-color: #e6bb43;
  background: rgba(4, 4, 5, 0.97);
  color: #f3c957;
}

#photoViewer.is-presentation .photo-viewer__extra-options[data-theme="classic"] {
  border-color: #d6a64a;
  background: rgba(66, 30, 13, 0.97);
  color: #fff3d4;
}

#photoViewer.is-presentation .photo-viewer__extra-options[data-theme="black"] {
  border-color: #fff;
  background: rgba(0, 0, 0, 0.98);
  color: #fff;
}

#photoViewer.is-presentation .photo-viewer__extra-options[data-theme="white"] {
  border-color: #050505;
  background: rgba(255, 255, 255, 0.98);
  color: #050505;
}

#photoViewer.is-presentation .photo-viewer__extra-option-row button {
  width: 8.5rem;
  min-width: 8.5rem;
  height: 3.25rem;
  min-height: 3.25rem;
  padding: 0.35rem 0.6rem;
  border-radius: 1.7rem;
  font-size: 0.82rem;
  line-height: 1.08;
}

#photoViewer.is-presentation .photo-viewer__extra-option-row select {
  box-sizing: border-box;
  width: 8.5rem;
  min-width: 8.5rem;
  height: 3.25rem;
  min-height: 3.25rem;
  padding: 0.35rem 1.65rem 0.35rem 0.65rem;
  border: 2px solid currentColor;
  border-radius: 1.7rem;
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: inherit;
  font: 800 0.82rem/1.08 system-ui, sans-serif;
  text-align: center;
  text-align-last: center;
}

#photoViewer.is-presentation .photo-viewer__extra-option-row--background {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0.55rem;
  padding: 0.72rem;
}

#photoViewer.is-presentation .photo-viewer__extra-option-background-title {
  width: 100%;
  text-align: center;
}

#photoViewer.is-presentation .photo-viewer__extra-option-background-controls {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

#photoViewer.is-presentation #photoViewerBackgroundToggle {
  width: 7.4rem;
  min-width: 7.4rem;
  height: 3.25rem;
  min-height: 3.25rem;
  flex: 0 0 7.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 1.7rem;
  background: transparent;
  color: inherit;
  box-shadow: none;
  font-size: 0.82rem;
  line-height: 1.08;
}

#photoViewer.is-presentation #photoViewerBackgroundToggle[aria-pressed="true"] {
  border-color: currentColor;
  background: color-mix(in srgb, currentColor 16%, transparent);
  color: inherit;
  box-shadow: inset 0 0 0 0.08rem color-mix(in srgb, currentColor 24%, transparent);
}

#photoViewer.is-presentation .photo-viewer__extra-option-row select option {
  background: #111;
  color: #fff;
}

#photoViewer.is-presentation .photo-viewer__extra-options:is([data-theme="classic"], [data-theme="white"]) .photo-viewer__extra-option-row select option {
  background: #fff8e8;
  color: #251005;
}

@media (orientation: landscape) and (pointer: coarse) and (max-height: 37.5rem) {
  #photoViewer.is-presentation {
    --photo-play-landscape-left-edge: max(0.75rem, calc(env(safe-area-inset-left) + 0.25rem));
    --photo-play-landscape-right-edge: max(0.75rem, calc(env(safe-area-inset-right) + 0.25rem));
    --photo-play-landscape-control-gap: 0.9rem;
  }

  #photoViewer.is-presentation .photo-viewer__extra-options-toggle {
    right: auto !important;
    left: var(--photo-play-landscape-left-edge) !important;
  }

  #photoViewer.is-presentation .photo-viewer__presentation-text-toggle {
    top: calc(max(1rem, calc(env(safe-area-inset-top) + 0.75rem)) + var(--photo-play-control-size) + var(--photo-play-landscape-control-gap));
    right: auto !important;
    bottom: auto;
    left: var(--photo-play-landscape-left-edge) !important;
  }

  #photoViewer.is-presentation .photo-viewer__close {
    right: var(--photo-play-landscape-right-edge) !important;
    left: auto !important;
  }

  #photoViewer.is-presentation .photo-viewer__presentation-theme-toggle,
  #photoViewer.is-presentation .photo-viewer__presentation-frame-toggle,
  #photoViewer.is-presentation .photo-viewer__presentation-background-toggle,
  #photoViewer.is-presentation #slideshowPrevButton,
  #photoViewer.is-presentation #slideshowPlayToggle,
  #photoViewer.is-presentation #slideshowNextButton {
    top: auto !important;
  }

  #photoViewer.is-presentation .photo-viewer__presentation-theme-toggle,
  #photoViewer.is-presentation .photo-viewer__presentation-frame-toggle,
  #photoViewer.is-presentation .photo-viewer__presentation-background-toggle {
    right: auto !important;
    left: var(--photo-play-landscape-left-edge) !important;
  }

  #photoViewer.is-presentation .photo-viewer__presentation-theme-toggle {
    bottom: calc(var(--photo-play-control-bottom) + (2 * (var(--photo-play-control-size) + var(--photo-play-landscape-control-gap)))) !important;
  }

  #photoViewer.is-presentation .photo-viewer__presentation-frame-toggle {
    bottom: calc(var(--photo-play-control-bottom) + var(--photo-play-control-size) + var(--photo-play-landscape-control-gap)) !important;
  }

  #photoViewer.is-presentation .photo-viewer__presentation-background-toggle {
    bottom: var(--photo-play-control-bottom) !important;
  }

  #photoViewer.is-presentation #slideshowPrevButton,
  #photoViewer.is-presentation #slideshowPlayToggle,
  #photoViewer.is-presentation #slideshowNextButton {
    right: var(--photo-play-landscape-right-edge) !important;
    left: auto !important;
  }

  #photoViewer.is-presentation #slideshowPrevButton {
    bottom: calc(var(--photo-play-control-bottom) + (2 * (var(--photo-play-control-size) + var(--photo-play-landscape-control-gap)))) !important;
  }

  #photoViewer.is-presentation #slideshowPlayToggle {
    bottom: calc(var(--photo-play-control-bottom) + var(--photo-play-control-size) + var(--photo-play-landscape-control-gap)) !important;
  }

  #photoViewer.is-presentation #slideshowNextButton {
    bottom: var(--photo-play-control-bottom) !important;
  }

  #photoViewer.is-presentation .photo-viewer__extra-options {
    width: min(27rem, calc(100vw - 5rem));
    max-height: calc(100dvh - 1rem);
  }

  #photoViewer.is-presentation .photo-viewer__extra-options-header {
    padding: 0.62rem 0.7rem 0.5rem 1rem;
  }

  #photoViewer.is-presentation .photo-viewer__extra-options-grid {
    gap: 0.42rem;
    padding: 0.55rem;
  }

  #photoViewer.is-presentation .photo-viewer__extra-option-row {
    grid-template-columns: minmax(9rem, 11rem) 8.5rem;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.65rem;
    padding: 0.25rem 0.45rem;
    font-size: 1rem;
  }

  #photoViewer.is-presentation .photo-viewer__extra-option-row--background {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  #photoViewer.is-presentation .photo-viewer__extra-option-background-controls {
    width: auto;
    gap: 0.4rem;
  }

  #photoViewer.is-presentation #photoViewerBackgroundToggle {
    width: 7.4rem;
    min-width: 7.4rem;
  }
}

#photoViewer.is-presentation #photoViewerOrderButton {
  width: 8.5rem;
  min-width: 8.5rem;
  border-radius: 1.7rem;
  font-size: 0.82rem;
}

@media (max-width: 23rem) {
  #photoViewer.is-presentation {
    --photo-play-control-size: 2.75rem;
    --photo-play-control-gap: 0.45rem;
    --photo-play-control-edge: max(0.35rem, env(safe-area-inset-left));
  }
  #photoViewer.is-presentation .photo-viewer__actions #photoViewerZoomButton { left: calc(50% - 1.375rem); }
}

/* Tall phone photos keep every control inside the measured inner photo frame. */
#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__extra-options-toggle {
  top: max(
    calc(var(--presentation-photo-frame-top, 0px) + var(--photo-play-frame-control-inset)),
    calc(env(safe-area-inset-top) + var(--photo-play-frame-control-inset))
  ) !important;
  right: auto !important;
  bottom: auto !important;
  left: max(
    calc(var(--presentation-photo-frame-left, 0px) + var(--photo-play-frame-control-inset)),
    calc(env(safe-area-inset-left) + var(--photo-play-frame-control-inset))
  ) !important;
}

#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__close {
  top: max(
    calc(var(--presentation-photo-frame-top, 0px) + var(--photo-play-frame-control-inset)),
    calc(env(safe-area-inset-top) + var(--photo-play-frame-control-inset))
  ) !important;
  right: max(
    calc(var(--presentation-photo-frame-right, 0px) + var(--photo-play-frame-control-inset)),
    calc(env(safe-area-inset-right) + var(--photo-play-frame-control-inset))
  ) !important;
  bottom: auto !important;
  left: auto !important;
}

#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__presentation-theme-toggle,
#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__presentation-frame-toggle,
#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__presentation-text-toggle,
#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__actions #photoViewerZoomButton,
#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__slide-nav,
#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__play-toggle {
  top: auto !important;
  bottom: max(
    calc(100dvh - var(--presentation-photo-frame-bottom, 100dvh) + var(--photo-play-frame-control-inset)),
    calc(env(safe-area-inset-bottom) + var(--photo-play-frame-control-inset))
  ) !important;
}

#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__presentation-background-toggle {
  top: max(
    calc(var(--presentation-photo-frame-top, 0px) + var(--photo-play-frame-control-inset)),
    calc(env(safe-area-inset-top) + var(--photo-play-frame-control-inset))
  ) !important;
  right: auto !important;
  bottom: auto !important;
  left: calc(var(--presentation-photo-frame-left, 0px) + var(--photo-play-frame-control-inset) + var(--photo-play-control-size) + var(--photo-play-control-gap)) !important;
}

#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__presentation-text-toggle {
  right: auto !important;
  left: calc(var(--presentation-photo-frame-left, 0px) + var(--photo-play-frame-control-inset)) !important;
}
#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__presentation-frame-toggle {
  right: auto !important;
  left: calc(var(--presentation-photo-frame-left, 0px) + var(--photo-play-frame-control-inset) + var(--photo-play-control-size) + var(--photo-play-control-gap)) !important;
}
#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__presentation-theme-toggle {
  right: auto !important;
  left: calc(var(--presentation-photo-frame-left, 0px) + var(--photo-play-frame-control-inset) + (2 * (var(--photo-play-control-size) + var(--photo-play-control-gap)))) !important;
}
#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__actions #photoViewerZoomButton {
  right: auto !important;
  left: calc(var(--presentation-photo-frame-left, 0px) + var(--photo-play-frame-control-inset) + (3 * var(--photo-play-control-size)) + (2 * var(--photo-play-control-gap)) + 0.05rem) !important;
  transform: none !important;
}
#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__slide-nav--next {
  right: max(
    calc(var(--presentation-photo-frame-right, 0px) + var(--photo-play-frame-control-inset)),
    calc(env(safe-area-inset-right) + 1.55rem)
  ) !important;
  left: auto !important;
  transform: translateX(-0.5rem) !important;
}
#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__play-toggle {
  right: max(
    calc(var(--presentation-photo-frame-right, 0px) + var(--photo-play-frame-control-inset) + var(--photo-play-control-size) + var(--photo-play-control-gap)),
    calc(env(safe-area-inset-right) + 1.55rem + var(--photo-play-control-size) + var(--photo-play-control-gap))
  ) !important;
  left: auto !important;
  transform: translateX(-0.5rem) !important;
}
#photoViewer.is-presentation.is-portrait-photo-overlay .photo-viewer__slide-nav--prev {
  right: max(
    calc(var(--presentation-photo-frame-right, 0px) + var(--photo-play-frame-control-inset) + (2 * (var(--photo-play-control-size) + var(--photo-play-control-gap)))),
    calc(env(safe-area-inset-right) + 1.55rem + (2 * (var(--photo-play-control-size) + var(--photo-play-control-gap))))
  ) !important;
  left: auto !important;
  transform: translateX(-0.5rem) !important;
}

/* Desktop keeps the existing vertical control level, but centers previous/play/next below the measured photo frame. */
@media (min-width: 75rem) {
  body[data-layout-profile="desktop"] #photoViewer.is-presentation :is(#slideshowPrevButton, #slideshowPlayToggle, #slideshowNextButton) {
    right: auto !important;
    left: var(--presentation-photo-frame-center, 50%) !important;
  }

  body[data-layout-profile="desktop"] #photoViewer.is-presentation #slideshowPrevButton {
    transform: translateX(calc(-150% - var(--photo-play-control-gap))) !important;
  }

  body[data-layout-profile="desktop"] #photoViewer.is-presentation #slideshowPlayToggle {
    transform: translateX(-50%) !important;
  }

  body[data-layout-profile="desktop"] #photoViewer.is-presentation #slideshowNextButton {
    transform: translateX(calc(50% + var(--photo-play-control-gap))) !important;
  }

  body[data-layout-profile="desktop"] #photoViewer.is-presentation.presentation-controls-visible #slideshowPrevButton:is(:hover, :focus-visible) {
    transform: translateX(calc(-150% - var(--photo-play-control-gap))) scale(1.055) !important;
  }

  body[data-layout-profile="desktop"] #photoViewer.is-presentation.presentation-controls-visible #slideshowPlayToggle:is(:hover, :focus-visible) {
    transform: translateX(-50%) scale(1.055) !important;
  }

  body[data-layout-profile="desktop"] #photoViewer.is-presentation.presentation-controls-visible #slideshowNextButton:is(:hover, :focus-visible) {
    transform: translateX(calc(50% + var(--photo-play-control-gap))) scale(1.055) !important;
  }
}

/* Theme colors always win over the former background/frame color coupling. */
#photoViewer.is-presentation[data-photo-theme] .photo-viewer__close,
#photoViewer.is-presentation[data-photo-theme] .photo-viewer__play-toggle,
#photoViewer.is-presentation[data-photo-theme] .photo-viewer__slide-nav,
#photoViewer.is-presentation[data-photo-theme] .photo-viewer__presentation-theme-toggle,
#photoViewer.is-presentation[data-photo-theme] .photo-viewer__presentation-frame-toggle,
#photoViewer.is-presentation[data-photo-theme] .photo-viewer__presentation-text-toggle,
#photoViewer.is-presentation[data-photo-theme] .photo-viewer__presentation-background-toggle,
#photoViewer.is-presentation[data-photo-theme] .photo-viewer__actions #photoViewerZoomButton,
#photoViewer.is-presentation[data-photo-theme] .photo-viewer__extra-options-toggle {
  border-color: var(--photo-play-control-ring) !important;
  background: var(--photo-play-control-bg) !important;
  color: var(--photo-play-control-fg) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--photo-play-control-bg) 94%, transparent), var(--photo-play-control-shadow) !important;
}

/* Tablet- en desktopprofielen. Alles onder 40rem houdt de bestaande mobiele opmaak. */
.wide-menu,
.playlist-time-switch,
.photo-card__feature-text,
.photo-card__edit {
  display: none;
}

.wide-menu__site-fullscreen {
  display: none !important;
}

.photo-viewer__description {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92em;
}

.photo-viewer__description summary {
  color: var(--gold-bright);
  font-weight: 850;
  cursor: pointer;
}

.photo-viewer__description > span {
  display: block;
  margin-top: 0.42rem;
  line-height: 1.48;
}

#photoViewer.is-presentation .photo-viewer__description {
  display: none;
}

.wide-photo-editor {
  width: min(92vw, 42rem);
  max-height: min(88dvh, 52rem);
  padding: 0;
  border: 1px solid rgba(243, 213, 143, 0.58);
  border-radius: 1rem;
  background: linear-gradient(160deg, #211b20, #0e0c10);
  color: var(--ink);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.72);
}

.wide-photo-editor::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(0.3rem);
}

.wide-photo-editor form {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.wide-photo-editor label {
  display: grid;
  gap: 0.32rem;
  color: var(--gold-bright);
  font-weight: 800;
}

.wide-photo-editor :is(input, textarea, select) {
  width: 100%;
  border: 1px solid rgba(217, 181, 106, 0.28);
  border-radius: 0.55rem;
  background: rgba(0, 0, 0, 0.32);
  color: var(--ink);
  padding: 0.72rem 0.8rem;
}

.wide-photo-editor__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

.wide-photo-editor__actions button {
  min-height: 3rem;
  padding: 0 1.2rem;
  border: 1px solid rgba(217, 181, 106, 0.45);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-weight: 850;
}

.wide-photo-editor__actions button[type="submit"] {
  background: linear-gradient(135deg, #f3d58f, #b88732);
  color: #171109;
}

@media (min-width: 40rem) {
  :root {
    --wide-menu-height: 4.5rem;
    --wide-content: min(100% - 2rem, 92rem);
  }

  body {
    background:
      radial-gradient(circle at 76% 8%, rgba(217, 181, 106, 0.16), transparent 32rem),
      radial-gradient(circle at 12% 32%, rgba(122, 77, 38, 0.12), transparent 30rem),
      linear-gradient(180deg, #08070a, #100d12 52%, #09080b);
  }

  .floating-menu,
  .fixed-quick-buttons,
  .hero .topbar,
  .quick-links {
    display: none !important;
  }

  .wide-menu {
    z-index: 82;
    display: flex;
    min-height: var(--wide-menu-height);
    align-items: center;
    gap: clamp(0.55rem, 1.4vw, 1.1rem);
    padding: 0.45rem max(0.7rem, env(safe-area-inset-left));
    border: 1px solid rgba(217, 181, 106, 0.24);
    background: rgba(9, 8, 11, 0.94);
    box-shadow: 0 0.9rem 2.4rem rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(1rem);
  }

  .wide-menu__brand {
    display: grid;
    flex: 0 0 auto;
    line-height: 1.03;
  }

  .wide-menu__brand > span {
    color: var(--gold-bright);
    font-size: clamp(0.88rem, 1.4vw, 1.15rem);
    font-weight: 950;
    text-transform: uppercase;
  }

  .wide-menu__brand strong {
    color: #fff;
    font-size: clamp(0.76rem, 1.15vw, 1rem);
  }

  .wide-menu__links,
  .wide-menu__actions {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.35rem;
  }

  .wide-menu__links {
    flex: 1 1 auto;
    justify-content: center;
  }

  .wide-menu__actions {
    flex: 0 0 auto;
  }

  .wide-menu :is(.wide-menu__links, .wide-menu__actions) :is(a, button) {
    display: inline-flex;
    min-width: 3.5rem;
    min-height: 3.5rem;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0 0.72rem;
    border: 1px solid rgba(217, 181, 106, 0.26);
    border-radius: 0.72rem;
    background: rgba(255, 255, 255, 0.035);
    color: var(--muted);
    font: 800 clamp(0.68rem, 1.1vw, 0.88rem)/1.1 Inter, system-ui, sans-serif;
    white-space: nowrap;
  }

  .wide-menu :is(.wide-menu__links, .wide-menu__actions) :is(a, button):is(:hover, :focus-visible) {
    border-color: rgba(243, 213, 143, 0.76);
    background: rgba(217, 181, 106, 0.12);
    color: var(--gold-bright);
    outline: none;
  }

  .wide-menu__brand:hover {
    filter: brightness(1.08);
  }

  .wide-menu__brand:focus-visible {
    outline: 2px solid rgba(243, 213, 143, 0.76);
    outline-offset: 0.2rem;
  }

  .wide-menu :is(.nav-pill__photo-icon, .nav-pill__tv-icon, .nav-pill__fullscreen-icon) {
    position: relative;
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
  }

  .app-shell {
    width: var(--wide-content);
    max-width: none;
    overflow: visible;
    border-inline: 1px solid rgba(217, 181, 106, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 30rem);
  }

  .hero {
    display: grid;
    min-height: 42rem;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(2rem, 5vw, 5rem);
    overflow: hidden;
  }

  .hero-decorations,
  .hero-decorations-front {
    opacity: 0.3;
    pointer-events: none;
  }

  .phone-stage {
    position: relative;
    inset: auto;
    z-index: 3;
    display: block;
    width: 100%;
    min-width: 0;
  }

  .phone-stage::before {
    top: 6%;
    width: 92%;
    height: 86%;
    border-radius: 38%;
  }

  .phone-frame {
    display: grid;
    width: 100%;
    aspect-ratio: auto;
    gap: clamp(1rem, 2vw, 1.6rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .phone-speaker {
    display: none;
  }

  .art-frame,
  .turntable {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
    transform: none;
  }

  .art-frame {
    aspect-ratio: 4 / 3;
    border: clamp(0.55rem, 1vw, 0.88rem) ridge #c99a3c;
    background: #0a080a;
    box-shadow:
      inset 0 0 0 0.12rem #ffec9e,
      inset 0 0 0 0.34rem rgba(83, 48, 10, 0.72),
      0 0 0 0.16rem #5a3810,
      0 0 0 0.42rem #d6ae58,
      0 1.4rem 3.3rem rgba(0, 0, 0, 0.64);
  }

  .turntable {
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(217, 181, 106, 0.42);
    border-radius: 0.7rem;
    box-shadow: 0 1.1rem 2.8rem rgba(0, 0, 0, 0.5), inset 0 0 1.8rem rgba(0, 0, 0, 0.48);
  }

  .hero-copy {
    z-index: 4;
    padding-top: 0;
    text-align: left;
  }

  .hero-copy > .eyebrow {
    margin-bottom: 0.22rem;
    color: var(--gold-bright);
    font-size: clamp(1.2rem, 2.6vw, 2.25rem);
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .hero-copy h1 {
    color: #fff;
    font-size: clamp(1.4rem, 2.7vw, 2.5rem);
  }

  .hero-copy p:last-child {
    margin-inline: 0;
    font-size: clamp(0.96rem, 1.4vw, 1.16rem);
  }

  main {
    width: 100%;
  }

  .section {
    padding: clamp(2.4rem, 4vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
    scroll-margin-top: calc(var(--wide-menu-height) + 0.8rem);
  }

  #gallery {
    padding-inline: clamp(1rem, 2.2vw, 2rem);
  }

  .gallery-grid--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: minmax(9rem, auto);
    gap: clamp(0.8rem, 1.5vw, 1.3rem);
  }

  .gallery-grid--cards .photo-card--large {
    border-color: rgba(217, 181, 106, 0.62);
    box-shadow: 0 0 0 1px rgba(255, 229, 155, 0.12), 0 1.2rem 2.5rem rgba(0, 0, 0, 0.34);
  }

  .gallery-grid--cards .photo-card--large.photo-card--landscape,
  .gallery-grid--cards .photo-card--large.photo-card--square,
  .gallery-grid--cards .photo-card--large.photo-card--unknown {
    grid-column: span 2;
  }

  .gallery-grid--cards .photo-card--large.photo-card--portrait {
    grid-row: span 2;
  }

  .gallery-grid--cards .photo-card--large.photo-card--landscape img {
    aspect-ratio: 16 / 9;
  }

  .gallery-grid--cards .photo-card--large.photo-card--portrait img {
    aspect-ratio: 3 / 4;
  }

  .gallery-grid--cards .photo-card--large.photo-card--landscape {
    grid-template-columns: minmax(0, 1.55fr) minmax(10rem, 0.8fr);
    align-items: stretch;
  }

  .gallery-grid--cards .photo-card--large.photo-card--landscape .photo-card__media {
    min-height: 100%;
  }

  .gallery-grid--cards .photo-card--large.photo-card--landscape :is(.photo-open, img) {
    height: 100%;
  }

  .gallery-grid--cards .photo-card--large.photo-card--landscape img {
    object-fit: cover;
  }

  .gallery-grid--cards .photo-card--large .photo-card__feature-text {
    display: block;
    margin: 0.55rem 0 0;
    color: #eee3d1;
    font-size: clamp(0.92rem, 1.25vw, 1.08rem);
    line-height: 1.52;
  }

  .photo-card__edit {
    width: fit-content;
    min-height: 2.4rem;
    margin-top: 0.65rem;
    padding: 0 0.8rem;
    border: 1px solid rgba(217, 181, 106, 0.48);
    border-radius: 0.45rem;
    background: rgba(217, 181, 106, 0.1);
    color: var(--gold-bright);
    font-weight: 850;
  }

  body[data-layout-profile]:not([data-layout-profile="mobile"]) .photo-card__edit {
    display: inline-flex;
    align-items: center;
  }

  .form-card {
    max-width: 54rem;
  }

  .vinyl-panel {
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .panel-text__activities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .playlist-time-switch {
    position: absolute;
    top: 1rem;
    right: 5.5rem;
    z-index: 3;
    display: inline-flex;
    min-height: 2.6rem;
    align-items: center;
    gap: 0.55rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
  }

  .playlist-time-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
  }

  .playlist-time-switch__track {
    position: relative;
    width: 3rem;
    height: 1.65rem;
    border: 1px solid rgba(217, 181, 106, 0.44);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 160ms ease;
  }

  .playlist-time-switch__track span {
    position: absolute;
    top: 0.18rem;
    left: 0.2rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: var(--muted);
    transition: transform 160ms ease, background 160ms ease;
  }

  .playlist-time-switch input:checked + .playlist-time-switch__track {
    background: rgba(217, 181, 106, 0.26);
  }

  .playlist-time-switch input:checked + .playlist-time-switch__track span {
    background: var(--gold-bright);
    transform: translateX(1.35rem);
  }

  .playlist-time-switch input:focus-visible + .playlist-time-switch__track {
    outline: 2px solid #bcecff;
    outline-offset: 0.2rem;
  }

  .song-item {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.8rem 1rem;
    min-height: 5.8rem;
    padding: 0.85rem 1rem;
  }

  .song-request-head {
    display: contents;
  }

  .song-request-copy {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .song-request-title strong {
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  }

  .song-request-copy > .song-artist {
    font-size: 1rem;
  }

  .song-note {
    color: #d8f4ff;
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .song-link-panel {
    grid-column: 3;
    grid-row: 1;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0.55rem;
    min-height: 0;
  }

  .song-action-row,
  .song-music-links {
    grid-template-columns: repeat(2, 2.5rem);
  }

  .song-stat-row {
    grid-column: 2;
    grid-row: 1;
    flex-wrap: nowrap;
  }

  .song-request-divider {
    display: none;
  }

  .song-request-meta {
    min-width: 8rem;
  }

  body.wide-playlist-times-hidden .song-request-time,
  body.wide-playlist-times-hidden .panel-text__requester-time {
    display: none !important;
  }

  .message-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 40rem) and (max-width: 74.99rem) and (orientation: portrait) {
  body {
    padding-bottom: calc(var(--wide-menu-height) + env(safe-area-inset-bottom));
  }

  .wide-menu {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    padding-bottom: max(0.45rem, env(safe-area-inset-bottom));
    overflow-x: auto;
  }

  .wide-menu__brand {
    display: none;
  }

  .wide-menu__links,
  .wide-menu__actions {
    flex: 0 0 auto;
  }

  .wide-menu :is(.wide-menu__links, .wide-menu__actions) :is(a, button) {
    min-width: 4.4rem;
    flex-direction: column;
    gap: 0.18rem;
    padding-inline: 0.55rem;
  }

  .hero {
    grid-template-areas: "identity" "visual";
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    grid-area: identity;
    text-align: center;
  }

  .hero-copy p:last-child {
    margin-inline: auto;
  }

  .phone-stage {
    grid-area: visual;
    width: min(100%, 46rem);
    justify-self: center;
  }

  .phone-frame {
    grid-template-columns: minmax(0, 1fr);
  }

  .art-frame {
    width: min(100%, 34rem);
    justify-self: center;
    aspect-ratio: 3 / 4;
  }

  .turntable {
    width: min(100%, 38rem);
    justify-self: center;
  }

  .gallery-grid--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 40rem) and (max-width: 74.99rem) and (orientation: landscape) {
  body {
    padding-top: var(--wide-menu-height);
  }

  .wide-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }

  .wide-menu__links > a {
    flex-direction: column;
    gap: 0.16rem;
    padding-inline: 0.48rem;
  }

  .hero {
    grid-template-areas: "identity visual";
    grid-template-columns: minmax(13rem, 0.72fr) minmax(0, 1.8fr);
    min-height: calc(100dvh - var(--wide-menu-height));
  }

  .hero-copy {
    grid-area: identity;
  }

  .phone-stage {
    grid-area: visual;
  }

  .phone-frame {
    grid-template-columns: minmax(0, 1.7fr) minmax(13rem, 0.8fr);
    align-items: stretch;
  }

  .art-frame,
  .turntable {
    height: 100%;
  }

  .turntable {
    aspect-ratio: auto;
  }

  .gallery-grid--cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 75rem) {
  body {
    padding-top: var(--wide-menu-height);
  }

  body[data-layout-profile="desktop"] #photoViewer.is-fullscreen-viewer:not(.is-presentation):not(.is-native-fullscreen):not(.is-photo-fullscreen) {
    top: var(--wide-menu-height);
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    z-index: 80;
  }

  body[data-layout-profile="desktop"] #photoViewer.is-fullscreen-viewer:not(.is-presentation):not(.is-native-fullscreen):not(.is-photo-fullscreen) .photo-viewer__dialog {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }

  body[data-layout-profile="desktop"] #photoViewer.is-fullscreen-viewer:not(.is-presentation):not(.is-native-fullscreen):not(.is-photo-fullscreen) .photo-viewer__image-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-height: 100%;
    padding: 0;
    overflow: hidden;
  }

  body[data-layout-profile="desktop"] #photoViewer.is-fullscreen-viewer:not(.is-presentation):not(.is-native-fullscreen):not(.is-photo-fullscreen) #photoViewerImage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
  }

  body[data-layout-profile="desktop"] #photoViewer.is-fullscreen-viewer.is-photo-fullscreen:not(.is-presentation) {
    inset: 0;
    z-index: 90;
  }

  .wide-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }

  .wide-menu__fullscreen {
    display: none !important;
  }

  .wide-menu__site-fullscreen {
    display: inline-flex !important;
  }

  .wide-menu [data-wide-action="photo-play"] {
    display: none !important;
  }

  .wide-menu__brand {
    line-height: 1.12;
  }

  .wide-menu__brand > span {
    font-size: 1.25rem;
  }

  .wide-menu__brand strong {
    font-size: 1.0625rem;
  }

  .wide-menu :is(.wide-menu__links, .wide-menu__actions) :is(a, button) {
    min-height: 3rem;
  }

  .hero {
    grid-template-areas: "identity visual";
    grid-template-columns: minmax(17rem, 0.62fr) minmax(0, 1.75fr);
    min-height: min(49rem, calc(100dvh - var(--wide-menu-height)));
    scroll-margin-top: var(--wide-menu-height);
  }

  .hero-copy {
    grid-area: identity;
    align-self: end;
    justify-self: end;
    margin-bottom: clamp(1.4rem, 2vw, 1.85rem);
    transform: translateX(clamp(0.5rem, 2vw, 2rem));
  }

  .hero-copy > .eyebrow {
    font-size: clamp(1.1rem, 2vw, 1.9rem);
  }

  .hero-copy h1 {
    font-size: clamp(1.35rem, 2.3vw, 2.25rem);
  }

  body[data-layout-profile="desktop"] .hero-copy > .hero-tagline--identity {
    display: none;
  }

  body[data-layout-profile="desktop"].hero-promo-active .hero:not(.is-hero-fullscreen) .art-frame {
    background: #080608;
  }

  body[data-layout-profile="desktop"].hero-promo-active .hero:not(.is-hero-fullscreen) .art-frame .hero-frame-slideshow {
    opacity: 0 !important;
    visibility: hidden;
    transition: none !important;
  }

  body[data-layout-profile="desktop"].hero-promo-active .hero:not(.is-hero-fullscreen) .hero-tagline--desktop-promo {
    --hero-promo-progress: 100%;
    position: relative;
    appearance: none;
    isolation: isolate;
    z-index: 5;
    grid-area: painting;
    display: grid;
    width: auto;
    max-width: none;
    min-height: 0;
    align-self: stretch;
    justify-self: stretch;
    grid-template-rows: minmax(0, 1fr);
    place-items: center;
    gap: clamp(0.55rem, 1vw, 0.9rem);
    margin: calc(clamp(1rem, 1.55vw, 1.5rem) + var(--hero-painting-offset-y, 0rem)) clamp(1rem, 1.55vw, 1.5rem) clamp(1rem, 1.55vw, 1.5rem);
    padding: clamp(1.2rem, 2.3vw, 2.4rem);
    overflow: hidden;
    transform: translateX(clamp(-12rem, -13vw, -8rem));
    border: 1px solid rgba(255, 226, 143, 0.8);
    border-radius: clamp(0.7rem, 1.1vw, 1.15rem);
    background:
      radial-gradient(circle at 50% 42%, rgba(230, 179, 65, 0.2), transparent 42%),
      linear-gradient(110deg, rgba(255, 231, 164, 0.12), transparent 28%, rgba(255, 214, 112, 0.1) 70%, transparent),
      linear-gradient(145deg, #1e191d, #050508);
    box-shadow:
      inset 0 0 0 1px rgba(255, 246, 207, 0.1),
      0 0 0 0.22rem rgba(109, 75, 26, 0.32),
      0 0.8rem 2rem rgba(0, 0, 0, 0.58),
      0 0 1.6rem rgba(229, 181, 71, 0.22);
    color: #f8e8c2;
    font: inherit;
    text-align: center;
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
    backface-visibility: hidden;
    will-change: opacity;
    transition: opacity var(--hero-promo-exit-duration, 3s) cubic-bezier(0.4, 0, 0.2, 1);
  }

  body[data-layout-profile="desktop"].hero-promo-active .hero:not(.is-hero-fullscreen) .hero-tagline--desktop-promo::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(108deg, transparent 30%, rgba(255, 232, 168, 0.16) 48%, transparent 66%);
    transform: translateX(-125%);
    animation: hero-promo-sheen 7.5s ease-in-out infinite;
  }

  .hero-tagline--desktop-promo > .hero-promo__message {
    display: grid;
    align-self: center;
    justify-items: center;
    gap: clamp(0.7rem, 1.15vw, 1.05rem);
    transform: none;
    white-space: normal;
  }

  .hero-promo__headline,
  .hero-promo__message > .hero-promo__features,
  .hero-promo__welcome {
    transform: translateY(-2rem);
  }

  .hero-promo__headline {
    color: #ffe49a;
    font-size: clamp(1rem, 1.75vw, 1.85rem);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 0 1rem rgba(255, 205, 85, 0.32);
  }

  .hero-promo__message > .hero-promo__features {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 1.5vw, 1.45rem);
    color: #fff6df;
    font-size: clamp(0.95rem, 1.35vw, 1.35rem);
    font-weight: 850;
  }

  .hero-promo__features > span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
  }

  .hero-promo__welcome {
    color: #e7c982;
    font-size: clamp(0.98rem, 1.25vw, 1.28rem);
    font-weight: 750;
    line-height: 1.28;
  }

  .hero-promo__extra {
    display: grid;
    color: #fff;
    font-size: clamp(0.78rem, 0.95vw, 1rem);
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
  }

  .hero-promo__extra-line {
    display: block;
  }

  .hero-promo__extra-line:nth-child(-n + 2) {
    transform: translateY(-0.35rem);
  }

  .hero-promo__extra-line--spaced {
    margin-top: clamp(0.2rem, 0.35vw, 0.35rem);
  }

  .hero-promo__extra[hidden] {
    display: none;
  }

  .hero-tagline--desktop-promo > .hero-promo__countdown {
    position: absolute;
    bottom: clamp(1.2rem, 2.3vw, 2.4rem);
    left: 50%;
    display: grid;
    width: min(72%, 30rem);
    gap: 0.42rem;
    color: #f3d98f;
    font-size: clamp(0.72rem, 0.92vw, 0.92rem);
    font-weight: 760;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transform: translateX(-50%);
    white-space: normal;
  }

  .hero-promo__countdown-label {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.28rem;
    text-shadow: 0 0 0.75rem rgba(255, 210, 99, 0.28);
  }

  .hero-promo__countdown-label strong {
    min-width: 2ch;
    color: #fff0b8;
    font-size: 1.18em;
    font-variant-numeric: tabular-nums;
    text-align: right;
  }

  .hero-promo__countdown-track {
    position: relative;
    display: block;
    height: 0.32rem;
    overflow: hidden;
    border: 1px solid rgba(255, 224, 139, 0.36);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.52);
    box-shadow: inset 0 0 0.45rem rgba(0, 0, 0, 0.75);
  }

  .hero-promo__countdown-track > span {
    display: block;
    width: var(--hero-promo-progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #9f6d1f, #ffe394 46%, #c58d2c);
    box-shadow: 0 0 0.75rem rgba(255, 210, 99, 0.62);
    transition: width 0.25s linear;
  }

  body[data-layout-profile="desktop"].hero-promo-active .hero-tagline--desktop-promo:focus-visible {
    outline: 3px solid #fff0b6;
    outline-offset: -0.5rem;
  }

  body.hero-promo-leaving .hero:not(.is-hero-fullscreen) .hero-tagline--desktop-promo {
    opacity: 0;
    transform: translateX(clamp(-12rem, -13vw, -8rem));
  }

  body.hero-promo-leaving .hero-tagline--desktop-promo::after {
    animation: hero-promo-exit-sheen 3s ease-out both;
  }

  body.hero-promo-complete .hero-tagline--desktop-promo {
    display: none !important;
  }

  body.desktop-painting-focus .hero-tagline--desktop-promo {
    display: none !important;
  }

  .phone-stage {
    grid-area: visual;
  }

  .hero:not(.is-hero-fullscreen) .phone-frame {
    grid-template-areas: "painting" "controller";
    grid-template-columns: minmax(0, 1fr);
    width: min(158%, 86rem, 94vw, calc((100dvh - var(--wide-menu-height) - 12.75rem) * 1.6));
    --hero-painting-offset-y: -2rem;
    justify-self: center;
    align-items: stretch;
  }

  .hero:not(.is-hero-fullscreen) .art-frame {
    grid-area: painting;
    height: auto;
    margin-top: -2rem;
    aspect-ratio: 16 / 10;
    transform: translateX(clamp(-12rem, -13vw, -8rem));
  }

  .hero:not(.is-hero-fullscreen) .turntable {
    grid-area: controller;
    width: min(30%, 20.5rem);
    justify-self: center;
    height: auto;
    min-height: 10rem;
    aspect-ratio: 2.05 / 1;
    transform: translate(clamp(9rem, 12vw, 11rem), clamp(0.75rem, 1.2vw, 1.25rem));
    border-color: rgba(217, 181, 106, 0.62);
    border-radius: 1rem;
    background:
      linear-gradient(180deg, rgba(255, 238, 181, 0.08), transparent 18%),
      linear-gradient(135deg, #28232b, #0b0a0e 58%, #171219);
    box-shadow:
      inset 0 0 0 1px rgba(255, 238, 181, 0.08),
      inset 0 0 0 0.35rem rgba(217, 181, 106, 0.2),
      inset 0 -2rem 3rem rgba(0, 0, 0, 0.42),
      0 1.2rem 2.8rem rgba(0, 0, 0, 0.5);
  }

  .hero:not(.is-hero-fullscreen) .hero-photo-play-card {
    grid-area: controller;
    display: inline-flex;
    width: min(30%, 20.5rem);
    min-height: 10rem;
    aspect-ratio: 2.05 / 1;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 0.72rem;
    padding: 1rem;
    transform: translate(clamp(-13rem, -13vw, -11rem), clamp(0.75rem, 1.2vw, 1.25rem));
    border: 1px solid rgba(217, 181, 106, 0.62);
    border-radius: 1rem;
    background:
      linear-gradient(180deg, rgba(255, 238, 181, 0.08), transparent 18%),
      linear-gradient(135deg, #28232b, #0b0a0e 58%, #171219);
    box-shadow:
      inset 0 0 0 1px rgba(255, 238, 181, 0.08),
      inset 0 0 0 0.35rem rgba(217, 181, 106, 0.2),
      inset 0 -2rem 3rem rgba(0, 0, 0, 0.42),
      0 1.2rem 2.8rem rgba(0, 0, 0, 0.5);
    color: var(--muted);
    cursor: pointer;
  }

  .hero:not(.is-hero-fullscreen) .hero-photo-play-card:is(:hover, :focus-visible) {
    border-color: rgba(243, 213, 143, 0.82);
    color: var(--gold-bright);
    outline: none;
  }

  .hero:not(.is-hero-fullscreen) .hero-photo-play-card .nav-pill__tv-icon {
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 3.25rem;
  }

  .hero:not(.is-hero-fullscreen) .hero-photo-play-card strong {
    font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  }

  html:fullscreen body[data-layout-profile="desktop"] .hero {
    min-height: calc(100dvh - var(--wide-menu-height));
    padding: clamp(0.75rem, 1.4dvh, 1rem) clamp(1rem, 2vw, 2rem);
  }

  html:fullscreen body[data-layout-profile="desktop"] .hero:not(.is-hero-fullscreen) .phone-frame {
    width: min(158%, 86rem, 94vw, calc((100dvh - var(--wide-menu-height) - 11.75rem) * 1.6));
    gap: clamp(1.25rem, 2.2dvh, 1.75rem);
    --hero-painting-offset-y: -0.5rem;
  }

  html:fullscreen body[data-layout-profile="desktop"] .hero:not(.is-hero-fullscreen) .art-frame {
    margin-top: -0.5rem;
    aspect-ratio: 16 / 10;
  }

  html:fullscreen body[data-layout-profile="desktop"] .hero:not(.is-hero-fullscreen) :is(.turntable, .hero-photo-play-card) {
    transform: translate(
      var(--site-fullscreen-controller-x, 0),
      var(--site-fullscreen-controller-y, clamp(0.55rem, 1.1dvh, 0.8rem))
    );
  }

  html:fullscreen body[data-layout-profile="desktop"] .hero:not(.is-hero-fullscreen) .turntable {
    --site-fullscreen-controller-x: clamp(9rem, 12vw, 11rem);
  }

  html:fullscreen body[data-layout-profile="desktop"] .hero:not(.is-hero-fullscreen) .hero-photo-play-card {
    --site-fullscreen-controller-x: clamp(-13rem, -13vw, -11rem);
  }

  html:fullscreen body[data-layout-profile="desktop"] .hero-copy {
    margin-bottom: clamp(3.5rem, calc(5.5dvh + 0.5rem), 4.5rem);
  }

  .hero:not(.is-hero-fullscreen) .turntable::after {
    display: none;
  }

  .hero:not(.is-hero-fullscreen) .dj-platter {
    top: 49%;
    display: block;
    width: min(40%, 15rem);
    transform: translateY(-50%);
  }

  .hero:not(.is-hero-fullscreen) .dj-platter--left {
    left: clamp(2rem, 8%, 5rem);
  }

  .hero:not(.is-hero-fullscreen) .dj-mixer {
    top: 2.2rem;
    right: clamp(2.7rem, 11%, 6.4rem);
    bottom: 1.3rem;
    left: 59%;
    transform: none;
    border-radius: 0.68rem;
  }

  .hero:not(.is-hero-fullscreen) .tonearm {
    top: 1.55rem;
    right: auto;
    left: 49%;
    display: block;
    width: 4.2rem;
    height: 0.28rem;
    transform: rotate(0deg);
  }

  .hero:not(.is-hero-fullscreen) .dj-screen {
    left: 0.6rem;
    right: 0.6rem;
    top: 0.5rem;
    height: 1.05rem;
  }

  .hero:not(.is-hero-fullscreen) .dj-knob {
    top: 1.85rem;
    width: 0.68rem;
  }

  .hero:not(.is-hero-fullscreen) .dj-knob-1 { left: 0.75rem; }
  .hero:not(.is-hero-fullscreen) .dj-knob-2 { left: calc(50% - 0.34rem); }
  .hero:not(.is-hero-fullscreen) .dj-knob-3 { right: 0.75rem; }

  .hero:not(.is-hero-fullscreen) .dj-fader {
    top: 3rem;
    width: 0.22rem;
    height: 2.25rem;
  }

  .hero:not(.is-hero-fullscreen) .dj-fader::after {
    width: 0.72rem;
    height: 0.28rem;
  }

  .hero:not(.is-hero-fullscreen) .dj-fader-a { left: 1rem; }
  .hero:not(.is-hero-fullscreen) .dj-fader-b { right: 1rem; }

  .hero:not(.is-hero-fullscreen) .dj-pad {
    bottom: 1rem;
    width: 0.68rem;
    height: 0.52rem;
  }

  .hero:not(.is-hero-fullscreen) .dj-pad-1 { left: 0.72rem; }
  .hero:not(.is-hero-fullscreen) .dj-pad-2 { left: 1.75rem; }
  .hero:not(.is-hero-fullscreen) .dj-pad-3 { right: 1.75rem; }
  .hero:not(.is-hero-fullscreen) .dj-pad-4 { right: 0.72rem; }

  .hero:not(.is-hero-fullscreen) .dj-crossfader {
    right: 0.9rem;
    bottom: 0.38rem;
    left: 0.9rem;
    height: 0.18rem;
  }

  .hero:not(.is-hero-fullscreen) .dj-crossfader::after {
    width: 0.9rem;
    height: 0.28rem;
  }

  main {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(20rem, 1fr);
    align-items: start;
  }

  main > :is(#gallery, #upload) {
    grid-column: 1 / -1;
  }

  main > #playlist,
  main > #messagesList {
    grid-column: 1;
  }

  main > #request,
  main > #message {
    grid-column: 2;
  }

  main > #playlist,
  main > #request,
  main > #messagesList,
  main > #message {
    height: 100%;
    border-right: 1px solid rgba(217, 181, 106, 0.12);
  }

  .gallery-grid--cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #playlist .song-item {
    grid-template-columns: minmax(12rem, 1fr) auto auto;
  }

  body.desktop-painting-focus {
    overflow: hidden;
    padding-top: 0;
    background:
      radial-gradient(circle at 50% 50%, rgba(101, 75, 33, 0.18), transparent 54%),
      linear-gradient(135deg, #07070a, #17130f 72%, #211b14);
  }

  body.desktop-painting-focus.desktop-painting-cursor-hidden .hero,
  body.desktop-painting-focus.desktop-painting-cursor-hidden .hero * {
    cursor: none !important;
  }

  body.desktop-painting-focus > :is(.floating-menu, .fixed-quick-buttons, .wide-menu),
  body.desktop-painting-focus .app-shell > main,
  body.desktop-painting-focus .hero > :is(.topbar, .hero-decorations, .hero-decorations-front, .hero-copy) {
    display: none !important;
  }

  body.desktop-painting-focus .app-shell {
    width: 100vw !important;
    height: 100dvh !important;
    margin: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
  }

  body.desktop-painting-focus .hero:not(.is-hero-fullscreen) {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: block;
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    padding: 0;
    background:
      radial-gradient(circle at 50% 48%, rgba(224, 177, 81, 0.12), transparent 58%),
      linear-gradient(135deg, #07070a, #15120f 70%, #211b14);
  }

  body.desktop-painting-focus .hero:not(.is-hero-fullscreen) .phone-stage {
    position: absolute;
    inset: clamp(1.5rem, 3.4vw, 3.5rem);
    display: block;
    grid-area: auto;
    width: auto;
    height: auto;
    transform: none;
  }

  body.desktop-painting-focus .hero:not(.is-hero-fullscreen) .phone-stage::before,
  body.desktop-painting-focus .hero:not(.is-hero-fullscreen) :is(.phone-speaker, .hero-photo-play-card, .turntable) {
    display: none !important;
  }

  body.desktop-painting-focus .hero:not(.is-hero-fullscreen) .phone-frame {
    position: fixed;
    inset: 0;
    display: grid;
    width: 100vw !important;
    height: 100dvh !important;
    aspect-ratio: auto;
    grid-template-areas: "painting";
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    place-items: center;
    justify-self: stretch;
    align-self: stretch;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  body.desktop-painting-focus .hero:not(.is-hero-fullscreen) .art-frame {
    position: relative;
    inset: auto;
    grid-area: painting;
    align-self: center;
    justify-self: center;
    width: min(
      calc(100vw - clamp(0.5rem, 0.75vw, 1rem)),
      calc((100dvh - clamp(0.5rem, 0.75vw, 1rem)) * 1.6)
    );
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0 !important;
    aspect-ratio: 16 / 10;
    pointer-events: auto;
    transform: none;
  }
}

@keyframes hero-promo-sheen {
  0%, 62% {
    transform: translateX(-125%);
  }
  82%, 100% {
    transform: translateX(125%);
  }
}

@keyframes hero-promo-exit-sheen {
  0% {
    background: linear-gradient(108deg, transparent 22%, rgba(255, 232, 168, 0.08) 48%, transparent 74%);
    transform: translateX(-125%);
  }
  42% {
    background: linear-gradient(108deg, transparent 22%, rgba(255, 238, 184, 0.55) 48%, transparent 74%);
  }
  100% {
    background: linear-gradient(108deg, transparent 22%, rgba(255, 232, 168, 0) 48%, transparent 74%);
    transform: translateX(125%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-tagline--desktop-promo::after {
    animation: none !important;
  }

  body[data-layout-profile="desktop"].hero-promo-active .hero:not(.is-hero-fullscreen) .hero-tagline--desktop-promo {
    transition-duration: 0.2s;
  }
}

@media (min-width: 75rem) and (max-aspect-ratio: 5 / 4) {
  html:fullscreen body[data-layout-profile="desktop"] .hero:not(.is-hero-fullscreen) :is(.turntable, .hero-photo-play-card) {
    transform: translate(
      var(--site-fullscreen-controller-x, 0),
      var(--site-fullscreen-controller-y, clamp(3.25rem, calc(45dvh - 33.75vw - 1.75rem), 5rem))
    );
  }
}

/* 1920x1200 in a normal browser window: reserve room for browser chrome; DOM fullscreen keeps its larger layout. */
@media (min-width: 90rem) and (max-width: 100rem) and (min-height: 46rem) and (max-height: 52rem),
       (min-width: 112.5rem) and (max-width: 125rem) and (min-height: 55rem) and (max-height: 68rem) {
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) {
    padding-block: clamp(1.5rem, 3dvh, 2rem);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .phone-frame {
    width: min(148%, 78rem, 88vw, calc((100dvh - var(--wide-menu-height) - 12rem) * 1.5));
    gap: 1rem;
    --hero-painting-offset-y: -3.25rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .art-frame {
    margin-top: -3.25rem;
    border-width: 0.68rem;
    box-shadow:
      inset 0 0 0 0.1rem #ffec9e,
      inset 0 0 0 0.26rem rgba(83, 48, 10, 0.72),
      0 0 0 0.12rem #5a3810,
      0 0 0 0.32rem #d6ae58,
      0 1.4rem 3.3rem rgba(0, 0, 0, 0.64);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) :is(.turntable, .hero-photo-play-card) {
    width: min(25%, 16rem);
    min-height: 6rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .turntable {
    transform: translate(clamp(9rem, 12vw, 11rem), 0.25rem);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card {
    transform: translate(clamp(-13rem, -13vw, -11rem), 0.25rem);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy {
    margin-bottom: 4rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card .nav-pill__tv-icon {
    width: 2.65rem;
    height: 2.65rem;
    flex-basis: 2.65rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card strong {
    font-size: 1.22rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy > .eyebrow {
    font-size: 1.65rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy h1 {
    font-size: 2rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-mixer {
    top: 32%;
    right: 8%;
    bottom: 4%;
    left: 61%;
    overflow: hidden;
    border: 1px solid rgba(243, 213, 143, 0.22);
    border-radius: 0.52rem;
    background:
      linear-gradient(180deg, rgba(255, 240, 185, 0.11), transparent 25%),
      linear-gradient(155deg, #211c24, #09080c 74%);
    box-shadow:
      inset 0 0 0 1px rgba(243, 213, 143, 0.1),
      inset 0 -0.55rem 0.9rem rgba(0, 0, 0, 0.42),
      0 0.3rem 0.75rem rgba(0, 0, 0, 0.3);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-screen {
    top: 8%;
    right: 12%;
    left: 12%;
    height: 18%;
    border-radius: 0.22rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-knob {
    top: 33%;
    width: 14%;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-knob-1 { left: 13%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-knob-2 { left: 43%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-knob-3 { right: 13%; }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader {
    top: 51%;
    width: 4%;
    height: 19%;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader::after {
    width: 360%;
    height: 18%;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader-a { left: 27%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader-a::after { top: 22%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader-b { right: 27%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader-b::after { top: 58%; }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad {
    bottom: 16%;
    width: 17%;
    height: 10%;
    border-radius: 0.12rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad-1 { left: 9%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad-2 { left: 30%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad-3 { right: 30%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad-4 { right: 9%; }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-crossfader {
    right: 18%;
    bottom: 7%;
    left: 18%;
    height: 3%;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-crossfader::after {
    width: 24%;
    height: 160%;
  }
}

/* At 125% Windows scale, align the lower row with the compact photo frame. */
@media (min-width: 90rem) and (max-width: 100rem) and (min-height: 46rem) and (max-height: 52rem) {
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .phone-frame {
    --hero-painting-offset-y: -2.25rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy {
    width: 15rem;
    margin-bottom: 2.5rem;
    transform: translateX(11rem);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy > .eyebrow {
    font-size: 1.5rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy h1 {
    font-size: 1.8rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .art-frame {
    margin-top: -2.25rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .turntable {
    transform: translate(5.625rem, 1.6rem);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card {
    transform: translate(-12rem, 1.6rem);
  }
}

@media (min-width: 112.5rem) and (max-width: 125rem) and (min-height: 55rem) and (max-height: 68rem) {
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) {
    margin-bottom: 4.25rem;
    overflow: visible;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .phone-frame {
    width: min(142%, 74rem, 85vw, calc((100dvh - var(--wide-menu-height) - 13rem) * 1.5));
    --hero-painting-offset-y: 0.5rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .art-frame {
    margin-top: 0.5rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) :is(.turntable, .hero-photo-play-card) {
    width: min(24%, 15.5rem);
    min-height: 5.75rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .turntable {
    transform: translate(clamp(9.75rem, 12vw, 11.75rem), 2rem);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card {
    transform: translate(clamp(-13rem, -13vw, -11rem), 2rem);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy {
    width: 15rem;
    margin-bottom: 0.1rem;
    transform: translate(1rem, 0.25rem);
  }
}

/* 1920x1080 at 100% Windows scale in a normal browser window. */
@media (min-width: 112.5rem) and (max-width: 125rem) and (min-height: 52rem) and (max-height: 58rem) {
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy {
    transform: translate(6.125rem, 0.625rem);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card {
    transform: translate(-12rem, 2rem);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .turntable {
    transform: translate(9.5rem, 2rem);
  }
}

/* 1920x1080 at 100% with the browser chrome hidden (F11-sized viewport). */
@media (min-width: 112.5rem) and (max-width: 125rem) and (min-height: 64rem) and (max-height: 70rem) {
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy {
    transform: translate(-1.25rem, 0.71875rem);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card {
    transform: translate(-12rem, 2.34375rem);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .turntable {
    transform: translate(16.25rem, 2.34375rem);
  }

  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .phone-frame {
    width: min(74rem, 90vw);
    --hero-painting-offset-y: -1.5rem;
  }

  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .art-frame {
    margin-top: -1.5rem;
  }

  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy {
    transform: translateX(0.5rem);
  }

  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card {
    --site-fullscreen-controller-x: -12rem;
  }

  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .turntable {
    --site-fullscreen-controller-x: 13.75rem;
  }
}

/* #DLFS: 1920x1200 laptop at the default 125% Windows scale in F11 or site fullscreen. */
@media (min-width: 94rem) and (max-width: 100rem) and (min-height: 55rem) and (max-height: 64rem) {
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen),
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) {
    height: calc(100dvh - var(--wide-menu-height));
    min-height: 0;
    padding: 0 2rem;
    overflow: hidden;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .phone-frame,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .phone-frame {
    width: min(64rem, 86vw);
    gap: 2rem;
    --hero-painting-offset-y: 0rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .art-frame,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .art-frame {
    margin-top: 0;
    border-width: 0.68rem;
    box-shadow:
      inset 0 0 0 0.1rem #ffec9e,
      inset 0 0 0 0.26rem rgba(83, 48, 10, 0.72),
      0 0 0 0.12rem #5a3810,
      0 0 0 0.32rem #d6ae58,
      0 1.4rem 3.3rem rgba(0, 0, 0, 0.64);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) :is(.turntable, .hero-photo-play-card),
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) :is(.turntable, .hero-photo-play-card) {
    width: min(24%, 15.5rem);
    min-height: 5.75rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card {
    transform: translate(-12rem, 0);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .turntable {
    transform: translate(11.32rem, 0);
  }

  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card {
    --site-fullscreen-controller-x: -12rem;
  }

  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .turntable {
    --site-fullscreen-controller-x: 11.32rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy {
    width: 15rem;
    margin-bottom: 4.875rem;
    transform: translateX(5.875rem);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy > .eyebrow,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy > .eyebrow {
    font-size: 1.5rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy h1,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero-copy h1 {
    font-size: 1.8rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card .nav-pill__tv-icon,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card .nav-pill__tv-icon {
    width: 2.65rem;
    height: 2.65rem;
    flex-basis: 2.65rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card strong,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .hero-photo-play-card strong {
    font-size: 1.22rem;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-mixer,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-mixer {
    top: 32%;
    right: 8%;
    bottom: 4%;
    left: 61%;
    overflow: hidden;
    border: 1px solid rgba(243, 213, 143, 0.22);
    border-radius: 0.52rem;
    background:
      linear-gradient(180deg, rgba(255, 240, 185, 0.11), transparent 25%),
      linear-gradient(155deg, #211c24, #09080c 74%);
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-screen,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-screen {
    top: 8%;
    right: 12%;
    left: 12%;
    height: 18%;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-knob,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-knob {
    top: 33%;
    width: 14%;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-knob-1,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-knob-1 { left: 13%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-knob-2,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-knob-2 { left: 43%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-knob-3,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-knob-3 { right: 13%; }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader {
    top: 51%;
    width: 4%;
    height: 19%;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader::after,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader::after {
    width: 360%;
    height: 18%;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader-a,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader-a { left: 27%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader-a::after,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader-a::after { top: 22%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader-b,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader-b { right: 27%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader-b::after,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-fader-b::after { top: 58%; }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad {
    bottom: 16%;
    width: 17%;
    height: 10%;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad-1,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad-1 { left: 9%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad-2,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad-2 { left: 30%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad-3,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad-3 { right: 30%; }
  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad-4,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-pad-4 { right: 9%; }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-crossfader,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-crossfader {
    right: 18%;
    bottom: 7%;
    left: 18%;
    height: 3%;
  }

  html:not(:fullscreen) body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-crossfader::after,
  html:fullscreen body[data-layout-profile="desktop"]:not(.desktop-painting-focus) .hero:not(.is-hero-fullscreen) .dj-crossfader::after {
    width: 24%;
    height: 160%;
  }
}

/* 13-inch iPad Pro portrait: use a top menu and keep the full start composition visible. */
@media (min-width: 60rem) and (max-width: 70rem) and (min-height: 75rem) and (orientation: portrait) {
  body[data-layout-profile="tablet-portrait"] {
    padding-top: var(--wide-menu-height);
    padding-bottom: 0;
  }

  body[data-layout-profile="tablet-portrait"] .wide-menu {
    top: 0;
    bottom: auto;
    padding-top: max(0.45rem, env(safe-area-inset-top));
    padding-bottom: 0.45rem;
  }

  body[data-layout-profile="tablet-portrait"] .hero:not(.is-hero-fullscreen) {
    min-height: calc(100dvh - var(--wide-menu-height));
    gap: 1rem;
    padding: clamp(1.1rem, 1.8dvh, 1.5rem) 2rem;
    overflow: hidden;
  }

  body[data-layout-profile="tablet-portrait"] .hero:not(.is-hero-fullscreen) .hero-copy {
    align-self: center;
    transform: translateY(-4.5rem);
  }

  body[data-layout-profile="tablet-portrait"] .hero:not(.is-hero-fullscreen) .hero-copy > .eyebrow {
    font-size: 1.55rem;
  }

  body[data-layout-profile="tablet-portrait"] .hero:not(.is-hero-fullscreen) .hero-copy h1 {
    font-size: 1.85rem;
  }

  body[data-layout-profile="tablet-portrait"] .hero:not(.is-hero-fullscreen) .phone-stage {
    width: min(100%, 31rem);
    transform: translateY(-8.5rem);
  }

  body[data-layout-profile="tablet-portrait"] .hero:not(.is-hero-fullscreen) .phone-frame {
    gap: 0.9rem;
  }

  body[data-layout-profile="tablet-portrait"] .hero:not(.is-hero-fullscreen) .art-frame {
    width: min(100%, 29rem);
  }

  body[data-layout-profile="tablet-portrait"] .hero:not(.is-hero-fullscreen) .turntable {
    width: min(100%, 30rem);
  }
}

/* 13-inch iPad Pro landscape: its 1366 CSS pixels are still a touch tablet, not a desktop. */
@media (min-width: 75rem) and (max-width: 87.5rem) and (min-height: 55rem) and (max-height: 70rem) and (orientation: landscape) {
  body[data-layout-profile="tablet-landscape"] .wide-menu__fullscreen {
    display: inline-flex !important;
  }

  body[data-layout-profile="tablet-landscape"] .wide-menu__site-fullscreen {
    display: none !important;
  }

  body[data-layout-profile="tablet-landscape"] .wide-menu [data-wide-action="photo-play"] {
    display: inline-flex !important;
  }

  body[data-layout-profile="tablet-landscape"] .wide-menu__brand {
    line-height: 1.03;
  }

  body[data-layout-profile="tablet-landscape"] .wide-menu__brand > span {
    font-size: 1rem;
  }

  body[data-layout-profile="tablet-landscape"] .wide-menu__brand strong {
    font-size: 0.9rem;
  }

  body[data-layout-profile="tablet-landscape"] .wide-menu :is(.wide-menu__links, .wide-menu__actions) :is(a, button) {
    min-height: 2.75rem;
    padding-inline: 0.6rem;
  }

  body[data-layout-profile="tablet-landscape"] .wide-menu__links > a {
    flex-direction: column;
    gap: 0.12rem;
  }

  body[data-layout-profile="tablet-landscape"] .hero:not(.is-hero-fullscreen) {
    grid-template-areas: "identity visual";
    grid-template-columns: minmax(11rem, 0.5fr) minmax(0, 2fr);
    min-height: calc(100dvh - var(--wide-menu-height));
    gap: clamp(1rem, 1.8vw, 1.5rem);
    padding: clamp(1.15rem, 2dvh, 1.5rem) clamp(1.25rem, 2vw, 2rem);
    overflow: hidden;
  }

  body[data-layout-profile="tablet-landscape"] .hero:not(.is-hero-fullscreen) .hero-copy {
    grid-area: identity;
    align-self: start;
    justify-self: end;
    margin: 15rem 0 0;
    text-align: left;
    transform: none;
  }

  body[data-layout-profile="tablet-landscape"] .hero:not(.is-hero-fullscreen) .hero-copy > .eyebrow {
    font-size: 1.35rem;
  }

  body[data-layout-profile="tablet-landscape"] .hero:not(.is-hero-fullscreen) .hero-copy h1 {
    font-size: 1.6rem;
  }

  body[data-layout-profile="tablet-landscape"] .hero:not(.is-hero-fullscreen) .phone-stage {
    grid-area: visual;
    width: 100%;
    align-self: start;
    margin-top: 1rem;
  }

  body[data-layout-profile="tablet-landscape"] .hero:not(.is-hero-fullscreen) .phone-frame {
    grid-template-areas: none;
    grid-template-columns: minmax(0, 1.7fr) minmax(13rem, 0.8fr);
    grid-template-rows: minmax(0, 1fr);
    width: 100%;
    gap: 1rem;
    align-items: stretch;
  }

  body[data-layout-profile="tablet-landscape"] .hero:not(.is-hero-fullscreen) .art-frame {
    grid-area: auto;
    width: 100%;
    height: 100%;
    margin: 0;
    aspect-ratio: 4 / 3;
    transform: none;
  }

  body[data-layout-profile="tablet-landscape"] .hero:not(.is-hero-fullscreen) .turntable {
    grid-area: auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    aspect-ratio: auto;
    transform: none;
  }

  body[data-layout-profile="tablet-landscape"] .hero-photo-play-card {
    display: none !important;
  }

  body[data-layout-profile="tablet-landscape"] main {
    display: block;
  }
}

@media (min-width: 40rem) and (max-width: 58rem) {
  .wide-menu :is(.wide-menu__links, .wide-menu__actions) :is(a, button) > span:last-child {
    font-size: 0.65rem;
  }

  .song-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .song-request-copy {
    grid-column: 1;
  }

  .song-link-panel {
    grid-column: 2;
  }

  .song-stat-row {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (min-width: 56rem) {
  .gallery-grid--cards .photo-card--large.photo-card--landscape {
    display: grid;
  }
}
