:root {
  color-scheme: light;
  --background: #f4f7f6;
  --surface: #ffffff;
  --surface-soft: #f8faf9;
  --ink: #17211e;
  --ink-soft: #40514b;
  --muted: #6d7b76;
  --line: #dce6e2;
  --line-strong: #c7d5d0;
  --navy: #172e2a;
  --green: #148665;
  --green-dark: #0e6e53;
  --green-soft: #eaf7f1;
  --amber: #a8660d;
  --amber-soft: #fff6e7;
  --shadow-sm: 0 6px 22px rgba(24, 51, 43, 0.06);
  --shadow-md: 0 18px 48px rgba(24, 51, 43, 0.09);
  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: Pretendard, "Pretendard Variable", SUIT, "Noto Sans KR", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(20, 134, 101, 0.09), transparent 26rem),
    linear-gradient(180deg, #ffffff 0, var(--background) 44rem);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(20, 134, 101, 0.28);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 40px), 1080px);
  margin-inline: auto;
}

.site-header {
  /* The header belongs to the document, so it must leave the viewport while scrolling. */
  position: static;
  z-index: auto;
  height: 72px;
  border-bottom: 1px solid rgba(220, 230, 226, 0.92);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(20, 134, 101, 0.18);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand > span:last-child {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.brand strong {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.header-notice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #ccebdd;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 850;
}

.header-notice i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.intro-screen {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(300px, 0.87fr);
  align-items: center;
  gap: 70px;
  min-height: calc(100vh - 72px);
  padding: 68px 0 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.intro-copy h1,
.experience-heading h1 {
  margin: 12px 0 14px;
  color: var(--ink);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.075em;
}

.intro-copy h1 em {
  color: var(--green);
  font-style: normal;
}

.intro-lead {
  max-width: 590px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.notice-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 590px;
  margin-top: 26px;
  padding: 16px;
  border: 1px solid #cfe5db;
  border-radius: 17px;
  background: rgba(235, 249, 243, 0.74);
}

.notice-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.notice-card strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.notice-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.primary-button,
.secondary-button,
.quiet-button,
.text-button {
  min-height: 48px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 850;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms var(--ease);
}

.primary-button {
  padding: 11px 18px;
  border: 1px solid var(--green);
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 22px rgba(20, 134, 101, 0.18);
}

.primary-button:hover:not(:disabled),
.secondary-button:hover:not(:disabled) {
  background: var(--green-dark);
  box-shadow: 0 13px 25px rgba(20, 134, 101, 0.22);
  transform: translateY(-2px);
}

.intro-copy > .primary-button {
  min-width: 214px;
  margin-top: 24px;
}

.primary-button.small {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 14px;
}

.primary-button.wide {
  width: 100%;
  margin-top: 18px;
}

.intro-caption {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.intro-preview {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
  transform: rotate(1.2deg);
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.preview-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.preview-head strong {
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
}

.intro-preview ol {
  display: grid;
  gap: 3px;
  padding: 14px 0 10px;
  margin: 0;
  list-style: none;
}

.intro-preview li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 9px;
  min-height: 47px;
  padding: 7px 9px;
  border-radius: 11px;
}

.intro-preview li:nth-child(odd) {
  background: var(--surface-soft);
}

.intro-preview li b {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.intro-preview li span {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.intro-preview li i {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.intro-preview > p {
  margin: 3px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.experience-screen {
  padding: 54px 0 76px;
  animation: screen-enter 360ms var(--ease) both;
}

.experience-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.experience-heading h1 {
  margin-bottom: 4px;
  font-size: clamp(34px, 5vw, 50px);
}

.experience-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.text-button,
.quiet-button {
  padding: 9px 13px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.8);
}

.text-button {
  border-color: transparent;
  color: var(--muted);
  background: transparent;
}

.text-button:hover:not(:disabled),
.quiet-button:hover:not(:disabled) {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
  transform: translateY(-1px);
}

.trust-strip {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 21px;
  padding: 12px 15px;
  border: 1px solid #d4ebe1;
  border-radius: 13px;
  color: var(--green-dark);
  background: var(--green-soft);
}

.trust-strip > span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.trust-strip strong {
  font-size: 14px;
  font-weight: 850;
}

.trust-strip small {
  color: #4d8574;
  font-size: 13px;
}

.mission-card,
.match-card {
  margin-top: 18px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.mission-card {
  border-color: #cfe4db;
  background:
    radial-gradient(circle at 100% 0, rgba(20, 134, 101, 0.1), transparent 21rem),
    #fff;
}

.mission-header,
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.mission-header h2,
.section-heading h2 {
  margin: 6px 0 4px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.time-chip,
.lock-chip {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 850;
}

.lock-chip.is-ready {
  border-color: #bfe3d1;
  color: var(--green-dark);
  background: var(--green-soft);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-top: 23px;
}

.stepper > span {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #a0aaa6;
  background: var(--surface-soft);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}

.stepper > span i {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: #e9eeec;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.stepper > span b {
  overflow: hidden;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stepper > span.is-active {
  border-color: #8fd1b7;
  color: var(--green-dark);
  background: #effaf5;
  box-shadow: 0 7px 16px rgba(20, 134, 101, 0.08);
  transform: translateY(-1px);
}

.stepper > span.is-done {
  border-color: #d2e9df;
  color: #43816f;
  background: #f7fcfa;
}

.stepper > span.is-active i,
.stepper > span.is-done i {
  color: #fff;
  background: var(--green);
}

.mission-body {
  margin-top: 19px;
  padding: 24px;
  border: 1px solid #e2ebe7;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.mission-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}

.mission-meta span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.mission-meta strong {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}

.mission-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.05em;
}

.mission-body p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

#missionHint {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.choice {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 22px;
  align-items: center;
  min-width: 0;
  min-height: 78px;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-align: left;
  background: #fff;
  box-shadow: 0 3px 10px rgba(24, 51, 43, 0.025);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}

.choice:hover {
  border-color: #9dd2bb;
  box-shadow: 0 9px 19px rgba(20, 134, 101, 0.09);
  transform: translateY(-2px);
}

.choice.is-selected {
  border-color: #4fb28e;
  background: #f0fbf6;
  box-shadow: 0 10px 23px rgba(20, 134, 101, 0.12);
}

.choice-index {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  color: var(--ink-soft);
  background: #eef2f0;
  font-size: 12px;
  font-weight: 900;
}

.choice.is-selected .choice-index {
  color: #fff;
  background: var(--green);
}

.choice-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.choice-copy strong,
.choice-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.choice-copy strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.choice-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.choice-copy em {
  align-self: flex-start;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--amber);
  background: var(--amber-soft);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.choice-check {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: transparent;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.choice.is-selected .choice-check {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.mission-result {
  animation: result-enter 340ms var(--ease) both;
}

.result-eyebrow {
  display: inline-flex;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 19px;
}

.report-grid > div {
  min-height: 78px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.report-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.report-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.report-grid .report-total {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-color: #bfe3d1;
  background: var(--green-soft);
}

.report-grid .report-total strong {
  margin-top: 0;
  color: var(--green-dark);
  font-size: 23px;
}

.report-grid .report-total strong.is-hold {
  color: var(--muted);
  font-size: 17px;
}

.report-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 11px;
  color: #2f715e;
  background: #f4fbf8;
}

.report-note > span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.report-note p {
  margin: 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.55;
}

.disclaimer,
.page-disclaimer {
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.mission-result > .disclaimer {
  margin-top: 12px !important;
}

.secondary-button {
  margin-top: 17px;
  padding: 10px 15px;
  border: 1px solid #bfe3d1;
  color: var(--green-dark);
  background: var(--green-soft);
}

.mission-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
}

.mission-actions > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.status-text {
  margin: 10px 0 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
}

.match-card {
  margin-top: 24px;
  box-shadow: var(--shadow-md);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.wallet-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 21px;
}

.wallet-strip > div {
  min-height: 82px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}

.wallet-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.wallet-strip strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.wallet-strip > div:nth-child(2) strong {
  color: var(--green-dark);
}

.quote-card {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid #e0e8e4;
  border-radius: 18px;
  background: #fff;
}

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

.quote-top > span:first-child {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.quote-status {
  padding: 4px 8px;
  border-radius: 999px;
  color: #3a7d6a;
  background: #f0faf6;
  font-size: 11px;
  font-weight: 850;
}

.quote-card h3 {
  margin: 9px 0 2px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.quote-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.quote-card > p b {
  color: var(--green);
}

.quote-numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 17px;
}

.quote-numbers > div {
  padding: 12px;
  border-radius: 11px;
  background: var(--surface-soft);
}

.quote-numbers > div span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.quote-numbers > div strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.quote-numbers .quote-result {
  border: 1px solid #c9e8da;
  background: var(--green-soft);
}

.quote-numbers .quote-result strong {
  color: var(--green-dark);
}

.quote-card .disclaimer {
  margin: 13px 0 0;
}

.match-progress {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #d6e6df;
  border-radius: 16px;
  background: #fbfefd;
}

.progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.progress-heading span {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 850;
}

.progress-heading strong {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
}

.progress-track {
  height: 9px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8efec;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #43ad86, var(--green));
  transition: width 480ms var(--ease);
}

.match-step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.match-step-list li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.match-step-list li > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

.match-step-list li strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-step-list li.is-active {
  color: var(--green-dark);
}

.match-step-list li.is-done {
  color: #43816f;
}

.match-step-list li.is-active > span,
.match-step-list li.is-done > span {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.match-progress > p {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.match-result {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 18px;
  padding: 19px;
  border: 1px solid #bfe3d1;
  border-radius: 16px;
  background: var(--green-soft);
  animation: result-enter 340ms var(--ease) both;
}

.success-mark {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 17px;
  font-weight: 900;
}

.match-result h3 {
  margin: 5px 0 2px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.match-result p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.match-result > div > strong {
  display: block;
  margin-top: 10px;
  color: var(--green-dark);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.match-result .disclaimer {
  display: block;
  margin-top: 7px;
}

.page-disclaimer {
  margin: 23px 0 0;
  text-align: center;
}

.site-footer {
  padding: 23px 0 32px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: #8b9792;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 24px;
  max-width: min(360px, calc(100% - 40px));
  padding: 12px 15px;
  border: 1px solid #2d9b79;
  border-radius: 12px;
  color: #fff;
  background: #155b47;
  box-shadow: 0 15px 30px rgba(15, 73, 56, 0.22);
  font-size: 14px;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.is-error {
  border-color: #b85e4c;
  background: #75372c;
}

@keyframes screen-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 860px) {
  .intro-screen {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding-top: 58px;
  }

  .intro-preview {
    width: min(100%, 540px);
    transform: rotate(0.6deg);
  }

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

  .choice:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .shell {
    width: min(calc(100% - 28px), 1080px);
  }

  .site-header {
    height: 64px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

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

  .brand small {
    font-size: 12px;
  }

  .header-notice {
    padding: 5px 8px;
    font-size: 11px;
  }

  .intro-screen {
    gap: 27px;
    padding: 42px 0 56px;
  }

  .intro-copy h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .intro-lead {
    font-size: 16px;
    line-height: 1.7;
  }

  .notice-card {
    margin-top: 21px;
    padding: 13px;
  }

  .notice-card strong {
    font-size: 13px;
  }

  .notice-card p {
    font-size: 12px;
  }

  .intro-copy > .primary-button {
    width: 100%;
    margin-top: 20px;
  }

  .intro-preview {
    padding: 18px;
    border-radius: 20px;
  }

  .experience-screen {
    padding: 36px 0 58px;
  }

  .experience-heading {
    align-items: flex-start;
  }

  .experience-heading h1 {
    font-size: 36px;
  }

  .experience-heading p {
    font-size: 14px;
  }

  .experience-heading > .text-button {
    padding: 7px 5px;
    font-size: 12px;
  }

  .trust-strip {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5px 8px;
  }

  .trust-strip small {
    width: 100%;
    margin-left: 29px;
  }

  .mission-card,
  .match-card {
    padding: 18px;
    border-radius: 20px;
  }

  .mission-header h2,
  .section-heading h2 {
    font-size: 24px;
  }

  .time-chip,
  .lock-chip {
    padding: 5px 8px;
    font-size: 11px;
  }

  .stepper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 18px;
  }

  .stepper > span {
    justify-content: center;
    min-height: 39px;
    padding: 5px 4px;
  }

  .stepper > span i {
    width: 21px;
    height: 21px;
    font-size: 10px;
  }

  .stepper > span b {
    font-size: 11px;
  }

  .mission-body {
    margin-top: 15px;
    padding: 17px 14px;
    border-radius: 15px;
  }

  .mission-body h3 {
    font-size: 22px;
  }

  .mission-body p {
    font-size: 14px;
  }

  .choice-grid,
  .report-grid,
  .wallet-strip,
  .quote-numbers {
    grid-template-columns: 1fr;
  }

  .choice:last-child:nth-child(odd),
  .report-grid .report-total {
    grid-column: auto;
  }

  .choice {
    min-height: 73px;
  }

  .report-grid .report-total {
    min-height: 68px;
  }

  .mission-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mission-actions > div {
    justify-content: flex-end;
  }

  .mission-actions > .quiet-button {
    width: 100%;
  }

  .section-heading {
    gap: 10px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .wallet-strip > div {
    min-height: 70px;
  }

  .wallet-strip strong {
    font-size: 20px;
  }

  .quote-card {
    padding: 16px;
  }

  .quote-card h3 {
    font-size: 19px;
  }

  .match-step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 10px;
  }

  .match-result {
    padding: 16px;
  }

  .match-result h3 {
    font-size: 20px;
  }

  .match-result > div > strong {
    font-size: 25px;
  }

  .page-disclaimer {
    margin-top: 18px;
  }

  .site-footer .shell {
    flex-direction: column;
    gap: 3px;
  }
}

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

  .intro-preview,
  .experience-screen,
  .mission-result,
  .match-result,
  .stepper > span,
  .choice,
  .primary-button,
  .secondary-button,
  .quiet-button,
  .text-button {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* v13: 상품 사진, 비용 요약, 가상 시장 흐름 연출 */
.choice {
  grid-template-columns: 48px minmax(0, 1fr) 22px;
}

.choice-visual {
  display: grid;
  width: 46px;
  height: 46px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #dce7e2;
  border-radius: 12px;
  color: var(--green-dark);
  background: linear-gradient(145deg, #eff9f4, #e6f2ed);
  font-size: 11px;
  font-weight: 900;
}

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

.choice-image-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--green-dark);
  background: linear-gradient(145deg, #eff9f4, #e6f2ed);
  font-size: 10px;
}

.choice.is-selected .choice-visual {
  border-color: #85c9ad;
  box-shadow: 0 0 0 2px rgba(20, 134, 101, 0.08);
}

.earnings-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 19px;
}

.earnings-summary > div {
  min-height: 94px;
  padding: 15px;
  border: 1px solid #dfe9e4;
  border-radius: 14px;
  background: #fff;
}

.earnings-summary > div.is-net {
  border-color: #a9dbc5;
  background: linear-gradient(145deg, #f0fbf6, #e3f6ec);
  box-shadow: 0 8px 22px rgba(20, 134, 101, 0.09);
}

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

.earnings-summary strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 950;
  letter-spacing: -0.06em;
}

.earnings-summary .is-net strong {
  color: var(--green-dark);
}

.earnings-summary .is-net strong.is-hold {
  color: var(--muted);
  font-size: 18px;
}

.earnings-summary-note {
  margin: 9px 0 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
}

.match-card {
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.quote-product {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  margin-top: 13px;
}

.quote-media {
  position: relative;
  height: 112px;
  overflow: hidden;
  border: 1px solid #dce7e2;
  border-radius: 15px;
  background: #eef5f1;
}

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

.quote-media span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  max-width: calc(100% - 12px);
  overflow: hidden;
  padding: 3px 6px;
  border-radius: 6px;
  color: #fff;
  background: rgba(22, 38, 32, 0.72);
  font-size: 9px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-product-copy h3 {
  margin: 0;
}

.quote-product-copy p {
  margin-top: 7px;
}

.quote-product-copy small {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.quote-numbers {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.match-step-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.quote-numbers .quote-result {
  box-shadow: 0 7px 18px rgba(20, 134, 101, 0.08);
}

.market-strip {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #dfe9e4;
  border-radius: 16px;
  background: #fbfdfc;
}

.market-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.market-strip-head strong {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
}

.market-strip-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.market-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-top: 11px;
}

.market-logo {
  display: grid;
  min-height: 55px;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 7px 5px;
  border: 1px solid #e4ebe8;
  border-radius: 10px;
  background: #fff;
}

.market-logo b {
  color: #3d514a;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.market-logo small {
  color: #91a09a;
  font-size: 9px;
  font-weight: 750;
}

.market-kream b,
.brand-kream {
  color: #171b1a;
}

.market-coupang b,
.brand-coupang {
  color: #e85b28;
}

.market-chrono24 b,
.brand-chrono24 {
  color: #1661a8;
}

.market-ebay b,
.brand-ebay {
  color: #2262a9;
}

.market-amazon b,
.brand-amazon {
  color: #bd6b13;
}

.market-yahoo b,
.brand-yahoo {
  color: #6420a0;
}

.market-strip .disclaimer {
  margin: 11px 0 0;
}

.match-scene {
  margin-top: 17px;
  padding: 16px 14px 13px;
  border: 1px solid #dceae3;
  border-radius: 15px;
  background: linear-gradient(110deg, #f8fcfa, #f1faf6 52%, #fafdff);
  transition: border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.scene-route {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 112px;
  align-items: center;
  gap: 11px;
}

.scene-node {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 5px;
}

.scene-logo {
  display: inline-grid;
  min-width: 88px;
  min-height: 30px;
  place-items: center;
  padding: 5px 8px;
  border: 1px solid #dae8e1;
  border-radius: 9px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.03em;
  box-shadow: 0 3px 10px rgba(24, 51, 43, 0.06);
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.scene-node small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.scene-track {
  position: relative;
  height: 56px;
}

.scene-track::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: repeating-linear-gradient(90deg, #b9d7c9 0 8px, transparent 8px 15px);
  transform: translateY(-50%);
}

.scene-package {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 5%;
  width: 25px;
  height: 25px;
  border: 2px solid #3e9b77;
  border-radius: 6px;
  background: #d8f3e5;
  box-shadow: 0 4px 12px rgba(20, 134, 101, 0.2);
  transform: translate(-50%, -50%);
  transition: left 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 260ms ease, box-shadow 260ms ease;
}

.scene-package::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 2px;
  content: "";
  background: #55ae89;
  transform: translateX(-50%);
}

.scene-package::after {
  position: absolute;
  top: 4px;
  right: 3px;
  left: 3px;
  height: 2px;
  content: "";
  background: #55ae89;
}

.scene-scan-line {
  position: absolute;
  z-index: 1;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, #43ad86, transparent);
  opacity: 0;
  transform: translateX(-50%);
}

.scene-buyer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 7px 11px;
  border: 1px solid #e0ebe6;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  transition: color 240ms ease, border-color 240ms ease, background 240ms ease, transform 240ms ease;
}

.scene-buyer-icon {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #b8c9c1;
  font-size: 9px;
  transition: background 240ms ease, box-shadow 240ms ease;
}

.scene-buyer strong {
  font-size: 11px;
  font-weight: 850;
}

.scene-disclaimer {
  margin: 9px 0 0 !important;
  color: var(--muted) !important;
  font-size: 11px !important;
}

.match-scene.is-scanning .scene-scan-line {
  animation: scene-scan 1.05s linear infinite;
  opacity: 1;
}

.match-scene.is-scanning .scene-logo {
  animation: scene-logo-pulse 1.2s ease-in-out infinite;
}

.match-scene.is-buying .scene-package {
  left: 31%;
}

.match-scene.is-buying .scene-node:first-child .scene-logo,
.match-scene.is-selling .scene-node:last-child .scene-logo {
  border-color: #8dceb2;
  transform: translateY(-2px);
}

.match-scene.is-selling .scene-package {
  left: 68%;
}

.match-scene.is-shipping .scene-package {
  left: 92%;
  transform: translate(-50%, -50%) rotate(8deg);
}

.match-scene.is-shipping .scene-package,
.match-scene.is-buyer .scene-package {
  animation: package-float 780ms ease-in-out infinite alternate;
}

.match-scene.is-buyer .scene-package,
.match-scene.is-settle .scene-package {
  left: 95%;
}

.match-scene.is-buyer .scene-buyer,
.match-scene.is-settle .scene-buyer,
.match-scene.is-complete .scene-buyer {
  border-color: #a9dbc5;
  color: var(--green-dark);
  background: var(--green-soft);
  box-shadow: 0 5px 17px rgba(20, 134, 101, 0.1);
  transform: scale(1.015);
}

.match-scene.is-buyer .scene-buyer-icon,
.match-scene.is-settle .scene-buyer-icon,
.match-scene.is-complete .scene-buyer-icon {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(20, 134, 101, 0.1);
}

.match-scene.is-settle {
  border-color: #b6dfcd;
  background: linear-gradient(110deg, #f3fcf7, #e9f9f1 52%, #f9fffc);
  box-shadow: 0 8px 24px rgba(20, 134, 101, 0.1);
}

@keyframes scene-scan {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

@keyframes scene-logo-pulse {
  0%, 100% { box-shadow: 0 3px 10px rgba(24, 51, 43, 0.06); }
  50% { box-shadow: 0 0 0 4px rgba(20, 134, 101, 0.08), 0 6px 16px rgba(20, 134, 101, 0.12); }
}

@keyframes package-float {
  from { transform: translate(-50%, calc(-50% - 2px)) rotate(4deg); }
  to { transform: translate(-50%, calc(-50% + 2px)) rotate(-4deg); }
}

@media (max-width: 650px) {
  .earnings-summary {
    grid-template-columns: 1fr;
  }

  .earnings-summary > div {
    min-height: 74px;
  }

  .earnings-summary strong {
    margin-top: 5px;
    font-size: 22px;
  }

  .quote-product {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 11px;
  }

  .quote-media {
    height: 86px;
  }

  .quote-product-copy small {
    margin-top: 8px;
  }

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

  .quote-numbers {
    grid-template-columns: 1fr;
  }

  .match-step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-route {
    grid-template-columns: 75px minmax(0, 1fr) 75px;
    gap: 6px;
  }

  .scene-logo {
    min-width: 69px;
    padding: 5px 4px;
    font-size: 11px;
  }

  .scene-node small {
    font-size: 9px;
  }

  .match-scene {
    padding: 13px 8px 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .match-scene,
  .scene-logo,
  .scene-package,
  .scene-buyer,
  .scene-buyer-icon {
    animation: none !important;
    transition: none !important;
  }
}

/* v14: 한국어 가독성 보강 */
:root {
  --ink: #10201a;
  --ink-soft: #30463e;
  --muted: #52645d;
  --line: #cfddd7;
  --line-strong: #b6c9c0;
}

body {
  color: var(--ink);
  letter-spacing: 0.005em;
  line-height: 1.72;
}

.brand strong {
  letter-spacing: -0.025em;
}

.brand small,
.header-notice,
.eyebrow,
.intro-caption,
.preview-head span,
.intro-preview > p,
.experience-heading p,
.section-heading p {
  font-size: 14px;
}

.header-notice {
  min-height: 36px;
  padding: 7px 11px;
  font-weight: 900;
}

.intro-copy h1,
.experience-heading h1,
.mission-header h2,
.section-heading h2,
.mission-body h3,
.quote-card h3,
.match-result h3 {
  letter-spacing: -0.025em;
}

.intro-lead {
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.8;
}

.notice-card strong {
  font-size: 16px;
}

.notice-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.primary-button,
.secondary-button,
.quiet-button,
.text-button {
  font-size: 16px;
  font-weight: 900;
}

.primary-button.small {
  font-size: 15px;
}

.intro-preview li b {
  font-size: 13px;
}

.intro-preview li span {
  color: var(--ink-soft);
  font-size: 16px;
}

.trust-strip strong {
  font-size: 16px;
}

.trust-strip small {
  color: #376b5b;
  font-size: 14px;
}

.time-chip,
.lock-chip {
  min-height: 36px;
  padding: 7px 11px;
  color: #53665e;
  font-size: 14px;
  font-weight: 900;
}

.stepper > span {
  color: #53665e;
}

.stepper > span b {
  font-size: 14px;
}

.mission-meta span {
  font-size: 13px;
}

.mission-meta strong {
  font-size: 15px;
}

.mission-body h3 {
  line-height: 1.4;
}

.mission-body p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

#missionHint {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.choice {
  grid-template-columns: 56px minmax(0, 1fr) 25px;
  min-height: 96px;
  gap: 11px;
  padding: 14px;
}

.choice-visual {
  width: 52px;
  height: 52px;
  font-size: 12px;
}

.choice-copy {
  gap: 3px;
}

.choice-copy strong,
.choice-copy small {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.choice-copy strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.choice-copy small {
  display: -webkit-box;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.choice-copy em {
  margin-top: 5px;
  font-size: 12px;
}

.choice-check {
  width: 24px;
  height: 24px;
  font-size: 13px;
}

.earnings-summary span {
  color: #53645d;
  font-size: 14px;
}

.earnings-summary strong {
  font-size: clamp(22px, 2.5vw, 29px);
}

.earnings-summary-note {
  color: var(--ink-soft) !important;
  font-size: 14px !important;
}

.report-grid span {
  color: #53645d;
  font-size: 14px;
}

.report-grid strong {
  font-size: 19px;
}

.report-grid .report-total strong {
  font-size: 25px;
}

.report-note p {
  color: #2b5c4c;
  font-size: 15px;
  line-height: 1.65;
}

.disclaimer,
.page-disclaimer {
  color: #53645d !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.wallet-strip span {
  color: #53645d;
  font-size: 14px;
}

.wallet-strip strong {
  font-size: 24px;
}

.quote-top > span:first-child {
  font-size: 14px;
}

.quote-status {
  font-size: 13px;
  font-weight: 900;
}

.quote-card h3 {
  font-size: 24px;
}

.quote-card > p,
.quote-product-copy p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.quote-product-copy small {
  color: var(--muted);
  font-size: 14px;
}

.quote-numbers > div span {
  color: #53645d;
  font-size: 13px;
}

.quote-numbers > div strong {
  font-size: 18px;
}

.market-strip-head strong {
  font-size: 15px;
}

.market-strip-head span {
  font-size: 13px;
}

.market-logo b {
  font-size: 14px;
}

.market-logo small {
  color: #687971;
  font-size: 12px;
}

.progress-heading span,
.progress-heading strong,
.match-progress > p {
  font-size: 16px;
}

.match-step-list li {
  color: #53655e;
}

.match-step-list li strong {
  font-size: 14px;
}

.scene-node small {
  color: #53655e;
  font-size: 13px;
}

.scene-buyer strong {
  font-size: 13px;
}

.scene-disclaimer {
  color: #53645d !important;
  font-size: 13px !important;
}

.match-result h3 {
  font-size: 24px;
}

.match-result p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.match-result > div > strong {
  font-size: 32px;
}

.site-footer {
  font-size: 14px;
}

@media (max-width: 650px) {
  .brand small,
  .header-notice {
    font-size: 13px;
  }

  .intro-lead {
    font-size: 17px;
  }

  .intro-preview li span {
    font-size: 15px;
  }

  .mission-body p {
    font-size: 16px;
  }

  #missionHint {
    font-size: 14px;
  }

  .choice {
    grid-template-columns: 56px minmax(0, 1fr) 24px;
    min-height: 92px;
  }

  .choice-copy strong {
    font-size: 16px;
  }

  .choice-copy small {
    font-size: 14px;
  }

  .stepper > span b {
    font-size: 13px;
  }

  .report-grid strong {
    font-size: 18px;
  }

  .quote-card h3 {
    font-size: 21px;
  }

  .quote-card > p,
  .quote-product-copy p {
    font-size: 15px;
  }

  .quote-product-copy small {
    font-size: 13px;
  }

  .quote-numbers > div span {
    font-size: 14px;
  }

  .quote-numbers > div strong {
    font-size: 19px;
  }

  .progress-heading span,
  .progress-heading strong,
  .match-progress > p {
    font-size: 15px;
  }

  .match-step-list li strong {
    font-size: 13px;
  }

  .match-result h3 {
    font-size: 22px;
  }

  .match-result p {
    font-size: 15px;
  }
}

/* v15: 3회 연습 게이지와 시네마틱 가상 매칭 연출 */
.practice-wallet .wallet-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.practice-wallet .wallet-label-row strong {
  margin-top: 0;
  color: var(--green-dark);
  font-size: 18px;
}

.practice-dots {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.practice-dots i {
  display: block;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #35a77e, #8ed8b7);
  box-shadow: 0 3px 9px rgba(20, 134, 101, 0.16);
  transition: opacity 220ms ease, transform 220ms var(--ease), background 220ms ease;
}

.practice-dots i.is-used {
  background: #d7e3de;
  box-shadow: none;
  opacity: 0.72;
  transform: scaleY(0.78);
}

.match-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  contain: layout paint;
  --travel: clamp(118px, 32vw, 460px);
}

.match-scene::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.32;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.match-scene::after {
  position: absolute;
  z-index: -1;
  top: -80px;
  left: 32%;
  width: 320px;
  height: 220px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(72, 193, 145, 0.17), transparent 68%);
  opacity: 0.72;
  transform: translate3d(-50%, 0, 0);
  animation: scene-aura 4.5s ease-in-out infinite;
}

.scene-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.scene-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2f735e;
  font-size: 12px;
  font-weight: 900;
}

.scene-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27a879;
  box-shadow: 0 0 0 4px rgba(39, 168, 121, 0.12);
  animation: live-pulse 1.3s ease-in-out infinite;
}

.scene-hud strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scene-hud > span:last-child {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.scene-route {
  position: relative;
  z-index: 1;
}

.scene-orbit {
  position: relative;
  display: grid;
  width: 112px;
  height: 72px;
  place-items: center;
}

.scene-orbit::before,
.scene-orbit::after,
.scene-orbit > i {
  position: absolute;
  border: 1px solid rgba(76, 178, 140, 0.25);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.scene-orbit::before {
  width: 64px;
  height: 64px;
  border-style: dashed;
  animation: orbit-spin 9s linear infinite;
}

.scene-orbit::after {
  width: 50px;
  height: 50px;
  opacity: 0.54;
  transform: scale(0.86);
}

.scene-orbit > i {
  width: 76px;
  height: 27px;
  border-color: rgba(20, 134, 101, 0.18);
  transform: rotate(-28deg);
  animation: orbit-sweep 2.7s ease-in-out infinite;
}

.scene-node {
  transition: transform 320ms var(--ease), opacity 320ms ease;
}

.scene-node .scene-logo {
  position: relative;
  z-index: 1;
}

.scene-node small {
  position: relative;
  z-index: 1;
}

.scene-track {
  height: 72px;
}

.scene-track::before {
  opacity: 0.82;
}

.scene-track-glow {
  position: absolute;
  top: calc(50% - 5px);
  left: 0;
  width: 42%;
  height: 10px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(52, 178, 132, 0.48), transparent);
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
  animation: track-glow 1.7s linear infinite;
}

.scene-package {
  left: 0;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-width: 2px;
  border-radius: 9px;
  box-shadow: 0 0 0 5px rgba(65, 181, 138, 0.08), 0 8px 20px rgba(20, 134, 101, 0.24);
  transform: translate3d(-50%, -50%, 0);
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1), background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  will-change: transform;
}

.scene-package > i,
.scene-package > b {
  position: absolute;
  display: block;
  content: "";
  background: #55ae89;
}

.scene-package > i {
  top: 7px;
  right: 4px;
  left: 4px;
  height: 2px;
}

.scene-package > b {
  top: 5px;
  bottom: 5px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.match-scene.is-buying .scene-package,
.match-scene.is-selling .scene-package,
.match-scene.is-shipping .scene-package,
.match-scene.is-buyer .scene-package,
.match-scene.is-settle .scene-package {
  left: 0;
  animation: none;
}

.match-scene.is-buying .scene-package {
  transform: translate3d(calc(-50% + var(--travel) * 0.32), -50%, 0);
}

.match-scene.is-selling .scene-package {
  transform: translate3d(calc(-50% + var(--travel) * 0.66), -50%, 0);
}

.match-scene.is-shipping .scene-package {
  transform: translate3d(calc(-50% + var(--travel) * 0.9), -50%, 0) rotate(8deg);
}

.match-scene.is-buyer .scene-package,
.match-scene.is-settle .scene-package {
  transform: translate3d(calc(-50% + var(--travel)), -50%, 0);
}

.match-scene.is-buying .scene-track-glow,
.match-scene.is-selling .scene-track-glow,
.match-scene.is-shipping .scene-track-glow {
  opacity: 1;
}

.match-scene.is-scanning .scene-orbit::before,
.match-scene.is-scanning .scene-orbit::after {
  border-color: rgba(20, 134, 101, 0.48);
  box-shadow: 0 0 0 5px rgba(20, 134, 101, 0.05);
}

.match-scene.is-scanning .scene-node {
  animation: node-breathe 1.4s ease-in-out infinite;
}

.match-scene.is-buying .scene-source,
.match-scene.is-selling .scene-destination {
  transform: translate3d(0, -3px, 0) scale(1.035);
}

.match-scene.is-buyer .scene-buyer,
.match-scene.is-settle .scene-buyer,
.match-scene.is-complete .scene-buyer {
  transform: translate3d(0, -2px, 0) scale(1.015);
}

.scene-particle {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 8%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #79c7a7;
  box-shadow: 0 0 0 4px rgba(121, 199, 167, 0.1), 0 0 12px rgba(20, 134, 101, 0.48);
  opacity: 0;
  transform: translate3d(0, -50%, 0);
  animation: particle-flight 1.8s linear infinite;
}

.particle-b {
  left: 38%;
  width: 4px;
  height: 4px;
  animation-delay: -0.72s;
}

.particle-c {
  left: 67%;
  width: 6px;
  height: 6px;
  animation-delay: -1.18s;
}

.scene-route-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1px;
  color: #5c7168;
  font-size: 12px;
  font-weight: 800;
}

.scene-route-caption i {
  color: #76ae97;
  font-size: 13px;
  font-style: normal;
}

.scene-buyer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: min(100%, 390px);
  margin-top: 13px;
  padding: 10px 12px;
  border-radius: 14px;
  text-align: left;
}

.scene-buyer-icon {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: #b8c9c1;
  box-shadow: 0 4px 12px rgba(24, 51, 43, 0.12);
}

.scene-buyer-icon i {
  width: 11px;
  height: 11px;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: #83a095;
}

.scene-buyer-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.scene-buyer-copy strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scene-buyer-copy small {
  overflow: hidden;
  color: #60746b;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buyer-status {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid #d5e4dc;
  border-radius: 999px;
  color: #6a7f75;
  background: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 900;
}

.match-scene.is-buyer .scene-buyer,
.match-scene.is-settle .scene-buyer,
.match-scene.is-complete .scene-buyer {
  border-color: #9ed4bc;
  background: rgba(238, 251, 245, 0.92);
  box-shadow: 0 9px 20px rgba(20, 134, 101, 0.12);
}

.match-scene.is-buyer .scene-buyer-icon,
.match-scene.is-settle .scene-buyer-icon,
.match-scene.is-complete .scene-buyer-icon {
  background: var(--green);
  animation: buyer-breathe 1.1s ease-in-out infinite;
}

.match-scene.is-buyer .scene-buyer-icon i,
.match-scene.is-settle .scene-buyer-icon i,
.match-scene.is-complete .scene-buyer-icon i {
  background: #fff;
}

.match-scene.is-buyer .buyer-status,
.match-scene.is-settle .buyer-status,
.match-scene.is-complete .buyer-status {
  border-color: #9ed4bc;
  color: var(--green-dark);
  background: #fff;
}

.scene-signals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 13px;
}

.scene-signals > span {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 5px;
  border: 1px solid rgba(207, 223, 215, 0.9);
  border-radius: 9px;
  color: #6c7d76;
  background: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 850;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms var(--ease);
}

.scene-signals > span i {
  color: #96aaa1;
  font-size: 9px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.scene-signals > span.is-active {
  border-color: #9ed4bc;
  color: var(--green-dark);
  background: rgba(234, 249, 241, 0.92);
  transform: translate3d(0, -1px, 0);
}

.scene-signals > span.is-active i,
.scene-signals > span.is-done i {
  color: var(--green);
}

.scene-signals > span.is-done {
  border-color: #c5e4d5;
  color: #39765f;
  background: rgba(246, 253, 249, 0.86);
}

.scene-signals > span.is-done i::after {
  content: "✓";
}

.scene-signals > span.is-done i {
  font-size: 0;
}

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

.match-result > .success-mark,
.match-result > div:not(.result-burst) {
  position: relative;
  z-index: 1;
}

.result-burst {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.result-burst i {
  position: absolute;
  top: 50%;
  left: 34%;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #45ae87;
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(0deg);
  animation: result-burst 920ms var(--ease) both;
}

.result-burst i:nth-child(2) { background: #efb95e; animation-delay: 40ms; }
.result-burst i:nth-child(3) { background: #79b6e5; animation-delay: 80ms; }
.result-burst i:nth-child(4) { background: #c88de1; animation-delay: 120ms; }
.result-burst i:nth-child(5) { background: #45ae87; animation-delay: 160ms; }
.result-burst i:nth-child(6) { background: #efb95e; animation-delay: 200ms; }
.result-burst i:nth-child(7) { background: #79b6e5; animation-delay: 240ms; }
.result-burst i:nth-child(8) { background: #c88de1; animation-delay: 280ms; }

.match-result > div > strong.is-counting {
  text-shadow: 0 0 18px rgba(20, 134, 101, 0.34);
  transform: scale(1.04);
  transition: text-shadow 220ms ease, transform 220ms var(--ease);
}

@keyframes scene-aura {
  0%, 100% { opacity: 0.48; transform: translate3d(-50%, 0, 0) scale(0.92); }
  50% { opacity: 0.86; transform: translate3d(-42%, 7px, 0) scale(1.08); }
}

@keyframes live-pulse {
  0%, 100% { opacity: 0.58; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.12); }
}

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

@keyframes orbit-sweep {
  0%, 100% { opacity: 0.25; transform: rotate(-28deg) scale(0.94); }
  50% { opacity: 0.85; transform: rotate(28deg) scale(1.03); }
}

@keyframes node-breathe {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -2px, 0); }
}

@keyframes track-glow {
  from { transform: translate3d(-100%, 0, 0); }
  to { transform: translate3d(340%, 0, 0); }
}

@keyframes particle-flight {
  0% { opacity: 0; transform: translate3d(0, -50%, 0) scale(0.6); }
  18% { opacity: 0.85; }
  82% { opacity: 0.78; }
  100% { opacity: 0; transform: translate3d(105px, -50%, 0) scale(1.05); }
}

@keyframes buyer-breathe {
  0%, 100% { box-shadow: 0 4px 12px rgba(20, 134, 101, 0.18), 0 0 0 0 rgba(20, 134, 101, 0.18); }
  50% { box-shadow: 0 5px 15px rgba(20, 134, 101, 0.24), 0 0 0 7px rgba(20, 134, 101, 0.08); }
}

@keyframes result-burst {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg) scale(0.5); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--burst-x, 112px), var(--burst-y, -46px), 0) rotate(180deg) scale(1); }
}

.result-burst i:nth-child(1) { --burst-x: 92px; --burst-y: -52px; }
.result-burst i:nth-child(2) { --burst-x: 148px; --burst-y: -19px; }
.result-burst i:nth-child(3) { --burst-x: 122px; --burst-y: 43px; }
.result-burst i:nth-child(4) { --burst-x: 56px; --burst-y: 55px; }
.result-burst i:nth-child(5) { --burst-x: -18px; --burst-y: 27px; }
.result-burst i:nth-child(6) { --burst-x: -40px; --burst-y: -33px; }
.result-burst i:nth-child(7) { --burst-x: 12px; --burst-y: -69px; }
.result-burst i:nth-child(8) { --burst-x: 182px; --burst-y: 25px; }

@media (max-width: 650px) {
  .practice-wallet .wallet-label-row strong {
    font-size: 17px;
  }

  .scene-hud {
    gap: 7px;
  }

  .scene-live,
  .scene-hud > span:last-child {
    font-size: 11px;
  }

  .scene-hud strong {
    font-size: 12px;
  }

  .scene-orbit {
    width: 75px;
    height: 67px;
  }

  .scene-orbit::before {
    width: 56px;
    height: 56px;
  }

  .scene-orbit::after {
    width: 43px;
    height: 43px;
  }

  .scene-orbit > i {
    width: 65px;
  }

  .scene-route-caption {
    gap: 5px;
    font-size: 10px;
  }

  .scene-route-caption i {
    font-size: 11px;
  }

  .scene-buyer-copy strong {
    font-size: 13px;
  }

  .scene-buyer-copy small {
    font-size: 11px;
  }

  .scene-signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-signals > span {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .practice-dots i,
  .match-scene,
  .match-scene::after,
  .scene-live i,
  .scene-orbit::before,
  .scene-orbit > i,
  .scene-track-glow,
  .scene-particle,
  .scene-node,
  .scene-buyer-icon,
  .result-burst i {
    animation: none !important;
    transition: none !important;
  }
}
