/* Abyssal Basket — title type (chosen 2026-11-24 on the real page, option A of three).
   Bodoni Moda: an engraved, high-contrast serif for the "myth of the abyss"; the key word
   turns italic and aqua. Text stays Mona Sans, data stays DM Mono. Loaded after the page
   stylesheets so it wins over their Mona Sans title settings. */
:root, :root[data-da="abyss"] { --display: "Bodoni Moda", Georgia, "Times New Roman", serif; }

:root :is(.display, .h1, .h2) {
  font-family: var(--display); font-weight: 400; font-stretch: 100%;
  font-optical-sizing: auto; letter-spacing: -.012em; line-height: 1;
}
:root :is(.display, .h1, .h2) em, :root .treasure { font-style: italic; font-weight: 400; }

/* sizes: smaller than before, the home title on two lines */
:root .display, :root .hero .display { font-size: clamp(44px, min(6.4vw, 10.5vh), 96px); }
:root .display.sm { font-size: clamp(36px, 4.6vw, 72px); line-height: 1.02; }
:root[data-da="abyss"] .h1 { font-size: clamp(40px, 5.2vw, 80px); line-height: 1.02; letter-spacing: -.012em; }
:root[data-da="abyss"] .col-head .h2, :root[data-da="abyss"] .h2 { font-size: clamp(30px, 2.9vw, 46px); line-height: 1.06; letter-spacing: -.01em; font-stretch: 100%; }

/* figures and tickers follow the title face */
:root :is(.giant, .readings dd, .stat .v, .fs-value) { font-family: var(--display); font-weight: 400; font-stretch: 100%; letter-spacing: -.015em; }
:root .giant { font-size: clamp(64px, 10vw, 160px); }
:root :is(.row .tk, .tick) { font-family: var(--display); font-weight: 500; font-stretch: 100%; letter-spacing: 0; }
:root .brand b, :root[data-da="abyss"] .brand b { font-family: var(--display); font-weight: 500; font-stretch: 100%; font-size: 17px; letter-spacing: 0; }

@media (max-width: 760px) {
  :root .display, :root .hero .display { font-size: clamp(42px, 11.5vw, 56px); }
  :root .display.sm { font-size: clamp(34px, 9.4vw, 46px); }
}
:root .hero .display { max-width: none; }   /* the old 11ch cap was sized for the wide font: two lines now */

/* giant amounts inside panels (calculator, my basket): sized to their panel, not to the page */
:root .panel .giant, :root[data-da="abyss"] .panel .giant { font-size: clamp(44px, 4.3vw, 70px); line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
/* engraved price: small raised "$" and cents (markup from BLMoney / abysse.js) */
:root .giant .cur { font-size: .46em; vertical-align: .9em; margin-right: .06em; letter-spacing: 0; color: #8fb5b6; }
:root .giant .cents { font-size: .46em; vertical-align: .9em; margin-left: .03em; letter-spacing: 0; }

/* calculator result: two figures with a rule between them, yours in aqua */
:root[data-da="abyss"] .result-top { gap: 0; }
:root[data-da="abyss"] .result-top > div { min-width: 0; }
:root[data-da="abyss"] .result-top > div + div { padding-left: clamp(18px, 2.4vw, 32px); border-left: 1px solid rgb(94 242 224 / .14); }
:root[data-da="abyss"] .result-top > div:first-child { padding-right: clamp(18px, 2.4vw, 32px); }
:root[data-da="abyss"] #r-mine { color: #a8f8ee; }
:root[data-da="abyss"] .result .flow-cap { margin-top: 12px; }
@media (max-width: 520px) {
  :root[data-da="abyss"] .result-top > div + div { padding: 22px 0 0; margin-top: 22px; border-left: 0; border-top: 1px solid rgb(94 242 224 / .14); }
  :root[data-da="abyss"] .result-top > div:first-child { padding-right: 0; }
}
