/* Loaded after globals.css. Reading text, controls and metadata retain distinct scales. */
body .page-subtitle,
body .detail-description,
body .detail-content-grid p,
body .identification-list li,
body .set-card-content p,
body .set-detail-summary p,
body .settings-grid .card p,
body .empty-state p,
body .empty-results p,
body .sign-in-state p,
body .prose {
  font-size: 16px;
  line-height: 1.75;
  color: #64715f;
}

/* Everyday controls remain compact, with enough space for their labels. */
body .button,
body .button-small,
body .topbar .button,
body .page-actions .button,
body .hero-search .button,
body .set-feature .button,
body .set-card-content .button,
body .detail-actions .button,
body .dialog-footer .button {
  font-size: 14px;
  min-height: 42px;
  line-height: 1.35;
}
body .text-button,
body .selected-coin .text-button,
body .section-link,
body .nav-item,
body .header-search,
body .field,
body .field-label,
body .segmented button,
body .filter-row .select,
body .detail-tabs button,
body .watch-target button {
  font-size: 14px;
}
body .input,
body .search-dialog-input input {
  font-size: 16px;
  min-height: 44px;
}
body .search-field input,
body .hero-search input,
body .watch-target .input {
  font-size: 14px;
}
body .segmented button { min-height: 36px; }
body .filter-row .select { min-height: 42px; max-width: 205px; }
body .field { line-height: 1.5; }
body .settings-row { font-size: 14px; }
body .toast { font-size: 14px; line-height: 1.55; }
body .notice, body .form-error { font-size: 14px; line-height: 1.7; }

/* Quiet context is still readable. Coin artwork itself is intentionally unaffected. */
body .brand small { font-size: 10px; letter-spacing: 1.1px; }
body .nav-label,
body .eyebrow,
body .page-intro .eyebrow,
body .dialog-heading .eyebrow,
body .search-results h2 { font-size: 12px; letter-spacing: 1.4px; }
body .nav-label { color: #6d7b68; }
body .badge,
body .nav-item b,
body .coin-year,
body .coin-denomination,
body .owned-badge,
body .tiny-label,
body .detail-stat-row .tiny-label,
body .stat-tile span,
body .summary-card > span,
body .summary-card > small,
body .progress-label,
body .guide-row p,
body .coin-cell small,
body .coin-picker-row small,
body .search-result small,
body .selected-coin span,
body .settings-row small,
body .country-tag,
body .profile small,
body .header-search kbd { font-size: 12px; line-height: 1.5; }
body .tiny-label { letter-spacing: .35px; }
body .coin-year,
body .tiny-label,
body .stat-tile span,
body .summary-card > span,
body .summary-card > small,
body .guide-row p,
body .coin-cell small,
body .coin-picker-row small,
body .search-result small,
body .selected-coin span,
body .settings-row small { color: #6c7963; }
body .summary-card.highlight > span { color: #c4d6b8; }
body .summary-card.highlight > small { color: #bed0b4; }
body .profile strong { font-size: 14px; }
body .breadcrumb,
body .breadcrumb strong,
body .detail-crumb,
body .catalog-meta,
body .filter-row .filter-caption,
body .section-description,
body .source-link,
body .form-hint,
body .sales-note,
body .visual-note,
body .detail-image-panel p,
body .site-footer { font-size: 12px; line-height: 1.65; }
body .section-description,
body .catalog-meta,
body .form-hint,
body .sales-note,
body .visual-note,
body .detail-image-panel p,
body .site-footer { color: #6b7962; }
body .sidebar-note strong { font-size: 14px; }
body .sidebar-note p { font-size: 13px; color: #69775f; }
body .sidebar-note a { font-size: 14px; }

/* Cards and tables keep a clear visual hierarchy without enlarging their artwork. */
body .coin-card-title { font-size: 16px; line-height: 1.4; min-height: 45px; }
body .coin-card-bottom { gap: 8px; align-items: flex-end; }
body .coin-card-bottom > div { min-width: 0; }
body .coin-card-bottom strong { font-size: 16px; }
body .coin-card-bottom .coin-add { flex-shrink: 0; }
body .guide-row h3,
body .denomination-card h3,
body .selected-coin strong,
body .coin-picker-row strong,
body .search-result strong,
body .coin-cell strong { font-size: 16px; line-height: 1.4; }
body .guide-row { min-height: 80px; }
body .guide-row-icon { flex-shrink: 0; }
body .denomination-card > strong { flex-shrink: 0; }
body .denomination-card p { font-size: 14px; line-height: 1.6; color: #6b795f; }
body .data-table { font-size: 14px; line-height: 1.5; }
body .data-table th { font-size: 12px; letter-spacing: .6px; }
body .specs div { font-size: 14px; line-height: 1.65; }
body .price-empty h3 { font-size: 16px; }
body .price-empty p { font-size: 16px; line-height: 1.75; color: #68785b; }
body .detail-content-grid h3 { font-size: 17px; }
body .set-detail-summary h2 { font-size: 18px; }
body .set-card-content p { min-height: 84px; }
body .stat-tile { min-width: 0; }
body .stat-tile strong { font-size: 23px; }
body .stat-tile span { margin-top: 5px; }
body .summary-card > strong { font-size: 28px; }
body .search-results > .muted { font-size: 16px; }

/* More generous copy flow in the two promotional panels. */
body .hero { min-height: 355px; }
body .hero .eyebrow { font-size: 12px; letter-spacing: 1.5px; }
body .hero p { font-size: 16px; line-height: 1.7; color: #c0d0c0; max-width: 405px; }
body .hero-search { max-width: 480px; }
body .hero-search .button { padding: 10px 14px; flex-shrink: 0; }
body .hero-popular { font-size: 12px; color: #a6bea5; line-height: 1.6; }
body .hero-tag strong { font-size: 13px; line-height: 1.5; }
body .hero-tag span { font-size: 12px; line-height: 1.5; }
body .hero-tag { max-width: 245px; }
body .set-feature { min-height: 245px; }
body .set-feature p { font-size: 16px; line-height: 1.7; color: #657357; max-width: 300px; }

@media (max-width: 1250px) {
  body .hero { min-height: 365px; }
  body .hero h1 { font-size: 38px; }
  body .hero-tag { right: -12px; max-width: 215px; }
  body .hero-tag strong { font-size: 12px; }
  body .stat-tile { gap: 9px; }
  body .stat-icon { flex-shrink: 0; }
  body .coin-card-content { padding: 17px 13px 15px; }
}

@media (max-width: 1050px) and (min-width: 801px) {
  body .hero { grid-template-columns: minmax(0, 1fr) 155px; padding: 28px; }
  body .hero h1 { font-size: 35px; }
  body .hero-search { margin-right: -150px; position: relative; z-index: 4; }
  body .hero-popular { margin-right: -150px; position: relative; z-index: 4; }
  body .hero-coin-main { top: 28px; right: -20px; }
  body .hero-coin-back { top: 135px; right: 45px; }
  body .hero-tag { display: none; }
  body .overview-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .stat-icon { display: grid; }
  body .collection-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  body .hero { min-height: 360px; }
  body .hero-tag { display: none; }
  body .topbar-actions { gap: 12px; }
  body .site-footer { line-height: 1.8; }
}

@media (max-width: 1050px) {
  body .breadcrumb { font-size: 0; }
  body .breadcrumb strong { font-size: 12px; }
}

@media (max-width: 600px) {
  body .hero { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 27px 23px; }
  body .hero-copy { display: contents; }
  body .hero h1 { font-size: 38px; max-width: 290px; }
  body .hero p { max-width: 285px; }
  body .hero-art { position: relative; grid-row: 4; justify-self: end; top: auto; right: auto; width: 220px; height: 145px; margin: 8px 0 15px; }
  body .hero-coin-main { top: 6px; }
  body .hero-coin-back { top: 46px; }
  body .hero-search { grid-row: 5; margin-top: 0; padding-left: 12px; width: 100%; }
  body .hero-search input { font-size: 16px; }
  body .hero-search .button { padding: 10px 12px; }
  body .hero-popular { grid-row: 6; gap: 8px; }
  body .page-subtitle { font-size: 16px; line-height: 1.7; }
  body .topbar .button { min-height: 38px; padding: 8px 11px; }
  body .breadcrumb strong { font-size: 12px; }
  body .section-header { align-items: flex-start; }
  body .section-link { font-size: 14px; white-space: normal; text-align: right; }
  body .coin-card-content { padding: 14px 12px; }
  body .coin-card-title { min-height: 46px; }
  body .coin-card .tiny-label { font-size: 12px; line-height: 1.45; letter-spacing: 0; }
  body .coin-card-bottom { align-items: flex-end; }
  body .coin-year { font-size: 12px; }
  body .owned-badge { font-size: 12px; padding: 3px 6px; }
  body .stat-tile { padding: 15px 12px; gap: 10px; }
  body .stat-tile strong { font-size: 22px; }
  body .summary-card { padding: 18px 15px; }
  body .summary-card > strong { font-size: 27px; }
  body .summary-card > span { align-items: flex-start; }
  body .summary-card > span svg { margin-top: 2px; }
  body .set-feature { min-height: 280px; align-items: flex-start; }
  body .set-feature-copy { width: 75%; }
  body .set-feature-art { right: -25px; bottom: -7px; }
  body .set-feature-art .coin-art { width: 125px; height: 125px; }
  body .set-feature p { max-width: 245px; }
  body .denomination-grid { grid-template-columns: 1fr; }
  body .denomination-card { padding: 20px; gap: 16px; align-items: center; }
  body .denomination-card > strong { width: 48px; height: 48px; font-size: 29px; }
  body .denomination-card h3 { font-size: 16px; margin-top: 0; }
  body .guide-row h3 { font-size: 16px; }
  body .guide-row .badge { flex-shrink: 0; }
  body .filter-row .select { font-size: 14px; max-width: none; min-height: 44px; }
  body .search-field input { font-size: 16px; }
  body .detail-tabs { gap: 20px; overflow-x: auto; }
  body .detail-tabs button { font-size: 14px; white-space: nowrap; }
  body .detail-content-grid p { font-size: 16px; }
  body .set-card-content p { min-height: 0; }
  body .set-detail-summary p { font-size: 16px; }
  body .set-detail-summary h2 { font-size: 18px; }
  body .dialog-footer { flex-wrap: wrap; }
  body .dialog-footer .button { font-size: 14px; }
  body .selected-coin { align-items: flex-start; }
  body .selected-coin strong { font-size: 16px; }
  body .selected-coin .text-button { font-size: 14px; }
  body .form-hint { font-size: 12px; }
  body .field { font-size: 14px; }
  body .search-dialog-input input { font-size: 16px; }
  body .search-result strong { font-size: 16px; }
  body .notice { font-size: 14px; }
  body .prose { font-size: 16px; }
}

@media (max-width: 360px) {
  body .hero { padding: 25px 19px; }
  body .hero h1 { font-size: 35px; }
  body .hero-search { gap: 6px; }
  body .hero-search > svg { display: none; }
  body .coin-grid { grid-template-columns: 1fr; }
  body .coin-card-title { min-height: 0; }
  body .coin-card .tiny-label { white-space: nowrap; }
  body .coin-card-visual { min-height: 185px; }
  body .guide-row .badge { display: none; }
}
