    html { scroll-behavior: smooth; }
    body {
      background-color: #05070c;
      color: #e6ebf2;
      font-family: 'Inter', sans-serif;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    .mono { font-family: 'JetBrains Mono', monospace; }
    ::selection { background: #ff3b47; color: #ffffff; }

    /* Topo Hintergrundmuster */
    #topo {
      position: fixed;
      inset: -10%;
      width: 120%;
      height: 120%;
      z-index: 0;
      pointer-events: none;
      animation: topoDrift 60s ease-in-out infinite alternate;
    }
    #topo path { fill: none; stroke: rgba(125, 211, 252, 0.05); stroke-width: 1; }
    #topo path.major { stroke: rgba(125, 211, 252, 0.1); }
    @keyframes topoDrift { to { transform: translate(-30px, -20px) rotate(1deg); } }

    .aurora {
      position: fixed;
      border-radius: 9999px;
      filter: blur(120px);
      opacity: 0.45;
      z-index: 0;
      pointer-events: none;
      animation: drift 22s ease-in-out infinite alternate;
    }
    @keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }

    .grain {
      position: fixed;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      opacity: 0.05;
      mix-blend-mode: overlay;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    .spotlight {
      position: fixed;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background: radial-gradient(750px circle at var(--mx, 50%) var(--my, 20%), rgba(99, 102, 241, 0.12), transparent 50%);
    }

    /* Alpine Night Bento & App Card Styling */
    .app-card {
      position: relative;
      background: linear-gradient(180deg, rgba(17, 24, 39, 0.75) 0%, rgba(9, 13, 22, 0.92) 100%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 24px;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 4px 30px -4px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
    }
    .app-card::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.35s ease;
      background: radial-gradient(400px circle at var(--card-x, 50%) var(--card-y, 50%), rgba(125, 211, 252, 0.12), transparent 60%);
    }
    .app-card:hover {
      transform: translateY(-4px);
      border-color: rgba(125, 211, 252, 0.35);
      box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 35px -5px rgba(99, 102, 241, 0.2), inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    }
    .app-card:hover::before { opacity: 1; }
    .app-card.dimmed {
      opacity: 0.18;
      filter: grayscale(0.85) blur(1px);
      transform: scale(0.98);
      pointer-events: none;
    }

    /* Typo & Shimmer */
    .grad-text {
      background: linear-gradient(105deg, #ffffff 0%, #cbd5e1 30%, #7dd3fc 65%, #ffffff 100%);
      background-size: 200% auto;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: shineText 8s linear infinite;
    }
    @keyframes shineText { to { background-position: 200% center; } }

    .typing-cursor {
      display: inline-block;
      width: 0.08em;
      height: 0.85em;
      background: #ff3b47;
      margin-left: 0.08em;
      vertical-align: -0.05em;
      animation: blink 1s steps(1) infinite;
    }
    @keyframes blink { 50% { opacity: 0; } }

    /* Badges */
    .badge-status {
      font-size: 11px;
      padding: 3px 9px;
      border-radius: 9999px;
      border: 1px solid;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }
    .status-dot {
      width: 6px;
      height: 6px;
      border-radius: 9999px;
      background: currentColor;
      box-shadow: 0 0 8px currentColor;
    }

    /* Filter Chips */
    .filter-chip {
      transition: all 0.25s ease;
    }
    .filter-chip.active {
      background: #ffffff;
      color: #05070c;
      border-color: #ffffff;
      box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
    }

    /* Keycaps */
    kbd {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      padding: 2px 6px;
      border-radius: 6px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      background: rgba(255, 255, 255, 0.06);
      color: #cbd5e1;
    }

    /* Custom Scrollbar for Modal Table */
    .custom-scrollbar::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    .custom-scrollbar::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.02);
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.15);
      border-radius: 3px;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.25);
    }

    /* Hauptreiter (Verwaltung / Turnen) */
    .section-tab {
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .section-tab.active {
      background: #ffffff;
      color: #05070c;
      box-shadow: 0 8px 25px -4px rgba(255, 255, 255, 0.25);
    }
    .section-tab.active .section-tab-count {
      background: rgba(5, 7, 12, 0.12);
      color: #05070c;
    }

    /* Bereichs-Auswahlkarten im App-Modal */
    .section-radio-card.active {
      border-color: rgba(125, 211, 252, 0.65);
      background: rgba(99, 102, 241, 0.14);
      box-shadow: 0 0 20px -6px rgba(99, 102, 241, 0.35);
    }

    /* Bearbeitungs-/Sortiermodus & Drag-and-Drop */
    .app-card.reorder-active {
      border-style: dashed;
      border-color: rgba(125, 211, 252, 0.42);
      cursor: grab;
    }
    .app-card.reorder-active:active {
      cursor: grabbing;
    }
    .app-card.is-dragging {
      opacity: 0.35;
      transform: scale(0.97);
    }
    .app-card.drag-target {
      border-color: #7dd3fc !important;
      border-style: solid !important;
      box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.8), 0 0 35px rgba(125, 211, 252, 0.28) !important;
      transform: scale(1.015);
    }
