*{box-sizing:border-box}

body{
  margin:0;
  background:#090e1c;
  color:#fff;
  font-family:Arial,Helvetica,sans-serif
}

a{
  text-decoration:none;
  color:inherit
}

header{
  background:#10172b;
  border-bottom:1px solid #202946
}

nav,main{
  max-width:1180px;
  margin:auto;
  padding:0 18px
}

.top{
  display:flex;
  gap:18px;
  align-items:center;
  padding:18px 0
}

.logo{
  font-size:24px;
  font-weight:900;
  white-space:nowrap;
  cursor:pointer
}

.logo b{
  color:#29c36a
}

input{
  flex:1;
  padding:13px 14px;
  border-radius:12px;
  border:1px solid #2b3555;
  background:#161e35;
  color:#fff;
  outline:none
}

.social a,
button,
.pill{
  padding:10px 14px;
  border-radius:999px;
  background:#1c2643;
  color:#fff;
  border:0
}

.filters{
  display:flex;
  gap:10px;
  padding-bottom:16px;
  flex-wrap:wrap;
  align-items:center
}

.console-filter{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid #283658;
  background:#151f3a;
  color:#dbe3f7;
  cursor:pointer;
  font-weight:700;
  transition:.2s ease;
}

.console-filter:hover{
  transform:translateY(-2px);
  border-color:#586a9d
}

.console-filter.active{
  background:#6959f5;
  border-color:#6959f5;
  color:#fff
}

.console-icon{
  width:24px;
  height:24px;
  border-radius:50%;
  display:inline-grid;
  place-items:center;
  background:rgba(255,255,255,.08);
  font-size:10px;
  font-weight:900;
  letter-spacing:-.3px
}

.active,
.download{
  background:#6959f5
}

.community{
  background:#151f3a;
  border:1px solid #283658;
  border-radius:18px;
  padding:22px;
  margin:38px 0 28px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center
}

.community h2{
  margin:0 0 6px
}

.community p{
  margin:0;
  color:#aab3cd
}

.community a{
  background:#fff;
  color:#111;
  padding:11px 16px;
  border-radius:999px;
  font-weight:bold;
  white-space:nowrap
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
  gap:18px
}

.card{
  background:#141c32;
  border:1px solid #242e4c;
  border-radius:16px;
  overflow:hidden;
  cursor:pointer
}

.cover{
  background:#11182c;
  overflow:hidden;
}

.cover img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}
.info{
  padding:14px
}

.info h3{
  margin:0 0 8px;
  font-size:15px
}

.meta{
  color:#aab3cd;
  font-size:12px
}

.back{
  display:inline-block;
  margin:28px 0 18px;
  color:#b9c2dd;
  cursor:pointer
}

.detail{
  display:grid;
  grid-template-columns:minmax(240px,330px) 1fr;
  gap:32px;
  padding-top:48px;
  padding-bottom:50px
}

.detail-cover img{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
  object-fit:contain;
}

.detail-body h1{
  font-size:38px;
  margin:0 0 12px
}

.tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:18px
}

.pill{
  cursor:default;
  font-size:12px
}

.desc{
  color:#c0c7da;
  line-height:1.7
}

.specs{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin:25px 0
}

.spec{
  background:#141c32;
  border:1px solid #27304d;
  border-radius:14px;
  padding:14px
}

.spec small{
  display:block;
  color:#8f99b4;
  margin-bottom:5px
}

.download{
  display:inline-block;
  padding:11px 18px;
  border-radius:999px;
  font-weight:700
}

.screens-title{
  margin-top:36px
}

.shots{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:12px
}

.shots img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:12px;
  border:1px solid #27304d;
  cursor:pointer;
  transition:transform .2s ease
}

.shots img:hover{
  transform:scale(1.02)
}

.no-shots{
  color:#8f99b4;
  margin-top:12px
}

/* VISUALIZADOR DE SCREENSHOTS */
.image-viewer{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(0,0,0,.92);
  align-items:center;
  justify-content:center;
  padding:40px 70px
}

.image-viewer.active{
  display:flex
}

.image-viewer img{
  max-width:95vw;
  max-height:88vh;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 10px 50px rgba(0,0,0,.8)
}

.viewer-close,
.viewer-prev,
.viewer-next{
  position:absolute;
  border:0;
  background:rgba(20,28,50,.75);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center
}

.viewer-close{
  top:18px;
  right:24px;
  width:46px;
  height:46px;
  border-radius:50%;
  font-size:30px
}

.viewer-prev,
.viewer-next{
  top:50%;
  transform:translateY(-50%);
  width:50px;
  height:50px;
  border-radius:50%;
  font-size:28px
}

.viewer-prev{left:18px}
.viewer-next{right:18px}

.viewer-counter{
  position:absolute;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(20,28,50,.8);
  padding:8px 12px;
  border-radius:999px;
  color:#fff;
  font-size:14px
}


/* CARROSSEL DE DESTAQUES */
.featured-wrap{
  position:relative;
  margin:28px 0 34px;
  overflow:hidden;
  border-radius:20px;
}

.featured-track{
  display:flex;
  align-items:stretch;
  gap:18px;
  transition:transform .7s ease;
  will-change:transform;
}

.featured-card{
  flex:0 0 76%;
  height:260px;
  min-height:0;
  position:relative;
  overflow:hidden;
  border-radius:18px;
  border:1px solid #2b3555;
  background:#141c32;
  cursor:pointer;
  opacity:.45;
  transform:scale(.94);
  transition:opacity .45s ease, transform .45s ease;
}

.featured-card.active{
  opacity:1;
  transform:scale(1);
}

.featured-card img{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  display:block;
}

.featured-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(7,12,25,.12) 35%,rgba(7,12,25,.9) 72%);
}

.featured-info{
  position:absolute;
  top:0;
  right:0;
  width:36%;
  height:100%;
  padding:26px 24px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.featured-info h2{
  margin:0 0 10px;
  font-size:26px;
  line-height:1.15;
}

.featured-info p{
  margin:0 0 14px;
  color:#b9c3dc;
  line-height:1.45;
  font-size:14px;
}

.featured-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.featured-tags span{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
}

.featured-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:44px;
  height:44px;
  border-radius:50%;
  border:0;
  background:rgba(12,19,38,.78);
  color:#fff;
  font-size:26px;
  cursor:pointer;
}

.featured-prev{left:14px}
.featured-next{right:14px}

.featured-dots{
  display:flex;
  justify-content:center;
  gap:7px;
  margin-top:12px;
}

.featured-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#53617f;
  padding:0;
}

.featured-dot.active{
  background:#8b7cff;
}




/* ===== CARROSSEL PREMIUM - DESTAQUES E RECOMENDADOS ===== */
.featured-section-title{margin:30px 0 14px;font-size:24px;font-weight:900;letter-spacing:-.2px}
.featured-wrap{margin:0 0 38px;overflow:hidden;border-radius:0;padding:0 56px 24px}
.featured-track{gap:18px}
.featured-card{flex:0 0 92%;height:420px;border-radius:4px;background:#101a2b;border:1px solid #263754;opacity:.34;transform:scale(.96);box-shadow:none}
.featured-card.active{opacity:1;transform:scale(1);box-shadow:0 18px 48px rgba(0,0,0,.38)}
.featured-card>img{position:absolute;left:0;top:0;width:72%;height:100%;object-fit:cover;object-position:center}
.featured-card .featured-overlay{background:linear-gradient(90deg,transparent 0 62%,rgba(12,25,43,.28) 69%,#10253a 72%,#10253a 100%)}
.featured-card .featured-info{width:30%;right:0;padding:24px 20px;background:linear-gradient(180deg,#17314a,#10253a);justify-content:flex-start}
.featured-info h2{font-size:25px;line-height:1.1;margin:0 0 10px}
.featured-info p{font-size:13px;line-height:1.45;color:#c3d0df;margin:0 0 15px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.featured-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 16px}
.featured-preview-grid img{position:static!important;width:100%!important;height:74px!important;object-fit:cover!important;border-radius:2px;opacity:.92}
.featured-recommend{margin-top:auto}.featured-recommend strong{display:block;color:#b7e546;font-size:15px;margin-bottom:4px}.featured-recommend span{font-size:12px;color:#c6d4df}
.featured-tags{margin-top:13px}.featured-tags span{padding:5px 8px;border-radius:3px;background:rgba(0,0,0,.24);font-size:11px;color:#d6e4ef}
.featured-arrow{width:52px;height:78px;border-radius:3px;background:linear-gradient(90deg,rgba(10,20,34,.15),rgba(70,96,120,.65));font-size:34px}
.featured-prev{left:0}.featured-next{right:0;background:linear-gradient(270deg,rgba(10,20,34,.15),rgba(70,96,120,.65))}
.featured-arrow:hover{background:#5b7185}
.featured-dots{position:absolute;left:50%;bottom:3px;transform:translateX(-50%);margin:0;gap:5px;z-index:6}
.featured-dot{width:16px;height:9px;border-radius:4px;background:#536273}.featured-dot.active{background:#dbe7f1}
@media(max-width:900px){.featured-wrap{padding:0 40px 22px}.featured-card{flex-basis:96%;height:360px}.featured-card>img{width:65%}.featured-card .featured-overlay{background:linear-gradient(90deg,transparent 0 55%,#10253a 65%)}.featured-card .featured-info{width:36%}.featured-preview-grid img{height:58px!important}}
@media(max-width:620px){.featured-section-title{font-size:20px}.featured-wrap{padding:0 0 22px}.featured-card{flex-basis:100%;height:390px}.featured-card>img{position:relative;width:100%;height:55%}.featured-card .featured-overlay{display:none}.featured-card .featured-info{position:absolute;top:auto;bottom:0;width:100%;height:45%;padding:14px;background:linear-gradient(180deg,#17314a,#10253a)}.featured-preview-grid{display:none}.featured-info h2{font-size:20px}.featured-info p{-webkit-line-clamp:2}.featured-arrow{width:38px;height:60px}.featured-prev{left:4px}.featured-next{right:4px}}

/* ÚLTIMOS JOGOS ADICIONADOS */
.latest-section{
  margin:34px 0 38px;
}

.latest-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.latest-header h2{
  margin:0;
  font-size:24px;
  letter-spacing:.3px;
}

.latest-controls{
  display:flex;
  gap:8px;
}

.latest-nav{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid #2b3555;
  background:#151f3a;
  color:#fff;
  cursor:pointer;
  font-size:24px;
  display:grid;
  place-items:center;
}

.latest-nav:disabled{
  opacity:.35;
  cursor:default;
}

.latest-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
}

.latest-card{
  background:#141c32;
  border:1px solid #242e4c;
  border-radius:14px;
  overflow:hidden;
  cursor:pointer;
  transition:transform .2s ease,border-color .2s ease;
}

.latest-card:hover{
  transform:translateY(-4px);
  border-color:#566a9d;
}

.latest-cover{
  background:#11182c;
}

.latest-cover img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

.latest-info{
  padding:12px;
}

.latest-info h3{
  margin:0 0 7px;
  font-size:14px;
  line-height:1.35;
}

.latest-meta{
  color:#aab3cd;
  font-size:12px;
}

@media(max-width:900px){
  .latest-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .latest-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .latest-header h2{
    font-size:20px;
  }
}


.latest-expand-wrap{
  display:flex;
  justify-content:center;
  margin-top:20px;
}

.latest-expand{
  min-width:145px;
  padding:12px 24px;
  border-radius:14px;
  border:2px solid #6959f5;
  background:transparent;
  color:#fff;
  font-size:14px;
  font-weight:900;
  letter-spacing:.8px;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}

.latest-expand:hover{
  transform:translateY(-2px);
  background:#6959f5;
  border-color:#8b7cff;
}

/* RECOMENDAÇÕES ALEATÓRIAS NO FIM DA PÁGINA DO JOGO */
.recommended{
  margin-top:46px;
  padding:26px 0 10px;
  border-top:1px solid #202946;
}

.recommended h2{
  margin:0 0 20px;
  font-size:24px;
}

.recommended-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
}

.recommended-card{
  cursor:pointer;
  text-align:center;
}

.recommended-card img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
  border-radius:12px;
  border:1px solid #27304d;
  background:#11182c;
  transition:transform .2s ease,border-color .2s ease;
}

.recommended-card:hover img{
  transform:translateY(-4px);
  border-color:#5d6fa8;
}

.recommended-card h3{
  margin:10px 4px 0;
  font-size:14px;
  line-height:1.35;
}

@media(max-width:900px){
  .recommended-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:780px){
  .detail{grid-template-columns:1fr}
  .community{flex-direction:column;align-items:flex-start}
  .shots{grid-template-columns:1fr 1fr}
  .featured-card{flex-basis:88%;height:230px;min-height:0}
  .featured-card img{height:100%;min-height:0}
  .featured-info{width:48%;padding:18px}
  .featured-info h2{font-size:20px}
}

@media(max-width:620px){
  .top{flex-wrap:wrap}
  .filters{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:14px;
    scrollbar-width:none;
  }
  .filters::-webkit-scrollbar{display:none}
  .console-filter{flex:0 0 auto}
  input{min-width:100%}
  .specs{grid-template-columns:1fr}
  .shots{grid-template-columns:1fr}
  .image-viewer{padding:35px 10px}
  .viewer-prev{left:8px}
  .viewer-next{right:8px}
}

/* ÍCONE DO X NO CABEÇALHO */
.social .x-icon{
  width:44px;
  height:44px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#1c2643;
  border:1px solid #2b3555;
  color:#fff;
  font-size:21px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}

.social .x-icon:hover{
  background:#6959f5;
  border-color:#6959f5;
  transform:scale(1.08);
}


.social .x-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}


/* ===== MENU PRINCIPAL COM DROPDOWN ===== */
.filters{
  display:flex;
  align-items:center;
  gap:28px;
  padding-bottom:16px;
  position:relative;
  z-index:100;
  flex-wrap:wrap;
}

.main-menu-item{
  position:relative;
}

.main-menu-btn{
  padding:10px 0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#8fd7ff;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:6px;
  transition:color .2s ease;
}

.main-menu-btn:hover,
.main-menu-btn.active{
  color:#39d66f;
}

.menu-chevron{
  font-size:12px;
  transition:transform .2s ease;
}

.main-menu-item:hover .menu-chevron{
  transform:rotate(180deg);
}

.dropdown-menu{
  display:none;
  position:absolute;
  top:calc(100% + 4px);
  left:0;
  min-width:320px;
  max-height:520px;
  overflow-y:auto;
  padding:12px 0;
  background:#171f2b;
  border:1px solid #263246;
  border-radius:14px;
  box-shadow:0 18px 45px rgba(0,0,0,.48);
  z-index:999;
}

.main-menu-item:hover .dropdown-menu,
.main-menu-item:focus-within .dropdown-menu{
  display:block;
}

.dropdown-menu button{
  display:block;
  width:100%;
  padding:13px 22px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#fff;
  font-size:15px;
  text-align:left;
  cursor:pointer;
}

.dropdown-menu button:hover{
  background:#202b3a;
  color:#39d66f;
}

@media(max-width:620px){
  .filters{
    flex-wrap:wrap;
    overflow:visible;
    gap:18px;
  }

  .dropdown-menu{
    min-width:260px;
    max-width:90vw;
  }
}


/* ===== PÁGINA DE EMULADORES ===== */
.emulators-section{
  padding:38px 0 50px;
}

.emulators-header{
  margin-bottom:24px;
}

.emulators-header h1{
  margin:0 0 8px;
  font-size:34px;
}

.emulators-header p{
  margin:0;
  color:#aab3cd;
  line-height:1.6;
}

.emulators-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:18px;
}

.emulator-card{
  background:#141c32;
  border:1px solid #27304d;
  border-radius:16px;
  padding:20px;
  transition:transform .2s ease,border-color .2s ease;
}

.emulator-card:hover{
  transform:translateY(-4px);
  border-color:#5d6fa8;
}

.emulator-icon{
  width:54px;
  height:54px;
  border-radius:14px;
  display:grid;
  place-items:center;
  margin-bottom:14px;
  background:#1c2643;
  font-weight:900;
  font-size:14px;
}

.emulator-card h3{
  margin:0 0 8px;
  font-size:20px;
  text-align:center;
}

.emulator-platform{
  color:#8fd7ff;
  font-size:14px;
  font-weight:700;
  margin-bottom:14px;
  text-align:center;
}

.emulator-card p{
  margin:0;
  color:#aab3cd;
  line-height:1.55;
  font-size:14px;
  text-align:left;
}


/* ===== CAPAS DOS EMULADORES ===== */
.emulator-card{
  cursor:pointer;
  overflow:hidden;
}

.emulator-cover{
  width:100%;
  aspect-ratio:16/9;
  border-radius:12px;
  overflow:hidden;
  background:#0f1628;
  margin-bottom:16px;
  border:1px solid #27304d;
}

.emulator-cover img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  padding:14px;
  box-sizing:border-box;
}

/* ===== PÁGINA INTERNA DO EMULADOR ===== */
.emulator-detail{
  padding:42px 0 54px;
}

.emulator-detail-grid{
  display:grid;
  grid-template-columns:minmax(280px,420px) 1fr;
  gap:34px;
  align-items:start;
}

.emulator-detail-image{
  background:#141c32;
  border:1px solid #27304d;
  border-radius:18px;
  overflow:hidden;
}

.emulator-detail-image img{
  width:100%;
  height:auto;
  display:block;
}

.emulator-detail-body h1{
  margin:0 0 10px;
  font-size:38px;
}

.emulator-detail-platform{
  color:#8fd7ff;
  font-weight:800;
  margin-bottom:18px;
}

.emulator-detail-desc{
  color:#b8c2da;
  line-height:1.7;
  margin-bottom:26px;
}

.emulator-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.emulator-download,
.emulator-bios{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:150px;
  padding:12px 20px;
  border-radius:999px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
}

.emulator-download{
  background:#6959f5;
  color:#fff;
}

.emulator-bios{
  background:#151f3a;
  color:#fff;
  border:1px solid #2b3555;
}

.emulator-note{
  margin-top:18px;
  color:#8f99b4;
  font-size:13px;
  line-height:1.5;
}

@media(max-width:780px){
  .emulator-detail-grid{
    grid-template-columns:1fr;
  }
}


.pcsx2-bios-box{
  margin-top:28px;
  padding:20px;
  border:1px solid #27304d;
  border-radius:16px;
  background:#141c32;
}

.pcsx2-bios-box h2{
  margin:0 0 12px;
  font-size:22px;
}

.pcsx2-bios-box p{
  margin:0 0 12px;
  color:#b8c2da;
  line-height:1.65;
}

.pcsx2-bios-list{
  margin:10px 0 0;
  padding-left:18px;
  color:#d6def1;
}

.pcsx2-bios-list li{
  margin:7px 0;
}


.search-wrap{
  position:relative;
  flex:0 1 650px;
  width:100%;
}

.search-wrap input{
  width:100%;
  padding-right:48px;
}

.search-icon{
  position:absolute;
  right:15px;
  top:50%;
  transform:translateY(-50%);
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  color:#8f99b4;
  pointer-events:none;
}

.search-icon svg{
  width:20px;
  height:20px;
  display:block;
}

/* remove completamente o círculo do X */
.social .x-icon{
  width:38px !important;
  height:38px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

.social .x-icon:hover{
  background:transparent !important;
  border:0 !important;
  transform:scale(1.08);
}

.social .x-icon img{
  width:32px !important;
  height:32px !important;
  object-fit:contain;
  display:block;
}

@media(max-width:760px){
  .top{flex-wrap:wrap}
  .search-wrap{
    order:3;
    flex:1 0 100%;
  }
}




/* ===== PROGRESSO PESSOAL RETROACHIEVEMENTS ===== */
.ra-user-box{margin:0 0 16px;padding:14px;border:1px solid #2b3555;border-radius:14px;background:#0f1628}
.ra-user-head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.ra-user-title{font-weight:900;font-size:14px}
.ra-user-sub{font-size:12px;color:#8f99b4;margin-top:4px}
.ra-user-form{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.ra-user-input{flex:1;min-width:190px;padding:10px 12px;border-radius:10px;border:1px solid #34405f;background:#0a1020;color:#fff;outline:none}
.ra-user-input:focus{border-color:#6959f5}
.ra-user-button,.ra-user-disconnect{border:0;cursor:pointer;padding:10px 14px;border-radius:10px;font-weight:900;color:#fff;background:#6959f5}
.ra-user-disconnect{background:#1c2643;border:1px solid #34405f}
.ra-progress-wrap{margin-top:14px}
.ra-progress-info{display:flex;justify-content:space-between;gap:10px;font-size:13px;font-weight:800;margin-bottom:7px}
.ra-progress-track{height:10px;background:#202a45;border-radius:999px;overflow:hidden}
.ra-progress-bar{height:100%;width:0;background:linear-gradient(90deg,#6959f5,#36d98b);transition:width .35s ease}
.ra-sync-msg{font-size:12px;color:#8f99b4;margin-top:9px}
.guide-achievement.ra-earned{border:1px solid rgba(54,217,139,.35);background:rgba(54,217,139,.06);border-radius:12px;padding:12px;margin:6px 0}
.guide-achievement.ra-earned h3{color:#74e6aa}
.ra-earned-state{display:inline-flex;gap:6px;align-items:center;margin:4px 0 6px;padding:4px 8px;border-radius:999px;background:rgba(54,217,139,.12);color:#74e6aa;font-size:11px;font-weight:900}
/* ===== RETROACHIEVEMENTS ===== */
.ra-box{
  margin-top:24px;
  padding:20px;
  border:1px solid #3b4564;
  border-radius:18px;
  background:linear-gradient(135deg,#151f3a,#11182c);
}

.ra-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.ra-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  font-size:20px;
}

.ra-status{
  padding:7px 11px;
  border-radius:999px;
  background:rgba(41,195,106,.13);
  border:1px solid rgba(41,195,106,.38);
  color:#6ee7a0;
  font-size:12px;
  font-weight:800;
}

.ra-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}

.ra-stat{
  padding:14px;
  border-radius:14px;
  background:#0f1628;
  border:1px solid #27304d;
}

.ra-stat small{
  display:block;
  color:#8f99b4;
  margin-bottom:5px;
  font-size:11px;
}

.ra-stat strong{
  font-size:18px;
}

.ra-details{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 16px;
}

.ra-chip{
  padding:7px 10px;
  border-radius:999px;
  background:#1c2643;
  border:1px solid #2b3555;
  color:#cbd4ea;
  font-size:12px;
}

.ra-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.ra-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 15px;
  border-radius:999px;
  background:#6959f5;
  color:#fff;
  font-size:13px;
  font-weight:900;
}

.ra-button.secondary{
  background:#1c2643;
  border:1px solid #34405f;
}

.ra-badge{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px;
  margin:0 0 16px;
  border-radius:14px;
  background:#0f1628;
  border:1px solid #27304d;
}

.ra-badge img{
  width:72px;
  height:72px;
  object-fit:contain;
  flex:0 0 72px;
  border-radius:12px;
}

.ra-badge-info small{
  display:block;
  color:#8f99b4;
  font-size:11px;
  font-weight:800;
  margin-bottom:5px;
  text-transform:uppercase;
}

.ra-badge-info strong{
  display:block;
  font-size:14px;
  line-height:1.4;
}

@media(max-width:620px){
  .ra-badge{
    align-items:flex-start;
  }

  .ra-badge img{
    width:60px;
    height:60px;
    flex-basis:60px;
  }
}

@media(max-width:620px){
  .ra-stats{
    grid-template-columns:1fr;
  }
}


.ra-site-notice{
  max-width:1200px;
  margin:18px auto 0;
  padding:12px 16px;
  border:1px solid #2d3a5e;
  border-radius:12px;
  background:#111a30;
  color:#b9c4df;
  font-size:13px;
  line-height:1.55;
}
.ra-site-notice strong{color:#fff;}
/* ===== GUIAS DE CONQUISTAS EM PORTUGUÊS ===== */
.guide-box{margin-top:18px;padding:20px;border:1px solid #3b4564;border-radius:18px;background:#121a2e}
.guide-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.guide-header h2{margin:0;font-size:20px}
.guide-status{font-size:12px;font-weight:800;color:#8fd7ff;background:#17233d;border:1px solid #314366;border-radius:999px;padding:7px 11px}
.guide-summary{color:#b9c4df;line-height:1.65;margin:0 0 15px}
.guide-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.guide-meta div{padding:12px;background:#0f1628;border:1px solid #27304d;border-radius:12px}
.guide-meta small{display:block;color:#8f99b4;font-size:10px;margin-bottom:5px}
.guide-meta strong{font-size:13px}
.guide-steps{display:grid;gap:10px;margin:0 0 16px}
.guide-step{padding:13px 14px;border-left:3px solid #6959f5;background:#0f1628;border-radius:0 12px 12px 0}
.guide-step strong{display:block;margin-bottom:5px}
.guide-step p{margin:0;color:#aeb9d1;line-height:1.55;font-size:13px}
.guide-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;border-radius:999px;background:#6959f5;color:#fff;font-size:13px;font-weight:900;cursor:pointer;border:0}
.guide-full{margin-top:16px;padding-top:16px;border-top:1px solid #27304d}
.guide-achievement{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #27304d}
.guide-achievement img{width:54px;height:54px;object-fit:contain;border-radius:10px;flex:0 0 54px}
.guide-achievement h3{font-size:14px;margin:0 0 4px}
.guide-achievement p{font-size:13px;color:#aeb9d1;line-height:1.5;margin:0}
.guide-achievement .guide-points{font-size:11px;color:#8fd7ff;font-weight:800;margin-bottom:4px}
.guide-empty{color:#8f99b4;font-size:13px}
@media(max-width:700px){.guide-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}


.guide-achievement-title{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:4px;
}
.guide-achievement-title h3{
  margin:0;
}
.guide-missable-icon{
  width:28px !important;
  height:28px !important;
  flex:0 0 28px !important;
  object-fit:contain;
  border-radius:0 !important;
}


.guide-official-name{
  margin-top:3px;
  font-size:10px;
  color:#8f99b4;
  font-weight:700;
}

/* ===== RETROHUB BR - CONTAS / PERFIL ===== */
.account-button{display:flex;align-items:center;gap:8px;border:1px solid #2c3858;background:#151f38;color:#fff;border-radius:999px;padding:7px 12px;font-weight:800;cursor:pointer}
.account-avatar-mini{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#222d49;overflow:hidden}
.account-avatar-mini img{width:100%;height:100%;object-fit:cover}
.account-modal{position:fixed;inset:0;z-index:9999;background:rgba(2,6,16,.72);display:grid;place-items:center;padding:20px}
.account-modal[hidden]{display:none}
.account-card{width:min(520px,100%);max-height:90vh;overflow:auto;background:#111a30;border:1px solid #34415f;border-radius:18px;padding:22px;box-shadow:0 24px 80px rgba(0,0,0,.45)}
.account-card h2{margin:0 0 6px}.account-muted{color:#9daccc;font-size:13px;line-height:1.5}
.account-close{float:right;border:0;background:transparent;color:#cbd5ea;font-size:24px;cursor:pointer}
.account-tabs{display:flex;gap:8px;margin:18px 0}
.account-tabs button{flex:1;border:1px solid #34415f;background:#17213b;color:#cbd5ea;border-radius:10px;padding:10px;font-weight:800;cursor:pointer}
.account-tabs button.active{background:#6b5cff;color:#fff;border-color:#6b5cff}
.account-form{display:grid;gap:11px}.account-form[hidden]{display:none}
.account-form label{font-size:12px;color:#aeb9d1;font-weight:800}
.account-form input{width:100%;box-sizing:border-box;border:1px solid #34415f;background:#0c1428;color:#fff;border-radius:10px;padding:12px}
.account-primary,.account-secondary,.account-danger{border:0;border-radius:10px;padding:11px 14px;font-weight:900;cursor:pointer}
.account-primary{background:#6b5cff;color:#fff}.account-secondary{background:#202c49;color:#fff}.account-danger{background:#3a1c29;color:#ff9bb5}
.account-message{min-height:20px;margin-top:10px;font-size:13px;color:#9daccc}
.profile-head{display:flex;align-items:center;gap:16px;margin:12px 0 18px}
.profile-avatar{width:92px;height:92px;border-radius:50%;object-fit:cover;background:#fff;border:2px solid #425174;color:transparent}.profile-avatar.avatar-empty{background:#fff;object-fit:contain}
.profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.profile-grid{display:grid;gap:12px}.profile-grid .account-form{padding-top:4px}
.profile-username{font-size:22px;font-weight:900}
/* Conquistas bloqueadas em P&B; conquistadas voltam a ficar coloridas */
.guide-achievement img{filter:grayscale(1);opacity:.48;transition:filter .25s ease,opacity .25s ease,transform .25s ease}
.guide-achievement.ra-earned img{filter:none;opacity:1;transform:scale(1.02)}


/* ===== PERFIL COMPLETO - ESTILO STEAM / RETROHUB ===== */
.profile-page{padding:34px 0 60px}.profile-hero{position:relative;overflow:hidden;border:1px solid #2d3a5e;border-radius:22px;background:radial-gradient(circle at 15% 20%,rgba(105,89,245,.34),transparent 34%),linear-gradient(135deg,#151f3a,#0d1426);padding:28px;box-shadow:0 22px 70px rgba(0,0,0,.24)}
.profile-hero.has-wallpaper{background-image:linear-gradient(rgba(8,13,27,.68),rgba(8,13,27,.82)),var(--profile-wallpaper);background-size:cover;background-position:center}.wallpaper-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.wallpaper-preview{height:120px;border-radius:12px;border:1px solid #34415f;background:#0d1426 center/cover no-repeat;display:flex;align-items:center;justify-content:center;color:#8f99b4;font-size:12px;overflow:hidden}
.profile-hero-grid{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center}.profile-page-avatar{width:118px;height:118px;border-radius:18px;object-fit:cover;border:3px solid rgba(255,255,255,.16);background:#202c49}.profile-page-name{font-size:30px;font-weight:900;margin:0 0 5px}.profile-page-ra{color:#8fd7ff;font-weight:800}.profile-page-email{color:#98a6c5;font-size:13px;margin-top:5px}.profile-online{display:inline-flex;align-items:center;gap:7px;margin-top:11px;color:#69e8a4;font-size:13px;font-weight:800}.profile-online:before{content:"";width:8px;height:8px;border-radius:50%;background:#42d98b;box-shadow:0 0 14px #42d98b}.profile-hero-actions{display:flex;flex-direction:column;gap:9px}.profile-hero-actions button{border-radius:10px;cursor:pointer;font-weight:900}
.profile-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.profile-stat-card{padding:18px;border-radius:16px;border:1px solid #283658;background:#111a30}.profile-stat-card small{display:block;color:#8f99b4;font-size:11px;font-weight:800;text-transform:uppercase;margin-bottom:7px}.profile-stat-card strong{font-size:26px}.profile-section{margin-top:24px;padding:22px;border:1px solid #283658;border-radius:18px;background:#11182c}.profile-section-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:17px}.profile-section-head h2{margin:0;font-size:21px}.profile-section-head span{color:#8f99b4;font-size:12px}.profile-recent-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.profile-achievement{min-width:0}.profile-achievement img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;border:1px solid #34415f}.profile-achievement strong{display:block;font-size:12px;line-height:1.3;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-achievement small{display:block;color:#8f99b4;font-size:10px;margin-top:3px}.profile-games{display:grid;gap:16px}.profile-game-card{padding:12px;border:1px solid #27304d;border-radius:14px;background:#0f1628}.profile-game-row{display:grid;grid-template-columns:84px 1fr auto;gap:16px;align-items:center;cursor:pointer}.profile-game-card:hover{border-color:#5d6fa8}.profile-game-cover{width:84px;height:112px;object-fit:cover;border-radius:9px;background:#090e1c}.profile-game-title{font-weight:900;margin-bottom:8px}.profile-game-meta{font-size:12px;color:#9daccc;margin-bottom:10px}.profile-progress-track{height:9px;background:#202a45;border-radius:999px;overflow:hidden}.profile-progress-fill{height:100%;background:linear-gradient(90deg,#6959f5,#36d98b);border-radius:999px}.profile-game-percent{font-size:24px;font-weight:900;text-align:right}.profile-game-percent small{display:block;font-size:11px;color:#8f99b4;margin-top:4px}.profile-game-badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,52px));gap:7px;margin-top:14px;padding-top:14px;border-top:1px solid #27304d}.profile-game-badge{width:52px;height:52px;position:relative}.profile-game-badge img{width:52px;height:52px;display:block;object-fit:cover;border-radius:5px;border:2px solid #44506d;transition:.18s}.profile-game-badge.locked img{filter:grayscale(1) brightness(.42);opacity:.7}.profile-game-badge.earned img{filter:none;opacity:1;border-color:#7b8eb8}.profile-game-badge.hardcore img{box-shadow:0 0 0 2px #f1c44b}.profile-game-badge:hover img{transform:scale(1.08)}
.profile-game-badge-tooltip{position:fixed;z-index:99999;width:min(440px,calc(100vw - 24px));display:none;grid-template-columns:78px 1fr;gap:14px;padding:14px;background:#242424;border:1px solid #3a3a3a;border-radius:5px;box-shadow:0 12px 34px rgba(0,0,0,.48);color:#d7d7d7;pointer-events:none}.profile-game-badge-tooltip.show{display:grid}.profile-game-badge-tooltip img{width:78px;height:78px;object-fit:cover;border:2px solid #777;border-radius:4px}.profile-game-badge-tooltip.locked img{filter:grayscale(1) brightness(.58)}.profile-game-badge-tooltip-title{font-size:20px;line-height:1.08;font-weight:900;color:#d8d8d8;margin:0 0 9px}.profile-game-badge-tooltip-desc{font-size:14px;line-height:1.42;color:#c9c9c9;margin-bottom:12px}.profile-game-badge-tooltip-meta{font-size:14px;line-height:1.4;color:#d5d5d5}.profile-game-badge-tooltip-game{font-style:italic;color:#bdbdbd}.profile-game-badge-tooltip-state{margin-top:5px;font-size:12px;color:#8f99b4}.profile-game-badge-tooltip.earned .profile-game-badge-tooltip-state{color:#53e3a6}.profile-game-badge-tooltip.hardcore .profile-game-badge-tooltip-state{color:#f1c44b}@media(max-width:600px){.profile-game-badge-tooltip{grid-template-columns:60px 1fr;padding:11px;gap:11px}.profile-game-badge-tooltip img{width:60px;height:60px}.profile-game-badge-tooltip-title{font-size:16px}.profile-game-badge-tooltip-desc,.profile-game-badge-tooltip-meta{font-size:12px}}.profile-empty{padding:24px;text-align:center;color:#8f99b4}.profile-loading{padding:28px;text-align:center;color:#aeb9d1}
.profile-game-header{display:grid;grid-template-columns:1fr 44px;gap:10px;align-items:stretch}.profile-game-toggle{width:44px;min-height:44px;align-self:center;border:1px solid #303a59;border-radius:7px;background:#101728;color:#f3c900;font-size:24px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.18s}.profile-game-toggle:hover{background:#18223a;border-color:#59688f}.profile-game-toggle .arrow{display:block;transition:transform .2s}.profile-game-card.collapsed .profile-game-toggle .arrow{transform:rotate(180deg)}.profile-game-card.collapsed .profile-game-badges{display:none}@media(max-width:560px){.profile-game-header{grid-template-columns:1fr 40px}.profile-game-toggle{width:40px}}
@media(max-width:820px){.profile-hero-grid{grid-template-columns:auto 1fr}.profile-hero-actions{grid-column:1/-1;flex-direction:row}.profile-stats-grid{grid-template-columns:repeat(2,1fr)}.profile-recent-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.profile-hero-grid{grid-template-columns:1fr;text-align:center}.profile-page-avatar{margin:auto}.profile-hero-actions{justify-content:center}.profile-game-row{grid-template-columns:64px 1fr}.profile-game-cover{width:64px;height:86px}.profile-game-percent{grid-column:2;text-align:left}.profile-recent-grid{grid-template-columns:repeat(2,1fr)}}


/* ===== RETROHUB: GAME PAGE REDESIGN ===== */
.game-page{max-width:1240px;margin:0 auto;padding:24px 18px 54px}
.game-hero{display:grid;grid-template-columns:180px 1fr 250px;gap:24px;align-items:stretch;background:linear-gradient(135deg,#111b36,#0b1328);border:1px solid #2b3b63;border-radius:22px;padding:22px;box-shadow:0 20px 60px #0005}
.game-hero-cover{width:180px;height:auto;max-height:276px;aspect-ratio:auto;object-fit:contain;object-position:center;border-radius:14px;border:1px solid #40517d;box-shadow:0 12px 28px #0008;background:#081022;align-self:center}
.game-hero-main h1{font-size:34px;margin:2px 0 10px}.game-hero-main .desc{margin:14px 0 0;max-width:720px;line-height:1.6}
.game-hero-progress{background:#0a1226;border:1px solid #2b3b63;border-radius:16px;padding:18px;display:flex;flex-direction:column;justify-content:center}
.game-progress-number{font-size:30px;font-weight:900}.game-progress-label{font-size:12px;color:#91a6d8;margin:3px 0 13px}.game-progress-track{height:10px;background:#202d4d;border-radius:999px;overflow:hidden}.game-progress-fill{height:100%;width:0;background:linear-gradient(90deg,#6255ff,#27d5ff);border-radius:inherit;transition:width .35s}.game-progress-percent{text-align:right;font-size:13px;font-weight:800;color:#7edcff;margin-top:8px}
.game-tabs{position:sticky;top:0;z-index:20;display:flex;gap:6px;margin:18px 0;background:#091225e8;backdrop-filter:blur(12px);border:1px solid #263657;border-radius:14px;padding:7px}.game-tab{border:0;background:transparent;color:#9fb0d6;padding:11px 16px;border-radius:9px;font-weight:800;cursor:pointer}.game-tab:hover,.game-tab.active{background:#22335c;color:#fff}
.game-section{scroll-margin-top:80px;margin-top:18px}.game-section-title{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:0 0 12px}.game-section-title h2{margin:0;font-size:22px}.game-section-title span{color:#8297c5;font-size:13px}
.game-page .ra-box,.game-page .guide-box{margin:0;border-radius:16px}.game-page .ra-header{margin-bottom:12px}.game-page .ra-user-box{margin-top:10px}.game-page .ra-stats{grid-template-columns:repeat(3,1fr)}
.game-achievement-panel .guide-box{padding:0;background:transparent;border:0}.game-achievement-panel .guide-header,.game-achievement-panel .guide-summary,.game-achievement-panel .guide-meta,.game-achievement-panel .guide-steps,.game-achievement-panel .guide-button{display:none!important}.game-achievement-panel .guide-full{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}.game-achievement-panel .guide-achievement{margin:0!important;min-height:94px;padding:12px!important;border-radius:12px;background:#0c152b;border:1px solid #27385e;display:grid!important;grid-template-columns:64px 1fr;gap:12px;align-items:start}.game-achievement-panel .guide-achievement>img:not(.guide-missable-icon){width:64px;height:64px;object-fit:cover;border-radius:8px;filter:grayscale(1);opacity:.48}.game-achievement-panel .guide-achievement.ra-earned>img:not(.guide-missable-icon){filter:none;opacity:1}.game-achievement-panel .guide-achievement h3{font-size:14px;margin:0 0 4px}.game-achievement-panel .guide-achievement p{font-size:12px;line-height:1.35;margin:5px 0;color:#aab7d4}.game-achievement-panel .guide-achievement p strong{color:#dce5ff}.game-achievement-panel .guide-achievement .guide-official-name{font-size:11px}.game-achievement-panel .guide-points{font-size:11px}.game-achievement-panel .ra-earned-state{font-size:10px}
.game-overview-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.game-info-card,.game-shots-card{background:#0c152b;border:1px solid #27385e;border-radius:16px;padding:18px}.game-info-card .specs{margin-top:0}.game-shots-card .screens-title{margin-top:0}.game-shots-card .shots{grid-template-columns:repeat(2,1fr)}
.game-page .download{display:inline-flex;margin-top:18px}.recommended{max-width:1240px;margin:22px auto 0}
@media(max-width:900px){.game-hero{grid-template-columns:120px 1fr}.game-hero-cover{width:120px}.game-hero-progress{grid-column:1/-1}.game-overview-grid{grid-template-columns:1fr}.game-tabs{overflow-x:auto}.game-tab{white-space:nowrap}}
@media(max-width:560px){.game-page{padding:14px 10px 36px}.game-hero{grid-template-columns:86px 1fr;gap:14px;padding:14px}.game-hero-cover{width:86px}.game-hero-main h1{font-size:23px}.game-hero-main .desc{display:none}.game-achievement-panel .guide-full{grid-template-columns:1fr}}


/* ===== RETROHUB: GAME PAGE PREMIUM V2 ===== */
.game-hero{position:relative;overflow:hidden;background:linear-gradient(100deg,rgba(6,11,24,.97),rgba(11,20,42,.90) 58%,rgba(17,28,55,.78)),var(--game-hero-bg);background-size:cover;background-position:center}
.game-hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 45%,rgba(4,8,18,.55))}.game-hero>*{position:relative;z-index:1}
.game-hero-progress.perfect{border-color:#e8c34d;box-shadow:0 0 30px rgba(232,195,77,.15)}.game-perfect-label{display:none;margin-top:10px;padding:7px 9px;border:1px solid #806d28;border-radius:8px;color:#f5d75f;font-size:11px;font-weight:900;text-align:center}.game-hero-progress.perfect .game-perfect-label{display:block}
.game-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:start}.game-content-main{min-width:0}.game-sidebar{position:sticky;top:72px;display:grid;gap:12px}.game-side-card{background:#0c152b;border:1px solid #27385e;border-radius:16px;padding:16px}.game-side-card h3{margin:0 0 13px;font-size:14px}.game-side-big{font-size:28px;font-weight:900}.game-side-muted{font-size:11px;color:#8297c5;margin-top:3px}.game-side-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #202e4e;font-size:12px}.game-side-row:last-child{border:0}.game-side-row span{color:#91a2c8}.game-side-row strong{text-align:right}.game-last-achievement{display:grid;grid-template-columns:54px 1fr;gap:10px;align-items:center}.game-last-achievement img{width:54px;height:54px;object-fit:cover;border-radius:8px}.game-last-achievement strong{font-size:12px}.game-last-achievement small{display:block;color:#8297c5;margin-top:4px;font-size:10px}
.game-achievement-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 12px;padding:10px;background:#0b1428;border:1px solid #263657;border-radius:12px}.game-filter{border:1px solid #344568;background:#101b34;color:#aebddd;border-radius:8px;padding:8px 11px;font-size:11px;font-weight:900;cursor:pointer}.game-filter.active,.game-filter:hover{background:#294171;color:#fff}.game-ach-search{margin-left:auto;min-width:190px;border:1px solid #344568;background:#081123;color:#fff;border-radius:8px;padding:9px 11px;outline:none}.game-achievement-panel .guide-achievement{cursor:pointer;transition:.18s}.game-achievement-panel .guide-achievement:hover{transform:translateY(-2px);border-color:#536da8;background:#101d38}.game-achievement-panel .guide-achievement.hidden-by-filter{display:none!important}.game-achievement-panel .guide-achievement.is-hardcore{border-color:#6d5d28}.game-achievement-panel .guide-achievement.is-hardcore:after{content:"HARDCORE";position:absolute;right:8px;top:8px;color:#f1c44b;font-size:8px;font-weight:900}.game-achievement-panel .guide-achievement{position:relative}.game-achievement-panel .guide-achievement.expanded{grid-column:span 2;border-color:#6b80bd}.game-achievement-panel .guide-achievement.expanded p{font-size:13px}.game-achievement-panel .guide-achievement.expanded .guide-official-name{color:#9db2e8}
.game-guide-callout{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.game-guide-callout>div{background:#0c152b;border:1px solid #27385e;border-radius:12px;padding:13px}.game-guide-callout small{display:block;color:#8297c5;font-size:9px;font-weight:900;margin-bottom:5px}.game-guide-callout strong{font-size:13px}
@media(max-width:980px){.game-content-layout{grid-template-columns:1fr}.game-sidebar{position:static;grid-template-columns:repeat(2,1fr)}.game-achievement-panel .guide-achievement.expanded{grid-column:auto}}
@media(max-width:620px){.game-sidebar{grid-template-columns:1fr}.game-guide-callout{grid-template-columns:repeat(2,1fr)}.game-ach-search{width:100%;margin-left:0}}


/* GUIA COMPACTO RETROHUB */
.guide-box{padding:22px 24px;background:linear-gradient(135deg,#111a30 0%,#0d1528 100%);border-color:#2d3b61}
.guide-header{margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #273451}
.guide-intro h3{margin:0 0 8px;font-size:18px;color:#fff}
.guide-intro p{margin:0;max-width:850px;color:#aeb9d1;line-height:1.6;font-size:14px}
.guide-meta-inline{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:18px 0;color:#8f99b4;font-size:13px}
.guide-meta-inline span{display:inline-flex;align-items:center;gap:5px}
.guide-meta-inline strong{color:#fff}
.guide-button-main{border-radius:10px;padding:11px 17px}
.guide-full .guide-steps{margin-top:0;margin-bottom:18px}
@media(max-width:700px){.guide-box{padding:18px}.guide-meta-inline{gap:12px 18px}.guide-meta-inline span{width:calc(50% - 9px)}}


.achievement-summary-compact{margin:0 0 22px;padding:0 2px;color:#fff}.achievement-summary-compact h2{margin:0 0 8px;font-size:20px;font-weight:800}.achievement-summary-compact p{margin:0 0 14px;max-width:900px;color:#b9c9ef;line-height:1.65;font-size:14px}.achievement-summary-stats{display:flex;flex-wrap:wrap;gap:22px;color:#9fb4e8;font-size:14px}.achievement-summary-stats strong{color:#fff}.achievement-summary-stats span{white-space:nowrap}

/* ===== FICHA TÉCNICA COMPACTA ===== */
.game-info-compact{padding:16px 18px!important;align-self:start}
.game-info-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:13px;border-bottom:1px solid #253455}
.game-info-heading>div{display:grid;gap:3px}.game-info-heading small{font-size:9px;letter-spacing:.12em;color:#7890c3;font-weight:900}.game-info-heading strong{font-size:16px;color:#fff}
.game-info-download{margin:0!important;white-space:nowrap;padding:10px 14px!important;font-size:12px!important}
.game-info-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.game-info-chips span{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #2a3a60;border-radius:999px;background:#111b32;color:#e7edff;font-size:11px;font-weight:800}
.game-info-chips b{font-size:13px}.game-info-details{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;padding-top:4px}
.game-info-details p{margin:0;padding:10px 0;border-top:1px solid #202e4c;min-width:0}.game-info-details p.translation{grid-column:1/-1}
.game-info-details small{display:block;color:#7890c3;font-size:9px;margin-bottom:4px}.game-info-details strong{display:block;color:#fff;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:560px){.game-info-heading{align-items:flex-start;flex-direction:column}.game-info-download{width:100%;justify-content:center}.game-info-details{grid-template-columns:1fr}.game-info-details p.translation{grid-column:auto}}

/* ===== RETROACHIEVEMENTS COMPACTO ===== */
.ra-box.ra-compact{padding:14px 16px;border-radius:16px}
.ra-compact-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.ra-compact-brand{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ra-compact .ra-title{font-size:18px}
.ra-compact .ra-status{padding:5px 9px;font-size:11px}
.ra-compact .ra-user-box{margin:0;padding:11px 12px;border-radius:12px}
.ra-compact .ra-user-head{display:grid;grid-template-columns:minmax(180px,.75fr) minmax(360px,1.6fr);gap:12px;align-items:center}
.ra-compact .ra-user-form{margin:0;display:flex;flex-wrap:nowrap}
.ra-compact .ra-user-input{min-width:0;padding:8px 10px}
.ra-compact .ra-user-button,.ra-compact .ra-user-disconnect{padding:8px 11px;font-size:12px;white-space:nowrap}
.ra-compact .ra-progress-wrap{margin-top:10px}
.ra-compact .ra-progress-track{height:7px}
.ra-compact .ra-sync-msg{margin-top:6px;font-size:11px}
.ra-compact-info{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px}
.ra-compact-info span{padding:5px 8px;border:1px solid #2b3555;border-radius:999px;background:#151e36;color:#aeb9d5;font-size:11px}
.ra-compact-info b{color:#fff}
.ra-badge.ra-badge-compact{margin:10px 0 0;padding:9px 11px;gap:10px;border-radius:12px}
.ra-badge.ra-badge-compact img{width:42px;height:42px;flex:0 0 42px;border-radius:8px}
.ra-badge.ra-badge-compact .ra-badge-info small{font-size:10px;margin-bottom:2px}
.ra-badge.ra-badge-compact .ra-badge-info strong{font-size:12px;line-height:1.25}
@media(max-width:760px){
 .ra-compact .ra-user-head{grid-template-columns:1fr}
 .ra-compact .ra-user-form{flex-wrap:wrap}
 .ra-compact .ra-user-input{flex-basis:100%}
 .ra-compact-top{align-items:flex-start}
}

/* ===== PERFIL GAMER PREMIUM ===== */
.profile-level{display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:6px 10px;border:1px solid #3a4770;border-radius:999px;background:rgba(10,16,31,.72);font-size:12px;font-weight:900;color:#dce5ff}.profile-level b{color:#ffd45a}
.profile-showcase-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.profile-showcase-card{padding:10px;border:1px solid #2c395d;border-radius:14px;background:#0e1629;min-width:0}.profile-showcase-card img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px}.profile-showcase-card strong{display:block;margin-top:8px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-showcase-card small{display:block;color:#8fa0c5;font-size:10px;margin-top:4px}
.profile-perfect-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.profile-perfect-card{position:relative;overflow:hidden;border:1px solid #35436b;border-radius:14px;background:#0d1527;cursor:pointer}.profile-perfect-card img{width:100%;height:150px;object-fit:cover;display:block}.profile-perfect-card div{padding:10px;font-size:12px;font-weight:900}.profile-perfect-card span{position:absolute;top:9px;right:9px;padding:5px 8px;border-radius:999px;background:rgba(8,13,27,.88);color:#ffd45a;font-size:10px;font-weight:900}
.profile-retrohub-badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.rh-badge{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #2b385a;border-radius:13px;background:#0e1629;position:relative;overflow:hidden}.rh-badge.locked{filter:grayscale(1);opacity:.42}.rh-badge-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#18233e;font-size:22px}.rh-badge strong{display:block;font-size:12px}.rh-badge small{display:block;color:#8f99b4;font-size:10px;margin-top:3px}.rh-badge-rarity{position:absolute;right:8px;top:7px;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.7px;opacity:.75}.rh-badge.rare:not(.locked){border-color:#3c6db3}.rh-badge.epic:not(.locked){border-color:#7255c9}.rh-badge.legendary:not(.locked){border-color:#b58b2d;box-shadow:0 0 16px #b58b2d22}.rh-badges-actions{display:flex;justify-content:center;margin-top:16px}.rh-badges-more{border:1px solid #3a4a72;background:#182440;color:#fff;padding:10px 18px;border-radius:12px;font-weight:800;cursor:pointer}.rh-badges-more:hover{background:#223258}.badge-page{max-width:1320px;margin:0 auto;padding:26px 24px 60px}.badge-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.badge-page-head h1{margin:0;font-size:30px}.badge-page-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.badge-tab{border:1px solid #314163;background:#101a30;color:#b9c6e7;padding:9px 13px;border-radius:10px;font-weight:800;cursor:pointer}.badge-tab.active{background:#6555ff;color:white;border-color:#7567ff}.badge-page-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.badge-page .rh-badge{min-height:74px}.badge-summary{color:#9aa9cb;font-size:13px}
.profile-activity{display:grid;gap:8px}.profile-activity-item{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #263453;border-radius:12px;background:#0e1629}.profile-activity-icon{width:38px;height:38px;border-radius:9px;object-fit:cover;background:#17213a}.profile-activity-item strong{font-size:12px}.profile-activity-item small{display:block;color:#8f99b4;font-size:10px;margin-top:3px}.profile-activity-date{font-size:10px;color:#7f8dab;white-space:nowrap}
@media(max-width:820px){.profile-showcase-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:560px){.profile-showcase-grid{grid-template-columns:repeat(2,1fr)}.profile-perfect-grid{grid-template-columns:repeat(2,1fr)}.profile-activity-item{grid-template-columns:34px 1fr}.profile-activity-date{grid-column:2}.profile-perfect-card img{height:120px}}


/* Perfil hero limpo */
.profile-hero{padding:0;min-height:230px;display:flex;align-items:flex-end;background:linear-gradient(135deg,#121c34,#0a1122)}
.profile-hero.has-wallpaper{background-image:linear-gradient(90deg,rgba(5,10,22,.94) 0%,rgba(5,10,22,.72) 48%,rgba(5,10,22,.9) 100%),var(--profile-wallpaper);background-size:cover;background-position:center}
.profile-hero-grid{width:100%;grid-template-columns:auto minmax(0,1fr) auto;gap:24px;align-items:center;padding:28px 32px}
.profile-page-avatar{width:132px;height:132px;border-radius:22px;border:3px solid rgba(117,103,255,.65);box-shadow:0 12px 32px rgba(0,0,0,.35)}
.profile-page-name{font-size:32px;letter-spacing:-.5px;margin-bottom:7px}
.profile-page-ra{display:inline-flex;align-items:center;gap:7px;color:#a9b9db;font-size:14px;font-weight:700}
.profile-page-ra:before{content:'🏆';font-size:13px}
.profile-page-email{display:none}
.profile-meta-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.profile-online{margin-top:0;font-size:12px;padding:6px 10px;border-radius:999px;background:rgba(28,104,73,.22);border:1px solid rgba(66,217,139,.24)}
.profile-level-wrap{margin-top:13px;max-width:470px}
.profile-level-line{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:7px}
.profile-level{margin:0;padding:0;border:0;background:none;color:#dce5ff;font-size:12px}
.profile-level b{color:#ffd45a}.profile-xp-text{color:#8f9dbc;font-size:11px;font-weight:800}
.profile-xp-track{height:7px;border-radius:999px;overflow:hidden;background:rgba(142,157,190,.18);border:1px solid rgba(142,157,190,.12)}
.profile-xp-fill{height:100%;width:0;background:linear-gradient(90deg,#6555ff,#55b7ff);border-radius:999px;transition:width .35s ease}
.profile-hero-actions{align-self:flex-start}.profile-hero-actions button{padding:10px 14px;font-size:12px;background:rgba(20,31,57,.78);backdrop-filter:blur(8px)}
@media(max-width:820px){.profile-hero{min-height:0}.profile-hero-grid{grid-template-columns:auto 1fr;padding:24px}.profile-hero-actions{grid-column:2;grid-row:2;flex-direction:row}.profile-page-avatar{width:110px;height:110px}}
@media(max-width:560px){.profile-hero-grid{grid-template-columns:1fr;text-align:center;padding:22px}.profile-meta-row{justify-content:center}.profile-level-wrap{margin-left:auto;margin-right:auto}.profile-hero-actions{grid-column:1;grid-row:auto;justify-content:center}.profile-page-avatar{width:104px;height:104px}}


/* RETROHUB — PERSONALIZAÇÃO AVANÇADA DO PERFIL */
.profile-stats-strip{display:flex;align-items:center;gap:0;margin:18px 0;padding:14px 18px;border:1px solid #283658;border-radius:15px;background:#111a30;overflow-x:auto}.profile-stat-inline{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:13px;font-weight:800}.profile-stat-inline strong{font-size:16px;color:#fff}.profile-stat-inline+.profile-stat-inline:before{content:"";width:1px;height:22px;background:#2b3859;margin:0 18px}.profile-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.profile-featured-card{min-height:116px;border:1px solid #2c395d;border-radius:16px;background:linear-gradient(145deg,#101a31,#0c1426);padding:14px;display:flex;align-items:center;gap:13px;position:relative;overflow:hidden}.profile-featured-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 100% 0,rgba(101,85,255,.16),transparent 42%);pointer-events:none}.profile-featured-icon{width:70px;height:70px;border-radius:13px;object-fit:cover;background:#18233e;border:1px solid #35456d;flex:none}.profile-featured-emoji{width:70px;height:70px;border-radius:13px;display:grid;place-items:center;background:#18233e;border:1px solid #35456d;font-size:34px;flex:none}.profile-featured-copy{min-width:0;position:relative}.profile-featured-copy small{display:block;color:#7f91ba;text-transform:uppercase;font-size:9px;font-weight:900;letter-spacing:.8px;margin-bottom:6px}.profile-featured-copy strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-featured-copy span{display:block;color:#96a5c6;font-size:11px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-customize{margin-top:18px;padding:16px;border:1px solid #293858;border-radius:14px;background:#0d1629}.profile-customize h3{margin:0 0 5px;font-size:15px}.profile-customize p{margin:0 0 14px;color:#8f9dbc;font-size:11px}.profile-customize-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.profile-customize label{display:block;color:#aeb9d1;font-size:11px;font-weight:800}.profile-customize select{width:100%;margin-top:6px;padding:10px;border:1px solid #33415f;border-radius:10px;background:#0b1325;color:#fff}.profile-hero-featured-badge{display:inline-flex;align-items:center;gap:7px;margin-top:9px;color:#b9c6e7;font-size:11px;font-weight:800}.profile-hero-featured-badge .mini{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:rgba(21,32,58,.85);border:1px solid rgba(132,148,190,.25)}
@media(max-width:820px){.profile-featured-grid{grid-template-columns:1fr}.profile-customize-grid{grid-template-columns:1fr}.profile-stats-strip{padding:12px}.profile-stat-inline+.profile-stat-inline:before{margin:0 12px}}

/* ===== EDITOR DE PERFIL PROFISSIONAL ===== */
#profileView.profile-editor-view{padding:2px 2px 8px}.profile-editor-view+.account-message{margin-top:0}
.account-card:has(.profile-editor-view:not([hidden])){width:min(620px,calc(100vw - 28px));padding:22px 22px 16px;max-height:92vh;scrollbar-width:thin;scrollbar-color:#53617e transparent}
.profile-editor-title{padding-right:36px;margin-bottom:16px}.profile-editor-title h2{font-size:22px;margin:0 0 4px}.profile-editor-title p{margin:0;color:#8f9dbc;font-size:12px}
.profile-editor-identity{display:flex;align-items:center;gap:15px;padding:14px;border:1px solid #293858;border-radius:16px;background:linear-gradient(135deg,#111c35,#0c1529);margin-bottom:14px}.profile-editor-identity .profile-avatar{width:76px;height:76px;border-radius:16px}.profile-editor-identity-copy{min-width:0}.profile-editor-identity .profile-username{font-size:20px;margin-bottom:3px}.profile-editor-ra-line{font-size:12px;color:#8fd7ff;font-weight:800;margin-bottom:9px}
.profile-editor-small-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #33415f;background:#1b2948;color:#fff;border-radius:9px;padding:8px 11px;font-size:11px;font-weight:900;cursor:pointer}.profile-editor-small-btn.primary{background:#25375f}.profile-editor-small-btn.danger-ghost{background:transparent;color:#ff9bb5;border-color:#5a3040}
.profile-editor-form{display:grid;gap:12px}.profile-editor-section{border:1px solid #293858;border-radius:16px;background:#0d1629;padding:15px}.profile-editor-section-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}.profile-editor-section-icon{width:34px;height:34px;border-radius:10px;background:#172442;display:grid;place-items:center}.profile-editor-section-head h3{margin:0 0 2px;font-size:14px}.profile-editor-section-head p{margin:0;color:#8290ae;font-size:10.5px}.profile-editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-editor-fields label{font-size:11px;color:#aeb9d1;font-weight:800}.profile-editor-fields input{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #34415f;background:#091225;color:#fff;border-radius:10px;padding:11px 12px;outline:none}.profile-editor-fields input:focus,.profile-highlight-editor-row select:focus{border-color:#6b5cff;box-shadow:0 0 0 3px rgba(107,92,255,.12)}
.profile-editor-wallpaper{height:105px;border-radius:12px;margin:0;background-color:#091225}.profile-editor-cover-actions{display:flex;gap:8px;margin-top:9px}
.profile-highlight-editor-list{display:grid;gap:7px}.profile-highlight-editor-row{display:grid;grid-template-columns:36px 1fr minmax(170px,220px);align-items:center;gap:10px;padding:9px 10px;border:1px solid #263552;border-radius:12px;background:#0a1325}.profile-highlight-symbol{width:34px;height:34px;border-radius:9px;background:#16223e;display:grid;place-items:center}.profile-highlight-label{display:flex;flex-direction:column;min-width:0}.profile-highlight-label b{font-size:11.5px;color:#eef3ff}.profile-highlight-label small{font-size:9.5px;color:#7f8dab;margin-top:2px}.profile-highlight-editor-row select{width:100%;min-width:0;border:1px solid #33415f;border-radius:9px;background:#111d35;color:#fff;padding:9px 10px;font-size:11px;outline:none}.profile-editor-choice-preview{display:none;margin:-2px 0 3px 46px;color:#8fa0c3;font-size:10px}.profile-editor-choice-preview.active{display:block}.profile-editor-choice-preview img{width:22px;height:22px;object-fit:cover;border-radius:5px;vertical-align:middle;margin-right:7px}
.profile-editor-sticky-save{position:sticky;bottom:-16px;z-index:3;margin:2px -4px 0;padding:12px 4px 4px;background:linear-gradient(180deg,rgba(17,26,48,0),#111a30 35%)}.profile-editor-sticky-save .account-primary{width:100%;padding:12px}.profile-editor-logout{display:block;margin:10px auto 0;border:0;background:transparent;color:#a8b3ca;font-size:11px;font-weight:800;cursor:pointer;padding:7px 14px}.profile-editor-logout:hover{color:#ff9bb5;text-decoration:underline}
@media(max-width:620px){.profile-editor-fields{grid-template-columns:1fr}.profile-highlight-editor-row{grid-template-columns:34px 1fr}.profile-highlight-editor-row select{grid-column:1/-1}.profile-editor-cover-actions{flex-wrap:wrap}.profile-editor-identity .profile-avatar{width:68px;height:68px}}

.profile-editor-fields.profile-editor-fields-single{grid-template-columns:1fr}
.profile-editor-fields.profile-editor-fields-single label{max-width:none}
.guide-badge-placeholder{width:64px;height:64px;border-radius:8px;background:#111a30;border:1px solid #27385e}

/* ===== RETROHUB BR — PERFIL PREMIUM COMPACTO V3 ===== */
.profile-page{max-width:1320px;margin:0 auto;padding:24px 22px 60px}
.profile-hero{min-height:205px;border-radius:20px}
.profile-hero-grid{padding:24px 28px;gap:20px}
.profile-page-avatar{width:112px;height:112px;border-radius:20px}
.profile-page-name{font-size:29px}
.profile-level-wrap{max-width:390px}

.profile-stats-strip{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin:14px 0 0;
}
.profile-stat-inline{
  min-height:58px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid #263556;
  border-radius:12px;
  background:#0d1629;
  color:#8fa0c5;
  font-size:11px;
  text-align:center;
}
.profile-stat-inline strong{color:#fff;font-size:17px}

.profile-featured-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr .85fr;
  gap:12px;
  margin-top:14px;
}
.profile-featured-card{min-height:118px}

.profile-section{
  margin-top:16px;
  padding:17px 18px;
  border-radius:16px;
}
.profile-section-head{margin-bottom:12px}
.profile-section-head h2{font-size:18px}
.profile-section-head span{font-size:11px}

/* Vitrine: agora é uma faixa compacta e não um mural gigante */
.profile-showcase-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}
.profile-showcase-card{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  grid-template-rows:auto auto;
  column-gap:10px;
  align-items:center;
  padding:8px;
  min-height:82px;
  border-radius:11px;
  background:#0b1426;
  transition:.18s ease;
}
.profile-showcase-card:hover{
  transform:translateY(-2px);
  border-color:#536da8;
  background:#101b32;
}
.profile-showcase-card img{
  grid-row:1/3;
  width:64px;
  height:64px;
  aspect-ratio:auto;
  object-fit:cover;
  border-radius:9px;
}
.profile-showcase-card strong{
  margin:0;
  font-size:11px;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.profile-showcase-card small{
  margin:3px 0 0;
  font-size:9px;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.profile-showcase-more{
  margin-left:auto;
  border:1px solid #344568;
  background:#111d35;
  color:#cbd7f3;
  padding:7px 10px;
  border-radius:9px;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}

/* Jogos perfeitos mais compactos */
.profile-perfect-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:9px}
.profile-perfect-card img{height:118px}
.profile-perfect-card div{padding:8px;font-size:10px}
.profile-perfect-card span{font-size:8px;padding:4px 6px}

/* Insígnias e atividade ocupam menos altura */
.profile-retrohub-badges{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:8px}
.rh-badge{padding:9px 10px;min-height:62px}
.rh-badge-icon{width:36px;height:36px;border-radius:10px;font-size:18px}
.profile-activity{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.profile-activity-item{grid-template-columns:34px minmax(0,1fr) auto;padding:8px 10px}
.profile-activity-icon{width:34px;height:34px}
.profile-activity-item strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Meus jogos: progresso ganha prioridade; conquistas continuam recolhíveis */
.profile-games{gap:10px}
.profile-game-card{padding:10px;border-radius:12px}
.profile-game-row{grid-template-columns:62px 1fr auto;gap:12px}
.profile-game-cover{width:62px;height:82px}
.profile-game-title{font-size:13px;margin-bottom:5px}
.profile-game-meta{font-size:10px;margin-bottom:7px}
.profile-game-percent{font-size:20px}
.profile-game-badges{grid-template-columns:repeat(auto-fill,44px);gap:6px;margin-top:10px;padding-top:10px}
.profile-game-badge,.profile-game-badge img{width:44px;height:44px}

@media(max-width:980px){
  .profile-stats-strip{grid-template-columns:repeat(3,1fr)}
  .profile-featured-grid{grid-template-columns:1fr 1fr}
  .profile-showcase-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .profile-page{padding:14px 10px 40px}
  .profile-hero-grid{padding:20px}
  .profile-activity{grid-template-columns:1fr}
  .profile-showcase-grid{grid-template-columns:1fr}
  .profile-featured-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .profile-stats-strip{grid-template-columns:repeat(2,1fr)}
  .profile-showcase-card{grid-template-columns:54px minmax(0,1fr);min-height:70px}
  .profile-showcase-card img{width:54px;height:54px}
}


.rh-badge-info{min-width:0;flex:1}
.rh-progress{height:5px;background:#202a3f;border-radius:999px;margin-top:7px;overflow:hidden}
.rh-progress i{display:block;height:100%;background:linear-gradient(90deg,#6657ff,#38dba0);border-radius:999px}
.rh-badge em{display:block;margin-top:4px;color:#7f91b7;font-size:9px;font-style:normal;font-weight:800}


.rh-badge.secret{border-color:#4d3b73;background:linear-gradient(135deg,#111425,#191329)}
.rh-badge.secret:not(.locked){border-color:#9d72ff;box-shadow:0 0 22px rgba(132,86,255,.18)}
.rh-badge.secret .rh-badge-icon{background:#201735}
.rh-badge.secret:not(.locked) .rh-badge-icon{filter:none}
.rh-badge.secret .rh-badge-rarity{color:#b995ff}
.badges-page-grid .rh-badge{min-height:86px}
.badges-page-grid .rh-progress{max-width:190px}


.rh-badge[data-badge-category="ps2"]{border-color:#243d76;background:linear-gradient(135deg,#0d1528,#101b35)}
.rh-badge[data-badge-category="ps2"]:not(.locked){box-shadow:0 0 0 1px rgba(73,119,255,.22),0 8px 24px rgba(0,0,0,.18)}
.rh-badge[data-badge-category="ps2"] .rh-badge-icon{background:#13264d}


/* ===== RETROHUB — XP + NÍVEIS + TÍTULOS + PRÓXIMA META ===== */
.profile-progression{margin-top:14px;padding:16px 18px;border:1px solid #293858;border-radius:16px;background:linear-gradient(135deg,#0d1629,#111b32)}
.profile-progression-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:11px}
.profile-progression-level{display:flex;align-items:center;gap:10px}.profile-level-orb{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#5d55ff;color:#fff;font-size:20px;font-weight:950;box-shadow:0 0 22px rgba(93,85,255,.25)}
.profile-progression-level strong{display:block;color:#fff;font-size:14px}.profile-progression-level small{display:block;color:#8ea0c5;font-size:10px;margin-top:2px}.profile-xp-number{font-size:12px;color:#aebde0;font-weight:850}
.profile-xp-track{height:8px;background:#202b42;border-radius:999px;overflow:hidden}.profile-xp-track i{display:block;height:100%;background:linear-gradient(90deg,#6558ff,#38dba0);border-radius:999px}
.profile-progression-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.profile-title-box,.profile-next-goal{padding:12px;border:1px solid #263653;border-radius:12px;background:#0a1324}
.profile-title-box span,.profile-next-goal span{display:block;color:#7083aa;font-size:9px;text-transform:uppercase;letter-spacing:.8px;font-weight:900;margin-bottom:5px}.profile-title-box strong,.profile-next-goal strong{display:block;color:#fff;font-size:13px}
.profile-title-box small,.profile-next-goal small{display:block;color:#91a3c8;font-size:10px;margin-top:4px}.profile-next-goal-track{height:5px;background:#1d2940;border-radius:999px;overflow:hidden;margin-top:8px}.profile-next-goal-track i{display:block;height:100%;background:linear-gradient(90deg,#6558ff,#38dba0);border-radius:999px}
.profile-title-select{margin-top:8px;width:100%;background:#111c31;color:#dce5fa;border:1px solid #30415f;border-radius:8px;padding:7px 8px;font-size:10px}
@media(max-width:700px){.profile-progression-grid{grid-template-columns:1fr}.profile-progression-top{align-items:flex-start}.profile-xp-number{text-align:right}}


/* Preview de screenshots no banner do carrossel */
.featured-main-image,
.featured-hero img,
.premium-main-image,
.premium-hero img{
  transition:opacity .18s ease, transform .35s ease;
}
.featured-main-image.is-previewing,
.featured-hero img.is-previewing,
.premium-main-image.is-previewing,
.premium-hero img.is-previewing{
  opacity:.96;
}
.featured-screenshot img,
.premium-screenshot img,
.featured-thumbs img,
.premium-thumbs img{
  cursor:pointer;
}


.featured-preview-grid .featured-screenshot-thumb{
  cursor:pointer;
  transition:transform .16s ease, opacity .16s ease, outline-color .16s ease;
}
.featured-preview-grid .featured-screenshot-thumb:hover{
  transform:scale(1.035);
  opacity:1;
  outline:2px solid rgba(255,255,255,.85);
  outline-offset:-2px;
}


/* ===== AVISO RETROACHIEVEMENTS NO FINAL DA HOME ===== */
.ra-footer-notice{
  max-width:1380px;
  margin:28px auto 8px;
  padding:14px 12px 4px;
  border-top:1px solid #263653;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  color:#7f91b3;
  font-size:11px;
  text-align:center;
}
.ra-footer-notice strong{color:#aebddd}
.ra-footer-more{
  border:0;background:transparent;color:#76aaff;
  padding:3px 0;font:inherit;font-weight:850;cursor:pointer;
}
.ra-footer-more:hover{color:#b0ceff}
.ra-info-modal-backdrop{
  position:fixed;inset:0;z-index:10050;
  display:none;align-items:center;justify-content:center;
  padding:20px;background:rgba(2,7,16,.76);backdrop-filter:blur(5px);
}
.ra-info-modal-backdrop.is-open{display:flex}
.ra-info-modal{
  position:relative;width:min(520px,100%);
  padding:22px;border:1px solid #2c3e60;border-radius:16px;
  background:#101a2e;box-shadow:0 24px 70px rgba(0,0,0,.45);
}
.ra-info-modal h3{margin:0 36px 8px 0;color:#fff;font-size:19px}
.ra-info-modal p{margin:0;color:#aebddd;font-size:13px;line-height:1.65}
.ra-info-modal p+p{margin-top:10px}
.ra-info-modal-close{
  position:absolute;right:14px;top:12px;width:32px;height:32px;
  border:0;border-radius:8px;background:#18253d;color:#dbe5fa;
  cursor:pointer;font-size:18px;font-weight:900;
}
@media(max-width:700px){
  .ra-footer-notice{margin:20px 12px 6px;flex-wrap:wrap}
}



/* ===== RETROHUB BR - HOME 2026 ===== */
body.home-modern header{background:rgba(12,19,38,.96);backdrop-filter:blur(14px)}
body.home-modern .top{padding:12px 0}
body.home-modern .logo{font-size:23px}
.home-section{margin:36px 0}
.home-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:15px}
.home-section-head h2{margin:0;font-size:23px;letter-spacing:-.2px}.home-section-head p{margin:5px 0 0;color:#8192b3;font-size:13px}.home-section-kicker{color:#61d69a;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:1.1px;margin-bottom:5px}
.home-achievement-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.home-achievement-card{position:relative;min-height:190px;overflow:hidden;border-radius:15px;border:1px solid #263858;background:#0d1628;cursor:pointer;transition:.2s}
.home-achievement-card:hover{transform:translateY(-4px);border-color:#506b9b}.home-achievement-card>img{width:100%;height:190px;object-fit:cover;display:block;opacity:.68}.home-achievement-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 28%,rgba(5,10,20,.96) 92%)}
.home-achievement-info{position:absolute;z-index:2;left:14px;right:14px;bottom:13px}.home-achievement-info strong{display:block;font-size:15px;margin-bottom:6px}.home-achievement-meta{display:flex;gap:6px;flex-wrap:wrap}.home-achievement-meta span{padding:4px 7px;border-radius:5px;background:rgba(17,31,53,.88);font-size:10px;color:#c8d5e8}.home-trophy{color:#f0c95c!important}
.home-platform-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.home-platform-card{min-height:105px;padding:18px;border:1px solid #263858;border-radius:14px;background:linear-gradient(135deg,#111d34,#0c1426);cursor:pointer;display:flex;flex-direction:column;justify-content:flex-end;transition:.2s}.home-platform-card:hover{transform:translateY(-3px);border-color:#4f6895;background:linear-gradient(135deg,#172744,#101b31)}.home-platform-card strong{font-size:18px}.home-platform-card span{font-size:11px;color:#8798b7;margin-top:5px}
.home-continue{display:none}.home-continue.show{display:block}.home-continue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-progress-card{display:grid;grid-template-columns:74px 1fr;gap:13px;padding:11px;border:1px solid #263858;border-radius:13px;background:#0d1628;cursor:pointer}.home-progress-card img{width:74px;height:96px;object-fit:contain;background:#090f1d;border-radius:7px}.home-progress-title{font-weight:900;font-size:14px;margin:4px 0 6px}.home-progress-meta{font-size:11px;color:#8ea0c1;margin-bottom:10px}.home-progress-track{height:7px;background:#202d49;border-radius:99px;overflow:hidden}.home-progress-fill{height:100%;background:linear-gradient(90deg,#6959f5,#36d98b)}.home-progress-percent{font-size:11px;color:#7fe2b0;font-weight:900;margin-top:6px}
.latest-card{border-color:#223451;background:#0d1628}.latest-info{padding:11px 12px 13px}.latest-meta{display:flex;gap:5px;flex-wrap:wrap}.latest-chip{padding:4px 6px;border-radius:5px;background:#17233a;color:#aebbd2;font-size:10px}.latest-chip.ra{color:#f0c95c}

body.home-modern .ra-footer-notice{margin-top:42px}

/* ===== RODAPÉ RETROHUB BR ===== */
.site-footer{
  margin:18px 0 20px;
  padding:22px 16px;
  border-top:1px solid #202946;
  text-align:center;
  color:#8f99b4;
  font-size:13px;
}
.site-footer-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.site-footer-links a{
  color:#aebddd;
  text-decoration:none;
  font-weight:700;
  transition:color .2s ease;
}
.site-footer-links a:hover{color:#6959f5}
.site-footer-links span{color:#46516f}
.site-footer-copy{
  color:#6f7b99;
  font-size:12px;
}

.retrohub-picks-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.retrohub-pick-card{position:relative;height:230px;overflow:hidden;border-radius:16px;border:1px solid #263858;background:#0d1628;cursor:pointer;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.retrohub-pick-card:hover{transform:translateY(-5px);border-color:#526d9f;box-shadow:0 18px 38px rgba(0,0,0,.28)}.retrohub-pick-card>img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}.retrohub-pick-card:hover>img{transform:scale(1.035)}.retrohub-pick-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,8,17,.04) 20%,rgba(4,8,17,.94) 88%)}.retrohub-pick-info{position:absolute;z-index:2;left:16px;right:16px;bottom:15px}.retrohub-pick-info>span{display:inline-block;padding:4px 7px;border-radius:5px;background:rgba(17,31,53,.88);font-size:10px;color:#c8d5e8}.retrohub-pick-info h3{margin:7px 0 4px;font-size:18px}.retrohub-pick-meta{font-size:11px;color:#aebbd2;margin-bottom:10px}.retrohub-pick-info button{padding:7px 11px;border-radius:7px;background:#6959f5;color:#fff;font-size:11px;font-weight:900;cursor:pointer}.retrohub-pick-info button:hover{background:#7b6dff}
@media(max-width:900px){.home-achievement-grid,.home-platform-grid,.retrohub-picks-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.home-achievement-grid,.home-platform-grid,.home-continue-grid,.retrohub-picks-grid{grid-template-columns:1fr}.home-section-head{align-items:flex-start;flex-direction:column}.home-achievement-card>img{height:175px}}


/* RETROHUB: capas das páginas de jogos sempre inteiras (atuais e futuras) */
.game-page .game-hero-cover{
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#081022;
}


/* ===== HERO: FUNDO SEPARADO, SEM DESFOQUE E SEM LINHA INFERIOR ===== */
.game-page .game-hero{
  position:relative !important;
  isolation:isolate;
  overflow:visible !important;
  background:
    linear-gradient(90deg,
      rgba(5,10,24,.92) 0%,
      rgba(5,10,24,.76) 38%,
      rgba(5,10,24,.48) 72%,
      rgba(5,10,24,.62) 100%
    ),
    var(--game-hero-bg) !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;

  /* mantém laterais/topo discretos, mas elimina a linha inferior */
  border-left:1px solid #2b3b63 !important;
  border-right:1px solid #2b3b63 !important;
  border-top:1px solid #2b3b63 !important;
  border-bottom:0 !important;
  border-radius:22px 22px 0 0 !important;
  box-shadow:none !important;
}

/* O fade continua para baixo e faz o bloco desaparecer no fundo da página. */
.game-page .game-hero::after{
  content:"";
  position:absolute;
  z-index:0;
  pointer-events:none;
  left:-1px;
  right:-1px;
  top:52%;
  bottom:-42px;
  background:linear-gradient(
    to bottom,
    rgba(7,14,29,0) 0%,
    rgba(7,14,29,.22) 30%,
    rgba(7,14,29,.68) 68%,
    var(--bg) 100%
  ) !important;
  border:0 !important;
}

/* Desliga completamente o antigo pseudo-elemento desfocado. */
.game-page .game-hero::before{
  content:none !important;
  display:none !important;
}

.game-page .game-hero > *{
  position:relative;
  z-index:1;
}

/* Espaço para o fade inferior não encostar na próxima seção. */
.game-page .game-hero + .game-tabs{
  margin-top:42px !important;
}


/* ===== CORREÇÃO: A PRÓPRIA IMAGEM SOME NO FINAL DO HERO ===== */
.game-page .game-hero{
  /* O fundo da página aparece por baixo do fade. */
  -webkit-mask-image:linear-gradient(
    to bottom,
    #000 0%,
    #000 72%,
    rgba(0,0,0,.92) 78%,
    rgba(0,0,0,.62) 88%,
    rgba(0,0,0,.22) 96%,
    transparent 100%
  ) !important;
  mask-image:linear-gradient(
    to bottom,
    #000 0%,
    #000 72%,
    rgba(0,0,0,.92) 78%,
    rgba(0,0,0,.62) 88%,
    rgba(0,0,0,.22) 96%,
    transparent 100%
  ) !important;
  border-bottom:0 !important;
}

/* Remove o overlay inferior antigo: agora o fade é aplicado ao hero inteiro,
   inclusive à imagem de fundo, eliminando o corte reto. */
.game-page .game-hero::after{
  background:linear-gradient(
    to bottom,
    transparent 0%,
    rgba(7,14,29,.10) 58%,
    rgba(7,14,29,.42) 78%,
    rgba(7,14,29,.82) 100%
  ) !important;
  bottom:0 !important;
}


/* ===== RETROHUB BR · PATREON ===== */
.patreon-card{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:16px;border:1px solid #3a3157;border-radius:14px;background:linear-gradient(135deg,#17162a,#11182c)}
.patreon-card h4{margin:0 0 5px;font-size:15px}.patreon-card p{margin:0;color:#9eabc7;font-size:12px;line-height:1.5}
.patreon-status{display:inline-flex;align-items:center;gap:7px;margin-top:9px;padding:6px 9px;border-radius:999px;background:#1c2643;color:#cbd5ea;font-size:11px;font-weight:900}
.patreon-status.active{background:rgba(54,217,139,.12);color:#74e6aa;border:1px solid rgba(54,217,139,.28)}
.patreon-connect{border:0;border-radius:10px;padding:11px 15px;background:#ff424d;color:#fff;font-weight:900;cursor:pointer;white-space:nowrap}
.patreon-connect.secondary{background:#202c49}.patreon-connect:disabled{opacity:.55;cursor:wait}
@media(max-width:620px){.patreon-card{grid-template-columns:1fr}.patreon-connect{width:100%}}


/* ===== APOIE · RETROHUB BR ===== */
.support-overlay{position:fixed;inset:0;z-index:10080;background:rgba(4,8,18,.82);backdrop-filter:blur(9px);display:none;align-items:center;justify-content:center;padding:20px}
.support-overlay.open{display:flex}
.support-page{width:min(760px,100%);max-height:90vh;overflow:auto;background:linear-gradient(180deg,#11182a,#0b1120);border:1px solid #283657;border-radius:22px;box-shadow:0 28px 90px rgba(0,0,0,.5);padding:30px}
.support-close{float:right;border:1px solid #33415f;background:#151e32;color:#fff;width:38px;height:38px;border-radius:10px;cursor:pointer;font-size:20px}
.support-kicker{font-size:12px;font-weight:900;letter-spacing:.12em;color:#ff6570;text-transform:uppercase}
.support-page h2{font-size:28px;margin:8px 0 10px;color:#fff}
.support-page>p{color:#aab5cf;line-height:1.65;margin:0 0 22px}
.support-box{padding:20px;border:1px solid #323d5c;border-radius:16px;background:#10182a}
.support-box h3{margin:0 0 7px;color:#fff}.support-box p{margin:0;color:#9eabc7;line-height:1.55;font-size:13px}
.support-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}
.support-patreon-btn{border:0;border-radius:11px;padding:12px 17px;background:#ff424d;color:#fff;font-weight:900;cursor:pointer}
.support-patreon-btn.secondary{background:#202c49}
.support-badge{display:inline-flex;margin-top:12px;padding:7px 10px;border-radius:999px;background:#1c2643;color:#cbd5ea;font-size:11px;font-weight:900}
.support-badge.active{background:rgba(54,217,139,.12);border:1px solid rgba(54,217,139,.28);color:#74e6aa}


/* APOIE no menu principal */
.nav-apoie{
  color:#ff424d !important;
  font-weight:900 !important;
}
.nav-apoie:hover{
  color:#ff6670 !important;
}


/* CORREÇÃO: APOIE alinhado ao lado de EMULADORES */
nav .nav-apoie,
.nav .nav-apoie,
.nav-links .nav-apoie,
.header-nav .nav-apoie,
.nav-apoie{
  display:inline-flex !important;
  width:auto !important;
  flex:0 0 auto !important;
  align-items:center !important;
  margin:0 !important;
  padding:0 !important;
  color:#ff424d !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}


/* APOIE como item próprio do menu, ao lado de EMULADORES */
.main-menu-item .main-menu-btn.nav-apoie{
  color:#ff424d !important;
  font-weight:900 !important;
}
.main-menu-item .main-menu-btn.nav-apoie:hover{
  color:#ff6670 !important;
}


/* ===== NOVA TELA APOIE ===== */
.support-page-premium{
  width:min(940px,96vw);
  padding:34px;
  border-radius:24px;
  background:
    radial-gradient(circle at 85% 0%,rgba(255,66,77,.13),transparent 32%),
    linear-gradient(180deg,#11192c 0%,#0b1221 100%);
  border:1px solid #2b3959;
}
.support-hero{max-width:760px;margin-bottom:25px}
.support-hero .support-kicker{color:#ff5a65;font-size:12px;font-weight:1000;letter-spacing:.14em}
.support-hero h2{font-size:31px;line-height:1.15;margin:9px 0 10px}
.support-hero h2 span{color:#37d989}
.support-hero p{font-size:14px;color:#aab5cf;line-height:1.65;margin:0}
.support-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}
.support-level{position:relative;min-height:158px;padding:18px;border:1px solid #2a3857;border-radius:16px;background:rgba(13,22,39,.86);display:flex;gap:13px;transition:.2s ease}
.support-level:hover{transform:translateY(-2px);border-color:#455678}
.support-level.featured{border-color:rgba(255,66,77,.55);box-shadow:inset 0 0 0 1px rgba(255,66,77,.08)}
.support-level-tag{position:absolute;right:12px;top:10px;font-size:9px;font-weight:1000;letter-spacing:.1em;color:#ff6972}
.support-medal{font-size:28px;line-height:1}
.support-level small{font-size:9px;color:#7f8da9;font-weight:1000;letter-spacing:.12em}
.support-level h3{font-size:16px;margin:4px 0 7px;color:#fff}
.support-level p{font-size:11px;line-height:1.5;color:#97a5c1;margin:0}
.support-connect-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border:1px solid #344361;border-radius:17px;background:linear-gradient(135deg,rgba(255,66,77,.07),rgba(16,25,43,.9))}
.support-connect-copy{display:flex;align-items:flex-start;gap:14px;min-width:0}
.support-connect-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#ff424d;color:#fff;display:grid;place-items:center;font-weight:1000;font-size:20px}
.support-connect-panel h3{margin:0 0 5px;font-size:16px;color:#fff}
.support-connect-panel p{margin:0;color:#9eabc7;font-size:12px;line-height:1.5}
.support-patreon-btn{padding:13px 18px;box-shadow:0 8px 24px rgba(255,66,77,.15)}
.support-note{text-align:center;color:#7785a3;font-size:10px;margin-top:14px}
@media(max-width:760px){
  .support-page-premium{padding:22px}
  .support-levels{grid-template-columns:1fr}
  .support-connect-panel{align-items:stretch;flex-direction:column}
  .support-patreon-btn{width:100%}
  .support-hero h2{font-size:25px}
}


/* ===== CORREÇÃO DO X DA JANELA APOIE ===== */
.support-close{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:40px !important;
  height:40px !important;
  padding:0 !important;
  line-height:1 !important;
  font-size:0 !important;
  border-radius:11px !important;
}
.support-close-x{
  position:relative;
  display:block;
  width:15px;
  height:15px;
}
.support-close-x::before,
.support-close-x::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:15px;
  height:2px;
  border-radius:999px;
  background:#fff;
  transform-origin:center;
}
.support-close-x::before{
  transform:translate(-50%,-50%) rotate(45deg);
}
.support-close-x::after{
  transform:translate(-50%,-50%) rotate(-45deg);
}
.support-close:hover{
  background:#1d2942 !important;
  border-color:#496083 !important;
}


/* ===== CABEÇALHO DAS PÁGINAS DE JOGOS ===== */
body.game-page .site-header .header-inner,
body.game-page header .header-inner,
.game-detail-page .site-header .header-inner,
.game-detail-page header .header-inner,
.game-page-header .header-inner{
  width:min(1274px,calc(100% - 40px)) !important;
  max-width:1274px !important;
  margin:0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:24px !important;
}

body.game-page .site-header .header-actions,
body.game-page header .header-actions,
.game-detail-page .site-header .header-actions,
.game-detail-page header .header-actions,
.game-page-header .header-actions{
  margin-left:auto !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}

/* Fallback para o cabeçalho compacto da página interna */
.game-detail-header,
.game-header-top{
  width:min(1274px,calc(100% - 40px)) !important;
  max-width:1274px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

.game-detail-header > :first-child,
.game-header-top > :first-child{
  margin-right:auto !important;
}

.game-detail-header .profile-button,
.game-detail-header .profile-btn,
.game-header-top .profile-button,
.game-header-top .profile-btn{
  margin-left:10px !important;
}

@media(max-width:700px){
  body.game-page .site-header .header-inner,
  body.game-page header .header-inner,
  .game-detail-page .site-header .header-inner,
  .game-detail-page header .header-inner,
  .game-page-header .header-inner,
  .game-detail-header,
  .game-header-top{
    width:calc(100% - 24px) !important;
  }
}


/* ===== CORREÇÃO DO SINO / NOTIFICAÇÕES ===== */
.notification-btn,
.notifications-btn,
.notification-button,
.bell-btn,
.header-bell,
#notificationBtn{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 42px !important;
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  min-height:42px !important;
  padding:0 !important;
  margin:0 !important;
  line-height:1 !important;
  border-radius:12px !important;
  overflow:visible !important;
}

.notification-btn svg,
.notifications-btn svg,
.notification-button svg,
.bell-btn svg,
.header-bell svg,
#notificationBtn svg{
  display:block !important;
  width:18px !important;
  height:18px !important;
  flex:none !important;
  margin:0 !important;
  transform:none !important;
}

/* contador fica preso no canto do sino */
.notification-btn .badge,
.notification-btn .notification-badge,
.notifications-btn .badge,
.notifications-btn .notification-badge,
.notification-button .badge,
.notification-button .notification-badge,
.bell-btn .badge,
.bell-btn .notification-badge,
.header-bell .badge,
.header-bell .notification-badge,
#notificationBtn .badge,
#notificationBtn .notification-badge{
  position:absolute !important;
  top:-5px !important;
  right:-5px !important;
  margin:0 !important;
  z-index:3 !important;
}

/* painel de notificações não deve ser deformado pelo layout do cabeçalho */
.notifications-panel,
.notification-panel,
.notifications-dropdown,
.notification-dropdown{
  width:min(380px,calc(100vw - 24px)) !important;
  max-width:380px !important;
  flex:none !important;
}


/* ===== NOTIFICAÇÕES SEMPRE ACIMA DO CONTEÚDO ===== */
.site-header,
header,
.header,
.topbar,
.header-inner,
.header-actions{
  overflow:visible !important;
}

/* O menu de mensagens deve sobrepor banner, perfil e página do jogo */
.notifications-panel,
.notification-panel,
.notifications-dropdown,
.notification-dropdown,
#notificationsPanel,
#notificationPanel{
  position:absolute !important;
  z-index:99999 !important;
  isolation:isolate;
}

/* O botão/contêiner do sino cria a referência correta para o dropdown */
.notification-btn,
.notifications-btn,
.notification-button,
.bell-btn,
.header-bell,
#notificationBtn{
  z-index:100001 !important;
}

.notification-wrapper,
.notifications-wrapper,
.notification-container,
.notifications-container{
  position:relative !important;
  z-index:100000 !important;
  overflow:visible !important;
}


/* ===== FIX DEFINITIVO: PAINEL "NOVAS MENSAGENS" ===== */
header{
  position:relative !important;
  z-index:50000 !important;
  overflow:visible !important;
}
header nav,
#topBar,
#messageNotifyWrap{
  overflow:visible !important;
}
#messageNotifyWrap{
  position:relative !important;
  z-index:50002 !important;
}
#messageBell{
  position:relative !important;
  z-index:50003 !important;
}
#messageNotifyPopover{
  position:fixed !important;
  z-index:2147483000 !important;
  width:350px !important;
  max-width:calc(100vw - 24px) !important;
  max-height:min(470px,calc(100vh - 90px)) !important;
  overflow:auto !important;
  margin:0 !important;
  transform:none !important;
  isolation:isolate !important;
  box-shadow:0 22px 70px rgba(0,0,0,.78) !important;
}


/* ===== CABEÇALHO CORRETO NAS PÁGINAS DOS JOGOS ===== */
.game-detail-header-fixed{
  width:min(1274px,calc(100% - 40px)) !important;
  max-width:1274px !important;
  margin:0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:0 !important;
}

.game-detail-header-fixed .game-header-brand{
  margin-right:auto !important;
  flex:0 0 auto !important;
}

.game-detail-header-fixed .game-header-account{
  margin-left:auto !important;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  flex:0 0 auto !important;
}

.game-detail-header-fixed #messageNotifyWrap{
  margin:0 !important;
  flex:0 0 auto !important;
}

.game-detail-header-fixed .profile-trigger,
.game-detail-header-fixed .profile-button,
.game-detail-header-fixed .profile-btn{
  margin:0 !important;
  flex:0 0 auto !important;
}

@media(max-width:700px){
  .game-detail-header-fixed{
    width:calc(100% - 24px) !important;
  }
}


/* ===== FIX DEFINITIVO: ABA APOIE ACIMA DE TODO O SITE ===== */
#supportOverlay.support-overlay,
.support-overlay{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100vh !important;
  z-index:2147483646 !important;
  isolation:isolate !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding:26px 16px !important;
  box-sizing:border-box !important;
  background:rgba(3,8,18,.82) !important;
  backdrop-filter:blur(8px) !important;
  -webkit-backdrop-filter:blur(8px) !important;
}

/* O card APOIE fica acima do fundo escurecido */
#supportOverlay .support-page,
#supportOverlay .support-page-premium{
  position:relative !important;
  z-index:2147483647 !important;
  margin:0 auto !important;
}

/* Enquanto APOIE estiver aberto, nenhum header/banner/menu pode passar por cima */
body.retrohub-support-open header,
body.retrohub-support-open .site-header,
body.retrohub-support-open .topbar,
body.retrohub-support-open #topBar,
body.retrohub-support-open #messageNotifyWrap,
body.retrohub-support-open #messageNotifyPopover{
  z-index:auto !important;
}

/* Evita rolagem da página por trás da janela */
body.retrohub-support-open{
  overflow:hidden !important;
}


/* Insígnias Patreon RetroHub BR */
.support-medal-image{width:92px;min-width:92px;height:92px;display:flex;align-items:center;justify-content:center;margin:-4px 0 0 -4px}
.support-medal-image img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 0 10px rgba(65,145,255,.18))}
.support-level:first-child .support-medal-image img{filter:drop-shadow(0 0 10px rgba(255,137,52,.22))}
.support-level:last-child .support-medal-image img{filter:drop-shadow(0 0 12px rgba(255,190,40,.25))}
@media(max-width:700px){.support-medal-image{width:76px;min-width:76px;height:76px}}


/* ===== BENEFÍCIOS DOS NÍVEIS RETROHUB ===== */
.support-tier-benefits{
  list-style:none;
  padding:0;
  margin:14px 0 0;
  display:grid;
  gap:8px;
}
.support-tier-benefits li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:#b8c3dc;
  font-size:13px;
  line-height:1.35;
}
.support-tier-benefits li::before{
  content:"✓";
  color:#35e6a1;
  font-weight:900;
  flex:0 0 auto;
}
.support-tier-note{
  margin-top:12px;
  color:#7f8daa;
  font-size:11px;
}


/* ===== PERFIL DE APOIADOR ===== */
.supporter-custom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.supporter-custom-grid label{display:grid;gap:6px;color:#aeb9d1;font-size:12px;font-weight:800}
.supporter-custom-grid select,.supporter-custom-grid input{width:100%;box-sizing:border-box;border:1px solid #34415f;background:#0c1428;color:#fff;border-radius:10px;padding:11px}
.supporter-custom-grid input[type=color]{height:43px;padding:5px}
.supporter-custom-grid small,.support-feature-hint{color:#7f8daa;font-size:10px;line-height:1.4}
.supporter-editor-tier{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:8px 11px;border:1px solid #33415f;border-radius:999px;background:#111b31;color:#b9c7e6;font-size:11px;font-weight:900}
.supporter-editor-tier.active{border-color:rgba(54,217,139,.35);color:#72e5aa;background:rgba(54,217,139,.08)}
.support-locked{opacity:.48;filter:saturate(.5);pointer-events:none}
.supporter-profile-badge{display:inline-flex;align-items:center;gap:8px;margin-top:8px;padding:5px 9px 5px 6px;border:1px solid color-mix(in srgb,var(--support-accent,#6b5cff) 45%,#33415f);border-radius:999px;background:rgba(9,16,31,.78);font-size:11px;font-weight:900;color:#fff}
.supporter-profile-badge img{width:27px;height:27px;object-fit:contain;filter:drop-shadow(0 0 7px color-mix(in srgb,var(--support-accent,#6b5cff) 55%,transparent))}
.profile-page.supporter-themed .profile-hero{border-color:color-mix(in srgb,var(--support-accent,#6b5cff) 55%,#26395f);box-shadow:0 0 32px color-mix(in srgb,var(--support-accent,#6b5cff) 18%,transparent)}
.profile-page.supporter-themed .profile-level{border-color:color-mix(in srgb,var(--support-accent,#6b5cff) 40%,#33415f)}
.profile-page-avatar.border-neon{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--support-accent,#6b5cff),0 0 25px var(--support-accent,#6b5cff)}
.profile-page-avatar.border-energy{box-shadow:0 0 0 3px var(--support-accent,#6b5cff),0 0 18px var(--support-accent,#6b5cff),0 0 38px color-mix(in srgb,var(--support-accent,#6b5cff) 65%,transparent)}
.profile-page-avatar.border-gold{box-shadow:0 0 0 3px #ffd45c,0 0 22px rgba(255,190,44,.65)}
.profile-page.effect-glow .profile-hero:after{content:"";position:absolute;inset:-1px;border-radius:20px;pointer-events:none;box-shadow:inset 0 0 45px color-mix(in srgb,var(--support-accent,#6b5cff) 22%,transparent)}
.profile-page.effect-pulse .profile-page-avatar{animation:supportPulse 2.2s ease-in-out infinite}
.profile-page.effect-particles .profile-hero:after{content:"✦  ·  ✧   ·  ✦   ·  ✧";position:absolute;right:28px;top:22px;color:var(--support-accent,#6b5cff);letter-spacing:13px;opacity:.55;pointer-events:none;animation:supportFloat 3s ease-in-out infinite}
@keyframes supportPulse{50%{filter:drop-shadow(0 0 13px var(--support-accent,#6b5cff))}}
@keyframes supportFloat{50%{transform:translateY(-7px);opacity:.85}}
@media(max-width:650px){.supporter-custom-grid{grid-template-columns:1fr}}

/* ===== BLOCO SEPARADO ===== */

/* ===== RETROHUB BR · AMIZADES V1 ===== */
.friends-page{max-width:1275px;margin:0 auto;padding:28px 0 60px}
.friends-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}
.friends-head h1{margin:0 0 5px;font-size:30px}.friends-head p{margin:0;color:#93a4c7}
.friends-search{display:flex;gap:10px;margin:18px 0 22px}
.friends-search input{flex:1;min-width:0;background:#0b1429;border:1px solid #26385e;color:#fff;border-radius:12px;padding:13px 15px;outline:none}
.friends-search input:focus{border-color:#6d75ff;box-shadow:0 0 0 3px rgba(109,117,255,.12)}
.friends-search button,.friend-action{border:0;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer;background:#6975ff;color:#fff}
.friend-action.secondary{background:#172542;color:#cbd7ef;border:1px solid #2d416b}
.friend-action.danger{background:#351827;color:#ffb0c4;border:1px solid #663047}
.friends-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.friends-tab{border:1px solid #26385e;background:#0b1429;color:#aebbd4;padding:9px 13px;border-radius:999px;font-weight:800;cursor:pointer}
.friends-tab.active{background:#1c2c55;color:#fff;border-color:#5369b2}
.friends-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:12px}
.friend-card{display:flex;align-items:center;gap:13px;background:linear-gradient(145deg,#0c162c,#091124);border:1px solid #22365c;border-radius:15px;padding:14px}
.friend-avatar{width:58px;height:58px;border-radius:12px;object-fit:cover;background:#fff;border:1px solid #344a75;flex:0 0 auto}
.friend-info{min-width:0;flex:1}.friend-info strong{display:block;color:#f6f8ff;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.friend-info small{display:block;color:#7f93bb;margin-top:4px}
.friend-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.friend-actions .friend-action{padding:7px 10px;font-size:12px}
.friend-status{font-size:12px;font-weight:800;color:#5ee6a8}.friend-status.pending{color:#f5c96b}
.friends-empty{grid-column:1/-1;padding:36px;text-align:center;border:1px dashed #2b3e64;border-radius:15px;color:#8799ba;background:#091225}
.friends-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 7px;border-radius:999px;background:#263963;color:#fff;font-size:11px;margin-left:5px}
@media(max-width:650px){.friends-head{align-items:flex-start;flex-direction:column}.friends-search{flex-direction:column}.friends-page{padding:18px 12px 50px}}

/* ===== BLOCO SEPARADO ===== */

/* ===== RETROHUB BR · AMIGOS DESIGN V2 ===== */
.friends-page{
  max-width:1240px !important;
  margin:0 auto !important;
  padding:34px 24px 70px !important;
}
.friends-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  margin-bottom:24px !important;
  padding-bottom:20px !important;
  border-bottom:1px solid rgba(91,112,160,.18);
}
.friends-title-row{display:flex;align-items:center;gap:14px}
.friends-title-icon{
  width:46px;height:46px;border-radius:14px;
  display:grid;place-items:center;font-size:22px;
  background:linear-gradient(145deg,#655cff,#8d5cff);
  box-shadow:0 10px 28px rgba(105,92,255,.22);
}
.friends-head h1{font-size:28px !important;line-height:1;margin:0 0 7px !important}
.friends-head p{font-size:14px !important;color:#7f91b5 !important;margin:0 !important}
.friends-summary{color:#a9b8d6;font-size:13px;margin-top:7px}
.friends-summary strong{color:#6ef0b1}
.friends-profile-btn{
  display:inline-flex;align-items:center;gap:9px;
  background:#111d36;border:1px solid #26395f;color:#dce6fb;
  padding:10px 14px;border-radius:11px;font-weight:800;cursor:pointer;
}
.friends-profile-btn:hover{background:#172644;border-color:#3d5587}
.friends-search{
  max-width:720px !important;
  margin:0 0 25px !important;
  position:relative;display:flex !important;gap:9px !important;
}
.friends-search-box{position:relative;flex:1}
.friends-search-icon{
  position:absolute;left:15px;top:50%;transform:translateY(-50%);
  color:#7185ad;font-size:16px;pointer-events:none
}
.friends-search input{
  width:100%;height:46px;padding:0 16px 0 43px !important;
  background:#0a1429 !important;border:1px solid #26395f !important;
  border-radius:12px !important;color:#fff !important;
}
.friends-search input:focus{
  border-color:#6e68ff !important;
  box-shadow:0 0 0 3px rgba(110,104,255,.12) !important
}
.friends-search button{
  height:46px;padding:0 19px !important;border-radius:11px !important;
  background:linear-gradient(135deg,#665cff,#786dff) !important;
  box-shadow:0 8px 20px rgba(102,92,255,.18)
}
.friends-tabs{
  display:flex !important;gap:24px !important;align-items:center;
  flex-wrap:wrap !important;margin:0 0 8px !important;
  border-bottom:1px solid #1c2a47;
}
.friends-tab{
  position:relative;border:0 !important;background:transparent !important;
  color:#7184aa !important;padding:13px 1px 14px !important;
  border-radius:0 !important;font-size:13px;font-weight:900 !important;
}
.friends-tab:hover{color:#c9d5ed !important}
.friends-tab.active{color:#fff !important}
.friends-tab.active:after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;
  border-radius:3px 3px 0 0;background:linear-gradient(90deg,#6a5cff,#9a64ff)
}
.friends-count{
  min-width:20px !important;height:20px !important;padding:0 6px !important;
  background:#25365a !important;font-size:10px !important
}
.friends-tab.active .friends-count{background:#675cff !important}
.friends-grid{
  display:block !important;
  background:#091225;border:1px solid #1d2c4b;border-radius:15px;
  overflow:hidden;margin-top:18px
}
.friend-card{
  display:grid !important;
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center !important;gap:14px !important;
  border:0 !important;border-bottom:1px solid rgba(55,76,118,.34) !important;
  border-radius:0 !important;background:transparent !important;
  padding:14px 17px !important;transition:.18s ease;
}
.friend-card:last-child{border-bottom:0 !important}
.friend-card:hover{background:#0d1930 !important}
.friend-avatar-wrap{position:relative;width:58px;height:58px}
.friend-avatar{
  width:58px !important;height:58px !important;border-radius:13px !important;
  border:1px solid #334a76 !important
}
.friend-online-dot{
  position:absolute;right:-2px;bottom:-2px;width:13px;height:13px;
  border-radius:50%;background:#45e49b;border:3px solid #091225
}
.friend-info strong{font-size:15px !important}
.friend-info small{font-size:12px;color:#7185aa !important;margin-top:4px !important}
.friend-meta{display:flex;gap:8px;align-items:center;margin-top:6px;font-size:11px;color:#60759d}
.friend-level{
  background:#172746;color:#aebfe1;border:1px solid #283d65;
  border-radius:999px;padding:3px 7px;font-weight:800
}
.friend-actions{justify-content:flex-end !important;margin:0 !important}
.friend-actions .friend-action{
  padding:8px 11px !important;border-radius:9px !important
}
.friend-action{background:#685fff !important}
.friend-action.secondary{background:#14213b !important;border:1px solid #2b416b !important}
.friend-action.danger{background:transparent !important;color:#9baac5 !important;border:1px solid #2b3a58 !important}
.friend-action.danger:hover{color:#ff9cb4 !important;border-color:#69344a !important;background:#251321 !important}
.friends-empty{
  min-height:235px;padding:45px 20px !important;border:0 !important;
  border-radius:0 !important;background:transparent !important;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  color:#7588ad !important
}
.friends-empty-icon{
  width:64px;height:64px;border-radius:18px;display:grid;place-items:center;
  font-size:28px;margin-bottom:15px;background:#101d36;border:1px solid #26395e
}
.friends-empty strong{font-size:16px;color:#cbd7ee;margin-bottom:6px}
.friends-empty span{font-size:13px;color:#7184a8;text-align:center}
.friends-error{color:#e6b1bd !important}
@media(max-width:720px){
  .friends-page{padding:20px 13px 50px !important}
  .friends-head{align-items:flex-start !important}
  .friends-title-icon{display:none}
  .friends-head p{max-width:230px}
  .friends-search{max-width:none !important;flex-direction:row !important}
  .friends-search button{padding:0 14px !important}
  .friends-tabs{gap:15px !important;overflow-x:auto;flex-wrap:nowrap !important}
  .friends-tab{white-space:nowrap}
  .friend-card{grid-template-columns:52px minmax(0,1fr) !important}
  .friend-avatar-wrap,.friend-avatar{width:52px !important;height:52px !important}
  .friend-actions{grid-column:1/-1;justify-content:flex-start !important;padding-left:66px}
}

/* ===== BLOCO SEPARADO ===== */

/* ===== RETROHUB BR · PERFIL PÚBLICO DE AMIGO ===== */
.public-profile-page{max-width:1240px;margin:0 auto;padding:30px 24px 70px}
.public-profile-back{margin-bottom:15px;background:transparent;border:0;color:#8fa4cc;font-weight:800;cursor:pointer;padding:7px 0}
.public-profile-back:hover{color:#fff}
.public-profile-hero{position:relative;min-height:255px;border:1px solid #26395f;border-radius:20px;overflow:hidden;background:linear-gradient(135deg,#111d38,#091225)}
.public-profile-cover{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(5,10,24,.08),rgba(5,10,24,.92)),var(--public-cover);background-size:cover;background-position:center}
.public-profile-content{position:relative;z-index:1;min-height:255px;display:flex;align-items:flex-end;gap:20px;padding:30px}
.public-profile-avatar{width:112px;height:112px;border-radius:20px;object-fit:cover;background:#101a30;border:3px solid #7180ff;box-shadow:0 12px 30px #0008}
.public-profile-main{min-width:0;flex:1}.public-profile-main h1{font-size:30px;margin:0 0 6px;color:#fff}.public-profile-handle{color:#93a7ce;font-size:14px}
.public-profile-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.public-profile-tag{padding:6px 10px;border-radius:999px;background:#142442;border:1px solid #2b416b;color:#b9c8e4;font-size:12px;font-weight:800}
.public-profile-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.public-profile-grid{display:grid;grid-template-columns:1.6fr .9fr;gap:16px;margin-top:16px}
.public-profile-panel{background:#091225;border:1px solid #1e2e4e;border-radius:16px;padding:20px}
.public-profile-panel h2{font-size:16px;margin:0 0 16px}
.public-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.public-profile-stat{background:#0d1930;border:1px solid #1f3153;border-radius:13px;padding:16px}.public-profile-stat strong{display:block;font-size:22px;color:#fff}.public-profile-stat span{font-size:11px;color:#7488ae}
.public-profile-about{display:grid;gap:11px}.public-profile-row{display:flex;justify-content:space-between;gap:15px;padding-bottom:10px;border-bottom:1px solid #172642;color:#7f93b8;font-size:13px}.public-profile-row:last-child{border-bottom:0;padding-bottom:0}.public-profile-row strong{color:#dce5f7;text-align:right}
.friend-card .friend-avatar-wrap,.friend-card .friend-info strong{cursor:pointer}
.friend-card .friend-avatar-wrap:hover .friend-avatar{border-color:#756cff !important;box-shadow:0 0 0 3px rgba(117,108,255,.12)}
.friend-card .friend-info strong:hover{color:#8d87ff}
@media(max-width:760px){.public-profile-page{padding:18px 12px 50px}.public-profile-content{align-items:flex-start;flex-direction:column;justify-content:flex-end}.public-profile-avatar{width:90px;height:90px}.public-profile-actions{width:100%}.public-profile-grid{grid-template-columns:1fr}.public-profile-stats{grid-template-columns:1fr 1fr}.public-profile-main h1{font-size:25px}}

/* ===== BLOCO SEPARADO ===== */

.chat-page{max-width:1180px;margin:0 auto;padding:28px 22px 60px}
.chat-shell{height:min(720px,calc(100vh - 150px));min-height:560px;background:#081226;border:1px solid #22365c;border-radius:20px;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;box-shadow:0 20px 55px #0005}
.chat-head{display:flex;align-items:center;gap:13px;padding:15px 18px;border-bottom:1px solid #1e3154;background:#0b1730}
.chat-head img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #6674ff}
.chat-head-info{min-width:0;flex:1}.chat-head-info strong{display:block;font-size:17px;color:#fff}.chat-head-info small{color:#82a6e8}
.chat-back,.chat-profile{border:1px solid #294269;background:#101e39;color:#dbe8ff;border-radius:11px;padding:10px 13px;font-weight:800;cursor:pointer}
.chat-back:hover,.chat-profile:hover{background:#17294a}
.chat-messages{overflow-y:auto;padding:22px;display:flex;flex-direction:column;gap:10px;background:radial-gradient(circle at 50% 0,#102044 0,#071022 48%,#060d1c 100%)}
.chat-empty{margin:auto;text-align:center;color:#7795ca;max-width:420px}.chat-empty b{display:block;color:#dce8ff;font-size:18px;margin-bottom:7px}
.chat-row{display:flex}.chat-row.mine{justify-content:flex-end}.chat-bubble{max-width:min(70%,620px);padding:10px 13px;border-radius:15px 15px 15px 5px;background:#142440;border:1px solid #263e68;color:#edf4ff;line-height:1.42;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-row.mine .chat-bubble{background:linear-gradient(135deg,#5967ed,#6f62f5);border-color:#7c82ff;border-radius:15px 15px 5px 15px;color:#fff}
.chat-time{display:block;margin-top:5px;font-size:10px;opacity:.68;text-align:right}
.chat-compose{display:flex;gap:10px;padding:14px;border-top:1px solid #1e3154;background:#0b1730}
.chat-compose textarea{flex:1;resize:none;min-height:46px;max-height:120px;border:1px solid #294269;background:#071226;color:#fff;border-radius:13px;padding:12px 14px;font:inherit;outline:none}
.chat-compose textarea:focus{border-color:#6c73ff;box-shadow:0 0 0 3px #6c73ff1c}
.chat-send{min-width:110px;border:0;border-radius:12px;background:linear-gradient(135deg,#6672ff,#765cff);color:#fff;font-weight:900;cursor:pointer;padding:0 18px}.chat-send:hover{filter:brightness(1.08)}
.friend-chat-btn{border:1px solid #5265d9;background:#17265a;color:#dfe5ff;border-radius:10px;padding:9px 12px;font-weight:800;cursor:pointer}.friend-chat-btn:hover{background:#253a83}
@media(max-width:700px){.chat-page{padding:12px}.chat-shell{height:calc(100vh - 100px);min-height:500px;border-radius:14px}.chat-profile{display:none}.chat-messages{padding:14px}.chat-bubble{max-width:86%}.chat-send{min-width:76px}.chat-compose{padding:10px}}

/* ===== BLOCO SEPARADO ===== */

.message-notify-wrap{position:relative;display:none}
.message-notify-wrap.show{display:block}
.message-bell{position:relative;width:43px;height:43px;border:1px solid #2a3d63;border-radius:11px;background:#111c33;color:#aab8d2;display:grid;place-items:center;cursor:pointer;font-size:18px}
.message-bell:hover,.message-bell.active{background:#192844;color:#fff;border-color:#445f96}
.message-badge{position:absolute;right:-6px;top:-7px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ff4f73;color:#fff;border:2px solid #081122;display:none;align-items:center;justify-content:center;font-size:10px;font-weight:900}
.message-badge.show{display:flex}
.message-popover{position:absolute;right:0;top:52px;width:350px;max-height:470px;overflow:auto;background:#0a1428;border:1px solid #293d64;border-radius:15px;box-shadow:0 22px 60px #000a;z-index:10000;display:none}
.message-popover.show{display:block}
.message-pop-head{padding:14px 15px;border-bottom:1px solid #1d2e4e;color:#fff;font-weight:900}
.message-notice{display:grid;grid-template-columns:46px 1fr auto;gap:11px;align-items:center;padding:12px 14px;border-bottom:1px solid #172744;cursor:pointer}
.message-notice:hover{background:#101e38}.message-notice:last-child{border-bottom:0}
.message-notice img{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid #5367c7}
.message-notice strong{display:block;color:#f1f5ff;font-size:13px}.message-notice span{display:block;color:#879abd;font-size:12px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:205px}
.message-notice-count{min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#6370ff;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:900}
.message-pop-empty{padding:28px 18px;text-align:center;color:#7588aa;font-size:13px}
@media(max-width:600px){.message-popover{position:fixed;left:12px;right:12px;top:70px;width:auto}}

/* ===== BLOCO SEPARADO ===== */

/* ===== HEADER V7 · alinhamento e sino mais discreto ===== */
#topBar{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
}
#topBar .logo{
  flex:0 0 auto !important;
  white-space:nowrap;
}
#topBar .search-wrap{
  flex:1 1 auto !important;
  min-width:180px !important;
  margin:0 !important;
}
#messageNotifyWrap{
  flex:0 0 auto !important;
  align-self:center !important;
  margin:0 !important;
  line-height:1;
}
#messageNotifyWrap.show{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
#messageBell{
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  padding:0 !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:12px !important;
  background:#101b31 !important;
  border:1px solid #2a4069 !important;
  color:#94a5c4 !important;
  font-size:0 !important;
  line-height:1 !important;
}
#messageBell::before{
  content:"";
  width:18px;
  height:18px;
  display:block;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 22a2.5 2.5 0 0 0 2.35-1.65h-4.7A2.5 2.5 0 0 0 12 22Zm7-6.5-1.7-2.05V9a5.3 5.3 0 0 0-4.3-5.2V3a1 1 0 1 0-2 0v.8A5.3 5.3 0 0 0 6.7 9v4.45L5 15.5V18h14v-2.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 22a2.5 2.5 0 0 0 2.35-1.65h-4.7A2.5 2.5 0 0 0 12 22Zm7-6.5-1.7-2.05V9a5.3 5.3 0 0 0-4.3-5.2V3a1 1 0 1 0-2 0v.8A5.3 5.3 0 0 0-4.3 5.2v4.45L5 15.5V18h14v-2.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
#messageBell:hover,#messageBell.active{
  color:#dce6fa !important;
  background:#172641 !important;
  border-color:#415d91 !important;
}
#messageNotifyBadge{
  right:-5px !important;
  top:-6px !important;
  border-color:#0b1427 !important;
}
#accountButton{
  flex:0 0 auto !important;
  margin:0 !important;
  align-self:center !important;
}
#socialX{
  flex:0 0 auto !important;
  margin:0 !important;
  align-self:center !important;
}
#messageNotifyPopover{
  top:52px !important;
}
@media(max-width:760px){
  #topBar{gap:8px !important}
  #messageBell{width:40px !important;height:40px !important;min-width:40px !important}
}

/* ===== BLOCO SEPARADO ===== */

/* ===== RETROHUB BR · CHAT FLUTUANTE V8 ===== */
.retrohub-chat-float{
  position:fixed;right:22px;bottom:22px;width:380px;height:540px;
  max-height:calc(100vh - 105px);z-index:12000;
  display:none;grid-template-rows:auto 1fr auto;
  background:#091327;border:1px solid #2a416c;border-radius:17px;
  overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.72);
}
.retrohub-chat-float.show{display:grid;animation:rhChatIn .18s ease-out}
@keyframes rhChatIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.retrohub-chat-float-head{
  display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;
  gap:10px;padding:12px 13px;background:#0d1a34;border-bottom:1px solid #20365b;
}
.retrohub-chat-float-head img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid #6474ff}
.retrohub-chat-float-user{min-width:0;cursor:pointer}
.retrohub-chat-float-user strong{display:block;color:#fff;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.retrohub-chat-float-user small{display:block;color:#55dda0;font-size:11px;margin-top:2px}
.retrohub-chat-float-tools{display:flex;gap:5px}
.retrohub-chat-icon-btn{width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:#91a4c7;display:grid;place-items:center;cursor:pointer;font-size:18px}
.retrohub-chat-icon-btn:hover{background:#172947;color:#fff}
.retrohub-chat-float .chat-messages{
  padding:14px !important;gap:8px !important;min-height:0;
  background:radial-gradient(circle at 50% 0,#102044 0,#071022 55%,#060d1c 100%) !important
}
.retrohub-chat-float .chat-bubble{max-width:82%;font-size:13px;padding:9px 11px}
.retrohub-chat-float .chat-compose{padding:10px !important;gap:8px !important}
.retrohub-chat-float .chat-compose textarea{min-height:42px;font-size:13px;padding:10px 11px}
.retrohub-chat-float .chat-send{min-width:68px;padding:0 12px;font-size:12px}
@media(max-width:600px){
  .retrohub-chat-float{left:10px;right:10px;bottom:10px;width:auto;height:min(560px,calc(100vh - 90px));max-height:none}
}

/* ===== BLOCO SEPARADO ===== */

/* ===== AMIGOS V9 · card mais compacto e organizado ===== */
.friends-grid{
  border:0 !important;
  background:transparent !important;
  border-radius:0 !important;
  overflow:visible !important;
}
.friend-card{
  display:grid !important;
  grid-template-columns:64px minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:16px !important;
  min-height:94px !important;
  padding:14px 18px !important;
  margin-bottom:10px !important;
  background:linear-gradient(135deg,#0b162b,#091326) !important;
  border:1px solid #20375e !important;
  border-radius:15px !important;
  transition:border-color .18s ease,background .18s ease,transform .18s ease !important;
}
.friend-card:hover{
  background:linear-gradient(135deg,#0e1b34,#0a162b) !important;
  border-color:#304d7f !important;
  transform:translateY(-1px);
}
.friend-avatar-wrap,.friend-avatar{
  width:64px !important;height:64px !important;
}
.friend-avatar{
  border-radius:14px !important;
  border:1px solid #40598d !important;
}
.friend-online-dot{
  width:13px !important;height:13px !important;
  right:-2px !important;bottom:-2px !important;
  border:3px solid #0b162b !important;
}
.friend-info{min-width:0 !important}
.friend-info strong{
  font-size:16px !important;
  margin:0 0 5px !important;
}
.friend-info small{
  margin:0 0 7px !important;
  font-size:12px !important;
}
.friend-meta{
  margin:0 !important;
  gap:9px !important;
  align-items:center !important;
}
.friend-level{
  padding:3px 8px !important;
  background:#142a50 !important;
  border-color:#284976 !important;
  color:#b8ccf2 !important;
}
.friend-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  flex-wrap:nowrap !important;
  padding-left:18px;
}
.friend-chat-btn{
  height:40px !important;
  padding:0 15px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  background:#17275a !important;
  border:1px solid #5369df !important;
  border-radius:10px !important;
  color:#f2f5ff !important;
  white-space:nowrap;
}
.friend-status{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px;
  white-space:nowrap;
  color:#55e6a4 !important;
  font-size:12px !important;
}
.friend-status::before{
  content:"";
  width:7px;height:7px;border-radius:50%;
  background:#43e49b;
}
.friend-actions .friend-action.danger{
  height:40px !important;
  padding:0 13px !important;
  white-space:nowrap;
  color:#8fa2c5 !important;
  background:#0c172a !important;
  border-color:#293d62 !important;
}
.friend-actions .friend-action.danger:hover{
  color:#ff9cb4 !important;
  background:#261521 !important;
  border-color:#6b344b !important;
}
@media(max-width:760px){
  .friend-card{
    grid-template-columns:56px minmax(0,1fr) !important;
    gap:12px !important;padding:13px !important;
  }
  .friend-avatar-wrap,.friend-avatar{width:56px !important;height:56px !important}
  .friend-actions{
    grid-column:1/-1 !important;
    padding:9px 0 0 68px !important;
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
  }
}

/* ===== BLOCO SEPARADO ===== */

.retrohub-badge-icon-img{width:100%;height:100%;display:block;object-fit:contain;border-radius:9px}

/* ===== BLOCO SEPARADO ===== */

/* Insígnias RetroHub: ícones maiores */
.rh-badge-icon{
  width:58px !important;
  height:58px !important;
  min-width:58px !important;
  flex:0 0 58px !important;
  padding:4px !important;
  border-radius:13px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.rh-badge-icon .retrohub-badge-icon-img,
.rh-badge-icon > img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  border-radius:10px !important;
}
@media(max-width:600px){
  .rh-badge-icon{
    width:54px !important;
    height:54px !important;
    min-width:54px !important;
    flex-basis:54px !important;
  }
}

/* ===== BLOCO SEPARADO ===== */

#accountModal .account-card:has(#profileView:not([hidden])){width:min(1120px,96vw)!important;max-height:96vh!important;padding:0!important;overflow:auto!important;border-radius:22px!important;background:#071121!important;border:1px solid #284364!important;box-shadow:0 30px 90px #000b!important}.rhx-editor{color:#eef5ff}.rhx-titlebar{height:78px;display:flex;align-items:center;gap:14px;padding:0 20px;border-bottom:1px solid #203653;background:linear-gradient(180deg,#0b182b,#081425)}.rhx-title-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:28px;background:linear-gradient(145deg,#233b77,#673c9a);box-shadow:0 0 24px #704cff55}.rhx-titlebar h2{margin:0;font-size:25px}.rhx-titlebar p{margin:3px 0 0;color:#a9b7d1;font-size:12px}.rhx-hero{height:205px;margin:0 18px;position:relative;overflow:hidden;border:1px solid #314e7a;border-radius:0 0 18px 18px;background:#071426}.rhx-hero-bg{position:absolute;inset:0;background:linear-gradient(100deg,#07101d 0 35%,transparent 70%),linear-gradient(135deg,#153c70,#3d1c66);background-position:center;background-size:cover}.rhx-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,8,17,.8),rgba(2,8,17,.12) 65%,rgba(2,8,17,.32))}.rhx-avatar-wrap{position:absolute;left:34px;bottom:30px}.rhx-avatar-wrap .profile-avatar{width:112px!important;height:112px!important;border-radius:50%!important;border:4px solid #169cff!important;outline:2px solid #7b55ff;box-shadow:0 0 24px #0bd8ff55}.rhx-avatar-camera{position:absolute;right:-4px;bottom:-4px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#191d45;border:2px solid #9366ff;cursor:pointer}.rhx-hero-user{position:absolute;left:172px;bottom:47px}.rhx-hero-user .profile-username{font-size:25px!important;font-weight:900}.rhx-ra,.rhx-member{color:#b5c3dc;font-size:12px;margin-top:6px}.rhx-cover-button{position:absolute;right:24px;bottom:28px;padding:12px 19px;border:1px solid #805cff;border-radius:14px;background:#15163a;color:white;font-weight:800;cursor:pointer}.rhx-tabs{display:grid;grid-template-columns:repeat(4,1fr);width:min(700px,calc(100% - 36px));margin:18px 18px 0;border:1px solid #253b5b;border-radius:13px;overflow:hidden}.rhx-tab{height:54px;border:0;border-right:1px solid #223753;background:#0b1729;color:#cbd7eb;font-weight:800;cursor:pointer}.rhx-tab.active{background:linear-gradient(180deg,#28376c,#20265b);color:#fff;box-shadow:inset 0 -3px #8b5cff}.rhx-form{padding:16px 18px 0!important}.rhx-main-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.rhx-card{margin:0!important;padding:18px!important;border-radius:15px!important;border:1px solid #294464!important;background:linear-gradient(145deg,#0c1b30,#091527)!important}.rhx-card .profile-editor-section-head{margin-bottom:16px!important}.rhx-card .profile-editor-section-icon{width:38px!important;height:38px!important;border-radius:11px!important;background:#152c52!important}.rhx-card input,.rhx-card select{min-height:44px!important;background:#071426!important;border:1px solid #315077!important;border-radius:10px!important;color:#fff!important}.profile-editor-fields{grid-template-columns:1fr!important}.rhx-support-card{background:linear-gradient(135deg,#32173d,#542044 55%,#241a4e)!important;border-color:#8b3d83!important}.supporter-editor-tier{padding:12px!important;border-radius:10px!important;background:#18375a!important;border:1px solid #43698d!important;font-weight:900}.rhx-support-copy{font-size:11px;color:#c5cce0;margin-top:10px}.rhx-cover-card .profile-editor-wallpaper{height:128px!important;border-radius:12px!important;background-size:cover!important;background-position:center!important}.rhx-custom-card .supporter-custom-grid{grid-template-columns:1fr 1fr!important}.rhx-effect-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rhx-rings{display:flex;gap:12px;margin:13px 0 7px}.rhx-ring{width:46px;height:46px;border-radius:50%;background:#071426;border:6px solid #2ba7ff;cursor:pointer;box-shadow:0 0 13px #29a7ff66}.ring-gold{border-color:#ffb52d}.ring-red{border-color:#ff4f69}.ring-purple{border-color:#8d62ff}.rhx-ring.selected{outline:3px solid white;outline-offset:3px}.rhx-hidden-select{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}.rhx-highlights{grid-column:1/-1}.profile-highlight-editor-list{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:12px!important}.profile-highlight-editor-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;min-height:145px;padding:14px!important;border:1px solid #294464!important;border-radius:13px!important;background:#09172a!important}.profile-highlight-editor-row select{margin-top:auto!important;width:100%!important}.profile-editor-choice-preview{display:none!important}.rhx-footer{grid-column:1/-1;position:sticky!important;bottom:0!important;z-index:5;display:grid!important;grid-template-columns:1fr auto 255px;gap:12px;align-items:center;margin:16px -18px 0!important;padding:16px 18px!important;background:#071121ee!important;border-top:1px solid #203a59!important;backdrop-filter:blur(14px)}.rhx-brand{display:flex;flex-direction:column}.rhx-brand b{font-size:20px}.rhx-brand b span{color:#26e883}.rhx-brand small{font-size:9px;color:#8fa2c0}.rhx-cancel{height:48px;padding:0 22px;border:1px solid #315478;border-radius:12px;background:#081629;color:#fff;font-weight:800}.rhx-footer .account-primary{height:48px!important;border-radius:12px!important;background:linear-gradient(90deg,#5c4cff,#765cff)!important}.profile-editor-logout{display:none!important}@media(max-width:760px){.rhx-main-grid{grid-template-columns:1fr}.rhx-highlights{grid-column:auto}.profile-highlight-editor-list{grid-template-columns:1fr!important}.rhx-tabs{grid-template-columns:repeat(2,1fr)}.rhx-custom-card .supporter-custom-grid,.rhx-effect-grid{grid-template-columns:1fr!important}.rhx-footer{grid-template-columns:1fr 1fr}.rhx-brand{display:none}}

/* ===== BLOCO SEPARADO ===== */

/* Mais espaço entre o título "Efeito do perfil" e o seletor */
.rhx-effect-grid > label {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
}
.rhx-effect-grid > label > select#profileEffect {
  margin-top: 3px !important;
}

/* ===== BLOCO SEPARADO ===== */

/* Centraliza perfeitamente o ícone da câmera */
.rhx-avatar-camera{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  line-height:1 !important;
  text-align:center !important;
  font-size:16px !important;
}

/* ===== BLOCO SEPARADO ===== */

.rhx-avatar-camera{
  position:absolute !important;
  right:-4px !important;
  bottom:-4px !important;
  width:38px !important;
  height:38px !important;
  box-sizing:border-box !important;
  padding:0 !important;
  display:grid !important;
  place-items:center !important;
  line-height:0 !important;
}
.rhx-camera-icon{
  position:relative !important;
  display:block !important;
  width:17px !important;
  height:12px !important;
  box-sizing:border-box !important;
  border:2px solid #fff !important;
  border-radius:3px !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
}
.rhx-camera-icon::before{
  content:"" !important;
  position:absolute !important;
  width:7px !important;
  height:7px !important;
  left:50% !important;
  top:50% !important;
  transform:translate(-50%,-50%) !important;
  border:2px solid #fff !important;
  border-radius:50% !important;
  box-sizing:border-box !important;
}
.rhx-camera-icon::after{
  content:"" !important;
  position:absolute !important;
  width:7px !important;
  height:3px !important;
  left:2px !important;
  top:-5px !important;
  background:#fff !important;
  border-radius:2px 2px 0 0 !important;
}

/* ===== BLOCO SEPARADO ===== */

/* Friends page — visual redesign, existing functionality preserved */
#friendsPage{
  max-width:1460px!important;
  margin:0 auto!important;
  padding:34px 34px 70px!important;
  color:#eef5ff;
}
#friendsPage .friends-page-head{
  position:relative!important;
  min-height:150px!important;
  padding:28px 30px!important;
  overflow:hidden!important;
  border-bottom:1px solid #203a5c!important;
  background:
    radial-gradient(circle at 65% 30%,rgba(38,110,190,.22),transparent 34%),
    linear-gradient(100deg,#071223 0%,#08172a 54%,#06111f 100%)!important;
}
#friendsPage .friends-page-head:after{
  content:"JOGOS QUE MARCAM GERAÇÕES";
  position:absolute;right:155px;top:48px;
  width:190px;color:#2587d8;font-size:20px;font-weight:900;
  line-height:1.05;letter-spacing:1px;transform:rotate(-4deg);opacity:.42;
  pointer-events:none
}
#friendsPage .friends-page-title-icon{
  width:76px!important;height:76px!important;border-radius:18px!important;
  font-size:34px!important;background:linear-gradient(145deg,#6347ff,#8a45ff)!important;
  box-shadow:0 10px 28px rgba(109,69,255,.28)!important
}
#friendsPage .friends-page-head h1{font-size:36px!important;letter-spacing:-.7px!important}
#friendsPage .friends-page-head p{font-size:17px!important;color:#94add0!important}
#friendsPage .friends-count{font-size:14px!important}
#friendsPage .friends-back-btn{
  position:absolute!important;right:28px!important;top:24px!important;
  min-height:48px!important;padding:0 20px!important;border-radius:12px!important;
  border:1px solid #29496f!important;background:#09172a!important;color:#f2f6ff!important;
  font-weight:800!important
}

/* Search row */
#friendsPage .friends-search-wrap{
  margin:34px 0 26px!important;
  display:grid!important;
  grid-template-columns:minmax(340px,620px) 150px minmax(150px,200px) minmax(180px,230px)!important;
  gap:12px!important;align-items:stretch!important
}
#friendsPage .friends-search-wrap input{
  height:58px!important;border-radius:13px!important;
  border:1px solid #24486f!important;background:#07162a!important;
  color:#fff!important;font-size:15px!important;padding-left:48px!important
}
#friendsPage .friends-search-wrap button{
  min-height:58px!important;border-radius:13px!important;
  background:linear-gradient(135deg,#5d4bff,#7857ff)!important;
  box-shadow:0 8px 24px rgba(102,79,255,.18)!important
}

/* Tabs */
#friendsPage .friends-tabs{
  display:flex!important;gap:18px!important;margin:0 0 24px!important;
  padding:10px 0 18px!important;border-bottom:1px solid #203a5c!important
}
#friendsPage .friends-tab{
  min-height:48px!important;padding:0 22px!important;border:1px solid #1d395b!important;
  border-radius:13px!important;background:#081629!important;color:#8eabd4!important;
  font-weight:800!important
}
#friendsPage .friends-tab.active{
  color:#fff!important;border-color:#8c54ff!important;
  background:linear-gradient(145deg,#171b3d,#121c3d)!important;
  box-shadow:0 0 0 1px #8c54ff inset,0 0 18px rgba(132,73,255,.15)!important
}

/* Friend cards */
#friendsPage .friend-card{
  min-height:138px!important;padding:22px 24px!important;margin-bottom:14px!important;
  border:1px solid #1d5484!important;border-radius:16px!important;
  background:linear-gradient(100deg,#08182d,#071426)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.12)!important
}
#friendsPage .friend-card img,
#friendsPage .friend-avatar{
  width:78px!important;height:78px!important;border-radius:14px!important;
  border:1px solid #3d6192!important;object-fit:cover!important
}
#friendsPage .friend-name{font-size:20px!important;font-weight:900!important}
#friendsPage .friend-card button{
  min-height:48px!important;border-radius:12px!important;font-weight:800!important
}

/* Enhance known action buttons without changing handlers */
#friendsPage button[onclick*="chat" i],
#friendsPage button[onclick*="message" i]{
  background:linear-gradient(135deg,#4337ce,#6249ff)!important;
  border:1px solid #796bff!important;color:white!important
}
#friendsPage button[onclick*="remove" i]{
  background:#10172a!important;border:1px solid #ff405d!important;color:#ff6278!important
}

/* Extra visual controls are intentionally display-only; existing search remains authoritative. */
#friendsPage .rh-friends-tools{
  display:flex;gap:12px;align-items:center;margin:-84px 0 26px auto;width:max-content;
  pointer-events:none
}
#friendsPage .rh-tool{
  min-width:170px;height:58px;padding:8px 14px;border:1px solid #285a8b;border-radius:13px;
  background:#07162a;color:#dce8fa;display:flex;flex-direction:column;justify-content:center;
  font-size:12px
}
#friendsPage .rh-tool b{font-size:14px;margin-top:3px;color:#fff}
#friendsPage .rh-view{min-width:100px;flex-direction:row;gap:16px;align-items:center;font-size:22px}

@media(max-width:1050px){
  #friendsPage .friends-search-wrap{grid-template-columns:1fr 150px!important}
  #friendsPage .rh-friends-tools{display:none}
}
@media(max-width:700px){
  #friendsPage{padding:16px 12px 50px!important}
  #friendsPage .friends-page-head{min-height:175px!important;padding:20px!important}
  #friendsPage .friends-page-head:after{display:none}
  #friendsPage .friends-page-head h1{font-size:28px!important}
  #friendsPage .friends-search-wrap{grid-template-columns:1fr!important}
  #friendsPage .friends-tabs{overflow-x:auto!important;gap:8px!important}
  #friendsPage .friends-tab{white-space:nowrap!important}
  #friendsPage .friend-card{padding:16px!important}
}

/* ===== BLOCO SEPARADO ===== */

.friends-page{max-width:1460px!important;margin:0 auto!important;padding:0 34px 70px!important;color:#eef5ff}
.friends-head{position:relative!important;min-height:175px!important;margin:0 0 32px!important;padding:34px 30px!important;align-items:flex-start!important;overflow:hidden!important;border-bottom:1px solid #203a5c!important;background:radial-gradient(circle at 66% 35%,rgba(36,107,188,.28),transparent 31%),linear-gradient(100deg,#071223,#08182b 55%,#06111f)!important}
.friends-head:after{content:"JOGOS\A QUE MARCAM\A GERAÇÕES";white-space:pre;position:absolute;right:165px;top:44px;color:#2788d5;font-size:22px;font-weight:900;line-height:1.02;transform:rotate(-5deg);opacity:.38;pointer-events:none}
.friends-title-row{position:relative;z-index:2!important;align-items:center!important}
.friends-title-icon{width:76px!important;height:76px!important;border-radius:18px!important;font-size:34px!important;background:linear-gradient(145deg,#6347ff,#8a45ff)!important;box-shadow:0 10px 28px rgba(109,69,255,.28)!important}
.friends-head h1{font-size:38px!important;letter-spacing:-.8px!important;margin-bottom:8px!important}
.friends-head p{font-size:18px!important;color:#91a9ce!important}
.friends-summary{font-size:15px!important;margin-top:9px!important}
.friends-profile-btn{position:absolute!important;right:28px!important;top:28px!important;z-index:3;min-height:50px!important;padding:0 22px!important;border-radius:12px!important;border:1px solid #29496f!important;background:#09172a!important;color:#f2f6ff!important;font-weight:900!important}

.friends-search{display:grid!important;grid-template-columns:minmax(360px,620px) 160px!important;gap:12px!important;margin:0 0 28px!important;max-width:800px!important}
.friends-search-box{height:60px!important;border-radius:14px!important;border:1px solid #24486f!important;background:#07162a!important}
.friends-search-box input{height:100%!important;font-size:16px!important;padding-left:52px!important}
.friends-search-icon{font-size:24px!important;left:18px!important;color:#78a8ef!important}
.friends-search>button{height:60px!important;border-radius:14px!important;font-size:16px!important;background:linear-gradient(135deg,#5d4bff,#7857ff)!important;box-shadow:0 8px 24px rgba(102,79,255,.2)!important}

.friends-tabs{display:flex!important;gap:18px!important;margin:0 0 26px!important;padding:12px 0 20px!important;border-bottom:1px solid #203a5c!important}
.friends-tab{min-height:54px!important;padding:0 25px!important;border:1px solid #1d395b!important;border-radius:14px!important;background:#081629!important;color:#91add7!important;font-size:15px!important}
.friends-tab.active{color:#fff!important;border-color:#8c54ff!important;background:linear-gradient(145deg,#171b3d,#121c3d)!important;box-shadow:0 0 0 1px #8c54ff inset,0 0 20px rgba(132,73,255,.16)!important}
.friends-count{background:#174873!important}

.friends-grid{display:block!important;background:transparent!important;border:0!important;margin-top:0!important}
.friend-card{display:grid!important;grid-template-columns:78px minmax(0,1fr) auto!important;align-items:center!important;gap:20px!important;min-height:138px!important;padding:22px 24px!important;margin-bottom:14px!important;border:1px solid #1d5484!important;border-radius:16px!important;background:linear-gradient(100deg,#08182d,#071426)!important;box-shadow:0 10px 30px rgba(0,0,0,.12)!important}
.friend-card:hover{background:linear-gradient(100deg,#0a1d36,#09182c)!important}
.friend-avatar-wrap,.friend-avatar{width:78px!important;height:78px!important}
.friend-avatar{border-radius:14px!important;border:1px solid #3d6192!important}
.friend-info strong{font-size:20px!important;font-weight:900!important;color:#fff!important}
.friend-info small{font-size:14px!important;color:#83a0ca!important;margin-top:5px!important}
.friend-meta{margin-top:8px!important}
.friend-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;margin:0!important}
.friend-actions .friend-action{min-height:50px!important;padding:0 20px!important;border-radius:12px!important;font-size:14px!important}
.friend-actions .primary,.friend-actions button:first-child{background:linear-gradient(135deg,#4337ce,#6249ff)!important;border:1px solid #796bff!important;color:#fff!important;box-shadow:0 7px 20px rgba(85,66,240,.18)!important}
.friend-actions .danger,.friend-actions button:last-child{background:#10172a!important;border:1px solid #ff405d!important;color:#ff6278!important}
.friend-status{font-size:13px!important;color:#4ce8a1!important}

@media(max-width:900px){
 .friends-head:after{display:none}.friend-card{grid-template-columns:68px minmax(0,1fr)!important}.friend-avatar-wrap,.friend-avatar{width:68px!important;height:68px!important}.friend-actions{grid-column:1/-1!important;justify-content:flex-start!important;padding-left:88px!important}
}
@media(max-width:650px){
 .friends-page{padding:0 12px 50px!important}.friends-head{min-height:190px!important;padding:24px 18px!important}.friends-head h1{font-size:30px!important}.friends-title-icon{width:58px!important;height:58px!important}.friends-profile-btn{right:14px!important;top:118px!important}.friends-search{grid-template-columns:1fr!important}.friends-tabs{overflow-x:auto!important;gap:8px!important}.friends-tab{white-space:nowrap!important}.friend-card{padding:16px!important}.friend-actions{padding-left:0!important}
}

/* ===== BLOCO SEPARADO ===== */

.rh-friends-tools{display:none!important}

/* ===== BLOCO SEPARADO ===== */

.rh-comments-section{max-width:1240px;margin:22px auto 0}
.rh-comment-composer{border:1px solid #203b60;background:linear-gradient(145deg,#08172b,#071324);border-radius:16px;padding:18px;margin-bottom:16px}
.rh-comment-login-note{color:#91a9ca;font-size:14px}
#gameCommentForm textarea{width:100%;resize:vertical;min-height:105px;box-sizing:border-box;border:1px solid #29496f;border-radius:12px;background:#050f1e;color:#eef5ff;padding:14px;font:inherit;outline:none}
#gameCommentForm textarea:focus{border-color:#7657ff;box-shadow:0 0 0 3px rgba(118,87,255,.12)}
.rh-comment-compose-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;color:#718bad;font-size:12px}
.rh-comment-compose-bottom button{border:0;border-radius:10px;padding:11px 17px;background:linear-gradient(135deg,#5d4bff,#7857ff);color:white;font-weight:800;cursor:pointer}
.rh-comment-compose-bottom button:disabled{opacity:.55;cursor:not-allowed}
.rh-comments-list{display:flex;flex-direction:column;gap:10px}
.rh-comment{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;padding:16px;border:1px solid #183654;border-radius:14px;background:linear-gradient(100deg,#08172a,#071323)}
.rh-comment-avatar{width:46px;height:46px;border-radius:10px;object-fit:cover;background:#101f35;border:1px solid #294a72}
.rh-comment-avatar-fallback{display:grid;place-items:center;font-size:20px;font-weight:900;color:#b8caff}
.rh-comment-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.rh-comment-name{font-weight:900;color:#f2f7ff}
.rh-comment-date{font-size:12px;color:#7089aa}
.rh-comment-text{margin-top:6px;color:#c7d5e8;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.rh-comment-delete{align-self:start;border:1px solid #583348;background:#16101b;color:#ff8ca3;border-radius:9px;padding:7px 10px;cursor:pointer;font-weight:700}
.rh-comments-empty,.rh-comments-loading{padding:24px;text-align:center;border:1px dashed #294462;border-radius:14px;color:#7f99ba}
@media(max-width:650px){.rh-comment{grid-template-columns:40px minmax(0,1fr)}.rh-comment-avatar{width:40px;height:40px}.rh-comment-delete{grid-column:2;justify-self:start}.rh-comment-compose-bottom{align-items:flex-end}}

/* ===== BLOCO SEPARADO ===== */

.rh-delete-modal{position:fixed;inset:0;z-index:100000;background:rgba(2,7,18,.72);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px}
.rh-delete-modal[hidden]{display:none!important}
.rh-delete-dialog{width:min(410px,100%);background:#0d1729;border:1px solid #2b4264;border-radius:18px;padding:22px;box-shadow:0 24px 80px rgba(0,0,0,.6);animation:rhDeleteIn .16s ease}
.rh-delete-dialog h3{margin:0 0 8px;font-size:20px;color:#fff}
.rh-delete-dialog p{margin:0;color:#94a8c8;font-size:14px;line-height:1.55}
.rh-delete-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.rh-delete-cancel,.rh-delete-confirm{border-radius:10px;padding:10px 17px;font-weight:800;cursor:pointer}
.rh-delete-cancel{background:#17243a;border:1px solid #304765;color:#dce8fa}
.rh-delete-confirm{background:#9b2945;border:1px solid #c33b5c;color:#fff}
.rh-delete-confirm:hover{background:#b93252}
.rh-delete-confirm:disabled{opacity:.6;cursor:not-allowed}
@keyframes rhDeleteIn{from{opacity:0;transform:scale(.96) translateY(6px)}to{opacity:1;transform:none}}

/* ===== BLOCO SEPARADO ===== */

/* ===== RETROHUB PERFIL — BASE ESTÁVEL ===== */
.profile-page .profile-hero{
  position:relative;
  min-height:250px;
  padding:0;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.profile-page .profile-hero-grid{
  position:relative;
  z-index:1;
  width:100%;
  display:grid;
  grid-template-columns:132px minmax(0,1fr) auto;
  gap:24px;
  align-items:center;
  padding:30px 32px;
}
.profile-page .profile-page-avatar{
  width:132px;
  height:132px;
  min-width:132px;
  display:block;
  align-self:center;
}
.profile-page .profile-hero-main{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.profile-page .profile-page-name{
  margin:0 0 7px;
  line-height:1.08;
}
.profile-page .profile-page-ra{
  margin:0;
  line-height:1.35;
}
.profile-page .profile-meta-row{
  margin:11px 0 0;
}
.profile-page .profile-online{
  margin:0;
}

/* Insígnia em destaque */
.profile-page #profileHeroFeaturedBadge{
  width:fit-content;
  max-width:min(100%,390px);
  min-height:40px;
  margin:12px 0 10px;
  padding:5px 9px;
  display:flex;
  align-items:center;
  gap:9px;
  border:1px solid rgba(113,137,190,.22);
  border-radius:10px;
  background:rgba(7,17,34,.58);
  overflow:hidden;
}
.profile-page #profileHeroFeaturedBadge[hidden]{display:none}
.profile-page #profileHeroFeaturedBadge .mini{
  width:30px;
  height:30px;
  min-width:30px;
  display:grid;
  place-items:center;
  padding:0;
  overflow:hidden;
  border-radius:7px;
}
.profile-page #profileHeroFeaturedBadge .mini img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
}
.profile-page #profileHeroFeaturedBadge .profile-hero-badge-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
  line-height:1.15;
}
.profile-page #profileHeroFeaturedBadge .profile-hero-badge-copy b{
  font-size:11px;
  color:#f4f7ff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.profile-page #profileHeroFeaturedBadge .profile-hero-badge-copy small{
  font-size:9px;
  color:#91a5c7;
  text-transform:uppercase;
}

/* Nível e XP têm sua própria linha; não disputam espaço com a insígnia */
.profile-page .profile-level-wrap{
  width:100%;
  max-width:470px;
  margin:0;
  padding:0;
}
.profile-page .profile-level-line{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 8px;
}
.profile-page #profileLevelPill,
.profile-page #profileXpText{
  position:static;
  transform:none;
  margin:0;
  line-height:1.25;
  white-space:nowrap;
}
.profile-page #profileLevelPill{
  display:inline-flex;
  width:auto;
  padding:0;
  border:0;
  background:transparent;
}
.profile-page .profile-xp-track{
  width:100%;
  height:8px;
  margin:0;
}

/* Ações ficam independentes do conteúdo central */
.profile-page .profile-hero-actions{
  align-self:start;
  display:flex;
  flex-direction:column;
  gap:9px;
  min-width:145px;
}
.profile-page .profile-hero-actions button{
  width:100%;
}

/* Cards de destaque nunca imprimem caminho de imagem como texto */
.profile-page .profile-featured-icon{
  flex:0 0 70px;
}

/* Responsividade previsível */
@media(max-width:820px){
  .profile-page .profile-hero-grid{
    grid-template-columns:110px minmax(0,1fr);
    padding:24px;
  }
  .profile-page .profile-page-avatar{
    width:110px;height:110px;min-width:110px;
  }
  .profile-page .profile-hero-actions{
    grid-column:1/-1;
    width:100%;
    min-width:0;
    flex-direction:row;
  }
  .profile-page .profile-hero-actions button{width:auto}
}
@media(max-width:560px){
  .profile-page .profile-hero-grid{
    grid-template-columns:1fr;
    gap:16px;
    padding:22px 18px;
    text-align:center;
  }
  .profile-page .profile-page-avatar{
    width:104px;height:104px;min-width:104px;margin:auto;
  }
  .profile-page .profile-hero-main{align-items:center}
  .profile-page .profile-meta-row{justify-content:center}
  .profile-page .profile-level-wrap{max-width:100%}
  .profile-page .profile-level-line{gap:10px}
  .profile-page .profile-hero-actions{justify-content:center}
}

/* ===== BLOCO SEPARADO ===== */

.profile-page .profile-featured-card{
  min-width:0;
  overflow:hidden;
}
.profile-page .profile-featured-card .profile-featured-emoji,
.profile-page .profile-featured-card .profile-featured-icon{
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  flex:0 0 58px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border-radius:12px!important;
  object-fit:contain!important;
}
.profile-page .profile-featured-card .profile-featured-icon{
  padding:6px!important;
  box-sizing:border-box!important;
}
.profile-page .profile-featured-copy{
  min-width:0!important;
  overflow:hidden!important;
}
.profile-page .profile-featured-copy strong,
.profile-page .profile-featured-copy span{
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* ===== RetroHub V11: notificações ===== */
.retrohub-notification-wrap{position:relative;display:inline-flex;align-items:center}
.retrohub-notification-bell{position:relative;width:42px;height:42px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.04);color:#fff;cursor:pointer;display:grid;place-items:center}
.retrohub-notification-bell:hover{background:rgba(255,255,255,.08)}
.retrohub-notification-bell-icon{font-size:18px;line-height:1}
.retrohub-notification-count{position:absolute;right:-5px;top:-6px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:800;line-height:19px;text-align:center;border:2px solid #07111f}
.retrohub-notification-panel{position:absolute;right:0;top:50px;width:min(370px,calc(100vw - 24px));max-height:480px;overflow:auto;background:#0c1728;border:1px solid rgba(255,255,255,.12);border-radius:16px;box-shadow:0 22px 60px rgba(0,0,0,.45);z-index:99999}
.retrohub-notification-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#0c1728;border-bottom:1px solid rgba(255,255,255,.08);z-index:1}
.retrohub-notification-head strong{font-size:15px}
.retrohub-notification-head button{border:0;background:transparent;color:#aebbd0;font-size:24px;cursor:pointer}
.retrohub-notification-list{padding:8px}
.retrohub-notification-item{width:100%;display:grid;grid-template-columns:36px 1fr;gap:10px;text-align:left;border:0;background:transparent;color:#fff;padding:11px;border-radius:12px;cursor:pointer}
.retrohub-notification-item:hover{background:rgba(255,255,255,.06)}
.retrohub-notification-item strong{display:block;font-size:13px;margin-bottom:3px}
.retrohub-notification-item small{display:block;color:#9cabc0;font-size:12px;line-height:1.35}
.retrohub-notification-type{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.06);display:grid;place-items:center}
.retrohub-notification-empty{padding:24px 14px;text-align:center;color:#91a0b5;font-size:13px}
@media(max-width:640px){.retrohub-notification-panel{position:fixed;right:12px;left:12px;top:68px;width:auto}}

/* V12.1 - botão dentro do hero real do jogo */
.game-hero-main .retrohub-favorite-button{
  width:max-content;
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
  padding:10px 15px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(8,17,31,.72);
  color:#fff;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.game-hero-main .retrohub-favorite-button:hover{transform:translateY(-1px);background:rgba(255,255,255,.10)}
.game-hero-main .retrohub-favorite-button.is-favorite{border-color:rgba(255,73,108,.55)}
.game-hero-main .retrohub-favorite-heart{font-size:21px;color:#fff}
.game-hero-main .retrohub-favorite-button.is-favorite .retrohub-favorite-heart{color:#ff496c}


/* ===== RetroHub V13: Meus Favoritos no perfil ===== */
.profile-favorites-section{margin:22px 0;padding:20px;border:1px solid rgba(255,255,255,.11);border-radius:18px;background:rgba(9,18,34,.72)}
.profile-favorites-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.profile-favorites-heading h2{margin:0 0 4px;font-size:21px}
.profile-favorites-heading p{margin:0;color:#94a3b8;font-size:13px}
.profile-favorites-count{min-width:34px;height:34px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.08);display:grid;place-items:center;font-weight:800}
.profile-favorites-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
.profile-favorite-card{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.035);cursor:pointer;transition:transform .18s ease,border-color .18s ease}
.profile-favorite-card:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.22)}
.profile-favorite-cover{height:230px;background:#07101e;display:flex;align-items:center;justify-content:center;overflow:hidden}
.profile-favorite-cover img{width:100%;height:100%;object-fit:contain}
.profile-favorite-info{padding:12px 40px 12px 12px}
.profile-favorite-info strong{display:block;font-size:14px;line-height:1.3}
.profile-favorite-info small{display:block;color:#8fa0b8;margin-top:5px;font-size:12px}
.profile-favorite-heart{position:absolute;right:12px;bottom:15px;color:#ff496c;font-size:19px}
.profile-favorites-empty{grid-column:1/-1;padding:28px 14px;text-align:center;color:#8fa0b8}
@media(max-width:600px){.profile-favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-favorite-cover{height:190px}}


/* ===== RetroHub V13.1: Mensagens 💬 + Notificações 🔔 ===== */
#topBar .retrohub-notification-wrap,
#topBar .game-header-account{
  align-items:center;
}

#topBar .retrohub-notification-bell,
#topBar .retrohub-message-icon-fix{
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  min-height:48px !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:13px !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

#topBar .retrohub-notification-bell-icon{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:20px !important;
  line-height:1 !important;
}

#topBar .retrohub-message-icon-fix > *{
  display:none !important;
}
#topBar .retrohub-message-icon-fix::before{
  content:"💬";
  display:block;
  font-size:20px;
  line-height:1;
}


/* ===== V13.2: correção direta do ícone original de Mensagens ===== */
#messageBell{
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  min-height:48px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:13px !important;
  box-sizing:border-box !important;
}
#messageBell .message-bell-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  line-height:1;
}
#messageBell .message-badge{
  position:absolute;
}


/* ===== V13.3: remove o ícone antigo duplicado de Mensagens ===== */
#messageBell::before{
  content:none !important;
  display:none !important;
  width:0 !important;
  height:0 !important;
  -webkit-mask:none !important;
  mask:none !important;
  background:none !important;
}
#messageBell .message-bell-icon{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:22px !important;
  height:22px !important;
  font-size:20px !important;
  line-height:1 !important;
}


/* ===== RetroHub V14: excluir conversa só para você ===== */
.retrohub-chat-delete-btn{font-size:15px !important}
.chat-delete-conversation{border-color:rgba(255,90,110,.28) !important;color:#ff9cab !important}
.chat-delete-conversation:hover{background:rgba(255,70,95,.10) !important}


/* ===== V14.1: botão excluir conversa sempre visível ===== */
.retrohub-chat-float-tools{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  overflow:visible !important;
}
.retrohub-chat-delete-btn{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  padding:0 !important;
  opacity:1 !important;
  visibility:visible !important;
  font-size:16px !important;
  line-height:1 !important;
}
