/* v92 – einheitliches modernes Seitendesign für alle Portalbereiche */
.view:not(#overview){padding-bottom:24px}
.view > .panel,
.view > .form-panel,
.view > .settings-list,
.view > .member-portal-panel{
  border:1px solid rgba(255,255,255,.62);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(255,255,255,.965),rgba(250,245,245,.94));
  box-shadow:0 22px 54px rgba(0,0,0,.20);
  backdrop-filter:blur(14px);
  margin-bottom:18px;
}
.view > .panel .panel-head{padding-bottom:15px;margin-bottom:16px;border-bottom:1px solid rgba(37,42,49,.08)}
.view > .panel .panel-head .eyebrow,
.view > .form-panel .eyebrow{color:#8b929b;font-size:9px;font-weight:900;letter-spacing:1.7px}
.view > .panel .panel-head h2,
.view > .form-panel h2{color:#1b2027;letter-spacing:-.035em}

/* Einheitliche Formularfelder */
.view input:not([type="checkbox"]):not([type="radio"]),
.view select:not(.ranking-cell),
.view textarea{
  border:1px solid #ded9d5!important;
  border-radius:13px!important;
  background:#fff!important;
  min-height:44px;
  box-shadow:0 2px 7px rgba(24,29,35,.025);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.view textarea{min-height:92px;padding:13px 14px!important}
.view input:not([type="checkbox"]):not([type="radio"]):focus,
.view select:not(.ranking-cell):focus,.view textarea:focus{
  outline:none!important;border-color:#c20d2a!important;
  box-shadow:0 0 0 4px rgba(194,13,42,.09),0 7px 18px rgba(24,29,35,.06)!important;
}
.view label{color:#5f6670;font-weight:800}

/* Einheitliche Aktionsbuttons */
.view .red-btn,.view button.primary,.view .primary-btn{
  border-radius:14px!important;
  box-shadow:0 9px 22px rgba(190,13,41,.20);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.view .red-btn:hover,.view button.primary:hover,.view .primary-btn:hover{
  transform:translateY(-1px);box-shadow:0 13px 27px rgba(190,13,41,.27);filter:brightness(1.03)
}
.view .outline-btn{border-radius:13px!important}

/* Spielverwaltung: alle Bereiche gleich breit und gleich gestaltet */
#games > .panel{width:100%;box-sizing:border-box}
#games .panel.admin-only,#games > .panel{padding:24px 26px}
#games .form-grid{gap:16px 18px}
#games #gameForm{width:100%}
#games #addGame{display:none!important}

/* Tabellen, Listen und leere Zustände vereinheitlichen */
.view table{border-collapse:separate;border-spacing:0;width:100%}
.view thead th{color:#737a84;font-size:9px;letter-spacing:.09em;text-transform:uppercase}
.view tbody tr{background:rgba(255,255,255,.58)}
.view .dashboard-empty,.view .empty-state{color:#747b84}

/* Stat-Karten im gleichen visuellen System */
.view .stat-card{border-radius:22px;box-shadow:0 16px 38px rgba(0,0,0,.15);border:1px solid rgba(255,255,255,.55)}
.view .stat-card:not(.accent){background:linear-gradient(145deg,#fff,#f4efed)}
.view .stat-card.accent{background:linear-gradient(135deg,#d41231,#bd0d29 60%,#a70a23)}

@media(max-width:760px){
  .view > .panel,.view > .form-panel,.view > .settings-list,.view > .member-portal-panel{border-radius:19px}
  #games .panel.admin-only,#games > .panel{padding:18px 16px}
  .view > .section-head{margin-bottom:16px}
}

/* v93 – Mitgliederstatus */
.member-summary.member-summary-three{grid-template-columns:repeat(3,minmax(190px,1fr));max-width:940px}
.member-status-group{margin:0 0 18px;padding:18px;border:1px solid rgba(23,28,34,.09);border-radius:22px;background:rgba(255,255,255,.48)}
.member-status-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding:0 2px}.member-status-head h3{margin:0;font-size:18px;letter-spacing:-.02em}.member-status-head span{min-width:34px;height:34px;display:grid;place-items:center;border-radius:999px;background:#c8102e;color:#fff;font-weight:800}.member-status-empty{padding:26px;text-align:center;color:#858b94;border:1px dashed rgba(23,28,34,.12);border-radius:16px;background:rgba(255,255,255,.35)}
@media(max-width:820px){.member-summary.member-summary-three{grid-template-columns:1fr}.member-status-group{padding:12px}}


/* v94 – Profil im einheitlichen Portaldesign */
#profile .profile-panel{max-width:none;width:100%;padding:28px 30px;display:block}
#profile .profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 22px}
#profile .profile-grid label{font-size:11px;font-weight:800;color:#5f6670;display:grid;gap:7px}
#profile .profile-span{grid-column:1/-1}
#profile .profile-grid .form-hint{margin:-7px 0 2px;color:#777f89}
#profile #ownFoundingMember[readonly]{background:#f4f1ef!important;color:#6d737c}
#profile .profile-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid rgba(37,42,49,.09);margin-top:24px;padding-top:20px}
#profile .profile-actions .red-btn,#profile .profile-actions .outline-btn{min-width:220px}
@media(max-width:760px){#profile .profile-panel{padding:21px 18px}#profile .profile-grid{grid-template-columns:1fr;gap:15px}#profile .profile-span{grid-column:auto}#profile .profile-actions{flex-direction:column-reverse}#profile .profile-actions .red-btn,#profile .profile-actions .outline-btn{width:100%;min-width:0}}

/* Version 96 – Passwort-Reset */
.reset-password-modal{width:min(560px,100%);padding:28px}.reset-password-copy{margin:0 0 20px;color:var(--muted);line-height:1.55}.reset-password-form{display:grid;gap:16px}.reset-password-form label{display:grid;gap:8px;font-size:12px;font-weight:900;color:#555d67}.reset-password-form input{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:14px;padding:14px 16px;font:inherit;background:#fff;outline:none}.reset-password-form input:focus{border-color:var(--red);box-shadow:0 0 0 4px rgba(196,14,43,.10)}.reset-password-hint{padding:12px 14px;border-radius:12px;background:#f5f1ef;color:var(--muted);font-size:11px;line-height:1.5}.reset-admin-fallback{margin-top:18px;padding:14px 16px;border-radius:12px;background:#fff0f2;color:var(--red);font-size:11px;line-height:1.5;border:1px solid rgba(196,14,43,.15)}

/* v97: Passwort-Reset muss auf der Anmeldeseite über dem Auth-Screen erscheinen. */
#forgotPasswordModal{z-index:140}
#forgotPasswordModal.open{display:flex}
#forgotPasswordModal .reset-password-modal{position:relative;z-index:141}


