@font-face {
  font-family: "Libron";
  src: url("/fonts/Libron-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libron";
  src: url("/fonts/Libron-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #151515;
  --panel: #232323;
  --panel-2: #2d2d2d;
  --text: #ffffff;
  --muted: #b9b9b9;
  --eo-green: #99cc00;
  --danger: #ff6b6b;
  --border: #3a3a3a;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Libron", Arial, sans-serif;
}

body {
  min-height: 100vh;
}

a {
  color: var(--eo-green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.auth-page {
  min-height: 100vh;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.auth-logo {
  display: block;
  width: min(310px, 82%);
  margin: 0 auto 28px;
}

.auth-title {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.05;
}

.auth-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
}

.form-control {
  width: 100%;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.form-control:focus {
  border-color: var(--eo-green);
  box-shadow: 0 0 0 2px rgba(153, 204, 0, .16);
}

.radio-group {
  display: grid;
  gap: 10px;
  margin: 8px 0 20px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel-2);
}

.btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--eo-green);
  color: #111;
}

.auth-links {
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}

.small {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 520px) {
  .auth-page {
    padding: 18px 14px;
    align-items: flex-start;
  }

  .auth-card {
    margin-top: 18px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .auth-title {
    font-size: 27px;
  }
}

/* Dashboard */

.dashboard {
  min-height: 100vh;
  max-width: 900px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) minmax(170px, 1fr) minmax(170px, 1fr) auto;
  gap: 14px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 4px 2px 6px;
}

.dashboard-user {
  font-size: 22px;
  font-weight: 700;
  color: var(--eo-green);
}

.dashboard-date {
  font-size: 16px;
  color: var(--muted);
  text-align: right;
}

.dash-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  overflow: hidden;
}

.section-label {
  color: var(--eo-green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.news-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-headline {
  font-size: clamp(30px, 7vw, 56px);
  line-height: 1.05;
  font-weight: 700;
}

.section-hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.today-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.today-column + .today-column {
  border-left: 1px solid var(--border);
  padding-left: 18px;
}

.today-value {
  font-size: clamp(22px, 5vw, 34px);
  line-height: 1.15;
}

.community-section {
  display: flex;
  flex-direction: column;
}

.community-preview {
  flex: 1;
}

.community-empty {
  color: var(--muted);
  font-size: 18px;
}

.dashboard-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px 8px;
}

.footer-link {
  color: var(--eo-green);
  font-weight: 700;
}

@media (max-width: 600px) {
  .dashboard {
    padding: 12px;
    gap: 10px;
  }

  .dashboard-header {
    padding: 3px 2px;
  }

  .dashboard-user {
    font-size: 19px;
  }

  .dashboard-date {
    font-size: 14px;
  }

  .dash-section {
    padding: 16px;
    border-radius: 16px;
  }

  .today-section {
    gap: 12px;
  }

  .today-column + .today-column {
    padding-left: 12px;
  }
}

/* Admin */

.admin-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.admin-header h1 {
  margin: 0;
  font-size: 32px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.admin-user-main {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}

.admin-username {
  font-size: 21px;
  font-weight: 700;
}

.admin-realname {
  margin-top: 4px;
  color: var(--text);
}

.admin-email {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.admin-meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.admin-status {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pending {
  background: #5a4d19;
  color: #ffe37a;
}

.status-active {
  background: #203c20;
  color: #a8e6a8;
}

.status-blocked {
  background: #4b2020;
  color: #ffaaaa;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.admin-actions form {
  margin: 0;
}

.btn-small {
  width: auto;
  padding: 9px 13px;
  font-size: 14px;
}

.btn-secondary {
  background: #555;
  color: #fff;
}

.btn-danger {
  background: #8f2f2f;
  color: #fff;
}

@media (max-width: 600px) {
  .admin-page {
    padding: 14px;
  }

  .admin-header h1 {
    font-size: 26px;
  }

  .admin-user-main {
    flex-direction: column;
  }
}

/* News interaction */

.news-section {
  cursor: pointer;
}

.news-section:focus-visible {
  outline: 2px solid var(--eo-green);
  outline-offset: 2px;
}

.news-modal[hidden] {
  display: none;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(8px);
}

.news-modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: 85vh;
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.news-modal-card h2 {
  margin: 0 36px 8px 0;
  font-size: clamp(26px, 6vw, 38px);
  line-height: 1.05;
}

.news-modal-card p {
  white-space: pre-line;
  font-size: 18px;
  line-height: 1.45;
}

.news-modal-date {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.news-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.news-link-button {
  display: block;
  margin-top: 20px;
  text-align: center;
  text-decoration: none;
}

.news-link-button[hidden] {
  display: none;
}

.news-close-button {
  margin-top: 10px;
}

.news-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.news-topline .section-label {
  margin-bottom: 0;
}

.news-category {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: right;
}

/* News Feinschliff */

.news-label {
  font-size: 18px;
}

.news-category {
  color: #fff;
  font-size: 16px;
}

.news-date-top {
  flex: 1;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.news-section .section-hint {
  margin-top: 14px;
  color: var(--eo-green);
  font-size: 14px;
  text-align: center;
}

/* Weitere Dashboard-Feinarbeit */

.news-label {
  font-size: 22px;
}

.news-date-top {
  color: #fff;
}

.news-category {
  color: var(--eo-green);
}

.news-section {
  position: relative;
  padding-bottom: 48px;
}

.news-section .section-hint {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  margin: 0;
  color: var(--eo-green);
  font-size: 14px;
  text-align: center;
}

.framework-column {
  position: relative;
  padding-bottom: 48px;
}

.framework-headline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.framework-label {
  margin-bottom: 0;
  font-size: 18px;
}

.framework-day {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .05em;
}

.framework-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: var(--eo-green);
  font-size: 14px;
  text-align: center;
}

/* News obere Zeile fest positionieren */

.news-section {
  justify-content: center;
  padding-top: 58px;
  padding-bottom: 48px;
}

.news-topline {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 0;
}

.news-label {
  margin: 0;
  font-size: calc(clamp(30px, 7vw, 56px) + 2px);
  line-height: 1;
}

.news-date-top {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  justify-self: center;
  white-space: nowrap;
}

.news-category {
  color: var(--eo-green);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  justify-self: end;
}

/* Framework klickbar */

.framework-column {
  cursor: pointer;
}

.framework-column:focus-visible {
  outline: 2px solid var(--eo-green);
  outline-offset: 4px;
}

/* Framework Modal */

.framework-modal[hidden] {
  display: none;
}

.framework-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(8px);
}

.framework-modal-card {
  position: relative;
  width: min(650px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.framework-week-list {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.framework-week-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.framework-week-row:last-child {
  border-bottom: 0;
}

.framework-week-day {
  color: var(--eo-green);
  font-size: 17px;
  font-weight: 700;
}

.framework-week-focus {
  color: #fff;
  font-size: 19px;
  line-height: 1.3;
}

.framework-week-empty {
  padding: 20px 0;
  color: var(--muted);
}

.framework-close-bottom {
  margin-top: 20px;
}

@media (max-width: 600px) {
  .news-topline {
    left: 16px;
    right: 16px;
  }

  .news-label {
    font-size: 32px;
  }

  .news-date-top,
  .news-category {
    font-size: 14px;
  }

  .framework-week-row {
    grid-template-columns: 80px 1fr;
    gap: 12px;
  }

  .framework-week-focus {
    font-size: 17px;
  }
}

/* ------------------------------------------------
   Smartphone: komplettes Dashboard ohne Scrollen
   ------------------------------------------------ */

html,
body {
  height: 100%;
  overflow: hidden;
}

.dashboard {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  padding: clamp(7px, 1.3vh, 14px);
  gap: clamp(5px, 1vh, 10px);

  grid-template-rows:
    auto
    minmax(0, 1.05fr)
    minmax(0, 1fr)
    minmax(0, .82fr)
    auto;

  overflow: hidden;
}

.dash-section {
  min-height: 0;
  padding: clamp(11px, 1.8vh, 18px);
  border-radius: clamp(12px, 2vh, 18px);
}

/* NEWS */

.news-section {
  min-height: 0;
  padding-top: clamp(44px, 7vh, 60px);
  padding-bottom: clamp(35px, 5.5vh, 48px);
}

.news-topline {
  top: clamp(10px, 1.7vh, 16px);
  left: clamp(12px, 2vh, 20px);
  right: clamp(12px, 2vh, 20px);
}

.news-headline {
  font-size: clamp(22px, 5.2vw, 42px);
  line-height: 1.02;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* NEWS immer 2 px größer als die Überschrift */
.news-label {
  font-size: clamp(24px, calc(5.2vw + 2px), 44px);
}

.news-date-top,
.news-category {
  font-size: clamp(11px, 3vw, 15px);
}

.news-section .section-hint {
  bottom: clamp(9px, 1.6vh, 15px);
  font-size: clamp(12px, 3vw, 14px);
}


/* FRAMEWORK / SPEZIALSTUNDEN */

.today-section {
  min-height: 0;
  padding-top: clamp(10px, 1.7vh, 16px);
  padding-bottom: clamp(10px, 1.7vh, 16px);
}

.today-column {
  min-height: 0;
  overflow: hidden;
}

.framework-column {
  padding-bottom: clamp(28px, 4.7vh, 42px);
}

.framework-label,
.framework-day {
  font-size: clamp(14px, 3.5vw, 18px);
}

.today-value {
  font-size: clamp(17px, 4vw, 28px);
  line-height: 1.08;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.framework-hint {
  bottom: 0;
  font-size: clamp(11px, 2.8vw, 14px);
}


/* COMMUNITY */

.community-section {
  min-height: 0;
  padding-top: clamp(10px, 1.6vh, 16px);
  padding-bottom: clamp(10px, 1.6vh, 16px);
}

.community-section .section-label {
  margin-bottom: clamp(5px, 1vh, 10px);
}

.community-empty {
  font-size: clamp(14px, 3.5vw, 18px);
}

.community-section .section-hint {
  margin-top: auto;
}


/* HEADER + FOOTER */

.dashboard-header {
  min-height: 0;
  padding: 0 2px;
}

.dashboard-user {
  font-size: clamp(16px, 4.3vw, 21px);
}

.dashboard-date {
  font-size: clamp(11px, 3.2vw, 15px);
}

.dashboard-footer {
  flex-shrink: 0;
  padding: 2px;
  font-size: clamp(13px, 3.3vw, 16px);
}


/* Besonders niedrige Displays, z.B. ältere / kleine iPhones */

@media (max-height: 700px) {

  .dashboard {
    padding: 6px 8px;
    gap: 5px;
  }

  .dash-section {
    padding: 10px 12px;
  }

  .news-section {
    padding-top: 39px;
    padding-bottom: 31px;
  }

  .news-topline {
    top: 9px;
    left: 12px;
    right: 12px;
  }

  .news-headline {
    font-size: clamp(20px, 4.8vw, 30px);
  }

  .news-label {
    font-size: clamp(22px, calc(4.8vw + 2px), 32px);
  }

  .today-value {
    font-size: clamp(15px, 3.8vw, 22px);
  }

  .framework-headline {
    margin-bottom: 7px;
  }

  .section-label {
    margin-bottom: 7px;
  }
}

/* =========================================================
   iPhone / PWA Feinschliff
   ========================================================= */

/* Safe Areas für iPhone Homescreen-App berücksichtigen */
body {
  padding: 0;
}

.dashboard {
  box-sizing: border-box;

  height: 100dvh;
  min-height: 100dvh;

  padding-top: calc(env(safe-area-inset-top, 0px) + 8px);
  padding-right: 10px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 6px);
  padding-left: 10px;

  grid-template-rows:
    auto
    minmax(0, 1.05fr)
    minmax(0, .95fr)
    minmax(0, .78fr)
    auto;

  gap: 8px;
}

/* Kopfbereich wieder sicher sichtbar */
.dashboard-header {
  min-height: 30px;
  padding: 0 4px 2px;
}

.dashboard-user {
  font-size: 18px;
}

.dashboard-date {
  font-size: 13px;
}


/* =========================================================
   NEWS
   ========================================================= */

.news-section {
  position: relative;
  justify-content: center;

  padding-top: 68px;
  padding-bottom: 42px;
}

/* obere Zeile bewusst etwas tiefer im Feld */
.news-topline {
  top: 20px;
  left: 18px;
  right: 18px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;

  gap: 8px;
}

/* Überschrift wieder deutlich größer */
.news-headline {
  font-size: clamp(30px, 7.3vw, 40px);
  line-height: 1.04;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* NEWS immer ca. 2 px größer als die Überschrift */
.news-label {
  font-size: clamp(32px, calc(7.3vw + 2px), 42px);
  line-height: 1;
  margin: 0;
}

/* Datum wirklich geometrisch mittig */
.news-date-top {
  justify-self: center;
  align-self: start;

  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

/* Kategorie rechts */
.news-category {
  justify-self: end;
  align-self: start;

  max-width: 120px;

  color: var(--eo-green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.08;
  text-align: right;
}

/* Hinweis immer fest am unteren Kartenrand */
.news-section .section-hint {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;

  margin: 0;

  color: var(--eo-green);
  font-size: 14px;
  text-align: center;
}


/* =========================================================
   FRAMEWORK + SPEZIALSTUNDEN
   ========================================================= */

.today-section {
  padding: 14px 16px;
}

.framework-headline {
  margin-bottom: 12px;
}

.framework-label,
.framework-day {
  font-size: 17px;
}

.today-value {
  font-size: clamp(18px, 4.7vw, 26px);
  line-height: 1.12;
}

.framework-hint {
  bottom: 2px;
  font-size: 13px;
}


/* =========================================================
   COMMUNITY etwas kompakter
   ========================================================= */

.community-section {
  padding: 13px 16px;
}

.community-section .section-label {
  margin-bottom: 8px;
}

.community-empty {
  font-size: 16px;
}

.community-section .section-hint {
  margin-top: auto;
}


/* =========================================================
   FRAMEWORK WOCHENANSICHT
   ========================================================= */

.framework-modal {
  padding-top: calc(env(safe-area-inset-top, 0px) + 16px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
}

.framework-modal-card {
  width: min(650px, 100%);
  max-height: calc(
    100dvh
    - env(safe-area-inset-top, 0px)
    - env(safe-area-inset-bottom, 0px)
    - 32px
  );

  padding: 24px;
}

/* Tagesnamen bekommen genug Platz */
.framework-week-row {
  display: grid;
  grid-template-columns: minmax(118px, 140px) minmax(0, 1fr);
  gap: 18px;

  padding: 15px 0;
  align-items: start;
}

.framework-week-day {
  min-width: 0;

  color: var(--eo-green);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.framework-week-focus {
  min-width: 0;

  color: #fff;
  font-size: 18px;
  line-height: 1.25;

  overflow-wrap: anywhere;
}


/* =========================================================
   kleinere Smartphones
   ========================================================= */

@media (max-width: 430px) {

  .dashboard {
    gap: 7px;
  }

  .news-section {
    padding-top: 64px;
    padding-bottom: 40px;
  }

  .news-topline {
    top: 18px;
    left: 16px;
    right: 16px;
  }

  .news-headline {
    font-size: 30px;
  }

  .news-label {
    font-size: 32px;
  }

  .news-date-top {
    font-size: 14px;
  }

  .news-category {
    max-width: 110px;
    font-size: 14px;
  }

  .today-value {
    font-size: 20px;
  }

  .framework-week-row {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 14px;
  }

  .framework-week-day {
    font-size: 16px;
  }

  .framework-week-focus {
    font-size: 17px;
  }
}


/* Sehr niedrige Displays */
@media (max-height: 720px) {

  .dashboard {
    gap: 5px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 5px);
  }

  .news-section {
    padding-top: 57px;
    padding-bottom: 34px;
  }

  .news-topline {
    top: 15px;
  }

  .news-headline {
    font-size: 27px;
  }

  .news-label {
    font-size: 29px;
  }

  .today-value {
    font-size: 18px;
  }

  .community-section {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* Weitere Feinanpassungen */

.dashboard-date {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.dashboard-footer .footer-link:last-child {
  color: #fff;
}

/* News-Headline: bis zu 3 Zeilen und genug Platz für Unterlängen */
.news-headline {
  -webkit-line-clamp: 3;

  line-height: 1.08;

  /* verhindert abgeschnittene g / j / p / y */
  padding-bottom: 0.12em;

  overflow: hidden;
}

/* Auf kleinen iPhones ebenfalls 3 Zeilen beibehalten */
@media (max-width: 430px) {
  .news-headline {
    -webkit-line-clamp: 3;
    line-height: 1.08;
    padding-bottom: 0.14em;
  }

  .dashboard-date {
    font-size: 15px;
  }
}

/* Spezialstunden analog zum Framework */

.special-column {
  position: relative;
  padding-bottom: 42px;
  cursor: pointer;
}

.special-column:focus-visible {
  outline: 2px solid var(--eo-green);
  outline-offset: 4px;
}

.special-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;

  color: var(--eo-green);
  font-size: 13px;
  text-align: center;
}

.special-today {
  line-height: 1.18;
}

/* Spezialstunden: Uhrzeit / Stundenname abwechselnd */

.special-today {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.special-entry {
  line-height: 1.05;
}

.special-time {
  color: var(--eo-green);
  font-size: clamp(17px, 4vw, 23px);
  font-weight: 700;
}

.special-name {
  margin-top: 2px;
  color: #fff;
  font-size: clamp(18px, 4.5vw, 25px);
  line-height: 1.08;
}

@media (max-height: 720px) {
  .special-today {
    gap: 6px;
  }

  .special-time {
    font-size: 16px;
  }

  .special-name {
    font-size: 18px;
  }
}

/* Kopf und Footer etwas größer */

.dashboard-user {
  font-size: 21px;
}

.dashboard-date {
  font-size: 17px;
}

.dashboard-footer {
  font-size: 18px;
}

.dashboard-footer .footer-link {
  font-size: 18px;
}

/* Spezialstunden genauso groß wie Framework */

.special-label {
  font-size: 17px;
}

/* kleine Smartphones */

@media (max-width: 430px) {
  .dashboard-user {
    font-size: 20px;
  }

  .dashboard-date {
    font-size: 16px;
  }

  .dashboard-footer,
  .dashboard-footer .footer-link {
    font-size: 17px;
  }

  .special-label {
    font-size: 17px;
  }
}

/* Feinschliff Spezialstunden + News-Datum */

.special-label {
  font-size: 15px;
}

.news-date-top {
  font-size: 17px;
}

@media (max-width: 430px) {
  .special-label {
    font-size: 15px;
  }

  .news-date-top {
    font-size: 16px;
  }
}

/* News-Kopfzeile etwas höher */

.news-topline {
  top: 12px;
}

@media (max-width: 430px) {
  .news-topline {
    top: 11px;
  }
}

@media (max-height: 720px) {
  .news-topline {
    top: 10px;
  }
}

/* Adminbereich auf iPhone / PWA */

.admin-page {
  padding-top: calc(env(safe-area-inset-top, 0px) + 18px);
  padding-right: 16px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  padding-left: 16px;
}

.admin-header {
  min-height: 54px;
  align-items: center;
}

.admin-header > .footer-link {
  flex-shrink: 0;
  font-size: 17px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .admin-page {
    padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
  }

  .admin-header {
    margin-bottom: 16px;
  }

  .admin-header h1 {
    font-size: 26px;
  }

  .admin-header > .footer-link {
    font-size: 16px;
  }
}

/* =========================================================
   eo GYM App – weiterer Feinschliff
   ========================================================= */

/* Dashboard-Flächen neu gewichten:
   News etwas kleiner, Community etwas größer */
.dashboard {
  grid-template-rows:
    auto
    minmax(0, .90fr)
    minmax(0, .95fr)
    minmax(0, .95fr)
    auto;
}


/* ---------- NEWS ---------- */

/* NEWS nicht fett, dafür größer */
.news-label {
  font-weight: 400;
  font-size: 34px;
}

/* Datum deutlich größer */
.news-date-top {
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

/* Kategorie ebenfalls größer */
.news-category {
  font-size: 18px;
  line-height: 1.05;
}

/* News-Überschrift mittig */
.news-headline {
  text-align: center;
  align-self: center;
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}

/* News etwas kompakter */
.news-section {
  padding-top: 58px;
  padding-bottom: 38px;
}


/* ---------- COMMUNITY ---------- */

.community-title {
  text-align: center;
  font-size: 17px;
  margin-bottom: 10px;
}

.community-section {
  text-align: center;
}

.community-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-empty {
  text-align: center;
}


/* ---------- FOOTER ---------- */

.dashboard-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.dashboard-footer .footer-link {
  font-size: 20px;
}

.booking-link {
  justify-self: start;
}

.dashboard-footer .footer-link:last-child {
  justify-self: end;
  color: #fff;
}

.footer-brand {
  justify-self: center;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.footer-brand-green {
  color: var(--eo-green);
}

.footer-brand-white {
  color: #fff;
}


/* ---------- Smartphone ---------- */

@media (max-width: 430px) {

  .news-label {
    font-size: 34px;
  }

  .news-date-top {
    font-size: 26px;
  }

  .news-category {
    font-size: 17px;
  }

  .news-section {
    padding-top: 56px;
    padding-bottom: 36px;
  }

  .community-title {
    font-size: 17px;
  }

  .dashboard-footer,
  .dashboard-footer .footer-link {
    font-size: 19px;
  }

  .footer-brand {
    font-size: 12px;
  }
}


/* Sehr kleine Breiten */
@media (max-width: 375px) {

  .news-label {
    font-size: 31px;
  }

  .news-date-top {
    font-size: 23px;
  }

  .news-category {
    font-size: 15px;
  }

  .dashboard-footer,
  .dashboard-footer .footer-link {
    font-size: 17px;
  }

  .footer-brand {
    font-size: 10px;
  }
}

/* News-Überschrift: etwas mehr Zeilenabstand */
.news-headline {
  line-height: 1.16;
  padding-bottom: 0.18em;
}

@media (max-width: 430px) {
  .news-headline {
    line-height: 1.16;
    padding-bottom: 0.18em;
  }
}

/* Framework-Wochentag weiter nach rechts */
.framework-headline {
  justify-content: space-between;
  width: 100%;
}

.framework-day {
  margin-left: auto;
  text-align: right;
}

/* Suche & Biete Board */

.board-page {
  max-width: 760px;
  margin: 0 auto;

  padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
  padding-right: 14px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  padding-left: 14px;
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.board-header h1 {
  margin: 0;
  font-size: 30px;
}

.board-back {
  color: var(--eo-green);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.board-compose {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
}

.board-type-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.board-type-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.board-type-option span {
  display: block;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
}

.board-type-option input:checked + span {
  background: var(--eo-green);
  color: #111;
  border-color: var(--eo-green);
  font-weight: 700;
}

.board-textarea {
  min-height: 120px;
  resize: vertical;
}

.board-posts {
  display: grid;
  gap: 12px;
}

.board-empty {
  color: var(--muted);
  text-align: center;
  padding: 30px 10px;
}

.board-post {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.board-post-top,
.board-post-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.board-post-category {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.board-post-category-suche {
  color: var(--eo-green);
}

.board-post-category-biete {
  color: #fff;
}

.board-post-date {
  color: var(--muted);
  font-size: 13px;
}

.board-post h2 {
  margin: 10px 0 8px;
  font-size: 23px;
}

.board-post-body {
  white-space: pre-wrap;
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.board-post-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.board-post-author {
  color: var(--muted);
  font-size: 14px;
}

.board-delete {
  border: 0;
  background: transparent;
  color: #ff8c8c;
  font-family: inherit;
  cursor: pointer;
}

.community-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.community-link:visited {
  color: inherit;
}

.community-link:focus-visible {
  outline: 2px solid var(--eo-green);
  outline-offset: 2px;
}

/* =========================================================
   Community Board Kopfzeile
   ========================================================= */

.board-page {
  padding-top: calc(env(safe-area-inset-top, 0px) + 18px);
}

.board-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  min-height: 34px;
  margin-bottom: 14px;
}

.board-app-user {
  color: var(--eo-green);
  font-size: 20px;
  font-weight: 700;
}

.board-app-date {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}


/* =========================================================
   Community Vorschau auf Startseite
   ========================================================= */

.community-preview {
  width: 100%;
}

.community-preview-list {
  display: grid;
  width: 100%;
  gap: 10px;
}

.community-preview-post {
  width: 100%;
  padding: 9px 12px;

  border: 1px solid var(--border);
  border-radius: 11px;

  text-align: left;
}

.community-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;

  margin-bottom: 4px;
}

.community-preview-category {
  color: var(--eo-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.community-preview-author {
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: var(--muted);
  font-size: 11px;
}

.community-preview-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: #fff;
  font-size: 15px;
  font-weight: 700;
}


/* =========================================================
   Admin Footer ohne Copyright
   ========================================================= */

.dashboard-footer-admin {
  grid-template-columns: 1fr 1fr 1fr;
}

.dashboard-footer-admin > :nth-child(1) {
  justify-self: start;
}

.dashboard-footer-admin > :nth-child(2) {
  justify-self: center;
}

.dashboard-footer-admin > :last-child {
  justify-self: end;
}


@media (max-width: 430px) {

  .board-page {
    padding-top: calc(env(safe-area-inset-top, 0px) + 16px);
  }

  .board-app-user {
    font-size: 19px;
  }

  .board-app-date {
    font-size: 15px;
  }

  .community-preview-list {
    gap: 7px;
  }

  .community-preview-post {
    padding: 7px 10px;
  }

  .community-preview-title {
    font-size: 14px;
  }
}

/* Community-Board darf scrollen */

body:has(.board-page) {
  height: auto;
  min-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.board-page {
  min-height: 100dvh;
  height: auto;
  overflow: visible;
}

/* Board-Seite: globales overflow:hidden sicher überschreiben */

html.board-html,
body.board-body {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.board-body {
  position: static !important;
  -webkit-overflow-scrolling: touch;
}

body.board-body .board-page {
  height: auto !important;
  min-height: 100dvh;
  max-height: none !important;
  overflow: visible !important;
}

/* Community-Kopf bleibt beim Scrollen sichtbar */

.board-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;

  margin: 0 -14px 16px;
  padding: 12px 14px 14px;

  background: rgba(21, 21, 21, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid var(--border);
}

.board-header h1 {
  margin-top: 4px;
}

.board-back {
  font-size: 16px;
}

@media (max-width: 430px) {
  .board-header {
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .board-back {
    font-size: 15px;
  }
}

/* =========================================================
   Community: zuverlässiges Sticky-Header-Verhalten in iOS/PWA
   ========================================================= */

html.board-html {
  height: 100%;
  overflow: hidden !important;
}

body.board-body {
  height: 100dvh !important;
  min-height: 0 !important;

  overflow-x: hidden !important;
  overflow-y: auto !important;

  -webkit-overflow-scrolling: touch;
}

body.board-body .board-page {
  height: auto !important;
  min-height: 100%;
  overflow: visible !important;
}

/* Sticky Kopf */
body.board-body .board-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100;

  margin: 0 -14px 16px;
  padding:
    12px
    14px
    14px;

  background: #151515;

  border-bottom: 1px solid var(--border);
}

/* COMMUNITY genauso präsent wie Suche & Biete */
body.board-body .board-header .section-label {
  margin: 0 0 4px;

  color: var(--eo-green);

  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

body.board-body .board-header h1 {
  margin: 0;

  font-size: 30px;
  line-height: 1.05;
}

/* Zurück-Link */
body.board-body .board-back {
  font-size: 16px;
  align-self: center;
}

@media (max-width: 430px) {

  body.board-body .board-header .section-label,
  body.board-body .board-header h1 {
    font-size: 28px;
  }

  body.board-body .board-back {
    font-size: 15px;
  }
}

/* Community Sticky-Header etwas tiefer setzen */

body.board-body .board-header {
  top: calc(env(safe-area-inset-top, 0px) + 10px) !important;
}

@media (max-width: 430px) {
  body.board-body .board-header {
    top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
  }
}

/* Account and management forms share the existing Libron theme. */
html.account-html, body.account-body { height:auto !important; min-height:100%; overflow-y:auto !important; }
body.account-body .auth-page { padding-top:calc(env(safe-area-inset-top, 0px) + 28px); }
.account-notice { border:1px solid var(--eo-green); border-radius:12px; padding:12px; line-height:1.5; }
.account-edit { margin:16px 0; } .account-edit summary { cursor:pointer; color:var(--eo-green); margin-bottom:12px; }
.account-body .admin-page { padding-top:calc(env(safe-area-inset-top, 0px) + 20px); }
.account-footer-links { display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end; }

/* BEGIN EO FOOTER ALIGNMENT */
.dashboard-footer.dashboard-footer-arranged {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 8px;
}
.dashboard-footer-arranged > .booking-link { justify-self: start; }
.dashboard-footer-arranged > .footer-account-center {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.dashboard-footer-arranged > .footer-logout-right {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.dashboard-footer-arranged .footer-account-center > .footer-link { color: var(--eo-green); }
.dashboard-footer-arranged .footer-logout-right > .footer-link { color: #fff; }
.dashboard-footer-arranged .footer-brand {
  font-size: clamp(8px, 2.2vw, 11px);
  line-height: 1.2;
  white-space: nowrap;
  text-align: right;
}
.dashboard-footer-arranged .footer-account-center > .footer-admin-small { font-size: 12px; }
/* END EO FOOTER ALIGNMENT */

/* Edit own community posts */
.board-post-footer { flex-wrap:wrap; }
.board-edit-link { color:var(--eo-green); font-size:14px; font-weight:700; white-space:nowrap; }
.board-post-footer .board-post-author { margin-right:auto; }

/* Board context and simple public threads */
.community-board-name { color:var(--muted); font-size:14px; text-align:center; margin:4px 0 10px; }
.board-thread { margin-top:16px; border-top:1px solid var(--border); padding-top:12px; scroll-margin-top:100px; }
.board-thread summary { color:var(--eo-green); cursor:pointer; font-weight:700; font-size:14px; }
.board-thread-content { padding-top:12px; }
.board-reply { border-left:2px solid var(--border); padding:10px 12px; margin-bottom:12px; }
.board-reply-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px; color:var(--muted); font-size:12px; margin-bottom:8px; }
.board-reply-meta strong { color:var(--eo-green); overflow-wrap:anywhere; }
.board-reply .board-post-body { overflow-wrap:anywhere; }
.board-reply-compose { margin-top:16px; }

/* Community Umfragen */
.poll-board-entry{display:flex;justify-content:space-between;gap:12px;margin-top:22px;padding-top:20px;border-top:1px solid #444;color:#a4cd00;text-decoration:none;font-size:1.3rem}.poll-board-entry span{font-size:1rem;color:#bbb}.poll-choices{border:0;padding:0;margin:20px 0}.poll-choices legend{font-size:1rem;color:#bbb;margin-bottom:12px}.poll-choice{display:flex;align-items:center;gap:12px;padding:12px 0;cursor:pointer}.poll-choice input{width:22px;height:22px;flex-shrink:0;accent-color:#a4cd00}.poll-choice span,.poll-result span{overflow-wrap:anywhere}.poll-results,.poll-settings{margin-top:24px;border-top:1px solid #444;padding-top:16px}.poll-result{display:grid;grid-template-columns:1fr auto;gap:8px;margin:16px 0}.poll-result progress{grid-column:1/-1;width:100%;height:12px;accent-color:#a4cd00}.poll-settings label{display:block;margin:16px 0}.board-compose summary,.poll-settings summary{cursor:pointer;color:#a4cd00}

/* Beide Board-Einstiege bleiben im begrenzten Dashboard-Feld sichtbar. */
.community-preview-link{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.community-section .community-title{flex-shrink:0}.community-board-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0;padding-top:10px;margin-top:8px;border-top:1px solid var(--border)}.community-board-nav a{color:var(--eo-green);text-decoration:none;font-size:clamp(12px,3.2vw,16px);line-height:1.2;padding:4px 0}.community-board-nav a:focus-visible{outline:2px solid var(--eo-green);outline-offset:2px}

/* Community: zwei Boards mit eigenem Rahmen und Öffnen-Link. */
.community-boards{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;flex:1;min-height:0;width:100%}
.community-board-column{display:flex;flex-direction:column;min-width:0;min-height:0;gap:8px}
.community-board-card{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;border:1px solid var(--border);border-radius:12px;padding:10px;overflow:auto;text-align:left}
.community-board-heading{margin:0 0 8px;color:var(--eo-green);font-size:clamp(13px,3.5vw,18px);font-weight:700;line-height:1.2;text-align:center;flex-shrink:0}
.community-board-content{display:flex;flex-direction:column;gap:8px;flex:1;min-height:min-content}
.community-board-post+.community-board-post{border-top:1px solid var(--border);padding-top:8px}
.community-board-post-title{font-size:clamp(12px,3.2vw,16px);line-height:1.15;margin-top:3px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.community-board-post-author{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}
.community-poll-preview{justify-content:center;text-align:center}
.community-current-poll-title{font-size:clamp(14px,3.7vw,20px);font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.community-board-empty{margin:auto 0;color:var(--muted);font-size:13px;line-height:1.3;text-align:center}
.community-board-open{display:block;flex-shrink:0;text-align:center;color:var(--muted);text-decoration:none;font-size:clamp(11px,2.9vw,14px);line-height:1.2;padding:3px 0}
.community-board-open:focus-visible{outline:2px solid var(--eo-green);outline-offset:2px}
@media(max-width:360px){.community-boards{gap:8px}.community-board-card{padding:8px}.community-board-open{font-size:11px}}

/* Community-Vorschau: fester Boardname und drei Beiträge. */
.community-board-card{padding-top:0;scroll-padding-top:38px}
.community-board-heading{position:sticky;top:0;z-index:1;background:var(--panel);padding:10px 0 8px;margin-bottom:0}
.community-board-post-top{display:flex;align-items:baseline;justify-content:space-between;gap:6px;min-width:0}
.community-board-post-top .community-preview-category{flex-shrink:0;font-size:10px}
.community-board-post-top .community-board-post-author{min-width:0;max-width:60%;margin-top:0;text-align:right;font-size:10px}
.community-board-post-title{-webkit-line-clamp:2;line-height:1.2}
.community-all-posts{margin:4px 0 0;text-align:center;color:var(--muted);font-size:11px;line-height:1.3}
.community-board-open,.community-board-open:visited{color:var(--eo-green)}
.poll-confirm{display:flex!important;gap:10px;align-items:flex-start;font-size:14px;line-height:1.4}
.poll-confirm input{flex-shrink:0;accent-color:var(--eo-green);margin-top:3px}
@media(max-width:360px){.community-board-card{padding-top:0}}

/* Community-Trennlinie und einheitliche Wochenfenster. */
.community-all-posts{border-top:1px solid var(--border);padding-top:8px;margin-top:4px}
.framework-modal-card .week-modal-heading{font-size:clamp(20px,5vw,28px);line-height:1.2;overflow-wrap:normal}

/* Kopfzeile mit Abstand zur iOS-Statusleiste und klarer Schrift. */
.dashboard{padding-top:calc(env(safe-area-inset-top,0px) + 20px)}
.dashboard-header{background:var(--bg,#151515);min-height:34px;padding-top:4px;padding-bottom:6px;overflow:visible}
.dashboard-user,.dashboard-date{opacity:1;filter:none;-webkit-mask-image:none;mask-image:none;text-shadow:none;line-height:1.3}
.dashboard-user{min-width:0;overflow-wrap:anywhere;color:var(--eo-green)}
.dashboard-date{flex-shrink:0;white-space:nowrap;color:#fff;font-variant-numeric:tabular-nums}
@media(max-width:430px){.dashboard-header{gap:10px}.dashboard-date{font-size:14px}}
@media(max-width:360px){.dashboard-header{flex-wrap:wrap;row-gap:3px}.dashboard-date{margin-left:auto}}

/* Signage-Farben für News und Community. */
body.dashboard-body{background-color:#171d1b;background-image:radial-gradient(ellipse at 10% 0%,rgba(134,184,3,.10),transparent 55%),linear-gradient(155deg,#222a27 0%,#171d1b 55%,#111716 100%);background-attachment:fixed}
.dashboard-body .dashboard-header{background:transparent}
.dashboard-body .news-section,.dashboard-body .news-modal-card{background:#f2efe7;color:#15191a;border-color:#c9ccc2}
.dashboard-body .news-section .news-headline,.dashboard-body .news-section .news-date-top,.dashboard-body .news-modal-card h2{color:#15191a}
.dashboard-body .news-section .news-label,.dashboard-body .news-section .news-category,.dashboard-body .news-modal-card .section-label{color:#527200}
.dashboard-body .news-section .section-hint,.dashboard-body .news-modal-card p,.dashboard-body .news-modal-date{color:#515958}
.dashboard-body .community-section{background:#86b803;color:#101314;border-color:#759f04}
.dashboard-body .community-section .community-title,.dashboard-body .community-section .community-board-heading,.dashboard-body .community-section .community-preview-category,.dashboard-body .community-section .community-board-post-title,.dashboard-body .community-section .community-current-poll-title{color:#101314}
.dashboard-body .community-section .community-board-heading{background:#86b803}
.dashboard-body .community-section .community-board-card{border-color:rgba(16,19,20,.38)}
.dashboard-body .community-section .community-board-post+.community-board-post,.dashboard-body .community-section .community-all-posts{border-color:rgba(16,19,20,.30)}
.dashboard-body .community-section .community-board-post-author,.dashboard-body .community-section .community-all-posts,.dashboard-body .community-section .community-board-empty{color:#263414}
.dashboard-body .community-section .community-board-open,.dashboard-body .community-section .community-board-open:visited{color:#101314}
.dashboard-body .community-section .community-link:focus-visible,.dashboard-body .community-section .community-board-open:focus-visible{outline-color:#101314}

/* Kontrastreiche Board-Karten und kräftigerer Grün-/Orange-Verlauf. */
body.dashboard-body{background-color:#171b14;background-image:radial-gradient(ellipse at 0% 0%,rgba(153,204,0,.30) 0%,transparent 65%),radial-gradient(ellipse at 100% 100%,rgba(255,159,28,.27) 0%,transparent 65%),linear-gradient(145deg,#252c1b 0%,#141b17 48%,#342419 100%)}
.dashboard-body .news-section .news-label,.dashboard-body .news-section .news-category,.dashboard-body .news-modal-card .section-label{color:var(--eo-green)}
.dashboard-body .community-section .community-title,.dashboard-body .community-section .community-board-open,.dashboard-body .community-section .community-board-open:visited{color:#fff}
.dashboard-body .community-section .community-board-card{background:var(--panel);border-color:var(--border);color:#fff}
.dashboard-body .community-section .community-board-heading{background:var(--panel);color:var(--eo-green)}
.dashboard-body .community-section .community-preview-category{color:var(--eo-green)}
.dashboard-body .community-section .community-board-post-title,.dashboard-body .community-section .community-current-poll-title{color:#fff}
.dashboard-body .community-section .community-board-post-author,.dashboard-body .community-section .community-all-posts,.dashboard-body .community-section .community-board-empty{color:var(--muted)}
.dashboard-body .community-section .community-board-post+.community-board-post,.dashboard-body .community-section .community-all-posts{border-color:var(--border)}
.dashboard-body .community-section .community-link:focus-visible{outline-color:#fff}
.dashboard-body .community-section .community-board-open:focus-visible{outline-color:#fff}

/* Gleicher App-Verlauf auf Account- und Community-Seiten. */
body.account-body,body.board-body{background-color:#171b14;background-image:radial-gradient(ellipse at 0% 0%,rgba(153,204,0,.30) 0%,transparent 65%),radial-gradient(ellipse at 100% 100%,rgba(255,159,28,.27) 0%,transparent 65%),linear-gradient(145deg,#252c1b 0%,#141b17 48%,#342419 100%);background-attachment:fixed}
html.account-profile-html{height:100%!important;overflow:hidden!important}
body.account-profile-body{height:100dvh!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch}
.account-profile-body .auth-page{display:block;min-height:100%;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 28px)}
.account-profile-body .auth-card{margin:0 auto;overflow:visible}
.account-profile-header{position:sticky;top:calc(env(safe-area-inset-top,0px) + 12px);z-index:100;background:var(--panel);margin:-12px -14px 24px;padding:8px 14px 14px;border-bottom:1px solid var(--border);border-radius:12px 12px 0 0}
.account-profile-header .account-profile-logo{width:min(360px,100%);margin:0 auto 10px}
.account-profile-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.account-profile-heading h1{margin:0;font-size:clamp(24px,6vw,32px);line-height:1.1}
.account-profile-heading a{flex-shrink:0;font-size:14px;line-height:1.2;text-decoration:none;color:var(--eo-green)}
.account-profile-body .auth-card{scroll-margin-top:240px}
.dashboard-body .news-modal-card [data-news-modal-eyebrow]{font-size:clamp(18px,4.8vw,24px);line-height:1.2}
.dashboard-body .news-modal-card .news-modal-date{font-size:clamp(17px,4.5vw,22px);line-height:1.3}
@media(max-width:360px){.account-profile-heading{gap:8px}.account-profile-heading h1{font-size:23px}.account-profile-heading a{font-size:12px}}
