/* Carte du compte dans l'en-tête Hexatheme. */
.hx-account { position: relative; }
.hx-account-menu { position: relative; }
.hx-account-trigger { display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border: 1px solid currentColor; border-radius: 999px; color: inherit; text-decoration: none; font-weight: 600; transition: background-color 140ms ease, transform 100ms ease-out; }
.hx-account-trigger:hover { background: rgb(255 255 255 / 45%); }
.hx-account-trigger:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) { .hx-account-trigger:active { transform: none; } }
.hx-account-trigger::-webkit-details-marker { display: none; }
.hx-account-trigger:focus-visible, .hx-account-panel a:focus-visible { outline: 2px solid #2454FF; outline-offset: 2px; }
.hx-account-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hx-account-avatar--initials { display: inline-flex; align-items: center; justify-content: center; background: #FFBDD5; color: #202027; font-size: 15px; font-weight: 700; }
.hx-account-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-account-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 100; display: grid; min-width: 240px; padding: 8px; border: 1px solid #dbe3ee; border-radius: 12px; background: #fff; color: #202027; }
.hx-account-panel a { padding: 10px 12px; border-radius: 8px; color: inherit; text-decoration: none; }
.hx-account-panel a:hover { background: #EDF1FF; }
.hx-account-mobile .wp-block-navigation-item__content { display: flex !important; align-items: center; gap: 12px; }
