:root {
  --bg: #f5f5f7;
  --paper: rgba(255, 255, 255, 0.86);
  --ink: #060606;
  --muted: #6e6e73;
  --color-text-tertiary: rgba(29, 29, 31, 0.42);
  --line: rgba(0, 0, 0, 0.08);
  --accent: #000000;
  --accent-2: #86868b;
  font-family:
    "Pretendard Variable",
    "Pretendard",
    "SUIT Variable",
    system-ui,
    sans-serif;
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.96), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 48%, #ededf0 100%);
}

.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.hero, .panel, .result-card, .sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 32px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 80px rgba(87, 52, 19, 0.1);
}

.hero {
  padding: 28px;
  margin-bottom: 24px;
}

.main-grid {
  display: grid;
  gap: 24px;
}

.main-grid {
  grid-template-columns: 0.92fr 1.08fr;
}

.single-step, .result-main {
  max-width: 760px;
  margin: 0 auto;
}

.result-main {
  max-width: 980px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 700;
  color: #a95b18;
}

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

.hero h1 {
  margin-top: 14px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  font-weight: 700;
}

.accent-text {
  background: linear-gradient(135deg, #6f350d, #f29d32);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subcopy {
  margin-top: 18px;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.panel {
  padding: 28px;
}

.progress-block {
  border-radius: 24px;
  background: #120f0d;
  color: #fff;
  padding: 18px;
  margin: 22px 0 24px;
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.76);
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  margin-top: 10px;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9a3d, #ffd36f);
  width: 0;
  transition: width 400ms ease;
}

.hint {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

.field {
  margin-top: 18px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.input-shell {
  display: flex;
  align-items: center;
  border-radius: 24px;
  border: 1px solid rgba(94, 73, 49, 0.15);
  background: #f7f1ea;
  padding: 16px 18px;
}

.input-shell span {
  color: #9f9185;
  margin-right: 8px;
}

.handle-shell {
  gap: 8px;
  padding-right: 10px;
}

.handle-shell input {
  min-width: 0;
}

.handle-check-btn {
  flex: 0 0 auto;
  min-width: 74px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(17,17,17,0.18);
  transition: transform 180ms ease, opacity 180ms ease;
}

.handle-check-btn:disabled {
  cursor: not-allowed;
  opacity: 0.32;
  transform: none;
  box-shadow: none;
}

.handle-check-btn:not(:disabled):hover {
  transform: translateY(-1px);
}

input[type="text"], input[type="email"] {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: var(--ink);
}

.consent-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.input-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.input-stepper span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border-radius: 999px;
  color: rgba(17,17,17,0.42);
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(17,17,17,0.07);
  font-size: 13px;
  font-weight: 900;
}

.input-stepper b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: white;
  background: rgba(17,17,17,0.22);
  font-size: 12px;
}

.input-stepper span.active {
  color: #111;
  background: linear-gradient(135deg, rgba(255, 235, 201, 0.95), rgba(223, 238, 255, 0.92));
  border-color: rgba(17,17,17,0.12);
  box-shadow: 0 14px 34px rgba(76, 54, 26, 0.1);
}

.input-stepper span.done b,
.input-stepper span.active b {
  background: #111;
}

.input-stage-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.input-stage-actions.two {
  grid-template-columns: 0.72fr 1.28fr;
}

.text-skip-btn {
  width: 100%;
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: rgba(17,17,17,0.52);
  font-size: 15px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.text-skip-btn:hover {
  color: #111;
}

.capture-status-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.capture-status-row span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 999px;
  color: rgba(17,17,17,0.5);
  background: rgba(255,255,255,0.62);
  border: 1px dashed rgba(17,17,17,0.13);
  font-weight: 900;
}

.capture-status-row span.done {
  color: #111;
  background: linear-gradient(135deg, rgba(220, 255, 230, 0.95), rgba(235, 242, 255, 0.95));
  border-style: solid;
}

.capture-complete-card {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: 0 24px 60px rgba(76, 54, 26, 0.08);
}

.capture-complete-card strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.capture-complete-card p {
  margin: 0;
  color: rgba(17,17,17,0.58);
  font-weight: 750;
  line-height: 1.55;
}

.capture-mini-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0 18px;
}

.capture-mini-guide span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(17,17,17,0.08);
  color: rgba(17,17,17,0.72);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.capture-mini-guide b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
}

.auto-capture-card {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: center;
  margin: 18px 0 14px;
  padding: 20px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.68)),
    radial-gradient(circle at 10% 10%, rgba(190, 230, 255, 0.52), transparent 36%),
    radial-gradient(circle at 95% 10%, rgba(255, 210, 234, 0.5), transparent 34%),
    radial-gradient(circle at 80% 100%, rgba(255, 241, 170, 0.45), transparent 40%);
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: 0 24px 70px rgba(31, 35, 44, 0.09);
  overflow: hidden;
}

.auto-capture-card.ready {
  border-color: rgba(30, 120, 70, 0.18);
}

.auto-capture-card.error {
  border-color: rgba(180, 35, 24, 0.16);
}

.auto-capture-orb {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 22px;
  background: #111;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 14px 32px rgba(17,17,17,0.16);
}

.auto-capture-orb::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  border: 3px solid #fff;
  border-top-color: rgba(255,255,255,0.28);
}

.auto-capture-card.loading .auto-capture-orb::before {
  animation: spin 850ms linear infinite;
}

.auto-capture-card strong {
  display: block;
  color: #111;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.auto-capture-card p {
  margin: 7px 0 0;
  color: rgba(17,17,17,0.58);
  font-weight: 820;
  line-height: 1.5;
}

.auto-capture-btn {
  grid-column: 1 / -1;
  min-height: 56px;
}

.auto-capture-thumb {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 54px;
  height: 70px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.92);
  box-shadow: 0 14px 30px rgba(17,17,17,0.14);
}

.capture-fallback-card {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 246, 232, 0.92), rgba(255, 236, 236, 0.74));
  border: 1px solid rgba(180, 83, 9, 0.16);
}

.capture-fallback-card strong {
  color: #b42318;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.capture-fallback-card p {
  margin: 0;
  color: rgba(17,17,17,0.66);
  font-weight: 850;
  line-height: 1.5;
}

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

.screenshot-grid {
  display: grid;
  gap: 12px;
}

.screenshot-slot {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 118px;
  padding: 16px;
  border-radius: 30px;
  border: 1px solid rgba(17,17,17,0.09);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.68)),
    radial-gradient(circle at 15% 20%, rgba(190, 226, 255, 0.38), transparent 32%),
    radial-gradient(circle at 90% 30%, rgba(255, 211, 231, 0.45), transparent 30%),
    radial-gradient(circle at 68% 95%, rgba(241, 255, 190, 0.36), transparent 36%);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(76, 54, 26, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.screenshot-slot:hover,
.screenshot-slot.ready {
  transform: translateY(-1px);
  border-color: rgba(17,17,17,0.22);
  box-shadow: 0 24px 60px rgba(76, 54, 26, 0.12);
}

.screenshot-slot input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.screenshot-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eef8ff, #ffe8f3 48%, #fff4ca);
  border: 1px solid rgba(17,17,17,0.09);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}

.screenshot-icon::before,
.screenshot-icon::after {
  content: "";
  position: absolute;
  background: #111;
}

.screenshot-icon.profile::before {
  left: 21px;
  top: 15px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
}

.screenshot-icon.profile::after {
  left: 15px;
  top: 33px;
  width: 28px;
  height: 16px;
  border-radius: 16px 16px 8px 8px;
}

.screenshot-icon.reels::before {
  left: 15px;
  top: 14px;
  width: 28px;
  height: 30px;
  border-radius: 8px;
}

.screenshot-icon.reels::after {
  left: 25px;
  top: 24px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
  background: transparent;
}

.screenshot-copy {
  display: grid;
  gap: 5px;
}

.screenshot-copy strong {
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.screenshot-copy em {
  color: rgba(17,17,17,0.54);
  font-style: normal;
  font-size: 15px;
  font-weight: 850;
}

.screenshot-state {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.screenshot-slot.ready .screenshot-state {
  background: linear-gradient(135deg, #111, #324335);
}

.screenshot-thumb {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 10px 24px rgba(17,17,17,0.16);
}

.capture-ready-pill,
.browser-inline-hint {
  margin-top: 14px;
  padding: 15px 18px;
  border-radius: 999px;
  background: rgba(220, 255, 230, 0.72);
  border: 1px solid rgba(17,17,17,0.08);
  color: #111;
  font-size: 14px;
  font-weight: 950;
  text-align: center;
}

.browser-inline-hint {
  display: grid;
  gap: 3px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(236, 247, 255, 0.86), rgba(255, 242, 248, 0.86), rgba(255, 250, 220, 0.86));
  text-align: left;
}

.browser-inline-hint span {
  color: rgba(17,17,17,0.58);
  font-size: 13px;
}

.valuation-sheet h3 {
  margin-top: 8px;
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: -0.06em;
}

.valuation-assumption {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.valuation-formula {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.valuation-item {
  min-height: 160px;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(205, 235, 255, 0.72), transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(255, 224, 239, 0.72), transparent 34%),
    rgba(255,255,255,0.72);
  border: 1px solid rgba(17,17,17,0.08);
}

.valuation-item small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 950;
}

.valuation-item strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
  letter-spacing: -0.06em;
}

.valuation-item p {
  margin-top: 10px;
  color: rgba(17,17,17,0.6);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: -0.1px;
}

.valuation-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 18px;
  border-radius: 24px;
  color: #fff;
  background: #070707;
  box-shadow: 0 18px 42px rgba(0,0,0,0.16);
}

.valuation-total span {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

.valuation-total strong {
  font-size: clamp(30px, 6vw, 52px);
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.valuation-reason {
  margin-top: 14px;
}

.valuation-reason > strong,
.evidence-analysis > strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}

.market-basis {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.market-basis span {
  padding: 12px 15px;
  border-radius: 14px;
  color: rgba(17,17,17,0.6);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(17,17,17,0.07);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.login-capture-help {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(17,17,17,0.07);
}

.login-capture-help strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.login-capture-help p {
  margin: 0;
  color: rgba(17,17,17,0.56);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.login-capture-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.login-capture-actions a,
.login-capture-actions label {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 999px;
  color: #111;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(17,17,17,0.08);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.mobile-connect-card {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(220, 237, 255, 0.86), transparent 34%),
    radial-gradient(circle at 94% 12%, rgba(255, 229, 245, 0.82), transparent 30%),
    rgba(255,255,255,0.78);
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: 0 20px 60px rgba(56, 42, 24, 0.08);
  animation: previewDrop 260ms ease both;
}

.mobile-connect-card.idle,
.mobile-connect-card.loading {
  padding: 18px;
}

.mobile-connect-card.idle strong,
.mobile-connect-card.loading strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.mobile-connect-card.idle p,
.mobile-connect-card.loading p {
  margin-top: 6px;
  color: rgba(17,17,17,0.56);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.mobile-connect-card.ready {
  border-color: rgba(43, 168, 93, 0.28);
  background:
    radial-gradient(circle at 8% 0%, rgba(218, 255, 232, 0.8), transparent 34%),
    radial-gradient(circle at 95% 10%, rgba(226, 238, 255, 0.86), transparent 32%),
    rgba(255,255,255,0.84);
}

.connect-status-pill {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #111;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(17,17,17,0.07);
  font-size: 12px;
  font-weight: 950;
}

.connect-status-pill.loading {
  color: #4c3a05;
  background: rgba(255, 244, 204, 0.88);
}

.connect-status-pill.error {
  color: #8a1f11;
  background: rgba(255, 238, 234, 0.9);
}

.connect-profile-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  align-items: center;
}

.connect-profile-row strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.connect-profile-row p {
  margin-top: 4px;
  color: rgba(17,17,17,0.58);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.mobile-connect-guide {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  border: 1px dashed rgba(17,17,17,0.12);
}

.mobile-connect-guide.loading {
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  align-items: center;
}

.mobile-connect-guide.loading span,
.mobile-connect-guide.loading b {
  grid-column: 2;
}

.mobile-connect-guide.error {
  border-color: rgba(180, 35, 24, 0.16);
  background: rgba(255, 245, 242, 0.82);
}

.capture-loading-orb {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #ffffff, transparent 34%),
    conic-gradient(from 140deg, #bfe4ff, #ffd7ee, #fff0ad, #caffd7, #bfe4ff);
  box-shadow: 0 10px 24px rgba(111, 100, 73, 0.16);
  animation: captureSpin 1.4s linear infinite;
}

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

.mobile-connect-guide b {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.mobile-connect-guide span {
  color: rgba(17,17,17,0.56);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.mobile-capture-thumb {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: 0 12px 34px rgba(0,0,0,0.08);
}

.mobile-connect-actions {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 10px;
}

.mobile-connect-actions a,
.mobile-connect-actions label {
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.mobile-connect-actions a {
  color: #111;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(17,17,17,0.08);
}

.mobile-connect-actions label {
  color: #fff;
  background: #050505;
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}

.auto-capture-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auto-capture-actions .secondary-btn,
.manual-fallback-btn {
  min-height: 50px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 950;
}

.manual-fallback-btn {
  display: grid;
  place-items: center;
  color: #fff;
  background: #050505;
  box-shadow: 0 14px 34px rgba(0,0,0,0.16);
  cursor: pointer;
}

.external-browser-tip {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  color: rgba(17,17,17,0.68);
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(17,17,17,0.07);
}

.external-browser-tip strong {
  color: #111;
  font-size: 13px;
  font-weight: 950;
}

.external-browser-tip span {
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
}

.external-browser-tip b {
  color: #111;
  font-weight: 950;
}

.avatar-preview {
  margin-top: 16px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  background: #f8f2eb;
}

.avatar-stack {
  position: relative;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
}

.avatar-preview-image,
.avatar-preview-fallback {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(94,73,49,0.12);
}

.avatar-preview-image {
  display: block;
  object-fit: cover;
}

.avatar-preview-image[hidden],
.avatar-preview-fallback[hidden] {
  display: none;
}

.avatar-preview-fallback {
  display: grid;
  place-items: center;
  color: #4b2a10;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.82), transparent 30%),
    linear-gradient(135deg, #ffe1ad, #d48024);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-preview-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  border-radius: 24px;
  border: 1px solid rgba(201, 107, 27, 0.18);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 214, 153, 0.5), transparent 28%),
    #fff8ef;
  padding: 14px;
  animation: previewDrop 260ms ease both;
}

.profile-preview-card.loading {
  opacity: 0.78;
}

.preview-avatar-wrap,
.preview-avatar {
  width: 62px;
  height: 62px;
}

.preview-avatar-wrap {
  position: relative;
}

.preview-avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(94,73,49,0.14);
  background: #f3eadf;
}

.preview-avatar[hidden] {
  display: none;
}

.preview-avatar.fallback {
  display: grid;
  place-items: center;
  color: #4b2a10;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.82), transparent 32%),
    linear-gradient(135deg, #ffe1ad, #d48024);
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-preview-card strong {
  display: block;
  font-size: 15px;
}

.profile-preview-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.preview-name {
  color: #2f251d !important;
  font-weight: 800;
}

.preview-bio.empty {
  color: #a89a8d;
}

.official-data-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 8px;
  border: 1px solid rgba(30, 30, 30, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 4px 9px;
  color: #111;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.inline-preview-error {
  margin-top: 10px;
  border-radius: 18px;
  padding: 12px 14px;
  color: #b42318;
  background: #fff1ef;
  border: 1px solid rgba(180, 35, 24, 0.12);
  font-size: 13px;
  font-weight: 800;
  animation: previewDrop 220ms ease both;
}

.instagram-connect-card {
  margin-top: 14px;
  border-radius: 24px;
  border: 1px solid rgba(12, 12, 12, 0.1);
  background:
    radial-gradient(circle at 14% 0%, rgba(196, 231, 255, 0.72), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(255, 214, 237, 0.72), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,248,221,0.76));
  padding: 12px;
  box-shadow: 0 18px 42px rgba(68, 54, 33, 0.08);
  animation: previewDrop 220ms ease both;
}

.instagram-connect-card strong {
  display: block;
  font-size: 15px;
  font-weight: 950;
}

.instagram-connect-card p {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.instagram-connect-card .secondary-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 18px;
  margin: 0;
}

.instagram-connect-card.connected {
  border-color: rgba(46, 125, 50, 0.18);
  background:
    radial-gradient(circle at 8% 0%, rgba(211, 255, 226, 0.82), transparent 34%),
    linear-gradient(135deg, #ffffff, #effff5);
}

.instagram-connect-card.connected p,
.instagram-connect-card.muted p {
  margin-bottom: 0;
}

.instagram-connect-card.muted {
  opacity: 0.78;
  box-shadow: none;
}

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

.primary-btn, .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  cursor: pointer;
  border-radius: 22px;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #1d140d, #7d4316 64%, #f2a53a);
  box-shadow: 0 18px 45px rgba(125, 67, 22, 0.3);
}

.secondary-btn {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(94, 73, 49, 0.15);
}

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

.primary-btn:disabled,
.secondary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
  box-shadow: none;
}

.error {
  color: #b42318;
  font-size: 13px;
  margin-top: 10px;
}

.upload-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.upload-slot {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 126px;
  border-radius: 24px;
  border: 1px dashed rgba(94, 73, 49, 0.22);
  background: #f8f2eb;
  padding: 16px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.upload-slot:hover,
.upload-slot.ready {
  border-color: rgba(201, 107, 27, 0.5);
  background: #fff7ed;
  transform: translateY(-1px);
}

.upload-slot input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.82), transparent 32%),
    linear-gradient(135deg, #ffe1ad, #d48024);
  position: relative;
}

.upload-icon.person::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #4b2a10;
}

.upload-icon.person::after {
  content: "";
  position: absolute;
  left: 13px;
  bottom: 11px;
  width: 28px;
  height: 16px;
  border-radius: 16px 16px 8px 8px;
  background: #4b2a10;
}

.upload-icon.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 12px;
}

.upload-icon.grid::before,
.upload-icon.grid::after {
  content: "";
  display: none;
}

.upload-icon.grid {
  background:
    linear-gradient(135deg, #ffe1ad, #d48024);
}

.upload-icon.grid span {
  display: none;
}

.upload-icon.grid {
  box-shadow:
    inset 12px 12px 0 rgba(75, 42, 16, 0.88),
    inset 27px 12px 0 rgba(75, 42, 16, 0.88),
    inset 42px 12px 0 rgba(75, 42, 16, 0.88),
    inset 12px 27px 0 rgba(75, 42, 16, 0.88),
    inset 27px 27px 0 rgba(75, 42, 16, 0.88),
    inset 42px 27px 0 rgba(75, 42, 16, 0.88),
    inset 12px 42px 0 rgba(75, 42, 16, 0.88),
    inset 27px 42px 0 rgba(75, 42, 16, 0.88),
    inset 42px 42px 0 rgba(75, 42, 16, 0.88);
}

.upload-copy strong {
  display: block;
  font-size: 15px;
}

.upload-copy p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-line;
}

.upload-copy span {
  display: inline-flex;
  margin-top: 9px;
  border-radius: 999px;
  padding: 6px 9px;
  color: #8b551b;
  background: rgba(255, 225, 173, 0.55);
  font-size: 12px;
  font-weight: 800;
}

.upload-thumb {
  width: 68px;
  height: 92px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(94, 73, 49, 0.16);
  box-shadow: 0 10px 28px rgba(87, 52, 19, 0.15);
}

.text-btn {
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: #a95b18;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ig-load-row {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.ig-load-row p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  bottom: auto;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  width: 100vw;
  height: 100dvh;
  min-height: 100dvh;
  background: rgba(18, 13, 9, 0.52);
  backdrop-filter: blur(8px);
}

.modal-backdrop:has(.instagram-frame-modal) {
  display: block;
  padding: 0;
}

.capture-modal {
  width: min(480px, 100%);
  border-radius: 30px;
  padding: 24px;
  background: #fffaf4;
  border: 1px solid rgba(94, 73, 49, 0.14);
  box-shadow: 0 24px 90px rgba(18, 10, 2, 0.28);
  position: relative;
}

.capture-modal h3 {
  font-size: 28px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f3eadf;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.capture-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.capture-list p {
  border-radius: 18px;
  padding: 14px;
  background: #f8f2eb;
}

.capture-list strong,
.capture-list span {
  display: block;
}

.capture-list span {
  margin-top: 6px;
  color: var(--muted);
}

.analysis-confirm-modal {
  width: min(760px, 100%);
  max-height: min(860px, calc(100vh - 28px));
  overflow: auto;
  border-radius: 32px;
  padding: 24px;
  background: #fffaf4;
  border: 1px solid rgba(94, 73, 49, 0.14);
  box-shadow: 0 24px 90px rgba(18, 10, 2, 0.28);
  position: relative;
}

.analysis-confirm-modal h3 {
  margin-top: 10px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.08;
}

.analysis-confirm-modal > p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.confirm-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.confirm-preview-grid > div {
  border-radius: 24px;
  padding: 12px;
  background: #f8f2eb;
  border: 1px solid rgba(94, 73, 49, 0.12);
}

.confirm-preview-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.confirm-preview-grid img,
.confirm-empty {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  object-fit: cover;
  background: #eee3d6;
}

.confirm-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.confirm-profile-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 16px;
  border-radius: 18px;
  padding: 13px 14px;
  background: #1b130d;
  color: #fff2dc;
}

.confirm-profile-line span {
  font-weight: 900;
}

.confirm-profile-line small {
  color: rgba(255, 242, 220, 0.74);
}

.confirm-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  margin-top: 18px;
}

.instagram-frame-modal {
  width: min(520px, 90vw);
  height: 90dvh;
  max-height: 90dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  border-radius: 30px;
  padding: 18px;
  background: #fffaf4;
  border: 1px solid rgba(94, 73, 49, 0.14);
  box-shadow: 0 24px 90px rgba(18, 10, 2, 0.28);
  position: fixed;
  top: 5dvh;
  left: 50vw;
  transform: translateX(-50%);
  overflow: hidden;
}

.instagram-frame-head {
  padding-right: 58px;
}

.instagram-frame-head h3,
.instagram-frame-fallback h3 {
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.1;
}

.instagram-frame-head p,
.instagram-frame-fallback p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.instagram-frame-error {
  display: block;
  margin-top: 8px;
  color: #b84b11;
  font-weight: 800;
  line-height: 1.5;
}

.instagram-frame-box {
  min-height: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #f2eadf;
  border: 1px solid rgba(94, 73, 49, 0.14);
}

.instagram-frame-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: white;
}

.instagram-server-frame {
  display: grid;
  align-content: space-between;
  gap: 22px;
  width: 100%;
  height: 100%;
  min-height: 420px;
  padding: 22px;
  color: #111;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 214, 147, 0.5), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(210, 230, 255, 0.78), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,0.95), rgba(246, 241, 234, 0.88));
}

.server-frame-browser {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(255,255,255,0.86);
  box-shadow: inset 0 0 0 1px rgba(17,17,17,0.08);
}

.server-frame-browser span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #111;
  opacity: 0.22;
}

.server-frame-browser strong {
  min-width: 0;
  margin-left: 8px;
  overflow: hidden;
  color: rgba(17,17,17,0.62);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-frame-body {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: 0 24px 60px rgba(82, 66, 42, 0.12);
}

.server-frame-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  border-radius: 26px;
  color: white;
  background: linear-gradient(135deg, #111, #7b5cff, #ff9db7);
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
}

.server-frame-body strong {
  display: block;
  margin-bottom: 7px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.server-frame-body p,
.instagram-server-frame small {
  margin: 0;
  color: rgba(17,17,17,0.58);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.instagram-server-frame small {
  display: block;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.64);
}

.instagram-frame-actions {
  display: grid;
  position: relative;
  z-index: 2;
}

.instagram-frame-fallback {
  grid-row: 1 / -1;
  align-self: center;
}

.instagram-capture-confirm {
  grid-row: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 12px;
  padding-top: 12px;
}

.instagram-capture-confirm h3 {
  padding-right: 58px;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.1;
}

.instagram-capture-confirm p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.instagram-capture-preview {
  width: 100%;
  min-height: 0;
  height: 100%;
  object-fit: contain;
  border-radius: 22px;
  background: #f2eadf;
  border: 1px solid rgba(94, 73, 49, 0.14);
}

.blocked-preview {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  border-radius: 24px;
  padding: 22px;
  color: #fff4dc;
  background:
    radial-gradient(circle at 84% 0%, rgba(255, 195, 89, 0.34), transparent 34%),
    linear-gradient(135deg, #160f0a, #5c2f10 72%, #e5912a);
}

.blocked-preview span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.12);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blocked-preview strong {
  font-size: 20px;
}

.blocked-preview small {
  color: rgba(255,244,220,0.78);
  line-height: 1.6;
}

.stage-card, .result-shell {
  min-height: 760px;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(160deg, #120d09 0%, #2d1808 40%, #ad5717 100%);
  color: white;
  border: 1px solid rgba(38, 24, 13, 0.8);
  box-shadow: 0 24px 90px rgba(18, 10, 2, 0.28);
  padding: 28px;
}

.stage-card p.muted, .result-shell .muted {
  color: rgba(255, 244, 225, 0.82);
  line-height: 1.7;
}

.stage-steps {
  display: grid;
  gap: 14px;
}

.stage-item {
  border-radius: 22px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
}

.stage-item.active {
  border-color: rgba(255, 222, 154, 0.46);
  background: rgba(255,255,255,0.14);
}

.result-top {
  background: linear-gradient(135deg, #120d09 0%, #43230d 50%, #f19a2e 100%);
  padding: 28px;
  border-radius: 32px;
  color: white;
  position: relative;
  overflow: hidden;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.1);
}

.hot-badge {
  color: #2a1708;
  background: linear-gradient(135deg, #ffe2a6, #ffb23f);
  border-color: rgba(255, 235, 190, 0.7);
  box-shadow: 0 12px 34px rgba(255, 169, 54, 0.22);
}

.value {
  margin-top: 18px;
  font-size: clamp(58px, 9vw, 110px);
  line-height: 0.95;
  font-weight: 700;
}

.value-caption {
  margin-top: 10px;
  font-size: 15px;
  color: rgba(255, 245, 227, 0.9);
}

.value-kicker {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 243, 223, 0.96);
  max-width: 720px;
}

.valuation-disclaimer {
  max-width: 620px;
  margin-top: 8px;
  color: var(--color-text-tertiary);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.rarity-line {
  display: inline-flex;
  margin-top: 14px;
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff4df;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 235, 190, 0.2);
  font-size: 14px;
  font-weight: 700;
}

.identity {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
}

.keyword-mention {
  margin-top: 18px;
  color: #ffd88d;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 700;
}

.result-grid, .info-grid, .metrics-grid {
  display: grid;
  gap: 16px;
}

.result-grid {
  margin-top: 22px;
  grid-template-columns: repeat(2, 1fr);
}

.glass {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  padding: 16px;
}

.section {
  margin-top: 18px;
}

.sheet {
  padding: 24px;
}

.sheet-title {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a95b18;
  font-weight: 700;
}

.stack {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.compact-stack {
  grid-template-columns: repeat(2, 1fr);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.metric-card {
  padding: 16px;
  border-radius: 22px;
  background: #f8f2eb;
}

.metric-card small {
  display: block;
  color: #8c7c6d;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.card {
  padding: 18px;
  border-radius: 22px;
  background: #f8f2eb;
}

.card strong, .sheet h3 {
  font-size: 16px;
  line-height: 1.5;
}

.card > strong {
  display: block;
}

.card p, .sheet p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
  letter-spacing: -0.1px;
}

.card p + p {
  margin-top: 12px;
}

.brand-match-sheet h3 {
  margin-top: 10px;
  font-size: 22px;
}

.brand-match-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.brand-match-card {
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(196, 229, 255, 0.48), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(255, 224, 170, 0.42), transparent 30%),
    #fbf8f3;
  padding: 18px;
}

.brand-match-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.brand-match-head strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.brand-match-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.brand-match-head b {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #050505;
  padding: 8px 11px;
  color: #fff;
  font-size: 13px;
}

.brand-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.brand-palette span {
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  padding: 6px 9px;
  color: #5d5145;
  font-size: 11px;
  font-weight: 900;
}

.brand-match-detail {
  margin-top: 14px;
  border-top: 1px solid rgba(21, 21, 21, 0.08);
  padding-top: 12px;
}

.brand-match-detail small {
  color: #a95b18;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-match-detail p {
  margin-top: 5px;
}

.brand-match-card em {
  display: inline-flex;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  padding: 7px 10px;
  color: #2e241b;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.score {
  margin-top: 14px;
}

.score-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}

.score strong {
  color: var(--ink);
}

.story-card {
  margin-top: 16px;
  border-radius: 28px;
  padding: 22px;
  color: white;
  background: linear-gradient(180deg, #170f09, #4b260e 60%, #e79129 100%);
  border: 1px solid rgba(63, 35, 16, 0.82);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.viral-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 500px;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 214, 142, 0.36), transparent 28%),
    linear-gradient(180deg, #120d09, #3d200d 58%, #f09a2f 100%);
  box-shadow: 0 24px 90px rgba(80, 41, 10, 0.28);
}

.viral-card::before {
  content: "";
  position: absolute;
  inset: -34px;
  z-index: -3;
  background-image: var(--profile-bg);
  background-size: cover;
  background-position: center;
  filter: blur(24px) saturate(1.15);
  opacity: 0.44;
  transform: scale(1.08);
}

.viral-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(18, 13, 9, 0.64), rgba(18, 13, 9, 0.34) 45%, rgba(18, 13, 9, 0.72)),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.14), transparent 26%);
}

.story-overlay {
  position: absolute;
  inset: 14px;
  z-index: -1;
  border-radius: 22px;
  border: 1px solid rgba(255, 232, 190, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.story-grade-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 34px;
  border-radius: 999px;
  padding: 11px 16px;
  color: #2a1708;
  background: linear-gradient(135deg, #ffe6af, #ffb23f);
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 14px 40px rgba(255, 170, 54, 0.32);
}

.story-value {
  font-size: 60px;
  line-height: 0.95;
  font-weight: 700;
}

.locked-sheet {
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.9), rgba(255, 231, 196, 0.72)),
    var(--paper);
}

.locked-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.locked-list span {
  display: block;
  border-radius: 16px;
  padding: 12px 14px;
  color: #7d4a17;
  background: rgba(255, 255, 255, 0.56);
  border: 1px dashed rgba(169, 91, 24, 0.28);
  font-size: 14px;
  font-weight: 700;
}

.compare-sheet {
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 178, 63, 0.22), transparent 30%),
    var(--paper);
}

.share-template-sheet {
  overflow: hidden;
}

.share-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.share-head h3 {
  margin-top: 10px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.18;
}

.share-size-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 13px;
  color: #7d4a17;
  background: #fff2df;
  border: 1px solid rgba(169, 91, 24, 0.14);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.template-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.template-tab {
  border: 1px solid rgba(94, 73, 49, 0.14);
  border-radius: 20px;
  background: #fffaf4;
  color: var(--ink);
  padding: 14px;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.template-tab strong,
.template-tab span {
  display: block;
}

.template-tab strong {
  font-size: 15px;
}

.template-tab span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.template-tab.active {
  border-color: rgba(201, 107, 27, 0.55);
  box-shadow: 0 14px 38px rgba(125, 67, 22, 0.16);
  transform: translateY(-1px);
}

.template-preview-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 390px) 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.template-preview-stage {
  display: flex;
  justify-content: center;
  border-radius: 28px;
  padding: 18px;
  background: #f7f1ea;
  border: 1px solid rgba(94, 73, 49, 0.12);
}

.template-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(94px, 1fr));
  gap: 12px;
}

.template-thumb {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.template-thumb.active {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(87, 52, 19, 0.18);
}

.share-card-preview {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 14px 44px rgba(20, 10, 2, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9%;
  background: var(--card-bg);
  container-type: inline-size;
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", -apple-system, system-ui, sans-serif;
  /* 기본 테마 = 심플 라이트. 나머지 템플릿은 컬러 변수만 덮어쓴다. */
  --card-bg: #faf6ef;
  --card-window: #ffffff;
  --card-border: rgba(0, 0, 0, 0.12);
  --card-bar: #3a3a3a;
  --card-strip: #ececea;
  --card-strip-text: #b9b6b0;
  --card-divider: #e6e1d8;
  --card-heading: #111111;
  --card-text: #333333;
  --card-subtext: #555555;
  --card-mark: #fff3b8;
  --card-mark-text: #111111;
  --card-links-bg: #fbeef2;
  --card-muted: #9a958c;
}

.share-card-preview.large {
  width: min(360px, 100%);
}

.share-card-preview.small {
  width: 100%;
  border-radius: 14px;
  pointer-events: none;
  padding: 11% 10%;
  align-items: flex-start;
  box-shadow: none;
  border: 1px solid rgba(20, 10, 2, 0.08);
}

/* ---------- 썸네일 스켈레톤 (컬러 무드 미리보기) ---------- */
.thumb-window {
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(20, 16, 12, 0.12);
}

.thumb-titlebar {
  display: flex;
  gap: 3px;
  padding: 5px 6px;
  border-bottom: 1px solid var(--card-divider);
}

.thumb-titlebar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--card-bar);
  opacity: 0.5;
}

.thumb-strip {
  height: 7px;
  background: var(--card-strip);
}

.thumb-body {
  display: grid;
  gap: 5px;
  padding: 8px 7px 10px;
}

.thumb-line {
  display: block;
  width: 82%;
  height: 5px;
  border-radius: 999px;
  background: var(--card-text);
  opacity: 0.3;
}

.thumb-line.wide {
  width: 100%;
  height: 7px;
  background: var(--card-heading);
  opacity: 0.75;
}

.thumb-line.mark {
  width: 58%;
  height: 7px;
  background: var(--card-mark);
  opacity: 1;
}

.thumb-line.short {
  width: 46%;
}

.thumb-links {
  display: grid;
  gap: 4px;
  margin-top: 2px;
  padding: 6px;
  border-radius: 5px;
  background: var(--card-links-bg);
}

.thumb-links .thumb-line {
  opacity: 0.4;
}

.thumb-name {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  color: var(--muted);
}

.template-thumb.active .thumb-name {
  color: var(--ink);
}

/* ---------- 컬러 무드 변형 (레이아웃은 공통) ---------- */
.share-card-preview.kitsch {
  --card-bg: #fbe3ee;
  --card-border: rgba(177, 65, 111, 0.22);
  --card-bar: #8d2f57;
  --card-strip: #f7d3e2;
  --card-strip-text: #d98fb0;
  --card-divider: #f3d7e2;
  --card-heading: #411c2d;
  --card-text: #5c3a49;
  --card-subtext: #8d6b7a;
  --card-mark: #ffd0e3;
  --card-mark-text: #8d2f57;
  --card-links-bg: #fdf0f5;
  --card-muted: #c193a7;
}

.share-card-preview.mono {
  --card-bg: #101013;
  --card-window: #1a1a1f;
  --card-border: rgba(255, 255, 255, 0.14);
  --card-bar: #9a9aa1;
  --card-strip: #26262c;
  --card-strip-text: #6e6e73;
  --card-divider: rgba(255, 255, 255, 0.12);
  --card-heading: #ffffff;
  --card-text: #d3d3d8;
  --card-subtext: #9a9aa1;
  --card-mark: #ffe566;
  --card-mark-text: #111111;
  --card-links-bg: #26262c;
  --card-muted: #6e6e73;
}

.share-card-preview.y2k {
  --card-bg: #e7f2ea;
  --card-border: rgba(29, 58, 47, 0.18);
  --card-bar: #2e5a47;
  --card-strip: #d9eadf;
  --card-strip-text: #94b5a3;
  --card-divider: #ddebe1;
  --card-heading: #16352a;
  --card-text: #3c5a4c;
  --card-subtext: #5f7d6e;
  --card-mark: #c4eed4;
  --card-mark-text: #16352a;
  --card-links-bg: #eef7f0;
  --card-muted: #8aa796;
}

.simple-window {
  width: 100%;
  background: var(--card-window);
  border: 1px solid var(--card-border);
  border-radius: 4.5cqw;
  box-shadow: 0 1.6cqw 5cqw rgba(20, 16, 12, 0.1);
  overflow: hidden;
  container-type: inline-size;
}

.simple-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 4.4cqw 5.4cqw;
  border-bottom: 1px solid var(--card-divider);
}

.simple-dots {
  display: flex;
  gap: 2.4cqw;
}

.simple-dots i {
  width: 2cqw;
  height: 2cqw;
  border-radius: 50%;
  background: var(--card-strip-text);
}

.simple-dots.is-ghost {
  visibility: hidden;
}

.simple-url {
  color: var(--card-bar);
  font-size: 3.4cqw;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.simple-body {
  padding: 12cqw 9cqw 9cqw;
  text-align: center;
  color: var(--card-text);
}

.simple-eyebrow {
  color: var(--card-muted);
  font-size: 2.9cqw;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.simple-handle {
  margin-top: 4.5cqw;
  color: var(--card-heading);
  font-size: 7.2cqw;
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.simple-value-label {
  margin-top: 9cqw;
  color: var(--card-subtext);
  font-size: 3.8cqw;
  font-weight: 500;
}

.simple-value {
  margin-top: 2.8cqw;
}

.simple-value mark {
  display: inline-block;
  background: var(--card-mark);
  color: var(--card-mark-text);
  font-size: 10.8cqw;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.18;
  padding: 0.6cqw 3cqw;
  border-radius: 1.8cqw;
  white-space: nowrap;
}

.simple-meta {
  margin-top: 4cqw;
  color: var(--card-subtext);
  font-size: 3.6cqw;
  font-weight: 500;
}

.simple-divider {
  width: 8cqw;
  height: 0.35cqw;
  margin: 7.5cqw auto 0;
  border-radius: 999px;
  background: var(--card-divider);
}

.simple-identity {
  margin: 6cqw auto 0;
  max-width: 78cqw;
  color: var(--card-text);
  font-size: 4cqw;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.simple-keywords-title {
  margin-top: 9cqw;
  color: var(--card-muted);
  font-size: 2.7cqw;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.simple-chips {
  margin-top: 3.4cqw;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8cqw;
}

.simple-chip {
  background: var(--card-links-bg);
  border: 1px solid var(--card-border);
  color: var(--card-heading);
  font-size: 3.6cqw;
  font-weight: 600;
  line-height: 1;
  padding: 2.1cqw 3.4cqw;
  border-radius: 999px;
  white-space: nowrap;
}

.simple-made {
  margin-top: 10cqw;
  color: var(--card-muted);
  font-size: 3cqw;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.share-note {
  margin-top: 12px;
  color: #a95b18;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.colla-card {
  background: linear-gradient(180deg, #fff4e4, #ffe2bf);
  border: 1px solid rgba(169, 91, 24, 0.12);
}

.bridge-card {
  margin-top: 16px;
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(135deg, #1a120c, #5d3010 68%, #f2a53a);
  color: white;
}

.colla-coming {
  border-radius: 28px;
  padding: 22px;
  background: linear-gradient(135deg, #1a120c, #5d3010 68%, #f2a53a);
  color: white;
}

.colla-coming h3 {
  margin-top: 14px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.25;
}

.colla-coming p {
  margin-top: 12px;
  color: rgba(255, 244, 229, 0.86);
  line-height: 1.7;
}

.coming-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.feedback-card {
  margin-top: 16px;
  border-radius: 24px;
  background: #f8f2eb;
  padding: 18px;
}

.feedback-card small {
  color: #8c7c6d;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.feedback-card h3 {
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.25;
}

.feedback-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.waitlist-actions {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 10px;
  margin-top: 18px;
}

.waitlist-segment {
  margin-top: 18px;
}

.waitlist-segment > strong {
  display: block;
  margin-bottom: 4px;
}

.waitlist-segment .waitlist-actions {
  grid-template-columns: 1fr 1fr;
  margin-top: 12px;
}

.waitlist-done {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
}

.waitlist-done p {
  color: rgba(255,255,255,0.82);
}

.donate-section {
  text-align: center;
}

.donate-section h3 {
  margin: 14px 0 0;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.05em;
}

.donate-sub {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

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

.donate-btn {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 18px 12px;
  border-radius: 22px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.donate-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(250, 197, 28, 0.9);
  box-shadow: 0 14px 36px rgba(250, 197, 28, 0.26);
}

.donate-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.donate-emoji {
  font-size: 26px;
  line-height: 1;
}

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

.donate-amount {
  font-size: 19px;
  letter-spacing: -0.04em;
}

.donate-note {
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-tertiary);
}

@media (max-width: 560px) {
  .donate-options {
    grid-template-columns: 1fr;
  }

  .donate-btn {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-items: start;
    padding: 14px 18px;
  }

  .donate-btn .donate-amount {
    justify-self: end;
  }
}

.bridge-card h3 {
  margin-top: 12px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
}

.bridge-card p {
  color: rgba(255, 246, 234, 0.86);
}

.bridge-question {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffe3bb !important;
}

.accent-inline {
  color: #ffd88d;
}

.slideup {
  position: fixed;
  right: 24px;
  bottom: 16px;
  transform: translateY(130%);
  width: min(520px, calc(100vw - 24px));
  z-index: 30;
  transition: transform 420ms ease;
}

.slideup.show {
  transform: translateY(0);
}

.slideup-card {
  position: relative;
  border-radius: 28px;
  padding: 22px;
  background: rgba(19, 14, 10, 0.96);
  color: white;
  box-shadow: 0 22px 80px rgba(20, 10, 2, 0.34);
}

.slideup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.slideup-card p {
  margin-top: 10px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

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

.result-layout {
  display: grid;
  gap: 24px;
}

.two-col {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.ghost-link {
  color: #7e4a16;
  font-weight: 700;
  text-decoration: none;
}

.center {
  text-align: center;
}

@media (max-width: 1024px) {
  .main-grid, .two-col {
    grid-template-columns: 1fr;
  }

  .valuation-formula {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    padding: 16px 14px 48px;
  }

  .template-preview-wrap {
    grid-template-columns: 1fr;
  }

  .template-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

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

  .hero, .panel, .stage-card, .result-shell, .sheet {
    border-radius: 28px;
    padding: 22px;
  }

  .result-grid, .metrics-grid, .compact-stack, .metric-grid, .feedback-actions, .waitlist-actions, .confirm-preview-grid, .confirm-actions {
    grid-template-columns: 1fr;
  }

  .valuation-total {
    display: grid;
  }

  .valuation-total strong {
    white-space: normal;
  }

  .story-value {
    font-size: 48px;
  }

  .slideup {
    left: 50%;
    right: auto;
    width: min(520px, calc(100vw - 24px));
    transform: translate(-50%, 130%);
  }

  .slideup.show {
    transform: translate(-50%, 0);
  }
}

/* Colla.kr-inspired pastel rainbow refresh */
:root {
  --pastel-blue: #dff3ff;
  --pastel-mint: #e7fbef;
  --pastel-lilac: #efe7ff;
  --pastel-pink: #ffe8f5;
  --pastel-cream: #fff8d9;
}

body {
  background:
    radial-gradient(circle at 16% 10%, rgba(196, 229, 255, 0.92), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(255, 219, 241, 0.88), transparent 32%),
    radial-gradient(circle at 92% 72%, rgba(255, 247, 187, 0.78), transparent 34%),
    radial-gradient(circle at 8% 78%, rgba(210, 250, 222, 0.78), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 42%, #f7f7fb 100%) !important;
}

.hero,
.panel,
.sheet,
.result-card,
.capture-modal,
.analysis-confirm-modal,
.instagram-frame-modal {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.72)),
    radial-gradient(circle at 0% 0%, rgba(216, 238, 255, 0.56), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(255, 228, 246, 0.48), transparent 34%),
    radial-gradient(circle at 90% 100%, rgba(255, 248, 205, 0.48), transparent 38%) !important;
  border-color: rgba(29, 29, 31, 0.08) !important;
}

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

.hero::after {
  content: "";
  position: absolute;
  left: clamp(24px, 5vw, 54px);
  right: clamp(24px, 5vw, 54px);
  bottom: 28px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #bfe7ff, #e9ddff, #ffdff2, #fff2a8, #dff8e7);
  opacity: 0.72;
  filter: blur(0.2px);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.accent-text {
  color: inherit !important;
  background: linear-gradient(90deg, #bae7ff, #eadcff, #ffd9ef, #fff0a7) !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  border-radius: 0.16em;
  box-shadow: inset 0 -0.42em 0 rgba(255, 238, 164, 0.72);
}

.profile-preview-card,
.upload-slot,
.metric-card,
.card,
.feedback-card,
.template-preview-stage,
.template-tab,
.input-shell,
.confirm-preview-grid > div {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(250,250,252,0.78)),
    radial-gradient(circle at 0% 0%, rgba(204, 235, 255, 0.42), transparent 36%),
    radial-gradient(circle at 100% 20%, rgba(255, 219, 242, 0.34), transparent 34%) !important;
}

.input-shell:focus-within,
.upload-slot:hover,
.upload-slot.ready,
.template-tab.active {
  border-color: rgba(80, 110, 255, 0.22) !important;
  box-shadow:
    0 16px 42px rgba(31, 35, 44, 0.07),
    0 0 0 4px rgba(213, 233, 255, 0.62) !important;
}

.progress-block {
  color: #1d1d1f !important;
  background:
    linear-gradient(135deg, rgba(224, 243, 255, 0.94), rgba(255, 235, 247, 0.82) 50%, rgba(255, 248, 204, 0.86)),
    #ffffff !important;
  border: 1px solid rgba(29, 29, 31, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 18px 48px rgba(31,35,44,0.06) !important;
}

.progress-row,
.hint {
  color: #5d5d63 !important;
}

.bar {
  background: rgba(255, 255, 255, 0.78) !important;
}

.bar-fill {
  background: linear-gradient(90deg, #8fd4ff, #d9c8ff, #ffbfe2, #ffe68a) !important;
}

.primary-btn {
  background: #0a0a0a !important;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.18),
    0 0 0 5px rgba(225, 239, 255, 0.62) !important;
}

.secondary-btn {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,248,250,0.9)),
    radial-gradient(circle at 0% 0%, rgba(215, 239, 255, 0.42), transparent 40%) !important;
}

.upload-icon,
.upload-icon.grid,
.preview-avatar.fallback,
.avatar-preview-fallback {
  background: linear-gradient(135deg, #dff3ff, #efe7ff 45%, #ffe5f4 72%, #fff2bc) !important;
}

.stage-card,
.result-shell,
.result-top,
.story-card,
.viral-card {
  color: #111111 !important;
  background:
    radial-gradient(circle at 14% 8%, rgba(191, 231, 255, 0.9), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(255, 218, 241, 0.86), transparent 34%),
    radial-gradient(circle at 90% 92%, rgba(255, 241, 164, 0.78), transparent 38%),
    linear-gradient(145deg, #ffffff 0%, #f7f8ff 100%) !important;
  border: 1px solid rgba(29, 29, 31, 0.08) !important;
  box-shadow: 0 28px 90px rgba(31, 35, 44, 0.1) !important;
}

.stage-card p.muted,
.result-shell .muted,
.value-caption,
.value-kicker {
  color: #55555b !important;
}

.glass,
.stage-item,
.badge,
.rarity-line {
  color: #1d1d1f !important;
  background: rgba(255,255,255,0.58) !important;
  border-color: rgba(29,29,31,0.08) !important;
}

.hot-badge,
.story-grade-badge {
  color: #ffffff !important;
  background: #0a0a0a !important;
}

.keyword-mention {
  color: #1d1d1f !important;
  background: linear-gradient(90deg, rgba(203,235,255,0.72), rgba(255,220,242,0.58), rgba(255,241,166,0.64));
  border-radius: 18px;
  padding: 12px 14px;
}

.bridge-card,
.colla-coming,
.blocked-preview {
  color: #111111 !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(192, 231, 255, 0.9), transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(255, 221, 243, 0.86), transparent 36%),
    linear-gradient(145deg, #ffffff, #fff7df) !important;
  border-color: rgba(29,29,31,0.08) !important;
}

.bridge-card p,
.colla-coming p,
.blocked-preview small,
.blocked-preview span {
  color: #5d5d63 !important;
}

.coming-badge {
  color: #ffffff !important;
  background: #0a0a0a !important;
  border-color: #0a0a0a !important;
}

.bridge-question,
.accent-inline {
  color: #111111 !important;
}

.modal-backdrop {
  background: rgba(255, 255, 255, 0.34) !important;
}

.result-top .valuation-disclaimer,
.colla-coming .valuation-disclaimer {
  color: var(--color-text-tertiary) !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}

.colla-coming .valuation-disclaimer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(29, 29, 31, 0.06);
}

.inapp-open-tip {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: 10px;
  z-index: 120;
  display: grid;
  gap: 3px;
  min-width: 154px;
  padding: 17px 16px 14px;
  border-radius: 24px;
  color: #111;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,255,255,0.82)),
    radial-gradient(circle at 0 0, rgba(173, 220, 255, 0.68), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(255, 199, 229, 0.72), transparent 44%),
    radial-gradient(circle at 80% 95%, rgba(255, 241, 165, 0.7), transparent 48%);
  border: 1px solid rgba(17,17,17,0.1);
  box-shadow: 0 26px 70px rgba(17,17,17,0.22);
  animation: tipPop 420ms cubic-bezier(.2,.9,.2,1) both;
}

.inapp-open-tip button {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(17,17,17,0.07);
  color: #111;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.open-tip-arrow {
  position: absolute;
  top: -18px;
  right: 10px;
  color: #111;
  font-size: 34px;
  font-weight: 950;
  transform: rotate(-8deg);
  text-shadow: 0 8px 20px rgba(17,17,17,0.2);
}

.inapp-open-tip strong {
  padding-right: 28px;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.inapp-open-tip span {
  color: rgba(17,17,17,0.58);
  font-size: 12px;
  font-weight: 850;
}

.colla-coming.problem-led {
  background:
    radial-gradient(circle at 12% 8%, rgba(190, 230, 255, 0.82), transparent 36%),
    radial-gradient(circle at 92% 8%, rgba(255, 212, 235, 0.76), transparent 36%),
    radial-gradient(circle at 82% 90%, rgba(255, 241, 170, 0.72), transparent 42%),
    linear-gradient(145deg, #ffffff, #f7f8ff) !important;
  color: #111 !important;
  border: 1px solid rgba(17,17,17,0.08) !important;
  box-shadow: 0 24px 70px rgba(31, 35, 44, 0.1) !important;
}

.colla-coming.problem-led .coming-badge {
  color: #fff !important;
  background: #111 !important;
  border-color: #111 !important;
}

.colla-coming.problem-led h3 {
  margin-top: 14px;
  color: #111 !important;
}

.colla-coming.problem-led p {
  color: rgba(17,17,17,0.66) !important;
}

.colla-feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.colla-feature-list span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(17,17,17,0.08);
  color: #111;
  font-size: 13px;
  font-weight: 950;
}

.feature-interest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.feature-chip {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1.5px solid rgba(17,17,17,0.10);
  color: #333;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-align: center;
  line-height: 1.25;
}

.feature-chip:hover {
  background: rgba(255,255,255,0.92);
  border-color: rgba(17,17,17,0.22);
}

.feature-chip.selected {
  background: #111;
  border-color: #111;
  color: #fff;
}

.colla-soft-pitch {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(17,17,17,0.06);
}

.colla-deadline {
  margin-top: 8px !important;
  color: #b45309 !important;
  font-weight: 950;
}

.evidence-sheet {
  overflow: hidden;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.evidence-card {
  min-height: 92px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.64)),
    radial-gradient(circle at 0 0, rgba(190, 230, 255, 0.44), transparent 48%),
    radial-gradient(circle at 100% 100%, rgba(255, 230, 171, 0.44), transparent 48%);
  border: 1px solid rgba(17,17,17,0.07);
}

.evidence-card small,
.evidence-bio small {
  display: block;
  color: rgba(17,17,17,0.48);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.evidence-card strong {
  display: block;
  margin-top: 10px;
  color: #111;
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.evidence-bio {
  margin-top: 12px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(17,17,17,0.06);
}

.evidence-bio p {
  margin: 8px 0 0;
  color: rgba(17,17,17,0.7);
  font-weight: 800;
  line-height: 1.55;
}

.evidence-analysis {
  margin-top: 14px;
}

@keyframes tipPop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 560px) {
  .evidence-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-card {
    min-height: 82px;
    padding: 14px;
  }
}

.preview-avatar[hidden],
.preview-avatar.fallback[hidden],
.avatar-preview-image[hidden],
.avatar-preview-fallback[hidden] {
  display: none !important;
}

.slideup-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(188, 229, 255, 0.22), transparent 42%),
    #0a0a0a !important;
}

/* Apple-style monochrome polish */
body {
  letter-spacing: -0.018em;
}

.shell {
  max-width: 1120px;
  padding-top: 18px;
}

.hero,
.panel,
.result-card,
.sheet,
.capture-modal,
.analysis-confirm-modal,
.instagram-frame-modal {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(24px) saturate(1.12);
}

.hero {
  padding: clamp(28px, 5vw, 54px);
  margin-bottom: 18px;
}

.hero h1,
.panel h2,
.stage-card h2,
.result-top .value,
.value {
  font-weight: 800;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 780px;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero h1,
.panel h2,
.stage-card h2,
.result-top h2,
.sheet h3 {
  word-break: keep-all;
}

.accent-text {
  background: linear-gradient(180deg, #000 0%, #4a4a4f 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.eyebrow,
.sheet-title,
.metric-card small,
.feedback-card small {
  color: #8e8e93 !important;
  letter-spacing: 0.22em;
}

.subcopy,
.hint,
.consent-note,
.ig-load-row p,
.profile-preview-card p,
.upload-copy p,
.card p,
.sheet p,
.metric-card small,
.score-head,
.instagram-frame-head p,
.instagram-frame-fallback p,
.instagram-capture-confirm p {
  color: #6e6e73 !important;
}

.profile-preview-card,
.avatar-preview,
.upload-slot,
.capture-list p,
.confirm-preview-grid > div,
.metric-card,
.card,
.feedback-card,
.template-preview-stage,
.template-tab,
.input-shell {
  background: rgba(245, 245, 247, 0.88) !important;
  border-color: rgba(0, 0, 0, 0.075) !important;
  box-shadow: none !important;
}

.progress-block {
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(145deg, #050505 0%, #1d1d1f 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.18) !important;
}

.bar-fill {
  background: linear-gradient(90deg, #ffffff, #a1a1a6) !important;
}

.input-shell {
  padding: 17px 18px;
  border-radius: 18px;
}

.input-shell:focus-within,
.upload-slot:hover,
.upload-slot.ready,
.template-tab.active {
  border-color: rgba(0, 0, 0, 0.32) !important;
  background: #ffffff !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08) !important;
}

.primary-btn,
.secondary-btn {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.primary-btn {
  color: #ffffff !important;
  background: #000000 !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18) !important;
}

.secondary-btn {
  color: #000000 !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06) !important;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.text-btn,
.ghost-link,
.share-size-badge,
.upload-copy span {
  color: #000000 !important;
}

.upload-copy span,
.share-size-badge {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.09) !important;
}

.upload-icon,
.upload-icon.grid,
.preview-avatar.fallback,
.avatar-preview-fallback {
  background: linear-gradient(145deg, #ffffff 0%, #d8d8dc 100%) !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.upload-icon.person::before,
.upload-icon.person::after {
  background: #111111 !important;
}

.upload-icon.grid {
  box-shadow:
    inset 12px 12px 0 #111111,
    inset 27px 12px 0 #111111,
    inset 42px 12px 0 #111111,
    inset 12px 27px 0 #111111,
    inset 27px 27px 0 #111111,
    inset 42px 27px 0 #111111,
    inset 12px 42px 0 #111111,
    inset 27px 42px 0 #111111,
    inset 42px 42px 0 #111111 !important;
}

.modal-backdrop {
  background: rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(18px) saturate(1.08);
}

.modal-close,
.slideup-close {
  color: #1d1d1f !important;
  background: rgba(245, 245, 247, 0.92) !important;
}

.confirm-profile-line,
.slideup-card {
  color: #ffffff !important;
  background: #000000 !important;
}

.instagram-frame-box,
.instagram-capture-preview,
.confirm-preview-grid img,
.confirm-empty {
  background: #f5f5f7 !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.blocked-preview,
.stage-card,
.result-shell,
.result-top,
.story-card,
.viral-card,
.bridge-card,
.colla-coming {
  color: #ffffff !important;
  background:
    radial-gradient(circle at 70% 0%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(155deg, #000000 0%, #171719 52%, #2c2c2e 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.18) !important;
}

.stage-card p.muted,
.result-shell .muted,
.value-caption,
.value-kicker,
.colla-coming p,
.bridge-card p,
.slideup-card p,
.waitlist-done p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.badge,
.rarity-line,
.coming-badge,
.waitlist-done {
  color: rgba(255, 255, 255, 0.88) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.hot-badge,
.story-grade-badge {
  color: #000000 !important;
  background: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 12px 36px rgba(255, 255, 255, 0.12) !important;
}

.keyword-mention,
.accent-inline,
.bridge-question {
  color: #ffffff !important;
}

.glass,
.stage-item {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.stage-item.active {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.locked-sheet,
.compare-sheet,
.colla-card {
  background: rgba(255, 255, 255, 0.86) !important;
}

.locked-list span {
  color: #1d1d1f !important;
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

.template-preview-stage {
  background: #f5f5f7 !important;
}

.template-tab.active {
  transform: translateY(-2px);
}

.profile-preview-card {
  animation: previewDrop 320ms cubic-bezier(.2, .8, .2, 1) both;
}

.inline-preview-error {
  color: #b00020 !important;
  background: #fff5f6 !important;
  border-color: rgba(176, 0, 32, 0.12) !important;
}

@media (max-width: 640px) {
  .hero {
    padding: 30px 22px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.5vw, 58px);
  }

  .instagram-frame-modal {
    width: 90vw;
    height: 82dvh;
    max-height: 82dvh;
    padding: 16px;
    gap: 10px;
  }

  .panel h2 {
    font-size: 34px !important;
    letter-spacing: -0.055em;
  }

}

/* Final priority layer: Colla pastel, not plain monochrome */
body {
  background:
    radial-gradient(circle at 16% 10%, rgba(196, 229, 255, 0.92), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(255, 219, 241, 0.88), transparent 32%),
    radial-gradient(circle at 92% 72%, rgba(255, 247, 187, 0.78), transparent 34%),
    radial-gradient(circle at 8% 78%, rgba(210, 250, 222, 0.78), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 42%, #f7f7fb 100%) !important;
}

.hero,
.panel,
.sheet,
.result-card,
.capture-modal,
.analysis-confirm-modal,
.instagram-frame-modal {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.72)),
    radial-gradient(circle at 0% 0%, rgba(216, 238, 255, 0.56), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(255, 228, 246, 0.48), transparent 34%),
    radial-gradient(circle at 90% 100%, rgba(255, 248, 205, 0.48), transparent 38%) !important;
}

.accent-text {
  color: inherit !important;
  background: linear-gradient(90deg, #bae7ff, #eadcff, #ffd9ef, #fff0a7) !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  border-radius: 0.16em;
  box-shadow: inset 0 -0.42em 0 rgba(255, 238, 164, 0.72);
}

.progress-block {
  color: #1d1d1f !important;
  background:
    linear-gradient(135deg, rgba(224, 243, 255, 0.94), rgba(255, 235, 247, 0.82) 50%, rgba(255, 248, 204, 0.86)),
    #ffffff !important;
  border: 1px solid rgba(29, 29, 31, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 18px 48px rgba(31,35,44,0.06) !important;
}

.progress-row,
.hint {
  color: #5d5d63 !important;
}

.bar {
  background: rgba(255, 255, 255, 0.78) !important;
}

.bar-fill {
  background: linear-gradient(90deg, #8fd4ff, #d9c8ff, #ffbfe2, #ffe68a) !important;
}

.profile-preview-card,
.upload-slot,
.metric-card,
.card,
.feedback-card,
.template-preview-stage,
.template-tab,
.input-shell,
.confirm-preview-grid > div {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(250,250,252,0.78)),
    radial-gradient(circle at 0% 0%, rgba(204, 235, 255, 0.42), transparent 36%),
    radial-gradient(circle at 100% 20%, rgba(255, 219, 242, 0.34), transparent 34%) !important;
}

.input-shell:focus-within,
.upload-slot:hover,
.upload-slot.ready,
.template-tab.active {
  border-color: rgba(80, 110, 255, 0.22) !important;
  box-shadow:
    0 16px 42px rgba(31, 35, 44, 0.07),
    0 0 0 4px rgba(213, 233, 255, 0.62) !important;
}

.primary-btn {
  background: #0a0a0a !important;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.18),
    0 0 0 5px rgba(225, 239, 255, 0.62) !important;
}

.secondary-btn {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,248,250,0.9)),
    radial-gradient(circle at 0% 0%, rgba(215, 239, 255, 0.42), transparent 40%) !important;
}

.upload-icon,
.upload-icon.grid,
.preview-avatar.fallback,
.avatar-preview-fallback {
  background: linear-gradient(135deg, #dff3ff, #efe7ff 45%, #ffe5f4 72%, #fff2bc) !important;
}

.stage-card,
.result-shell,
.result-top,
.story-card,
.viral-card,
.bridge-card,
.colla-coming,
.blocked-preview {
  color: #111111 !important;
  background:
    radial-gradient(circle at 14% 8%, rgba(191, 231, 255, 0.9), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(255, 218, 241, 0.86), transparent 34%),
    radial-gradient(circle at 90% 92%, rgba(255, 241, 164, 0.78), transparent 38%),
    linear-gradient(145deg, #ffffff 0%, #f7f8ff 100%) !important;
  border: 1px solid rgba(29, 29, 31, 0.08) !important;
  box-shadow: 0 28px 90px rgba(31, 35, 44, 0.1) !important;
}

.stage-card p.muted,
.result-shell .muted,
.value-caption,
.value-kicker,
.bridge-card p,
.colla-coming p,
.blocked-preview small,
.blocked-preview span {
  color: #55555b !important;
}

.glass,
.stage-item,
.badge,
.rarity-line {
  color: #1d1d1f !important;
  background: rgba(255,255,255,0.58) !important;
  border-color: rgba(29,29,31,0.08) !important;
}

.hot-badge,
.story-grade-badge,
.coming-badge {
  color: #ffffff !important;
  background: #0a0a0a !important;
  border-color: #0a0a0a !important;
}

.keyword-mention {
  color: #1d1d1f !important;
  background: linear-gradient(90deg, rgba(203,235,255,0.72), rgba(255,220,242,0.58), rgba(255,241,166,0.64));
  border-radius: 18px;
  padding: 12px 14px;
}

.bridge-question,
.accent-inline {
  color: #111111 !important;
}

.modal-backdrop {
  background: rgba(255, 255, 255, 0.34) !important;
}

/* ---- 동의 간주 안내 (개인정보 + 광고성 정보 수신) ---- */

.consent-note {
  margin: 4px 0 16px;
}

.consent-summary {
  margin: 0;
  padding: 11px 14px;
  background: rgba(120, 120, 128, 0.08);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: -0.1px;
  color: rgba(60, 60, 67, 0.72);
}

.consent-summary b {
  font-weight: 600;
  color: rgba(28, 28, 30, 0.9);
}

.consent-details {
  margin-top: 8px;
}

.consent-details summary {
  cursor: pointer;
  font-size: 12px;
  letter-spacing: -0.1px;
  color: rgba(60, 60, 67, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  list-style: none;
}

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

.consent-body {
  margin-top: 10px;
  padding: 14px 16px;
  background: rgba(120, 120, 128, 0.06);
  border-radius: 12px;
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: -0.1px;
  color: rgba(60, 60, 67, 0.7);
  text-align: left;
}

.consent-body strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(28, 28, 30, 0.88);
}

.consent-body strong:first-child {
  margin-top: 0;
}

.consent-body ul {
  margin: 0;
  padding-left: 16px;
}

.consent-body li {
  margin: 3px 0;
}

.consent-body li b {
  font-weight: 600;
  color: rgba(28, 28, 30, 0.8);
}

.consent-contact {
  margin: 10px 0 0;
  color: rgba(60, 60, 67, 0.55);
}

/* ---- 결과 화면: 이메일 미입력 시 상세 결과 블러 잠금 ---- */

.result-lock-wrap {
  position: relative;
}

.result-locked-zone {
  filter: blur(16px);
  pointer-events: none;
  user-select: none;
  opacity: 0.5;
  max-height: 1400px;
  overflow: hidden;
}

.result-unlock-gate {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 18px 18px;
}

.result-unlock-card {
  width: 100%;
  max-width: 460px;
  padding: 28px 24px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(29, 29, 31, 0.08);
  box-shadow: 0 28px 90px rgba(31, 35, 44, 0.16);
  color: #1d1d1f;
  position: sticky;
  top: 32px;
}

.result-unlock-card h3 {
  margin: 10px 0 0;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: #111111;
}

.result-unlock-card .unlock-sub {
  margin: 10px 0 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(60, 60, 67, 0.72);
}

.result-unlock-card .input-shell {
  margin-bottom: 12px;
  background: rgba(245, 245, 247, 0.92);
}

.result-unlock-card .primary-btn {
  width: 100%;
  margin-bottom: 14px;
}

.result-unlock-card .consent-note {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .result-unlock-gate {
    padding: 28px 10px 10px;
  }

  .result-unlock-card {
    padding: 22px 18px 18px;
  }
}

/* ---------- 모바일 가로 스크롤(좌우 흔들림) 방지 ---------- */
html,
body {
  overflow-x: clip;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.sheet,
.card,
.two-col > * {
  min-width: 0;
}

.sheet h3,
.card,
.value,
.identity {
  overflow-wrap: break-word;
}

@media (max-width: 640px) {
  .share-head {
    flex-direction: column;
    gap: 10px;
  }

  .share-size-badge {
    align-self: flex-start;
  }

  .value {
    font-size: clamp(44px, 13vw, 58px);
  }

  .two-col {
    gap: 16px;
  }
}
