/* BRL Accounts — login / register / profile / settings */

:root {
  --brl-acc-bg: #05070a;
  --brl-acc-card: rgba(12, 16, 24, 0.94);
  --brl-acc-border: rgba(255, 255, 255, 0.08);
  --brl-acc-text: #f4f7fb;
  --brl-acc-muted: #9aa6b8;
  --brl-acc-blue: #0066ff;
  --brl-acc-blue-bright: #2b84ff;
  --brl-acc-red: #ff2d3f;
  --brl-acc-max: 920px;
  --brl-acc-cover-fallback: none;
}

.brl-acc-auth,
.brl-acc-account,
.brl-acc-profile,
.brl-acc-panel,
.brl-acc-empty {
  color: var(--brl-acc-text);
  font-family: "Sora", system-ui, sans-serif;
}

.brl-acc-auth,
.brl-acc-account,
.brl-acc-panel,
.brl-acc-empty {
  width: min(100% - 2rem, 520px);
  margin: 2rem auto 4rem;
}

.brl-acc-wrap {
  width: min(100% - 2rem, 1200px);
  margin: 2.25rem auto 3.5rem;
  color: var(--brl-acc-text);
  font-family: "Sora", system-ui, sans-serif;
}

.brl-acc-shell {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 560px;
  overflow: visible;
  border: 1px solid rgba(43, 132, 255, 0.32);
  border-radius: 18px;
  background: #0a1018;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 102, 255, 0.06) inset;
}

.brl-acc-shell--register {
  grid-template-columns: 0.9fr 1.2fr;
}

.brl-acc-shell__visual {
  position: relative;
  min-height: 100%;
  padding: 1.35rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.18) 0%, rgba(5, 7, 10, 0.55) 48%, rgba(5, 7, 10, 0.92) 100%),
    radial-gradient(ellipse 55% 45% at 50% 30%, rgba(0, 102, 255, 0.18), transparent 70%),
    #0a1018;
}

.brl-acc-shell--register .brl-acc-shell__visual {
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.12) 0%, rgba(5, 7, 10, 0.5) 45%, rgba(5, 7, 10, 0.92) 100%),
    radial-gradient(ellipse 50% 40% at 55% 35%, rgba(255, 90, 30, 0.18), transparent 68%),
    #0a1018;
}

.brl-acc-shell__visual-copy {
  max-width: 22rem;
}

.brl-acc-shell__visual-title {
  margin: 0 0 0.55rem;
  color: #fff;
  font-family: "Oxanium", "Sora", sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.08;
}

.brl-acc-shell__visual-text {
  margin: 0;
  color: #d5dde8;
  font-size: 0.95rem;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.brl-acc-shell__panel {
  padding: 2rem 2.15rem 1.85rem;
  background: linear-gradient(180deg, #0c121c 0%, #090d14 100%);
  display: flex;
  flex-direction: column;
}

.brl-acc-shell .brl-acc-form {
  margin-top: 1.15rem;
}

.brl-acc-form__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brl-acc-link {
  color: var(--brl-acc-blue-bright);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}

.brl-acc-link:hover {
  color: #fff;
}

.brl-acc-password {
  position: relative;
  display: block;
}

.brl-acc-password input {
  padding-right: 2.75rem;
}

.brl-acc-password__toggle {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #8b97a8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.brl-acc-password__toggle svg {
  width: 18px;
  height: 18px;
}

.brl-acc-password__toggle:hover,
.brl-acc-password__toggle.is-on {
  color: #fff;
}

.brl-acc-chips {
  margin: 0;
  padding: 0;
  border: 0;
}

.brl-acc-chips legend {
  margin: 0 0 0.45rem;
  color: #c5cedb;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brl-acc-chips legend em {
  color: var(--brl-acc-red);
  font-style: normal;
}

.brl-acc-chips__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.brl-acc-chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.brl-acc-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.brl-acc-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 20, 0.9);
  color: #c5cedb;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.brl-acc-chip input:checked + span {
  border-color: rgba(43, 132, 255, 0.65);
  background: rgba(0, 102, 255, 0.18);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(43, 132, 255, 0.2);
}

.brl-acc-chip:hover span {
  border-color: rgba(43, 132, 255, 0.4);
}

.brl-acc-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.brl-acc-card--banner {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brl-acc-collapse {
  margin: 0;
}

.brl-acc-collapse__summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  cursor: pointer;
  user-select: none;
  padding: 0.15rem 0;
}

.brl-acc-collapse__summary::-webkit-details-marker {
  display: none;
}

.brl-acc-collapse__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.brl-acc-collapse__current {
  margin-left: auto;
  color: #9aa6b8;
  font-size: 0.82rem;
  font-weight: 600;
}

.brl-acc-collapse__hint {
  color: #2b84ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brl-acc-collapse__hint::after {
  content: " ▾";
}

.brl-acc-collapse[open] .brl-acc-collapse__hint::after {
  content: " ▴";
}

.brl-acc-collapse[open] .brl-acc-collapse__hint {
  color: #7eb6ff;
}

.brl-acc-collapse__body {
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.brl-acc-banner {
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a1018;
}

.brl-acc-banner input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.brl-acc-banner__preview {
  display: block;
  height: 92px;
  background-size: cover;
  background-position: center;
}

.brl-acc-banner__label {
  display: block;
  padding: 0.45rem 0.65rem;
  color: #c5cedb;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brl-acc-banner.is-selected,
.brl-acc-banner:has(input:checked) {
  border-color: rgba(43, 132, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(43, 132, 255, 0.25), 0 10px 24px rgba(0, 102, 255, 0.16);
}

.brl-acc-banner.is-selected .brl-acc-banner__label,
.brl-acc-banner:has(input:checked) .brl-acc-banner__label {
  color: #fff;
}

@media (max-width: 760px) {
  .brl-acc-banners {
    grid-template-columns: 1fr;
  }
}

.brl-acc-check a {
  color: var(--brl-acc-blue-bright);
  text-decoration: none;
}

.brl-acc-wrap__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding: 0 0.15rem;
}

.brl-acc-back {
  color: var(--brl-acc-blue-bright);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.brl-acc-back:hover {
  color: #fff;
}

.brl-acc-copy {
  margin: 0;
  color: #6f7c90;
  font-size: 0.78rem;
}

.brl-acc-copy-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  max-width: min(100%, 22rem);
  text-align: right;
}

.brl-acc-copy-third {
  margin: 0;
  color: #5c687a;
  font-size: 0.68rem;
  line-height: 1.4;
}

.brl-acc-account {
  width: min(100% - 2rem, var(--brl-acc-max));
}

.brl-acc-profile {
  width: min(100% - 2rem, 1180px);
  margin: 1.25rem auto 4rem;
}

.brl-acc-kicker {
  margin: 0 0 0.45rem;
  color: var(--brl-acc-red);
  font-family: "Oxanium", "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brl-acc-title {
  margin: 0 0 0.5rem !important;
  color: #fff !important;
  font-family: "Oxanium", "Sora", sans-serif !important;
  font-size: clamp(1.8rem, 4vw, 2.4rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  line-height: 1.1 !important;
}

.brl-acc-lead,
.brl-acc-muted,
.brl-acc-panel__text,
.brl-acc-switch {
  color: var(--brl-acc-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.brl-acc-switch a {
  color: var(--brl-acc-blue-bright);
  text-decoration: none;
  font-weight: 600;
}

.brl-acc-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.brl-acc-form--account {
  gap: 1rem;
}

.brl-acc-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.brl-acc-field span {
  color: #c5cedb;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brl-acc-field input,
.brl-acc-field select,
.brl-acc-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 20, 0.9);
  color: #fff;
  font: inherit;
  box-sizing: border-box;
}

.brl-acc-field textarea {
  min-height: 96px;
  resize: vertical;
}

.brl-acc-field input:focus,
.brl-acc-field select:focus,
.brl-acc-field textarea:focus {
  outline: none;
  border-color: rgba(43, 132, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.18);
}

.brl-acc-field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  filter: invert(1);
}

.brl-acc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.brl-acc-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brl-acc-muted);
  font-size: 0.88rem;
}

.brl-acc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #2b84ff, #0066ff);
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Oxanium", "Sora", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 102, 255, 0.38);
}

.brl-acc-actions .brl-acc-btn {
  width: auto;
}

.brl-acc-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.brl-acc-btn:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.brl-acc-oauth {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.1rem 0 0.15rem;
}

.brl-acc-oauth .brl-acc-btn--google,
.brl-acc-oauth .brl-acc-btn--discord {
  width: 100%;
}

.brl-acc-oauth__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--brl-acc-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brl-acc-oauth__divider::before,
.brl-acc-oauth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.brl-acc-btn--google {
  gap: 0.65rem;
  min-height: 52px;
  background: #fff !important;
  color: #111 !important;
  border: 2px solid #2b84ff !important;
  box-shadow: 0 0 0 1px rgba(43, 132, 255, 0.35), 0 10px 28px rgba(0, 102, 255, 0.28);
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.brl-acc-btn--google:hover {
  filter: none;
  background: #f3f5f8 !important;
  color: #1f1f1f !important;
}

.brl-acc-btn--google__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.brl-acc-btn--discord {
  gap: 0.65rem;
  min-height: 48px;
  width: 100%;
  background: #5865f2 !important;
  color: #fff !important;
  border: 1px solid #4752c4 !important;
  box-shadow: 0 10px 24px rgba(88, 101, 242, 0.28);
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
}

.brl-acc-btn--discord:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.brl-acc-btn--discord__icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
}

.brl-acc-btn--small {
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  width: auto;
  font-size: 0.78rem;
}

.brl-acc-discord {
  margin: 0.85rem 0 0.35rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(88, 101, 242, 0.35);
  background: rgba(88, 101, 242, 0.08);
}

.brl-acc-discord__label {
  margin: 0 0 0.65rem;
  color: #c5cedb;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brl-acc-discord__linked {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brl-acc-discord__name {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-weight: 600;
}

.brl-acc-discord__name svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #9aa3ff;
}

.brl-acc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.brl-acc-notice {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  font-size: 0.88rem;
}

.brl-acc-notice--error {
  background: rgba(255, 45, 63, 0.12);
  border: 1px solid rgba(255, 45, 63, 0.35);
  color: #ffb3bb;
}

.brl-acc-notice--success {
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(43, 132, 255, 0.4);
  color: #cfe2ff;
}

.brl-acc-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem 1.1rem;
  align-items: center;
  margin: 1rem 0 0;
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 14, 22, 0.92);
}

.brl-acc-status__meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 4.5rem;
}

.brl-acc-status__bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.28rem;
  width: 4.5rem;
}

.brl-acc-status__seg {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.brl-acc-status__seg.is-on {
  background: currentColor;
  box-shadow: none;
}

.brl-acc-status__score {
  margin: 0;
  color: #c5cedb;
  font-family: "Oxanium", "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brl-acc-status__body {
  min-width: 0;
}

.brl-acc-status__level {
  margin: 0 0 0.2rem;
  font-family: "Oxanium", "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brl-acc-status__msg {
  margin: 0;
  color: #eef2f8;
  font-size: 0.92rem;
  line-height: 1.45;
}

.brl-acc-status__link {
  display: inline-flex;
  margin-top: 0.45rem;
  color: var(--brl-acc-blue-bright);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.brl-acc-status__link:hover {
  color: #fff;
}

.brl-acc-status__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.45rem;
}

.brl-acc-status__snooze {
  appearance: none;
  border: 0;
  background: transparent;
  color: #9aa6b8;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.brl-acc-status__snooze:hover {
  color: #fff;
}

.brl-acc-status.is-dismissed {
  display: none !important;
}

.brl-acc-status--red {
  color: #ff2d3f;
  border-color: rgba(255, 45, 63, 0.42);
  background:
    linear-gradient(90deg, rgba(255, 45, 63, 0.16), rgba(10, 14, 22, 0.92) 42%);
}

.brl-acc-status--red .brl-acc-status__level {
  color: #ff8a96;
}

.brl-acc-status--yellow {
  color: #f5c542;
  border-color: rgba(245, 197, 66, 0.42);
  background:
    linear-gradient(90deg, rgba(245, 197, 66, 0.14), rgba(10, 14, 22, 0.92) 42%);
}

.brl-acc-status--yellow .brl-acc-status__level {
  color: #ffe08a;
}

.brl-acc-status--green {
  color: #2fd67b;
  border-color: rgba(47, 214, 123, 0.4);
  background:
    linear-gradient(90deg, rgba(47, 214, 123, 0.14), rgba(10, 14, 22, 0.92) 42%);
}

.brl-acc-status--green .brl-acc-status__level {
  color: #9af0c0;
}

.brl-acc-status--site {
  position: sticky;
  top: 0;
  z-index: 80;
  width: min(100% - 1.5rem, 920px);
  margin: 0.85rem auto 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.brl-acc-status--inline {
  margin: 0.85rem 0 1rem;
}

.brl-acc-onboard {
  margin: 1rem 0 0.35rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(43, 132, 255, 0.35);
  background:
    linear-gradient(135deg, rgba(0, 102, 255, 0.14), rgba(10, 14, 22, 0.96) 45%),
    #0a1018;
}

.brl-acc-onboard__head {
  margin-bottom: 0.95rem;
}

.brl-acc-onboard__title {
  margin: 0.15rem 0 0.45rem !important;
  color: #fff !important;
  font-family: "Oxanium", "Sora", sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}

.brl-acc-onboard__text,
.brl-acc-onboard__progress {
  margin: 0;
  color: #9aa6b8;
  font-size: 0.9rem;
  line-height: 1.45;
}

.brl-acc-onboard__progress {
  margin-top: 0.45rem;
  color: #cfe2ff;
  font-family: "Oxanium", "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brl-acc-onboard__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.brl-acc-onboard__step-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 20, 0.72);
  text-decoration: none;
  color: inherit;
}

.brl-acc-onboard__num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #c5cedb;
  font-family: "Oxanium", "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
}

.brl-acc-onboard__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brl-acc-onboard__copy strong {
  color: #fff;
  font-size: 0.92rem;
}

.brl-acc-onboard__copy em {
  color: #9aa6b8;
  font-style: normal;
  font-size: 0.8rem;
}

.brl-acc-onboard__step.is-done .brl-acc-onboard__step-link {
  border-color: rgba(47, 214, 123, 0.35);
  background: rgba(47, 214, 123, 0.08);
}

.brl-acc-onboard__step.is-done .brl-acc-onboard__num {
  background: rgba(47, 214, 123, 0.2);
  color: #9af0c0;
}

.brl-acc-onboard__step.is-current .brl-acc-onboard__step-link {
  border-color: rgba(43, 132, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(43, 132, 255, 0.18);
}

.brl-acc-onboard__step.is-current .brl-acc-onboard__num {
  background: rgba(0, 102, 255, 0.28);
  color: #fff;
}

.brl-acc-team-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.brl-acc-team-cta--compact {
  margin-top: 1rem;
}

.brl-acc-profile__discord {
  margin: 0.45rem 0 0;
  color: #c5cedb;
  font-size: 0.9rem;
}

.brl-acc-profile__discord span {
  margin-right: 0.35rem;
  color: #8b97a8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brl-acc-profile__copy {
  appearance: none;
  border: 1px solid rgba(43, 132, 255, 0.45);
  background: rgba(0, 102, 255, 0.12);
  color: #cfe2ff;
  border-radius: 8px;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.brl-acc-profile__copy:hover,
.brl-acc-profile__copy.is-copied {
  background: rgba(0, 102, 255, 0.22);
  color: #fff;
}

@media (max-width: 640px) {
  .brl-acc-status {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .brl-acc-status__meter {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .brl-acc-status__bar {
    width: min(100%, 9rem);
  }

  .brl-acc-wrap__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .brl-acc-copy-block {
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
  }
}

.brl-acc-card {
  margin-top: 0.25rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid var(--brl-acc-border);
  border-radius: 12px;
  background: var(--brl-acc-card);
}

.brl-acc-card__title {
  margin: 0 0 0.85rem !important;
  color: #fff !important;
  font-family: "Oxanium", "Sora", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}

.brl-acc-media-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brl-acc-account__avatar,
.brl-acc-profile__avatar {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid rgba(255, 255, 255, 0.14);
}

.brl-acc-cover-preview {
  height: 120px;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--brl-acc-border);
  background-size: cover;
  background-position: center;
}

.brl-acc-account__preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.75rem 0 0.25rem;
}

.brl-acc-btn--logout {
  border-color: rgba(225, 29, 46, 0.45) !important;
  color: #ff8f9a !important;
}

.brl-acc-btn--logout:hover {
  border-color: rgba(225, 29, 46, 0.8) !important;
  color: #ffc2c8 !important;
  background: rgba(225, 29, 46, 0.12) !important;
}

.brl-acc-account__logout {
  display: flex;
  justify-content: flex-start;
  margin: 1.5rem 0 0.25rem;
}

.brl-acc-account__footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 1.75rem 0 0.5rem;
}

.brl-acc-delete-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ff6b78;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.brl-acc-delete-link:hover,
.brl-acc-delete-link:focus-visible {
  color: #ff9aa3;
  outline: none;
}

.brl-acc-delete-dialog {
  width: min(100% - 2rem, 34rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.brl-acc-delete-dialog::backdrop {
  background: rgba(4, 8, 16, 0.72);
}

.brl-acc-delete-dialog__panel {
  margin: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(225, 29, 46, 0.35), 0 18px 50px rgba(0, 0, 0, 0.45);
}

.brl-acc-delete-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.brl-acc-delete-dialog__head .brl-acc-card__title {
  margin: 0;
}

.brl-acc-delete-dialog__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #ff8f9a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.25rem;
}

.brl-acc-delete-dialog__close:hover,
.brl-acc-delete-dialog__close:focus-visible {
  color: #fff;
  outline: none;
}

.brl-acc-delete-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.brl-acc-card--danger {
  border-color: rgba(225, 29, 46, 0.4);
  background: rgba(225, 29, 46, 0.08);
}

.brl-acc-card--danger .brl-acc-card__title {
  color: #ff8f9a;
}

.brl-acc-form--delete {
  margin-top: 0.85rem;
}

.brl-acc-btn--danger {
  background: #c62828;
  border-color: #c62828;
  color: #fff;
}

.brl-acc-btn--danger:hover {
  background: #a61f1f;
  border-color: #a61f1f;
  color: #fff;
}

.brl-acc-card--danger code {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.92em;
}

/* Public profile — dashboard */
.brl-acc-profile__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.brl-acc-profile__crumbs {
  margin: 0;
  color: var(--brl-acc-muted);
  font-size: 0.85rem;
}

.brl-acc-profile__crumbs a {
  color: #9ec1ff;
  text-decoration: none;
}

.brl-acc-profile__owner-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.brl-acc-profile__logout {
  color: #ff8f9a;
  text-decoration: none;
  font-family: "Oxanium", "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brl-acc-profile__logout:hover {
  color: #ffc2c8;
}

.brl-acc-profile__copy,
.brl-acc-profile__back {
  appearance: none;
  border: 1px solid rgba(43, 132, 255, 0.45);
  background: rgba(0, 102, 255, 0.12);
  color: #cfe2ff;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-family: "Oxanium", "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.brl-acc-profile__copy:hover,
.brl-acc-profile__back:hover {
  border-color: rgba(43, 132, 255, 0.8);
  background: rgba(0, 102, 255, 0.2);
}

.brl-acc-profile__hero--dash {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
  gap: 1.25rem 1.5rem;
  align-items: end;
  min-height: clamp(280px, 30vw, 380px);
  padding: 1.6rem 1.5rem 1.45rem;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(0, 180, 255, 0.28);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(5, 8, 14, 0.88) 0%, rgba(5, 8, 14, 0.55) 48%, rgba(5, 8, 14, 0.35) 100%),
    radial-gradient(ellipse 40% 70% at 80% 40%, rgba(0, 180, 255, 0.2), transparent 65%),
    #070b12;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.brl-acc-profile__hero-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.brl-acc-profile__hero--dash .brl-acc-profile__avatar {
  width: 188px !important;
  height: 188px !important;
  border: 3px solid rgba(0, 200, 255, 0.75) !important;
  box-shadow: 0 0 0 4px rgba(0, 140, 255, 0.18), 0 16px 36px rgba(0, 0, 0, 0.45);
}

.brl-acc-profile__intro {
  min-width: 0;
}

.brl-acc-profile__hero--dash .brl-acc-profile__title {
  margin: 0 0 0.25rem !important;
  color: #fff !important;
  font-family: "Oxanium", "Sora", sans-serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  text-align: left !important;
  line-height: 1.05 !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.brl-acc-profile__tag {
  margin: 0 0 0.75rem;
  color: #9aa8bc;
  font-size: 1rem;
  font-weight: 600;
}

.brl-acc-profile__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.brl-acc-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brl-acc-badge--role {
  color: #7ad7ff;
  border: 1px solid rgba(0, 200, 255, 0.45);
  background: rgba(0, 160, 255, 0.12);
}

.brl-acc-badge--region {
  color: #ff8e9a;
  border: 1px solid rgba(255, 60, 80, 0.45);
  background: rgba(255, 45, 70, 0.12);
}

.brl-acc-profile__hero-rank {
  justify-self: end;
  width: min(100%, 400px);
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 200, 255, 0.4);
  background: rgba(6, 12, 20, 0.82);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.brl-acc-profile__hero-rank-label {
  margin: 0 0 0.7rem;
  color: #8ea0b8;
  font-family: "Oxanium", "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brl-acc-profile__rank-embed .brl-rr-solo {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 1.15rem;
}

.brl-acc-profile__rank-embed .brl-rr-solo__queue,
.brl-acc-profile__rank-embed .brl-rr-solo__region {
  display: none;
}

.brl-acc-profile__rank-embed .brl-rr-solo__emblem {
  width: 104px;
  height: 104px;
}

.brl-acc-profile__rank-embed .brl-rr-emblem__img {
  width: 96px !important;
  height: 96px !important;
}

.brl-acc-profile__rank-embed .brl-rr-solo__rank {
  color: #5fd6ff;
  font-size: clamp(1.55rem, 2.6vw, 1.95rem);
  line-height: 1.1;
}

.brl-acc-profile__rank-embed .brl-rr-solo__meta {
  font-size: 0.98rem;
  gap: 0.55rem;
}

.brl-acc-rank-mini {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.brl-acc-rank-mini strong {
  color: #5fd6ff;
  font-family: "Oxanium", "Sora", sans-serif;
  font-size: 1.7rem;
}

.brl-acc-dash {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 0.95rem;
}

.brl-acc-dash__card {
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid rgba(0, 180, 255, 0.22);
  border-radius: 14px;
  background: rgba(8, 12, 20, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.brl-acc-dash__card--matches {
  min-height: 140px;
}

.brl-acc-dash__title {
  margin: 0 0 0.85rem !important;
  color: #fff !important;
  font-family: "Oxanium", "Sora", sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}

.brl-acc-teams,
.brl-acc-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.brl-acc-teams a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
  text-decoration: none;
}

.brl-acc-teams a:hover {
  border-color: rgba(0, 180, 255, 0.45);
}

.brl-acc-teams__logo {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 180, 255, 0.28);
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.brl-acc-teams__logo--empty {
  display: inline-grid;
  place-items: center;
  color: #7ad7ff;
  font-family: "Oxanium", "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brl-acc-teams__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.brl-acc-teams__meta strong {
  color: #fff;
  font-size: 1rem;
}

.brl-acc-teams__meta span,
.brl-acc-contact span {
  color: var(--brl-acc-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brl-acc-contact li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.15rem;
}

.brl-acc-contact strong {
  color: #fff;
  font-size: 1rem;
}

.brl-acc-dash__soon {
  padding: 1.1rem 0.2rem 0.4rem;
  color: var(--brl-acc-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.brl-acc-card--bio {
  margin-top: 0.95rem;
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid rgba(0, 180, 255, 0.22);
  border-radius: 14px;
  background: rgba(8, 12, 20, 0.92);
}

.brl-acc-card__title {
  margin: 0 0 0.75rem !important;
  color: #fff !important;
  font-family: "Oxanium", "Sora", sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}

@media (max-width: 980px) {
  .brl-acc-dash {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brl-acc-dash__card--matches {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .brl-acc-profile__hero--dash {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
  }
  .brl-acc-profile__hero-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .brl-acc-profile__hero-rank {
    justify-self: stretch;
    width: 100%;
  }
  .brl-acc-dash {
    grid-template-columns: 1fr;
  }
  .brl-acc-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .brl-acc-shell__visual {
    min-height: 240px;
  }
  .brl-acc-shell__panel {
    padding: 1.4rem 1.15rem 1.5rem;
  }
}

/* Force Discord OAuth button visible (parity with Google). */
.brl-acc-oauth .brl-acc-btn--discord,
a.brl-acc-btn.brl-acc-btn--discord {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 6 !important;
  width: 100% !important;
  min-height: 48px !important;
  justify-content: center !important;
  align-items: center !important;
  pointer-events: auto !important;
}


.brl-acc-legal-note {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.85rem;
  opacity: 0.85;
}
.brl-acc-legal-note a { text-decoration: underline; }
.brl-acc-wrap__foot .brl-acc-legal-links ul {
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: center;
}
.brl-acc-wrap__foot .brl-acc-legal-links a {
  font-size: 0.8rem;
  text-decoration: underline;
  opacity: 0.9;
}
.brl-acc-privacy-toggles {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
.brl-acc-privacy-toggles .brl-acc-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}


/* Age gate */
.brl-acc-age,
.brl-acc-age-gate {
  display: grid;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}
.brl-acc-age__policy,
.brl-acc-age__minor-title {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}
.brl-acc-age__info {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #b8c4d4;
}
.brl-acc-age__info a {
  color: var(--brl-acc-blue-bright);
  font-weight: 600;
  text-decoration: none;
}
.brl-acc-age__info a:hover,
.brl-acc-age__info a:focus-visible {
  text-decoration: underline;
}
.brl-acc-age__minor {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(154, 166, 184, 0.28);
  border-radius: 10px;
  background: rgba(15, 22, 36, 0.55);
}
.brl-acc-age__minor[hidden] {
  display: none !important;
}
.brl-acc-notice--info {
  border-color: rgba(61, 155, 255, 0.45);
  background: rgba(61, 155, 255, 0.12);
}
.brl-acc-age-complete {
  margin-bottom: 1rem;
}
