@font-face {
  font-family: "Old London";
  src: url("OldLondon.ttf") format("truetype");
  font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Nur der große Vereinsname auf der Startseite bleibt in Old London. */
h1.club-name {
  font-family: "Old London", Georgia, serif !important;
  font-weight: 400 !important;
}

:root {
  --auth-dark: #050b14;
  --auth-blue: #1763c5;
  --auth-blue-light: #eaf3ff;
  --auth-line: #d8e2ee;
  --auth-text: #142033;
  --auth-muted: #667489;
}

html.or-auth-checking body { visibility: hidden; }

.nav a.or-auth-nav-link {
  padding: 9px 16px !important;
  border: 1px solid rgba(114, 173, 255, .72) !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: rgba(23, 99, 197, .38) !important;
  box-shadow: none;
  white-space: nowrap;
}
.nav a.or-auth-nav-link::after { display: none !important; }
.nav a.or-auth-nav-link:hover,
.nav a.or-auth-nav-link:focus-visible {
  border-color: #8fc1ff !important;
  background: #1763c5 !important;
  box-shadow: 0 0 18px rgba(23, 99, 197, .48);
}

.or-account-widget {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 18px;
  background: rgba(5, 11, 20, .94);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .24);
  backdrop-filter: blur(14px);
}

.or-account-widget a {
  min-width: 150px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 9px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.or-account-widget a > span {
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--auth-blue);
  font-weight: 850;
}

.or-account-widget b { font-size: 13px; line-height: 1.15; }
.or-account-widget small { color: rgba(255, 255, 255, .6); font-size: 10px; line-height: 1.2; }
.or-account-widget button {
  padding: 0 13px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .74);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.or-account-widget button:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.auth-page {
  min-height: 100vh;
  margin: 0;
  color: var(--auth-text);
  background:
    radial-gradient(circle at 15% 15%, rgba(23, 99, 197, .32), transparent 30%),
    radial-gradient(circle at 88% 85%, rgba(34, 118, 216, .23), transparent 27%),
    linear-gradient(135deg, #050b14, #0b203a);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.auth-shell {
  width: min(calc(100% - 40px), 1080px);
  min-height: 100vh;
  margin: auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 72px;
}

.auth-intro { color: #fff; }
.auth-intro img { width: 112px; height: 112px; object-fit: contain; }
.auth-intro small { display: block; margin-top: 28px; color: #83b9ff; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.auth-intro h1 { margin: 14px 0 22px; font-size: clamp(48px, 7vw, 78px); line-height: .95; letter-spacing: -.055em; }
.auth-intro p { max-width: 510px; margin: 0; color: rgba(255, 255, 255, .68); font-size: 18px; line-height: 1.75; }
.auth-public-link {
  min-height: 48px;
  width: max-content;
  margin-top: 24px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  font-weight: 800;
  text-decoration: none;
}
.auth-public-link:hover { border-color: #83b9ff; background: rgba(23, 99, 197, .42); }

.auth-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.auth-tabs { padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; background: #eef4fb; }
.auth-tabs button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  color: var(--auth-muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.auth-tabs button[aria-selected="true"] { color: #fff; background: var(--auth-blue); box-shadow: 0 8px 22px rgba(23, 99, 197, .24); }
.auth-form, .auth-current { padding: 38px; }
.auth-form[hidden], .auth-current[hidden], .auth-tabs[hidden] { display: none; }
.auth-form h2, .auth-current h2 { margin: 0; font-size: 32px; line-height: 1.08; letter-spacing: -.035em; }
.auth-form > p, .auth-current > p { margin: 12px 0 27px; color: var(--auth-muted); }
.auth-fields { display: grid; gap: 16px; }
.auth-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-field { display: grid; gap: 7px; }
.auth-field span { font-size: 13px; font-weight: 780; }
.auth-field input {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--auth-line);
  border-radius: 13px;
  background: #f9fbfd;
  color: var(--auth-text);
  font: inherit;
}
.auth-field input:focus { border-color: var(--auth-blue); outline: 3px solid rgba(23, 99, 197, .12); }
.auth-submit, .auth-primary-link {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--auth-blue);
  font: inherit;
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
}
.auth-submit:hover, .auth-primary-link:hover { background: #0f51a5; }
.auth-message { min-height: 23px; margin: 14px 0 0; color: #a52222; font-size: 14px; }
.auth-message[data-state="success"] { color: #167044; }
.auth-notice { margin: 0 38px 34px; padding: 14px 16px; border-radius: 14px; color: #5e4b17; background: #fff4c7; font-size: 13px; line-height: 1.55; }
.auth-notice[hidden] { display: none; }
.auth-current-card { margin: 26px 0; padding: 22px; border: 1px solid var(--auth-line); border-radius: 20px; background: #f7faff; }
.auth-current-card strong { display: block; font-size: 21px; }
.auth-current-card span { display: block; margin-top: 3px; color: var(--auth-muted); }
.auth-role { width: max-content; margin-top: 14px !important; padding: 5px 10px; border-radius: 999px; color: var(--auth-blue) !important; background: var(--auth-blue-light); font-size: 12px; font-weight: 850; }
.auth-current-actions { display: grid; gap: 10px; }
.auth-current-actions .auth-primary-link { margin: 0; }
.auth-secondary {
  min-height: 48px;
  border: 1px solid var(--auth-line);
  border-radius: 999px;
  color: var(--auth-text);
  background: #fff;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
}
.auth-security { margin: 0; padding: 17px 38px 25px; color: var(--auth-muted); background: #f7f9fc; font-size: 12px; line-height: 1.55; }

.site-account-management { margin-top: 105px; scroll-margin-top: 28px; }
.site-account-heading { margin-bottom: 34px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 55px; align-items: end; }
.site-account-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1; letter-spacing: -.045em; }
.site-account-heading > p { margin: 0; color: #69768a; }
.site-account-toolbar { margin-bottom: 18px; padding: 18px 20px; display: flex; justify-content: space-between; gap: 20px; align-items: center; border: 1px solid #d8e2ee; border-radius: 18px; background: #fff; }
.site-account-toolbar strong { font-size: 18px; }
.site-account-toolbar span { color: #69768a; font-size: 13px; }
.site-account-list { display: grid; gap: 14px; }
.site-account-card { border: 1px solid #d8e2ee; border-radius: 22px; background: #fff; box-shadow: 0 12px 35px rgba(11, 39, 72, .055); }
.site-account-card summary { padding: 20px 22px; display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; cursor: pointer; list-style: none; }
.site-account-card summary::-webkit-details-marker { display: none; }
.site-account-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(135deg, #1763c5, #0a3265); font-weight: 900; }
.site-account-title strong { display: block; }
.site-account-title span { color: #69768a; font-size: 13px; }
.site-account-badge { padding: 6px 10px; border-radius: 999px; color: #1763c5; background: #eaf3ff; font-size: 11px; font-weight: 850; white-space: nowrap; }
.site-account-card[data-active="false"] { opacity: .65; }
.site-account-editor { padding: 4px 22px 22px 82px; }
.site-account-form { padding-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; border-top: 1px solid #e3eaf2; }
.site-account-form label { display: grid; gap: 6px; color: #39495e; font-size: 12px; font-weight: 760; }
.site-account-form input, .site-account-form select { min-width: 0; height: 46px; padding: 0 12px; border: 1px solid #d8e2ee; border-radius: 11px; background: #f9fbfd; font: inherit; }
.site-account-checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.site-account-permission-fieldset { grid-column: 1 / -1; }
.site-account-checks label { padding: 10px 13px; display: flex; flex-direction: row; align-items: center; border: 1px solid #d8e2ee; border-radius: 12px; background: #f9fbfd; }
.site-account-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.site-account-actions button { min-height: 43px; padding: 0 17px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.site-account-save { color: #fff; background: #1763c5; }
.site-account-delete { color: #a52222; background: #fff0f0; }
.site-account-member-button { color: #fff; background: #1763c5; }
.site-account-status { grid-column: 1 / -1; min-height: 20px; margin: 0; color: #167044; font-size: 13px; }
.site-account-status[data-state="error"] { color: #a52222; }
.site-account-protected { padding: 16px; border-radius: 14px; color: #5a6678; background: #f1f5f9; font-size: 13px; }

@media (max-width: 820px) {
  .auth-shell { grid-template-columns: 1fr; gap: 36px; padding: 34px 0; }
  .auth-intro { text-align: center; }
  .auth-intro p { margin-inline: auto; }
  .auth-intro img { width: 90px; height: 90px; }
  .site-account-heading { grid-template-columns: 1fr; gap: 18px; }
  .site-account-editor { padding-left: 22px; }
}

@media (max-width: 560px) {
  .auth-shell { width: min(calc(100% - 24px), 1080px); }
  .auth-form, .auth-current { padding: 28px 22px; }
  .auth-two, .site-account-form { grid-template-columns: 1fr; }
  .auth-notice { margin-inline: 22px; }
  .auth-security { padding-inline: 22px; }
  .or-account-widget { right: 10px; bottom: 10px; }
  .or-account-widget a { min-width: 0; }
  .or-account-widget a small { display: none; }
  .site-account-card summary { grid-template-columns: 42px 1fr; }
  .site-account-badge { grid-column: 2; width: max-content; }
}
