/* L2Feel - arquivo consolidado para manutenção.
 * Não altere a ordem das seções sem testar os 3 layouts e os modos claro/escuro.
 */


/* ==========================================================================
   Fonte consolidada: assets/css/layout-hotfix-v63.css
   ========================================================================== */
/* L2Feel V6.3 - refinamento final: leitura, simplicidade e consistência */

/* ---------- Base de leitura: HD / Full HD ---------- */
html[data-l2-layout] body{font-size:14px!important;line-height:1.5}
html[data-l2-layout] p,html[data-l2-layout] li,html[data-l2-layout] td,html[data-l2-layout] th,html[data-l2-layout] label,html[data-l2-layout] input,html[data-l2-layout] select,html[data-l2-layout] textarea{font-size:13px}
html[data-l2-layout] small{font-size:11px}
html[data-l2-layout] .text-\[8px\],html[data-l2-layout] .text-\[9px\]{font-size:11px!important}
html[data-l2-layout] .text-\[10px\]{font-size:11px!important}
html[data-l2-layout] .text-\[11px\]{font-size:12px!important}
html[data-l2-layout] .text-xs{font-size:12px!important;line-height:1.45!important}
html[data-l2-layout] .text-sm{font-size:14px!important;line-height:1.55!important}
@media(min-width:1700px){html[data-l2-layout] body{font-size:15px!important}html[data-l2-layout] p,html[data-l2-layout] li,html[data-l2-layout] td,html[data-l2-layout] th{font-size:14px}}
@media(min-width:1000px) and (max-width:1440px){html[data-l2-layout] body{font-size:13px!important}.text-sm{font-size:13px!important}}

/* ---------- Hero original preservado nos três layouts ---------- */
html[data-l2-layout="classic-portal"] .cp-hero{background-image:linear-gradient(90deg,rgba(5,5,4,.91),rgba(5,5,4,.34)),var(--l2-hero-image)!important;background-position:center 36%!important}
html[data-l2-layout="classic-hybrid"] .cr-hero-image{background-image:var(--l2-hero-image)!important;background-position:center 35%!important}
html[data-l2-layout="minimal-interlude"] .mi-welcome{background-image:linear-gradient(90deg,rgba(7,7,6,.94),rgba(7,7,6,.52)),var(--l2-hero-image)!important;background-position:center 36%!important}

/* ---------- Estatísticas da Home centralizadas ---------- */
html[data-l2-layout] .l2-stats-module .l2-module-head-inline{text-align:center;justify-content:center!important;position:relative}
html[data-l2-layout] .l2-stats-module .l2-module-head-inline>div{width:100%;text-align:center}
html[data-l2-layout] .l2-stats-module .l2-stats-live{position:absolute;right:14px;top:50%;transform:translateY(-50%)}
html[data-l2-layout] .l2-stat-card{justify-content:center!important;text-align:center!important;flex-direction:column!important;gap:7px!important}
html[data-l2-layout] .l2-stat-card>div{text-align:center!important}
html[data-l2-layout] .l2-stat-card strong{font-size:22px!important}
html[data-l2-layout] .l2-stat-card span:not(.l2-stat-icon){font-size:11px!important;line-height:1.3!important}
@media(max-width:620px){html[data-l2-layout] .l2-stats-module .l2-stats-live{position:static;transform:none;margin-top:6px}.l2-module-head-inline{flex-direction:column!important}}

/* ---------- Galeria Home: destaque realmente maior ---------- */
html[data-l2-layout] .l2-gallery-v5-stage{display:grid!important;grid-template-columns:minmax(0,3.4fr) minmax(150px,.8fr)!important;gap:8px!important}
html[data-l2-layout] .l2-gallery-v5-main{min-height:390px!important}
html[data-l2-layout] .l2-gallery-v5-mosaic{min-height:390px!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr)!important;gap:8px!important}
html[data-l2-layout] .l2-gallery-v5-tile:nth-child(n+4){display:none!important}
html[data-l2-layout] .l2-gallery-v5-main img,html[data-l2-layout] .l2-gallery-v5-tile img{object-fit:cover!important}
html[data-l2-layout] .l2-gallery-v5-heading h2{font-size:18px!important}
html[data-l2-layout] .l2-gallery-v5-all{font-size:11px!important}
@media(min-width:1000px) and (max-width:1440px){html[data-l2-layout] .l2-gallery-v5-main,html[data-l2-layout] .l2-gallery-v5-mosaic{min-height:330px!important}}
@media(max-width:760px){html[data-l2-layout] .l2-gallery-v5-stage{grid-template-columns:1fr!important}html[data-l2-layout] .l2-gallery-v5-main{min-height:250px!important}html[data-l2-layout] .l2-gallery-v5-mosaic{min-height:82px!important;grid-template-columns:repeat(3,1fr)!important;grid-template-rows:82px!important}}

/* ---------- Portal: cabeçalho sem informação repetida ---------- */
html[data-l2-layout="classic-portal"] .cp-topline{height:34px!important}
html[data-l2-layout="classic-portal"] .cp-topline .cp-wrap{justify-content:space-between!important}
html[data-l2-layout="classic-portal"] .cp-head{height:104px!important;overflow:visible!important}
html[data-l2-layout="classic-portal"] .cp-head-inner{display:flex!important;justify-content:space-between!important;gap:24px!important}
html[data-l2-layout="classic-portal"] .cp-brand img{width:76px!important;height:76px!important}
html[data-l2-layout="classic-portal"] .cp-brand strong{font-size:25px!important}
html[data-l2-layout="classic-portal"] .cp-brand small{font-size:11px!important;margin-top:2px!important}
html[data-l2-layout="classic-portal"] .cp-head-actions{margin-left:auto!important}
html[data-l2-layout="classic-portal"] .cp-nav-scroll{justify-content:center!important;overflow:visible!important}
html[data-l2-layout="classic-portal"] .cp-nav a{padding:0 13px!important;gap:6px!important;font-size:11px!important}
html[data-l2-layout="classic-portal"] .cp-statusbar>div{gap:10px!important;padding:9px 14px!important;flex-wrap:wrap!important}
html[data-l2-layout="classic-portal"] .cp-status-label{display:inline-flex!important;align-items:center!important;gap:8px!important;color:#8f8575!important;font-size:11px!important}
html[data-l2-layout="classic-portal"] .cp-status-value{display:inline-flex!important;align-items:center!important;gap:7px!important;font-size:14px!important}
html[data-l2-layout="classic-portal"] .cp-status-label i{width:16px!important;text-align:center!important;color:#9c7b4c!important}
@media(max-width:1180px){html[data-l2-layout="classic-portal"] .cp-nav a{padding:0 9px!important;font-size:10px!important}}
@media(max-width:800px){html[data-l2-layout="classic-portal"] .cp-head{height:auto!important}.cp-head-inner{flex-direction:column!important}.cp-nav-scroll{justify-content:flex-start!important;overflow-x:auto!important}}

/* ---------- Minimal: notícias evidentes e não espremidas ---------- */
html[data-l2-layout="minimal-interlude"] .mi-news-box{margin-top:12px!important}
html[data-l2-layout="minimal-interlude"] .mi-news-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-l2-layout="minimal-interlude"] .mi-news-grid .mi-row{min-height:72px!important;padding:12px!important}
html[data-l2-layout="minimal-interlude"] .mi-news-grid .mi-row:nth-child(odd){border-right:1px solid #29241f!important}
html[data-l2-layout="minimal-interlude"] .mi-news-grid .mi-row b{font-size:13px!important;line-height:1.35!important}
html[data-l2-layout="minimal-interlude"] .mi-news-grid .mi-row span{font-size:11px!important}
html[data-l2-layout="minimal-interlude"] .mi-boss-box{margin-top:12px!important}
html[data-l2-layout="minimal-interlude"] .mi-boss-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-l2-layout="minimal-interlude"] .mi-bossrow{min-height:70px!important}
html[data-l2-layout="minimal-interlude"] .mi-bossrow b{font-size:12px!important}
html[data-l2-layout="minimal-interlude"] .mi-bossrow em,html[data-l2-layout="minimal-interlude"] .mi-bossrow time{font-size:10px!important}
@media(max-width:640px){html[data-l2-layout="minimal-interlude"] .mi-news-grid,html[data-l2-layout="minimal-interlude"] .mi-boss-grid{grid-template-columns:1fr!important}.mi-news-grid .mi-row{border-right:0!important}}

/* ---------- Chronicle: blocos principais mais clássicos ---------- */
html[data-l2-layout="classic-hybrid"] .cr-news-main{padding:24px!important}
html[data-l2-layout="classic-hybrid"] .cr-news-main h3{font-size:22px!important;line-height:1.25!important}
html[data-l2-layout="classic-hybrid"] .cr-news-list a{min-height:60px!important;padding:11px 14px!important}
html[data-l2-layout="classic-hybrid"] .cr-news-list b{font-size:13px!important}
html[data-l2-layout="classic-hybrid"] .cr-boss-grid{gap:10px!important}
html[data-l2-layout="classic-hybrid"] .cr-boss{min-height:170px!important}
html[data-l2-layout="classic-hybrid"] .cr-boss .info{left:14px!important;right:14px!important;bottom:12px!important}
html[data-l2-layout="classic-hybrid"] .cr-boss .info b{font-size:16px!important;line-height:1.2!important;margin-bottom:6px!important}
html[data-l2-layout="classic-hybrid"] .cr-boss .info small{display:block!important;font-size:11px!important;line-height:1.35!important;margin-top:3px!important}
html[data-l2-layout="classic-hybrid"] .cr-boss .info .detail{opacity:.72!important}

/* ---------- BOSS: página mais simples ---------- */
html[data-l2-page="boss"] .boss-page-bg{opacity:.16!important}
html[data-l2-page="boss"] .boss-hero{min-height:190px!important;padding:34px 16px 28px!important;display:flex!important;align-items:flex-end!important}
html[data-l2-page="boss"] .boss-hero-bg{opacity:.28!important}
html[data-l2-page="boss"] .boss-hero h1{font-size:clamp(28px,3vw,40px)!important;letter-spacing:.04em!important}
html[data-l2-page="boss"] .boss-hero p{font-size:13px!important;max-width:700px!important}
html[data-l2-page="boss"] .boss-shell{margin-top:14px!important;padding-bottom:46px!important}
html[data-l2-page="boss"] .boss-panel,html[data-l2-page="boss"] .boss-next-card{box-shadow:none!important;background:#0f0d0a!important}
html[data-l2-page="boss"] .boss-panel::after,html[data-l2-page="boss"] .boss-next-card::after,html[data-l2-page="boss"] .boss-card::after{display:none!important}
html[data-l2-page="boss"] .boss-filter-bar{padding:9px!important;gap:6px!important}
html[data-l2-page="boss"] .boss-filter{min-height:38px!important;padding:7px 10px!important;flex-direction:row!important;gap:7px!important;font-size:11px!important}
html[data-l2-page="boss"] .boss-stat-card{padding:10px 12px!important;min-height:58px!important}
html[data-l2-page="boss"] .boss-card{box-shadow:none!important;background:#0d0b09!important;border-left-width:3px!important}
html[data-l2-page="boss"] .boss-card:hover{transform:none!important;box-shadow:none!important}
html[data-l2-page="boss"] .boss-card-main{min-height:104px!important;padding:12px!important}
html[data-l2-page="boss"] .boss-img-wrap{width:64px!important;height:64px!important;flex:0 0 64px!important}
html[data-l2-page="boss"] .boss-card-main h3,html[data-l2-page="boss"] .boss-name{font-size:18px!important;line-height:1.2!important}
html[data-l2-page="boss"] .boss-status-pill,html[data-l2-page="boss"] .boss-info-chip{font-size:10px!important;padding:4px 7px!important}
html[data-l2-page="boss"] .boss-timer-panel{min-width:170px!important;padding:9px 11px!important}
html[data-l2-page="boss"] .boss-timer-panel .countdown{font-size:15px!important}
html[data-l2-page="boss"] .boss-card.has-video,html[data-l2-page="boss"] .boss-card.has-video:hover,html[data-l2-page="boss"] .boss-card.pinned{min-height:auto!important;max-height:none!important}
html[data-l2-page="boss"] .boss-video,html[data-l2-page="boss"] .boss-video-actions,html[data-l2-page="boss"] .boss-pin-btn{display:none!important}
html[data-l2-page="boss"] .boss-section-head{padding:14px 0 10px!important;margin:0!important}
html[data-l2-page="boss"] .boss-section-head h2{font-size:22px!important}
@media(max-width:720px){html[data-l2-page="boss"] .boss-hero{min-height:160px!important;padding-top:24px!important}.boss-card-main{align-items:flex-start!important}.boss-timer-panel{width:100%!important;min-width:0!important}}

/* ---------- INFO: simples, mas preserva todas as mídias ---------- */
html[data-l2-page="info"] .l2r-bg{opacity:.10!important}
html[data-l2-page="info"] .l2r-hero{min-height:0!important;padding:24px 0 18px!important;background:transparent!important}
html[data-l2-page="info"] .l2r-hero-grid{grid-template-columns:minmax(0,1fr) 330px!important;gap:18px!important}
html[data-l2-page="info"] .l2r-hero h1{font-size:clamp(30px,3vw,42px)!important;line-height:1.1!important}
html[data-l2-page="info"] .l2r-hero p{font-size:14px!important;line-height:1.55!important}
html[data-l2-page="info"] .l2r-crest{padding:12px!important;box-shadow:none!important}
html[data-l2-page="info"] .l2r-stats{grid-template-columns:repeat(2,1fr)!important;gap:5px!important}
html[data-l2-page="info"] .l2r-stat{padding:9px!important;min-height:58px!important}
html[data-l2-page="info"] .l2r-nav-row{gap:4px!important;padding:7px!important;overflow-x:auto!important}
html[data-l2-page="info"] .l2r-nav-row a{padding:8px 10px!important;font-size:11px!important;white-space:nowrap!important}
html[data-l2-page="info"] .l2r-section{padding:18px 0!important}
html[data-l2-page="info"] .l2r-section-head{grid-template-columns:34px 1fr!important;gap:10px!important;margin-bottom:10px!important}
html[data-l2-page="info"] .l2r-section-index{width:34px!important;height:34px!important;font-size:11px!important}
html[data-l2-page="info"] .l2r-heading{font-size:22px!important;line-height:1.25!important}
html[data-l2-page="info"] .l2r-desc{font-size:13px!important;line-height:1.55!important;max-width:900px!important}
html[data-l2-page="info"] .l2r-section-box{padding:12px!important;box-shadow:none!important}
html[data-l2-page="info"] .l2r-card-grid{gap:7px!important}
html[data-l2-page="info"] .l2r-card{padding:11px!important;min-height:0!important;box-shadow:none!important}
html[data-l2-page="info"] .l2r-card h3{font-size:14px!important;margin:5px 0!important}
html[data-l2-page="info"] .l2r-card p{font-size:12px!important;line-height:1.45!important}
html[data-l2-page="info"] .l2r-list{gap:6px!important}
html[data-l2-page="info"] .l2r-list-item{padding:10px!important;min-height:0!important}
html[data-l2-page="info"] .l2r-list-item b{font-size:13px!important}
html[data-l2-page="info"] .l2r-list-item span{font-size:12px!important;line-height:1.45!important}
html[data-l2-page="info"] .l2r-media{display:block!important;min-height:180px!important;box-shadow:none!important}
html[data-l2-page="info"] .l2r-media-frame{min-height:160px!important}
html[data-l2-page="info"] .l2r-media-row{gap:8px!important}
@media(max-width:900px){html[data-l2-page="info"] .l2r-hero-grid{grid-template-columns:1fr!important}.l2r-crest{display:none!important}}

/* ---------- DONATE: fluxo direto ---------- */
html[data-l2-page="donate"] .don-bg,html[data-l2-page="donate"] .don-grid-bg{opacity:.08!important}
html[data-l2-page="donate"] .don-hero{padding:24px 0 14px!important;min-height:0!important}
html[data-l2-page="donate"] .don-hero h1{font-size:clamp(30px,3vw,42px)!important;line-height:1.12!important}
html[data-l2-page="donate"] .don-hero p{font-size:14px!important;line-height:1.55!important}
html[data-l2-page="donate"] .don-visual{display:none!important}
html[data-l2-page="donate"] .don-shell{max-width:1080px!important;padding-bottom:48px!important}
html[data-l2-page="donate"] .don-card{box-shadow:none!important;padding:14px!important}
html[data-l2-page="donate"] .don-flow{gap:7px!important}
html[data-l2-page="donate"] .don-flow-card{padding:11px!important;min-height:0!important}
html[data-l2-page="donate"] .don-flow-card h3{font-size:14px!important}
html[data-l2-page="donate"] .don-flow-card p{font-size:12px!important;line-height:1.45!important}
html[data-l2-page="donate"] .don-tab{min-height:38px!important;font-size:12px!important}
html[data-l2-page="donate"] .don-pack-option{padding:10px 12px!important;box-shadow:none!important}
html[data-l2-page="donate"] .don-action-btn{min-height:44px!important;font-size:13px!important}
html[data-l2-page="donate"] .don-note{padding:10px 12px!important;font-size:12px!important}

/* ---------- GALERIA completa: simples, mídia primeiro ---------- */
html[data-l2-page="gallery"] .gallery-page{padding-top:16px!important;padding-bottom:48px!important}
html[data-l2-page="gallery"] .gallery-page-head{padding:12px 14px!important;box-shadow:none!important}
html[data-l2-page="gallery"] .gallery-title{font-size:clamp(28px,3vw,40px)!important}
html[data-l2-page="gallery"] .gallery-toolbar{padding:5px!important;gap:4px!important}
html[data-l2-page="gallery"] .gallery-filter{padding:7px 10px!important;font-size:11px!important}
html[data-l2-page="gallery"] .gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
html[data-l2-page="gallery"] .gallery-card{min-height:205px!important;box-shadow:none!important}
html[data-l2-page="gallery"] .gallery-card:nth-child(1),html[data-l2-page="gallery"] .gallery-card:nth-child(9n+1){grid-column:span 2!important;grid-row:span 2!important;min-height:418px!important}
html[data-l2-page="gallery"] .gallery-card-info{padding:9px!important}
html[data-l2-page="gallery"] .gallery-card-text h3{font-size:13px!important;line-height:1.3!important}
html[data-l2-page="gallery"] .gallery-card:hover{transform:none!important}
@media(max-width:900px){html[data-l2-page="gallery"] .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.gallery-card:nth-child(1),.gallery-card:nth-child(9n+1){min-height:300px!important}}
@media(max-width:520px){html[data-l2-page="gallery"] .gallery-grid{grid-template-columns:1fr!important}.gallery-card,.gallery-card:nth-child(1),.gallery-card:nth-child(9n+1){grid-column:auto!important;grid-row:auto!important;min-height:230px!important}}

/* ---------- STATS: simples, centralizado e informativo ---------- */
html[data-l2-page="stats"] .stats-bg{opacity:.10!important}
html[data-l2-page="stats"] .stats-grid{opacity:.12!important}
html[data-l2-page="stats"] main{padding-top:24px!important;max-width:1180px!important;gap:14px!important}
html[data-l2-page="stats"] main>section:first-of-type{padding:16px!important;text-align:center!important;box-shadow:none!important}
html[data-l2-page="stats"] main>section:first-of-type>div.relative{display:block!important}
html[data-l2-page="stats"] main>section:first-of-type>div.relative>div:first-child{max-width:800px!important;margin:0 auto!important}
html[data-l2-page="stats"] .stats-hero-title{font-size:clamp(28px,3vw,40px)!important;letter-spacing:.04em!important}
html[data-l2-page="stats"] main>section:first-of-type p{margin-left:auto!important;margin-right:auto!important;font-size:13px!important}
html[data-l2-page="stats"] main>section:first-of-type .grid{margin:14px auto 0!important;max-width:760px!important;grid-template-columns:repeat(4,1fr)!important}
html[data-l2-page="stats"] .glass,html[data-l2-page="stats"] .glass-soft,html[data-l2-page="stats"] .chart-card,html[data-l2-page="stats"] .table-panel{box-shadow:none!important;backdrop-filter:none!important}
html[data-l2-page="stats"] .kpi-card{padding:14px!important;text-align:center!important;border-left-width:1px!important}
html[data-l2-page="stats"] .kpi-card>div{justify-content:center!important}
html[data-l2-page="stats"] .kpi-card .h-12.w-12{width:38px!important;height:38px!important}
html[data-l2-page="stats"] .kpi-card p.text-4xl,html[data-l2-page="stats"] .kpi-card p.text-3xl{font-size:25px!important}
html[data-l2-page="stats"] .chart-card{padding:14px!important}
html[data-l2-page="stats"] .chart-card:hover,html[data-l2-page="stats"] .kpi-card:hover{transform:none!important}
html[data-l2-page="stats"] .table-panel{min-height:0!important}
html[data-l2-page="stats"] .table-panel header{padding:14px!important}
html[data-l2-page="stats"] .filter-pill{padding:7px 9px!important}
@media(max-width:760px){html[data-l2-page="stats"] main>section:first-of-type .grid{grid-template-columns:repeat(2,1fr)!important}}

/* ---------- Ranking de Heróis: lista visual, sem dezenas de podiuns gigantes ---------- */
html[data-l2-page="rankings"] .rank-heroes-board{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
html[data-l2-page="rankings"] .rank-hero-card{display:grid!important;grid-template-columns:34px 58px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-height:82px!important;padding:10px 12px!important;border:1px solid rgba(194,154,91,.18)!important;background:#0d0b09!important;box-shadow:none!important}
html[data-l2-page="rankings"] .rank-hero-card.is-first{border-color:rgba(241,210,138,.46)!important;background:linear-gradient(90deg,rgba(194,154,91,.10),#0d0b09 46%)!important}
html[data-l2-page="rankings"] .rank-hero-card-rank{display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important;color:#b78e52!important;font-size:10px!important}
html[data-l2-page="rankings"] .rank-hero-card-avatar{width:58px!important;height:58px!important;overflow:hidden!important;border:1px solid rgba(194,154,91,.28)!important;background:#090806!important}
html[data-l2-page="rankings"] .rank-hero-card-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
html[data-l2-page="rankings"] .rank-hero-card-main{min-width:0!important}
html[data-l2-page="rankings"] .rank-hero-card-main h3{margin:0 0 5px!important;color:#ead8ae!important;font:700 15px Georgia,serif!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html[data-l2-page="rankings"] .rank-hero-card-main p{margin:2px 0!important;color:#8f8577!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html[data-l2-page="rankings"] .rank-hero-card-main i{width:14px!important;color:#9e7d4a!important}
html[data-l2-page="rankings"] .rank-hero-card-score{text-align:right!important}
html[data-l2-page="rankings"] .rank-hero-card-score strong{display:block!important;color:#d8b978!important;font-size:18px!important}
html[data-l2-page="rankings"] .rank-hero-card-score small{display:block!important;color:#71695f!important;font-size:9px!important;text-transform:uppercase!important}
@media(max-width:1050px){html[data-l2-page="rankings"] .rank-heroes-board{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){html[data-l2-page="rankings"] .rank-heroes-board{grid-template-columns:1fr!important}}

/* ---------- Modo claro realmente claro ---------- */
html[data-l2-theme="light"] body{background:#e9e4da!important;color:#332f29!important}
html[data-l2-theme="light"] :is(.cp-panel,.cp-statusbar,.l2-home-module,.l2-home-rankings,.l2-home-rank-card,.l2-gallery-v5,.mi-box,.mi-side-links,.mi-status,.cr-news-main,.cr-news-list,.cr-boss,.boss-panel,.boss-next-card,.boss-card,.boss-stat-card,.boss-filter,.l2r-section-box,.l2r-card,.l2r-list-item,.l2r-media,.don-card,.don-flow-card,.don-note,.gallery-page-head,.gallery-toolbar,.gallery-card,.glass,.glass-soft,.chart-card,.table-panel,.kpi-card,.support-card,.support-action,.player-main,.player-top,.char-card,.soft-card,.service-card,.rank-table-card,.rank-podium-natural,.rank-hero-card){background:#f5f1e9!important;border-color:#c8bda9!important;color:#332f29!important;box-shadow:none!important}
html[data-l2-theme="light"] :is(.cp-panel-title,.mi-box h2,.l2-module-head,.l2-home-rank-card>header,.rank-table-head){background:#e7dfd2!important;border-color:#c8bda9!important;color:#684c24!important}
html[data-l2-theme="light"] :is(h1,h2,h3,h4,.font-fantasy,.l2r-heading,.gallery-title,.rank-hero-card-main h3){color:#5c431f!important;text-shadow:none!important}
html[data-l2-theme="light"] :is(p,small,.text-zinc-300,.text-zinc-400,.text-zinc-500,.text-zinc-600,.l2r-desc,.l2r-list-item span,.rank-hero-card-main p){color:#655d52!important}
html[data-l2-theme="light"] :is(input,select,textarea,.input-dark,.select-dark,.panel-input,.support-input,.support-select,.support-textarea){background:#fffdf8!important;color:#332f29!important;border-color:#bfb29d!important}
html[data-l2-theme="light"] .boss-page-bg,html[data-l2-theme="light"] .stats-bg,html[data-l2-theme="light"] .gallery-page::before,html[data-l2-theme="light"] .l2r-bg{opacity:.04!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-topline,html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-head,html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-nav{background:#ded4c4!important;border-color:#b8aa94!important}
html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] body{background:#eee8dd!important;color:#3a352f!important}
html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] :is(.mi-mast,.mi-nav,.mi-sidebar){background:#dfd5c6!important;border-color:#b8aa94!important}
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] :is(.cr-head,.cr-nav){background:#e1d7c7!important;border-color:#b8aa94!important}

/* Complemento claro para subcomponentes que antes mantinham o dark. */
html[data-l2-theme="light"][data-l2-page="boss"] :is(.boss-timer-panel,.boss-info-chip,.boss-status-pill,.boss-soon-item){background:#eee7dc!important;border-color:#c7baa6!important;color:#51493e!important}
html[data-l2-theme="light"][data-l2-page="info"] :is(.l2r-nav-row,.l2r-stat,.l2r-enchant-box,.l2r-actions a){background:#eee7dc!important;border-color:#c7baa6!important;color:#4d453b!important}
html[data-l2-theme="light"][data-l2-page="donate"] :is(.don-tab,.don-input,.don-result,.don-pack-option,.don-btn-soft){background:#fffdf8!important;border-color:#c7baa6!important;color:#3e3831!important}
html[data-l2-theme="light"][data-l2-page="gallery"] :is(.gallery-filter,.gallery-card-info){background:#eee7dc!important;border-color:#c7baa6!important;color:#443d35!important}
html[data-l2-theme="light"][data-l2-page="stats"] :is(.filter-pill,.input-dark,.select-dark){background:#fffdf8!important;border-color:#bcae98!important;color:#3b352e!important}
html[data-l2-theme="light"][data-l2-page="stats"] .stats-grid{background-image:linear-gradient(rgba(80,65,45,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(80,65,45,.05) 1px,transparent 1px)!important}
html[data-l2-theme="light"][data-l2-page="rankings"] :is(.rank-tab,.rank-hero-stat,.rank-status-dot,.rank-mini-stat){background:#eee7dc!important;border-color:#c7baa6!important;color:#4b4339!important}
html[data-l2-theme="light"][data-l2-page="support"] :is(.support-status-row,.support-rule,.faq-toggle,.support-input,.support-select,.support-textarea){background:#fffdf8!important;border-color:#c7baa6!important;color:#3e3831!important}
html[data-l2-theme="light"][data-l2-page="user_panel"] :is(.player-tabs-wrap,.player-tab,.player-stat,.panel-input,.panel-select){background:#fffdf8!important;border-color:#c7baa6!important;color:#3e3831!important}


/* ==========================================================================
   Fonte consolidada: assets/css/layout-hotfix-v64.css
   ========================================================================== */
/* L2Feel V6.4 - correções finais de fundo, modo claro, autenticação, galeria e mobile. */

/* ---------- FUNDO REAL DO TEMA ---------- */
html[data-l2-layout]{background-position:center top!important;background-size:cover!important;background-repeat:no-repeat!important;background-attachment:fixed!important}
html[data-l2-layout] body{background:transparent!important}
html[data-l2-layout] :is(.auth-bg,.auth-bg-image,.auth-pattern,.stats-bg,.stats-grid,.boss-page-bg,.l2r-bg){display:none!important}
html[data-l2-layout][data-l2-page="gallery"] .gallery-page::before{opacity:0!important}
@media(max-width:800px){html[data-l2-layout]{background-attachment:scroll!important;background-position:50% top!important}}

/* ---------- LEGIBILIDADE HD / FULL HD ---------- */
html[data-l2-layout] body{font-size:14px;line-height:1.5}
html[data-l2-layout] body:not(.l2-home-v3) [class*="text-[8px]"]{font-size:10.5px!important}
html[data-l2-layout] body:not(.l2-home-v3) [class*="text-[9px]"]{font-size:11px!important}
html[data-l2-layout] body:not(.l2-home-v3) [class*="text-[10px]"]{font-size:11.5px!important}
html[data-l2-layout] body:not(.l2-home-v3) [class*="text-[11px]"]{font-size:12px!important}
html[data-l2-layout] body:not(.l2-home-v3) p{line-height:1.55}
@media(min-width:1600px){
  html[data-l2-layout] body{font-size:15px}
  html[data-l2-layout] body:not(.l2-home-v3) [class*="text-xs"]{font-size:13px!important}
  html[data-l2-layout] body:not(.l2-home-v3) [class*="text-sm"]{font-size:14px!important}
}

/* ---------- MODO CLARO: superfícies e texto equilibrados ---------- */
html[data-l2-theme="light"] body{color:#4a453e!important}
html[data-l2-theme="light"] :is(.text-white,.text-zinc-100,.text-zinc-200,.text-zinc-300){color:#3f3a34!important}
html[data-l2-theme="light"] :is(.text-zinc-400,.text-zinc-500,.text-zinc-600){color:#71695f!important}
html[data-l2-theme="light"] :is(.auth-card,.auth-form-panel,.auth-password-panel,.rules-modal>div:nth-child(2),#rulesBox,.gallery-page-head,.gallery-toolbar,.gallery-card,.glass,.glass-soft,.chart-card,.table-panel,.kpi-card,.boss-panel,.boss-card,.boss-next-card,.l2r-card,.l2r-section-box,.don-card,.don-flow-card,.don-note,.support-card,.support-action,.player-main,.player-top,.char-card,.soft-card,.service-card,.rank-table-card,.rank-hero-card){
  background:#f3eee5!important;border-color:#c9bda9!important;color:#4a453e!important;box-shadow:none!important
}
html[data-l2-theme="light"] :is(.auth-input,input,select,textarea,.input-dark,.select-dark,.panel-input,.support-input,.support-select,.support-textarea){background:#fffaf2!important;color:#3f3a34!important;border-color:#b9aa94!important;box-shadow:none!important}
html[data-l2-theme="light"] :is(.auth-input,input,textarea)::placeholder{color:#9a9185!important;opacity:1}
html[data-l2-theme="light"] :is(.font-fantasy,h1,h2,h3,h4,.gallery-title,.l2r-heading){color:#624b2b!important;text-shadow:none!important}
html[data-l2-theme="light"] :is(.auth-password-panel,.support-status-row,.support-rule,.faq-toggle,.gallery-filter,.gallery-card-info,.boss-info-chip,.boss-status-pill,.boss-soon-item,.rank-tab,.rank-hero-stat,.rank-mini-stat,.player-tab,.player-stat){background:#e9e1d5!important;border-color:#c5b7a2!important;color:#514b43!important}
html[data-l2-theme="light"] :is(.bg-black\/20,.bg-black\/25,.bg-black\/30,.bg-black\/35,.bg-black\/40,.bg-black\/50,.bg-black\/60){background-color:#eee6da!important}
html[data-l2-theme="light"] .l2-theme-toggle{background:#eee6d9!important;color:#70542d!important;border-color:#b9a98f!important}

/* ---------- LOGIN / CADASTRO: simples e integrados ---------- */
html[data-l2-page="login"] .auth-shell,
html[data-l2-page="register"] .auth-shell{min-height:auto!important;padding:34px 18px 54px!important;display:block!important}
html[data-l2-page="login"] .auth-card,
html[data-l2-page="register"] .auth-card{display:block!important;width:min(100%,590px)!important;max-width:590px!important;min-height:0!important;margin:0 auto!important;border-radius:2px!important;background:rgba(11,9,7,.92)!important;border:1px solid rgba(194,154,91,.28)!important;box-shadow:0 18px 46px rgba(0,0,0,.26)!important;overflow:hidden!important}
html[data-l2-page="login"] .auth-art,
html[data-l2-page="register"] .auth-art{display:none!important}
html[data-l2-page="login"] .auth-card::before,
html[data-l2-page="login"] .auth-card::after,
html[data-l2-page="register"] .auth-card::before,
html[data-l2-page="register"] .auth-card::after{display:none!important}
html[data-l2-page="login"] .auth-form-panel,
html[data-l2-page="register"] .auth-form-panel{padding:28px 30px!important;background:transparent!important}
html[data-l2-page="login"] .auth-form-panel>div:first-child,
html[data-l2-page="register"] .auth-form-panel>div:first-child{margin-bottom:22px!important}
html[data-l2-page="login"] .auth-form-panel h1,
html[data-l2-page="register"] .auth-form-panel h1{font-size:clamp(27px,3vw,36px)!important;letter-spacing:.05em!important}
html[data-l2-page="login"] .auth-input,
html[data-l2-page="register"] .auth-input{min-height:48px!important;border-radius:2px!important;font-size:14px!important}
html[data-l2-page="login"] .auth-submit,
html[data-l2-page="register"] .auth-submit{min-height:48px!important;border-radius:2px!important;font-size:15px!important;box-shadow:none!important}
html[data-l2-page="register"] .auth-password-panel{border-radius:2px!important;padding:13px!important}
html[data-l2-theme="light"][data-l2-page="login"] .auth-card,
html[data-l2-theme="light"][data-l2-page="register"] .auth-card{background:rgba(246,241,232,.96)!important;border-color:#bcae97!important;box-shadow:0 16px 38px rgba(85,70,48,.12)!important}
html[data-l2-theme="light"][data-l2-page="login"] .auth-form-panel,
html[data-l2-theme="light"][data-l2-page="register"] .auth-form-panel{background:transparent!important}
html[data-l2-theme="light"][data-l2-page="register"] #rulesBox{background:#f5efe6!important;color:#49433b!important}

/* ---------- GALERIA: preencher prévias, preservar original no visualizador ---------- */
html[data-l2-layout] .l2-gallery-v5-main,
html[data-l2-layout] .l2-gallery-v5-tile{background:#15110d!important}
html[data-l2-layout] .l2-gallery-v5-main>img,
html[data-l2-layout] .l2-gallery-v5-tile>img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;background:transparent!important}
html[data-l2-layout] .l2-gallery-v5-main[data-video="1"]>img{transform:scale(1.08)}
html[data-l2-layout] .l2-gallery-v5-main[data-video="1"]:hover>img{transform:scale(1.11)}
html[data-l2-layout] .l2-gallery-v5-tile[data-video="1"]>img{transform:scale(1.12)}
html[data-l2-layout] .l2-gallery-v5-tile[data-video="1"]:hover>img{transform:scale(1.16)}
html[data-l2-layout] .l2-home-media-content.is-image{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;box-shadow:inset 0 0 0 9999px rgba(4,3,2,.18)}
html[data-l2-layout] .l2-home-media-content>img{position:relative;z-index:1;max-width:96%!important;max-height:96%!important;object-fit:contain!important;background:transparent!important;box-shadow:0 12px 45px rgba(0,0,0,.34)}
html[data-l2-page="gallery"] .gallery-thumb{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;background:transparent!important}
html[data-l2-page="gallery"] .gallery-card[data-type="video"] .gallery-thumb{transform:scale(1.18)!important}
html[data-l2-page="gallery"] .gallery-card[data-type="video"]:hover .gallery-thumb{transform:scale(1.22)!important}
html[data-l2-page="gallery"] #gallery-page-content.gallery-content-image{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;box-shadow:inset 0 0 0 9999px rgba(4,3,2,.30);border-radius:4px!important;overflow:hidden!important}
html[data-l2-page="gallery"] #gallery-page-content.gallery-content-image .gallery-modal-box{padding:14px!important;width:100%!important;height:100%!important}
html[data-l2-page="gallery"] #gallery-page-content.gallery-content-image .gallery-modal-image{max-width:100%!important;max-height:100%!important;background:transparent!important;border:0!important;border-radius:2px!important;box-shadow:0 12px 42px rgba(0,0,0,.34)!important}
html[data-l2-theme="light"] .l2-home-media-content.is-image{box-shadow:inset 0 0 0 9999px rgba(239,233,222,.38)}
/* A pagina /gallery usa o mesmo viewer escuro nos dois temas.
   Nao aplicar filme claro sobre a propria midia no light mode. */
html[data-l2-theme="light"][data-l2-page="gallery"] #gallery-page-content.gallery-content-image{box-shadow:0 28px 80px rgba(0,0,0,.56),0 0 0 1px rgba(0,0,0,.28) inset!important}
html[data-l2-theme="light"][data-l2-page="gallery"] #gallery-page-content .gallery-modal-box{background:transparent!important;color:inherit!important;border-color:transparent!important;box-shadow:none!important}

/* ---------- STATS ---------- */
html[data-l2-page="stats"] .kpi-card>div{align-items:center!important}
html[data-l2-page="stats"] .kpi-card>div>div:first-child{flex:1;text-align:center!important}
html[data-l2-page="stats"] .kpi-card>div>div:last-child{flex:0 0 auto}

/* ---------- MOBILE DE VERDADE ---------- */
@media(max-width:760px){
  html[data-l2-layout] body{font-size:14px!important}
  html[data-l2-layout] main{max-width:100%!important}
  html[data-l2-page="login"] .auth-shell,html[data-l2-page="register"] .auth-shell{padding:18px 10px 34px!important}
  html[data-l2-page="login"] .auth-form-panel,html[data-l2-page="register"] .auth-form-panel{padding:22px 16px!important}
  html[data-l2-page="login"] .auth-card,html[data-l2-page="register"] .auth-card{width:100%!important}
  html[data-l2-page="register"] .auth-password-panel .grid{grid-template-columns:1fr!important}
  html[data-l2-layout] .l2-gallery-v5-stage{display:block!important}
  html[data-l2-layout] .l2-gallery-v5-main{min-height:0!important;aspect-ratio:4/3!important}
  html[data-l2-layout] .l2-gallery-v5-mosaic{margin-top:7px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:74px!important;min-height:74px!important;gap:6px!important}
  html[data-l2-layout] .l2-gallery-v5-tile{min-height:74px!important}
  html[data-l2-layout] .l2-home-media-modal{padding:0!important}
  html[data-l2-layout] .l2-home-media-shell{width:100vw!important;height:100dvh!important;border:0!important}
  html[data-l2-layout] .l2-home-media-content>img{max-width:100%!important;max-height:100%!important}
  html[data-l2-page="gallery"] .gallery-grid{grid-template-columns:1fr!important;gap:8px!important}
  html[data-l2-page="gallery"] .gallery-card,html[data-l2-page="gallery"] .gallery-card:nth-child(1),html[data-l2-page="gallery"] .gallery-card:nth-child(9n+1){grid-column:auto!important;grid-row:auto!important;min-height:230px!important;aspect-ratio:16/10!important}
  html[data-l2-page="gallery"] #gallery-page-content.gallery-content-image .gallery-modal-box{padding:6px!important}
  html[data-l2-page="stats"] main{padding-left:10px!important;padding-right:10px!important}
  html[data-l2-page="stats"] .kpi-card{padding:12px!important}
  html[data-l2-page="stats"] .kpi-card p.text-4xl,html[data-l2-page="stats"] .kpi-card p.text-3xl{font-size:22px!important}
  html[data-l2-page="stats"] .table-panel{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
}


/* ==========================================================================
   Fonte consolidada: assets/css/layout-hotfix-v66.css
   ========================================================================== */
/* =========================================================
   L2Feel V6.6 - acabamento visual, modo claro e interações
   Camada final carregada também no rodapé para vencer CSS
   embutido das páginas antigas sem alterar a lógica PHP.
   ========================================================= */

/* ---------- MICROINTERAÇÕES GERAIS ---------- */
html[data-l2-layout] a,
html[data-l2-layout] button{
  transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease,filter .18s ease;
}
html[data-l2-layout] :is(
  .mi-buttons a,.cp-btn,.cr-account-main,.cr-account-icon,.mi-account-chip,
  .l2-footer-account-actions a,.l2-footer-socials a,.l2-footer-links a,
  a[class*="btn"],button[class*="btn"],a[class*="button"],button[class*="button"]
):not([disabled]):hover{
  transform:translateY(-2px);
  filter:brightness(1.055);
}
html[data-l2-layout] :is(.mi-buttons a,.cp-btn,.l2-footer-account-actions a):focus-visible,
html[data-l2-layout] :is(a,button):focus-visible{
  outline:2px solid rgba(210,169,96,.72);
  outline-offset:3px;
}

/* Cards clicáveis: movimento curto, sem efeito de app moderno. */
html[data-l2-layout] :is(
  .cr-news-item,.cr-boss,.cp-news-item,.cp-boss,.mi-row,.mi-bossrow,
  .l2-home-rank-row,.l2-gallery-v5-main,.l2-gallery-v5-tile
){transition:transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease,filter .18s ease}
html[data-l2-layout] :is(
  .cr-news-item,.cr-boss,.cp-news-item,.cp-boss,.mi-row,.mi-bossrow,
  .l2-home-rank-row,.l2-gallery-v5-main,.l2-gallery-v5-tile
):hover{
  transform:translateY(-2px);
  border-color:rgba(195,151,80,.48)!important;
}

/* Botões principais da Home ganham resposta visual mais clara. */
html[data-l2-layout="minimal-interlude"] .mi-buttons a:hover{
  border-color:#9d7742!important;
  background:#302519!important;
  color:#f1d8a6!important;
  box-shadow:0 8px 20px rgba(0,0,0,.20);
}
html[data-l2-layout="minimal-interlude"] .mi-buttons a.primary:hover{
  background:#936b37!important;
  color:#fff5dc!important;
}

/* ---------- CONTA LOGADA ---------- */
.l2-account-chip{min-width:0}
.l2-account-chip span{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cr-mobile-account{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border:1px solid #30291f;background:#0d0b09}
.cr-mobile-account a{display:flex;align-items:center;gap:8px;color:#c5ad81;text-decoration:none;min-width:0}
.cr-mobile-account a:first-child{flex:1;overflow:hidden}
.cr-mobile-account span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mi-account-chip{display:inline-flex;align-items:center;gap:6px;height:28px;max-width:145px;padding:0 9px;border:1px solid #332b21;background:#11100d;color:#bba57b;text-decoration:none;font-size:11px}
.mi-account-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mi-account-chip:hover{border-color:#655036;color:#e2c990;background:#1c1711}

/* ---------- MINIMAL: LATERAL MAIS ÚTIL ---------- */
html[data-l2-layout="minimal-interlude"] .mi-socials{display:none!important}
html[data-l2-layout="minimal-interlude"] .mi-sidebar{padding:14px 11px}
html[data-l2-layout="minimal-interlude"] .mi-side-title{margin-top:14px;margin-bottom:7px;padding-bottom:5px;border-bottom:1px solid #29231c;font-size:10px;letter-spacing:.05em}
html[data-l2-layout="minimal-interlude"] .mi-sidebar>.mi-side-title:first-child{margin-top:3px}
html[data-l2-layout="minimal-interlude"] .mi-side-links{margin-bottom:12px}
html[data-l2-layout="minimal-interlude"] .mi-side-links a{padding:9px 8px;line-height:1.25}
html[data-l2-layout="minimal-interlude"] .mi-account-side{font-weight:700;color:#d4b77f!important;background:#19150f!important}
html[data-l2-layout="minimal-interlude"] .mi-account-side span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.mi-side-stats{border:1px solid #302920;background:#12100d;margin-bottom:12px}
.mi-side-stat{min-height:37px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border-bottom:1px solid #29241e}
.mi-side-stat:last-child{border-bottom:0}
.mi-side-stat span{display:flex;align-items:center;gap:6px;min-width:0;color:#858075;font-size:10px;line-height:1.2}
.mi-side-stat span i{width:13px;text-align:center;color:#806a48}
.mi-side-stat b{color:#d1b277;font-size:12px;font-weight:700;white-space:nowrap}

html[data-l2-layout="minimal-interlude"] .mi-status.mi-server-rates{padding:0;line-height:normal;margin-bottom:12px}
html[data-l2-layout="minimal-interlude"] .mi-server-rates>div{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;padding:7px 8px;border-bottom:1px solid #29241e}
html[data-l2-layout="minimal-interlude"] .mi-server-rates>div:last-child{border-bottom:0}
html[data-l2-layout="minimal-interlude"] .mi-server-rates span{display:flex;align-items:center;gap:7px;color:#8d867b;font-size:10px}
html[data-l2-layout="minimal-interlude"] .mi-server-rates span i{width:13px;text-align:center;color:#866d47}
html[data-l2-layout="minimal-interlude"] .mi-server-rates b{float:none;color:#d2b47a;font-size:12px}

/* No desktop as estatísticas completas saem da coluna principal; no celular voltam,
   porque a barra lateral é ocultada nesse breakpoint. */
@media(min-width:721px){
  html[data-l2-layout="minimal-interlude"] .mi-home-modules .l2-stats-module{display:none!important}
}

/* ---------- RODAPÉ V6.6 ---------- */
.l2-footer-v66{position:relative;margin-top:34px;border-top:1px solid rgba(177,139,80,.28);background:linear-gradient(180deg,rgba(12,10,8,.96),rgba(7,6,5,.99));color:#9d9589;box-shadow:0 -18px 50px rgba(0,0,0,.16)}
.l2-footer-inner{width:min(1180px,calc(100% - 32px));margin:0 auto;display:grid;grid-template-columns:minmax(250px,1.45fr) repeat(3,minmax(150px,.78fr));gap:28px;padding:32px 0 25px}
.l2-footer-brand{min-width:0}
.l2-footer-logo{display:inline-flex;align-items:center;gap:11px;text-decoration:none;margin-bottom:10px}
.l2-footer-logo img{width:52px;height:52px;object-fit:contain}
.l2-footer-logo strong{display:block;color:#dfc58f;font:700 18px Georgia,serif;letter-spacing:.02em}
.l2-footer-logo small{display:block;margin-top:3px;color:#716a61;font-size:11px}
.l2-footer-brand p,.l2-footer-account p{margin:0 0 12px;max-width:390px;color:#817a70;font-size:12px;line-height:1.55}
.l2-footer-column h3{display:flex;align-items:center;gap:7px;margin:3px 0 11px;color:#bca06c;font:700 11px Georgia,serif;text-transform:uppercase;letter-spacing:.08em}
.l2-footer-column h3 i{font-size:10px;color:#806542}
.l2-footer-links,.l2-footer-socials{display:grid;gap:4px}
.l2-footer-links a,.l2-footer-socials a{display:flex;align-items:center;gap:8px;min-height:31px;padding:5px 7px;border:1px solid transparent;color:#938b80;text-decoration:none;font-size:11px}
.l2-footer-links a i,.l2-footer-socials a i{width:15px;text-align:center;color:#796448}
.l2-footer-links a:hover,.l2-footer-socials a:hover{background:#17130f;border-color:#342b21;color:#d2b780;transform:translateX(2px)!important}
.l2-footer-presence{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.l2-footer-presence>span{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid #2a251e;background:#100e0b;color:#776f65;font-size:10px}
.l2-footer-presence>span b{color:#b79b69}
.l2-footer-presence>span>i.fa-solid{color:#786346}
.l2-footer-presence .is-online i,.l2-footer-presence .is-offline i{width:6px;height:6px;border-radius:50%;background:#70a866;box-shadow:0 0 8px rgba(112,168,102,.36)}
.l2-footer-presence .is-offline i{background:#b75d56;box-shadow:none}
.l2-footer-members{margin-top:10px;max-width:430px}
.l2-footer-members__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px;color:#7f7568;font-size:9px;text-transform:uppercase;letter-spacing:.07em}
.l2-footer-members__head span{display:inline-flex;align-items:center;gap:6px}
.l2-footer-members__head i{color:#806542;font-size:9px}
.l2-footer-members__head b{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 6px;border:1px solid #30291f;background:#100e0b;color:#b99c67;font-size:9px;border-radius:999px}
.l2-footer-members__list{display:flex;flex-wrap:wrap;gap:5px;max-height:70px;overflow:auto;padding:1px 2px 2px 0;scrollbar-width:thin;scrollbar-color:#3a3024 transparent}
.l2-footer-members__list[hidden]{display:none!important}
.l2-footer-member{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:145px;height:28px;padding:3px 8px 3px 4px;border:1px solid #30291f;background:#100e0b;color:#998e80;text-decoration:none;border-radius:999px;transition:.16s ease}
.l2-footer-member:hover{background:#18130e;border-color:#5b472f;color:#dbc18c;transform:translateY(-1px)}
.l2-footer-member__avatar{width:20px;height:20px;flex:0 0 20px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:#241b12;color:#d8bb82;font-size:8px;font-weight:800;line-height:1;box-shadow:0 1px 5px rgba(0,0,0,.24)}
.l2-footer-member__avatar img{width:100%;height:100%;display:block;object-fit:cover}
.l2-footer-member__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700}
.l2-footer-connected{padding:9px 10px;margin-bottom:8px;border:1px solid #30291f;background:#100e0b;min-width:0}
.l2-footer-connected small{display:block;color:#716a61;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.l2-footer-connected strong{display:block;margin-top:3px;color:#dcc188;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.l2-footer-account-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.l2-footer-account-actions a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px;border:1px solid #3a3024;background:#15110d;color:#bba477;text-decoration:none;font-size:10px;font-weight:700}
.l2-footer-account-actions a:hover{border-color:#765b38;background:#21190f;color:#ead29f;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.l2-footer-bottom{width:min(1180px,calc(100% - 32px));margin:0 auto;display:flex;justify-content:space-between;gap:18px;padding:13px 0 15px;border-top:1px solid #26211a;color:#5f5a53;font-size:9px;line-height:1.45}
.l2-footer-v66.has-layout-switcher .l2-footer-bottom{padding-bottom:62px}

/* Portal e Minimal respeitam a largura visual de cada tema. */
html[data-l2-layout="classic-portal"] .l2-footer-inner,
html[data-l2-layout="classic-portal"] .l2-footer-bottom{width:min(1120px,calc(100% - 28px))}
html[data-l2-layout="minimal-interlude"] .l2-footer-inner,
html[data-l2-layout="minimal-interlude"] .l2-footer-bottom{width:calc(100% - 28px)}
html[data-l2-layout="minimal-interlude"] .l2-footer-inner{grid-template-columns:1.2fr repeat(3,.8fr);gap:16px;padding-top:24px}
html[data-l2-layout="minimal-interlude"] .l2-footer-logo img{width:44px;height:44px}
html[data-l2-layout="minimal-interlude"] .l2-footer-logo strong{font-size:16px}

/* ---------- MODO CLARO: CORREÇÃO FINAL DE SUPERFÍCIES ---------- */
html[data-l2-theme="light"]{
  --v66-paper:#f4efe6;
  --v66-paper-2:#eae2d5;
  --v66-paper-3:#dfd3c2;
  --v66-line:#c7b79e;
  --v66-ink:#352f29;
  --v66-muted:#6d6459;
  --v66-gold:#705126;
}

/* A página Info tinha !important locais. Estes seletores têm prioridade maior. */
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-page{
  --gold:#8a6530!important;--gold2:#6f4f22!important;--red:#8d4338!important;
  --paper:#4f463c!important;--muted:#6d6459!important;
  --panel:rgba(244,239,230,.96)!important;--panel2:rgba(234,226,213,.96)!important;
  --line:rgba(121,91,48,.28)!important;--white-line:rgba(85,69,48,.14)!important;
  background:transparent!important;color:var(--v66-ink)!important;
}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-bg{background:transparent!important;filter:none!important;opacity:1!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-bg::before,
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-bg::after{background:transparent!important;opacity:0!important}
html[data-l2-theme="light"][data-l2-page="info"] body :is(.l2r-hero,.l2r-section){background:transparent!important}
html[data-l2-theme="light"][data-l2-page="info"] body :is(
  .l2r-crest,.l2r-nav,.l2r-section-box,.l2r-card,.l2r-list-item,.l2r-media,.l2r-enchant-box,.l2r-final,.l2r-stat
){background:rgba(244,239,230,.95)!important;border-color:var(--v66-line)!important;color:var(--v66-ink)!important;box-shadow:0 10px 30px rgba(70,52,31,.07)!important}
html[data-l2-theme="light"][data-l2-page="info"] body :is(.l2r-crest,.l2r-section-box,.l2r-card,.l2r-media,.l2r-final)::after{border-color:rgba(102,77,43,.12)!important;background:transparent!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-card:hover,
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-list-item:hover,
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-stat:hover{background:#eee5d7!important;border-color:#ad8b5b!important;box-shadow:0 10px 24px rgba(71,52,31,.09)!important}
html[data-l2-theme="light"][data-l2-page="info"] body :is(.l2r-title,.l2r-heading,.l2r-crest-title,.l2r-final h2,.l2r-card h3,.l2r-list-item b,.l2r-media h3,.l2r-stat strong){color:#4a3822!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-title em{color:#765422!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="info"] body :is(.l2r-lead,.l2r-desc,.l2r-card p,.l2r-list-item span,.l2r-final p,.l2r-stat small){color:var(--v66-muted)!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="info"] body :is(.l2r-mark,.l2r-nav a,.l2r-btn.alt,.l2r-media-top button){background:#e8dece!important;border-color:#c2af91!important;color:#604721!important;box-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-nav a:hover,
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-nav a.is-active,
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-btn.alt:hover{background:#ddceb8!important;border-color:#a98758!important;color:#4e3619!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-btn:not(.alt){background:linear-gradient(180deg,#cda55f,#a77c3e)!important;color:#24170a!important;border-color:#a77c3e!important}
/* A moldura de mídia pode continuar escura para preservar contraste do vídeo/foto. */
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-media-frame{background:#17130f!important;border-color:#b7a78f!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-play{color:#f0d39a!important}

/* Páginas internas em geral: remove ilhas escuras com especificidade superior ao CSS local. */
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body :is(
  .boss-panel,.boss-next-card,.boss-stat-card,.boss-card,.boss-filter,.boss-timer-panel,.boss-info-chip,.boss-soon-item,
  .dl4-panel,.dl4-choice,.dl4-soft,.dl4-warning,.dl4-showcase,
  .don-card,.don-flow-card,.don-note,.don-visual,.don-pack-option,.don-result,.don-tab,
  .gallery-page-head,.gallery-toolbar,.gallery-card,.gallery-card-info,.gallery-filter,.gallery-filter-list,
  .support-card,.support-action,.support-stat,.support-status-row,.support-rule,.faq-item,.faq-toggle,
  .rank-panel,.rank-table-card,.rank-podium-natural,.rank-hero-card,.rank-tab,.rank-mini-stat,.rank-hero-stat,
  .glass,.glass-soft,.chart-card,.table-panel,.kpi-card,.filter-pill,
  .player-top,.player-main,.player-tabs-wrap,.player-tab,.player-stat,.char-card,.soft-card,.service-card,
  .auth-card,.auth-form-panel,.auth-art,.auth-feature,.auth-password-panel,
  .don-input,.don-btn-soft,.support-input,.support-select,.support-textarea,.auth-input,.panel-input,.panel-select,.input-dark,.select-dark
){background:rgba(244,239,230,.95)!important;border-color:var(--v66-line)!important;color:var(--v66-ink)!important;box-shadow:none!important}

/* Hero/áreas grandes ficam translúcidas para o background configurado continuar visível. */
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body :is(.boss-hero,.dl4-hero,.don-hero,.support-hero){background:rgba(238,231,219,.83)!important;border-color:var(--v66-line)!important;color:var(--v66-ink)!important;box-shadow:none!important}

/* Utilitários Tailwind escuros usados nas páginas antigas. */
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body [class*="bg-[#05"],
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body [class*="bg-[#06"],
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body [class*="bg-[#07"],
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body [class*="bg-[#08"],
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body [class*="bg-[#09"],
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body [class*="bg-[#0a"],
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body [class*="bg-black/"]{background-color:rgba(244,239,230,.95)!important}

/* Textos antigos claros sobre superfícies que agora são claras. */
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body :is(
  .rank-shell,.boss-shell,.dl4-shell,.l2r-shell,.gallery-shell,.don-shell,.support-shell,.player-shell,.auth-shell,main
) :is(.text-white,.text-zinc-100,.text-zinc-200,.text-zinc-300,.text-neutral-100,.text-neutral-200,.text-neutral-300){color:var(--v66-ink)!important}
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body :is(
  .rank-shell,.boss-shell,.dl4-shell,.l2r-shell,.gallery-shell,.don-shell,.support-shell,.player-shell,.auth-shell,main
) :is(.text-zinc-400,.text-zinc-500,.text-neutral-400,.text-neutral-500){color:var(--v66-muted)!important}

/* Não clareia o visualizador de mídia: ele precisa de fundo neutro escuro. */
html[data-l2-theme="light"] body :is(.gallery-viewer-stage,.gallery-viewer-media,.l2-gallery-lightbox-media,.l2-home-gallery-modal-content,.l2r-lightbox-box){background-color:#17130f!important;color:#f2eadb!important}
html[data-l2-theme="light"] body :is(.gallery-viewer-overlay,.l2-gallery-lightbox,.l2-home-gallery-modal,.l2r-lightbox){background:rgba(31,26,20,.84)!important}

/* Home e Minimal também ficam consistentes no claro. */
html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] body :is(.mi-side-stats,.mi-side-stat,.mi-server-rates,.mi-server-rates>div,.mi-side-links,.mi-side-links a,.mi-account-chip){background:#f1eadf!important;border-color:#c8baa4!important;color:#3e3932!important}
html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] body :is(.mi-side-stat span,.mi-server-rates span,.mi-side-links a){color:#655d52!important}
html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] body :is(.mi-side-stat b,.mi-server-rates b,.mi-side-title){color:#765626!important}

/* Rodapé claro: evita faixa preta ao final da página. */
html[data-l2-theme="light"] .l2-footer-v66{background:linear-gradient(180deg,rgba(239,233,222,.98),rgba(225,216,201,.99));border-color:#c6b79e;color:#5c554b;box-shadow:0 -10px 35px rgba(81,61,38,.08)}
html[data-l2-theme="light"] .l2-footer-logo strong,
html[data-l2-theme="light"] .l2-footer-column h3{color:#62471f}
html[data-l2-theme="light"] .l2-footer-logo small,
html[data-l2-theme="light"] .l2-footer-brand p,
html[data-l2-theme="light"] .l2-footer-account p{color:#6d6458}
html[data-l2-theme="light"] :is(.l2-footer-links a,.l2-footer-socials a,.l2-footer-presence>span,.l2-footer-connected,.l2-footer-account-actions a){background:#f4efe6;border-color:#c8baa4;color:#5d554b}
html[data-l2-theme="light"] :is(.l2-footer-links a,.l2-footer-socials a,.l2-footer-account-actions a):hover{background:#e5dac9;border-color:#aa8d62;color:#513a1c}
html[data-l2-theme="light"] .l2-footer-connected strong{color:#65491f}
html[data-l2-theme="light"] .l2-footer-bottom{border-color:#c7b9a3;color:#766d61}
html[data-l2-theme="light"] .l2-footer-members__head{color:#716658}
html[data-l2-theme="light"] .l2-footer-members__head i{color:#7b5b2c}
html[data-l2-theme="light"] .l2-footer-members__head b{background:#f4efe6;border-color:#c8baa4;color:#65491f}
html[data-l2-theme="light"] .l2-footer-member{background:#f4efe6;border-color:#c8baa4;color:#5d554b;box-shadow:0 2px 8px rgba(75,56,32,.04)}
html[data-l2-theme="light"] .l2-footer-member:hover{background:#e5dac9;border-color:#aa8d62;color:#513a1c}
html[data-l2-theme="light"] .l2-footer-member__avatar{background:#e5d6c0;color:#69491d;box-shadow:0 1px 5px rgba(79,55,28,.12)}

/* ---------- RESPONSIVIDADE ---------- */
@media(max-width:1050px){
  .l2-footer-inner{grid-template-columns:1.35fr 1fr 1fr;gap:18px}
  .l2-footer-account{grid-column:2 / 4}
  html[data-l2-layout="minimal-interlude"] .l2-footer-inner{grid-template-columns:1.2fr 1fr 1fr}
  html[data-l2-layout="minimal-interlude"] .l2-footer-account{grid-column:2 / 4}
}
@media(max-width:760px){
  .l2-footer-v66{margin-top:22px;margin-bottom:0!important;padding-bottom:0!important}
  .l2-footer-inner,.l2-footer-bottom{width:calc(100% - 22px)!important}
  .l2-footer-inner{grid-template-columns:1fr 1fr!important;gap:18px 12px;padding:24px 0 15px}
  .l2-footer-brand{grid-column:1 / -1}
  .l2-footer-account{grid-column:1 / -1!important}
  .l2-footer-brand p{max-width:none}
  .l2-footer-members{max-width:none}
  .l2-footer-members__list{max-height:92px}
  .l2-footer-bottom{display:block;margin-bottom:0!important;padding:9px 0 7px!important}
  .l2-footer-v66.has-layout-switcher .l2-footer-bottom{padding-bottom:64px!important}
  .l2-footer-bottom span{display:block;margin:2px 0}
  .mi-account-chip{max-width:115px}
}
@media(max-width:520px){
  .l2-footer-inner{grid-template-columns:1fr!important}
  .l2-footer-brand,.l2-footer-account{grid-column:auto!important}
  .l2-footer-links,.l2-footer-socials{grid-template-columns:1fr 1fr}
  .l2-footer-presence{gap:5px}
  .l2-footer-account-actions{grid-template-columns:1fr 1fr}
  .mi-account-chip span{max-width:72px}
  html[data-l2-layout="minimal-interlude"] .mi-head-tools{flex-direction:row!important;align-items:center!important;justify-content:flex-end!important}
}


/* ==========================================================================
   Fonte consolidada: assets/css/layout-refine-v69.css
   ========================================================================== */
/* =========================================================
   L2Feel V6.9 - refinamento visual dos 3 temas
   - Portal: cabeçalho reorganizado
   - Chronicle: tipografia Full HD mais legível
   - Minimal: conta/rank/notícias refinados
   - Galeria da Home: destaque estável + miniaturas
   - Claro: contraste e superfícies consistentes
   - Donate: composição mais simples
   ========================================================= */

/* ---------- GALERIA HOME: DESTAQUE ESTÁVEL ---------- */
html[data-l2-layout] .l2-gallery-v5{
  --gallery-line:rgba(177,139,80,.28);
  --gallery-panel:#0e0c09;
  --gallery-accent:#c3a064;
  padding:14px;
  border:1px solid var(--gallery-line)!important;
  background:rgba(11,9,7,.92)!important;
}
html[data-l2-layout] .l2-gallery-v5-head{margin-bottom:12px!important}
html[data-l2-layout] .l2-gallery-v5-heading{gap:11px}
html[data-l2-layout] .l2-gallery-v5-icon{width:38px;height:38px;background:#15110d;border-color:#4b3b28;color:#c5a36b}
html[data-l2-layout] .l2-gallery-v5-heading small{font-size:9px!important;letter-spacing:.13em!important;color:#927a57;opacity:1!important}
html[data-l2-layout] .l2-gallery-v5-heading h2{font-size:21px!important;color:#dec590!important}
html[data-l2-layout] .l2-gallery-v5-all{min-height:34px;padding:0 11px!important;font-size:10px!important;color:#b6a181;border-color:#4a3b2b;background:#12100d}
html[data-l2-layout] .l2-gallery-v5-all:hover{color:#f0d8a7;border-color:#8d6a3c;background:#1b150e}
html[data-l2-layout] .l2-gallery-v5-stage{grid-template-columns:minmax(0,2.25fr) minmax(220px,.72fr)!important;gap:9px!important}
html[data-l2-layout] .l2-gallery-v5-main{min-height:390px!important;border:1px solid #403426!important;background:#090806!important}
html[data-l2-layout] .l2-gallery-v5-main>img{filter:saturate(.94) contrast(1.02) brightness(.96)!important}
html[data-l2-layout] .l2-gallery-v5-main:hover>img{transform:scale(1.012)!important}
html[data-l2-layout] .l2-gallery-v5-shade{background:linear-gradient(180deg,rgba(0,0,0,.015) 58%,rgba(0,0,0,.48) 100%)!important}
html[data-l2-layout] .l2-gallery-v5-main-meta{top:13px;left:13px;right:13px}
html[data-l2-layout] .l2-gallery-v5-type,
html[data-l2-layout] .l2-gallery-v5-count{min-height:27px;font-size:9px!important;background:rgba(9,7,5,.72);border-color:rgba(229,205,156,.22);color:#d9c298}
html[data-l2-layout] .l2-gallery-v5-open-icon{width:42px;height:42px;background:rgba(8,6,4,.72);border-color:rgba(225,196,139,.35);color:#ead2a0}
html[data-l2-layout] .l2-gallery-v5-mosaic{grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr)!important;gap:9px!important;min-height:390px!important}
html[data-l2-layout] .l2-gallery-v5-tile{border:1px solid #3b3126!important;background:#0b0907!important}
html[data-l2-layout] .l2-gallery-v5-tile img{filter:saturate(.90) brightness(.93)!important}
html[data-l2-layout] .l2-gallery-v5-tile:hover img{filter:saturate(1.02) brightness(1)!important;transform:scale(1.025)!important}
html[data-l2-layout] .l2-gallery-v5-tile-shade{background:linear-gradient(180deg,transparent 62%,rgba(0,0,0,.30))!important}
html[data-l2-layout] .l2-gallery-v5-tile-type{background:rgba(8,6,4,.70);border-color:rgba(255,255,255,.18);color:#ead3a5}

/* ---------- PORTAL: CABEÇALHO NOVO ---------- */
html[data-l2-layout="classic-portal"] .cp-v69-header{position:relative;z-index:900;border-bottom:1px solid #403426;background:#0d0b08;box-shadow:0 7px 24px rgba(0,0,0,.22)}
html[data-l2-layout="classic-portal"] .cp-v69-utility{min-height:34px;border-bottom:1px solid #2d261d;background:#090806}
html[data-l2-layout="classic-portal"] .cp-v69-utility-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:14px}
html[data-l2-layout="classic-portal"] .cp-v69-server-state{display:flex;align-items:center;gap:11px;color:#837a6d;font-size:10px;letter-spacing:.055em;text-transform:uppercase}
html[data-l2-layout="classic-portal"] .cp-v69-server-state span{display:flex;align-items:center;gap:6px;font-weight:800}
html[data-l2-layout="classic-portal"] .cp-v69-server-state span i{width:6px;height:6px;border-radius:50%;background:#b96258}
html[data-l2-layout="classic-portal"] .cp-v69-server-state span.is-online{color:#7fba74}
html[data-l2-layout="classic-portal"] .cp-v69-server-state span.is-online i{background:#66a95f;box-shadow:0 0 7px rgba(102,169,95,.36)}
html[data-l2-layout="classic-portal"] .cp-v69-server-state b{color:#a78b60;font-weight:700}
html[data-l2-layout="classic-portal"] .cp-v69-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
html[data-l2-layout="classic-portal"] .cp-v69-socials{padding-right:7px;border-right:1px solid #2d261d}
html[data-l2-layout="classic-portal"] .cp-v69-socials .l2-social-pill{width:29px;height:28px;color:#8d806e}
html[data-l2-layout="classic-portal"] .cp-v69-socials .l2-social-pill:hover{color:#dfc58e;background:#17130e}
html[data-l2-layout="classic-portal"] .cp-v69-langs .l2-lang-pill{width:33px;height:26px;border:1px solid transparent;opacity:.75}
html[data-l2-layout="classic-portal"] .cp-v69-langs .l2-lang-pill.active,
html[data-l2-layout="classic-portal"] .cp-v69-langs .l2-lang-pill:hover{opacity:1;border-color:#665038;background:#17130e}
html[data-l2-layout="classic-portal"] .cp-v69-account{display:flex;align-items:center;gap:5px;margin-left:2px}
html[data-l2-layout="classic-portal"] .cp-v69-account-name,
html[data-l2-layout="classic-portal"] .cp-v69-register,
html[data-l2-layout="classic-portal"] .cp-v69-tool-icon{height:28px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #3b3024;background:#11100d;color:#b9a47c;text-decoration:none;font-size:10px;font-weight:700}
html[data-l2-layout="classic-portal"] .cp-v69-account-name{max-width:155px;padding:0 9px}
html[data-l2-layout="classic-portal"] .cp-v69-account-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-l2-layout="classic-portal"] .cp-v69-register{padding:0 9px;background:#76572f;border-color:#9b7745;color:#fff0cf}
html[data-l2-layout="classic-portal"] .cp-v69-tool-icon{width:29px}
html[data-l2-layout="classic-portal"] .cp-v69-account a:hover{border-color:#8d6a3e;color:#f0d7a4;background:#1b150f}
html[data-l2-layout="classic-portal"] .cp-v69-brandbar{background:linear-gradient(180deg,#17130e,#100d0a);border-bottom:1px solid #3a3024}
html[data-l2-layout="classic-portal"] .cp-v69-brandbar .cp-wrap{min-height:92px;display:flex;align-items:center;justify-content:center}
html[data-l2-layout="classic-portal"] .cp-v69-brand{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;text-align:left}
html[data-l2-layout="classic-portal"] .cp-v69-brand img{width:68px;height:68px;object-fit:contain}
html[data-l2-layout="classic-portal"] .cp-v69-brand strong{display:block;color:#dec38b;font:700 25px Georgia,serif;letter-spacing:.055em}
html[data-l2-layout="classic-portal"] .cp-v69-brand small{display:block;margin-top:4px;color:#827665;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
html[data-l2-layout="classic-portal"] .cp-v69-nav{height:46px;background:#11100d;border-bottom:1px solid #3c3124}
html[data-l2-layout="classic-portal"] .cp-v69-nav-inner{height:46px;display:flex;align-items:stretch;justify-content:center;overflow:visible}
html[data-l2-layout="classic-portal"] .cp-v69-nav>a,
html[data-l2-layout="classic-portal"] .cp-v69-nav-item>a{position:relative;height:46px;padding:0 14px;display:flex;align-items:center;justify-content:center;gap:7px;color:#a79a87;text-decoration:none;border-left:1px solid #27221b;font-size:10px;font-weight:700;white-space:nowrap}
html[data-l2-layout="classic-portal"] .cp-v69-nav-inner>a:last-child,
html[data-l2-layout="classic-portal"] .cp-v69-nav-item:last-child>a{border-right:1px solid #27221b}
html[data-l2-layout="classic-portal"] .cp-v69-nav a>i:first-child{font-size:10px;color:#806744}
html[data-l2-layout="classic-portal"] .cp-v69-nav a:hover,
html[data-l2-layout="classic-portal"] .cp-v69-nav a.active,
html[data-l2-layout="classic-portal"] .cp-v69-nav-item.active>a{background:#1b1711;color:#e1ca99}
html[data-l2-layout="classic-portal"] .cp-v69-chevron{font-size:7px!important;color:#665742!important}
html[data-l2-layout="classic-portal"] .cp-v69-submenu{top:46px}

/* ---------- CHRONICLE: LEITURA MELHOR EM FULL HD ---------- */
html[data-l2-layout="classic-hybrid"] .cr-mainbar{height:78px;grid-template-columns:235px minmax(0,1fr) 235px}
html[data-l2-layout="classic-hybrid"] .cr-brand img{width:60px;height:60px}
html[data-l2-layout="classic-hybrid"] .cr-brand{gap:11px}
html[data-l2-layout="classic-hybrid"] .cr-brand strong{font-size:21px}
html[data-l2-layout="classic-hybrid"] .cr-brand small{font-size:9px;letter-spacing:.10em}
html[data-l2-layout="classic-hybrid"] .cr-menu{height:78px}
html[data-l2-layout="classic-hybrid"] .cr-menu a{height:78px;font-size:10px;min-width:72px}
html[data-l2-layout="classic-hybrid"] .cr-menu a i{font-size:12px}
html[data-l2-layout="classic-hybrid"] .cr-pulse>div{min-height:68px;padding:11px 16px}
html[data-l2-layout="classic-hybrid"] .cr-pulse span{font-size:10px;letter-spacing:.075em;color:#8b8174}
html[data-l2-layout="classic-hybrid"] .cr-pulse span i{width:14px}
html[data-l2-layout="classic-hybrid"] .cr-pulse strong{margin-top:5px;font-size:16px}
html[data-l2-layout="classic-hybrid"] .cr-pulse strong em{font-size:11px;margin-left:5px}
html[data-l2-layout="classic-hybrid"] .l2-module-kicker{font-size:10px!important;letter-spacing:.11em!important}
html[data-l2-layout="classic-hybrid"] .l2-module-head h2{font-size:19px!important;line-height:1.2!important}
html[data-l2-layout="classic-hybrid"] .l2-stats-live{font-size:10px!important;letter-spacing:.065em!important}
html[data-l2-layout="classic-hybrid"] .l2-stat-card{min-height:66px!important;padding:10px!important}
html[data-l2-layout="classic-hybrid"] .l2-stat-card strong{font-size:17px!important;line-height:1.05!important}
html[data-l2-layout="classic-hybrid"] .l2-stat-card>div>span{margin-top:4px;font-size:10px!important;line-height:1.2!important}
html[data-l2-layout="classic-hybrid"] .l2-stat-icon{font-size:12px!important}
html[data-l2-layout="classic-hybrid"] .cr-section-title>div>span{font-size:10px!important;letter-spacing:.12em!important}
html[data-l2-layout="classic-hybrid"] .cr-section-title h2{font-size:24px!important}
html[data-l2-layout="classic-hybrid"] .cr-section-title>a{font-size:10px!important}
html[data-l2-layout="classic-hybrid"] .cr-boss .info b{font-size:15px!important}
html[data-l2-layout="classic-hybrid"] .cr-boss .info small{font-size:10px!important}
html[data-l2-layout="classic-hybrid"] .cr-boss .info .detail{font-size:9px!important}
html[data-l2-layout="classic-hybrid"] .l2-home-rankings-head h2{font-size:19px!important}
html[data-l2-layout="classic-hybrid"] .l2-home-rank-card>header strong{font-size:13px!important}
html[data-l2-layout="classic-hybrid"] .l2-home-rank-pos{font-size:10px!important}
html[data-l2-layout="classic-hybrid"] .l2-home-rank-player b{font-size:12px!important}
html[data-l2-layout="classic-hybrid"] .l2-home-rank-score strong{font-size:14px!important}

/* ---------- MINIMAL ---------- */
html[data-l2-layout="minimal-interlude"] .mi-head-account{display:flex;align-items:center;gap:4px;min-width:0}
html[data-l2-layout="minimal-interlude"] .mi-head-logout{width:29px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #332b21;background:#11100d;color:#a58c63;text-decoration:none}
html[data-l2-layout="minimal-interlude"] .mi-head-logout:hover{border-color:#6d5434;background:#1d1710;color:#e5ca93}
html[data-l2-layout="minimal-interlude"] .l2-home-rank-pos{width:26px;height:26px;font-size:11px!important}
html[data-l2-layout="minimal-interlude"] .l2-home-rank-score strong{font-size:14px!important}
html[data-l2-layout="minimal-interlude"] .l2-home-rank-score small{font-size:8px!important}
html[data-l2-layout="minimal-interlude"] .l2-home-rank-player b{font-size:11px!important}
html[data-l2-layout="minimal-interlude"] .mi-news-grid .mi-row{padding:10px 11px!important;display:block!important}
html[data-l2-layout="minimal-interlude"] .mi-news-grid .mi-row b{display:block;font-size:11px!important;line-height:1.28!important}
html[data-l2-layout="minimal-interlude"] .mi-news-grid .mi-row p{display:-webkit-box;margin:5px 0 5px;color:#7f776b;font-size:10px;line-height:1.42;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html[data-l2-layout="minimal-interlude"] .mi-news-grid .mi-row span{display:block;font-size:8px!important;color:#6f675c}

/* ---------- DONATE V6.9: MAIS SIMPLES E DIRETO ---------- */
html[data-l2-page="donate"] .don-clean-bg{background:transparent!important;opacity:0!important}
html[data-l2-page="donate"] .don-clean-grid{display:none!important}
html[data-l2-page="donate"] .don-shell{width:min(1180px,calc(100% - 32px));margin:18px auto 48px!important;padding:0!important}
html[data-l2-page="donate"] .don-hero{padding:22px!important;margin:0 0 12px!important;border:1px solid rgba(177,139,80,.30)!important;background:rgba(12,10,8,.92)!important;overflow:hidden}
html[data-l2-page="donate"] .don-hero::before{display:none!important}
html[data-l2-page="donate"] .don-hero>.max-w-7xl{max-width:none!important;display:block!important}
html[data-l2-page="donate"] .don-hero .don-visual{display:none!important}
html[data-l2-page="donate"] .don-kicker{padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;color:#b99054!important;font-size:10px!important;letter-spacing:.13em!important}
html[data-l2-page="donate"] .don-title{max-width:780px!important;margin:7px 0 0!important;font-size:clamp(31px,3.1vw,43px)!important;line-height:1.05!important;letter-spacing:.015em!important;text-transform:none!important;text-shadow:none!important}
html[data-l2-page="donate"] .don-hero p{max-width:760px!important;margin-top:9px!important;font-size:13px!important;line-height:1.58!important}
html[data-l2-page="donate"] .don-hero .mt-7{margin-top:15px!important}
html[data-l2-page="donate"] .don-btn-primary,
html[data-l2-page="donate"] .don-btn-soft{min-height:40px!important;padding:0 14px!important;font-size:10px!important;letter-spacing:.07em!important}
html[data-l2-page="donate"] .don-shell>section.px-4{padding:0!important}
html[data-l2-page="donate"] .don-shell .max-w-7xl{max-width:none!important}
html[data-l2-page="donate"] .don-shell .space-y-8{display:grid;gap:12px!important}
html[data-l2-page="donate"] .don-card{border-radius:0!important;background:rgba(13,11,8,.93)!important;border:1px solid rgba(177,139,80,.25)!important;box-shadow:none!important;backdrop-filter:none!important}
html[data-l2-page="donate"] .don-card::before{display:none!important}
html[data-l2-page="donate"] .don-card.gold{background:rgba(16,12,8,.95)!important;border-color:rgba(192,149,81,.40)!important}
html[data-l2-page="donate"] .don-card-line{background:#7f6037!important;opacity:.7}
html[data-l2-page="donate"] .don-flow-card{min-height:82px!important;padding:11px!important;background:#11100d!important;border-color:#31291f!important}
html[data-l2-page="donate"] .don-flow-icon{width:34px!important;height:34px!important;margin-bottom:8px!important;background:#1a150f!important;border-color:#584229!important;color:#d4b478!important}
html[data-l2-page="donate"] #donation-panel{gap:12px!important}
html[data-l2-page="donate"] .don-card .p-5,
html[data-l2-page="donate"] .don-card .md\:p-7{padding:18px!important}
html[data-l2-page="donate"] .don-tab{min-height:41px!important;font-size:10px!important;letter-spacing:.08em!important}
html[data-l2-page="donate"] .don-input{min-height:58px!important;font-size:23px!important;background:#0c0a08!important}
html[data-l2-page="donate"] .don-result{min-height:58px!important;background:#16120c!important}
html[data-l2-page="donate"] .don-note{background:#100e0b!important;border-color:#30291f!important}
html[data-l2-page="donate"] .don-action-btn{min-height:46px!important;font-size:10px!important;letter-spacing:.08em!important}
html[data-l2-page="donate"] .don-pack-option{padding:10px!important;background:#100e0b!important;border-color:#30291f!important;transform:none!important}
html[data-l2-page="donate"] .don-pack-option:hover{background:#18130e!important;border-color:#725635!important;transform:none!important}
html[data-l2-page="donate"] .don-pack-option.active{background:#1c160e!important;border-color:#9b743f!important;box-shadow:none!important}
html[data-l2-page="donate"] .don-pack-option .w-11{border-radius:0!important;background:#17130e!important}
html[data-l2-page="donate"] .don-pill{border-radius:0!important;padding:5px 8px!important;font-size:9px!important}
html[data-l2-page="donate"] .don-anim{opacity:1!important;animation:none!important}

/* ---------- MODO CLARO: CORES MAIS FORTES E SUPERFÍCIES COERENTES ---------- */
html[data-l2-theme="light"]{
  --v69-paper:#f5f0e7;
  --v69-paper-2:#e9dfd0;
  --v69-paper-3:#ddd0bd;
  --v69-line:#b9a78d;
  --v69-ink:#312b24;
  --v69-muted:#665d52;
  --v69-gold:#66471d;
  --v69-green:#35693b;
  --v69-red:#8a433c;
}
html[data-l2-theme="light"] body{color:var(--v69-ink)!important}
html[data-l2-theme="light"] :is(.is-online,.online,.cp-green,.l2-stats-live,.l2-rank-online){color:var(--v69-green)!important;text-shadow:0 1px 0 rgba(255,255,255,.75),0 0 5px rgba(53,105,59,.10)!important}
html[data-l2-theme="light"] :is(.cp-gold,.cr-kicker,.l2-module-kicker,.l2-gallery-v5-heading small,.mi-side-title){color:var(--v69-gold)!important;text-shadow:0 1px 0 rgba(255,255,255,.75)!important}
html[data-l2-theme="light"] :is(.cr-brand strong,.cp-v69-brand strong,.mi-left strong,.l2-module-head h2,.l2-home-rankings-head h2,.l2-gallery-v5-heading h2,.cr-section-title h2){color:#5e4018!important;text-shadow:0 1px 0 rgba(255,255,255,.72)!important}

/* Portal claro */
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-v69-header,
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-v69-utility,
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-v69-brandbar,
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-v69-nav{background:rgba(238,230,218,.97)!important;border-color:var(--v69-line)!important;box-shadow:none!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-v69-brandbar{background:rgba(232,222,207,.98)!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-v69-nav>a,
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-v69-nav-item>a{color:#4b443a!important;border-color:#c7b8a1!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-v69-nav a:hover,
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-v69-nav a.active{background:#d8cbb8!important;color:#583a16!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] :is(.cp-v69-account-name,.cp-v69-register,.cp-v69-tool-icon,.cp-v69-socials .l2-social-pill,.cp-v69-langs .l2-lang-pill,.l2-theme-toggle){background:#f3ede4!important;border-color:#bca98e!important;color:#4e4539!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-v69-register{background:#d7c19d!important;color:#402b13!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-v69-server-state{color:#5f574c!important}

/* Home claro: módulos e ícones sem caixas pretas residuais. */
html[data-l2-theme="light"] :is(.l2-gallery-v5,.l2-home-module,.l2-home-rankings,.l2-home-rank-card,.mi-box,.cp-panel,.cr-news-list){background:rgba(245,240,231,.95)!important;border-color:var(--v69-line)!important;color:var(--v69-ink)!important}
html[data-l2-theme="light"] :is(.l2-gallery-v5-icon,.l2-home-rankings-head>div>span,.l2-stat-icon,.mi-side-stats,.mi-server-rates,.mi-head-logout,.mi-account-chip){background:#e7dccb!important;border-color:#b9a78d!important;color:#62461f!important;box-shadow:none!important}
html[data-l2-theme="light"] :is(.l2-home-rank-card>header,.l2-module-head,.cp-panel-title){background:#e3d7c5!important;border-color:#bca98e!important;color:#5e421d!important}
html[data-l2-theme="light"] :is(.l2-home-rank-row,.l2-stat-card,.mi-row,.cp-news-item){border-color:rgba(105,83,53,.16)!important;color:var(--v69-ink)!important}
html[data-l2-theme="light"] :is(.l2-home-rank-row:hover,.mi-row:hover,.cp-news-item:hover){background:#eadfce!important}
html[data-l2-theme="light"] .l2-home-rank-avatar{background:#ded1bd!important;border-color:#aa9068!important;color:#5e421d!important}
html[data-l2-theme="light"] .l2-home-rank-player small,
html[data-l2-theme="light"] .l2-home-rank-score small,
html[data-l2-theme="light"] .mi-news-grid .mi-row p,
html[data-l2-theme="light"] .mi-news-grid .mi-row span{color:#665d52!important;opacity:1!important}
html[data-l2-theme="light"] .l2-gallery-v5-main{border-color:#ad9b80!important;background:#d8cbb8!important}
html[data-l2-theme="light"] .l2-gallery-v5-main>img{filter:saturate(.98) contrast(1.01) brightness(1)!important}
html[data-l2-theme="light"] .l2-gallery-v5-shade{background:linear-gradient(180deg,rgba(255,255,255,0) 62%,rgba(45,34,23,.30) 100%)!important}
html[data-l2-theme="light"] .l2-gallery-v5-tile{background:#ddd1bf!important;border-color:#b5a287!important}
html[data-l2-theme="light"] .l2-gallery-v5-tile img{filter:saturate(.98) brightness(1)!important}
html[data-l2-theme="light"] .l2-gallery-v5-tile-shade{background:linear-gradient(180deg,transparent 70%,rgba(43,31,20,.20))!important}
/* Badges sobre imagens permanecem escuros deliberadamente para contraste. */
html[data-l2-theme="light"] :is(.l2-gallery-v5-type,.l2-gallery-v5-count,.l2-gallery-v5-open-icon,.l2-gallery-v5-tile-type){background:rgba(43,34,25,.76)!important;color:#f6e8cc!important;border-color:rgba(255,255,255,.36)!important}

/* Páginas internas: superfície única e texto escuro. */
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body :is(
  .rank-hero,.rank-content,.rank-panel,.rank-table-card,.rank-podium-natural,.rank-hero-card,.rank-tab,.rank-mini-stat,.rank-hero-stat,.rank-score-box,.rank-table-head,.rank-table-tr,
  .boss-hero,.boss-panel,.boss-next-card,.boss-stat-card,.boss-card,.boss-filter,.boss-timer-panel,.boss-info-chip,.boss-soon-item,.boss-section-head,
  .dl4-hero,.dl4-panel,.dl4-choice,.dl4-soft,.dl4-warning,.dl4-showcase,.dl4-download-card,.dl4-extra-card,.dl4-feature,.dl4-step,.dl4-table-row,.dl4-path-code,
  .gallery-page-head,.gallery-toolbar,.gallery-card,.gallery-card-info,.gallery-filter,.gallery-filter-list,.gallery-stat,
  .support-card,.support-action,.support-stat,.support-status-row,.support-rule,.faq-item,.faq-toggle,
  .don-card,.don-flow-card,.don-note,.don-pack-option,.don-result,.don-tab,.don-input,
  .player-top,.player-main,.player-tabs-wrap,.player-tab,.player-stat,.char-card,.soft-card,.service-card,
  .auth-card,.auth-form-panel,.auth-feature,.auth-password-panel
){background:rgba(245,240,231,.96)!important;border-color:var(--v69-line)!important;color:var(--v69-ink)!important;box-shadow:none!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body :is(.rank-grid-bg,.boss-hero-bg,.dl4-hero-bg,.gallery-page::before){opacity:.035!important;filter:none!important}
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body :is(.rank-card-orb,.rank-card-shine,.boss-line,.dl4-ornament){opacity:.10!important}
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body :is(h1,h2,h3,h4,.font-fantasy,.rank-score-value,.boss-name,.dl4-title,.gallery-title){color:#583c19!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page]:not([data-l2-page="index"]) body :is(p,small,.don-muted,.rank-mini-label,.rank-score-label,.gallery-lead,.dl4-lead){color:var(--v69-muted)!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="boss"] body .boss-card img{filter:saturate(.96) brightness(1)!important}
html[data-l2-theme="light"][data-l2-page="gallery"] body .gallery-thumb{filter:saturate(.98) brightness(1)!important}
html[data-l2-theme="light"][data-l2-page="downloads"] body :is(.dl4-icon,.dl4-step-number,.dl4-badge,.dl4-pill){background:#e2d5c2!important;border-color:#b49f80!important;color:#60431e!important;box-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="boss"] body :is(.boss-pill,.boss-kicker,.boss-status-pill,.boss-info-chip,.boss-update-badge){background:#e3d6c3!important;border-color:#b39e7e!important;color:#60431d!important;box-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="rankings"] body :is(.rank-pill,.rank-position-badge,.rank-position-mini,.rank-empty-icon){background:#e3d6c3!important;border-color:#b39e7e!important;color:#60431d!important;box-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="gallery"] body :is(.gallery-mark,.gallery-type,.gallery-open-icon){background:#e2d5c2!important;border-color:#b49f80!important;color:#60431e!important;box-shadow:none!important}

/* Donate claro */
html[data-l2-theme="light"][data-l2-page="donate"] .don-hero,
html[data-l2-theme="light"][data-l2-page="donate"] .don-card,
html[data-l2-theme="light"][data-l2-page="donate"] .don-card.gold,
html[data-l2-theme="light"][data-l2-page="donate"] .don-flow-card,
html[data-l2-theme="light"][data-l2-page="donate"] .don-note,
html[data-l2-theme="light"][data-l2-page="donate"] .don-pack-option,
html[data-l2-theme="light"][data-l2-page="donate"] .don-input,
html[data-l2-theme="light"][data-l2-page="donate"] .don-result,
html[data-l2-theme="light"][data-l2-page="donate"] .don-tab{background:rgba(245,240,231,.97)!important;border-color:var(--v69-line)!important;color:var(--v69-ink)!important}
html[data-l2-theme="light"][data-l2-page="donate"] .don-pack-option.active{background:#e3d4bd!important;border-color:#967344!important}
html[data-l2-theme="light"][data-l2-page="donate"] .don-flow-icon,
html[data-l2-theme="light"][data-l2-page="donate"] .don-pack-option .w-11{background:#e3d7c5!important;border-color:#b49f80!important;color:#60431d!important}
html[data-l2-theme="light"][data-l2-page="donate"] :is(.text-white,.text-zinc-300,.text-zinc-400,.text-zinc-500,.text-zinc-600){color:var(--v69-ink)!important}
html[data-l2-theme="light"][data-l2-page="donate"] .don-muted{color:var(--v69-muted)!important}

/* ---------- RESPONSIVIDADE ---------- */
@media(max-width:1100px){
  html[data-l2-layout="classic-portal"] .cp-v69-nav>a,
  html[data-l2-layout="classic-portal"] .cp-v69-nav-item>a{padding:0 10px;font-size:9px}
  html[data-l2-layout="classic-hybrid"] .cr-mainbar{grid-template-columns:205px minmax(0,1fr) 205px}
  html[data-l2-layout="classic-hybrid"] .cr-brand img{width:54px;height:54px}
}
@media(max-width:850px){
  html[data-l2-layout] .l2-gallery-v5-stage{grid-template-columns:1fr!important}
  html[data-l2-layout] .l2-gallery-v5-main{min-height:300px!important}
  html[data-l2-layout] .l2-gallery-v5-mosaic{grid-template-columns:repeat(3,1fr)!important;grid-template-rows:84px!important;min-height:84px!important}
  html[data-l2-layout="classic-portal"] .cp-v69-utility-inner{align-items:flex-start;padding:6px 0}
  html[data-l2-layout="classic-portal"] .cp-v69-socials{display:none}
  html[data-l2-layout="classic-portal"] .cp-v69-brandbar .cp-wrap{min-height:76px}
  html[data-l2-layout="classic-portal"] .cp-v69-brand img{width:57px;height:57px}
  html[data-l2-layout="classic-portal"] .cp-v69-brand strong{font-size:21px}
  html[data-l2-layout="classic-portal"] .cp-v69-nav-inner{justify-content:flex-start;overflow-x:auto}
  html[data-l2-layout="classic-portal"] .cp-v69-nav>a,
  html[data-l2-layout="classic-portal"] .cp-v69-nav-item>a{padding:0 13px;font-size:10px}
  html[data-l2-page="donate"] .don-shell{width:calc(100% - 20px)}
}
@media(max-width:620px){
  html[data-l2-layout] .l2-gallery-v5{padding:9px}
  html[data-l2-layout] .l2-gallery-v5-heading h2{font-size:17px!important}
  html[data-l2-layout] .l2-gallery-v5-heading small{font-size:8px!important}
  html[data-l2-layout] .l2-gallery-v5-main{min-height:235px!important}
  html[data-l2-layout] .l2-gallery-v5-mosaic{grid-template-columns:repeat(3,108px)!important;grid-template-rows:70px!important;min-height:70px!important;overflow-x:auto}
  html[data-l2-layout="classic-portal"] .cp-v69-utility-inner{display:block}
  html[data-l2-layout="classic-portal"] .cp-v69-server-state{justify-content:center;margin-bottom:6px}
  html[data-l2-layout="classic-portal"] .cp-v69-tools{justify-content:center;flex-wrap:wrap}
  html[data-l2-layout="classic-portal"] .cp-v69-account-name{max-width:120px}
  html[data-l2-layout="classic-hybrid"] .cr-brand img{width:50px;height:50px}
  html[data-l2-layout="minimal-interlude"] .mi-head-account{max-width:135px}
  html[data-l2-layout="minimal-interlude"] .mi-account-chip{max-width:101px}
  html[data-l2-page="donate"] .don-hero{padding:16px!important}
  html[data-l2-page="donate"] .don-title{font-size:29px!important}
  html[data-l2-page="donate"] .don-hero p{font-size:12px!important}
  html[data-l2-page="donate"] #donation-panel{display:block!important}
  html[data-l2-page="donate"] #donation-panel>article+article{margin-top:10px!important}
}

/* Ajustes específicos de overlays no claro: preserva profundidade sem "fader" preto. */
html[data-l2-theme="light"][data-l2-page="downloads"] body .dl4-hero::after{background:linear-gradient(90deg,rgba(239,232,220,.72),rgba(239,232,220,.30),rgba(239,232,220,.72)),linear-gradient(to bottom,rgba(239,232,220,.62),rgba(239,232,220,.16) 48%,rgba(239,232,220,.70))!important}
html[data-l2-theme="light"][data-l2-page="downloads"] body :is(.dl4-screen-caption,.dl4-btn-secondary){background:rgba(57,45,31,.72)!important;color:#f6ead2!important;border-color:rgba(255,255,255,.24)!important}
html[data-l2-theme="light"][data-l2-page="gallery"] body .gallery-card::after{background:linear-gradient(180deg,transparent 62%,rgba(42,31,20,.38))!important}
html[data-l2-theme="light"][data-l2-page="gallery"] body .gallery-card::before{opacity:.04!important}
html[data-l2-theme="light"][data-l2-page="gallery"] body .gallery-thumb{opacity:1!important;background:#ded2c0!important}
html[data-l2-theme="light"][data-l2-page="rankings"] body :is(.rank-card-orb,.rank-card-shine){opacity:.04!important}
html[data-l2-theme="light"][data-l2-page="boss"] body .boss-card::after,
html[data-l2-theme="light"][data-l2-page="boss"] body .boss-panel::after,
html[data-l2-theme="light"][data-l2-page="boss"] body .boss-next-card::after{border-color:rgba(83,62,37,.10)!important}
html[data-l2-theme="light"][data-l2-page="boss"] body .boss-filter-active{background:#c9ac7e!important;color:#33210e!important;border-color:#9b7747!important}

/* =========================================================
   V6.9.1 - acabamento final solicitado
   ========================================================= */

/* GALERIA HOME: composição editorial, destaque dominante + 4 apoios. */
html[data-l2-layout] .l2-gallery-v5-stage{
  grid-template-columns:minmax(0,2.35fr) minmax(260px,.95fr)!important;
  gap:10px!important;
}
html[data-l2-layout] .l2-gallery-v5-main{min-height:430px!important}
html[data-l2-layout] .l2-gallery-v5-mosaic{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  min-height:430px!important;
  gap:10px!important;
}
html[data-l2-layout] .l2-gallery-v5-tile{min-height:0!important}
html[data-l2-layout] .l2-gallery-v5-main>img,
html[data-l2-layout] .l2-gallery-v5-tile>img{width:100%;height:100%;object-fit:cover;object-position:center}
html[data-l2-layout] .l2-gallery-v5-main{aspect-ratio:16/9}
html[data-l2-layout] .l2-gallery-v5-tile{aspect-ratio:auto}

/* CHRONICLE: escala de leitura realmente confortável em Full HD. */
@media(min-width:1501px){
  html[data-l2-layout="classic-hybrid"] .cr-mainbar{height:88px;grid-template-columns:270px minmax(0,1fr) 270px}
  html[data-l2-layout="classic-hybrid"] .cr-brand img{width:74px;height:74px}
  html[data-l2-layout="classic-hybrid"] .cr-brand strong{font-size:25px}
  html[data-l2-layout="classic-hybrid"] .cr-brand small{font-size:11px}
  html[data-l2-layout="classic-hybrid"] .cr-menu{height:88px}
  html[data-l2-layout="classic-hybrid"] .cr-menu a{height:88px;font-size:11.5px;min-width:78px}
  html[data-l2-layout="classic-hybrid"] .cr-menu a i{font-size:13px}
  html[data-l2-layout="classic-hybrid"] .cr-account-main{font-size:11.5px}

  html[data-l2-layout="classic-hybrid"] .cr-pulse>div{min-height:82px;padding:14px 18px}
  html[data-l2-layout="classic-hybrid"] .cr-pulse span{font-size:12px;letter-spacing:.065em;line-height:1.2}
  html[data-l2-layout="classic-hybrid"] .cr-pulse span i{width:16px;font-size:12px}
  html[data-l2-layout="classic-hybrid"] .cr-pulse strong{margin-top:7px;font-size:21px;line-height:1.08}
  html[data-l2-layout="classic-hybrid"] .cr-pulse strong em{font-size:13px}

  html[data-l2-layout="classic-hybrid"] .l2-module-kicker{font-size:12px!important;letter-spacing:.09em!important}
  html[data-l2-layout="classic-hybrid"] .l2-module-head h2{font-size:23px!important}
  html[data-l2-layout="classic-hybrid"] .l2-stats-live{font-size:12px!important;letter-spacing:.05em!important}
  html[data-l2-layout="classic-hybrid"] .l2-stat-card{min-height:76px!important;padding:12px 13px!important}
  html[data-l2-layout="classic-hybrid"] .l2-stat-card strong{font-size:20px!important}
  html[data-l2-layout="classic-hybrid"] .l2-stat-card>div>span{font-size:11.5px!important;line-height:1.3!important}
  html[data-l2-layout="classic-hybrid"] .l2-stat-icon{font-size:13px!important}

  html[data-l2-layout="classic-hybrid"] .cr-section-title>div>span{font-size:11.5px!important}
  html[data-l2-layout="classic-hybrid"] .cr-section-title h2{font-size:26px!important}
  html[data-l2-layout="classic-hybrid"] .cr-section-title>a{font-size:11px!important}
  html[data-l2-layout="classic-hybrid"] .cr-boss .info b{font-size:17px!important}
  html[data-l2-layout="classic-hybrid"] .cr-boss .info small{font-size:12px!important}
  html[data-l2-layout="classic-hybrid"] .cr-boss .info .detail{font-size:10.5px!important}
}

/* Chronicle HD / notebooks: ainda legível, sem estourar a navegação. */
@media(min-width:1101px) and (max-width:1500px){
  html[data-l2-layout="classic-hybrid"] .cr-mainbar{height:82px;grid-template-columns:235px minmax(0,1fr) 235px}
  html[data-l2-layout="classic-hybrid"] .cr-brand img{width:65px;height:65px}
  html[data-l2-layout="classic-hybrid"] .cr-brand strong{font-size:22px}
  html[data-l2-layout="classic-hybrid"] .cr-brand small{font-size:10px}
  html[data-l2-layout="classic-hybrid"] .cr-menu{height:82px}
  html[data-l2-layout="classic-hybrid"] .cr-menu a{height:82px;font-size:10.5px}
  html[data-l2-layout="classic-hybrid"] .cr-pulse span{font-size:11px}
  html[data-l2-layout="classic-hybrid"] .cr-pulse strong{font-size:18px}
  html[data-l2-layout="classic-hybrid"] .l2-module-kicker{font-size:11px!important}
  html[data-l2-layout="classic-hybrid"] .l2-module-head h2{font-size:21px!important}
  html[data-l2-layout="classic-hybrid"] .l2-stats-live{font-size:11px!important}
  html[data-l2-layout="classic-hybrid"] .l2-stat-card>div>span{font-size:10.5px!important}
}

/* MINIMAL: ranking e notícias sem microtexto. */
html[data-l2-layout="minimal-interlude"] .l2-home-rank-pos{width:29px;height:29px;font-size:13px!important;font-weight:800}
html[data-l2-layout="minimal-interlude"] .l2-home-rank-score strong{font-size:16px!important}
html[data-l2-layout="minimal-interlude"] .l2-home-rank-score small{font-size:9.5px!important}
html[data-l2-layout="minimal-interlude"] .l2-home-rank-player b{font-size:12px!important}
html[data-l2-layout="minimal-interlude"] .l2-home-rank-player small{font-size:9.5px!important}
html[data-l2-layout="minimal-interlude"] .mi-news-grid .mi-row b{font-size:12px!important}
html[data-l2-layout="minimal-interlude"] .mi-news-grid .mi-row p{font-size:11px!important;line-height:1.45}
html[data-l2-layout="minimal-interlude"] .mi-news-grid .mi-row span{font-size:9px!important}

/* LIGHT: paleta semântica única. Dourado/verde mais escuros, com halo muito sutil. */
html[data-l2-theme="light"]{
  --v69-paper:#f4eee4;
  --v69-paper-2:#e8ddcc;
  --v69-paper-3:#dbccb7;
  --v69-line:#ad9a7e;
  --v69-ink:#2e2923;
  --v69-muted:#5e554a;
  --v69-gold:#5d3d13;
  --v69-green:#2e6537;
  --v69-red:#803a34;
}
html[data-l2-theme="light"] :is(.is-online,.online,.cp-green,.l2-stats-live,.l2-rank-online,.boss-status-alive,.support-online-pill){
  color:var(--v69-green)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.95),0 0 4px rgba(46,101,55,.16)!important;
}
html[data-l2-theme="light"] :is(.cp-gold,.cr-kicker,.l2-module-kicker,.l2-gallery-v5-heading small,.mi-side-title,.l2r-kicker,.l2r-crest-title,.stats-kicker,.rank-pill-gold){
  color:var(--v69-gold)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.92),0 0 4px rgba(93,61,19,.10)!important;
}

/* Light: INFO completa, inclusive os !important internos da página. */
html[data-l2-theme="light"][data-l2-page="info"] body :is(
  .l2r-page,.l2r-hero,.l2r-crest,.l2r-nav,.l2r-section-box,.l2r-card,.l2r-list-item,.l2r-media,.l2r-enchant-box,.l2r-final,.l2r-stat
){background:rgba(244,238,228,.96)!important;border-color:var(--v69-line)!important;color:var(--v69-ink)!important;box-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="info"] body :is(.l2r-title,.l2r-title em,.l2r-heading,.l2r-card h3,.l2r-list-item b,.l2r-media h3,.l2r-stat strong,.l2r-enchant-box strong,.l2r-final h2){color:#563814!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="info"] body :is(.l2r-lead,.l2r-desc,.l2r-card p,.l2r-list-item span,.l2r-stat small,.l2r-final p){color:var(--v69-muted)!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-bg{opacity:.08!important;filter:none!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-bg::before,
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-bg::after{opacity:.06!important;background:none!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-nav a{background:#e8dccb!important;border-color:#baa589!important;color:#40382f!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-nav a:hover,
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-nav a.is-active{background:#d7c6aa!important;border-color:#9a7a4e!important;color:#4f3210!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-list-item i{background:#dfd0ba!important;border-color:#ac9572!important;color:#5c3e18!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-media-frame{background:#d9ccb9!important;border-color:#aa9678!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-media-frame video,
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-media-frame img{background:#d9ccb9!important;filter:saturate(.98) brightness(1)!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-media-frame::after{background:linear-gradient(180deg,transparent 80%,rgba(48,35,22,.20))!important}
html[data-l2-theme="light"][data-l2-page="info"] body .l2r-play{background:rgba(55,42,29,.72)!important;color:#f5e6c8!important;border-color:rgba(255,255,255,.30)!important}
/* lightbox deliberadamente escuro para a mídia. */
html[data-l2-theme="light"][data-l2-page="info"] body :is(.l2r-lightbox,.l2r-lightbox-box,.l2r-lightbox-content){background:#080706!important;color:#f4ead8!important}

/* Light: STATS (a página tinha várias regras dark com !important). */
html[data-l2-theme="light"][data-l2-page="stats"] body :is(.glass,.kpi-card,.chart-card,.table-panel,.filter-pill){
  background:rgba(244,238,228,.96)!important;border-color:var(--v69-line)!important;color:var(--v69-ink)!important;box-shadow:none!important;
}
html[data-l2-theme="light"][data-l2-page="stats"] body .stats-bg{opacity:.06!important;filter:none!important}
html[data-l2-theme="light"][data-l2-page="stats"] body .stats-grid{opacity:.045!important}
html[data-l2-theme="light"][data-l2-page="stats"] body :is(.stats-hero-title,.kpi-card p.text-4xl,.kpi-card p.text-3xl,.chart-card h3,.table-panel h3){color:#563814!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="stats"] body :is(.kpi-card .h-12.w-12,.chart-card .h-12.w-12,.filter-pill){background:#e3d5c1!important;border-color:#b49d7c!important;color:#5b3c16!important}
html[data-l2-theme="light"][data-l2-page="stats"] body .table-panel header{background:#e5d8c5!important;border-color:#b7a184!important}
html[data-l2-theme="light"][data-l2-page="stats"] body table thead tr{background:#dccdb7!important;color:#5a3b16!important}
html[data-l2-theme="light"][data-l2-page="stats"] body table tbody tr{background:transparent!important;border-color:rgba(85,66,44,.12)!important;color:var(--v69-ink)!important}
html[data-l2-theme="light"][data-l2-page="stats"] body table tbody tr:hover{background:#e9dece!important}

/* Light: ícones/labels das páginas que ainda herdavam caixas pretas. */
html[data-l2-theme="light"][data-l2-page="rankings"] body :is(.rank-position-badge,.rank-position-mini,.rank-empty-icon,.rank-pill,.rank-mini-stat,.rank-score-box,.castle-status-badge,.castle-tax-badge),
html[data-l2-theme="light"][data-l2-page="boss"] body :is(.boss-pill,.boss-status-pill,.boss-info-chip,.boss-update-badge,.boss-pin-btn,.boss-video-btn),
html[data-l2-theme="light"][data-l2-page="downloads"] body :is(.dl4-icon,.dl4-step-number,.dl4-badge,.dl4-pill),
html[data-l2-theme="light"][data-l2-page="gallery"] body :is(.gallery-mark,.gallery-filter,.gallery-stat),
html[data-l2-theme="light"][data-l2-page="support"] body :is(.support-stat,.support-status-row,.support-copy-box),
html[data-l2-theme="light"] body :is(.auth-icon,.auth-logo-mark,.player-mini-pill){
  background:#e2d4c0!important;border-color:#ad9675!important;color:#5b3c16!important;box-shadow:none!important;
}

/* Light: overlays de imagem menos pesados, preservando contraste só onde há texto sobre foto. */
html[data-l2-theme="light"][data-l2-page="rankings"] body :is(.rank-card-orb,.rank-card-shine){opacity:.025!important}
html[data-l2-theme="light"][data-l2-page="boss"] body .boss-hero-bg{opacity:.10!important;filter:saturate(.92) brightness(1.08)!important}
html[data-l2-theme="light"][data-l2-page="downloads"] body .dl4-hero-bg{opacity:.12!important;filter:saturate(.92) brightness(1.08)!important}
html[data-l2-theme="light"][data-l2-page="gallery"] body .gallery-page::before{opacity:.025!important}
html[data-l2-theme="light"][data-l2-page="gallery"] body .gallery-card::after{background:linear-gradient(180deg,transparent 72%,rgba(44,33,22,.24))!important}

/* Gallery responsiva: sem esmagar as miniaturas. */
@media(max-width:900px){
  html[data-l2-layout] .l2-gallery-v5-stage{grid-template-columns:1fr!important}
  html[data-l2-layout] .l2-gallery-v5-main{min-height:310px!important;aspect-ratio:16/9}
  html[data-l2-layout] .l2-gallery-v5-mosaic{grid-template-columns:repeat(4,minmax(125px,1fr))!important;grid-template-rows:90px!important;min-height:90px!important;overflow-x:auto;scroll-snap-type:x proximity}
  html[data-l2-layout] .l2-gallery-v5-tile{scroll-snap-align:start}
}
@media(max-width:620px){
  html[data-l2-layout] .l2-gallery-v5-main{min-height:220px!important}
  html[data-l2-layout] .l2-gallery-v5-mosaic{grid-template-columns:repeat(4,118px)!important;grid-template-rows:78px!important;min-height:78px!important}
}

/* Utilitários legados/Tailwind: no claro, não deixar dourado/verde claro demais. */
html[data-l2-theme="light"] body [class*="text-[#c29a5b]"],
html[data-l2-theme="light"] body [class*="text-[#f1d28a]"],
html[data-l2-theme="light"] body [class*="text-yellow-"],
html[data-l2-theme="light"] body [class*="text-amber-"]{color:var(--v69-gold)!important;text-shadow:0 1px 0 rgba(255,255,255,.8)!important}
html[data-l2-theme="light"] body [class*="text-emerald-"],
html[data-l2-theme="light"] body [class*="text-green-"]{color:var(--v69-green)!important;text-shadow:0 1px 0 rgba(255,255,255,.8)!important}
html[data-l2-theme="light"][data-l2-page] body :is([class*="text-zinc-3"],[class*="text-zinc-4"],[class*="text-zinc-5"],[class*="text-stone-3"],[class*="text-stone-4"],[class*="text-stone-5"]){color:var(--v69-muted)!important}

/* Rankings: variantes que não estavam cobertas pela casca comum. */
html[data-l2-theme="light"][data-l2-page="rankings"] body :is(.rank-heroes-board,.oly-class-card,.oly-class-head,.castle-card-v2,.castle-card-body,.castle-owner-box,.castle-info-row-v2,.rank-row-jewels-mobile){background:rgba(244,238,228,.96)!important;border-color:var(--v69-line)!important;color:var(--v69-ink)!important;box-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="rankings"] body :is(.rank-hero-card-avatar,.rank-row-avatar){background:#ddcfba!important;border-color:#aa916c!important}
html[data-l2-theme="light"][data-l2-page="rankings"] body :is(.castle-status-badge,.castle-tax-badge,.update-badge){background:#dfd1bc!important;border-color:#ae9672!important;color:#5b3d17!important;box-shadow:none!important}

/* Bosses: barra/filtros e botões sem caixas pretas no claro. */
html[data-l2-theme="light"][data-l2-page="boss"] body :is(.boss-filter-bar,.boss-section-head,.boss-card-main,.boss-timer-panel,.boss-stat-card){background:rgba(244,238,228,.96)!important;border-color:var(--v69-line)!important;color:var(--v69-ink)!important;box-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="boss"] body .boss-filter{background:#e6d9c6!important;border-color:#b49d7b!important;color:#4a4035!important}
html[data-l2-theme="light"][data-l2-page="boss"] body .boss-filter:hover{background:#dac8ad!important;color:#563814!important}

/* Downloads: cards, tabela e botões secundários claros. */
html[data-l2-theme="light"][data-l2-page="downloads"] body :is(.dl4-client-panel,.dl4-patch-panel,.dl4-interface-card,.dl4-choice,.dl4-table-row,.dl4-extra-card,.dl4-feature,.dl4-step,.dl4-path-code){background:rgba(244,238,228,.96)!important;border-color:var(--v69-line)!important;color:var(--v69-ink)!important;box-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="downloads"] body .dl4-btn-secondary{background:#e1d3be!important;border-color:#ac9573!important;color:#4b351b!important}

/* Galeria completa: toolbar/info claros; apenas controles sobre a foto ficam escuros. */
html[data-l2-theme="light"][data-l2-page="gallery"] body :is(.gallery-toolbar,.gallery-card-info,.gallery-filter-list,.gallery-stats-grid){background:rgba(244,238,228,.96)!important;border-color:var(--v69-line)!important;color:var(--v69-ink)!important;box-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="gallery"] body .gallery-filter{background:#e4d7c4!important;border-color:#ad9777!important;color:#443a30!important}
html[data-l2-theme="light"][data-l2-page="gallery"] body .gallery-filter.active{background:#ccb18a!important;border-color:#957247!important;color:#40290f!important}

/* Home claro: ícones e botões não herdam preto dos temas escuros. */
html[data-l2-theme="light"] body :is(.l2-gallery-v5-icon,.l2-stat-icon,.l2-home-rankings-head>div>span,.mi-head-logout,.mi-account-chip,.cp-v69-tool-icon,.cr-account-icon){background:#e4d7c4!important;border-color:#ad9777!important;color:#5b3c16!important;box-shadow:none!important}

/* Variações da galeria por tema: mesma lógica, personalidade própria. */
html[data-l2-layout="classic-portal"] .l2-gallery-v5-main,
html[data-l2-layout="classic-portal"] .l2-gallery-v5-mosaic{min-height:390px!important}
html[data-l2-layout="classic-portal"] .l2-gallery-v5{border-width:1px!important}
html[data-l2-layout="classic-hybrid"] .l2-gallery-v5-main,
html[data-l2-layout="classic-hybrid"] .l2-gallery-v5-mosaic{min-height:440px!important}
html[data-l2-layout="minimal-interlude"] .l2-gallery-v5-stage{grid-template-columns:minmax(0,2.55fr) minmax(230px,.9fr)!important}
html[data-l2-layout="minimal-interlude"] .l2-gallery-v5-main,
html[data-l2-layout="minimal-interlude"] .l2-gallery-v5-mosaic{min-height:350px!important}

@media(max-width:900px){
  html[data-l2-layout="classic-portal"] .l2-gallery-v5-main,
  html[data-l2-layout="classic-hybrid"] .l2-gallery-v5-main,
  html[data-l2-layout="minimal-interlude"] .l2-gallery-v5-main{min-height:300px!important}
  html[data-l2-layout="classic-portal"] .l2-gallery-v5-mosaic,
  html[data-l2-layout="classic-hybrid"] .l2-gallery-v5-mosaic,
  html[data-l2-layout="minimal-interlude"] .l2-gallery-v5-mosaic{min-height:90px!important}
}
@media(max-width:620px){
  html[data-l2-layout="classic-portal"] .l2-gallery-v5-main,
  html[data-l2-layout="classic-hybrid"] .l2-gallery-v5-main,
  html[data-l2-layout="minimal-interlude"] .l2-gallery-v5-main{min-height:220px!important}
}


/* ==========================================================================
   Fonte consolidada: assets/css/layout-stability-v70.css
   ========================================================================== */
/* =========================================================
   L2Feel V7.0 - correção de estabilidade visual
   - Portal: volta ao cabeçalho estável e organizado.
   - Light: paleta final aplicada depois dos CSS internos.
   - Galeria Home: estrutura simples, previsível e responsiva.
   ========================================================= */

/* ---------- PORTAL: cabeçalho estável ---------- */
html[data-l2-layout="classic-portal"] .cp-topline{
    min-height:32px!important;height:32px!important;
    background:#090806!important;border-bottom:1px solid #352d23!important;
}
html[data-l2-layout="classic-portal"] .cp-topline .cp-wrap{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
}
html[data-l2-layout="classic-portal"] .cp-top-socials,
html[data-l2-layout="classic-portal"] .cp-top-tools{display:flex!important;align-items:center!important;gap:7px!important}
html[data-l2-layout="classic-portal"] .cp-head{
    height:100px!important;min-height:100px!important;padding:0!important;overflow:visible!important;
    background:linear-gradient(180deg,#17130e 0%,#100d0a 100%)!important;
}
html[data-l2-layout="classic-portal"] .cp-head .cp-head-inner{
    height:100%!important;display:flex!important;grid-template-columns:none!important;align-items:center!important;
    justify-content:space-between!important;gap:24px!important;
}
html[data-l2-layout="classic-portal"] .cp-brand{
    display:flex!important;justify-self:auto!important;align-items:center!important;gap:12px!important;min-width:0!important;
}
html[data-l2-layout="classic-portal"] .cp-brand img{width:70px!important;height:70px!important;flex:0 0 70px!important}
html[data-l2-layout="classic-portal"] .cp-brand strong{font-size:25px!important;line-height:1.05!important;letter-spacing:.055em!important}
html[data-l2-layout="classic-portal"] .cp-brand small{font-size:10px!important;margin-top:5px!important;letter-spacing:.04em!important}
html[data-l2-layout="classic-portal"] .cp-head-actions{
    display:flex!important;justify-self:auto!important;align-items:center!important;justify-content:flex-end!important;
    gap:7px!important;min-width:0!important;
}
html[data-l2-layout="classic-portal"] .cp-head-actions .cp-btn{
    min-height:34px!important;padding:0 12px!important;font-size:10px!important;gap:6px!important;white-space:nowrap!important;
}
html[data-l2-layout="classic-portal"] .cp-nav{height:44px!important;overflow:visible!important;position:relative!important;z-index:800!important}
html[data-l2-layout="classic-portal"] .cp-nav-scroll{
    height:44px!important;display:flex!important;align-items:stretch!important;justify-content:center!important;overflow:visible!important;
}
html[data-l2-layout="classic-portal"] .cp-nav>a,
html[data-l2-layout="classic-portal"] .cp-nav-item>a{
    height:44px!important;padding:0 14px!important;display:flex!important;align-items:center!important;justify-content:center!important;
    gap:7px!important;font-size:10px!important;letter-spacing:.02em!important;
}
html[data-l2-layout="classic-portal"] .cp-nav-item{height:44px!important;position:relative!important;flex:0 0 auto!important}
html[data-l2-layout="classic-portal"] .cp-submenu{top:43px!important;z-index:950!important}

@media (min-width:1450px){
    html[data-l2-layout="classic-portal"] .cp-wrap,
    html[data-l2-layout="classic-portal"] .cp-home{width:1120px!important}
    html[data-l2-layout="classic-portal"] .cp-nav>a,
    html[data-l2-layout="classic-portal"] .cp-nav-item>a{padding-left:17px!important;padding-right:17px!important;font-size:11px!important}
}
@media (max-width:900px){
    html[data-l2-layout="classic-portal"] .cp-head{height:auto!important;min-height:0!important;padding:13px 0!important}
    html[data-l2-layout="classic-portal"] .cp-head .cp-head-inner{flex-direction:column!important;gap:9px!important}
    html[data-l2-layout="classic-portal"] .cp-brand img{width:58px!important;height:58px!important;flex-basis:58px!important}
    html[data-l2-layout="classic-portal"] .cp-brand strong{font-size:21px!important}
    html[data-l2-layout="classic-portal"] .cp-head-actions{justify-content:center!important;flex-wrap:wrap!important}
    html[data-l2-layout="classic-portal"] .cp-nav-scroll{justify-content:flex-start!important;overflow-x:auto!important;overflow-y:visible!important}
    html[data-l2-layout="classic-portal"] .cp-nav>a,
    html[data-l2-layout="classic-portal"] .cp-nav-item>a{padding:0 13px!important;font-size:10px!important}
}
@media (max-width:600px){
    html[data-l2-layout="classic-portal"] .cp-topline{height:auto!important;min-height:32px!important;padding:4px 0!important}
    html[data-l2-layout="classic-portal"] .cp-topline .cp-wrap{gap:8px!important}
    html[data-l2-layout="classic-portal"] .cp-top-socials{display:none!important}
    html[data-l2-layout="classic-portal"] .cp-top-tools{margin-left:auto!important}
    html[data-l2-layout="classic-portal"] .cp-brand span{display:block!important}
    html[data-l2-layout="classic-portal"] .cp-brand small{font-size:9px!important}
    html[data-l2-layout="classic-portal"] .cp-head-actions .cp-btn{padding:0 10px!important}
}

/* Portal light: cabeçalho antigo, sem misturar classes V6.9. */
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-topline,
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-head,
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-nav{
    background:rgba(238,230,218,.97)!important;border-color:#bcae98!important;color:#4a4137!important;box-shadow:none!important
}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-head{background:rgba(232,222,207,.98)!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-brand strong{color:#62431a!important;text-shadow:0 1px 0 rgba(255,255,255,.75)!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-brand small{color:#6d6356!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-btn,
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-topline .l2-social-pill,
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-topline .l2-lang-pill,
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-topline .l2-theme-toggle{
    background:#f3ede4!important;border-color:#b8a68b!important;color:#4b4237!important;box-shadow:none!important
}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-btn-primary{background:#d4bd98!important;color:#3d2912!important;border-color:#9d7e54!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-nav a{color:#4c4439!important;border-color:#c3b49d!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-nav a:hover,
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-nav a.active,
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-nav-item.active>a{background:#d8cbb8!important;color:#583a16!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-submenu{background:#eee5d7!important;border-color:#ad9b80!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-submenu a{background:transparent!important;color:#4d4438!important;border-color:#c5b7a1!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-submenu a:hover{background:#d9ccb9!important;color:#553817!important}

/* ---------- GALERIA HOME: volta a uma composição simples ---------- */
html[data-l2-layout] .l2-gallery-v5{overflow:hidden!important}
html[data-l2-layout] .l2-gallery-v5-stage{
    display:grid!important;grid-template-columns:minmax(0,2.2fr) minmax(210px,.72fr)!important;
    gap:8px!important;align-items:stretch!important;
}
html[data-l2-layout] .l2-gallery-v5-main{
    width:100%!important;min-height:350px!important;aspect-ratio:auto!important;position:relative!important;overflow:hidden!important;
}
html[data-l2-layout] .l2-gallery-v5-mosaic{
    display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;min-height:350px!important;height:auto!important;overflow:visible!important;
}
html[data-l2-layout] .l2-gallery-v5-tile{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important}
html[data-l2-layout] .l2-gallery-v5-main>img,
html[data-l2-layout] .l2-gallery-v5-tile>img{
    width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:center!important;
    transform:none!important;transition:transform .22s ease,filter .22s ease!important;
}
html[data-l2-layout] .l2-gallery-v5-main:hover>img,
html[data-l2-layout] .l2-gallery-v5-tile:hover>img{transform:scale(1.02)!important}
html[data-l2-layout] .l2-gallery-v5-main[data-video="1"]>img,
html[data-l2-layout] .l2-gallery-v5-tile[data-video="1"]>img{transform:none!important}
html[data-l2-layout] .l2-gallery-v5-main[data-video="1"]:hover>img,
html[data-l2-layout] .l2-gallery-v5-tile[data-video="1"]:hover>img{transform:scale(1.02)!important}
html[data-l2-layout] .l2-gallery-v5-shade{background:linear-gradient(180deg,transparent 58%,rgba(0,0,0,.44))!important}
html[data-l2-layout] .l2-gallery-v5-tile-shade{background:linear-gradient(180deg,transparent 62%,rgba(0,0,0,.27))!important}

@media (min-width:1450px){
    html[data-l2-layout] .l2-gallery-v5-main,
    html[data-l2-layout] .l2-gallery-v5-mosaic{min-height:390px!important}
}
@media (max-width:1366px){
    html[data-l2-layout] .l2-gallery-v5-main,
    html[data-l2-layout] .l2-gallery-v5-mosaic{min-height:310px!important}
}
@media (max-width:850px){
    html[data-l2-layout] .l2-gallery-v5-stage{grid-template-columns:1fr!important}
    html[data-l2-layout] .l2-gallery-v5-main{min-height:0!important;aspect-ratio:16/9!important}
    html[data-l2-layout] .l2-gallery-v5-mosaic{
        min-height:86px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:86px!important;gap:6px!important;
    }
}
@media (max-width:560px){
    html[data-l2-layout] .l2-gallery-v5-main{aspect-ratio:4/3!important}
    html[data-l2-layout] .l2-gallery-v5-mosaic{grid-template-columns:repeat(3,112px)!important;overflow-x:auto!important;justify-content:start!important}
}

/* ---------- LIGHT MODE: componentes internos ---------- */
html[data-l2-theme="light"]{
    --v70-surface:#f2eadf;
    --v70-surface-2:#e7dccb;
    --v70-surface-3:#ddd0bc;
    --v70-line:#b9a78d;
    --v70-ink:#332d26;
    --v70-muted:#6d6255;
    --v70-gold:#70501f;
    --v70-green:#397346;
    --v70-red:#9b4b45;
}

/* Ranking: o CSS interno da página é carregado depois do header e usa !important.
   Esta folha é carregada no footer, portanto é a autoridade final do modo claro. */
html[data-l2-theme="light"][data-l2-page="rankings"] body{color:var(--v70-ink)!important}
html[data-l2-theme="light"][data-l2-page="rankings"] :is(
    .rank-hero,.rank-podium-card,.rank-podium-natural,.rank-table-card,.rank-hero-stat,.rank-tab,
    .rank-mini-stat,.rank-score-box,.rank-empty,.rank-pill,.rank-avatar-shell,.rank-row-avatar,
    .rank-row-jewels-mobile,.oly-class-card,.oly-class-head,.castle-card-v2,.castle-card-body,
    .castle-owner-box,.castle-info-row-v2,.rank-table-tr
){
    background:var(--v70-surface)!important;border-color:var(--v70-line)!important;color:var(--v70-ink)!important;
    box-shadow:none!important;text-shadow:none!important;
}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-hero{background:rgba(242,234,223,.97)!important}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-podium .rank-card-gold{background:#eadabb!important;border-color:#a8844c!important}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-podium .rank-card-silver{background:#e8e3da!important;border-color:#aaa399!important}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-podium .rank-card-bronze{background:#ead5c2!important;border-color:#ad8060!important}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-tab:hover,
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-tab-active{background:var(--v70-surface-3)!important;border-color:#98784e!important;color:#4b3417!important}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-table-head{background:var(--v70-surface-2)!important;border-color:var(--v70-line)!important;color:#51483d!important}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-table-card tbody tr,
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-table-tr{background:rgba(248,244,237,.72)!important;border-color:#c7b9a4!important}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-table-card tbody tr:hover,
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-table-tr:hover{background:#e9ddcb!important}
html[data-l2-theme="light"][data-l2-page="rankings"] :is(
    .rank-hero h1,.rank-hero h2,.rank-table-card h2,.rank-podium-card h2,.rank-podium-natural h2,
    .rank-table-card .text-white,.rank-podium-card .text-white,.rank-podium-natural .text-white,
    .font-fantasy.text-white
){color:#352b20!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="rankings"] :is(
    .text-zinc-300,.text-zinc-400,.text-zinc-500,.text-zinc-600,.text-zinc-700,
    .rank-table-count,.rank-status-dot,.rank-mini-label,.rank-score-label
){color:var(--v70-muted)!important}
html[data-l2-theme="light"][data-l2-page="rankings"] :is(.rank-kicker,.rank-pill,.rank-score-value,.rank-position-badge,.text-\[\#c29a5b\]){color:var(--v70-gold)!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-position-badge{background:#e4d5bf!important;border-color:#9f825b!important}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-avatar-shell,
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-row-avatar{background:#d8ccb9!important;border-color:#9f8b6c!important}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-card-shine,
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-card-orb{opacity:.12!important}

/* Páginas com mistura dark/light: superfícies finais. */
html[data-l2-theme="light"][data-l2-page="boss"] :is(.boss-hero,.boss-stat-card,.boss-next-card,.boss-panel,.boss-card,.boss-filter,.boss-search),
html[data-l2-theme="light"][data-l2-page="downloads"] :is(.dl4-panel,.dl4-choice,.dl4-soft,.dl4-interface-card,.dl4-warning),
html[data-l2-theme="light"][data-l2-page="gallery"] :is(.gallery-page-head,.gallery-toolbar,.gallery-card-info,.gallery-filter-list,.gallery-stat),
html[data-l2-theme="light"][data-l2-page="support"] :is(.support-hero,.support-card,.support-action,.support-stat,.support-status-row,.support-rule,.faq-item),
html[data-l2-theme="light"][data-l2-page="info"] :is(.l2r-hero,.l2r-crest,.l2r-nav,.l2r-section-box,.l2r-card,.l2r-list-item,.l2r-media),
html[data-l2-theme="light"][data-l2-page="stats"] :is(.glass,.glass-soft),
html[data-l2-theme="light"][data-l2-page="login"] :is(.auth-card,.auth-form-panel),
html[data-l2-theme="light"][data-l2-page="register"] :is(.auth-card,.auth-form-panel),
html[data-l2-theme="light"][data-l2-page="user_panel"] :is(.player-top,.player-main,.soft-card,.service-card,.char-card,.player-stat){
    background:rgba(242,234,223,.96)!important;border-color:var(--v70-line)!important;color:var(--v70-ink)!important;box-shadow:none!important
}
html[data-l2-theme="light"][data-l2-page="downloads"] .dl4-choice,
html[data-l2-theme="light"][data-l2-page="gallery"] .gallery-filter,
html[data-l2-theme="light"][data-l2-page="boss"] :is(.boss-filter,.boss-search){background:var(--v70-surface-2)!important;color:#443b31!important;border-color:var(--v70-line)!important}
html[data-l2-theme="light"][data-l2-page="gallery"] .gallery-filter.active{background:#d4bc97!important;color:#3f2a12!important;border-color:#9b7b52!important}

/* Texto Tailwind que continua explicitamente branco/cinza dentro das páginas claras. */
html[data-l2-theme="light"] body:not(.l2-home-v3) :is(.text-white,.text-zinc-200,.text-zinc-300){color:#332d26!important;text-shadow:none!important}
html[data-l2-theme="light"] body:not(.l2-home-v3) :is(.text-zinc-400,.text-zinc-500,.text-zinc-600,.text-zinc-700){color:#6b6053!important;text-shadow:none!important}
html[data-l2-theme="light"] body:not(.l2-home-v3) .text-\[\#c29a5b\]{color:#755323!important;text-shadow:0 1px 0 rgba(255,255,255,.62)!important}
html[data-l2-theme="light"] body:not(.l2-home-v3) :is(.text-emerald-300,.text-emerald-400){color:var(--v70-green)!important;text-shadow:none!important}
html[data-l2-theme="light"] body:not(.l2-home-v3) :is(.text-red-300,.text-red-400){color:var(--v70-red)!important;text-shadow:none!important}

/* Ícones/badges que ainda apareciam como quadrados pretos. */
html[data-l2-theme="light"] body:not(.l2-home-v3) :is(
    .rank-empty-icon,.boss-stat-icon,.don-flow-icon,.support-status-row>div:first-child,
    .gallery-open-icon,.auth-icon,.player-avatar,.l2r-mark
){background:#e2d5c2!important;border-color:#ad9879!important;color:#68491d!important;box-shadow:none!important}

/* Não clareia o próprio visualizador de mídia: o fundo escuro ajuda a foto/vídeo. */
html[data-l2-theme="light"] :is(.l2-home-media-modal,.gallery-lightbox,.media-lightbox,[class*="lightbox"]){color:#f4ead8!important}



/* ==========================================================================
   Fonte consolidada: assets/css/layout-polish-v71.css
   ========================================================================== */
/* =========================================================
   L2Feel V7.1 — refinamento visual e consistência
   Base: V7.0 estável
   ========================================================= */

/* ---------- Tokens claros: dourados/verde com contraste real ---------- */
html[data-l2-theme="light"]{
  --v71-paper:#f4eee4;
  --v71-paper-2:#e9dfd1;
  --v71-paper-3:#dfd1bd;
  --v71-border:#b39f82;
  --v71-ink:#302920;
  --v71-muted:#625749;
  --v71-gold:#654113;
  --v71-gold-2:#77501a;
  --v71-green:#285f36;
  --v71-red:#8b3f39;
}

/* Cores históricas que ficam apagadas em fundo claro. No dark permanecem intactas. */
html[data-l2-theme="light"] body :is(
  [style*="#F1D28A" i],[style*="#f1d28a" i],[style*="#E0C992" i],[style*="#e0c992" i],
  [class*="text-[#f1d28a]"],[class*="text-[#e0c992]"],[class*="text-[#c29a5b]"]
){
  color:var(--v71-gold)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.95),0 0 5px rgba(101,65,19,.18)!important;
}
html[data-l2-theme="light"] body :is(.cp-gold,.cr-kicker,.l2-module-kicker,.mi-side-title,.l2r-kicker,.stats-kicker,.rank-kicker,.rank-score-value,.boss-kicker){
  color:var(--v71-gold)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.92),0 0 5px rgba(101,65,19,.15)!important;
}
html[data-l2-theme="light"] body :is(.is-online,.online,.cp-green,.l2-stats-live,.boss-status-alive,.support-online-pill){
  color:var(--v71-green)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.95),0 0 5px rgba(40,95,54,.17)!important;
}

/* ---------- Idiomas: sem quadrado dark no modo claro ---------- */
html[data-l2-theme="light"] .l2-lang-pills,
html[data-l2-theme="light"] .cp-langs,
html[data-l2-theme="light"] .cr-langs,
html[data-l2-theme="light"] .mi-langs{background:transparent!important;box-shadow:none!important}
html[data-l2-theme="light"] .l2-lang-pill{
  background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--v71-ink)!important;
}
html[data-l2-theme="light"] .l2-lang-pill:hover,
html[data-l2-theme="light"] .l2-lang-pill.active{
  background:#e5d8c6!important;border-color:#ad9470!important;box-shadow:0 0 0 1px rgba(255,255,255,.52) inset!important;
}
html[data-l2-theme="light"] .l2-lang-pill .flag-image{
  border-color:rgba(83,62,37,.34)!important;background:transparent!important;box-shadow:0 1px 3px rgba(54,39,22,.16)!important;filter:none!important;
}

/* ---------- Dropdown Rankings no light ---------- */
html[data-l2-theme="light"] .l2-rank-submenu{
  background:#f2eade!important;border-color:#a99372!important;box-shadow:0 16px 36px rgba(63,46,28,.18)!important;
}
html[data-l2-theme="light"] .l2-rank-submenu a{
  background:transparent!important;border-bottom-color:rgba(83,62,37,.12)!important;color:#493f34!important;text-shadow:none!important;
}
html[data-l2-theme="light"] .l2-rank-submenu a i{color:var(--v71-gold)!important}
html[data-l2-theme="light"] .l2-rank-submenu a:hover{
  background:#dfcfb7!important;color:#4f3210!important;
}

/* ---------- Rankings: pódio e superfícies no light ---------- */
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-podium .rank-podium-card > .relative.z-10,
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-podium .rank-podium-natural > .relative.z-10{
  background:linear-gradient(180deg,#f6f0e7,#e8dccb)!important;
  border-color:#ad9878!important;color:var(--v71-ink)!important;
  box-shadow:0 12px 28px rgba(76,55,31,.10)!important;
}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-podium .rank-card-gold > .relative.z-10{
  background:linear-gradient(180deg,#f2e4c8,#e2cda8)!important;border-color:#9f7a43!important;
  box-shadow:0 12px 30px rgba(110,75,30,.14)!important;
}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-podium .rank-card-silver > .relative.z-10{
  background:linear-gradient(180deg,#f4f1eb,#e1ded6)!important;border-color:#aaa195!important;
}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-podium .rank-card-bronze > .relative.z-10{
  background:linear-gradient(180deg,#f2e5dc,#e4cfbf)!important;border-color:#a87958!important;
}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-podium .rank-podium-card > .relative.z-10::after,
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-podium .rank-podium-natural > .relative.z-10::after{
  border-color:rgba(89,65,38,.10)!important;
}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-podium :is(h2,h3,.rank-score-value,.text-white){color:#34281b!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="rankings"] .rank-podium .rank-pill{
  background:#e4d4bc!important;border-color:#9c7e55!important;color:#553713!important;box-shadow:none!important;
}
html[data-l2-theme="light"][data-l2-page="rankings"] :is(.rank-card-shine,.rank-card-orb){opacity:.035!important}

/* ---------- Bosses: uma paleta clara coerente ---------- */
html[data-l2-theme="light"][data-l2-page="boss"] body{color:var(--v71-ink)!important}
html[data-l2-theme="light"][data-l2-page="boss"] :is(
 .boss-hero,.boss-panel,.boss-next-card,.boss-stat-card,.boss-card,.boss-card-main,.boss-timer-panel,
 .boss-filter-bar,.boss-section-head,.boss-search
){
 background:rgba(244,238,228,.97)!important;border-color:var(--v71-border)!important;color:var(--v71-ink)!important;
 box-shadow:none!important;text-shadow:none!important;
}
html[data-l2-theme="light"][data-l2-page="boss"] .boss-filter{
 background:#e8ddcc!important;border-color:#b5a084!important;color:#51483c!important;box-shadow:none!important;
}
html[data-l2-theme="light"][data-l2-page="boss"] .boss-filter:hover{background:#ddceb7!important;color:#4d3213!important}
html[data-l2-theme="light"][data-l2-page="boss"] .boss-filter-active{background:#cbae7e!important;border-color:#927043!important;color:#30200e!important}
html[data-l2-theme="light"][data-l2-page="boss"] :is(.boss-pill,.boss-info-chip,.boss-status-pill,.boss-update-badge,.boss-pin-btn,.boss-video-btn){
 background:#e2d4c0!important;border-color:#ac9472!important;color:#5a3a14!important;box-shadow:none!important;
}
html[data-l2-theme="light"][data-l2-page="boss"] .boss-status-alive{background:#dbe8dc!important;border-color:#8eb392!important;color:#275c33!important}
html[data-l2-theme="light"][data-l2-page="boss"] .boss-status-dead{background:#eadbd7!important;border-color:#bd9188!important;color:#7d3833!important}
html[data-l2-theme="light"][data-l2-page="boss"] :is(.boss-card h3,.boss-section-head h2,.boss-next-card h2,.boss-hero h1,.countdown){color:#372a1c!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="boss"] :is(.text-zinc-300,.text-zinc-400,.text-zinc-500,.text-zinc-600){color:var(--v71-muted)!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="boss"] .boss-hero-bg{opacity:.08!important;filter:saturate(.92) brightness(1.08)!important}
html[data-l2-theme="light"][data-l2-page="boss"] .boss-video::after{background:linear-gradient(180deg,transparent 70%,rgba(53,39,23,.20))!important}

/* ---------- Hero da Home no claro: imagem preservada e texto em ilha coerente ---------- */
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] .cr-hero-shade{
  background:linear-gradient(90deg,rgba(25,19,13,.88) 0%,rgba(25,19,13,.64) 38%,rgba(25,19,13,.10) 72%,transparent 100%)!important;
}
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] .cr-hero-copy :is(h1,p,.cr-kicker){color:#f5ead6!important;text-shadow:0 2px 8px rgba(0,0,0,.58)!important}
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] .cr-hero-copy .cr-kicker{color:#e2c383!important}
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] .cr-hero-actions a:not(.primary){background:rgba(20,16,11,.78)!important;color:#f3e8d3!important;border-color:rgba(240,214,162,.38)!important}

html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-hero{
  background-image:linear-gradient(90deg,rgba(24,18,12,.88),rgba(24,18,12,.58) 46%,rgba(24,18,12,.06) 78%),var(--l2-hero-image)!important;
}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-hero :is(h1,p,.cp-kicker){color:#f5ead6!important;text-shadow:0 2px 8px rgba(0,0,0,.58)!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-hero .cp-kicker{color:#e2c383!important}
html[data-l2-theme="light"][data-l2-layout="classic-portal"] .cp-hero .cp-btn:not(.cp-btn-primary){background:rgba(20,16,11,.78)!important;color:#f2e6d1!important;border-color:rgba(240,214,162,.38)!important}

html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] .mi-welcome{
  background-image:linear-gradient(90deg,rgba(24,18,12,.88),rgba(24,18,12,.58) 52%,rgba(24,18,12,.10)),var(--l2-hero-image)!important;
}
html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] .mi-welcome :is(h1,p,small){color:#f5ead6!important;text-shadow:0 2px 7px rgba(0,0,0,.55)!important}

/* Portal hero: ícone e texto não podem ficar grudados. */
html[data-l2-layout="classic-portal"] .cp-hero .cp-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important}
html[data-l2-layout="classic-portal"] .cp-hero .cp-btn i{margin:0!important;flex:0 0 auto}

/* ---------- Chronicle: logo, online e menu sem sobreposição ---------- */
html[data-l2-layout="classic-hybrid"] .cr-mainbar{
  grid-template-columns:minmax(245px,280px) minmax(0,1fr) minmax(190px,230px)!important;gap:8px!important;
}
html[data-l2-layout="classic-hybrid"] .cr-brand img{width:78px!important;height:78px!important;flex:0 0 78px!important}
html[data-l2-layout="classic-hybrid"] .cr-brand strong{font-size:27px!important;line-height:1!important}
html[data-l2-layout="classic-hybrid"] .cr-menu{min-width:0!important;overflow:visible!important}
html[data-l2-layout="classic-hybrid"] .cr-menu>a,
html[data-l2-layout="classic-hybrid"] .cr-menu-item>.cr-menu-parent{
  min-width:0!important;padding:0 8px!important;font-size:11px!important;letter-spacing:0!important;white-space:nowrap!important;
}
html[data-l2-layout="classic-hybrid"] .cr-account{min-width:0!important}
html[data-l2-layout="classic-hybrid"] .cr-account-main{max-width:145px!important;overflow:hidden!important}
html[data-l2-layout="classic-hybrid"] .cr-account-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-l2-layout="classic-hybrid"] .cr-pulse>div:first-child strong{font-size:23px!important}
html[data-l2-layout="classic-hybrid"] .cr-pulse>div:first-child strong em{font-size:19px!important;font-style:normal!important;font-weight:900!important;margin-left:7px!important}
html[data-l2-layout="classic-hybrid"] .l2-module-head :is(h2,.l2-stats-live){font-size:13px!important}

@media(min-width:1450px){
  html[data-l2-layout="classic-hybrid"] .cr-mainbar{height:92px!important}
  html[data-l2-layout="classic-hybrid"] .cr-menu{height:92px!important}
  html[data-l2-layout="classic-hybrid"] .cr-menu>a,
  html[data-l2-layout="classic-hybrid"] .cr-menu-item>.cr-menu-parent{height:92px!important;font-size:11.5px!important;padding:0 10px!important}
}
@media(min-width:1181px) and (max-width:1500px){
  html[data-l2-layout="classic-hybrid"] .cr-mainbar{grid-template-columns:215px minmax(0,1fr) 175px!important}
  html[data-l2-layout="classic-hybrid"] .cr-brand img{width:62px!important;height:62px!important;flex-basis:62px!important}
  html[data-l2-layout="classic-hybrid"] .cr-brand strong{font-size:21px!important}
  html[data-l2-layout="classic-hybrid"] .cr-brand small{font-size:9px!important}
  html[data-l2-layout="classic-hybrid"] .cr-menu>a,
  html[data-l2-layout="classic-hybrid"] .cr-menu-item>.cr-menu-parent{padding:0 5px!important;font-size:9.5px!important}
  html[data-l2-layout="classic-hybrid"] .cr-account-main{max-width:112px!important;padding:0 8px!important}
}

/* ---------- Chronicle: atalhos antes do footer, claro ---------- */
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] .cr-actions{
  background:#e8ddcc!important;border-color:#b6a287!important;
}
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] .cr-actions a{
  background:transparent!important;border-color:#c4b49e!important;color:#4e4438!important;text-shadow:none!important;
}
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] .cr-actions a i{color:var(--v71-gold)!important}
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] .cr-actions a:hover{
  background:#d9c9b1!important;color:#4b3010!important;
}

/* ---------- Chronicle: Grand Bosses — imagem como foto, não como fundo pesado ---------- */
html[data-l2-layout="classic-hybrid"] .cr-boss{background:#0d0b09!important}
html[data-l2-layout="classic-hybrid"] .cr-boss img{filter:saturate(.90) brightness(.90)!important;transform:scale(1.001)}
html[data-l2-layout="classic-hybrid"] .cr-boss .shade{
  background:linear-gradient(180deg,rgba(0,0,0,.03) 0%,rgba(7,6,5,.16) 45%,rgba(7,6,5,.90) 100%)!important;
}
html[data-l2-layout="classic-hybrid"] .cr-boss:hover img{filter:saturate(1.03) brightness(.98)!important;transform:scale(1.025)}
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] .cr-boss{background:#ded2c0!important;border-color:#aa9678!important}
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] .cr-boss img{filter:saturate(.98) brightness(1.03)!important}
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] .cr-boss .shade{
  background:linear-gradient(180deg,transparent 45%,rgba(29,22,15,.76) 100%)!important;
}
html[data-l2-theme="light"][data-l2-layout="classic-hybrid"] .cr-boss :is(b,small){color:#fff5e5!important;text-shadow:0 2px 5px rgba(0,0,0,.65)!important}

/* ---------- Galeria Home: dinâmica, estrutura simples ---------- */
html[data-l2-layout] .l2-gallery-v5-main>img,
html[data-l2-layout] .l2-gallery-v5-tile>img{transition:opacity .28s ease,transform .24s ease,filter .24s ease!important}
html[data-l2-layout] .l2-gallery-v5.is-rotating .l2-gallery-v5-main>img{opacity:.35!important}
html[data-l2-layout] .l2-gallery-v5-tile{transition:border-color .18s ease,transform .18s ease,opacity .18s ease!important}
html[data-l2-layout] .l2-gallery-v5-tile:hover{transform:translateY(-2px)}

/* ---------- Donate V7.1: layout inteiro mais simples e direto ---------- */
html[data-l2-page="donate"] .don-clean-bg,
html[data-l2-page="donate"] .don-clean-grid{display:none!important}
html[data-l2-page="donate"] .don-shell{width:min(1120px,calc(100% - 28px))!important;max-width:none!important;margin:0 auto!important;padding:22px 0 46px!important}
html[data-l2-page="donate"] .don-hero{padding:22px 0 18px!important;overflow:visible!important;border-bottom:1px solid rgba(199,154,74,.20)}
html[data-l2-page="donate"] .don-hero::before{display:none!important}
html[data-l2-page="donate"] .don-hero>.max-w-7xl{max-width:none!important;width:100%!important;display:block!important}
html[data-l2-page="donate"] .don-visual{display:none!important}
html[data-l2-page="donate"] .don-kicker{padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;font-size:11px!important}
html[data-l2-page="donate"] .don-title{font-size:clamp(34px,4.2vw,56px)!important;line-height:1.02!important;letter-spacing:.035em!important;max-width:820px!important;text-transform:none!important}
html[data-l2-page="donate"] .don-hero p{max-width:760px!important;font-size:14px!important;line-height:1.65!important}
html[data-l2-page="donate"] .don-btn-primary,
html[data-l2-page="donate"] .don-btn-soft{min-height:44px!important;padding:0 16px!important;border-radius:2px!important;gap:9px!important}
html[data-l2-page="donate"] .don-shell>section.px-4{padding:18px 0 0!important}
html[data-l2-page="donate"] .don-shell .max-w-7xl{max-width:none!important;width:100%!important}
html[data-l2-page="donate"] .don-card{border-radius:2px!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important}
html[data-l2-page="donate"] .don-card-line{height:2px!important}
html[data-l2-page="donate"] .don-flow-card{min-height:88px!important;padding:14px!important;border-radius:2px!important}
html[data-l2-page="donate"] .don-flow-icon{width:32px!important;height:32px!important;border-radius:2px!important}
html[data-l2-page="donate"] #donation-panel{display:block!important}
html[data-l2-page="donate"] #donation-panel>article{width:100%!important}
html[data-l2-page="donate"] #donation-panel>article+article{margin-top:16px!important}
html[data-l2-page="donate"] #donation-panel>article>.relative.z-10{padding:20px!important}
html[data-l2-page="donate"] .don-tab{min-height:42px!important;border-radius:2px!important;font-size:11px!important}
html[data-l2-page="donate"] .don-input{min-height:60px!important;border-radius:2px!important;font-size:24px!important}
html[data-l2-page="donate"] .don-result{min-height:60px!important;border-radius:2px!important}
html[data-l2-page="donate"] .don-note{border-radius:2px!important}
html[data-l2-page="donate"] .don-action-btn{min-height:50px!important;border-radius:2px!important}
html[data-l2-page="donate"] #packs .grid.grid-cols-1.lg\:grid-cols-\[\.92fr_1\.08fr\]{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:14px!important}
html[data-l2-page="donate"] .don-pack-option{padding:12px!important;border-radius:2px!important;box-shadow:none!important}
html[data-l2-page="donate"] .don-pack-option:hover{transform:translateX(2px)!important}
html[data-l2-page="donate"] .don-pack-option .w-11{border-radius:2px!important}
html[data-l2-page="donate"] #selectedPackName{font-size:22px!important;letter-spacing:.02em!important;text-transform:none!important}
html[data-l2-page="donate"] #selectedPackItems .don-list-item{padding:8px 0!important;font-size:12px!important}
html[data-l2-page="donate"] .don-pack-badge{border-radius:2px!important}

html[data-l2-theme="light"][data-l2-page="donate"] :is(.don-card,.don-flow-card,.don-note,.don-pack-option,.don-tab,.don-input,.don-result){
  background:rgba(244,238,228,.97)!important;border-color:var(--v71-border)!important;color:var(--v71-ink)!important;box-shadow:none!important;
}
html[data-l2-theme="light"][data-l2-page="donate"] .don-pack-option.active,
html[data-l2-theme="light"][data-l2-page="donate"] .don-tab.active{background:#ddcdb4!important;border-color:#9a784a!important;color:#422b10!important}
html[data-l2-theme="light"][data-l2-page="donate"] :is(.don-title,.don-card h2,.don-card h3,.don-card .text-white,#selectedPackName,#selectedPackPayAmount){color:#34291e!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="donate"] :is(.don-muted,.text-zinc-300,.text-zinc-400,.text-zinc-500,.text-zinc-600){color:var(--v71-muted)!important;text-shadow:none!important}
html[data-l2-theme="light"][data-l2-page="donate"] .don-flow-icon,
html[data-l2-theme="light"][data-l2-page="donate"] .don-pack-option .w-11{background:#e3d5c1!important;border-color:#aa9270!important;color:var(--v71-gold)!important}
html[data-l2-theme="light"][data-l2-page="donate"] .don-paypal-blue{background:#0068a8!important;border-color:#005f9d!important;color:#fff!important}

/* ---------- Mobile ---------- */
@media(max-width:900px){
  html[data-l2-page="donate"] .don-shell{width:calc(100% - 20px)!important;padding-top:12px!important}
  html[data-l2-page="donate"] #packs .grid.grid-cols-1.lg\:grid-cols-\[\.92fr_1\.08fr\]{grid-template-columns:1fr!important}
  html[data-l2-page="donate"] .don-title{font-size:36px!important}
}
@media(max-width:620px){
  html[data-l2-page="donate"] .don-shell{width:calc(100% - 14px)!important}
  html[data-l2-page="donate"] .don-hero{padding-top:12px!important}
  html[data-l2-page="donate"] .don-title{font-size:30px!important}
  html[data-l2-page="donate"] .don-hero p{font-size:13px!important}
  html[data-l2-page="donate"] #donation-panel>article>.relative.z-10{padding:14px!important}
  html[data-l2-page="donate"] .don-flow-card{min-height:0!important}
  html[data-l2-page="donate"] #packs .don-note.min-h-\[420px\]{min-height:0!important}
  html[data-l2-layout="classic-hybrid"] .cr-brand img{width:48px!important;height:48px!important;flex-basis:48px!important}
}
html[data-l2-theme="light"] .l2-light-gold-fix{
  color:var(--v71-gold)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.95),0 0 5px rgba(101,65,19,.17)!important;
}
html[data-l2-theme="light"] .l2-stat-card strong{
  color:var(--v71-gold-2)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.95),0 0 5px rgba(119,80,26,.16)!important;
}

/* ==========================================================
   V128 - Minimal: legibilidade real + status do servidor
   ========================================================== */
html[data-l2-layout="minimal-interlude"] body{font-size:15px!important;line-height:1.55!important}
html[data-l2-layout="minimal-interlude"] .mi-left small{font-size:13px!important;line-height:1.35!important}
html[data-l2-layout="minimal-interlude"] .mi-nav a{font-size:13px!important;font-weight:600!important}
html[data-l2-layout="minimal-interlude"] .mi-nav a i{font-size:12px!important}
html[data-l2-layout="minimal-interlude"] .mi-side-title{font-size:12px!important;line-height:1.35!important}
html[data-l2-layout="minimal-interlude"] .mi-side-links a{font-size:14px!important;line-height:1.35!important;padding:11px 10px!important}
html[data-l2-layout="minimal-interlude"] .mi-status,
html[data-l2-layout="minimal-interlude"] .mi-server-rates{font-size:13px!important;line-height:1.7!important}
html[data-l2-layout="minimal-interlude"] .mi-welcome p{font-size:16px!important;line-height:1.6!important}
html[data-l2-layout="minimal-interlude"] .mi-buttons a{font-size:14px!important;padding:10px 15px!important}
html[data-l2-layout="minimal-interlude"] .mi-box h2,
html[data-l2-layout="minimal-interlude"] .mi-notice h2{font-size:15px!important;min-height:38px!important;height:auto!important;line-height:1.25!important}
html[data-l2-layout="minimal-interlude"] .mi-row b{font-size:15px!important;line-height:1.35!important}
html[data-l2-layout="minimal-interlude"] .mi-row span,
html[data-l2-layout="minimal-interlude"] .mi-news-meta{font-size:12px!important;line-height:1.4!important}
html[data-l2-layout="minimal-interlude"] .mi-news-excerpt{font-size:14px!important;line-height:1.55!important}
html[data-l2-layout="minimal-interlude"] .mi-bossrow b{font-size:15px!important;line-height:1.25!important}
html[data-l2-layout="minimal-interlude"] .mi-bossrow em{font-size:13px!important;line-height:1.4!important}
html[data-l2-layout="minimal-interlude"] .mi-bossrow time,
html[data-l2-layout="minimal-interlude"] .mi-bossrow small{font-size:12px!important;line-height:1.35!important}
html[data-l2-layout="minimal-interlude"] .mi-notice p{font-size:14px!important;line-height:1.65!important}

html[data-l2-layout="minimal-interlude"] .l2-feature-gallery-kicker{font-size:11px!important}
html[data-l2-layout="minimal-interlude"] .l2-feature-gallery-head h2,
html[data-l2-layout="minimal-interlude"] .l2-gallery-v5-heading h2,
html[data-l2-layout="minimal-interlude"] .l2-home-rankings-head h2{font-size:15px!important}
html[data-l2-layout="minimal-interlude"] .l2-feature-gallery-head p{font-size:13px!important;line-height:1.5!important}
html[data-l2-layout="minimal-interlude"] .l2-feature-gallery-open,
html[data-l2-layout="minimal-interlude"] .l2-gallery-v5-all,
html[data-l2-layout="minimal-interlude"] .l2-home-rankings-head>a{font-size:12px!important}
html[data-l2-layout="minimal-interlude"] .l2-feature-gallery-meta b,
html[data-l2-layout="minimal-interlude"] .l2-gallery-stage-bottom strong{font-size:14px!important}
html[data-l2-layout="minimal-interlude"] .l2-feature-gallery-meta em,
html[data-l2-layout="minimal-interlude"] .l2-gallery-type,
html[data-l2-layout="minimal-interlude"] .l2-gallery-counter,
html[data-l2-layout="minimal-interlude"] .l2-gallery-rail-meta,
html[data-l2-layout="minimal-interlude"] .l2-gallery-v5-type,
html[data-l2-layout="minimal-interlude"] .l2-gallery-v5-count{font-size:12px!important}
html[data-l2-layout="minimal-interlude"] .l2-home-rank-player b{font-size:14px!important}
html[data-l2-layout="minimal-interlude"] .l2-home-rank-player small{font-size:12px!important}
html[data-l2-layout="minimal-interlude"] .l2-home-rank-score strong{font-size:14px!important}
html[data-l2-layout="minimal-interlude"] .l2-home-rank-pos{font-size:11px!important}

html[data-l2-layout="minimal-interlude"] .l2-pagebar-title h1{font-size:17px!important}
html[data-l2-layout="minimal-interlude"] .l2-pagebar-title p{font-size:13px!important;line-height:1.45!important}
html[data-l2-layout="minimal-interlude"] .l2-pagebar-links a{font-size:13px!important;padding:7px 10px!important}

html[data-l2-layout="minimal-interlude"] .mi-server-statuses{display:flex;align-items:stretch;gap:6px}
html[data-l2-layout="minimal-interlude"] .mi-server-status-item{min-width:112px;padding:6px 8px;border:1px solid #332b21;background:#11100d;text-align:left}
html[data-l2-layout="minimal-interlude"] .mi-server-status-item>span{display:block;color:#8d8375;font-size:11px;line-height:1.2;margin-bottom:3px}
html[data-l2-layout="minimal-interlude"] .mi-server-status-item>strong{display:block;font-size:12px;line-height:1.2;font-weight:700}
html[data-l2-layout="minimal-interlude"] .mi-server-status-item>strong.online{color:#78b96b}
html[data-l2-layout="minimal-interlude"] .mi-server-status-item>strong.offline{color:#c86c62}
html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] .mi-server-status-item{background:#f4eee5;border-color:#cfc0aa}
html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] .mi-server-status-item>span{color:#5b5146}
html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] .mi-server-status-item>strong.online{color:#236a37!important}
html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] .mi-server-status-item>strong.offline{color:#9b332d!important}

@media(max-width:900px){
  html[data-l2-layout="minimal-interlude"] .mi-mobile-menu>a,
  html[data-l2-layout="minimal-interlude"] .mi-mobile-rank>button,
  html[data-l2-layout="minimal-interlude"] .mi-mobile-rank .l2-rank-submenu a{font-size:14px!important;line-height:1.35!important}
  html[data-l2-layout="minimal-interlude"] .mi-server-statuses{gap:4px}
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item{min-width:94px;padding:5px 6px}
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item>span{font-size:10px}
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item>strong{font-size:11px}
}
@media(max-width:560px){
  html[data-l2-layout="minimal-interlude"] .mi-server-statuses{width:100%;justify-content:flex-end}
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item{min-width:0;flex:0 1 105px}
  html[data-l2-layout="minimal-interlude"] .mi-welcome p{font-size:15px!important}
  html[data-l2-layout="minimal-interlude"] .mi-row b{font-size:15px!important}
  html[data-l2-layout="minimal-interlude"] .mi-news-excerpt{font-size:14px!important}
}



/* ==========================================================================
   v2.1.88 - Mobile: status do servidor compacto no header Minimal
   Evita quebra quando Painel/Sair aparecem após o login.
   ========================================================================== */
@media (max-width:560px){
  html[data-l2-layout="minimal-interlude"] .mi-mast{
    flex-wrap:nowrap!important;
    min-height:58px!important;
    padding:5px 7px!important;
    gap:5px!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-head-tools{
    flex:1 1 auto!important;
    min-width:0!important;
    gap:3px!important;
    flex-wrap:nowrap!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-server-statuses{
    width:auto!important;
    flex:0 0 auto!important;
    justify-content:flex-end!important;
    gap:3px!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item{
    width:30px!important;
    min-width:30px!important;
    max-width:30px!important;
    height:32px!important;
    flex:0 0 30px!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-align:center!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item>span{
    display:none!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item::before{
    display:inline-block!important;
    color:#8d8375!important;
    font:900 8px/1 Inter,sans-serif!important;
    letter-spacing:0!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item:nth-child(1)::before{content:"L";}
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item:nth-child(2)::before{content:"G";}
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item>strong{
    display:block!important;
    width:7px!important;
    height:7px!important;
    flex:0 0 7px!important;
    overflow:hidden!important;
    font-size:0!important;
    line-height:0!important;
    color:transparent!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item>strong::before{
    content:""!important;
    display:block!important;
    width:7px!important;
    height:7px!important;
    border-radius:50%!important;
    background:#c86c62!important;
    box-shadow:0 0 0 2px rgba(200,108,98,.10)!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item>strong.online::before{
    background:#78b96b!important;
    box-shadow:0 0 0 2px rgba(120,185,107,.10)!important;
  }
  html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] .mi-server-status-item::before{
    color:#5b5146!important;
  }
  html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] .mi-server-status-item>strong.online::before{
    background:#236a37!important;
  }
  html[data-l2-theme="light"][data-l2-layout="minimal-interlude"] .mi-server-status-item>strong.offline::before{
    background:#9b332d!important;
  }
}
@media (max-width:430px){
  html[data-l2-layout="minimal-interlude"] .mi-left img{
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-server-status-item{
    width:27px!important;
    min-width:27px!important;
    max-width:27px!important;
    flex-basis:27px!important;
    height:30px!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-account-chip,
  html[data-l2-layout="minimal-interlude"] .mi-logout-chip{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    flex:0 0 30px!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-langs .l2-lang-pill{
    width:25px!important;
    min-width:25px!important;
    height:24px!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-langs .flag-image{
    width:20px!important;
    height:13px!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-head-tools>.l2-theme-toggle{
    width:28px!important;
    height:28px!important;
    flex:0 0 28px!important;
  }
  html[data-l2-layout="minimal-interlude"] .mi-menu-button{
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
}

/* ========================================================================== 
   v2.1.225 — /players: correção real dos campos no tema claro
   O footer-shell é carregado depois do CSS inline da página e possuía regras
   globais com !important. Este bloco específico precisa ficar no final.
   ========================================================================== */
html[data-l2-theme="light"][data-l2-page="players"] .players-filter-card .players-input {
    background:#efe3d4!important;
    color:#3b3025!important;
    border-color:#c7b294!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.62)!important;
    color-scheme:light;
}
html[data-l2-theme="light"][data-l2-page="players"] .players-filter-card .players-input::placeholder {
    color:#8b7967!important;
    opacity:1!important;
}
html[data-l2-theme="light"][data-l2-page="players"] .players-filter-card .players-input:hover {
    background:#eadbc9!important;
    border-color:#b89d7b!important;
}
html[data-l2-theme="light"][data-l2-page="players"] .players-filter-card .players-input:focus {
    background:#fff8ef!important;
    color:#33281e!important;
    border-color:#8b6233!important;
    box-shadow:0 0 0 3px rgba(118,81,28,.12)!important;
    outline:0!important;
}
html[data-l2-theme="light"][data-l2-page="players"] .players-filter-card select.players-input,
html[data-l2-theme="light"][data-l2-page="players"] .players-filter-card select.players-input option {
    background-color:#efe3d4!important;
    color:#3b3025!important;
}
html[data-l2-theme="light"][data-l2-page="players"] .players-filter-card .players-input:-webkit-autofill,
html[data-l2-theme="light"][data-l2-page="players"] .players-filter-card .players-input:-webkit-autofill:hover,
html[data-l2-theme="light"][data-l2-page="players"] .players-filter-card .players-input:-webkit-autofill:focus {
    -webkit-text-fill-color:#3b3025!important;
    -webkit-box-shadow:0 0 0 1000px #efe3d4 inset!important;
    box-shadow:0 0 0 1000px #efe3d4 inset!important;
    caret-color:#3b3025!important;
}
