/* =====================================================================================
   VerbixtertTV Community Panel - Oberflaeche
   Aufbau: 1) Tokens  2) Grundgeruest  3) Bausteine  4) Ansichten  5) Responsive
   ===================================================================================== */

/* 1) Tokens ------------------------------------------------------------------------- */
:root {
  --accent: #3d7ea6;
  --accent-soft: rgba(61, 126, 166, 0.14);
  --accent-line: rgba(90, 153, 190, 0.5);

  --bg: #15191e;
  --bg-deep: #101419;
  --surface: #1b2026;
  --surface-2: #222830;
  --surface-3: #2a313a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  --text: #f0f3f5;
  --text-dim: #b5bec8;
  --text-faint: #8994a0;

  --good: #38c1a0;
  --warn: #ff9f45;
  --bad: #ff5d7a;

  --rail: 76px;
  --rail-expanded: 224px;
  --sub: 248px;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* FiveM Memberliste */
.memberlist-hero { background: linear-gradient(135deg, rgba(125,167,255,.16), rgba(124,92,255,.10) 58%, transparent), var(--surface); }
.memberlist-stats { display: grid; grid-template-columns: repeat(4, minmax(125px, 1fr)); gap: 10px; margin-top: 20px; }
.memberlist-stat { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.memberlist-stat .stat-icon { grid-row: span 2; width: 30px; height: 30px; }.memberlist-stat strong { font-size: 17px; }.memberlist-stat small { color: var(--muted); font-size: 11px; }
.memberlist-stat.active { border-color: rgba(56,193,160,.28); }.memberlist-stat.away { border-color: rgba(255,159,69,.28); }.memberlist-stat.inactive { border-color: rgba(255,93,122,.25); }.memberlist-card { margin-top: 18px; }.memberlist-tools { margin-bottom: 16px; }
.memberlist-table td { vertical-align: middle; }.memberlist-table td strong, .memberlist-table td small { display: block; }.memberlist-account { margin-top: 3px; color: #8eafff; font-size: 10px; }.member-profile-link { display: inline-flex; padding: 0; border: 0; color: var(--text); background: transparent; font: inherit; font-weight: 700; cursor: pointer; text-align: left; }.member-profile-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.memberlist-note { max-width: 260px; margin-top: 4px; overflow: hidden; color: #ffbd70; font-size: 10px; font-style: italic; text-overflow: ellipsis; white-space: nowrap; }
.member-rank { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 750; line-height: 1.1; color: var(--text-dim); background: rgba(255,255,255,.06); }.member-rank.rank-projektleitung { color: #ff8295; background: rgba(255,93,122,.15); }.member-rank.rank-teamleitung { color: #c6a5ff; background: rgba(165,110,255,.15); }.member-rank.rank-administrator { color: #ffbd70; background: rgba(255,159,69,.15); }.member-rank.rank-community-manager { color: #8eafff; background: rgba(125,167,255,.15); }.member-rank.rank-developer { color: #f08eea; background: rgba(231,103,214,.15); }.member-rank.rank-designer { color: #62d5b8; background: rgba(56,193,160,.14); }.member-rank.rank-head-supporter { color: #c49aff; background: rgba(124,92,255,.17); }.member-rank.rank-supporter { color: #80d9a7; background: rgba(100,208,145,.14); }.member-rank.rank-test-supporter { color: #aeb8d1; background: rgba(174,184,209,.12); }
.rank-picker-field { position: relative; }.rank-picker { position: relative; }.rank-picker > input[type="text"] { padding-right: 42px; }.rank-picker-toggle { position: absolute; top: 1px; right: 1px; bottom: 1px; display: grid; place-items: center; width: 38px; border: 0; border-left: 1px solid var(--line); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-faint); background: transparent; cursor: pointer; transition: color .15s, background .15s, transform .15s; }.rank-picker-toggle:hover { color: var(--text); background: var(--surface-3); }.rank-picker.is-open .rank-picker-toggle { color: var(--accent); transform: rotate(90deg); }.rank-picker-menu { position: absolute; z-index: 10; top: calc(100% + 6px); right: 0; left: 0; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow); background: var(--surface-2); }.rank-picker.is-open .rank-picker-menu { display: grid; }.rank-picker-option { display: flex; align-items: center; justify-content: space-between; min-width: 0; padding: 7px; border: 1px solid transparent; border-radius: 8px; color: var(--text-faint); background: transparent; cursor: pointer; }.rank-picker-option:hover { border-color: var(--line-strong); background: rgba(255,255,255,.035); }.rank-picker-option svg { opacity: 0; flex: 0 0 auto; }.rank-picker-option:hover svg { opacity: .75; color: var(--accent); }
.member-status { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }.member-status.active { color: #62d5b8; background: rgba(56,193,160,.13); }.member-status.away { color: #ffbd70; background: rgba(255,159,69,.13); }.member-status.inactive { color: #ff8295; background: rgba(255,93,122,.13); }.memberlist-absence { color: #ffbd70; font-size: 12px; }.memberlist-actions { justify-content: flex-end; gap: 4px; }.memberlist-actions .btn { padding: 5px 7px; }
@media (max-width: 760px) { .memberlist-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }.memberlist-table { min-width: 850px; } }

[data-theme="light"] {
  --bg: #f4f6f8;
  --bg-deep: #e9edf1;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #eef1f4;
  --line: rgba(27, 35, 44, 0.11);
  --line-strong: rgba(27, 35, 44, 0.2);
  --text: #1b232c;
  --text-dim: #566371;
  --text-faint: #778491;
  --shadow: 0 10px 26px rgba(24, 35, 47, 0.11);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 22%);
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 20px; border: 3px solid transparent; background-clip: content-box; }
::selection { background: var(--accent); color: #fff; }

/* Startseite: eigenständiges, kompaktes Community-Dashboard. */
.dashboard-redesign { --dash-line: rgba(181,161,255,.18); display:grid; gap:16px; max-width:1780px; margin:0 auto; }
.dashboard-redesign { max-width:none; gap:18px; }
.dashboard-hero { position:relative; isolation:isolate; min-height:232px; overflow:hidden; padding:32px; border:1px solid rgba(139,108,240,.36); border-radius:16px; background:linear-gradient(110deg,#1d1b39 0%,#191d30 54%,#111923 100%); }
.dashboard-hero::before { position:absolute; z-index:-1; inset:0; background:radial-gradient(circle at 90% 42%,rgba(139,108,240,.42),transparent 19%),radial-gradient(circle at 76% 100%,rgba(52,104,180,.34),transparent 29%); content:''; }
.dashboard-hero::after { position:absolute; z-index:-1; top:-65px; right:11%; width:280px; height:330px; border:1px solid rgba(202,191,255,.2); border-radius:48% 52% 24% 68%; background:linear-gradient(145deg,rgba(181,161,255,.24),rgba(8,14,28,.08)); content:''; transform:rotate(24deg); }
.dashboard-hero-copy { max-width:620px; }.dashboard-kicker { color:#b5a1ff; font-size:11px; font-weight:800; letter-spacing:.12em; }.dashboard-hero h2 { margin:6px 0 5px; font-size:clamp(26px,2.3vw,36px); }.dashboard-hero p { margin:0; color:var(--text-dim); font-size:15px; }.dashboard-hero-actions { margin-top:22px; }
.dashboard-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }.dashboard-stat { display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; align-items:center; min-width:0; padding:15px; border:1px solid var(--line); border-radius:13px; color:var(--text); background:var(--surface); text-align:left; }.dashboard-stat:disabled { opacity:1; }.dashboard-stat.is-action { cursor:pointer; }.dashboard-stat.is-action:hover { border-color:var(--accent-line); background:var(--surface-2); }.dashboard-stat-icon { display:grid; width:42px; height:42px; place-items:center; border-radius:10px; color:#b5a1ff; background:rgba(139,108,240,.18); }.dashboard-stat strong,.dashboard-stat small,.dashboard-stat em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.dashboard-stat strong { font-size:21px; line-height:1.15; }.dashboard-stat small { color:var(--text-dim); font-size:12px; }.dashboard-stat em { color:var(--text-faint); font-size:10px; font-style:normal; }
.dashboard-layout { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(280px,.72fr); gap:16px; align-items:start; }.dashboard-main,.dashboard-side { display:grid; gap:16px; min-width:0; }.dashboard-card { overflow:hidden; padding:18px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }.dashboard-card-head { display:flex; align-items:flex-start; gap:9px; margin-bottom:15px; }.dashboard-card-head h3 { font-size:16px; }.dashboard-card-head p { margin:2px 0 0; color:var(--text-faint); font-size:12px; }.dashboard-link { display:inline-flex; align-items:center; gap:4px; padding:3px; border:0; color:#b5a1ff; background:transparent; font-size:12px; font-weight:700; cursor:pointer; }.dashboard-link:hover { color:var(--text); }
.dashboard-game-grid { display:grid; grid-template-columns:repeat(auto-fill,200px); justify-content:start; gap:12px; }.dashboard-game { width:200px; min-width:0; overflow:hidden; padding:9px; border:1px solid var(--line); border-radius:11px; color:var(--text); background:var(--surface-2); text-align:left; cursor:pointer; }.dashboard-game:hover { border-color:var(--accent-line); }.dashboard-game-identity { display:flex; gap:8px; align-items:center; width:100%; min-width:0; margin:0 0 8px; padding:0; border:0; color:inherit; background:transparent; text-align:left; cursor:pointer; }.dashboard-game-identity:hover strong,.dashboard-game-title:hover { color:#b5a1ff; }.dashboard-game-identity span { min-width:0; }.dashboard-game-identity strong,.dashboard-game-identity small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.dashboard-game-identity strong { font-size:12px; }.dashboard-game-identity small { color:var(--good); font-size:10px; }.dashboard-game-cover-button { display:block; width:180px; height:95px; overflow:hidden; padding:0; border:0; border-radius:8px; background:#111722; cursor:pointer; }.dashboard-game-cover-button:hover { outline:1px solid var(--accent-line); }.dashboard-game-cover-button img,.dashboard-game-cover-empty { display:grid; width:180px; height:95px; place-items:center; object-fit:cover; background:#111722; }.dashboard-game-cover-empty { color:var(--accent); }.dashboard-game-title { display:block; width:100%; overflow:hidden; margin-top:7px; padding:0; border:0; color:inherit; background:transparent; font-size:12px; font-weight:700; text-align:left; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; }.dashboard-compact-empty { display:flex; align-items:center; justify-content:center; gap:9px; min-height:74px; color:var(--text-faint); font-size:13px; text-align:center; }
.dashboard-member-list,.dashboard-message-list,.dashboard-activity-list,.dashboard-post-list { display:grid; gap:7px; }.dashboard-member { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; width:100%; padding:5px 0; border:0; color:var(--text); background:transparent; text-align:left; cursor:pointer; }.dashboard-member:hover strong { color:#b5a1ff; }.dashboard-member strong { display:block; overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }.dashboard-member .rank-pill { max-width:150px; overflow:hidden; text-overflow:ellipsis; }.dashboard-wallet { display:flex; align-items:center; gap:11px; }.dashboard-wallet > span { display:grid; width:39px; height:39px; place-items:center; border-radius:10px; color:#b5a1ff; background:rgba(139,108,240,.18); }.dashboard-wallet div { min-width:0; }.dashboard-wallet small,.dashboard-wallet strong { display:block; }.dashboard-wallet small { color:var(--text-faint); font-size:11px; }.dashboard-wallet strong { font-size:18px; }
.dashboard-shortcut-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }.dashboard-shortcut { display:flex; align-items:center; gap:10px; min-width:0; padding:12px; border:1px solid var(--line); border-radius:10px; color:var(--text); background:var(--surface-2); text-align:left; cursor:pointer; }.dashboard-shortcut:hover { border-color:var(--accent-line); }.dashboard-shortcut > span { display:grid; width:34px; height:34px; flex:none; place-items:center; border-radius:9px; color:#b5a1ff; background:rgba(139,108,240,.18); }.dashboard-shortcut div { min-width:0; }.dashboard-shortcut strong,.dashboard-shortcut small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.dashboard-shortcut strong { font-size:12px; }.dashboard-shortcut small { color:var(--text-faint); font-size:10px; }.dashboard-bottom-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }.dashboard-message { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; gap:8px; align-items:center; min-width:0; padding:5px 0; border:0; color:var(--text); background:transparent; text-align:left; cursor:pointer; }.dashboard-message span:nth-child(2) { min-width:0; }.dashboard-message strong,.dashboard-message small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.dashboard-message strong { font-size:12px; }.dashboard-message small,.dashboard-message time { color:var(--text-faint); font-size:10px; }.dashboard-message b { display:grid; min-width:17px; height:17px; place-items:center; border-radius:9px; color:#fff; background:var(--accent); font-size:10px; }.dashboard-message-group { display:grid; width:36px; height:36px; place-items:center; border-radius:50%; color:#b5a1ff; background:rgba(139,108,240,.18); }.dashboard-activity-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:9px; align-items:start; padding:8px 0; border-bottom:1px solid var(--line); }.dashboard-activity-row:last-child { border:0; }.dashboard-activity-row > span { display:grid; width:28px; height:28px; place-items:center; border-radius:8px; color:#b5a1ff; background:rgba(139,108,240,.14); }.dashboard-activity-row strong,.dashboard-activity-row small { display:block; font-size:12px; }.dashboard-activity-row small,.dashboard-activity-row time { color:var(--text-faint); font-size:10px; }.dashboard-post { padding:9px 0; border:0; border-bottom:1px solid var(--line); color:var(--text); background:transparent; text-align:left; cursor:pointer; }.dashboard-post:last-child { border:0; }.dashboard-post:hover strong { color:#b5a1ff; }.dashboard-post strong,.dashboard-post small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.dashboard-post strong { font-size:13px; }.dashboard-post small { color:var(--text-faint); font-size:10px; }.dashboard-customize { display:flex; align-items:center; gap:11px; padding:13px 16px; border:1px solid rgba(139,108,240,.5); border-radius:12px; background:linear-gradient(90deg,rgba(139,108,240,.12),var(--surface)); }.dashboard-customize > span { color:#b5a1ff; }.dashboard-customize strong,.dashboard-customize small { display:block; }.dashboard-customize strong { font-size:13px; }.dashboard-customize small { color:var(--text-faint); font-size:11px; }.dashboard-setting-list { display:grid; gap:6px; }.dashboard-setting-row { display:flex; align-items:center; gap:9px; padding:9px; border:1px solid var(--line); border-radius:9px; cursor:pointer; }.dashboard-setting-row:hover { border-color:var(--accent-line); }.dashboard-setting-row span { min-width:0; }.dashboard-setting-row strong,.dashboard-setting-row small { display:block; }.dashboard-setting-row strong { font-size:13px; }.dashboard-setting-row small { color:var(--text-faint); font-size:11px; }
@media (max-width:1200px) { .dashboard-layout { grid-template-columns:1fr; }.dashboard-side { grid-template-columns:repeat(2,minmax(0,1fr)); }.dashboard-side .dashboard-posts { grid-column:span 2; } }
@media (max-width:850px) { .dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }.dashboard-shortcut-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.dashboard-bottom-grid { grid-template-columns:1fr; } }
@media (max-width:560px) { .dashboard-hero { min-height:210px; padding:24px 20px; }.dashboard-hero::after { opacity:.45; right:-20px; }.dashboard-stats,.dashboard-side { grid-template-columns:1fr; }.dashboard-side .dashboard-posts { grid-column:auto; }.dashboard-game-grid { grid-template-columns:repeat(auto-fill,200px); }.dashboard-customize { align-items:flex-start; flex-wrap:wrap; }.dashboard-customize .spacer { display:none; }.dashboard-customize .btn { width:100%; }.dashboard-message { grid-template-columns:auto minmax(0,1fr) auto; }.dashboard-message b { display:none; } }
@media (prefers-reduced-motion:reduce) { .dashboard-stat,.dashboard-game,.dashboard-shortcut { transition:none!important; } }

/* Feinschliff fuer breite und schmale Startseiten-Ansichten. */
.dashboard-hero { min-height:250px; display:flex; align-items:center; }
.dashboard-hero-copy { position:relative; z-index:1; }
.dashboard-hero-orb { position:absolute; z-index:-1; top:0; right:0; width:38%; height:100%; background:radial-gradient(ellipse at 72% 48%,rgba(115,99,219,.27),transparent 62%),linear-gradient(90deg,transparent,rgba(30,45,74,.22)); pointer-events:none; }
.dashboard-notification { display:grid; gap:2px; padding:8px 0; border-bottom:1px solid var(--line); }.dashboard-notification:last-child { border:0; }.dashboard-notification strong,.dashboard-update strong { font-size:12px; }.dashboard-notification small,.dashboard-notification time,.dashboard-update small { display:block; color:var(--text-faint); font-size:11px; }.dashboard-update { display:flex; align-items:center; gap:9px; padding:6px 0; }.dashboard-update > div { min-width:0; }
.dashboard-redesign button:focus-visible,.dashboard-redesign a:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@media (max-width:1024px) { .dashboard-layout { grid-template-columns:minmax(0,1fr); }.dashboard-side { grid-template-columns:repeat(2,minmax(0,1fr)); }.dashboard-side .dashboard-posts { grid-column:auto; } }
@media (max-width:560px) { .dashboard-hero { min-height:210px; }.dashboard-hero-orb { width:56%; opacity:.65; }.dashboard-game-grid { grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),200px)); }.dashboard-game { width:100%; }.dashboard-game-cover-button,.dashboard-game-cover-button img,.dashboard-game-cover-empty { max-width:100%; }.dashboard-side { grid-template-columns:minmax(0,1fr); }.dashboard-side .dashboard-posts { grid-column:auto; } }

/* 2) Grundgeruest -------------------------------------------------------------------- */
#app { position: relative; z-index: 1; min-height: 100%; }

.shell {
  display: grid;
  grid-template-columns: var(--rail) var(--sub) 1fr;
  min-height: 100vh;
  transition: grid-template-columns .2s ease;
}

.shell.rail-expanded { grid-template-columns: var(--rail-expanded) var(--sub) 1fr; }

.shell.is-collapsed { grid-template-columns: var(--rail) 0 1fr; }

/* Bereichs-Leiste */
.rail {
  background: var(--bg-deep);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 0 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  transition: padding .2s ease;
}

.shell.rail-expanded .rail { align-items: stretch; padding-inline: 12px; }

.rail-brand {
  width: 44px; height: 44px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: none;
}
.rail-brand img { width: 100%; height: 100%; object-fit: cover; }
.shell.rail-expanded .rail-brand { margin-left: 2px; }

.rail-btn {
  width: 48px; height: 48px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-faint);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border-color 0.16s, transform 0.16s;
  position: relative;
}
.shell.rail-expanded .rail-btn {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 12px;
}
.rail-label { display: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.shell.rail-expanded .rail-label { display: block; }
.rail-toggle { margin-bottom: 6px; }
.rail-toggle svg { transition: transform .2s ease; }
.shell.rail-expanded .rail-toggle svg { transform: rotate(180deg); }
.rail-btn:hover { color: var(--text); background: var(--surface-2); }
.rail-btn.is-active { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
.rail-btn.is-active::after {
  content: ""; position: absolute; left: -14px; top: 12px; bottom: 12px;
  width: 3px; border-radius: 0 3px 3px 0; background: var(--accent);
}
.shell.rail-expanded .rail-btn.is-active::after { left: -13px; }
.rail-spacer { flex: 1; }

/* Untermenue */
.sub {
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  position: sticky; top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.shell.is-collapsed .sub { display: none; }

.sub-head { padding: 0 8px 14px; }
.sub-head h2 { font-size: 17px; }
.sub-head small { color: var(--text-faint); font-size: 12px; }

.sub-link {
  width: 100%;
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.sub-link:hover { background: var(--surface-2); color: var(--text); }
.sub-link.is-active { background: var(--accent-soft); color: var(--text); border-color: var(--accent-line); }
.sub-link svg { flex: none; }
.sub-link span { flex: 1; font-size: 14px; font-weight: 550; }
.sub-note { padding: 12px; margin-top: 14px; border-radius: 12px; background: var(--surface-2); color: var(--text-faint); font-size: 12px; }

/* Inhalt */
.main { display: flex; flex-direction: column; min-width: 0; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-title { min-width: 0; }
.topbar-title h1 { font-size: 18px; }
.topbar-title small { color: var(--text-faint); font-size: 12px; display: block; }

.topbar-search {
  margin-left: auto;
  display: flex; align-items: center; gap: 9px;
  padding: 8px 12px;
  min-width: 250px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-faint);
  cursor: pointer;
  transition: border-color 0.15s;
}
.topbar-search:hover { border-color: var(--accent-line); }
.topbar-search kbd {
  margin-left: auto;
  font-size: 11px; font-family: var(--font);
  padding: 2px 7px; border-radius: 6px;
  background: var(--surface-3); color: var(--text-dim);
}

.icon-btn {
  width: 38px; height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-dim);
  display: grid; place-items: center;
  cursor: pointer; position: relative;
  transition: color 0.15s, border-color 0.15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }
.icon-btn .dot {
  position: absolute; top: 6px; right: 6px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 9px; background: var(--bad); color: #fff;
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
}

.me-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 5px 12px 5px 5px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}
.me-btn:hover { border-color: var(--line-strong); }
.me-btn strong { font-size: 13px; font-weight: 600; }
.me-btn small { display: block; font-size: 11px; color: var(--text-faint); }

.content { padding: clamp(16px, 2.2vw, 32px); width: 100%; max-width: none; }

/* 3) Bausteine ----------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.card-head h3 { font-size: 16px; }
.card-head small { color: var(--text-faint); font-size: 12px; }
.card-head .spacer { flex: 1; }

.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.split { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px;
  display: flex; gap: 14px; align-items: center;
  cursor: default;
  transition: border-color 0.15s, transform 0.15s;
}
.stat[data-target] { cursor: pointer; }
.stat[data-target]:hover { border-color: var(--accent-line); transform: none; background: var(--surface-2); }
.stat-icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  flex: none;
}
.stat-value { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: var(--text-dim); }
.stat-hint { font-size: 11px; color: var(--text-faint); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 650; font-size: 13px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:hover { background: var(--surface-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-dim); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.danger { background: transparent; border-color: rgba(255, 93, 122, 0.4); color: var(--bad); }
.btn.danger:hover { background: rgba(255, 93, 122, 0.12); }
.btn.small { padding: 6px 11px; font-size: 13px; border-radius: 9px; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; font-weight: 550; }
.field > small { display: block; font-size: 11px; color: var(--text-faint); margin-top: 5px; }
input[type="text"], input[type="password"], input[type="number"], input[type="date"], input[type="search"], select, textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); background: var(--surface-3); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
input[type="color"] { width: 52px; height: 38px; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }
select option { background: var(--surface); }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch .track {
  width: 42px; height: 24px; border-radius: 20px;
  background: var(--surface-3); border: 1px solid var(--line);
  position: relative; transition: background 0.16s;
}
.switch .track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--text-faint); transition: transform 0.16s, background 0.16s;
}
.switch input:checked + .track { background: var(--accent-soft); border-color: var(--accent-line); }
.switch input:checked + .track::after { transform: translateX(18px); background: var(--accent); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 650;
  background: var(--surface-3); color: var(--text-dim);
  white-space: nowrap;
}
.pill.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab {
  padding: 7px 14px; border-radius: 7px;
  border: 1px solid var(--line); background: transparent;
  color: var(--text-dim); font-size: 13px; cursor: pointer;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--accent-soft); border-color: var(--accent-line); color: var(--text); }

/* Persoenlicher Kalender */
.calendar-intro { overflow: visible; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.calendar-month { min-width: 145px; text-align: center; text-transform: capitalize; }
.calendar-type { display: inline-flex; align-items: center; width: max-content; padding: 3px 8px; border-radius: 20px; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.calendar-type.ooc { color: #55dfb9; background: rgba(56,193,160,.14); }
.calendar-type.ic { color: #ffbc70; background: rgba(255,159,69,.14); }
.calendar-card { padding: 14px; overflow-x: auto; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(115px, 1fr)); min-width: 760px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.calendar-weekday { padding: 9px 11px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text-faint); background: var(--surface-2); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.calendar-day { min-height: 136px; padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 86%, transparent); }
.calendar-day.is-today { background: var(--accent-soft); }
.calendar-date { margin-bottom: 7px; color: var(--text-dim); font-size: 12px; font-weight: 750; }
.calendar-day.is-today .calendar-date { color: var(--accent); }
.calendar-event { margin: 5px 0; padding: 6px 7px; border-left: 3px solid; border-radius: 5px; cursor: pointer; font-size: 11px; line-height: 1.35; transition: transform .14s, filter .14s; }
.calendar-event:hover { transform: translateY(-1px); filter: brightness(1.1); }
.calendar-event.ooc { border-color: #38c1a0; background: rgba(56,193,160,.13); color: #baf5e6; }
.calendar-event.ic { border-color: #ff9f45; background: rgba(255,159,69,.1); color: #ffd3a4; }
.calendar-event.multi { position: relative; z-index: 1; margin-left: -8px; margin-right: -8px; border-left: 0; border-radius: 0; }
.calendar-event.multi.segment-start { margin-left: 0; border-left: 3px solid; border-radius: 5px 0 0 5px; }
.calendar-event.multi.segment-end { border-radius: 0 5px 5px 0; }
.calendar-event.multi.segment-middle .calendar-event-title { opacity: .5; }
.calendar-event.multi.segment-middle .calendar-time { font-size: 0; }
.calendar-event.multi.segment-middle .calendar-time::after { content: '•'; font-size: 12px; }
.calendar-event-title { display: flex; gap: 5px; align-items: baseline; min-width: 0; }
.calendar-event-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-time { flex: none; font-variant-numeric: tabular-nums; font-size: 10px; opacity: .85; }
.calendar-upcoming { display: grid; gap: 9px; }
.calendar-upcoming .calendar-event { margin: 0; padding: 11px 12px; cursor: default; }
.calendar-upcoming .calendar-event-title { font-size: 13px; }
.calendar-event-details { display: grid; gap: 7px; margin-top: 8px; }
.calendar-event-details p, .calendar-event-details small { margin: 0; color: inherit; opacity: .8; font-size: 12px; line-height: 1.45; }
.calendar-event-details .btn { justify-self: end; }
.calendar-picker { position: relative; }
.calendar-picker-trigger { display: flex; align-items: center; width: 100%; gap: 9px; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--surface-2); cursor: pointer; text-align: left; }
.calendar-picker-trigger:hover, .calendar-picker-trigger:focus { border-color: var(--accent-line); background: var(--surface-3); outline: 0; }
.calendar-picker-trigger > span { flex: 1; font-size: 13px; font-weight: 600; }
.calendar-picker-trigger.is-empty { color: var(--text-faint); }
.calendar-picker-popover { position: absolute; z-index: 70; top: calc(100% + 7px); left: 0; width: min(344px, calc(100vw - 72px)); padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 18px 40px rgba(0,0,0,.38); }
.calendar-picker-popover[hidden] { display: none; }
.calendar-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.calendar-picker-head strong { text-transform: capitalize; font-size: 13px; }
.calendar-picker-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.calendar-picker-weekday { padding: 4px 0 6px; color: var(--text-faint); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.calendar-picker-day { aspect-ratio: 1; border: 0; border-radius: 8px; color: var(--text-dim); background: transparent; cursor: pointer; font-size: 12px; font-weight: 650; }
.calendar-picker-day:hover { color: var(--text); background: var(--surface-3); }
.calendar-picker-day.is-active { color: #fff; background: var(--accent); box-shadow: 0 3px 10px var(--accent-soft); }
.calendar-picker-time { display: flex; align-items: center; gap: 7px; margin-top: 12px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-picker-time > span:first-child { flex: 1; color: var(--text-faint); font-size: 11px; font-weight: 700; }
.calendar-picker-time select { width: 62px; padding: 7px; font-size: 12px; }
.calendar-picker-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 11px; }
.birthday-banner { position: relative; display: flex; align-items: center; min-height: 108px; gap: 18px; overflow: hidden; margin-bottom: 20px; padding: 20px 23px; border: 1px solid rgba(255,207,92,.6); border-radius: 18px; color: #fff4cf; background: radial-gradient(340px 170px at 95% 0%, rgba(255,174,72,.31), transparent 70%), radial-gradient(280px 210px at 4% 100%, rgba(124,92,255,.37), transparent 75%), linear-gradient(105deg, #252044, #302143 55%, #422c2f); box-shadow: 0 16px 34px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.1); }
.birthday-banner::after { position: absolute; top: -52px; right: 17%; width: 160px; height: 160px; border: 18px solid rgba(255,207,92,.11); border-radius: 50%; content: ''; }
.birthday-banner.is-own-birthday { border-color: rgba(255,216,103,.84); background: radial-gradient(360px 180px at 96% 0%, rgba(255,176,59,.42), transparent 70%), radial-gradient(320px 190px at 6% 100%, rgba(151,100,255,.48), transparent 75%), linear-gradient(105deg, #2a204e, #552b52 58%, #59382b); }
.birthday-banner-icon { position: relative; z-index: 1; display: grid; flex: none; width: 64px; height: 64px; place-items: center; border: 1px solid rgba(255,235,168,.45); border-radius: 19px; background: linear-gradient(145deg, rgba(255,222,117,.28), rgba(255,126,87,.16)); box-shadow: 0 10px 24px rgba(0,0,0,.22); font-size: 34px; transform: rotate(-5deg); }
.birthday-banner-copy { position: relative; z-index: 1; display: grid; gap: 3px; min-width: 0; }
.birthday-kicker { color: #ffd976; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.birthday-banner-copy strong { color: #fffaf0; font-size: 20px; letter-spacing: -.02em; }
.birthday-banner-copy p { margin: 0; color: #f0dfc7; font-size: 13px; }
.birthday-banner-people { position: relative; z-index: 1; display: flex; flex: 1; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.birthday-person { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border: 1px solid rgba(255,235,168,.28); border-radius: 24px; color: #fff7dc; background: rgba(17,13,33,.34); box-shadow: 0 7px 16px rgba(0,0,0,.14); cursor: pointer; font: inherit; font-size: 12px; font-weight: 750; }
.birthday-person:hover { border-color: rgba(255,222,104,.8); background: rgba(255,207,92,.18); transform: translateY(-1px); }
.birthday-sound { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,222,104,.55); border-radius: 22px; color: #fff5ca; background: rgba(255,207,92,.13); box-shadow: 0 7px 16px rgba(0,0,0,.14); cursor: pointer; font: inherit; font-size: 12px; font-weight: 750; }
.birthday-sound:hover { border-color: #ffe18a; background: rgba(255,207,92,.25); transform: translateY(-1px); }
.birthday-confetti { position: fixed; z-index: 100; inset: 0; pointer-events: none; overflow: hidden; }
.birthday-confetti i { position: absolute; top: -18px; width: 9px; height: 15px; border-radius: 2px; animation: birthday-confetti-fall linear forwards; box-shadow: 0 2px 4px rgba(0,0,0,.16); }
@keyframes birthday-confetti-fall { to { top: 108vh; transform: translateX(var(--drift, 30px)) rotate(var(--spin, 760deg)); opacity: .12; } }
@media (max-width: 700px) { .birthday-banner { align-items: flex-start; flex-wrap: wrap; } .birthday-banner-people { flex-basis: 100%; justify-content: flex-start; } }
.modal.calendar-editor-modal { width: min(760px, 100%); max-height: calc(100vh - 24px); }
@media (max-width: 700px) { .modal-backdrop { padding: 8px; } .modal.calendar-editor-modal { max-height: calc(100vh - 16px); padding: 18px; } }
@media (max-width: 700px) { .calendar-intro .card-head { align-items: flex-start; flex-wrap: wrap; } .calendar-intro .card-head > .spacer { display: none; } }

.avatar {
  border-radius: 50%; overflow: hidden; flex: none;
  background: var(--surface-3); color: var(--text-dim);
  display: grid; place-items: center; font-weight: 700;
  border: 1px solid var(--line);
}
.avatar img { width: 100%; height: 100%; display: block; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th {
  text-align: left; padding: 11px 14px;
  background: var(--surface-2); color: var(--text-faint);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 650;
  white-space: nowrap;
}
tbody td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
tbody tr:hover { background: var(--surface-2); }

.empty { padding: 40px 20px; text-align: center; color: var(--text-faint); }
.empty strong { display: block; color: var(--text-dim); margin-bottom: 4px; font-size: 15px; }

.muted { color: var(--text-faint); }
.dim { color: var(--text-dim); }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.mt { margin-top: 16px; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(4, 6, 14, 0.66);
  backdrop-filter: blur(5px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fade 0.14s ease;
}
.modal {
  width: min(620px, 100%);
  max-height: 88vh; overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
  animation: rise 0.18s ease;
}
.modal.wide { width: min(920px, 100%); }
.modal.changelog-welcome-modal { width: min(850px, 100%); min-height: 0; overflow: hidden; padding: 0; border-color: color-mix(in srgb, var(--accent) 38%, var(--line-strong)); background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface) 43%); box-shadow: 0 28px 90px rgba(0,0,0,.48); }
.changelog-welcome-modal .modal-head { align-items: center; margin: 0; padding: 25px 30px 19px; border-bottom: 1px solid var(--line); }
.changelog-welcome-modal .modal-head h3 { font-size: 23px; letter-spacing: -.025em; }
.changelog-welcome-modal .modal-head small { display: inline-block; margin-top: 4px; color: var(--accent); font-weight: 700; letter-spacing: .02em; }
.changelog-welcome-modal .modal-head .icon-btn { border-color: var(--line); background: color-mix(in srgb, var(--surface-2) 82%, transparent); }
.changelog-welcome { padding: 24px 30px 0; }
.changelog-welcome-hero { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent); border-radius: 16px; background: linear-gradient(115deg, var(--accent-soft), transparent 72%), var(--surface-2); }
.changelog-welcome-icon { display: grid; flex: 0 0 auto; width: 54px; height: 54px; place-items: center; border-radius: 16px; color: #fff; background: var(--accent); box-shadow: 0 10px 22px var(--accent-soft); }
.changelog-welcome-copy { display: grid; gap: 2px; }
.changelog-welcome-copy span { color: var(--text-faint); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.changelog-welcome-copy strong { font-size: 24px; letter-spacing: -.02em; }
.changelog-welcome-copy small { color: var(--text-dim); font-size: 12px; }
.changelog-welcome-body { max-height: min(45vh, 430px); overflow: auto; margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface-2) 74%, transparent); }
.changelog-welcome-section-head { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 15px; }
.changelog-welcome-section-head svg { color: var(--accent); }
.changelog-welcome-intro { margin: 6px 0 16px; color: var(--text-dim); font-size: 13px; }
.changelog-welcome-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.changelog-welcome-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-dim); font-size: 14px; line-height: 1.45; }
.changelog-welcome-list li svg { flex: 0 0 auto; margin-top: 2px; color: var(--good); }
.changelog-welcome-modal .modal-foot { margin: 22px 0 0; padding: 17px 30px 24px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 62%, transparent); }
.changelog-welcome-modal .modal-foot .btn.primary { min-width: 205px; padding: 11px 18px; box-shadow: 0 10px 22px var(--accent-soft); }
@media (max-width: 700px) { .modal.changelog-welcome-modal { max-height: calc(100vh - 16px); } .changelog-welcome-modal .modal-head { padding: 20px 20px 16px; } .changelog-welcome-modal .modal-head h3 { font-size: 19px; } .changelog-welcome { padding: 16px 20px 0; } .changelog-welcome-hero { padding: 16px; } .changelog-welcome-body { max-height: 40vh; padding: 16px; } .changelog-welcome-modal .modal-foot { padding: 15px 20px 20px; } .changelog-welcome-modal .modal-foot .btn.primary { width: 100%; } }
.modal.r6-report-modal { width: min(1240px, 96vw); max-height: 93vh; padding: 28px; }
.modal-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.modal-head h3 { font-size: 18px; }
.modal-head small { color: var(--text-faint); font-size: 12px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* Command-Palette */
.palette-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(4, 6, 14, 0.6); backdrop-filter: blur(6px); padding-top: 12vh; display: flex; justify-content: center; }
.palette {
  width: min(620px, calc(100% - 32px));
  height: fit-content; max-height: 62vh;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
  animation: rise 0.16s ease;
}
.palette input {
  width: 100%; border: none; border-bottom: 1px solid var(--line);
  border-radius: 0; background: transparent; padding: 17px 20px; font-size: 15px;
}
.palette input:focus { background: transparent; }
.palette-list { max-height: 46vh; overflow-y: auto; padding: 8px; }
.palette-item {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 11px 13px; border-radius: 11px;
  border: none; background: transparent; cursor: pointer; text-align: left; color: var(--text);
}
.palette-item:hover, .palette-item.is-active { background: var(--accent-soft); }
.palette-item .t { font-size: 14px; font-weight: 560; }
.palette-item .s { font-size: 12px; color: var(--text-faint); }
.palette-item .type { margin-left: auto; font-size: 11px; color: var(--text-faint); }

/* Toast */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 13px;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); font-size: 14px; max-width: 380px;
  animation: rise 0.18s ease;
}
.toast.good { border-color: rgba(56, 193, 160, 0.45); }
.toast.bad { border-color: rgba(255, 93, 122, 0.45); }

/* Dropdown */
.pop {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 260px; z-index: 40;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 16px; box-shadow: var(--shadow); padding: 10px;
  animation: rise 0.14s ease;
}
.pop-item {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 10px; border: none;
  background: transparent; color: var(--text); cursor: pointer; text-align: left; font-size: 14px;
}
.pop-item:hover { background: var(--surface-2); }
.pop-sep { height: 1px; background: var(--line); margin: 8px 4px; }
.pop-head { padding: 8px 11px 12px; display: flex; gap: 11px; align-items: center; }

/* 4) Ansichten ----------------------------------------------------------------------- */
/* Login / Ersteinrichtung */
.gate { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.08fr) minmax(420px, .92fr); background: var(--bg); }
.gate-art {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(36px, 5vw, 74px); display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(145deg, var(--bg-deep), #1b2a34);
}
.gate-cover { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .56; filter: saturate(.82) contrast(1.04); }
.gate-art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 15, 20, .94) 0%, rgba(10, 15, 20, .8) 48%, rgba(10, 15, 20, .48) 100%), linear-gradient(0deg, rgba(10, 15, 20, .54), transparent 48%); }
.gate-art::after {
  content: ""; position: absolute; z-index: 2; right: -20%; bottom: -26%; width: 72%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 24%, transparent), transparent 67%);
}
.gate-art > :not(.gate-cover) { position: relative; z-index: 3; }
.gate-brand { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.gate-logo { width: 50px; height: 50px; border: 1px solid color-mix(in srgb, var(--accent) 70%, #fff); border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 20px; font-weight: 800; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.gate-logo img { width: 100%; height: 100%; object-fit: cover; }
.gate-copy { margin: auto 0; padding: 56px 0; text-shadow: 0 2px 16px rgba(0, 0, 0, .42); }
.gate-eyebrow { display: block; margin-bottom: 10px; color: color-mix(in srgb, var(--accent) 70%, #fff); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.gate-claim { font-size: clamp(34px, 4vw, 52px); font-weight: 720; letter-spacing: -.045em; line-height: 1.05; max-width: 560px; }
.gate-points { display: grid; gap: 11px; color: var(--text-dim); font-size: 13px; }
.gate-point { display: flex; align-items: center; gap: 10px; }
.gate-point svg { color: var(--accent); }
.gate-form { display: grid; place-items: center; padding: clamp(24px, 5vw, 72px); }
.gate-form-inner { width: min(400px, 100%); padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: var(--shadow); animation: panel-enter .38s ease-out both; }
.gate-form form { width: 100%; }
.gate-form h1 { font-size: 27px; margin-bottom: 7px; letter-spacing: -.03em; }
.login-image-setting > small { display: block; margin: -2px 0 10px; color: var(--text-faint); font-size: 11px; }
.login-image-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.login-image-preview { display: grid; width: 132px; height: 74px; place-items: center; overflow: hidden; border: 1px dashed var(--line-strong); border-radius: 7px; color: var(--text-faint); background: var(--surface-2); font-size: 11px; }
.login-image-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Beitraege */
.post {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 18px; cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.post:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.post.pinned { border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), transparent 55%), var(--surface); }
.post h3 { font-size: 17px; margin-bottom: 6px; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-faint); margin-top: 14px; }
.post-body { color: var(--text-dim); font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.post-body.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.comment { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.comment-body { flex: 1; min-width: 0; }
.comment-body p { white-space: pre-wrap; word-break: break-word; font-size: 14px; color: var(--text-dim); }

/* Mitglieder */
.member {
  display: flex; gap: 14px; align-items: center;
  padding: 15px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; transition: border-color 0.15s, transform 0.15s;
}
.member:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.member-name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); flex: none; }
.online-dot.on { background: var(--good); box-shadow: 0 0 0 3px rgba(56, 193, 160, 0.18); }

.contact-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 9px; margin-top: 12px; }
.profile-links-showcase {
  margin-top: 18px; padding: 15px; border-radius: 15px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface)) 0%, var(--surface-2) 58%);
}
.profile-links-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.profile-links-head strong { display: block; margin-top: 3px; font-size: 14px; }
.profile-links-count { padding: 5px 9px; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); font-size: 12px; font-weight: 700; white-space: nowrap; }
.profile-contact-links { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.contact-link {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 11px; border-radius: 12px;
  color: var(--text); text-decoration: none; border: 1px solid var(--line); background: var(--surface-2);
  transition: transform .16s, border-color .16s, background .16s;
}
.contact-link:hover { transform: translateY(-2px); border-color: var(--platform, var(--accent-line)); background: var(--surface-3); }
.contact-link-mark { width: 30px; height: 30px; display: grid; place-items: center; flex: none; border-radius: 9px; background: color-mix(in srgb, var(--platform, var(--accent)) 18%, transparent); color: var(--platform, var(--accent)); font-weight: 800; }
.contact-link-copy { display: grid; min-width: 0; }
.contact-link-copy strong { font-size: 13px; line-height: 1.2; }
.contact-link-copy small { color: var(--text-faint); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-link-arrow { margin-left: auto; color: var(--platform, var(--accent)); font-size: 18px; }
.contact-link[data-platform="twitch"] { --platform: #a970ff; }
.contact-link[data-platform="discord"] { --platform: #7289da; }
.contact-link[data-platform="youtube"] { --platform: #ff4d5b; }
.contact-link[data-platform="kick"] { --platform: #53fc18; }
.contact-link[data-platform="instagram"] { --platform: #f56a9b; }
.contact-link[data-platform="website"] { --platform: #52c7c0; }
.linked-accounts-editor > small { display: block; margin: 4px 0 12px; }
.contact-editor { display: grid; gap: 8px; margin-bottom: 10px; }
.contact-editor-row { display: grid; grid-template-columns: minmax(110px, .4fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.contact-editor-status { grid-column: 1 / -1; color: var(--good); font-size: 11px; font-weight: 700; margin-top: -4px; padding-left: 2px; }

/* Eigenes Profil: kompakter Einstieg, klar getrennte Bearbeitungsbereiche. */
.profile-page { display: grid; gap: 18px; max-width: 1380px; margin: 0 auto; }
.profile-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 158px; padding: 25px 27px; border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line)); border-radius: var(--radius); background: linear-gradient(105deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface) 52%); animation: panel-enter .38s ease-out both; }
.profile-identity { display: flex; align-items: center; gap: 18px; min-width: 0; }
.profile-identity > .avatar { width: 96px !important; height: 96px !important; flex: none; border: 3px solid color-mix(in srgb, var(--accent) 55%, var(--surface)); box-shadow: 0 0 0 5px var(--surface); }
.profile-identity-copy { min-width: 0; }
.profile-eyebrow { display: block; margin-bottom: 5px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.profile-identity h2 { overflow: hidden; font-size: clamp(24px, 3vw, 32px); text-overflow: ellipsis; white-space: nowrap; }
.profile-meta { margin-top: 8px; color: var(--text-faint); font-size: 13px; }
.profile-hero-summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.profile-hero-summary > div { display: grid; min-width: 82px; padding: 10px 13px; border-left: 1px solid var(--line); }
.profile-hero-summary strong { font-size: 19px; line-height: 1.1; }
.profile-hero-summary span { margin-top: 3px; color: var(--text-faint); font-size: 11px; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .8fr); gap: 18px; align-items: start; }
.profile-main, .profile-side { display: grid; gap: 16px; }
.profile-editor { animation: panel-enter .42s .05s ease-out both; }
.profile-side > .card { animation: panel-enter .42s ease-out both; }
.profile-side > .card:nth-child(1) { animation-delay: .08s; }
.profile-side > .card:nth-child(2) { animation-delay: .13s; }
.profile-side > .card:nth-child(3) { animation-delay: .18s; }
.profile-avatar-actions { display: grid; gap: 12px; }
.profile-avatar-actions .row { flex-wrap: wrap; }
.profile-security-card .stack { gap: 13px; }
.profile-security-card .row { min-height: 32px; }
.profile-stats-card .stat { padding: 12px; gap: 10px; }
.profile-stats-card .stat-icon { width: 34px; height: 34px; }

/* Bewegungen geben Orientierung, ohne vom Inhalt abzulenken. */
@keyframes panel-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes soft-pulse { 50% { border-color: var(--accent-line); } }
.content > :not(.profile-page) { animation: panel-enter .3s ease-out both; }
.btn, .icon-btn, .rail-btn, .sub-link, .tab, .contact-link { transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.btn.primary:not(:disabled) { box-shadow: 0 3px 10px color-mix(in srgb, var(--accent) 24%, transparent); }
.btn.primary:not(:disabled):hover { transform: translateY(-1px); }
.rail-btn.is-active { animation: soft-pulse 2.6s ease-in-out infinite; }

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

@media (max-width: 900px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-stats-card { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .profile-hero { align-items: flex-start; flex-direction: column; padding: 20px; }
  .profile-identity > .avatar { width: 76px !important; height: 76px !important; }
  .profile-hero-summary { justify-content: flex-start; width: 100%; }
  .profile-hero-summary > div { min-width: 0; padding-left: 0; padding-right: 16px; }
  .profile-side { grid-template-columns: 1fr; }
  .profile-stats-card { grid-column: auto; }
}

/* Profilbild zuschneiden */
.avatar-cropper { display: grid; gap: 16px; }
.avatar-crop-stage {
  width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; overflow: hidden;
  position: relative; background: var(--bg-deep); border-radius: 14px; touch-action: none; cursor: grab;
}
.avatar-crop-stage:active { cursor: grabbing; }
.avatar-crop-stage img { position: absolute; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.avatar-crop-mask { position: absolute; inset: 7%; border-radius: 50%; border: 2px solid var(--accent); box-shadow: 0 0 0 999px rgba(0, 0, 0, .54); pointer-events: none; }
.avatar-crop-controls { width: min(100%, 460px); margin: auto; }
.avatar-crop-controls input { width: 100%; }

.easter-pepe { position: fixed; left: 10px; bottom: 62px; z-index: 3; width: 54px; pointer-events: none; opacity: .38; filter: drop-shadow(0 7px 11px rgba(0,0,0,.45)); animation: pepe-sway 5s ease-in-out infinite; }
.easter-lizard { position: absolute; right: -8px; bottom: -22px; z-index: 1; width: 108px; pointer-events: none; opacity: .30; filter: drop-shadow(0 8px 13px rgba(0,0,0,.28)); animation: lizard-peek 5.5s ease-in-out infinite; }
@keyframes lizard-peek { 50% { transform: translateY(2px) rotate(1deg); } }
@keyframes pepe-sway { 50% { transform: translateY(-3px) rotate(1deg); } }

/* Rechte-Matrix */
.error-diagnostic { margin-top: 16px; border: 1px solid rgba(255, 93, 122, .35); border-radius: var(--radius-sm); color: var(--text-dim); background: rgba(255, 93, 122, .06); }
.error-diagnostic summary { padding: 10px 12px; color: #ff9eb0; font-size: 12px; font-weight: 700; cursor: pointer; }
.error-diagnostic pre { max-height: 280px; margin: 0; padding: 0 12px 12px; overflow: auto; white-space: pre-wrap; color: var(--text-dim); font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.rank-category-list { display: flex; flex-wrap: wrap; gap: 10px; }
.rank-category-item { display: flex; align-items: center; gap: 8px; min-width: 220px; padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid var(--rank-category-color); border-radius: var(--radius-sm); background: var(--surface-2); }
.rank-category-item strong { min-width: 0; }
.rank-category-item .muted { margin-left: auto; font-size: 12px; white-space: nowrap; }
.rank-category-actions { margin-left: 3px; gap: 4px; }
.rank-category-actions .btn { padding: 5px 7px; }
.rank-category-dot { display: inline-block; flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--rank-category-color); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rank-category-color) 16%, transparent); }
.rank-category-empty { margin: 0; }
.rank-groups { display: grid; gap: 14px; }
.rank-folder { overflow: hidden; border: 1px solid var(--line); border-left: 3px solid var(--rank-category-color); border-radius: 14px; background: var(--surface-2); }
.rank-folder-title { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 14px; color: var(--text); background: linear-gradient(90deg, color-mix(in srgb, var(--rank-category-color) 13%, transparent), transparent 55%); cursor: pointer; list-style: none; user-select: none; }
.rank-folder-title::-webkit-details-marker { display: none; }
.rank-folder-title:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--rank-category-color) 22%, transparent), transparent 65%); }
.rank-folder-symbol { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: var(--rank-category-color); background: color-mix(in srgb, var(--rank-category-color) 16%, transparent); }
.rank-folder-name { font-size: 15px; font-weight: 700; }
.rank-folder-count { color: var(--text-faint); font-size: 12px; }
.rank-folder-arrow { margin-left: auto; color: var(--text-faint); transition: transform .18s ease; }
.rank-folder:not([open]) .rank-folder-arrow { transform: rotate(-90deg); }
.rank-folder-body { padding: 14px; border-top: 1px solid var(--line); }
@media (max-width: 620px) { .rank-folder-title { padding: 10px 12px; } .rank-folder-body { padding: 12px; } }
.matrix-wrap { overflow: auto; max-height: 70vh; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.matrix { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.matrix th, .matrix td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.matrix thead th {
  position: sticky; top: 0; z-index: 3;
  background: var(--surface-2); text-align: center; min-width: 122px;
}
.matrix thead th:first-child { text-align: left; z-index: 4; left: 0; min-width: 300px; }
.matrix tbody th {
  position: sticky; left: 0; z-index: 2;
  background: var(--surface); text-align: left; font-weight: 500;
  font-size: 13px; color: var(--text-dim); text-transform: none; letter-spacing: 0;
}
.matrix .group td, .matrix .group th { background: var(--surface-2); font-weight: 650; color: var(--text); font-size: 13px; }
.matrix td { text-align: center; }
.matrix input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; }
.matrix .locked { color: var(--accent); font-size: 12px; }

/* Kasse */
.balance { font-size: 34px; font-weight: 750; letter-spacing: -0.03em; }
.spark { width: 100%; height: 70px; display: block; }
.entry-kind { font-weight: 650; }
.entry-kind.in { color: var(--good); }
.entry-kind.out { color: var(--bad); }
.entry-kind.fix { color: var(--warn); }

/* Protokoll */
.log-line { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.log-line:first-child { border-top: none; }
.log-time { color: var(--text-faint); font-size: 12px; white-space: nowrap; min-width: 130px; }

/* Banner */
.notice {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid rgba(255, 159, 69, 0.4);
  background: rgba(255, 159, 69, 0.10);
  color: var(--text); margin-bottom: 18px; font-size: 14px;
}
.global-announcement { padding: 18px 24px 0; }
.global-announcement[hidden] { display: none; }
.global-notice { margin: 0; }
@media (max-width: 680px) { .global-announcement { padding: 14px 14px 0; } }

.hero {
  position: relative; overflow: hidden;
  border-radius: 22px; padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--accent-soft), transparent 55%), var(--surface);
  margin-bottom: 18px;
}
.hero h2 { font-size: 25px; letter-spacing: -0.02em; }
.hero p { color: var(--text-dim); margin-top: 6px; max-width: 640px; }

/* FiveM */
.dgn-hero { background: linear-gradient(135deg, rgba(95, 176, 255, .16), rgba(124, 92, 255, .10) 56%, transparent), var(--surface); }
.dgn-stream-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow: hidden; background: radial-gradient(420px 190px at 100% 0%, rgba(145,70,255,.32), transparent 70%), linear-gradient(130deg, rgba(100,45,175,.22), rgba(20,25,45,.05) 60%), var(--surface); }.dgn-stream-hero-head { min-width: 0; }.dgn-stream-kicker { display: inline-flex; align-items: center; gap: 6px; color: #cd9cff; font-size: 11px; font-weight: 800; letter-spacing: .1em; }.dgn-live-count { display: grid; flex: 0 0 auto; place-items: center; width: 126px; min-height: 100px; border: 1px solid rgba(199,129,255,.35); border-radius: 18px; background: rgba(89,39,141,.24); text-align: center; }.dgn-live-count strong { color: #fff; font-size: 34px; line-height: 1; }.dgn-live-count span { margin-top: 5px; color: #d5bee8; font-size: 12px; }.dgn-stream-groups { display: grid; gap: 30px; margin-top: 26px; }.dgn-stream-section { padding: 18px; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(135deg, rgba(255,255,255,.025), transparent 60%), var(--surface); }.dgn-stream-section-manual { border-color: rgba(95,176,255,.24); background: linear-gradient(135deg, rgba(95,176,255,.08), transparent 55%), var(--surface); }.dgn-stream-section .dgn-section-head { margin: 0 2px 15px; }.dgn-stream-section-manual .pill { color: #b7d5ff; border-color: rgba(95,176,255,.28); background: rgba(95,176,255,.12); }.dgn-stream-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 16px; }.dgn-stream-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; color: var(--text); background: var(--surface-2); box-shadow: 0 10px 24px rgba(0,0,0,.16); transition: transform .16s, border-color .16s, box-shadow .16s; }.dgn-stream-card:hover { transform: translateY(-3px); border-color: #a970ff; box-shadow: 0 16px 30px rgba(0,0,0,.3); }.dgn-stream-preview { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-3); }.dgn-stream-preview::after { content: ''; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(4,5,11,.38)); pointer-events: none; }.dgn-stream-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }.dgn-stream-card:hover .dgn-stream-preview img { transform: scale(1.035); }.dgn-stream-preview-empty { display: grid; height: 100%; place-items: center; color: #c49aff; }.dgn-stream-live, .dgn-stream-runtime { position: absolute; z-index: 1; bottom: 9px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; color: #fff; background: rgba(5,6,12,.82); font-size: 11px; font-weight: 750; }.dgn-stream-live { top: 9px; bottom: auto; left: 9px; border-color: transparent; background: #e93560; letter-spacing: .06em; }.dgn-stream-runtime { right: 9px; }.dgn-stream-copy { padding: 13px 14px 14px; }.dgn-stream-name { display: flex; align-items: baseline; gap: 8px; }.dgn-stream-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.dgn-stream-name span, .dgn-stream-copy small { color: var(--text-faint); font-size: 11px; }.dgn-stream-copy p { display: -webkit-box; min-height: 40px; margin-top: 5px; overflow: hidden; color: var(--text-dim); font-size: 12px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.dgn-stream-copy small { display: block; margin-top: 4px; }.dgn-stream-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); color: #d5b9ff; font-size: 12px; font-weight: 700; }.dgn-stream-meta > span { display: inline-flex; align-items: center; gap: 5px; }.dgn-stream-open { color: var(--text-faint); font-weight: 600; }.dgn-stream-card:hover .dgn-stream-open { color: #d9c0ff; }.dgn-stream-notice { margin-top: 24px; }.dgn-streamer-list { display: grid; gap: 8px; margin: 4px 0; }.dgn-streamer-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }.dgn-streamer-row strong, .dgn-streamer-row small { display: block; }.dgn-streamer-row small { color: var(--text-faint); font-size: 11px; }
.stream-page-layout { display: grid; grid-template-columns: 210px minmax(0,1fr) 270px; gap: 18px; align-items: start; }.stream-center { min-width: 0; }.stream-side { position: sticky; top: 84px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }.stream-side small { display: block; color: var(--text-faint); font-size: 10px; font-weight: 800; letter-spacing: .08em; }.stream-side input { width: 100%; margin-top: 8px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-3); font-size: 12px; }.stream-side .muted { margin: 9px 0 0; font-size: 12px; line-height: 1.4; }.stream-offline-title { margin: 18px 0 8px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 10px; font-weight: 800; letter-spacing: .07em; }.stream-offline-list { display: grid; gap: 6px; max-height: calc(100vh - 255px); overflow: auto; }.stream-offline-row { display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }.stream-offline-row:hover { border-color: var(--accent-line); }.stream-offline-avatar { display: grid; flex: 0 0 auto; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: #d9c0ff; background: var(--accent-soft); font-size: 9px; font-weight: 800; }.stream-offline-row strong,.stream-offline-row small { display: block; overflow: hidden; max-width: 185px; text-overflow: ellipsis; white-space: nowrap; }.stream-offline-row strong { font-size: 11px; }.stream-offline-row small { color: var(--text-faint); font-size: 10px; }.stream-side-left { background: linear-gradient(180deg, rgba(124,92,255,.06), var(--surface)); }.stream-side-right { background: linear-gradient(180deg, rgba(255,255,255,.025), var(--surface)); }
.dgn-section { margin-top: 24px; }.dgn-section-head { display: flex; align-items: end; justify-content: space-between; margin: 0 2px 11px; }.dgn-section-head h3 { font-size: 17px; }.dgn-section-head p { margin-top: 3px; color: var(--text-faint); font-size: 13px; }.dgn-complete-section { padding: 18px; border: 1px solid rgba(56,193,160,.22); border-radius: 18px; background: linear-gradient(120deg, rgba(56,193,160,.09), rgba(56,193,160,.025) 42%, transparent); }.dgn-complete-section .dgn-section-head { margin: 0 2px 15px; }.dgn-complete-kicker { display: inline-flex; align-items: center; gap: 5px; color: #63d9bd; font-size: 12px; font-weight: 750; }
.dgn-board { display: grid; grid-template-columns: repeat(3, minmax(255px, 1fr)); gap: 16px; align-items: start; overflow-x: auto; }
.dgn-column { min-width: 255px; min-height: 250px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.dgn-column-complete { border-top: 3px solid var(--good); background: color-mix(in srgb, var(--good) 5%, var(--surface-2)); }.dgn-column-complete .dgn-column-head h3::after { content: ' ✓'; color: var(--good); }
.dgn-matrix-section { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }.dgn-matrix-section .dgn-section-head { margin: 0 2px 15px; }.dgn-matrix-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }.dgn-matrix { width: 100%; min-width: 680px; border-collapse: collapse; }.dgn-matrix th, .dgn-matrix td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; }.dgn-matrix th { color: var(--text-faint); background: var(--surface-2); font-size: 11px; font-weight: 700; white-space: nowrap; }.dgn-matrix th:first-child, .dgn-matrix td:first-child { position: sticky; left: 0; z-index: 1; min-width: 210px; text-align: left; background: var(--surface); }.dgn-matrix th:first-child { z-index: 2; background: var(--surface-2); }.dgn-matrix tr:last-child td { border-bottom: 0; }.dgn-matrix tr.complete td { background: rgba(56,193,160,.035); }.dgn-matrix-category { display: block; margin-bottom: 3px; color: var(--text-faint); font-size: 10px; font-weight: 750; text-transform: uppercase; }.dgn-matrix td strong { display: block; font-size: 13px; }.dgn-matrix-yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; color: #d8fff4; background: rgba(56,193,160,.22); }.dgn-matrix-no { color: var(--text-faint); }
.dgn-column-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 2px 12px; }.dgn-column-head h3 { font-size: 14px; }.dgn-column-head > div, .dgn-column-actions { display: flex; align-items: center; gap: 8px; }.dgn-genre-filter { max-width: 132px; padding: 5px 23px 5px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--text-dim); background: var(--surface-3); font: inherit; font-size: 11px; cursor: pointer; }.dgn-column-add { display: grid; place-items: center; flex: none; width: 28px; height: 28px; padding: 0; border: 1px solid var(--accent-line); border-radius: 8px; color: var(--accent); background: var(--accent-soft); cursor: pointer; }.dgn-column-add:hover { color: #fff; background: var(--accent); }
.dgn-price-filter { display: grid; grid-template-columns: auto minmax(115px, 180px) auto auto; align-items: center; gap: 8px; min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--text-faint); background: var(--surface-3); font-size: 12px; }.dgn-price-filter input { accent-color: var(--accent); cursor: pointer; }.dgn-price-filter strong { min-width: 67px; color: var(--text); font-size: 12px; white-space: nowrap; }.dgn-price-reset { display: grid; place-items: center; width: 19px; height: 19px; padding: 0; border: 0; border-radius: 50%; color: var(--text-dim); background: var(--line); font-size: 16px; line-height: 1; cursor: pointer; }.dgn-price-reset:hover { color: var(--text); background: var(--accent); }
.dgn-game-list { display: grid; gap: 10px; }.dgn-empty { padding: 18px 5px; font-size: 13px; }
.dgn-pagination { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }.dgn-pagination span { min-width: 43px; color: var(--text-faint); font-size: 12px; text-align: center; }.dgn-pagination button { display: grid; place-items: center; width: 27px; height: 27px; padding: 0; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--surface-3); font-size: 19px; line-height: 1; cursor: pointer; }.dgn-pagination button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }.dgn-pagination button:disabled { cursor: default; opacity: .35; }
.dgn-game { position: relative; isolation: isolate; display: block; overflow: hidden; width: 100%; min-height: 168px; padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); text-align: left; cursor: pointer; transition: transform .16s, border-color .16s, box-shadow .16s; }
.dgn-game-wrap { position: relative; }.dgn-favorite { position: absolute; z-index: 2; top: 9px; left: 9px; display: grid; place-items: center; width: 27px; height: 27px; padding: 0; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; color: rgba(255,255,255,.82); background: rgba(4,7,12,.68); font-size: 16px; cursor: pointer; }.dgn-favorite:hover, .dgn-favorite.active { color: #ffe18a; border-color: rgba(255,201,68,.7); background: rgba(120,86,12,.78); }
.dgn-game:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 10px 22px rgba(0,0,0,.24); }.dgn-game.all-owned { border-color: rgba(56,193,160,.62); }
.dgn-cover { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }.dgn-cover-empty { display: grid; place-items: center; color: var(--text-faint); background: linear-gradient(135deg, var(--surface-3), var(--surface)); }
.dgn-game-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(4,7,12,.92) 100%); }
.dgn-game-copy { position: absolute; right: 11px; bottom: 10px; left: 11px; display: grid; gap: 3px; }.dgn-game-copy strong { font-size: 14px; line-height: 1.23; }.dgn-game-copy small { color: #e8edf8; font-size: 12px; }
.dgn-sale-price { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; }.dgn-sale-price b { padding: 3px 5px; color: #d8fff3; background: #168869; font-size: 11px; }.dgn-sale-price del { color: #aab2c3; font-size: 11px; }.dgn-sale-price strong { color: #b7f4dc; font-size: 13px; }.dgn-detail-head .dgn-sale-price { margin: 3px 0 11px; }.dgn-detail-head .dgn-sale-price b { border-radius: 5px; }.dgn-detail-head .dgn-sale-price strong { font-size: 15px; }
.dgn-genre { color: #c9d8ff; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .045em; }.dgn-owned { position: absolute; top: 9px; right: 9px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 8px; color: var(--text); background: rgba(4,7,12,.72); font-size: 11px; font-weight: 750; }.dgn-owned.complete { color: #d8fff4; background: rgba(22,136,105,.86); }
.dgn-detail-head { display: flex; gap: 16px; align-items: flex-start; }.dgn-detail-head img { width: min(180px, 35%); aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }.dgn-detail-head p { margin: 7px 0 12px; }
.dgn-detail-head { padding: 14px; border: 1px solid rgba(124,92,255,.22); border-radius: 14px; background: linear-gradient(110deg, rgba(124,92,255,.13), rgba(255,255,255,.018)); }.dgn-detail-head img { box-shadow: 0 8px 18px rgba(0,0,0,.27); }
.dgn-game-info { margin-top: 18px; }.dgn-game-info > p { margin: 0 0 14px; color: var(--text-dim); line-height: 1.55; }.dgn-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.dgn-facts > div { padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }.dgn-facts small, .dgn-facts strong { display: block; }.dgn-facts small { color: var(--text-faint); font-size: 11px; }.dgn-facts strong { margin-top: 3px; font-size: 13px; }
.dgn-checklist { box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }.dgn-check-row { transition: background .16s; }.dgn-check-row:hover { background: rgba(56,193,160,.06); }
.dgn-offers { display: grid; gap: 8px; }.dgn-offer { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: var(--surface-2); text-decoration: none; }.dgn-offer:hover { border-color: var(--accent); background: var(--accent-soft); }.dgn-offer.official { border-left: 3px solid var(--accent); }.dgn-offer-shop, .dgn-offer strong { display: block; }.dgn-offer-shop { color: var(--text-faint); font-size: 11px; }.dgn-offer > div:first-child > strong { margin-top: 3px; font-size: 13px; }.dgn-offer-price { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }.dgn-offer-price b { color: #63d9bd; }.dgn-offer-price del { color: var(--text-faint); font-size: 12px; }.dgn-offer-price > strong { color: var(--good); }.dgn-offer-price span { color: var(--accent); font-size: 12px; font-weight: 700; }
.dgn-picker { position: relative; }.dgn-picker-trigger { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 45px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: linear-gradient(100deg, var(--surface-2), var(--surface)); font: inherit; text-align: left; cursor: pointer; transition: border-color .16s, box-shadow .16s; }.dgn-picker.open .dgn-picker-trigger { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }.dgn-picker-chevron { margin-left: auto; color: var(--text-faint); font-size: 19px; transition: transform .16s; }.dgn-picker.open .dgn-picker-chevron { transform: rotate(180deg); }.dgn-picker-dot { width: 9px; height: 9px; border-radius: 50%; background: #7da7ff; box-shadow: 0 0 0 4px rgba(125,167,255,.12); }.dgn-picker-dot.coop { background: #f0b86e; box-shadow: 0 0 0 4px rgba(240,184,110,.12); }.dgn-picker-dot.singleplayer { background: #d78cff; box-shadow: 0 0 0 4px rgba(215,140,255,.12); }.dgn-picker-menu { position: absolute; z-index: 30; top: calc(100% + 7px); left: 0; right: 0; display: none; padding: 6px; border: 1px solid rgba(124,92,255,.42); border-radius: 12px; background: var(--surface-3); box-shadow: 0 18px 35px rgba(0,0,0,.38); }.dgn-picker.open .dgn-picker-menu { display: grid; }.dgn-picker-menu button { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 9px; align-items: center; width: 100%; padding: 10px; border: 0; border-radius: 8px; color: var(--text); background: transparent; font: inherit; text-align: left; cursor: pointer; }.dgn-picker-menu button:hover, .dgn-picker-menu button.selected { background: var(--accent-soft); }.dgn-picker-menu small { grid-column: 2; margin-top: 2px; color: var(--text-faint); font-size: 11px; }
.dgn-checklist { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; }.dgn-check-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--line); cursor: pointer; }.dgn-check-row:last-child { border-bottom: 0; }.dgn-check-row input { width: 17px; height: 17px; accent-color: var(--good); }.dgn-check-row small { color: var(--text-faint); }.dgn-check-row input:checked + span { text-decoration: line-through; color: var(--text-dim); }
.dgn-people-list { display: grid; gap: 7px; margin: 14px 0; }.dgn-people-list > .row { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; }
@media (max-width: 760px) { .dgn-board { grid-template-columns: 1fr; overflow: visible; }.dgn-column { min-width: 0; }.dgn-detail-head img { width: 42%; } }
@media (max-width: 600px) { .dgn-stream-hero { align-items: flex-start; flex-direction: column; }.dgn-live-count { width: 100%; min-height: 70px; grid-template-columns: auto auto; gap: 9px; }.dgn-live-count span { margin: 0; }.dgn-stream-grid { grid-template-columns: 1fr; } }

/* Rainbow Six Siege Analytics ------------------------------------------------------- */
.r6-page { max-width: 1500px; margin: 0 auto; }.r6-hero { position: relative; display: flex; align-items: center; min-height: 220px; gap: 26px; overflow: hidden; padding: 30px 34px; border: 1px solid rgba(245,180,62,.4); border-radius: 18px; color: #f7f4eb; background: linear-gradient(105deg, rgba(15,18,18,.97) 0%, rgba(20,24,24,.93) 58%, rgba(67,52,23,.88)), repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.018) 14px 15px); box-shadow: 0 20px 45px rgba(0,0,0,.26); }.r6-hero::after { content: ''; position: absolute; right: -80px; bottom: -110px; width: 450px; height: 450px; border: 65px solid rgba(244,183,57,.1); border-radius: 50%; transform: rotate(20deg); }.r6-hero-mark { position: relative; z-index: 1; display: grid; flex: 0 0 auto; width: 94px; height: 112px; place-items: center; border: 2px solid #f0b53f; border-bottom-width: 11px; color: #141717; background: #f0b53f; font-size: 29px; font-weight: 950; letter-spacing: -.09em; clip-path: polygon(0 0,100% 0,100% 82%,50% 100%,0 82%); }.r6-hero-copy { position: relative; z-index: 1; flex: 1; }.r6-kicker { color: #f0ba51; font-size: 11px; font-weight: 850; letter-spacing: .16em; }.r6-hero h2 { margin-top: 4px; color: #fff; font-size: clamp(28px,4vw,43px); font-weight: 850; letter-spacing: -.045em; text-transform: uppercase; }.r6-hero p { color: #b9bdb9; }.r6-hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }.r6-primary { border-color: #f0b53f !important; color: #1b1913 !important; background: #f0b53f !important; font-weight: 800; }.r6-primary:hover { background: #ffd169 !important; }.r6-ghost { border-color: rgba(240,181,63,.5) !important; color: #ffe3a4 !important; background: rgba(10,12,12,.48) !important; }.r6-mode-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }.r6-mode-switch button { padding: 6px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; color: #c8cbc7; background: rgba(0,0,0,.23); font-size: 11px; font-weight: 750; cursor: pointer; text-transform: uppercase; }.r6-mode-switch button:hover,.r6-mode-switch button.active { border-color: #f0b53f; color: #181715; background: #f0b53f; }.r6-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; margin: 18px 0; }.r6-metric { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; min-height: 92px; padding: 14px; border: 1px solid rgba(240,181,63,.22); border-radius: 10px; background: linear-gradient(135deg,rgba(240,181,63,.07),transparent 65%),var(--surface); }.r6-metric-icon { display: grid; grid-row: span 2; width: 34px; height: 34px; place-items: center; border-radius: 5px; color: #f0b53f; background: rgba(240,181,63,.13); }.r6-metric strong { color: var(--text); font-size: 23px; line-height: 1.1; }.r6-metric small { color: var(--text-faint); font-size: 11px; font-weight: 700; text-transform: uppercase; }.r6-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.35fr); gap: 18px; }.r6-panel { overflow: hidden; border: 1px solid rgba(240,181,63,.23); border-top: 3px solid #d99e2c; border-radius: 10px; background: var(--surface); }.r6-panel + .r6-panel { margin-top: 18px; }.r6-layout .r6-panel + .r6-panel { margin-top: 0; }.r6-panel-head { padding: 16px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg,rgba(240,181,63,.08),transparent); }.r6-panel-head h3 { font-size: 15px; font-weight: 800; text-transform: uppercase; }.r6-panel-head p { margin-top: 2px; color: var(--text-faint); font-size: 12px; }.r6-table-wrap { overflow: auto; }.r6-table { width: 100%; min-width: 470px; border-collapse: collapse; }.r6-table th,.r6-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; text-align: left; white-space: nowrap; }.r6-table th { color: #e4b95f; background: color-mix(in srgb,var(--surface-2) 88%,#c78d20); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }.r6-table tr:last-child td { border-bottom: 0; }.r6-table tbody tr:hover { background: rgba(240,181,63,.05); }.r6-record { color: var(--text-dim); font-weight: 700; }.r6-rate,.r6-kd,.r6-result,.r6-mode { display: inline-flex; padding: 3px 6px; border-radius: 3px; font-size: 11px; font-weight: 800; }.r6-rate.good,.r6-kd.good { color: #9cdaa2; background: rgba(74,154,82,.17); }.r6-rate.bad,.r6-kd.bad { color: #f19a92; background: rgba(203,67,54,.16); }.r6-positive { color: #91d496; font-weight: 750; }.r6-negative { color: #ec8983; font-weight: 750; }.r6-result.win { color: #9ddd9e; background: rgba(74,154,82,.17); }.r6-result.loss { color: #f29b94; background: rgba(203,67,54,.17); }.r6-result.draw { color: #e6c978; background: rgba(216,167,47,.16); }.r6-mode { color: #cbd1cb; background: rgba(255,255,255,.07); }.r6-mode.ranked { color: #ffd36d; background: rgba(231,169,40,.15); }.r6-mode.quick { color: #9bc8ee; background: rgba(70,141,197,.17); }.r6-delete { display: grid; place-items: center; padding: 3px; border: 0; color: var(--text-faint); background: transparent; cursor: pointer; }.r6-delete:hover { color: var(--bad); }.r6-empty { padding: 26px 18px; color: var(--text-faint); font-size: 13px; }.r6-match-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.r6-match-form .field:last-of-type { grid-column: 1 / -1; }.r6-stat-entry { grid-column: 1 / -1; padding: 14px; border: 1px solid rgba(240,181,63,.25); border-radius: 9px; background: rgba(240,181,63,.04); }.r6-stat-entry h3 { font-size: 14px; }.r6-stat-entry > p { margin: 2px 0 10px; color: var(--text-faint); font-size: 12px; }.r6-player-input { display: grid; grid-template-columns: 1fr 100px 100px; gap: 8px; align-items: center; margin-top: 6px; }.r6-player-input input { width: 100%; padding: 7px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--surface-2); }.r6-input-labels { margin-top: 0; color: var(--text-faint); font-size: 10px; text-transform: uppercase; }.r6-match-form .modal-foot { grid-column: 1 / -1; }
@media (max-width: 900px) { .r6-hero { align-items: flex-start; flex-wrap: wrap; }.r6-hero-actions { width: 100%; }.r6-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }.r6-layout { grid-template-columns: 1fr; }.r6-layout .r6-panel + .r6-panel { margin-top: 18px; } }
.r6-load-error { max-height: 180px; margin: 18px 0 0; padding: 12px; overflow: auto; border: 1px solid rgba(255,93,122,.28); border-radius: 8px; color: #ffb1bf; background: rgba(255,93,122,.07); font: 11px/1.5 ui-monospace,Consolas,monospace; white-space: pre-wrap; }
.r6-soon { position: relative; min-height: min(760px, calc(100vh - 150px)); overflow: hidden; border-radius: 18px; }.r6-soon-content { pointer-events: none; filter: blur(7px) saturate(.55) brightness(.55); transform: scale(1.015); user-select: none; }.r6-soon-overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; padding: 28px; background: radial-gradient(circle at center, rgba(18,18,15,.22), rgba(7,8,9,.72) 70%); color: #fff; text-align: center; }.r6-soon-overlay span { color: #edbb4e; font-size: 11px; font-weight: 850; letter-spacing: .16em; }.r6-soon-overlay strong { margin-top: 8px; color: #f7f0dc; font-size: clamp(54px, 11vw, 136px); font-weight: 950; letter-spacing: .06em; line-height: .9; text-shadow: 0 0 36px rgba(234,179,59,.24); }.r6-soon-overlay p { margin-top: 14px; color: #c5c4bd; font-size: 14px; }
.r6-soon-toggle { margin-top: 18px; border-color: #e9b94d !important; color: #16140e !important; background: #e9b94d !important; font-weight: 800; }
.r6-ban-entry { padding: 13px; border: 1px solid rgba(240,181,63,.26); border-radius: 8px; background: linear-gradient(135deg,rgba(240,181,63,.07),transparent); }.r6-ban-entry h4 { color: #efbd53; font-size: 12px; text-transform: uppercase; }.r6-ban-entry p { margin: 2px 0 8px; color: var(--text-faint); font-size: 11px; }.r6-ban-entry select { width: 100%; margin-top: 5px; padding: 7px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-2); }
.modal.r6-report-modal .r6-report-section { padding: 20px; }.modal.r6-report-modal .r6-ban-entry { min-height: 178px; padding: 15px; }.modal.r6-report-modal .r6-ban-entry select { padding: 9px; }.modal.r6-report-modal .r6-player-input { grid-template-columns: 1fr 130px 130px; }.modal.r6-report-modal .r6-player-input input { padding: 9px 10px; }
.r6-match-form { display: grid; gap: 15px; }.r6-report-section { padding: 16px; border: 1px solid rgba(240,181,63,.29); border-radius: 11px; background: linear-gradient(135deg,rgba(240,181,63,.065),rgba(255,255,255,.01)); }.r6-report-title { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; }.r6-report-title > span { display: grid; flex: 0 0 auto; width: 26px; height: 26px; place-items: center; border-radius: 5px; color: #17140d; background: #e8b84e; font-size: 11px; font-weight: 900; }.r6-report-title h3 { font-size: 14px; text-transform: uppercase; }.r6-report-title p { margin-top: 1px; color: var(--text-faint); font-size: 11px; }.r6-details-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }.r6-ban-phase-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.r6-player-head { margin: 12px 0 3px; color: #d9bd70; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }.r6-player-head small:nth-child(2),.r6-player-head small:nth-child(3) { padding-left: 8px; }
.r6-ban-layout { margin-top: 18px; }.r6-ban-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }.r6-ban-column + .r6-ban-column { border-left: 1px solid var(--line); }.r6-ban-column h4 { padding: 10px 14px; border-bottom: 1px solid var(--line); color: #e7b94e; background: rgba(240,181,63,.07); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }.r6-ban-list { display: grid; gap: 6px; padding: 10px; }.r6-ban-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 9px; border-left: 3px solid #d99e2c; border-radius: 4px; background: var(--surface-2); font-size: 12px; }.r6-ban-row span { min-width: 26px; padding: 2px 5px; border-radius: 3px; color: #15130e; background: #e7b94e; font-size: 11px; font-weight: 850; text-align: center; }.r6-ban-column .r6-empty { padding: 16px 12px; font-size: 12px; }
.r6-page .r6-panel { box-shadow: 0 13px 28px rgba(0,0,0,.13); }.r6-page .r6-table th { position: sticky; top: 0; z-index: 1; }.r6-page .r6-table td { height: 43px; }.r6-table td:first-child { border-left: 2px solid transparent; }.r6-table tr:hover td:first-child { border-left-color: #e2aa39; }.r6-bans-inline { display: block; max-width: 220px; overflow: hidden; color: #d6b96c; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.r6-match-table { min-width: 780px; }.r6-stat-entry { margin-top: 4px; }.r6-stat-entry::before { content: 'SPIELER  ·  KILLS / TODE'; display: block; margin-bottom: 7px; color: #e8bf64; font-size: 10px; font-weight: 850; letter-spacing: .08em; }.r6-match-form .field span { color: #d9bc72; font-size: 11px; font-weight: 750; text-transform: uppercase; }.r6-match-form .field input,.r6-match-form .field select { border-color: rgba(240,181,63,.25); }.r6-match-form .field input:focus,.r6-match-form .field select:focus { border-color: #e8b34a; box-shadow: 0 0 0 3px rgba(240,181,63,.12); outline: 0; }
.r6-dashboard-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.r6-overview-stack { display: grid; gap: 18px; align-content: start; }.r6-match-actions { display: flex; justify-content: flex-end; gap: 3px; }.r6-delete,.r6-edit { display: grid; place-items: center; padding: 5px; border: 0; border-radius: 4px; color: var(--text-faint); background: transparent; cursor: pointer; }.r6-delete:hover { color: var(--bad); background: rgba(203,67,54,.12); }.r6-edit:hover { color: #f5c55e; background: rgba(240,181,63,.13); }
@media (max-width: 600px) { .r6-hero { padding: 22px; }.r6-hero-mark { width: 62px; height: 76px; font-size: 19px; }.r6-match-form { grid-template-columns: 1fr; }.r6-player-input { grid-template-columns: 1fr 70px 70px; }.r6-metrics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .r6-dashboard-grid { grid-template-columns: 1fr; } }

/* R6 tactical workspace redesign ------------------------------------------------ */
.r6-redesign { max-width: 1660px; padding: 4px 0 34px; }.r6-redesign .r6-hero { display: grid; grid-template-columns: 78px minmax(0,1fr) auto; align-items: center; min-height: 156px; gap: 22px; padding: 23px 27px; border: 1px solid #43402f; border-radius: 10px; background: linear-gradient(112deg,#111512 0%,#171b17 63%,#282113 100%); box-shadow: none; }.r6-redesign .r6-hero::after { right: 14%; bottom: -105px; width: 270px; height: 270px; border-width: 42px; opacity: .65; }.r6-redesign .r6-hero-mark { width: 72px; height: 94px; border: 0; border-bottom-width: 9px; font-size: 24px; }.r6-redesign .r6-kicker { display: block; margin-bottom: 5px; color: #f3bd46; font-size: 10px; letter-spacing: .19em; }.r6-redesign .r6-hero h2 { margin: 0; font-size: clamp(27px,3.3vw,39px); letter-spacing: -.035em; }.r6-redesign .r6-hero p { margin: 4px 0 0; font-size: 13px; }.r6-redesign .r6-mode-switch { margin-top: 14px; }.r6-redesign .r6-mode-switch button { padding: 7px 11px; border-radius: 2px; font-size: 10px; }.r6-redesign .r6-hero-actions { justify-content: flex-end; max-width: 405px; }.r6-redesign .r6-hero-actions .btn { min-height: 42px; border-radius: 5px; }.r6-redesign .r6-metrics { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 0; margin: 14px 0 20px; border: 1px solid #34382f; border-radius: 8px; overflow: hidden; background: #151815; }.r6-redesign .r6-metric { min-height: 72px; padding: 12px 17px; border: 0; border-right: 1px solid #34382f; border-radius: 0; background: transparent; }.r6-redesign .r6-metric:last-child { border-right: 0; }.r6-redesign .r6-metric-icon { width: 30px; height: 30px; border-radius: 50%; background: rgba(243,189,70,.1); }.r6-redesign .r6-metric strong { font-size: 22px; }.r6-redesign .r6-metric small { font-size: 10px; letter-spacing: .04em; }.r6-workspace { display: grid; grid-template-columns: minmax(0,1.62fr) minmax(315px,.72fr); gap: 20px; align-items: start; }.r6-workspace-main { display: grid; gap: 16px; min-width: 0; }.r6-section-label { display: flex; align-items: end; justify-content: space-between; gap: 14px; padding: 0 2px; }.r6-section-label > span { color: #e5af3d; font-size: 10px; font-weight: 900; letter-spacing: .15em; }.r6-section-label p { margin: 0; color: var(--text-faint); font-size: 11px; }.r6-redesign .r6-panel { border: 1px solid #33372e; border-top: 0; border-radius: 7px; background: #141714; box-shadow: none; }.r6-redesign .r6-panel-head { display: flex; align-items: center; min-height: 62px; padding: 13px 17px; border-bottom: 1px solid #33372e; background: #1a1d19; }.r6-redesign .r6-panel-head h3 { color: #f1f0e9; font-size: 13px; letter-spacing: .025em; }.r6-redesign .r6-panel-head h3::before { display: inline-block; width: 5px; height: 15px; margin: 0 9px -3px 0; background: #e5af3d; content: ''; }.r6-redesign .r6-panel-head p { margin: 4px 0 0 14px; font-size: 11px; }.r6-redesign .r6-table { min-width: 560px; }.r6-redesign .r6-table th { padding: 10px 15px; color: #9da595; background: #101210; font-size: 9px; }.r6-redesign .r6-table td { height: 46px; padding: 10px 15px; border-bottom-color: #2c3029; font-size: 12px; }.r6-redesign .r6-table tbody tr:hover { background: #1c211c; }.r6-redesign .r6-table tr:hover td:first-child { border-left-color: #e5af3d; }.r6-redesign .r6-result,.r6-redesign .r6-mode { padding: 4px 7px; border-radius: 2px; }.r6-performance { display: grid; gap: 12px; margin-top: 2px; }.r6-performance-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }.r6-performance-grid .r6-table { min-width: 430px; }.r6-intel-rail { display: grid; gap: 12px; padding: 17px; border: 1px solid #3b392f; border-radius: 8px; background: linear-gradient(180deg,#191b17,#131512); }.r6-intel-heading { padding: 2px 3px 7px; border-bottom: 1px solid #3a3b31; }.r6-intel-heading span { color: #e5af3d; font-size: 10px; font-weight: 900; letter-spacing: .13em; }.r6-intel-heading h3 { margin: 5px 0 3px; color: #f0eee7; font-size: 19px; letter-spacing: -.02em; text-transform: uppercase; }.r6-intel-heading p { margin: 0; color: var(--text-faint); font-size: 11px; line-height: 1.45; }.r6-intel-rail .r6-panel { border-color: #373a32; }.r6-intel-rail .r6-panel-head { min-height: auto; padding: 12px 13px; }.r6-intel-rail .r6-panel-head h3 { font-size: 11px; }.r6-intel-rail .r6-panel-head p { margin: 4px 0 0; font-size: 10px; }.r6-intel-rail .r6-ban-grid { grid-template-columns: 1fr; }.r6-intel-rail .r6-ban-column + .r6-ban-column { border-top: 1px solid #2d312a; border-left: 0; }.r6-intel-rail .r6-ban-column h4 { padding: 8px 11px; font-size: 9px; }.r6-intel-rail .r6-ban-row { padding: 7px 8px; border-left-color: #bb8e32; font-size: 11px; }.r6-intel-rail .r6-empty { padding: 13px 11px; font-size: 11px; }.r6-redesign .r6-match-actions { gap: 5px; }.r6-redesign .r6-delete,.r6-redesign .r6-edit { width: 28px; height: 28px; border: 1px solid transparent; }.r6-redesign .r6-edit:hover { border-color: rgba(240,181,63,.35); }.r6-redesign .r6-bans-inline { max-width: 155px; }
@media (max-width: 1120px) { .r6-workspace { grid-template-columns: 1fr; }.r6-intel-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }.r6-intel-heading { grid-column: 1 / -1; }.r6-redesign .r6-hero { grid-template-columns: 72px 1fr; }.r6-redesign .r6-hero-actions { grid-column: 1 / -1; justify-content: flex-start; max-width: none; } }
@media (max-width: 720px) { .r6-redesign .r6-hero { grid-template-columns: 58px 1fr; gap: 14px; padding: 18px; }.r6-redesign .r6-hero-mark { width: 56px; height: 72px; font-size: 18px; }.r6-redesign .r6-hero h2 { font-size: 25px; }.r6-redesign .r6-metrics,.r6-performance-grid,.r6-intel-rail { grid-template-columns: 1fr; }.r6-redesign .r6-metric { border-right: 0; border-bottom: 1px solid #34382f; }.r6-redesign .r6-metric:last-child { border-bottom: 0; }.r6-section-label { align-items: flex-start; flex-direction: column; gap: 4px; }.r6-intel-heading { grid-column: auto; } }

/* Complete R6 Match Control visual system ----------------------------------------- */
.r6-command-center { max-width: 1580px; margin: 0 auto; padding: 14px 0 42px; color: #dce5ee; }.r6-command-center * { box-sizing: border-box; }.r6-board-header { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: end; padding: 30px 32px 26px; border: 1px solid #293848; border-radius: 14px 14px 0 0; background: linear-gradient(120deg,#111a24 0%,#0e151e 60%,#142637 100%); }.r6-board-brand { position: relative; padding-left: 18px; }.r6-board-brand::before { position: absolute; top: 2px; bottom: 1px; left: 0; width: 4px; border-radius: 4px; background: #39b6d4; content: ''; }.r6-board-eyebrow { color: #76d9ef; font-size: 10px; font-weight: 850; letter-spacing: .18em; }.r6-board-brand h1 { margin: 7px 0 6px; color: #f1f6fa; font-size: clamp(30px,4vw,47px); font-weight: 750; letter-spacing: -.055em; }.r6-board-brand p { max-width: 650px; margin: 0; color: #91a5b7; font-size: 13px; line-height: 1.55; }.r6-board-nav { display: grid; justify-items: end; gap: 15px; }.r6-board-filters,.r6-board-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }.r6-board-filters button { padding: 7px 10px; border: 1px solid #33485c; border-radius: 20px; color: #9fb2c3; background: rgba(9,16,24,.56); font-size: 10px; font-weight: 750; cursor: pointer; text-transform: uppercase; }.r6-board-filters button:hover,.r6-board-filters button.active { border-color: #4bc6e1; color: #06131b; background: #68d4ea; }.r6-board-actions .btn { min-height: 39px; border-radius: 6px; font-size: 12px; }.r6-board-primary { border-color: #45c7e3 !important; color: #06141b !important; background: #55c8e2 !important; font-weight: 850; }.r6-board-primary:hover { background: #8be2f2 !important; }.r6-board-secondary { border-color: #3d5568 !important; color: #d2e0e9 !important; background: rgba(21,38,53,.62) !important; }.r6-board-text-button { padding: 7px 5px; border: 0; color: #7590a4; background: transparent; font: inherit; font-size: 11px; cursor: pointer; }.r6-board-text-button:hover { color: #d0f5fb; }.r6-board-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid #293848; border-top: 0; border-radius: 0 0 14px 14px; overflow: hidden; background: #111a24; }.r6-board-stat { display: flex; align-items: center; gap: 11px; min-height: 76px; padding: 13px 24px; border-right: 1px solid #293848; }.r6-board-stat:last-child { border-right: 0; }.r6-board-stat-icon { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #31556a; border-radius: 9px; color: #66cee7; background: rgba(58,182,212,.1); }.r6-board-stat small { display: block; color: #71879a; font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }.r6-board-stat strong { display: block; margin-top: 2px; color: #e6eef4; font-size: 22px; line-height: 1; }.r6-command-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(315px,.7fr); gap: 18px; margin-top: 20px; align-items: start; }.r6-command-main { display: grid; gap: 18px; min-width: 0; }.r6-command-analysis { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.r6-board-panel { overflow: hidden; border: 1px solid #2a3948; border-radius: 10px; background: #101821; box-shadow: 0 12px 28px rgba(0,0,0,.13); }.r6-board-panel-head { display: flex; align-items: center; min-height: 66px; padding: 14px 18px; border-bottom: 1px solid #2a3948; background: #151f2a; }.r6-board-panel-head h3 { margin: 0; color: #e7f0f6; font-size: 14px; font-weight: 750; letter-spacing: .01em; }.r6-board-panel-head p { margin: 4px 0 0; color: #748b9f; font-size: 11px; }.r6-command-center .r6-table-wrap { max-height: 355px; }.r6-command-center .r6-table { min-width: 540px; }.r6-command-center .r6-table th { padding: 10px 15px; border-bottom-color: #2a3948; color: #6f9aac; background: #0c131b; font-size: 9px; }.r6-command-center .r6-table td { height: 46px; padding: 10px 15px; border-bottom-color: #23313e; color: #cbd8e2; font-size: 12px; }.r6-command-center .r6-table tbody tr:hover { background: #162432; }.r6-command-center .r6-table tr:hover td:first-child { border-left-color: #4cc5df; }.r6-command-center .r6-rate.good,.r6-command-center .r6-kd.good,.r6-command-center .r6-result.win { color: #8fdec3; background: rgba(83,179,143,.15); }.r6-command-center .r6-rate.bad,.r6-command-center .r6-kd.bad,.r6-command-center .r6-result.loss { color: #ef9fa5; background: rgba(205,83,91,.15); }.r6-command-center .r6-mode.ranked { color: #9fe8f6; background: rgba(65,185,211,.14); }.r6-command-center .r6-mode.quick { color: #b7c8fa; background: rgba(114,134,221,.17); }.r6-command-center .r6-bans-inline { color: #81cfe1; }.r6-command-center .r6-positive { color: #8fdec3; }.r6-command-center .r6-negative { color: #ef9fa5; }.r6-command-center .r6-empty { padding: 25px 17px; color: #688094; }.r6-command-side { display: grid; gap: 13px; padding: 16px; border: 1px solid #2a3948; border-radius: 10px; background: #0e161e; }.r6-side-intro { padding: 3px 4px 12px; border-bottom: 1px solid #283744; }.r6-side-intro span { color: #5fd1e8; font-size: 10px; font-weight: 850; letter-spacing: .16em; }.r6-side-intro h2 { margin: 6px 0 3px; color: #e7f1f7; font-size: 23px; letter-spacing: -.035em; }.r6-side-intro p { margin: 0; color: #70869a; font-size: 11px; line-height: 1.5; }.r6-command-side .r6-board-panel { border-color: #2a3a48; border-radius: 7px; box-shadow: none; }.r6-command-side .r6-board-panel-head { min-height: 53px; padding: 11px 13px; background: #14202b; }.r6-command-side .r6-board-panel-head h3 { color: #d8ebf2; font-size: 12px; }.r6-command-side .r6-board-panel-head p { font-size: 10px; }.r6-command-side .r6-ban-grid { grid-template-columns: 1fr; }.r6-command-side .r6-ban-column + .r6-ban-column { border-top: 1px solid #263541; border-left: 0; }.r6-command-side .r6-ban-column h4 { padding: 8px 11px; border-bottom-color: #263541; color: #75bed1; background: #101a23; font-size: 9px; }.r6-command-side .r6-ban-list { gap: 5px; padding: 8px; }.r6-command-side .r6-ban-row { padding: 7px 8px; border-left-color: #44bdd8; background: #17232d; font-size: 11px; }.r6-command-side .r6-ban-row span { color: #07151a; background: #67cde1; }.r6-command-side .r6-empty { padding: 12px 11px; font-size: 11px; }.r6-command-center .r6-edit,.r6-command-center .r6-delete { border: 1px solid #314554; color: #89a4b7; background: #14202a; }.r6-command-center .r6-edit:hover { border-color: #55c8e2; color: #8ce0ef; background: #173441; }.r6-command-center .r6-delete:hover { border-color: #db747b; color: #f3a0a6; background: #352029; }
@media (max-width: 1100px) { .r6-board-header { grid-template-columns: 1fr; }.r6-board-nav { justify-items: start; }.r6-board-filters,.r6-board-actions { justify-content: flex-start; }.r6-command-layout { grid-template-columns: 1fr; }.r6-command-side { grid-template-columns: repeat(2,minmax(0,1fr)); }.r6-side-intro { grid-column: 1 / -1; } }
@media (max-width: 720px) { .r6-command-center { padding-top: 2px; }.r6-board-header { padding: 23px 19px; }.r6-board-brand { padding-left: 14px; }.r6-board-stats,.r6-command-analysis,.r6-command-side { grid-template-columns: 1fr; }.r6-board-stat { border-right: 0; border-bottom: 1px solid #293848; }.r6-board-stat:last-child { border-bottom: 0; }.r6-side-intro { grid-column: auto; }.r6-board-actions .btn { flex: 1; justify-content: center; }.r6-board-text-button { width: 100%; }.r6-command-layout { margin-top: 14px; } }

/* R6 post-match briefing board: deliberately separate from the dashboard system */
.r6-briefing { display: grid; grid-template-columns: 218px minmax(0,1fr) 318px; max-width: 1610px; min-height: 760px; margin: 16px auto 42px; border: 1px solid #15181b; color: #17191b; background: #ece9e1; box-shadow: 0 20px 50px rgba(0,0,0,.2); }.r6-briefing * { box-sizing: border-box; }.r6-briefing-rail { display: flex; flex-direction: column; border-right: 1px solid #30363c; color: #e9eceb; background: #15191d; }.r6-briefing-brand { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; min-height: 128px; padding: 24px 22px; border-bottom: 1px solid #394149; background: #c9443d; color: #fff9ee; }.r6-briefing-brand span { grid-column: 1 / -1; font-size: 10px; font-weight: 900; letter-spacing: .2em; }.r6-briefing-brand strong { font-size: 48px; font-weight: 950; line-height: .8; letter-spacing: -.1em; }.r6-briefing-brand small { padding-left: 8px; border-left: 1px solid rgba(255,255,255,.56); font-size: 10px; font-weight: 800; letter-spacing: .12em; }.r6-briefing-rail-section { padding: 21px 18px 3px; }.r6-briefing-rail-section > span { display: block; margin-bottom: 10px; color: #818c94; font-size: 9px; font-weight: 850; letter-spacing: .16em; }.r6-briefing-filters { display: grid; gap: 3px; }.r6-briefing-filters button { width: 100%; padding: 10px 11px; border: 0; border-left: 3px solid transparent; color: #bcc6cb; background: transparent; font: inherit; font-size: 11px; font-weight: 750; text-align: left; cursor: pointer; }.r6-briefing-filters button:hover { color: #fff; background: #20272d; }.r6-briefing-filters button.active { border-left-color: #e35048; color: #fff; background: #2a3239; }.r6-briefing-actions { display: grid; gap: 7px; }.r6-briefing-actions .btn { justify-content: flex-start; min-height: 39px; padding-left: 12px; border: 0; border-radius: 0; color: #161a1d; background: #e8e4da; font-size: 11px; font-weight: 850; }.r6-briefing-actions .btn:hover { background: #fff; }.r6-briefing-actions .r6-briefing-roster { color: #dbe2e5; background: #303941; }.r6-briefing-lock { padding: 5px 0; border: 0; color: #87939a; background: transparent; font: inherit; font-size: 10px; text-align: left; cursor: pointer; }.r6-briefing-lock:hover { color: #fff; }.r6-briefing-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: auto 18px 18px; border: 1px solid #465058; background: #465058; }.r6-briefing-stats > div { min-height: 70px; padding: 12px; background: #1c2227; }.r6-briefing-stats small { display: block; color: #87959d; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.r6-briefing-stats strong { display: block; margin-top: 8px; color: #f7f4ec; font-size: 21px; line-height: 1; }.r6-briefing-main { min-width: 0; padding: 35px 34px 32px; background: #ece9e1; }.r6-briefing-title { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 14px; margin-bottom: 30px; padding-bottom: 16px; border-bottom: 3px solid #1b1e20; }.r6-briefing-title span { grid-column: 1 / -1; color: #bd3a34; font-size: 10px; font-weight: 900; letter-spacing: .2em; }.r6-briefing-title h1 { margin: 0; color: #171a1c; font-size: clamp(30px,4vw,52px); font-weight: 900; letter-spacing: -.065em; line-height: .9; text-transform: uppercase; }.r6-briefing-title p { max-width: 260px; margin: 0; color: #697077; font-size: 12px; line-height: 1.45; }.r6-briefing-panel { overflow: hidden; border: 1px solid #a7a49c; border-radius: 0; background: #f6f3eb; }.r6-briefing-panel > header { display: flex; align-items: end; justify-content: space-between; gap: 14px; min-height: 62px; padding: 13px 16px; border-bottom: 1px solid #b7b3aa; background: #e3e0d8; }.r6-briefing-panel > header h3 { margin: 0; color: #1a1d1e; font-size: 14px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }.r6-briefing-panel > header h3::before { display: inline-block; width: 7px; height: 14px; margin: 0 8px -2px 0; background: #c9433b; content: ''; }.r6-briefing-panel > header p { margin: 0; color: #74736e; font-size: 10px; text-align: right; }.r6-briefing-archive { margin-bottom: 26px; }.r6-briefing .r6-table-wrap { max-height: 358px; }.r6-briefing .r6-table { min-width: 560px; }.r6-briefing .r6-table th { padding: 10px 13px; border-bottom-color: #bbb8b0; color: #6c6b66; background: #d8d5cd; font-size: 9px; }.r6-briefing .r6-table td { height: 48px; padding: 10px 13px; border-bottom-color: #d3d0c7; color: #282b2b; font-size: 12px; }.r6-briefing .r6-table tbody tr:hover { background: #e6e1d7; }.r6-briefing .r6-table tr:hover td:first-child { border-left-color: #c9433b; }.r6-briefing .r6-mode,.r6-briefing .r6-result,.r6-briefing .r6-rate,.r6-briefing .r6-kd { border-radius: 0; }.r6-briefing .r6-mode.ranked { color: #6e2421; background: #ead0ca; }.r6-briefing .r6-mode.quick { color: #23475c; background: #d1e0e5; }.r6-briefing .r6-result.win,.r6-briefing .r6-rate.good,.r6-briefing .r6-kd.good { color: #1f633f; background: #d9e6d7; }.r6-briefing .r6-result.loss,.r6-briefing .r6-rate.bad,.r6-briefing .r6-kd.bad { color: #8d302e; background: #eed6d2; }.r6-briefing .r6-positive { color: #24633d; }.r6-briefing .r6-negative { color: #a23935; }.r6-briefing .r6-bans-inline { color: #83312e; }.r6-briefing .r6-empty { padding: 26px 16px; color: #7d7b74; }.r6-briefing-analysis { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.r6-briefing-analysis .r6-table { min-width: 400px; }.r6-briefing-intel { padding: 34px 20px 20px; border-left: 1px solid #9b9890; background: #d9d5cc; }.r6-briefing-intel > header { padding: 0 3px 19px; border-bottom: 3px solid #1c1e20; }.r6-briefing-intel > header span { color: #bd3a34; font-size: 10px; font-weight: 900; letter-spacing: .17em; }.r6-briefing-intel > header h2 { margin: 7px 0 5px; color: #17191a; font-size: 31px; letter-spacing: -.05em; text-transform: uppercase; }.r6-briefing-intel > header p { margin: 0; color: #6d6c66; font-size: 11px; }.r6-briefing-intel .r6-briefing-panel { margin-top: 16px; border-color: #a5a197; background: #e9e5dc; }.r6-briefing-intel .r6-briefing-panel > header { min-height: 53px; padding: 10px 12px; background: #c9c5bb; }.r6-briefing-intel .r6-briefing-panel > header h3 { font-size: 12px; }.r6-briefing-intel .r6-briefing-panel > header p { font-size: 9px; }.r6-briefing-intel .r6-ban-grid { grid-template-columns: 1fr; }.r6-briefing-intel .r6-ban-column + .r6-ban-column { border-top: 1px solid #b3afa5; border-left: 0; }.r6-briefing-intel .r6-ban-column h4 { padding: 9px 11px; border-bottom-color: #b8b4aa; color: #83403a; background: #dad5cb; font-size: 9px; }.r6-briefing-intel .r6-ban-list { gap: 5px; padding: 9px; }.r6-briefing-intel .r6-ban-row { padding: 7px 8px; border-left-color: #c9433b; border-radius: 0; background: #f1ede4; color: #262a2b; font-size: 11px; }.r6-briefing-intel .r6-ban-row span { border-radius: 0; color: #fff8ef; background: #30363a; }.r6-briefing-intel .r6-empty { padding: 12px 11px; font-size: 11px; }.r6-briefing .r6-edit,.r6-briefing .r6-delete { border: 1px solid #aaa69d; border-radius: 0; color: #555b5d; background: #ece8de; }.r6-briefing .r6-edit:hover { border-color: #2d6d85; color: #15526b; background: #d5e6ea; }.r6-briefing .r6-delete:hover { border-color: #b83c37; color: #9e2e2a; background: #ecd2cd; }
@media (max-width: 1180px) { .r6-briefing { grid-template-columns: 194px minmax(0,1fr); }.r6-briefing-intel { grid-column: 1 / -1; display: grid; grid-template-columns: 210px 1fr 1fr; gap: 15px; border-top: 1px solid #9b9890; border-left: 0; }.r6-briefing-intel > header { padding-bottom: 0; border-bottom: 0; }.r6-briefing-intel .r6-briefing-panel { margin-top: 0; } }
@media (max-width: 760px) { .r6-briefing { display: block; margin: 2px 0 30px; }.r6-briefing-rail { border-right: 0; }.r6-briefing-brand { min-height: 98px; }.r6-briefing-rail-section { padding: 15px 18px 0; }.r6-briefing-filters { grid-template-columns: 1fr 1fr; }.r6-briefing-actions { grid-template-columns: 1fr 1fr; }.r6-briefing-stats { margin-top: 18px; }.r6-briefing-main { padding: 25px 18px; }.r6-briefing-title { display: block; }.r6-briefing-title h1 { margin: 9px 0; }.r6-briefing-analysis,.r6-briefing-intel { display: block; }.r6-briefing-analysis .r6-briefing-panel + .r6-briefing-panel,.r6-briefing-intel .r6-briefing-panel { margin-top: 16px; }.r6-briefing-intel { padding: 25px 18px; border-top: 1px solid #9b9890; border-left: 0; } }

/* Larger briefing canvas and matching match-entry form */
.r6-briefing { width: 100%; max-width: none; min-height: 840px; margin: 12px 0 42px; grid-template-columns: 246px minmax(0,1fr) 356px; }.r6-briefing-main { padding: 42px 42px 38px; }.r6-briefing-main .r6-briefing-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: 0 0 24px; border: 1px solid #aaa69d; background: #aaa69d; }.r6-briefing-main .r6-briefing-stats > div { min-height: 82px; padding: 14px 16px; background: #f6f3eb; }.r6-briefing-main .r6-briefing-stats small { color: #7a7770; }.r6-briefing-main .r6-briefing-stats strong { color: #1b1d1f; font-size: 25px; }.r6-briefing-archive .r6-empty { display: grid; min-height: 185px; place-items: center start; padding: 30px 20px; border-left: 7px solid #c9433b; color: #77756f; font-size: 13px; }.r6-briefing-intel { padding: 42px 24px 24px; }.modal.r6-briefing-modal { width: min(1460px, 97vw); max-height: 94vh; padding: 30px; border: 1px solid #1d2021; border-radius: 0; color: #1d2021; background: #ece9e1; }.modal.r6-briefing-modal .modal-head { margin-bottom: 22px; padding: 0 0 16px; border-bottom: 3px solid #1c1e20; }.modal.r6-briefing-modal .modal-head h3 { color: #191b1d; font-size: 23px; font-weight: 900; letter-spacing: -.025em; text-transform: uppercase; }.modal.r6-briefing-modal .modal-head small { color: #6d6c66; font-size: 12px; }.modal.r6-briefing-modal .icon-btn { border-color: #a6a39b; color: #373b3d; background: #e2ded5; }.modal.r6-briefing-modal .r6-match-form { gap: 18px; }.modal.r6-briefing-modal .r6-report-section { padding: 20px; border: 1px solid #aaa69d; border-radius: 0; background: #f6f3eb; }.modal.r6-briefing-modal .r6-report-title { padding-bottom: 13px; border-bottom: 1px solid #c5c1b8; }.modal.r6-briefing-modal .r6-report-title > span { border-radius: 0; color: #fff8ee; background: #c9433b; }.modal.r6-briefing-modal .r6-report-title h3 { color: #202224; }.modal.r6-briefing-modal .r6-report-title p { color: #77756f; }.modal.r6-briefing-modal .r6-details-grid { gap: 14px; }.modal.r6-briefing-modal .r6-match-form .field span { color: #565650; }.modal.r6-briefing-modal .r6-match-form .field input,.modal.r6-briefing-modal .r6-match-form .field select { border-color: #aaa69d; border-radius: 0; color: #202224; background: #fffdf7; }.modal.r6-briefing-modal .r6-match-form .field input:focus,.modal.r6-briefing-modal .r6-match-form .field select:focus { border-color: #c9433b; box-shadow: 0 0 0 3px rgba(201,67,59,.13); }.modal.r6-briefing-modal .r6-ban-entry { min-height: 172px; padding: 15px; border-color: #b6b2a8; border-radius: 0; background: #ebe7de; }.modal.r6-briefing-modal .r6-ban-entry h4 { color: #8b3833; }.modal.r6-briefing-modal .r6-ban-entry p { color: #74716b; }.modal.r6-briefing-modal .r6-ban-entry select { padding: 9px; border-color: #b3afa5; border-radius: 0; color: #202224; background: #fffdf7; }.modal.r6-briefing-modal .r6-stat-entry { padding: 18px; border-color: #aaa69d; border-radius: 0; background: #f6f3eb; }.modal.r6-briefing-modal .r6-stat-entry::before,.modal.r6-briefing-modal .r6-player-head { color: #8b3833; }.modal.r6-briefing-modal .r6-stat-entry h3 { color: #202224; }.modal.r6-briefing-modal .r6-stat-entry > p { color: #74716b; }.modal.r6-briefing-modal .r6-player-input { grid-template-columns: 1fr 140px 140px; }.modal.r6-briefing-modal .r6-player-input input { padding: 9px 10px; border-color: #aaa69d; border-radius: 0; color: #202224; background: #fffdf7; }.modal.r6-briefing-modal .r6-primary { border-color: #c9433b !important; border-radius: 0; color: #fff9ee !important; background: #c9433b !important; }.modal.r6-briefing-modal .r6-primary:hover { background: #a8322c !important; }
@media (max-width: 1180px) { .r6-briefing { grid-template-columns: 218px minmax(0,1fr); }.r6-briefing-intel { grid-column: 1 / -1; }.r6-briefing-main .r6-briefing-stats { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width: 760px) { .r6-briefing-main { padding: 25px 18px; }.r6-briefing-main .r6-briefing-stats { grid-template-columns: 1fr 1fr; }.modal.r6-briefing-modal { width: min(100%, 97vw); padding: 20px; }.modal.r6-briefing-modal .r6-details-grid,.modal.r6-briefing-modal .r6-ban-phase-grid { grid-template-columns: 1fr; }.modal.r6-briefing-modal .r6-player-input { grid-template-columns: 1fr 76px 76px; } }

/* Searchable operator fields: high-contrast on every browser theme */
.modal.r6-briefing-modal .r6-operator-search { position: relative; margin-top: 7px; }.modal.r6-briefing-modal .r6-operator-search::after { position: absolute; top: 50%; right: 11px; width: 7px; height: 7px; border-right: 2px solid #9a3b35; border-bottom: 2px solid #9a3b35; content: ''; pointer-events: none; transform: translateY(-70%) rotate(45deg); }.modal.r6-briefing-modal .r6-operator-search input { width: 100%; padding: 10px 33px 10px 10px; border: 1px solid #aaa69d; border-radius: 0; color: #202224; background: #fffdf7; font: inherit; font-size: 12px; }.modal.r6-briefing-modal .r6-operator-search input::placeholder { color: #77756f; opacity: 1; }.modal.r6-briefing-modal .r6-operator-search input:focus { border-color: #c9433b; outline: 0; box-shadow: 0 0 0 3px rgba(201,67,59,.13); }.modal.r6-briefing-modal .r6-operator-search input::-webkit-search-cancel-button { cursor: pointer; }
.modal.r6-briefing-modal .r6-operator-picker { position: relative; z-index: 1; margin-top: 7px; }.modal.r6-briefing-modal .r6-operator-picker:focus-within { z-index: 4; }.modal.r6-briefing-modal .r6-operator-picker::after { position: absolute; top: 15px; right: 12px; width: 7px; height: 7px; border-right: 2px solid #9a3b35; border-bottom: 2px solid #9a3b35; content: ''; pointer-events: none; transform: rotate(45deg); }.modal.r6-briefing-modal .r6-operator-picker input { width: 100%; padding: 10px 34px 10px 10px; border: 1px solid #aaa69d; border-radius: 0; color: #202224; background: #fffdf7; font: inherit; font-size: 12px; }.modal.r6-briefing-modal .r6-operator-picker input::placeholder { color: #77756f; opacity: 1; }.modal.r6-briefing-modal .r6-operator-picker input:focus { border-color: #c9433b; outline: 0; box-shadow: 0 0 0 3px rgba(201,67,59,.13); }.modal.r6-briefing-modal .r6-operator-menu { position: absolute; top: calc(100% + 2px); right: 0; left: 0; display: none; max-height: 184px; overflow-y: auto; border: 1px solid #8f8b82; background: #fffdf7; box-shadow: 0 12px 22px rgba(25,25,22,.22); }.modal.r6-briefing-modal .r6-operator-picker.is-open .r6-operator-menu { display: grid; }.modal.r6-briefing-modal .r6-operator-menu button { padding: 8px 10px; border: 0; border-bottom: 1px solid #ded9d0; color: #202224; background: #fffdf7; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }.modal.r6-briefing-modal .r6-operator-menu button:last-child { border-bottom: 0; }.modal.r6-briefing-modal .r6-operator-menu button:hover,.modal.r6-briefing-modal .r6-operator-menu button:focus { color: #fff9ee; background: #c9433b; outline: 0; }.modal.r6-briefing-modal .r6-operator-menu button[hidden] { display: none; }
.modal.r6-briefing-modal .r6-operator-picker::after { display: none; }.modal.r6-briefing-modal .r6-operator-toggle { position: absolute; top: 1px; right: 1px; width: 37px; height: calc(100% - 2px); padding: 0; border: 0; border-left: 1px solid #c8c3ba; color: #8d3833; background: #f0ece3; cursor: pointer; }.modal.r6-briefing-modal .r6-operator-toggle::after { display: block; width: 7px; height: 7px; margin: -3px auto 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ''; transform: rotate(45deg); }.modal.r6-briefing-modal .r6-operator-picker.is-open .r6-operator-toggle::after { margin-top: 3px; transform: rotate(225deg); }.modal.r6-briefing-modal .r6-operator-toggle:hover { color: #fff9ee; background: #c9433b; }
@media (max-width: 1180px) { .stream-page-layout { grid-template-columns: 190px minmax(0,1fr); }.stream-side-right { display: none; } } @media (max-width: 760px) { .stream-page-layout { display: block; }.stream-side { position: static; margin-bottom: 14px; }.stream-side-left .muted { display: none; } }
.stream-offline-row { gap: 10px; padding: 9px; border-radius: 10px; }.stream-offline-avatar { width: 40px; height: 40px; font-size: 10px; object-fit: cover; }.stream-offline-row strong { font-size: 12px; }
.stream-control-title { margin: 19px 0 7px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 10px; font-weight: 800; letter-spacing: .08em; }.stream-sort-control { display: flex; align-items: center; justify-content: flex-end; gap: 8px; width: 100%; padding: 7px 8px; border: 0; border-radius: 8px; color: var(--text-dim); background: transparent; font: inherit; font-size: 12px; cursor: pointer; }.stream-sort-control span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; color: var(--text-faint); background: var(--surface-3); }.stream-sort-control.active { color: var(--text); background: var(--surface-2); font-weight: 700; }.stream-sort-control.active span { color: #ff9f45; background: rgba(255,159,69,.15); }.stream-size-control { display: grid; gap: 5px; margin: 8px 0; color: var(--text-faint); font-size: 11px; }.stream-size-control input { margin: 0; padding: 0; accent-color: #ff8a1e; }.stream-toggle-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 8px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-3); }.stream-toggle-row button { padding: 5px 3px; border: 0; border-radius: 6px; color: var(--text-faint); background: transparent; font: inherit; font-size: 11px; cursor: pointer; }.stream-toggle-row button.active { color: var(--text); background: var(--surface-2); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.stream-control-hint { margin: 0 0 8px; color: var(--text-faint); font-size: 10px; line-height: 1.35; }
.stream-page-layout .dgn-stream-grid { grid-template-columns: repeat(auto-fill, minmax(var(--stream-grid-min, 285px), 1fr)); }.stream-list .dgn-stream-grid { grid-template-columns: 1fr; }.stream-list .dgn-stream-card { display: grid; grid-template-columns: 220px 1fr; min-height: 132px; }.stream-list .dgn-stream-preview { height: 132px; aspect-ratio: auto; }.stream-thumbnails-blur .dgn-stream-preview img { filter: blur(8px); transform: scale(1.05); }
.stream-controls { position: sticky; top: 84px; padding: 15px; border: 1px solid rgba(124,92,255,.24); border-radius: 16px; background: linear-gradient(165deg, rgba(124,92,255,.12), rgba(18,20,31,.96) 36%); }.stream-controls-title { display: flex; align-items: center; gap: 9px; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: #c9a7ff; }.stream-controls-title strong,.stream-controls-title small { display: block; }.stream-controls-title strong { color: var(--text); font-size: 13px; }.stream-controls-title small { color: var(--text-faint); font-size: 10px; }.stream-control-field { display: grid; gap: 5px; margin-top: 13px; color: var(--text-faint); font-size: 11px; }.stream-control-field input,.stream-control-field select { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--surface-3); font: inherit; font-size: 12px; }.stream-control-section { display: grid; gap: 8px; margin-top: 19px; padding-top: 14px; border-top: 1px solid var(--line); }.stream-control-section > span { color: var(--text-faint); font-size: 10px; font-weight: 800; letter-spacing: .08em; }.stream-control-section > small { color: var(--text-faint); font-size: 10px; }.stream-direction { width: 100%; padding: 8px; border: 1px solid var(--accent-line); border-radius: 8px; color: #d8c3ff; background: var(--accent-soft); font: inherit; font-size: 11px; cursor: pointer; }.stream-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }.stream-choice button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 31px; padding: 5px; border: 1px solid transparent; border-radius: 7px; color: var(--text-faint); background: var(--surface-3); font: inherit; font-size: 10px; cursor: pointer; }.stream-choice button:hover { color: var(--text); }.stream-choice button.active { border-color: var(--accent-line); color: #f0eaff; background: var(--accent-soft); }
.stream-choice:has(> button:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.stream-favorite { position: absolute; z-index: 2; top: 9px; right: 9px; width: 29px; height: 29px; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; color: #fff; background: rgba(5,6,12,.72); font-size: 16px; cursor: pointer; }.stream-favorite.active { color: #ffd267; border-color: #ffd267; background: rgba(99,67,12,.85); }.stream-card-actions { display: flex; align-items: center; gap: 8px; }.stream-card-actions button,.stream-card-actions a { display: inline-flex; align-items: center; gap: 3px; padding: 0; border: 0; color: var(--text-faint); background: transparent; font: inherit; font-size: 11px; cursor: pointer; }.stream-card-actions button:hover,.stream-card-actions a:hover { color: var(--accent); }.stream-profile { display: flex; align-items: center; gap: 14px; }.stream-profile > img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }.stream-profile h3 { font-size: 18px; }.stream-profile-live { margin-top: 18px; padding: 14px; border: 1px solid rgba(56,193,160,.25); border-radius: 11px; background: rgba(56,193,160,.08); }.stream-profile-live strong { color: #6ee0c4; }.stream-profile-live p { margin: 5px 0; }.stream-profile-live span { color: var(--text-faint); font-size: 12px; }
.stream-profile-bio { margin: 17px 0; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); white-space: pre-line; }.stream-profile-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }.stream-profile-facts > div { padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }.stream-profile-facts small,.stream-profile-facts strong { display: block; }.stream-profile-facts small { color: var(--text-faint); font-size: 10px; }.stream-profile-facts strong { margin-top: 3px; font-size: 13px; }.stream-profile-facts + .stream-profile-live { margin-top: 12px; } @media (max-width: 600px) { .stream-profile-facts { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.stream-offline-main { display: flex; flex: 1; align-items: center; min-width: 0; gap: 10px; }.stream-offline-actions { display: flex; gap: 3px; }.stream-offline-actions .stream-favorite,.stream-offline-actions button { position: static; display: grid; width: 25px; height: 25px; place-items: center; padding: 0; border: 0; border-radius: 6px; color: var(--text-faint); background: var(--surface-3); font-size: 13px; }.stream-offline-actions .stream-favorite.active { color: #ffd267; background: rgba(99,67,12,.6); }.stream-offline-actions button { cursor: pointer; }
.stream-offline-main > div { min-width: 0; flex: 1; }.stream-offline-row strong,.stream-offline-row small { max-width: none; }.stream-offline-row strong { overflow: visible; white-space: normal; line-height: 1.25; }
.stream-hub { max-width: 1540px; margin: 0 auto; }.stream-hub-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 27px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(540px 200px at 100% 0%, rgba(124,92,255,.25), transparent 72%), linear-gradient(110deg, rgba(124,92,255,.13), transparent 55%), var(--surface); }.stream-hub-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: #c9a7ff; font-size: 11px; font-weight: 800; letter-spacing: .08em; }.stream-hub-hero h2 { margin-top: 4px; font-size: 30px; }.stream-hub-hero p { margin-top: 3px; color: var(--text-dim); }.stream-hub-summary { display: flex; align-items: center; gap: 20px; }.stream-hub-summary > div:first-child { display: grid; min-width: 82px; place-items: center; padding: 10px; border: 1px solid rgba(166,112,255,.4); border-radius: 13px; background: rgba(124,92,255,.12); }.stream-hub-summary strong { font-size: 25px; line-height: 1; }.stream-hub-summary span { color: var(--text-faint); font-size: 11px; }.stream-hub-actions { display: flex; gap: 7px; }.stream-hub-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 18px; margin-top: 18px; align-items: start; }.stream-hub-main { min-width: 0; }.stream-hub .stream-controls { position: static; display: grid; grid-template-columns: 1.2fr .9fr 150px; align-items: end; gap: 13px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }.stream-hub .stream-controls-title { display: none; }.stream-hub .stream-control-field { margin: 0; }.stream-hub .stream-control-section { display: contents; }.stream-hub .stream-control-section > span,.stream-hub .stream-control-section > small { display: none; }.stream-hub .stream-control-section .stream-control-field { grid-column: 2; }.stream-hub .stream-direction { grid-column: 3; min-height: 38px; }.stream-hub .stream-control-section:last-child { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }.stream-hub .stream-choice { display: flex; flex: 0 0 auto; }.stream-hub .stream-choice button { min-width: 72px; }.stream-hub .stream-choice:has(> button:nth-child(2):last-child) { grid-template-columns: none; }.stream-hub .dgn-stream-groups { margin-top: 18px; gap: 18px; }.stream-hub .dgn-stream-section { padding: 18px; }.stream-hub .stream-side-right { position: sticky; top: 84px; padding: 15px; border-radius: 16px; }.stream-hub .stream-offline-list { max-height: calc(44vh - 120px); }
@media (max-width: 1050px) { .stream-hub-layout { grid-template-columns: 1fr; }.stream-hub .stream-side-right { position: static; }.stream-hub .stream-controls { grid-template-columns: 1fr 1fr; }.stream-hub .stream-direction { grid-column: auto; }.stream-hub .stream-control-section .stream-control-field { grid-column: auto; } } @media (max-width: 680px) { .stream-hub-hero { align-items: flex-start; flex-direction: column; }.stream-hub-summary { width: 100%; justify-content: space-between; }.stream-hub .stream-controls { display: grid; grid-template-columns: 1fr; }.stream-hub .stream-control-section:last-child { flex-wrap: wrap; }.stream-hub .stream-control-section .stream-control-field,.stream-hub .stream-direction { grid-column: auto; } }
.stream-hub-layout { grid-template-columns: minmax(0,1fr) 370px; }

/* Stream-Hub: Steuern oben, Streamfläche im Mittelpunkt, Offline-Liste rechts. */
@media (min-width: 1181px) { .stream-page-layout { grid-template-columns: minmax(0, 1fr) 310px; grid-template-rows: auto minmax(0, 1fr); gap: 18px; }.stream-controls { position: static; grid-column: 1; grid-row: 1; display: grid; grid-template-columns: 1.15fr 1fr 1fr; align-items: start; gap: 12px; padding: 14px 16px; border-color: var(--line); background: linear-gradient(110deg, rgba(124,92,255,.1), rgba(18,20,31,.96) 55%); }.stream-controls-title { grid-column: 1 / -1; padding-bottom: 10px; }.stream-controls .stream-control-field { margin-top: 0; }.stream-controls .stream-control-section { margin-top: 0; padding-top: 0; border-top: 0; }.stream-controls .stream-control-section:last-child { grid-column: 2 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }.stream-controls .stream-control-section:last-child > span { grid-column: 1 / -1; }.stream-controls .stream-control-section:last-child .stream-choice { grid-column: span 1; }.stream-controls .stream-control-section:last-child > small { display: none; }.stream-center { grid-column: 1; grid-row: 2; }.stream-side-right { grid-column: 2; grid-row: 1 / 3; top: 84px; }.stream-offline-list { max-height: calc(50vh - 170px); }.stream-side-right { padding: 15px; } }
.fivem-hero { background: linear-gradient(135deg, rgba(255, 159, 69, .16), transparent 55%), var(--surface); }
.fivem-kind.script { color: #7da7ff; } .fivem-kind.mlo { color: #f0b86e; } .fivem-kind.eup { color: #df8bff; }
.fivem-purchased { opacity: .68; }
.fivem-done { color: var(--good); background: rgba(56, 193, 160, .12); }
.table-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-line); font-weight: 650; }
.table-link:hover { color: var(--accent); }
.fivem-recent { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.fivem-recent:first-child { border-top: 0; }
.fivem-money-out { color: var(--warn); font-weight: 650; }
.fivem-fund-head .balance { color: var(--good); font-size: clamp(36px, 5vw, 58px); }
.fivem-fund-summary { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(280px, 1fr); gap: 22px; align-items: center; margin-top: 20px; }
.fivem-payment-info { padding: 14px 16px; border-radius: 13px; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); background: color-mix(in srgb, var(--accent) 8%, var(--surface-2)); }
.fivem-payment-text { margin-top: 9px; white-space: pre-wrap; color: var(--text); line-height: 1.5; }
.invoice-list { display: grid; gap: 9px; }
.invoice-card { width: 100%; max-width: none; }
.invoice-toolbar { display: flex; align-items: center; gap: 9px; margin: -2px 0 18px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 12px; color: var(--text-faint); background: var(--surface-2); }
.invoice-toolbar:focus-within { border-color: var(--accent-line); }
.invoice-toolbar input { min-width: 0; padding: 2px 0; border: 0; border-radius: 0; background: transparent; }
.invoice-toolbar input:focus { background: transparent; }
.invoice-dropzone { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 0 0 18px; min-height: 92px; padding: 16px; border: 1px dashed var(--accent-line); border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); cursor: pointer; transition: border-color .16s, background .16s, transform .16s; text-align: left; }
.invoice-dropzone div { display: grid; gap: 4px; }
.invoice-dropzone small { color: var(--text-faint); }
.invoice-dropzone:hover, .invoice-dropzone:focus, .invoice-dropzone.is-dragging { outline: 0; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, var(--surface)); transform: translateY(-1px); }
.invoice-row { display: flex; align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .16s, background .16s; }
.invoice-row:hover, .invoice-row:focus { outline: 0; border-color: var(--accent-line); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.invoice-symbol { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 10px; color: #fff; background: #d34a4a; font-size: 11px; font-weight: 800; letter-spacing: .4px; }
.invoice-main { display: grid; gap: 4px; min-width: 0; flex: 1; }
.invoice-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invoice-main small { color: var(--text-faint); }
.invoice-preview { display: block; width: 100%; height: min(72vh, 760px); border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.invoice-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 18px; }
.modal.invoice-modal { width: min(1260px, 96vw); }
.invoice-modal .invoice-preview { height: min(80vh, 900px); }
.fivem-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 16px; }
.fivem-person-picker { position: relative; }
.fivem-person-picker > input { width: 100%; }
.fivem-person-picker-menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; max-height: 210px; overflow-y: auto; padding: 6px; border: 1px solid var(--accent-line); border-radius: 12px; background: var(--surface-3); box-shadow: 0 16px 32px rgba(0,0,0,.3); }
.fivem-person-picker-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px; border: 0; border-radius: 8px; color: var(--text); background: transparent; font: inherit; text-align: left; cursor: pointer; }
.fivem-person-picker-option:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.fivem-person-avatar { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); font-size: 12px; font-weight: 750; }
.fivem-person-picker-empty { padding: 10px; color: var(--text-faint); font-size: 13px; }
.vehicle-hero { background: linear-gradient(135deg, rgba(56, 193, 160, .15), rgba(255, 159, 69, .08) 58%, transparent), var(--surface); }
.vehicle-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-top: 18px; color: var(--text-dim); }
.vehicle-summary strong { font-size: 28px; color: var(--text); }.vehicle-formula { margin-left: auto; color: var(--good); font-size: 13px; }
.vehicle-tools { margin-bottom: 16px; }.vehicle-table td { white-space: nowrap; }.vehicle-dealer { display: inline-flex; padding: 4px 8px; border-radius: 7px; background: rgba(124,92,255,.12); color: var(--accent); font-weight: 650; font-size: 12px; }.vehicle-dealer.dealer-pdm { color: #7da7ff; background: rgba(125,167,255,.12); }.vehicle-dealer.dealer-booties { color: #38c1a0; background: rgba(56,193,160,.12); }.vehicle-dealer.dealer-luxury-cars { color: #f0b86e; background: rgba(240,184,110,.12); }.vehicle-dealer.dealer-roadrunner { color: #9dcf63; background: rgba(157,207,99,.12); }.vehicle-our-price { color: var(--good); }.vehicle-actions { justify-content: flex-end; }
.vehicle-unknown { display: inline-flex; padding: 4px 8px; border-radius: 7px; color: #ff9aa9; background: rgba(255, 93, 122, .18); font-weight: 650; }
.fuel-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 7px; color: #82a9ff; background: rgba(125, 167, 255, .12); font-weight: 650; font-size: 12px; }.fuel-symbol { display: inline-flex; align-items: center; justify-content: center; width: 14px; font-size: 13px; line-height: 1; }.fuel-badge.fuel-diesel { color: #f0b86e; background: rgba(240, 184, 110, .12); }.fuel-badge.fuel-elektro { color: #55d7a6; background: rgba(56, 193, 160, .12); }.fuel-badge.fuel-kerosin { color: #e697ff; background: rgba(223, 139, 255, .12); }.fuel-badge.fuel-unbekannt { color: #ff9aa9; background: rgba(255, 93, 122, .18); }
.vehicle-model-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; }.vehicle-model-link:hover { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-line); }.vehicle-model-link svg { opacity: .6; }
.vehicle-addon-model { display: inline-flex; align-items: center; gap: 7px; }.vehicle-addon-badge { padding: 2px 6px; border: 1px solid rgba(139, 150, 173, .3); border-radius: 6px; color: var(--text-dim); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 720px) { .vehicle-formula { width: 100%; margin-left: 0; }.vehicle-tools .field { min-width: min(100%, 210px) !important; }.vehicle-tools input { width: 100%; } }
.infoboard-hero { background: linear-gradient(135deg, rgba(56, 193, 160, .15), rgba(124, 92, 255, .09) 58%, transparent), var(--surface); }
.infoboard-summary { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.infoboard-stat { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; min-width: 145px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.infoboard-stat .stat-icon { grid-row: span 2; width: 31px; height: 31px; }
.infoboard-stat strong { font-size: 17px; }.infoboard-stat small { color: var(--muted); font-size: 11px; }
.infoboard-search { margin-top: 18px; }.infoboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; align-items: start; }
.infoboard-section { min-height: 210px; }.infoboard-section.priority { border-top: 2px solid #ff5d7a; }.infoboard-section.information { border-top: 2px solid #7c5cff; }.infoboard-section.link { border-top: 2px solid #38c1a0; }.infoboard-section.contact { border-top: 2px solid #7da7ff; }
.infoboard-list { display: grid; gap: 9px; }.infoboard-entry { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.018); }.infoboard-entry:hover { border-color: rgba(124,92,255,.45); }.infoboard-entry strong { font-size: 14px; }.infoboard-entry p { margin: 7px 0 8px; white-space: pre-wrap; color: var(--muted); font-size: 13px; line-height: 1.45; }.infoboard-entry-actions { gap: 4px; }.infoboard-entry-actions .btn { padding: 5px 7px; }.infoboard-contact-address { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 9px 0 6px; padding: 7px 8px 7px 10px; border-radius: 8px; background: rgba(125,167,255,.08); border: 1px solid rgba(125,167,255,.18); }.infoboard-contact-address a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9abaff; font-size: 13px; font-weight: 600; }.infoboard-contact-address .btn { flex: 0 0 auto; padding: 4px 7px; }.infoboard-prio.p1 { color: #ff6d85; background: rgba(255,93,122,.13); }.infoboard-prio.p2 { color: #ffb45c; background: rgba(255,159,69,.13); }.infoboard-prio.p3 { color: #7da7ff; background: rgba(125,167,255,.13); }
.infoboard-sort-hint { display: inline-flex; align-items: center; gap: 5px; color: var(--text-faint); font-size: 11px; white-space: nowrap; }.infoboard-section.contact .infoboard-list, .infoboard-section.link .infoboard-list { gap: 6px; transition: background .15s, outline-color .15s; }.infoboard-section.contact .infoboard-list.is-sorting, .infoboard-section.link .infoboard-list.is-sorting { padding: 7px; margin: -7px; border-radius: 12px; outline: 1px dashed rgba(125,167,255,.55); background: rgba(125,167,255,.045); }.infoboard-contact-row, .infoboard-quicklink-row { position: relative; transition: opacity .15s, border-color .15s, background .15s, transform .15s; }.infoboard-contact-row { display: grid; grid-template-columns: auto minmax(185px, .9fr) minmax(235px, 1.35fr) auto; align-items: center; gap: 12px; padding: 10px 11px 10px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(125,167,255,.035); }.infoboard-sortable-row[draggable="true"] { cursor: grab; }.infoboard-sortable-row[draggable="true"]:active { cursor: grabbing; }.infoboard-contact-row:hover { border-color: rgba(125,167,255,.45); background: rgba(125,167,255,.07); }.infoboard-sortable-row.is-dragging { opacity: .32; transform: scale(.985); }.infoboard-sortable-row.is-drop-before::before, .infoboard-sortable-row.is-drop-after::after { content: 'Hier ablegen'; position: absolute; left: 9px; right: 9px; z-index: 2; height: 0; border-top: 2px solid var(--accent); color: var(--accent); font-size: 10px; font-weight: 700; line-height: 1; }.infoboard-sortable-row.is-drop-before::before { top: -5px; }.infoboard-sortable-row.is-drop-after::after { bottom: -5px; }.infoboard-drag-handle { display: grid; place-items: center; width: 23px; height: 32px; color: var(--text-faint); cursor: grab; }.infoboard-sortable-row:hover .infoboard-drag-handle { color: #9abaff; }.infoboard-contact-person { min-width: 0; }.infoboard-contact-person strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.infoboard-contact-person small { display: block; overflow: hidden; margin-top: 3px; color: var(--text-faint); text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.infoboard-contact-email { min-width: 0; overflow: hidden; padding: 6px 9px; border: 1px solid rgba(125,167,255,.2); border-radius: 7px; background: rgba(125,167,255,.07); color: #9abaff; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; }.infoboard-contact-actions, .infoboard-link-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; white-space: nowrap; }.infoboard-contact-actions .btn, .infoboard-link-actions .btn { padding: 5px 7px; }.infoboard-quicklink-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 10px 11px 10px 10px; border: 1px solid rgba(56,193,160,.2); border-radius: 10px; background: linear-gradient(90deg, rgba(56,193,160,.09), rgba(56,193,160,.02)); }.infoboard-quicklink-row:hover { border-color: rgba(56,193,160,.58); background: linear-gradient(90deg, rgba(56,193,160,.15), rgba(56,193,160,.035)); }.infoboard-link-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: #61d9bd; background: rgba(56,193,160,.13); }.infoboard-link-main { min-width: 0; }.infoboard-link-main strong, .infoboard-link-main span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.infoboard-link-main strong { font-size: 13px; }.infoboard-link-main span { margin-top: 3px; color: #8fcdbc; font-size: 11px; }
@media (max-width: 760px) { .infoboard-sort-hint { display: none; }.infoboard-contact-row { grid-template-columns: auto 1fr auto; gap: 8px; }.infoboard-contact-email { grid-column: 1 / -1; }.infoboard-contact-actions { grid-column: 3; grid-row: 1; }.infoboard-quicklink-row { grid-template-columns: auto auto minmax(0, 1fr); gap: 8px; }.infoboard-link-actions { grid-column: 1 / -1; justify-content: flex-end; } }
@media (max-width: 760px) { .infoboard-grid { grid-template-columns: 1fr; } }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr)); gap: 14px; overflow-x: auto; }
.kanban-column { min-width: 240px; padding: 13px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.kanban-column[draggable="true"] > :first-child { cursor: grab; }
.kanban-column.is-dragging-column { opacity: .45; transform: scale(.98); }
.kanban-column.is-column-target { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent-line); transform: translateX(6px); }
.kanban-column h3 { font-size: 14px; } .kanban-column > small { color: var(--text-faint); font-size: 11px; }
.kanban-column.todo { border-top: 3px solid var(--bad); } .kanban-column.doing { border-top: 3px solid var(--warn); } .kanban-column.done { border-top: 3px solid var(--good); }
.kanban-list { display: grid; gap: 9px; margin-top: 12px; min-height: 70px; }
.kanban-list.is-drop-target { outline: 2px dashed var(--accent); outline-offset: 5px; border-radius: 10px; background: var(--accent-soft); }
.kanban-card { padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.kanban-card[draggable="true"] { cursor: grab; } .kanban-card[draggable="true"]:active { cursor: grabbing; }
.kanban-color { width: 9px; height: 9px; border-radius: 50%; }
.task-assignees { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 8px; }
.task-responsible { margin-top: 10px; }
.task-responsible > small { display: block; margin-bottom: 4px; }
.task-people { display: flex; flex-wrap: wrap; gap: 7px; }
.task-people .pill { cursor: pointer; } .task-people input { accent-color: var(--accent); }
.kanban-card strong { font-size: 13px; } .kanban-card p { margin: 6px 0 10px; color: var(--text-dim); font-size: 12px; white-space: pre-wrap; }

/* Minecraft: Ideen, Aufgaben mit Status und Plugins je Server */
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mc-card { display: grid; gap: 8px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.mc-card p { color: var(--text-dim); font-size: 13px; white-space: pre-wrap; }
.mc-task { border-left: 4px solid var(--line); }
.mc-task.open { border-left-color: var(--bad); } .mc-task.doing { border-left-color: var(--warn); } .mc-task.done { border-left-color: var(--good); }
.mc-task.done > .row strong { text-decoration: line-through; text-decoration-color: var(--good); opacity: .8; }
.mc-pill.open { color: var(--bad); background: rgba(255, 93, 122, .12); }
.mc-pill.doing, .mc-pill.warn { color: var(--warn); background: rgba(255, 159, 69, .12); }
.mc-pill.done { color: var(--good); background: rgba(56, 193, 160, .12); }
.mc-pill.off { color: var(--text-faint); }
.mc-status { display: flex; gap: 4px; margin-top: 10px; }
.mc-status-btn { flex: 1; padding: 5px 6px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--text-dim); font-size: 11px; font-weight: 650; cursor: pointer; }
.mc-status-btn:disabled { cursor: default; opacity: .55; }
.mc-status-btn:not(:disabled):hover { color: var(--text); border-color: var(--accent-line); }
.mc-status-btn.is-active { opacity: 1; }
.mc-status-btn.open.is-active { color: var(--bad); border-color: var(--bad); background: rgba(255, 93, 122, .12); }
.mc-status-btn.doing.is-active { color: var(--warn); border-color: var(--warn); background: rgba(255, 159, 69, .12); }
.mc-status-btn.done.is-active { color: var(--good); border-color: var(--good); background: rgba(56, 193, 160, .12); }
.mc-inactive { opacity: .6; }

.skeleton {
  border-radius: var(--radius); background: var(--surface-2);
  animation: pulse 1.3s ease-in-out infinite; height: 92px;
}
@keyframes pulse { 50% { opacity: 0.55; } }

/* KI-Assistent */
.assistant-toggle { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--accent), #a764ff); box-shadow: 0 12px 32px rgba(58, 32, 130, .42); cursor: pointer; transition: transform .18s, box-shadow .18s; }.assistant-toggle:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(58, 32, 130, .54); }.assistant-panel { position: fixed; right: 24px; bottom: 90px; z-index: 100; display: grid; grid-template-rows: auto minmax(260px, 1fr) auto; width: min(380px, calc(100vw - 32px)); height: min(540px, calc(100vh - 118px)); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }.assistant-panel[hidden] { display: none; }.assistant-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid var(--line); }.assistant-head strong, .assistant-head small { display: block; }.assistant-head small { margin-top: 2px; color: var(--text-faint); font-size: 11px; }.assistant-close { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; color: var(--text-dim); background: transparent; cursor: pointer; }.assistant-close:hover { color: var(--text); background: var(--surface-2); }.assistant-messages { display: grid; align-content: start; gap: 10px; overflow-y: auto; padding: 15px; }.assistant-message { max-width: 88%; padding: 10px 12px; border-radius: 12px; white-space: pre-wrap; font-size: 13px; line-height: 1.45; }.assistant-message.assistant { justify-self: start; border: 1px solid var(--line); background: var(--surface-2); }.assistant-message.user { justify-self: end; color: white; background: var(--accent); }.assistant-message.pending { color: var(--text-faint); font-style: italic; }.assistant-form { display: flex; align-items: end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }.assistant-form textarea { flex: 1; min-height: 40px; max-height: 88px; resize: vertical; }.assistant-send { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; color: white; background: var(--accent); cursor: pointer; }.assistant-send svg { transform: rotate(-90deg); }.assistant-send:disabled { opacity: .55; cursor: wait; }
.assistant-toggle { width: 50px; height: 50px; border: 1px solid color-mix(in srgb, var(--accent) 75%, #fff); border-radius: 9px; background: var(--accent); box-shadow: var(--shadow); transition: background .18s, transform .18s; }.assistant-toggle:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--accent) 88%, #000); box-shadow: var(--shadow); }.assistant-panel { bottom: 82px; height: min(540px, calc(100vh - 110px)); border-color: var(--line-strong); border-radius: 10px; }.assistant-message { border-radius: 8px; }.assistant-send { border-radius: 7px; }

/* Globale Direktnachrichten: bewusst als Discord-artige Inbox, nicht als Navigationsmodul. */
.modal.messages-modal { width: min(1240px, 98vw); max-height: min(820px, 92vh); padding: 0; overflow: hidden; }
.messages-modal .modal-head { margin: 0; padding: 18px 20px 15px; border-bottom: 1px solid var(--line); background: var(--surface); }
.dm-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); height: min(690px, calc(92vh - 72px)); min-height: 0; overflow: hidden; background: var(--surface-2); }
.dm-sidebar { overflow-y: auto; border-right: 1px solid var(--line); background: var(--bg-deep); }
.dm-sidebar-head,.dm-main-head { display: flex; align-items: center; min-height: 64px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.dm-sidebar-head strong,.dm-main-head strong { font-size: 14px; }.dm-sidebar-head .icon-btn { margin-left: auto; }
.dm-search { width: calc(100% - 16px); margin: 8px; padding: 8px 10px; font-size: 12px; }.dm-conversation { display: flex; align-items: stretch; width: calc(100% - 12px); margin: 5px 6px; border: 1px solid transparent; border-radius: 8px; color: var(--text-dim); background: transparent; }.dm-conversation-open { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 9px; align-items: center; flex: 1; min-width: 0; padding: 9px; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.dm-conversation:hover,.dm-conversation.unread { color: var(--text); background: var(--surface-2); }.dm-conversation.unread { border-color: var(--line); }.dm-conversation-copy { min-width: 0; }.dm-conversation-copy strong,.dm-conversation-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.dm-conversation-copy strong { font-size: 13px; }.dm-conversation-copy small { color: var(--text-faint); font-size: 11px; }.dm-unread { display: grid; min-width: 18px; height: 18px; place-items: center; padding: 0 4px; border-radius: 50px; color: #fff; background: var(--accent); font-size: 10px; font-weight: 800; }.dm-none,.dm-loading { padding: 18px; color: var(--text-faint); font-size: 13px; }.dm-main { display: grid; min-width: 0; min-height: 0; height: 100%; overflow: hidden; grid-template-rows: auto minmax(0,1fr) auto auto; background: var(--surface); }.dm-main-head { justify-content: space-between; }.dm-main-head small { display: block; margin-top: 1px; color: var(--text-faint); font-size: 11px; }.dm-message-list { display: flex; min-height: 0; flex-direction: column; gap: 12px; overflow-y: auto; overscroll-behavior: contain; padding: 20px; }.dm-message { display: flex; align-items: flex-start; gap: 9px; max-width: 82%; }.dm-message.own { align-self: flex-end; }.dm-bubble { min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 4px 12px 12px; background: var(--surface-2); }.dm-message.own .dm-bubble { border-color: var(--accent-line); border-radius: 12px 4px 12px 12px; color: #fff; background: var(--accent); }.dm-message-meta { display: flex; gap: 8px; align-items: baseline; margin-bottom: 3px; }.dm-message-meta strong { font-size: 12px; }.dm-message-meta small { color: var(--text-faint); font-size: 10px; }.dm-message.own .dm-message-meta small { color: rgba(255,255,255,.72); }.dm-message-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.45; }.dm-compose { display: flex; align-items: end; gap: 9px; padding: 13px; border-top: 1px solid var(--line); background: var(--surface); }.dm-compose textarea { flex: 1; min-height: 42px; max-height: 110px; resize: vertical; }.dm-welcome { display: grid; place-content: center; justify-items: center; gap: 9px; padding: 28px; color: var(--text-faint); text-align: center; }.dm-welcome svg { color: var(--accent); }.dm-welcome h3 { color: var(--text); }.dm-welcome p { max-width: 270px; font-size: 13px; }.dm-new { display: grid; align-content: start; gap: 12px; overflow-y: auto; padding: 18px; }.dm-new input,.dm-new textarea { width: 100%; }.dm-label { color: var(--text-dim); font-size: 12px; font-weight:700; }.dm-people { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }.dm-person { display:flex; align-items:center; gap:8px; min-width:0; padding:7px; border:1px solid var(--line); border-radius:8px; color:var(--text-dim); cursor:pointer; }.dm-person:hover,.dm-person.selected { border-color:var(--accent-line); color:var(--text); background:var(--accent-soft); }.dm-person input { width:auto; }.dm-person > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }.dm-online { width:7px; height:7px; margin-left:auto; border-radius:50%; background:var(--good); }.dm-send-row { display:flex; justify-content:flex-end; }.dm-dot { background:var(--accent) !important; }
.dm-hide { width: 25px; border: 0; color: var(--text-faint); background: transparent; font-size: 20px; cursor: pointer; opacity: 0; }.dm-conversation:hover .dm-hide { opacity: 1; }.dm-hide:hover { color: var(--bad); }.dm-tool { display: grid; flex: 0 0 auto; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: 6px; color: var(--text-faint); background: transparent; cursor: pointer; }.dm-tool:hover { color: var(--text); background: var(--surface-3); }.dm-tool.gif { font-size: 9px; font-weight: 900; }.dm-tool.emoji { font-size: 21px; }.dm-typing { min-height: 22px; padding: 2px 15px 0; color: var(--text-faint); font-size: 11px; font-style: italic; }.dm-typing::before { display: inline-block; margin-right: 6px; content: '● ● ●'; color: var(--accent); letter-spacing: 1px; animation: dm-pulse 1.2s infinite; }@keyframes dm-pulse { 50% { opacity: .35; } }.dm-gif,.dm-attachment img { display: block; max-width: min(340px, 100%); max-height: 280px; margin-top: 7px; border-radius: 7px; }.dm-attachment { display: block; margin-top: 7px; color: inherit; }.dm-attachment span { display: flex; gap: 6px; align-items: center; margin-top: 5px; font-size: 11px; text-decoration: underline; }.dm-picker-modal { width: min(660px, 94vw); }.dm-picker-search { width: 100%; margin-bottom: 12px; }.dm-gif-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; max-height: 60vh; overflow-y: auto; }.dm-gif-category { min-width: 0; }.dm-gif-category strong { display: block; margin-bottom: 6px; font-size: 12px; }.dm-gif-category > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }.dm-gif-category button { overflow: hidden; padding: 0; border: 0; border-radius: 7px; cursor: pointer; }.dm-gif-category img { display: block; width: 100%; height: 94px; object-fit: cover; }.dm-emoji-grid { display: flex; flex-wrap: wrap; gap: 5px; max-height: 54vh; overflow-y: auto; }.dm-emoji-grid button { width: 40px; height: 40px; border: 0; border-radius: 7px; background: transparent; font-size: 25px; cursor: pointer; }.dm-emoji-grid button:hover { background: var(--surface-3); }.dm-emoji-label { flex-basis: 100%; margin: 5px 0 1px; color: var(--text-dim); font-size: 12px; font-weight: 700; }
@media (max-width: 660px) { .modal.messages-modal { width: 100vw; max-height: 100vh; border-radius: 0; }.dm-layout { grid-template-columns: 112px minmax(0,1fr); height: calc(100vh - 67px); }.dm-sidebar-head strong,.dm-conversation-copy,.dm-unread { display: none; }.dm-sidebar-head { justify-content: center; }.dm-sidebar-head .icon-btn { margin: 0; }.dm-conversation { display: flex; justify-content: center; padding: 7px; }.dm-people { grid-template-columns: 1fr; }.dm-message { max-width: 94%; } }

/* Große GIFs dürfen die Eingabeleiste niemals aus dem sichtbaren Bereich drücken. */
.dm-gif,.dm-attachment img,.dm-bubble > img { display:block; width:auto; max-width:min(340px,100%); max-height:240px; margin-top:7px; border-radius:7px; object-fit:contain; }
.dm-picker-modal { width:min(760px,94vw); }.dm-gif-category { padding:10px; border:1px solid var(--line); border-radius:9px; }.dm-gif-category strong { color:var(--accent); }
.dm-avatar-wrap { position:relative; display:grid; flex:0 0 auto; }.dm-presence { position:absolute; right:-1px; bottom:-1px; width:11px; height:11px; border:2px solid var(--bg-deep); border-radius:50%; background:var(--good); }
.dm-conversation.is-active { border-color:var(--accent-line); color:var(--text); background:var(--accent-soft); box-shadow:inset 3px 0 0 var(--accent); }.dm-sound-toggle { display:flex; align-items:center; gap:9px; color:var(--text-dim); cursor:pointer; }.dm-sound-volume { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; margin-top:18px; color:var(--text-dim); font-size:13px; }.dm-sound-volume input { accent-color:var(--accent); }

/* Ruhiger, kompakterer Direktnachrichten-Look. */
.modal.messages-modal { width:min(1140px,96vw); border-color:color-mix(in srgb,var(--accent) 24%,var(--line-strong)); border-radius:16px; box-shadow:0 30px 90px rgba(0,0,0,.48); }
.messages-modal .modal-head { padding:17px 20px; background:linear-gradient(100deg,color-mix(in srgb,var(--accent) 11%,var(--surface)),var(--surface) 52%); }.messages-modal .modal-head h3 { font-size:17px; }.messages-modal .modal-head small { color:var(--accent); font-weight:650; }
.dm-layout { grid-template-columns:300px minmax(0,1fr); height:min(650px,calc(90vh - 72px)); }.dm-sidebar { background:linear-gradient(180deg,var(--bg-deep),color-mix(in srgb,var(--bg-deep) 88%,var(--surface))); }.dm-sidebar-head { min-height:69px; padding:13px 16px; }.dm-sidebar-head strong { font-size:13px; letter-spacing:.01em; text-transform:uppercase; }.dm-sidebar-head .icon-btn { border-color:var(--accent-line); color:var(--accent); background:var(--accent-soft); }.dm-sidebar-head .icon-btn:hover { color:#fff; background:var(--accent); }
.dm-search { margin:10px; width:calc(100% - 20px); border-color:var(--line-strong); border-radius:9px; background:color-mix(in srgb,var(--surface-2) 84%,#000); }.dm-conversation { width:calc(100% - 16px); margin:4px 8px; border-radius:10px; }.dm-conversation-open { padding:10px; }.dm-conversation:hover { transform:translateX(2px); }.dm-conversation.is-active { box-shadow:inset 3px 0 0 var(--accent),0 6px 16px rgba(0,0,0,.14); }.dm-conversation-copy strong { font-size:13px; }.dm-conversation-copy small { margin-top:1px; }
.dm-main { background:radial-gradient(ellipse 54% 42% at 52% 40%,color-mix(in srgb,var(--accent) 8%,transparent),transparent 72%),var(--surface); }.dm-main-head { min-height:69px; padding:13px 20px; background:color-mix(in srgb,var(--surface) 92%,var(--accent)); }.dm-welcome { position:relative; min-height:100%; align-content:center; }.dm-welcome::before { position:absolute; width:190px; height:190px; border:1px solid color-mix(in srgb,var(--accent) 33%,transparent); border-radius:50%; content:""; opacity:.7; }.dm-welcome svg,.dm-welcome h3,.dm-welcome p { position:relative; }.dm-welcome svg { display:grid; width:58px; height:58px; place-items:center; padding:12px; border:1px solid var(--accent-line); border-radius:18px; background:var(--accent-soft); }.dm-welcome h3 { font-size:20px; }.dm-welcome p { max-width:300px; }.dm-message-list { padding:22px 24px; }

/* Vollständiges Messenger-Layout ---------------------------------------------------- */
.modal.messages-modal { width:min(1220px,97vw); max-height:92vh; border:0; border-radius:22px; background:#12161d; box-shadow:0 42px 110px rgba(0,0,0,.6); }
.messages-modal .modal-head { min-height:68px; margin:0; padding:0 22px; align-items:center; border:0; border-bottom:1px solid rgba(255,255,255,.075); background:#191e27; }.messages-modal .modal-head h3 { color:#f5f7fb; font-size:16px; font-weight:760; letter-spacing:-.015em; }.messages-modal .modal-head small { margin-top:2px; color:#8490a2; font-size:11px; font-weight:550; }.messages-modal .modal-head .icon-btn { width:36px; height:36px; border-color:rgba(255,255,255,.1); border-radius:11px; color:#aab4c4; background:#202631; }.messages-modal .modal-head .icon-btn:hover { color:#fff; background:#303846; }
.dm-layout { grid-template-columns:320px minmax(0,1fr); height:min(720px,calc(92vh - 68px)); background:#12161d; }.dm-sidebar { position:relative; overflow:hidden auto; border-right:1px solid rgba(255,255,255,.075); background:#171c24; }.dm-sidebar::after { position:sticky; bottom:0; display:block; height:34px; margin-top:-34px; background:linear-gradient(transparent,#171c24); content:""; pointer-events:none; }
.dm-sidebar-head { min-height:76px; padding:0 16px; border-bottom:0; }.dm-sidebar-head strong { display:flex; align-items:center; gap:9px; color:#e9edf4; font-size:12px; font-weight:780; letter-spacing:.06em; text-transform:uppercase; }.dm-sidebar-head strong::before { width:9px; height:9px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 18%,transparent); content:""; }.dm-sidebar-head .icon-btn { width:38px; height:38px; border:0; border-radius:12px; color:#fff; background:var(--accent); box-shadow:0 6px 18px color-mix(in srgb,var(--accent) 28%,transparent); }.dm-sidebar-head .icon-btn:hover { transform:translateY(-1px); background:color-mix(in srgb,var(--accent) 88%,#fff); }
.dm-search { width:calc(100% - 28px); height:40px; margin:0 14px 13px; padding:0 12px; border:1px solid rgba(255,255,255,.08); border-radius:10px; color:#e5eaf2; background:#10141a; font-size:12px; }.dm-search::placeholder { color:#657184; }.dm-search:focus { border-color:var(--accent); outline:0; box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent); }
.dm-conversation { width:calc(100% - 18px); margin:3px 9px; border:1px solid transparent; border-radius:12px; transition:transform .16s,background .16s,border-color .16s; }.dm-conversation-open { min-height:60px; padding:9px 10px; gap:10px; }.dm-conversation:hover { transform:none; border-color:rgba(255,255,255,.055); color:#fff; background:#202733; }.dm-conversation.is-active { border-color:color-mix(in srgb,var(--accent) 38%,transparent); color:#fff; background:linear-gradient(100deg,color-mix(in srgb,var(--accent) 30%,#202733),#222a36); box-shadow:none; }.dm-conversation.is-active::before { width:3px; height:25px; margin-left:-10px; border-radius:0 4px 4px 0; background:var(--accent); content:""; }.dm-avatar-wrap .avatar { border:1px solid rgba(255,255,255,.12); }.dm-presence { right:-2px; bottom:-2px; width:12px; height:12px; border-color:#171c24; }.dm-conversation-copy strong { color:inherit; font-size:13px; font-weight:710; }.dm-conversation-copy small { max-width:190px; color:#8a96a8; font-size:11px; }.dm-unread { min-width:20px; height:20px; color:#151922; background:#f4f6fa; font-size:10px; }
.dm-main { position:relative; grid-template-rows:76px minmax(0,1fr) auto auto; overflow:hidden; background:#12161d; }.dm-main::before { position:absolute; inset:76px 0 0; background:radial-gradient(ellipse 70% 60% at 80% 8%,color-mix(in srgb,var(--accent) 10%,transparent),transparent 62%); content:""; pointer-events:none; }.dm-main > * { position:relative; }.dm-main-head { min-height:76px; padding:0 25px; border-bottom:1px solid rgba(255,255,255,.075); background:#191e27; }.dm-main-head > div { display:flex; align-items:center; gap:10px; }.dm-main-head > div::before { width:38px; height:38px; border-radius:13px; background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 55%,#2e3746),#242b36); box-shadow:inset 0 1px rgba(255,255,255,.14); content:""; }.dm-main-head strong { color:#f3f6fb; font-size:14px; }.dm-main-head small { margin-left:-48px; padding-top:31px; color:#778497; font-size:11px; }
.dm-message-list { gap:15px; padding:25px 30px; }.dm-message { max-width:min(76%,620px); gap:10px; }.dm-bubble { padding:10px 13px; border-color:rgba(255,255,255,.09); border-radius:5px 14px 14px; color:#e5eaf2; background:#202630; box-shadow:0 7px 18px rgba(0,0,0,.14); }.dm-message.own .dm-bubble { border-color:transparent; border-radius:14px 5px 14px 14px; background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 82%,#8560ff),var(--accent)); box-shadow:0 8px 20px color-mix(in srgb,var(--accent) 18%,transparent); }.dm-message-meta strong { font-size:11px; }.dm-message-body { font-size:13px; line-height:1.5; }.dm-typing { padding:3px 30px 8px; color:#8290a2; background:#12161d; }
.dm-compose { gap:7px; margin:0 18px 18px; padding:8px 9px 8px 12px; border:1px solid rgba(255,255,255,.09); border-radius:15px; background:#1d232d; box-shadow:0 10px 25px rgba(0,0,0,.2); }.dm-compose textarea { min-height:38px; padding:8px 4px; color:#f1f4f9; }.dm-compose textarea::placeholder { color:#727f91; }.dm-tool { width:34px; height:34px; border-radius:10px; color:#97a3b5; }.dm-tool:hover { color:#fff; background:#2d3542; }.dm-compose .btn.primary { min-width:38px; height:38px; padding:0 10px; border-radius:11px; font-size:0; }.dm-compose .btn.primary svg { transform:rotate(-90deg); }
.dm-welcome { min-height:100%; gap:11px; align-content:center; }.dm-welcome::before { width:250px; height:250px; border-color:color-mix(in srgb,var(--accent) 22%,transparent); }.dm-welcome svg { width:64px; height:64px; padding:15px; border:0; border-radius:20px; color:#fff; background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 80%,#8a67ff),var(--accent)); box-shadow:0 13px 34px color-mix(in srgb,var(--accent) 28%,transparent); }.dm-welcome h3 { color:#f3f6fb; font-size:22px; }.dm-welcome p { color:#8490a1; font-size:13px; }
@media (max-width:700px) { .modal.messages-modal { border-radius:0; }.dm-layout { grid-template-columns:82px minmax(0,1fr); }.dm-sidebar-head strong,.dm-search,.dm-conversation-copy,.dm-hide,.dm-unread { display:none; }.dm-sidebar-head { justify-content:center; }.dm-sidebar-head .icon-btn { margin:0; }.dm-conversation { width:56px; margin:7px auto; }.dm-conversation-open { display:grid; grid-template-columns:1fr; justify-items:center; padding:9px; }.dm-conversation.is-active::before { display:none; }.dm-main-head { padding-inline:16px; }.dm-message-list { padding:18px 14px; }.dm-compose { margin:0 8px 8px; }.dm-main-head > div::before { width:31px; height:31px; }.dm-main-head small { margin-left:-41px; padding-top:28px; } }

.dm-main-head > div { display:grid; grid-template-columns:38px auto; grid-template-rows:19px 15px; column-gap:10px; align-items:center; }.dm-main-head > div::before { grid-row:1 / 3; }.dm-main-head strong { grid-column:2; }.dm-main-head small { grid-column:2; margin:0; padding:0; }
@media (max-width:700px) { .dm-main-head > div { grid-template-columns:31px auto; grid-template-rows:17px 14px; column-gap:8px; }.dm-main-head small { margin:0; padding:0; } }

/* Conversation-first: kompakter Verlauf statt verteilter Einzelkarten. */
.modal.messages-modal { width:min(1160px,96vw); border-radius:18px; }.dm-layout { grid-template-columns:285px minmax(0,1fr); height:min(680px,calc(90vh - 68px)); }.dm-sidebar-head { min-height:68px; }.dm-main { grid-template-rows:68px minmax(0,1fr) auto auto; }.dm-main-head { min-height:68px; padding:0 22px; }.dm-main-head > div,.dm-main-head > div::before,.dm-main-head strong,.dm-main-head small { display:initial; margin:0; padding:0; }.dm-chat-person { display:grid !important; grid-template-columns:40px minmax(0,1fr); grid-template-rows:20px 15px; column-gap:10px; align-items:center; }.dm-chat-person > .avatar { grid-row:1 / 3; }.dm-chat-person > .dm-header-presence { display:contents; }.dm-chat-person strong { grid-column:2; color:#f5f7fb; font-size:14px; font-weight:760; }.dm-chat-person small { grid-column:2; color:#7f8da0; font-size:11px; }.dm-chat-person small::before { display:inline-block; width:7px; height:7px; margin-right:5px; border-radius:50%; background:var(--good); content:""; }.dm-chat-person:has(small:last-child) small { display:block; }
.dm-chat-person small.offline::before { background:#667285; }.dm-chat-person small.online::before { background:var(--good); }
.dm-message-list { display:block; max-width:840px; margin:0 auto; padding:24px 34px 18px; width:100%; }.dm-message { width:max-content; max-width:min(78%,560px); margin:0 0 11px; }.dm-message.own { margin-right:0; margin-left:auto; }.dm-message:not(.own) { margin-right:auto; }.dm-message .avatar { width:34px !important; height:34px !important; }.dm-bubble { padding:9px 12px; border-radius:6px 14px 14px 14px; }.dm-message.own .dm-bubble { border-radius:14px 6px 14px 14px; }.dm-message-meta { margin-bottom:2px; }.dm-message-meta small { font-size:10px; }.dm-message-body { font-size:13px; line-height:1.42; }.dm-gif,.dm-attachment img,.dm-bubble > img { max-width:300px; max-height:190px; }.dm-typing { max-width:840px; margin:0 auto; padding:2px 34px 8px; width:100%; }.dm-compose { max-width:840px; margin:0 auto 15px; width:calc(100% - 44px); }.dm-welcome { max-width:460px; margin:auto; min-height:auto; padding:50px 20px; border:1px solid rgba(255,255,255,.065); border-radius:18px; background:rgba(21,26,34,.55); }.dm-welcome::before { display:none; }
@media (max-width:700px) { .dm-layout { grid-template-columns:76px minmax(0,1fr); }.dm-message-list { padding:18px 14px; }.dm-message { max-width:90%; }.dm-compose { width:calc(100% - 16px); margin-bottom:8px; }.dm-chat-person { grid-template-columns:34px minmax(0,1fr); }.dm-chat-person > .avatar { width:34px !important; height:34px !important; } }

/* Discord-orientierter Aufbau: flacher Verlauf, funktionale linke Leiste. */
.modal.messages-modal { width:min(1320px,98vw); max-height:94vh; border:1px solid #272a31; border-radius:10px; background:#17181c; box-shadow:0 24px 70px rgba(0,0,0,.55); }.messages-modal .modal-head { min-height:54px; padding:0 17px; border-bottom-color:#292b31; background:#1e1f23; }.messages-modal .modal-head h3 { font-size:14px; }.messages-modal .modal-head small { display:none; }.messages-modal .modal-head .icon-btn { width:32px; height:32px; border:0; border-radius:7px; background:transparent; }
.dm-layout { grid-template-columns:315px minmax(0,1fr); height:min(750px,calc(94vh - 54px)); background:#1e1f23; }.dm-sidebar { border-right:1px solid #292b31; background:#17181c; }.dm-sidebar::after { background:linear-gradient(transparent,#17181c); }.dm-quick-nav { padding:10px 9px 11px; border-bottom:1px solid #292b31; }.dm-quick-search { display:flex; align-items:center; justify-content:center; gap:7px; height:32px; border-radius:7px; color:#f2f3f5; background:#202126; font-size:12px; font-weight:700; }.dm-quick-item { display:flex; align-items:center; gap:12px; height:38px; margin-top:7px; padding:0 8px; border-radius:5px; color:#a7acb7; font-size:14px; }.dm-quick-item.active { color:#f2f3f5; background:#32343a; }
.dm-sidebar-head { min-height:48px; padding:0 13px; border:0; }.dm-sidebar-head strong { color:#949ba6; font-size:11px; letter-spacing:.03em; text-transform:none; }.dm-sidebar-head strong::before { display:none; }.dm-sidebar-head .icon-btn { width:28px; height:28px; border:0; border-radius:5px; color:#b5bac1; background:transparent; box-shadow:none; }.dm-sidebar-head .icon-btn:hover { color:#fff; transform:none; background:#292b31; }.dm-search { height:32px; margin:0 9px 7px; border:0; border-radius:4px; background:#202126; font-size:12px; }.dm-conversation { width:calc(100% - 10px); margin:1px 5px; border:0; border-radius:4px; }.dm-conversation-open { min-height:48px; padding:6px 7px; }.dm-conversation:hover { border:0; transform:none; background:#292b31; }.dm-conversation.is-active { border:0; background:#393c43; box-shadow:none; }.dm-conversation.is-active::before { display:none; }.dm-conversation-copy strong { color:#b5bac1; font-size:13px; font-weight:600; }.dm-conversation.is-active .dm-conversation-copy strong { color:#fff; }.dm-conversation-copy small { color:#898e97; }.dm-avatar-wrap .avatar { border:0; }.dm-presence { border-color:#17181c; }.dm-unread { color:#fff; background:#ed4245; }
.dm-main { grid-template-rows:54px minmax(0,1fr) auto auto; background:#1e1f23; }.dm-main::before { display:none; }.dm-main-head { min-height:54px; padding:0 16px; border-bottom-color:#292b31; background:#1e1f23; box-shadow:0 1px 0 rgba(0,0,0,.15); }.dm-chat-person { grid-template-columns:32px minmax(0,1fr); grid-template-rows:18px 13px; column-gap:9px; }.dm-chat-person > .avatar { width:32px!important; height:32px!important; }.dm-chat-person strong { color:#f2f3f5; font-size:14px; }.dm-chat-person small { color:#949ba6; font-size:10px; }
.dm-message-list { display:block; max-width:none; margin:0; padding:14px 18px 12px; }.dm-message { width:100%; max-width:none; min-height:44px; margin:0 0 8px; gap:12px; align-items:flex-start; }.dm-message.own,.dm-message:not(.own) { margin-right:0; margin-left:0; }.dm-message .avatar { width:40px!important; height:40px!important; }.dm-bubble,.dm-message.own .dm-bubble { width:auto; max-width:900px; padding:0; border:0; border-radius:0; color:#dbdee1; background:transparent; box-shadow:none; }.dm-message-meta { gap:8px; margin:0 0 2px; }.dm-message-meta strong { color:#f2f3f5; font-size:14px; }.dm-message-meta small,.dm-message.own .dm-message-meta small { color:#949ba6; font-size:10px; }.dm-message.own .dm-message-meta strong::after { content:' (Du)'; color:#949ba6; font-weight:500; }.dm-message-body { color:#dbdee1; font-size:14px; line-height:1.45; }.dm-gif,.dm-attachment img,.dm-bubble > img { max-width:360px; max-height:230px; margin-top:5px; border-radius:4px; }.dm-typing { max-width:none; padding:2px 18px 8px 70px; color:#949ba6; background:#1e1f23; }
.dm-compose { max-width:none; width:calc(100% - 32px); min-height:44px; margin:0 16px 16px; padding:4px 8px; border:0; border-radius:8px; background:#383a40; box-shadow:none; }.dm-compose textarea { min-height:34px; padding:8px 5px; color:#dbdee1; font-size:14px; }.dm-tool { width:31px; height:31px; border-radius:5px; }.dm-tool:hover { background:#4b4d54; }.dm-compose .btn.primary { min-width:32px; height:32px; border-radius:5px; background:var(--accent); }.dm-welcome { border:0; border-radius:0; background:transparent; }.dm-welcome svg { border-radius:8px; box-shadow:none; }
@media (max-width:700px) { .dm-layout { grid-template-columns:70px minmax(0,1fr); }.dm-quick-nav,.dm-sidebar-head strong,.dm-search { display:none; }.dm-sidebar-head { min-height:54px; }.dm-sidebar-head .icon-btn { display:grid; }.dm-conversation { width:54px; margin:5px auto; }.dm-message-list { padding:14px 10px; }.dm-message { gap:8px; }.dm-message .avatar { width:34px!important; height:34px!important; }.dm-compose { width:calc(100% - 16px); margin:0 8px 8px; } }

/* Referenz: Discord-ähnliche Direktnachrichten -------------------------------------- */
.modal.messages-modal { width:min(1520px,99vw); height:min(860px,96vh); max-height:96vh; padding:0; border:1px solid #27272d; border-radius:8px; background:#1e1f22; }.messages-modal > .modal-head { display:none; }.dm-layout { grid-template-columns:316px minmax(0,1fr); height:100%; background:#1e1f22; }.dm-sidebar { background:#17181b; }.dm-quick-nav { padding:8px 8px 10px; border-bottom:1px solid #2a2b30; }.dm-quick-search { display:block; width:100%; height:32px; padding:0 12px; border:0; border-radius:6px; outline:0; color:#f2f3f5; background:#242529; font-size:12px; }.dm-quick-search::placeholder { color:#f2f3f5; opacity:1; }.dm-quick-search:focus { box-shadow:0 0 0 1px #5865f2; }.dm-quick-item { height:40px; margin-top:2px; padding:0 9px; color:#b5bac1; font-size:14px; }.dm-quick-item svg { color:#949ba4; }.dm-quick-item.active { color:#f2f3f5; background:#313338; }.dm-sidebar-head { min-height:45px; padding:0 12px; border-top:1px solid #2a2b30; }.dm-sidebar-head strong { color:#949ba4; font-size:12px; font-weight:500; }.dm-sidebar-head .icon-btn { color:#b5bac1; }.dm-search { display:none; }.dm-conversation { border-radius:4px; }.dm-conversation-open { min-height:46px; }.dm-conversation-copy strong { color:#b5bac1; font-weight:500; }.dm-conversation.is-active .dm-conversation-copy strong { color:#fff; }.dm-main { grid-template-rows:50px minmax(0,1fr) auto auto; background:#1e1f22; }.dm-main-head { min-height:50px; padding:0 16px; border-bottom:1px solid #2a2b30; background:#1e1f22; }.dm-chat-person { grid-template-columns:28px minmax(0,1fr); grid-template-rows:28px; align-items:center; }.dm-chat-person > .avatar { width:24px!important; height:24px!important; }.dm-chat-person small { display:none; }.dm-chat-person strong { align-self:center; color:#f2f3f5; font-size:15px; }.dm-header-actions { display:flex; align-items:center; gap:16px; margin-left:auto; color:#b5bac1; }.dm-header-actions > span { display:grid; place-items:center; cursor:default; }.dm-header-actions svg { width:19px; height:19px; }.dm-header-close { display:grid; width:30px; height:30px; margin-left:2px; place-items:center; border:0; border-radius:5px; color:#b5bac1; background:transparent; cursor:pointer; }.dm-header-close:hover { color:#fff; background:#393c43; }
.dm-message-list { padding:12px 18px 20px; background:#1e1f22; }.dm-message { min-height:44px; margin-bottom:3px; padding:4px 0; }.dm-message:hover { background:rgba(4,4,5,.07); }.dm-message .avatar { width:40px!important; height:40px!important; }.dm-bubble,.dm-message.own .dm-bubble { max-width:960px; }.dm-message-meta strong { font-size:14px; font-weight:600; }.dm-message-meta small,.dm-message.own .dm-message-meta small { color:#949ba4; font-size:11px; }.dm-message.own .dm-message-meta strong::after { content:''; }.dm-message-body { color:#dbdee1; font-size:14px; line-height:1.45; }.dm-compose { min-height:44px; margin:0 16px 18px; padding:4px 8px; border-radius:8px; background:#383a40; }.dm-compose textarea { min-height:35px; }.dm-welcome { border:0; background:transparent; }.dm-typing { padding-left:70px; }
@media (max-width:760px) { .modal.messages-modal { width:100vw; height:100vh; max-height:100vh; border:0; border-radius:0; }.dm-layout { grid-template-columns:72px minmax(0,1fr); }.dm-quick-nav,.dm-sidebar-head strong { display:none; }.dm-sidebar-head { min-height:48px; }.dm-header-actions > span { display:none; }.dm-header-actions { gap:0; }.dm-message-list { padding:10px; }.dm-compose { margin:0 8px 8px; } }

/* Nachrichten-Design zurück auf die ursprüngliche, schlichte Panel-Ansicht. */
.modal.messages-modal { width:min(1240px,98vw); height:auto; max-height:min(820px,92vh); padding:0; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:var(--surface); box-shadow:var(--shadow); }
.messages-modal > .modal-head { display:flex; min-height:0; margin:0; padding:18px 20px 15px; border-bottom:1px solid var(--line); background:var(--surface); }
.messages-modal .modal-head small { display:block; color:var(--text-faint); font-weight:400; }.messages-modal .modal-head .icon-btn { width:auto; height:auto; border:initial; border-radius:8px; color:var(--text-dim); background:transparent; }
.dm-layout { display:grid; grid-template-columns:320px minmax(0,1fr); height:min(690px,calc(92vh - 72px)); min-height:0; overflow:hidden; background:var(--surface-2); }
.dm-sidebar { position:static; overflow-y:auto; border-right:1px solid var(--line); background:var(--bg-deep); }.dm-sidebar::after { content:none; }
.dm-sidebar-head { min-height:64px; padding:12px 15px; border-bottom:1px solid var(--line); }.dm-sidebar-head strong { display:block; color:var(--text); font-size:14px; font-weight:700; letter-spacing:normal; text-transform:none; }.dm-sidebar-head strong::before { content:none; }.dm-sidebar-head .icon-btn { width:auto; height:auto; border:initial; border-radius:8px; color:var(--text-dim); background:transparent; box-shadow:none; }
.dm-search { display:block; width:calc(100% - 16px); height:auto; margin:8px; padding:8px 10px; border:1px solid var(--line); border-radius:8px; color:var(--text); background:var(--surface-2); font-size:12px; }.dm-search:focus { outline:0; box-shadow:0 0 0 2px var(--accent-soft); }
.dm-quick-nav { display:none; }.dm-conversation { width:calc(100% - 12px); margin:5px 6px; border:1px solid transparent; border-radius:8px; color:var(--text-dim); background:transparent; }.dm-conversation-open { min-height:0; padding:9px; }.dm-conversation:hover,.dm-conversation.unread { border-color:var(--line); color:var(--text); background:var(--surface-2); }.dm-conversation.is-active { border-color:var(--accent-line); background:var(--accent-soft); box-shadow:inset 3px 0 0 var(--accent); }.dm-conversation-copy strong { color:inherit; font-size:13px; font-weight:700; }.dm-conversation-copy small { color:var(--text-faint); }.dm-unread { color:#fff; background:var(--accent); }
.dm-main { position:static; display:grid; grid-template-rows:auto minmax(0,1fr) auto auto; min-width:0; min-height:0; height:100%; overflow:hidden; background:var(--surface); }.dm-main::before { content:none; }.dm-main > * { position:static; }
.dm-main-head { min-height:64px; padding:12px 15px; border-bottom:1px solid var(--line); background:var(--surface); box-shadow:none; }.dm-main-head > div { display:block !important; margin:0; padding:0; }.dm-main-head > div::before { display:none !important; content:none; }.dm-main-head strong { display:block; color:var(--text); font-size:14px; font-weight:700; }.dm-main-head small { display:block; margin-top:1px; padding:0; color:var(--text-faint); font-size:11px; }
.dm-message-list { display:flex; flex-direction:column; gap:12px; max-width:none; min-height:0; margin:0; padding:20px; overflow-y:auto; background:transparent; }.dm-message { width:auto; min-height:0; max-width:82%; margin:0; padding:0; gap:9px; }.dm-message.own { align-self:flex-end; }.dm-message:not(.own) { align-self:flex-start; }.dm-message .avatar { width:34px !important; height:34px !important; }.dm-bubble,.dm-message.own .dm-bubble { width:auto; max-width:none; padding:9px 12px; border:1px solid var(--line); border-radius:4px 12px 12px; color:var(--text); background:var(--surface-2); box-shadow:none; }.dm-message.own .dm-bubble { border-color:var(--accent-line); border-radius:12px 4px 12px 12px; color:#fff; background:var(--accent); }.dm-message-meta { margin-bottom:3px; }.dm-message-meta strong { color:inherit; font-size:12px; font-weight:700; }.dm-message-meta small,.dm-message.own .dm-message-meta small { color:var(--text-faint); font-size:10px; }.dm-message.own .dm-message-meta small { color:rgba(255,255,255,.72); }.dm-message-body { color:inherit; font-size:13px; line-height:1.45; }.dm-gif,.dm-attachment img,.dm-bubble > img { max-width:min(340px,100%); max-height:240px; margin-top:7px; border-radius:7px; }
.dm-typing { min-height:22px; max-width:none; margin:0; padding:2px 15px 0; color:var(--text-faint); background:var(--surface); }.dm-compose { display:flex; width:auto; min-height:0; max-width:none; margin:0; padding:13px; border:0; border-top:1px solid var(--line); border-radius:0; background:var(--surface); box-shadow:none; }.dm-compose textarea { min-height:42px; color:var(--text); font-size:13px; }.dm-tool { width:32px; height:32px; border-radius:6px; color:var(--text-faint); }.dm-compose .btn.primary { min-width:0; height:auto; padding:8px 12px; border-radius:8px; font-size:inherit; }.dm-compose .btn.primary svg { transform:none; }
@media (max-width:660px) { .modal.messages-modal { width:100vw; max-height:100vh; border-radius:0; }.dm-layout { grid-template-columns:112px minmax(0,1fr); height:calc(100vh - 67px); }.dm-sidebar-head strong,.dm-conversation-copy,.dm-unread { display:none; }.dm-sidebar-head { justify-content:center; }.dm-sidebar-head .icon-btn { margin:0; }.dm-conversation { display:flex; justify-content:center; padding:7px; }.dm-message { max-width:94%; } }

/* 5) Responsive ---------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .shell { grid-template-columns: var(--rail) 1fr; }
  .shell.rail-expanded { grid-template-columns: var(--rail) 1fr; }
  .shell.rail-expanded .rail { align-items: center; padding-inline: 0; }
  .shell.rail-expanded .rail-btn { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; }
  .shell.rail-expanded .rail-label { display: none; }
  .rail-toggle { display: none !important; }
  .sub {
    position: fixed; left: var(--rail); top: 0; bottom: 0; width: var(--sub);
    z-index: 45; box-shadow: var(--shadow);
    /* Ganz aus dem Bild schieben: das Menü beginnt rechts neben der Leiste, -110% allein ließ ~50px stehen. */
    transform: translateX(calc(-100% - var(--rail) - 24px)); visibility: hidden;
    transition: transform 0.2s ease, visibility 0.2s;
  }
  .shell.sub-open .sub { transform: none; visibility: visible; display: block; }
  .content { padding: 18px; }
  .topbar { padding: 12px 18px; }
  .topbar-search { min-width: 0; }
  .topbar-search span, .topbar-search kbd { display: none; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .gate { grid-template-columns: 1fr; }
  .gate-art { display: none; }
  .me-btn strong, .me-btn small { display: none; }
  .contact-editor-row { grid-template-columns: 1fr auto; }
  .contact-editor-row select { grid-column: 1 / -1; }
  .fivem-fund-summary { grid-template-columns: 1fr; }
  .easter-pepe { left: 12px; bottom: 60px; width: 42px; opacity: .25; }
  .easter-lizard { width: 76px; opacity: .22; }
  .assistant-toggle { right: 16px; bottom: 16px; }.assistant-panel { right: 16px; bottom: 78px; }
}

/* Steam-Bibliotheken */
.steam-profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.steam-profile-card { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid rgba(119,158,197,.18); border-radius: 6px; background: linear-gradient(135deg, #182a3a, #0d1723); color: inherit; text-align: left; cursor: pointer; }
.steam-profile-card:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.steam-profile-copy { display: grid; gap: 2px; min-width: 0; }.steam-profile-copy strong,.steam-profile-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.steam-avatar { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }.steam-avatar.large { width: 72px; height: 72px; }
.steam-member-hero,.steam-hub-hero { padding: 28px !important; overflow: hidden; background: radial-gradient(circle at 12% 18%, rgba(66,144,205,.40), transparent 30%), radial-gradient(circle at 76% 70%, rgba(19,73,116,.54), transparent 32%), linear-gradient(115deg, #172a3d, #0c1723 66%); border-color: rgba(103,167,219,.26) !important; }
.steam-hub-hero { display: flex; align-items: center; gap: 18px; min-height: 142px; }.steam-hub-hero h2,.steam-member-hero h2 { margin: 0; font-size: 28px; letter-spacing: -.03em; }.steam-hub-hero p,.steam-member-hero p { margin: 6px 0 0; }
.steam-hub-logo { display: grid; place-items: center; width: 70px; height: 70px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(5,13,22,.4); color: #e9f6ff; font-size: 36px; font-family: Georgia, serif; box-shadow: inset 0 0 30px rgba(99,188,255,.18); }
.steam-section { background: linear-gradient(180deg, rgba(18,30,44,.82), var(--surface)); border-color: rgba(119,158,197,.15) !important; }.eyebrow { display: block; margin-bottom: 5px; color: #8fd3ff; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.steam-profile-arrow { margin-left: auto; color: #83cfff; font-size: 28px; font-weight: 300; }.steam-profile-meta { min-width: 0; }
.steam-game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.steam-game-card { position: relative; display: block; min-height: 112px; overflow: hidden; color: #fff; text-decoration: none; border: 1px solid var(--line); border-radius: 14px; background: #141b28; isolation: isolate; }
.steam-game-card:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.22); }.steam-game-card img,.steam-game-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #182b3a; z-index: -2; }.steam-game-fallback { display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #dce9f5; }
.steam-picker { position: relative; display: grid; grid-template-columns: minmax(280px, .85fr) minmax(430px, 1.15fr); gap: 22px; align-items: center; overflow: hidden; padding: 23px !important; border-color: rgba(112, 159, 255, .48) !important; background: radial-gradient(circle at 93% 12%, rgba(116, 74, 255, .37), transparent 31%), radial-gradient(circle at 4% 100%, rgba(36, 143, 230, .18), transparent 38%), linear-gradient(125deg, #132d4c, #0b1525 64%); box-shadow: inset 0 1px rgba(255,255,255,.05), 0 15px 35px rgba(0,0,0,.16); }.steam-picker::after { content: ''; position: absolute; inset: auto -7% -90px auto; width: 260px; height: 260px; border: 1px solid rgba(155,138,255,.16); border-radius: 50%; box-shadow: 0 0 0 28px rgba(155,138,255,.04), 0 0 0 56px rgba(155,138,255,.025); pointer-events: none; }.steam-picker-intro { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 13px; align-items: center; position: relative; z-index: 1; }.steam-picker-mark { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(173,188,255,.55); border-radius: 15px; color: #e7e4ff; background: linear-gradient(135deg, #7953ec, #277bc7); font-size: 25px; box-shadow: 0 8px 24px rgba(77,89,235,.4); }.steam-picker-intro h3 { margin: 0; font-size: 23px; letter-spacing: -.025em; }.steam-picker-intro p { margin: 5px 0 0; color: #b7c9dd; font-size: 12px; line-height: 1.55; }.steam-picker-controls { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr auto; gap: 9px; align-items: end; }.steam-picker-controls label { display: grid; gap: 5px; color: #88acd0; font-size: 9px; font-weight: 850; letter-spacing: .11em; }.steam-picker-select { min-width: 0; min-height: 43px; padding: 0 11px; border: 1px solid rgba(143, 211, 255, .36); border-radius: 9px; color: #e7f1fb; background: rgba(4, 14, 28, .78); box-shadow: inset 0 1px rgba(255,255,255,.04); }.steam-picker-select:focus { outline: 0; border-color: #9d7cff; box-shadow: 0 0 0 3px rgba(122,89,238,.2); }.steam-picker-button { min-height: 43px; padding: 0 17px; border: 1px solid rgba(191,203,255,.28); border-radius: 9px; color: #fff; background: linear-gradient(135deg, #8a58f6, #408ce8); font-weight: 850; cursor: pointer; white-space: nowrap; box-shadow: 0 9px 22px rgba(67, 91, 225, .4); transition: transform .16s, filter .16s; }.steam-picker-button:hover { transform: translateY(-1px); filter: brightness(1.1); }.steam-picker-button:disabled { opacity: .7; cursor: wait; }.steam-picker-result { position: relative; z-index: 1; grid-column: 1 / -1; }.steam-picker-loading,.steam-picker-error { margin: 2px 0 0; padding: 11px 13px; border-radius: 9px; color: #c6ddf2; background: rgba(4, 12, 27, .55); font-size: 12px; }.steam-picker-error { color: #ffbbc7; }.steam-picker-game { display: grid; grid-template-columns: 250px minmax(0, 1fr); overflow: hidden; border: 1px solid rgba(154, 127, 255, .48); border-radius: 13px; background: rgba(3, 11, 23, .72); box-shadow: 0 12px 28px rgba(0,0,0,.2); }.steam-picker-cover { min-height: 142px; background: #101b2b; }.steam-picker-cover img { width: 100%; height: 100%; object-fit: cover; }.steam-picker-cover-fallback { display: grid; height: 100%; place-items: center; color: #bcd7ec; font-weight: 800; }.steam-picker-copy { padding: 15px 18px; }.steam-picker-copy h3 { margin: 2px 0 4px; color: #fff; font-size: 20px; }.steam-picker-copy p { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.5; }.steam-picker-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }.steam-picker-tags span { padding: 3px 7px; border: 1px solid rgba(142, 186, 255, .22); border-radius: 999px; color: #bddbff; background: rgba(99, 139, 212, .13); font-size: 10px; font-weight: 700; }.steam-picker-actions { display: flex; gap: 8px; margin-top: 11px; }.steam-picker-actions .btn { min-height: 28px; padding: 4px 10px; font-size: 11px; }
.steam-picker { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 0 !important; border-radius: 15px; background: #0b1525; }.steam-picker::after { display: none; }.steam-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 24px; border-bottom: 1px solid rgba(143, 191, 255, .16); background: radial-gradient(circle at 90% 0%, rgba(119, 78, 255, .35), transparent 36%), linear-gradient(110deg, rgba(25, 62, 101, .94), rgba(12, 26, 44, .94)); }.steam-picker-intro { z-index: 1; }.steam-picker-presets { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; position: relative; z-index: 1; }.steam-picker-presets button { min-height: 29px; padding: 0 10px; border: 1px solid rgba(159, 191, 231, .22); border-radius: 999px; color: #bdd0e6; background: rgba(5, 16, 31, .36); font-size: 10px; font-weight: 750; cursor: pointer; transition: .16s ease; }.steam-picker-presets button:hover { color: #fff; border-color: rgba(169, 137, 255, .6); transform: translateY(-1px); }.steam-picker-presets button.is-active { color: #fff; border-color: #9370f7; background: linear-gradient(135deg, #714add, #467dcc); box-shadow: 0 5px 13px rgba(83, 71, 207, .32); }.steam-picker-controls { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; padding: 0 24px; }.steam-picker-result { padding: 0 24px 24px; }.steam-picker-idle { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 106px; padding: 13px 18px; overflow: hidden; border: 1px dashed rgba(140, 178, 223, .28); border-radius: 12px; background: linear-gradient(100deg, rgba(31, 66, 104, .3), rgba(11, 24, 42, .48)); }.steam-picker-idle-orbit { position: relative; width: 72px; height: 72px; border: 1px solid rgba(134, 155, 255, .33); border-radius: 50%; }.steam-picker-idle-orbit::before,.steam-picker-idle-orbit::after { content: ''; position: absolute; border: 1px solid rgba(157, 115, 255, .25); border-radius: 50%; }.steam-picker-idle-orbit::before { inset: 8px; }.steam-picker-idle-orbit::after { inset: 20px; }.steam-picker-idle-orbit b { position: absolute; inset: 0; display: grid; place-items: center; color: #cdbdff; font-size: 22px; text-shadow: 0 0 15px #8059ff; }.steam-picker-idle-orbit i,.steam-picker-idle-orbit em { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #62c6ff; box-shadow: 0 0 11px #62c6ff; }.steam-picker-idle-orbit i { top: 3px; right: 14px; }.steam-picker-idle-orbit em { bottom: 8px; left: 4px; background: #ae83ff; box-shadow: 0 0 11px #ae83ff; }.steam-picker-idle-copy { display: grid; gap: 3px; }.steam-picker-idle-copy .eyebrow { margin: 0; }.steam-picker-idle-copy strong { color: #f2f7ff; font-size: 15px; }.steam-picker-idle-copy p { margin: 0; color: #9fb6cf; font-size: 12px; }.steam-picker-idle-hint { padding: 7px 9px; border: 1px solid rgba(131, 184, 239, .18); border-radius: 7px; color: #94b5d6; background: rgba(7, 18, 34, .48); font-size: 10px; font-weight: 700; }
.steam-game-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(5,9,15,.94) 0%,rgba(5,9,15,.48) 58%,rgba(5,9,15,.08) 100%); }.steam-game-copy { position: absolute; left: 14px; right: 14px; bottom: 13px; display: grid; gap: 4px; }.steam-game-card strong,.steam-game-card small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.steam-game-card strong { font-size: 14px; }.steam-game-card small { color: rgba(255,255,255,.72); font-size: 11px; }
.steam-featured-games .steam-game-card { min-height: 145px; }.steam-featured-games .steam-game-card strong { font-size: 16px; }
.steam-search { width: min(280px, 42vw); background: rgba(3,10,16,.55); border-color: rgba(141,202,240,.28); }.steam-library-count { color: var(--text-muted); font-size: 12px; }

/* DGN Steam Hub – angelehnt an die Steam-Community, mit echten Panel-Daten. */
.steam-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }.steam-main { display: grid; gap: 16px; min-width: 0; }.steam-sidebar { display: grid; gap: 16px; position: sticky; top: 16px; }
.steam-hub-hero { min-height: 176px; background-size: cover; background-position: center; }.steam-hub-hero > div:first-child { flex: 0 0 auto; }.steam-hub-hero h2 { font-size: 32px; }.steam-hero-stats { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }.steam-hero-stats > span { border: 1px solid rgba(143,211,255,.22); border-radius: 7px; padding: 8px 10px; background: rgba(3,11,18,.45); font-size: 12px; color: #d3e6f4; }.steam-hero-stats > span:first-child { color: #8df0b2; border-color: rgba(67,214,126,.35); }
.steam-upper-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .7fr); gap: 16px; }.steam-upper-grid .steam-profiles { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }.steam-now-playing .empty { min-height: 160px; padding: 24px; }
.steam-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }.steam-filter { border: 1px solid rgba(141,202,240,.18); border-radius: 7px; padding: 8px 12px; color: var(--text-muted); background: rgba(7,17,28,.62); font-size: 12px; cursor: pointer; }.steam-filter:hover,.steam-filter.is-active { color: #fff; border-color: rgba(144,95,255,.72); background: linear-gradient(135deg, #7450df, #4f36ba); }.steam-sort { min-width: 145px; background: rgba(3,10,16,.55); border-color: rgba(141,202,240,.28); }
.steam-hub-games { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }.steam-hub-games .steam-game-card { min-height: 175px; border-radius: 8px; }.steam-game-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }.steam-game-copy { bottom: 10px; }.steam-owner-line { display: flex; align-items: center; gap: 6px; min-height: 21px; }.steam-owner-avatars { display: flex; }.steam-owner-avatars > * { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; border: 1px solid #0a131d; margin-right: -5px; }.steam-game-actions { display: flex; gap: 7px; margin-top: 7px; }.steam-start { display: inline-flex; align-items: center; justify-content: center; flex: 1; min-height: 27px; border-radius: 5px; background: linear-gradient(180deg, #2ecf7b, #159c59); color: #fff; font-size: 11px; font-weight: 750; text-decoration: none; }.steam-start:hover { filter: brightness(1.1); }.steam-more { display: grid; place-items: center; width: 29px; border-radius: 5px; background: rgba(7,16,24,.72); color: #d8e8f6; text-decoration: none; font-weight: 800; letter-spacing: 1px; }
.steam-quick-links { display: grid; gap: 8px; }.steam-quick-links > * { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 58px; padding: 9px; border: 1px solid rgba(125,171,207,.2); border-radius: 8px; color: inherit; text-decoration: none; background: linear-gradient(135deg, rgba(45,70,96,.52), rgba(13,25,38,.72)); text-align: left; cursor: pointer; }.steam-quick-links > *:hover { border-color: rgba(151,101,255,.72); }.steam-quick-links > *::first-letter { color: #a779ff; }.steam-quick-links strong,.steam-quick-links small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.steam-quick-links strong { font-size: 12px; }.steam-quick-links small { margin-top: 2px; color: var(--text-muted); font-size: 10px; }.steam-shop-card { display: grid; justify-items: start; gap: 10px; background: radial-gradient(circle at 15% 8%, rgba(87,124,202,.36), transparent 42%), linear-gradient(145deg, #152a42, #101929); }.steam-shop-card .steam-hub-logo { width: 46px; height: 46px; font-size: 23px; }.steam-shop-card p { margin: -5px 0 2px; font-size: 12px; }.steam-shop-card .btn { width: 100%; justify-content: center; color: #c6a9ff; border-color: rgba(150,103,255,.46); }
.steam-activity-unavailable { color: var(--text-faint); font-size: 10px; }
@media (max-width: 1250px) { .steam-hub-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }.steam-layout { grid-template-columns: minmax(0, 1fr) 250px; } }
@media (max-width: 980px) { .steam-layout { grid-template-columns: 1fr; }.steam-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }.steam-hub-games { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 650px) { .steam-hub-hero { display: grid; grid-template-columns: 56px 1fr; padding: 18px !important; }.steam-hub-hero .spacer { display: none; }.steam-hub-logo { width: 52px; height: 52px; font-size: 26px; }.steam-hub-hero h2 { font-size: 23px; }.steam-upper-grid,.steam-sidebar { grid-template-columns: 1fr; }.steam-hub-games { grid-template-columns: 1fr; }.steam-search,.steam-sort { width: 100%; }.steam-featured-games { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .steam-picker { grid-template-columns: 1fr; }.steam-picker-controls { grid-template-columns: 1fr; }.steam-picker-game { grid-template-columns: 1fr; }.steam-picker-cover { min-height: 120px; max-height: 170px; } }
@media (max-width: 700px) { .steam-picker-head { display: grid; padding: 18px; }.steam-picker-presets { justify-content: flex-start; }.steam-picker-controls { padding: 0 18px; }.steam-picker-result { padding: 0 18px 18px; }.steam-picker-idle { grid-template-columns: 64px minmax(0,1fr); padding: 12px; }.steam-picker-idle-orbit { width: 56px; height: 56px; }.steam-picker-idle-hint { display: none; } }
.steam-picker-controls { grid-template-columns: minmax(220px, 1fr) auto; width: min(100%, 560px); justify-self: end; }
@media (max-width: 700px) { .steam-picker-controls { grid-template-columns: 1fr; width: 100%; justify-self: stretch; } }

/* Steam Hub: Karten und Bereiche bewusst getrennt, damit Bild, Informationen und Aktionen lesbar bleiben. */
.steam-ref-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;align-items:start}.steam-ref-main{display:grid;gap:16px;min-width:0}.steam-ref-sidebar{display:grid;gap:16px;position:sticky;top:16px}.steam-ref-hero{overflow:hidden;min-height:176px;border:1px solid rgba(113,94,255,.5);border-radius:9px;background:#0c1724}.steam-ref-hero-bg{display:flex;align-items:center;gap:20px;min-height:176px;padding:24px;background-position:center;background-size:cover}.steam-ref-steam-logo{display:grid;place-items:center;flex:0 0 auto;width:70px;height:70px;border:1px solid rgba(158,197,255,.54);border-radius:50%;background:rgba(14,39,72,.72);color:#fff;font-family:Georgia,serif;font-size:38px;font-weight:700;box-shadow:0 0 0 8px rgba(37,93,158,.12)}.steam-ref-hero-copy h2{margin:3px 0 4px;font-size:31px;line-height:1.1;color:#fff}.steam-ref-hero-copy p{margin:0;color:#d8e5f3}.steam-ref-statuses{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.steam-ref-statuses>span,.steam-ref-refresh{border:1px solid rgba(142,186,225,.25);border-radius:7px;padding:8px 10px;background:rgba(8,20,35,.68);color:#d5e3ef;font-size:12px}.steam-ref-statuses .is-good{border-color:rgba(44,204,119,.45);color:#a5f1be}.steam-ref-refresh{cursor:pointer;color:#cdb9ff;border-color:rgba(145,99,255,.6)}.steam-ref-refresh:hover{background:rgba(116,80,223,.34)}.steam-ref-upper-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.72fr);gap:16px}.steam-ref-section{padding:16px}.steam-ref-friends{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.steam-ref-friend{display:flex;align-items:center;gap:10px;min-width:0;padding:11px;border:1px solid rgba(117,162,205,.2);border-radius:8px;background:linear-gradient(135deg,rgba(27,61,93,.55),rgba(12,28,43,.75));color:var(--text);text-align:left;cursor:pointer}.steam-ref-friend:hover{border-color:rgba(151,101,255,.72);transform:translateY(-1px)}.steam-ref-friend>span{display:grid;min-width:0;gap:2px}.steam-ref-friend strong,.steam-ref-friend small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.steam-ref-friend strong{font-size:12px}.steam-ref-friend small,.steam-ref-friend em{font-size:10px;color:var(--text-muted);font-style:normal}.steam-ref-friend em{color:#ad8aff}.steam-ref-now{padding:16px}.steam-ref-empty-activity{display:grid;align-content:center;min-height:134px;padding:18px;border:1px dashed rgba(141,202,240,.2);border-radius:8px;background:rgba(8,18,29,.38)}.steam-ref-empty-activity strong{font-size:13px}.steam-ref-empty-activity p{margin:6px 0 0;color:var(--text-muted);font-size:12px;line-height:1.45}.steam-ref-library-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px}.steam-ref-library h3,.steam-ref-quick h3{margin:0;font-size:14px}.steam-ref-library-head p{margin:3px 0 0;color:var(--text-muted);font-size:11px}.steam-ref-tools{display:flex;gap:9px}.steam-ref-search,.steam-ref-sort{height:34px;border:1px solid rgba(141,202,240,.23);border-radius:7px;background:#101c2a;color:var(--text);font-size:12px}.steam-ref-search{width:190px;padding:0 10px}.steam-ref-sort{min-width:137px;padding:0 8px}.steam-ref-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.steam-ref-filter{padding:7px 11px;border:1px solid rgba(141,202,240,.18);border-radius:7px;background:#101c2a;color:var(--text-muted);font-size:11px;cursor:pointer}.steam-ref-filter:hover,.steam-ref-filter.is-active{border-color:rgba(144,95,255,.8);background:linear-gradient(135deg,#7654e3,#5139bf);color:#fff}.steam-ref-game-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.steam-ref-game{display:grid;grid-template-rows:100px auto;min-width:0;overflow:hidden;border:1px solid rgba(115,154,195,.24);border-radius:8px;background:#101b28;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.steam-ref-game:hover{border-color:rgba(141,105,255,.7);transform:translateY(-2px);box-shadow:0 12px 24px rgba(0,0,0,.22)}.steam-ref-cover{display:block;background:#142638}.steam-ref-cover img,.steam-ref-cover .steam-game-fallback{position:static;display:block;width:100%;height:100%;object-fit:cover}.steam-ref-cover .steam-game-fallback{display:grid;place-items:center}.steam-ref-game-info{display:grid;gap:6px;padding:9px 9px 10px;background:linear-gradient(180deg,#162333,#101a27)}.steam-ref-game-info>strong{overflow:hidden;color:#fff;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.steam-ref-owner-line{display:flex;align-items:center;min-width:0;min-height:20px;gap:7px}.steam-ref-owner-avatars{display:flex;align-items:center}.steam-ref-owner-avatars .avatar{width:20px!important;height:20px!important;margin-right:-5px;border:1px solid #0b1420}.steam-ref-owner-line small{overflow:hidden;color:#aebdca;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.steam-ref-actions{display:flex;gap:7px}.steam-ref-play{display:inline-flex;flex:1;align-items:center;justify-content:center;min-height:28px;border-radius:5px;background:linear-gradient(180deg,#2bd17b,#159d59);color:#fff;text-decoration:none;font-size:10px;font-weight:750}.steam-ref-play:hover{filter:brightness(1.1)}.steam-ref-play.is-disabled{background:#2b3541;color:#9ba8b5}.steam-ref-more{display:grid;place-items:center;width:28px;border-radius:5px;background:#223243;color:#dbe8f3;text-decoration:none;font-weight:800;letter-spacing:1px}.steam-ref-quick{display:grid;gap:8px;padding:14px}.steam-ref-quick>button,.steam-ref-quick>a{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:9px;min-height:57px;padding:9px;border:1px solid rgba(125,171,207,.2);border-radius:8px;background:linear-gradient(135deg,rgba(45,70,96,.52),rgba(13,25,38,.72));color:inherit;text-align:left;text-decoration:none;cursor:pointer}.steam-ref-quick>button:hover,.steam-ref-quick>a:hover{border-color:rgba(151,101,255,.72)}.steam-ref-quick b{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:linear-gradient(135deg,#7553dc,#4a369e);color:#c9e0ff}.steam-ref-quick span{min-width:0}.steam-ref-quick strong,.steam-ref-quick small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.steam-ref-quick strong{font-size:12px}.steam-ref-quick small{margin-top:2px;color:var(--text-muted);font-size:10px}.steam-ref-shop{display:grid;justify-items:start;gap:10px;padding:18px;background:radial-gradient(circle at 15% 8%,rgba(87,124,202,.36),transparent 42%),linear-gradient(145deg,#152a42,#101929)}.steam-ref-shop .steam-ref-steam-logo{width:46px;height:46px;font-size:23px;box-shadow:none}.steam-ref-shop p{margin:-4px 0 2px;color:var(--text-muted);font-size:12px;line-height:1.45}.steam-ref-shop .btn{width:100%;justify-content:center;color:#cdb9ff;border-color:rgba(150,103,255,.5)}
@media(max-width:1250px){.steam-ref-layout{grid-template-columns:minmax(0,1fr) 250px}.steam-ref-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.steam-ref-friends{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:980px){.steam-ref-layout{grid-template-columns:1fr}.steam-ref-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.steam-ref-hero-bg{align-items:flex-start;padding:18px;gap:13px}.steam-ref-steam-logo{width:52px;height:52px;font-size:27px}.steam-ref-hero-copy h2{font-size:23px}.steam-ref-statuses{display:grid}.steam-ref-upper-grid,.steam-ref-sidebar{grid-template-columns:1fr}.steam-ref-friends,.steam-ref-game-grid{grid-template-columns:1fr}.steam-ref-library-head,.steam-ref-tools{display:grid}.steam-ref-search,.steam-ref-sort{width:100%}}

/* Gezielte Detailkorrekturen für den Steam-Hub. */
.steam-ref-hero-bg{position:relative;isolation:isolate;background-color:#0b1826}.steam-ref-hero-bg::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,18,32,.18),rgba(8,18,32,.05))}.steam-ref-friend{min-height:96px;align-items:flex-start}.steam-ref-friend .avatar{flex:0 0 auto}.steam-ref-friend-copy{display:grid!important;gap:3px!important;padding-top:1px}.steam-ref-friend-copy strong{color:#f3f7fb}.steam-ref-friend-copy small{color:#adbfce}.steam-ref-friend-copy em{color:#8096a7}.steam-ref-friend-copy i{overflow:hidden;color:#bba5ff;font-size:10px;font-style:normal;white-space:nowrap;text-overflow:ellipsis}.steam-ref-cover .steam-game-fallback{padding:12px;background:linear-gradient(135deg,#243a50,#121e2c);color:#e6eff6;font-size:12px;font-weight:750;text-align:center}.steam-ref-more{border:0;cursor:pointer}.steam-ref-detail-list{display:grid;gap:8px}.steam-ref-detail-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid var(--line)}.steam-ref-detail-row:last-child{border-bottom:0}.steam-ref-detail-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.steam-ref-detail-row small{color:var(--text-muted);font-size:11px}@media(max-width:650px){.steam-ref-detail-row{grid-template-columns:30px minmax(0,1fr)}.steam-ref-detail-row small{grid-column:2}}
.steam-ref-search{width:min(360px,32vw)}
.steam-ref-cover{border:0;padding:0;cursor:pointer;text-align:left}.steam-ref-member-page{display:grid;gap:16px}.steam-ref-member-hero{display:flex;align-items:center;gap:16px;padding:22px}.steam-ref-member-hero h2{margin:2px 0 4px}.steam-ref-member-time{color:#aebdca;font-size:11px}.steam-ref-detail{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1.3fr);gap:20px;max-height:min(65vh,650px)}.steam-ref-detail-cover{width:100%;min-height:145px;max-height:210px;object-fit:cover;border:1px solid var(--line);border-radius:8px;background:#16283a}.steam-ref-detail-content{display:grid;align-content:start;gap:10px;min-width:0;overflow:auto;padding-right:4px}.steam-ref-detail-content h4{margin:0;color:#fff;font-size:18px}.steam-ref-detail-content>p{margin:0;color:var(--text-muted);font-size:12px}.steam-ref-detail-actions{display:flex;gap:9px;padding-top:4px}.steam-ref-detail-actions .btn{min-height:28px}.steam-ref-detail-modal .modal{max-width:760px}@media(max-width:650px){.steam-ref-member-hero{align-items:flex-start;flex-wrap:wrap;padding:18px}.steam-ref-member-hero .spacer{display:none}.steam-ref-detail{grid-template-columns:1fr;max-height:unset}.steam-ref-detail-cover{max-height:180px}.steam-ref-detail-content{max-height:42vh}.steam-ref-detail-actions{display:grid;grid-template-columns:1fr}.steam-ref-detail-actions .btn,.steam-ref-detail-actions .steam-ref-play{width:100%}}
.steam-ref-friend-game{width:58px;height:42px;align-self:center;object-fit:cover;border:1px solid rgba(151,191,230,.22);border-radius:5px}.steam-ref-friend-copy em.is-playing{color:#78ecaa}.steam-ref-friend-copy em.is-online{color:#78ecaa}.steam-ref-friend-copy em.is-offline{color:#8997a5}.steam-ref-friend-copy em.is-busy,.steam-ref-friend-copy em.is-away,.steam-ref-friend-copy em.is-snooze{color:#e6bb72}.steam-ref-live-activity{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:12px;min-height:134px;padding:12px;border:1px solid rgba(73,199,127,.25);border-radius:8px;background:linear-gradient(135deg,rgba(16,72,51,.34),rgba(10,23,33,.52))}.steam-ref-live-activity img{width:112px;height:72px;object-fit:cover;border-radius:5px}.steam-ref-live-activity strong,.steam-ref-live-activity small{display:block}.steam-ref-live-activity small{margin-top:5px;color:#b7c8d6;font-size:12px}@media(max-width:650px){.steam-ref-friend-game{display:none}.steam-ref-live-activity{grid-template-columns:88px minmax(0,1fr)}.steam-ref-live-activity img{width:88px;height:60px}}
.steam-ref-friends-section{padding:18px}.steam-ref-friends-section .steam-ref-friends{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.steam-ref-friends-section .steam-ref-friend{min-height:112px;padding:15px;gap:13px;background:linear-gradient(135deg,rgba(25,63,98,.72),rgba(11,30,47,.92))}.steam-ref-friends-section .steam-ref-friend .avatar{width:58px!important;height:58px!important}.steam-ref-friend-cover-slot{display:flex;align-items:center;margin-left:auto;min-width:0}.steam-ref-friend-game{width:82px;height:54px}.steam-ref-new{display:grid;gap:10px;padding:15px;background:linear-gradient(145deg,rgba(20,45,70,.68),rgba(12,26,40,.86))}.steam-ref-new h3{margin:0;font-size:14px}.steam-ref-new-empty{padding:13px;border:1px dashed rgba(143,184,224,.22);border-radius:8px}.steam-ref-new-empty strong{display:block;font-size:12px}.steam-ref-new-empty p{margin:5px 0 0;color:var(--text-muted);font-size:11px;line-height:1.45}@media(max-width:1100px){.steam-ref-friends-section .steam-ref-friends{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.steam-ref-friends-section .steam-ref-friends{grid-template-columns:1fr}.steam-ref-friend-cover-slot{display:none}}
.steam-ref-detail-fallback{display:grid;place-items:center;padding:18px;background:linear-gradient(135deg,#203c56,#122435);color:#e7f0f7;font-size:15px;font-weight:750;text-align:center}

/* Detaildialog der Live-Spiele auf der Startseite. */
.modal.dashboard-game-modal { width:min(1140px,100%); max-height:calc(100dvh - 48px); overflow:auto; padding:26px; border:1px solid #394156; border-radius:18px; background:#1b222e; box-shadow:0 30px 90px rgba(0,0,0,.55); }
.dashboard-game-modal .modal-head { align-items:center; padding-bottom:17px; border-bottom:1px solid #343d50; }
.dashboard-game-modal .modal-head h3 { color:#f5f6fa; font-size:21px; }
.dashboard-game-modal .modal-head small { color:#a6b2c5; }
.dashboard-game-modal-body { display:grid; gap:22px; }
@media(min-width:900px) { .dashboard-game-modal-body { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); align-items:start; gap:18px 30px; }.dashboard-game-modal .dashboard-game-modal-overview { grid-template-columns:1fr; gap:18px; }.dashboard-game-modal-actions { grid-column:1 / -1; }.dashboard-game-modal .dashboard-game-modal-owner-list { max-height:min(48vh,480px); gap:8px; }.dashboard-game-modal .dashboard-game-modal-owner.game-time-row { padding:9px 14px; }.dashboard-game-modal .dashboard-game-modal-section-head { align-items:center; } }
.dashboard-game-modal-overview { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:22px; align-items:start; }
.dashboard-game-modal-art { display:grid; place-items:center; width:100%; aspect-ratio:460 / 215; overflow:hidden; border:1px solid #343d50; border-radius:12px; background:linear-gradient(135deg,#27334a,#151d29); }
.dashboard-game-modal-art img { display:block; width:100%; height:100%; object-fit:cover; }
.dashboard-game-modal-art-fallback { display:grid; gap:8px; justify-items:center; color:#a6b2c5; font-size:13px; }
.dashboard-game-modal-info { display:grid; gap:16px; min-width:0; }
.dashboard-game-modal-description { margin:0; color:#d5dce9; font-size:13px; line-height:1.6; }
.dashboard-game-modal-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px 16px; margin:0; }
.dashboard-game-modal-fact { min-width:0; }.dashboard-game-modal-fact dt { margin-bottom:3px; color:#8f9bad; font-size:11px; }.dashboard-game-modal-fact dd { margin:0; overflow-wrap:anywhere; color:#eef0f7; font-size:13px; font-weight:600; }
.dashboard-game-modal-owners { min-width:0; }.dashboard-game-modal-section-head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:10px; }.dashboard-game-modal-section-head h4 { color:#f5f6fa; font-size:15px; }.dashboard-game-modal-section-head span { color:#a6b2c5; font-size:12px; }
.dashboard-game-modal-owner-list { display:grid; gap:9px; max-height:340px; overflow-y:auto; padding:2px; }
.dashboard-game-modal-no-owners { margin:0; padding:13px; border:1px solid #343d50; border-radius:10px; color:#a6b2c5; background:#222a38; font-size:13px; }
.dashboard-game-modal-owner { display:grid; grid-template-columns:36px minmax(0,1fr) auto; align-items:center; gap:11px; width:100%; padding:9px 12px; border:1px solid #343d50; border-radius:10px; color:#f5f6fa; background:#222a38; text-align:left; cursor:pointer; }.dashboard-game-modal-owner:hover,.dashboard-game-modal-owner:focus-visible { border-color:#8b6cf0; outline:none; background:#2b3244; }.dashboard-game-modal-owner span { min-width:0; }.dashboard-game-modal-owner strong,.dashboard-game-modal-owner small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.dashboard-game-modal-owner strong { font-size:13px; }.dashboard-game-modal-owner small { color:#a6b2c5; font-size:11px; }.dashboard-game-modal-owner b { color:#b5a1ff; font-size:13px; font-variant-numeric:tabular-nums; }
.dashboard-game-modal-actions { display:flex; flex-wrap:wrap; gap:10px; padding-top:15px; border-top:1px solid #343d50; }.dashboard-game-modal-actions .btn { min-width:150px; }
.game-genre-chips { display:flex; flex-wrap:wrap; gap:6px; }.game-genre-chip { padding:4px 9px; border:1px solid rgba(150,119,255,.28); border-radius:7px; color:#c6b6ff; background:rgba(139,108,240,.11); font-size:11px; line-height:1.4; }
.game-time-subtitle { margin:5px 0 0; color:#92a0b7; font-size:12px; }.game-time-count { padding:5px 10px; border:1px solid #343d50; border-radius:20px; white-space:nowrap; }
.game-time-summary { display:flex; align-items:center; gap:13px; margin:15px 0; padding:16px 18px; border:1px solid rgba(139,108,240,.3); border-radius:12px; background:linear-gradient(110deg,rgba(117,83,225,.2),rgba(117,83,225,.025)); color:#b59aff; }.game-time-summary small { display:block; color:#adbad0; font-size:11px; }.game-time-summary strong { color:#f1ecff; font-size:23px; letter-spacing:-.025em; }.game-time-summary > span { margin-left:auto; color:#a6b2c5; font-size:11px; }
.dashboard-game-modal-owner.game-time-row { grid-template-columns:27px 42px minmax(0,1fr) auto; padding:14px; gap:12px; background:linear-gradient(110deg,#202938,#1c2431); border-color:#303b4f; }.game-time-row.is-leader { border-color:rgba(179,144,255,.5); background:linear-gradient(110deg,rgba(111,77,194,.19),#202735); }.game-time-row .game-time-position { display:grid; place-items:center; color:#8390a8; font-size:12px; font-weight:700; }.game-time-row.is-leader .game-time-position { color:#e6bc70; }.game-time-person strong { margin-bottom:3px; }.game-time-person small { font-size:10px; }.game-time-row.is-leader .game-time-person small { color:#c0a6ff; }.game-time-row .game-time-track { display:block; overflow:hidden; height:4px; margin-top:10px; border-radius:4px; background:#30394b; }.game-time-track > span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#7660cc,#b998ff); }.game-time-value { text-align:right; }.game-time-row .game-time-value b { font-size:18px; color:#e6deff; letter-spacing:-.03em; }.game-time-row .game-time-value small { margin-top:4px; font-size:9px; color:#93a1b8; }.game-time-note { color:#8290a7; font-size:10px; line-height:1.6; margin:12px 2px 0; }
@media (max-width:640px) { .modal.dashboard-game-modal { padding:18px; }.dashboard-game-modal-overview { grid-template-columns:1fr; gap:15px; }.dashboard-game-modal-facts { gap:10px; }.dashboard-game-modal-actions .btn { flex:1; }.dashboard-game-modal-owner.game-time-row { grid-template-columns:20px 34px minmax(0,1fr) auto; gap:8px; padding:12px 9px; }.game-time-row .avatar { width:34px!important; height:34px!important; }.game-time-row .game-time-value b { font-size:14px; }.game-time-summary { padding:13px; }.game-time-summary > span { max-width:80px; text-align:right; font-size:10px; } }
.steam-ref-activity-hint{color:var(--text-muted);font-size:11px}.steam-ref-activity-hint.is-error{color:#e6b269}

/* Finale, rein visuelle Steam-Hub-Veredelung: Datenbindung und Interaktionen bleiben unveraendert. */
.steam-ref-main{gap:22px}.steam-ref-layout{gap:20px}.steam-ref-hero{min-height:188px;border-color:rgba(113,94,255,.62);box-shadow:0 16px 34px rgba(2,8,15,.22)}.steam-ref-hero-bg{min-height:188px;padding:27px 30px;gap:23px;background-position:right center}.steam-ref-hero-bg::after{background:linear-gradient(90deg,rgba(5,15,28,.36) 0%,rgba(5,15,28,.09) 58%,rgba(5,15,28,.02) 100%)}.steam-ref-steam-logo{width:76px;height:76px;font-size:40px;box-shadow:0 0 0 9px rgba(60,115,195,.14)}.steam-ref-hero-copy h2{font-size:34px;letter-spacing:-.03em}.steam-ref-hero-copy p{font-size:14px}.steam-ref-statuses{gap:10px;margin-top:19px}.steam-ref-statuses>span,.steam-ref-refresh{min-height:36px;padding:9px 13px;font-size:12px}.steam-ref-refresh{font-weight:750;box-shadow:0 7px 16px rgba(84,56,190,.2)}
.steam-ref-section{padding:20px}.steam-ref-section .card-head{margin-bottom:16px}.steam-ref-section .card-head h3,.steam-ref-library h3,.steam-ref-quick h3,.steam-ref-new h3{font-size:18px}.steam-ref-friends-section{padding:20px}.steam-ref-friends-section .steam-ref-friends{gap:16px}.steam-ref-friends-section .steam-ref-friend{min-height:158px;padding:20px;gap:16px;border-radius:10px;background:linear-gradient(135deg,rgba(28,71,108,.78),rgba(11,29,46,.96));box-shadow:inset 0 1px rgba(169,207,241,.04),0 10px 22px rgba(3,12,21,.13)}.steam-ref-friends-section .steam-ref-friend:hover{border-color:rgba(151,101,255,.88);box-shadow:0 15px 30px rgba(5,12,25,.28);transform:translateY(-3px)}.steam-ref-friends-section .steam-ref-friend .avatar{width:64px!important;height:64px!important}.steam-ref-friend-copy{gap:6px!important}.steam-ref-friend-copy strong{font-size:15px}.steam-ref-friend-copy small{font-size:12px}.steam-ref-friend-copy em,.steam-ref-friend-copy i{font-size:11px}.steam-ref-friend-cover-slot{padding-left:5px}.steam-ref-friend-game{width:100px;height:66px;border-radius:7px;box-shadow:0 8px 18px rgba(0,0,0,.2)}
.steam-ref-library{padding:21px}.steam-ref-library-head{margin-bottom:17px}.steam-ref-library-head p{font-size:12px;margin-top:5px}.steam-ref-tools{gap:12px}.steam-ref-search,.steam-ref-sort{height:40px;border-radius:8px;font-size:13px}.steam-ref-search{width:min(390px,34vw)}.steam-ref-sort{min-width:158px}.steam-ref-filters{gap:10px;margin:3px 0 18px}.steam-ref-filter{min-height:38px;padding:9px 14px;border-radius:8px;font-size:12px;font-weight:650}.steam-ref-game-grid{gap:14px}.steam-ref-game{grid-template-rows:138px minmax(126px,auto);border-radius:10px}.steam-ref-cover{min-height:138px}.steam-ref-game-info{gap:10px;padding:13px 14px 14px}.steam-ref-game-info>strong{font-size:14px}.steam-ref-owner-line{min-height:24px;gap:8px}.steam-ref-owner-avatars .avatar{width:24px!important;height:24px!important}.steam-ref-owner-line small{font-size:11px}.steam-ref-actions{gap:9px;margin-top:1px}.steam-ref-play{min-height:32px;font-size:11px}.steam-ref-more{width:32px;border-radius:6px}
.steam-ref-sidebar{gap:18px}.steam-ref-quick{padding:17px;gap:10px}.steam-ref-quick>button,.steam-ref-quick>a{min-height:67px;padding:12px;border-radius:9px}.steam-ref-quick b{width:34px;height:34px;border-radius:9px;font-size:14px}.steam-ref-quick strong{font-size:13px}.steam-ref-quick small{font-size:11px;margin-top:4px}.steam-ref-new{padding:18px;gap:12px;border-radius:10px}.steam-ref-new-empty{padding:16px;border-radius:8px}.steam-ref-new-empty strong{font-size:13px}.steam-ref-new-empty p{font-size:12px;line-height:1.5}.steam-ref-shop{padding:21px;gap:12px;border-radius:10px;box-shadow:inset 0 1px rgba(183,213,245,.05)}.steam-ref-shop .steam-ref-steam-logo{width:52px;height:52px;font-size:27px}.steam-ref-shop strong{font-size:15px}.steam-ref-shop p{font-size:12px}.steam-ref-shop .btn{min-height:38px}
@media(max-width:1500px){.steam-ref-game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1180px){.steam-ref-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.steam-ref-layout{grid-template-columns:minmax(0,1fr) 255px}.steam-ref-friends-section .steam-ref-friend{min-height:145px;padding:16px}.steam-ref-friend-game{width:82px;height:55px}}@media(max-width:980px){.steam-ref-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.steam-ref-sidebar{gap:16px}}@media(max-width:700px){.steam-ref-main{gap:16px}.steam-ref-hero,.steam-ref-hero-bg{min-height:164px}.steam-ref-hero-bg{padding:19px;gap:15px}.steam-ref-steam-logo{width:58px;height:58px;font-size:30px}.steam-ref-hero-copy h2{font-size:25px}.steam-ref-hero-copy p{font-size:12px}.steam-ref-statuses>span,.steam-ref-refresh{font-size:11px}.steam-ref-section,.steam-ref-library,.steam-ref-friends-section{padding:16px}.steam-ref-friends-section .steam-ref-friend{min-height:138px}.steam-ref-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.steam-ref-game{grid-template-rows:118px minmax(122px,auto)}.steam-ref-cover{min-height:118px}.steam-ref-game-info{padding:11px}.steam-ref-search{width:100%}}@media(max-width:430px){.steam-ref-game-grid{grid-template-columns:1fr}.steam-ref-game{grid-template-rows:150px minmax(120px,auto)}.steam-ref-cover{min-height:150px}}

/* Proportionen der Referenz: breite Banner, volle Freundesreihe, Cover im Steam-Header-Verhaeltnis. */
@media(min-width:1501px){.steam-ref-game-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}.steam-ref-hero,.steam-ref-hero-bg{min-height:176px}.steam-ref-hero-bg{padding:24px 26px}.steam-ref-friends-section .steam-ref-friend{min-height:166px}.steam-ref-game{grid-template-rows:auto minmax(108px,auto)}.steam-ref-cover{min-height:0;aspect-ratio:2.1/1}.steam-ref-cover img,.steam-ref-cover .steam-game-fallback{height:100%}.steam-ref-game-info{min-height:108px;align-content:start}.steam-ref-actions{margin-top:auto}@media(max-width:700px){.steam-ref-hero,.steam-ref-hero-bg{min-height:164px}.steam-ref-game{grid-template-rows:auto minmax(118px,auto)}.steam-ref-cover{aspect-ratio:1.75/1}}

/* Final shell overrides after shared responsive rules. */
.topbar { gap:12px; padding-inline:clamp(16px,2.2vw,34px); }
.topbar-search { margin-left:clamp(8px,1.4vw,22px); flex:0 1 580px; width:min(580px,42vw); min-width:290px; min-height:44px; }
.topbar-spacer { flex:1 1 auto; }.topbar-tools { display:flex; align-items:center; gap:9px; flex:none; }.topbar-tools > .icon-btn { width:42px; height:42px; }
.content { flex:1 0 auto; }
.app-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:76px; margin:0 clamp(16px,2.2vw,34px); padding:14px 4px 18px; border-top:1px solid var(--line); color:var(--text-faint); }
.app-footer-brand { display:flex; align-items:center; gap:11px; min-width:0; }.app-footer-brand > span { display:grid; width:30px; height:30px; flex:none; place-items:center; color:var(--text-dim); }.app-footer-brand strong,.app-footer-brand small { display:block; }.app-footer-brand strong { color:var(--text-dim); font-size:12px; font-weight:600; }.app-footer-brand small { font-size:11px; }
.app-footer-links { display:flex; align-items:center; gap:22px; }.app-footer-links a { color:var(--text-faint); font-size:12px; text-decoration:none; transition:color .16s; }.app-footer-links a:not([aria-disabled="true"]):hover { color:var(--text); }.app-footer-links a[aria-disabled="true"] { cursor:not-allowed; opacity:.58; }
.dashboard-game-duration { display:block; margin-top:1px; color:var(--text-faint); font-size:10px; line-height:1.35; }
@media (max-width:900px) { .topbar { gap:8px; }.topbar-search { flex:1 1 auto; width:auto; min-width:0; margin-left:0; }.topbar-search span { display:block; }.topbar-search kbd { display:none; }.topbar-tools { gap:5px; }.topbar-tools > .icon-btn { width:38px; height:38px; }.topbar-tools .me-btn strong,.topbar-tools .me-btn small { display:block; }.me-btn { padding-right:8px; } }
@media (max-width:600px) { .topbar { padding:10px 12px; }.topbar-title small { display:none; }.topbar-title h1 { font-size:15px; }.topbar-search { gap:6px; padding:8px; }.topbar-search span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.topbar-tools .me-btn > div:not(.avatar) { display:none; }.topbar-tools .me-btn { padding:4px; }.topbar-tools { gap:4px; }.topbar-tools > .icon-btn { width:34px; height:34px; }.app-footer { align-items:flex-start; flex-direction:column; gap:12px; margin-inline:14px; }.app-footer-links { gap:18px; flex-wrap:wrap; }.dashboard-game-duration { font-size:11px; } }

/* Reference styling for messages and activity. */
.dashboard-messages,.dashboard-activity { background:linear-gradient(125deg,rgba(24,33,49,.94),var(--surface)); }
.dashboard-messages .dashboard-card-head,.dashboard-activity .dashboard-card-head { position:relative; padding-bottom:19px; margin-bottom:0; border-bottom:1px solid var(--line); gap:12px; }
.dashboard-heading-icon { display:grid; place-items:center; flex:none; width:28px; height:28px; color:#ded2ff; border-radius:10px; background:linear-gradient(145deg,#9873ff,#6949ee); box-shadow:inset 0 1px 2px rgba(255,255,255,.3),0 3px 10px rgba(90,58,212,.2); }
.dashboard-messages .dashboard-card-head > div,.dashboard-activity .dashboard-card-head > div { min-width:0; }
.dashboard-messages .dashboard-card-head p,.dashboard-activity .dashboard-card-head p { margin-top:6px; line-height:1.5; }
.dashboard-messages .dashboard-card-head .dashboard-link,.dashboard-activity .dashboard-card-head .dashboard-link { flex:none; white-space:nowrap; font-weight:500; }
.dashboard-message-list { gap:0; }
.dashboard-messages .dashboard-message { position:relative; width:100%; grid-template-columns:42px minmax(0,1fr) auto; gap:12px; min-height:76px; padding:13px 0; border-radius:7px; transition:background .15s; }
.dashboard-message + .dashboard-message::before { position:absolute; top:0; left:54px; right:0; height:1px; content:''; background:var(--line); }
.dashboard-message:hover,.dashboard-message:focus-visible { background:rgba(139,108,240,.1); outline:1px solid rgba(139,108,240,.25); outline-offset:3px; }
.dashboard-message:hover strong,.dashboard-message:focus-visible strong { color:#c7b8ff; }
.dashboard-message .avatar { border:1px solid rgba(153,128,255,.6); box-shadow:0 0 0 2px rgba(139,108,240,.08); }
.dashboard-message .dashboard-message-copy { min-width:0; }.dashboard-message-copy strong { font-size:13px; line-height:1.5; }.dashboard-message-copy small { margin-top:4px; color:var(--text-dim); font-size:12px; line-height:1.5; }
.dashboard-message .dashboard-message-meta { display:flex; align-self:stretch; flex-direction:column; align-items:flex-end; justify-content:space-between; gap:7px; padding-block:2px; }
.dashboard-message-meta time { white-space:nowrap; font-size:11px; color:var(--text-dim); }.dashboard-message-meta b { display:grid; min-width:22px; height:22px; padding-inline:4px; border-radius:50%; background:linear-gradient(145deg,#9674ff,#6945f2); box-shadow:inset 0 1px 2px rgba(255,255,255,.25); font-size:11px; }
.dashboard-activity-list { gap:0; }.dashboard-activity-row { grid-template-columns:40px minmax(0,1fr) auto; gap:12px; align-items:center; min-height:62px; padding:11px 0; }.dashboard-activity-row strong { font-size:13px; line-height:1.5; }.dashboard-activity-row small { margin-top:3px; font-size:12px; line-height:1.5; }.dashboard-activity-row time { white-space:nowrap; font-size:11px; }.dashboard-activity-row > .dashboard-event-icon { width:40px; height:40px; border-radius:10px; }
.dashboard-activity-row > .tone-slate { color:#b8c9e3; background:rgba(128,149,183,.13); }.dashboard-activity-row > .tone-green { color:#40d68d; background:rgba(30,187,110,.16); }.dashboard-activity-row > .tone-red { color:#ff6e91; background:rgba(226,58,104,.16); }.dashboard-activity-row > .tone-gold { color:#ffbe59; background:rgba(224,157,57,.16); }.dashboard-activity-row > .tone-purple { color:#cb7bf5; background:rgba(163,79,222,.16); }
@media (max-width:650px) { .dashboard-messages .dashboard-card-head,.dashboard-activity .dashboard-card-head { flex-wrap:wrap; }.dashboard-messages .dashboard-card-head .dashboard-link,.dashboard-activity .dashboard-card-head .dashboard-link { margin-left:40px; }.dashboard-activity-row { gap:9px; }.dashboard-activity-row time { white-space:normal; max-width:62px; text-align:right; } }

.dashboard-activity .dashboard-heading-icon { width:30px; height:32px; background:none; box-shadow:none; border-radius:0; }.dashboard-activity .dashboard-heading-icon svg { width:30px; height:32px; filter:drop-shadow(0 2px 3px rgba(112,72,230,.2)); }
.dashboard-activity-row > .tone-blue { color:#70baff; background:rgba(50,138,221,.16); }
/* Header, Popup, Datenschutz und Footer: abschließende Overrides */
.topbar-search { height:52px; min-height:52px; flex-basis:720px; width:min(720px,48vw); padding:0 14px; gap:13px; border:1px solid rgba(129,105,255,.7); border-radius:13px; background:linear-gradient(120deg,rgba(22,32,51,.96),rgba(17,26,43,.96)); box-shadow:0 0 0 1px rgba(129,105,255,.14),0 5px 20px rgba(0,0,0,.12); color:var(--text-dim); }
.topbar-search > svg { flex:none; color:#c5caff; }.topbar-search span { font-size:14px; }.topbar-search kbd { margin-left:auto; border:1px solid rgba(148,163,184,.16); border-radius:8px; background:rgba(107,122,158,.22); padding:6px 10px; color:#e4e8f7; font-size:12px; }
.topbar-tools { gap:12px; }.topbar-tools > .icon-btn { width:46px; height:46px; border-radius:13px; color:#d7def4; }.topbar-tools > .icon-btn:hover { border-color:rgba(140,119,255,.55); background:rgba(94,78,173,.17); }.topbar-tools > .icon-btn:nth-child(3) { border:1px solid rgba(113,132,175,.22); border-radius:15px; }
.topbar-tools > .icon-btn.topbar-notification,.topbar-tools > .icon-btn.topbar-message { border:0; background:transparent; box-shadow:none; color:#c7d1ee; }
.topbar-tools > .icon-btn.topbar-release { position:relative; width:56px; height:56px; margin-left:13px; border:1px solid rgba(119,138,181,.23); border-radius:22px; background:rgba(14,22,37,.4); box-shadow:inset 0 0 0 1px rgba(119,138,181,.05); color:#d6dcf4; }
.topbar-release::before { content:''; position:absolute; width:1px; height:29px; left:-14px; background:rgba(119,138,181,.16); }
.topbar-tools > .icon-btn svg { width:23px; height:23px; stroke-width:1.9; filter:drop-shadow(0 1px 2px rgba(126,133,197,.22)); }.topbar-tools > .icon-btn:hover { color:#eee9ff; background:rgba(139,108,240,.1); }
.topbar-tools > .icon-btn.topbar-release { width:44px; height:44px; border-radius:17px; }.topbar-tools > .icon-btn.topbar-notification,.topbar-tools > .icon-btn.topbar-message { width:38px; height:40px; }
@media (max-width:600px) { .topbar-tools > .icon-btn.topbar-release { width:38px; height:40px; margin-left:6px; border-radius:14px; }.topbar-release::before { left:-6px; height:24px; }.topbar-tools > .icon-btn svg { width:23px; height:23px; } }
.app-footer-meta { display:flex; align-items:center; gap:28px; margin-right:116px; }.app-system-status { display:inline-flex; align-items:center; gap:9px; white-space:nowrap; color:var(--text-dim); font-size:12px; }.app-system-status::before { width:8px; height:8px; border-radius:50%; background:#8994a8; content:''; }.app-system-status.is-online::before { background:#27d883; box-shadow:0 0 10px rgba(39,216,131,.45); }.app-system-status.is-offline::before { background:#ff6477; box-shadow:0 0 10px rgba(255,100,119,.35); }
.changelog-popup-modal .modal-body { max-height:min(72vh,760px); overflow:auto; }.changelog-popup-version { margin:0 0 16px; }.changelog-popup-list { display:grid; gap:12px; }.changelog-popup-entry { padding:16px 18px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.025); }.changelog-popup-entry > header { display:flex; align-items:center; justify-content:space-between; gap:12px; color:var(--text-faint); font-size:12px; }.changelog-popup-entry h4 { margin:12px 0 7px; color:var(--text); font-size:16px; }.changelog-popup-body { color:var(--text-dim); line-height:1.65; }
.privacy-page { display:grid; gap:18px; }.privacy-intro { padding:24px; border-color:rgba(126,102,255,.35); background:linear-gradient(130deg,rgba(94,73,175,.13),rgba(255,255,255,.018)); }.privacy-eyebrow { color:var(--accent); font-size:11px; font-weight:750; letter-spacing:.12em; }.privacy-intro h2 { margin:11px 0 9px; font-size:24px; }.privacy-intro p,.privacy-card p { max-width:1000px; color:var(--text-dim); line-height:1.65; }.privacy-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }.privacy-card { padding:18px; }.privacy-card-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:rgba(127,100,255,.14); color:var(--accent); }.privacy-disclaimer { margin:0; color:var(--text-faint); font-size:12px; line-height:1.6; }
@media (max-width:900px) { .topbar-search { flex:1 1 auto; width:auto; min-width:0; height:46px; min-height:46px; }.app-footer-meta { margin-right:80px; gap:18px; }.app-footer-links { gap:16px; } }
@media (max-width:600px) { .topbar-search { padding:0 10px; gap:8px; }.topbar-search span { display:block; font-size:12px; }.topbar-search kbd { display:none; }.topbar-tools { gap:3px; }.topbar-tools > .icon-btn { width:34px; height:36px; }.app-footer { align-items:flex-start; flex-direction:column; gap:12px; }.app-footer-meta { flex-wrap:wrap; margin-right:76px; gap:12px; }.app-footer-links { gap:14px; }.app-system-status { font-size:11px; }.privacy-grid { grid-template-columns:1fr; }.privacy-intro { padding:18px; }.privacy-intro h2 { font-size:20px; } }

/* Serverstatus: kompakte Kacheln statt einer langen Tabellenliste. */
.server-status-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(245px,1fr)); gap:14px; }
.server-tile { display:flex; flex-direction:column; min-height:300px; padding:17px; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:linear-gradient(145deg,rgba(37,48,66,.7),rgba(20,27,37,.9)); box-shadow:inset 0 1px rgba(255,255,255,.025); transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.server-tile:hover { transform:translateY(-2px); border-color:rgba(129,105,255,.48); box-shadow:0 10px 22px rgba(0,0,0,.18); }
.server-tile.is-online { border-color:rgba(43,207,132,.34); background:linear-gradient(145deg,rgba(27,68,55,.38),rgba(20,29,38,.94)); }
.server-tile-banner { position:relative; height:112px; flex:none; margin:-17px -17px 15px; overflow:hidden; border-bottom:1px solid rgba(151,166,196,.16); background:radial-gradient(circle at 18% 25%,rgba(144,112,255,.5),transparent 38%),linear-gradient(135deg,#253451,#111927); }
.server-tile-banner::after { position:absolute; inset:0; content:''; background:linear-gradient(180deg,rgba(5,9,15,.04),rgba(5,9,15,.7)); pointer-events:none; }
.server-tile-banner img { width:100%; height:100%; object-fit:cover; object-position:center; }
.server-tile-game { position:absolute; z-index:1; left:13px; bottom:10px; max-width:calc(100% - 58px); overflow:hidden; color:#fff; font-size:12px; font-weight:800; letter-spacing:.04em; text-overflow:ellipsis; text-shadow:0 2px 8px #000; white-space:nowrap; }
.server-tile-edit { position:absolute; z-index:2; top:9px; right:9px; display:grid; width:32px; height:32px; padding:0; place-items:center; border:1px solid rgba(255,255,255,.24); border-radius:9px; background:rgba(7,12,20,.72); color:#fff; cursor:pointer; backdrop-filter:blur(5px); }
.server-tile-edit:hover { border-color:rgba(201,186,255,.8); background:rgba(91,66,181,.86); }
.server-tile-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.server-tile-icon { display:grid; width:40px; height:40px; place-items:center; border-radius:12px; color:#cfc1ff; background:linear-gradient(145deg,rgba(135,105,255,.34),rgba(83,68,163,.22)); box-shadow:inset 0 1px rgba(255,255,255,.16); }
.server-tile h3 { margin:18px 0 4px; font-size:16px; line-height:1.25; }.server-tile > p { min-height:20px; margin:0; color:var(--text-dim); font-size:12px; }
.server-status-badge { display:inline-flex; align-items:center; gap:6px; padding:5px 8px; border:1px solid; border-radius:999px; background:rgba(0,0,0,.12); font-size:11px; font-weight:700; }.server-status-badge i { width:7px; height:7px; border-radius:50%; box-shadow:0 0 8px currentColor; }
.server-main-status { padding:7px 10px; background:rgba(5,9,15,.28); box-shadow:inset 0 0 0 1px rgba(255,255,255,.025); }
.server-component-statuses { display:flex; flex-wrap:wrap; gap:7px; margin-top:13px; }
.server-component { display:inline-grid; grid-template-columns:7px auto auto; align-items:center; gap:6px; min-height:28px; padding:4px 8px; border:1px solid rgba(151,166,196,.2); border-radius:999px; color:var(--text-dim); background:rgba(6,11,18,.3); font-size:10px; }
.server-component i { width:7px; height:7px; border-radius:50%; background:#8490a2; box-shadow:0 0 7px currentColor; }.server-component b { color:var(--text); font-weight:700; }.server-component em { color:currentColor; font-style:normal; font-weight:750; }
.server-component.is-online { color:var(--good); border-color:color-mix(in srgb,var(--good) 55%,transparent); background:color-mix(in srgb,var(--good) 9%,transparent); }.server-component.is-online i { background:var(--good); }
.server-component.is-offline { color:var(--bad); border-color:color-mix(in srgb,var(--bad) 55%,transparent); background:color-mix(in srgb,var(--bad) 8%,transparent); }.server-component.is-offline i { background:var(--bad); }
.server-component.is-restarting { color:var(--warn); border-color:color-mix(in srgb,var(--warn) 58%,transparent); background:color-mix(in srgb,var(--warn) 9%,transparent); }.server-component.is-restarting i { background:var(--warn); animation:server-restart-pulse 1.1s infinite alternate; }
.server-component.is-unknown { color:var(--text-faint); }.server-tile.is-restarting { border-color:color-mix(in srgb,var(--warn) 48%,var(--line)); }
@keyframes server-restart-pulse { to { opacity:.35; box-shadow:0 0 12px currentColor; } }
.server-tile-metrics { display:grid; grid-template-columns:1fr; gap:7px; margin-top:16px; }.server-tile-metrics > div { min-width:0; padding:9px 10px; border:1px solid rgba(151,166,196,.12); border-radius:9px; background:rgba(6,11,18,.22); }.server-tile-metrics small { display:block; overflow:hidden; color:var(--text-faint); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.server-tile-metrics strong { display:block; overflow:hidden; margin-top:4px; color:var(--text); font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
.server-tile-time { margin-top:auto; padding-top:14px; color:var(--text-faint); font-size:11px; }
.server-status-groups { display:grid; gap:24px; }
.server-status-group { display:grid; gap:12px; padding-top:4px; }
.server-status-group + .server-status-group { padding-top:22px; border-top:1px solid var(--line); }
.server-group-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.server-group-head h3 { margin:0; font-size:17px; }.server-group-head small { display:block; margin-top:4px; color:var(--text-faint); font-size:11px; }
.server-group-head > span { display:grid; min-width:32px; height:28px; padding:0 9px; place-items:center; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.035); color:var(--text-dim); font-size:12px; font-weight:750; }
.server-status-group.is-online .server-group-head h3 { color:var(--good); }.server-status-group.is-unjoinable .server-group-head h3 { color:var(--warn); }.server-status-group.is-offline .server-group-head h3 { color:var(--bad); }.server-status-group.is-stale .server-group-head h3 { color:var(--warn); }.server-status-group.is-memorial .server-group-head h3 { color:#d7b7ff; }
.server-status-group.is-unjoinable { padding:18px; border:1px solid color-mix(in srgb,var(--warn) 22%,var(--line)); border-radius:15px; background:linear-gradient(135deg,color-mix(in srgb,var(--warn) 5%,transparent),transparent 62%); }
.server-status-group.is-memorial { position:relative; padding:22px; overflow:hidden; border:1px solid rgba(197,156,255,.3); border-radius:18px; background:radial-gradient(circle at 12% 15%,rgba(197,156,255,.15),transparent 30%),linear-gradient(145deg,rgba(55,37,72,.48),rgba(16,20,29,.82)); }
.server-status-group.is-memorial::before { position:absolute; top:-80px; right:-45px; width:220px; height:220px; border:1px solid rgba(197,156,255,.14); border-radius:50%; box-shadow:0 0 70px rgba(197,156,255,.08); content:''; pointer-events:none; }
.server-status-group.is-memorial .server-group-head { position:relative; }.server-status-group.is-memorial .server-group-head h3::before { margin-right:8px; content:'🕯️'; filter:drop-shadow(0 0 8px rgba(197,156,255,.55)); }
.server-status-group.is-memorial .server-status-grid { position:relative; grid-template-columns:minmax(245px,390px); }
.server-group-empty { grid-column:1/-1; margin:0; padding:18px; border:1px dashed var(--line); border-radius:12px; color:var(--text-faint); font-size:12px; text-align:center; }
.server-tile.is-memorial { position:relative; border-color:rgba(197,156,255,.55); background:linear-gradient(145deg,rgba(72,46,94,.62),rgba(20,22,31,.98)); box-shadow:0 15px 38px rgba(18,8,30,.36),inset 0 1px rgba(255,255,255,.06); }
.server-tile.is-memorial::after { position:absolute; inset:0; border-radius:inherit; box-shadow:inset 0 0 38px rgba(197,156,255,.06); content:''; pointer-events:none; }
.server-tile.is-memorial .server-tile-banner { filter:saturate(.45); background:radial-gradient(circle at 50% 20%,rgba(197,156,255,.45),transparent 42%),linear-gradient(145deg,#30233d,#11131a); }
.server-tile.is-memorial .server-tile-icon { color:#e0c8ff; background:rgba(197,156,255,.16); }
.server-tile.is-memorial h3 { color:#f0e5ff; }.server-tile.is-memorial .server-tile-detail { color:#cbb6df; font-style:italic; line-height:1.55; }.server-tile.is-memorial .server-tile-metrics { opacity:.55; }

/* alt:V-Gedenkkarte: breit, ruhig und mittig statt links zusammengedrückt. */
.server-status-group.is-memorial { padding:20px; background:linear-gradient(135deg,rgba(67,43,88,.34),rgba(18,22,31,.66) 52%,rgba(29,24,42,.58)); }
.server-status-group.is-memorial .server-status-grid { grid-template-columns:minmax(0,820px); justify-content:center; }
.server-tile.is-memorial { display:grid; grid-template-columns:minmax(270px,42%) minmax(0,1fr); grid-template-rows:auto auto auto auto 1fr; column-gap:24px; min-height:270px; padding:20px; }
.server-tile.is-memorial .server-tile-banner { grid-column:1; grid-row:1 / 7; width:auto; height:auto; min-height:270px; margin:-20px 0 -20px -20px; border-right:1px solid rgba(197,156,255,.28); border-bottom:0; }
.server-tile.is-memorial .server-tile-head,.server-tile.is-memorial h3,.server-tile.is-memorial .server-tile-detail,.server-tile.is-memorial .server-component-statuses,.server-tile.is-memorial .server-tile-metrics,.server-tile.is-memorial .server-tile-time { grid-column:2; }
.server-tile.is-memorial h3 { margin:20px 0 7px; font-size:20px; }.server-tile.is-memorial .server-tile-detail { max-width:420px; min-height:0; font-size:13px; }.server-tile.is-memorial .server-tile-metrics { margin-top:20px; }.server-tile.is-memorial .server-tile-time { align-self:end; }
@media (max-width:720px) {
  .server-status-group.is-memorial { padding:14px; }
  .server-tile.is-memorial { display:flex; min-height:0; padding:17px; }
  .server-tile.is-memorial .server-tile-banner { width:auto; height:140px; min-height:0; margin:-17px -17px 15px; border-right:0; border-bottom:1px solid rgba(197,156,255,.28); }
  .server-tile.is-memorial h3 { margin:18px 0 7px; font-size:17px; }
}
@media (max-width:560px) { .server-status-grid { grid-template-columns:1fr; }.server-tile { min-height:0; } }

/* Server-Control-Center: gemeinsame Detailseite fuer alle Server. */
.server-tile.is-clickable { cursor:pointer; }.server-tile.is-clickable:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.server-detail-page { display:grid; gap:16px; }
.server-detail-hero { --server-cover:none; position:relative; display:flex; min-height:230px; padding:26px; overflow:hidden; align-items:flex-end; gap:22px; border:1px solid var(--line-strong); border-radius:18px; background:#111824; box-shadow:0 18px 42px rgba(0,0,0,.2); }
.server-detail-hero::before { position:absolute; inset:0; content:''; background-image:linear-gradient(90deg,rgba(8,12,20,.96) 0%,rgba(8,12,20,.78) 43%,rgba(8,12,20,.2) 100%),linear-gradient(0deg,rgba(8,12,20,.72),transparent 75%),var(--server-cover); background-position:center; background-size:cover; transform:scale(1.01); }
.server-detail-hero::after { position:absolute; inset:auto 0 0; height:3px; content:''; background:linear-gradient(90deg,var(--accent),#38d9a9,transparent 72%); opacity:.8; }
.server-detail-back { position:absolute; z-index:2; top:18px; left:18px; border-color:rgba(255,255,255,.14); color:#e9edf7; background:rgba(8,12,20,.55); backdrop-filter:blur(8px); }.server-detail-back svg { transform:rotate(180deg); }
.server-detail-hero-copy { position:relative; z-index:1; min-width:0; flex:1; padding-top:42px; }.server-detail-hero-copy .eyebrow { color:#bcaaff; font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }.server-detail-hero-copy h2 { margin:8px 0 13px; color:#fff; font-size:clamp(25px,3vw,38px); letter-spacing:-.035em; text-shadow:0 4px 20px #000; }.server-detail-statusline { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }.server-detail-statusline small { color:#b1bac9; }
.server-detail-controls { position:relative; z-index:1; display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }.server-detail-controls .btn { min-height:40px; border-color:rgba(255,255,255,.14); background:rgba(13,20,31,.72); backdrop-filter:blur(8px); }.server-detail-controls .btn:disabled { cursor:not-allowed; opacity:.58; }.server-detail-controls .server-control-start { color:#55e5a4; }.server-detail-controls .server-control-restart { color:#ffc266; }
.server-detail-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }.server-detail-stats .stat { min-height:88px; padding:18px; border:1px solid var(--line); border-radius:13px; background:linear-gradient(145deg,rgba(36,48,67,.78),rgba(19,26,36,.94)); }.server-detail-stats .stat-value { font-size:22px; }.server-detail-stats .stat-label { margin-top:7px; color:var(--text-faint); }
.server-detail-grid { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(430px,1.5fr); gap:16px; }.server-detail-card { min-width:0; padding:18px; }.server-detail-card .card-head { margin-bottom:13px; }
.server-player-list { display:grid; gap:8px; }.server-player-row { display:grid; grid-template-columns:38px minmax(0,1fr) auto; align-items:center; gap:11px; min-height:58px; padding:9px 10px; border:1px solid rgba(151,166,196,.11); border-radius:10px; background:rgba(6,11,18,.2); }.server-player-avatar { display:grid; width:38px; height:38px; place-items:center; border:1px solid rgba(142,105,255,.4); border-radius:11px; color:#e5dcff; background:linear-gradient(145deg,#624caf,#352b68); font-weight:800; }.server-player-row strong,.server-player-row small { display:block; }.server-player-row strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.server-player-row small { margin-top:3px; color:var(--text-faint); font-size:10px; }.server-player-ping { color:#66dfa6; font-size:11px; font-weight:750; }
.server-console-card { min-width:0; padding:0; overflow:hidden; border-color:rgba(109,129,172,.24); background:#0a0e15; }.server-console-card > header { display:flex; min-height:62px; padding:13px 17px; align-items:center; justify-content:space-between; gap:14px; border-bottom:1px solid rgba(255,255,255,.07); background:#151b25; }.server-console-card h3 { margin:0; font-size:14px; }.server-console-card header small { display:block; margin-top:4px; color:#778397; font-size:10px; }.server-console-live { display:inline-flex; align-items:center; gap:7px; color:#8f9bad; font-size:10px; }.server-console-live::before { width:7px; height:7px; border-radius:50%; background:#ffc15d; box-shadow:0 0 9px rgba(255,193,93,.45); content:''; }
.server-console-window { min-height:180px; padding:16px 18px; overflow:auto; color:#a9b4c6; background:radial-gradient(circle at 78% 0,rgba(112,83,219,.09),transparent 34%),#080c12; font:11px/1.75 Consolas,'Courier New',monospace; }.server-console-window p { margin:0; }.server-console-window time { margin-right:10px; color:#566175; }.server-console-window b { margin-right:7px; color:#b9a4ff; }.server-console-window b.is-good { color:#4ddd9a; }.server-console-window b.is-warn { color:#ffc15d; }
.server-console-input { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; min-height:54px; padding:8px 10px 8px 16px; border-top:1px solid rgba(255,255,255,.07); color:#7962df; background:#10151e; }.server-console-input input { min-width:0; border:0; color:#8c97aa; background:transparent; font:11px Consolas,'Courier New',monospace; }.server-console-input input:focus { outline:0; }.server-console-input .btn { min-height:34px; }
.server-resources-card { padding:18px; }.server-resource-head,.server-resource-row { display:grid; grid-template-columns:9px minmax(180px,1.1fr) minmax(210px,1.5fr) 92px 70px; align-items:center; gap:12px; }.server-resource-head { padding:0 12px 9px; color:var(--text-faint); font-size:9px; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }.server-resource-list { display:grid; max-height:510px; overflow:auto; }.server-resource-row { min-height:57px; padding:9px 12px; border-top:1px solid rgba(151,166,196,.1); }.server-resource-row:hover { background:rgba(132,104,246,.055); }.server-resource-state { width:8px; height:8px; border-radius:50%; background:#798497; }.server-resource-state.is-started { background:#36d58f; box-shadow:0 0 9px rgba(54,213,143,.38); }.server-resource-state.is-stopped,.server-resource-state.is-missing { background:#ff5f7b; }.server-resource-state.is-starting,.server-resource-state.is-stopping { background:#ffbd59; }.server-resource-name { min-width:0; }.server-resource-name strong,.server-resource-name small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.server-resource-name strong { font-size:12px; }.server-resource-name small { margin-top:4px; color:var(--text-faint); font-size:10px; }.server-resource-row code { overflow:hidden; padding:5px 7px; border-radius:6px; color:#9eabc0; background:rgba(5,9,15,.35); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.server-resource-pill { display:inline-flex; width:max-content; padding:4px 7px; border:1px solid var(--line); border-radius:999px; color:var(--text-faint); font-size:9px; font-weight:750; text-transform:uppercase; }.server-resource-pill.is-started { border-color:rgba(54,213,143,.38); color:#43dc98; background:rgba(54,213,143,.08); }.server-resource-pill.is-stopped,.server-resource-pill.is-missing { border-color:rgba(255,95,123,.38); color:#ff7089; background:rgba(255,95,123,.07); }.server-resource-pill.is-starting,.server-resource-pill.is-stopping { border-color:rgba(255,189,89,.4); color:#ffc66d; }.server-resource-version { color:var(--text-faint); font-size:10px; }
@media (max-width:980px) { .server-detail-grid { grid-template-columns:1fr; }.server-detail-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }.server-resource-head,.server-resource-row { grid-template-columns:9px minmax(150px,1fr) minmax(180px,1.3fr) 85px; }.server-resource-version,.server-resource-head span:last-child { display:none; } }
@media (max-width:680px) { .server-detail-hero { min-height:280px; padding:22px; align-items:flex-end; flex-direction:column; justify-content:flex-end; }.server-detail-hero-copy { width:100%; }.server-detail-controls { width:100%; justify-content:flex-start; }.server-detail-controls .btn { flex:1; }.server-detail-stats { grid-template-columns:1fr 1fr; }.server-resource-head { display:none; }.server-resource-row { grid-template-columns:8px minmax(0,1fr) auto; gap:9px; }.server-resource-row code,.server-resource-version { display:none; } }

/* FiveM-Ressourcenverwaltung: Ordnergruppen, Suche und sichere Aktionen. */
.server-resource-manager { padding:0; overflow:hidden; }
.server-resource-manager-head { display:flex; min-height:76px; padding:15px 18px; align-items:center; justify-content:space-between; gap:18px; border-bottom:1px solid var(--line); background:linear-gradient(105deg,rgba(116,86,224,.1),rgba(255,255,255,.018)); }
.server-resource-manager-head h3 { margin:0; font-size:16px; }.server-resource-manager-head small { display:block; margin-top:5px; color:var(--text-faint); font-size:10px; }
.server-resource-manager-head label { display:flex; width:min(390px,42vw); min-height:40px; padding:0 12px; align-items:center; gap:9px; border:1px solid var(--line-strong); border-radius:10px; color:var(--text-faint); background:rgba(7,12,20,.42); }
.server-resource-manager-head label:focus-within { border-color:var(--accent); box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 14%,transparent); }.server-resource-search { width:100%; border:0; outline:0; color:var(--text); background:transparent; font-size:11px; }
.server-resource-groups { display:grid; gap:12px; padding:15px; }.server-resource-group { overflow:hidden; border:1px solid rgba(151,166,196,.14); border-radius:12px; background:rgba(8,13,21,.22); }
.server-resource-group > header { display:flex; min-height:48px; padding:10px 13px; align-items:center; justify-content:space-between; gap:14px; border-bottom:1px solid rgba(151,166,196,.12); background:linear-gradient(90deg,rgba(115,86,218,.12),rgba(255,255,255,.018)); }.server-resource-group > header > div { display:flex; align-items:center; gap:9px; color:#cfc3ff; }.server-resource-group > header strong { color:var(--text); font-size:12px; }.server-resource-group > header > span { padding:4px 7px; border:1px solid var(--line); border-radius:999px; color:var(--text-faint); font-size:9px; }
.server-resource-manager-row { display:grid; grid-template-columns:9px minmax(180px,1.1fr) minmax(220px,1.45fr) 90px 104px; min-height:60px; padding:9px 13px; align-items:center; gap:12px; border-top:1px solid rgba(151,166,196,.09); }.server-resource-manager-row:first-child { border-top:0; }.server-resource-manager-row:hover { background:rgba(127,95,239,.055); }.server-resource-manager-row code { overflow:hidden; padding:5px 7px; border-radius:6px; color:#99a6ba; background:rgba(4,8,14,.35); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.server-resource-actions { display:flex; justify-content:flex-end; gap:5px; }.server-resource-action { display:grid; width:29px; height:29px; padding:0; place-items:center; border:1px solid var(--line); border-radius:8px; color:var(--text-dim); background:rgba(9,14,22,.5); cursor:pointer; transition:.15s; }.server-resource-action:not(:disabled):hover { transform:translateY(-1px); }.server-resource-action.is-start:not(:disabled) { border-color:rgba(54,213,143,.38); color:#48dd9b; }.server-resource-action.is-restart:not(:disabled) { border-color:rgba(255,189,89,.38); color:#ffc66c; }.server-resource-action.is-stop:not(:disabled) { border-color:rgba(255,95,123,.4); color:#ff728b; }.server-resource-action:disabled { cursor:not-allowed; opacity:.25; }
@media (max-width:900px) { .server-resource-manager-row { grid-template-columns:9px minmax(160px,1fr) minmax(170px,1.1fr) 96px; }.server-resource-manager-row > .server-resource-pill { display:none; } }
@media (max-width:680px) { .server-resource-manager-head { align-items:stretch; flex-direction:column; }.server-resource-manager-head label { width:100%; }.server-resource-manager-row { grid-template-columns:8px minmax(0,1fr) auto; gap:9px; }.server-resource-manager-row code,.server-resource-manager-row > .server-resource-pill { display:none; }.server-resource-actions { min-width:98px; } }
.mc-note { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text-dim); background: var(--surface-2); font-size: 12px; }
/* Minecraft-Plugins: Kennzahlen, Vergleich Dev/Live, Kacheln je Server */
.mc-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.mc-stat { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--text-dim); text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; }
.mc-stat:hover { transform: translateY(-1px); border-color: var(--accent-line); }
.mc-stat strong { color: var(--text); font-size: 26px; line-height: 1.1; }
.mc-stat span { font-size: 12px; }
.mc-stat.done strong { color: var(--good); } .mc-stat.warn strong { color: var(--warn); } .mc-stat.dev strong { color: #7da7ff; } .mc-stat.live strong { color: #c49aff; }
.mc-stat.is-active { border-color: var(--accent); background: var(--accent-soft); }
.mc-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.mc-search { width: 240px; max-width: 100%; }
.mc-compare td { vertical-align: middle; }
.mc-row.dev td:first-child { box-shadow: inset 3px 0 0 #7da7ff; } .mc-row.live td:first-child { box-shadow: inset 3px 0 0 #c49aff; } .mc-row.version td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
.mc-plugin-name { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mc-plugin-name > div { min-width: 0; }
.mc-badge { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 9px; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.mc-plugin-desc { display: block; max-width: 380px; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-version-cell { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.mc-version { display: inline-block; padding: 2px 7px; border-radius: 6px; background: var(--surface-3); color: var(--text); font: 600 11.5px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.mc-version.off { opacity: .55; text-decoration: line-through; }
.mc-missing { color: var(--text-faint); }
.mc-pill.dev { color: #9fbcff; background: rgba(125, 167, 255, .13); } .mc-pill.live { color: #d3b3ff; background: rgba(196, 154, 255, .13); }
.mc-subservers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.mc-plugin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.mc-plugin { display: flex; flex-direction: column; gap: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); transition: border-color .15s; }
.mc-plugin:hover { border-color: var(--accent-line); }
.mc-plugin.is-off { opacity: .6; }
.mc-plugin .mc-plugin-name strong, .mc-plugin .mc-plugin-name a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-plugin .mc-version { margin-top: 3px; }
.mc-plugin-text { display: -webkit-box; overflow: hidden; color: var(--text-dim); font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mc-plugin-note { color: var(--text); font-style: italic; }
@media (max-width: 900px) { .mc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mc-search { width: 100%; } }

/* Design-Auswahl im Profilmenü (gilt für alle Designs). */
.pop-label { padding: 8px 11px 4px; color: var(--text-faint); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pop-item > span { display: grid; text-align: left; }
.pop-hint { color: var(--text-faint); font-size: 11px; font-weight: 500; }
.pop-item.is-current { color: var(--text); background: var(--accent-soft); }

/* Nur im Design "Nova" sichtbar (siehe design-nova.css). */
.page-head, .rail-site { display: none; }
