/* Scoped tools adapt to the existing storefront tokens; native data owners remain intact. */
body.bt-tool-page #main-page>.content-area{width:100%;max-width:1400px;margin:0 auto;padding-inline:40px}
body.bt-tool-page .entry-content{width:100%;max-width:none;margin:0!important}
.bt-tool-page :is(.agni-brands-showcase,.agni-tax-showcase,.btllc-spot){font-family:var(--bt-font-body)}
.bt-tool-page :is(.agni-brands-showcase,.agni-tax-showcase,.btllc-spot,.fh-listing-controls) :is(a,button,select,input,summary):focus-visible{outline:2px solid var(--bt-focus);outline-offset:4px}
.bt-tool-page :is(.agni-bs-dir-group,.agni-tax-letter-block,#fh-sell-form-section){scroll-margin-top:180px}
.bt-tool-page :is(.agni-brands-showcase,.agni-tax-showcase,.btllc-spot) :is(a,button,summary){cursor:pointer}
.bt-tool-page :is(.agni-brands-showcase,.agni-tax-showcase,.btllc-spot) :is(a,button):active{opacity:.8}
.bt-tool-page :is(.agni-tax-showcase,.btllc-spot) button:disabled{cursor:not-allowed;opacity:.5;transform:none}
/* The mint and buyback layouts already use premium-content; retain that owner. */
.bt-tool-page .fh-listing-controls label{text-transform:none;font-size:13px;letter-spacing:0}
/* State guide: one useful hero, followed by the existing facts and directory. */
.bt-tool-page .agni-tax-showcase{--tx-accent:var(--bt-primary);--tx-accent-dark:var(--bt-ink);--tx-text:var(--bt-ink);--tx-muted:var(--bt-muted);--tx-soft:var(--bt-muted);--tx-border:var(--bt-line);--tx-bg:var(--bt-paper);--tx-card-bg:var(--bt-surface);--tx-radius:var(--bt-radius-panel);--tx-radius-sm:var(--bt-radius);--tx-shadow:none;max-width:none;padding:40px 0 64px}
.bt-tool-page .agni-tax-title{font:400 clamp(36px,4vw,54px)/1.12 var(--bt-font-display);letter-spacing:-.035em;color:var(--bt-ink);max-width:900px;margin:0 0 18px}
/* Spot tools keep precise sans-serif data, with a restrained editorial heading. */
.bt-tool-page .btllc-spot{--accent:var(--bt-primary);--accent-soft:var(--bt-paper);--ink:var(--bt-ink);--muted:var(--bt-muted);--card:var(--bt-surface);--border:var(--bt-line);--radius:var(--bt-radius-card);--pos:var(--bt-success);--neg:var(--bt-danger);max-width:none;padding:40px 0 64px}
.bt-tool-page .btllc-spot__header{text-align:left;padding:0 0 24px;border-bottom:1px solid var(--bt-line);margin-bottom:24px}
.bt-tool-page .btllc-spot__header h1{font:400 clamp(36px,4vw,54px)/1.12 var(--bt-font-display);letter-spacing:-.035em;max-width:900px;margin:0 0 18px;color:var(--bt-ink)}
.bt-tool-page .btllc-spot__subtitle{font-size:17px;line-height:1.65;max-width:800px}.bt-tool-page .btllc-spot__intro{text-align:left;margin:24px 0;max-width:900px;color:var(--bt-muted);font-size:16px;line-height:1.75}
.bt-tool-page .btllc-spot section{margin:28px 0}.bt-tool-page .btllc-spot__pricepanel{padding:28px}.bt-tool-page .btllc-spot__amount{font-variant-numeric:tabular-nums;letter-spacing:-.03em}.bt-tool-page .btllc-spot__stat{text-align:left;padding:20px}.bt-tool-page .btllc-spot__statval{font-variant-numeric:tabular-nums}
.bt-tool-page .btllc-spot__chartcard{padding:24px;position:relative}.bt-tool-page .btllc-spot__chartbar{gap:12px;margin-bottom:18px}.bt-tool-page .btllc-spot__range,.bt-tool-page .btllc-spot__export,.btllc-spot__chart-retry,.btllc-spot__feed-status button{min-height:44px;border:1px solid var(--bt-line);border-radius:var(--bt-radius);padding:10px 15px;font:600 14px/1.4 var(--bt-font-body);background:var(--bt-surface);color:var(--bt-ink);cursor:pointer}
.bt-tool-page .btllc-spot__range.is-active{background:var(--bt-primary);border-color:var(--bt-primary);color:var(--bt-surface)}.bt-tool-page .btllc-spot__range:hover:not(.is-active),.bt-tool-page .btllc-spot__export:hover:not(:disabled),.btllc-spot__chart-retry:hover,.btllc-spot__feed-status button:hover{border-color:var(--bt-primary);color:var(--bt-primary)}
.bt-tool-page .btllc-spot__chartsource{font-size:12px;line-height:1.7;text-align:left}.bt-tool-page .btllc-spot__chartsource a{text-decoration:underline;color:var(--bt-primary)}
.btllc-spot__chart-status{position:absolute;z-index:4;top:110px;left:50%;transform:translateX(-50%);width:min(430px,calc(100% - 48px));padding:24px;text-align:center;background:var(--bt-paper);border:1px solid var(--bt-line);border-radius:var(--bt-radius-card)}.btllc-spot__chart-status[hidden],.btllc-spot__feed-status[hidden],.btllc-spot__chart-retry[hidden],.btllc-spot__feed-status button[hidden]{display:none}
.btllc-spot__chart-status p{margin:0;color:var(--bt-muted);font-size:15px;line-height:1.6}.btllc-spot__chart-retry{margin-top:16px}.btllc-spot__feed-status{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;margin:24px 0;background:var(--bt-paper);border:1px solid var(--bt-line);border-radius:var(--bt-radius-card)}.btllc-spot__feed-status p{margin:0;color:var(--bt-muted);font-size:14px;line-height:1.65}.btllc-spot__feed-status button{flex-shrink:0}
.bt-tool-page .btllc-spot__converter,.bt-tool-page .btllc-spot__tablewrap{padding:28px}.bt-tool-page .btllc-spot__convgrid select{min-height:48px;font-family:var(--bt-font-body);font-size:16px}.bt-tool-page .btllc-spot__tablewrap:focus-visible{outline:2px solid var(--bt-focus);outline-offset:4px}.bt-tool-page .btllc-spot__table{min-width:420px}.bt-tool-page .btllc-spot__tablewrap{scrollbar-gutter:stable}.bt-tool-page .btllc-spot__faqitem summary{min-height:48px;line-height:1.5;padding:18px 0}.bt-tool-page .btllc-spot__faqitem p,.bt-tool-page .btllc-spot__infobox p{color:var(--bt-muted);line-height:1.7}
.bt-tool-page .btllc-spot__card{border-top:3px solid var(--bt-primary);padding:28px;--accent:var(--bt-primary)}.bt-tool-page .btllc-spot__card:hover{transform:none;border-color:var(--bt-primary);box-shadow:none}.bt-tool-page .btllc-spot__card h2{font:600 20px/1.3 var(--bt-font-body)}.bt-tool-page .btllc-spot__cardlink{min-height:44px;display:flex;align-items:center}.bt-tool-page .btllc-spot__disclaimer{background:var(--bt-paper);text-align:left;font-size:13px;line-height:1.7}
@media(max-width:1100px){body.bt-tool-page #main-page>.content-area{padding-inline:28px}.bt-tool-page .btllc-spot__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.bt-tool-page .agni-tax-title{max-width:800px}}
@media(max-width:767px){body.bt-tool-page #main-page>.content-area{padding-inline:16px}.bt-tool-page .agni-tax-showcase,.bt-tool-page .btllc-spot{padding:24px 0 48px}.bt-tool-page .agni-tax-title,.bt-tool-page .btllc-spot__header h1{font-size:38px}.bt-tool-page .btllc-spot__subtitle{font-size:15px}.bt-tool-page .btllc-spot__pricepanel,.bt-tool-page .btllc-spot__converter,.bt-tool-page .btllc-spot__tablewrap,.bt-tool-page .btllc-spot__chartcard{padding:20px}.bt-tool-page .btllc-spot__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bt-tool-page .btllc-spot__stat{padding:16px}.bt-tool-page .btllc-spot__chartbar{align-items:flex-start;flex-direction:column}.bt-tool-page .btllc-spot__ranges{gap:6px}.bt-tool-page .btllc-spot__range{padding-inline:12px}.btllc-spot__chart-status{top:160px;width:calc(100% - 40px);padding:20px}.btllc-spot__feed-status{align-items:flex-start;flex-direction:column;padding:18px 20px}.bt-tool-page .btllc-spot__card{padding:22px}.bt-tool-page .btllc-spot__info{grid-template-columns:1fr}.bt-tool-page :is(.agni-bs-dir-group,.agni-tax-letter-block,#fh-sell-form-section){scroll-margin-top:155px}}
@media(max-width:420px){.bt-tool-page .btllc-spot__cards{grid-template-columns:1fr}.bt-tool-page .agni-tax-title,.bt-tool-page .btllc-spot__header h1{font-size:34px}.bt-tool-page .btllc-spot__chart-status{top:205px}}
@media(prefers-reduced-motion:reduce){.bt-tool-page :is(.agni-brands-showcase,.agni-tax-showcase,.btllc-spot) *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* UI2: balance the native five-stat summary without changing its reading order. */
@media (min-width:768px) and (max-width:1100px){
 .bt-tool-page .btllc-spot__stats{grid-template-columns:repeat(6,minmax(0,1fr))}
 .bt-tool-page .btllc-spot__stats>.btllc-spot__stat{grid-column:span 2;min-width:0}
 .bt-tool-page .btllc-spot__stats>.btllc-spot__stat:nth-child(n+4){grid-column:span 3}
}
@media (max-width:767px){
 .bt-tool-page .btllc-spot__stats>.btllc-spot__stat:last-child:nth-child(odd){grid-column:1/-1}
}
