/* Desktop-only partial: retain the original mobile header links. */
html body:not(#tbp) .market-quick-menu>.market-profile-popover{left:auto;right:0;width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 140px);transform:translateY(8px);opacity:0;visibility:hidden;pointer-events:none}
html body:not(#tbp) .market-quick-menu.open>.market-profile-popover{transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto}
html body:not(#tbp) .market-quick-menu>.market-profile-popover[hidden]{display:none!important}
html body:not(#tbp) .market-quick-menu .market-profile-sheet{max-height:calc(100dvh - 140px);overflow-y:auto}
html body:not(#tbp) .market-quick-menu>.market-user-action>b{position:absolute;top:1px;right:4px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--tb-sale,#f50087);color:#fff;font:700 10.5px/18px var(--tb-font,Arial);text-align:center}
html body:not(#tbp) .market-quick-menu>.market-user-action>b[hidden]{display:none!important}
/* Only one flyout at a time, even when another trigger retains keyboard focus. */
.market-actions:has(.market-quick-menu.open)>[data-profile-menu] .market-profile-popover,
.market-actions:has(.market-quick-menu.open)>[data-mini-cart] .market-mini-cart{visibility:hidden!important;opacity:0!important;pointer-events:none!important}

html body:not(#tbp) .market-quick-menu .market-profile-sheet{padding:14px}
.header-preview-card{display:flex;gap:14px;align-items:center;padding:14px;margin-bottom:10px;background:#f4f5f8;border-radius:16px;color:#10213b;text-decoration:none}
.header-preview-card:hover{background:#edf2fa}
.header-preview-image{flex:0 0 70px;width:70px;height:88px;overflow:hidden;border-radius:8px;background:white}
.header-preview-image img{width:100%;height:100%;object-fit:contain}
.header-preview-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.header-preview-copy strong{font-size:15px;font-weight:700}
.header-preview-copy strong.is-ready{color:#08b75b}
.header-preview-copy b{font-size:13px;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.header-preview-copy small{font-size:12px;color:#697b93}
.header-preview-empty{padding:18px 8px;color:#697b93;font-size:14px}
.header-preview-all{display:block;padding:13px;border-radius:12px;background:#eaf5ff;color:#005bff;text-align:center;text-decoration:none;font-weight:600}
