:root {
  --bg:#0b1425;
  --panel:#111f35;
  --panel2:#172944;
  --panel3:#1b3452;
  --border:#263c5a;
  --text:#eef4ff;
  --muted:#9fb1cc;
  --blue:#4e9ce8;
  --cyan:#8bd5ff;
  --purple:#9d8bda;
  --radius:18px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:
    radial-gradient(ellipse at 50% -30%,#1b3554 0,transparent 55%),
    var(--bg);
  color:var(--text);
  font-family:'DM Sans',sans-serif;
}

button,input,select,textarea{font:inherit}
button{cursor:pointer;border:0;color:inherit}
button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}

.topbar{
  min-height:76px;
  padding:0 clamp(18px,5vw,70px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  background:#0d192bf2;
  border-bottom:1px solid #7aa3d322;
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:blur(18px);
}

.brand{
  font-family:Manrope,sans-serif;
  font-size:24px;
  font-weight:800;
  letter-spacing:-1px;
  color:#f5f8ff;
  text-decoration:none;
  white-space:nowrap;
}

.brand span{color:#65baff;margin-left:3px}

.mainNav{display:flex;gap:5px}

.nav{
  background:transparent;
  color:var(--muted);
  padding:10px 13px;
  border-radius:10px;
  font-weight:600;
  transition:.2s;
}

.nav.active,.nav:hover{
  background:#1a3150;
  color:#e9f5ff;
}

.searchWrap{
  display:flex;
  align-items:center;
  gap:10px;
  background:#14243b;
  border:1px solid #263a56;
  border-radius:12px;
  padding:0 13px;
  height:43px;
  max-width:340px;
  width:100%;
  color:#82baff;
}

.searchWrap input{
  background:none;
  border:0;
  outline:0;
  color:white;
  width:100%;
  min-width:0;
}

.searchWrap input::placeholder{color:#7f93ae}
.searchWrap kbd{color:#8297b3;font-size:11px;border:1px solid #354a65;border-radius:5px;padding:2px 6px}

.adminBtn,.primary{
  background:linear-gradient(135deg,#4b9de9,#2871bf);
  border-radius:11px;
  padding:11px 17px;
  font-weight:700;
  box-shadow:0 6px 22px #2466a333;
  transition:transform .2s,filter .2s;
}

.adminBtn:hover,.primary:hover{transform:translateY(-2px);filter:brightness(1.1)}
.adminBtn{white-space:nowrap}

.accountBtn{
  white-space:nowrap;
  background:#1d3554;
  border:1px solid #345579;
  color:#d9edff;
  padding:10px 14px;
  border-radius:11px;
  font-weight:700;
}

.accountBtn:hover{background:#2b4c70}

.hero{
  margin:30px auto 38px;
  max-width:1300px;
  padding:48px clamp(20px,5vw,64px);
  min-height:365px;
  border:1px solid #8ab9e722;
  border-radius:26px;
  background:
    radial-gradient(ellipse at 75% 45%,#355d86 0,#1b3453 30%,#14243d 65%,#101d31 100%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  overflow:hidden;
  position:relative;
  box-shadow:0 22px 65px #030b1955;
}

.heroText{max-width:570px;z-index:1}
.eyebrow{color:#79bdf8;font-size:11px;letter-spacing:2.2px;font-weight:800}

.hero h1{
  font:800 clamp(38px,5vw,62px)/1.05 Manrope,sans-serif;
  margin:16px 0;
  letter-spacing:-2px;
}

.hero h1 em{font-style:normal;color:#85caff}
.hero p{color:#bdcce1;line-height:1.8;margin:0 0 25px;max-width:440px}
.hero .primary{padding:13px 20px}

.heroArt{width:310px;height:280px;position:relative;margin-right:6%}
.artOrb{
  position:absolute;
  width:280px;height:280px;
  border-radius:50%;
  background:linear-gradient(145deg,#4a8fcb66,#87d4ff18);
  filter:blur(1px);
  right:0;top:-5px;
}

.heroCard{
  position:absolute;
  right:30px;top:18px;
  transform:rotate(7deg);
  width:168px;height:226px;
  background:#243d5d;
  border:1px solid #8ab9e74d;
  border-radius:15px;
  padding:12px;
  box-shadow:0 30px 55px #050c18aa;
}

.heroCardBack{
  transform:rotate(-9deg) translate(-22px,8px);
  background:#385b7e;
  opacity:.65;
}

.placeholderCover{
  height:158px;
  border-radius:9px;
  background:linear-gradient(155deg,#4b8fbe,#233f69 60%,#101c31);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  font:800 75px Manrope;
  color:#c5e7ff;
  text-shadow:0 5px 20px #0a1828;
}

.placeholderCover small{font-size:9px;letter-spacing:2px}
.coverCaption{font-size:10px;letter-spacing:1px;text-align:center;margin-top:12px;color:#dceeff;font-weight:700}
.heroSparkle{position:absolute;color:#c3e7ff}
.sparkleOne{right:5px;top:30px;font-size:25px}
.sparkleTwo{left:5px;bottom:35px;font-size:30px}

.statsSection{
  max-width:1170px;
  margin:0 auto 48px;
  padding:0 25px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.statCard{
  display:flex;
  align-items:center;
  gap:15px;
  background:linear-gradient(145deg,#142740,#101d31);
  border:1px solid #2a4260;
  border-radius:16px;
  padding:18px 20px;
  transition:.2s;
}

.statCard:hover{
  border-color:#4b8fc5;
  transform:translateY(-3px);
}

.statIcon{
  width:43px;height:43px;
  display:grid;place-items:center;
  border-radius:13px;
  background:#25476a;
  color:#a8d8ff;
  font-size:20px;
}

.statCard div{display:flex;flex-direction:column;gap:3px}
.statCard strong{font:800 23px Manrope;color:#f1f7ff}
.statCard div span{font-size:12px;color:var(--muted)}

.section{
  max-width:1300px;
  margin:auto;
  padding:0 clamp(18px,5vw,64px) 75px;
}

.sectionHead{
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:22px;
  gap:20px;
}

.sectionHead h2{
  font:700 28px Manrope;
  margin:8px 0 0;
  letter-spacing:-.6px;
}

.sectionDescription{
  font-size:13px;
  color:var(--muted);
  margin:7px 0 0;
}

/* OBRAS POPULARES - LISTA VERTICAL COMPACTA */

.popularSection{
  max-width:1050px;
  padding-top:5px;
  padding-bottom:45px;
}

.popularSection .sectionHead{
  margin-bottom:18px;
}

.popularSection .sectionHead h2{
  font-size:25px;
}

.popularSection .sectionDescription{
  font-size:12px;
}

.popularGrid{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-width:760px;
}

.popularGrid .workCard{
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  grid-auto-rows:min-content;
  align-items:start;
  gap:4px 15px;
  width:100%;
  min-height:100px;
  padding:11px;
  background:linear-gradient(110deg,#142740,#101d31);
  border:1px solid #263c5a;
  border-radius:13px;
  animation:popularAppear .3s ease both;
  transition:border-color .2s,background .2s,transform .2s;
}

.popularGrid .workCard:hover{
  background:linear-gradient(110deg,#1a3452,#14243b);
  border-color:#4e9ce8;
  transform:translateX(3px);
}

.popularGrid .workCard > .cover{
  grid-column:1;
  grid-row:1 / span 6;
  width:76px;
  height:100px;
  aspect-ratio:auto;
  border-radius:8px;
  border-color:#385b7d;
  box-shadow:0 5px 14px #0003;
}

.popularGrid .workCard > :not(.cover){
  grid-column:2;
  min-width:0;
}

.popularGrid .workTitle{
  font-size:14px;
  margin:2px 0 1px;
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
  line-height:1.4;
}

.popularGrid .workMeta{
  font-size:11px;
  line-height:1.5;
}

.popularGrid .cardGenres{
  margin-top:4px;
  min-height:0;
}

.popularGrid .cardGenre{
  font-size:9px;
  padding:3px 6px;
}

.popularGrid .cardBottom{
  margin-top:3px;
  justify-content:flex-start;
}

.popularGrid .cardUpdate{
  font-size:10px;
}

.popularGrid .workProgress{
  margin-top:3px;
  font-size:10px;
}

.popularGrid .progressBar{
  max-width:220px;
  margin-top:4px;
}

.popularGrid .status{
  font-size:8px;
  padding:4px 6px;
  left:5px;
  top:5px;
}

@keyframes popularAppear{
  from{opacity:0;transform:translateY(7px)}
  to{opacity:1;transform:translateY(0)}
}

/* FERRAMENTAS DO CATÁLOGO */

.catalogTools{
  display:flex;
  align-items:end;
  flex-wrap:wrap;
  gap:12px;
  padding:16px;
  margin-bottom:20px;
  background:#111f35;
  border:1px solid #263c5a;
  border-radius:15px;
}

.filterGroup{
  display:flex;
  flex-direction:column;
  gap:6px;
  flex:1;
  min-width:145px;
}

.filterGroup label{
  font-size:11px;
  font-weight:700;
  color:#9fb1cc;
}

.filterGroup select{
  width:100%;
  background:#14243b;
  border:1px solid var(--border);
  color:#dbe9fa;
  padding:10px 12px;
  border-radius:9px;
  outline:none;
}

.clearFilters{
  padding:10px 13px;
  background:#203550;
  border-radius:9px;
  color:#bcd5ef;
  font-size:12px;
  font-weight:700;
}

.clearFilters:hover{background:#2a486b}

.resultsLine{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:0 2px 17px;
  color:var(--muted);
  font-size:12px;
}

.resultsDecoration{
  font-size:10px;
  letter-spacing:2px;
  color:#6385a9;
}

/* CARTÕES DAS OBRAS */

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

.workCard{
  cursor:pointer;
  min-width:0;
  position:relative;
}

.cover{
  aspect-ratio:3/4;
  border-radius:15px;
  background:linear-gradient(145deg,#1b3555,#0f1b2e);
  overflow:hidden;
  border:1px solid #263d5b;
  position:relative;
  transition:.25s;
}

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

.coverFallback{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:15px;
  font:700 17px Manrope;
  color:#b5d9ff;
  background:radial-gradient(circle at top,#355b83,#13243a 70%);
}

.status{
  position:absolute;
  left:9px;
  top:9px;
  background:#10233cdd;
  border:1px solid #8bbef44d;
  padding:6px 9px;
  border-radius:8px;
  font-size:10px;
  font-weight:700;
  backdrop-filter:blur(8px);
}

.status.status-done{color:#b6f0d0;border-color:#7ccda166}
.status.status-hiatus{color:#f3d59d;border-color:#d6ae6266}

.workTitle{
  font-weight:700;
  margin:11px 0 4px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#edf5ff;
}

.workMeta{
  color:var(--muted);
  font-size:12px;
}

.workCard:hover .cover{
  border-color:#64b6ff;
  transform:translateY(-4px);
  box-shadow:0 15px 30px #0005;
}

.workCard:hover .workTitle{color:#8bd5ff}

.cardGenres{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin-top:8px;
  min-height:20px;
}

.cardGenre{
  font-size:10px;
  color:#a9cbe9;
  background:#1a304b;
  padding:4px 7px;
  border-radius:6px;
}

.cardBottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin-top:8px;
}

.cardUpdate{
  font-size:10px;
  color:#83b9e9;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.workProgress{
  font-size:11px;
  color:#89bde9;
  margin-top:7px;
}

.progressBar{
  height:4px;
  background:#243c58;
  border-radius:9px;
  overflow:hidden;
  margin-top:9px;
}

.progressBar div{
  height:100%;
  background:linear-gradient(90deg,#57a8f4,#8bd5ff);
  width:0;
  border-radius:9px;
}

/* ESTADO VAZIO */

.empty{
  text-align:center;
  padding:65px 15px;
  color:var(--muted);
}

.emptyIcon{font-size:38px;color:#76bfff}
.empty h3{color:var(--text);font:700 21px Manrope}
.empty p{font-size:13px}
.empty button{margin:8px 4px}

.hidden{display:none!important}

/* RODAPÉ */

.siteFooter{
  border-top:1px solid #263c5a;
  background:#0a1322;
  padding:30px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-align:center;
}

.siteFooter .brand{font-size:20px}
.siteFooter p,.siteFooter>span{
  font-size:11px;
  color:var(--muted);
  margin:0;
}

/* MODAIS */

.modal{
  position:fixed;
  inset:0;
  background:#020712d9;
  z-index:30;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  overflow:auto;
}

.modalBox{
  width:min(860px,100%);
  max-height:92vh;
  overflow:auto;
  background:#111f35;
  border:1px solid #2b4566;
  border-radius:20px;
  padding:26px;
  position:relative;
}

.close{
  position:absolute;
  right:16px;
  top:13px;
  background:#1b2d47;
  border-radius:9px;
  width:35px;
  height:35px;
  font-size:22px;
  z-index:5;
}

.formGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.field.full{grid-column:1/-1}
.field label{font-size:12px;color:#b2c4de;font-weight:700}

.field input,.field select,.field textarea{
  background:#0c182a;
  border:1px solid #2a405e;
  border-radius:10px;
  color:#edf5ff;
  padding:11px;
  outline:0;
}

.field textarea{min-height:100px;resize:vertical}
.fileBox{padding:14px;border:1px dashed #4775a5;border-radius:12px;background:#0d1a2d;color:#bcd5ef}
.fileBox input{max-width:100%;margin-top:9px}
.modalTitle{font:800 25px Manrope;margin:0 45px 18px 0}

.formActions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:18px;
  flex-wrap:wrap;
}

.secondary{background:#203550;padding:11px 16px;border-radius:10px}
.secondary:hover{background:#2b486b}
.danger{border:1px solid #81475b!important;color:#ffc4d4!important}

/* DETALHES DA OBRA */

.detail{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:25px;
}

.detailCover{
  border-radius:14px;
  overflow:hidden;
  background:#203a5b;
  aspect-ratio:3/4;
}

.detailCover img{width:100%;height:100%;object-fit:cover}
.detailTitle{font:800 27px Manrope;margin:0 0 12px}

.facts{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 18px;
  color:#b8c8de;
  font-size:13px;
}

.facts b{color:#e8f2ff}

.tags{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin:15px 0;
}

.tag{
  background:#1b3553;
  border:1px solid #2a4a70;
  color:#a9d5ff;
  border-radius:20px;
  padding:6px 10px;
  font-size:11px;
}

.synopsis{
  line-height:1.7;
  color:#bdcbe0;
  font-size:14px;
  white-space:pre-wrap;
}

.chapterList{
  margin-top:20px;
  border:1px solid #293f5c;
  border-radius:13px;
  overflow:hidden;
}

.chapterRow{
  padding:12px 14px;
  border-bottom:1px solid #253953;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.chapterRow:last-child{border-bottom:0}
.chapterRow button{background:#24466c;padding:8px 12px;border-radius:9px}
.chapterRow button:hover{background:#32618f}

.rowActions{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.adminActions,.accountActions,.authTabs{display:flex;gap:9px;flex-wrap:wrap}
.adminActions{margin-bottom:20px}
.accountActions{flex-direction:column}
.accountActions button{width:100%}

/* COMENTÁRIOS */

.commentsPanel{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid #2a405e;
}

.commentsPanel h3{margin:0 0 12px}

.commentsPanel form textarea{
  width:100%;
  background:#0c182a;
  border:1px solid #2a405e;
  color:#edf5ff;
  border-radius:10px;
  padding:12px;
  min-height:75px;
  margin:12px 0;
}

.comment,.reportCard{
  background:#0e1b2d;
  border:1px solid #253b57;
  border-radius:11px;
  padding:12px;
  margin:8px 0;
}

.comment p,.reportCard p{
  margin:8px 0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}

.authTabs{margin-bottom:14px}
.authTabs button{flex:1}

/* NOTIFICAÇÕES */

.toast{
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  background:#214d78;
  padding:12px 18px;
  border-radius:12px;
  z-index:50;
  box-shadow:0 8px 30px #0005;
  opacity:0;
  pointer-events:none;
  transition:.25s;
  max-width:90vw;
  text-align:center;
}

.toast.show{opacity:1}

/* LEITOR */

.brightnessControl{
  display:flex;
  align-items:center;
  gap:6px;
  color:#c6ddf5;
  font-size:12px;
}

.brightnessControl input{width:90px}
.readerPages.readerDark img{filter:brightness(.72)}
.readerPages.readerSepia img{filter:sepia(.3)}

.reader{
  background:#05090f;
  margin:-26px;
  min-height:80vh;
}

.readerHead{
  position:sticky;
  top:0;
  background:#08111fe8;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:2;
}

.readerPages{max-width:900px;margin:auto}
.readerPages img{width:100%;height:auto;display:block}
.readerControls{display:flex;gap:8px;flex-wrap:wrap}
.readerControls button{background:#18304c;border-radius:8px;padding:8px 10px}

.readerEnd{display:flex;justify-content:center;padding:35px 15px 55px}
.readerEnd button{background:#2e78bd;border-radius:12px;padding:13px 20px;font-weight:700}

.modal.readerModal{
  padding:0;
  background:#070f1d;
  align-items:stretch;
  justify-content:stretch;
  overflow:hidden;
}

.modal.readerModal .modalBox.readerModalBox{
  width:100vw;
  max-width:none;
  height:100dvh;
  max-height:none;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  overflow:hidden;
  background:#070f1d;
}

.modal.readerModal .close{display:none}

.reader{
  position:fixed;
  inset:0;
  width:100vw;
  height:100dvh;
  margin:0;
  background:radial-gradient(ellipse at 50% 0%,#12233c 0,#070f1d 65%);
  overflow-y:auto;
  overflow-x:hidden;
  z-index:40;
  min-height:100dvh;
  scroll-behavior:smooth;
}

.readerHead{
  position:sticky;
  top:0;
  width:100%;
  background:rgba(7,14,24,.93);
  border-bottom:1px solid #21334a;
  backdrop-filter:blur(12px);
  padding:12px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  z-index:41;
}

.readerTitle{min-width:150px}

.readerControls{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.readerControls button{
  background:#172b43;
  border:1px solid #294563;
  color:#dcecff;
  border-radius:9px;
  padding:8px 11px;
  font-size:13px;
}

.readerControls button:hover{background:#234568}

.readerPages{
  max-width:1000px;
  margin:0 auto;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* SLOTS PROGRESSIVOS, INDICADOR DE CARREGAMENTO E ERRO NO LEITOR */

.readerPageSlot{
  position:relative;
  width:100%;
  min-height:62vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0b1628;
  border-bottom:1px solid #162842;
  overflow:hidden;
}

.readerPageSlot.is-loaded{
  min-height:0;
  background:transparent;
  border-bottom:0;
}

.readerPageSlot.is-error{
  min-height:260px;
  background:linear-gradient(145deg,#13233b,#0c1728);
  border-bottom:1px solid #263c5a;
}

.readerPageSlot img{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
  margin:0 auto;
  object-fit:contain;
  opacity:0;
  transition:opacity .28s ease;
}

.readerPageSlot.is-loaded img{
  opacity:1;
}

.readerPageSlot.is-error img{
  display:none;
}

.readerPageLoader{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:24px;
  text-align:center;
  color:#c5e1ff;
  background:
    linear-gradient(110deg,rgba(17,31,53,.92) 30%,rgba(28,53,86,.95) 50%,rgba(17,31,53,.92) 70%);
  background-size:200% 100%;
  animation:readerShimmer 1.6s ease-in-out infinite;
  pointer-events:none;
}

.readerPageSlot.is-loaded .readerPageLoader,
.readerPageSlot.is-error .readerPageLoader{
  display:none;
}

.readerSpinner{
  width:38px;
  height:38px;
  border-radius:50%;
  border:3px solid rgba(139,213,255,.22);
  border-top-color:var(--cyan);
  border-right-color:var(--blue);
  animation:readerSpin .8s linear infinite;
  box-shadow:0 0 18px rgba(78,156,232,.25);
}

.readerLoaderText{
  font-size:13px;
  font-weight:700;
  letter-spacing:.2px;
  color:#cbe4ff;
}

@keyframes readerSpin{
  to{transform:rotate(360deg)}
}

@keyframes readerShimmer{
  0%{background-position:200% 0}
  100%{background-position:-200% 0}
}

.readerPageError{
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:28px 20px;
  text-align:center;
  color:#e8f3ff;
}

.readerPageSlot.is-error .readerPageError{
  display:flex;
}

.readerErrorIcon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#1d3554;
  border:1px solid #355880;
  color:#8bd5ff;
  font-size:18px;
  margin-bottom:2px;
}

.readerPageError strong{
  font:700 15px Manrope,sans-serif;
  color:#f0f7ff;
}

.readerPageError span{
  font-size:12px;
  color:var(--muted);
}

.readerPageError button{
  margin-top:6px;
  background:linear-gradient(135deg,#4b9de9,#2871bf);
  border:1px solid #7fc3ff55;
  color:#fff;
  border-radius:10px;
  padding:9px 15px;
  font-size:12px;
  font-weight:700;
  transition:.2s;
}

.readerPageError button:hover{
  filter:brightness(1.1);
  transform:translateY(-1px);
}

.readerPages img{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
  margin:0 auto;
  object-fit:contain;
}

.readerHead.toolbarHidden{
  transform:translateY(-100%);
  position:fixed;
  transition:transform .2s;
}

.readerHead.toolbarHidden:hover{transform:translateY(0)}

/* RESPONSIVIDADE */

@media(max-width:900px){
  .topbar{
    gap:12px;
    padding:12px 20px;
    flex-wrap:wrap;
  }

  .mainNav{
    order:4;
    width:100%;
    justify-content:center;
  }

  .searchWrap{
    flex:1;
    max-width:none;
  }

  .hero{margin:18px 16px 30px}
  .statsSection{padding:0 18px}
}

@media(max-width:750px){
  .topbar{
    min-height:70px;
    gap:9px;
  }

  .brand{font-size:21px}
  .accountBtn,.adminBtn{padding:9px 10px}
  .mainNav{order:5}

  .searchWrap{
    order:4;
    flex-basis:100%;
  }

  .hero{
    padding:30px 22px;
    min-height:310px;
  }

  .heroArt{
    position:absolute;
    right:-30px;
    opacity:.35;
  }

  .heroText{max-width:100%}

  .statsSection{
    grid-template-columns:1fr;
    gap:9px;
    margin-bottom:40px;
  }

  .statCard{padding:13px 16px}

  .section{padding:0 16px 50px}

  .sectionHead{
    align-items:flex-start;
    flex-direction:column;
  }

  .catalogTools{padding:12px}

  .filterGroup{min-width:calc(50% - 8px)}

  .clearFilters{flex:1}

  .grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:19px 13px;
  }

  /* Populares continuam sempre em lista vertical */
  .popularSection{
    padding-top:0;
    padding-bottom:35px;
  }

  .popularGrid{
    display:flex;
    flex-direction:column;
    gap:9px;
    width:100%;
  }

  .popularGrid .workCard{
    grid-template-columns:66px minmax(0,1fr);
    gap:4px 12px;
    min-height:88px;
    padding:9px;
  }

  .popularGrid .workCard > .cover{
    width:66px;
    height:88px;
  }

  .popularGrid .workTitle{
    font-size:13px;
  }

  .popularGrid .workMeta{
    font-size:10px;
  }

  .detail{
    grid-template-columns:120px 1fr;
    gap:15px;
  }

  .detailTitle{font-size:20px}
  .facts{grid-template-columns:1fr}
  .modalBox{padding:20px}
  .formGrid{grid-template-columns:1fr}
  .field.full{grid-column:auto}
  .reader{margin:-20px}

  .readerHead{
    flex-direction:column;
    gap:10px;
    align-items:flex-start;
  }

  .readerControls{
    justify-content:flex-start;
    width:100%;
  }

  .readerControls button{
    font-size:12px;
    padding:7px 9px;
  }

  .readerPages{width:100%}
  .readerPages img{width:100%}
  .readerPageSlot{min-height:54vh}
}

@media(max-width:420px){
  .hero h1{font-size:39px}
  .filterGroup{min-width:100%}
  .grid{gap:16px 10px}
  .workTitle{font-size:13px}
  .workMeta{font-size:11px}

  .popularGrid .workCard{
    grid-template-columns:60px minmax(0,1fr);
    gap:4px 10px;
  }

  .popularGrid .workCard > .cover{
    width:60px;
    height:82px;
  }

  .popularGrid .workTitle{font-size:12px}
  .resultsDecoration{display:none}
}

/* =========================================================
   BERRYTOHRU — PERFIL DE UTILIZADOR
   ========================================================= */

/* CONTAINER PRINCIPAL */

.profilePage {
  width: 100%;
  max-width: 100%;
  color: var(--text);
  animation: profileAppear .35s ease both;
}

@keyframes profileAppear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CABEÇALHO DO PERFIL */

.profileHero {
  position: relative;
  background: linear-gradient(145deg,#172d49,#101d31);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 20px;
}

.profileBanner {
  height: 190px;
  position: relative;
  background:
    radial-gradient(ellipse at 75% 20%,#638fc566,transparent 45%),
    linear-gradient(120deg,#243e63,#172b49 55%,#392f5d);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.profileBanner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 45%,#101d31aa);
  pointer-events: none;
}

.profileHeroContent {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 0 26px 23px;
  margin-top: -55px;
  z-index: 1;
}

.profileAvatar {
  width: 118px;
  height: 118px;
  flex: 0 0 118px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg,#4e9ce8,#8b79c9);
  border: 5px solid #111f35;
  box-shadow: 0 8px 25px #0006;
  color: white;
  font: 800 38px Manrope,sans-serif;
}

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

.profileIdentity {
  flex: 1;
  min-width: 0;
  padding-bottom: 5px;
}

.profileIdentity h2 {
  margin: 0;
  font: 800 25px Manrope,sans-serif;
  letter-spacing: -.6px;
  color: #f2f7ff;
  overflow-wrap: anywhere;
}

.profileUsername {
  color: #8eb9e3;
  font-size: 13px;
  margin-top: 4px;
}

.profileBio {
  color: #bdcce1;
  font-size: 13px;
  line-height: 1.7;
  margin: 10px 0 0;
  max-width: 650px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.profileJoined {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #829ab8;
  font-size: 11px;
  margin-top: 10px;
}

.profileHeroActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-self: flex-end;
  padding-bottom: 5px;
}

.profileHeroActions button {
  background: #203a5b;
  border: 1px solid #35577d;
  color: #d9ebff;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  transition: .2s;
}

.profileHeroActions button:hover {
  background: #2c527c;
  border-color: #5aa6e8;
}

/* NÍVEL E EXPERIÊNCIA */

.profileLevel {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 22px;
  margin: 0 20px 20px;
  background: linear-gradient(100deg,#1b3452,#202c4b);
  border: 1px solid #35496e;
  border-radius: 13px;
}

.profileLevelBadge {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg,#806dc2,#4d83b8);
  color: white;
  font: 800 17px Manrope,sans-serif;
  box-shadow: 0 5px 16px #0003;
}

.profileLevelInfo {
  flex: 1;
  min-width: 0;
}

.profileLevelTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.profileLevelTop strong {
  font: 800 13px Manrope,sans-serif;
  color: #e8f2ff;
}

.profileLevelTop span {
  font-size: 11px;
  color: #a9c5e4;
}

.profileXpBar {
  height: 7px;
  width: 100%;
  border-radius: 20px;
  background: #0c192b;
  overflow: hidden;
}

.profileXpBar div {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg,#8d78d4,#67b9f5);
  transition: width .5s ease;
}

.profileXpText {
  color: #8fa8c5;
  font-size: 10px;
  margin-top: 6px;
}

/* ESTATÍSTICAS */

.profileStats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.profileStat {
  min-width: 0;
  padding: 17px 13px;
  background: linear-gradient(145deg,#172c47,#111f35);
  border: 1px solid #2b4362;
  border-radius: 13px;
  text-align: center;
  transition: .2s;
}

.profileStat:hover {
  border-color: #579bd3;
  transform: translateY(-3px);
}

.profileStatIcon {
  font-size: 20px;
  margin-bottom: 7px;
  color: #91caff;
}

.profileStat strong {
  display: block;
  font: 800 23px Manrope,sans-serif;
  color: #f1f7ff;
}

.profileStat span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

/* SEPARADORES DO PERFIL */

.profileTabs {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 5px;
  margin-bottom: 19px;
  background: #0e1b2d;
  border: 1px solid #253b57;
  border-radius: 12px;
  scrollbar-width: thin;
}

.profileTabs button {
  flex: 1 0 auto;
  min-height: 39px;
  padding: 9px 13px;
  background: transparent;
  color: #91a7c3;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: .2s;
}

.profileTabs button:hover {
  color: #e5f3ff;
  background: #1a304b;
}

.profileTabs button.active {
  color: #eaf6ff;
  background: linear-gradient(120deg,#2b6193,#354d7b);
  box-shadow: 0 3px 12px #0002;
}

/* CONTEÚDO DOS SEPARADORES */

.profilePanel {
  min-height: 180px;
  animation: profileAppear .25s ease both;
}

.profileSectionTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 15px;
}

.profileSectionTitle h3 {
  margin: 0;
  font: 700 18px Manrope,sans-serif;
  color: #edf5ff;
}

.profileSectionTitle span {
  font-size: 11px;
  color: #8da6c4;
}

.profileBlock {
  background: #111f35;
  border: 1px solid #293f5c;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 17px;
}

.profileBlock h3 {
  margin: 0 0 14px;
  font: 700 16px Manrope,sans-serif;
}

/* LISTA DE OBRAS DO PERFIL */

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

.profileWorkCard {
  min-width: 0;
  cursor: pointer;
  transition: .2s;
}

.profileWorkCard:hover {
  transform: translateY(-3px);
}

.profileWorkCard .cover {
  border-radius: 11px;
}

.profileWorkCard .workTitle {
  font-size: 12px;
  white-space: normal;
  line-height: 1.45;
}

.profileWorkCard .workMeta {
  font-size: 10px;
}

.profileWorkProgress {
  color: #8ebfec;
  font-size: 10px;
  margin-top: 6px;
}

/* HISTÓRICO DE LEITURA */

.profileHistory {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.profileHistoryItem {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px;
  background: #0e1b2d;
  border: 1px solid #263c59;
  border-radius: 11px;
  transition: .2s;
}

.profileHistoryItem:hover {
  background: #172b44;
  border-color: #477bad;
}

.profileHistoryCover {
  width: 55px;
  height: 72px;
  flex: 0 0 55px;
  overflow: hidden;
  border-radius: 7px;
  background: #203a5b;
}

.profileHistoryCover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profileHistoryInfo {
  flex: 1;
  min-width: 0;
}

.profileHistoryInfo strong {
  display: block;
  color: #e8f3ff;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profileHistoryInfo span {
  display: block;
  margin-top: 5px;
  color: #91a9c7;
  font-size: 11px;
}

.profileHistoryInfo .progressBar {
  max-width: 250px;
}

/* CONQUISTAS */

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

.achievementCard {
  position: relative;
  min-width: 0;
  padding: 17px 12px;
  text-align: center;
  background: linear-gradient(145deg,#192e49,#111f35);
  border: 1px solid #304967;
  border-radius: 13px;
  transition: .2s;
  overflow: hidden;
}

.achievementCard:hover {
  transform: translateY(-3px);
  border-color: #6d91c2;
}

.achievementCard.unlocked {
  background: linear-gradient(145deg,#263d5d,#172942);
  border-color: #6a8fbd;
  box-shadow: inset 0 0 25px #6b9ac51a;
}

.achievementCard.locked {
  opacity: .55;
  filter: saturate(.35);
}

.achievementIcon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  border-radius: 15px;
  background: linear-gradient(145deg,#344e76,#263a5c);
  color: #c4e5ff;
  font-size: 23px;
}

.achievementCard.unlocked .achievementIcon {
  background: linear-gradient(145deg,#5d8fc2,#7768b2);
  color: white;
  box-shadow: 0 5px 16px #0003;
}

.achievementCard strong {
  display: block;
  color: #e8f3ff;
  font: 700 12px Manrope,sans-serif;
}

.achievementCard p {
  color: #9fb3ce;
  font-size: 10px;
  line-height: 1.5;
  margin: 6px 0 0;
}

.achievementStatus {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 8px;
  border-radius: 20px;
  background: #203b5a;
  color: #9dcfff;
  font-size: 9px;
  font-weight: 700;
}

.achievementCard.unlocked .achievementStatus {
  background: #315b70;
  color: #b8f1df;
}

/* FORMULÁRIO DE EDIÇÃO */

.profileEditForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profileEditForm .field input,
.profileEditForm .field textarea {
  width: 100%;
}

.profileEditPreview {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px;
  background: #0d1a2d;
  border: 1px solid #293f5c;
  border-radius: 12px;
}

.profileEditPreview img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #4c8bc0;
}

.profileEditPreview strong {
  display: block;
  font-size: 13px;
}

.profileEditPreview span {
  display: block;
  margin-top: 4px;
  color: #91a9c7;
  font-size: 11px;
}

.profileUpload {
  display: block;
  padding: 14px;
  background: #0d1a2d;
  border: 1px dashed #4775a5;
  border-radius: 12px;
  color: #bcd5ef;
  font-size: 12px;
}

.profileUpload input {
  display: block;
  max-width: 100%;
  margin-top: 9px;
}

/* PERFIL VAZIO */

.profileEmpty {
  padding: 38px 15px;
  text-align: center;
  background: #101e32;
  border: 1px dashed #304a69;
  border-radius: 13px;
  color: #91a8c4;
}

.profileEmptyIcon {
  font-size: 32px;
  margin-bottom: 9px;
}

.profileEmpty strong {
  display: block;
  color: #dcecff;
  font: 700 15px Manrope,sans-serif;
}

.profileEmpty p {
  font-size: 12px;
  line-height: 1.6;
  margin: 7px 0 0;
}

/* ETIQUETAS E INFORMAÇÕES */

.profilePill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  background: #1b3452;
  border: 1px solid #345579;
  border-radius: 20px;
  color: #a9d5ff;
  font-size: 10px;
  font-weight: 700;
}

.profileDivider {
  height: 1px;
  background: #293f5c;
  margin: 17px 0;
}

.profileMuted {
  color: #91a7c3;
  font-size: 12px;
}

/* MODAL DO PERFIL */

.modalBox.profileModalBox {
  width: min(1000px,100%);
  padding: 22px;
}

.profilePage .empty {
  padding: 35px 15px;
}

/* RESPONSIVIDADE DO PERFIL */

@media(max-width:750px) {
  .profileBanner {
    height: 145px;
  }

  .profileHeroContent {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 17px 17px;
    margin-top: -43px;
  }

  .profileAvatar {
    width: 91px;
    height: 91px;
    flex-basis: 91px;
    font-size: 30px;
    border-width: 4px;
  }

  .profileIdentity {
    padding-top: 49px;
    flex-basis: calc(100% - 110px);
  }

  .profileIdentity h2 {
    font-size: 20px;
  }

  .profileBio {
    font-size: 12px;
  }

  .profileHeroActions {
    width: 100%;
    padding: 0;
  }

  .profileHeroActions button {
    flex: 1;
  }

  .profileLevel {
    margin: 0 12px 15px;
    padding: 12px;
  }

  .profileStats {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
  }

  .profileStat {
    padding: 13px 9px;
  }

  .profileStat strong {
    font-size: 20px;
  }

  .profileTabs {
    justify-content: flex-start;
  }

  .profileTabs button {
    flex: 0 0 auto;
  }

  .profileWorks {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
  }

  .achievementGrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .modalBox.profileModalBox {
    padding: 16px;
  }
}

@media(max-width:420px) {
  .profileBanner {
    height: 125px;
  }

  .profileHeroContent {
    padding-left: 12px;
    padding-right: 12px;
  }

  .profileAvatar {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
    font-size: 25px;
  }

  .profileIdentity {
    padding-top: 43px;
    flex-basis: calc(100% - 95px);
  }

  .profileIdentity h2 {
    font-size: 17px;
  }

  .profileUsername {
    font-size: 11px;
  }

  .profileLevel {
    gap: 9px;
  }

  .profileLevelBadge {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 14px;
  }

  .profileLevelTop {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .profileWorks {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .profileHistoryItem {
    gap: 9px;
    padding: 9px;
  }

  .profileHistoryCover {
    width: 47px;
    height: 63px;
    flex-basis: 47px;
  }

  .profileSectionTitle h3 {
    font-size: 16px;
  }
}

/* ACESSIBILIDADE — RESPEITAR REDUÇÃO DE MOVIMENTO */

@media(prefers-reduced-motion:reduce) {
  .profilePage,
  .profilePanel,
  .readerPageLoader,
  .readerSpinner {
    animation: none;
  }

  .profileStat,
  .profileHistoryItem,
  .profileWorkCard,
  .achievementCard,
  .profileHeroActions button,
  .readerPageSlot img {
    transition: none;
  }
}

/* =========================================================
   BERRYTOHRU — HOME / CARROSSEL / RECRUTAMENTO / PAGINAÇÃO
   ========================================================= */

/* NAV INÍCIO */

.mainNav .nav.active {
  background: #1a3150;
  color: #e9f5ff;
}

/* CARROSSEL */

.homeCarouselSection {
  padding-bottom: 38px;
}

.carouselSectionHead {
  align-items: center;
}

.carouselArrows {
  display: flex;
  gap: 8px;
}

.carouselArrow {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #1a304b;
  border: 1px solid #304b6c;
  color: #c5e4ff;
  font-size: 24px;
  line-height: 1;
  transition: .2s;
}

.carouselArrow:hover {
  background: #2b4d72;
  border-color: #64b6ff;
  transform: translateY(-2px);
}

.carouselArrow:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}

.worksCarouselOuter {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.worksCarousel {
  display: flex;
  gap: 17px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 5px 2px 15px;
}

.worksCarousel::-webkit-scrollbar {
  display: none;
}

.worksCarousel > * {
  flex: 0 0 180px;
  width: 180px;
  scroll-snap-align: start;
}

.worksCarousel .workCard {
  width: 100%;
}

.worksCarousel .cover {
  aspect-ratio: 3/4;
}

.worksCarousel .workTitle {
  white-space: normal;
  line-height: 1.4;
  min-height: 36px;
}

.worksCarousel .workMeta {
  font-size: 11px;
}

.worksCarousel .cardGenres {
  min-height: 0;
}

.worksCarousel .cardBottom {
  flex-wrap: wrap;
}

.worksCarousel .workCard:hover .cover {
  transform: translateY(-3px);
}

.carouselEmpty {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}

/* RECRUTAMENTO */

.recruitmentSection {
  padding-bottom: 42px;
}

.recruitmentBanner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 29px 35px;
  background:
    radial-gradient(ellipse at 90% 20%,#6b8fc544,transparent 40%),
    linear-gradient(115deg,#1c3657,#182945 60%,#29284a);
  border: 1px solid #5276a455;
  border-radius: 19px;
  box-shadow: 0 12px 35px #0002;
}

.recruitmentContent {
  position: relative;
  z-index: 1;
}

.recruitmentContent h2 {
  font: 800 clamp(22px,3vw,30px) Manrope,sans-serif;
  letter-spacing: -.7px;
  margin: 10px 0;
  color: #f2f7ff;
}

.recruitmentContent p {
  color: #c1d3e9;
  font-size: 14px;
  margin: 0;
  line-height: 1.7;
}

.recruitmentButton {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 21px;
  background: linear-gradient(135deg,#65b6f2,#438bd0);
  border: 1px solid #91d2ff66;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 22px #1b5b9233;
  transition: .2s;
}

.recruitmentButton:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.recruitmentButton span {
  font-size: 17px;
}

.recruitmentDecoration {
  position: absolute;
  color: #c6e6ff;
  pointer-events: none;
  opacity: .15;
}

.recruitmentDecorationOne {
  right: 26%;
  top: 8px;
  font-size: 65px;
}

.recruitmentDecorationTwo {
  right: 8%;
  bottom: -28px;
  font-size: 100px;
}

/* MODAL DE RECRUTAMENTO */

.recruitmentModal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
  background: #020712df;
  backdrop-filter: blur(7px);
}

.recruitmentModalBox {
  position: relative;
  width: min(650px,100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 27px;
  background: linear-gradient(145deg,#14253c,#101d31);
  border: 1px solid #365374;
  border-radius: 20px;
  box-shadow: 0 25px 80px #0008;
  animation: recruitmentAppear .22s ease both;
}

@keyframes recruitmentAppear {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.recruitmentClose {
  position: sticky;
  float: right;
  top: 0;
  margin-top: -8px;
  margin-right: -8px;
}

.recruitmentModalHeader {
  padding-right: 30px;
  margin-bottom: 22px;
}

.recruitmentModalHeader h2 {
  font: 800 25px Manrope,sans-serif;
  margin: 9px 0;
  color: #f1f7ff;
}

.recruitmentModalHeader p {
  font-size: 13px;
  color: #a8bdd8;
  margin: 0;
}

.recruitmentOptions {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.recruitmentGroup {
  padding: 16px;
  background: #0d1a2b;
  border: 1px solid #293f5c;
  border-radius: 13px;
}

.recruitmentGroup h3 {
  font: 700 15px Manrope,sans-serif;
  color: #e7f3ff;
  margin: 0 0 5px;
}

.recruitmentGroup > p {
  font-size: 11px;
  color: #91a7c3;
  margin: 0 0 13px;
}

.recruitmentOption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-top: 8px;
  text-decoration: none;
  background: #14263d;
  border: 1px solid #2a4361;
  border-radius: 10px;
  color: #e4f2ff;
  transition: .2s;
}

.recruitmentOption:hover {
  background: #1d3654;
  border-color: #579ed8;
  transform: translateX(2px);
}

.recruitmentOptionIcon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #27486c;
  color: #a8d9ff;
  font-weight: 800;
}

.recruitmentOptionText {
  flex: 1;
  min-width: 0;
}

.recruitmentOptionText strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.recruitmentOptionText small {
  display: block;
  font-size: 10px;
  color: #94acc9;
  margin-top: 4px;
}

.recruitmentOptionArrow {
  color: #82c5ff;
  font-size: 17px;
}

.recruitmentModalFooter {
  text-align: center;
  color: #94b6d6;
  font-size: 12px;
  margin: 20px 0 0;
}

/* FEED CENTRALIZADO */

.latestSection {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.latestSection #grid {
  max-width: 1000px;
  margin: 0 auto;
}

.latestSection .resultsLine {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* PAGINAÇÃO */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 35px auto 10px;
}

.paginationButton,
.paginationNumber {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: #172b43;
  border: 1px solid #2c4563;
  border-radius: 9px;
  color: #b9d2ed;
  font-size: 12px;
  font-weight: 700;
  transition: .2s;
}

.paginationButton:hover:not(:disabled),
.paginationNumber:hover {
  background: #254669;
  border-color: #579bd3;
  color: #fff;
}

.paginationButton:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.paginationNumber.active {
  background: linear-gradient(135deg,#4b9de9,#2871bf);
  border-color: #66b4f2;
  color: white;
  box-shadow: 0 4px 12px #2466a333;
}

.paginationNumbers {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
}

.paginationEllipsis {
  color: #8299b7;
  padding: 0 4px;
}

/* TELEGRAM NO RODAPÉ */

.telegramLink {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  margin-top: 9px;
  border-radius: 50%;
  background: #172e49;
  border: 1px solid #345679;
  color: #86caff;
  transition: .2s;
}

.telegramLink svg {
  width: 20px;
  height: 20px;
}

.telegramLink:hover {
  transform: translateY(-3px);
  background: #238ac4;
  border-color: #75caff;
  color: white;
  box-shadow: 0 6px 18px #168ac444;
}

/* MOBILE */

@media(max-width:750px) {
  .carouselSectionHead {
    flex-direction: row;
    align-items: center;
  }

  .carouselArrows {
    flex: 0 0 auto;
  }

  .carouselArrow {
    width: 35px;
    height: 35px;
  }

  .worksCarousel {
    gap: 12px;
  }

  .worksCarousel > * {
    flex-basis: 145px;
    width: 145px;
  }

  .recruitmentBanner {
    padding: 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .recruitmentButton {
    width: 100%;
  }

  .recruitmentDecorationOne {
    right: 10%;
    font-size: 45px;
  }

  .recruitmentDecorationTwo {
    right: 0;
    font-size: 75px;
  }

  .latestSection #grid {
    width: 100%;
  }

  .pagination {
    gap: 5px;
    margin-top: 27px;
  }

  .paginationButton,
  .paginationNumber {
    min-width: 34px;
    height: 35px;
    padding: 0 9px;
    font-size: 11px;
  }

  .recruitmentModalBox {
    padding: 20px;
  }
}

@media(max-width:420px) {
  .worksCarousel > * {
    flex-basis: 132px;
    width: 132px;
  }

  .carouselArrow {
    width: 32px;
    height: 32px;
  }

  .recruitmentContent h2 {
    font-size: 22px;
  }

  .recruitmentContent p {
    font-size: 12px;
  }

  .recruitmentGroup {
    padding: 12px;
  }

  .recruitmentOption {
    gap: 9px;
    padding: 10px;
  }

  .recruitmentOptionIcon {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
  }

  .paginationButton {
    font-size: 10px;
  }
}

/* =========================================================
   BERRYTOHRU — COMPLEMENTOS DE VISUALIZAÇÕES, RANKING E PERFIL
   ========================================================= */

.cardViews {
  font-size: 10px;
  color: #82baff;
  white-space: nowrap;
  flex-shrink: 0;
}

.popularRank {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(11, 20, 37, 0.88);
  border: 1px solid #4e9ce866;
  color: #8bd5ff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

.popularViews {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #82baff;
  margin-top: 2px;
}

.paginationDots {
  color: #8299b7;
  padding: 0 4px;
}

.commentUsername {
  cursor: pointer;
  color: #8bd5ff;
  transition: color .2s;
}

.commentUsername:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

.achievementMini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: #172b44;
  border: 1px solid #304967;
  border-radius: 10px;
  color: #e8f3ff;
  font-size: 12px;
}