/* Phase 4: account presentation only. Auth, data and permission gates are unchanged. */
html.bgr-site.bgr-site-theme body[data-bgr-account] :is(button,a,input,select,textarea):focus-visible{outline:2px solid #d8a3ff!important;outline-offset:3px}
html.bgr-site.bgr-site-theme body[data-bgr-account] [hidden]{display:none!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"]{box-sizing:border-box;display:grid!important;place-items:center!important;padding:clamp(12px,3vw,40px)!important;min-height:100dvh}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] main.shell{width:min(100%,1060px)!important;max-width:1060px!important;min-width:0!important;margin:0 auto!important;padding:0!important;display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;align-items:stretch;overflow:hidden!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] main.shell .brand{min-width:0;padding:clamp(24px,4vw,48px)!important;gap:32px;background:linear-gradient(155deg,#241330,#100b19)!important;overflow:visible!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] main.shell .brand::after{display:none!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .bgr-auth-home{display:flex;align-items:center;gap:12px;color:#f6f2f9;text-decoration:none;font:800 .8rem/1.35 Inter,system-ui,sans-serif;margin-bottom:32px;max-width:100%}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .bgr-auth-home img{width:58px;height:58px;object-fit:contain;flex:none}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .bgr-auth-home small{display:block;color:#d8a3ff;font-size:.74rem;font-weight:650;margin-top:5px}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .brand h1{font:800 clamp(1.9rem,3.3vw,3.3rem)/1.1 Inter,system-ui,sans-serif;letter-spacing:-.025em;overflow-wrap:anywhere}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .brand-note{border-top:1px solid #80509a;padding-top:18px}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] main.shell .auth{min-width:0;padding:clamp(24px,4vw,44px)!important;background:#100c16}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:5px;margin:0 0 24px}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .tab{min-height:44px;white-space:normal}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .tab.active{background:#46235d!important;color:#fff!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .panel{min-width:0;padding:0!important;box-shadow:none!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] :is(.field input,.primary,.discord,.linkbtn,.forgot){min-height:46px;font-size:16px;white-space:normal;overflow-wrap:anywhere}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .forgot{font-size:.86rem}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .field label{font-size:.85rem}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap{box-sizing:border-box;width:min(100%,1240px);max-width:1240px;padding:clamp(20px,4vw,48px) clamp(14px,3vw,32px) 64px;margin:0 auto}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap>.page-head{background:none!important;border:0!important;border-image:none!important;padding:0 0 22px!important;text-align:center}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap>.page-head p{margin-inline:auto}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-hub{padding:clamp(18px,3vw,32px)!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-hub-tabs{display:flex!important;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 0 24px!important;padding:0 0 18px!important;background:none!important;border:0!important;border-bottom:1px solid #51365f!important;border-image:none!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-hub-tabs a{min-height:44px;justify-content:center;text-align:center;flex:1 1 120px;max-width:200px}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap :is(.account-hub-grid,.account-summary-grid,.settings-grid,.account-readiness-grid,.account-activity-stats)>*{min-width:0;overflow-wrap:anywhere}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap :is(.account-hub-link,.account-summary-panel,.account-readiness-step,.account-daily-info,.account-activity-entry,.subcard){border:1px solid #62417a!important;border-image:none!important;border-radius:8px!important;background:#18121e!important;box-shadow:none!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap :is(.account-card,.account-daily,.account-activity,.account-readiness){min-width:0;box-sizing:border-box;overflow-wrap:anywhere;padding:clamp(16px,2.5vw,26px)!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap :is(.account-card,.account-hub,.account-daily){scroll-margin-top:110px}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap :is(.field,.profile>div,.linked-head>div,.discord-account-name){min-width:0;overflow-wrap:anywhere}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap :is(.label,.field label,.field small,.muted,.mc-uuid,.privacy-note,.profile-handle){color:#d3cbd9!important;overflow-wrap:anywhere}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap :is(.gold-btn,.secondary-btn,.danger-btn,.unlink){min-height:44px;white-space:normal;text-align:center;max-width:100%;overflow-wrap:anywhere}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap :is(.field input,.link-input){min-height:46px;font-size:16px;min-width:0;max-width:100%}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] #rs-login-gate{box-sizing:border-box;padding:16px;overflow:auto;align-items:safe center!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] #rs-login-gate>div{box-sizing:border-box;width:min(100%,460px)!important;max-width:460px!important;padding:clamp(20px,5vw,38px)!important;border:1px solid #9253bd!important;background:#18121e!important;overflow-wrap:anywhere}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] #rs-login-gate a{min-height:44px;max-width:100%;white-space:normal}
@media(max-width:760px){
 html.bgr-site.bgr-site-theme body[data-bgr-account="login"] main.shell{grid-template-columns:minmax(0,1fr)!important}
 html.bgr-site.bgr-site-theme body[data-bgr-account="login"] main.shell .brand{border-right:0;border-bottom:1px solid #62417a;padding:20px!important;gap:14px}
 html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .bgr-auth-home{margin-bottom:12px}
 html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .bgr-auth-home img{width:46px;height:46px}
 html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .brand h1{font-size:1.8rem;margin:8px 0}
 html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .brand h1 br{display:none}
 html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .brand p{font-size:.86rem;margin:8px 0;line-height:1.5}
 html.bgr-site.bgr-site-theme body[data-bgr-account="login"] .brand-note{font-size:.77rem;padding-top:12px}
 html.bgr-site.bgr-site-theme body[data-bgr-account="login"] main.shell .auth{padding:20px!important}
 html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-hub-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}
 html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-hub-tabs a{max-width:none}
 html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-hub-tabs a:last-child{grid-column:1/-1}
 html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap .actions>*{width:100%}
 html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap .account-readiness-grid{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:380px){
 html.bgr-site.bgr-site-theme body[data-bgr-account="login"] main.shell :is(.brand,.auth){padding:15px!important}
 html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-wrap{padding-inline:10px}
 html.bgr-site.bgr-site-theme body[data-bgr-account="member"] .account-hub{padding:12px!important}
}

/* Compact member settings; keep the overview's featured artwork. */
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] #main-content .account-wrap :is(.account-card,.account-readiness,.account-activity,.account-daily){
  border:1px solid #62417a!important;border-image:none!important;border-radius:8px!important;
  background:#18121e!important;box-shadow:none!important;margin-bottom:20px!important;
}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] #main-content .account-hub-grid{gap:12px!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] #main-content .account-hub-link{
  min-height:136px!important;padding:16px!important;gap:7px!important;
}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] #main-content .account-card h2{
  font-size:clamp(1.05rem,1.6vw,1.25rem)!important;line-height:1.4!important;margin-bottom:16px!important;
}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] #main-content .account-wrap :is(.field,.subcard,.account-summary-panel){text-align:left}
html.bgr-site.bgr-site-theme body[data-bgr-account="member"] #main-content .account-wrap :is(.field input,.link-input){background:#100b17!important;border:1px solid #62417a!important;border-radius:8px!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] main.shell{border:1px solid #62417a!important;border-image:none!important;border-radius:12px!important;box-shadow:0 16px 44px #0005!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] main.shell .auth .panel{border:0!important;border-image:none!important;background:none!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="login"] main.shell .tabs{border:1px solid #62417a!important;border-image:none!important;border-radius:8px!important;background:#18121e!important}
html.bgr-site.bgr-site-theme body:is([data-bgr-account="reset"],[data-bgr-account="callback"]){box-sizing:border-box;min-height:100dvh;padding:16px!important;display:grid;place-items:center}
html.bgr-site.bgr-site-theme body:is([data-bgr-account="reset"],[data-bgr-account="callback"]) main{
  box-sizing:border-box;width:min(100%,520px)!important;max-width:520px!important;min-width:0;
  padding:clamp(18px,4vw,32px)!important;margin:0 auto!important;background:#18121e!important;
  border:1px solid #62417a!important;border-image:none!important;border-radius:10px!important;box-shadow:0 16px 44px #0005!important;
}
html.bgr-site.bgr-site-theme body[data-bgr-account="reset"] main h1{font:800 clamp(1.5rem,4vw,2rem)/1.25 Inter,system-ui,sans-serif!important;overflow-wrap:anywhere}
html.bgr-site.bgr-site-theme body[data-bgr-account="reset"] main :is(input,button){min-height:46px!important;max-width:100%;width:100%;font-size:16px!important}
html.bgr-site.bgr-site-theme body[data-bgr-account="reset"] main .back{display:flex;align-items:center;justify-content:center;min-height:44px}
@media(max-width:570px){html.bgr-site.bgr-site-theme body[data-bgr-account="member"] #main-content .account-hub-link{min-height:112px!important;padding:14px!important}}
@media(prefers-reduced-motion:reduce){html.bgr-site.bgr-site-theme body[data-bgr-account="callback"] .spinner{animation:none!important}}
