/* Story matching's pages only: its own file, so with the switch off site.css and every other page are as they were. Tokens from site.css, no raw colours. */
.match { max-width: 760px; padding-block: 24px 72px; }
.match.match-wide { max-width: 1040px; }  /* the owner's boards: the write page */
.match.match-results { max-width: 1280px; }  /* and the results page and Your progress */
.match [hidden] { display: none !important; }  /* a section's own display mustn't show what isn't there: a thin result has no panel */
.match h1 { margin: 12px 0 10px; }
.match .match-h1 { margin: 32px 0 14px; font-size: clamp(2.75rem, 4.4vw, 4rem); }
.match-lede { margin: 0; max-width: 36em; font-size: 1.25rem; color: var(--ink-2); text-wrap: pretty; }
.match .ico, .match-story svg, .match-head svg, .match-list-head svg, .match-saved-ico, .pr-kept svg, .pr-del svg { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* The steps, as the boards: a numbered disc each, filled where they are, ticked where they've been */
.match-steps { counter-reset: step; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; list-style: none; margin: 0; padding: 0; color: var(--ink-2); font-size: .9375rem; }
.match-steps li { counter-increment: step; display: flex; align-items: center; gap: 10px; }
.match-steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 30px; height: 30px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--accent); font-size: .875rem; font-weight: 600; }
.match-steps li:not(:last-child)::after { content: ""; width: 40px; height: 1px; margin-left: 6px; background: var(--rule-strong); }
.match-steps [aria-current] { color: var(--ink); font-weight: 600; }
.match-steps [aria-current]::before { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.match-steps li.done::before { content: "✓"; background: var(--accent-soft); border-color: var(--accent-soft); }
.match-steps a { color: var(--ink); }

.match-sub, .match-hint, .match-price, .match-foot { color: var(--ink-2); }
.match-hint, .match-foot { font-size: .9375rem; }
.match-status:empty { display: none; }
.match-status { margin: 16px 0; color: var(--ink); }
.match-note, .match-state { padding: 14px 16px; border: 1px solid var(--rule-strong); border-radius: 10px; background: var(--surface); color: var(--ink); }

/* A filled button that goes somewhere: its arrow, as the boards. Drawn by the stylesheet, so a script that rewrites the words keeps it */
/* matching's find button while it reads a story (aria-busy): a turning ring before its words, in the button's own ink; with
   reduced motion the ring stays still, and the words say it is working */
.match-go-btn[aria-busy="true"] { cursor: progress; }
.match-go-btn[aria-busy="true"]::before { content: ""; flex: none; width: 1.1em; height: 1.1em; box-sizing: border-box; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: btn-spin .9s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
.match-go-btn::after { content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12 H19 M13 6 L19 12 L13 18' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12 H19 M13 6 L19 12 L13 18' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.match-go-btn:disabled::after { display: none; }

/* One card, large targets: someone very ill may be tapping with little to spare, and a mis-tap costs them */
.match-card { margin: 24px 0; padding: 22px; border: 1px solid var(--rule-strong); border-radius: 14px; background: var(--surface); }
.match-card h2 { margin: 0 0 6px; font-size: 1.375rem; }
.match-card h2:focus { outline: none; }
.match-q-note { margin: 0 0 14px; color: var(--ink-2); }
.match-choices { display: grid; gap: 10px; margin: 16px 0; }
.match-choice { font: inherit; display: block; width: 100%; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--rule-strong); border-radius: 12px; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.match-choice:hover { border-color: var(--accent); background: var(--surface); box-shadow: 0 6px 16px -12px var(--ink); transform: translateY(-1px); }
.match-choice:active { transform: none; box-shadow: none; }
.match-choice:focus-visible, .match-plain:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.match-choice[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.match-choice[aria-pressed="true"]::before { content: "✓ "; }
.match-choice small { display: block; color: var(--ink-2); font-size: .9375rem; font-weight: 400; }
.match-row-end { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.match-plain { font: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid var(--rule-strong); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease; }
.match-go-btn::after { transition: transform .2s ease; }
.match-go-btn:hover::after, .match-go-btn:focus-visible::after { transform: translateX(3px); }  /* the arrow eases on, as the site's .btn (#243) */
@media (prefers-reduced-motion: reduce) {
  .match-choice, .match-plain, .match-go-btn::after { transition: none; }
  .match-choice:hover, .match-go-btn:hover::after, .match-go-btn:focus-visible::after { transform: none; }
}
.match label { display: block; margin: 12px 0 6px; font-weight: 600; }
.match input[type="text"]:where(:not(.home-ask-box *)), .match input[type="search"] { font: inherit; width: 100%; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--rule-strong); border-radius: 12px; background: var(--paper); color: var(--ink); box-sizing: border-box; }
.match-chosen { margin: 14px 0; padding: 0; list-style: none; }
.match-chosen li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--rule); }
.match-go { margin: 18px 0; }
.ask-find { margin: 12px 0; }
.match textarea { font: inherit; display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 14px; min-height: 320px; resize: vertical; border: 1.5px solid var(--rule-strong); border-radius: 12px; background: var(--surface); color: var(--ink); line-height: 1.6; }
.match-save, .match-count { margin: 8px 0 0; min-height: 1.5em; color: var(--ink-2); font-size: .9375rem; }
.match-foot p { margin: 6px 0; }
.match-go .match-hint { margin-top: 10px; }

/* The questions, as the board "Matching 2 — what's missing": the questions on the left, what was taken from the story in a card beside them; the story as a
   bubble of theirs; each question a card with its answers as pills, Skip a plain link. No voice that has read them: the code says nothing warm (§4.3) */
.match.match-q { max-width: 1280px; }
.match-q-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 8px; max-width: 880px; }  /* the questions first; what was taken from the story under them (the owner, 2026-11-06) */
.match-q-main { min-width: 0; }
.match-q .match-lede { margin-bottom: 8px; }
.match-q .match-bubble { width: fit-content; max-width: min(580px, 100%); margin: 22px 0 18px auto; padding: 16px 20px 12px; border: 0; border-radius: 22px 22px 6px 22px; background: var(--accent-soft); color: var(--ink); line-height: 1.6; }
.match-q .match-bubble .k { margin-bottom: 6px; color: var(--accent); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.match-q .match-bubble .match-links { margin-top: 4px; gap: 4px 18px; }
.match-q .match-bubble .match-plain { min-height: 44px; padding: 0; border: 0; background: none; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.match-q .match-bubble .match-plain:is(:hover, :focus-visible) { background: none; text-decoration-thickness: 2px; text-underline-offset: 6px; }  /* a text link: its underline answers, as the site's text buttons do */
.match-q .match-bubble a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.match-q .match-said { margin: 0 0 14px; color: var(--ink); font-size: 1.0625rem; }
.match-q .match-card { margin: 0 0 22px; padding: 22px 24px 24px; border: 1px solid var(--rule); border-radius: 18px; background: var(--surface); }
.match-q .match-card h2 { margin: 0 0 8px; font-size: 1.6875rem; font-weight: 600; line-height: 1.2; }
.match-q .match-q-note { color: var(--ink-3); font-size: .9375rem; }
.match-q .match-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.match-q .match-choice { width: auto; min-height: 48px; padding: 0 18px; border: 1px solid var(--rule-strong); border-radius: 999px; background: transparent; }
.match-q .match-choice:has(small) { width: 100%; padding: 12px 18px; border-radius: 14px; }  /* an answer with its own explanation keeps room for it */
.match-q .match-choice[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--paper); }
.match-q .match-choice[aria-pressed="true"] small { color: inherit; opacity: .85; }
.match-q .match-card .match-row-end { align-items: center; margin-top: 10px; }
.match-q .match-more-chip { border-style: dashed; color: var(--accent); font-weight: 600; }
.match-skip { border-color: transparent !important; background: none !important; padding: 0 12px !important; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.match-skip:hover { color: var(--ink); }
.match-q .match-go { margin: 6px 0 0; }
.match-q-aside { margin: 0; padding: 24px 24px 18px; border: 1px solid var(--rule); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.match-q-aside > summary { min-height: 32px; color: var(--accent); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.match-q-aside .match-field { padding: 12px 0; }
.match-q-aside .match-field .match-row-end { margin-top: 0; gap: 6px; }
.match-q-aside .match-field .match-plain { min-height: 44px; padding: 0 14px; font-size: .875rem; }

/* The write page, as the board "Matching 1": the story in one card, its bar, the box, and a foot with what's saved and the two buttons */
.match-story { margin-top: 26px; background: var(--surface); border: 1px solid var(--rule); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.match-story-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 16px 24px; border-bottom: 1px solid var(--rule); }
.match .match-story-bar label { margin: 0; font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.match .match-story textarea { min-height: 720px; margin: 0; padding: 22px 26px; border: 0; border-radius: 0; background: transparent; font-size: 1.1875rem; line-height: 1.75; }
.match .match-story textarea::placeholder { color: var(--ink-3); opacity: 1; font: inherit; line-height: inherit; letter-spacing: inherit; }  /* the owner: the example in the very hand they type in, only lighter */
.match .match-story textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.match-story-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 14px 16px 14px 24px; background: var(--surface-2); border-top: 1px solid var(--rule); }
.match-story-foot .match-row-end { margin: 0; }
.match-story-said { min-width: 0; }
.match-story-said p { margin: 0; }
.match-save.ok { display: inline-flex; align-items: center; gap: 8px; }
.match-save.ok::before, .match-share li::before { content: ""; width: 16px; height: 16px; flex: none; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 L10 17 L19 7.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 L10 17 L19 7.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.match-story .match-plain { min-height: 52px; padding: 0 20px; font-weight: 600; font-size: 1rem; }
.match-story .match-plain svg { stroke-width: 1.6; }
.match-story-bar .match-tracker-btn { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
.match-story .btn { min-height: 52px; padding: 0 26px; }
.match-mention { margin-top: 30px; padding: 30px 32px 26px; border-radius: 20px; background: var(--band); }
.match-mention summary { cursor: pointer; list-style: none; }
.match-mention summary::-webkit-details-marker { display: none; }
.match-mention summary { font-family: var(--serif); font-size: 1.875rem; font-weight: 500; line-height: 1.1; }  /* the board's heading, with no h2 in it: a summary hides one from heading navigation */
.match-mention:not([open]) summary::after { content: " +"; color: var(--accent); }
.match-mention ul { margin: 20px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 56px; font-size: 1.03rem; line-height: 1.5; }
.match-mention li { display: flex; gap: 12px; margin-bottom: 14px; break-inside: avoid; }
.match-mention li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 5px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5 C8 1.5 3.2 6.6 3.2 10 C3.2 12.7 5.3 14.6 8 14.6 C10.7 14.6 12.8 12.7 12.8 10 C12.8 6.6 8 1.5 8 1.5 Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5 C8 1.5 3.2 6.6 3.2 10 C3.2 12.7 5.3 14.6 8 14.6 C10.7 14.6 12.8 12.7 12.8 10 C12.8 6.6 8 1.5 8 1.5 Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.match-mention p { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .9375rem; }

.match-panel { margin: 28px 0 8px; padding: 14px 18px; border: 1px solid var(--rule); border-radius: 12px; }
.match-panel summary { min-height: 32px; cursor: pointer; font-weight: 600; }
.match-field { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.match-field .k { display: block; color: var(--ink-3); font-size: .9375rem; }
.match-bubble { margin: 16px 0; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--rule); overflow-wrap: anywhere; }
.match-bubble .k { display: block; color: var(--ink-3); font-size: .9375rem; }
.match-field details { margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }
.match-field summary { cursor: pointer; }
.match-field .empty { color: var(--ink-3); }
.match-field > div:first-child { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
.match-date { margin-top: 14px; }
.match-date input { max-width: 8em; }
.match-field .mine { display: block; color: var(--ink-3); font-size: .875rem; }

.match-join { margin-top: 18px; }
.match-join > * + * { margin-top: 14px; }
.match-join .match-price { margin-top: 8px; }
.match-state, .match-note { margin: 14px 0; }
.match-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 14px 0 0; }
.match-shared { color: var(--ink); }
.match-link { font: inherit; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent); text-decoration: underline; text-align: left; cursor: pointer; }

/* The results page, as the boards "Matching 3": who they are and what they shared, the paths, then the people beside what helped */
.match-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.match-head-main { flex: 1 1 560px; min-width: 0; }
.match-head-main .match-shared { margin: 10px 0 0; }
.match-head-side { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 6px; color: var(--ink-3); font-size: .9375rem; }
.match-edit { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.match-eyebrow { margin: 12px 0 0; color: var(--ink-3); font-size: .9375rem; }
.match .eyebrow.match-eyebrow { margin-top: 32px; color: var(--accent); font-size: .8125rem; }
.match-eyebrow + .match-h1 { margin-top: 10px !important; }

/* The intro */
.match-alt { display: flex; flex-direction: column; align-items: center; margin: 0 0 40px; }  /* as the home page's closing section: the card, "or", then the other way in */
.match-alt .btn { min-width: 280px; margin-top: 28px; }
/* For members, over the heading as the board has it: the gold star, the label in the accent */
.story-head .match-members { gap: 10px; }
/* Your story stays yours: the board's closing band, its sealed-letter drawing beside three lines, in tokens */
.mys-in { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); align-items: center; gap: 80px; padding-block: clamp(64px, 8vw, 112px); }
.mys-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.mys-text { display: flex; flex-direction: column; gap: 30px; }
.mys-text h2 { margin: 0; font-size: clamp(2.375rem, 3.6vw, 3.375rem); line-height: 1.06; }
.mys-list { margin: 0; padding: 0; list-style: none; }
.mys-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 20px; padding: 20px 0; border-top: 1px solid var(--rule); }
.mys-list li:last-child { border-bottom: 1px solid var(--rule); }
.mys-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); }
.mys-ic svg path, .mys-ic svg rect, .mys-ic svg circle { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mys-list b { display: block; color: var(--ink); font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.mys-list p { margin: 3px 0 0; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.55; text-wrap: pretty; }
@media (max-width: 900px) {
  .mys-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mys-art { width: 100%; max-width: 340px; margin: 0 auto; }
  .mys-list li { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .mys-ic { width: 40px; height: 40px; }
}
/* What members get, the owner's board: three features, then progress over two columns and the membership card; a miniature on top of each,
   a serif title below. One a row on a phone, the membership card last */
.match-gets-sec > .wrap { display: flex; flex-direction: column; gap: 44px; padding-block: clamp(64px, 8vw, 112px); }
.match-gets-sec h2 { margin: 0; font-size: clamp(2.375rem, 3.6vw, 3.375rem); line-height: 1.06; }
.mg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mg-card { display: flex; flex-direction: column; gap: 24px; padding: 16px 16px 28px; background: var(--surface); border: 1px solid var(--rule); border-radius: 24px; box-shadow: var(--shadow); }
.mg-shot { position: relative; height: 244px; margin: 0; overflow: hidden; padding: 18px; background: var(--shot); border: 1px solid var(--rule-soft); border-radius: 16px; box-sizing: border-box; }
.mg-text { padding: 0 12px; }
.match-gets-sec .mg-text h3 { margin: 0; font-family: var(--serif); font-size: 1.625rem; font-weight: 500; line-height: 1.12; text-wrap: balance; }
.mg-sample { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mg-svgt { font-family: var(--sans); }
.mg-list { display: flex; flex-direction: column; gap: 10px; }
.mg-list::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(transparent, var(--shot) 85%); }
.mg-m { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow); }
.mg-m-top { display: flex; align-items: center; gap: 8px; }
.mg-m-top .mg-sample, .mg-src .mg-sample { margin-left: auto; }
.mg-src { display: flex; align-items: baseline; gap: 10px; }
.mg-badge { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: var(--accent); color: var(--paper); font-size: .71875rem; font-weight: 700; }
.mg-k, .mg-h-head b, .mg-src { font-size: .6875rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
.match-gets-sec .mg-m-t { margin: 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; line-height: 1.15; color: var(--ink); }
.mg-chips { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mg-chips li { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 10px 0 8px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: .78125rem; line-height: 1; white-space: nowrap; }
.mg-h-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.mg-h { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.mg-h li { display: flex; flex-direction: column; gap: 5px; }
.mg-h-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mg-h-row b { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.mg-h-row span { font-size: .78125rem; color: var(--ink-2); white-space: nowrap; }
.mg-mix { height: 9px; }
.mg-chat { display: flex; flex-direction: column; gap: 14px; }
.match-gets-sec .mg-q { align-self: flex-end; max-width: 86%; margin: 0; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--accent-soft); color: var(--ink); font-size: .90625rem; line-height: 1.4; }
.mg-a { display: flex; align-items: flex-start; gap: 10px; }
.mg-av { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--btn); }
.mg-a-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px 16px 16px 16px; }
.match-gets-sec .mg-a-body p { margin: 0; font-size: .90625rem; line-height: 1.5; color: var(--ink); }
.mg-cite { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 4px; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--paper); color: var(--accent); font-size: .65625rem; font-weight: 700; line-height: 1; vertical-align: 1px; box-sizing: border-box; }
.mg-prog { grid-column: span 2; }
.mg-chart { height: auto; display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 12px; }
.mg-chart figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.mg-chart figcaption b { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; line-height: 1.2; color: var(--ink); }
.mg-chart svg { display: block; width: 100%; height: auto; }
.mg-chart .mg-narrow { display: none; }
.mg-join { position: relative; overflow: hidden; align-items: center; justify-content: center; gap: 0; padding: 40px 32px 36px; text-align: center; color: var(--deep-ink);
  background: radial-gradient(120% 90% at 50% 0%, var(--deep-hi) 0%, var(--deep) 58%, var(--deep-lo) 100%); border-color: var(--deep); }
.mg-join .mg-stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mg-join > :not(.mg-stars) { position: relative; }
.match-gets-sec .mg-join h3 { margin: 18px 0 0; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1.1; color: var(--deep-ink); }
.mg-amt { margin: 16px 0 0; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.mg-amt b { font-family: var(--serif); font-size: 4.125rem; font-weight: 500; line-height: 1; color: var(--deep-ink); }
.mg-amt span { font-size: 1.0625rem; color: var(--deep-ink-2); }
.mg-cancel { margin: 8px 0 0; font-size: .9375rem; color: var(--deep-ink-2); }
.mg-cta { align-self: stretch; margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 26px; border-radius: 999px; background: var(--deep-ink); color: var(--deep-cta-ink); font-size: 1.0625rem; font-weight: 600; text-decoration: none; transition: background-color .2s ease; }
.mg-cta:hover { background: var(--deep-cta-hover); color: var(--deep-cta-ink); }
.mg-join :focus-visible { outline-color: var(--deep-ink); }
@media (max-width: 1000px) {
  .match-gets-sec > .wrap { gap: 28px; }
  .mg-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .mg-prog { grid-column: auto; }
}
@media (max-width: 640px) { .mg-chart .mg-wide { display: none; } .mg-chart .mg-narrow { display: block; } }  /* the wide drawing's words would be 5px on a phone */
/* How matching works, after the ways in: a section as the home page's (.section-intro), three cards like its cards, each with a drawing in the sample
   chart's linework, joined by a dotted line through their numbers; on a phone the line runs down beside them */
.match.match-intro { max-width: 1280px; padding-top: 0; }
.match-walk-sec { margin: clamp(56px, 7vw, 96px) 0 0; }
.match-walk-intro { margin-bottom: 40px; gap: 14px; }
.match .match-walk-intro h2 { margin: 0; font-size: clamp(2.1rem, 3.6vw, 3rem); }
.match-walk-intro p { margin: 0; }
.match-walk-intro .eyebrow { justify-content: center; }
.match-walk-steps { position: relative; counter-reset: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.match-walk-steps::before { content: ""; position: absolute; top: 17px; left: calc(100% / 6); right: calc(100% / 6); border-top: 2px dotted var(--line-soft); }
.match-walk-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.match-walk-n { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--accent); font-weight: 700; font-size: .9375rem; }
.match-walk-card { flex: 1; align-self: stretch; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; box-shadow: var(--shadow); }
.match .match-walk-card h3 { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.15; }
.match-intro { padding-bottom: clamp(56px, 7vw, 96px); }
/* each step's miniature of the real thing, in the site's type and chart style: a scrap of the write page, the same words as the reading sees them, a paths chart */
.match-walk-mini { display: flex; align-items: stretch; height: 188px; margin-bottom: 10px; padding: 14px; border-radius: 14px; background: var(--inset); overflow: hidden; }
.mw-paper { box-sizing: border-box; width: 100%; height: 100%; padding: 12px 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; box-shadow: var(--shadow); }
.match .mw-paper p { margin: 0; }
.mw-label { margin-bottom: 6px !important; color: var(--accent); font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mw-text { color: var(--ink); font-size: .8125rem; line-height: 1.55; }
.mw-text mark { padding: 0 2px; border-radius: 3px; background: var(--accent-soft); color: var(--ink); }
.mw-caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: text-bottom; background: var(--accent); }
.mw-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px !important; }
.mw-chips span { padding: 0 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .6875rem; font-weight: 600; line-height: 1.6; }
.mw-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.mw-chart path, .mw-chart circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mw-chart .mw-grid { stroke: var(--rule-strong); stroke-width: 1; stroke-dasharray: 1 5; }
.mw-chart .mw-them { stroke: var(--accent); stroke-width: 2; }
.mw-chart .mw-faint { stroke: var(--line); stroke-width: 1.6; }
.mw-chart .mw-you { stroke: var(--ink); stroke-width: 2.2; stroke-dasharray: 5 4; }
.mw-chart .mw-ring { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.mw-chart .mw-dot { fill: var(--line); stroke: none; }
.mw-chart .mw-star { fill: var(--star); stroke: none; }
.mw-chart .mw-you-t { fill: var(--ink); font-size: 10px; font-weight: 700; }
/* the home page's closing card (_join_card.html), as wide as on the home page, out past the intro's column */
.match-sample { max-width: 1040px; margin: 40px auto 0; }
.match-sample .home-join-cta { flex-wrap: wrap; gap: 12px; }
.match-sample .match-status { flex-basis: 100%; margin: 0; text-align: center; }  /* where the way in would be: why there isn't one */
.match-sample .home-join-card { margin-top: 0; }
.match-sample .home-join-cta p { margin: 0; }
.match-sample .home-join-cta:not(:has(> :not([hidden]):not(:empty))) { padding-top: 0; border-top: 0; }  /* no way in to show (matching not open, signed out): no rule over nothing, the status still in the accessibility tree */
.match-sample .home-join-cta:not(:has(> :not([hidden]):not(:empty))) { margin-top: -26px; }  /* nor the card's gap under the chart (site.css's; :has can't nest to zero it) */
@media (max-width: 720px) { .match-sample .home-join-cta:not(:has(> :not([hidden]):not(:empty))) { margin-top: -20px; } }

.match-big { display: grid; gap: 12px; margin: 32px 0; padding: 26px 28px 22px; border: 1px solid var(--rule); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.match-big-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.match-big-head h2 { margin: 0; font-size: 1.875rem; }
.match-big-head span { color: var(--ink-2); font-size: .9375rem; }
.match-big figcaption { display: grid; gap: 6px; }
.match-big p { margin: 0; }
.match-big-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .875rem; }
.match-big-key li { display: block; }
.match-big-key i { display: inline-block; margin-right: 8px; vertical-align: middle; }
.match-big-key .k-you i { width: 24px; border-top: 2.5px dashed var(--ink); }
.match-big-key .k-band i { width: 24px; border-top: 3px dashed var(--ink); }
.match-big-key .k-here i { width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; box-sizing: border-box; }
.match-big-key .k-them i { width: 24px; border-top: 2px solid var(--accent); }
.match-big-key .match-link { min-height: 36px; padding: 0 2px; font-weight: 600; }
.match-big-caption { color: var(--ink-2); font-size: .875rem; }

.match-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }  /* the owner's: the matches first, then what helped and the rest under them, full width */
.match-list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin: 0 0 14px; min-height: 44px; }
.match h2.eyebrow { margin: 0; font-family: var(--sans); font-size: .8125rem; line-height: 1.4; }
.match-ask-all { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.match-people { display: grid; gap: 16px; margin: 0 0 20px; padding: 0; list-style: none; }
/* whose outcome a card may have (score.ts CARD_OUTCOMES): plain, under the count, above the first card */
.match-only { margin: -6px 0 14px; color: var(--ink-2); font-size: .9375rem; }
.match-person { padding: 22px 26px 20px; border: 1px solid var(--rule); border-radius: 20px; background: var(--surface); overflow-wrap: anywhere; }
.match-person-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 12px; }
.match-label { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--accent); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.match-letter { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: .8125rem; font-weight: 700; letter-spacing: 0; }
.match-outcome { margin: 0; }
.match-person h3 { margin: 0 0 6px; font-size: 1.75rem; line-height: 1.15; }
.match-title { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.match-meta { margin: 2px 0 0; color: var(--ink-3); font-size: .875rem; }
.match-person-body { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px 28px; margin-top: 18px; }
.match-mini { max-width: 320px; margin: 0; }  /* as a story card's chart on a phone (site.css .sf-chart) */
.match-no-path { margin: 2px 0 0; color: var(--ink-3); font-size: .875rem; }  /* as a story card's note under its chart */
@media (min-width: 721px) and (max-width: 900px) { .match-mini.none .sf-path { display: block; } }  /* /stories/ hides an empty grid once it stacks; a match card stays two columns to 720px, so the slot keeps it */
.match-why + .match-why { margin-top: 14px; }
.match-why h4 { margin: 0 0 8px; color: var(--ink-2); font-size: .9375rem; font-weight: 600; }
.match-why ul { margin: 0; padding-left: 1.1em; font-size: .9375rem; color: var(--ink-2); }
.match-why li { margin: 2px 0; }
.match-share ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.match-share li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .875rem; font-weight: 600; }
.match-share li::before { width: 13px; height: 13px; }
.match-share a { color: inherit; }
.match-person-go { gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.match-soft { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: .94rem; font-weight: 600; text-decoration: none; }
.match-soft:hover { color: var(--ink); filter: brightness(.97); }
.match-more-row { margin: 4px 0 20px; text-align: center; }
.match-more-row .match-plain { padding: 0 26px; font-weight: 600; }
#match-more::after { content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9 L12 15 L18 9' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9 L12 15 L18 9' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.match-aside { display: grid; gap: 28px; min-width: 0; }
.match-results > section > .match-foot { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--rule); }

/* Path charts: tokens only, so both themes; text in ink colours; the letters and table carry who is who, not colour */
.mc { display: block; width: 100%; height: auto; overflow: visible; }
.mc-grid { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 1 5; stroke-linecap: round; }
.mc-tick { stroke: var(--rule-strong); stroke-width: 1; }
.mc-y, .mc-x { fill: var(--ink-2); font-size: 14px; }
.mc-x.now { fill: var(--ink); font-weight: 700; }
.mc-badge circle { fill: var(--btn); }
.mc-letter { fill: var(--btn-ink); font-size: 13px; font-weight: 700; }
.mc-you { fill: var(--surface); stroke: var(--ink); stroke-width: 2.5; }
.mc-you-line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linecap: round; stroke-linejoin: round; }
.mc-you-dot { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.mc-you-band { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 5 4; stroke-linecap: round; }
.mc-here { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 4; }
.mc .start { fill: var(--accent); stroke: none; }  /* where a match's line starts: a dot, so the only ring on the chart is the reader's */
.mc-you-t { fill: var(--ink); font-size: 14px; font-weight: 700; paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }  /* a halo in the card's colour: a match's line under the words doesn't cut them */

/* Your progress, as the board "Members — your progress", and where a search says it's kept. No colour for better or worse */
.pr-chart .mc-y { font-size: 14px; }
.pr-line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 7 6; stroke-linecap: round; }
.pr-dot { fill: var(--surface); stroke: var(--ink); stroke-width: 2.5; }
.pr-count { margin: 8px 0 14px !important; }
.pr-list { margin-bottom: 28px; }
.pr-run { padding: 24px 28px 20px; }
.pr-latest-run { border-color: var(--line); }
.pr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.pr-top .chips { margin: 0; }
.pr-when { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.match .pr-when h3 { margin: 0; font-size: 2rem; line-height: 1.1; }
.pr-latest { background: var(--btn); color: var(--btn-ink); }
.pr-first { margin: 14px 0 0; font-family: var(--serif); font-size: 1.375rem; font-style: italic; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.pr-closest { margin-top: 16px; }
.pr-closest h4 { margin: 0 0 8px; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.pr-closest ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pr-closest li { display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.pr-go { gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.pr-del { margin-left: auto; width: 48px; padding: 0; }
.pr-del svg { stroke: var(--warn); stroke-width: 1.6; }
.match-askbox { display: grid; gap: 16px; margin: 0; padding: clamp(20px, 3vw, 32px) clamp(18px, 3vw, 40px); border: 1px solid var(--rule); border-radius: 20px; background: var(--surface); }
.match-askbox-head h2 { margin: 0; font-size: 2rem; }  /* as What helped people like you's heading under it (.panel h2) */
/* the field and the starters are the home page's, with paper behind them to stand out against this card */
.match-askbox .home-ask-box { background: var(--paper); }
.match-ask-try .chip { padding: 8px 16px; text-align: left; }  /* a starter is long: on a phone it wraps inside its pill */
.match-ask-try .chip:hover { background: var(--paper); }
.match-saved { margin: 24px 0; padding: 18px; border: 1px solid var(--rule); border-radius: 12px; }
.match-saved p { margin: 8px 0 0; }
.match-aside .match-saved { display: grid; gap: 8px; margin: 0; padding: clamp(24px, 3vw, 32px) clamp(20px, 3vw, 40px); border-radius: 20px; background: var(--surface); }
.match-saved-ico { stroke-width: 1.6; }
.match-saved h2 { margin: 4px 0 0; font-size: 1.75rem; }
.match-since { padding: 12px 16px; border-radius: 12px; background: var(--surface-2); font-size: .9375rem; }
.match-saved .match-links { gap: 4px 18px; }
.match-note-sm { margin: 8px 0 0; color: var(--ink-3); font-size: .875rem; }
.pr-pencil { margin: 12px 0 0; font-weight: 400 !important; color: var(--ink-2); font-size: .9375rem; }
.pr-pencil select { font: inherit; min-height: 40px; margin-left: 4px; padding: 0 8px; background: var(--paper); color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 8px; }
.pr-empty { margin: 32px 0; padding: 28px; border: 1px solid var(--rule); border-radius: 20px; background: var(--surface); }
.pr-empty h2 { font-size: 1.875rem; }
.pr-kept { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 12px 24px; margin-top: 28px; padding: 26px 32px; border-radius: 20px; background: var(--band); }
.pr-kept-ico { margin-top: 6px; }
.pr-kept h2 { margin: 0 0 8px; font-size: 1.875rem; }
.pr-kept p { margin: 0 0 8px; color: var(--ink-2); }
.pr-kept .match-links { margin: 4px 0 0; }
.pr-delete-all { margin: 0; }
.pr-danger { border-color: var(--warn-rule); color: var(--warn); font-weight: 600; }
.pr-danger svg { stroke: var(--warn); }
.pr-danger:is(:hover, :focus-visible) { border-color: var(--warn); background: var(--warn-soft); color: var(--warn); }  /* the danger pill fills with its own colour (site.css's button hovers leave it out) */

/* The panels under the matches, in the treatment pages' language (topic.html): what helped on a surface panel, a row a treatment with its number big, one
   bar of helped, no change and worse, and everyone on Miruvor in a muted line; who got worse in the adverse events' warm panel; how they did. Grey on fewer than 10 */
.match-panels { display: grid; gap: 28px; margin: 0; overflow-wrap: anywhere; }
.match-panels h2 { margin: 0; }
.match-panels .panel { display: flex; flex-direction: column; gap: 18px; }
.match-panels .sec-head p { margin: 0; max-width: 46em; }
.match .match-panels .tiny { margin: 0; }
.match-how-line { margin: 0; font-size: 1.0625rem; }
.match-everyone { margin: 0; color: var(--ink-2); font-size: .875rem; }
.mp-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.mp-rows[hidden], .mp-row[hidden] { display: none; }
.mp-row { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--rule); }
.mp-row h3, .mp-wrow h3 { margin: 0; font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.mp-row h3 a, .mp-wrow h3 a { color: var(--ink); }
.mp-row p, .mp-wrow p { margin: 0; }
.mp-meta { color: var(--ink-3); font-size: .875rem; }
.mp-kpi { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 4px !important; }
.mp-kpi .v, .mp-wnum .v { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.mp-kpi .l, .mp-wnum .l { color: var(--ink-2); font-size: .9375rem; }
.mp-kpi.few .v, .mp-wnum.few .v { color: var(--ink-3); }
.mp-everyone { color: var(--ink-3); font-size: .875rem; }
.mp-row .match-bar { height: 10px; margin: 2px 0; }
.mp-row .row-you { color: var(--ink); font-weight: 600; font-size: .875rem; }
.mp-row .note.warn { margin: 2px 0; }
.mp-worse h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.mp-wrows { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mp-wrow { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--warn-rule-soft); border-radius: 16px; }
.mp-whead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.mp-wnum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.mp-wnum .v { font-size: 1.625rem; }
.mp-wbar { height: 8px; max-width: 360px; border-radius: 999px; background: var(--warn-soft); overflow: hidden; }
.mp-wbar i { display: block; height: 100%; min-width: 3px; border-radius: 999px; background: var(--e-worse); forced-color-adjust: none; }
.mp-wbar.few i { filter: grayscale(1); opacity: .65; }
.mp-wrow .match-serious { gap: 8px; margin-top: 4px; padding: 14px 16px; }
.mp-wrow .match-none, .mp-worse .match-none { margin: 0; font-size: .9375rem; }
.match .few { color: var(--ink-3); }
.match-bar { margin: 4px 0 2px; }
.match-bar.thin { height: 6px; }
.match-bar.few i { filter: grayscale(1); opacity: .65; }
.match-next { margin: 8px 0 0; padding: 10px 14px; border-left: 2px solid var(--rule-strong); font-size: .9375rem; }
.match-next-note { margin-top: 6px !important; color: var(--ink-2); font-size: .875rem; }
.match-next ul { margin: 6px 0 0; padding-left: 1.1em; }
.match-serious { display: grid; gap: 8px; margin-top: 8px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--warn-rule); border-radius: 10px; }
.match-serious .ae-crisis { padding: 12px 14px; }
.match-table summary { min-height: 32px; cursor: pointer; font-weight: 600; }
.match-table .tbl-wrap { margin-top: 12px; }

/* the miniatures grow as the three columns narrow, one height across all three, so every paper holds its words */
@media (min-width: 721px) and (max-width: 1180px) { .match-walk-mini { height: 200px; } }
@media (min-width: 721px) and (max-width: 940px) { .match-walk-mini { height: 256px; } }
@media (min-width: 721px) and (max-width: 840px) { .match-walk-mini { height: 300px; } }
@media (max-width: 1000px) {
}
@media (max-width: 720px) {
  .match { padding-block: 12px 56px; }
  .match .match-h1 { margin-top: 22px; font-size: 2.6rem; }
  .match-lede { font-size: 1.0625rem; }
  .match-steps { gap: 8px 10px; font-size: .875rem; }
  .match-steps li:not(:last-child)::after { width: 12px; margin-left: 0; }
  .match-story-bar { padding: 14px 18px; }
  .match .match-story textarea { min-height: 850px; padding: 18px; font-size: 1.0625rem; }  /* tall enough for the whole example, which no one can scroll, in every state, so nothing under a thumb jumps */
  .match-story-foot { padding: 14px 16px; }
  .match-story-foot .match-row-end, .match-story-foot .match-row-end > * { width: 100%; }
  .match-mention { padding: 22px 20px 20px; }
  .match-mention summary { font-size: 1.625rem; }
  .match-mention ul { columns: 1; }
  .match-big { padding: 18px 16px; }
  .match-big-head h2 { font-size: 1.625rem; }
  .match-person { padding: 18px 16px; }
  .match-person h3 { font-size: 1.625rem; }
  .match-person-body { grid-template-columns: minmax(0, 1fr); }
  .match-person-go > * { flex: 1 1 100%; }
  .match-head-side { padding-bottom: 0; }
  .match-card { padding: 16px; }
  .match-sample { margin-top: 28px; }
  .match-alt .btn { width: 100%; min-width: 0; }
  .match-walk-intro { margin-bottom: 28px; }
  .match-walk-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .match-walk-steps::before { display: none; }
  .match-walk-steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: -18px; border-left: 2px dotted var(--line-soft); }  /* from each number to the next, and no further */
  .match-walk-steps li { flex-direction: row; align-items: flex-start; gap: 14px; }
  .match-walk-n { flex: none; }
  .match-walk-card { flex: 1; min-width: 0; padding: 18px 18px 20px; }
  .match-walk-mini { height: auto; min-height: 140px; }
  .pr-run { padding: 18px 16px; }
  .pr-first { font-size: 1.1875rem; }
  .pr-kept { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .pr-kept-ico { display: none; }
  .match-share li:nth-child(n+5), .match-differ li:nth-child(n+2) { display: none; }  /* 4 and 1 on a phone, as the board: a very ill reader can stop at any card */
}
/* A teaser (matchresults.js held): shapes in place of the rest, blurred, and the way in over them. Nothing in them is anyone's */
.match-held { position: relative; margin: 0; }
/* the teaser's shapes end the list: what helped follows at the aside's own gap, not the list's 40px plus a margin under the shapes */
.match-cols:has(> .match-list > .match-held:not([hidden])) { gap: 28px; }
.match-held:not([hidden]) ~ .match-state-go { margin-top: 20px; }  /* a thin teaser's Answer a few questions, off the shapes as the cards are off each other */
.match-fake { filter: blur(5px); opacity: .75; pointer-events: none; user-select: none; }
.match-held .match-fake { margin: 0; }
.mp-rows.match-fake { margin-top: 0; }
.match-held-box { position: absolute; top: 28px; left: 16px; right: 16px; box-sizing: border-box; max-width: 480px; margin: 0 auto; padding: 24px 26px; border: 1px solid var(--rule-strong); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-float); text-align: center; color: var(--ink); }
.match-held-box h2 { margin: 0; font-size: 1.375rem; line-height: 1.25; }
.match-held-box p { margin: 10px 0 0; }
.match-held-box .btn { margin-top: 6px; }
.fk { display: block; height: 12px; margin: 10px 0; border-radius: 6px; background: var(--rule); }
.fk-tag { width: 140px; height: 22px; margin: 0; }
.fk-pill { width: 96px; height: 22px; margin: 0; border-radius: 999px; }
.fk-h { width: 78%; height: 26px; }
.fk-l { width: 92%; }
.fk-s { width: 56%; }
.fk-kpi { width: 42%; height: 26px; }
.fk-chart { height: 120px; margin: 0; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface-2); }
.match-turnstile { display: flex; justify-content: flex-end; width: 100%; }
@media (max-width: 720px) { .match-held-box { top: 16px; left: 0; right: 0; padding: 20px 18px; } }
.match-held-box.match-read-limit { position: static; max-width: 560px; margin: 18px 0; text-align: left; }
@media (max-width: 720px) { .match-held-box.match-read-limit { padding: 20px 18px; } }
