:root{
  --bg:#121212;
  --bg2:#0f0f0f;
  --card:#1a1a1a;
  --text:#f2f2f2;
  --muted:#b7b7b7;
  --pink:#ff4fa3;
  --pink2:#d93b86;
  --red: var(--pink);
  --border:#2a2a2a;
  --radius:12px;
  --shadow-soft:0 10px 30px rgba(0,0,0,.28);
  --shadow-hover:0 14px 44px rgba(0,0,0,.38);
  --glass:rgba(255,255,255,.04);
  /* Wider content like EroMe (bigger thumbs / more breathing room) */
  /* Keep the whole site visually aligned (closer to EroMe's centered layout) */
  --max:1500px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:var(--font);
  background:#0f0f0f;
  color:var(--text);
}

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

header{
  position:sticky;
  top:0;
  background: rgba(0,0,0,.78);
  border-bottom:1px solid rgba(255,255,255,.08);
  z-index:10;
  backdrop-filter: blur(10px);
}


/* Clean monochrome icon bar (email-like) */
.iconbar{ display:flex; align-items:center; gap:10px; }
.icon-btn{
  width:28px; height:28px;
  display:inline-flex; align-items:center; justify-content:center;
  color:#cfcfcf;
  opacity:.78;
  background:transparent;
  border:0;
  border-radius:10px;
  cursor:pointer;
  transition: opacity .12s ease, transform .12s ease, background .12s ease;
}
.icon-btn:hover{ opacity:.95; background: rgba(255,255,255,.04); transform: translateY(-1px); }
.icon-btn:active{ transform: translateY(0); }
.icon-btn svg{ width:18px; height:18px; stroke: currentColor; fill:none; stroke-width:2; }
.icon-btn svg path{ vector-effect: non-scaling-stroke; }

.nav{
  max-width:var(--max);
  margin:auto;
  padding:8px 10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:bold;
}

.brand .logo{
  width:16px;
  height:16px;
  border-radius:4px;
  background:linear-gradient(180deg,var(--pink),var(--pink2));
}

.menu{display:flex;gap:8px;align-items:center}

.btn,button{
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
  padding:6px 10px;
  border-radius:6px;
  cursor:pointer;
  font-size:14px;
}

.btn.primary,button.primary{
  background: rgba(255,79,163,.85);
  color:#111;
  font-weight:700;
  border:1px solid rgba(255,255,255,.08);
}

.container{
  max-width:var(--max);
  margin:auto;
  padding:8px 10px;
}

.container:before{
  content:\"\";
  display:block;
  height:2px;
  margin:0 0 14px;
  background: linear-gradient(90deg, rgba(255,43,43,.0) 0%, rgba(255,43,43,.65) 30%, rgba(255,79,161,.75) 70%, rgba(255,43,43,0) 100%);
  border-radius:999px;
}


.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
}

.hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px;
}

.hero h1{
  margin:0;
  font-size:18px;
}

.hero p{
  margin:6px 0 0;
  font-size:14px;
  color:var(--muted);
}

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap:12px;
}
@media(max-width:520px){
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:360px){
  .grid{ grid-template-columns: 1fr; }
}


.thumb{
  aspect-ratio: 1 / 1;
  background:#000;
  overflow:hidden;
  position:relative;
  border-radius:4px;
}

.thumb video{
  width:100%;
  height:100%;
  object-fit:cover;
}

.meta{
  padding:8px;
}

.meta .title{
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.meta .sub{
  font-size:12px;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
}

.input{
  width:100%;
  padding:10px;
  background:#101010;
  border:1px solid var(--border);
  color:#fff;
  border-radius:6px;
}

label{
  font-size:12px;
  color:var(--muted);
  margin-top:10px;
  display:block;
}

.form{
  max-width:420px;
  margin:auto;
  padding:20px;
}

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

/* ===== PERFIL ===== */
.profileTop{
  text-align:center;
  padding:30px 10px;
}

.avatar{
  /* EroMe-like size */
  width:150px;
  height:150px;
  border-radius:50%;
  background:#333;
  margin:auto;
  overflow:hidden;
}

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

.usernameBig{
  font-size:32px;
  color:var(--pink);
  margin:12px 0;
}

.profileBtns{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-bottom:10px;
}

.statsRow{
  font-size:12px;
  color:var(--muted);
  display:flex;
  gap:16px;
  justify-content:center;
}

.tabs{
  display:flex;
  gap:16px;
  border-bottom:1px solid var(--border);
  margin-bottom:10px;
}

/* Topo do feed: menos "vazio" e mais próximo do EroMe (tabs + busca) */
.tabs.feed-top{ margin-top: 2px; margin-bottom: 12px; }

.tab{
  padding:10px 0;
  cursor:pointer;
  color:var(--muted);
}

.tab.active{
  color:var(--pink);
  border-bottom:2px solid var(--pink);
}


/* Modern segmented tabs (EroMe-ish, premium) */
.tabs.feed-top{
  border-bottom: none;
  justify-content: center;
  margin: 10px auto 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  padding: 6px;
  border-radius: 999px;
  width: fit-content;
}
.tabs.feed-top .tab{
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  font-weight: 600;
  letter-spacing: .2px;
  transition: background .14s ease, color .14s ease, transform .14s ease;
}
.tabs.feed-top .tab:hover{ background: rgba(255,255,255,.05); transform: translateY(-1px); }
.tabs.feed-top .tab.active{
  color: #111;
  background: rgba(255,79,163,.92);
  border-bottom: none;
  box-shadow: 0 10px 28px rgba(255,79,163,.18);
}
/* Feed tabs (POPULARES / NOVOS) — more button-like, closer to EroMe */

.homebar{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:12px;
}
.homebar .home-title{ justify-self:start; }
.homebar .home-tabs{ justify-self:center; }

.homebar .home-tabs{
  border-bottom:none;
  gap:8px;
  margin-bottom:0;
}
.homebar .home-tabs .tab{
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,0.03);
  font-weight:600;
  letter-spacing:.4px;
  line-height:1;
  user-select:none;
}
.homebar .home-tabs .tab:hover{
  background:rgba(255,255,255,0.06);
  color:#fff;
}
.homebar .home-tabs .tab.active{
  border-bottom:none;
  background:rgba(255,0,122,0.12);
  border-color:rgba(255,0,122,0.35);
  color:var(--pink);
  box-shadow:0 0 0 1px rgba(255,0,122,0.20) inset;
}


/* Home (Explore) header — closer to EroMe */
.homebar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom: 6px;
}
.homeLeft{ display:flex; align-items:flex-end; gap:16px; flex-wrap:wrap; }
.homeTitle{
  font-size:28px;
  font-weight:900;
  letter-spacing:.2px;
  color: rgba(255,255,255,.92);
}
.homeTabs{ display:flex; align-items:center; gap:14px; }
.homeTabs .seg{
  border:0;
  background:transparent;
  color: rgba(255,255,255,.70);
  font-weight:900;
  letter-spacing:.55px;
  padding: 4px 2px;
  cursor:pointer;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
}
.homeTabs .seg:hover{ color:#fff; }
.homeTabs .seg.active{
  color: var(--sexyred);
  border-bottom-color: var(--sexyred);
}



/* utility */
.hidden{display:none !important;}

/* Avatar edit (pencil) */
.avatar-editable{position:relative;}
.avatar-edit-btn{
  position:absolute;
  right:6px;
  bottom:6px;
  width:32px;
  height:32px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(0,0,0,0.65);
  color:var(--pink);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
}
.avatar-edit-btn:hover{filter:brightness(1.08)}

/* Simple modal (Erome-like) */
.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.65);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:90px;
  z-index:9999;
}
.modal{
  width:min(520px, calc(100vw - 40px));
  background:#2a2a2a;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:8px;
  padding:18px;
  box-shadow:0 20px 50px rgba(0,0,0,0.45);
}
.modal-title{font-size:18px;margin-bottom:14px;color:var(--text)}
.modal .btn{width:100%;margin:8px 0;}

/* VIDEO PAGE (Erome-like) */
.video-page {
  max-width: var(--max);
  margin: 0 auto;
}

.video-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.video-wrapper video {
  max-width: 100%;
  max-height: 86vh;
  background: #000;
  border-radius: 6px;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tags .tag {
  background: #222;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
  margin-right: 6px;
}

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

/* ===== Video page (Erome-like) ===== */
.video-page { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.vpage { padding-bottom: 30px; }

.vhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.25);
  border-radius: 10px;
}

.vtitle{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2px;
}

.vmeta { margin-top: 6px; color: var(--muted); }
.vsub { display: inline-block; }

.btn-like{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s ease, transform .12s ease, border-color .12s ease;
}
.btn-like:hover{ background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); transform: translateY(-1px); }

.btn-like:disabled{ opacity:.55; cursor:not-allowed; }

.vplayer{
  max-width: var(--max);
  margin: 16px auto 10px;
  padding: 0 12px;
  display: flex;
  justify-content: center;
}

.vplayer video{
  width: min(1120px, 100%);
  max-height: 80vh;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.vbar{
  max-width: var(--max);
  margin: 10px auto 0;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.22);
  border-radius: 10px;
}

.vtags { display:flex; gap:8px; flex-wrap: wrap; min-width: 0; }
.vtags .tag{ flex: 0 0 auto; width: auto; }
.tag{
  display:inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.tag:hover{ color: #fff; border-color: rgba(255,255,255,.2); }

.vstats{ color: var(--muted); text-align:right; }

.vsection{
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.18);
  border-radius: 10px;
}

.vsection-title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.vcomment{
  display:flex;
  gap: 10px;
  align-items: flex-start;
}

.vcomment textarea{
  flex:1;
  min-height: 46px;
  resize: vertical;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  color: #fff;
  padding: 10px;
}

.btn-primary{
  border: 1px solid rgba(255,255,255,.12);
  background: var(--pink);
  color: #111;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 8px;
  cursor:pointer;
}

.comments .comment{
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

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

/* Keep player wide (Erome-like) */
.vhead, .vbar, .vsection { max-width: var(--max); margin: 0 auto; }

/* ===== SETTINGS (Erome-like) ===== */
.settingsCard{ padding: 16px; }
.settingsHeaderRow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 10px;
}
.settingsSection{
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.settingsTitle{
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.settingsRow{
  display:flex;
  gap:10px;
  align-items:center;
}
.settingsRow .input{ flex:1; }
.settingsMsg{ margin-top: 6px; }
.settingsMsg.ok{ color: #7cffb5; }
.settingsMsg.err{ color: var(--pink); }
.settingsLink{ color: var(--pink); }
.settingsLink:hover{ text-decoration: underline; }
.checkRow{
  display:flex;
  align-items:center;
  gap:8px;
  color: var(--muted);
  margin: 6px 0;
  font-size: 13px;
}
.checkRow input{ accent-color: var(--pink); }

/* ===== VIDEO PAGE LAYOUT (EROME STYLE) ===== */
.video-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

.video-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.video-title {
  font-size: 20px;
  font-weight: 600;
}

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

/* Player */
.video-player {
  display: flex;
  justify-content: center;
  margin: 12px 0 18px;
}

.video-player video {
  width: 100%;
  max-width: 720px;
  border-radius: 6px;
  background: #000;
}

/* Card sections */
.video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 14px;
}



/* ===== POST HEADER (EROME-LIKE) ===== */
.postbar{
  /* Fill the available page width (consistent on album/video pages) */
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.22);
  border-radius: 10px;
  display:flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

/* Post header: title ABOVE author row (EroMe-like) */
.post-left{ min-width:0; }
.post-titleBig{
  font-weight: 900;
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 10px;
  max-width: 860px;
  word-break: break-word;
}
.post-authorRow{ display:flex; align-items:center; gap:12px; min-width:0; }
.post-authorRow .post-authorText{ display:flex; flex-direction:column; min-width:0; }
.post-username{ font-weight:800; color: var(--pink); line-height:1.1; }
.post-date{ margin-top:3px; color: var(--muted); font-size:12px; }

.post-author{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
}

.post-author a.author{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
}

.post-avatar{
  width:44px;
  height:44px;
  border-radius:999px;
  background:#222;
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
  flex: 0 0 auto;
}

.post-avatar.noimg{
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-weight:900;
  font-size:16px;
  color: rgba(255,255,255,.86);
  text-transform:uppercase;
  letter-spacing:.02em;
}
.post-avatar.noimg img{ display:none; }
.post-avatar.noimg::after{ content: attr(data-letter); }

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

.post-authorText{ min-width:0; }

/* legacy (kept for safety, but unused after v46 adjustments) */
.post-title{
  font-weight:700;
  font-size:14px;
  margin-top:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 420px;
}

.btn-follow{
  margin-left: 6px;
  border: none;
  background: var(--pink);
  color:#111;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 8px;
  cursor:pointer;
  white-space: nowrap;
}
.btn-follow.following{
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 800;
}
.btn-follow:disabled{ opacity:.6; cursor:not-allowed; }

.post-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 0 0 auto;
}

.post-icons{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}

.post-icon{
  display:flex;
  align-items:center;
  gap:6px;
  white-space: nowrap;
}
.post-icon svg{ width:18px; height:18px; opacity:.85; }

.post-actions{ display:flex; gap:8px; align-items:center; }
.post-actions .btn{
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 700;
}
.post-actions .btn.primary{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.post-actions .btn.likebtn.liked{
  background: var(--pink);
  color:#111;
  border:none;
}

@media(max-width:900px){
  .postbar{ flex-direction:column; align-items:stretch; }
  .post-right{ width:100%; justify-content:space-between; }
  .post-title{ max-width: 100%; }
}

.profileBtns .btn.following{ background:transparent; border:1px solid rgba(255,255,255,.18); color:#fff; font-weight:700; }


/* =====================
   FEED CARDS (EROME-LIKE)
   ===================== */
:root{
  --radius-lg: 10px;
  --shadow: 0 12px 34px rgba(0,0,0,.42);
}

/* homebar layout is defined earlier (grid) to keep POPULARES/NOVOS centered */

.feed-toolbar{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  margin-top:0;
}

/* Busca centralizada (evita topo "cru") */
.feed-toolbar .feed-search{ max-width: 760px; margin: 0 auto; }

.feed-search{ flex: 1; min-width: 240px; }
.feed-search .input{ padding: 10px 12px; border-radius: 10px; }

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

.post-card{
  display:block;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow:hidden;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.post-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
  box-shadow: var(--shadow-hover);
}

.post-top{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px 8px;
}

.post-avatar-sm{
  width:26px;
  height:26px;
  border-radius:999px;
  background:#2a2a2a;
  overflow:hidden;
  flex: 0 0 auto;
}
.post-avatar-sm img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.post-avatar-sm.noimg{
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-weight:800;
  font-size:12px;
  color: rgba(255,255,255,.80);
  text-transform:uppercase;
  letter-spacing:.02em;
}
.post-avatar-sm.noimg img{ display:none; }
.post-avatar-sm.noimg::after{ content: attr(data-letter); }

.post-toptext{ min-width: 0; }
.post-userline{
  display:flex;
  gap:8px;
  align-items:center;
  color: var(--muted);
  font-size: 12px;
}
.post-userline .user{
  color:#fff;
  font-weight:700;
}
.post-userline .dot{ opacity:.6; }
.post-card-title{
  margin-top:2px;
  font-size:14px;
  font-weight:700;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.post-thumb{
  position:relative;
  aspect-ratio: 16/9;
  background:#000;
  overflow:hidden;
}
.post-thumb video{
  width:100%;
  height:100%;
  object-fit:cover;
}
.post-badge{
  position:absolute;
  left:10px;
  bottom:10px;
  background:rgba(0,0,0,.62);
  padding:4px 8px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(255,255,255,.12);
}

.post-stats{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  padding:10px 10px 12px;
  border-top:1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size:12px;
}
.stat{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.stat svg{
  width:14px;
  height:14px;
  opacity:.9;
}

/* Feed grid (Erome-like) — 6 cards por linha (desktop), como o EroMe */
.grid.feed-grid{
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap:14px;
}
@media(max-width:1400px){
  .grid.feed-grid{ grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media(max-width:1180px){
  .grid.feed-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media(max-width:860px){
  .grid.feed-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media(max-width:520px){
  .grid.feed-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap:12px; }
}
@media(max-width:360px){
  .grid.feed-grid{ grid-template-columns: 1fr; }
}

}

/* Erome-like card */
.erome-card{ display:block; text-decoration:none; color:inherit; }
.erome-thumb{
  position:relative;
  border-radius:4px;
  overflow:hidden;
  background:#000;
  /* EroMe cards are a bit taller than 16:9 */
  aspect-ratio: 1 / 1;
}
.erome-thumb img, .erome-thumb video{ width:100%; height:100%; object-fit:cover; display:block; }
.erome-overlay{ position:absolute; left:0; right:0; bottom:0; padding:6px 8px; display:flex; justify-content:space-between; align-items:center; background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.78) 100%); color:#fff; font-size:12px; }
.erome-left{ display:inline-flex; gap:6px; align-items:center; opacity:.95; }
.erome-right{ display:inline-flex; gap:10px; align-items:center; opacity:.95; }
.erome-mini{ display:inline-flex; gap:6px; align-items:center; }
.erome-overlay svg{ width:14px; height:14px; }
.erome-meta{ padding:6px 2px 0; }
.erome-userrow{ display:flex; align-items:flex-start; gap:8px; }
.erome-avatar{
  width:26px; height:26px;
  border-radius:50%;
  object-fit:cover;
  flex:0 0 26px;
  margin-top:2px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.erome-text{ min-width:0; flex:1; }
.erome-title{ font-weight:800; font-size:14px; line-height:1.25; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.erome-user{ margin-top:3px; font-size:11px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* sexy glow (detalhes vermelhos) */
.erome-card:hover .erome-thumb{
  box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 10px 28px rgba(0,0,0,.55), 0 0 0 1px rgba(255,43,43,.22) inset;
}
.tabs .tab.active{
  border-bottom-color: var(--sexyred);
}

/* Skeleton loading */
.skeleton{ position:relative; overflow:hidden; background:rgba(255,255,255,.06); }
.skeleton::after{ content:''; position:absolute; inset:0; transform:translateX(-100%);
  background:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.08) 50%, rgba(255,255,255,0) 100%);
  animation:skeletonShimmer 1.2s infinite; }
.skeleton-line{ height:10px; border-radius:6px; background:rgba(255,255,255,.06); position:relative; overflow:hidden; }
.skeleton-line::after{ content:''; position:absolute; inset:0; transform:translateX(-100%);
  background:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.08) 50%, rgba(255,255,255,0) 100%);
  animation:skeletonShimmer 1.2s infinite; }
@keyframes skeletonShimmer{ 100%{ transform:translateX(100%); } }

/* Explore pagination */
.pager{ display:flex; justify-content:center; gap:6px; flex-wrap:wrap; margin:16px 0 6px; user-select:none; }
.pager a{ min-width:32px; height:32px; padding:0 10px; display:inline-flex; align-items:center; justify-content:center; text-decoration:none; color:var(--text); background:#0f0f0f; border:1px solid rgba(255,255,255,.12); border-radius:6px; font-size:13px; }
.pager a:hover{ border-color: rgba(255,255,255,.28); }
.pager a.active{ background: var(--red); border-color: var(--red); color:#000; font-weight:700; }
.pager-dots{ display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; color:var(--muted); }

/* profile tweaks */
.profileNameRow{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}
.profileNameRow .btn-follow{ height: 34px; }


/* Icon menu (Erome-like) */
.iconMenu{display:flex;align-items:center;gap:10px;margin-right:8px}
.iconbtn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:7px;color:#e6e6e6;font-size:14px;line-height:1;opacity:1;border:0;background:transparent;padding:0;cursor:pointer}

/* Make header icons always visible on dark backgrounds */
.iconbtn svg{width:18px;height:18px;display:block;stroke:#fff;fill:none;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}
.iconbtn svg path{stroke:#fff;fill:none}
.icon-btn svg{width:18px;height:18px;display:block;fill:currentColor}
.icon-btn svg path{fill:currentColor}

.iconbtn:hover{color:#ff4fa1;background:rgba(255,79,161,.10)}
.iconbtn:focus{outline:none;box-shadow:none}

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

.post-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.62) 100%);
  opacity:.55;
  pointer-events:none;
  transition: opacity .16s ease;
}
.post-card:hover .post-thumb::after{ opacity:.75; }

.post-thumb img, .post-thumb video{
  transition: transform .18s ease, filter .18s ease;
}
.post-card:hover .post-thumb img,
.post-card:hover .post-thumb video{
  transform: scale(1.045);
  filter: saturate(1.05);
}


/* Upload (Album editor) - Erome-like */
.album-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.album-user{display:flex;align-items:center;gap:10px}
.album-actions{display:flex;align-items:center;gap:12px}
.album-views{font-size:12px;color:var(--muted)}
.album-title{width:100%;background:transparent;border:1px dashed rgba(255,255,255,.22);border-radius:8px;padding:14px 12px;font-size:22px;color:var(--text);outline:none}
.album-title:focus{border-color:rgba(255,255,255,.38)}
.dropzone{margin-top:12px;border:1px dashed rgba(255,255,255,.22);border-radius:8px;padding:28px 12px;text-align:center;position:relative;cursor:pointer}
.dropzone.drag{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.04)}
.dzPlus{font-size:42px;line-height:1;color:rgba(255,255,255,.55)}
.dzText{margin-top:6px;color:rgba(255,255,255,.55)}
.dzInput{position:absolute;inset:0;opacity:0;pointer-events:none}

/* Upload previews (show immediately, before SAVE) */
.uploadPreview{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.uploadTile{
  border:1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  overflow:hidden;
  background:#000;
  position:relative;
  aspect-ratio: 16/9;
}
.uploadTile img,.uploadTile video{ width:100%; height:100%; object-fit:cover; display:block; }
.uploadTile .uploadBadge{
  position:absolute;
  left:8px;
  bottom:8px;
  background: rgba(0,0,0,.62);
  border:1px solid rgba(255,255,255,.14);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: rgba(255,255,255,.9);
}
.uploadTile.loading::after{
  content:"Carregando…";
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.85);
  font-weight:800;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
}
.tagRow{margin-top:14px;border:1px dashed rgba(255,255,255,.22);border-radius:8px;padding:10px}
.tagInput{width:100%;background:transparent;border:0;outline:none;color:var(--text);font-size:14px}

.gear{position:relative}
.gearBtn{background:#111;border:1px solid rgba(255,255,255,.12);color:var(--text);border-radius:8px;padding:8px 10px;cursor:pointer}
.gearMenu{position:absolute;right:0;top:42px;min-width:220px;background:#161616;border:1px solid rgba(255,255,255,.12);border-radius:8px;overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.55);z-index:40}
.gearItem{display:block;width:100%;text-align:left;background:transparent;border:0;color:var(--text);padding:10px 12px;cursor:pointer;font-size:12px}
.gearItem:hover{background:rgba(255,255,255,.06)}
.gearItem.danger{color:#ff8aa6}

.modal{position:fixed;inset:0;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;z-index:50;padding:16px}
.modalCard{width:min(860px, 96vw);max-height:86vh;overflow:auto;background:#141414;border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:14px}
.modalTitle{font-weight:700;margin-bottom:10px}
.coverGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.coverTile{border:1px solid rgba(255,255,255,.12);border-radius:12px;overflow:hidden;background:#000;cursor:pointer;position:relative}
.coverTile.active{outline:2px solid var(--accent)}
.coverTile img,.coverTile video{width:100%;height:110px;object-fit:cover;display:block}
.coverCheck{position:absolute;top:8px;left:8px;width:22px;height:22px;border-radius:999px;background:rgba(0,0,0,.72);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;border:1px solid rgba(255,255,255,.18)}
.coverBadge{position:absolute;left:8px;top:8px;background:rgba(0,0,0,.6);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:3px 8px;font-size:11px}

.reList{display:flex;flex-direction:column;gap:10px}
.reRow{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:8px;background:rgba(0,0,0,.2)}
.reThumb{width:78px;height:54px;border-radius:8px;overflow:hidden;background:#000;flex:0 0 auto}
.reThumb img,.reThumb video{width:100%;height:100%;object-fit:cover;display:block}
.reName{flex:1;min-width:120px;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reHint{opacity:.55;font-size:11px;white-space:nowrap}
.reRow[draggable=true]{cursor:grab}
.reRow.dragging{opacity:.55}
.reBtns{display:flex;gap:8px}


/* Album viewer sizing */
#viewer{background:#000;border-radius:10px;overflow:hidden}
#viewer img,#viewer video{width:100%;max-height:82vh;object-fit:contain;display:block;background:#000}


.taglink{color:var(--muted);text-decoration:none;border-bottom:1px dashed rgba(255,255,255,.18)}
.taglink:hover{color:#fff;border-bottom-color:rgba(255,255,255,.5)}



/* =========================
   NAV SEARCH (Erome-like)
========================= */
.nav{
  position: relative;
}
.nav-search{
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 14px;
}
.nav-search.hidden{ display:none !important; }

.nav-search-inner{
  width: min(680px, 100%);
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  height: 38px;
}
.nav-search-ico{
  opacity: .75;
  padding: 0 10px;
  font-size: 14px;
}
.nav-search-input{
  flex: 1;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}
.nav-search-input::placeholder{ color: rgba(255,255,255,0.5); }

.nav-search-clear{
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0 10px;
  height: 100%;
}
.nav-search-clear:hover{ color: rgba(255,255,255,0.95); }

.nav-search-drop{
  width: min(720px, calc(100vw - 36px));
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  overflow: hidden;
  z-index: 9999;
}
.nav-search-drop.hidden{ display:none; }

.nav-suggest{
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
}
.nav-suggest:hover{
  background: rgba(255,255,255,0.06);
}
.nav-suggest-ico{
  opacity: .75;
  display: inline-flex;
  justify-content: center;
}
.nav-suggest-main{
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-suggest-sub{
  font-size: 12px;
  color: var(--muted);
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-suggest-sep{
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 4px 0;
}
.nav-suggest-group{
  padding: 2px 0;
}

@media (max-width: 860px){
  .nav-search{ display:none; } /* em telas pequenas, some igual muitos sites */
}


/* Admin pills */
.pill{display:inline-block;padding:2px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.18);font-size:12px;line-height:18px;color:rgba(255,255,255,.85)}
.pill-warn{border-color: rgba(255, 199, 0, .35); color: rgba(255, 199, 0, .95)}
.pill-bad{border-color: rgba(255, 80, 80, .45); color: rgba(255, 80, 80, .95)}

/* Album view grid: force uniform thumbs (fix stretched / oversized media) */
.page-album #grid.grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 900px){
  .page-album #grid.grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .page-album #grid.grid{ grid-template-columns:repeat(1, minmax(0,1fr)); }
}
.page-album #grid .thumb{
  position:relative;
  border-radius:12px;
  overflow:hidden;
  background:#000;
  aspect-ratio:16/9;
  border:1px solid rgba(255,255,255,.06);
}
.page-album #grid .thumb .overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  pointer-events:none;
}
.page-album #grid .thumb .badge{
  margin:8px;
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.92);
}
.page-album #grid .thumb img,
.page-album #grid .thumb video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


/* Album: uniform thumbs like Erome */
.page-album .grid{
  grid-template-columns:repeat(3,1fr);
}
@media (max-width: 900px){
  .page-album .grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 560px){
  .page-album .grid{ grid-template-columns:1fr; }
}
.page-album .grid .thumb{ border-radius:14px; overflow:hidden; }



/* Album: single video mode */
.single-video-wrap{width:100%;}
.single-video-player{width:100%;max-height:70vh;display:block;background:#000;border-radius:16px;}



/* ===== Album page fixes (Erome-like) ===== */
.page-album #grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:12px;
}
@media (max-width: 900px){
  .page-album #grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .page-album #grid{ grid-template-columns: 1fr; }
}
.page-album .album-item{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  background:#0f0f0f;
  aspect-ratio: 16 / 9;
}
.page-album .album-item img,
.page-album .album-item video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.page-album .album-item video{ pointer-events:none; }
.page-album .album-item .badge{
  position:absolute;
  top:10px;
  left:10px;
  z-index:2;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.page-album .cardlink{ text-decoration:none; }
.page-album .single-video-wrap{ margin-top: 10px; }
.page-album .single-video-player{
  width:100%;
  max-height: 70vh;
  border-radius: 16px;
  background:#000;
  display:block;
}


/* Album view: main stage + thumbnails (closer to EroMe) */
.page-album #stage.album-stage{
  position:relative;
  width:100%;
  background:#000;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
  aspect-ratio:16/9;
}
.page-album #stage.album-stage img,
.page-album #stage.album-stage video{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.page-album #thumbs.album-thumbs{
  margin-top:12px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 900px){
  .page-album #thumbs.album-thumbs{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .page-album #thumbs.album-thumbs{ grid-template-columns:repeat(1, minmax(0,1fr)); }
}

.page-album .album-thumb{
  position:relative;
  padding:0;
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  overflow:hidden;
  background:#000;
  aspect-ratio:16/9;
  cursor:pointer;
}
.page-album .album-thumb img,
.page-album .album-thumb video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.page-album .album-thumb .badge{
  position:absolute;
  top:10px;
  left:10px;
  font-size:12px;
  font-weight:700;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.12);
}
.page-album .album-thumb.active{
  outline:2px solid var(--pink);
  outline-offset:2px;
}


/* Tabs (Populares / Novos) */
.tabs{ display:flex; justify-content:center; gap:10px; margin: 10px 0 6px; }
.tab{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: #d7d7d7;
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  user-select: none;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.tab:hover{ background: rgba(255,255,255,.05); transform: translateY(-1px); }
.tab.active{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}


/* Erome PRO polish */
.erome-card{ transition: transform .14s ease; }
.erome-thumb{
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.08);
}
.erome-thumb::after{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.00);
  transition: background .14s ease;
}
.erome-card:hover{ transform: translateY(-2px); }
.erome-card:hover .erome-thumb::after{ background: rgba(0,0,0,.25); }
.erome-overlay{ padding: 8px 10px; font-size: 12px; }
.erome-title{ font-weight: 600; font-size: 13px; }
.erome-user{ font-size: 12px; color: var(--muted); margin-top: 4px; }
.thumb-fallback{ filter: grayscale(1); opacity: .65; }


/* Generic card polish (used in related lists etc.) */
a.card{ display:block; transition: transform .14s ease, border-color .14s ease, background .14s ease; border-radius: 12px; overflow:hidden; }
a.card:hover{ transform: translateY(-2px); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.03); }
.thumb{ border-radius: 12px; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.08); }


/* Video page wide layout */
.vpage .vhead{ max-width: var(--max); margin-left:auto; margin-right:auto; }
.vpage .vmeta{ max-width: var(--max) !important; margin-left:auto !important; margin-right:auto !important; }
.vplayer{ max-width: var(--max); margin: 12px auto 0; border-radius: 12px; overflow:hidden; border:1px solid rgba(255,255,255,.10); background:#000; }
.vplayer video{ width:100%; height:auto; display:block; }

/* Keep post header aligned with the player on video/album pages */
.vpage .postbar,
.apage .postbar{
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

/* ===== Search modal (magnifier icon in header like EroMe) ===== */
.search-modal.hidden{ display:none !important; }
.search-modal{
  position:fixed;
  inset:0;
  z-index:50;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(8px);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding: 56px 12px 18px;
}
.search-panel{
  width: min(720px, calc(100vw - 36px));
  background: rgba(0,0,0,.78);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0,0,0,.65);
  overflow:hidden;
}
.search-top{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.search-top .search-ico{
  width:18px; height:18px;
  color: rgba(255,255,255,.75);
}
.search-top input{
  flex:1;
  background:transparent;
  border:0;
  outline:none;
  color: var(--text);
  font-size:14px;
}
.search-top input::placeholder{ color: rgba(255,255,255,.45); }
.search-x{
  width:28px; height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  border:0;
  background: transparent;
  color: rgba(255,255,255,.70);
  cursor:pointer;
}
.search-x:hover{ background: rgba(255,255,255,.06); color:#fff; }
.search-list{ padding: 6px 0; max-height: min(62vh, 520px); overflow:auto; }
.search-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 10px 12px;
  cursor:pointer;
  border-top: 1px solid rgba(255,255,255,.06);
}
.search-row:first-child{ border-top: 0; }
.search-row:hover{ background: rgba(255,255,255,.04); }
.search-row .left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.search-row .left .ico{
  width:18px; height:18px;
  opacity:.85;
}
.search-row .txt{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.search-row .del{
  width:28px; height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  border:0;
  background: transparent;
  color: rgba(255,255,255,.55);
  cursor:pointer;
}
.search-row .del:hover{ background: rgba(255,255,255,.06); color:#fff; }
.search-group-title{
  padding: 10px 12px 6px;
  color: rgba(255,255,255,.55);
  font-size:12px;
  letter-spacing:.2px;
}
.vsection{ max-width: 1100px !important; }

/* Avatar fallback (letter) like Erome */
.erome-avatarWrap{
  width:26px; height:26px;
  border-radius:50%;
  flex:0 0 26px;
  margin-top:2px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  font-weight:800;
  font-size:12px;
  color: rgba(255,255,255,.80);
  text-transform:uppercase;
  letter-spacing:.02em;
}
.erome-avatarWrap img{ width:100%; height:100%; object-fit:cover; display:block; }
.erome-avatarWrap.noimg img{ display:none; }
.erome-avatarWrap.noimg::after{ content: attr(data-letter); }

/* Profile avatar letter fallback */
.avatar.noimg{
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  position:relative;
}
.avatar.noimg img{ display:none; }
.avatar.noimg::after{
  content: attr(data-letter);
  font-weight:900;
  font-size:64px;
  color: rgba(255,255,255,.70);
  text-transform:uppercase;
  letter-spacing:.02em;
}

/* Card hover polish */
.erome-thumb img{ transition: transform .18s ease, filter .18s ease; }
.erome-card{ transition: transform .18s ease; }
.erome-card:hover{ transform: translateY(-2px); }
.erome-card:hover .erome-thumb img{ transform: scale(1.045); filter: saturate(1.05); }
.erome-thumb{ box-shadow: 0 0 0 1px rgba(255,255,255,.06); transition: box-shadow .18s ease; }
.erome-card:hover .erome-thumb{ box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 10px 28px rgba(0,0,0,.55); }

/* Fix icon visibility: keep stroke white so it doesn't disappear on dark headers */
.iconbtn svg{width:18px;height:18px;display:block;stroke:#fff;fill:none;stroke-width:2.25}
.iconbtn svg path{stroke:#fff;fill:none}


#nav-search-btn svg{width:20px;height:20px;}

.brand-logo{
  /* Match Erome-like header scale (logo should be readable but not oversized) */
  height:34px;
  width:auto;
  display:block;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,.35));
}

@media (max-width: 520px){
  .brand-logo{ height:28px; }
}


/* --- Header fine-tuning (Erome-like) --- */
#nav-search-btn{
  width:auto !important;
  height:auto !important;
  padding:6px 6px !important;
  border-radius:0 !important;
  background:transparent !important;
  border:0 !important;
}
#nav-search-btn:hover{
  background:transparent !important;
}
#nav-search-btn:focus{
  outline:none !important;
  box-shadow:none !important;
}
#nav-search-btn svg{
  width:26px !important;
  height:26px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2.2 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}

/* keep other icon buttons as-is, but make the settings gear look crisp */
#nav-settings svg{
  width:24px;
  height:24px;
  stroke-width:2.05;
}



/* Profile tabs (EroMe-ish) */
.tabs.profile-tabs{ justify-content:flex-start; gap:22px; margin-top:18px; }
.tabs.profile-tabs .tab{ font-weight:800; letter-spacing:.25px; }


/* --- Profile tabs cleaner (Erome-like) --- */
.tabs.profile-tabs{
  border-bottom:none;
  margin-top:22px;
  margin-bottom:14px;
  justify-content:flex-start;
  gap:14px;
  position:relative;
  padding-bottom:12px;
}
.tabs.profile-tabs::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background:var(--border);
  opacity:.9;
}
.tabs.profile-tabs .tab{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.02);
  line-height:1;
}
.tabs.profile-tabs .tab.active{
  border-color:rgba(255,56,128,0.55);
  background:rgba(255,56,128,0.08);
  color:#fff;
}


/* Profile tabs (clean, not glued to divider) */
.profileTabsWrap{
  margin-top: 18px;
  margin-bottom: 18px;
  position: relative;
}
.profileTabsWrap:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: rgba(255,255,255,.10);
}
.profileTabs{
  display:flex;
  gap:10px;
  padding-bottom: 12px;
}
.profileTabs .tabpill{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.78);
  padding:7px 14px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .2px;
  cursor:pointer;
}
.profileTabs .tabpill.active{
  border-color: rgba(255,60,60,.55);
  box-shadow: 0 0 0 1px rgba(255,60,60,.25), 0 10px 22px rgba(255,60,60,.10);
  color:#fff;
}

