/* ===========================================================
   코인밥 — 폰트 로드
   =========================================================== */
@font-face {
  font-family: "LINE Seed Sans KR";
  src: url("./fonts/LINESeedKR-Bd.otf?v=2") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===========================================================
   코인밥 — Design tokens
   =========================================================== */
:root {
  --bg: #f5f5f7;
  --surface: #fbfbfd;
  --surface-2: #ececee;
  --rule: #d6d6d8;
  --ink: #1d1d1f;
  --ink-dim: #6e6e73;
  --ink-faint: #8e8e93;
  --accent: #0071e3;
  --accent-dim: #2d68b3;
  --up: #1f9d55;
  --down: #c0432e;
  --font-hero: "LINE Seed Sans KR", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-display: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", "Courier New", monospace;
}

/* =========================================================
   02. 메인 히어로 제목
========================================================= */

.hero h1 {
  font-family:
    "LINE Seed Sans KR",
    "Pretendard",
    sans-serif;

  font-size: clamp(42px, 5.2vw, 54px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  color: #17171b;
  word-break: keep-all;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Header ---------------- */
.site-header {
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: rgba(245, 245, 247, 0.92);
  backdrop-filter: blur(6px);
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
/* =========================================================
   04. 상단 브랜드 로고
========================================================= */

.brand {
  display: flex;
  align-items: center;
  gap: 8px;

  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand small {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-dim); }
.nav-links a:hover { color: var(--accent); }

.cta-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--accent);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 3px;
  font-weight: 600;
  white-space: nowrap;
  transition: filter 0.15s ease;
}
.cta-btn:hover { filter: brightness(1.1); }

/* ---------------- Hero: 오늘의 한상 ---------------- */
.hero {
  padding: 56px 0 40px;
  border-bottom: 1px dashed var(--rule);
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.icon-mark {
  display: inline-block;
  margin-right: 0.12em;
  font-size: 0.82em;
  vertical-align: -0.05em;
}
.icon-mark svg { width: 1em; height: 1em; color: var(--accent); }

.hero h1 {
  font-family: var(--font-hero);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
}
.hero p.lede {
  color: var(--ink-dim);
  font-size: 16px;
  max-width: 46ch;
  margin: 0 0 26px;
}
.hero-sub {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* Ticket / receipt today card */
.today-card {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 22px 24px 20px;
  position: relative;
  box-shadow: 0 1px 3px rgba(29, 29, 31, 0.05), 0 1px 2px rgba(29, 29, 31, 0.04);
}
.today-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.today-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 10px;
}
.today-title a:hover { color: var(--accent); }
.today-excerpt { color: var(--ink-dim); font-size: 14.5px; margin: 0; }

/* ---------------- Archive: receipt list ---------------- */
.archive {
  padding: 44px 0 80px;
}
.archive h2 {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 6px;
  font-weight: 500;
}

.day-group { margin-top: 30px; }
.day-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-dim);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.day-date::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.receipt-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--rule);
}
.receipt-item:last-child { border-bottom: none; }

.tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid var(--rule);
  color: var(--ink-faint);
  flex-shrink: 0;
  white-space: nowrap;
}
.tag.crypto { color: var(--accent); border-color: var(--accent-dim); }

.receipt-title {
  flex: 1;
  font-size: 15px;
  color: var(--ink);
}
.receipt-item:hover .receipt-title { color: var(--accent); }

.receipt-leader {
  flex: 1;
  border-bottom: 1px dotted var(--ink-faint);
  height: 0;
  min-width: 12px;
  opacity: 0.5;
}

.receipt-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  flex-shrink: 0;
}

/* ---------------- Promo strip (자동매매 광고 자리) ---------------- */
.promo-strip {
  margin: 46px 0;
  border: 1px solid var(--accent-dim);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(0,113,227,0.10), rgba(0,113,227,0.02));
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.promo-strip .promo-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.promo-strip h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  margin: 0 0 8px;
}
.promo-strip p {
  font-size: 15.5px;
  color: var(--ink-dim);
  margin: 0;
  max-width: 42ch;
}
.promo-strip .cta-btn {
  font-size: 14px;
  padding: 11px 20px;
}

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0 48px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
}
.footer-links { display: flex; gap: 18px; font-size: 13px; color: var(--ink-dim); }
.footer-links a:hover { color: var(--accent); }

/* ---------------- Post / article page ---------------- */
.post-header {
  padding: 44px 0 28px;
  border-bottom: 1px dashed var(--rule);
}
.post-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent-dim);
  margin-bottom: 14px;
}
.post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 36px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.back-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-faint);
  display: inline-block;
  margin-bottom: 20px;
}
.back-link:hover { color: var(--accent); }

.post-body {
  padding: 36px 0 60px;
  font-size: 16px;
  color: var(--ink);
}
.post-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  margin: 36px 0 14px;
}
.post-body p { margin: 0 0 18px; color: var(--ink-dim); }
.post-body strong { color: var(--ink); }
.post-body .stat-line {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-faint);
  border-left: 2px solid var(--accent-dim);
  padding-left: 12px;
  margin: 22px 0;
}
.post-body .up { color: var(--up); }
.post-body .down { color: var(--down); }

.reaction-bar {
  display: flex;
  gap: 10px;
  margin: 36px 0 8px;
}
.reaction-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-dim);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.reaction-btn:hover { border-color: var(--accent-dim); }
.reaction-btn:active { transform: scale(0.96); }
.reaction-btn.picked {
  border-color: var(--accent);
  background: rgba(0, 113, 227, 0.07);
  color: var(--ink);
}
.reaction-emoji { font-size: 16px; }
.reaction-count { min-width: 1ch; }

/* ---------------- 오늘시세: literal receipt (실제 구겨진 종이 이미지 사용) ---------------- */
.price-receipt-wrap {
  padding: 18px 0 28px;
}

.price-receipt-wrap .wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 영수증 본체 */
.price-receipt {
  position: relative;
  overflow: hidden;
  max-width: 640px;   /* 너무 커서 640 정도로 축소 */
  margin: 0 auto 28px;
  padding: 24px 28px 22px;
  background: #fcfcfa;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow:
    0 10px 24px rgba(29, 29, 31, 0.08),
    0 2px 6px rgba(29, 29, 31, 0.04);
  font-family: "HBIOS-SYS", monospace;
  transform: none;  /* 삐뚤기 제거 */
}

/* 종이 텍스처는 여기만 */
.price-receipt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./images/crumpled-paper.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.42;
  filter: contrast(1.12) brightness(0.98);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}
/* 텍스트는 종이보다 위에 표시 */
.price-receipt .receipt-content {
  position: relative;
  z-index: 1;
}

/* =========================================================
   03-1. 영수증 상단 브랜드 헤더
========================================================= */
.receipt-brand-block {
  text-align: center;
}

.receipt-logo {
  font-size: 38px;
  line-height: 1;
  color: #181818;
  margin-bottom: 10px;
}

.receipt-logo-rule {
  width: 220px;
  max-width: 60%;
  height: 4px;
  margin: 0 auto 16px;
  background: #181818;
}

.receipt-thanks {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(24, 24, 24, 0.82);
  text-align: center;
}

.receipt-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(24, 24, 24, 0.78);
  text-align: center;
  align-items: center;
}

/* receipt 전용 하단만 살짝 잘린 느낌 */
.price-receipt {
  font-family: "HBIOS-SYS", monospace;
}
.price-receipt {
  clip-path: polygon(
    0 0, 100% 0, 100% 96%,
    97% 100%, 94% 96%, 91% 100%, 88% 96%, 85% 100%,
    82% 96%, 79% 100%, 76% 96%, 73% 100%, 70% 96%,
    67% 100%, 64% 96%, 61% 100%, 58% 96%, 55% 100%,
    52% 96%, 49% 100%, 46% 96%, 43% 100%, 40% 96%,
    37% 100%, 34% 96%, 31% 100%, 28% 96%, 25% 100%,
    22% 96%, 19% 100%, 16% 96%, 13% 100%, 10% 96%,
    7% 100%, 4% 96%, 0 100%
  );
}

.receipt-brand-block {
  text-align: center;
}

.receipt-logo {
  display: inline-block;
  font-family: "HBIOS-SYS", monospace;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.08em;
  color: #181818;
  margin-bottom: 10px;
  white-space: nowrap;
}

.receipt-thanks {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(24, 24, 24, 0.82);
}

.receipt-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(24, 24, 24, 0.78);
}

.receipt-stars {
  margin: 16px 0;
  font-size: 11px;
  line-height: 1;
  color: rgba(24, 24, 24, 0.75);
  white-space: nowrap;
  overflow: hidden;
}

/* 본문 */
.receipt-market h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;
  color: #1c1c1c;
}

.receipt-market-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 110px;
  align-items: center;
  column-gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  line-height: 1.25;
}

.asset-label {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.symbol {
  flex-shrink: 0;
  min-width: 34px;
  color: #1d1d1f;
}

.name {
  flex-shrink: 0;
  color: rgba(29, 29, 31, 0.78);
}

.leader {
  flex: 1;
  min-width: 20px;
  border-bottom: 1px dashed rgba(29, 29, 31, 0.22);
  transform: translateY(-1px);
}

.asset-price {
  text-align: right;
  color: #202020;
  white-space: nowrap;
}

.asset-change {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

.asset-change.up {
  color: #1f9d55;
}

.asset-change.down {
  color: #c0432e;
}

.asset-change.neutral {
  color: rgba(29, 29, 31, 0.45);
}

.receipt-divider {
  margin: 14px 0 12px;
  border-top: 1px dashed rgba(29, 29, 31, 0.18);
}

/* =========================================================
   03-5. 공포탐욕지수
========================================================= */
.receipt-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 6px 0 2px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(29, 29, 31, 0.82);
}

.receipt-summary .summary-label {
  font-size: 13px;
  color: rgba(29, 29, 31, 0.68);
}

.receipt-summary strong {
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
}
/* 모바일 */
@media (max-width: 560px) {
  .price-receipt {
    max-width: 100%;
    padding: 20px 18px 18px;
  }

  .receipt-logo {
    font-size: 30px;
  }

  .receipt-logo-rule {
    width: 160px;
    max-width: 58%;
  }

  .receipt-thanks,
  .receipt-info {
    font-size: 10px;
  }

  .receipt-market h2 {
    font-size: 18px;
  }

  .receipt-column-head {
    grid-template-columns: minmax(0, 1fr) 92px 88px;
    column-gap: 8px;
    font-size: 11px;
  }

  .receipt-market-row {
    grid-template-columns: minmax(0, 1fr) 92px 88px;
    column-gap: 8px;
    font-size: 12px;
  }

  .symbol {
    min-width: 28px;
  }

  .name {
    font-size: 11px;
  }

  .asset-price,
  .asset-change {
    font-size: 12px;
  }

  .receipt-summary {
    font-size: 12px;
  }

  .receipt-summary strong {
    font-size: 14px;
  }
}
/* ---------------- Utility / responsive ---------------- */
@media (max-width: 560px) {
  .nav-links { display: none; }
  .receipt-item { flex-wrap: wrap; }
  .receipt-leader { display: none; }
  .promo-strip { flex-direction: column; align-items: flex-start; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

/* =========================================================
   COINBAP RECEIPT — 최종 보정
   반드시 style.css 맨 마지막에 배치
========================================================= */


/* =========================================================
   01. 영수증 전체 크기 및 픽셀 폰트 선명도
========================================================= */

.price-receipt {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 28px;
  padding: 28px 30px 26px;

  font-family: "HBIOS-SYS", monospace;
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;

  transform: none;
  filter: none;

  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}


/* 영수증 내부 모든 글자에 불필요한 효과 제거 */
.price-receipt *,
.price-receipt *::before,
.price-receipt *::after {
  text-shadow: none;
  filter: none;
}


/* =========================================================
   02. 상단 Coin Bap 브랜드 영역 가운데 정렬
========================================================= */

.price-receipt .receipt-brand-block {
  width: 100%;
  text-align: center;
}

.price-receipt .receipt-logo {
  margin: 0 auto 12px;

  font-family: "HBIOS-SYS", monospace;
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;

  color: #151515;
  text-align: center;
}

.price-receipt .receipt-logo-rule {
  width: 220px;
  max-width: 48%;
  height: 4px;
  margin: 0 auto 16px;

  background: #181818;
}

.price-receipt .receipt-thanks {
  margin: 0 auto 16px;

  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;

  color: #222222;
  text-align: center;
  white-space: nowrap;
}

.price-receipt .receipt-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;

  width: 100%;

  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;

  color: #292929;
  text-align: center;
}


/* =========================================================
   03. 별표 구분선 가운데 정렬
========================================================= */

.price-receipt .receipt-stars {
  width: 100%;
  margin: 18px auto;

  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;

  color: #202020;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}


/* =========================================================
   04. 시세표 제목
========================================================= */

.price-receipt .receipt-market h2 {
  margin: 0 0 18px;

  font-family: "HBIOS-SYS", monospace;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;

  color: #171717;
}


/* =========================================================
   05. 시세표 열 제목
   ITEM / PRICE / CHANGE
========================================================= */

.price-receipt .receipt-column-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px 112px;
  align-items: center;
  column-gap: 14px;

  width: 100%;
  margin-bottom: 6px;

  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;

  color: #575757;
}

.price-receipt .receipt-column-head span:nth-child(1) {
  text-align: left;
}

.price-receipt .receipt-column-head span:nth-child(2),
.price-receipt .receipt-column-head span:nth-child(3) {
  text-align: right;
}


/* =========================================================
   06. BTC / ETH / SOL 시세 행
========================================================= */

.price-receipt .receipt-market-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px 112px;
  align-items: center;
  column-gap: 14px;

  width: 100%;
  padding: 8px 0;

  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
}


/* 왼쪽: 심볼 + 한글명 + 점선 */
.price-receipt .asset-label {
  display: flex;
  align-items: center;
  gap: 8px;

  min-width: 0;
  overflow: hidden;
}

.price-receipt .symbol {
  min-width: 38px;
  flex-shrink: 0;

  font-size: 14px;
  line-height: 16px;

  color: #1b1b1b;
}

.price-receipt .name {
  min-width: 54px;
  flex-shrink: 0;

  font-size: 14px;
  line-height: 16px;

  color: #292929;
}

.price-receipt .leader {
  flex: 1;
  min-width: 16px;
  height: 0;

  border-bottom: 1px dashed rgba(25, 25, 25, 0.25);
}


/* 가운데: 가격 */
.price-receipt .asset-price {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;

  color: #171717;
  text-align: right;
  white-space: nowrap;
}


/* 오른쪽: 등락률 */
.price-receipt .asset-change {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;

  text-align: right;
  white-space: nowrap;
}

.price-receipt .asset-change.up {
  color: #159454;
}

.price-receipt .asset-change.down {
  color: #c84532;
}

.price-receipt .asset-change.neutral {
  color: #777777;
}


/* =========================================================
   07. 시세표 하단 구분선
========================================================= */

.price-receipt .receipt-divider {
  width: 100%;
  margin: 14px 0 18px;

  border-top: 1px dashed rgba(25, 25, 25, 0.24);
}


/* =========================================================
   08. 공포탐욕지수
   한글 표기 + 완전 가운데 정렬
========================================================= */

.price-receipt .receipt-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;

  width: 100%;
  padding: 2px 0 4px;

  text-align: center;
}

.price-receipt .receipt-summary .summary-label {
  display: block;

  font-size: 14px;
  line-height: 16px;
  font-weight: 400;

  color: #4d4d4d;
  text-align: center;
}

.price-receipt .receipt-summary strong {
  display: block;

  font-family: "HBIOS-SYS", monospace;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;

  color: #171717;
  text-align: center;
}


/* =========================================================
   09. 다음 발행 시간
========================================================= */

.price-receipt .receipt-next {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;

  width: 100%;
  margin-top: 2px;

  font-size: 14px;
  line-height: 16px;

  color: #202020;
  text-align: center;
}

.price-receipt .receipt-next strong {
  font: inherit;
  color: #171717;
}


/* =========================================================
   10. 영수증 하단 문구 및 발행번호
========================================================= */

.price-receipt .receipt-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;

  width: 100%;
  padding: 0;
  margin: 0;

  text-align: center;
}

.price-receipt .receipt-stars {
  margin: 12px auto;
}

.price-receipt .receipt-next {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;

  width: 100%;
  margin-top: 0;

  font-size: 14px;
  line-height: 16px;
  color: #202020;
  text-align: center;
}

.price-receipt .receipt-foot-copy {
  width: 100%;
  margin: 10px 0 8px;

  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0;

  color: #242424;
  text-align: center;
}

.price-receipt .receipt-number {
  width: 100%;
  margin: 0;

  font-size: 12px;
  line-height: 14px;
  color: #6d6d6d;
  text-align: center;
}


/* =========================================================
   11. 모바일 보정
========================================================= */

@media (max-width: 560px) {
  .price-receipt {
    max-width: 100%;
    padding: 22px 18px 24px;
  }

  .price-receipt .receipt-logo {
    font-size: 24px;
    line-height: 32px;
  }

  .price-receipt .receipt-logo-rule {
    width: 160px;
    max-width: 55%;
  }

  .price-receipt .receipt-thanks {
    font-size: 10px;
    line-height: 16px;
    white-space: normal;
  }

  .price-receipt .receipt-info {
    font-size: 10px;
    line-height: 14px;
  }

  .price-receipt .receipt-market h2 {
    font-size: 16px;
    line-height: 20px;
  }

  .price-receipt .receipt-column-head,
  .price-receipt .receipt-market-row {
    grid-template-columns: minmax(0, 1fr) 82px 78px;
    column-gap: 7px;
  }

  .price-receipt .receipt-market-row {
    padding: 7px 0;
  }

  .price-receipt .symbol {
    min-width: 28px;
    font-size: 11px;
  }

  .price-receipt .name {
    min-width: 44px;
    font-size: 11px;
  }

  .price-receipt .asset-price,
  .price-receipt .asset-change {
    font-size: 12px;
    line-height: 16px;
  }

  .price-receipt .receipt-summary strong {
    font-size: 16px;
    line-height: 20px;
  }

  .price-receipt .receipt-next,
  .price-receipt .receipt-foot-copy {
    font-size: 12px;
  }
}
/* =========================================================
   HERO 99. 메인 제목 폰트 최종 강제 적용
   기존 .hero h1 설정보다 아래에 있어야 함
========================================================= */
.hero h1 {
  font-family: "LINE Seed Sans KR", "Pretendard", sans-serif !important;
  font-size: clamp(42px, 5.2vw, 54px);
  line-height: 1.16;
  font-weight: 700 !important;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  color: #17171b;
  word-break: keep-all;
}

/* =========================================================
   RECEIPT 15. 시세 데이터 상태
========================================================= */

.market-update-time {
  width: 100%;
  margin-top: 16px;
  padding-top: 10px;

  border-top:
    1px dashed rgba(25, 25, 25, 0.18);

  font-family: "HBIOS-SYS", monospace;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;

  color: #666666;
  text-align: right;
}


/* =========================================================
   RECEIPT 16. 데이터 로딩 전 표시
========================================================= */

.asset-price:empty::after,
.asset-change:empty::after {
  content: "—";
}


/* =========================================================
   RECEIPT 17. 모바일 시세 상태
========================================================= */

@media (max-width: 560px) {
  .market-update-time {
    font-size: 10px;
    line-height: 14px;
  }
}
/* =========================================================
   RECEIPT 18. 공포탐욕지수 게이지
========================================================= */

.price-receipt .summary-label {
  display: block;
  margin-bottom: 2px;

  font-size: 14px;
  line-height: 16px;
  color: #4f4f4f;
  text-align: center;
}

.price-receipt .fg-gauge {
  position: relative;
  width: 220px;
  max-width: 100%;
  margin: 2px auto 0;
}

.price-receipt .fg-gauge-bar {
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #d84b4b 0%,
      #e58a3a 20%,
      #d7b93a 40%,
      #83b83e 70%,
      #27b36a 100%
    );
}

.price-receipt .fg-gauge-marker {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #1d1d1f;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}

.price-receipt .fg-gauge-scale {
  display: flex;
  justify-content: space-between;
  width: 220px;
  max-width: 100%;
  margin: 4px auto 0;

  font-size: 10px;
  line-height: 12px;
  color: #8a8a8a;
}

.price-receipt .fg-value-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  margin-top: 2px;
}

.price-receipt .fg-emoji {
  font-size: 16px;
  line-height: 1;
}

.price-receipt .fg-value-line strong {
  font-family: "HBIOS-SYS", monospace;
  font-size: 20px;
  line-height: 22px;
  font-weight: 400;
  color: #171717;
  text-align: center;
}

/* =========================================================
   RECEIPT 20. USD 기준 표시 강화
========================================================= */

.price-receipt .receipt-column-head {
  color: #5d5d5d;
}
/* =========================================================
   RECEIPT 21. 모바일 보정
========================================================= */

@media (max-width: 560px) {
  .price-receipt .fg-gauge,
  .price-receipt .fg-gauge-scale {
    width: 180px;
  }

  .price-receipt .fg-value-line strong {
    font-size: 16px;
    line-height: 18px;
  }

  .price-receipt .fg-emoji {
    font-size: 14px;
  }

  .price-receipt .receipt-stars {
    margin: 10px auto;
  }

  .price-receipt .receipt-foot-copy {
    margin: 8px 0 6px;
    font-size: 12px;
  }

  .price-receipt .receipt-number {
    font-size: 10px;
  }
}
