/* =====================================================================
   RSGC Design "Aurora" (2026-11-08)
   Liegt über style.css. Abschalten: localStorage dodo.design = "classic"
   Nutzt immer die gewählte Akzentfarbe (--accent / --accent-rgb).
   ===================================================================== */
:root {
  --acc2: color-mix(in oklab, var(--accent) 28%, #7c5cff);
  --acc3: color-mix(in oklab, var(--accent) 45%, #38bdf8);
  --grad: linear-gradient(135deg, var(--accent) 0%, var(--acc3) 55%, var(--acc2) 100%);
  --glow: 0 8px 28px rgba(var(--accent-rgb), .32);
  --r-xl: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Grundfarben dunkel (nur Standard-Theme, nicht Hell/Eigenes) */
body:not(.theme-light):not(.theme-custom) {
  --bg-0: #05060b;
  --bg-1: #0b0e16;
  --bg-2: #0f131c;
  --bg-3: #161b26;
  --bg-4: #1e2431;
  --bg-5: #29303f;
  --line: rgba(255, 255, 255, .065);
  --line-2: rgba(255, 255, 255, .11);
  --text: #eef1f7;
  --text-2: #aab3c2;
  --text-3: #6f7a8c;
  --panel: linear-gradient(180deg, rgba(16, 20, 31, .62), rgba(9, 12, 19, .7));
  --panel-main: linear-gradient(180deg, rgba(14, 18, 28, .58), rgba(10, 13, 21, .68));
  background: #05060b;
}
/* Aurora-Hintergrund (statisch = kostet keine Leistung) */
body:not(.theme-light):not(.theme-custom)::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 55vh at 6% -8%, rgba(var(--accent-rgb), .30), transparent 62%),
    radial-gradient(50vw 50vh at 100% 0%, color-mix(in srgb, var(--acc3) 30%, transparent), transparent 65%),
    radial-gradient(70vw 60vh at 85% 110%, color-mix(in srgb, var(--acc2) 38%, transparent), transparent 62%),
    radial-gradient(40vw 40vh at 30% 100%, rgba(var(--accent-rgb), .12), transparent 70%),
    #05060b;
}

/* ---------- Schrift & Kleinkram */
body { letter-spacing: .005em; text-rendering: optimizeLegibility; }
::selection { background: rgba(var(--accent-rgb), .4); color: #fff; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, .09); border: 2px solid transparent; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(var(--accent-rgb), .45); }
body.theme-light ::-webkit-scrollbar-thumb { background-color: rgba(15, 23, 42, .16); }

/* ---------- Layout & Panels */
.app { gap: 10px; padding: 0 10px 10px 0; }
body:not(.desktop) .app { padding-top: 10px; }
.panel { border-radius: var(--r-xl); }
body:not(.theme-light):not(.theme-custom) .side.panel,
body:not(.theme-light):not(.theme-custom) .members.panel {
  background: var(--panel);
  border-color: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 20px 50px rgba(0, 0, 0, .35);
}
body:not(.theme-light):not(.theme-custom) .main.panel {
  background: var(--panel-main);
  border-color: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 60px rgba(0, 0, 0, .4);
}
body:not(.theme-light):not(.theme-custom) #titlebar { background: transparent; }

/* ---------- Server-Leiste */
.rail-btn {
  width: 50px; height: 50px; border-radius: 17px;
  transition: border-radius .25s var(--ease), background .2s, transform .18s var(--ease), box-shadow .25s;
}
body:not(.theme-light) .rail-btn { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .07); }
.rail-btn:hover { transform: translateY(-2px); border-radius: 15px; }
.rail-btn.active {
  border-radius: 15px;
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 5px rgba(var(--accent-rgb), .16), var(--glow);
}
.rail-btn::before { left: -14px; width: 5px; background: var(--text); }
.rail-btn.active::before { background: var(--grad); box-shadow: 0 0 12px rgba(var(--accent-rgb), .7); }
.rail-btn.home { background: var(--grad) !important; border: 0; box-shadow: var(--glow); }
.rail-btn.home > img { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.rail-btn.ghost { border-color: rgba(var(--accent-rgb), .3); }
.rail-btn.ghost:hover { background: rgba(var(--accent-rgb), .14); box-shadow: 0 0 18px rgba(var(--accent-rgb), .25); }
.rail-btn .badge { background: linear-gradient(135deg, #ff6b7a, #ff3d6e); box-shadow: 0 2px 8px rgba(255, 61, 110, .5); }
.rail-sep { width: 28px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------- Seitenleiste */
.side-head { height: 56px; letter-spacing: -.01em; }
.sec { font-size: .7em; letter-spacing: .12em; padding: 18px 8px 6px; }
.ch {
  height: 36px; border-radius: 10px;
  transition: background .15s, color .15s, transform .15s var(--ease);
}
.ch:hover { background: rgba(255, 255, 255, .045); color: var(--text); transform: translateX(2px); }
body.theme-light .ch:hover { background: rgba(15, 23, 42, .05); }
.ch.active {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), .04) 85%);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .18);
}
.ch.active .i { color: var(--accent); filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .6)); }
.ch.unread::before { background: var(--grad); height: 10px; }
.dm { border-radius: 12px; transition: background .15s, transform .15s var(--ease); }
.dm:hover { background: rgba(255, 255, 255, .045); transform: translateX(2px); }
.dm.active { background: linear-gradient(90deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .03) 85%); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .15); }
body.theme-light .dm:hover { background: rgba(15, 23, 42, .05); }
.invite-cta {
  border-radius: 13px;
  background: linear-gradient(120deg, rgba(var(--accent-rgb), .22), color-mix(in srgb, var(--acc2) 14%, transparent));
  border-color: rgba(var(--accent-rgb), .25);
  transition: transform .15s var(--ease), box-shadow .2s;
}
.invite-cta:hover { transform: translateY(-1px); box-shadow: var(--glow); }
.search-like { border-radius: 11px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
body.theme-light .search-like { background: var(--bg-3); }

/* Sprach- und Benutzer-Panel unten */
.voice-panel {
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .14), rgba(255, 255, 255, .02));
  border-color: rgba(var(--accent-rgb), .22);
}
.user-panel {
  border-radius: 16px; padding: 7px;
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
body:not(.theme-light):not(.theme-custom) .user-panel { background: rgba(0, 0, 0, .35); }
.user-panel .icon-btn:hover { background: rgba(var(--accent-rgb), .14); color: var(--accent); }

/* ---------- Kopfzeile */
.main-head {
  height: 58px; padding: 0 14px 0 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(var(--accent-rgb), .35), var(--line-2) 30%, var(--line) 100%) 1;
}
.mh-title > .i {
  width: 30px; height: 30px; padding: 6px; border-radius: 9px;
  color: var(--accent); background: rgba(var(--accent-rgb), .12);
}
.mh-title b { font-size: 1.05em; letter-spacing: -.01em; }
.mh-topic { border-left-color: var(--line-2); }
.icon-btn { border-radius: 10px; transition: background .15s, color .15s, transform .12s; }
.icon-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .06); }
.icon-btn:active:not(:disabled) { transform: scale(.92); }
body.theme-light .icon-btn:hover:not(:disabled) { background: rgba(15, 23, 42, .06); }

/* ---------- Nachrichten */
.msg-list { padding: 14px 0 20px; }
.welcome { padding: 34px 26px 20px; }
.welcome-ic {
  width: 74px; height: 74px; border-radius: 24px;
  background: var(--grad); color: #fff; box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.welcome h2 {
  font-size: 2.1em; letter-spacing: -.03em;
  background: linear-gradient(90deg, var(--text) 40%, color-mix(in srgb, var(--accent) 70%, var(--text)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.day-sep { margin: 22px 26px 10px; font-size: .72em; letter-spacing: .04em; }
.day-sep > span, .day-sep:not(:has(> span)) {
  color: var(--text-2);
}
.day-sep > span {
  padding: 4px 12px; border-radius: 99px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
}
.day-sep::before { background: linear-gradient(90deg, transparent, var(--line-2)); }
.day-sep::after { background: linear-gradient(90deg, var(--line-2), transparent); }
.msg {
  margin-left: 8px; margin-right: 8px; border-radius: 14px;
  padding: 4px 56px 4px 8px;
  transition: background .15s;
}
.msg.grouped { padding-top: 2px; padding-bottom: 2px; }
.msg:hover { background: rgba(255, 255, 255, .03); }
body.theme-light .msg:hover { background: rgba(15, 23, 42, .04); }
.msg .av-btn .avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .06), 0 4px 12px rgba(0, 0, 0, .3); transition: transform .2s var(--ease); }
.msg .av-btn:hover .avatar { transform: scale(1.06); }
.msg-author { font-weight: 700; letter-spacing: -.005em; }
.msg-head { gap: 9px; }
.msg-head time { font-size: .72em; opacity: .85; }
.msg-text { color: color-mix(in srgb, var(--text) 88%, var(--text-2)); line-height: 1.5; }
.msg.mention { box-shadow: inset 3px 0 0 var(--warn); border-radius: 0 14px 14px 0; }
.mention { border-radius: 6px; padding: 0 4px; background: rgba(var(--accent-rgb), .16); }
.msg-text code { border-radius: 6px; background: rgba(0, 0, 0, .35); }
.msg-text pre { border-radius: 12px; background: rgba(0, 0, 0, .38); border-color: rgba(255, 255, 255, .07); }
.quote { border-left: 3px solid rgba(var(--accent-rgb), .5); border-radius: 2px; }
.att-img, .att-file, .att-audio, .att-video { border-radius: 14px; }
.att-img { box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform .2s var(--ease); }
.att-img:hover { transform: scale(1.01); }
.att-file { background: linear-gradient(135deg, rgba(var(--accent-rgb), .08), rgba(255, 255, 255, .02)); }
.msg-tools {
  border-radius: 12px; padding: 3px; right: 16px;
  background: rgba(22, 27, 38, .92); backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, .1); box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}
body.theme-light .msg-tools { background: rgba(255, 255, 255, .95); }
.msg-tools button { border-radius: 9px; transition: background .12s, color .12s, transform .12s; }
.msg-tools button:hover { background: rgba(var(--accent-rgb), .16); color: var(--accent); transform: translateY(-1px); }

/* ---------- Eingabefeld */
.composer-wrap { padding: 0 18px 10px; }
.composer {
  border-radius: 18px; padding: 7px;
  border-color: rgba(255, 255, 255, .09);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: border-color .2s, box-shadow .25s;
}
body:not(.theme-light):not(.theme-custom) .composer { background: rgba(24, 29, 41, .92); }
.composer:focus-within {
  border-color: rgba(var(--accent-rgb), .55);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12), 0 12px 36px rgba(var(--accent-rgb), .14);
}
.send-btn {
  width: 38px; height: 38px; border-radius: 13px;
  background: var(--grad); color: #fff; box-shadow: var(--glow);
  transition: transform .15s var(--ease), box-shadow .2s, filter .15s;
}
.send-btn:hover:not(:disabled) { transform: translateY(-1px) rotate(-6deg); filter: brightness(1.1); }
.reply-bar { border-radius: 16px 16px 0 0; background: linear-gradient(90deg, rgba(var(--accent-rgb), .16), var(--bg-4)); }

/* ---------- Mitgliederliste */
.mem-group { letter-spacing: .12em; font-size: .7em; }
.mem { border-radius: 12px; padding: 6px 8px; transition: background .15s, transform .15s var(--ease); }
.mem:hover { background: rgba(255, 255, 255, .045); transform: translateX(-2px); }
body.theme-light .mem:hover { background: rgba(15, 23, 42, .05); }

/* ---------- Avatare & Status */
.status.s-online { box-shadow: 0 0 8px rgba(61, 220, 151, .6); }
.speaking > .avatar, .vc-user.speaking .avatar { box-shadow: 0 0 0 2px var(--bg-1), 0 0 0 4px var(--accent), 0 0 16px rgba(var(--accent-rgb), .6); }

/* ---------- Buttons & Formulare */
.btn { border-radius: 12px; transition: background .15s, transform .15s var(--ease), box-shadow .2s, filter .15s; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25); text-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.btn.primary:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 12px 34px rgba(var(--accent-rgb), .42), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.ghost { border: 1px solid var(--line); }
.btn.ghost:hover:not(:disabled) { transform: translateY(-1px); }
.btn.danger { background: linear-gradient(135deg, #ff6b7a, #e5384f); box-shadow: 0 8px 24px rgba(229, 56, 79, .3); }
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]), textarea, select {
  border-radius: 12px !important; transition: border-color .15s, box-shadow .2s, background .15s;
}
body:not(.theme-light) input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),
body:not(.theme-light) textarea, body:not(.theme-light) select { background-color: rgba(0, 0, 0, .3); }
input:focus, textarea:focus, select:focus { border-color: rgba(var(--accent-rgb), .6) !important; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12) !important; }
.composer textarea:focus { box-shadow: none !important; }
.tabs button { transition: background .15s, color .15s; }
.tabs button.active { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.chip { border: 1px solid var(--line); }

/* ---------- Fenster (Modals), Menüs, Tooltips, Toasts */
.modal-back { backdrop-filter: blur(10px) saturate(1.2); background: rgba(3, 5, 10, .6); }
.modal {
  border-radius: 24px; border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: scale(.95) translateY(10px); transition: transform .28s var(--ease);
}
body:not(.theme-light):not(.theme-custom) .modal { background: linear-gradient(180deg, #121722, #0d1119); }
.set-nav { padding: 24px 12px; }
body:not(.theme-light):not(.theme-custom) .set-nav { background: rgba(0, 0, 0, .22); }
.set-nav button { border-radius: 11px; transition: background .15s, color .15s, transform .15s var(--ease); }
.set-nav button:hover { transform: translateX(2px); }
.set-nav button.active {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), .04));
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .2);
}
.set-body h3 { font-size: 1.35em; letter-spacing: -.02em; }
.save-bar { border-radius: 16px; backdrop-filter: blur(14px); }
.menu, .profile-pop, .tip {
  backdrop-filter: blur(16px) saturate(1.3);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .05);
}
body:not(.theme-light):not(.theme-custom) .menu,
body:not(.theme-light):not(.theme-custom) .tip { background: rgba(14, 18, 27, .9); }
.menu { border-radius: 14px; animation: rdPop .16s var(--ease); }
.menu-item { border-radius: 9px; transition: background .1s, color .1s; }
.menu-item:hover:not(:disabled) { background: var(--grad); color: #fff; }
.menu-item.danger:hover { background: linear-gradient(135deg, #ff6b7a, #e5384f); }
.profile-pop { border-radius: 22px; animation: rdPop .2s var(--ease); }
.tip { border-radius: 10px; }
.toast { border-radius: 14px; backdrop-filter: blur(14px); }
body:not(.theme-light):not(.theme-custom) .toast { background: rgba(14, 18, 27, .92); }
@keyframes rdPop { from { opacity: 0; transform: scale(.95) translateY(4px); } }

/* ---------- Startseite / Freunde */
.home-hero { border-radius: 26px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .26), color-mix(in srgb, var(--acc2) 14%, transparent) 70%), var(--bg-3); }
.home-card { border-radius: 20px; transition: transform .2s var(--ease), border-color .2s, box-shadow .25s; }
.home-card:hover { box-shadow: var(--glow); }
.home-card .i { background: var(--grad); color: #fff; box-shadow: var(--glow); }

/* ---------- Anmeldung */
.auth-card {
  border-radius: 26px; border-color: rgba(255, 255, 255, .09);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
}
body:not(.theme-light):not(.theme-custom) .auth { background: transparent; }
body:not(.theme-light):not(.theme-custom) .auth-card { background: linear-gradient(180deg, rgba(20, 25, 37, .9), rgba(12, 15, 23, .92)); backdrop-filter: blur(20px); }
body:not(.theme-light):not(.theme-custom) .auth-art { background: radial-gradient(120% 90% at 0% 0%, rgba(var(--accent-rgb), .18), transparent 60%), rgba(8, 10, 16, .6); }
.auth-art h1 {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.auth-logo { animation: rdFloat 6s ease-in-out infinite; }
@keyframes rdFloat { 50% { transform: translateY(-6px); } }
.splash-bar i { background: var(--grad); }

/* ---------- Weniger Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  .auth-logo { animation: none; }
  .rail-btn:hover, .ch:hover, .dm:hover, .mem:hover, .btn:hover { transform: none !important; }
}

/* ---------- Miteigentümer (Mitgründer) in Rot (2026-11-08) */
.crown.co { color: #ff4d5e; filter: drop-shadow(0 0 4px rgba(255, 77, 94, .45)); }
.chip.owner.co { background: rgba(255, 77, 94, .16); color: #ff6b7a; border-color: rgba(255, 77, 94, .3); }
.owner-lbl.co { color: #ff6b7a; }

/* ---------- Nitro Basic */
.nitro-badge.basic .i { color: #38bdf8; }
.nitro-pill.basic { background: linear-gradient(135deg, rgba(56, 189, 248, .25), rgba(46, 230, 168, .22)); color: #c7f0ff; }
.nh-status.basic { color: #38bdf8; }
.nitro-plans.three { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.np-card.basic { border-color: rgba(56, 189, 248, .55); background: linear-gradient(160deg, rgba(56, 189, 248, .14), transparent 60%), var(--bg-1); }
.np-card.basic .pill-btn.primary { background: linear-gradient(135deg, #38bdf8, #2ee6a8); box-shadow: 0 8px 22px rgba(56, 189, 248, .3); }
.np-tag.deal { background: linear-gradient(135deg, #38bdf8, #2ee6a8); color: #04131c; }
.np-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: .86em; color: var(--text-2); }
.np-list li { display: flex; align-items: center; gap: 7px; }
.np-list .i { width: 15px; height: 15px; color: var(--accent); flex: none; }
.np-list b { color: var(--text); }
.np-list s { color: var(--text-3); font-size: .9em; }
.np-compare { margin: 6px 0 16px; padding: 14px; border-radius: 16px; background: var(--bg-1); border: 1px solid var(--line); overflow-x: auto; }
.np-compare table { width: 100%; border-collapse: collapse; font-size: .86em; }
.np-compare th, .np-compare td { padding: 8px 10px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.np-compare th:first-child, .np-compare td:first-child { text-align: left; color: var(--text-2); white-space: normal; }
.np-compare th { font-size: .82em; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.np-compare .hl { background: rgba(56, 189, 248, .08); color: var(--text); font-weight: 600; }
.np-compare th.hl { color: #38bdf8; border-radius: 10px 10px 0 0; }
.np-compare .i { width: 15px; height: 15px; color: var(--ok); vertical-align: -3px; }
.np-compare tr:last-child td { border-bottom: 0; }
.np-compare p { margin: 10px 2px 0; }

/* ---------- Rollen ziehen & sortieren */
.rl-tools { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.rl-tools small { color: var(--text-3); font-size: .78em; }
.rl-tools .btn.small { height: 30px; padding: 0 10px; font-size: .82em; }
.role-list > button.rl-drag { cursor: grab; position: relative; }
.role-list > button.rl-drag:active { cursor: grabbing; }
.rl-grip { display: grid; margin: 0 -4px 0 -6px; color: var(--text-3); opacity: .5; transition: opacity .15s; }
.rl-grip .i { width: 16px; height: 16px; stroke-width: 3; }
.role-list > button:hover .rl-grip { opacity: 1; }
.role-list > button.dragging { opacity: .4; }
.role-list > button.rl-over-top { box-shadow: inset 0 2px 0 var(--accent); }
.role-list > button.rl-over-bot { box-shadow: inset 0 -2px 0 var(--accent); }
/* ---------- Einladen: Freundesliste (2026-11-08) */
.inv-friends { margin: 4px 0 6px; }
.inv-friends .search { width: 100%; margin: 0 0 8px; }
.inv-flist { max-height: 300px; overflow-y: auto; margin: 0 -8px; padding: 0 4px; display: flex; flex-direction: column; gap: 2px; }
.inv-frow { display: flex; align-items: center; gap: 11px; padding: 7px 8px; border-radius: 12px; transition: background .15s; }
.inv-frow:hover { background: rgba(255, 255, 255, .045); }
body.theme-light .inv-frow:hover { background: rgba(15, 23, 42, .05); }
.inv-frow .grow { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.inv-frow b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inv-frow small { color: var(--text-3); font-size: .8em; }
.inv-frow .btn.small { height: 32px; padding: 0 14px; font-size: .85em; flex: none; }
.inv-frow .btn .i { width: 15px; height: 15px; }
.inv-fnote { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; }
.inv-fnote .i { width: 14px; height: 14px; color: var(--ok); }
.inv-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 6px; color: var(--text-3); font-size: .74em; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.inv-or::before, .inv-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
/* ---------- Sprach-Panel: Ping + Geräte (2026-11-08) */
.vp-actions.three { grid-template-columns: 1fr 1fr 1fr; }
.vp-actions.three button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-ping { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 8px; border-radius: 9px; font-size: .74em; font-weight: 700; color: var(--text-2); background: rgba(255, 255, 255, .05); font-variant-numeric: tabular-nums; flex: none; transition: background .15s; }
.vp-ping:hover { background: rgba(255, 255, 255, .1); color: var(--text); }
body.theme-light .vp-ping { background: rgba(15, 23, 42, .06); }
.vp-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.vp-bars i { width: 3px; border-radius: 1px; background: var(--text-3); opacity: .45; }
.vp-bars i:nth-child(1) { height: 4px; } .vp-bars i:nth-child(2) { height: 8px; } .vp-bars i:nth-child(3) { height: 12px; }
.vp-bars.p-good i { background: #3ddc97; opacity: 1; }
.vp-bars.p-mid i { background: #ffb547; opacity: 1; } .vp-bars.p-mid i:nth-child(3) { opacity: .3; }
.vp-bars.p-bad i { background: #ff5d6c; opacity: 1; } .vp-bars.p-bad i:nth-child(2), .vp-bars.p-bad i:nth-child(3) { opacity: .3; }
.vp-ping.p-good span:last-child { color: #3ddc97; } .vp-ping.p-mid span:last-child { color: #ffb547; } .vp-ping.p-bad span:last-child { color: #ff5d6c; }
.net-info { width: 260px; padding: 4px 4px 2px; }
.ni-head { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.ni-head .i { width: 17px; height: 17px; color: var(--accent); }
.ni-sub { font-size: .7em; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 10px 0 4px; }
.ni-row { display: flex; align-items: center; gap: 8px; padding: 5px 2px; font-size: .88em; }
.ni-row span { flex: 1; min-width: 0; color: var(--text-2); }
.ni-row b { font-variant-numeric: tabular-nums; }
.ni-row b.good { color: #3ddc97; } .ni-row b.mid { color: #ffb547; } .ni-row b.bad { color: #ff5d6c; }
.ni-row small { color: #ff8a96; font-size: .78em; }
.ni-warn { display: flex; gap: 6px; font-size: .8em; color: var(--warn); margin: 8px 0 0; }
.ni-warn .i { width: 15px; height: 15px; flex: none; }
.net-info p { margin: 8px 0 0; }
.dev-pop { position: fixed; z-index: 1120; width: 330px; padding: 14px; border-radius: 18px; background: rgba(14, 18, 27, .96); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 60px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05); backdrop-filter: blur(16px); animation: rdPop .18s var(--ease); display: flex; flex-direction: column; gap: 10px; }
body.theme-light .dev-pop { background: rgba(255, 255, 255, .97); }
.dp-head { display: flex; align-items: center; justify-content: space-between; }
.dp-head b { display: flex; align-items: center; gap: 7px; }
.dp-head b .i { width: 17px; height: 17px; color: var(--accent); }
.dp-head .icon-btn { width: 28px; height: 28px; }
.dp-field { margin: 0; display: flex; flex-direction: column; gap: 5px; }
.dp-field > span { display: flex; align-items: center; gap: 6px; font-size: .95em; color: var(--text-2); }
.dp-field > span .i { width: 15px; height: 15px; }
.dp-field select { width: 100%; margin: 0 !important; height: 36px; }
.dp-meter { height: 6px; border-radius: 6px; background: rgba(0, 0, 0, .35); overflow: hidden; margin-top: -4px; }
.dp-meter i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width .06s linear; }
.dp-cam { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.dp-cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.dp-cam-off { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--text-3); font-size: .82em; background: var(--bg-1); }
.dp-cam-off .i { width: 26px; height: 26px; }
.dp-row { display: flex; align-items: center; gap: 8px; }
.dp-row .btn.small { height: 32px; padding: 0 12px; font-size: .82em; }

/* ---------- Streamer-Modus */
.sm-strip { display: flex; align-items: center; gap: 8px; margin: -2px 8px 8px; padding: 6px 12px; border-radius: 10px; font-size: .74em; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, #9146ff, #e0457b); box-shadow: 0 6px 18px rgba(145, 70, 255, .3); }
.sm-strip i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: smPulse 1.6s ease-in-out infinite; }
@keyframes smPulse { 50% { opacity: .35; } }
.sm-pill { margin-left: auto; background: linear-gradient(90deg, #9146ff, #e0457b) !important; }
.sm-hero { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; margin: 4px 0 14px; background: var(--bg-1); border: 1px solid var(--line); }
.sm-hero.on { background: linear-gradient(120deg, rgba(145, 70, 255, .2), rgba(224, 69, 123, .12)); border-color: rgba(145, 70, 255, .45); }
.sm-hero > .i { color: #b48bff; }
.sm-hero .grow { display: flex; flex-direction: column; gap: 2px; }
.sm-hero small { color: var(--text-2); }
.sm-mode { margin-bottom: 6px; }
body.sm-info .tag, body.sm-info .acc-line b, body.sm-info input[type=email], body.sm-info input[type=tel], body.sm-info #inv-link, body.sm-info .copy-row input, body.sm-info .vanity-mini .mono, body.sm-info .pending-mail {
  filter: blur(6px); transition: filter .2s;
}
body.sm-info .tag:hover, body.sm-info .acc-line b:hover, body.sm-info input:focus, body.sm-info .vanity-mini .mono:hover { filter: none; }

/* ---------- Wortzähler */
.word-count { position: absolute; right: 26px; top: -22px; padding: 2px 9px; border-radius: 99px; font-size: .72em; font-weight: 700; background: var(--bg-3); color: var(--text-2); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.word-count.over { background: rgba(255, 93, 108, .16); color: #ff8a96; border-color: rgba(255, 93, 108, .4); }
/* ---------- Server-Einstellungen: Dashboard + Suche (2026-11-08) */
.set-nav-search { display: flex; align-items: center; gap: 8px; margin: 4px 2px 6px; padding: 0 10px; height: 36px; border-radius: 11px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); color: var(--text-3); letter-spacing: 0; font-weight: 500; }
body.theme-light .set-nav-search { background: var(--bg-3); }
.set-nav-search .i { width: 16px; height: 16px; flex: none; }
.set-nav-search input { flex: 1; min-width: 0; height: 100%; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: .95em; }
.set-nav-group { display: flex; flex-direction: column; gap: 2px; }
.set-nav-none { color: var(--text-3); font-size: .85em; padding: 8px 10px; margin: 0; }
.sd-hero { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 20px; overflow: hidden; margin-bottom: 14px; background: linear-gradient(120deg, rgba(var(--accent-rgb), .22), color-mix(in srgb, var(--acc2) 16%, transparent)), var(--bg-1); border: 1px solid var(--line); }
.sd-hero::before { content: ""; position: absolute; inset: 0; background: var(--sd-bg) center / cover; opacity: .28; filter: blur(2px); }
.sd-hero > * { position: relative; }
.sd-hero .sd-ic { border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); flex: none; }
.sd-hero .grow { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sd-hero b { font-size: 1.45em; letter-spacing: -.02em; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.sd-hero small { color: var(--text-2); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sd-hero small .i { width: 14px; height: 14px; color: var(--accent); }
.sd-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.sd-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 16px; background: var(--bg-1); border: 1px solid var(--line); }
.sd-tile .i { width: 20px; height: 20px; color: var(--accent); margin-bottom: 4px; }
.sd-tile b { font-size: 1.5em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sd-tile span { font-weight: 600; font-size: .86em; }
.sd-tile small { color: var(--text-3); font-size: .78em; }
.sd-setup { padding: 14px 16px; border-radius: 16px; margin-bottom: 14px; background: linear-gradient(120deg, rgba(var(--accent-rgb), .1), transparent), var(--bg-1); border: 1px solid rgba(var(--accent-rgb), .25); }
.sd-setup header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.sd-setup header span { color: var(--text-2); font-size: .85em; }
.sd-prog { height: 7px; border-radius: 7px; background: rgba(0, 0, 0, .3); overflow: hidden; margin-bottom: 10px; }
.sd-prog i { display: block; height: 100%; background: var(--grad); border-radius: 7px; }
.sd-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-check { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; font-size: .82em; font-weight: 600; background: var(--bg-3); color: var(--text); border: 1px solid var(--line); transition: background .15s, transform .15s; }
.sd-check:hover { background: rgba(var(--accent-rgb), .16); transform: translateY(-1px); }
.sd-check .i { width: 14px; height: 14px; color: var(--accent); }
.sd-check.ok { opacity: .55; text-decoration: line-through; }
.sd-check.ok .i { color: var(--ok); }
.sd-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-bottom: 8px; }
.sd-q { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg-1); border: 1px solid var(--line); text-align: left; transition: border-color .15s, transform .15s var(--ease), box-shadow .2s; }
.sd-q:hover { border-color: rgba(var(--accent-rgb), .45); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.sd-q > .i:first-child { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: rgba(var(--accent-rgb), .14); color: var(--accent); flex: none; }
.sd-q span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sd-q b { font-size: .93em; }
.sd-q small { color: var(--text-3); font-size: .78em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-q > .i:last-child { width: 16px; height: 16px; color: var(--text-3); transform: rotate(-90deg); }
@media (max-width: 900px) { .sd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Webseite / Anmeldung */
.auth-feats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.auth-feats > div { transition: transform .2s var(--ease), border-color .2s; }
.auth-feats > div:hover { transform: translateY(-2px); border-color: rgba(var(--accent-rgb), .4); }
.auth-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; max-width: 520px; position: relative; }
.auth-plans > div { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.auth-plans > div.hl { border-color: rgba(56, 189, 248, .5); background: linear-gradient(140deg, rgba(56, 189, 248, .14), rgba(46, 230, 168, .06)); }
.auth-plans span { font-size: .72em; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); }
.auth-plans b { font-size: 1.3em; }
.auth-plans small { color: var(--text-2); font-size: .74em; }
.auth-dl { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; position: relative; }
.auth-dl > span { display: flex; align-items: center; gap: 6px; color: var(--text-2); font-size: .88em; font-weight: 600; margin-right: 4px; }
.auth-dl .i { width: 16px; height: 16px; }
.auth-dl .btn.small { height: 34px; padding: 0 12px; font-size: .85em; text-decoration: none; }.sd-hero .sd-ic { width: 64px; height: 64px; display: block; }
.sd-hero .sd-ic > *, .sd-hero .sd-ic img { width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 18px; display: grid; place-items: center; }.word-count { color: var(--text-3); background: rgba(14, 18, 27, .92); }
.word-count.near { background: rgba(255, 181, 71, .16); color: #ffc46b; border-color: rgba(255, 181, 71, .4); }
/* ---------- Anmeldung / Registrierung schöner (2026-11-08) */
body:not(.theme-light):not(.theme-custom) .auth-art,
body:not(.theme-light):not(.theme-custom) .auth-side { background: transparent !important; }
.auth-back { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; padding: 7px 14px; border-radius: 99px; font-size: .88em; font-weight: 600; color: var(--text-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.auth-back:hover { color: var(--text); text-decoration: none; background: rgba(255, 255, 255, .1); }
.reg-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 4px 0 18px; }
.reg-steps li { flex: 1; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 12px; font-size: .78em; font-weight: 700; color: var(--text-3); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); white-space: nowrap; }
.reg-steps li i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .9em; background: rgba(255, 255, 255, .08); flex: none; }
.reg-steps li.on { color: var(--text); border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .1); }
.reg-steps li.on i { background: var(--grad); color: #fff; }
.reg-preview { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 16px; border-radius: 16px; background: linear-gradient(120deg, rgba(var(--accent-rgb), .12), rgba(124, 92, 255, .1)); border: 1px solid var(--line-2); }
.rp-av { --h: 160; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; background: linear-gradient(140deg, hsl(var(--h) 65% 52%), hsl(calc(var(--h) + 40) 60% 38%)); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); transition: background .3s; }
.reg-preview .grow { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.reg-preview b { font-size: 1.05em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reg-preview small { color: var(--text-3); font-size: .82em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reg-preview em { font-style: normal; font-size: .68em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.un-status { display: flex; align-items: center; gap: 4px; min-height: 18px; margin-top: 5px; font-size: .92em; font-weight: 600; letter-spacing: 0; color: var(--text-3); }
.un-status .i { width: 14px; height: 14px; stroke-width: 2.4; }
.un-status.ok { color: #3ddc97; } .un-status.bad { color: #ff6b7a; }
.pw-meter { height: auto !important; display: flex; align-items: center; gap: 10px; margin: -4px 0 12px; }
.pw-meter > i { flex: 1; height: 6px; border-radius: 6px; }
.pw-meter > span { font-size: .78em; font-weight: 700; min-width: 70px; text-align: right; }
.auth-card { max-width: 460px; width: min(460px, 92%); }
.word-count b { color: var(--text); font-weight: 800; }
.word-count.near b { color: #ffc46b; } .word-count.over b { color: #ff8a96; }
.word-count .wc-chars { opacity: .7; font-weight: 600; }

/* ---------- Direktnachrichten: Bereiche Private Nachrichten / Gruppen (2026-11-08) */
.dm-sec { gap: 6px; }
.dm-sec .dm-sec-t { flex: 1; display: flex; align-items: center; gap: 6px; width: auto !important; height: auto !important; min-width: 0; padding: 2px 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--text-3); border-radius: 6px; }
.dm-sec .dm-sec-t:hover { color: var(--text); background: transparent !important; }
.dm-sec .dm-sec-t .i { width: 14px !important; height: 14px !important; transition: transform .2s; }
.dm-sec.collapsed .dm-sec-t .i { transform: rotate(-90deg); }
.dm-sec-n { font-style: normal; font-weight: 700; padding: 0 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: var(--text-2); letter-spacing: 0; }
body.theme-light .dm-sec-n { background: rgba(15, 23, 42, .07); }
.dm-sec .pill-red { margin-left: 2px; font-size: .95em; }
.dm-sec + .dm-sec { margin-top: 4px; }
/* Spiele-Logos als Schriftzug ganz zeigen */
.game-ic.img.logo { background: var(--gc) !important; padding: calc(var(--s) * .12); }
.game-ic.img.logo img { object-fit: contain !important; }

/* ---------- Server-Ordner in der Leiste (2026-11-08) */
.rail-folder { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; position: relative; }
.rail-folder.open { padding: 6px 0 8px; margin: 0 auto; width: 58px; border-radius: 20px; background: color-mix(in srgb, var(--fc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--fc) 35%, transparent); }
.folder-btn { background: color-mix(in srgb, var(--fc) 22%, rgba(255, 255, 255, .04)) !important; border-color: color-mix(in srgb, var(--fc) 45%, transparent) !important; color: var(--fc); }
.rail-folder.open > .folder-btn { width: 44px; height: 32px; border-radius: 12px; background: transparent !important; border: 0 !important; }
.folder-btn > .i { width: 24px; height: 24px; }
.fold-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 36px; height: 36px; }
.fold-grid i { width: 16px; height: 16px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; font-style: normal; font-size: 8px; font-weight: 800; color: #fff; background: color-mix(in srgb, var(--fc) 55%, #111); }
.fold-grid i img { width: 100%; height: 100%; object-fit: cover; }
.fold-list { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fold-list .rail-btn { width: 44px; height: 44px; }
.fold-list .rail-btn::before { left: -14px; }
#rail-list .rail-btn.dragging { opacity: .35; }
#rail-list .rd-into { box-shadow: 0 0 0 3px var(--accent), 0 0 18px rgba(var(--accent-rgb), .5) !important; transform: scale(1.06); }
#rail-list .rd-before { box-shadow: 0 -5px 0 -2px var(--accent) !important; }
#rail-list .rd-after { box-shadow: 0 5px 0 -2px var(--accent) !important; }
/* ---------- Ordner-Bild (Nitro Basic) + Ordner-Banner (Nitro) */
.folder-btn.has-icon { padding: 0; overflow: hidden; }
.folder-btn .fold-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.rail-folder.open > .folder-btn.has-icon { width: 40px; height: 40px; border-radius: 12px; }
.rail-folder.has-banner { background: linear-gradient(180deg, rgba(5, 6, 11, .25), rgba(5, 6, 11, .65)), var(--fb) center / cover no-repeat !important; border-color: color-mix(in srgb, var(--fc) 60%, transparent) !important; box-shadow: 0 0 18px color-mix(in srgb, var(--fc) 35%, transparent); }
.fo-prev { display: flex; gap: 28px; justify-content: center; align-items: flex-start; padding: 14px; margin-bottom: 14px; border-radius: 16px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.fp-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fp-col small { color: var(--text-3); font-size: .75em; }
.fp-col .rail-btn { cursor: default; }
.fp-col .rail-folder.open { width: 58px; }
.fo-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.fo-m .field-label { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fo-m small { display: block; margin-top: 6px; font-size: .78em; }
.fo-m .btn.disabled { opacity: .45; pointer-events: none; }
.fo-lock { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font-size: .75em; font-weight: 700; text-transform: none; letter-spacing: 0; color: #e9d5ff; background: linear-gradient(135deg, rgba(139, 92, 246, .35), rgba(236, 72, 153, .3)); }
.fo-lock .i { width: 12px; height: 12px; }
/* ---------- Gespeichert / Erinnerungen / Geplant / Verlauf (2026-11-08) */
.sched-btn { width: 36px; height: 36px; color: var(--text-3); }
.sched-btn:hover:not(:disabled) { color: var(--accent); }
button.edited { background: none; border: 0; padding: 0; cursor: pointer; color: var(--text-3); font-size: .72em; margin-left: 5px; text-decoration: underline dotted; }
button.edited:hover { color: var(--accent); }
.hist-list { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; }
.hist-v { padding: 10px 12px; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--line); }
.hist-v.cur { border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .06); }
.hist-v small { display: block; color: var(--text-3); font-size: .78em; margin-bottom: 4px; }
.saved-tabs { margin: 0 0 0 auto; }
.saved-tabs button em { font-style: normal; font-size: .8em; padding: 0 6px; border-radius: 99px; background: rgba(255, 255, 255, .15); }
.saved-page { flex: 1; overflow-y: auto; padding: 18px 22px 30px; display: flex; flex-direction: column; gap: 10px; }
.sv-card { padding: 12px 14px; border-radius: 16px; background: var(--bg-1); border: 1px solid var(--line); transition: border-color .15s; }
.sv-card:hover { border-color: rgba(var(--accent-rgb), .35); }
.sv-card.done, .sv-card.sent { opacity: .65; }
.sv-card.failed { border-color: rgba(255, 93, 108, .45); }
.sv-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; min-width: 0; }
.sv-top .i { width: 17px; height: 17px; color: var(--accent); }
.sv-card.failed .sv-top .i { color: var(--danger); }
.sv-top b { font-size: .95em; }
.sv-ch { font-size: .78em; color: var(--text-2); padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 280px; }
.sv-top small { margin-left: auto; color: var(--text-3); font-size: .78em; white-space: nowrap; }
.sv-att { display: flex; align-items: center; gap: 5px; margin-top: 4px; color: var(--text-3); font-size: .85em; }
.sv-att .i { width: 14px; height: 14px; }
.sv-act { display: flex; gap: 8px; margin-top: 10px; }
.sv-act .btn.small { height: 30px; padding: 0 10px; font-size: .82em; }
.sv-act .btn .i { width: 14px; height: 14px; }
.menu-item small { white-space: nowrap; }
/* ---------- Server-Hub: Mitspieler, Bestenliste, Clips, Wiki (2026-11-08) */
.srv-hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 2px 0 10px; }
.srv-hub button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px 6px; border-radius: 12px; font-size: .68em; font-weight: 700; color: var(--text-3); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: background .15s, color .15s, transform .15s var(--ease); }
.srv-hub button .i { width: 18px; height: 18px; }
.srv-hub button:hover { color: var(--text); background: rgba(var(--accent-rgb), .1); transform: translateY(-1px); }
.srv-hub button.active { color: var(--text); background: linear-gradient(180deg, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), .06)); border-color: rgba(var(--accent-rgb), .4); }
.srv-hub button.active .i { color: var(--accent); }
.srv-hub .pill-red { position: absolute; top: -5px; right: -3px; font-size: .9em; }
.sp-page { flex: 1; overflow-y: auto; padding: 18px 22px 30px; display: flex; flex-direction: column; gap: 12px; }
.sp-actions { margin-left: auto; }
.sp-actions .btn.small { height: 32px; padding: 0 12px; font-size: .85em; }
.sp-intro { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: .9em; }
.sp-intro .i { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
/* Mitspieler */
.lfg-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--bg-1); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.lfg-card:hover { border-color: rgba(var(--accent-rgb), .4); transform: translateY(-1px); }
.lfg-card.mine { border-color: rgba(var(--accent-rgb), .35); background: linear-gradient(120deg, rgba(var(--accent-rgb), .08), transparent), var(--bg-1); }
.lfg-card .grow { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lfg-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lfg-top b { font-size: 1.08em; }
.lfg-mode, .lfg-rank { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; font-size: .78em; font-weight: 700; background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.lfg-rank { background: rgba(103, 232, 249, .12); color: #67e8f9; }
.lfg-rank .i { width: 13px; height: 13px; }
.lfg-by { display: flex; align-items: center; gap: 7px; font-size: .88em; }
.lfg-by small { color: var(--text-3); }
.lfg-note { margin: 0; color: var(--text-2); font-size: .9em; }
.lfg-slots { display: flex; gap: 6px; align-items: center; }
.lfg-free { width: 28px; height: 28px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .2); }
.lfg-btns { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.lfg-btns .btn.small { height: 32px; padding: 0 12px; font-size: .84em; white-space: nowrap; }
/* Bestenliste */
.top-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.top-card { padding: 14px; border-radius: 18px; background: var(--bg-1); border: 1px solid var(--line); }
.top-card header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.top-card header .i { width: 18px; height: 18px; color: var(--accent); }
.top-card header small { margin-left: auto; color: var(--text-3); font-size: .78em; }
.top-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.top-list li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; }
.top-list li:hover { background: rgba(255, 255, 255, .04); }
.top-list li.me { background: rgba(var(--accent-rgb), .1); }
.top-list b { flex: 1; min-width: 0; font-weight: 650; cursor: pointer; }
.top-list em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; }
.top-list em small { color: var(--text-3); font-weight: 600; }
.top-n { width: 24px; text-align: center; font-weight: 800; color: var(--text-3); }
.top-n.m1 { color: #fbbf24; text-shadow: 0 0 10px rgba(251, 191, 36, .6); } .top-n.m2 { color: #cbd5e1; } .top-n.m3 { color: #d97706; }
/* Clips */
.clip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.clip-card { border-radius: 18px; overflow: hidden; background: var(--bg-1); border: 1px solid var(--line); transition: transform .2s var(--ease), border-color .2s; }
.clip-card:hover { transform: translateY(-2px); border-color: rgba(var(--accent-rgb), .4); }
.clip-card video { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block; }
.clip-meta { display: flex; align-items: center; gap: 9px; padding: 10px 12px; }
.clip-meta .grow { min-width: 0; display: flex; flex-direction: column; }
.clip-meta small { color: var(--text-3); font-size: .76em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Wiki */
.wiki-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.wiki-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; }
.wiki-nav button { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 10px; color: var(--text-2); text-align: left; font-weight: 600; }
.wiki-nav button:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.wiki-nav button.active { background: linear-gradient(90deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), .04)); color: var(--text); }
.wiki-nav .i { width: 16px; height: 16px; }
.wk-emo { width: 18px; text-align: center; }
.wiki-page { padding: 22px 26px; border-radius: 20px; background: var(--bg-1); border: 1px solid var(--line); min-height: 300px; display: flex; flex-direction: column; gap: 14px; }
.wiki-page header { display: flex; align-items: center; gap: 12px; }
.wiki-page h1 { margin: 0; flex: 1; font-size: 1.7em; letter-spacing: -.02em; }
.wiki-body { font-size: 1.02em; line-height: 1.65; }
.modal.wiki-modal { width: min(760px, 100%); }
.wk-row { display: flex; gap: 12px; }
.wk-emo-in { width: 90px; flex: none; }
#wk-content { font-family: inherit; min-height: 300px; }
@media (max-width: 800px) { .wiki-layout { grid-template-columns: 1fr; } .wiki-nav { position: static; flex-direction: row; flex-wrap: wrap; } }
/* Live-Meldungen */
.live-add { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.live-add label { margin: 0; }
.live-add .grow { min-width: 180px; }
.dev-ic.live-on { color: #ff5d6c; background: rgba(255, 93, 108, .14); }
/* ---------- Zusammen schauen (2026-11-08) */
.watch-slot { padding: 0 0 12px; }
.watch-box { border-radius: 18px; overflow: hidden; background: #000; border: 1px solid rgba(var(--accent-rgb), .35); box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(var(--accent-rgb), .12); }
.watch-player { position: relative; aspect-ratio: 16 / 9; max-height: 62vh; width: 100%; background: #000; }
.watch-player iframe, .watch-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.watch-consent, .watch-paused { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px; background: radial-gradient(circle at 50% 30%, rgba(var(--accent-rgb), .18), transparent 60%), #0a0d14; }
.watch-consent .i, .watch-paused .i { color: var(--accent); }
.watch-consent p { margin: 0; max-width: 460px; color: var(--text-2); font-size: .9em; }
.watch-paused small { color: var(--text-3); }
.watch-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 12px; background: rgba(14, 18, 27, .95); }
.wb-src { display: flex; align-items: center; gap: 7px; min-width: 0; }
.wb-src .i { width: 17px; height: 17px; color: var(--accent); }
.wb-src small { color: var(--text-3); font-size: .78em; }
.wb-time { font-variant-numeric: tabular-nums; color: var(--text-2); font-size: .86em; font-weight: 700; }
.watch-bar .btn.small { height: 30px; padding: 0 10px; font-size: .82em; }
.watch-bar .btn .i { width: 14px; height: 14px; }
/* ---------- Geheime Chats (E2E) */
.e2e-btn.on { color: #3ddc97 !important; background: rgba(61, 220, 151, .14) !important; }
.e2e-lock { display: inline-flex; vertical-align: -2px; margin-right: 5px; color: #3ddc97; }
.e2e-lock .i { width: 13px; height: 13px; stroke-width: 2.4; }
.e2e-pending, .e2e-fail { display: inline-flex; align-items: center; gap: 5px; color: var(--text-3); font-style: italic; font-size: .92em; }
.e2e-pending .i, .e2e-fail .i { width: 14px; height: 14px; }
.e2e-fail { color: #ffb547; }
/* ---------- Leistung sparen (2026-11-08) */
/* große weichgezeichnete Leuchteffekte nicht dauernd bewegen (zwingt die Grafikkarte zum Neuzeichnen) */
.home-glow, .auth-glow { animation: none !important; }
.auth-logo { animation: none !important; }
.sm-strip i { animation: none !important; }
/* RSGC im Hintergrund (anderes Fenster/Spiel im Vordergrund): alle Animationen anhalten */
body.bg-idle *, body.bg-idle *::before, body.bg-idle *::after { animation-play-state: paused !important; }
/* Weichzeichner nur bei kurz offenen Fenstern; der große Hintergrund hinter Dialogen ohne Blur (teuer bei großen Flächen) */
.modal-back { backdrop-filter: none !important; background: rgba(3, 5, 10, .72) !important; }
/* =====================================================================
   Server-Werkzeuge (2026-11-08): Raid-Schutz, Probezeit, Verwarnungen, Rückgängig, Rechte-Prüfer, Level,
   Willkommens-Ablauf, Mod-Akte, Umfragen, Gewinnspiele, Bühne
   ===================================================================== */
.tool-desc { line-height: 1.55; margin: -4px 0 12px; max-width: 760px; }
.tool-desc b { color: var(--text); }
.tool-help { display: block; margin-top: 4px; line-height: 1.45; }
.tool-switch { border-bottom: 0; padding: 4px 0; }
.tool-switch span { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.tool-switch small { color: var(--text-3); font-weight: 400; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tool-note { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(var(--accent-rgb), .08); border: 1px solid rgba(var(--accent-rgb), .22); color: var(--text-2); font-size: .9em; line-height: 1.45; margin-top: 10px; }
.tool-note svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
.file-btn { cursor: pointer; }
.chk { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .92em; }
.chk input { width: 16px; height: 16px; accent-color: var(--accent); }
.chip.warn { background: rgba(250, 166, 26, .16); color: #fbbf24; }

.ws-list { display: flex; flex-direction: column; gap: 8px; }
.ws-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.ws-row input { width: 70px; }
.ws-row select { width: auto; }

.undo-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.undo-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px; }
.undo-row .grow { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.undo-row small { color: var(--text-3); }
.undo-row.done { opacity: .55; }
.undo-row.note b { font-weight: 500; white-space: pre-wrap; word-break: break-word; }
.undo-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-3); color: var(--accent); flex: none; }
.undo-ic svg { width: 18px; height: 18px; }

.pc-roles { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.pc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 6px; }
.pc-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: var(--bg-1); border: 1px solid var(--line); }
.pc-row .grow { display: flex; flex-direction: column; min-width: 0; }
.pc-row small { color: var(--text-3); font-size: .8em; line-height: 1.35; }
.pc-st { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.pc-st svg { width: 13px; height: 13px; }
.pc-row.ok .pc-st { background: rgba(35, 165, 90, .2); color: #3ddc84; }
.pc-row.no .pc-st { background: rgba(242, 63, 67, .16); color: #f87171; }
.pc-row.no b { color: var(--text-2); }

.lvl-card { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .16), rgba(124, 92, 255, .1)); border: 1px solid rgba(var(--accent-rgb), .3); }
.lvl-card .grow { display: flex; flex-direction: column; gap: 6px; }
.lvl-card small { color: var(--text-2); }
.lvl-card .meter { margin: 4px 0 0; height: 8px; }
.lvl-card .meter i { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.lvl-big { width: 86px; height: 86px; border-radius: 22px; background: var(--grad); box-shadow: var(--glow); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; flex: none; }
.lvl-big svg { width: 18px; height: 18px; }
.lvl-big b { font-size: 2em; line-height: 1; }
.lvl-big small { color: rgba(255, 255, 255, .85) !important; font-size: .72em; }
.lvl-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.lvl-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--line); opacity: .7; }
.lvl-row.on { opacity: 1; border-color: rgba(var(--accent-rgb), .35); }
.lvl-row .grow { display: flex; flex-direction: column; }
.lvl-row small { color: var(--text-3); }
.lvl-n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; background: var(--bg-3); }
.lvl-row.on .lvl-n { background: var(--grad); color: #fff; }

.ins-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.ins-row { display: grid; grid-template-columns: minmax(0, 1.3fr) 1fr auto auto; gap: 10px; align-items: center; font-size: .9em; }
.ins-row .meter { margin: 0; height: 8px; }
.ins-row .meter i { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.ins-row .meter.bad i { background: linear-gradient(90deg, #f87171, #fb923c); }
.ins-row small { color: var(--text-3); white-space: nowrap; }

.ob-q { padding: 12px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.ob-q-head { display: flex; align-items: center; }
.ob-opts { display: flex; flex-direction: column; gap: 6px; }
.ob-opt { display: grid; grid-template-columns: 58px minmax(120px, 1fr) minmax(120px, .9fr) minmax(110px, .8fr) auto; gap: 6px; align-items: center; }
.ob-opt .ob-emoji { text-align: center; }
@media (max-width: 760px) { .ob-opt { grid-template-columns: 50px 1fr auto; } .ob-opt select { grid-column: 1 / -1; } }

.onboarding-modal { width: min(620px, 96vw); }
.obm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.obm-head > :first-child { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: var(--bg-3); flex: none; }
.obm-head > :first-child img { width: 100%; height: 100%; object-fit: cover; }
.obm-head div { display: flex; flex-direction: column; }
.obm-head small { color: var(--text-3); }
.obm-intro { margin-bottom: 10px; }
.obm-rules { max-height: 240px; overflow: auto; padding: 12px 14px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; line-height: 1.5; }
.obm-accept { margin: 10px 0 4px; }
.obm-q { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.obm-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.obm-opt { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; font: inherit; transition: border-color .15s, background .15s; }
.obm-opt:hover { border-color: rgba(var(--accent-rgb), .5); }
.obm-opt.on { background: rgba(var(--accent-rgb), .16); border-color: var(--accent); }
.obm-emo { font-size: 1.15em; }

.modfile-modal { width: min(720px, 96vw); }
.mf-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.mf-head div { display: flex; flex-direction: column; }
.mf-head small { color: var(--text-3); }
.mf-imgs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.mf-imgs img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.mf-hist { display: flex; flex-direction: column; gap: 4px; max-height: 200px; overflow: auto; font-size: .88em; }
.mf-hist div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: 8px; background: var(--bg-1); }
.mf-hist small { color: var(--text-3); text-align: right; }
.warn-box { display: flex; gap: 14px; align-items: flex-start; }
.warn-box > svg { color: #fbbf24; flex: none; }
.warn-box p { margin: 6px 0; white-space: pre-wrap; }

.day-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.day-chips .chip { cursor: pointer; padding: 6px 12px; font-size: .85em; border: 1px solid var(--line-2); }
.day-chips .chip.on { background: rgba(var(--accent-rgb), .2); border-color: var(--accent); }
.vc-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.vc-links .chip { cursor: pointer; }

/* Umfrage + Gewinnspiel im Chat */
.tx-msg { padding-top: 6px; padding-bottom: 6px; }
.tx-card { max-width: 560px; margin-left: 56px; padding: 14px 16px; border-radius: 16px; background: var(--bg-1); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.tx-card.giveaway { background: linear-gradient(160deg, rgba(var(--accent-rgb), .14), var(--bg-1) 60%); border-color: rgba(var(--accent-rgb), .35); }
.tx-card.won { box-shadow: 0 0 0 2px #fbbf24 inset; }
.tx-head { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: .82em; }
.tx-head svg { width: 16px; height: 16px; color: var(--accent); }
.tx-title { font-size: 1.08em; font-weight: 700; }
.tx-desc { color: var(--text-2); font-size: .92em; }
.poll-opts { display: flex; flex-direction: column; gap: 6px; }
.poll-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--line); color: var(--text); font: inherit; text-align: left; cursor: pointer; overflow: hidden; }
.poll-opt > i { position: absolute; inset: 0 auto 0 0; background: rgba(var(--accent-rgb), .18); transition: width .4s var(--ease); }
.poll-opt > span { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.poll-opt .po-n { color: var(--text-2); font-size: .85em; white-space: nowrap; }
.poll-opt.on { border-color: var(--accent); }
.poll-opt.on > i { background: rgba(var(--accent-rgb), .3); }
.poll-opt.win { border-color: #3ddc84; }
.poll-opt svg { width: 14px; height: 14px; }
.poll-opt:disabled { cursor: default; }
.tx-meta { color: var(--text-3); font-size: .8em; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gw-stats { display: flex; flex-wrap: wrap; gap: 14px; color: var(--text-2); font-size: .88em; }
.gw-win { padding: 10px 12px; border-radius: 10px; background: rgba(251, 191, 36, .12); color: #fde68a; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gw-win svg { width: 16px; height: 16px; }
.gw-list { display: flex; flex-direction: column; gap: 6px; max-height: 60vh; overflow: auto; }
.gw-u { display: flex; align-items: center; gap: 8px; }
@media (max-width: 700px) { .tx-card { margin-left: 0; } }

/* Bühne: Zuhörer */
#stage-aud-wrap { padding: 0 16px 10px; }
.stage-aud { border-radius: 16px; background: var(--bg-1); border: 1px solid var(--line); padding: 10px 12px; }
.aud-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.aud-head svg { width: 16px; height: 16px; }
.aud-hands { color: #fbbf24; font-weight: 700; }
.aud-list { display: flex; flex-wrap: wrap; gap: 6px; max-height: 170px; overflow: auto; }
.aud-u { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; border-radius: 99px; background: var(--bg-3); max-width: 220px; cursor: pointer; font-size: .88em; }
.aud-u.hand { background: rgba(251, 191, 36, .16); box-shadow: 0 0 0 1px rgba(251, 191, 36, .5) inset; }
.aud-u .icon-btn { width: 24px; height: 24px; }
.aud-hand { font-style: normal; }
.aud-more { color: var(--text-3); font-size: .85em; padding: 6px; }
/* RSGC-Admin: Server löschen */
.adm-bulk { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 10px; border-radius: 14px; background: var(--bg-1); border: 1px solid var(--line); }
.adm-bulk.on { border-color: rgba(242, 63, 67, .45); background: rgba(242, 63, 67, .06); }
.adm-cb { width: 17px; height: 17px; accent-color: #f23f43; margin-right: 8px; flex: none; cursor: pointer; }
.ad-list { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow: auto; margin-bottom: 6px; }
.ad-srv { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; background: var(--bg-1); }
.ad-srv .grow { display: flex; flex-direction: column; min-width: 0; }
.ad-srv small { color: var(--text-3); }
.ad-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.ad-chips .chip { cursor: pointer; border: 1px solid var(--line-2); }
.ad-chips .chip:hover { border-color: var(--accent); }
.adm-del-modal textarea { width: 100%; }
.adm-act { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }

/* Zahlungen – Erweiterungen (2026-11-08) */
.yp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.yp-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); }
.yp-card small { color: var(--text-3); font-weight: 600; }
.yp-card b { font-size: 1.4em; }
.yp-card span { color: #3ddc84; font-size: .82em; margin-bottom: 6px; }
.yp-card .pill-btn { margin-top: auto; }
.gift-modal .gift-hero { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .2), rgba(236, 72, 153, .16)); margin-bottom: 10px; }
.gift-hero svg { color: #f472b6; }
.gift-hero div { display: flex; flex-direction: column; }
.gift-hero b { font-size: 1.15em; }
.gift-hero small { color: var(--text-2); }
.gift-note { font-style: italic; color: var(--text-2); padding: 0 4px; }
.gift-card { background: linear-gradient(160deg, rgba(236, 72, 153, .16), var(--bg-1) 65%) !important; border-color: rgba(236, 72, 153, .4) !important; }
.gift-card .tx-head svg { color: #f472b6; }
.bill-bar { border-color: rgba(242, 63, 67, .5) !important; }
.bill-bar > svg { color: #f87171; }
.adm-codes-modal { width: min(820px, 96vw); }
.bad { color: #f87171; }
/* Erklärtexte immer als normaler Fließtext (nicht als Flex-Zeile) */
.tool-desc, .acc-box p.tool-desc, .sec-card p.tool-desc { display: block !important; }
.tool-desc b, .tool-desc em { display: inline !important; }

/* 20 Server-Funktionen + Profil (2026-11-08) */
.chk-list { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ar-row { display: grid; grid-template-columns: minmax(110px, .8fr) auto minmax(160px, 1.6fr) auto; gap: 8px; align-items: start; padding: 8px 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.ar-row textarea { min-height: 38px; resize: vertical; }
@media (max-width: 700px) { .ar-row { grid-template-columns: 1fr auto; } .ar-row textarea, .ar-row select { grid-column: 1 / -1; } }
.pnl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pnl-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border-radius: 16px; background: var(--bg-1); border: 1px solid var(--line-2); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; }
.pnl-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.pnl-card svg { color: var(--accent); }
.pnl-card small { color: var(--text-2); line-height: 1.45; }
.pnl-modal { width: min(680px, 96vw); }
.fx-card { background: var(--bg-1); }
.rp-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--rc) 55%, transparent); background: color-mix(in srgb, var(--rc) 10%, var(--bg-2)); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.rp-btn:hover { background: color-mix(in srgb, var(--rc) 22%, var(--bg-2)); }
.rp-btn.on { background: color-mix(in srgb, var(--rc) 35%, var(--bg-2)); border-color: var(--rc); }
.rp-btn svg { width: 14px; height: 14px; }
.ev-card { border-left: 4px solid var(--accent); }
.ev-when { display: flex; flex-direction: column; color: var(--accent); }
.ev-when span { color: var(--text-2); font-size: .88em; }
.sg-card.st-accepted, .sg-card.st-done { border-left: 4px solid #3ddc84; }
.sg-card.st-declined { border-left: 4px solid #f87171; opacity: .85; }
.sg-card.st-planned { border-left: 4px solid #fbbf24; }
.sg-text { color: var(--text) !important; font-size: 1em !important; }
.chip.ok { background: rgba(61, 220, 132, .16); color: #3ddc84; }
.chip.bad { background: rgba(248, 113, 113, .16); color: #f87171; }
.live { color: #f87171; }
.pin-mark { margin-left: 6px; font-size: .8em; }
.pins-modal { width: min(640px, 96vw); }
.pins-list { display: flex; flex-direction: column; gap: 8px; max-height: 65vh; overflow: auto; }
.pin-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--line); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.pin-row:hover { border-color: var(--accent); }
.pin-row .grow { min-width: 0; display: flex; flex-direction: column; }
.pin-row small { color: var(--text-3); }
.pin-text { color: var(--text-2); margin-top: 4px; overflow-wrap: anywhere; }
.pin-btn { font-size: 15px; }
.fp-pron { color: var(--text-2); font-size: .88em; margin-top: 2px; }
/* Benachrichtigungen & Töne (2026-11-09) */
.snd-season { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 12px; border-radius: 16px; font-size: 1.6em; background: linear-gradient(135deg, rgba(220, 38, 38, .18), rgba(22, 163, 74, .16)); border: 1px solid rgba(255, 255, 255, .12); }
.snd-season .grow { display: flex; flex-direction: column; font-size: .6em; }
.snd-season small { color: var(--text-2); }
.snd-vol { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(120px, 1.4fr) 52px auto; gap: 12px; align-items: center; padding: 6px 0; }
.snd-vol .grow { display: flex; flex-direction: column; }
.snd-vol small { color: var(--text-3); }
.snd-vol input[type=range] { width: 100%; accent-color: var(--accent); }
.snd-vol-v { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .snd-vol { grid-template-columns: 1fr 52px auto; } .snd-vol input[type=range] { grid-column: 1 / -1; grid-row: 2; } }
.snd-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.snd-cats .chip { cursor: pointer; padding: 6px 12px; font-size: .85em; border: 1px solid var(--line-2); }
.snd-cats .chip.on { background: rgba(var(--accent-rgb), .2); border-color: var(--accent); }
.snd-cats .chip em { font-style: normal; color: var(--text-3); margin-left: 2px; }
.snd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.snd-card { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); cursor: pointer; transition: border-color .15s, background .15s, transform .12s; }
.snd-card:hover { border-color: rgba(var(--accent-rgb), .5); transform: translateY(-1px); }
.snd-card.on { border-color: var(--accent); background: linear-gradient(135deg, rgba(var(--accent-rgb), .16), var(--bg-2) 70%); }
.snd-card .grow { display: flex; flex-direction: column; min-width: 0; }
.snd-card small { color: var(--text-3); font-size: .78em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snd-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; background: var(--bg-3); flex: none; }
.snd-play { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-4); color: var(--text); cursor: pointer; display: grid; place-items: center; flex: none; }
.snd-play:hover { background: var(--accent); color: #fff; }
.snd-play svg { width: 16px; height: 16px; }
.snd-play i { display: none; }
.snd-play.playing { background: var(--accent); }
.snd-play.playing svg { display: none; }
.snd-play.playing { display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: 11px; }
.snd-play.playing i { display: block; width: 3px; border-radius: 2px; background: #fff; animation: snd-eq .7s ease-in-out infinite; }
.snd-play.playing i:nth-child(2) { animation-delay: .15s; }
.snd-play.playing i:nth-child(3) { animation-delay: .3s; }
@keyframes snd-eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.snd-check { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.snd-check svg { width: 12px; height: 12px; }
.snd-msg { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(160px, 1.2fr) auto; gap: 10px; align-items: center; }
.snd-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.snd-pack { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font: inherit; cursor: pointer; }
.snd-pack span { font-size: 22px; }
.snd-pack.on { border-color: var(--accent); background: rgba(var(--accent-rgb), .14); }
.snd-now { border-color: rgba(61, 220, 132, .5) !important; }
/* ===================== 2.0.6: RSGC-Admin „Alle Server“, Papierkorb, Verwaltung, Konto löschen, Update-Modus ===================== */
.adm-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-radius: 20px; margin-bottom: 4px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .03) 60%), var(--bg-1); border: 1px solid var(--line-2); }
.adm-hero h1 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 26px; }
.adm-hero h1 .i { color: var(--accent); }
.adm-hero p { margin: 0; font-size: .85em; }
.adm-hero-a { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-kpis { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.adm-kpis .kpi b { font-size: 1.6em; }
.kpi.clickable { cursor: pointer; transition: border-color .12s, transform .12s; }
.kpi.clickable:hover { border-color: rgba(var(--accent-rgb), .5); transform: translateY(-1px); }
.adm-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.adm-searchbox { flex: 1 1 320px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--line-2); }
.adm-searchbox:focus-within { border-color: rgba(var(--accent-rgb), .6); }
.adm-searchbox input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: 11px 0 !important; margin: 0 !important; box-shadow: none !important; color: var(--text); font: inherit; outline: none; }
.adm-sort { display: flex; align-items: center; gap: 6px; padding: 0 4px 0 12px; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--line-2); color: var(--text-2); }
.adm-sort select { border: 0; background: transparent; color: var(--text); font: inherit; padding: 10px 6px; outline: none; cursor: pointer; }
.adm-sort select option { background: var(--bg-2); }
.adm-seg { margin: 0; }
.adm-id { font-style: normal; font-weight: 500; font-size: .72em; color: var(--text-3); margin-left: 6px; }
.adm-name small .crown { display: inline-flex; vertical-align: -2px; margin-right: 3px; color: #f5c84c; }
.adm-name small .crown svg { width: 12px; height: 12px; }
.adm-row { background: var(--bg-1); }
.adm-row.is-official { box-shadow: inset 3px 0 0 #4ea8ff; }
.adm-row.sel { border-color: rgba(242, 63, 67, .55); background: rgba(242, 63, 67, .06); }
.adm-act .btn.small { white-space: nowrap; }
.icon-btn.ok { color: var(--accent); }
.set-nav button.danger { color: var(--danger); }
.chip.ok-chip { background: rgba(46, 230, 168, .16); color: var(--ok); }
.chip.warn-chip { background: rgba(255, 181, 71, .16); color: var(--warn); }
.chip.bad-chip { background: rgba(255, 93, 108, .16); color: var(--danger); }
.adm-trash-btn .count.pill-red { background: var(--danger); color: #fff; padding: 0 7px; border-radius: 99px; }
/* Papierkorb */
.adm-trow { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--bg-1); border: 1px solid var(--line); margin-bottom: 8px; }
.adm-trow.is-restored { opacity: .75; border-color: rgba(46, 230, 168, .35); }
.adm-trow.is-expired { opacity: .55; }
.adm-tmain { display: flex; align-items: center; gap: 12px; min-width: 0; }
.adm-tmain .grow { display: flex; flex-direction: column; min-width: 0; }
.adm-tmain .grow > b { font-size: 1.05em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-tmain small { color: var(--text-3); font-size: .82em; }
.adm-tmain small b { color: var(--text-2); }
.adm-tchips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.adm-tinfo { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.adm-tinfo > div { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 12px; background: var(--bg-2); min-width: 150px; }
.adm-tinfo > div.grow2 { flex: 1 1 220px; }
.adm-tinfo small { color: var(--text-3); font-size: .72em; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.adm-tinfo b { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.adm-tinfo b i { font-style: normal; font-weight: 500; color: var(--text-3); font-size: .85em; }
.adm-tinfo b.by-staff { color: #ffb547; }
.adm-tinfo > .adm-tact { background: transparent; padding: 0; min-width: 0; justify-content: center; margin-left: auto; }
/* Verwaltung eines Servers */
.adm-mgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 12px 0 18px; }
.adm-mgrid .sec-card { margin: 0; }
.adm-person { display: flex; align-items: center; gap: 10px; padding: 6px 0; min-width: 0; }
.adm-person .grow { display: flex; flex-direction: column; min-width: 0; }
.adm-person .grow b { display: flex; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-person .grow small { color: var(--text-3); font-size: .8em; }
.adm-person .crown { display: inline-flex; color: #f5c84c; } .adm-person .crown.co { color: #ff4d5e; }
.adm-person .crown svg { width: 14px; height: 14px; }
.adm-person.big { padding: 4px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.adm-inline { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.adm-inline input:not([type=checkbox]) { margin: 0; }
.adm-colist { display: flex; flex-direction: column; }
.adm-mlist { display: flex; flex-direction: column; gap: 2px; max-height: 420px; overflow: auto; padding-right: 4px; }
.adm-mlist .adm-person { padding: 6px 8px; border-radius: 10px; }
.adm-mlist .adm-person:hover { background: var(--bg-2); }
.adm-msearch { max-width: 260px; margin: 0 !important; }
/* Konten */
.aa-del { color: var(--danger) !important; display: flex; align-items: center; gap: 4px; }
.aa-reason { color: var(--text-2) !important; }
.aue-del { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 93, 108, .1); border: 1px solid rgba(255, 93, 108, .3); margin-bottom: 12px; }
.aue-del .grow { display: flex; flex-direction: column; } .aue-del small { color: var(--text-2); }
.aue-modal .field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.aue-modal .field > span { font-size: .78em; font-weight: 700; color: var(--text-2); }
.del-stats { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); margin-bottom: 12px; }
.del-stat { display: grid; grid-template-columns: minmax(0, 1fr) 160px 36px; align-items: center; gap: 10px; font-size: .9em; }
.del-stat b { text-align: right; }
/* Konto löschen (Nutzer) */
.del-pending { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 181, 71, .1); border: 1px solid rgba(255, 181, 71, .35); margin-bottom: 12px; }
.del-pending .i { color: var(--warn); }
.del-pending .grow { display: flex; flex-direction: column; gap: 4px; } .del-pending small { color: var(--text-2); }
.del-modal .modal { max-width: 640px; }
.del-step { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.del-step:last-of-type { border-bottom: 0; }
.del-step > .grow { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.del-step > .grow > small { color: var(--text-2); }
.del-num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--bg-4); color: var(--text); }
.del-step.ok .del-num { background: rgba(46, 230, 168, .2); color: var(--ok); }
.del-step.todo .del-num { background: rgba(255, 93, 108, .2); color: var(--danger); }
.del-owned { display: flex; flex-direction: column; gap: 6px; }
.del-owned .ad-srv { padding: 8px 10px; border-radius: 12px; background: var(--bg-2); }
.del-reasons, .del-when { display: flex; flex-wrap: wrap; gap: 6px; }
.del-r, .del-w { position: relative; cursor: pointer; }
.del-r input, .del-w input, .upm input { position: absolute; opacity: 0; pointer-events: none; }
.del-r span, .del-w span { display: inline-flex; padding: 7px 12px; border-radius: 99px; background: var(--bg-3); border: 1px solid var(--line-2); font-size: .88em; transition: background .12s, border-color .12s; }
.del-r input:checked + span, .del-w input:checked + span { background: rgba(var(--accent-rgb), .16); border-color: var(--accent); color: var(--text); font-weight: 650; }
.del-w.now input:checked + span { background: rgba(255, 93, 108, .16); border-color: var(--danger); }
.del-r input:focus-visible + span, .del-w input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.del-custom { display: flex; align-items: center; gap: 8px; } .del-custom[hidden] { display: none; }
.del-custom input { width: 100px; margin: 0; }
#del-when-info { display: flex; gap: 6px; align-items: flex-start; }
.del-bar { border-color: rgba(255, 93, 108, .45) !important; }
.del-bar > .i { color: var(--danger); }
/* Update-Modus */
.upm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 8px; }
.upm { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); cursor: pointer; transition: border-color .12s, background .12s; }
.upm .i { color: var(--text-2); }
.upm small { color: var(--text-3); font-size: .8em; line-height: 1.35; }
.upm.on { border-color: var(--accent); background: rgba(var(--accent-rgb), .12); }
.upm.on .i { color: var(--accent); }
.upm:focus-within { outline: 2px solid rgba(var(--accent-rgb), .5); outline-offset: 2px; }
/* Was ist neu */
.wn-modal .modal { max-width: 620px; }
.wn-hero { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 18px; margin-bottom: 14px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), .04)); }
.wn-hero img { width: 64px; height: 64px; border-radius: 16px; }
.wn-hero h2 { margin: 0 0 4px; font-size: 1.35em; }
.wn-hero p { margin: 0; }
.wn-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wn-list li { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); }
.wn-list li .i { color: var(--accent); flex: none; margin-top: 2px; }
.wn-list li span { display: flex; flex-direction: column; gap: 2px; color: var(--text-2); font-size: .9em; }
.wn-list li b { color: var(--text); font-size: 1.05em; }
@media (max-width: 760px) {
  .adm-tinfo > div { min-width: 0; flex: 1 1 100%; }
  .adm-tmain { flex-wrap: wrap; }
  .del-stat { grid-template-columns: minmax(0, 1fr) 80px 30px; }
}

/* ================================================================ 2.0.7 – Geräte-Fenster mit Emoji-Knöpfen + Energiesparen */
html.rd-sleep *:not(.ring), html.rd-sleep *::before, html.rd-sleep *::after { animation-play-state: paused !important; }
.home-glow, .auth-glow { animation: none !important; }
.dev-pop.dp2 { width: 372px; max-width: calc(100vw - 16px); padding: 14px; gap: 12px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border-radius: 20px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .10), rgba(var(--accent-rgb), 0) 120px), rgba(13, 17, 26, .97); border: 1px solid rgba(var(--accent-rgb), .22); backdrop-filter: none; }
body.theme-light .dev-pop.dp2 { background: linear-gradient(180deg, rgba(var(--accent-rgb), .12), rgba(var(--accent-rgb), 0) 120px), #fff; }
.dp2 .dp-head { gap: 8px; }
.dp2 .dp-head b { font-size: 1.05em; }
.dp-emo { font-size: 1.15em; line-height: 1; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.dp-live { font-size: .74em; padding: 3px 8px; border-radius: 99px; background: rgba(35, 165, 90, .16); color: #4ade80; font-weight: 600; }
.dp-loading { padding: 18px 4px; text-align: center; color: var(--text-3); }
.dp-togs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.dpt { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 7px; border-radius: 14px; cursor: pointer; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .04); color: var(--text-2); transition: transform .12s var(--ease), background .15s, border-color .15s; }
.dpt:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .08); }
.dpt:active { transform: scale(.96); }
.dpt .dpt-e { font-size: 1.45em; line-height: 1.1; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.dpt small { font-size: .7em; font-weight: 600; white-space: nowrap; }
.dpt.on { border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .14); color: var(--text); }
.dpt.off { border-color: rgba(237, 66, 69, .4); background: rgba(237, 66, 69, .12); color: #f87171; }
body.theme-light .dpt { border-color: rgba(0, 0, 0, .08); background: rgba(0, 0, 0, .03); }
.dp-sec { display: flex; flex-direction: column; gap: 7px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
body.theme-light .dp-sec { background: rgba(0, 0, 0, .025); border-color: rgba(0, 0, 0, .06); }
.dp-sh { display: flex; align-items: center; gap: 7px; font-size: .92em; }
.dp-mini { height: 26px; padding: 0 10px; border-radius: 99px; font-size: .78em; font-weight: 600; cursor: pointer; border: 1px solid rgba(var(--accent-rgb), .35); background: rgba(var(--accent-rgb), .12); color: var(--text); }
.dp-mini:hover { background: rgba(var(--accent-rgb), .24); }
.dp-list { display: flex; flex-direction: column; gap: 4px; max-height: 158px; overflow-y: auto; scrollbar-width: thin; padding-right: 2px; }
.dpc { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; padding: 5px 9px; border-radius: 11px; cursor: pointer; border: 1px solid transparent; background: rgba(255, 255, 255, .035); color: var(--text-2); transition: background .14s, border-color .14s, transform .12s var(--ease); }
.dpc:hover { background: rgba(255, 255, 255, .08); transform: translateX(2px); }
.dpc .dpc-e { width: 27px; height: 27px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 1.15em; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.dpc .dpc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dpc .dpc-t b { font-size: .88em; font-weight: 600; color: var(--text); }
.dpc .dpc-t small { font-size: .74em; color: var(--text-3); }
.dpc .dpc-ok { opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s var(--ease); font-size: .9em; }
.dpc.on { border-color: rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .14); }
.dpc.on .dpc-e { background: rgba(var(--accent-rgb), .25); }
.dpc.on .dpc-ok { opacity: 1; transform: none; }
.dpc.busy { opacity: .6; pointer-events: none; }
body.theme-light .dpc { background: rgba(0, 0, 0, .03); }

.dp-meter2 { position: relative; height: 10px; border-radius: 99px; background: rgba(0, 0, 0, .35); overflow: hidden; }
.dp-meter2 i { display: block; height: 100%; width: 0; border-radius: 99px; background: #64748b; transition: width .08s linear; }
.dp-meter2 i.ok { background: linear-gradient(90deg, #22c55e, #4ade80); }
.dp-meter2 i.hot { background: linear-gradient(90deg, #22c55e, #facc15 70%, #f97316); }
.dp-meter2 span { position: absolute; inset: 0; display: grid; place-items: center; font-size: .62em; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.dp2 .dp-cam { border-radius: 12px; margin-top: 2px; }
.dp2 .dp-cam[hidden] { display: none; }
.dp-empty { margin: 0; font-size: .82em; color: var(--text-3); }
.dp-more { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 14px; cursor: pointer; border: 1px dashed rgba(255, 255, 255, .14); background: transparent; color: var(--text-2); font-size: .86em; }
.dp-more span { flex: 1; text-align: left; }
.dp-more:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
@media (max-width: 520px) { .dev-pop.dp2 { left: 8px !important; right: 8px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .dpt, .dpc { transition: none; } }
/* ---------------------------------------------------------------- 2.0.7 – LIVE gut sichtbar (vorher rote Schrift auf rotem Grund) */
b.live, span.live { color: #fff !important; background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 2px 8px rgba(239, 68, 68, .45); }
.live.live2 { font-size: 9.5px; padding: 2px 6px; border-radius: 6px; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.tile-live { position: absolute; left: 10px; top: 10px; z-index: 3; display: flex; align-items: center; gap: 6px; pointer-events: none; }
.tile-live b { padding: 4px 10px; border-radius: 8px; font-size: .78em; font-weight: 800; letter-spacing: .06em; color: #fff; background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 4px 14px rgba(239, 68, 68, .5); animation: liveGlow 2.2s ease-in-out infinite; }
.tile-live small { padding: 3px 8px; border-radius: 8px; font-size: .72em; font-weight: 700; color: #fff; background: rgba(7, 9, 13, .72); }
@keyframes liveGlow { 50% { box-shadow: 0 4px 22px rgba(239, 68, 68, .85); } }
.tile.screen { border-color: rgba(239, 68, 68, .45); }
.round.live-on { position: relative; background: linear-gradient(135deg, #ef4444, #dc2626) !important; color: #fff !important; }
.round .round-live { position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 8.5px; font-weight: 800; letter-spacing: .05em; padding: 1px 5px; border-radius: 5px; background: #fff; color: #dc2626; }
.vp-status.is-live { color: #fca5a5; }
.vp-live { white-space: nowrap; flex: none; padding: 1px 6px; border-radius: 6px; font-size: .82em; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ef4444, #dc2626); margin-right: 2px; }
/* Sprach-Leiste mit Emoji-Knöpfen */
.vp-actions button.vp-emo-btn { height: 36px; border-radius: 11px; gap: 5px; border: 1px solid transparent; transition: transform .12s var(--ease), background .15s; }
.vp-actions button.vp-emo-btn:hover { transform: translateY(-1px); }
.vp-emo-btn .vp-e { font-style: normal; font-size: 1.2em; line-height: 1; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.vp-actions button.vp-emo-btn.on { border-color: rgba(var(--accent-rgb), .4); }
.vp-actions button.vp-emo-btn.live { background: rgba(239, 68, 68, .18); color: #fca5a5; border-color: rgba(239, 68, 68, .45); }
/* Einstellungen → Sprache & Video */
.vs-h { display: flex; align-items: center; gap: 8px; }
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.vs-card .dp-list { max-height: 210px; }
.vs-meter { height: 12px; margin-bottom: 4px; }
.vs-togs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vs-togs.one { grid-template-columns: 1fr; }
.vs-tog { display: flex; align-items: center; gap: 11px; margin: 0; padding: 11px 12px; border-radius: 14px; cursor: pointer; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); transition: border-color .15s, background .15s; }
.vs-tog:hover { background: rgba(255, 255, 255, .06); }
.vs-tog:has(input:checked) { border-color: rgba(var(--accent-rgb), .4); background: rgba(var(--accent-rgb), .09); }
.vs-tog-e { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, .06); font-size: 1.3em; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.vs-tog-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vs-tog-t b { font-size: .92em; color: var(--text); }
.vs-tog-t small { font-size: .78em; color: var(--text-3); line-height: 1.35; }
.vs-key { margin: 10px 0 4px; }
.vs-sel select { width: 100%; margin: 0 !important; }
.vs-prev { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; margin-top: 4px; }
.vs-prev video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.vs-prev-off { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-3); font-size: .85em; background: var(--bg-1); }
.vs-prev.on .vs-prev-off { display: none; }
body.theme-light .vs-tog { background: rgba(0, 0, 0, .025); border-color: rgba(0, 0, 0, .07); }
.wn-list li .wn-e { font-style: normal; font-size: 1.4em; line-height: 1.1; flex: none; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
@media (max-width: 720px) { .vs-grid, .vs-togs { grid-template-columns: 1fr; } }/* 2.0.7 – Ping der anderen */
.vc-ping { font-style: normal; font-size: 9.5px; font-weight: 700; padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, .07); white-space: nowrap; }
.vc-ping.good { color: #4ade80; } .vc-ping.mid { color: #facc15; } .vc-ping.bad { color: #f87171; background: rgba(248, 113, 113, .14); }
.tile-label .vc-ping { font-size: .85em; }
/* ================================================================ 2.0.7 – Emoji-Symbole in der ganzen App */
rd-i, rd-e { font-style: normal; }
.i.ie { display: inline-grid; place-items: center; container-type: size; overflow: visible; vertical-align: middle; }
.i.ie > rd-e { font-size: 92cqh; line-height: 1; font-weight: 400; font-style: normal; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; transform: translateY(2%); }
.emo { font-style: normal; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; margin-right: 1px; }
html.emoji-icons .icon-btn .i.ie, html.emoji-icons .round .i.ie { filter: saturate(1.05); }
html.emoji-icons .icon-btn.bad .i.ie, html.emoji-icons .round.off .i.ie { filter: none; }
.ics-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.ics { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; border-radius: 14px; cursor: pointer; text-align: left; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); color: var(--text-2); }
.ics:hover { background: rgba(255, 255, 255, .07); }
.ics.on { border-color: rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .12); }
.ics b { color: var(--text); }
.ics small { font-size: .78em; color: var(--text-3); }
.ics-demo { font-size: 1.25em; letter-spacing: 2px; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; display: flex; gap: 6px; }
.ics-demo .i { width: 20px; height: 20px; }
/* Sprach-Leiste: nichts mehr abgeschnitten (Emoji oben, Text darunter) */
.vp-info { min-width: 0; flex: 1; }
.vp-status { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.vp-actions.three { gap: 6px; }
.vp-actions button.vp-emo-btn { flex-direction: column; height: 48px; gap: 3px; padding: 4px 2px; min-width: 0; font-size: .72em; }
.vp-actions button.vp-emo-btn .vp-e { font-size: 1.6em; }
.vp-actions button.vp-emo-btn span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 2.0.7 – Emoji statt Linien: Regeln, die früher nur das SVG trafen */
.snd-play.playing .i.ie { display: none; }
.tool-note .i.ie { width: 18px; height: 18px; margin-top: 1px; }
.pc-st .i.ie { width: 13px; height: 13px; }
.poll-opt .i.ie, .rp-btn .i.ie, .rc-mark .i.ie { width: 14px; height: 14px; }
.type-pick span .i.ie { width: 30px; height: 30px; }

/* ================================================================ 2.0.7 – Kanal/Kategorie erstellen mit Emoji */
.ce-modal form > label { display: flex; flex-direction: column; gap: 6px; }
.ce-lbl { font-size: .74em; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); margin: 10px 0 6px; }
.ce-emos { display: flex; flex-wrap: wrap; gap: 6px; }
.ce-emo { width: 38px; height: 38px; border-radius: 11px; font-size: 1.25em; cursor: pointer; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: transform .12s var(--ease), background .12s, border-color .12s; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.ce-emo:hover { transform: translateY(-2px) scale(1.06); background: rgba(255, 255, 255, .1); }
.ce-emo.on { border-color: var(--accent); background: rgba(var(--accent-rgb), .16); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15); }
.ce-emo.ce-none { font-size: .95em; color: var(--text-3); font-family: inherit; }
.ce-sugs { display: flex; flex-wrap: wrap; gap: 6px; }
.ce-sug { height: 30px; padding: 0 11px; border-radius: 99px; cursor: pointer; font-size: .82em; font-weight: 600; color: var(--text-2); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.ce-sug:hover { color: var(--text); border-color: rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .1); }
.ce-prev { margin: 14px 0 12px; padding: 10px 12px; border-radius: 14px; background: var(--bg-1, rgba(0, 0, 0, .25)); border: 1px dashed rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: 5px; }
.ce-prev-h { font-size: .72em; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.ce-prev-cat { display: flex; align-items: center; gap: 6px; font-size: .78em; color: var(--text-3); letter-spacing: .04em; }
.ce-prev-cat b { font-weight: 700; }
.ce-prev-ch { padding: 6px 10px; border-radius: 8px; color: var(--text-2); font-size: .92em; font-weight: 500; }
.ce-prev-ch.on { background: rgba(255, 255, 255, .07); color: var(--text); }
.ce-tog { margin-bottom: 4px !important; }
.ce-name { display: flex; align-items: center; gap: 0; border-radius: 12px; background: var(--bg-1, #0b0f15); border: 1px solid var(--line, rgba(255, 255, 255, .1)); padding-left: 12px; }
.ce-name:focus-within { border-color: var(--accent); }
.ce-name > i { font-style: normal; color: var(--text-3); font-weight: 700; min-width: 20px; }
.ce-name input { flex: 1; border: 0 !important; background: transparent !important; box-shadow: none !important; margin: 0 !important; }
.ce-types span { position: relative; align-items: flex-start; }
.ce-types .ce-big { font-style: normal; font-size: 1.9em; line-height: 1; margin-bottom: 6px; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; transition: transform .15s var(--ease); }
.ce-types label:hover .ce-big { transform: scale(1.12) rotate(-6deg); }
.ce-types .ce-ok { position: absolute; right: 12px; top: 12px; font-style: normal; opacity: 0; transform: scale(.5); transition: opacity .15s, transform .15s var(--ease); }
.ce-types input:checked + span .ce-ok { opacity: 1; transform: none; }/* 2.0.7 – Spotify mit Cover */
.act-card.music .act-cover { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); flex: none; }
.act-ic.sp-ph { width: 72px; height: 72px; border-radius: 12px; display: grid; place-items: center; font-size: 2em; background: linear-gradient(135deg, #1db954, #0e7a36); flex: none; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.act-src .sp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1db954; margin-right: 5px; box-shadow: 0 0 6px #1db954; }
.sub-act .sub-img { border-radius: 3px; }
.sub-emo { font-style: normal; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.ce-modal form > label.vs-tog { flex-direction: row; align-items: center; gap: 11px; }
.ce-name input { padding-left: 6px !important; }

/* 2.0.7 – Hover bei Haupt-Knöpfen: Hintergrund blieb dunkel, Schrift auch dunkel -> nur noch das Symbol sichtbar */
.pill-btn.primary:hover:not(:disabled) { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #60a5fa)); border-color: transparent; color: #06231a; }
.np-card .pill-btn.primary:hover:not(:disabled), .bo-buy .pill-btn.primary:hover:not(:disabled), .pill-btn.bo-go:hover:not(:disabled) { background: linear-gradient(135deg, var(--nitro-1), var(--nitro-2)); color: #fff; }
.pill-btn.sp-open:hover { background: #1ed760 !important; color: #04130a; }
.pill-btn.sup-go:hover:not(:disabled) { background: linear-gradient(135deg, #ff5d8c, #ff9a5d); color: #2a0714; }
.np-card.basic .pill-btn.primary:hover:not(:disabled) { background: linear-gradient(135deg, #38bdf8, #2ee6a8); }

/* ================================================================ 2.0.7 – Soundboard */
.dev-pop.sb-pop { width: 400px; }
.sb-cnt { font-size: .72em; color: var(--text-3); font-weight: 700; padding: 2px 7px; border-radius: 99px; background: rgba(255, 255, 255, .06); }
.sb-hint { margin: 0; font-size: .8em; color: var(--text-2); padding: 8px 10px; border-radius: 12px; background: rgba(250, 204, 21, .08); border: 1px solid rgba(250, 204, 21, .25); }
.sb-q { width: 100%; height: 34px; margin: 0 !important; border-radius: 10px; }
.sb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; max-height: 330px; overflow-y: auto; scrollbar-width: thin; padding: 2px; }
.sb-btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 74px; padding: 8px 6px; border-radius: 14px; cursor: pointer; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); color: var(--text); transition: transform .12s var(--ease), background .12s, border-color .12s; }
.sb-btn:hover { transform: translateY(-2px); background: rgba(var(--accent-rgb), .12); border-color: rgba(var(--accent-rgb), .45); }
.sb-btn:active, .sb-btn.hit { transform: scale(.93); background: rgba(var(--accent-rgb), .25); }
.sb-e { font-size: 1.7em; line-height: 1; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.sb-n { font-size: .74em; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.sb-add { border-style: dashed; }
.sb-x, .sb-ed { position: absolute; top: 4px; width: 20px; height: 20px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: .68em; opacity: 0; transition: opacity .12s; background: rgba(0, 0, 0, .55); }
.sb-x { right: 4px; color: #f87171; } .sb-ed { left: 4px; }
.sb-btn:hover .sb-x, .sb-btn:hover .sb-ed { opacity: 1; }
.sb-foot { margin: 0; font-size: .72em; color: var(--text-3); }
.sb-float { position: absolute; right: 6px; top: -4px; font-size: 1.3em; pointer-events: none; animation: sbFloat 1.6s ease-out forwards; z-index: 5; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
@keyframes sbFloat { 0% { transform: translateY(6px) scale(.6); opacity: 0; } 20% { opacity: 1; transform: translateY(0) scale(1.15); } 100% { transform: translateY(-26px) scale(1); opacity: 0; } }
.vc-user, .tile { position: relative; }
.vp-actions.four { grid-template-columns: repeat(4, 1fr); gap: 5px; }
.round.sb-round .vp-e { font-style: normal; font-size: 1.25em; }
.sb-drop { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 16px; border-radius: 16px; cursor: pointer; border: 2px dashed rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .03); text-align: center; margin-bottom: 4px; }
.sb-drop:hover, .sb-drop.over { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.sb-drop.ok { border-style: solid; border-color: rgba(74, 222, 128, .55); }
.sb-drop-e { font-size: 2em; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.sb-drop small { color: var(--text-3); }
.ce-modal input[type="range"] { width: 100%; }
/* ---------------------------------------------------------------- Server erstellen / beitreten */
.srv-top { display: flex; gap: 14px; align-items: stretch; margin-bottom: 12px; }
.srv-drop.icon-drop { width: 96px; height: 96px; flex: none; border-radius: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; overflow: hidden; cursor: pointer; }
.srv-drop img { width: 100%; height: 100%; object-fit: cover; }
.srv-drop.busy { opacity: .5; }
.srv-drop-e { font-size: 1.9em; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.srv-drop-t { font-size: .76em; color: var(--text-3); font-weight: 600; }
.srv-prev { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 10px 12px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .2); }
.srv-prev small { font-size: .74em; color: var(--text-3); line-height: 1.4; }
.srv-prev-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.srv-prev-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srv-prev-ic { width: 44px; height: 44px; flex: none; border-radius: 15px; display: grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 1.1em; color: #fff; background: linear-gradient(135deg, var(--accent), #60a5fa); font-family: inherit, "Segoe UI Emoji"; }
.srv-prev-ic img { width: 100%; height: 100%; object-fit: cover; }
.js-in { padding-right: 6px; }
.js-in .dp-mini { flex: none; }
.js-ex { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 4px; font-size: .78em; color: var(--text-3); }
.js-ex code { padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .06); font-size: .95em; }
.js-ok { margin-top: 8px; font-size: .82em; color: #4ade80; font-weight: 600; }
/* ---------------------------------------------------------------- gespeicherte Nachrichten + Erwähnungen */
.msg.saved { box-shadow: inset 3px 0 0 #fbbf24; }
.msg.saved::after { content: '🔖'; position: absolute; right: 10px; top: 6px; font-size: .85em; opacity: .85; pointer-events: none; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.msg { position: relative; }
.mention[data-profile] { cursor: pointer; }
.mention[data-profile]:hover { text-decoration: underline; }
/* ================================================================ 2.0.7 – Animierter Hintergrund */
.bg-anim-cv { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 0; opacity: .5; }
html[data-bg-anim="matrix"] .bg-anim-cv { opacity: .42; }
html[data-bg-anim="snow"] .bg-anim-cv { opacity: .75; }
html.bg-anim .app { position: relative; z-index: 1; }
.bga-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 6px; }
.bga { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 12px; border-radius: 14px; cursor: pointer; text-align: left; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); color: var(--text-2); }
.bga:hover { background: rgba(255, 255, 255, .07); }
.bga.on { border-color: rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .12); }
.bga b { color: var(--text); font-size: .92em; }
.bga small { font-size: .72em; color: var(--text-3); line-height: 1.35; }
.bga-e { font-size: 1.5em; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
@media (max-width: 720px) { .bga-pick { grid-template-columns: 1fr 1fr; } }.srv-drop .srv-drop-e { font-size: 2.1em !important; line-height: 1; } .srv-drop .srv-drop-t { font-size: .78em !important; }
.rail-btn > span, .srv-prev-ic { font-family: inherit, "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }

/* 2.0.7 – Chats oben anheften */
.dm.pinned { position: relative; }
.dm .dm-pin { position: absolute; left: 2px; top: 1px; font-style: normal; font-size: .62em; z-index: 2; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.dm.pinned:not(.active) { background: rgba(var(--accent-rgb), .05); }
.dmpin-btn { opacity: .55; filter: grayscale(.6); }
.dmpin-btn.on { opacity: 1; filter: none; background: rgba(var(--accent-rgb), .15); }
.dm-sec-pinned .dm-sec-t span { color: #fbbf24; }
.dm-sec-pinned + .dm.pinned, .dm.pinned { border-left: 2px solid rgba(251, 191, 36, .55); }

/* ================================================================ 2.0.7 – Minispiele, Terminfinder, ⏳, AFK, Feedback, Profil-Extras */
.tx-card.game, .tx-card.meet { max-width: 460px; }
.gm-e { font-size: 1.15em; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.gm-vs { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: .9em; }
.gm-vs b { color: var(--text-3); font-size: .78em; }
.gm-p { padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid transparent; }
.gm-p.turn { border-color: var(--accent); background: rgba(var(--accent-rgb), .14); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12); }
.gm-ttt { display: grid; grid-template-columns: repeat(3, 64px); gap: 6px; margin: 6px 0 10px; }
.gm-cell { width: 64px; height: 64px; border-radius: 14px; font-size: 1.8em; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; transition: transform .1s, background .12s; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.gm-cell:not(:disabled):hover { background: rgba(var(--accent-rgb), .15); transform: scale(1.04); }
.gm-cell:disabled { cursor: default; }
.gm-cell.win { background: rgba(74, 222, 128, .2); border-color: rgba(74, 222, 128, .6); }
.gm-cell.last { box-shadow: inset 0 0 0 2px rgba(var(--accent-rgb), .6); }
.gm-c4 { display: inline-grid; grid-template-columns: repeat(7, 38px); gap: 4px; padding: 8px; border-radius: 14px; background: #1e3a8a; margin: 6px 0 10px; }
.gm-col { display: flex; flex-direction: column; gap: 4px; padding: 0; background: none; border: 0; cursor: pointer; border-radius: 10px; }
.gm-col:not(:disabled):hover { background: rgba(255, 255, 255, .12); }
.gm-col:disabled { cursor: default; }
.gm-col i { width: 34px; height: 34px; margin: 0 2px; border-radius: 50%; background: #0b1120; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .6); }
.gm-col i.r { background: radial-gradient(circle at 35% 35%, #f87171, #b91c1c); }
.gm-col i.y { background: radial-gradient(circle at 35% 35%, #fde047, #ca8a04); }
.gm-col i.last { outline: 2px solid #fff; outline-offset: -2px; }
.gm-rps { display: flex; gap: 8px; margin: 6px 0 10px; }
.gm-pick { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 84px; padding: 10px 4px; border-radius: 14px; cursor: pointer; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.gm-pick:hover { background: rgba(var(--accent-rgb), .15); transform: translateY(-2px); }
.gm-pick span { font-size: 2em; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.gm-pick small { font-size: .74em; color: var(--text-2); }
.gm-rps-res { display: flex; align-items: center; gap: 14px; font-size: 2.4em; margin: 4px 0 8px; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.gm-rps-res b { font-size: .5em; color: var(--text-3); }
.gm-wait { margin: 8px 0; color: var(--text-2); font-size: .88em; }
.gm-status { font-size: .9em; margin-bottom: 8px; }
.gm-dice { display: flex; gap: 8px; margin: 8px 0; }
.gm-die { min-width: 54px; height: 54px; padding: 0 8px; border-radius: 14px; display: grid; place-items: center; font-size: 2em; font-weight: 800; background: #fff; color: #111; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); animation: gmRoll .5s var(--ease); }
@keyframes gmRoll { 0% { transform: rotate(-200deg) scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
.gm-coin { font-size: 1.6em; font-weight: 800; margin: 8px 0; animation: gmRoll .5s var(--ease); }
.gm-pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.tx-card.game.st-done, .tx-card.game.st-expired, .tx-card.game.st-cancelled { opacity: .92; }
/* Terminfinder */
.mt-rows { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.mt-row { display: grid; grid-template-columns: 130px 1fr auto auto auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; background: rgba(255, 255, 255, .035); font-size: .86em; }
.mt-row.best { background: rgba(250, 204, 21, .09); box-shadow: inset 0 0 0 1px rgba(250, 204, 21, .35); }
.mt-row.chosen { background: rgba(74, 222, 128, .12); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .5); }
.mt-row.dim { opacity: .5; }
.mt-when { font-weight: 700; white-space: nowrap; }
.mt-bar { height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .3); overflow: hidden; }
.mt-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), #60a5fa); }
.mt-n { color: var(--text-3); white-space: nowrap; font-size: .9em; }
.mt-btns { display: flex; gap: 3px; }
.mt-btns button { width: 30px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid transparent; cursor: pointer; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; opacity: .55; }
.mt-btns button.on { opacity: 1; border-color: var(--accent); background: rgba(var(--accent-rgb), .15); }
.mt-btns button:hover { opacity: 1; }
.mt-list { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 99px; background: rgba(var(--accent-rgb), .12); font-size: .84em; }
.mt-chip button { background: none; border: 0; color: var(--text-3); cursor: pointer; }
@media (max-width: 560px) { .mt-row { grid-template-columns: 1fr auto; } .mt-bar, .mt-n { display: none; } }
/* ⏳ selbstlöschend */
.exp-btn { position: relative; font-size: 1.05em; }
.exp-btn small { position: absolute; right: -2px; bottom: -2px; font-size: .55em; font-weight: 800; color: var(--accent); }
.exp-btn.on { background: rgba(var(--accent-rgb), .15); }
.exp-mark { margin-left: 6px; font-size: .72em; color: var(--text-3); white-space: nowrap; }
/* AFK, Profil-Extras, Feedback */
.pf-afk { margin: 8px 0; padding: 8px 10px; border-radius: 12px; background: rgba(250, 204, 21, .09); border: 1px solid rgba(250, 204, 21, .28); font-size: .86em; }
.pf-song { display: flex; align-items: center; gap: 10px; margin: 8px 0; padding: 8px 10px; border-radius: 14px; background: linear-gradient(135deg, rgba(29, 185, 84, .16), rgba(29, 185, 84, .04)); border: 1px solid rgba(29, 185, 84, .3); }
.pf-song .grow { min-width: 0; display: flex; flex-direction: column; }
.pf-song small { font-size: .72em; color: var(--text-3); }
.pf-song-e { font-size: 1.6em; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.pf-song .pill-btn.sp-open { margin: 0; }
.pf-views { font-size: .78em; color: var(--text-3); margin: 4px 0 8px; }
.fx-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.fx-tile { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); text-align: left; color: var(--text-2); }
.fx-tile.btn-like { cursor: pointer; } .fx-tile.btn-like:hover { border-color: rgba(var(--accent-rgb), .45); }
.fx-tile b { display: block; color: var(--text); font-size: .92em; }
.fx-tile small { font-size: .76em; color: var(--text-3); }
.fx-e { font-size: 1.6em; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.sp-days { display: flex; gap: 6px; margin: 8px 0; flex-wrap: wrap; }
.sp-day { margin: 0; cursor: pointer; } .sp-day input { display: none; }
.sp-day span { display: inline-block; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font-size: .82em; font-weight: 600; }
.sp-day input:checked + span { background: rgba(var(--accent-rgb), .16); border-color: var(--accent); }
.fb-modal { width: min(620px, 96vw); }
#fb-in { display: flex; flex-direction: column; gap: 8px; max-height: 340px; overflow-y: auto; }
.fb-item { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); }
.fb-item.st-new { border-color: rgba(var(--accent-rgb), .45); }
.fb-top { display: flex; align-items: center; gap: 8px; font-size: .78em; color: var(--text-3); margin-bottom: 4px; }
.fb-text { white-space: pre-wrap; font-size: .9em; }
.fb-reply { margin-top: 6px; padding-left: 10px; border-left: 2px solid var(--accent); font-size: .84em; color: var(--text-2); }
@media (max-width: 720px) { .fx-tiles, .gm-pick-grid { grid-template-columns: 1fr 1fr; } }
/* 2.0.7 – wie lange im Sprachkanal */
.vc-time { font-style: normal; font-size: 9.5px; font-weight: 600; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tile-label .vc-time { font-size: .8em; color: var(--text-2); }
.vp-time { font-style: normal; font-variant-numeric: tabular-nums; color: var(--accent); }

/* ================================================================ 2.0.7 Runde 2 */
/* 🏅 Erfolge */
.ach-pop { position: fixed; left: 50%; top: 18px; z-index: 3000; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(250, 204, 21, .22), rgba(17, 24, 39, .96) 45%); border: 1px solid rgba(250, 204, 21, .55); box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(250, 204, 21, .25); transform: translate(-50%, -140%); transition: transform .45s cubic-bezier(.2, 1.4, .4, 1); }
.ach-pop.in { transform: translate(-50%, 0); }
.ach-pop .ach-e { font-size: 2.4em; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; animation: achSpin .9s ease-out; }
@keyframes achSpin { 0% { transform: scale(.2) rotate(-90deg); } 70% { transform: scale(1.25) rotate(10deg); } 100% { transform: none; } }
.ach-pop small { display: block; font-size: .72em; color: #fcd34d; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ach-pop b { display: block; font-size: 1.05em; }
.ach-pop span:last-child { font-size: .8em; color: var(--text-2); }
.ach-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ach-chip { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; font-size: 1.2em; background: rgba(250, 204, 21, .1); border: 1px solid rgba(250, 204, 21, .3); font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; cursor: help; }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-bottom: 8px; }
.ach-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 10px 8px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); opacity: .55; filter: grayscale(.8); }
.ach-card.got { opacity: 1; filter: none; border-color: rgba(250, 204, 21, .4); background: rgba(250, 204, 21, .07); }
.ach-card .ach-e { font-size: 1.7em; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.ach-card b { font-size: .84em; } .ach-card small { font-size: .7em; color: var(--text-3); }
/* ⏱️ zusammen im Call */
.pf-together { margin: 8px 0; padding: 7px 10px; border-radius: 12px; background: rgba(96, 165, 250, .1); border: 1px solid rgba(96, 165, 250, .3); font-size: .84em; }
.pf-partners, .tr-players { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-partner { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 99px; background: rgba(255, 255, 255, .05); font-size: .82em; }
.pf-partner small { color: var(--text-3); }
/* 🖼️ Galerie */
.pf-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pf-gal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; transition: transform .15s; }
.pf-gal a:hover img { transform: scale(1.03); }
.gal-edit { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.gal-it { position: relative; } .gal-it img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.gal-it button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 8px; border: 0; background: rgba(0, 0, 0, .65); color: #f87171; cursor: pointer; }
.gal-add { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 12px; border: 2px dashed rgba(255, 255, 255, .15); cursor: pointer; font-size: 1.3em; margin: 0; }
.gal-add span { font-size: .55em; color: var(--text-3); }
@media (max-width: 720px) { .gal-edit { grid-template-columns: repeat(3, 1fr); } }
/* 🎨 Profil-Effekte (Animation nur im Profil, nicht in Listen) */
.fx-pick { grid-template-columns: repeat(4, 1fr); }
.fx-pick .bga { align-items: center; text-align: center; }
.fxp-av { display: inline-block; border-radius: 50%; margin-bottom: 4px; }
[class*="fx-"] > .avatar, .fxp-av > .avatar { position: relative; }
.fx-glow > .avatar { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .9), 0 0 22px rgba(var(--accent-rgb), .8); animation: fxPulse 2.4s ease-in-out infinite; }
.fx-rainbow > .avatar { animation: fxRainbow 3s linear infinite; }
@keyframes fxRainbow { 0%, 100% { box-shadow: 0 0 0 3px #f43f5e, 0 0 22px #f43f5e; } 20% { box-shadow: 0 0 0 3px #f59e0b, 0 0 22px #f59e0b; } 40% { box-shadow: 0 0 0 3px #22c55e, 0 0 22px #22c55e; } 60% { box-shadow: 0 0 0 3px #06b6d4, 0 0 22px #06b6d4; } 80% { box-shadow: 0 0 0 3px #d946ef, 0 0 22px #d946ef; } }
.fx-fire > .avatar { box-shadow: 0 0 0 3px #f97316, 0 -6px 22px #f97316, 0 0 40px rgba(239, 68, 68, .7); animation: fxFlick 1.2s ease-in-out infinite; }
.fx-ice > .avatar { box-shadow: 0 0 0 3px #7dd3fc, 0 0 24px rgba(125, 211, 252, .85); }
.fx-gold > .avatar { box-shadow: 0 0 0 3px #facc15, 0 0 0 6px rgba(250, 204, 21, .3), 0 0 26px rgba(250, 204, 21, .6); }
.fx-hearts, .fx-stars { position: relative; }
.fx-hearts::after, .fx-stars::after { content: '💖'; position: absolute; right: 2px; top: -4px; font-size: 22px; z-index: 3; pointer-events: none; animation: fxFloat 2.2s ease-in-out infinite; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fx-stars::after { content: '✨'; }
.fxp-av.fx-hearts::after, .fxp-av.fx-stars::after { font-size: 13px; right: -4px; top: -4px; }
.fx-hearts > .avatar { box-shadow: 0 0 0 3px #f472b6, 0 0 20px rgba(244, 114, 182, .6); }
.fx-stars > .avatar { box-shadow: 0 0 0 3px #a78bfa, 0 0 20px rgba(167, 139, 250, .6); }
@keyframes fxSpin { to { transform: rotate(360deg); } }
@keyframes fxPulse { 50% { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .6), 0 0 34px rgba(var(--accent-rgb), 1); } }
@keyframes fxFlick { 50% { box-shadow: 0 0 0 3px #fb923c, 0 -10px 30px #f59e0b, 0 0 50px rgba(239, 68, 68, .8); } }
@keyframes fxFloat { 50% { transform: translateY(-6px) scale(1.15); } }
/* 🏆 Turnier */
.tx-card.tourney.wide { max-width: 760px; }
.tr-sign { margin: 6px 0; font-size: .9em; }
.tr-players { margin-bottom: 10px; }
.tr-bracket { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.tr-round { display: flex; flex-direction: column; justify-content: space-around; gap: 10px; min-width: 150px; }
.tr-rn { font-size: .7em; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); text-align: center; }
.tr-match { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .2); }
.tr-p { display: block; width: 100%; text-align: left; padding: 6px 10px; font-size: .82em; background: none; border: 0; color: var(--text); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-p + .tr-p { border-top: 1px solid rgba(255, 255, 255, .07); }
.tr-p:disabled { cursor: default; }
.tr-p:not(:disabled):hover { background: rgba(var(--accent-rgb), .18); }
.tr-p.win { background: rgba(74, 222, 128, .15); font-weight: 700; }
.tr-p.lose { opacity: .45; text-decoration: line-through; }
.tr-p.me { box-shadow: inset 3px 0 0 var(--accent); }
.tr-p.bye { color: var(--text-3); font-style: italic; cursor: default; }
/* 📝 Notizen */
.notes-btn { position: relative; }
.notes-btn small { position: absolute; right: -3px; top: -3px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 99px; background: var(--accent); color: #06231a; font-size: 9px; font-weight: 800; display: grid; place-items: center; }
.notes-btn small:empty { display: none; }
.dev-pop.notes-pop { width: 380px; }
.nt-add { display: flex; gap: 6px; } .nt-add input { flex: 1; margin: 0 !important; height: 36px; }
.nt-list { display: flex; flex-direction: column; gap: 4px; max-height: 360px; overflow-y: auto; }
.nt-it { display: flex; align-items: flex-start; gap: 8px; padding: 6px 8px; border-radius: 10px; background: rgba(255, 255, 255, .035); }
.nt-it.done .nt-tx { opacity: .55; text-decoration: line-through; }
.nt-chk, .nt-del { background: none; border: 0; cursor: pointer; font-size: 1.05em; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.nt-del { opacity: 0; font-size: .85em; } .nt-it:hover .nt-del { opacity: .8; }
.nt-tx { flex: 1; min-width: 0; font-size: .9em; word-break: break-word; }
.nt-tx small { display: block; font-size: .72em; color: var(--text-3); text-decoration: none; }
/* 📬 Zeitkapsel */
.cp-list { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow-y: auto; }
.cp-it { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .035); }
.cp-it > span { font-size: 1.3em; } .cp-it .grow { min-width: 0; display: flex; flex-direction: column; }
.cp-it small { font-size: .74em; color: var(--text-3); }
.cp-it.done { opacity: .6; }
/* ===== 2.0.9: Konto & Sicherheit mit Reitern, Aktivität + Desktop-App in Karten ===== */
.acc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 12px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); position: sticky; top: -2px; z-index: 3; backdrop-filter: none; }
.acc-tabs button { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border-radius: 10px; border: 0; background: transparent; color: var(--text-2); font-weight: 600; font-size: .88em; cursor: pointer; position: relative; white-space: nowrap; }
.acc-tabs button span { font-size: 1.1em; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.acc-tabs button:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.acc-tabs button.on { background: rgba(var(--accent-rgb), .18); color: var(--text); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .45); }
.acc-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 0 2px rgba(0, 0, 0, .3); }
.acc-grp { display: none; }
.acc-grp.on { display: block; animation: accIn .18s ease-out; }
@keyframes accIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.acc-steps { display: grid; gap: 8px; }
.acc-step { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 14px; cursor: pointer; color: var(--text); background: rgba(255, 196, 71, .08); border: 1px solid rgba(255, 196, 71, .3); }
.acc-step:hover { background: rgba(255, 196, 71, .14); }
.acc-step small, .acc-tile small { display: block; color: var(--text-2); font-size: .82em; margin-top: 2px; }
.as-e { font-size: 1.5em; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .06); flex: none; }
.as-go { font-size: 1.6em; opacity: .6; }
.acc-alldone { padding: 14px 16px; border-radius: 14px; background: rgba(46, 230, 168, .1); border: 1px solid rgba(46, 230, 168, .35); margin-top: 12px; }
.acc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.acc-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px; border-radius: 14px; cursor: pointer; color: var(--text); background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); transition: border-color .15s, transform .15s; }
.acc-tile:hover { border-color: rgba(var(--accent-rgb), .45); transform: translateY(-1px); }
.acc-tile > span { font-size: 1.5em; margin-bottom: 4px; }
.acc-priv { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 14px; margin-bottom: 12px; font-size: .9em; }
.sec-card.acc-flash { animation: accFlash 1.5s ease-out; }
@keyframes accFlash { 0%, 40% { box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .8); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }
.act-now { margin: 12px 0 14px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .12), rgba(255, 255, 255, .03)); border: 1px solid rgba(var(--accent-rgb), .3); }
.act-now.paused { background: rgba(255, 196, 71, .08); border-color: rgba(255, 196, 71, .35); }
.an-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.an-h small { display: block; color: var(--text-2); font-size: .82em; }
.an-cur, .ac-chips, .tool-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ac-chips { margin: 0 0 8px; }
.ac-chips .dp-mini, .an-cur .dp-mini { height: 32px; padding: 0 14px; font-size: .85em; }
.tool-btns { margin: 0 0 10px; }
.acc-box .vs-tog + .vs-tog { margin-top: 8px; }
.perf-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-bottom: 12px; }
.perf-t { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); display: flex; flex-direction: column; gap: 2px; }
.perf-t span { font-size: 1.4em; }
.perf-t b { font-size: 1.25em; font-variant-numeric: tabular-nums; }
.perf-t small { color: var(--text-2); font-size: .78em; }
.perf-t.warn { border-color: rgba(255, 196, 71, .45); }
body.theme-light .acc-tabs, body.theme-light .acc-tile, body.theme-light .perf-t { background: rgba(0, 0, 0, .03); border-color: rgba(0, 0, 0, .08); }
@media (max-width: 640px) { .acc-tabs button { flex: 1 1 45%; } }.ac-note { display: block !important; line-height: 1.5; margin-bottom: 10px; }
.ac-note b { display: inline !important; }

/* ===== 2.0.9: Bildschirm live übertragen ===== */
.pick-mode { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 4px; }
.pick-mode .pm { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 14px; cursor: pointer; text-align: left; color: var(--text); background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .15s, background .15s; }
.pick-mode .pm span { font-size: 1.4em; }
.pick-mode .pm small { color: var(--text-2); font-size: .76em; }
.pick-mode .pm:hover { background: rgba(255, 255, 255, .06); }
.pick-mode .pm.on { border-color: rgba(var(--accent-rgb), .6); background: rgba(var(--accent-rgb), .13); }
.pick-hint { margin: 6px 0 0; font-size: .84em; color: var(--text-2); }
.pick { position: relative; }
.pick-game { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: .95em; background: rgba(0, 0, 0, .55); border-radius: 8px; padding: 1px 5px; }
.tile-live { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tile-pause { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: rgba(8, 10, 16, .72); color: #fff; text-align: center; z-index: 2; pointer-events: none; }
.tile-pause span { font-size: 2.6em; }
.tile-pause small { opacity: .75; }
.tile.scr-paused video { filter: blur(6px) brightness(.6); }
.tile-stats { position: absolute; left: 10px; bottom: 44px; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; max-width: calc(100% - 20px); padding: 5px 9px; border-radius: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .74em; font-variant-numeric: tabular-nums; pointer-events: none; }
.tile-stats b { color: #ff6b7a; }
.tile-stats em { flex-basis: 100%; font-style: normal; color: #ffd166; }
@media (max-width: 640px) { .pick-mode { grid-template-columns: 1fr; } }
/* 2.0.9: Zuletzt online / Gerät */
.seen-dev { white-space: nowrap; }
.seen-on { color: #3ddc97; font-weight: 600; }
.seen-off { color: var(--text-2); }
.seen-on.idle { color: #f5b942; }
.seen-on.dnd { color: #ff5a6a; }

/* ===== 2.1.0 ===== */
/* Vorlagen beim Server erstellen */
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 300px; overflow: auto; padding: 2px; }
.tpl { position: relative; display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 10px; border-radius: 14px; cursor: pointer; color: var(--text); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.tpl:hover { background: rgba(255,255,255,.06); }
.tpl.on { border-color: rgba(var(--accent-rgb), .7); background: rgba(var(--accent-rgb), .12); }
.tpl-e { font-size: 1.7em; line-height: 1; }
.tpl-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tpl-t small { color: var(--text-2); font-size: .76em; line-height: 1.3; }
.tpl-t em { font-style: normal; font-size: .7em; color: var(--text-3); }
.tpl-badge { position: absolute; top: 8px; right: 8px; font-size: .68em; font-weight: 700; padding: 2px 7px; border-radius: 99px; }
.tpl-badge.free { background: rgba(46,230,168,.15); color: #2ee6a8; }
.tpl-badge.ok { background: rgba(167,139,250,.18); color: #c4b5fd; }
.tpl-badge.pay { background: rgba(250,204,21,.16); color: #facc15; }
.tpl.locked .tpl-e { filter: grayscale(.4); }
.tpl-buy { margin-top: 10px; padding: 12px; border-radius: 14px; background: rgba(250,204,21,.06); border: 1px solid rgba(250,204,21,.3); display: grid; gap: 8px; }
.tpl-prev { margin: 0; padding-left: 18px; font-size: .82em; color: var(--text-2); columns: 2; }
@media (max-width: 640px) { .tpl-grid { grid-template-columns: 1fr; } .tpl-prev { columns: 1; } }
/* Eigentümer / FSK18 */
.ow-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; margin-top: 8px; }
@media (max-width: 640px) { .ow-form { grid-template-columns: 1fr; } }
.adult-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.adult-opt { display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 10px 12px; border-radius: 14px; cursor: pointer; color: var(--text); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.adult-opt span { font-size: 1.4em; }
.adult-opt small { color: var(--text-2); font-size: .75em; }
.adult-opt.on { border-color: rgba(var(--accent-rgb), .7); background: rgba(var(--accent-rgb), .12); }
.adult-opt[data-x] { opacity: .65; }
@media (max-width: 640px) { .adult-opts { grid-template-columns: 1fr; } }
.adult-gate { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 30px; }
.adult-gate > span { font-size: 4em; }
.adult-gate b { font-size: 1.4em; }
.adult-gate p { color: var(--text-2); max-width: 420px; }
/* Rollen */
.role-grad { align-items: center; }
.role-grad-prev { font-weight: 800; font-size: 1.1em; padding: 4px 0; min-width: 120px; }
.role-icon-prev { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.role-ico { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; vertical-align: -3px; margin-left: 4px; }
.mention.role { color: var(--rc, #8b9bb4); background: color-mix(in srgb, var(--rc, #8b9bb4) 18%, transparent); border-radius: 5px; padding: 0 3px; font-weight: 600; }
.mention.role.me { background: color-mix(in srgb, var(--rc, #8b9bb4) 32%, transparent); }
/* Team-Rechte gruppiert */
.stf-perms.grouped { display: grid; gap: 10px; }
.stf-grp-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85em; margin: 4px 0; }
.stf-grp-h .link-btn { font-size: .85em; }
.stf-perms.grouped .stf-grp { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; }
.stf-perms.grouped .stf-grp-h { grid-column: 1 / -1; }
.stf-perm span small { display: block; font-size: .72em; color: var(--text-3); font-weight: 400; line-height: 1.25; }
/* Systemtest */
.sy-class { display: flex; gap: 14px; align-items: center; margin: 14px 0; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .16), rgba(255,255,255,.03)); border: 1px solid rgba(var(--accent-rgb), .35); }
.sy-class > span { font-size: 3em; }
.sy-class small { color: var(--text-2); }
.sy-class b { display: block; font-size: 1.35em; }
.sy-class p { margin: 4px 0 0; color: var(--text-2); font-size: .88em; }
.sy-row { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,.05); }
.sy-row:last-child { border-bottom: 0; }
.sy-row small { display: block; color: var(--text-3); font-size: .76em; }
.sy-e { font-size: 1.3em; width: 30px; text-align: center; }
.sy-v { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; max-width: 55%; }
.sy-row.ok .sy-v { color: #3ddc97; } .sy-row.mid .sy-v { color: #f5b942; } .sy-row.bad .sy-v { color: #ff6b7a; }
.sy-tips { margin: 0 0 10px; padding-left: 18px; display: grid; gap: 4px; }
.sy-ref { display: grid; gap: 8px; margin-top: 8px; }
.sy-ref div { display: grid; gap: 2px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.03); }
.sy-ref small { color: var(--text-2); } .sy-ref em { font-style: normal; font-size: .8em; color: var(--text-3); }
body.theme-light .tpl, body.theme-light .adult-opt, body.theme-light .sy-ref div { background: rgba(0,0,0,.03); border-color: rgba(0,0,0,.08); }
/* 2.1.0 Korrektur: Preis-Schildchen über dem Titel statt darüber gelegt */
.tpl { padding-top: 30px; }
.tpl-badge { top: 7px; right: 8px; }

/* ================= 2.1.1 ================= */
/* Kamera-Knopf: aus = grau, an = grün mit rotem Live-Punkt */
.cam-btn { position: relative; }
.cam-btn.cam-off .vp-e { filter: grayscale(1); opacity: .75; }
.vp-actions button.vp-emo-btn.cam-live, .round.cam-btn.cam-live { background: rgba(61, 220, 151, .16); color: #6ee7b7; border-color: rgba(61, 220, 151, .5); box-shadow: 0 0 0 1px rgba(61, 220, 151, .35), 0 0 14px rgba(61, 220, 151, .25); }
.cam-btn.cam-live::after { content: ""; position: absolute; top: 5px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 2px var(--bg-1, #111), 0 0 8px rgba(239, 68, 68, .8); animation: camPulse 1.6s ease-in-out infinite; }
@keyframes camPulse { 50% { opacity: .35; } }
html.rd-sleep .cam-btn.cam-live::after { animation: none; }

/* Lila Punkt: streamt gerade */
.status.s-streaming { background: #9146ff !important; box-shadow: 0 0 8px rgba(145, 70, 255, .7); }
small.sub-act.stream, .mem .sub-act.stream { color: #b794ff !important; }
small.sub-act.stream .act-n { color: #d8c4ff !important; }
.act-card.stream { border-color: rgba(145, 70, 255, .45); background: linear-gradient(135deg, rgba(145, 70, 255, .16), rgba(145, 70, 255, .04)); }
.act-card .st-ic, .act-card .wt-ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 28px; flex: 0 0 auto; }
.act-card .st-ic { background: rgba(145, 70, 255, .25); }
.act-card .wt-ic { background: rgba(56, 189, 248, .18); }
.act-card .st-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #9146ff; margin-right: 6px; box-shadow: 0 0 6px #9146ff; vertical-align: 1px; }
.act-card .st-open { background: #9146ff; color: #fff; border-color: transparent; }
.act-card.watch { border-color: rgba(56, 189, 248, .35); }

/* Namen blockieren */
.nb-form { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line, rgba(255, 255, 255, .08)); margin-bottom: 12px; }
.nb-form .row.wrap { flex-wrap: wrap; }
.nb-form label { display: grid; gap: 4px; min-width: 180px; }
.nb-test { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.nb-test label { display: grid; gap: 4px; }
.nb-try-res { padding-bottom: 8px; font-weight: 600; white-space: nowrap; }
.nb-try-res.bad { color: #f87171; }
.nb-try-res.ok { color: #4ade80; }
.nb-row .nb-ic { font-size: 22px; width: 32px; text-align: center; }

/* ---- iPad / iPhone: Download-Dialog + Home-Bildschirm-App (2026-11-13) ---- */
.ios-dl h3 { margin: 14px 0 6px; font-size: 15px; }
.ios-dl h3:first-child { margin-top: 0; }
.ios-dl ol { margin: 0 0 8px; padding-left: 20px; line-height: 1.65; }
.ios-dl .btn { display: inline-flex; margin: 4px 0 6px; }
.ios-dl .ios-share { display: inline-block; border: 1.5px solid currentColor; border-radius: 4px; padding: 0 5px; font-size: 12px; line-height: 1.4; }
@supports (-webkit-touch-callout: none) {
  input, textarea, select { font-size: max(16px, 1em); }
}
@media (display-mode: standalone) {
  html, body { overscroll-behavior: none; }
  #root { padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); box-sizing: border-box; }
}
/* ---- Schreibfeld: bei wenig Platz (iPad hochkant, Handy) Knöpfe in eine zweite Zeile (2026-11-13) ---- */
.composer-wrap { container-type: inline-size; }
@container (max-width: 560px) {
  .composer { flex-wrap: wrap; row-gap: 4px; }
  .composer #composer { order: -1; flex: 1 1 100%; min-width: 0; }
  .composer .send-btn { margin-left: auto; }
}
.m-back { display: none; }

/* ---- Gutschein gratis verschenken (Team, 2026-11-13) ---- */
.vg-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; border: 1px solid rgba(var(--accent-rgb), .35); background: linear-gradient(120deg, rgba(var(--accent-rgb), .10), rgba(var(--accent-rgb), .02)); }
.vg-box b { display: flex; align-items: center; gap: 8px; }
.vg-box small { display: block; color: var(--text-3); margin-top: 2px; }
.vg-to { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--bg-3); margin-bottom: 12px; }
.vg-to small { display: block; color: var(--text-3); }
#vg-f .check-row { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; font-weight: 500; }
#vg-f .check-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
@media (max-width: 760px) { .vg-box .btn { width: 100%; justify-content: center; } #vg-f .tool-grid { grid-template-columns: 1fr 1fr; } }
/* ---- Push-Benachrichtigungen (2026-11-13) ---- */
.push-ok { display: flex; align-items: center; gap: 8px; color: var(--ok, #2ee6a8); font-weight: 650; margin: 0 0 8px; }

/* ---- Handy-Ansicht v2 (iPhone / schmale Fenster): Liste ODER Chat, Tab-Leiste, Seitenleiste (2026-11-13) ---- */
.m-tabs, .m-scrim, .m-more-btn { display: none; }
@media (max-width: 760px) {
  :root { --m-tabs-h: 62px; }
  #root { padding: 0 !important; }
  body { -webkit-text-size-adjust: 100%; }
  /* Grundgerüst: Liste = Server-Leiste + Kanäle/Chats, Chat = Vollbild */
  .app, .app.no-members, .app.dm-profile { grid-template-columns: 62px minmax(0, 1fr) !important; gap: 6px; position: relative;
    padding: 6px 6px calc(var(--m-tabs-h) + 6px + env(safe-area-inset-bottom)) 0 !important; }
  .app > .main, .app > .members { display: none !important; }
  .app.m-chat { grid-template-columns: minmax(0, 1fr) !important; padding: 0 !important; gap: 0; }
  .app.m-chat > .rail, .app.m-chat > .side { display: none !important; }
  .app.m-chat > .main { display: flex !important; border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom); }

  /* Server-Leiste schmaler, Kanalliste mit großen Tippflächen */
  .rail { padding-top: 2px; gap: 6px; }
  .rail-btn { width: 46px; height: 46px; border-radius: 15px; }
  .side.panel { border-radius: 18px; }
  .side-head { min-height: 52px; }
  .side .ch { height: 44px; font-size: 16px; border-radius: 11px; padding: 0 12px; }
  .side .ch.big { height: 48px; }
  .side .dm { min-height: 54px; }
  .srv-hub { gap: 6px; }
  .user-panel { margin: 0 6px 6px; }

  /* Chat-Kopf mit Zurück-Knopf */
  .app.m-chat .main-head { height: 56px; padding-left: 60px !important; padding-right: 6px; gap: 6px; }
  .app.m-chat .main-head .mh-topic, .app.m-chat .main-head .mh-sub { display: none; }
  .app.m-chat .main-head .mh-title b { font-size: 17px; }
  .app.m-chat .mh-actions { gap: 0; }
  .app.m-chat .mh-actions .notes-btn, .app.m-chat .mh-actions .dmpin-btn, .app.m-chat .mh-actions .pin-btn, .app.m-chat .mh-actions [data-act="toggle-dmprofile"] { display: none; }
  .app.m-chat .mh-actions .icon-btn { width: 38px !important; }
  .app.m-chat .main-head .mh-title { min-width: 0; flex: 1; }
  .composer #composer::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .app.m-chat .mh-actions .icon-btn { height: 40px; }
  .app.m-chat .m-back { display: grid; place-items: center; position: absolute; top: 8px; left: 8px; z-index: 60; width: 42px; height: 40px; border-radius: 12px;
    background: transparent; border: 0; color: var(--text); font-size: 34px; line-height: 1; padding-bottom: 5px; }
  .app.m-chat .m-back:active { background: var(--bg-3); }

  /* Nachrichten: kompakter, ganze Breite */
  .msg { grid-template-columns: 48px minmax(0, 1fr); padding: 3px 10px 3px 8px; margin-top: 10px; }
  .msg .avatar, .msg .av-btn .avatar { width: 38px !important; height: 38px !important; }
  .msg-gutter time { width: 38px; }
  .msg-text { font-size: 15.5px; line-height: 1.42; }
  .msg:hover { background: transparent; }
  .msg.m-press { background: rgba(var(--accent-rgb), .12) !important; transition: background .15s; }
  .msg-actions, .msg .hover-bar, .msg .msg-tools { display: none !important; }
  [data-msg], .side .ch, .side .dm, .rail-btn, [data-member] { -webkit-touch-callout: none; }
  [data-msg] { -webkit-user-select: none; user-select: none; }

  /* Schreibleiste: Büroklammer, Text, +, Emoji, Senden – Rest hinter „+“ */
  .composer-wrap { padding: 0 8px 8px !important; }
  .composer { flex-wrap: wrap; border-radius: 22px; padding: 4px 4px 4px 6px; align-items: center; }
  .composer #composer { order: 0; flex: 1 1 0; min-width: 0; font-size: 16px; }
  .composer .send-btn { margin-left: 0; width: 38px; height: 38px; border-radius: 50%; }
  .composer .m-more-btn { display: grid; }
  .composer .gif-btn, .composer .tx-btn, .composer .exp-btn, .composer .sched-btn { display: none; }
  .composer.more .gif-btn, .composer.more .tx-btn, .composer.more .exp-btn, .composer.more .sched-btn { display: grid; order: 10; }
  .composer.more::after { content: ''; order: 9; flex-basis: 100%; height: 0; }
  .composer.more .m-more-btn { transform: rotate(45deg); color: var(--accent); }
  .composer .m-more-btn { transition: transform .15s; }
  .composer-foot { min-height: 0; }

  /* Mitglieder als Seitenleiste von rechts */
  .app.m-chat.m-members > .members { display: flex !important; position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); z-index: 80;
    border-radius: 18px 0 0 18px; box-shadow: -18px 0 50px rgba(0, 0, 0, .5); padding-bottom: env(safe-area-inset-bottom); animation: mSlideIn .18s ease-out;
    background: #10141d !important; border: 1px solid var(--line-2); border-right: 0; }
  body.theme-light .app.m-chat.m-members > .members { background: #fff !important; }
  .app.m-chat.m-members .m-scrim { display: block; position: fixed; inset: 0; z-index: 79; background: rgba(0, 0, 0, .45); }
  @keyframes mSlideIn { from { transform: translateX(40px); opacity: .4; } to { transform: none; opacity: 1; } }

  /* Tab-Leiste unten (nur in der Liste, im Chat ausgeblendet) */
  .m-tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    height: calc(var(--m-tabs-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(10, 13, 20, .96); border-top: 1px solid var(--line); }
  body.theme-light .m-tabs { background: rgba(255, 255, 255, .97); }
  body.m-in-chat .m-tabs { display: none; }
  .m-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text-3); font-size: 11px; font-weight: 650; }
  .m-tabs button .i { width: 24px; height: 24px; }
  .m-tabs button.on { color: var(--accent); }
  .m-tabs button.on::before { content: ''; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
  .m-tabs .m-me-av { width: 26px; height: 26px; display: grid; place-items: center; }
  .m-tabs .m-me-av .avatar { width: 26px !important; height: 26px !important; }
  .m-tabs button.on .m-me-av { box-shadow: 0 0 0 2px var(--accent); border-radius: 50%; }
  .m-badge { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ff4d5e; color: #fff;
    font-size: 11px; font-style: normal; font-weight: 800; display: grid; place-items: center; }
  .m-badge[hidden] { display: none; }

  /* Fenster: normale als Blatt, Einstellungen als Vollbild mit Liste -> Seite */
  .modal { max-height: calc(100dvh - 16px); }
  .modal-back:has(.modal.settings) { padding: 0 !important; align-items: stretch; }
  .modal.settings { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
  .m-set-bar { display: flex; align-items: center; gap: 6px; height: 54px; flex: none; padding: 0 8px; border-bottom: 1px solid var(--line); background: var(--bg-1); }
  .m-set-bar .m-set-title { flex: 1; text-align: center; font-size: 17px; }
  .m-set-bar button { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--text); font-size: 32px; line-height: 1; padding-bottom: 4px; }
  .m-set-bar .m-set-close { font-size: 18px; padding: 0; }
  .m-set-bar .m-set-close .i { width: 20px; height: 20px; }
  .modal.settings:has(.set-layout:not(.m-page)) .m-set-back { visibility: hidden; }
  .modal.settings .modal-body { height: calc(100% - 54px); }
  .modal.settings .set-layout { display: block; position: relative; height: 100%; }
  .modal.settings .set-nav { width: 100%; height: 100%; border: 0; padding: 12px 10px 40px; }
  .modal.settings .set-nav button { height: 50px; font-size: 16px; border-radius: 12px; }
  .modal.settings .set-nav button .i { width: 22px; height: 22px; }
  .modal.settings .set-body { display: none; height: 100%; padding: 16px 14px 90px; }
  .modal.settings .set-layout.m-page .set-nav { display: none; }
  .modal.settings .set-layout.m-page .set-body { display: block; }
  .set-body .narrow { max-width: none; }
  .toast-root, #toast-root { bottom: calc(var(--m-tabs-h) + 14px + env(safe-area-inset-bottom)); }
  body.m-in-chat #toast-root { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
/* ===== 2026-11-13 Nitro-Vorteile: Abzeichen-Stufen, Krone, Namensfarbe, Premium-Effekte, 4-Spalten-Vergleich ===== */
.nitro-badge.rank-neu .i, .nitro-badge.rank-bronze .i { color: #d97706; }
.nitro-badge.rank-silber .i { color: #cbd5e1; }
.nitro-badge.rank-gold .i { color: #facc15; }
.nitro-badge.rank-platin .i { color: #5eead4; filter: drop-shadow(0 0 3px rgba(94, 234, 212, .7)); }
.nitro-badge.rank-diamant .i { color: #a5b4fc; filter: drop-shadow(0 0 4px rgba(165, 180, 252, .9)); }
.nitro-badge.rank-neu .i { color: #c084fc; }
.nitro-badge.life .i { color: #facc15; filter: drop-shadow(0 0 4px rgba(250, 204, 21, .85)); }
@keyframes nameShine { to { background-position: -200% 0; } }
html.rd-sleep [style*="nameShine"], body.bg-idle [style*="nameShine"] { animation-play-state: paused !important; }
.nitro-name { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.nitro-name .nn-prev { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2, rgba(255, 255, 255, .04)); }
.nitro-name .nn-prev b { font-size: 1.15em; }
.nitro-name label { display: inline-flex; align-items: center; gap: 6px; }
.row.wrap { flex-wrap: wrap; }
.np-list li.np-all { color: var(--text-3); font-size: .92em; font-weight: 600; }
.np-card.best .np-list .i { color: #facc15; }
.np-compare th.life { color: #facc15; }
.np-compare td.life { background: rgba(250, 204, 21, .06); }
.np-compare td.life .i { color: #facc15; }
/* Effekt-Auswahl: Stufe + Schloss */
.fx-pick .bga small.fx-tier { font-size: .68em; font-weight: 700; padding: 1px 6px; border-radius: 99px; margin-top: 2px; }
.fx-tier.t1 { background: rgba(56, 189, 248, .16); color: #38bdf8; }
.fx-tier.t2 { background: rgba(192, 132, 252, .16); color: #c084fc; }
.fx-tier.t3 { background: rgba(250, 204, 21, .16); color: #facc15; }
.fx-pick .bga.fx-locked { opacity: .55; }
.fx-pick .bga.fx-locked:hover { opacity: .8; }
/* Premium-Effekte (Avatar-Rahmen) */
.fx-aurora > .avatar { animation: fxAurora 6s linear infinite; }
@keyframes fxAurora { 0%, 100% { box-shadow: 0 0 0 3px #22d3ee, 0 0 26px rgba(34, 211, 238, .7); } 33% { box-shadow: 0 0 0 3px #4ade80, 0 0 26px rgba(74, 222, 128, .7); } 66% { box-shadow: 0 0 0 3px #a78bfa, 0 0 26px rgba(167, 139, 250, .7); } }
.fx-neon > .avatar { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d946ef, 0 0 18px #d946ef, 0 0 36px rgba(217, 70, 239, .6); animation: fxNeon 1.8s ease-in-out infinite; }
@keyframes fxNeon { 50% { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #22d3ee, 0 0 18px #22d3ee, 0 0 36px rgba(34, 211, 238, .6); } }
.fx-bubbles > .avatar { box-shadow: 0 0 0 3px #7dd3fc, 0 0 20px rgba(125, 211, 252, .6); }
.fx-galaxy > .avatar { box-shadow: 0 0 0 3px #6366f1, 0 0 0 6px rgba(236, 72, 153, .45), 0 0 30px rgba(99, 102, 241, .8); animation: fxPulse2 3s ease-in-out infinite; }
@keyframes fxPulse2 { 50% { box-shadow: 0 0 0 3px #ec4899, 0 0 0 6px rgba(99, 102, 241, .45), 0 0 38px rgba(236, 72, 153, .8); } }
.fx-lightning > .avatar { box-shadow: 0 0 0 3px #fde047, 0 0 22px rgba(253, 224, 71, .7); animation: fxZap 2.6s steps(1) infinite; }
@keyframes fxZap { 0%, 100% { box-shadow: 0 0 0 3px #fde047, 0 0 22px rgba(253, 224, 71, .7); } 46% { box-shadow: 0 0 0 4px #fff, 0 0 40px #fde047, 0 0 60px rgba(96, 165, 250, .9); } 50% { box-shadow: 0 0 0 3px #fde047, 0 0 22px rgba(253, 224, 71, .7); } 54% { box-shadow: 0 0 0 4px #fff, 0 0 40px #60a5fa; } }
.fx-sakura > .avatar { box-shadow: 0 0 0 3px #f9a8d4, 0 0 22px rgba(249, 168, 212, .7); }
.fx-pixel > .avatar { box-shadow: 0 0 0 3px #22c55e, 4px 4px 0 3px #16a34a, -4px -4px 0 3px #4ade80; border-radius: 6px !important; }
.fx-smoke > .avatar { box-shadow: 0 0 0 3px #94a3b8, 0 -8px 26px rgba(148, 163, 184, .7), 0 0 40px rgba(100, 116, 139, .5); animation: fxSmoke 4s ease-in-out infinite; }
@keyframes fxSmoke { 50% { box-shadow: 0 0 0 3px #cbd5e1, 0 -14px 32px rgba(203, 213, 225, .6), 0 0 46px rgba(100, 116, 139, .6); } }
.fx-crown > .avatar { box-shadow: 0 0 0 3px #facc15, 0 0 0 6px rgba(250, 204, 21, .35), 0 0 30px rgba(250, 204, 21, .75); }
.fx-diamond > .avatar { box-shadow: 0 0 0 3px #e0e7ff, 0 0 0 6px rgba(165, 180, 252, .5), 0 0 34px rgba(165, 180, 252, .9); animation: fxPulse3 2.6s ease-in-out infinite; }
@keyframes fxPulse3 { 50% { box-shadow: 0 0 0 3px #fff, 0 0 0 7px rgba(103, 232, 249, .55), 0 0 44px rgba(103, 232, 249, .9); } }
.fx-phoenix > .avatar { box-shadow: 0 0 0 3px #f97316, 0 0 0 6px rgba(250, 204, 21, .4), 0 -10px 30px #ef4444, 0 0 46px rgba(249, 115, 22, .8); animation: fxFlick 1.4s ease-in-out infinite; }
.fx-bubbles, .fx-sakura, .fx-crown, .fx-diamond, .fx-phoenix, .fx-galaxy, .fx-lightning, .fx-smoke { position: relative; }
.fx-bubbles::after, .fx-sakura::after, .fx-crown::after, .fx-diamond::after, .fx-phoenix::after, .fx-galaxy::after, .fx-lightning::after { position: absolute; right: 2px; top: -4px; font-size: 22px; z-index: 3; pointer-events: none; animation: fxFloat 2.4s ease-in-out infinite; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fx-bubbles::after { content: '🫧'; }
.fx-sakura::after { content: '🌸'; }
.fx-galaxy::after { content: '🪐'; }
.fx-lightning::after { content: '⚡'; }
.fx-crown::after { content: '👑'; top: -12px; right: 50%; transform: translateX(50%); animation: none; }
.fx-diamond::after { content: '💎'; }
.fx-phoenix::after { content: '🔥'; }
.fxp-av.fx-bubbles::after, .fxp-av.fx-sakura::after, .fxp-av.fx-diamond::after, .fxp-av.fx-phoenix::after, .fxp-av.fx-galaxy::after, .fxp-av.fx-lightning::after { font-size: 13px; right: -4px; top: -4px; }
.fxp-av.fx-crown::after { font-size: 14px; top: -10px; }
.fx-pick { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }

/* ===== 2026-11-13 Entwickler-Plattform: Entwickler-Tab, Bot hinzufügen ===== */
.bot-badge.app { margin-left: 4px; vertical-align: 2px; background: linear-gradient(135deg, #5b8cff, #2ee6a8); color: #06121f; }
.dev-hero { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px; margin-bottom: 12px; background: linear-gradient(135deg, rgba(91, 140, 255, .16), rgba(46, 230, 168, .1)); border: 1px solid var(--line); }
.dev-hero p { margin: 4px 0 0; }
.dev-new { margin-bottom: 4px; }
.dev-apps { display: grid; gap: 12px; margin-top: 10px; }
.dev-app header b { display: inline-flex; align-items: center; gap: 4px; }
.dev-app .acc-box { display: grid; gap: 10px; }
.dev-app label.row { align-items: center; font-weight: 500; }
.dev-ic { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; flex: none; }
.dev-ic.ph { display: inline-grid; place-items: center; background: linear-gradient(135deg, #5b8cff, #2ee6a8); color: #06121f; font-weight: 800; font-size: 13px; }
.dev-ic.big { width: 64px; height: 64px; border-radius: 18px; font-size: 20px; }
.dev-id code, .dev-token code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .92em; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, .3); word-break: break-all; }
.dev-token { padding: 14px; border-radius: 14px; margin: 10px 0; border: 1px solid rgba(250, 204, 21, .5); background: rgba(250, 204, 21, .08); }
.dev-token p { margin: 6px 0 10px; font-size: .9em; }
.dev-token code { display: block; padding: 9px 10px; user-select: all; }
.addbot .ab-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.addbot .ab-head b { display: flex; align-items: center; gap: 4px; font-size: 1.15em; }
.addbot .ab-head small { color: var(--text-3); }
.addbot .ab-desc { margin: 0 0 10px; color: var(--text-2); }
.addbot .ab-note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(91, 140, 255, .1); font-size: .88em; color: var(--text-2); margin-bottom: 12px; }
.addbot select { width: 100%; }

/* 2026-11-13 Kamera drehen (Handy/Tablet) */
.vp-actions:has(.flip-btn) { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 5px; }
.flip-btn.spin .vp-e, .flip-round.spin .vp-e { display: inline-block; animation: flipSpin .6s linear infinite; }
@keyframes flipSpin { to { transform: rotate(360deg); } }

/* 2026-11-13 Kamera-Menü */
.modal.cam-menu { max-width: 440px; }
.cam-menu.cm-busy #cm-body { opacity: .6; pointer-events: none; }
.cm-prev { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; margin-bottom: 12px; }
.cm-prev.portrait { aspect-ratio: 9 / 16; max-height: 46vh; margin-left: auto; margin-right: auto; }
.cm-prev video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-prev.mirror video { transform: scaleX(-1); }
.cm-paused { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); font-weight: 700; }
.cm-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin: 8px 0; }
.cm-seg button { height: 40px; border-radius: 11px; background: var(--bg-3); color: var(--text-2); font-weight: 600; border: 1px solid transparent; }
.cm-seg button.on { background: rgba(var(--accent-rgb), .18); color: var(--text); border-color: rgba(var(--accent-rgb), .5); }
.cm-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 10px 0; font-weight: 600; }
.cm-row select { grid-column: 2 / 4; }
.cm-row output { min-width: 32px; text-align: right; color: var(--text-3); font-variant-numeric: tabular-nums; }
.cm-row.cm-sw { grid-template-columns: 1fr auto; }

/* 2026-11-13 klare Anruf-Symbole: aus = rot durchgestrichen */
svg.ci { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
svg.ci .ci-x { stroke: #ff4d5e; stroke-width: 2.4; }
svg.ci .ci-x-bg { stroke: var(--bg-1, #10131c); stroke-width: 5.5; }
.round svg.ci { width: 24px; height: 24px; }
.round.off svg.ci .ci-x-bg { stroke: #2a1a20; }
.round.off { color: #ff8a96; }
.round.cam-btn.cam-off svg.ci { color: var(--text-2); }
.round.danger svg.ci { fill: currentColor; stroke: none; width: 26px; height: 26px; }
.icon-btn svg.ci { width: 20px; height: 20px; }
.icon-btn.danger svg.ci { fill: currentColor; stroke: none; }
.icon-btn.bad svg.ci .ci-x-bg { stroke: var(--bg-2, #161a26); }
svg.ci.red { color: #ff4d5e; }
.vu-ic svg.ci, .vc-user svg.ci { width: 15px; height: 15px; }

/* 2026-11-13 Lesebestätigungen aus für … */
.rc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.rc-custom input[type=number] { width: 90px; }
.rc-until { display: inline-block; margin-top: 4px; color: var(--warn, #ffc247); font-weight: 600; }

/* 2026-11-13 Knöpfe auf dem eigenen Kamerabild */
.tile-camctl { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; z-index: 4; }
.tile-camctl .tc-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.tile-camctl .tc-btn:active { transform: scale(.92); }
.tile-camctl .tc-btn.spin { animation: flipSpin .6s linear infinite; }

/* ---- 2026-11-22: Anmeldung per QR-Code / Gerät verbinden */
.auth-qr { width: 100%; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.qrl-card h2 { display: flex; align-items: center; gap: 10px; }
.qrl-box { display: flex; gap: 18px; align-items: center; margin: 16px 0 10px; flex-wrap: wrap; justify-content: center; }
.qrl-img { width: 196px; height: 196px; border-radius: 16px; background: #fff; padding: 10px; display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.25); flex: none; }
.qrl-img img { width: 100%; height: 100%; image-rendering: pixelated; display: block; user-select: none; }
.qrl-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #d7dbe8; border-top-color: #5865f2; animation: qrl-spin .8s linear infinite; }
@keyframes qrl-spin { to { transform: rotate(360deg); } }
.qrl-side { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.qrl-side small { color: var(--text-2); }
.qrl-code { font: 700 1.9em/1.1 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: .08em; color: var(--text-1, inherit); user-select: all; }
.qrl-timer { font-size: .8em; }
.qrl-steps { margin: 6px 0 8px; padding-left: 20px; color: var(--text-2); line-height: 1.55; }
.qrl-steps b { color: var(--text-1, inherit); }
.qrl-status { min-height: 0; border-radius: 10px; font-size: .92em; }
.qrl-status.on, .qrl-status.bad { padding: 10px 12px; margin-top: 8px; }
.qrl-status.on { background: color-mix(in srgb, var(--accent, #5865f2) 18%, transparent); }
.qrl-status.bad { background: rgba(237, 66, 69, .15); }
.ld-cam { position: relative; display: none; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 4 / 3; margin: 6px 0 10px; }
.ld-cam.on { display: block; }
.ld-cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-frame { position: absolute; inset: 16% 22%; border: 3px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); pointer-events: none; }
.ld-hint { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; color: #fff; font-size: .85em; text-shadow: 0 1px 3px #000; pointer-events: none; }
.ld-cam-x { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.55) !important; color: #fff !important; }
.ld-scan { width: 100%; }
.ld-or { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .85em; margin: 14px 0 10px; }
.ld-or::before, .ld-or::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .25; }
.ld-form { display: flex; gap: 8px; }
.ld-input { flex: 1; min-width: 0; font: 700 1.3em ui-monospace, 'Cascadia Mono', Consolas, monospace !important; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.ld-confirm { text-align: center; }
.ld-dev { width: 64px; height: 64px; margin: 4px auto 8px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent, #5865f2) 20%, transparent); }
.ld-dev.ok { background: rgba(35, 165, 90, .22); color: #3ba55d; }
.ld-info { display: grid; gap: 6px; text-align: left; margin: 12px 0; padding: 12px; border-radius: 12px; background: rgba(127,127,127,.1); }
.ld-info small { display: inline-block; width: 64px; color: var(--text-2); }
.ld-warn { text-align: left; font-size: .88em; padding: 10px 12px; border-radius: 10px; background: rgba(250, 166, 26, .14); line-height: 1.45; }
@media (max-width: 760px) { .qrl-img { width: 170px; height: 170px; } .qrl-side { align-items: center; text-align: center; } }

/* 2026-11-22b: QR-Karte in Konto & Sicherheit + „Bist du das?“ */
.acc-qr-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; margin: 0 0 14px; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #5865f2) 22%, transparent), color-mix(in srgb, var(--accent, #5865f2) 6%, transparent)); border: 1px solid color-mix(in srgb, var(--accent, #5865f2) 35%, transparent); }
.acc-qr-card .aqc-ic { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: #fff; color: #0b0d14; }
.acc-qr-card b { display: block; font-size: 1.05em; }
.acc-qr-card small { display: block; color: var(--text-2); margin-top: 3px; line-height: 1.4; }
.aqc-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ld-who { margin: 2px 0 8px; }
.ld-acc { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(127,127,127,.12); text-align: left; }
.ld-acc b { display: block; } .ld-acc small { color: var(--text-2); }
@media (max-width: 760px) { .acc-qr-card { flex-direction: column; } .aqc-btns { width: 100%; } .aqc-btns .btn { flex: 1; justify-content: center; } }
.ld-confirm .modal-foot { flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .ld-confirm .modal-foot { flex-direction: column-reverse; } .ld-confirm .modal-foot .grow { display: none; } .ld-confirm .modal-foot .btn { width: 100%; justify-content: center; } }

/* 2026-11-22c: Passkeys */
.auth-pk { width: 100%; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pk-where { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pk-where span { font-size: .8em; padding: 4px 10px; border-radius: 999px; background: rgba(127,127,127,.12); }
.pk-ic { font-size: 1.25em; }
.pk-foot { margin-top: 10px; }
.pk-how { margin-top: 12px; font-size: .9em; color: var(--text-2); }
.pk-how summary { cursor: pointer; font-weight: 600; color: var(--text-1, inherit); }
.pk-how ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.5; }
.pk-how b { color: var(--text-1, inherit); }
