/* Account screens share the landing page's emerald, slate, and typography. */
.cb-account-shell { min-height: 100svh; display: flex; flex-direction: column; }
.cb-account-links { display: flex; align-items: center; gap: 23px; font-size: 14px; }
.cb-account-links a { color: #c3d6cc; }
.cb-account-links a:hover { color: #55edb0; }
.cb-account-logout { background: none; border: 1px solid #9fc9b240; border-radius: 5px; padding: 8px 13px; color: #c3d6cc; cursor: pointer; font: inherit; }
.cb-account-logout:hover { border-color: #55edb0; }
.cb-account-main { flex: 1; padding-block: 48px 70px; }
.cb-account-footer { border-top: 1px solid #a9d0bc1c; padding-block: 24px; font-size: 12px; color: #92a99d; }
.cb-auth-card { width: min(100%, 520px); margin-inline: auto; padding: 34px; border: 1px solid #77c4a635; border-radius: 12px; background: linear-gradient(145deg, #10251e, #09151b 60%); box-shadow: 0 15px 65px #0003; }
.cb-auth-card .cb-eyebrow { margin-bottom: 16px; }
.cb-auth-card h1, .cb-account-heading h1 { font-size: clamp(29px, 3.5vw, 44px); font-weight: 750; line-height: 1.12; letter-spacing: -.045em; margin: 0; overflow-wrap: anywhere; }
.cb-account-intro, .cb-account-heading > p:not(.cb-eyebrow) { font-size: 14px; line-height: 1.8; color: #a4b9ac; margin-top: 18px; overflow-wrap: anywhere; }
.cb-account-intro strong { color: #d0e3d6; font-weight: 500; }
.cb-account-form { margin-top: 25px; }
.cb-form-field { display: grid; gap: 8px; margin-bottom: 19px; }
.cb-form-field label { font-size: 13px; font-weight: 600; color: #d4e5da; }
.cb-form-field input, .cb-form-field textarea, .cb-form-field select { width: 100%; background: #061117; border: 1px solid #9fc9b238; border-radius: 6px; color: #edf6f0; padding: 12px 13px; font-size: 16px; line-height: 1.4; }
.cb-form-field :is(input, textarea, select):focus { outline: 2px solid #55edb0; outline-offset: 2px; }
.cb-form-field .field_with_errors { display: contents; }
.cb-form-field .field_with_errors :is(input, textarea, select) { border-color: #e9a094; }
.cb-field-help { display: block; font-size: 12px; color: #9db4a5; line-height: 1.7; margin: 0; }
.cb-check-field { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 24px; cursor: pointer; }
.cb-check-field input { accent-color: #55edb0; width: 17px; height: 17px; }
.cb-account-form .cb-button { border: 0; cursor: pointer; min-height: 46px; white-space: normal; }
.cb-auth-card .cb-account-form > .cb-button { width: 100%; }
.cb-account-switch { font-size: 13px; color: #a4b9ac; margin-top: 22px; }
.cb-account-switch a { color: #55edb0; text-decoration: underline; text-underline-offset: 3px; }
.cb-account-form fieldset { border-top: 1px solid #9fc9b238; padding-top: 20px; margin-top: 25px; }
.cb-account-form legend { font-size: 16px; font-weight: 600; padding-right: 10px; }
.cb-account-form legend span { color: #9db4a5; font-weight: 400; font-size: 12px; }
.cb-account-form fieldset > .cb-field-help { margin-bottom: 20px; }
.cb-form-errors, .cb-flash { color: #c8f4dd; font-size: 14px; line-height: 1.7; padding: 14px 18px; margin: 0 auto 24px; background: #12382b; border: 1px solid #55edb03d; border-radius: 7px; overflow-wrap: anywhere; }
.cb-form-errors, .cb-flash-alert { color: #ffd2c9; background: #362322; border-color: #f6a89a4f; }
.cb-form-errors { margin-top: 20px; }
.cb-form-errors ul { margin: 8px 0 0; padding-left: 20px; list-style: disc; }
.cb-account-heading { margin-bottom: 32px; }
.cb-account-heading .cb-eyebrow { margin-bottom: 16px; }
.cb-account-heading > .cb-text-link { margin-top: 15px; }
.cb-dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cb-account-panel { padding: 30px; border: 1px solid #a9d0bc24; border-radius: 10px; background: #0b1b1c; }
.cb-account-panel h2, .cb-account-history h2 { font-size: 24px; letter-spacing: -.035em; margin: 10px 0 14px; line-height: 1.2; }
.cb-account-panel > p { color: #a4b9ac; font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.cb-account-panel .cb-eyebrow { font-size: 10px; color: #55edb0; }
.cb-management-action { margin-bottom: 25px; }
.cb-account-row { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid #a9d0bc24; }
.cb-account-row > div { flex: 1; min-width: 0; }
.cb-account-name { font-size: 17px; font-weight: 600; color: #eff6f1; overflow-wrap: anywhere; }
.cb-account-state { color: #81dfb1; font-size: 12px; }
.cb-account-disabled { color: #e9ab9e; }
.cb-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; padding-block: 26px; font-size: 13px; color: #9db4a5; }
.cb-pagination a { color: #55edb0; }
.cb-button-danger { background: #edb0a3; color: #341a16; }
.cb-button-danger:hover { background: #f6c7bd; }
.cb-account-history { margin-top: 45px; }
.cb-account-history > p { color: #9db4a5; }
.cb-history-event { border-left: 2px solid #55edb03d; padding: 5px 0 5px 20px; margin-top: 25px; overflow-wrap: anywhere; }
.cb-history-event h3 { font-size: 15px; font-weight: 600; }
.cb-history-event p { font-size: 14px; margin: 7px 0; white-space: pre-wrap; }
.cb-history-event > span, .cb-history-event .cb-field-help { color: #9db4a5; font-size: 12px; }
@media (max-width: 760px) {
  .cb-account-main { padding-block: 30px 45px; }
  .cb-account-nav { justify-content: center; }
  .cb-account-links { gap: 16px; font-size: 12px; flex-wrap: wrap; justify-content: center; }
  .cb-auth-card { padding: 26px 22px; }
  .cb-dashboard-grid { grid-template-columns: 1fr; gap: 18px; }
  .cb-account-panel { padding: 23px; }
  .cb-account-row { gap: 12px; }
  .cb-account-row > .cb-text-link { font-size: 11px; }
  .cb-account-name { font-size: 15px; }
  .cb-nav-links { flex-wrap: wrap; row-gap: 8px; }
}
/* Signed-out landing page for shared league invitation links. */
.cb-invite-landing > .cb-field-help, .cb-invite-landing > .cb-league-flow-state { margin-top: 18px; }
.cb-invite-landing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.cb-invite-landing-actions .cb-button { flex: 1 1 180px; min-height: 46px; justify-content: center; }
/* Privacy Policy and Terms of Use. */
.cb-auth-card.cb-legal { width: min(100%, 760px); }
.cb-auth-card.cb-legal h2 { margin: 32px 0 10px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.cb-legal > p:not(.cb-eyebrow):not(.cb-account-intro), .cb-legal li { font-size: 14px; line-height: 1.75; color: #b4c9bd; }
.cb-legal > :is(p, ul) + :is(p, ul) { margin-top: 12px; }
.cb-auth-card.cb-legal ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; list-style: disc; }
.cb-legal li::marker { color: #55edb0; }
.cb-legal li strong { color: #dcebe2; font-weight: 600; }
.cb-legal a { color: #55edb0; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cb-legal .cb-legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 20px; border-top: 1px solid #a9d0bc24; }
.cb-legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
.cb-account-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.cb-account-footer nav { display: flex; gap: 18px; }
.cb-account-footer nav a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cb-account-footer nav a:hover { color: #55edb0; }
.cb-legal-consent { margin-top: 16px; font-size: 12px; line-height: 1.7; color: #9db4a5; }
.cb-legal-consent a { color: #55edb0; text-decoration: underline; text-underline-offset: 3px; }
