/* Portable HTML enhancements. All colours and spacing extend the approved design. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-size: 16px; }
button, input, select, textarea { font: inherit; }
button, .button, input, select, textarea { font-size: 14px; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #c49837; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cmc-footer-bottom { flex-wrap: wrap; row-gap: 12px; }
.cmc-header a[aria-current="page"] { color: #153c32; font-weight: 700; }
.cmc-collection-button b { min-width: 22px; padding: 1px 5px; background: #e2b95b; color: #153c32; border-radius: 12px; font-size: 12px; }
.cmc-wordmark small { font-size: 14px; }
.cmc-mobile-menu { border-bottom: 1px solid #e4e9e6; }
.cmc-mobile-denoms { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 15px; }
.watch-button.active svg, .watch-button.is-watched svg { fill: #e2b95b; stroke: #153c32; }
.cw-dialog::backdrop { background: rgb(12 35 28 / 48%); backdrop-filter: blur(3px); }
.cw-search-modal { max-width: 620px; width: calc(100% - 32px); padding: 28px; border: 1px solid #dde5df; border-radius: 20px; color: #172f2b; background: #fff; max-height: 88vh; overflow-y: auto; margin: auto; box-shadow: 0 25px 80px rgb(15 40 30 / 18%); }
.cw-search-modal .cw-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.cw-search-modal h2 { font-size: 25px; letter-spacing: -.5px; }
.cw-dialog-search { display: block; }
.cw-dialog-search input { display: block; width: 100%; padding: 15px 16px; border: 1px solid #ccd9cf; border-radius: 10px; background: #f9fbf9; font-size: 16px; }
.cw-search-results { list-style: none; padding: 8px 0 15px; margin: 0; }
.cw-search-results li + li { border-top: 1px solid #edf1ed; }
.cw-search-results a { display: flex; gap: 17px; align-items: center; padding: 14px 6px; border-radius: 8px; }
.cw-search-results a:hover { background: #f4f7f3; }
.cw-search-results .coin-art { flex: 0 0 56px; width: 56px; height: 56px; }
.cw-search-results .coin-token strong { font-size: 23px; }
.cw-search-results .token-top, .cw-search-results .token-bottom, .cw-search-results .token-year { display: none; }
.cw-search-results strong, .cw-search-results span, .cw-search-results small { display: block; }
.cw-search-results strong { font-size: 16px; }
.cw-search-results span { margin-top: 4px; font-size: 14px; color: #617169; }
.cw-search-results small { margin-top: 4px; font-size: 12px; color: #6b796e; }
.cw-search-empty { padding: 28px 8px; }
.cw-search-empty p { margin: 10px 0; color: #66766a; }
.cw-search-empty a { text-decoration: underline; text-underline-offset: 4px; }
.cw-demo-notice { background: #eef4ed; border: 1px solid #dce7da; border-radius: 12px; padding: 17px 20px; font-size: 14px; line-height: 1.7; margin-bottom: 28px; color: #2e5144; }
.cw-demo-notice strong { font-weight: 700; }
.cw-launch-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 26px 0 34px; }
.cw-launch-card { display: flex; flex-direction: column; border: 1px solid #dfe7df; background: white; border-radius: 16px; padding: 25px; box-shadow: 0 8px 18px rgb(32 58 45 / 3%); transition: transform .15s, border-color .15s; }
.cw-launch-card:hover { transform: translateY(-3px); border-color: #9eb69f; }
.cw-launch-card > span { font-size: 23px; font-weight: 700; letter-spacing: -.5px; }
.cw-launch-card p { margin: 12px 0 24px; color: #66766a; font-size: 16px; line-height: 1.7; flex: 1; }
.cw-launch-card > strong { color: #153c32; font-size: 14px; }
.cw-handoff-notes { padding: 28px; margin: 25px 0 38px; }
.cw-handoff-notes h2 { font-size: 24px; margin-bottom: 14px; }
.cw-handoff-notes p { line-height: 1.8; margin: 10px 0; color: #5b6d62; }
.cw-doc-links { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 20px; }
.cw-doc-links a { color: #153c32; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.cw-page-directory h2 { font-size: 28px; margin-bottom: 20px; }
.cw-page-directory > label { display: block; max-width: 640px; }
.cw-page-directory > label > span { display: block; font-size: 14px; font-weight: 650; margin-bottom: 8px; }
.cw-page-directory > ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); list-style: none; padding: 0; gap: 0 32px; margin-top: 24px; }
.cw-page-directory li { padding: 17px 0; border-bottom: 1px solid #dfe7df; }
.cw-page-directory li a { display: block; }
.cw-page-directory strong { display: block; font-size: 16px; margin-bottom: 5px; }
.cw-page-directory li span { font-size: 12px; color: #68796e; overflow-wrap: anywhere; }
.cw-page-directory a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.cw-price-state-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.cw-price-state-grid > article { padding: 30px; }
.cw-price-state-grid h2 { font-size: 24px; margin: 20px 0 15px; line-height: 1.3; }
.cw-price-state-grid p { margin: 12px 0; line-height: 1.75; }
.cw-example-price { display: block; font-size: 42px; letter-spacing: -1.5px; color: #153c32; }
.cw-evidence-empty { text-align: center; padding: 42px 25px; border: 1px dashed #dce6da; background: #f8faf6; border-radius: 15px; margin: 25px 0; }
.cw-empty-symbol { width: 50px; height: 50px; background: #eaf1e4; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; font-size: 27px; color: #44634d; }
.cw-evidence-empty h3 { font-size: 22px; margin-bottom: 12px; }
.cw-evidence-empty p { max-width: 650px; margin: auto; font-size: 16px; line-height: 1.8; color: #66766a; }
.cw-evidence-principles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin-top: 30px; }
.cw-evidence-principles h3 { font-size: 16px; margin-bottom: 8px; }
.cw-evidence-principles p { font-size: 14px; color: #66766a; line-height: 1.8; }
.cw-no-matches { grid-column: 1 / -1; text-align: center; padding: 65px 25px; border: 1px dashed #d2dfd2; background: #fff; border-radius: 16px; }
.cw-no-matches h2 { font-size: 25px; margin: 14px 0; }
.cw-no-matches p { margin: 14px 0 25px; color: #647669; }
.cw-no-matches .button { margin: 6px; }
.cw-list-view { grid-template-columns: 1fr !important; }
.cw-list-view .coin-card { display: grid; grid-template-columns: 165px 1fr; position: relative; }
.cw-list-view .coin-card-visual { min-height: 160px; border-radius: 0; }
.cw-list-view .coin-card-visual .coin-art { width: 115px; height: 115px; }
.cw-list-view .coin-card-content { display: flex; flex-direction: column; justify-content: center; padding: 20px 30px 26px; }
.cw-list-view .coin-card-title { min-height: auto; margin: 10px 0; }
.cw-list-view .cmc-card-photo-credit { position: absolute; left: 180px; bottom: 7px; background: none; padding: 0; text-align: left; }
.cw-noscript { padding: 16px; background: #fff2ca; text-align: center; color: #453b20; }
@media (min-width: 881px) { .cmc-mobile-menu { display: none !important; } }
@media (max-width: 850px) {
  .cw-launch-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cw-evidence-principles { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  .cw-launch-grid, .cw-price-state-grid, .cw-page-directory > ul { grid-template-columns: 1fr; }
  .cw-search-modal { padding: 20px; }
  .cw-search-modal h2 { font-size: 21px; }
  .cw-launch-card { padding: 23px; }
  .cw-list-view .coin-card { grid-template-columns: 120px 1fr; }
  .cw-list-view .coin-card-visual { min-height: 150px; }
  .cw-list-view .coin-card-content { padding: 16px 16px 25px; }
  .cw-list-view .coin-card-visual .coin-art { width: 90px; height: 90px; }
  .cw-list-view .coin-year { font-size: 12px; }
  .cw-list-view .cmc-card-photo-credit { left: 134px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print { .cmc-header, .cmc-footer, button, .cw-demo-notice { display: none !important; } .cmc-main { padding: 0; } .coin-card { break-inside: avoid; } }
