/* blanc – Design. Farben stehen als Variablen oben; Standard-Thema: crimson („blanc Rot“). */
:root, :root[data-theme="blackred"] {
  --bg: #060405;
  --g1: rgba(150, 20, 42, 0.36);
  --g2: rgba(95, 10, 26, 0.32);
  --g3: rgba(255, 60, 80, 0.05);
  --panel: rgba(17, 11, 13, 0.82);
  --panel-2: rgba(30, 19, 22, 0.72);
  --panel-3: rgba(44, 26, 31, 0.7);
  --solid: #130b0e;
  --modal-bg: linear-gradient(180deg, #1d0f13 0%, #120a0c 100%);
  --hover: rgba(255, 255, 255, 0.045);
  --active: rgba(229, 72, 77, 0.14);
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --input: rgba(0, 0, 0, 0.32);
  --text: #ece6e7;
  --strong: #ffffff;
  --muted: #ab9fa2;
  --faint: #776b6e;
  --accent: #e5484d;
  --accent-hi: #f25a5f;
  --accent-ink: #ffffff;
  --accent-soft: rgba(229, 72, 77, 0.16);
  --green: #2fbf71;
  --red: #ef4b4b;
  --yellow: #f0b232;
  --mention: rgba(240, 178, 50, 0.07);
  --stage: #080506;
  --fs: 15px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
:root[data-theme="crimson"] {
  --bg: #080305;
  --g1: transparent;
  --g2: transparent;
  --g3: transparent;
  --panel: #1c0d12;
  --panel-2: #26121a;
  --panel-3: #2e1620;
  --solid: #1c0d12;
  --modal-bg: #1c0d12;
  --hover: rgba(255, 236, 240, 0.045);
  --active: #331822;
  --line: #2b141c;
  --line-2: #3a1a26;
  --input: #2e1620;
  --text: #ece4e7;
  --muted: #ab9aa0;
  --faint: #7b676d;
  --accent: #ef4350;
  --accent-hi: #ff5864;
  --accent-soft: rgba(239, 67, 80, 0.18);
  --stage: #0e0609;
  --rail-bg: #12070a;
  --side-bg: linear-gradient(90deg, #13080b 0%, #16090d 100%);
  --main-bg: #1c0d12;
  --card: #26121a;
  --flat: 1;
}
:root[data-theme="black"] {
  --bg: #040404;
  --g1: rgba(255, 255, 255, 0.05);
  --g2: rgba(255, 255, 255, 0.03);
  --g3: rgba(255, 255, 255, 0.015);
  --panel: rgba(14, 14, 16, 0.88);
  --panel-2: rgba(28, 28, 31, 0.78);
  --panel-3: rgba(40, 40, 44, 0.75);
  --solid: #101012;
  --modal-bg: linear-gradient(180deg, #19191c 0%, #0f0f11 100%);
  --active: rgba(255, 255, 255, 0.09);
  --muted: #a3a3aa;
  --faint: #6c6c73;
  --accent: #f4f3ee;
  --accent-hi: #ffffff;
  --accent-ink: #111113;
  --accent-soft: rgba(255, 255, 255, 0.1);
  --stage: #070708;
}
:root[data-theme="red"] {
  --bg: #0b0406;
  --g1: rgba(210, 26, 56, 0.5);
  --g2: rgba(150, 14, 36, 0.46);
  --g3: rgba(255, 70, 90, 0.08);
  --panel: rgba(30, 10, 15, 0.8);
  --panel-2: rgba(50, 17, 25, 0.7);
  --panel-3: rgba(66, 22, 32, 0.7);
  --solid: #1c0a0f;
  --modal-bg: linear-gradient(180deg, #2a0f17 0%, #170a0d 100%);
  --active: rgba(239, 75, 90, 0.2);
  --accent: #ef4b5a;
  --accent-hi: #ff5d6b;
  --accent-soft: rgba(239, 75, 90, 0.2);
  --muted: #b9a1a6;
  --faint: #86686e;
}

:root[data-theme="ocean"] {
  --bg: #03070d;
  --g1: rgba(30,90,180,0.38);
  --g2: rgba(12,50,110,0.36);
  --g3: rgba(80,160,255,0.06);
  --panel: rgba(9,15,26,0.84);
  --panel-2: rgba(18,30,50,0.74);
  --panel-3: rgba(26,42,68,0.72);
  --solid: #08101c;
  --modal-bg: linear-gradient(180deg, #0e1a2c 0%, #081120 100%);
  --active: rgba(59,130,246,0.18);
  --accent: #3b82f6;
  --accent-hi: #5b98f8;
  --accent-ink: #ffffff;
  --accent-soft: rgba(59,130,246,0.18);
  --muted: #9fb0c6;
  --faint: #62748c;
  --stage: #03070d;
}
:root[data-theme="violet"] {
  --bg: #07040d;
  --g1: rgba(120,50,220,0.38);
  --g2: rgba(70,20,140,0.36);
  --g3: rgba(190,120,255,0.06);
  --panel: rgba(16,10,26,0.84);
  --panel-2: rgba(30,20,48,0.74);
  --panel-3: rgba(44,28,68,0.72);
  --solid: #0f0a1a;
  --modal-bg: linear-gradient(180deg, #1a1030 0%, #0e0919 100%);
  --active: rgba(168,85,247,0.18);
  --accent: #a855f7;
  --accent-hi: #b873f8;
  --accent-ink: #ffffff;
  --accent-soft: rgba(168,85,247,0.18);
  --muted: #b1a3c6;
  --faint: #76698a;
  --stage: #07040d;
}
:root[data-theme="forest"] {
  --bg: #030805;
  --g1: rgba(30,140,70,0.32);
  --g2: rgba(10,80,40,0.34);
  --g3: rgba(90,220,140,0.05);
  --panel: rgba(8,18,12,0.84);
  --panel-2: rgba(16,32,22,0.74);
  --panel-3: rgba(24,46,32,0.72);
  --solid: #07120b;
  --modal-bg: linear-gradient(180deg, #0d2015 0%, #08140c 100%);
  --active: rgba(34,197,94,0.16);
  --accent: #22c55e;
  --accent-hi: #3dd474;
  --accent-ink: #04140a;
  --accent-soft: rgba(34,197,94,0.16);
  --muted: #a0b8a8;
  --faint: #64806e;
  --stage: #030805;
}
:root[data-theme="sunset"] {
  --bg: #0d0605;
  --g1: rgba(220,90,30,0.36);
  --g2: rgba(140,30,40,0.36);
  --g3: rgba(255,160,80,0.06);
  --panel: rgba(26,12,9,0.84);
  --panel-2: rgba(46,22,16,0.74);
  --panel-3: rgba(64,30,22,0.72);
  --solid: #170b08;
  --modal-bg: linear-gradient(180deg, #2a130d 0%, #170a07 100%);
  --active: rgba(249,115,22,0.18);
  --accent: #f97316;
  --accent-hi: #fb8a3c;
  --accent-ink: #1c0a02;
  --accent-soft: rgba(249,115,22,0.18);
  --muted: #c4a99c;
  --faint: #8a6c60;
  --stage: #0d0605;
}
:root[data-theme="rose"] {
  --bg: #0d0508;
  --g1: rgba(220,50,140,0.34);
  --g2: rgba(120,20,80,0.36);
  --g3: rgba(255,120,200,0.06);
  --panel: rgba(24,10,17,0.84);
  --panel-2: rgba(44,18,32,0.74);
  --panel-3: rgba(62,26,46,0.72);
  --solid: #160910;
  --modal-bg: linear-gradient(180deg, #29101e 0%, #150910 100%);
  --active: rgba(236,72,153,0.18);
  --accent: #ec4899;
  --accent-hi: #f064aa;
  --accent-ink: #ffffff;
  --accent-soft: rgba(236,72,153,0.18);
  --muted: #c3a2b4;
  --faint: #88687a;
  --stage: #0d0508;
}
:root[data-theme="neon"] {
  --bg: #050508;
  --g1: rgba(20,180,210,0.30);
  --g2: rgba(200,30,160,0.28);
  --g3: rgba(80,240,255,0.06);
  --panel: rgba(8,12,18,0.86);
  --panel-2: rgba(16,26,36,0.76);
  --panel-3: rgba(22,38,52,0.74);
  --solid: #081016;
  --modal-bg: linear-gradient(180deg, #0c1a24 0%, #070d13 100%);
  --active: rgba(34,211,238,0.16);
  --accent: #22d3ee;
  --accent-hi: #4fdcf1;
  --accent-ink: #031a20;
  --accent-soft: rgba(34,211,238,0.16);
  --muted: #9fbcc6;
  --faint: #5f7d88;
  --stage: #050508;
}
:root[data-theme="gold"] {
  --bg: #080705;
  --g1: rgba(200,150,20,0.26);
  --g2: rgba(120,80,10,0.30);
  --g3: rgba(255,210,80,0.05);
  --panel: rgba(18,15,9,0.86);
  --panel-2: rgba(34,29,17,0.76);
  --panel-3: rgba(48,40,22,0.74);
  --solid: #110e07;
  --modal-bg: linear-gradient(180deg, #1f190c 0%, #110d06 100%);
  --active: rgba(234,179,8,0.16);
  --accent: #eab308;
  --accent-hi: #f2c22b;
  --accent-ink: #1a1300;
  --accent-soft: rgba(234,179,8,0.16);
  --muted: #bcb197;
  --faint: #82785e;
  --stage: #080705;
}
:root[data-theme="ice"] {
  --bg: #05080b;
  --g1: rgba(120,200,250,0.24);
  --g2: rgba(60,110,160,0.28);
  --g3: rgba(200,240,255,0.06);
  --panel: rgba(10,15,20,0.86);
  --panel-2: rgba(20,30,40,0.76);
  --panel-3: rgba(30,44,58,0.74);
  --solid: #0a1118;
  --modal-bg: linear-gradient(180deg, #122030 0%, #0a121b 100%);
  --active: rgba(125,211,252,0.16);
  --accent: #7dd3fc;
  --accent-hi: #a0e0fd;
  --accent-ink: #04202e;
  --accent-soft: rgba(125,211,252,0.16);
  --muted: #a8b9c6;
  --faint: #6a7d8b;
  --stage: #05080b;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body {
  color: var(--text);
  font: var(--fs)/1.42 var(--font);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 700px at -6% -12%, var(--g1), transparent 62%),
    radial-gradient(900px 700px at 108% 112%, var(--g2), transparent 60%),
    radial-gradient(700px 500px at 55% 45%, var(--g3), transparent 70%),
    var(--bg);
}
#root { height: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--faint); }
a { color: #8ab4ff; text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--accent-soft); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.09); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.16); }
::-webkit-scrollbar-track { background: transparent; }
[hidden] { display: none !important; }
.ic { width: 20px; height: 20px; flex: none; }
img.logo { display: block; width: 100%; height: auto; user-select: none; }
.vbadge { width: 16px; height: 16px; flex: none; vertical-align: -3px; margin-left: 5px; user-select: none; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.center-h { justify-content: center; }
.col { display: flex; flex-direction: column; }
.gap { gap: 12px; }
.gap-s { gap: 8px; }
.center-v { align-items: center; }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Avatare & Icons ---------- */
.av { --s: 32px; position: relative; width: var(--s); height: var(--s); min-width: var(--s); border-radius: 50%; background: var(--c, #555); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: calc(var(--s) * 0.42); user-select: none; transition: box-shadow 0.12s; }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.av.speaking { box-shadow: 0 0 0 2px var(--solid), 0 0 0 4px var(--green); }
.av .st { position: absolute; right: -2px; bottom: -2px; width: calc(var(--s) * 0.32); height: calc(var(--s) * 0.32); min-width: 10px; min-height: 10px; border-radius: 50%; border: 3px solid var(--solid); background: #6b5f62; }
.av .st.on { background: var(--green); }
.av .st.idle { background: var(--yellow); }
.av .st.dnd { background: var(--red); }
.srv-ic { --s: 40px; width: var(--s); height: var(--s); min-width: var(--s); border-radius: 30%; background: var(--c, #444); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: calc(var(--s) * 0.34); overflow: hidden; }
.srv-ic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons & Eingaben ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; background: var(--panel-3); border: 1px solid var(--line); color: var(--strong); font-weight: 600; transition: background 0.12s, filter 0.12s, transform 0.05s; white-space: nowrap; }
.btn .ic { width: 17px; height: 17px; }
.btn:hover { background: rgba(255, 255, 255, 0.1); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hi); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--strong); background: var(--hover); }
.btn.danger { background: var(--red); border-color: transparent; color: #fff; }
.btn.danger:hover { filter: brightness(1.1); }
.btn.danger-ghost { background: transparent; color: var(--red); border-color: rgba(239, 75, 75, 0.4); }
.btn.danger-ghost:hover { background: rgba(239, 75, 75, 0.1); }
.btn.green { background: var(--green); border-color: transparent; color: #06140c; }
.btn.green:hover { filter: brightness(1.08); }
.btn.small { height: 32px; padding: 0 13px; font-size: 13px; border-radius: 9px; }
.btn.block { width: 100%; }
.input { width: 100%; padding: 10px 12px; border-radius: 10px; background: var(--input); border: 1px solid var(--line); outline: none; transition: border-color 0.12s; }
.input:focus { border-color: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.input { resize: vertical; }
select.input, .pill-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
select option { background: #160c0f; color: var(--text); }
.mono { font-family: var(--mono); font-size: 13px; }
.input.big { font-size: 20px; letter-spacing: 0.06em; text-align: center; }
.label { display: block; margin: 16px 0 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.field .hint { margin-top: 6px; }
.form-error { color: #ff8a8a; font-size: 13.5px; margin-top: 10px; }
.form-error:empty { display: none; }
.link { color: #8ab4ff; cursor: pointer; }
.copy-row { display: flex; gap: 8px; }
.copy-row .input { flex: 1; min-width: 0; }
.range { width: 100%; accent-color: var(--accent); }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--panel-3); border: 1px solid var(--line); color: var(--muted); font-size: 11.5px; font-weight: 600; }
.ib { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--muted); transition: background 0.1s, color 0.1s; flex: none; }
.ib:hover { background: var(--hover); color: var(--strong); }
.ib .ic { width: 19px; height: 19px; }
.ib.red { color: var(--red); }
.ib.on { color: var(--strong); }
.ib.sm { width: 28px; height: 28px; }
.ib.sm .ic { width: 17px; height: 17px; }
.ib.box { width: 34px; height: 34px; background: var(--panel-2); border: 1px solid var(--line); }
.ib.box .ic { width: 17px; height: 17px; }
.ib.box.on { color: var(--accent); border-color: var(--accent-soft); }
.ib.hang { color: var(--strong); }
.ib.hang:hover { background: var(--red); }
.ib.send { color: var(--accent); }
.switch { position: relative; width: 42px; height: 24px; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.14); transition: background 0.15s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); background: var(--accent-ink); }
kbd { display: inline-block; min-width: 26px; text-align: center; padding: 2px 8px; margin-left: 4px; border-radius: 6px; background: var(--panel-3); border: 1px solid var(--line-2); border-bottom-width: 2px; font: 12px var(--mono); color: var(--text); }

/* ---------- Vollbild-Seiten ---------- */
.screen { height: 100%; display: grid; place-items: center; overflow: auto; padding: 32px 16px; }
.card { width: 100%; max-width: 460px; background: var(--modal-bg); border: 1px solid var(--line-2); border-radius: 18px; padding: 32px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55); }
.card.setup { max-width: 560px; }
.card h1 { margin: 18px 0 6px; font-size: 25px; color: var(--strong); letter-spacing: -0.015em; }
.card p { margin: 0 0 6px; }
.card .btn.block, .card .row.gap { margin-top: 20px; }
.card .center { margin-top: 16px; }
.card.center .splash-logo { display: flex; justify-content: center; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--strong); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.brand .logo { width: 34px; }
.forgot { display: inline-block; margin-top: 8px; }
.setup-foot { margin-top: 18px; }
.splash { display: grid; justify-items: center; gap: 18px; }
.splash-logo .logo { width: 84px; animation: pulse 1.4s ease-in-out infinite; filter: drop-shadow(0 6px 30px var(--accent-soft)); }
@keyframes pulse { 50% { transform: scale(0.93); opacity: 0.75; } }
.guide { display: grid; gap: 14px; }
.guide-step { display: flex; gap: 14px; }
.guide-n { width: 28px; height: 28px; min-width: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.guide-t { font-weight: 700; color: var(--strong); margin-bottom: 2px; }
.guide-d { color: var(--muted); font-size: 14px; }
.guide-d code { background: var(--input); padding: 1px 5px; border-radius: 4px; font-family: var(--mono); font-size: 12.5px; }

/* ---------- Grundlayout: schwebende Panels ---------- */
.app { display: flex; gap: 8px; padding: 8px; height: 100%; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(24px) saturate(1.15); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); }
.rail { width: 62px; min-width: 62px; padding: 10px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; overflow-y: auto; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.side { width: 250px; min-width: 250px; display: flex; flex-direction: column; overflow: hidden; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }

/* Linke Leiste */
.rail-item { position: relative; width: 62px; display: flex; justify-content: center; }
.rail-item .pill { position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 0 3px 3px 0; background: var(--strong); transform: translateY(-50%); transition: height 0.15s; }
.rail-item.unread .pill { height: 8px; }
.rail-item:hover .pill { height: 18px; }
.rail-item.active .pill { height: 30px; background: var(--accent); }
.rail-btn { width: 42px; height: 42px; border-radius: 13px; background: var(--c, var(--panel-2)); border: 1px solid var(--line); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; overflow: hidden; transition: box-shadow 0.15s, transform 0.1s, background 0.15s; }
.rail-btn img { width: 100%; height: 100%; object-fit: cover; }
.rail-btn:hover { transform: translateY(-1px); }
.rail-item.active .rail-btn { box-shadow: 0 0 0 2px var(--solid), 0 0 0 4px var(--accent); }
.rail-btn.home { background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 45%, #000) 0%, #0b0607 100%); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.rail-btn.home img.logo { width: 26px; height: 26px; object-fit: contain; }
.rail-btn.add { background: var(--panel-2); color: var(--muted); }
.rail-btn.add .ic { width: 20px; height: 20px; }
.rail-btn.add:hover { color: var(--strong); background: var(--panel-3); }
.rail-item.active .rail-btn.add { color: var(--accent); }
.rail-ic { position: relative; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--faint); flex: none; }
.rail-ic:hover { background: var(--hover); color: var(--strong); }
.rail-ic .ic { width: 19px; height: 19px; }
.rail-ic.has-dot::after { content: ""; position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--solid); }
.rail-sep { width: 26px; height: 1px; background: var(--line-2); margin: 2px 0; flex: none; }
.badge { position: absolute; right: 6px; bottom: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--solid); }
.badge.inline { position: static; box-shadow: none; margin-left: auto; height: 17px; min-width: 17px; font-size: 10.5px; }
.rail-voice { position: absolute; right: 5px; top: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #06140c; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--solid); }
.rail-voice .ic { width: 11px; height: 11px; }

/* Seitenleiste */
.side-top { flex: none; }
.side-brand { display: flex; align-items: center; gap: 9px; padding: 16px 16px 8px; font-weight: 800; color: var(--strong); font-size: 15px; }
.side-brand .logo { width: 20px; }
.side-body { flex: 1; overflow-y: auto; padding-bottom: 10px; }
.side-search { display: flex; align-items: center; gap: 8px; margin: 6px 10px 10px; height: 36px; padding: 0 11px; border-radius: 10px; background: var(--input); border: 1px solid var(--line); color: var(--faint); }
.side-search .ic { width: 15px; height: 15px; }
.side-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 13px; }
.side-search:focus-within { border-color: var(--accent-soft); }
.side-nav { padding: 0 8px; display: grid; gap: 2px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; text-align: left; }
.nav-item .ni-ic { display: grid; }
.nav-item .ic { width: 18px; height: 18px; }
.nav-item:hover { background: var(--hover); color: var(--text); }
.nav-item.active { background: var(--active); color: var(--strong); box-shadow: inset 3px 0 0 var(--accent); }
.side-empty { padding: 10px 16px; color: var(--faint); font-size: 13px; }
.cat { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.cat-toggle { display: flex; align-items: center; gap: 4px; font-weight: 800; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.cat-toggle:hover { color: var(--text); }
.cat-chev .ic { width: 13px; height: 13px; transition: transform 0.15s; }
.cat.closed .cat-chev .ic { transform: rotate(-90deg); }
.cat-add { color: var(--faint); display: grid; place-items: center; }
.cat-add:hover { color: var(--strong); }
.cat-add .ic { width: 15px; height: 15px; }
.dm-list { display: grid; gap: 1px; padding: 0 8px; }
.dm-item { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px; border-radius: 11px; color: var(--muted); cursor: pointer; position: relative; }
.dm-item:hover { background: var(--hover); color: var(--text); }
.dm-item.active { background: var(--active); color: var(--strong); box-shadow: inset 3px 0 0 var(--accent); }
.dm-item.unread .dm-name { color: var(--strong); }
.dm-item.unread::after { content: ""; position: absolute; left: -8px; width: 4px; height: 8px; border-radius: 0 4px 4px 0; background: var(--strong); }
.dm-text { flex: 1; min-width: 0; }
.dm-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; }
.dm-sub { font-size: 12px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-call { color: var(--green); display: grid; }
.dm-call .ic { width: 16px; height: 16px; }
.dm-close { display: none; color: var(--faint); }
.dm-close .ic { width: 16px; height: 16px; }
.dm-item:hover .dm-close { display: grid; }
.dm-close:hover { color: var(--strong); }
.srv-banner { position: relative; height: 104px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 70%, #000) 0%, #0b0607 100%); border-bottom: 1px solid var(--line); }
.srv-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.srv-banner .srv-ic { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45); border: 2px solid rgba(255, 255, 255, 0.15); }
.srv-info { padding: 10px 12px 4px 14px; }
.srv-row { display: flex; align-items: center; gap: 2px; }
.srv-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--strong); font-size: 16px; }
.srv-title .vbadge { margin: 0 0 0 1px; flex: none; }
.srv-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.srv-desc { font-size: 12.5px; color: var(--muted); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.srv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.srv-chips .chip { flex: none; white-space: nowrap; }
.chan { display: flex; align-items: center; gap: 7px; height: 33px; padding: 0 8px; margin: 1px 8px; border-radius: 9px; color: var(--faint); cursor: pointer; position: relative; font-weight: 600; font-size: 14px; }
.chan:hover { background: var(--hover); color: var(--text); }
.chan.active { background: var(--active); color: var(--strong); box-shadow: inset 3px 0 0 var(--accent); }
.chan.active .chan-ic { color: var(--accent); }
.chan.unread { color: var(--strong); }
.chan.unread::before { content: ""; position: absolute; left: -8px; top: 50%; width: 4px; height: 8px; border-radius: 0 4px 4px 0; background: var(--strong); transform: translateY(-50%); }
.chan-ic { display: grid; }
.chan-ic .ic { width: 17px; height: 17px; }
.chan-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chan-timer { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.chan-timer .ic { width: 11px; height: 11px; }
.chan-gear { display: none; color: var(--faint); }
.chan-gear .ic { width: 15px; height: 15px; }
.chan:hover .chan-gear { display: grid; }
.chan:hover .chan-timer { display: none; }
.chan-gear:hover { color: var(--strong); }
.voice-users { padding: 2px 8px 6px 32px; }
.voice-user { display: flex; align-items: center; gap: 8px; height: 29px; padding: 0 6px; border-radius: 8px; font-size: 13.5px; cursor: pointer; }
.voice-user:hover { background: var(--hover); }
.vu-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.vu-icons { display: flex; align-items: center; gap: 4px; color: var(--faint); }
.vu-icons .ic { width: 14px; height: 14px; }
.vu-icons .ic.red { color: var(--red); }
.live { background: var(--red); color: #fff; font-size: 9.5px; font-weight: 900; letter-spacing: 0.05em; border-radius: 4px; padding: 1px 5px; }

/* Sprachverbindung & Nutzerkarte */
.vp { margin: 0 8px 8px; padding: 10px 8px 8px; border-radius: 13px; background: var(--panel-2); border: 1px solid var(--line); }
.vp-row { display: flex; align-items: center; gap: 6px; }
.vp-info { flex: 1; min-width: 0; cursor: pointer; padding: 0 4px; }
.vp-info:hover .vp-room { text-decoration: underline; }
.vp-status { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; }
.vp-status .ic { width: 15px; height: 15px; }
.vp-status.ok { color: var(--green); }
.vp-status.wait { color: var(--yellow); }
.vp-room { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.vp-btn { height: 32px; border-radius: 9px; background: var(--panel-3); border: 1px solid var(--line); color: var(--text); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 700; }
.vp-btn .ic { width: 16px; height: 16px; }
.vp-btn:hover { background: rgba(255, 255, 255, 0.1); }
.vp-btn.on { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.user-card { margin: 0 8px 8px; height: 56px; min-height: 56px; display: flex; align-items: center; gap: 2px; padding: 0 6px; border-radius: 13px; background: var(--panel-2); border: 1px solid var(--line); }
.up-me { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; padding: 4px; border-radius: 9px; cursor: pointer; }
.up-me:hover { background: var(--hover); }
.up-text { min-width: 0; }
.up-name { font-weight: 700; font-size: 13.5px; color: var(--strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-sub { font-size: 11.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-btns { display: flex; }

/* ---------- Hauptbereich ---------- */
.view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.center-fill { flex: 1; display: grid; place-items: center; padding: 24px; }
.main-head { height: 56px; min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 18px; border-bottom: 1px solid var(--line); }
.head-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.head-ic { color: var(--faint); display: grid; }
.head-ic .ic { width: 20px; height: 20px; }
.head-title { font-weight: 800; color: var(--strong); font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; }
.head-sub { font-size: 12.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 10px; border-left: 1px solid var(--line-2); }
.head-div { width: 1px; height: 22px; background: var(--line-2); }
.head-actions { display: flex; gap: 6px; }
.head-search { display: flex; align-items: center; gap: 7px; width: 210px; height: 34px; padding: 0 10px; border-radius: 10px; background: var(--input); border: 1px solid var(--line); color: var(--faint); }
.head-search .ic { width: 15px; height: 15px; }
.head-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 13px; }
.head-search:focus-within { border-color: var(--accent-soft); }
.main-head .av .st { border-color: var(--solid); }
.empty { text-align: center; max-width: 440px; margin: 0 auto; display: grid; justify-items: center; gap: 4px; padding: 30px 10px; }
.empty h3 { margin: 12px 0 0; color: var(--strong); font-size: 18px; }
.empty p { margin: 0 0 10px; }
.empty-ic { width: 76px; height: 76px; border-radius: 22px; background: var(--panel-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.empty-ic .ic { width: 32px; height: 32px; }
.empty-ic .logo { width: 40px; }
.vj-avs { display: flex; gap: 8px; margin: 6px 0 10px; }

/* Freunde */
.tabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.tab { height: 30px; padding: 0 12px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.tab .ic { width: 15px; height: 15px; }
.tab:hover { background: var(--hover); color: var(--text); }
.tab.active { background: var(--active); color: var(--strong); }
.tab.accent { background: var(--accent); color: var(--accent-ink); }
.tab.accent:hover { background: var(--accent-hi); }
.tab.accent.active { box-shadow: 0 0 0 2px var(--accent-soft); }
.friends-body { flex: 1; overflow-y: auto; padding: 18px 26px; }
.big-search { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 12px; border-radius: 11px; background: var(--input); border: 1px solid var(--line); color: var(--faint); max-width: 640px; }
.big-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; }
.big-search:focus-within { border-color: var(--accent-soft); }
.f-count { margin: 22px 0 8px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.f-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 0 -12px; border-radius: 12px; border-top: 1px solid var(--line); cursor: pointer; }
.f-row:hover { background: var(--hover); border-top-color: transparent; }
.f-row:hover + .f-row { border-top-color: transparent; }
.f-name { font-weight: 700; color: var(--strong); display: flex; align-items: center; }
.f-handle { margin-left: 8px; color: var(--faint); font-weight: 500; font-size: 13px; }
.f-sub { font-size: 12.5px; color: var(--muted); }
.f-acts { display: flex; gap: 8px; }
.f-act { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); }
.f-act .ic { width: 17px; height: 17px; }
.f-act:hover { color: var(--strong); background: var(--panel-3); }
.f-act.ok:hover { color: var(--green); }
.f-act.no:hover { color: var(--red); }
.add-friend { max-width: 720px; }
.add-friend h2 { margin: 4px 0 4px; color: var(--strong); }
.add-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--input); border: 1px solid var(--line); }
.add-row:focus-within { border-color: var(--accent); }
.add-row input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; height: 36px; }
.add-msg { font-size: 13.5px; margin-top: 8px; min-height: 20px; }
.add-msg.ok { color: var(--green); }
.add-msg.err { color: #ff8a8a; }
.add-more { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.add-more h3 { margin: 0 0 12px; font-size: 15px; color: var(--strong); }

/* Server entdecken */
.ex-scroll { flex: 1; overflow-y: auto; padding: 28px 32px 40px; }
.ex-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ex-head h1 { margin: 0; font-size: 30px; color: var(--strong); letter-spacing: -0.02em; }
.ex-head p { margin: 4px 0 0; }
.ex-search { display: flex; align-items: center; gap: 12px; height: 52px; margin-top: 22px; padding: 0 18px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); color: var(--faint); }
.ex-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 15px; }
.ex-search:focus-within { border-color: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
.ex-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 6px; }
.pill-select { height: 36px; padding: 0 32px 0 12px; border-radius: 10px; background-color: var(--panel-2); border: 1px solid var(--line); outline: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.reset-btn { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 13px; }
.reset-btn .ic { width: 14px; height: 14px; }
.reset-btn:hover { color: var(--strong); }
.ex-sec { display: flex; align-items: baseline; gap: 10px; margin: 24px 0 12px; }
.ex-sec h2 { margin: 0; font-size: 17px; color: var(--strong); }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.ex-grid > .empty { grid-column: 1 / -1; }
.ex-card { position: relative; display: flex; flex-direction: column; text-align: left; background: var(--panel-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; min-height: 268px; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.ex-card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.exc-banner { height: 96px; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 72%, #000) 0%, #0b0607 100%); position: relative; }
.exc-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exc-icon { margin: -24px 0 0 14px; width: fit-content; border-radius: 30%; box-shadow: 0 0 0 4px var(--solid); position: relative; }
.exc-body { padding: 10px 14px 4px; }
.exc-name { display: flex; align-items: center; font-weight: 800; color: var(--strong); font-size: 15px; }
.exc-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exc-desc { margin-top: 6px; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.exc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.exc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 12px; font-size: 12px; color: var(--faint); }
.exc-foot .ic { width: 14px; height: 14px; }
.server-preview { text-align: center; display: grid; justify-items: center; gap: 6px; margin: -24px -24px 0; }
.sp-banner { width: 100%; height: 120px; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 72%, #000) 0%, #0b0607 100%); border-radius: 16px 16px 0 0; overflow: hidden; }
.sp-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-icon { margin-top: -36px; border-radius: 30%; box-shadow: 0 0 0 5px #160b0e; }
.server-preview h2 { margin: 8px 0 0 !important; display: flex; align-items: center; }
.server-preview p { margin: 0 24px; }
.server-preview .ic { width: 15px; height: 15px; }

/* Chat */
.chat { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chat-body { flex: 1; min-height: 0; display: flex; }
.chat-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.right-pane { width: 290px; min-width: 290px; border-left: 1px solid var(--line); overflow-y: auto; padding: 12px; }
.msgs { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.msg-list { padding: 0 0 18px; min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.msg-more, .search-info { text-align: center; color: var(--faint); font-size: 13px; padding: 16px; }
.search-info { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); margin-bottom: auto; }
.search-info a { cursor: pointer; }
.welcome { padding: 34px 18px 10px; }
.welcome h2 { margin: 12px 0 4px; font-size: 30px; color: var(--accent); letter-spacing: -0.02em; }
.welcome p { margin: 0; }
.day-sep { display: flex; align-items: center; gap: 10px; margin: 22px 18px 6px; }
.day-sep span { font-size: 12px; font-weight: 700; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.day-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.msg { position: relative; display: flex; gap: 14px; padding: 4px 60px 4px 18px; margin-top: 12px; }
.msg.grouped { margin-top: 0; padding-top: 1px; padding-bottom: 1px; }
.msg:hover { background: var(--hover); }
.msg.mention { background: var(--mention); box-shadow: inset 2px 0 0 var(--yellow); }
.msg.flash { animation: flash 1.8s ease-out; }
.msg.is-saved .msg-gutter::after { content: ""; display: block; width: 6px; height: 6px; margin: 6px auto 0; border-radius: 50%; background: var(--accent); opacity: .7; }
@keyframes flash { 0%, 30% { background: var(--accent-soft); } 100% { background: transparent; } }
.msg-gutter { width: 38px; min-width: 38px; }
.msg-gutter .av { cursor: pointer; margin-top: 2px; }
.msg-hover-time { display: none; font-size: 10.5px; color: var(--faint); line-height: 22px; width: 38px; text-align: right; }
.msg.grouped:hover .msg-hover-time { display: block; }
.msg-body { flex: 1; min-width: 0; }
.msg-head { display: flex; align-items: center; gap: 0; }
.msg-name { font-weight: 700; cursor: pointer; }
.msg-name:hover { text-decoration: underline; }
.msg-time { font-size: 11.5px; color: var(--faint); margin-left: 8px; }
.msg-text { white-space: normal; overflow-wrap: anywhere; line-height: 1.45; color: var(--text); }
.msg-text.big-emoji { font-size: 44px; line-height: 1.2; }
.edited { font-size: 11px; color: var(--faint); margin-left: 4px; }
.msg-img { display: block; max-width: min(420px, 100%); max-height: 340px; border-radius: 12px; margin-top: 6px; border: 1px solid var(--line); cursor: zoom-in; background: rgba(0, 0, 0, 0.3); }
.reply-line { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin: 0 0 4px; cursor: pointer; min-width: 0; position: relative; padding-left: 4px; }
.reply-line::before { content: ""; position: absolute; left: -32px; top: 50%; width: 26px; height: 12px; border-left: 2px solid var(--line-2); border-top: 2px solid var(--line-2); border-top-left-radius: 7px; }
.reply-line b { font-weight: 700; flex: none; }
.reply-line .rl-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reply-line:hover .rl-text { color: var(--text); }
.call-log { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.call-log .ic { width: 22px; height: 22px; color: var(--green); }
.call-log.missed .ic { color: var(--red); }
.call-log b { display: block; color: var(--strong); }
.call-log span { font-size: 12.5px; color: var(--faint); }
.blocked-note { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--faint); padding: 4px 0; }
.blocked-note .ic { width: 15px; height: 15px; }
.mtn { background: var(--accent-soft); color: var(--strong); border-radius: 5px; padding: 0 3px; font-weight: 600; }
.mtn.me { background: rgba(240, 178, 50, 0.22); color: #ffd68a; }
code.inline { background: var(--input); border-radius: 5px; padding: 1px 5px; font-family: var(--mono); font-size: 13px; }
pre.code { background: var(--input); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 6px 0; overflow-x: auto; font-family: var(--mono); font-size: 13px; white-space: pre; }
.msg-actions { position: absolute; right: 16px; top: -16px; display: none; background: var(--solid); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); z-index: 2; }
.msg:hover .msg-actions { display: flex; }
.msg-actions button { width: 32px; height: 30px; display: grid; place-items: center; color: var(--muted); }
.msg-actions button:hover { background: var(--hover); color: var(--strong); }
.msg-actions button.on { color: var(--accent); }
.msg-actions button.danger:hover { color: var(--red); }
.msg-actions .ic { width: 16px; height: 16px; }
.edit-box { margin-top: 4px; }
.edit-ta { width: 100%; resize: none; background: var(--input); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none; line-height: 1.45; }
.edit-hint { font-size: 12px; color: var(--faint); margin-top: 4px; }
.edit-hint a { cursor: pointer; }
.composer { padding: 0 16px 4px; }
.reply-bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; margin: 0 2px -6px; padding-bottom: 12px; border-radius: 12px 12px 0 0; background: var(--panel-3); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.reply-bar .rb-ic { display: grid; }
.reply-bar .rb-ic .ic { width: 15px; height: 15px; }
.reply-bar .ib { width: 24px; height: 24px; }
.composer-box { position: relative; display: flex; align-items: flex-end; gap: 4px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 13px; padding: 4px 6px; }
.composer-box:focus-within { border-color: var(--line-2); }
.composer-ta { flex: 1; min-height: 42px; max-height: 240px; resize: none; background: transparent; border: 0; outline: none; padding: 10px 4px; line-height: 1.45; }
.composer-box .ib { width: 34px; height: 34px; margin-bottom: 4px; }
.typing { height: 22px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; padding-left: 6px; }
.typing b { color: var(--text); font-weight: 600; }
.typing-dots { display: inline-flex; gap: 3px; margin-right: 4px; }
.typing-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: dot 1.2s infinite; }
.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

/* Rechte Spalte: Mitglieder & Profil */
.mp-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px; font-weight: 700; font-size: 13px; color: var(--text); }
.mp-head .ic { width: 16px; height: 16px; color: var(--faint); }
.members .cat { padding: 16px 6px 6px; }
.member { display: flex; align-items: center; gap: 11px; padding: 6px; border-radius: 10px; cursor: pointer; }
.member:hover { background: var(--hover); }
.member.dim { opacity: 0.45; }
.member.dim:hover { opacity: 1; }
.mem-text { min-width: 0; }
.member-name { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 0; overflow: hidden; white-space: nowrap; }
.member-name > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.member-sub { font-size: 12px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member .av .st { border-color: var(--solid); }
.crown { color: var(--yellow); display: grid; margin-left: 5px; }
.crown .ic { width: 14px; height: 14px; }
.profile-pane { display: flex; flex-direction: column; }
.pp-banner { height: 110px; border-radius: 13px; overflow: hidden; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 72%, #000) 0%, #0b0607 100%); }
.pp-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-av { margin: -44px 0 0 14px; width: fit-content; border-radius: 50%; box-shadow: 0 0 0 5px var(--solid); background: var(--solid); }
.pp-av .av .st { border-color: var(--solid); }
.pp-card { margin-top: 10px; padding: 12px 14px; border-radius: 13px; background: var(--panel-2); border: 1px solid var(--line); }
.pp-name { font-size: 19px; font-weight: 800; color: var(--strong); display: flex; align-items: center; }
.pp-handle { font-size: 13px; color: var(--muted); }
.pp-about { margin-top: 10px; font-size: 13.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.pp-label { margin-top: 12px; font-size: 11.5px; font-weight: 800; color: var(--faint); }
.pp-val { font-size: 13.5px; }
.pp-line { width: 100%; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pp-line .pl-chev .ic { width: 16px; height: 16px; transition: transform 0.15s; color: var(--faint); }
.pp-line.open .pl-chev .ic { transform: rotate(90deg); }
.pp-mutual { display: grid; gap: 2px; margin-top: 8px; }
.pp-srv { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 8px; font-size: 13px; text-align: left; }
.pp-srv:hover { background: var(--hover); }
.pp-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pp-row .ic { width: 16px; height: 16px; }

/* Anruf-Bereich in Direktnachrichten */
.call-area { flex: none; }
.call-area.active { height: 46%; min-height: 260px; background: var(--stage); border-bottom: 1px solid var(--line); display: flex; }
.call-area.banner { padding: 10px 16px; border-bottom: 1px solid var(--line); background: rgba(47, 191, 113, 0.08); }
.call-banner { display: flex; align-items: center; gap: 10px; color: var(--strong); font-weight: 600; }
.cb-ic { color: var(--green); display: grid; }

/* ---------- Anruf-Bühne ---------- */
.voice-view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.voice-body { flex: 1; min-height: 0; display: flex; background: var(--stage); }
.voice-body > .center-fill { background: transparent; }
.stage { position: relative; flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 16px 16px 86px; gap: 10px; }
.stage.compact { padding: 12px 12px 74px; }
.stage-focus { flex: 1; min-height: 0; display: none; }
.stage.has-focus .stage-focus { display: flex; }
.stage-focus .tile { width: 100% !important; height: 100% !important; }
.stage-grid { --tw: 320px; flex: 1; min-height: 0; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; }
.stage.has-focus .stage-grid { flex: 0 0 120px; flex-wrap: nowrap; overflow-x: auto; justify-content: center; align-content: stretch; }
.tile { position: relative; width: var(--tw); height: calc(var(--tw) * 0.5625); border-radius: 14px; overflow: hidden; cursor: pointer; flex: none; border: 1px solid var(--line); background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--c, #5a1220) 32%, #160c0f) 0%, #0c0708 75%); transition: box-shadow 0.12s; }
.tile.speaking { box-shadow: 0 0 0 2px var(--stage), 0 0 0 4px var(--green); }
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; background: #000; }
.tile.screen video { object-fit: contain; }
.tile.video-on video { opacity: 1; }
.tile.mirror video { transform: scaleX(-1); }
.tile-av { position: absolute; inset: 0; display: grid; place-items: center; }
.tile.video-on .tile-av { display: none; }
.tile-label { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; max-width: calc(100% - 60px); background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 7px; }
.tile-label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-label .ic { width: 14px; height: 14px; color: var(--red); }
.tile.screen .tile-label .ic { color: #fff; }
.tile-status { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); background: rgba(0, 0, 0, 0.6); color: var(--yellow); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tile-fs { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 8px; display: none; place-items: center; background: rgba(0, 0, 0, 0.55); color: #fff; }
.tile:hover .tile-fs { display: grid; }
.tile-fs .ic { width: 16px; height: 16px; }
.tile:fullscreen { border-radius: 0; }
.stage.has-focus .stage-grid .tile { width: calc(120px * 16 / 9); height: 120px; }
.stage-ringing { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); background: rgba(0, 0, 0, 0.6); padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--strong); animation: pulse 1.6s ease-in-out infinite; z-index: 2; }
.stage-bar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 10px; padding: 8px; border-radius: 18px; background: rgba(16, 10, 12, 0.9); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.stage.compact .stage-bar { bottom: 12px; }
.sb { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: var(--strong); transition: background 0.12s, transform 0.08s; }
.sb:hover { background: rgba(255, 255, 255, 0.15); }
.sb:active { transform: scale(0.95); }
.sb .ic { width: 21px; height: 21px; }
.sb.on { background: var(--accent); color: var(--accent-ink); }
.sb.off { background: rgba(239, 75, 75, 0.18); color: var(--red); }
.sb.hang { background: var(--red); color: #fff; width: 60px; border-radius: 24px; }

/* ---------- Popover, Menü, Modals ---------- */
.popover { position: fixed; z-index: 60; background: var(--solid); border: 1px solid var(--line-2); border-radius: 13px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); animation: pop 0.12s ease-out; overflow: hidden; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(0.98); } }
.menu { padding: 6px; min-width: 220px; }
.menu-item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 35px; padding: 0 10px; border-radius: 8px; color: var(--text); font-size: 13.5px; font-weight: 600; }
.menu-item .ic { width: 16px; height: 16px; }
.menu-item:hover { background: var(--accent); color: var(--accent-ink); }
.menu-item.danger { color: var(--red); }
.menu-item.danger:hover { background: var(--red); color: #fff; }
.menu-sep { height: 1px; background: var(--line); margin: 4px 6px; }
.notes { width: 340px; max-height: 460px; overflow-y: auto; }
.notes-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--strong); }
.notes-head .ic { width: 16px; height: 16px; color: var(--faint); }
.notes-empty { display: grid; justify-items: center; gap: 4px; padding: 26px 20px; text-align: center; }
.ne-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--panel-2); color: var(--green); margin-bottom: 6px; }
.note { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.note:hover { background: var(--hover); }
.note-t { font-size: 13.5px; font-weight: 700; color: var(--strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-s { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 36px); gap: 2px; padding: 8px; }
.emoji-grid button { width: 36px; height: 36px; border-radius: 8px; font-size: 21px; display: grid; place-items: center; }
.emoji-grid button:hover { background: var(--hover); }
.vol-pop { width: 260px; padding: 14px; display: grid; gap: 10px; }
.profile { width: 310px; }
.profile-banner { height: 76px; overflow: hidden; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 72%, #000) 0%, #0b0607 100%); }
.profile-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-av { margin: -40px 0 0 16px; width: fit-content; border-radius: 50%; box-shadow: 0 0 0 6px var(--solid); background: var(--solid); }
.profile-av .av .st { border-color: var(--solid); }
.profile-body { padding: 8px 16px 16px; display: grid; gap: 6px; }
.profile-name { font-size: 20px; font-weight: 800; color: var(--strong); display: flex; align-items: center; }
.profile-about { font-size: 13.5px; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.tag { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-size: 12px; font-weight: 700; background: var(--panel-2); padding: 3px 8px; border-radius: 7px; color: var(--yellow); }
.tag .ic { width: 14px; height: 14px; }
.profile-body .btn .ic { width: 16px; height: 16px; }

.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(4, 2, 3, 0.72); backdrop-filter: blur(7px); display: grid; place-items: center; padding: 24px; animation: fade 0.12s; }
@keyframes fade { from { opacity: 0; } }
.modal { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 48px); overflow: auto; background: var(--modal-bg); border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55); animation: pop 0.14s ease-out; }
.modal.wide { max-width: 640px; }
.modal.xl { max-width: 1000px; height: min(740px, calc(100vh - 48px)); padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.modal h2 { margin: 0 32px 6px 0; font-size: 20px; color: var(--strong); }
.modal-sub { margin: 0 0 8px; }
.modal-x { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); z-index: 3; }
.modal-x.static { position: static; margin-left: auto; }
.modal-x:hover { color: var(--strong); background: var(--hover); }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--line); margin: -24px -24px 18px; }
.modal.xl .modal-head { margin: 0; }
.mh-title { display: flex; align-items: center; gap: 10px; color: var(--strong); }
.mh-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.mh-ic .ic { width: 17px; height: 17px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.modal.xl .modal-body { flex: 1; min-height: 0; }
.modal .field:first-child .label, .modal-body > .label:first-child { margin-top: 6px; }
.choice-list { display: grid; gap: 8px; margin-top: 14px; padding: 6px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.choice { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px; border-radius: 10px; }
.choice:hover { background: var(--hover); }
.add-more .choice { background: var(--panel-2); border: 1px solid var(--line); max-width: 460px; }
.choice b { display: block; color: var(--strong); }
.choice small { color: var(--muted); font-size: 12.5px; }
.choice-ic { width: 40px; height: 40px; min-width: 40px; border-radius: 11px; background: var(--panel-3); border: 1px solid var(--line); color: var(--strong); display: grid; place-items: center; }
.choice-ic .ic { width: 18px; height: 18px; }
.choice-arrow .ic { color: var(--faint); width: 18px; height: 18px; }
.radio-card { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 8px; border-radius: 12px; background: var(--panel-2); cursor: pointer; border: 1px solid var(--line); }
.radio-card:hover { background: var(--panel-3); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio-card b { display: block; color: var(--strong); }
.radio-card small { color: var(--muted); font-size: 13px; }
.rc-ic { color: var(--muted); display: grid; }
.rc-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--faint); }
.radio-card:has(input:checked) .rc-dot { border: 6px solid var(--accent); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 30px; height: 30px; border-radius: 9px; border: 2px solid transparent; }
.swatch.active { border-color: var(--strong); box-shadow: 0 0 0 2px var(--solid) inset; }
.srv-preview { --c: #555; width: 80px; height: 80px; min-width: 80px; border-radius: 24px; background: var(--c); display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #fff; overflow: hidden; }
.srv-preview img { width: 100%; height: 100%; object-fit: cover; }
.banner-prev { height: 96px; border-radius: 12px; overflow: hidden; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 72%, #000) 0%, #0b0607 100%); border: 1px solid var(--line); }
.banner-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-fields { padding: 4px 0 6px; }
.pick-list { margin-top: 8px; max-height: 220px; overflow-y: auto; }
.pick { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 9px; text-align: left; }
.pick:hover { background: var(--hover); }
.saved { display: grid; gap: 4px; }
.saved-empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 30px 24px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.saved-empty .empty-ic { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 4px; }
.saved-empty .empty-ic .ic { width: 22px; height: 22px; }
.saved-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.si-head { display: flex; align-items: baseline; gap: 8px; }
.si-text { font-size: 13.5px; color: var(--muted); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.si-acts { display: flex; gap: 6px; align-items: center; }

/* Einstellungen */
.settings { display: flex; height: 100%; gap: 12px; padding: 12px; }
.set-nav { width: 248px; min-width: 248px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 15px; padding: 10px; display: flex; flex-direction: column; }
.set-me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--panel-3); text-align: left; margin-bottom: 6px; }
.set-me:hover { filter: brightness(1.12); }
.set-me b { display: block; color: var(--strong); font-size: 14px; }
.set-nav-inner { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.set-group { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); padding: 14px 10px 5px; }
.set-nav button[data-t], .set-logout { width: 100%; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 13.5px; text-align: left; flex: none; }
.set-nav button[data-t] .ic, .set-logout .ic { width: 17px; height: 17px; }
.set-nav button[data-t]:hover, .set-logout:hover { background: var(--hover); color: var(--text); }
.set-nav button[data-t].active { background: var(--active); color: var(--strong); box-shadow: inset 3px 0 0 var(--accent); }
.set-logout { margin-top: 6px; color: var(--red); border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; padding-top: 4px; height: 42px; }
.set-pane { flex: 1; overflow-y: auto; padding: 18px 30px 40px; }
.set-pane h2 { margin: 6px 0 4px; font-size: 19px; color: var(--strong); }
.set-pane h3 { margin: 26px 0 10px; font-size: 15px; color: var(--strong); }
.set-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-top: 12px; }
.set-card p { margin: 0 0 10px; }
.set-card p:last-child { margin-bottom: 0; }
.set-card.danger-zone { border-color: rgba(239, 75, 75, 0.35); }
.set-card.danger-zone .set-line { border: 0; padding: 0; }
.set-line { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.set-sep-line { height: 1px; background: var(--line); margin: 26px 0 18px; }
.input-row { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 7px 0 13px; border-radius: 11px; background: var(--input); border: 1px solid var(--line); max-width: 560px; }
.input-row:focus-within { border-color: var(--accent-soft); }
.input-row input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; }
.input-row.ro { color: var(--muted); }
.input-row .ic { width: 16px; height: 16px; color: var(--faint); }
.ir-pre { color: var(--faint); font-weight: 700; }
.eye { color: var(--faint); display: grid; padding: 6px; border-radius: 7px; }
.eye:hover { color: var(--strong); background: var(--hover); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.meter { position: relative; flex: 1; height: 10px; border-radius: 5px; background: var(--input); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--green); transition: width 0.05s; }
.cam-preview { width: 100%; max-width: 360px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #000; margin-top: 12px; transform: scaleX(-1); }
.about { display: flex; align-items: center; gap: 16px; }
.about-logo { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 45%, #000) 0%, #0b0607 100%); }
.about-logo .logo { width: 30px; }
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.theme-card { display: grid; gap: 3px; text-align: left; padding: 10px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.theme-card:hover { border-color: var(--line-2); }
.theme-card.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.theme-card b { color: var(--strong); margin-top: 6px; font-size: 14px; }
.tc-prev { position: relative; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.tc-prev span { position: absolute; left: 12px; bottom: 12px; width: 40px; height: 10px; border-radius: 5px; }
.tc-prev i { position: absolute; left: 12px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.tc-prev i:nth-of-type(1) { top: 14px; width: 60%; }
.tc-prev i:nth-of-type(2) { top: 28px; width: 40%; }
.prof-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.prev-card { padding: 10px; border-radius: 16px; background: var(--solid); border: 1px solid var(--line); }
.keys { margin-top: 10px; }
.key-row { display: flex; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }

/* Eingehender Anruf */
.incoming { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(4, 2, 3, 0.6); backdrop-filter: blur(6px); animation: fade 0.15s; }
.incoming-card { width: 290px; background: var(--modal-bg); border: 1px solid var(--line-2); border-radius: 22px; padding: 30px 20px 24px; display: grid; justify-items: center; gap: 6px; text-align: center; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); }
.incoming-av { border-radius: 50%; animation: ring 1.5s ease-out infinite; margin-bottom: 8px; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.55); } 100% { box-shadow: 0 0 0 22px rgba(47, 191, 113, 0); } }
.incoming-name { font-size: 20px; font-weight: 800; color: var(--strong); }
.incoming-actions { display: flex; gap: 16px; margin-top: 16px; }
.round { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.round .ic { width: 24px; height: 24px; }
.round.red { background: var(--red); }
.round.green { background: var(--green); color: #06140c; }
.round:hover { filter: brightness(1.1); }

/* Bildansicht, Tooltip & Toasts */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(0, 0, 0, 0.88); cursor: zoom-out; animation: fade 0.12s; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lb-hint { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--faint); font-size: 12.5px; }
.tip { position: fixed; z-index: 100; pointer-events: none; background: #0a0607; border: 1px solid var(--line-2); color: var(--strong); font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 8px; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }
.tip.right { transform: translateY(-50%); }
.tip.top { transform: translate(-50%, -100%); }
.tip.bottom { transform: translateX(-50%); }
#toasts { position: fixed; z-index: 110; right: 16px; bottom: 16px; display: grid; gap: 8px; max-width: 380px; }
.toast { background: var(--solid); border: 1px solid var(--line-2); border-left: 4px solid var(--muted); padding: 12px 14px; border-radius: 12px; font-size: 14px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); animation: pop 0.15s ease-out; transition: opacity 0.3s, transform 0.3s; }
.toast.ok { border-left-color: var(--green); }
.toast.warn { border-left-color: var(--yellow); }
.toast.error { border-left-color: var(--red); }
.toast.out { opacity: 0; transform: translateY(6px); }

@media (max-width: 1180px) { .chat-body { position: relative; } .right-pane { position: absolute; top: 0; right: 0; bottom: 0; z-index: 5; background: var(--solid); box-shadow: -24px 0 50px rgba(0, 0, 0, 0.45); } .head-search { width: 160px; } }
@media (max-width: 860px) { .side { width: 210px; min-width: 210px; } .head-search { display: none; } .prof-grid { grid-template-columns: 1fr; } .theme-grid { grid-template-columns: 1fr 1fr; } }

/* ===================== blanc 0.3 ===================== */
/* ---------- Namensstile ---------- */
.uname { font-family: inherit; }
.uname.f-bungee { font-family: "Bungee", "Segoe UI Black", system-ui, sans-serif; font-weight: 400; letter-spacing: 0.01em; }
.uname.f-righteous { font-family: "Righteous", system-ui, sans-serif; font-weight: 400; }
.uname.f-orbitron { font-family: "Orbitron", system-ui, sans-serif; font-weight: 700; letter-spacing: 0.02em; }
.uname.f-pacifico { font-family: "Pacifico", "Segoe Script", cursive; font-weight: 400; }
.uname.f-marker { font-family: "Permanent Marker", "Segoe Print", cursive; font-weight: 400; }
.uname.f-cinzel { font-family: "Cinzel", Georgia, serif; font-weight: 700; }
.uname.f-mono { font-family: "Space Mono", var(--mono); font-weight: 700; }
.uname.f-pixel { font-family: "Press Start 2P", var(--mono); font-weight: 400; font-size: 0.72em; line-height: 1.6; }
.uname.solid { color: var(--n1) !important; }
.uname.grad { background: linear-gradient(90deg, var(--n1), var(--n2)); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; }
.uname.glow { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--n1, #fff) 70%, transparent)); }
.msg-name.uname:hover { text-decoration: none; filter: brightness(1.15); }
.bot-tag { display: inline-flex; align-items: center; gap: 2px; height: 16px; padding: 0 5px; margin-left: 6px; border-radius: 5px; background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 800; letter-spacing: 0.03em; flex: none; vertical-align: 2px; font-family: var(--font); -webkit-text-fill-color: currentColor; }
.bot-tag .ic { width: 10px; height: 10px; stroke-width: 3.5; }

/* ---------- Abzeichen ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; padding: 5px 6px; border-radius: 10px; background: var(--input); width: fit-content; }
.profile-body .badges { margin-top: 2px; }
.bdg { width: 22px; height: 22px; border-radius: 7px; display: inline-grid; place-items: center; color: #fff; flex: none; cursor: default; }
.bdg .ic { width: 13px; height: 13px; stroke-width: 2.4; }
.bdg img { width: 15px; height: 15px; object-fit: contain; }
.bdg.big { width: 40px; height: 40px; border-radius: 12px; }
.bdg.big .ic { width: 21px; height: 21px; }
.bdg.big img { width: 26px; height: 26px; }
.b-verified { background: transparent; }
.b-verified img { width: 20px; height: 20px; }
.b-verified.big img { width: 36px; height: 36px; }
.b-staff { background: linear-gradient(140deg, #e5484d, #5a1220); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.b-dev { background: linear-gradient(140deg, #12b886, #0b7285); }
.b-mod { background: linear-gradient(140deg, #f08c00, #c2410c); }
.b-partner { background: linear-gradient(140deg, #4c6ef5, #1c3fb7); }
.b-early { background: linear-gradient(140deg, #ae3ec9, #5f3dc4); }
.b-bug { background: linear-gradient(140deg, #40c057, #2b8a3e); }
.b-supporter { background: linear-gradient(140deg, #f06595, #c2255c); }
.mini-badges { display: inline-flex; gap: 3px; }
.mini-badges .bdg { width: 18px; height: 18px; border-radius: 6px; }
.mini-badges .bdg .ic { width: 11px; height: 11px; }
.mini-badges .bdg img { width: 12px; height: 12px; }

/* ---------- Namensstil-Editor ---------- */
.ns-box { display: grid; gap: 4px; }
.ns-box .label { margin-top: 12px; }
.font-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.font-chip { height: 64px; border-radius: 11px; background: var(--input); border: 1px solid var(--line); display: grid; place-items: center; align-content: center; gap: 3px; color: var(--strong); }
.font-chip .uname { font-size: 20px; line-height: 1.1; }
.font-chip .uname.f-pixel { font-size: 13px; }
.font-chip small { font-size: 10.5px; color: var(--faint); }
.font-chip:hover { border-color: var(--line-2); }
.font-chip.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.seg { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--input); border: 1px solid var(--line); width: fit-content; }
.seg button { height: 30px; padding: 0 14px; border-radius: 8px; color: var(--muted); font-weight: 650; font-size: 13px; }
.seg button.active { background: var(--panel-3); color: var(--strong); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
.color-in { width: 44px; height: 34px; padding: 0; border: 1px solid var(--line-2); border-radius: 9px; background: transparent; cursor: pointer; }
.color-in::-webkit-color-swatch-wrapper { padding: 3px; }
.color-in::-webkit-color-swatch { border: 0; border-radius: 6px; }
.grad-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.grad-chip { width: 44px; height: 26px; border-radius: 8px; border: 2px solid transparent; }
.grad-chip.active { border-color: #fff; }
.set-line.slim { padding: 10px 0; border-bottom: 0; }
.msg-demo { display: flex; gap: 10px; align-items: flex-start; }
.msg-demo .msg-time { font-size: 11.5px; color: var(--faint); margin-left: 4px; }
.msg-demo .msg-text { font-size: 14px; }

/* ---------- E-Mail-Code ---------- */
.verify-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-top: 18px; }
.verify-ic .ic { width: 28px; height: 28px; }
.code-row { display: flex; gap: 8px; justify-content: center; margin: 22px 0 4px; }
.code-box { width: 50px; height: 60px; border-radius: 12px; background: var(--input); border: 1px solid var(--line-2); text-align: center; font-size: 26px; font-weight: 800; color: var(--strong); outline: none; font-family: var(--font); caret-color: var(--accent); }
.code-box:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.verify-foot { margin-top: 16px; }
.link-btn { color: #8ab4ff; font: inherit; font-size: inherit; padding: 0; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.link-btn:disabled { color: var(--faint); cursor: default; }
.link-btn .ic { width: 15px; height: 15px; }
.pw-hint { margin-top: 6px; }
.pw-hint.ok, .small.ok { color: var(--green); }

/* ---------- Gemeinsam: Listen, Karten ---------- */
.adm-list { display: grid; gap: 4px; margin-top: 12px; }
.adm-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.adm-row.click { cursor: pointer; }
.adm-row.click:hover { border-color: var(--line-2); background: var(--panel-3); }
.adm-row .pl-chev .ic { width: 16px; height: 16px; color: var(--faint); }
.mem-text { min-width: 0; }
.chip.warn { background: rgba(240, 178, 50, 0.14); border-color: rgba(240, 178, 50, 0.4); color: var(--yellow); }
.chip.ok { background: rgba(47, 191, 113, 0.14); border-color: rgba(47, 191, 113, 0.4); color: var(--green); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 14px; }
.stat { display: grid; gap: 2px; justify-items: start; text-align: left; padding: 14px 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.stat:hover { border-color: var(--line-2); }
.stat b { font-size: 26px; color: var(--strong); line-height: 1.1; margin-top: 6px; }
.stat-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.stat-ic .ic { width: 16px; height: 16px; }
.req-card { padding: 12px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); margin-top: 10px; display: grid; gap: 10px; }
.req-card.pending { border-color: rgba(240, 178, 50, 0.35); }
.req-card .adm-row { background: none; border: 0; padding: 0; }
.req-reason { padding: 10px 12px; border-radius: 10px; background: var(--input); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.badge-pick { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); text-align: left; font-weight: 650; }
.badge-pick span:nth-child(2) { flex: 1; }
.badge-pick .bp-check .ic { width: 16px; height: 16px; color: var(--faint); }
.badge-pick.on { border-color: var(--accent); background: var(--active); }
.badge-pick.on .bp-check .ic { color: var(--accent); }
.badge-pick .bdg.big { width: 32px; height: 32px; border-radius: 10px; }
.badge-pick .bdg.big .ic { width: 17px; height: 17px; }
.adm-prof .pp-banner { height: 90px; }
code.uid { font-family: var(--mono); font-size: 12px; background: var(--input); padding: 3px 7px; border-radius: 6px; overflow-wrap: anywhere; }
.back-link { margin-bottom: 12px; font-weight: 600; }
.steps { margin: 8px 0 12px; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.steps b { color: var(--text); }
.warn-card { border-color: rgba(240, 178, 50, 0.35); }
.dev-hero { display: flex; align-items: center; gap: 14px; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.feature { display: flex; gap: 12px; padding: 12px; border-radius: 13px; background: var(--panel-2); border: 1px solid var(--line); }
.fe-ic { width: 34px; height: 34px; min-width: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.fe-ic .ic { width: 17px; height: 17px; }
.set-nav button[data-t] .nav-app-ic { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; flex: none; }
.set-back { display: none; }
.admin-ic { color: var(--accent); }

/* ---------- Entwicklerportal ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 16px; }
.app-card { display: grid; justify-items: center; gap: 6px; padding: 18px 12px; border-radius: 15px; background: var(--panel-2); border: 1px solid var(--line); text-align: center; }
.app-card:hover { border-color: var(--line-2); transform: translateY(-1px); }
.app-card b { color: var(--strong); }
.app-ic { color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 55%, #000), #0b0607) !important; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.app-ic .ic { width: 52%; height: 52%; }
.dev-head h2 { margin: 0 !important; }
.dev-tabs { margin: 16px 0 6px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.dev-body { display: grid; gap: 0; }
.center-card { display: grid; justify-items: center; text-align: center; gap: 6px; }
.center-card .field { width: 100%; max-width: 360px; text-align: left; }
.cmd-list { display: grid; gap: 6px; }
.cmd-item { display: flex; gap: 10px; align-items: baseline; }
.cmd-item code, .api-row code { font-family: var(--mono); font-size: 12.5px; background: var(--input); padding: 2px 7px; border-radius: 6px; color: var(--strong); }
.code-block { font-family: var(--mono); font-size: 12.5px; line-height: 1.55; background: #07040509; background: var(--input); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; white-space: pre; color: #f1d9dc; }
.api-table { display: grid; gap: 6px; }
.api-row { display: grid; grid-template-columns: minmax(220px, auto) 1fr; gap: 12px; align-items: center; }
a.btn { text-decoration: none; }

/* ---------- Slash-Befehle ---------- */
.composer { position: relative; }
.cmd-pop { position: absolute; left: 16px; right: 16px; bottom: calc(100% - 2px); z-index: 8; background: var(--solid); border: 1px solid var(--line-2); border-radius: 13px; padding: 6px; box-shadow: 0 -12px 40px rgba(0,0,0,.45); }
.cmd-head { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); padding: 6px 8px; }
.cmd-opt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 9px; text-align: left; }
.cmd-opt.sel, .cmd-opt:hover { background: var(--active); }
.cmd-name { font-weight: 700; color: var(--strong); font-family: var(--mono); font-size: 13px; }
.cmd-chip { display: inline-flex; align-items: center; gap: 1px; padding: 1px 7px 1px 4px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-hi); font-weight: 700; font-family: var(--mono); font-size: 0.9em; }
.cmd-chip .ic { width: 12px; height: 12px; }

/* ---------- Mobil-Grundlagen ---------- */
.main-view { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.m-back { display: none; }
body { padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); box-sizing: border-box; }

@media (max-width: 760px) {
  :root { --fs: 15px; }
  .app { padding: 0; gap: 0; }
  .app .panel { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .app.m-nav .main { display: none; }
  .app.m-nav .side { flex: 1; width: auto; min-width: 0; }
  .app.m-main .rail, .app.m-main .side { display: none; }
  .rail { border-right: 1px solid var(--line) !important; }
  .main { position: relative; }
  .m-back { display: grid; place-items: center; position: absolute; left: 6px; top: 10px; z-index: 6; width: 36px; height: 36px; border-radius: 10px; color: var(--strong); }
  .m-back .ic { width: 20px; height: 20px; }
  .m-back:active { background: var(--hover); }
  .main-head, .ex-head { padding-left: 48px !important; }
  .main-head { gap: 6px; }
  .head-search, .head-div, .head-sub { display: none !important; }
  .main-head .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .main-head .tabs::-webkit-scrollbar { display: none; }
  .main-head .tab span { white-space: nowrap; }
  .chat-body { position: relative; }
  .right-pane { position: absolute; inset: 0; width: auto; min-width: 0; z-index: 5; background: var(--solid); border-left: 0; }
  .composer { padding: 0 8px 6px; }
  .composer-ta, .input, input, textarea, select { font-size: 16px; }
  .msgs .msg { padding-left: 10px; padding-right: 10px; }
  .tip { display: none !important; }
  .overlay { padding: 0; place-items: stretch; }
  .modal { max-width: none !important; max-height: none; height: 100%; border-radius: 0; border: 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .modal.xl { height: 100% !important; }
  .modal-foot { position: sticky; bottom: 0; }
  .settings { padding: 8px; gap: 0; }
  .settings .set-nav { width: 100%; min-width: 0; border-radius: 13px; }
  .settings.show-pane .set-nav { display: none; }
  .settings:not(.show-pane) .set-pane { display: none; }
  .set-pane { padding: 6px 6px 40px; }
  .set-back { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 6px; margin: 0 0 6px -4px; border-radius: 9px; color: var(--muted); font-weight: 650; }
  .set-back .ic { width: 18px; height: 18px; }
  .set-line { flex-wrap: wrap; }
  .prof-grid, .grid2 { grid-template-columns: 1fr !important; }
  .card { padding: 24px 18px; border-radius: 16px; }
  .screen { padding: 16px; }
  .code-box { width: 44px; height: 54px; font-size: 23px; }
  .code-row { gap: 6px; }
  .popover { max-width: calc(100vw - 16px); }
  .api-row { grid-template-columns: 1fr; gap: 2px; }
  .cmd-pop { left: 8px; right: 8px; }
  .stage .tile, .stage-grid { min-height: 0; }
}
@media (hover: none) {
  .msg-actions { display: none !important; }
  .msg.touch .msg-actions { display: flex !important; opacity: 1 !important; }
}
.prof-grid > div:last-child { position: sticky; top: 0; align-self: start; }
html.ios, html.ios body { height: var(--vh, 100%); }
html.ios body { -webkit-tap-highlight-color: transparent; }

/* ===================== blanc 0.4: Bot-Hosting ===================== */
.m0 { margin: 0 !important; }
.empty-ic.small { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.empty-ic.small .ic { width: 22px; height: 22px; }
.adm-row.wrap { flex-wrap: wrap; }
.run-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; font-weight: 700; background: var(--panel-3); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.run-chip i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.run-chip.on { color: var(--green); background: rgba(47, 191, 113, 0.12); border-color: rgba(47, 191, 113, 0.35); }
.run-chip.on i { box-shadow: 0 0 0 3px rgba(47, 191, 113, 0.25); animation: runpulse 1.6s ease-in-out infinite; }
.run-chip.wait { color: var(--yellow); background: rgba(240, 178, 50, 0.12); border-color: rgba(240, 178, 50, 0.35); }
.run-chip.bad { color: var(--red); background: rgba(239, 75, 75, 0.12); border-color: rgba(239, 75, 75, 0.35); }
@keyframes runpulse { 50% { box-shadow: 0 0 0 6px rgba(47, 191, 113, 0); } }
.nav-app { position: relative; }
.nav-run { position: absolute; left: 22px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--panel-2); }
.dev-tabs .tab .ic { width: 15px; height: 15px; }
.host-card { padding: 12px 14px; }
.host-card .btn .ic { width: 15px; height: 15px; }
.host-toggles { margin: 4px 0 2px; }
.host-toggles .set-line { flex: 1; min-width: 240px; gap: 12px; }
.console { margin-top: 10px; height: 340px; overflow: auto; background: #050304; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; font-family: var(--mono); font-size: 12.5px; line-height: 1.55; color: #d9d2d3; }
.cl { display: flex; gap: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cl-t { color: #5e5457; flex: none; user-select: none; }
.cl-info .cl-m { color: #8ab4ff; }
.cl-warn .cl-m { color: var(--yellow); }
.cl-error .cl-m { color: #ff7b7b; }
.console-in { margin-top: 8px; font-size: 13px; }
.files-wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 10px; height: 470px; margin-top: 4px; }
.ft { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; overflow: auto; padding: 6px; }
.ft-tools { display: flex; gap: 2px; padding: 0 0 6px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.ft-empty { padding: 10px; }
.ft-row { position: relative; display: flex; align-items: center; gap: 7px; height: 30px; padding-right: 6px; border-radius: 8px; cursor: pointer; font-size: 13.5px; color: var(--text); }
.ft-row:hover { background: var(--hover); }
.ft-row.active { background: var(--active); color: var(--strong); }
.ft-row.dir { color: var(--muted); font-weight: 650; }
.ft-ic .ic { width: 15px; height: 15px; color: var(--faint); display: block; }
.ft-row.dir .ft-ic .ic { color: #e2a33c; }
.ft-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft-star { color: var(--yellow); font-size: 12px; }
.ft-acts { display: none; gap: 1px; }
.ft-row:hover .ft-acts { display: flex; }
.ft-acts button { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: var(--muted); }
.ft-acts button:hover { background: var(--panel-3); color: var(--strong); }
.ft-acts button.danger:hover { color: var(--red); }
.ft-acts .ic { width: 13px; height: 13px; }
.ed-box { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #050304; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.ed-head { display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-bottom: 1px solid var(--line); background: var(--panel); flex-wrap: wrap; }
.ed-head .btn .ic { width: 14px; height: 14px; }
.ed-path { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12.5px; color: var(--strong); }
.ed-path .ic { width: 14px; height: 14px; color: var(--faint); }
.ed-path .dirty { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.ed-empty { flex: 1; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; padding: 20px; }
.ed { flex: 1; display: flex; min-height: 0; font-family: var(--mono); font-size: 13px; line-height: 1.6; }
.ed-gutter { flex: none; width: 46px; padding: 12px 8px 12px 0; text-align: right; color: #4c4245; white-space: pre; overflow: hidden; user-select: none; background: #070405; border-right: 1px solid var(--line); }
.ed-area { position: relative; flex: 1; min-width: 0; }
.ed-hl, .ed-ta { position: absolute; inset: 0; margin: 0; padding: 12px 14px; font: inherit; line-height: inherit; white-space: pre; tab-size: 2; overflow: auto; border: 0; letter-spacing: 0; }
.ed-hl { color: #e6dadc; pointer-events: none; overflow: hidden; }
.ed-ta { background: transparent; color: transparent; caret-color: #fff; resize: none; outline: none; -webkit-text-fill-color: transparent; }
.ed-ta::selection { background: rgba(229, 72, 77, 0.35); -webkit-text-fill-color: transparent; }
.tk-com { color: #6f6266; font-style: italic; }
.tk-str { color: #a5e07c; }
.tk-num { color: #f7a35c; }
.tk-kw { color: #ff7a90; font-weight: 600; }
.tk-fn { color: #7cc4ff; }
.tk-key { color: #7cc4ff; }
.code-view .ed { height: 380px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #050304; margin-top: 10px; }
.code-block .tk-kw, .code-block .tk-fn { font-weight: 600; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.tpl { display: grid; gap: 4px; text-align: left; padding: 12px 14px; border-radius: 12px; background: var(--input); border: 1px solid var(--line); }
.tpl b { color: var(--strong); }
.tpl.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.tpl .mono { font-family: var(--mono); font-size: 11px; }
.invite-card { display: flex; align-items: center; gap: 12px; max-width: 420px; margin-top: 6px; padding: 12px; border-radius: 13px; background: var(--panel-2); border: 1px solid var(--line-2); cursor: pointer; }
.invite-card:hover { border-color: var(--accent-soft); }
.ic-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ic-text b { display: flex; align-items: center; color: var(--strong); font-size: 15px; }
.auth-bot .ab-top { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); margin-bottom: 4px; }
.perm-list { display: grid; gap: 6px; margin-top: 14px; }
.perm { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.perm .ic { width: 16px; height: 16px; color: var(--green); }
@media (max-width: 760px) {
  .files-wrap { grid-template-columns: 1fr; height: auto; }
  .ft { max-height: 200px; }
  .ed-box { height: 420px; }
  .console { height: 300px; }
  .ft-acts { display: flex; }
}
.bot-adm { flex-wrap: wrap; }
.bot-adm .mem-text { min-width: 160px; }
.bot-adm-acts { width: 100%; padding-left: 48px; }
.bot-adm-acts .btn .ic { width: 14px; height: 14px; }


/* ===================== 0.5: App-Gefühl ===================== */
html { overscroll-behavior: none; }
html.native body { user-select: none; -webkit-user-select: none; }
html.native input, html.native textarea, html.native [contenteditable="true"], html.native .ed textarea { user-select: text; -webkit-user-select: text; }
img, a { -webkit-user-drag: none; }
a[data-href] { cursor: pointer; }
.drop-hint { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; background: rgba(4, 2, 3, 0.62); backdrop-filter: blur(4px); pointer-events: none; }
html.drop-on .drop-hint { display: grid; }
.drop-hint > div { display: grid; justify-items: center; gap: 6px; padding: 34px 46px; border-radius: 22px; border: 2px dashed var(--accent); background: var(--solid); color: var(--strong); animation: pop 0.14s ease-out; }
.drop-hint .ic { width: 40px; height: 40px; color: var(--accent); }
.drop-hint b { font-size: 18px; }
.drop-hint span { color: var(--muted); font-size: 13px; }

/* Kontextmenü */
.ctx { position: fixed; z-index: 140; min-width: 220px; max-width: 300px; padding: 6px; background: var(--solid); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6); animation: pop 0.09s ease-out; }
.ctx-item { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 32px; padding: 0 9px; border-radius: 7px; color: var(--text); font-size: 13.5px; font-weight: 600; text-align: left; outline: none; }
.ctx-item:hover:not([disabled]), .ctx-item:focus-visible { background: var(--accent); color: var(--accent-ink); }
.ctx-item[disabled] { opacity: 0.42; cursor: default; }
.ctx-item.danger { color: var(--red); }
.ctx-item.danger:hover:not([disabled]) { background: var(--red); color: #fff; }
.ctx-item.accent { color: var(--accent); }
.ctx-item.accent:hover { color: var(--accent-ink); }
.ctx-ic { display: grid; place-items: center; opacity: 0.85; }
.ctx-ic .ic { width: 16px; height: 16px; }
.ctx-hint { color: var(--faint); font-size: 11.5px; font-weight: 600; }
.ctx-item:hover .ctx-hint { color: inherit; opacity: 0.8; }
.ctx-check { width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--line-2); display: grid; place-items: center; flex: none; }
.ctx-check.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ctx-check .ic { width: 12px; height: 12px; stroke-width: 3; }
.ctx-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.ctx-sep { height: 1px; background: var(--line); margin: 5px 6px; }
.ctx-head { display: flex; align-items: center; gap: 10px; padding: 6px 8px 9px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.ctx-head b { display: block; color: var(--strong); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctx-head .grow { min-width: 0; display: grid; }
.ctx-hic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--panel-3); color: var(--muted); }
.ctx-hic .ic { width: 16px; height: 16px; }
.ctx-custom { padding: 4px 9px 8px; }
.ctx-vol { display: grid; gap: 6px; }
.toast-btn { flex: none; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--panel-3); border: 1px solid var(--line); color: var(--strong); font-weight: 700; font-size: 12.5px; }
.toast-btn:hover { background: var(--accent); color: var(--accent-ink); }

/* Profilrahmen */
.av.framed { overflow: visible; }
.av.framed > img, .av.framed > span:first-child { position: relative; z-index: 1; }
.fr-ring { position: absolute; inset: calc(var(--s) * -0.085 - 1px); border-radius: 50%; padding: max(2px, calc(var(--s) * 0.06)); background: var(--fr-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2; filter: drop-shadow(0 0 calc(var(--s) * 0.06) var(--fr-glow)); }
.fr-b { position: absolute; right: calc(var(--s) * -0.08); bottom: calc(var(--s) * -0.08); width: calc(var(--s) * 0.38); height: calc(var(--s) * 0.38); max-width: 34px; max-height: 34px; border-radius: 50%; background: var(--fr-badge) center / cover no-repeat; box-shadow: 0 0 0 max(2px, calc(var(--s) * 0.04)) var(--solid); z-index: 3; pointer-events: none; }
.av.framed .st { right: auto; bottom: auto; left: calc(var(--s) * -0.04); top: calc(var(--s) * -0.04); z-index: 4; }
.fr-fly { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.fr-fly i { position: absolute; left: 50%; top: 50%; width: max(10px, calc(var(--s) * 0.26)); height: max(10px, calc(var(--s) * 0.26)); margin: calc(max(10px, calc(var(--s) * 0.26)) / -2); border-radius: 50%; background: var(--fr-badge) center / cover no-repeat; opacity: 0; font-style: normal; font-size: max(9px, calc(var(--s) * 0.22)); line-height: 1; display: grid; place-items: center; }
.av.framed:hover .fr-fly i, .av.framed.speaking .fr-fly i { animation: frfly 1.5s ease-out infinite; animation-delay: var(--d); }
@keyframes frfly {
  0% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--s) * -0.3)) rotate(calc(var(--a) * -1)) scale(0.3); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--s) * -0.95 - 10px)) rotate(calc(var(--a) * -1)) scale(1); }
}
.av.speaking.framed { box-shadow: none; }
.av.speaking.framed .fr-ring { filter: drop-shadow(0 0 calc(var(--s) * 0.12) var(--fr-glow)) brightness(1.25); }
.fr-verified { --fr-grad: conic-gradient(from 210deg, #ffffff, #9fb4ff, #ffffff, #c9d4ff, #ffffff); --fr-glow: rgba(190, 205, 255, 0.85); --fr-badge: url(../img/verified.png); }
.fr-team { --tcol: var(--fc, #e5484d); --fr-grad: conic-gradient(from 200deg, var(--tcol), #ffffff, color-mix(in srgb, var(--tcol) 60%, #fff), var(--tcol), #ffffff, var(--tcol)); --fr-glow: color-mix(in srgb, var(--tcol) 85%, transparent); --fr-badge: url(../img/logo.png) center / 68% no-repeat, var(--tcol); }
.fr-team .fr-b, .fr-team .fr-fly i { background: url(../img/logo.png) center / 66% no-repeat, var(--tcol); }
.fr-dev { --fr-grad: conic-gradient(from 200deg, #2fbf71, #2ad4c9, #b6ffda, #2fbf71); --fr-glow: rgba(47, 191, 113, 0.85); --fr-badge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%231f9d63'/%3E%3Cpath d='m15 16 4-4-4-4M9 8l-4 4 4 4' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fr-ember { --fr-grad: conic-gradient(from 180deg, #ff3d2e, #ffb02e, #ff3d2e, #ff7a1a, #ff3d2e); --fr-glow: rgba(255, 90, 40, 0.9); --fr-badge: radial-gradient(circle, #ffcf6b 0 30%, #ff5a1f 31% 100%); }
.fr-frost { --fr-grad: conic-gradient(from 180deg, #a5f3fc, #ffffff, #60a5fa, #e0f2fe, #a5f3fc); --fr-glow: rgba(150, 220, 255, 0.9); --fr-badge: radial-gradient(circle, #ffffff 0 28%, #60a5fa 29% 100%); }
.fr-neon { --fr-grad: conic-gradient(from 0deg, #ff2fd1, #22d3ee, #ff2fd1, #22d3ee, #ff2fd1); --fr-glow: rgba(255, 60, 220, 0.8); --fr-badge: radial-gradient(circle, #22d3ee 0 30%, #ff2fd1 31% 100%); }
.fr-ember .fr-fly i, .fr-frost .fr-fly i, .fr-neon .fr-fly i { background: none; }
.fr-neon .fr-fly i { color: #ff7ae6; text-shadow: 0 0 6px #22d3ee; }
.tile .av.framed .fr-fly i { width: 18px; height: 18px; margin: -9px; }

/* Shop */
.shop { overflow: hidden; }
.shop-scroll { height: 100%; overflow-y: auto; padding: 26px 34px 50px; }
.shop-hero { display: flex; align-items: center; gap: 28px; padding: 26px 30px; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 0% 0%, var(--accent-soft) 0%, transparent 55%), linear-gradient(135deg, var(--panel-2), var(--panel)); }
.shop-hero h1 { margin: 4px 0 6px; font-size: 30px; color: var(--strong); }
.shop-hero p { margin: 0; max-width: 560px; }
.shop-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.shop-kicker .ic { width: 15px; height: 15px; }
.shop-hero-av { padding: 18px; }
.shop-sec { margin: 30px 0 4px; font-size: 17px; color: var(--strong); }
.shop-sub { margin: 0 0 12px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.shop-card { border-radius: 18px; border: 1px solid var(--line); background: var(--panel-2); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.12s, border-color 0.12s; }
.shop-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.shop-card.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft); }
.shop-prev { position: relative; height: 160px; display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.06), transparent 62%), var(--solid); }
.shop-card.locked .shop-prev .av { filter: grayscale(0.6) brightness(0.8); }
.shop-glow { position: absolute; width: 140px; height: 140px; border-radius: 50%; background: var(--fr-glow, var(--accent-soft)); filter: blur(46px); opacity: 0.35; }
.fr-card-verified .shop-glow { background: #9fb4ff; } .fr-card-team .shop-glow { background: #e5484d; } .fr-card-dev .shop-glow { background: #2fbf71; }
.fr-card-ember .shop-glow { background: #ff5a1f; } .fr-card-frost .shop-glow { background: #60a5fa; } .fr-card-neon .shop-glow { background: #ff2fd1; }
.shop-info { padding: 14px 16px 16px; display: grid; gap: 6px; flex: 1; }
.shop-info b { color: var(--strong); font-size: 15.5px; }
.shop-info p { margin: 0; min-height: 38px; }
.shop-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.shop-card.locked .shop-foot { flex-direction: column; align-items: stretch; }
.shop-card.locked .shop-foot .btn, .shop-card.locked .shop-foot .chip { justify-content: center; }
.shop-price { font-weight: 800; color: var(--green); font-size: 13px; }
.shop-price.lock { color: var(--faint); font-weight: 650; }
.frame-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.fp { display: grid; justify-items: center; gap: 6px; width: 92px; padding: 12px 6px 9px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); }
.fp:hover { border-color: var(--line-2); color: var(--text); }
.fp.on { border-color: var(--accent); background: var(--active); color: var(--strong); }
.fp small { font-size: 11.5px; font-weight: 650; text-align: center; }
.fp-none { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px dashed var(--line-2); }
.fp-none .ic { width: 18px; height: 18px; }

/* Emoji-Auswahl & eigene Emojis */
img.cemoji { width: 1.375em; height: 1.375em; object-fit: contain; vertical-align: -0.3em; margin: 0 0.05em; }
img.cemoji.sm { width: 1.2em; height: 1.2em; }
.msg-text.big-emoji img.cemoji { width: 48px; height: 48px; vertical-align: -6px; }
.cemoji-miss { color: var(--faint); }
.ep { display: flex; width: 410px; height: 400px; }
.ep-nav { width: 50px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0; background: var(--panel-2); border-right: 1px solid var(--line); overflow-y: auto; }
.ep-nb { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; flex: none; }
.ep-nb:hover { background: var(--hover); }
.ep-nb .srv-ic { border-radius: 10px; }
.ep-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ep-search { margin: 10px; height: 34px; border-radius: 9px; background: var(--input); border: 1px solid var(--line); padding: 0 11px; color: var(--strong); outline: none; }
.ep-search:focus { border-color: var(--accent); }
.ep-body { flex: 1; overflow-y: auto; padding: 0 10px 10px; }
.ep-head { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--faint); margin: 10px 2px 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.ep-e, .ep-u { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-size: 22px; }
.ep-e:hover, .ep-u:hover { background: var(--hover); }
.ep-e img { width: 30px; height: 30px; object-fit: contain; }
.ep-tip { margin: 6px 2px 2px; padding: 9px 11px; border-radius: 10px; background: var(--panel-2); color: var(--muted); font-size: 12px; }
.ep-none { padding: 20px 4px; }
.cmd-emo { width: 22px; height: 22px; object-fit: contain; }
.emo-list { display: grid; gap: 6px; margin-top: 16px; }
.emo-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.emo-row img { width: 34px; height: 34px; object-fit: contain; }
.input.slim { height: 32px; width: 180px; }
.ib.box.danger:hover { color: var(--red); }

/* Soundboard */
.sbd { width: 380px; padding: 12px; }
.sb-head { display: flex; align-items: center; gap: 8px; color: var(--strong); margin-bottom: 4px; }
.sb-head .ic { width: 18px; height: 18px; color: var(--accent); }
.sb-head .range { width: 90px; }
.sb-sec { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--faint); margin: 12px 2px 6px; }
.sb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sb-btn { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); font-size: 12.5px; font-weight: 650; text-align: left; transition: transform 0.06s, background 0.1s; }
.sb-btn:hover { background: var(--panel-3); border-color: var(--line-2); }
.sb-btn:active { transform: scale(0.96); }
.sb-emo { font-size: 18px; flex: none; }
.sb-emo.big { font-size: 24px; width: 36px; text-align: center; }
.sb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-empty { grid-column: 1 / -1; }
.sb-foot { margin-top: 10px; text-align: center; }
.sb-pop { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); font-size: 54px; z-index: 6; pointer-events: none; animation: sbpop 1.5s ease-out forwards; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5)); }
@keyframes sbpop { 0% { opacity: 0; transform: translate(-50%, -30%) scale(0.4); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } 30% { transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -110%) scale(1); } }
.vp-actions { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important; }
.vp-actions .vp-btn .ic { width: 18px; height: 18px; }

/* Bildschirm teilen */
.ss-tabs { margin-bottom: 12px; }
.ss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; max-height: 340px; overflow-y: auto; padding: 2px; }
.ss-item { display: grid; gap: 7px; padding: 7px; border-radius: 13px; border: 2px solid transparent; background: var(--panel-2); text-align: left; color: var(--text); }
.ss-item:hover { border-color: var(--line-2); }
.ss-item.on { border-color: var(--accent); background: var(--active); }
.ss-img { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #000; display: grid; place-items: center; }
.ss-thumb { width: 100%; height: 100%; object-fit: contain; }
.ss-thumb.broken { opacity: 0; }
.ss-min { position: absolute; bottom: 6px; right: 6px; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, 0.7); font-size: 11px; font-weight: 700; color: #fff; }
.ss-name { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; min-width: 0; }
.ss-name .ic { width: 14px; height: 14px; color: var(--muted); flex: none; }
.ss-none { grid-column: 1 / -1; padding: 30px 10px; text-align: center; }
.ss-opts { display: grid; grid-template-columns: auto auto 1fr; align-items: end; gap: 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ss-audio { display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-align: right; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* Rollen, Einladungen, Server-Einstellungen */
.role-list { display: grid; gap: 6px; margin-top: 16px; }
.role-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.role-row b { color: var(--strong); }
.role-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05); }
.role-dot.big { width: 22px; height: 22px; }
.role-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.role-chip { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 8px; border-radius: 6px; background: var(--panel-3); border: 1px solid var(--line); font-size: 11.5px; font-weight: 650; color: var(--text); }
.role-chip i { width: 9px; height: 9px; border-radius: 50%; }
button.role-chip { height: 26px; cursor: pointer; }
button.role-chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.profile .role-chips { margin: 4px 0 2px; }
.set-line.dim { opacity: 0.55; }
.srv-me .srv-ic { border-radius: 12px; }
.lock-card { display: flex; align-items: center; gap: 14px; }
.lock-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-3); color: var(--muted); flex: none; }
.lock-ic .ic { width: 20px; height: 20px; }
.copy-row .ir-pre { display: grid; place-items: center; padding: 0 4px 0 10px; color: var(--faint); }
.set-nav button.danger { color: var(--red); }
.invite-card.bad { opacity: 0.75; }
.invite-card .ic-text b { display: flex; align-items: center; gap: 4px; }

/* Verifizierung & Support */
.verify-req { margin-top: 12px; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 100% 0%, var(--accent-soft), transparent 55%), var(--panel-2); padding: 18px 20px; }
.vr-head { display: flex; align-items: center; gap: 12px; }
.vr-head .vbadge { width: 34px; height: 34px; margin: 0; }
.vr-head b { color: var(--strong); font-size: 16px; }
.vr-list { display: grid; gap: 10px; margin: 16px 0; }
.vr-item { display: flex; gap: 12px; align-items: flex-start; }
.vr-item b { color: var(--strong); }
.vr-n { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 13px; }
.vr-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.vr-perk { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.vr-perk .ic { width: 16px; height: 16px; color: var(--green); flex: none; }
.vr-sum { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 6px; font-size: 13.5px; }
.verify-hero { display: flex; align-items: center; gap: 14px; }
.verify-hero .vbadge { width: 40px; height: 40px; margin: 0; }
.va-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 6px; }
.va-grid > div { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--input); }
.va-grid b.ok { color: var(--green); }
.va-grid b.bad { color: var(--red); }
.va-link { display: block; margin: 4px 0 8px; overflow-wrap: anywhere; }
.sup { display: flex; flex-direction: column; height: min(460px, calc(100vh - 300px)); min-height: 300px; margin-top: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.sup-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sup-empty { margin: auto; display: grid; justify-items: center; gap: 6px; text-align: center; max-width: 340px; }
.sup-msg { display: flex; gap: 9px; align-items: flex-end; max-width: 82%; }
.sup-msg.mine { margin-left: auto; flex-direction: row-reverse; }
.sup-av { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--accent); }
.sup-av .logo { width: 18px; }
.sup-av.big { width: 34px; height: 34px; }
.sup-bubble { padding: 9px 12px; border-radius: 14px; background: var(--panel-3); border: 1px solid var(--line); }
.sup-msg.mine .sup-bubble { background: var(--accent-soft); border-color: var(--accent-soft); }
.sup-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.sup-meta b { color: var(--strong); font-size: 13px; }
.sup-text { white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }
.sup-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--panel-2); }
.sup-ta { flex: 1; resize: none; min-height: 44px; }
.sup-admin { display: grid; grid-template-columns: 260px 1fr; gap: 12px; margin-top: 12px; min-height: 480px; }
.sup-inbox { display: flex; flex-direction: column; gap: 4px; overflow-y: auto; max-height: 560px; }
.sup-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; text-align: left; color: var(--text); border: 1px solid transparent; }
.sup-row:hover { background: var(--hover); }
.sup-row.on { background: var(--active); border-color: var(--line); }
.sup-row.unread .member-name { color: var(--strong); font-weight: 800; }
.sup-row.done { opacity: 0.6; }
.sup-right { display: flex; flex-direction: column; min-width: 0; }
.sup-right .sup { margin-top: 8px; flex: 1; height: auto; }
.sup-top { display: flex; align-items: center; gap: 10px; }
.sup-none { padding: 30px 10px; text-align: center; }
.meter.big { height: 14px; border-radius: 7px; }
.meter i { background: var(--faint); }
.meter i.open { background: var(--green); }
.meter b { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #fff; border-radius: 1px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4); }
.theme-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (max-width: 760px) {
  .ss-opts { grid-template-columns: 1fr; }
  .sup-admin { grid-template-columns: 1fr; }
  .va-grid { grid-template-columns: 1fr 1fr; }
  .ep { width: calc(100vw - 30px); }
  .shop-scroll { padding: 16px; }
  .shop-hero { flex-direction: column-reverse; text-align: center; }
}
.modal .grid2 > .field:first-child .label { margin-top: 16px; }
.modal .set-pane > .grid2:nth-child(3) > .field .label, .modal .set-pane > h2 + .grid2 > .field .label { margin-top: 10px; }

/* =================== blanc 0.6 =================== */
/* ---------- Weißes Design ---------- */
:root[data-theme="white"] {
  --bg: #f1eff0;
  --g1: rgba(229, 72, 77, 0.10);
  --g2: rgba(229, 72, 77, 0.06);
  --g3: rgba(255, 255, 255, 0.5);
  --panel: rgba(255, 255, 255, 0.92);
  --panel-2: rgba(247, 244, 245, 0.95);
  --panel-3: rgba(236, 232, 233, 0.95);
  --solid: #ffffff;
  --modal-bg: linear-gradient(180deg, #ffffff 0%, #f7f4f5 100%);
  --hover: rgba(0, 0, 0, 0.045);
  --active: rgba(229, 72, 77, 0.12);
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --input: rgba(0, 0, 0, 0.045);
  --text: #1d1517;
  --strong: #0b0708;
  --muted: #6b5f62;
  --faint: #9a8f92;
  --accent: #e5484d;
  --accent-hi: #d63c41;
  --accent-ink: #ffffff;
  --accent-soft: rgba(229, 72, 77, 0.14);
  --mention: rgba(240, 178, 50, 0.12);
  --stage: #e9e5e6;
}
:root[data-light] .btn:hover, :root[data-light] .vp-btn:hover { background: rgba(0, 0, 0, 0.07); }
:root[data-light] .btn.primary:hover { background: var(--accent-hi); }
:root[data-light] ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.14); background-clip: padding-box; border: 2px solid transparent; }
:root[data-light] .tip { background: #ffffff; color: #111; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }
:root[data-light] .tc-prev i { background: rgba(0, 0, 0, 0.14); }
:root[data-light] .code-block, :root[data-light] pre.code { color: #3a1f24; }
:root[data-light] .av:not(.def) { color: #fff; }
:root[data-light] .lightbox { background: rgba(20, 12, 14, 0.82); }
:root[data-light] a, :root[data-light] .link-btn { color: #1d64d8; }

/* ---------- Standard-Profilbild (blanc-Logo) ---------- */
.av.def { background: radial-gradient(circle at 30% 25%, #ff6b70, #e5484d 55%, #8f1c22); }
.av.def > img.def-pfp { width: 72%; height: 72%; border-radius: 0; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)); }
.av.bot-av { background: radial-gradient(circle at 30% 25%, #ff6b70, #e5484d 55%, #8f1c22); }
.av.bot-av img { width: 72%; height: 72%; border-radius: 0; object-fit: contain; }

/* ---------- Dias & Boosts ---------- */
.dia, .boost-ic { width: 16px; height: 16px; flex: none; vertical-align: -3px; filter: drop-shadow(0 0 4px rgba(229, 72, 77, 0.45)); }
.boost-ic { filter: drop-shadow(0 0 4px rgba(255, 115, 250, 0.5)); }
.dia-n { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; color: var(--strong); }
.dia-n.boost b { color: #ff9bfb; }
.wallet-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.wb-item { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--panel-3); border: 1px solid var(--line); }
.boost-chip { gap: 4px; cursor: pointer; color: #ff9bfb; }
.boost-chip .boost-ic { width: 13px; height: 13px; }
.on-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 5px; }
.booster { display: inline-grid; margin-left: 5px; vertical-align: -2px; }
.booster .boost-ic { width: 14px; height: 14px; }
.bdg.b-booster { background: rgba(255, 115, 250, 0.12); }
.bdg.b-booster .boost-ic { width: 70%; height: 70%; }
.tag.booster-tag { color: #ff9bfb; }
.tag.booster-tag .boost-ic { width: 14px; height: 14px; }
.boost-modal { display: grid; gap: 14px; }
.bm-head { display: flex; align-items: center; gap: 12px; }
.bm-head b { font-size: 17px; color: var(--strong); display: flex; align-items: center; }
.bm-track { display: grid; gap: 8px; }
.bm-lv { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); opacity: 0.75; }
.bm-lv.on { opacity: 1; border-color: rgba(255, 115, 250, 0.45); background: linear-gradient(90deg, rgba(255, 115, 250, 0.10), transparent 70%), var(--panel-2); }
.bm-lv ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); }
.bm-dot { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--panel-3); font-weight: 800; color: var(--muted); }
.bm-lv.on .bm-dot { background: #ff73fa; color: #2a0a28; }
.bm-dot .ic { width: 16px; height: 16px; }
.bm-me { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--input); border: 1px solid var(--line); }
.boost-sum { display: flex; align-items: center; gap: 12px; }
.big-num { font-size: 30px; font-weight: 900; color: var(--strong); display: flex; align-items: center; gap: 8px; }
.big-num .boost-ic { width: 26px; height: 26px; }

/* ---------- Server-Tag ---------- */
.tag-prev { padding: 12px; border-radius: 10px; background: var(--input); font-weight: 700; }

/* ---------- Quests ---------- */
.quest-list { display: grid; gap: 10px; }
.quest { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.quest.ready { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft), 0 8px 30px rgba(229, 72, 77, 0.12); }
.quest.claimed { opacity: 0.65; }
.quest.secret .q-ic { background: linear-gradient(135deg, #ff73fa33, #e5484d33); }
.q-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.q-ic .ic { width: 22px; height: 22px; }
.q-bar { height: 7px; border-radius: 4px; background: var(--input); overflow: hidden; margin: 8px 0 4px; }
.q-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent), #ff8a8e); transition: width 0.3s; }
.q-rew { display: grid; justify-items: end; gap: 8px; flex: none; }
.chip.sec { background: rgba(255, 115, 250, 0.12); border-color: rgba(255, 115, 250, 0.35); color: #ff9bfb; }
.chip.tiny { height: 17px; font-size: 10px; padding: 0 5px; }
.secret-hint { display: flex; align-items: center; gap: 14px; margin-top: 20px; }

/* ---------- Flappy blanc ---------- */
.flappy { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(4, 1, 2, 0.82); backdrop-filter: blur(6px); animation: fade 0.15s; }
.fl-box { position: relative; height: min(94vh, 1080px); max-width: 96vw; aspect-ratio: 420 / 640; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(229, 72, 77, 0.45); }
.fl-box canvas { width: 100%; height: 100%; display: block; cursor: pointer; }
.fl-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 15px; }
.fl-x:hover { background: rgba(229, 72, 77, 0.8); }

/* ---------- Minispiele ---------- */
.game-card { max-width: 440px; margin-top: 6px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line-2); overflow: hidden; user-select: none; }
.game-modal .game-card { max-width: none; margin: 0; }
.modal:has(.game-modal) { max-width: 600px; }
.gc-load { padding: 18px; color: var(--faint); font-size: 13px; }
.gc-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: linear-gradient(90deg, var(--accent-soft), transparent); border-bottom: 1px solid var(--line); }
.gc-head b { color: var(--strong); }
.gc-emoji { font-size: 20px; }
.gc-chip { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--panel-3); color: var(--muted); }
.gc-chip.play { background: rgba(47, 191, 113, 0.16); color: var(--green); }
.gc-chip.lobby { background: rgba(240, 178, 50, 0.16); color: var(--yellow); }
.gc-body { padding: 14px; display: grid; gap: 12px; }
.gc-desc { margin: 0; color: var(--muted); font-size: 13px; }
.gc-players { display: flex; flex-wrap: wrap; gap: 6px; }
.gc-pl { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 99px; background: var(--panel-3); font-size: 13px; font-weight: 600; }
.gc-pl i { font-style: normal; font-size: 10px; color: var(--accent); font-weight: 800; }
.gc-pl.out { opacity: 0.4; text-decoration: line-through; }
.gc-pl.turn { box-shadow: 0 0 0 2px var(--accent); }
.gc-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gc-scores { display: flex; gap: 6px; padding: 10px 14px 0; flex-wrap: wrap; }
.gc-score { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 99px; background: var(--input); font-size: 12.5px; max-width: 200px; }
.gc-score b { color: var(--strong); font-size: 14px; }
.gc-score.win { box-shadow: 0 0 0 2px var(--yellow); }
.gc-vs { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.gc-side { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 99px; background: var(--input); }
.gc-side.turn { box-shadow: 0 0 0 2px var(--accent); }
.gc-side i { font-style: normal; font-weight: 900; }
.gc-side i.m0 { color: #ff6b70; } .gc-side i.m1 { color: #60a5fa; }
.gc-hint { text-align: center; color: var(--muted); font-size: 13px; }
.gc-result { text-align: center; font-size: 18px; font-weight: 900; color: var(--strong); }
.gc-result.win { color: var(--yellow); }
.gc-last { text-align: center; font-size: 13px; color: var(--muted); }
.ttt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: min(260px, 100%); margin: 0 auto; }
.tc { aspect-ratio: 1; border-radius: 12px; background: var(--input); border: 1px solid var(--line); font-size: 34px; font-weight: 900; color: var(--strong); transition: background 0.1s, transform 0.05s; }
.tc:not(:disabled):hover { background: var(--accent-soft); }
.tc:not(:disabled):active { transform: scale(0.96); }
.tc:disabled { cursor: default; }
.tc.x { color: #ff6b70; } .tc.o { color: #60a5fa; }
.tc.last { box-shadow: 0 0 0 2px var(--line-2); }
.c4 { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; width: min(320px, 100%); margin: 0 auto; padding: 8px; border-radius: 14px; background: #1e3a8a; }
:root[data-light] .c4 { background: #3b5bdb; }
.c4c { aspect-ratio: 1; border-radius: 50%; background: rgba(0, 0, 0, 0.45); }
.c4c.p0, .c4dot.p0 { background: radial-gradient(circle at 35% 30%, #ff8a8e, #e5484d 60%, #a11a20); }
.c4c.p1, .c4dot.p1 { background: radial-gradient(circle at 35% 30%, #fff3a8, #facc15 60%, #b38a00); }
.c4c.last { box-shadow: 0 0 0 2px #fff; }
.c4dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.c4cols { position: absolute; inset: 8px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.c4cols button { border-radius: 10px; }
.c4cols button:not(:disabled):hover { background: rgba(255, 255, 255, 0.12); }
.c4cols button:disabled { cursor: default; }
.gc-picks { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.gc-pick { width: 72px; height: 72px; border-radius: 16px; background: var(--input); border: 1px solid var(--line-2); font-size: 34px; transition: transform 0.08s, background 0.1s; }
.gc-pick.wide { width: auto; height: 46px; padding: 0 14px; font-size: 14px; font-weight: 700; }
.gc-pick:not(:disabled):hover { background: var(--accent-soft); transform: translateY(-2px); }
.gc-pick.on { box-shadow: 0 0 0 2px var(--accent); }
.gc-pick:disabled:not(.on) { opacity: 0.4; }
.pen-goal { display: grid; justify-items: center; gap: 6px; text-align: center; }
.pen-net { display: grid; grid-template-columns: repeat(3, 64px); height: 58px; border: 3px solid #fff; border-bottom: 0; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 6px, transparent 6px 12px), #14532d; }
.pz { display: grid; place-items: center; font-size: 24px; }
.pz.ball.in { animation: ballpop 0.4s; }
.pen-goal b.ok { color: var(--green); font-size: 18px; } .pen-goal b.no { color: var(--red); font-size: 18px; }
.gc-word { text-align: center; font-size: 20px; color: var(--strong); }
.gc-word u { text-decoration: none; color: var(--accent); }
.gc-need { text-align: center; font-size: 14px; color: var(--muted); }
.gc-need b { font-size: 22px; color: var(--accent); }
.gc-timer { height: 6px; border-radius: 3px; background: var(--input); overflow: hidden; }
.gc-timer i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--yellow), var(--green)); transition: width 0.1s linear; }
.gc-inrow { display: flex; gap: 8px; }
.gc-inrow .input { flex: 1; }
.gc-react { width: 100%; height: 130px; border-radius: 14px; background: #7f1d1d; color: #fff; display: grid; place-items: center; align-content: center; gap: 4px; font-size: 18px; transition: background 0.05s; }
.gc-react.go { background: #15803d; }
.gc-q { text-align: center; font-size: 32px; font-weight: 900; color: var(--strong); font-variant-numeric: tabular-nums; }
.input.shake { animation: shake 0.35s; border-color: var(--red); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes ballpop { 0% { transform: scale(0.4); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
.game-pick { width: 520px; max-width: calc(100vw - 24px); padding: 6px; }
.gp-head span { margin-left: auto; }
.gp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-height: min(66vh, 560px); overflow-y: auto; }
.gp-it.yt { grid-column: 1 / -1; background: linear-gradient(90deg, rgba(255, 0, 0, 0.14), transparent); }
@media (max-width: 560px) { .gp-list { grid-template-columns: 1fr; } }
.gp-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px 8px; color: var(--strong); }
.gp-head .ic { width: 18px; height: 18px; }
.gp-it { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 7px 8px; border-radius: 9px; }
.gp-it:hover { background: var(--hover); }
.gp-e { font-size: 22px; width: 30px; text-align: center; }
.gv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 14px; }
.gv-card { display: flex; gap: 14px; padding: 16px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line); }
.gv-card b { font-size: 16px; color: var(--strong); }
.gv-card p { margin: 4px 0 10px; }
.gv-emoji { width: 56px; height: 56px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 30px; background: var(--accent-soft); }
.gv-emoji img { width: 70%; }
.flappy-card { margin-top: 14px; border-color: rgba(255, 115, 250, 0.4); background: linear-gradient(90deg, rgba(255, 115, 250, 0.08), transparent 60%), var(--panel-2); }
.btn-logo { width: 16px; height: 16px; object-fit: contain; }
.vp-actions { grid-template-columns: repeat(4, 1fr); }
.vp-game { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--accent-soft); color: var(--strong); font-size: 12.5px; text-align: left; }
.vp-game b { color: var(--accent); }

/* ---------- Anhänge, Dateien, Link-Vorschau, Bot-Karten ---------- */
.att-tray { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; margin: 0 2px -6px; padding-bottom: 16px; border-radius: 12px 12px 0 0; background: var(--panel-3); border: 1px solid var(--line); }
.att { position: relative; width: 150px; padding: 8px; border-radius: 10px; background: var(--input); border: 1px solid var(--line); display: grid; gap: 2px; }
.att img { width: 100%; height: 90px; object-fit: cover; border-radius: 7px; }
.att-ic { height: 90px; display: grid; place-items: center; border-radius: 7px; background: var(--panel-2); color: var(--muted); }
.att-ic .ic { width: 34px; height: 34px; }
.att-name { font-size: 12.5px; font-weight: 600; color: var(--strong); }
.att-x { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.att-x .ic { width: 13px; height: 13px; }
.att.up { opacity: 0.7; }
.att-hint { width: 100%; }
.file-card { max-width: 420px; margin-top: 6px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); overflow: hidden; }
.fc-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.fc-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.fc-name { font-weight: 700; color: #8ab4ff; }
.fc-media img, .fc-media video, .fc-media audio { display: block; max-width: 100%; max-height: 320px; margin: 0; border: 0; border-radius: 0; }
.fc-media audio { width: 100%; padding: 8px; }
.fc-media > span { display: block; padding: 10px 12px; }
.fc-video { position: relative; display: block; width: 100%; }
.fc-video video { width: 100%; max-height: 300px; object-fit: cover; background: #000; }
.le-play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff; display: grid; place-items: center; transition: transform 0.1s, background 0.1s; }
.le-play svg { width: 28px; height: 28px; margin-left: 3px; }
.link-emb { max-width: 420px; margin-top: 6px; padding: 10px 12px 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); border-left: 4px solid #ff0033; display: grid; gap: 8px; }
.link-emb.tt { border-left-color: #25f4ee; }
.le-top { display: grid; gap: 2px; }
.le-prov { font-size: 11.5px; color: var(--faint); font-weight: 700; }
.le-title { font-weight: 700; color: #8ab4ff; cursor: pointer; }
.le-thumb { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000 center / cover no-repeat; }
.link-emb.tt .le-thumb { aspect-ratio: 9 / 12; max-width: 260px; }
.le-thumb:hover .le-play, .fc-video:hover .le-play { transform: scale(1.08); background: #ff0033; }
.lightbox.media { cursor: default; }
.lb-media { display: grid; place-items: center; }
.le-frame { width: min(1100px, 92vw); aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.le-frame.tall { width: min(420px, 92vw); aspect-ratio: 9 / 16; max-height: 86vh; }
.lb-video { max-width: 92vw; max-height: 86vh; border-radius: 12px; background: #000; }
.bot-emb { position: relative; max-width: 460px; margin-top: 6px; padding: 12px 14px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); border-left: 4px solid var(--ec); display: grid; gap: 6px; }
.be-title { font-weight: 800; color: var(--strong); padding-right: 70px; }
.be-desc { font-size: 14px; }
.be-thumb { position: absolute; top: 12px; right: 12px; width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.be-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.be-f { grid-column: 1 / -1; font-size: 13.5px; }
.be-f.in { grid-column: auto; }
.be-f b { color: var(--strong); font-size: 13px; }
.be-img { max-width: 100%; margin-top: 4px; }
.msg-img.gif { cursor: zoom-in; }
.ia-line .cmd-chip.sm { padding: 0 5px; font-size: 12px; }
.mtn { cursor: pointer; }
.mtn-all { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.mtn-all .ic { width: 15px; height: 15px; }
.gif-pick { width: 420px; max-width: calc(100vw - 24px); height: min(520px, calc(100vh - 24px)); padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.gif-pick > .input { flex: none; }
/* Alle GIFs ganz sichtbar (nicht abgeschnitten), zwei Spalten, nichts überlappt – der Bereich scrollt */
.gif-grid { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 6px; padding-right: 2px; }
.gif-grid > .faint, .gif-grid > .form-error { grid-column: 1 / -1; }
.gif-col { display: grid; gap: 6px; min-width: 0; }
.gif-it { display: block; width: 100%; border-radius: 8px; overflow: hidden; background: var(--input); }
.gif-it img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gif-it:hover { outline: 2px solid var(--accent); }
.gif-foot { text-align: right; }
.input-emo { position: relative; }
.input-emo .input { padding-right: 40px; }
.input-emo .emo-in { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.chan-name .cemoji.sm { width: 16px; height: 16px; }

/* ---------- Aktivität ---------- */
.act { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-weight: 600; }
.act .ic { width: 13px; height: 13px; }
.act b { font-weight: 800; }
.act.sm { font-size: 12px; }
.act-card { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--input); border: 1px solid var(--line); margin-top: 8px; }
.act-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(47, 191, 113, 0.14); color: var(--green); flex: none; }
.act-card b { color: var(--strong); }

/* ---------- Ankündigungen, Update ---------- */
.ann-modal { display: grid; gap: 14px; }
.ann-head { display: flex; align-items: center; gap: 12px; }
.ann-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-weight: 800; font-size: 16px; }
.ann-team { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 800; }
.ann-team img.logo { width: 12px; }
.ann-text { font-size: 15px; line-height: 1.55; padding: 14px 16px; border-radius: 12px; background: var(--input); border: 1px solid var(--line); white-space: pre-wrap; }
.ann-prev { display: grid; gap: 10px; }
.upd-screen { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(4, 2, 3, 0.9); backdrop-filter: blur(8px); }
.upd-card { width: min(440px, 92vw); padding: 28px; border-radius: 20px; background: var(--modal-bg); border: 1px solid var(--line-2); text-align: center; display: grid; gap: 10px; justify-items: center; }
.upd-card .splash-logo { width: 64px; }
.upd-bar { width: 100%; height: 8px; border-radius: 4px; background: var(--input); overflow: hidden; }
.upd-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #ff8a8e); transition: width 0.2s; }
.tip-sub { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.tip .vbadge { width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; }

/* ---------- Designs & Schriften ---------- */
.theme-card.add { place-items: center; text-align: center; }
.tc-prev.add { width: 100%; display: grid; place-items: center; color: var(--muted); border-style: dashed; }
.tc-prev.add .ic { width: 30px; height: 30px; }
.link-btn.small { font-size: 12px; }
.link-btn.danger { color: var(--red); }
.te-rows { display: grid; gap: 8px; }
.te-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; background: var(--input); }
.te-row .color-in { width: 44px; height: 36px; }
.te-preset { height: 30px; border: 1px solid var(--line-2); }
.font-grid.app-fonts { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.font-chip.custom { position: relative; cursor: pointer; }
.font-chip.add { border-style: dashed; color: var(--muted); }
.font-chip.add .ic { width: 20px; height: 20px; }
.fc-del { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; display: none; place-items: center; background: var(--red); color: #fff; }
.fc-del .ic { width: 12px; height: 12px; }
.font-chip.custom:hover .fc-del { display: grid; }
html.font-pixel body { font-size: calc(var(--fs) * 0.78); line-height: 1.7; }

/* ---------- Dev-Portal: KI ---------- */
.cmd-list { display: grid; gap: 8px; margin-top: 8px; }
.cmd-list .cmd-item { align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--input); }
.ai-res { display: grid; gap: 8px; margin-top: 12px; }
.ai-head { display: grid; gap: 2px; }
.ai-cmd { border-radius: 10px; background: var(--input); padding: 8px 10px; }
.ai-cmd summary { cursor: pointer; }
.ai-cmd pre { max-height: 220px; overflow: auto; }
.ai-think { display: flex; align-items: center; gap: 10px; color: var(--muted); }

/* ---------- Animierte Profilrahmen ---------- */
.fr-angel { --fr-grad: conic-gradient(from 200deg, #fff8dc, #ffd76a, #ffffff, #ffe9a8, #fff8dc); --fr-glow: rgba(255, 223, 128, 0.85); }
.fr-devil { --fr-grad: conic-gradient(from 200deg, #ff2a2a, #4a0008, #ff5a5f, #2a0004, #ff2a2a); --fr-glow: rgba(255, 40, 40, 0.85); }
.fr-rage { --fr-grad: conic-gradient(from 0deg, #ff2a2a, #8a0010, #ff2a2a, #8a0010, #ff2a2a); --fr-glow: rgba(255, 30, 30, 0.95); }
.fr-crown { --fr-grad: conic-gradient(from 200deg, #f6c343, #fff1b8, #c8901a, #f6c343); --fr-glow: rgba(246, 195, 67, 0.8); }
.fr-cat { --fr-grad: conic-gradient(from 200deg, #ff9fc4, #26232b, #ff9fc4, #26232b, #ff9fc4); --fr-glow: rgba(255, 159, 196, 0.7); }
.fr-fire { --fr-grad: conic-gradient(from 90deg, #ff5a1f, #ffd166, #ff2a00, #ffb02e, #ff5a1f); --fr-glow: rgba(255, 100, 30, 0.95); }
.fr-galaxy { --fr-grad: conic-gradient(from 0deg, #a855f7, #22d3ee, #1e1b4b, #a855f7); --fr-glow: rgba(168, 85, 247, 0.85); }
.fr-hearts { --fr-grad: conic-gradient(from 0deg, #ff4d8d, #ffc2d6, #ff4d8d, #ffc2d6, #ff4d8d); --fr-glow: rgba(255, 77, 141, 0.85); }
.fr-glitch { --fr-grad: conic-gradient(from 0deg, #22d3ee, #ff2fd1, #ffffff, #22d3ee); --fr-glow: rgba(34, 211, 238, 0.7); }
.fr-storm { --fr-grad: conic-gradient(from 0deg, #7dd3fc, #1e3a8a, #fde047, #1e3a8a, #7dd3fc); --fr-glow: rgba(125, 211, 252, 0.9); }
.fr-angel .fr-fly i, .fr-devil .fr-fly i, .fr-rage .fr-fly i, .fr-crown .fr-fly i, .fr-cat .fr-fly i, .fr-fire .fr-fly i, .fr-galaxy .fr-fly i, .fr-hearts .fr-fly i, .fr-glitch .fr-fly i, .fr-storm .fr-fly i { background: none; }
.fr-glitch .fr-fly i { color: #22d3ee; text-shadow: 2px 0 #ff2fd1; }
.fr-card-angel .shop-glow { background: #ffd76a; } .fr-card-devil .shop-glow { background: #ff2a2a; } .fr-card-rage .shop-glow { background: #ff1a1a; }
.fr-card-crown .shop-glow { background: #f6c343; } .fr-card-cat .shop-glow { background: #ff9fc4; } .fr-card-fire .shop-glow { background: #ff5a1f; }
.fr-card-galaxy .shop-glow { background: #a855f7; } .fr-card-hearts .shop-glow { background: #ff4d8d; } .fr-card-glitch .shop-glow { background: #22d3ee; } .fr-card-storm .shop-glow { background: #7dd3fc; }
.fr-deco { position: absolute; left: calc(var(--s) * -0.25); top: calc(var(--s) * -0.25); width: calc(var(--s) * 1.5); height: calc(var(--s) * 1.5); pointer-events: none; z-index: 4; overflow: visible; }
.fr-deco * { transform-box: fill-box; }
.av.framed .fr-deco ~ .fr-ring { z-index: 2; }
/* Animiert: bei großen Bildern, beim Drüberfahren und beim Reden */
.fr-deco .halo { animation: halo 3s ease-in-out infinite; filter: drop-shadow(0 0 3px #ffe9a8); }
.fr-deco .wing { transform-origin: 100% 40%; animation: wing 2.6s ease-in-out infinite; }
.fr-deco .tail { transform-origin: 0% 0%; animation: tail 1.8s ease-in-out infinite; }
.fr-deco .horns { filter: drop-shadow(0 0 3px rgba(255, 40, 40, 0.8)); }
.fr-deco .rings { transform-origin: 50% 50%; animation: spin 7s linear infinite; filter: drop-shadow(0 0 4px #ff2a2a); }
.fr-deco .vein { transform-origin: 50% 50%; animation: vein 0.9s ease-in-out infinite; }
.fr-deco .bubble { transform-origin: 50% 50%; animation: bob 1.6s ease-in-out infinite; }
.fr-deco .crown { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4)); }
.fr-deco .twinkle g { transform-origin: 50% 50%; animation: twinkle 1.8s ease-in-out infinite; }
.fr-deco .twinkle g:nth-child(2) { animation-delay: 0.6s; } .fr-deco .twinkle g:nth-child(3) { animation-delay: 1.2s; }
.fr-deco .ear { transform-origin: 50% 100%; animation: ear 3.4s ease-in-out infinite; }
.fr-deco .ear.r { animation-delay: 0.4s; }
.fr-deco .fl { transform-origin: 50% 100%; animation: flame 0.7s ease-in-out infinite alternate; animation-delay: var(--d); }
.fr-deco .flames { filter: drop-shadow(0 0 4px rgba(255, 120, 30, 0.9)); }
.fr-deco .spin { transform-origin: 50% 50%; animation: spin 14s linear infinite; }
.fr-deco .spin.rev { animation-duration: 20s; animation-direction: reverse; }
.fr-deco .ht { animation: heart 2.4s ease-in infinite; animation-delay: var(--d); }
.fr-deco .gl.a { animation: glitchA 1.4s steps(2) infinite; }
.fr-deco .gl.b { animation: glitchB 1.4s steps(2) infinite; }
.fr-deco .bars rect { animation: bars 1.1s steps(3) infinite; }
.fr-deco .bolt { transform-origin: 50% 50%; animation: bolt 1.7s steps(1) infinite; filter: drop-shadow(0 0 4px #fde047); }
.fr-deco .bolt.b2 { animation-delay: 0.6s; } .fr-deco .bolt.b3 { animation-delay: 1.1s; }
.fr-deco .arc { transform-origin: 50% 50%; animation: spin 3s linear infinite; filter: drop-shadow(0 0 3px #7dd3fc); }
/* Kleine Bilder (Listen) bleiben ruhig, bis man drüberfährt */
.av.framed[style*="--s:2"] .fr-deco *, .av.framed[style*="--s: 2"] .fr-deco *, .av.framed[style*="--s:3"] .fr-deco *, .av.framed[style*="--s: 3"] .fr-deco * { animation-play-state: paused; }
.av.framed:hover .fr-deco *, .av.framed.speaking .fr-deco * { animation-play-state: running !important; }
@keyframes halo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes wing { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-9deg); } }
@keyframes tail { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(12deg); } }
@keyframes vein { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-3px) rotate(4deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(0.4); opacity: 0.3; } 50% { transform: scale(1.2); opacity: 1; } }
@keyframes ear { 0%, 80%, 100% { transform: rotate(0deg); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(6deg); } }
@keyframes flame { from { transform: scaleY(0.82) scaleX(1.05); } to { transform: scaleY(1.15) scaleX(0.92); } }
@keyframes heart { 0% { transform: translateY(6px) scale(0.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-26px) scale(1.1); opacity: 0; } }
@keyframes glitchA { 0% { transform: translate(-2px, 1px); } 50% { transform: translate(3px, -1px); } 100% { transform: translate(-1px, 2px); } }
@keyframes glitchB { 0% { transform: translate(2px, -1px); } 50% { transform: translate(-3px, 1px); } 100% { transform: translate(1px, -2px); } }
@keyframes bars { 0% { opacity: 0; } 33% { opacity: 0.8; transform: translateX(6px); } 66% { opacity: 0; } }
@keyframes bolt { 0%, 100% { opacity: 0; } 4%, 12% { opacity: 1; } 8% { opacity: 0.3; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fr-deco * { animation: none !important; } }
@media (max-width: 760px) {
  .quest { flex-wrap: wrap; }
  .q-rew { justify-items: start; }
  .gv-grid { grid-template-columns: 1fr; }
  .gif-pick { width: min(420px, 94vw); }
}
:root[data-light] .mtn.me { color: #8a5a00; background: rgba(240, 178, 50, 0.28); }
:root[data-light] .fc-name, :root[data-light] .le-title { color: #1d64d8; }
:root[data-light] .gc-react { color: #fff; }
.quick-dm { margin-top: 10px; }
.quick-dm .input { background: var(--input); }
/* Etwas cleaner: weichere Karten und Profile */
.profile-banner { border-radius: 12px 12px 0 0; }
.profile-banner { height: 96px; }
.profile-body { gap: 6px; }
.member { border-radius: 10px; }
.msg:hover { background: var(--hover); }

/* ---------- Sprachnachrichten ---------- */
.rec-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin: 0 2px -6px; padding-bottom: 14px; border-radius: 12px 12px 0 0; background: var(--panel-3); border: 1px solid var(--line); }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: recblink 1s steps(2) infinite; }
@keyframes recblink { 50% { opacity: 0.2; } }
.rec-time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--strong); }
.rec-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 26px; overflow: hidden; }
.rec-wave i { width: 3px; border-radius: 2px; background: var(--accent); flex: none; }
.composer-box .ib.rec-on { color: var(--red); }
.voice-msg { display: flex; align-items: center; gap: 10px; width: min(360px, 100%); margin-top: 6px; padding: 8px 12px 8px 8px; border-radius: 22px; background: var(--panel-2); border: 1px solid var(--line-2); }
.vm-play { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.vm-play svg { width: 16px; height: 16px; }
.vm-bars { flex: 1; display: flex; align-items: center; gap: 2px; height: 30px; cursor: pointer; }
.vm-bars i { flex: 1; min-width: 2px; border-radius: 2px; background: var(--line-2); }
.vm-bars i.on { background: var(--accent); }
.vm-time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 36px; text-align: right; }
.vm-dl { opacity: 0.6; }
.vm-dl:hover { opacity: 1; }
/* App-Icon bei "Spielt …" */
.act img.act-app { width: 14px; height: 14px; border-radius: 3px; object-fit: contain; }
.act-ic img { width: 30px; height: 30px; object-fit: contain; border-radius: 6px; }
.bot-search { display: grid; gap: 6px; margin-top: 8px; max-height: 420px; overflow-y: auto; }
.bs-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.bs-row.trusted { border-color: rgba(120, 160, 255, 0.35); }
.trust-note { display: flex; align-items: center; gap: 10px; }
.trust-note .vbadge { width: 22px; height: 22px; margin: 0; }
/* ---------- Spiele im Call ---------- */
.stage-game { display: none; position: relative; flex: 1; min-height: 0; overflow: hidden; }
.stage.has-game .stage-game { display: flex; flex-direction: column; }
.stage.has-game .stage-grid { flex: 0 0 110px; flex-wrap: nowrap; overflow-x: auto; justify-content: center; align-content: stretch; --tw: 180px !important; }
.stage.has-game .stage-focus { display: none; }
/* Spiel im Call: füllt den ganzen Platz – nichts muss gescrollt werden */
.stage-game .game-card { flex: 1; min-height: 0; width: 100%; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; }
.stage-game .gc-head { padding: 8px 48px 8px 14px; flex: none; }
.stage-game .gc-scores { flex: none; }
.stage-game .gc-body { flex: 1; min-height: 0; overflow: auto; align-content: center; container-type: size; padding: 10px 16px; gap: 10px; }
.stage-game .gc-body:has(> .draw-board, > .pong-board, > .tron-board, > .yt-board) { align-content: stretch; grid-template-rows: minmax(0, 1fr); overflow: hidden; }
.stage-game .draw-board { min-height: 0; grid-template-rows: auto minmax(0, 1fr); }
.stage-game .db-main { min-height: 0; grid-template-columns: auto 250px; justify-content: center; }
.stage-game .db-canvas { width: auto; min-height: 0; align-content: start; }
.stage-game .db-cv { width: min(100cqw - 260px, (100cqh - 104px) * 10 / 7); }
.stage-game .db-side { min-height: 0; }
.stage-game .db-feed { max-height: none; min-height: 0; }
.stage-game .pong-board { width: auto; justify-items: center; align-content: center; }
.stage-game .pong-cv { width: min(100cqw, (100cqh - 28px) * 16 / 9); }
.stage-game .gc-body:has(> .draw-board) .db-main { height: 100%; }
.stage-game .ttt { width: min(100%, 100cqh - 90px, 440px); }
.stage-game .tc { font-size: clamp(30px, 8cqh, 64px); }
.stage-game .c4 { width: min(100%, (100cqh - 92px) * 7 / 6, 600px); }
.stage-game .memory { width: min(100%, (100cqh - 90px) * 5 / 4, 640px); }
.stage-game .mc { font-size: clamp(22px, 7cqh, 52px); }
.stage-game .q-ans .qa { min-height: clamp(54px, 12cqh, 110px); font-size: 17px; }
.stage-game .q-text { font-size: clamp(19px, 4cqh, 30px); }
.stage-game .q-emoji { font-size: clamp(54px, 14cqh, 110px); }
.stage-game .gc-react { height: clamp(130px, 50cqh, 340px); font-size: 24px; }
.stage-game .click-btn { height: clamp(170px, 55cqh, 380px); }
.stage-game .color-word { font-size: clamp(56px, 16cqh, 120px); }
.stage-game .tr-text { font-size: clamp(19px, 3.6cqh, 28px); }
.stage-game .gc-q { font-size: clamp(32px, 10cqh, 72px); }
.sg-close { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.45); color: #fff; z-index: 2; }
.sg-close .ic { width: 15px; height: 15px; }
.call-area.active .stage.has-game .stage-grid { flex-basis: 80px; }
.draw-board { display: grid; gap: 8px; }
.db-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--input); }
.db-round { font-size: 12px; font-weight: 700; color: var(--muted); }
.db-word { font-size: 18px; letter-spacing: 0.04em; color: var(--strong); }
.db-word.hidden { letter-spacing: 0.15em; font-family: var(--mono); }
.db-time { font-weight: 900; font-variant-numeric: tabular-nums; min-width: 40px; text-align: right; color: var(--strong); }
.db-time.low { color: var(--red); }
.db-main { display: grid; grid-template-columns: 1fr 220px; gap: 8px; }
.db-canvas { display: grid; gap: 6px; }
.db-cv { width: 100%; aspect-ratio: 10 / 7; border-radius: 12px; background: #fff; touch-action: none; }
.db-cv.can-draw { cursor: crosshair; }
.db-tools { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.db-col { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); }
.db-col.on { box-shadow: 0 0 0 2px var(--accent); }
.db-size { width: 28px; height: 28px; border-radius: 8px; background: var(--input); display: grid; place-items: center; }
.db-size i { display: block; border-radius: 50%; background: var(--strong); }
.db-size.on { box-shadow: 0 0 0 2px var(--accent); }
.db-btn { height: 28px; padding: 0 10px; border-radius: 8px; background: var(--panel-3); font-size: 12.5px; font-weight: 700; }
.db-side { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.db-feed { flex: 1; min-height: 160px; max-height: 420px; overflow-y: auto; display: grid; align-content: start; gap: 3px; padding: 8px; border-radius: 10px; background: var(--input); font-size: 13px; }
.db-msg b { color: var(--strong); }
.db-msg.ok { color: var(--green); font-weight: 700; }
.pong-board { display: grid; gap: 6px; }
.pong-cv { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; outline: none; cursor: none; box-shadow: 0 0 0 1px var(--line-2); }
@media (max-width: 900px) { .db-main { grid-template-columns: 1fr; } }
/* ---------- Neue Rahmen ---------- */
.fr-snow { --fr-grad: conic-gradient(from 0deg, #e0f2fe, #ffffff, #93c5fd, #ffffff, #e0f2fe); --fr-glow: rgba(191, 219, 254, 0.9); }
.fr-sakura { --fr-grad: conic-gradient(from 0deg, #ffc8dd, #ffffff, #ffafcc, #ffffff, #ffc8dd); --fr-glow: rgba(255, 175, 204, 0.85); }
.fr-rainbow { --fr-grad: conic-gradient(#ef4444, #f97316, #facc15, #22c55e, #3b82f6, #a855f7, #ef4444); --fr-glow: rgba(250, 204, 21, 0.6); }
.fr-diamond { --fr-grad: conic-gradient(from 0deg, #e0f2fe, #7dd3fc, #ffffff, #38bdf8, #e0f2fe); --fr-glow: rgba(125, 211, 252, 0.95); }
.fr-music { --fr-grad: conic-gradient(from 0deg, #c4b5fd, #f9a8d4, #67e8f9, #c4b5fd); --fr-glow: rgba(196, 181, 253, 0.85); }
.fr-ghost { --fr-grad: conic-gradient(from 0deg, #f8fafc, #94a3b8, #f8fafc, #64748b, #f8fafc); --fr-glow: rgba(226, 232, 240, 0.8); }
.fr-toxic { --fr-grad: conic-gradient(from 0deg, #84cc16, #14532d, #a3e635, #14532d, #84cc16); --fr-glow: rgba(132, 204, 22, 0.95); }
.fr-bubbles { --fr-grad: conic-gradient(from 0deg, #bae6fd, #ffffff, #7dd3fc, #ffffff, #bae6fd); --fr-glow: rgba(186, 230, 253, 0.8); }
.fr-snow .fr-fly i, .fr-sakura .fr-fly i, .fr-rainbow .fr-fly i, .fr-diamond .fr-fly i, .fr-music .fr-fly i, .fr-ghost .fr-fly i, .fr-toxic .fr-fly i, .fr-bubbles .fr-fly i { background: none; }
.fr-card-snow .shop-glow { background: #93c5fd; } .fr-card-sakura .shop-glow { background: #ffafcc; } .fr-card-rainbow .shop-glow { background: #facc15; } .fr-card-diamond .shop-glow { background: #38bdf8; }
.fr-card-music .shop-glow { background: #c4b5fd; } .fr-card-ghost .shop-glow { background: #e2e8f0; } .fr-card-toxic .shop-glow { background: #84cc16; } .fr-card-bubbles .shop-glow { background: #7dd3fc; }
.fr-deco .flk { transform-origin: 50% 50%; animation: flake 3s ease-in-out infinite; animation-delay: var(--d); }
.fr-deco .petal { animation: petal 3.2s ease-in infinite; animation-delay: var(--d); }
.fr-deco .gem { transform-origin: 50% 50%; animation: twinkle 2.2s ease-in-out infinite; animation-delay: var(--d); filter: drop-shadow(0 0 3px #7dd3fc); }
.fr-deco .note { animation: note 1.2s ease-in-out infinite; animation-delay: var(--d); }
.fr-deco .spin.slow { animation-duration: 9s; }
.fr-deco .boo { animation: bob 1.8s ease-in-out infinite; }
.fr-deco .drip { animation: drip 1.8s ease-in infinite; animation-delay: var(--d); }
.fr-deco .bub { animation: bubble 3s ease-in infinite; animation-delay: var(--d); }
@keyframes flake { 0%, 100% { transform: rotate(0deg) scale(0.8); opacity: 0.6; } 50% { transform: rotate(60deg) scale(1.1); opacity: 1; } }
@keyframes petal { 0% { transform: translate(0, 0) rotate(0deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-14px, 120px) rotate(220deg); opacity: 0; } }
@keyframes note { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-6px) rotate(8deg); } }
@keyframes drip { 0% { transform: translateY(0) scale(1); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(26px) scale(0.6); opacity: 0; } }
@keyframes bubble { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-120px) scale(1.1); opacity: 0; } }
.stage-game .pong-board { width: min(100%, calc((100vh - 380px) * 16 / 9)); margin: 0 auto; }
.stage-game .db-canvas { width: min(100%, calc((100vh - 420px) * 10 / 7)); justify-self: center; }

/* ---------- Neue Minispiele (0.6.2) ---------- */
.q-top { display: flex; align-items: center; gap: 10px; }
.q-time { flex: 1; height: 6px; border-radius: 3px; background: var(--input); overflow: hidden; }
.q-time i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--red), var(--yellow), var(--green)); transition: width 0.1s linear; }
.hang .q-time { margin-top: 6px; }
.q-text { text-align: center; font-size: 19px; font-weight: 800; color: var(--strong); line-height: 1.3; }
.q-ans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qa { min-height: 54px; padding: 8px 12px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 15px; text-align: center; transition: transform 0.08s, filter 0.1s, opacity 0.2s; }
.qa0 { background: #d93a40; } .qa1 { background: #2563eb; } .qa2 { background: #c28a00; } .qa3 { background: #15803d; }
.qa:not(:disabled):hover { transform: translateY(-2px); filter: brightness(1.12); }
.qa:disabled { cursor: default; }
.q-ans:has(.mine) .qa:not(.mine):not(.right), .q-ans:has(.right) .qa:not(.right):not(.mine) { opacity: 0.35; }
.qa.mine { box-shadow: inset 0 0 0 3px #fff; }
.qa.right { box-shadow: inset 0 0 0 3px #fff, 0 0 20px rgba(47, 191, 113, 0.8); animation: ballpop 0.4s; }
.qa.wrong { text-decoration: line-through; }
.q-emoji { text-align: center; font-size: 54px; letter-spacing: 6px; line-height: 1.2; }
.hang { display: flex; align-items: center; gap: 14px; }
.hang-svg { width: 90px; height: 100px; flex: none; stroke: var(--strong); stroke-width: 3; fill: none; stroke-linecap: round; }
.hang-word { font-family: var(--mono); font-size: 26px; font-weight: 800; letter-spacing: 2px; color: var(--strong); word-break: break-all; }
.hang-keys { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.hk { height: 32px; border-radius: 8px; background: var(--input); font-weight: 800; color: var(--strong); font-size: 13px; }
.hk:not(:disabled):hover { background: var(--accent-soft); }
.hk.ok { background: rgba(47, 191, 113, 0.22); color: var(--green); }
.hk.no { opacity: 0.35; text-decoration: line-through; }
.hk:disabled { cursor: default; }
.memory { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: min(100%, 360px); margin: 0 auto; }
.mc { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #6b1419); font-size: 26px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); transition: transform 0.08s, filter 0.1s; }
.mc:not(.up)::after { content: ''; width: 34%; aspect-ratio: 1; border-radius: 50%; background: url(../img/logo.png) center / contain no-repeat; opacity: 0.45; }
.mc:not(:disabled):hover { transform: translateY(-2px); filter: brightness(1.15); }
.mc:disabled { cursor: default; }
.mc.up { background: var(--input); }
.mc.fl { animation: cardflip 0.25s ease-out; box-shadow: inset 0 0 0 2px var(--strong); }
.mc.p0 { box-shadow: inset 0 0 0 3px #e5484d; } .mc.p1 { box-shadow: inset 0 0 0 3px #3b82f6; } .mc.p2 { box-shadow: inset 0 0 0 3px #22c55e; } .mc.p3 { box-shadow: inset 0 0 0 3px #facc15; }
@keyframes cardflip { from { transform: rotateY(90deg); } to { transform: none; } }
.mdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.mdot.p0 { background: #e5484d; } .mdot.p1 { background: #3b82f6; } .mdot.p2 { background: #22c55e; } .mdot.p3 { background: #facc15; }
.bomb { display: grid; justify-items: center; gap: 8px; }
.bomb-fuse span { font-size: 64px; display: inline-block; animation: bombwob 1s ease-in-out infinite; }
.bomb-fuse.hot span { animation-duration: 0.22s; filter: drop-shadow(0 0 14px rgba(255, 90, 40, 0.95)); }
@keyframes bombwob { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(6deg) scale(1.08); } }
.bomb-syl { font-size: 34px; font-weight: 900; letter-spacing: 3px; color: var(--strong); padding: 4px 20px; border-radius: 12px; background: var(--accent-soft); border: 2px solid var(--accent); }
.color-word { text-align: center; font-size: 56px; font-weight: 900; letter-spacing: 2px; line-height: 1.1; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); }
.color-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.color-btns .btn { height: 48px; font-weight: 800; justify-content: center; }
.imp-card { display: grid; justify-items: center; gap: 6px; padding: 18px; border-radius: 14px; background: var(--input); border: 1px dashed var(--line-2); text-align: center; }
.imp-card b { font-size: 30px; color: var(--accent); letter-spacing: 1px; }
.gc-pl.vote { cursor: pointer; color: inherit; }
.gc-pl.vote:not(:disabled):hover { background: var(--accent-soft); }
.gc-pl.vote:disabled { cursor: default; }
.type-board, .click-board { display: grid; gap: 10px; align-content: center; }
.tr-text { font-size: 19px; line-height: 1.55; padding: 12px 14px; border-radius: 12px; background: var(--input); color: var(--muted); user-select: none; }
.tr-text .ok { color: var(--green); }
.tr-text .cur { color: var(--strong); text-decoration: underline 2px var(--accent); text-underline-offset: 5px; }
.tr-text .bad { color: #fff; background: var(--red); border-radius: 3px; }
.tr-in.wrong { border-color: var(--red); }
.tr-bars { display: grid; gap: 6px; }
.tr-row { display: grid; grid-template-columns: auto minmax(60px, 120px) 1fr 40px; align-items: center; gap: 8px; font-size: 13px; }
.tr-bar { height: 10px; border-radius: 5px; background: var(--input); overflow: hidden; }
.tr-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent), #ff9a9e); transition: width 0.2s; }
.tr-row b { text-align: right; color: var(--strong); font-variant-numeric: tabular-nums; }
.click-btn { width: 100%; height: 170px; border-radius: 20px; background: var(--panel-3); color: var(--strong); display: grid; place-items: center; align-content: center; gap: 6px; border: 2px solid var(--line-2); touch-action: manipulation; }
.click-btn b { font-size: 56px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.click-btn.wait { background: #7f1d1d; color: #fff; }
.click-btn.go { background: linear-gradient(135deg, var(--accent), #9f1239); color: #fff; border-color: transparent; }
.click-btn.pop { animation: clickpop 0.12s; }
@keyframes clickpop { 50% { transform: scale(0.97); } }
.tron-board { display: grid; gap: 6px; justify-items: center; align-content: center; }
.tron-cv { width: 100%; aspect-ratio: 64 / 40; border-radius: 12px; background: #07040a; box-shadow: 0 0 0 1px var(--line-2), 0 0 30px rgba(229, 72, 77, 0.15); }
.stage-game .tron-cv { width: min(100cqw, (100cqh - 30px) * 1.6); }
.yt-board { display: grid; gap: 8px; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; }
.yt-box { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; justify-self: center; align-self: center; }
.yt-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-empty { height: 100%; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-size: 14px; }
.stage-game .yt-box { width: min(100cqw, (100cqh - 84px) * 16 / 9); }
.stage-game .gc-body:has(> .yt-board) { padding: 8px 12px; }
.stage.has-game .stage-grid .tile-av > * { transform: scale(0.66); }

/* ---------- 0.6.3: eigener Vollbildmodus (ohne Browser-Hinweis) ---------- */
.app-fs { position: fixed !important; inset: 0 !important; z-index: 9000 !important; width: auto !important; height: auto !important; max-width: none !important; max-height: none !important; margin: 0 !important; border-radius: 0 !important; background: #000; }
.tile.app-fs video { object-fit: contain !important; }
.tile.app-fs .tile-fs { display: grid; }
.stage-game.app-fs { display: flex !important; background: var(--bg, #0b0607); padding: 10px 14px 0; }
html.app-fs-on .tip, html.app-fs-on .tooltip { z-index: 9100; }
.sg-fs { position: absolute; top: 8px; right: 44px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.45); color: #fff; z-index: 3; }
.sg-fs:hover, .sg-close:hover { background: var(--accent); }
.sg-fs .ic { width: 16px; height: 16px; }
.stage-game .gc-head { padding-right: 90px; }
a[role="link"], a.link { cursor: pointer; }
/* Vorfahren mit Unschärfe/Transform würden "position: fixed" einsperren – im Vollbild abschalten */
html.app-fs-on *:has(> .app-fs), html.app-fs-on *:has(.app-fs) { backdrop-filter: none !important; transform: none !important; filter: none !important; contain: none !important; container-type: normal !important; will-change: auto !important; animation: none !important; }

/* ---------- 0.6.4: Server-Tag so schlicht wie das BOT-Schild ---------- */
.stag { display: inline-flex; align-items: center; gap: 2px; height: 16px; padding: 0 5px; margin-left: 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); color: var(--strong); font: 800 10px/1 var(--font); letter-spacing: 0.03em; vertical-align: 2px; flex: none; white-space: nowrap; -webkit-text-fill-color: currentColor; }
.stag i { font-style: normal; display: inline-flex; align-items: center; gap: 0; margin: 0 -1px 0 0; font-size: 10.5px; line-height: 1; }
.stag .cemoji, .stag .cemoji.sm { width: 12px; height: 12px; margin: 0; vertical-align: 0; }
:root[data-light] .stag { background: rgba(0, 0, 0, 0.07); }
.tag-hero { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--input); border: 1px solid var(--line-2); margin-bottom: 14px; }
.tag-msg { display: flex; gap: 12px; align-items: flex-start; }
.tag-msg .uname, .tag-mem .uname { font-weight: 700; }
.tag-time { margin-left: 8px; }
.tag-text { color: var(--text); margin-top: 3px; }
.tag-sep { height: 1px; background: var(--line); }
.tag-mem { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; background: var(--panel-2); width: max-content; max-width: 100%; }
.tag-form { display: grid; gap: 10px; }
.tag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tag-grid .field { margin: 0; }
.tag-in { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.tag-emo { display: flex; gap: 6px; }
.tag-emo .input { flex: 1; min-width: 0; }
.tag-emo-btn { flex: none; width: 42px; }
@media (max-width: 600px) { .tag-grid { grid-template-columns: 1fr; } }

/* ---------- 0.6.4: Befehls-Optionen wie bei Discord ---------- */
.cmd-desc { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--faint); font-size: 12px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 6px; }
.opt-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--input); border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.opt-chip b { color: var(--strong); font-family: var(--mono); font-size: 12.5px; }
.opt-chip i { font-style: normal; color: var(--red); font-weight: 800; }
.opt-chip.cur { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.opt-chip.set { background: var(--accent-soft); color: var(--strong); }
.opt-help { padding: 2px 8px 6px; font-size: 12.5px; color: var(--muted); }
.opt-help b { color: var(--strong); font-family: var(--mono); }
.opt-edit { display: grid; gap: 6px; margin: 6px 0 4px; }
.opt-line { display: grid; grid-template-columns: 140px 110px 1fr auto auto; gap: 6px; align-items: center; }
.opt-line .input { height: 36px; }
.opt-req { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.opt-edit > .btn { justify-self: start; }
@media (max-width: 700px) { .opt-line { grid-template-columns: 1fr 1fr; } }
.creamy-card { display: grid; gap: 6px; }
.tag-form label.label.row { display: flex; justify-content: space-between; align-items: baseline; width: 100%; }

/* ---------- 0.6.5: </>-Rahmen (umfärbbar, blanc-Entwickler) und Rahmen für verifizierte Bots ---------- */
.fr-code { --fr-grad: conic-gradient(from 200deg, var(--fc, #2fbf71), color-mix(in srgb, var(--fc, #2fbf71) 35%, #fff), var(--fc, #2fbf71), color-mix(in srgb, var(--fc, #2fbf71) 55%, #000), var(--fc, #2fbf71)); --fr-glow: color-mix(in srgb, var(--fc, #2fbf71) 80%, transparent); }
.fr-cb { position: absolute; left: 50%; bottom: calc(var(--s) * -0.13); transform: translateX(-50%); padding: 0 max(4px, calc(var(--s) * 0.06)); height: max(13px, calc(var(--s) * 0.24)); max-height: 22px; border-radius: 999px; display: grid; place-items: center; background: var(--fc, #2fbf71); color: #fff; font: 800 max(8px, min(13px, calc(var(--s) * 0.15)))/1 var(--mono); font-style: normal; letter-spacing: -0.04em; box-shadow: 0 0 0 max(2px, calc(var(--s) * 0.035)) var(--solid); z-index: 3; pointer-events: none; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; }
.fr-code .fr-fly i { background: none; color: var(--fc, #2fbf71); font-family: var(--mono); font-weight: 800; font-size: max(8px, calc(var(--s) * 0.15)); width: auto; text-shadow: 0 0 6px color-mix(in srgb, var(--fc, #2fbf71) 70%, transparent); }
.fr-botv { --fr-grad: conic-gradient(from 210deg, #ffffff, #9fb4ff, #ffffff, #c9d4ff, #ffffff); --fr-glow: rgba(190, 205, 255, 0.85); }
.fr-botpill { position: absolute; left: 50%; bottom: calc(var(--s) * -0.13); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 1px; padding: 0 max(4px, calc(var(--s) * 0.06)); height: max(12px, calc(var(--s) * 0.22)); max-height: 20px; border-radius: 999px; background: #fff; color: #0d0d12; font: 900 max(7px, min(12px, calc(var(--s) * 0.13)))/1 var(--font); font-style: normal; letter-spacing: 0.04em; box-shadow: 0 0 0 max(2px, calc(var(--s) * 0.035)) var(--solid), 0 0 10px rgba(200, 212, 255, 0.55); z-index: 3; pointer-events: none; white-space: nowrap; }
.fr-botpill .ic { width: 1.1em; height: 1.1em; stroke-width: 3.5; }
.fr-botv .fr-fly i { background: none; color: #fff; font-weight: 900; text-shadow: 0 0 6px rgba(190, 205, 255, 0.9); }
.fc-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.fc-row .swatch { width: 24px; height: 24px; }
.bdg.b-blancdev { background: #1f9d63; color: #fff; }
.bdg.b-blancdev .ic { stroke: #fff; }

/* ---------- 0.6.5: eigene Auswahl-Menüs (statt der Windows-Liste) ---------- */
select.cs-native { display: none !important; }
.cs-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; color: var(--text); background-image: none !important; padding-right: 12px !important; min-height: 40px; }
.cs-btn:not(.input) { padding: 8px 12px; border-radius: 10px; background: var(--input); border: 1px solid var(--line); }
.cs-btn .cs-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-btn .ic { width: 16px; height: 16px; flex: none; color: var(--muted); transition: transform 0.15s; }
.cs-btn:hover { border-color: var(--line-2); }
.cs-btn:focus-visible, .cs-btn.open { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.cs-btn.open .ic { transform: rotate(180deg); color: var(--strong); }
.cs-btn:disabled { opacity: 0.55; cursor: default; }
.cs-list { position: fixed; z-index: 10050; background: var(--solid); border: 1px solid var(--line-2); border-radius: 12px; padding: 5px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); overflow-y: auto; animation: pop 0.1s ease-out; display: grid; gap: 1px; }
.cs-opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 7px 10px; border-radius: 8px; text-align: left; color: var(--text); font-size: 14px; }
.cs-opt .cs-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-opt .ic { width: 16px; height: 16px; flex: none; color: var(--accent); stroke-width: 3; }
.cs-opt.hl { background: var(--active); color: var(--strong); }
.cs-opt.sel { color: var(--strong); font-weight: 700; }
.cs-opt:disabled { opacity: 0.4; cursor: default; }
.cs-group { padding: 8px 10px 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
:root[data-light] .cs-list { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18); }

/* ---------- 0.6.5: Server-Ankündigungen + Admin-Servereditor ---------- */
.msg.sys-msg { padding-top: 6px; padding-bottom: 6px; }
.sys-msg .msg-gutter { display: flex; justify-content: center; align-items: center; }
.sys-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-3); color: var(--green); }
.sys-ic .ic { width: 15px; height: 15px; }
.sys-ic .boost-ic { width: 16px; height: 16px; }
.sys-boost .sys-ic { background: rgba(255, 115, 250, 0.14); }
.sys-line { color: var(--muted); font-size: 14.5px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-height: 26px; align-content: center; }
.sys-who { cursor: pointer; font-weight: 700; }
.sys-who:hover { text-decoration: underline; }
.sys-time { font-size: 11.5px; color: var(--faint); }
.adm-srv { display: grid; gap: 10px; }
.adm-srv-prev { display: grid; gap: 8px; }
.adm-srv-prev .banner-prev { height: 90px; border-radius: 12px; overflow: hidden; background: var(--panel-3); }
.adm-srv-prev .banner-prev img { width: 100%; height: 100%; object-fit: cover; }
.adm-boosts { display: grid; gap: 6px; }
.adm-boosts .boost-ic { width: 16px; height: 16px; vertical-align: -3px; }

/* ---------- 0.6.6 ---------- */
/* Status-Auswahl */
.status-pop { width: 300px; padding: 10px; display: grid; gap: 6px; }
.sp-me { display: flex; align-items: center; gap: 10px; padding: 4px 6px 8px; border-bottom: 1px solid var(--line); margin-bottom: 2px; }
.sp-me .av .st { border-color: var(--solid); }
.sp-name { font-weight: 800; color: var(--strong); }
.sp-opts { display: grid; gap: 2px; }
.sp-opt { display: flex; align-items: center; gap: 11px; padding: 8px 9px; border-radius: 9px; text-align: left; color: var(--text); }
.sp-opt:hover { background: var(--hover); }
.sp-opt.on { background: var(--active); }
.sp-opt b { display: block; font-size: 14px; color: var(--strong); }
.sp-opt small { display: block; font-size: 11.5px; color: var(--faint); line-height: 1.3; margin-top: 1px; }
.sp-check { color: var(--accent); }
.sp-check .ic { width: 16px; height: 16px; }
.sp-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; flex: none; background: #7a6e71; }
.sp-dot.on { background: var(--green); }
.sp-dot.idle { background: var(--yellow); }
.sp-dot.idle::after { content: ''; position: absolute; left: -2px; top: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--solid); }
.sp-dot.dnd { background: var(--red); }
.sp-dot.dnd::after { content: ''; position: absolute; left: 2.5px; right: 2.5px; top: 5px; height: 2px; border-radius: 2px; background: var(--solid); }
.sp-dot.off::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--solid); }
.sp-sep { height: 1px; background: var(--line); margin: 2px 0; }
.sp-cs { display: grid; gap: 8px; padding: 2px 4px 2px; }
.sp-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.sp-in { display: flex; align-items: center; gap: 4px; }
.sp-in .input { flex: 1; min-width: 0; height: 38px; }
.sp-quick { display: flex; gap: 4px; flex-wrap: wrap; }
.sp-q { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 16px; background: var(--panel-2); border: 1px solid var(--line); transition: transform 0.1s, background 0.1s; }
.sp-q:hover { background: var(--panel-3); transform: translateY(-1px); }
.sp-row { display: flex; align-items: center; gap: 8px; }
.sp-row .cs-btn, .sp-row select { flex: 1; min-width: 0; height: 32px; }
.stx-bubble { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-30%); max-width: 180px; width: max-content; padding: 6px 10px; border-radius: 12px 12px 12px 4px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); font-size: 12.5px; line-height: 1.3; overflow-wrap: anywhere; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.pp-av, .profile-av { position: relative; }
.up-sub .cemoji { width: 14px; height: 14px; vertical-align: -3px; }

/* Server-Tag anklickbar */
.stag.click { cursor: pointer; transition: background 0.12s, transform 0.12s; }
.stag.click:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-1px); }
:root[data-light] .stag.click:hover { background: rgba(0, 0, 0, 0.12); }
.sp-tagline { display: flex; align-items: center; gap: 6px; }
.sp-tagline .stag { margin-left: 0; height: 20px; padding: 0 7px; font-size: 12px; }
.sp-lock { display: flex; align-items: center; gap: 8px; margin: 6px 24px 0; padding: 9px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.sp-lock .ic { width: 16px; height: 16px; flex: none; }

/* Admin: Knöpfe untereinander */
.adm-acts { display: flex; flex-direction: column; gap: 6px; width: 200px; flex: none; }
.adm-acts .btn { width: 100%; justify-content: center; white-space: nowrap; gap: 6px; }
.adm-acts .btn .ic { width: 15px; height: 15px; flex: none; }
@media (max-width: 640px) { .adm-acts { width: 150px; } .adm-acts .btn { font-size: 12px; padding: 0 8px; } }

/* Nachrichtenanfragen */
.req-body { flex: 1; overflow-y: auto; padding: 18px 26px; }
.req-info { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); font-size: 13.5px; max-width: 720px; }
.req-info .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--accent); }
.req-row .mem-text { min-width: 0; }
.req-prev { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.req-prev .cemoji { width: 16px; height: 16px; vertical-align: -3px; }
.req-time { flex: none; }
.req-bar { margin: 0 16px 14px; padding: 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); display: grid; gap: 12px; animation: pop 0.15s ease-out; }
.req-bar[hidden] { display: none; }
.rq-top { display: flex; align-items: center; gap: 12px; }
.rq-top b { color: var(--strong); font-size: 15px; }
.rq-acts { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.rq-acts .btn { gap: 6px; }
.rq-acts .btn .ic { width: 15px; height: 15px; }
.composer[hidden] { display: none; }

/* 👋 Winken */
@keyframes wave-hand { 0%, 60%, 100% { transform: rotate(0deg); } 10%, 30% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }
.wave-hand { display: inline-block; transform-origin: 70% 75%; animation: wave-hand 2.2s ease-in-out infinite; }
.btn.wave-btn { gap: 8px; }
.btn.wave-btn .wave-hand { font-size: 17px; }
.btn.wave-btn.big { height: 42px; padding: 0 18px; margin-top: 16px; font-size: 14.5px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.wave-btn.big:hover { background: var(--accent-hi); }
.add-msg.ok { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.add-msg .wave-btn { color: var(--text); }
.wave-msg { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 0; }
.wave-stk { font-size: 54px; line-height: 1; display: inline-block; transform-origin: 70% 75%; animation: wave-hand 1.6s ease-in-out 3; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)); }
.wave-cap { color: var(--muted); font-size: 14px; }

/* Gespeichert */
.sv-body { flex: 1; overflow-y: auto; padding: 18px 26px 30px; }
.sv-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 860px; }
.sv-top .big-search { flex: 1; min-width: 220px; }
.sv-meter { display: grid; gap: 6px; min-width: 150px; }
.svm-text { font-size: 13px; }
.svm-text b { color: var(--strong); font-size: 15px; }
.svm-bar { height: 6px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.svm-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width 0.3s; }
.svm-bar.full i { background: var(--yellow); }
.tab-n { min-width: 20px; height: 18px; padding: 0 6px; border-radius: 99px; background: var(--panel-3); color: var(--muted); font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; }
.tab.active .tab-n { background: var(--accent); color: var(--accent-ink); }
.sv-list { max-width: 860px; margin-top: 6px; }
.sv-group { margin: 22px 0 8px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.sv-item { position: relative; display: grid; gap: 8px; padding: 12px 14px; margin-bottom: 8px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); cursor: pointer; transition: border-color 0.12s, background 0.12s; }
.sv-item:hover { border-color: var(--line-2); background: var(--panel-3); }
.sv-where { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; font-weight: 700; min-width: 0; }
.sv-where .grow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-where .srv-ic { border-radius: 6px; font-size: 8px; }
.sv-hash .ic { width: 16px; height: 16px; }
.sv-msg { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.sv-main { min-width: 0; display: grid; gap: 2px; padding-right: 150px; }
.sv-head { display: flex; align-items: baseline; gap: 8px; }
.sv-head .uname { font-weight: 700; }
.sv-text { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.sv-media { margin-top: 4px; }
.sv-media img { max-width: 260px; max-height: 180px; border-radius: 10px; display: block; object-fit: cover; }
.sv-ph { width: 90px; height: 64px; border-radius: 10px; background: var(--panel-3); display: grid; place-items: center; color: var(--faint); }
.sv-ph .ic { width: 22px; height: 22px; }
.sv-acts { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; align-items: center; opacity: 0.0; transform: translateY(2px); transition: opacity 0.12s, transform 0.12s; }
.sv-item:hover .sv-acts, .sv-item:focus-within .sv-acts { opacity: 1; transform: none; }
.sv-acts .btn { gap: 6px; }
.sv-acts .btn .ic { width: 15px; height: 15px; }
.ib.box.danger:hover { color: var(--red); }
@media (hover: none), (max-width: 640px) { .sv-acts { position: static; opacity: 1; transform: none; justify-content: flex-end; } .sv-main { padding-right: 0; } }

/* ---------- 0.6.7: Regeln, Sperren & Löschen ---------- */
.sus-pill { display: inline-flex; align-items: center; height: 16px; padding: 0 6px; margin-left: 6px; border-radius: 5px; background: rgba(239, 75, 75, 0.16); color: var(--red); border: 1px solid rgba(239, 75, 75, 0.35); font-size: 9.5px; font-weight: 900; letter-spacing: 0.06em; vertical-align: 2px; white-space: nowrap; }
.sus-note { display: flex; align-items: center; gap: 8px; margin: 8px 0 2px; padding: 8px 10px; border-radius: 10px; background: rgba(239, 75, 75, 0.1); border: 1px solid rgba(239, 75, 75, 0.3); color: var(--red); font-size: 12.5px; font-weight: 700; text-align: left; width: 100%; }
.sus-note .ic { width: 15px; height: 15px; flex: none; }
button.sus-note:hover { background: rgba(239, 75, 75, 0.16); }
.sus-chip { color: var(--red); border-color: rgba(239, 75, 75, 0.35); }
.rq-sus { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(239, 75, 75, 0.14); color: var(--red); }
.rq-sus .ic { width: 20px; height: 20px; }
.empty-mini { display: flex; align-items: center; gap: 8px; padding: 14px; border-radius: 12px; background: var(--panel-2); border: 1px dashed var(--line-2); color: var(--muted); font-size: 13.5px; }
.empty-mini .ic { width: 16px; height: 16px; color: var(--green); }
.sus-sub { max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Regel-Karte */
.rule-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); text-align: left; }
.rc-num { flex: none; min-width: 44px; height: 30px; padding: 0 8px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 14px; font-variant-numeric: tabular-nums; }
.rc-sec { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.rule-card b { display: block; color: var(--strong); font-size: 14.5px; margin: 1px 0 3px; }
.rc-text { color: var(--muted); font-size: 13px; line-height: 1.45; }
.rule-card.big { padding: 14px 16px; border-color: rgba(239, 75, 75, 0.35); background: rgba(239, 75, 75, 0.07); }
.rule-card.big .rc-num { height: 36px; min-width: 52px; font-size: 16px; background: var(--red); color: #fff; }
.rule-card.big b { font-size: 16px; }
.rule-prev:empty { display: none; }
.rule-prev { margin-top: 8px; }
.sus-form .label:first-child { margin-top: 0; }

/* Regeln */
.tos { display: grid; gap: 12px; }
.tos-head { display: flex; align-items: center; gap: 12px; }
.tos-logo { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; flex: none; }
.tos-logo .logo { width: 24px; }
.tos-head b { display: block; color: var(--strong); font-size: 16px; }
.tos-body { display: grid; gap: 18px; max-height: min(60vh, 620px); overflow-y: auto; padding-right: 4px; }
.set-pane .tos-body { max-height: none; overflow: visible; }
.tos-sec h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 15px; color: var(--strong); }
.tos-n { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--panel-3); color: var(--strong); font-size: 13px; font-weight: 900; }
.tos-item { display: flex; gap: 12px; padding: 9px 10px; border-radius: 10px; transition: background 0.2s; }
.tos-item:hover { background: var(--hover); }
.tos-item.hl { background: rgba(239, 75, 75, 0.12); box-shadow: inset 3px 0 0 var(--red); }
.tos-id { flex: none; min-width: 36px; color: var(--accent); font-weight: 900; font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.tos-item b { display: block; color: var(--strong); font-size: 14px; }
.tos-item p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.tos-line { margin-top: 10px; }
.tos-new { text-align: center; display: grid; justify-items: center; gap: 6px; }
.tos-new-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); margin-bottom: 4px; }
.tos-new-ic .ic { width: 28px; height: 28px; }
.tos-new h2 { margin: 0; }

/* Admin: Sperren-Karte */
.mod-card { display: grid; gap: 10px; }
.mod-row { display: flex; align-items: center; gap: 12px; }
.mod-row + .mod-row { padding-top: 10px; border-top: 1px solid var(--line); }
.mod-row .btn, .mod-card .btn { gap: 6px; white-space: nowrap; }
.mod-row .btn .ic, .mod-card .btn .ic { width: 15px; height: 15px; }
.mod-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--panel-3); color: var(--muted); }
.mod-ic .ic { width: 17px; height: 17px; }
.mod-card.on { border-color: rgba(239, 75, 75, 0.45); background: linear-gradient(180deg, rgba(239, 75, 75, 0.09), transparent 70%), var(--panel-2); }
.mod-card.on .mod-ic { background: rgba(239, 75, 75, 0.16); color: var(--red); }
.mod-head { display: flex; align-items: center; gap: 12px; }
.mod-head b { color: var(--red); font-size: 15px; }
.mod-info { display: grid; gap: 8px; }
.mod-kv span { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.mod-kv p { margin: 2px 0 0; color: var(--text); font-size: 13.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.mod-card.compact { margin: 10px 12px 0; padding: 12px; }
.sup-right .mod-card.compact { margin: 10px 0 0; }

/* Sperr-Bildschirm */
.card.sus-card { max-width: 560px; display: grid; gap: 10px; padding: 28px; }
.sus-top { display: grid; justify-items: center; text-align: center; gap: 6px; margin-bottom: 4px; }
.sus-ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: rgba(239, 75, 75, 0.14); color: var(--red); border: 1px solid rgba(239, 75, 75, 0.35); box-shadow: 0 0 40px rgba(239, 75, 75, 0.25); margin-bottom: 4px; }
.sus-ic .ic { width: 34px; height: 34px; }
.sus-top h1 { margin: 0; font-size: 26px; }
.sus-top p { margin: 0; }
.sus-time { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; padding: 6px 12px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--strong); font-size: 13px; font-weight: 700; }
.sus-time .ic { width: 14px; height: 14px; color: var(--red); }
.sus-label { margin-top: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.sus-reason { padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.sus-list { margin: 0; padding-left: 20px; color: var(--muted); font-size: 13.5px; line-height: 1.55; display: grid; gap: 3px; }
.sus-card .btn.block { gap: 8px; height: 44px; font-size: 15px; }
.sus-card .btn .ic { width: 17px; height: 17px; }
.sus-support[hidden] { display: none; }
.sus-sup-head { display: flex; align-items: center; gap: 10px; }
.sus-sup-head b { color: var(--strong); }
.sus-support .sup { height: 320px; min-height: 260px; margin-top: 10px; }
.sus-foot { margin-top: 6px; }
.sus-foot .btn { gap: 6px; }
@keyframes sus-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 75, 75, 0.5); } 50% { box-shadow: 0 0 0 8px rgba(239, 75, 75, 0); } }
.btn.pulse { animation: sus-pulse 1.6s ease-in-out infinite; }

/* ---------- 0.6.8 ---------- */
/* Boost-Symbol neben dem Servernamen (wie der Haken) */
.srv-boost { display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin-left: 4px; vertical-align: -3px; filter: drop-shadow(0 0 4px rgba(255, 115, 250, 0.55)); }
.srv-boost .boost-ic { width: 16px; height: 16px; }
.srv-title .srv-boost { margin-left: 2px; }
.tip-boost { display: inline-grid; vertical-align: -3px; margin-left: 5px; }
.tip-boost .boost-ic { width: 15px; height: 15px; }
.rail-voice.other { background: var(--panel-3); color: var(--green); box-shadow: 0 0 0 3px var(--solid), inset 0 0 0 1.5px var(--green); }

/* Server-Ordner */
.rail-folder { width: 50px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 0 8px; border-radius: 16px; background: color-mix(in srgb, var(--fc) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 30%, transparent); }
.rail-folder .rail-item { width: 50px; }
.rail-folder .rail-item .pill { left: -6px; }
.rail-folder-btn { background: color-mix(in srgb, var(--fc) 26%, var(--panel-2)); border-color: color-mix(in srgb, var(--fc) 45%, transparent); padding: 4px; }
.rail-folder-btn.open { background: transparent; border-color: transparent; color: var(--fc); }
.rf-ic { display: grid; place-items: center; }
.rf-ic .ic { width: 22px; height: 22px; }
.rf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 100%; height: 100%; }
.rf-mini { border-radius: 5px; background: var(--c); overflow: hidden; display: grid; place-items: center; font-size: 7px; font-weight: 900; color: #fff; }
.rf-mini img { width: 100%; height: 100%; object-fit: cover; }
.rail-item.dragging, .chan.dragging, .cat.dragging { opacity: 0.4; }
.rail-item.drop-before::before, .rail-item.drop-after::after { content: ''; position: absolute; left: 10px; right: 10px; height: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.rail-item.drop-before::before { top: -6px; }
.rail-item.drop-after::after { bottom: -6px; }
.rail-item.drop-into .rail-btn { box-shadow: 0 0 0 3px var(--accent); transform: scale(1.06); }
.ctx-colors { display: flex; gap: 6px; padding: 6px 10px 8px; flex-wrap: wrap; }
.cc-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); }
.cc-dot.on, .cc-dot:hover { border-color: #fff; }

/* Kanäle ziehen */
.chan.drop-before { box-shadow: inset 0 3px 0 -1px var(--accent); }
.chan.drop-after { box-shadow: inset 0 -3px 0 -1px var(--accent); }
.cat.drop-before { box-shadow: inset 0 3px 0 -1px var(--accent); }
.cat.drop-after { box-shadow: inset 0 -3px 0 -1px var(--accent); }
.cat.drop-into { background: color-mix(in srgb, var(--accent) 16%, transparent); border-radius: 8px; }
.chan[draggable="true"], .cat[draggable="true"] { -webkit-user-drag: element; }

/* Einstellungen → Server-Boosts */
.bx-hero { display: flex; align-items: center; gap: 16px; background: linear-gradient(120deg, rgba(255, 115, 250, 0.14), transparent 60%), var(--panel-2); border-color: rgba(255, 115, 250, 0.3); }
.bx-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 115, 250, 0.14); flex: none; }
.bx-ic .boost-ic { width: 32px; height: 32px; filter: drop-shadow(0 0 8px rgba(255, 115, 250, 0.6)); }
.bx-n { font-size: 28px; font-weight: 900; color: var(--strong); line-height: 1.1; }
.bx-hero .btn { gap: 6px; }
.bx-hero .btn .boost-ic { width: 16px; height: 16px; }
.bx-srv { display: grid; gap: 10px; margin-top: 10px; }
.bx-srv-head { display: flex; align-items: center; gap: 12px; }
.bx-srv-head b { display: flex; align-items: center; gap: 4px; color: var(--strong); }
.bx-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--panel-3); border: 1px solid var(--line); }
.bx-row b { color: var(--strong); font-size: 14px; }
.bx-row .btn { gap: 6px; white-space: nowrap; }
.bx-row .btn .ic { width: 15px; height: 15px; }
.bx-bar { width: 6px; height: 38px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; display: flex; align-items: flex-end; flex: none; }
.bx-bar i { width: 100%; background: linear-gradient(180deg, #ffd6fc, #ff73fa); border-radius: inherit; }
.quest.boostq { border-color: rgba(255, 115, 250, 0.45); background: linear-gradient(120deg, rgba(255, 115, 250, 0.12), transparent 55%), var(--panel-2); }
.quest.boostq .q-ic { background: rgba(255, 115, 250, 0.16); color: #ff73fa; }
.chip.boostchip { gap: 4px; color: #ffb3fd; border-color: rgba(255, 115, 250, 0.4); background: rgba(255, 115, 250, 0.1); }
.chip.boostchip .boost-ic, .chip.boostchip .ic { width: 13px; height: 13px; }

/* Tastenkürzel */
.kb-list { display: grid; gap: 8px; margin: 12px 0; }
.kb-row { display: flex; align-items: center; gap: 8px; }
.kb-act { flex: 1; min-width: 0; }
.kb-act .cs-btn, .kb-act select { width: 100%; }
.kb-key { min-width: 190px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--panel-3); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--text); }
.kb-key:hover { border-color: var(--accent); }
.kb-key kbd { min-width: 22px; height: 24px; padding: 0 7px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line-2); border-bottom-width: 2px; font: 700 12px var(--font); display: inline-grid; place-items: center; color: var(--strong); }
.kb-key.rec { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--panel-3)); color: var(--strong); font-size: 12.5px; font-weight: 700; }
.kb-rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: sus-pulse 1s infinite; }
.kb-tip { margin-top: 12px; }
@media (max-width: 640px) { .kb-row { flex-wrap: wrap; } .kb-key { min-width: 0; flex: 1; } }

/* Übersetzung */
.tr-line { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 11.5px; color: var(--faint); }
.tr-line .ic { width: 12px; height: 12px; }
.tr-line a { color: var(--accent); cursor: pointer; }
.tr-line a:hover { text-decoration: underline; }

/* Beitritt als Karte */
.join-embed .msg-body { padding-top: 2px; }
.je-card { display: flex; gap: 16px; align-items: stretch; max-width: 520px; padding: 14px 14px 14px 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); border-left: 4px solid var(--jc); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18); }
.je-text { flex: 1; min-width: 0; display: grid; gap: 4px; align-content: start; }
.je-kicker { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--jc); }
.je-kicker .ic { width: 13px; height: 13px; }
.je-title { font-size: 16px; font-weight: 800; color: var(--strong); line-height: 1.3; }
.je-title .sys-who { color: inherit !important; }
.je-line { color: var(--muted); font-size: 13.5px; }
.je-line .sys-who { color: var(--strong); cursor: pointer; }
.je-num { margin-top: 4px; display: inline-flex; align-items: center; width: fit-content; gap: 6px; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--jc) 16%, transparent); color: var(--text); font-size: 12.5px; }
.je-num b { color: var(--strong); font-variant-numeric: tabular-nums; }
.je-foot { font-size: 11px; color: var(--faint); margin-top: 4px; }
.je-av { width: 88px; height: 88px; border-radius: 14px; overflow: hidden; flex: none; background: var(--c); cursor: pointer; box-shadow: 0 0 0 1px var(--line-2); align-self: center; }
.je-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.je-av.def { display: grid; place-items: center; }
.je-av.def img { width: 60%; height: 60%; object-fit: contain; }
@media (max-width: 640px) { .je-av { width: 64px; height: 64px; } }

/* ---------- 0.7: OFFICIAL-Schild & offizieller blanc-Chat ---------- */
.off-tag { display: inline-flex; align-items: center; gap: 3px; height: 17px; padding: 0 6px 0 4px; margin-left: 6px; border-radius: 5px; background: #e5484d; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; line-height: 1; flex: none; user-select: none; vertical-align: 1px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset; }
.off-tag .ic { width: 11px; height: 11px; stroke-width: 2.6; }
.pp-name .off-tag, .head-title .off-tag, .welcome h2 .off-tag { height: 19px; font-size: 10.5px; }
.dm-item.off-item { margin-bottom: 6px; }
.dm-item.off-item::before { content: ""; position: absolute; left: 8px; right: 8px; bottom: -4px; height: 1px; background: var(--line); }
.dm-item.off-item .dm-sub { color: var(--faint); }
.off-chat .chat-col { position: relative; }
.off-note { display: flex; align-items: center; gap: 10px; margin: 12px 16px 0; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, #e5484d 10%, var(--panel-2)); border: 1px solid color-mix(in srgb, #e5484d 30%, var(--line)); color: var(--text); font-size: 13px; }
.off-note > span:first-child { color: #e5484d; display: grid; flex: none; }
.off-note .ic { width: 18px; height: 18px; }
.off-msgs { padding-bottom: 14px; }
.off-welcome { text-align: left; }
.off-welcome h2 { display: flex; align-items: center; color: var(--strong); }
.off-msg .msg-text { line-height: 1.5; }
.off-msg .msg-text p:first-child { margin-top: 0; }
.off-empty { padding: 18px; }
.off-lock { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 16px 14px; padding: 12px 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.off-lock .ic { width: 15px; height: 15px; }
.off-pane .off-banner { background: radial-gradient(120% 140% at 15% 0%, #ff6b70 0%, #e5484d 35%, #5a0f14 100%); position: relative; }
.off-pane .off-banner::after { content: ""; position: absolute; inset: 0; background: url(../img/logo.png) right 18px center / 64px no-repeat; opacity: 0.22; }
.off-pane .pp-banner { position: relative; }
.off-web { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: #ff7a7e; font-size: 13px; font-weight: 600; cursor: pointer; }
.off-web:hover { text-decoration: underline; }
.off-web .ic { width: 15px; height: 15px; }
.off-safe { display: flex; gap: 10px; align-items: flex-start; }
.off-safe b { color: var(--strong); font-size: 13.5px; }
.os-ic { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, #e5484d 18%, transparent); color: #ff6b70; }
.os-ic .ic { width: 17px; height: 17px; }
.off-ro { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 11px; color: var(--faint); font-size: 12.5px; background: var(--panel-2); border: 1px dashed var(--line-2); }
.off-ro .ic { width: 14px; height: 14px; }
.off-pane.pop { width: 320px; padding: 10px; }
.popover:has(> .off-pane) { padding: 0; }

/* ---------- 0.7: Bewerbungen ---------- */
.apps-view { overflow-y: auto; }
.apps-head { padding: 22px 34px 6px; display: grid; gap: 18px; max-width: 980px; }
.apps-head .btn { justify-self: start; }
.apps-head h1 { margin: 0 0 6px; font-size: 30px; letter-spacing: -0.02em; color: var(--strong); }
.apps-head p { margin: 0; }
.apps-body { padding: 10px 34px 40px; max-width: 980px; display: grid; gap: 26px; }
.apps-list { display: grid; gap: 12px; }
.app-row { display: flex; align-items: center; gap: 22px; padding: 20px 22px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line); transition: border-color 0.15s; }
.app-row:hover { border-color: var(--line-2); }
.app-row p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; max-width: 640px; }
.app-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.app-title h2 { margin: 0; font-size: 18px; color: var(--strong); }
.app-ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.app-ic .ic { width: 18px; height: 18px; }
.app-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.app-chip.open { color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); border: 1px solid color-mix(in srgb, var(--green) 35%, transparent); }
.app-chip.closed { color: var(--faint); background: var(--panel-3); border: 1px solid var(--line); }
.app-lock { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.app-lock .ic { width: 13px; height: 13px; }
.app-act { flex: none; }
.app-act .btn { min-width: 140px; justify-content: center; gap: 8px; }
.app-act .btn .ic { width: 16px; height: 16px; }
.apps-mine h2 { margin: 0 0 4px; font-size: 20px; color: var(--strong); }
.apps-mine > p { margin: 0 0 12px; font-size: 13.5px; }
.app-mine-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 13px; background: var(--panel-2); border: 1px solid var(--line); margin-top: 8px; }
.app-mine-row b { color: var(--strong); }
.app-none { padding: 18px; border-radius: 13px; border: 1px dashed var(--line-2); text-align: center; }
.app-st { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; flex: none; }
.app-st .ic { width: 13px; height: 13px; }
.app-st.wait { color: var(--yellow); background: color-mix(in srgb, var(--yellow) 13%, transparent); }
.app-st.ok { color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); }
.app-st.no { color: var(--red); background: color-mix(in srgb, var(--red) 13%, transparent); }
.app-act .app-st { height: 34px; padding: 0 14px; }
.app-note { margin-top: 6px; padding: 8px 10px; border-radius: 9px; background: var(--panel-3); color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.apply-form { display: grid; gap: 4px; min-width: min(520px, 80vw); }
.apply-form p { margin: 0 0 8px; }
.app-cfg .set-line { margin-bottom: 8px; }
.app-adm.new { border-color: color-mix(in srgb, var(--yellow) 40%, var(--line)); }
.app-ans { margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: var(--input); white-space: pre-wrap; overflow-wrap: anywhere; }
.app-ans .faint { margin-bottom: 3px; }
@media (max-width: 760px) {
  .apps-head, .apps-body { padding-left: 16px; padding-right: 16px; }
  .app-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .app-act .btn { width: 100%; }
}

/* ---------- 0.7: blanc Team in eigener Farbe ---------- */
.tc-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tc-row .swatch { width: 24px; height: 24px; }
.tc-row .color-in { width: 38px; height: 28px; }
.tc-hint { flex-basis: 100%; }
.team-bundle { background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--acc) 22%, transparent) 0%, transparent 60%), var(--panel-2); }
.team-bundle .bd-kicker { display: flex; align-items: center; gap: 6px; }
.team-bundle .bd-kicker .ic { width: 14px; height: 14px; }
.bd-colors { margin: 2px 0 0; }

/* ---------- 0.7: eigene Titelleiste (randloses Windows-Fenster) ---------- */
.titlebar { position: fixed; top: 0; left: 0; right: 0; height: 32px; z-index: 100000; display: flex; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); user-select: none; -webkit-user-select: none; }
.titlebar[hidden] { display: none; }
.tb-drag { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; padding-left: 12px; cursor: default; }
.tb-logo { width: 17px; height: 17px; object-fit: contain; pointer-events: none; }
.tb-name { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: 0.01em; pointer-events: none; }
.tb-upd { align-self: center; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; margin-right: 8px; border-radius: 6px; background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); font-size: 12px; font-weight: 700; border: 1px solid color-mix(in srgb, var(--green) 40%, transparent); }
.tb-upd:hover { background: color-mix(in srgb, var(--green) 28%, transparent); }
.tb-upd[hidden] { display: none; }
.tb-upd .ic { width: 13px; height: 13px; }
.tb-btns { display: flex; }
.tb-btn { width: 46px; display: grid; place-items: center; color: var(--muted); border-radius: 0; transition: background 0.1s, color 0.1s; }
.tb-btn .ic { width: 15px; height: 15px; stroke-width: 1.6; }
.tb-btn:hover { background: var(--hover); color: var(--strong); }
.tb-btn.tb-close:hover { background: #e81123; color: #fff; }
.rz { position: fixed; z-index: 100001; }
.rz-t { top: 0; left: 10px; right: 10px; height: 6px; cursor: ns-resize; }
.rz-b { bottom: 0; left: 10px; right: 10px; height: 6px; cursor: ns-resize; }
.rz-l { left: 0; top: 10px; bottom: 10px; width: 6px; cursor: ew-resize; }
.rz-r { right: 0; top: 10px; bottom: 10px; width: 6px; cursor: ew-resize; }
.rz-tl, .rz-tr, .rz-bl, .rz-br { width: 12px; height: 12px; }
.rz-tl { top: 0; left: 0; cursor: nwse-resize; }
.rz-br { bottom: 0; right: 0; cursor: nwse-resize; }
.rz-tr { top: 0; right: 0; cursor: nesw-resize; }
.rz-bl { bottom: 0; left: 0; cursor: nesw-resize; }
.win-max .rz { display: none; }
html.frameless body { padding-top: 32px; }
html.frameless .overlay, html.frameless .upd-screen { top: 32px; }
html.win-fs .titlebar, html.app-fs-on .titlebar { display: none; }
html.win-fs.frameless body, html.app-fs-on.frameless body { padding-top: 0; }
html.win-fs.frameless .overlay, html.app-fs-on.frameless .overlay { top: 0; }

/* ---------- 0.7: ruhigere Mitgliederliste ---------- */
.members .cat { text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 16px 8px 6px; }
.members .member { padding: 6px 8px; }
.members .member:hover { background: var(--hover); }
html.frameless:not(.win-max):not(.win-fs) body::after { content: ""; position: fixed; inset: 0; border: 1px solid rgba(255, 255, 255, 0.09); pointer-events: none; z-index: 100002; }

/* ---------- 0.7.1: Datenschutz, Impressum, Account löschen ---------- */
.legal { display: grid; gap: 14px; }
.legal-seg { justify-self: start; }
.legal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.legal-head b { display: block; color: var(--strong); font-size: 16px; }
.legal-body { display: grid; gap: 10px; }
.legal-body > .tos { margin: 0; }
.legal-doc { display: grid; gap: 18px; max-height: min(60vh, 620px); overflow-y: auto; padding-right: 6px; }
.set-pane .legal-doc, .nav-pane .legal-doc { max-height: none; overflow: visible; }
.legal-sec h3 { margin: 0 0 8px; font-size: 15px; color: var(--strong); }
.legal-sec p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.55; color: var(--text); white-space: pre-line; }
.legal-items { display: grid; gap: 6px; }
.legal-item { padding: 9px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); }
.legal-item b { display: block; font-size: 13.5px; color: var(--strong); margin-bottom: 2px; }
.legal-item p { margin: 0; font-size: 13px; color: var(--muted); }
.legal-links { margin-top: 14px; }
.legal-links .link { cursor: pointer; }
.legal-warn, .legal-ok { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; }
.legal-warn { border-color: color-mix(in srgb, var(--yellow) 45%, var(--line)); color: var(--text); }
.legal-warn .ic { color: var(--yellow); width: 18px; height: 18px; flex: none; }
.legal-ok { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.legal-ok .ic { color: var(--green); width: 18px; height: 18px; flex: none; }
.agree { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.agree input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.agree .link { cursor: pointer; }
.gone-note { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin: 4px 0 10px; border-radius: 10px; background: color-mix(in srgb, var(--green) 12%, transparent); border: 1px solid color-mix(in srgb, var(--green) 35%, transparent); color: var(--text); font-size: 13px; }
.gone-note .ic { color: var(--green); width: 16px; height: 16px; flex: none; }
.del-list { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; color: var(--text); }
.del-form input[type="checkbox"], .export-form input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
.del-form > label.row { margin-bottom: 10px; }
.del-block ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.export-form { display: grid; gap: 10px; min-width: min(460px, 80vw); }
.link-emb.consent .le-thumb { background: radial-gradient(120% 120% at 30% 20%, #2a1418 0%, #0c0708 70%); display: grid; place-items: center; cursor: pointer; }
.link-emb.tt.consent .le-thumb { aspect-ratio: 16 / 9; max-width: none; }
.le-consent { position: absolute; left: 12px; right: 12px; bottom: 10px; font-size: 11.5px; color: var(--muted); text-align: center; pointer-events: none; }

/* ---------- 0.7.3: Ankündigungen direkt im Chat „blanc“, blanc-Account anpassen ---------- */
.off-compose-wrap { padding: 0 16px 12px; }
.off-compose-wrap[hidden], .off-lock[hidden] { display: none; }
.off-compose { display: flex; align-items: flex-end; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid color-mix(in srgb, #e5484d 35%, var(--line)); }
.oc-ic { color: #ff6b70; display: grid; place-items: center; height: 34px; }
.oc-ic .ic { width: 18px; height: 18px; }
.off-input { flex: 1; resize: none; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 14.5px; line-height: 1.45; padding: 7px 0; max-height: 220px; }
.oc-send { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #e5484d; color: #fff; flex: none; }
.oc-send:hover { background: #ff5a60; }
.oc-send .ic { width: 16px; height: 16px; }
.oc-hint { margin: 6px 4px 0; }
.off-msg { position: relative; }
.off-del { position: absolute; top: 4px; right: 8px; width: 30px; height: 30px; border-radius: 8px; display: none; place-items: center; color: var(--muted); background: var(--panel-2); border: 1px solid var(--line); }
.off-msg:hover .off-del { display: grid; }
.off-del:hover { color: var(--red); }
.off-del .ic { width: 15px; height: 15px; }
.off-pane .off-banner.custom::after { display: none; }
.off-pane .off-banner:not(.custom) { background: radial-gradient(120% 140% at 15% 0%, color-mix(in srgb, var(--c, #e5484d) 60%, #fff) 0%, var(--c, #e5484d) 35%, color-mix(in srgb, var(--c, #e5484d) 35%, #000) 100%); }
.offe { display: grid; gap: 4px; }
.offe-prev { position: relative; margin-bottom: 44px; }
.offe-prev .pp-banner { height: 96px; border-radius: 12px; position: relative; }
.offe-prev .off-banner:not(.custom) { background: radial-gradient(120% 140% at 15% 0%, color-mix(in srgb, var(--c) 60%, #fff) 0%, var(--c) 35%, color-mix(in srgb, var(--c) 35%, #000) 100%); }
.offe-who { position: absolute; left: 14px; bottom: -40px; display: flex; align-items: flex-end; gap: 12px; }
.offe-who .av { border: 4px solid var(--solid); border-radius: 50%; }
.offe-who b { color: var(--strong); font-size: 16px; }

/* ---------- 0.7.3: Verbindungen im Profil ---------- */
.pp-links { margin-top: 12px; }
.pl-list { display: grid; gap: 6px; margin-top: 6px; }
.pl-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--panel-3); border: 1px solid var(--line); text-align: left; width: 100%; color: var(--text); }
.pl-item:hover { border-color: var(--line-2); background: var(--hover); }
.pl-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--panel-2); color: var(--muted); flex: none; }
.pl-ic .ic { width: 16px; height: 16px; }
.pl-yt .pl-ic { color: #ff4e45; } .pl-tt .pl-ic { color: #25f4ee; } .pl-tw .pl-ic { color: #a970ff; } .pl-ig .pl-ic { color: #ff5fa2; }
.pl-x .pl-ic { color: var(--strong); } .pl-gh .pl-ic { color: var(--strong); } .pl-web .pl-ic { color: #5b8cff; } .pl-mail .pl-ic { color: #2fbf71; }
.pl-text { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.pl-text b { font-size: 13px; color: var(--strong); }
.pl-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-go { color: var(--faint); display: grid; }
.pl-go .ic { width: 14px; height: 14px; }
.link-edit { display: grid; gap: 8px; justify-items: start; }
.le-row { display: grid; grid-template-columns: 30px 82px 1fr 22px auto; align-items: center; gap: 8px; width: 100%; }
.le-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--panel-3); color: var(--muted); }
.le-ic .ic { width: 15px; height: 15px; }
.le-name { font-size: 13px; font-weight: 700; color: var(--text); }
.le-state { display: grid; place-items: center; }
.le-state .ic { width: 15px; height: 15px; }
.le-state.ok { color: var(--green); }
.le-state.bad { color: var(--yellow); }

/* ---------- 0.7.4: clean wie MALVO – größere Fenster, ruhige Knöpfe, Thema „blanc Rot“ ---------- */
.btn { height: 38px; padding: 0 16px; border-radius: 9px; font-size: 14px; }
.btn.small { height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13px; }
.input { padding: 12px 14px; border-radius: 10px; }
.input.slim, .opt-line .input, .sp-in .input, input.input[style*="height"] { padding-top: 0; padding-bottom: 0; }
.label { font-size: 12.5px; margin: 18px 0 8px; }
.overlay { padding: 28px; }
.modal { max-width: 500px; padding: 28px; border-radius: 18px; }
.modal.wide { max-width: 720px; }
.modal.xl { max-width: min(1290px, 100%); height: min(860px, calc(100vh - 56px)); border-radius: 18px; }
.modal h2 { font-size: 21px; }
.modal-foot { margin-top: 26px; }
.modal.xl .modal-head { border-bottom: 0; padding: 18px 18px 4px 24px; }
.modal.xl .mh-title b { font-size: 15.5px; }
.settings { gap: 18px; padding: 10px 18px 18px; }
.set-nav { width: 268px; min-width: 268px; background: transparent; border: 0; padding: 0; gap: 10px; }
.set-me { background: var(--panel-2); border: 1px solid var(--line); padding: 12px; margin: 0; border-radius: 12px; flex: none; }
.set-nav-card { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.set-nav-card .set-nav-inner { flex: 1; min-height: 0; }
.set-group { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 700; padding: 16px 10px 6px; }
.set-nav button[data-t], .set-logout { height: 38px; font-size: 14px; border-radius: 8px; }
.set-nav button[data-t].active { box-shadow: none; }
.set-foot { flex: none; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; display: grid; gap: 6px; }
.set-foot .set-logout { margin: 0; border: 0; border-radius: 8px; padding: 0 10px; height: 38px; }
.set-links { display: flex; justify-content: space-around; gap: 4px; padding: 2px 0 4px; }
.set-nav .set-links button[data-t] { width: auto; height: auto; flex: 1; display: grid; justify-items: center; gap: 5px; padding: 8px 4px; font-size: 11.5px; font-weight: 600; color: var(--faint); text-align: center; border-radius: 8px; }
.set-nav .set-links button[data-t] .ic { width: 16px; height: 16px; }
.set-nav .set-links button[data-t]:hover, .set-nav .set-links button[data-t].active { color: var(--text); background: var(--hover); }
.set-pane { padding: 22px 56px 56px; }
.set-pane > h2:first-child, .set-pane > .row:first-child h2 { font-size: 21px; margin-top: 4px; }
.set-pane h2 { font-size: 19px; margin: 8px 0 6px; }
.set-pane h3 { font-size: 16px; margin: 30px 0 12px; }
.set-card { border-radius: 12px; padding: 18px 20px; }
.rail { width: 66px; min-width: 66px; }
.rail-item { width: 66px; }
.rail-btn { width: 44px; height: 44px; border-radius: 13px; }
.side { width: 262px; min-width: 262px; }

/* Thema „blanc Rot“: flach, ohne Glas und Schatten */
:root[data-theme="crimson"] .panel { backdrop-filter: none; box-shadow: none; border-color: #2a121a; }
:root[data-theme="crimson"] .rail.panel { background: var(--rail-bg); }
:root[data-theme="crimson"] .side.panel { background: var(--side-bg); }
:root[data-theme="crimson"] .main.panel { background: var(--main-bg); }
:root[data-theme="crimson"] .overlay { background: rgba(8, 3, 5, 0.8); backdrop-filter: blur(3px); }
:root[data-theme="crimson"] .modal { border: 0; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55); }
:root[data-theme="crimson"] .input { border-color: transparent; }
:root[data-theme="crimson"] .input:focus { border-color: rgba(239, 67, 80, 0.5); box-shadow: none; }
:root[data-theme="crimson"] .btn { border-color: transparent; }
:root[data-theme="crimson"] .btn:not(.primary):not(.danger):not(.green):not(.ghost):not(.danger-ghost) { background: var(--panel-3); }
:root[data-theme="crimson"] .btn:not(.primary):not(.danger):not(.green):not(.ghost):not(.danger-ghost):hover { background: #3a1c27; }
:root[data-theme="crimson"] .btn.danger-ghost { border-color: rgba(239, 75, 75, 0.35); }
:root[data-theme="crimson"] .set-me, :root[data-theme="crimson"] .set-nav-card, :root[data-theme="crimson"] .set-card { border-color: transparent; }
:root[data-theme="crimson"] .rail-btn { border-color: transparent; }
:root[data-theme="crimson"] .rail-btn.add { background: #26121a; }
:root[data-theme="crimson"] .rail-item.active .rail-btn { box-shadow: 0 0 0 2px var(--rail-bg), 0 0 0 4px var(--accent), 0 0 18px rgba(239, 67, 80, 0.45); }
:root[data-theme="crimson"] .side-search { border-color: transparent; background: #26121a; }
:root[data-theme="crimson"] .nav-item.active, :root[data-theme="crimson"] .dm-item.active { background: linear-gradient(90deg, #3a1822 0%, #2a121a 100%); box-shadow: inset 3px 0 0 var(--accent); }
:root[data-theme="crimson"] .user-card { background: #26121a; border-color: transparent; }
:root[data-theme="crimson"] .titlebar { background: #050204; border-bottom-color: #1a0b10; }
:root[data-theme="crimson"] .composer-box { background: #26121a; border-color: transparent; }
:root[data-theme="crimson"] .popover, :root[data-theme="crimson"] .ctx { background: #1f0e14; border-color: #34171f; }

/* Ganze Seite statt Fenster (Entwicklerportal) */
html.frameless .overlay.page-ov { top: 32px; }
.overlay.page-ov { padding: 0; background: var(--bg); backdrop-filter: none; animation: none; }
.modal.page { max-width: none; width: 100%; height: 100%; max-height: none; border-radius: 0; border: 0; padding: 0; box-shadow: none; display: flex; flex-direction: column; overflow: hidden; background: var(--page-bg, var(--bg)); animation: none; }
:root[data-theme="crimson"] .modal.page { --page-bg: #0f0709; }
.modal.page > .modal-head { margin: 0; padding: 0 22px; height: 64px; flex: none; border-bottom: 1px solid var(--line); gap: 6px; }
.modal.page > .modal-head > .modal-x { display: none; }
.modal.page .modal-body { flex: 1; min-height: 0; }
.dp-brand { display: flex; align-items: center; gap: 9px; margin-right: 18px; font-weight: 800; font-size: 16px; color: var(--strong); white-space: nowrap; }
.dp-brand img { width: 24px; height: 24px; }
.dp-brand em { font-style: normal; color: var(--accent); font-weight: 700; }
.dp-tab { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; }
.dp-tab .ic { width: 16px; height: 16px; }
.dp-tab:hover { color: var(--strong); background: var(--hover); }
.dp-tab.active { color: var(--strong); background: var(--panel-3); }
.dp-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.dp-me { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 14px; }
.settings.page-body { padding: 0; gap: 0; }
.settings.page-body > .set-nav { display: none; width: 270px; min-width: 270px; padding: 22px 0 22px 22px; }
.settings.page-body.has-side > .set-nav { display: flex; }
.settings.page-body > .set-pane { padding: 40px max(32px, calc((100% - 1080px) / 2)) 64px; }
.settings.page-body.has-side > .set-pane { padding: 36px max(32px, calc((100% - 1000px) / 2)) 64px 40px; }
.settings.page-body .set-pane > .row h2, .settings.page-body .set-pane > h2 { font-size: 26px; letter-spacing: -0.01em; }
.page-sub { margin: 4px 0 26px; }

/* ---------- 0.7.4: Quests & Shop wie MALVO ---------- */
.sv-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.sv-gem { width: 58px; height: 58px; flex: none; display: grid; place-items: center; }
.gem-big { width: 54px; height: 54px; filter: drop-shadow(0 6px 18px rgba(239, 67, 80, 0.45)); }
.sv-head h1 { margin: 0; font-size: 26px; color: var(--strong); letter-spacing: -0.01em; }
.sv-head p { margin: 3px 0 0; font-size: 14px; }
.sv-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.sv-chip { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); }
.sv-right .btn.small { height: 34px; border-radius: 999px; padding: 0 14px; }
.qv { max-width: 880px; margin: 0 auto; }
.q-streak { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); margin-bottom: 12px; }
.q-streak b { color: var(--strong); font-size: 14px; }
.q-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.q-dot { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--panel-3); color: var(--faint); font-size: 11.5px; font-weight: 800; border: 1px solid var(--line); }
.q-dot .ic { width: 14px; height: 14px; stroke-width: 3; }
.q-dot.ready { border-color: var(--accent); color: var(--accent); }
.q-dot.on { background: var(--accent); border-color: transparent; color: #fff; }
.q-card { gap: 0; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); overflow: hidden; }
.qv .quest { gap: 14px; padding: 14px 18px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.qv .quest:first-child { border-top: 0; }
.qv .quest.ready { background: linear-gradient(90deg, rgba(239, 67, 80, 0.13), transparent 75%); border-color: var(--line); box-shadow: none; }
.qv .quest.boostq { background: linear-gradient(90deg, rgba(255, 115, 250, 0.09), transparent 70%); border-color: var(--line); }
.qv .quest.claimed { opacity: 0.55; }
.qv .q-ic { width: 38px; height: 38px; border-radius: 10px; }
.qv .q-ic .ic { width: 19px; height: 19px; }
.qv .q-main b { color: var(--strong); font-size: 14.5px; }
.qv .q-bar { height: 5px; margin: 9px 0 0; }
.qv .q-rew { display: flex; justify-content: flex-end; min-width: 70px; font-size: 14px; }
.q-act { width: 128px; flex: none; display: flex; justify-content: flex-end; }
.q-claim { min-width: 96px; border-radius: 999px; }
.q-state { font-size: 13px; font-weight: 700; color: var(--faint); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 5px; }
.q-state.ok { color: var(--green); }
.q-state .ic { width: 15px; height: 15px; }
.q-sec { margin: 26px 4px 10px; font-size: 13px; font-weight: 800; color: var(--muted); }

.reward-fx { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: radial-gradient(circle at 50% 46%, rgba(160, 28, 46, 0.42) 0%, transparent 46%), rgba(9, 3, 5, 0.9); backdrop-filter: blur(6px); animation: fade 0.18s; cursor: pointer; }
html.frameless .reward-fx { top: 32px; }
.reward-fx.out { opacity: 0; transition: opacity 0.26s; }
.rf-in { display: grid; justify-items: center; gap: 22px; }
.rf-gem { position: relative; animation: rfPop 0.7s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
.rf-gem .gem-big { width: 120px; height: 120px; filter: drop-shadow(0 10px 40px rgba(239, 67, 80, 0.7)); animation: rfFloat 2.4s ease-in-out infinite; }
.rf-sp i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; transform: translate(var(--x), var(--y)); animation: rfTw 1.4s var(--d) ease-in-out infinite both; }
.rf-sp i::before, .rf-sp i::after { content: ""; position: absolute; left: 4px; top: 0; width: 2px; height: 10px; border-radius: 2px; background: #ffd9dc; }
.rf-sp i::after { transform: rotate(90deg); }
.rf-text { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; background: linear-gradient(90deg, #ffb3b9, #ef4350 55%, #ff8a93); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rfUp 0.5s 0.15s both; }
@keyframes rfPop { 0% { transform: scale(0.3) rotate(-12deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes rfFloat { 50% { transform: translateY(-6px); } }
@keyframes rfTw { 0%, 100% { opacity: 0; scale: 0.4; } 50% { opacity: 1; scale: 1; } }
@keyframes rfUp { from { opacity: 0; transform: translateY(12px); } }

.shop2 .shop-wrap { display: flex; height: 100%; }
.shop-side { width: 300px; flex: none; overflow-y: auto; padding: 26px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.ss-prev { width: 100%; display: grid; place-items: center; padding: 18px 0; border-radius: 16px; background: var(--panel-2); margin-bottom: 12px; min-height: 200px; position: relative; overflow: hidden; }
.ss-prev .cosp { zoom: 0.92; }
.ss-av { position: relative; display: grid; place-items: center; width: 180px; height: 180px; }
.ss-av .shop-glow { width: 160px; height: 160px; opacity: 0.5; }
.ss-np { width: 100%; padding: 0 6px; }
.ss-np .np-demo { padding: 0; }
.shop-side h3 { margin: 4px 0 2px; font-size: 21px; color: var(--strong); }
.ss-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 4px 0 6px; }
.ss-tags .chip { text-transform: uppercase; letter-spacing: 0.04em; font-size: 10.5px; font-weight: 800; }
.shop-side p { margin: 4px 0 10px; }
.ss-act { width: 100%; margin-top: 6px; }
.ss-act .btn { width: 100%; height: 42px; }
.ss-act .chip { justify-content: center; width: 100%; height: 38px; }
.shop2 .shop-main { flex: 1; min-width: 0; height: 100%; overflow-y: auto; padding: 26px 32px 50px; }
.shop-feat { width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 26px; margin: 0 0 18px; border-radius: 16px; text-align: left; background: linear-gradient(110deg, color-mix(in srgb, var(--acc, var(--accent)) 26%, var(--panel-2)) 0%, var(--panel-2) 72%); border: 1px solid color-mix(in srgb, var(--acc, var(--accent)) 30%, transparent); transition: filter 0.12s; }
.shop-feat:hover { filter: brightness(1.08); }
.sf-kick { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: color-mix(in srgb, var(--acc, var(--accent)) 70%, #fff); }
.sf-name { font-size: 22px; font-weight: 800; color: var(--strong); margin: 3px 0 2px; }
.sf-desc { color: var(--muted); font-size: 13.5px; }
.sf-av { flex: none; padding: 6px 10px; }
.shop2 .shop-tabs { margin: 0 0 8px; padding: 0; background: none; border: 0; gap: 8px; }
.shop2 .shop-tab { height: 34px; border-radius: 999px; background: var(--panel-2); color: var(--muted); font-weight: 650; font-size: 13px; padding: 0 14px; }
.shop2 .shop-tab:hover { color: var(--strong); background: var(--panel-3); }
.shop2 .shop-tab.on { background: var(--strong); color: #14080c; }
.shop2 .shop-sec { font-size: 15px; margin: 24px 0 4px; }
.shop-grid.tiles { grid-template-columns: repeat(auto-fill, minmax(152px, 1fr)); gap: 10px; }
.shop-grid.tiles.cos-grid { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); }
.shop-grid.tiles.np-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.shop-card.tile { position: relative; align-items: center; gap: 6px; padding: 12px 10px 10px; border-radius: 14px; border: 1px solid transparent; background: var(--panel-2); cursor: pointer; text-align: center; overflow: visible; }
.shop-card.tile:hover { transform: none; background: var(--panel-3); border-color: var(--line-2); }
.shop-card.tile.sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft); }
.shop-card.tile.on { border-color: color-mix(in srgb, var(--green) 55%, transparent); }
.tile-prev { position: relative; width: 100%; height: 100px; display: grid; place-items: center; }
.tile-prev .shop-glow { width: 90px; height: 90px; }
.cos-grid .tile-prev { height: 170px; }
.cos-grid .tile-prev .cosp { zoom: 0.55; }
.np-grid .tile-prev { height: 64px; }
.np-grid .tile-prev .np-demo { padding: 0 2px; text-align: left; }
.ss-np { text-align: left; }
.tile-name { color: var(--strong); font-size: 13.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-foot { position: relative; width: 100%; height: 30px; display: grid; place-items: center; }
.tile-foot > .btn, .tile-foot > .chip { position: absolute; inset: 0; width: 100%; height: 30px; justify-content: center; opacity: 0; transition: opacity 0.12s; }
.shop-card.tile:hover .tile-foot > .btn, .shop-card.tile:hover .tile-foot > .chip, .shop-card.tile:focus-within .tile-foot > .btn { opacity: 1; }
.shop-card.tile:hover .tile-foot > .shop-price { opacity: 0; }
.tile-foot .shop-price { font-size: 12.5px; color: var(--text); transition: opacity 0.12s; }
.tile-foot .shop-price .dia { width: 14px; height: 14px; }
.shop-price.ok, .shop-price.free { color: var(--green); }
.shop-price.own { color: var(--muted); font-weight: 700; }
.shop-card.tile .new-chip { top: 6px; right: 6px; height: 19px; font-size: 10.5px; }
.shop-card.tile.locked .tile-prev .av { filter: grayscale(0.6) brightness(0.8); }
.shop2 .bundle-list { grid-template-columns: repeat(auto-fill, minmax(520px, 1fr)); gap: 12px; }
.shop2 .bundle { grid-template-columns: 170px 1fr; gap: 18px; padding: 14px; border-radius: 16px; cursor: pointer; }
.shop2 .bundle.sel { box-shadow: 0 0 0 2px var(--accent); }
.shop2 .bd-prev { padding: 12px 6px; }
.shop2 .bd-prev .cosp { zoom: 0.62; }
.shop2 .bd-info h3 { font-size: 18px; margin: 2px 0 4px; }
.shop2 .bd-items { grid-template-columns: 1fr 1fr; gap: 6px; }
.shop2 .bd-item { padding: 6px 8px; }
@media (max-width: 1240px) { .shop-side { display: none; } .tile-foot > .btn, .tile-foot > .chip { opacity: 1; } .tile-foot > .shop-price { opacity: 0; } }

/* ---------- 0.7.4: Kanal-Symbole (ab 12 Boosts / verifiziert) ---------- */
.chan-ic.fancy { opacity: 1; }
.chan-tint { display: grid; place-items: center; }
.chan-tint .ic, .chan-ic .chan-tint .ic { width: 18px; height: 18px; stroke-width: 2.1; }
.chan-emo { display: grid; place-items: center; font-size: 16px; line-height: 1; width: 20px; height: 20px; }
.chan-emo img, .chan-emo .emoji { width: 18px; height: 18px; }
.chan-cemo { width: 19px; height: 19px; object-fit: contain; border-radius: 4px; }
.head-ic .chan-tint .ic, .head-ic .chan-cemo { width: 20px; height: 20px; }
.head-ic .chan-emo { font-size: 18px; }
.welcome-ic { display: inline-grid; vertical-align: -4px; margin-right: 8px; }
.welcome-ic .ic, .welcome-ic .chan-cemo { width: 34px; height: 34px; }
.welcome-ic .chan-emo { font-size: 32px; width: auto; height: auto; }
.chan-ic-btn { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 10px; background: var(--input); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.chan-ic-btn:hover { border-color: var(--line-2); }
.chan-ic-btn > .ic, .chan-ic-btn .chan-tint .ic { width: 20px; height: 20px; color: var(--muted); }
.chan-ic-btn .chan-tint .ic { color: inherit; }
.cip { width: 340px; padding: 14px; display: grid; gap: 10px; }
.cip-head { display: grid; gap: 2px; }
.cip-head b { color: var(--strong); }
.cip-colors { display: flex; gap: 6px; flex-wrap: wrap; }
.cip-colors .swatch { width: 22px; height: 22px; }
.cip-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.cip-i { height: 36px; border-radius: 8px; display: grid; place-items: center; }
.cip-i:hover { background: var(--hover); }
.cip-i.on { background: var(--active); box-shadow: inset 0 0 0 1px var(--accent); }
.cip-i .ic { width: 19px; height: 19px; }
.cip-foot { justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; }
.chan-perk-lock { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px dashed var(--line-2); }
.chan-perk-lock > span .ic { width: 18px; height: 18px; color: var(--faint); }
.chan-perk-lock b { color: var(--strong); font-size: 13.5px; }
