/* The campaign layout is shared with KingMe; this file supplies the QueenMe palette. */
@import url("/assets/book-campaign-base-v1.css");

.book-campaign {
  background:
    radial-gradient(circle at 82% 12%, rgba(231, 165, 197, 0.24), transparent 31%),
    radial-gradient(circle at 8% 88%, rgba(202, 164, 78, 0.2), transparent 34%),
    #120a10;
}

.book-kicker,
.book-subtitle { color: #efb4d1; }

.book-campaign h2 em { color: #efb4d1; }

.book-card,
.book-card--available { border-color: rgba(239, 180, 209, 0.3); }

.book-status { background: #efb4d1; }

.book-button:hover { background: #efb4d1; }

.book-card--teaser {
  border-color: rgba(236, 197, 105, 0.3);
  background: linear-gradient(145deg, rgba(84, 31, 60, 0.48), rgba(14, 6, 11, 0.88));
}

.book-card--teaser .book-status {
  color: #171006;
  background: #ecc569;
}

.alpha-cover {
  border-color: rgba(236, 197, 105, 0.58);
  color: #fff8e6;
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(236, 197, 105, 0.045) 5px 6px),
    radial-gradient(circle at 50% 42%, rgba(239, 180, 209, 0.3), transparent 36%),
    #090407;
  box-shadow: 0 0 0 8px rgba(239, 180, 209, 0.04), 0 24px 60px rgba(0, 0, 0, 0.55);
}

.alpha-cover::before,
.alpha-cover::after { border-color: rgba(236, 197, 105, 0.28); }

.alpha-kode,
.alpha-readout b { color: #ecc569; }

.alpha-scan {
  border-top-color: rgba(239, 180, 209, 0.9);
  background: linear-gradient(to bottom, rgba(239, 180, 209, 0.16), transparent 60px);
}

.alpha-readout span { border-bottom-color: rgba(236, 197, 105, 0.2); }

.book-button--ghost {
  color: #fff2f8;
  border-color: rgba(236, 197, 105, 0.48);
}

.book-button--ghost:hover {
  color: #170c12;
  background: #ecc569;
}

.navlinks .sibling-nav-link {
  color: #c7922f;
  font-weight: 800;
}

.sister-site-link {
  color: inherit;
  font-weight: 800;
  text-decoration-color: #d81672;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.sister-site-link:hover {
  color: #d81672;
}

.mackprojekt-credit a {
  color: inherit;
  font-weight: 800;
  text-decoration-color: #d81672;
  text-underline-offset: 4px;
}

.mackprojekt-credit a:hover {
  color: #d81672;
}

/* Eight energy choices, arranged as a deliberate 4-by-2 control board. */
.krown-stage {
  min-height: 590px;
  padding: 48px 0 164px;
}

.adjust-controls {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.adjust-controls button {
  height: 72px;
  border-right: 1px solid #fff3;
  border-bottom: 1px solid #fff3;
  font-size: 12px;
}

.adjust-controls button:nth-child(4n) {
  border-right: 0;
}

.adjust-controls button:nth-last-child(-n + 4) {
  border-bottom: 0;
}

@media (max-width: 620px) {
  .krown-stage {
    min-height: 720px;
    padding: 42px 0 286px;
  }

  .adjust-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adjust-controls button {
    height: 68px;
  }

  .adjust-controls button:nth-child(4n) {
    border-right: 1px solid #fff3;
  }

  .adjust-controls button:nth-child(2n) {
    border-right: 0;
  }

  .adjust-controls button:nth-last-child(-n + 4) {
    border-bottom: 1px solid #fff3;
  }

  .adjust-controls button:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

.movement-together {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(115, 21, 60, 0.18);
  color: #32101f;
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.movement-together em {
  color: #a11750;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.together-rotator {
  display: inline-block;
  animation: together-in 0.5s ease both;
}

@keyframes together-in {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .together-rotator {
    animation: none;
  }
}
