/* Approved v1.9. Scoped to the original account dialog; inboxes remain unchanged. */
body.j-account-lock{overflow:hidden}
html body.jucat-design #jAccountDrawer{position:fixed;inset:0 0 0 auto;margin:0;width:390px;max-width:calc(100vw - 12px);height:100dvh;max-height:100dvh;padding:60px 12px 20px;border:0;border-left:1px solid var(--line,#3a3d44);border-radius:0;overflow:auto;overscroll-behavior:contain;background:var(--surface,var(--card,#222429));color:var(--text,#e9efed);box-sizing:border-box;scrollbar-width:none;animation:account19-enter .2s ease-out}
html body.jucat-design #jAccountDrawer::-webkit-scrollbar{display:none}
html body.jucat-design #jAccountDrawer::backdrop{background:#0006;backdrop-filter:blur(3px)}
html body.jucat-design #jAccountDrawer .j-account-close-row{display:flex;position:absolute;top:8px;right:10px;justify-content:flex-end;padding:0;margin:0;background:transparent;border:0}
html body.jucat-design #jAccountDrawer .j-account-close-row h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html body.jucat-design #jAccountDrawer .j-account-close-row button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font-size:26px}
html body.jucat-design #jAccountDrawer .account-menu-panel{position:static;display:block;inset:auto;width:100%;max-width:none;max-height:none;padding:0;margin:0;border:0;box-shadow:none;border-radius:0;background:transparent;color:inherit}
html body.jucat-design #jAccountDrawer .j-drawer-preferences{display:flex;align-items:center;justify-content:flex-start;gap:4px;padding:10px 0;border:0;border-bottom:1px solid var(--line,#3a3d44);margin:0 0 12px}
html body.jucat-design #jAccountDrawer .j-drawer-language{display:flex;border:0;background:transparent;padding:0;gap:0;width:auto}
html body.jucat-design #jAccountDrawer .j-drawer-preferences button{display:inline-flex;align-items:center;justify-content:flex-start;min-width:44px;min-height:44px;height:auto;width:auto;padding:8px;border:0;border-radius:3px;background:transparent;color:inherit;box-shadow:none;font-family:inherit;font-size:14px;line-height:1.3;font-weight:400;white-space:nowrap}
html body.jucat-design #jAccountDrawer .j-drawer-language [aria-pressed=true]{font-weight:700;color:inherit}
html body.jucat-design #jAccountDrawer .j-drawer-theme{gap:10px}
html body.jucat-design #jAccountDrawer #jPushSettings{flex:0 0 44px;max-width:44px}
html body.jucat-design #jAccountDrawer #jPushSettings .j-push-toggle{width:44px;min-width:44px;height:44px;border-radius:3px}
html body.jucat-design #jAccountDrawer nav{display:grid;gap:0;margin:0;padding:0}
html body.jucat-design #jAccountDrawer nav a,html body.jucat-design #jAccountDrawer #signOutBtn{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:44px;width:100%;padding:7px 8px;border:0;border-radius:3px;margin:0;background:transparent;color:inherit;text-align:left;box-sizing:border-box;text-decoration:none;line-height:1.35;font-weight:700}
html body.jucat-design #jAccountDrawer nav a::after{content:'›';margin-left:auto;font-size:22px}
html body.jucat-design #jAccountDrawer .j-account-icon,html body.jucat-design #jAccountDrawer .j-account-signout{width:20px;height:20px;flex:0 0 20px;order:0}
html body.jucat-design #jAccountDrawer #signOutBtn .j-account-signout{order:-1}
html body.jucat-design #jAccountDrawer #signOutBtn small{display:none}
html body.jucat-design #jAccountDrawer :is(button,a):focus-visible{outline:2px solid #2fd69a;outline-offset:2px}
@keyframes account19-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(max-width:700px){html body.jucat-design #jAccountDrawer{padding:60px 10px 20px}}
@media(prefers-reduced-motion:reduce){html body.jucat-design #jAccountDrawer{animation:none}}
html body.jucat-design .a19-host{padding:0;background:transparent;border:0;box-shadow:none}
html body.jucat-design .a19-host>:not(.a19-hub){display:none!important}
html body.jucat-design .a19-hub{--a19-line:var(--line,#3a3d44);--a19-surface:var(--surface,var(--card,#222429));width:100%;min-width:0;padding:12px 0 32px;color:var(--text);font-family:Barlow,sans-serif}
.a19-heading{margin:0 0 24px}.a19-heading h1{font-size:30px;font-weight:700;margin:0}
.a19-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;align-items:start}
.a19-section-nav{display:flex;flex-direction:column;gap:6px;position:sticky;top:84px}
.a19-section-nav a{min-height:44px;padding:10px 12px;border:1px solid var(--a19-line);border-radius:3px;color:inherit;text-decoration:none;font-size:13px;font-weight:700;box-sizing:border-box}
.a19-section-nav a[aria-current=page]{background:#2fd69a;color:#062018;border-color:#2fd69a}
.a19-sections{display:grid;gap:16px;min-width:0}.a19-card{padding:22px;border:1px solid var(--a19-line);border-radius:6px;background:var(--a19-surface);min-width:0;scroll-margin-top:90px}
.a19-card>h2{margin:0 0 16px;font-size:20px;font-weight:700}.a19-card>a{display:inline-flex;align-items:center;min-height:44px;padding:8px;gap:8px}
.a19-card .account-facts{margin:0 0 18px;overflow-wrap:anywhere}.a19-card form{max-width:none}.a19-card :is(input,select,textarea){box-sizing:border-box;max-width:100%;min-width:0;border-radius:3px}
.a19-card :is(button,a){max-width:100%;min-height:44px;border-radius:3px}.a19-card .pv-section{background:transparent;border-radius:0;border:0;border-bottom:1px solid var(--a19-line);margin:0;padding:8px 0}
.a19-card .pv-section summary{min-height:44px}.a19-card .pv-existing{padding:0;border:0;background:transparent}.a19-card .pv-visibility{padding:0;background:transparent;border:0}.a19-card .pv-visibility>h2{display:none}
.a19-card .rest-panel{background:transparent;border:0;padding:0;border-radius:0;margin:0 0 16px}.a19-card .account-email-form{margin-top:16px}
.a19-footer{display:flex;justify-content:flex-end}.a19-footer button{min-height:44px;padding:10px 16px;border-radius:3px}
.a19-hub :is(a,button,input,select,textarea,summary):focus-visible{outline:1px solid #2fd69a;outline-offset:2px}
@media(max-width:760px){.a19-layout{display:block}.a19-section-nav{position:static;flex-direction:row;overflow:auto;overflow-y:hidden;scrollbar-width:none;margin:0 0 18px}.a19-section-nav::-webkit-scrollbar{display:none}.a19-section-nav a{flex:none;white-space:nowrap}.a19-card{padding:16px}.a19-heading h1{font-size:26px}.a19-hub .a19-sections{gap:12px}}

html body.jucat-design #jAccountDrawer .j-drawer-theme{font-weight:700}
html[data-theme=dark] #jAccountDrawer,html[data-theme=dark] .a19-hub{--surface:#212327;--field:#151619;--text:#F3F6F5;--muted:#F3F6F5;--line:#36393E;--accent:#2FD69A;--ink:#062018}
html[data-theme=light] #jAccountDrawer,html[data-theme=light] .a19-hub{--surface:#fff;--field:#F4F9FC;--text:#16171A;--muted:#4A5D66;--line:#E3E9EF;--accent:#2FD69A;--ink:#062018}
/* Same native radio inputs and change handlers; only the two-option visibility presentation changes. */
html body.jucat-design .a19-hub .pv-choices{display:grid;grid-template-columns:1fr 1fr;gap:3px;border:0;border-radius:3px;padding:3px;margin:0 0 16px;background:var(--field)}
html body.jucat-design .a19-hub .pv-choices legend{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
html body.jucat-design .a19-hub .pv-choice{position:relative;display:flex;align-items:center;justify-content:center;gap:0;min-height:44px;padding:8px;border:0;border-radius:3px;background:transparent;box-shadow:none;color:var(--text);text-align:center;box-sizing:border-box;cursor:pointer}
html body.jucat-design .a19-hub .pv-choice:has(input:checked){background:#2fd69a;color:#062018}
html body.jucat-design .a19-hub .pv-choice input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
html body.jucat-design .a19-hub .pv-choice:has(input:focus-visible){outline:1px solid var(--text);outline-offset:2px}
html body.jucat-design .a19-hub .pv-choice :is(.pv-choice-icon,small){display:none}
html body.jucat-design .a19-hub .pv-choice strong{font:700 13px/1.3 Barlow,sans-serif;white-space:normal}
/* Profile/editor keep real forms, validation, cover and pitch drawing. */
html[data-theme=dark] body.jucat-design :is(#profilePage,#playerProfilePage){--surface:#212327;--field:#151619;--text:#f3f6f5;--muted:#F3F6F5;--line:#36393E}
html[data-theme=light] body.jucat-design :is(#profilePage,#playerProfilePage){--surface:#fff;--field:#f4f9fc;--text:#16171a;--muted:#4a5d66;--line:#e3e9ef}
html body.jucat-design :is(#profilePage,#playerProfilePage),html body.jucat-design :is(#profilePage,#playerProfilePage) :is(input,textarea,select,button,a,p,legend,dt,dd,h1,h2,h3){font-family:Barlow,sans-serif!important;font-style:normal!important}
html body.jucat-design :is(#profilePage,#playerProfilePage) :is(h1,h2,h3,legend){font-weight:700!important}
html body.jucat-design #profilePage :is(.profile-edit-section,.profile-photo-editor),html body.jucat-design #playerProfilePage :is(.profile-section,.profile-identity-card){background:var(--surface)!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:6px!important;padding:20px!important;box-sizing:border-box;min-width:0}
html body.jucat-design #profilePage :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:46px!important;background:var(--field)!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:3px!important;max-width:100%;box-sizing:border-box}
html body.jucat-design :is(#profilePage,#playerProfilePage) :is(button,.profile-action,.file-btn){min-height:44px!important;border-radius:3px!important}
html body.jucat-design #profilePage .pf-cover h1{font-size:26px!important;font-weight:700!important}
@media(max-width:760px){html body.jucat-design #profilePage :is(.pf-public,.profile-edit-section){min-width:0}html body.jucat-design #profilePage .pf-public{grid-template-columns:minmax(0,1fr)!important}html body.jucat-design #playerProfilePage .profile-header-bar{display:flex!important;flex-wrap:wrap;gap:8px}html body.jucat-design #profilePage :is(.profile-edit-section,.profile-photo-editor){padding:16px!important}}
.a19-report-counts{display:grid;grid-template-columns:1fr auto;gap:8px 16px;margin:0 0 16px}.a19-report-counts[hidden]{display:none}.a19-report-counts dd{margin:0;font-weight:700}
.a19-invite-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.a19-invite-actions button{width:auto;max-width:240px;padding:10px 16px}#a19InviteLink{display:block;width:100%;min-height:46px;margin-top:8px;padding:10px 12px;background:var(--field);color:var(--text);border:1px solid var(--line);border-radius:3px}

/* 04 Nov: name-only account heading; retain native avatar IDs for existing updaters. */
#jAccountDrawer #jAccountDrawerTitle,#jAccountDrawer .account-menu-header :is(img,.avatar-placeholder){display:none!important}#jAccountDrawer .account-menu-header{display:block!important}#jAccountDrawer .j-account-close-row button{min-width:45px!important;min-height:45px!important;font-size:30px!important}@media(min-width:801px){.player-experience .exp-topbar .exp-app-logo{display:none!important}}

#jAccountDrawer :is(button,a),#accountHub19 :is(button,a,input,select){min-height:45px!important}#jAccountDrawer button{min-width:45px!important}

#accountHub19 .a19-card>a{display:inline-flex;align-items:center;justify-content:center;max-width:240px;min-height:45px;padding:8px 12px;border:1px solid var(--line);border-radius:3px;background:var(--field,var(--surface));color:inherit;text-decoration:none;font-weight:700}
