/* =====================================================================================================================
   DrillScore  -  THE DRILLSCORE LAYER

   DrillScore wears the same design system as the sites it was built from (owns.ai's shell and Velocity), re-forged in
   gold and copper: the aqua -> ocean -> deep-blue gradient became gold -> amber -> copper, and the carbon black became
   a warm rock black. The page loads, in this order:

       app.css         the shell: tokens, base, and every shared component (buttons, fields, cards, chips, tables, nav,
                       footer, toasts, reveals)
       drillscore.css  THIS FILE: the hero, the live market ticker and the pieces only DrillScore has - the DrillScore
                       ring, announcement cards, the intercept table, the disclosure checklist, the cash runway gauge,
                       price reactions, company pages, the community and the calculators
       design.css      Velocity, the design layer, loaded last so it has the final word

   Everything here is written against the shell's tokens (var(--surface), var(--brand), var(--grad), var(--r)...) and
   motion (var(--ease), the .card-hover lift), so it moves and recolours with the theme.

   Coded By Darko G.
   ===================================================================================================================== */

:root {
    --ease-fade: cubic-bezier(.4, 0, .2, 1);
    --r-xs: 2px;

    /* DrillScore bands and signals */
    --s-standout: #FFCB52;
    --s-strong: #34D399;
    --s-solid: #F5B23C;
    --s-weak: #FB923C;
    --s-red: #C81E1E;
    --up: #22C55E;
    --down: #C81E1E;
    --gold: #FFCB52;
    --gold-2: #F29A2E;
    --copper: #D9733B;
    --copper-2: #B4532A;

    /* the old verdict tokens, still used by the shared pills */
    --v-bad: #C81E1E;
    --v-caution: #F59E0B;
    --v-safe: #10B981;
    --v-listed: #F29A2E;
    --v-unknown: #64748B;
}
[data-theme="light"] { --up: #15803D; --down: #991B1B; --s-standout: #B7791F; --s-solid: #C2780E; --s-weak: #C2410C; }

/* the hit scale (DrillViz.cs): low red, modest grey, good -> really good -> excellent green, stellar gold. Checked with the
   dataviz palette validator against each theme's surface: neighbouring bands stay distinct for colour-blind readers */
:root { --hb-low: #C81E1E; --hb-modest: #7C8799; --hb-good: #2A7A52; --hb-really-good: #22C55E; --hb-excellent: #A7F3C5; --hb-stellar: #FFCB52;
        --hb-good-ink: #E7FFF1; --hb-really-good-ink: #04210F; --hb-excellent-ink: #04210F; }
[data-theme="light"] { --hb-low: #991B1B; --hb-modest: #9AA3B1; --hb-good: #45B36B; --hb-really-good: #1A7D44; --hb-excellent: #064222; --hb-stellar: #B7791F;
        --hb-good-ink: #04210F; --hb-really-good-ink: #FFFFFF; --hb-excellent-ink: #E7FFF1; }

/* ---- PAGE ---------------------------------------------------------------------------------------------------------- */

.container-mid { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 680px) { .container-mid { padding: 0 16px; } }
.page-head { padding: 34px 0 26px; }
.page-head h1 { max-width: 24ch; margin-bottom: 14px; }
.page-head .lead { max-width: 72ch; margin-bottom: 0; }
.page-head .meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin: 0; }
.block { margin: 64px 0; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.block-head h2 { margin: 0; }
.block-more { margin-top: 16px; }
h2.h3, .h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
h2.h4, .h4 { font-size: .95rem; }
h3.h5, .h5 { margin: 20px 0 10px; font-family: var(--font-display); font-stretch: 112%; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h2 > i, .h3 > i, .h4 > i { color: var(--brand); margin-right: .5em; font-size: .9em; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.layout-article { grid-template-columns: minmax(0, 1fr) 320px; }
.layout-side { position: sticky; top: calc(var(--nav-h) + 18px); display: flex; flex-direction: column; gap: 18px; }
.layout-main > .card, .layout-main > section { margin-bottom: 22px; }
@media (max-width: 980px) { .layout, .layout-article { grid-template-columns: minmax(0, 1fr); } .layout-side { position: static; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 8px 14px; background: var(--text); color: var(--bg); font-weight: 700; }
.skip:focus { top: 12px; color: var(--bg); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--font-display); font-stretch: 112%; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.more i { transition: transform .35s var(--ease); }
.more:hover i { transform: translateX(4px); }

/* the breadcrumb, in Velocity's tracked capitals */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 0; padding: 26px 0 0;
             font-family: var(--font-display); font-stretch: 112%; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--faint); opacity: .6; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

.empty { padding: 34px 24px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }
.empty-first { display: flex; align-items: center; gap: 20px; text-align: left; color: var(--text-2); }
.empty-first strong { display: block; margin-bottom: 6px; color: var(--text); }
.empty-first p { margin: 0; }
.hex { width: 44px; height: 40px; flex: none; display: inline-grid; place-items: center; clip-path: var(--hex); background: var(--grad); color: #fff; font-size: 1rem; }
.hex-lg { width: 64px; height: 58px; font-size: 1.5rem; filter: drop-shadow(0 8px 16px rgba(242, 154, 46, .45)); }
.callout { display: block; margin: 1.4em 0; padding: 16px 18px; border: 1px solid rgba(242, 154, 46, .3); border-left: 3px solid #F29A2E; border-radius: var(--r); background: var(--grad-soft); color: var(--text-2); }
.callout-bad { border-color: rgba(185, 28, 28, .3); border-left-color: var(--v-bad); background: rgba(185, 28, 28, .07); }
.callout strong { color: var(--text); }


/* ---- THE HERO (owns.ai marketing.css: .mk-hero, .mk-pill, .mk-build-*, .mk-micro) ---------------------------------- */

.mk-hero { position: relative; padding: 64px 0 36px; overflow: hidden; --mx: 70%; --my: 260px; }
@supports (overflow: clip) { .mk-hero { overflow: visible; overflow-x: clip; } }
.mk-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: -560px; pointer-events: none; z-index: 0;
                   background: radial-gradient(600px 420px at var(--mx) var(--my), rgba(242, 154, 46, .22), rgba(242, 154, 46, .07) 38%, transparent 66%);
                   transition: background .2s linear; }
.mk-hero::after { content: ""; position: absolute; left: 68%; top: -180px; width: 1100px; height: 620px; margin-left: -550px; pointer-events: none; z-index: 0; opacity: .7;
                  background: radial-gradient(closest-side, rgba(242, 154, 46, .2), rgba(255, 203, 82, .08) 55%, transparent); filter: blur(10px); }
[data-theme="light"] .mk-hero::after { opacity: .45; }
.mk-hive { position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: var(--hive-svg); background-size: 48px 83.14px; opacity: .55;
           -webkit-mask-image: radial-gradient(ellipse 60% 75% at 80% 30%, #000 20%, rgba(0, 0, 0, .4) 55%, transparent 80%);
           mask-image: radial-gradient(ellipse 60% 75% at 80% 30%, #000 20%, rgba(0, 0, 0, .4) 55%, transparent 80%); }
[data-theme="light"] .mk-hive { opacity: .35; }
@media (orientation: portrait) and (max-width: 820px) {
    [data-theme="light"] .mk-hero::before { opacity: .15; }
    [data-theme="light"] .mk-hero::after { opacity: .08; }
    .mk-hive { opacity: .2; }
}
.mk-hero-inner { position: relative; z-index: 1; }
.mk-hero-inner > * { max-width: 880px; }
.mk-hero .display { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 22px 0 20px; }
.mk-hero { --h1-a: #FFD36E; --h1-b: #F5AC45; --h1-c: #E5843C; }
[data-theme="light"] .mk-hero { --h1-a: #A87412; --h1-b: #F29A2E; --h1-c: #C4561F; }
.mk-h1-line2 { display: block; margin-top: .3em; font-size: .62em; line-height: 1.12; letter-spacing: -0.02em; }
.mk-h1-line2 .gradient-text { white-space: nowrap; }
.mk-hero .mk-h1-line2 .gradient-text { background-image: linear-gradient(100deg, var(--h1-a), var(--h1-b) 25%, var(--h1-c) 50%, var(--h1-b) 75%, var(--h1-a));
                                       background-size: 200% 100%; animation: mk-flow 7s linear infinite; }
@keyframes mk-flow { to { background-position: -200% 0; } }
.mk-hero .lead { max-width: 640px; }
.mk-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: var(--r-xs); background: var(--glass); border: 1px solid var(--border-strong);
           font-size: .85rem; color: var(--text-2); backdrop-filter: blur(10px); }

.mk-build-form { margin-top: 28px; max-width: 660px; }
.mk-build-field { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: var(--r); background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--border-strong);
                  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
                  box-shadow: 0 0 0 6px rgba(242, 154, 46, .07), 0 0 40px -10px rgba(242, 154, 46, .45), 0 24px 60px -24px rgba(242, 154, 46, .6), inset 0 1px 0 rgba(255, 255, 255, .05);
                  transition: box-shadow .4s var(--ease-fade), border-color .3s; }
.mk-build-field:hover { box-shadow: 0 0 0 6px rgba(242, 154, 46, .1), 0 0 50px -10px rgba(242, 154, 46, .55), 0 24px 60px -24px rgba(242, 154, 46, .7), inset 0 1px 0 rgba(255, 255, 255, .05); }
.mk-build-field::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); opacity: .55;
                          -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
                          animation: mk-border 6s linear infinite; background-size: 200% 200%; transition: opacity .4s var(--ease-fade); }
.mk-build-field:focus-within { box-shadow: 0 0 0 6px rgba(242, 154, 46, .16), 0 0 60px -6px rgba(242, 154, 46, .6), 0 24px 70px -20px rgba(255, 203, 82, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.mk-build-field:focus-within::before { opacity: 1; }
.mk-build-field:focus-within > i { color: var(--brand); filter: drop-shadow(0 0 8px rgba(242, 154, 46, .8)); }
.mk-build-field > i { color: var(--muted); padding-left: 12px; font-size: 1.1rem; transition: color .4s var(--ease-fade), filter .3s; }
.mk-build-input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 600 1.1rem var(--font-sans); padding: 12px 6px; outline: none; letter-spacing: .01em; }
.mk-build-input::placeholder { color: var(--faint); font-weight: 500; }
.mk-build-field .btn { flex: none; }
@keyframes mk-border { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
/* the lookup in a sidebar: the same field, one size down */
.mk-build-form.is-sm { margin-top: 0; max-width: none; }
.mk-build-form.is-sm .mk-build-field { padding: 5px; box-shadow: 0 0 0 4px rgba(242, 154, 46, .05), 0 14px 40px -24px rgba(242, 154, 46, .6); }
.mk-build-form.is-sm .mk-build-input { font-size: .98rem; padding: 9px 4px; }
.mk-build-form.is-sm .btn span { display: none; }
.mk-build-form.is-sm .mk-build-field > i { padding-left: 8px; }

/* the search box's dropdown (drillscore.js): the same frosted glass, gradient rim and gold glow as the box, one company a
   row - its code in its metal's hex, name, metal, average DrillScore - the row under the keys or pointer lit in gold */
.mk-build-form { position: relative; }
.ac-host { position: relative; z-index: 60; }
.ds-ac { position: absolute; left: 0; right: 0; top: calc(100% + 12px); z-index: 60; overflow: hidden; border-radius: var(--r);
         background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 55%, var(--surface)), var(--surface) 140px); border: 1px solid var(--border-strong);
         -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
         box-shadow: 0 0 0 6px rgba(242, 154, 46, .08), 0 0 50px -12px rgba(242, 154, 46, .5), 0 34px 70px -22px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .06);
         animation: ac-in .28s cubic-bezier(.2, .9, .3, 1.15) both; text-align: left; }
.ds-ac[hidden] { display: none; }
.ds-ac::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); background-size: 200% 200%; pointer-events: none; z-index: 2;
                 -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: mk-border 6s linear infinite; }
.ac-h { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px 9px; border-bottom: 1px solid var(--border);
        font: 700 .62rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.ac-h span:first-child { color: var(--brand); }
.ac-l { position: relative; max-height: min(336px, 52vh); overflow-y: auto; padding: 6px; scrollbar-width: thin; }
.ac-i { position: relative; display: flex; align-items: center; gap: 14px; padding: 9px 12px; border-radius: max(var(--r), 2px); color: var(--text); text-decoration: none;
        animation: ac-row .32s var(--ease-fade) calc(var(--i) * 35ms) both; transition: background-color .18s, box-shadow .18s; }
.ac-i::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--grad); opacity: 0; transform: scaleY(.3); transition: opacity .2s, transform .25s var(--ease); }
.ac-i.is-on { background: linear-gradient(90deg, rgba(255, 203, 82, .14), rgba(242, 154, 46, .04) 70%, transparent); box-shadow: inset 0 0 0 1px rgba(255, 203, 82, .22); }
.ac-i.is-on::before { opacity: 1; transform: none; }
.ac-hex { flex: none; position: relative; width: 50px; height: 44px; display: grid; place-items: center; color: #1A1206;
          clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0 50%); background: linear-gradient(135deg, #FFE48A 0%, #FFCB52 30%, #F29A2E 62%, #C4561F 100%); }
.ac-hex.is-cu { color: #FFF7F0; background: linear-gradient(135deg, #F4B48C 0%, #E8955F 35%, #B4532A 100%); }
.ac-hex.is-aucu { background: linear-gradient(135deg, #FFE48A 0%, #F29A2E 48%, #E8955F 52%, #B4532A 100%); }
.ac-hex b { font: 800 .8rem/1 var(--font-mono); letter-spacing: .02em; }
.ac-hex mark { background: none; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }
.ac-i.is-on .ac-hex { filter: drop-shadow(0 0 10px rgba(255, 203, 82, .55)); }
.ac-t { flex: 1 1 auto; min-width: 0; display: grid; gap: 4px; }
.ac-t b { font: 700 1rem/1.2 var(--font-display); font-stretch: 105%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-t b mark { background: none; color: var(--brand); }
.ac-t small { font: 600 .68rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ac-t small i { font-style: normal; color: var(--faint); margin: 0 3px; }
.ac-s { --cut: 6px; flex: none; display: grid; justify-items: center; gap: 3px; min-width: 62px; padding: 6px 8px; clip-path: var(--chamfer); color: #1A1206; }
.ac-s b { font: 800 1.05rem/1 var(--font-mono); }
.ac-s small { font: 700 .5rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.ac-s.ac-none { background: var(--surface-3, rgba(255, 255, 255, .05)); color: var(--faint); padding: 9px 8px; }
.ac-go { flex: none; color: var(--faint); font-size: .85rem; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease), color .2s; }
.ac-i.is-on .ac-go { opacity: 1; transform: none; color: var(--brand); }
.ac-empty { display: flex; align-items: center; gap: 10px; margin: 0; padding: 18px 16px; color: var(--muted); font-size: .92rem; }
.ac-empty i { color: var(--brand); }
.ac-f { display: flex; gap: 16px; padding: 9px 16px 10px; border-top: 1px solid var(--border); font: 600 .62rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.ac-f kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-right: 4px; padding: 0 5px; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 4px;
            font: 700 .62rem/1 var(--font-mono); color: var(--text-2); background: var(--surface-2, transparent); }
[data-theme="light"] .ds-ac { box-shadow: 0 0 0 6px rgba(242, 154, 46, .08), 0 0 40px -14px rgba(242, 154, 46, .45), 0 30px 60px -26px rgba(60, 40, 15, .45), inset 0 1px 0 #fff; }
[data-theme="light"] .ac-i.is-on { background: linear-gradient(90deg, rgba(242, 154, 46, .14), rgba(242, 154, 46, .03) 70%, transparent); box-shadow: inset 0 0 0 1px rgba(196, 86, 31, .2); }
.mk-build-form.is-sm .ds-ac { top: calc(100% + 8px); }
/* on desktop the hero's dropdown opens upwards, over the intro, so it never runs off the bottom of the hero */
@media (min-width: 1021px) {
    .hero-search .ds-ac { top: auto; bottom: calc(100% + 12px); animation-name: ac-up;
                          box-shadow: 0 0 0 6px rgba(242, 154, 46, .08), 0 0 50px -12px rgba(242, 154, 46, .5), 0 -30px 70px -22px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .06); }
    [data-theme="light"] .hero-search .ds-ac { box-shadow: 0 0 0 6px rgba(242, 154, 46, .08), 0 0 40px -14px rgba(242, 154, 46, .45), 0 -26px 60px -26px rgba(60, 40, 15, .45), inset 0 1px 0 #fff; }
}
@keyframes ac-up { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .ac-f { display: none; } .ac-i { gap: 11px; padding: 8px 8px; } .ac-hex { width: 44px; height: 38px; } .ac-s { min-width: 52px; } .ac-go { display: none; } }
@media (hover: none) { .ac-f { display: none; } }
@media (prefers-reduced-motion: reduce) { .ds-ac, .ac-i { animation: none; } }
@keyframes ac-in { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes ac-row { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.lookup-error { margin: 12px 0 0; color: var(--danger); font-size: .9rem; font-weight: 600; }
@media (max-width: 560px) { .mk-build-field .btn span { display: none; } .mk-build-field .btn { min-width: 52px; } }

.mk-micro { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .9rem; }
.mk-micro i { color: var(--success); margin-right: 5px; }

.alert-banner { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 10px 16px; max-width: 100%; color: var(--text-2); font-size: .92rem;
                background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
                transition: transform .3s var(--ease), border-color .4s var(--ease-fade), box-shadow .3s; }
.alert-banner:hover { color: var(--text); transform: translateY(-2px); border-color: var(--border-strong); box-shadow: inset 0 2px 0 #F29A2E, var(--shadow); }
.alert-banner strong { font-family: var(--font-display); font-stretch: 118%; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--danger); }
.alert-banner span:not(.dot-live) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alert-banner .dot-live { background: var(--v-bad); }

/* section heads (marketing.css .mk-head) - on the home page design.css numbers their eyebrows 01, 02 ... */
.mk-head { max-width: 780px; margin: 0 0 30px; }
.mk-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.mk-head .lead { margin-bottom: 0; }
.mk-head h2 { margin-bottom: 12px; }
.mk-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.mk-head-row .mk-head { margin-bottom: 0; }


/* ---- STATS --------------------------------------------------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; }
.stat { padding: 22px 24px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat-n { display: block; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-l { color: var(--muted); font-size: .84rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }


/* ---- VERDICT BADGES AND MARKS -------------------------------------------------------------------------------------- */

.pill { --cut: 6px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; clip-path: var(--chamfer); white-space: nowrap; color: #fff; background: var(--v-unknown);
        font-family: var(--font-display); font-stretch: 112%; font-size: .64rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; }
.pill-bad { background: linear-gradient(135deg, #C81E1E, #7F1D1D); }
.pill-caution { background: linear-gradient(135deg, #FCD34D, #F59E0B); color: #1F1300; }
.pill-safe { background: linear-gradient(135deg, #34D399, #059669); }
.pill-listed { background: var(--grad); }
.pill-unknown { background: var(--surface-3); color: var(--text-2); }
.dot { width: 10px; height: 9px; flex: none; clip-path: var(--hex); background: var(--v-unknown); }
.dot-bad { background: var(--v-bad); } .dot-caution { background: var(--v-caution); } .dot-safe { background: var(--v-safe); } .dot-listed { background: var(--v-listed); }
.tag { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; }
.tag i { color: var(--faint); }
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin: 1em 0 1.6em; }

/* the DrillScore: the ring fills from empty when the page arrives */
.ring { position: relative; width: 156px; height: 156px; flex: none; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; stroke-width: 8; }
.ring-track { stroke: var(--border-strong); }
.ring-fill { stroke: var(--v-unknown); stroke-linecap: butt; stroke-dasharray: var(--c) var(--c); stroke-dashoffset: var(--off); animation: ring-in 1.4s var(--ease) .25s both; }
@keyframes ring-in { from { stroke-dashoffset: var(--c); } }
.ring-bad .ring-fill { stroke: var(--v-bad); filter: drop-shadow(0 0 10px rgba(185, 28, 28, .55)); }
.ring-caution .ring-fill { stroke: var(--v-caution); filter: drop-shadow(0 0 10px rgba(245, 158, 11, .5)); }
.ring-safe .ring-fill { stroke: var(--v-safe); filter: drop-shadow(0 0 10px rgba(16, 185, 129, .5)); }
.ring-listed .ring-fill { stroke: #F29A2E; }
.ring-value { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 2.7rem; line-height: 1; margin-top: -14px; letter-spacing: -0.03em; }
.ring-label { position: absolute; bottom: 32px; text-align: center; font-family: var(--font-display); font-stretch: 112%; font-size: .55rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.25; }


/* ---- THE NUMBER PAGE ----------------------------------------------------------------------------------------------- */
/* ---- REPORTS ------------------------------------------------------------------------------------------------------- */

.reports { display: grid; gap: 14px; }
.report { padding: 20px 22px 14px; transition: border-color .4s var(--ease-fade), box-shadow .4s var(--ease-fade); }
.report::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--v-caution); }
.report-b::before { background: var(--v-bad); } .report-s::before { background: var(--v-safe); }
.report:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.report:target { box-shadow: inset 0 2px 0 #F29A2E, 0 0 0 1px rgba(242, 154, 46, .5), var(--shadow); }
.report.is-new { animation: page-in .7s var(--ease) both; }
.report.is-hidden { opacity: .45; }
.report-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; }
.report-num { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700; color: var(--text); }
.report-num:hover { color: var(--brand); }
.report-said { margin: 0 0 6px; color: var(--text-2); font-size: .9rem; }
.report-said i { margin-right: 6px; color: var(--muted); }
.report-said strong { color: var(--text); }
.report-text { color: var(--text); overflow-wrap: anywhere; }
.report-text p { margin: 0 0 .6em; }
.report-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.report-by { color: var(--muted); font-size: .84rem; }
.report-actions { display: flex; gap: 6px; }
.vote.is-on { color: var(--success); border-color: rgba(16, 185, 129, .55); background-color: rgba(16, 185, 129, .1); }
.vote.is-on i { color: var(--success); }
.vote-flag.is-on { color: var(--danger); border-color: rgba(185, 28, 28, .55); background-color: rgba(185, 28, 28, .1); }
.vote-flag.is-on i { color: var(--danger); }


/* ---- NUMBER CARDS AND LISTS ---------------------------------------------------------------------------------------- */
/* ---- THE REPORT FORM ----------------------------------------------------------------------------------------------- */

.rform { padding: clamp(20px, 3vw, 30px); }
.rform-title { font-size: clamp(1.15rem, 2.2vw, 1.55rem); margin-bottom: 22px; }
.rform-title span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rform fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.rform legend, .field-legend { padding: 0; margin-bottom: 9px; font-size: .85rem; font-weight: 600; color: var(--text-2); }
.field b { color: var(--danger); font-weight: 700; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select, .field.has-error .seg label > span { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(185, 28, 28, .12), 0 0 24px -6px rgba(185, 28, 28, .5); }
.field-error { margin: 2px 0 0; color: var(--danger); font-size: .84rem; font-weight: 600; }
.rform .help { margin: 0; }

/* the choices: tiles that take the fields' own halo on hover and their gradient edge and glow when chosen */
.seg { display: grid; gap: 10px; }
.seg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; padding: 12px 8px; text-align: center;
                    border-radius: var(--r); border: 1px solid var(--border-strong); background-color: var(--input-bg); color: var(--text); font-weight: 700; font-size: .93rem;
                    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 8px 26px -18px rgba(242, 154, 46, .55);
                    transition: border-color .4s var(--ease-fade), box-shadow .4s var(--ease-fade), background-color .3s var(--ease-fade), color .3s, transform .3s var(--ease); }
.seg-2 label > span { flex-direction: row; gap: 9px; }
.seg label > span i { font-size: 1.05rem; color: var(--muted); transition: color .3s, transform .4s var(--ease); }
.seg small { color: var(--muted); font-size: .76rem; font-weight: 500; transition: color .3s; }
.seg label:hover > span { border-color: rgba(242, 154, 46, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 0 0 3px rgba(242, 154, 46, .07), 0 0 22px -8px rgba(242, 154, 46, .45); }
.seg label:hover > span i { transform: scale(1.12); }
.seg input:focus-visible + span { outline: 2px solid #F29A2E; outline-offset: 2px; }
.seg input:checked + span { border-color: transparent; box-shadow: var(--field-glow);
                            background-image: linear-gradient(var(--input-solid), var(--input-solid)), var(--grad); background-origin: border-box; background-clip: padding-box, border-box; }
.seg input:checked + span i { color: var(--brand); }
.seg-verdict input:checked + span { background-image: none; transform: translateY(-1px); }
.seg-verdict .v-bad input:checked + span { background-color: transparent; background-image: linear-gradient(135deg, #C81E1E, #7F1D1D); color: #fff; box-shadow: 0 12px 30px -12px rgba(185, 28, 28, .8); }
.seg-verdict .v-unsure input:checked + span { background-color: transparent; background-image: linear-gradient(135deg, #FCD34D, #F59E0B); color: #1F1300; box-shadow: 0 12px 30px -12px rgba(245, 158, 11, .75); }
.seg-verdict .v-safe input:checked + span { background-color: transparent; background-image: linear-gradient(135deg, #34D399, #059669); color: #fff; box-shadow: 0 12px 30px -12px rgba(16, 185, 129, .75); }
.seg-verdict input:checked + span i, .seg-verdict input:checked + span small { color: inherit; }

.rform-done { margin-top: 16px; }
.rform-done .share { margin-top: 12px; }
.rform.is-sending { opacity: .75; transition: opacity .3s; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sbtn { width: 40px; height: 36px; display: inline-grid; place-items: center; padding: 0; border: 0; cursor: pointer; clip-path: var(--hex); background: var(--surface-3); color: var(--muted); font-size: 1rem;
        transition: color .4s var(--ease-fade), background-color .4s var(--ease-fade), transform .25s var(--ease); }
.sbtn:hover { color: #fff; background: #F29A2E; transform: translateY(-2px); }
.ticks { list-style: none; display: grid; gap: 9px; margin: 0 0 12px; padding: 0; color: var(--text-2); font-size: .92rem; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 11px; clip-path: var(--hex); background: var(--grad); }
.cta-panel { display: grid; justify-items: center; gap: 6px; text-align: center; }
.cta-panel p { color: var(--text-2); font-size: .92rem; }


/* ---- FAQ ----------------------------------------------------------------------------------------------------------- */

.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color .4s var(--ease-fade), box-shadow .4s var(--ease-fade), background-color .4s var(--ease-fade); }
.faq details:hover { border-color: var(--border-strong); }
.faq details[open] { box-shadow: inset 0 2px 0 #F29A2E, var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 650; font-size: 1rem; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 32px; height: 29px; display: grid; place-items: center; clip-path: var(--hex); background: var(--surface-3); color: var(--muted); font-size: .8rem;
                 transition: transform .4s var(--ease), background-color .4s var(--ease-fade), color .3s; }
.faq details[open] summary i { transform: rotate(180deg); background: var(--grad); color: #fff; }
.faq-a { padding: 0 20px 18px; color: var(--text-2); animation: faq-open .45s var(--ease); }
.faq-a p { margin: 0; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }
.faq-block { max-width: 920px; }


/* ---- HOME ---------------------------------------------------------------------------------------------------------- */

/* how it works: marketing.css .mk-steps with the hexagon step numbers */
.mk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.mk-steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--brand), var(--brand-3), transparent); opacity: .5; }
.mk-step { position: relative; padding: 0 8px; text-align: center; }
.mk-step p { color: var(--text-2); margin: 0; }
.mk-step-num { width: 60px; height: 54px; margin: 0 auto 18px; display: grid; place-items: center; position: relative; isolation: isolate; color: #fff; font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.3rem;
               filter: drop-shadow(0 8px 16px rgba(242, 154, 46, .55)) drop-shadow(0 0 12px rgba(255, 203, 82, .45)); transition: transform .4s var(--ease); }
.mk-step-num::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0 50%); }
.mk-step-num::after { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0 50%); background: linear-gradient(180deg, rgba(255, 255, 255, .35), transparent 45%); }
.mk-step:hover .mk-step-num { transform: translateY(-3px) scale(1.06); }
@media (max-width: 860px) { .mk-steps { grid-template-columns: minmax(0, 1fr); } .mk-steps::before { display: none; } }


.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 16px; }
.gcard { display: flex; flex-direction: column; gap: 7px; color: var(--text); }
.gcard:hover { color: var(--text); }
.gcard .hex { margin-bottom: 8px; transition: transform .4s var(--ease), filter .4s; }
.gcard:hover .hex { transform: translateY(-2px) scale(1.06); filter: drop-shadow(0 0 14px rgba(242, 154, 46, .7)); }
.gcard strong { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; }
.gcard-cluster { font-family: var(--font-display); font-stretch: 112%; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow-ink); }
.gcard-sum { flex: 1; color: var(--muted); font-size: .9rem; }
.gcard-more { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; }
.gcard-more i { transition: transform .35s var(--ease), color .3s; }
.gcard:hover .gcard-more i { transform: translateX(4px); color: var(--brand); }


/* ---- ALERTS -------------------------------------------------------------------------------------------------------- */
/* ---- PROSE (guides, legal, about) ---------------------------------------------------------------------------------- */

.prose { font-size: 1.04rem; line-height: 1.75; color: var(--text-2); }
.prose h2 { margin: 1.9em 0 .6em; font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
.prose h3 { margin-top: 1.4em; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose a:not(.btn) { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(242, 154, 46, .4); text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; }
.prose a:not(.btn):hover { color: var(--brand-2); text-decoration-color: currentColor; }
.prose code { padding: 1px 6px; border-radius: var(--r-xs); background: var(--surface-3); }
.prose .mk-build-form { margin: 1.8em 0; }
.code { margin: 0 0 1.2em; padding: 18px; overflow-x: auto; border-radius: var(--r); background: var(--code-bg); border: 1px solid var(--border-strong); color: #FFF3DC; font: 500 .86rem/1.6 var(--font-mono); }
.code code { background: none; padding: 0; color: inherit; }
.log { max-height: 260px; overflow: auto; margin: 0 0 10px; padding: 12px; white-space: pre-wrap; border-radius: var(--r-xs); background: var(--surface-2); font: .82rem/1.5 var(--font-mono); }
.admin form.inline { display: inline-block; margin: 0 4px 4px 0; }


/* ---- THE SCAM TEXT CHECKER ----------------------------------------------------------------------------------------- */
/* ---- ADS ----------------------------------------------------------------------------------------------------------- */

.ad { min-height: 100px; margin: 24px 0; text-align: center; }
.ad-label { display: block; margin-bottom: 4px; color: var(--faint); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }


/* ---- THE CLOSE: "Don't invest blind." above the footer ---------------------------------------------------------  */

.slogan-band { position: relative; overflow: hidden; margin-top: 56px; padding: clamp(48px, 7vw, 86px) 0; border-top: 1px solid var(--border); background: var(--bg-2); }
.slogan-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule, var(--grad)); }
.slogan-band::after { content: ""; position: absolute; right: -8%; top: -50%; width: 55%; height: 200%; pointer-events: none; background: var(--hive-svg); background-size: 48px 83.14px; opacity: .4;
                      -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.slogan-inner { position: relative; z-index: 1; }
.slogan-big { margin: 0 0 14px; }
.slogan-sub { max-width: 58ch; margin-bottom: 24px; color: var(--text-2); }
.site-footer { margin-top: 0; }
.footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
.footer-grid .cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.footer-bottom a { color: var(--muted); margin-left: 16px; }
.footer-bottom a:hover { color: var(--text); }
.footer-note { margin-top: 18px; max-width: 110ch; color: var(--faint); font-size: .8rem; }
.footer-note a { display: inline; padding: 0; font-size: inherit; color: var(--muted); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* the logo: the hexagon mark, and the wordmark in the display face with "Call" in the gradient */
.nav-logo { gap: 11px; }
.logo-mark { display: block; width: 36px; height: 36px; flex: none; transition: transform .5s var(--ease), filter .5s var(--ease-fade); }
.nav-logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); filter: drop-shadow(0 0 12px rgba(242, 154, 46, .6)); }
.logo-word { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.26rem; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1; }
.logo-word b { font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-toggle i { pointer-events: none; }
.mobile-menu .theme-row { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
@media (max-width: 460px) { .logo-word { font-size: 1.08rem; } .nav-cta .btn-sm span { display: none; } }

/* toasts: the shell's, with the verdict colours on their edge */
.toast i { color: var(--brand); }
.toast-success i { color: var(--success); } .toast-error i { color: var(--danger); }


/* ---- the open page's links (Html.MarkActive): nav, mobile menu, footer. Selectors outrank design.css, loaded later. */
.site-nav .nav-links a.is-active { color: var(--text); }
.site-nav .nav-links a.is-active::after { transform: scaleX(1); background: linear-gradient(90deg, #FFCB52, #F29A2E, #C4561F); }
.mobile-menu a.is-active:not(.btn) { color: #F29A2E; background: var(--surface-2); box-shadow: inset 3px 0 0 #F29A2E; padding-left: 14px; }
.site-footer .footer-grid a.is-active { color: var(--text); font-weight: 600; box-shadow: inset 2px 0 0 #F29A2E; padding-left: 10px; }
.site-footer .footer-bottom a.is-active { color: var(--text); }



/* =====================================================================================================================
   DRILLSCORE COMPONENTS
   ===================================================================================================================== */

/* ---- THE LIVE MARKET TICKER (under the nav on every page) --------------------------------------------------------- */

.ticker { margin-top: var(--nav-h); position: relative; z-index: 5; overflow: hidden; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg-2) 92%, transparent);
          -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; }
.tick { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 22px; white-space: nowrap; color: var(--text-2); font-size: .8rem; border-right: 1px solid var(--border); }
.tick b { font-family: var(--font-display); font-stretch: 112%; font-size: .64rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tick span { font-family: var(--font-mono); font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.tick:hover b { color: var(--brand); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker { overflow-x: auto; } }

.up { color: var(--up) !important; }
.down { color: var(--down) !important; }
.flat { color: var(--muted) !important; }
.chg { font-family: var(--font-mono); font-weight: 700; font-size: .92em; font-variant-numeric: tabular-nums; }
.chg::before { content: ""; display: inline-block; width: 0; height: 0; margin: 0 4px 2px 0; vertical-align: middle; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.chg.up::before { border-bottom: 6px solid currentColor; }
.chg.down::before { border-top: 6px solid currentColor; }


/* ---- THE HERO: the headline, the drill holes turning in 3D (drillscore.js, a plain canvas), what DrillScore makes of it.
   It follows the theme: the site's own hit scale (--hb-*), score bands and inks, plus the --h3d-* tokens below, which the
   canvas reads too (and re-reads when the theme is switched). EVERY ROW HAS A FIXED HEIGHT and every line of text is one
   line (cut with an ellipsis, the full text in its title), so the card never changes height from scene to scene. */

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: center; }
.hero-grid .mk-hero-copy > * { max-width: 640px; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
/* side by side, the animation sits 50px above centre so the whole of it fits a full-HD window (top, not transform: .reveal owns that) */
@media (min-width: 1021px) { .hero-grid > .h3d { top: -50px; } }
.mk-hero .display { font-size: clamp(2.2rem, 5.2vw, 4.1rem); }

.h3d { --h3d-bg: linear-gradient(180deg, #0F0C09 0%, #15100B 45%, #1B140D 100%); --h3d-edge: rgba(255, 203, 82, .22); --h3d-line: rgba(255, 255, 255, .08);
       --h3d-band: rgba(0, 0, 0, .26); --h3d-halo: rgba(242, 154, 46, .11);
       --h3d-accent: #FFCB52; --h3d-accent-fill: #FFCB52; --h3d-ok: #34D399; --h3d-warn: #FBBF24; --h3d-bad: #C81E1E;
       /* the canvas */
       --h3d-c-ink: rgba(246, 239, 227, .62); --h3d-c-ring: rgba(203, 213, 225, .17); --h3d-c-rod: rgba(203, 213, 225, .4); --h3d-c-collar: rgba(246, 239, 227, .6);
       --h3d-c-ground: rgba(217, 115, 59, .8); --h3d-c-ground-fill: rgba(217, 115, 59, .11); --h3d-c-plate: rgba(12, 9, 6, .86); --h3d-c-shade: rgba(0, 0, 0, .28);
       --h3d-c-bit: #FFF3DC; --h3d-c-bit-glow: #FFCB52; --h3d-c-glow: 1; --h3d-c-grid: rgba(255, 214, 150, .4);
       position: relative; width: 100%; max-width: 640px; border: 1px solid var(--h3d-edge); border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
       color: var(--text); background: var(--h3d-bg); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .05); }
[data-theme="light"] .h3d {
       --h3d-bg: linear-gradient(180deg, #FFFFFF 0%, #FDFBF7 45%, #FAF6EF 100%); --h3d-edge: rgba(196, 86, 31, .25); --h3d-line: rgba(10, 13, 18, .08);
       --h3d-band: rgba(196, 86, 31, .04); --h3d-halo: rgba(242, 154, 46, .12);
       --h3d-accent: #A87412; --h3d-accent-fill: #F29A2E; --h3d-ok: #15803D; --h3d-warn: #B45309; --h3d-bad: #991B1B;
       --h3d-c-ink: rgba(10, 13, 18, .62); --h3d-c-ring: rgba(10, 13, 18, .16); --h3d-c-rod: rgba(10, 13, 18, .32); --h3d-c-collar: rgba(10, 13, 18, .5);
       --h3d-c-ground: rgba(196, 86, 31, .75); --h3d-c-ground-fill: rgba(242, 154, 46, .1); --h3d-c-plate: rgba(255, 255, 255, .94); --h3d-c-shade: rgba(0, 0, 0, .16);
       --h3d-c-bit: #C4561F; --h3d-c-bit-glow: #F29A2E; --h3d-c-glow: .45; --h3d-c-grid: rgba(120, 72, 30, .34); }
.h3d::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule, var(--grad)); z-index: 3; }
.h3d-k { display: block; font: 700 .56rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.h3d-said, .h3d-tally-t { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* what the announcement's headline says: the company's code in the hex, the title in at most two lines */
.h3d-said-by { display: flex; align-items: center; gap: 14px; height: 74px; padding: 0 16px; background: var(--h3d-band); border-bottom: 1px solid var(--h3d-line); }
/* the hex is an SVG shape, not a clip-path: Chrome can paint a clipped box unclipped (a rectangle) while the card fades in */
.h3d-code { position: relative; flex: none; width: 48px; height: 42px; display: grid; place-items: center; color: #1A1206;
            font: 800 .74rem/1 var(--font-mono); letter-spacing: .02em; font-style: normal; }
.h3d-code svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: url(#h3d-hex-au); }
.h3d-code b { position: relative; font: inherit; }
.h3d-code.is-cu { color: #FFF7F0; }
.h3d-code.is-cu svg { fill: url(#h3d-hex-cu); }
.h3d-quote { min-width: 0; transition: opacity .4s var(--ease-fade); }
.h3d-quote q { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.6em; margin-top: 6px;
               font-family: var(--font-display); font-weight: 700; font-size: .98rem; line-height: 1.3; color: var(--text); quotes: "\201C" "\201D"; }

/* the holes (the floor grid under them is drawn in 3D on the canvas, so it turns with them) */
.h3d-stage { position: relative; height: clamp(250px, 56vw, 300px); touch-action: pan-y; cursor: grab; user-select: none;
             background: radial-gradient(55% 60% at 50% 48%, var(--h3d-halo), transparent 70%); }
.h3d-stage.is-drag { cursor: grabbing; }
.h3d-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.h3d-tag { position: absolute; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; pointer-events: none; white-space: nowrap;
           font: 700 .56rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.h3d-tag-l { left: 14px; flex-direction: column; align-items: flex-start; gap: 5px; }
.h3d-tag-l .h3d-k { color: var(--h3d-accent); }
.h3d-tag-r { right: 14px; }
.h3d-tag .dot-live { width: 7px; height: 7px; }
.h3d-tag .dot-live[hidden] { display: none; }
.h3d-key { position: absolute; left: 12px; right: 76px; bottom: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; pointer-events: none;
           font: 600 .56rem/1 var(--font-mono); color: var(--muted); }
.h3d-key li { display: inline-flex; align-items: center; gap: 5px; }
.h3d-key i, .h3d-bar i { background: var(--hb); }
.h3d-key i { width: 9px; height: 9px; border-radius: 2px; }
@media (max-width: 520px) { .h3d-key { gap: 3px; } .h3d-key li:not(:first-child):not(:last-child) { font-size: 0; gap: 0; } }
.h3d-pager { position: absolute; right: 8px; bottom: 4px; z-index: 5; display: flex; }
.h3d-pager[hidden] { display: none; }
.h3d-pager button { width: 22px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.h3d-pager button::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: var(--faint); opacity: .7; transition: width .3s var(--ease), background-color .3s; }
.h3d-pager button[aria-current="true"]::before { width: 16px; background: var(--h3d-accent-fill); opacity: 1; }
.h3d-pager button:focus-visible { outline: 2px solid var(--h3d-accent-fill); outline-offset: -2px; border-radius: 4px; }

/* the five steps, lit as the picture reaches them (fixed text, a fixed height either way) */
.h3d-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 42px; margin: 0; padding: 0; list-style: none;
             border-top: 1px solid var(--h3d-line); border-bottom: 1px solid var(--h3d-line); background: var(--h3d-band); }
.h3d-steps li { position: relative; display: flex; align-items: center; gap: 6px; padding: 0 8px; overflow: hidden; font: 700 .54rem/1.2 var(--font-mono); letter-spacing: .03em; text-transform: uppercase;
                color: var(--faint); transition: color .3s var(--ease-fade); }
.h3d-steps li + li { border-left: 1px solid var(--h3d-line); }
.h3d-steps b { flex: none; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; font-size: .56rem; transition: background-color .3s, color .3s, box-shadow .3s; }
.h3d-steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.h3d-steps li.is-on, .h3d-steps li.is-done { color: var(--text); }
.h3d-steps li.is-on::after, .h3d-steps li.is-done::after { transform: none; }
.h3d-steps li.is-on b { background: var(--h3d-accent-fill); border-color: var(--h3d-accent-fill); color: #1A1206; box-shadow: 0 0 14px rgba(255, 203, 82, .55); }
.h3d-steps li.is-done b { color: var(--h3d-accent); border-color: var(--h3d-accent); }
@media (max-width: 520px) { .h3d-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 36px; } .h3d-steps li:nth-child(odd) { border-left: 0; } .h3d-steps li:nth-child(n+3) { border-top: 1px solid var(--h3d-line); }
                            .h3d-steps li:nth-child(5) { grid-column: 1 / -1; } }

/* what DrillScore makes of it */
.h3d-read { display: grid; gap: 12px; padding: 14px 16px 15px; transition: opacity .4s var(--ease-fade); }
.h3d.is-out .h3d-read, .h3d.is-out .h3d-quote { opacity: 0; }
.h3d-k-shows { color: var(--h3d-accent); }
.h3d-best, .h3d-tally { display: grid; align-items: center; gap: 6px 12px; }
.h3d-best { grid-template-columns: 74px minmax(0, 1fr) auto; grid-template-rows: 22px 28px; row-gap: 2px; }
.h3d-best .h3d-k { grid-area: 1 / 1; }
.h3d-said { grid-area: 1 / 2 / 2 / -1; }
.h3d-mm { grid-area: 2 / 2; }
.h3d-rate { grid-area: 2 / 3; }
.h3d-tally { grid-template-columns: 74px minmax(0, 1fr); grid-template-rows: 16px 18px; row-gap: 4px; }
.h3d-tally .h3d-k { grid-area: 1 / 1; }
.h3d-tally .h3d-bar { grid-area: 1 / 2; }
.h3d-tally .h3d-tally-t { grid-area: 2 / 2; }
.h3d-said { font: 700 .84rem/22px var(--font-mono); color: var(--text); }
.h3d-mm { white-space: nowrap; }
.h3d-mm b { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.4rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
            background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h3d-mm small { font: 700 .62rem/1 var(--font-mono); color: var(--muted); }
.h3d-rate { display: flex; justify-content: flex-end; min-width: 92px; }
.h3d-bar { display: flex; gap: 2px; height: 16px; min-width: 0; overflow: hidden; }
.h3d-bar.is-dense { gap: 1px; }
.h3d-bar i { flex: 1 1 0; min-width: 1px; max-width: 24px; border-radius: 2px; opacity: .12; transform: scaleY(.35); transition: opacity .25s var(--ease-fade), transform .35s var(--ease); }
.h3d-bar i.is-on { opacity: 1; transform: none; }
.h3d-bar i.hb-nil { background: repeating-linear-gradient(135deg, rgba(185, 28, 28, .5) 0 3px, transparent 3px 6px); box-shadow: inset 0 0 0 1px rgba(185, 28, 28, .45); }
.h3d-tally-t { font-size: .78rem; line-height: 18px; color: var(--text-2); text-align: left; }
.h3d-tally-t b { color: var(--text); }
.h3d-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(3, 20px); gap: 4px; height: 68px; overflow: hidden; font-size: .8rem; line-height: 20px; color: var(--text-2); }
.h3d-checks li { display: flex; gap: 8px; align-items: center; min-width: 0; opacity: 0; transform: translateY(4px); transition: opacity .4s var(--ease-fade), transform .4s var(--ease); }
.h3d-checks li.is-on { opacity: 1; transform: none; }
.h3d-checks li span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h3d-checks i { flex: none; width: 16px; text-align: center; font-size: .8rem; }
.h3d-checks .ok i { color: var(--h3d-ok); } .h3d-checks .warn i { color: var(--h3d-warn); } .h3d-checks .bad i { color: var(--h3d-bad); }
.h3d-foot { display: flex; align-items: center; gap: 12px; height: 67px; padding-top: 12px; border-top: 1px solid var(--h3d-line); }
.h3d-foot .ring { width: 54px; height: 54px; flex: none; }
.h3d-foot .ring circle { stroke-width: 8; }
.h3d-foot .ring-value { font-size: 1.05rem; margin: 0; }
.h3d-foot .ring-label { display: none; }
.h3d-verdict { display: grid; gap: 3px; min-width: 0; flex: 1 1 auto; }
.h3d-verdict b { font-family: var(--font-display); font-stretch: 118%; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.h3d-verdict span { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h3d-foot .btn { flex: none; white-space: nowrap; }
@media (max-width: 560px) {
    .h3d-best { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 10px 22px 28px; }
    .h3d-best .h3d-k { grid-area: 1 / 1 / 2 / -1; }
    .h3d-said { grid-area: 2 / 1 / 3 / -1; }
    .h3d-mm { grid-area: 3 / 1; }
    .h3d-rate { grid-area: 3 / 2; }
    .h3d-tally { grid-template-columns: minmax(0, 1fr); grid-template-rows: 10px 16px 18px; }
    .h3d-tally .h3d-k { grid-area: 1 / 1; } .h3d-tally .h3d-bar { grid-area: 2 / 1; } .h3d-tally .h3d-tally-t { grid-area: 3 / 1; }
}
@media (max-width: 380px) { .h3d-foot .btn { padding-left: 10px; padding-right: 10px; } }

.hero-search { margin-top: 26px; max-width: 620px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; color: var(--muted); font-size: .88rem; }
.hero-proof b { color: var(--text); font-family: var(--font-mono); }


/* the viability indicators (an indicator, never advice) and the verdict's note */
.h3d-vi { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 6px 12px; height: 36px; }
.h3d-vi ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.h3d-vi li { flex: 1 1 0; min-width: 0; display: grid; gap: 2px; padding: 4px 8px 4px 16px; position: relative; border: 1px solid var(--h3d-line); border-radius: 8px;
             opacity: 0; transform: translateY(4px); transition: opacity .35s var(--ease-fade), transform .35s var(--ease); }
.h3d-vi li.is-on { opacity: 1; transform: none; }
.h3d-vi li::before { content: ""; position: absolute; left: 7px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--vi, var(--faint)); box-shadow: 0 0 8px var(--vi, transparent); }
.h3d-vi small { font: 700 .5rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h3d-vi b { font: 800 .78rem/1.1 var(--font-mono); color: var(--vi, var(--text-2)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h3d-vi .vi-ok { --vi: var(--h3d-ok); } .h3d-vi .vi-warn { --vi: var(--h3d-warn); } .h3d-vi .vi-bad { --vi: var(--h3d-bad); }
.h3d-verdict b em { font-style: normal; font-weight: 600; letter-spacing: .04em; text-transform: none; opacity: .85; }
@media (max-width: 560px) { .h3d-vi { grid-template-columns: minmax(0, 1fr); grid-template-rows: 10px 36px; height: 52px; gap: 4px; } .h3d-vi li { padding-left: 14px; } }

/* ---- STEP 5: THE COMPANY OVER TIME AND ITS SHARE PRICE AGAINST THE MARKET (over the stage; drillscore.js builds it).
   The company's last few drill results as bars (log height, hit colours, this one lit) with the trend; then the day-1
   move taken apart: the stock, less the benchmark, equals the move against the market. */
.h3d { --cx-bg: rgba(15, 12, 9, .9); }
[data-theme="light"] .h3d { --cx-bg: rgba(255, 253, 248, .92); }
.h3d-ctx { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 28px; pointer-events: none;
           background: var(--cx-bg); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
           opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-fade), visibility 0s .45s; }
.h3d-ctx.is-on { opacity: 1; visibility: visible; transition: opacity .45s var(--ease-fade), visibility 0s; }
.cx-tag { flex: none; display: inline-flex; align-items: center; gap: 7px; font: 800 .6rem/1 var(--font-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--h3d-accent);
          transform: translateY(-6px); transition: transform .45s var(--ease); white-space: nowrap; }
.cx-tag > i:not(.fa-regular) { font-style: normal; color: var(--muted); }
.is-on .cx-tag { transform: none; }
.cx-panels { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 10px; }
.cx-panel { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid var(--h3d-line); border-radius: 10px; background: var(--h3d-band);
            opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .4s var(--ease-fade), transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.cx-price { transition-delay: .15s; }
.is-on .cx-panel { opacity: 1; transform: none; }
.cx-panel > .h3d-k { overflow: hidden; text-overflow: ellipsis; }

/* the drill results over time */
.cx-bars { flex: 1 1 auto; min-height: 0; display: flex; align-items: flex-end; gap: 6px; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--h3d-line); }
.cx-bars li { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; position: relative; padding-bottom: 14px; }
.cx-bars i { width: 100%; max-width: 26px; height: calc(var(--h) * (100% - 30px)); border-radius: 3px 3px 0 0; background: var(--hb); opacity: .78;
             transform: scaleY(0); transform-origin: bottom; transition: transform .55s cubic-bezier(.34, 1.4, .64, 1) calc(var(--i) * .1s); }
.cx-bars b { font: 700 .6rem/1 var(--font-mono); color: var(--text-2); white-space: nowrap; opacity: 0; transition: opacity .3s var(--ease-fade) calc(.3s + var(--i) * .1s); }
.cx-bars small { position: absolute; bottom: 0; left: -4px; right: -4px; text-align: center; font: 600 .54rem/12px var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; }
.is-bars .cx-bars i { transform: none; }
.is-bars .cx-bars b { opacity: 1; }
.cx-bars .is-me i { opacity: 1; box-shadow: 0 0 14px var(--hb); }
.cx-bars .is-me b { color: var(--text); font-size: .68rem; }
.cx-bars .is-me small { color: var(--h3d-accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.cx-trend { flex: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; margin: 0; font-size: .74rem; color: var(--text-2);
            opacity: 0; transform: translateX(-10px); transition: opacity .35s var(--ease-fade), transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.is-trend .cx-trend { opacity: 1; transform: none; }
.cx-trend b { flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: .9rem; color: var(--text); }
.cx-trend span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-up b i { color: var(--h3d-ok); } .cx-flat b i { color: var(--h3d-warn); } .cx-down b i { color: var(--h3d-bad); } .cx-na b i { color: var(--muted); }
.is-trend .cx-trend b i { animation: r-pop .5s cubic-bezier(.34, 1.56, .64, 1) 1; }

/* the share price against the market, day 1, 5 and 20: the stock, less the XGD, leaves the move against the market;
   the days light one after another, then the historical pattern's "usual" for results like this (a past average) */
.cx-tab { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 48px); grid-auto-rows: 20px; align-content: center; align-items: center; gap: 4px 4px; }
.cx-l { display: flex; align-items: center; gap: 4px; min-width: 0; font: 700 .62rem/1 var(--font-mono); color: var(--text-2); white-space: nowrap; overflow: hidden; }
.cx-l em { flex: none; width: 9px; font: 800 .8rem/1 var(--font-mono); font-style: normal; color: var(--muted); text-align: center; }
.cx-l .ls { display: none; }
.cx-dh { font: 700 .54rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: right; }
.cx-dh i { font-style: normal; }
.cx-tab .c { font: 700 .72rem/1 var(--font-mono); text-align: right; color: var(--text-2); white-space: nowrap; }
.cx-tab .c small { font: italic 600 .56rem/1 var(--font-mono); color: var(--faint); }
.cx-l, .cx-dh, .cx-tab .c { opacity: 0; transform: translateY(5px); transition: opacity .3s var(--ease-fade), transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.is-m0 .cx-l, .is-m0 .cx-dh, .is-d0 .c.d0, .is-d1 .c.d1, .is-d2 .c.d2 { opacity: 1; transform: none; }
.cx-tab .c.cx-mk { transition-delay: .1s; } .cx-tab .c.cx-nx { transition-delay: .22s; }
.is-m0 .cx-l.cx-ty, .cx-tab .c.cx-ty { opacity: 0; transform: translateY(5px); }
.is-ty .cx-l.cx-ty, .is-ty .c.cx-ty { opacity: 1; transform: none; }
/* the move against the market: a chip, green or red past 2% */
.cx-l.cx-nx { color: var(--text); font-weight: 800; }
.cx-tab .c.cx-nx { justify-self: end; padding: 4px 5px; border-radius: 5px; font-weight: 800; color: var(--text); background: var(--h3d-line); }
.cx-tab .c.cx-nx.t-up { color: #06281B; background: var(--h3d-ok); box-shadow: 0 0 12px rgba(52, 211, 153, .35); }
.cx-tab .c.cx-nx.t-down { color: #fff; background: var(--h3d-bad); box-shadow: 0 0 12px rgba(200, 30, 30, .35); }
.cx-tab .c.cx-nx.t-flat { color: #1A1206; background: var(--h3d-accent-fill); }
.cx-tab .c.cx-nx.is-pend { background: none; padding-right: 0; }
.is-d0 .c.d0.cx-nx, .is-d1 .c.d1.cx-nx, .is-d2 .c.d2.cx-nx { animation: r-pop .45s cubic-bezier(.34, 1.56, .64, 1) .22s 1 backwards; }
.cx-l.cx-ty { font-style: italic; color: var(--muted); }
.cx-tab .c.cx-ty { color: var(--muted); font-style: italic; }
.cx-l.cx-ty, .cx-tab .c.cx-ty { border-top: 1px dashed var(--h3d-line); align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.cx-l.cx-ty { justify-content: flex-start; }
.cx-l sup, .cx-note sup { color: var(--h3d-accent); font-style: normal; }
.cx-note { flex: none; margin: 0; font-size: .64rem; line-height: 1.35; color: var(--muted); opacity: 0; transition: opacity .4s var(--ease-fade) .2s; }
.is-ty .cx-note, .is-d2 .cx-note { opacity: 1; }
.cx-wait { flex: 1 1 auto; display: flex; align-items: center; gap: 9px; margin: 0; font-size: .76rem; color: var(--text-2); }
.cx-wait i { color: var(--h3d-accent); font-size: 1rem; }

@media (max-width: 520px) {
    .h3d-ctx { padding: 10px 10px 26px; gap: 6px; }
    .cx-tag { font-size: .54rem; letter-spacing: .1em; }
    .cx-panels { gap: 6px; }
    .cx-panel { padding: 8px; gap: 6px; }
    .cx-panel > .h3d-k { font-size: .48rem; letter-spacing: .08em; white-space: normal; line-height: 1.2; }
    .cx-bars { gap: 3px; }
    .cx-bars li:not(.is-me) b { display: none; }
    .cx-bars small { font-size: .48rem; }
    .cx-trend { flex-direction: column; gap: 2px; font-size: .62rem; }
    .cx-trend b { font-size: .8rem; }
    .cx-panels { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    .cx-tab { grid-template-columns: minmax(0, 1fr) repeat(3, 38px); grid-auto-rows: 17px; gap: 3px 3px; }
    .cx-l { font-size: .54rem; gap: 3px; } .cx-l em { width: 7px; font-size: .66rem; }
    .cx-l .lg { display: none; } .cx-l .ls { display: inline; }
    .cx-dh i { display: none; }
    .cx-dh::before { content: "D"; }
    .cx-tab .c { font-size: .58rem; } .cx-tab .c small { font-size: .46rem; }
    .cx-tab .c.cx-nx { padding: 3px 3px; }
    .cx-note span { display: none; }
    .cx-note { font-size: .54rem; }
}

/* ---- WITHOUT DRILLSCORE: the act before the 3D picture (drillscore.js builds it and sets its beats as classes).
   It covers the card below the headline, so the card keeps its height: first the announcement's own table as a dull
   photocopied page, the reader's questions popping up and the "makes sense?" meter draining; then the click, the gold
   scan that turns every row into DrillScore's colours, and what it found. */
.h3d { --r-paper: #ECE7DC; --r-paper-ink: #3B3833; --r-paper-faint: #7C766C; --r-paper-rule: rgba(40, 34, 26, .28); --r-decoded: #17110B; --r-bub: #FFF8EA; --r-bub-ink: #1A1206; }
[data-theme="light"] .h3d { --r-paper: #E7E4DE; --r-paper-ink: #4A4743; --r-paper-faint: #85817A; --r-paper-rule: rgba(40, 34, 26, .25); --r-decoded: #FFFDF8; --r-bub: #1A1410; --r-bub-ink: #FFF3DC; }
.h3d-raw { position: absolute; left: 0; right: 0; top: 74px; bottom: 0; z-index: 6; overflow: hidden; display: flex; flex-direction: column; background: var(--h3d-bg); border-top: 1px solid var(--h3d-line);
           transition: opacity .45s var(--ease-fade), visibility 0s; }
.h3d-raw.is-gone { opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-fade), visibility 0s .45s; }

/* the page and, under it, what DrillScore found - centred in the space below the bar */
.r-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 6px 0 16px; }
.r-top { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--h3d-line); background: var(--h3d-band); }
.r-top::before, .r-top::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity .5s var(--ease-fade); }
.r-top::before { background: linear-gradient(90deg, rgba(185, 28, 28, .22), rgba(185, 28, 28, .04) 75%); }
.r-top::after { opacity: 0; background: linear-gradient(90deg, rgba(255, 203, 82, .3), rgba(242, 154, 46, .05) 75%); border-bottom: 1px solid rgba(255, 203, 82, .45); }
.is-clicked .r-top::before { opacity: 0; }
.is-clicked .r-top::after { opacity: 1; }
.r-top > * { position: relative; z-index: 1; }
.r-tag { position: relative; display: grid; font: 800 .72rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.r-tag > span { grid-area: 1 / 1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; overflow: hidden;
                transition: opacity .3s var(--ease-fade), transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.r-tag .t0 { color: #fff; background: #B91C1C; box-shadow: 0 0 0 3px rgba(185, 28, 28, .22), 0 6px 16px -6px rgba(153, 27, 27, .7); }
.r-tag .t1 { position: relative; color: #1A1206; background: var(--grad); box-shadow: 0 0 0 3px rgba(255, 203, 82, .25), 0 0 22px rgba(255, 203, 82, .55); opacity: 0; transform: scale(.5); }
.r-tag .t1::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-20deg); }
.is-clicked .r-tag .t0 { opacity: 0; transform: scale(.6); }
.is-clicked .r-tag .t1 { opacity: 1; transform: none; }
.is-clicked .r-tag .t1::after { animation: r-shine 1.6s ease-in-out .3s 2; }
.b3 .r-tag .t0 { animation: r-wobble .6s var(--ease) 1; }
.r-huh { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.r-huh > i { font-size: 1.05rem; color: var(--h3d-warn); transition: color .3s; }
.b3 .r-huh > i { color: var(--h3d-bad); animation: r-wobble .7s var(--ease) 1; }
.is-clicked .r-huh > i { color: var(--h3d-accent); animation: none; }
.is-done .r-huh > i { color: var(--h3d-ok); animation: r-pop .5s cubic-bezier(.34, 1.56, .64, 1) 1; }
.r-meter { display: flex; gap: 2px; }
.r-meter i { width: 7px; height: 11px; border-radius: 2px; background: var(--h3d-line); transition: background-color .3s; }
.r-meter i.ok { background: var(--h3d-ok); } .r-meter i.warn { background: var(--h3d-warn); } .r-meter i.bad { background: var(--h3d-bad); }
.r-huh b { font: 700 .66rem/1 var(--font-mono); color: var(--text-2); white-space: nowrap; min-width: 6.6em; }

/* the page: a photocopy, a little crooked, until the scan straightens it */
.r-paper { position: relative; margin: 0 16px; padding: 9px 12px 9px; background: var(--r-paper); color: var(--r-paper-ink); border-radius: 3px;
           box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .06); font: 400 11.5px/1 "Times New Roman", Georgia, serif;
           opacity: 0; transform: translateY(18px) rotate(-1.6deg); transition: opacity .45s var(--ease-fade), transform .6s var(--ease), background-color .5s, box-shadow .5s; }
.is-in .r-paper { opacity: 1; transform: rotate(-1.2deg); }
.is-scan .r-paper { transform: none; }
.is-done .r-paper { background: var(--r-decoded); color: var(--text-2); box-shadow: 0 0 0 1px var(--h3d-edge), 0 18px 40px -18px rgba(242, 154, 46, .45); }
.is-shake .r-paper { animation: r-shake .5s ease-in-out 1; }
.r-ph { display: flex; align-items: baseline; gap: 6px; padding-bottom: 7px; font-size: 12.5px; }
.r-ph b { font-weight: 700; }
.r-ph small { margin-left: auto; font: 700 .5rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--r-paper-faint); white-space: nowrap; }
.is-done .r-ph { color: var(--text); }
.is-done .r-ph small { color: var(--muted); }
.r-rows { position: relative; --p: 0; }
.r-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(50px, 1.15fr) repeat(3, minmax(28px, .7fr)) minmax(40px, .95fr) 104px; align-items: center; column-gap: 6px;
         height: 20px; padding: 0 6px; white-space: nowrap; opacity: 0; transition: opacity .3s var(--ease-fade), background-color .3s, box-shadow .3s, transform .35s var(--ease), color .3s; }
.r-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.is-in .r-row { opacity: 1; transition-delay: calc(.2s + var(--i, 0) * 45ms), 0s, 0s, 0s, 0s; }
.r-head { height: 22px; font-weight: 700; border-top: 1px solid var(--r-paper-rule); border-bottom: 1px solid var(--r-paper-rule); }
.r-row:nth-child(2n+3):not(.is-lit) { background: rgba(0, 0, 0, .035); }
.r-row.is-inc > span:first-child { padding-left: 9px; font-style: italic; }
.r-nsi { grid-column: 2 / 6; letter-spacing: .1em; }
.r-more { grid-column: 1 / 6; font-style: italic; color: var(--r-paper-faint); }
.r-ds { display: flex; align-items: center; gap: 5px; opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease-fade), transform .3s var(--ease); }
.r-head .r-ds b { display: inline-flex; align-items: center; gap: 4px; font: 800 .52rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--h3d-accent); }
.r-head .r-ds svg { width: 11px; height: 10px; fill: url(#h3d-hex-au); }
.is-scan .r-head .r-ds, .r-row.is-lit .r-ds { opacity: 1; transform: none; }
.ds-chip { display: inline-block; min-width: 38px; padding: 3px 5px; border-radius: 3px; background: var(--hb); color: var(--hb-ink, #111); font: 800 10px/1 var(--font-mono); font-style: normal; text-align: center; }
.r-ds em { font: 600 8.5px/1 var(--font-mono); font-style: normal; color: var(--muted); }
.r-ds .ds-nil { padding: 2px 5px; border-radius: 3px; border: 1px dashed var(--faint); }
.r-ds .ds-bad { padding: 2px 6px; border-radius: 3px; background: var(--h3d-bad); color: #fff; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
/* a row the scan has passed: DrillScore's type, its hit colour down the left, a wash of it behind */
.r-row.is-lit { font-family: var(--font-mono); font-size: 10.5px; color: var(--text); box-shadow: inset 3px 0 0 var(--hb, var(--faint)); background: rgba(255, 203, 82, .04); }
@supports (background: color-mix(in srgb, red 10%, transparent)) { .r-row.is-lit[class*="hb-"] { background: color-mix(in srgb, var(--hb) 13%, transparent); } }
.r-row.is-lit.is-nsi { color: var(--muted); }
.r-row.is-lit.is-nsi .r-nsi { text-decoration: line-through; text-decoration-color: var(--faint); }
.r-row.is-lit .r-more { color: var(--muted); }
.r-head.is-lit, .is-scan .r-head { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border-color: var(--h3d-line); }
/* the decoded layer under the rows grows with the scan line */
.r-rows::before { content: ""; position: absolute; left: -12px; right: -12px; top: 0; background: var(--r-decoded); z-index: 0; height: 0; }
.is-scan .r-rows::before { height: calc(22px + var(--p) * (100% - 22px)); }
.is-done .r-rows::before { height: 100%; }
.r-scan { position: absolute; z-index: 3; left: -12px; right: -12px; top: calc(22px + var(--p) * (100% - 22px)); height: 2px; margin-top: -1px; pointer-events: none; opacity: 0;
          background: linear-gradient(90deg, transparent, var(--h3d-accent-fill) 15%, #FFF3DC 50%, var(--h3d-accent-fill) 85%, transparent); box-shadow: 0 0 14px 3px rgba(255, 203, 82, .55); }
.is-scan:not(.is-done) .r-scan { opacity: 1; }
/* what it found: the best hit lifted out, the rest stepped back, the missing holes called out */
.r-row.is-gap { opacity: 0; transform: scale(.96); }
.is-done .r-row.is-gap { opacity: 1; transform: none; color: var(--text); background: repeating-linear-gradient(135deg, rgba(185, 28, 28, .16) 0 5px, transparent 5px 10px); box-shadow: inset 3px 0 0 var(--h3d-bad); }
.is-done .r-row.is-gap .r-more { color: var(--h3d-bad); font-style: normal; font-weight: 700; }
.is-done .r-row.is-gap .r-ds { opacity: 1; transform: none; }
.is-done .r-row:not(.r-head):not(.is-best):not(.is-gap) { opacity: .5; transition-delay: 0s; }
.is-done .r-row.is-best { z-index: 2; transform: scale(1.035); box-shadow: inset 3px 0 0 var(--hb), 0 0 0 1px var(--h3d-accent-fill), 0 6px 22px -4px rgba(255, 203, 82, .5); font-weight: 700; }
.r-foot { margin: 8px 0 0; font-size: 10px; line-height: 1.3; font-style: italic; color: var(--r-paper-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.is-done .r-foot { color: var(--faint); }

/* the reader's questions */
.r-bub { position: absolute; z-index: 4; max-width: min(250px, 64%); padding: 9px 13px; border-radius: 16px; background: var(--r-bub); color: var(--r-bub-ink);
         font: 800 .84rem/1.25 var(--font-display); box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .55); pointer-events: none;
         opacity: 0; transform: translateY(12px) scale(.4) rotate(var(--rot, 0deg)); transition: opacity .25s var(--ease-fade), transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.r-bub::after { content: ""; position: absolute; bottom: -7px; width: 14px; height: 14px; background: inherit; transform: rotate(45deg); border-radius: 0 0 3px 0; }
.r-bub1 { --rot: 2.5deg; top: 70px; right: 16px; transform-origin: 80% 100%; }
.r-bub1::after { right: 26px; }
.r-bub2 { --rot: -2.5deg; top: 41%; left: 14px; transform-origin: 20% 100%; }
.r-bub2::after { left: 24px; }
.r-bub3 { --rot: 2deg; top: 60%; right: 22px; transform-origin: 80% 100%; }
.r-bub3::after { right: 30px; }
.b1 .r-bub1, .b2 .r-bub1, .b2 .r-bub2, .b3 .r-bub1, .b3 .r-bub2, .b3 .r-bub3 { opacity: 1; transform: rotate(var(--rot, 0deg)); }
.h3d-raw.is-clicked .r-bub { opacity: 0; transform: translateY(-16px) scale(.7) rotate(var(--rot, 0deg)); transition-duration: .25s, .3s; }

/* "WITHOUT DRILLSCORE", stamped below the page while it's just numbers; knocked off by the click */
.r-stamp { position: absolute; z-index: 3; left: 50%; top: 80%; padding: 9px 16px 8px; border: 3px solid #991B1B; border-radius: 8px; pointer-events: none;
           color: #C81E1E; background: rgba(185, 28, 28, .08); box-shadow: inset 0 0 0 2px rgba(153, 27, 27, .3); text-align: center; white-space: nowrap;
           font: 900 1.45rem/1 var(--font-display); font-stretch: 125%; letter-spacing: .05em; text-transform: uppercase;
           opacity: 0; transform: translate(-50%, -50%) rotate(-6deg) scale(2.3); transition: opacity .18s var(--ease-fade), transform .32s cubic-bezier(.2, 1.5, .45, 1); }
.r-stamp small { display: block; margin-top: 5px; font: 800 .6rem/1 var(--font-mono); letter-spacing: .16em; }
.is-stamp .r-stamp { opacity: .95; transform: translate(-50%, -50%) rotate(-6deg) scale(1); }
.is-clicked .r-stamp { opacity: 0; transform: translate(-50%, -50%) rotate(8deg) scale(.4); transition-duration: .2s, .3s; }

/* the click: the table dims, "WITH DRILLSCORE" bursts out on a dark-glass plate in a gold rim (rays turning behind it, a
   light sweeping across), holds, then flies into the "With DrillScore" tag at the top left while the scan starts */
.h3d { --rf-dim: radial-gradient(closest-side, rgba(9, 8, 6, .35), rgba(9, 8, 6, .78)); --rf-plate: linear-gradient(160deg, rgba(38, 28, 15, .97), rgba(13, 10, 6, .97));
       --rf-cap: rgba(255, 236, 200, .72); --rf-text: linear-gradient(180deg, #FFF4C2 0%, #FFD966 34%, #F29A2E 72%, #D9733B 100%); --rf-ray: rgba(255, 203, 82, .22); }
[data-theme="light"] .h3d { --rf-dim: radial-gradient(closest-side, rgba(250, 246, 239, .35), rgba(250, 246, 239, .82)); --rf-plate: linear-gradient(160deg, rgba(255, 253, 248, .98), rgba(250, 243, 230, .98));
       --rf-cap: rgba(74, 52, 24, .7); --rf-text: linear-gradient(180deg, #D9A21C 0%, #BC860B 40%, #9E6C04 65%, #A9532A 100%); --rf-ray: rgba(242, 154, 46, .2); }
.r-dim { position: absolute; inset: 0; z-index: 8; pointer-events: none; background: var(--rf-dim); opacity: 0; transition: opacity .35s var(--ease-fade); }
.is-flash .r-dim { opacity: 1; }
.r-flash { position: absolute; z-index: 9; left: 50%; top: 50%; pointer-events: none; opacity: 0; filter: blur(8px);
           transform: translate(-50%, -50%) scale(.55);
           transition: opacity .25s var(--ease-fade), transform .6s cubic-bezier(.34, 1.56, .64, 1), filter .4s var(--ease-fade); }
.rf-rays { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none;
           background: repeating-conic-gradient(var(--rf-ray) 0 5deg, transparent 5deg 15deg);
           -webkit-mask: radial-gradient(closest-side, #000 18%, transparent 70%); mask: radial-gradient(closest-side, #000 18%, transparent 70%);
           opacity: 0; transform: scale(.6); transition: opacity .5s var(--ease-fade), transform 1s var(--ease-fade); }
.is-flash .rf-rays { opacity: 1; transform: none; animation: rf-spin 12s linear infinite; }
.rf-card { position: relative; display: inline-flex; align-items: center; gap: 15px; padding: 17px 28px 17px 20px; border-radius: 16px; overflow: hidden; white-space: nowrap;
           background: var(--rf-plate);
           box-shadow: 0 0 0 7px rgba(255, 203, 82, .1), 0 0 70px 8px rgba(255, 203, 82, .32), 0 30px 60px -18px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .14); }
.rf-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); background-size: 200% 200%; pointer-events: none;
                   -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: mk-border 4s linear infinite; }
.rf-card::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 38%; pointer-events: none; transform: skewX(-20deg);
                  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); }
.is-flash .rf-card::after { animation: rf-sweep 1.1s ease-in-out .3s 1 both; }
.rf-card svg { position: relative; flex: none; width: 42px; height: 37px; fill: url(#rf-hex); filter: drop-shadow(0 0 12px rgba(255, 203, 82, .65)); }
.is-flash .rf-card svg { animation: r-pop .6s ease-out .1s 1 both; }
.rf-t { position: relative; display: grid; gap: 7px; }
.rf-t small { display: flex; align-items: center; gap: 7px; font: 800 .6rem/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--rf-cap); }
.rf-t small i { color: var(--h3d-ok); font-size: .8rem; }
.rf-t b { font: 900 1.75rem/1 var(--font-display); font-stretch: 120%; letter-spacing: -.01em; background: var(--rf-text); -webkit-background-clip: text; background-clip: text; color: transparent;
          filter: drop-shadow(0 2px 10px rgba(255, 203, 82, .25)); }
.is-flash .r-flash { opacity: 1; filter: none; transform: translate(-50%, -50%) scale(1); }
/* then into the tag it becomes */
.is-clicked:not(.is-flash) .r-flash { left: 96px; top: 23px; opacity: 0; filter: blur(1px); transform: translate(-50%, -50%) scale(.26);
                                      transition: left .5s cubic-bezier(.6, 0, .3, 1), top .5s cubic-bezier(.6, 0, .3, 1), transform .5s cubic-bezier(.6, 0, .3, 1), opacity .2s ease .32s, filter .5s; }
@keyframes rf-spin { to { transform: rotate(1turn); } }
@keyframes rf-sweep { from { left: -60%; } to { left: 140%; } }

/* the button, and the cursor that presses it */
.r-go { position: absolute; z-index: 5; left: 50%; bottom: 26px; display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; white-space: nowrap;
        background: var(--grad); color: #1A1206; font: 800 .86rem/1 var(--font-display); font-stretch: 110%; letter-spacing: .01em;
        box-shadow: 0 10px 30px -8px rgba(242, 154, 46, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
        opacity: 0; transform: translate(-50%, 14px) scale(.85); transition: opacity .3s var(--ease-fade), transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.r-go svg { width: 16px; height: 14px; fill: #1A1206; }
.r-go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(255, 203, 82, .7); }
.is-go .r-go { opacity: 1; transform: translate(-50%, 0); animation: r-pulse 1.1s ease-out .3s infinite; }
.is-click .r-go { transform: translate(-50%, 1px) scale(.94); animation: none; }
.is-clicked .r-go::after { animation: r-ripple .6s ease-out 1; }
.r-cur { position: absolute; z-index: 7; left: 50%; bottom: 14px; width: 24px; height: 24px; pointer-events: none; opacity: 0;
         transform: translate(170px, 140px); transition: transform .55s cubic-bezier(.45, 0, .2, 1), opacity .2s var(--ease-fade); }
.r-cur svg { width: 100%; height: 100%; fill: #FFFFFF; stroke: #111; stroke-width: 1.3; stroke-linejoin: round; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .4)); transition: transform .12s; }
.is-aim .r-cur { opacity: 1; transform: translate(34px, -2px); }
.is-click .r-cur svg { transform: scale(.82); }

/* what DrillScore found */
.r-pills { position: relative; z-index: 5; display: grid; gap: 6px; margin: 16px 16px 0; padding: 0; list-style: none; }
.r-pills li { display: flex; align-items: center; gap: 9px; min-width: 0; height: 28px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--h3d-line); background: var(--h3d-band);
              font-size: .82rem; color: var(--text-2); opacity: 0; transform: translateX(-14px); transition: opacity .35s var(--ease-fade), transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.r-pills li.is-on { opacity: 1; transform: none; }
.r-pills li > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-pills li b { color: var(--text); font-family: var(--font-mono); }
.r-pills li .rate { margin-left: 4px; vertical-align: middle; }
.r-pills i { flex: none; font-size: .86rem; }
.r-pills .ok i { color: var(--h3d-ok); } .r-pills .warn i { color: var(--h3d-warn); } .r-pills .bad { border-color: rgba(185, 28, 28, .45); } .r-pills .bad i, .r-pills .bad b { color: var(--h3d-bad); }

@keyframes r-shake { 0%, 100% { transform: rotate(-1.2deg); } 20% { transform: translateX(-5px) rotate(-2deg); } 40% { transform: translateX(5px) rotate(-.4deg); } 60% { transform: translateX(-3px) rotate(-1.8deg); } 80% { transform: translateX(2px) rotate(-1deg); } }
@keyframes r-wobble { 0%, 100% { transform: none; } 25% { transform: rotate(-18deg) scale(1.15); } 50% { transform: rotate(14deg); } 75% { transform: rotate(-8deg); } }
@keyframes r-pop { 0% { transform: scale(.5); } 60% { transform: scale(1.35); } 100% { transform: none; } }
@keyframes r-pulse { 0% { box-shadow: 0 10px 30px -8px rgba(242, 154, 46, .7), 0 0 0 0 rgba(255, 203, 82, .55); } 100% { box-shadow: 0 10px 30px -8px rgba(242, 154, 46, .7), 0 0 0 14px rgba(255, 203, 82, 0); } }
@keyframes r-shine { 0% { left: -40%; } 60%, 100% { left: 130%; } }
@keyframes r-ripple { 0% { box-shadow: 0 0 0 0 rgba(255, 203, 82, .75); } 100% { box-shadow: 0 0 0 26px rgba(255, 203, 82, 0); } }

@media (max-width: 520px) {
    .r-paper { margin: 0 10px; padding: 8px 8px; font-size: 9.5px; }
    .r-row { height: 17px; } .r-head { height: 19px; }
    .is-scan .r-rows::before { height: calc(19px + var(--p) * (100% - 19px)); }
    .r-scan { top: calc(19px + var(--p) * (100% - 19px)); }
    .r-ph { font-size: 11px; }
    .r-row { grid-template-columns: minmax(46px, 1.2fr) repeat(3, minmax(22px, .6fr)) minmax(34px, .9fr) 70px; column-gap: 4px; padding: 0 4px; }
    .r-row.is-lit { font-size: 8.5px; } .ds-chip { min-width: 32px; font-size: 9px; padding: 2px 4px; }
    .r-ds em:not(.ds-nil):not(.ds-bad) { display: none; }
    .r-huh b { display: none; }
    .r-tag { font-size: .6rem; } .r-tag > span { padding: 6px 10px; gap: 6px; }
    .r-stamp { font-size: 1.02rem; padding: 7px 11px 6px; } .r-stamp small { font-size: .5rem; }
    .rf-card { padding: 12px 18px 12px 14px; gap: 11px; } .rf-card svg { width: 30px; height: 26px; } .rf-t b { font-size: 1.2rem; } .rf-t small { font-size: .5rem; letter-spacing: .16em; }
    .rf-rays { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
    .r-head small { display: none; }
    .r-bub { font-size: .76rem; }
    .r-pills { margin-left: 10px; margin-right: 10px; }
    .r-rows::before, .r-scan { left: -8px; right: -8px; }
    .r-pills li { font-size: .74rem; padding: 0 9px; }
}


/* the animation's warnings in the site's dark red: its own tokens, the hit scale's "low" and the red band */
.h3d { --h3d-bad: #C81E1E; --hb-low: #B91C1C; --s-red: #B91C1C; --down: #C81E1E; }
[data-theme="light"] .h3d { --h3d-bad: #991B1B; --hb-low: #991B1B; --s-red: #991B1B; --down: #991B1B; }
.h3d .ring-red .ring-fill { filter: drop-shadow(0 0 10px rgba(185, 28, 28, .55)); }
.h3d .sb-red { background: linear-gradient(135deg, #C81E1E, #7F1D1D); }

/* ---- THE DRILLSCORE BANDS ----------------------------------------------------------------------------------------- */

.ring-standout .ring-fill { stroke: var(--s-standout); filter: drop-shadow(0 0 10px rgba(255, 203, 82, .7)); }
.ring-strong .ring-fill { stroke: var(--s-strong); filter: drop-shadow(0 0 10px rgba(52, 211, 153, .55)); }
.ring-solid .ring-fill { stroke: var(--s-solid); filter: drop-shadow(0 0 10px rgba(245, 178, 60, .5)); }
.ring-weak .ring-fill { stroke: var(--s-weak); filter: drop-shadow(0 0 10px rgba(251, 146, 60, .5)); }
.ring-red .ring-fill { stroke: var(--s-red); filter: drop-shadow(0 0 10px rgba(185, 28, 28, .55)); }
.ring-sm { width: 64px; height: 64px; }
.ring-sm circle { stroke-width: 8; }
.ring-sm .ring-value { font-size: 1.2rem; margin: 0; }
.ring-sm .ring-label { display: none; }

.sbadge { --cut: 6px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; clip-path: var(--chamfer); white-space: nowrap; color: #1A1206; background: var(--s-solid);
          font-family: var(--font-display); font-stretch: 112%; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; }
.sbadge b { font-family: var(--font-mono); font-size: .8rem; letter-spacing: 0; }
.sb-standout { background: linear-gradient(135deg, #FFE3A0, #FFCB52 45%, #F29A2E); box-shadow: 0 0 18px -4px rgba(255, 203, 82, .8); }
.sb-strong { background: linear-gradient(135deg, #6EE7B7, #10B981); }
.sb-solid { background: linear-gradient(135deg, #FCD34D, #F5B23C); }
.sb-weak { background: linear-gradient(135deg, #FDBA74, #F97316); }
.sb-red { background: linear-gradient(135deg, #C81E1E, #7F1D1D); color: #fff; }

.sig { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; }
.sig i { font-size: .85em; }
.sig-strong-positive, .sig-positive { color: var(--up); }
.sig-mixed { color: var(--s-solid); }
.sig-negative, .sig-strong-negative { color: var(--down); }

/* gram-metre ratings (Stockhead's bands for gold; DrillScore's for copper) */
.rate { --cut: 5px; display: inline-flex; align-items: center; padding: 4px 9px; clip-path: var(--chamfer); white-space: nowrap;
        font-family: var(--font-display); font-stretch: 112%; font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; background: var(--surface-3); color: var(--text-2); }
/* the same red / grey / green / gold scale as the drill pictures (--hb-*), so a pill, a block and a bar always agree */
.rate-stellar { background: linear-gradient(135deg, #FFF3DC, #FFCB52 40%, #F29A2E); color: #1A1206; box-shadow: 0 0 16px -2px rgba(255, 203, 82, .85); }
.rate-excellent { background: var(--hb-excellent); color: var(--hb-excellent-ink); }
.rate-really-good { background: var(--hb-really-good); color: var(--hb-really-good-ink); }
.rate-good { background: var(--hb-good); color: var(--hb-good-ink); }
.rate-modest { background: var(--surface-3); color: var(--muted); }
.rate-low { background: rgba(185, 28, 28, .14); color: var(--down); border: 1px solid rgba(185, 28, 28, .35); }


/* ---- ANNOUNCEMENT CARDS ------------------------------------------------------------------------------------------- */

.acards { display: grid; gap: 14px; }
.acards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .acards-2 { grid-template-columns: minmax(0, 1fr); } }
.acard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 18px; padding: 18px 20px; color: var(--text); }
.acard:hover { color: var(--text); }
.acard::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--s-solid); }
.acard.s-standout::before { background: linear-gradient(180deg, #FFE3A0, #F29A2E); } .acard.s-strong::before { background: var(--s-strong); }
.acard.s-weak::before { background: var(--s-weak); } .acard.s-red::before { background: var(--s-red); }
.acard-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; color: var(--muted); font-size: .8rem; }
.code-hex { display: inline-grid; place-items: center; width: 46px; height: 40px; flex: none; clip-path: var(--hex); background: var(--grad); color: #1A1206;
            font-family: var(--font-display); font-stretch: 112%; font-weight: 850; font-size: .7rem; letter-spacing: .04em; }
.code-hex.cu { background: linear-gradient(135deg, #E8955F, #B4532A); color: #fff; }
.code-hex.lg { width: 76px; height: 66px; font-size: 1.05rem; filter: drop-shadow(0 10px 20px rgba(242, 154, 46, .45)); }
.acard-co { font-weight: 700; color: var(--text-2); }
.acard h3 { margin: 0 0 6px; font-size: 1.06rem; line-height: 1.35; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; text-transform: none; }
.acard-head { margin: 0 0 8px; color: var(--muted); font-size: .84rem; }
.acard-sum { margin: 0; color: var(--text-2); font-size: .92rem; }
.acard-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: .8rem; color: var(--muted); }
.acard-meta i { margin-right: 5px; color: var(--faint); }
.acard-best { font-family: var(--font-mono); font-weight: 700; color: var(--gold); }
[data-theme="light"] .acard-best { color: #9A5B0E; }
.acard-side { display: grid; justify-items: end; align-content: start; gap: 8px; }
.acard-flags { color: var(--down); font-weight: 700; }
@media (max-width: 560px) { .acard { grid-template-columns: minmax(0, 1fr); } .acard-side { justify-items: start; grid-auto-flow: column; align-items: center; } }

/* a compact row of announcements (company page, sidebars) */
.alist { list-style: none; margin: 0; padding: 0; display: grid; }
.alist li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); }
.alist li:last-child { border-bottom: 0; }
.alist a { color: var(--text); font-weight: 600; font-size: .92rem; line-height: 1.35; }
.alist a:hover { color: var(--brand); }
.alist small { display: block; color: var(--muted); font-size: .76rem; font-weight: 500; margin-top: 2px; }
.alist time { color: var(--muted); font-size: .78rem; font-family: var(--font-mono); white-space: nowrap; }


/* ---- DATA TABLES -------------------------------------------------------------------------------------------------- */

.table-wrap { width: 100%; overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.dtable { width: 100%; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.dtable th { position: sticky; top: 0; padding: 11px 14px; text-align: left; white-space: nowrap; background: var(--surface-2); color: var(--muted); border-bottom: 1px solid var(--border-strong);
             font-family: var(--font-display); font-stretch: 112%; font-size: .6rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.dtable td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: middle; }
.dtable tbody tr:last-child td { border-bottom: 0; }
.dtable tbody tr { transition: background-color .25s var(--ease-fade); }
.dtable tbody tr:hover { background: var(--surface-2); }
.dtable .n { text-align: right; font-family: var(--font-mono); white-space: nowrap; }
.dtable th.n { text-align: right; }
.dtable strong { color: var(--text); }
.dtable a { color: var(--text); font-weight: 650; }
.dtable a:hover { color: var(--brand); }
.dtable tr.incl td { color: var(--muted); font-size: .84rem; }
.dtable tr.incl td:first-child { padding-left: 30px; }
.dtable tr.incl td:first-child::before { content: "\21B3"; margin-right: 6px; color: var(--faint); }
.prose .table-wrap { font-size: .95rem; }
.gmbar { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.gmbar-t { position: relative; flex: 1; height: 6px; background: var(--surface-3); overflow: hidden; }
.gmbar-t span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--grad); }
.gmbar-n { min-width: 56px; text-align: right; font-family: var(--font-mono); font-weight: 700; color: var(--text); }
.smear { font-family: var(--font-mono); font-weight: 700; }
.smear.hi { color: var(--down); }

/* the leaderboard */
.lb-rank { font-family: var(--font-display); font-stretch: 125%; font-weight: 850; font-size: 1rem; color: var(--faint); width: 32px; }
.dtable tr:nth-child(1) .lb-rank { color: var(--gold); } .dtable tr:nth-child(2) .lb-rank { color: #D8D2C4; } .dtable tr:nth-child(3) .lb-rank { color: var(--copper); }


/* ---- THE ANNOUNCEMENT PAGE ---------------------------------------------------------------------------------------- */

.ann-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px 36px; align-items: center; padding: clamp(22px, 3vw, 32px); }
.ann-hero h1 { margin: 10px 0 12px; font-size: clamp(1.45rem, 3vw, 2.2rem); max-width: 30ch; }
.ann-hero .lead { margin: 0; max-width: 70ch; font-size: 1.02rem; }
.ann-orig { margin: 12px 0 0; color: var(--muted); font-size: .86rem; }
.ann-orig i { margin-right: 6px; }
.ann-score { display: grid; justify-items: center; gap: 8px; }
@media (max-width: 760px) { .ann-hero { grid-template-columns: minmax(0, 1fr); } .ann-score { justify-items: start; grid-auto-flow: column; align-items: center; } }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin: 0 0 22px; }
.kpi { padding: 16px 18px; background: var(--surface); }
.kpi-l { display: block; margin-bottom: 6px; font-family: var(--font-display); font-stretch: 112%; font-size: .58rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kpi-n { display: block; font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.kpi-s { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; }

.must { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: must; }
.must li { position: relative; padding: 12px 14px 12px 52px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); color: var(--text); line-height: 1.5; counter-increment: must; }
.must li::before { content: counter(must); position: absolute; left: 12px; top: 10px; width: 28px; height: 25px; display: grid; place-items: center; clip-path: var(--hex); background: var(--grad); color: #1A1206;
                   font-family: var(--font-display); font-weight: 800; font-size: .78rem; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 13px 16px; background: var(--surface); }
.checks li > i { margin-top: 2px; font-size: 1rem; text-align: center; }
.checks strong { display: block; color: var(--text); font-size: .94rem; }
.checks p { margin: 3px 0 0; color: var(--muted); font-size: .85rem; }
.checks .c-ok > i { color: var(--up); } .checks .c-warn > i { color: #F59E0B; } .checks .c-bad > i { color: var(--down); } .checks .c-na > i { color: var(--faint); }
.checks .c-bad { background: linear-gradient(90deg, rgba(185, 28, 28, .07), var(--surface) 40%); }
.checks em { font-style: normal; font-family: var(--font-mono); font-size: .75rem; color: var(--muted); white-space: nowrap; }

.flags { display: grid; gap: 10px; }
.flag { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
.flag .hex { width: 32px; height: 29px; font-size: .78rem; }
.flag strong { display: block; color: var(--text); }
.flag p { margin: 4px 0 0; color: var(--text-2); font-size: .88rem; }
.flag small { color: var(--muted); }
.flag.sev-3 { border-color: rgba(185, 28, 28, .35); background: linear-gradient(90deg, rgba(185, 28, 28, .08), var(--surface) 55%); }
.flag.sev-3 .hex { background: linear-gradient(135deg, #C81E1E, #7F1D1D); color: #fff; }
.flag.sev-2 .hex { background: linear-gradient(135deg, #FCD34D, #F59E0B); color: #1F1300; }
.flag.sev-1 .hex { background: var(--surface-3); color: var(--muted); }

/* the cash runway gauge: quarters of funding, with the "raise likely" zone */
.gauge { margin: 6px 0 4px; }
.gauge-bar { position: relative; height: 12px; background: linear-gradient(90deg, rgba(185, 28, 28, .35) 0 25%, rgba(245, 158, 11, .3) 25% 50%, rgba(34, 197, 94, .25) 50% 100%); }
.gauge-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--grad); box-shadow: 0 0 16px -2px rgba(242, 154, 46, .7); animation: gauge-in 1.3s var(--ease) both; transform-origin: left; }
@keyframes gauge-in { from { transform: scaleX(0); } }
.gauge-scale { display: flex; justify-content: space-between; margin-top: 6px; font: 600 .66rem/1 var(--font-mono); color: var(--faint); }
.gauge-read { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.gauge-read b { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.5rem; }

/* how the price reacted */
.reacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.react { padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); }
.react b { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.react span { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.35rem; }
.react small { display: block; margin-top: 4px; color: var(--muted); font-size: .76rem; }
@media (max-width: 560px) { .reacts { grid-template-columns: minmax(0, 1fr); } }
.rbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rbars li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 64px; gap: 10px; align-items: center; font-size: .8rem; }
.rbars .lbl { color: var(--muted); font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbars .trk { position: relative; height: 10px; background: var(--surface-3); }
.rbars .trk::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--border-strong); }
.rbars .bar { position: absolute; top: 0; bottom: 0; }
.rbars .bar.up { left: 50%; background: var(--up); } .rbars .bar.down { right: 50%; background: var(--down); }
.rbars .val { text-align: right; font-family: var(--font-mono); font-weight: 700; }

/* the price chart (inline SVG) */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .area { fill: url(#ch-fill); }
.chart .line { fill: none; stroke: var(--gold-2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart .ev { fill: var(--gold); stroke: var(--bg); stroke-width: 2; }
.chart .ev.bad { fill: var(--down); }
.chart .axis { fill: var(--faint); font: 600 10px var(--font-mono); }
.chart .gl { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-wrap { padding: 16px 18px 10px; }


/* ---- COMPANY PAGES ------------------------------------------------------------------------------------------------ */

.co-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: clamp(20px, 3vw, 30px); }
.co-head h1 { margin: 0 0 6px; font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
.co-sub { margin: 0; color: var(--muted); }
.co-price { text-align: right; }
.co-price b { display: block; font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); font-variant-numeric: tabular-nums; }
.co-price small { color: var(--muted); font-size: .76rem; }
@media (max-width: 760px) { .co-head { grid-template-columns: auto minmax(0, 1fr); } .co-price { grid-column: 1 / -1; text-align: left; } }
.co-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.ccards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ccard { display: grid; gap: 10px; padding: 18px; color: var(--text); }
.ccard:hover { color: var(--text); }
.ccard-top { display: flex; align-items: center; gap: 12px; }
.ccard-top strong { display: block; font-size: .98rem; line-height: 1.25; }
.ccard-top small { color: var(--muted); font-size: .78rem; }
.ccard-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.ccard-nums div { display: grid; gap: 2px; }
.ccard-nums b { font-family: var(--font-mono); font-size: .88rem; color: var(--text); }
.ccard-nums span { color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }


/* ---- MARKETS ------------------------------------------------------------------------------------------------------ */

.mtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.mtile { display: grid; gap: 4px; padding: 16px 18px; color: var(--text); }
.mtile:hover { color: var(--text); }
.mtile b { font-family: var(--font-display); font-stretch: 112%; font-size: .6rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mtile strong { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.mtile small { color: var(--muted); font-size: .76rem; }
.mtile .spark { width: 100%; height: 34px; margin-top: 6px; }
.spark polyline { fill: none; stroke: var(--gold-2); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.spark.down polyline { stroke: var(--down); } .spark.up polyline { stroke: var(--up); }


/* ---- THE COMMUNITY: comments, replies, experiences ---------------------------------------------------------------- */

.comments { margin-top: 10px; }
.comments-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.comments-head h2 { margin: 0; }
.clist { display: grid; gap: 12px; margin: 0 0 18px; }
.comment { position: relative; padding: 16px 18px 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.comment:target { box-shadow: inset 0 2px 0 #F29A2E, 0 0 0 1px rgba(242, 154, 46, .5); }
.comment.is-new { animation: page-in .7s var(--ease) both; }
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; font-size: .82rem; color: var(--muted); }
.comment-head strong { color: var(--text); font-size: .9rem; }
.avatar { width: 30px; height: 27px; display: inline-grid; place-items: center; clip-path: var(--hex); background: var(--surface-3); color: var(--text-2); font-weight: 800; font-size: .72rem; }
.comment-body { color: var(--text); overflow-wrap: anywhere; line-height: 1.6; }
.comment-body p { margin: 0 0 .6em; }
.comment-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.comment-foot .btn { padding: 5px 10px; font-size: .78rem; }
.replies { display: grid; gap: 10px; margin: 12px 0 0 18px; padding-left: 16px; border-left: 2px solid var(--border-strong); }
.replies .comment { background: var(--surface-2); padding: 12px 14px 10px; }
.cform { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.cform .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cform-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cform-actions small { color: var(--muted); }
.cform.is-reply { margin-top: 10px; padding: 12px; background: var(--surface-2); }
.cform.is-sending { opacity: .7; }
.comments-empty { padding: 18px; border: 1px dashed var(--border-strong); border-radius: var(--r-lg); color: var(--muted); }
.comments-empty strong { color: var(--text); }

.pcards { display: grid; gap: 14px; }
.pcard { display: grid; gap: 8px; padding: 18px 20px; color: var(--text); }
.pcard:hover { color: var(--text); }
.pcard h3 { margin: 0; font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.pcard p { margin: 0; color: var(--text-2); font-size: .92rem; }
.pcard-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .8rem; }
.kind { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: var(--r-xs); background: var(--surface-3); color: var(--text-2);
        font-family: var(--font-display); font-stretch: 112%; font-size: .58rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.stance-bullish { color: var(--up); } .stance-bearish { color: var(--down); } .stance-neutral { color: var(--muted); }

.share-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 22px;
             background: linear-gradient(120deg, rgba(255, 203, 82, .1), rgba(196, 86, 31, .08)), var(--surface); }
.share-cta h3 { margin: 0 0 4px; font-size: 1.05rem; }
.share-cta p { margin: 0; color: var(--text-2); font-size: .9rem; }
@media (max-width: 700px) { .share-cta { grid-template-columns: minmax(0, 1fr); } }


/* ---- TOOLS: calculators ------------------------------------------------------------------------------------------- */

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; padding: clamp(18px, 3vw, 28px); }
@media (max-width: 760px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-out { display: grid; align-content: start; gap: 12px; padding: 20px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); }
.calc-big { font-family: var(--font-display); font-stretch: 125%; font-weight: 850; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; letter-spacing: -0.02em;
            background: linear-gradient(100deg, #FFE3A0, #FFCB52 40%, #F29A2E); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="light"] .calc-big { background: linear-gradient(100deg, #A87412, #C4561F); -webkit-background-clip: text; background-clip: text; }
.calc-unit { color: var(--muted); font-family: var(--font-mono); font-size: .8rem; }
.calc-bands { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .82rem; }
.calc-bands li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: var(--r-xs); color: var(--muted); }
.calc-bands li.is-on { background: rgba(242, 154, 46, .14); color: var(--text); font-weight: 700; box-shadow: inset 3px 0 0 #F29A2E; }
.formula { margin: 1.2em 0; padding: 14px 18px; border-radius: var(--r); background: var(--code-bg, var(--surface-2)); border: 1px solid var(--border-strong); color: #FFF3DC; font: 600 .95rem/1.5 var(--font-mono); overflow-x: auto; }
[data-theme="light"] .formula { color: var(--text); background: var(--surface-2); }
.callout-good { border-color: rgba(34, 197, 94, .3); border-left-color: var(--up); background: rgba(34, 197, 94, .07); }


/* ---- SMALL PIECES ------------------------------------------------------------------------------------------------- */

.section-card { padding: clamp(18px, 2.6vw, 26px); }
.section-card > h2:first-child, .section-card > .h3:first-child { margin-top: 0; }
.sec-title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.sec-title .hex { width: 34px; height: 31px; font-size: .85rem; color: #1A1206; }
.muted-note { color: var(--muted); font-size: .84rem; }
.check-note { margin-top: .6rem; }
.check-note .fa-circle-check { color: var(--up); }
.disclaimer { margin: 22px 0 0; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); font-size: .8rem; line-height: 1.5; }
.disclaimer strong { color: var(--text-2); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-xs); border: 1px solid var(--border-strong); color: var(--text-2); font-size: .82rem; font-weight: 600;
         transition: border-color .3s, color .3s, background-color .3s; }
.fchip:hover, .fchip.is-active { color: var(--text); border-color: rgba(242, 154, 46, .6); background: rgba(242, 154, 46, .1); }
.fchip.is-active { box-shadow: inset 0 -2px 0 #F29A2E; }
.watch-btn.is-on { color: var(--gold); border-color: rgba(255, 203, 82, .6); }
.watch-btn.is-on i { color: var(--gold); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; margin: 0; font-size: .9rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; color: var(--text); font-weight: 600; }
.qlist { margin: 0; padding-left: 1.2em; color: var(--text-2); }
.qlist li { margin-bottom: .5em; }
.qlist li::marker { color: var(--brand); }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 22px 0; }
.pager a, .pager span { min-width: 36px; padding: 7px 10px; text-align: center; border-radius: var(--r-xs); color: var(--text-2); font-weight: 600; font-size: .88rem; }
.pager a:hover { background: var(--surface-2); color: var(--text); }
.pager .is-current { background: var(--grad); color: #1A1206; }
.glossary dt { margin-top: 1.2em; font-weight: 800; color: var(--text); font-family: var(--font-display); }
.glossary dd { margin: .3em 0 0; color: var(--text-2); }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.az a { padding: 4px 9px; border-radius: var(--r-xs); background: var(--surface-2); font-weight: 700; font-size: .82rem; }

/* the ticker sits under the fixed nav, so the page below it no longer needs the nav's padding */
body:has(.ticker) #app { padding-top: 0; }
@media print { .ticker { display: none; } }

/* the hero's H1 shares its row with the drill animation: one size down from the full-width hero, and never wider than its column */
/* "ASX gold & copper" and "decoded & scored." each hold one line: both are ~13.7em wide in Archivo 800 at 125% width
   (measured), so the size follows the copy column (6.9cqi, a little spare); phones wrap normally at their own size */
.hero-grid .mk-hero-copy { container-type: inline-size; }
.mk-hero .hero-grid .display { font-size: min(2.8rem, 6.9cqi); }
.mk-hero .hero-grid .display .h1-nw { white-space: nowrap; }
@media (max-width: 560px) { .mk-hero .hero-grid .display { font-size: 1.75rem; } .mk-hero .hero-grid .display .h1-nw { white-space: normal; } }
.mk-hero .hero-grid .mk-h1-line2 { font-size: .72em; }
.hero-grid .mk-pill { max-width: 100%; flex-wrap: wrap; }
.hero-grid .mk-pill-t { white-space: nowrap; }   /* the eyebrow's line never breaks mid-phrase */

/* in a sidebar the share invitation stacks */
.layout-side .share-cta { grid-template-columns: minmax(0, 1fr); justify-items: start; }
.layout-side .share-cta .hex-lg { width: 48px; height: 44px; font-size: 1.1rem; }
.dtable td.small.muted { max-width: 240px; min-width: 140px; }

/* in a sidebar the compact list stacks the date under the headline, so long headlines get the width */
.layout-side .alist li { grid-template-columns: auto minmax(0, 1fr); }
.layout-side .alist li > time, .layout-side .alist li > span:last-child:not(:first-child) { grid-column: 2; }



/* ---- THE DRILL PICTURES (App_Code/DrillViz.cs) --------------------------------------------------------------------- */

.hb-low { --hb: var(--hb-low); --hb-ink: #FFFFFF; } .hb-modest { --hb: var(--hb-modest); --hb-ink: #0B0B0B; } .hb-good { --hb: var(--hb-good); --hb-ink: var(--hb-good-ink); }
.hb-really-good { --hb: var(--hb-really-good); --hb-ink: var(--hb-really-good-ink); } .hb-excellent { --hb: var(--hb-excellent); --hb-ink: var(--hb-excellent-ink); }
.hb-stellar { --hb: var(--hb-stellar); --hb-ink: #1A1206; }

/* the best hit on the band scale */
.hscale { margin: 4px 0 26px; }
.hscale-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 16px; }
.hscale-k { font: 800 .62rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hscale-head > b { font-family: var(--font-mono); font-size: 1.7rem; line-height: 1; color: var(--text); }
.hscale-head > b small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.hscale-what { color: var(--text-2); font-size: .92rem; }
.hscale-track { position: relative; height: 34px; }
.hs-band { position: absolute; top: 6px; bottom: 6px; background: var(--hb); opacity: .32; box-shadow: inset -2px 0 0 var(--surface); }
.hs-band:first-child { border-radius: 6px 0 0 6px; } .hs-band:nth-last-child(2) { border-radius: 0 6px 6px 0; box-shadow: none; }
.hs-band.on { opacity: 1; top: 1px; bottom: 1px; border-radius: 4px; }
.hs-band em { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font: 800 .56rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
              font-style: normal; color: var(--text); white-space: nowrap; overflow: hidden; }
.hs-band.on em { color: var(--hb-ink); }
.hs-mark { position: absolute; top: -8px; bottom: -4px; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--text); box-shadow: 0 0 0 2px var(--surface); }
.hs-mark::before { content: ""; position: absolute; left: 50%; top: -8px; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--text); border-bottom: 0; }
.hscale-ticks { position: relative; height: 18px; margin-top: 4px; }
.hscale-ticks span { position: absolute; transform: translateX(-50%); font: 600 .68rem/1 var(--font-mono); color: var(--faint); }
.hscale-say { margin: 6px 0 0; color: var(--text-2); }
@media (max-width: 560px) { .hs-band:not(.on) em { display: none; } }

/* every hole as a block */
.hcard { margin: 0 0 26px; }
.hcard h3, .dsec h3 { margin: 0 0 10px; }
.hcard-bar { display: flex; gap: 3px; height: 30px; }
.hcard-bar.thin { gap: 1px; }
.hb { flex: 1 1 0; min-width: 2px; background: var(--hb); border-radius: 3px; transition: transform .15s var(--ease); cursor: help; }
.hb:hover { transform: scaleY(1.25); }
.hb.hb-nil, .hkey i.hb-nil { background: repeating-linear-gradient(135deg, rgba(185, 28, 28, .45) 0 3px, transparent 3px 6px); box-shadow: inset 0 0 0 1px rgba(185, 28, 28, .4); }
.hkey { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .84rem; color: var(--text-2); }
.hkey li { display: inline-flex; align-items: center; gap: 6px; }
.hkey i { width: 12px; height: 12px; border-radius: 3px; background: var(--hb); }
.hkey b { font-family: var(--font-mono); color: var(--text); }
.hcard-say { margin: 8px 0 0; color: var(--text-2); }

/* the schematic section */
.dsec { margin: 0 0 22px; }
.dsec-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface-2); }
.dsec-svg { display: block; width: 100%; min-width: 520px; height: auto; }
.ds-grid { stroke: var(--border-strong); stroke-width: 1; }
.ds-surface { stroke: var(--copper); stroke-width: 2; }
.ds-axis { fill: var(--faint); font: 600 11px var(--font-mono); }
.ds-axis-t { font-size: 10px; }
.ds-hole { fill: var(--text-2); font: 600 11px var(--font-mono); }
.ds-best { fill: var(--text); font: 800 12px var(--font-mono); }
.ds-holeline { stroke: var(--faint); stroke-width: 2; stroke-linecap: round; opacity: .7; }
.ds-int { fill: var(--hb); stroke: var(--surface-2); stroke-width: 1.5; cursor: help; }
.ds-int:hover { stroke: var(--text); }
.ds-int.best { stroke: var(--text); stroke-width: 2; }

/* news without new drill results: the signal on five steps */
.smeter { display: grid; justify-items: center; gap: 6px; min-width: 170px; text-align: center; }
.smeter-k { font: 800 .6rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.smeter-bar { display: flex; align-items: flex-end; gap: 3px; }
.smeter-bar i { width: 26px; height: 12px; border-radius: 3px; opacity: .25; }
.smeter-bar i.on { height: 22px; opacity: 1; box-shadow: 0 0 14px -3px currentColor; }
.sm-s0 { background: #C81E1E; color: #C81E1E; } .sm-s1 { background: #FB923C; color: #FB923C; } .sm-s2 { background: #94A3B8; color: #94A3B8; }
.sm-s3 { background: #34D399; color: #34D399; } .sm-s4 { background: #22C55E; color: #22C55E; }
[data-theme="light"] .sm-s1 { background: #EA580C; color: #EA580C; } [data-theme="light"] .sm-s2 { background: #64748B; color: #64748B; }
[data-theme="light"] .sm-s3 { background: #10B981; color: #10B981; } [data-theme="light"] .sm-s4 { background: #15803D; color: #15803D; }
.smeter-scale { display: flex; justify-content: space-between; width: 100%; max-width: 146px; font: 600 .62rem/1 var(--font-mono); color: var(--faint); }
.smeter-v { font-family: var(--font-display); font-size: 1.05rem; }
.sm-strong-positive .smeter-v, .sm-positive .smeter-v { color: var(--up); } .sm-mixed .smeter-v { color: var(--text-2); }
.sm-negative .smeter-v, .sm-strong-negative .smeter-v { color: var(--down); }
.smeter-note { color: var(--muted); font-size: .74rem; max-width: 18ch; }
.smeter-sm { min-width: 0; gap: 4px; }
.smeter-sm .smeter-bar i { width: 11px; height: 7px; } .smeter-sm .smeter-bar i.on { height: 14px; }
.smeter-sm .smeter-v { font-size: .78rem; } .smeter-sm .smeter-note { font-size: .64rem; }
.sbadge.sb-news { background: var(--surface-3); color: var(--text-2); }
.sbadge.sb-news.sig-positive, .sbadge.sb-news.sig-strong-positive { box-shadow: inset 3px 0 0 var(--up); }
.sbadge.sb-news.sig-negative, .sbadge.sb-news.sig-strong-negative { box-shadow: inset 3px 0 0 var(--down); }

/* the 2D / 3D toggle and the 3D view (shared/js/drill3d.js, loaded only when 3D is pressed) */
.dsec [hidden] { display: none !important; }
.dsec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 10px; }
.dsec-head h3 { margin: 0; }
.dsec-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-2); }
.dsec-toggle button { min-width: 52px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 800 .78rem/1 var(--font-mono); letter-spacing: .06em; cursor: pointer; }
.dsec-toggle button[aria-pressed="true"] { background: var(--grad); color: #1A1206; }
.dsec-toggle button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.dsec-3d { position: relative; border: 1px solid var(--border); border-radius: var(--r); background: radial-gradient(120% 90% at 50% 0%, var(--surface-3), var(--surface-2) 60%); overflow: hidden; }
.dsec-stage { height: clamp(380px, 56vw, 560px); touch-action: none; }
.dsec-stage canvas { display: block; width: 100% !important; height: 100% !important; }
.dsec-3d.is-loading .dsec-stage::after { content: "Loading the 3D view..."; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font: 600 .9rem var(--font-mono); }
.dsec-tip { position: absolute; z-index: 2; max-width: 300px; padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--text); font: 600 .8rem/1.35 var(--font-mono); box-shadow: var(--shadow); pointer-events: none; }
.dsec-3d-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: .78rem; }
.dsec-3d-bar span { flex: 1 1 260px; }
.dsec-3d:fullscreen { border-radius: 0; display: flex; flex-direction: column; }
.dsec-3d:fullscreen .dsec-stage { flex: 1; height: auto; }


/* ---- COMPARISONS (App_Code/Compare.cs, Pages3.cs) ------------------------------------------------------------------ */

.cmp { margin: 0 0 26px; }
.cmp > h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.cmp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.cmp-tile { --t: var(--muted); position: relative; padding: 14px 16px 14px 18px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface-2); }
.cmp-tile::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--t); }
.cmp-tile.t-good { --t: var(--up); } .cmp-tile.t-mid { --t: var(--s-solid); } .cmp-tile.t-low { --t: var(--down); } .cmp-tile.t-flat { --t: var(--faint); }
.cmp-tile > b { display: block; font: 800 1.45rem/1.1 var(--font-display); color: var(--text); }
.cmp-tile > small { display: block; margin-top: 2px; font: 700 .64rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmp-tile > p { margin: 8px 0 0; font-size: .86rem; color: var(--text-2); }
/* the historical pattern (announcement page): three strands side by side, each with its lean - the past, never a forecast */
.pat-tiles .cmp-tile > small { margin: 0 0 4px; }
.pat-tiles .cmp-tile > b { font-size: 1.15rem; }
.pat-lean { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 9px; border-radius: 999px; font: 700 .7rem/1.3 var(--font-mono); border: 1px solid var(--border); color: var(--text-2); }
.pat-up { color: var(--up); border-color: currentColor; } .pat-down { color: var(--down); border-color: currentColor; } .pat-flat { color: var(--s-solid); border-color: currentColor; } .pat-thin { color: var(--muted); }
.pat-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0 0; }
.pat-days > div { padding: 6px 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }
.pat-days dt { font: 700 .6rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pat-days dd { margin: 4px 0 0; font: 800 .9rem/1 var(--font-mono); }
.pat-n { display: block; margin-top: 6px; font-size: .72rem; color: var(--muted); }
.cmp-meter { display: block; height: 6px; margin-top: 10px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.cmp-meter i { display: block; height: 100%; border-radius: 3px; background: var(--t); }
.cmp-charts { display: grid; gap: 14px; margin-top: 16px; }
.cmp-fig { margin: 0; }
.cmp-fig figcaption { margin: 0 0 6px; font-size: .84rem; color: var(--muted); }
.cmp-you { font-weight: 700; color: var(--text); border-bottom: 2px solid var(--hb-really-good); }

.hmap-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface-2); }
.hmap { display: block; width: 100%; min-width: 520px; height: auto; }
.hm-band { fill: transparent; } .hm-band.alt { fill: var(--surface-3); opacity: .55; }
.hm-bandl { fill: var(--faint); font: 700 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.hm-cut { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 4 4; }
.hm-cut.zero { stroke: var(--faint); stroke-dasharray: none; }
.hm-cutl { fill: var(--faint); font: 600 10px var(--font-mono); }
.hm-ax { fill: var(--faint); font: 600 11px var(--font-mono); }
.hm-axt { font-size: 10px; }
.hm-dot { fill: var(--faint); opacity: .45; cursor: pointer; transition: opacity .15s; }
.hm-dot:hover { opacity: 1; }
.hm-dot.me { fill: var(--hb); opacity: 1; stroke: var(--text); stroke-width: 1.5; }
.hh-line { fill: none; stroke: var(--faint); stroke-width: 2; opacity: .6; }
.hh-dot { fill: var(--surface); stroke: var(--brand); stroke-width: 2.5; cursor: pointer; }
.hh-dot.me { fill: var(--brand); stroke: var(--text); }

.verdict { --v: var(--faint); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--border); border-left: 4px solid var(--v); border-radius: var(--r); background: var(--surface-2); }
.verdict.v-agree { --v: var(--up); } .verdict.v-disagree { --v: var(--s-weak); } .verdict.v-flat { --v: var(--faint); }
.verdict > div { flex: 1 1 320px; }
.verdict-k { display: block; font: 800 .6rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.verdict b { display: block; margin: 6px 0 4px; font: 800 1.15rem/1.25 var(--font-display); color: var(--text); }
.verdict p { margin: 0; color: var(--text-2); font-size: .92rem; }

.cmp-hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 24px; }
.cmp-hub-card { display: grid; gap: 8px; align-content: start; padding: 24px; color: var(--text); }
.cmp-hub-card:hover { color: var(--text); }
.cmp-hub-card .hex { width: 40px; height: 36px; color: #1A1206; }
.cmp-hub-card h2 { margin: 6px 0 0; }
.cmp-hub-card p { margin: 0; color: var(--text-2); }
.cmp-hub-card .btn { justify-self: start; margin-top: 6px; }
.cmp-nav { margin-bottom: 16px; }
.cmp-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; padding: 14px 16px; margin-bottom: 18px; }
.cmp-filters label { display: grid; gap: 4px; flex: 1 1 160px; font: 700 .66rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmp-filters .select { min-height: 40px; font: 500 .92rem var(--font-sans); text-transform: none; letter-spacing: 0; }
.cmp-days { margin-bottom: 16px; }
.segmented a { display: inline-block; padding: 8px 18px; color: var(--muted); font: 600 .9rem var(--font-display); text-decoration: none; }
.segmented a.is-active { background: var(--surface-3); color: var(--text); box-shadow: var(--shadow-sm); }
.cmp-read { display: block; margin: 12px 0 0; color: var(--text-2); }
.cmp-read > i { margin-right: 6px; color: var(--brand); }
.rsc .q { opacity: .1; } .rsc .q-agree { fill: var(--up); } .rsc .q-dis { fill: var(--down); }
.ql { fill: var(--muted); font: 700 11px var(--font-mono); }
.rs-dot { fill: var(--s-solid); stroke: var(--surface); stroke-width: 2; cursor: pointer; }
.rs-dot.standout { fill: var(--s-standout); } .rs-dot.strong { fill: var(--s-strong); } .rs-dot.weak { fill: var(--s-weak); } .rs-dot.red { fill: var(--s-red); }
.rs-l { fill: var(--text-2); font: 700 11px var(--font-mono); pointer-events: none; }
.rbar { display: inline-block; width: 44px; height: 6px; margin-right: 8px; vertical-align: middle; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.rbar i { display: block; height: 100%; background: var(--up); }
.dtable tr.is-sel td { background: rgba(242, 154, 46, .1); }
.dtable tr.bt-all td { border-top: 2px solid var(--border-strong); font-weight: 600; }
.alist li > b { font-family: var(--font-mono); }
