:root {
  color-scheme: dark;
  --bg: #04050b;
  --panel: rgba(7, 10, 20, 0.86);
  --panel-strong: rgba(3, 6, 14, 0.95);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f7fb;
  --muted: rgba(246, 247, 251, 0.72);
  --pink: #ff3fb4;
  --violet: #8a54ff;
  --blue: #2ab7ff;
  --glow: 0 0 24px rgba(255, 63, 180, 0.38), 0 0 48px rgba(42, 183, 255, 0.22);
  --device-width: min(96vw, calc(86vh * 16 / 9), 1280px);
  --device-height: min(86vh, calc(96vw * 9 / 16), 720px);
  --viewport-bottom-offset: 0px;
  --radius: 40px;
  --control-radius: 999px;
  font-family: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overscroll-behavior: none;
  touch-action: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 51, 111, 0.38), transparent 38%),
    radial-gradient(circle at 15% 55%, rgba(255, 49, 160, 0.25), transparent 26%),
    radial-gradient(circle at 85% 68%, rgba(42, 183, 255, 0.22), transparent 24%),
    #03040a;
  color: var(--text);
}

body {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.ambient {
  position: absolute;
  inset: auto;
  width: 38vw;
  height: 2px;
  filter: blur(1px);
  opacity: 0.92;
}

.ambient-left {
  left: -6vw;
  top: 32vh;
  transform: rotate(-47deg);
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  box-shadow: 0 0 22px rgba(255, 63, 180, 0.72);
}

.ambient-right {
  right: -7vw;
  bottom: 24vh;
  transform: rotate(47deg);
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  box-shadow: 0 0 22px rgba(42, 183, 255, 0.66);
}

.device-frame {
  position: relative;
  width: var(--device-width);
  height: var(--device-height);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.04), transparent 30%),
    linear-gradient(180deg, rgba(10, 10, 20, 0.96), rgba(1, 2, 9, 0.99));
  border-radius: 54px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 30px 120px rgba(0, 0, 0, 0.75),
    0 0 60px rgba(34, 48, 99, 0.28);
  overflow: hidden;
}

.device-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 44px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (hover: none) and (pointer: coarse) {
  :root {
    --device-width: 100vw;
    --device-height: 100dvh;
  }

  .page-shell {
    padding: 0;
  }

  .device-frame {
    width: 100vw;
    height: 100dvh;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
  }

  .device-frame::before {
    display: none;
  }
}

.landing-screen,
.player-screen {
  position: absolute;
  inset: 0;
}

.landing-screen {
  display: grid;
  place-items: center;
  padding: 0;
}

.landing-art {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 12%, rgba(30, 42, 102, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(5, 7, 16, 0.98), rgba(2, 3, 10, 1));
}

.landing-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 28px 38px;
  z-index: 2;
}

.landing-logo {
  width: min(44%, 360px);
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.08)) drop-shadow(0 0 28px rgba(255, 63, 180, 0.16)) drop-shadow(0 0 28px rgba(42, 183, 255, 0.16));
}

.landing-title {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 66px);
  font-weight: 700;
  line-height: 1.05;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.2);
}

.landing-subtitle {
  margin: 16px 0 0;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.12);
}

.landing-tips {
  width: 100%;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.landing-tip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}

.landing-tip svg {
  width: 34px;
  height: 34px;
  display: block;
}

.landing-tip span {
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.landing-girls {
  width: min(92%, 760px);
  margin-top: 42px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 0 28px rgba(255, 63, 180, 0.12)) drop-shadow(0 0 40px rgba(42, 183, 255, 0.14));
}

.landing-cta {
  margin-top: 24px;
  width: min(82%, 640px);
  min-height: 96px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(8, 11, 22, 0.82), rgba(3, 6, 14, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 26px rgba(255, 63, 180, 0.22),
    0 0 34px rgba(42, 183, 255, 0.18);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.landing-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, #ff3fb4, #9b65ff, #2ab7ff);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.landing-cta span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.28em;
}

.landing-cta:focus-visible {
  outline: 2px solid rgba(42, 183, 255, 0.95);
  outline-offset: 2px;
}

.landing-brand-links-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 34px;
}

.landing-brand-bottom-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.14);
}

.landing-brand-bottom-patreon {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.landing-brand-bottom-boosty {
  font-size: clamp(26px, 2.6vw, 38px);
  font-style: italic;
  font-weight: 700;
}

.landing-brand-divider {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
}

/* Final landing composition built from the supplied transparent artwork. */
.landing-content {
  justify-content: flex-start;
  padding: 40px 22px 24px;
  overflow: hidden;
}

.landing-logo-crop {
  position: relative;
  width: 31%;
  height: 26px;
  overflow: hidden;
  flex: 0 0 auto;
}

.landing-logo-final {
  display: block;
  width: 31%;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(255, 63, 180, 0.18)) drop-shadow(0 0 12px rgba(42, 183, 255, 0.18));
}

.landing-brand-source {
  position: absolute;
  width: 100%;
  height: auto;
  left: 0;
  top: -2%;
}

.landing-title-art {
  width: 88%;
  height: auto;
  margin-top: 28px;
  flex: 0 0 auto;
  transform: translateY(-14px);
}

.landing-tips-art {
  width: 92%;
  height: auto;
  margin-top: -30px;
  opacity: 0.66;
  flex: 0 0 auto;
  transform: translateY(-14px);
}

.landing-girls-art {
  width: 76.5%;
  height: auto;
  margin-top: -12px;
  flex: 0 1 auto;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(-10px 0 22px rgba(255, 42, 168, 0.12)) drop-shadow(10px 0 24px rgba(30, 164, 255, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

.landing-cta {
  width: 88%;
  min-height: 0;
  margin-top: -44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  flex: 0 0 auto;
  border-radius: 999px;
  isolation: isolate;
  z-index: 4;
  transition: filter 180ms ease, transform 180ms ease;
}

.landing-cta::before {
  display: none;
}

.landing-cta img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.landing-cta::after {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .landing-cta:hover::after,
  .landing-cta:focus-visible::after {
    display: none;
  }

  .landing-cta:hover {
    transform: scale(1.015);
    filter: brightness(1.08) drop-shadow(0 0 12px rgba(255, 48, 176, 0.48)) drop-shadow(0 0 14px rgba(42, 183, 255, 0.44));
  }
}

.landing-cta:hover img,
.landing-cta:focus-visible img {
  filter: brightness(1.12);
}

.landing-social-crop {
  position: relative;
  width: 51.5%;
  height: auto;
  aspect-ratio: 900 / 214;
  margin-top: -10px;
  overflow: visible;
  flex: 0 0 auto;
}

.landing-social-source {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  left: 0;
  bottom: auto;
  opacity: 0.78;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.12));
  transition: opacity 180ms ease, filter 180ms ease;
}

.landing-social-crop:hover .landing-social-source {
  opacity: 0.96;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.landing-social-hit {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
}

.landing-social-patreon {
  left: 8%;
  width: 43%;
}

.landing-social-boosty {
  right: 7%;
  width: 42%;
}

.player-screen {
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 63, 180, 0.18), transparent 18%),
    radial-gradient(circle at 70% 25%, rgba(42, 183, 255, 0.2), transparent 20%),
    linear-gradient(180deg, rgba(2, 4, 12, 0.65), rgba(2, 4, 12, 0.96));
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.34) 40%, rgba(0, 0, 0, 0.92) 100%),
    center / cover no-repeat url("./assets/visual_blur_background.png");
  opacity: 0.86;
}

.projection-viewer {
  position: absolute;
  inset: 0;
  z-index: 0;
  touch-action: none;
  cursor: grab;
}

.player-poster {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 72vw;
  height: 70vh;
  transform: translate(-50%, -50%);
  background-color: #02040a;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.player-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.06) 52%, rgba(0, 0, 0, 0.52));
}

.player-screen.is-poster-visible .player-poster {
  opacity: 1;
}

@media (max-width: 560px) {
  .player-poster {
    width: min(94vw, calc(68vh * 16 / 9));
  }
}

.projection-viewer.is-dragging {
  cursor: grabbing;
}

.projection-viewer canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.xr-notice {
  position: absolute;
  z-index: 26;
  left: 50%;
  top: 18%;
  display: grid;
  gap: 6px;
  width: min(86%, 480px);
  padding: 16px 18px;
  border: 1px solid rgba(134, 223, 255, 0.38);
  border-radius: 8px;
  background: rgba(3, 9, 20, 0.92);
  color: rgba(238, 248, 255, 0.82);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.xr-notice strong {
  color: #86dfff;
  font-size: 16px;
}

.xr-notice span {
  font-size: 13px;
  line-height: 1.45;
}

.xr-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.motion-hint-overlay {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 18;
  display: grid;
  justify-items: center;
  width: min(82vw, 280px);
  min-height: 150px;
  padding: 10px 14px;
  color: rgba(246, 252, 255, 0.94);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.98);
  transition: opacity 520ms ease, transform 520ms ease;
}

.motion-hint-overlay.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.motion-hint-stage {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  opacity: 0;
}

.motion-hint-overlay.is-visible .motion-hint-stage-touch {
  animation: motionStage 3s ease both;
}

.motion-hint-overlay.is-visible .motion-hint-stage-mouse {
  animation: motionStage 3s ease both;
  animation-delay: 3s;
}

.motion-hint-track {
  position: relative;
  width: 118px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 9, 18, 0.28);
  box-shadow: 0 0 28px rgba(42, 183, 255, 0.12), inset 0 0 24px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.motion-hint-track svg {
  position: absolute;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
}

.motion-hint-hand {
  width: 72px;
  height: 72px;
  transform: translateX(-20px);
}

.motion-hint-overlay.is-visible .motion-hint-hand {
  animation: calmSwipe 3s ease-in-out both;
}

.motion-hint-track .motion-hint-mouse {
  position: static;
  flex: 0 0 auto;
  width: 56px;
  height: 68px;
  transform: none;
}

.motion-hint-wheel-glow {
  fill: rgba(42, 183, 255, 0.12);
  stroke: rgba(118, 219, 255, 0.7);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 8px rgba(42, 183, 255, 0.7));
  opacity: 0.24;
}

.motion-hint-wheel {
  transform-box: fill-box;
  transform-origin: center;
}

.motion-hint-overlay.is-visible .motion-hint-wheel,
.motion-hint-overlay.is-visible .motion-hint-wheel-glow {
  animation: mouseWheelPulse 0.86s ease-in-out infinite;
}

.motion-hint-track-mouse {
  width: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.motion-hint-track-mouse .motion-hint-zoom-axis {
  position: static;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: rgba(246, 252, 255, 0.82);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  transform: none;
}

.motion-hint-zoom-line {
  position: relative;
  width: 2px;
  height: 30px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.66;
}

.motion-hint-zoom-line::before,
.motion-hint-zoom-line::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
}

.motion-hint-zoom-line::before {
  top: -1px;
  transform: translateX(-50%) rotate(45deg);
}

.motion-hint-zoom-line::after {
  bottom: -1px;
  transform: translateX(-50%) rotate(225deg);
}

.motion-hint-arrow-left,
.motion-hint-arrow-right {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-top: 2px solid currentColor;
  opacity: 0.72;
}

.motion-hint-arrow-left {
  left: 17px;
  border-left: 2px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
}

.motion-hint-arrow-right {
  right: 17px;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.motion-hint-text {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(5, 9, 18, 0.34);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.46);
}

.motion-hint-note {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  width: max-content;
  max-width: 88vw;
  color: rgba(246, 252, 255, 0.66);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
}

@keyframes motionStage {
  0%,
  100% {
    opacity: 0;
    transform: translateY(5px) scale(0.98);
  }

  12%,
  86% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes calmSwipe {
  0% {
    transform: translateX(0);
  }

  24% {
    transform: translateX(24px);
  }

  52% {
    transform: translateX(-24px);
  }

  76%,
  100% {
    transform: translateX(0);
  }
}

@keyframes mouseWheelPulse {
  0%,
  100% {
    opacity: 0.28;
  }

  50% {
    opacity: 1;
  }
}

.back-button {
  position: static;
  z-index: auto;
  display: inline-flex;
  align-items: center;
  width: 32px;
  height: 32px;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(8, 11, 20, 0.68);
  color: rgba(255, 255, 255, 0.96);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0.9;
  text-transform: uppercase;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.back-button:hover,
.back-button:focus-visible {
  border-color: rgba(255, 77, 184, 0.72);
  background: rgba(255, 63, 180, 0.2);
  color: #ff76bd;
  outline: none;
  transform: translateY(-1px);
}

.back-button-gallery-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.back-button-text {
  display: none;
}

.player-brand-link {
  position: absolute;
  top: 24px;
  left: 58px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  width: 118px;
  min-height: 28px;
  opacity: 0.62;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.player-brand-link:hover,
.player-brand-link:focus-visible {
  opacity: 0.92;
  transform: translateY(-1px);
}

.player-brand-link img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 63, 180, 0.12)) drop-shadow(0 0 10px rgba(42, 183, 255, 0.12));
}

.player-premium-badge {
  position: absolute;
  top: 58px;
  left: 76px;
  z-index: 4;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(5, 7, 13, 0.78);
  color: #ff4fa3;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.34);
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.player-premium-badge svg {
  width: 16px;
  height: 16px;
  overflow: visible;
  fill: currentColor;
}

.player-premium-badge path {
  stroke: #ff72b5;
  stroke-width: 0.45;
  stroke-linejoin: round;
}

.player-corner-links {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
}

.player-corner-link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  display: inline-block;
  align-items: center;
  justify-content: center;
  transition: color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.player-corner-link:hover {
  color: rgba(255, 255, 255, 0.96);
  transform: translateY(-1px);
}

.player-corner-link svg {
  display: none;
}

.quality-indicator {
  display: none !important;
}

.video-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  background: #020207;
}

.player-screen::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(2, 3, 10, 0.94));
  pointer-events: none;
}

.player-header,
.player-status,
.player-controls,
.player-center {
  position: relative;
  z-index: 2;
  transition: opacity 0.22s ease;
}

.player-header,
.player-center,
.player-controls {
  pointer-events: none;
}

.player-status {
  pointer-events: none;
}

.player-header button,
.player-header input,
.player-header select,
.player-header label {
  pointer-events: auto;
}

.player-center button,
.player-controls button,
.player-controls input,
.player-controls select,
.player-controls label {
  pointer-events: auto;
}

.player-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 22px 22px 0;
}

.header-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.quality-indicator {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  pointer-events: none;
}

.mode-pill,
.quality-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  background: rgba(9, 13, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.quality-pill {
  color: #86dfff;
}

.quality-pill-live {
  min-width: 84px;
  justify-content: center;
  background: rgba(7, 12, 22, 0.82);
  border-color: rgba(118, 219, 255, 0.22);
  box-shadow: 0 0 18px rgba(42, 183, 255, 0.12);
}

.player-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 28px;
  opacity: 1;
}

.big-play {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.big-play.is-playing {
  background: radial-gradient(circle at 50% 35%, rgba(42, 183, 255, 0.26), rgba(3, 6, 14, 0.9));
  box-shadow: 0 0 24px rgba(42, 183, 255, 0.45), 0 0 48px rgba(255, 63, 180, 0.18);
}

.big-play img {
  width: 48px;
  height: 48px;
}

.big-play svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.8));
}

.player-hint {
  margin: 18px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.player-subhint {
  margin: 8px 0 0;
  max-width: 290px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.player-status {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 172px;
  padding: 0 24px;
}

.player-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4.4vw, 34px);
  font-weight: 700;
}

.player-description {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.player-description code {
  color: #ffd8f3;
}

.player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 20px 14px;
  opacity: 0.4;
  transition: opacity 180ms ease;
}

.player-controls:hover,
.player-controls:focus-within {
  opacity: 0.78;
}

.timeline-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 0 6px;
}

.time-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.58);
  min-width: 32px;
}

.timeline {
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--blue));
  outline: none;
}

.timeline::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5cca;
  border: 2px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 10px rgba(255, 63, 180, 0.44);
  cursor: pointer;
}

.timeline::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5cca;
  border: 2px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 10px rgba(255, 63, 180, 0.44);
  cursor: pointer;
}

.controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.controls-left,
.controls-right {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.volume-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 0 6px;
}

.volume-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  min-width: 54px;
}

.volume-bar {
  appearance: none;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  outline: none;
}

.volume-bar-wide {
  width: 100%;
}

.volume-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.volume-bar-inline {
  width: 48px;
}

.marker-button {
  position: relative;
}

.marker-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.marker-button.is-active svg {
  fill: rgba(255, 63, 180, 0.28);
  stroke: #ff4db8;
}

.marker-count {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  place-items: center;
  border-radius: 8px;
  background: #ff3fb4;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.marker-count:empty,
.marker-count[data-count="0"] {
  display: none;
}

.marker-panel {
  position: absolute;
  right: 20px;
  bottom: 74px;
  width: min(390px, calc(100vw - 40px));
  max-height: min(430px, calc(100vh - 150px));
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(255, 63, 180, 0.34);
  border-radius: 8px;
  background: rgba(5, 8, 17, 0.96);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.56);
  color: #fff;
  opacity: 1;
}

.marker-panel header,
.marker-row,
.marker-row-actions {
  display: flex;
  align-items: center;
}

.marker-panel header {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.marker-panel header button,
.marker-delete,
.marker-stop {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.marker-panel header button {
  width: 28px;
  height: 28px;
  font-size: 22px;
}

.marker-create {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.marker-create button,
.marker-play,
.marker-stop {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(32, 39, 57, 0.94);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.marker-create button:hover,
.marker-play:hover,
.marker-row.is-looping .marker-play {
  border-color: rgba(255, 63, 180, 0.66);
  background: rgba(184, 42, 129, 0.72);
}

.marker-create button:disabled {
  opacity: 0.38;
  cursor: default;
}

.marker-create > span {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  line-height: 1.4;
}

.marker-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.marker-row {
  justify-content: space-between;
  gap: 6px;
  min-height: 42px;
  padding: 5px 6px 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.marker-row.is-looping {
  border-color: rgba(255, 63, 180, 0.52);
}

.marker-play {
  flex: 1;
  min-width: 0;
  padding: 0 10px;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marker-delete {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  font-size: 20px;
}

.marker-stop {
  width: 100%;
  color: #ff85c8;
}

.marker-empty {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 11px;
}

.volume-bar::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #ffffff;
  box-shadow: 0 0 14px rgba(42, 183, 255, 0.4);
  cursor: pointer;
}

.volume-bar::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #ffffff;
  box-shadow: 0 0 14px rgba(42, 183, 255, 0.4);
  cursor: pointer;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 9, 18, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 6px 16px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.icon-button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.icon-button-sound svg {
  width: 18px;
  height: 18px;
}

.icon-button-main {
  width: 52px;
  height: 52px;
  box-shadow: 0 0 14px rgba(255, 63, 180, 0.22), 0 0 18px rgba(42, 183, 255, 0.16);
}

.icon-button.is-playing,
.icon-button-main.is-playing {
  background: radial-gradient(circle at 50% 35%, rgba(42, 183, 255, 0.24), rgba(3, 6, 14, 0.9));
  border-color: rgba(42, 183, 255, 0.4);
  box-shadow: 0 0 24px rgba(42, 183, 255, 0.45), 0 0 48px rgba(255, 63, 180, 0.18);
}

.icon-button-main img {
  width: 34px;
  height: 34px;
}

.icon-button-main svg {
  width: 34px;
  height: 34px;
}

.quality-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 122px;
  height: 34px;
  border: 1px solid rgba(134, 223, 255, 0.32);
  border-radius: 6px;
  background: rgba(3, 6, 16, 0.7);
  overflow: hidden;
}

.quality-select-wrap::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #86dfff;
  border-bottom: 2px solid #86dfff;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.quality-select {
  width: 100%;
  min-width: 122px;
  height: 34px;
  padding: 0 32px 0 12px;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #86dfff;
  font: inherit;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
  outline: none;
  text-align: left;
  text-align-last: left;
  -moz-text-align-last: left;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
}

.quality-select option {
  background: #070a14;
  color: #f7f8ff;
}

.quality-select:focus-visible,
.icon-button:focus-visible,
.big-play:focus-visible {
  outline: 2px solid rgba(42, 183, 255, 0.95);
  outline-offset: 2px;
}

.quality-select:focus,
.quality-select:focus-visible,
.quality-select:hover,
.quality-select:active {
  outline: none;
  box-shadow: none;
  border-color: transparent;
}

.icon-button.is-active {
  box-shadow: var(--glow);
  border-color: rgba(42, 183, 255, 0.45);
}

.vr-headset-button img {
  width: 28px;
  height: 28px;
}

.vr-headset-button.is-unavailable {
  opacity: 0.58;
}

.player-screen.ui-hidden .player-header,
.player-screen.ui-hidden .player-controls,
.player-screen.ui-hidden .back-button,
.player-screen.ui-hidden .player-brand-link,
.player-screen.ui-hidden .player-premium-badge,
.player-screen.ui-hidden .player-corner-links {
  opacity: 0;
  pointer-events: none;
}

.player-status,
.player-hint,
.player-subhint {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  :root {
    --device-width: min(100vw, 440px);
    --device-height: 100vh;
  }

  .page-shell {
    padding: 0;
  }

  .device-frame {
    border-radius: 0;
    border: 0;
    height: 100vh;
    width: 100vw;
  }

  .device-frame::before {
    display: none;
  }

  .player-logo {
    width: 132px;
  }

  .quality-indicator {
    top: 18px;
    right: 18px;
  }

  .landing-content {
    padding: 42px 20px 26px;
  }

  .landing-logo {
    width: min(52%, 210px);
    margin-bottom: 14px;
  }

  .landing-title {
    font-size: 30px;
  }

  .landing-subtitle {
    margin-top: 10px;
    font-size: 14px;
  }

  .landing-tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    margin-top: 24px;
  }

  .landing-tip {
    gap: 8px;
  }

  .landing-tip svg {
    width: 28px;
    height: 28px;
  }

  .landing-tip span {
    font-size: 10px;
  }

  .landing-girls {
    width: min(96%, 360px);
    margin-top: 8px;
  }

  .landing-cta {
    width: min(92%, 340px);
    min-height: 72px;
    margin-top: 6px;
  }

  .landing-cta span {
    font-size: 15px;
    letter-spacing: 0.2em;
  }

  .landing-brand-links-bottom {
    gap: 18px;
    margin-top: 20px;
  }

  .landing-brand-bottom-patreon {
    font-size: 16px;
  }

  .landing-brand-bottom-boosty {
    font-size: 20px;
  }

  .landing-brand-divider {
    height: 34px;
  }

  .back-button {
    top: 18px;
    left: 18px;
    font-size: 11px;
  }

  .player-brand-link {
    top: 22px;
    left: 48px;
    width: 92px;
    min-height: 24px;
    opacity: 0.58;
  }

  .player-premium-badge {
    top: 52px;
    left: 65px;
    width: 26px;
    height: 26px;
  }

  .player-premium-badge svg {
    width: 15px;
    height: 15px;
  }

  .player-corner-links {
    top: 20px;
    left: 50%;
    gap: 10px;
  }

  .player-corner-link {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .mode-pill,
  .quality-pill {
    min-height: 32px;
    padding: 0 10px;
    font-size: 10px;
  }

  .player-title {
    font-size: 28px;
  }

  .player-status {
    bottom: 168px;
  }

  .controls-row {
    gap: 8px;
  }

  .controls-left,
  .controls-right {
    gap: 6px;
  }

  .volume-bar-inline {
    width: 44px;
  }

  .icon-button {
    width: 54px;
    height: 54px;
  }

  .icon-button-main {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 560px) {
  .landing-content {
    padding: 24px 16px 16px;
  }

  .landing-logo-crop {
    width: 32%;
    height: 25px;
  }

  .landing-title-art {
    width: 91%;
    margin-top: 26px;
  }

  .landing-tips-art {
    width: 95%;
    margin-top: -34px;
  }

  .landing-girls-art {
    width: 77.5%;
    margin-top: -14px;
  }

  .landing-cta {
    width: 91%;
    min-height: 0;
    margin-top: -46px;
  }

  .landing-social-crop {
    width: 55.1%;
    height: auto;
    margin-top: 2px;
  }
}

@media (max-height: 760px) {
  .landing-content {
    padding-top: 16px;
  }

  .landing-logo-crop {
    height: 22px;
  }

  .landing-title-art {
    width: 82%;
    margin-top: 22px;
  }

  .landing-tips-art {
    width: 86%;
    margin-top: -36px;
  }

  .landing-girls-art {
    width: 67%;
    margin-top: -50px;
  }

  .landing-cta {
    width: 78%;
    margin-top: -46px;
  }

  .landing-social-crop {
    width: 47.9%;
    height: auto;
    margin-top: -2px;
  }
}

/* On tall screens, keep the artwork group near the bottom instead of leaving dead space. */
@media (min-height: 761px) {
  .landing-girls-art {
    margin-top: auto;
  }
}

/* Keep every player-header item on one visual baseline. */
.back-button,
.player-corner-links {
  top: 20px;
  height: 28px;
}

.player-header {
  padding-top: 20px;
}

.quality-select-wrap,
.quality-select {
  height: 28px;
  line-height: 28px;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gyro-button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.gyro-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.gyro-button.is-active {
  color: #75d8ff;
  filter: drop-shadow(0 0 7px rgba(42, 183, 255, 0.65));
}

@media (min-width: 1600px) and (min-height: 850px) {
  .back-button,
  .player-corner-links {
    top: 28px;
    height: 36px;
  }

  .back-button {
    left: 28px;
    font-size: 14px;
  }

  .back-button-arrow {
    font-size: 34px;
  }

  .player-corner-link,
  .quality-select {
    font-size: 13px;
  }

  .player-header {
    padding: 28px 28px 0;
  }

  .quality-indicator {
    top: 28px;
    right: 28px;
  }

  .gyro-button {
    width: 38px;
    height: 36px;
  }

  .gyro-button svg {
    width: 28px;
    height: 28px;
  }

  .quality-select-wrap,
  .quality-select {
    height: 36px;
    line-height: 36px;
  }

  .player-controls {
    padding: 22px 34px 32px;
  }

  .timeline-wrap {
    gap: 14px;
  }

  .time-label {
    min-width: 48px;
    font-size: 15px;
  }

  .timeline {
    height: 8px;
  }

  .timeline::-webkit-slider-thumb {
    width: 26px;
    height: 26px;
  }

  .timeline::-moz-range-thumb {
    width: 26px;
    height: 26px;
  }

  .controls-row {
    gap: 14px;
    margin-top: 18px;
  }

  .controls-left,
  .controls-right {
    gap: 12px;
  }

  .icon-button {
    width: 70px;
    height: 70px;
  }

  .icon-button img,
  .icon-button svg {
    width: 42px;
    height: 42px;
  }

  .icon-button-sound svg {
    width: 32px;
    height: 32px;
  }

  .icon-button-main {
    width: 96px;
    height: 96px;
  }

  .icon-button-main img,
  .icon-button-main svg {
    width: 76px;
    height: 76px;
  }

  .volume-inline {
    gap: 10px;
  }

  .volume-bar-inline {
    width: 82px;
    height: 5px;
  }

  .volume-bar::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
  }

  .volume-bar::-moz-range-thumb {
    width: 18px;
    height: 18px;
  }

  .motion-hint-overlay {
    width: min(82vw, 330px);
    min-height: 176px;
  }

  .motion-hint-track {
    width: 138px;
    height: 108px;
  }

  .motion-hint-text {
    font-size: 16px;
    padding: 9px 15px;
  }
}

@media (max-width: 560px) {
  :root {
    --device-height: 100dvh;
  }

  html,
  body,
  .page-shell,
  .device-frame {
    height: 100dvh;
    min-height: 100dvh;
  }

  .device-frame {
    width: 100vw;
  }

  .player-controls {
    bottom: 0;
    padding: 12px 14px max(14px, env(safe-area-inset-bottom));
  }

  .controls-row {
    margin-top: 10px;
  }

  .icon-button {
    width: 48px;
    height: 48px;
  }

  .icon-button-main {
    width: 64px;
    height: 64px;
  }

  .volume-inline {
    gap: 4px;
  }

  .volume-bar-inline {
    width: 38px;
  }

  .landing-girls-art {
    margin-top: -72px;
    opacity: 1;
    filter: brightness(1.2) drop-shadow(-10px 0 22px rgba(255, 42, 168, 0.12)) drop-shadow(10px 0 24px rgba(30, 164, 255, 0.12));
  }
}

@media (max-width: 560px) and (max-height: 760px) {
  .landing-girls-art {
    margin-top: -66px;
  }
}

/* Keep the approved cover composition intact at every browser zoom level. */
.landing-art {
  overflow: hidden;
}

.landing-content {
  inset: auto;
  left: 50%;
  top: 50%;
  width: 440px;
  height: 920px;
  padding: 0;
  display: block;
  overflow: visible;
  transform: translate(-50%, -50%) scale(var(--landing-scale, 1));
  transform-origin: center;
}

.landing-logo-final,
.landing-title-art,
.landing-tips-art,
.landing-girls-art,
.landing-cta,
.landing-social-crop {
  position: absolute;
  left: 50%;
  margin: 0;
  flex: none;
  transform: translateX(-50%);
}

.landing-logo-final {
  top: 42px;
  width: 31%;
}

.landing-logo-link {
  position: absolute;
  left: 50%;
  top: 42px;
  z-index: 9;
  display: block;
  width: 31%;
  min-height: 24px;
  transform: translateX(-50%);
  opacity: 0.96;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.landing-logo-link:hover,
.landing-logo-link:focus-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-1px);
}

.landing-logo-link .landing-logo-final {
  position: static;
  left: auto;
  top: auto;
  width: 100%;
  transform: none;
}

.landing-title-art {
  top: 102px;
  width: 88%;
}

.landing-tips-art {
  top: 202px;
  width: 92%;
}

.landing-girls-art {
  top: 308px;
  width: 75.5%;
  height: auto;
  min-height: 0;
  opacity: 1;
  filter: brightness(1.2) drop-shadow(-10px 0 22px rgba(255, 42, 168, 0.12)) drop-shadow(10px 0 24px rgba(30, 164, 255, 0.12));
}

.landing-cta {
  top: 680px;
  width: 88%;
  z-index: 4;
}

.landing-social-crop {
  top: 816px;
  width: 46.5%;
  z-index: 5;
}

@media (hover: hover) and (pointer: fine) {
  .landing-cta:hover,
  .landing-cta:focus-visible {
    transform: translateX(-50%);
  }
}

.player-screen.is-pseudo-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100vw;
  height: 100dvh;
  min-height: 100svh;
  border-radius: 0;
  background-color: #02030a;
}

html.is-pseudo-fullscreen,
html.is-pseudo-fullscreen body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html.is-pseudo-fullscreen .page-shell,
html.is-pseudo-fullscreen .device-frame {
  width: 100vw;
  height: 100dvh;
  min-height: 100svh;
  padding: 0;
  border: 0;
  border-radius: 0;
}

@media (max-width: 560px) {
  .player-screen {
    height: 100dvh;
    min-height: 100svh;
  }

  .player-controls {
    bottom: calc(max(18px, env(safe-area-inset-bottom)) + var(--viewport-bottom-offset, 0px));
    padding: 10px 14px 10px;
  }

  .player-screen::after {
    height: 42%;
  }

  .timeline-wrap {
    gap: 8px;
  }

  .time-label {
    min-width: 34px;
    font-size: 11px;
  }

  .controls-left {
    width: 100%;
    justify-content: center;
  }

  .volume-bar-inline {
    width: 34px;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 560px) {
    .player-controls {
      bottom: calc(max(20px, env(safe-area-inset-bottom)) + var(--viewport-bottom-offset, 0px) + 10px);
    }
  }
}

@media (pointer: fine) {
  :root {
    --device-width: min(96vw, calc(86vh * 16 / 9), 1280px);
    --device-height: min(86vh, calc(96vw * 9 / 16), 720px);
  }

  html,
  body,
  .page-shell {
    min-height: 100vh;
  }

  .page-shell {
    height: auto;
    padding: 24px;
  }

  .device-frame {
    width: var(--device-width);
    height: var(--device-height);
    min-height: 0;
    border-radius: 54px;
    border: 2px solid rgba(255, 255, 255, 0.18);
  }

  .device-frame::before {
    display: block;
  }
}

html.is-desktop-layout {
  --device-width: min(96vw, calc(86vh * 16 / 9), 1280px);
  --device-height: min(86vh, calc(96vw * 9 / 16), 720px);
}

html.is-desktop-layout,
html.is-desktop-layout body {
  min-height: 100vh;
}

html.is-desktop-layout .page-shell {
  height: auto;
  min-height: 100vh;
  padding: 24px;
}

html.is-desktop-layout .device-frame {
  width: var(--device-width);
  height: var(--device-height);
  min-height: 0;
  border-radius: 54px;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

html.is-desktop-layout .device-frame::before {
  display: block;
}

html.is-desktop-layout .player-screen {
  height: auto;
  min-height: 0;
}

html.is-desktop-player-fullscreen,
html.is-desktop-player-fullscreen body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html.is-desktop-player-fullscreen .page-shell,
html.is-desktop-player-fullscreen .device-frame {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  padding: 0;
  border: 0;
  border-radius: 0;
}

html.is-desktop-player-fullscreen .device-frame::before {
  display: none;
}

html.is-desktop-player-fullscreen .player-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  border-radius: 0;
}

/* Final desktop control style: compact, translucent, premium. */
html.is-desktop-player-fullscreen .player-controls {
  padding: 8px 18px 12px;
  opacity: 0.38;
}

html.is-desktop-player-fullscreen .player-controls:hover,
html.is-desktop-player-fullscreen .player-controls:focus-within {
  opacity: 0.72;
}

html.is-desktop-player-fullscreen .timeline-wrap {
  gap: 7px;
  padding: 0 4px;
}

html.is-desktop-player-fullscreen .timeline {
  height: 2px;
}

html.is-desktop-player-fullscreen .timeline::-webkit-slider-thumb {
  width: 9px;
  height: 9px;
  border-width: 1px;
  box-shadow: 0 0 7px rgba(255, 63, 180, 0.36);
}

html.is-desktop-player-fullscreen .timeline::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border-width: 1px;
  box-shadow: 0 0 7px rgba(255, 63, 180, 0.36);
}

html.is-desktop-player-fullscreen .time-label {
  min-width: 30px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.48);
}

html.is-desktop-player-fullscreen .controls-row {
  gap: 6px;
  margin-top: 7px;
}

html.is-desktop-player-fullscreen .controls-left,
html.is-desktop-player-fullscreen .controls-right {
  gap: 5px;
}

html.is-desktop-player-fullscreen .icon-button {
  width: 30px;
  height: 30px;
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(4, 7, 14, 0.24);
  box-shadow: none;
}

html.is-desktop-player-fullscreen .icon-button-main {
  width: 38px;
  height: 38px;
  box-shadow: 0 0 8px rgba(255, 63, 180, 0.18);
}

html.is-desktop-player-fullscreen .icon-button img,
html.is-desktop-player-fullscreen .icon-button svg {
  width: 17px;
  height: 17px;
}

html.is-desktop-player-fullscreen .icon-button-main img,
html.is-desktop-player-fullscreen .icon-button-main svg {
  width: 24px;
  height: 24px;
}

html.is-desktop-player-fullscreen .icon-button-sound svg {
  width: 15px;
  height: 15px;
}

html.is-desktop-player-fullscreen .volume-inline {
  gap: 5px;
}

html.is-desktop-player-fullscreen .volume-bar-inline {
  width: 38px;
}

html.is-desktop-player-fullscreen .volume-bar {
  height: 2px;
}

html.is-desktop-player-fullscreen .volume-bar::-webkit-slider-thumb {
  width: 8px;
  height: 8px;
}

html.is-desktop-player-fullscreen .volume-bar::-moz-range-thumb {
  width: 8px;
  height: 8px;
}

html.is-desktop-player-fullscreen .player-center {
  opacity: 0.34;
}

html.is-desktop-player-fullscreen .big-play {
  width: 54px;
  height: 54px;
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(5, 9, 18, 0.2);
  box-shadow: 0 0 8px rgba(255, 63, 180, 0.14);
}

html.is-desktop-player-fullscreen .big-play img,
html.is-desktop-player-fullscreen .big-play svg {
  width: 32px;
  height: 32px;
}

html.is-desktop-player-fullscreen .player-screen.is-poster-visible .player-center {
  opacity: 1;
}

html.is-desktop-player-fullscreen .player-screen.is-poster-visible .big-play {
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

html.is-desktop-player-fullscreen .player-screen.is-poster-visible .big-play img,
html.is-desktop-player-fullscreen .player-screen.is-poster-visible .big-play svg {
  width: 48px;
  height: 48px;
}

.landing-cta {
  display: block;
}

.private-access-form {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  width: min(92%, 680px);
  transform: translate(-50%, -50%);
  display: none;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 63, 180, 0.16), rgba(42, 183, 255, 0.1)),
    rgba(4, 7, 14, 0.78);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(255, 63, 180, 0.1);
  backdrop-filter: blur(18px);
}

.landing-screen.is-access-open .landing-logo-final {
  position: relative;
  z-index: 9;
}

.landing-screen.is-access-open .landing-title-art {
  position: relative;
  z-index: 7;
  width: 70.4%;
  opacity: 0.3;
  transform: translate(-160px, -28px);
  pointer-events: none;
}

.landing-screen.is-access-open .private-access-form {
  display: grid;
}

.landing-screen.is-access-open .landing-cta,
.landing-screen.is-access-open .landing-tips-art,
.landing-screen.is-access-open .landing-girls-art,
.landing-screen.is-access-open .landing-social-crop {
  opacity: 0;
  pointer-events: none;
}

.private-access-copy {
  display: grid;
  gap: 12px;
  text-align: center;
}

.private-access-copy strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
}

.private-access-copy span {
  color: rgba(246, 247, 251, 0.66);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.4;
}

.private-access-label {
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.private-access-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
}

.private-access-input,
.private-access-submit {
  min-height: 60px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 17px;
}

.private-access-input {
  min-width: 0;
  padding: 0 22px;
  background: rgba(4, 7, 14, 0.62);
  outline: none;
  text-align: center;
}

.private-access-input:focus {
  border-color: rgba(42, 183, 255, 0.54);
  box-shadow: 0 0 12px rgba(42, 183, 255, 0.16);
}

.private-access-submit {
  padding: 0 28px;
  cursor: pointer;
  border-color: rgba(255, 63, 180, 0.42);
  background: linear-gradient(90deg, rgba(255, 63, 180, 0.88), rgba(42, 183, 255, 0.82));
  box-shadow: 0 12px 30px rgba(255, 63, 180, 0.2);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.private-access-note {
  margin: 0;
  color: rgba(246, 247, 251, 0.52);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.private-access-note.is-error {
  color: rgba(255, 122, 186, 0.9);
}

html.is-headset-browser .landing-screen.is-access-open .landing-title-art {
  opacity: 0.08;
}

html.is-headset-browser .private-access-form {
  width: min(92%, 760px);
  gap: 20px;
  padding: 32px;
  border: 2px solid rgba(100, 215, 255, 0.54);
  border-radius: 8px;
  background: #080d18;
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.72);
  backdrop-filter: none;
}

html.is-headset-browser .private-access-copy strong {
  font-size: 36px;
}

html.is-headset-browser .private-access-copy span,
html.is-headset-browser .private-access-note {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

html.is-headset-browser .private-access-label {
  color: #fff;
  font-size: 16px;
  letter-spacing: 0;
}

html.is-headset-browser .private-access-input,
html.is-headset-browser .private-access-submit {
  min-height: 68px;
  border-radius: 8px;
  font-size: 20px;
}

html.is-headset-browser .private-access-note.is-error {
  color: #ff91c6;
  font-weight: 700;
}

.catalog-screen {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px;
  overflow: auto;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 63, 180, 0.14), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(42, 183, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(4, 6, 14, 0.98), rgba(1, 2, 8, 0.99));
}

.catalog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.player-corner-links .back-button {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.catalog-logo {
  width: 116px;
  height: auto;
  margin-bottom: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 63, 180, 0.18)) drop-shadow(0 0 12px rgba(42, 183, 255, 0.18));
}

.catalog-logo-link {
  display: inline-flex;
  width: 116px;
  margin-bottom: 22px;
  opacity: 0.9;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.catalog-logo-link:hover,
.catalog-logo-link:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.catalog-logo-link .catalog-logo {
  width: 100%;
  margin-bottom: 0;
}

.catalog-header h1 {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.catalog-subtitle {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(246, 247, 251, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.catalog-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.catalog-access-email {
  max-width: 260px;
  overflow: hidden;
  color: rgba(134, 223, 255, 0.72);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-action-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.catalog-signout,
.catalog-view-toggle,
.catalog-budget-button {
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(4, 7, 14, 0.34);
  color: rgba(255, 255, 255, 0.68);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.catalog-budget-button:not(.is-hidden) {
  border-color: rgba(255, 190, 73, 0.34);
  color: rgba(255, 211, 126, 0.86);
}

.catalog-view-toggle {
  border-color: rgba(255, 63, 180, 0.3);
  color: rgba(255, 255, 255, 0.84);
}

.catalog-view-toggle:hover,
.catalog-view-toggle:focus-visible,
.catalog-view-toggle[aria-pressed="true"] {
  border-color: rgba(255, 63, 180, 0.7);
  background: rgba(255, 63, 180, 0.16);
  color: #fff;
}

.access-activity {
  flex: 0 0 auto;
  border: 1px solid rgba(134, 223, 255, 0.16);
  border-radius: 8px;
  background: rgba(4, 7, 14, 0.48);
}

.access-activity > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.access-activity > summary small {
  color: rgba(134, 223, 255, 0.66);
  font-size: 10px;
  font-weight: 500;
}

.access-activity-list {
  display: grid;
  max-height: 320px;
  overflow: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.access-activity-user {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.access-activity-user > summary {
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) minmax(180px, 1fr) minmax(150px, 1fr) minmax(150px, 0.9fr);
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 7px 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  cursor: pointer;
}

.access-activity-user > summary strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.92);
}

.access-location-changed {
  color: rgba(255, 195, 88, 0.9);
}

.access-visit-list {
  display: grid;
  background: rgba(255, 255, 255, 0.025);
}

.access-activity-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(140px, 0.8fr) minmax(120px, 0.7fr) minmax(100px, 0.55fr);
  gap: 12px;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px 6px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.access-activity-empty {
  margin: 0;
  padding: 14px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.more-videos-button {
  position: absolute;
  left: 50%;
  bottom: max(76px, calc(100% / 15));
  transform: translateX(-50%) translateY(6px);
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 63, 180, 0.76), rgba(42, 183, 255, 0.66));
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 16px 42px rgba(255, 63, 180, 0.24);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.more-videos-button.is-visible {
  opacity: 0.88;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.more-videos-button:hover,
.more-videos-button:focus-visible {
  opacity: 1;
}

.more-videos-close {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(4, 7, 14, 0.24);
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.player-screen.is-fullscreen-active .more-videos-button {
  opacity: 0 !important;
  pointer-events: none !important;
}

.player-screen.is-fullscreen-active .player-center,
.player-screen.is-fullscreen-active .player-status,
.player-screen.is-fullscreen-active .motion-hint,
.player-screen.is-fullscreen-active .player-header {
  display: none !important;
}

.player-screen.is-fullscreen-active::after {
  display: none;
}

.player-screen.is-fullscreen-active .player-corner-links,
.player-screen.is-fullscreen-active .quality-indicator {
  opacity: 0.92;
}

.player-screen.is-fullscreen-active .player-controls,
.player-screen.is-fullscreen-active .back-button,
.player-screen.is-fullscreen-active .player-brand-link {
  opacity: 0.82 !important;
  pointer-events: auto !important;
}

.player-screen.is-fullscreen-active .player-premium-badge {
  opacity: 0.82 !important;
}

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

@media (max-width: 1040px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .catalog-grid { grid-template-columns: 1fr; }
}

.catalog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 252px;
  padding: 10px;
  gap: 2px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(7, 10, 20, 0.5);
  color: inherit;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.catalog-card.is-publication-preview {
  border-color: rgba(255, 58, 169, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 58, 169, 0.28), 0 0 30px rgba(255, 58, 169, 0.2);
}

.catalog-empty-card {
  display: grid;
  min-height: 252px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 20, 0.28);
  color: rgba(246, 247, 251, 0.26);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.catalog-empty-card:hover,
.catalog-empty-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.54);
  outline: none;
}

.coming-soon-screen {
  position: absolute;
  inset: 0;
  z-index: 16;
  display: grid;
  place-items: center;
  background: #03040a;
  cursor: pointer;
  overflow: hidden;
}

.coming-soon-backdrop {
  position: absolute;
  inset: -28px;
  background-position: center;
  background-size: cover;
  filter: blur(16px);
  opacity: 0.62;
  transform: scale(1.06);
}

.coming-soon-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(3, 4, 10, 0.48);
}

.coming-soon-message {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 28px;
  text-align: center;
}

.coming-soon-title {
  color: #fff;
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
}

.coming-soon-message p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 28px);
}

.external-player-screen {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  overflow: hidden;
  padding: 0;
  place-items: center;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: none;
}

.external-player-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.external-player-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.external-player-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #05060b;
}

.external-player-fallback > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.external-player-fallback-copy {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(520px, calc(100% - 40px));
  gap: 12px;
  justify-items: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.external-player-fallback-copy strong {
  color: #fff;
  font-size: clamp(20px, 3vw, 36px);
  letter-spacing: 0;
}

.external-player-fallback-copy a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 77, 184, 0.68);
  border-radius: 6px;
  background: rgba(255, 77, 184, 0.78);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.external-player-brand,
.external-player-back {
  position: absolute;
  z-index: 2;
  top: max(18px, env(safe-area-inset-top));
  opacity: 0.72;
  transition: opacity 0.18s ease, background 0.18s ease;
}

.external-player-brand {
  left: max(22px, env(safe-area-inset-left));
  display: inline-flex;
  width: 118px;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.54);
}

.external-player-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.external-player-back {
  top: max(82px, calc(env(safe-area-inset-top) + 64px));
  left: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 9px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.56);
  color: rgba(255, 255, 255, 0.88);
  transform: translateX(-50%);
  cursor: pointer;
}

.external-player-tools {
  position: absolute;
  z-index: 3;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  display: flex;
  gap: 8px;
}

.external-player-tool {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 9px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.62);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.external-player-tool svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.external-player-back svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.external-player-brand:hover,
.external-player-brand:focus-visible,
.external-player-back:hover,
.external-player-back:focus-visible,
.external-player-tool:hover,
.external-player-tool:focus-visible,
.external-player-tool.is-active {
  opacity: 1;
  background: rgba(255, 63, 180, 0.76);
  outline: none;
}

.external-player-shell:fullscreen,
.external-player-shell:-webkit-full-screen,
.external-player-shell.is-expanded {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
}

#externalPlayerOpen {
  display: none;
}

@media (max-width: 720px) {
  .external-player-screen {
    padding: 0;
  }

  .external-player-shell {
    width: 100vw;
    height: 100vh;
    max-height: none;
  }

  .external-player-brand {
    left: 10px;
    width: 104px;
    padding: 8px 10px;
  }

  .external-player-tools {
    top: 10px;
    right: 10px;
  }

  .external-player-back {
    top: max(66px, calc(env(safe-area-inset-top) + 56px));
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .external-player-tool {
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .external-player-back svg,
  .external-player-tool svg {
    width: 20px;
    height: 20px;
  }
}

.catalog-announcement-card .catalog-thumb {
  opacity: 0.9;
}

.catalog-more-hint {
  align-self: center;
  color: rgba(134, 223, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-card:hover {
  border-color: rgba(42, 183, 255, 0.36);
  background: rgba(9, 14, 28, 0.72);
}

.catalog-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 7px;
  background-position: center;
  background-size: cover;
  opacity: 0.82;
  -webkit-touch-callout: none;
  user-select: none;
}

.catalog-microteaser {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.catalog-thumb.is-previewing .catalog-microteaser {
  opacity: 1;
}

.catalog-thumb.is-previewing {
  opacity: 1;
}

.catalog-premium-crown {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(5, 7, 13, 0.9);
  color: #ff4fa3;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.42);
}

.catalog-premium-crown svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
  overflow: visible;
}

.catalog-premium-crown path {
  stroke: #ff72b5;
  stroke-width: 0.45;
  stroke-linejoin: round;
}

.catalog-play-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 63, 180, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(255, 63, 180, 0.22);
}

.catalog-view-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 24px);
  flex-wrap: wrap;
  justify-content: flex-end;
  z-index: 3;
}

.catalog-view-actions .catalog-play-badge,
.catalog-vr-badge,
.catalog-deovr-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.catalog-view-actions .catalog-play-badge { width: 70px; flex-shrink: 0; }
.catalog-vr-badge { width: 106px; flex-shrink: 0; }
.catalog-deovr-badge { width: 66px; flex-shrink: 0; }

.catalog-view-actions:has(.catalog-vr-badge:hover) .catalog-play-badge,
.catalog-view-actions:has(.catalog-deovr-badge:hover) .catalog-play-badge,
.catalog-view-actions:has(.catalog-vr-badge:focus-visible) .catalog-play-badge,
.catalog-view-actions:has(.catalog-deovr-badge:focus-visible) .catalog-play-badge {
  background: rgba(28, 34, 52, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.catalog-view-actions .catalog-vr-badge:hover,
.catalog-view-actions .catalog-vr-badge:focus-visible,
.catalog-view-actions .catalog-deovr-badge:hover,
.catalog-view-actions .catalog-deovr-badge:focus-visible {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 63, 180, 0.82);
  box-shadow: 0 10px 26px rgba(255, 63, 180, 0.28);
}

.catalog-vr-badge {
  min-width: 46px;
  background: rgba(18, 116, 151, 0.86);
  box-shadow: 0 10px 26px rgba(42, 183, 255, 0.22);
}

.catalog-deovr-badge {
  min-width: 66px;
  background: rgba(28, 34, 52, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.catalog-view-actions-external .catalog-deovr-badge {
  text-transform: none;
}

.catalog-deovr-badge:disabled,
.catalog-deovr-badge.is-preparing {
  cursor: wait;
  opacity: 0.66;
  pointer-events: none;
}

.catalog-view-actions button:hover,
.catalog-view-actions button:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  outline: none;
}

.catalog-vr-badge.is-unavailable {
  background: rgba(44, 54, 70, 0.9);
  color: rgba(255, 255, 255, 0.66);
  box-shadow: none;
}

.catalog-card-body {
  display: grid;
  gap: 7px;
  padding: 12px 4px 2px;
}

.catalog-card-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.catalog-card-side {
  display: grid;
  min-width: 58px;
  justify-items: end;
  gap: 4px;
}

.catalog-duration {
  color: rgba(134, 223, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.catalog-card strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  line-height: 1.2;
}

.catalog-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(246, 247, 251, 0.62);
  font-size: 12px;
  line-height: 1.35;
}

.catalog-description-wrap {
  display: grid;
  justify-items: start;
  gap: 3px;
}

.catalog-description-wrap.is-expanded .catalog-description {
  display: block;
  overflow: visible;
  -webkit-line-clamp: initial;
}

.catalog-description-toggle {
  min-height: 20px;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(134, 223, 255, 0.8);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.catalog-description-toggle:hover,
.catalog-description-toggle:focus-visible {
  color: #ff4db8;
  outline: none;
}

.catalog-source-premium {
  justify-self: start;
  max-width: 100%;
  box-sizing: border-box;
  padding: 5px 8px;
  border: 1px solid rgba(238, 197, 109, 0.4);
  border-radius: 4px;
  background: rgba(238, 197, 109, 0.08);
  color: #eec56d;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.catalog-premium-access {
  color: #ff86c3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.catalog-author-link {
  justify-self: start;
  color: rgba(134, 223, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.catalog-author-link:hover,
.catalog-author-link:focus-visible {
  color: #ff4db8;
  outline: none;
}

.catalog-engagement {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.catalog-like-button {
  display: inline-flex;
  min-width: 32px;
  height: 24px;
  justify-content: flex-end;
  padding: 0;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  cursor: pointer;
}

.catalog-heart {
  width: 17px;
  height: 17px;
  fill: transparent;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.16s ease, stroke 0.16s ease, filter 0.16s ease, transform 0.16s ease;
}

.catalog-like-button:hover .catalog-heart,
.catalog-like-button:focus-visible .catalog-heart {
  transform: scale(1.08);
  stroke: #ff4db8;
}

.catalog-like-button:focus-visible {
  outline: 2px solid rgba(134, 223, 255, 0.88);
  outline-offset: 2px;
}

.catalog-like-button.is-liked .catalog-heart {
  fill: #ff4db8;
  stroke: #ff4db8;
  filter: drop-shadow(0 3px 7px rgba(255, 77, 184, 0.42));
}

.catalog-like-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.catalog-like-button-external {
  cursor: default;
}

.catalog-like-button-external:hover .catalog-heart {
  transform: none;
  stroke: rgba(255, 255, 255, 0.72);
}

.catalog-view-count {
  white-space: nowrap;
}

.catalog-full-button {
  min-width: 52px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(184, 76, 255, 0.58);
  border-radius: 6px;
  background: rgba(184, 76, 255, 0.15);
  color: #e4b9ff;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.catalog-full-button:hover,
.catalog-full-button:focus-visible {
  border-color: #d993ff;
  background: rgba(184, 76, 255, 0.28);
  outline: none;
}

.catalog-owner-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.catalog-owner-controls button,
.catalog-hidden-badge {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(79, 190, 232, 0.34);
  border-radius: 6px;
  background: rgba(12, 28, 43, 0.82);
  color: #b9ecff;
  font: inherit;
  font-size: 12px;
}

.catalog-owner-controls button {
  cursor: pointer;
}

.catalog-owner-controls button:hover,
.catalog-owner-controls button:focus-visible {
  border-color: rgba(255, 63, 169, 0.75);
  color: #fff;
}

.catalog-hidden-badge {
  color: #ffd46b;
  border-color: rgba(255, 212, 107, 0.38);
}

.catalog-owner-analytics {
  display: grid;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid rgba(134, 223, 255, 0.14);
}

.catalog-owner-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  color: rgba(134, 223, 255, 0.78);
  font-size: 9px;
  font-weight: 700;
}

.catalog-retention {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  min-height: 50px;
}

.catalog-retention-point {
  position: relative;
  display: grid;
  grid-template-rows: 28px auto;
  align-items: end;
  justify-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.catalog-retention-point i {
  align-self: end;
  width: 100%;
  height: max(2px, calc(var(--retention) * 0.28));
  background: linear-gradient(180deg, #b84cff, #2ab7ff);
  opacity: 0.82;
}

.catalog-retention-point small {
  color: rgba(255, 255, 255, 0.44);
  font-size: 8px;
}

.catalog-retention-point b {
  position: absolute;
  top: 2px;
  right: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 8px;
}

.full-offer-dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.premium-gate-dialog {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.premium-gate-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 4, 10, 0.86);
  backdrop-filter: blur(8px);
}

.premium-gate-content {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(520px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 32px;
  border: 1px solid rgba(236, 67, 177, 0.58);
  border-radius: 8px;
  background: #0b1020;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.premium-gate-label {
  color: #ff7bd1;
  font-size: 11px;
  font-weight: 800;
}

.premium-gate-content h2 {
  margin: 12px 34px 10px;
  color: #fff;
  font-size: 26px;
  letter-spacing: 0;
}

.premium-gate-content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.premium-gate-content .premium-gate-contact-copy {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.premium-gate-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 28px;
  cursor: pointer;
}

.premium-gate-language {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 18px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.premium-gate-language button {
  min-width: 44px;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.premium-gate-language button.is-active {
  background: rgba(223, 63, 183, 0.22);
  color: #ffd3f4;
  box-shadow: inset 0 0 0 1px rgba(223, 63, 183, 0.35);
}

.premium-gate-tenure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.premium-gate-tenure span {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
}

.premium-gate-tenure strong {
  color: #fff;
  font-size: 18px;
}

.premium-gate-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.premium-gate-actions a {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(42, 183, 255, 0.5);
  border-radius: 6px;
  background: rgba(42, 183, 255, 0.12);
  color: #bcecff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.premium-gate-actions a:nth-child(2) {
  border-color: rgba(255, 190, 73, 0.5);
  background: rgba(255, 190, 73, 0.1);
  color: #ffe0a3;
}

.premium-gate-actions a:nth-child(3) {
  border-color: rgba(236, 67, 177, 0.58);
  background: rgba(236, 67, 177, 0.14);
  color: #ffd3f4;
}

.premium-gate-actions b {
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 560px) {
  .premium-gate-content { padding: 28px 18px 20px; }
  .premium-gate-content h2 { font-size: 22px; }
  .premium-gate-tenure,
  .premium-gate-actions { grid-template-columns: 1fr; }
}

.budget-dialog {
  position: fixed;
  inset: 0;
  z-index: 62;
  display: grid;
  place-items: center;
  padding: 20px;
}

.budget-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 4, 10, 0.8);
  backdrop-filter: blur(8px);
}

.budget-content {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(255, 190, 73, 0.35);
  border-radius: 8px;
  background: #0b1020;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.64);
}

.budget-label {
  color: rgba(255, 211, 126, 0.86);
  font-size: 10px;
  font-weight: 800;
}

.budget-content h2 {
  margin: 8px 0 18px;
  color: #fff;
  font-size: 26px;
  letter-spacing: 0;
}

.budget-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  font-size: 26px;
  cursor: pointer;
}

.budget-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.budget-metric {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.budget-metric span,
.budget-metric strong {
  display: block;
}

.budget-metric span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.budget-metric strong {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  letter-spacing: 0;
}

.budget-inputs {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.budget-inputs label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.budget-inputs input {
  width: 78px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(2, 5, 12, 0.76);
  color: #fff;
  font: inherit;
  text-align: right;
}

.budget-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 620px) {
  .marker-panel {
    right: 10px;
    bottom: 68px;
    width: calc(100vw - 20px);
  }

  .budget-content {
    padding: 22px 16px;
  }

  .budget-metrics {
    grid-template-columns: 1fr;
  }
}

.full-offer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 4, 10, 0.78);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.full-offer-content {
  position: relative;
  box-sizing: border-box;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overflow-wrap: anywhere;
  z-index: 1;
  width: min(460px, calc(100vw - 40px));
  padding: 34px;
  border: 1px solid rgba(184, 76, 255, 0.42);
  border-radius: 8px;
  background: #0b1020;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
  text-align: center;
}

.full-offer-label {
  color: #cf83ff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.full-offer-content h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: 28px;
  letter-spacing: 0;
}

.full-offer-language {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 18px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.full-offer-language button {
  min-width: 44px;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.full-offer-language button.is-active {
  background: rgba(223, 63, 183, 0.22);
  color: #ffd3f4;
  box-shadow: inset 0 0 0 1px rgba(223, 63, 183, 0.35);
}

.full-offer-content p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.full-offer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font-size: 26px;
  cursor: pointer;
}

.full-offer-supports {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.full-offer-support,
.full-offer-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(42, 183, 255, 0.5);
  border-radius: 6px;
  background: rgba(42, 183, 255, 0.12);
  color: #bcecff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.full-offer-action {
  margin: 0 0 12px;
  border-color: rgba(223, 63, 183, 0.62);
  background: rgba(223, 63, 183, 0.16);
  color: #ffd3f4;
  cursor: pointer;
}

.full-offer-action.is-hidden,
.full-offer-supports.is-hidden {
  display: none;
}

@media (max-width: 560px) {
  .player-header {
    padding: 20px 14px 0;
  }

  .header-meta {
    gap: 8px;
  }

  .gyro-button {
    position: relative;
    z-index: 6;
    width: 36px;
    height: 32px;
  }

  .gyro-button svg {
    width: 24px;
    height: 24px;
  }

  .quality-select-wrap,
  .quality-select {
    min-width: 116px;
    height: 32px;
    line-height: 32px;
  }

  .player-corner-links {
    top: 58px;
    left: 50%;
    z-index: 5;
    width: auto;
    height: 28px;
    gap: 22px;
    transform: translateX(-50%);
  }

  .player-corner-link {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
  }

  .private-access-form {
    width: min(88%, 420px);
    padding: 22px;
  }

  .private-access-row {
    grid-template-columns: 1fr;
  }

  .more-videos-button {
    left: 50%;
    right: auto;
    bottom: calc(102px + env(safe-area-inset-bottom) + var(--viewport-bottom-offset, 0px));
    transform: translateX(-50%);
    width: min(82%, 320px);
  }

  .catalog-screen {
    padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
  }

  .catalog-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-actions {
    justify-items: start;
  }

  .catalog-action-buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .access-activity-user > summary,
  .access-activity-row {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-logo {
    width: 92px;
    margin-bottom: 14px;
  }

  .catalog-header h1 {
    font-size: 28px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* The library is a workspace, so it uses the whole viewport instead of the player frame. */
html.is-catalog-fullscreen,
html.is-catalog-fullscreen body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html.is-catalog-fullscreen .page-shell,
html.is-catalog-fullscreen .device-frame {
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  padding: 0;
  border: 0;
  border-radius: 0;
}

html.is-catalog-fullscreen .device-frame {
  max-width: none;
  box-shadow: none;
}

html.is-catalog-fullscreen .device-frame::before {
  display: none;
}
.deovr-launch-dialog {
  box-sizing: border-box;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 24px;
  border: 1px solid #434651;
  border-radius: 8px;
  background: #12151c;
  color: #f5f6f8;
  box-shadow: 0 20px 60px #0009;
}
.deovr-launch-dialog::backdrop { background: #000b; }
.deovr-launch-heading { display: flex; align-items: center; gap: 12px; }
.deovr-launch-heading h2 { margin: 0; flex: 1; font-size: 24px; letter-spacing: 0; }
.deovr-launch-languages { display: flex; gap: 4px; }
.deovr-launch-dialog button, .deovr-launch-actions a {
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid #5d6472;
  border-radius: 6px;
  font: inherit;
  letter-spacing: 0;
  background: #232833;
  color: #fff;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.deovr-launch-dialog button:focus-visible, .deovr-launch-actions a:focus-visible { outline: 2px solid #78dcf5; outline-offset: 3px; }
.deovr-launch-languages button { padding: 8px; }
.deovr-launch-languages button[aria-pressed="true"] { border-color: #78dcf5; color: #78dcf5; }
.deovr-launch-dialog p { line-height: 1.5; overflow-wrap: anywhere; }
#deoVrLaunchStatus { min-height: 3em; color: #a6d8e7; font-size: 14px; }
.deovr-launch-actions { display: grid; gap: 10px; }
#deoVrLaunchOpen { background: #9a226f; border-color: #e550af; }
#deoVrLaunchOpen[aria-disabled="true"] { opacity: .5; cursor: wait; }
.library-updates-button {
  margin: 12px 0 0;
  padding: 11px 18px;
  max-width: 100%;
  white-space: normal;
  background: #b71c77;
  border: 1px solid #ed79bc;
  border-radius: 6px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.library-updates-button:hover { background: #971560; }
.library-updates-button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.library-updates-button:disabled { opacity: .65; cursor: wait; }
.library-updates-button[aria-pressed="true"] { background: #532343; }
.library-updates-status { margin: 6px 0 0; font-size: 13px; overflow-wrap: anywhere; }
