:root{color-scheme:light;--ink:#192936;--muted:#60717c;--line:#e1e8ed;--blue:#116bdf;--green:#13795d;--red:#b53952;--amber:#916018}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding:22px}
body{margin:0;background:#f4f7f9;color:var(--ink);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-variant-numeric:tabular-nums;word-break:keep-all}
header{background:white;border-bottom:1px solid var(--line)}
main,.bar-inner{width:min(1220px,100%);margin:auto;padding:0 clamp(16px,3.4vw,50px)}
.bar-inner,.heading,.asset,.statuses,.brand,nav,.row,.split,.legend{display:flex;align-items:center}
.bar-inner{min-height:66px;justify-content:space-between;gap:14px}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
/* wngrd Onchain wordmark */
.brand img{display:block;width:clamp(115px,30vw,160px);height:auto}
nav{gap:25px}nav a{color:#455663;font-size:14px;font-weight:650}
.heading{justify-content:space-between;flex-wrap:wrap;gap:16px;padding:34px 0 22px}.asset{gap:14px}
.asset-mark{display:grid;place-items:center;width:56px;height:56px;border-radius:19px;background:#caefdc;color:#146548;font-size:34px;font-weight:800}
h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1.5px;line-height:1.2}
.asset p{color:var(--muted);font-size:14px;margin-top:3px}.asset p span{padding:0 3px}
.statuses,.row,.legend{gap:10px;flex-wrap:wrap}
.pill{font-size:13px;font-weight:650;background:white;padding:4px 9px;border-radius:16px;border:1px solid var(--line)}
.pill:before,.legend span:before,#rebound p:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:6px;vertical-align:middle}
.green{color:var(--green)}.red{color:var(--red)}.amber{color:var(--amber)}
.overview-grid,.two{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:18px;margin-bottom:18px}
.panel{background:white;border:1px solid var(--line);border-radius:20px;padding:clamp(17px,2.2vw,28px);min-width:0}
main>.panel{margin:18px 0}
h2{font-size:19px;letter-spacing:-.75px;margin-bottom:16px}h3{font-size:15px}
.split{justify-content:space-between;gap:12px}.split h2{margin:0}
.unit,.label,small,.muted,.meta,footer{color:var(--muted)}.unit{font-size:13px;font-weight:650}
.tile .value{display:block;font-size:23px;font-weight:720;letter-spacing:-.9px;line-height:1.35}
.label{font-size:14px;font-weight:600}small,.muted,.meta,footer{font-size:13px}.tile small{display:block;margin-top:2px}
.quote{margin:16px 0}.quote .value{font-size:42px;letter-spacing:-2px}
.legend{gap:14px;font-size:13px;color:var(--muted);margin-bottom:7px}
.legend span:before{background:var(--blue)}.legend span:nth-child(2):before{background:#7965c9}.legend span:nth-child(3):before{background:#a86a16}.legend span:nth-child(4):before{background:#c44f65}
canvas{display:block;width:100%;height:185px}
.small-grid,.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.small-grid{border-top:1px solid var(--line);padding-top:16px;margin-top:12px}
.small-grid .value{font-size:20px}
.health{background:#f1f6fa;border-radius:13px;padding:15px 18px;margin-bottom:12px}.health .value{font-size:32px}
.stat-list .tile{display:grid;grid-template-columns:1fr auto;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}
.stat-list small{grid-column:1/-1;text-align:right}.stat-list .value{font-size:20px}
.progress{margin-top:16px}#progress{font-weight:750;color:var(--blue)}.bar{height:6px;border-radius:9px;background:#eaf0f5;overflow:hidden;margin:8px 0}.bar>div{width:0;height:100%;background:#4e86c6}
.meta{margin-top:-5px;gap:16px}
details{margin-top:12px}summary{cursor:pointer;width:fit-content;padding:5px 0;font-size:14px;font-weight:650}.settings-body{background:white;border-radius:14px;padding:18px;margin:8px 0}
input,select,button{font:inherit;color:var(--ink);border:1px solid #ccd7df;background:white;padding:8px 12px;border-radius:9px}
input{flex:1;min-width:120px}button{cursor:pointer}button:hover{background:#ecf3fa}#start{background:#175fc0;color:white}
.metric-grid .tile{padding:13px 15px;background:#f6f8fa;border-radius:12px}
#rebound p{font-size:14px;margin:7px 0}#rebound+.muted,.settings-body p,.scroll+.muted,.sources p{margin-top:12px}
.scroll{overflow:auto;max-height:360px}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:14px}th,td{text-align:right;padding:10px 8px;border-bottom:1px solid var(--line)}th{font-weight:600;color:var(--muted);background:#f6f8fa;position:sticky;top:0}td:first-child,th:first-child{text-align:left}
.sources a{background:#edf5ff;padding:5px 10px;border-radius:8px;font-size:14px}#raw,footer{overflow-wrap:anywhere}footer{padding:0 0 30px}
@media(max-width:800px){.overview-grid,.two{grid-template-columns:1fr}.heading{padding-top:24px}.panel{border-radius:16px}}
@media(max-width:520px){.bar-inner{min-height:54px;flex-wrap:wrap;padding-block:6px}nav{gap:12px}nav a{font-size:13px}.heading{gap:12px}.statuses{gap:6px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.small-grid{gap:7px}.small-grid .value{font-size:clamp(15px,4vw,20px)}.small-grid .label{font-size:13px}.metric-grid .value{font-size:19px}.metric-grid .tile{padding:9px}.quote .value{font-size:36px}.meta{gap:5px 12px}.asset-mark{width:46px;height:46px}.settings-body input{width:100%}.settings-body label:first-child{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
