* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 15%, #22242d 0, transparent 62%), #0c0d10;
  color: #eeebe3;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  padding: 40px 28px;
}
.invitation { width: min(100%, 380px); text-align: center; padding: 16px 0; }
.orbit {
  width: 62px;
  height: 62px;
  border: 1px solid #c4c8d033;
  border-radius: 50%;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  position: relative;
}
.orbit::after {
  content: "";
  position: absolute;
  inset: 7px -8px;
  border: 1px solid #c4c8d02b;
  border-radius: 50%;
  transform: rotate(-35deg);
}
.orbit span { font-size: 27px; color: #c8bea3; }
.eyebrow { margin: 0; font-size: 9px; letter-spacing: 3px; color: #a6aab2; }
.date { font-family: Georgia, serif; font-size: 24px; letter-spacing: 7px; margin: 23px 0 0; }
.date span { color: #85838b; font-size: 16px; padding: 0 5px; }
form { margin: 50px auto 0; max-width: 304px; text-align: left; }
label { font-size: 11px; letter-spacing: 2px; color: #c9c9cf; }
.field {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #b9b9c14d;
  margin: 6px 0 30px;
  transition: border-color .25s ease;
}
.field:focus-within { border-color: #e5e3dd; }
input { min-width: 0; width: 100%; min-height: 48px; border: 0; background: transparent; padding: 12px 0; color: #eeece6; font-size: 16px; outline: 0; }
button { font: inherit; cursor: pointer; }
.reveal { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: #aaa8a7; padding: 12px 0 12px 12px; white-space: nowrap; font-size: 11px; }
.enter {
  width: min(100%, 254px);
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 25px 14px 28px;
  border: 1px solid #d6cfbd55;
  border-radius: 999px;
  background: linear-gradient(145deg, #d8d2c413, #d8d2c405);
  box-shadow: inset 0 1px 0 #eeebe309, 0 8px 26px #00000014;
  color: #e6e0d1;
  font-size: 12px;
  letter-spacing: 2px;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.enter span { font-size: 19px; line-height: 1; letter-spacing: 0; color: #c6bba3; transition: transform .25s ease; }
@media (hover: hover) {
  .enter:hover { border-color: #d6cfbd99; background: #d8d2c417; box-shadow: inset 0 1px 0 #eeebe30d, 0 10px 30px #00000024; transform: translateY(-1px); }
  .enter:hover span { transform: translate(2px, -2px); }
}
.enter:active { transform: translateY(0); }
.enter:disabled { opacity: .5; cursor: wait; transform: none; }
.music-loading { margin: 24px 0 0; }
.music-loading-label { display: flex; justify-content: space-between; gap: 12px; color: #bcb8ad; font-size: 11px; letter-spacing: 1px; }
.music-percent { font-variant-numeric: tabular-nums; color: #e1d7bf; letter-spacing: 0; }
progress { display: block; width: 100%; height: 3px; margin-top: 12px; appearance: none; border: 0; border-radius: 99px; overflow: hidden; background: #e8dfc918; color: #cabc98; }
progress::-webkit-progress-bar { background: #e8dfc918; border-radius: 99px; }
progress::-webkit-progress-value { background: linear-gradient(90deg, #a5987c, #e3d4af); border-radius: 99px; }
progress::-moz-progress-bar { background: #cabc98; border-radius: 99px; }
.quiet-entry { display: block; margin: 0 auto; border: 0; background: transparent; color: #aaa8a7; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
[hidden] { display: none !important; }
button:focus-visible { outline: 2px solid #f0ecdf; outline-offset: 5px; }
#invite-status { min-height: 36px; text-align: center; font-size: 12px; color: #dbcdb4; line-height: 1.6; margin: 16px 0 0; }
@media (max-height: 600px) {
  body { padding: 24px 28px; }
  .orbit { width: 48px; height: 48px; margin-bottom: 20px; }
  .date { margin-top: 18px; }
  form { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
