/* PILL OVERDOSE LAYER styles.
   Cheap on mobile: transforms and opacity only, no filters on large areas,
   no continuous animation above band 0. */

/* ---------- escaped / duplicate specimens ---------- */
.pill-dupe {
  position: fixed; z-index: 8500; width: 74px; height: 32px; padding: 0;
  border: 0; background: none; cursor: pointer;
  transform: rotate(var(--r, -20deg)); opacity: 0;
  animation: pill-dupe-in 700ms ease forwards;
}
.pill-dupe span {
  display: block; width: 100%; height: 100%; border-radius: 999px;
  border: 3px solid #161914;
  background: linear-gradient(90deg, #1E7A52 0 50%, #F7F8F3 50% 100%);
  box-shadow: 4px 6px 0 rgba(22, 25, 20, 0.18);
}
.pill-dupe:focus-visible { outline: 3px solid #46C88C; outline-offset: 4px; }
.pill-dupe.is-gone { animation: pill-dupe-out 400ms ease forwards; }
@keyframes pill-dupe-in { to { opacity: 0.92; } }
@keyframes pill-dupe-out { to { opacity: 0; transform: rotate(var(--r, -20deg)) scale(0.6); } }

/* ---------- hallucination roulette ---------- */
.pill-roulette__btn {
  display: block; width: 100%; margin: 0 0 22px;
  background: #0D0F0C; color: #46C88C;
  border: 3px solid #46C88C; border-radius: 4px;
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 14px; font-weight: 700; letter-spacing: 0.18em;
  padding: 16px 18px; cursor: pointer;
}
.pill-roulette__btn:hover { background: #131612; }
.pill-roulette__btn:focus-visible { outline: 3px solid #46C88C; outline-offset: 3px; }

.pill-roulette {
  position: fixed; inset: 0; z-index: 9500;
  background: #0B0E0A; display: grid; place-items: center;
  cursor: pointer; padding: 4vh 4vw;
}
.pill-roulette__frame {
  display: grid; gap: 18px; justify-items: center;
  max-width: min(1100px, 92vw); max-height: 82vh;
}
.pill-roulette img {
  max-width: min(1100px, 92vw); max-height: 62vh; width: auto; height: auto;
  border: 4px solid #161914; background: #F7F8F3; display: block;
}
.pill-roulette img.is-redacted {
  width: min(700px, 80vw); height: 40vh; background: #161914;
  border-color: #C6402E;
}
.pill-roulette__cap {
  font-family: 'Space Mono', ui-monospace, monospace; text-align: center;
  color: #D9DED4; display: grid; gap: 8px; max-width: 70ch;
}
.pill-roulette__cap strong { font-size: 20px; letter-spacing: 0.2em; color: #fff; }
.pill-roulette__cap span { font-size: 14px; letter-spacing: 0.1em; color: #8B948A; line-height: 1.6; }
.pill-roulette.is-classified .pill-roulette__cap strong { color: #C6402E; }
.pill-roulette__hint {
  position: absolute; bottom: 22px; left: 0; right: 0; text-align: center;
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.24em; color: #454B42;
}

/* ---------- HUD additions ---------- */
.pill-hud__extra { margin-top: 16px; }
.pill-hud__anom { display: grid; gap: 4px; margin-bottom: 12px; }
.pill-hud__anom strong { font-size: 12px; letter-spacing: 0.12em; color: #E8B84B; }
.pill-hud__anom span { font-size: 11px; color: #8B948A; line-height: 1.55; }
.pill-hud__controls { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-hud__ctl {
  flex: 1 1 auto; background: #131612; color: #8B948A;
  border: 2px solid #2E332B; border-radius: 3px;
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.14em; padding: 8px 10px; cursor: pointer;
}
.pill-hud__ctl:hover { border-color: #454B42; color: #D9DED4; }
.pill-hud__ctl.is-on { border-color: #46C88C; color: #46C88C; }
.pill-hud__ctl:focus-visible { outline: 2px solid #46C88C; outline-offset: 2px; }

/* ---------- daily anomalies ---------- */
[data-anomaly="seam"] .pill3d__seam,
[data-anomaly="seam"] .bc-pill__seam { box-shadow: 0 0 0 2px #C6402E; }
[data-anomaly="rotation"] .pill3d { transform: rotate(-6deg) !important; }
[data-anomaly="facing"] .pill3d { transform: rotate(var(--anomaly-rot, -24deg)) !important; }
[data-anomaly="double"] .specimen__tag::after { content: " " attr(data-dup); }
[data-anomaly="double"] .evidence__tag::after { content: " / DUPLICATE"; }
[data-anomaly="backward"] [data-anomaly-backward] { font-variant-numeric: tabular-nums; }
[data-anomaly="backward"] [data-anomaly-backward]::after { content: " ◄"; color: #E8B84B; }
[data-anomaly="missing"] .evidence__item[data-withdrawn] img { visibility: hidden; }
[data-anomaly="missing"] .evidence__item[data-withdrawn] { background: repeating-linear-gradient(45deg, #161914 0 8px, #1c201b 8px 16px); }
[data-anomaly="margin"] main::before {
  content: "the pill was here before the website";
  position: fixed; left: 6px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.3em; color: rgba(69, 75, 66, 0.5);
  pointer-events: none; z-index: 10;
}
[data-anomaly="pigment"] .specimen__frame { filter: hue-rotate(12deg); }
[data-anomaly="control"] .pill-hud__line .v:first-of-type { color: #E8B84B; }
[data-anomaly="echo"] .pill-hud__dl dd::after { content: " / " attr(data-echo); color: #454B42; }

/* ---------- reality restoration ----------
   One control that puts the visitor back in a clean document. */
html[data-calm="1"] body::after { display: none !important; }
html[data-calm="1"] .pill-dupe { display: none !important; }
html[data-calm="1"] .specimen__tag::after,
html[data-calm="1"] .evidence__tag::after { content: "" !important; }
html[data-calm="1"] [data-anomaly] .pill3d { transform: rotate(-24deg) !important; }
html[data-calm="1"] main::before { content: none !important; }

@media (prefers-reduced-motion: reduce) {
  .pill-dupe { animation: none; opacity: 0.92; }
  .pill-dupe.is-gone { animation: none; opacity: 0; }
}

@media (max-width: 640px) {
  .pill-dupe { width: 58px; height: 25px; }
  .pill-roulette__btn { font-size: 11px; letter-spacing: 0.12em; padding: 14px 12px; }
  .pill-roulette__cap strong { font-size: 15px; }
  .pill-roulette__cap span { font-size: 12px; }
}


/* Patient dossier + DO NOT TOUCH */

.dossier {
  margin: 48px 0 0; padding: 28px 0 0; border-top: 4px solid #161914;
}
.dossier__h {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 15px; letter-spacing: 0.22em; margin: 0 0 10px; color: #454B42;
}
.dossier__lede {
  font-size: 15px; line-height: 1.65; color: #454B42; max-width: 62ch; margin: 0 0 22px;
}
.dossier__preview {
  background: #161914; padding: 16px; border-radius: 4px; overflow: hidden;
  display: grid; place-items: center;
}
.dossier__preview canvas {
  max-width: 100%; height: auto; display: block;
  box-shadow: 0 12px 28px rgba(13, 15, 12, 0.4);
}
.dossier__btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.dossier__btn {
  flex: 1 1 auto; background: #0D0F0C; color: #46C88C;
  border: 3px solid #161914; border-radius: 4px;
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  padding: 14px 16px; cursor: pointer;
}
.dossier__btn:hover { border-color: #46C88C; }
.dossier__btn:focus-visible { outline: 3px solid #46C88C; outline-offset: 3px; }
.dossier__dl { margin-top: 12px; }
.dossier__link {
  font-family: 'Space Mono', ui-monospace, monospace; font-size: 12px;
  letter-spacing: 0.14em; color: #1E7A52;
}

/* ---------------- DO NOT TOUCH ---------------- */
.dnt {
  position: fixed; right: 16px; bottom: 18px; z-index: 8600;
  display: grid; gap: 8px; justify-items: center; max-width: 210px;
}
.dnt__btn {
  background: none; border: 0; padding: 6px; cursor: pointer; line-height: 0;
}
.dnt__pill {
  display: block; width: 66px; height: 29px; border-radius: 999px;
  border: 3px solid #161914;
  background: linear-gradient(90deg, #1E7A52 0 50%, #F7F8F3 50% 100%);
  box-shadow: 4px 6px 0 rgba(22, 25, 20, 0.18);
  transition: transform 220ms ease;
}
.dnt__btn:hover .dnt__pill { transform: translateY(-2px) rotate(-4deg); }
.dnt__btn:focus-visible { outline: 3px solid #46C88C; outline-offset: 3px; }
.dnt__label {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.16em; text-align: center;
  color: #C6402E; background: rgba(238, 240, 234, 0.94);
  border: 2px solid #C6402E; border-radius: 3px; padding: 6px 8px; line-height: 1.4;
}
.dnt[data-stage="1"] .dnt__label { letter-spacing: 0.2em; }
.dnt[data-stage="2"] .dnt__label { letter-spacing: 0.24em; }
.dnt[data-stage="3"] .dnt__label { color: #8B948A; border-color: #8B948A; }
.dnt[data-stage="4"] .dnt__label { color: #454B42; border-color: #454B42; font-size: 11px; }
.dnt[data-stage="5"] .dnt__label { color: #1E7A52; border-color: #1E7A52; font-size: 13px; letter-spacing: 0.3em; }
.dnt[data-stage="5"] .dnt__pill { transform: rotate(-10deg) scale(1.08); }
.dnt.is-done { opacity: 0; transform: scale(0.7); transition: opacity 400ms, transform 400ms; }

html[data-calm="1"] .dnt { display: none !important; }

@media (max-width: 640px) {
  .dnt { right: 8px; bottom: 74px; max-width: 150px; }
  .dnt__pill { width: 50px; height: 22px; }
  .dnt__label { font-size: 9px; padding: 5px 6px; }
  .dossier__btn { font-size: 11px; letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  .dnt__pill, .dnt.is-done { transition: none; }
}


/* Ward ciphers + clinical microgames */

.pill-cipher__list { display: grid; gap: 6px; margin-bottom: 10px; }
.pill-cipher__row { display: grid; gap: 2px; padding: 7px 9px; border: 2px solid #2E332B; border-radius: 3px; }
.pill-cipher__row strong { font-size: 11px; letter-spacing: 0.12em; color: #D9DED4; }
.pill-cipher__row span { font-size: 10px; letter-spacing: 0.1em; color: #8B948A; line-height: 1.5; }
.pill-cipher__row.is-solved { border-color: #1E7A52; }
.pill-cipher__row.is-solved strong { color: #46C88C; }
.pill-cipher__form { display: flex; gap: 6px; }
.pill-cipher__input {
  flex: 1 1 auto; min-width: 0; background: #131612; color: #fff;
  border: 2px solid #2E332B; border-radius: 3px; padding: 8px 10px;
  font-family: 'Space Mono', ui-monospace, monospace; font-size: 16px; letter-spacing: 0.1em;
}
.pill-cipher__input:focus { outline: 2px solid #46C88C; outline-offset: 1px; border-color: #46C88C; }
.pill-cipher__out { font-size: 10px; letter-spacing: 0.12em; color: #8B948A; margin-top: 8px; line-height: 1.5; }
.pill-cipher__out.is-good { color: #46C88C; }
.pill-cipher__out.is-bad { color: #C6402E; }

/* ---------------- microgames ---------------- */
.mg-suite { margin: 48px 0 0; padding: 28px 0 0; border-top: 4px solid #161914; display: grid; gap: 28px; }
.mg-suite__h { font-family: 'Space Mono', ui-monospace, monospace; font-size: 15px; letter-spacing: 0.22em; margin: 0; color: #454B42; }
.mg {
  background: #F7F8F3; border: 4px solid #161914; border-radius: 4px;
  padding: 22px; display: grid; gap: 14px;
}
.mg__head { font-family: 'Space Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.2em; color: #1E7A52; }
.mg__lede { font-size: 14px; line-height: 1.6; color: #454B42; margin: 0; max-width: 62ch; }
.mg__chart { width: 100%; height: auto; border: 3px solid #161914; display: block; background: #0D0F0C; }
.mg__meter { height: 10px; background: #E7E9E4; border: 2px solid #161914; overflow: hidden; }
.mg__meter i { display: block; height: 100%; width: 0; background: #1E7A52; transition: width 120ms linear; }
.mg__btn {
  justify-self: start; background: #0D0F0C; color: #46C88C;
  border: 3px solid #161914; border-radius: 4px; cursor: pointer;
  font-family: 'Space Mono', ui-monospace, monospace; font-size: 13px;
  font-weight: 700; letter-spacing: 0.16em; padding: 13px 22px;
  touch-action: manipulation; user-select: none;
}
.mg__btn:hover { border-color: #46C88C; }
.mg__btn:disabled { opacity: 0.5; cursor: default; }
.mg__btn:focus-visible { outline: 3px solid #46C88C; outline-offset: 3px; }
.mg__out { font-family: 'Space Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.1em; color: #454B42; min-height: 18px; line-height: 1.5; }
.mg__out.is-good { color: #1E7A52; }
.mg__out.is-bad { color: #C6402E; }

.mg__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 420px; }
.mg__cell { padding: 0; border: 3px solid #161914; background: #EEF0EA; cursor: pointer; line-height: 0; }
.mg__cell img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.mg__cell.is-picked { border-color: #46C88C; box-shadow: inset 0 0 0 3px #46C88C; }
.mg__cell:focus-visible { outline: 3px solid #46C88C; outline-offset: 2px; }

.mg__field { position: relative; height: 280px; border: 3px solid #161914; background: #EEF0EA; overflow: hidden; }
.mg__spec {
  position: absolute; width: 44px; height: 19px; padding: 0; border: 0; cursor: pointer;
  border-radius: 999px; transform: rotate(var(--r, 0deg));
  background: linear-gradient(90deg, #1E7A52 0 50%, #F7F8F3 50% 100%);
  box-shadow: inset 0 0 0 2px #161914, 2px 3px 0 rgba(22, 25, 20, 0.2);
}
.mg__spec:focus-visible { outline: 3px solid #46C88C; outline-offset: 2px; }

@media (max-width: 640px) {
  .mg { padding: 16px; }
  .mg__grid { max-width: 100%; }
  .mg__field { height: 220px; }
  .mg__btn { font-size: 11px; padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mg__meter i { transition: none; }
}

/* ---------------- adaptive intake ---------------- */
.intake-ctx {
  border: 3px solid #161914; border-radius: 4px; background: #F7F8F3;
  padding: 16px 18px; margin: 18px 0;
}
.intake-ctx__k {
  font-family: 'Space Mono', ui-monospace, monospace; font-size: 11px;
  letter-spacing: 0.2em; color: #C6402E; margin-bottom: 10px;
}
.intake-ctx ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.intake-ctx li { font-size: 13.5px; line-height: 1.55; color: #454B42; }

.intake__opts { position: relative; }
.intake__opt.is-locked { opacity: 0.45; }
.intake-pre {
  position: absolute; inset: -6px; z-index: 5; display: grid; gap: 8px;
  place-content: center; text-align: center; padding: 18px;
  background: rgba(13, 15, 12, 0.94); border: 3px solid #C6402E; border-radius: 4px;
}
.intake-pre__k {
  font-family: 'Space Mono', ui-monospace, monospace; font-size: 13px;
  font-weight: 700; letter-spacing: 0.22em; color: #C6402E;
}
.intake-pre__v {
  font-family: 'Space Mono', ui-monospace, monospace; font-size: 17px;
  letter-spacing: 0.06em; color: #fff;
}
.intake-pre__n {
  font-family: 'Space Mono', ui-monospace, monospace; font-size: 11px;
  letter-spacing: 0.08em; color: #8B948A; line-height: 1.6; max-width: 44ch;
}
.intake-rep { color: #C6402E !important; }

/* ---------------- ward record / discharge ---------------- */
.pt-record {
  margin: 34px 0 0; padding: 20px 22px; border: 4px solid #161914; border-radius: 4px;
  background: #0D0F0C; color: #D9DED4; display: grid; gap: 10px;
  font-family: 'Space Mono', ui-monospace, monospace;
}
.pt-record__k { font-size: 11px; letter-spacing: 0.24em; color: #8B948A; }
.pt-record__id { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: 0.06em; }
.pt-record__row { display: flex; justify-content: space-between; gap: 14px; font-size: 12px; letter-spacing: 0.1em; color: #8B948A; }
.pt-record__row b { color: #fff; }
.pt-record__syms { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; }
.pt-record__syms li { font-size: 11.5px; letter-spacing: 0.08em; color: #46C88C; }
.pt-record__term {
  margin-top: 8px; padding: 12px 14px; border: 3px solid #C6402E; border-radius: 3px;
  color: #C6402E; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; line-height: 1.6;
}
.pt-record__done { color: #46C88C; font-weight: 700; letter-spacing: 0.2em; font-size: 15px; margin-top: 8px; }
.pt-record__proof { display: block; font-size: 11px; color: #E8B84B; word-break: break-all; letter-spacing: 0.06em; }

.pt-discontinue {
  display: block; width: 100%; margin: 16px 0 0; cursor: pointer;
  background: #C6402E; color: #fff; border: 4px solid #161914; border-radius: 4px;
  font-family: 'Space Mono', ui-monospace, monospace; font-size: 15px;
  font-weight: 700; letter-spacing: 0.18em; padding: 18px;
}
.pt-discontinue:hover { background: #a8341f; }
.pt-discontinue:focus-visible { outline: 3px solid #46C88C; outline-offset: 3px; }

.pt-discharge { position: fixed; inset: 0; z-index: 9600; background: rgba(11,14,10,0.97); display: grid; place-items: center; padding: 5vh 5vw; }
.pt-discharge__box { max-width: 640px; display: grid; gap: 16px; font-family: 'Space Mono', ui-monospace, monospace; }
.pt-discharge__k { font-size: 13px; letter-spacing: 0.26em; color: #C6402E; font-weight: 700; }
.pt-discharge__p { font-size: 14px; line-height: 1.7; color: #8B948A; margin: 0; }
.pt-discharge__q { color: #fff; letter-spacing: 0.18em; font-weight: 700; }
.pt-discharge__form { display: flex; gap: 8px; }
.pt-discharge__in {
  flex: 1 1 auto; min-width: 0; background: #131612; color: #fff; border: 3px solid #2E332B;
  border-radius: 3px; padding: 13px 14px; font-family: inherit; font-size: 16px; letter-spacing: 0.14em;
}
.pt-discharge__in:focus { outline: none; border-color: #46C88C; }
.pt-discharge__go {
  background: #0D0F0C; color: #46C88C; border: 3px solid #46C88C; border-radius: 3px;
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; padding: 13px 20px; cursor: pointer;
}
.pt-discharge__out { font-size: 12px; letter-spacing: 0.1em; color: #8B948A; display: grid; gap: 8px; line-height: 1.6; }
.pt-discharge__out.is-good strong { color: #46C88C; font-size: 17px; letter-spacing: 0.2em; }
.pt-discharge__out.is-bad { color: #C6402E; }
.pt-discharge__out code { color: #E8B84B; word-break: break-all; font-size: 13px; }
.pt-discharge__close {
  justify-self: start; background: none; border: 0; color: #454B42; cursor: pointer;
  font-family: inherit; font-size: 11px; letter-spacing: 0.16em; text-decoration: underline;
}

.pt-find {
  position: fixed; z-index: 9000; right: 16px; top: 16px; max-width: 320px;
  background: #0D0F0C; border: 3px solid #E8B84B; border-radius: 4px; padding: 12px 14px;
  font-family: 'Space Mono', ui-monospace, monospace; display: grid; gap: 6px;
  opacity: 0; transform: translateY(-8px); transition: opacity 400ms, transform 400ms;
}
.pt-find.is-on { opacity: 1; transform: translateY(0); }
.pt-find__k { font-size: 10px; letter-spacing: 0.22em; color: #E8B84B; }
.pt-find__v { font-size: 12px; letter-spacing: 0.06em; color: #D9DED4; line-height: 1.6; }

@media (max-width: 640px) {
  .pt-find { right: 8px; left: 8px; max-width: none; }
  .pt-discontinue { font-size: 12px; letter-spacing: 0.12em; padding: 15px 10px; }
}
@media (prefers-reduced-motion: reduce) { .pt-find { transition: none; } }

/* submission-clarity: the moments people mistake for winning */
.pt-record__warn {
  display: block; margin-top: 8px; font-size: 10.5px; line-height: 1.6;
  letter-spacing: 0.08em; color: #E8B84B; font-weight: 400;
}
.pt-copy {
  justify-self: start; margin-top: 4px; cursor: pointer;
  background: #0D0F0C; color: #46C88C; border: 2px solid #46C88C; border-radius: 3px;
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; padding: 9px 14px;
}
.pt-copy:hover { background: #131612; }
.pt-copy:focus-visible { outline: 3px solid #46C88C; outline-offset: 2px; }
.pt-seq { font-size: 11px; letter-spacing: 0.08em; color: #8B948A; line-height: 1.6; }

/* ---------------------------------------------------------------------
   THE FALSE TRAIL  ·  recovered case file + false positive
   Appended to overdose.css so the decoy needs no extra request.
   ------------------------------------------------------------------ */

.tr-case {
  position: fixed; inset: 0; z-index: 9700; background: rgba(11,14,10,0.97);
  display: grid; place-items: center; padding: 5vh 5vw;
  opacity: 0; transition: opacity 220ms ease;
}
.tr-case.is-on { opacity: 1; }
.tr-case__box {
  max-width: 560px; width: 100%; display: grid; gap: 16px;
  background: #0D0F0C; border: 3px solid #C6402E; border-radius: 4px; padding: 26px 24px;
  font-family: 'Space Mono', ui-monospace, monospace;
}
.tr-case__k { font-size: 11px; letter-spacing: 0.26em; color: #C6402E; font-weight: 700; }
.tr-case__lead {
  margin: 0; color: #fff; font-size: 19px; line-height: 1.4;
  letter-spacing: 0.14em; font-weight: 700;
}
.tr-case__rows { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 7px 18px; }
.tr-case__rows dt { font-size: 11px; letter-spacing: 0.18em; color: #8B948A; }
.tr-case__rows dd { margin: 0; font-size: 12px; letter-spacing: 0.16em; color: #E8B84B; font-weight: 700; }
.tr-case__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.tr-case__btn {
  background: #0D0F0C; color: #46C88C; border: 3px solid #46C88C; border-radius: 3px; cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; padding: 11px 16px;
}
.tr-case__btn:hover { background: #131612; }
.tr-case__btn:focus-visible { outline: 3px solid #46C88C; outline-offset: 2px; }
.tr-case__btn--ghost { color: #8B948A; border-color: #2E332B; }
.tr-case__btn--ghost:focus-visible { outline-color: #8B948A; }

.tr-fp {
  display: grid; gap: 10px; margin: 0 0 22px;
  background: #0D0F0C; border: 3px solid #E8B84B; border-radius: 4px; padding: 22px 20px;
  font-family: 'Space Mono', ui-monospace, monospace;
  opacity: 0; transition: opacity 260ms ease;
}
.tr-fp.is-on { opacity: 1; }
.tr-fp__k { font-size: 13px; letter-spacing: 0.26em; color: #E8B84B; font-weight: 700; }
.tr-fp__p { margin: 0; font-size: 13px; line-height: 1.7; color: #8B948A; }
.tr-fp__sym {
  margin: 0; font-size: 14px; line-height: 1.6; color: #fff;
  letter-spacing: 0.16em; font-weight: 700;
}
.tr-fp__note { margin: 0; font-size: 11px; line-height: 1.7; letter-spacing: 0.08em; color: #454B42; }

@media (prefers-reduced-motion: reduce) {
  .tr-case, .tr-fp { transition: none; }
}
