/* V61 — Home section proportions and central cards final print lock */
:root{--v61-gold:#f6b51c;--v61-gold-soft:#ffe391;--v61-line:rgba(246,181,28,.34);--v61-bg:#061019;}

/* Cada âncora do menu flutuante abre uma área mais proporcional à tela */
html body #home-updates,
html body #ranking-preview,
html body #home-features,
html body #home-resources,
html body #home-community,
html body #home-media{
  min-height:calc(100vh - 88px)!important;
  scroll-margin-top:88px!important;
  display:flex!important;
  align-items:center!important;
}
html body #home-updates{padding-top:44px!important;padding-bottom:44px!important;}
html body #ranking-preview{padding-top:46px!important;padding-bottom:46px!important;}
html body #home-features,
html body #home-resources,
html body #home-community,
html body #home-media{padding-top:70px!important;padding-bottom:70px!important;}

/* Central do servidor: proporção mais limpa, menos mistura com a seção seguinte */
html body .v53-home-hub .content-area{
  max-width:1260px!important;
  width:calc(100% - 280px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
html body .v53-home-hub__panel{
  width:100%!important;
  padding:34px 38px 34px!important;
  border-radius:24px!important;
  background:
    linear-gradient(145deg,rgba(4,10,16,.985),rgba(7,18,27,.955)),
    radial-gradient(circle at 16% 12%,rgba(246,181,28,.10),transparent 30%),
    radial-gradient(circle at 86% 70%,rgba(96,224,255,.055),transparent 34%)!important;
}
html body .v53-section-head{
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:22px!important;
  margin-bottom:22px!important;
  padding-bottom:20px!important;
}
html body .v53-section-head .pro-kicker{margin-bottom:10px!important;}
html body .v53-section-head .pro-title{
  max-width:650px!important;
  font-size:clamp(30px,2.1vw,40px)!important;
  line-height:1.08!important;
  letter-spacing:.12em!important;
}
html body .v53-section-head .pro-subtitle{
  max-width:790px!important;
  font-size:14px!important;
  line-height:1.45!important;
}
html body .v53-head-actions{min-width:270px!important;gap:10px!important;}
html body .v53-head-link{height:32px!important;min-height:32px!important;min-width:120px!important;padding:0 14px!important;font-size:9.5px!important;}

/* Títulos internos sempre em uma linha estável */
html body .v59-central-grid{gap:21px!important;}
html body .v59-central-group{gap:12px!important;}
html body .v59-group-title{
  display:grid!important;
  grid-template-columns:auto auto 1fr!important;
  gap:10px!important;
  align-items:center!important;
  margin:0!important;
  overflow:hidden!important;
}
html body .v59-group-title:before{width:38px!important;}
html body .v59-group-title span,
html body .v59-group-title strong{
  white-space:nowrap!important;
  font-size:11px!important;
  letter-spacing:.16em!important;
}

/* Novidades: card principal grande + dois cards laterais proporcionais */
html body .v59-news-grid{
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
  grid-template-rows:118px 118px!important;
  gap:12px!important;
}
html body .v59-card--hero{min-height:248px!important;grid-row:1/3!important;}
html body .v59-card--line{min-height:118px!important;}

/* Eventos: conteúdo proporcional, sem texto cortado */
html body .v59-events-grid{
  grid-template-columns:minmax(0,1.05fr) minmax(0,.74fr) minmax(0,.74fr)!important;
  grid-template-rows:142px 142px!important;
  gap:12px!important;
}
html body .v59-event-card--main{grid-row:1/3!important;min-height:296px!important;}
html body .v59-event-card--guild{grid-column:2/4!important;min-height:142px!important;}
html body .v59-card{
  border-radius:15px!important;
  border-color:rgba(255,218,128,.30)!important;
  background-position:center!important;
}
html body .v59-card-content{
  padding:15px 17px!important;
  overflow:visible!important;
}
html body .v59-card--hero .v59-card-content,
html body .v59-event-card--main .v59-card-content{padding:22px 22px!important;}
html body .v59-card-content h3{
  max-width:100%!important;
  margin-bottom:5px!important;
  font-size:clamp(18px,1.15vw,24px)!important;
  line-height:1.03!important;
  letter-spacing:.035em!important;
  overflow:visible!important;
}
html body .v59-card--hero .v59-card-content h3,
html body .v59-event-card--main .v59-card-content h3{
  font-size:clamp(26px,1.7vw,33px)!important;
  line-height:1.05!important;
}
html body .v59-event-card:not(.v59-event-card--main) .v59-card-content h3{
  font-size:clamp(18px,1.05vw,22px)!important;
  line-height:1.05!important;
  max-width:95%!important;
}
html body .v59-event-card--guild .v59-card-content h3{
  font-size:clamp(20px,1.25vw,25px)!important;
  max-width:94%!important;
}
html body .v59-card-content p{
  font-size:12.5px!important;
  line-height:1.33!important;
  max-width:96%!important;
}
html body .v59-event-card:not(.v59-event-card--main) .v59-card-content p{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
html body .v59-card-tag{top:12px!important;left:13px!important;padding:5px 11px!important;font-size:9px!important;}
html body .v59-event-row{margin-top:9px!important;gap:7px!important;}
html body .v59-event-row strong,
html body .v59-event-row span{min-height:25px!important;padding:0 10px!important;font-size:9px!important;}

/* Pódio pequeno da home: brilho mais evidente sem aumentar o card */
html body .ranking-home-v56-card--1{
  box-shadow:0 0 38px rgba(255,214,58,.38),0 0 18px rgba(103,226,255,.18),0 22px 54px rgba(0,0,0,.48)!important;
}
html body .ranking-home-v56-card--2{box-shadow:0 0 30px rgba(168,238,255,.28),0 22px 50px rgba(0,0,0,.44)!important;}
html body .ranking-home-v56-card--3{box-shadow:0 0 30px rgba(255,128,52,.28),0 22px 50px rgba(0,0,0,.44)!important;}
html body .ranking-home-v56-card .ranking-home-v56-avatar{box-shadow:0 0 18px rgba(255,225,105,.25)!important;}

/* Menu flutuante: ordem e leitura estáveis */
html body .v53-section-nav{
  top:50%!important;
  right:30px!important;
  transform:translateY(-50%)!important;
  z-index:36!important;
}
html body .v53-section-nav__item{margin-bottom:12px!important;}
html body .v53-section-nav__text strong{font-size:16px!important;}
html body .v53-section-nav__text small{font-size:8.5px!important;}

/* Evita que botões flutuantes cubram o menu de seções */
html body .floating-discord,
html body .discord-float,
html body .v24-discord-float{right:26px!important;bottom:74px!important;}
html body .back-to-top,
html body .backtop,
html body .v23-back-to-top{right:44px!important;bottom:158px!important;}

@media(max-width:1320px){
  html body #home-updates,html body #ranking-preview,html body #home-features,html body #home-resources,html body #home-community,html body #home-media{min-height:auto!important;display:block!important;}
  html body .v53-home-hub .content-area{width:calc(100% - 44px)!important;max-width:1120px!important;margin:0 auto!important;}
  html body .v59-events-grid{grid-template-columns:1fr 1fr!important;grid-template-rows:auto!important;}
  html body .v59-event-card--main{grid-row:auto!important;min-height:230px!important;}
  html body .v59-event-card--guild{grid-column:1/-1!important;min-height:128px!important;}
}
@media(max-width:1180px){
  html body .v53-section-nav{display:none!important;}
  html body .v59-news-grid,html body .v59-events-grid{grid-template-columns:1fr!important;grid-template-rows:auto!important;}
  html body .v59-card,html body .v59-card--line,html body .v59-card--hero,html body .v59-event-card--main,html body .v59-event-card--guild{min-height:205px!important;grid-column:auto!important;grid-row:auto!important;}
}
@media(max-width:760px){
  html body .v53-home-hub__panel{padding:26px 15px!important;}
  html body .v53-section-head{grid-template-columns:1fr!important;align-items:start!important;}
  html body .v53-head-actions{justify-content:flex-start!important;min-width:0!important;}
  html body .v53-section-head .pro-title{font-size:28px!important;}
  html body .v59-group-title{grid-template-columns:auto 1fr!important;white-space:normal!important;}
  html body .v59-group-title:after{display:none!important;}
}
