/* Dinos.info: Myth or fact cards, shared (core 0.33.0; moved here from species/species-v4.css, word for word, so the
   species page and /extinction/ draw them from one set of rules: briefs/next-prompt-code-spacing-tour-0330-2026-12-03.md
   step 7). The species page's scope .sp5 is now :is(.sp5, .xt-page), the same specificity, so the species page draws them
   as before; /extinction/'s own differences (its list, the Listen button on the seam, the certainty badge in the
   Evidence chip's place) are in extinction/extinction.css. Loaded after species-v4.css on species pages and before
   extinction.css on /extinction/. */

/* ---------- myths ---------- */
.v4-myths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v4-myth { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line-dark); background: var(--surface-dark-raised); }
.v4-myth-q { margin: 0; padding: 14px 16px; background: #2a1f17; border-bottom: 1px solid var(--line-dark); color: var(--text-on-dark); font-weight: 600; }
.v4-myth-a { padding: 14px 16px; } .v4-myth-a p { margin: 0; font-size: 15px; line-height: 23px; color: var(--text-on-dark); }
.v4-mf { display: block; width: max-content; margin-bottom: 8px; padding: 2px 8px; border-radius: 4px; font: 700 10px/16px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; }
.v4-mf.is-claim { background: #4a2a1a; color: #f3c9a5; } .v4-mf.is-fact { background: #1d3527; color: #a8dbb8; }

/* the columns: 3, 2 from 1,100 px, 1 from 760 px (were in species-v4.css's shared grid rules) */
@media (max-width: 1100px) { .v4-myths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .v4-myths { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- 9. myth or fact */
:is(.sp5, .xt-page) .v4-myths.sp6-myths { grid-template-rows: repeat(var(--rows, 1), auto auto); row-gap: 0; column-gap: 16px; }
:is(.sp5, .xt-page) .sp6-myths > .v4-myth { display: grid; grid-row: span 2; grid-template-rows: subgrid; margin-bottom: 16px; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-q { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; background: #2a1f17; font: 600 17px/26px "Open Sans", sans-serif; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-a { padding: 16px 18px; }
:is(.sp5, .xt-page) .sp6-myths .v4-mf { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 999px; font: 800 12px/14px Montserrat, sans-serif; letter-spacing: .1em; margin-bottom: 0; }
:is(.sp5, .xt-page) .sp6-myths .v4-mf svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
:is(.sp5, .xt-page) .sp6-myths .v4-mf.is-claim { background: #F58A1F; color: #121417; }
:is(.sp5, .xt-page) .sp6-myths .v4-mf.is-fact { background: #F5F1E6; color: #0E2F1F; margin-bottom: 10px; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-a p { font-size: 16px; line-height: 25px; }
:is(.sp5, .xt-page) .sp6-myths .v4-mf.is-v-fact { background: #5DBB84; color: #121417; }
:is(.sp5, .xt-page) .sp6-myths .v4-mf.is-v-part { background: #F5F1E6; color: #121417; box-shadow: inset 0 0 0 2px #F7A531; }
@media (max-width: 760px) {
  :is(.sp5, .xt-page) .v4-myths.sp6-myths { grid-template-rows: none; }
  :is(.sp5, .xt-page) .sp6-myths > .v4-myth { grid-row: auto; grid-template-rows: auto auto; }
}

/* ---------------------------------------------------------------- 4. Myth or fact A, "Stamp" (row 66's equal heights kept) */
:is(.sp5, .xt-page) .sp6-myths .v4-myth { position: relative; border: 0; border-radius: 16px; overflow: hidden; background: #121417; box-shadow: 0 12px 28px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(201, 183, 154, .22); }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-q { position: relative; padding: 22px; background: #F58A1F; background-image: radial-gradient(120% 100% at 0% 0%, rgba(245, 241, 230, .32), rgba(245, 241, 230, 0) 55%); border-bottom: 0;
  font: 800 20px/28px Montserrat, sans-serif; color: #121417; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-q .v4-qm { display: block; height: 30px; margin: -4px 0 0 -2px; font: 900 78px/1 Montserrat, sans-serif; color: #121417; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-q .v4-qm.is-end { display: inline; height: auto; margin: 0 0 0 1px; font-size: 22px; line-height: 0; vertical-align: 0; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-q i { font-style: italic; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-q .v4-mf.is-claim { position: absolute; top: 16px; right: 14px; transform: rotate(-9deg); padding: 6px 14px 4px; border-radius: 6px; background: transparent;
  box-shadow: inset 0 0 0 3px #121417, inset 0 0 0 5px #F58A1F, inset 0 0 0 6px #121417; color: #121417; font: 900 30px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-q .v4-mf.is-claim svg { width: 20px; height: 20px; stroke-width: 3.4; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-q > :not(.v4-mf) { padding-right: 104px; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-a { position: relative; margin: 0; padding: 22px; background: #F5F1E6; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-a::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 9px; background: #F5F1E6;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 12'%3E%3Cpath d='M0 12V6l14-2 12 2 16-3 10 2 18-1 12 2 14-3 16 3 12-1 14 2 10-2 12 2v6z'/%3E%3C/svg%3E") 0 0 / 160px 9px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 12'%3E%3Cpath d='M0 12V6l14-2 12 2 16-3 10 2 18-1 12 2 14-3 16 3 12-1 14 2 10-2 12 2v6z'/%3E%3C/svg%3E") 0 0 / 160px 9px repeat-x; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-a .v4-mf.is-fact { background: #0E2F1F; color: #F5F1E6; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-a p { font-size: 16px; line-height: 25px; color: #121417; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth-a a.sp-cite { background: #6B4F2E; color: #F5F1E6; }
/* the future verdicts (none in the data yet; layout only): Fact a Jurassic Green panel with a Bone White stamp, Partly
   true a Fossil Stone panel with a Slate stamp and a light hatch */
:is(.sp5, .xt-page) .sp6-myths .v4-myth.is-fact-v .v4-myth-q { background: #0E2F1F; color: #F5F1E6; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth.is-fact-v .v4-qm { color: #F5F1E6; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth.is-fact-v .v4-mf.is-claim { color: #F5F1E6; box-shadow: inset 0 0 0 3px #F5F1E6, inset 0 0 0 5px #0E2F1F, inset 0 0 0 6px #F5F1E6; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth.is-fact-v .v4-mf.is-claim svg, :is(.sp5, .xt-page) .sp6-myths .v4-myth.is-part .v4-mf.is-claim svg { display: none; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth.is-part .v4-myth-q { background: #C9B79A; }
:is(.sp5, .xt-page) .sp6-myths .v4-myth.is-part .v4-mf.is-claim { background: repeating-linear-gradient(-45deg, rgba(18, 20, 23, .12) 0 6px, transparent 6px 12px); }
@media (max-width: 760px) {
  :is(.sp5, .xt-page) .sp6-myths .v4-myth-q { font-size: 18px; line-height: 26px; padding: 18px 16px; }
  :is(.sp5, .xt-page) .sp6-myths .v4-myth-q > :not(.v4-mf) { padding-right: 84px; }
  :is(.sp5, .xt-page) .sp6-myths .v4-myth-q .v4-mf.is-claim { font-size: 24px; padding: 5px 10px 3px; }
}
