/* ==========================================================================
   奎芯科技 × ICCAD-Expo 2026 — 「芯」动现场 · 三重好礼
   Mobile-first event H5
   ========================================================================== */

:root {
  --ink: #17101f;
  --ink-soft: #35263f;
  --muted: #6b5e75;
  --muted-light: #9b8fa5;
  --paper: #f6f1ea;
  --paper-deep: #eee6dc;
  --paper-cool: #f4edfb;
  --white: #fffdfb;
  --purple-950: #13081d;
  --purple-900: #190b25;
  --purple-800: #241032;
  --purple-700: #3b1757;
  --purple-600: #5a2b8d;
  --purple-500: #7442ad;
  --purple-300: #cbb4ea;
  --lavender: #ddccff;
  --lavender-soft: #f0e8fa;
  --red: #9b292d;
  --red-bright: #cf4d45;
  --coral: #ff9b8e;
  --coral-soft: #f5d8d2;
  --green: #92e5b5;
  --line: rgba(23, 16, 31, 0.11);
  --line-soft: rgba(23, 16, 31, 0.07);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow-card: 0 24px 70px rgba(38, 20, 51, 0.1);
  --shadow-sheet: 0 40px 120px rgba(11, 4, 18, 0.42);
  --radius-card: 28px;
  --radius-btn: 15px;
  --container: 1160px;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--purple-900);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  padding: 0;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

small {
  font-size: inherit;
}

::selection {
  color: #fff;
  background: var(--purple-600);
}

:focus-visible {
  outline: 2px solid var(--purple-500);
  outline-offset: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--purple-700);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.page {
  overflow: clip;
}

/* --------------------------------------------------------------------------
   Common pieces
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 56px;
  padding: 0 9px 0 24px;
  border-radius: 16px 4px 16px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn__circle {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  place-items: center;
  background: var(--purple-600);
  color: #fff;
  transition: transform 0.3s var(--ease), background 0.25s ease;
}

.btn:hover .btn__circle {
  transform: rotate(-7deg) scale(1.04);
}

.btn__circle .icon {
  width: 17px;
  height: 17px;
}

.btn--cream {
  color: var(--ink);
  background: #fff8ee;
  box-shadow: 0 16px 38px rgba(2, 0, 7, 0.28);
}

.btn--cream:hover {
  color: var(--purple-700);
  background: #fff;
}

.btn--primary {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  color: #fff;
  background: var(--purple-700);
  border-radius: var(--radius-btn) 4px var(--radius-btn) var(--radius-btn);
  box-shadow: 0 12px 28px rgba(58, 27, 81, 0.22);
}

.btn--primary > .icon {
  width: 18px;
  height: 18px;
}

.btn--primary:hover {
  background: var(--purple-600);
  box-shadow: 0 16px 34px rgba(58, 27, 81, 0.28);
}

.btn--primary:disabled,
.btn--ghost:disabled,
.quiz-next:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
  box-shadow: none;
}

.btn--ghost {
  height: 54px;
  padding: 0 18px;
  color: var(--ink);
  background: #f3ede5;
  border: 1px solid rgba(23, 16, 31, 0.08);
  border-radius: var(--radius-btn) 4px var(--radius-btn) var(--radius-btn);
  font-size: 13px;
}

.btn--ghost:hover {
  background: #ece4da;
}

.btn--full {
  width: 100%;
}

.btn--outline-light {
  height: 48px;
  padding: 0 18px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 13px 4px 13px 13px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.btn--outline-light:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.09);
}

.btn--outline-light .icon {
  width: 15px;
  height: 15px;
}

.btn.is-loading {
  pointer-events: none;
}

.btn.is-loading .btn__label {
  opacity: 0;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.text-link .icon {
  width: 13px;
  height: 13px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--purple-600);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.kicker > span {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--red);
}

.kicker--light {
  color: rgba(255, 255, 255, 0.55);
}

.kicker--light > span {
  background: var(--coral);
}

.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 3px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 155, 142, 0.12);
  animation: livePulse 2.4s ease-in-out infinite;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: max(22px, env(safe-area-inset-top));
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 12px 3px 12px 12px;
  background: rgba(255, 253, 250, 0.96);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s var(--ease);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand img {
  width: 100px;
  height: auto;
}

.nav__meta {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__event {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.nav__event .live-dot {
  margin-right: 0;
}

.nav__jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px 3px 10px 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav__jump:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.nav__jump .icon {
  width: 13px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 130px 0 30px;
  color: #fff;
  background:
    radial-gradient(95% 85% at 78% 44%, rgba(105, 52, 171, 0.48) 0%, rgba(70, 31, 108, 0.18) 38%, transparent 70%),
    radial-gradient(65% 60% at 9% 100%, rgba(155, 41, 45, 0.19) 0%, transparent 70%),
    linear-gradient(155deg, #170b22 0%, #1d0e2c 44%, #12081b 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 25% 100%;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  opacity: 0.6;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(80% 70% at 70% 42%, #000 0%, rgba(0, 0, 0, 0.6) 42%, transparent 78%);
  opacity: 0.7;
}

.hero__aurora {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(10px);
}

.hero__aurora--one {
  top: -24%;
  right: -11%;
  width: 58vw;
  height: 58vw;
  min-width: 580px;
  min-height: 580px;
  background: radial-gradient(circle, rgba(187, 146, 255, 0.17), transparent 64%);
}

.hero__aurora--two {
  bottom: -25%;
  left: -20%;
  width: 52vw;
  height: 52vw;
  min-width: 520px;
  min-height: 520px;
  background: radial-gradient(circle, rgba(207, 77, 69, 0.1), transparent 68%);
}

.hero__orbit {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
}

.hero__orbit--one {
  top: 1%;
  right: -19%;
  width: 78vw;
  height: 78vw;
  max-width: 1120px;
  max-height: 1120px;
}

.hero__orbit--two {
  top: 19%;
  right: -7%;
  width: 49vw;
  height: 49vw;
  max-width: 700px;
  max-height: 700px;
  border-color: rgba(207, 77, 69, 0.09);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--container), calc(100% - 64px));
  flex: 1;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: 40px;
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 630px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.hero__eyebrow > span:not(.hero__eyebrow-mark) {
  color: var(--coral);
}

.hero__eyebrow-mark {
  display: grid;
  width: 26px;
  height: 26px;
  margin-right: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  place-items: center;
  color: var(--lavender);
  background: rgba(255, 255, 255, 0.05);
}

.hero__eyebrow-mark .icon {
  width: 12px;
  height: 12px;
}

.hero__title {
  margin: 22px 0 26px;
  font-size: clamp(58px, 7.9vw, 88px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.hero__title > span {
  display: block;
}

.hero__title-line {
  white-space: nowrap;
}

.hero__title-accent {
  padding-bottom: 0.07em;
  color: transparent;
  background: linear-gradient(98deg, #fff8ef 2%, #e6d4ff 53%, #ffb6a8 98%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__lead {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.015em;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.hero__micro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.hero__micro i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 550px;
  place-items: center;
}

.stage {
  position: relative;
  display: flex;
  width: min(100%, 530px);
  aspect-ratio: 1 / 1.045;
  align-items: flex-end;
  justify-content: center;
}

.stage__halo {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 109, 238, 0.3) 0%, rgba(113, 56, 172, 0.13) 38%, transparent 69%);
  filter: blur(4px);
}

.stage__ring {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.stage__ring--outer {
  top: 24%;
  left: 1%;
  width: 98%;
  height: 46%;
  border: 1px solid rgba(221, 204, 255, 0.16);
  transform: rotate(-18deg);
}

.stage__ring--outer::before {
  content: "";
  position: absolute;
  top: 13%;
  left: 10%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 16px rgba(255, 155, 142, 0.65);
}

.stage__ring--inner {
  top: 31%;
  left: 15%;
  width: 70%;
  height: 33%;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  transform: rotate(17deg);
}

.stage__wafer {
  position: absolute;
  z-index: 0;
  bottom: 9%;
  left: 50%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 27px 27px;
  mask-image: radial-gradient(circle, #000 22%, transparent 69%);
  opacity: 0.85;
  transform: translateX(-50%) rotate(-7deg);
}

.stage__mascot {
  position: relative;
  z-index: 3;
  width: 73%;
  height: auto;
  margin-bottom: 4%;
  filter: drop-shadow(0 32px 42px rgba(2, 0, 8, 0.45));
  animation: mascotFloat 5.6s ease-in-out infinite;
}

.stage__shadow {
  position: absolute;
  z-index: 1;
  bottom: 3.2%;
  left: 50%;
  width: 38%;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.58), transparent 70%);
  transform: translateX(-50%);
  filter: blur(9px);
}

.chiplet {
  position: absolute;
  z-index: 2;
  display: flex;
  min-width: 90px;
  flex-direction: column;
  gap: 1px;
  padding: 9px 11px 10px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 13px 3px 13px 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  box-shadow: 0 14px 30px rgba(2, 0, 7, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: chipFloat 5s ease-in-out infinite;
}

.chiplet::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 6px;
  width: 28px;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px 4px);
}

.chiplet b {
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.chiplet small {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.4;
  letter-spacing: 0.07em;
}

.chiplet__dot {
  width: 4px;
  height: 4px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(146, 229, 181, 0.6);
}

.chiplet--right {
  align-items: flex-end;
  text-align: right;
}

.chiplet--right::after {
  right: auto;
  left: 12px;
}

.chiplet--right .chiplet__dot {
  align-self: flex-end;
}

.chiplet b,
.chiplet small {
  white-space: nowrap;
}

.chiplet {
  z-index: 2;
}

.chiplet--uci {
  top: 12%;
  left: -1%;
  transform: rotate(-7deg);
}

.chiplet--lpddr {
  top: 30%;
  left: 2%;
  animation-delay: -1.1s;
  transform: rotate(3deg);
}

.chiplet--onfi {
  top: 48%;
  left: -1%;
  animation-delay: -2.3s;
  transform: rotate(-3deg);
}

.chiplet--d2d {
  top: 66%;
  left: 3%;
  animation-delay: -3.1s;
  transform: rotate(4deg);
}

.chiplet--pcie {
  top: 8%;
  right: -2%;
  animation-delay: -0.6s;
  transform: rotate(5deg);
}

.chiplet--hbm {
  top: 26%;
  right: 2%;
  animation-delay: -1.6s;
  transform: rotate(-4deg);
}

.chiplet--usb {
  top: 44%;
  right: -1%;
  animation-delay: -2.7s;
  transform: rotate(4deg);
}

.chiplet--iodie {
  top: 62%;
  right: 3%;
  animation-delay: -3.6s;
  transform: rotate(-3deg);
}

.chiplet--m2link {
  top: 80%;
  right: -1%;
  animation-delay: -1.9s;
  transform: rotate(2deg);
}

.stage__star {
  position: absolute;
  z-index: 4;
  color: rgba(255, 226, 214, 0.62);
}

.stage__star .icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.1;
}

.stage__star--one {
  top: 16%;
  right: 23%;
  animation: twinkle 3.8s ease-in-out infinite;
}

.stage__star--two {
  top: 55%;
  left: 13%;
  color: rgba(221, 204, 255, 0.42);
  animation: twinkle 4.2s 1.4s ease-in-out infinite;
}

.stage__star--two .icon {
  width: 10px;
  height: 10px;
}

.eventbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: stretch;
  margin-top: 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px 5px 20px 20px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.eventbar__grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eventbar__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  padding: 19px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.eventbar__label {
  color: rgba(255, 255, 255, 0.33);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.2;
  letter-spacing: 0.17em;
}

.eventbar__item strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eventbar__item small {
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.eventbar__action {
  display: flex;
  width: 85px;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  background: linear-gradient(145deg, var(--purple-600), var(--purple-700));
  transition: background 0.25s ease;
}

.eventbar__action:hover {
  background: linear-gradient(145deg, #6e39a3, #4b216c);
}

.eventbar__action span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.eventbar__action .icon {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   Product marquee
   -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  z-index: 5;
  display: flex;
  height: 47px;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(23, 16, 31, 0.08);
  border-bottom: 1px solid rgba(23, 16, 31, 0.08);
  background: #f1eae2;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-right: 25px;
  color: #605369;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.marquee__group i {
  color: var(--red);
  font-style: normal;
  font-size: 9px;
}

/* --------------------------------------------------------------------------
   Activity section
   -------------------------------------------------------------------------- */

.activities {
  position: relative;
  overflow: hidden;
  padding: 94px 0 88px;
  background:
    radial-gradient(52% 32% at 94% 3%, rgba(178, 139, 226, 0.17), transparent 72%),
    radial-gradient(48% 30% at 4% 44%, rgba(207, 77, 69, 0.05), transparent 72%),
    var(--paper);
}

.activities::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(23, 16, 31, 0.13) 0.7px, transparent 0.7px);
  background-size: 20px 20px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 65%, transparent);
  opacity: 0.32;
}

.activities__glow {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 110, 219, 0.14), transparent 67%);
  pointer-events: none;
}

.activities > .container {
  position: relative;
  z-index: 2;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: end;
  gap: 60px;
}

.section-head__main h2 {
  margin-top: 14px;
  font-size: clamp(38px, 4.7vw, 60px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.section-head__main h2 em {
  position: relative;
  color: var(--purple-600);
  font-style: normal;
  white-space: nowrap;
}

.section-head__main h2 em::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 0.08em;
  left: 2px;
  z-index: -1;
  height: 0.22em;
  border-radius: 999px;
  background: rgba(207, 77, 69, 0.13);
}

.section-head__aside {
  max-width: 410px;
  padding-bottom: 4px;
  justify-self: end;
}

.section-head__aside > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.section-head__tools {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 13px;
}

.section-head__note {
  display: inline-block;
  color: #75687f;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.section-rule {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 0 3px;
  border-bottom: 1px solid rgba(90, 43, 141, 0.35);
  color: var(--purple-600);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.section-rule:hover {
  color: var(--purple-700);
  border-color: var(--purple-700);
}

.section-rule .icon {
  width: 11px;
  height: 11px;
}

/* Passport ----------------------------------------------------------------- */

.passport {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding: 17px 24px;
  border: 1px solid rgba(23, 16, 31, 0.1);
  border-radius: 18px 5px 18px 18px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.7), rgba(255, 252, 247, 0.94)),
    #fffaf4;
  box-shadow: 0 14px 34px rgba(45, 28, 56, 0.045);
}

.passport::before,
.passport::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(23, 16, 31, 0.08);
  border-radius: 50%;
  background: var(--paper);
  transform: translateY(-50%);
}

.passport::before {
  left: -7px;
  border-left-color: transparent;
}

.passport::after {
  right: -7px;
  border-right-color: transparent;
}

.passport.is-celebrating {
  animation: passportGlow 1.15s var(--ease);
}

@keyframes passportGlow {
  0% { box-shadow: 0 14px 34px rgba(45, 28, 56, 0.045); }
  38% { box-shadow: 0 0 0 5px rgba(90, 43, 141, 0.1), 0 22px 50px rgba(45, 28, 56, 0.13); }
  100% { box-shadow: 0 14px 34px rgba(45, 28, 56, 0.045); }
}

.passport__identity {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 1px;
}

.passport__identity span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.passport__identity strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.passport__perforation {
  display: block;
  width: 1px;
  height: 40px;
  flex: none;
  background: repeating-linear-gradient(180deg, rgba(23, 16, 31, 0.19) 0 3px, transparent 3px 7px);
}

.passport__stamps {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stamp {
  position: relative;
  display: flex;
  width: 57px;
  height: 57px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px dashed rgba(23, 16, 31, 0.24);
  border-radius: 50%;
  color: #8f818f;
  background: #fffaf4;
  transition: transform 0.3s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.stamp:hover {
  transform: translateY(-2px);
  border-color: var(--purple-500);
  color: var(--purple-600);
}

.stamp__num {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.1;
  letter-spacing: 0.05em;
  opacity: 0.65;
}

.stamp__label {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.stamp__check {
  position: absolute;
  right: 0;
  bottom: 2px;
  display: none;
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  stroke-width: 2.4;
}

.stamp.is-done {
  border-style: solid;
  border-color: var(--purple-600);
  color: #fff;
  background: var(--purple-600);
  transform: rotate(-3deg);
}

.stamp.is-done:hover {
  color: #fff;
  background: var(--purple-500);
}

.stamp.is-done .stamp__check {
  display: block;
}

.stamp.is-done .stamp__num {
  opacity: 0.72;
}

.passport__hint {
  display: none;
}

.passport__score {
  display: flex;
  flex: none;
  align-items: baseline;
  gap: 4px;
  margin-left: auto;
  color: #75687f;
}

.passport__score strong {
  color: var(--purple-600);
  font-family: var(--mono);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.08em;
}

.passport__score span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

/* Activity cards ----------------------------------------------------------- */

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  margin-top: 22px;
}

.activity-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(23, 16, 31, 0.08);
  border-radius: var(--radius-card) 8px var(--radius-card) var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.activity-card:hover {
  box-shadow: 0 34px 90px rgba(38, 20, 51, 0.16);
  transform: translateY(-7px);
}

.card-media {
  position: relative;
  height: 288px;
  flex: none;
  overflow: hidden;
}

.card-media--follow > img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}

.activity-card:hover .card-media--follow > img {
  transform: scale(1.035);
}

.card-media__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 20, 0.12), transparent 25%, transparent 66%, rgba(1, 3, 13, 0.62)),
    linear-gradient(90deg, rgba(4, 8, 23, 0.28), transparent 50%);
}

.tag {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  display: inline-flex;
  height: 26px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tag--cream {
  color: var(--purple-700);
  background: rgba(255, 248, 238, 0.94);
}

.tag--white {
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.82);
}

.card-media__code {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 17px;
  color: rgba(255, 255, 255, 0.71);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
}

.card-media--follow {
  background: #0a1022;
}

.card-media--follow > img {
  object-fit: cover;
  object-position: 50% 50%;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 22px 20px;
}

.card-meta {
  display: flex;
  min-height: 17px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #9b8e9f;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.11em;
}

.card-status {
  display: none;
  align-items: center;
  gap: 3px;
  color: var(--purple-600);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
}

.card-status .icon {
  width: 11px;
  height: 11px;
  padding: 2px;
  border-radius: 50%;
  color: #fff;
  background: var(--purple-500);
  stroke-width: 2.6;
}

.is-done .card-status {
  display: inline-flex;
}

.card-body h3 {
  margin-top: 10px;
  font-size: 29px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.card-body > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 25px;
}

.gift-note {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0;
  line-height: 1.3;
}

.gift-note small {
  color: #a094a4;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.gift-note span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-btn {
  display: inline-flex;
  height: 42px;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 0 13px 0 15px;
  border-radius: 12px 3px 12px 12px;
  color: #fff;
  background: var(--ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.card-btn:hover {
  background: var(--purple-600);
  transform: translateY(-1px);
}

.card-btn .icon {
  width: 13px;
  height: 13px;
}

/* Challenge card */

.activity-card--challenge {
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  background:
    radial-gradient(62% 48% at 72% 15%, rgba(130, 82, 205, 0.28), transparent 70%),
    linear-gradient(160deg, #251033, #190b25 72%);
}

.activity-card--challenge .card-meta {
  color: rgba(255, 255, 255, 0.38);
}

.activity-card--challenge .card-status {
  color: var(--lavender);
}

.activity-card--challenge .card-status .icon {
  color: var(--purple-800);
  background: var(--lavender);
}

.activity-card--challenge .card-body > p {
  color: rgba(255, 255, 255, 0.63);
}

.activity-card--challenge .gift-note small {
  color: rgba(255, 255, 255, 0.33);
}

.activity-card--challenge .gift-note span {
  color: rgba(255, 255, 255, 0.88);
}

.activity-card--challenge .card-btn {
  color: var(--purple-800);
  background: #fff6e9;
}

.activity-card--challenge .card-btn:hover {
  background: #fff;
}

.card-media--challenge {
  background:
    radial-gradient(55% 60% at 58% 38%, rgba(140, 91, 214, 0.42), transparent 68%),
    linear-gradient(150deg, #2b1240 0%, #190b25 78%);
}

.card-media__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(72% 75% at 50% 50%, #000, transparent 76%);
  opacity: 0.8;
}

.card-media__glow {
  position: absolute;
  top: 12%;
  left: 17%;
  width: 66%;
  height: 60%;
  border-radius: 50%;
  background: rgba(158, 106, 232, 0.16);
  filter: blur(32px);
}

.card-media__lego {
  position: absolute;
  z-index: 2;
  top: 49%;
  left: 49%;
  width: 84%;
  height: auto;
  filter: drop-shadow(0 25px 28px rgba(0, 0, 0, 0.38));
  transform: translate(-50%, -50%) rotate(-7deg);
  transition: transform 0.8s var(--ease);
}

.activity-card--challenge:hover .card-media__lego {
  transform: translate(-50%, -50%) rotate(-5deg) scale(1.025);
}

.mini-prize {
  position: absolute;
  z-index: 4;
  right: 13px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 11px 3px 11px 11px;
  color: var(--ink);
  background: rgba(255, 249, 241, 0.96);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.mini-prize img {
  width: 36px;
  height: 40px;
  border-radius: 7px;
  object-fit: cover;
  object-position: 50% 42%;
}

.mini-prize > span {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.35;
}

.mini-prize small {
  color: #9e8f9f;
  font-size: 6.5px;
  letter-spacing: 0.02em;
}

.mini-prize strong {
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

/* Q&A card */

.activity-card--qa {
  border-color: rgba(81, 41, 111, 0.05);
  background: #f0e7fa;
}

.activity-card--qa .card-meta {
  color: #9888a3;
}

.activity-card--qa .card-body > p {
  color: #6d5d77;
}

.activity-card--qa .gift-note small {
  color: #9b8ca4;
}

.activity-card--qa .card-btn {
  background: var(--purple-600);
}

.activity-card--qa .card-btn:hover {
  background: var(--purple-700);
}

.card-media--qa {
  background:
    radial-gradient(48% 48% at 54% 48%, rgba(255, 255, 255, 0.9), transparent 72%),
    linear-gradient(145deg, #e4d2f7, #f3ebfd 68%, #ecdefa);
}

.card-media--qa::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -40%;
  left: 50%;
  width: 120%;
  height: 90%;
  border-radius: 50%;
  background: rgba(109, 57, 150, 0.07);
  transform: translateX(-50%);
}

.card-media__ring {
  position: absolute;
  z-index: 0;
  top: 16%;
  left: 50%;
  width: 77%;
  aspect-ratio: 1;
  border: 1px solid rgba(91, 43, 141, 0.12);
  border-radius: 50%;
  transform: translateX(-50%) rotate(-22deg) scaleY(0.58);
}

.card-media__ring::before {
  content: "";
  position: absolute;
  top: 12%;
  right: 13%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(155, 41, 45, 0.08);
}

.card-media__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(79, 37, 108, 0.16) 0.8px, transparent 0.8px);
  background-size: 14px 14px;
  mask-image: radial-gradient(58% 64% at 50% 58%, #000, transparent 78%);
  opacity: 0.8;
}

.card-media__mascot {
  position: absolute;
  z-index: 2;
  bottom: -4%;
  left: 50%;
  width: 66%;
  height: auto;
  filter: drop-shadow(0 22px 24px rgba(71, 32, 100, 0.18));
  transform: translateX(-50%);
  transition: transform 0.8s var(--ease);
}

.activity-card--qa:hover .card-media__mascot {
  transform: translateX(-50%) translateY(-3px) rotate(-1deg);
}

.card-media--qa .card-media__code {
  color: rgba(56, 25, 75, 0.48);
}

.qa-time {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  display: flex;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74, 38, 99, 0.13);
  border-radius: 50%;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(8px);
  line-height: 1;
  transform: rotate(6deg);
}

.qa-time b {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.qa-time small {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.13em;
}

/* Location ----------------------------------------------------------------- */

.location-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 54px;
  margin-top: 58px;
  padding: 50px 52px;
  border-radius: 30px 7px 30px 30px;
  color: #fff;
  background:
    radial-gradient(50% 50% at 95% 12%, rgba(117, 66, 173, 0.3), transparent 72%),
    linear-gradient(150deg, #21102f, #150a1f 75%);
  box-shadow: 0 34px 100px rgba(37, 19, 50, 0.2);
}

.location-card__lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  opacity: 0.5;
}

.location-card__ring {
  position: absolute;
  top: -44%;
  right: -12%;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(207, 77, 69, 0.13);
  border-radius: 50%;
}

.location-card__ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.location-card__copy,
.location-card__details {
  position: relative;
  z-index: 2;
}

.location-card__copy h2 {
  margin-top: 16px;
  font-size: clamp(33px, 3.6vw, 47px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.location-card__copy h2 em {
  color: var(--lavender);
  font-style: normal;
}

.location-card__copy > p:not(.kicker) {
  max-width: 380px;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.49);
  font-size: 12.5px;
  line-height: 1.85;
}

.location-card__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.loc-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.loc-row:first-child {
  padding-top: 2px;
}

.loc-row:last-child {
  padding-bottom: 2px;
  border-bottom: 0;
}

.loc-row__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px 2px 10px 10px;
  place-items: center;
  color: rgba(221, 204, 255, 0.7);
  background: rgba(255, 255, 255, 0.035);
}

.loc-row__icon .icon {
  width: 15px;
  height: 15px;
}

.loc-row > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.loc-row small {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.loc-row strong {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.loc-row p {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  line-height: 1.5;
}

/* Footer ------------------------------------------------------------------- */

.footer {
  padding: 34px 0 44px;
  border-top: 1px solid rgba(23, 16, 31, 0.08);
  background: #f1eae2;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px 30px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__brand img {
  width: 105px;
  height: auto;
  opacity: 0.85;
}

.footer__brand p {
  color: #9a8c96;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer__links button {
  padding: 4px 0;
  color: #786b74;
  font-size: 11px;
  transition: color 0.2s ease;
}

.footer__links button:hover {
  color: var(--purple-600);
}

.footer__copy {
  grid-column: 1 / -1;
  color: #a89ba3;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Modal / sheet base
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal[hidden] {
  display: none;
}

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 5, 17, 0.68);
  opacity: 0;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  transition: opacity 0.32s ease;
}

.modal.is-open .modal__scrim {
  opacity: 1;
}

.sheet {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 580px);
  max-height: 93vh;
  max-height: 93dvh;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: var(--white);
  box-shadow: var(--shadow-sheet);
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.32s ease, transform 0.45s var(--ease);
}

.modal.is-open .sheet {
  opacity: 1;
  transform: translateY(0);
}

.sheet__grab {
  position: absolute;
  z-index: 4;
  top: 9px;
  left: 50%;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: rgba(52, 34, 64, 0.17);
  transform: translateX(-50%);
}

.sheet__close {
  position: absolute;
  z-index: 6;
  top: 15px;
  right: 15px;
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(23, 16, 31, 0.11);
  border-radius: 50%;
  color: #56475f;
  background: rgba(255, 253, 250, 0.62);
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sheet__close:hover {
  background: #fff;
  transform: rotate(4deg);
}

.sheet__close .icon {
  width: 16px;
  height: 16px;
}

.sheet__body {
  overflow-x: hidden;
  overflow-y: auto;
  padding: 39px 30px calc(28px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(90, 43, 141, 0.24) transparent;
}

.sheet__body::-webkit-scrollbar,
.info-sheet__body::-webkit-scrollbar {
  width: 5px;
}

.sheet__body::-webkit-scrollbar-thumb,
.info-sheet__body::-webkit-scrollbar-thumb {
  border-radius: 9px;
  background: rgba(90, 43, 141, 0.22);
}

.sheet--dark {
  color: #fff;
  background:
    radial-gradient(80% 55% at 70% 0%, rgba(112, 61, 168, 0.34), transparent 70%),
    linear-gradient(160deg, #241032, #160a21 70%);
}

.sheet--dark .sheet__grab {
  background: rgba(255, 255, 255, 0.2);
}

.sheet--dark .sheet__close {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
}

.sheet--dark .sheet__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sheet--lavender {
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(255, 255, 255, 0.9), transparent 70%),
    #f1e7fb;
}

/* --------------------------------------------------------------------------
   Flow shared
   -------------------------------------------------------------------------- */

.flow {
  position: relative;
}

.flow__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 44px;
  margin-bottom: 13px;
  color: var(--purple-600);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.sheet--dark .flow__eyebrow {
  color: var(--lavender);
}

.flow__eyebrow > span:last-child {
  display: inline-flex;
  height: 23px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(90, 43, 141, 0.14);
  border-radius: 999px;
  color: var(--purple-600);
  background: rgba(240, 232, 250, 0.66);
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.sheet--dark .flow__eyebrow > span:last-child {
  border-color: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

.flow h2 {
  padding-right: 18px;
  font-size: clamp(27px, 7vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.flow h2:focus,
.success h2:focus,
.info-sheet__head h2:focus {
  outline: none;
}

.flow__lead {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.sheet--dark .flow__lead {
  color: rgba(255, 255, 255, 0.52);
}

.flow__lead strong {
  color: var(--ink);
  font-weight: 600;
}

.sheet--dark .flow__lead strong {
  color: #fff;
}

.flow-progress {
  display: flex;
  gap: 5px;
  padding-right: 46px;
  margin: 0 0 24px;
}

.flow-progress span {
  height: 3px;
  flex: 1;
  border-radius: 999px;
  background: rgba(23, 16, 31, 0.09);
  transition: background 0.3s ease;
}

.flow-progress span.is-on {
  background: var(--purple-600);
}

/* Benefit banner ------------------------------------------------------------ */

.benefit {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(23, 16, 31, 0.08);
  border-radius: 17px 4px 17px 17px;
  background: #f8f2ea;
}

.benefit__media {
  display: grid;
  width: 62px;
  height: 62px;
  flex: none;
  overflow: hidden;
  border-radius: 12px 3px 12px 12px;
  place-items: center;
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(255, 255, 255, 0.9), transparent 72%),
    #e9dcf8;
}

.benefit__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit__media--photo img {
  object-fit: cover;
  object-position: 50% 43%;
}

.benefit__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.benefit__copy small {
  color: var(--red);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.benefit__copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.benefit__copy span {
  color: #75687f;
  font-size: 9.5px;
  line-height: 1.5;
}

/* Notice line --------------------------------------------------------------- */

.follow-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  color: #6f6278;
  font-size: 9.5px;
  line-height: 1.6;
}

.follow-notice .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  color: var(--purple-500);
}

.follow-notice a,
.follow-notice button {
  padding: 0;
  border-bottom: 1px solid currentColor;
  color: var(--purple-600);
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field > label {
  padding-left: 1px;
  color: #463650;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.req {
  margin-left: 2px;
  color: var(--red);
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid #e2d7df;
  border-radius: 13px 3px 13px 13px;
  color: var(--ink);
  background: #faf6f1;
  font-size: 16px;
  line-height: 1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder {
  color: #85778b;
  font-size: 13px;
}

.field input:hover {
  border-color: #d3c3d1;
}

.field input:focus {
  outline: none;
  border-color: var(--purple-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(90, 43, 141, 0.09);
}

.field.has-error input {
  border-color: #c4473f;
  background: #fff8f7;
  box-shadow: 0 0 0 4px rgba(196, 71, 63, 0.07);
}

.field__error {
  display: none;
  padding-left: 2px;
  color: #bb3c34;
  font-size: 10px;
  line-height: 1.5;
}

.field.has-error .field__error {
  display: block;
}

.consent-block {
  margin-top: 2px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  flex-wrap: wrap;
  color: #7b6d82;
  font-size: 10.5px;
  line-height: 1.65;
}

.consent__label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.consent__label input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent__box {
  display: grid;
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
  border: 1px solid #cdbfd2;
  border-radius: 5px;
  background: #fbf8f4;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.consent__box .icon {
  width: 10px;
  height: 10px;
  opacity: 0;
  color: #fff;
  stroke-width: 2.8;
  transition: opacity 0.15s ease;
}

.consent__label input:focus-visible + .consent__box {
  outline: 2px solid var(--purple-500);
  outline-offset: 2px;
}

.consent__label input:checked + .consent__box {
  border-color: var(--purple-600);
  background: var(--purple-600);
}

.consent__label input:checked + .consent__box .icon {
  opacity: 1;
}

.inline-link {
  padding: 0;
  color: var(--purple-600);
  font-size: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-block .field__error {
  padding-left: 25px;
}

.consent-block.has-error .field__error {
  display: block;
}

.form-submit {
  margin-top: 8px;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 12px;
  color: #75687f;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.form-note .icon {
  width: 11px;
  height: 11px;
  color: #9d909f;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  color: #b5a9b4;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.form-divider::before,
.form-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(23, 16, 31, 0.075);
}

/* --------------------------------------------------------------------------
   Follow flow
   -------------------------------------------------------------------------- */

.wechat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(23, 16, 31, 0.08);
  border-radius: 17px 4px 17px 17px;
  background: #f9f4ee;
}

.wechat-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(225deg, rgba(90, 43, 141, 0.07), transparent 65%);
}

.wechat-card__avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 13px 3px 13px 13px;
  place-items: center;
  background: linear-gradient(145deg, #6c3d9e, #4a2170);
  box-shadow: 0 7px 16px rgba(58, 27, 81, 0.15);
}

.wechat-card__avatar img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.wechat-card__info {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.wechat-card__name {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.wechat-card__verify {
  display: inline-grid;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: #60b56c;
}

.wechat-card__verify .icon {
  width: 9px;
  height: 9px;
  stroke-width: 3;
}

.wechat-card__info > span {
  color: #75687f;
  font-size: 9px;
  line-height: 1.5;
}

.copy-account {
  position: relative;
  z-index: 2;
  display: inline-flex;
  height: 31px;
  flex: none;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid rgba(90, 43, 141, 0.16);
  border-radius: 9px 2px 9px 9px;
  color: var(--purple-600);
  background: rgba(255, 255, 255, 0.64);
  font-size: 9px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.copy-account:hover {
  background: #fff;
}

.copy-account .icon {
  width: 11px;
  height: 11px;
}

.follow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 21px;
}

.follow-step {
  position: relative;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 11px;
  padding-bottom: 17px;
}

.follow-step:last-child {
  padding-bottom: 0;
}

.follow-step::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 2px;
  left: 13px;
  width: 1px;
  background: rgba(23, 16, 31, 0.1);
}

.follow-step:last-child::before {
  display: none;
}

.follow-step__num {
  position: relative;
  z-index: 1;
  display: grid;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(90, 43, 141, 0.16);
  border-radius: 50%;
  place-items: center;
  color: var(--purple-600);
  background: #fbf7ff;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
}

.follow-step__body {
  padding-top: 1px;
}

.follow-step__body strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.follow-step__body p {
  margin-top: 1px;
  color: #6f6278;
  font-size: 10px;
  line-height: 1.6;
}

.follow-gift {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  padding: 10px;
  border: 1px solid rgba(23, 16, 31, 0.08);
  border-radius: 17px 4px 17px 17px;
  background: #fbf6ef;
}

.follow-gift img {
  width: 76px;
  height: 63px;
  flex: none;
  border-radius: 10px 2px 10px 10px;
  object-fit: cover;
  object-position: 50% 50%;
}

.follow-gift__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.follow-gift__copy small {
  color: var(--red);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.follow-gift__copy strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.follow-gift__copy span {
  margin-top: 1px;
  color: #938592;
  font-size: 9px;
}

.flow-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 22px;
}

.flow-legal {
  margin-top: 12px;
  color: #75687f;
  font-size: 9px;
  line-height: 1.65;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Quiz / survey
   -------------------------------------------------------------------------- */

.quiz-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: #9c8fa1;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.quiz-meta strong {
  color: var(--purple-600);
  font-weight: 600;
}

.quiz-tip {
  margin-top: 7px;
  color: #9b8d9e;
  font-size: 9.5px;
  line-height: 1.6;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.option {
  position: relative;
  display: flex;
  min-height: 62px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 12px 36px 12px 13px;
  border: 1px solid #e2d6de;
  border-radius: 14px 3px 14px 14px;
  color: var(--ink);
  background: #fbf7f2;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}

.option:hover {
  border-color: #bca3cd;
  background: #fff;
}

.option__label {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.option__desc {
  color: #978a9b;
  font-size: 9px;
  line-height: 1.45;
}

.option__tick {
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  width: 18px;
  height: 18px;
  border: 1px solid #d0c2d3;
  border-radius: 50%;
  place-items: center;
  background: #fff;
  transform: translateY(-50%);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.option__tick::after {
  content: "";
  width: 7px;
  height: 4px;
  border-bottom: 1.6px solid #fff;
  border-left: 1.6px solid #fff;
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg) scale(0.7);
  transition: opacity 0.15s ease, transform 0.2s var(--ease);
}

.option.is-selected {
  border-color: var(--purple-600);
  color: #fff;
  background: var(--purple-700);
  box-shadow: 0 10px 26px rgba(58, 27, 81, 0.2);
  transform: translateY(-1px);
}

.option.is-selected .option__desc {
  color: rgba(255, 255, 255, 0.58);
}

.option.is-selected .option__tick {
  border-color: var(--coral);
  background: var(--coral);
}

.option.is-selected .option__tick::after {
  opacity: 1;
  transform: translateY(-1px) rotate(-45deg) scale(1);
}

.option.is-selected:hover {
  border-color: var(--purple-600);
  background: var(--purple-700);
}

.question-actions {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.question-actions .btn--ghost {
  flex: none;
  width: 96px;
}

.question-actions .btn--primary {
  flex: 1;
}

.quiz-error {
  margin-top: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(196, 71, 63, 0.16);
  border-radius: 10px;
  color: #aa3d35;
  background: #fff7f5;
  font-size: 10px;
  line-height: 1.6;
}

.quiz-reset-note {
  margin-top: 12px;
  color: #75687f;
  font-size: 9px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Packing / success
   -------------------------------------------------------------------------- */

.packing {
  padding: 34px 0 20px;
  text-align: center;
}

.capsule-wrap {
  position: relative;
  display: grid;
  width: 170px;
  height: 170px;
  margin: 0 auto 27px;
  place-items: center;
}

.capsule-wrap::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(90, 43, 141, 0.2);
  border-radius: 50%;
  animation: spin 12s linear infinite;
}

.capsule {
  position: relative;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(180deg, #e9d6ff 0 49.4%, #fff8ef 49.4% 50.6%, #5a2b8d 50.6% 100%);
  box-shadow: 0 22px 40px rgba(58, 27, 81, 0.22), inset -10px -10px 30px rgba(23, 16, 31, 0.12), inset 10px 10px 30px rgba(255, 255, 255, 0.4);
  animation: wobble 0.85s ease-in-out infinite;
}

.capsule::before {
  content: "";
  position: absolute;
  top: 13%;
  left: 18%;
  width: 26%;
  height: 16%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.54);
  filter: blur(6px);
  transform: rotate(-25deg);
}

.capsule::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5%;
  width: 110%;
  height: 8px;
  background: rgba(23, 16, 31, 0.13);
  transform: translateY(-50%);
}

.capsule__mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 14px rgba(31, 15, 44, 0.15);
  transform: translate(-50%, -50%);
}

.capsule__mark img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.capsule-wrap .stage__star--one {
  top: 10%;
  right: 8%;
}

.capsule-wrap .stage__star--two {
  bottom: 13%;
  left: 4%;
}

.packing h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.packing p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
}

.loading-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-500);
  animation: dotBounce 1s ease-in-out infinite;
}

.loading-dots i:nth-child(2) {
  animation-delay: 0.13s;
}

.loading-dots i:nth-child(3) {
  animation-delay: 0.26s;
}

.success {
  position: relative;
  padding-top: 4px;
  text-align: center;
}

.success__badge {
  display: inline-flex;
  height: 25px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid rgba(155, 41, 45, 0.16);
  border-radius: 999px;
  color: var(--red);
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.sheet--dark .success__badge {
  border-color: rgba(255, 155, 142, 0.22);
  color: #ffc2b7;
  background: rgba(255, 255, 255, 0.06);
}

.success__badge .icon {
  width: 11px;
  height: 11px;
}

.success h2 {
  margin-top: 12px;
  font-size: clamp(29px, 7.6vw, 37px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.success__lead {
  max-width: 380px;
  margin: 9px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.sheet--dark .success__lead {
  color: rgba(255, 255, 255, 0.5);
}

.success__mascot {
  position: relative;
  height: 214px;
  margin: 1px auto -5px;
}

.success__mascot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 188px;
  height: 188px;
  border: 1px solid rgba(90, 43, 141, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.success__mascot::after {
  content: "";
  position: absolute;
  top: 54%;
  left: 50%;
  width: 128px;
  height: 128px;
  border: 1px dashed rgba(90, 43, 141, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(15deg);
}

.success__mascot img {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(58, 27, 81, 0.15));
  animation: mascotFloat 5s ease-in-out infinite;
}

.success__bag {
  position: relative;
  width: 100%;
  height: 158px;
  margin-top: 17px;
  overflow: hidden;
  border-radius: 18px 4px 18px 18px;
  background: #0b1022;
}

.success__bag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 68%;
}

.success__bag::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 9, 23, 0.5));
}

.success__bag span {
  position: absolute;
  z-index: 1;
  bottom: 12px;
  left: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.voucher {
  position: relative;
  margin: 21px 0 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #e6d9ca;
  border-radius: 18px 5px 18px 18px;
  color: var(--ink);
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(237, 219, 197, 0.5), transparent 60%),
    #fffaf4;
  box-shadow: 0 16px 38px rgba(48, 26, 66, 0.08);
  text-align: left;
}

.voucher::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--purple-600), var(--red));
}

.voucher__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.voucher__kicker {
  color: #a2959f;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.voucher__valid {
  display: inline-flex;
  height: 22px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(155, 41, 45, 0.17);
  border-radius: 5px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  transform: rotate(-3deg);
}

.voucher__gift {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.voucher__gift strong {
  font-size: 20px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.voucher__gift span {
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
}

.voucher__divider {
  position: relative;
  margin: 15px 0 13px;
  border-top: 1px dashed #dfd1c2;
}

.voucher__divider::before,
.voucher__divider::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 12px;
  height: 12px;
  border: 1px solid #e6d9ca;
  border-radius: 50%;
  background: var(--white);
}

.voucher__divider::before {
  left: -25px;
  border-left-color: transparent;
}

.voucher__divider::after {
  right: -25px;
  border-right-color: transparent;
}

.sheet--dark .voucher__divider::before,
.sheet--dark .voucher__divider::after {
  background: var(--purple-900);
}

.voucher__code-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.voucher__code-label {
  display: block;
  color: #a497a0;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.voucher__code {
  display: block;
  margin-top: 3px;
  color: var(--purple-700);
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
}

.voucher__mark {
  color: #c2b5c1;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.voucher__note {
  margin-top: 11px;
  color: #6f6278;
  font-size: 9px;
  line-height: 1.65;
}

.success__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 17px;
  text-align: left;
}

.success-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(23, 16, 31, 0.08);
  border-radius: 12px 3px 12px 12px;
  background: rgba(255, 255, 255, 0.48);
}

.sheet--dark .success-step {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.success-step b {
  color: var(--purple-600);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.sheet--dark .success-step b {
  color: var(--lavender);
}

.success-step span {
  color: #62536b;
  font-size: 9.5px;
  line-height: 1.5;
}

.sheet--dark .success-step span {
  color: rgba(255, 255, 255, 0.6);
}

.success__actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 18px;
}

.success__actions .btn--primary {
  color: var(--purple-800);
  background: #fff6e9;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.success__actions .btn--primary:hover {
  background: #fff;
}

.sheet:not(.sheet--dark) .success__actions .btn--primary {
  color: #fff;
  background: var(--purple-700);
  box-shadow: 0 12px 28px rgba(58, 27, 81, 0.18);
}

.sheet:not(.sheet--dark) .success__actions .btn--primary:hover {
  background: var(--purple-600);
}

.success__hint {
  margin-top: 9px;
  color: #75687f;
  font-size: 9px;
  line-height: 1.6;
}

.sheet--dark .success__hint {
  color: rgba(255, 255, 255, 0.28);
}

/* Challenge pass ----------------------------------------------------------- */

.pass {
  position: relative;
  margin-top: 22px;
  padding: 20px 20px 17px;
  overflow: hidden;
  border-radius: 20px 5px 20px 20px;
  color: var(--ink);
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(229, 211, 190, 0.75), transparent 60%),
    #f8f0e5;
  box-shadow: 0 22px 44px rgba(5, 2, 11, 0.24);
  text-align: left;
}

.pass::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 86px;
  height: 86px;
  background: linear-gradient(225deg, rgba(90, 43, 141, 0.09), transparent 65%);
}

.pass::after {
  content: "MSQ";
  position: absolute;
  top: 15px;
  right: 17px;
  color: rgba(90, 43, 141, 0.14);
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.08em;
}

.pass__head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9b8d95;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.pass__head span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.pass__title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 11px;
}

.pass__title h3 {
  color: var(--ink);
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.pass__title span {
  color: var(--purple-600);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.pass__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px dashed #d8c8b7;
}

.pass__person {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.pass__person small {
  color: #a4979e;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
}

.pass__person strong {
  overflow: hidden;
  color: #3b2b44;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pass__code {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.pass__code small {
  color: #a4979e;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
}

.pass__code strong {
  color: var(--purple-700);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pass__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px dashed #d8c8b7;
  color: #75676f;
  font-size: 8px;
  line-height: 1.5;
}

.pass__footer span:last-child {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.challenge-gift {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px 3px 13px 13px;
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}

.challenge-gift img {
  width: 45px;
  height: 49px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 42%;
}

.challenge-gift > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.challenge-gift small {
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.06em;
}

.challenge-gift strong {
  color: rgba(255, 255, 255, 0.83);
  font-size: 10.5px;
  font-weight: 600;
}

.challenge-gift span span {
  color: rgba(255, 255, 255, 0.34);
  font-size: 8px;
}

.challenge-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 15px;
  text-align: left;
}

.challenge-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.challenge-step:last-child {
  border-bottom: 0;
}

.challenge-step b {
  display: grid;
  width: 20px;
  height: 20px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  place-items: center;
  color: var(--lavender);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 500;
}

.challenge-step span {
  color: rgba(255, 255, 255, 0.57);
  font-size: 9.5px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Info modal
   -------------------------------------------------------------------------- */

.modal--info {
  z-index: 130;
  align-items: flex-end;
  padding: 0;
}

.info-sheet {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 680px);
  max-height: 91vh;
  max-height: 91dvh;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: #fffaf4;
  box-shadow: var(--shadow-sheet);
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}

.modal--info.is-open .info-sheet {
  opacity: 1;
  transform: none;
}

.info-sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 27px 28px 18px;
  border-bottom: 1px solid rgba(23, 16, 31, 0.08);
  background: rgba(250, 243, 235, 0.86);
}

.info-sheet__kicker {
  display: block;
  color: var(--red);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.13em;
}

.info-sheet__head h2 {
  margin-top: 4px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.sheet__close--static {
  position: static;
  flex: none;
  background: rgba(255, 255, 255, 0.55);
}

.info-sheet__body {
  overflow-y: auto;
  padding: 22px 28px calc(30px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(90, 43, 141, 0.24) transparent;
}

.info-intro {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.rule-block {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(23, 16, 31, 0.08);
}

.rule-block:first-of-type {
  padding-top: 17px;
}

.rule-block__num {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(90, 43, 141, 0.15);
  border-radius: 10px 2px 10px 10px;
  place-items: center;
  color: var(--purple-600);
  background: #fbf5ff;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
}

.rule-block__body h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.rule-block__body h3 span {
  display: inline-flex;
  height: 19px;
  align-items: center;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--red);
  background: rgba(155, 41, 45, 0.07);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  vertical-align: 1px;
}

.rule-block__body p {
  margin-top: 5px;
  color: #776a78;
  font-size: 11px;
  line-height: 1.8;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}

.rule-list li {
  position: relative;
  padding-left: 12px;
  color: #776a78;
  font-size: 10.5px;
  line-height: 1.75;
}

.rule-list li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
}

.info-note {
  margin-top: 18px;
  padding: 14px 15px;
  border: 1px solid rgba(23, 16, 31, 0.07);
  border-radius: 13px 3px 13px 13px;
  color: #8b7e8b;
  background: rgba(246, 239, 230, 0.75);
  font-size: 10px;
  line-height: 1.8;
}

.info-note strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.info-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.info-footer .btn {
  width: auto;
  min-width: 145px;
}

.privacy-block {
  margin-top: 19px;
}

.privacy-block h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.privacy-block p {
  margin-top: 5px;
  color: #776a78;
  font-size: 11px;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   Toast & confetti
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  z-index: 300;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 50%;
  max-width: min(90vw, 420px);
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(29, 14, 42, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.23);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease);
  backdrop-filter: blur(12px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.confetti-canvas {
  position: fixed;
  z-index: 250;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.noscript {
  position: fixed;
  z-index: 999;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.anim {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.9s var(--ease) forwards;
}

.anim--1 {
  animation-delay: 0.08s;
}

.anim--2 {
  animation-delay: 0.16s;
}

.anim--3 {
  animation-delay: 0.26s;
}

.anim--4 {
  animation-delay: 0.36s;
}

.anim--5 {
  animation-delay: 0.46s;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mascotFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0.001deg);
  }
  50% {
    transform: translateY(-11px) rotate(-0.4deg);
  }
}

@keyframes chipFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 0.7;
    box-shadow: 0 0 0 3px rgba(255, 155, 142, 0.09);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(255, 155, 142, 0.04);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateY(-8px);
  }
}

@keyframes dotBounce {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .hero__title {
    font-size: clamp(56px, 7.2vw, 92px);
  }

  .chiplet {
    min-width: 84px;
    padding: 9px 10px;
  }

  .section-head {
    gap: 38px;
  }
}

@media (max-width: 1023px) {
  .hero {
    min-height: auto;
    padding-top: 122px;
    padding-bottom: 30px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero__title {
    font-size: clamp(58px, 10vw, 92px);
  }

  .hero__lead {
    max-width: 520px;
  }

  .hero__visual {
    min-height: 470px;
    margin-top: -8px;
  }

  .stage {
    width: min(100%, 490px);
  }

  .eventbar {
    margin-top: 24px;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .section-head__aside {
    max-width: 520px;
    justify-self: start;
  }

  .activity-grid {
    max-width: 620px;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-inline: auto;
  }

  .card-media {
    height: 322px;
  }

  .activity-card {
    border-radius: 28px 8px 28px 28px;
  }

  .location-card {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 32px;
    padding: 42px 36px;
  }

  .location-card__details {
    padding-left: 25px;
  }
}

@media (max-width: 840px) {
  .nav__jump {
    display: none;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .location-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .location-card__details {
    padding-top: 8px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .loc-row:first-child {
    padding-top: 16px;
  }

  .loc-row:last-child {
    padding-bottom: 0;
  }

  .footer__inner {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 640px) {
  .container,
  .hero__inner {
    width: calc(100% - 40px);
  }

  .nav {
    padding-top: max(18px, env(safe-area-inset-top));
  }

  .brand {
    padding: 9px 11px;
  }

  .brand img {
    width: 86px;
  }

  .nav__meta {
    gap: 12px;
  }

  .nav__event {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .hero {
    padding-top: 106px;
    padding-bottom: 20px;
  }

  .hero::before {
    background-size: 50% 100%;
  }

  .hero__eyebrow {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .hero__eyebrow-mark {
    width: 23px;
    height: 23px;
  }

  .hero__title {
    margin: 18px 0 21px;
    font-size: clamp(49px, 15vw, 68px);
    line-height: 0.94;
    letter-spacing: -0.055em;
  }

  .hero__lead {
    font-size: 13.5px;
    line-height: 1.8;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
  }

  .hero__actions .btn {
    height: 52px;
    padding-left: 20px;
    font-size: 13px;
  }

  .hero__actions .btn__circle {
    width: 36px;
    height: 36px;
  }

  .hero__actions .text-link {
    margin-left: 2px;
    font-size: 11px;
  }

  .hero__micro {
    margin-top: 18px;
    font-size: 8px;
  }

  .hero__visual {
    min-height: 365px;
    margin-top: 2px;
  }

  .stage {
    width: min(100%, 370px);
  }

  .stage__mascot {
    width: 70%;
    margin-bottom: 8%;
  }

  .chiplet {
    min-width: 66px;
    padding: 7px 8px 8px;
    border-radius: 10px 2px 10px 10px;
  }

  .chiplet b {
    font-size: 10px;
  }

  .chiplet small {
    display: none;
  }

  .chiplet::after {
    right: 8px;
    bottom: 5px;
    width: 20px;
    height: 2px;
  }

  .chiplet--right::after {
    right: auto;
    left: 8px;
  }

  .chiplet--uci {
    top: 11%;
    left: 0;
  }

  .chiplet--lpddr {
    top: 29%;
    left: 1%;
  }

  .chiplet--onfi {
    top: 47%;
    left: 0;
  }

  .chiplet--d2d {
    top: 65%;
    left: 1%;
  }

  .chiplet--pcie {
    top: 8%;
    right: 0;
  }

  .chiplet--hbm {
    top: 26%;
    right: 1%;
  }

  .chiplet--usb {
    top: 44%;
    right: 0;
  }

  .chiplet--iodie {
    top: 62%;
    right: 1%;
  }

  .chiplet--m2link {
    top: 80%;
    right: 0;
  }

  .stage__star--one {
    top: 13%;
    right: 27%;
  }

  .eventbar {
    margin-top: 20px;
    border-radius: 16px 4px 16px 16px;
  }

  .eventbar__grid {
    grid-template-columns: 1.05fr 1.25fr 1fr;
  }

  .eventbar__item {
    padding: 13px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .eventbar__item:last-child {
    border-right: 0;
  }

  .eventbar__label {
    font-size: 6.5px;
  }

  .eventbar__item strong {
    overflow: visible;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: unset;
    white-space: normal;
  }

  .eventbar__item small {
    display: none;
  }

  .eventbar__action {
    display: none;
  }

  .marquee {
    height: 42px;
  }

  .marquee__group {
    gap: 19px;
    padding-right: 19px;
    font-size: 8px;
  }

  .activities {
    padding: 65px 0 62px;
  }

  .section-head__main h2 {
    margin-top: 11px;
    font-size: clamp(34px, 10vw, 45px);
    line-height: 1.12;
  }

  .section-head__aside {
    padding-bottom: 0;
  }

  .section-head__aside > p {
    font-size: 12.5px;
  }

  .section-head__tools {
    gap: 12px;
    margin-top: 10px;
  }

  .section-head__note {
    font-size: 8.5px;
  }

  .section-rule {
    font-size: 9px;
  }

  .passport {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 13px 12px;
    margin-top: 23px;
    padding: 15px 16px;
    border-radius: 16px 4px 16px 16px;
  }

  .passport::before,
  .passport::after {
    display: none;
  }

  .passport__identity {
    grid-column: 1;
    grid-row: 1;
  }

  .passport__identity strong {
    font-size: 16px;
  }

  .passport__score {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
    align-self: center;
  }

  .passport__score strong {
    font-size: 23px;
  }

  .passport__perforation {
    width: 100%;
    height: 1px;
    grid-column: 1 / -1;
    grid-row: 2;
    background: repeating-linear-gradient(90deg, rgba(23, 16, 31, 0.17) 0 3px, transparent 3px 7px);
  }

  .passport__stamps {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: space-between;
    gap: 12px;
    padding-inline: 8px;
  }

  .passport__stamps::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    right: 34px;
    left: 34px;
    border-top: 1px dashed rgba(23, 16, 31, 0.16);
  }

  .passport__stamps .stamp {
    position: relative;
    z-index: 1;
  }

  .stamp {
    width: 52px;
    height: 52px;
  }

  .activity-grid {
    gap: 16px;
    margin-top: 17px;
  }

  .card-media {
    height: 286px;
  }

  .card-body {
    padding: 20px 19px 19px;
  }

  .card-body h3 {
    font-size: 27px;
  }

  .card-body > p {
    font-size: 12px;
    line-height: 1.75;
  }

  .card-bottom {
    padding-top: 22px;
  }

  .card-btn {
    height: 41px;
    font-size: 10.5px;
  }

  .mini-prize {
    right: 11px;
    bottom: 10px;
  }

  .location-card {
    margin-top: 38px;
    padding: 31px 24px 26px;
    border-radius: 24px 6px 24px 24px;
  }

  .location-card__copy h2 {
    font-size: clamp(30px, 8.8vw, 38px);
  }

  .location-card__copy > p:not(.kicker) {
    margin-top: 12px;
    font-size: 11.5px;
  }

  .location-card__ring {
    top: -18%;
    right: -38%;
    width: 390px;
    height: 390px;
  }

  .loc-row strong {
    font-size: 12.5px;
  }

  .loc-row p {
    font-size: 9.5px;
  }

  .btn--outline-light {
    height: 44px;
    margin-top: 19px;
    font-size: 11px;
  }

  .footer {
    padding: 28px 0 34px;
  }

  .footer__inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer__brand {
    gap: 12px;
  }

  .footer__brand img {
    width: 92px;
  }

  .footer__brand p {
    font-size: 7px;
  }

  .footer__links {
    gap: 18px;
  }

  .footer__copy {
    font-size: 7.5px;
  }

  /* Modal & forms */
  .modal {
    padding: 0;
  }

  .sheet {
    width: 100%;
    max-height: 94dvh;
  }

  .sheet__body {
    padding: 37px 20px calc(24px + env(safe-area-inset-bottom));
  }

  .sheet__close {
    top: 13px;
    right: 13px;
    width: 34px;
    height: 34px;
  }

  .flow h2 {
    padding-right: 10px;
    font-size: 27px;
  }

  .flow__lead {
    font-size: 12px;
  }

  .benefit {
    gap: 11px;
    margin-top: 17px;
  }

  .benefit__media {
    width: 55px;
    height: 55px;
  }

  .benefit__copy strong {
    font-size: 12px;
  }

  .wechat-card {
    gap: 10px;
    margin-top: 17px;
    padding: 10px;
  }

  .wechat-card__avatar {
    width: 43px;
    height: 43px;
  }

  .wechat-card__avatar img {
    width: 32px;
    height: 32px;
  }

  .wechat-card__name {
    font-size: 13px;
  }

  .copy-account {
    height: 29px;
    padding: 0 8px;
    font-size: 8px;
  }

  .follow-steps {
    margin-top: 18px;
  }

  .follow-step {
    padding-bottom: 14px;
  }

  .follow-step__body strong {
    font-size: 11.5px;
  }

  .follow-step__body p {
    font-size: 9.5px;
  }

  .follow-gift img {
    width: 69px;
    height: 59px;
  }

  .flow-actions {
    margin-top: 19px;
  }

  .field input {
    height: 50px;
  }

  .option-grid {
    gap: 8px;
  }

  .option {
    min-height: 58px;
    padding: 10px 30px 10px 11px;
  }

  .option__label {
    font-size: 12px;
  }

  .option__desc {
    font-size: 8.5px;
  }

  .option__tick {
    right: 9px;
    width: 17px;
    height: 17px;
  }

  .question-actions .btn--ghost {
    width: 88px;
    padding: 0 12px;
  }

  .packing {
    padding-top: 26px;
  }

  .capsule-wrap {
    width: 150px;
    height: 150px;
    margin-bottom: 22px;
  }

  .capsule {
    width: 108px;
    height: 108px;
  }

  .success__mascot {
    height: 188px;
  }

  .success__mascot::before {
    width: 166px;
    height: 166px;
  }

  .success__mascot img {
    width: 168px;
  }

  .success h2 {
    font-size: 29px;
  }

  .success__bag {
    height: 138px;
  }

  .voucher {
    padding: 16px;
  }

  .voucher__gift strong {
    font-size: 18px;
  }

  .voucher__code {
    font-size: 19px;
  }

  .voucher__divider::before {
    left: -23px;
  }

  .voucher__divider::after {
    right: -23px;
  }

  .pass {
    padding: 17px 16px 15px;
  }

  .pass__title h3 {
    font-size: 24px;
  }

  .success__steps {
    gap: 6px;
  }

  .success-step {
    padding: 9px 8px;
  }

  .success-step span {
    font-size: 8.5px;
  }

  .info-sheet {
    width: 100%;
    max-height: 92dvh;
  }

  .info-sheet__head {
    padding: 23px 20px 15px;
  }

  .info-sheet__head h2 {
    font-size: 23px;
  }

  .info-sheet__body {
    padding: 19px 20px calc(26px + env(safe-area-inset-bottom));
  }

  .rule-block {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    padding: 16px 0;
  }

  .rule-block__num {
    width: 31px;
    height: 31px;
  }

  .rule-block__body h3 {
    font-size: 14px;
  }

  .rule-block__body p,
  .rule-list li {
    font-size: 10.5px;
  }

  .toast {
    bottom: calc(18px + env(safe-area-inset-bottom));
    font-size: 10.5px;
  }
}

@media (max-width: 360px) {
  .container,
  .hero__inner {
    width: calc(100% - 32px);
  }

  .hero__title {
    font-size: 48px;
  }

  .nav__event {
    font-size: 7px;
  }

  .brand img {
    width: 78px;
  }

  .hero__visual {
    min-height: 330px;
  }

  .stage {
    width: 100%;
  }

  .stage__mascot {
    width: 66%;
  }

  .chiplet {
    min-width: 60px;
    padding: 6px 7px 7px;
  }

  .chiplet b {
    font-size: 9.5px;
  }

  .card-media {
    height: 260px;
  }

  .option {
    min-width: 0;
  }

  .option__label {
    font-size: 11.5px;
  }

  .option__desc {
    font-size: 8px;
  }

  .sheet__body {
    padding-inline: 16px;
  }

  .success__steps {
    grid-template-columns: 1fr;
  }

  .success__steps .success-step {
    flex-direction: row;
    align-items: center;
    gap: 7px;
  }
}

@media (min-width: 1100px) {
  .passport__hint {
    display: block;
    margin-left: auto;
    padding-left: 22px;
    border-left: 1px dashed rgba(23, 16, 31, 0.15);
    color: #75687f;
    font-size: 9.5px;
    line-height: 1.5;
    white-space: nowrap;
  }

  .passport__score {
    margin-left: 22px;
  }
}

@media (min-width: 760px) {
  .modal {
    align-items: center;
    padding: 28px;
  }

  .sheet {
    width: min(100%, 580px);
    max-height: min(90vh, 920px);
    max-height: min(90dvh, 920px);
    border-radius: 28px 8px 28px 28px;
    transform: translateY(24px) scale(0.985);
  }

  .modal.is-open .sheet {
    transform: none;
  }

  .sheet__grab {
    display: none;
  }

  .sheet__body {
    padding: 40px 34px 30px;
  }

  .sheet__close {
    top: 17px;
    right: 17px;
  }

  .modal--info {
    align-items: center;
    padding: 28px;
  }

  .info-sheet {
    width: min(100%, 680px);
    max-height: min(88vh, 860px);
    max-height: min(88dvh, 860px);
    border-radius: 28px 8px 28px 28px;
    transform: translateY(20px) scale(0.985);
  }

  .modal--info.is-open .info-sheet {
    transform: none;
  }

  .info-sheet__head {
    padding: 28px 30px 19px;
  }

  .info-sheet__body {
    padding: 22px 30px 30px;
  }
}

@media (hover: none) {
  .activity-card:hover {
    transform: none;
    box-shadow: var(--shadow-card);
  }

  .activity-card:hover .card-media--follow > img {
    transform: none;
  }

  .activity-card--qa:hover .card-media__mascot {
    transform: translateX(-50%);
  }

  .activity-card--challenge:hover .card-media__lego {
    transform: translate(-50%, -50%) rotate(-7deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal,
  .anim {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }

  .confetti-canvas {
    display: none;
  }
}
