.header-account-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
}
.header-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #625538;
    border-radius: 9px;
    background: #1c1d1a;
    color: #e7c877;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
    text-decoration: none;
}
.header-account:hover { border-color: #c9a34f; background: #2c2b24; color: #f4d889; }
.header-account svg { flex: none; }
.header-account span { max-width: 145px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1281px) {
    .header-inner { gap: 18px; }
    .main-nav { gap: 18px; }
}
@media (max-width: 1280px) {
    .header-inner { gap: 12px; }
    .menu-toggle { display: block; margin-inline-start: auto; }
    .main-nav {
        display: none;
        position: absolute;
        top: 81px;
        left: 0;
        right: 0;
        background: #171816;
        border-bottom: 1px solid var(--line);
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 10px 12px; }
    .header-selectors { width: 100%; padding-top: 10px; border-top: 1px solid #3c392f; }
    .header-selectors .market-label { justify-content: space-between; }
}
@media (max-width: 560px) {
    .header-inner { gap: 8px; }
    .site-header .brand { gap: 7px; font-size: clamp(14px, 3.7vw, 18px); }
    .site-header .brand img { width: 28px; height: 28px; }
    .header-account-actions { gap: 7px; }
    .header-account { width: 40px; min-height: 40px; padding: 0; }
    .header-account span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .site-header .menu-toggle { width: 38px; min-height: 40px; padding: 0; font-size: 0; }
    .site-header .menu-toggle span { font-size: 19px; }
}

/* Primary purchase shortcut: the account frame, with a warmer gold highlight. */
.site-header .main-nav > a.header-buy-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid #a68a50;
    border-radius: 9px;
    background: linear-gradient(145deg, #302d23, #22221e);
    box-shadow: inset 0 1px 0 #efd18a14, 0 0 16px #d6b46812;
    color: #f1d68f;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
.site-header .main-nav > a.header-buy-key svg { flex: none; }
.site-header .main-nav > a.header-buy-key span { overflow-wrap: anywhere; }
.site-header .main-nav > a.header-buy-key:hover,
.site-header .main-nav > a.header-buy-key:focus-visible {
    background: #353125;
    border-color: #e5c476;
    color: #ffe8af;
    box-shadow: inset 0 1px 0 #efd18a20, 0 0 20px #d6b46820;
}
@media (max-width: 1280px) {
    .site-header .main-nav > a.header-buy-key { min-height: 44px; margin-block: 3px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .site-header .main-nav > a.header-buy-key { transition: none; }
}
