@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Comic+Relief:wght@400;700&display=swap');

  :root {
    --purple:  #9146FF;
    --purple2: #7B2FBE;
    --purple3: #B06AFF;
    --light:   #F0EAFF;
    --white:   #ffffff;
    --text:    #1a0533;
    --muted:   #6b5c8a;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { 
    min-height: 100%; 
    background: var(--purple); 
    color: var(--white); 
    font-family: 'Comic Relief', 
    sans-serif; overflow-x: hidden; }
body{
background: linear-gradient(160deg, #7B2FBE 0%, #9146FF 40%, #6441A5 100%);
}
  /* ── NAV ── */
  .header-fixed {
    position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
  }

  .network-header-wrapper {
      width: 100%;
  }

  .network-bar {
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      font-size: 0.7rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      font-family: 'Comic Relief', sans-serif;
  }

  .network-bar a {
      color: rgba(255, 255, 255, 0.5);
      text-decoration: none;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 0.4rem;
  }

  .network-bar a:hover {
      color: #ffffff;
  }

  /* Goldener Accent für die aktive Seite */
  .network-bar a.active, 
  .network-bar a.active i {
      color: #FFD700 !important;
  }

  .network-bar .sep {
      color: rgba(255, 255, 255, 0.1);
      user-select: none;
  }

  nav {
    height: 70px; 
    display: flex; 
    align-items: center; 
    padding: 0 2rem;
    background: rgba(100, 40, 200, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 3px solid #7B2FBE;
  }

  .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  /* ── Background Grid & Glows ── */
  .bg-grid {
      position: fixed; inset: 0;
      /* Etwas kleinere, schärfere Punkte */
      background-image: radial-gradient(rgba(255,255,255,0.12) 1.5px, transparent 1.5px);
      background-size: 30px 30px;
      pointer-events: none; 
      z-index: 1; /* Über den Sektions-Hintergründen */
  }


  /* Sicherstellen, dass die Navigation und wichtige Inhalte über den Dots liegen */
  .header-fixed { z-index: 10000; }
  .hero-inner, .features-grid, .steps-grid, .cta-section > *, footer { 
    position: relative; 
    z-index: 100; 
  }

  /* WICHTIG: Den restlichen Seiteninhalt nach unten schieben */
  .dashboard-sidebar nav {
    position: static;
    height: auto;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
  }
  .dashboard-sidebar .nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    max-width: none;
  }
  .dashboard-sidebar .header-fixed {
      position: static;
  }
  .dashboard-sidebar .network-header-wrapper {
      display: none; /* Hide network bar in sidebar */
  }
  .dashboard-sidebar body { padding-top: 0; } /* Reset for dashboard layout */
  .dashboard-layout { padding-top: 0; }
  body.dashboard-layout { padding-top: 0; }

  .brand { 
    font-family: 'Bangers', cursive; font-size: 2.2rem; letter-spacing: 0.08em; text-decoration: none; color: var(--white); 
    line-height: 1; display: flex; align-items: center; gap: 12px;
  }
  .brand-logo { height: 40px; width: auto; filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.2)); }
  .brand-text { display: flex; flex-direction: column; }
  .brand span { color: #FFD700; }
  .brand-sub { 
    font-family: 'Comic Relief', sans-serif; 
    font-size: 0.8rem; 
    font-style: italic; 
    letter-spacing: 0; 
    text-transform: lowercase; 
    opacity: 0.9; 
    margin-top: -2px;
    font-weight: 700;
  }

  .footer-logo { height: 18px; width: auto; vertical-align: middle; margin-right: 4px; filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.1)); }

  .nav-links { display: flex; align-items: center; gap: 0.5rem; }
  .nav-link { padding: 0.4rem 0.9rem; border-radius: 99px; text-decoration: none; font-size: 0.88rem; font-weight: 700; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.05em; transition: color .2s, background .2s; }
  .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.12); }
  .nav-cta { background: var(--white); color: var(--purple); padding: 0.5rem 1.25rem; border-radius: 99px; font-weight: 700; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; transition: transform .15s, box-shadow .15s; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
  .nav-cta:hover { transform: scale(1.04); box-shadow: 0 6px 24px rgba(0,0,0,0.3); }

  /* ── LANG SWITCH (Pill Style) ── */
  .lang-switch {
    display: flex; gap: 0.4rem; background: rgba(0,0,0,0.2); padding: 0.3rem; border-radius: 99px;
  }
  .lang-btn {
    border: none; background: none; color: rgba(255, 255, 255, 0.6); 
    font-size: 0.75rem; font-weight: 800; cursor: pointer; 
    padding: 0.2rem 0.6rem; border-radius: 99px; transition: all 0.2s;
    font-family: 'Comic Relief', sans-serif;
  }
  .lang-btn.active {
    background: var(--purple) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  .lang-btn:hover:not(.active) {
    color: white;
  }

  /* ── LANG VISIBILITY ── */
  /* Hide English by default if German is active, and vice versa */
  [lang="en"] { display: none; }
  body.lang-en [lang="de"] { display: none; }
  body.lang-en [lang="en"] { display: block; }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative; overflow: hidden;

  }
  .hero-wave {
    position: absolute; bottom: -2px; left: 0; right: 0;
    line-height: 0;
  }
  .hero-wave svg { display: block; width: 100%; }

  /* Floating emojis */
  .floaties { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
  .floaty { position: absolute; font-size: 2.5rem; opacity: 0; animation: floatUp 7s ease-in-out infinite; }
  @keyframes floatUp {
    0%   { opacity: 0; transform: translateY(0) rotate(-10deg); }
    15%  { opacity: 0.5; }
    85%  { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-140px) rotate(15deg); }
  }

  .hero-inner { position: relative; z-index: 1; max-width: 1100px; width: 100%; display: flex; align-items: center; gap: 4rem; }
  .hero-content { flex: 1; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3);
    color: var(--white); font-weight: 700; font-size: 0.82rem;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.4rem 1rem; border-radius: 99px; margin-bottom: 1.25rem;
  }
  .hero h1 {
    font-family: 'Bangers', cursive;
    font-size: clamp(3rem, 9vw, 6rem);
    letter-spacing: 0.06em;
    color: var(--white);
    text-shadow: 4px 4px 0 rgba(0,0,0,0.2);
    margin-bottom: 1rem;
    line-height: 1;
  }
  .hero h1 .yellow { color: #FFD700; }
  .hero-title { display: flex; flex-direction: column; line-height: 0.9; }
  .hero-title-sub {
    font-size: 1.5rem;
    font-family: 'Comic Relief', sans-serif;
    font-style: italic;
    letter-spacing: 0;
    text-transform: lowercase;
    opacity: 0.8;
    margin-top: 10px;
    font-weight: 700;
  }
  .hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 460px; margin-bottom: 2.5rem; line-height: 1.7; font-weight: 700; }
  .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

  .hero-image { flex-shrink: 0; width: 380px; }
  .hero-image img { width: 100%; filter: drop-shadow(0 20px 60px rgba(0,0,0,0.4)); animation: heroFloat 4s ease-in-out infinite alternate; }
  @keyframes heroFloat { from { transform: translateY(0); } to { transform: translateY(-16px); } }

  /* ── BUTTONS ── */
  .btn-white { background: var(--white); color: var(--purple); font-family: 'Comic Relief', sans-serif; font-weight: 700; font-size: 1rem; padding: 0.85rem 2rem; border-radius: 99px; text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; box-shadow: 0 6px 24px rgba(0,0,0,0.25); transition: transform .15s; border: none; cursor: pointer; }
  .btn-white:hover { transform: translateY(-2px); }
  .btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); font-family: 'Comic Relief', sans-serif; font-weight: 700; font-size: 1rem; padding: 0.85rem 2rem; border-radius: 99px; text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; transition: background .15s, border-color .15s, transform .15s; cursor: pointer; }
  .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }
  .btn-purple { background: var(--purple); color: var(--white); font-family: 'Comic Relief', sans-serif; font-weight: 700; font-size: 1rem; padding: 0.85rem 2rem; border-radius: 99px; text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; box-shadow: 0 6px 24px rgba(145,70,255,0.4); transition: transform .15s; border: none; cursor: pointer; }
  .btn-purple:hover { transform: translateY(-2px); }

  /* ── WAVE DIVIDER ── */
  .wave { display: block; width: 100%; overflow: hidden; line-height: 0; }
  .wave svg { display: block; width: 100%; }
  .wave-light { background: var(--light); }
  .wave-purple { background: var(--purple); }

  /* ── FEATURES ── */
  .features { background: var(--light); padding: 5rem 2rem; text-align: center; color: var(--text); }
  .section-eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); margin-bottom: 0.75rem; display: block; }
  .section-title { font-family: 'Bangers', cursive; font-size: clamp(2.5rem, 6vw, 4rem); color: var(--text); margin-bottom: 0.75rem; letter-spacing: 0.06em; }
  .section-sub { color: var(--muted); font-size: 1rem; font-weight: 700; max-width: 480px; margin: 0 auto 3rem; line-height: 1.6; }
  .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
  .feature-card { background: var(--white); border-radius: 20px; padding: 2rem 1.5rem; text-align: left; border: 3px solid transparent; transition: border-color .2s, transform .2s, box-shadow .2s; }
  .feature-card:hover { border-color: var(--purple); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(145,70,255,0.2); }
  .feature-icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; background: var(--light); color: var(--purple); }
  .feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
  .feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; font-weight: 400; }

  /* ── HOW ── */
  .how { background: var(--purple); padding: 5rem 2rem; text-align: center; }
  .how .section-eyebrow { color: #FFD700; }
  .how .section-title { color: var(--white); }
  .how .section-sub { color: rgba(255,255,255,0.7); }
  .steps-grid { display: flex; gap: 1.25rem; max-width: 960px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
  .step-card { background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 2rem 1.5rem; flex: 1; min-width: 200px; max-width: 220px; transition: transform .2s, background .2s; }
  .step-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.18); }
  .step-num { width: 48px; height: 48px; border-radius: 50%; background: #FFD700; color: var(--text); font-family: 'Bangers', cursive; font-size: 1.4rem; letter-spacing: 0.04em; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
  .step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--white); }
  .step-card p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

  /* ── CTA ── */
  .cta-section { background: var(--light); padding: 5rem 2rem; text-align: center; color: var(--text); }
  .cta-section h2 { font-family: 'Bangers', cursive; font-size: clamp(2.5rem, 6vw, 4rem); color: var(--text); margin-bottom: 1rem; letter-spacing: 0.06em; }
  .cta-section p { font-size: 1.05rem; color: var(--muted); margin-bottom: 2rem; font-weight: 700; }

  /* ── FOOTER ── */
  footer { background: var(--purple2); color: rgba(255,255,255,0.5); text-align: center; padding: 2rem; font-size: 0.85rem; font-weight: 700; }
  footer a { color: #FFD700; text-decoration: none; }
  footer a:hover { text-decoration: underline; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .hero-inner { flex-direction: column; text-align: center; gap: 2rem; }
    .hero-image { width: 260px; }
    .hero-sub { margin: 0 auto 2rem; }
    .hero-btns { justify-content: center; }
  }
  @media (max-width: 600px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 3rem; }
  .hero-image { width: 200px; }
  }

  /* ── DASHBOARD LAYOUT ── */
  .dashboard-layout { display: flex; min-height: 100vh; background: #e9dfff; color: var(--text); font-family: 'Comic Relief', sans-serif; }
  .dashboard-sidebar {
    width: 280px; background: var(--purple2); flex-shrink: 0;
    display: flex; flex-direction: column; padding: 2rem 1rem;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1); z-index: 100;
    position: fixed; top: 0; height: 100vh;
  }
  .dashboard-main { flex: 1; padding: 3rem; background: #e9dfff; min-width: 0; position: relative; margin-left: 280px; }

  .sidebar-brand {
    font-family: 'Bangers', cursive; font-size: 2.5rem; color: var(--white);
    text-decoration: none; margin-bottom: 3rem; padding-left: 1rem;
    letter-spacing: 0.05em; display: block;
  }
  .sidebar-brand span { color: #FFD700; }

  .nav-list { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
  .nav-btn {
    background: transparent; border: none; padding: 0.85rem 1.25rem;
    border-radius: 16px; color: rgba(255,255,255,0.7); text-align: left;
    font-family: 'Comic Relief', sans-serif; font-weight: 700; font-size: 1rem;
    cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 1rem;
    width: 100%; box-sizing: border-box;
  }
  .nav-btn:hover { background: rgba(255,255,255,0.1); color: var(--white); transform: translateX(4px); }
  .nav-btn.active { background: var(--white); color: var(--purple); box-shadow: 4px 4px 0 rgba(0,0,0,0.2); }
  .nav-btn i { font-size: 1.1rem; width: 20px; text-align: center; }

  /* Responsive Fixes für Dashboard */
  @media (max-width: 900px) {
    .dashboard-layout { flex-direction: column; }
    .dashboard-sidebar { width: 100%; height: auto; position: relative; padding: 1.5rem; }
    .sidebar-brand { margin-bottom: 1.5rem; text-align: center; padding-left: 0; }
    .nav-list { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .nav-btn { width: auto; font-size: 0.9rem; padding: 0.6rem 1rem; }
    .dashboard-main { padding: 2rem 1.5rem; margin-left: 0;}
  }

  .comic-card {
    background: var(--white); border: 4px solid var(--purple); border-radius: 28px;
    padding: 2.5rem; margin-bottom: 2.5rem; box-shadow: 10px 10px 0 rgba(145,70,255,0.1);
    position: relative; z-index: 1;
  }
  .comic-title { font-family: 'Bangers', cursive; font-size: 3rem; color: var(--purple); margin-bottom: 1.5rem; letter-spacing: 0.04em; text-shadow: 2px 2px 0 rgba(0,0,0,0.05); }

  .content-section { display: none; animation: fadeIn 0.4s ease-out; }
  .content-section.active { display: block; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

  .comic-input {
  width: 100%; background: var(--light); border: 3px solid var(--purple); border-radius: 14px;
  padding: 0.8rem 1.2rem; font-family: 'Comic Relief', sans-serif; font-weight: 700;
  color: var(--text); outline: none; transition: all 0.2s;
  }
  .comic-input:focus { border-color: var(--purple3); background: var(--white); box-shadow: 0 0 0 4px rgba(145,70,255,0.1); }

  .source-box-comic {
  background: var(--text); padding: 1.5rem; border-radius: 20px; border: 4px solid var(--purple);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.1);
  }

  /* Custom Slider */
  .vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%; height: 12px; background: var(--light);
    border-radius: 10px; border: 2px solid var(--purple); outline: none;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  }
  .vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px; height: 24px; background: #FFD700;
    border: 2px solid var(--purple); border-radius: 50%; cursor: pointer;
  }

  .sound-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
  
  .sound-item-comic, #dropzone, .comic-card {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .sound-item-comic {
    background: var(--white); border: 3px solid var(--purple); border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 6px 6px 0 rgba(145,70,255,0.05);
  }

  /* Hover effect for all interactive cards */
  .sound-item-comic:hover, #dropzone:hover, .comic-card:not(.dashboard-sidebar .comic-card):hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 12px 12px 0 rgba(145,70,255,0.15);
    border-color: var(--purple3);
    z-index: 5;
  }
  
  .global-sound-item:hover {
    background: rgba(145, 70, 255, 0.1);
    border-color: var(--purple);
  }
  .global-sound-item:hover span, 
  .global-sound-item:hover .vol-control span,
  .global-sound-item:hover > div > i { 
    color: var(--purple) !important; 
  }
  .global-sound-item:hover .btn-white i {
    color: var(--purple) !important;
  }

  /* Toggle Switch Comic */
  .switch { position: relative; display: inline-block; width: 60px; height: 34px; }
  .switch input { opacity: 0; width: 0; height: 0; }
  .slider {
  position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc; transition: .4s; border-radius: 34px; border: 3px solid var(--purple);
  }
  .slider:before {
  position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px;
  background-color: white; transition: .4s; border-radius: 50%; border: 2px solid var(--purple);
  }
  input:checked + .slider { background-color: var(--purple); }
  input:checked + .slider:before { transform: translateX(26px); background-color: #FFD700; }

  /* Toast Comic */
  /* ── ADMIN MODERATION PREVIEW ── */
  .sound-item-comic img {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s;
    cursor: zoom-in;
    position: relative;
    z-index: 1;
  }
  .sound-item-comic img:hover {
    transform: scale(3.5) translateY(-5px);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-color: var(--accent);
  }
  /* ── TOTOP BUTTON ── */
  #totop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--purple);
    color: white;
    border: 3px solid var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.2);
  }
  #totop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  #totop:hover {
    background: #FFD700;
    color: var(--purple);
    transform: scale(1.1);
    box-shadow: 8px 8px 0 rgba(0,0,0,0.3);
  }
  #c {
      position: fixed;
      inset: 0;
      z-index: 1;        /* knapp unter dem Punktraster (90), über dem Body-Hintergrund */
      pointer-events: none;
  }
  .toast.show { opacity: 1; }

  /* ── LEGAL PAGES (tos / privacy) ── */
  .legal-page {
    background: linear-gradient(160deg, #7B2FBE 0%, #9146FF 40%, #6441A5 100%);
    color: var(--white);
    font-family: 'Roboto', sans-serif;
  }
  .legal-container { max-width: 1000px; margin: 0 auto; padding: 120px 20px 60px; }
  .legal-section { 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 12px; 
    padding: 40px; 
    margin-bottom: 30px; 
    backdrop-filter: blur(10px);
  }
  .legal-section h2 { 
    font-family: 'Roboto', sans-serif; 
    font-size: 1.5rem; 
    font-weight: 700;
    color: #FFD700; 
    margin-bottom: 20px; 
    border-bottom: 2px solid rgba(255, 215, 0, 0.3); 
    padding-bottom: 10px; 
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .legal-section h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin: 20px 0 10px;
    font-weight: 700;
  }
  .legal-section p, .legal-section li { 
    color: rgba(255,255,255,0.9); 
    line-height: 1.7; 
    margin-bottom: 15px; 
    font-size: 1rem;
  }
  .legal-section ul { padding-left: 25px; margin-bottom: 15px; }
  .legal-section ul li { margin-bottom: 10px; }
  
  .badge { 
    display: inline-block; 
    background: rgba(255, 215, 0, 0.1); 
    border: 1px solid rgba(255, 215, 0, 0.3); 
    padding: 6px 14px; 
    border-radius: 6px; 
    font-size: 0.75rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    color: #FFD700; 
    margin-bottom: 20px; 
    letter-spacing: 0.1em;
  }
  .highlight-box { 
    background: rgba(255, 255, 255, 0.1); 
    border-left: 5px solid #FFD700; 
    padding: 25px; 
    margin-bottom: 35px; 
    border-radius: 4px; 
  }
  .highlight-box p { margin-bottom: 0; font-weight: 500; color: #fff; font-size: 1.1rem; }
  
  .page-hero { text-align: center; margin-bottom: 60px; }
  .legal-hero-title { 
    font-family: 'Bangers', cursive; 
    font-size: clamp(3rem, 10vw, 5rem); 
    line-height: 1; 
    letter-spacing: 0.05em; 
    margin-bottom: 10px;
    text-shadow: 4px 4px 0 rgba(0,0,0,0.2);
  }
  .legal-hero-title span { color: #FFD700; }
  .legal-meta { color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 500; }
  .legal-link { color: #FFD700; text-decoration: none; font-weight: 700; transition: opacity 0.2s; }
  .legal-link:hover { text-decoration: underline; opacity: 0.8; }

  /* Verfeinerung für Listen in legal-sections */
  .legal-section ul.spaced li { margin-bottom: 15px; }
  .legal-section strong { color: var(--white); font-weight: 700; }
/* ══════════════════════════════════════════════════
   DASHBOARD COMPACT THEME — neue Klassen, kein Override
   ══════════════════════════════════════════════════ */

/* Hauptbereich dunkler */
.db-main {
  background: #1e1530 !important;
  color: var(--white);
}
.db-main header h1,
.db-main .comic-title {
  color: var(--white);
}

/* Sidebar dunkler 
.db-sidebar {
  background: #160f2a !important;
}*/

/* Kompakte Card */
.db-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(145,70,255,0.35);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: none;
  color: var(--white);
}
.db-card:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(145,70,255,0.6);
}

/* Kompakter Titel */
.db-title {
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.db-title-purple {
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  color: var(--purple3);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

/* Page-Header */
.db-page-title {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

/* Sound Grid — kompakter, mehr Columns */
.db-sound-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

/* Kompakte Sound-Card */
.db-sound-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(145,70,255,0.3);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--white);
  transition: border-color 0.15s;
}
.db-sound-item:hover {
  border-color: var(--purple);
  background: rgba(145,70,255,0.1);
  transform: none;
  box-shadow: none;
}
.db-sound-item img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(145,70,255,0.4);
}
.db-sound-item img:hover {
  transform: scale(2.5) translateY(-4px);
  z-index: 1000;
}

/* Sound Name in Cards */
.db-sound-name {
  font-family: 'Bangers', cursive;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.1;
}

/* Chat-Code Badge */
.db-code-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--purple3);
  letter-spacing: 0.04em;
  background: rgba(145,70,255,0.15);
  border: 1px solid rgba(145,70,255,0.3);
  border-radius: 4px;
  padding: 1px 6px;
  display: inline-block;
}

/* Kompakte Buttons fürs Dashboard */
.db-btn-sm {
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  border-radius: 8px;
  font-family: 'Comic Relief', sans-serif;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  transition: opacity 0.15s;
}
.db-btn-sm:hover { opacity: 0.85; }
.db-btn-sm.white  { background: var(--white); color: var(--purple); }
.db-btn-sm.purple { background: var(--purple); color: var(--white); }
.db-btn-sm.outline {
  background: transparent;
  color: var(--purple3);
  border: 1px solid rgba(145,70,255,0.5);
}
.db-btn-sm.danger {
  background: transparent;
  color: #ff4747;
  border: 1px solid rgba(255,71,71,0.4);
}

/* Kompakter Slider */
.db-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  border: none;
  outline: none;
}
.db-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #FFD700;
  border: 2px solid var(--purple);
  border-radius: 50%;
  cursor: pointer;
}

/* Kompakter Toggle */
.db-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.db-switch input { opacity: 0; width: 0; height: 0; }
.db-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: rgba(255,255,255,0.2);
  transition: .3s; border-radius: 24px;
  border: 1px solid rgba(145,70,255,0.5);
}
.db-slider:before {
  position: absolute; content: "";
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: white; transition: .3s; border-radius: 50%;
}
.db-switch input:checked + .db-slider { background: var(--purple); border-color: var(--purple); }
.db-switch input:checked + .db-slider:before { transform: translateX(20px); background: #FFD700; }
.db-switch input:disabled + .db-slider { opacity: 0.4; cursor: not-allowed; }

/* Input kompakt */
.db-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(145,70,255,0.4);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font-family: 'Comic Relief', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.db-input:focus { border-color: var(--purple3); background: rgba(255,255,255,0.12); }
.db-input::placeholder { color: rgba(255,255,255,0.3); }

/* File-Inputs Styling */
input[type="file"] {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(145,70,255,0.4);
  border-radius: 8px;
  padding: 0.25rem 0.4rem;
  font-family: 'Comic Relief', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

input[type="file"]::file-selector-button,
input[type="file"]::-webkit-file-upload-button {
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: 5px;
  padding: 0.2rem 0.5rem;
  font-family: 'Comic Relief', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-right: 8px;
}

input[type="file"]::file-selector-button:hover,
input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--purple3);
}

input[type="file"]::file-selector-button:active,
input[type="file"]::-webkit-file-upload-button:active {
  transform: scale(0.95);
}

input[type="file"]:focus {
  border-color: var(--purple3);
}

/* Toolbar (Alle an/aus + Search) */
.db-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(145,70,255,0.15);
  border: 1px solid rgba(145,70,255,0.25);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
}

/* Stat-Kacheln auf Overview */
.db-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.db-stat-tile {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(145,70,255,0.3);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.db-stat-num {
  font-family: 'Bangers', cursive;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--purple3);
}
.db-stat-label {
  font-family: 'Bangers', cursive;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* OBS Source Box kompakt */
.db-source-box {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(145,70,255,0.4);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Zwei-Spalten Layout für Meine Sounds */
.db-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 900px) {
  .db-split { grid-template-columns: 1fr; }
  .db-sound-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

/* Quick Edit Bar */
.db-quick-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(145,70,255,0.2);
  border: 1px solid rgba(145,70,255,0.35);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  margin-bottom: 0.75rem;
}
.db-quick-bar-label {
  font-family: 'Bangers', cursive;
  font-size: 1rem;
  color: #FFD700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Sidebar nav kompakter */
.db-sidebar .nav-list { gap: 0.25rem; }
.db-sidebar .nav-btn {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border-radius: 10px;
}

/* Muted text */
.db-muted { color: rgba(255,255,255,0.45); font-size: 0.8rem; font-weight: 700; }

/* Separator */
.db-sep {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 1rem 0;
}

/* Modal kompakt */
.db-modal-card {
  background: #1e1530;
  border: 1px solid rgba(145,70,255,0.5);
  border-radius: 14px;
  padding: 1.75rem;
  width: 100%;
  max-width: 480px;
  color: var(--white);
}
/* ══════════════════════════════════════════════════
   DASHBOARD v2 — Global Sound Cards + My Sounds Panel
   ══════════════════════════════════════════════════ */

/* ── Global Sound Card (Kachel-Style) ── */
.db-sound-grid-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
}

.db-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(145,70,255,0.3);
  cursor: default;
  transition: border-color 0.15s;
  background: #1a1235;
}
.db-tile:hover { border-color: var(--purple); }
.db-tile.disabled { opacity: 0.45; }

/* Bild als Hintergrund */
.db-tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  transition: filter 0.2s;
}
.db-tile:hover .db-tile-bg { filter: brightness(0.55); }

/* Overlay-Gradient unten */
.db-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,5,25,0.95) 0%, rgba(10,5,25,0.3) 50%, transparent 100%);
}

/* Content über dem Bild */
.db-tile-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.5rem 0.6rem;
  gap: 0.3rem;
}

.db-tile-name {
  font-family: 'Bangers', cursive;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-tile-code {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--white);
  background: var(--purple2);
  border: 1px solid var(--purple3);
  border-radius: 4px;
  padding: 2px 6px;
  display: inline-block;
  width: fit-content;
}

.db-tile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.db-tile-btns {
  display: flex;
  gap: 3px;
}

.db-tile-btn {
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 0.65rem;
  padding: 3px 6px;
  cursor: pointer;
  font-family: 'Comic Relief', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: background 0.15s;
}
.db-tile-btn:hover { background: rgba(145,70,255,0.5); }
.db-tile-btn.purple { background: rgba(145,70,255,0.5); }
.db-tile-btn.purple:hover { background: var(--purple); }

/* Volume row in tile */
.db-tile-vol {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.db-tile-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  border: none;
  outline: none;
}
.db-tile-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px; height: 10px;
  background: #FFD700;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.db-tile-vol-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  width: 28px;
  text-align: right;
}

/* ── My Sounds Layout ── */
.db-mysounds-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 900px) {
  .db-mysounds-layout { grid-template-columns: 1fr; }
}

/* Kompakte horizontale Sound-Zeile */
.db-sound-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.db-sound-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(145,70,255,0.2);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  transition: border-color 0.15s, background 0.15s;
}
.db-sound-row:hover { border-color: rgba(145,70,255,0.5); background: rgba(145,70,255,0.07); }
.db-sound-row.active-edit { border-color: var(--purple); background: rgba(145,70,255,0.12); }
.db-sound-row.blocked { border-color: rgba(255,71,71,0.4); }

.db-sound-row img {
  width: 30px; height: 30px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid rgba(145,70,255,0.3);
  flex-shrink: 0;
}
.db-sound-row-name {
  font-family: 'Bangers', cursive;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.03em;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.db-sound-row-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.db-sound-row-vol {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  width: 34px;
  text-align: right;
}
.db-sound-row-cd {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
}

/* ── Right Edit Panel ── */
.db-edit-panel {
  position: sticky;
  top: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(145,70,255,0.3);
  border-radius: 12px;
  padding: 1.25rem;
  color: var(--white);
}

.db-edit-panel-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: rgba(255,255,255,0.25);
  font-size: 0.85rem;
  font-weight: 700;
}

.db-edit-panel-title {
  font-family: 'Bangers', cursive;
  font-size: 1.2rem;
  color: var(--purple3);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

/* ── Upload Modal ── */
.db-upload-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.db-upload-modal-overlay.open { display: flex; }

.db-upload-modal {
  background: #1e1530;
  border: 1px solid rgba(145,70,255,0.5);
  border-radius: 14px;
  padding: 1.5rem;
  width: 100%;
  max-width: 560px;
  color: var(--white);
}

.db-upload-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(145,70,255,0.2);
  padding-bottom: 0.75rem;
}
.db-upload-tab {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-family: 'Bangers', cursive;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.db-upload-tab.active { color: var(--purple3); border-bottom-color: var(--purple); }

.db-upload-pane { display: none; }
.db-upload-pane.active { display: block; }

.db-dropzone-inner {
  border: 2px dashed rgba(145,70,255,0.4);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.db-dropzone-inner:hover, .db-dropzone-inner.drag { border-color: var(--purple3); background: rgba(145,70,255,0.08); }