/*
  랜딩 — 히어로 + 기능 두 절. 흰 판.
  방향: 법원 서류의 무게를 흰 종이 위에 — 명조(마루부리) 제목, 옅은 서류 벽, 먹색 폰 한 대.
  색은 tokens.css(= apps/app theme.ts)에서만. 폰 목업은 히어로 한 곳에서만 쓴다.
  기능 절은 앱 UI 조각을 랜딩 품질로 다시 앉힌다 — 앱 패널째 띄우거나(추천), 실제로 받는 모습(잠금화면 알림)으로.
*/

/* 명조는 이 페이지에 쓰인 글자만 뽑은 판(.sub, 한 벌 440KB → 60KB). 문구를 바꾸면 README 「글꼴 다시 뽑기」 */
@font-face {
  font-family: 'MaruBuri';
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/MaruBuri-Light.sub.woff2') format('woff2');
}
@font-face {
  font-family: 'MaruBuri';
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/MaruBuri-Regular.sub.woff2') format('woff2');
}
@font-face {
  font-family: 'MaruBuri';
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/MaruBuri-Bold.sub.woff2') format('woff2');
}

:root {
  --serif: 'MaruBuri', 'Nanum Myeongjo', serif;
  --soft-shadow: 0 1px 2px rgba(18, 19, 20, 0.04), 0 24px 48px -24px rgba(18, 19, 20, 0.18);
}

body.landing {
  word-break: keep-all;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}

/* ── 머리줄 ─────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.32s var(--m-ease), border-color 0.32s var(--m-ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.6) blur(20px);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  border-bottom-color: var(--line-soft);
}
.nav .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.pill {
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.16s var(--m-ease), transform 0.16s var(--m-ease), border-color 0.16s var(--m-ease);
}
.pill:active {
  transform: scale(0.97);
}
.pill.ink {
  background: #000;
  color: #fff;
}
.pill.ink:hover {
  background: #232528;
}
.pill.line {
  border: 1px solid var(--line-strong);
  background: #fff;
}
.pill.line:hover {
  border-color: var(--text-faint);
}
.pill.lg {
  height: 54px;
  padding: 0 26px;
  font-size: 15px;
}
/* ══ 1. 히어로 ═════════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: 128px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
/* 서류 벽 — 매각물건명세서·등기부 문장이 옅게 깔리고 천천히 올라간다. 가운데는 비운다 */
.docwall {
  position: absolute;
  inset: -10% -4%;
  z-index: -2;
  columns: 4 300px;
  column-gap: 56px;
  padding: 0 40px;
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: -0.2px;
  color: #dfe2e5;
  text-align: left;
  -webkit-mask-image: radial-gradient(ellipse 46% 58% at 50% 42%, transparent 40%, #000 90%);
  mask-image: radial-gradient(ellipse 46% 58% at 50% 42%, transparent 40%, #000 90%);
  animation: drift 90s linear infinite;
}
.docwall p {
  margin: 0 0 18px;
  break-inside: avoid;
}
/* 앱이 읽어 내는 구절 — 형광펜이 차례로 그어졌다 지워진다 */
.docwall .k {
  color: #dfe2e5;
  background: linear-gradient(transparent 55%, rgba(37, 99, 235, 0.16) 55%) no-repeat 0 0 / 0% 100%;
  animation: read 3.2s var(--m-ease) 0.8s both;
}
.docwall .k:nth-of-type(2n) {
  animation-delay: 1.6s;
}
.docwall .k:nth-of-type(3n) {
  animation-delay: 3.4s;
}
.docwall .k:nth-of-type(5n) {
  animation-delay: 5.2s;
}
@keyframes read {
  from {
    color: #dfe2e5;
    background-size: 0% 100%;
  }
  to {
    color: var(--accent);
    background-size: 100% 100%;
  }
}
@keyframes drift {
  to {
    transform: translateY(-30%);
  }
}
/* 폰 뒤의 옅은 파랑 */
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -300px;
  width: 1100px;
  height: 820px;
  margin-left: -550px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.14), rgba(72, 128, 238, 0.05) 60%, rgba(255, 255, 255, 0));
  pointer-events: none;
}
.hero h1 {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: clamp(46px, 7.2vw, 108px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.hero h1 .l {
  display: block;
  font-weight: 300;
  color: #b6b9bd;
}
.hero .lead {
  margin: 28px auto 0;
  max-width: 620px;
  text-wrap: balance;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-muted);
}
.hero .actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero .live {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.hero .live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: ping 2.4s var(--m-ease) infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(3, 169, 77, 0.5);
  }
  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(3, 169, 77, 0);
  }
}
.hero .live b {
  color: var(--text);
  font-weight: 600;
}

/* 폰 — 이 페이지의 유일한 목업 */
.stage {
  position: relative;
  margin: 56px auto 0;
  width: 900px;
  max-width: 100%;
  height: 640px;
}
/* 틀 — 얇은 티타늄 테(border) 안에 검정 유리 베젤(padding), 옆에 단추 넷. 스크롤에 맞춰 눕혀 있던 폰이 선다(--p 0→1) */
.phone {
  --s: 0.86;
  --rim: 3px;
  --bz: calc(10px * var(--s) + 1px);
  --w: calc(390px * var(--s) + (var(--bz) + var(--rim)) * 2);
  --p: 0;
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--w);
  height: calc(844px * var(--s) + (var(--bz) + var(--rim)) * 2);
  margin-left: calc(var(--w) / -2);
  padding: var(--bz);
  border: var(--rim) solid transparent;
  border-radius: calc(50px * var(--s) + var(--bz) + var(--rim));
  background:
    linear-gradient(#0b0c0d, #0b0c0d) padding-box,
    linear-gradient(90deg, #8a8e93, #cfd2d6 8%, #7d8185 18%, #9ea2a6 50%, #7d8185 82%, #cfd2d6 92%, #8a8e93) border-box;
  box-shadow: 0 0 0 1px rgba(18, 19, 20, 0.08), 0 70px 110px -50px rgba(18, 19, 20, 0.5), 0 24px 48px -24px rgba(18, 19, 20, 0.22);
  transform: perspective(1600px) rotateX(calc((1 - var(--p)) * 16deg)) scale(calc(0.92 + var(--p) * 0.08));
  transform-origin: 50% 0;
  will-change: transform;
}
/* 옆 단추 — 왼쪽 동작·볼륨 둘, 오른쪽 전원 */
.phone::before,
.phone::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #6f7378, #b9bcc0);
}
.phone::before {
  left: calc(var(--rim) * -1 - 3px);
  top: calc(118px * var(--s));
  height: calc(168px * var(--s));
  /* 한 막대에 동작·볼륨 위·아래 세 칸 */
  background: linear-gradient(180deg, #9ea2a6 0 16.7%, transparent 16.7% 31%, #9ea2a6 31% 62%, transparent 62% 69%, #9ea2a6 69%);
}
.phone::after {
  right: calc(var(--rim) * -1 - 3px);
  top: calc(196px * var(--s));
  height: calc(92px * var(--s));
}
.phone .screen-clip {
  position: relative;
  width: calc(390px * var(--s));
  height: calc(844px * var(--s));
  border-radius: calc(50px * var(--s));
  overflow: hidden;
  background: #fff;
}
.phone iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 844px;
  border: 0;
  transform: scale(var(--s));
  transform-origin: 0 0;
  pointer-events: none;
}
.phone .screen-clip::after {
  content: '';
  position: absolute;
  z-index: 5;
  top: calc(11px * var(--s));
  left: 50%;
  width: calc(120px * var(--s));
  height: calc(34px * var(--s));
  margin-left: calc(-60px * var(--s));
  border-radius: 999px;
  background: #000;
}
/* 폰 아래는 흰 바탕 속으로 */
.stage::after {
  content: '';
  position: absolute;
  z-index: 3;
  inset: auto -200px -2px;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 80%);
}
/* 주석 — 화면 속 판정을 가리키는 가는 선 */
.note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  white-space: nowrap;
}
.note .ln {
  position: relative;
  height: 1px;
  width: 96px;
  background: linear-gradient(90deg, var(--line-strong), rgba(211, 214, 217, 0.2));
}
.note .ln::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}
.note.l {
  top: 250px;
  right: calc(50% + 200px);
}
.note.l .ln {
  transform: scaleX(-1);
}
.note.l .t {
  text-align: right;
}
.note.r {
  top: 392px;
  left: calc(50% + 200px);
  flex-direction: row-reverse;
}
.note {
  transition: opacity 0.5s var(--m-ease), translate 0.6s var(--m-spring);
}
.note.off {
  opacity: 0;
  translate: 0 10px;
}
.note b {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.note small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ══ 2. 기능 — 하루의 네 장면 ═════════════════════════ */
.days {
  position: relative;
  padding: 140px 0 160px;
}
.days .head {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: end;
  gap: 48px;
}
.days h2 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.days h2 .l {
  font-weight: 300;
  color: #b6b9bd;
}
.days .head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}
.bento {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 32px;
  background: var(--bg-subtle);
  padding: 40px 40px 0;
  min-height: 620px;
  display: flex;
  flex-direction: column;
}
.tile.s5 {
  grid-column: span 5;
}
.tile.s7 {
  grid-column: span 7;
}
.tile.tint {
  background: linear-gradient(180deg, #eaf3ff, #f6f8fa 70%);
}
.when {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.when b {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.when span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
}
.tile h3 {
  margin: 24px 0 0;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.tile .says {
  margin: 12px 0 0;
  max-width: 440px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-muted);
}
/* UI 조각이 놓이는 자리 — 타일 아래로 번진다 */
.scene {
  position: relative;
  z-index: 1;
  flex: 1;
  margin: 40px -40px 0;
  padding: 0 40px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* ── 앱 UI 조각 — apps/app 수치 그대로 ── */
.ui {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.3px;
}
.ellip {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 앱 패널 — 앱 홈 패널 규격(home-layout PANEL 24). 18:20 내 경매 피드가 쓴다 */
.panelx {
  width: 100%;
  max-width: 440px;
  padding: 18px 0 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}
.panelx .sh {
  padding: 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.panelx .sh b {
  display: block;
  font-size: 15px;
  line-height: 20px;
}
.panelx .sh small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-faint);
}

.dots {
  margin-top: 12px;
  display: flex;
  gap: 4px;
}
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--line);
}

/* 18:20 — 푸시 알림(push-format.ts 문구). 색은 앱 「내 경매」와 같은 뜻 */
.minef {
  max-width: 480px;
}
.evs {
  margin-top: 12px;
  padding: 0 12px;
  display: grid;
  gap: 8px;
}
.ev2 {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto 56px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.6s var(--m-spring), translate 0.6s var(--m-spring);
}
.play .ev2 {
  opacity: 1;
  translate: 0 0;
}
.play .ev2:nth-child(2) {
  transition-delay: 0.35s;
}
.play .ev2:nth-child(3) {
  transition-delay: 0.7s;
}
.ev2.price {
  background: var(--accent-soft);
}
.ev2.soon {
  background: var(--danger-soft);
}
.ev2.result {
  background: var(--success-soft);
}
.ev2 .c {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}
.ev2 .c img {
  width: 20px;
  height: 20px;
}
/* 알림의 앱 아이콘 — 둥근 네모 */
.ev2 .c.app {
  border-radius: 9px;
  overflow: hidden;
}
.ev2 .c.app img {
  width: 100%;
  height: 100%;
}
.ev2 .tm {
  align-self: start;
  font-size: 12px;
  line-height: 19px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.ev2 .m b {
  display: block;
  font-size: 13.5px;
  line-height: 19px;
  font-weight: 700;
}
.ev2 .m em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12.5px;
  line-height: 17px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.ev2.price strong {
  color: var(--fall);
}
.ev2.result strong {
  color: var(--text);
}
.ev2 .ph {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

/* 21:00 — AI 에게 묻기 */
.ask {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bubble-me {
  align-self: flex-end;
  max-width: 88%;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 20px;
  background: #fff;
  font-size: 15px;
  line-height: 21px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(18, 19, 20, 0.05);
}
.bubble-me .caret {
  display: inline-block;
  width: 2px;
  height: 17px;
  margin-left: 1px;
  vertical-align: -3px;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.answer {
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.6s var(--m-spring), translate 0.6s var(--m-spring);
}
.answer.on {
  opacity: 1;
  translate: 0 0;
}
.answer p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 22px;
  color: var(--body);
}
.answer p b {
  color: var(--text);
}
.answer .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.answer .chips span {
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.lc {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.lc img {
  width: 88px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
}
.lc .m {
  flex: 1;
  min-width: 0;
}
.lc .nm {
  font-size: 14px;
  line-height: 19px;
  font-weight: 600;
}
.lc .wh {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-faint);
}
.lc .pr {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.lc .pr b {
  font-size: 15px;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}
.lc .pr span {
  font-size: 12px;
  font-weight: 600;
  color: var(--rise);
}
.lc .dd {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
/* 07:40 — 찾기. 도우미 타일과 같은 좌우 판이지만 바탕은 무늬 없이, 오른쪽은 순위 목록 한 장 */
.tile.wide.findt {
  background: var(--bg-subtle);
}
.findt .cond {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.findt .cond span {
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.plx {
  padding: 20px 8px 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.plx-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 0 14px 12px;
}
.plx-h b {
  font-size: 15px;
}
.plx-h small {
  font-size: 12.5px;
  color: var(--text-faint);
}
.plx-h em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
.plx ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.plx li {
  display: grid;
  grid-template-columns: 22px 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  opacity: 0;
  translate: 0 10px;
  transition: opacity 0.5s var(--m-ease), translate 0.6s var(--m-spring);
}
.plx.play li {
  opacity: 1;
  translate: 0 0;
}
.plx.play li:nth-child(2) { transition-delay: 0.12s; }
.plx.play li:nth-child(3) { transition-delay: 0.24s; }
.plx.play li:nth-child(4) { transition-delay: 0.36s; }
.plx.play li:nth-child(5) { transition-delay: 0.48s; }
.plx .no {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
.plx img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}
.plx .m b {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.plx .m small {
  display: block;
  margin-top: 1px;
  font-size: 12.5px;
  color: var(--text-faint);
}
.plx li em {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.plx-more {
  margin: 0;
  padding: 10px 14px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--text-faint);
}
@media (max-width: 640px) {
  .findt .cond {
    margin-top: 20px;
  }
  .plx {
    margin-top: 24px;
    padding: 16px 4px 12px;
  }
  .plx-h {
    flex-direction: column;
    gap: 2px;
    padding: 0 12px 10px;
  }
  /* 좁은 화면 — 이유 알약은 이름 밑으로 */
  .plx li {
    grid-template-columns: 18px 44px minmax(0, 1fr);
    gap: 4px 10px;
    padding: 10px 12px;
  }
  .plx img {
    width: 44px;
    height: 44px;
    grid-row: 1 / span 2;
    grid-column: 2;
  }
  .plx .no {
    grid-row: 1 / span 2;
  }
  .plx li em {
    grid-column: 3;
    justify-self: start;
    font-size: 12px;
  }
}

/* 12:30 — 지도. 핀 = 최저가 알약(종류 한 글자 + 값), 고른 핀은 강조색 + 아래 물건 카드 */
.mapv {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}
.mapv .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mchip {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(18, 19, 20, 0.08);
}
.mchip b {
  color: var(--accent);
}
.pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px 0 4px;
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(18, 19, 20, 0.14);
  translate: -50% -100%;
  opacity: 0;
  scale: 0.6;
  transition: opacity 0.3s var(--m-ease), scale 0.5s var(--m-spring);
}
.pin::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  background: inherit;
  rotate: 45deg;
}
.pin i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-style: normal;
  font-size: 11px;
}
.pin em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--danger);
}
.pin.sel {
  z-index: 2;
  height: 32px;
  background: var(--accent);
  color: #fff;
  font-size: 13.5px;
}
.pin.sel i {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.mapv.play .pin {
  opacity: 1;
  scale: 1;
}
.mapv.play .pin:nth-of-type(2) { transition-delay: 0.08s; }
.mapv.play .pin:nth-of-type(3) { transition-delay: 0.16s; }
.mapv.play .pin:nth-of-type(4) { transition-delay: 0.24s; }
.mapv.play .pin:nth-of-type(5) { transition-delay: 0.32s; }
.mapv.play .pin:nth-of-type(6) { transition-delay: 0.4s; }
.mapv.play .pin:nth-of-type(7) { transition-delay: 0.48s; }
.mcard {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 19, 20, 0.12);
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.4s var(--m-ease) 0.9s, translate 0.6s var(--m-spring) 0.9s;
}
.mapv.play .mcard {
  opacity: 1;
  translate: 0 0;
}
.mcard img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}
.mcard .m {
  min-width: 0;
}
.mcard .m > b {
  display: block;
  font-size: 14.5px;
}
.mcard small {
  display: block;
  font-size: 12px;
  color: var(--text-faint);
}
.mcard span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.mcard span b {
  color: var(--text);
}
/* 23:10 — 기일입찰표. 법원 양식처럼 괘선 · 숫자 칸 열둘(천억~일) · 한글 금액 */
.bidf {
  width: 100%;
  max-width: 400px;
  padding: 22px 22px 18px;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  rotate: -1.5deg;
}
.bf-t {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-align: center;
}
.bidf dl {
  margin: 0;
}
.bidf dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.bidf dt {
  color: var(--text-faint);
}
.bidf dd {
  margin: 0;
  font-weight: 600;
}
.bf-p {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.bf-p small {
  font-size: 12px;
  color: var(--text-faint);
}
.dg {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border: 1px solid var(--line-strong);
}
.dg i {
  height: 26px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.dg i:first-child {
  border-left: 0;
}
/* 칸이 왼쪽부터 채워진다 — 들어올 때 한 번 */
.bidf .dg i {
  opacity: 0;
  transition: opacity 0.25s var(--m-ease);
}
.bidf.play .dg i {
  opacity: 1;
}
.bidf.play .dg i:nth-child(n + 4) { transition-delay: 0.15s; }
.bidf.play .dg i:nth-child(n + 6) { transition-delay: 0.3s; }
.bidf.play .dg i:nth-child(n + 8) { transition-delay: 0.45s; }
.bidf.play .dg i:nth-child(n + 10) { transition-delay: 0.6s; }
.bf-p em {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-style: normal;
  font-size: 13.5px;
  font-weight: 700;
}
.chk {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chk li {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: var(--success-soft, #e6f6ec);
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
}
.chk li::before {
  content: '✓';
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 10px;
}
@media (max-width: 640px) {
  .mapv {
    height: 300px;
  }
  .pin {
    font-size: 11.5px;
  }
  /* 좁은 화면 — 가장자리에 걸리는 핀 둘은 뺀다 */
  .pin:nth-of-type(5),
  .pin:nth-of-type(7) {
    display: none;
  }
  .bidf {
    padding: 18px 16px 14px;
  }
  .dg i {
    height: 22px;
    font-size: 12px;
  }
}

/* 15:10 — 경매 도우미. helper-character.tsx(파랑 덩어리 + 눈 막대 둘, 눈 기울기가 판정) · helper-fab.tsx 말풍선 */
.tile.s12 {
  grid-column: span 12;
}
.tile.wide {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  padding: 48px 48px 48px;
  min-height: 0;
  background: linear-gradient(120deg, #f6f8fa 40%, #eaf3ff);
}
.wide .side {
  display: flex;
  flex-direction: column;
}
/* 내 조건 — 도우미가 지금 기대는 줄이 켜진다 */
.me {
  margin-top: auto;
  padding: 18px 20px 8px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.me-h b {
  font-size: 15px;
}
.me-h small {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-faint);
}
.me dl {
  margin: 10px 0 0;
}
.me dl > div {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  transition: color 0.4s var(--m-ease);
}
.me dl > div::before {
  content: '';
  position: absolute;
  inset: 4px -10px;
  z-index: -1;
  border-radius: 10px;
  background: var(--accent-soft);
  opacity: 0;
  scale: 0.96;
  transition: opacity 0.4s var(--m-ease), scale 0.4s var(--m-spring);
}
.me dl {
  position: relative;
  isolation: isolate;
}
.me dl > div.hit::before {
  opacity: 1;
  scale: 1;
}
.me dl > div.hit + div {
  border-top-color: transparent;
}
.me dt {
  width: 36px;
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
}
.me dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.me dd small {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-faint);
}
.me .hit dt,
.me .hit dd {
  color: var(--accent);
}

/* 대화 */
.chat {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}
.chat-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.chat-h b {
  display: block;
  font-size: 15px;
  line-height: 20px;
}
.chat-h small {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-faint);
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 20px 26px;
}
.ex {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.6s var(--m-spring), translate 0.6s var(--m-spring);
}
.ex.open {
  opacity: 1;
  translate: 0 0;
}
/* 「열어 봤어요」 — 대화 속 시스템 줄 */
.opened {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--text-faint);
}
.opened img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}
.opened b {
  color: var(--body);
  font-weight: 600;
}
.msg {
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s var(--m-ease);
}
.talk .msg,
.said .msg {
  opacity: 1;
}
.bb {
  max-width: 440px;
}
.bb p {
  position: relative;
  margin: 0;
  padding: 11px 15px;
  border-radius: 18px 18px 18px 6px;
  background: var(--bg-subtle);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
/* 다 찍힌 크기로 먼저 선다 — 글자가 늘 때마다 풍선이 자라면 풍선을 보게 된다(helper-fab) */
.bb .ghost {
  visibility: hidden;
}
.bb .tp {
  position: absolute;
  inset: 11px 15px;
}
.talk .bb .tp::after {
  content: '▍';
  color: var(--accent);
}
.rs {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  opacity: 0;
  translate: 0 6px;
  transition: opacity 0.5s var(--m-spring), translate 0.5s var(--m-spring);
}
.said .rs {
  opacity: 1;
  translate: 0 0;
}
.rs span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 18px;
  font-weight: 500;
}
.rs.good span {
  background: rgba(3, 169, 77, 0.1);
  color: var(--success);
}
.rs.block span {
  background: rgba(244, 54, 30, 0.08);
  color: var(--danger);
}
.rs.caution span {
  background: rgba(177, 108, 4, 0.09);
  color: var(--warning);
}
/* 도우미 — 몸은 늘 파랑, 눈이 판정을 따른다: good 「//」 · caution 「||」 · block 「/ \」 */
.av {
  --z: 40px;
  position: relative;
  flex: none;
  width: var(--z);
  height: var(--z);
  transform-origin: 50% 100%;
  animation: breathe 1.8s ease-in-out infinite;
}
/* 도우미 — 앱 helper-character 와 같은 그림(털 인형 · 콩알 눈) */
.av img,
.helper-big img {
  display: block;
  width: 100%;
  height: 100%;
}
.av.sm {
  --z: 32px;
}
/* 말하는 동안 몸을 까딱인다 — 입이 없는 캐릭터라 몸이 말한다 */
.talk .av {
  animation: hop 0.38s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    transform: scale(1.04, 0.95);
  }
}
@keyframes hop {
  45% {
    transform: translateY(-4px);
  }
}
@keyframes wink {
  0%,
  94%,
  100% {
    transform: rotate(var(--t)) scaleY(1);
  }
  97% {
    transform: rotate(var(--t)) scaleY(0.1);
  }
}

/* ══ 3. 분석 — 왼쪽은 붙어 있는 목차, 오른쪽 판 넷이 지나간다 ══════ */
.anasec {
  padding: 40px 0 160px;
}
.ana {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}
.ana-side {
  position: sticky;
  top: 120px;
}
.ana-side h2 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.ana-side > p {
  margin: 22px 0 0;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-muted);
}
.ana-nav {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.ana-nav li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--icon-off);
  cursor: pointer;
  transition: color 0.3s var(--m-ease);
}
.ana-nav li span {
  font-size: 13px;
  font-weight: 400;
}
.ana-nav li small {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  translate: -6px 0;
  transition: opacity 0.3s, translate 0.4s var(--m-spring);
}
.ana-nav li.on {
  color: var(--text);
}
.ana-nav li.on span,
.ana-nav li.on small {
  color: var(--accent);
  opacity: 1;
  translate: 0 0;
}
.ana-side .ana-note {
  margin: 20px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-faint);
}
.ana-main {
  display: grid;
  gap: 24px;
}
.ap {
  padding: 36px;
  border-radius: 28px;
  background: var(--bg-subtle);
}
.ah small {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.ah b {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.af {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
}
.af b {
  display: block;
  font-size: 15px;
  color: var(--success);
}
.af.total b {
  color: var(--text);
  font-size: 17px;
}
.af span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}
/* 권리 줄 — 말소기준에서 선이 굵어진다 */
.rtl {
  position: relative;
  margin: 24px 0 0;
  padding: 0 0 0 20px;
  list-style: none;
}
.rtl::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--line-strong);
}
.rtl li {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 10px 0;
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.5s var(--m-spring), translate 0.5s var(--m-spring);
}
.drawn .rtl li {
  opacity: 1;
  translate: 0 0;
}
.rtl li:nth-child(2) { transition-delay: 0.1s; }
.rtl li:nth-child(3) { transition-delay: 0.2s; }
.rtl li:nth-child(4) { transition-delay: 0.3s; }
.rtl li:nth-child(5) { transition-delay: 0.4s; }
.rtl li::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--line-strong);
}
.rtl li.base::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}
.rtl time {
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.rtl b {
  display: block;
  font-size: 14.5px;
  line-height: 20px;
}
.rtl span {
  display: block;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--text-faint);
}
.rtl em {
  padding: 2px 9px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--icon-off);
}
.rtl em.k {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.rtl li:nth-child(2) em {
  background: var(--success-soft);
  color: var(--success);
  text-decoration: none;
}
/* 배당 — 낙찰가 한 줄을 받는 사람 몫으로 가른다 */
.stack {
  margin-top: 24px;
  display: flex;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.stack i {
  width: 0;
  background: var(--c);
  transition: width 0.9s var(--m-spring);
}
.stack i + i {
  border-left: 2px solid var(--bg-subtle);
}
.drawn .stack i {
  width: var(--w);
}
.dtab {
  margin-top: 16px;
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.dtab td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.dtab td:first-child {
  font-weight: 600;
}
.dtab td:first-child i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 3px;
  background: var(--c);
}
.dtab td:nth-child(2) {
  color: var(--text-faint);
  font-size: 12.5px;
}
.dtab td:last-child {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.dtab td small {
  margin-left: 4px;
  font-size: 11.5px;
  color: var(--success);
}
.dtab tr.me td {
  color: var(--success);
}
/* 명도 — 날짜 다섯 개, 끝이 입주 */
.steps {
  position: relative;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.steps::before {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 6px;
  height: 2px;
  background: var(--line-strong);
}
.drawn .steps::before {
  background: var(--accent);
  transition: background 1.2s var(--m-ease);
}
.steps li {
  position: relative;
  padding-top: 24px;
}
.steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.steps li.goal::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}
.steps time {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.steps b {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 20px;
}
.steps span {
  display: block;
  font-size: 12px;
  line-height: 17px;
  color: var(--text-faint);
}
.alt {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.alt b {
  color: var(--text);
}
.alt em {
  font-style: normal;
  color: var(--text-faint);
}
/* 자금 — 영수증처럼 */
.money {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.money li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.money span {
  font-size: 14.5px;
  font-weight: 600;
}
.money em {
  grid-row: 2;
  font-style: normal;
  font-size: 12.5px;
  color: var(--text-faint);
}
.money b {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
/* 투자 제언 — 전략 넷(앱 「전략 비교」), 권하는 쪽만 흰 판 */
.strat {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.strat div {
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.strat div.on {
  background: #fff;
  border-color: var(--accent);
}
.strat span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.strat .on span {
  color: var(--accent);
}
.strat b {
  display: block;
  margin-top: 6px;
  font-size: 15.5px;
  letter-spacing: -0.02em;
}
.strat em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11.5px;
  color: var(--text-faint);
}
/* 주요 지표 — 값 + 출처 기관. 출처가 곧 신뢰라 지우지 않는다 */
.evi {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.evi li {
  padding: 14px 4px 12px;
  border-bottom: 1px solid var(--line);
}
.evi span {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
}
.evi b {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.evi small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--text-faint);
}
/* AI 질문 — 판이 지나갈 때 한 번: 질문 → 도구 줄 → 답 */
.qa {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.qa .q {
  justify-self: end;
  max-width: 80%;
  margin: 0;
  padding: 11px 16px;
  border-radius: 18px 18px 6px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 14.5px;
}
.qa .tool {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
}
.qa .tool i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
.qa .a {
  padding: 16px 18px;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
}
.qa .a p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
}
.qa sup {
  margin-left: 1px;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
}
.qa .src {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.qa .src span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  font-size: 12px;
  color: var(--text-muted);
}
.aiq .sugg {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.aiq .sugg span {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--text-muted);
}
.aiq .q,
.aiq .tool,
.aiq .a {
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.4s var(--m-ease), translate 0.5s var(--m-spring);
}
.aiq.drawn .q {
  opacity: 1;
  translate: 0 0;
}
.aiq.drawn .tool {
  animation: toolLine 1.8s var(--m-ease) 0.5s both;
}
@keyframes toolLine {
  0% {
    opacity: 0;
    translate: 0 8px;
  }
  15%,
  80% {
    opacity: 1;
    translate: 0 0;
  }
  100% {
    opacity: 0;
    height: 0;
  }
}
.aiq.drawn .a {
  opacity: 1;
  translate: 0 0;
  transition-delay: 2.2s;
}
/* 분석 절 끝 — 겹쳐 읽는 자료 목록 */
.srcs {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--text-muted);
}
.srcs b {
  width: 100%;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
}
@media (max-width: 1080px) {
  .ana {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .ana-side {
    position: static;
  }
  .ana-nav {
    display: none;
  }
}
@media (max-width: 640px) {
  .anasec {
    padding: 20px 0 100px;
  }
  .ana-side h2 {
    font-size: 30px;
  }
  .ap {
    padding: 24px 18px;
    border-radius: 22px;
  }
  .ah b {
    font-size: 19px;
  }
  .rtl li {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .rtl time {
    grid-column: 1 / -1;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-left: 24px;
  }
  .steps::before {
    left: 6px;
    right: auto;
    top: 6px;
    bottom: 6px;
    width: 2px;
    height: auto;
  }
  .steps li {
    padding-top: 0;
  }
  .steps li::before {
    left: -24px;
    top: 3px;
  }
  .dtab td:nth-child(2) {
    display: none;
  }
  .strat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .evi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .srcs {
    margin-top: 48px;
    gap: 6px 14px;
    font-size: 13px;
  }
}

/* ══ 4. 값 — 표 한 장이 절을 가로지른다(카드 둘 나란히가 아니라) ══════ */
.pricesec {
  padding: 40px 0 160px;
}
.pricesec h2 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.pricesec .stat {
  margin: 28px 0 0;
  max-width: 760px;
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-muted);
}
.pricesec .stat b {
  font-family: var(--serif);
  font-size: 1.35em;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.ledger {
  margin-top: 56px;
  border-top: 2px solid var(--text);
}
.lh,
.sold {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 2fr) 120px minmax(0, 1.6fr);
  align-items: center;
  column-gap: 24px;
}
.lh {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-faint);
}
.lh span:nth-child(3) {
  text-align: right;
}
.roll {
  position: relative;
  height: 400px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 72%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 72%, transparent);
}
.roll .track {
  animation: roll 40s linear infinite;
}
.roll:hover .track,
.roll.paused .track {
  animation-play-state: paused;
}
@keyframes roll {
  to {
    translate: 0 -50%;
  }
}
.sold {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-soft);
}
.sold .m b {
  display: block;
  font-size: 15px;
  line-height: 21px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sold .m span,
.sold .ct {
  display: block;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sold .p {
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sold .rt {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sold .rt i {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--w), var(--line-soft) var(--w));
}
.sold .rt span {
  width: 52px;
  text-align: right;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
/* 예상 낙찰가 — 표 아래 띠. 예시임을 밝힌다 */
/* 적중 기록(실측) — 예시 카드 아래 한 줄 판 */
.proof {
  margin-top: 16px;
  padding: 24px 40px;
  border-radius: 28px;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}
.proof .hd b {
  display: block;
  font-size: 17px;
  font-weight: 700;
}
.proof .hd small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.proof dl {
  display: flex;
  gap: 36px;
}
.proof dt {
  font-size: 12.5px;
  color: var(--text-muted);
}
.proof dd {
  margin-top: 2px;
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.proof dd small {
  font-size: 15px;
  font-weight: 700;
  margin-left: 1px;
}
@media (max-width: 640px) {
  .proof {
    padding: 20px;
  }
  .proof dl {
    gap: 20px;
  }
  .proof dd {
    font-size: 22px;
  }
}
.est {
  margin-top: 40px;
  padding: 36px 40px 44px;
  border-radius: 28px;
  background: var(--bg-subtle);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: center;
}
.est .et small {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-faint);
}
.est .et b {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.est .et span {
  display: block;
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}
.plot {
  position: relative;
  height: 110px;
  border-bottom: 1px solid var(--line-strong);
}
.plot .axis span {
  position: absolute;
  bottom: -26px;
  translate: -50% 0;
  font-size: 12px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.plot .zone {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 12px 12px 0 0;
  background: rgba(37, 99, 235, 0.08);
}
.plot .zone em {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.plot .minbid {
  position: absolute;
  top: -6px;
  bottom: 0;
  border-left: 1.5px dashed var(--text-faint);
}
.plot .minbid span {
  position: absolute;
  top: -12px;
  right: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.plot .dots i {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: 0 0 -7px -7px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 3px var(--bg-subtle);
  opacity: 0;
  scale: 0.2;
  transition: opacity 0.3s, scale 0.5s var(--m-spring);
}
.plot .dots i.in-zone {
  background: var(--accent);
}
.plot .dots i.on {
  opacity: 1;
  scale: 1;
}

/* ══ 5. 마무리 · 바닥 ═════════════════════════════════ */
.endsec {
  padding: 0 0 120px;
}
.end {
  position: relative;
  padding: 120px 40px 96px;
  border-radius: 40px;
  text-align: center;
  background: radial-gradient(80% 90% at 50% 0%, #eaf3ff, #f6f8fa 70%);
  overflow: hidden;
}
.end h2 {
  margin: 36px 0 0;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.end p {
  margin: 22px auto 0;
  max-width: 520px;
  text-wrap: balance;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
}
.end .actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
/* 도우미가 기다린다 — 통통 뛰고 눈을 깜빡인다 */
.helper-big {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto;
  transform-origin: 50% 100%;
  animation: hopbig 2.4s var(--m-ease) 3;
}
@keyframes hopbig {
  0%,
  40%,
  100% {
    transform: translateY(0) scale(1, 1);
  }
  8% {
    transform: translateY(0) scale(1.08, 0.9);
  }
  20% {
    transform: translateY(-18px) scale(0.96, 1.05);
  }
  32% {
    transform: translateY(0) scale(1.06, 0.93);
  }
}
.foot {
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
}
.foot .fr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.foot .brand {
  font-size: 15px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.foot p {
  margin: 24px 0 0;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-faint);
}
.foot p b {
  font-weight: 600;
  color: var(--text-muted);
}
.foot .copy {
  margin-top: 8px;
}

@media (max-width: 1080px) {
  .est {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .pricesec {
    padding: 20px 0 100px;
  }
  .pricesec h2,
  .end h2 {
    font-size: 32px;
  }
  .pricesec .stat {
    font-size: 16px;
  }
  .lh,
  .sold {
    grid-template-columns: minmax(0, 1fr) auto 64px;
    column-gap: 12px;
  }
  .lh span:nth-child(2),
  .sold .ct {
    display: none;
  }
  .sold .rt i {
    display: none;
  }
  .est {
    padding: 28px 22px 40px;
    gap: 40px;
  }
  .end {
    padding: 80px 20px 64px;
    border-radius: 28px;
  }
  .ev2 {
    grid-template-columns: 32px minmax(0, 1fr) auto;
  }
  .ev2 .ph {
    display: none;
  }
}

/* ── 등장 ──────────────────────────────────────────── */
.rv {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 1s var(--m-spring), translate 1s var(--m-spring);
}
.rv.in {
  opacity: 1;
  translate: 0 0;
}
.d1 {
  transition-delay: 0.12s !important;
}
.d2 {
  transition-delay: 0.24s !important;
}
.d3 {
  transition-delay: 0.36s !important;
}
.d4 {
  transition-delay: 0.5s !important;
}
.stage.rv {
  translate: 0 120px;
  transition-duration: 1.6s;
}
.stage.rv.in {
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .rv,
  .ev2,
  .rtl li,
  .plot .dots i,
  .ex,
  .msg,
  .rs,
  .plx li,
  .pin,
  .mcard,
  .bidf .dg i,
  .aiq .q,
  .aiq .a,
  .answer {
    opacity: 1 !important;
    translate: 0 0 !important;
    scale: 1 !important;
  }
}

/* ── 반응형 ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .note {
    display: none;
  }
  .days .head {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile.s5,
  .tile.s7 {
    grid-column: span 12;
  }
  .tile.wide {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .nav .wrap {
    height: 60px;
  }
  .hero {
    padding-top: 120px;
  }
  .docwall {
    columns: 2 200px;
    column-gap: 24px;
    font-size: 11px;
    -webkit-mask-image: radial-gradient(ellipse 90% 40% at 50% 40%, transparent 50%, #000 100%);
    mask-image: radial-gradient(ellipse 90% 40% at 50% 40%, transparent 50%, #000 100%);
  }
  .hero .lead {
    font-size: 16px;
  }
  .stage {
    margin-top: 56px;
    height: 440px;
  }
  .phone {
    --s: 0.66;
  }
  .days {
    padding: 100px 0;
  }
  .bento {
    margin-top: 48px;
    gap: 12px;
  }
  .tile {
    padding: 28px 24px 0;
    min-height: 0;
    border-radius: 24px;
  }
  .scene {
    margin: 32px -24px 0;
    padding: 0 16px 24px;
  }
  .when b {
    font-size: 32px;
  }
  .tile h3 {
    font-size: 22px;
  }
  
  
  
  
  
  
  .tile.wide {
    padding: 28px 16px 16px;
  }
  .wide .side {
    padding: 0 8px;
  }
  .me {
    margin-top: 28px;
  }
  .thread {
    padding: 18px 14px 20px;
  }
  .bb p {
    font-size: 14px;
    line-height: 20px;
  }
}

/* 좁은 화면 머리 — 「앱 받기」 하나만 */
@media (max-width: 640px) {
  .nav .pill.line {
    display: none;
  }
}
