/* VexoClient Dashboard – dunkel mit lila Verlaeufen */
:root {
  --bg: #050409;
  --side: #120d1f;
  --card: rgba(20, 16, 32, .72);
  --card2: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(167, 139, 250, .45);
  --text: #f1eefb;
  --dim: #a7a2bd;
  --mut: #77728d;
  --acc: #8b5cf6;
  --acc2: #a855f7;
  --acc3: #c026d3;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --r: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }

.db { display: block; min-height: 100vh; }

/* ---------- Seitenleiste */
.db-side {
  position: fixed; top: 0; left: 0; bottom: 0; width: 288px; z-index: 30; display: flex; flex-direction: column;
  padding: 22px 12px 14px; border-right: 1px solid var(--line);
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(124, 58, 237, .35), transparent 60%),
    radial-gradient(90% 50% at 100% 100%, rgba(192, 38, 211, .18), transparent 60%),
    var(--side);
  overflow-y: auto;
}
.db-brand { display: flex; align-items: center; gap: 12px; padding: 4px 12px 26px; text-decoration: none; }
.db-brand img { border-radius: 10px; filter: drop-shadow(0 6px 18px rgba(139, 92, 246, .45)); }
.db-brand b { display: block; font-size: 19px; color: #b79cff; letter-spacing: .2px; }
.db-brand small { display: block; font-size: 12.5px; color: var(--dim); margin-top: -2px; }
.db-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.db-label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--mut); padding: 18px 12px 6px; }
.db-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid transparent; background: none; text-align: left; cursor: pointer;
  color: #d9d4ea; font-weight: 600; font-size: 14.5px; text-decoration: none; transition: background .15s, border-color .15s;
}
.db-link svg { width: 19px; height: 19px; flex: none; opacity: .85; }
.db-link:hover { background: rgba(255, 255, 255, .05); }
.db-link.on {
  color: #fff; border-color: rgba(139, 92, 246, .75);
  background: linear-gradient(90deg, rgba(139, 92, 246, .26), rgba(139, 92, 246, .08));
  box-shadow: inset 3px 0 0 var(--acc), 0 0 22px rgba(139, 92, 246, .18);
}
.db-link .db-badge { margin-left: auto; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--acc); color: #fff; }
.db-user {
  display: flex; align-items: center; gap: 11px; padding: 12px 8px 2px; margin-top: 14px; border-top: 1px solid var(--line);
}
.db-user img, .db-user .db-ava { width: 36px; height: 36px; border-radius: 50%; flex: none; background: #2a2340; }
.db-ava { display: grid; place-items: center; font-weight: 700; color: #cbb8ff; }
.db-user b { display: block; font-size: 14px; }
.db-user small { display: block; font-size: 12px; color: var(--acc2); margin-top: -2px; }
.db-user .db-tools { margin-left: auto; display: flex; gap: 4px; }
.db-icon { width: 30px; height: 30px; border-radius: 8px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--dim); }
.db-icon:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.db-icon svg { width: 17px; height: 17px; }
.db-icon.bad { color: #ff6b8b; }

/* ---------- Inhalt */
.db-main {
  margin-left: 288px; min-height: 100vh;
  padding: 40px 34px 60px; min-width: 0; outline: none; background-attachment: fixed;
  background:
    radial-gradient(60% 45% at 18% 0%, rgba(124, 58, 237, .22), transparent 70%),
    radial-gradient(55% 55% at 85% 100%, rgba(192, 38, 211, .20), transparent 70%),
    var(--bg);
}
.db-h1 { font-size: 30px; font-weight: 750; margin: 0; letter-spacing: -.3px; }
.db-sub { color: var(--dim); margin: 4px 0 30px; }
.db-grid { display: grid; gap: 20px; }
.db-grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.db-grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.db-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
  backdrop-filter: blur(8px); box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.db-card.narrow { max-width: 670px; }
.db-card h2 { font-size: 19px; margin: 0 0 16px; }
.db-card h3 { font-size: 15.5px; margin: 0 0 6px; }
.db-muted { color: var(--dim); }
.db-small { font-size: 12.5px; color: var(--mut); }
.db-prod { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.db-prod img { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: #0d0a17; padding: 6px; }
.db-prod b { font-size: 20px; }
.db-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px; border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, .55); cursor: pointer; text-decoration: none; font-weight: 700; font-size: 17px; color: #fff;
  background: linear-gradient(90deg, #7c4dff, #8b2fc9 60%, #a21caf);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .22), 0 12px 30px rgba(139, 92, 246, .35); transition: filter .15s, transform .15s;
}
.db-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.db-btn svg { width: 20px; height: 20px; }
.db-btn.ghost { background: rgba(255, 255, 255, .05); border-color: var(--line); box-shadow: none; font-size: 14.5px; padding: 11px 14px; }
.db-btn.small { width: auto; font-size: 14px; padding: 9px 14px; }
.db-under { text-align: center; margin-top: 12px; font-size: 12.5px; color: var(--mut); }
.db-under a { color: #d6cff0; }

.db-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.db-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.db-num {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700;
  color: #c4b5fd; border: 1px solid rgba(139, 92, 246, .55); background: rgba(139, 92, 246, .12);
}
.db-steps b { color: #fff; }
.db-steps kbd, .db-kbd { font: 600 12.5px ui-monospace, monospace; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); }

.db-stat { display: flex; flex-direction: column; gap: 4px; }
.db-stat .v { font-size: 28px; font-weight: 750; }
.db-stat .k { color: var(--dim); font-size: 13px; }
.db-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }

.db-tools-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.db-search {
  flex: 1; min-width: 220px; padding: 11px 14px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text);
}
.db-search:focus { outline: none; border-color: var(--line2); box-shadow: 0 0 0 3px rgba(139, 92, 246, .18); }
.db-chip {
  padding: 8px 13px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; font-size: 13.5px; color: var(--dim);
}
.db-chip.on { color: #fff; border-color: rgba(139, 92, 246, .8); background: rgba(139, 92, 246, .22); }
.db-feat { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card2); }
.db-feat .cat { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: #b79cff; text-transform: uppercase; }
.db-feat p { margin: 0; color: var(--dim); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.db-feat.open p { -webkit-line-clamp: unset; }

.db-res { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card2); transition: border-color .15s, transform .15s; }
.db-res:hover { border-color: var(--line2); transform: translateY(-2px); }
.db-res .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(139, 92, 246, .16); color: #c4b5fd; flex: none; }
.db-res .ic svg { width: 20px; height: 20px; }
.db-res p { margin: 2px 0 0; color: var(--dim); font-size: 13.5px; }

details.db-faq { border: 1px solid var(--line); border-radius: 12px; background: var(--card2); padding: 0 16px; margin-bottom: 10px; }
details.db-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; }
details.db-faq summary::after { content: "+"; float: right; color: var(--mut); }
details.db-faq[open] summary::after { content: "–"; }
details.db-faq p { margin: 0 0 14px; color: var(--dim); white-space: pre-line; }

.db-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.db-table th { text-align: left; color: var(--mut); font-weight: 600; font-size: 12.5px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.db-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
.db-pill { font-size: 12px; padding: 2px 9px; border-radius: 99px; background: rgba(255, 255, 255, .07); }
.db-pill.ok { background: rgba(52, 211, 153, .15); color: var(--ok); }
.db-pill.warn { background: rgba(251, 191, 36, .14); color: var(--warn); }
.db-empty { text-align: center; padding: 28px 10px; color: var(--dim); }
.db-log { margin: 0; padding-left: 18px; color: var(--dim); }
.db-log li { margin: 4px 0; }

/* Anmelde-Box aus kunde.js angleichen */
.authbox { background: transparent !important; border: 0 !important; padding: 0 !important; }
.kin { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); margin-bottom: 10px; }
.kbtn { padding: 11px 16px; border-radius: 10px; border: 0; cursor: pointer; font-weight: 700; color: #fff; background: linear-gradient(90deg, #7c4dff, #a21caf); }
.kbtn.ghost, .kghost { background: rgba(255, 255, 255, .06); }
.kerr { color: var(--bad); min-height: 1em; margin: 4px 0; }
.kmuted { color: var(--dim); }
.kform { display: flex; flex-direction: column; }
.vxtoast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(30px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 12px; background: #1e1830; border: 1px solid var(--line2); transition: .25s; z-index: 50;
}
.vxtoast.show { opacity: 1; transform: translateX(-50%); }
.vxtoast.bad { border-color: var(--bad); }

.db-burger { display: none; }
@media (max-width: 900px) {
  .db-side { z-index: 40; width: 280px; transform: translateX(-100%); transition: transform .2s; }
  .db-side.open { transform: none; box-shadow: 0 0 60px rgba(0, 0, 0, .6); }
  .db-burger {
    display: block; position: fixed; top: 14px; left: 14px; z-index: 45; width: 42px; height: 42px; border-radius: 11px;
    border: 1px solid var(--line); background: #150f24; font-size: 18px; cursor: pointer;
  }
  .db-main { margin-left: 0; padding: 74px 18px 50px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.klink { background: none; border: 0; color: #c4b5fd; cursor: pointer; padding: 10px 0 0; text-decoration: underline; text-underline-offset: 3px; }
.klink:hover { color: #fff; }
.kbtn.acc { width: 100%; }
.db-search-btn { margin-bottom: 10px; color: var(--dim); border-color: var(--line); background: rgba(255, 255, 255, .03); }
.db-search-btn kbd { margin-left: auto; font: 600 11px ui-monospace, monospace; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--mut); }
.db-os { display: flex; gap: 8px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.db-os a { font-size: 13px; color: var(--dim); padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; }
.db-os a:hover { color: #fff; border-color: var(--line2); }
.db-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); margin-bottom: 18px; }
.db-status { text-decoration: none; color: var(--dim); }

/* ---------- Profil (verspielt) */
.db-grid.four { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.db-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.db-hero { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.db-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 38, 211, .25), transparent 65%); pointer-events: none;
}
.db-skin { display: grid; place-items: center; height: 220px; border-radius: 14px; position: relative;
  background: radial-gradient(60% 50% at 50% 85%, rgba(139, 92, 246, .45), transparent 70%); }
.db-skin img { height: 200px; image-rendering: pixelated; animation: db-bob 4s ease-in-out infinite; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .55)); }
@keyframes db-bob { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.db-hero-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.db-hero-name h2 { margin: 0; font-size: 26px; }
.db-tag { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--dim); }
.db-tag.gold { color: #fbbf24; border-color: rgba(251, 191, 36, .45); background: rgba(251, 191, 36, .1); }
.db-tag.ok { color: var(--ok); border-color: rgba(52, 211, 153, .4); }
.db-level { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.db-lv { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; align-content: center; flex: none;
  background: linear-gradient(135deg, #7c4dff, #c026d3); box-shadow: 0 0 0 3px rgba(139, 92, 246, .25), 0 10px 26px rgba(192, 38, 211, .35); }
.db-lv small { font-size: 9.5px; letter-spacing: .12em; opacity: .85; }
.db-lv b { font-size: 26px; line-height: 1; }
.db-xpbar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-bottom: 6px; }
.db-xpbar.small { height: 6px; margin: 8px 0 4px; }
.db-xpbar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #8b5cf6, #d946ef); position: relative;
  box-shadow: 0 0 12px rgba(217, 70, 239, .6); animation: db-grow 1s cubic-bezier(.2, .8, .2, 1); }
@keyframes db-grow { from { width: 0 !important; } }
.db-mini { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); display: flex; flex-direction: column; }
.db-mini .v { font-size: 22px; font-weight: 750; }
.db-mini .k { font-size: 12.5px; color: var(--dim); }
.db-ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.db-badge-card { text-align: center; padding: 14px 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); opacity: .5; filter: grayscale(1); transition: transform .15s; }
.db-badge-card.on { opacity: 1; filter: none; border-color: rgba(167, 139, 250, .5); background: linear-gradient(180deg, rgba(139, 92, 246, .16), rgba(139, 92, 246, .03)); }
.db-badge-card.on:hover { transform: translateY(-3px) rotate(-1deg); }
.db-badge-card .e { display: block; font-size: 28px; margin-bottom: 4px; }
.db-badge-card.on .e { animation: db-pop .6s ease; }
@keyframes db-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.2); } }
.db-badge-card b { display: block; font-size: 13px; }
.db-badge-card small { font-size: 11px; color: var(--mut); }
.db-tiers { display: grid; gap: 12px; }
.db-tier { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.db-tier .row { display: flex; justify-content: space-between; font-size: 14px; }
.db-tier.done { border-color: rgba(52, 211, 153, .4); }
.db-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.db-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px 12px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; text-align: center; transition: transform .15s, border-color .15s; }
.db-item::after { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 2px; border-radius: 2px; background: var(--rc); opacity: .8; }
.db-item:hover { transform: translateY(-3px); border-color: var(--line2); }
.db-item img { width: 64px; height: 64px; image-rendering: pixelated; transition: transform .2s; }
.db-item:hover img { transform: scale(1.1) rotate(-4deg); }
.db-item b { font-size: 13.5px; }
.db-item small { font-size: 11.5px; color: var(--mut); }
.db-item.on { border-color: rgba(52, 211, 153, .65); background: linear-gradient(180deg, rgba(52, 211, 153, .12), rgba(52, 211, 153, .02)); }
.db-on { position: absolute; top: 8px; right: 8px; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; color: #062; background: var(--ok); padding: 2px 6px; border-radius: 6px; }
.db-me { display: flex; align-items: center; gap: 14px; width: 100%; margin-bottom: 20px; cursor: pointer; text-align: left; color: inherit; }
.db-me img { width: 48px; height: 48px; border-radius: 10px; image-rendering: pixelated; }
.db-me:hover { border-color: var(--line2); }
.db-confetti { position: fixed; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; z-index: 99; animation: db-conf 1s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes db-conf { to { transform: translate(var(--dx), calc(var(--dy) + 140px)) rotate(var(--rot)); opacity: 0; } }
@media (max-width: 700px) { .db-hero { grid-template-columns: 1fr; } .db-skin { height: 170px; } .db-skin img { height: 150px; } }
.db-item-ph { width: 64px; height: 64px; display: grid; place-items: center; font-size: 34px; }

/* Seitenleiste scrollt selbst, wenn sie hoeher als das Fenster ist */
.db-side { overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(167, 139, 250, .35) transparent; }

/* ---------- Video-Anleitungen */
.db-tut { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center; text-align: left; padding: 12px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--card); cursor: pointer; color: inherit; transition: transform .15s, border-color .15s; }
.db-tut:hover { transform: translateY(-3px); border-color: var(--line2); }
.db-tut .thumb { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #0d0a17; }
.db-tut .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.db-tut:hover .thumb img { transform: scale(1.05); }
.db-tut .playbtn { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #7c4dff, #c026d3); box-shadow: 0 0 0 5px rgba(139, 92, 246, .3); font-size: 16px; padding-left: 3px; }
.db-tut .len { position: absolute; right: 6px; bottom: 6px; font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .7); }
.db-tut .cat { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: #b79cff; text-transform: uppercase; }
.db-tut b { display: block; font-size: 16.5px; margin: 2px 0 4px; }
.db-tut p { margin: 0; color: var(--dim); font-size: 13.5px; }
.db-player { margin-bottom: 20px; }
.db-player-grid { display: grid; grid-template-columns: 1fr 260px; gap: 18px; }
.db-video video { width: 100%; border-radius: 12px; background: #000; display: block; aspect-ratio: 16 / 9; }
.db-chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.db-chapters button { width: 100%; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 9px; border: 1px solid transparent; background: none; cursor: pointer; text-align: left; color: var(--dim); font-size: 13.5px; }
.db-chapters button:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.db-chapters li.on button { color: #fff; border-color: rgba(139, 92, 246, .6); background: rgba(139, 92, 246, .16); }
.db-chapters .tm { font: 600 12px ui-monospace, monospace; color: #b79cff; min-width: 34px; }
@media (max-width: 1000px) { .db-player-grid { grid-template-columns: 1fr; } .db-tut { grid-template-columns: 1fr; } }
.db-tuts { grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); }
@media (max-width: 700px) { .db-tuts { grid-template-columns: 1fr; } }

/* ---------- Freunde */
.db-badge.ok { background: var(--ok); color: #052; }
.db-friends { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.db-friend { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.db-friend .pic { position: relative; flex: none; }
.db-friend .pic img, .db-friend .pic .db-ava { width: 40px; height: 40px; border-radius: 10px; image-rendering: pixelated; }
.db-friend .dot { position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; border: 3px solid #120e1f; background: #5d5873; }
.db-friend.on .dot { background: var(--ok); }
.db-friend.game .dot { background: #a78bfa; box-shadow: 0 0 10px #a78bfa; }
.db-friend.away .dot { background: var(--warn); }
.db-friend.dnd .dot { background: var(--bad); }
.db-friend.off { opacity: .65; }
.db-friend .who { flex: 1; min-width: 0; }
.db-friend .who small { display: block; color: var(--dim); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-friend .who small.music { color: #34d399; }
/* ---------- Neuigkeiten */
.db-news { display: flex; flex-direction: column; gap: 6px; }
.db-news .cover { width: calc(100% + 48px); margin: -24px -24px 12px; height: 160px; object-fit: cover; border-radius: 16px 16px 0 0; }
.db-news h3 { font-size: 18px; margin: 4px 0; }
.db-news .txt { margin: 0; color: var(--dim); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.db-news.big { grid-column: 1 / -1; }
/* ---------- Shop */
.db-offer { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03); text-decoration: none; overflow: hidden; transition: transform .15s, border-color .15s; }
.db-offer:hover { transform: translateY(-3px); border-color: var(--line2); }
.db-offer.deal { border-color: rgba(251, 191, 36, .45); background: linear-gradient(180deg, rgba(251, 191, 36, .08), transparent 60%); }
.db-offer .ribbon { position: absolute; top: 12px; right: -30px; transform: rotate(35deg); padding: 3px 34px; background: #f59e0b; color: #1a0f00; font-weight: 800; font-size: 12px; }
.db-offer .pic { height: 90px; display: grid; place-items: center; font-size: 40px; }
.db-offer .pic img { max-height: 90px; image-rendering: pixelated; }
.db-offer p { margin: 0; color: var(--dim); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.db-offer .price { margin-top: auto; display: flex; gap: 10px; align-items: baseline; font-weight: 800; color: #fbbf24; }
.db-offer .price s { color: var(--mut); font-weight: 500; }

/* ---------- Clips & Bilder */
.db-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.db-media { all: unset; cursor: pointer; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: var(--card); transition: transform .15s, border-color .15s; }
.db-media:hover, .db-media:focus-visible { transform: translateY(-3px); border-color: var(--line2); }
.db-media.removed { opacity: .5; }
.db-media .pic { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1d1630, #120e1f); display: grid; place-items: center; }
.db-media .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.db-media .play { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; padding-left: 3px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 17px; backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, .25); }
.db-media .dur { position: absolute; right: 8px; bottom: 8px; padding: 1px 7px; border-radius: 6px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 12px; font-weight: 700; }
.db-media .meta { padding: 11px 13px 13px; display: grid; gap: 3px; }
.db-media .meta b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-media .meta small { color: var(--dim); font-size: 12.5px; }
.db-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); margin-top: 6px; max-width: 360px; overflow: hidden; }
.db-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8b5cf6, #d946ef); }
.db-lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(5, 3, 12, .86); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 24px;
  animation: dbfade .18s ease; }
@keyframes dbfade { from { opacity: 0; } }
.db-lightbox .box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 320px; max-width: 1280px; width: 100%; max-height: calc(100vh - 48px);
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line2); background: #0d0a17; }
.db-lightbox .stage { display: grid; place-items: center; background: #000; min-height: 300px; }
.db-lightbox .stage img, .db-lightbox .stage video { max-width: 100%; max-height: calc(100vh - 48px); display: block; }
.db-lightbox .side { padding: 22px; display: flex; flex-direction: column; gap: 10px; overflow: auto; }
.db-lightbox .who { display: flex; gap: 10px; align-items: center; }
.db-lightbox .who img { border-radius: 8px; image-rendering: pixelated; }
.db-lightbox .who small { display: block; color: var(--dim); font-size: 12px; }
.db-lightbox h3 { margin: 6px 0 0; font-size: 19px; word-break: break-word; }
.db-lightbox .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.db-lightbox .own { display: grid; gap: 6px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.db-lightbox select.db-search { appearance: auto; }
.db-lightbox .liked { color: #f472b6; border-color: rgba(244, 114, 182, .5); }
.db-lightbox .danger { color: #fca5a5; }
.db-lightbox .db-link.small { all: unset; cursor: pointer; margin-top: auto; color: var(--mut); font-size: 12.5px; text-decoration: underline; }
.db-lightbox .x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .6); color: #fff; font-size: 22px; line-height: 1; }
@media (max-width: 860px) { .db-lightbox .box { grid-template-columns: 1fr; overflow: auto; } }

/* ---------- Roadmap */
.db-road-sum { margin-bottom: 18px; color: var(--dim); }
.db-road-sum b { color: #fff; }
.db-road-h { font-size: 17px; margin: 22px 0 10px; }
.db-road { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.db-road-i { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.db-road-i.done { border-color: rgba(52, 211, 153, .35); background: linear-gradient(90deg, rgba(52, 211, 153, .07), transparent 60%); }
.db-road-i .num { flex: none; width: 34px; color: var(--mut); font: 600 12px ui-monospace, monospace; }
.db-road-i .txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.db-road-i small { color: var(--dim); font-size: 12.5px; }
.db-tag.ok { background: rgba(52, 211, 153, .15); color: #6ee7b7; border-color: rgba(52, 211, 153, .4); }
.db-vote { flex: none; min-width: 52px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03);
  color: var(--dim); font: 700 13px inherit; cursor: pointer; transition: .15s; }
.db-vote:hover { color: #fff; border-color: #8b5cf6; }
.db-vote.on { color: #fff; background: linear-gradient(135deg, #7c3aed, #c026d3); border-color: transparent; }

/* ---------- Erfolge */
.db-ach-top { display: flex; align-items: center; gap: 22px; margin-bottom: 20px; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.db-ach-ring { --p: 0; flex: none; width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, #120e1f 78%, transparent 80% 100%), conic-gradient(#a78bfa calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); }
.db-ach-ring b { font-size: 22px; }
.db-ach-ring small { color: var(--dim); font-size: 11.5px; }
.db-ach-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.db-ach-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.db-ach-row .e { font-size: 24px; width: 34px; text-align: center; filter: grayscale(1); opacity: .6; }
.db-ach-row.on .e { filter: none; opacity: 1; }
.db-ach-row.on { border-color: rgba(167, 139, 250, .4); }
.db-ach-row .t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.db-ach-row small { color: var(--dim); font-size: 12.5px; }
.db-ach-row .n { color: var(--dim); font-size: 12px; font-weight: 700; white-space: nowrap; }
.db-ach-row.on .n { color: #34d399; }
/* ---------- Clip der Woche */
.db-cotw { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 18px; align-items: center; margin-top: 12px; }
.db-cotw b { font-size: 18px; }
@media (max-width: 760px) { .db-cotw { grid-template-columns: 1fr; } }

/* ---------- Versions-Verlauf */
.db-timeline { position: relative; display: grid; gap: 14px; padding-left: 22px; }
.db-timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: rgba(167, 139, 250, .25); border-radius: 2px; }
.db-tl { position: relative; }
.db-tl .dot { position: absolute; left: -21px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 0 4px rgba(167, 139, 250, .18); }
/* ---------- Bestenliste */
.db-lb { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.db-lb li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.db-lb li.me { border-color: rgba(167, 139, 250, .6); background: rgba(124, 58, 237, .12); }
.db-lb .pos { width: 26px; text-align: center; font-weight: 800; color: var(--dim); }
.db-lb .val { margin-left: auto; color: var(--dim); font-size: 13px; font-weight: 700; }
