:root {
      --bg: #000000;
      --accent-deep: #3a211f;
      --accent: #9b5b57;
      --accent-hover: #b8726d;
      --accent-muted: #6d3835;
    }
    
    body.embed-preload,
    body.embed-mode {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    .leo-ico {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }

    .leo-ico svg {
      display: block;
    }

    .leo-check {
      color: var(--accent);
      font-weight: 700;
    }

    body {
      font-family: 'Inter', system_ui, sans-serif;
      background: #000;
      color: #f1f1f1;
      overflow-x: hidden;
    }
    
    .heading-font {
      font-family: 'Space Grotesk', 'Inter', system_ui, sans-serif;
      font-weight: 600;
      letter-spacing: -0.025em;
    }

    .rift-bg {
      background: #000000;
    }

    .minimal-text {
      color: #f1f1f1;
    }

    .subtle-text {
      color: #a3a3a3;
    }

    .gold-accent,
    .text-accent {
      color: var(--accent);
    }

    .bg-accent {
      background-color: var(--accent);
    }

    .border-accent {
      border-color: var(--accent);
    }

    .section-title {
      font-size: clamp(1.75rem, 4vw, 3.25rem);
      line-height: 1.05;
      letter-spacing: -0.04em;
    }

    .world-name {
      font-size: clamp(1.5rem, 3.2vw, 2.25rem);
      letter-spacing: -0.03em;
      font-weight: 600;
    }

    .video-card {
      position: relative;
      overflow: hidden;
      background: #111;
      transition: transform 0.4s cubic-bezier(0.23, 1.0, 0.32, 1), 
                  box-shadow 0.4s cubic-bezier(0.23, 1.0, 0.32, 1),
                  filter 0.3s ease;
      border: 1px solid #222;
      cursor: pointer;
    }
    
    .video-card:hover {
      transform: translateY(-2px) scale(1.005);
      box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
      border-color: #333;
    }

    .video-card video {
      transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    
    .video-card:hover video {
      transform: scale(1.06);
    }

    .video-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6) 85%);
      opacity: 0.7;
      transition: opacity 0.3s ease;
      pointer-events: none;
    }
    
    .video-card:hover .video-overlay {
      opacity: 0.85;
    }

    .play-hint {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 42px;
      height: 42px;
      border: 1px solid rgba(255,255,255,0.65);
      border-radius: 9999px;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
      backdrop-filter: blur(4px);
    }
    
    .video-card:hover .play-hint {
      opacity: 1;
    }



    .tear-button {
      transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .tear-button:hover {
      background: #fff;
      color: #000;
      transform: translateY(-1px);
    }

    .minimal-btn {
      transition: all 0.15s ease;
      letter-spacing: 0.5px;
    }
    
    .minimal-btn:hover {
      letter-spacing: 1px;
    }

    .world-header {
      position: sticky;
      top: 0;
      z-index: 10;
      background: rgba(0,0,0,0.85);
      backdrop-filter: blur(12px);
    }

    .nav-link {
      position: relative;
      padding-bottom: 2px;
      transition: color 0.2s ease;
    }
    
    .nav-link:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 1px;
      background: #c9a96e;
      transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .nav-link:hover:after {
      width: 100%;
    }

    .music-bar {
      transition: all 0.3s cubic-bezier(0.23, 1.0, 0.32, 1);
      backdrop-filter: blur(16px);
    }

    .playlist-item {
      transition: all 0.1s ease;
    }
    
    .playlist-item:hover {
      background: #1a1a1a;
    }
    
    .playlist-item.active {
      background: #222;
      color: #f1f1f1;
    }

    .progress {
      transition: width 0.1s linear;
    }

    .film-grain {
      pointer-events: none;
      background-image: 
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
      background-size: 3px 3px;
      mix-blend-mode: screen;
    }

    .rift-line {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      pointer-events: none;
      z-index: 20;
      overflow: hidden;
    }

    .tear-effect {
      position: absolute;
      top: 0;
      left: -100%;
      width: 30%;
      height: 100%;
      background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255,255,255,0.85) 45%,
        rgba(255,255,255,0.2) 55%,
        transparent 80%
      );
      transform: skewX(-18deg);
      animation: tear-swipe 620ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
      pointer-events: none;
      z-index: 30;
    }

    @keyframes tear-swipe {
      to {
        left: 140%;
      }
    }

    .portal-grid {
      scrollbar-width: thin;
      scrollbar-color: #333 #111;
    }

    .full-bleed {
      height: 100dvh;
    }

    .video-thumb {
      aspect-ratio: 16 / 9;
    }

    @media (max-width: 768px) {
      .world-name {
        font-size: 1.35rem;
      }
      .section-title {
        font-size: 1.85rem;
      }
    }

    .elegant-shadow {
      text-shadow: 0 2px 20px rgba(0,0,0,0.6);
    }

    #worlds {
      scroll-margin-top: 70px;
    }

    /* Video cards in the unified flat grid - immediate visible */
    .video-card {
      background: #0a0a0a;
    }

    /* ===== Full Rift Experience styles ===== */
    #rift-experience video {
      background: #000;
    }

    .exp-filter-red {
      filter: hue-rotate(-15deg) saturate(1.65) contrast(1.35) brightness(0.95) !important;
    }
    .exp-filter-blue {
      filter: hue-rotate(190deg) saturate(1.35) contrast(1.20) !important;
    }
    .exp-filter-distort {
      filter: contrast(1.65) saturate(1.8) brightness(1.05) !important;
      animation: exp-distort-anim 420ms infinite alternate ease-in-out;
    }
    @keyframes exp-distort-anim {
      0% { transform: translate(0.3px, -0.6px) scale(1.002); }
      100% { transform: translate(-0.6px, 0.3px) scale(0.998); }
    }

    .exp-filter-purple {
      filter: hue-rotate(260deg) saturate(1.5) contrast(1.35) !important;
    }
    .exp-filter-warm {
      filter: hue-rotate(20deg) saturate(1.3) sepia(0.2) contrast(1.25) !important;
    }
    .exp-filter-cyan {
      filter: hue-rotate(170deg) saturate(1.6) contrast(1.25) !important;
    }

    #exp-effect-overlay {
      transition: background-color 400ms ease, opacity 300ms;
    }

    .song-display,
    #exp-current-song,
    #song-selector-list > div,
    #playlist-list .playlist-item .flex-1 {
      font-family: 'Space Grotesk', Georgia, 'Times New Roman', serif;
    }

    .song-pill,
    #exp-mobile-song-name,
    #song-menu-list > div {
      font-family: 'Metal Mania', cursive;
      font-weight: 400;
      letter-spacing: 0.03em;
    }

    #exp-current-song {
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.02em;
    }



    .song-pill {
      font-size: 0.79rem;
      padding: 5px 12px;
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 999px;
      white-space: nowrap;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .song-pill.active {
      background: var(--accent);
      color: #f8eceb;
      border-color: var(--accent);
    }
    .song-pill:hover:not(.active) {
      border-color: rgba(255,255,255,0.4);
      background: rgba(255,255,255,0.05);
    }

    #song-selector-list > div {
      padding: 13px 16px;
      border: 1px solid rgba(255,255,255,0.1);
      cursor: pointer;
      transition: all 0.2s;
    }
    #song-selector-list > div:hover {
      border-color: var(--accent);
      background: rgba(155, 91, 87, 0.12);
    }

    /* ========== OLD CRT / RÖHRENFERNSEHER EFFECT ========== */
    .crt-container {
      position: relative;
      border-radius: 0;
      box-shadow: none;
      overflow: hidden;
      transform: none;
      transform-origin: center;
    }

    #exp-video-wrapper.crt-container {
      width: 100%;
      height: 100%;
      border: none;
      outline: none;
    }

    .crt-video {
      image-rendering: crisp-edges;
      filter: contrast(1.05) brightness(0.9) saturate(1.06);
    }

    /* Embed mode has no Tailwind — position CRT/effect layers explicitly */
    #exp-video-wrapper .crt-vignette,
    #exp-video-wrapper .crt-scanlines,
    #exp-video-wrapper .crt-noise,
    #exp-video-wrapper .crt-phosphor,
    #exp-effect-overlay,
    #exp-distort-layer {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      pointer-events: none;
    }

    #exp-effect-overlay {
      transition: background-color 400ms ease, opacity 300ms;
    }

    #exp-distort-layer.hidden {
      display: none !important;
    }

    body.vintage-fx .crt-container {
      transform: none;
      box-shadow: none;
      border-radius: 0;
    }

    body.vintage-fx .crt-scanlines,
    body.vintage-fx .crt-noise,
    body.vintage-fx .crt-phosphor {
      display: block !important;
    }

    body.vintage-fx .crt-container::after {
      display: block !important;
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.015);
      z-index: 40;
      pointer-events: none;
      animation: crt-flicker 200ms infinite alternate;
    }

    /* Classic dark vignette like old tube */
    .crt-vignette {
      background: radial-gradient(
        circle at center,
        transparent 35%,
        rgba(0, 0, 0, 0.65) 68%,
        rgba(0, 0, 0, 0.92) 92%
      );
      z-index: 25;
    }

    /* Horizontal scanlines - the signature of CRT */
    .crt-scanlines {
      background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 1.5px,
        rgba(0, 0, 0, 0.38) 1.5px,
        rgba(0, 0, 0, 0.38) 3px
      );
      background-size: 100% 3.5px;
      z-index: 30;
      mix-blend-mode: multiply;
      animation: crt-scan 2.2s linear infinite;  /* slightly slower */
    }

    @keyframes crt-scan {
      from { background-position: 0 0; }
      to   { background-position: 0 3.5px; }
    }

    /* Subtle moving noise / static like old analog signal */
    .crt-noise {
      background: 
        linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
      background-size: 2.5px 2.5px;
      z-index: 35;
      mix-blend-mode: screen;
      animation: crt-noise-anim 120ms steps(1) infinite;  /* slower = less GPU work on low-end machines */
      opacity: 0.6;
    }

    @keyframes crt-noise-anim {
      0% { background-position: 0 0; }
      10% { background-position: 1px 1px; }
      20% { background-position: 0 2px; }
      100% { background-position: 0 0; }
    }

    /* Phosphor / RGB dot simulation - slight color fringing */
    .crt-phosphor {
      background: 
        repeating-linear-gradient(
          0deg,
          transparent,
          transparent 1.5px,
          rgba(255, 0, 60, 0.09) 1.5px,
          rgba(255, 0, 60, 0.09) 2px
        ),
        repeating-linear-gradient(
          90deg,
          transparent,
          transparent 1.5px,
          rgba(0, 255, 80, 0.065) 1.5px,
          rgba(0, 255, 80, 0.065) 2px
        );
      z-index: 32;
      mix-blend-mode: screen;
      pointer-events: none;
    }

    /* Extra subtle flicker for that dying tube feel */
    .crt-container::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255,255,255,0.015);
      z-index: 40;
      pointer-events: none;
      animation: crt-flicker 200ms infinite alternate;  /* less frequent flicker */
    }

    @keyframes crt-flicker {
      0% { opacity: 0.6; }
      100% { opacity: 1; }
    }

    /* Make sure CRT layers sit above song effects */
    #exp-effect-overlay { z-index: 20; }
    #exp-distort-layer { z-index: 21; }

    /* ========== MOBILE / TABLET IMPROVEMENTS for Vollbild Experience ========== */
    @media (max-width: 768px) {
      #rift-experience .h-16 {
        height: 64px; /* slightly taller for touch */
      }

      #rift-experience button {
        font-size: 13px;
        padding-top: 8px;
        padding-bottom: 8px;
        min-height: 42px; /* better touch targets */
      }

      .song-pill {
        padding: 6px 10px;
        font-size: 11px;
      }

      /* Make the song button more prominent and easy to tap on mobile */
      .md\:hidden button {
        font-size: 14px;
        min-height: 42px;
        padding-left: 14px;
        padding-right: 14px;
        border-radius: 9999px;
      }

      #exp-bottom-bar .exp-bottom-center {
        grid-column: 2;
      }

      #rift-experience .h-12 {
        height: 48px;
        font-size: 13px;
      }

      .crt-container {
        border-radius: 0; /* full bleed on mobile */
        transform: none; /* no perspective tilt on small screens */
      }
    }



    #song-menu-list > div {
      padding: 16px 18px;
      border-radius: 8px;
      margin-bottom: 2px;
      border: 1px solid rgba(255,255,255,0.08);
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 15px;
      min-height: 52px; /* good touch target */
    }
    #song-menu-list > div:hover,
    #song-menu-list > div:active {
      background: rgba(155, 91, 87, 0.14);
      border-color: var(--accent);
    }
    #song-menu-list .active {
      background: var(--accent);
      color: #f8eceb;
      border-color: var(--accent);
      font-weight: 600;
    }

    #exp-bottom-bar {
      transition: opacity 0.4s ease;
    }

    #loading-screen .loading-logo {
      display: block;
      width: min(78vw, 520px);
      max-width: 520px;
      height: auto;
      margin: 0 auto 1.5rem;
      user-select: none;
      -webkit-user-drag: none;
    }

    #loading-screen .loading-stage {
      position: relative;
      width: 20rem;
      height: 3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 0.25rem;
    }

    #loading-screen .loading-bar-wrap {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 0.35s ease;
    }

    #loading-screen .loading-bar-wrap.is-hidden {
      opacity: 0;
      pointer-events: none;
    }

    #loading-screen .loading-bar-track {
      width: 100%;
      height: 4px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 9999px;
      overflow: hidden;
    }

    #start-experience-btn {
      font-family: 'Metal Mania', cursive;
      font-weight: 400;
      font-size: 0.95rem;
      letter-spacing: 0.1em;
      line-height: 1;
      padding: 14px 36px;
      border: 1px solid #c9a96e;
      color: #c9a96e;
      background: transparent;
      cursor: pointer;
      transition: opacity 0.35s ease, background 0.2s ease, color 0.2s ease;
      opacity: 0;
      pointer-events: none;
    }

    #start-experience-btn.is-ready {
      opacity: 1;
      pointer-events: auto;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }

    #start-experience-btn.is-ready:hover {
      background: #c9a96e;
      color: #000;
    }

    #loading-browser-hint {
      margin-top: 0.85rem;
      max-width: 22rem;
      text-align: center;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.68rem;
      letter-spacing: 0.04em;
      line-height: 1.45;
      color: rgba(255, 255, 255, 0.55);
    }

    html, body {
      margin: 0;
      padding: 0;
    }

    /* Low performance / compilation: CRT screen-blend layers wash out to white */
    body.compilation-mode .crt-scanlines,
    body.compilation-mode .crt-noise,
    body.compilation-mode .crt-phosphor,
    body.compilation-mode .crt-container::after,
    .low-perf .crt-scanlines,
    .low-perf .crt-noise,
    .low-perf .crt-phosphor,
    .low-perf .crt-container::after {
      display: none !important;
    }

    body.compilation-mode .crt-container,
    .low-perf .crt-container {
      transform: none !important;
      box-shadow: none !important;
      border-radius: 0 !important;
    }

    body.compilation-mode .crt-vignette,
    .low-perf .crt-vignette {
      display: none !important;
    }

    body.compilation-mode #exp-video-wrapper video,
    body.compilation-mode .crt-video {
      transform: none !important;
      -webkit-transform: none !important;
      filter: none !important;
      will-change: auto !important;
    }

    body.embed-preload,
    body.embed-active {
      background: #000;
      overflow: hidden;
      height: 100vh;
      height: 100dvh;
      width: 100vw;
      margin: 0;
    }

    html.embed-root,
    html:has(body.embed-preload),
    html:has(body.embed-active) {
      height: 100%;
      overflow: hidden;
    }

    body.embed-preload #site-nav,
    body.embed-preload #loading-screen,
    body.embed-preload #hero,
    body.embed-preload #worlds,
    body.embed-preload #music-bar,
    body.embed-preload footer {
      opacity: 0 !important;
      pointer-events: none !important;
    }

    body.embed-preload #rift-experience.embed-visible,
    body.embed-active #rift-experience.embed-visible {
      opacity: 1 !important;
      visibility: visible !important;
      pointer-events: auto !important;
    }

    body.embed-active #loading-screen,
    body.embed-active #hero,
    body.embed-active #worlds,
    body.embed-active #music-bar,
    body.embed-active footer {
      display: none !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }

    body.embed-active #site-nav {
      display: flex !important;
      visibility: visible !important;
      z-index: 700 !important;
    }

    body.embed-active #exp-bottom-bar {
      visibility: visible !important;
      display: grid !important;
    }

    body.embed-active.exp-chrome-pinned #site-nav,
    body.embed-active.exp-chrome-pinned #exp-bottom-bar,
    body.embed-active.exp-chrome-pinned.embed-preload #site-nav,
    body.embed-active.exp-chrome-pinned.embed-preload #exp-bottom-bar {
      opacity: 1 !important;
      pointer-events: auto !important;
      visibility: visible !important;
    }

    body.embed-active #rift-experience {
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      height: 100vh !important;
      height: 100dvh !important;
      width: 100vw !important;
      z-index: 500 !important;
      display: flex !important;
      flex-direction: column !important;
    }

    body.embed-active #rift-experience #exp-video-wrapper {
      flex: 1 1 0%;
      min-height: 0;
    }

    body.embed-active #rift-experience #exp-bottom-bar {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 80;
    }

    body.compilation-mode #exp-song-pills .song-pill {
      cursor: pointer;
      pointer-events: auto;
    }

    .rift-exp-shell {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      top: 0;
      z-index: 300;
      display: flex;
      flex-direction: column;
      background: #000;
      overflow: hidden;
    }

    .rift-exp-shell.hidden {
      display: none !important;
    }

    #exp-video-wrapper {
      position: relative;
      z-index: 1;
    }

    #exp-bottom-bar {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      min-height: 4rem;
      height: auto;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 0.55rem 1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.82);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      z-index: 80;
      transition: opacity 0.4s ease;
    }

    #exp-chrome-reveal-zone,
    #exp-chrome-reveal-top {
      display: none !important;
      pointer-events: none !important;
    }

    body.embed-active #site-nav,
    body.embed-active #exp-bottom-bar {
      z-index: 11000 !important;
    }

    #exp-bottom-bar .exp-bottom-center {
      grid-column: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 0;
      overflow: visible;
    }

    .exp-bottom-songs {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 0;
    }

    #exp-song-pills {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.44rem 0.55rem;
      overflow-x: visible;
      font-size: 0.79rem;
      width: auto;
      max-width: 100%;
      min-width: 0;
      row-gap: 0.35rem;
    }

    #exp-keyboard-hint {
      grid-column: 3;
      justify-self: end;
      align-self: center;
      margin: 0;
      padding: 0 0.15rem 0 0.5rem;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 0.12rem;
      text-align: right;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.58rem;
      letter-spacing: 0.05em;
      line-height: 1.35;
      color: rgba(255, 255, 255, 0.4);
      pointer-events: none;
      transition: opacity 1.4s ease;
      max-width: 9.5rem;
    }

    #exp-keyboard-hint .exp-keyboard-hint-keys {
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      color: rgba(255, 255, 255, 0.55);
    }

    #exp-keyboard-hint.is-faded {
      opacity: 0.45;
    }

    /* Centered arrow-key tutorial on experience enter (desktop clip mode only) */
    #exp-keys-tutorial {
      position: absolute;
      inset: 0;
      z-index: 48;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.55s ease;
    }

    #exp-keys-tutorial.is-visible {
      opacity: 1;
    }

    #exp-keys-tutorial.is-leaving {
      opacity: 0;
      transition: opacity 0.9s ease;
    }

    .exp-keys-tutorial-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      padding: 1.35rem 1.75rem 1.25rem;
      border-radius: 1rem;
      background: rgba(0, 0, 0, 0.55);
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      transform: translateY(8px) scale(0.96);
      transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #exp-keys-tutorial.is-visible .exp-keys-tutorial-card {
      transform: translateY(0) scale(1);
    }

    .exp-keys-tutorial-keys {
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }

    .exp-key-cap {
      position: relative;
      width: 3.1rem;
      height: 3.1rem;
      border-radius: 0.55rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
      border: 1px solid rgba(255, 255, 255, 0.28);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 8px 18px rgba(0, 0, 0, 0.35);
      color: #fff;
    }

    .exp-key-glyph {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 1.35rem;
      font-weight: 600;
      line-height: 1;
      opacity: 0.92;
    }

    .exp-key-left {
      animation: exp-key-nudge-left 1.35s ease-in-out infinite;
    }

    .exp-key-right {
      animation: exp-key-nudge-right 1.35s ease-in-out infinite;
      animation-delay: 0.67s;
    }

    @keyframes exp-key-nudge-left {
      0%, 100% { transform: translateX(0); box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 18px rgba(0,0,0,0.35); }
      45% { transform: translateX(-7px); box-shadow: 0 1px 0 rgba(201,169,110,0.35) inset, 0 0 18px rgba(201,169,110,0.25), 0 8px 18px rgba(0,0,0,0.35); border-color: rgba(201, 169, 110, 0.55); }
    }

    @keyframes exp-key-nudge-right {
      0%, 100% { transform: translateX(0); box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 18px rgba(0,0,0,0.35); }
      45% { transform: translateX(7px); box-shadow: 0 1px 0 rgba(201,169,110,0.35) inset, 0 0 18px rgba(201,169,110,0.25), 0 8px 18px rgba(0,0,0,0.35); border-color: rgba(201, 169, 110, 0.55); }
    }

    .exp-keys-tutorial-text {
      margin: 0;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.78rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.78);
      text-align: center;
      max-width: 16rem;
      line-height: 1.4;
    }

    html.safari-like #exp-keyboard-hint,
    body.safari-like #exp-keyboard-hint,
    html.safari-like #exp-keys-tutorial,
    body.safari-like #exp-keys-tutorial {
      display: none !important;
    }

    body.compilation-mode #exp-keys-tutorial,
    body.mobile-exp #exp-keys-tutorial {
      display: none !important;
    }

    @media (max-width: 768px), (pointer: coarse) and (max-width: 1100px) {
      #exp-keys-tutorial {
        display: none !important;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .exp-key-left,
      .exp-key-right {
        animation: none;
      }
      .exp-keys-tutorial-card {
        transition: opacity 0.3s ease;
        transform: none;
      }
    }

    html.safari-like .nav-music-viz,
    body.safari-like .nav-music-viz {
      display: none !important;
    }

    body.mobile-exp #exp-keyboard-hint,
    body.mobile-exp #exp-song-pills,
    body.mobile-exp #site-nav-now-playing,
    body.mobile-exp .exp-bottom-songs,
    body.mobile-exp.embed-active #exp-song-pills,
    body.mobile-exp.compilation-mode #exp-song-pills {
      display: none !important;
    }

    body.mobile-exp #rift-experience,
    body.mobile-exp.embed-active #rift-experience {
      position: fixed;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      display: flex;
      flex-direction: column;
      height: 100vh;
      height: 100dvh;
      width: 100vw;
      z-index: 300;
      background: #000;
      overflow: hidden;
      cursor: pointer;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }

    body.mobile-exp #exp-bottom-bar {
      display: none !important;
    }

    body.mobile-exp #exp-video-wrapper {
      flex: 1 1 0%;
      min-height: 0;
      width: 100%;
      height: 100%;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
    }

    body.mobile-exp #site-nav {
      opacity: 1 !important;
      pointer-events: auto !important;
      visibility: visible !important;
      display: flex !important;
      z-index: 700 !important;
    }

    #exp-mobile-tap-hint {
      position: absolute;
      left: 50%;
      bottom: 16%;
      transform: translateX(-50%);
      z-index: 50;
      pointer-events: none;
      padding: 0.6rem 1.2rem;
      border: 1px solid rgba(155, 91, 87, 0.55);
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.52);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      font-family: 'Metal Mania', cursive;
      font-weight: 400;
      font-size: clamp(0.82rem, 3.4vw, 1rem);
      letter-spacing: 0.09em;
      line-height: 1;
      color: var(--accent);
      text-transform: uppercase;
      white-space: nowrap;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.45s ease, visibility 0.45s ease;
    }

    #exp-mobile-tap-hint.is-visible {
      opacity: 1;
      visibility: visible;
    }

    #exp-mobile-song-bar {
      display: none;
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 650;
      justify-content: center;
      align-items: flex-end;
      padding: 0 1rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
      pointer-events: none;
    }

    body.mobile-exp #exp-mobile-song-bar {
      display: flex;
      pointer-events: auto;
    }

    #exp-mobile-song-picker {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      max-width: min(96vw, 30rem);
      padding: 0.45rem 0.15rem;
      border: none;
      background: transparent;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
    }

    #exp-mobile-song-picker:active #exp-mobile-song-name {
      color: var(--accent-hover);
    }

    .exp-mobile-song-now-playing {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.7rem;
      min-width: 0;
      max-width: 100%;
    }

    body.mobile-exp #exp-mobile-song-now-playing .nav-music-viz {
      height: 1.45em;
      gap: 3px;
      flex-shrink: 0;
    }

    body.mobile-exp #exp-mobile-song-now-playing .nav-music-viz-bar {
      width: 2.5px;
      height: 4px;
    }

    body.mobile-exp #exp-mobile-song-now-playing.is-viz-paused .nav-music-viz-bar {
      animation: mobile-song-viz-idle 1.15s ease-in-out infinite;
    }

    body.mobile-exp #exp-mobile-song-now-playing.is-viz-paused .mobile-song-viz-left .nav-music-viz-bar:nth-child(1) { animation-delay: 0s; }
    body.mobile-exp #exp-mobile-song-now-playing.is-viz-paused .mobile-song-viz-left .nav-music-viz-bar:nth-child(2) { animation-delay: 0.1s; }
    body.mobile-exp #exp-mobile-song-now-playing.is-viz-paused .mobile-song-viz-left .nav-music-viz-bar:nth-child(3) { animation-delay: 0.2s; }
    body.mobile-exp #exp-mobile-song-now-playing.is-viz-paused .mobile-song-viz-left .nav-music-viz-bar:nth-child(4) { animation-delay: 0.3s; }
    body.mobile-exp #exp-mobile-song-now-playing.is-viz-paused .mobile-song-viz-left .nav-music-viz-bar:nth-child(5) { animation-delay: 0.4s; }
    body.mobile-exp #exp-mobile-song-now-playing.is-viz-paused .mobile-song-viz-right .nav-music-viz-bar:nth-child(1) { animation-delay: 0.4s; }
    body.mobile-exp #exp-mobile-song-now-playing.is-viz-paused .mobile-song-viz-right .nav-music-viz-bar:nth-child(2) { animation-delay: 0.3s; }
    body.mobile-exp #exp-mobile-song-now-playing.is-viz-paused .mobile-song-viz-right .nav-music-viz-bar:nth-child(3) { animation-delay: 0.2s; }
    body.mobile-exp #exp-mobile-song-now-playing.is-viz-paused .mobile-song-viz-right .nav-music-viz-bar:nth-child(4) { animation-delay: 0.1s; }
    body.mobile-exp #exp-mobile-song-now-playing.is-viz-paused .mobile-song-viz-right .nav-music-viz-bar:nth-child(5) { animation-delay: 0s; }

    @keyframes mobile-song-viz-idle {
      0%, 100% { height: 4px; opacity: 0.5; }
      50% { height: 17px; opacity: 0.95; }
    }

    body.mobile-exp #exp-mobile-song-now-playing.is-viz-muted .nav-music-viz-bar {
      animation: none !important;
      height: 3px !important;
      opacity: 0.28;
      box-shadow: none;
    }

    body.mobile-exp #exp-mobile-song-name {
      font-family: 'Metal Mania', cursive;
      font-weight: 400;
      font-size: clamp(1.2rem, 5.5vw, 1.65rem);
      letter-spacing: 0.04em;
      line-height: 1.1;
      text-align: center;
      color: var(--accent);
      text-transform: none;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: min(58vw, 14rem);
      flex: 0 1 auto;
      min-width: 0;
      transition: color 0.15s ease;
    }

    body.mobile-exp #song-menu .song-menu-title,
    body.mobile-exp #song-menu-list > div {
      font-family: 'Metal Mania', cursive;
      font-weight: 400;
      letter-spacing: 0.03em;
    }

    body.mobile-exp #song-menu-list > div > div > div:last-child {
      font-family: 'Inter', system-ui, sans-serif;
      letter-spacing: 0.02em;
    }

    @media (max-width: 767px) {
      #exp-song-pills {
        display: none !important;
      }
    }

    body.embed-active #exp-song-pills,
    body.embed-preload #exp-song-pills,
    body.compilation-mode #exp-song-pills {
      display: flex !important;
    }

    body.mobile-exp.embed-active #exp-song-pills,
    body.mobile-exp.compilation-mode #exp-song-pills {
      display: none !important;
    }

    .exp-ctrl-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.375rem 0.75rem;
      font-size: 0.875rem;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 0.25rem;
      background: transparent;
      color: #f1f1f1;
      cursor: pointer;
    }

    .exp-ctrl-btn:hover {
      background: rgba(255, 255, 255, 0.05);
    }

    #exp-video-wrapper {
      flex: 1 1 0%;
      min-height: 0;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: #000;
    }

    #exp-video-wrapper video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      inset: 0;
    }

    /* Embed mode: no Tailwind CDN — minimal layout for rift experience */
    body.embed-preload #rift-experience,
    body.embed-active #rift-experience {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      top: 0;
      display: flex;
      flex-direction: column;
      background: #000;
      z-index: 300;
    }

    body.embed-preload #rift-experience.hidden,
    body.embed-active #rift-experience.hidden {
      display: none;
    }
    body.embed-active #exp-video-wrapper,
    body.embed-preload #exp-video-wrapper {
      flex: 1 1 0%;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: #000;
      min-height: 0;
    }
    body.embed-active #exp-video-wrapper video,
    body.embed-preload #exp-video-wrapper video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      inset: 0;
    }
    body.embed-active #exp-bottom-bar,
    body.embed-preload #exp-bottom-bar {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 4rem;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 0 1rem;
      border-top: 1px solid rgba(255,255,255,0.1);
      background: rgba(0,0,0,0.8);
      z-index: 80;
    }
    body.embed-active #exp-bottom-bar .exp-bottom-center,
    body.embed-preload #exp-bottom-bar .exp-bottom-center {
      grid-column: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 0;
    }
    body.embed-preload #site-nav {
      opacity: 0 !important;
      pointer-events: none !important;
    }

    body.embed-active #site-nav {
      display: flex !important;
      visibility: visible !important;
    }

    /* Copied button styles from the game for Meteorites */
    .btn {
      position: absolute;
      transition: transform 0.1s cubic-bezier(0.23, 1, 0.32, 1), 
                  filter 0.2s ease;
      z-index: 2;
      will-change: transform;
    }
    .btn:active {
      transform: scale(0.92) !important;
      filter: brightness(0.85) saturate(1.3);
    }
    .btn .core {
      position: absolute;
      inset: 0;
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }
    .button-3d {
      position: relative;
      width: 100%;
      height: 100%;
      transform-style: preserve-3d;
      transition: transform 0.12s ease-out;
      will-change: transform;
      overflow: visible;
    }
    .button-3d .core {
      box-shadow: 
        inset  18px  16px  22px rgba(255,255,255,0.12),
        inset -16px -14px  24px rgba(0,0,0,0.75),
        0 4px 12px rgba(0,0,0,0.6),
        0 1px 3px rgba(0,0,0,0.8);
      transition: box-shadow 0.2s ease, filter 0.15s ease;
    }
    .specular {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 180%;
      height: 180%;
      transform: translate(-50%, -50%);
      background: radial-gradient(
        circle at center,
        rgba(255,255,255,0.45) 0%,
        rgba(255,255,255,0.18) 22%,
        transparent 55%
      );
      pointer-events: none;
      mix-blend-mode: screen;
      transition: transform 0.1s ease-out;
      z-index: 3;
      border-radius: 50%;
    }
    .btn:hover .core {
      filter: brightness(1.08) contrast(1.04);
    }
    .btn:hover {
      z-index: 10;
    }

    #site-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 600;
      height: 3.5rem;
      display: flex;
      align-items: center;
      padding: 0 1.25rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.82);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      box-sizing: border-box;
      transition: opacity 0.4s ease;
    }

    #site-nav .nav-logo,
    #site-nav .site-nav-links {
      position: relative;
      z-index: 2;
      flex-shrink: 0;
    }

    .site-nav-now-playing {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      display: none;
      align-items: center;
      gap: 0.5rem;
      max-width: min(76vw, 36rem);
      pointer-events: none;
      z-index: 1;
    }

    .site-nav-now-playing.is-visible {
      display: inline-flex;
    }

    #site-nav .site-nav-current-song {
      min-width: 0;
      max-width: min(42vw, 18rem);
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.2;
      cursor: default;
      user-select: none;
    }

    .nav-music-viz {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2px;
      height: 1.2em;
      flex-shrink: 0;
    }

    .nav-music-viz-right {
      transform: scaleX(-1);
    }

    .nav-music-viz-bar {
      display: block;
      width: 2px;
      height: 3px;
      border-radius: 999px;
      background: linear-gradient(to top, #3c5fa8, #7ba3e0);
      box-shadow: 0 0 6px rgba(60, 100, 165, 0.5);
      transform-origin: center center;
      will-change: height, opacity;
      align-self: center;
    }

    .site-nav-now-playing.is-viz-paused .nav-music-viz-bar {
      animation: nav-viz-idle 1.15s ease-in-out infinite;
    }

    .site-nav-now-playing.is-viz-paused .nav-music-viz-left .nav-music-viz-bar:nth-child(1) { animation-delay: 0s; }
    .site-nav-now-playing.is-viz-paused .nav-music-viz-left .nav-music-viz-bar:nth-child(2) { animation-delay: 0.1s; }
    .site-nav-now-playing.is-viz-paused .nav-music-viz-left .nav-music-viz-bar:nth-child(3) { animation-delay: 0.2s; }
    .site-nav-now-playing.is-viz-paused .nav-music-viz-left .nav-music-viz-bar:nth-child(4) { animation-delay: 0.3s; }
    .site-nav-now-playing.is-viz-paused .nav-music-viz-left .nav-music-viz-bar:nth-child(5) { animation-delay: 0.4s; }
    .site-nav-now-playing.is-viz-paused .nav-music-viz-right .nav-music-viz-bar:nth-child(1) { animation-delay: 0.4s; }
    .site-nav-now-playing.is-viz-paused .nav-music-viz-right .nav-music-viz-bar:nth-child(2) { animation-delay: 0.3s; }
    .site-nav-now-playing.is-viz-paused .nav-music-viz-right .nav-music-viz-bar:nth-child(3) { animation-delay: 0.2s; }
    .site-nav-now-playing.is-viz-paused .nav-music-viz-right .nav-music-viz-bar:nth-child(4) { animation-delay: 0.1s; }
    .site-nav-now-playing.is-viz-paused .nav-music-viz-right .nav-music-viz-bar:nth-child(5) { animation-delay: 0s; }

    @keyframes nav-viz-idle {
      0%, 100% { height: 3px; opacity: 0.45; }
      50% { height: 12px; opacity: 0.92; }
    }

    .site-nav-now-playing.is-viz-muted .nav-music-viz-bar {
      animation: none !important;
      height: 2px !important;
      opacity: 0.28;
      box-shadow: none;
    }

    #site-nav .site-nav-spacer {
      flex: 1 1 auto;
      min-width: 0;
    }

    #site-nav .site-nav-links {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-shrink: 0;
    }

    .nav-metal-brand,
    .nav-metal-about,
    #bio-popup .bio-heading,
    #bio-popup .bio-contact-link,
    button.bio-contact-link {
      font-family: 'Metal Mania', cursive;
      font-weight: 400;
      letter-spacing: 0.04em;
      line-height: 1;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      padding: 2px 0;
      max-width: min(52vw, 168px);
      pointer-events: none;
      user-select: none;
    }

    .nav-logo-img {
      display: block;
      height: 2.15rem;
      width: auto;
      max-width: 100%;
      object-fit: contain;
      object-position: left center;
    }

    #impressum-popup {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 950;
      background: rgba(0, 0, 0, 0.92);
      align-items: center;
      justify-content: center;
      padding: 1rem;
      box-sizing: border-box;
    }

    #impressum-popup.is-open {
      display: flex;
    }

    #impressum-popup .impressum-popup-panel {
      background: #000;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 0.75rem;
      max-width: 40rem;
      width: 100%;
      max-height: 88vh;
      overflow: auto;
      padding: 1.5rem 1.75rem 1.75rem;
      position: relative;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.88rem;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.82);
    }

    #impressum-popup .impressum-popup-close {
      position: absolute;
      top: 0.85rem;
      right: 0.85rem;
      background: transparent;
      border: none;
      color: rgba(255, 255, 255, 0.45);
      font-size: 1.6rem;
      line-height: 1;
      cursor: pointer;
    }

    #impressum-popup .impressum-popup-close:hover {
      color: #fff;
    }

    #impressum-popup .impressum-popup-title {
      font-size: 1.15rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #f1f1f1;
      margin: 0 0 0.35rem;
    }

    #impressum-popup .impressum-popup-subtitle {
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.42);
      margin: 0 0 1.25rem;
    }

    #impressum-popup .impressum-section {
      margin: 0 0 1.15rem;
    }

    #impressum-popup .impressum-section h3 {
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.5);
      margin: 0 0 0.45rem;
      font-weight: 600;
    }

    #impressum-popup .impressum-section p {
      margin: 0;
      color: rgba(255, 255, 255, 0.78);
    }

    #impressum-popup .impressum-popup-mail {
      color: #b8726d;
      text-decoration: none;
    }

    #impressum-popup .impressum-popup-mail:hover {
      color: #d48f8a;
    }

    #impressum-popup .legal-part-heading {
      font-size: 0.95rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #f1f1f1;
      margin: 1.5rem 0 1rem;
      padding-top: 1.25rem;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    #impressum-popup .legal-part-heading:first-of-type {
      margin-top: 0;
      padding-top: 0;
      border-top: none;
    }

    .nav-metal-brand {
      font-size: 1.45rem;
      color: #f1f1f1;
      text-decoration: none;
      display: flex;
      align-items: center;
      padding: 4px 0;
      flex-shrink: 0;
    }

    .nav-metal-about {
      font-size: 1.28rem;
      color: #fff;
      text-transform: uppercase;
      border: 1px solid rgba(255, 255, 255, 0.38);
      border-radius: 0.3rem;
      padding: 0.32rem 0.72rem;
      transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    }

    .nav-metal-about:hover {
      color: #fff;
      border-color: rgba(255, 255, 255, 0.65);
      background: rgba(255, 255, 255, 0.06);
    }

    .site-nav-menu-toggle {
      display: none;
      align-items: center;
      justify-content: center;
      width: 2.5rem;
      height: 2.5rem;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, 0.38);
      border-radius: 0.3rem;
      background: rgba(0, 0, 0, 0.35);
      cursor: pointer;
      flex-shrink: 0;
      z-index: 2;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }

    .site-nav-menu-bars {
      display: block;
      width: 1.15rem;
      height: 2px;
      background: #fff;
      border-radius: 1px;
      position: relative;
      transition: background 0.2s ease;
    }

    .site-nav-menu-bars::before,
    .site-nav-menu-bars::after {
      content: '';
      position: absolute;
      left: 0;
      width: 1.15rem;
      height: 2px;
      background: #fff;
      border-radius: 1px;
      transition: transform 0.2s ease, top 0.2s ease;
    }

    .site-nav-menu-bars::before { top: -6px; }
    .site-nav-menu-bars::after { top: 6px; }

    body.site-nav-menu-open .site-nav-menu-bars {
      background: transparent;
    }

    body.site-nav-menu-open .site-nav-menu-bars::before {
      top: 0;
      transform: rotate(45deg);
    }

    body.site-nav-menu-open .site-nav-menu-bars::after {
      top: 0;
      transform: rotate(-45deg);
    }

    .site-nav-mobile-menu {
      position: fixed;
      top: 3.5rem;
      right: 0;
      left: 0;
      z-index: 599;
      display: flex;
      flex-direction: column;
      padding: 0.35rem 0.85rem 0.85rem;
      background: rgba(0, 0, 0, 0.94);
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(-6px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .site-nav-mobile-menu.is-open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0);
    }

    .site-nav-mobile-link {
      font-family: 'Metal Mania', cursive;
      font-size: 1.2rem;
      letter-spacing: 0.04em;
      line-height: 1.2;
      color: #fff;
      text-transform: uppercase;
      text-decoration: none;
      text-align: left;
      width: 100%;
      padding: 0.9rem 0.65rem;
      border: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      background: transparent;
      cursor: pointer;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }

    .site-nav-mobile-link:last-child {
      border-bottom: 0;
    }

    .site-nav-mobile-link:active {
      background: rgba(255, 255, 255, 0.06);
    }

    @media (max-width: 768px) {
      #site-nav .site-nav-links--desktop {
        display: none !important;
      }

      .site-nav-menu-toggle {
        display: inline-flex;
      }
    }

    @media (min-width: 769px) {
      .site-nav-menu-toggle,
      .site-nav-mobile-menu {
        display: none !important;
      }
    }

    #exp-current-song,
    #exp-mobile-song-name {
      color: var(--accent) !important;
    }

    .bio-heading {
      line-height: 1.1;
      color: #f1f1f1;
    }

    .bio-tagline {
      font-family: 'Space Grotesk', Georgia, 'Times New Roman', serif;
      color: var(--accent);
      font-weight: 500;
      letter-spacing: 0.05em;
    }

    .bio-text {
      font-size: 1.05rem;
      line-height: 1.7;
      color: #d1d5db;
    }

    .bio-text em {
      font-family: 'Space Grotesk', Georgia, 'Times New Roman', serif;
      font-style: italic;
      color: #ece8e7;
    }

    .bio-text a {
      color: var(--accent);
      text-decoration: none;
      transition: color 0.15s ease;
    }

    .bio-text a:hover {
      color: var(--accent-hover);
    }

    .bio-contact-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 2rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .bio-contact-link,
    button.bio-contact-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.625rem 1.125rem;
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 0.375rem;
      color: #f1f1f1;
      text-decoration: none;
      font-size: 0.95rem;
      letter-spacing: 0.06em;
      background: rgba(255, 255, 255, 0.03);
      transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
      cursor: pointer;
    }

    .bio-contact-link:hover {
      border-color: var(--accent);
      background: rgba(155, 91, 87, 0.12);
      color: #fff;
    }

    .bio-contact-link .bio-contact-arrow {
      color: var(--accent);
      font-family: 'Inter', system-ui, sans-serif;
    }

    #bio-popup .bio-popup-portrait {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .bio-legal-text-link {
      margin-top: 0.85rem;
      padding: 0;
      border: none;
      background: none;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.52rem;
      letter-spacing: 0.06em;
      color: rgba(255, 255, 255, 0.38);
      text-decoration: underline;
      text-underline-offset: 0.18em;
      text-decoration-color: rgba(255, 255, 255, 0.18);
      cursor: pointer;
      line-height: 1.3;
      text-align: center;
      transition: color 0.18s ease, text-decoration-color 0.18s ease;
    }

    .bio-legal-text-link:hover,
    .bio-legal-text-link:focus-visible {
      color: rgba(255, 255, 255, 0.62);
      text-decoration-color: rgba(255, 255, 255, 0.35);
      outline: none;
    }

    @media (min-width: 1024px) {
      #bio-popup .bio-popup-portrait {
        align-items: flex-start;
      }

      .bio-legal-text-link {
        text-align: left;
        align-self: flex-start;
      }
    }

    #bio-popup {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 900;
      background: rgba(0, 0, 0, 0.95);
      align-items: center;
      justify-content: center;
      padding: 1rem;
      box-sizing: border-box;
    }

    #bio-popup.is-open {
      display: flex;
    }

    #bio-popup .bio-popup-panel {
      background: #000;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 1rem;
      max-width: 64rem;
      width: 100%;
      max-height: 90vh;
      overflow-x: hidden;
      overflow-y: auto;
      position: relative;
    }

    #bio-popup .bio-popup-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: transparent;
      border: none;
      color: rgba(255, 255, 255, 0.5);
      font-size: 1.75rem;
      line-height: 1;
      cursor: pointer;
      z-index: 10;
    }

    #bio-popup .bio-popup-close:hover {
      color: #fff;
    }

    #bio-popup .bio-popup-inner {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      padding: 1.5rem;
    }

    @media (min-width: 1024px) {
      #bio-popup .bio-popup-inner {
        flex-direction: row;
        gap: 3rem;
        padding: 2rem;
        align-items: flex-start;
      }
      #bio-popup .bio-popup-portrait {
        flex: 0 0 42%;
      }
      #bio-popup .bio-popup-text {
        flex: 1;
      }
    }

    #song-menu {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 850;
      background: rgba(0, 0, 0, 0.95);
      align-items: flex-end;
      justify-content: center;
      padding: 0;
    }

    #song-menu.is-open {
      display: flex;
    }

    @media (min-width: 768px) {
      #song-menu {
        align-items: center;
        padding: 1rem;
      }
    }

    #song-menu .song-menu-panel {
      width: 100%;
      max-width: 420px;
      background: #0a0a0a;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 1rem 1rem 0 0;
      padding: 1.25rem 1.25rem 2rem;
      max-height: 70vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    @media (min-width: 768px) {
      #song-menu .song-menu-panel {
        border-radius: 0.75rem;
        padding-bottom: 1.25rem;
      }
    }

    #song-menu-list > div {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 0.875rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 0.25rem;
      margin-bottom: 2px;
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s;
    }

    #song-menu-list > div:hover,
    #song-menu-list > div.active {
      border-color: var(--accent);
      background: rgba(155, 91, 87, 0.1);
    }

    .song-menu-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1rem;
      flex-shrink: 0;
    }

    .song-menu-title {
      font-size: 1.125rem;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .song-menu-close {
      background: transparent;
      border: none;
      color: rgba(255, 255, 255, 0.5);
      font-size: 1.75rem;
      line-height: 1;
      cursor: pointer;
      padding: 0;
    }

    .song-menu-close:hover {
      color: #fff;
    }

    #song-menu-list {
      overflow-y: auto;
      max-height: 55vh;
      font-size: 0.875rem;
    }

    #logo-intro-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 1100;
      align-items: center;
      justify-content: center;
      background: #000;
      opacity: 0;
      pointer-events: none;
    }

    #logo-intro-overlay.is-visible {
      display: flex;
      animation: logo-intro-total 2s ease-out forwards;
    }

    @keyframes logo-intro-total {
      0%, 65% { opacity: 1; }
      100% { opacity: 0; }
    }

    #logo-intro-overlay .logo-intro-img {
      display: block;
      width: min(78vw, 520px);
      max-width: 520px;
      height: auto;
      user-select: none;
      -webkit-user-drag: none;
    }

    /* Hardcore gothic metal band logo style - Pirata One (high visibility) */
    #exp-lyrics-text {
      font-family: 'Metal Mania', Impact, "Arial Black", "Helvetica Bold", sans-serif;
      font-weight: 900;
      color: #fff !important;
      text-transform: uppercase;
      letter-spacing: -0.03em;
      line-height: 0.82;
      -webkit-text-stroke: 1.5px #000;
      -webkit-text-fill-color: #fff;
      background: rgba(0,0,0,0.25);
      padding: 2px 10px;
      border-radius: 2px;
      text-shadow: 
        -2px -2px 0 #000,
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
        -3px  0  0 #000,
         3px  0  0 #000,
         0 -3px 0 #000,
         0  3px 0 #000,
         0  0  8px rgba(0,0,0,0.95);
    }

    .seo-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    #impressum-popup .impressum-popup-title,
    #impressum-popup .legal-part-heading {
      font-weight: 600;
    }

/* Quality preference control */
.leo-quality-label {
  display: inline-flex;
  align-items: center;
  margin-right: 0.75rem;
}
.leo-quality-select {
  appearance: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  color: #f1f1f1;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
}
.leo-quality-select:focus {
  outline: 1px solid var(--accent, #9b5b57);
}
.leo-quality-select option {
  background: #111;
  color: #f1f1f1;
}
