/* Home v1.2.1 — arquitetura em camadas / divulgação progressiva. */
.navGroupLabel{margin:1.1rem .8rem .35rem;color:#718493;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.navGroupLabel:first-child{margin-top:.2rem}
.heroCopy>p{max-width:40rem}.heroActions .cta{box-shadow:0 10px 24px rgba(207,155,48,.18)}
.heroMiniStats>div:nth-child(2),.heroMiniStats>div:nth-child(3){opacity:.68;transform:scale(.94);transform-origin:left center}
.statsGrid article:nth-child(1),.statsGrid article:nth-child(3){display:none}.statsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.statsGrid article:nth-child(2){grid-column:1}.statsGrid article:nth-child(4){grid-column:2}
body[data-layer="desempenho"] .statsGrid{grid-template-columns:repeat(4,minmax(0,1fr))}body[data-layer="desempenho"] .statsGrid article{display:block!important;grid-column:auto!important}
.advancedQuestionFilters{display:grid;gap:inherit}.advancedQuestionFilters[hidden]{display:none}.filterToggle{width:100%;margin-top:.3rem;text-align:left}#activeFilterCount:empty{display:none}#activeFilterCount{color:#e5b94f;font-weight:800;margin-left:.25rem}
.questionMoreBtn{display:inline-flex!important;align-items:center;gap:.35rem}.questionMoreActions.hidden,.questionMoreActions[hidden]{display:none!important}
.layerHidden{display:none!important}.layerView{animation:layerFade .18s ease-out}.layerHeader{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:26px 28px 0;padding:0 2px}.layerHeaderText{display:grid;gap:.2rem}.layerHeaderText span{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:#8095a3;font-weight:800}.layerHeaderText h1{margin:0;font-size:clamp(1.45rem,2.2vw,2rem)}.layerBack{white-space:nowrap}.homeQuickAccess{margin:0 28px 26px}.homeQuickHead{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1rem}.homeQuickHead h2{margin:.25rem 0 0}.homeQuickHead p{margin:0;color:#9fb0b9;max-width:42rem}.homeQuickGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.homeQuickCard{display:grid;gap:.5rem;min-height:132px;padding:1.1rem 1.15rem;border:1px solid rgba(112,142,158,.22);border-radius:16px;background:linear-gradient(145deg,rgba(20,35,45,.96),rgba(12,25,34,.96));text-decoration:none;color:inherit;transition:transform .15s ease,border-color .15s ease}.homeQuickCard:hover,.homeQuickCard:focus-visible{transform:translateY(-2px);border-color:rgba(218,171,72,.65)}.homeQuickCard strong{font-size:1.05rem}.homeQuickCard span{color:#a8bac3;font-size:.86rem;line-height:1.45}.homeQuickCard b{margin-top:auto;color:#e4b657;font-size:.82rem}.sideNav nav a.layerActive{background:linear-gradient(90deg,rgba(101,73,38,.62),rgba(62,46,29,.38));border-color:rgba(212,166,83,.32);color:#f1c56b}
.homeContestSummary{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1.35rem 1.5rem;background:linear-gradient(135deg,rgba(20,42,56,.96),rgba(10,25,35,.96));border:1px solid rgba(94,139,155,.28);border-radius:1.1rem}.homeContestSummary h2{margin:.25rem 0 .35rem}.homeContestSummary p{margin:0;color:#b5c5cc}.homeContestSummary .ghost{white-space:nowrap}.homeContestFull{margin-top:1rem}.homeContestFull.hidden{display:none}.homeContestBack{margin-bottom:1rem}.compactContests .contestSectionHead,.compactContests>.contestNotice,.compactContests>.contestFooterNote{display:none}
/* Novo mascote oficial */
.sideBrand img,.mobileBrand img{object-fit:cover;border-radius:14px;box-shadow:0 0 0 1px rgba(232,187,91,.25);background:#10283d}.heroMascot img{width:min(100%,420px);height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:26px;box-shadow:0 18px 50px rgba(0,0,0,.28),0 0 0 1px rgba(232,187,91,.18);background:#10283d}.heroMascot .paw{display:none}
@keyframes layerFade{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:900px){.navGroupLabel{margin-left:.55rem}.statsGrid{grid-template-columns:1fr 1fr}body[data-layer="desempenho"] .statsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.homeQuickGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.homeContestSummary{align-items:flex-start;flex-direction:column}.homeContestSummary .ghost{width:100%}.layerHeader{margin-left:18px;margin-right:18px}.homeQuickAccess{margin-left:18px;margin-right:18px}}
@media(max-width:560px){.statsGrid{gap:.65rem}.statsGrid article{padding:.85rem}.statsGrid article strong{font-size:1.45rem}body[data-layer="desempenho"] .statsGrid{grid-template-columns:1fr 1fr}.heroMiniStats>div:nth-child(2),.heroMiniStats>div:nth-child(3){display:none}.homeQuickGrid{grid-template-columns:1fr}.homeQuickCard{min-height:108px}.homeQuickHead{display:grid}.homeContestSummary{padding:1rem}.layerHeader{align-items:flex-start}.layerHeaderText h1{font-size:1.35rem}.layerBack{font-size:.78rem;padding:.55rem .65rem}.heroMascot img{border-radius:20px}}

/* Cabeçalho mobile e consentimento são tratados em módulos próprios. */
@media(max-width:560px){.topbar{gap:.45rem}.mobileBrand{min-width:0;max-width:calc(100% - 76px);gap:.45rem}.mobileBrand strong{font-size:clamp(10px,3.1vw,12px);white-space:normal;line-height:1.08;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:clip}.mobileBrand .betaBadge{flex:0 0 auto;font-size:7px;padding:2px 4px;margin-left:0}.topActions{flex:0 0 auto}.topActions .profile{padding:.55rem .7rem;font-size:.78rem}.topLogout{padding:.5rem .62rem;border-radius:9px;border:1px solid rgba(222,112,112,.45);background:rgba(116,31,31,.18);color:#f3b9b9;font-size:.76rem}.topLogout:hover,.topLogout:focus-visible{border-color:rgba(235,133,133,.75);background:rgba(133,39,39,.28)}.topLogout.hidden{display:none}}

/* Hotfix definitivo 2026-08-21: novo caminho do asset para eliminar cache legado. */
.heroMascot{background:#10283d url('/assets/mascote-patrulha-v4.webp?v=20260821c') center/cover no-repeat;border-radius:26px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.28),0 0 0 1px rgba(232,187,91,.18)}
.heroMascot img{opacity:0!important;pointer-events:none}
.sideBrand img,.mobileBrand img{display:none!important}
.sideBrand::before,.mobileBrand::before{content:"";display:block;flex:0 0 auto;background:#10283d url('/assets/mascote-patrulha-v4.webp?v=20260821c') center/cover no-repeat;box-shadow:0 0 0 1px rgba(232,187,91,.28)}
.sideBrand::before{width:54px;height:54px;border-radius:14px}.mobileBrand::before{width:38px;height:38px;border-radius:10px}
@media(max-width:560px){.heroMascot{border-radius:20px}}

/* Logout exclusivamente no menu do avatar, destacado e sem abrir camada. */
#topLogoutBtn{display:none!important}
#accountMenuLogout{margin:.45rem .35rem .15rem!important;width:calc(100% - .7rem)!important;justify-content:center!important;min-height:44px!important;border:1px solid rgba(239,104,104,.55)!important;border-radius:11px!important;background:linear-gradient(180deg,rgba(139,42,42,.34),rgba(100,27,27,.28))!important;color:#ffb7b7!important;font-weight:900!important;letter-spacing:.035em!important;text-transform:uppercase!important}
#accountMenuLogout:hover,#accountMenuLogout:focus-visible{border-color:rgba(255,132,132,.9)!important;background:linear-gradient(180deg,rgba(166,51,51,.46),rgba(116,31,31,.40))!important;color:#ffd0d0!important;outline:2px solid rgba(255,135,135,.22)!important;outline-offset:2px!important}
#accountMenuLogout:active{transform:translateY(1px)}

/* Correção do menu do avatar: lista vertical contida e logout somente no dropdown. */
#accountDropdown{overflow:hidden!important}
#accountDropdown .accountDropdownNav{display:grid!important;grid-template-columns:1fr!important;grid-auto-flow:row!important;gap:2px!important;width:100%!important;overflow:visible!important}
#accountDropdown .accountDropdownNav>a,#accountDropdown .accountDropdownNav>button{display:flex!important;position:static!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;white-space:normal!important;overflow:visible!important;transform:none!important}
#accountDropdown .accountDropdownSep{width:auto!important;grid-column:1!important}
#logoutFromAccountPage{display:none!important}

/* Home v1.2.2 — paleta azul-marinho/dourado EXCLUSIVA da página inicial. */
body[data-layer="inicio"]{background:radial-gradient(circle at 52% -8%,#123553 0,#0a2034 38%,#061522 100%);color:#e8eef3}
body[data-layer="inicio"] .sideNav{background:linear-gradient(180deg,#071d33 0%,#06172a 58%,#051321 100%);border-right-color:rgba(120,151,177,.20);box-shadow:18px 0 54px rgba(0,0,0,.18)}
body[data-layer="inicio"] .sideBrand strong{color:#f0f4f7}body[data-layer="inicio"] .sideBrand span{color:#e0ab43}
body[data-layer="inicio"] .navGroupLabel{color:#7f96aa}
body[data-layer="inicio"] .sideNav nav a{color:#c5d2dc}
body[data-layer="inicio"] .sideNav nav a:hover,body[data-layer="inicio"] .sideNav nav a.active,body[data-layer="inicio"] .sideNav nav a.layerActive{background:linear-gradient(90deg,rgba(31,63,91,.92),rgba(18,43,68,.82));box-shadow:inset 0 0 0 1px rgba(221,166,61,.54);color:#f4c55f}
body[data-layer="inicio"] .sideNav nav a em{background:rgba(128,91,24,.30);color:#efbd58}
body[data-layer="inicio"] .premiumSide{border-color:rgba(213,159,60,.35);background:linear-gradient(145deg,#0c2540,#091c31);color:#c9d6df}
body[data-layer="inicio"] .premiumSide b{color:#f0bd58}body[data-layer="inicio"] .premiumSide span{color:#9db0bf}body[data-layer="inicio"] .premiumSide strong{background:linear-gradient(180deg,#d8a13c,#b77d20);color:#08182a}
body[data-layer="inicio"] .topbar{background:rgba(6,25,43,.94);border-bottom-color:rgba(120,151,177,.20);box-shadow:0 10px 28px rgba(0,0,0,.12)}
body[data-layer="inicio"] .globalSearch{background:#0d2740;border-color:rgba(121,151,178,.30);color:#8da3b5}
body[data-layer="inicio"] .globalSearch input{color:#dde6ed}body[data-layer="inicio"] .globalSearch input::placeholder{color:#8ba0b2}
body[data-layer="inicio"] .syncStatus{background:#0c2339;border-color:rgba(120,151,177,.29);color:#c0ced8}
body[data-layer="inicio"] .premiumTop{background:linear-gradient(180deg,#a9731d,#765018);border-color:#bb852b;color:#ffe0a0;box-shadow:0 5px 18px rgba(185,126,29,.16)}
body[data-layer="inicio"] .profile{background:#16457c;border-color:#255d99;color:#f4f7fa}
body[data-layer="inicio"] .hero{border-color:rgba(132,158,179,.52);background:radial-gradient(circle at 76% 34%,rgba(45,92,138,.34) 0,transparent 31%),linear-gradient(122deg,#102c48 0%,#0d2844 48%,#09213b 100%);box-shadow:0 22px 58px rgba(0,0,0,.28);color:#edf2f6}
body[data-layer="inicio"] .hero:after{background:rgba(90,125,156,.12)}
body[data-layer="inicio"] .hero .eyebrow{background:#0b2941;border:1px solid rgba(223,169,63,.46);color:#f0bc55}
body[data-layer="inicio"] .hero h1{color:#f1f5f8;text-shadow:0 2px 18px rgba(0,0,0,.16);overflow:visible;line-height:.98}
body[data-layer="inicio"] .hero h1 em{color:#e7ad3e;text-shadow:0 3px 20px rgba(192,131,24,.10)}
body[data-layer="inicio"] .hero p{color:#c1cfda}
body[data-layer="inicio"] .heroActions .cta{background:linear-gradient(180deg,#d8a13c,#b77b1f);color:#fff8e9;box-shadow:0 10px 24px rgba(185,126,29,.20)}
body[data-layer="inicio"] .heroGhost{background:#102d49;border-color:rgba(132,158,179,.48);color:#e2eaf0}
body[data-layer="inicio"] .heroGhost:hover{background:#153753;border-color:rgba(219,169,71,.56)}
body[data-layer="inicio"] .heroMiniStats>div{background:rgba(7,25,42,.52);border-color:rgba(138,163,184,.34);box-shadow:inset 0 1px rgba(255,255,255,.025)}
body[data-layer="inicio"] .heroMiniStats>div:nth-child(2),body[data-layer="inicio"] .heroMiniStats>div:nth-child(3){opacity:.93;transform:scale(.98)}
body[data-layer="inicio"] .heroMiniStats span{color:#91a7b9}body[data-layer="inicio"] .heroMiniStats strong{color:#edf2f5}
body[data-layer="inicio"] .heroMiniStats>div:first-child strong{color:#e8b247}
body[data-layer="inicio"] .heroMascot{background:#0b2945 url('/assets/mascote-patrulha-v4.webp?v=20260821c') center/cover no-repeat;box-shadow:0 18px 50px rgba(0,0,0,.28),0 0 0 1px rgba(144,170,191,.30)}
body[data-layer="inicio"] .statsGrid article{background:linear-gradient(145deg,#0c2842,#091f35);border-color:rgba(126,153,176,.34);box-shadow:0 12px 30px rgba(0,0,0,.14)}
body[data-layer="inicio"] .statsGrid span,body[data-layer="inicio"] .statsGrid small{color:#9eb0be}body[data-layer="inicio"] .statsGrid strong{color:#efb84e}
body[data-layer="inicio"] .progress{background:#273f53}body[data-layer="inicio"] .progress i{background:linear-gradient(90deg,#dca338,#b77c20)}
body[data-layer="inicio"] .homeQuickHead h2{color:#eaf0f4}body[data-layer="inicio"] .homeQuickHead p{color:#9fb1bf}
body[data-layer="inicio"] .homeQuickCard{background:linear-gradient(145deg,#0d2943,#091f34);border-color:rgba(125,153,176,.30);color:#e6edf2;box-shadow:0 10px 26px rgba(0,0,0,.10)}
body[data-layer="inicio"] .homeQuickCard:hover,body[data-layer="inicio"] .homeQuickCard:focus-visible{border-color:rgba(220,166,61,.62);background:linear-gradient(145deg,#12324e,#0b253c)}
body[data-layer="inicio"] .homeQuickCard span{color:#a8b9c5}body[data-layer="inicio"] .homeQuickCard b{color:#e6b34d}
body[data-layer="inicio"] .homeContestSummary{background:linear-gradient(135deg,#0d2b47,#091f35);border-color:rgba(124,153,177,.32)}
body[data-layer="inicio"] .homeContestSummary h2{color:#e9eff4}body[data-layer="inicio"] .homeContestSummary p{color:#a9bac6}
@media(max-width:760px){body[data-layer="inicio"] .sideNav{background:rgba(5,20,35,.97);border-top-color:rgba(120,151,177,.24)}body[data-layer="inicio"] .hero{background:radial-gradient(circle at 78% 25%,rgba(45,92,138,.28) 0,transparent 30%),linear-gradient(132deg,#102c48,#09213b)}}