@font-face {
  font-family: "NanumSquare Neo";
  src: url("fonts/NanumSquareNeo-Variable.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}/* 빌딩청년 계산기 — 라이트 v5
   Layout: 반투명 고정 헤더(브랜드·분류 메가메뉴·상담) → 스카이라인이 그려지는 히어로 → [입력+공제 | 네이비 고지서] → 해설·FAQ → 상담 밴드
   Concept: 아침의 설계 사무실 — 따뜻한 미색 종이, 잉크 네이비, 금박 포인트, 선으로 그려지는 건물 */
:root {
  --bg: #F6F3EC;
  --bg-2: #EFEADF;
  --surface: #FFFFFF;
  --surface-2: #FBF9F4;
  --field: #F7F5EF;
  --line: rgba(15, 27, 45, 0.09);
  --line-2: rgba(15, 27, 45, 0.16);
  --ink: #101B2C;
  --muted: #5D6777;
  --dim: #8A93A1;
  --gold: #B48A3C;
  --gold-ink: #8C6826;
  --gold-hi: #E8CB8C;
  --gold-soft: rgba(180, 138, 60, 0.10);
  --gold-line: rgba(180, 138, 60, 0.38);
  --navy: #0F1B2D;
  --navy-2: #182840;
  --up: #C4502D;
  --down: #1F8A5B;
  --focus: #B48A3C;
  --kakao: #FEE500;
  --display: "NanumSquare Neo", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --body: "NanumSquare Neo", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --r: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; color: var(--ink); font: 15px/1.7 var(--body); word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; letter-spacing: -0.01em;
  background:
    radial-gradient(1100px 480px at 85% -140px, rgba(232, 203, 140, 0.35), transparent 62%),
    radial-gradient(800px 420px at -10% 0%, rgba(173, 196, 222, 0.30), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
}
a { color: inherit; }
::selection { background: rgba(232, 203, 140, 0.6); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }
[hidden] { display: none !important; }

/* ---------- 헤더 ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: rgba(246, 243, 236, 0.82); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 18px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 30px; height: 30px; color: var(--navy); transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-mark .g { stroke: var(--gold); }
.brand-name { font: 800 17px/1.1 var(--body); letter-spacing: -0.02em; }
.brand-name small { display: block; font: 400 10.5px/1.5 var(--body); color: var(--dim); letter-spacing: 0.02em; }
.top-cta { display: flex; gap: 8px; margin-left: auto; flex: none; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; white-space: nowrap;
  font-weight: 700; font-size: 13px; text-decoration: none; border: 1px solid var(--line-2); color: var(--ink); background: var(--surface);
  transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s;
}
.pill:hover { border-color: var(--gold-line); transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(15, 27, 45, .5); }
.pill.kakao { background: var(--kakao); color: #1A1700; border-color: #F2D900; }
.pill svg { width: 15px; height: 15px; }
@media (max-width: 640px) { .pill.blog { display: none; } .brand-name small { display: none; } }

/* ---------- 분류 메뉴 + 메가메뉴 ---------- */
.rail { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.72); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 51px); z-index: 25; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.rail ul.cats { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.rail .cat { position: relative; }
.rail .cat > a {
  position: relative; display: flex; align-items: center; gap: 6px; padding: 12px 14px; text-decoration: none; color: var(--muted);
  font-weight: 700; font-size: 14px; white-space: nowrap;
}
.rail .cat > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.rail .cat > a[aria-current="page"] { color: var(--ink); }
.rail .cat > a[aria-current="page"]::after, .rail .cat:hover > a::after { transform: scaleX(1); }
.rail .cat > a .caret { width: 9px; height: 9px; opacity: .5; transition: transform .25s var(--ease); }
.rail .cat:hover > a, .rail .cat:focus-within > a { color: var(--ink); }
.rail .cat:hover > a .caret, .rail .cat:focus-within > a .caret { transform: rotate(180deg); opacity: .9; }
.mega {
  position: absolute; top: 100%; left: 0; min-width: 470px; padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px;
  background: rgba(255, 255, 255, 0.98); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(15, 27, 45, .35);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top left; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.mega.right { left: auto; right: 0; transform-origin: top right; }
.rail .cat:hover .mega, .rail .cat:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: block; padding: 9px 11px; border-radius: 11px; text-decoration: none; transition: background .15s; }
.mega a b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.mega a span { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }
.mega a:hover, .mega a:focus-visible { background: var(--gold-soft); }
.mega a:hover b { color: var(--gold-ink); }
.mega a.all { grid-column: 1 / -1; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 11px 11px; font-size: 12.5px; color: var(--gold-ink); font-weight: 700; }
@media (max-width: 900px) {
  .rail .wrap { padding-right: 0; }
  .rail ul.cats { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 40px; }
  .rail .cat > a .caret { display: none; }
  .mega { display: none; }
}

.subrail { border-bottom: 1px solid var(--line); }
.subrail ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subrail a {
  display: block; padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap;
  color: var(--muted); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, color .2s;
}
.subrail a:hover { color: var(--ink); border-color: var(--gold-line); }
.subrail a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 900px) { .subrail .wrap { padding-right: 0; } }

/* ---------- 히어로 ---------- */
.hero { position: relative; padding-block: 44px 30px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(15, 27, 45, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 27, 45, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 30% 20%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 90% at 30% 20%, #000 25%, transparent 72%);
  animation: grid-drift 40s linear infinite;
}
@keyframes grid-drift { to { background-position: 32px 32px, 32px 32px; } }
.hero-text { position: relative; z-index: 2; max-width: 700px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--gold-ink); }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: var(--gold); }
h1 { font: 800 clamp(28px, 4.4vw, 44px)/1.25 var(--display); margin: 10px 0 12px; text-wrap: balance; letter-spacing: -0.03em; }
.lead { color: var(--muted); max-width: 64ch; margin: 0; font-size: 15.5px; }

/* 스카이라인 */
.sky { position: absolute; right: 0; bottom: 0; width: min(46%, 520px); height: auto; z-index: 1; pointer-events: none; }
.sky .bd { fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s var(--ease) forwards; }
.sky .bd.main { stroke: var(--gold); stroke-width: 1.8; }
.sky .ground { stroke: var(--navy); stroke-width: 1.4; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.2s var(--ease) forwards; }
.sky .win { fill: var(--gold); opacity: 0; animation: lit .6s ease forwards; }
.sky .win.blink { animation: lit .6s ease forwards, blink 5s ease-in-out infinite; }
.sky .sun { fill: url(#sunGrad); transform-box: fill-box; transform-origin: center; opacity: 0; animation: rise 2.2s var(--ease) .2s forwards; }
.sky .crane { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.6s var(--ease) 2s forwards; }
.sky .hook { transform-box: fill-box; transform-origin: top; animation: swing 4s ease-in-out 3s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes lit { to { opacity: .9; } }
@keyframes blink { 0%, 100% { opacity: .9; } 50% { opacity: .2; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.hero .sky { width: min(34%, 360px); opacity: .9; }
.home-hero .sky { width: min(48%, 560px); opacity: 1; }
@media (max-width: 900px) { .hero .sky { display: none; } .home-hero .sky { display: block; position: relative; width: 100%; max-width: 480px; margin: 24px auto -10px; } }

/* 등장 모션 */
.hero-text > * { animation: up .8s var(--ease) both; }
.hero-text > *:nth-child(2) { animation-delay: .08s; }
.hero-text > *:nth-child(3) { animation-delay: .16s; }
.hero-text > *:nth-child(4) { animation-delay: .24s; }
.hero-text > *:nth-child(5) { animation-delay: .32s; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 계산 영역 ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 410px); gap: 22px; align-items: start; padding-bottom: 52px; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 24px 48px -32px rgba(15, 27, 45, 0.35);
  animation: up .7s var(--ease) both .1s;
}
.calc-form { display: grid; gap: 18px; }
.group { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label, .field > .label, .label { font-weight: 700; font-size: 13.5px; color: var(--ink); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 480px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
input[type="text"], input[type="date"], input[type="number"], input[type="search"], select {
  width: 100%; min-width: 0; font: 700 16px/1.3 var(--body); color: var(--ink); background: var(--field);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; font-variant-numeric: tabular-nums;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:hover, select:hover { border-color: var(--line-2); }
input:focus, select:focus { outline: none; background: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(180, 138, 60, 0.15); }
select {
  appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
input.money, input[type="number"] { text-align: right; }
.unit { position: relative; }
.unit::after { content: "원"; position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 13.5px; pointer-events: none; }
.unit input.money { padding-right: 34px; }
.unit.u-x::after { content: attr(data-unit); }
.unit.u-none::after { content: none; }
.unit.u-x input { padding-right: 52px; }
.hint { font-size: 12.5px; color: var(--gold-ink); min-height: 1em; font-weight: 700; text-align: right; }
.help { font-size: 12.5px; color: var(--muted); }
.checks { display: grid; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--navy); flex: none; }
.check small { display: block; color: var(--muted); font-size: 12.5px; }
.form-head { font: 800 12px var(--body); letter-spacing: .08em; color: var(--gold-ink); border-top: 1px solid var(--line); padding-top: 16px; }

.main-col { display: grid; gap: 22px; align-content: start; min-width: 0; }
@media (max-width: 900px) {
  .main-col { display: contents; }
  .calc > .main-col > .calc-form { order: 1; }
  .calc > .bill { order: 2; }
  .calc > .main-col > .ded { order: 3; }
}

/* ---------- 네이비 고지서 ---------- */
.bill {
  position: sticky; top: 118px; border-radius: var(--r); padding: 26px 26px 22px; overflow: hidden; color: #EEF1F6;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(232, 203, 140, 0.22), transparent 70%),
    linear-gradient(170deg, var(--navy-2), var(--navy) 65%);
  box-shadow: 0 40px 80px -40px rgba(15, 27, 45, 0.7), 0 2px 0 rgba(255, 255, 255, .06) inset;
  animation: up .7s var(--ease) both .2s;
}
.bill::before {
  content: ""; display: block; height: 5px; margin: -26px -26px 22px;
  background: repeating-linear-gradient(90deg, var(--gold-hi) 0 14px, transparent 14px 22px);
}
.bill::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.12) 45%, transparent 60%);
  transform: translateX(-120%);
}
.bill.pulse::after { animation: sheen .9s var(--ease); }
@keyframes sheen { to { transform: translateX(120%); } }
.bill-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; font-weight: 700; color: #AEB8C8; }
.bill-date { font-size: 11px; font-weight: 400; color: #7F8BA0; }
.bill-total { margin: 10px 0 0; font: 900 clamp(32px, 5vw, 44px)/1.08 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--gold-hi); }
.bill-total output { background: linear-gradient(180deg, #FFF8E6, var(--gold-hi) 60%, #C9A25C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bill-total span { font-size: .42em; margin-left: 5px; color: #AEB8C8; font-family: var(--body); }
.bill-kr { margin: 6px 0 16px; color: #AEB8C8; font-weight: 700; font-size: 14px; min-height: 1em; }
.bill-lines { margin: 0; border-top: 1px dashed rgba(255, 255, 255, 0.18); }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); animation: fadein .45s ease both; }
.line:nth-child(2) { animation-delay: .03s; } .line:nth-child(3) { animation-delay: .06s; } .line:nth-child(4) { animation-delay: .09s; }
.line:nth-child(5) { animation-delay: .12s; } .line:nth-child(6) { animation-delay: .15s; } .line:nth-child(n+7) { animation-delay: .18s; }
@keyframes fadein { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.line dt { font-size: 13.5px; font-weight: 700; min-width: 0; }
.line dt small { display: block; font-weight: 400; font-size: 11.5px; color: #8F9BB0; }
.line dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; font-size: 14px; }
.line.minus dd, .line.ded dd, .line.ok dd { color: #7FDDB2; }
.line.warn dd { color: #FF9C7A; }
.line.muted dt, .line.muted dd { color: #A3AEC0; font-weight: 400; }
.line.info dd { color: var(--gold-hi); }
.bill-cmp { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(232, 203, 140, 0.1); border: 1px solid rgba(232, 203, 140, 0.3); font-size: 13px; }
.bill-cmp small { display: block; color: #A3AEC0; font-size: 11.5px; }
.cmp-v { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp-v em { display: block; font-style: normal; font-size: 12px; }
.cmp-v em.up { color: #FF9C7A; }
.cmp-v em.down { color: #7FDDB2; }
.bill-due { margin: 14px 0 0; font-size: 12.5px; font-weight: 700; color: var(--gold-hi); }
.bill-notes { margin: 10px 0 0; padding-left: 16px; font-size: 12px; color: #A3AEC0; display: grid; gap: 5px; }
.copy {
  margin-top: 18px; width: 100%; padding: 13px; border-radius: 12px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #F3DCA6, var(--gold-hi) 40%, #C9A25C); color: #1A1407; font: 800 14px var(--body);
  transition: transform .2s var(--ease), box-shadow .2s; box-shadow: 0 12px 24px -14px rgba(232, 203, 140, 0.9);
}
.copy:hover { transform: translateY(-1px); }

/* ---------- 공제 패널 ---------- */
.ded h2 { font: 800 18px/1.3 var(--display); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.ded h2::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.ded-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .ded-list { grid-template-columns: minmax(0, 1fr); } }
.ded-list li { padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); display: grid; gap: 4px; align-content: start; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.ded-list li:hover { border-color: var(--gold-line); transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(15, 27, 45, .4); }
.ded-list strong { font-size: 14px; }
.ded-list em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--gold-ink); justify-self: start; background: var(--gold-soft); border: 1px solid var(--gold-line); padding: 1px 9px; border-radius: 999px; }
.ded-list p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.ded-foot { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---------- 해설 ---------- */
.content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 32px; padding-block: 44px 60px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .content { grid-template-columns: minmax(0, 1fr); } }
.article h2 { font: 800 23px/1.4 var(--display); margin: 34px 0 12px; text-wrap: balance; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 16px; font-weight: 800; margin: 22px 0 6px; color: var(--gold-ink); }
.article p, .article li { max-width: 68ch; color: #2E3A4B; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; margin: 14px 0; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 13px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { background: var(--surface-2); color: var(--gold-ink); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: var(--gold-soft); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 400; font-size: 20px; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 8px 0 0; color: var(--muted); animation: up .4s var(--ease); }
.side { display: grid; gap: 16px; align-content: start; }
.side h2 { font: 800 16px/1.3 var(--display); margin: 0 0 8px; }
.side ul { list-style: none; margin: 0; padding: 0; display: grid; }
.side li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; transition: color .15s, padding .2s var(--ease); }
.side li:last-child a { border-bottom: 0; }
.side li a span { color: var(--muted); font-size: 12px; text-align: right; font-weight: 400; }
.side li a:hover { color: var(--gold-ink); padding-left: 4px; }
.badge { display: inline-block; font: 800 11px var(--body); padding: 3px 9px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-ink); margin-left: 8px; vertical-align: middle; letter-spacing: 0; }

/* ---------- 메인 ---------- */
.home-hero { padding-block: 64px 48px; z-index: 5; min-height: 420px; }
.home-hero h1 { font-size: clamp(32px, 5.2vw, 56px); max-width: 13ch; }
.home-hero h1 em { font-style: normal; color: var(--gold-ink); background: linear-gradient(transparent 62%, rgba(232, 203, 140, 0.55) 62%); background-size: 0 100%; background-repeat: no-repeat; animation: mark 1s var(--ease) .9s forwards; }
@keyframes mark { to { background-size: 100% 100%; } }
.search { position: relative; margin-top: 30px; max-width: 600px; }
.search input { padding: 18px 20px 18px 52px; font-size: 17px; border-radius: 16px; text-align: left; background: #fff; border-color: var(--line-2); box-shadow: 0 24px 50px -28px rgba(15, 27, 45, .45); }
.search > svg { position: absolute; left: 19px; top: 29px; transform: translateY(-50%); width: 18px; height: 18px; color: var(--gold); pointer-events: none; }
.search-results { position: absolute; left: 0; right: 0; top: 66px; z-index: 20; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(15, 27, 45, .4); max-height: 360px; overflow-y: auto; animation: up .25s var(--ease); }
.search-results a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.search-results a span { color: var(--muted); font-size: 12.5px; text-align: right; font-weight: 400; }
.search-results a:hover, .search-results a.on { background: var(--gold-soft); }
.search-results .empty { padding: 10px 12px; color: var(--muted); }
.search-hint { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--dim); align-items: center; }
.search-hint a { color: var(--muted); text-decoration: none; padding: 3px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .7); transition: color .2s, border-color .2s; }
.search-hint a:hover { color: var(--gold-ink); border-color: var(--gold-line); }

.section-title { font: 800 12.5px var(--body); letter-spacing: .12em; color: var(--gold-ink); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.fav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .fav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.fav a {
  position: relative; display: grid; gap: 6px; padding: 22px 20px 20px; min-height: 150px; align-content: end; text-decoration: none; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
  box-shadow: 0 20px 40px -32px rgba(15, 27, 45, .5);
  transition: border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fav a::before { content: attr(data-k); position: absolute; top: 14px; right: 16px; font: 800 28px/1 var(--display); color: rgba(180, 138, 60, 0.16); letter-spacing: -0.03em; transition: transform .5s var(--ease), color .3s; }
.fav a::after { content: "→"; position: absolute; left: 20px; top: 18px; font-size: 16px; color: var(--gold); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s var(--ease); }
.fav a:hover { border-color: var(--gold-line); transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(15, 27, 45, .55); }
.fav a:hover::before { transform: translateY(-4px) scale(1.06); color: rgba(180, 138, 60, 0.3); }
.fav a:hover::after { opacity: 1; transform: none; }
.fav strong { font: 800 20px/1.25 var(--display); }
.fav span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 480px) { .fav a { min-height: 118px; padding: 16px 14px; } .fav strong { font-size: 17px; } .fav a::before { font-size: 20px; } }

.catlinks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .catlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.catlinks a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 15px 16px; border-radius: 13px; border: 1px solid var(--line); text-decoration: none; background: var(--surface); font-weight: 800; font-size: 14px; transition: border-color .2s, color .2s, transform .3s var(--ease); }
.catlinks a span { font-size: 12px; color: var(--dim); font-weight: 400; }
.catlinks a:hover { border-color: var(--gold-line); color: var(--gold-ink); transform: translateY(-2px); }
.home-block { padding-bottom: 52px; }
.changes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .changes { grid-template-columns: minmax(0, 1fr); } }
.changes div { padding: 16px 18px; border-left: 3px solid var(--gold); background: linear-gradient(90deg, var(--gold-soft), rgba(255, 255, 255, 0.5)); border-radius: 0 13px 13px 0; }
.changes strong { display: block; font: 800 16px/1.4 var(--display); margin-bottom: 4px; }
.changes p { margin: 0; font-size: 13px; color: var(--muted); }

/* 분류 페이지 타일 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.tile { display: grid; gap: 4px; padding: 18px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.tile:hover { border-color: var(--gold-line); transform: translateY(-3px); box-shadow: 0 20px 40px -30px rgba(15, 27, 45, .5); }
.tile strong { font: 800 17px/1.3 var(--display); }
.tile span { color: var(--muted); font-size: 13px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tile { padding: 14px; } .tile strong { font-size: 15px; } .tile span { font-size: 12px; } }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 13px; background: var(--gold-soft); border: 1px solid var(--gold-line); font-size: 13px; color: var(--muted); }
.notice strong { white-space: nowrap; color: var(--gold-ink); }
.pad-b { padding-bottom: 52px; }

/* ---------- 상담 밴드·푸터 ---------- */
.band { position: relative; overflow: hidden; color: #EEF1F6; background: radial-gradient(700px 260px at 85% 50%, rgba(232, 203, 140, 0.25), transparent 70%), linear-gradient(160deg, var(--navy-2), var(--navy)); }
.band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 32px 32px; animation: grid-drift 40s linear infinite; pointer-events: none; }
.band .wrap { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 44px; }
.band h2 { font: 800 25px/1.4 var(--display); margin: 0 0 6px; }
.band p { margin: 0; color: #AEB8C8; }
.band .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.band .pill { padding: 12px 20px; font-size: 14px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.band .pill.kakao { background: var(--kakao); color: #1A1700; border-color: var(--kakao); }
.foot { padding-block: 28px 44px; font-size: 12px; color: var(--dim); background: var(--bg-2); }
.foot p { margin: 4px 0; max-width: 90ch; }

/* ---------- 모바일 하단 바 ---------- */
.mini { display: none; }
@media (max-width: 900px) {
  .mini {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; justify-content: space-between; align-items: center; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(15, 27, 45, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    font-size: 13px; color: #AEB8C8;
  }
  .mini b { font: 800 18px var(--display); color: var(--gold-hi); margin-left: 4px; }
  .mini a { color: #1A1700; background: var(--kakao); padding: 7px 12px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 13px; }
  body.has-mini { padding-bottom: 64px; }
  .bill { position: static; }
}

/* ---------- 달력·상환표 ---------- */
table.cal td { text-align: center; vertical-align: top; padding: 6px 4px; min-width: 40px; }
table.cal td b { display: block; font-size: 14px; }
table.cal td small { display: block; font-size: 11px; color: var(--muted); }
table.cal td.hit { background: var(--gold-soft); }
table.cal td.hit b { color: var(--gold-ink); }
#schedule:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sky .bd, .sky .ground, .sky .crane { stroke-dashoffset: 0; }
  .sky .win, .sky .sun { opacity: .9; }
  .js .reveal { opacity: 1; transform: none; }
  .home-hero h1 em { background-size: 100% 100%; }
}
@media (min-width: 901px) {
  .home-hero .sky { width: min(40%, 470px); }
  .home-hero .search { max-width: 540px; }
  .home-hero .hero-text { max-width: 600px; }
}

/* ---------- 빈 여백 바로가기 탭 ---------- */
.quick { display: none; }
@media (min-width: 1440px) {
  .quick {
    display: block; position: fixed; z-index: 20; top: 170px; left: calc(50% - 580px - 140px); width: 112px;
    padding: 12px 8px 8px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -30px rgba(15, 27, 45, .45);
    animation: quick-in .8s var(--ease) .6s both;
  }
  .quick p { margin: 0 0 6px; padding: 0 6px 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--gold-ink); border-bottom: 1px solid var(--line); }
  .quick ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .quick li a { display: flex; align-items: center; gap: 8px; padding: 8px 6px; border-radius: 10px; text-decoration: none; font-size: 13px; font-weight: 700; color: var(--ink); transition: background .2s, transform .25s var(--ease); }
  .quick li a i { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--gold-ink); background: var(--gold-soft); border: 1px solid var(--gold-line); transition: background .2s, color .2s; }
  .quick li a:hover { background: var(--gold-soft); transform: translateX(3px); }
  .quick li a[aria-current="page"] { background: var(--navy); color: #fff; }
  .quick li a[aria-current="page"] i { background: var(--gold-hi); color: var(--navy); border-color: var(--gold-hi); }
  .quick-top { display: block; margin-top: 6px; padding: 8px 6px 4px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); text-decoration: none; text-align: center; }
  .quick-top:hover { color: var(--gold-ink); }
}
@keyframes quick-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

/* 나눔스퀘어 네오 굵기 정리 */
h1, .fav strong, .tile strong, .article h2, .ded h2, .side h2, .changes strong { font-weight: 900; letter-spacing: -0.035em; }
.brand-name { font-weight: 900; }
.quick-sub { margin: 8px 0 4px !important; padding: 8px 6px 2px !important; border-top: 1px solid var(--line); border-bottom: 0 !important; color: var(--dim) !important; }@media (min-width: 1440px) { .quick { display: none; } }
@media (min-width: 1480px) {
  .quick { display: block; width: 128px; left: calc(50% - 580px - 140px); }
  .quick li a { white-space: nowrap; font-size: 12.5px; }
}

/* 2026년 바뀐 세금·대출 기준 */
.chg-lead { margin: -4px 0 22px; color: var(--muted); font-size: 15px; }
.chg-group { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; font: 800 17px/1.4 var(--display); letter-spacing: -0.03em; }
.chg-badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0; padding: 4px 10px; border-radius: 999px; }
.chg-badge.live { background: var(--navy); color: #fff; }
.chg-badge.plan { background: var(--gold-soft); color: var(--gold-ink); border: 1px solid var(--gold-line); }
.chg-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .chg-list { grid-template-columns: minmax(0, 1fr); } }
.chg { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px 16px; box-shadow: 0 10px 26px -22px rgba(15, 27, 45, .5); }
.chg.plan { background: rgba(255, 255, 255, .6); border-style: dashed; border-color: var(--gold-line); }
.chg header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
.chg header strong { font: 900 17px/1.4 var(--display); letter-spacing: -0.035em; color: var(--ink); }
.chg-when { font-size: 12.5px; font-weight: 700; color: var(--gold-ink); }
.chg-ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.chg-ba > div { padding: 11px 13px; font-size: 13.5px; line-height: 1.6; }
.chg-ba em { display: block; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; margin-bottom: 3px; }
.chg-ba .b { background: var(--bg-2); color: var(--muted); }
.chg-ba .b em { color: var(--muted); }
.chg-ba .a { background: var(--navy); color: #fff; position: relative; }
.chg-ba .a em { color: var(--gold-hi); }
.chg-ba .a b { color: var(--gold-hi); }
.chg.plan .chg-ba .a { background: var(--navy-2); }
.chg-ba .a::before { content: "→"; position: absolute; left: -11px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
@media (max-width: 520px) { .chg-ba { grid-template-columns: minmax(0, 1fr); } .chg-ba .a::before { content: "↓"; left: 50%; top: -11px; transform: translateX(-50%); } }
.chg-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.chg-go { margin-top: auto; padding-top: 12px; align-self: flex-start; font-size: 13.5px; font-weight: 800; color: var(--gold-ink); }
.chg-go:hover { text-decoration: underline; }

.chg-ba .b { padding-right: 18px; }
.chg-ba .a { padding-left: 20px; }
@media (max-width: 520px) { .chg-ba .b { padding-right: 13px; padding-bottom: 16px; } .chg-ba .a { padding-left: 13px; padding-top: 16px; } }

/* 세금 흐름 페이지 */
.cats .trend-tab a { color: var(--gold-ink); font-weight: 800; }
.trend { margin-top: 8px; }
.trend-sum { margin: 0 0 14px; padding: 14px 18px; background: var(--navy); color: #fff; border-radius: 14px; font-size: 14.5px; line-height: 1.65; }
.trend-sum b { display: inline-block; margin-right: 10px; padding: 2px 9px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 12px; }
.flow-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; }
.flow, .prep { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.45; }
.flow { min-width: 760px; }
.flow th, .flow td, .prep th, .prep td { padding: 9px 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.flow thead th, .prep thead th { background: var(--bg-2); font-size: 12px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.flow thead th.now { background: var(--navy); color: #fff; }
.flow thead th.plan { color: var(--gold-ink); }
.flow tbody th { white-space: nowrap; font-weight: 800; }
.flow tbody th a { color: var(--ink); }
.flow tbody th a:hover { color: var(--gold-ink); }
.flow td.now { background: rgba(15, 27, 45, .04); font-weight: 700; }
.flow tbody tr:last-child > *, .prep tbody tr:last-child > * { border-bottom: 0; }
.flow i { font-style: normal; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 5px; border-radius: 4px; font-size: 10px; font-weight: 900; vertical-align: 1px; }
.flow i.up, .flow-key i.up { background: #F6E3DF; color: #B0412F; }
.flow i.dn, .flow-key i.dn { background: #E1F0E7; color: #23744B; }
.flow i.eq, .flow-key i.eq { background: var(--bg-2); color: var(--muted); }
.flow .muted-cell { color: var(--muted); font-size: 12.5px; }
.flow-key { margin: 8px 2px 0; font-size: 12.5px; color: var(--muted); }
.flow-key i { font-style: normal; display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 4px; font-size: 10px; font-weight: 900; margin: 0 3px 0 8px; }
.flow-key i:first-child { margin-left: 0; }
.fc { margin: 0; padding: 0; list-style: none; counter-reset: fc; display: grid; gap: 8px; }
.fc li { counter-increment: fc; position: relative; padding: 11px 14px 11px 48px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.fc li::before { content: counter(fc); position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.fc li b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 2px; }
.prep { min-width: 620px; }
.prep td:first-child { white-space: nowrap; font-weight: 800; color: var(--ink); }
.prep td:last-child { white-space: nowrap; }
.prep a { color: var(--gold-ink); font-weight: 700; }
.chg-trend { display: inline-block; margin: 0 0 18px; font-size: 14px; font-weight: 800; color: var(--gold-ink); }

.trend .section-title { margin-top: 30px; }

/* 첫 화면 세금 흐름 띠 */
.trend-strip { margin-top: -6px; margin-bottom: 8px; position: relative; z-index: 2; }
.ts { display: flex; align-items: center; gap: 18px; padding: 14px 18px; background: var(--navy); color: #fff; border-radius: 16px; box-shadow: 0 18px 40px -26px rgba(15, 27, 45, .7); text-decoration: none; overflow: hidden; position: relative; }
.ts::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(232, 203, 140, .14) 50%, transparent 70%); transform: translateX(-100%); animation: tsSheen 5s ease-in-out 1.2s infinite; pointer-events: none; }
@keyframes tsSheen { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
.ts-head { flex: none; display: flex; flex-direction: column; line-height: 1.35; }
.ts-head b { font: 900 16px/1.3 var(--display); color: var(--gold-hi); letter-spacing: -0.03em; }
.ts-head span { font-size: 12px; color: rgba(255, 255, 255, .72); }
.ts-items { flex: 1; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 700; }
.ts-items > span { white-space: nowrap; }
.ts-items em { font-style: normal; font-weight: 500; color: rgba(255, 255, 255, .7); margin-left: 4px; }
.ts-items i { font-style: normal; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 4px; border-radius: 4px; font-size: 9px; font-weight: 900; vertical-align: 1px; }
.ts-items i.up { background: #F6E3DF; color: #B0412F; }
.ts-items i.dn { background: #E1F0E7; color: #23744B; }
.ts-go { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 13px; font-weight: 800; }
.ts:hover .ts-go { background: #C79B4A; }
@media (max-width: 900px) { .ts { flex-direction: column; align-items: flex-start; gap: 10px; } .ts-items { gap: 6px 12px; } }
@media (prefers-reduced-motion: reduce) { .ts::after { animation: none; } }

/* 세금 흐름 띠 v2 */
.ts { gap: 20px; padding: 16px 18px 16px 22px; }
.ts-head { gap: 4px; }
.ts-head b { font-size: 17px; margin-bottom: 2px; }
.ts-head .ts-line { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: #fff; }
.ts-head .ts-line em { font-style: normal; font-size: 11px; font-weight: 900; padding: 2px 7px; border-radius: 999px; }
.ts-head .ts-line em.dn { background: #E1F0E7; color: #23744B; }
.ts-head .ts-line em.up { background: #F6E3DF; color: #B0412F; }
.ts-items { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ts-items > span.ti { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px 9px; border-radius: 11px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-top: 3px solid; white-space: normal; min-width: 0; }
.ti.up { border-top-color: #E07A66 !important; }
.ti.dn { border-top-color: #5DB98A !important; }
.ti small { font-size: 11px; font-weight: 900; letter-spacing: .02em; }
.ti.up small { color: #F2A595; }
.ti.dn small { color: #8FD6B0; }
.ti strong { font-size: 14px; font-weight: 800; color: #fff; line-height: 1.35; }
.ti > span { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .68); line-height: 1.35; }
@media (max-width: 1100px) { .ts-items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ts-items { width: 100%; } }
@media (max-width: 560px) { .ts-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 첫 화면 세금 흐름 — 시안 A 타임라인 레일 (2026-10-04 사용자 선택) */
.va{display:flex;gap:28px;align-items:center;padding:22px 26px;background:linear-gradient(180deg,#FFFDF8,#FBF6EA);border:1px solid var(--gold-line);border-radius:22px;box-shadow:0 20px 40px -32px rgba(15,27,45,.45);text-decoration:none;color:var(--ink);transition:transform .35s var(--ease),box-shadow .35s}
.va:hover{transform:translateY(-2px);box-shadow:0 26px 46px -30px rgba(15,27,45,.5)}
.va-h{flex:none;width:210px}
.va-h b{display:block;font:900 20px/1.25 var(--display);letter-spacing:-.04em}
.va-h b em{font-style:normal;color:var(--gold-ink)}
.va-h p{margin:6px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}
.va-track{flex:1;position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding-top:26px}
.va-track:before{content:"";position:absolute;left:12.5%;right:12.5%;top:33px;height:2px;background:linear-gradient(90deg,var(--line-2),var(--gold) 33%,var(--gold-line) 66%,var(--line-2));transform-origin:left;animation:vaLine 1.4s var(--ease) .3s both}
@keyframes vaLine{from{transform:scaleX(0)}to{transform:none}}
.va-node{position:relative;text-align:center;padding:0 6px}
.va-node i{position:absolute;left:50%;top:-1px;transform:translateX(-50%);width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid var(--line-2)}
.va-node.now i{border-color:var(--gold);background:var(--gold);animation:vaPulse 2s ease-out infinite}
@keyframes vaPulse{0%{box-shadow:0 0 0 0 rgba(180,138,60,.5)}70%,100%{box-shadow:0 0 0 10px rgba(180,138,60,0)}}
.va-node .y{display:block;margin:20px 0 6px;font:900 14px/1 var(--display);color:var(--muted)}
.va-node.now .y{color:var(--gold-ink)}
.va-node .t{display:inline-flex;align-items:center;gap:4px;margin:2px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:800;background:#fff;border:1px solid var(--line);white-space:nowrap;opacity:0;animation:vaTag .6s var(--ease) forwards}
.va-node .t.up{color:#B0412F}.va-node .t.dn{color:#23744B}
.va-node:nth-child(1) .t{animation-delay:.5s}.va-node:nth-child(2) .t{animation-delay:.8s}.va-node:nth-child(3) .t{animation-delay:1.1s}.va-node:nth-child(4) .t{animation-delay:1.4s}
@keyframes vaTag{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.va-go{flex:none;font-weight:900;color:var(--gold-ink);font-size:14px}
@media (max-width:1100px){.va{flex-wrap:wrap}.va-h{width:100%}.va-h br{display:none}.va-go{width:100%;text-align:right}}
@media (max-width:640px){.va{padding:18px}.va-track{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:6px;padding-top:0}.va-track:before{display:none}.va-node i{display:none}.va-node .y{margin:10px 0 6px}}
@media (prefers-reduced-motion:reduce){.va-track:before,.va-node .t{animation:none;opacity:1}.va-node.now i{animation:none}}
