.qbp-profile-page{max-width:860px;margin:0 auto;background:#fff;color:#171717;border:1px solid #e9e9e9;border-radius:20px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.06);font-family:inherit}.qbp-profile-topbar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #eee;position:sticky;top:0;background:rgba(255,255,255,.96);z-index:5;backdrop-filter:blur(10px)}.qbp-profile-topbar__title{font-size:18px;font-weight:800}.qbp-profile-topbar__code{font-size:11px;color:#777;margin-top:3px}.qbp-profile-cover{height:250px;background-size:cover;background-position:center;position:relative;background-color:#e9eef5}.qbp-profile-cover.is-empty{background-image:linear-gradient(135deg,#dfe7ef,#f6f8fa)}.qbp-profile-cover__shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.16))}.qbp-cover-edit{position:absolute;left:18px;bottom:16px;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.9);border-radius:10px;padding:9px 14px;font-weight:700;cursor:pointer}.qbp-profile-hero{padding:0 24px 22px}.qbp-profile-main{display:flex;gap:22px;align-items:flex-end;margin-top:-58px;position:relative}.qbp-profile-avatar-wrap{position:relative;flex:0 0 auto}.qbp-profile-avatar{width:120px;height:120px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 2px 14px rgba(0,0,0,.15);background:#fff}.qbp-profile-media-hint{position:absolute;right:-2px;bottom:5px;background:#171717;color:#fff;border-radius:999px;font-size:9px;padding:4px 7px}.qbp-profile-identity{min-width:0;flex:1;padding-bottom:4px}.qbp-profile-name{font-size:24px;line-height:1.2;margin:0;font-weight:850}.qbp-profile-username{margin:6px 0 0;color:#555;font-size:14px}.qbp-profile-stats{display:flex;gap:26px;margin:16px 0 0;flex-wrap:wrap}.qbp-profile-stat{text-align:center;min-width:68px}.qbp-profile-stat strong{display:block;font-size:16px}.qbp-profile-stat span{font-size:11px;color:#666}.qbp-profile-bio{margin:20px 0 0;line-height:1.9;font-size:14px}.qbp-profile-code{display:inline-block;margin-top:8px;font-size:11px;color:#777;background:#f6f6f6;padding:4px 8px;border-radius:999px}.qbp-profile-actions{display:flex;gap:8px;margin-top:16px}.qbp-profile-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border:1px solid #d9d9d9;border-radius:11px;background:#fff;color:#171717;text-decoration:none;font-weight:700;font-size:13px;cursor:pointer}.qbp-profile-btn--primary{background:#171717;color:#fff;border-color:#171717}.qbp-profile-btn--wide{flex:1}.qbp-profile-completion{margin-top:18px;padding:13px 14px;background:#f7f8fa;border:1px solid #eceef1;border-radius:13px}.qbp-profile-completion>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px}.qbp-profile-completion span{color:#777}.qbp-progress{height:7px;border-radius:999px;background:#e2e5e9;overflow:hidden;margin-top:9px}.qbp-progress i{display:block;height:100%;background:#171717;border-radius:inherit}.qbp-profile-contact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:16px}.qbp-profile-contact-grid a{padding:12px;border:1px solid #ececec;border-radius:12px;text-decoration:none;color:#222;display:grid;gap:4px;background:#fff}.qbp-profile-contact-grid b{font-size:17px}.qbp-profile-contact-grid span{font-size:10px;color:#777}.qbp-profile-contact-grid strong{font-size:11px;word-break:break-word}.qbp-location-card{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;margin-top:12px;padding:14px;border:1px solid #e6e6e6;border-radius:13px;background:#fbfbfb}.qbp-location-card__icon{font-size:25px}.qbp-location-card strong{font-size:13px}.qbp-location-card p{margin:4px 0 0;color:#666;font-size:12px;line-height:1.8}.qbp-location-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.qbp-location-actions a,.qbp-location-actions button{border:1px solid #ddd;border-radius:9px;background:#fff;padding:8px 10px;font-size:11px;text-decoration:none;color:#222;cursor:pointer}.qbp-distance-result{font-size:11px;font-weight:800;white-space:nowrap}.qbp-social-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.qbp-social-links a{padding:8px 12px;border:1px solid #e8e8e8;border-radius:999px;text-decoration:none;color:#333;background:#fff;font-size:11px;font-weight:700}.qbp-profile-edit{display:none;margin-top:18px;padding-top:18px;border-top:1px solid #eee}.qbp-profile-edit.is-open{display:block}.qbp-profile-tabs{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #eee;border-bottom:1px solid #eee}.qbp-profile-tab{min-height:58px;display:flex;align-items:center;justify-content:center;gap:6px;color:#777;text-decoration:none;font-size:12px;font-weight:700;border-bottom:2px solid transparent}.qbp-profile-tab.is-active{color:#171717;border-bottom-color:#171717}.qbp-profile-content{min-height:180px}.qbp-profile-empty{padding:48px 24px;text-align:center;color:#777}.qbp-profile-empty__icon{font-size:34px;margin-bottom:8px}.qbp-profile-empty h3{margin:0 0 6px;color:#222;font-size:17px}.qbp-profile-empty p{margin:0;font-size:13px;line-height:1.8}.qbp-profile-form{padding:20px;background:#fafafa;border:1px solid #ededed;border-radius:15px}.qbp-form-heading h3{margin:0;font-size:18px}.qbp-form-heading p{margin:6px 0 0;color:#777;font-size:12px;line-height:1.8}.qbp-form-section{margin-top:20px;padding-top:18px;border-top:1px solid #e9e9e9}.qbp-form-section h4{margin:0 0 13px;font-size:14px}.qbp-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.qbp-profile-form label{display:block;margin:0 0 13px;font-size:12px;font-weight:750}.qbp-profile-form input,.qbp-profile-form textarea,.qbp-profile-form select{display:block;width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #dcdcdc;border-radius:10px;padding:11px;background:#fff;font:inherit}.qbp-profile-form textarea{resize:vertical}.qbp-media-upload-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.qbp-upload-box{padding:16px;border:1px dashed #cfcfcf;border-radius:12px;background:#fff}.qbp-upload-box input{border:0;padding:8px 0}.qbp-upload-box small{display:block;color:#888;font-size:10px;font-weight:400}.qbp-location-picker{padding:12px;background:#f3f5f7;border-radius:12px}.qbp-location-picker__row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.qbp-secondary-btn,.qbp-save-btn{border:0;border-radius:10px;padding:11px 15px;font-weight:750;cursor:pointer}.qbp-secondary-btn{background:#fff;border:1px solid #ddd}.qbp-distance-box{margin-top:8px;color:#666;font-size:11px}.qbp-save-btn{width:100%;background:#171717;color:#fff;margin-top:6px}.qbp-notice{padding:16px;border-radius:12px;background:#f7f7f7}.qbp-notice--error{background:#fff1f2;color:#991b1b}@media(max-width:700px){.qbp-profile-page{border-radius:0;border-left:0;border-right:0;box-shadow:none}.qbp-profile-cover{height:190px}.qbp-profile-hero{padding:0 14px 18px}.qbp-profile-main{gap:14px;margin-top:-45px}.qbp-profile-avatar{width:90px;height:90px}.qbp-profile-name{font-size:20px}.qbp-profile-stats{gap:12px;margin-top:12px}.qbp-profile-stat{min-width:56px}.qbp-profile-actions{flex-wrap:wrap}.qbp-profile-contact-grid{grid-template-columns:repeat(2,1fr)}.qbp-location-card{grid-template-columns:auto 1fr}.qbp-location-actions{grid-column:1/-1;justify-content:flex-start}.qbp-form-grid,.qbp-media-upload-grid{grid-template-columns:1fr}.qbp-location-picker__row{grid-template-columns:1fr}.qbp-profile-tab{min-height:54px;font-size:10px;flex-direction:column;gap:3px}.qbp-profile-tabs span:first-child{font-size:17px}}

.qbp-map-tools{display:grid;grid-template-columns:1fr auto auto;gap:8px;margin-bottom:10px}.qbp-map-tools input{margin:0!important}.qbp-map-canvas,.qbp-public-map{height:300px;border-radius:13px;overflow:hidden;border:1px solid #ddd;background:#e9eef5}.qbp-map-status{margin-top:8px;font-size:11px;color:#555}.qbp-public-map{margin-top:12px}.qbp-location-picker .qbp-map-canvas{box-shadow:0 5px 18px rgba(0,0,0,.06)}.qbp-location-picker input.is-loading{opacity:.6}@media(max-width:700px){.qbp-map-tools{grid-template-columns:1fr 1fr}.qbp-map-tools input{grid-column:1/-1}.qbp-map-canvas,.qbp-public-map{height:250px}}

.qbp-profile-story-section{border-top:1px solid #eee;margin-top:20px;padding-top:8px}.qbp-section-title{font-size:16px;margin:14px 18px 0}.qbp-profile-story-view{padding:0 18px 18px}

.qbp-profile-business-section{border-top:1px solid #eee;margin-top:20px;padding-top:8px}.qbp-profile-business-section>.qbp-business-grid{margin:12px 18px}

.qbp-profile-section[hidden]{display:none!important}
.qbp-profile-store-section{border-top:1px solid #eee;margin-top:0;padding:8px 18px 22px}
.qbp-profile-store-section .qbp-section-title{margin-left:0;margin-right:0}
.qbp-profile-tabs .qbp-profile-tab[aria-selected="true"]{color:#171717;border-bottom-color:#171717}

/* v2.1 Instagram-style profile surface */
.qbp-instagram-profile{max-width:935px;margin:0 auto;background:#fff;color:#111;font-family:inherit;border:0;border-radius:0;overflow:hidden}
.qbp-ig-header{height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #efefef;background:#fff}
.qbp-ig-header__user{display:flex;align-items:center;gap:7px;font-size:16px}
.qbp-ig-header__verified{display:inline-flex;width:16px;height:16px;align-items:center;justify-content:center;border-radius:50%;background:#111;color:#fff;font-size:10px}
.qbp-ig-header__actions{display:flex;align-items:center;gap:10px}
.qbp-ig-header__actions a,.qbp-ig-header__actions button{border:0;background:transparent;color:#111;text-decoration:none;font-size:26px;line-height:1;cursor:pointer;padding:5px}
.qbp-ig-profile-head{padding:30px 28px 20px}
.qbp-ig-head-main{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:35px}
.qbp-ig-avatar-wrap{display:flex;justify-content:center}
.qbp-ig-avatar{width:150px;height:150px;border-radius:50%;object-fit:cover;border:1px solid #dbdbdb;background:#fafafa}
.qbp-ig-stats{display:flex;align-items:center;gap:42px}
.qbp-ig-stats div{text-align:center;min-width:70px}
.qbp-ig-stats strong{display:block;font-size:18px;line-height:1.3;font-weight:700}
.qbp-ig-stats span{display:block;margin-top:2px;font-size:13px;color:#222}
.qbp-ig-identity{margin-top:18px}
.qbp-ig-identity h1{font-size:16px;margin:0 0 7px;font-weight:700}
.qbp-ig-bio{font-size:14px;line-height:1.7;white-space:pre-line;max-width:600px}
.qbp-ig-profile-actions{display:flex;gap:8px;margin-top:18px}
.qbp-ig-action{min-width:110px;height:34px;padding:0 15px;border:1px solid #dbdbdb;border-radius:8px;background:#fff;color:#111;text-decoration:none;font:inherit;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.qbp-ig-action--primary{background:#efefef;border-color:#efefef}
.qbp-ig-story-row{display:flex;gap:22px;overflow-x:auto;padding:10px 28px 24px;border-bottom:1px solid #efefef;scrollbar-width:none}
.qbp-ig-story-row::-webkit-scrollbar{display:none}
.qbp-ig-story-item,.qbp-ig-story-add{flex:0 0 72px;text-decoration:none;color:#111;text-align:center;font-size:11px}
.qbp-ig-story-circle{display:block;width:66px;height:66px;margin:0 auto 6px;border-radius:50%;background:#eee center/cover no-repeat;border:3px solid #fff;outline:2px solid #d62976}
.qbp-ig-story-circle--add{outline:0;border:1px solid #dbdbdb;background:#fafafa;font-size:28px;line-height:60px;color:#111}
.qbp-ig-tabs{height:53px;display:grid;grid-template-columns:repeat(2,1fr);border-bottom:1px solid #dbdbdb}
.qbp-ig-tabs .qbp-profile-tab{height:53px;border:0;border-top:1px solid transparent;border-bottom:1px solid transparent;display:flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;color:#737373;font-size:12px;font-weight:600}
.qbp-ig-tabs .qbp-profile-tab.is-active{color:#111;border-bottom:1px solid #111}
.qbp-ig-tabs .qbp-profile-tab span:first-child{font-size:20px}
.qbp-instagram-profile .qbp-ig-post-grid{display:grid!important;grid-template-columns:repeat(3,1fr);gap:4px;background:#fff}
.qbp-instagram-profile .qbp-ig-post{position:relative;aspect-ratio:1/1;overflow:hidden;background:#efefef}
.qbp-instagram-profile .qbp-ig-post>*:first-child{width:100%;height:100%;margin:0}
.qbp-instagram-profile .qbp-ig-post img,.qbp-instagram-profile .qbp-ig-post video{width:100%;height:100%;object-fit:cover;display:block}
.qbp-instagram-profile .qbp-ig-post figure{height:100%;margin:0}
.qbp-instagram-profile .qbp-ig-post__overlay{position:absolute;inset:0;display:flex;align-items:flex-end;padding:10px;color:#fff;text-decoration:none;background:linear-gradient(transparent 55%,rgba(0,0,0,.65));opacity:0;transition:opacity .15s}
.qbp-instagram-profile .qbp-ig-post:hover .qbp-ig-post__overlay,.qbp-instagram-profile .qbp-ig-post:focus-within .qbp-ig-post__overlay{opacity:1}
.qbp-instagram-profile .qbp-ig-post__overlay span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qbp-instagram-profile .qbp-ig-post__tools{position:absolute;top:7px;right:7px;display:flex;gap:5px;opacity:0}
.qbp-instagram-profile .qbp-ig-post:hover .qbp-ig-post__tools{opacity:1}
.qbp-instagram-profile .qbp-ig-post__tools a,.qbp-instagram-profile .qbp-ig-post__tools button{background:rgba(255,255,255,.92);border:0;border-radius:6px;padding:5px 7px;color:#111;text-decoration:none;font-size:10px;cursor:pointer}
.qbp-instagram-profile .qbp-ig-post__empty{height:100%;display:flex;align-items:center;justify-content:center;color:#aaa;font-size:34px}
.qbp-instagram-profile .qbp-profile-edit{display:none;margin-top:18px}
.qbp-instagram-profile .qbp-profile-edit.is-open{display:block}
.qbp-instagram-profile .qbp-profile-story-section{border:0;margin:0;padding:18px}
.qbp-instagram-profile .qbp-profile-empty{padding:70px 20px}
@media(max-width:700px){
 .qbp-ig-header{height:52px;padding:0 12px}
 .qbp-ig-profile-head{padding:20px 14px 14px}
 .qbp-ig-head-main{grid-template-columns:88px 1fr;gap:18px}
 .qbp-ig-avatar{width:88px;height:88px}
 .qbp-ig-stats{justify-content:space-between;gap:8px}
 .qbp-ig-stats div{min-width:50px}
 .qbp-ig-stats strong{font-size:15px}
 .qbp-ig-stats span{font-size:11px}
 .qbp-ig-profile-actions{display:grid;grid-template-columns:1fr 1fr 1fr}
 .qbp-ig-action{min-width:0;padding:0 6px;font-size:11px}
 .qbp-ig-story-row{gap:15px;padding:10px 14px 20px}
 .qbp-instagram-profile .qbp-ig-post-grid{gap:2px}
}

/* v2.1.1 — strict Instagram-style profile surface */
.qbp-instagram-profile{
  max-width:935px!important;
  margin:0 auto!important;
  background:#fff!important;
  color:#0f0f0f!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.qbp-instagram-profile .qbp-ig-header{
  height:60px;
  padding:0 16px;
  border-bottom:1px solid #dbdbdb;
  position:relative;
  top:auto;
  background:#fff;
}
.qbp-instagram-profile .qbp-ig-header__user{font-size:16px;gap:5px}
.qbp-instagram-profile .qbp-ig-header__chevron{font-size:18px;line-height:1;color:#111}
.qbp-instagram-profile .qbp-ig-header__actions{gap:14px}
.qbp-instagram-profile .qbp-ig-header__actions a,
.qbp-instagram-profile .qbp-ig-header__actions button{
  font-size:24px;
  padding:2px;
}
.qbp-instagram-profile .qbp-ig-profile-head{
  padding:30px 20px 24px;
}
.qbp-instagram-profile .qbp-ig-head-main{
  grid-template-columns:150px 1fr;
  gap:60px;
}
.qbp-instagram-profile .qbp-ig-avatar{
  width:150px!important;
  height:150px!important;
  border:1px solid #dbdbdb!important;
  box-shadow:none!important;
}
.qbp-instagram-profile .qbp-ig-stats{
  justify-content:flex-start;
  gap:45px;
}
.qbp-instagram-profile .qbp-ig-stats div{
  min-width:72px;
  text-align:center;
}
.qbp-instagram-profile .qbp-ig-stats strong{
  font-size:16px;
  font-weight:600;
}
.qbp-instagram-profile .qbp-ig-stats span{
  font-size:14px;
  color:#262626;
}
.qbp-instagram-profile .qbp-ig-identity{
  margin-top:20px;
  padding-right:210px;
}
.qbp-instagram-profile .qbp-ig-identity h1{
  font-size:14px;
  margin-bottom:7px;
}
.qbp-instagram-profile .qbp-ig-bio{
  font-size:14px;
  line-height:1.55;
}
.qbp-instagram-profile .qbp-ig-profile-actions{
  margin-top:16px;
  display:flex;
  gap:8px;
}
.qbp-instagram-profile .qbp-ig-action{
  min-width:0;
  height:34px;
  padding:0 16px;
  border-radius:8px;
  background:#efefef;
  border:0;
  font-size:13px;
  font-weight:600;
}
.qbp-instagram-profile .qbp-ig-action--primary{
  background:#efefef;
  color:#111;
}




.qbp-instagram-profile .qbp-ig-story-row{
  gap:24px;
  padding:10px 20px 22px;
  border-bottom:0;
}
.qbp-instagram-profile .qbp-ig-story-item,
.qbp-instagram-profile .qbp-ig-story-add{
  flex:0 0 74px;
  color:#262626;
  font-size:11px;
}
.qbp-instagram-profile .qbp-ig-story-circle{
  width:66px;
  height:66px;
  border:2px solid #fff;
  outline:2px solid #d62976;
  box-shadow:0 0 0 2px #feda75;
  background-color:#efefef;
}
.qbp-instagram-profile .qbp-ig-story-circle--add{
  outline:0;
  box-shadow:none;
  border:1px solid #dbdbdb;
  background:#fff;
  line-height:62px;
}
.qbp-instagram-profile .qbp-ig-tabs{
  height:53px;
  grid-template-columns:repeat(2,1fr);
  border-top:1px solid #dbdbdb;
  border-bottom:1px solid #dbdbdb;
}
.qbp-instagram-profile .qbp-ig-tabs .qbp-profile-tab{
  height:53px;
  color:#737373;
  border:0;
  border-top:1px solid transparent;
  border-bottom:1px solid transparent;
  font-size:12px;
}
.qbp-instagram-profile .qbp-ig-tabs .qbp-profile-tab.is-active{
  color:#111;
  border-bottom:1px solid #111;
}
.qbp-instagram-profile .qbp-ig-post-grid{
  grid-template-columns:repeat(3,1fr)!important;
  gap:3px!important;
}
.qbp-instagram-profile .qbp-ig-post{
  aspect-ratio:1/1;
}
.qbp-instagram-profile .qbp-ig-post img,
.qbp-instagram-profile .qbp-ig-post video{
  object-fit:cover;
}
.qbp-instagram-profile .qbp-profile-empty{
  grid-column:1/-1;
  min-height:360px;
}
.qbp-instagram-profile .qbp-profile-edit.qbp-ig-inline-editor{
  margin:0;
  padding:20px;
  border-top:1px solid #dbdbdb;
}
@media(max-width:700px){
  .qbp-instagram-profile{width:100%;max-width:none!important}
  .qbp-instagram-profile .qbp-ig-header{height:52px;padding:0 12px}
  .qbp-instagram-profile .qbp-ig-profile-head{padding:20px 14px 18px}
  .qbp-instagram-profile .qbp-ig-head-main{
    grid-template-columns:86px 1fr;
    gap:20px;
  }
  .qbp-instagram-profile .qbp-ig-avatar{
    width:86px!important;
    height:86px!important;
  }
  .qbp-instagram-profile .qbp-ig-stats{
    justify-content:space-between;
    gap:6px;
  }
  .qbp-instagram-profile .qbp-ig-stats div{
    min-width:52px;
  }
  .qbp-instagram-profile .qbp-ig-stats strong{font-size:15px}
  .qbp-instagram-profile .qbp-ig-stats span{font-size:11px}
  .qbp-instagram-profile .qbp-ig-identity{
    padding-right:0;
    margin-top:14px;
  }
  .qbp-instagram-profile .qbp-ig-profile-actions{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
  }
  .qbp-instagram-profile .qbp-ig-action{
    width:100%;
    padding:0 5px;
    font-size:11px;
  }
  .qbp-instagram-profile .qbp-ig-story-row{
    gap:16px;
    padding:8px 14px 18px;
  }
  .qbp-instagram-profile .qbp-ig-post-grid{gap:2px!important}
  

}
/* v2.1.2 strict Instagram profile: no map/contact/cover UI */
.qbp-instagram-profile .qbp-profile-cover,
.qbp-instagram-profile .qbp-profile-contact-grid,
.qbp-instagram-profile .qbp-social-links,
.qbp-instagram-profile .qbp-profile-completion,
.qbp-instagram-profile .qbp-profile-code { display:none !important; }

.qbp-ig-avatar-story-link{display:block;position:relative;text-decoration:none;color:inherit}
.qbp-ig-avatar-story-ring{display:block;width:150px;height:150px;padding:4px;border-radius:50%;background:conic-gradient(#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5,#feda75);box-sizing:border-box}
.qbp-ig-avatar-story-ring .qbp-ig-avatar{width:142px;height:142px;border:3px solid #fff;display:block}
.qbp-ig-avatar-story-link--add .qbp-ig-avatar{display:block}
.qbp-ig-avatar-plus{position:absolute;right:4px;bottom:4px;width:28px;height:28px;border-radius:50%;background:#0095f6;color:#fff;border:3px solid #fff;display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1}
.qbp-ig-story-row{padding-top:18px}
.qbp-instagram-edit-form{background:#fff;border:0;border-top:1px solid #efefef;border-radius:0;padding:18px 0}
.qbp-instagram-edit-form .qbp-form-section{border:0;padding:0;margin:0}
.qbp-instagram-edit-form .qbp-form-section h4{font-size:18px;margin-bottom:18px}
.qbp-instagram-edit-form .qbp-upload-box{border:1px dashed #dbdbdb}
.qbp-instagram-profile .qbp-ig-profile-head{padding-bottom:10px}
.qbp-instagram-profile .qbp-ig-story-row{border-bottom:1px solid #efefef}
@media(max-width:700px){
 .qbp-ig-head-main{grid-template-columns:88px 1fr;gap:18px}
 .qbp-ig-avatar-story-ring{width:88px;height:88px;padding:3px}
 .qbp-ig-avatar-story-ring .qbp-ig-avatar{width:82px;height:82px;border-width:2px}
 .qbp-ig-avatar-plus{width:23px;height:23px;font-size:16px;border-width:2px}
 .qbp-ig-stats{gap:12px;justify-content:space-between}
 .qbp-ig-stats div{min-width:55px}
}

/* v2.1.4 — exclusive Instagram-style composer state */
.qbp-instagram-profile--compose{
  max-width:935px!important;
  min-height:420px;
  background:#fff;
}
.qbp-instagram-profile--compose .qbp-ig-header{
  border-bottom:1px solid #dbdbdb;
}
.qbp-ig-composer-only{
  max-width:620px;
  margin:0 auto;
  padding:28px 20px 40px;
}
.qbp-ig-composer-only .qbp-post-form,
.qbp-ig-composer-only .qbp-story-form{
  margin:0;
}
@media(max-width:700px){
  .qbp-ig-composer-only{padding:20px 14px 32px}
}

/* 2.1.5 Instagram-style story creation: avatar is the story entry point; no lower-page add tile. */
.qbp-ig-avatar-wrap--story{position:relative;display:inline-flex;width:104px;height:104px;align-items:center;justify-content:center}
.qbp-ig-avatar-story-link{display:block;position:relative;width:100px;height:100px;text-decoration:none}
.qbp-ig-avatar-story-ring{display:block;width:100px;height:100px;padding:4px;border-radius:50%;background:linear-gradient(135deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5);box-sizing:border-box}
.qbp-ig-avatar-story-ring .qbp-ig-avatar{width:92px;height:92px;border-radius:50%;border:3px solid #fff;object-fit:cover;display:block}
.qbp-ig-avatar-story-link--plain .qbp-ig-avatar{width:100px;height:100px;border-radius:50%;object-fit:cover;display:block}
.qbp-ig-avatar-add-story{position:absolute;right:0;bottom:0;width:30px;height:30px;border-radius:50%;background:#0095f6;color:#fff;border:3px solid #fff;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:22px;line-height:1;font-weight:500}
.qbp-ig-story-row:empty{display:none}
.qbp-ig-story-row .qbp-ig-story-add{display:none!important}


/* v2.1.8 — mobile-first Instagram profile refinement
 * Mirrors the supplied reference surface while keeping QBP content/functionality.
 */
.qbp-instagram-profile{
  width:100%;
  max-width:935px!important;
  margin:0 auto!important;
  background:#fff!important;
  color:#111!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.qbp-instagram-profile .qbp-ig-header{
  height:56px;
  padding:0 18px;
  position:relative;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  border-bottom:1px solid #efefef;
  background:#fff;
}
.qbp-instagram-profile .qbp-ig-header__user{
  grid-column:2;
  justify-self:center;
  display:flex;
  align-items:center;
  gap:7px;
  font-size:17px;
  font-weight:700;
  white-space:nowrap;
}
.qbp-instagram-profile .qbp-ig-header__side{
  display:flex;
  align-items:center;
  gap:14px;
}
.qbp-instagram-profile .qbp-ig-header__side--start{grid-column:1;justify-self:start}
.qbp-instagram-profile .qbp-ig-header__side--end{grid-column:3;justify-self:end}
.qbp-instagram-profile .qbp-ig-icon-button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#111!important;
  text-decoration:none!important;
  font-size:27px!important;
  line-height:1!important;
  cursor:pointer;
}
.qbp-instagram-profile .qbp-ig-threads{
  font-size:27px;
  line-height:1;
  font-weight:600;
}
.qbp-instagram-profile .qbp-ig-header__dot{width:7px;height:7px;border-radius:50%;background:#ed1b2f;display:inline-block;flex:0 0 7px}
.qbp-instagram-profile .qbp-ig-header__chevron{font-size:17px;line-height:1}

.qbp-instagram-profile .qbp-ig-profile-head{
  padding:26px 22px 8px;
}
.qbp-instagram-profile .qbp-ig-head-main{
  display:grid;
  grid-template-columns:118px 1fr;
  align-items:center;
  gap:26px;
}
.qbp-instagram-profile .qbp-ig-avatar-wrap--story{
  width:118px;
  height:118px;
}
.qbp-instagram-profile .qbp-ig-avatar-story-link{
  width:112px;
  height:112px;
}
.qbp-instagram-profile .qbp-ig-avatar-story-ring{
  width:112px;
  height:112px;
  padding:4px;
}
.qbp-instagram-profile .qbp-ig-avatar-story-ring .qbp-ig-avatar{
  width:104px;
  height:104px;
  border:3px solid #fff!important;
}
.qbp-instagram-profile .qbp-ig-avatar-story-link--plain .qbp-ig-avatar{
  width:112px;
  height:112px;
}
.qbp-instagram-profile .qbp-ig-avatar-add-story{
  width:28px;
  height:28px;
  right:1px;
  bottom:1px;
  border-width:3px;
  font-size:19px;
}
.qbp-instagram-profile .qbp-ig-stats{
  width:100%;
  justify-content:space-around;
  gap:8px;
}
.qbp-instagram-profile .qbp-ig-stats div{
  min-width:62px;
  text-align:center;
}
.qbp-instagram-profile .qbp-ig-stats strong{
  font-size:17px;
  font-weight:700;
}
.qbp-instagram-profile .qbp-ig-stats span{
  margin-top:3px;
  font-size:12px;
  color:#222;
}
.qbp-instagram-profile .qbp-ig-identity{
  margin-top:14px;
  padding:0!important;
}
.qbp-instagram-profile .qbp-ig-identity h1{
  font-size:15px;
  line-height:1.45;
  margin:0 0 5px;
  font-weight:750;
}
.qbp-instagram-profile .qbp-ig-bio{
  max-width:100%;
  font-size:13px;
  line-height:1.7;
}
.qbp-instagram-profile .qbp-ig-profile-link{
  display:inline-block;
  margin-top:4px;
  color:#2456b8;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  direction:ltr;
}
.qbp-instagram-profile .qbp-ig-location{
  margin-top:3px;
  color:#666;
  font-size:12px;
}
.qbp-instagram-profile .qbp-ig-profile-actions{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  margin-top:15px;
}
.qbp-instagram-profile .qbp-ig-action{
  min-width:0;
  height:34px;
  padding:0 8px;
  border:1px solid #dbdbdb;
  border-radius:8px;
  background:#efefef;
  color:#111;
  font-size:12px;
  font-weight:650;
  white-space:nowrap;
}
.qbp-instagram-profile .qbp-ig-action--primary{background:#efefef;border-color:#dbdbdb}

.qbp-instagram-profile .qbp-ig-story-row{
  display:flex;
  align-items:flex-start;
  gap:20px;
  overflow-x:auto;
  padding:14px 22px 20px;
  border-bottom:1px solid #efefef;
  scrollbar-width:none;
}
.qbp-instagram-profile .qbp-ig-story-row::-webkit-scrollbar{display:none}
.qbp-instagram-profile .qbp-ig-story-item,
.qbp-instagram-profile .qbp-ig-story-add{
  display:block!important;
  flex:0 0 74px;
  color:#222;
  text-align:center;
  text-decoration:none;
  font-size:11px;
  overflow:hidden;
}
.qbp-instagram-profile .qbp-ig-story-circle{
  width:66px;
  height:66px;
  margin:0 auto 7px;
  border-radius:50%;
  border:3px solid #fff;
  outline:2px solid #d62976;
  box-shadow:0 0 0 2px #feda75;
  background:#eee center/cover no-repeat;
}
.qbp-instagram-profile .qbp-ig-story-circle--add{
  outline:0!important;
  box-shadow:none!important;
  border:1px solid #222!important;
  background:#fff!important;
  color:#111;
  font-size:28px;
  line-height:62px;
}
.qbp-instagram-profile .qbp-ig-tabs{
  height:52px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:0;
  border-bottom:1px solid #dbdbdb;
}
.qbp-instagram-profile .qbp-ig-tabs .qbp-profile-tab{
  height:52px;
  border:0;
  border-bottom:1px solid transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#737373;
  text-decoration:none;
  font-size:20px;
}
.qbp-instagram-profile .qbp-ig-tabs .qbp-profile-tab.is-active{
  color:#111;
  border-bottom:2px solid #111;
}
.qbp-instagram-profile .qbp-ig-tabs .qbp-profile-tab span:first-child{font-size:21px}
.qbp-instagram-profile .qbp-ig-tabs .screen-reader-text{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.qbp-instagram-profile .qbp-ig-post-grid{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:3px!important;
  background:#fff;
}
.qbp-instagram-profile .qbp-ig-post{
  aspect-ratio:1/1;
  min-width:0;
}
.qbp-instagram-profile .qbp-ig-post__tools{display:none!important}
.qbp-instagram-profile .qbp-profile-empty{
  grid-column:1/-1;
  min-height:330px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:35px 20px;
}
.qbp-instagram-profile .qbp-ig-empty-section .qbp-profile-empty{min-height:330px}

@media(max-width:700px){
  .qbp-instagram-profile .qbp-ig-header{
    height:54px;
    padding:0 12px;
  }
  .qbp-instagram-profile .qbp-ig-header__user{font-size:16px}
  .qbp-instagram-profile .qbp-ig-header__side{gap:8px}
  .qbp-instagram-profile .qbp-ig-icon-button{width:31px;height:31px;font-size:25px!important}
  .qbp-instagram-profile .qbp-ig-threads{font-size:25px}
  .qbp-instagram-profile .qbp-ig-profile-head{
    padding:18px 14px 7px;
  }
  .qbp-instagram-profile .qbp-ig-head-main{
    grid-template-columns:88px 1fr;
    gap:18px;
  }
  .qbp-instagram-profile .qbp-ig-avatar-wrap--story{
    width:88px;
    height:88px;
  }
  .qbp-instagram-profile .qbp-ig-avatar-story-link{
    width:84px;
    height:84px;
  }
  .qbp-instagram-profile .qbp-ig-avatar-story-ring{
    width:84px;
    height:84px;
    padding:3px;
  }
  .qbp-instagram-profile .qbp-ig-avatar-story-ring .qbp-ig-avatar{
    width:78px;
    height:78px;
    border-width:2px!important;
  }
  .qbp-instagram-profile .qbp-ig-avatar-story-link--plain .qbp-ig-avatar{
    width:84px;
    height:84px;
  }
  .qbp-instagram-profile .qbp-ig-avatar-add-story{
    width:24px;
    height:24px;
    right:0;
    bottom:0;
    border-width:2px;
    font-size:16px;
  }
  .qbp-instagram-profile .qbp-ig-stats{gap:4px}
  .qbp-instagram-profile .qbp-ig-stats div{min-width:48px}
  .qbp-instagram-profile .qbp-ig-stats strong{font-size:15px}
  .qbp-instagram-profile .qbp-ig-stats span{font-size:10px}
  .qbp-instagram-profile .qbp-ig-identity{margin-top:13px}
  .qbp-instagram-profile .qbp-ig-identity h1{font-size:14px}
  .qbp-instagram-profile .qbp-ig-bio{font-size:12.5px;line-height:1.65}
  .qbp-instagram-profile .qbp-ig-profile-link{font-size:12px}
  .qbp-instagram-profile .qbp-ig-location{font-size:11px}
  .qbp-instagram-profile .qbp-ig-profile-actions{gap:5px;margin-top:13px}
  .qbp-instagram-profile .qbp-ig-action{height:33px;font-size:10.5px;padding:0 4px}
  .qbp-instagram-profile .qbp-ig-story-row{
    gap:15px;
    padding:12px 14px 18px;
  }
  .qbp-instagram-profile .qbp-ig-story-item,
  .qbp-instagram-profile .qbp-ig-story-add{flex-basis:70px;font-size:10px}
  .qbp-instagram-profile .qbp-ig-story-circle{
    width:62px;
    height:62px;
  }
  .qbp-instagram-profile .qbp-ig-story-circle--add{line-height:60px}
  .qbp-instagram-profile .qbp-ig-tabs,
  .qbp-instagram-profile .qbp-ig-tabs .qbp-profile-tab{height:50px}
  .qbp-instagram-profile .qbp-ig-post-grid{gap:2px!important}
}


/* QBP 2.3.0 — professional Instagram profile shell */
.qbp-instagram-profile .qbp-ig-icon-button svg,.qbp-instagram-profile .qbp-ig-threads svg,.qbp-instagram-profile .qbp-ig-tabs svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:block}
.qbp-instagram-profile .qbp-ig-threads svg{width:26px;height:26px}
.qbp-instagram-profile .qbp-ig-icon-button{color:#111!important}
.qbp-ig-menu{position:absolute;top:56px;left:12px;z-index:50;min-width:190px;background:#fff;border:1px solid #e6e6e6;border-radius:14px;box-shadow:0 14px 35px rgba(0,0,0,.12);padding:7px}
.qbp-ig-menu[hidden]{display:none}
.qbp-ig-menu a{display:block;padding:11px 12px;color:#111;text-decoration:none;border-radius:9px;font-size:13px}
.qbp-ig-menu a:hover{background:#f5f5f5}
.qbp-instagram-profile{position:relative;padding-bottom:0!important}
.qbp-instagram-profile .qbp-ig-tabs{grid-template-columns:repeat(5,1fr)!important}
.qbp-instagram-profile .qbp-ig-tabs .qbp-profile-tab svg{width:21px;height:21px}
@media(max-width:767px){
 .qbp-instagram-profile{padding-bottom:64px!important}
 .qbp-ig-menu{top:52px;left:8px}
}

/* v2.5.9 — profile section visibility fix
 * The video tab is a separate section and must remain hidden until selected.
 * Do not let the Instagram post-grid display rule override the HTML hidden state.
 */
.qbp-instagram-profile .qbp-profile-section[hidden]{display:none!important;}
.qbp-instagram-profile .qbp-profile-section:not([hidden]){display:grid;}
/* QBP 2.5.11 — profile social interactions */
.qbp-instagram-profile .qbp-ig-tabs{grid-template-columns:repeat(5,1fr)!important}
.qbp-instagram-profile .qbp-ig-profile-actions .qbp-social-follow-btn{font-weight:700}
.qbp-instagram-profile .qbp-ig-profile-actions .qbp-social-follow-btn.is-following{background:#fff}
@media(max-width:767px){
 .qbp-instagram-profile .qbp-ig-profile-actions{grid-template-columns:repeat(3,1fr)}
}

/* v2.5.12 */
.qbp-instagram-profile .qbp-notification-trigger{font-size:20px!important}
.qbp-instagram-profile .qbp-ig-tabs{grid-template-columns:repeat(5,1fr)}
.qbp-instagram-profile .qbp-profile-section.qbp-ig-post-grid{min-width:0}
@media(max-width:700px){
  .qbp-instagram-profile .qbp-ig-tabs{grid-template-columns:repeat(5,1fr)}
}

.qbp-profile-actions,.qbp-profile-tabs{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:15px 0}.qbp-profile-actions a,.qbp-profile-tabs a{padding:8px 14px;border:1px solid #ddd;border-radius:8px;text-decoration:none}

/* QBP 23.2.0 — Instagram-style Create Sheet + profile modules */
.qbp-create-sheet[hidden]{display:none!important}
.qbp-create-sheet{position:fixed;inset:0;z-index:99990}
.qbp-create-sheet__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45);backdrop-filter:blur(2px)}
.qbp-create-sheet__dialog{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,520px);max-height:82vh;overflow:auto;background:#fff;border-radius:22px 22px 0 0;box-shadow:0 -12px 40px rgba(0,0,0,.18);padding-bottom:max(18px,env(safe-area-inset-bottom));animation:qbpSheetUp .2s ease-out}
.qbp-create-sheet__handle{width:42px;height:4px;border-radius:99px;background:#c7c7c7;margin:10px auto 3px}
.qbp-create-sheet__dialog>header{height:50px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #eee;position:relative;font-size:18px}
.qbp-create-sheet__dialog>header button{position:absolute;right:14px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:#111}
.qbp-create-sheet__items{display:grid;grid-template-columns:1fr;}
.qbp-create-sheet__item{position:relative;min-height:64px;padding:0 22px;display:flex;align-items:center;gap:16px;text-decoration:none;color:#111;border-bottom:1px solid #f0f0f0;font-size:15px;font-weight:600}
.qbp-create-sheet__item:hover{background:#f7f7f7}
.qbp-create-sheet__item-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #111;border-radius:9px;flex:0 0 34px}
.qbp-create-sheet__item-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.qbp-create-sheet__item b{margin-right:auto;background:#3478f6;color:#fff;border-radius:999px;padding:4px 9px;font-size:10px}
.qbp-create-sheet-page{max-width:520px;margin:0 auto;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.08)}
.qbp-create-sheet-page h1{text-align:center;font-size:20px;margin:12px 0 18px}
.qbp-create-sheet-page .qbp-create-sheet__items{border-top:1px solid #eee}
.qbp-create-sheet-page .qbp-create-sheet__item{min-height:70px}
.qbp-ig-tabs{grid-template-columns:repeat(5,1fr)!important}
@keyframes qbpSheetUp{from{transform:translate(-50%,100%)}to{transform:translate(-50%,0)}}
.qbp-create-sheet-page .qbp-create-sheet__icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #111;border-radius:9px;flex:0 0 34px}.qbp-create-sheet-page .qbp-create-sheet__icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.qbp-create-sheet-page .qbp-create-sheet__item{padding:0 20px}


/* QBP v23.4.1 — reference-locked mobile profile surface.
 * The supplied screenshots are the visual contract: profile chrome owns the
 * viewport, the generic QBP topbar is suppressed on this surface, and only
 * the Instagram-like profile header/content/bottom navigation remain visible.
 */
@media (max-width: 767px){
  html:has(body.qbp-social-shell .qbp-instagram-profile){
    scroll-padding-top:0!important;
    scroll-padding-bottom:64px!important;
  }
  body.qbp-social-shell:has(.qbp-instagram-profile){
    padding-top:0!important;
    padding-bottom:64px!important;
    background:#fff!important;
  }
  body.qbp-social-shell:has(.qbp-instagram-profile) .qbp-topbar{
    display:none!important;
  }
  body.qbp-social-shell:has(.qbp-instagram-profile) #content,
  body.qbp-social-shell:has(.qbp-instagram-profile) .site-content,
  body.qbp-social-shell:has(.qbp-instagram-profile) .content-area,
  body.qbp-social-shell:has(.qbp-instagram-profile) .site-main{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }

  .qbp-instagram-profile{
    width:100%!important;
    max-width:none!important;
    min-height:calc(100vh - 64px);
    margin:0!important;
    padding-bottom:0!important;
    background:#fff!important;
  }
  .qbp-instagram-profile .qbp-ig-header{
    height:54px!important;
    min-height:54px!important;
    padding:0 14px!important;
    border-bottom:1px solid #efefef!important;
  }
  .qbp-instagram-profile .qbp-ig-header__user{
    font-size:16px!important;
    font-weight:700!important;
  }
  .qbp-instagram-profile .qbp-ig-header__side--start{gap:9px!important}
  .qbp-instagram-profile .qbp-ig-header__side--end{gap:4px!important}
  .qbp-instagram-profile .qbp-ig-icon-button{
    width:34px!important;
    height:34px!important;
  }
  .qbp-instagram-profile .qbp-ig-icon-button svg{width:25px!important;height:25px!important;stroke-width:1.85!important}
  .qbp-instagram-profile .qbp-ig-threads svg{width:26px!important;height:26px!important}

  .qbp-instagram-profile .qbp-ig-profile-head{
    padding:20px 14px 8px!important;
  }
  .qbp-instagram-profile .qbp-ig-head-main{
    grid-template-columns:88px minmax(0,1fr)!important;
    gap:18px!important;
    align-items:center!important;
  }
  .qbp-instagram-profile .qbp-ig-avatar-wrap--story{
    width:88px!important;height:88px!important;
  }
  .qbp-instagram-profile .qbp-ig-avatar-story-link{
    width:84px!important;height:84px!important;
  }
  .qbp-instagram-profile .qbp-ig-avatar-story-ring{
    width:84px!important;height:84px!important;padding:3px!important;
  }
  .qbp-instagram-profile .qbp-ig-avatar-story-ring .qbp-ig-avatar{
    width:78px!important;height:78px!important;border:2px solid #fff!important;
  }
  .qbp-instagram-profile .qbp-ig-avatar-story-link--plain .qbp-ig-avatar{
    width:84px!important;height:84px!important;
  }
  .qbp-instagram-profile .qbp-ig-avatar-add-story{
    width:23px!important;height:23px!important;right:0!important;bottom:0!important;
    border-width:2px!important;font-size:16px!important;
  }
  .qbp-instagram-profile .qbp-ig-stats{
    width:100%!important;
    gap:4px!important;
    justify-content:space-between!important;
  }
  .qbp-instagram-profile .qbp-ig-stats > div,
  .qbp-instagram-profile .qbp-ig-stat-button{
    min-width:0!important;
    flex:1 1 0!important;
    text-align:center!important;
  }
  .qbp-instagram-profile .qbp-ig-stats strong{
    display:block!important;font-size:15px!important;line-height:1.2!important;
  }
  .qbp-instagram-profile .qbp-ig-stats span{
    display:block!important;margin-top:4px!important;font-size:10.5px!important;
  }
  .qbp-instagram-profile .qbp-ig-identity{
    margin-top:13px!important;
  }
  .qbp-instagram-profile .qbp-ig-identity h1{font-size:14px!important;margin-bottom:4px!important}
  .qbp-instagram-profile .qbp-ig-bio{font-size:12.5px!important;line-height:1.65!important}
  .qbp-instagram-profile .qbp-ig-profile-link{font-size:12px!important}
  .qbp-instagram-profile .qbp-ig-location{font-size:11px!important}
  .qbp-instagram-profile .qbp-ig-profile-actions{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;margin-top:13px!important;
  }
  .qbp-instagram-profile .qbp-ig-action{
    height:33px!important;padding:0 4px!important;border-radius:7px!important;
    font-size:10.5px!important;font-weight:650!important;
  }

  .qbp-instagram-profile .qbp-ig-story-row{
    gap:15px!important;
    padding:12px 14px 18px!important;
    border-bottom:1px solid #efefef!important;
  }
  .qbp-instagram-profile .qbp-ig-story-item,
  .qbp-instagram-profile .qbp-ig-story-add{
    flex:0 0 70px!important;font-size:10px!important;
  }
  .qbp-instagram-profile .qbp-ig-story-circle{
    width:62px!important;height:62px!important;margin-bottom:7px!important;
    outline:1px solid #ddd!important;box-shadow:none!important;
    border:2px solid #fff!important;
  }
  .qbp-instagram-profile .qbp-ig-story-circle--add{
    line-height:58px!important;font-size:25px!important;
    outline:0!important;box-shadow:none!important;border:1px solid #222!important;
  }

  /* v25.24.4 — central profile has five tabs including Store. Keep all tabs on one row. */
  .qbp-instagram-profile .qbp-ig-tabs{
    height:50px!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-template-rows:1fr!important;
    border-bottom:1px solid #dbdbdb!important;
    overflow:hidden!important;
  }
  .qbp-instagram-profile .qbp-ig-tabs .qbp-profile-tab{
    height:50px!important;font-size:0!important;
  }
  .qbp-instagram-profile .qbp-ig-tabs .qbp-profile-tab svg{
    width:21px!important;height:21px!important;stroke-width:1.8!important;
  }
  .qbp-instagram-profile .qbp-ig-tabs .qbp-profile-tab.is-active{
    border-bottom:2px solid #111!important;color:#111!important;
  }
  .qbp-instagram-profile .qbp-ig-post-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:2px!important;
  }
  .qbp-instagram-profile .qbp-ig-post{aspect-ratio:1/1!important}

  /* Exact reference behavior: the profile create sheet is a full-width
     bottom sheet with eight independently routable actions. */
  .qbp-create-sheet__dialog{
    width:100%!important;
    max-height:82vh!important;
    border-radius:22px 22px 0 0!important;
  }
  .qbp-create-sheet__dialog>header{
    height:50px!important;
    font-size:18px!important;
  }
  .qbp-create-sheet__item{
    min-height:68px!important;
    padding:0 28px!important;
    gap:16px!important;
    font-size:15px!important;
    font-weight:600!important;
  }
  .qbp-create-sheet__item-icon{
    width:34px!important;height:34px!important;flex-basis:34px!important;
    border-radius:9px!important;
  }
}

/* The screenshot's bottom bar contains icons only; keep labels available to
 * assistive technology while removing visual text on the social shell. */
body.qbp-social-shell .qbp-bottom-nav__badge{
  position:absolute;
  top:8px;
  right:calc(50% - 20px);
  min-width:17px;
  height:17px;
  padding:0 4px;
  border-radius:999px;
  background:#e1306c;
  color:#fff;
  font:700 10px/17px Arial,sans-serif;
  text-align:center;
  border:2px solid #fff;
  box-sizing:content-box;
}
body.qbp-social-shell .qbp-bottom-nav__direct{position:relative}


/* QBP v23.6.13 — unified Instagram-inspired frontend forms.
 * Presentation-only refinement: existing field names, endpoints, nonce and
 * lifecycle handlers remain unchanged. */
.qbp-ig-unified-form,
.qbp-ig-settings-form{
  max-width:620px!important;
  margin:0 auto 22px!important;
  padding:0!important;
  border:1px solid #dbdbdb!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 8px 30px rgba(0,0,0,.05);
  overflow:hidden;
}
.qbp-ig-form-head{
  min-height:68px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid #efefef;
  box-sizing:border-box;
}
.qbp-ig-form-head__avatar{
  width:48px;height:48px;flex:0 0 48px;border-radius:50%;overflow:hidden;background:#f2f2f2;
}
.qbp-ig-form-head__avatar img{
  width:100%;height:100%;display:block;object-fit:cover;border-radius:50%;
}
.qbp-ig-form-head strong{display:block;font-size:15px;line-height:1.5}
.qbp-ig-form-head span{display:block;margin-top:2px;color:#737373;font-size:11px;line-height:1.6}
.qbp-ig-form-body{padding:18px 16px}
.qbp-ig-form-body .qbp-form-section{margin:0;padding:0;border:0}
.qbp-ig-form-body .qbp-form-section + .qbp-form-section{margin-top:22px;padding-top:20px;border-top:1px solid #efefef}
.qbp-ig-form-body .qbp-form-section h4{font-size:13px;margin:0 0 13px;color:#262626}
.qbp-ig-form-fields{display:grid;gap:14px}
.qbp-ig-form-fields label,
.qbp-ig-settings-form label{display:block;margin:0;font-size:12px;font-weight:600;color:#262626}
.qbp-ig-form-fields label>span{display:block;margin-bottom:6px}
.qbp-ig-form-fields input,
.qbp-ig-form-fields textarea,
.qbp-ig-settings-form input,
.qbp-ig-settings-form textarea{
  width:100%!important;box-sizing:border-box!important;
  border:1px solid #dbdbdb!important;border-radius:8px!important;
  background:#fafafa!important;color:#262626!important;
  padding:11px 12px!important;font:inherit!important;outline:none;
  transition:border-color .15s ease,background .15s ease;
}
.qbp-ig-form-fields input:focus,
.qbp-ig-form-fields textarea:focus,
.qbp-ig-settings-form input:focus,
.qbp-ig-settings-form textarea:focus{border-color:#a8a8a8!important;background:#fff!important}
.qbp-ig-form-fields textarea,
.qbp-ig-settings-form textarea{min-height:104px;resize:vertical;line-height:1.8}
.qbp-ig-media-picker{margin-bottom:20px}
.qbp-ig-media-picker__preview{
  min-height:210px;
  border:1px dashed #c7c7c7;
  border-radius:10px;
  background:#fafafa;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  overflow:hidden;text-align:center;color:#737373;
}
.qbp-ig-media-picker__preview img,
.qbp-ig-media-picker__preview video{display:block;width:100%;max-height:420px;object-fit:contain;background:#000}
.qbp-ig-media-picker__preview span{font-size:34px;line-height:1;margin-bottom:8px}
.qbp-ig-media-picker__preview strong{font-size:14px;color:#262626}
.qbp-ig-media-picker__preview small{margin-top:5px;font-size:10px}
.qbp-ig-media-picker__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
.qbp-ig-media-picker__actions label{
  position:relative;display:flex;align-items:center;justify-content:center;min-height:42px;
  border:1px solid #dbdbdb;border-radius:8px;background:#fff;color:#262626;
  font-size:12px;font-weight:650;cursor:pointer;
}
.qbp-ig-media-picker__actions input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.qbp-ig-upload-card{
  display:block!important;padding:14px!important;background:#fafafa!important;
  border:1px dashed #c7c7c7!important;border-radius:8px!important;
}
.qbp-ig-upload-card__title{display:block;font-size:12px;font-weight:650}
.qbp-ig-upload-card small{display:block;margin:5px 0 8px;color:#737373;font-size:10px;font-weight:400}
.qbp-ig-upload-card input{margin:0!important;border:0!important;padding:5px 0!important;background:transparent!important}
.qbp-ig-form-footer{
  display:flex;align-items:center;gap:8px;padding:12px 16px;
  border-top:1px solid #efefef;background:#fff;
}
.qbp-ig-form-footer>a{
  flex:1;text-align:center;text-decoration:none;color:#262626;border:1px solid #dbdbdb;
  border-radius:8px;padding:10px 12px;font-size:12px;font-weight:650;
}
.qbp-ig-form-footer .qbp-save-btn{flex:1;width:auto!important;margin:0!important;border-radius:8px!important;padding:10px 12px!important;font-size:12px!important}
.qbp-ig-story-note{
  margin:0 16px 12px;padding:10px 12px;border-radius:8px;background:#fafafa;color:#737373;
  font-size:10px;line-height:1.8;
}

/* Login belongs to the QBP profile surface instead of wp-login.php. */
.qbp-auth-screen{
  min-height:calc(100vh - 64px);
  display:flex;align-items:center;justify-content:center;
  padding:28px 16px 80px;box-sizing:border-box;background:#fff;
}
.qbp-auth-card{
  width:min(100%,390px);padding:28px 24px;border:1px solid #dbdbdb;border-radius:12px;background:#fff;
  box-shadow:0 8px 30px rgba(0,0,0,.04);
}
.qbp-auth-brand{text-align:center;margin-bottom:22px}
.qbp-auth-brand__mark{
  width:56px;height:56px;margin:0 auto 12px;border:2px solid #262626;border-radius:18px;
  display:flex;align-items:center;justify-content:center;font-size:27px;font-weight:800;
}
.qbp-auth-brand strong{display:block;font-size:20px}
.qbp-auth-brand span{display:block;margin-top:5px;color:#737373;font-size:11px}
.qbp-auth-form{display:grid;gap:13px}
.qbp-auth-form>label{font-size:11px;font-weight:650;color:#262626}
.qbp-auth-form>label>input,
.qbp-password-field input{
  width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;
  border:1px solid #dbdbdb;border-radius:8px;background:#fafafa;font:inherit;
}
.qbp-password-field{position:relative;display:block}
.qbp-password-field input{padding-left:42px}
.qbp-password-field button{
  position:absolute;left:7px;bottom:5px;width:32px;height:32px;border:0;background:transparent;color:#737373;cursor:pointer;
}
.qbp-check-row{display:flex!important;align-items:center;gap:8px;font-weight:500!important}
.qbp-check-row input{width:16px!important;height:16px;margin:0!important}
.qbp-auth-submit{
  width:100%;border:0;border-radius:8px;padding:11px 14px;background:#262626;color:#fff;
  font:inherit;font-weight:700;cursor:pointer;
}
.qbp-auth-links{display:grid;gap:10px;margin-top:18px;text-align:center}
.qbp-auth-links a{font-size:11px;color:#262626;text-decoration:none}
.qbp-auth-links a:first-child{color:#737373}
.qbp-ig-menu__logout{color:#c5221f!important}

/* Reel and story composers use the same surface language as post/module forms. */
.qbp-reel-composer{max-width:620px;margin:0 auto}
.qbp-reel-form,.qbp-story-form{border:1px solid #dbdbdb!important;border-radius:12px!important;background:#fff!important;box-shadow:0 8px 30px rgba(0,0,0,.05)!important;overflow:hidden}
.qbp-story-form{padding:0!important}
.qbp-story-form>label{display:block;margin:0 16px 14px!important;font-size:12px;font-weight:650}
.qbp-story-form>label input,.qbp-story-form>label textarea{
  display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #dbdbdb;border-radius:8px;background:#fafafa;padding:11px 12px;font:inherit;
}
.qbp-story-form .qbp-upload-box{margin:0 16px 10px!important}
.qbp-reel-composer__header{height:62px!important;border-bottom:1px solid #efefef!important;padding:0 16px!important}
.qbp-reel-composer__body{padding:16px!important}
.qbp-reel-stage{border-radius:10px!important;overflow:hidden;border:1px dashed #c7c7c7!important}
.qbp-reel-media-actions{gap:8px!important}
.qbp-reel-media-button{border:1px solid #dbdbdb!important;border-radius:8px!important;background:#fff!important}
.qbp-reel-field input,.qbp-reel-field textarea{border:1px solid #dbdbdb!important;border-radius:8px!important;background:#fafafa!important}
.qbp-reel-more{border:1px solid #efefef!important;border-radius:8px!important}
.qbp-reel-submit{border-radius:8px!important}

@media(max-width:700px){
  .qbp-ig-unified-form,.qbp-ig-settings-form,.qbp-reel-composer{max-width:none!important;margin-left:0!important;margin-right:0!important;border-left:0!important;border-right:0!important;border-radius:0!important;box-shadow:none!important}
  .qbp-ig-form-body{padding:16px 14px}
  .qbp-ig-form-head{padding:12px 14px}
  .qbp-ig-media-picker__preview{min-height:190px}
  .qbp-auth-screen{padding:20px 12px 78px}
  .qbp-auth-card{border-left:0;border-right:0;border-radius:0;box-shadow:none;padding:26px 18px}
}
/* v24.3: make the frontend create-sheet close control deterministic against theme button rules. */
.qbp-create-sheet__dialog>header button[data-qbp-close-create]{width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:50%!important;box-shadow:none!important;color:#111!important;line-height:40px!important}

/* QBP v24.3.2 — Live composer controls */

/* v25.42.2 — Central Profile cover / business identity */
.qbp-central-profile-cover{width:100%;max-height:260px;overflow:hidden;border-radius:18px;margin:0 0 14px;background:#eee}
.qbp-central-profile-cover img{display:block;width:100%;height:260px;object-fit:cover}
.qbp-ig-business-name{font-weight:700;margin:.25rem 0 .45rem}
.qbp-content-price-field{margin:16px 0;padding:12px;border-radius:14px;background:rgba(127,127,127,.08)}
.qbp-content-price-field label{display:block}
.qbp-content-price-field small{display:block;margin-top:6px;opacity:.72}

/* v25.44.2 — Central Profile: exact five tabs */
.qbp-central-profile-tabs{grid-template-columns:repeat(5,1fr)!important}
.qbp-central-profile-tabs .qbp-profile-tab{min-width:0}
.qbp-central-stories{padding:12px 0 22px}
.qbp-central-stories__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
.qbp-central-story-card{min-width:0}
.qbp-central-story-card a{display:block;position:relative;aspect-ratio:1/1;text-decoration:none;color:#111;background:#f3f3f3;overflow:hidden}
.qbp-central-story-card img{display:block;width:100%;height:100%;object-fit:cover}
.qbp-central-story-card a>span{position:absolute;right:6px;left:6px;bottom:6px;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.8);font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qbp-central-story-card__video,.qbp-central-story-card__empty{height:100%;display:flex;align-items:center;justify-content:center;font-size:28px;color:#777}
.qbp-central-story-card__empty svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.8}
@media(max-width:700px){
 .qbp-central-profile-tabs .qbp-profile-tab{min-height:50px;font-size:9px}
 .qbp-central-profile-tabs .qbp-profile-tab svg{width:20px;height:20px}
}
