/* =====================================================
   RUNLAA PROFILE PAGE
   page-specific only
   do NOT style shared feed components here
===================================================== */

.rprofile-page{
  color:var(--text);
}

.rprofile-page .section-title,
.rprofile-page .form-label,
.rprofile-page strong{
  color:var(--text);
}

.rprofile-page .meta,
.rprofile-page .section-sub{
  color:var(--text);
  opacity:.84;
}

.rprofile-top-ad,
.rprofile-side-card,
.rprofile-inline-ad,
.rprofile-sidebar-edit{
  background:var(--panel);
  color:var(--text);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--rl-shadow-sm, 0 10px 30px rgba(15,23,42,.08));
}

.rprofile-top-ad,
.rprofile-side-card,
.rprofile-inline-ad{
  padding:1rem;
}

.rprofile-hero{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--rl-shadow-md, 0 18px 50px rgba(15,23,42,.12));
  overflow:hidden;
}

.rprofile-cover-wrap{
  position:relative;
  width:100%;
  height:320px;
  overflow:hidden;
  top: 0px;
  left: 0px;
  right: 0px;
  min-height:180px;
  max-height:240px;
  object-fit:cover;
  border-top-left-radius:22px;
  border-top-right-radius:22px;
  display:block;
  background:linear-gradient(135deg, rgba(251,146,60,.14), rgba(245,158,11,.10));
}


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

.rprofile-cover-fallback{
  width:100%;
  height:100%;
  background:linear-gradient(135deg, rgba(245,158,11,.18), rgba(251,146,60,.10));
}

.rprofile-cover-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.18), rgba(0,0,0,.02));
  pointer-events:none;
}

.rprofile-cover-upload-form{
  position:absolute;
  right:1rem;
  bottom:1rem;
  z-index:3;
}

.rprofile-cover-edit-btn,
.rprofile-avatar-edit-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  cursor:pointer;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(15,23,42,.62);
  color:#fff;
  backdrop-filter:blur(8px);
  box-shadow:0 10px 24px rgba(15,23,42,.18);
}

.rprofile-cover-edit-btn{
  padding:.72rem .95rem;
  border-radius:999px;
}

.rprofile-avatar-edit-btn{
  position:absolute;
  right:4px;
  bottom:4px;
  width:40px;
  height:40px;
  border-radius:50%;
}

.rprofile-hero-body{
  padding:1.35rem 1.35rem 1.45rem;
}

.rprofile-identity{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:1.2rem;
  align-items:end;
  margin-top:-5rem;
  position:relative;
  z-index:2;
}

.rprofile-avatar-wrap{
  width:140px;
  height:140px;
  position:relative;
  padding:6px;
  border-radius:50%;
  background:var(--panel);
  border:1px solid var(--line);
  box-shadow:var(--rl-shadow-brand, 0 10px 30px rgba(245,158,11,.14));
}

.rprofile-avatar{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:50%;
}

.rprofile-name{
  font-size:clamp(1.45rem, 2vw, 2.15rem);
  line-height:1.08;
  margin:0;
  color:var(--text);
}

.rprofile-headline{
  margin:.35rem 0 .4rem;
  font-weight:700;
  color:var(--text);
}

.rprofile-bio{
  max-width:68ch;
  color:var(--text);
  opacity:.9;
}

.rprofile-quick-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem .95rem;
  margin-top:.8rem;
}

.rprofile-quick-meta span,
.rprofile-quick-meta a{
  display:inline-flex;
  align-items:center;
  gap:.38rem;
  color:var(--text);
  text-decoration:none;
  opacity:.9;
}

.rprofile-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  justify-content:flex-end;
}

.rprofile-stats-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:1rem;
  margin-top:1.25rem;
}

.rprofile-stat-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:16px;
  padding:.9rem;
}

.rprofile-stat-value{
  color:var(--text);
  font-size:1.15rem;
  font-weight:800;
  line-height:1;
  margin-bottom:.3rem;
}

.rprofile-stat-label{
  color:var(--text);
  opacity:.75;
  font-size:.88rem;
}

.rprofile-sidebar-edit{
  padding:0;
  overflow:hidden;
}

.rprofile-drawer > summary,
.rprofile-editor-card > summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  font-weight:800;
  color:var(--text);
}

.rprofile-drawer > summary::-webkit-details-marker,
.rprofile-editor-card > summary::-webkit-details-marker{
  display:none;
}

.rprofile-drawer > summary{
  padding:1rem;
  background:var(--panel);
  border-bottom:1px solid var(--line);
}

.rprofile-drawer-body{
  padding:.9rem;
  display:grid;
  gap:.75rem;
}

.rprofile-editor-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
}

.rprofile-editor-card > summary{
  padding:.9rem 1rem;
  background:var(--panel);
}

.rprofile-editor-card-body{
  padding:0 1rem 1rem;
}

.rprofile-check-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:.7rem;
}

.rprofile-check{
  display:flex;
  align-items:flex-start;
  gap:.55rem;
  color:var(--text);
}

.rprofile-contact-list,
.rprofile-social-list,
.rprofile-mini-list{
  display:grid;
  gap:.55rem;
}

.rprofile-contact-list a,
.rprofile-social-list a{
  display:flex;
  align-items:center;
  gap:.65rem;
  padding:.75rem .9rem;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--panel);
  color:var(--text);
  text-decoration:none;
}

.rprofile-contact-list span{
  display:flex;
  align-items:center;
  gap:.65rem;
  color:var(--text);
}

.rprofile-ad-box{
  min-height:200px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.rprofile-progress{
  height:12px;
  background:var(--panel);
  border:1px solid var(--line);
}

.rprofile-progress .progress-bar{
  font-size:.7rem;
  font-weight:800;
}

.rprofile-checklist{
  margin:0;
  padding-left:1.1rem;
  display:grid;
  gap:.42rem;
  color:var(--text);
}

.rprofile-checklist li.is-done{
  font-weight:700;
}

.rprofile-feed-grid{
  max-width:760px;
  margin:0 auto;
}

.rprofile-feed-col{
  width:100%;
  max-width:100%;
  flex:0 0 100%;
}

html[data-theme="dark-orange"] .rprofile-cover-overlay{
  background:linear-gradient(to top, rgba(0,0,0,.34), rgba(0,0,0,.06));
}

html[data-theme="dark-orange"] .rprofile-page .meta,
html[data-theme="dark-orange"] .rprofile-page .section-sub,
html[data-theme="dark-orange"] .rprofile-stat-label{
  opacity:.92;
}

html[data-theme="light-orange"] .rprofile-page .meta,
html[data-theme="light-orange"] .rprofile-page .section-sub,
html[data-theme="light-orange"] .rprofile-stat-label{
  opacity:.78;
}

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

@media (max-width: 991.98px){
  .rprofile-identity{
    grid-template-columns:1fr;
    margin-top:-4.2rem;
  }

  .rprofile-actions{
    justify-content:flex-start;
  }
}

@media (max-width: 767.98px){
  .rprofile-cover-wrap{
    height:220px;
  }

  .rprofile-hero-body{
    padding:1rem;
  }

  .rprofile-avatar-wrap{
    width:108px;
    height:108px;
  }

  .rprofile-stats-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:.75rem;
  }

  .rprofile-cover-upload-form{
    right:.75rem;
    bottom:.75rem;
  }

  .rprofile-cover-edit-btn span{
    display:none;
  }

  .rprofile-feed-grid{
    max-width:100%;
  }
}
/* removed centralized post-card css block */


.rprofile-page #profileTimelineList .post-admin-tools.image-tools{
  position:absolute !important;
  right:12px !important;
  top:auto !important;
  bottom:12px !important;
  z-index:6 !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
}
/* removed centralized post-card css block */

/* removed centralized post-card css block */

/* removed centralized post-card css block */


.rprofile-page #profileTimelineList .post-admin-tools.image-tools{
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%) !important;
  bottom:12px !important;
}
/* removed centralized post-card css block */

/* removed centralized post-card css block */

/* removed centralized post-card css block */

/* removed centralized post-card css block */

/* removed centralized post-card css block */

/* removed centralized post-card css block */

/* removed centralized post-card css block */

/* removed centralized post-card css block */

/* removed centralized post-card css block */

/* removed centralized post-card css block */

/* removed centralized post-card css block */

/* removed centralized post-card css block */
