/* SwankageTCG v1032 — public header account dropdown polish.
   Layered after v1009 + v1010; public header only. Do not affect
   dashboard/admin menus, header search, nav, cart, or auth logic. */

/* Plain text + icon + caret instead of a boxed account trigger. */
#header .sw-v653-account-cart .sw-v1010-account-trigger,
#header .sw-v653-account-cart .sw-v1032-guest-link {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 3px !important;
    gap: 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
#header .sw-v1009-account-menu[open] > summary,
#header .sw-v1009-account-menu > summary:hover,
#header .sw-v1009-account-menu > summary:focus-visible,
#header .sw-v1032-guest-link:hover,
#header .sw-v1032-guest-link:focus-visible {
    border: 0 !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}
/* Keep a keyboard-only focus indicator, without reintroducing the box
   during normal mouse interactions. */
#header .sw-v1009-account-menu > summary:focus-visible,
#header .sw-v1032-guest-link:focus-visible {
    outline: 2px solid var(--sw-accent, #ff6b18) !important;
    outline-offset: 3px !important;
}

/* Exactly 3px of separation between adjacent menu links. Section headings
   remain in their original positions. */
#header .sw-v1010-account-popover > a + a {
    margin-top: 3px !important;
}

/* Keep the active View Site row's theme wash, but remove the separate
   solid accent rectangle behind the house icon. */
#header .sw-v1010-account-popover a.sw-v1009-menu-home > i {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--sw-accent, #ff6b18) !important;
}

/* Signed-out header is now a normal accessible /register link. */
#header .sw-v1032-guest-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-shrink: 0 !important;
    color: #eef4f8 !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
}
#header .sw-v1032-guest-link .sw-v1032-guest-label {
    display: inline-block !important;
    color: #eef4f8 !important;
    white-space: nowrap !important;
}
#header .sw-v1032-guest-link:hover .sw-v1032-guest-label,
#header .sw-v1032-guest-link:focus-visible .sw-v1032-guest-label {
    color: var(--sw-accent, #ff6b18) !important;
}
@media (min-width: 992px) and (max-width: 1200px) {
    #header .sw-v653-account-cart .sw-v1010-account-trigger,
    #header .sw-v653-account-cart .sw-v1032-guest-link {gap: 5px !important;}
}
@media (prefers-reduced-motion: reduce) {
    #header .sw-v1032-guest-link {transition: none !important;}
}
