.mc {
  scroll-margin-top: 58px;
  --mc-text: #eff5ef;
  --mc-muted: #aebbb7;
  --mc-green: #8fdfa4;
  --mc-amber: #f5cc78;
  --mc-red: #f29387;
  background: #0a1112;
  border-block: 1px solid #28413e;
  color: var(--mc-text);
  padding: 56px 24px 48px;
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
}
.mc *, .mc *::before, .mc *::after { box-sizing: border-box; }
.mc .x-in { max-width: 1240px; margin-inline: auto; }
.mc-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.mc-head > div:first-child { min-width: 0; }
.mc-kicker { margin: 0 0 12px; color: var(--mc-amber); font: 700 .74rem 'Orbitron', sans-serif; }
.mc h2 { margin: 0; font: 800 2rem/1.16 'Orbitron', sans-serif; max-width: 820px; }
.mc h2 span { color: var(--mc-green); }
.mc-intro { margin: 12px 0 0; color: var(--mc-muted); font-size: 1rem; line-height: 1.5; max-width: 760px; }
.mc-episodes { display: flex; flex: 0 0 auto; border: 1px solid #47615c; border-radius: 6px; padding: 3px; gap: 3px; }
.mc-episodes button { min-height: 40px; min-width: 112px; padding: 8px 12px; border: 0; border-radius: 4px; background: transparent; color: var(--mc-muted); font: 700 .88rem 'Rajdhani', sans-serif; cursor: pointer; }
.mc-episodes button[aria-pressed="true"] { background: #20453d; color: #fff; }
.mc-episodes button:focus-visible, .mc button:focus-visible, .mc a:focus-visible, .mc input:focus-visible { outline: 2px solid var(--mc-amber); outline-offset: 2px; }
.mc-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(286px, .75fr); gap: 32px; align-items: start; }
.mc-visual, .mc-controls { min-width: 0; }
.mc-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; color: var(--mc-muted); font-size: .9rem; }
.mc-chart-heading strong { color: var(--mc-text); min-width: 66px; text-align: right; font: 700 .83rem 'Orbitron', sans-serif; }
.mc-chart-surface { position: relative; height: 318px; overflow: hidden; border: 1px solid #35534c; border-radius: 8px; background: #101b1b; }
.mc-chart-surface canvas { display: block; width: 100%; height: 100%; }
.mc-loading { position: absolute; left: 18px; bottom: 10px; color: var(--mc-muted); font-size: .88rem; }
.mc-loading[hidden] { display: none; }
.mc-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 12px; color: var(--mc-muted); font-size: .8rem; }
.mc-legend span { display: inline-flex; align-items: center; gap: 7px; }
.mc-key { width: 18px; height: 3px; display: inline-block; background: #aab8bb; }
.mc-key-choice { background: var(--mc-green); }
.mc-key-hold { background: #8da5ba; }
.mc-key-cash { background: var(--mc-amber); }
.mc-stake { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0 16px; border-bottom: 1px solid #35534c; }
.mc-stake span { color: var(--mc-muted); font-size: .85rem; }
.mc-stake strong { font: 700 .98rem 'Orbitron', sans-serif; white-space: nowrap; }
.mc-choices { min-width: 0; margin: 16px 0 0; padding: 0; border: 0; }
.mc-choices legend { color: var(--mc-text); padding: 0 0 10px; font: 700 .86rem 'Orbitron', sans-serif; }
.mc-choice { min-width: 0; min-height: 61px; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 12px; padding: 9px 11px; margin-bottom: 7px; border: 1px solid #365049; border-radius: 6px; cursor: pointer; background: #10201e; }
.mc-choice:has(input:checked) { border-color: var(--mc-green); background: #1b3930; }
.mc-choice input { margin: 0; accent-color: var(--mc-green); }
.mc-choice span { display: block; min-width: 0; }
.mc-choice strong, .mc-choice small { display: block; overflow-wrap: anywhere; }
.mc-choice strong { font-size: .99rem; line-height: 1.1; }
.mc-choice small { color: var(--mc-muted); font-size: .77rem; line-height: 1.2; margin-top: 3px; }
.mc-actions { display: flex; gap: 8px; align-items: stretch; margin-top: 14px; }
.mc-actions button, .mc-reset { border-radius: 6px; min-height: 45px; padding: 10px 16px; font: 800 .91rem 'Rajdhani', sans-serif; cursor: pointer; }
.mc-play { flex: 1; border: 1px solid var(--mc-green); background: var(--mc-green); color: #092017; }
.mc-play:disabled { opacity: .5; cursor: wait; }
.mc-skip, .mc-reset { border: 1px solid #68817b; color: var(--mc-text); background: transparent; }
.mc-skip[hidden] { display: none; }
.mc-status { min-height: 24px; margin: 10px 0 0; color: var(--mc-muted); font-size: .8rem; line-height: 1.35; }
.mc-outcome { margin-top: 30px; padding-top: 25px; border-top: 1px solid #35534c; }
.mc-outcome[hidden] { display: none; }
.mc-outcome-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.mc-outcome h3 { font: 800 1.35rem/1.25 'Orbitron', sans-serif; margin: 0; }
.mc-outcome-heading p:last-child { color: var(--mc-muted); margin: 8px 0 0; line-height: 1.4; }
.mc-scores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 24px; border-block: 1px solid #35534c; }
.mc-scores > div { min-width: 0; padding: 16px 18px 16px 0; }
.mc-scores > div + div { border-left: 1px solid #35534c; padding-left: 18px; }
.mc-scores span, .mc-scores small { display: block; color: var(--mc-muted); font-size: .8rem; }
.mc-scores strong { display: block; margin: 5px 0 2px; font: 800 1.2rem 'Orbitron', sans-serif; overflow-wrap: anywhere; }
.mc-scores > div:first-child strong { color: var(--mc-green); }
.mc-counterfactual { color: var(--mc-amber); min-height: 23px; margin: 18px 0 0; line-height: 1.4; }
.mc-next { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mc-next a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border-radius: 6px; text-decoration: none; font-weight: 800; }
.mc-next a:first-child { background: var(--mc-green); color: #092017; }
.mc-next a:last-child { border: 1px solid var(--mc-amber); color: var(--mc-amber); }
.mc-partner-note { color: var(--mc-muted); font-size: .77rem; line-height: 1.4; margin: 10px 0 0; }
.mc-method { margin-top: 24px; border-top: 1px solid #35534c; color: var(--mc-muted); font-size: .8rem; line-height: 1.5; }
.mc-method summary { cursor: pointer; padding-top: 12px; color: var(--mc-text); font-weight: 700; }
.mc-method p { max-width: 960px; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .mc { padding: 42px 18px; }
  .mc-head, .mc-outcome-heading { flex-direction: column; align-items: stretch; }
  .mc-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mc-episodes { align-self: start; }
}
@media (max-width: 600px) {
  .mc h2 { font-size: 1.45rem; }
  .mc-chart-surface { height: 250px; }
  .mc-episodes { width: 100%; }
  .mc-episodes button { flex: 1; min-width: 0; }
  .mc-scores { grid-template-columns: minmax(0, 1fr); }
  .mc-scores > div { padding: 11px 0; }
  .mc-scores > div + div { border-left: 0; border-top: 1px solid #35534c; padding-left: 0; }
  .mc-actions { flex-wrap: wrap; }
  .mc-actions button { flex: 1; }
  .mc-next a { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mc *, .mc *::before, .mc *::after { scroll-behavior: auto; transition: none; animation: none; }
}
