/* V36 — Release Clean Package / final QA safe overrides */
:root{
  --v36-gold:#f2a20b;
  --v36-gold-soft:#f4d27a;
  --v36-dark:#060b12;
  --v36-panel:rgba(7,13,22,.92);
  --v36-border:rgba(244,190,86,.24);
}

/* Menu final: evita quebra do botão PAINEL em notebook/desktop */
html body .nav{
  position:relative!important;
  z-index:80!important;
}
html body .nav .content-area{
  width:min(1680px, calc(100% - 64px))!important;
  max-width:1680px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:clamp(14px, 1.45vw, 28px)!important;
  padding:0!important;
}
html body .nav__logo{
  flex:0 0 auto!important;
  margin-right:clamp(14px, 1.6vw, 32px)!important;
  width:58px!important;
  height:auto!important;
}
html body .nav__logo img{
  width:58px!important;
  height:auto!important;
  object-fit:contain!important;
  image-rendering:auto!important;
  filter:drop-shadow(0 0 12px rgba(159,98,255,.42))!important;
}
html body .nav__links{
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:0!important;
}
html body .nav__links-item{
  flex:0 0 auto!important;
  margin-right:clamp(16px, 1.95vw, 42px)!important;
}
html body .nav__links-item:last-child{
  margin-right:0!important;
}
html body .nav__links-item a{
  display:block!important;
  white-space:nowrap!important;
  font-size:clamp(13px, .82vw, 16px)!important;
  line-height:1!important;
  letter-spacing:.11em!important;
}
html body .nav__langs{
  flex:0 0 auto!important;
  margin-left:auto!important;
  white-space:nowrap!important;
}
html body .nav .button,
html body .nav-login-btn{
  flex:0 0 auto!important;
  min-width:138px!important;
  height:44px!important;
  padding:0 26px!important;
  white-space:nowrap!important;
}
html body .nav .button span{
  white-space:nowrap!important;
}
html body .nav__open-links{
  flex:0 0 auto!important;
}

/* Account-panel: topo mais estável sem segunda linha */
html body.account-body .account-site-header .nav .content-area{
  width:min(1680px, calc(100% - 72px))!important;
}
html body.account-body .nav__links-item{
  margin-right:clamp(18px, 2.1vw, 44px)!important;
}
html body.account-body .nav .button{
  min-width:134px!important;
}

/* Painel: impedir estouro horizontal sem mudar o visual aprovado */
html body.account-body .dk-panel-v27,
html body.account-body .dk-panel-v29{
  max-width:1680px!important;
  width:calc(100% - 80px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow:visible!important;
}
html body.account-body .dk-panel-main{
  min-width:0!important;
}
html body.account-body .dk-player-hero,
html body.account-body .dk-stat-grid-v27,
html body.account-body .dk-overview-grid,
html body.account-body .dk-panel-card{
  min-width:0!important;
}
html body.account-body .dk-player-actions{
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
}

/* Botões flutuantes: manter fora do conteúdo */
html body .back-to-top-v23,
html body .back-to-top,
html body [data-back-to-top]{
  right:28px!important;
  bottom:118px!important;
  z-index:90!important;
}
html body .floating-discord-v24,
html body .float-discord,
html body .discord-float,
html body [data-floating-discord]{
  right:28px!important;
  bottom:42px!important;
  z-index:89!important;
}
html body .cursor-dot,
html body .cursor-ring,
html body #cursorDot,
html body #cursorRing,
html body #particles-canvas,
html body .old-floating-dot,
html body .pro-floating-cta,
html body .floating-cta{
  display:none!important;
  opacity:0!important;
  pointer-events:none!important;
}

@media (max-width:1450px){
  html body .nav .content-area{
    width:min(1360px, calc(100% - 36px))!important;
    gap:12px!important;
  }
  html body .nav__logo{margin-right:16px!important;width:50px!important;}
  html body .nav__logo img{width:50px!important;}
  html body .nav__links-item{margin-right:22px!important;}
  html body .nav__links-item a{font-size:13px!important;letter-spacing:.08em!important;}
  html body .nav .button{min-width:124px!important;padding:0 18px!important;height:42px!important;}
}

@media (max-width:1180px){
  html body .nav .content-area{
    width:calc(100% - 28px)!important;
  }
  html body .nav__links{display:none!important;}
  html body .nav__open-links{display:flex!important;}
  html body .nav__logo{margin-right:auto!important;}
  html body .nav .button{min-width:auto!important;padding:0 18px!important;}
}

@media (max-width:980px){
  html body.account-body .dk-panel-v27,
  html body.account-body .dk-panel-v29{
    width:calc(100% - 28px)!important;
    display:block!important;
  }
  html body.account-body .dk-panel-sidebar{
    width:100%!important;
    margin-bottom:18px!important;
  }
  html body.account-body .dk-player-hero{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  html body.account-body .dk-player-actions{
    justify-content:flex-start!important;
  }
}

@media (max-width:680px){
  html body .nav .content-area{width:calc(100% - 18px)!important;gap:8px!important;}
  html body .nav__logo, html body .nav__logo img{width:42px!important;}
  html body .nav__langs{display:none!important;}
  html body .nav .button{height:38px!important;padding:0 13px!important;font-size:12px!important;}
  html body .back-to-top-v23,
  html body .back-to-top,
  html body [data-back-to-top]{right:18px!important;bottom:104px!important;}
  html body .floating-discord-v24,
  html body .float-discord,
  html body .discord-float,
  html body [data-floating-discord]{right:18px!important;bottom:34px!important;}
}
