/* Unterseiten: Module & FAQ */

.kb-page-hero {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 44rem;
}

.kb-page-kicker {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #22d3ee;
}

.kb-page-title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.kb-page-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* Rechtstexte: Impressum & Datenschutz */
.kb-legal {
  max-width: 42rem;
  margin: 0 auto;
  text-align: left;
}

.kb-legal-block {
  margin-bottom: 28px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
}

.kb-legal-block h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.kb-legal-block p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.kb-legal-block p:last-child {
  margin-bottom: 0;
}

.kb-legal-block ul {
  margin: 0 0 12px;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.kb-legal-block li {
  margin-bottom: 6px;
}

.kb-legal-block li:last-child {
  margin-bottom: 0;
}

.kb-legal-block code {
  font-size: 0.84em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #93c5fd;
}

.kb-legal-block a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.kb-legal-block a:hover {
  color: #93c5fd;
}

.kb-legal-meta {
  margin: 8px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted2);
  text-align: center;
}

.kb-legal-meta a {
  color: #60a5fa;
}

.kb-module-groups {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kb-module-group-title {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted2);
}

.kb-module-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.kb-module-acc-group.is-filtered-out {
  display: none !important;
}

/* /module — nutzt .kb-mod-acc aus home.css; nur Zusatz für Inhalte */
.kb-mod-acc--page.is-filtered-out {
  display: none !important;
}

.kb-mod-acc-inner--rich .kb-module-tags {
  margin-bottom: 10px;
}

.kb-mod-acc-inner--rich .kb-module-desc {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.kb-mod-acc-inner--rich .kb-module-bullets {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.kb-module-detail {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  transition: border-color 0.15s, transform 0.15s;
}

.kb-module-detail:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-2px);
}

.kb-module-detail--premium {
  border-color: rgba(251, 191, 36, 0.28);
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.06), rgba(255, 255, 255, 0.04));
}

.kb-module-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.kb-module-detail-head h3 {
  margin: 0;
  flex: 1;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.kb-module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.kb-module-tag {
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.28);
}

.kb-module-tag--premium {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.35);
}

.kb-module-tag--discord {
  color: #a5b4fc;
  background: rgba(88, 101, 242, 0.14);
  border-color: rgba(88, 101, 242, 0.3);
}

.kb-module-desc {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.kb-module-bullets {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.kb-module-bullets li {
  margin-bottom: 4px;
}

.kb-page-cta {
  margin-top: 48px;
  text-align: center;
}

.kb-page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.kb-page-cta-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  margin: 0;
  white-space: nowrap;
}

/* Homepage Auth (Mitteilungen + Profil) — Basis in home.css */
#kbNavAuth .kb-home-cta {
  padding: 8px 14px !important;
  font-size: 0.84rem !important;
}

.kb-notify-wrap {
  position: relative;
}

.kb-notify-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background: #ef4444;
  border: 2px solid rgba(12, 10, 24, 0.95);
}

.kb-notify-badge.hidden {
  display: none !important;
}

.kb-notify-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, 90vw);
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(8, 14, 28, 0.98);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  z-index: 100;
}

.kb-notify-panel.hidden {
  display: none !important;
}

.kb-notify-empty {
  margin: 0;
  padding: 12px;
  font-size: 0.84rem;
  color: var(--muted);
}

.kb-notify-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.kb-notify-item:hover {
  background: rgba(96, 165, 250, 0.12);
}

.kb-notify-item-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.kb-notify-item-meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: #22d3ee;
}

.kb-notify-item-preview {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Tickets-Seite */
.kb-tickets-main {
  max-width: 72rem;
}

.kb-tickets-intro {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 40rem;
}

.st-login-card {
  max-width: 28rem;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}

.st-login-card a {
  color: #93c5fd;
  font-weight: 700;
}

/* Support-Ticket UI (öffentlich + Dashboard) */
.st-app {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(8, 8, 18, 0.65);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.st-app--dash {
  min-height: min(72vh, 720px);
}

.account-page--support {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.account-page--support .st-app--dash {
  flex: 1;
  min-height: 520px;
}

.st-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}

.st-toolbar .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.st-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.st-filter {
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.st-filter:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.st-filter.is-active {
  color: #fff;
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(96, 165, 250, 0.14);
}

.st-shell {
  display: grid;
  grid-template-columns: minmax(260px, 300px) 1fr;
  min-height: 480px;
}

.st-inbox {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.22);
  min-height: 0;
}

.st-inbox-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--glass-border);
}

.st-inbox-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted2);
  display: block;
  margin-bottom: 10px;
}

.st-inbox-search {
  width: 100%;
  font-size: 0.82rem;
  padding: 8px 10px;
}

.st-inbox-time {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted2);
  white-space: nowrap;
}

.st-inbox-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 200px;
  max-height: min(62vh, 600px);
}

.st-app--dash .st-inbox-list {
  max-height: none;
}

.st-inbox-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.st-inbox-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.st-inbox-item.is-active {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.12);
}

.st-inbox-av {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(96, 165, 250, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #93c5fd;
}

.st-inbox-av--type.st-inbox-av--question {
  background: rgba(96, 165, 250, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}

.st-inbox-av--type.st-inbox-av--bug {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.st-inbox-av--type.st-inbox-av--partner {
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
}

.st-inbox-av--type.st-inbox-av--creator {
  background: rgba(96, 165, 250, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.38);
  color: #93c5fd;
}

.st-inbox-av--user {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.st-inbox-av-wrap {
  flex-shrink: 0;
}

.st-badge--icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.st-badge--icon .st-type-icon-svg {
  flex-shrink: 0;
}

.st-conv-header-main {
  flex: 1;
  min-width: 0;
}

.st-delete-ticket-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.st-delete-ticket-btn:hover {
  background: rgba(248, 113, 113, 0.2);
  border-color: rgba(248, 113, 113, 0.55);
  color: #fecaca;
}

.st-delete-ticket-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.st-empty-ico--svg {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #93c5fd;
}

.st-inbox-av img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.st-inbox-body {
  min-width: 0;
}

.st-inbox-subject {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-inbox-preview {
  display: block;
  margin-top: 3px;
  font-size: 0.76rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-inbox-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.st-badge {
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.st-badge--open {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.15);
}

.st-badge--answered {
  color: #86efac;
  background: rgba(74, 222, 128, 0.12);
}

.st-badge--closed {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
}

.st-badge--bug {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.12);
}

.st-badge--question {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.15);
}

.st-badge--partner {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.14);
}

.st-badge--creator {
  color: #fbcfe8;
  background: rgba(236, 72, 153, 0.16);
}

.st-partner-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  margin-bottom: 4px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.06);
}

.st-partner-fields-hint {
  margin: 0 0 4px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted2);
}

.st-partner-meta {
  margin-top: 12px;
  padding: 12px 14px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.st-partner-meta-row {
  margin: 0 0 8px;
  color: var(--muted);
  white-space: pre-wrap;
}

.st-partner-meta-row:last-child {
  margin-bottom: 0;
}

.st-partner-meta-row strong {
  color: #e9d5ff;
}

.st-badge--new {
  color: #fff;
  background: #22d3ee;
}

.st-conversation {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  min-width: 0;
}

.st-conversation--empty {
  align-items: center;
  justify-content: center;
}

.st-empty {
  text-align: center;
  padding: 32px 24px;
  max-width: 28rem;
}

.st-empty-ico {
  font-size: 2.2rem;
  margin-bottom: 10px;
  opacity: 0.85;
}

.st-empty-title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.st-empty-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.st-conv-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
}

.st-conv-header h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.st-conv-sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.st-conv-sub .admin-muted-id {
  margin-left: 6px;
}

.st-chat {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
}

.st-bubble {
  max-width: min(92%, 560px);
  padding: 0;
  border: none;
  background: transparent;
}

.st-bubble-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.st-bubble--user .st-bubble-row {
  flex-direction: row-reverse;
}

.st-bubble-av {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

.st-bubble-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.st-bubble-av-fallback {
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
}

.st-bubble-content {
  max-width: min(85%, 520px);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
}

.st-bubble--user {
  align-self: flex-end;
}

.st-bubble--user .st-bubble-content {
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(96, 165, 250, 0.12);
  border-bottom-right-radius: 4px;
}

.st-bubble--admin {
  align-self: flex-start;
}

.st-bubble--admin .st-bubble-content {
  border-color: rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.08);
  border-bottom-left-radius: 4px;
}

.st-bubble-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.7rem;
  color: var(--muted2);
}

.st-bubble-meta strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
}

.st-bubble-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  word-break: break-word;
}

.st-bubble-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.st-bubble-imgs a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.st-bubble-imgs img {
  display: block;
  max-width: 200px;
  max-height: 140px;
  object-fit: cover;
}

.st-composer {
  padding: 14px 16px;
  border-top: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
}

.st-composer--toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.st-composer-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.st-composer-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.st-composer--closed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.st-reply-attach-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.st-reply-attach-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.st-reply-attach-btn:hover {
  border-color: var(--glass-border-strong);
  color: #fff;
}

.st-reply-attach-hint {
  font-size: 0.72rem;
  color: var(--muted2);
}

.st-shot-preview--inline {
  margin-top: 0;
}

.st-composer-form .st-composer-main .st-textarea {
  flex: none;
  width: 100%;
}

.st-composer-av {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
}

.st-composer-av--fallback {
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.st-composer-form .st-textarea {
  flex: 1;
  min-height: 44px;
  max-height: 140px;
  resize: vertical;
}

.st-composer-form .btn {
  flex-shrink: 0;
  min-height: 44px;
}

.st-admin-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
}

.st-admin-bar .inp-select {
  min-width: 140px;
}

.st-muted-inline {
  margin: 0;
  padding: 12px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Neues Ticket Modal */
.st-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.st-modal.hidden {
  display: none !important;
}

.st-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.st-modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(8, 14, 28, 0.98);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.st-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.st-modal-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.st-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.st-modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--glass-border);
}

.st-lbl-opt {
  font-weight: 500;
  color: var(--muted2);
}

.st-file-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 12px;
  border: 1px dashed rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.06);
  cursor: pointer;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.st-file-drop input {
  display: none;
}

.st-shot-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-shot-thumb {
  position: relative;
  width: 72px;
  height: 72px;
}

.st-shot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
}

.st-shot-rm {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.btn-welcome--ghost {
  background: transparent !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: none !important;
}

.st-inbox-loading {
  padding: 16px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .st-shell {
    grid-template-columns: 1fr;
  }
  .st-inbox {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    max-height: 240px;
  }
  .st-inbox-list {
    max-height: 200px;
  }
}

@media (max-width: 767px) {
  .kb-home-auth .topnav-username {
    display: none;
  }
}

/* FAQ */
.kb-faq-list {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kb-faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.kb-faq-item.is-open {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.06);
}

.kb-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s;
}

.kb-faq-q:hover {
  color: #93c5fd;
}

.kb-faq-chev {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--muted);
}

.kb-faq-item.is-open .kb-faq-chev {
  transform: rotate(180deg);
  color: #93c5fd;
}

.kb-faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.kb-faq-item.is-open .kb-faq-a {
  display: block;
}

.kb-faq-a a {
  color: #93c5fd;
  font-weight: 600;
}

.kb-faq-a code {
  font-size: 0.85em;
  color: #93c5fd;
}

.kb-faq-contact {
  margin-top: 40px;
  padding: 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}

.kb-faq-contact h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.kb-faq-contact p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---- Öffentliche Status-Seite ---- */

.kb-status-main {
  max-width: 42rem;
  margin: 0 auto;
  padding-bottom: 48px;
}

.kb-status-overall {
  margin-bottom: 32px;
}

.kb-status-overall-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, opacity 0.2s;
}

.kb-status-overall-card.is-loading {
  opacity: 0.7;
}

.kb-status-overall-card--operational {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.06);
}

.kb-status-overall-card--degraded {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.06);
}

.kb-status-overall-card--outage,
.kb-status-overall-card--unknown {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.06);
}

.kb-status-pulse {
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #94a3b8;
  box-shadow: 0 0 0 0 rgba(148, 163, 184, 0.5);
  animation: kb-status-pulse 2s ease infinite;
}

.kb-status-pulse[data-status="operational"],
.kb-status-overall-card--operational .kb-status-pulse {
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45);
}

.kb-status-pulse[data-status="degraded"],
.kb-status-overall-card--degraded .kb-status-pulse {
  background: #fbbf24;
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.45);
}

.kb-status-pulse[data-status="outage"],
.kb-status-pulse[data-status="unknown"],
.kb-status-overall-card--outage .kb-status-pulse,
.kb-status-overall-card--unknown .kb-status-pulse {
  background: #f87171;
  box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.45);
}

@keyframes kb-status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.kb-status-maint-banner {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
}

.kb-status-maint-banner.hidden {
  display: none;
}

.kb-status-maint-lead {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: #fde68a;
  font-weight: 600;
}

.kb-status-maint-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kb-status-maint-chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.kb-status-maint-chip--home {
  border-color: rgba(96, 165, 250, 0.4);
}

.kb-status-maint-chip--dashboard {
  border-color: rgba(251, 191, 36, 0.45);
}

.kb-status-overall-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted2);
}

.kb-status-overall-value {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.kb-status-overall-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.kb-status-section {
  margin-bottom: 28px;
}

.kb-status-section-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.kb-status-section-desc {
  margin: -6px 0 12px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.kb-status-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kb-status-service,
.kb-status-guild-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}

.kb-status-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #94a3b8;
}

.kb-status-service--operational .kb-status-dot,
.kb-status-guild-card--operational .kb-status-dot {
  background: #34d399;
}

.kb-status-service--degraded .kb-status-dot,
.kb-status-guild-card--degraded .kb-status-dot {
  background: #fbbf24;
}

.kb-status-service--outage .kb-status-dot,
.kb-status-guild-card--outage .kb-status-dot,
.kb-status-service--unknown .kb-status-dot,
.kb-status-guild-card--unknown .kb-status-dot {
  background: #f87171;
}

.kb-status-service-body,
.kb-status-guild-body {
  flex: 1;
  min-width: 0;
}

.kb-status-service-name,
.kb-status-guild-name {
  display: block;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.kb-status-service-detail,
.kb-status-guild-detail {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.kb-status-service-meta {
  text-align: right;
  flex-shrink: 0;
}

.kb-status-service-state,
.kb-status-guild-state {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted2);
}

.kb-status-service-lat {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.kb-status-guild-id {
  display: block;
  font-size: 0.72rem;
  color: var(--muted2);
  font-variant-numeric: tabular-nums;
}

.kb-status-guild-meta {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

.kb-status-lookup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.kb-status-lookup-inp {
  flex: 1;
  min-width: 200px;
}

.kb-status-hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.kb-status-hint--warn {
  color: #fcd34d;
}

.kb-status-incidents {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kb-status-incident {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}

.kb-status-incident--active {
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.05);
}

.kb-status-incident--active.kb-status-incident--critical {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.06);
}

.kb-status-incident-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.kb-status-incident-head strong {
  color: #fff;
  font-size: 0.92rem;
}

.kb-status-incident-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted2);
}

.kb-status-incident--active .kb-status-incident-badge {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.15);
}

.kb-status-incident-msg {
  margin: 0 0 8px;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

.kb-status-incident-time {
  font-size: 0.75rem;
  color: var(--muted2);
}

.kb-status-empty {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.kb-status-refresh-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted2);
  margin: 8px 0 0;
}

.kb-status-refresh-btn {
  margin-left: 6px;
  padding: 0;
  border: none;
  background: none;
  color: #60a5fa;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.kb-status-footer {
  margin-top: 24px;
  padding: 24px 16px 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted2);
}

.kb-status-footer a {
  color: var(--muted2);
  text-decoration: none;
}

.kb-status-footer a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* Wartungsseite */
.kb-wartung-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.kb-wartung-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 64px;
}

.kb-wartung-card {
  width: min(520px, 100%);
  text-align: center;
  padding: 36px 28px 32px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.kb-wartung-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.kb-wartung-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted2);
}

.kb-wartung-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
}

.kb-wartung-lead {
  margin: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.kb-wartung-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
