:root {
  --sky-1: #cfeaff;
  --sky-2: #bfe0fb;
  --sky-3: #eaf7ff;
  --result-page-bg: #c8e8ff;
  --paper: rgba(255, 255, 255, 0.96);
  --paper-strong: rgba(255, 255, 255, 0.99);
  --ink: #2f3138;
  --muted: #6c7480;
  --line: rgba(255, 255, 255, 0.95);
  --shadow: rgba(52, 80, 120, 0.14);
  --shadow-soft: rgba(52, 80, 120, 0.08);
  --black-pill: #111111;
  --black-pill-ink: #fffdf8;
  --lavender: #eadcff;
  --yellow: #f7f59b;
  --mint: #d6f7b5;
  --pink: #f7d4e5;
  --cream: #f7edc4;
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --font-body: "Nunito", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "ZCOOL KuaiLe", "PingFang SC", sans-serif;
}

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.46), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.36), transparent 22%),
    linear-gradient(180deg, var(--result-page-bg) 0%, var(--result-page-bg) 48%, #eef8ff 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.55;
}

body::before {
  width: 14rem;
  height: 14rem;
  left: -4rem;
  top: 4rem;
  background: rgba(255, 255, 255, 0.35);
}

body::after {
  width: 16rem;
  height: 16rem;
  right: -5rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.28);
}

body.intro-mode {
  background:
    radial-gradient(circle at 50% 9%, rgba(255, 255, 255, 0.6), transparent 24%),
    radial-gradient(circle at 24% 42%, rgba(255, 255, 255, 0.3), transparent 26%),
    radial-gradient(circle at 78% 64%, rgba(255, 211, 237, 0.46), transparent 28%),
    linear-gradient(180deg, #aee1ff 0%, #c8ebff 44%, #e8f0ff 72%, #ffe6f5 100%);
}

body.intro-mode {
  overflow-x: hidden;
}

body.result-theme-sun,
body.result-theme-cloud,
body.result-theme-hug,
body.result-theme-bell,
body.result-theme-star,
body.result-theme-detective,
body.result-theme-bean,
body.result-theme-ball,
body:not(.intro-mode) {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.46), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.36), transparent 22%),
    linear-gradient(180deg, var(--result-page-bg) 0%, var(--result-page-bg) 48%, #eef8ff 100%);
}

body.quiz-mode {
  background:
    radial-gradient(circle at 50% 9%, rgba(255, 255, 255, 0.6), transparent 24%),
    radial-gradient(circle at 24% 42%, rgba(255, 255, 255, 0.3), transparent 26%),
    radial-gradient(circle at 78% 64%, rgba(255, 211, 237, 0.46), transparent 28%),
    linear-gradient(180deg, #aee1ff 0%, #c8ebff 44%, #e8f0ff 72%, #ffe6f5 100%);
}

.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.6;
}

.b1 {
  width: 11rem;
  height: 11rem;
  top: -3rem;
  left: -4rem;
  background: rgba(255, 255, 255, 0.48);
}

.b2 {
  width: 10rem;
  height: 10rem;
  top: 13%;
  right: -3rem;
  background: rgba(255, 255, 255, 0.35);
}

.b3 {
  width: 12rem;
  height: 12rem;
  bottom: -4rem;
  left: 8%;
  background: rgba(255, 255, 255, 0.34);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 0.75rem 1rem 1.55rem;
}

.top {
  text-align: center;
  margin-bottom: 0.62rem;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.badge {
  margin: 0;
  padding: 0.36rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #2d3240;
  font-size: 0.74rem;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px var(--shadow-soft);
}

.badge-soft {
  color: #4e76a0;
}

.hero-avatars {
  width: min(86%, 17.3rem);
  margin: 0.95rem auto 0;
}

.hero-top-image {
  display: block;
  width: 100%;
  height: auto;
  animation: heroFloat 4.8s ease-in-out infinite;
  transform: translateY(0);
  will-change: transform;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.45rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-top-image {
    animation: none;
  }

  .result-avatar,
  .avatar-glow,
  .float-heart,
  .trait-progress-fill,
  #btn-start {
    animation: none;
  }
}

body:not(.intro-mode) .badge-row,
body:not(.intro-mode) .hero-avatars {
  display: none;
}

body:not(.intro-mode) .top {
  margin-bottom: 0.6rem;
}

.card,
.screen {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}


.intro-version,
.quiz-head,
.result-poster-export,
.result-detail-card,
.admin-gate,
.admin-panel {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.intro-version {
  width: min(88%, 21.5rem);
  margin: 0 auto 0.72rem;
  padding: 0.72rem 0.86rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 22px rgba(52, 80, 120, 0.07);
  font-size: 0.86rem;
  line-height: 1.62;
  color: var(--ink);
}

.intro-version strong {
  color: #ff6fae;
}

.btn {
  width: 100%;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

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

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

.primary {
  padding: 0.9rem 1rem;
  color: #fff;
  background: linear-gradient(135deg, #3b3d45 0%, #23242a 100%);
  box-shadow: 0 14px 24px rgba(35, 36, 42, 0.2);
}

#btn-start {
  display: block;
  width: min(88%, 21.5rem);
  margin: 0 auto;
  background: linear-gradient(135deg, #3b3d45 0%, #23242a 42%, #4f5360 58%, #23242a 100%);
  background-size: 220% 220%;
  animation: startButtonGlow 2.8s ease-in-out infinite, startButtonGradient 5.6s ease-in-out infinite;
}

#btn-start:active {
  transform: scale(0.97);
  box-shadow: 0 8px 16px rgba(35, 36, 42, 0.2);
}

@keyframes startButtonGlow {
  0%,
  100% {
    box-shadow: 0 14px 24px rgba(35, 36, 42, 0.2), 0 0 0 rgba(241, 143, 189, 0);
  }

  50% {
    box-shadow: 0 18px 32px rgba(35, 36, 42, 0.25), 0 0 0 0.42rem rgba(241, 143, 189, 0.16);
  }
}

@keyframes startButtonGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.secondary,
.ghost,
.action-btn {
  padding: 0.86rem 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(40, 46, 58, 0.18);
  box-shadow: 0 10px 18px var(--shadow-soft);
}

.ghost {
  width: auto;
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
}

.quiz-head {
  padding: 1rem 1.05rem 1.05rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 255, 255, 0.78) 0 1.8rem, transparent 1.9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 242, 0.96));
  border: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(52, 80, 120, 0.1);
}

.quiz-head-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.q-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  background: #111111;
  font-size: 0.84rem;
  font-weight: 900;
  color: #fff;
  transform: rotate(-2deg);
}

.progress-wrap {
  width: 100%;
  height: 0.82rem;
  overflow: hidden;
  border-radius: 999px;
  background: #eee7f5;
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f18fbd 0%, #c8b4e7 52%, #62cfee 100%);
  transition: width 0.22s ease;
}

.question {
  margin: 1rem 0 0.9rem;
  padding: 0 0.15rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: clamp(1.16rem, 4.7vw, 1.38rem);
  line-height: 1.5;
  letter-spacing: 0;
  color: #20232a;
}

.choices {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.68rem;
}

.choice-btn {
  width: 100%;
  min-height: 3.85rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.88)) padding-box,
    linear-gradient(90deg, rgba(241, 143, 189, 0.65), rgba(98, 207, 238, 0.65)) border-box;
  padding: 0.9rem 1rem;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.45;
  box-shadow: 0 10px 20px rgba(75, 117, 171, 0.09);
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.choice-btn.selected,
.choice-btn:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(255, 248, 253, 0.99), rgba(241, 251, 255, 0.97)) padding-box,
    linear-gradient(90deg, #f18fbd, #62cfee) border-box;
  box-shadow: 0 16px 28px rgba(75, 117, 171, 0.16), 0 0 0 3px rgba(241, 143, 189, 0.1);
}

.choice-btn:focus-visible {
  outline: 3px solid rgba(98, 207, 238, 0.42);
  outline-offset: 3px;
}

.choice-btn.selected {
  border: 2px solid transparent;
  box-shadow: 0 14px 26px rgba(75, 117, 171, 0.13), 0 0 0 2px rgba(241, 143, 189, 0.18);
}

.result-poster-export {
  position: relative;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.result-capture {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
}

.result-hero-panel,
.result-scra-panel,
.result-interpret-panel {
  position: relative;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(41, 58, 84, 0.08);
}

.result-hero-panel {
  min-height: 30.5rem;
  padding: 1.05rem 1rem 1.15rem;
  overflow: hidden;
  border-top-right-radius: 6rem;
  background:
    radial-gradient(circle at 82% 58%, var(--result-glow, rgba(255, 185, 57, 0.2)), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.94));
}

.result-scra-panel,
.result-interpret-panel {
  padding: 1rem;
}

.result-scra-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-height: 16.4rem;
  margin-top: 0.35rem;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.result-scra-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  align-self: center;
}

.result-interpret-panel {
  min-height: 14.6rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 78%, var(--result-accent, #ffd350) 0 2.2rem, transparent 2.3rem),
    rgba(255, 255, 255, 0.96);
}

.result-topline {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  padding-right: 1.55rem;
}

.result-badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.35rem 0.92rem;
  border-radius: 999px;
  background: #111111;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  transform: rotate(-4deg);
  box-shadow: 0 7px 0 rgba(255, 255, 255, 0.9), 0 12px 20px rgba(41, 58, 84, 0.1);
}

.result-date {
  flex: 0 0 auto;
  margin: 0.2rem 0 0;
  max-width: 9.6rem;
  font-size: 0.68rem;
  color: rgba(0, 0, 0, 0.32);
  text-align: right;
  white-space: nowrap;
}

.float-heart {
  position: absolute;
  right: 1rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px var(--result-glow, rgba(255, 127, 180, 0.15));
  animation: resultHeartDrift 5.4s ease-in-out infinite;
  will-change: transform;
}

.heart-one {
  top: 7.9rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  font-size: 1rem;
  background: var(--result-accent, #ffd350);
}

.heart-two {
  top: 9.8rem;
  right: 3.4rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  font-size: 0.7rem;
  background: var(--result-accent, #ffd350);
  animation-delay: -2.1s;
}

.result-main {
  display: block;
  min-height: 7.4rem;
}

.result-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 0.25rem;
}

.result-name {
  position: relative;
  display: inline-block;
  margin: 0 0 0.55rem;
  max-width: 100%;
  font-family: "FZ Pang Wa Jian Ti", "方正胖娃简体", "FZPangWaJianTi", "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(2.36rem, 10.5vw, 3.55rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--result-title, #ff9b1f);
  text-shadow:
    0 5px 0 rgba(255, 255, 255, 0.96),
    0 -4px 0 rgba(255, 255, 255, 0.96),
    4px 0 0 rgba(255, 255, 255, 0.96),
    -4px 0 0 rgba(255, 255, 255, 0.96),
    0 10px 22px var(--result-glow, rgba(255, 157, 0, 0.18));
}

.result-name::after {
  content: "";
  position: absolute;
  left: 0.08rem;
  right: 0.08rem;
  bottom: 0.08rem;
  height: 0.33rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--result-accent, #ffd350), rgba(255, 255, 255, 0));
  z-index: -1;
}

.result-tagline {
  margin: 0;
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--result-accent, #ffd350);
  font-size: 0.92rem;
  line-height: 1.35;
  color: #17181d;
  font-weight: 900;
  transform: none;
}

.result-section-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin: 0 0 0.55rem;
  padding: 0.34rem 0.9rem;
  border-radius: 999px;
  background: #111111;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
}

.result-scra-title {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font-size: 1rem;
  transform: none;
  box-shadow: none;
}

.result-section-subcopy {
  margin: 0 0 0.72rem;
  color: #707784;
  font-size: 0.82rem;
  line-height: 1.6;
}

.result-keywords-block {
  min-width: 0;
}

.result-keywords-title {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--muted);
}

.result-keywords {
  display: grid;
  gap: 0.46rem;
}

.trait-progress {
  border-radius: 999px;
  padding: 0.22rem 0 0.36rem;
  background: rgba(255, 255, 255, 0.9);
}

.trait-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 0.36rem;
}

.trait-progress-label,
.trait-progress-value {
  font-size: 0.72rem;
  font-weight: 900;
  color: #343845;
}

.trait-progress-track {
  width: 100%;
  height: 0.56rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(223, 233, 243, 0.95);
}

.trait-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  transform-origin: left center;
  animation: traitFillGrow 0.82s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.trait-progress:nth-child(2) .trait-progress-fill {
  animation-delay: 0.08s;
}

.trait-progress:nth-child(3) .trait-progress-fill {
  animation-delay: 0.16s;
}

.trait-progress:nth-child(4) .trait-progress-fill {
  animation-delay: 0.24s;
}

.bar-s .trait-progress-fill,
.fill-s {
  background: linear-gradient(90deg, #ffe77f, #ffc44d);
}

.bar-a .trait-progress-fill,
.fill-a {
  background: linear-gradient(90deg, #ffcdde, #ff94bf);
}

.bar-r .trait-progress-fill,
.fill-r {
  background: linear-gradient(90deg, #b9f8a1, #79d86d);
}

.bar-c .trait-progress-fill,
.fill-c {
  background: linear-gradient(90deg, #c9daff, #8bb4ff);
}

.result-avatar-shell {
  position: relative;
  right: auto;
  bottom: auto;
  align-self: stretch;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 15.8rem;
  margin: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.avatar-glow {
  position: absolute;
  inset: 32% 8% 7%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--result-glow, rgba(129, 210, 255, 0.4)) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(10px);
  animation: resultGlowBreathe 4.6s ease-in-out infinite;
  will-change: transform, opacity;
}

.result-avatar {
  position: relative;
  z-index: 1;
  width: 108%;
  max-height: 15.8rem;
  object-fit: contain;
  object-position: center bottom;
  animation: resultAvatarFloat 5.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes resultAvatarFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.38rem);
  }
}

@keyframes resultGlowBreathe {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes resultHeartDrift {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-0.32rem) rotate(5deg);
  }
}

@keyframes traitFillGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .result-avatar,
  .avatar-glow,
  .float-heart,
  .trait-progress-fill {
    animation: none;
  }
}

.export-avatar-fallback {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.75rem;
  width: min(15rem, 86%);
  aspect-ratio: 1;
  border: 0.24rem solid #111111;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.96) 0 0.9rem, transparent 0.95rem),
    radial-gradient(circle at 68% 34%, rgba(255, 255, 255, 0.92) 0 0.65rem, transparent 0.7rem),
    linear-gradient(135deg, var(--result-accent, #ffd350), #ffffff);
  box-shadow: 0 16px 30px var(--result-glow, rgba(255, 185, 57, 0.2));
  color: #111111;
  text-align: center;
}

.export-avatar-fallback-face {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.export-avatar-fallback-caption {
  max-width: 9.5rem;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.result-quote {
  display: inline-block;
  position: relative;
  z-index: 2;
  margin-top: 0.35rem;
  padding: 0.48rem 0.82rem 0.48rem 1.72rem;
  border-radius: 12px;
  text-align: center;
  font-size: 1rem;
  color: #1f2026;
  background: color-mix(in srgb, var(--result-accent, #ffd350) 62%, #ffffff);
  border: 0;
  font-weight: 900;
  box-shadow: none;
}

.result-quote::before {
  content: "“";
  position: absolute;
  left: 0.58rem;
  top: 50%;
  transform: translateY(-48%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.95rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.result-interpret-panel p {
  position: relative;
  z-index: 2;
  font-size: 0.96rem;
  line-height: 1.8;
  color: #30343b;
}

.result-interpret-panel .result-section-chip {
  min-height: 2.1rem;
  padding: 0.35rem 0.92rem;
  color: #fff;
  font-size: 0.84rem;
  transform: rotate(-4deg);
  box-shadow: 0 7px 0 rgba(255, 255, 255, 0.9), 0 12px 20px rgba(41, 58, 84, 0.1);
}

.result-interpret-panel #result-desc {
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.78;
  color: #1f2026;
}

.result-desc-highlight {
  color: var(--result-title, #ff9f12);
}

.result-interpret-panel #result-guidance {
  color: var(--result-title, #f0ad2c);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.result-interpret-panel #result-guidance:empty {
  display: none;
}

.result-detail-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.result-detail-card {
  padding: 1rem 1rem 0.95rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 20px rgba(41, 58, 84, 0.08);
}

.result-detail-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  color: #2e3340;
}

.result-detail-card p,
.result-detail-card li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #4b5260;
}

.result-detail-card p {
  margin: 0;
}

.result-detail-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.result-like-dislike-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.result-like-dislike-col h3 {
  margin-bottom: 0.4rem;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 0.1rem 0 0.75rem;
}

.result-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  background: #fff;
  color: #111111;
  border: 0;
  border-radius: 17px;
  box-shadow: 0 12px 24px rgba(61, 54, 0, 0.1);
}

.result-actions .btn:hover {
  transform: translateY(-1px);
}

.result-actions .btn.action-share {
  color: #111111;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid #111111;
  box-shadow: 0 12px 24px rgba(61, 54, 0, 0.1);
}

#btn-save-image {
  color: #fff;
  background: linear-gradient(135deg, #111111 0%, #26262a 100%);
}

#btn-retry {
  min-height: 3rem;
  padding: 0.78rem 1rem;
  color: #111111;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  box-shadow: 0 10px 20px rgba(41, 58, 84, 0.1);
}

.action-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.interpret-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  display: grid;
  place-items: center;
  color: var(--result-accent, #ffd350);
  filter: drop-shadow(0 7px 6px var(--result-glow, rgba(255, 185, 57, 0.2)));
}

.interpret-deco-primary {
  right: 0.95rem;
  bottom: 1.05rem;
  width: 5.2rem;
  height: 5.2rem;
  background-image: var(--interpret-deco-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.interpret-deco-secondary {
  left: -0.28rem;
  bottom: -0.18rem;
  width: 3.4rem;
  height: 3.4rem;
}

.interpret-deco-primary::before,
.interpret-deco-secondary::before {
  font-size: 2.6rem;
  line-height: 1;
}

.interpret-deco-secondary::before {
  font-size: 2.95rem;
}

.theme-sun .interpret-deco-secondary::before,
.theme-star .interpret-deco-secondary::before,
.theme-detective .interpret-deco-secondary::before {
  content: "✦";
}

.theme-cloud .interpret-deco-secondary::before {
  content: "☁";
}

.theme-hug .interpret-deco-secondary::before,
.theme-bean .interpret-deco-secondary::before {
  content: "♥";
}

.theme-ball .interpret-deco-secondary::before {
  content: "●";
}

.theme-bell .interpret-deco-secondary::before {
  content: "✦";
}

.result-tip {
  min-height: 0.35rem;
  margin: 0.2rem 0 0.25rem;
  color: #5d6471;
  font-size: 0.86rem;
  text-align: center;
}

.poster-bubble,
.poster-spark {
  display: none;
}

.poster-bubble {
  width: 3.7rem;
  height: 3.7rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.98) 0 0.45rem, transparent 0.5rem),
    radial-gradient(circle at 72% 70%, rgba(255, 255, 255, 0.7) 0 0.6rem, transparent 0.66rem),
    rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: inset -0.4rem -0.5rem 0.8rem rgba(255, 255, 255, 0.36);
}

.bubble-a {
  left: 0.2rem;
  top: 0.65rem;
}

.bubble-b {
  right: 0.18rem;
  bottom: 8.6rem;
}

.poster-spark {
  width: 1rem;
  height: 1rem;
  background: var(--result-accent, #ffd350);
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
  filter: drop-shadow(0 5px 4px var(--result-glow, rgba(255, 185, 57, 0.2)));
}

.spark-a {
  right: 4.2rem;
  top: 12.8rem;
}

.spark-b {
  left: 1.2rem;
  bottom: 7.2rem;
  width: 1.55rem;
  height: 1.55rem;
}

.admin-screen {
  margin-top: 1rem;
}

.hidden {
  display: none !important;
}

.admin-gate,
.admin-panel {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px var(--shadow-soft);
}

.admin-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 900;
  color: #5f7086;
}

.admin-title {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.admin-desc,
.admin-tip,
.admin-sync-card p,
.admin-record-card p {
  margin: 0;
  color: #57606d;
  line-height: 1.65;
  font-size: 0.92rem;
}

.admin-label {
  display: block;
  margin: 0.9rem 0 0.45rem;
  font-size: 0.85rem;
  font-weight: 900;
  color: #3a414f;
}

.admin-input {
  width: 100%;
  min-height: 3rem;
  margin-bottom: 0.8rem;
  padding: 0.78rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(44, 53, 70, 0.16);
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
  color: var(--ink);
}

.admin-tip {
  margin-top: 0.55rem;
  color: #c15a5a;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.admin-panel-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.admin-stat {
  padding: 0.8rem 0.6rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(41, 58, 84, 0.08);
  text-align: center;
}

.admin-stat strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
  color: #2d3440;
}

.admin-stat span {
  font-size: 0.72rem;
  color: #65707f;
}

.admin-sync-card {
  padding: 0.9rem 1rem;
  margin-bottom: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(41, 58, 84, 0.08);
}

.admin-sync-card h3,
.admin-record-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #2e3440;
}

.admin-record-list {
  display: grid;
  gap: 0.75rem;
}

.admin-record-card {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(41, 58, 84, 0.08);
}

.admin-record-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.admin-record-badge {
  flex: 0 0 auto;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.admin-record-badge.done {
  color: #1f6a35;
  background: rgba(208, 246, 214, 0.95);
}

.admin-record-badge.pending {
  color: #b26d1a;
  background: rgba(255, 236, 201, 0.95);
}

.admin-empty {
  margin: 0;
  color: #637081;
  font-size: 0.92rem;
}

.foot {
  position: relative;
  z-index: 1;
  padding: 0 1rem 1.4rem;
  text-align: center;
  font-size: 0.76rem;
  color: rgba(49, 58, 73, 0.68);
}

@media (max-width: 375px) {
  .shell {
    padding-top: 0.58rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-bottom: 1.25rem;
  }

  .top {
    margin-bottom: 0.45rem;
  }

  .badge-row {
    gap: 0.42rem;
  }

  .badge {
    padding: 0.32rem 0.62rem;
    font-size: 0.7rem;
  }

  .hero-avatars {
    width: min(82%, 16.2rem);
    margin-top: 0.72rem;
  }

  .intro-version {
    margin-bottom: 0.62rem;
    font-size: 0.84rem;
    line-height: 1.56;
  }

  .primary {
    padding-top: 0.82rem;
    padding-bottom: 0.82rem;
  }

  .quiz-head,
  .intro-version,
  .result-capture,
  .result-detail-card,
  .admin-gate,
  .admin-panel {
    padding-left: 0.92rem;
    padding-right: 0.92rem;
  }

  .result-poster-head {
    grid-template-columns: 1fr;
  }

  .result-avatar-shell {
    max-width: 9.8rem;
  }

  .result-like-dislike-card,
  .admin-summary,
  .result-actions {
    grid-template-columns: 1fr;
  }

  .admin-panel-head {
    flex-direction: column;
  }

  .admin-panel-actions {
    justify-content: flex-start;
  }
}
