/* Compact blogger profile layout — final override. */
body.creator-profile-page .profile-dashboard-main{
  width:min(1240px,calc(100% - 40px))!important;
  min-height:auto!important;
  padding:112px 0 42px!important;
}
body.creator-profile-page .profile-dashboard-shell{width:100%!important;max-width:none!important;margin:0!important}
body.creator-profile-page .influencer-dashboard{
  direction:rtl!important;
  display:grid!important;
  grid-template-columns:318px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:start!important;
}
body.creator-profile-page .profile-side-column{
  grid-column:1!important;
  grid-row:1!important;
  min-width:0!important;
  display:grid!important;
  gap:12px!important;
  align-content:start!important;
  position:sticky!important;
  top:92px!important;
}
body.creator-profile-page .influencer-profile-panel{
  grid-column:auto!important;
  grid-row:auto!important;
  position:relative!important;
  top:auto!important;
  min-height:0!important;
  padding:14px 14px 13px!important;
  border-radius:22px!important;
}
body.creator-profile-page .profile-avatar-frame{width:132px!important;height:132px!important;margin-top:10px!important}
body.creator-profile-page .profile-identity h1{font-size:1.35rem!important;margin-top:8px!important}
body.creator-profile-page .profile-username{margin-top:2px!important;font-size:.62rem!important}
body.creator-profile-page .profile-category{margin-top:7px!important;padding:5px 9px!important;font-size:.61rem!important}
body.creator-profile-page .profile-rating{margin-top:10px!important}
body.creator-profile-page .profile-actions{margin-top:11px!important;gap:7px!important}
body.creator-profile-page .profile-actions .button{min-height:40px!important;padding:7px 10px!important;font-size:.65rem!important}
body.creator-profile-page .profile-trust-note{margin-top:10px!important;padding:9px 10px!important;line-height:1.65!important;font-size:.56rem!important}

body.creator-profile-page .profile-side-about{
  padding:15px 16px!important;
  border-radius:22px!important;
  text-align:right!important;
}
body.creator-profile-page .profile-about-head{display:grid!important;gap:2px!important;margin-bottom:7px!important}
body.creator-profile-page .profile-about-kicker{color:var(--ui-primary,#625fd0)!important;font-size:.55rem!important;font-weight:900!important}
body.creator-profile-page .profile-side-about h3{margin:0!important;font-size:.88rem!important}
body.creator-profile-page .profile-side-about p{margin:0!important;font-size:.63rem!important;line-height:1.8!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;overflow:hidden!important}
body.creator-profile-page .profile-about-meta{margin-top:10px!important;padding-top:9px!important;display:grid!important;gap:6px!important;border-top:1px solid var(--ui-line,var(--pd-border))!important}
body.creator-profile-page .profile-about-meta span{color:var(--ui-muted,var(--pd-muted))!important;font-size:.58rem!important}
body.creator-profile-page .profile-about-meta strong{color:var(--ui-ink,var(--pd-text))!important;font-size:.61rem!important}

body.creator-profile-page .influencer-analytics{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  display:grid!important;
  gap:11px!important;
}
body.creator-profile-page .analytics-toolbar{
  min-height:0!important;
  padding:12px 15px!important;
  border-radius:20px!important;
}
body.creator-profile-page .analytics-title>svg{width:23px!important;height:23px!important}
body.creator-profile-page .analytics-title h2{font-size:.96rem!important}
body.creator-profile-page .analytics-title p{font-size:.56rem!important}
body.creator-profile-page .range-picker{height:35px!important;min-width:126px!important}
body.creator-profile-page .analytics-history-note{margin:0!important;padding:7px 10px!important;font-size:.56rem!important}
body.creator-profile-page .analytics-charts{gap:11px!important}
body.creator-profile-page .analytics-chart-card{
  height:192px!important;
  padding:12px 12px 8px!important;
  border-radius:20px!important;
}
body.creator-profile-page .chart-card-toolbar{min-height:48px!important}
body.creator-profile-page .chart-card-icon{width:32px!important;height:32px!important}
body.creator-profile-page .chart-card-icon svg{width:18px!important;height:18px!important}
body.creator-profile-page .chart-card-copy small{font-size:.6rem!important}
body.creator-profile-page .chart-card-copy strong{font-size:1.08rem!important}
body.creator-profile-page .chart-growth-pill{font-size:.51rem!important;padding:1px 5px!important}
body.creator-profile-page .chart-viewport{height:122px!important;min-height:0!important}
body.creator-profile-page .performance-summary{min-height:104px!important;border-radius:20px!important;grid-template-columns:minmax(0,1fr) 84px!important}
body.creator-profile-page .performance-summary-content{padding:10px 12px!important}
body.creator-profile-page .performance-summary-head{margin-bottom:8px!important}
body.creator-profile-page .performance-summary-head h3{font-size:.69rem!important}
body.creator-profile-page .performance-item{padding:0 8px!important}
body.creator-profile-page .performance-item small{font-size:.51rem!important}
body.creator-profile-page .performance-item strong{font-size:.78rem!important}
body.creator-profile-page .performance-item em{font-size:.46rem!important}
body.creator-profile-page .performance-star-box{width:42px!important;height:42px!important}
body.creator-profile-page .performance-star-box svg{width:21px!important;height:21px!important}

/* The old "جزئیات پروفایل" panel is intentionally removed from the DOM. */
body.creator-profile-page .real-data-panel{display:none!important}

body.creator-profile-page .profile-feedbacks-panel{padding:12px 14px 13px!important;border-radius:20px!important}
body.creator-profile-page .profile-feedbacks-head{margin-bottom:9px!important}
body.creator-profile-page .profile-feedbacks-head h3{font-size:.82rem!important}
body.creator-profile-page .profile-feedbacks-head p{font-size:.56rem!important}
body.creator-profile-page .profile-feedbacks-shield{width:25px!important;height:25px!important}
body.creator-profile-page .profile-feedbacks-count{padding:4px 8px!important;font-size:.55rem!important;min-width:72px!important}
body.creator-profile-page .profile-feedback-carousel{padding-inline:16px!important}
body.creator-profile-page .profile-feedback-card{min-height:148px!important;padding:10px!important;border-radius:14px!important}
body.creator-profile-page .profile-feedback-card::before{margin:-10px -10px 7px!important}
body.creator-profile-page .profile-reviewer-avatar{width:31px!important;height:31px!important}
body.creator-profile-page .profile-reviewer-copy strong{font-size:.63rem!important}
body.creator-profile-page .profile-reviewer-copy small{font-size:.48rem!important}
body.creator-profile-page .profile-feedback-stars span{font-size:.62rem!important}
body.creator-profile-page .profile-feedback-category{margin-top:6px!important;font-size:.47rem!important}
body.creator-profile-page .profile-feedback-card h4{margin:5px 0 2px!important;font-size:.63rem!important}
body.creator-profile-page .profile-feedback-card>p{min-height:36px!important;font-size:.54rem!important;line-height:1.7!important;-webkit-line-clamp:2!important}
body.creator-profile-page .profile-feedback-card footer{padding-top:5px!important}
body.creator-profile-page .feedback-scroll-button{width:27px!important;height:27px!important}

html[data-theme="dark"] body.creator-profile-page .profile-side-about{background:var(--ui-surface)!important;border-color:var(--ui-line)!important}
html[data-theme="dark"] body.creator-profile-page .profile-about-meta{border-color:var(--ui-line)!important}

@media(max-width:1020px){
  body.creator-profile-page .profile-dashboard-main{width:min(100% - 28px,980px)!important;padding-top:108px!important}
  body.creator-profile-page .influencer-dashboard{grid-template-columns:274px minmax(0,1fr)!important;gap:13px!important}
  body.creator-profile-page .profile-side-column{top:88px!important}
  body.creator-profile-page .analytics-charts{grid-template-columns:1fr 1fr!important}
  body.creator-profile-page .profile-feedback-card{flex-basis:calc((100% - 12px)/2)!important}
}
@media(max-width:760px){
  body.creator-profile-page .profile-dashboard-main{width:min(100% - 20px,720px)!important;padding:96px 0 28px!important}
  body.creator-profile-page .influencer-dashboard{grid-template-columns:1fr!important;gap:11px!important}
  body.creator-profile-page .profile-side-column{grid-column:1!important;grid-row:1!important;position:static!important;grid-template-columns:1fr!important}
  body.creator-profile-page .influencer-analytics{grid-column:1!important;grid-row:2!important}
  body.creator-profile-page .analytics-charts{grid-template-columns:1fr!important}
  body.creator-profile-page .analytics-chart-card{height:188px!important}
  body.creator-profile-page .performance-summary{grid-template-columns:1fr!important}
  body.creator-profile-page .performance-art{display:none!important}
  body.creator-profile-page .performance-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.creator-profile-page .profile-feedback-card{flex-basis:calc((100% - 12px)/2)!important}
}
@media(max-width:520px){
  body.creator-profile-page .profile-dashboard-main{width:calc(100% - 14px)!important;padding-top:88px!important}
  body.creator-profile-page .profile-actions{grid-template-columns:1fr 1fr!important}
  body.creator-profile-page .analytics-toolbar{align-items:stretch!important;gap:8px!important}
  body.creator-profile-page .performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px 0!important}
  body.creator-profile-page .profile-feedback-card{flex-basis:100%!important}
}

/* Final viewport fit: keep the desktop profile essentially single-screen. */
body.creator-profile-page .site-footer{display:none!important}
@media(min-width:761px){
  body.creator-profile-page .profile-dashboard-main{padding-bottom:8px!important}
  body.creator-profile-page .profile-avatar-frame{width:120px!important;height:120px!important;margin-top:6px!important}
  body.creator-profile-page .profile-identity h1{margin-top:6px!important;font-size:1.28rem!important}
  body.creator-profile-page .profile-rating{margin-top:7px!important}
  body.creator-profile-page .profile-actions{margin-top:8px!important}
  body.creator-profile-page .profile-actions .button{min-height:37px!important}
  body.creator-profile-page .profile-trust-note{margin-top:7px!important;padding:7px 9px!important;line-height:1.55!important}
  body.creator-profile-page .profile-side-about{padding:12px 14px!important}
  body.creator-profile-page .profile-side-about p{-webkit-line-clamp:3!important;line-height:1.7!important}
  body.creator-profile-page .profile-about-meta{margin-top:7px!important;padding-top:7px!important;gap:4px!important}
}
body.creator-profile-page .profile-trust-note{display:none!important}


/* Requested UI fixes — range selector, profile overflow menu and trend readability. */
body.creator-profile-page .influencer-profile-panel{overflow:visible!important;isolation:isolate!important}
body.creator-profile-page .profile-side-column{z-index:20!important}
body.creator-profile-page .profile-menu-wrap{z-index:10040!important}
body.creator-profile-page .profile-menu{
  min-width:190px!important;
  padding:8px!important;
  border-radius:14px!important;
  box-shadow:0 20px 54px rgba(20,24,40,.20)!important;
  backdrop-filter:blur(14px)!important;
}
body.creator-profile-page .profile-menu button,
body.creator-profile-page .profile-menu a{min-height:40px!important;font-size:.74rem!important}
body.creator-profile-page .profile-avatar-frame{position:relative!important;z-index:1!important}

html[data-theme="light"] body.creator-profile-page .range-picker{
  background:#f0f2f7!important;
  border:1px solid #c7ccd7!important;
  box-shadow:0 3px 10px rgba(29,35,55,.08),inset 0 1px 0 rgba(255,255,255,.9)!important;
  color:#202538!important;
}
html[data-theme="light"] body.creator-profile-page .range-picker:hover,
html[data-theme="light"] body.creator-profile-page .range-picker:focus-within{
  background:#e8ebf2!important;
  border-color:#9da6b7!important;
  box-shadow:0 0 0 3px rgba(72,82,116,.08),0 4px 12px rgba(29,35,55,.09)!important;
}
html[data-theme="light"] body.creator-profile-page .range-picker select{color:#242a3c!important}
html[data-theme="light"] body.creator-profile-page .range-picker svg{color:#626c80!important}

body.creator-profile-page .chart-growth-pill{
  min-height:22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:3px 8px!important;
  font-size:.68rem!important;
  line-height:1.35!important;
  letter-spacing:.01em!important;
}
body.creator-profile-page .performance-item em{
  min-height:21px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:3px 7px!important;
  font-size:.63rem!important;
  line-height:1.35!important;
  white-space:nowrap!important;
}
@media(max-width:760px){
  body.creator-profile-page .chart-growth-pill{font-size:.63rem!important}
  body.creator-profile-page .performance-item em{font-size:.59rem!important}
}

/* Readability correction after visual QA. */
body.creator-profile-page .chart-growth-pill{font-size:.76rem!important;font-weight:950!important;min-height:24px!important;padding:3px 9px!important}
body.creator-profile-page .performance-item em{font-size:.72rem!important;font-weight:950!important;min-height:23px!important;padding:3px 8px!important}
@media(max-width:760px){body.creator-profile-page .chart-growth-pill{font-size:.70rem!important}body.creator-profile-page .performance-item em{font-size:.67rem!important}}

/* Final profile-menu theme and mobile trend legibility. */
html[data-theme="dark"] body.creator-profile-page .profile-menu{background:var(--ui-surface-2)!important;border-color:var(--ui-line)!important;color:var(--ui-ink)!important;box-shadow:0 22px 58px rgba(0,0,0,.42)!important}
html[data-theme="dark"] body.creator-profile-page .profile-menu button,html[data-theme="dark"] body.creator-profile-page .profile-menu a{color:var(--ui-ink)!important}
html[data-theme="dark"] body.creator-profile-page .profile-menu button:hover,html[data-theme="dark"] body.creator-profile-page .profile-menu a:hover{background:var(--ui-surface-3)!important}
@media(max-width:760px){body.creator-profile-page .chart-growth-pill{font-size:.74rem!important}body.creator-profile-page .performance-item em{font-size:.72rem!important}}

html[data-theme="dark"] body.creator-profile-page .profile-menu{background:#171b31!important;border-color:#303654!important;color:#f5f7ff!important}
html[data-theme="dark"] body.creator-profile-page .profile-menu button,html[data-theme="dark"] body.creator-profile-page .profile-menu a{color:#eef1ff!important}
html[data-theme="dark"] body.creator-profile-page .profile-menu button:hover,html[data-theme="dark"] body.creator-profile-page .profile-menu a:hover{background:#222842!important}
