/*
 * Gemeinsames Aussehen der oeffentlichen Detailseiten (/post, /event).
 *
 * Ausgelagert, damit eine Aenderung am Erscheinungsbild nicht in zwei
 * Dateien gepflegt werden muss. Die Rechtstexte tragen ihr CSS noch inline
 * — die duerfen spaeter gerne nachziehen.
 */
/* ── SELF-HOSTED FONTS (kein externes CDN, DSGVO-konform) ── */
    @font-face {
      font-family: 'Space Grotesk'; font-style: normal; font-weight: 400;
      font-display: swap; src: url('/fonts/space-grotesk-400.woff2') format('woff2');
    }
    @font-face {
      font-family: 'Space Grotesk'; font-style: normal; font-weight: 700;
      font-display: swap; src: url('/fonts/space-grotesk-700.woff2') format('woff2');
    }
    @font-face {
      font-family: 'Space Mono'; font-style: normal; font-weight: 700;
      font-display: swap; src: url('/fonts/space-mono-700.woff2') format('woff2');
    }
    :root {
      --bg: #080808; --s: #111111; --b: #242424; --b2: #2e2e2e;
      --a: #C8FF00; --t: #F2F2F2; --t2: #999999; --t3: #555555;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      background: var(--bg); color: var(--t); font-family: 'Space Grotesk', sans-serif;
      min-height: 100vh; display: flex; flex-direction: column;
    }
    nav {
      display: flex; align-items: center; justify-content: space-between;
      padding: 20px 24px; border-bottom: 1px solid var(--b);
    }
    .logo { font-size: 22px; font-weight: 700; color: var(--t); text-decoration: none; }
    .logo span { color: var(--a); }

    /* ── Lockup: Zeichen links, Wortmarke rechts ──
       Groesse und Abstand sind aus svg/tremlon-lockup-hell.svg GEMESSEN, nicht
       geschaetzt: Dort ist das Zeichen 1540 Einheiten hoch, die Versalhoehe des
       Schriftzugs 700 - also Faktor 2,2. Space Grotesk hat rund 0,7em
       Versalhoehe, macht 1.54em. Der Abstand betraegt im Lockup 438 Einheiten
       = 0,63 Versalhoehen = 0.44em. Das Zeichen sitzt mittig auf der
       Versalhoehe, deshalb align-items:center.
       In em, damit Kopfzeile (28px), Unterseiten (22px) und Fusszeile (20px)
       ohne eigene Regeln alle stimmen. */
    .logo, .footer-logo { display: inline-flex; align-items: center; gap: 0.44em; }
    .logo-mark { flex: 0 0 auto; width: 1.54em; height: 1.54em; display: block; }
    .logo-mark svg { display: block; width: 100%; height: 100%; }

    main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
    .card {
      width: 100%; max-width: 440px; background: var(--s);
      border: 1px solid var(--b); border-radius: 20px; padding: 24px;
    }
    .who { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
    .avatar {
      width: 38px; height: 38px; border-radius: 50%; background: var(--a);
      display: flex; align-items: center; justify-content: center;
      font-weight: 700; color: #000; font-size: 16px; overflow: hidden;
    }
    .avatar img { width: 100%; height: 100%; object-fit: cover; }
    .name { font-weight: 700; font-size: 15px; }
    .handle { color: var(--t3); font-size: 13px; }
    /* Das eigene Bild zum Beitrag (seit 26.09.2026). Steht ueber der Songzeile,
       genau wie in der App — das Albumcover daneben behaelt seine Aufgabe. */
    .beitragsbild {
      display: block; width: 100%; max-height: 420px;
      object-fit: cover; border-radius: 12px; margin-bottom: 16px;
      background: #181818;
    }

    /* Profilkopf der oeffentlichen Profilseite (/@name), seit 26.09.2026. */
    .profilKopf { text-align: center; margin-bottom: 18px; }
    .profilBild {
      width: 88px; height: 88px; border-radius: 50%; background: var(--a);
      margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
      font-weight: 700; color: #000; font-size: 34px; overflow: hidden;
    }
    .profilBild img { width: 100%; height: 100%; object-fit: cover; }
    .profilKopf .handle { margin-top: 4px; }
    .haken { color: var(--a); }
    .genres { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
    .genres .mood { margin-top: 0; }

    .song { display: flex; gap: 16px; align-items: center; }
    .cover {
      width: 88px; height: 88px; border-radius: 12px; background: #1a1a2e; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: 28px; overflow: hidden;
    }
    .cover img { width: 100%; height: 100%; object-fit: cover; }
    .title { font-weight: 700; font-size: 19px; line-height: 1.25; }
    .artist { color: var(--t2); font-size: 15px; margin-top: 3px; }
    .mood {
      display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 100px;
      border: 1px solid var(--b2); font-size: 12px; font-weight: 700; color: var(--t2);
    }
    .note {
      margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--b);
      color: var(--t2); font-style: italic; line-height: 1.6; font-size: 15px;
    }
    .cta {
      display: block; margin-top: 24px; background: var(--a); color: #000;
      text-align: center; text-decoration: none; font-weight: 700; font-size: 15px;
      padding: 14px; border-radius: 100px;
    }
    .hint { text-align: center; color: var(--t3); font-size: 12px; margin-top: 12px; }
    .state { text-align: center; color: var(--t2); }
    .state h1 { font-size: 20px; margin-bottom: 8px; color: var(--t); }
    footer { padding: 24px; text-align: center; border-top: 1px solid var(--b); }
    footer a { color: var(--t3); font-size: 12px; text-decoration: none; margin: 0 8px; }
    footer a:hover { color: var(--a); }
