:root {
  --ink: #3b1747;
  --pink: #b52458;
  --lilac: #e8dafa;
  --paper: #fffaf1;
  --yellow: #f9ed96;
  --line: #c8aedc;
  --green: #225a44;
  font-family: Verdana, Geneva, sans-serif;
  color: var(--ink);
  font-size: 16px;
  background: var(--lilac);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background-image: radial-gradient(#b99bd0 1px, transparent 1px);
  background-size: 12px 12px;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #156eab;
  outline-offset: 4px;
}
p {
  line-height: 1.7;
  margin: 0 0 1rem;
}
h1,
h2,
h3 {
  margin: 0;
}
h2 {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -1.3px;
}
h3 {
  font-size: 1rem;
}
label {
  display: block;
  line-height: 1.5;
}
input:not([type="radio"]):not([type="checkbox"]),
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #fffefa;
  border: 1px solid #95749d;
  border-radius: 4px;
  color: var(--ink);
  margin-top: 0.45rem;
  min-height: 48px;
}
textarea {
  resize: vertical;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--pink);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  margin-bottom: 1rem;
  font-weight: bold;
}
.site-wrap {
  max-width: 1120px;
  margin: 30px auto;
  border: 1px solid #9473a4;
  background: var(--paper);
  box-shadow: 8px 8px 0 #b89acd55;
}
.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 17px 38px;
  font-size: 0.875rem;
  background: #f7efff;
}
.wordmark {
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 1.4rem;
  text-decoration: none;
}
.tiny-star {
  font-size: 1.5rem;
}
.hero {
  padding: 55px 64px 60px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  overflow: hidden;
}
.hello {
  display: inline-block;
  background: var(--yellow);
  padding: 7px 15px;
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-5deg);
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 24px;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  font-size: clamp(4rem, 8vw, 6.6rem);
  line-height: 0.91;
  letter-spacing: -6px;
  color: var(--pink);
}
.forty {
  position: relative;
  white-space: nowrap;
}
.spark {
  position: absolute;
  font-family: Georgia, serif;
  right: -65px;
  top: -18px;
  color: var(--pink);
  font-size: 4rem;
  font-weight: normal;
}
.hero-note {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  margin-top: 27px;
  margin-bottom: 13px;
}
.hero-copy > p:not(.hero-note) {
  max-width: 350px;
}
.button {
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--yellow);
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 3px 3px 0 var(--ink);
  min-height: 48px;
  line-height: 1.4;
}
.button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}
.button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
.primary {
  background: var(--pink);
  color: white;
}
.hero .button {
  margin-top: 8px;
}
.party-art {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 30px;
}
.disc {
  width: 310px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    #34323c 0,
    #34323c 2px,
    #4a424c 3px,
    #28252e 4px
  );
  box-shadow: 14px 18px 0 #d9c7e4;
  transform: rotate(15deg);
  display: grid;
  place-items: center;
  position: relative;
}
.disc:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    transparent 0deg,
    #ffffff22 40deg,
    transparent 80deg,
    transparent 180deg,
    #ffffff22 220deg,
    transparent 270deg
  );
  pointer-events: none;
}
.disc-label {
  background: #eeb7d2;
  border: 8px solid #3e3542;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  text-align: center;
  padding-top: 22px;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.1;
}
.disc-label small {
  font-family: Verdana, sans-serif;
  font-style: normal;
  font-size: 0.7rem;
  display: block;
  margin-top: 9px;
}
.art-star {
  position: absolute;
  z-index: 1;
  color: var(--pink);
}
.star-one {
  font-size: 5.5rem;
  top: 3px;
  left: 2px;
  transform: rotate(13deg);
}
.star-two {
  font-size: 4rem;
  bottom: 40px;
  right: 0;
  color: #7a4e97;
}
.disc-note {
  position: absolute;
  bottom: 6px;
  left: 8px;
  background: var(--yellow);
  padding: 11px 20px;
  transform: rotate(-7deg);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  box-shadow: 2px 3px 0 #b29857;
}
.stamp {
  position: absolute;
  right: -20px;
  top: 20px;
  background: #f2d9ec;
  border: 2px dashed #9b4979;
  border-radius: 50%;
  width: 115px;
  height: 115px;
  text-align: center;
  padding-top: 24px;
  font-family: Georgia, serif;
  font-style: italic;
  transform: rotate(12deg);
}
.ticker {
  display: flex;
  justify-content: space-around;
  overflow: hidden;
  gap: 48px;
  white-space: nowrap;
  background: var(--pink);
  color: white;
  border-block: 1px solid var(--ink);
  padding: 10px;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  word-spacing: 8px;
}
.party-details {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  border-bottom: 1px solid var(--line);
  padding: 30px 64px;
  gap: 28px;
  background: #f4eafa;
}
.party-details span {
  font-size: 0.875rem;
  color: #704b7e;
}
.party-details p {
  margin: 5px 0 0;
  font-weight: bold;
  line-height: 1.5;
}
.form-section {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  padding: 48px 64px;
  border-bottom: 1px solid var(--line);
  gap: 64px;
}
.section-intro p {
  margin-top: 18px;
}
.section-intro .fine {
  font-size: 0.875rem;
  color: #725779;
}
.section-icon {
  font-family: Georgia, serif;
  font-size: 2.6rem;
  color: var(--pink);
  display: block;
  margin-bottom: 12px;
}
.section-body {
  padding-top: 12px;
}
.section-body > label {
  margin-bottom: 20px;
}
.choice-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.choice {
  padding: 15px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: white;
  border: 1px solid #bca3c7;
  border-radius: 4px;
  cursor: pointer;
}
.choice:has(input:checked) {
  background: #f9e3ed;
  border: 2px solid var(--pink);
  padding: 14px 15px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}
.facts {
  background: #fbf5fc;
}
.music {
  background: #fffaf1;
}
.fine {
  font-size: 0.875rem;
  line-height: 1.6;
}
.search-box {
  position: relative;
}
.search-box input {
  padding-right: 45px !important;
}
.search-box > span {
  position: absolute;
  right: 17px;
  top: 19px;
  color: var(--pink);
}
#search-status {
  margin: 10px 0 16px;
  color: #725779;
}
.tracks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.track {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.track img,
.track-placeholder {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 2px;
}
.track-placeholder {
  display: grid;
  place-items: center;
  background: #e8dafa;
  font-size: 1.4rem;
}
.track-info {
  flex: 1;
  min-width: 0;
}
.track-info a {
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.4;
  display: block;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.track-info a:hover {
  text-decoration: underline;
}
.track-info small {
  display: block;
  font-size: 0.8rem;
  margin-top: 4px;
  line-height: 1.5;
  color: #74577a;
}
.track button {
  background: #f5e9fb;
  color: var(--ink);
  border: 1px solid #ae8dbb;
  border-radius: 4px;
  min-height: 44px;
  padding: 8px 11px;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.selected-heading {
  display: flex;
  justify-content: space-between;
  margin: 28px 0 6px;
  align-items: center;
}
.selected-heading > span {
  font-size: 0.875rem;
}
.empty-tracks {
  border: 1px dashed #bda2ca;
  padding: 23px 18px;
  color: #76567c;
  font-size: 0.875rem;
  margin-top: 10px;
  line-height: 1.6;
}
.spotify-credit {
  font-size: 0.75rem;
  margin-top: 16px;
}
.mixtape {
  width: 230px;
  height: 145px;
  background: #c9b0da;
  border: 2px solid var(--ink);
  border-radius: 10px;
  margin-top: 32px;
  transform: rotate(-4deg);
  padding: 14px 15px;
  position: relative;
  box-shadow: 4px 4px 0 #d8c6e4;
}
.tape-label {
  background: var(--paper);
  border: 1px solid var(--ink);
  font-family: Georgia, serif;
  font-style: italic;
  text-align: center;
  padding: 5px;
}
.tape-reels {
  height: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  background: #51405d;
  border-radius: 30px;
  margin-top: 9px;
  color: white;
  font-size: 2rem;
}
.tape-bottom {
  position: absolute;
  bottom: 0;
  left: 60px;
  width: 110px;
  height: 20px;
  border: 1px solid var(--ink);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #b497c6;
}
.save-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 64px;
  background: #f7edb4;
  gap: 24px;
}
.save-bar strong {
  font-family: Georgia, serif;
  font-size: 1.6rem;
}
.save-bar p {
  font-size: 0.875rem;
  margin: 5px 0 0;
}
.notice {
  margin: 28px 64px;
  padding: 18px 22px;
  background: #f4eafa;
  border: 1px dashed #9976ac;
  line-height: 1.6;
}
.error {
  color: #a41432 !important;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 38px;
  font-size: 0.75rem;
  gap: 18px;
  line-height: 1.5;
  background: #f7efff;
}
.admin-wrap {
  max-width: 1200px;
}
.admin-main {
  padding: 38px;
}
.admin-main h1 {
  font-size: 3.5rem;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.admin-main h2 {
  font-size: 1.8rem;
  letter-spacing: -0.7px;
  margin-bottom: 20px;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.admin-panel {
  padding: 24px;
  background: #f6edfb;
  border: 1px solid var(--line);
}
.admin-panel label {
  margin-bottom: 14px;
}
.admin-panel .button {
  margin-top: 10px;
}
.admin-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.admin-tools p {
  margin: 0;
  flex: 1;
}
.admin-tools button {
  font-size: 0.8rem;
}
.admin-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0 30px;
}
.admin-stats span {
  background: var(--yellow);
  padding: 12px 16px;
  border: 1px solid var(--line);
}
.invite-card {
  border: 1px solid var(--line);
  padding: 24px;
  margin: 16px 0;
  background: white;
}
.invite-top {
  display: flex;
  align-items: start;
  gap: 18px;
  justify-content: space-between;
}
.invite-top h3 {
  font-size: 1.2rem;
}
.invite-status {
  font-size: 0.8rem;
  background: #eee3f3;
  padding: 6px 10px;
  white-space: nowrap;
}
.invite-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.invite-actions button {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #ac8ab9;
  background: #f6edfb;
  color: var(--ink);
  border-radius: 4px;
  font-size: 0.8rem;
}
.invite-card details {
  margin-top: 18px;
}
.invite-card summary {
  cursor: pointer;
  min-height: 40px;
}
.invite-card dl {
  font-size: 0.875rem;
  line-height: 1.6;
}
.invite-card dt {
  font-weight: bold;
  margin-top: 12px;
}
.invite-card dd {
  margin: 5px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.invite-card input {
  font-size: 0.8rem;
}
.invite-card .edit-form {
  margin-top: 16px;
}
.login-panel {
  max-width: 480px;
  margin: 40px auto;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
#admin-status {
  line-height: 1.6;
}
.admin-panel textarea {
  min-height: 100px;
}
@media (max-width: 900px) {
  .site-wrap {
    margin: 16px;
  }
  .hero {
    padding: 45px 36px;
    gap: 10px;
  }
  .disc {
    width: 260px;
  }
  .stamp {
    right: -10px;
    top: 5px;
    width: 100px;
    height: 100px;
    padding-top: 18px;
    font-size: 0.9rem;
  }
  .hero h1 {
    font-size: 5.4rem;
  }
  .spark {
    font-size: 3rem;
    right: -45px;
  }
  .form-section {
    padding: 38px 36px;
    gap: 32px;
  }
  .party-details {
    padding: 25px 36px;
  }
  .save-bar {
    padding: 28px 36px;
  }
  .notice {
    margin: 24px 36px;
  }
}
@media (max-width: 640px) {
  .site-wrap {
    margin: 10px;
    box-shadow: 4px 4px 0 #b89acd55;
  }
  .topline {
    padding: 13px 20px;
  }
  .topline > span:not(.tiny-star) {
    display: none;
  }
  .hero {
    padding: 35px 24px 25px;
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 5.6rem;
    letter-spacing: -4px;
  }
  .hero-copy > p:not(.hero-note) {
    max-width: 100%;
  }
  .hero-note {
    font-size: 1.25rem;
  }
  .hero .button {
    width: 100%;
  }
  .party-art {
    min-height: 270px;
    margin: 12px 0 10px;
  }
  .disc {
    width: 215px;
    box-shadow: 10px 10px 0 #d9c7e4;
  }
  .disc-label {
    width: 110px;
    height: 110px;
    font-size: 1.2rem;
    padding-top: 16px;
  }
  .disc-label small {
    font-size: 0.6rem;
  }
  .stamp {
    right: 0;
    top: 18px;
  }
  .star-one {
    top: 0;
    left: 5px;
    font-size: 4.5rem;
  }
  .star-two {
    bottom: 22px;
    font-size: 3rem;
  }
  .disc-note {
    font-size: 1rem;
    left: 5px;
    bottom: 0;
  }
  .ticker {
    font-size: 1rem;
    gap: 30px;
    justify-content: start;
    padding-left: 20px;
  }
  .party-details {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 18px;
  }
  .party-details > div {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: baseline;
    gap: 12px;
  }
  .party-details p {
    margin: 0;
  }
  .form-section {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 32px 24px;
  }
  .section-intro p {
    margin-top: 12px;
  }
  .section-icon {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  h2 {
    font-size: 2.2rem;
  }
  .section-body {
    padding-top: 8px;
  }
  .mixtape {
    display: none;
  }
  .save-bar {
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .notice {
    margin: 24px;
  }
  .track {
    gap: 9px;
  }
  .track button {
    padding: 8px;
  }
  .track img,
  .track-placeholder {
    width: 42px;
    height: 42px;
  }
  footer {
    padding: 22px 24px;
    flex-direction: column;
    gap: 8px;
  }
  .admin-main {
    padding: 24px 18px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .admin-panel {
    padding: 20px;
  }
  .admin-main h1 {
    font-size: 2.8rem;
  }
  .invite-card {
    padding: 18px;
  }
  .admin-top {
    flex-wrap: wrap;
  }
  .admin-stats {
    gap: 8px;
  }
  .admin-stats span {
    padding: 10px;
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button {
    transition:
      transform 0.12s,
      box-shadow 0.12s;
  }
}
