:root {
  --red: #ff2442;
  --red-deep: #d71935;
  --ink: #fff8f8;
  --ink-dark: #21191b;
  --muted: rgba(255, 248, 248, 0.72);
  --paper: rgba(255, 255, 255, 0.92);
  --paper-soft: rgba(255, 246, 240, 0.94);
  --line: rgba(255, 255, 255, 0.2);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --mx: 50%;
  --my: 50%;
  --cluster-gap: clamp(16px, 1.8vw, 22px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fffaf3;
  letter-spacing: 0;
}

button {
  font: inherit;
}

.app,
.scene-bg,
.scene {
  position: fixed;
  inset: 0;
}

.scene-bg {
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 17% 28%, rgba(255, 226, 124, 0.34), transparent 22rem),
    radial-gradient(circle at 76% 30%, rgba(255, 36, 66, 0.18), transparent 30rem),
    radial-gradient(circle at 84% 76%, rgba(87, 185, 255, 0.16), transparent 25rem),
    linear-gradient(135deg, #fffaf3 0%, #fff5ee 46%, #fffdf9 100%);
}

.app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: brightness(1.34) contrast(1.08) saturate(1.08);
  -webkit-backdrop-filter: brightness(1.34) contrast(1.08) saturate(1.08);
  mask-image: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    #000 0,
    #000 5.5rem,
    transparent 13rem
  );
  -webkit-mask-image: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    #000 0,
    #000 5.5rem,
    transparent 13rem
  );
}

.app[data-scene="cover"]::before,
.app[data-scene="cover"]::after {
  display: none;
}

.scene-bg::before {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 28%, rgba(255, 36, 66, 0.12), transparent 18rem),
    radial-gradient(circle at 78% 18%, rgba(23, 182, 95, 0.1), transparent 20rem),
    radial-gradient(circle at 66% 78%, rgba(24, 191, 240, 0.12), transparent 22rem);
  opacity: 0.9;
  transform: translate3d(0, 0, 0);
  animation: ambientAura 13s ease-in-out infinite alternate;
}

.app[data-scene="choose"] .scene-bg,
.app[data-scene="content"] .scene-bg,
.app[data-scene="event"] .scene-bg,
.app[data-scene="td"] .scene-bg {
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 212, 90, 0.24), transparent 22rem),
    radial-gradient(circle at 74% 28%, rgba(255, 36, 66, 0.42), transparent 30rem),
    radial-gradient(circle at 80% 82%, rgba(255, 241, 190, 0.22), transparent 24rem),
    linear-gradient(135deg, #210b12 0%, #8f1022 48%, #fff3e7 145%);
}

.app[data-scene="choose"] .bg-note-main,
.app[data-scene="content"] .bg-note-main,
.app[data-scene="event"] .bg-note-main,
.app[data-scene="td"] .bg-note-main {
  right: 4vw;
  top: 11vh;
  width: min(31vw, 380px);
  opacity: 0.5;
  transform: rotate(1.2deg);
}

.app[data-scene="choose"] .bg-note-side,
.app[data-scene="content"] .bg-note-side,
.app[data-scene="event"] .bg-note-side,
.app[data-scene="td"] .bg-note-side {
  display: none;
}

.app[data-scene="choose"] .bg-note-mini,
.app[data-scene="content"] .bg-note-mini,
.app[data-scene="event"] .bg-note-mini,
.app[data-scene="td"] .bg-note-mini {
  display: none;
}

.app[data-scene="choose"] .bg-tag,
.app[data-scene="content"] .bg-tag,
.app[data-scene="event"] .bg-tag,
.app[data-scene="td"] .bg-tag {
  opacity: 0.18;
}

.app[data-scene="choose"] .bg-note strong,
.app[data-scene="content"] .bg-note strong,
.app[data-scene="event"] .bg-note strong,
.app[data-scene="td"] .bg-note strong {
  color: rgba(33, 25, 27, 0.96);
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.38);
}

.red-feed-wall {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.app[data-scene="choose"] .red-feed-wall::after,
.app[data-scene="content"] .red-feed-wall::after,
.app[data-scene="event"] .red-feed-wall::after,
.app[data-scene="td"] .red-feed-wall::after {
  content: "";
  position: absolute;
  right: clamp(18px, 2.4vw, 38px);
  top: 37vh;
  width: 72px;
  height: 210px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.32) 0 5px, transparent 6px),
    radial-gradient(circle at 50% 50%, rgba(255, 36, 66, 0.3) 0 7px, transparent 8px),
    radial-gradient(circle at 50% 82%, rgba(255, 212, 90, 0.26) 0 5px, transparent 6px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 36, 66, 0.12), rgba(255, 255, 255, 0.04));
  opacity: 0.46;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.campus-doodles {
  position: absolute;
  inset: 0;
}

.doodle {
  position: absolute;
  display: block;
  width: 94px;
  height: 10px;
  border-radius: 999px;
  opacity: 0.86;
  transform-origin: center;
  animation: floatDoodle 4.8s ease-in-out infinite;
}

.d-red {
  right: 18vw;
  top: 11vh;
  background: #ff2442;
  transform: rotate(18deg);
}

.d-green {
  right: 11vw;
  top: 17vh;
  width: 72px;
  background: #42c66d;
  transform: rotate(-38deg);
  animation-delay: -1.1s;
}

.d-blue {
  right: 6vw;
  top: 29vh;
  width: 126px;
  background: #57b9ff;
  transform: rotate(-22deg);
  animation-delay: -1.8s;
}

.d-pink {
  right: 31vw;
  top: 23vh;
  width: 82px;
  background: #ee70c2;
  transform: rotate(32deg);
  animation-delay: -0.5s;
}

.d-yellow {
  right: 26vw;
  bottom: 17vh;
  width: 68px;
  background: #ffd45a;
  transform: rotate(-14deg);
  animation-delay: -2.4s;
}

.campus-badge {
  position: absolute;
  right: 9vw;
  bottom: 10vh;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 34px;
  color: #fff;
  background: var(--red);
  font-weight: 900;
  box-shadow: 0 24px 70px rgba(255, 36, 66, 0.32);
  transform: rotate(-8deg);
  animation: badgeBounce 3.6s ease-in-out infinite;
}

.bg-note,
.bg-tag {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.bg-note {
  width: min(34vw, 420px);
  min-width: 260px;
  padding: 22px;
  color: #21191b;
  background: rgba(255, 248, 241, 0.9);
}

.bg-note strong {
  display: block;
  margin: 12px 0 18px;
  font-size: 24px;
  line-height: 1.22;
}

.bg-note p {
  margin: 0;
  color: rgba(33, 25, 27, 0.62);
  font-weight: 800;
}

.bg-note-top {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.bg-note div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bg-note div span,
.bg-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #6f4b15;
  background: #fff1be;
  font-weight: 900;
  font-size: 13px;
}

.bg-note-main {
  right: 8vw;
  top: 16vh;
  transform: rotate(4deg);
}

.bg-note-side {
  right: 2vw;
  bottom: 16vh;
  transform: rotate(-5deg);
  background: rgba(255, 255, 255, 0.86);
}

.bg-note-mini {
  right: 30vw;
  bottom: 9vh;
  width: auto;
  min-width: 0;
  display: flex;
  gap: 10px;
  padding: 14px;
  transform: rotate(7deg);
}

.bg-note-mini span {
  color: #6d6266;
  font-weight: 900;
}

.bg-tag {
  color: #fff;
  background: rgba(255, 36, 66, 0.86);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 50px rgba(255, 36, 66, 0.22);
}

.tag-one {
  right: 38vw;
  top: 18vh;
  transform: rotate(-7deg);
}

.tag-two {
  right: 18vw;
  top: 58vh;
  transform: rotate(6deg);
}

.tag-three {
  right: 42vw;
  bottom: 24vh;
  transform: rotate(-3deg);
}

.scene-noise {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.22;
}

.scene-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 8, 11, 0.9), rgba(15, 8, 11, 0.66) 48%, rgba(15, 8, 11, 0.78)),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.36) 78%);
}

.app[data-scene="choose"] .scene-overlay,
.app[data-scene="content"] .scene-overlay,
.app[data-scene="event"] .scene-overlay,
.app[data-scene="td"] .scene-overlay {
  background:
    linear-gradient(90deg, rgba(15, 8, 11, 0.86), rgba(15, 8, 11, 0.5) 48%, rgba(15, 8, 11, 0.56)),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.24) 78%);
  mask-image: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    transparent 0,
    transparent 6rem,
    rgba(0, 0, 0, 0.34) 10rem,
    #000 17rem
  );
  -webkit-mask-image: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    transparent 0,
    transparent 6rem,
    rgba(0, 0, 0, 0.34) 10rem,
    #000 17rem
  );
}

.app[data-scene="cover"] .scene-overlay {
  background:
    linear-gradient(90deg, rgba(255, 250, 243, 0.58), rgba(255, 250, 243, 0.02) 52%, rgba(255, 250, 243, 0.38)),
    radial-gradient(circle at 72% 52%, transparent 0%, rgba(255, 255, 255, 0.22) 78%);
}

.app[data-scene="cover"] .bg-note,
.app[data-scene="cover"] .bg-tag,
.app[data-scene="cover"] .campus-badge {
  opacity: 0.12;
}

.app[data-scene="cover"] .bg-note-main {
  right: 9vw;
  top: 12vh;
  width: min(32vw, 390px);
  opacity: 0.22;
  transform: rotate(1.5deg);
}

.app[data-scene="cover"] .bg-note-side {
  right: 6vw;
  bottom: 12vh;
  opacity: 0.1;
  transform: rotate(-2deg);
}

.app[data-scene="cover"] .bg-note-mini,
.app[data-scene="cover"] .bg-tag {
  opacity: 0.1;
}

.app[data-scene="cover"] .bg-tag {
  display: none;
}

.app[data-scene="cover"] .brand-lockup {
  color: var(--ink-dark);
}

.app[data-scene="cover"] .chapter-dot {
  color: rgba(33, 25, 27, 0.42);
}

.app[data-scene="cover"] .chapter-dot::before {
  background: rgba(33, 25, 27, 0.16);
}

.app[data-scene="cover"] .chapter-dot.active {
  color: var(--red);
}

.app[data-scene="cover"] .hud-button {
  color: var(--ink-dark);
  border-color: rgba(33, 25, 27, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.hud {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 16px clamp(16px, 4vw, 54px);
  pointer-events: none;
}

.chapter-flash {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at center, rgba(255, 36, 66, 0.3), transparent 28rem),
    rgba(17, 8, 11, 0.88);
  backdrop-filter: blur(18px);
}

.chapter-flash span,
.chapter-flash strong,
.chapter-flash i {
  display: block;
}

.chapter-flash span {
  margin-bottom: 12px;
  color: #ffcad1;
  font-weight: 900;
}

.chapter-flash strong {
  font-size: clamp(42px, 8vw, 94px);
  line-height: 1;
  text-align: center;
}

.chapter-flash i {
  width: min(320px, 70vw);
  height: 4px;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #ffd45a, #57b9ff);
  transform-origin: left;
}

.particle-layer {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 900;
  pointer-events: auto;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 40px rgba(255, 36, 66, 0.38);
}

.chapter-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  pointer-events: auto;
}

.chapter-dot {
  display: grid;
  place-items: center;
  gap: 4px;
  min-width: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
}

.chapter-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 4px transparent;
}

.chapter-dot.active {
  color: #fff;
}

.chapter-dot.active::before {
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(255, 36, 66, 0.25);
}

.hud-button,
.primary-action,
.ghost-action,
.choice-button {
  position: relative;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.primary-action::after,
.ghost-action::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.34) 44%, transparent 64%);
  transform: translateX(-120%);
}

.hud-button {
  justify-self: end;
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.scene {
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 96px clamp(18px, 5vw, 76px) 44px;
}

#resultScene,
#methodScene {
  align-items: start;
  overflow-y: auto;
  padding-bottom: 96px;
}

.app::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 255, 255, 0.42) 0,
      rgba(255, 255, 255, 0.24) 5rem,
      transparent 12rem
    ),
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 36, 66, 0.24) 0,
      rgba(255, 212, 90, 0.12) 9rem,
      transparent 19rem
    );
  mix-blend-mode: screen;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.campus-guide {
  position: fixed;
  right: clamp(16px, 3vw, 42px);
  bottom: clamp(14px, 4vh, 34px);
  z-index: 18;
  display: grid;
  grid-template-columns: 92px minmax(170px, 260px);
  gap: 12px;
  align-items: end;
  pointer-events: none;
}

.guide-mascot {
  position: relative;
  width: 92px;
  height: 116px;
  overflow: visible;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 58%, rgba(255, 255, 255, 0.82), transparent 66%);
  filter: drop-shadow(0 18px 30px rgba(255, 36, 66, 0.26));
  transform-origin: 50% 100%;
  animation: guideIdle 2.7s ease-in-out infinite;
}

.guide-mascot img {
  width: 92px;
  height: 116px;
  object-fit: contain;
  object-position: 50% 100%;
}

.guide-bubble {
  position: relative;
  padding: 13px 15px;
  border: 1px solid rgba(255, 36, 66, 0.12);
  border-radius: 20px 20px 20px 6px;
  color: var(--ink-dark);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(33, 25, 27, 0.16);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.guide-bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 16px;
  width: 18px;
  height: 18px;
  border-left: 1px solid rgba(255, 36, 66, 0.12);
  border-bottom: 1px solid rgba(255, 36, 66, 0.12);
  background: rgba(255, 255, 255, 0.96);
  transform: rotate(45deg);
}

.campus-guide.is-thinking .guide-mascot {
  animation: guideThink 0.82s ease-in-out infinite;
}

.campus-guide.is-celebrating .guide-mascot {
  animation: guideCelebrate 0.68s ease-in-out infinite;
}

.campus-guide.mood-pop .guide-mascot {
  animation:
    guidePop 0.66s cubic-bezier(0.2, 1.4, 0.34, 1),
    guideIdle 2.7s ease-in-out 0.66s infinite;
}

.cover-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  color: var(--ink-dark);
}

.eyebrow {
  margin: 0 0 16px;
  color: #ffcad1;
  font-size: 15px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.cover-copy h1 {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin-bottom: 22px;
  letter-spacing: 0;
}

.cover-copy h1 span {
  display: block;
  width: fit-content;
  font-size: clamp(48px, 5.6vw, 82px);
  line-height: 1;
  background:
    linear-gradient(90deg, #23191b 0%, #23191b 34%, #ff2442 48%, #17b65f 56%, #23191b 70%, #23191b 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleSheen 7.6s ease-in-out infinite;
}

.cover-copy h1 em {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.24), transparent 42%),
    linear-gradient(135deg, #ff2442, #ff5570);
  box-shadow: 0 18px 44px rgba(255, 36, 66, 0.22);
  font-size: clamp(30px, 3.7vw, 52px);
  font-style: normal;
  line-height: 1;
}

#coverScene {
  align-items: center;
  padding: 94px clamp(24px, 6vw, 88px) 48px;
}

.cover-shell {
  display: grid;
  grid-template-columns: minmax(380px, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  width: min(1180px, 100%);
  min-height: calc(100vh - 170px);
}

.cover-copy .eyebrow {
  color: var(--red);
}

.cover-year {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.cover-year span {
  display: inline-grid;
  place-items: center;
  min-width: 66px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(255, 36, 66, 0.26);
}

.cover-year b {
  font-size: clamp(50px, 6.2vw, 82px);
  line-height: 0.85;
  letter-spacing: 0;
  background: linear-gradient(90deg, #17b65f 0 23%, #17baf2 24% 48%, #ee70c2 49% 72%, #ff2442 73% 100%);
  background-size: 120% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: numberGlowShift 6.8s ease-in-out infinite alternate;
}

.subtitle {
  max-width: 560px;
  margin: 0 0 30px;
  color: rgba(33, 25, 27, 0.68);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.8;
}

.cover-actions {
  display: flex;
  align-items: center;
  margin-top: 2px;
}

.cover-actions .primary-action {
  min-width: 236px;
  min-height: 60px;
  font-size: 20px;
}

.cover-tags {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 14px;
  margin-top: 18px;
}

.cover-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: #7a5314;
  background: #fff1be;
  font-size: 13px;
  font-weight: 900;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.cover-tags span:hover {
  background: #ffe892;
  box-shadow: 0 10px 26px rgba(255, 202, 48, 0.24);
  transform: translateY(-2px);
}

.cover-visual {
  position: relative;
  min-height: min(620px, calc(100vh - 160px));
}

.cover-visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 12% 2% 4% 4%;
  pointer-events: none;
  background: radial-gradient(circle at 56% 56%, rgba(255, 250, 243, 0.5), transparent 50%);
}

.hero-glow {
  position: absolute;
  z-index: 0;
  left: 10%;
  right: 0;
  bottom: 4%;
  height: 56%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.9), transparent 36%),
    radial-gradient(circle at 48% 52%, rgba(255, 36, 66, 0.18), transparent 52%),
    linear-gradient(135deg, rgba(66, 198, 109, 0.18), rgba(87, 185, 255, 0.18), rgba(238, 112, 194, 0.18));
  filter: blur(1px);
}

.hero-group {
  position: absolute;
  left: 50%;
  bottom: -3%;
  width: min(760px, 110%);
  max-height: min(660px, 88vh);
  object-fit: contain;
  transform: translateX(-50%);
}

.hero-group {
  z-index: 3;
  filter: drop-shadow(0 34px 54px rgba(33, 25, 27, 0.12));
}

.hero-pets {
  position: absolute;
  right: -2%;
  bottom: -2%;
  width: min(230px, 34%);
  object-fit: contain;
  z-index: 4;
  filter: drop-shadow(0 22px 34px rgba(33, 25, 27, 0.14));
}

.ball,
.hero-ball,
.ball-layer {
  animation: none !important;
  transform: none !important;
}

.hero-ribbon {
  position: absolute;
  z-index: 1;
  display: block;
  height: 14px;
  border-radius: 999px;
  opacity: 0.9;
}

.hero-ribbon-red {
  left: 18%;
  top: 15%;
  width: 76px;
  background: #ff2442;
  transform: rotate(36deg);
}

.hero-ribbon-green {
  right: 8%;
  top: 12%;
  width: 86px;
  opacity: 0.58;
  background: #13b957;
  transform: rotate(-42deg);
  animation-delay: -0.8s;
}

.hero-ribbon-blue {
  right: -2%;
  top: 24%;
  width: 118px;
  background: #16bff1;
  transform: rotate(-24deg);
  animation-delay: -1.5s;
}

.hero-ribbon-pink {
  left: 10%;
  top: 24%;
  width: 88px;
  background: #ee70c2;
  transform: rotate(31deg);
  animation-delay: -2.1s;
}

.primary-action {
  min-height: 48px;
  padding: 0 28px;
  color: #fff;
  background:
    radial-gradient(circle at 25% 10%, rgba(255, 255, 255, 0.22), transparent 44%),
    linear-gradient(135deg, #ff2442, #ff3d5a 55%, #e71938);
  box-shadow: 0 18px 50px rgba(255, 36, 66, 0.34);
}

.ghost-action {
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.result-sheet .ghost-action,
.method-sheet .ghost-action {
  color: var(--ink-dark);
  border-color: rgba(33, 25, 27, 0.16);
  background: rgba(33, 25, 27, 0.06);
}

.primary-action:hover,
.ghost-action:hover,
.choice-button:hover,
.hud-button:hover {
  transform: translateY(-2px);
}

.primary-action:hover,
.primary-action:focus-visible {
  box-shadow: 0 22px 62px rgba(255, 36, 66, 0.42);
}

.primary-action:hover::after,
.primary-action:focus-visible::after,
.ghost-action:hover::after,
.ghost-action:focus-visible::after {
  animation: buttonSheen 0.82s ease forwards;
}

.primary-action:active,
.ghost-action:active,
.choice-button:active {
  transform: translateY(0) scale(0.99);
}

#storyScene {
  grid-template-columns: minmax(0, 720px) minmax(260px, 320px);
  gap: clamp(24px, 4vw, 52px);
  justify-content: center;
  overflow-y: auto;
}

.story-panel,
.feedback-card,
.result-sheet,
.method-sheet {
  width: min(100%, 760px);
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 14, 18, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

#feedbackScene {
  place-items: center;
  padding-right: clamp(18px, 8vw, 110px);
  padding-left: clamp(18px, 8vw, 110px);
}

.feedback-card {
  width: min(100%, 920px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  column-gap: clamp(22px, 3vw, 34px);
  row-gap: 18px;
  align-items: start;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 36, 66, 0.14), transparent 18rem),
    rgba(18, 14, 18, 0.72);
}

.feedback-card .eyebrow,
.feedback-card h2,
.feedback-card > p,
.feedback-card .primary-action {
  grid-column: 1;
}

.feedback-card h2 {
  max-width: 600px;
  margin-bottom: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.18;
}

.feedback-card > p {
  max-width: 620px;
  margin-bottom: 0;
}

.feedback-card .primary-action {
  justify-self: start;
  margin-top: 8px;
}

.story-panel h2,
.feedback-card h2,
.result-sheet h2,
.method-sheet h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
  white-space: pre-line;
}

.story-panel p,
.feedback-card > p,
.result-sheet > p,
.method-sheet > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
  text-wrap: pretty;
}

.result-sheet h2 {
  max-width: 720px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.16;
}

.route-choice,
.option-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--cluster-gap);
  align-items: stretch;
  margin: 24px 0 4px;
}

#optionChoice {
  gap: var(--cluster-gap);
  align-items: stretch;
  margin-top: 28px;
}

#routeChoice {
  display: flex;
  flex-direction: column;
  max-width: min(100%, 560px);
  gap: 10px;
  margin-top: 20px;
}

.choice-button {
  position: relative;
  min-width: 0;
  min-height: 118px;
  padding: 18px;
  color: var(--ink-dark);
  background: var(--paper);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  overflow: hidden;
  transform-style: preserve-3d;
}

#routeChoice .choice-button {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  column-gap: 16px;
  width: 100%;
  min-height: 74px;
  align-items: center;
  padding: 14px 18px;
  transform: none !important;
  transform-style: flat;
}

#routeChoice .choice-button strong {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.22;
  white-space: nowrap;
}

#routeChoice .choice-button span {
  font-size: 15px;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

.balanced-lines {
  display: grid;
  gap: 2px;
}

.balanced-lines span {
  display: block;
}

#routeChoice .choice-button:hover,
#routeChoice .choice-button:focus-visible {
  transform: none !important;
  border-color: rgba(255, 36, 66, 0.34);
  box-shadow: 0 14px 36px rgba(255, 36, 66, 0.16);
}

#optionChoice .choice-button {
  min-height: 136px;
  padding: 20px;
  border-color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 241, 0.92)),
    var(--paper);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 14px 34px rgba(14, 8, 12, 0.1);
  transform: none !important;
  transform-style: flat;
}

#optionChoice .choice-button:hover,
#optionChoice .choice-button:focus-visible {
  transform: none !important;
  border-color: rgba(255, 36, 66, 0.36);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 18px 42px rgba(255, 36, 66, 0.18);
}

#optionChoice .choice-button strong {
  margin-bottom: 10px;
}

.choice-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 12%, rgba(255, 36, 66, 0.18), transparent 10rem),
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  opacity: 0;
  transform: translateX(-22%);
  transition:
    opacity 0.24s ease,
    transform 0.34s ease;
}

.choice-button:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.choice-button:hover {
  border-color: rgba(255, 36, 66, 0.28);
  box-shadow: 0 18px 42px rgba(33, 25, 27, 0.14);
}

.choice-button strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.32;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

.choice-button span {
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(33, 25, 27, 0.72);
  line-height: 1.55;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

.reveal-item {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.56s ease,
    transform 0.56s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--reveal-index, 0) * 52ms);
}

#continueBtn {
  margin-top: 20px;
}

.phone-note {
  align-self: center;
  justify-self: end;
  width: min(100%, 318px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 70px rgba(20, 8, 12, 0.26);
  backdrop-filter: blur(16px);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.note-card {
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #fff9f3 0%, #fff3ed 100%);
  color: var(--ink-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.author > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-weight: 900;
}

.author strong,
.author small {
  line-height: 1.25;
}

.author small {
  display: block;
  margin-top: 2px;
  color: rgba(33, 25, 27, 0.58);
}

.note-card h3 {
  max-width: none;
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.34;
  letter-spacing: 0;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

.tags,
.engagement,
.result-tags {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 12px;
}

.tags span,
.result-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: #7a5314;
  background: #fff1be;
  font-size: 12px;
  font-weight: 900;
}

.engagement {
  margin-top: 13px;
}

.engagement span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: rgba(33, 25, 27, 0.68);
  border: 1px solid rgba(33, 25, 27, 0.12);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.feedback-card {
  width: min(840px, 100%);
}

.scan-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 560px);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  width: min(980px, 100%);
  max-height: calc(100vh - 132px);
  overflow: auto;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  color: var(--ink-dark);
  background:
    linear-gradient(135deg, rgba(255, 36, 66, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.scan-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: min(260px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 36, 66, 0.18), transparent 34%),
    radial-gradient(circle, rgba(255, 212, 90, 0.38), transparent 64%);
}

.scan-orbit span {
  position: absolute;
  inset: 12%;
  border: 2px solid rgba(255, 36, 66, 0.16);
  border-radius: 50%;
}

.scan-orbit span:nth-child(2) {
  inset: 24%;
  border-color: rgba(66, 198, 109, 0.38);
}

.scan-orbit span:nth-child(3) {
  inset: 36%;
  border-color: rgba(87, 185, 255, 0.45);
  border-style: dashed;
}

#scanSignal {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  box-shadow: 0 0 0 12px rgba(255, 36, 66, 0.12), 0 0 80px rgba(255, 36, 66, 0.45);
  font-size: 24px;
  letter-spacing: 0;
}

.scan-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.14;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

.scan-copy p {
  color: rgba(33, 25, 27, 0.72);
  font-size: 17px;
  line-height: 1.65;
}

.trait-bars {
  display: grid;
  gap: 12px;
  margin: 12px 0;
}

.motive-duel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0;
}

.motive-duel div,
.axis-map div,
.hr-rank div {
  min-width: 0;
  border-radius: var(--radius);
  background: #fff7ee;
  overflow-wrap: break-word;
}

.motive-duel div {
  padding: 12px;
}

.motive-duel span,
.axis-map span,
.hr-rank span {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.motive-duel strong {
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}

.trait-bar {
  display: grid;
  grid-template-columns: minmax(82px, 0.8fr) minmax(120px, 1fr) 44px;
  align-items: center;
  gap: 12px;
  color: rgba(33, 25, 27, 0.72);
  font-weight: 900;
  min-width: 0;
}

.trait-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(33, 25, 27, 0.08);
}

.trait-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #ffd45a);
}

.mind-tags,
.psyche-summary {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 14px;
}

.mind-tags {
  margin-bottom: 14px;
}

.psyche-summary {
  margin: 0 0 22px;
}

.axis-map,
.hr-rank {
  display: grid;
  gap: 12px;
}

.axis-map {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px 0;
}

.axis-map div {
  padding: 12px;
}

.axis-map strong {
  display: block;
  margin-top: 5px;
  font-size: 20px;
}

.hr-rank {
  margin: 18px 0 24px;
}

.hr-rank div {
  display: grid;
  grid-template-columns: minmax(96px, 120px) minmax(120px, 1fr) 48px;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.rank-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(33, 25, 27, 0.08);
}

.rank-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #ffd45a);
}

.mind-tags span,
.psyche-summary span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 36, 66, 0.9);
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: break-word;
}

.psyche-summary span:first-child {
  max-width: 100%;
  color: #7a5314;
  background: #fff1be;
  overflow-wrap: break-word;
}

.comments {
  display: grid;
  gap: 12px;
  margin: 0;
}

.feedback-card .comments {
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: stretch;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feedback-card .comments::before {
  content: "热评正在刷新";
  display: block;
  margin-bottom: 2px;
  color: #ffcad1;
  font-size: 13px;
  font-weight: 900;
}

.comment {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--ink-dark);
  background: rgba(255, 255, 255, 0.94);
  line-height: 1.62;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

.comment strong {
  color: var(--red);
}

.result-sheet {
  width: min(920px, 100%);
  max-height: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-dark);
}

.result-sheet .eyebrow,
.method-sheet .eyebrow {
  color: var(--red);
}

.result-sheet > p {
  color: rgba(33, 25, 27, 0.72);
}

.result-grid,
.method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--cluster-gap);
  align-items: stretch;
  margin: 24px 0;
}

.result-grid div,
.method-list article {
  min-width: 0;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff7ee;
  overflow-wrap: break-word;
}

.result-grid h3,
.method-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-dark);
  font-size: 18px;
  font-weight: 900;
}

.result-grid p,
.method-list p {
  margin: 0;
  color: rgba(33, 25, 27, 0.72);
  line-height: 1.65;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

blockquote {
  margin: 0 0 24px;
  padding: 18px;
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  background: #fff7ee;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.55;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 4px;
}

.method-sheet {
  width: min(900px, 100%);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-dark);
}

.method-sheet > p {
  color: rgba(33, 25, 27, 0.72);
}

.method-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.easter-sheet {
  width: min(980px, 100%);
  background:
    linear-gradient(135deg, rgba(255, 36, 66, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.94);
}

.celebration-sheet {
  width: min(1120px, 100%);
  overflow: hidden;
  background: rgba(255, 250, 244, 0.97);
}

.celebration-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  min-height: 560px;
  margin: 0;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 212, 90, 0.52), transparent 16rem),
    radial-gradient(circle at 18% 18%, rgba(255, 36, 66, 0.12), transparent 18rem),
    linear-gradient(135deg, #fffaf4, #fff);
}

.celebration-stage::before,
.celebration-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
}

.celebration-stage::before {
  right: 8%;
  top: 8%;
  width: 290px;
  height: 22px;
  background:
    linear-gradient(90deg, #ff2442 0 22%, transparent 22% 31%, #42c66d 31% 56%, transparent 56% 66%, #57b9ff 66% 100%);
  transform: rotate(-18deg);
  opacity: 0.85;
}

.celebration-stage::after {
  right: 28%;
  bottom: 9%;
  width: 210px;
  height: 18px;
  background:
    linear-gradient(90deg, #ee70c2 0 34%, transparent 34% 46%, #ffd45a 46% 100%);
  transform: rotate(24deg);
  opacity: 0.9;
}

.confetti-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 20px;
  border-radius: 999px;
  background: var(--red);
  opacity: 0;
}

.celebration-copy {
  position: relative;
  z-index: 2;
}

.celebration-copy h2 {
  max-width: 560px;
  margin-bottom: 18px;
  color: var(--ink-dark);
}

.celebration-title {
  display: grid;
  gap: 12px;
  line-height: 1.08;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

.celebration-title > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2442 0%, #ff5d78 100%);
  color: #fff;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1;
  box-shadow: 0 18px 48px rgba(255, 36, 66, 0.18);
}

.celebration-title small {
  display: block;
  max-width: 480px;
  color: var(--ink-dark);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.title-token {
  white-space: nowrap;
}

.celebration-copy > p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(33, 25, 27, 0.7);
  font-size: 20px;
  line-height: 1.8;
}

.mascot-scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
  isolation: isolate;
}

.mascot-portal {
  position: absolute;
  inset: auto 50% 40px auto;
  z-index: 0;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 28%, rgba(255, 36, 66, 0.18) 29% 42%, transparent 43%),
    conic-gradient(from 120deg, #ff2442, #ffd45a, #42c66d, #57b9ff, #ee70c2, #ff2442);
  filter: blur(0.2px) drop-shadow(0 28px 70px rgba(255, 36, 66, 0.18));
  opacity: 0.84;
  transform: translateX(50%) scale(0.92);
  animation: portalPulse 2.1s ease-in-out infinite;
}

.mascot-shadow {
  position: absolute;
  left: 50%;
  bottom: 46px;
  width: 260px;
  height: 34px;
  border-radius: 50%;
  background: rgba(33, 25, 27, 0.12);
  filter: blur(4px);
  transform: translateX(-50%);
  transform-origin: center;
}

.campus-mascot-img {
  position: relative;
  z-index: 3;
  width: min(350px, 84%);
  aspect-ratio: 0.68;
  overflow: visible;
  justify-self: center;
  border-radius: 0;
  background: none;
  filter: drop-shadow(0 26px 48px rgba(255, 36, 66, 0.22));
  transform-origin: 50% 100%;
}

.campus-mascot-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
}

.ribbon {
  position: absolute;
  z-index: 1;
  display: block;
  height: 14px;
  border-radius: 999px;
  animation: floatDoodle 4s ease-in-out infinite;
}

.ribbon-red {
  top: 10%;
  left: 8%;
  width: 150px;
  background: #ff2442;
  transform: rotate(18deg);
}

.ribbon-green {
  top: 16%;
  right: 8%;
  width: 112px;
  background: #42c66d;
  transform: rotate(-42deg);
  animation-delay: -0.9s;
}

.ribbon-blue {
  right: 2%;
  top: 33%;
  width: 180px;
  background: #57b9ff;
  transform: rotate(-20deg);
  animation-delay: -1.6s;
}

.ribbon-pink {
  left: 0;
  bottom: 28%;
  width: 124px;
  background: #ee70c2;
  transform: rotate(-28deg);
  animation-delay: -2.2s;
}

.offer-card-mini,
.pass-stamp,
.offer-flight {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 18px 48px rgba(33, 25, 27, 0.12);
}

.offer-card-mini {
  left: 4%;
  top: 22%;
  width: 118px;
  height: 78px;
  border-radius: 18px;
  color: #fff;
  background: var(--red);
  transform: rotate(-10deg);
}

.pass-stamp {
  right: 8%;
  bottom: 24%;
  width: 104px;
  height: 104px;
  border: 5px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(12deg);
}

.offer-flight {
  min-width: 92px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-dark);
  border: 2px solid rgba(255, 36, 66, 0.18);
  background: #fff;
  opacity: 0;
}

.offer-flight-a {
  left: 22%;
  top: 44%;
}

.offer-flight-b {
  right: 0;
  top: 14%;
  color: #fff;
  background: var(--red);
}

.celebrate-burst {
  position: absolute;
  z-index: 2;
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(#ff2442 0 0) 50% 0 / 12px 32px no-repeat,
    linear-gradient(#ffd45a 0 0) 50% 100% / 12px 32px no-repeat,
    linear-gradient(#42c66d 0 0) 0 50% / 32px 12px no-repeat,
    linear-gradient(#57b9ff 0 0) 100% 50% / 32px 12px no-repeat,
    linear-gradient(45deg, transparent 43%, #ee70c2 44% 56%, transparent 57%) 50% 50% / 86px 86px no-repeat;
  opacity: 0;
}

.burst-one {
  right: 11%;
  top: 8%;
}

.burst-two {
  left: 10%;
  bottom: 18%;
  transform: scale(0.72);
}

.speech-bubble {
  position: relative;
  z-index: 4;
  position: absolute;
  right: 2%;
  bottom: 2%;
  width: min(310px, 70%);
  padding: 18px;
  border-radius: 24px;
  color: var(--ink-dark);
  background: #fff;
  box-shadow: 0 18px 50px rgba(33, 25, 27, 0.08);
}

.speech-bubble::before {
  content: "";
  position: absolute;
  left: 38px;
  top: -13px;
  width: 34px;
  height: 34px;
  background: #fff;
  transform: rotate(45deg);
}

.speech-bubble strong,
.speech-bubble span {
  position: relative;
  z-index: 1;
  display: block;
}

.speech-bubble strong {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.speech-bubble span {
  color: rgba(33, 25, 27, 0.68);
  font-size: 18px;
  line-height: 1.7;
}

.celebration-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 0;
}

.easter-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--cluster-gap);
  align-items: stretch;
  margin: 24px 0;
}

.easter-board article {
  position: relative;
  min-width: 0;
  min-height: 190px;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff7ee;
  overflow-wrap: break-word;
}

.route-choice > *,
.option-choice > *,
.result-grid > *,
.method-list > *,
.easter-board > *,
.motive-duel > *,
.axis-map > *,
.hr-rank > *,
.comments > * {
  min-width: 0;
}

.easter-board article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: rgba(255, 36, 66, 0.1);
  transform: rotate(18deg);
}

.easter-board span,
.surprise-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.easter-board strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.22;
}

.easter-board p,
.surprise-card p {
  margin: 0;
  color: rgba(33, 25, 27, 0.72);
  line-height: 1.68;
}

.surprise-card {
  margin-bottom: 16px;
  padding: 20px;
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 60px rgba(255, 36, 66, 0.1);
}

.surprise-card p {
  color: var(--ink-dark);
  font-size: 20px;
  font-weight: 900;
}

.final-note {
  position: relative;
  margin: 0 0 24px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: #fff1be;
  box-shadow: 0 18px 50px rgba(255, 212, 90, 0.18);
  transform: rotate(-1deg);
}

.final-note::before {
  content: "";
  position: absolute;
  left: 28px;
  top: -11px;
  width: 70px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 36, 66, 0.82);
  transform: rotate(3deg);
}

.final-note span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.final-note p {
  margin: 0;
  color: var(--ink-dark);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.65;
}

@keyframes floatDoodle {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@keyframes ambientAura {
  from {
    transform: translate3d(-1.4%, -0.8%, 0) scale(1);
  }
  to {
    transform: translate3d(1.2%, 1.1%, 0) scale(1.035);
  }
}

@keyframes titleSheen {
  0%,
  34%,
  100% {
    background-position: 0% 50%;
  }
  58% {
    background-position: 100% 50%;
  }
}

@keyframes numberGlowShift {
  from {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 0 rgba(255, 36, 66, 0));
  }
  to {
    background-position: 100% 50%;
    filter: drop-shadow(0 10px 22px rgba(255, 36, 66, 0.14));
  }
}

@keyframes buttonSheen {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@keyframes badgeBounce {
  0%,
  100% {
    translate: 0 0;
    rotate: -8deg;
  }
  50% {
    translate: 0 -12px;
    rotate: -2deg;
  }
}

@keyframes mascotCelebrate {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg) scale(1);
  }
  50% {
    transform: translateY(-18px) rotate(3deg) scale(1.025);
  }
}

@keyframes portalPulse {
  0%,
  100% {
    opacity: 0.62;
    transform: translateX(50%) scale(0.88) rotate(0deg);
  }
  50% {
    opacity: 0.92;
    transform: translateX(50%) scale(1) rotate(18deg);
  }
}

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

@keyframes guidePop {
  0% {
    transform: translateY(16px) scale(0.74) rotate(-10deg);
  }
  58% {
    transform: translateY(-8px) scale(1.08) rotate(5deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

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

@keyframes guideCelebrate {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg) scale(1);
  }
  50% {
    transform: translateY(-12px) rotate(8deg) scale(1.06);
  }
}

[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  html,
  body {
    min-height: 100%;
    overflow: auto;
    -webkit-text-size-adjust: 100%;
  }

  .app {
    position: relative;
    inset: auto;
    min-height: 100svh;
    overflow-x: hidden;
  }

  .scene {
    position: relative;
    inset: auto;
    min-height: 100svh;
    padding: 88px 18px 120px;
  }

  .scene,
  .app,
  .scene-bg {
    min-height: 100svh;
  }

  #storyScene {
    grid-template-columns: 1fr;
    align-content: start;
    padding-top: 86px;
    padding-bottom: 126px;
  }

  #coverScene {
    position: relative;
    align-items: start;
    overflow-y: auto;
    padding-top: 88px;
    padding-bottom: 34px;
  }

  .cover-shell {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
  }

  .cover-copy {
    max-width: 100%;
  }

  .cover-copy h1 {
    max-width: 460px;
    gap: 8px;
    margin-bottom: 16px;
  }

  .cover-copy h1 span {
    font-size: clamp(42px, 12vw, 62px);
  }

  .cover-copy h1 em {
    min-height: 46px;
    padding: 0 18px;
    font-size: clamp(27px, 7vw, 38px);
  }

  .cover-year b {
    font-size: clamp(46px, 14vw, 70px);
  }

  .subtitle {
    max-width: 520px;
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.72;
  }

  .cover-actions .primary-action {
    width: min(320px, 100%);
  }

  .cover-tags {
    max-width: 360px;
  }

  .cover-visual {
    min-height: clamp(300px, 58vw, 430px);
    order: 0;
    margin-top: 4px;
  }

  .hero-group {
    width: min(620px, 112vw);
    max-height: 430px;
    bottom: -6%;
  }

  .hero-pets {
    right: 4%;
    bottom: -2%;
    width: min(148px, 28vw);
  }

  #resultScene,
  #methodScene {
    padding-top: 88px;
    padding-bottom: 72px;
  }

  #feedbackScene {
    padding-right: 18px;
    padding-left: 18px;
  }

  .feedback-card {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .feedback-card .eyebrow,
  .feedback-card h2,
  .feedback-card > p,
  .feedback-card .comments,
  .feedback-card .primary-action {
    grid-column: 1;
    grid-row: auto;
  }

  .phone-note {
    display: none;
  }

  .campus-guide {
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
    z-index: 22;
  }

  .guide-mascot {
    width: 54px;
    height: 70px;
    border-radius: 16px;
  }

  .guide-mascot img {
    width: 54px;
    height: 70px;
  }

  .guide-bubble {
    padding: 9px 11px;
    font-size: 12px;
    line-height: 1.42;
  }

  .route-choice,
  .option-choice,
  .result-grid,
  .method-list,
  .easter-board,
  .celebration-stage,
  .scan-card,
  .motive-duel,
  .axis-map {
    grid-template-columns: 1fr;
  }

  #routeChoice .choice-button {
    grid-template-columns: 1fr;
    row-gap: 6px;
    min-height: 72px;
  }

  #routeChoice .choice-button strong {
    white-space: normal;
  }

  .scan-orbit {
    width: min(260px, 72vw);
    margin: 0 auto;
  }

  .speech-bubble::before {
    left: 50%;
    top: -14px;
    transform: translateX(-50%) rotate(45deg);
  }

  .celebration-stage {
    min-height: auto;
    padding: 22px;
  }

  .celebration-title > span {
    min-height: 48px;
    padding: 0 16px;
    font-size: 36px;
  }

  .celebration-title small {
    max-width: 360px;
    font-size: 30px;
    line-height: 1.22;
  }

  .mascot-scene {
    min-height: 420px;
  }

  .mascot-portal {
    width: 280px;
    bottom: 70px;
  }

  .campus-mascot-img {
    width: min(250px, 76vw);
  }

  .speech-bubble {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(330px, 92%);
    margin-top: -8px;
  }

  .offer-card-mini {
    left: 2%;
  }

  .pass-stamp {
    right: 2%;
  }

  .chapter-dots {
    display: none;
  }

  .hud {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .bg-note-main {
    right: -92px;
    top: 18vh;
  }

  .bg-note-side {
    right: -130px;
    bottom: 12vh;
  }

  .bg-note-mini,
  .tag-one,
  .tag-two,
  .tag-three {
    display: none;
  }
}

@media (max-width: 560px) {
  .scene {
    padding: 78px 12px 118px;
  }

  .brand-lockup span:last-child {
    display: none;
  }

  .cover-copy h1 span {
    font-size: clamp(38px, 11.5vw, 46px);
  }

  .cover-copy h1 em {
    min-height: 42px;
    padding: 0 16px;
    font-size: clamp(26px, 7.8vw, 30px);
  }

  .cover-year {
    gap: 10px;
    margin-bottom: 12px;
  }

  .cover-year span {
    min-width: 58px;
    min-height: 30px;
    font-size: 15px;
  }

  .subtitle {
    font-size: 16px;
    line-height: 1.68;
  }

  .cover-actions .primary-action {
    min-height: 54px;
    font-size: 18px;
  }

  .cover-visual {
    min-height: 290px;
  }

  .hero-group {
    width: min(520px, 118vw);
    max-height: 340px;
  }

  .hero-pets {
    width: min(118px, 30vw);
  }

  .story-panel,
  .feedback-card,
  .result-sheet,
  .method-sheet {
    padding: 18px;
    border-radius: 12px;
  }

  .story-panel h2,
  .feedback-card h2,
  .result-sheet h2,
  .method-sheet h2 {
    font-size: clamp(25px, 7.4vw, 30px);
    line-height: 1.24;
  }

  .result-sheet h2 {
    font-size: clamp(24px, 7vw, 28px);
  }

  .story-panel p,
  .feedback-card > p,
  .result-sheet > p,
  .method-sheet > p {
    font-size: 15px;
    line-height: 1.76;
  }

  .route-choice,
  .option-choice {
    gap: 12px;
    margin-top: 18px;
  }

  .choice-button,
  #optionChoice .choice-button {
    min-height: auto;
    padding: 16px;
  }

  .choice-button strong {
    font-size: 17px;
    line-height: 1.36;
  }

  .choice-button span,
  #routeChoice .choice-button span {
    font-size: 14px;
    line-height: 1.52;
  }

  .feedback-card .comments {
    padding: 12px;
    border-radius: 16px;
  }

  .comment {
    padding: 11px 12px;
    font-size: 13px;
  }

  .celebration-title > span {
    min-height: 44px;
    font-size: 32px;
  }

  .celebration-title small {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}
