:root {
  --bg: #07101b;
  --bg-deep: #040a12;
  --surface: #0d1928;
  --surface-2: #101f31;
  --surface-3: #13253a;
  --surface-soft: rgba(19, 37, 58, .72);
  --text: #edf3f8;
  --text-soft: #c2cfda;
  --muted: #8192a2;
  --line: rgba(159, 179, 199, .14);
  --line-strong: rgba(215, 180, 104, .35);
  --gold: #d7b468;
  --gold-light: #f0d590;
  --gold-dark: #9c7430;
  --blue: #3184c6;
  --blue-light: #64b3ea;
  --green: #4fc58c;
  --red: #e16f76;
  --discord: #5865f2;
  --shadow: 0 20px 55px rgba(0, 0, 0, .34);
  --radius: 8px;
  --radius-lg: 12px;
}

/* ===== Bieberstedt News Network & Auszeichnungen ===== */
.dashboard-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin: 0 0 17px;
}
.dashboard-showcase-grid.awards-only { grid-template-columns: 1fr; }
.dashboard-award-strip {
  min-height: 98px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 17px;
}
.dashboard-award-strip > span {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  padding: 9px 5px;
  border: 1px solid color-mix(in srgb, var(--award-color) 24%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--award-color) 6%, rgba(8, 18, 30, .9));
}
.dashboard-award-strip i {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: color-mix(in srgb, var(--award-color) 82%, white);
  background: color-mix(in srgb, var(--award-color) 12%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--award-color) 12%, transparent);
  font-size: 16px;
  font-style: normal;
}
.dashboard-award-strip b {
  max-width: 100%;
  overflow: hidden;
  color: #8ea1ae;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}
.profile-showcase.awards-only { grid-template-columns: 1fr; }
.profile-awards {
  min-height: 105px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 30, 47, .94), rgba(8, 18, 30, .96));
  box-shadow: 0 13px 32px rgba(0, 0, 0, .16);
}
.profile-awards h2 { margin: 4px 0 12px; font-size: 14px; }
.profile-award-list { display: flex; flex-wrap: wrap; gap: 7px; }
.profile-award {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 4px 10px 4px 5px;
  border: 1px solid color-mix(in srgb, var(--award-color) 24%, var(--line));
  border-radius: 99px;
  color: #b8c5ce;
  background: color-mix(in srgb, var(--award-color) 6%, transparent);
  font-size: 8px;
}
.profile-award i {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: color-mix(in srgb, var(--award-color) 82%, white);
  background: color-mix(in srgb, var(--award-color) 13%, transparent);
  font-style: normal;
}
.profile-award.rarity-legendary { box-shadow: 0 0 22px color-mix(in srgb, var(--award-color) 10%, transparent); }

/* BNN erhält bewusst eine eigenständige, redaktionelle Bildsprache. */
.bnn-page { min-height: 65vh; padding-bottom: 58px; background: linear-gradient(180deg, rgba(3, 8, 13, .25), transparent 300px); }
.bnn-masthead {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(105deg, rgba(166, 24, 35, .12), transparent 42%),
    #05090e;
}
.bnn-masthead > .container {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bnn-brand { display: flex; align-items: center; gap: 17px; }
.bnn-brand > span {
  min-width: 88px;
  color: #fff;
  font: 950 clamp(38px, 6vw, 59px)/.85 Arial Black, Arial, sans-serif;
  letter-spacing: -.09em;
  text-shadow: 4px 0 #b31e2b;
}
.bnn-brand > div { display: flex; flex-direction: column; padding-left: 17px; border-left: 1px solid rgba(255, 255, 255, .14); }
.bnn-brand strong { color: #f5f7f8; font-family: Georgia, serif; font-size: clamp(18px, 3vw, 27px); line-height: 1.1; }
.bnn-brand small { margin-top: 5px; color: #7e8c96; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.bnn-masthead time { color: #788792; font: 600 9px/1.3 Georgia, serif; }
.bnn-breaking { border-bottom: 1px solid rgba(179, 30, 43, .4); background: #8f1924; }
.bnn-breaking > .container {
  min-height: 37px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.bnn-breaking strong { color: #fff; font-size: 8px; letter-spacing: .13em; }
.bnn-breaking > .container > div { min-width: 0; display: flex; gap: 28px; overflow: hidden; }
.bnn-breaking a { overflow: hidden; color: #fff; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.bnn-content { padding-top: 22px; }
.bnn-category-nav {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 0 0 13px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
.bnn-category-nav a {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 7px;
  color: #778995;
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.bnn-category-nav a:hover,
.bnn-category-nav a.active { color: #fff; background: #9f1b27; }
.bnn-lead-story {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  overflow: hidden;
  display: flex;
  align-items: end;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background:
    linear-gradient(105deg, rgba(127, 18, 29, .16), transparent 48%),
    linear-gradient(145deg, #14293a, #080f18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .27);
}
.bnn-lead-story.has-cover {
  background-image:
    linear-gradient(90deg, rgba(3, 7, 11, .94) 0, rgba(3, 7, 11, .72) 47%, rgba(3, 7, 11, .18) 100%),
    var(--bnn-cover);
  background-position: center;
  background-size: cover;
}
.bnn-lead-story::after {
  content: "BNN";
  position: absolute;
  z-index: -1;
  right: 35px;
  top: 24px;
  color: rgba(255, 255, 255, .028);
  font: 950 170px/.8 Arial Black, sans-serif;
  letter-spacing: -.11em;
}
.bnn-lead-story > div { width: min(680px, 100%); padding: clamp(28px, 5vw, 58px); }
.bnn-lead-story > div > span,
.bnn-article > header > span,
.bnn-editor-preview > div > span {
  color: #e85360;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.bnn-lead-story h1 {
  margin: 10px 0 13px;
  font-family: Georgia, serif;
  font-size: clamp(33px, 5.7vw, 66px);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.035em;
}
.bnn-lead-story p { max-width: 620px; margin: 0; color: #a3b0b9; font: 16px/1.58 Georgia, serif; }
.bnn-lead-story footer { display: flex; align-items: center; justify-content: space-between; gap: 17px; margin-top: 25px; }
.bnn-lead-story footer small { color: #6f7f89; font-size: 8px; }
.bnn-empty-lead {
  margin-top: 18px;
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  background: rgba(11, 24, 38, .76);
}
.bnn-empty-lead > span { color: #a91e2a; font: 950 44px/1 Arial Black, sans-serif; letter-spacing: -.08em; }
.bnn-empty-lead h1 { margin: 9px 0 4px; font-family: Georgia, serif; }
.bnn-empty-lead p { margin: 0; color: #768995; }
.bnn-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-top: 20px; }
.bnn-story-grid > article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 21, 33, .92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
  transition: transform .18s ease, border-color .18s ease;
}
.bnn-story-grid > article:hover { transform: translateY(-3px); border-color: rgba(199, 56, 68, .28); }
.bnn-story-image {
  position: relative;
  min-height: 175px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #152c3e, #0a121c);
}
.bnn-story-image img { width: 100%; height: 175px; object-fit: cover; transition: transform .3s ease; }
.bnn-story-grid > article:hover .bnn-story-image img { transform: scale(1.025); }
.bnn-story-image.fallback > span { color: rgba(255, 255, 255, .08); font: 950 58px/1 Arial Black, sans-serif; letter-spacing: -.1em; }
.bnn-story-image > b { position: absolute; left: 10px; top: 10px; padding: 5px 7px; border-radius: 4px; color: #fff; background: #a51d29; font-size: 7px; text-transform: uppercase; letter-spacing: .08em; }
.bnn-story-grid > article > div { padding: 17px; }
.bnn-story-grid small { color: #d34c58; font-size: 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.bnn-story-grid h2 { margin: 7px 0; color: #e7ecef; font: 700 20px/1.17 Georgia, serif; }
.bnn-story-grid h2 a:hover { color: #ef8e96; }
.bnn-story-grid p {
  display: -webkit-box;
  min-height: 55px;
  overflow: hidden;
  margin: 0;
  color: #81919c;
  font: 12px/1.55 Georgia, serif;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.bnn-story-grid footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); color: #617582; font-size: 7px; }
.bnn-project-news,
.bnn-related {
  margin-top: 25px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(9, 20, 32, .88);
}
.bnn-project-news > header { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.bnn-project-news h2,
.bnn-related h2 { margin: 4px 0 0; font-family: Georgia, serif; font-size: 23px; }
.bnn-project-news > header > a { color: #d35b65; font-size: 8px; font-weight: 800; }
.bnn-project-news > div,
.bnn-related > div:last-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.bnn-project-news > div > a,
.bnn-related > div:last-child > a {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .015);
}
.bnn-project-news a small,
.bnn-related a small { color: #647886; font-size: 7px; }
.bnn-project-news a strong,
.bnn-related a strong { overflow: hidden; color: #bfcbd3; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.bnn-project-news a span,
.bnn-related a span { color: #c84b56; font-size: 7px; }

.bnn-article-page { padding-bottom: 58px; }
.bnn-article { max-width: 930px; margin: 10px auto 0; }
.bnn-article > header {
  padding: clamp(27px, 5vw, 56px) clamp(18px, 5vw, 55px) 30px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(115deg, rgba(161, 27, 39, .11), transparent 40%),
    rgba(8, 17, 27, .96);
}
.bnn-article > header h1 { margin: 10px 0 16px; font: 700 clamp(36px, 6.7vw, 72px)/1 Georgia, serif; letter-spacing: -.035em; }
.bnn-article > header > p { max-width: 760px; margin: 0; color: #9eacb5; font: 18px/1.58 Georgia, serif; }
.bnn-article > header > div { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: #687d8a; font-size: 8px; }
.bnn-article > header > div strong { color: #bd4b55; text-transform: uppercase; letter-spacing: .07em; }
.bnn-article > figure { max-width: 930px; margin: 0; background: #050a0e; }
.bnn-article > figure img { width: 100%; max-height: 560px; object-fit: cover; }
.bnn-article > figure figcaption { padding: 7px 12px; color: #61727c; font-size: 7px; text-align: right; }
.bnn-article-body {
  padding: clamp(28px, 5vw, 58px);
  border-inline: 1px solid var(--line);
  color: #c0cbd2;
  background: rgba(12, 25, 39, .96);
  font: 15px/1.85 Georgia, serif;
}
.bnn-article-body > :first-child { margin-top: 0; }
.bnn-article-body > :last-child { margin-bottom: 0; }
.bnn-article-body h2,
.bnn-article-body h3,
.bnn-article-body h4 { color: #edf1f3; font-family: Georgia, serif; line-height: 1.2; }
.bnn-article-body h2 { margin-top: 1.4em; font-size: 29px; }
.bnn-article-body h3 { font-size: 22px; }
.bnn-article-body a { color: #e8757e; text-decoration: underline; text-underline-offset: 3px; }
.bnn-article-body hr { height: 1px; margin: 28px 0; border: 0; background: var(--line); }
.bnn-article > footer {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px clamp(18px, 5vw, 55px);
  border: 1px solid var(--line);
  border-top-color: rgba(169, 30, 42, .35);
  border-radius: 0 0 18px 18px;
  background: #070d14;
}
.bnn-article > footer > span { color: #fff; font: 950 31px/1 Arial Black, sans-serif; letter-spacing: -.08em; text-shadow: 2px 0 #b31e2b; }
.bnn-article > footer strong,
.bnn-article > footer small { display: block; }
.bnn-article > footer strong { color: #dce3e7; font-family: Georgia, serif; }
.bnn-article > footer small { color: #657782; font-size: 7px; }
.bnn-related { max-width: 930px; margin-inline: auto; }
.bnn-related > div:first-child { margin-bottom: 13px; }
.bnn-editor-layout { grid-template-columns: minmax(0, 1.65fr) minmax(270px, .58fr); }
.bnn-editor-preview > div:last-child {
  margin: 0 15px 15px;
  padding: 22px;
  border-left: 3px solid #a51d29;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(151, 25, 36, .08), rgba(255, 255, 255, .018));
}
.bnn-editor-preview h2 { margin: 7px 0 8px; font-family: Georgia, serif; font-size: 24px; line-height: 1.1; }
.bnn-editor-preview p { margin: 0; color: #8294a0; font: 11px/1.55 Georgia, serif; }
.bnn-admin-list { padding: 6px 16px 16px; }
.bnn-admin-list > article {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.bnn-admin-list > article:last-child { border-bottom: 0; }
.bnn-admin-list > article > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #748995;
  background: rgba(255, 255, 255, .025);
  font-size: 8px;
  font-weight: 950;
}
.bnn-admin-list > article > span.breaking { color: #f08a93; border-color: rgba(179, 30, 43, .3); background: rgba(179, 30, 43, .08); }
.bnn-admin-list > article > div { min-width: 0; }
.bnn-admin-list small { color: #617582; font-size: 7px; }
.bnn-admin-list strong { display: block; overflow: hidden; margin: 3px 0; color: #cbd5dc; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.bnn-admin-list p { overflow: hidden; margin: 0; color: #778b98; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.bnn-admin-list aside { display: flex; align-items: center; gap: 8px; }

.achievements-page { padding-bottom: 58px; }
.achievement-hero {
  position: relative;
  isolation: isolate;
  min-height: 245px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 35px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(215, 180, 104, .21);
  border-radius: 25px;
  background:
    radial-gradient(circle at 84% 28%, rgba(215, 180, 104, .15), transparent 28%),
    linear-gradient(135deg, rgba(18, 36, 54, .98), rgba(7, 16, 27, .98));
  box-shadow: 0 24px 65px rgba(0, 0, 0, .24);
}
.achievement-hero::after {
  content: "♛";
  position: absolute;
  z-index: -1;
  right: 22%;
  color: rgba(215, 180, 104, .035);
  font-size: 210px;
  transform: rotate(-8deg);
}
.achievement-hero h1 { margin: 8px 0 9px; font: 700 clamp(35px, 5.5vw, 61px)/1.02 Georgia, serif; letter-spacing: -.03em; }
.achievement-hero p { max-width: 690px; margin: 0; color: #8da0ae; }
.achievement-hero > div:last-child {
  display: grid;
  gap: 4px;
  padding: 25px;
  border: 1px solid rgba(215, 180, 104, .2);
  border-radius: 18px;
  text-align: center;
  background: rgba(215, 180, 104, .05);
}
.achievement-hero > div:last-child strong { color: var(--gold-light); font: 700 48px/1 Georgia, serif; }
.achievement-hero > div:last-child span { color: #728795; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.achievement-collection {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 20px;
}
.achievement-card {
  --award-color: #d7b468;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 27px 21px 19px;
  border: 1px solid color-mix(in srgb, var(--award-color) 25%, var(--line));
  border-radius: 17px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 15%, color-mix(in srgb, var(--award-color) 12%, transparent), transparent 35%),
    linear-gradient(145deg, rgba(15, 30, 47, .96), rgba(8, 18, 29, .97));
  box-shadow: 0 15px 38px rgba(0, 0, 0, .17);
}
.achievement-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid color-mix(in srgb, var(--award-color) 64%, transparent);
  border-radius: inherit;
  pointer-events: none;
}
.achievement-card > span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid color-mix(in srgb, var(--award-color) 35%, var(--line));
  border-radius: 50%;
  color: color-mix(in srgb, var(--award-color) 82%, white);
  background:
    radial-gradient(circle, color-mix(in srgb, var(--award-color) 17%, transparent), transparent 68%);
  box-shadow: 0 0 36px color-mix(in srgb, var(--award-color) 12%, transparent);
  font-size: 33px;
}
.achievement-card > small { color: color-mix(in srgb, var(--award-color) 75%, #a2b0ba); font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.achievement-card h2 { margin: 8px 0 5px; color: #e4eaee; font: 700 19px/1.12 Georgia, serif; }
.achievement-card p { margin: 0; color: #7f919d; font-size: 9px; line-height: 1.55; }
.achievement-card footer { width: 100%; display: flex; justify-content: center; gap: 5px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); color: #687c89; font-size: 7px; }
.achievement-card footer strong { color: color-mix(in srgb, var(--award-color) 75%, white); }
.achievement-card.rarity-legendary { box-shadow: 0 15px 48px color-mix(in srgb, var(--award-color) 8%, rgba(0, 0, 0, .3)); }
.achievement-hall {
  margin-top: 24px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 20, 32, .9);
}
.achievement-hall > header { margin-bottom: 13px; }
.achievement-hall h2 { margin: 4px 0 0; font-family: Georgia, serif; }
.achievement-hall > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.achievement-hall a {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--award-color) 18%, var(--line));
  border-radius: 11px;
  background: color-mix(in srgb, var(--award-color) 4%, transparent);
}
.achievement-hall img { width: 40px; height: 40px; object-fit: cover; border-radius: 10px; }
.achievement-hall a > span { color: color-mix(in srgb, var(--award-color) 80%, white); font-size: 18px; text-align: center; }
.achievement-hall a > div { min-width: 0; }
.achievement-hall strong,
.achievement-hall small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.achievement-hall strong { color: #cbd5db; font-size: 9px; }
.achievement-hall small { margin-top: 3px; color: #687d8a; font-size: 7px; }
.achievement-admin-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.achievement-definition-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 6px 16px 16px; }
.achievement-definition-list > a {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--award-color) 18%, var(--line));
  border-radius: 10px;
  background: color-mix(in srgb, var(--award-color) 4%, transparent);
}
.achievement-definition-list > a > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: color-mix(in srgb, var(--award-color) 82%, white);
  background: color-mix(in srgb, var(--award-color) 10%, transparent);
  font-size: 18px;
}
.achievement-definition-list > a > div { min-width: 0; }
.achievement-definition-list strong,
.achievement-definition-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.achievement-definition-list strong { color: #c9d3da; font-size: 9px; }
.achievement-definition-list small { margin-top: 4px; color: #657986; font-size: 7px; }
.award-assignment-list { padding: 5px 16px 16px; }
.award-assignment-list > article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.award-assignment-list > article:last-child { border-bottom: 0; }
.award-assignment-list > article.revoked { opacity: .53; }
.award-assignment-list > article > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--award-color) 22%, var(--line));
  border-radius: 12px;
  color: color-mix(in srgb, var(--award-color) 82%, white);
  background: color-mix(in srgb, var(--award-color) 7%, transparent);
  font-size: 20px;
}
.award-assignment-list > article > div { min-width: 0; }
.award-assignment-list small { color: #657986; font-size: 7px; text-transform: uppercase; letter-spacing: .06em; }
.award-assignment-list strong { display: block; margin-top: 2px; color: #cad5dc; font-size: 10px; }
.award-assignment-list p { overflow: hidden; margin: 3px 0 0; color: #718591; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.award-assignment-list aside { display: flex; align-items: center; gap: 9px; }
.award-assignment-list time { color: #617581; font-size: 7px; white-space: nowrap; }

@media (max-width: 1000px) {
  .bnn-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .achievement-collection { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .achievement-hall > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .dashboard-showcase-grid,
  .profile-showcase,
  .achievement-admin-layout,
  .bnn-editor-layout { grid-template-columns: 1fr; }
  .bnn-masthead > .container { min-height: 92px; }
  .bnn-masthead time { display: none; }
  .bnn-brand > span { min-width: 66px; }
  .bnn-lead-story { min-height: 380px; }
  .bnn-story-grid,
  .bnn-project-news > div,
  .bnn-related > div:last-child { grid-template-columns: 1fr 1fr; }
  .achievement-hero { grid-template-columns: 1fr; }
  .achievement-hero > div:last-child { width: min(300px, 100%); }
  .achievement-collection { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .achievement-definition-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .dashboard-award-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bnn-brand { gap: 10px; }
  .bnn-brand > span { min-width: 57px; font-size: 35px; }
  .bnn-brand > div { padding-left: 10px; }
  .bnn-brand strong { font-size: 16px; }
  .bnn-brand small { font-size: 6px; letter-spacing: .08em; }
  .bnn-breaking > .container { gap: 9px; }
  .bnn-breaking > .container > div { gap: 18px; }
  .bnn-lead-story { min-height: 415px; }
  .bnn-lead-story > div { padding: 25px 21px; }
  .bnn-lead-story h1 { font-size: 36px; }
  .bnn-lead-story p { font-size: 13px; }
  .bnn-lead-story footer { align-items: flex-start; flex-direction: column; }
  .bnn-story-grid,
  .bnn-project-news > div,
  .bnn-related > div:last-child,
  .achievement-collection,
  .achievement-hall > div { grid-template-columns: 1fr; }
  .bnn-article > header > p { font-size: 15px; }
  .bnn-article-body { font-size: 13px; }
  .bnn-admin-list > article,
  .award-assignment-list > article { grid-template-columns: 43px minmax(0, 1fr); }
  .bnn-admin-list aside,
  .award-assignment-list aside { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; }
  .achievement-hero { padding: 27px 22px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(49, 132, 198, .14), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(215, 180, 104, .1), transparent 28%),
    linear-gradient(180deg, #091421 0, var(--bg) 280px, var(--bg-deep) 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 47%, rgba(255,255,255,.012) 47% 48%, transparent 48% 100%);
  background-size: 76px 76px;
  opacity: .5;
  z-index: -2;
}
.background-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.013) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.013) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.site-main { min-height: 58vh; }

/* Kopfbereich */
.site-header { position: relative; z-index: 20; box-shadow: 0 10px 35px rgba(0,0,0,.18); }
.utility-bar { background: rgba(3, 8, 14, .92); border-bottom: 1px solid rgba(255,255,255,.055); }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-label { color: #9cacba; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.utility-label i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(79,197,140,.8); }
.utility-links { display: flex; align-items: center; gap: 18px; font-size: 12px; color: #91a0ae; }
.utility-links a:hover { color: var(--gold-light); }

.brand-header {
  background:
    linear-gradient(110deg, rgba(13, 28, 45, .98), rgba(8, 17, 30, .96)),
    radial-gradient(circle at 15% 50%, rgba(215,180,104,.12), transparent 34%);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.brand-header-inner { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 18px; min-width: 0; }
.brand img { width: 86px; height: 86px; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }
.brand span { display: flex; flex-direction: column; min-width: 0; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(22px, 3vw, 34px); line-height: 1.06; letter-spacing: .015em; color: #f4f6f8; white-space: nowrap; }
.brand small { margin-top: 7px; color: var(--gold-light); font-size: 11px; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; }
.header-welcome { padding-left: 28px; border-left: 1px solid var(--line); text-align: right; }
.header-welcome strong { display: block; color: #e8edf2; font-size: 13px; }
.header-welcome span { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }

.nav-shell { background: rgba(8, 17, 29, .97); border-bottom: 1px solid rgba(215,180,104,.16); }
.nav-inner { min-height: 58px; display: flex; align-items: stretch; gap: 18px; }
.main-nav { display: flex; align-items: stretch; min-width: 0; }
.main-nav > a { position: relative; display: flex; align-items: center; padding: 0 15px; color: #aab8c5; font-size: 13px; font-weight: 700; transition: color .18s ease, background .18s ease; }
.main-nav > a:hover { color: #fff; background: rgba(255,255,255,.025); }
.main-nav > a.active { color: var(--gold-light); }
.main-nav > a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); box-shadow: 0 -4px 16px rgba(215,180,104,.3); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; min-width: 0; }
.header-search { width: 210px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #07121e; }
.header-search input { min-width: 0; width: 100%; height: 36px; border: 0; outline: 0; color: var(--text); background: transparent; padding: 0 10px; font-size: 12px; }
.header-search input::placeholder { color: #6f8191; }
.header-search button { width: 38px; height: 36px; border: 0; background: rgba(255,255,255,.035); cursor: pointer; color: var(--gold-light); font-size: 19px; }
.login-link, .profile-chip { min-height: 40px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 11px; border-left: 1px solid var(--line); }
.login-link:hover, .profile-chip:hover { background: rgba(255,255,255,.025); }
.login-link > span:last-child, .profile-chip > span { display: flex; flex-direction: column; color: #eaf0f5; line-height: 1.2; font-size: 12px; font-weight: 700; }
.login-link small, .profile-chip small { margin-bottom: 2px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.discord-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(88,101,242,.14); color: #9da6ff; border: 1px solid rgba(88,101,242,.3); }
.profile-chip img { width: 31px; height: 31px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(215,180,104,.35); }
.nav-toggle { display: none; align-self: center; width: 42px; height: 38px; border: 1px solid var(--line); border-radius: 6px; background: #0d1a29; cursor: pointer; }
.nav-toggle span { width: 19px; height: 2px; margin: 4px auto; display: block; background: #c5d0da; border-radius: 99px; }

/* Allgemeine Elemente */
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 20px 0 13px; color: #708294; font-size: 12px; }
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs span[aria-hidden="true"] { color: #435364; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 0 22px; }
.page-header h1 { margin: 0; color: #f2f5f8; font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 4vw, 42px); font-weight: 600; letter-spacing: -.015em; }
.page-header p { margin: 6px 0 0; color: var(--muted); }
.page-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }

.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid transparent; border-radius: 5px; font-size: 12px; font-weight: 800; cursor: pointer; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #11151a; background: linear-gradient(135deg, var(--gold-light), var(--gold)); border-color: rgba(255,229,166,.45); box-shadow: 0 8px 22px rgba(156,116,48,.22); }
.button-primary:hover { background: linear-gradient(135deg, #f7dda0, #dfbc70); }
.button-secondary { color: #dce5ed; background: #111f30; border-color: var(--line); }
.button-secondary:hover { border-color: rgba(215,180,104,.32); }
.button-discord { color: #fff; background: var(--discord); border-color: rgba(255,255,255,.12); }
.button-danger { color: #ffd3d6; background: rgba(225,111,118,.12); border-color: rgba(225,111,118,.28); }

.flash-stack { padding-top: 16px; }
.flash { margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; }
.flash-success { color: #a7ecc9; background: rgba(79,197,140,.1); border-color: rgba(79,197,140,.22); }
.flash-error { color: #ffc4c8; background: rgba(225,111,118,.1); border-color: rgba(225,111,118,.22); }
.flash-info { color: #c7d0ff; background: rgba(88,101,242,.1); border-color: rgba(88,101,242,.22); }

/* Start / Board */
.board-welcome { margin-top: 24px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(115deg, rgba(18,37,57,.96), rgba(9,19,32,.97)); box-shadow: var(--shadow); }
.board-welcome::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(215,180,104,.15), transparent 28%), linear-gradient(120deg, transparent 0 64%, rgba(255,255,255,.025) 64% 65%, transparent 65% 100%); pointer-events: none; }
.board-welcome-inner { position: relative; min-height: 190px; display: grid; grid-template-columns: minmax(0,1fr) 180px; align-items: center; gap: 30px; padding: 30px 34px; }
.board-welcome .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; }
.board-welcome h1 { max-width: 720px; margin: 9px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(29px, 4vw, 47px); line-height: 1.06; font-weight: 600; letter-spacing: -.02em; }
.board-welcome p { max-width: 710px; margin: 0; color: #aebdca; font-size: 14px; }
.board-welcome-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 9px; }
.board-welcome-logo { display: grid; place-items: center; }
.board-welcome-logo img { width: 160px; height: 160px; object-fit: contain; filter: drop-shadow(0 18px 35px rgba(0,0,0,.38)); }

.board-toolbar { margin: 20px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.board-toolbar h2 { margin: 0; font-size: 21px; font-weight: 700; }
.board-toolbar p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.board-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.board-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.board-main { min-width: 0; }
.board-sidebar { display: flex; flex-direction: column; gap: 16px; }

.panel, .sidebar-card, .form-card, .legal, .profile-hero, .member-card { border: 1px solid var(--line); background: rgba(12, 25, 40, .91); box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.panel { margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; }
.category-header { min-height: 58px; display: flex; align-items: center; gap: 13px; padding: 11px 15px; background: linear-gradient(90deg, #15273b, #101f31); border-bottom: 1px solid rgba(215,180,104,.17); }
.category-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 5px; color: var(--gold-light); background: rgba(215,180,104,.09); border: 1px solid rgba(215,180,104,.17); }
.category-header h3 { margin: 0; color: #edf2f6; font-size: 14px; text-transform: uppercase; letter-spacing: .055em; }
.category-header p { margin: 2px 0 0; color: #7f91a1; font-size: 11px; }
.forum-row { display: grid; grid-template-columns: 48px minmax(0,1fr) 112px 225px; align-items: center; gap: 14px; min-height: 82px; padding: 12px 15px; border-bottom: 1px solid var(--line); transition: background .16s ease; }
.forum-row:last-child { border-bottom: 0; }
.forum-row:hover { background: rgba(255,255,255,.023); }
.forum-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #80bceb; background: rgba(49,132,198,.09); border: 1px solid rgba(49,132,198,.2); font-size: 18px; }
.forum-title { color: #eef3f7; font-size: 14px; font-weight: 800; }
.forum-row:hover .forum-title { color: var(--gold-light); }
.forum-description { margin-top: 3px; color: #7f91a2; font-size: 11px; line-height: 1.45; }
.forum-counts { color: #7c8d9c; text-align: center; font-size: 10px; line-height: 1.4; }
.forum-counts strong { display: block; color: #cfd9e2; font-size: 15px; font-weight: 700; }
.last-topic { min-width: 0; display: flex; align-items: center; gap: 10px; padding-left: 13px; border-left: 1px solid var(--line); }
.last-topic img { width: 34px; height: 34px; flex: 0 0 auto; object-fit: cover; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); }
.last-topic > div { min-width: 0; }
.last-topic strong { display: block; overflow: hidden; color: #cbd6df; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.last-topic span { display: block; overflow: hidden; margin-top: 2px; color: #687b8d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.sidebar-card { border-radius: var(--radius); overflow: hidden; }
.sidebar-card-header { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; background: #13253a; border-bottom: 1px solid var(--line); }
.sidebar-card-header h3 { margin: 0; color: #e7edf2; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.sidebar-card-header a { color: var(--gold-light); font-size: 10px; }
.sidebar-card-body { padding: 13px; }
.quick-list { display: flex; flex-direction: column; }
.quick-item { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.quick-item:last-child { border-bottom: 0; }
.quick-avatar, .quick-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(49,132,198,.09); color: #7db9e8; border: 1px solid rgba(49,132,198,.18); object-fit: cover; }
.quick-item > div { min-width: 0; }
.quick-item strong { display: block; overflow: hidden; color: #d4dde5; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.quick-item:hover strong { color: var(--gold-light); }
.quick-item span { display: block; overflow: hidden; margin-top: 2px; color: #6e8191; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat-box { padding: 11px; border-radius: 5px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.stat-box strong { display: block; color: #edf2f6; font-size: 18px; }
.stat-box span { color: #718394; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.newest-member { margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); color: #7e90a0; font-size: 10px; }
.newest-member a { color: var(--gold-light); }
.online-list { display: flex; flex-wrap: wrap; gap: 7px; }
.online-user { display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; border-radius: 4px; background: rgba(255,255,255,.025); border: 1px solid var(--line); color: #aebcc8; font-size: 10px; }
.online-user i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.role-legend { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.legend-item { font-size: 10px; font-weight: 700; }
.legend-admin { color: #e3bd6e; }
.legend-mod { color: #65b6ec; }
.legend-user { color: #9aa9b5; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a { padding: 4px 7px; border-radius: 4px; color: #91a3b1; background: rgba(255,255,255,.026); border: 1px solid var(--line); font-size: 10px; }
.tag-cloud a:hover { color: var(--gold-light); border-color: rgba(215,180,104,.25); }

/* Themenlisten */
.topic-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(12,25,40,.91); }
.topic-list-head { display: grid; grid-template-columns: 44px minmax(0,1fr) 115px 205px; gap: 14px; padding: 9px 14px; color: #718496; background: #13253a; border-bottom: 1px solid var(--line); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.topic-row { display: grid; grid-template-columns: 44px minmax(0,1fr) 115px 205px; align-items: center; gap: 14px; min-height: 72px; padding: 11px 14px; border-bottom: 1px solid var(--line); transition: background .16s ease; }
.topic-row:last-child { border-bottom: 0; }
.topic-row:hover { background: rgba(255,255,255,.023); }
.topic-status { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #73b0df; background: rgba(49,132,198,.09); border: 1px solid rgba(49,132,198,.18); }
.topic-status.pinned { color: var(--gold-light); background: rgba(215,180,104,.09); border-color: rgba(215,180,104,.2); }
.topic-title { color: #dce5ec; font-size: 13px; font-weight: 800; }
.topic-row:hover .topic-title { color: var(--gold-light); }
.topic-meta { margin-top: 3px; color: #6d8091; font-size: 10px; }
.topic-stats { color: #738596; text-align: center; font-size: 9px; }
.topic-stats strong { display: block; color: #b9c6d1; font-size: 11px; }
.topic-last { min-width: 0; padding-left: 13px; border-left: 1px solid var(--line); font-size: 10px; }
.topic-last strong { display: block; overflow: hidden; color: #b9c5ce; text-overflow: ellipsis; white-space: nowrap; }
.topic-last span { color: #687b8d; }
.empty { padding: 32px; color: var(--muted); text-align: center; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 19px 0 0; }
.pagination a, .pagination span { min-width: 34px; height: 34px; display: grid; place-items: center; padding: 0 9px; border: 1px solid var(--line); border-radius: 4px; color: #9dabb8; background: #0f1d2d; font-size: 11px; }
.pagination .active { color: #14171b; background: var(--gold); border-color: var(--gold-light); }

/* Beiträge */
.post { display: grid; grid-template-columns: 190px minmax(0,1fr); margin-bottom: 15px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12,25,40,.94); }
.post-author { padding: 21px 17px; text-align: center; background: rgba(255,255,255,.018); border-right: 1px solid var(--line); }
.post-author img { width: 88px; height: 88px; margin: 0 auto; object-fit: cover; border-radius: 50%; border: 3px solid rgba(215,180,104,.22); }
.post-author strong { display: block; margin-top: 10px; color: #e7edf2; }
.role-badge { display: inline-flex; margin-top: 7px; padding: 3px 7px; border-radius: 3px; color: var(--role-color, var(--gold-light)); background: color-mix(in srgb, var(--role-color, #d7b468) 10%, transparent); border: 1px solid color-mix(in srgb, var(--role-color, #d7b468) 28%, transparent); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.author-details { margin-top: 12px; color: #6f8192; font-size: 10px; }
.post-main { min-width: 0; display: flex; flex-direction: column; }
.post-head { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 15px; color: #718394; background: rgba(255,255,255,.015); border-bottom: 1px solid var(--line); font-size: 10px; }
.post-content { min-height: 150px; padding: 23px; color: #ccd6de; word-break: break-word; }
.post-content a { color: #79bce9; text-decoration: underline; }
.post-content code { padding: 2px 5px; border-radius: 3px; color: #f1d390; background: #07111c; }
.post-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); }

/* Formulare */
.form-card { padding: 23px; border-radius: var(--radius); }
.form-group { margin-bottom: 17px; }
.form-group label { display: block; margin-bottom: 7px; color: #dce4eb; font-size: 12px; font-weight: 800; }
.form-help { margin-top: 6px; color: #718394; font-size: 10px; }
.input, .textarea, .select { width: 100%; border: 1px solid rgba(159,179,199,.18); border-radius: 5px; outline: 0; color: var(--text); background: #07131f; padding: 12px 13px; }
.textarea { min-height: 210px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: rgba(215,180,104,.5); box-shadow: 0 0 0 3px rgba(215,180,104,.07); }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.counter { margin-right: auto; color: #718394; font-size: 10px; }

/* Profile, Team, Mitglieder */
.profile-hero { display: grid; grid-template-columns: 135px minmax(0,1fr); align-items: center; gap: 24px; padding: 27px; border-radius: var(--radius); }
.profile-hero > img { width: 128px; height: 128px; object-fit: cover; border-radius: 50%; border: 4px solid rgba(215,180,104,.22); }
.profile-hero h1 { margin: 6px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 32px; }
.profile-hero p { color: #92a3b2; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 15px; color: #718394; font-size: 10px; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 20px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 15px; }
.members-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.member-card { display: flex; align-items: center; gap: 13px; padding: 15px; border-radius: var(--radius); transition: transform .16s ease, border-color .16s ease; }
.member-card:hover { transform: translateY(-2px); border-color: rgba(215,180,104,.25); }
.member-card img { width: 50px; height: 50px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(215,180,104,.2); }
.member-card strong { display: block; overflow: hidden; color: #dfe7ed; text-overflow: ellipsis; white-space: nowrap; }
.member-card span { display: block; margin-top: 3px; color: #718394; font-size: 10px; }
.team-section { margin-bottom: 18px; }
.team-title { margin: 0 0 10px; color: var(--team-color, var(--gold-light)); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.team-member { position: relative; overflow: hidden; border-left: 3px solid var(--team-color, var(--gold-light)); }
.team-member::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--team-color, #d7b468) 7%, transparent), transparent 45%); }
.team-member > * { position: relative; z-index: 1; }
.team-member img { border-color: color-mix(in srgb, var(--team-color, #d7b468) 55%, transparent); }

/* Inhalte / Wiki / FAQ */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.info-card { min-height: 165px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12,25,40,.91); }
.info-card-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px; color: var(--gold-light); background: rgba(215,180,104,.08); border: 1px solid rgba(215,180,104,.17); font-size: 18px; }
.info-card h3 { margin: 14px 0 7px; font-size: 14px; }
.info-card p { margin: 0; color: #7f91a0; font-size: 11px; }
.info-card a { display: inline-flex; margin-top: 13px; color: var(--gold-light); font-size: 10px; font-weight: 800; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12,25,40,.91); }
.faq-item summary { position: relative; padding: 15px 42px 15px 16px; cursor: pointer; list-style: none; color: #dce5ec; font-weight: 800; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gold-light); font-size: 20px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 16px 16px; color: #8798a7; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-card { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12,25,40,.91); }
.news-date { padding: 9px; text-align: center; border-radius: 5px; color: var(--gold-light); background: rgba(215,180,104,.08); border: 1px solid rgba(215,180,104,.16); }
.news-date strong { display: block; font-size: 20px; line-height: 1; }
.news-date span { font-size: 9px; text-transform: uppercase; }
.news-card h3 { margin: 0; font-size: 14px; }
.news-card p { margin: 4px 0 0; color: #7f91a0; font-size: 11px; }

/* Verwaltung */
.admin-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 18px; }
.admin-stat { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12,25,40,.91); }
.admin-stat strong { display: block; color: #eef2f5; font-size: 27px; }
.admin-stat span { color: #718394; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 11px; }
.table th { color: #718394; background: #13253a; text-transform: uppercase; letter-spacing: .07em; font-size: 9px; }
.table tbody tr:hover { background: rgba(255,255,255,.018); }
.legal { padding: 26px; border-radius: var(--radius); }
.legal h1 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; }
.legal h2 { margin-top: 26px; color: #e6ecf1; }
.legal p, .legal li { color: #92a2b0; }
.state-card { width: min(610px, calc(100% - 30px)); margin: 70px auto; padding: 39px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(12,25,40,.95); box-shadow: var(--shadow); }
.state-icon { width: 62px; height: 62px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-light); background: rgba(215,180,104,.08); border: 1px solid rgba(215,180,104,.2); font-size: 24px; }
.state-card h1 { margin: 0; }
.state-card p { color: #8798a7; }

/* Fußbereich */
.site-footer { margin-top: 62px; border-top: 1px solid rgba(215,180,104,.15); background: #050b13; }
.footer-grid { display: grid; grid-template-columns: minmax(0,2fr) repeat(3,minmax(120px,1fr)); gap: 35px; padding: 34px 0; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 64px; height: 64px; object-fit: contain; }
.footer-brand strong { color: #e7edf2; }
.footer-brand p { margin: 4px 0 0; color: #687a8b; font-size: 11px; }
.footer-column { display: flex; flex-direction: column; gap: 7px; }
.footer-column strong { margin-bottom: 4px; color: var(--gold-light); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.footer-column a { color: #7d8e9e; font-size: 11px; }
.footer-column a:hover { color: #d6dfe7; }
.footer-bottom { min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.05); color: #536576; font-size: 9px; }

@media (max-width: 1060px) {
  .header-welcome { display: none; }
  .nav-inner { flex-wrap: wrap; padding: 9px 0; min-height: auto; }
  .nav-toggle { display: block; }
  .main-nav { display: none; order: 4; width: 100%; flex-direction: column; border-top: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav > a { min-height: 43px; padding: 0 10px; }
  .main-nav > a.active::after { left: 10px; right: auto; width: 34px; }
  .nav-actions { flex: 1; justify-content: flex-end; }
  .board-grid { grid-template-columns: 1fr; }
  .board-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .forum-row { grid-template-columns: 48px minmax(0,1fr) 105px; }
  .last-topic { display: none; }
  .topic-list-head, .topic-row { grid-template-columns: 44px minmax(0,1fr) 115px; }
  .topic-last, .topic-list-head > :last-child { display: none; }
  .members-grid, .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 20px, 1180px); }
  .utility-label { font-size: 9px; }
  .utility-links a:not(:first-child) { display: none; }
  .brand-header-inner { min-height: 90px; }
  .brand img { width: 62px; height: 62px; }
  .brand strong { font-size: 19px; white-space: normal; }
  .brand small { font-size: 8px; letter-spacing: .12em; }
  .header-search { display: none; }
  .login-link small, .profile-chip small, .login-link > span:last-child, .profile-chip > span { display: none; }
  .login-link, .profile-chip { padding: 4px 7px; border-left: 0; }
  .board-welcome-inner { grid-template-columns: 1fr; padding: 25px 20px; }
  .board-welcome-logo { display: none; }
  .board-welcome h1 { font-size: 31px; }
  .board-toolbar, .page-header { align-items: flex-start; flex-direction: column; }
  .board-tools, .page-actions { justify-content: flex-start; }
  .forum-row { grid-template-columns: 43px minmax(0,1fr); min-height: 74px; padding: 11px; }
  .forum-counts { display: none; }
  .category-header { padding: 10px 11px; }
  .category-header p { display: none; }
  .topic-list-head { display: none; }
  .topic-row { grid-template-columns: 38px minmax(0,1fr); padding: 11px; }
  .topic-stats { display: none; }
  .post { grid-template-columns: 1fr; }
  .post-author { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 8px 11px; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); }
  .post-author img { grid-row: span 3; width: 58px; height: 58px; margin: 0; }
  .post-author strong, .role-badge, .author-details { margin: 0; }
  .board-sidebar { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .members-grid, .card-grid { grid-template-columns: 1fr; }
  .profile-hero { grid-template-columns: 1fr; text-align: center; }
  .profile-hero > img { margin: auto; }
  .profile-meta { justify-content: center; }
  .form-row, .admin-grid { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .counter { margin: 0; }
  .news-card { grid-template-columns: 55px minmax(0,1fr); }
  .news-card .button { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 13px 0; }
}

/* Fraktionsportal */
.home-factions { margin: 28px 0 32px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 16px; }
.section-heading h2 { margin: 4px 0 0; font-family: Georgia, "Times New Roman", serif; color: #eef3f7; font-size: 27px; }
.section-heading p { margin: 6px 0 0; color: #7d8fa0; font-size: 11px; }
.section-heading-small { align-items: center; margin: 0 0 14px; }
.section-heading-small h2 { font-size: 21px; }
.faction-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.faction-grid-home { grid-template-columns: repeat(4,minmax(0,1fr)); }
.faction-grid-related { grid-template-columns: repeat(3,minmax(0,1fr)); }
.faction-card { position: relative; min-height: 235px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--faction-color, #d7b468) 26%, var(--line)); border-radius: 10px; background:
    radial-gradient(circle at 92% 4%, color-mix(in srgb, var(--faction-color, #d7b468) 15%, transparent), transparent 36%),
    linear-gradient(145deg, #102237 0%, #0a1726 100%); box-shadow: 0 16px 42px rgba(0,0,0,.18); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.faction-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--faction-color, #d7b468); box-shadow: 0 0 28px color-mix(in srgb, var(--faction-color, #d7b468) 52%, transparent); }
.faction-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--faction-color, #d7b468) 56%, transparent); box-shadow: 0 24px 55px rgba(0,0,0,.28); }
.faction-card-link { position: relative; z-index: 1; display: flex; min-height: 235px; flex-direction: column; padding: 18px 18px 17px 20px; }
.faction-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.faction-emblem { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: color-mix(in srgb, var(--faction-color, #d7b468) 14%, #0a1726); border: 1px solid color-mix(in srgb, var(--faction-color, #d7b468) 48%, transparent); box-shadow: inset 0 0 18px color-mix(in srgb, var(--faction-color, #d7b468) 9%, transparent); font-size: 21px; font-weight: 900; }
.faction-status { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 8px; border-radius: 999px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .065em; white-space: nowrap; }
.faction-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.faction-status-open { color: #58d68d; background: rgba(44,170,98,.08); border: 1px solid rgba(64,203,120,.2); }
.faction-status-closed { color: #e17979; background: rgba(185,61,61,.08); border: 1px solid rgba(210,87,87,.2); }
.faction-status-preparation { color: #e9c46a; background: rgba(209,165,65,.08); border: 1px solid rgba(219,177,83,.2); }
.faction-status-inactive { color: #8799a9; background: rgba(117,137,154,.08); border: 1px solid rgba(132,151,168,.18); }
.faction-category { margin-top: 16px; color: color-mix(in srgb, var(--faction-color, #d7b468) 78%, #fff); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.faction-card h3 { margin: 6px 0 8px; color: #edf3f7; font-size: 16px; line-height: 1.25; }
.faction-card p { margin: 0; color: #8496a6; font-size: 11px; line-height: 1.55; }
.faction-card-action { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 17px; color: #c9d5de; font-size: 10px; font-weight: 800; }
.faction-card-action b { color: var(--faction-color, #d7b468); font-size: 14px; transition: transform .16s ease; }
.faction-card:hover .faction-card-action b { transform: translateX(4px); }
.faction-card-compact { min-height: 210px; }
.faction-card-compact .faction-card-link { min-height: 210px; }

.faction-portal-hero { position: relative; min-height: 350px; display: grid; grid-template-columns: minmax(0,1fr) 360px; align-items: center; gap: 35px; overflow: hidden; margin-bottom: 18px; padding: 48px 52px; border: 1px solid rgba(215,180,104,.2); border-radius: 14px; background:
    radial-gradient(circle at 82% 50%, rgba(50,112,168,.18), transparent 33%),
    radial-gradient(circle at 20% 0%, rgba(215,180,104,.12), transparent 36%),
    linear-gradient(120deg, #10243a 0%, #0a1624 58%, #07111c 100%); box-shadow: var(--shadow); }
.faction-portal-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 0 49%, rgba(255,255,255,.025) 49% 49.2%, transparent 49.2%); }
.faction-portal-copy { position: relative; z-index: 2; }
.faction-portal-copy h1 { max-width: 720px; margin: 9px 0 14px; font-family: Georgia, "Times New Roman", serif; color: #f3f5f7; font-size: clamp(36px,5vw,58px); line-height: 1.02; }
.faction-portal-copy p { max-width: 700px; margin: 0; color: #99aab8; font-size: 14px; line-height: 1.7; }
.faction-portal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.faction-orbit { position: relative; width: 290px; height: 290px; margin: auto; border: 1px solid rgba(215,180,104,.16); border-radius: 50%; background: radial-gradient(circle, rgba(215,180,104,.09), transparent 61%); box-shadow: inset 0 0 55px rgba(0,0,0,.24); }
.faction-orbit::before, .faction-orbit::after { content: ''; position: absolute; border: 1px solid rgba(110,170,218,.13); border-radius: 50%; }
.faction-orbit::before { inset: 35px; }
.faction-orbit::after { inset: 76px; border-color: rgba(215,180,104,.2); }
.faction-orbit strong { position: absolute; inset: 50%; width: 88px; height: 88px; display: grid; place-items: center; transform: translate(-50%,-50%); border-radius: 50%; color: var(--gold-light); background: #0d2032; border: 1px solid rgba(215,180,104,.3); font-family: Georgia,serif; font-size: 25px; letter-spacing: .08em; box-shadow: 0 0 35px rgba(215,180,104,.12); }
.faction-orbit span { position: absolute; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #10263b; border: 1px solid rgba(126,178,218,.22); font-size: 19px; box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.faction-orbit span:nth-child(1) { left: 10px; top: 118px; }
.faction-orbit span:nth-child(2) { left: 63px; top: 20px; }
.faction-orbit span:nth-child(3) { right: 37px; top: 44px; }
.faction-orbit span:nth-child(4) { right: 10px; bottom: 75px; }
.faction-orbit span:nth-child(5) { left: 74px; bottom: 16px; }
.fraction-summary-strip { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; margin-bottom: 34px; border: 1px solid var(--line); border-radius: 9px; background: rgba(10,22,36,.9); }
.fraction-summary-strip > div { padding: 17px 19px; border-right: 1px solid var(--line); }
.fraction-summary-strip > div:last-child { border-right: 0; }
.fraction-summary-strip strong { display: block; color: #edf3f7; font-size: 23px; }
.fraction-summary-strip span { color: #708293; font-size: 9px; text-transform: uppercase; letter-spacing: .075em; }
.faction-directory { display: flex; flex-direction: column; gap: 31px; }
.faction-category-section { scroll-margin-top: 120px; }
.fraction-category-count { color: #728596; font-size: 10px; }

.faction-detail-hero { position: relative; display: grid; grid-template-columns: 126px minmax(0,1fr) 150px; align-items: center; gap: 28px; overflow: hidden; min-height: 250px; padding: 35px 39px; border: 1px solid color-mix(in srgb, var(--faction-color, #d7b468) 28%, var(--line)); border-radius: 14px; background:
    radial-gradient(circle at 93% 16%, color-mix(in srgb, var(--faction-color, #d7b468) 18%, transparent), transparent 31%),
    linear-gradient(125deg, color-mix(in srgb, var(--faction-color, #d7b468) 7%, #10243a), #081522 68%); box-shadow: var(--shadow); }
.faction-detail-hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--faction-color, #d7b468); box-shadow: 0 0 45px color-mix(in srgb, var(--faction-color, #d7b468) 50%, transparent); }
.faction-detail-emblem { position: relative; z-index: 2; width: 112px; height: 112px; display: grid; place-items: center; border-radius: 26px; color: #fff; background: color-mix(in srgb, var(--faction-color, #d7b468) 15%, #0a1726); border: 1px solid color-mix(in srgb, var(--faction-color, #d7b468) 52%, transparent); font-size: 43px; font-weight: 900; box-shadow: inset 0 0 35px color-mix(in srgb, var(--faction-color, #d7b468) 10%, transparent), 0 18px 40px rgba(0,0,0,.25); }
.faction-detail-copy { position: relative; z-index: 2; }
.faction-detail-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: color-mix(in srgb, var(--faction-color, #d7b468) 78%, #fff); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .085em; }
.faction-detail-copy h1 { margin: 8px 0 10px; font-family: Georgia,"Times New Roman",serif; color: #f2f5f8; font-size: clamp(31px,4vw,46px); line-height: 1.05; }
.faction-detail-copy > p { max-width: 700px; margin: 0; color: #94a5b4; font-size: 13px; line-height: 1.65; }
.faction-detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.button-ghost { color: color-mix(in srgb, var(--faction-color, #d7b468) 78%, #fff); background: transparent; border-color: color-mix(in srgb, var(--faction-color, #d7b468) 35%, transparent); }
.faction-detail-code { position: relative; z-index: 1; display: grid; place-items: center; min-height: 140px; color: color-mix(in srgb, var(--faction-color, #d7b468) 24%, transparent); font-family: Georgia,serif; font-size: 35px; font-weight: 900; letter-spacing: .12em; writing-mode: vertical-rl; text-orientation: mixed; }
.faction-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 19px; margin-top: 20px; align-items: start; }
.faction-detail-main { display: flex; flex-direction: column; gap: 18px; }
.faction-detail-sidebar { display: flex; flex-direction: column; gap: 15px; }
.faction-about, .faction-links-panel, .faction-topics-panel { padding: 23px; border-radius: var(--radius); }
.panel-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-title-row h2 { margin: 4px 0 0; color: #edf2f6; font-family: Georgia,"Times New Roman",serif; font-size: 22px; }
.panel-title-row > a { color: var(--gold-light); font-size: 10px; font-weight: 800; }
.faction-description { color: #a1b0bd; font-size: 12px; line-height: 1.8; }
.faction-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.faction-link-grid > a { display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: center; gap: 11px; min-height: 83px; padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.018); transition: border-color .16s ease, transform .16s ease; }
.faction-link-grid > a:hover { transform: translateY(-2px); border-color: rgba(215,180,104,.26); }
.faction-link-grid > a > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; color: var(--gold-light); background: rgba(215,180,104,.08); border: 1px solid rgba(215,180,104,.16); font-size: 17px; }
.faction-link-grid strong { display: block; color: #dce5ec; font-size: 11px; }
.faction-link-grid small { display: block; margin-top: 3px; color: #718394; font-size: 9px; line-height: 1.45; }
.faction-topic-list { display: flex; flex-direction: column; }
.faction-topic-list > a { display: grid; grid-template-columns: 12px minmax(0,1fr) auto; align-items: center; gap: 11px; min-height: 57px; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.faction-topic-list > a:last-child { border-bottom: 0; }
.faction-topic-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 9px rgba(215,180,104,.5); }
.faction-topic-list strong { display: block; color: #d5dee6; font-size: 11px; }
.faction-topic-list small { display: block; margin-top: 3px; color: #718394; font-size: 9px; }
.faction-topic-list em { color: #687b8d; font-size: 9px; font-style: normal; }
.faction-facts { overflow: hidden; border-top: 3px solid var(--faction-color, #d7b468); }
.faction-facts dl { margin: 0; }
.faction-facts dl > div { display: grid; grid-template-columns: 85px minmax(0,1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.faction-facts dl > div:last-child { border-bottom: 0; }
.faction-facts dt { color: #718394; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.faction-facts dd { margin: 0; color: #d3dde5; font-size: 10px; text-align: right; }
.faction-note p { margin: 0; color: #8395a4; font-size: 10px; line-height: 1.65; }
.related-factions { margin-top: 34px; }

/* Fraktionsverwaltung */
.fraction-admin-layout { display: grid; grid-template-columns: minmax(340px,.78fr) minmax(0,1.42fr); gap: 18px; align-items: start; }
.fraction-admin-list, .fraction-admin-form-card { overflow: hidden; border-radius: var(--radius); }
.fraction-admin-items { max-height: 860px; overflow: auto; }
.fraction-admin-item { display: grid; grid-template-columns: 43px minmax(0,1fr) auto auto; align-items: center; gap: 11px; min-height: 70px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.fraction-admin-item:last-child { border-bottom: 0; }
.fraction-admin-item:hover { background: rgba(255,255,255,.018); }
.fraction-admin-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: color-mix(in srgb, var(--faction-color, #d7b468) 13%, #0a1726); border: 1px solid color-mix(in srgb, var(--faction-color, #d7b468) 42%, transparent); }
.fraction-admin-item strong { display: block; color: #dce5ec; font-size: 11px; }
.fraction-admin-item small { display: block; margin-top: 3px; color: #718394; font-size: 9px; }
.fraction-visibility { padding: 4px 7px; border-radius: 999px; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.fraction-visibility.visible { color: #58d68d; background: rgba(44,170,98,.08); }
.fraction-visibility.hidden { color: #8799a9; background: rgba(117,137,154,.08); }
.button-small { min-height: 31px; padding: 0 9px; font-size: 9px; }
.fraction-admin-form { padding: 18px; }
.fraction-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 13px; }
.fraction-form-wide { grid-column: 1 / -1; }
.color-input-row { display: grid; grid-template-columns: 1fr 44px; gap: 8px; }
.color-input-row input[type="color"] { width: 44px; height: 42px; padding: 3px; border: 1px solid rgba(159,179,199,.18); border-radius: 5px; background: #07131f; cursor: pointer; }
.fraction-checkboxes { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 4px 0 18px; padding: 13px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.015); }
.fraction-checkboxes label { display: inline-flex; align-items: center; gap: 8px; color: #a9b7c2; font-size: 10px; cursor: pointer; }
.fraction-checkboxes input { accent-color: var(--gold); }
.fraction-delete-form { display: flex; justify-content: flex-end; padding: 0 18px 18px; }

@media (max-width: 1060px) {
  .faction-grid-home { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .faction-portal-hero { grid-template-columns: 1fr 270px; padding: 38px; }
  .faction-orbit { width: 240px; height: 240px; }
  .faction-orbit::after { inset: 61px; }
  .faction-orbit span:nth-child(1) { left: 2px; top: 98px; }
  .faction-orbit span:nth-child(2) { left: 48px; top: 13px; }
  .faction-orbit span:nth-child(3) { right: 27px; top: 33px; }
  .faction-orbit span:nth-child(4) { right: 2px; bottom: 59px; }
  .faction-orbit span:nth-child(5) { left: 55px; bottom: 8px; }
  .faction-detail-layout { grid-template-columns: 1fr; }
  .faction-detail-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .fraction-admin-layout { grid-template-columns: 1fr; }
  .fraction-admin-items { max-height: none; }
  .admin-grid { grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 820px) {
  .faction-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .faction-portal-hero { grid-template-columns: 1fr; min-height: auto; }
  .faction-orbit { display: none; }
  .faction-detail-hero { grid-template-columns: 88px minmax(0,1fr); padding: 28px; }
  .faction-detail-emblem { width: 82px; height: 82px; border-radius: 19px; font-size: 31px; }
  .faction-detail-code { display: none; }
  .fraction-summary-strip { grid-template-columns: 1fr 1fr; }
  .fraction-summary-strip > div:nth-child(2) { border-right: 0; }
  .fraction-summary-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faction-link-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section-heading { align-items: flex-start; flex-direction: column; }
  .faction-grid, .faction-grid-home, .faction-grid-related { grid-template-columns: 1fr; }
  .faction-card, .faction-card-link, .faction-card-compact, .faction-card-compact .faction-card-link { min-height: 205px; }
  .faction-portal-hero { padding: 28px 22px; }
  .faction-portal-copy h1 { font-size: 35px; }
  .faction-detail-hero { grid-template-columns: 1fr; text-align: center; padding: 25px 20px; }
  .faction-detail-emblem { margin: auto; }
  .faction-detail-meta, .faction-detail-actions { justify-content: center; }
  .faction-detail-sidebar { grid-template-columns: 1fr; }
  .fraction-form-grid { grid-template-columns: 1fr; }
  .fraction-form-wide { grid-column: auto; }
  .fraction-admin-item { grid-template-columns: 43px minmax(0,1fr) auto; }
  .fraction-admin-item .fraction-visibility { display: none; }
  .fraction-summary-strip strong { font-size: 19px; }
  .fraction-summary-strip > div { padding: 13px; }
  .admin-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================================================== 
   PORTAL REDESIGN 2026
   Die folgenden Regeln bilden die moderne Oberfläche. Bestehende Klassen der
   Forumsfunktionen bleiben absichtlich erhalten, damit keinerlei Inhalte oder
   Datenbankfunktionen von der visuellen Überarbeitung betroffen sind.
   ========================================================================== */

:root {
  --bg: #07101c;
  --bg-deep: #040a12;
  --surface: #0c1827;
  --surface-2: #101f31;
  --surface-3: #14273c;
  --surface-soft: rgba(15, 30, 47, .78);
  --text: #f2f6f9;
  --text-soft: #c7d2dc;
  --muted: #8495a5;
  --line: rgba(163, 184, 204, .13);
  --line-strong: rgba(226, 191, 113, .32);
  --gold: #d9b66a;
  --gold-light: #f2d58e;
  --gold-dark: #9f7330;
  --blue: #3b8ed0;
  --blue-light: #79c0ed;
  --green: #55d397;
  --red: #ee7980;
  --discord: #5865f2;
  --shadow: 0 28px 80px rgba(0, 0, 0, .32);
  --shadow-soft: 0 14px 38px rgba(0, 0, 0, .2);
  --radius: 14px;
  --radius-lg: 24px;
  --font-ui: Inter, Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

html { scroll-padding-top: 112px; }
body {
  color: var(--text);
  background: var(--bg-deep);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before { display: none; }
body.menu-open { overflow: hidden; }
::selection { color: #111820; background: var(--gold-light); }

.container { width: min(1240px, calc(100% - 40px)); }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 9px;
  color: #10151b;
  background: var(--gold-light);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid rgba(121, 192, 237, .8);
  outline-offset: 3px;
}

.portal-background {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px),
    radial-gradient(circle at 12% -5%, rgba(55, 143, 211, .17), transparent 32%),
    radial-gradient(circle at 88% 3%, rgba(217, 182, 106, .12), transparent 28%),
    linear-gradient(180deg, #081421 0, #07101c 44%, #050b13 100%);
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
}
.portal-background span { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .35; }
.portal-background span:nth-child(1) { width: 520px; height: 520px; left: -300px; top: 24%; border: 1px solid rgba(76, 157, 217, .13); }
.portal-background span:nth-child(2) { width: 760px; height: 760px; right: -480px; top: 8%; border: 1px solid rgba(217, 182, 106, .1); }
.portal-background span:nth-child(3) { inset: auto 0 0; height: 38%; border-radius: 0; background: linear-gradient(transparent, rgba(0,0,0,.25)); }

/* Kopfbereich */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  box-shadow: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.site-header.scrolled { box-shadow: 0 18px 50px rgba(0, 0, 0, .3); }
.utility-bar {
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(4, 9, 16, .96);
}
.utility-inner { min-height: 33px; }
.portal-status { display: inline-flex; align-items: center; gap: 8px; color: #8fa0af; font-size: 10px; letter-spacing: .035em; }
.portal-status i,
.footer-status i,
.portal-float-online i {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px rgba(85, 211, 151, .75);
}
.portal-status strong { color: #c8d3dc; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.portal-status em { color: #718493; font-style: normal; }
.utility-links { gap: 20px; font-size: 10px; }
.utility-links a { color: #8293a2; transition: color .16s ease; }
.utility-links a:hover { color: var(--gold-light); }

.nav-shell {
  border-bottom: 1px solid rgba(217, 182, 106, .13);
  background: rgba(7, 16, 28, .9);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
}
.nav-inner { min-height: 76px; display: flex; align-items: center; gap: 25px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.site-brand-logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217,182,106,.16);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 28px rgba(0,0,0,.18);
}
.site-brand-logo img { width: 47px; height: 47px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.28)); }
.site-brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.site-brand-copy strong { color: #f3f6f8; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.site-brand-copy small { margin-top: 5px; color: var(--gold-light); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }

.main-nav { display: flex; align-self: stretch; align-items: stretch; gap: 2px; }
.main-nav > a { position: relative; display: flex; align-items: center; padding: 0 11px; color: #9aa9b6; font-size: 12px; font-weight: 750; transition: color .18s ease, background .18s ease; }
.main-nav > a:hover { color: #f2f5f7; background: rgba(255,255,255,.025); }
.main-nav > a.active { color: var(--gold-light); }
.main-nav > a.active::after { left: 11px; right: 11px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; }
.mobile-nav-extras { display: none; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 11px; min-width: 0; }
.header-search {
  width: 164px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(3, 10, 18, .66);
  transition: width .2s ease, border-color .18s ease, box-shadow .18s ease;
}
.header-search:focus-within { width: 205px; border-color: rgba(121,192,237,.38); box-shadow: 0 0 0 3px rgba(59,142,208,.07); }
.header-search input { height: 37px; padding: 0 4px 0 12px; font-size: 11px; }
.header-search button { width: 38px; height: 37px; color: var(--blue-light); background: transparent; font-size: 21px; }

.login-link {
  min-height: 42px;
  gap: 9px;
  padding: 5px 12px 5px 8px;
  border: 1px solid rgba(88,101,242,.34);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(88,101,242,.18), rgba(88,101,242,.07));
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.login-link:hover { transform: translateY(-1px); border-color: rgba(128,139,255,.58); background: rgba(88,101,242,.2); }
.discord-mark { width: 29px; height: 29px; border: 0; background: #5865f2; color: #fff; font-size: 13px; }
.login-link > span:last-child { font-size: 10px; }
.login-link small { color: #aeb5ff; font-size: 7px; }

.user-menu { position: relative; }
.user-menu > summary {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.026);
  cursor: pointer;
  list-style: none;
}
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu > summary img { width: 31px; height: 31px; border-radius: 9px; object-fit: cover; border: 1px solid rgba(217,182,106,.25); }
.user-menu > summary > span { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.user-menu > summary small { color: #718493; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .075em; }
.user-menu > summary strong { max-width: 105px; overflow: hidden; margin-top: 3px; color: #e7edf2; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.user-menu > summary i { color: #718493; font-size: 11px; font-style: normal; transition: transform .18s ease; }
.user-menu[open] > summary i { transform: rotate(180deg); }
.user-menu-panel {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  width: 220px;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(174,195,213,.17);
  border-radius: 14px;
  background: rgba(9, 20, 33, .98);
  box-shadow: 0 22px 60px rgba(0,0,0,.42);
}
.user-menu-head { display: flex; flex-direction: column; padding: 10px 11px 12px; margin-bottom: 5px; border-bottom: 1px solid var(--line); }
.user-menu-head span { color: var(--gold-light); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.user-menu-head strong { margin-top: 3px; color: #eef3f7; font-size: 12px; }
.user-menu-panel > a { display: flex; padding: 9px 11px; border-radius: 8px; color: #aab8c4; font-size: 11px; font-weight: 700; }
.user-menu-panel > a:hover { color: #fff; background: rgba(255,255,255,.04); }
.user-menu-panel .user-menu-logout { color: #f19da2; }

/* Grundelemente */
.site-main { min-height: 64vh; padding-bottom: 4px; }
.breadcrumbs { padding: 25px 0 14px; font-size: 11px; }
.page-header { padding: 12px 0 27px; }
.page-header h1 { font-size: clamp(31px, 4vw, 48px); line-height: 1.05; }
.page-header p { max-width: 720px; margin-top: 8px; color: #8fa0ae; font-size: 13px; }
.eyebrow { color: var(--gold-light); font-size: 9px; letter-spacing: .15em; }
.eyebrow i { width: 18px; height: 1px; display: inline-block; background: currentColor; }

.button { min-height: 43px; padding: 0 17px; border-radius: 10px; font-size: 11px; letter-spacing: .01em; }
.button-primary { color: #11161c; background: linear-gradient(135deg, #f0d38c, #cda653); box-shadow: 0 10px 28px rgba(174,130,51,.2); }
.button-secondary { background: rgba(18,35,53,.82); }
.button-discord { background: linear-gradient(135deg, #6571ff, #4d58dd); box-shadow: 0 10px 26px rgba(88,101,242,.18); }
.button-danger { background: rgba(238,121,128,.1); }

.flash-stack { padding-top: 17px; }
.flash { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 12px; box-shadow: var(--shadow-soft); }
.flash button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; color: currentColor; background: rgba(255,255,255,.06); cursor: pointer; }
.flash.is-hiding { opacity: 0; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease; }

.panel, .sidebar-card, .form-card, .legal, .profile-hero, .member-card, .info-card, .news-card, .topic-list {
  border-color: var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(15,30,47,.94), rgba(10,22,36,.94));
  box-shadow: var(--shadow-soft);
}
.panel, .topic-list, .sidebar-card { overflow: hidden; }
.category-header, .sidebar-card-header {
  background: linear-gradient(90deg, rgba(24,45,68,.92), rgba(17,34,53,.9));
  border-bottom-color: var(--line);
}
.category-header { min-height: 65px; padding: 13px 17px; }
.category-icon { width: 38px; height: 38px; border-radius: 10px; }
.category-header h3 { font-size: 12px; letter-spacing: .085em; }
.category-header p { font-size: 10px; }

/* Startseite */
.board-welcome {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(217, 182, 106, .19);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 18%, rgba(217,182,106,.14), transparent 26%),
    radial-gradient(circle at 18% 20%, rgba(59,142,208,.12), transparent 34%),
    linear-gradient(125deg, rgba(15,32,51,.98), rgba(8,19,32,.98));
  box-shadow: 0 32px 100px rgba(0,0,0,.34);
}
.board-welcome::before { opacity: .75; background: linear-gradient(120deg, transparent 0 58%, rgba(255,255,255,.02) 58% 58.2%, transparent 58.2%); }
.board-welcome-grid { position: relative; min-height: 480px; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(370px,.85fr); align-items: center; gap: 46px; padding: 55px 62px 42px; }
.board-welcome-copy { position: relative; z-index: 2; }
.board-welcome-copy h1 { max-width: 720px; margin: 12px 0 17px; font-family: var(--font-display); font-size: clamp(41px, 5.3vw, 69px); line-height: .99; font-weight: 600; letter-spacing: -.04em; }
.board-welcome-copy h1 em { display: block; color: var(--gold-light); font-size: .65em; font-style: normal; line-height: 1.06; overflow-wrap: anywhere; }
.board-welcome-copy > p { max-width: 690px; margin: 0; color: #a4b3bf; font-size: 15px; line-height: 1.75; }
.board-welcome-actions { margin-top: 26px; gap: 10px; }
.board-welcome-points { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 22px; color: #8394a3; font-size: 9px; font-weight: 700; }
.board-welcome-points span { display: inline-flex; align-items: center; gap: 6px; }
.board-welcome-points b { color: var(--green); }
.board-welcome-visual { position: relative; min-height: 350px; display: grid; place-items: center; }
.board-welcome-logo { position: relative; z-index: 3; width: 238px; height: 238px; display: grid; place-items: center; border: 1px solid rgba(217,182,106,.2); border-radius: 50%; background: radial-gradient(circle, rgba(217,182,106,.11), rgba(10,23,38,.75) 66%); box-shadow: inset 0 0 55px rgba(0,0,0,.2), 0 28px 70px rgba(0,0,0,.28); }
.board-welcome-logo img { width: 205px; height: 205px; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0,0,0,.38)); }
.portal-orbit { position: absolute; border: 1px solid rgba(121,192,237,.14); border-radius: 50%; }
.portal-orbit-one { width: 318px; height: 318px; }
.portal-orbit-two { width: 390px; height: 390px; border-style: dashed; border-color: rgba(217,182,106,.12); animation: portal-spin 36s linear infinite; }
.portal-float-card { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid rgba(169,191,210,.18); border-radius: 11px; color: #c6d1da; background: rgba(8,19,31,.88); box-shadow: 0 14px 35px rgba(0,0,0,.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.portal-float-online { left: 4px; top: 54px; }
.portal-float-place { right: 0; bottom: 56px; color: var(--gold-light); }
.board-welcome-stats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); background: rgba(3,10,18,.27); }
.board-welcome-stats > div { min-height: 75px; display: flex; flex-direction: column; justify-content: center; padding: 12px 25px; border-right: 1px solid var(--line); }
.board-welcome-stats > div:last-child { border-right: 0; }
.board-welcome-stats strong { color: #f0f4f7; font-size: 21px; line-height: 1; }
.board-welcome-stats span { margin-top: 6px; color: #748695; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
@keyframes portal-spin { to { transform: rotate(360deg); } }

.portal-shortcuts { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 17px 0 34px; }
.portal-shortcuts > a { min-width: 0; min-height: 78px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(11,25,40,.77); box-shadow: 0 10px 28px rgba(0,0,0,.13); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.portal-shortcuts > a:hover { transform: translateY(-3px); border-color: rgba(217,182,106,.3); background: rgba(18,35,54,.92); }
.portal-shortcuts > a > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--gold-light); background: rgba(217,182,106,.08); border: 1px solid rgba(217,182,106,.15); font-size: 9px; font-weight: 900; }
.portal-shortcuts strong { display: block; overflow: hidden; color: #e1e8ed; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.portal-shortcuts small { display: block; overflow: hidden; margin-top: 2px; color: #718392; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.portal-shortcuts b { color: #718493; font-size: 14px; transition: transform .18s ease, color .18s ease; }
.portal-shortcuts > a:hover b { color: var(--gold-light); transform: translateX(3px); }

.home-factions { margin: 34px 0 40px; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { font-size: 30px; }
.board-toolbar { margin: 30px 0 16px; }
.board-toolbar h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.board-grid { gap: 20px; }
.forum-row { min-height: 90px; grid-template-columns: 50px minmax(0,1fr) 105px 235px; padding: 14px 17px; }
.forum-icon { width: 44px; height: 44px; border-radius: 13px; }
.forum-title { font-size: 13px; }
.forum-description { margin-top: 4px; font-size: 10px; }
.last-topic img { border-radius: 10px; }
.sidebar-card-header { min-height: 53px; padding: 11px 15px; }
.sidebar-card-header h3 { font-size: 10px; letter-spacing: .1em; }
.sidebar-card-body { padding: 15px; }
.quick-item { padding: 11px 0; }
.quick-avatar, .quick-icon { border-radius: 10px; }
.stat-box { padding: 13px; border-radius: 10px; }

/* Inhalte, Listen und Formulare */
.topic-list-head { padding: 11px 16px; background: rgba(20,39,60,.94); }
.topic-row { min-height: 79px; padding: 12px 16px; }
.topic-status { border-radius: 11px; }
.post { border-radius: 16px; box-shadow: var(--shadow-soft); }
.post-author { padding: 23px 18px; }
.post-author img { border-radius: 19px; }
.post-content { color: #d1dae1; line-height: 1.75; }
.form-card { padding: 25px; }
.input, .textarea, .select { min-height: 44px; border-radius: 10px; background: rgba(3,11,19,.74); }
.textarea { min-height: 200px; }
.members-grid { gap: 15px; }
.member-card { padding: 16px; }
.member-card img { border-radius: 13px; }
.info-card { min-height: 180px; padding: 22px; transition: transform .18s ease, border-color .18s ease; }
.info-card:hover { transform: translateY(-3px); border-color: rgba(217,182,106,.28); }
.info-card-icon { border-radius: 11px; }
.faq-item { border-radius: 13px; background: linear-gradient(145deg, rgba(15,30,47,.94), rgba(10,22,36,.94)); }
.faq-item summary { padding: 17px 45px 17px 18px; }
.news-card { padding: 17px; }
.news-date { border-radius: 11px; }
.profile-hero { padding: 30px; }
.profile-hero > img { border-radius: 25px; }
.legal { margin-top: 10px; padding: 34px; }
.state-card { border-radius: 22px; background: linear-gradient(145deg, rgba(15,30,47,.98), rgba(8,19,31,.98)); }
.table th { background: rgba(20,39,60,.94); }
.admin-stat { border-radius: 13px; background: linear-gradient(145deg, rgba(15,30,47,.94), rgba(10,22,36,.94)); }

/* Fraktionsportal */
.faction-card { border-radius: 16px; box-shadow: var(--shadow-soft); }
.faction-card-link { padding: 20px 20px 18px 22px; }
.faction-emblem { border-radius: 14px; }
.faction-portal-hero, .faction-detail-hero { border-radius: 24px; box-shadow: var(--shadow); }
.fraction-summary-strip { border-radius: 14px; }
.faction-detail-emblem { border-radius: 25px; }
.fraction-admin-list, .fraction-admin-form-card { border-radius: 15px; }

/* Fußbereich */
.site-footer { margin-top: 76px; border-top: 1px solid rgba(217,182,106,.13); background: rgba(3,8,14,.96); }
.footer-grid { grid-template-columns: minmax(260px,2fr) repeat(3,minmax(120px,1fr)); gap: 45px; padding: 48px 0 40px; }
.footer-brand { align-items: flex-start; }
.footer-brand img { width: 72px; height: 72px; }
.footer-brand strong { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.footer-brand p { max-width: 370px; margin-top: 7px; line-height: 1.6; }
.footer-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 11px; color: #758796; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.footer-column { gap: 9px; }
.footer-column strong { margin-bottom: 7px; font-size: 9px; letter-spacing: .12em; }
.footer-column a { font-size: 11px; }
.footer-bottom { min-height: 61px; }

@media (max-width: 1180px) {
  .nav-inner { gap: 15px; }
  .site-brand-copy { display: none; }
  .main-nav > a { padding-inline: 9px; font-size: 11px; }
  .header-search { width: 135px; }
  .header-search:focus-within { width: 165px; }
  .board-welcome-grid { padding-inline: 45px; }
}

@media (max-width: 1000px) {
  html { scroll-padding-top: 105px; }
  .nav-inner { position: relative; min-height: 70px; }
  .site-brand-copy { display: flex; }
  .nav-toggle { order: 3; display: block; margin-left: 2px; border-radius: 10px; }
  .nav-toggle span { transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 9px);
    max-height: calc(100vh - 125px);
    overflow: auto;
    display: grid;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid rgba(169,190,208,.17);
    border-radius: 15px;
    background: rgba(7,17,29,.985);
    box-shadow: 0 28px 80px rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a { min-height: 46px; padding: 0 13px; border-radius: 9px; font-size: 13px; }
  .main-nav > a.active::after { left: 0; top: 9px; bottom: 9px; width: 2px; height: auto; right: auto; }
  .mobile-nav-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 5px; padding-top: 9px; border-top: 1px solid var(--line); }
  .mobile-nav-extras a { padding: 10px 12px; border-radius: 8px; color: #8395a4; background: rgba(255,255,255,.02); font-size: 11px; font-weight: 700; }
  .board-welcome-grid { grid-template-columns: minmax(0,1fr) 320px; gap: 25px; min-height: 440px; padding: 44px 38px 35px; }
  .board-welcome-visual { transform: scale(.84); }
  .board-grid { grid-template-columns: 1fr; }
  .board-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .board-sidebar > :last-child { grid-column: 1 / -1; }
  .portal-shortcuts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3,1fr); gap: 25px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 680px); }
  .utility-links { display: none; }
  .portal-status em { display: none; }
  .site-brand-logo { width: 48px; height: 48px; border-radius: 13px; }
  .site-brand-logo img { width: 42px; height: 42px; }
  .site-brand-copy strong { font-size: 16px; }
  .header-search { width: 40px; }
  .header-search:focus-within { width: 40px; }
  .header-search input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
  .header-search button { width: 38px; }
  .user-menu > summary > span { display: none; }
  .user-menu > summary { padding-right: 6px; }
  .user-menu > summary i { display: none; }
  .board-welcome { margin-top: 20px; border-radius: 21px; }
  .board-welcome-grid { min-height: auto; display: block; padding: 39px 29px 34px; }
  .board-welcome-copy h1 { font-size: clamp(38px, 11vw, 57px); }
  .board-welcome-copy > p { font-size: 13px; }
  .board-welcome-visual { display: none; }
  .board-welcome-stats { grid-template-columns: 1fr 1fr; }
  .board-welcome-stats > div:nth-child(2) { border-right: 0; }
  .board-welcome-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .board-welcome-stats > div { min-height: 66px; padding: 11px 20px; }
  .board-welcome-points { display: grid; }
  .portal-shortcuts { margin-bottom: 28px; }
  .board-toolbar { align-items: flex-start; flex-direction: column; }
  .board-tools { width: 100%; }
  .forum-row { grid-template-columns: 45px minmax(0,1fr) 82px; gap: 10px; }
  .last-topic { display: none; }
  .topic-list-head { display: none; }
  .topic-row { grid-template-columns: 40px minmax(0,1fr) auto; }
  .topic-last { display: none; }
  .post { grid-template-columns: 1fr; }
  .post-author { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 12px; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); }
  .post-author img { width: 58px; height: 58px; margin: 0; }
  .post-author strong, .post-author .role-badge, .author-details { margin: 0; }
  .post-author .role-badge { justify-self: end; }
  .author-details { grid-column: 2 / -1; margin-top: -10px; }
  .members-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .profile-hero { grid-template-columns: 95px minmax(0,1fr); }
  .profile-hero > img { width: 90px; height: 90px; }
  .news-card { grid-template-columns: 62px minmax(0,1fr); }
  .news-card > .button { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 15px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 24px); }
  .site-brand-copy { display: none; }
  .login-link { padding-right: 9px; }
  .login-link > span:last-child { width: 34px; overflow: hidden; font-size: 0; white-space: nowrap; }
  .login-link > span:last-child::after { content: "Login"; font-size: 10px; }
  .login-link small { display: none; }
  .nav-actions { gap: 7px; }
  .board-welcome-grid { padding: 33px 22px 29px; }
  .board-welcome-copy h1 { margin-top: 10px; font-size: clamp(34px, 10vw, 40px); }
  .board-welcome-actions { align-items: stretch; flex-direction: column; }
  .board-welcome-actions .button { width: 100%; }
  .portal-shortcuts { grid-template-columns: 1fr; }
  .board-sidebar { grid-template-columns: 1fr; }
  .board-sidebar > :last-child { grid-column: auto; }
  .forum-row { grid-template-columns: 42px minmax(0,1fr); padding: 13px; }
  .forum-counts { display: none; }
  .page-header { align-items: flex-start; flex-direction: column; }
  .page-actions { width: 100%; justify-content: flex-start; }
  .members-grid, .card-grid { grid-template-columns: 1fr; }
  .profile-hero { grid-template-columns: 1fr; text-align: center; }
  .profile-hero > img { margin: auto; }
  .profile-meta { justify-content: center; }
  .post-author { grid-template-columns: 50px minmax(0,1fr); }
  .post-author img { width: 50px; height: 50px; }
  .post-author .role-badge { grid-column: 2; justify-self: start; }
  .author-details { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .counter { margin-right: 0; }
  .legal, .form-card, .state-card { padding: 24px; }
  .admin-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Discord-Rollenabgleich und Teamseite */
.user-menu > summary {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--user-role-color, #d7b468) 4%, transparent);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.user-menu > summary:hover,
.user-menu[open] > summary {
  border-color: color-mix(in srgb, var(--user-role-color, #d7b468) 34%, var(--line));
  background: color-mix(in srgb, var(--user-role-color, #d7b468) 5%, rgba(255,255,255,.026));
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.user-menu > summary img {
  border-color: color-mix(in srgb, var(--user-role-color, #d7b468) 52%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--user-role-color, #d7b468) 8%, transparent);
}
.user-menu > summary small { color: var(--user-role-color, var(--gold-light)); }
.user-menu-panel { width: 272px; padding: 8px; }
.user-menu-head { padding: 10px 11px 11px; margin-bottom: 7px; }
.user-menu-head span { color: #778b9b; }
.user-role-sync-card {
  display: grid;
  grid-template-columns: 10px minmax(0,1fr);
  align-items: start;
  gap: 9px;
  margin: 0 3px 6px;
  padding: 11px;
  border: 1px solid color-mix(in srgb, var(--user-role-color, #d7b468) 22%, var(--line));
  border-radius: 10px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--user-role-color, #d7b468) 9%, transparent), rgba(255,255,255,.018));
}
.user-role-sync-card > i {
  width: 8px;
  height: 8px;
  margin-top: 3px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: var(--user-role-color, var(--gold-light));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--user-role-color, #d7b468) 10%, transparent);
}
.user-role-sync-card div { min-width: 0; }
.user-role-sync-card strong {
  display: block;
  overflow: hidden;
  color: var(--user-role-color, var(--gold-light));
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-role-sync-card span {
  display: block;
  margin-top: 4px;
  color: #758898;
  font-size: 8px;
  line-height: 1.4;
}
.user-role-sync-form { margin: 0 3px 5px; }
.user-role-sync-form button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  color: #aebdca;
  background: transparent;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}
.user-role-sync-form button:hover { color: #fff; background: rgba(255,255,255,.045); }
.user-role-sync-form button span { color: var(--user-role-color, var(--gold-light)); font-size: 15px; }

.team-hero {
  position: relative;
  isolation: isolate;
  min-height: 235px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(255px,330px);
  align-items: center;
  gap: 42px;
  margin: 4px 0 30px;
  padding: 38px 42px;
  border: 1px solid rgba(153,181,205,.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(88,101,242,.18), transparent 34%),
    radial-gradient(circle at 18% 100%, rgba(217,182,106,.1), transparent 39%),
    linear-gradient(135deg, rgba(17,35,55,.98), rgba(7,17,29,.98));
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.team-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}
.team-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 210px;
  right: -70px;
  bottom: -105px;
  border: 34px solid rgba(88,101,242,.07);
  border-radius: 50%;
}
.team-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9db0bf;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.team-hero-kicker i { width: 24px; height: 1px; background: var(--gold-light); }
.team-hero h1 {
  margin: 10px 0 11px;
  color: #f4f7fa;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.025em;
}
.team-hero p { max-width: 650px; margin: 0; color: #91a4b4; font-size: 13px; line-height: 1.65; }
.team-sync-state {
  position: relative;
  display: grid;
  grid-template-columns: 45px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(112,126,255,.28);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(88,101,242,.14), rgba(255,255,255,.025));
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.team-sync-state::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55d79a;
  box-shadow: 0 0 0 5px rgba(85,215,154,.09), 0 0 18px rgba(85,215,154,.35);
}
.team-sync-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #c8ceff;
  background: rgba(88,101,242,.18);
  border: 1px solid rgba(139,149,255,.2);
  font-size: 23px;
}
.team-sync-state strong { display: block; padding-right: 13px; color: #e7ebff; font-size: 11px; }
.team-sync-state div > span { display: block; margin-top: 4px; color: #7f91a5; font-size: 9px; line-height: 1.45; }
.team-empty { margin-bottom: 26px; border-style: dashed; }
.team-section { margin-bottom: 29px; }
.team-title-row {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding: 0 4px;
}
.team-title { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 11px; letter-spacing: .11em; }
.team-title i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--team-color, var(--gold-light));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--team-color, #d7b468) 10%, transparent);
}
.team-title-row > span {
  color: #6f8293;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.team-member {
  min-height: 88px;
  padding: 17px;
  border-left-width: 1px;
  border-color: color-mix(in srgb, var(--team-color, #d7b468) 26%, var(--line));
  background: linear-gradient(145deg, color-mix(in srgb, var(--team-color, #d7b468) 6%, rgba(15,30,47,.94)), rgba(9,20,33,.96));
  box-shadow: inset 3px 0 0 var(--team-color, var(--gold-light)), 0 12px 35px rgba(0,0,0,.17);
}
.team-member:hover {
  border-color: color-mix(in srgb, var(--team-color, #d7b468) 46%, var(--line));
  box-shadow: inset 3px 0 0 var(--team-color, var(--gold-light)), 0 18px 42px rgba(0,0,0,.25);
}
.team-member img {
  width: 56px;
  height: 56px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--team-color, #d7b468) 8%, transparent);
}
.team-member strong { font-size: 12px; }
.team-member small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: #718594;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.team-member small i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #55d79a;
  box-shadow: 0 0 0 3px rgba(85,215,154,.08);
}

@media (max-width: 760px) {
  .team-hero { grid-template-columns: 1fr; gap: 24px; padding: 31px; }
  .team-sync-state { max-width: 380px; }
}

@media (max-width: 520px) {
  .user-menu-panel { width: min(272px, calc(100vw - 24px)); }
  .team-hero { min-height: 0; margin-bottom: 24px; padding: 27px 22px; border-radius: 19px; }
  .team-hero h1 { font-size: 39px; }
  .team-sync-state { grid-template-columns: 40px minmax(0,1fr); padding: 13px; }
  .team-sync-icon { width: 40px; height: 40px; border-radius: 11px; }
}

/* Portal 3.0: Dashboard, Bewerbungen, Status und Integrationen */
.user-menu-panel .user-menu-dashboard { align-items: center; justify-content: space-between; color: #dce5ff; background: rgba(88,101,242,.08); }
.user-menu-dashboard b {
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 99px;
  color: #fff;
  background: #5865f2;
  font-size: 8px;
}

.home-server-status {
  min-height: 76px;
  display: grid;
  grid-template-columns: 36px minmax(0,1fr) auto auto;
  align-items: center;
  gap: 15px;
  margin: 16px 0 13px;
  padding: 13px 17px;
  border: 1px solid rgba(151,177,199,.15);
  border-radius: 15px;
  background: linear-gradient(110deg, rgba(13,29,46,.94), rgba(8,19,32,.95));
  box-shadow: 0 13px 35px rgba(0,0,0,.18);
  transition: transform .18s ease, border-color .18s ease;
}
.home-server-status:hover { transform: translateY(-2px); border-color: rgba(217,182,106,.28); }
.home-server-indicator {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(118,136,151,.08);
}
.home-server-indicator i { width: 9px; height: 9px; border-radius: 50%; background: #8293a1; box-shadow: 0 0 0 6px rgba(130,147,161,.08); }
.home-server-status.status-online .home-server-indicator { background: rgba(76,206,143,.1); }
.home-server-status.status-online .home-server-indicator i { background: #4fce8f; box-shadow: 0 0 0 6px rgba(79,206,143,.1), 0 0 20px rgba(79,206,143,.35); }
.home-server-status.status-offline .home-server-indicator i { background: #e17177; box-shadow: 0 0 0 6px rgba(225,113,119,.09); }
.home-server-status > div:nth-child(2) { min-width: 0; }
.home-server-status small { display: block; color: #6f8393; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.home-server-status > div:nth-child(2) strong { display: block; overflow: hidden; margin-top: 3px; color: #dce5ec; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.home-server-players { padding: 0 19px; border-left: 1px solid var(--line); text-align: center; }
.home-server-players strong { display: block; color: #edf3f7; font-size: 16px; }
.home-server-players span { color: #6e8191; font-size: 8px; text-transform: uppercase; }
.home-server-status > b { color: var(--gold-light); font-size: 9px; white-space: nowrap; }

.portal-dashboard { padding-bottom: 24px; }
.dashboard-hero {
  position: relative;
  isolation: isolate;
  min-height: 190px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 112px minmax(0,1fr) auto;
  align-items: center;
  gap: 25px;
  padding: 29px 32px;
  border: 1px solid color-mix(in srgb, var(--role-color, #d7b468) 24%, var(--line));
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 12%, color-mix(in srgb, var(--role-color, #d7b468) 16%, transparent), transparent 34%),
    linear-gradient(135deg, rgba(17,34,53,.98), rgba(7,17,29,.98));
  box-shadow: 0 24px 65px rgba(0,0,0,.27);
}
.dashboard-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, color-mix(in srgb, var(--role-color, #d7b468) 6%, transparent), transparent 54%);
}
.dashboard-hero > img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--role-color, #d7b468) 58%, transparent);
  border-radius: 26px;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--role-color, #d7b468) 8%, transparent), 0 18px 38px rgba(0,0,0,.28);
}
.dashboard-hero-copy { min-width: 0; }
.dashboard-hero h1 { margin: 8px 0 7px; font-family: var(--font-display); font-size: clamp(30px,4vw,48px); font-weight: 600; line-height: 1.05; }
.dashboard-hero p { max-width: 650px; margin: 0; color: #8ea1b0; font-size: 12px; }
.dashboard-role-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.dashboard-role-line .role-badge { margin: 0; }
.dashboard-role-line small { color: #6f8393; font-size: 9px; }
.dashboard-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin: 17px 0; }
.dashboard-stat-grid > div {
  min-height: 92px;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 11px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(15,30,47,.94), rgba(9,20,33,.94));
  box-shadow: 0 11px 30px rgba(0,0,0,.14);
}
.dashboard-stat-grid > div > span { grid-row: 1 / 3; align-self: center; color: var(--gold-light); font-size: 20px; }
.dashboard-stat-grid > div > strong { color: #edf2f6; font-size: 20px; line-height: 1.1; }
.dashboard-stat-grid > div > small { color: #718494; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.dashboard-stat-grid .status-online > span { color: #4fce8f; }
.dashboard-stat-grid .status-offline > span { color: #e17177; }
.dashboard-layout { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(280px,.75fr); align-items: start; gap: 17px; }
.dashboard-main, .dashboard-side { display: flex; flex-direction: column; gap: 17px; }
.dashboard-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(15,30,47,.95), rgba(9,20,33,.96));
  box-shadow: 0 14px 38px rgba(0,0,0,.17);
}
.dashboard-card > header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.012);
}
.dashboard-card > header h2 { margin: 3px 0 0; color: #e7edf2; font-size: 14px; }
.dashboard-card > header .eyebrow { color: #748897; font-size: 7px; }
.dashboard-card > header > a, .text-button { border: 0; color: var(--gold-light); background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }
.dashboard-card.compact > header { min-height: 62px; }
.application-current {
  display: grid;
  grid-template-columns: 54px minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 19px;
}
.application-current-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(68,143,210,.2);
  border-radius: 15px;
  background: rgba(49,132,198,.09);
  font-size: 24px;
}
.application-current h3 { margin: 7px 0 4px; font-size: 14px; }
.application-current p { margin: 0; color: #8295a5; font-size: 10px; }
.application-current small { display: block; margin-top: 8px; color: #637687; font-size: 8px; }
.application-status {
  display: inline-flex;
  padding: 4px 7px;
  border: 1px solid rgba(127,151,170,.18);
  border-radius: 99px;
  color: #9fb0bd;
  background: rgba(127,151,170,.08);
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.application-status-pruefung { color: #efc875; border-color: rgba(239,200,117,.23); background: rgba(239,200,117,.08); }
.application-status-gespraech { color: #8dbff0; border-color: rgba(91,164,225,.24); background: rgba(91,164,225,.09); }
.application-status-angenommen { color: #72d9a7; border-color: rgba(79,206,143,.23); background: rgba(79,206,143,.09); }
.application-status-abgelehnt { color: #efa0a5; border-color: rgba(225,113,119,.23); background: rgba(225,113,119,.09); }
.dashboard-empty-state {
  min-height: 125px;
  display: grid;
  grid-template-columns: 45px minmax(0,1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 20px;
}
.dashboard-empty-state > span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; color: var(--gold-light); background: rgba(217,182,106,.08); font-size: 21px; }
.dashboard-empty-state strong { color: #dfe7ed; font-size: 12px; }
.dashboard-empty-state p { margin: 5px 0 0; color: #758898; font-size: 10px; }
.notification-list { display: flex; flex-direction: column; }
.notification-item { position: relative; display: grid; grid-template-columns: 9px minmax(0,1fr); gap: 11px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.notification-item:last-child { border-bottom: 0; }
.notification-item:hover { background: rgba(255,255,255,.018); }
.notification-item > i { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: #526675; }
.notification-item.unread > i { background: #6571ff; box-shadow: 0 0 0 5px rgba(88,101,242,.09); }
.notification-item strong { color: #cbd6df; font-size: 10px; }
.notification-item.unread strong { color: #eef2ff; }
.notification-item p { margin: 3px 0; color: #758898; font-size: 9px; line-height: 1.5; }
.notification-item small { color: #586b7c; font-size: 8px; }
.dashboard-empty-inline { padding: 25px; color: #718494; text-align: center; font-size: 10px; }
.dashboard-links { display: flex; flex-direction: column; padding: 6px; }
.dashboard-links a, .dashboard-links button { width: 100%; display: grid; grid-template-columns: 35px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px; border: 0; border-radius: 10px; color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.dashboard-links a:hover, .dashboard-links button:hover { background: rgba(255,255,255,.025); }
.dashboard-links a > span, .dashboard-links button > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: var(--gold-light); background: rgba(217,182,106,.07); }
.dashboard-links strong { display: block; color: #d3dce4; font-size: 10px; }
.dashboard-links small { display: block; margin-top: 2px; color: #697d8d; font-size: 8px; }
.dashboard-links b { color: #657889; font-size: 12px; }
.dashboard-topic-list { padding: 7px 16px; }
.dashboard-topic-list > p { color: #718494; font-size: 9px; }
.dashboard-topic-list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dashboard-topic-list a:last-child { border-bottom: 0; }
.dashboard-topic-list strong { display: block; overflow: hidden; color: #bdcad4; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-topic-list small { color: #617586; font-size: 8px; }
.role-history-list, .mini-audit-list { display: flex; flex-direction: column; padding: 8px 16px 13px; }
.role-history-list > div, .mini-audit-list > div { display: grid; grid-template-columns: 8px minmax(0,1fr); align-items: start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.role-history-list > div:last-child, .mini-audit-list > div:last-child { border-bottom: 0; }
.role-history-list i, .mini-audit-list i { width: 6px; height: 6px; margin-top: 4px; border-radius: 50%; background: #5865f2; box-shadow: 0 0 0 4px rgba(88,101,242,.08); }
.role-history-list strong, .mini-audit-list strong { display: block; color: #c5d1da; font-size: 9px; }
.role-history-list small, .mini-audit-list small { display: block; margin-top: 2px; color: #667a8b; font-size: 8px; }
.mini-audit-list > p { color: #718494; font-size: 9px; }

.application-hub-hero {
  min-height: 260px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 210px;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  padding: 42px;
  border: 1px solid rgba(217,182,106,.16);
  border-radius: 25px;
  background:
    radial-gradient(circle at 86% 18%, rgba(217,182,106,.16), transparent 31%),
    linear-gradient(130deg, rgba(18,36,55,.98), rgba(7,17,29,.98));
  box-shadow: 0 25px 70px rgba(0,0,0,.27);
}
.application-hub-hero h1 { margin: 10px 0 11px; font-family: var(--font-display); font-size: clamp(40px,5vw,64px); font-weight: 600; line-height: .98; }
.application-hub-hero p { max-width: 690px; margin: 0; color: #8fa2b2; font-size: 13px; line-height: 1.65; }
.application-hub-stat {
  min-height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(217,182,106,.2);
  border-radius: 20px;
  background: rgba(217,182,106,.06);
  text-align: center;
}
.application-hub-stat strong { color: var(--gold-light); font-family: var(--font-display); font-size: 54px; line-height: 1; }
.application-hub-stat span { max-width: 145px; margin-top: 8px; color: #8fa0ad; font-size: 9px; line-height: 1.45; text-transform: uppercase; letter-spacing: .08em; }
.own-application-banner {
  display: grid;
  grid-template-columns: 43px minmax(0,1fr) auto;
  align-items: center;
  gap: 15px;
  margin: 17px 0;
  padding: 16px 18px;
  border: 1px solid rgba(79,206,143,.22);
  border-radius: 15px;
  background: linear-gradient(110deg, rgba(79,206,143,.08), rgba(13,28,45,.95));
}
.own-application-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: #75dbaa; background: rgba(79,206,143,.11); font-weight: 900; }
.own-application-banner small { display: block; color: #6d827f; font-size: 7px; text-transform: uppercase; letter-spacing: .09em; }
.own-application-banner strong { display: block; margin-top: 3px; color: #cbeadd; font-size: 12px; }
.own-application-banner p { margin: 3px 0 0; color: #789087; font-size: 9px; }
.application-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin: 24px 0; }
.application-card {
  position: relative;
  isolation: isolate;
  min-height: 290px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--application-color, #d7b468) 22%, var(--line));
  border-radius: 18px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--application-color, #d7b468) 5%, rgba(15,30,47,.96)), rgba(9,20,33,.97));
  box-shadow: 0 14px 39px rgba(0,0,0,.16);
  transition: transform .18s ease, border-color .18s ease;
}
.application-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--application-color, #d7b468) 11%, transparent), transparent 36%); }
.application-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--application-color, #d7b468) 42%, var(--line)); }
.application-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.application-card-top > span { width: 49px; height: 49px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--application-color, #d7b468) 22%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--application-color, #d7b468) 8%, transparent); font-size: 23px; }
.application-card > div:nth-child(2) { margin-top: 25px; }
.application-card > div:nth-child(2) > small { color: var(--application-color, var(--gold-light)); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.application-card h2 { margin: 7px 0; color: #e7edf2; font-size: 17px; }
.application-card p { margin: 0; color: #7d90a0; font-size: 10px; line-height: 1.6; }
.application-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 20px; }
.application-card footer > a:first-child { color: #8fa0ad; font-size: 9px; font-weight: 800; }
.application-card footer > span { color: #66798a; font-size: 8px; }
.application-card .button { min-height: 35px; padding-inline: 12px; font-size: 9px; }
.application-login-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 25px;
  padding: 23px 25px;
  border: 1px solid rgba(88,101,242,.22);
  border-radius: 17px;
  background: linear-gradient(120deg, rgba(88,101,242,.11), rgba(11,24,39,.96));
}
.application-login-callout strong { color: #e6e9ff; font-size: 14px; }
.application-login-callout p { margin: 5px 0 0; color: #7f8eaa; font-size: 10px; }

.server-status-hero {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 105px minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: radial-gradient(circle at 86% 15%, rgba(124,145,161,.12), transparent 34%), linear-gradient(135deg, rgba(17,34,53,.98), rgba(7,17,29,.98));
  box-shadow: 0 25px 70px rgba(0,0,0,.28);
}
.server-status-hero.status-online { border-color: rgba(79,206,143,.22); background: radial-gradient(circle at 86% 15%, rgba(79,206,143,.14), transparent 34%), linear-gradient(135deg, rgba(17,34,53,.98), rgba(7,17,29,.98)); }
.server-status-hero.status-offline { border-color: rgba(225,113,119,.2); }
.server-pulse { position: relative; width: 100px; height: 100px; display: grid; place-items: center; }
.server-pulse i { position: absolute; inset: 7px; border: 1px solid rgba(125,145,161,.18); border-radius: 50%; }
.server-pulse span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #8294a2; background: rgba(125,145,161,.08); font-size: 22px; }
.server-status-hero.status-online .server-pulse i { border-color: rgba(79,206,143,.25); box-shadow: 0 0 0 12px rgba(79,206,143,.04), 0 0 45px rgba(79,206,143,.12); }
.server-status-hero.status-online .server-pulse span { color: #4fce8f; background: rgba(79,206,143,.1); }
.server-status-hero.status-offline .server-pulse span { color: #e17177; background: rgba(225,113,119,.09); }
.server-status-hero h1 { margin: 8px 0; font-family: var(--font-display); font-size: clamp(35px,4vw,53px); font-weight: 600; }
.server-status-hero p { margin: 0; color: #8396a6; }
.server-status-actions { display: flex; flex-direction: column; gap: 8px; min-width: 150px; }
.server-metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 17px 0; }
.server-metric-grid > div { min-height: 125px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(15,30,47,.95), rgba(9,20,33,.96)); }
.server-metric-grid span { color: #6d8191; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.server-metric-grid strong { display: block; margin: 9px 0 5px; color: #e8eef3; font-size: 25px; }
.server-metric-grid small { color: #6c7f8f; font-size: 9px; }
.server-status-note { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 13px; padding: 17px; border: 1px solid rgba(79,150,204,.15); border-radius: 14px; background: rgba(49,132,198,.055); }
.server-status-note > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #77b8e8; background: rgba(49,132,198,.1); font-weight: 900; }
.server-status-note strong { color: #c6d6e1; font-size: 10px; }
.server-status-note p { margin: 4px 0 0; color: #718899; font-size: 9px; }

.integration-panel {
  overflow: hidden;
  margin-bottom: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15,30,47,.96), rgba(9,20,33,.97));
  box-shadow: 0 15px 42px rgba(0,0,0,.17);
}
.integration-panel > header {
  min-height: 91px;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.012);
}
.integration-panel > header small { color: #6e8393; font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.integration-panel > header h2 { margin: 3px 0; color: #e4ebf0; font-size: 15px; }
.integration-panel > header p { margin: 0; color: #748898; font-size: 9px; line-height: 1.5; }
.integration-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; color: var(--gold-light); background: rgba(217,182,106,.07); font-size: 20px; font-weight: 900; }
.integration-icon.discord { color: #aeb5ff; background: rgba(88,101,242,.11); border-color: rgba(88,101,242,.2); }
.integration-icon.fivem { color: #ffb98a; background: rgba(255,129,55,.09); border-color: rgba(255,129,55,.18); }
.integration-icon.webhook { color: #75dbaa; background: rgba(79,206,143,.08); border-color: rgba(79,206,143,.18); }
.integration-icon.bot { color: #d9c6ff; background: rgba(145,104,220,.09); border-color: rgba(145,104,220,.18); }
.integration-icon.backup { color: #8bc3ed; background: rgba(49,132,198,.09); }
.integration-state { padding: 5px 8px; border: 1px solid rgba(137,157,173,.17); border-radius: 99px; color: #8193a2; background: rgba(137,157,173,.06); font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.integration-state.active { color: #72d9a7; border-color: rgba(79,206,143,.2); background: rgba(79,206,143,.07); }
.role-mapping-list { padding: 6px 17px 13px; }
.role-mapping-row {
  display: grid;
  grid-template-columns: 10px minmax(170px,.75fr) minmax(250px,1.5fr) minmax(155px,.65fr);
  align-items: center;
  gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.role-mapping-row:last-child { border-bottom: 0; }
.role-mapping-row > i { width: 8px; height: 32px; border-radius: 99px; background: var(--mapping-color, var(--gold-light)); box-shadow: 0 0 14px color-mix(in srgb, var(--mapping-color, #d7b468) 28%, transparent); }
.role-mapping-name strong { display: block; color: #d9e2e9; font-size: 10px; }
.role-mapping-name small { display: block; margin-top: 3px; color: #627687; font-size: 8px; }
.role-mapping-row label > span, .bot-setup-grid > div > span { display: block; margin-bottom: 5px; color: #718596; font-size: 8px; font-weight: 800; }
.role-mapping-row .input, .role-mapping-row .select { min-height: 39px; padding-block: 8px; font-size: 10px; }
.integration-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.integration-form-body { padding: 19px; }
.integration-form-body .form-group:last-child { margin-bottom: 0; }
.simple-check { display: flex; align-items: center; gap: 8px; color: #8193a2; font-size: 9px; cursor: pointer; }
.simple-check input { accent-color: #5865f2; }
.bot-setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; padding: 19px; }
.copy-field { display: flex; gap: 7px; }
.copy-field .input { min-width: 0; font-family: Consolas, monospace; font-size: 9px; }
.copy-field button { min-width: 70px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; color: #9dabb6; background: rgba(255,255,255,.025); font-size: 8px; font-weight: 800; cursor: pointer; }
.copy-field button:hover { color: #fff; border-color: rgba(217,182,106,.25); }
.danger-check { display: inline-flex; align-items: flex-start; gap: 9px; margin: 0 19px 17px; padding: 11px; border: 1px solid rgba(225,113,119,.14); border-radius: 10px; background: rgba(225,113,119,.045); cursor: pointer; }
.danger-check input { margin-top: 2px; }
.danger-check strong { display: block; color: #dcafb2; font-size: 9px; }
.danger-check small { display: block; margin-top: 2px; color: #7e6c73; font-size: 8px; }
.integration-path-note { margin: 0; padding: 12px 19px; border-top: 1px solid var(--line); color: #718596; background: rgba(255,255,255,.012); font-size: 9px; }
.integration-path-note strong { color: #aebdc8; }
.integration-save-bar {
  position: sticky;
  z-index: 5;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 8px 0 23px;
  padding: 14px 16px;
  border: 1px solid rgba(217,182,106,.22);
  border-radius: 15px;
  background: rgba(8,19,31,.96);
  box-shadow: 0 20px 55px rgba(0,0,0,.38);
  backdrop-filter: blur(14px);
}
.integration-save-bar strong { display: block; color: #dfe6ec; font-size: 10px; }
.integration-save-bar span { color: #718596; font-size: 8px; }
.integration-bottom-grid { align-items: stretch; }
.integration-bottom-grid .integration-panel { height: calc(100% - 17px); }
.backup-action { padding: 20px; }

.admin-grid-expanded { grid-template-columns: repeat(6,1fr); }
.admin-tool-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin-bottom: 18px; }
.admin-tool-grid a { min-height: 80px; display: grid; grid-template-columns: 39px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(15,30,47,.94), rgba(9,20,33,.95)); }
.admin-tool-grid a:hover { border-color: rgba(217,182,106,.27); transform: translateY(-2px); }
.admin-tool-grid a > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; color: var(--gold-light); background: rgba(217,182,106,.08); }
.admin-tool-grid strong { display: block; color: #dce5eb; font-size: 10px; }
.admin-tool-grid small { display: block; margin-top: 3px; color: #6e8292; font-size: 8px; }
.admin-tool-grid b { color: #6f8292; }
.application-admin-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 17px; }
.fraction-application-status-list { padding: 7px; }
.fraction-application-status-list a { display: grid; grid-template-columns: 8px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px; border-radius: 9px; }
.fraction-application-status-list a:hover { background: rgba(255,255,255,.025); }
.fraction-application-status-list a > span { width: 7px; height: 7px; border-radius: 50%; background: var(--dot-color, var(--gold)); }
.fraction-application-status-list strong { display: block; color: #c5d1da; font-size: 9px; }
.fraction-application-status-list small { color: #667a8b; font-size: 8px; }
.fraction-application-status-list b { color: #687b8c; }

.home-connected {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px,.65fr) minmax(0,1.35fr);
  gap: 30px;
  margin: 7px 0 46px;
  padding: 28px;
  border: 1px solid rgba(130,152,169,.14);
  border-radius: 20px;
  background: radial-gradient(circle at 0 0, rgba(88,101,242,.1), transparent 35%), linear-gradient(135deg, rgba(14,29,46,.97), rgba(7,17,29,.98));
  box-shadow: 0 20px 58px rgba(0,0,0,.2);
}
.home-connected-copy { align-self: center; }
.home-connected-copy h2 { max-width: 420px; margin: 8px 0 9px; color: #e7edf2; font-family: var(--font-display); font-size: clamp(24px,2.6vw,34px); font-weight: 600; line-height: 1.08; }
.home-connected-copy p { max-width: 430px; margin: 0; color: #798d9d; font-size: 10px; line-height: 1.65; }
.home-connected-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.home-connected-grid a {
  min-height: 86px;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.home-connected-grid a:hover { transform: translateY(-2px); border-color: rgba(217,182,106,.23); background: rgba(217,182,106,.035); }
.home-connected-grid a > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(217,182,106,.16); border-radius: 12px; color: var(--gold-light); background: rgba(217,182,106,.065); font-size: 16px; font-weight: 900; }
.home-connected-grid strong { display: block; color: #d7e0e7; font-size: 10px; }
.home-connected-grid small { display: block; margin-top: 4px; color: #6d8292; font-size: 8px; line-height: 1.4; }
.home-connected-grid b { align-self: start; color: #4f6475; font-size: 8px; }

.application-status-zurueckgezogen {
  color: #9aa8b3;
  border-color: rgba(154,168,179,.2);
  background: rgba(154,168,179,.07);
}
.portal-application-current .application-current-icon {
  color: var(--application-color, var(--gold-light));
  border-color: color-mix(in srgb, var(--application-color, #d7b468) 24%, transparent);
  background: color-mix(in srgb, var(--application-color, #d7b468) 8%, transparent);
}
.portal-application-current > form { align-self: center; }
.portal-application-summary {
  display: grid;
  grid-template-columns: minmax(180px,.48fr) minmax(0,1fr);
  gap: 22px;
  margin: 18px 0;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(17,34,53,.95), rgba(8,19,31,.97));
}
.portal-application-summary h2 { margin: 5px 0 0; color: #e3eaf0; font-size: 18px; }
.portal-application-summary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.portal-application-summary-list a {
  display: grid;
  grid-template-columns: 35px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 11px;
  background: rgba(255,255,255,.018);
}
.portal-application-summary-list a:hover { border-color: rgba(217,182,106,.2); background: rgba(217,182,106,.035); }
.portal-application-summary-list a > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: var(--gold-light); background: rgba(217,182,106,.08); }
.portal-application-summary-list strong { display: block; color: #d6e0e7; font-size: 9px; }
.portal-application-summary-list small { display: block; margin-top: 3px; color: #6f8292; font-size: 8px; }
.portal-application-summary-list i { color: #687c8d; font-style: normal; }

.application-form-page { padding-bottom: 30px; }
.application-form-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 68px minmax(0,1fr) auto;
  align-items: center;
  gap: 19px;
  margin-bottom: 18px;
  padding: 27px 29px;
  border: 1px solid color-mix(in srgb, var(--application-color, #d7b468) 25%, var(--line));
  border-radius: 21px;
  background: radial-gradient(circle at 92% 0, color-mix(in srgb, var(--application-color, #d7b468) 13%, transparent), transparent 38%), linear-gradient(140deg, rgba(17,34,53,.98), rgba(7,17,29,.98));
  box-shadow: 0 22px 60px rgba(0,0,0,.24);
}
.application-form-hero > span { width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--application-color, #d7b468) 28%, transparent); border-radius: 19px; color: var(--application-color, var(--gold-light)); background: color-mix(in srgb, var(--application-color, #d7b468) 9%, transparent); font-size: 29px; }
.application-form-hero small { color: var(--application-color, var(--gold-light)); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.application-form-hero h1 { margin: 5px 0 7px; color: #eef3f6; font-family: var(--font-display); font-size: clamp(25px,3vw,38px); font-weight: 600; }
.application-form-hero p { max-width: 720px; margin: 0; color: #7f92a1; font-size: 10px; line-height: 1.65; }
.application-form-hero > i { font-style: normal; }
.portal-application-form { overflow: hidden; padding: 0; border-color: color-mix(in srgb, var(--application-color, #d7b468) 17%, var(--line)); }
.application-form-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  padding: 23px 25px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, color-mix(in srgb, var(--application-color, #d7b468) 5%, transparent), transparent);
}
.application-form-intro h2 { margin: 4px 0 0; color: #e2e9ee; font-size: 19px; }
.application-form-intro p { max-width: 450px; margin: 0; color: #718696; font-size: 9px; line-height: 1.6; text-align: right; }
.application-form-intro strong { color: #cbd5dc; }
.application-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 25px; }
.application-form-grid .form-group { margin: 0; }
.application-form-wide { grid-column: 1 / -1; }
.application-large-text { min-height: 175px; }
.application-privacy-check { margin: 0 25px 22px; padding: 13px 14px; border: 1px solid rgba(88,101,242,.15); border-radius: 11px; background: rgba(88,101,242,.045); line-height: 1.5; }
.application-form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 18px 25px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.012);
}
.application-form-submit strong { display: block; color: #d4dee5; font-size: 10px; }
.application-form-submit span { display: block; margin-top: 3px; color: #708494; font-size: 8px; }
.application-existing-state { margin-top: 18px; }

.fivem-link-card { border-color: rgba(255,129,55,.13); }
.fivem-link-state {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 5px 2px;
}
.fivem-link-state > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(79,206,143,.2); border-radius: 14px; color: #66d49e; background: rgba(79,206,143,.08); font-size: 19px; font-weight: 900; }
.fivem-link-state strong { color: #dbe5eb; font-size: 11px; }
.fivem-link-state p { margin: 4px 0; color: #768a9a; font-size: 9px; }
.fivem-link-state small { color: #657989; font-size: 8px; }
.fivem-link-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px;
  border: 1px dashed rgba(255,129,55,.26);
  border-radius: 13px;
  background: rgba(255,129,55,.045);
}
.fivem-link-code small { display: block; color: #8a7a70; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.fivem-link-code strong { display: block; margin-top: 3px; color: #ffc49f; font-family: Consolas, monospace; font-size: 24px; letter-spacing: .13em; }
.fivem-link-help { margin: 12px 2px 1px; color: #738797; font-size: 9px; line-height: 1.6; }
.fivem-link-help strong { color: #d0d9df; font-family: Consolas, monospace; }

.integration-icon.applications { color: #efc975; background: rgba(217,182,106,.09); border-color: rgba(217,182,106,.19); }
.integration-icon.history { color: #8bc3ed; background: rgba(49,132,198,.09); border-color: rgba(49,132,198,.18); }
.fraction-role-mapping-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 18px; }
.fraction-role-mapping-grid > label {
  display: grid;
  grid-template-columns: minmax(150px,.8fr) minmax(180px,1.2fr);
  align-items: center;
  gap: 13px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.014);
}
.fraction-role-mapping-grid > label > span { display: grid; grid-template-columns: 7px minmax(0,1fr); align-items: center; gap: 8px; }
.fraction-role-mapping-grid i { grid-row: 1 / 3; width: 6px; height: 28px; border-radius: 99px; background: var(--mapping-color, var(--gold)); }
.fraction-role-mapping-grid strong { color: #cfdae1; font-size: 9px; }
.fraction-role-mapping-grid small { grid-column: 2; color: #647888; font-size: 7px; }
.fraction-role-mapping-grid .input { min-height: 39px; font-size: 9px; }
.integration-queue-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 0 19px 19px; }
.integration-queue-stats span { padding: 11px; border: 1px solid var(--line); border-radius: 10px; color: #718596; background: rgba(255,255,255,.014); font-size: 8px; text-align: center; }
.integration-queue-stats strong { display: block; margin-bottom: 2px; color: #cdd7de; font-size: 15px; }
.integration-queue-stats .has-error { color: #d89196; border-color: rgba(225,113,119,.18); background: rgba(225,113,119,.045); }
.integration-queue-stats .has-error strong { color: #e4a1a6; }
.fivem-bridge-panel { padding: 0; border-color: rgba(255,129,55,.14); background: linear-gradient(145deg, rgba(24,31,40,.97), rgba(9,20,33,.97)); }

.table-subline { display: block; margin-top: 3px; color: #5f7485; font-size: 7px; }
.legacy-application-panel { margin-top: 18px; }
.application-review-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  align-items: start;
  gap: 18px;
}
.application-review-answers, .application-answer-list { display: grid; gap: 13px; padding: 20px; margin: 0; }
.application-answer, .application-answer-list > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.014);
}
.application-answer small, .application-answer-list dt { display: block; margin-bottom: 6px; color: var(--gold-light); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.application-answer strong { color: #dae3e9; font-size: 11px; }
.application-answer p, .application-answer-list dd { margin: 0; color: #8b9aa6; font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }
.application-decision-panel { overflow: hidden; margin-top: 17px; }
.application-review-decision { position: sticky; top: 82px; }
.application-review-decision .integration-form-body { display: grid; gap: 13px; }
.application-review-decision .form-group { margin: 0; }
.application-review-history { margin-top: 18px; }
.application-review-history-list, .application-history-list { padding: 8px 18px 18px; }
.application-review-history-list > div, .application-history-list > div { display: grid; grid-template-columns: 8px minmax(0,1fr); gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.application-review-history-list > div:last-child, .application-history-list > div:last-child { border-bottom: 0; }
.application-review-history-list i, .application-history-list i { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(217,182,106,.3); }
.application-review-history-list strong, .application-history-list strong { display: block; color: #cbd6dd; font-size: 9px; }
.application-review-history-list p, .application-history-list p { margin: 4px 0; color: #7a8d9c; font-size: 9px; line-height: 1.55; }
.application-review-history-list small, .application-history-list small { color: #607586; font-size: 8px; }

.team-admin-stats { margin-bottom: 17px; }
.team-admin-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; align-items: start; gap: 17px; }
.team-admin-editor { display: grid; gap: 17px; }
.team-admin-editor > * { margin: 0; }
.team-member-form { display: grid; gap: 13px; border-top: 1px solid var(--line); }
.team-member-form .form-group { margin: 0; }
.team-member-form .button { width: 100%; margin-top: 3px; }
.team-state { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid rgba(137,157,173,.16); border-radius: 99px; color: #8294a2; background: rgba(137,157,173,.05); font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.team-state::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.team-state.active { color: #65d19b; border-color: rgba(79,206,143,.18); background: rgba(79,206,143,.06); }
.team-state.inactive { color: #8b99a5; }
.team-fivem-link { margin-bottom: 12px; padding: 12px; border: 1px solid rgba(255,129,55,.13); border-radius: 10px; background: rgba(255,129,55,.035); }
.team-fivem-link strong { display: block; color: #e0e7ec; font-size: 10px; }
.team-fivem-link small { display: block; margin-top: 4px; color: #7d8c98; font-size: 8px; }
.team-member .team-department { display: flex; margin-top: 6px; color: var(--team-color, var(--gold-light)); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.team-member .team-responsibility { display: block; margin-top: 7px; color: #738797; font-size: 9px; font-weight: 500; line-height: 1.55; text-transform: none; letter-spacing: 0; }

@media (max-width: 1100px) {
  .role-mapping-row { grid-template-columns: 10px minmax(160px,.8fr) minmax(220px,1.4fr); }
  .role-mapping-row > label:last-child { grid-column: 2 / -1; }
  .admin-grid-expanded { grid-template-columns: repeat(3,1fr); }
  .application-review-layout, .team-admin-layout { grid-template-columns: minmax(0,1fr) 310px; }
  .fraction-role-mapping-grid { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  .home-server-status { grid-template-columns: 36px minmax(0,1fr) auto; }
  .home-server-status > b { display: none; }
  .dashboard-hero { grid-template-columns: 90px minmax(0,1fr); }
  .dashboard-hero > img { width: 84px; height: 84px; border-radius: 21px; }
  .dashboard-hero > form { grid-column: 2; }
  .dashboard-stat-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-layout, .application-admin-layout { grid-template-columns: 1fr; }
  .application-card-grid { grid-template-columns: 1fr 1fr; }
  .server-status-hero { grid-template-columns: 80px minmax(0,1fr); }
  .server-pulse { width: 76px; height: 76px; }
  .server-status-actions { grid-column: 2; flex-direction: row; }
  .integration-two-column, .bot-setup-grid { grid-template-columns: 1fr; }
  .role-mapping-row { grid-template-columns: 10px minmax(0,1fr); }
  .role-mapping-row > label, .role-mapping-row > label:last-child { grid-column: 2; }
  .portal-application-summary, .application-review-layout, .team-admin-layout { grid-template-columns: 1fr; }
  .home-connected { grid-template-columns: 1fr; }
  .application-review-decision { position: static; }
  .application-form-hero { grid-template-columns: 58px minmax(0,1fr); }
  .application-form-hero > span { width: 58px; height: 58px; }
  .application-form-hero > i { grid-column: 2; justify-self: start; }
}

@media (max-width: 620px) {
  .home-server-status { grid-template-columns: 32px minmax(0,1fr); padding: 12px; }
  .home-server-players { display: none; }
  .dashboard-hero { grid-template-columns: 1fr; padding: 25px; text-align: center; }
  .dashboard-hero > img { margin: auto; }
  .dashboard-hero > form { grid-column: auto; }
  .dashboard-role-line { justify-content: center; }
  .dashboard-stat-grid { gap: 9px; }
  .dashboard-stat-grid > div { min-height: 82px; padding: 12px; }
  .application-current, .dashboard-empty-state { grid-template-columns: 45px minmax(0,1fr); }
  .application-current > .button, .dashboard-empty-state > .button { grid-column: 1 / -1; width: 100%; }
  .application-hub-hero { grid-template-columns: 1fr; gap: 24px; padding: 29px 24px; }
  .application-hub-stat { min-height: 105px; }
  .own-application-banner { grid-template-columns: 40px minmax(0,1fr); }
  .own-application-banner .button { grid-column: 1 / -1; width: 100%; }
  .application-card-grid { grid-template-columns: 1fr; }
  .application-login-callout { align-items: stretch; flex-direction: column; }
  .home-connected { padding: 22px; }
  .home-connected-grid { grid-template-columns: 1fr; }
  .portal-application-summary-list, .application-form-grid { grid-template-columns: 1fr; }
  .application-form-wide { grid-column: auto; }
  .application-form-hero { grid-template-columns: 1fr; padding: 23px; text-align: center; }
  .application-form-hero > span, .application-form-hero > i { grid-column: auto; justify-self: center; }
  .application-form-intro, .application-form-submit { align-items: stretch; flex-direction: column; }
  .application-form-intro p { text-align: left; }
  .application-form-submit .button { width: 100%; }
  .fivem-link-state { grid-template-columns: 42px minmax(0,1fr); }
  .fivem-link-state > span { width: 42px; height: 42px; }
  .fivem-link-state > form { grid-column: 1 / -1; }
  .fivem-link-state .button { width: 100%; }
  .fivem-link-code { align-items: stretch; flex-direction: column; }
  .fivem-link-code .button { width: 100%; }
  .fraction-role-mapping-grid > label { grid-template-columns: 1fr; }
  .integration-queue-stats { grid-template-columns: 1fr; }
  .server-status-hero { grid-template-columns: 1fr; padding: 28px 23px; text-align: center; }
  .server-pulse { margin: auto; }
  .server-status-actions { grid-column: auto; }
  .server-metric-grid { grid-template-columns: 1fr; }
  .integration-panel > header { grid-template-columns: 42px minmax(0,1fr); padding: 15px; }
  .integration-icon { width: 42px; height: 42px; border-radius: 12px; }
  .integration-state { grid-column: 2; justify-self: start; }
  .role-mapping-list { padding-inline: 11px; }
  .copy-field { flex-wrap: wrap; }
  .copy-field .input { flex-basis: 100%; }
  .integration-save-bar { align-items: stretch; flex-direction: column; }
  .integration-save-bar .button { width: 100%; }
  .admin-grid-expanded { grid-template-columns: 1fr 1fr; }
  .admin-tool-grid { grid-template-columns: 1fr; }
}

/* Betrieb, Sicherheit und redaktionelle Werkzeuge */
.maintenance-team-banner {
  position: relative;
  z-index: 8;
  color: #fff0c6;
  border-bottom: 1px solid rgba(240,197,101,.28);
  background: linear-gradient(90deg, rgba(92,65,18,.97), rgba(55,38,12,.97));
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}
.maintenance-team-banner .container {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}
.maintenance-team-banner strong { text-transform: uppercase; letter-spacing: .08em; }
.maintenance-team-banner em { color: #d6c49d; font-style: normal; }
.maintenance-team-banner a { margin-left: auto; color: #fff0c6; font-weight: 900; }
.operations-page { padding-bottom: 32px; }
.operations-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  margin: -4px 0 18px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7,17,29,.72);
  scrollbar-width: thin;
}
.operations-nav a {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #7e919f;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  transition: .18s ease;
}
.operations-nav a span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #a9bac6;
  background: rgba(255,255,255,.035);
}
.operations-nav a:hover { color: #d8e1e7; background: rgba(255,255,255,.025); }
.operations-nav a.active {
  color: var(--gold-light);
  border-color: rgba(217,182,106,.2);
  background: rgba(217,182,106,.07);
}
.operations-nav a.active span { color: var(--gold-light); background: rgba(217,182,106,.1); }
.operations-hero {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 23px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    radial-gradient(circle at 90% 0, rgba(79,197,140,.09), transparent 33%),
    linear-gradient(145deg, rgba(16,32,49,.97), rgba(8,19,31,.97));
  box-shadow: var(--shadow-soft);
}
.operations-hero.status-warning { border-color: rgba(234,184,91,.22); }
.operations-hero.status-broken { border-color: rgba(225,111,118,.24); background: radial-gradient(circle at 90% 0, rgba(225,111,118,.09), transparent 33%), linear-gradient(145deg, rgba(16,32,49,.97), rgba(8,19,31,.97)); }
.operations-hero-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(79,197,140,.2);
  border-radius: 18px;
  color: #66daa2;
  background: rgba(79,197,140,.08);
  font-size: 24px;
  font-weight: 900;
}
.operations-hero.status-warning .operations-hero-icon { color: #e8c274; border-color: rgba(232,194,116,.2); background: rgba(232,194,116,.08); }
.operations-hero.status-broken .operations-hero-icon { color: #ed8b91; border-color: rgba(225,111,118,.22); background: rgba(225,111,118,.08); }
.operations-hero small, .operations-hero p { color: #6e8291; font-size: 9px; }
.operations-hero h2 { margin: 4px 0; color: #e4ebf0; font-size: 18px; }
.operations-hero p { margin: 0; }
.system-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.system-check-card {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap: 12px;
  min-height: 92px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(13,27,43,.78);
}
.system-check-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #63d69e;
  background: rgba(79,197,140,.08);
  font-weight: 900;
}
.system-check-card.status-warning .system-check-symbol { color: #e8c274; background: rgba(232,194,116,.08); }
.system-check-card.status-error .system-check-symbol { color: #eb858b; background: rgba(225,111,118,.08); }
.system-check-card strong { display: block; color: #d5dfe6; font-size: 10px; }
.system-check-card p { margin: 5px 0 0; color: #718594; font-size: 9px; line-height: 1.5; }
.system-check-card small { display: block; margin-top: 7px; color: var(--gold-light); font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.operations-two-column { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 15px; margin-bottom: 16px; }
.job-status-list { display: grid; gap: 1px; padding: 9px 17px 17px; }
.job-status-list > div { display: grid; grid-template-columns: 9px minmax(0,1fr); align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.job-status-list > div:last-child { border-bottom: 0; }
.job-dot { width: 8px; height: 8px; border-radius: 50%; background: #617586; }
.job-dot.status-success { background: #4fc58c; box-shadow: 0 0 12px rgba(79,197,140,.35); }
.job-dot.status-failed { background: #e16f76; box-shadow: 0 0 12px rgba(225,111,118,.3); }
.job-dot.status-running { background: #e7bf6d; box-shadow: 0 0 12px rgba(231,191,109,.3); }
.job-status-list strong { display: block; color: #cdd8df; font-size: 9px; }
.job-status-list small { display: block; margin-top: 3px; color: #687c8c; font-size: 8px; }
.operations-safety-note {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 12px 18px;
  padding: 16px 18px;
  margin: 16px 0;
  border: 1px solid rgba(79,150,204,.16);
  border-radius: 13px;
  background: rgba(49,132,198,.045);
}
.operations-safety-note strong { color: #9ccbec; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.operations-safety-note p { margin: 0; color: #718697; font-size: 9px; line-height: 1.6; }
.operations-safety-note code { color: #abcfe8; }
.operations-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 16px; }
.operations-stat-grid > div {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(16,32,49,.92), rgba(9,20,33,.92));
}
.operations-stat-grid strong { overflow-wrap: anywhere; color: #e4ebef; font-size: 18px; line-height: 1.1; }
.operations-stat-grid span { margin-top: 6px; color: #6d8190; font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.maintenance-public-page { padding: 55px 0; }
.maintenance-state-card { max-width: 760px; margin-inline: auto; }
.maintenance-state-card .eyebrow { display: block; margin: 15px 0 5px; color: var(--gold-light); }
.maintenance-until { width: max-content; max-width: 100%; margin: 18px auto; padding: 10px 13px; border: 1px solid rgba(217,182,106,.17); border-radius: 10px; color: #8ea0ad; background: rgba(217,182,106,.05); font-size: 9px; }
.maintenance-until strong { color: #e5c77d; }
.maintenance-admin-status {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 21px;
  margin-bottom: 16px;
  border: 1px solid rgba(79,197,140,.2);
  border-radius: 16px;
  background: radial-gradient(circle at 90% 0, rgba(79,197,140,.1), transparent 34%), rgba(11,25,40,.9);
}
.maintenance-admin-status.is-active { border-color: rgba(229,177,80,.24); background: radial-gradient(circle at 90% 0, rgba(229,177,80,.11), transparent 34%), rgba(11,25,40,.9); }
.maintenance-admin-status > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; color: #5bd096; background: rgba(79,197,140,.08); font-size: 22px; }
.maintenance-admin-status.is-active > span { color: #e8c274; background: rgba(232,194,116,.08); }
.maintenance-admin-status small { color: #6d8190; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.maintenance-admin-status h2 { margin: 4px 0; color: #e3eaee; font-size: 17px; }
.maintenance-admin-status p { margin: 0; color: #748896; font-size: 9px; }
.maintenance-admin-status > strong { color: #55cf94; font-size: 9px; letter-spacing: .12em; }
.maintenance-admin-status.is-active > strong { color: #ebc878; }
.maintenance-settings-panel { margin-bottom: 16px; }
.large-switch { display: grid; grid-template-columns: 19px minmax(0,1fr); gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.015); cursor: pointer; }
.large-switch > input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.large-switch strong, .large-switch small { display: block; }
.large-switch strong { color: #d3dde4; font-size: 10px; }
.large-switch small { margin-top: 3px; color: #6e8291; font-size: 8px; }
.operations-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }
.operations-info-grid article { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(13,27,43,.66); }
.operations-info-grid article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--gold-light); background: rgba(217,182,106,.07); font-size: 10px; font-weight: 900; }
.operations-info-grid strong { display: block; color: #cbd7df; font-size: 9px; }
.operations-info-grid p { margin: 4px 0 0; color: #6e8292; font-size: 8px; line-height: 1.5; }
.news-editor-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,.75fr); align-items: start; gap: 15px; margin-bottom: 16px; }
.news-editor-form { display: grid; gap: 14px; }
.news-editor-form .form-group { margin: 0; }
.news-content-field { min-height: 260px; }
.news-editor-form .form-help { display: flex; justify-content: space-between; gap: 12px; }
.news-publish-grid, .settings-inline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.news-preview-panel { position: sticky; top: 82px; }
.news-live-preview { margin: 15px; padding: 20px; border: 1px solid rgba(217,182,106,.16); border-radius: 13px; background: radial-gradient(circle at 100% 0, rgba(217,182,106,.08), transparent 34%), rgba(5,14,24,.78); }
.news-live-preview > small { color: var(--gold-light); font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.news-live-preview h3 { margin: 8px 0 12px; color: #e4ebef; font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.news-live-preview > div { max-height: 320px; overflow: auto; color: #8395a3; font-size: 9px; line-height: 1.65; overflow-wrap: anywhere; white-space: pre-wrap; }
.news-live-preview footer { margin-top: 17px; padding-top: 12px; border-top: 1px solid var(--line); color: #607483; font-size: 7px; }
.news-draft-list-panel { margin-bottom: 18px; }
.news-draft-list { padding: 8px 16px 16px; }
.news-draft-row { display: grid; grid-template-columns: 8px minmax(0,1fr) 135px auto; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.news-draft-row:last-child { border-bottom: 0; }
.news-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #748796; }
.news-draft-row.status-draft .news-status-dot { background: #7fa8c4; }
.news-draft-row.status-scheduled .news-status-dot { background: #e0bb6c; box-shadow: 0 0 12px rgba(224,187,108,.3); }
.news-draft-row.status-published .news-status-dot { background: #50c98e; }
.news-draft-main { min-width: 0; }
.news-draft-main > small { color: #6d8291; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.news-draft-main > strong { display: block; overflow: hidden; margin-top: 3px; color: #d2dce3; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.news-draft-main p { overflow: hidden; margin: 4px 0 0; color: #6f8392; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.news-draft-main em { display: block; margin-top: 5px; color: #e5969b; font-size: 7px; font-style: normal; }
.news-draft-author { min-width: 0; }
.news-draft-author span, .news-draft-author small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-draft-author span { color: #aab9c4; font-size: 8px; font-weight: 800; }
.news-draft-author small { color: #607483; font-size: 7px; }
.news-draft-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.news-draft-actions form { margin: 0; }
.operation-status { display: inline-flex; align-items: center; width: max-content; padding: 5px 8px; border: 1px solid var(--line); border-radius: 99px; color: #8da0ae; background: rgba(255,255,255,.025); font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.operation-status.status-ready, .operation-status.status-info { color: #62d29b; border-color: rgba(79,197,140,.19); background: rgba(79,197,140,.06); }
.operation-status.status-expired { color: #8394a1; }
.operation-status.status-failed, .operation-status.status-critical { color: #eb8b91; border-color: rgba(225,111,118,.2); background: rgba(225,111,118,.06); }
.operation-status.status-warning { color: #e7c273; border-color: rgba(231,194,115,.2); background: rgba(231,194,115,.06); }
.operations-table code { color: #9bb8cc; font-size: 8px; }
.activity-filter-form { display: grid; grid-template-columns: minmax(240px,1fr) 180px 160px auto; gap: 9px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.activity-timeline { padding: 6px 17px 17px; }
.activity-entry { display: grid; grid-template-columns: 9px minmax(0,1fr) 175px; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.activity-entry:last-child { border-bottom: 0; }
.activity-marker { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #5994bd; }
.activity-entry.severity-warning .activity-marker { background: #e0b865; box-shadow: 0 0 12px rgba(224,184,101,.25); }
.activity-entry.severity-critical .activity-marker { background: #e16f76; box-shadow: 0 0 12px rgba(225,111,118,.25); }
.activity-entry-main > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.activity-entry-main > div > small { color: #657989; font-size: 7px; }
.activity-entry-main > strong { display: block; margin-top: 6px; color: #cbd6de; font-size: 9px; }
.activity-entry-main details { margin-top: 7px; }
.activity-entry-main summary { width: max-content; color: #7ea6c1; font-size: 7px; cursor: pointer; }
.activity-entry-main pre { max-width: 100%; overflow: auto; padding: 10px; border: 1px solid var(--line); border-radius: 8px; color: #8ca0ae; background: #06101b; font: 8px/1.5 Consolas,monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.activity-entry-meta { text-align: right; }
.activity-entry-meta strong, .activity-entry-meta small, .activity-entry-meta span { display: block; }
.activity-entry-meta strong { color: #aebcc6; font-size: 8px; }
.activity-entry-meta small, .activity-entry-meta span { margin-top: 3px; color: #617585; font-size: 7px; }
.link-check-list { padding: 7px 16px 16px; }
.link-check-row { display: grid; grid-template-columns: 39px minmax(0,1fr) 125px; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.link-check-row:last-child { border-bottom: 0; }
.link-check-symbol { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; color: #718695; background: rgba(255,255,255,.025); font-weight: 900; }
.link-check-row.status-ok .link-check-symbol { color: #62d29b; background: rgba(79,197,140,.07); }
.link-check-row.status-warning .link-check-symbol { color: #e7c273; background: rgba(231,194,115,.07); }
.link-check-row.status-broken .link-check-symbol { color: #eb8b91; background: rgba(225,111,118,.07); }
.link-check-row > div { min-width: 0; }
.link-check-row > div > small { color: #607585; font-size: 7px; text-transform: uppercase; letter-spacing: .07em; }
.link-check-row > div > strong { display: block; overflow: hidden; margin: 3px 0; color: #cbd6de; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.link-check-row > div > a { display: block; overflow: hidden; color: #739ab4; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.link-check-row > div > em { display: block; margin-top: 5px; color: #d68a8f; font-size: 7px; font-style: normal; }
.link-check-meta { text-align: right; }
.link-check-meta strong, .link-check-meta span, .link-check-meta small { display: block; }
.link-check-meta strong { color: #aebdc7; font-size: 9px; }
.link-check-meta span, .link-check-meta small { margin-top: 2px; color: #617585; font-size: 7px; }

@media (max-width: 1000px) {
  .news-editor-layout { grid-template-columns: minmax(0,1fr) 300px; }
  .activity-filter-form { grid-template-columns: 1fr 1fr; }
  .activity-filter-form .button { width: 100%; }
  .news-draft-row { grid-template-columns: 8px minmax(0,1fr) auto; }
  .news-draft-author { display: none; }
}

@media (max-width: 760px) {
  .operations-hero { grid-template-columns: 52px minmax(0,1fr); }
  .operations-hero-icon { width: 52px; height: 52px; border-radius: 15px; }
  .operations-hero form { grid-column: 1 / -1; }
  .operations-hero .button { width: 100%; }
  .system-check-grid, .operations-two-column, .news-editor-layout { grid-template-columns: 1fr; }
  .news-preview-panel { position: static; }
  .operations-info-grid { grid-template-columns: 1fr; }
  .activity-entry { grid-template-columns: 9px minmax(0,1fr); }
  .activity-entry-meta { grid-column: 2; text-align: left; }
  .news-draft-row { grid-template-columns: 8px minmax(0,1fr); }
  .news-draft-actions { grid-column: 2; justify-content: flex-start; }
}

@media (max-width: 560px) {
  .maintenance-team-banner em { display: none; }
  .operations-stat-grid { grid-template-columns: 1fr 1fr; }
  .maintenance-admin-status { grid-template-columns: 48px minmax(0,1fr); }
  .maintenance-admin-status > span { width: 48px; height: 48px; }
  .maintenance-admin-status > strong { grid-column: 2; }
  .news-publish-grid, .settings-inline-grid, .activity-filter-form { grid-template-columns: 1fr; }
  .link-check-row { grid-template-columns: 39px minmax(0,1fr); }
  .link-check-meta { grid-column: 2; text-align: left; }
  .operations-safety-note { grid-template-columns: 1fr; }
}

/* ===== Inhaltsverwaltung, Sicherheitszentrale & Community ===== */
.operation-status.status-published,
.operation-status.status-open,
.operation-status.status-implemented,
.operation-status.status-sent {
  color: #62d29b;
  border-color: rgba(79,197,140,.19);
  background: rgba(79,197,140,.06);
}
.operation-status.status-draft,
.operation-status.status-submitted,
.operation-status.status-review {
  color: #82b7d8;
  border-color: rgba(88,151,192,.2);
  background: rgba(88,151,192,.06);
}
.operation-status.status-planned {
  color: #e7c273;
  border-color: rgba(231,194,115,.2);
  background: rgba(231,194,115,.06);
}
.operation-status.status-closed,
.operation-status.status-archived,
.operation-status.status-declined,
.operation-status.status-skipped {
  color: #899ba8;
  border-color: var(--line);
  background: rgba(255,255,255,.02);
}
.control-page { padding-bottom: 38px; }
.control-stat-grid { margin-bottom: 16px; }
.control-editor-layout {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(260px,.62fr);
  align-items: start;
  gap: 15px;
  margin-bottom: 16px;
}
.control-form { display: grid; gap: 14px; padding: 17px; }
.control-form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.control-form .form-group { margin: 0; }
.control-form-wide { grid-column: 1 / -1; }
.control-small-textarea { min-height: 105px; }
.managed-content-editor { min-height: 430px; font-family: "Consolas","Courier New",monospace; line-height: 1.65; }
.poll-options-editor { min-height: 155px; }
.control-side-panel { position: sticky; top: 84px; overflow: hidden; }
.control-side-list { max-height: 620px; overflow: auto; padding: 7px 13px 14px; }
.control-side-list > a {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  color: #788d9c;
}
.control-side-list > a:last-child { border-bottom: 0; }
.control-side-list > a > span { color: #778e9d; text-align: center; }
.control-side-list > a strong,
.control-side-list > a small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-side-list > a strong { color: #becbd4; font-size: 9px; }
.control-side-list > a small { margin-top: 4px; color: #617585; font-size: 7px; }
.control-side-list > a.active {
  margin-inline: -2px;
  padding-inline: 10px;
  border-color: rgba(219,184,108,.18);
  border-radius: 10px;
  color: var(--gold-light);
  background: rgba(219,184,108,.07);
}
.control-side-list > a.active strong { color: #ead9aa; }
.control-table form { margin: 0; }
.control-switch-panel { margin-bottom: 16px; }
.control-switch-panel form { display: flex; align-items: center; gap: 13px; padding: 15px; }
.control-switch-panel .large-switch { flex: 1; }
.locked-option-list { display: grid; gap: 7px; }
.locked-option-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #aab9c4;
  background: rgba(255,255,255,.018);
  font-size: 9px;
}
.locked-option-list small { color: #687d8c; }

.preview-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(225,181,88,.24);
  border-radius: 11px;
  color: #d9c080;
  background: rgba(126,88,18,.16);
  font-size: 9px;
}
.preview-banner > span { padding: 4px 7px; border-radius: 6px; color: #10151b; background: var(--gold-light); font-weight: 900; text-transform: uppercase; }
.preview-banner > a { margin-left: auto; color: #f0d793; font-weight: 900; }
.managed-page-shell { padding-bottom: 42px; }
.managed-page { max-width: 980px; margin-inline: auto; overflow: hidden; }
.managed-page > header {
  padding: 34px clamp(22px,5vw,58px) 28px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 90% 0, rgba(217,182,106,.1), transparent 34%);
}
.managed-page > header h1 { margin: 8px 0; color: #edf2f5; font-size: clamp(26px,4vw,44px); line-height: 1.08; }
.managed-page > header p { max-width: 760px; margin: 11px 0; color: #8497a5; font-size: 12px; line-height: 1.65; }
.managed-page > header small { color: #607585; font-size: 8px; }
.managed-page-content { padding: 30px clamp(22px,5vw,58px) 46px; color: #a4b2bd; font-size: 11px; line-height: 1.78; }
.managed-page-content h2,
.managed-page-content h3,
.managed-page-content h4 { margin: 31px 0 12px; color: #e0e8ed; line-height: 1.25; }
.managed-page-content h2 { font-size: 21px; }
.managed-page-content h3 { font-size: 17px; }
.managed-page-content h4 { font-size: 14px; }
.managed-page-content p { margin: 0 0 14px; }
.managed-page-content ul,
.managed-page-content ol { display: grid; gap: 8px; margin: 0 0 18px; padding-left: 23px; }
.managed-page-content li::marker { color: var(--gold-light); }
.managed-page-content code { padding: 2px 5px; border-radius: 4px; color: #a8c8dd; background: rgba(90,145,181,.09); }
.managed-page-content hr { height: 1px; margin: 28px 0; border: 0; background: var(--line); }

.security-challenge-page { padding: 52px 0; }
.security-challenge-card { max-width: 650px; }
.security-code-form { width: min(390px,100%); display: grid; gap: 9px; margin: 23px auto 12px; text-align: left; }
.security-code-form label { color: #9cacb8; font-size: 9px; font-weight: 850; }
.security-code-input { text-align: center; font: 700 18px/1.2 "Consolas",monospace; letter-spacing: .1em; }
.security-lock-notice { margin: 14px auto; padding: 10px; border: 1px solid rgba(225,111,118,.22); border-radius: 9px; color: #e79aa0; background: rgba(225,111,118,.06); font-size: 9px; }
.security-settings-grid { margin-bottom: 16px; }
.security-factor-panel form { margin: 0 16px 16px; }
.security-factor-state { margin: 0 16px 15px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); }
.security-factor-state strong,
.security-factor-state span { display: block; }
.security-factor-state strong { color: #b7c5ce; font-size: 10px; }
.security-factor-state span { margin-top: 4px; color: #718695; font-size: 8px; line-height: 1.5; }
.security-factor-state.enabled { border-color: rgba(79,197,140,.2); background: rgba(79,197,140,.05); }
.security-factor-state.enabled strong { color: #6ad5a1; }
.totp-setup { margin: 0 16px 16px; }
.totp-setup ol { padding-left: 20px; color: #8497a5; font-size: 9px; line-height: 1.65; }
.secret-copy-row,
.secret-field-row { display: flex; gap: 8px; }
.secret-copy-row .input,
.secret-field-row .input { min-width: 0; flex: 1; }
.totp-setup details { margin: 10px 0; color: #7894a7; font-size: 8px; }
.totp-setup details code { display: block; overflow-wrap: anywhere; margin-top: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #06101b; }
.security-inline-form { display: grid !important; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin: 10px 16px 16px !important; }
.security-danger-form { padding-top: 11px; border-top: 1px solid var(--line); }
.recovery-codes-panel { margin-bottom: 16px; padding-bottom: 16px; }
.recovery-codes-panel > .button { margin-left: 16px; }
.recovery-code-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 0 16px 14px; }
.recovery-code-grid code { padding: 10px; border: 1px solid rgba(217,182,106,.17); border-radius: 8px; color: #ebcd82; background: rgba(217,182,106,.05); text-align: center; font-size: 9px; }
.session-list { padding: 5px 16px 16px; }
.session-row {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr) 90px auto;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.session-row:last-child { border-bottom: 0; }
.session-row.current { background: linear-gradient(90deg, rgba(79,197,140,.04), transparent); }
.session-row.revoked { opacity: .58; }
.session-device-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #6dd3a3; background: rgba(79,197,140,.07); }
.session-row.revoked .session-device-icon { color: #d8898f; background: rgba(225,111,118,.06); }
.session-row > div { min-width: 0; }
.session-row > div strong,
.session-row > div small,
.session-row > div em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.session-row > div strong { color: #bdcad3; font-size: 9px; }
.session-row > div small { margin-top: 4px; color: #6a7f8e; font-size: 7px; }
.session-row > div em { margin-top: 4px; color: #596e7e; font-size: 7px; font-style: normal; }
.compact-activity { max-height: 540px; overflow: auto; }

.discord-system-settings { margin-bottom: 16px; }
.discord-event-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.discord-event-grid > label { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.016); cursor: pointer; }
.discord-event-grid input { margin-top: 2px; accent-color: var(--gold); }
.discord-event-grid strong,
.discord-event-grid small { display: block; }
.discord-event-grid strong { color: #b8c6cf; font-size: 9px; }
.discord-event-grid small { margin-top: 4px; color: #6c808f; font-size: 7px; line-height: 1.45; }
.system-delivery-list { padding: 5px 16px 16px; }
.system-delivery-row { display: grid; grid-template-columns: 38px minmax(0,1fr) 135px; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.system-delivery-row:last-child { border-bottom: 0; }
.system-delivery-row > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #65d19c; background: rgba(79,197,140,.07); }
.system-delivery-row.status-failed > span { color: #e88b91; background: rgba(225,111,118,.07); }
.system-delivery-row > div { min-width: 0; }
.system-delivery-row > div small,
.system-delivery-row > div strong,
.system-delivery-row > div p,
.system-delivery-row > div em { display: block; }
.system-delivery-row > div small { color: #617686; font-size: 7px; }
.system-delivery-row > div strong { margin-top: 4px; color: #bdcad3; font-size: 9px; }
.system-delivery-row > div p { overflow: hidden; margin: 4px 0 0; color: #758997; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.system-delivery-row > div em { margin-top: 4px; color: #df858b; font-size: 7px; font-style: normal; }
.system-delivery-row > div:last-child { text-align: right; }
.system-delivery-row > div:last-child .operation-status { margin: 6px 0 0 auto; }

.community-page { padding-bottom: 50px; }
.community-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 24px;
  padding: clamp(24px,4vw,44px);
  border: 1px solid var(--line);
  border-radius: 19px;
  background: radial-gradient(circle at 90% 10%, rgba(217,182,106,.12), transparent 31%), linear-gradient(145deg, rgba(16,32,49,.97), rgba(8,19,31,.96));
  box-shadow: var(--shadow-soft);
}
.community-hero h1 { margin: 8px 0; color: #eef2f5; font-size: clamp(27px,4vw,44px); }
.community-hero p { max-width: 760px; margin: 0; color: #7f93a1; font-size: 11px; line-height: 1.65; }
.community-hero nav { display: flex; gap: 8px; }
.community-hero nav a { padding: 9px 12px; border: 1px solid rgba(217,182,106,.2); border-radius: 9px; color: #dabc72; background: rgba(217,182,106,.06); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.community-section { scroll-margin-top: 100px; margin-top: 28px; }
.section-heading { margin-bottom: 13px; }
.section-heading > div { display: grid; grid-template-columns: 38px minmax(0,1fr); column-gap: 11px; }
.section-heading span { grid-row: 1 / span 2; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(217,182,106,.16); border-radius: 11px; color: var(--gold-light); background: rgba(217,182,106,.05); font-size: 8px; font-weight: 900; }
.section-heading h2 { margin: 0; color: #dce5ea; font-size: 18px; }
.section-heading p { margin: 3px 0 0; color: #6e8291; font-size: 8px; }
.poll-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.poll-card { padding: 18px; }
.poll-card > header > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.poll-deadline { color: #708594; font-size: 7px; }
.poll-card h3 { margin: 13px 0 7px; color: #dae3e8; font-size: 15px; line-height: 1.35; }
.poll-card > header p { margin: 0 0 15px; color: #778b99; font-size: 9px; line-height: 1.55; }
.poll-vote-form { display: grid; gap: 7px; margin-top: 14px; }
.poll-vote-form label { display: grid; grid-template-columns: 17px minmax(0,1fr); gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; color: #93a3af; background: rgba(255,255,255,.016); cursor: pointer; font-size: 9px; }
.poll-vote-form label.selected { border-color: rgba(217,182,106,.22); color: #e2cc91; background: rgba(217,182,106,.06); }
.poll-vote-form input { accent-color: var(--gold); }
.poll-vote-form .button { margin-top: 4px; }
.poll-results { display: grid; gap: 10px; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); }
.poll-results > div > div { display: flex; justify-content: space-between; gap: 9px; margin-bottom: 5px; }
.poll-results strong,
.poll-results span { font-size: 8px; }
.poll-results strong { color: #aebdc7; }
.poll-results span { color: #718594; }
.poll-results i { height: 6px; display: block; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.035); }
.poll-results i b { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,var(--gold-dark),var(--gold-light)); }
.poll-results > small,
.poll-results-hidden { color: #657a89; font-size: 7px; }
.poll-results-hidden { margin-top: 14px; padding: 10px; border: 1px dashed var(--line); border-radius: 8px; text-align: center; }
.suggestion-create { margin-bottom: 14px; }
.suggestion-create > summary { padding: 15px 18px; color: var(--gold-light); font-size: 10px; font-weight: 900; cursor: pointer; }
.suggestion-create[open] > summary { border-bottom: 1px solid var(--line); }
.community-login-note { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-bottom: 14px; padding: 16px; }
.community-login-note p { margin: 0; color: #7d909e; font-size: 9px; }
.suggestion-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.suggestion-card { display: flex; flex-direction: column; padding: 18px; scroll-margin-top: 100px; }
.suggestion-card > header > div { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.suggestion-category { padding: 5px 8px; border-radius: 99px; color: #90a7b7; background: rgba(92,140,171,.08); font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.suggestion-card h3 { margin: 12px 0 5px; color: #d9e2e8; font-size: 14px; line-height: 1.35; }
.suggestion-card header small { color: #687c8b; font-size: 7px; }
.suggestion-content { margin: 15px 0; color: #8799a5; font-size: 9px; line-height: 1.65; }
.suggestion-card blockquote { margin: auto 0 13px; padding: 12px; border: 1px solid rgba(79,197,140,.15); border-left: 3px solid #51c890; border-radius: 9px; background: rgba(79,197,140,.04); }
.suggestion-card blockquote strong { color: #66ce9d; font-size: 8px; }
.suggestion-card blockquote p { margin: 5px 0 0; color: #8fa99e; font-size: 8px; line-height: 1.55; }
.suggestion-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid var(--line); }
.suggestion-card > footer span { color: #6f8493; font-size: 8px; }
.suggestion-card > footer span strong { color: #c5d0d7; }
.suggestion-card > footer form { margin: 0; }
.suggestion-admin-list { display: grid; gap: 14px; }
.suggestion-admin-card { display: grid; grid-template-columns: minmax(240px,.75fr) minmax(260px,1.1fr); gap: 16px; padding: 17px; }
.suggestion-admin-card > header { grid-column: 1; }
.suggestion-admin-card > header > div { display: flex; flex-wrap: wrap; gap: 6px; }
.suggestion-admin-card h2 { margin: 12px 0 5px; color: #d8e1e7; font-size: 14px; }
.suggestion-admin-card header p { margin: 0; color: #697e8d; font-size: 8px; }
.suggestion-admin-content { grid-column: 1; color: #8497a4; font-size: 9px; line-height: 1.6; }
.suggestion-review-form { grid-column: 2; grid-row: 1 / span 2; padding: 0; border-left: 1px solid var(--line); padding-left: 16px; }
.suggestion-response-field textarea { min-height: 115px; }

.public-change-page { padding-bottom: 45px; }
.public-change-timeline { position: relative; display: grid; gap: 12px; max-width: 920px; margin-inline: auto; }
.public-change-timeline::before { content: ""; position: absolute; left: 24px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(var(--gold-dark),rgba(217,182,106,.05)); }
.public-change-timeline article { position: relative; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 15px; padding: 18px; }
.change-type-icon { position: relative; z-index: 1; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(217,182,106,.18); border-radius: 13px; color: var(--gold-light); background: #0a1828; }
.public-change-timeline small { color: #637888; font-size: 7px; text-transform: uppercase; letter-spacing: .06em; }
.public-change-timeline h2 { margin: 6px 0; color: #d6e0e6; font-size: 14px; }
.public-change-timeline p { margin: 0; color: #7d909e; font-size: 9px; line-height: 1.6; }
.change-admin-list { padding: 5px 16px 16px; }
.change-admin-list article { display: grid; grid-template-columns: 18px minmax(0,1fr) 145px; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.change-admin-list article:last-child { border-bottom: 0; }
.change-admin-list article > span { color: var(--gold-light); }
.change-admin-list article > div { min-width: 0; }
.change-admin-list article small,
.change-admin-list article strong,
.change-admin-list article p { display: block; }
.change-admin-list article small { color: #627787; font-size: 7px; }
.change-admin-list article strong { margin-top: 4px; color: #bdcad3; font-size: 9px; }
.change-admin-list article p { overflow: hidden; margin: 5px 0 0; color: #758896; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.change-admin-list article > div:last-child { text-align: right; }
.change-admin-list article > div:last-child .operation-status { margin: 6px 0 0 auto; }

@media (max-width: 1000px) {
  .control-editor-layout { grid-template-columns: minmax(0,1fr) 260px; }
  .recovery-code-grid { grid-template-columns: repeat(2,1fr); }
  .suggestion-admin-card { grid-template-columns: 1fr; }
  .suggestion-review-form { grid-column: 1; grid-row: auto; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .control-editor-layout,
  .poll-grid,
  .suggestion-grid { grid-template-columns: 1fr; }
  .control-side-panel { position: static; }
  .community-hero { align-items: flex-start; flex-direction: column; }
  .session-row { grid-template-columns: 38px minmax(0,1fr); }
  .session-state,
  .session-row > form { grid-column: 2; }
  .system-delivery-row { grid-template-columns: 38px minmax(0,1fr); }
  .system-delivery-row > div:last-child { grid-column: 2; text-align: left; }
  .system-delivery-row > div:last-child .operation-status { margin-left: 0; }
  .change-admin-list article { grid-template-columns: 18px minmax(0,1fr); }
  .change-admin-list article > div:last-child { grid-column: 2; text-align: left; }
  .change-admin-list article > div:last-child .operation-status { margin-left: 0; }
}

@media (max-width: 560px) {
  .control-form-grid,
  .discord-event-grid { grid-template-columns: 1fr; }
  .control-form-wide { grid-column: auto; }
  .control-switch-panel form,
  .community-login-note { align-items: stretch; flex-direction: column; }
  .security-inline-form { grid-template-columns: 1fr; }
  .recovery-code-grid { grid-template-columns: 1fr 1fr; }
  .secret-copy-row,
  .secret-field-row { flex-direction: column; }
  .community-hero nav { width: 100%; }
  .community-hero nav a { flex: 1; text-align: center; }
  .managed-page-content { font-size: 10px; }
}

/* Suche, Ankündigungen, Galerie und persönlicher Datenschutz */
.portal-announcement-stack { padding-top: 12px; }
.portal-announcement-stack .container { display: grid; gap: 8px; }
.portal-announcement {
  --announcement-color: #7fbde8;
  --announcement-border: rgba(100,179,234,.28);
  --announcement-bg: rgba(49,132,198,.1);
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--announcement-border);
  border-radius: 9px;
  color: #dce7ee;
  background: linear-gradient(90deg, var(--announcement-bg), rgba(10,23,38,.97) 62%);
  box-shadow: 0 10px 28px rgba(0,0,0,.15);
}
.announcement-info { --announcement-color: #7fc4ef; --announcement-border: rgba(100,179,234,.28); --announcement-bg: rgba(49,132,198,.12); }
.announcement-success { --announcement-color: #71d5a5; --announcement-border: rgba(79,197,140,.27); --announcement-bg: rgba(79,197,140,.1); }
.announcement-warning { --announcement-color: #f0cf78; --announcement-border: rgba(215,180,104,.32); --announcement-bg: rgba(215,180,104,.11); }
.announcement-critical { --announcement-color: #ff9ba1; --announcement-border: rgba(225,111,118,.34); --announcement-bg: rgba(225,111,118,.12); }
.announcement-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--announcement-border);
  border-radius: 50%;
  color: var(--announcement-color);
  background: rgba(4,12,21,.38);
  font-weight: 900;
}
.announcement-copy { min-width: 0; }
.announcement-copy strong { display: block; color: #edf3f7; font-size: 12px; }
.announcement-copy p { margin: 2px 0 0; color: #9aacb8; font-size: 10px; line-height: 1.5; }
.announcement-link { color: var(--announcement-color); font-size: 10px; font-weight: 800; white-space: nowrap; }
.portal-announcement > form { margin: 0; }
.announcement-dismiss {
  width: 29px;
  height: 29px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: #8295a4;
  background: transparent;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
}
.announcement-dismiss:hover { border-color: var(--announcement-border); color: #fff; background: rgba(255,255,255,.035); }

.global-search-page,
.media-gallery-page,
.member-privacy-page { padding-bottom: 52px; }
.search-hero,
.media-gallery-hero,
.privacy-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
  padding: clamp(25px,4vw,46px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(215,180,104,.16), transparent 31%),
    radial-gradient(circle at 3% 100%, rgba(49,132,198,.13), transparent 34%),
    linear-gradient(145deg, rgba(16,32,50,.98), rgba(7,17,29,.97));
  box-shadow: var(--shadow);
}
.search-hero { display: block; }
.search-hero::after,
.media-gallery-hero::after,
.privacy-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -105px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(215,180,104,.08);
  border-radius: 50%;
  pointer-events: none;
}
.search-hero > *,
.media-gallery-hero > *,
.privacy-hero > * { position: relative; z-index: 1; }
.search-hero h1,
.media-gallery-hero h1,
.privacy-hero h1 {
  margin: 7px 0 8px;
  color: #f3f6f8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px,4.2vw,47px);
  font-weight: 600;
  line-height: 1.08;
}
.search-hero > p,
.media-gallery-hero p,
.privacy-hero p { max-width: 760px; margin: 0; color: #91a3b1; line-height: 1.65; }
.global-search-form { margin-top: 25px; }
.global-search-input {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(215,180,104,.24);
  border-radius: 10px;
  background: rgba(4,12,21,.72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}
.global-search-input > span { color: var(--gold-light); text-align: center; font-size: 23px; }
.global-search-input input { width: 100%; min-height: 44px; border: 0; outline: 0; color: #edf3f7; background: transparent; font-size: 14px; }
.global-search-input input::placeholder { color: #667b8c; }
.global-search-filter { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.global-search-filter label { cursor: pointer; }
.global-search-filter input { position: absolute; opacity: 0; pointer-events: none; }
.global-search-filter span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #8295a4;
  background: rgba(255,255,255,.018);
  font-size: 9px;
  font-weight: 800;
}
.global-search-filter b {
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 99px;
  color: #9bacb8;
  background: rgba(255,255,255,.045);
  text-align: center;
  font-size: 8px;
}
.global-search-filter input:checked + span {
  border-color: rgba(215,180,104,.34);
  color: var(--gold-light);
  background: rgba(215,180,104,.09);
}
.global-search-filter input:focus-visible + span { outline: 2px solid var(--blue-light); outline-offset: 2px; }
.search-result-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 27px 0 13px; }
.search-result-heading h2 { margin: 4px 0 0; color: #e3ebf0; font-size: 21px; }
.global-result-list { display: grid; gap: 9px; }
.global-result-card {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 110px;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(12,25,40,.87);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.global-result-card:hover { transform: translateY(-1px); border-color: rgba(215,180,104,.27); background: rgba(16,32,49,.96); }
.global-result-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(49,132,198,.2);
  border-radius: 11px;
  color: #7ab8e5;
  background: rgba(49,132,198,.08);
  font-size: 16px;
}
.global-result-card > div { min-width: 0; }
.global-result-card small { color: var(--gold); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.global-result-card strong { display: block; margin-top: 3px; color: #e0e8ed; font-size: 13px; }
.global-result-card p { overflow: hidden; margin: 4px 0 0; color: #7e919f; font-size: 10px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.global-result-card aside { color: #687d8d; text-align: right; font-size: 8px; }
.global-result-card aside b { display: block; margin-top: 5px; color: var(--gold-light); }
.search-start-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.search-start-grid article { display: flex; align-items: center; gap: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: rgba(12,25,40,.75); }
.search-start-grid article > span { color: var(--gold-light); font-size: 20px; }
.search-start-grid strong { color: #dce5ea; font-size: 10px; }
.search-start-grid p { margin: 3px 0 0; color: #6f8392; font-size: 8px; line-height: 1.45; }

.experience-stat-grid { margin-bottom: 18px; }
.experience-two-column { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,.6fr); gap: 16px; align-items: start; }
.announcement-preview-panel { position: sticky; top: 18px; }
.announcement-preview-panel .portal-announcement { grid-template-columns: 32px minmax(0,1fr); margin: 15px; }
.announcement-preview-panel .announcement-copy p { white-space: pre-line; }
.announcement-admin-list { padding: 0 16px 15px; }
.announcement-admin-list > article {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 160px;
  gap: 13px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.announcement-admin-list > article:last-child { border-bottom: 0; }
.announcement-list-style {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--announcement-border);
  border-radius: 9px;
  color: var(--announcement-color);
  background: var(--announcement-bg);
}
.announcement-admin-list article > div { min-width: 0; }
.announcement-admin-list small { color: #6e8291; font-size: 8px; }
.announcement-admin-list strong { display: block; margin-top: 3px; color: #d7e0e6; font-size: 11px; }
.announcement-admin-list p { overflow: hidden; margin: 4px 0 0; color: #758a99; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.announcement-admin-list aside { display: grid; justify-items: end; gap: 6px; text-align: right; }

.media-category-filter { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 17px; }
.media-category-filter a { padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; color: #8194a3; background: rgba(255,255,255,.018); font-size: 9px; font-weight: 800; }
.media-category-filter a:hover,
.media-category-filter a.active { border-color: rgba(215,180,104,.3); color: var(--gold-light); background: rgba(215,180,104,.08); }
.media-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-bottom: 24px; }
.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12,25,40,.9);
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  transition: transform .18s ease, border-color .18s ease;
}
.media-card:hover { transform: translateY(-3px); border-color: rgba(215,180,104,.27); }
.media-card.featured { border-color: rgba(215,180,104,.32); box-shadow: 0 14px 35px rgba(156,116,48,.12); }
.media-card-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #050d16; }
.media-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.media-card:hover .media-card-image img { transform: scale(1.025); }
.media-card-image > span { position: absolute; top: 10px; left: 10px; padding: 5px 8px; border: 1px solid rgba(255,229,166,.25); border-radius: 99px; color: #17130b; background: linear-gradient(135deg,var(--gold-light),var(--gold)); font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.media-card-copy { padding: 15px; }
.media-card-copy > small { color: var(--gold); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.media-card-copy h2 { margin: 5px 0 7px; color: #e2e9ee; font-size: 14px; }
.media-card-copy > p { display: -webkit-box; overflow: hidden; margin: 0; color: #7f929f; font-size: 9px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.media-card-copy footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); color: #667b8b; font-size: 8px; }
.media-empty { grid-column: 1 / -1; }
.media-upload-panel { scroll-margin-top: 85px; }
.media-upload-panel > form { padding-top: 18px; }
.file-input { padding: 8px 10px; }
.file-input::file-selector-button { margin-right: 12px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 5px; color: #d9e3ea; background: #15263a; cursor: pointer; font-weight: 800; }
.media-rights-check { margin: 3px 0 16px; padding: 12px; border: 1px solid rgba(215,180,104,.16); border-radius: 8px; background: rgba(215,180,104,.035); }
.own-media-list { padding: 0 16px 15px; }
.own-media-list article { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.own-media-list article:last-child { border-bottom: 0; }
.own-media-list img { width: 58px; height: 46px; border-radius: 7px; object-fit: cover; background: #050d16; }
.own-media-list strong { display: block; color: #d7e1e7; font-size: 10px; }
.own-media-list small { color: #6d8291; font-size: 8px; }
.own-media-list p { margin: 4px 0 0; color: #d6ad68; font-size: 8px; }
.media-moderation-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.media-moderation-card { margin: 0; }
.media-moderation-image { display: block; overflow: hidden; aspect-ratio: 16 / 8; background: #050d16; }
.media-moderation-image img { width: 100%; height: 100%; object-fit: cover; }
.media-moderation-card > header { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px 0; }
.media-moderation-card header small { color: #6b8090; font-size: 8px; }
.media-moderation-card h2 { margin: 3px 0 0; color: #dce5eb; font-size: 14px; }
.media-moderation-card > p { margin: 10px 16px 0; color: #7c909e; font-size: 9px; line-height: 1.55; }
.media-file-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 16px 0; }
.media-file-meta span { padding: 4px 7px; border-radius: 99px; color: #7f93a1; background: rgba(255,255,255,.03); font-size: 7px; }
.media-moderation-card > form { margin-top: 14px; border-top: 1px solid var(--line); }

.privacy-count-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 0 0 17px; }
.privacy-count-grid article { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(12,25,40,.82); text-align: center; }
.privacy-count-grid strong { display: block; color: var(--gold-light); font-size: 23px; }
.privacy-count-grid span { color: #758a99; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.privacy-two-column { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr); gap: 16px; }
.privacy-information-panel ul { display: grid; gap: 9px; margin: 0; padding: 17px 20px 5px 35px; color: #8295a3; font-size: 9px; line-height: 1.55; }
.privacy-information-panel li::marker { color: var(--gold); }
.privacy-information-panel > .button { margin: 12px 17px 17px; }
.privacy-request-list { padding: 0 16px 15px; }
.privacy-request-list article { display: grid; grid-template-columns: 38px minmax(0,1fr) 145px; gap: 13px; align-items: start; padding: 15px 0; border-bottom: 1px solid var(--line); }
.privacy-request-list article:last-child { border-bottom: 0; }
.privacy-request-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(215,180,104,.18); border-radius: 10px; color: var(--gold-light); background: rgba(215,180,104,.06); }
.privacy-request-list small,
.privacy-request-list time { color: #687d8d; font-size: 8px; }
.privacy-request-list strong { display: block; margin: 5px 0; color: #ced9e0; font-size: 10px; line-height: 1.55; }
.privacy-request-list p { margin: 8px 0; padding: 9px; border-left: 2px solid var(--gold); color: #91a3af; background: rgba(215,180,104,.035); font-size: 9px; line-height: 1.55; }
.privacy-request-list aside { display: grid; justify-items: end; gap: 8px; }
.privacy-admin-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.privacy-admin-card { margin: 0; padding-bottom: 16px; }
.privacy-admin-card > header { display: flex; justify-content: space-between; gap: 10px; padding: 16px 16px 0; }
.privacy-admin-card header small { color: #687d8c; font-size: 8px; }
.privacy-admin-card h2 { margin: 4px 0 0; color: #dce5ea; font-size: 14px; }
.privacy-admin-card blockquote { margin: 13px 16px 6px; padding: 12px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; color: #92a3af; background: rgba(255,255,255,.018); font-size: 9px; line-height: 1.6; }
.privacy-admin-card > small { display: block; padding: 0 16px; color: #647989; font-size: 8px; }
.privacy-admin-card > form { margin-top: 13px; padding-top: 14px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .search-start-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .media-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .experience-two-column,
  .privacy-two-column { grid-template-columns: 1fr; }
  .announcement-preview-panel { position: static; }
}

@media (max-width: 760px) {
  .portal-announcement { grid-template-columns: 32px minmax(0,1fr) auto; }
  .announcement-link { grid-column: 2; justify-self: start; }
  .portal-announcement > form { grid-column: 3; grid-row: 1; }
  .media-gallery-hero,
  .privacy-hero { align-items: flex-start; flex-direction: column; }
  .media-moderation-grid,
  .privacy-admin-list { grid-template-columns: 1fr; }
  .privacy-count-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .announcement-admin-list > article { grid-template-columns: 32px minmax(0,1fr); }
  .announcement-admin-list aside { grid-column: 2; justify-items: start; text-align: left; }
}

@media (max-width: 560px) {
  .global-search-input { grid-template-columns: 34px minmax(0,1fr); }
  .global-search-input .button { grid-column: 1 / -1; margin-top: 4px; }
  .search-result-heading { align-items: flex-start; flex-direction: column; }
  .global-result-card { grid-template-columns: 38px minmax(0,1fr); }
  .global-result-card aside { grid-column: 2; text-align: left; }
  .search-start-grid,
  .media-gallery-grid { grid-template-columns: 1fr; }
  .portal-announcement { grid-template-columns: 30px minmax(0,1fr) auto; gap: 9px; }
  .announcement-copy p { font-size: 9px; }
  .own-media-list article,
  .privacy-request-list article { grid-template-columns: 38px minmax(0,1fr); }
  .own-media-list img { width: 38px; height: 38px; }
  .own-media-list .operation-status,
  .privacy-request-list aside { grid-column: 2; justify-items: start; }
  .privacy-count-grid { grid-template-columns: 1fr 1fr; }
}
