/* Tema HUB sobre os componentes PHP existentes. */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');
body[data-admin]{--bg:#eef7fc;--s1:#fff;--s2:#edf7fc;--s3:#dfeef7;--br:#cde0e9;--ac:#146f9f;--ac2:#0d587f;--tx:#233e55;--t2:#536f83;--t3:#627e91;--font-title:'Space Grotesk',Arial,sans-serif;--font-body:Nunito,Arial,sans-serif;background:linear-gradient(180deg,#d8effb,#f3f9fc 480px);color:var(--tx);font-family:var(--font-body);line-height:1.55}
body[data-admin]:before,body[data-admin]:after{display:none}
body[data-admin] .portal-app{max-width:1450px;margin:auto;padding:24px;gap:24px;align-items:flex-start}
body[data-admin] .portal-sidebar{position:sticky;top:18px;left:auto;bottom:auto;width:245px;flex:0 0 245px;height:calc(100vh - 42px);background:#fff;border:2px solid var(--br);border-radius:16px;box-shadow:0 5px 0 #c7dce7}
body[data-admin] .portal-main{margin-left:0;min-width:0}
body[data-admin] .brand{min-height:92px;background:#edf9ff;border-color:var(--br);color:#205f8d;padding:20px 14px}
body[data-admin] .brand-mark{background:#f8c14d;border:3px solid #bd8621;box-shadow:3px 3px 0 #8c641a;color:#543d17;width:44px;height:44px}
body[data-admin] .brand b{color:#205f8d;font-family:var(--font-title);font-size:19px}
body[data-admin] .brand small{letter-spacing:1px;color:#587c94;font-size:9px}
body[data-admin] .nav-label{font-size:10px;letter-spacing:2px;padding:15px 10px 6px}
body[data-admin] .nav-item{color:#536f83;font-weight:800;font-size:13px;border-radius:8px;min-height:43px}
body[data-admin] .nav-item:hover,body[data-admin] .nav-item.ativo{color:#126ca5;background:#e6f6ff;border-color:#c9e8f5;transform:none}
body[data-admin] .nav-icon{color:#167eb4}
body[data-admin] .sidebar-footer{background:#f3faff;border-color:var(--br)}
body[data-admin] .user-avatar{background:#bdeaf7;color:#205f8d}
body[data-admin] .portal-top{position:relative;top:auto;min-height:76px;height:auto;padding:15px 20px;gap:15px;background:#fff;border:2px solid var(--br);border-radius:14px;box-shadow:0 4px 0 #c7dce7;backdrop-filter:none}
body[data-admin] .page-title span{font-family:var(--font-title);font-size:clamp(15px,1.4vw,20px)}
body[data-admin] .page-title small{color:var(--t2);font-size:10px;letter-spacing:1px}
body[data-admin] .top-actions{flex-wrap:wrap;justify-content:flex-end}
body[data-admin] .top-login{background:#167db7;color:#fff;border-color:#126ca5;box-shadow:0 3px 0 #0a5482}
body[data-admin] .content-wrap{width:100%;max-width:none;padding:24px 0 40px}
body[data-admin] .btn,body[data-admin] .cta{background:#f8c14d;border:1px solid #d6a23a;border-bottom:4px solid #c18e28;border-radius:9px;color:#493814!important;font-weight:900;padding:11px 17px;box-shadow:none}
body[data-admin] .btn.ghost{background:#fff;border-color:var(--br);border-bottom-color:#adcbdc;color:#1b6793!important}
body[data-admin] :is(.card,.hero-card,.nivel-card,.form-card,.sidebox,.post-card,.server,.cat,.stats a,.painel-grid a,.summary-card,.market-card,.support-ticket){background:#fff;border:2px solid var(--br);border-radius:14px;box-shadow:0 4px 0 #d5e6ed;color:var(--tx)}
body[data-admin] :is(input,textarea,select){background:#fff;color:var(--tx);border-color:#b5d2e3;border-radius:9px}
body[data-admin] input::placeholder,body[data-admin] textarea::placeholder{color:#627e91}
body[data-admin] :is(.section-title,.section-head) h2{font-family:var(--font-title);font-size:clamp(21px,2.1vw,28px);color:var(--tx)}
body[data-admin] :is(.tag,.section-title span,.vip-kicker){color:#34728f;letter-spacing:1.5px;font-size:10px}
body[data-admin] .cat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body[data-admin] .cat{padding:20px;min-height:125px;border-top:5px solid #56b99c}
body[data-admin] .cat:nth-child(3n+2){border-top-color:#67a8df}
body[data-admin] .cat:nth-child(3n){border-top-color:#aa83da}
body[data-admin] :is(.cat,.server,.post-card):hover{border-color:#78bbdc;box-shadow:0 5px 0 #c3dfed}
body[data-admin] :is(.post-card,.cat,.market-card) h3{color:#233e55}
body[data-admin] :is(.post-card,.cat,.server,.market-card) :is(p,small){color:var(--t2)}
body[data-admin] .super{border:3px solid #fff;border-radius:16px;box-shadow:0 5px 0 #b1d9e9;background-color:#126f9e;color:#fff}
body[data-admin] .super :is(h2,p,span){color:#fff}
body[data-admin] .amu-home-hero{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(200px,.8fr)!important;min-height:355px;padding:32px!important;gap:20px!important;border:5px solid #fff!important;border-radius:18px!important;background:linear-gradient(115deg,#0876ac,#1b9acb 60%,#6dd3ec)!important;box-shadow:0 6px 0 #b1d9e9!important;overflow:hidden}
body[data-admin] .amu-home-hero:before,body[data-admin] .amu-home-hero:after{display:none}
body[data-admin] .amu-home-hero .tag{color:#d9f5ff}
body[data-admin] .amu-home-hero h1{font:700 clamp(32px,3.5vw,50px)/1.08 var(--font-title);color:#fff;margin:18px 0;text-shadow:0 3px 0 #126b9b;letter-spacing:-1px}
body[data-admin] .amu-home-hero h1 em{font-style:normal;color:#ffe078}
body[data-admin] .amu-home-hero p{color:#eefbff;font-size:15px;max-width:550px}
body[data-admin] .amu-home-proof{color:#e1f7ff;font-size:12px}
.hub-art{position:relative;min-height:260px;display:grid;place-items:center;isolation:isolate}
.hub-sun{position:absolute;width:170px;height:170px;border-radius:50%;background:#fbd86c;top:12px;right:12px;opacity:.85;z-index:-1}
.hub-castle{font-size:135px;filter:drop-shadow(0 12px 0 #0876ac);transform:rotate(-4deg)}
.hub-diamond{position:absolute;left:10px;top:18px;font-size:40px;transform:rotate(-15deg)}
.hub-star{position:absolute;right:15px;bottom:25px;font-size:40px}
.hub-art-label{position:absolute;bottom:0;background:#fff;color:#176d9c;padding:7px 15px;border-radius:10px;border:2px solid #b7e2f4;box-shadow:0 4px 0 #117dab;font-weight:900;font-size:11px;letter-spacing:1px}
body[data-admin] .amu-home-guides{margin:32px 0}
body[data-admin] .amu-home-guides>p{color:var(--t2)}
body[data-admin] .amu-home-guide{background:#fff;border:2px solid var(--br);border-top:5px solid #65a7d7;color:var(--tx);box-shadow:0 4px 0 #d5e6ed}
body[data-admin] .amu-home-guide:nth-child(2){border-top-color:#56bc8a}
body[data-admin] .amu-home-guide:nth-child(3){border-top-color:#a77ae5}
body[data-admin] .amu-home-guide h3{color:var(--tx)}
body[data-admin] .amu-home-guide :is(p,small){color:var(--t2)}
body[data-admin] .amu-home-guide strong{color:#146f9f}
body[data-admin] .amu-home-guide:hover{background:#f4fbff}
body[data-admin] .vip-offer{background:linear-gradient(135deg,#fff,#eee5ff);border:2px solid #d9c9ef;border-radius:15px;box-shadow:0 5px 0 #ddcfee;color:#634b86}
body[data-admin] .vip-offer :is(h2,strong){color:#7655a2}
body[data-admin] .vip-offer :is(p,small){color:#695c7d}
body[data-admin] .portal-footer{flex-wrap:wrap;background:#fff;border:2px solid var(--br);border-radius:15px;box-shadow:0 4px 0 #c7dce7;color:var(--t2);margin-bottom:18px}
body[data-admin] :is(.auth-modal-box,.vip-modal-box,.portal-language-menu){background:#fff;color:var(--tx);border-color:var(--br)}
body[data-admin] :is(.auth-modal-description,.auth-modal-box label,.portal-language-menu button){color:var(--t2)}
body[data-admin] .menu-mobile-btn,body[data-admin] .sidebar-close{background:#e6f6ff;color:#126ca5;border-color:#b5d2e3}
body[data-admin] :is(.artigo,.article-content,.category-hero,.page-head,.dash-head){color:var(--tx)}
body[data-admin] :is(.artigo,.article-content) a{color:#126ca5}
body[data-admin] :is(pre,code){background:#edf4f9;color:#254f6d;border-color:var(--br)}
body[data-admin] .artigo pre{overflow:auto}
@media(min-width:1500px){body[data-admin] .portal-app{padding-top:30px}}
@media(max-width:1100px){body[data-admin] .portal-app{gap:16px;padding:16px}body[data-admin] .portal-sidebar{width:215px;flex-basis:215px}body[data-admin] .cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-admin] .amu-home-hero{grid-template-columns:minmax(0,1fr)!important}.hub-art{display:none}}
@media(max-width:980px){body[data-admin] .portal-app{display:block;padding:12px}body[data-admin] .portal-sidebar{position:fixed;top:0;bottom:0;left:-300px;width:270px;height:100vh;height:100dvh;border-radius:0 16px 16px 0;transition:left .2s;z-index:1000}body[data-admin] .portal-main{margin:0}body[data-admin] .menu-mobile-btn,body[data-admin] .sidebar-close{display:block}body[data-admin] .portal-sidebar.open,body[data-admin] .portal-sidebar.aberto,body.menu-open .portal-sidebar,body.menu-aberto .portal-sidebar{left:0}body[data-admin] .menu-overlay.mostrar{z-index:999}body[data-admin] .portal-top{padding:12px;flex-wrap:wrap}body[data-admin] .page-title{flex:1;min-width:0}body[data-admin] .amu-home-guide-grid{grid-template-columns:1fr}body[data-admin] .grid-2{grid-template-columns:1fr}}
@media(max-width:480px){body[data-admin] .portal-app{padding:10px}body[data-admin] .cat-grid{grid-template-columns:1fr}body[data-admin] .amu-home-hero{padding:22px 16px!important}body[data-admin] .amu-home-hero h1{font-size:32px}body[data-admin] .amu-home-hero .acoes a{width:100%}body[data-admin] .top-actions{width:100%;justify-content:flex-start}body[data-admin] .portal-footer{padding:16px}}
body[data-admin] .portal-visit-stats{background:#f4faff;border:2px solid var(--br);border-radius:14px;padding:20px}
body[data-admin] .portal-visit-card{background:#e8f5ff;border:2px solid #cde0e9;border-radius:12px;padding:14px}
body[data-admin] .portal-visit-stats-title strong{color:#233e55;font-size:20px;font-family:var(--font-title)}
body[data-admin] .portal-visit-card b{color:#176da3;font-size:28px}
body[data-admin] .portal-visit-card small,body[data-admin] .portal-visit-stats-title span{color:#536f83}
body[data-admin] .visit-chart-grid{stroke:#cde0e9}
body[data-admin] .visit-chart-line{stroke:#167db7;filter:none}
body[data-admin] .visit-chart-point{fill:#fff;stroke:#167db7}
body[data-admin] .visit-chart-label{fill:#536f83}

/* Compatibilidade com os componentes que ainda possuem estilos locais escuros.
   O escopo do body também prevalece sobre os <style> emitidos pelas páginas. */
body[data-admin]{
 --color-primary:#146f9f;--color-gold:#805a13;--color-text:#233e55;
 --color-text-strong:#233e55;--color-muted:#536f83;--color-dark:#edf7fc;
 --border-cyan:#cde0e9;
}
body[data-admin] :is(.market-section,.identity-hero,.identity-section,.identidade-status,blockquote,.vazio){background:#fff;color:var(--tx);border:2px solid var(--br);box-shadow:0 4px 0 #d5e6ed}
body[data-admin] :is(.post-card.large h2,.post-author-name,.identity-hero h1,.identity-section h2,.identity-block h3,.identidade-status h1,.auth-modal-box h2,.auth-modal-brand strong){color:var(--tx)}
body[data-admin] :is(.post-card.large>p,.identity-profession,.identity-block p,.identity-empty,.identidade-status-desc,.auth-modal-brand small,.auth-modal-security,.auth-modal-switch span){color:var(--t2)}
body[data-admin] :is(.post-card.large>span,.identity-eyebrow,.identity-section-head span,.autor-identidade){color:var(--ac)}
body[data-admin] :is(.identity-alias,.post-author-badge,.auth-modal-tag){color:#805a13}
body[data-admin] .post-author-badge,body[data-admin] .auth-modal-tag{background:#fff6d9;border-color:#e7cc83}
body[data-admin] .post-card-title-link:hover h2{color:var(--ac2)}
body[data-admin] :is(.post-meta,.identity-block + .identity-block,.auth-modal-switch,.portal-visit-chart){border-color:var(--br)}
body[data-admin] :is(.identity-meta span,.identity-socials a,.home-user){background:var(--s2);color:var(--tx);border-color:var(--br)}
body[data-admin] .identity-socials a:hover{background:#dfeef7;color:var(--ac2);border-color:#78bbdc}
body[data-admin] .identity-avatar{border-color:#d6a23a;box-shadow:0 4px 0 #d5e6ed}
body[data-admin] blockquote small{color:var(--ac)}
body[data-admin] .market-badge{color:#76509a;background:#f1e8ff;border-color:#d9c9ef}
body[data-admin] .market-bottom{flex-wrap:wrap}
body[data-admin] .market-card{min-width:0}
body[data-admin] .market-top{flex-wrap:wrap}
body[data-admin] :is(.footer-links a,.portal-visit-chart-caption){color:var(--t2)}
body[data-admin] .footer-links a:hover{color:var(--ac2)}
body[data-admin] .auth-modal-overlay{background:rgba(23,45,62,.65);overflow-y:auto!important}
body[data-admin] .auth-modal-box{max-height:calc(100dvh - 28px)!important;overflow-y:auto!important;overflow-x:hidden!important;border:2px solid var(--br);box-shadow:0 18px 65px rgba(23,45,62,.3)}
body[data-admin] :is(.auth-modal-close,.portal-language-current){background:var(--s2);color:var(--ac2);border-color:var(--br)}
body[data-admin] .auth-modal-close{width:44px;height:44px}
body[data-admin] .auth-modal-brand{padding-right:44px}
body[data-admin] .auth-modal-form :is(input,select,select option){background:#f4faff;color:var(--tx);border-color:#b5d2e3}
body[data-admin] .auth-modal-form input::placeholder{color:var(--t2)}
body[data-admin] .auth-modal-form :is(input,select):focus{background:#fff;border-color:var(--ac);box-shadow:0 0 0 3px #dfeef7}
body[data-admin] .auth-modal-form input:autofill{box-shadow:0 0 0 1000px #f4faff inset;color:var(--tx)}
body[data-admin] .auth-modal-form input:-webkit-autofill{-webkit-text-fill-color:var(--tx);-webkit-box-shadow:0 0 0 1000px #f4faff inset}
body[data-admin] .auth-modal-main-btn{background:#f8c14d;color:#493814;border-color:#d6a23a;border-bottom:4px solid #c18e28;box-shadow:none}
body[data-admin] .auth-modal-main-btn:hover{background:#ffd573;box-shadow:none}
body[data-admin] .auth-modal-switch button{background:#fff;color:var(--ac2);border-color:var(--br)}
body[data-admin] .auth-modal-switch button:hover{background:var(--s2);color:var(--ac2)}
body[data-admin] .auth-modal-message.erro{color:#a12f2f;background:#fff0f0;border-color:#e7b9b9}
body[data-admin] .auth-modal-message.sucesso{color:#266443;background:#edf9f2;border-color:#b5dbc5}
body[data-admin] .hub-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0;padding:12px 16px;background:#fff;border:2px solid var(--br);border-radius:12px}
body[data-admin] .hub-clock{color:var(--t2);font-size:12px;white-space:nowrap}
body[data-admin] .hub-ticker{display:flex;align-items:center;gap:12px;flex:1;min-width:0}
body[data-admin] .hub-ticker a{flex:1;color:var(--ac2);font-size:14px;overflow-wrap:anywhere}
body[data-admin] .hub-ticker button{padding:8px 12px;border:1px solid var(--br);border-radius:8px;background:var(--s2);color:var(--ac2);cursor:pointer}
body[data-admin] .hub-sections{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
body[data-admin] .hub-sections a{padding:9px 13px;background:#fff;border:1px solid var(--br);border-radius:8px;text-decoration:none;color:var(--ac2)}
body[data-admin] .hub-sections a[aria-current]{background:#dfeef7;border-color:#78bbdc;font-weight:800}
body[data-admin] .hub-search{display:flex;flex-direction:column;gap:6px;max-width:440px;margin-bottom:16px;color:var(--t2);font-size:13px}
body[data-admin] .hub-search input{width:100%;padding:12px}
body[data-admin] .hub-search-status{color:var(--t2);font-size:13px;margin:12px 0}
body[data-admin] .hub-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body[data-admin] .hub-course-grid .card{padding:22px;display:flex;flex-direction:column;gap:12px;min-width:0;border-top:5px solid #65a7d7}
body[data-admin] .hub-course-grid .btn{margin-top:auto;align-self:flex-start}
body[data-admin] :is(#home,#explorar,#downloads,#cursos,#comunidade,#mercado){scroll-margin-top:24px}
@media(max-width:700px){body[data-admin] .hub-course-grid{grid-template-columns:1fr}body[data-admin] .lista-cards{grid-template-columns:minmax(0,1fr)}body[data-admin] .hub-ticker{flex-basis:100%}}

