@media (min-width: 701px) {
    html:has(body.account-page) { scrollbar-gutter: stable; }
}

.account-page {
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(circle at 50% 10%, rgba(14, 165, 233, .12), transparent 34rem),
        var(--site-bg, #07111f);
    color: var(--site-text, #e5eef8);
}

.account-page [hidden] { display: none; }

.account-shell {
    display: grid;
    width: min(calc(100% - 32px), 540px);
    min-height: calc(100vh - 180px);
    min-height: calc(100dvh - 180px);
    margin: 0 auto;
    padding: 38px 0 52px;
    place-items: start stretch;
}

.account-card {
    box-sizing: border-box;
    width: 100%;
    padding: 26px;
    border: 1px solid var(--site-border-soft, rgba(148, 163, 184, .2));
    border-radius: var(--site-radius-lg, 16px);
    background: linear-gradient(145deg, rgba(17, 29, 49, .98), rgba(8, 16, 30, .98));
    box-shadow: var(--site-shadow, 0 14px 34px rgba(0, 0, 0, .25));
}

.account-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
}

.account-heading img {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    object-fit: contain;
}

.account-heading div { min-width: 0; }
.account-heading span { color: var(--site-accent-light, #7dd3fc); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.account-heading h1 { margin: 1px 0 0; font-size: clamp(26px, 5vw, 34px); line-height: 1.1; }

.account-loading {
    min-height: 160px;
    display: grid;
    place-items: center;
    color: var(--site-muted, #94a3b8);
    text-align: center;
}

.account-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 22px;
    padding: 5px;
    border: 1px solid var(--site-border-soft, rgba(148, 163, 184, .2));
    border-radius: 12px;
    background: rgba(2, 8, 20, .52);
}

.account-tabs button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--site-muted, #94a3b8);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.account-tabs button[aria-selected="true"] { background: rgba(14, 165, 233, .16); color: var(--site-accent-light, #7dd3fc); }
.account-tabs button:disabled { cursor: not-allowed; opacity: .48; }
.account-local-notice { margin: -8px 0 18px; padding: 10px 12px; border: 1px solid rgba(250, 204, 21, .24); border-radius: 9px; background: rgba(161, 98, 7, .1); color: #fde68a; font-size: 12px; line-height: 1.45; text-align: center; }
.account-tabs button:focus-visible,
.account-form input:focus-visible,
.account-primary-button:focus-visible,
.account-secondary-button:focus-visible,
.account-logout-button:focus-visible,
.account-secondary-links a:focus-visible,
.account-secondary-links button:focus-visible,
.account-inline-form button:focus-visible { outline: 2px solid var(--site-accent, #38bdf8); outline-offset: 2px; }

.account-form {
    display: grid;
    gap: 15px;
}

.account-form[hidden] { display: none; }

.account-form > p:first-child { margin: 0 0 2px; color: var(--site-muted, #94a3b8); line-height: 1.5; }
.account-form label { display: grid; gap: 7px; color: #d8e5f2; font-size: 14px; font-weight: 750; }
.account-form label small { color: var(--site-muted, #94a3b8); font-size: 12px; font-weight: 500; line-height: 1.4; }

.account-form .account-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 500; line-height: 1.5; }
.account-consent input[type="checkbox"] { flex: 0 0 18px; width: 18px; min-height: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: #38bdf8; }
.account-consent a { color: #7dd3fc; }

.account-form input,
.account-inline-form input {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 9px;
    background: rgba(2, 8, 20, .72);
    color: #f8fafc;
    font: inherit;
    font-size: 16px;
}

.account-form input:focus,
.account-inline-form input:focus { border-color: var(--site-accent, #38bdf8); }
.account-form input[aria-invalid="true"] { border-color: #fb7185; }

.account-primary-button,
.account-secondary-button,
.account-logout-button,
.account-inline-form button,
.account-primary-link {
    display: inline-flex;
    box-sizing: border-box;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 9px;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.account-primary-button,
.account-primary-link { border: 1px solid #22c55e; background: #16a34a; color: #fff; }
.account-primary-button:hover,
.account-primary-link:hover { background: #15803d; }
.account-secondary-button,
.account-inline-form button { border: 1px solid rgba(56, 189, 248, .45); background: rgba(14, 165, 233, .13); color: #bae6fd; }
.account-primary-button:disabled,
.account-secondary-button:disabled,
.account-inline-form button:disabled { cursor: not-allowed; opacity: .62; }

.account-primary-button.is-submitting,
.account-secondary-button.is-submitting,
.account-inline-form button.is-submitting { cursor: wait; }

.account-form-message {
    min-height: 20px;
    margin: 0;
    color: #86efac;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
}

.account-form-message.is-error { color: #fda4af; }

[data-legacy-profile][hidden],
.account-recovery-code[hidden] { display: none; }

.account-recovery-result {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    text-align: center;
}

.account-recovery-result[hidden] { display: none; }
.account-recovery-result h2 { margin: 0; font-size: 19px; }
.account-recovery-result p { margin: 0; color: #cbd5e1; line-height: 1.5; }
.account-recovery-result code,
.account-recovery-code {
    display: block;
    padding: 12px;
    border: 1px solid rgba(125, 211, 252, .4);
    border-radius: 9px;
    background: rgba(2, 8, 20, .72);
    color: #e0f2fe;
    font-size: clamp(13px, 3vw, 17px);
    font-weight: 800;
    letter-spacing: .04em;
    overflow-wrap: anywhere;
    text-align: center;
}

.account-secondary-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-top: 16px;
}

.account-secondary-links a,
.account-secondary-links button,
.account-back-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--site-accent-light, #7dd3fc);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.account-inline-form {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--site-border-soft, rgba(148, 163, 184, .2));
    border-radius: 10px;
    background: rgba(2, 8, 20, .36);
}

.account-inline-form label { display: grid; gap: 6px; color: #d8e5f2; font-size: 13px; font-weight: 750; }
.account-password-strength { height: 4px; margin-top: -8px; overflow: hidden; border-radius: 999px; background: rgba(148, 163, 184, .16); }
.account-password-strength span { display: block; width: 0; height: 100%; background: #fb7185; transition: width .18s ease, background .18s ease; }
.account-password-strength span[data-level="medium"] { background: #facc15; }
.account-password-strength span[data-level="strong"] { background: #4ade80; }
.account-privacy-note { margin: 15px 0 0; color: var(--site-muted, #94a3b8); font-size: 12px; line-height: 1.45; text-align: center; }
.account-privacy-note a { color: #7dd3fc; text-underline-offset: 2px; }
.account-privacy-note a:hover,
.account-privacy-note a:focus-visible { color: #bae6fd; }
.account-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.account-profile-summary {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding: 15px;
    border: 1px solid rgba(56, 189, 248, .24);
    border-radius: 12px;
    background: rgba(14, 165, 233, .08);
}

.account-avatar {
    display: grid;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #0ea5e9, #2563eb);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.account-profile-summary div { min-width: 0; }
.account-profile-summary h2 { margin: 0; overflow-wrap: anywhere; font-size: 21px; line-height: 1.2; }
.account-profile-summary p { margin: 3px 0; color: #cbd5e1; font-size: 13px; overflow-wrap: anywhere; }
.account-profile-summary small { color: #86efac; font-size: 12px; }
.account-profile-form { padding-bottom: 20px; border-bottom: 1px solid var(--site-border-soft, rgba(148, 163, 184, .2)); }
.account-password-details { margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--site-border-soft, rgba(148, 163, 184, .2)); }
.account-password-details summary { margin-bottom: 15px; color: var(--site-accent-light, #7dd3fc); font-size: 14px; font-weight: 800; cursor: pointer; }
.account-delete-details > p { margin: 0 0 12px; color: #cbd5e1; font-size: 12px; line-height: 1.5; }
.account-delete-details summary { color: #fda4af; }
.account-delete-button { min-height: 40px; padding: 9px 15px; border: 1px solid rgba(251, 113, 133, .5); border-radius: 9px; background: rgba(190, 24, 93, .16); color: #ffe4e6; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.account-delete-button:hover, .account-delete-button:focus-visible { background: rgba(190, 24, 93, .28); }
.account-delete-button:focus-visible { outline: 2px solid #fda4af; outline-offset: 2px; }
.account-delete-button:disabled { opacity: .58; cursor: wait; }
.account-logout-button { width: 100%; margin-top: 18px; border: 1px solid rgba(251, 113, 133, .38); background: rgba(190, 24, 93, .1); color: #fda4af; }
.account-action-shell { place-items: center stretch; }
.account-action-card > p { margin: 0 0 20px; color: var(--site-muted, #94a3b8); line-height: 1.5; text-align: center; }
.account-action-card > p.is-error { color: #fda4af; }
.account-action-card .account-primary-link { width: 100%; }
.account-back-link { display: block; margin-top: 18px; text-align: center; }

@media (max-width: 560px) {
    .account-shell { width: min(calc(100% - 20px), 540px); padding: 24px 0 38px; }
    .account-card { padding: 20px 16px; }
    .account-heading { align-items: flex-start; }
    .account-heading img { width: 44px; height: 44px; flex-basis: 44px; }
    .account-profile-summary { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .account-password-strength span { transition: none; }
}

/* Profile: public overview and private settings are deliberately separated. */
.account-shell {
    width: min(calc(100% - 32px), 960px);
}

.account-card {
    max-width: 540px;
    margin: 0 auto;
}

.account-card.is-profile-mode {
    max-width: 960px;
    padding: 0;
    overflow: hidden;
}

.account-card.is-profile-mode > .account-heading { display: none; }

.account-profile-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-height: 53px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    background: rgba(2, 8, 20, .38);
}

.account-profile-tabs button {
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #94a3b8;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
}

.account-profile-tabs button[aria-selected="true"] {
    border-bottom-color: #38bdf8;
    background: rgba(14, 165, 233, .08);
    color: #f8fafc;
}

.account-profile-tabs button:focus-visible,
.account-file-button:focus-within,
.account-text-button:focus-visible { outline: 2px solid #38bdf8; outline-offset: -3px; }

.account-profile-view,
.account-settings-view { padding: 22px; }

.account-profile-hero {
    display: grid;
    min-width: 0;
    justify-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(56, 189, 248, .2);
    border-radius: 14px 14px 0 0;
    background: radial-gradient(circle at 12% 10%, rgba(14, 165, 233, .18), transparent 25rem), rgba(9, 19, 35, .82);
    text-align: center;
}

.account-profile-photo,
.account-avatar-preview {
    position: relative;
    display: grid;
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    overflow: hidden;
    place-items: center;
    border: 2px solid rgba(125, 211, 252, .65);
    border-radius: 14px;
    background: linear-gradient(145deg, #0ea5e9, #1d4ed8);
    box-shadow: 0 8px 22px rgba(2, 6, 23, .3);
}

.account-profile-photo img,
.account-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.account-profile-photo span,
.account-avatar-preview span {
    color: #fff;
    font-size: 42px;
    font-weight: 950;
}

.account-profile-identity { display: grid; min-width: 0; justify-items: center; gap: 9px; text-align: center; }
.account-profile-name-link { max-width: 100%; color: inherit; text-decoration: none; }
.account-profile-name-link:hover,
.account-profile-name-link:focus-visible { color: #7dd3fc; text-decoration: underline; text-underline-offset: 4px; }
.account-profile-identity h2 { margin: 0; overflow-wrap: anywhere; font-size: clamp(27px, 4vw, 36px); line-height: 1.08; }
.account-profile-identity span { display: inline-flex; min-height: 26px; align-items: center; padding: 4px 10px; border: 1px solid rgba(74, 222, 128, .26); border-radius: 999px; background: rgba(22, 163, 74, .12); color: #86efac; font-size: 11px; font-weight: 850; }

.account-profile-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .18);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background: rgba(2, 8, 20, .42);
}

.account-profile-stats div { min-width: 0; padding: 13px 10px; text-align: center; }
.account-profile-stats div + div { border-left: 1px solid rgba(148, 163, 184, .14); }
.account-profile-stats span,
.account-profile-stats strong { display: block; }
.account-profile-stats span { margin-bottom: 5px; color: #94a3b8; font-size: 11px; font-weight: 750; }
.account-profile-stats strong { overflow-wrap: anywhere; color: #f8fafc; font-size: 15px; line-height: 1.25; }

.account-info-card {
    padding: 17px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 12px;
    background: rgba(9, 19, 35, .74);
    box-shadow: 0 8px 20px rgba(2, 6, 23, .16);
}

.account-info-card h3 { margin: 0 0 13px; color: #f8fafc; font-size: 16px; }
.account-info-card > p { min-height: 22px; margin: 0; color: #cbd5e1; font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 26px;
    margin: 0;
}

.account-info-grid div { min-width: 0; }
.account-info-grid dt { margin-bottom: 3px; color: #94a3b8; font-size: 11px; font-weight: 750; }
.account-info-grid dd { margin: 0; overflow-wrap: anywhere; color: #f1f5f9; font-size: 13px; font-weight: 700; }
.account-profile-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.account-profile-details .account-info-card:first-child { grid-column: 1 / -1; }

.account-settings-view { width: min(100%, 760px); margin: 0 auto; }
.account-settings-heading { margin-bottom: 20px; text-align: center; }
.account-settings-heading h2 { margin: 0; font-size: 25px; }
.account-settings-heading p { margin: 6px 0 0; color: #94a3b8; font-size: 13px; }
.account-upgrade {
    display: grid;
    gap: 12px;
    margin: 0 0 20px;
    padding: 16px;
    border: 1px solid rgba(125, 211, 252, .35);
    border-radius: 12px;
    background: rgba(14, 165, 233, .07);
}
.account-upgrade[hidden],
.account-upgrade-result[hidden] { display: none; }
.account-upgrade h3, .account-upgrade p { margin: 0; }
.account-upgrade h3 { font-size: 16px; }
.account-upgrade p { color: #cbd5e1; font-size: 13px; line-height: 1.5; }
.account-upgrade-result { display: grid; gap: 12px; text-align: center; }
.account-profile-form .account-form-message:empty,
.account-upgrade .account-form-message:empty { display: none; }
.account-avatar-form {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 12px;
    background: rgba(2, 8, 20, .32);
}

.account-avatar-preview { width: 96px; height: 96px; flex-basis: 96px; border-width: 1px; border-radius: 50%; }
.account-avatar-preview span { font-size: 34px; }
.account-avatar-form h3 { margin: 0; color: #f8fafc; font-size: 16px; }
.account-file-button { display: inline-flex; min-height: 38px; align-items: center; padding: 0 13px; border: 1px solid rgba(56, 189, 248, .4); border-radius: 8px; background: rgba(14, 165, 233, .12); color: #bae6fd; font-size: 12px; font-weight: 850; cursor: pointer; }
.account-file-button input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.account-avatar-form > div > p { margin: 7px 0 0; color: #94a3b8; font-size: 11px; line-height: 1.45; }
.account-avatar-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.account-avatar-actions .account-secondary-button { min-height: 38px; padding: 7px 12px; font-size: 12px; }
.account-text-button { padding: 7px 8px; border: 0; background: transparent; color: #fda4af; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.account-form input[readonly] { color: #94a3b8; background: rgba(15, 23, 42, .45); cursor: default; }
.account-secret-field {
    position: relative;
    display: block;
}

.account-secret-field input { padding-right: 48px; }

.account-visibility-button {
    position: absolute;
    top: 50%;
    right: 5px;
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}

.account-visibility-button:hover,
.account-visibility-button:focus-visible {
    background: rgba(56, 189, 248, .12);
    color: #bae6fd;
}

.account-visibility-button:focus-visible { outline: 2px solid #38bdf8; outline-offset: -2px; }
.account-visibility-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.account-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 11px 12px;
    resize: vertical;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 9px;
    background: rgba(2, 8, 20, .72);
    color: #f8fafc;
    font: inherit;
    font-size: 15px;
    line-height: 1.45;
}

.account-form textarea:focus { border-color: #38bdf8; outline: 2px solid transparent; }
.account-form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.account-form label > span small { margin-left: 4px; color: #94a3b8; font-size: 10px; font-weight: 600; }
.account-form .account-checkbox { display: flex; align-items: center; gap: 9px; margin-top: -6px; color: #cbd5e1; font-size: 12px; font-weight: 650; }
.account-form .account-checkbox[hidden] { display: none; }
.account-checkbox input { width: 17px; min-height: 17px; margin: 0; padding: 0; accent-color: #0ea5e9; }
.account-profile-form { padding-bottom: 22px; }

.account-footballer-dialog {
    width: min(calc(100% - 28px), 760px);
    max-height: min(86vh, 760px);
    max-height: min(86dvh, 760px);
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, .32);
    border-radius: 16px;
    background: linear-gradient(145deg, #111d31, #08101e);
    color: #e5eef8;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .58);
}

.account-footballer-dialog[open] { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr) auto auto; }
.account-footballer-dialog::backdrop { background: rgba(2, 6, 23, .78); backdrop-filter: blur(4px); }

.account-footballer-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.account-footballer-dialog-header div { min-width: 0; }
.account-footballer-dialog-header span { color: #7dd3fc; font-size: 11px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.account-footballer-dialog-header h2 { margin: 2px 0 0; font-size: 22px; line-height: 1.15; }
.account-footballer-dialog-header button {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 50%;
    background: rgba(15, 23, 42, .68);
    color: #cbd5e1;
    font: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.account-footballer-dialog-header button:hover,
.account-footballer-dialog-header button:focus-visible { border-color: #38bdf8; color: #fff; outline: none; }
.account-footballer-search { display: block; padding: 14px 20px 8px; }
.account-footballer-search input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid rgba(148, 163, 184, .3);
    border-radius: 10px;
    background: rgba(2, 8, 20, .72);
    color: #f8fafc;
    font: inherit;
    font-size: 14px;
}

.account-footballer-search input:focus { border-color: #38bdf8; outline: 2px solid rgba(56, 189, 248, .2); }
.account-footballer-status { margin: 0; padding: 3px 20px 10px; color: #94a3b8; font-size: 12px; }
.account-footballer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    min-height: 130px;
    padding: 2px 20px 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.account-footballer-option {
    display: grid;
    min-width: 0;
    align-content: start;
    justify-items: center;
    gap: 7px;
    padding: 9px 8px 10px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 11px;
    background: rgba(9, 19, 35, .7);
    color: #f8fafc;
    font: inherit;
    text-align: center;
    cursor: pointer;
}

.account-footballer-option:hover,
.account-footballer-option:focus-visible { border-color: rgba(56, 189, 248, .72); background: rgba(14, 165, 233, .1); outline: none; }
.account-footballer-option[aria-pressed="true"] { border-color: #38bdf8; background: rgba(14, 165, 233, .18); box-shadow: 0 0 0 2px rgba(56, 189, 248, .16); }
.account-footballer-option-photo {
    display: grid;
    width: 86px;
    height: 86px;
    overflow: hidden;
    place-items: end center;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 34%, #28435d, #0b1625 72%);
}

.account-footballer-option-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.account-footballer-option > strong { width: 100%; overflow-wrap: anywhere; font-size: 12px; line-height: 1.25; }
.account-footballer-option-meta { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 5px; color: #94a3b8; font-size: 10px; line-height: 1.25; }
.account-footballer-option-meta img { width: 17px; height: 11px; flex: 0 0 auto; object-fit: cover; border-radius: 1px; }
.account-footballer-option-meta span { overflow-wrap: anywhere; }
.account-footballer-more { justify-self: center; margin: 0 20px 14px; }
.account-footballer-selection {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid rgba(148, 163, 184, .18);
    background: rgba(2, 8, 20, .64);
}

.account-footballer-selection .account-avatar-preview { width: 58px; height: 58px; flex-basis: 58px; }
.account-footballer-selection p { min-width: 0; margin: 0; color: #cbd5e1; font-size: 12px; }
.account-footballer-selection strong { display: block; margin-top: 2px; overflow-wrap: anywhere; color: #fff; font-size: 14px; }
.account-footballer-selection .account-primary-button { width: auto; min-height: 40px; padding: 8px 14px; font-size: 12px; }

@media (max-width: 700px) {
    .account-shell { width: min(calc(100% - 20px), 960px); padding-top: 20px; }
    .account-profile-view,
    .account-settings-view { padding: 14px; }
    .account-profile-hero { gap: 10px; padding: 14px; }
    .account-profile-photo { width: 82px; height: 82px; flex-basis: 82px; border-radius: 11px; }
    .account-profile-photo span { font-size: 31px; }
    .account-profile-identity h2 { font-size: 25px; }
    .account-profile-stats { grid-template-columns: 1fr; }
    .account-profile-stats div + div { border-top: 1px solid rgba(148, 163, 184, .14); border-left: 0; }
    .account-info-grid,
    .account-profile-details,
    .account-form-columns { grid-template-columns: 1fr; }
    .account-profile-details .account-info-card:first-child { grid-column: auto; }
    .account-avatar-form { grid-template-columns: 72px minmax(0, 1fr); align-items: start; padding: 13px; }
    .account-avatar-preview { width: 72px; height: 72px; }
    .account-footballer-dialog { max-height: 92vh; max-height: 92dvh; }
    .account-footballer-dialog-header { padding: 15px 14px 12px; }
    .account-footballer-search { padding: 12px 14px 7px; }
    .account-footballer-status { padding: 3px 14px 9px; }
    .account-footballer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 2px 14px 14px; }
    .account-footballer-option { padding: 8px 6px 9px; }
    .account-footballer-option-photo { width: 72px; height: 72px; }
    .account-footballer-selection { padding: 10px 14px; }
}

@media (max-width: 420px) {
    .account-avatar-form { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .account-avatar-actions { justify-content: center; }
    .account-footballer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-footballer-option-photo { width: 82px; height: 82px; }
    .account-footballer-selection { grid-template-columns: 50px minmax(0, 1fr); }
    .account-footballer-selection .account-avatar-preview { width: 50px; height: 50px; }
    .account-footballer-selection .account-primary-button { grid-column: 1 / -1; width: 100%; }
}
