/* Template fiel ao print (fundo totalmente branco) */
:root{
  --bg:#ffffff;
  --card:#ffffff;
  --text:#111827;
  --muted:#9ca3af;
  --line:#e6e7ea;
  --blue:#00AFF0;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:#ffffff;
  color:var(--text);
  font-weight:400;
}
img{max-width:100%;display:block}
button{font:inherit}
a{color:inherit;text-decoration:none}

.layout{
  display:grid;
  grid-template-columns: 260px 620px 360px;
  max-width:1240px;
  margin:0 auto;
  min-height:100vh;
  background:#ffffff;
}

/* LEFT */
.left{
  background:#ffffff;
  border-right:1px solid var(--line);
}
.left-inner{
  padding:0;
  position:sticky;
  top:0;
  height:100vh;
}
.sidebar-shot{width:100%;height:auto}

/* CENTER */
.center{
  background:#ffffff;
  border-right:1px solid var(--line);
}
.center-inner{max-width:620px;margin:0 auto}

/* COVER */
.cover{
  position:relative;
  height:260px;
  overflow:hidden;
  background:#ffffff;
}
.cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.cover-bar{
  position:absolute;
  top:0;left:0;right:0;
  height:52px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  background:linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0));
  z-index:10;
}
.cover-back{
  width:32px;height:32px;
  border:0;
  background:transparent;
  color:#ffffff;
  cursor:pointer;
}
.cover-title{
  display:flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
  font-weight:600;
  font-size:15px;
  color:#ffffff;
}
.cover-verified{
  width:14px;height:14px;
  margin-left:4px;
}

/* PROFILE HEADER */
.phead{
  position:relative;
  padding:16px 14px 16px;
  border-bottom:1px solid var(--line);
  /* deixa espaço para o avatar (que fica sobreposto) */
  padding-top:56px;
}
.avatar-wrap{
  position:absolute;
  left:14px;
  top:-44px; /* sobrepõe a capa */
  width:92px;
  height:92px;
}
.avatar{
  width:88px;
  height:88px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid #ffffff;
  background:#e5e7eb;
}
.online{
  position:absolute;
  right:7px;
  bottom:7px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#22c55e;
  border:3px solid #ffffff;
}

.pinfo{
  margin-left:14px; /* exatamente abaixo do avatar */
  padding-top:0;
}

.pinfo-top{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
}
.pname{
  display:flex;
  align-items:center;
  gap:4px;
}
.pname-txt{
  font-size:20px;
  font-weight:600;
}
.p-verified{width:14px;height:14px}

.share{
  position:absolute;
  right:14px;
  top:14px;
  width:40px;
  height:40px;
  border-radius:50%;
  border:2px solid #e5e7eb;
  background:#ffffff;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.share img{
  width:22px;
  height:22px;
}

.phandle{
  margin-top:2px;
  font-size:13px;
  color:var(--muted);
}
.bio{
  margin-top:6px;
  font-size:14px;
  color:#111827;
}

/* Subscription (center) */
.box-img{
  border-bottom:1px solid var(--line);
}
.box-img img{width:100%;height:auto}

/* Tabs */
.tabs{
  display:flex;
  border-bottom:1px solid var(--line);
}
.tab{
  flex:1;
  padding:12px 0;
  border:0;
  background:transparent;
  font-size:12px;
  font-weight:600;
  color:var(--muted);
  cursor:pointer;
}
.tab.active{
  color:#111827;
  border-bottom:2px solid #111827;
}

/* Empty */
.empty-img{
  padding:26px 0 40px;
  display:flex;
  justify-content:center;
}
.empty-img img{
  max-width:420px;
  width:100%;
  height:auto;
}

/* RIGHT */
.right{background:#ffffff}
.right-inner{
  padding:16px 16px;
  position:sticky;
  top:0;
}
.rbox-img{
  width:360px;
  max-width:100%;
}
.rbox-img img{
  width:100%;
  height:auto;
  border:1px solid var(--line);
  border-radius:6px;
}

/* Responsive */
@media (max-width: 1200px){
  .layout{grid-template-columns:260px 1fr}
  .right{display:none}
}
@media (max-width: 820px){
  .layout{grid-template-columns:1fr}
  .left{display:none}
  .center{border-right:0}
}

/* Ajuste fino do tamanho e distância dos verificados */
.cover-verified{
  width:16px !important;
  height:16px !important;
  margin-left:4px !important;
  display:inline-block;
}
.p-verified{
  width:16px !important;
  height:16px !important;
  margin-left:4px !important;
  display:inline-block;
}

/* Nome na capa */
.cover-title{
  gap:4px !important;
}

.cover-verified, .p-verified{
  max-width:none !important;
}

.pname{
  max-width:200px;
}

/* Avatar +5px */
.avatar{ width:93px !important; height:93px !important; }
.avatar-wrap{ width:97px !important; height:97px !important; }

/* Links clicáveis nas imagens (você troca o href manualmente) */
a.clickable{ display:inline-block; text-decoration:none; }
a.clickable img{ cursor:pointer; }
a.clickable:focus{ outline:2px solid rgba(0,175,240,.35); outline-offset:2px; }
