
:root{color-scheme:light;--bg:#fafaf8;--surface:#fff;--text:#191919;--text2:#5f5f5f;--line:#e4e4e0;--grid:#ececea;--accent:#1b64be;--accent-ink:#fff;--chip:#eef3fb;
--s1:#257de0;--s2:#f47230;--s3:#00b894;--s4:#f2a600;--s5:#ee7fac;--s6:#008a17;--s7:#6a4ce2;--s8:#ec4647}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){color-scheme:dark;--bg:#141414;--surface:#1d1d1d;--text:#efefef;--text2:#a3a3a3;--line:#333;--grid:#2a2a2a;--accent:#6aabf1;--accent-ink:#0e1b2c;--chip:#1f2a38;
--s1:#338ced;--s2:#e76624;--s3:#00a888;--s4:#d28e05;--s5:#e24d8b;--s6:#0aac23;--s7:#9887ef;--s8:#eb6263}}
:root[data-theme="dark"]{color-scheme:dark;--bg:#141414;--surface:#1d1d1d;--text:#efefef;--text2:#a3a3a3;--line:#333;--grid:#2a2a2a;--accent:#6aabf1;--accent-ink:#0e1b2c;--chip:#1f2a38;
--s1:#338ced;--s2:#e76624;--s3:#00a888;--s4:#d28e05;--s5:#e24d8b;--s6:#0aac23;--s7:#9887ef;--s8:#eb6263}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
a{color:var(--accent)}
.wrap{max-width:960px;margin:0 auto;padding:0 16px}
header.site{border-bottom:1px solid var(--line);background:var(--surface)}
header.site .wrap{display:flex;gap:16px;align-items:center;justify-content:space-between;min-height:56px;flex-wrap:wrap}
.brand{font-weight:700;font-size:18px;color:var(--text);text-decoration:none}
nav a{margin-left:16px;color:var(--text2);text-decoration:none}nav a:hover{color:var(--text)}
main{padding:24px 0 48px}
h1{font-size:28px;line-height:1.2;margin:8px 0 8px}h2{font-size:20px;margin:32px 0 8px}
.muted{color:var(--text2)}.small{font-size:14px}
form.search{display:flex;gap:8px;margin:16px 0}
form.search input{flex:1;min-width:0;font:inherit;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text)}
form.search button{font:inherit;padding:10px 16px;border:0;border-radius:8px;background:var(--accent);color:var(--accent-ink);cursor:pointer}
.card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px;margin:12px 0}
ul.results{list-style:none;padding:0;margin:0}
ul.results li{border-bottom:1px solid var(--line)}
ul.results a{display:flex;justify-content:space-between;gap:12px;padding:12px 4px;text-decoration:none;color:var(--text)}
ul.results .price{white-space:nowrap;font-variant-numeric:tabular-nums}
.table-wrap{overflow-x:auto}
table{width:100%;min-width:640px;border-collapse:collapse;font-variant-numeric:tabular-nums}
table.small{min-width:0}
th,td{text-align:left;padding:8px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:13px;font-weight:600;color:var(--text2)}
td.num,th.num{text-align:right;white-space:nowrap}
.badge{display:inline-block;font-size:12px;padding:1px 8px;border-radius:999px;background:var(--chip);color:var(--text);white-space:nowrap}
details summary{cursor:pointer;color:var(--text2);font-size:14px}
.chart{margin:0}.chart figcaption{font-weight:600;margin-bottom:4px}
.legend{list-style:none;padding:0;margin:0 0 8px;display:flex;flex-wrap:wrap;gap:4px 16px;font-size:14px}
.swatch{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.plot{position:relative;overflow-x:auto}
.chart svg{width:100%;min-width:560px;height:auto;display:block}
.chart .grid{stroke:var(--grid);stroke-width:1}.chart .grid.base{stroke:var(--text2);stroke-dasharray:4 3;opacity:.6}
.chart .axis{fill:var(--text2);font-size:12px}
.chart .line{fill:none;stroke-width:2;stroke-linejoin:round}
.chart .dot{stroke:var(--surface);stroke-width:2}
.chart .promo{fill:var(--surface);stroke-width:2}
.promo-key{display:inline-block;width:10px;height:10px;border-radius:50%;border:2px solid var(--text2);margin-right:6px;vertical-align:-1px}
.year-table td.num,.year-table th.num{white-space:nowrap}
.chart .crosshair{stroke:var(--text2);stroke-width:1;stroke-dasharray:3 3}
.chart .hit{fill:transparent;cursor:crosshair}
.s1{stroke:var(--s1);background:var(--s1)}.dot.s1{fill:var(--s1)}.s2{stroke:var(--s2);background:var(--s2)}.dot.s2{fill:var(--s2)}.s3{stroke:var(--s3);background:var(--s3)}.dot.s3{fill:var(--s3)}.s4{stroke:var(--s4);background:var(--s4)}.dot.s4{fill:var(--s4)}.s5{stroke:var(--s5);background:var(--s5)}.dot.s5{fill:var(--s5)}.s6{stroke:var(--s6);background:var(--s6)}.dot.s6{fill:var(--s6)}.s7{stroke:var(--s7);background:var(--s7)}.dot.s7{fill:var(--s7)}.s8{stroke:var(--s8);background:var(--s8)}.dot.s8{fill:var(--s8)}
.tooltip{position:absolute;pointer-events:none;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:13px;box-shadow:0 4px 16px rgba(0,0,0,.12);white-space:nowrap}
.tooltip b{display:block;margin-bottom:2px}
h2{scroll-margin-top:16px}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin:8px 0 20px}
.tile{display:flex;flex-direction:column;gap:2px;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--text);min-height:76px;justify-content:center}
.tiles .tile{margin-left:0}
.tile:hover{border-color:var(--accent)}
.tile-name{font-weight:600}
.tile-count{font-size:13px;color:var(--text2)}
.pager{display:flex;justify-content:space-between;align-items:center;margin:16px 0}
.trend-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;margin:8px 0 12px}
.trend-card{display:flex;flex-direction:column;gap:4px;padding:12px 14px;background:var(--surface);border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--text)}
.trend-card:hover{border-color:var(--accent)}
.trend-card .chg{font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}
.spark{width:100%;max-width:160px;height:32px;display:block}
.spark path{fill:none;stroke:var(--accent);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.spark-base{stroke:var(--line);stroke-width:1;stroke-dasharray:3 3}
td .spark{width:120px}
footer.site{border-top:1px solid var(--line);padding:24px 0;color:var(--text2);font-size:14px}
footer.site nav a{margin:0 16px 0 0;color:var(--accent);display:inline-block}
.notice{border-left:4px solid var(--accent);background:var(--chip);border-radius:8px;padding:10px 12px;margin:12px 0;font-size:14px}
.unavailable{color:var(--text2)}
a.file{overflow-wrap:anywhere;font-size:13px}
table.kv th{width:34%;font-size:14px}table.kv{min-width:0}
