/* L2Feel Layout Engine v2 - somente a infraestrutura compartilhada. */
html[data-l2-layout] *, html[data-l2-layout] *::before, html[data-l2-layout] *::after { box-sizing: border-box; }
html[data-l2-layout], html[data-l2-layout] body { min-height:100%; }
html[data-l2-layout] body { margin:0; }
html[data-l2-layout] a { -webkit-tap-highlight-color: transparent; }
html[data-l2-layout] .home-bg-grid,
html[data-l2-layout] .home-global-glow,
html[data-l2-layout] #l2-social-left,
html[data-l2-layout] #l2-side-nav { display:none !important; }

/* Seletor propositalmente discreto: ferramenta, não parte da identidade visual. */
.l2-layout-switcher-v2 { position:fixed; right:14px; bottom:14px; z-index:99990; display:flex; align-items:center; gap:3px; padding:4px; background:#090806; border:1px solid #4a3a26; box-shadow:0 8px 30px rgba(0,0,0,.55); font:10px Arial,sans-serif; }
.l2-layout-switcher-v2 span { padding:0 7px; color:#766d5f; text-transform:uppercase; letter-spacing:.08em; }
.l2-layout-switcher-v2 a { padding:7px 9px; color:#a69a87; text-decoration:none; border:1px solid transparent; }
.l2-layout-switcher-v2 a:hover,.l2-layout-switcher-v2 a.active { color:#ead6aa; border-color:#6d5330; background:#1b1711; }
@media(max-width:640px){.l2-layout-switcher-v2{left:7px;right:7px;bottom:7px;justify-content:center}.l2-layout-switcher-v2 span{display:none}.l2-layout-switcher-v2 a{flex:1;text-align:center;padding:8px 4px}}

/* Compatibilidade das páginas internas: remove parte do excesso visual antigo sem tocar na lógica. */
html[data-l2-layout] body:not(.l2-home-v3) .rounded-3xl,
html[data-l2-layout] body:not(.l2-home-v3) .rounded-2xl { border-radius:6px !important; }
html[data-l2-layout] body:not(.l2-home-v3) [class*="backdrop-blur"] { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
html[data-l2-layout] body:not(.l2-home-v3) main { position:relative; z-index:1; }

/* =========================================================
   V4 - componentes compartilhados: galeria viva + pagebar
   ========================================================= */
.l2-feature-gallery{position:relative}.l2-feature-gallery-head{display:flex;align-items:end;justify-content:space-between;gap:22px}.l2-feature-gallery-head h2{margin:5px 0 0!important}.l2-feature-gallery-head p{margin:7px 0 0;max-width:680px}.l2-feature-gallery-kicker{display:inline-flex;align-items:center;gap:7px;text-transform:uppercase;font-weight:700}.l2-feature-gallery-open{display:inline-flex;align-items:center;gap:8px;text-decoration:none;white-space:nowrap}.l2-feature-gallery-stage{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:10px;margin-top:16px}.l2-feature-gallery-main{position:relative;display:block;min-height:330px;overflow:hidden;text-decoration:none;background:#080706}.l2-feature-gallery-main>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s ease,opacity .25s ease}.l2-feature-gallery-main:hover>img{transform:scale(1.025)}.l2-feature-gallery-main>img.is-entering{animation:l2GalleryImageIn .45s ease}.l2-feature-gallery-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 20%,rgba(0,0,0,.78) 100%)}.l2-feature-gallery-meta{position:absolute;left:22px;right:22px;bottom:21px;display:flex;align-items:end;justify-content:space-between;gap:15px;z-index:2}.l2-feature-gallery-meta b{font:700 18px Georgia,serif}.l2-feature-gallery-meta em{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.09em}.l2-feature-gallery-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;display:flex;align-items:center;justify-content:center;border-radius:50%;z-index:2}.l2-feature-gallery-play.is-hidden{display:none}.l2-feature-gallery-progress{position:absolute;left:0;right:0;bottom:0;height:2px;z-index:3;overflow:hidden}.l2-feature-gallery-progress i{display:block;width:100%;height:100%;transform-origin:left;animation:l2GalleryProgress 5600ms linear forwards}.l2-feature-gallery-thumbs{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start}.l2-feature-gallery-thumb{position:relative;height:100px;padding:0;border:0;overflow:hidden;cursor:pointer;background:#0a0908}.l2-feature-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block;opacity:.62;filter:saturate(.65);transition:.2s}.l2-feature-gallery-thumb:hover img,.l2-feature-gallery-thumb.active img{opacity:1;filter:saturate(.95)}.l2-feature-gallery-thumb.active:after{content:"";position:absolute;inset:0;border:2px solid currentColor;pointer-events:none}.l2-feature-gallery-thumb span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px}.l2-feature-gallery-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:8px}.l2-feature-gallery-controls button{width:31px;height:27px;border:1px solid currentColor;background:transparent;cursor:pointer}.l2-feature-gallery-controls span{min-width:54px;text-align:center;font-size:10px;letter-spacing:.08em}
@keyframes l2GalleryImageIn{from{opacity:.4;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
@keyframes l2GalleryProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}

.l2-pagebar{position:relative;z-index:40;border-bottom:1px solid rgba(255,255,255,.06)}.l2-pagebar-inner{width:1220px;max-width:calc(100% - 34px);min-height:82px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.l2-pagebar-title{display:flex;align-items:center;gap:13px;min-width:0}.l2-pagebar-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.l2-pagebar-title h1{font:700 19px Georgia,serif!important;margin:0!important;text-transform:none!important;letter-spacing:0!important}.l2-pagebar-title p{margin:4px 0 0;font-size:11px;line-height:1.45}.l2-pagebar-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.l2-pagebar-links a{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;text-decoration:none;font-size:10px;white-space:nowrap}

.l2-lang-pills{display:flex;align-items:center;gap:5px}.l2-lang-pill{display:inline-flex!important;align-items:center!important;gap:5px!important;text-decoration:none!important;white-space:nowrap}.l2-lang-pill .flag{font-size:14px;line-height:1}.l2-lang-pill .code{font-weight:700;font-size:9px}.l2-social-pills{display:flex;align-items:center;gap:5px}.l2-social-pill{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.l2-social-pill i{font-size:13px}

@media(max-width:850px){.l2-feature-gallery-head{align-items:flex-start}.l2-feature-gallery-stage{grid-template-columns:1fr}.l2-feature-gallery-main{min-height:280px}.l2-feature-gallery-thumbs{grid-template-columns:repeat(4,1fr)}.l2-feature-gallery-thumb{height:74px}.l2-pagebar-inner{min-height:70px}.l2-pagebar-title p{display:none}.l2-pagebar-links{display:none}}
@media(max-width:560px){.l2-feature-gallery-head{display:block}.l2-feature-gallery-open{margin-top:10px}.l2-feature-gallery-main{min-height:225px}.l2-feature-gallery-thumbs{grid-template-columns:repeat(3,1fr)}.l2-feature-gallery-thumb{height:68px}.l2-feature-gallery-meta{left:14px;right:14px;bottom:14px}.l2-feature-gallery-meta em{display:none}.l2-pagebar-inner{max-width:calc(100% - 20px)}.l2-pagebar-title h1{font-size:16px!important}}

/* =========================================================
   V5 - bandeiras reais + galeria integrada na mesma página
   ========================================================= */
.l2-lang-pill .flag-image{display:block;width:27px;height:18px;object-fit:cover;border:1px solid rgba(255,255,255,.14);box-shadow:0 1px 4px rgba(0,0,0,.35)}
.l2-lang-pill .code.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.l2-lang-pill{position:relative;justify-content:center!important}

.l2-feature-gallery{position:relative}
.l2-feature-gallery-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.l2-feature-gallery-head>div{min-width:0}
.l2-feature-gallery-kicker{display:inline-flex;align-items:center;gap:7px}
.l2-gallery-showcase{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:10px;margin-top:14px}
.l2-gallery-stage{appearance:none;-webkit-appearance:none;position:relative;display:block;width:100%;min-height:360px;padding:0;border:0;overflow:hidden;cursor:zoom-in;text-align:left;background:#050504;color:inherit}
.l2-gallery-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:opacity .28s ease,transform .85s ease}
.l2-gallery-stage:hover>img{transform:scale(1.018)}
.l2-gallery-stage>img.is-entering{animation:l2GalleryImageIn .42s ease}
.l2-gallery-stage-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04) 35%,rgba(0,0,0,.76) 100%)}
.l2-gallery-stage-top{position:absolute;left:15px;right:15px;top:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:3}
.l2-gallery-type,.l2-gallery-counter{display:inline-flex;align-items:center;min-height:27px;padding:0 9px;background:rgba(8,7,6,.76);border:1px solid rgba(255,255,255,.15);font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;backdrop-filter:blur(3px)}
.l2-gallery-stage-bottom{position:absolute;left:18px;right:18px;bottom:18px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px}
.l2-gallery-stage-bottom strong{font:700 17px Georgia,serif;letter-spacing:.02em}
.l2-gallery-stage-bottom>span{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.5)}
.l2-gallery-play{position:absolute;left:50%;top:50%;z-index:3;transform:translate(-50%,-50%);width:58px;height:58px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(5,4,3,.78);border:1px solid rgba(232,204,143,.65);box-shadow:0 8px 26px rgba(0,0,0,.35)}
.l2-gallery-play.is-hidden{display:none}
.l2-gallery-progress{position:absolute;left:0;right:0;bottom:0;height:2px;z-index:4;background:rgba(255,255,255,.08)}
.l2-gallery-progress i{display:block;height:100%;width:100%;transform-origin:left;background:#b58b4d;animation:l2GalleryProgress 6000ms linear forwards}
.l2-gallery-rail{display:grid;grid-template-columns:1fr;gap:5px;align-content:stretch;min-height:0}
.l2-gallery-rail-item{appearance:none;-webkit-appearance:none;position:relative;display:block;width:100%;min-height:47px;padding:0;border:1px solid rgba(255,255,255,.09);overflow:hidden;cursor:pointer;background:#090806;color:#bd9961;text-align:left;transition:border-color .18s ease,transform .18s ease}
.l2-gallery-rail-item img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.65) brightness(.72);transition:filter .2s ease,transform .35s ease}
.l2-gallery-rail-item:hover img,.l2-gallery-rail-item.active img{filter:saturate(.95) brightness(.9)}
.l2-gallery-rail-item:hover img{transform:scale(1.025)}
.l2-gallery-rail-item.active{border-color:#9a7543}
.l2-gallery-rail-item.active:after{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#b58b4d;z-index:4}
.l2-gallery-rail-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.05),rgba(0,0,0,.52));z-index:1}
.l2-gallery-rail-meta{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:0 10px;font-size:10px;text-shadow:0 1px 5px #000}
.l2-gallery-rail-meta b{font:700 10px Arial,sans-serif;letter-spacing:.1em}
.l2-feature-gallery-controls{display:flex;justify-content:flex-end;gap:5px;margin-top:7px}
.l2-feature-gallery-controls button{appearance:none;width:34px;height:28px;cursor:pointer;background:transparent;border:1px solid currentColor}

html.l2-media-open,body.l2-media-open{overflow:hidden!important}
.l2-home-media-modal{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:28px;opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
.l2-home-media-modal.open{opacity:1;visibility:visible}
.l2-home-media-backdrop{appearance:none;position:absolute;inset:0;border:0;background:rgba(0,0,0,.88);cursor:zoom-out}
.l2-home-media-shell{position:relative;z-index:2;width:min(1180px,96vw);height:min(760px,90vh);display:grid;grid-template-rows:46px minmax(0,1fr) 48px;background:#080706;border:1px solid #4b3d2c;box-shadow:0 28px 80px rgba(0,0,0,.72)}
.l2-home-media-top{display:flex;align-items:center;gap:12px;padding:0 14px;border-bottom:1px solid #2f2920;color:#a99576;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.l2-home-media-top span:nth-child(2){margin-left:auto;color:#71695e}
.l2-home-media-top button{width:32px;height:32px;margin-left:4px;border:1px solid #3c3328;background:#0d0b09;color:#c7b28e;cursor:pointer}
.l2-home-media-content{min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#020202}
.l2-home-media-content>img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.l2-home-video-frame{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#000}
.l2-home-video-frame iframe{width:min(1120px,100%);aspect-ratio:16/9;max-height:100%;border:0;background:#000}
.l2-home-media-nav{display:flex;align-items:center;justify-content:center;gap:8px;border-top:1px solid #2f2920;background:#0b0907}
.l2-home-media-nav button{width:42px;height:30px;border:1px solid #3e3428;background:#11100d;color:#baa37c;cursor:pointer}
.l2-home-media-nav button:hover,.l2-home-media-top button:hover{border-color:#8b6d42;color:#ead4a6}
.l2-home-media-nav button:disabled{opacity:.28;cursor:default}
.l2-home-media-nav-separator{width:1px;height:22px;background:#332b21;flex:0 0 1px}
.l2-home-media-zoom-controls{display:flex;align-items:center;gap:4px}
.l2-home-media-zoom-label{min-width:48px;text-align:center;color:#a99576;font-size:11px;font-weight:900;font-variant-numeric:tabular-nums}
.l2-home-media-modal.is-video .l2-home-media-zoom-controls,.l2-home-media-modal.is-video .l2-home-media-zoom-separator{display:none}
.l2-home-media-content>img{transform-origin:center center;transition:transform .12s ease;touch-action:none;user-select:none;-webkit-user-drag:none}
.l2-home-media-modal.is-zoomed .l2-home-media-content>img{cursor:grab}
.l2-home-media-modal.is-dragging .l2-home-media-content>img{cursor:grabbing;transition:none}

@media(max-width:850px){
 .l2-gallery-showcase{grid-template-columns:1fr}
 .l2-gallery-stage{min-height:300px}
 .l2-gallery-rail{grid-template-columns:repeat(7,minmax(88px,1fr));overflow-x:auto;padding-bottom:3px}
 .l2-gallery-rail-item{height:64px;min-height:64px}
 .l2-home-media-modal{padding:12px}
 .l2-home-media-shell{width:100%;height:88vh}
}
@media(max-width:560px){
 .l2-feature-gallery-head{display:block}
 .l2-feature-gallery-open{margin-top:10px}
 .l2-gallery-stage{min-height:230px}
 .l2-gallery-stage-bottom strong{font-size:14px}
 .l2-gallery-stage-bottom>span{width:34px;height:34px}
 .l2-gallery-rail{grid-template-columns:repeat(7,82px)}
 .l2-gallery-rail-item{height:54px;min-height:54px}
 .l2-gallery-rail-meta b{display:none}
 .l2-home-media-modal{padding:0}
 .l2-home-media-shell{width:100vw;height:100vh;border:0;grid-template-rows:48px minmax(0,1fr) 54px}
 .l2-home-media-zoom-label{display:none}
 .l2-home-media-nav{gap:4px}
 .l2-home-media-zoom-controls{gap:2px}
 .l2-home-media-nav button{width:38px}
}

/* =========================================================
   V5.2 - galeria em mosaico + ranking compacto na Home
   ========================================================= */
.l2-gallery-v5{position:relative}
.l2-gallery-v5-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:10px}
.l2-gallery-v5-heading{display:flex;align-items:center;gap:10px;min-width:0}
.l2-gallery-v5-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid currentColor}
.l2-gallery-v5-heading small{display:block;font-size:8px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;opacity:.62;margin-bottom:2px}
.l2-gallery-v5-heading h2{margin:0!important;font:700 19px Georgia,serif!important;letter-spacing:.01em!important;text-transform:none!important}
.l2-gallery-v5-all{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid currentColor;text-decoration:none;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.l2-gallery-v5-stage{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,.9fr);gap:7px}
.l2-gallery-v5-main{appearance:none;-webkit-appearance:none;position:relative;width:100%;min-height:335px;padding:0;border:0;overflow:hidden;cursor:zoom-in;background:#050504;text-align:left;color:inherit}
.l2-gallery-v5-main>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .75s ease,opacity .25s ease}
.l2-gallery-v5-main:hover>img{transform:scale(1.018)}
.l2-gallery-v5-main>img.is-entering{animation:l2GalleryImageIn .38s ease}
.l2-gallery-v5-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04) 36%,rgba(0,0,0,.68) 100%);pointer-events:none}
.l2-gallery-v5-main-meta{position:absolute;left:13px;right:13px;top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:3}
.l2-gallery-v5-type,.l2-gallery-v5-count{display:inline-flex;align-items:center;min-height:25px;padding:0 8px;background:rgba(8,7,6,.78);border:1px solid rgba(255,255,255,.14);font-size:8px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.l2-gallery-v5-open-icon{position:absolute;right:15px;bottom:14px;z-index:3;width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:rgba(7,6,5,.78);border:1px solid rgba(255,255,255,.2);font-size:12px}
.l2-gallery-v5-progress{position:absolute;left:0;right:0;bottom:0;height:2px;z-index:4;background:rgba(255,255,255,.07)}
.l2-gallery-v5-progress i{display:block;height:100%;width:100%;transform-origin:left;animation:l2GalleryProgress 6500ms linear forwards}
.l2-gallery-v5-mosaic{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:7px;min-height:335px}
.l2-gallery-v5-tile{appearance:none;-webkit-appearance:none;position:relative;padding:0;border:0;overflow:hidden;cursor:zoom-in;background:#080706;color:inherit;min-height:0}
.l2-gallery-v5-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.78) brightness(.82);transition:transform .45s ease,filter .2s ease}
.l2-gallery-v5-tile:hover img{transform:scale(1.035);filter:saturate(.98) brightness(.92)}
.l2-gallery-v5-tile-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.46));pointer-events:none}
.l2-gallery-v5-tile-type{position:absolute;left:8px;bottom:8px;z-index:2;width:25px;height:25px;display:flex;align-items:center;justify-content:center;background:rgba(5,4,3,.74);border:1px solid rgba(255,255,255,.16);font-size:9px}
.l2-gallery-v5-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px}
.l2-gallery-v5-dots{display:flex;align-items:center;gap:5px}
.l2-gallery-v5-dots span{width:18px;height:2px;background:rgba(255,255,255,.13);transition:width .2s ease,background .2s ease}
.l2-gallery-v5-dots span.active{width:30px}
.l2-gallery-v5-nav{display:flex;gap:5px}
.l2-gallery-v5-nav button{width:31px;height:27px;border:1px solid currentColor;background:transparent;color:inherit;cursor:pointer}

.l2-home-rankings{position:relative}
.l2-home-rankings-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.l2-home-rankings-head>div{display:flex;align-items:center;gap:9px}
.l2-home-rankings-head>div>span{width:31px;height:31px;display:flex;align-items:center;justify-content:center;border:1px solid currentColor}
.l2-home-rankings-head h2{margin:0!important;font:700 18px Georgia,serif!important;letter-spacing:.01em!important;text-transform:none!important}
.l2-home-rankings-head>a{display:inline-flex;align-items:center;gap:6px;text-decoration:none;font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.l2-home-rankings-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.l2-home-rank-card{border:1px solid rgba(255,255,255,.09);background:rgba(10,9,7,.82)}
.l2-home-rank-card>header{height:39px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid rgba(255,255,255,.07)}
.l2-home-rank-card>header>div{display:flex;align-items:center;gap:8px}
.l2-home-rank-card>header strong{font:700 12px Georgia,serif;letter-spacing:.02em}
.l2-home-rank-card>header>span{font-size:8px;font-weight:800;letter-spacing:.16em;opacity:.58}
.l2-home-rank-list{padding:3px 8px 5px}
.l2-home-rank-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:44px;padding:4px 2px;border-bottom:1px solid rgba(255,255,255,.055);text-decoration:none;color:inherit}
.l2-home-rank-row:last-child{border-bottom:0}
.l2-home-rank-pos{width:23px;height:23px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.1);font-size:9px;font-weight:800}
.l2-home-rank-row.is-podium .l2-home-rank-pos{font-family:Georgia,serif;font-weight:700}
.l2-home-rank-player{min-width:0;display:flex;flex-direction:column;gap:2px}
.l2-home-rank-player b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.1}
.l2-home-rank-player small{display:flex;align-items:center;gap:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;opacity:.52}
.l2-rank-online{display:inline-block;width:5px;height:5px;border-radius:50%;background:#4eaf68;box-shadow:0 0 5px rgba(78,175,104,.45)}
.l2-home-rank-score{text-align:right;display:flex;flex-direction:column;gap:1px}
.l2-home-rank-score strong{font:700 12px Georgia,serif}
.l2-home-rank-score small{font-size:7px;letter-spacing:.08em;text-transform:uppercase;opacity:.48}

@media(max-width:850px){
 .l2-gallery-v5-stage{grid-template-columns:1fr}
 .l2-gallery-v5-main{min-height:285px}
 .l2-gallery-v5-mosaic{grid-template-columns:repeat(4,1fr);grid-template-rows:78px;min-height:78px}
 .l2-home-rankings-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
 .l2-gallery-v5-head{align-items:flex-start}
 .l2-gallery-v5-main{min-height:230px}
 .l2-gallery-v5-mosaic{grid-template-columns:repeat(4,112px);overflow-x:auto;justify-content:start}
 .l2-gallery-v5-tile{height:68px}
 .l2-gallery-v5-all{padding:6px 7px}
 .l2-home-rankings-grid{grid-template-columns:1fr}
 .l2-home-rankings-head>a{font-size:8px}
}

/* =========================================================
   V6 - navegação, rankings com avatar e módulos centralizados
   ========================================================= */
.l2-rank-menu{position:relative;min-width:0}
.l2-rank-submenu{position:absolute;z-index:1200;top:calc(100% - 1px);left:50%;width:220px;transform:translateX(-50%) translateY(7px);padding:6px;border:1px solid #433729;background:#0d0b09;box-shadow:0 16px 34px rgba(0,0,0,.42);opacity:0;visibility:hidden;pointer-events:none;transition:.16s ease}
.l2-rank-menu:hover>.l2-rank-submenu,.l2-rank-menu:focus-within>.l2-rank-submenu,.l2-rank-menu.open>.l2-rank-submenu{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.l2-rank-submenu a{min-height:34px!important;height:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;padding:7px 9px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.055)!important;background:transparent!important;color:#a99e8e!important;font-size:9px!important;text-decoration:none!important;white-space:nowrap!important}
.l2-rank-submenu a:last-child{border-bottom:0!important}.l2-rank-submenu a:hover{background:#17130f!important;color:#ead5aa!important}.l2-rank-submenu a i{width:14px;text-align:center;color:#977345!important}.l2-rank-submenu a:after{display:none!important}

.l2-home-rank-row{grid-template-columns:28px 36px minmax(0,1fr) auto!important;gap:8px!important}
.l2-home-rank-avatar{width:34px;height:34px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid rgba(190,153,92,.3);background:#14110d;color:#9e7d4b;flex:0 0 auto}
.l2-home-rank-avatar img{width:100%;height:100%;object-fit:cover;display:block}.l2-home-rank-avatar i{font-size:12px;opacity:.8}

/* Estatísticas: título e conteúdo realmente centralizados em todos os layouts. */
.l2-stats-module .l2-module-head-inline{position:relative!important;justify-content:center!important;text-align:center!important}
.l2-stats-module .l2-stats-live{position:absolute;right:14px;top:50%;transform:translateY(-50%)}
.l2-stats-module .l2-stat-card{justify-content:center!important;text-align:center!important}
.l2-stats-module .l2-stat-card>div{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center}

@media(max-width:1180px){
 .l2-rank-submenu{left:0;transform:translateY(7px)}
 .l2-rank-menu:hover>.l2-rank-submenu,.l2-rank-menu:focus-within>.l2-rank-submenu,.l2-rank-menu.open>.l2-rank-submenu{transform:translateY(0)}
}
@media(max-width:620px){
 .l2-home-rank-row{grid-template-columns:25px 32px minmax(0,1fr) auto!important}
 .l2-home-rank-avatar{width:30px;height:30px}
 .l2-stats-module .l2-stats-live{position:static;transform:none;margin-top:6px}
 .l2-stats-module .l2-module-head-inline{flex-direction:column!important;gap:2px!important}
}

/* =========================================================
   V6.1 - acabamento Home
   ========================================================= */
.l2-home-rank-avatar-fallback{font:700 12px Georgia,serif;color:#c3a46e;line-height:1}
.l2-home-rank-row{grid-template-columns:28px 36px minmax(0,1fr) auto!important}
.l2-stats-grid{justify-content:center!important}
.l2-stats-module .l2-stat-icon{margin-left:auto!important;margin-right:auto!important}
.l2-stats-module .l2-stat-card strong,.l2-stats-module .l2-stat-card span{text-align:center!important}
.l2-gallery-v5-main{min-height:390px}
.l2-gallery-v5-mosaic{grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr)!important;min-height:390px}
@media(max-width:850px){.l2-gallery-v5-mosaic{grid-template-columns:repeat(3,1fr)!important;grid-template-rows:82px!important;min-height:82px!important}}
@media(max-width:620px){.l2-gallery-v5-mosaic{grid-template-columns:repeat(3,112px)!important;grid-template-rows:70px!important;min-height:70px!important}}


/* =========================================================
   v2.1.95 - viewer da Home igual ao viewer aprovado do Perfil
   ========================================================= */
.l2-home-media-modal{padding:28px!important}
.l2-home-media-backdrop{background:rgba(0,0,0,.88)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.l2-home-media-shell{
  width:min(1180px,96vw)!important;height:min(760px,90vh)!important;
  grid-template-rows:46px minmax(0,1fr) 48px!important;
  border:1px solid #4b3d2c!important;border-radius:0!important;overflow:hidden!important;
  background:#080706!important;box-shadow:0 28px 80px rgba(0,0,0,.72)!important
}
.l2-home-media-top{
  min-height:0!important;display:flex!important;align-items:center!important;gap:12px!important;padding:0 14px!important;
  border-bottom:1px solid #2f2920!important;background:#080706!important;color:#a99576!important;
  font-size:10px!important;font-weight:800!important;letter-spacing:.1em!important;text-transform:uppercase!important
}
.l2-home-media-top>span:first-child{color:#a99576!important;white-space:nowrap}
.l2-home-media-top>span:nth-child(2){margin-left:auto!important;color:#71695e!important;white-space:nowrap}
.l2-home-media-social{margin-left:auto!important;flex:0 0 auto!important}
.l2-home-media-top>button{
  width:32px!important;height:32px!important;flex:0 0 32px!important;margin-left:4px!important;
  border:1px solid #3c3328!important;border-radius:0!important;background:#0d0b09!important;color:#c7b28e!important;cursor:pointer!important
}
.l2-home-media-top>button:hover,.l2-home-media-top>button:focus-visible{border-color:#8b6d42!important;background:#0d0b09!important;color:#ead4a6!important;outline:none!important}
.l2-home-media-content{position:relative!important;isolation:isolate!important;min-width:0!important;min-height:0!important;overflow:hidden!important;background:#050403!important}
.l2-home-media-content::before{
  content:"";position:absolute;z-index:0;inset:-30px;display:block;
  background-image:var(--l2-home-viewer-bg-image,none);background-position:center;background-size:cover;background-repeat:no-repeat;
  filter:blur(18px) saturate(.92) brightness(.52);transform:scale(1.10);opacity:0;pointer-events:none;transition:opacity .16s ease
}
.l2-home-media-content.is-image::before{opacity:.94}
.l2-home-media-content.is-video::before{opacity:.72}
.l2-home-media-content::after{content:"";position:absolute;z-index:1;inset:0;display:block;background:linear-gradient(180deg,rgba(5,4,3,.16),rgba(5,4,3,.30));pointer-events:none}
.l2-home-media-content>img,.l2-home-media-content>.l2-home-video-frame{position:relative!important;z-index:2!important}
.l2-home-media-content>img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}
.l2-home-video-frame{width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important}
.l2-home-video-frame iframe{width:min(1120px,100%)!important;height:auto!important;max-height:100%!important;aspect-ratio:16/9!important;border:0!important;background:#000!important}
.l2-home-media-nav{height:48px!important;min-height:0!important;gap:4px!important;padding:0!important;border-top:1px solid #2f2920!important;background:#0b0907!important}
.l2-home-media-nav button{
  width:42px!important;height:30px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #3e3428!important;background:#11100d!important;color:#baa37c!important;cursor:pointer!important
}
.l2-home-media-nav button:hover,.l2-home-media-nav button:focus-visible{border-color:#8b6d42!important;background:#11100d!important;color:#ead4a6!important;outline:none!important}
.l2-home-media-nav button:disabled{opacity:.28!important;cursor:default!important}
.l2-home-media-nav-separator{width:1px!important;height:22px!important;background:#332b21!important;flex:0 0 1px!important}
.l2-home-media-zoom-controls{display:flex!important;align-items:center!important;gap:4px!important}
.l2-home-media-zoom-label{min-width:48px!important;text-align:center!important;color:#a99576!important;font-size:11px!important;font-weight:900!important;font-variant-numeric:tabular-nums!important}
.l2-home-media-modal.is-video .l2-home-media-zoom-controls,.l2-home-media-modal.is-video .l2-home-media-zoom-separator{display:none!important}

/* Social do topo no mesmo formato compacto do Perfil. */
.l2-home-media-social .l2-social-like{z-index:auto;display:inline-flex;align-items:center;gap:0;min-height:29px;padding:2px 4px 2px 2px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(7,6,5,.78);box-shadow:0 5px 16px rgba(0,0,0,.22);backdrop-filter:blur(7px);white-space:nowrap}
.l2-home-media-social .l2-social-like button{height:24px!important;min-height:24px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#eee1c8!important;transform:none!important}
.l2-home-media-social .l2-social-like button:hover{background:rgba(255,255,255,.05)!important;color:#fff1d5!important}
.l2-home-media-social .l2-social-like__toggle{min-width:auto!important;padding:0 6px!important;gap:5px!important}
.l2-home-media-social .l2-social-like__toggle.is-liked{background:transparent!important}
.l2-home-media-social .l2-social-like__toggle.is-liked i{color:#ef8585!important;filter:drop-shadow(0 0 5px rgba(239,95,95,.28))}
.l2-home-media-social .l2-social-like__people{min-width:auto!important;width:auto!important;padding:0 2px 0 3px!important}
.l2-home-media-social .l2-social-like__people:not(.has-faces){display:none!important}
.l2-home-media-social .l2-social-like__faces{display:flex!important;align-items:center!important;margin:0!important}
.l2-home-media-social .l2-social-face{width:19px!important;height:19px!important;flex:0 0 19px!important;box-shadow:0 1px 5px rgba(0,0,0,.25)!important;border-radius:50%!important;overflow:hidden!important}
.l2-home-media-social .l2-social-face+.l2-social-face{margin-left:-6px!important}

html[data-l2-theme="light"] .l2-home-media-backdrop{background:rgba(0,0,0,.88)!important}
html[data-l2-theme="light"] .l2-home-media-shell{background:#080706!important;border-color:#4b3d2c!important;box-shadow:0 28px 80px rgba(0,0,0,.72)!important}
html[data-l2-theme="light"] .l2-home-media-top{background:#080706!important;border-bottom-color:#2f2920!important;color:#a99576!important}
html[data-l2-theme="light"] .l2-home-media-content{background:#050403!important}
html[data-l2-theme="light"] .l2-home-media-nav{background:#0b0907!important;border-top-color:#2f2920!important;color:#a99576!important}
html[data-l2-theme="light"] .l2-home-media-top>button{border-color:#3c3328!important;background:#0d0b09!important;color:#c7b28e!important}
html[data-l2-theme="light"] .l2-home-media-nav button{border-color:#3e3428!important;background:#11100d!important;color:#baa37c!important}
html[data-l2-theme="light"] .l2-home-media-nav-separator{background:#332b21!important}
html[data-l2-theme="light"] .l2-home-media-zoom-label{color:#a99576!important}
html[data-l2-theme="light"] .l2-home-media-social .l2-social-like{background:rgba(255,253,249,.96)!important;border-color:rgba(105,72,32,.18)!important;box-shadow:0 4px 12px rgba(76,55,31,.09)!important}
html[data-l2-theme="light"] .l2-home-media-social .l2-social-like button{color:#675748!important}
html[data-l2-theme="light"] .l2-home-media-social .l2-social-like button:hover{background:#f4eadc!important;color:#5e421f!important}
html[data-l2-theme="light"] .l2-home-media-social .l2-social-like__toggle.is-liked i{color:#a8423a!important;filter:none!important}
html[data-l2-theme="light"] .l2-home-media-social .l2-social-face{box-shadow:0 1px 5px rgba(76,55,31,.14)!important}

@media(max-width:850px){
  .l2-home-media-modal{padding:12px!important}
  .l2-home-media-shell{width:100%!important;height:88vh!important}
}
@media(max-width:560px){
  .l2-home-media-modal{padding:0!important}
  .l2-home-media-shell{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;grid-template-rows:48px minmax(0,1fr) 54px!important}
  .l2-home-media-top{padding:0 10px!important;gap:8px!important;font-size:9px!important}
  .l2-home-media-zoom-label{display:none!important}
  .l2-home-media-nav{height:54px!important;gap:2px!important}
  .l2-home-media-zoom-controls{gap:2px!important}
  .l2-home-media-nav button{width:38px!important}
}


/* ==========================================================
   v2.1.199 — Galeria Home + link visual para perfil
   ========================================================== */
.l2-home-media-content::before{display:none!important}
.l2-home-media-blur-bg{
  position:absolute!important;z-index:0!important;inset:-34px!important;display:block!important;
  background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;
  filter:blur(22px) saturate(.94) brightness(.50)!important;transform:scale(1.14)!important;
  opacity:0!important;pointer-events:none!important;
}
.l2-home-media-content.is-image>.l2-home-media-blur-bg{opacity:.96!important}
.l2-home-media-content.is-video>.l2-home-media-blur-bg{opacity:.76!important}
.l2-home-media-content>.l2-home-media-blur-bg + img,
.l2-home-media-content>.l2-home-media-blur-bg + .l2-home-video-frame{
  position:relative!important;z-index:2!important;
}

.l2-home-rank-player b{
  min-width:0;display:flex!important;align-items:center!important;gap:5px!important;
}
.l2-home-rank-player b>span{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.l2-home-rank-profile-icon{
  flex:0 0 auto;color:#b9975f;font-size:7px;opacity:.62;
  transition:opacity .15s ease,transform .15s ease;
}
.l2-home-rank-row:hover .l2-home-rank-profile-icon,
.l2-home-rank-row:focus-visible .l2-home-rank-profile-icon{
  opacity:1;transform:translate(1px,-1px);
}
html[data-l2-theme="light"] .l2-home-rank-profile-icon{color:#73511f}


/* ==========================================================
   v2.1.210 — Conquistas usando o visual REAL do Top PvP/PK
   ========================================================== */

/*
 * O bloco reaproveita:
 * .l2-home-rankings
 * .l2-home-rankings-head
 * .l2-home-rank-card
 * .l2-home-rank-row
 * .l2-home-rank-pos
 * .l2-home-rank-avatar
 * .l2-home-rank-player
 * .l2-home-rank-score
 *
 * Assim fundo, bordas e tema claro/escuro são os mesmos do Top PvP.
 */

.l2-home-achievements{
  margin-top:14px;
}

.l2-home-achievement-card>header>div{
  min-width:0;
}

.l2-home-achievement-card>header strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.l2-home-achievement-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:16px;
  padding:3px 8px 5px;
}

.l2-home-achievement-row{
  min-width:0;
}

.l2-home-achievement-row:nth-last-child(-n+2){
  border-bottom:0;
}

.l2-home-achievement-type{
  color:#a98a59;
}

.l2-home-achievement-type i{
  font-size:8px;
}

.l2-home-achievement-summary{
  min-width:0;
  display:flex!important;
  align-items:center;
  gap:4px!important;
}

.l2-home-achievement-summary>span{
  flex:0 0 auto;
  opacity:.72;
}

.l2-home-achievement-summary>strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:inherit;
  font-size:9.5px;
  font-weight:700;
}

.l2-home-achievement-score{
  min-width:66px;
}

.l2-home-achievement-score>strong{
  font:800 8px/1.05 system-ui,sans-serif!important;
  letter-spacing:.025em;
  white-space:nowrap;
}

.l2-home-achievement-score>small{
  font-size:6.5px!important;
  letter-spacing:.02em!important;
  text-transform:none!important;
  white-space:nowrap;
}

/* Apenas a raridade recebe cor; o FUNDO continua exatamente o do Top PvP. */
.l2-home-achievement-row.is-uncommon .l2-home-achievement-score>strong{color:#87a17e}
.l2-home-achievement-row.is-rare .l2-home-achievement-score>strong{color:#829bc6}
.l2-home-achievement-row.is-very-rare .l2-home-achievement-score>strong{color:#a887cf}
.l2-home-achievement-row.is-legendary .l2-home-achievement-score>strong{color:#d1ad68}
.l2-home-achievement-row.is-special .l2-home-achievement-score>strong{color:#70bdc8}

.l2-home-achievement-row.is-uncommon .l2-home-achievement-type{color:#75916d}
.l2-home-achievement-row.is-rare .l2-home-achievement-type{color:#6f89ba}
.l2-home-achievement-row.is-very-rare .l2-home-achievement-type{color:#936fc0}
.l2-home-achievement-row.is-legendary .l2-home-achievement-type{color:#c79a4a}
.l2-home-achievement-row.is-special .l2-home-achievement-type{color:#58aebb}

/* Avatar sem imagem permanece perfeitamente centralizado. */
.l2-home-achievement-row .l2-home-rank-avatar-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  line-height:1;
  text-align:center;
}

/*
 * Tema claro:
 * propositalmente NÃO criamos fundo branco/creme aqui.
 * O card herda exatamente .l2-home-rank-card, igual ao Top PvP logo acima.
 */
html[data-l2-theme="light"] .l2-home-achievement-type{
  color:#977345;
}

html[data-l2-theme="light"] .l2-home-achievement-row.is-uncommon .l2-home-achievement-score>strong{color:#62785b}
html[data-l2-theme="light"] .l2-home-achievement-row.is-rare .l2-home-achievement-score>strong{color:#536b98}
html[data-l2-theme="light"] .l2-home-achievement-row.is-very-rare .l2-home-achievement-score>strong{color:#74549e}
html[data-l2-theme="light"] .l2-home-achievement-row.is-legendary .l2-home-achievement-score>strong{color:#8a6127}
html[data-l2-theme="light"] .l2-home-achievement-row.is-special .l2-home-achievement-score>strong{color:#397d87}

@media(max-width:850px){
  .l2-home-achievement-list{
    grid-template-columns:1fr;
    column-gap:0;
  }

  .l2-home-achievement-row:nth-last-child(-n+2){
    border-bottom:1px solid rgba(255,255,255,.055);
  }

  .l2-home-achievement-row:last-child{
    border-bottom:0;
  }
}

@media(max-width:620px){
  .l2-home-achievements{
    margin-top:10px;
  }

  .l2-home-achievement-list{
    padding:3px 8px 5px;
  }

  .l2-home-achievement-score{
    min-width:58px;
  }

  .l2-home-achievement-summary{
    white-space:normal!important;
    overflow:visible!important;
  }

  .l2-home-achievement-summary>strong{
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    line-height:1.18;
    font-size:9.2px!important;
  }

  .l2-home-achievement-score>strong{
    font-size:7.3px!important;
  }

  .l2-home-achievement-score>small{
    font-size:6px!important;
  }
}



/* V6 - seletor de idioma em dropdown */
.l2-lang-dropdown{position:relative;display:inline-block;vertical-align:middle;align-self:center;line-height:0}
.l2-lang-dropdown>summary{list-style:none;margin:0;box-sizing:border-box;line-height:1}
.l2-lang-dropdown>summary::-webkit-details-marker{display:none}
.l2-lang-dropdown__toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:42px;padding:0 8px;cursor:pointer;user-select:none;white-space:nowrap;text-decoration:none!important}
.l2-lang-dropdown__toggle .flag-image{display:block;width:26px;height:17px;object-fit:cover;border:1px solid rgba(255,255,255,.14);box-shadow:0 1px 4px rgba(0,0,0,.35)}
.l2-lang-dropdown__chevron{font-size:9px;opacity:.72;transition:transform .18s ease}
.l2-lang-dropdown[open] .l2-lang-dropdown__chevron{transform:rotate(180deg)}
.l2-lang-dropdown__menu{position:absolute;top:calc(100% + 7px);right:0;min-width:176px;padding:5px;background:#0e0c09;border:1px solid #3a3023;box-shadow:0 14px 30px rgba(0,0,0,.45);display:grid;gap:4px;z-index:150;line-height:normal;overflow:hidden}
.l2-lang-dropdown--up .l2-lang-dropdown__menu{top:auto;bottom:calc(100% + 7px)}
.l2-lang-dropdown__item{display:flex!important;align-items:center!important;gap:8px!important;padding:8px 9px;color:#ccb283;text-decoration:none!important;border:1px solid transparent;white-space:nowrap}
.l2-lang-dropdown__item .flag-image{display:block;width:24px;height:16px;object-fit:cover;border:1px solid rgba(255,255,255,.12);box-shadow:0 1px 4px rgba(0,0,0,.25)}
.l2-lang-dropdown__item span{flex:1;min-width:0;font-size:11px;line-height:1.2}
.l2-lang-dropdown__item b{font-size:9px;letter-spacing:.08em;color:#8f7a5a}
.l2-lang-dropdown__item:hover,.l2-lang-dropdown__item.is-active{border-color:#6d5330;background:#19140f;color:#ecd49f}
html[data-l2-theme="light"] .l2-lang-dropdown__menu{background:#faf5ee;border-color:#cbb89b;box-shadow:0 14px 26px rgba(47,34,18,.12)}
html[data-l2-theme="light"] .l2-lang-dropdown__item{color:#5a4d3d}
html[data-l2-theme="light"] .l2-lang-dropdown__item b{color:#8d7353}
html[data-l2-theme="light"] .l2-lang-dropdown__item:hover,
html[data-l2-theme="light"] .l2-lang-dropdown__item.is-active{background:#f2e7d6;border-color:#c2a477;color:#3f3326}


/* V6.1 - dropdown acima da navegacao + refinamento do tema claro */
.l2-lang-dropdown{z-index:2600}
.l2-lang-dropdown[open]{z-index:3200}
.l2-lang-dropdown__menu{z-index:3300}
html[data-l2-theme="light"] .l2-lang-dropdown__toggle{
  background:#f8f3eb;
  border-color:#c9b89f;
  color:#584936;
  box-shadow:0 2px 7px rgba(65,47,25,.08);
}
html[data-l2-theme="light"] .l2-lang-dropdown__toggle:hover,
html[data-l2-theme="light"] .l2-lang-dropdown[open] .l2-lang-dropdown__toggle{
  background:#efe4d4;
  border-color:#aa8d67;
  color:#382e23;
}
html[data-l2-theme="light"] .l2-lang-dropdown__toggle .flag-image{
  border-color:#bca98d;
  box-shadow:0 1px 3px rgba(58,42,23,.12);
}
html[data-l2-theme="light"] .l2-lang-dropdown__chevron{color:#765f43;opacity:.9}
html[data-l2-theme="light"] .l2-lang-dropdown__menu{
  background:#f7f0e6;
  border-color:#c7b395;
  box-shadow:0 14px 30px rgba(54,39,20,.15),0 2px 6px rgba(54,39,20,.07);
}
html[data-l2-theme="light"] .l2-lang-dropdown__item{
  color:#514638;
  background:transparent;
}
html[data-l2-theme="light"] .l2-lang-dropdown__item:hover{
  background:#eee4d6;
  border-color:#d5c1a4;
  color:#33291f;
}
html[data-l2-theme="light"] .l2-lang-dropdown__item.is-active{
  background:#e8d9c4;
  border-color:#b79a72;
  color:#34291d;
}
html[data-l2-theme="light"] .l2-lang-dropdown__item b{color:#816b50}


/* V6.2 - pente fino do dropdown claro: sem sobra branca abaixo das bordas */
html[data-l2-theme="light"] .l2-lang-dropdown{line-height:0}
html[data-l2-theme="light"] .l2-lang-dropdown__toggle{box-shadow:0 2px 7px rgba(65,47,25,.08)!important}
html[data-l2-theme="light"] .l2-lang-dropdown__menu{
  padding:5px!important;
  background:#f7f0e6!important;
  border-color:#c7b395!important;
  overflow:hidden!important;
}
html[data-l2-theme="light"] .l2-lang-dropdown__item{background:transparent!important}
html[data-l2-theme="light"] .l2-lang-dropdown__item:hover{background:#eee4d6!important}
html[data-l2-theme="light"] .l2-lang-dropdown__item.is-active{background:#e8d9c4!important}
html[data-l2-theme="light"] .l2-lang-dropdown__item:last-child{margin-bottom:0!important}


/* =========================================================
   v2.1.257 — Últimas conquistas: organização mobile
   ========================================================= */
@media(max-width:620px){
  html[data-l2-layout] .l2-home-achievement-card>header{
    height:auto!important;
    min-height:39px!important;
    padding:7px 9px!important;
  }

  html[data-l2-layout] .l2-home-achievement-card>header>div{
    min-width:0!important;
    align-items:flex-start!important;
  }

  html[data-l2-layout] .l2-home-achievement-card>header strong{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    line-height:1.25!important;
  }

  html[data-l2-layout] .l2-home-achievement-list{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:3px 7px 5px!important;
  }

  html[data-l2-layout] .l2-home-achievement-row{
    grid-template-columns:24px 38px minmax(0,1fr)!important;
    grid-template-areas:
      "ach-type ach-avatar ach-player"
      "ach-type ach-avatar ach-score"!important;
    column-gap:8px!important;
    row-gap:3px!important;
    min-height:58px!important;
    padding:7px 3px!important;
    align-items:center!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-achievement-type{
    grid-area:ach-type!important;
    width:22px!important;
    height:22px!important;
    align-self:center!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-achievement-type i{
    font-size:8px!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-rank-avatar{
    grid-area:ach-avatar!important;
    width:36px!important;
    height:36px!important;
    align-self:center!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-rank-player{
    grid-area:ach-player!important;
    min-width:0!important;
    align-self:end!important;
    gap:3px!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-rank-player b{
    font-size:11.5px!important;
    line-height:1.12!important;
  }

  html[data-l2-layout] .l2-home-achievement-summary{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:baseline!important;
    gap:2px 4px!important;
    min-width:0!important;
    white-space:normal!important;
    overflow:visible!important;
    line-height:1.18!important;
  }

  html[data-l2-layout] .l2-home-achievement-summary>span{
    flex:0 0 auto!important;
    font-size:7.5px!important;
    line-height:1.15!important;
  }

  html[data-l2-layout] .l2-home-achievement-summary>strong{
    flex:1 1 120px!important;
    min-width:0!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:9.5px!important;
    line-height:1.18!important;
  }

  html[data-l2-layout] .l2-home-achievement-score{
    grid-area:ach-score!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    align-self:start!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6px!important;
    text-align:left!important;
  }

  html[data-l2-layout] .l2-home-achievement-score>strong{
    flex:0 0 auto!important;
    font-size:7.5px!important;
    line-height:1.05!important;
    letter-spacing:.025em!important;
  }

  html[data-l2-layout] .l2-home-achievement-score>small{
    display:inline-flex!important;
    align-items:center!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    font-size:7px!important;
    line-height:1.05!important;
    letter-spacing:.015em!important;
    text-align:left!important;
    white-space:nowrap!important;
  }

  html[data-l2-layout] .l2-home-achievement-score>small::before{
    content:"•";
    margin-right:6px;
    opacity:.55;
  }
}

@media(max-width:430px){
  html[data-l2-layout] .l2-home-rankings-head{
    gap:10px!important;
  }

  html[data-l2-layout] .l2-home-rankings-head h2{
    font-size:16px!important;
  }

  html[data-l2-layout] .l2-home-achievement-list{
    padding-left:5px!important;
    padding-right:5px!important;
  }

  html[data-l2-layout] .l2-home-achievement-row{
    grid-template-columns:22px 35px minmax(0,1fr)!important;
    column-gap:7px!important;
    min-height:56px!important;
    padding:7px 2px!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-achievement-type{
    width:21px!important;
    height:21px!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-rank-avatar{
    width:34px!important;
    height:34px!important;
  }

  html[data-l2-layout] .l2-home-achievement-summary>strong{
    flex-basis:100%!important;
  }
}

/* =========================================================
   v2.1.258 — Últimas conquistas mobile: menos linhas
   ========================================================= */
@media(max-width:620px){
  html[data-l2-layout] .l2-home-achievement-list{
    gap:4px!important;
    padding:4px 7px 6px!important;
  }

  html[data-l2-layout] .l2-home-achievement-row,
  html[data-l2-layout] .l2-home-achievement-row:nth-last-child(-n+2),
  html[data-l2-layout] .l2-home-achievement-row:last-child{
    position:relative!important;
    grid-template-columns:22px 36px minmax(0,1fr) 64px!important;
    grid-template-areas:"ach-type ach-avatar ach-player ach-score"!important;
    column-gap:7px!important;
    row-gap:0!important;
    min-height:50px!important;
    padding:6px 4px!important;
    border-bottom:0!important;
    background:rgba(255,255,255,.018)!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-achievement-type{
    grid-area:ach-type!important;
    width:21px!important;
    height:21px!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-rank-avatar{
    grid-area:ach-avatar!important;
    width:34px!important;
    height:34px!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-rank-player{
    grid-area:ach-player!important;
    min-width:0!important;
    align-self:center!important;
    gap:3px!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-rank-player b{
    font-size:11.5px!important;
    line-height:1.12!important;
  }

  html[data-l2-layout] .l2-home-achievement-summary{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:baseline!important;
    gap:4px!important;
    min-width:0!important;
    width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    line-height:1.15!important;
  }

  html[data-l2-layout] .l2-home-achievement-summary>span{
    flex:0 0 auto!important;
    font-size:9.2px!important;
    font-weight:600!important;
    line-height:1.15!important;
    opacity:.78!important;
  }

  html[data-l2-layout] .l2-home-achievement-summary>strong{
    flex:1 1 auto!important;
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:10px!important;
    line-height:1.15!important;
  }

  html[data-l2-layout] .l2-home-achievement-score{
    grid-area:ach-score!important;
    width:64px!important;
    min-width:64px!important;
    margin:0!important;
    align-self:center!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:center!important;
    gap:2px!important;
    text-align:right!important;
  }

  html[data-l2-layout] .l2-home-achievement-score>strong{
    font-size:8px!important;
    line-height:1.05!important;
  }

  html[data-l2-layout] .l2-home-achievement-score>small{
    display:block!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    font-size:7.2px!important;
    line-height:1.05!important;
    text-align:right!important;
    white-space:nowrap!important;
  }

  html[data-l2-layout] .l2-home-achievement-score>small::before{
    content:none!important;
  }
}

@media(max-width:430px){
  html[data-l2-layout] .l2-home-achievement-row{
    grid-template-columns:20px 34px minmax(0,1fr) 58px!important;
    column-gap:6px!important;
    min-height:48px!important;
    padding:6px 3px!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-achievement-type{
    width:20px!important;
    height:20px!important;
  }

  html[data-l2-layout] .l2-home-achievement-row .l2-home-rank-avatar{
    width:32px!important;
    height:32px!important;
  }

  html[data-l2-layout] .l2-home-achievement-summary>span{
    font-size:8.8px!important;
  }

  html[data-l2-layout] .l2-home-achievement-summary>strong{
    flex-basis:auto!important;
    font-size:9.6px!important;
  }

  html[data-l2-layout] .l2-home-achievement-score{
    width:58px!important;
    min-width:58px!important;
  }
}
