:root{color-scheme:dark;--bg:#0c1018;--panel:#141a25;--line:#263042;--muted:#a0adc2;--text:#f0f4fb;--mint:#5ce6bd;--red:#ff8597;font-family:Inter,system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 35% 0,#162433 0,transparent 46rem),var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}button,input,select{font:inherit;color:inherit}button,select{cursor:pointer}button,input,select{background:#101621;border:1px solid var(--line);border-radius:8px;padding:.55rem .8rem}button:hover,a:hover{color:var(--mint)}:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.shell{width:min(1320px,calc(100% - 64px));margin:auto}header{border-bottom:1px solid var(--line);background:#0c111ad9}.top{min-height:67px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:1.3rem;font-weight:800;white-space:nowrap}.brand b{color:var(--mint);font-size:1.55rem}.brand small,.currency,.eyebrow{font:700 .8rem "IBM Plex Mono",monospace;letter-spacing:.09em;color:var(--mint)}.brand small{margin-left:.35rem}.top nav{display:flex;gap:2rem;color:var(--muted);font-size:.93rem}.currency{border:1px solid var(--line);border-radius:6px;padding:.4rem .65rem}.intro,.section-head,.chart-head,.feed,.filters{display:flex;align-items:center;justify-content:space-between;gap:1rem}.intro{padding:2.8rem 0 1.5rem}h1,h2,p{margin:0}h1{font-size:clamp(2rem,4vw,3.3rem);letter-spacing:-.035em}h2{font-size:1.35rem}p{line-height:1.65}.intro p,.section-head p,.muted{color:var(--muted)}.intro p,.section-head p{margin-top:.4rem}.feed{font-size:.88rem;color:var(--muted)}.feed button{white-space:nowrap}.summary,.lessons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.panel,.tile,details{background:var(--panel);border:1px solid var(--line);border-radius:13px}.tile{text-align:left;padding:1rem 1.1rem;min-width:0}.asset{display:inline-flex;align-items:center;gap:.6rem}.token{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;font-weight:800;font-size:.9rem;background:var(--token-bg);color:var(--token-fg);flex:none}.asset small{color:var(--muted);font-size:.8rem}.tile strong{display:block;margin:.65rem 0 .3rem;font-size:clamp(1rem,2vw,1.4rem);color:var(--text)}.up{color:var(--mint)}.down{color:var(--red)}.mono,.quote,td:not(:nth-child(2)),dd{font-family:"IBM Plex Mono",Consolas,monospace;font-variant-numeric:tabular-nums}.analysis{display:grid;grid-template-columns:minmax(0,2.7fr) minmax(270px,1fr);gap:16px;margin:16px 0}.chart,.insight{padding:1.25rem}.eyebrow{margin-bottom:.35rem}.periods{display:flex;gap:.35rem}.periods button{font-size:.8rem;padding:.4rem .58rem}.periods button[aria-pressed=true],#favorites[aria-pressed=true]{background:#193c37;color:var(--mint);border-color:#35645b}.quote{margin:.65rem 0 .3rem;font-size:1.55rem;font-weight:700}.quote span{font-size:.9rem;margin-left:.45rem}.muted{font-size:.83rem}.plot{height:270px;position:relative;margin-top:.45rem}canvas{width:100%;height:100%;display:block}#tooltip{position:absolute;pointer-events:none;top:.5rem;left:.5rem;background:#0c121c;border:1px solid var(--line);padding:.45rem .65rem;border-radius:6px;font-size:.8rem;line-height:1.6}dl{margin:1rem 0}dl div{display:flex;justify-content:space-between;gap:.5rem;padding:.63rem 0;border-bottom:1px solid var(--line);font-size:.88rem}dt{color:var(--muted)}dd{margin:0;text-align:right}.insight label{display:block;margin-bottom:.45rem;font-size:.9rem}.insight select{width:100%;margin-bottom:.5rem}.markets{padding:1.2rem}.table-wrap{overflow:auto;margin-top:1rem}table{border-collapse:collapse;width:100%;white-space:nowrap}th,td{text-align:right;padding:.65rem;border-bottom:1px solid var(--line);font-size:.91rem}th{font-weight:500;color:var(--muted)}th:first-child,td:first-child{text-align:center}th:nth-child(2),td:nth-child(2){text-align:left}th button,.coin-button,.star{border:0;background:none;padding:.3rem .15rem}.star{font-size:1.2rem;color:var(--muted)}.star[aria-pressed=true]{color:#ffd078}tbody tr:hover{background:#1b2432}tbody tr:last-child td{border-bottom:0}#learn{padding:2.2rem 0}.lessons{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:1rem}details{padding:1rem}summary{cursor:pointer;font-weight:700}details p{margin-top:.65rem;color:var(--muted);font-size:.95rem}footer{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0 1.5rem;border-top:1px solid var(--line);color:var(--muted);font-size:.85rem}footer a{text-decoration:underline}
@media(max-width:850px){.shell{width:calc(100% - 32px)}.analysis{grid-template-columns:1fr}.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.lessons{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.top{flex-wrap:wrap;justify-content:space-between;padding:.65rem 0;gap:.6rem}.top nav{order:3;width:100%;justify-content:space-between;gap:.5rem}.intro,.section-head,footer{align-items:flex-start;flex-direction:column}.intro{padding-top:1.6rem}.filters{flex-wrap:wrap;width:100%}.filters input{flex:1;min-width:9rem}.chart,.insight,.markets{padding:.85rem}.chart-head{align-items:flex-start;flex-wrap:wrap;gap:.5rem}.plot{height:230px}.lessons{grid-template-columns:1fr}.brand small{font-size:.7rem}}

#embeds{margin-bottom:1.5rem}
#embeds h2:not(:first-child){margin-top:1.5rem}
#embeds iframe{display:block;width:100%;height:clamp(280px,55vw,540px);margin-top:.75rem;border:1px solid var(--line);border-radius:8px;background:#101621}
.settings{width:min(720px,calc(100% - 32px));padding:2rem 0}
.settings form{display:grid;gap:1rem;margin-top:1rem}
.settings label{display:grid;gap:.35rem;margin:.8rem 0 .25rem}
.settings input{width:100%;min-width:0}
.settings fieldset{margin:1rem 0;padding:.8rem;border:1px solid var(--line);border-radius:8px}
.settings h2+.muted{margin:.5rem 0}
.settings #save{justify-self:start}
.settings button:disabled{opacity:.5;cursor:default}
