:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",Arial,sans-serif;background:#0d0f10;color:#f4f5f6;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#111416,#090a0b);min-height:100vh;padding-bottom:88px}
header{height:62px;padding:env(safe-area-inset-top) 18px 0;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:#111416ee;backdrop-filter:blur(14px);z-index:5}
.brand{font-weight:800;letter-spacing:1.8px}.icon{border:1px solid #303538;background:#191d20;color:white;border-radius:12px;font-size:24px;width:42px;height:42px}
main{max-width:760px;margin:auto;padding:16px}
.hero{padding:28px 4px 24px}.eyebrow{font-size:12px;color:#9da5a9;letter-spacing:1px;font-weight:700}.price{font-size:52px;line-height:1.05;font-weight:800;margin-top:14px;letter-spacing:-2px}.unit{color:#aeb5b8;margin-top:5px}.muted{color:#777f84;font-size:12px;margin-top:9px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.card,.panel{background:#15191b;border:1px solid #252a2d;border-radius:18px}.card{padding:15px 12px}.card span{display:block;font-size:10px;color:#858e92;font-weight:800;letter-spacing:1px}.card strong{display:block;font-size:20px;margin-top:8px}.card small{font-size:10px;color:#747d81}
.panel{margin-top:14px;padding:16px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px}h2{font-size:17px;margin:0}.ranges{display:flex;gap:5px}.ranges button{border:0;background:#202527;color:#899196;padding:7px 9px;border-radius:9px;font-size:11px;font-weight:700}.ranges .active{background:#e9ecec;color:#111}
.chart{height:240px;margin-top:14px;overflow:hidden}.chart svg{width:100%;height:100%}.legend{font-size:10px;color:#858d91;margin-top:6px}.legend i{display:inline-block;width:9px;height:3px;background:#9ba1a4;border-radius:4px;margin-right:3px}.legend i:nth-child(2){background:#f2f3f3}.legend i:nth-child(3){background:#666e72}
.source p{font-size:12px;line-height:1.5;color:#a4abad}
nav{position:fixed;bottom:0;left:0;right:0;padding:8px max(14px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));display:flex;justify-content:center;gap:8px;background:#111416ee;backdrop-filter:blur(16px);border-top:1px solid #24282a;z-index:6}
nav button{flex:1;max-width:150px;background:none;border:0;color:#7f888d;padding:10px;border-radius:12px;font-weight:700}.navactive{background:#222729;color:#fff}
@media(max-width:390px){.price{font-size:44px}.grid{gap:7px}.card{padding:13px 8px}.card strong{font-size:17px}.ranges button{padding:6px 7px}}
