:root {
  --bg: #f1ebe1;
  --panel: #ffffff;
  --ink: #172023;
  --muted: #657275;
  --line: #e4d9ca;
  --cyan: #168697;
  --cyan-soft: #e5f6f5;
  --gold: #c6863a;
  --gold-soft: #fff0d8;
  --graphite: #263033;
  --deep: #101d20;
  --shadow: 0 28px 86px rgba(92, 64, 32, 0.16);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 8%, rgba(198, 134, 58, 0.2), transparent 26%),
    radial-gradient(circle at 88% 82%, rgba(22, 134, 151, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(92, 64, 32, 0.08), transparent 36%),
    var(--bg);
  color: var(--ink);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  width: 100%;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  padding: clamp(10px, 4vw, 24px);
  display: grid;
  place-items: start center;
}

.phone-frame {
  width: min(calc(100vw - 20px), 430px);
  min-height: min(860px, calc(100dvh - 20px));
  background:
    linear-gradient(rgba(22, 134, 151, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 134, 58, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 240, 0.92));
  background-size: 30px 30px, 30px 30px, auto;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

@media (max-width: 520px) {
  .app-shell {
    display: grid;
    padding: 10px;
  }

  .phone-frame {
    width: min(calc(100vw - 20px), 430px) !important;
    max-width: min(calc(100vw - 20px), 430px);
    min-height: min(860px, calc(100dvh - 20px));
    margin: 0 auto;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.75);
  }
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(198, 134, 58, 0.16), transparent 52%);
  background-size: auto;
  mask-image: linear-gradient(to bottom, black, transparent 42%);
  pointer-events: none;
}

.screen {
  min-height: inherit;
  padding: clamp(18px, 5.6vw, 24px);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.intro-screen,
.select-screen {
  padding-bottom: 18px;
}

.home-screen {
  justify-content: flex-start;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 12px;
}

.brand {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.06em;
  font-weight: 850;
  color: rgba(38, 48, 51, 0.68);
}

.brand-with-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(185, 145, 69, 0.22));
}

.progress {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}

.hero {
  margin: auto 0 18px;
}

.home-screen .hero {
  margin: clamp(34px, 6.4vh, 58px) 0 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 700;
}

.scan-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(29, 143, 163, 0.14);
}

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

.hero-title {
  margin-top: 18px;
  font-size: clamp(42px, 11.6vw, 50px);
  line-height: 1.12;
  font-weight: 900;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.hero-subtitle {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero-visual {
  margin: 30px auto 8px;
  width: 100%;
  max-width: 342px;
  min-height: 278px;
  position: relative;
  display: block;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 24px 10px -4px;
  background:
    radial-gradient(ellipse at center, rgba(29, 143, 163, 0.2), transparent 64%),
    radial-gradient(ellipse at center, rgba(185, 145, 69, 0.14), transparent 72%);
  border-radius: 28px;
  filter: blur(18px);
  opacity: 0.8;
}

.hero-visual::after {
  display: none;
}

.hero-scan-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 278px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 76% 26%, rgba(198, 134, 58, 0.2), transparent 34%),
    radial-gradient(circle at 24% 72%, rgba(22, 134, 151, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 245, 230, 0.82));
  background-size: 22px 22px, 22px 22px, auto, auto;
  border: 1px solid rgba(198, 134, 58, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.82),
    0 26px 58px rgba(24, 43, 48, 0.15);
  overflow: hidden;
  padding: 16px;
}

.scan-depth-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(29, 143, 163, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 143, 163, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.86;
}

.hero-scan-visual::before,
.hero-scan-visual::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(29, 143, 163, 0.32);
  pointer-events: none;
}

.hero-scan-visual::before {
  left: 12px;
  top: 12px;
  border-left: 1px solid;
  border-top: 1px solid;
}

.hero-scan-visual::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.scan-card-header,
.scan-card-footer,
.scan-card-body,
.scan-window,
.scan-glass,
.scan-beam,
.scan-platform,
.scan-metric {
  position: relative;
  min-width: 0;
}

.scan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(92, 64, 32, 0.56);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.scan-card-header strong {
  color: #0f6574;
  border: 1px solid rgba(198, 134, 58, 0.2);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.68);
}

.scan-card-body {
  margin-top: 14px;
  min-height: 196px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 6px;
}

.scan-metric {
  align-self: center;
  display: grid;
  gap: 4px;
  padding: 9px 6px;
  border-radius: 13px;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(198, 134, 58, 0.16);
}

.scan-metric span {
  color: rgba(92, 64, 32, 0.58);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.scan-metric strong {
  color: var(--cyan);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.scan-window {
  height: 194px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 50% 56%, rgba(255, 255, 255, 0.98), rgba(223, 244, 247, 0.52) 58%, transparent 76%);
  overflow: hidden;
}

.scan-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(29, 143, 163, 0.2);
  opacity: 0.72;
}

.scan-orbit-one {
  width: 152px;
  height: 152px;
}

.scan-orbit-two {
  width: 184px;
  height: 184px;
  border-color: rgba(185, 145, 69, 0.22);
  transform: rotate(-18deg) scaleX(0.9);
}

.scan-glass {
  position: absolute;
  inset: 14px 19px 20px;
  border-radius: 26px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(29, 143, 163, 0.14) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(29, 143, 163, 0.12) 49% 51%, transparent 52%),
    radial-gradient(circle, rgba(29, 143, 163, 0.08), transparent 66%);
  border: 1px solid rgba(29, 143, 163, 0.12);
  box-shadow: inset 0 0 28px rgba(29, 143, 163, 0.08);
}

.hero-fingerprint-image {
  position: relative;
  z-index: 2;
  width: 108px;
  height: 146px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(29, 143, 163, 0.3))
    drop-shadow(0 16px 20px rgba(24, 43, 48, 0.1));
  opacity: 0.98;
}

.scan-core-line {
  position: absolute;
  z-index: 2;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 143, 163, 0.42), transparent);
}

.scan-beam {
  position: absolute;
  z-index: 3;
  left: 23%;
  right: 23%;
  top: 23px;
  height: 28px;
  background:
    linear-gradient(180deg, transparent, rgba(29, 143, 163, 0.16), transparent),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), rgba(29, 143, 163, 0.65), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(29, 143, 163, 0.34);
  mix-blend-mode: screen;
  animation: scan 3s ease-in-out infinite;
}

.scan-platform {
  position: absolute;
  z-index: 1;
  left: 25%;
  right: 25%;
  bottom: 14px;
  height: 15px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.92), rgba(29, 143, 163, 0.2) 58%, transparent 74%);
  border: 1px solid rgba(29, 143, 163, 0.12);
  box-shadow: 0 0 16px rgba(29, 143, 163, 0.18);
}

.scan-card-footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(23, 32, 35, 0.42);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
  min-width: 0;
  overflow: hidden;
}

.scan-card-footer span {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(29, 143, 163, 0.12), rgba(29, 143, 163, 0.52), rgba(185, 145, 69, 0.58));
}

.scan-card-footer em {
  font-style: normal;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.12;
  }
  50% {
    transform: translateY(86px);
    opacity: 0.82;
  }
}

.fingerprint-svg {
  width: 100%;
  height: 100%;
}

.fingerprint-image {
  display: block;
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(29, 143, 163, 0.15));
}

.fingerprint-svg path,
.fingerprint-svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fingerprint-svg .arrow-mark {
  stroke: var(--gold);
  stroke-width: 3.35;
  opacity: 0.78;
}

.fingerprint-svg .fingerprint-outline {
  stroke-width: 0;
  opacity: 0;
}

.hero-visual .fingerprint-svg {
  color: var(--graphite);
  filter: drop-shadow(0 18px 30px rgba(29, 143, 163, 0.18));
}

.hero-visual .fingerprint-image {
  width: 82%;
  height: 82%;
}

.primary-actions {
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.intro-screen .primary-actions,
.select-screen .primary-actions {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  padding-top: 12px;
  background: linear-gradient(180deg, rgba(248, 252, 252, 0), rgba(248, 252, 252, 0.96) 28%, rgba(248, 252, 252, 0.98));
  z-index: 4;
}

.home-screen .primary-actions {
  margin-top: clamp(16px, 3.4vh, 24px);
  width: calc(100% - 24px);
}

.button {
  width: 100%;
  max-width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: linear-gradient(135deg, #8a5a27, #1f747d);
  color: #fff;
  box-shadow: 0 16px 28px rgba(138, 90, 39, 0.2);
}

.button-primary:hover {
  background: linear-gradient(135deg, #75491f, #155f68);
}

.button-secondary {
  background: linear-gradient(135deg, #dff4f7, #eefafb);
  color: #0f6574;
  border: 1px solid rgba(29, 143, 163, 0.16);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  border: 1px solid var(--line);
}

.button:disabled {
  cursor: not-allowed;
  background: linear-gradient(135deg, #fff1d4, #f2e4cd);
  color: #b9a894;
  box-shadow: none;
  border: 1px solid rgba(244, 118, 33, 0.12);
}

.fineprint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
  overflow-wrap: anywhere;
}

.page-title {
  margin-top: 26px;
  font-size: clamp(26px, 7vw, 32px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.intro-screen .page-title,
.select-screen .page-title {
  margin-top: 18px;
}

.page-copy {
  margin-top: 10px;
  color: var(--muted);
  font-size: clamp(14px, 4.1vw, 16px);
  line-height: 1.7;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.intro-screen .page-copy,
.select-screen .page-copy {
  line-height: 1.55;
}

.hand-focus {
  margin: 0 3px;
  color: var(--cyan);
  font-weight: 900;
}

.direction-guide {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.guide-line {
  border-left: 3px solid var(--cyan);
  background: rgba(223, 244, 247, 0.68);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 10px 12px;
}

.guide-line span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.guide-line strong {
  display: block;
  margin-top: 4px;
  color: var(--graphite);
  font-size: 13px;
}

.pattern-grid {
  margin-top: 22px;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.intro-screen .pattern-grid,
.select-screen .pattern-grid {
  margin-top: 16px;
  gap: 10px;
}

.pattern-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 12%, rgba(29, 143, 163, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.9);
  padding: 14px;
  text-align: left;
  color: var(--ink);
  display: grid;
  min-height: 196px;
  gap: 10px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.intro-screen .pattern-card,
.select-screen .pattern-card {
  min-height: 166px;
  padding: 11px;
  gap: 8px;
}

.pattern-card.selected {
  border-color: rgba(29, 143, 163, 0.68);
  box-shadow: 0 14px 28px rgba(29, 143, 163, 0.12);
  transform: translateY(-2px);
}

@media (hover: hover) and (pointer: fine) {
  .pattern-card:hover {
    border-color: rgba(29, 143, 163, 0.68);
    box-shadow: 0 14px 28px rgba(29, 143, 163, 0.12);
    transform: translateY(-2px);
  }
}

.pattern-card.selected {
  background:
    linear-gradient(180deg, #ffffff, #eefbfc),
    radial-gradient(circle at 86% 14%, rgba(29, 143, 163, 0.2), transparent 34%);
  outline: 2px solid rgba(29, 143, 163, 0.18);
  outline-offset: 2px;
}

.pattern-icon {
  width: 100%;
  height: clamp(118px, 33vw, 148px);
  color: var(--cyan);
  display: grid;
  place-items: center;
  justify-items: center;
  overflow: hidden;
}

.intro-screen .pattern-icon,
.select-screen .pattern-icon {
  height: clamp(98px, 25vw, 122px);
}

.pattern-icon .fingerprint-image {
  width: auto !important;
  max-width: 96%;
  height: clamp(96px, 25vw, 118px) !important;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
}

.pattern-name {
  font-size: 17px;
  font-weight: 850;
}

.intro-screen .pattern-name,
.select-screen .pattern-name {
  font-size: 15px;
}

.pattern-summary {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.intro-screen .pattern-summary,
.select-screen .pattern-summary {
  font-size: 11px;
  line-height: 1.42;
}

.hand-stepper {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hand-step {
  min-width: 0;
  border: 1px solid rgba(29, 143, 163, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 11px;
  display: grid;
  gap: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.hand-step span {
  color: var(--gold);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.hand-step strong {
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.hand-step em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hand-step.active {
  border-color: rgba(29, 143, 163, 0.62);
  background:
    radial-gradient(circle at 88% 10%, rgba(89, 215, 232, 0.28), transparent 34%),
    linear-gradient(135deg, #ffffff, #e8f8fa);
  box-shadow:
    0 12px 26px rgba(29, 143, 163, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.82);
}

.hand-step.active strong,
.hand-step.active em {
  color: #0f6574;
}

.hand-step.done {
  border-color: rgba(185, 145, 69, 0.28);
  background: linear-gradient(135deg, #fffdf8, #f8edd9);
}

.selection-panel {
  margin-top: 18px;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.select-screen .selection-panel {
  margin-top: 12px;
  padding: 12px;
}

.selection-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.selection-value {
  margin-top: 7px;
  color: var(--ink);
  font-size: clamp(16px, 4.7vw, 21px);
  line-height: 1.25;
  font-weight: 850;
  word-break: normal;
  overflow-wrap: anywhere;
}

.confirm-card {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.confirm-hand {
  border: 1px solid rgba(29, 143, 163, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(29, 143, 163, 0.1), transparent 40%),
    rgba(255, 255, 255, 0.9);
  padding: 16px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(29, 143, 163, 0.08);
}

.confirm-icon {
  width: 72px;
  height: 72px;
  color: var(--cyan);
  border-radius: 18px;
  background: #f7fcfd;
  border: 1px solid var(--line);
  padding: 8px;
}

.confirm-icon .fingerprint-image {
  width: 100%;
  height: 100%;
}

.confirm-hand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.confirm-hand strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.button-mini {
  border: 1px solid rgba(29, 143, 163, 0.28);
  border-radius: 999px;
  background: var(--cyan-soft);
  color: #0f6574;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
}

.loading-screen {
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(29, 143, 163, 0.12), transparent 31%),
    radial-gradient(circle at 50% 50%, rgba(185, 145, 69, 0.08), transparent 42%),
    linear-gradient(rgba(29, 143, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 143, 163, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px, 28px 28px;
}

.loader-console {
  position: relative;
  width: 258px;
  display: grid;
  place-items: center;
  transform: translateY(-18px);
}

.loader-stage {
  width: 244px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, 0.98) 0 36%, rgba(223, 244, 247, 0.48) 37% 52%, transparent 53%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(29, 143, 163, 0.08));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    inset 0 -18px 46px rgba(29, 143, 163, 0.1),
    0 28px 62px rgba(24, 43, 48, 0.14),
    0 0 42px rgba(29, 143, 163, 0.12);
}

.loader-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(29, 143, 163, 0.18);
  mask-image: linear-gradient(130deg, black 0 42%, transparent 43% 58%, black 59%);
}

.loader-stage::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(29, 143, 163, 0.2) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(29, 143, 163, 0.18) 49% 51%, transparent 52%);
  opacity: 0.55;
  mask-image: radial-gradient(circle, transparent 0 36%, black 37% 40%, transparent 41%);
}

.loader-stage .fingerprint-image {
  width: 47%;
  height: 61%;
  position: relative;
  z-index: 3;
  filter:
    drop-shadow(0 0 12px rgba(29, 143, 163, 0.32))
    drop-shadow(0 18px 24px rgba(24, 43, 48, 0.12));
  animation: fingerprintFloat 3.6s ease-in-out infinite;
}

.loader-aura {
  position: absolute;
  inset: 48px;
  z-index: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(29, 143, 163, 0.18), rgba(29, 143, 163, 0.04) 54%, transparent 70%);
  animation: breatheAura 2.8s ease-in-out infinite;
}

.loader-orbit {
  position: absolute;
  inset: 12px;
  z-index: 2;
  border-radius: 50%;
  background: conic-gradient(from 220deg, transparent 0 54%, rgba(29, 143, 163, 0.82) 60%, rgba(185, 145, 69, 0.78) 66%, transparent 73% 100%);
  mask-image: radial-gradient(circle, transparent 0 48%, black 49% 50%, transparent 51%);
  animation: rotate 2.6s cubic-bezier(0.45, 0, 0.15, 1) infinite;
}

.loader-scan {
  position: absolute;
  z-index: 4;
  left: 25%;
  right: 25%;
  top: 23%;
  height: 32px;
  background:
    linear-gradient(180deg, transparent, rgba(29, 143, 163, 0.18), transparent),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), rgba(29, 143, 163, 0.74), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(29, 143, 163, 0.38);
  animation: loaderScan 1.9s ease-in-out infinite;
  mix-blend-mode: screen;
}

.loader-baseline {
  position: absolute;
  z-index: 2;
  left: 27%;
  right: 27%;
  bottom: 48px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.9), rgba(29, 143, 163, 0.18) 58%, transparent 74%);
  border: 1px solid rgba(29, 143, 163, 0.14);
  box-shadow: 0 0 18px rgba(29, 143, 163, 0.18);
}

.loader-progress {
  margin-top: 20px;
  width: 184px;
  height: 4px;
  border-radius: 999px;
  background: rgba(29, 143, 163, 0.13);
  overflow: hidden;
  position: relative;
}

.loader-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(29, 143, 163, 0), rgba(29, 143, 163, 0.75), rgba(185, 145, 69, 0.85));
  animation: progressSweep 1.8s ease-in-out infinite;
}

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

@keyframes loaderScan {
  0%,
  100% {
    transform: translateY(-10px);
    opacity: 0.14;
  }
  50% {
    transform: translateY(104px);
    opacity: 0.86;
  }
}

@keyframes progressSweep {
  0%,
  100% {
    transform: translateX(-45%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(136%);
    opacity: 0.95;
  }
}

@keyframes breatheAura {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.95;
  }
}

@keyframes fingerprintFloat {
  0%,
  100% {
    transform: translateY(2px) scale(0.995);
  }
  50% {
    transform: translateY(-4px) scale(1.015);
  }
}

.loading-text {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 850;
}

.loading-subtext {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.result-screen {
  padding-top: 14px;
  padding-left: clamp(10px, 3.8vw, 18px);
  padding-right: clamp(10px, 3.8vw, 18px);
  padding-bottom: 18px;
}

.result-screen .topbar {
  min-height: 0;
  height: 0;
  position: relative;
  z-index: 5;
}

.result-screen .icon-button {
  position: absolute;
  top: 2px;
  left: 0;
  z-index: 6;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(92, 64, 32, 0.14);
}

.result-card {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  border: 1px solid rgba(29, 143, 163, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(rgba(22, 134, 151, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 134, 58, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 88% 7%, rgba(198, 134, 58, 0.16), transparent 24%),
    linear-gradient(315deg, rgba(22, 134, 151, 0.09), transparent 30%),
    #ffffff;
  background-size: 22px 22px, 22px 22px, auto, auto, auto;
  box-shadow: 0 24px 54px rgba(23, 32, 35, 0.14);
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.result-card * {
  min-width: 0;
}

.result-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(29, 143, 163, 0.14);
  border-radius: 16px;
  pointer-events: none;
}

.result-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 174px;
  background: linear-gradient(135deg, rgba(92, 64, 32, 0.94), rgba(27, 102, 111, 0.9));
  pointer-events: none;
}

.result-brand-strip {
  position: relative;
  z-index: 2;
  padding: 18px clamp(16px, 4.5vw, 22px) 6px 64px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  min-width: 0;
  width: 100%;
}

.result-brand-strip strong {
  color: #e7f6f8;
  font-size: 11px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.result-brand-strip span {
  margin-left: auto;
  color: rgba(126, 221, 233, 0.68);
  font-size: 8px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.result-brand-strip img {
  width: 24px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 4px 9px rgba(185, 145, 69, 0.2));
  flex: 0 0 auto;
}

.result-hero {
  padding: 18px clamp(16px, 4.5vw, 22px) 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
  min-width: 0;
}

.result-kicker {
  color: #7ce5f2;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.result-name {
  margin-top: 10px;
  font-size: clamp(34px, 9.8vw, 44px);
  line-height: 1.08;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}

.result-title {
  margin-top: 14px;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #795a1f;
  font-size: 13px;
  font-weight: 850;
}

.hit {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid rgba(29, 143, 163, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 94% 18%, rgba(198, 134, 58, 0.14), transparent 32%),
    rgba(255, 250, 240, 0.92);
  color: #2f3b3f;
  font-size: 15px;
  line-height: 1.82;
  font-weight: 650;
  letter-spacing: 0.01em;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  box-shadow: 0 10px 24px rgba(24, 43, 48, 0.035);
}

.lab-readout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lab-readout-item {
  border: 1px solid rgba(29, 143, 163, 0.18);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.92);
  padding: 10px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
}

.lab-readout-item:nth-child(2) {
  background: rgba(240, 251, 251, 0.92);
}

.lab-readout span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.lab-readout strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.lab-readout-icon {
  width: 42px;
  height: 58px;
  display: grid;
  place-items: center;
}

.lab-readout-icon .fingerprint-image {
  width: auto !important;
  height: 100% !important;
  max-width: 100%;
}

.result-sections {
  padding: clamp(14px, 4vw, 18px) clamp(12px, 3.8vw, 16px) clamp(12px, 3.8vw, 16px);
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.signal-panel,
.view-panel {
  border: 1px solid rgba(29, 143, 163, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(185, 145, 69, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(29, 143, 163, 0.1), transparent 48%),
    rgba(255, 255, 255, 0.84);
  padding: 16px;
  box-shadow: 0 10px 22px rgba(24, 43, 48, 0.05);
}

.panel-label {
  color: var(--graphite);
  font-size: 13px;
  font-weight: 900;
}

.signal-grid {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.signal-chip {
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(29, 143, 163, 0.12), rgba(255, 255, 255, 0.74));
  border: 1px solid rgba(29, 143, 163, 0.14);
  color: #0f6574;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 850;
  min-width: 0;
  overflow-wrap: anywhere;
}

.insight {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 94% 16%, rgba(198, 134, 58, 0.1), transparent 30%),
    rgba(255, 255, 255, 0.88);
  padding: 16px;
  box-shadow: 0 8px 18px rgba(24, 43, 48, 0.035);
  position: relative;
  overflow: hidden;
}

.insight::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -18px;
  width: 72px;
  height: 96px;
  background: url("./assets/pattern-whorl-orange.png?v=20260713-003") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.insight-warm {
  border-color: rgba(198, 134, 58, 0.24);
  background:
    radial-gradient(circle at 94% 16%, rgba(198, 134, 58, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 240, 216, 0.7), rgba(255, 255, 255, 0.88));
}

.insight-cool {
  border-color: rgba(22, 134, 151, 0.2);
  background:
    radial-gradient(circle at 94% 16%, rgba(22, 134, 151, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(229, 246, 245, 0.72), rgba(255, 255, 255, 0.9));
}

.insight h3 {
  color: var(--cyan);
  font-size: 14px;
  margin-bottom: 8px;
}

.insight p {
  color: #344044;
  font-size: 14px;
  line-height: 1.72;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.lab-note,
.self-note {
  background: #fffaf0;
  border-color: rgba(185, 145, 69, 0.28);
}

.lab-note h3,
.self-note h3 {
  color: #8a6727;
}

.view-panel {
  display: grid;
  gap: 10px;
}

.view-panel summary {
  cursor: pointer;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 900;
  list-style: none;
}

.view-panel summary::-webkit-details-marker {
  display: none;
}

.view-panel summary::after {
  content: "展开";
  float: right;
  color: var(--cyan);
  font-size: 12px;
}

.view-panel[open] summary::after {
  content: "收起";
}

.view-panel .insight {
  background: rgba(255, 255, 255, 0.82);
}

.next-question {
  border-radius: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 18%, rgba(198, 134, 58, 0.18), transparent 34%),
    linear-gradient(135deg, #fff6e8, #eaf8f8);
  color: var(--ink);
  display: grid;
  gap: 7px;
  border: 1px solid rgba(198, 134, 58, 0.24);
}

.next-question span {
  color: #8a6727;
  font-size: 12px;
  font-weight: 800;
}

.next-question strong {
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.conversion {
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 8%, rgba(22, 134, 151, 0.16), transparent 28%),
    linear-gradient(135deg, #fffaf0, #e9f7f7);
  color: var(--ink);
  border: 1px solid rgba(22, 134, 151, 0.18);
}

.conversion h3 {
  font-size: 16px;
}

.conversion p {
  margin-top: 8px;
  color: #566467;
  font-size: 13px;
  line-height: 1.72;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.result-actions {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 20, 22, 0.58);
  z-index: 10;
  padding: 18px;
  display: grid;
  place-items: center;
}

.modal {
  width: min(calc(100vw - 36px), 430px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-title {
  font-size: 18px;
  font-weight: 900;
}

.icon-button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 22px;
  font-weight: 850;
  display: inline-grid;
  place-items: center;
}

.share-card {
  border: 1px solid rgba(29, 143, 163, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 14%, rgba(185, 145, 69, 0.18), transparent 26%),
    linear-gradient(180deg, #ffffff, #eef7f8);
  padding: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.share-brand {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.share-brand img {
  width: 24px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 4px 9px rgba(185, 145, 69, 0.18));
}

.share-name {
  margin-top: 20px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 850;
}

.share-title {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.24;
  font-weight: 900;
}

.share-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.share-points li {
  padding-left: 16px;
  position: relative;
  color: #334145;
  font-size: 14px;
  line-height: 1.6;
}

.share-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.share-advice {
  margin-top: 18px;
  padding: 12px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 12%, rgba(29, 143, 163, 0.32), transparent 30%),
    linear-gradient(135deg, #142225, #263033);
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
}

.qr-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(29, 143, 163, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.qr-placeholder {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(90deg, var(--ink) 8px, transparent 8px) 9px 9px / 19px 19px,
    linear-gradient(var(--ink) 8px, transparent 8px) 9px 9px / 19px 19px,
    radial-gradient(circle at 72% 72%, var(--cyan) 0 5px, transparent 6px),
    #fff;
  flex: 0 0 auto;
}

.qr-image {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 7px;
  object-fit: contain;
}

.qr-copy {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.qr-copy span {
  color: #0f6574;
  font-weight: 900;
  word-break: break-all;
}

@media (min-width: 880px) {
  .app-shell {
    padding: 36px;
  }

  .phone-frame {
    width: min(calc(100vw - 72px), 480px);
  }
}

@media (max-width: 380px) {
  .screen {
    padding: 18px;
  }

  .home-screen .hero {
    margin-top: 22px;
  }

  .home-screen .hero-visual {
    min-height: 226px;
  }

  .home-screen .hero-scan-visual {
    min-height: 226px;
  }

  .home-screen .scan-card-body {
    min-height: 158px;
  }

  .home-screen .scan-window {
    height: 152px;
  }

  .result-screen {
    padding: 10px;
  }

  .result-screen .icon-button {
    width: 38px;
    height: 38px;
  }

  .result-brand-strip {
    padding-left: 56px;
  }

  .result-brand-strip span {
    display: none;
  }

  .hero-title {
    font-size: 31px;
  }

  .lab-readout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  .pattern-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .progress {
    display: none;
  }

  .hero-subtitle {
    max-width: 310px;
  }

  .result-brand-strip {
    justify-content: flex-start;
  }

}

@media print {
  body {
    background: #fff;
  }

  .phone-frame {
    width: 100%;
    min-height: auto;
    box-shadow: none;
    border: 0;
    border-radius: 0;
  }

  .topbar,
  .result-actions,
  .conversion .button {
    display: none;
  }
}

/* Warm teen-friendly redesign, approved concept 2026-07-09 */
:root {
  --bg: #fff3de;
  --panel: #fffdf8;
  --ink: #20201c;
  --muted: #756a5d;
  --line: #f0d9b8;
  --cyan: #0f8b78;
  --cyan-soft: #e8f8ef;
  --gold: #f28c28;
  --gold-soft: #fff1cf;
  --orange: #f47621;
  --orange-deep: #bd4e17;
  --sun: #ffc44d;
  --cream: #fff8e9;
  --graphite: #2c2a24;
  --deep: #332316;
  --shadow: 0 28px 78px rgba(171, 95, 22, 0.18);
  --radius: 20px;
}

html {
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 196, 77, 0.42), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(244, 118, 33, 0.18), transparent 30%),
    radial-gradient(circle at 52% 88%, rgba(15, 139, 120, 0.12), transparent 34%),
    linear-gradient(180deg, #fff9ed 0%, #ffe9bf 48%, #fff8e9 100%);
}

.phone-frame {
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 196, 77, 0.26), transparent 28%),
    radial-gradient(circle at 18% 28%, rgba(244, 118, 33, 0.14), transparent 30%),
    linear-gradient(rgba(244, 118, 33, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 118, 33, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #fffdf8, #fff4df);
  background-size: auto, auto, 30px 30px, 30px 30px, auto;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 30px 80px rgba(167, 91, 18, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.86);
}

.phone-frame::before {
  background:
    radial-gradient(circle at 70% 0%, rgba(255, 196, 77, 0.38), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent 60%);
  mask-image: linear-gradient(to bottom, black, transparent 54%);
}

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

.screen::before {
  width: 94px;
  height: 94px;
  right: -36px;
  top: 92px;
  background: rgba(255, 196, 77, 0.18);
}

.screen::after {
  width: 56px;
  height: 56px;
  left: -20px;
  bottom: 100px;
  background: rgba(15, 139, 120, 0.1);
}

.brand-with-logo {
  color: rgba(71, 51, 28, 0.72);
  letter-spacing: 0.02em;
}

.brand-with-logo img {
  filter: drop-shadow(0 8px 14px rgba(244, 118, 33, 0.18));
}

.eyebrow {
  border-color: rgba(244, 118, 33, 0.18);
  color: #c95a17;
  background: rgba(255, 252, 245, 0.86);
  box-shadow: 0 12px 28px rgba(244, 118, 33, 0.08);
}

.scan-dot {
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(244, 118, 33, 0.15);
}

.hero-title,
.page-title,
.result-name,
.share-title {
  color: #25221d;
  letter-spacing: -0.045em;
}

.hero-subtitle,
.page-copy,
.fineprint {
  color: #796e61;
}

.home-screen .hero {
  margin-top: clamp(16px, 3.8vh, 28px);
}

.home-screen .hero-visual {
  min-height: 340px;
  margin-top: 20px;
}

.warm-hero-visual {
  min-height: 340px;
  padding: 18px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 74% 24%, rgba(255, 196, 77, 0.42), transparent 24%),
    radial-gradient(circle at 28% 72%, rgba(15, 139, 120, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 239, 205, 0.88));
  border: 1px solid rgba(244, 118, 33, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    0 26px 56px rgba(171, 95, 22, 0.16);
}

.warm-hero-visual::before,
.warm-hero-visual::after {
  display: none;
}

.sun-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  right: -34px;
  top: -34px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 196, 77, 0.76), rgba(255, 196, 77, 0.18) 58%, transparent 70%);
  filter: blur(2px);
}

.floating-spark {
  position: absolute;
  color: rgba(244, 118, 33, 0.72);
  font-weight: 900;
  animation: warmFloat 3.8s ease-in-out infinite;
}

.spark-one {
  left: 28px;
  top: 72px;
  font-size: 22px;
}

.spark-two {
  right: 74px;
  top: 52px;
  font-size: 16px;
  animation-delay: -1.1s;
}

.spark-three {
  left: 58px;
  bottom: 44px;
  font-size: 14px;
  animation-delay: -2s;
}

.warm-card-header,
.warm-card-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(90, 62, 31, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.warm-card-header strong {
  padding: 5px 10px;
  border-radius: 999px;
  color: #a84a14;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(244, 118, 33, 0.18);
}

.warm-hero-body {
  position: relative;
  z-index: 2;
  min-height: 254px;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.home-feature-stack {
  display: grid;
  gap: 10px;
  align-self: center;
}

.home-feature-pill {
  padding: 9px 10px 9px 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(244, 118, 33, 0.12);
  color: #8a6745;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 850;
  position: relative;
  box-shadow: 0 10px 20px rgba(171, 95, 22, 0.08);
}

.home-feature-pill::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff8a1d;
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(244, 118, 33, 0.12);
}

.warm-lens {
  position: relative;
  height: 250px;
  display: grid;
  place-items: center;
}

.hero-thumb {
  position: absolute;
  width: 118px;
  height: 196px;
  bottom: -18px;
  left: 50%;
  border-radius: 54px 54px 38px 38px;
  background:
    radial-gradient(circle at 38% 16%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(180deg, #fff2d9 0%, #ffd19a 54%, #f3aa6d 100%);
  border: 1px solid rgba(185, 95, 26, 0.18);
  transform: translateX(-48%) rotate(1deg);
  box-shadow: 0 28px 42px rgba(171, 95, 22, 0.18);
}

.hero-thumb::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 104px;
  right: -28px;
  bottom: 34px;
  border-radius: 50px 34px 28px 40px;
  background: linear-gradient(180deg, #ffe6bd, #f6b477);
  border: 1px solid rgba(185, 95, 26, 0.14);
  transform: rotate(34deg);
}

.lens-ring {
  position: absolute;
  width: 174px;
  height: 174px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.96), rgba(255, 244, 221, 0.66) 58%, rgba(255, 196, 77, 0.2)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(244, 118, 33, 0.12));
  border: 10px solid rgba(255, 255, 255, 0.64);
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.8),
    0 18px 38px rgba(171, 95, 22, 0.22);
}

.lens-handle {
  position: absolute;
  width: 78px;
  height: 18px;
  border-radius: 999px;
  right: 20px;
  bottom: 22px;
  background: linear-gradient(90deg, #f28c28, #b94d17);
  transform: rotate(42deg);
  transform-origin: center;
  box-shadow: 0 12px 22px rgba(185, 77, 23, 0.22);
}

.warm-lens .hero-fingerprint-image {
  width: 120px;
  height: 158px;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 18px rgba(244, 118, 33, 0.12))
    drop-shadow(0 0 10px rgba(15, 139, 120, 0.16));
}

.lens-shine {
  position: absolute;
  width: 102px;
  height: 102px;
  left: 38px;
  top: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 52%);
  mix-blend-mode: screen;
}

.hero-scribble {
  position: relative;
  z-index: 2;
  margin: -2px 18px 8px auto;
  color: #d96818;
  font-size: 14px;
  font-weight: 850;
  transform: rotate(-7deg);
}

.warm-card-footer {
  margin-top: 2px;
  letter-spacing: 0.02em;
  font-size: 12px;
  color: rgba(101, 75, 43, 0.78);
}

.warm-card-footer span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f47621, #ffc44d, rgba(15, 139, 120, 0.52));
}

.warm-card-footer em {
  font-style: normal;
  white-space: nowrap;
  font-weight: 900;
}

@keyframes warmFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.58;
  }
  50% {
    transform: translateY(-8px) rotate(8deg);
    opacity: 0.96;
  }
}

.button {
  border-radius: 18px;
  min-height: 56px;
}

.button-primary {
  background: linear-gradient(135deg, #ffb02e 0%, #f47621 52%, #c65318 100%);
  color: #fffaf0;
  box-shadow: 0 18px 32px rgba(244, 118, 33, 0.28);
}

.button-arrow {
  font-size: 21px;
  line-height: 1;
}

.home-dock {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 13px 12px 12px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(244, 118, 33, 0.12);
  box-shadow: 0 18px 32px rgba(171, 95, 22, 0.11);
  color: #9a8873;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.home-dock span {
  position: relative;
  padding-top: 24px;
}

.home-dock span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 6px;
  border: 2px solid currentColor;
  transform: translateX(-50%);
  opacity: 0.6;
}

.home-dock .active {
  color: #f47621;
}

.home-dock .active::before {
  background: currentColor;
  border-color: currentColor;
  box-shadow: 0 0 0 5px rgba(244, 118, 33, 0.1);
}

.button-primary:hover {
  background: linear-gradient(135deg, #ffc04a 0%, #ec681a 52%, #ad4211 100%);
}

.button-secondary {
  background: linear-gradient(135deg, #fff4d6, #ffe2ad);
  color: #9e4812;
  border-color: rgba(244, 118, 33, 0.18);
}

.button-ghost {
  color: #7b684f;
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(244, 118, 33, 0.16);
}

.icon-button {
  color: #7d5a32;
  border: 1px solid rgba(244, 118, 33, 0.14);
  background: rgba(255, 252, 245, 0.94);
  box-shadow: 0 10px 24px rgba(171, 95, 22, 0.12);
}

.hand-focus {
  color: #d96818;
}

.select-screen .page-title {
  text-align: center;
  margin-top: 12px;
  font-size: clamp(24px, 6.5vw, 30px);
}

.select-screen .page-copy {
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
  margin-top: 8px;
}

.selection-progress {
  margin: 10px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.selection-progress span {
  width: 18px;
  height: 5px;
  border-radius: 999px;
  background: rgba(118, 106, 93, 0.22);
}

.selection-progress span.active {
  background: linear-gradient(90deg, #ffb02e, #f47621);
  box-shadow: 0 4px 9px rgba(244, 118, 33, 0.22);
}

.hand-step {
  border-color: rgba(244, 118, 33, 0.16);
  background: rgba(255, 252, 245, 0.74);
}

.hand-step span {
  color: var(--orange);
}

.hand-step.active {
  border-color: rgba(244, 118, 33, 0.5);
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 196, 77, 0.35), transparent 32%),
    linear-gradient(135deg, #fffdf8, #ffedc5);
  box-shadow: 0 12px 24px rgba(244, 118, 33, 0.14);
}

.hand-step.active strong,
.hand-step.active em {
  color: #a84a14;
}

.hand-step.done {
  border-color: rgba(15, 139, 120, 0.22);
  background: linear-gradient(135deg, #fffdf8, #ecf8ed);
}

.hand-guide-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px 4px;
  border-radius: 24px;
  border: 1px solid rgba(244, 118, 33, 0.18);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 196, 77, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 240, 211, 0.44));
  box-shadow: 0 18px 34px rgba(171, 95, 22, 0.11);
}

.hand-guide-copy span {
  color: #d96818;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hand-guide-copy strong {
  display: none;
  margin-top: 5px;
  color: #2f2a22;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.hand-guide-copy p {
  margin: 4px auto 0;
  color: #78674f;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 650;
  max-width: 260px;
  text-align: center;
}

.hand-visual {
  min-height: 184px;
  position: relative;
  display: grid;
  place-items: center;
}

.hand-svg {
  width: 190px;
  height: 190px;
  overflow: visible;
}

.hand-palm {
  fill: url("#handFill-left");
  stroke: rgba(185, 95, 26, 0.3);
  stroke-width: 3;
  filter: drop-shadow(0 12px 18px rgba(171, 95, 22, 0.13));
}

.right-hand-guide .hand-palm {
  fill: url("#handFill-right");
}

.hand-line {
  fill: none;
  stroke: rgba(157, 96, 40, 0.34);
  stroke-width: 3;
  stroke-linecap: round;
}

.little-arrow {
  fill: none;
  stroke: #f47621;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 8px rgba(244, 118, 33, 0.24));
}

.little-finger-label,
.thumb-label {
  position: absolute;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #9b4a17;
  border: 1px solid rgba(244, 118, 33, 0.18);
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(171, 95, 22, 0.08);
}

.left-hand-guide .little-finger-label {
  left: 0;
  top: 58px;
}

.left-hand-guide .thumb-label {
  right: 0;
  bottom: 30px;
}

.right-hand-guide .little-finger-label {
  right: 0;
  top: 58px;
}

.right-hand-guide .thumb-label {
  left: 0;
  bottom: 30px;
}

.pattern-choice-area {
  margin-top: 14px;
  padding: 13px;
  border-radius: 24px;
  background: rgba(255, 252, 245, 0.68);
  border: 1px solid rgba(244, 118, 33, 0.12);
}

.choice-section-title {
  color: #5d4730;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.pattern-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.compact-pattern {
  min-height: 152px !important;
  padding: 9px !important;
  border-radius: 20px;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 196, 77, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.88);
  border-color: rgba(244, 118, 33, 0.16);
}

.compact-pattern .pattern-icon {
  height: 86px !important;
  color: #0f8b78;
}

.compact-pattern .fingerprint-image {
  height: 84px !important;
  filter: drop-shadow(0 8px 14px rgba(15, 139, 120, 0.12));
}

.compact-pattern .pattern-name {
  color: #2f2a22;
  font-size: 14px;
}

.compact-pattern .pattern-summary {
  margin-top: 3px;
  color: #84715a;
  font-size: 10px;
  line-height: 1.35;
}

.pattern-card.selected,
.compact-pattern.selected {
  border-color: rgba(244, 118, 33, 0.68);
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 196, 77, 0.32), transparent 34%),
    linear-gradient(180deg, #fff, #fff0cf);
  outline-color: rgba(244, 118, 33, 0.18);
  box-shadow: 0 14px 28px rgba(244, 118, 33, 0.16);
}

.loop-help-button {
  width: 100%;
  margin-top: 12px;
  min-height: 44px;
  border: 1px dashed rgba(244, 118, 33, 0.38);
  border-radius: 16px;
  color: #b95317;
  background: rgba(255, 244, 214, 0.64);
  font-size: 13px;
  font-weight: 900;
}

.loop-options {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.loop-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.loop-option {
  border: 1px solid rgba(244, 118, 33, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  padding: 10px;
  text-align: left;
  box-shadow: 0 12px 24px rgba(171, 95, 22, 0.08);
}

.loop-option.selected {
  border-color: rgba(244, 118, 33, 0.68);
  background: linear-gradient(180deg, #fff, #fff0cf);
  box-shadow: 0 16px 28px rgba(244, 118, 33, 0.16);
}

.loop-option-icon {
  height: 78px;
  display: grid;
  place-items: center;
  color: #0f8b78;
}

.loop-option-icon .fingerprint-image {
  height: 76px !important;
  width: auto !important;
}

.loop-option span,
.loop-option strong,
.loop-option em {
  display: block;
}

.loop-option span {
  margin-top: 6px;
  color: #d96818;
  font-size: 12px;
  font-weight: 900;
}

.loop-option strong {
  margin-top: 3px;
  color: #2f2a22;
  font-size: 17px;
  font-weight: 900;
}

.loop-option em {
  margin-top: 4px;
  color: #7d6d5a;
  font-size: 11px;
  line-height: 1.4;
  font-style: normal;
  font-weight: 700;
}

.confirm-hand {
  border-color: rgba(244, 118, 33, 0.16);
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 196, 77, 0.2), transparent 34%),
    rgba(255, 252, 245, 0.9);
  box-shadow: 0 14px 28px rgba(171, 95, 22, 0.1);
}

.confirm-icon {
  color: #0f8b78;
  background: #fff8e9;
  border-color: rgba(244, 118, 33, 0.14);
}

.button-mini {
  border-color: rgba(244, 118, 33, 0.22);
  background: #fff0cf;
  color: #b95317;
}

.loading-screen {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 196, 77, 0.25), transparent 31%),
    radial-gradient(circle at 50% 50%, rgba(244, 118, 33, 0.12), transparent 44%),
    linear-gradient(rgba(244, 118, 33, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 118, 33, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px, 28px 28px;
}

.loader-stage {
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, 0.98) 0 36%, rgba(255, 235, 190, 0.66) 37% 52%, transparent 53%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(244, 118, 33, 0.1));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    inset 0 -18px 46px rgba(244, 118, 33, 0.11),
    0 28px 62px rgba(171, 95, 22, 0.15),
    0 0 42px rgba(255, 196, 77, 0.18);
}

.loader-orbit {
  background: conic-gradient(from 220deg, transparent 0 54%, rgba(244, 118, 33, 0.82) 60%, rgba(255, 196, 77, 0.78) 66%, transparent 73% 100%);
}

.loader-progress {
  background: rgba(244, 118, 33, 0.13);
}

.loader-progress span {
  background: linear-gradient(90deg, rgba(244, 118, 33, 0), rgba(244, 118, 33, 0.75), rgba(255, 196, 77, 0.9));
}

.result-card {
  border-color: rgba(244, 118, 33, 0.18);
  background:
    radial-gradient(circle at 88% 7%, rgba(255, 196, 77, 0.22), transparent 24%),
    linear-gradient(rgba(244, 118, 33, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 118, 33, 0.03) 1px, transparent 1px),
    #fffdf8;
  background-size: auto, 22px 22px, 22px 22px, auto;
  box-shadow: 0 24px 54px rgba(171, 95, 22, 0.14);
}

.result-card::before {
  border-color: rgba(244, 118, 33, 0.12);
}

.result-card::after {
  height: 270px;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 248, 233, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(255, 238, 201, 0.96), rgba(255, 196, 77, 0.9));
}

.result-brand-strip {
  color: rgba(255, 255, 255, 0.86);
}

.result-brand-strip strong {
  color: #fffdf8;
}

.result-brand-strip span {
  color: rgba(96, 59, 21, 0.44);
}

.result-complete {
  width: fit-content;
  margin: 8px auto 16px;
  color: #f47621;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
}

.result-hero {
  text-align: center;
}

.result-kicker {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff0cf;
  color: #c95a17;
  font-size: 12px;
  font-weight: 900;
}

.result-name {
  margin-top: 12px;
  color: #f47621;
  text-shadow: 0 3px 0 rgba(255, 196, 77, 0.24);
}

.result-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.result-badges span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #8a5a1f;
  background: rgba(255, 240, 207, 0.78);
  border: 1px solid rgba(244, 118, 33, 0.12);
  font-size: 11px;
  font-weight: 850;
}

.result-kicker,
.share-name {
  color: #c95a17;
}

.result-title,
.hit,
.signal-chip:first-child,
.next-question,
.share-advice {
  background: #fff0cf;
  color: #7c4d17;
}

.hit {
  text-align: left;
}

.hit {
  border: 1px solid rgba(244, 118, 33, 0.12);
}

.lab-readout-item {
  border-color: rgba(244, 118, 33, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.lab-readout-icon {
  background: #fff8e9;
  border-color: rgba(244, 118, 33, 0.14);
}

.panel-label,
.insight h3,
.next-question span,
.conversion h3 {
  color: #c95a17;
}

.signal-panel,
.insight,
.conversion {
  border-color: rgba(244, 118, 33, 0.14);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 196, 77, 0.18), transparent 30%),
    rgba(255, 255, 255, 0.86);
}

.result-sections {
  margin-top: 16px;
}

.insight-warm {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 196, 77, 0.2), transparent 30%),
    linear-gradient(135deg, #fffdf8, #fff4df);
}

.insight-cool {
  background:
    radial-gradient(circle at 90% 10%, rgba(15, 139, 120, 0.11), transparent 28%),
    linear-gradient(135deg, #fffdf8, #eff9ef);
}

.signal-chip {
  border-color: rgba(244, 118, 33, 0.12);
  color: #0f7668;
}

.conversion {
  color: #5f5141;
}

.modal {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 196, 77, 0.26), transparent 28%),
    #fff8e9;
}

.share-card {
  border-color: rgba(244, 118, 33, 0.18);
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 196, 77, 0.22), transparent 26%),
    linear-gradient(180deg, #fffdf8, #fff3de);
}

.share-points li::before {
  background: var(--orange);
}

.share-advice {
  border: 1px solid rgba(244, 118, 33, 0.12);
}

.qr-row {
  border-color: rgba(244, 118, 33, 0.14);
  background: rgba(255, 255, 255, 0.76);
}

.qr-copy span {
  color: #c95a17;
}

@media (max-width: 380px) {
  .warm-hero-body {
    min-height: 174px;
    grid-template-columns: 62px 1fr 62px;
  }

  .warm-lens {
    height: 164px;
  }

  .lens-ring {
    width: 132px;
    height: 132px;
  }

  .warm-lens .hero-fingerprint-image {
    width: 90px;
    height: 122px;
  }

  .warm-note strong {
    font-size: 11px;
  }

  .hand-guide-card {
    grid-template-columns: 1fr;
  }

  .hand-visual {
    min-height: 132px;
  }

  .hand-svg {
    width: 132px;
    height: 132px;
  }

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

  .compact-pattern {
    min-height: 134px !important;
  }

  .compact-pattern .pattern-icon {
    height: 70px !important;
  }

  .compact-pattern .fingerprint-image {
    height: 68px !important;
  }
}

@media (max-width: 340px) {
  .pattern-grid-three,
  .loop-option-grid {
    grid-template-columns: 1fr;
  }
}

/* Concept-asset fidelity pass 2026-07-10 */
.concept-hero-visual {
  min-height: 440px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 196, 77, 0.2), transparent 28%),
    linear-gradient(180deg, #fff8e9, #fff0d5);
}

.concept-hero-visual .warm-card-header {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  top: 16px;
}

.concept-hero-visual picture {
  position: absolute;
  inset: 0;
  display: block;
}

.concept-home-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.06) contrast(1.02);
}

.concept-hero-visual .warm-card-footer {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 16px;
  padding-top: 10px;
  background: linear-gradient(180deg, transparent, rgba(255, 247, 232, 0.86) 55%);
}

.concept-hero-visual .warm-card-footer em {
  color: #8c7251;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hand-guide-card {
  min-height: 368px;
  overflow: hidden;
}

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

.hand-visual {
  min-height: 278px;
}

.concept-hand-image {
  width: min(116%, 372px);
  max-height: 278px;
  object-fit: contain;
  object-position: center 54%;
  mix-blend-mode: multiply;
  filter: saturate(1.05) contrast(1.02);
}

.left-hand-guide .concept-hand-image,
.right-hand-guide .concept-hand-image {
  transform: scale(1.12) translateY(-8px);
}

.result-hero {
  position: relative;
  overflow: hidden;
}

.result-deco-stars {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 72%;
  max-width: 280px;
  transform: translateX(-50%);
  opacity: 0.34;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.result-deco-compass {
  position: absolute;
  top: 26px;
  right: 2px;
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 999px;
  opacity: 0.8;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.result-complete,
.result-kicker,
.result-name,
.result-title,
.result-badges,
.hit,
.lab-readout {
  position: relative;
  z-index: 2;
}

.self-note {
  position: relative;
  overflow: hidden;
  padding-right: 92px;
}

.result-growth-image {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.86;
  mix-blend-mode: multiply;
}

@media (max-width: 380px) {
  .concept-hero-visual {
    min-height: 400px;
  }

  .hand-guide-card {
    min-height: 334px;
  }

  .hand-visual {
    min-height: 242px;
  }

  .concept-hand-image {
    max-height: 242px;
  }
}

.export-modal {
  width: min(calc(100vw - 28px), 430px);
  padding: 14px;
}

.export-preview-frame {
  max-height: min(62dvh, 600px);
  overflow: auto;
  border-radius: 18px;
  background: #fff1cf;
  border: 1px solid rgba(244, 118, 33, 0.16);
}

.export-preview-frame img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-touch-callout: default;
  user-select: auto;
}

.export-help {
  margin: 12px 4px 4px;
  color: #78674f;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.wechat-save-guide {
  display: grid;
  gap: 3px;
  margin: 2px 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(244, 118, 33, 0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff4d8, #fffaf0);
  color: #76521f;
  text-align: center;
}

.wechat-save-guide strong {
  color: #d85a16;
  font-size: 16px;
}

.wechat-save-guide span {
  font-size: 12px;
  line-height: 1.5;
}

.wechat-export-modal .export-preview-frame {
  max-height: min(68dvh, 680px);
}

/* Commercial polish pass 2026-07-10: warm orange patterns and cleaner result poster header. */
:root {
  --orange: #f47621;
  --orange-deep: #c95a17;
  --orange-soft: #fff0cf;
  --sun-soft: #ffc44d;
}

.fingerprint-image {
  filter: drop-shadow(0 8px 18px rgba(244, 118, 33, 0.14));
}

.fingerprint-svg {
  color: var(--orange);
}

.pattern-icon,
.confirm-icon,
.lab-readout-icon,
.loop-option-icon,
.loader-stage {
  color: var(--orange);
}

.pattern-card.selected,
.compact-pattern.selected {
  border-color: rgba(244, 118, 33, 0.56);
  outline-color: rgba(244, 118, 33, 0.18);
  background:
    linear-gradient(180deg, #fffdf8, #fff3de),
    radial-gradient(circle at 86% 14%, rgba(255, 196, 77, 0.22), transparent 34%);
  box-shadow: 0 14px 28px rgba(244, 118, 33, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .pattern-card:hover {
    border-color: rgba(244, 118, 33, 0.56);
    box-shadow: 0 14px 28px rgba(244, 118, 33, 0.12);
  }
}

.button-primary {
  background: linear-gradient(135deg, #ff9f1a, #e04f16);
  box-shadow: 0 18px 32px rgba(244, 118, 33, 0.22);
}

.button-primary:hover {
  background: linear-gradient(135deg, #f28d12, #cc4511);
}

.result-screen {
  padding-top: clamp(12px, 3.4vw, 16px);
}

.result-screen .topbar {
  min-height: 44px;
  height: 44px;
  margin-bottom: 10px;
  position: relative;
}

.result-screen .icon-button {
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: #8a5a1f;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(171, 95, 22, 0.13);
}

.result-card {
  border-color: rgba(244, 118, 33, 0.18);
  background:
    linear-gradient(rgba(244, 118, 33, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 118, 33, 0.03) 1px, transparent 1px),
    #fffdf8;
  background-size: 22px 22px, 22px 22px, auto;
  box-shadow: 0 24px 54px rgba(171, 95, 22, 0.14);
}

.result-card::before {
  border-color: rgba(244, 118, 33, 0.12);
}

.result-card::after {
  display: none;
}

.result-hero {
  padding: 18px clamp(16px, 4.8vw, 22px) 22px;
  text-align: center;
  border-bottom: 1px solid rgba(244, 118, 33, 0.12);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 248, 233, 0.4), transparent 22%),
    radial-gradient(circle at 10% 2%, rgba(255, 255, 255, 0.52), transparent 24%),
    linear-gradient(180deg, #ffd670 0%, #fff0cf 43%, rgba(255, 253, 248, 0.88) 100%);
}

.result-report-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  margin-bottom: 8px;
}

.result-report-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: rgba(96, 59, 21, 0.64);
  font-size: 11px;
  font-weight: 900;
}

.result-report-brand img {
  width: 24px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 4px 9px rgba(185, 145, 69, 0.18));
}

.result-report-top > span {
  color: rgba(121, 90, 31, 0.45);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.result-deco-compass {
  top: 50px;
  right: 16px;
  width: 62px;
  height: 62px;
  opacity: 0.52;
  z-index: 1;
}

.result-complete {
  margin: 10px auto 10px;
  color: var(--orange);
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.03em;
}

.result-kicker {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  color: #8a5a1f;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(171, 95, 22, 0.08);
}

.result-name {
  margin-top: 12px;
  color: var(--orange);
  font-size: clamp(42px, 13vw, 58px);
  text-shadow: 0 3px 0 rgba(255, 196, 77, 0.22);
}

.result-title {
  margin-top: 12px;
  background: rgba(255, 253, 248, 0.9);
  color: #7c4d17;
  border: 1px solid rgba(244, 118, 33, 0.1);
}

.result-badges {
  width: min(100%, 292px);
  margin: 12px auto 0;
  display: grid;
  gap: 8px;
}

.result-badges span {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: #8a5a1f;
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid rgba(244, 118, 33, 0.1);
  font-size: 12px;
  font-weight: 850;
}

.hit {
  margin-top: 18px;
  padding: 18px;
  text-align: left;
  border-color: rgba(244, 118, 33, 0.12);
  background: rgba(255, 240, 207, 0.82);
  color: #5f3f14;
  font-size: 16px;
  line-height: 1.78;
}

.lab-readout {
  margin-top: 16px;
  gap: 10px;
}

.lab-readout-item,
.lab-readout-item:nth-child(2) {
  border-color: rgba(244, 118, 33, 0.14);
  background: rgba(255, 255, 255, 0.82);
}

.lab-readout-icon {
  background: #fff8e9;
  border: 1px solid rgba(244, 118, 33, 0.1);
  border-radius: 13px;
}

.panel-label,
.insight h3,
.next-question span,
.conversion h3 {
  color: var(--orange-deep);
}

.signal-panel,
.insight,
.conversion {
  border-color: rgba(244, 118, 33, 0.14);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 196, 77, 0.18), transparent 30%),
    rgba(255, 255, 255, 0.86);
}

.signal-chip {
  border-color: rgba(244, 118, 33, 0.12);
  color: #8a5a1f;
  background: linear-gradient(90deg, rgba(255, 240, 207, 0.86), rgba(255, 255, 255, 0.74));
}

.signal-chip:first-child {
  color: #7c4d17;
  background: #fff0cf;
}

.qr-row {
  justify-content: center;
  border-color: rgba(244, 118, 33, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

.qr-copy {
  color: #7c4d17;
  font-weight: 850;
}

.qr-copy span {
  color: var(--orange);
  word-break: keep-all;
}
