:root {
  --paper: #f2f4f3; --ink: #1d1933; --sub: #5a5f6b; --hair: #c6cac7;
  --teal: #0f6e6a; --amber: #e0a100; --amber-t: #8f5200;
  --serif: "IBM Plex Serif", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); }
a { color: var(--teal); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; flex-direction: column; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
header.top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; padding: 28px 0 20px; border-bottom: 2px solid var(--ink); }
.brand { font: 600 24px var(--serif); color: var(--ink); text-decoration: none; }
nav.main { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
nav.main a { padding: 10px 0; }
nav.main a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--ink); }
footer.bottom { padding: 28px 0 48px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--sub); }
h1 { margin: 0; font: 500 clamp(32px, 3.6vw, 48px)/1.1 var(--serif); letter-spacing: -0.01em; }
h2 { margin: 0; font: 500 28px/1.2 var(--serif); }
.mono { font-family: var(--mono); }
.small { font-size: 14px; }
.sub { color: var(--sub); }
.teal { color: var(--teal); }
.amber, a.amber { color: var(--amber-t); }
.r { text-align: right; }
.label { font: 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--sub); }
.hero { padding: 56px 0 32px; display: flex; flex-direction: column; gap: 16px; }
.hero p { margin: 0; max-width: 760px; }
.pad { padding: 8px 0 32px; }
.endpad { height: 40px; }
.cap { margin: 12px auto 0; max-width: 760px; font-size: 14px; color: var(--sub); text-align: center; }
.cap.left { text-align: left; margin-left: 0; }

/* the strip of the spectrum */
.strip { width: 100%; font-family: var(--mono); display: flex; flex-direction: column; gap: 8px; }
.strip-mark { position: relative; height: 30px; font-size: 12px; }
.strip-mark span { position: absolute; top: 0; white-space: nowrap; font-weight: 500; }
.strip-mark b { position: absolute; top: 20px; margin-left: -5px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--ink); }
.strip-band { position: relative; height: 104px; }
.strip-band::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; bottom: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(29, 25, 51, 0.04); }
.strip-band > i { position: absolute; top: 31px; width: 1px; height: 72px; background: var(--ink); }
.strip-band > b { position: absolute; top: 0; width: 1px; height: 103px; }
.strip-band > b > i { position: absolute; left: 0; top: 31px; width: 1px; height: 72px; background: var(--ink); }
.strip-band > b::before { content: ""; position: absolute; left: 0; top: 6px; width: 1px; height: 24px; background: var(--amber); }
.strip-band > b::after { content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 6px; background: var(--amber); }
.strip-axis { position: relative; height: 24px; font-size: 11px; color: var(--sub); }
.strip-axis i { position: absolute; top: 0; width: 1px; height: 5px; background: var(--sub); }
.strip-axis span { position: absolute; top: 8px; white-space: nowrap; }
.strip-bands { position: relative; height: 40px; font-size: 11px; color: var(--sub); }
.strip-bands div { position: absolute; border-top: 2px solid var(--sub); padding-top: 3px; white-space: nowrap; overflow: hidden; }
.strip-bands .l { left: 0; width: 47.06%; top: 0; }
.strip-bands .s { left: 41.18%; right: 0; top: 20px; text-align: right; }
.strip-legend { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 8px; font: 12px var(--mono); color: var(--sub); }
.strip-legend span { display: flex; align-items: center; gap: 8px; }
.strip-legend b.a { width: 3px; height: 16px; background: var(--amber); }
.strip-legend b.k { width: 2px; height: 9px; background: var(--ink); }

/* the six scans as two rows of three squares */
.glyph { display: inline-grid; grid-template-columns: repeat(3, 10px); gap: 3px; vertical-align: middle; }
.glyph i { width: 10px; height: 10px; border: 1.5px solid var(--ink); }
.glyph i.f { background: var(--ink); }
.glyph.big { grid-template-columns: repeat(3, 14px); gap: 4px; }
.glyph.big i { width: 14px; height: 14px; }

/* the boards */
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding: 20px 0; border-top: 1px solid var(--ink); }
.filters [role="group"] { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters [role="group"] > .sub { font-size: 15px; margin-right: 8px; }
.filters button { min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tablewrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.table { min-width: 1080px; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.tr { display: grid; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--hair); align-items: center; font-size: 15px; line-height: 1.35; }
.tr[hidden] { display: none; }
.tr.th { padding: 10px 0; border-bottom: 1px solid var(--ink); font: 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--sub); }
.table.open .tr { grid-template-columns: 76px 100px 80px 76px 52px 84px 1.1fr 1.2fr 1.3fr; }
.table.open .tr:not(.th) > :nth-child(n + 7) { font-size: 14px; }
.table.closed .tr { grid-template-columns: 76px 110px 80px 76px 52px 44px 1fr; }
.table.closed .tr:not(.th) > :last-child { font-size: 14px; }
.legendrow { display: flex; flex-wrap: wrap; gap: 24px 64px; padding: 32px 0 72px; font-size: 15px; color: var(--sub); }
.legendrow > div { display: flex; gap: 14px; align-items: center; max-width: 460px; }
.legendrow strong { color: var(--ink); }

/* a case page */
.crumb { padding: 20px 0 0; font-size: 13px; color: var(--sub); }
.casehead { padding: 28px 0 32px; display: flex; flex-direction: column; gap: 16px; }
.status { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.status i { width: 14px; height: 14px; align-self: center; }
.status strong { font: 500 22px var(--serif); }
.status span { font-size: 15px; color: var(--sub); }
.status.open i { border: 2px solid var(--amber-t); }
.status.open strong { color: var(--amber-t); }
.status.closed i { background: var(--teal); }
.status.closed strong { color: var(--teal); }
.leadrow { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: flex-start; justify-content: space-between; }
.lead { margin: 0; max-width: 720px; font-size: 20px; line-height: 1.5; }
.glyphbox { display: flex; gap: 12px; align-items: center; }
.glyphbox .small div { line-height: 18px; }
.note { margin: 0; max-width: 820px; font-size: 15px; }
.pill { display: inline-block; font: 500 13px var(--mono); border: 1px solid var(--teal); color: var(--teal); padding: 1px 7px; margin-right: 6px; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 48px; padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.facts .mono { font-size: 15px; margin-top: 4px; }
.facts + .pad { padding-top: 32px; }
.two { display: flex; flex-wrap: wrap; gap: 24px 64px; padding: 40px 0; border-top: 1px solid var(--ink); }
.two.last { padding-bottom: 72px; }
.two > :first-child { flex: 1 1 260px; min-width: 0; }
.two > :last-child { flex: 3 1 560px; min-width: 0; }
.two > div:first-child { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.two h2 { font-size: 24px; }
.two p { margin: 0 0 12px; }
.rows { display: flex; flex-direction: column; }
.rows > div { padding: 12px 0; border-top: 1px solid var(--hair); font-size: 16px; }
.rows > div:last-child { border-bottom: 1px solid var(--hair); }
.rows.kv > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; }
.rows.kv > div > span:first-child { flex: 1 1 240px; font-weight: 600; }
.rows.kv > div > span:last-child { flex: 2 1 320px; color: var(--sub); }
.rows.flag > div { color: var(--amber-t); }
table.scans { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
table.scans th { font: 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--sub); text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--ink); }
table.scans td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hair); }
table.scans .r { text-align: right; }
.plot { display: block; width: auto; max-width: 100%; height: auto; max-height: 920px; border: 1px solid var(--ink); background: #fff; }
details { border-top: 1px solid var(--hair); padding: 10px 0; }
details:last-child { border-bottom: 1px solid var(--hair); }
summary { cursor: pointer; }
details p { margin: 10px 0 0; color: var(--sub); }

/* the sky */
.disc { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.disc i, .disc span, .disc button { position: absolute; }
.disc-bg { position: absolute; left: 4%; top: 4%; width: 92%; height: 92%; border-radius: 50%; background: #1d1933; }
.disc .spoke { left: 50%; top: 50%; width: 46%; height: 1px; background: rgba(236, 237, 232, 0.1); transform-origin: 0 50%; }
.disc .ring { border-radius: 50%; border: 1px solid rgba(236, 237, 232, 0.16); }
.disc .ring.eq { border-color: rgba(236, 237, 232, 0.34); }
.disc .hour { transform: translate(-50%, -50%); font: 11px var(--mono); color: var(--sub); white-space: nowrap; }
.disc .dec { transform: translate(-50%, -50%); font: 10px var(--mono); color: rgba(236, 237, 232, 0.6); background: #1d1933; padding: 0 3px; white-space: nowrap; }
.disc .mw { width: 2px; height: 2px; margin: -1px 0 0 -1px; border-radius: 50%; background: rgba(236, 237, 232, 0.38); }
.disc .s0 { width: 2px; height: 2px; margin: -1px 0 0 -1px; border-radius: 50%; background: #ecede8; opacity: 0.5; }
.disc i.s1 { width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #6ccfc0; }
.disc i.s2 { transform: translate(-50%, -50%); border-radius: 50%; background: #f2b93b; box-shadow: 0 0 0 1px #1d1933; }
.disc button { padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.disc button i { position: static; display: block; flex: none; border-radius: 50%; }
.disc button.s1 { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.disc button.s1 i { width: 5px; height: 5px; background: #6ccfc0; }
.disc button.s2 { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.disc button.s2 i { background: #f2b93b; box-shadow: 0 0 0 1px #1d1933; }
.disc .name { font: 11px var(--mono); color: #ecede8; white-space: nowrap; pointer-events: none; }
.disc .name.r { transform: translate(0, -50%); margin-left: 18px; }
.disc .name.l { transform: translate(-100%, -50%); margin-left: -18px; }
.disc .name.a { transform: translate(-50%, -100%); margin-top: -16px; }
.disc:not(.live) .name.r { margin-left: 13px; font-size: 10px; }
.disc:not(.live) .hour { font-size: 10px; }
.disc .sel { display: none; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 1.5px solid #ecede8; pointer-events: none; }
.skywrap { display: flex; flex-wrap: wrap; gap: 40px 56px; padding: 8px 0 56px; align-items: flex-start; }
.skymap { flex: 3 1 560px; min-width: 0; }
.skymap .disc { max-width: 760px; margin: 0 auto; }
.skyside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.selbox { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 2px solid var(--ink); }
.selname { font: 500 30px/1.15 var(--serif); }
.selbox .rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; }
.selbox .mono { font-weight: 500; }
.selcases { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.selcases a { padding: 4px 0; }
.key { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.key > div { display: flex; align-items: center; gap: 12px; }
.key strong { font-weight: 600; }
.chip { flex: none; width: 22px; height: 22px; background: #1d1933; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 2px; }
.chip i { display: block; border-radius: 50%; }
.chip .k2 { width: 10px; height: 10px; background: #f2b93b; }
.chip .k1 { width: 6px; height: 6px; background: #6ccfc0; }
.chip .k0 { width: 3px; height: 3px; background: #ecede8; opacity: 0.7; }
.chip .km { width: 2px; height: 2px; background: #ecede8; opacity: 0.6; }
.toplist { display: flex; flex-direction: column; }
.toplist > .small { padding-bottom: 8px; }
.toplist button { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 0; border: 0; border-top: 1px solid var(--hair); background: transparent; cursor: pointer; text-align: left; font: 16px var(--sans); color: var(--teal); white-space: nowrap; }
.toplist button .mono { font-size: 14px; color: var(--amber-t); }
.toplist button[aria-pressed="true"] span:first-child { font-weight: 600; }
