/* Compact, horizontally scrollable member rail in the global header. */
.dilvya-menu-group { display: flex; flex-direction: column; flex: 1 0 auto; }
.app-shell .dilvya-navbar .header-boost-item { display: flex; align-items: center; flex: 1 1 520px; min-width: 0; margin: 0 18px; }
.header-boost { position: relative; width: 100%; max-width: 900px; min-width: 0; margin: 0 auto; font-family: Inter, sans-serif; }
.header-boost > summary { list-style: none; color: #914367; font-size: 11px; font-weight: 650; line-height: 1.3; cursor: pointer; }
.header-boost > summary::-webkit-details-marker { display: none; }
.header-boost > summary i { font-size: 17px; }
.header-boost-panel { min-width: 0; }
.header-boost-track { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: center; gap: 4px; min-width: 0; }
.sidebar-boost-members { display: flex; align-items: stretch; gap: 4px; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #d9b7c9 transparent; padding: 3px 2px 6px; }
.sidebar-boost-members::-webkit-scrollbar { height: 4px; }
.sidebar-boost-members::-webkit-scrollbar-track { background: #f8f1f5; border-radius: 999px; }
.sidebar-boost-members::-webkit-scrollbar-thumb { background: #d9b7c9; border-radius: 999px; }
.app-shell .dilvya-navbar .sidebar-boost-member { position: relative; display: flex; flex: 0 0 62px; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 5px 2px 4px; margin: 0; border: 1px solid transparent; border-radius: 12px; color: #493d4b; text-decoration: none; scroll-snap-align: start; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.app-shell .dilvya-navbar a.sidebar-boost-member:hover { transform: translateY(-1px); border-color: #f0dce6; background: #fff7fa; color: #9c345b; }
.sidebar-boost-member:focus-visible, .sidebar-boost-members:focus-visible, .header-boost > summary:focus-visible, .header-boost-scroll:focus-visible { outline: 2px solid #a63b64; outline-offset: 2px; }
.sidebar-boost-avatar { position: relative; display: block; width: 42px; height: 42px; flex: 0 0 42px; }
.sidebar-boost-avatar img, .sidebar-boost-initial { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-sizing: border-box; box-shadow: 0 0 0 1.5px #d99bb9; background: #f3e5ee; color: #945779; font: 700 15px/1 Inter, sans-serif; }
.sidebar-boost-avatar-mark { position: absolute; right: -3px; bottom: -2px; display: grid; place-items: center; width: 17px; height: 17px; border: 2px solid #fff; border-radius: 50%; box-sizing: border-box; background: #a53760; color: #fff; font-size: 8px; }
.sidebar-boost-avatar-mark.is-locked { right: -5px; bottom: -4px; width: 21px; height: 21px; background: #fff; color: #a53760; box-shadow: 0 2px 7px #4c2d411f; font-size: 9px; }
.app-shell .dilvya-navbar .sidebar-boost-member.is-locked { border-color: #eee3e9; background: linear-gradient(150deg, #fff, #faf5f8); cursor: default; }
.sidebar-boost-member.is-locked .sidebar-boost-avatar img, .sidebar-boost-member.is-locked .sidebar-boost-initial { filter: blur(7px); transform: scale(1.1); }
.sidebar-boost-member.is-locked .sidebar-boost-avatar { overflow: visible; }
.sidebar-boost-member.is-locked .sidebar-boost-caption { color: #8d7d8a; }
.sidebar-boost-member.is-locked .sidebar-boost-locked-name { filter: blur(4px); user-select: none; }
.sidebar-boost-member.is-locked .sidebar-boost-status { color: #a53760; font-weight: 700; }
.profile-locked-card { display: grid; min-height: 260px; place-items: center; padding: 28px; box-sizing: border-box; text-align: center; }
.profile-locked-content { display: grid; justify-items: center; gap: 12px; max-width: 360px; }
.profile-locked-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: #f8eaf2; color: #a53760; font-size: 21px; }
.profile-locked-content h2 { margin: 0; color: #49334b; font: 700 20px/1.25 Inter, sans-serif; }
.profile-locked-content p { margin: 0 0 5px; color: #827686; font: 500 14px/1.55 Inter, sans-serif; }
.app-shell .profile-locked-content a.profile-send-message { display: inline-flex; margin: 0; }
.sidebar-boost-caption { display: flex; align-items: baseline; justify-content: center; gap: 2px; max-width: 100%; color: #514550; font: 500 9px/1.15 Inter, sans-serif; }
.sidebar-boost-caption strong { font-weight: 650; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-boost-caption > span { flex: 0 0 auto; color: #857587; font-size: 8px; }
.sidebar-boost-status { max-width: 100%; overflow: hidden; color: #a53760; font: 600 8px/1.1 Inter, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-boost-member:not(.is-boosted) .sidebar-boost-status { color: #837687; }
.header-boost-scroll { display: grid; place-items: center; width: 34px; height: 34px; justify-self: center; padding: 0; border: 1px solid #ead3e1; border-radius: 50%; background: linear-gradient(145deg, #fff, #fbf0f6); box-shadow: 0 3px 9px #54334f14; color: #993d68; font-size: 12px; cursor: pointer; transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; }
.header-boost-scroll:hover:not(:disabled) { transform: translateY(-1px); border-color: #d9a9c2; background: linear-gradient(145deg, #fff5f9, #f5dfeb); box-shadow: 0 5px 12px #54334f20; color: #79294e; }
.header-boost-scroll:active:not(:disabled) { transform: translateY(0); }
.header-boost-scroll:disabled { opacity: .3; box-shadow: none; cursor: default; }
.header-boost-empty { grid-column: 1 / -1; padding: 8px 12px; border: 1px solid #f0dce6; border-radius: 12px; background: #fffafd; color: #827686; font-size: 11px; line-height: 1.5; }
.header-boost-empty p { margin: 0 0 3px; }
.app-shell .dilvya-navbar .header-boost-empty a { display: inline; padding: 0; margin: 0; color: #a53760; font-size: 10px; font-weight: 650; }

@media (min-width: 1200px) {
    .header-boost { padding-left: 112px; }
    .header-boost > summary { position: absolute; left: 0; top: 50%; display: flex; align-items: center; gap: 7px; width: 100px; transform: translateY(-50%); }
}

@media (max-width: 1199px) {
    .app-shell .dilvya-navbar .header-boost-item { flex: 0 0 40px; margin: 0 10px; }
    .header-boost { width: 40px; }
    .header-boost > summary { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #ead3e1; border-radius: 13px; background: #fbf0f6; box-sizing: border-box; }
    .header-boost-summary-copy { display: none; }
    .header-boost[open] > summary { color: #fff; background: #a53760; }
    .header-boost-panel { position: fixed; top: 78px; left: 50%; z-index: 510; display: block; width: min(720px, calc(100vw - 24px)); max-height: min(220px, calc(100vh - 100px)); overflow: hidden; padding: 14px 16px 10px; box-sizing: border-box; transform: translateX(-50%); border: 1px solid #ead3e1; border-radius: 18px; background: #fff; box-shadow: 0 14px 40px #54334f26; }
    .header-boost-track { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 5px; }
    .header-boost-scroll { width: 38px; height: 38px; font-size: 13px; }
    .sidebar-boost-members { gap: 7px; }
    .app-shell .dilvya-navbar .sidebar-boost-member { flex-basis: 70px; padding-top: 4px; }
    .sidebar-boost-avatar, .sidebar-boost-avatar img, .sidebar-boost-initial { width: 48px; height: 48px; }
    .sidebar-boost-avatar { flex-basis: 48px; }
    .sidebar-boost-caption { font-size: 10px; }
    .sidebar-boost-status { font-size: 9px; }
}

@media (max-width: 767px) {
    .header-boost-panel { top: 68px; width: min(620px, calc(100vw - 18px)); max-height: min(205px, calc(100vh - 84px)); padding: 12px 12px 8px; }
    .app-shell .dilvya-navbar .header-boost-item { margin: 0 5px; }
    .app-shell .dilvya-global-sidebar { align-items: stretch; padding: 0; gap: 0; overflow: visible; }
    .dilvya-menu-group { flex-direction: row; align-items: center; gap: 8px; width: 100%; overflow-x: auto; padding: 8px 12px; box-sizing: border-box; }
    .app-shell .dilvya-global-sidebar .dilvya-community-links { margin: 0; }
}

@media (max-width: 480px) {
    .header-boost-panel { top: 64px; width: calc(100vw - 12px); padding: 10px 9px 7px; }
    .header-boost-track { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 3px; }
    .header-boost-scroll { width: 32px; height: 32px; font-size: 12px; }
    .sidebar-boost-members { gap: 5px; }
    .app-shell .dilvya-navbar .sidebar-boost-member { flex-basis: 66px; }
    .app-shell .dilvya-navbar .header-plan-icon, .app-shell .dilvya-navbar .header-plan-status { display: none; }
    .app-shell .dilvya-navbar .header-plan-badge { max-width: 80px; padding: 7px; }
    .app-shell .dilvya-navbar .header-plan-name { white-space: normal; font-size: 10px; }
    .app-shell .dilvya-navbar .profile-menu-toggle .profile-menu-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .app-shell .dilvya-navbar a.sidebar-boost-member { transition: none; }
}
