:root {
  color-scheme: light;
  --ink: #24133b;
  --muted: #665c70;
  --purple: #6d28d9;
  --paper: #fffcf8;
  --line: #e8e0ec;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: #f6f2f8;
  color: var(--ink);
  font-family: "Poppins", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--purple);
  text-underline-offset: 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #b794f4;
  outline-offset: 5px;
}
.skip-link {
  position: absolute;
  z-index: 10;
  top: -80px;
  left: 16px;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.masthead {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font-size: 19px;
  letter-spacing: -0.8px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.brand > span:first-child {
  font-weight: 800;
}
.brand .brand-dot {
  color: var(--purple);
  margin-left: 5px;
  font-size: 9px;
}
.dashboard-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 0;
  text-decoration: none;
}
.dashboard-link span {
  margin-left: 12px;
  font-size: 18px;
}
.nightbook {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
}
.book-cover {
  position: relative;
  min-height: 335px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 38px #24133b12;
}
.book-cover__copy {
  padding: 43px 48px;
  z-index: 1;
}
.eyebrow {
  margin: 0 0 17px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
}
.book-cover .eyebrow {
  color: #d5c8ed;
}
h1 {
  font-size: clamp(40px, 5.4vw, 65px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -3.8px;
  margin: 0 0 18px;
}
h1 > span {
  color: #e3b975;
}
.cover-description {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.65;
  color: #e6dff1;
}
.private-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 500;
  color: #e3d7f4;
}
.private-label > span {
  font-size: 18px;
  color: #e3b975;
}
.book-cover__art {
  position: relative;
  min-width: 0;
}
.orbit {
  position: absolute;
  border: 1px solid #cab0ed24;
  width: 365px;
  height: 365px;
  border-radius: 50%;
  top: -33px;
  left: -8px;
}
.orbit--two {
  width: 270px;
  height: 270px;
  top: 15px;
  left: 39px;
}
.record {
  position: absolute;
  width: 195px;
  height: 195px;
  top: 53px;
  left: 78px;
  border-radius: 50%;
  border: 1px solid #ac84d94d;
  background: repeating-radial-gradient(circle at center, #342047 0 7px, #452b5d 8px 9px, #342047 10px 13px);
  box-shadow: 15px 22px 45px #11072066;
  transform: rotate(-17deg);
  display: grid;
  place-items: center;
}
.record > span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #e9c690;
  color: #392647;
  border: 8px solid #ddba82;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -2px;
}
.spark {
  position: absolute;
  color: #efd4a6;
  font-size: 31px;
}
.spark--one {
  top: 37px;
  left: 283px;
}
.spark--two {
  top: 217px;
  left: 37px;
  font-size: 23px;
}
.art-caption {
  position: absolute;
  top: 269px;
  left: 109px;
  font-size: 9px;
  color: #c7b8d8;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  transform: rotate(-5deg);
}
.book-toolbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: 76px;
}
.book-toolbar p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}
.book-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-left: auto;
}
.book-toolbar a,
.text-button {
  font-size: 11px;
  font-weight: 600;
}
.text-button {
  cursor: pointer;
  color: var(--purple);
  border: 0;
  background: transparent;
  min-height: 44px;
  padding: 0 4px;
}
.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 28px;
  align-items: start;
}
.book-pages,
.nights {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.night-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px #30123c03;
}
.night-card__heading {
  display: flex;
  gap: 21px;
  padding: 27px 30px 23px;
  border-bottom: 1px dashed #ddd3e4;
}
.night-card__number {
  font-size: 34px;
  font-weight: 400;
  color: #ad99c3;
  line-height: 1.25;
  letter-spacing: -2px;
}
.night-card__title {
  min-width: 0;
}
.night-card__date {
  color: var(--muted);
  font-size: 10px;
}
.night-card h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}
.night-card__note {
  color: var(--muted);
  font-size: 10px;
  margin: 7px 0 0;
}
.night-card__songs {
  list-style: none;
  padding: 6px 30px;
  margin: 0;
}
.night-song {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 0;
}
.night-song + .night-song {
  border-top: 1px solid #eee7f0;
}
.night-song__content {
  min-width: 0;
}
.night-song h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.night-song p {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.night-song__status {
  border: 1px solid #d2e3d8;
  background: #edf5ef;
  color: #346144;
  padding: 4px 8px;
  font-size: 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.night-card__footnote {
  margin: 0;
  padding: 12px 30px 17px;
  color: #776980;
  font-size: 9px;
}
.book-sidebar {
  display: grid;
  gap: 26px;
}
.account-card {
  padding: 27px 24px;
  background: #ece4f5;
  border: 1px solid #e2d4ef;
  border-radius: 16px;
}
.account-card .eyebrow {
  color: #69458a;
  margin-bottom: 13px;
}
.account-card h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  margin: 0 0 14px;
}
.account-card p:not(.eyebrow) {
  color: #5e4a70;
  font-size: 11px;
  line-height: 1.8;
  margin: 0 0 23px;
}
.button {
  display: inline-flex;
  min-height: 46px;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 11px 19px;
  font:
    600 11px "Poppins",
    system-ui,
    sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.button--primary {
  background: var(--purple);
  color: white;
}
.button--primary:hover {
  background: #5820b0;
}
.button--secondary {
  color: #59248d;
  background: #faf6ff;
  border-color: #d6c2e9;
}
.account-card .button {
  width: 100%;
}
.button--more {
  color: var(--purple);
  background: white;
  border-color: #d9cbe5;
  width: 100%;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
.margin-note {
  padding: 0 20px;
}
.margin-note > span {
  display: block;
  color: #9575b6;
  font-size: 26px;
  margin-bottom: 10px;
}
.margin-note h2 {
  font-size: 12px;
  line-height: 1.65;
  margin: 0 0 10px;
}
.margin-note p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9;
}
.state-card {
  text-align: center;
  padding: 47px 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.state-mark {
  color: #9170b3;
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}
.state-card h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.6px;
  margin: 0 0 15px;
}
.state-card p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 430px;
  margin: 0 auto 18px;
}
.state-card .state-detail {
  font-size: 10px;
  margin-top: 24px;
  margin-bottom: 0;
}
.window-note {
  margin: 0;
  color: #6e5129;
  background: #fcf3df;
  border: 1px solid #eedeaf;
  border-radius: 10px;
  padding: 16px 19px;
  font-size: 11px;
  line-height: 1.8;
}
.book-footer {
  border-top: 1px solid var(--line);
  margin-top: 55px;
  padding: 28px 0 35px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
}
.book-footer > span {
  font-weight: 700;
  color: var(--ink);
}
.book-footer > p {
  margin: 0;
}
.book-footer > a {
  margin-left: auto;
  font-weight: 600;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.noscript {
  text-align: center;
  padding: 20px;
}
@media (max-width: 800px) {
  .masthead,
  .nightbook {
    width: calc(100% - 32px);
  }
  .masthead {
    min-height: 80px;
  }
  .book-cover {
    grid-template-columns: 1fr 230px;
    min-height: 320px;
  }
  .book-cover__copy {
    padding: 33px 30px;
  }
  .book-cover__art {
    transform: translateX(-45px) scale(0.8);
    transform-origin: center;
  }
  .book-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .book-sidebar {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .account-card h2 {
    font-size: 21px;
  }
}
@media (max-width: 520px) {
  .masthead,
  .nightbook {
    width: calc(100% - 28px);
  }
  .masthead {
    min-height: 74px;
  }
  .brand {
    font-size: 17px;
  }
  .dashboard-link {
    font-size: 10px;
  }
  .dashboard-link span {
    margin-left: 4px;
  }
  .book-cover {
    display: block;
    min-height: 345px;
    border-radius: 17px;
  }
  .book-cover__copy {
    padding: 33px 25px;
    position: relative;
  }
  h1 {
    font-size: 43px;
    letter-spacing: -2.5px;
  }
  .book-cover .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .cover-description {
    font-size: 15px;
    margin-bottom: 27px;
  }
  .private-label {
    font-size: 9px;
  }
  .book-cover__art {
    position: absolute;
    top: 176px;
    right: -70px;
    width: 255px;
    height: 180px;
    transform: scale(0.53);
    transform-origin: top center;
    pointer-events: none;
  }
  .art-caption {
    display: none;
  }
  .book-toolbar {
    padding: 13px 0;
    min-height: 65px;
  }
  .book-toolbar__actions {
    gap: 20px;
    margin-left: 0;
  }
  .book-toolbar p {
    font-size: 10px;
    flex-basis: 100%;
  }
  .book-toolbar a,
  .text-button {
    font-size: 10px;
  }
  .night-card__heading {
    padding: 22px 21px 19px;
    gap: 17px;
  }
  .night-card__number {
    font-size: 29px;
  }
  .night-card h2 {
    font-size: 16px;
  }
  .night-card__songs {
    padding: 3px 21px;
  }
  .night-song {
    gap: 10px;
  }
  .night-song h3 {
    font-size: 12px;
  }
  .night-song p {
    font-size: 10px;
  }
  .night-song__status {
    font-size: 8px;
    padding: 4px 6px;
  }
  .night-card__footnote {
    padding: 11px 21px 17px;
    font-size: 8px;
  }
  .book-sidebar {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .account-card {
    padding: 25px;
  }
  .account-card p:not(.eyebrow) {
    font-size: 12px;
  }
  .margin-note {
    padding: 0 12px;
  }
  .margin-note p {
    font-size: 11px;
  }
  .book-footer {
    margin-top: 34px;
    padding-top: 22px;
    font-size: 9px;
  }
  .book-footer > a {
    flex-basis: 100%;
    margin-left: 0;
    padding: 8px 0;
  }
  .state-card {
    padding: 34px 24px;
  }
  .state-card h2 {
    font-size: 22px;
  }
}
