.playground {
  --playground-cyan: #65e7ff;
  --playground-cyan-soft: rgba(101, 231, 255, 0.1);
  --playground-mint: #9df8bd;
  --playground-amber: #ffc857;
  --playground-coral: #ff6e7f;
  --playground-ink: #eefcff;
  --playground-muted: #91abb1;
  --playground-line: #29434a;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 76px 0 88px;
  padding: clamp(28px, 5vw, 70px);
  border: 1px solid #31525a;
  color: var(--playground-ink);
  background:
    radial-gradient(circle at 82% 10%, rgba(101, 231, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 8% 60%, rgba(157, 248, 189, 0.06), transparent 26rem),
    linear-gradient(145deg, #071216, #0a171b 54%, #071114);
  box-shadow: 0 44px 130px rgba(0, 0, 0, 0.42);
}

.playground-gridwash {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(101, 231, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 231, 255, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(120deg, black, transparent 78%);
}

.playground-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(101, 231, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.playground-orbit::before,
.playground-orbit::after {
  position: absolute;
  border: 1px solid rgba(101, 231, 255, 0.09);
  border-radius: inherit;
  content: "";
}

.playground-orbit::before { inset: 11%; }
.playground-orbit::after { inset: 25%; }
.orbit-one { top: -21rem; right: -16rem; width: 48rem; height: 48rem; }
.orbit-two { bottom: 18rem; left: -23rem; width: 39rem; height: 39rem; }

.playground-masthead {
  display: grid;
  grid-template-columns: minmax(235px, 0.45fr) minmax(0, 1.2fr);
  align-items: stretch;
  gap: clamp(30px, 6vw, 76px);
}

.playground-seal {
  position: relative;
  display: grid;
  min-height: 310px;
  align-content: space-between;
  padding: 28px;
  border: 1px solid var(--playground-cyan);
  background:
    linear-gradient(135deg, rgba(101, 231, 255, 0.12), transparent 52%),
    rgba(2, 12, 15, 0.72);
  box-shadow: inset 0 0 70px rgba(101, 231, 255, 0.04);
}

.playground-seal::before,
.playground-seal::after {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--playground-cyan);
  content: "";
}

.playground-seal::before {
  top: -6px;
  left: -6px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.playground-seal::after {
  right: -6px;
  bottom: -6px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.playground-seal span,
.playground-kicker,
.playground-room-head span,
.playground-case-topline,
.playground-panel-head span,
.playground-review-label,
.playground-reveal > span,
.playground-stake span {
  color: var(--playground-cyan);
  font: 800 10px/1.4 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.playground-seal b {
  color: var(--playground-ink);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 850;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.playground-seal i {
  justify-self: start;
  padding: 7px 9px;
  color: #031113;
  background: var(--playground-mint);
  font: 900 9px/1 var(--mono);
  font-style: normal;
  letter-spacing: 0.12em;
}

.playground-intro {
  align-self: center;
  padding: 20px 0;
}

.playground-intro h2 {
  margin: 16px 0 22px;
  font-size: clamp(55px, 7.8vw, 102px);
  font-weight: 780;
  line-height: 0.84;
  letter-spacing: -0.072em;
}

.playground-intro h2 em {
  color: var(--playground-cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.playground-intro > p {
  max-width: 720px;
  margin: 0;
  color: #b0c2c6;
  font-size: 17px;
  line-height: 1.65;
}

.playground-intro > p b { color: var(--playground-ink); }

.playground-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 30px;
}

.playground .playground-primary {
  border-color: var(--playground-cyan);
  color: #041215;
  background: var(--playground-cyan);
}

.playground .playground-primary:hover:not(:disabled) { background: #9af1ff; }

.playground .playground-secondary {
  border-color: #40616a;
  color: #dff8fc;
  background: rgba(7, 21, 25, 0.62);
}

.playground .playground-secondary:hover { border-color: var(--playground-cyan); }

.playground .button:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}

.playground-method-link,
.playground-text-link {
  color: var(--playground-muted);
  font: 750 10px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.playground-method-link:hover,
.playground-text-link:hover { color: var(--playground-cyan); }

.playground-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 64px 0;
  border-top: 1px solid var(--playground-line);
  border-bottom: 1px solid var(--playground-line);
}

.playground-stats span {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-right: 1px solid var(--playground-line);
}

.playground-stats span:last-child { border-right: 0; }
.playground-stats b { color: var(--playground-cyan); font: 850 27px/1 var(--mono); }
.playground-stats small { color: var(--playground-muted); font: 750 9px/1.3 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; }

.playground-room {
  scroll-margin-top: 30px;
}

.playground-invitation {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 200, 87, 0.55);
  background: linear-gradient(90deg, rgba(255, 200, 87, 0.12), rgba(101, 231, 255, 0.035));
}

.playground-invitation[hidden],
.playground-receipt[hidden] { display: none; }
.playground-invitation > span { color: var(--playground-amber); font: 850 9px/1.3 var(--mono); letter-spacing: 0.1em; }
.playground-invitation p { margin: 0; color: #a9bdc1; font-size: 11px; line-height: 1.5; }
.playground-invitation p b { color: var(--playground-ink); }
.playground-invitation button { border: 0; color: #829da3; background: transparent; font: 750 9px/1 var(--mono); text-transform: uppercase; cursor: pointer; }
.playground-invitation button:hover { color: var(--playground-amber); }

.playground-room-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.playground-room-head h3 {
  margin: 8px 0 0;
  font-size: clamp(23px, 3vw, 35px);
  letter-spacing: -0.035em;
}

.playground-session {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.playground-session > span,
.playground-session button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--playground-line);
  color: var(--playground-muted);
  background: rgba(5, 17, 20, 0.78);
  font: 750 9px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.playground-session > span { display: inline-flex; align-items: center; }
.playground-session b { margin-right: 3px; color: var(--playground-ink); }
.playground-session button { cursor: pointer; }
.playground-session button:hover { border-color: var(--playground-coral); color: var(--playground-coral); }

.playground-case-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--playground-line);
  background: #071316;
}

.playground-case-tab {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 118px;
  align-content: space-between;
  gap: 13px;
  padding: 17px;
  border: 0;
  border-right: 1px solid var(--playground-line);
  color: var(--playground-muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.playground-case-tab:last-child { border-right: 0; }

.playground-case-tab::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: transparent;
  content: "";
}

.playground-case-tab:hover { color: var(--playground-ink); background: rgba(101, 231, 255, 0.04); }
.playground-case-tab[aria-selected="true"] { color: var(--playground-ink); background: var(--playground-cyan-soft); }
.playground-case-tab[aria-selected="true"]::after { background: var(--playground-cyan); }
.playground-case-tab.completed::before {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--playground-mint);
  font: 900 11px/1 var(--mono);
  content: "✓";
}

.playground-case-tab > span { color: var(--playground-cyan); font: 850 9px/1 var(--mono); letter-spacing: 0.08em; }
.playground-case-tab > b { overflow: hidden; font-size: 12px; line-height: 1.3; text-overflow: ellipsis; }
.playground-case-tab > small { overflow: hidden; color: #6f8b91; font: 700 8px/1.25 var(--mono); text-overflow: ellipsis; text-transform: uppercase; }

.playground-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.72fr);
  border: 1px solid var(--playground-line);
  border-top: 0;
  background: rgba(4, 14, 17, 0.9);
}

.playground-case-file {
  min-width: 0;
  padding: clamp(24px, 4vw, 46px);
  border-right: 1px solid var(--playground-line);
}

.playground-case-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
}

.playground-case-topline span:not(:first-child) { color: #718f96; }

.playground-case-file > h3 {
  max-width: 820px;
  margin: 18px 0 16px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.playground-case-text {
  max-width: 850px;
  margin: 0;
  color: #b1c3c7;
  font-size: 17px;
  line-height: 1.65;
}

.playground-facts-wrap,
.playground-evidence-wrap,
.playground-agent-trace {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--playground-line);
}

.playground-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.playground-panel-head b { color: #c0d1d5; font-size: 12px; }

.playground-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 1px;
  margin-top: 16px;
  background: var(--playground-line);
}

.playground-fact {
  display: grid;
  gap: 8px;
  min-height: 78px;
  align-content: center;
  padding: 14px;
  background: #09171a;
}

.playground-fact small { color: #6f8a90; font: 750 8px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.playground-fact b { overflow-wrap: anywhere; font-size: 12px; line-height: 1.35; }

.playground-untrusted {
  position: relative;
  margin: 18px 0 0;
  padding: 18px 20px 18px 46px;
  border: 1px solid rgba(255, 110, 127, 0.45);
  color: #ffc3ca;
  background: rgba(255, 110, 127, 0.07);
  font: 700 11px/1.6 var(--mono);
  overflow-wrap: anywhere;
}

.playground-untrusted::before {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--playground-coral);
  content: "⚠";
}

.playground-evidence-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  background: var(--playground-line);
}

.playground-evidence-column {
  min-width: 0;
  padding: 16px;
  background: #09171a;
}

.playground-evidence-column > span { color: #719097; font: 800 8px/1 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; }
.playground-evidence-column ul { display: grid; gap: 8px; margin: 13px 0 0; padding: 0; list-style: none; }
.playground-evidence-column li { position: relative; padding-left: 14px; color: #b8c9cd; font: 700 9px/1.4 var(--mono); overflow-wrap: anywhere; }
.playground-evidence-column li::before { position: absolute; left: 0; color: var(--playground-mint); content: "•"; }
.playground-evidence-column.missing li { color: #ffc1c8; }
.playground-evidence-column.missing li::before { color: var(--playground-coral); content: "×"; }
.playground-evidence-empty { color: #668087; font: 700 9px/1.4 var(--mono); }

.playground-gates {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.playground-gate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid #27444b;
  color: #93aeb4;
  background: #09171a;
  font: 750 8px/1 var(--mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.playground-gate::before { width: 6px; height: 6px; border-radius: 50%; background: var(--playground-mint); content: ""; }
.playground-gate.failed { border-color: rgba(255, 110, 127, 0.4); color: #ffc3ca; }
.playground-gate.failed::before { border-radius: 0; background: var(--playground-coral); }

.playground-agent-action {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 19px;
  border-left: 3px solid var(--playground-cyan);
  background: linear-gradient(90deg, rgba(101, 231, 255, 0.11), transparent);
}

.playground-agent-action span { color: var(--playground-cyan); font: 850 8px/1 var(--mono); letter-spacing: 0.1em; }
.playground-agent-action strong { font-size: clamp(18px, 2.5vw, 27px); letter-spacing: -0.025em; }
.playground-agent-action code,
.playground-reveal code { justify-self: start; padding: 5px 7px; color: #9db9bf; background: #061114; font-size: 9px; overflow-wrap: anywhere; }
.playground-agent-trace > p { margin: 18px 0 0; color: #a7bdc1; font-size: 13px; line-height: 1.65; }

.playground-confirmed { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.playground-confirmed span { padding: 6px 8px; border: 1px solid #28434a; color: #78959c; font: 700 8px/1 var(--mono); text-transform: uppercase; }

.playground-provenance {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.45fr 0.55fr 0.55fr;
  gap: 1px;
  margin-top: 20px;
  background: var(--playground-line);
}

.playground-provenance > span { display: grid; min-width: 0; gap: 7px; padding: 12px; background: #071316; }
.playground-provenance small { color: #627e85; font: 800 7px/1 var(--mono); letter-spacing: 0.08em; }
.playground-provenance b { overflow: hidden; color: #adc2c6; font: 750 9px/1.3 var(--mono); text-overflow: ellipsis; }

.playground-verdict-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(24px, 3.5vw, 38px);
  background:
    linear-gradient(180deg, rgba(101, 231, 255, 0.05), transparent 30%),
    #061114;
}

.playground-verdict-panel > h3 { margin: 11px 0 10px; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.04; letter-spacing: -0.045em; }
.playground-verdict-panel > p { margin: 0; color: #8da8ae; font-size: 12px; line-height: 1.6; }

.playground-verdicts { display: grid; gap: 9px; margin-top: 25px; }

.playground-verdicts button {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 4px 12px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid #2a454c;
  color: #c8d8db;
  background: #09171a;
  text-align: left;
  cursor: pointer;
}

.playground-verdicts button:hover:not(:disabled) { border-color: var(--playground-cyan); background: rgba(101, 231, 255, 0.08); }
.playground-verdicts button:disabled { cursor: not-allowed; opacity: 0.4; }
.playground-verdicts button[aria-pressed="true"] { border-color: var(--playground-cyan); box-shadow: inset 3px 0 var(--playground-cyan); }
.playground-verdicts button > span { grid-row: span 2; color: #64838a; font: 850 10px/1 var(--mono); }
.playground-verdicts button > b { font-size: 15px; }
.playground-verdicts button > small { color: #78949a; font: 700 8px/1.2 var(--mono); text-transform: uppercase; }

.playground-choice-status {
  min-height: 19px;
  margin-top: 13px !important;
  color: #6f8b92 !important;
  font: 700 9px/1.5 var(--mono) !important;
}

.playground-reveal {
  position: relative;
  margin-top: 24px;
  padding: 21px;
  border: 1px solid #3a6069;
  background: rgba(101, 231, 255, 0.055);
}

.playground-reveal.correct { border-color: rgba(157, 248, 189, 0.55); background: rgba(157, 248, 189, 0.06); }
.playground-reveal.incorrect { border-color: rgba(255, 200, 87, 0.55); background: rgba(255, 200, 87, 0.055); }

.playground-untrusted[hidden],
.playground-reveal[hidden] { display: none; }

.playground-reveal-status {
  display: inline-block;
  margin: -33px 0 18px;
  padding: 7px 9px;
  color: #061114;
  background: var(--playground-mint);
  font: 900 8px/1 var(--mono);
  letter-spacing: 0.09em;
}

.playground-reveal.incorrect .playground-reveal-status { background: var(--playground-amber); }
.playground-reveal > span { display: block; margin-top: 2px; }
.playground-reveal h4 { margin: 10px 0 8px; font-size: 18px; line-height: 1.2; }
.playground-reveal > p { margin: 15px 0 0; color: #a8bdc1; font-size: 12px; line-height: 1.6; }

.playground-failed-metrics { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.playground-failed-metrics span { padding: 6px 7px; color: #ffc4cb; border: 1px solid rgba(255, 110, 127, 0.35); font: 700 8px/1 var(--mono); text-transform: uppercase; }
.playground-failed-metrics .exact-receipt { color: #b9f9ce; border-color: rgba(157, 248, 189, 0.35); }

.playground-actions { display: grid; gap: 9px; margin-top: 25px; }
.playground-actions .button { width: 100%; min-height: 45px; }
.playground-actions .playground-text-link { padding: 4px 0; }

.playground-stake {
  margin-top: auto;
  padding-top: 28px;
}

.playground-stake p { margin: 9px 0 0; color: #829da3; font-size: 11px; line-height: 1.55; }

.playground-receipt {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 60px);
  margin-top: 34px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--playground-cyan);
  background:
    radial-gradient(circle at 85% 15%, rgba(101, 231, 255, 0.13), transparent 24rem),
    linear-gradient(135deg, rgba(157, 248, 189, 0.035), transparent 42%),
    #061114;
  scroll-margin-top: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34), inset 0 0 80px rgba(101, 231, 255, 0.025);
}

.playground-receipt-copy > span,
.playground-receipt-findings span,
.playground-contribute-route > span {
  color: var(--playground-cyan);
  font: 850 9px/1.4 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.playground-receipt-copy > h3 {
  margin: 12px 0 22px;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.playground-profile-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--playground-line);
  border-bottom: 1px solid var(--playground-line);
}

.playground-profile-line > b { color: var(--playground-mint); font-size: 19px; }
.playground-profile-line > strong { color: #a8bec3; font: 800 12px/1 var(--mono); white-space: nowrap; }
.playground-profile-line > strong i { color: var(--playground-ink); font-size: 36px; font-style: normal; }
.playground-profile-line + p { margin: 16px 0 0; color: #90a9af; font-size: 11px; line-height: 1.65; }

.playground-receipt-findings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 24px;
  background: var(--playground-line);
}

.playground-receipt-findings > div { padding: 17px; background: #08171a; }
.playground-receipt-findings > div:last-child span { color: var(--playground-amber); }
.playground-receipt-findings ul { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.playground-receipt-findings li { position: relative; padding-left: 14px; color: #a9bec3; font: 700 9px/1.45 var(--mono); }
.playground-receipt-findings li::before { position: absolute; left: 0; color: var(--playground-mint); content: "✓"; }
.playground-receipt-findings > div:last-child li::before { color: var(--playground-amber); content: "↺"; }

.playground-receipt-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 24px;
}

.playground-receipt-actions .button { min-height: 44px; }
.playground-text-button {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 7px 0;
  border: 0;
  color: var(--playground-muted);
  background: transparent;
  font: 750 9px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.playground-text-button:hover { color: var(--playground-cyan); }
.playground-result-status { display: block; min-height: 18px; margin-top: 8px; color: var(--playground-mint); font: 700 9px/1.5 var(--mono); }

.playground-contribute-route {
  margin-top: 26px;
  padding: 19px;
  border-left: 3px solid var(--playground-mint);
  background: rgba(157, 248, 189, 0.045);
}
.playground-contribute-route p { margin: 8px 0 15px; color: #91aaaf; font-size: 11px; line-height: 1.55; }
.playground-contribute-route .button { width: 100%; min-height: 42px; }

.playground-card-preview { align-self: center; min-width: 0; margin: 0; }
.playground-card-preview canvas { display: block; width: 100%; height: auto; border: 1px solid #31525a; background: #061216; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }
.playground-card-preview figcaption { margin-top: 10px; color: #6f8a90; font: 700 8px/1.5 var(--mono); text-align: right; text-transform: uppercase; }

.playground-boundary {
  margin: 24px 0 0;
  color: #6e888e;
  font-size: 10px;
  line-height: 1.55;
}

.playground-loading,
.playground-error {
  padding: 28px;
  border: 1px dashed var(--playground-line);
  color: var(--playground-muted);
  font: 700 11px/1.5 var(--mono);
}

@media (max-width: 1040px) {
  .playground-masthead { grid-template-columns: 220px minmax(0, 1fr); }
  .playground-stage { grid-template-columns: 1fr; }
  .playground-case-file { border-right: 0; border-bottom: 1px solid var(--playground-line); }
  .playground-stake { margin-top: 28px; }
  .playground-case-tab { min-height: 106px; padding: 14px 10px; }
  .playground-provenance { grid-template-columns: repeat(3, 1fr); }
  .playground-receipt { grid-template-columns: 1fr; }
  .playground-card-preview { width: min(100%, 760px); }
}

@media (max-width: 780px) {
  .playground { margin-top: 48px; padding: 28px 22px; }
  .playground-masthead { grid-template-columns: 1fr; }
  .playground-seal { min-height: 220px; }
  .playground-stats { grid-template-columns: repeat(3, 1fr); }
  .playground-stats span:nth-child(3) { border-right: 0; }
  .playground-stats span:nth-child(n + 4) { border-top: 1px solid var(--playground-line); }
  .playground-room-head { display: grid; align-items: start; }
  .playground-session { justify-content: start; }
  .playground-case-nav { grid-template-columns: 1fr; }
  .playground-case-tab { min-height: auto; grid-template-columns: 34px 1fr; align-items: center; gap: 5px 10px; border-right: 0; border-bottom: 1px solid var(--playground-line); }
  .playground-case-tab:last-child { border-bottom: 0; }
  .playground-case-tab > span { grid-row: span 2; }
  .playground-case-tab > small { grid-column: 2; }
  .playground-evidence-ledger { grid-template-columns: 1fr; }
  .playground-provenance { grid-template-columns: repeat(2, 1fr); }
  .playground-invitation { grid-template-columns: 1fr auto; }
  .playground-invitation > span { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .playground { width: calc(100% + 24px); margin-left: -12px; padding: 24px 16px; }
  .playground-intro h2 { font-size: clamp(51px, 18vw, 72px); }
  .playground-intro-actions { align-items: stretch; flex-direction: column; }
  .playground-intro-actions .button { width: 100%; }
  .playground-stats { grid-template-columns: 1fr 1fr; }
  .playground-stats span,
  .playground-stats span:nth-child(3) { border-right: 1px solid var(--playground-line); border-top: 1px solid var(--playground-line); }
  .playground-stats span:nth-child(even) { border-right: 0; }
  .playground-stats span:first-child,
  .playground-stats span:nth-child(2) { border-top: 0; }
  .playground-case-file,
  .playground-verdict-panel { padding: 22px 18px; }
  .playground-panel-head { display: grid; gap: 5px; }
  .playground-facts { grid-template-columns: 1fr 1fr; }
  .playground-provenance { grid-template-columns: 1fr 1fr; }
  .playground-session > span,
  .playground-session button { flex: 1; justify-content: center; }
  .playground-receipt { padding: 24px 18px; }
  .playground-profile-line { align-items: start; flex-direction: column; }
  .playground-receipt-findings,
  .playground-receipt-actions { grid-template-columns: 1fr; }
  .playground-text-button { grid-column: auto; }
}

@media (max-width: 400px) {
  .playground-facts,
  .playground-provenance { grid-template-columns: 1fr; }
  .playground-stats b { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .playground *,
  .playground *::before,
  .playground *::after { scroll-behavior: auto !important; transition: none !important; }
}
