.token-detail{scroll-margin-top:110px;color:#172219}.token-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0}.token-header>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.token-header h2{margin:0;font-size:24px;letter-spacing:-.03em}.token-header span{font-size:13px}.token-actions{display:flex;gap:8px;flex-wrap:wrap}.token-detail button,.token-detail select,.token-detail input{min-height:44px;border:1px solid #adb9ae;border-radius:8px;background:#fff;color:#172219;padding:10px;font-size:14px;max-width:100%;box-sizing:border-box}.token-status{font-size:12px!important;color:#526155;line-height:1.6}.token-nav{display:flex;gap:20px;overflow:auto;border-bottom:1px solid #dce4da;margin:20px 0;padding:12px 0}.token-nav a{font-size:14px;text-decoration:none;white-space:nowrap}.token-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:24px}.token-sidebar{border-right:1px solid #dce4da;padding-right:20px;min-width:0}.token-price{font-size:clamp(24px,3vw,34px);font-weight:750;letter-spacing:-.03em;overflow-wrap:anywhere}.token-up{color:#20603d}.token-down{color:#9c3029}.token-stats{margin:24px 0}.token-stats>div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e5eae2}.token-stats dt{font-size:12px;color:#526155}.token-stats dd{margin:0;text-align:right;font-size:13px;font-weight:650;overflow-wrap:anywhere}.token-sidebar h3{font-size:16px}.token-converter{border-radius:12px;background:#f2f5ed;padding:16px;display:grid;gap:12px}.token-converter label{display:grid;gap:8px;font-size:12px}.token-converter output{font-size:20px;font-weight:700;overflow-wrap:anywhere}.token-detail small{font-size:11px;color:#526155;line-height:1.6}.token-main{min-width:0}.token-panel{scroll-margin-top:110px;margin-bottom:26px;padding-bottom:24px;border-bottom:1px solid #dce4da}.token-panel h2{font-size:20px;margin:0 0 16px}.token-panel p{font-size:14px;line-height:1.7}.token-panel .advanced-chart .chart-toolbar{gap:8px}.token-panel .advanced-chart p{font-size:12px}.token-table-wrap{overflow:auto;max-height:460px;margin:16px 0}.token-table-wrap table{border-collapse:collapse;min-width:780px;width:100%;font-size:12px}.token-table-wrap th,.token-table-wrap td{padding:12px;border-bottom:1px solid #dce4da;text-align:left;max-width:240px;overflow-wrap:anywhere}.token-table-wrap th{position:sticky;top:0;background:#f2f5ed}.token-tags{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.token-tags span{font-size:11px;padding:6px 10px;background:#edf2e8;border-radius:20px}#token-markets>input[type=search]{width:min(100%,360px)}.token-panel .token-actions+small{display:block;margin-top:12px}.token-contract{display:grid;gap:8px;padding:14px 0;font-size:13px}.token-contract code{overflow-wrap:anywhere;word-break:break-all;font-size:12px}.coins-section:has(.token-detail){padding:20px}.coins-intro:has(+.coins-section .token-detail) h1{font-size:22px}@media(max-width:900px){.token-layout{grid-template-columns:1fr}.token-sidebar{border-right:0;padding-right:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.token-price,.token-sidebar>p,.token-sidebar>h3{grid-column:1/-1;margin:0}.token-stats{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 18px;margin:10px 0}.token-converter{grid-column:1/-1}.token-header{align-items:flex-start;flex-direction:column}.token-stats>div{display:grid;gap:6px}.token-stats dd{text-align:left}.token-panel h2{font-size:18px}.token-nav{gap:16px}.coins-section:has(.token-detail){padding:14px}.token-detail .chart-toolbar{display:flex;flex-wrap:wrap}.token-detail .chart-toolbar label{flex:1 1 90px;min-width:0}}
@media(max-width:900px){.token-layout{display:flex;flex-direction:column;gap:18px}.token-sidebar,.token-main{display:contents}.token-price,.token-sidebar>p{order:0}.token-main #token-chart{order:1}.token-sidebar>.token-stats{order:2}.token-sidebar>h3{order:3}.token-sidebar>.token-stats~.token-stats{order:4}.token-converter{order:5}.token-main>.token-panel{order:6}.token-stats{margin:0}.token-panel .financial-chart{min-height:200px}}
/* Gráfico TradingView (3 indicadores) no lugar do gráfico de linha; agregado fica recolhido */
.token-tv .token-pro-card{margin:0}.token-tv .token-pro-card>h3{margin:0 0 4px}.token-chart-alt>summary{cursor:pointer;font-size:16px;font-weight:700;padding:4px 0 14px;list-style-position:inside}.token-chart-alt:not([open]){padding-bottom:14px}
@media(max-width:900px){.token-main #token-tv{order:1}.token-main #token-chart{order:2}}
/* Conversor rápido na página da moeda (mesmo modal da home) e notícias sobre o ativo */
.token-quick{margin-top:8px}.token-quick .quick-converter{padding:20px;border-radius:16px}
.token-quick .quick-heading h2{font-size:20px;margin:4px 0 6px}.token-quick .quick-heading p{font-size:14px;margin:0 0 14px}
.token-quick .quick-crypto strong{font-size:16px}.token-quick .quick-coin-img{width:32px;height:32px;border-radius:50%;flex:0 0 32px;background:#fff}
.token-news{border-bottom:0}.token-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:6px 0 18px}
.token-news-card{display:grid;gap:8px;align-content:start;text-decoration:none;color:inherit;border:1px solid #dce4da;border-radius:14px;overflow:hidden;padding-bottom:14px;background:var(--card,#fff)}
.token-news-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}
.token-news-card h3{font-size:15px;line-height:1.4;margin:4px 14px 0}.token-news-card small{margin:0 14px;font-size:12px}
.token-news-card:hover h3{text-decoration:underline}.token-news-more{font-weight:700;font-size:14px}
html[data-theme=dark] .token-news-card{border-color:#2e3440;background:#16191d}
@media(max-width:900px){.token-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.token-news-grid{grid-template-columns:1fr}}
@media(max-width:900px){.token-quick{grid-column:1/-1;order:5}}
/* Mercados do token: dados em negrito para leitura rápida */
#token-markets table td{font-weight:600}
#token-markets table td:first-child{font-weight:700}
#token-markets table td:nth-child(3),#token-markets table td:nth-child(4){font-weight:800;font-variant-numeric:tabular-nums}
/* Exchange clicável: detalhe abre logo abaixo da linha */
#token-markets .token-ex-btn{all:unset;cursor:pointer;font-weight:800;color:inherit;border-bottom:2px solid #dfff19;padding-bottom:1px}
#token-markets .token-ex-btn:hover,#token-markets .token-ex-btn[aria-expanded=true]{background:#dfff19;color:#101114;border-radius:4px;padding:1px 4px;margin:-1px -4px}
#token-markets .token-ex-btn:focus-visible{outline:2px solid #101114;outline-offset:2px}
#token-markets tr.token-ex-detail>td{padding:0 0 12px!important;background:transparent!important}
#token-markets .token-ex-box{margin:4px 0 0;padding:16px 18px;border:1px solid #e3e7df;border-radius:14px;background:#f7f8f4;display:grid;gap:14px}
#token-markets .token-ex-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
#token-markets .token-ex-head strong{font-size:18px;font-weight:900}#token-markets .token-ex-head span{font-weight:700;color:#5d6858}
#token-markets .token-ex-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
#token-markets .token-ex-facts div{background:#fff;border:1px solid #e3e7df;border-radius:10px;padding:9px 12px;display:grid;gap:2px}
#token-markets .token-ex-facts dt{font-size:11.5px;color:#5d6858}#token-markets .token-ex-facts dd{margin:0;font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
#token-markets .token-ex-facts dd.is-good{color:#15803d}#token-markets .token-ex-facts dd.is-mid{color:#a16207}#token-markets .token-ex-facts dd.is-bad{color:#b91c1c}
#token-markets .token-ex-links{display:flex;gap:16px;flex-wrap:wrap;font-weight:700}
#token-markets .token-ex-box>small{font-size:12px;color:#5d6858}
html[data-theme=dark] #token-markets .token-ex-box{background:#15181d;border-color:#262b31}html[data-theme=dark] #token-markets .token-ex-facts div{background:#1b1f25;border-color:#262b31}html[data-theme=dark] #token-markets :is(.token-ex-head span,.token-ex-facts dt,.token-ex-box>small){color:#9aa39a}
@media(max-width:700px){#token-markets .token-ex-facts{grid-template-columns:1fr 1fr}}
/* Mercados do token no celular: cada par vira um card, com a mesma informação empilhada (sem rolagem lateral). */
@media(max-width:700px){
#token-markets .token-table-wrap{overflow:visible;max-height:none}
#token-markets .token-table-wrap table{min-width:0;display:block}
#token-markets .token-table-wrap thead{display:none}
#token-markets .token-table-wrap tbody{display:grid;gap:10px}
#token-markets .token-table-wrap tbody>tr:not(.token-ex-detail){display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;padding:14px;border:1px solid #dce4da;border-radius:14px;background:#fff}
#token-markets .token-table-wrap tbody>tr:not(.token-ex-detail)>td{display:block;padding:0;border:0;max-width:none;font-size:14px;font-weight:700}
#token-markets .token-table-wrap td::before{content:attr(data-label);display:block;margin-bottom:3px;font-size:11px;font-weight:500;color:#68725e;letter-spacing:.02em}
#token-markets .token-table-wrap td.tm-c0{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}
#token-markets .token-table-wrap td.tm-c0::before{display:none}
#token-markets .token-table-wrap td.tm-c0 .token-ex-btn{font-size:16px}
#token-markets .token-table-wrap td.tm-c1{grid-column:1/-1;font-weight:600;color:#3d4a3f}
#token-markets .token-table-wrap td.tm-c4{font-weight:500}
#token-markets .token-table-wrap td.tm-c5{font-weight:600}
#token-markets .token-table-wrap td.tm-c5[data-state=ok]{color:#20603d}
#token-markets .token-table-wrap td.tm-c5[data-state=warn]{color:#9a6a00}
#token-markets .token-table-wrap tr.token-ex-detail{display:block}
#token-markets .token-table-wrap tr.token-ex-detail>td{display:block;padding:0}
html[data-theme=dark] #token-markets .token-table-wrap tbody>tr:not(.token-ex-detail){background:#1e2329;border-color:#363e4a}
html[data-theme=dark] #token-markets .token-table-wrap td::before{color:#9aa4b2}
html[data-theme=dark] #token-markets .token-table-wrap td.tm-c1{color:#c9d0d8}
html[data-theme=dark] #token-markets .token-table-wrap td.tm-c5[data-state=ok]{color:#7fe0a0}
html[data-theme=dark] #token-markets .token-table-wrap td.tm-c5[data-state=warn]{color:#f0c35a}
}
/* Página da moeda no celular: cabeçalho compacto, preço em destaque e abas de texto (padrão de app). */
@media(max-width:760px){
 html body main #coin-detail .token-header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:6px}
 html body main #coin-detail .token-header>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;min-width:0}
 html body main #coin-detail .token-header h2{margin:0;font-size:20px!important;line-height:1.2}
 html body main #coin-detail .token-header .favorite-toggle{min-height:32px;padding:4px 10px;font-size:12px;border-radius:999px}
 html body main #coin-detail .token-header .token-actions{display:flex;gap:6px;margin:0}
 html body main #coin-detail .token-header .token-actions select,html body main #coin-detail .token-header .token-actions button{min-height:34px;height:34px;padding:4px 10px;font-size:13px;border-radius:999px}
 html body main #coin-detail .token-header .token-actions select{padding-right:26px}
 html body main #coin-detail .token-status{font-size:11.5px;line-height:1.45;margin:2px 0 8px;color:#6b7280}
 html body main #coin-detail .token-nav{display:flex;gap:18px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid rgba(127,127,127,.25);margin:4px 0 14px;padding:0}
 html body main #coin-detail .token-nav::-webkit-scrollbar{display:none}
 html body main #coin-detail .token-nav a{flex:0 0 auto;background:none!important;border:0!important;border-radius:0!important;padding:10px 0!important;min-height:0;font-size:15px;font-weight:600;color:inherit;opacity:.6;text-decoration:none;box-shadow:none}
 html body main #coin-detail .token-nav a:first-child{opacity:1;box-shadow:inset 0 -2px 0 #dfff19}
 html body main #coin-detail .token-price{font-size:clamp(30px,9vw,38px)!important;line-height:1.05;letter-spacing:-.02em;margin:0}
 html body main #coin-detail .token-sidebar:has(.token-down) .token-price{color:#dc2626}
 html body main #coin-detail .token-sidebar:has(.token-up) .token-price{color:#16a34a}
 html body main #coin-detail .token-tv>h2{font-size:12px!important;letter-spacing:.06em;text-transform:uppercase;opacity:.7;margin:0 0 8px;line-height:1.4}
}
@media(max-width:760px){
 html body main #coin-detail .token-header .token-actions{flex:1 0 100%;justify-content:flex-start}
 html body main #coin-detail .token-sidebar>p{margin:4px 0 14px!important;font-size:15px;font-weight:700}
 html body main #coin-detail .token-tv>h2{display:none}
}
@media(max-width:760px){html body main #coin-detail .token-header .token-actions{justify-content:flex-start!important;margin:2px 0 0!important}}
