/* Lady Chica Universe — restrained couture gold and diamond finish. */
html[data-site-theme] {
  --couture-ink: #08050a;
  --couture-plum: #3b1230;
  --couture-gold-deep: #9c7633;
  --couture-gold: #d8b968;
  --couture-champagne: #f3e3b5;
  --couture-diamond-blue: #cdeeff;
  --couture-hairline: rgba(230, 201, 126, 0.62);
  --couture-panel: linear-gradient(145deg, rgba(62, 18, 49, 0.94), rgba(17, 7, 18, 0.96));
}

html[data-site-theme] body {
  color: #fff9f1 !important;
  background:
    radial-gradient(circle at 15% 10%, rgba(104, 29, 76, 0.28), transparent 34rem),
    radial-gradient(circle at 88% 58%, rgba(73, 43, 112, 0.2), transparent 38rem),
    var(--couture-ink) !important;
}

/* Quiet the former rainbow treatment so the photography and jewelry lead. */
html[data-site-theme] :is(.home-chapter, .content-section, .profile-hero, .universe-hero, .zayden-hero, .tazz-room-hero, .gallery-section) {
  color: #fff9f1 !important;
  background-color: var(--couture-ink) !important;
  background-image:
    radial-gradient(circle at 12% 14%, rgba(107, 28, 78, 0.24), transparent 38%),
    radial-gradient(circle at 86% 72%, rgba(56, 39, 91, 0.18), transparent 42%),
    linear-gradient(145deg, #1a0816, #08050a 70%) !important;
}

html[data-site-theme] :is(.content-section.rose, .chica-chapter, .chica-signature .content-section) {
  background-image:
    radial-gradient(circle at 16% 12%, rgba(126, 35, 89, 0.3), transparent 40%),
    linear-gradient(135deg, #351027, #120811 68%, #0a060c) !important;
}

html[data-site-theme] :is(.max-bebo-chapter, .duo-signature .content-section, .zayden-chapter, .zayden-page .content-section) {
  background-image:
    radial-gradient(circle at 82% 14%, rgba(52, 70, 125, 0.25), transparent 38%),
    linear-gradient(135deg, #20112e, #0c0b18 68%, #07070c) !important;
}

/* Fine antique-gold rules with one cool diamond highlight. */
html[data-site-theme] :is(.site-header, .chapter-navigation, .sub-footer, footer) {
  color: #fff9ef !important;
  border-color: var(--couture-hairline) !important;
  background: linear-gradient(100deg, rgba(18, 7, 16, 0.97), rgba(47, 14, 38, 0.95), rgba(14, 8, 18, 0.97)) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 14px 38px rgba(0,0,0,.48) !important;
  backdrop-filter: blur(18px) saturate(1.08);
}

html[data-site-theme] .site-header::after {
  background: linear-gradient(90deg, transparent 3%, var(--couture-gold-deep), var(--couture-champagne) 48%, var(--couture-diamond-blue) 50%, var(--couture-champagne) 52%, var(--couture-gold-deep), transparent 97%) !important;
  opacity: .72 !important;
}

html[data-site-theme] :is(.logo-copy b, .hero-star, h1 em, h2 em, h3 em) {
  color: var(--couture-champagne) !important;
  background: linear-gradient(180deg, #fffdf4 3%, #f1dea6 46%, #bf9345 78%, #f7e9bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
}

html[data-site-theme] :is(h1, h2, h3, .directory-label b, .profile-copy h1, .universe-hero-copy h1) {
  color: #fffaf2 !important;
  font-family: Italiana, 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 400 !important;
  text-shadow: 0 2px 22px rgba(0,0,0,.62) !important;
}

html[data-site-theme] :is(.eyebrow, .role, .directory-label, .section-kicker, .profile-facts small, .brand-band, .gallery-selector-group p) {
  color: var(--couture-champagne) !important;
  letter-spacing: .18em !important;
}

html[data-site-theme] :is(.compact-directory, .lobby-intro, .profile-copy, .universe-hero-copy, .character-chapter-copy, .chica-title-block, .adventure-copy, .chapter-youtube-section, .tazz-inline-player, .explore-card, .crew-card, .diva-card, .gallery-card, .look, .profile-facts > div, .album-panel, .gallery-selector) {
  color: #fff9f3 !important;
  border: 1px solid var(--couture-hairline) !important;
  background: var(--couture-panel) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 0 0 1px rgba(255,255,255,.025),
    0 22px 58px rgba(0,0,0,.42),
    0 0 24px rgba(215,185,104,.06) !important;
  backdrop-filter: blur(14px) saturate(1.04);
}

html[data-site-theme] :is(.compact-directory, .lobby-intro, .profile-copy, .universe-hero-copy, .character-chapter-copy, .chica-title-block, .adventure-copy, .chapter-youtube-section, .tazz-inline-player, .explore-card, .crew-card, .diva-card, .gallery-card, .look, .profile-facts > div, .album-panel, .gallery-selector) p {
  color: #f6edf3 !important;
}

/* Satin buttons: a jewelry edge, never a glitter flood. */
html[data-site-theme] body :is(button, .button, [role='button'], .platform-link, .site-back-button, .back-button, .social-follow-links a, .compact-room-grid a, .gallery-card-copy a, .diva-card-copy a) {
  border: 1px solid var(--couture-gold) !important;
  border-image: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 22px rgba(0,0,0,.28) !important;
}

html[data-site-theme] body :is(.button, button[type='submit'], .universe-connect button, .chapter-direction, .filters button, .social-follow-links a) {
  color: #fffaf2 !important;
  -webkit-text-fill-color: #fffaf2 !important;
  background: linear-gradient(155deg, #6b214f, #321027 62%, #51183e) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.55) !important;
}

html[data-site-theme] body :is(.button.primary, .button-primary, .primary-button, .hero-priority-actions > a:first-child) {
  color: #24120b !important;
  -webkit-text-fill-color: #24120b !important;
  border-color: #f4e4b2 !important;
  background: linear-gradient(180deg, #fff2c7 0%, #dcbc6c 45%, #ad8135 100%) !important;
  box-shadow: inset 0 1px 0 #fffdf1, 0 10px 28px rgba(0,0,0,.34), 0 0 14px rgba(216,185,104,.16) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.36) !important;
}

html[data-site-theme] body :is(.button.ghost, .hero-priority-actions > a:nth-child(2), .engagement-actions button) {
  color: #fff9ef !important;
  -webkit-text-fill-color: #fff9ef !important;
  border-color: rgba(226,198,126,.76) !important;
  background: linear-gradient(140deg, rgba(54,19,44,.96), rgba(17,9,20,.96)) !important;
}

html[data-site-theme] .compact-room-grid a {
  color: #fffaf3 !important;
  border-color: rgba(229,202,132,.6) !important;
  background-image: linear-gradient(90deg, rgba(23,7,18,.92), rgba(34,10,27,.64) 58%, rgba(10,6,12,.18)), var(--room-photo) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 12px 30px rgba(0,0,0,.36) !important;
}

html[data-site-theme] .compact-room-grid a :is(b, small) { color: #fffaf3 !important; }

html[data-site-theme] :is(.couture-strip img, .photo-strip img, .character-mini-gallery img, .youtube-thumbnails img, .zayden-photo-grid img, .tazz-photo-grid img) {
  border-color: rgba(227,199,128,.66) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 12px 28px rgba(0,0,0,.4) !important;
}

html[data-site-theme] .brand-band {
  color: var(--couture-champagne) !important;
  border-block: 1px solid var(--couture-hairline) !important;
  background: linear-gradient(90deg, #170910, #4a1539 45%, #1a0b19) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

html[data-site-theme] .home-chapter::after {
  inset: 16px !important;
  border: 1px solid rgba(230,201,126,.26) !important;
  box-shadow: inset 0 0 70px rgba(216,185,104,.035) !important;
}

html[data-site-theme] .universe-seal {
  color: var(--couture-champagne) !important;
  border-color: var(--couture-gold) !important;
  background: rgba(12,7,12,.9) !important;
  box-shadow: 0 0 0 4px rgba(10,5,10,.75), 0 0 0 5px rgba(216,185,104,.42), 0 16px 36px rgba(0,0,0,.5) !important;
}

html[data-site-theme] .universe-seal::before,
html[data-site-theme] .universe-seal::after { color: var(--couture-diamond-blue) !important; }

@media (hover: hover) {
  html[data-site-theme] body :is(.button, button, .compact-room-grid a, .explore-card, .gallery-card, .diva-card, .look):hover {
    border-color: #f4e5b7 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 16px 36px rgba(0,0,0,.4), 0 0 14px rgba(205,238,255,.12) !important;
  }
}

html[data-site-theme] body :is(a, button):focus-visible {
  outline: 3px solid var(--couture-diamond-blue) !important;
  outline-offset: 4px !important;
}

@media (max-width: 640px) {
  html[data-site-theme] :is(.compact-directory, .lobby-intro, .profile-copy, .universe-hero-copy, .character-chapter-copy, .chica-title-block, .adventure-copy) {
    background: linear-gradient(150deg, rgba(57,17,45,.96), rgba(14,7,15,.97)) !important;
    backdrop-filter: blur(10px);
  }

  html[data-site-theme] .home-chapter::after { inset: 8px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-site-theme] * { scroll-behavior: auto !important; }
}

/* Selective gallery-worthy frames for the four featured character portraits. */
html[data-site-theme] :is(
  .chica-signature .profile-art,
  .duo-signature .universe-hero,
  .zayden-page .zayden-hero
) {
  box-sizing: border-box;
  border: clamp(3px, .35vw, 6px) solid var(--couture-gold) !important;
  border-image: linear-gradient(
    135deg,
    #8d672b 0%,
    #f8e9b7 12%,
    #b78a3d 27%,
    #fffdf3 49%,
    #cdeeff 50%,
    #fffdf3 51%,
    #b78a3d 73%,
    #f8e9b7 88%,
    #8d672b 100%
  ) 1 !important;
  outline: 1px solid rgba(250, 232, 181, .68);
  outline-offset: -12px;
  box-shadow:
    inset 0 0 0 3px rgba(30, 11, 22, .84),
    inset 0 0 0 5px rgba(216, 185, 104, .28),
    inset 0 0 32px rgba(245, 224, 166, .08),
    0 20px 54px rgba(0, 0, 0, .48),
    0 0 24px rgba(216, 185, 104, .14) !important;
}

html[data-site-theme] .tazz-room .tazz-room-hero > img,
html[data-site-theme] .tazz-stage-photo {
  box-sizing: border-box;
  border: clamp(3px, .35vw, 6px) solid var(--couture-gold) !important;
  border-image: linear-gradient(
    135deg,
    #8d672b,
    #f8e9b7 15%,
    #b78a3d 33%,
    #fffdf3 49%,
    #cdeeff 50%,
    #fffdf3 51%,
    #b78a3d 67%,
    #f8e9b7 85%,
    #8d672b
  ) 1 !important;
  outline: 1px solid rgba(250, 232, 181, .68);
  outline-offset: -12px;
  box-shadow:
    inset 0 0 0 4px rgba(30, 11, 22, .78),
    inset 0 0 30px rgba(245, 224, 166, .08),
    0 18px 48px rgba(0, 0, 0, .48),
    0 0 22px rgba(216, 185, 104, .14) !important;
}

/* A tiny cool-white flare at each frame edge reads like diamonds, not glitter. */
html[data-site-theme] :is(
  .chica-signature .profile-art,
  .duo-signature .universe-hero,
  .zayden-page .zayden-hero
)::before {
  content: '';
  position: absolute;
  z-index: 6;
  inset: 5px;
  pointer-events: none;
  background:
    radial-gradient(circle at 0 0, #fff 0 2px, #d8f2ff 3px, transparent 8px),
    radial-gradient(circle at 100% 0, #fff 0 2px, #f7e8b7 3px, transparent 8px),
    radial-gradient(circle at 0 100%, #fff 0 2px, #f7e8b7 3px, transparent 8px),
    radial-gradient(circle at 100% 100%, #fff 0 2px, #d8f2ff 3px, transparent 8px);
  filter: drop-shadow(0 0 5px rgba(232, 247, 255, .7));
}

@media (max-width: 640px) {
  html[data-site-theme] :is(
    .chica-signature .profile-art,
    .duo-signature .universe-hero,
    .zayden-page .zayden-hero
  ) {
    outline-offset: -8px;
  }

  html[data-site-theme] .tazz-room .tazz-room-hero > img,
  html[data-site-theme] .tazz-stage-photo {
    outline-offset: -8px;
  }
}

/* Review refinements: tighter editorial rhythm and clearer navigation. */
html[data-site-theme] :is(.chica-signature .profile-hero, .duo-signature .universe-hero) {
  padding-top: 0 !important;
}

html[data-site-theme] .universe-page .site-header nav {
  gap: clamp(10px, 1.15vw, 20px) !important;
}

html[data-site-theme] .universe-page .site-header nav a,
html[data-site-theme] .four-page-home .site-header nav a {
  font-size: clamp(.68rem, .59vw, .76rem) !important;
  font-weight: 600;
  letter-spacing: .09em !important;
}

html[data-site-theme] .sub-footer .socials a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding-inline: 8px;
  color: var(--couture-champagne) !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

html[data-site-theme] .sub-footer .socials a:hover,
html[data-site-theme] .sub-footer .socials a:focus-visible {
  color: #fffdf5 !important;
}

.hero-poster-link {
  position: absolute;
  z-index: 2;
  top: 76px;
  right: 0;
  left: 0;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - 76px);
  cursor: pointer;
}

.hero-poster-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hero-poster-link:focus-visible {
  outline: 3px solid var(--couture-diamond-blue) !important;
  outline-offset: -8px !important;
}

@media (max-width: 960px) {
  html[data-site-theme] .universe-page .site-header nav a {
    font-size: .82rem !important;
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  .hero-poster-link {
    top: 70px;
    max-height: calc(100svh - 70px);
  }

  html[data-site-theme] .sub-footer .socials a { min-height: 44px; }
}
