.report-wayfinding {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 12px max(16px, calc((100% - 840px) / 2));
  background: #211c29;
  border-bottom: 1px solid #51445d;
  font:
    600 16px/1.5 system-ui,
    sans-serif;
}
.report-wayfinding a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  border-radius: 6px;
}
.report-wayfinding a:hover {
  background: #42344e;
}
.report-wayfinding a:focus-visible {
  outline: 3px solid #dec2ff;
  outline-offset: 2px;
}

/* Readable report metadata in both supplied color schemes. Forecast values are unchanged. */
:root {
  --faint: #606b7a;
  --accent: #076570;
  --analyst: #85500b;
}
.arcana-report,
.arcana-ledger {
  --arc-faint: #606b7a;
  --arc-accent: #076570;
  --arc-hit: #176e42;
  --arc-sport: #176e42;
  --arc-miss: #ad2e25;
  --arc-void: #525e6c;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --faint: #abb5c4;
    --accent: #62d1db;
    --analyst: #eab779;
  }
  .arcana-report,
  .arcana-ledger {
    --arc-faint: #abb5c4;
    --arc-accent: #62d1db;
    --arc-hit: #66d99c;
    --arc-sport: #66d99c;
    --arc-miss: #ef8f82;
    --arc-void: #abb5c4;
  }
}
:root[data-theme="dark"] {
  --faint: #abb5c4;
  --accent: #62d1db;
  --analyst: #eab779;
}
.arcana-report[data-theme="dark"],
.arcana-ledger[data-theme="dark"] {
  --arc-faint: #abb5c4;
  --arc-accent: #62d1db;
  --arc-hit: #66d99c;
  --arc-sport: #66d99c;
  --arc-miss: #ef8f82;
  --arc-void: #abb5c4;
}
.arcana-ledger .why,
.arcana-ledger .strat,
.arcana-ledger .sub,
.arcana-ledger .l-foot {
  font-size: 15px;
  line-height: 1.65;
}
.arcana-ledger .adjline,
.arcana-report .adjline,
.adjline {
  font-size: 14px;
}
.arcana-ledger table {
  font-size: 14px;
}
.arcana-ledger .res,
.arcana-report .res {
  font-size: 12px;
}
.report-skip {
  position: fixed;
  z-index: 110;
  top: 10px;
  left: 16px;
  padding: 15px 20px;
  background: white;
  color: #211c29;
  font:
    600 16px/1.5 system-ui,
    sans-serif;
  transform: translateY(-180%);
}
.report-skip:focus {
  transform: none;
}
:is(a, [tabindex="0"]):focus-visible {
  outline: 3px solid #8063bd;
  outline-offset: 4px;
}
main,
section {
  scroll-margin-top: 90px;
}
main:focus {
  outline: none;
}
main a {
  color: var(--arc-accent, var(--accent));
  text-underline-offset: 3px;
}
.report-footer {
  margin: 0;
  padding: 24px max(20px, calc((100% - 800px) / 2));
  background: #211c29;
  color: #fff;
  border-top: 1px solid #51445d;
  font:
    500 16px/1.5 system-ui,
    sans-serif;
}
.report-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.report-footer a {
  color: #fff;
  padding: 12px 0;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
