:root {
  color-scheme: light;
  --ios-bg: #f2f4f3;
  --ios-surface: rgba(255, 255, 255, 0.78);
  --ios-surface-strong: #ffffff;
  --ios-surface-muted: #e7ebe9;
  --ink: #18201d;
  --ink-secondary: #69736e;
  --ink-tertiary: #949d98;
  --line: rgba(28, 39, 34, 0.09);
  --line-strong: rgba(28, 39, 34, 0.14);
  --accent: #ac4743;
  --accent-soft: #f5e7e5;
  --jade: #5d8777;
  --jade-soft: #e4efeb;
  --shadow: 0 18px 60px rgba(38, 52, 45, 0.15);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  background-color: rgb(242, 244, 243);
  background-image:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.9), transparent 30%),
    radial-gradient(circle at 84% 78%, rgba(93, 135, 119, 0.12), transparent 30%);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: default;
}

.app-frame {
  position: relative;
  width: min(100vw, 430px);
  height: min(100dvh, 844px);
  overflow: hidden;
  border: 1px solid rgba(29, 42, 35, 0.1);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), transparent 26%),
    var(--ios-bg);
  box-shadow: var(--shadow);
}

.app-frame::before {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(172, 71, 67, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(172, 71, 67, 0.025),
    0 0 0 62px rgba(93, 135, 119, 0.025);
  content: "";
  pointer-events: none;
}

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

.ambient-one {
  top: 180px;
  left: -140px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(93, 135, 119, 0.12), transparent 68%);
}

.ambient-two {
  right: -130px;
  bottom: 90px;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle, rgba(172, 71, 67, 0.08), transparent 70%);
}

.view {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  padding:
    max(24px, env(safe-area-inset-top))
    20px
    max(22px, env(safe-area-inset-bottom));
}

.view.is-active {
  display: flex;
  animation: view-in 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-view {
  flex-direction: column;
  justify-content: space-between;
}

.verify-view {
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.verify-header {
  padding: 0 4px;
}

.verify-title {
  font-size: clamp(36px, 9.6vw, 44px);
}

.verify-form {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: var(--ios-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.verify-label {
  color: var(--ink-secondary);
  font-size: 11px;
  font-weight: 650;
}

.verify-input {
  width: 100%;
  height: 62px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-align: center;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.verify-input:focus {
  border-color: rgba(172, 71, 67, 0.55);
  box-shadow: 0 0 0 4px rgba(172, 71, 67, 0.08);
}

.verify-error {
  min-height: 18px;
  margin: 0 2px;
  color: var(--accent);
  font-size: 11px;
  line-height: 1.5;
}

.verify-submit {
  margin-top: 2px;
}

.verify-view.is-error .verify-form {
  animation: verify-shake 240ms ease;
}

.landing-header {
  padding: 30px 4px 0;
}

.seal-mark {
  overflow: hidden;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: #14201c;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 22px rgba(133, 50, 47, 0.18);
}

.seal-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1 {
  max-width: 340px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 10.4vw, 45px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.landing-copy {
  max-width: 330px;
  margin: 18px 0 0;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.68;
}

.landing-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--ios-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
}

.landing-meta span {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  border-left: 1px solid var(--line);
  padding: 0 16px;
  color: #36403b;
  font-size: 13px;
  font-weight: 600;
}

.landing-meta span:nth-child(odd) {
  border-left: 0;
}

.landing-meta span:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.landing-meta span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
  content: "";
}

.primary-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 17px;
  padding: 0 19px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 24px rgba(130, 49, 46, 0.16);
  transition:
    transform 150ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease,
    box-shadow 180ms ease;
}

.landing-view > .primary-button {
  margin-top: 0;
}

.primary-button > span[aria-hidden="true"] {
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.primary-button:active {
  transform: scale(0.972);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 5px 14px rgba(130, 49, 46, 0.16);
}

.primary-button:active > span[aria-hidden="true"] {
  transform: translateX(4px);
}

.primary-button.is-success {
  background: var(--jade);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.option-button:focus-visible,
.icon-button:focus-visible,
.quiet-button:focus-visible {
  outline: 3px solid rgba(93, 135, 119, 0.35);
  outline-offset: 2px;
}

.footnote {
  margin: 13px 4px 0;
  color: var(--ink-tertiary);
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.landing-guide {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 15px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(232, 239, 236, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.guide-heading {
  display: flex;
  justify-content: space-between;
  color: var(--ink-tertiary);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.guide-lead {
  margin: 13px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 620;
  line-height: 1.6;
}

.guide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.guide-chips span {
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--jade-soft);
  color: var(--jade);
  font-size: 10px;
  font-weight: 650;
}

.quiz-view {
  flex-direction: column;
}

.quiz-header {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 12px;
  padding-top: 5px;
}

.quiz-progress-wrap {
  text-align: center;
}

.quiz-kicker {
  margin: 0 0 3px;
  color: var(--ink-tertiary);
  font-size: 10px;
  font-weight: 600;
}

.quiz-progress {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin: 0;
}

[data-progress-current] {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

[data-progress-total],
.progress-divider {
  color: var(--ink-tertiary);
  font-size: 12px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ios-surface);
  color: var(--ink);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  backdrop-filter: blur(16px);
  transition:
    transform 140ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 160ms ease;
}

.icon-button:disabled {
  opacity: 0.34;
}

.icon-button:not(:disabled):active {
  transform: scale(0.9);
  background: rgba(255, 255, 255, 0.96);
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.quiet-button {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 12px;
}

.progress-track {
  width: 100%;
  height: 4px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(33, 49, 41, 0.07);
}

.progress-track span {
  display: block;
  width: 3%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.question-stage {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding-top: clamp(34px, 7.6vh, 56px);
}

.question-index {
  margin: 0 0 10px;
  color: var(--ink-tertiary);
  font-size: 11px;
  letter-spacing: 0.04em;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 7vw, 33px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.34;
}

.option-list {
  display: grid;
  margin-top: clamp(24px, 5.2vh, 38px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--ios-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
}

.option-button {
  display: grid;
  width: 100%;
  min-height: 61px;
  grid-template-columns: 27px 1fr 14px;
  align-items: center;
  gap: 9px;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 12px 15px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition:
    background 150ms ease,
    color 150ms ease,
    transform 150ms cubic-bezier(0.22, 1, 0.36, 1);
}

.option-button:first-child {
  border-top: 0;
}

.option-button:hover {
  background: rgba(93, 135, 119, 0.055);
}

.option-button:active {
  background: rgba(93, 135, 119, 0.1);
  transform: scale(0.985);
}

.option-key {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 9px;
  background: var(--ios-surface-muted);
  color: var(--ink-secondary);
  font-size: 11px;
  font-weight: 700;
}

.option-copy {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.48;
}

.option-arrow {
  color: #b4bbb7;
  font-size: 21px;
}

.option-button.is-selected {
  background: var(--accent-soft);
}

.option-button.is-selected .option-key {
  background: var(--accent);
  color: white;
}

.option-button.is-selected .option-arrow {
  color: var(--accent);
}

.option-button.is-committing {
  background: #f7e5e3;
  animation: option-confirm 170ms cubic-bezier(0.22, 1, 0.36, 1);
}

.option-button.is-committing .option-key {
  background: var(--accent);
  color: #fff;
  transform: scale(1.06);
}

.option-button.is-committing .option-arrow {
  color: var(--accent);
  font-size: 17px;
  font-weight: 800;
  transform: scale(1.12);
}

.question-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}

.nav-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 680;
  transition:
    transform 140ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 160ms ease,
    background-color 160ms ease;
}

.nav-button:active {
  transform: scale(0.97);
}

.nav-button:disabled {
  opacity: 0.34;
}

.nav-button-back {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-secondary);
}

.nav-button-next {
  border: 1px solid rgba(172, 71, 67, 0.2);
  background: var(--accent);
  color: #fff;
}

.nav-button-next span,
.nav-button-back span {
  font-size: 19px;
  line-height: 1;
}

.keyboard-hint {
  margin: 9px 0 2px;
  color: var(--ink-tertiary);
  font-size: 10px;
  text-align: center;
}

.result-view {
  display: none;
  overflow: hidden;
  flex-direction: column;
  gap: 12px;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  scrollbar-width: none;
}

.result-view::-webkit-scrollbar {
  display: none;
}

.result-view.is-active {
  display: flex;
}

.result-view > * {
  flex: 0 0 auto;
}

.result-view > .result-panels {
  flex: 1 1 auto;
}

.result-toolbar {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  text-align: center;
}

.result-toolbar p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 650;
}

.result-hero {
  padding: 2px 3px 0;
}

.result-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.result-title-row h2 {
  font-size: clamp(39px, 10vw, 48px);
  font-weight: 800;
}

.result-archetype {
  margin: 0;
  color: var(--jade);
  font-size: 14px;
  font-weight: 650;
}

.result-archetype-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.confidence-badge {
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--jade-soft);
  color: var(--jade);
  font-size: 9px;
  font-weight: 750;
}

.similarity-seal {
  display: grid;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(172, 71, 67, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(172, 71, 67, 0.08), transparent 68%),
    rgba(255, 255, 255, 0.58);
}

.similarity-seal strong {
  color: var(--accent);
  font-size: 23px;
  font-weight: 760;
}

.similarity-seal span {
  color: var(--ink-tertiary);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.result-summary {
  margin: 14px 0 0;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.68;
}

.result-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px;
  background: rgba(226, 231, 228, 0.72);
}

.result-tab {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 650;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 140ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms ease;
}

.result-tab.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 1px 5px rgba(24, 32, 29, 0.1);
}

.result-tab:active {
  transform: scale(0.96);
}

.result-tab:focus-visible {
  outline: 2px solid rgba(93, 135, 119, 0.38);
  outline-offset: 1px;
}

.result-panels {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.result-panels::-webkit-scrollbar {
  display: none;
}

.result-tab-panel {
  display: none;
  gap: 10px;
}

.result-tab-panel.is-active {
  display: grid;
  animation: panel-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.result-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 15px;
  background: var(--ios-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.section-heading p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 720;
}

.section-heading span {
  overflow: hidden;
  color: var(--ink-tertiary);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-role-list,
.score-list {
  display: grid;
  gap: 12px;
}

.top-role,
.score-row {
  display: grid;
  gap: 7px;
}

.top-role {
  border-radius: 15px;
  padding: 11px 12px 12px;
  background: rgba(255, 255, 255, 0.55);
}

.top-role[data-rank="1"] {
  background: linear-gradient(135deg, #f7e9e7, #fffaf9);
}

.top-role[data-rank="2"] {
  background: linear-gradient(135deg, #edf3f0, #ffffff);
}

.top-role[data-rank="3"] {
  background: rgba(255, 255, 255, 0.42);
}

.score-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.score-identity,
.score-value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-rank {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  background: rgba(172, 71, 67, 0.09);
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
}

.score-name {
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
}

.score-percent {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.score-label {
  color: var(--ink-tertiary);
  font-size: 9px;
  font-weight: 650;
}

.score-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(30, 47, 39, 0.07);
}

.score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.top-role[data-rank="2"] .score-track span,
.top-role[data-rank="3"] .score-track span {
  background: var(--jade);
}

.combination-panel {
  background:
    linear-gradient(145deg, rgba(228, 239, 235, 0.9), rgba(255, 255, 255, 0.74));
}

.combined-analysis {
  margin: 0;
  color: #2b3933;
  font-size: 15px;
  font-weight: 520;
  line-height: 1.72;
}

.confidence-copy {
  margin: -3px 0 12px;
  color: var(--ink-secondary);
  font-size: 12px;
  line-height: 1.62;
}

.evidence-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-list li {
  border-radius: 13px;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.55);
}

.evidence-list span {
  display: block;
  color: var(--ink-tertiary);
  font-size: 9px;
  line-height: 1.45;
}

.evidence-list strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.48;
}

.insight-list {
  display: grid;
  gap: 12px;
}

.insight-card {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.insight-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.insight-label {
  color: var(--jade);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.insight-card p {
  margin: 6px 0 0;
  color: #36423c;
  font-size: 13px;
  line-height: 1.64;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.insight-card.compact {
  min-height: 100px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.52);
}

.action-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: action;
}

.action-list li {
  position: relative;
  padding-left: 31px;
  color: #36423c;
  font-size: 13px;
  line-height: 1.58;
  counter-increment: action;
}

.action-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 9px;
  font-weight: 750;
  content: counter(action);
}

.all-scores {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--ios-surface);
}

.all-scores summary {
  padding: 16px;
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.all-scores .score-list {
  padding: 0 16px 18px;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 50px;
  gap: 8px;
  padding-top: 6px;
}

.result-actions .primary-button {
  min-height: 52px;
}

.result-actions .icon-button {
  width: 50px;
  height: 52px;
  font-size: 22px;
}

.secondary-button {
  min-height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-secondary);
  font-weight: 650;
}

.method-note {
  margin: -2px 8px 0;
  color: var(--ink-tertiary);
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes option-confirm {
  0% {
    transform: scale(0.985);
  }
  65% {
    transform: scale(1.008);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes verify-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(-5px);
  }
  65% {
    transform: translateX(5px);
  }
}

@media (hover: hover) {
  .primary-button:hover {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 13px 28px rgba(130, 49, 46, 0.2);
  }

  .primary-button:hover > span[aria-hidden="true"] {
    transform: translateX(3px);
  }
}

@media (max-width: 430px) {
  .app-frame {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
