:root {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  color: #f7f4ff;
  background: #11101b;
  font-synthesis: none;
  color-scheme: dark;
  --muted: #aaa5be;
  --pink: #e4b8ff;
  --lime: #d6f591;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 0 0, #36223e55, transparent 45%), #11101b;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
  min-height: 48px;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
.hidden {
  display: none !important;
}
.site-header {
  max-width: 1200px;
  padding: 24px 28px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  font-size: 17px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #171222;
  background: var(--pink);
  font-size: 24px;
}
.brand small {
  display: block;
  letter-spacing: 1.6px;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
}
.binding-badge {
  font-size: 13px;
  border: 1px solid #494351;
  color: #cac4d7;
  border-radius: 24px;
  padding: 7px 12px;
  white-space: nowrap;
}
.binding-badge.active {
  color: var(--lime);
  border-color: #667b40;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 0 28px;
}
.intro {
  margin: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--pink);
}
.intro p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.showcase {
  min-width: 0;
}
.carousel {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  border: 1px solid #ffffff20;
  background: #33203b;
  touch-action: pan-y;
}
.slides {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 570px;
  padding: 32px 34px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 70% 25%, #fa937999, transparent 42%),
    linear-gradient(140deg, #6d253a, #381323 65%, #160e1c);
}
.slide.east {
  background:
    radial-gradient(ellipse at 75% 25%, #80a6ff77, transparent 45%),
    linear-gradient(140deg, #183d7a, #131b3d 65%, #0d1122);
}
.slide.function {
  background:
    radial-gradient(ellipse at 75% 25%, #d2d88766, transparent 45%),
    linear-gradient(140deg, #445b37, #1d342a 65%, #101d1a);
}
.slide:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -100px -60px;
  background: repeating-conic-gradient(
    from -25deg at 60% 100%,
    transparent 0 18deg,
    #fff1 19deg 23deg,
    transparent 24deg 40deg
  );
  transform: rotate(-10deg);
}
.slide:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 410px;
  height: 410px;
  border: 1px solid #ffe5b855;
  border-radius: 50%;
  right: -160px;
  top: 130px;
  box-shadow:
    0 0 0 24px #ffffff05,
    0 0 0 60px #ffffff04,
    0 0 0 95px #ffffff03;
}
.slide-tag {
  font-size: 12px;
  letter-spacing: 2px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff30;
  padding-bottom: 18px;
}
.slide-copy {
  position: relative;
  margin-top: 42px;
}
.slide-copy .english {
  font-size: 12px;
  letter-spacing: 4px;
  color: #ffe6d3;
}
.slide-copy h1 {
  font-size: 64px;
  line-height: 1.07;
  font-weight: 850;
  letter-spacing: 3px;
  margin: 18px 0 16px;
  max-width: 4em;
  text-shadow: 0 2px 25px #230b1755;
}
.slide-copy p {
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1.7;
  color: #f2dccf;
}
.slide.east .slide-copy .english {
  color: #c8deff;
}
.slide.function .slide-copy .english {
  color: #e7f6cf;
}
.event-date {
  position: absolute;
  bottom: 80px;
  left: 34px;
  right: 34px;
  border-top: 1px solid #ffffff30;
  padding-top: 18px;
  font-size: 17px;
  font-weight: 650;
}
.event-date small {
  display: block;
  color: #e7dce6;
  font-size: 13px;
  font-weight: 400;
  margin-top: 8px;
}
.city {
  position: absolute;
  z-index: -1;
  height: 140px;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: end;
  gap: 6px;
  opacity: 0.28;
  padding: 0 16px;
}
.city i {
  flex: 1;
  background: linear-gradient(#f2d3b055, #110f1b);
  height: var(--height);
  border-top: 1px solid #fff7;
  position: relative;
}
.city i:after {
  content: "";
  position: absolute;
  inset: 10px 5px;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 11px,
    #fff5 12px 13px
  );
}
.carousel-tools {
  position: absolute;
  bottom: 18px;
  left: 34px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 3px;
}
.slide-controls {
  display: flex;
  gap: 8px;
}
.slide-controls button {
  background: #ffffff18;
  color: #fff;
  min-height: 32px;
  width: 34px;
  border-radius: 50%;
  font-size: 22px;
}
.slide-controls #pauseSlide {
  font-size: 13px;
}
.carousel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 16px 2px;
  color: var(--muted);
  font-size: 12px;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots button {
  min-height: 28px;
  width: 24px;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.dots button:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: #625869;
  transition: width 0.3s;
}
.dots button.active:before {
  width: 22px;
  background: var(--pink);
}
.winner-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #211d2d;
  border: 1px solid #ffffff0d;
  padding: 15px 16px;
  border-radius: 12px;
  font-size: 13px;
  min-height: 54px;
}
.sound-mark {
  color: var(--lime);
  letter-spacing: 1px;
}
.winner-title {
  color: #ded3f0;
  white-space: nowrap;
  padding-right: 10px;
  border-right: 1px solid #52465c;
}
#winnerText {
  color: #c1b8ce;
  transition: opacity 0.2s;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.booking {
  background: #f7f4f9;
  color: #272030;
  border-radius: 20px;
  padding: 34px 32px;
  min-width: 0;
  box-shadow: 0 15px 60px #0002;
}
.step-label {
  color: #8b577a;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 650;
}
.booking h2 {
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 1px;
  margin: 16px 0;
}
.help {
  color: #7a7185;
  font-size: 14px;
  line-height: 1.8;
}
.booking label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 24px 0 10px;
}
.booking input {
  font-size: 16px;
  width: 100%;
  height: 54px;
  border: 1px solid #ded6e4;
  background: white;
  color: #272030;
  border-radius: 10px;
  padding: 0 14px;
}
.booking input:focus {
  outline: 3px solid #b389d633;
  border-color: #ac86be;
}
.primary {
  background: #282034;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  border-radius: 10px;
  padding: 15px 18px;
  min-height: 54px;
  font-weight: 600;
}
.primary span {
  color: var(--pink);
}
#bindButton {
  margin-top: 28px;
}
.secondary {
  background: transparent;
  color: #463750;
  border: 1px solid #d7cddd;
  border-radius: 10px;
  padding: 14px;
  width: 100%;
  min-height: 52px;
}
.text-button {
  background: transparent;
  color: #73537d;
  padding: 8px;
  font-size: 13px;
  min-height: 44px;
}
.privacy {
  font-size: 12px;
  color: #968b9c;
  line-height: 1.7;
  text-align: center;
  margin: 18px 0 0;
}
.identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.identity h2 {
  font-size: 26px;
  margin: 12px 0 6px;
}
.identity p {
  color: #827487;
  font-size: 13px;
  margin: 0;
}
.matched {
  padding: 20px;
  background: #ece5f1;
  border: 1px solid #dcd0e5;
  border-radius: 12px;
  margin: 24px 0;
}
.matched span {
  display: block;
  color: #8b6a9b;
  font-size: 12px;
}
.matched strong {
  display: block;
  font-size: 26px;
  letter-spacing: 2px;
  margin: 8px 0;
}
.matched small {
  color: #8c7a94;
  font-size: 13px;
}
.draw-status {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  margin-top: 24px;
}
.draw-status #drawState {
  color: #895b8a;
  font-weight: 600;
}
.draw-status #clockLabel {
  color: #8e8197;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}
.time {
  text-align: center;
  background: white;
  border: 1px solid #e6dfea;
  border-radius: 10px;
  padding: 12px 4px;
}
.time b {
  font-size: 28px;
  display: block;
  font-variant-numeric: tabular-nums;
  color: #473352;
}
.time span {
  font-size: 12px;
  color: #9a899f;
}
.actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.error {
  padding: 14px;
  background: #fce8e9;
  border: 1px solid #f2bfc5;
  color: #a1273a;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
}
.experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid #ffffff13;
  margin-top: 12px;
}
.experience > div {
  position: relative;
  padding-left: 32px;
}
.tiny-star {
  position: absolute;
  left: 0;
  color: var(--pink);
  font-size: 22px;
}
.experience strong {
  font-size: 15px;
  font-weight: 500;
}
.experience p {
  font-size: 13px;
  color: #8e869e;
  line-height: 1.8;
  margin: 10px 0;
}
footer {
  text-align: center;
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom));
  color: #8e859d;
}
footer span {
  font-size: 14px;
  letter-spacing: 3px;
}
footer p {
  font-size: 12px;
  margin: 12px 0;
}
.result-heading {
  text-align: center;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e4edda;
  color: #4f7530;
  font-size: 30px;
  margin: auto;
}
.ticket {
  border: 1px solid #d7c2da;
  border-radius: 14px;
  padding: 26px 18px;
  background: linear-gradient(160deg, #eee4ed, #fff8f3);
  text-align: center;
  margin: 24px 0;
}
.ticket.east {
  background: linear-gradient(160deg, #dfe8f6, #f9f7ff);
}
.ticket .name {
  font-size: 34px;
  font-weight: 750;
  margin: 22px 0 8px;
}
.ticket h3 {
  font-size: 24px;
  line-height: 1.5;
}
.ticket p {
  font-size: 15px;
  line-height: 1.8;
}
.ticket hr {
  border: 0;
  border-top: 1px dashed #c9b5cc;
  margin: 22px 0;
}
.muted {
  font-size: 13px;
  color: #8c7c95;
  line-height: 1.8;
}
.eyebrow-ticket {
  font-size: 12px;
  letter-spacing: 2px;
  color: #92698d;
}
dialog {
  color: #272030;
  background: #f7f4f9;
  border: 0;
  border-radius: 18px;
  max-width: 440px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  overflow: auto;
  padding: 22px;
}
dialog::backdrop {
  background: #080510b8;
}
.poster {
  width: 100%;
  border-radius: 10px;
}
.toast {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: #ede2f6;
  color: #372a44;
  padding: 14px 20px;
  font-size: 14px;
  border-radius: 12px;
  box-shadow: 0 8px 30px #0005;
  z-index: 10;
  width: max-content;
  max-width: calc(100% - 32px);
}
@media (min-width: 1100px) {
  .booking {
    position: sticky;
    top: 24px;
  }
  .main-grid {
    gap: 48px;
  }
  .slide {
    height: 610px;
  }
  .slide-copy h1 {
    font-size: 76px;
  }
}
@media (max-width: 767px) {
  .site-header {
    padding: 18px 20px;
  }
  .brand {
    font-size: 15px;
    gap: 10px;
  }
  .brand small {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
  .binding-badge {
    font-size: 12px;
    padding: 6px 9px;
  }
  main {
    padding: 0 16px;
  }
  .intro {
    margin: 16px 4px 18px;
    display: block;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
  }
  .intro p {
    font-size: 12px;
    margin-top: 8px;
  }
  .main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .slide {
    height: 425px;
    padding: 24px;
  }
  .slide-tag {
    font-size: 11px;
    padding-bottom: 14px;
    letter-spacing: 1px;
  }
  .slide-copy {
    margin-top: 28px;
  }
  .slide-copy h1 {
    font-size: 52px;
    max-width: 5em;
    margin: 14px 0;
  }
  .slide-copy p {
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0;
  }
  .slide-copy .english {
    font-size: 11px;
    letter-spacing: 3px;
  }
  .slide:after {
    width: 280px;
    height: 280px;
    right: -135px;
    top: 120px;
  }
  .event-date {
    left: 24px;
    right: 24px;
    bottom: 66px;
    font-size: 16px;
    padding-top: 14px;
  }
  .event-date small {
    font-size: 12px;
  }
  .carousel-tools {
    left: 24px;
    right: 20px;
    bottom: 12px;
  }
  .carousel-bottom {
    margin: 8px 2px 12px;
    font-size: 10px;
    gap: 6px;
  }
  .winner-strip {
    font-size: 12px;
    padding: 13px 12px;
    gap: 8px;
    min-height: 48px;
  }
  .booking {
    padding: 26px 22px;
    border-radius: 18px;
  }
  .booking h2 {
    font-size: 28px;
  }
  .booking label {
    margin-top: 20px;
  }
  .experience {
    gap: 16px;
    padding: 30px 4px;
    margin-top: 8px;
  }
  .experience > div {
    padding-left: 0;
    padding-top: 28px;
  }
  .tiny-star {
    top: 0;
  }
  .experience strong {
    font-size: 13px;
  }
  .experience p {
    font-size: 12px;
  }
  .identity h2 {
    font-size: 24px;
  }
  .identity .step-label {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .matched strong {
    font-size: 26px;
  }
  .carousel {
    border-radius: 18px;
  }
}
@media (max-width: 359px) {
  .slide {
    height: 410px;
    padding: 20px;
  }
  .slide-copy h1 {
    font-size: 46px;
  }
  .booking {
    padding: 24px 18px;
  }
  .carousel-bottom span {
    font-size: 9px;
  }
  .event-date {
    left: 20px;
    right: 20px;
  }
  .winner-title {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.booking {
  overflow-wrap: anywhere;
}
.identity > div {
  min-width: 0;
}
.identity .text-button {
  flex-shrink: 0;
}
#timeRange {
  white-space: pre-line;
}
