body.pb-account-standard:where(.pb-account-extended-components) .pb-account-button { display:inline-flex; align-items:center; justify-content:center; gap:var(--pb-space-2,8px); min-height:44px; padding:10px 18px; border:1px solid var(--action,#ff9900); border-radius:var(--pb-radius-control,8px); font:600 15px/1.3 var(--pb-font-display); letter-spacing:.02em; text-transform:uppercase; text-align:center; transition:background-color .18s,color .18s,border-color .18s,box-shadow .18s; }
/* Reusable Bricks offcanvas presentation. Bricks retains all behavior. */
body.pb-account-standard .pb-account-offcanvas[data-direction] .brx-offcanvas-inner{width:min(440px,100vw);height:100%;max-height:100dvh;padding:0;gap:0;background:var(--pb-surface-soft,#d3ded9);overflow:auto}
body.pb-account-standard .pb-account-offcanvas__header{display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:var(--secondary,#202a25);color:#fff;flex:none;position:sticky;top:0;z-index:1}
body.pb-account-standard .pb-account-offcanvas__header h2{font:600 24px/1.25 var(--pb-font-display);color:inherit;margin:0;max-width:calc(100% - 56px)}
body.pb-account-standard .pb-account-offcanvas__body{padding:20px;display:grid;gap:20px;min-width:0;flex:none;width:100%}
body.pb-account-standard .brxe-toggle.pb-account-offcanvas-toggle{display:inline-flex;gap:12px;align-items:center;justify-content:center;width:auto!important;min-width:0;min-height:48px;flex:none;padding:12px 18px!important}
body.pb-account-standard .pb-account-offcanvas-toggle .brxa-wrap{width:20px;height:18px;flex:none}
body.pb-account-standard .pb-account-offcanvas-close{display:grid;place-items:center;min-height:44px;min-width:44px;font-size:30px;color:#fff;border:1px solid #ffffff50;border-radius:8px;background:transparent}
body.pb-account-standard .pb-account-offcanvas__header>.brxe-shortcode{width:auto;flex:none}
body.pb-account-standard .pb-account-offcanvas__body .pb-account-button{white-space:normal;overflow-wrap:normal;max-width:100%}
@media(prefers-reduced-motion:reduce){body.pb-account-standard .pb-account-offcanvas .brx-offcanvas-inner{transition-duration:0s!important}}
body.pb-account-standard .pb-account-offcanvas{position:relative;z-index:2000}

body.pb-account-standard .pb-account-offcanvas-toggle .brxa-inner,body.pb-account-standard .pb-account-offcanvas-toggle .brxa-inner::before,body.pb-account-standard .pb-account-offcanvas-toggle .brxa-inner::after{width:20px!important}
body.pb-account-standard .pb-account-offcanvas[data-direction] .brx-offcanvas-inner{display:flex;flex-direction:column!important;align-items:stretch;flex-wrap:nowrap;overflow-x:hidden}body.pb-account-standard .pb-account-offcanvas__header,body.pb-account-standard .pb-account-offcanvas__body{width:100%;max-width:none;margin:0;flex-shrink:0}

/* Shared account control states, including Fantasy. No second button theme. */
body.pb-account-standard:where(.pb-account-extended-components) .pb-account-button:not(:disabled):not([aria-disabled=true]):hover{background:var(--pb-surface-brand);border-color:var(--pb-surface-brand);color:var(--white,#fff)}
body.pb-account-standard:where(.pb-account-extended-components) .pb-account-button:is([aria-current=true],[aria-current=page]){background:var(--pb-surface-brand);border-color:var(--pb-surface-brand);color:var(--white,#fff)}
body.pb-account-standard:where(.pb-account-extended-components) .pb-account-button:is(:disabled,[aria-disabled=true]){background:var(--pb-surface-soft);border-color:var(--secondary-semi-light);color:var(--secondary);opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
body.pb-account-standard:where(.pb-account-extended-components) .pb-account-button.is-saved:disabled{opacity:1;cursor:default}
@media(prefers-reduced-motion:reduce){body.pb-account-standard:where(.pb-account-extended-components) .pb-account-button{transition:none}}

/* Shared person card: optional compact five-player lineup variant. */
body.pb-account-standard .pb-account-shared-card[data-pb-card-variant="fantasy-lineup"]{display:flex;flex-direction:column;min-width:0;background:var(--secondary-light);border:1px solid var(--secondary-semi-light);border-radius:var(--pb-radius-control,8px);overflow:hidden;width:100%}
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"]>.brxe-atexqv{height:246px!important;min-height:0!important;aspect-ratio:auto!important;border:0!important;border-radius:0!important;width:100%}
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .ranking-card__body{padding:12px!important}
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .ranking-card__heading{margin-bottom:8px!important}
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .pb-player-name-part{display:block;white-space:nowrap}
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .brxe-slkljz,body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .brxe-aglabn{width:44px!important;height:44px!important;max-height:44px!important;object-fit:contain}
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .brxe-omwvoz{font-size:13px!important;white-space:nowrap}
body.pb-account-standard .pb-account-shared-card__footer{--pb-surface-soft:var(--white,#fff);display:grid;gap:10px;padding:12px;min-width:0;background:var(--secondary-light);border-top:1px solid var(--secondary-semi-light)}
body.pb-account-standard .pb-account-shared-card__footer>strong{font:600 21px/1.2 var(--pb-font-display);color:var(--secondary)}
body.pb-account-standard .pb-account-shared-card__footer>small{font:500 13px/1.3 var(--pb-font-content);color:var(--secondary)}

/* Compact lineup variant: the portrait has no statistics caption. */
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .ranking-card__heading{margin-bottom:0!important}
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .brxe-ttjugp{position:absolute;inset:4px 4px auto auto;margin:0!important;width:44px!important;height:44px!important;min-width:0!important;min-height:0!important;padding:0!important}
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .brxe-qiyirv{display:none!important}

/* Compact inline identity, shared with table consumers; full person cards stay unchanged. */
.pb-account-person-inline{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:inherit;max-width:100%;text-align:left;vertical-align:middle}
.pb-account-person-inline>img{width:44px;height:44px;flex:0 0 44px;object-fit:cover;border-radius:var(--pb-radius-sm,8px)}
.pb-account-person-inline__name{display:flex;flex-direction:column;min-width:0;line-height:1.15;gap:3px}
.pb-account-person-inline__name>small{font-family:var(--pb-font-content);font-size:12px;font-weight:400}
.pb-account-person-inline__name>strong{font-family:var(--pb-font-display);font-size:17px;font-weight:700;overflow-wrap:anywhere}

/* Shared offcanvas viewport respects WordPress toolbar and device safe areas. */
body.pb-account-standard.admin-bar .pb-account-offcanvas.brx-open[data-direction] .brx-offcanvas-inner{top:32px!important;height:calc(100dvh - 32px)!important;max-height:calc(100dvh - 32px)!important}
body.pb-account-standard .pb-account-offcanvas__header{padding-top:max(20px,env(safe-area-inset-top,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
body.pb-account-standard .pb-account-offcanvas__body{padding-bottom:max(20px,env(safe-area-inset-bottom,0px))}
@media(max-width:782px){body.pb-account-standard.admin-bar .pb-account-offcanvas.brx-open[data-direction] .brx-offcanvas-inner{top:46px!important;height:calc(100dvh - 46px)!important;max-height:calc(100dvh - 46px)!important}}

.pb-account-section-layout{display:grid;gap:24px;max-width:var(--content-width,1366px);width:calc(100% - 32px);margin:24px auto;min-width:0}

/* Optional lineup card: compact spacing without changing the standard person card. */
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"]>.pb-account-shared-card__footer{gap:6px;padding:10px}

/* Optional court card: same Bricks person component, no second identity/media implementation. */
body.pb-account-standard .pb-account-shared-card[data-pb-card-variant="fantasy-court"]{display:flex;flex-direction:column;min-width:0;background:var(--secondary-light);border:1px solid var(--secondary-semi-light);border-radius:var(--pb-radius-control,8px);overflow:hidden;width:100%}
body.pb-account-standard [data-pb-card-variant="fantasy-court"]>.brxe-atexqv{height:118px!important;min-height:0!important;aspect-ratio:auto!important;border:0!important;border-radius:0!important;width:100%}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .ranking-card__body{padding:6px!important}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .ranking-card__heading{font-size:clamp(12px,1.2vw,17px)!important;line-height:1.08!important;margin:0!important}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .pb-player-name-part{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .brxe-ttjugp{position:absolute;inset:4px 4px auto auto;margin:0!important;width:26px!important;height:26px!important;min-width:0!important;min-height:0!important;padding:0!important}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] :is(.brxe-slkljz,.brxe-aglabn){width:26px!important;height:26px!important;max-height:26px!important;object-fit:contain}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .brxe-qiyirv{display:none!important}
body.pb-account-standard [data-pb-card-variant="fantasy-court"]>.pb-account-shared-card__footer{padding:6px;gap:2px}
body.pb-account-standard [data-pb-card-variant="fantasy-court"]>.pb-account-shared-card__footer>strong{font-size:18px}
body.pb-account-standard [data-pb-card-variant="fantasy-court"]>.pb-account-shared-card__footer>small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:600px){body.pb-account-standard [data-pb-card-variant="fantasy-court"]>.brxe-atexqv{height:102px!important}body.pb-account-standard [data-pb-card-variant="fantasy-court"] .ranking-card__heading{font-size:12px!important}}

/* Keep compact court identities within their grid slot and show the complete portrait. */
body.pb-account-standard [data-pb-card-variant="fantasy-court"]>.brxe-atexqv,body.pb-account-standard [data-pb-card-variant="fantasy-lineup"]>.brxe-atexqv{position:relative;overflow:hidden}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .ranking-card__image-wrapper,body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .ranking-card__image-wrapper{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .ranking-card__image,body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .ranking-card__image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .ranking-card__image img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important}
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .ranking-card__image img{display:block;width:100%!important;height:100%!important;max-width:none!important;padding:0!important;object-fit:cover!important;object-position:center top!important}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .ranking-card__body,body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .ranking-card__body{position:absolute!important;inset:auto 0 0!important;z-index:2;width:100%;background:linear-gradient(transparent,var(--secondary,#202a25));padding:20px 5px 5px!important}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .ranking-card__heading,body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .ranking-card__heading{color:var(--white,#fff)!important}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .brxe-ttjugp,body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .brxe-ttjugp{z-index:3}
/* Court cards keep the five-player court compact; full details stay in the drawer. */
body.pb-account-standard [data-pb-card-variant="fantasy-court"]>.brxe-atexqv{height:86px!important}
body.pb-account-standard [data-pb-card-variant="fantasy-court"]>.pb-account-shared-card__footer{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:5px}
body.pb-account-standard [data-pb-card-variant="fantasy-court"]>.pb-account-shared-card__footer>.pb-fantasy-badge{display:none}
body.pb-account-standard [data-pb-card-variant="fantasy-court"]>.pb-account-shared-card__footer>strong{font-size:16px;white-space:nowrap}
body.pb-account-standard [data-pb-card-variant="fantasy-court"]>.pb-account-shared-card__footer>.pb-fantasy-tier{display:none}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .ranking-card__body,body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .ranking-card__body{position:static!important;inset:auto!important;height:0!important;min-height:0!important;padding:0!important;background:none!important}
body.pb-account-standard [data-pb-card-variant="fantasy-court"] .ranking-card__heading,body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .ranking-card__heading{position:absolute!important;inset:auto 0 0!important;z-index:2;padding:20px 5px 5px!important;background:linear-gradient(transparent,var(--secondary,#202a25));width:100%}

/* Shared rails: full cards never shrink; the calendar owner controls movement. */
.pb-account-card-rail{width:100%;min-width:0;max-width:100%}
.pb-account-card-rail__tools{display:flex;justify-content:flex-end;min-height:0;margin-bottom:8px}
.pb-account-card-rail__tools:has([hidden]){display:none}
.pb-account-card-rail__track{display:flex!important;gap:16px!important;list-style:none!important;padding:2px 2px 12px!important;margin:0!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;min-width:0;width:100%;max-width:100%;align-items:stretch;scrollbar-width:thin}
.pb-account-card-rail__item{flex:var(--pb-card-rail-grow,0) 0 min(var(--pb-card-rail-size,220px),100%);min-width:0;scroll-snap-align:start;list-style:none!important;display:flex;flex-direction:column;gap:12px}
.pb-account-card-rail__item>*{width:100%;min-width:0}
@media(prefers-reduced-motion:reduce){.pb-account-card-rail__track{scroll-behavior:auto}}

/* Native person-card footer badges: position and status form one inline row. */
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .pb-account-shared-card__badges{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
body.pb-account-standard [data-pb-card-variant="fantasy-lineup"] .pb-account-shared-card__position{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:4px 9px;border:1px solid var(--primary,#b4d665);border-radius:var(--pb-radius-compact,6px);background:var(--primary,#b4d665);color:var(--secondary);font:600 18px/1.2 var(--pb-font-display);white-space:nowrap}

/* The shared site control-panel composition, used by feature filters and period selectors. */
body.pb-account-standard [data-pb-control-panel]{width:100%;background:var(--secondary-light);padding:16px;border-radius:var(--pb-radius-control,8px);border-block-end:var(--pb-border-lower);box-shadow:var(--pb-shadow-surface)}
body.pb-account-standard [data-pb-control-panel]>.pb-account-field{display:grid;gap:6px;margin:0;min-width:0}
body.pb-account-standard [data-pb-control-panel]>.pb-account-field>span{font:600 .84rem/1.4 var(--pb-font-content,"Roboto Condensed",sans-serif);letter-spacing:.06em;text-transform:uppercase}
body.pb-account-standard .pb-account-symbol-label{display:flex;align-items:center;justify-content:flex-start;gap:10px;text-align:left}
body.pb-account-standard .pb-account-symbol-label>span:first-child{color:var(--accent);font-size:22px;flex:none}
body.pb-account-standard [data-fantasy-archive-cards] [data-pb-card-variant="fantasy-court"]>.brxe-atexqv{height:166px!important}
body.pb-account-standard [data-fantasy-archive-cards] [data-pb-card-variant="fantasy-court"]>.pb-account-shared-card__footer{display:grid;gap:6px;padding:8px}

body.pb-account-standard form[data-pb-control-panel]{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px}
body.pb-account-standard form[data-pb-control-panel]>.pb-account-button{width:auto;justify-self:start}
@media(max-width:480px){body.pb-account-standard form[data-pb-control-panel]{grid-template-columns:minmax(0,1fr)}}
