/* Gemeinsames Frontend-Layout. Farben und Inhaltsbreite kommen aus headinclude.tpl. */

html,
body { min-height: 100%; }
body {
 margin: 0;
 padding: 0;
 background-image: var(--wbb-body-image);
 background-repeat: repeat-x;
 font-size: 11px;
 line-height: 1.2;
}
body,
select,
textarea,
input { font-family: Tahoma, Helvetica, sans-serif; }
body#bg > table,
body#bg > form > table {
 margin-left: auto;
 margin-right: auto;
}
.forum-shell-header {
 box-sizing: border-box;
 display: grid;
 grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
 grid-template-areas:
  "left brand right"
  ". switcher .";
 align-items: start;
 gap: 4px 20px;
 min-height: 130px;
 padding: 12px max(12px, calc((100vw - var(--wbb-content-width)) / 2)) 8px;
}
.forum-shell-header__brand {
 grid-area: brand;
 display: grid;
 grid-template-columns: auto auto;
 align-items: center;
 gap: 8px;
 text-decoration: none;
}
.forum-shell-header__title { width: 250px; height: auto; }
.forum-shell-header__logo { width: 117px; height: auto; }
.forum-shell-header__nav {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 4px;
 min-height: 55px;
}
.forum-shell-header__nav--left { grid-area: left; justify-content: flex-end; }
.forum-shell-header__nav--right { grid-area: right; justify-content: flex-start; }
.forum-shell-header__switcher {
 grid-area: switcher;
 justify-self: end;
 min-height: 28px;
}
.forum-shell-main {
 box-sizing: border-box;
 width: var(--wbb-content-width);
 max-width: calc(100% - 16px);
 margin: 0 auto;
}
.forum-shell-page .board-headerline {
 box-sizing: border-box;
 width: 100%;
 margin-bottom: 12px;
 border: 1px solid var(--wbb-border);
 background: var(--wbb-row-a);
}
select,
textarea { font-size: 11px; }
select,
input.input,
button.input {
 box-sizing: border-box;
 min-height: 20px;
}
select {
 padding: 1px 4px;
 color: #000;
 background: #ededed;
}
textarea { color: #000; background: #f5f5f5; }
.input {
 color: #000;
 border: 1px solid var(--wbb-border);
 background: #ededed;
 font-size: 11px;
 font-weight: normal;
}
.input[type="submit"],
.input[type="reset"],
.input[type="button"],
button.input {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 2px 5px;
 background: var(--wbb-row-a);
 font: inherit;
 line-height: 1.2;
 white-space: nowrap;
 cursor: pointer;
}
.input[type="submit"]:hover,
.input[type="reset"]:hover,
.input[type="button"]:hover,
button.input:hover,
.input[type="submit"]:focus,
.input[type="reset"]:focus,
.input[type="button"]:focus,
button.input:focus { background: var(--wbb-row-b); }
.clsCursor { cursor: pointer; }
#bg a:link,
#bg a:visited,
#bg a:active { color: #000; }
#bg a:hover { color: #000; text-decoration: none; }
.index-actions,
.board-toolbar,
.board-controls,
.thread-toolbar,
.thread-controls,
.jumpform,
.members-pages,
.team-pages,
.search-result-nav,
.pms-actions,
.pms-view-actions {
 color: #f5f5f5;
}
.index-actions a,
.board-toolbar a,
.board-controls a,
.thread-toolbar a,
.thread-controls a,
.jumpform a,
.members-pages a,
.team-pages a,
.search-result-nav a,
.pms-actions a,
.pms-view-actions a {
 color: inherit !important;
}
.board-toolbar select,
.board-controls select,
.thread-toolbar select,
.thread-controls select,
.jumpform select,
.members-pages select,
.team-pages select,
.pms-actions select {
 color: #000;
}
.sortable-header { color: inherit !important; white-space: nowrap; }
.sortable-header--active { text-decoration: none; }
.sortable-header:hover { text-decoration: underline !important; }
.username-autocomplete {
 position: relative;
 display: inline-block;
 max-width: 100%;
}
.username-autocomplete__list {
 position: absolute;
 z-index: 1000;
 top: calc(100% + 1px);
 left: 0;
 box-sizing: border-box;
 min-width: 100%;
 width: max-content;
 max-width: min(280px, 90vw);
 max-height: 190px;
 overflow-y: auto;
 border: 1px solid var(--wbb-border);
 background: var(--wbb-row-a);
 text-align: left;
}
.username-autocomplete__list[hidden] { display: none; }
.username-autocomplete__list button {
 display: block;
 box-sizing: border-box;
 width: 100%;
 padding: 5px 7px;
 overflow: hidden;
 border: 0;
 border-bottom: 1px solid var(--wbb-border);
 background: var(--wbb-row-a);
 color: #000;
 font: inherit;
 text-align: left;
 text-overflow: ellipsis;
 white-space: nowrap;
 cursor: pointer;
}
.username-autocomplete__list button:last-child { border-bottom: 0; }
.username-autocomplete__list button:hover,
.username-autocomplete__list button.is-active { background: var(--wbb-row-b); }

/* Gemeinsamer Rahmen fuer schrittweise modernisierte Inhaltsseiten */
.forum-page {
 box-sizing: border-box;
 width: var(--wbb-content-width);
 max-width: calc(100% - 16px);
 margin: 0 auto 16px;
}
.forum-panel {
 margin: 0 0 12px;
 border: 1px solid var(--wbb-border);
 background: var(--wbb-row-a);
}
.forum-panel__title {
 padding: 5px 6px;
 background: var(--wbb-title-bg);
 color: var(--wbb-title-color);
 font-size: 12px;
 font-weight: bold;
 text-align: center;
}
.forum-panel__body {
 padding: 8px;
 background: var(--wbb-row-a);
 color: #000;
 text-align: left;
}
.forum-panel__body p:first-child { margin-top: 0; }
.forum-panel__body p:last-child { margin-bottom: 0; }
.forum-form-actions {
 display: flex;
 align-items: center;
 justify-content: center;
 flex-wrap: wrap;
 gap: 6px;
 margin: 8px auto 16px;
}
.forum-form-actions form { margin: 0; }
.forum-page--narrow { width: min(600px, var(--wbb-content-width)); }
.forum-form-grid { display: grid; gap: 1px; background: var(--wbb-border); }
.forum-form-row {
 display: grid;
 grid-template-columns: minmax(160px, 1fr) minmax(220px, 1fr);
 align-items: stretch;
 gap: 1px;
 border-top: 1px solid var(--wbb-border);
 background: var(--wbb-border);
 color: #000;
 text-align: left;
}
.forum-form-row > * {
 min-width: 0;
 padding: 7px;
 background: var(--wbb-row-a);
}
.forum-form-row > :last-child { background: var(--wbb-row-b); }
.forum-panel__actions {
 padding: 8px;
 border-top: 1px solid var(--wbb-border);
 background: var(--wbb-row-a);
 text-align: center;
}
.forum-inline-login {
 display: grid;
 grid-template-columns: repeat(2, minmax(180px, 1fr));
 gap: 7px;
 margin-top: 12px;
 padding: 8px;
 border: 1px solid var(--wbb-border);
 background: var(--wbb-row-b);
}
.forum-inline-login label { display: flex; align-items: center; gap: 6px; }
.forum-inline-login label span { min-width: 90px; }
.forum-inline-login > div { text-align: left; }
.forum-current-user { margin-top: 12px; padding: 8px; border: 1px solid var(--wbb-border); background: var(--wbb-row-b); }
.forum-fullscreen-message {
 display: flex;
 align-items: center;
 justify-content: center;
 box-sizing: border-box;
 min-height: 100vh;
 padding: 16px;
 text-align: center;
}
.forum-fullscreen-message > div { width: min(600px, 100%); border: 1px solid var(--wbb-border); text-align: center; }
.site-footer {
 box-sizing: border-box;
 width: max-content;
 max-width: calc(100% - 16px);
 margin: 18px auto;
 padding: 4px;
 border: 1px solid var(--wbb-border);
 background: var(--wbb-row-a);
 color: #000;
 text-align: center;
}
.site-footer a { color: #000 !important; }
.user-list-page { display: grid; grid-template-columns: minmax(220px, 32%) minmax(0, 1fr); align-items: start; gap: 12px; }
.user-list-panel,
.user-list-add { min-width: 0; }
.user-list { display: grid; gap: 1px; background: var(--wbb-border); }
.user-list:empty::after { content: "Keine Eintr\00e4ge vorhanden."; padding: 8px; background: var(--wbb-row-a); }
.user-list-row {
 display: grid;
 grid-template-columns: 18px minmax(0, 1fr) auto;
 align-items: center;
 gap: 6px;
 padding: 5px;
 background: var(--wbb-row-a);
 color: #000;
 text-align: left;
}
.user-list-row:nth-child(even) { background: var(--wbb-row-b); }
.user-list-row__status:empty { display: none; }
.user-list-row__actions { white-space: nowrap; }
.inline-action-form { display: inline-flex; margin: 0; }
.inline-action-form button { font: inherit; cursor: pointer; }
.user-list-add__field { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 5px; }
.avatar-choice,
.avatar-upload { border-top: 1px solid var(--wbb-border); background: var(--wbb-row-a); }
.avatar-choice h2 { margin: 0; padding: 5px; background: var(--wbb-category-bg); color: var(--wbb-category-color); font-size: 12px; text-align: center; }
.avatar-choice__grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
 background: var(--wbb-row-a);
}
.avatar-option { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 90px; padding: 6px; border-right: 1px solid var(--wbb-border); border-bottom: 1px solid var(--wbb-border); background: var(--wbb-row-b); text-align: center; }
.avatar-option span { display: flex; align-items: center; justify-content: center; }
.avatar-choice__pages { padding: 6px; background: var(--wbb-row-a); text-align: center; }
.avatar-upload .forum-form-row:first-child { border-top: 0; }
.avatar-settings input[type="file"] { max-width: 100%; }
.signature-editor__layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 1px; background: var(--wbb-border); }
.signature-editor__aside,
.signature-editor__body { min-width: 0; padding: 7px; background: var(--wbb-row-a); text-align: left; }
.signature-editor__body { background: var(--wbb-row-b); }
.signature-editor__aside .compose-note { margin: 8px 0; }
.signature-editor__body textarea { box-sizing: border-box; width: 100%; max-width: 100%; margin-top: 5px; }
.settings-form__heading { padding: 6px; background: var(--wbb-category-bg); color: var(--wbb-category-color); font-size: 13px; font-weight: bold; }
.settings-section { margin: 0; padding: 0; border: 0; }
.settings-section h2 { margin: 0; padding: 5px 6px; background: var(--wbb-title-bg); color: var(--wbb-title-color); font-size: 11px; }
.settings-row {
 display: grid;
 grid-template-columns: minmax(220px, 60%) minmax(180px, 40%);
 align-items: stretch;
 gap: 1px;
 border-top: 1px solid var(--wbb-border);
 background: var(--wbb-border);
 color: #000;
 text-align: left;
}
.settings-row > * {
 min-width: 0;
 padding: 7px;
 background: var(--wbb-row-a);
}
.settings-row > :last-child { background: var(--wbb-row-b); }
.settings-row input[type="text"],
.settings-row input[type="email"],
.settings-row input[type="url"],
.settings-row textarea { box-sizing: border-box; max-width: 100%; }
.settings-row textarea { width: 100%; resize: vertical; }
.settings-row--compact { min-height: 28px; }
.settings-subsection-title {
 padding: 5px 6px;
 border-top: 1px solid var(--wbb-border);
 background: var(--wbb-title-bg);
 color: var(--wbb-title-color);
 font-weight: bold;
 text-align: left;
}
.notification-preference-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.notification-preference-controls label { display: inline-flex; align-items: center; gap: 4px; padding: 0; background: transparent; }
.date-fields { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 7px; }
.date-fields label { display: flex; flex-direction: column; gap: 2px; padding: 0; background: transparent; }
.form-error { margin: 0 0 10px; padding: 8px; border: 1px solid var(--wbb-border); background: var(--wbb-row-a); color: #000; text-align: left; }
.form-error ul { margin-bottom: 0; }
.usercp-overview__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--wbb-row-a); }
.usercp-tile { min-width: 0; min-height: 110px; margin: 0; padding: 9px; border-right: 1px solid var(--wbb-border); border-bottom: 1px solid var(--wbb-border); background: var(--wbb-row-a); color: #000; text-align: center; }
.usercp-tile:nth-child(even) { background: var(--wbb-row-b); }
.usercp-tile h2 { margin: 5px 0 3px; font-size: 12px; }
.usercp-tile p { margin: 0; font-size: 10px; line-height: 1.25; }
.usercp-tile > .fa-text-button { font-size: 12px; }
.favorites-section { margin: 0 0 12px; border: 1px solid var(--wbb-border); background: var(--wbb-border); }
.favorites-section > h2 { margin: 0; padding: 5px 6px; background: var(--wbb-category-bg); color: var(--wbb-category-color); font-size: 12px; }
.favorites-board-list,
.favorites-thread-list { min-width: 0; }
.favorites-board-row,
.favorites-thread-row { display: grid; gap: 1px; border-top: 1px solid var(--wbb-border); background: var(--wbb-border); }
.favorites-board-row { grid-template-columns: 38px minmax(220px, 1fr) 64px 64px minmax(150px, 22%); }
.favorites-thread-row { grid-template-columns: 34px 28px minmax(200px, 1fr) 68px minmax(90px, 14%) 54px 78px minmax(135px, 18%); }
.favorites-board-row > *,
.favorites-thread-row > * { min-width: 0; padding: 5px; background: var(--wbb-row-a); }
.favorites-board-row > :nth-child(even),
.favorites-thread-row > :nth-child(even) { background: var(--wbb-row-b); }
.favorites-row--header { color: var(--wbb-title-color); font-size: 11px; font-weight: bold; text-align: center; }
.favorites-row--header > div { background: var(--wbb-title-bg); }
.favorites-icon,
.favorites-number,
.favorites-user,
.favorites-rating { display: flex; align-items: center; justify-content: center; text-align: center; }
.favorites-main { text-align: left; }
.favorites-title { font-size: 12px; }
.favorites-description { display: block; font-size: 10px; line-height: 1.25; }
.favorites-time { color: var(--wbb-time-color); }
.favorites-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.favorites-lastpost { display: flex; align-items: center; justify-content: center; text-align: center; }
.favorites-empty { padding: 9px; background: var(--wbb-row-a); text-align: center; }
.favorites-filter { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin: 4px 0 14px; color: #f5f5f5; }
.index-board-header,
.board-thread-header,
.thread-view__header,
.search-thread-header,
.search-post-header,
.members-row--header,
.team-row--header { font-size: 11px; }
.index-category,
.index-info-title,
.compose-title,
.search-title,
.team-title { font-size: 12px; }

/* Startseite und Forenuebersicht */
.index-board-list,
 .index-info-list,
 .index-quicklogin {
  box-sizing: border-box;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin-left: auto;
  margin-right: auto;
 border: 1px solid var(--wbb-border);
 background: var(--wbb-border);
 font-size: 10px;
 }
 .forum-text-justify { text-align: justify; }
 .index-board-row {
  display: grid;
  grid-template-columns: 38px minmax(280px, 1fr) 58px 58px minmax(130px, 14%) minmax(150px, 18%);
  gap: 1px;
  background: var(--wbb-border);
 }
 .index-board-row:not(.index-board-header) {
  border-top: 1px solid var(--wbb-border);
 }
 .index-board-cell {
  min-width: 0;
  padding: 4px;
  background: var(--wbb-row-a);
 }
 .index-board-cell--alternate { background: var(--wbb-row-b); }
 .index-board-cell--center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
 }
 .index-board-cell--forum {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
 }
 .index-board-cell--forum > span { min-width: 0; }
 .index-board-title,
 .index-board-description { line-height: 1.2; }
 .index-board-title { display: block; font-size: 12px; }
 .index-board-description,
 .index-board-subboards { display: block; font-size: 10px; }
 .index-board-row--nested .index-board-cell--forum { padding-left: 18px; }
 .index-board-header .index-board-cell {
  background: var(--wbb-title-bg);
  color: var(--wbb-title-color);
  font-weight: bold;
 }
 .index-category {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-top: 1px solid var(--wbb-border);
  background: var(--wbb-category-bg);
  color: var(--wbb-category-color);
  text-align: left;
 }
 .index-category a { color: inherit; }
 .index-category__title { display: block; font-size: 13px; line-height: 1.15; }
 .index-category__description { display: block; font-size: 10px; font-weight: normal; line-height: 1.2; }
 .index-board-cell--lastpost {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
 }
 .index-lastpost {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 6px;
  text-align: left;
 }
 .index-lastpost__text { min-width: 0; font-size: 10px; line-height: 1.2; text-align: left; }
 .index-lastpost__text > span,
 .index-info-line { display: block; }
 .index-time { color: var(--wbb-time-color); }
 .index-no-lastpost { width: 100%; text-align: center; }
 .index-info-section { border-top: 1px solid var(--wbb-border); }
 .index-info-title {
  padding: 4px;
  background: var(--wbb-title-bg);
  color: var(--wbb-title-color);
  font-weight: bold;
 }
 .index-info-content { padding: 4px; background: var(--wbb-row-a); font-size: 10px; line-height: 1.25; text-align: left; }
 .index-message-summary { display: flex; flex-direction: column; gap: 3px; }
 .index-message-summary__item { display: block; }
 .index-online-users { margin-top: 3px; }
 .index-info-content--alternate { background: var(--wbb-row-b); }
 .index-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  text-align: left;
 }
 .index-legend { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 12px; text-align: left; }
 .index-legend > span { display: inline-flex; align-items: center; gap: 4px; }
 .index-quicklogin { margin-top: 12px; }
 .index-quicklogin__form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  background: var(--wbb-row-b);
 }
 .index-quicklogin__form label { display: inline-flex; align-items: center; gap: 4px; }
 .index-welcome { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; line-height: 1.25; }
 .index-welcome > :last-child { text-align: right; }
 .index-welcome-title { font-size: 12px; }
 .index-welcome-text { font-size: 10px; line-height: 1.25; }
 .index-actions { box-sizing: border-box; width: var(--wbb-content-width); max-width: calc(100% - 16px); margin: 6px auto 0; font-size: 10px; text-align: right; }

 /* Themenlisten */
 .board-toolbar,
 .board-thread-list,
 .board-controls,
 .board-legend {
  box-sizing: border-box;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin-left: auto;
  margin-right: auto;
 }
 .board-toolbar,
 .board-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
 }
 .board-toolbar { padding-top: 4px; padding-bottom: 4px; }
 .board-headerline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
 }
 .board-headerline--right { justify-content: flex-end; }
 .jumpform {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
 }
 .board-thread-list {
  border: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .board-thread-row {
  display: grid;
  grid-template-columns: 38px 30px minmax(230px, 1fr) 72px 110px 54px 80px 150px;
  gap: 1px;
  border-top: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .board-thread-row:first-child { border-top: 0; }
 .board-thread-cell {
  min-width: 0;
  padding: 4px;
  background: var(--wbb-row-a);
 }
 .board-thread-cell--alternate { background: var(--wbb-row-b); }
 .board-thread-cell--center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
 }
 .board-thread-cell--topic {
  display: flex;
  align-items: center;
  text-align: left;
 }
 .board-thread-cell--lastpost {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
  text-align: right;
 }
 .board-thread-cell--lastpost > smallfont { min-width: 0; overflow-wrap: anywhere; }
 .board-thread-header { border-top: 0; }
 .board-thread-header .board-thread-cell {
  background: var(--wbb-title-bg);
  color: var(--wbb-title-color);
  font-weight: bold;
 }
 .board-empty {
  padding: 8px;
  background: var(--wbb-row-a);
  text-align: center;
 }
 .board-controls { margin-top: 6px; }
 .board-controls__search { text-align: left; }
 .board-controls__right { text-align: right; }
 .board-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 12px;
 }
 .board-legend__item { display: flex; align-items: center; gap: 4px; }
 .board-legend { color: #f5f5f5; font-size: 10px; line-height: 1.2; }
 .board-legend__icon { width: 1.2em; text-align: center; }
 .board-legend__icon--new { color: #fff; }
 .board-legend__icon--hot-new { color: #ffd24a; }
 .board-legend__icon--locked { color: #d6d6d6; }
 .board-legend__icon--read { color: #f5f5f5; }
 .board-legend__icon--hot { color: #ffd24a; }
 .text-normal { font: inherit; }
.text-small { font-size: 10px; line-height: 1.2; }
.text-danger { color: #c00; }
.text-time { color: var(--wbb-time-color, inherit); }
.thread-prefix { color: var(--wbb-prefix-color); }

 /* Beitragsansicht und Umfragen */
 .thread-toolbar,
 .thread-view,
 .thread-controls,
 .thread-poll {
  box-sizing: border-box;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin-left: auto;
  margin-right: auto;
 }
 .thread-toolbar,
 .thread-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
 }
 .thread-toolbar { padding-top: 4px; padding-bottom: 4px; }
 .thread-view {
  border: 1px solid var(--wbb-border);
  background: var(--wbb-border);
  font-size: 12px;
 }
 .thread-view__header {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 1px;
  background: var(--wbb-border);
 }
 .thread-view__header > div,
 .thread-view__footer {
  padding: 4px;
  background: var(--wbb-title-bg);
  color: var(--wbb-title-color);
  font-weight: bold;
 }
 .thread-view__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
 }
.thread-post {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  grid-template-areas: "author body" "date contact";
  gap: 1px;
  border-top: 2px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .thread-post--tablea { --thread-post-bg: var(--wbb-row-a); }
 .thread-post--tableb { --thread-post-bg: var(--wbb-row-b); }
 .thread-post > * {
  min-width: 0;
  padding: 4px;
  background: var(--thread-post-bg);
 }
 .thread-post__author { grid-area: author; padding: 8px; }
 .thread-post__body { grid-area: body; padding: 8px; }
 .thread-post__date { grid-area: date; text-align: center; }
 .thread-post__contact { grid-area: contact; text-align: left; }
 .thread-post__date,
 .thread-post__contact { padding: 4px 8px; font-size: 10px; line-height: 1.2; }
 .thread-post__author-inner { min-width: 159px; line-height: 1.2; text-align: left; }
 .thread-post__author-rank { margin-top: 1px; }
 .thread-post__rank-images { margin-top: 2px; line-height: 1; }
 .thread-post__avatar { margin: 7px 0; line-height: 1; }
 .thread-post__avatar img { display: block; max-width: 100%; height: auto; }
 .thread-post__author-meta { margin-top: 2px; line-height: 1.2; }
 .thread-post__meta-line { display: block; margin: 0; line-height: 1.2; }
 .thread-post__author-rank,
 .thread-post__author-meta,
 .thread-post__topic { font-size: 10px; }
 .thread-post__author-name,
 .thread-post__message,
 .thread-post__signature { font-size: 12px; }
 .thread-post__time { color: var(--wbb-time-color); }
 .thread-post__signature-rule { display: block; }
 .thread-post__last-edit { font-size: 10px; }
 .thread-post__notice { font-size: 12px; text-align: right; }
 .thread-context,
 .thread-toolbar,
 .thread-view__header,
 .thread-view__footer,
 .thread-controls { font-size: 10px; }
 .thread-post__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
 }
.thread-post__actions { flex: 0 0 auto; text-align: right; }
.thread-post__separator {
 height: 1px;
 margin: 4px 0;
 background: var(--wbb-border);
}
.thread-post__message { padding: 4px 0; overflow-wrap: anywhere; text-align: left; }
 .thread-post__signature { text-align: left; }
 .title-surface-links,
 .title-surface-links a { color: var(--wbb-title-color) !important; }
 .thread-view__footer {
  box-sizing: border-box;
  min-height: 20px;
  border-top: 1px solid var(--wbb-border);
 }
 .thread-controls { margin-top: 6px; }
 .thread-controls__right { text-align: right; }
 .thread-poll {
  margin-top: 6px;
  margin-bottom: 6px;
  border: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .thread-poll__title,
 .thread-poll__actions,
 .thread-poll__total {
  padding: 4px;
  background: var(--wbb-title-bg);
  color: var(--wbb-title-color);
 }
 .thread-poll__actions { text-align: center; }
 .thread-poll__moderation { font-size: 12px; }
 .thread-poll__option {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 1px;
  border-top: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .thread-poll__option > * { padding: 4px; background: var(--wbb-row-a); }
 .thread-poll__option > :last-child { background: var(--wbb-row-b); }
 .thread-poll__result {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(100px, 30%) auto auto;
  gap: 1px;
  border-top: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .thread-poll__result > * { min-width: 0; padding: 4px; background: var(--wbb-row-a); }
 .thread-poll__result > :nth-child(even) { background: var(--wbb-row-b); }
 .thread-poll__result > :nth-child(2) { overflow: hidden; white-space: nowrap; }
 .thread-poll__result-label { text-align: right; }
 .thread-poll__total {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
 }
 .thread-poll__moderation {
  box-sizing: border-box;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin: 4px auto;
  text-align: right;
 }

 /* Schreib- und Bearbeitungsformulare */
 .compose-page-form {
  margin: 0;
  padding: 0;
 }
 .compose-form,
 .compose-preview,
 .compose-history,
 .compose-delete,
 .compose-error {
  box-sizing: border-box;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .compose-title {
  padding: 4px;
  background: var(--wbb-title-bg);
  color: var(--wbb-title-color);
  font-weight: bold;
 }
 .compose-row {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 1px;
  border-top: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .compose-row > * { min-width: 0; padding: 6px; background: var(--wbb-row-a); }
 .compose-row--alternate > * { background: var(--wbb-row-b); }
 .compose-label { text-align: left; }
 .compose-field { text-align: left; }
 .compose-field input[type="text"] { max-width: 100%; box-sizing: border-box; }
 .compose-board-select { box-sizing: border-box; width: 100%; }
 .compose-message-tools { margin-top: 8px; }
 .compose-editor-controls { margin-bottom: 4px; text-align: left; }
 .compose-editor textarea { box-sizing: border-box; width: 60ch; max-width: 100%; }
 .compose-note { padding: 4px; background: var(--wbb-row-b); }
 .compose-options label { display: block; margin-bottom: 3px; }
 .compose-actions {
  box-sizing: border-box;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin: 8px auto 16px;
  text-align: center;
 }
 .compose-preview { margin-bottom: 8px; }
 .compose-preview__body { padding: 8px; background: var(--wbb-row-b); text-align: left; }
 .compose-preview__message { margin-top: 10px; }
 .compose-error { margin-bottom: 8px; }
 .compose-error__body { padding: 6px; background: var(--wbb-row-a); text-align: left; }
 .compose-history { margin-top: 0; margin-bottom: 12px; padding: 0 !important; background: transparent; }
 .compose-history-row {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 1px;
  border-top: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .compose-history-row > * { padding: 6px; background: var(--thread-post-bg); text-align: left; }
 .compose-history-more { padding: 5px; background: var(--wbb-title-bg); color: var(--wbb-title-color); }
 .compose-delete { margin-bottom: 8px; }
 .compose-delete__body { display: flex; align-items: center; gap: 10px; padding: 6px; background: var(--wbb-row-a); }
 .bbcode-toolbar { text-align: left; }
 .bbcode-toolbar__modes,
 .bbcode-toolbar__row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
 .bbcode-toolbar__row { margin-top: 3px; }
 .bbcode-toolbar__close { margin-left: 4px; }
 .bbcode-close-button { color: red; font-weight: bold; }
 #colorselect option[value="skyblue"] { color: skyblue; }
 #colorselect option[value="royalblue"] { color: royalblue; }
 #colorselect option[value="blue"] { color: blue; }
 #colorselect option[value="darkblue"] { color: darkblue; }
 #colorselect option[value="orange"] { color: orange; }
 #colorselect option[value="orangered"] { color: orangered; }
 #colorselect option[value="crimson"] { color: crimson; }
 #colorselect option[value="red"] { color: red; }
 #colorselect option[value="firebrick"] { color: firebrick; }
 #colorselect option[value="darkred"] { color: darkred; }
 #colorselect option[value="green"] { color: green; }
 #colorselect option[value="limegreen"] { color: limegreen; }
 #colorselect option[value="seagreen"] { color: seagreen; }
 #colorselect option[value="deeppink"] { color: deeppink; }
 #colorselect option[value="tomato"] { color: tomato; }
 #colorselect option[value="coral"] { color: coral; }
 #colorselect option[value="purple"] { color: purple; }
 #colorselect option[value="indigo"] { color: indigo; }
 #colorselect option[value="burlywood"] { color: burlywood; }
 #colorselect option[value="sandybrown"] { color: sandybrown; }
 #colorselect option[value="sienna"] { color: sienna; }
 #colorselect option[value="chocolate"] { color: chocolate; }
 #colorselect option[value="teal"] { color: teal; }
 #colorselect option[value="silver"] { color: silver; }
 .bbcode-smilies { margin-top: 8px; border: 1px solid var(--wbb-border); }
 .bbcode-smilies__title { padding: 4px; background: var(--wbb-title-bg); color: var(--wbb-title-color); }
 .bbcode-smilies__grid { display: grid; grid-template-columns: repeat(3, minmax(30px, 1fr)); background: var(--wbb-row-a); }
 .bbcode-smilie { padding: 4px; border-right: 1px solid var(--wbb-border); border-bottom: 1px solid var(--wbb-border); background: var(--wbb-row-b); text-align: center; }
.bbcode-smilies__more { padding: 4px; background: var(--wbb-row-a); text-align: center; }

.bbcode-syntax { font-family: Tahoma, Helvetica, Arial, sans-serif; }
.bbcode-syntax--plain { color: #000; }
.bbcode-syntax--keyword { color: #0000cc; }
.bbcode-syntax--operator { color: #060; }
.bbcode-syntax--string { color: #c00; }

 /* Suche und Suchergebnisse */
 .search-form { margin: 0; padding: 0; }
 .search-panel,
 .search-thread-list,
 .search-post-list {
  box-sizing: border-box;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin: 0 auto 12px;
  border: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .search-title {
  padding: 4px;
  background: var(--wbb-category-bg);
  color: var(--wbb-category-color);
  font-weight: bold;
 }
 .search-columns { display: grid; gap: 1px; background: var(--wbb-border); }
 .search-columns--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .search-options { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--wbb-border); }
 .search-option-stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--wbb-border); }
 .search-field { min-width: 0; display: flex; flex-direction: column; }
 .search-field__title {
  padding: 4px;
  background: var(--wbb-title-bg);
  color: var(--wbb-title-color);
 }
 .search-field__body { flex: 1; padding: 6px; background: var(--wbb-row-a); text-align: left; }
 .search-field--boards .search-field__body { background: var(--wbb-row-a); }
 .search-field--boards select { box-sizing: border-box; width: 100%; }
 .search-actions { width: var(--wbb-content-width); max-width: calc(100% - 16px); margin: 0 auto 16px; text-align: center; }
 .search-result-nav {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin: 4px auto;
  text-align: left;
 }
 .search-thread-row {
  display: grid;
  grid-template-columns: 38px 28px minmax(210px, 1fr) 74px minmax(90px, 16%) 48px 78px minmax(130px, 18%);
  gap: 1px;
  border-top: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .search-thread-header { border-top: 0; color: var(--wbb-title-color); font-weight: bold; text-align: center; }
 .search-thread-header > div { padding: 4px; background: var(--wbb-title-bg); font-size: 11px; }
 .search-thread-cell { min-width: 0; padding: 4px; background: var(--wbb-row-a); text-align: left; }
 .search-thread-cell:nth-child(even) { background: var(--wbb-row-b); }
 .search-thread-cell--icon,
 .search-thread-cell--threadicon,
 .search-thread-cell--center { display: flex; align-items: center; justify-content: center; text-align: center; }
 .search-thread-cell--last { display: flex; align-items: center; justify-content: flex-end; text-align: right; }
 .search-post-header,
 .search-post__body { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 1px; background: var(--wbb-border); }
 .search-post-header > div { padding: 4px; background: var(--wbb-title-bg); color: var(--wbb-title-color); font-size: 11px; font-weight: bold; }
 .search-post { border-top: 1px solid var(--wbb-border); }
 .search-post__topic { padding: 4px; background: var(--wbb-row-b); text-align: left; }
 .search-post__author,
 .search-post__content { min-width: 0; padding: 6px; background: var(--wbb-row-a); text-align: left; }
 .search-post__stats { margin-top: 16px; }
 .search-post__meta { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid var(--wbb-border); }
 .search-post__message { padding: 8px 0; text-align: left; }

 /* Team und Mitgliederliste */
 .team-list { box-sizing: border-box; width: 550px; max-width: calc(100% - 16px); margin: 0 auto; }
 .team-section { margin-bottom: 44px; border: 1px solid var(--wbb-border); background: var(--wbb-border); }
 .team-section:last-child { margin-bottom: 12px; }
 .team-title { padding: 4px; background: var(--wbb-title-bg); color: var(--wbb-title-color); font-weight: bold; }
 .team-row {
  display: grid;
  grid-template-columns: 54px minmax(170px, 1fr) minmax(110px, 170px) 66px;
  gap: 1px;
  border-top: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .team-section--moderators .team-row { grid-template-columns: 54px minmax(170px, 1fr) minmax(105px, 150px) minmax(100px, 140px) 66px; }
 .team-row--header { border-top: 0; }
 .team-row--header > div,
 .team-cell { min-width: 0; padding: 4px; background: var(--wbb-row-a); text-align: left; }
 .team-row#tableb .team-cell { background: var(--wbb-row-b); }
 .team-cell--status,
 .team-cell--action { display: flex; align-items: center; justify-content: center; text-align: center; }
 .team-cell--name { display: flex; align-items: center; }
 .team-pages { width: 550px; max-width: calc(100% - 16px); margin: 4px auto; text-align: center; }
 .presence-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border: 1px solid #444;
  border-radius: 50%;
  background: #b8b8b8;
  vertical-align: middle;
 }
 .presence-dot.is-online { background: #33b300; }
 .presence-dot.is-offline { background: #d00000; }

 .members-list {
  box-sizing: border-box;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin: 0 auto;
  border: 1px solid var(--wbb-border);
  background: var(--wbb-border);
  overflow-x: auto;
 }
 .members-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 108px 100px 72px 122px 108px 108px 72px;
  gap: 1px;
  border-top: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .members-row--header { border-top: 0; }
 .members-row:last-child { border-bottom: 1px solid var(--wbb-border); }
 .members-row--header > div { padding: 4px; background: var(--wbb-title-bg); color: var(--wbb-title-color); font-size: 11px; font-weight: bold; text-align: center; }
 .members-cell { min-width: 0; padding: 4px; background: var(--wbb-row-a); text-align: center; }
 .members-cell img { max-width: none; }
 .members-cell:nth-child(even) { background: var(--wbb-row-b); }
 .members-cell--name { text-align: left; }
 .members-pages { width: var(--wbb-content-width); max-width: calc(100% - 16px); margin: 4px auto; text-align: center; }

 /* Oeffentliches Benutzerprofil */
 .profile-card {
  box-sizing: border-box;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin: 0 auto 12px;
  border: 1px solid var(--wbb-border);
  background: var(--wbb-border);
  font-size: 12px;
 }
 .profile-heading,
 .profile-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 1px;
  padding: 4px;
  background: var(--wbb-title-bg);
  color: var(--wbb-title-color);
  font-size: 12px;
  font-weight: bold;
 }
 .profile-heading > :last-child { text-align: center; }
 .profile-body { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 1px; background: var(--wbb-border); }
 .profile-details,
 .profile-avatar { min-width: 0; padding: 6px; background: var(--wbb-row-a); }
 .profile-field { display: grid; grid-template-columns: minmax(145px, 28%) minmax(0, 1fr); gap: 8px; padding: 3px 0; text-align: left; }
 .profile-divider { height: 1px; margin: 5px 0; background: var(--wbb-border); }
 .profile-avatar { text-align: center; }
 .profile-usertext { margin-top: 6px; }
 .profile-status { margin-top: 12px; }
 .profile-contact { align-items: center; }
 .profile-contact > :last-child { text-align: right; }

 /* Private Nachrichten */
 .pms-shell {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 14px;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin: 0 auto 12px;
  padding: 5px;
 }
 .pms-sidebar { min-width: 0; }
 .pms-panel,
 .pms-list { border: 1px solid var(--wbb-border); background: var(--wbb-border); }
 .pms-panel { margin-bottom: 12px; }
 .pms-title { padding: 4px; background: var(--wbb-title-bg); color: var(--wbb-title-color); font-size: 12px; font-weight: bold; text-align: center; }
 .pms-folder-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 20px;
  gap: 1px;
  border-top: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .pms-folder-row > * { min-width: 0; padding: 4px; background: var(--wbb-row-a); }
 .pms-folder-row > :nth-child(2) { background: var(--wbb-row-b); text-align: left; }
 .pms-folder-icon { display: flex; align-items: center; justify-content: center; }
 .pms-folder-icon img { display: block; }
 .pms-folder-row--builtin { grid-template-columns: 26px minmax(0, 1fr); }
 .pms-folder-form { margin-left: 0; margin-right: 0; padding: 0; }
 .pms-folder-edit { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 1px; background: var(--wbb-border); }
 .pms-folder-edit > * { min-width: 0; padding: 4px; background: var(--wbb-row-a); }
 .pms-folder-edit > :last-child { background: var(--wbb-row-b); }
 .pms-folder-edit input[type="text"] { box-sizing: border-box; min-width: 0; width: 100%; max-width: none; }
 .pms-message-form { min-width: 0; margin: 0; padding: 0; }
 .pms-list { overflow-x: auto; }
 .pms-row {
  display: grid;
  grid-template-columns: 24px 28px minmax(260px, 1fr) 122px 134px 28px;
  gap: 1px;
  min-width: 640px;
  border-top: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .pms-row:last-child { border-bottom: 1px solid var(--wbb-border); }
 .pms-row--header { border-top: 0; font-size: 11px; font-weight: bold; text-align: center; }
 .pms-row--header > div { min-width: 0; padding: 4px; background: var(--wbb-title-bg); color: var(--wbb-title-color); }
 .pms-header-subject { grid-column: 1 / 4; }
 .pms-header-user { grid-column: 4; }
 .pms-header-date { grid-column: 5; }
 .pms-header-check { grid-column: 6; }
 .pms-cell { min-width: 0; padding: 4px; background: var(--wbb-row-a); }
 .pms-cell:nth-child(even) { background: var(--wbb-row-b); }
 .pms-cell--icon,
 .pms-cell--user,
 .pms-cell--date,
 .pms-cell--check { display: flex; align-items: center; justify-content: center; text-align: center; }
 .pms-cell--subject { text-align: left; }
 .pms-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 5px; }
 .pms-view-actions,
 .pms-view {
  box-sizing: border-box;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin-left: auto;
  margin-right: auto;
 }
 .pms-view-actions { padding: 5px 0; text-align: center; }
 .pms-view-actions--right { text-align: right; }
 .pms-view { border: 1px solid var(--wbb-border); background: var(--wbb-border); }
 .pms-view__title { padding: 4px; background: var(--wbb-title-bg); color: var(--wbb-title-color); font-size: 12px; font-weight: bold; }
 .pms-view__body { padding: 8px; background: var(--wbb-row-a); text-align: left; }
 .pms-view__subject { padding-bottom: 6px; border-bottom: 1px solid var(--wbb-border); }
 .pms-view__message { padding: 10px 0; text-align: left; }
 .confirm-form {
  box-sizing: border-box;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin: 0 auto 12px;
  padding: 0;
  border: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .confirm-title { padding: 4px; background: var(--wbb-title-bg); color: var(--wbb-title-color); font-size: 12px; font-weight: bold; }
 .confirm-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--wbb-border); }
 .confirm-body > * { padding: 6px; background: var(--wbb-row-a); text-align: left; }
 .confirm-body > :last-child { background: var(--wbb-row-b); }

 /* Gemeinsame Formularfelder */
 .form-select--full { width: 100%; }
 .poll-option-list { width: 500px; max-width: 100%; }

 /* Meldungen */
 .report-form,
 .report-list {
  box-sizing: border-box;
  width: var(--wbb-content-width);
  max-width: calc(100% - 16px);
  margin: 0 auto 12px;
  border: 1px solid var(--wbb-border);
  background: var(--wbb-border);
 }
 .report-title { padding: 4px; background: var(--wbb-title-bg); color: var(--wbb-title-color); font-size: 12px; font-weight: bold; }
 .report-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1px; border-top: 1px solid var(--wbb-border); background: var(--wbb-border); }
 .report-row > div { min-width: 0; padding: 8px; background: var(--wbb-row-a); text-align: left; }
 .report-row > div:last-child { background: var(--wbb-row-b); }
 .report-row textarea { box-sizing: border-box; width: 100%; max-width: 100%; resize: vertical; }
 .report-actions { padding: 8px; background: var(--wbb-title-bg); text-align: center; }
 .report-item { display: grid; grid-template-columns: minmax(180px, 30%) minmax(0, 1fr) 170px; gap: 1px; border-top: 1px solid var(--wbb-border); background: var(--wbb-border); }
 .report-item > * { min-width: 0; margin: 0; padding: 8px; background: var(--wbb-row-a); text-align: left; }
 .report-item__reason { background: var(--wbb-row-b); }
 .report-item__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; }
 .report-empty { padding: 10px; border-top: 1px solid var(--wbb-border); background: var(--wbb-row-a); text-align: center; }

 /* Accountfreigaben */
 .account-access-page { box-sizing: border-box; width: var(--wbb-content-width); max-width: calc(100% - 16px); margin: 0 auto 12px; }
.account-access-panel,
.account-link-form { margin: 0 0 12px; border: 1px solid var(--wbb-border); background: var(--wbb-row-a); }
 .account-access-title { padding: 4px; background: var(--wbb-title-bg); color: var(--wbb-title-color); font-size: 12px; font-weight: bold; }
 .account-access-row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, .8fr) auto; gap: 1px; margin: 0; border-top: 1px solid var(--wbb-border); background: var(--wbb-border); }
 .account-access-row > * { min-width: 0; padding: 8px; background: var(--wbb-row-a); text-align: left; }
 .account-access-row > :nth-child(2) { background: var(--wbb-row-b); }
 .account-access-empty { padding: 10px; border-top: 1px solid var(--wbb-border); background: var(--wbb-row-a); }
.account-link-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); background: var(--wbb-row-a); }
.account-link-fields > label { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 8px; border-right: 1px solid var(--wbb-border); border-bottom: 1px solid var(--wbb-border); background: var(--wbb-row-a); text-align: left; }
 .account-link-fields > label:nth-child(even) { background: var(--wbb-row-b); }
 .account-link-fields > .account-link-check { flex-direction: row; align-items: center; }
.account-link-actions { padding: 8px; background: var(--wbb-row-a); text-align: center; }

 /* Einheitliche Font-Awesome-Aktionsbuttons */
 .fa-text-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 20px;
  padding: 2px 5px;
  border: 1px solid var(--wbb-border);
  background: var(--wbb-row-a);
  color: #000 !important;
  font: inherit;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
 }
 .fa-text-button:hover,
 .fa-text-button:focus { background: var(--wbb-row-b); text-decoration: underline; }
 .fa-text-button[aria-disabled="true"],
 .fa-text-button.is-disabled,
 .fa-text-button:disabled {
  background: var(--wbb-row-b);
  color: #555 !important;
  opacity: 1;
  cursor: not-allowed;
 }
 .fa-text-button .fa-solid { width: 1em; font-size: 11px; text-align: center; }
 .thread-toolbar a.fa-text-button,
 .thread-controls a.fa-text-button,
 .board-toolbar a.fa-text-button,
 .board-controls a.fa-text-button {
  background: var(--wbb-row-a);
  color: #000 !important;
 }
 .thread-toolbar a.fa-text-button:hover,
 .thread-toolbar a.fa-text-button:focus,
 .thread-controls a.fa-text-button:hover,
 .thread-controls a.fa-text-button:focus,
 .board-toolbar a.fa-text-button:hover,
 .board-toolbar a.fa-text-button:focus,
 .board-controls a.fa-text-button:hover,
 .board-controls a.fa-text-button:focus { background: var(--wbb-row-b); }
 .fa-icon-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 1px;
  border: 1px solid var(--wbb-border);
  background: var(--wbb-row-a);
  color: #000 !important;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
 }
 .fa-icon-button:hover,
 .fa-icon-button:focus { background: var(--wbb-row-b); text-decoration: none; }
 .user-status-icon { width: 1em; font-size: 9px; text-align: center; }
 .user-status-icon--online { color: #168234; }
 .user-status-icon--offline { color: #9b1c1c; }
 .thread-post__actions .fa-text-button,
 .bbcode-toolbar .fa-text-button { font-size: 10px; }

 /* Responsive Anordnung */
 @media (max-width: 850px) {
  .index-board-header { display: none; }
  .index-board-row { grid-template-columns: 46px minmax(0, 1fr) 54px 54px; }
  .index-board-cell--lastpost,
  .index-board-cell--moderators { grid-column: 1 / -1; }
  .index-board-cell--moderators:empty { display: none; }
  .index-board-cell--lastpost { justify-content: flex-start; }
  .index-board-cell--moderators { text-align: left; }
  .index-lastpost { justify-content: flex-start; }
  .index-lastpost__text { text-align: left; }
  .index-info-content.index-stats { grid-template-columns: 1fr; }
  .index-legend { justify-content: flex-start; flex-wrap: wrap; }
  .board-thread-row { grid-template-columns: 38px 28px minmax(0, 1fr) 52px; }
  .board-thread-header { display: none; }
  .board-thread-cell--author,
  .board-thread-cell--lastpost { grid-column: 1 / -1; }
  .board-thread-cell--views,
  .board-thread-cell--rating { display: none; }
  .board-thread-cell--author { text-align: left; }
  .board-thread-cell--lastpost { justify-content: flex-start; text-align: left; }
  .board-toolbar,
  .board-controls { align-items: flex-start; flex-direction: column; }
  .board-toolbar__right,
  .board-controls__right { width: 100%; text-align: left; }
  .thread-view__header { grid-template-columns: 1fr; }
  .thread-view__header > div:first-child { display: none; }
  .thread-post {
   grid-template-columns: 1fr;
   grid-template-areas: "author" "body" "date" "contact";
  }
  .thread-post__author,
  .thread-post__body,
  .thread-post__date,
  .thread-post__contact { grid-column: 1; grid-row: auto; }
  .thread-post__author-inner { min-width: 0; }
  .thread-post__head { align-items: flex-start; }
  .thread-toolbar,
  .thread-controls { align-items: flex-start; flex-direction: column; }
  .thread-controls__right { width: 100%; text-align: left; }
  .thread-poll__result { grid-template-columns: minmax(0, 1fr) minmax(80px, 30%) auto auto; }
 .compose-row,
 .compose-history-row { grid-template-columns: 1fr; }
  .forum-form-row,
  .forum-inline-login { grid-template-columns: 1fr; }
  .forum-inline-login label { align-items: flex-start; flex-direction: column; }
  .user-list-page { grid-template-columns: 1fr; }
  .signature-editor__layout { grid-template-columns: 1fr; }
  .settings-row { grid-template-columns: 1fr; }
  .usercp-overview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .favorites-row--header { display: none; }
  .favorites-board-row { grid-template-columns: 38px minmax(0, 1fr) 54px 54px; }
  .favorites-board-row .favorites-lastpost { grid-column: 1 / -1; justify-content: flex-start; text-align: left; }
  .favorites-thread-row { grid-template-columns: 34px 28px minmax(0, 1fr) 54px; }
  .favorites-thread-row > :nth-child(5),
  .favorites-thread-row > :nth-child(6),
  .favorites-thread-row > :nth-child(7) { display: none; }
  .favorites-thread-row .favorites-lastpost { grid-column: 1 / -1; justify-content: flex-start; text-align: left; }
  .compose-delete__body { align-items: flex-start; flex-direction: column; }
  .bbcode-toolbar__close { width: 100%; margin-left: 0; }
  .search-columns--two,
  .search-options { grid-template-columns: 1fr; }
  .search-thread-header { display: none; }
  .search-thread-row { grid-template-columns: 38px 28px minmax(0, 1fr) 54px; }
  .search-thread-cell:nth-child(n) { background: var(--wbb-row-a); }
  .search-thread-cell--threadicon,
  .search-thread-cell--center { background: var(--wbb-row-b); }
  .search-thread-cell:nth-child(5),
  .search-thread-cell--last { grid-column: 1 / -1; justify-content: flex-start; text-align: left; }
  .search-thread-cell:nth-child(6),
  .search-thread-cell:nth-child(7) { display: none; }
  .search-post-header { display: none; }
  .search-post__body { grid-template-columns: 1fr; }
  .search-post__stats { margin-top: 4px; }
  .search-post__meta,
  .search-result-nav { align-items: flex-start; flex-direction: column; }
  .team-row,
  .team-section--moderators .team-row { grid-template-columns: 48px minmax(0, 1fr) 58px; }
  .team-row--header > div:nth-child(3),
  .team-section--moderators .team-row--header > div:nth-child(3),
  .team-section--moderators .team-row--header > div:nth-child(4) { display: none; }
  .team-cell--status { grid-column: 1; grid-row: 1; }
  .team-cell--name { grid-column: 2; grid-row: 1; }
  .team-cell--action { grid-column: 3; grid-row: 1; }
  .team-cell:nth-child(3) { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .team-section--moderators .team-cell:nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
  .team-section--moderators .team-cell:nth-child(4) { grid-column: 1 / -1; grid-row: 3; text-align: left; }
  .team-row--header > div:last-child { grid-column: 3; grid-row: 1; }
  .members-row { min-width: 760px; grid-template-columns: minmax(150px, 1fr) 82px 76px 62px 96px 88px 94px 62px; }
  .profile-heading { grid-template-columns: 1fr; }
  .profile-heading > :last-child { display: none; }
  .profile-body { grid-template-columns: 1fr; }
  .profile-avatar { grid-row: 1; }
  .profile-contact { grid-template-columns: 1fr; gap: 6px; }
  .profile-contact > :last-child { text-align: left; }
  .profile-field { grid-template-columns: 1fr; gap: 2px; }
  .pms-shell { grid-template-columns: 1fr; }
  .pms-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pms-panel { margin-bottom: 0; }
  .pms-actions { align-items: flex-start; flex-direction: column; }
  .confirm-body { grid-template-columns: 1fr; }
  .report-row,
  .report-item { grid-template-columns: 1fr; }
  .account-access-row,
  .account-link-fields { grid-template-columns: 1fr; }
 }

.forum-confirm,
.forum-panel__content {
 padding: 8px;
 background: var(--wbb-row-a);
}

.forum-panel__content--alternate { background: var(--wbb-row-b); }
.header-notification-button.has-unread { font-weight: bold; }
.notification-page__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.notification-page__title form { margin: 0; }
.notification-list { background: var(--wbb-row-a); }
.notification-item {
 display: grid;
 grid-template-columns: 34px minmax(0,1fr) minmax(110px,auto);
 align-items: center;
 gap: 8px;
 padding: 8px;
 border-top: 1px solid var(--wbb-border);
 background: var(--wbb-row-a);
 color: #000;
 text-decoration: none;
}
.notification-item:nth-child(even) { background: var(--wbb-row-b); }
.notification-item--unread { border-left: 4px solid var(--wbb-title-bg); font-weight: normal; }
.notification-item__icon { text-align: center; font-size: 16px; }
.notification-item__content,.notification-item__meta { display: flex; flex-direction: column; gap: 2px; }
.notification-item__meta { text-align: right; font-size: 10px; }
.notification-empty { padding: 12px; text-align: center; }
.post-attachments { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 8px 0; padding: 6px; border-top: 1px solid var(--wbb-border); background: var(--wbb-row-b); }
.post-attachment small { font-size: 9px; }
.post-image { max-width: 100%; height: auto; }
@media (max-width:620px) {
 .notification-item { grid-template-columns: 28px minmax(0,1fr); }
 .notification-item__meta { grid-column: 2; text-align: left; }
}
.page-context { font-size: 10px; }
.form-help { display: block; margin-top: 2px; font-size: 10px; font-weight: normal; line-height: 1.25; }
.form-help--inline { display: inline; margin: 0 0 0 4px; }
.signature-content { font-size: 12px; line-height: 1.3; }
.forum-font,
.forum-normalfont { font-size: 11px; line-height: 1.2; }
.forum-smallfont { font-size: 10px; line-height: 1.2; }
.gender-icon {
 display: inline-block;
 margin-left: 3px;
 font-size: 11px;
 line-height: 1;
 vertical-align: baseline;
}
.gender-icon--male { color: #1266a8; }
.gender-icon--female { color: #8a3d6d; }
.avatar-preview { margin-top: 4px; }
.option-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.option-stack--inline { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.form-input--wide { width: min(100%, 420px); }
.text-action {
 padding: 0;
 border: 0;
 background: transparent;
 color: inherit;
 font: inherit;
 text-decoration: underline;
 cursor: pointer;
}

.compact-data-row {
 display: grid;
 grid-template-columns: minmax(180px, 42%) minmax(0, 1fr);
 border-top: 1px solid var(--wbb-border);
 background: var(--wbb-row-a);
 color: #000;
 text-align: left;
}
.compact-data-row > * { min-width: 0; padding: 7px; }
.compact-data-row > :last-child { border-left: 1px solid var(--wbb-border); background: var(--wbb-row-b); }
.popup-page { box-sizing: border-box; min-height: 100vh; margin: 0; padding: 8px; }
.compact-popup-panel { width: min(360px, 100%); margin: 0 auto; }
.compact-popup-panel--wide { width: min(680px, 100%); }
.compact-list { background: var(--wbb-row-a); }
.compact-list__header,
.compact-list__row { display: grid; border-top: 1px solid var(--wbb-border); }
.compact-list__header { background: var(--wbb-title-bg); color: var(--wbb-title-color); font-weight: bold; }
.compact-list__header > *,
.compact-list__row > * { min-width: 0; padding: 5px; }
.compact-list__header > * + *,
.compact-list__row > * + * { border-left: 1px solid var(--wbb-border); }
.compact-list__row:nth-child(odd) { background: var(--wbb-row-b); }
.compact-list--authors .compact-list__header,
.compact-list--authors .compact-list__row { grid-template-columns: minmax(0, 1fr) 72px; }
.compact-message-row { grid-template-columns: 28px minmax(180px, 1fr) minmax(100px, 24%) minmax(115px, 24%); align-items: center; }
.thread-subscription-form { display: inline; margin: 0; padding: 0; }
.thread-subscription-form button {
 margin: 0;
 padding: 0;
 border: 0;
 background: transparent;
 color: inherit;
 font: inherit;
 text-decoration: underline;
 cursor: pointer;
}

@media (max-width: 620px) {
 .compact-data-row { grid-template-columns: 1fr; }
 .compact-data-row > :last-child { border-top: 1px solid var(--wbb-border); border-left: 0; }
 .compact-message-row { grid-template-columns: 28px minmax(0, 1fr); }
 .compact-message-row > :nth-child(3),
 .compact-message-row > :nth-child(4) { grid-column: 1 / -1; border-top: 1px solid var(--wbb-border); border-left: 0; }
}

 @media (max-width: 520px) {
  .pms-sidebar { grid-template-columns: 1fr; }
  .usercp-overview__grid { grid-template-columns: 1fr; }
 }
