/* PACKERO 3.8.26.284 — targeted UX finishing pass.
   Preserves existing event handlers, content filtering, chat/payment business logic. */

/* 1. Profile sections: NO invisible horizontal swipe on mobile. Five visible choices. */
body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669,
body.packero-v382669 .hp-official-tabs-v3733.hp-profile-tabs-v382669 {
  position:relative!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:5px!important;width:100%!important;max-width:100%!important;min-width:0!important;
  overflow:visible!important;scroll-snap-type:none!important;margin:20px 0 18px!important;
  border:0!important;border-radius:18px!important;background:transparent!important;
  box-shadow:none!important;padding:5px!important;
}
body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669>button{
  display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;
  min-width:0!important;width:100%!important;min-height:70px!important;flex:auto!important;
  padding:9px 7px!important;gap:5px!important;box-sizing:border-box!important;
  border:1px solid var(--line,#4b3b58)!important;border-radius:13px!important;
  background:var(--panel2,#191522)!important;color:var(--text,#f7ecff)!important;
  font-size:12px!important;font-weight:700!important;line-height:1.25!important;white-space:normal!important;
  box-shadow:0 3px 10px rgba(0,0,0,.06)!important;
  transition:background .16s ease,border-color .16s ease,transform .16s ease!important;
}
body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669>button.active{
  background:linear-gradient(137deg,rgba(142,67,218,.22),rgba(228,49,145,.14))!important;
  border-color:rgba(203,100,225,.85)!important;color:var(--text,#fff)!important;
  box-shadow:inset 0 0 0 1px rgba(215,112,236,.12),0 4px 12px rgba(111,39,142,.1)!important;
}
body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669>button:hover{border-color:rgba(197,105,224,.8)!important;transform:translateY(-1px)!important}
body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669>button:focus-visible{outline:3px solid #e665ca!important;outline-offset:2px!important}
body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669>button span{font-size:12px!important;line-height:1.28!important;font-weight:750!important;white-space:normal!important;overflow-wrap:anywhere}
.pk284-profile-tab-icon{display:block!important;width:25px!important;height:25px!important;max-width:25px!important;max-height:25px!important;object-fit:contain!important;flex:none!important}
@media(max-width:720px){
 body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669,body.packero-v382669 .hp-official-tabs-v3733.hp-profile-tabs-v382669{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    overflow:visible!important;scrollbar-width:auto!important;scroll-snap-type:none!important;
    gap:7px!important;padding:2px!important;
 }
 body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669>button{flex:none!important;min-width:0!important;width:100%!important;min-height:70px!important;padding:9px 4px!important}
 body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669>button span{font-size:12px!important}
}
@media(max-width:340px){body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669>button{padding:8px 2px!important}}

/* 2. Highlights / story viewer: editorial surfaces, safe touch targets, one close button. */
#modal .pk284-story-viewer{width:min(640px,100%)!important;max-width:100%!important;min-width:0!important;gap:12px!important;color:var(--text,#f8f2ff)}
#modal .pk284-story-viewer .hp-highlight-progress-v370{gap:5px;padding:2px 0}
#modal .pk284-story-viewer .hp-highlight-progress-v370 i{height:4px;border-radius:5px}
#modal .pk284-story-viewer header{min-height:52px;gap:10px}
#modal .pk284-story-viewer header>button{border-radius:12px!important;padding:5px!important;min-width:0;overflow:hidden;max-width:calc(100% - 56px)}
#modal .pk284-story-viewer header>button:hover{background:rgba(153,93,190,.08)!important}
#modal .pk284-story-viewer header>button span{min-width:0}
#modal .pk284-story-viewer header b,#modal .pk284-story-viewer header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
#modal .pk284-story-viewer .hp-highlight-stage-v370{max-width:100%;min-width:0;border-radius:20px!important;border:1px solid rgba(190,120,225,.16);box-shadow:0 18px 36px rgba(15,10,30,.13)}
#modal .pk284-story-viewer .hp-highlight-nav-v370{display:grid!important;place-items:center!important;width:42px!important;height:46px!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:14px!important;background:rgba(16,11,27,.65)!important;color:white!important;backdrop-filter:blur(10px)}
#modal .pk284-story-viewer .hp-highlight-nav-v370 svg{stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;fill:none}
#modal .pk284-story-viewer .hp-highlight-nav-v370:is(:hover,:focus-visible){background:rgba(122,50,181,.9)!important;border-color:rgba(255,255,255,.65)!important}
#modal .pk284-story-viewer .hp-highlight-nav-v370:focus-visible{outline:3px solid #ff71cf;outline-offset:2px}
#modal .pk284-story-viewer .hp-highlight-caption-v370{font-size:14px;line-height:1.55;overflow-wrap:anywhere;padding:0 2px}
#modal .pk284-story-viewer footer.pk284-highlight-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px!important;margin-top:2px;padding:12px!important;border:1px solid var(--line,#453550)!important;border-radius:16px;background:var(--panel2,#1c1625)}
#modal .pk284-highlight-note{display:flex;gap:10px;align-items:center;flex:1 1 205px;min-width:0}
#modal .pk284-highlight-note-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#9233d5,#f13e9c);color:white;font-size:18px}
#modal .pk284-highlight-note b{display:block;font-size:13px;line-height:1.28}
#modal .pk284-highlight-note small{display:block;max-width:none!important;line-height:1.43!important;font-size:12px!important;color:var(--muted,#b7a6bf)!important;margin-top:3px}
#modal .pk284-story-report{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:42px!important;min-width:0!important;max-width:100%!important;padding:10px 13px!important;border:1px solid rgba(226,124,154,.38)!important;border-radius:12px!important;background:rgba(244,82,117,.08)!important;color:#f29aa9!important;font-size:13px!important;font-weight:750!important;line-height:1.2!important;white-space:normal!important;cursor:pointer!important}
#modal .pk284-story-report svg{stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;fill:none;flex:none}
#modal .pk284-story-report:is(:hover,:focus-visible){border-color:rgba(248,117,143,.85)!important;background:rgba(244,82,117,.17)!important}
#modal .pk284-story-report:focus-visible{outline:3px solid #ff70ae!important;outline-offset:2px}
#modal .modal-x{display:grid;place-items:center;min-width:38px;min-height:38px;border:1px solid var(--line,#534157);border-radius:12px;background:var(--panel2,#201728);color:var(--text,#f7edf9);font-weight:550;line-height:1}
#modal .modal-x:is(:hover,:focus-visible){background:rgba(161,69,197,.19);border-color:#c675de}
@media(max-width:520px){
 #modal .pk284-story-viewer footer.pk284-highlight-footer{flex-direction:column!important;align-items:stretch!important;gap:11px!important}
 #modal .pk284-story-report{width:100%!important}
 #modal .pk284-highlight-note{flex:unset}
 #modal .pk284-story-viewer .hp-highlight-stage-v370{border-radius:16px!important}
}

/* 3. Better hierarchy of conversations: badges stay inside the identity cell and do not steal clicks. */
.inbox-layout .conversation-list .hp-conv-row-v382610{max-width:100%;min-width:0;box-sizing:border-box}
.inbox-layout .conversation-list .hp-conv-row-v382610 .conv,
.inbox-layout .conversation-list .hp-discover-chat.pk-chat-person-v245{max-width:100%;min-width:0;align-items:center;gap:10px}
.inbox-layout .conversation-list .hp-conv-copy{min-width:0;max-width:100%;overflow:hidden}
.inbox-layout .conversation-list .hp-conv-identity-v382619{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:4px 6px!important;min-width:0!important;max-width:100%!important}
.inbox-layout .conversation-list .hp-conv-name-v382619{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inbox-layout .conversation-list .hp-conv-badges-v382619{display:inline-flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px!important;min-width:0!important;max-width:100%!important}
.inbox-layout .conversation-list .hp-conv-badges-v382619 .hp-verify-badge-v3723,
.inbox-layout .conversation-list .hp-conv-badges-v382619 .hp-top-rated-v3723{display:grid;place-items:center;flex:0 0 21px;min-width:21px;min-height:21px;font-size:11px;line-height:1;border-radius:50%}
.inbox-layout .conversation-list .hp-conv-badges-v382619 .hp-special-mini-v3771{display:inline-flex;align-items:center;justify-content:center;max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 6px!important;font-size:10px!important;line-height:1.2;border-radius:999px}
.inbox-layout .conversation-list .hp-conv-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:0 0 auto;min-width:0}
.inbox-layout .conversation-list .hp-conv-meta small{white-space:nowrap}

/* 4. Shared chat content: compact card, visually separate body copy from preview. */
body.packero-v3763 #chatPanel .bubble .pk283-share-card{
 width:min(100%,325px)!important;max-width:100%!important;min-height:105px!important;
 grid-template-columns:minmax(0,1fr) 88px!important;border-radius:15px!important;
 box-shadow:0 5px 14px rgba(0,0,0,.1)!important;
}
body.packero-v3763 #chatPanel .bubble .pk283-share-copy{padding:11px 12px!important;gap:5px!important}
body.packero-v3763 #chatPanel .bubble .pk283-share-kicker{font-size:10px!important;letter-spacing:.065em!important}
body.packero-v3763 #chatPanel .bubble .pk283-share-copy strong{font-size:13px!important;line-height:1.3!important}
body.packero-v3763 #chatPanel .bubble .pk283-share-excerpt{font-size:12px!important;line-height:1.35!important;-webkit-line-clamp:2!important;overflow-wrap:anywhere}
body.packero-v3763 #chatPanel .bubble .pk283-share-action{font-size:12px!important;font-weight:750!important}
body.packero-v3763 #chatPanel .bubble .pk283-share-thumbnail,
body.packero-v3763 #chatPanel .bubble .pk283-share-placeholder{min-width:0;max-width:88px;min-height:105px;overflow:hidden}
body.packero-v3763 #chatPanel .bubble .pk283-share-thumbnail :is(img,video){width:100%;height:100%;object-fit:cover}
body.packero-v3763 #chatPanel .bubble .pk283-share-card:is(:hover,:focus-visible){border-color:#e681df!important;box-shadow:0 7px 19px rgba(138,57,157,.2)!important}
body.packero-v3763 #chatPanel .bubble .pk283-share-card:focus-visible{outline:3px solid #d95fcd;outline-offset:2px}
@media(max-width:390px){body.packero-v3763 #chatPanel .bubble .pk283-share-card{grid-template-columns:minmax(0,1fr) 72px!important;min-height:98px!important}body.packero-v3763 #chatPanel .bubble .pk283-share-thumbnail,body.packero-v3763 #chatPanel .bubble .pk283-share-placeholder{max-width:72px;min-height:98px}}

/* 5. Explicit action hierarchy; no browser-default-looking buttons in highlighted areas. */
.hp-profile-highlights-head-v382657 button,#profileHighlightsManagePublicV382657,
.hp-profile-actions [data-report-profile],
.hp-profile-actions .hp-profile-share-v3712{
 appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;
 justify-content:center!important;gap:8px!important;min-height:42px!important;
 padding:9px 14px!important;border-radius:12px!important;border:1px solid var(--line,#4b385a)!important;
 color:var(--text,#f9efff)!important;background:var(--panel2,#211a2b)!important;
 font-size:13px!important;line-height:1.2!important;font-weight:750!important;white-space:normal!important;text-decoration:none!important;
}
.hp-profile-actions [data-report-profile]{color:#ed9fae!important;border-color:rgba(244,101,141,.35)!important;background:rgba(220,62,103,.08)!important}
.hp-profile-highlights-head-v382657 button:is(:hover,:focus-visible),
.hp-profile-actions [data-report-profile]:is(:hover,:focus-visible){border-color:#d17fdd!important;outline-offset:2px!important}
html:not([data-theme="dark"]) body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669>button{background:#fff!important;color:#392c46!important;border-color:#ded5e5!important}
html:not([data-theme="dark"]) body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669>button.active{background:linear-gradient(135deg,#f5eaff,#ffe9f3)!important;border-color:#be6bda!important;color:#522664!important}
html:not([data-theme="dark"]) #modal .pk284-highlight-note small{color:#655a6d!important}
html:not([data-theme="dark"]) #modal .pk284-story-report{color:#ad345a!important;background:#fff3f7!important}
html:not([data-theme="dark"]) .hp-profile-highlights-head-v382657 button,html:not([data-theme="dark"]) #profileHighlightsManagePublicV382657{background:#fff!important;color:#55355f!important;border-color:#e3d4e8!important}
@media(prefers-reduced-motion:reduce){body.packero-v382669 .hp-profile-tabs.hp-profile-tabs-v382669>button,.pk284-story-report{transition:none!important;transform:none!important}}
/* Keep Story viewer grid tracks from forcing a modal wider than the phone. */
#modal .pk284-story-viewer{display:grid!important;grid-template-columns:minmax(0,1fr)!important;box-sizing:border-box!important;max-width:100%!important;min-width:0!important}
#modal .pk284-story-viewer>*{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important}
#modal .pk284-story-viewer .hp-highlight-progress-v370{min-width:0;overflow:hidden}

/* Keep real message labels in natural sentence case, even when legacy themes use uppercase. */
body.packero-v3763 #chatPanel .bubble .pk283-share-copy strong,body.packero-v3763 #chatPanel .bubble .pk283-share-excerpt,body.packero-v3763 #chatPanel .bubble .pk283-share-action{text-transform:none!important;letter-spacing:normal!important}
