/* BucheeSocial November 2 polish: close friends, highlights, creator insights, group entry. */
#main-content .pati-ig-profile .pati-ig-stats{gap:6px!important;padding:0!important}
#main-content .pati-ig-profile .pati-ig-stats :is(span,button){min-width:0!important;padding:2px 1px!important}
#main-content .pati-ig-profile .pati-ig-stats b{font-size:clamp(14px,3.65vw,16px)!important;line-height:1.22!important;font-weight:790!important}
#main-content .pati-ig-profile .pati-ig-stats small{font-size:clamp(9px,2.5vw,10px)!important;line-height:1.3!important;color:#817589!important}
#main-content .pati-ig-profile .pati-ig-summary{gap:10px!important}
#main-content .pati-profile-insights-preview{border-radius:16px!important}

/* The menu keeps its grouped settings list; verification is no longer on profile. */
.buchee-menu-v2 .buchee-menu-quick-pink .buchee-menu-quick-icon svg{width:29px!important;height:29px!important}
.buchee-menu-v2 .buchee-menu-profile .buchee-menu-profile-text>span{color:#6324bc!important;font-weight:800!important}

/* Close Friends: accessible full-height picker with search and selected filter. */
#pati-close-picker{
 position:fixed!important;inset:0!important;z-index:2147483600!important;
 width:100vw!important;height:100dvh!important;overflow:hidden!important;background:#fff!important;
 color:#251a30!important;box-sizing:border-box!important
}
#pati-close-picker .pati-close-picker-shell{
 display:flex!important;flex-direction:column!important;width:100%!important;
 max-width:680px!important;height:100%!important;margin:0 auto!important;
 background:#fff!important;overflow:hidden!important;box-sizing:border-box!important;
 padding:0 17px calc(env(safe-area-inset-bottom,0px) + 12px)!important;
}
#pati-close-picker .pati-close-picker-shell>header{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:10px!important;flex:0 0 auto!important;min-height:65px!important;
 padding:calc(env(safe-area-inset-top,0px) + 10px) 0 10px!important;
 border-bottom:1px solid #f1ecf5!important;background:#fff!important;box-sizing:content-box!important
}
#pati-close-picker .pati-close-picker-shell>header strong{font-size:19px!important;font-weight:830!important;letter-spacing:-.55px!important}
#pati-close-picker [data-cf-action="cancel"]{
 display:grid!important;place-items:center!important;flex:0 0 40px!important;
 width:40px!important;height:40px!important;border-radius:12px!important;
 background:#f5f1f9!important;border:0!important;color:#3a2845!important;font-size:23px!important
}
#pati-close-picker .pati-close-confirm{
 border:0!important;border-radius:12px!important;padding:10px 16px!important;
 min-height:40px!important;background:#7326c8!important;color:#fff!important;
 font-size:13px!important;font-weight:800!important
}
#pati-close-picker .pati-close-info{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 gap:7px!important;flex:0 0 auto!important;text-align:center!important;padding:18px 8px 15px!important;
 margin:0!important;background:transparent!important
}
#pati-close-picker .buchee-cf-icon{
 width:59px!important;height:59px!important;border:3px solid #d9c4fb!important;
 border-radius:50%!important;display:grid!important;place-items:center!important;
 background:linear-gradient(135deg,#ad75f4,#6930c0)!important;
 color:#fff!important;font-size:27px!important;box-shadow:0 6px 20px #7b33c325!important
}
#pati-close-picker .pati-close-info h2{
 font-size:19px!important;line-height:1.2!important;margin:4px 0 0!important;
 color:#271a30!important;font-weight:830!important;letter-spacing:-.55px!important
}
#pati-close-picker .pati-close-info p{max-width:390px!important;margin:0!important;font-size:12px!important;color:#7b6d85!important;line-height:1.5!important}
#pati-close-picker #pati-close-count{
 display:inline-flex!important;align-items:center!important;
 border-radius:999px!important;padding:6px 13px!important;background:#f0e7fd!important;
 color:#6e28ba!important;font-weight:780!important;font-size:12px!important
}
#pati-close-picker .buchee-cf-search-wrap{flex:0 0 auto!important;margin:0 0 11px!important}
#pati-close-picker #pati-close-search{
 width:100%!important;min-height:46px!important;padding:0 14px!important;
 border:1px solid #e8deee!important;border-radius:14px!important;outline-color:#a771ee!important;
 background:#fbf9fd!important;color:#271a30!important;font-size:16px!important;box-sizing:border-box!important
}
#pati-close-picker .buchee-cf-tabs{display:flex!important;gap:7px!important;flex:0 0 auto!important;margin:0 0 10px!important}
#pati-close-picker .buchee-cf-tabs button{
 border:1px solid #eadff4!important;border-radius:999px!important;padding:8px 16px!important;
 min-height:36px!important;background:#fff!important;color:#766782!important;
 font-size:12px!important;font-weight:750!important
}
#pati-close-picker .buchee-cf-tabs button[aria-pressed="true"]{
 background:#7427cb!important;border-color:#7427cb!important;color:#fff!important
}
#pati-close-picker .pati-close-people{
 flex:1 1 auto!important;min-height:0!important;display:block!important;overflow-y:auto!important;
 overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
 border-top:1px solid #f1eaf5!important;padding:4px 0!important;margin:0!important
}
#pati-close-picker .pati-close-person{
 display:flex!important;align-items:center!important;gap:12px!important;
 width:100%!important;min-height:67px!important;box-sizing:border-box!important;
 padding:10px 5px!important;border:0!important;border-bottom:1px solid #f4eff6!important;
 background:#fff!important;text-align:left!important;color:#281d32!important
}
#pati-close-picker .pati-close-person[aria-pressed="true"]{background:#faf6ff!important}
#pati-close-picker .pati-close-person>span:not(:first-child){
 flex:1!important;display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important
}
#pati-close-picker .pati-close-person strong{font-size:14px!important;line-height:1.15!important;color:#2a1e32!important}
#pati-close-picker .pati-close-person small{font-size:12px!important;color:#928399!important}
#pati-close-picker .pati-close-person>b{
 display:grid!important;place-items:center!important;flex:0 0 25px!important;width:25px!important;height:25px!important;
 border:2px solid #c9bcda!important;border-radius:50%!important;color:transparent!important;
 background:#fff!important;font-size:16px!important
}
#pati-close-picker .pati-close-person[aria-pressed="true"]>b{
 background:#7625cb!important;border-color:#7625cb!important;color:white!important
}
#pati-close-picker .buchee-cf-note{flex:0 0 auto!important;margin:9px 2px 0!important;font-size:10px!important;line-height:1.35!important;color:#93879c!important}
#pati-close-picker .pati-close-error{font-size:12px!important;color:#c6285c!important;margin:5px 0!important}
@media(max-height:670px){
 #pati-close-picker .pati-close-info{padding:8px 3px!important;gap:4px!important}
 #pati-close-picker .buchee-cf-icon{width:42px!important;height:42px!important;font-size:20px!important}
 #pati-close-picker .pati-close-info h2{font-size:16px!important}
 #pati-close-picker .pati-close-info p{font-size:11px!important}
}

/* Profile highlight albums: horizontal photo cover circles with a clear create button. */
#main-content .buchee-highlights{display:block!important;margin:5px 0 14px!important;padding:4px 0 7px!important;background:#fff!important}
#main-content .buchee-highlights-top{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:0 16px 11px!important}
#main-content .buchee-highlights-top strong{font-size:13px!important;font-weight:820!important;letter-spacing:-.1px!important;color:#33233c!important}
#main-content .buchee-highlights-top button{
 border:0!important;background:transparent!important;color:#7432bf!important;
 padding:7px 5px!important;font-size:12px!important;font-weight:750!important
}
#main-content .buchee-highlights-track{
 display:flex!important;align-items:flex-start!important;gap:14px!important;
 width:100%!important;min-height:104px!important;overflow-x:auto!important;overflow-y:hidden!important;
 padding:0 16px 5px!important;box-sizing:border-box!important;
 -webkit-overflow-scrolling:touch!important;scrollbar-width:none!important
}
#main-content .buchee-highlights-track::-webkit-scrollbar{display:none!important}
#main-content .buchee-highlight-tile{
 flex:0 0 76px!important;width:76px!important;display:flex!important;flex-direction:column!important;
 align-items:center!important;gap:7px!important;min-width:0!important;padding:0!important;
 border:0!important;background:transparent!important;color:#34273f!important;cursor:pointer!important
}
#main-content .buchee-highlight-ring{
 width:72px!important;height:72px!important;flex:0 0 72px!important;border-radius:50%!important;
 display:grid!important;place-items:center!important;overflow:hidden!important;
 border:2px solid #e7daf1!important;background:#f1e5f9!important;
 box-shadow:inset 0 0 0 3px #fff!important;box-sizing:border-box!important
}
#main-content .buchee-highlight-ring img{
 width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important
}
#main-content .buchee-highlight-ring.buchee-highlight-plus{
 border:2px dashed #aa7cda!important;color:#6d27b5!important;background:#f6f0fc!important;
 font-size:33px!important;font-weight:400!important
}
#main-content .buchee-highlight-archive{color:#9e6dd3!important;font-size:27px!important}
#main-content .buchee-highlight-tile small{
 display:block!important;width:100%!important;max-width:100%!important;
 font-size:11px!important;line-height:1.3!important;text-align:center!important;
 font-weight:650!important;color:#54465d!important;overflow:hidden!important;
 text-overflow:ellipsis!important;white-space:nowrap!important
}
.buchee-highlight-cover-empty{color:#a17cc8;font-size:29px;line-height:1}

/* Album management and visual story choice use existing protected story/album records. */
#modal-root .buchee-highlight-form-intro{
 padding:14px!important;border-radius:17px!important;background:#f6effc!important;
 margin-bottom:16px!important
}
#modal-root .buchee-highlight-form-intro strong{font-size:15px!important;color:#3d2253!important;font-weight:850!important}
#modal-root .buchee-highlight-form-intro p{font-size:12px!important;line-height:1.45!important;margin:5px 0 0!important;color:#7f688a!important}
#modal-root .buchee-highlight-picker-heading{font-size:13px!important;font-weight:800!important;margin:17px 0 11px!important;color:#3b264b!important}
#modal-root .buchee-highlight-story-picker{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px!important;
 max-height:48dvh!important;overflow-y:auto!important;padding:3px!important
}
#modal-root .buchee-highlight-story-option{
 display:flex!important;flex-direction:column!important;position:relative!important;gap:6px!important;
 min-width:0!important;cursor:pointer!important;text-align:center!important
}
#modal-root .buchee-highlight-story-option>input{
 position:absolute!important;opacity:0!important;width:100%!important;height:100%!important;
 inset:0!important;margin:0!important;z-index:4!important;cursor:pointer!important
}
#modal-root .buchee-highlight-story-thumb{
 width:100%!important;aspect-ratio:3/4!important;overflow:hidden!important;border-radius:13px!important;
 display:grid!important;place-items:center!important;border:3px solid transparent!important;
 background:linear-gradient(135deg,#eee3fc,#f7dfee)!important;box-sizing:border-box!important
}
#modal-root .buchee-highlight-story-thumb img{height:100%!important;width:100%!important;object-fit:cover!important}
#modal-root .buchee-highlight-story-option:has(input:checked) .buchee-highlight-story-thumb{border-color:#8531d0!important}
#modal-root .buchee-highlight-story-option small{font-size:10px!important;font-weight:600!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
#modal-root .buchee-highlight-selected{
 position:absolute!important;top:8px!important;right:8px!important;z-index:3!important;
 display:none!important;place-items:center!important;width:24px!important;height:24px!important;
 border-radius:50%!important;background:#8732d0!important;color:#fff!important;font-size:13px!important
}
#modal-root .buchee-highlight-story-option:has(input:checked) .buchee-highlight-selected{display:grid!important}
#modal-root .buchee-highlight-story-option:has(input:focus-visible) .buchee-highlight-story-thumb{outline:3px solid #b58fe3!important;outline-offset:2px!important}
#modal-root .buchee-highlight-hint{font-size:11px!important;color:#807388!important;line-height:1.5!important}
#modal-root .buchee-highlight-manage-item{
 display:flex!important;align-items:center!important;gap:10px!important;
 padding:10px 0!important;border-bottom:1px solid #f0e8f5!important
}
#modal-root .buchee-highlight-manage-cover{
 flex:0 0 51px!important;width:51px!important;height:51px!important;border-radius:50%!important;
 display:grid!important;place-items:center!important;overflow:hidden!important;
 background:#f3e9fb!important;border:2px solid #e8d5f5!important
}
#modal-root .buchee-highlight-manage-cover img{width:100%!important;height:100%!important;object-fit:cover!important}
#modal-root .buchee-highlight-manage-detail{display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;gap:3px!important}
#modal-root .buchee-highlight-manage-detail strong{font-size:13px!important;color:#35233e!important}
#modal-root .buchee-highlight-manage-detail small{font-size:11px!important;color:#9b8ba6!important}
#modal-root .buchee-highlight-manage-actions{display:flex!important;flex-wrap:wrap!important;gap:5px!important;justify-content:flex-end!important}
#modal-root .buchee-highlight-manage-actions button{
 min-height:30px!important;padding:6px 8px!important;border-radius:9px!important;
 background:#f0e5fa!important;color:#672ab2!important;border:0!important;font-size:11px!important;font-weight:750!important
}
#modal-root .buchee-highlight-manage-actions .buchee-highlight-delete{background:#fff0f1!important;color:#bc4661!important}
#modal-root .buchee-highlight-new-manager{
 width:100%!important;min-height:47px!important;margin-top:16px!important;border-radius:13px!important;
 background:#742aca!important;color:#fff!important;border:0!important;font-size:14px!important;font-weight:800!important
}

/* Creator insights: subtle polish, compact KPIs and clearer data hierarchy. */
#pati-creator-dashboard{background:#fff!important;color:#2b1d35!important}
#pati-creator-dashboard .pati-creator-head{
 border-bottom:1px solid #efe7f6!important;background:#fff!important;
 box-shadow:0 1px 6px #5e36720b!important
}
#pati-creator-dashboard .pati-creator-private{
 color:#7133b4!important;background:#f1e9fa!important;border-radius:999px!important;
 padding:5px 10px!important;font-weight:800!important;font-size:10px!important
}
#pati-creator-dashboard .pati-creator-ranges{gap:7px!important}
#pati-creator-dashboard .pati-creator-ranges button{
 border-radius:999px!important;min-height:36px!important;font-size:12px!important
}
#pati-creator-dashboard .pati-creator-ranges button[aria-pressed="true"],
#pati-creator-dashboard .pati-creator-tabs button[aria-selected="true"]{
 background:#742bcb!important;color:#fff!important;border-color:#742bcb!important
}
#pati-creator-dashboard .pati-creator-stat{
 border-radius:17px!important;background:#fcfaff!important;
 border:1px solid #ede2f6!important;box-shadow:0 4px 15px #5b2f720a!important;
 min-height:112px!important;padding:14px!important
}
#pati-creator-dashboard .pati-creator-stat>span:first-child{
 font-size:12px!important;font-weight:700!important;color:#776783!important
}
#pati-creator-dashboard .pati-creator-stat strong{
 color:#352042!important;font-size:clamp(22px,6vw,29px)!important;
 font-variant-numeric:tabular-nums!important;letter-spacing:-1px!important
}
#pati-creator-dashboard .pati-creator-chart-card,
#pati-creator-dashboard .pati-creator-profile-moves,
#pati-creator-dashboard .pati-creator-detail-grid article{
 border-radius:17px!important;border:1px solid #eee4f5!important;
 background:#fff!important;box-shadow:0 4px 14px #5b2f7207!important
}
#pati-creator-dashboard .pati-creator-overview h2{font-size:19px!important;font-weight:850!important;letter-spacing:-.5px!important}
#pati-creator-dashboard .pati-creator-overview>p{color:#8a7c93!important;font-size:12px!important}
#pati-creator-dashboard .pati-creator-tabs{border-radius:13px!important;overflow:hidden!important}
#pati-creator-dashboard .pati-creator-tabs button{min-height:41px!important;font-size:12px!important}

/* Group CTA: real people/group-creation pictogram instead of a literal plus. */
.pati-dm-top-actions .buchee-dm-create-group{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:7px!important;border-radius:12px!important;padding:5px 11px 5px 6px!important;
 min-height:42px!important;background:#f4ecfd!important;color:#6c27bb!important;
 border:1px solid #e8d6f8!important;font-weight:780!important;font-size:12px!important
}
.pati-dm-top-actions .buchee-dm-group-glyph{
 flex:0 0 34px!important;display:grid!important;place-items:center!important;
 width:34px!important;height:34px!important;border-radius:11px!important;background:#fff!important
}
.pati-dm-top-actions .buchee-dm-group-glyph svg{
 display:block!important;width:28px!important;height:28px!important;stroke:currentColor!important;fill:none!important
}
@media(max-width:365px){
 #main-content .buchee-highlight-tile{flex-basis:70px!important;width:70px!important}
 #main-content .buchee-highlight-ring{width:65px!important;height:65px!important;flex-basis:65px!important}
 #modal-root .buchee-highlight-story-picker{gap:7px!important}
}
