/* KRYPTA ETF design refresh — uses theme variables to support light and dark. */
.krypta-etf-hub{--ketf-border:var(--line,#e2e8f0);--ketf-card:var(--paper,#fff);--ketf-muted:var(--muted,#64748b);--ketf-accent:var(--lime,#b9ff66);padding-block:40px 90px}
.krypta-etf-hub__inner{max-width:1280px}.krypta-etf-hub h1{font-size:clamp(2.45rem,5.1vw,4.25rem);letter-spacing:-.065em;line-height:1.07;margin-bottom:22px}
.ketf-eyebrow{font-size:.74rem;font-weight:850;color:var(--ketf-muted);letter-spacing:.12em;text-transform:uppercase}
.ketf-hub-lead{max-width:850px}.ketf-hub-lead p{font-size:clamp(1rem,1.5vw,1.22rem);line-height:1.7;color:var(--ketf-muted)}
.ketf-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:34px 0 58px}
.ketf-overview-card{background:var(--ketf-card);border:1px solid var(--ketf-border);border-radius:20px;padding:25px 30px;display:flex;flex-direction:column;gap:6px;min-height:185px;box-shadow:0 8px 28px #10182007}
.ketf-overview-card--accent{background:var(--ketf-accent);color:#101820;border-color:transparent}.ketf-overview-card span{font-weight:650;font-size:.94rem}
.ketf-overview-card strong{font-size:clamp(2.8rem,4.5vw,4.4rem);letter-spacing:-.08em;line-height:1.1;font-variant-numeric:tabular-nums}.ketf-overview-card small{font-size:.84rem;opacity:.75}
.ketf-market-title{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:23px}
.ketf-market-title h2{margin:5px 0 0;font-size:clamp(1.5rem,3vw,2.2rem)}.ketf-market-title p{color:var(--ketf-muted)}
.ketf-market-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:18px}
.krypta-etf-hub a.ketf-market-card{text-decoration:none;background:var(--ketf-card);color:var(--text);border:1px solid var(--ketf-border);border-radius:20px;padding:27px;display:flex;flex-direction:column;gap:23px;min-height:280px;transition:border-color .2s,transform .2s,box-shadow .2s}
.ketf-market-card:hover{transform:translateY(-4px);border-color:#77a953;box-shadow:0 15px 35px #11192212}
.ketf-market-card__top{display:flex;gap:12px;align-items:center}.ketf-market-card__icon{display:grid;place-items:center;width:48px;height:48px;background:var(--ketf-accent);color:#101820;border-radius:14px;font-size:28px;font-weight:800}.ketf-market-card__label{font-size:.74rem;color:var(--ketf-muted);font-weight:800;letter-spacing:.08em}.ketf-market-card>strong{font-size:1.5rem;line-height:1.2;letter-spacing:-.035em}
.ketf-market-card__metrics{display:flex;gap:20px;color:var(--ketf-muted);font-size:.89rem}.ketf-market-card__metrics b{color:var(--text);font-size:1.15rem}
.ketf-market-card__bottom{border-top:1px solid var(--ketf-border);padding-top:15px;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:auto;font-size:.83rem;font-weight:750}.ketf-market-card__bottom small{color:var(--ketf-muted);font-weight:500}
.ketf-fund{display:flex;align-items:center;gap:18px;min-width:260px}.ketf-ticker{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:11px}.ketf-fund-name{display:flex;flex-direction:column;gap:4px;line-height:1.32;min-width:0}.ketf-fund-name a.ketf-fund-link{text-decoration:none;font-weight:760}.ketf-fund-name a.ketf-fund-link:hover{text-decoration:underline}.ketf-fund-name small{display:block;font-weight:500}
.ketf-panel{border-radius:20px;padding:clamp(18px,3vw,32px);box-shadow:0 3px 20px #10182006}.ketf-stat{border-radius:18px;box-shadow:0 3px 14px #10182007}
.ketf-history{min-width:0;position:relative}.ketf-history>h2,.ketf-history .ketf-section-title h2{font-size:clamp(1.3rem,2.2vw,1.85rem);letter-spacing:-.035em}
.ketf-period{display:flex;align-items:center;gap:12px;margin:16px 0 12px;color:var(--ketf-muted);font-weight:700}.ketf-period-tabs{display:inline-flex;gap:4px;background:var(--bg);padding:5px;border:1px solid var(--ketf-border);border-radius:12px}
.ketf-period-tabs button{border:0;background:transparent;color:var(--ketf-muted);border-radius:8px;padding:8px 15px;font:inherit;font-size:.83rem;font-weight:800;cursor:pointer}.ketf-period-tabs button[aria-pressed="true"]{background:var(--ketf-accent);color:#101820;box-shadow:0 2px 7px #1112}.ketf-period-tabs button:focus-visible{outline:2px solid #77ac40;outline-offset:2px}
.ketf-chart{position:relative;overflow:visible;margin:20px 0 5px}.ketf-chart svg{max-height:none;min-height:235px}.ketf-chart [data-ketf-bar]{cursor:crosshair}.ketf-chart [data-ketf-bar]:hover,.ketf-chart [data-ketf-bar]:focus{opacity:.78;stroke:currentColor;stroke-width:1}.ketf-tooltip{position:absolute;pointer-events:none;min-width:175px;z-index:4;background:var(--ink,#101820);color:#fff;border-radius:11px;padding:11px 13px;box-shadow:0 12px 25px #0004;font-size:.83rem;line-height:1.5;transform:translate(-50%,-115%)}.ketf-tooltip strong{display:block;font-size:1rem}.ketf-tooltip[hidden]{display:none}
.ketf-faq{margin-top:24px}.ketf-faq-heading{margin-bottom:24px}.ketf-faq-heading h2{margin:7px 0;font-size:clamp(1.5rem,2.7vw,2.15rem)}.ketf-faq-heading p{color:var(--ketf-muted);margin:0}.ketf-faq details{border-top:1px solid var(--ketf-border);padding:0}.ketf-faq details:last-child{border-bottom:1px solid var(--ketf-border)}.ketf-faq summary{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 4px;cursor:pointer;font-weight:750;font-size:1rem;list-style:none}.ketf-faq summary::-webkit-details-marker{display:none}.ketf-faq summary:after{content:'+';display:grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:var(--bg);color:var(--text);font-size:1.3rem}.ketf-faq details[open] summary:after{content:'−';background:var(--ketf-accent);color:#101820}.ketf-faq details p{margin:0 0 22px;max-width:780px;color:var(--ketf-muted);line-height:1.8}
.ketf-editorial{max-width:100%;line-height:1.8}.ketf-editorial>:not(h2){max-width:850px}.ketf-editorial p{line-height:1.85}.ketf-profile-intro{line-height:1.7}
@media(max-width:700px){.ketf-overview{grid-template-columns:1fr;gap:12px;margin-bottom:34px}.ketf-overview-card{min-height:150px}.ketf-market-title{align-items:flex-start;flex-direction:column}.ketf-market-card__bottom{flex-wrap:wrap}.ketf-fund{gap:12px;min-width:220px}.ketf-period{align-items:flex-start;flex-wrap:wrap}.ketf-period-tabs button{padding:8px 11px}.ketf-panel{padding:18px}.ketf-tooltip{min-width:145px}}

.ketf-profile-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:0 0 27px;padding:30px;background:var(--ketf-card);border:1px solid var(--ketf-border);border-radius:20px}.ketf-profile-hero p{margin:12px 0 0;color:var(--ketf-muted);max-width:650px}.ketf-profile-identity{display:flex;align-items:center;gap:12px;margin-top:12px}.ketf-profile-ticker{display:inline-grid;place-items:center;padding:9px 15px;border-radius:11px;font-weight:850;background:var(--ketf-accent);color:#101820;font-size:1.3rem}.ketf-profile-exchange{font-size:.85rem;font-weight:750;color:var(--ketf-muted)}.krypta-etf-hub a.ketf-profile-back{display:inline-flex;text-decoration:none;font-weight:800;white-space:nowrap;padding:11px 16px;border-radius:10px;border:1px solid var(--ketf-border)}.ketf-profile-back:hover{background:var(--bg)}.ketf-profile-intro{padding:0 5px;max-width:850px}.ketf-profile-hero+.ketf-profile-intro+.ketf-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.ketf-profile-hero+.ketf-profile-intro+.ketf-stats .ketf-stat{min-width:0;padding:18px}.ketf-profile-hero+.ketf-profile-intro+.ketf-stats strong{font-size:clamp(1.15rem,2vw,1.8rem);overflow-wrap:anywhere}@media(max-width:930px){.ketf-profile-hero+.ketf-profile-intro+.ketf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.ketf-profile-hero{flex-direction:column;align-items:flex-start;padding:19px}.ketf-profile-hero+.ketf-profile-intro+.ketf-stats{grid-template-columns:1fr}}



/* ETF 2.0 — KRYPTA market data tiles */
.ketf-market-overview{margin:28px 0 26px;padding:clamp(20px,3vw,32px)}
.ketf-market-overview__heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:24px}
.ketf-market-overview__heading h2{font-size:clamp(1.5rem,2.6vw,2.1rem);letter-spacing:-.05em;margin:7px 0 0}
.ketf-overview-date{font-size:.84rem;color:var(--ketf-muted);white-space:nowrap}
.ketf-overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--ketf-border);border:1px solid var(--ketf-border);border-radius:16px;overflow:hidden}
.ketf-overview-metric{background:var(--ketf-card);min-width:0;padding:23px 20px;display:flex;flex-direction:column;gap:15px;justify-content:space-between}
.ketf-overview-metric>span{color:var(--ketf-muted);font-size:.86rem;font-weight:700}
.ketf-overview-metric>strong{font-size:clamp(1.3rem,2vw,2.1rem);line-height:1.12;letter-spacing:-.055em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ketf-overview-metric>small{color:var(--ketf-muted);font-size:.79rem}
.ketf-overview-metric .ketf-positive,.ketf-stats .ketf-positive{color:#15945a}
.ketf-overview-metric .ketf-negative,.ketf-stats .ketf-negative{color:#cf4954}
.ketf-market-overview .ketf-footnote{margin:19px 0 0;color:var(--ketf-muted)}
@media(max-width:980px){.ketf-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ketf-market-overview__heading{align-items:start;flex-direction:column}.ketf-overview-metrics{grid-template-columns:1fr}.ketf-overview-metric{padding:18px}}

/* ETF 2.1 Hub dashboard — KRYPTA shared visual language */
.ketf-hub21-pulse{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:-40px 0 56px}.ketf-hub21-pulse-card{min-height:160px!important}.ketf-hub21-pulse-card strong{font-size:clamp(1.8rem,3vw,3.2rem)!important}
.ketf-hub21-section{margin:28px 0 0}.ketf-hub21-section h2{font-size:clamp(1.6rem,2.8vw,2.3rem);margin:8px 0 16px;letter-spacing:-.05em}.ketf-hub21-lead{color:var(--ketf-muted);line-height:1.65}.ketf-hub21-controls{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0}.ketf-hub21-tab{border:1px solid var(--ketf-border);background:var(--ketf-card);border-radius:11px;padding:10px 15px;cursor:pointer;font:inherit;font-weight:750;color:var(--text)}.ketf-hub21-tab[aria-pressed="true"]{background:var(--ketf-accent);border-color:var(--ketf-accent);color:#101820}.ketf-hub21-tab:focus-visible{outline:2px solid #6b9940;outline-offset:3px}
.ketf-hub21-bars{max-height:520px;overflow:auto;display:grid;gap:9px}.ketf-hub21-bar-line{display:grid;grid-template-columns:100px 55px minmax(80px,1fr) 125px;gap:12px;align-items:center;font-size:.82rem}.ketf-hub21-bar-date{color:var(--ketf-muted)}.ketf-hub21-bar-track{height:13px;background:var(--ketf-border);border-radius:6px;overflow:hidden}.ketf-hub21-bar-fill{display:block;height:100%;background:#2dba80;border-radius:6px}.ketf-hub21-bar-fill.is-negative{background:#d65f62}.ketf-hub21-bar-value{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.ketf-hub21-empty{padding:30px;border:1px dashed var(--ketf-border);border-radius:14px;color:var(--ketf-muted)}
.ketf-hub21-rank th:not(:first-child),.ketf-hub21-rank td{text-align:center}.ketf-hub21-rank th small{display:block;color:var(--ketf-muted);font-weight:500;margin-top:5px}.ketf-hub21-rank a{color:inherit;text-decoration:underline}
.ketf-hub21-stack{display:flex;height:35px;border-radius:10px;overflow:hidden;background:var(--ketf-border);margin:26px 0}.ketf-hub21-stack>span{height:100%;min-width:0}.ketf-hub21-legend{display:flex;flex-wrap:wrap;gap:14px 28px}.ketf-hub21-legend>div{display:flex;align-items:center;gap:9px}.ketf-hub21-dot{width:12px;height:12px;border-radius:50%}.ketf-hub21-legend small{color:var(--ketf-muted)}.ketf-hub21-education>p{max-width:880px;line-height:1.85}.ketf-hub21-faq{margin-top:24px}
.ketf-table th:not(:first-child),.ketf-table td{text-align:center}
@media(max-width:750px){.ketf-hub21-pulse{grid-template-columns:1fr;margin:-15px 0 32px}.ketf-hub21-bar-line{grid-template-columns:77px 34px minmax(65px,1fr) 91px;gap:6px;font-size:.68rem}.ketf-hub21-section{padding:18px}.ketf-hub21-legend{gap:12px}}
