: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;
}

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;
}

body.viewer-open {
  overflow: hidden;
}

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 {
  display: block;
  padding: 0.88rem 0.85rem;
  border-radius: 0.35rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04rem;
  line-height: 1.2;
  text-transform: none;
  white-space: normal;
}

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

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

.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--dj {
  border: 1px solid rgba(159, 201, 255, 0.34);
  background: rgba(159, 201, 255, 0.09);
  color: #8fb8ed;
}

.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;
  }
}

.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__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__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 {
  position: absolute;
  top: 1.6rem;
  left: 0.96rem;
  right: 0.96rem;
  z-index: 4;
  height: 56%;
  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;
  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;
}

.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 {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  white-space: nowrap;
}

body.youtube-buttons-hidden .hero-copy .spotify-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;
}

.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;
}

#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;
}

.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;
}

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

.slideshow-button 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%);
}

.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--thumbs 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--text span {
  width: 1.32rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 0.14rem;
}

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

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

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

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

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

.photo-card {
  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);
}

.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--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: none;
}

.photo-card figcaption {
  padding: 0.45rem 0 0;
  color: var(--gold-bright);
  font-size: 0.92rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.photo-card__text {
  padding: 0.25rem 0.15rem 0.35rem;
  display: grid;
  gap: 0.1rem;
}

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

.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;
}

.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.is-presentation {
  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: 100vw;
  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: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  max-height: none;
  border-radius: 0;
  background: #000;
}

.photo-viewer.is-presentation .photo-viewer__image-wrap img {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  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: 100vh;
    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__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-request-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  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.54rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.song-link-panel {
  display: grid;
  gap: 0.36rem;
  align-content: center;
  justify-items: end;
  min-height: 4.42rem;
  padding: 0.24rem 0 0;
}

.song-action-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.86rem;
}

.song-favorite-badge {
  display: inline-grid;
  width: 3.12rem;
  height: 3.12rem;
  min-width: 3.12rem;
  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.66rem;
  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.18rem;
  height: 2.18rem;
  min-width: 2.18rem;
  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.82rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.2);
}

body.youtube-buttons-hidden .song-request-number {
  width: 3.12rem;
  height: 3.12rem;
  min-width: 3.12rem;
  font-size: 1.16rem;
}

.song-music-links {
  display: grid;
  gap: 0.36rem;
  justify-items: end;
}

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

.song-spotify-link {
  margin-top: -0.26rem;
  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.58rem;
  height: 1.58rem;
}

.song-youtube-link {
  width: 2.04rem;
  height: 2.04rem;
  min-width: 2.04rem;
  margin-top: 0.44rem;
  margin-right: 0.07rem;
  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.04rem;
  height: 2.04rem;
}

.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.3rem;
  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-stat-row {
  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: var(--ink);
  font-weight: 400;
}

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;
}

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;
  gap: 0.65rem;
}

input[type="file"]:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(217, 181, 106, 0.14);
}

.file-name {
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

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;
}

.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 {
  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 {
  border-color: rgba(243, 213, 143, 0.78);
  background: rgba(243, 213, 143, 0.1);
  color: var(--gold-bright);
  opacity: 1;
}

.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% - 7.25rem);
  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: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  max-height: none;
}

.photo-viewer.is-presentation .photo-viewer__image-wrap {
  padding: 0;
  align-content: stretch;
  place-items: center;
}

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

.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;
}
/* 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:not(.is-presentation) .photo-viewer__close,
.photo-viewer:not(.is-presentation) .photo-viewer__slideshow,
.photo-viewer:not(.is-presentation) .photo-viewer__nav {
  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 {
  font-size: 2rem;
}

.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__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;
}

/* 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);
}

.gallery-grid--thumbs .photo-card__text strong,
.gallery-grid--thumbs .photo-card__text .photo-date,
.gallery-grid--thumbs .photo-card__text .photo-caption {
  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;
}

#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-viewer__title-time {
  display: none;
}

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

/* 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;
  }
}

/* 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-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);
}

/* 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;
}

.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);
}

.hero-frame-slideshow {
  --painting-blur-backdrop-filter: blur(0.46rem) saturate(1.12) contrast(1.03) brightness(1.42);
  --painting-blur-backdrop-opacity: 0.94;
  --painting-blur-backdrop-scale: 1.045;
  --painting-blur-edge-x: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.18) 2.5%, #000 8%, #000 92%, rgba(0, 0, 0, 0.18) 97.5%, transparent 100%);
  --painting-blur-edge-y: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.18) 3%, #000 9%, #000 91%, rgba(0, 0, 0, 0.18) 97%, transparent 100%);
}

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