/* An index entry page: the hero band, the grey page below it, and everything on them. Loaded on those pages only. */
/* the index page: what CoinGecko and CoinMarketCap do well (a table you can sort, filter and keep), in our own colours and soft lines */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 25px; }
.stat-card { background: var(--panel); border-radius: 5px; padding: 20px; }
.chart-row { display: flex; align-items: center; gap: 20px; margin-top: 10px; }
.chart-row .legend2 { margin-top: 0; }
.stat-card svg { width: 100%; height: auto; display: block; margin-top: 10px; overflow: visible; }
.stat-card svg text { font-family: 'Figtree', Helvetica, Arial, sans-serif; font-size: 14px; fill: var(--meta); }
.stat-card svg text.lab { fill: var(--text); }
.stat-card .legend2 { display: grid; gap: 5px; margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--text); }
.stat-card .legend2 i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; }
.stat-card .num { display: block; font-size: 33px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; color: var(--heading); }
.stat-card span.k { font-size: 14px; line-height: 20px; color: var(--meta); }
.finder { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; margin-top: 30px; padding: 25px; background: var(--panel); border-radius: 5px; }
.finder h2 { font-size: 23px; line-height: 30px; }
.stat-card .arc { animation: arcglow 3.6s ease-in-out infinite; }
@keyframes arcglow { 0%, 100% { opacity: 1; stroke-width: 16; } 50% { opacity: 0.55; stroke-width: 19; } }
.stat-card .sqr { transform-box: fill-box; transform-origin: center; animation: sqpulse 3s ease-in-out infinite; }
@keyframes sqpulse { 0%, 55%, 100% { transform: scale(1); opacity: 1; } 25% { transform: scale(0.8); opacity: 0.55; } }
.stat-card .dotp { transform-box: fill-box; transform-origin: center; animation: dotin 0.9s ease-out both, dotbeat 2.4s ease-in-out 0.9s infinite; }
@keyframes dotin { from { transform: translateX(-60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes dotbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.stat-card .halo { transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
@keyframes halo { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stat-card .arc, .stat-card .sqr, .stat-card .dotp, .stat-card .halo { animation: none; } }
.hero { background: var(--bg); border-bottom: 1px solid var(--rule); }
.below { background: var(--panel); padding: 30px 0 50px; }
.below .stat-card, .below .finder, .below .graph, .below .board { background: var(--bg); }
.below .graph-box { background: var(--panel); border-color: var(--rule); }
.below .board { padding: 0 15px; }
.page-head { display: grid; grid-template-columns: auto minmax(0, 440px); justify-content: space-between; align-items: center; gap: 30px 60px; }
.ph-main { width: fit-content; max-width: 100%; }
.ph-main p.stand { width: 0; min-width: 100%; }
.ph-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ph-rows li { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.ph-rows .l { color: var(--text); font-weight: 500; font-size: 16px; line-height: 20px; }
.ph-rows .r { color: var(--meta); font-size: 15px; text-align: right; }
.ph-rows a { color: inherit; text-decoration: none; }
.ph-rows a:hover .r { color: var(--link-hover); }
.ph-icons { display: flex; gap: 5px; }
.ph-icons a { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--rule); border-radius: 5px; color: var(--text); }
.ph-icons a:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 800px) { .page-head { grid-template-columns: minmax(0, 1fr); } }
.finder .row { display: flex; width: fit-content; max-width: 100%; gap: 15px; align-items: flex-end; flex-wrap: wrap; }
.finder .fnote { flex: 0 0 auto; width: 0; min-width: calc(100% - 15px); margin: 0; }
.finder .out { font-size: 16px; line-height: 25px; }
.finder .out b { font-weight: 700; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 25px 0 15px; }
.toolbar #q { flex: 1 1 220px; min-width: 0; }
.toolbar select.field { padding-right: 10px; }
.sr { position: absolute; left: -9999px; }
.count { margin-left: auto; }
.chip { font: 600 14px/20px 'Figtree', Helvetica, Arial, sans-serif; color: var(--text); background: var(--panel); border: 0; border-radius: 5px; padding: 5px 15px; cursor: pointer; }
.chip:hover { color: var(--link-hover); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.field { font: 500 15px/20px 'Figtree', Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); border: 2px solid var(--line); border-radius: 5px; padding: 5px 15px; }
.field:focus { outline: none; border-color: var(--blue); }
.menu { position: relative; }
.menu .pop { position: absolute; right: 0; top: 100%; margin-top: 5px; background: var(--bg); border: 1px solid var(--rule); border-radius: 5px; box-shadow: 0 10px 30px var(--shadow); padding: 10px 15px; z-index: 9; min-width: 190px; }
.menu .pop[hidden] { display: none; }
.menu .pop label { display: flex; gap: 10px; padding: 5px 0; font-size: 15px; line-height: 20px; cursor: pointer; }
.board { overflow-x: auto; border-radius: 5px; }
.board table { min-width: 1040px; border-collapse: separate; border-spacing: 0; width: 100%; }
.board thead th { position: sticky; top: 0; background: var(--bg); z-index: 3; white-space: nowrap; user-select: none; }
.board th button { all: unset; cursor: pointer; font: inherit; color: inherit; }
.board th button:hover { color: var(--link-hover); }
.board th[aria-sort] button::after { content: ""; display: inline-block; margin-left: 5px; border: 4px solid transparent; vertical-align: middle; }
.board th[aria-sort="ascending"] button::after { border-bottom-color: currentColor; border-top: 0; }
.board th[aria-sort="descending"] button::after { border-top-color: currentColor; border-bottom: 0; }
.board td, .board th { padding: 15px 10px; text-align: left; }
.board td.r, .board th.r { text-align: right; }
.board tbody tr:hover td { background: var(--panel); }
.board .sticky { position: sticky; left: 0; background: var(--bg); z-index: 2; }
.board tbody tr:hover td.sticky { background: var(--panel); }
.board td.name b { font-weight: 600; color: var(--heading); display: block; }
.board td.name span { font-size: 14px; line-height: 20px; color: var(--meta); }
/* (the keep stars were removed) */
.star-unused { all: unset; cursor: pointer; width: 20px; height: 20px; display: inline-block; text-align: center; color: var(--line); font-size: 18px; line-height: 20px; }
.star[aria-pressed="true"] { color: var(--yellow); }
.bar { display: block; height: 5px; border-radius: 5px; background: var(--rule-soft); margin-top: 5px; min-width: 70px; }
.bar i { display: block; height: 100%; border-radius: 5px; background: var(--blue); }
.bar.mem i { background: var(--slate); }
.spark { width: 90px; height: 30px; display: block; }
.foot-line { display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; align-items: center; margin: 20px 0 0; }
.pages { display: flex; gap: 5px; }
.pg { font: 600 14px/20px 'Figtree', Helvetica, Arial, sans-serif; color: var(--text); background: var(--panel); border: 0; border-radius: 5px; padding: 5px 12px; cursor: pointer; }
.pg[aria-current="page"] { background: var(--text); color: var(--bg); }
.legend { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 15px; font-size: 14px; line-height: 20px; color: var(--meta); }
.empty { padding: 40px 0; text-align: center; color: var(--meta); }
/* a small drawn tile for each model, in the way coin sites put a logo beside each coin */
  .micon { flex: none; width: 28px; height: 28px; border-radius: 5px; overflow: hidden; display: block; }
.micon svg { width: 100%; height: 100%; display: block; }
.mname { display: flex; align-items: center; gap: 10px; }
.mlogo { flex: none; width: 28px; height: 28px; border-radius: 5px; background: #FFFFFF; border: 1px solid var(--rule-soft); display: flex; align-items: center; justify-content: center; }
.mlogo img { width: 18px; height: 18px; display: block; }
.mname b { font-weight: 600; color: var(--heading); display: block; }
.mname span.sub { font-size: 14px; line-height: 20px; color: var(--meta); display: block; }
.finder-art { position: relative; width: 230px; height: 230px; border-radius: 5px; background-color: var(--blue); background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 35px 35px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.finder-arts { display: flex; flex-wrap: wrap; gap: 15px; justify-self: end; }
.finder-art.red { background-color: var(--red); }
.finder-art > svg { height: 190px; width: 190px; }
.finder .out { margin-top: 20px; font-size: 16px; line-height: 25px; }
.finder .out[hidden] { display: none; }
/* the view switch and the graph */
.seg { display: inline-flex; border-radius: 5px; overflow: hidden; border: 2px solid var(--line); }
.seg button { font: 600 14px/20px 'Figtree', Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); border: 0; padding: 5px 15px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.graph[hidden], .tip[hidden], .board[hidden], .foot-line[hidden], .legend[hidden] { display: none; }
.graph { position: relative; margin-top: 10px; padding: 25px; background: var(--panel); border-radius: 5px; }
.graph-head h2 { font-size: 23px; line-height: 30px; }
.graph-head p { margin-top: 5px; max-width: 640px; }
.graph-box { position: relative; margin-top: 15px; height: 540px; overflow: hidden; border-radius: 5px; background: var(--bg); border: 1px solid var(--rule-soft); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.graph-box:active { cursor: grabbing; }
.graph-box svg { width: 100%; height: 100%; display: block; }
.zoom { position: absolute; right: 10px; top: 10px; z-index: 2; display: flex; flex-direction: column; gap: 5px; }
.zoom button { width: 34px; height: 34px; border-radius: 5px; border: 2px solid var(--line); background: var(--bg); color: var(--text); font: 600 15px/1 'Figtree', Helvetica, Arial, sans-serif; cursor: pointer; }
.zoom button:hover { border-color: var(--blue); }
.graph-box .edge { vector-effect: non-scaling-stroke; }
.graph-box .halo { pointer-events: none; }
.graph-box .dot { pointer-events: none; transition: opacity 0.25s; }
.graph-box.hl .dot { opacity: 0.1; }
.graph-box.hl .dot.on { opacity: 1; }
.graph-box svg text { font-family: 'Figtree', Helvetica, Arial, sans-serif; font-size: 14px; fill: var(--meta); }
.graph-box .nd { cursor: pointer; outline: none; transition: opacity 0.25s; }
.graph-box .edge { transition: opacity 0.25s, stroke 0.25s; }
.graph-box.hl .edge { opacity: 0.1; }
.graph-box.hl .edge.on { opacity: 1; }
.graph-box.hl .nd { opacity: 0.3; }
.graph-box.hl .nd.on { opacity: 1; }
.graph-box .nd:hover circle.body, .graph-box .nd:focus circle.body { stroke-width: 4; }
.graph-box .nlab { font-size: 14px; fill: var(--text); }
.graph-box .mlab { font-size: 14px; fill: var(--meta); }
.graph-legend { display: flex; flex-wrap: wrap; gap: 5px 25px; margin-top: 10px; }
.graph-legend div { display: flex; align-items: center; }
.graph-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; }
.tip div { font-size: 14px; line-height: 20px; }
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--bg); color: var(--text); border: 1px solid var(--rule); border-radius: 5px; box-shadow: 0 10px 30px var(--shadow); padding: 10px 15px; font-size: 14px; line-height: 20px; min-width: 190px; }
.tip b { font-weight: 700; display: block; color: var(--heading); }
.tip .num { font-weight: 600; }
@media (max-width: 900px) { .stat-cards { grid-template-columns: 1fr 1fr; } .finder { grid-template-columns: 1fr; } .toolbar { position: static; } }

.crumb { font-size: 14px; line-height: 20px; color: var(--meta); }
.crumb a { color: var(--meta); text-decoration: none; } .crumb a:hover { color: var(--link-hover); }
.ph-main { max-width: 560px; }
.ph-main p.stand { text-wrap: balance; }
.ph-main h1 { margin-top: 15px; font-size: 38px; line-height: 45px; }
.ph-meta { display: grid; gap: 15px; margin-top: 25px; }
.ph-meta .line { display: flex; align-items: center; gap: 10px; min-height: 28px; font-size: 15px; line-height: 20px; color: var(--meta); }
.ph-meta .tics img { margin-right: 2px; }
.stamp2 { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--meta); }
.maker { display: inline-flex; align-items: center; gap: 8px; }
.figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.fig { background: var(--bg); border-radius: 5px; padding: 20px; }
.fig .k { display: block; font-size: 14px; line-height: 20px; color: var(--meta); }
.fig .big { display: block; margin-top: 10px; font: 700 38px/45px 'Inter', 'Figtree', sans-serif; letter-spacing: -0.02em; color: var(--heading); }
.fig .big small { font-size: 16px; font-weight: 500; color: var(--meta); letter-spacing: 0; margin-left: 5px; }
.fig .sub { display: block; margin-top: 5px; font-size: 14px; line-height: 20px; color: var(--meta); }
.fig .bar { margin-top: 15px; height: 6px; border-radius: 1px; background: var(--rule-soft); overflow: hidden; }
.fig .bar i { display: block; height: 100%; width: 0; border-radius: 1px; background: var(--blue); transition: width 1.2s var(--ease-soft); }
.tics { display: inline-flex; gap: 3px; vertical-align: middle; }
.tics img { margin: 0 !important; display: block; }
.fig .tics { display: flex; margin-top: 15px; }
.panel { background: var(--bg); border-radius: 5px; padding: 25px; margin-top: 15px; }
.panel h2 { font-size: 23px; line-height: 30px; }
.panel .lede { margin-top: 5px; max-width: 640px; color: var(--meta); }
.two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 15px; margin-top: 15px; }
.two .panel { margin-top: 0; }
.runs { position: relative; margin-top: 15px; }
.runs svg { width: 100%; height: auto; display: block; overflow: visible; }
.runs text { font: 500 14px 'Figtree', sans-serif; fill: var(--meta); }
.runs .ln { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: drawln 1.6s ease-out 0.2s forwards; }
@keyframes drawln { to { stroke-dashoffset: 0; } }
.runs .pt { fill: var(--bg); stroke: var(--blue); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; opacity: 0; animation: ptin 0.4s ease-out forwards; cursor: pointer; }
@keyframes ptin { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: none; } }
.runs .pt:hover, .runs .pt.on { fill: var(--blue); }
.runs .halo { fill: none; stroke: var(--yellow); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: halo 2.4s ease-out infinite; }
@keyframes halo { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3); opacity: 0; } }
.runs .claim { stroke: var(--meta); stroke-dasharray: 4 5; }
.rtip { position: absolute; z-index: 2; pointer-events: none; background: var(--bg); border: 1px solid var(--rule); border-radius: 5px; padding: 10px 15px; font-size: 14px; line-height: 20px; box-shadow: 0 5px 15px var(--shadow); white-space: nowrap; }
.rtip[hidden] { display: none; }
.rtip b { display: block; color: var(--heading); }
.sumline { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 15px; font-size: 14px; line-height: 20px; color: var(--meta); }
.sumline b { color: var(--text); font-weight: 600; }
.pair { margin-top: 20px; }
.pair .t { display: flex; justify-content: space-between; font-size: 14px; line-height: 20px; }
.pair .t b { color: var(--heading); font-weight: 600; }
.pair .row2 { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; color: var(--meta); }
.pair .row2 .v { text-align: right; color: var(--text); font-weight: 600; }
.pair .track { height: 10px; border-radius: 1px; background: var(--rule-soft); overflow: hidden; }
.pair .track i { display: block; height: 100%; width: 0; border-radius: 1px; transition: width 1.2s var(--ease-soft); }
.pair .track i.m { background: var(--rule); } .pair .track i.o { background: var(--blue); }
.pair .note { margin-top: 10px; font-size: 14px; color: var(--meta); }
.setup { width: 100%; min-width: 0; border-collapse: collapse; margin-top: 15px; }
.setup th, .setup td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15px; line-height: 20px; vertical-align: top; }
.setup th { width: 42%; font-weight: 500; color: var(--meta); padding-right: 15px; }
.setup tr:last-child th, .setup tr:last-child td { border-bottom: 0; }
.code { position: relative; margin-top: 15px; background: var(--panel); border-radius: 5px; padding: 15px 20px; font: 400 14px/25px ui-monospace, 'SF Mono', Menlo, monospace; color: var(--text); overflow-x: auto; white-space: pre; }
.copy { position: absolute; top: 10px; right: 10px; font: 600 14px/20px 'Figtree', sans-serif; border: 1px solid var(--rule); background: var(--bg); color: var(--text); border-radius: 5px; padding: 5px 10px; cursor: pointer; }
.copy:hover { border-color: var(--blue); color: var(--blue); }
.mini { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; margin-top: 10px; }
.mini th.n { width: 88px; }
.mini th.n:last-child { width: 108px; }
.mini td { overflow-wrap: anywhere; }
.two .panel { min-width: 0; }
.mini th, .mini td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15px; line-height: 20px; }
.mini th { font-size: 14px; font-weight: 500; color: var(--meta); }
.mini td.n, .mini th.n { text-align: right; }
.mini tr:last-child td { border-bottom: 0; }
.mini a { color: var(--text); text-decoration: none; font-weight: 500; } .mini a:hover { color: var(--link-hover); }
.mini .num { font-family: 'Inter', sans-serif; font-weight: 600; }
.mini .tics img { margin-right: 2px; }
.prose { max-width: 720px; margin-top: 15px; }
.prose p + p { margin-top: 15px; }
.nextrow { display: flex; justify-content: space-between; gap: 15px; margin-top: 15px; }
.nextrow a { flex: 1; background: var(--bg); border-radius: 5px; padding: 20px; text-decoration: none; color: var(--text); }
.nextrow a .txt { display: block; }
.nextrow a small { display: block; font-size: 14px; color: var(--meta); }
.nextrow a b { display: block; margin-top: 5px; color: var(--heading); font-size: 18px; line-height: 25px; }
.nextrow a:hover b { color: var(--link-hover); }
.nextrow a { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nextrow a.r { text-align: right; }
.nextrow .nx { flex: none; display: block; }
.nextrow .nx.art { width: 110px; height: 77px; border-radius: 5px; background: var(--blue); overflow: hidden; }
.nextrow .nx.art svg { width: 100%; height: 100%; display: block; }
.nextrow .sqr { transform-box: fill-box; transform-origin: center; animation: sqpulse 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .nextrow .sqr { animation: none; } }
@media (max-width: 900px) { .figs { grid-template-columns: 1fr 1fr; } .two { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .runs .ln { animation: none; stroke-dashoffset: 0; } .runs .pt { animation: none; opacity: 1; } .runs .halo { animation: none; opacity: 0; } .fig .bar i, .pair .track i { transition: none; } }

.tabs { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--rule-soft); margin-bottom: 20px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 0 0 12px; color: var(--meta); text-decoration: none; font-weight: 500; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--heading); border-bottom-color: var(--blue); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 15px; align-items: start; }
.rail { order: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; align-content: start; min-width: 0; }
.acards { display: grid; gap: 15px; }
.acards h2 { font-size: 19px; line-height: 25px; padding: 10px 0 0; }
.acard { display: block; background: var(--bg); border-radius: 5px; padding: 15px; text-decoration: none; color: var(--text); }
.acard .cover { display: block; aspect-ratio: 17 / 10; }
.acard .kicker { display: block; margin-top: 15px; }
.acard h3 { font-size: 19px; line-height: 25px; margin-top: 5px; color: var(--heading); }
.acard .meta { display: block; margin-top: 10px; }
.acard:hover h3 { color: var(--link-hover); }
.side { background: var(--bg); border-radius: 5px; padding: 20px; }
.side .k { font-size: 14px; line-height: 20px; color: var(--meta); }
.side .hero-fig { display: block; margin-top: 5px; font: 700 44px/50px 'Inter', 'Figtree', sans-serif; letter-spacing: -0.02em; color: var(--heading); }
.side .hero-fig small { font-size: 18px; font-weight: 500; color: var(--meta); margin-left: 5px; letter-spacing: 0; }
.side .chg { font-size: 14px; line-height: 20px; color: var(--blue); font-weight: 600; margin-top: 5px; }
.rbar { margin-top: 20px; }
.rbar .tr { position: relative; height: 8px; border-radius: 1px; background: var(--rule-soft); }
.rbar .tr i { position: absolute; top: -4px; width: 4px; height: 16px; border-radius: 1px; background: var(--blue); left: 0; transition: left 1.2s var(--ease-soft); }
.rbar .tr b { position: absolute; top: -3px; width: 14px; height: 14px; border-radius: 2px; background: var(--yellow); border: 2px solid var(--bg); margin-left: -7px; left: 0; transition: left 1.2s var(--ease-soft); }
.rbar .ends { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--meta); }
.facts { margin-top: 20px; border-top: 1px solid var(--rule-soft); }
.facts div { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15px; line-height: 20px; }
.facts dt { color: var(--meta); } .facts dd { color: var(--text); font-weight: 600; text-align: right; }
.facts .tics img { margin: 0 !important; }
.fitbox { margin-top: 20px; background: var(--panel); border-radius: 5px; padding: 20px; }
.fitbox h3 { font-size: 17px; line-height: 25px; color: var(--heading); }
.fitbox .frow { display: flex; gap: 10px; margin-top: 10px; }
.fitbox input { flex: 1; min-width: 0; font: inherit; border: 2px solid var(--rule); border-radius: 5px; padding: 8px 12px; background: var(--bg); color: var(--text); }
.fitbox input:focus { outline: none; border-color: var(--blue); }
.fitbox .res { margin-top: 10px; font-size: 15px; line-height: 20px; min-height: 20px; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.links a { border: 1px solid var(--rule); border-radius: 5px; padding: 5px 12px; font-size: 14px; color: var(--text); text-decoration: none; }
.links a:hover { border-color: var(--blue); color: var(--blue); }
.main2 > .panel:first-child { margin-top: 0; }
.ctrl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 15px; }
.seg2 { display: inline-flex; border: 1px solid var(--rule); border-radius: 5px; overflow: hidden; }
.seg2 button { font: 600 14px/20px 'Figtree', sans-serif; padding: 7px 14px; border: 0; background: var(--bg); color: var(--text); cursor: pointer; }
.seg2 button + button { border-left: 1px solid var(--rule); }
.seg2 button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.ctrl select { font: 500 14px/20px 'Figtree', sans-serif; border: 1px solid var(--rule); border-radius: 5px; padding: 7px 12px; background: var(--bg); color: var(--text); }
.ctrl .sp { flex: 1; }
.legendc { display: flex; gap: 20px; margin-top: 10px; font-size: 14px; color: var(--meta); }
.legendc i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 8px; }
.runs .ln2 { fill: none; stroke: var(--slate); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 6 5; }
.runs .hot { fill: var(--bg); stroke: var(--blue); stroke-width: 3; pointer-events: none; }
.runs .hit { fill: transparent; cursor: crosshair; }
.chg-t { width: 100%; min-width: 0; border-collapse: collapse; margin-top: 10px; }
.chg-t th, .chg-t td { padding: 12px 0; border-bottom: 1px solid var(--rule-soft); text-align: right; font-size: 15px; }
.chg-t th:first-child, .chg-t td:first-child { text-align: left; font-weight: 500; }
.chg-t thead th { font-size: 14px; font-weight: 500; color: var(--meta); }
.chg-t tr:last-child td { border-bottom: 0; }
.chg-t .num { font-family: 'Inter', sans-serif; font-weight: 600; }
.vote .vb { display: flex; height: 12px; border-radius: 1px; overflow: hidden; margin-top: 15px; background: var(--rule-soft); }
.vote .vb i { display: block; height: 100%; transition: width 0.8s var(--ease-soft); }
.vote .vb .y { background: var(--blue); } .vote .vb .n { background: var(--slate); opacity: 0.55; }
.vote .vl { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; color: var(--meta); }
.vote .vl b { color: var(--text); }
.vote .vbtn { display: flex; gap: 10px; margin-top: 15px; }
.vote .vbtn button { font: 600 14px/20px 'Figtree', sans-serif; padding: 8px 18px; border: 2px solid var(--rule); border-radius: 5px; background: var(--bg); color: var(--text); cursor: pointer; }
.vote .vbtn button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.vote .vbtn button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-95); color: var(--blue); }
.vote .vbtn button:disabled { cursor: default; opacity: 0.8; }
.about h3 { font-size: 18px; line-height: 25px; color: var(--heading); margin-top: 25px; }
.about .q h3 { margin-top: 0; }
.fold { margin-top: 15px; }
.about p { margin-top: 10px; }
.fold { display: block; }
.fold .q + .q { margin-top: 30px; }
.fold { position: relative; }
.fold.js { max-height: 300px; overflow: hidden; transition: max-height 0.6s var(--ease-soft); }
.fold.js::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--bg) 90%); transition: opacity 0.3s; }
:root[data-theme="dark"] .fold.js::after { background: linear-gradient(to bottom, rgba(18,18,18,0), var(--bg) 90%); }
.fold.open { overflow: visible; }
.fold.open::after { opacity: 0; }
.more { display: block; margin: 15px auto 0; font: 600 15px/20px 'Figtree', sans-serif; color: var(--text); background: var(--bg); border: 2px solid var(--text); border-radius: 5px; padding: 8px 25px; cursor: pointer; }
.more:hover { border-color: var(--blue); color: var(--blue); }
.more[hidden] { display: none; }
@media (max-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr); } .rail { order: 0; } }
.below { padding-bottom: 80px; }
.foot { margin-top: 0; background: var(--bg); border-top: 1px solid var(--rule); padding-top: 60px; }

/* what the browser draws once scripts run */
[data-rich][hidden] { display: none; }
.ph-rows button.cite { all: unset; cursor: pointer; color: var(--meta); font-size: 15px; }
.ph-rows button.cite:hover { color: var(--link-hover); }
.ph-rows button.cite[hidden] { display: none; }
.acard { display: block; }
.acard h3 a { color: inherit; text-decoration: none; }
.acard h3 a:hover { color: var(--link-hover); }
.runs-all { margin-top: 20px; }
.runs-all summary { cursor: pointer; font-weight: 600; color: var(--heading); }
.runs-plain { width: 100%; min-width: 0; border-collapse: collapse; margin-top: 10px; }
.runs-plain th, .runs-plain td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15px; }
.runs-plain th { font-size: 14px; font-weight: 500; color: var(--meta); }
.runs-plain .n { text-align: right; }
.about h2 { font-size: 23px; line-height: 30px; }
.about .fold h2, .about .fold h3 { font-size: 18px; line-height: 25px; color: var(--heading); margin-top: 25px; }
.about .fold > :first-child { margin-top: 15px; }
.about .fold h2:first-child, .about .fold h3:first-child { margin-top: 15px; }
.about .fold p { margin-top: 10px; }
/* run it yourself, inside the set up panel; the note under the match vote */
.run-h { font-size: 18px; line-height: 25px; color: var(--heading); margin-top: 30px; }
.vote #vNote { margin-top: 10px; min-height: 0; }
.vote #vNote:empty { display: none; }
