/* BER-virtual – Profilseite (Bereich unter dem Kopf). Präfix pbx- */
.pbx {
  --pbx-red: #d11f35;
  --pbx-red-d: #8f1424;
  --pbx-red-s: #fdecee;
  --pbx-ink: #14151a;
  --pbx-ink2: #4a4d57;
  --pbx-mute: #8a8d99;
  --pbx-line: #ececf3;
  --pbx-bg: #ffffff;
  --pbx-soft: #f6f6fb;
  --pbx-ok: #14a06b;
  --pbx-warn: #e3920b;
  --pbx-bad: #d11f35;
  --pbx-r: 16px;
  --pbx-shadow: 0 1px 2px rgba(20, 21, 26, .04), 0 8px 24px -12px rgba(20, 21, 26, .12);
  font-family: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Inter, Roboto, Arial, sans-serif;
  color: var(--pbx-ink);
  font-size: 14px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.pbx *, .pbx *::before, .pbx *::after { box-sizing: border-box; }
.pbx a { color: inherit; text-decoration: none; }
.pbx h2, .pbx h3, .pbx h4 { margin: 0; color: var(--pbx-ink); }
.pbx svg { display: block; }
.pbx .pbx-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Karten ---------- */
.pbx-card { background: var(--pbx-bg); border: 1px solid var(--pbx-line); border-radius: var(--pbx-r); box-shadow: var(--pbx-shadow); padding: 22px; min-width: 0; }
.pbx-col > .pbx-card + .pbx-card { margin-top: 20px; }
.pbx-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pbx-head h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.pbx-head h3 .pbx-dot { width: 30px; height: 30px; border-radius: 9px; background: var(--pbx-red-s); color: var(--pbx-red); display: grid; place-items: center; }
.pbx-head h3 .pbx-dot .pbx-i { width: 16px; height: 16px; }
.pbx-head small { color: var(--pbx-mute); font-size: 12.5px; font-weight: 500; }
.pbx-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pbx-mute); }

/* ---------- Werkzeugleiste (nur eigenes Profil) ---------- */
.pbx-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding: 12px 14px 12px 20px; background: var(--pbx-bg); border: 1px solid var(--pbx-line); border-radius: 14px; box-shadow: var(--pbx-shadow); }
.pbx-bar-l { display: flex; align-items: center; gap: 10px; color: var(--pbx-ink2); font-size: 13px; }
.pbx-bar-l b { color: var(--pbx-ink); }
.pbx-live { width: 8px; height: 8px; border-radius: 50%; background: var(--pbx-ok); box-shadow: 0 0 0 4px rgba(20, 160, 107, .15); }
.pbx-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pbx-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; font-size: 13px; font-weight: 600; border: 1px solid var(--pbx-line); background: #fff; color: var(--pbx-ink) !important; transition: .15s ease; cursor: pointer; white-space: nowrap; }
.pbx-btn:hover { border-color: #d9d9e6; background: var(--pbx-soft); }
.pbx-btn.is-red { background: var(--pbx-red); border-color: var(--pbx-red); color: #fff !important; box-shadow: 0 6px 16px -8px rgba(209, 31, 53, .8); }
.pbx-btn.is-red:hover { background: #b9192d; }
.pbx-btn .pbx-i { width: 16px; height: 16px; }

/* ---------- Kennzahlen ---------- */
.pbx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.pbx-kpi { position: relative; overflow: hidden; padding: 20px 22px 0; display: flex; flex-direction: column; }
.pbx-kpi-top { display: flex; align-items: center; justify-content: space-between; }
.pbx-kpi-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--pbx-red-s); color: var(--pbx-red); }
.pbx-kpi.is-dark { background: linear-gradient(140deg, #1b1c22 0%, #2a1217 100%); border-color: #26272e; color: #fff; }
.pbx-kpi.is-dark .pbx-kpi-ico { background: rgba(255, 255, 255, .1); color: #fff; }
.pbx-kpi.is-dark .pbx-kpi-val, .pbx-kpi.is-dark .pbx-kpi-lbl { color: #fff; }
.pbx-kpi.is-dark .pbx-kpi-lbl { opacity: .7; }
.pbx-kpi-lbl { margin-top: 16px; font-size: 12.5px; font-weight: 600; color: var(--pbx-mute); }
.pbx-kpi-val { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 2px; color: var(--pbx-ink); }
.pbx-kpi-val small { font-size: 15px; font-weight: 700; letter-spacing: 0; margin-left: 3px; color: var(--pbx-mute); }
.pbx-kpi.is-dark .pbx-kpi-val small { color: rgba(255, 255, 255, .6); }
.pbx-trend .pbx-i { width: 12px; height: 12px; stroke-width: 2.4; }
.pbx-trend { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #e8f6f0; color: var(--pbx-ok); }
.pbx-trend.is-down { background: #fdeeee; color: var(--pbx-bad); }
.pbx-trend.is-flat { background: var(--pbx-soft); color: var(--pbx-mute); }
.pbx-kpi.is-dark .pbx-trend { background: rgba(255, 255, 255, .12); color: #fff; }
.pbx-spark { margin: 14px -22px 0; height: 46px; }
.pbx-spark svg { width: 100%; height: 46px; }

.pbx-card.pbx-metrics { padding: 0; }
.pbx-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-bottom: 20px; padding: 0; overflow: hidden; }
.pbx-metric { padding: 16px 18px; border-left: 1px solid var(--pbx-line); min-width: 0; }
.pbx-metric:first-child { border-left: 0; }
.pbx-metric span { display: block; font-size: 12px; color: var(--pbx-mute); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbx-metric b { display: block; font-size: 18px; font-weight: 750; letter-spacing: -.01em; margin-top: 2px; white-space: nowrap; }
.pbx-metric b em { font-style: normal; font-size: 12px; color: var(--pbx-mute); font-weight: 600; margin-left: 2px; }

/* ---------- Raster ---------- */
.pbx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }

/* ---------- Aktivität ---------- */
.pbx-seg { display: inline-flex; padding: 3px; background: var(--pbx-soft); border: 1px solid var(--pbx-line); border-radius: 10px; }
.pbx-seg button { border: 0; background: transparent; font: inherit; font-size: 12.5px; font-weight: 650; color: var(--pbx-ink2); padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.pbx-seg button.is-on { background: #fff; color: var(--pbx-ink); box-shadow: 0 1px 3px rgba(20, 21, 26, .12); }
.pbx-chart { position: relative; height: 210px; }
.pbx-chart svg { width: 100%; height: 100%; overflow: visible; }
.pbx-chart .pbx-bars rect { transition: opacity .15s; }
.pbx-chart .pbx-bars g:hover rect.b { opacity: .8; }
.pbx-chart text { font-family: inherit; font-size: 11px; fill: var(--pbx-mute); }
.pbx-chart .v { font-size: 11px; font-weight: 700; fill: var(--pbx-ink); }

.pbx-heat-wrap { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--pbx-line); }
.pbx-heat-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 12.5px; color: var(--pbx-ink2); }
.pbx-heat-top b { color: var(--pbx-ink); }
.pbx-heat { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 1fr); gap: 3px; }
.pbx-heat i { display: block; aspect-ratio: 1; border-radius: 3px; background: #eef0f4; }
.pbx-heat i.l1 { background: #f8c7cd; }
.pbx-heat i.l2 { background: #ef8592; }
.pbx-heat i.l3 { background: #d11f35; }
.pbx-heat i.l4 { background: #8f1424; }
.pbx-heat i.x { visibility: hidden; }
.pbx-heat-legend { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--pbx-mute); }
.pbx-heat-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* ---------- Auszeichnungen ---------- */
.pbx-awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px; }
.pbx-award { position: relative; text-align: center; padding: 16px 10px 12px; border-radius: 14px; background: linear-gradient(180deg, #fbfbfe 0%, #f3f3f9 100%); border: 1px solid var(--pbx-line); transition: transform .2s ease, box-shadow .2s ease; }
.pbx-award:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgba(20, 21, 26, .35); }
.pbx-award img { width: 78px; height: 78px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(20, 21, 26, .18)); }
.pbx-award b { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 700; line-height: 1.25; min-height: 31px; }
.pbx-award span { display: block; margin-top: 4px; font-size: 11px; color: var(--pbx-mute); }
.pbx-award.is-new::after { content: "NEU"; position: absolute; top: 8px; right: 8px; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--pbx-red); padding: 2px 6px; border-radius: 99px; }
.pbx-empty { padding: 26px; text-align: center; color: var(--pbx-mute); background: var(--pbx-soft); border-radius: 12px; font-size: 13px; }

/* ---------- Karte ---------- */
.pbx-map-card { padding: 0; overflow: hidden; }
.pbx-map-card .pbx-head { padding: 20px 22px 0; }
.pbx-map { position: relative; height: 380px; margin-top: 4px; background: #eef1f5; }
.pbx-map > .leaflet-container, .pbx-map > .pbx-map-el { position: absolute; inset: 0; }
.pbx-map-stats { position: absolute; left: 16px; bottom: 16px; z-index: 500; display: flex; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.pbx-map-stats div { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(20, 21, 26, .06); border-radius: 12px; padding: 8px 12px; box-shadow: 0 6px 18px -10px rgba(20, 21, 26, .35); }
.pbx-map-stats b { display: block; font-size: 17px; font-weight: 800; line-height: 1.1; }
.pbx-map-stats span { font-size: 11px; color: var(--pbx-mute); font-weight: 600; }

/* ---------- Logbuch ---------- */
.pbx-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--pbx-line); margin: -4px 0 6px; overflow-x: auto; }
.pbx-tabs button { border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 650; color: var(--pbx-mute); padding: 10px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.pbx-tabs button.is-on { color: var(--pbx-ink); border-bottom-color: var(--pbx-red); }
.pbx-tabs button em { font-style: normal; font-size: 11px; background: var(--pbx-soft); color: var(--pbx-ink2); padding: 1px 7px; border-radius: 99px; margin-left: 6px; }
.pbx-pane { display: none; }
.pbx-pane.is-on { display: block; }

.pbx-log { width: 100%; border-collapse: collapse; }
.pbx-log td { padding: 12px 8px; border-bottom: 1px solid var(--pbx-line); vertical-align: middle; white-space: nowrap; }
.pbx-log tr:last-child td { border-bottom: 0; }
.pbx-log tr:hover td { background: #fafafd; }
.pbx-log th { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pbx-mute); text-align: left; padding: 10px 8px; }
.pbx-fn { font-weight: 750; }
.pbx-fn small { display: block; font-weight: 500; color: var(--pbx-mute); font-size: 11.5px; }
.pbx-route { display: flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: .02em; }
.pbx-route > div { min-width: 74px; }
.pbx-route .ln { position: relative; width: 54px; height: 2px; background: repeating-linear-gradient(90deg, #cfd1db 0 4px, transparent 4px 7px); }
.pbx-route .ln::after { content: ""; position: absolute; right: -2px; top: -3px; border: 4px solid transparent; border-left: 6px solid #cfd1db; border-right: 0; }
.pbx-route small { display: block; font-weight: 500; color: var(--pbx-mute); font-size: 11px; letter-spacing: 0; }
.pbx-ac { color: var(--pbx-ink2); }
.pbx-ac b { color: var(--pbx-ink); font-weight: 650; }
.pbx-lr { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12.5px; padding: 4px 10px; border-radius: 99px; }
.pbx-lr::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pbx-lr.g { background: #e8f6f0; color: #0f8a5b; }
.pbx-lr.o { background: #fff4e0; color: #b46e00; }
.pbx-lr.r { background: #fdecee; color: #c01a2e; }
.pbx-lr.n { background: var(--pbx-soft); color: var(--pbx-mute); }
.pbx-score { position: relative; width: 34px; height: 34px; }
.pbx-score svg { width: 34px; height: 34px; transform: rotate(-90deg); }
.pbx-score b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: -.03em; }
.pbx-date { color: var(--pbx-mute); font-size: 12.5px; text-align: right; }
.pbx-more { display: flex; justify-content: center; margin-top: 14px; }

.pbx-cmp { width: 100%; border-collapse: separate; border-spacing: 0; }
.pbx-cmp th, .pbx-cmp td { padding: 12px 10px; text-align: right; border-bottom: 1px solid var(--pbx-line); white-space: nowrap; }
.pbx-cmp th { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pbx-mute); }
.pbx-cmp th:first-child, .pbx-cmp td:first-child { text-align: left; color: var(--pbx-ink2); font-weight: 600; }
.pbx-cmp td { font-weight: 700; }
.pbx-cmp td.is-hi { color: var(--pbx-red); }
.pbx-cmp tr:last-child td { border-bottom: 0; }
.pbx-cmp .c1 { background: #fbf6f7; }

/* ---------- Seitenleiste ---------- */
.pbx-id { padding: 0; overflow: hidden; }
.pbx-id-top { position: relative; padding: 20px 22px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #e0475a 0%, #b5182b 45%, #6f0f1c 100%); }
.pbx-id-top::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px); pointer-events: none; }
.pbx-id-row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pbx-id-top .pbx-eyebrow { color: rgba(255, 255, 255, .7); }
.pbx-id-ident { font-size: 28px; font-weight: 800; letter-spacing: .02em; line-height: 1.1; margin-top: 4px; }
.pbx-id-rank { margin-top: 6px; font-size: 13px; font-weight: 600; opacity: .92; display: flex; align-items: center; gap: 8px; }
.pbx-id-rank img { height: 18px; width: auto; }
.pbx-id-chip { width: 44px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #f6d98a, #c9a043); position: relative; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.pbx-id-chip::before { content: ""; position: absolute; inset: 8px 6px; border: 1px solid rgba(0, 0, 0, .22); border-radius: 3px; }
.pbx-id-mrz { position: relative; z-index: 1; margin-top: 16px; font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: 11px; letter-spacing: .18em; opacity: .55; white-space: nowrap; overflow: hidden; }
.pbx-list { list-style: none; margin: 0; padding: 8px 22px 14px; }
.pbx-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--pbx-line); font-size: 13.5px; }
.pbx-list li:last-child { border-bottom: 0; }
.pbx-list li > span { display: flex; align-items: center; gap: 10px; color: var(--pbx-ink2); white-space: nowrap; }
.pbx-list li > span .pbx-i { width: 16px; height: 16px; color: var(--pbx-mute); }
.pbx-list li > b { font-weight: 700; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbx-list li > b small { color: var(--pbx-mute); font-weight: 500; margin-left: 4px; }
.pbx-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--pbx-soft); border: 1px solid var(--pbx-line); color: var(--pbx-ink) !important; }
a.pbx-tag:hover { border-color: #d3d4e0; }
.pbx-tag.is-red { background: var(--pbx-red-s); border-color: #f7cdd3; color: var(--pbx-red) !important; }
.pbx-tag.is-vatsim { background: #eaf3ff; border-color: #cfe2ff; color: #1b5fd1 !important; }
.pbx-tag.is-ivao { background: #e9f8fb; border-color: #c6edf4; color: #0b7d95 !important; }

.pbx-about { margin: 0 22px 18px; padding: 14px 16px; border-radius: 12px; background: var(--pbx-soft); color: var(--pbx-ink2); font-size: 13px; position: relative; }
.pbx-about::before { content: "\201C"; position: absolute; top: -8px; left: 10px; font-size: 40px; font-family: Georgia, serif; color: var(--pbx-red); line-height: 1; }
.pbx-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 22px 20px; }

/* Landungen */
.pbx-land-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pbx-land-big { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pbx-land-big small { font-size: 13px; color: var(--pbx-mute); font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.pbx-gauge { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #8f1424 0%, #d11f35 22%, #f0a12b 45%, #19b37a 75%, #0f8a5b 100%); margin: 6px 0 6px; }
.pbx-gauge i { position: absolute; top: -5px; width: 4px; height: 20px; border-radius: 3px; background: var(--pbx-ink); box-shadow: 0 0 0 3px #fff; transform: translateX(-50%); }
.pbx-gauge-l { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--pbx-mute); font-weight: 600; }
.pbx-dist { margin-top: 18px; display: grid; gap: 9px; }
.pbx-dist div { display: grid; grid-template-columns: 92px 1fr 34px; align-items: center; gap: 10px; font-size: 12px; color: var(--pbx-ink2); }
.pbx-dist div em { font-style: normal; text-align: right; font-weight: 700; color: var(--pbx-ink); }
.pbx-track { height: 8px; border-radius: 99px; background: var(--pbx-soft); overflow: hidden; }
.pbx-track > i { display: block; height: 100%; border-radius: 99px; }
.pbx-best { margin-top: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(90deg, #fff8e6, #fffdf6); border: 1px solid #f6e5b4; font-size: 12.5px; }
.pbx-best .pbx-i { color: #c08a00; width: 22px; height: 22px; }
.pbx-best b { display: block; font-size: 14px; }

/* Flotte / Ziele */
.pbx-rows { display: grid; gap: 12px; }
.pbx-rowbar { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 13px; }
.pbx-rowbar b { font-weight: 700; }
.pbx-rowbar b small { color: var(--pbx-mute); font-weight: 500; margin-left: 6px; }
.pbx-rowbar em { font-style: normal; color: var(--pbx-ink2); font-weight: 700; }
.pbx-rowbar .pbx-track { grid-column: 1 / -1; height: 6px; }
.pbx-rowbar .pbx-track > i { background: linear-gradient(90deg, #ef8592, #d11f35); }
.pbx-split { height: 1px; background: var(--pbx-line); margin: 18px 0; }

/* Verbindungen */
.pbx-links { display: grid; gap: 8px; }
.pbx-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--pbx-line); transition: .15s; }
.pbx-link:hover { background: var(--pbx-soft); }
.pbx-link .lg { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.pbx-link .lg svg { width: 18px; height: 18px; fill: currentColor; }
.pbx-link b { display: block; font-size: 13px; }
.pbx-link span { display: block; font-size: 12px; color: var(--pbx-mute); }
.pbx-link .go { margin-left: auto; color: var(--pbx-mute); }

/* Privat */
.pbx-private { border-style: dashed; background: #fcfcfe; }
.pbx-secret { display: flex; align-items: center; gap: 8px; }
.pbx-secret code { font-family: Consolas, Menlo, monospace; font-size: 12px; background: var(--pbx-soft); padding: 4px 8px; border-radius: 6px; color: var(--pbx-ink); max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbx-icobtn { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--pbx-line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--pbx-ink2); padding: 0; }
.pbx-icobtn:hover { background: var(--pbx-soft); }
.pbx-icobtn .pbx-i { width: 14px; height: 14px; }
.pbx-discord-wrap .card { margin: 0 !important; box-shadow: none !important; border: 0 !important; }
.pbx-discord-wrap .dc-card { margin: 0 !important; padding: 10px 12px; border: 1px solid var(--pbx-line); border-radius: 12px; background: #fff; display: block; }
.pbx-discord-wrap .dc-card > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; }
.pbx-discord-wrap .dc-head { grid-column: 1 / -1; margin: 0 0 4px !important; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5865f2; }
.pbx-discord-wrap .dc-who { display: flex; align-items: center; gap: 12px; margin: 0 !important; min-width: 0; }
.pbx-discord-wrap .dc-who img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; flex: none; }
.pbx-discord-wrap .dc-ok { font-size: 12px; color: var(--pbx-ok); font-weight: 600; }
.pbx-discord-wrap .fw-semibold { font-size: 13px; font-weight: 700; }
.pbx-discord-wrap .text-muted { color: var(--pbx-mute) !important; font-weight: 500; }
.pbx-discord-wrap form { margin: 0; }
.pbx-discord-wrap .dc-link { border: 0; background: transparent; padding: 4px 0; font: inherit; font-size: 12px; font-weight: 600; color: var(--pbx-mute); cursor: pointer; }
.pbx-discord-wrap .dc-link:hover { color: var(--pbx-red); }

/* ---------- Responsiv ---------- */
@media (max-width: 1399.98px) {
  .pbx-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pbx-metric:nth-child(4) { border-left: 0; }
  .pbx-metric:nth-child(n+4) { border-top: 1px solid var(--pbx-line); }
}
@media (max-width: 1199.98px) {
  .pbx-grid { grid-template-columns: minmax(0, 1fr); }
  .pbx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .pbx-card { padding: 18px; }
  .pbx-kpis { gap: 12px; }
  .pbx-kpi { padding: 16px 16px 0; }
  .pbx-kpi-val { font-size: 26px; }
  .pbx-spark { margin: 10px -16px 0; }
  .pbx-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pbx-metric:nth-child(odd) { border-left: 0; }
  .pbx-metric:nth-child(4) { border-left: 1px solid var(--pbx-line); }
  .pbx-metric:nth-child(n+3) { border-top: 1px solid var(--pbx-line); }
  .pbx-map { height: auto; }
  .pbx-map > .pbx-map-el { position: relative; height: 280px; }
  .pbx-map-stats { position: static; padding: 12px 18px 18px; background: #fff; }
  .pbx-map-stats div { box-shadow: none; background: var(--pbx-soft); }
  .pbx-route { gap: 6px; }
  .pbx-route > div { min-width: 0; }
  .pbx-route .ln { width: 16px; }
  .pbx-log td, .pbx-log th { padding-left: 5px; padding-right: 5px; }
  .pbx-hide-sm { display: none; }
  .pbx-heat i:nth-child(-n+189) { display: none; }
  .pbx-chart text { font-size: 10px; }
  .pbx-log .hide-sm { display: none; }
  .pbx-bar { padding: 12px; }
  .pbx-actions { width: 100%; }
  .pbx-btn { flex: 1 1 auto; justify-content: center; }
}
