/* Another Future Label – Monolith */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Doto";
  src: url("../fonts/Doto-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Doto";
  src: url("../fonts/Doto-700-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #09090A;
  --ink: #F2F2F3;
  --ink-2: #D6D6D9;
  --ink-3: #B4B4B9;
  --muted: #9A9A9F;
  --faint: #8C8C91;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.08);
  --field: rgba(0, 0, 0, 0.35);
  --accent: #E8DF6E;
  --accent-soft: rgba(232, 223, 110, 0.08);
  --accent-line: rgba(232, 223, 110, 0.32);
  --danger: #FF9C8C;
  --ok: #A6E3BF;
  --r-xl: 36px;
  --r-l: 28px;
  --r-m: 18px;
  --gutter: 40px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse 1500px 1000px at 80% -10%, #26272B 0%, #111113 45%, rgba(9, 9, 10, 0) 75%) no-repeat, var(--bg);
  color: var(--ink);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Körnung über allem */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--ink-2); }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h2 { font-size: 17px; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.doto { font-family: "Doto", ui-monospace, monospace; font-weight: 700; letter-spacing: 0.02em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.warn { color: var(--accent); }
.grow { flex: 1 1 auto; min-width: 0; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 10; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }

/* Rahmen */
.shell {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.main { flex: 1 0 auto; display: flex; flex-direction: column; gap: 24px; }
.foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); padding-top: 20px; border-top: 1px solid var(--line); }

/* Navigation: Logo links, Bubble mittig, Aktionen rechts bündig */
.nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.nav-logo { justify-self: start; display: flex; padding: 8px 0; color: var(--ink); }
.logo { width: 86px; height: auto; display: block; }
.bubble {
  height: 60px;
  padding: 0 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--glass-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.bubble a {
  padding: 10px 18px;
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.bubble a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.bubble a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  background: var(--glass-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.avatar {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #2A2A2E;
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
}
a.avatar:hover, .avatar[aria-current="page"] { background: var(--ink); color: var(--bg); }
.avatar-sm { width: 32px; height: 32px; font-size: 11px; }
.avatar-lg { width: 64px; height: 64px; font-size: 18px; }

/* Seitenkopf */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 8px; }
.eyebrow { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 10px; }
.title { font-size: clamp(40px, 6vw, 60px); font-weight: 400; letter-spacing: -0.03em; line-height: 1; }

.stats { display: flex; flex-wrap: wrap; gap: 12px; }
.stat {
  min-width: 150px;
  padding: 18px 22px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  text-decoration: none;
}
.stat-num { font-size: 44px; line-height: 1; color: var(--ink); }
.stat-label { font-size: 13px; color: var(--muted); }
.stat-hot { background: var(--accent-soft); border-color: var(--accent-line); }
.stat-hot .stat-num { color: var(--accent); }

/* Karten */
.card {
  border-radius: var(--r-l);
  padding: 24px 26px;
  background: var(--glass);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  min-width: 0;
}
.card-lg { border-radius: 32px; padding: 28px 30px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.grid-2 { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.grid-2 > * { flex: 1 1 400px; }
.grid-2 > .card-lg { flex: 2 1 560px; }
.col { display: flex; flex-direction: column; gap: 20px; flex: 1 1 360px; min-width: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.person { flex-direction: row; align-items: center; }
.note { margin-top: 4px; }

.empty { display: flex; gap: 24px; align-items: center; padding: 24px 0; color: var(--ink-3); flex-wrap: wrap; }
.empty p:last-child { max-width: 420px; }
.empty-num { font-size: 72px; line-height: 1; color: rgba(255, 255, 255, 0.18); }

.placeholder { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 40px; padding: 48px; }
.placeholder > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.placeholder h2 { font-size: 26px; font-weight: 400; }
.placeholder-num { font-size: clamp(96px, 16vw, 160px); line-height: 0.9; color: rgba(255, 255, 255, 0.16); }

.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.list-row:first-child { border-top: 0; }
.list-row-wrap { flex-wrap: wrap; }
.tri { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid var(--accent); flex: 0 0 auto; display: inline-block; }

.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 12px; white-space: nowrap; }
.pill-solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.admin-links { display: flex; flex-wrap: wrap; gap: 16px; }
.admin-link { flex: 1 1 260px; flex-direction: row; align-items: center; gap: 20px; text-decoration: none; }
.admin-link:hover { background: var(--glass-2); }
.admin-link > span:last-child { display: flex; flex-direction: column; }
.admin-link-num { font-size: 40px; line-height: 1; color: var(--accent); }

/* Formulare */
.stack { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 12px; color: var(--muted); padding: 0; }
.row-fields { display: flex; flex-wrap: wrap; gap: 12px; }
.row-fields .field { flex: 1 1 240px; }
.input, .select {
  height: 52px;
  width: 100%;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.input::placeholder { color: var(--faint); }
.input:focus, .select:focus { outline: none; border-color: rgba(255, 255, 255, 0.4); }
.input-mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace; font-size: 13px; }
.select { height: 40px; padding: 0 36px 0 16px; width: auto; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23B4B4B9' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.select option { background: #18181B; }

.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); align-self: flex-start; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: var(--bg); font-weight: 500; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  align-self: flex-start;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); font-weight: 600; }
.btn-primary:hover { background: #fff; color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--glass-2); color: #fff; }
.btn-quiet { background: transparent; color: var(--muted); }
.btn-quiet:hover { color: var(--danger); }
.btn-small { height: 36px; padding: 0 14px; font-size: 12px; }
.btn-block { width: 100%; align-self: stretch; }

/* Tabelle */
.table-wrap { overflow-x: auto; margin: 0 -10px; }
.table { width: 100%; border-collapse: collapse; min-width: 760px; }
.table th { text-align: left; font-size: 12px; font-weight: 400; color: var(--faint); letter-spacing: 0.04em; padding: 8px 10px; }
.table td { padding: 10px; border-top: 1px solid rgba(255, 255, 255, 0.06); vertical-align: middle; }
.table .actions { display: flex; gap: 6px; justify-content: flex-end; }
.is-blocked td { opacity: 0.55; }
.cell-person { display: inline-flex; align-items: center; gap: 10px; }
.inline-form { display: flex; gap: 6px; align-items: center; }

.link-card { flex-direction: row; flex-wrap: wrap; align-items: flex-end; border-color: var(--accent-line); background: var(--accent-soft); }
.link-card .grow { display: flex; flex-direction: column; gap: 8px; flex: 1 1 360px; }

.version-big { font-size: clamp(64px, 10vw, 96px); line-height: 1; }
.update-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: var(--r-m); border: 1px solid var(--accent-line); background: var(--accent-soft); }
.update-box p { display: flex; align-items: center; gap: 10px; }

/* Hinweise */
.flash {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--glass-2);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  font-size: 14px;
}
.flash-ok { border-color: rgba(166, 227, 191, 0.35); }
.flash-ok::before, .flash-error::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.flash-ok::before { background: var(--ok); }
.flash-error { border-color: var(--accent-line); background: var(--accent-soft); }
.flash-error::before { background: var(--accent); }
.flash span { flex: 1 1 auto; }
.flash-close { background: none; border: 0; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; }
.flash-close:hover { color: #fff; background: var(--glass-2); }

/* Login, Einladung, Installer */
.auth-body { display: flex; }
.auth {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px;
  margin: auto;
  padding: 48px 20px;
  display: flex; flex-direction: column; gap: 20px;
}
.auth-wide { max-width: 760px; }
.auth-logo { color: var(--ink); display: flex; justify-content: center; margin-bottom: 12px; }
.auth-logo .logo { width: 120px; }
.auth-card { border-radius: 32px; padding: 32px; gap: 20px; }
.auth-title { font-size: 30px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
.auth-foot { text-align: center; font-size: 14px; color: var(--faint); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; }
.check-ok::before, .check-bad::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.check-ok::before { background: var(--ok); }
.check-bad { border-color: var(--accent-line) !important; }
.check-bad::before { background: var(--accent); }
.form-section { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-section h2 { display: flex; align-items: baseline; gap: 12px; }
.form-section h2 .doto { color: var(--accent); font-size: 18px; }
.hint { font-size: 13px; color: var(--muted); }

/* Schmale Bildschirme */
@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .nav { grid-template-columns: 1fr auto; row-gap: 14px; }
  .bubble { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; overflow-x: auto; scrollbar-width: none; }
  .bubble::-webkit-scrollbar { display: none; }
  .icon-btn { width: 52px; height: 52px; }
  .placeholder { padding: 32px 24px; gap: 16px; }
  .page-head > .stats { width: 100%; }
  .stat { min-width: 0; flex: 1 1 120px; }
  .stat-num { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ===================== Studio ===================== */
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.input-search { width: 260px; height: 48px; }
.card-flush { padding: 0; gap: 0; overflow: hidden; }
.card-pad { padding: 22px 26px 12px; }

.pipeline { display: flex; flex-wrap: wrap; gap: 8px; }
.stage { flex: 1 1 140px; min-width: 0; padding: 18px 20px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.stage-num { font-size: 40px; line-height: 1; }
.stage-label { font-size: 13px; color: var(--ink-3); }
.stage-hot { background: var(--accent-soft); border-color: var(--accent-line); }
.stage-hot .stage-num { color: var(--accent); }

.track-table { min-width: 900px; }
.track-table td { padding: 10px 12px; }
.track-table th:first-child, .track-table td:first-child { width: 64px; padding-left: 22px; }
.row-link { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.row-title { font-size: 16px; color: var(--ink); }
.row-link:hover .row-title { text-decoration: underline; text-underline-offset: 3px; }
.num { font-size: 18px; white-space: nowrap; }

.play-sm { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--glass-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.play-sm:hover, .play-sm.is-playing { background: var(--ink); color: var(--bg); }

.pill.status-feedback { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.pill.status-ready { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill.status-released { color: var(--ok); border-color: rgba(166, 227, 191, 0.4); }

/* Globaler Player – bleibt beim Seitenwechsel stehen */
.gp {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 30;
  width: min(760px, calc(100% - 32px));
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px 12px 8px; border-radius: 999px; overflow: hidden;
  background: rgba(24, 24, 27, 0.84); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.gp[hidden] { display: none; }
.gp-cover { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; text-decoration: none; color: var(--ink-3); font-size: 15px; }
.gp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gp-cover [hidden] { display: none; }
.gp-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; text-decoration: none; line-height: 1.25; }
.gp-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.gp-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--ink-3); }
.gp-meta:hover .gp-title { text-decoration: underline; text-underline-offset: 3px; }
.gp-time { font-size: 15px; color: var(--ink-2); flex: 0 0 auto; }
.gp-skip { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 12px; cursor: pointer; }
.gp-skip:hover { background: var(--glass-2); color: var(--ink); }
.gp .flash-close { flex: 0 0 auto; }
.gp-progress { position: absolute; left: 28px; right: 28px; bottom: 0; height: 12px; cursor: pointer; touch-action: none; }
.gp-progress:focus-visible { outline: none; }
.gp-line { position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); transition: height .12s; }
.gp-line > span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--accent); }
.gp-progress:hover .gp-line, .gp-progress.is-drag .gp-line, .gp-progress:focus-visible .gp-line { height: 5px; }
.gp-line > span::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--accent); opacity: 0; transition: opacity .12s; }
.gp-progress:hover .gp-line > span::after, .gp-progress.is-drag .gp-line > span::after { opacity: 1; }
.gp-time.is-preview [data-gp-time] { color: var(--accent); }
.gp-dur { color: var(--faint); }
body.has-player { padding-bottom: 96px; }
.gp-vol { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.gp-mute { width: 38px; height: 38px; border-radius: 50%; border: 0; background: none; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.gp-mute:hover { background: var(--glass-2); color: var(--ink); }
.gp-mute .i-muted, .gp-mute.is-muted .i-vol { display: none; }
.gp-mute.is-muted .i-muted { display: block; }
.gp-range { --fill: 100%; width: 84px; height: 18px; margin: 0 6px 0 0; background: none; appearance: none; -webkit-appearance: none; cursor: pointer; }
.gp-range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) var(--fill), rgba(255, 255, 255, 0.16) var(--fill)); }
.gp-range::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.gp-range::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--ink); }
.gp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: var(--ink); border: 0; }
.gp-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 0; }
.gp-range:hover::-webkit-slider-thumb, .gp-range:focus-visible::-webkit-slider-thumb { background: var(--accent); }
.gp-range:hover::-moz-range-thumb, .gp-range:focus-visible::-moz-range-thumb { background: var(--accent); }
@media (max-width: 560px) {
  .gp { gap: 8px; bottom: 12px; width: calc(100% - 24px); }
  .gp-skip, .gp-time, .gp-range { display: none; }
  .gp-progress { left: 20px; right: 20px; height: 14px; }
}

/* Abspiel-Knöpfe */
.t-play {
  width: 72px; height: 72px; flex: 0 0 auto;
  border-radius: 50%; border: 0; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; cursor: pointer;
}
.t-play:hover { background: #fff; }
.t-play-sm { width: 44px; height: 44px; }
.t-play .i-pause, .is-playing > .i-play, .is-playing .i-play { display: none; }
.is-playing > .i-pause, .is-playing .i-pause { display: block; }
.t-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(0, 0, 0, 0.3); color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; }
.t-btn:hover { background: var(--glass-2); }

/* ===================== Song-Seite ===================== */
.hero {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(ellipse at 78% 0%, #3C3D42 0%, #18181B 45%, #0B0B0C 80%);
  min-height: 420px;
  display: flex; align-items: flex-end;
}
.hero-deco {
  position: absolute; right: 32px; bottom: -0.12em;
  font-size: clamp(160px, 26vw, 340px); line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none; user-select: none;
}
.hero.has-cover { background: #0B0B0C; }
.hero-glow { position: absolute; inset: -20%; width: 140%; height: 140%; object-fit: cover; filter: blur(80px) saturate(1.2); opacity: 0.42; pointer-events: none; }
.hero.has-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 12, 0.85) 0%, rgba(11, 11, 12, 0.35) 70%, rgba(11, 11, 12, 0.2) 100%); pointer-events: none; }
.hero:has(.hero-cover) { --cover: min(360px, 30vw); min-height: calc(var(--cover) + 100px); }
.hero-cover { position: absolute; z-index: 2; right: 56px; top: 50%; transform: translateY(-50%); width: var(--cover); aspect-ratio: 1; }
.hero:has(.hero-cover) .hero-deco { z-index: 1; right: calc(56px + var(--cover) * 0.62); bottom: auto; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, 0.055); }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.cover-edit { position: absolute; right: 12px; bottom: 12px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(0, 0, 0, 0.45); color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; opacity: 0; transition: opacity .15s; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hero-cover:hover .cover-edit, .cover-edit:focus-visible { opacity: 1; }
.cover-empty { width: 100%; height: 100%; border-radius: 24px; border: 1px dashed rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.03); color: var(--ink-2); font: inherit; font-size: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-align: center; padding: 20px; }
.cover-empty:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--ink); }
.hero.has-cover .hero-inner, .hero-cover ~ .hero-inner { z-index: 1; padding-right: calc(var(--cover) + 100px); max-width: none; width: 100%; }
.drop-cover { min-height: 180px; }
.dlg-foot { display: flex; justify-content: center; padding-top: 6px; }
.thumb { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.06); display: grid; place-items: center; color: var(--ink-3); font-size: 16px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row-link-cover { flex-direction: row; align-items: center; gap: 14px; }
.row-text { display: flex; flex-direction: column; min-width: 0; }
.hero-inner { position: relative; padding: 40px 44px; display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.hero-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-title { font-size: clamp(40px, 6vw, 64px); font-weight: 400; letter-spacing: -0.03em; line-height: 1; margin-bottom: 14px; }

.status-form { position: relative; display: inline-flex; align-items: center; }
.status-dot { position: absolute; left: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); pointer-events: none; }
.status-dot.status-feedback, .status-dot.status-mix, .status-dot.status-master { background: var(--accent); }
.status-dot.status-ready, .status-dot.status-released { background: var(--ok); }
.pill-select {
  height: 36px; padding: 0 36px 0 32px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink); font: inherit; font-size: 13px; appearance: none; cursor: pointer;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23B4B4B9' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.pill-select option { background: #18181B; }

.members { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-3); font-size: 15px; }
.member { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.member form { display: inline; }
.x { width: 26px; height: 26px; border-radius: 50%; border: 0; background: none; color: var(--faint); cursor: pointer; font-size: 16px; line-height: 1; }
.x:hover { color: var(--danger); background: rgba(255, 255, 255, 0.06); }
.add-member { position: relative; }
.add-member summary { list-style: none; width: 34px; height: 34px; border-radius: 50%; border: 1px dashed var(--line-2); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.add-member summary::-webkit-details-marker { display: none; }
.add-member .pop { position: absolute; z-index: 5; top: 42px; left: 0; display: flex; gap: 8px; padding: 10px; border-radius: 20px; background: #18181B; border: 1px solid var(--line-2); width: max-content; }
.add-member .pop .input { height: 40px; width: 240px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; }
.hero-stats > div { display: flex; flex-direction: column; gap: 6px; }
.doto.big { font-size: 48px; line-height: 1; }
.transport { display: flex; align-items: center; gap: 4px; align-self: flex-start; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }

.wave-card { border-radius: 32px; padding: 26px 30px 20px; }
.wave-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.wave-time { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.wave-time .doto { font-size: 40px; line-height: 1; margin-right: 8px; }
.wave { position: relative; height: 150px; margin-top: 8px; cursor: pointer; touch-action: none; }
.wave canvas { position: absolute; left: 0; right: 0; top: 0; bottom: 24px; width: 100%; height: calc(100% - 24px); }
.playhead { position: absolute; top: 0; bottom: 24px; left: 0; width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; }
.markers { position: absolute; left: 0; right: 0; bottom: 0; height: 20px; }
.marker { position: absolute; bottom: 2px; width: 16px; height: 14px; margin-left: -8px; padding: 0; border: 0; background: none; cursor: pointer; }
.marker::before { content: ""; position: absolute; left: 2px; top: 2px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--accent); }
.marker:hover::before { border-bottom-color: #fff; }
.ticks { position: relative; height: 16px; margin-top: 6px; font-size: 11px; color: var(--faint); }
.ticks span { position: absolute; transform: translateX(-50%); }
.ticks span:first-child { transform: none; }

.panels { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.panel-foot { margin-top: auto; align-self: flex-start; }
.panels .comment-form { margin-top: auto; }
.panels > .card { flex: 1 1 320px; }

.version { position: relative; margin: 2px -12px; border-radius: 16px; border: 1px solid transparent; transition: background .15s; }
.version:hover { background: var(--glass); }
.version.is-current { background: var(--glass-2); border-color: rgba(255, 255, 255, 0.12); }
.version-link { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 10px 12px; border-radius: 16px; text-decoration: none; }
.version.has-del .version-link { padding-right: 50px; }
.version-del { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.version-del .x { width: 30px; height: 30px; }
.version-no { font-size: 18px; color: var(--ink-3); }
.is-current .version-no { color: var(--ink); }
.version-note { display: block; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.version-link .grow { display: flex; flex-direction: column; }
.now-tag { font-size: 11px; color: var(--accent); }

.file-row { gap: 12px; }
.file-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kind { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.file-name { word-break: break-word; font-size: 14px; color: var(--ink-2); }
.file-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.file-actions form { display: contents; }
.icon-sm { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); text-decoration: none; transition: background .15s, color .15s; }
.icon-sm:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.file-actions .x { width: 32px; height: 32px; }
.icon-sm-gap { width: 32px; height: 32px; }

.comment { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.comment:first-child { border-top: 0; }
.comment.is-done { opacity: 0.45; }
.comment-body { font-size: 15px; line-height: 1.45; word-break: break-word; }
.time-chip { flex: 0 0 auto; min-width: 50px; height: 28px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); font-size: 15px; cursor: pointer; }
.time-chip:hover { background: var(--accent); color: var(--bg); }
.time-chip-off { display: inline-flex; align-items: center; justify-content: center; border-color: var(--line); background: none; color: var(--faint); font-size: 12px; cursor: default; }
.check { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--faint); display: grid; place-items: center; cursor: pointer; }
.check:hover, .check.is-on { color: var(--ok); border-color: rgba(166, 227, 191, 0.45); }
.comment-form { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.comment-form .doto { color: var(--accent); font-size: 14px; }
.textarea { height: auto; min-height: 72px; padding: 14px 20px; border-radius: 22px; resize: vertical; line-height: 1.45; }
.comment-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.check-label { display: inline-flex; align-items: center; gap: 8px; }

.settings:not([open]) { gap: 0; }
.settings summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 28px; }
.settings summary h2 { margin: 0; }
.settings summary::-webkit-details-marker { display: none; }
.settings summary h2::after { content: " +"; color: var(--faint); }
.settings[open] summary h2::after { content: " –"; }
.settings[open] { gap: 18px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Dialoge */
.dlg {
  width: min(620px, calc(100% - 32px)); max-height: calc(100vh - 48px);
  padding: 28px; border-radius: 32px;
  border: 1px solid var(--line-2); background: #141416; color: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.dlg::backdrop { background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dlg-head h2 { font-size: 22px; font-weight: 400; display: flex; align-items: baseline; gap: 12px; }
.dlg-no { color: var(--accent); font-size: 20px; }
.dlg-confirm { width: min(440px, calc(100% - 32px)); display: none; }
.dlg-confirm[open] { display: flex; flex-direction: column; gap: 22px; }
.dlg-confirm p { font-size: 17px; line-height: 1.45; }

.drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 140px; padding: 24px; border-radius: 24px; text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.03); cursor: pointer;
}
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.is-over, .drop:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.drop.has-file { border-style: solid; border-color: rgba(255, 255, 255, 0.3); }
.drop-title { font-size: 17px; }
.input-file { height: auto; padding: 12px 16px; border-radius: 18px; font-size: 13px; }
.input-file::file-selector-button { margin-right: 12px; height: 32px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--glass-2); color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23B4B4B9' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 40px; }
select.input option { background: #18181B; }

.progress { position: relative; height: 48px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; }
.progress[hidden] { display: none; }
.progress-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(232, 223, 110, 0.18); transition: width .2s; }
.progress-text { position: relative; padding: 0 20px; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress-text .doto { font-size: 18px; color: var(--accent); }
.flash[hidden] { display: none; }

@media (max-width: 960px) {
  .hero { min-height: 360px; }
  .hero-inner { padding: 28px 22px; }
  .hero-deco { right: 12px; }
  .hero:has(.hero-cover) { flex-direction: column; align-items: stretch; }
  .hero-cover { position: relative; right: auto; top: auto; transform: none; width: min(300px, calc(100% - 44px)); margin: 22px 22px 0; }
  .hero:has(.hero-cover) { min-height: 0; }
  .hero:has(.hero-cover) .hero-deco { right: 12px; top: auto; bottom: -0.12em; transform: none; }
  .hero.has-cover .hero-inner, .hero-cover ~ .hero-inner { padding-right: 22px; }
  .input-search { width: 100%; }
  .head-actions { width: 100%; }
  .wave-card { padding: 20px; }
  .wave { height: 120px; }
}

/* ===================== Fragmente ===================== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-end; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; text-decoration: none; }
.chip:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.3); }
.chip[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 500; }
.chip-n { font-size: 11px; color: var(--faint); }
.chip[aria-current="page"] .chip-n { color: rgba(9, 9, 10, 0.55); }

.catch {
  display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 26px;
  border-radius: 999px; border: 1px dashed rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.03);
  transition: border-color .15s, background .15s;
}
.catch:focus-within { border-style: solid; border-color: rgba(255, 255, 255, 0.32); }
.catch.is-over { border-color: var(--accent-line); background: var(--accent-soft); }
.catch-input { flex: 1 1 auto; min-width: 0; height: 52px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; }
.catch-input::placeholder { color: var(--ink-3); }
.catch-input:focus { outline: none; }
.catch-btn { flex: 0 0 auto; gap: 8px; }
.catch-btn[hidden] { display: none; }

.wall { columns: 3 300px; column-gap: 20px; }
.frag {
  break-inside: avoid; -webkit-column-break-inside: avoid; display: flex; flex-direction: column; gap: 14px;
  width: 100%; margin: 0 0 20px; padding: 22px 24px; border-radius: var(--r-l);
  background: var(--glass); border: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.frag:target { border-color: var(--accent-line); }
.frag.is-fresh { background: linear-gradient(160deg, rgba(232, 223, 110, 0.07), rgba(255, 255, 255, 0.03) 60%); border-color: var(--accent-line); }
.frag-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.frag-kind { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.frag-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.frag-pill .tri { border-left-width: 4px; border-right-width: 4px; border-bottom-width: 7px; }
.frag-pill-warn { color: var(--accent); }
.frag-pill-ok { color: var(--ok); }
.frag-pill-bad { color: var(--danger); }
.frag-title { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; word-break: break-word; }
.frag-title a { text-decoration: none; }
.frag-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.frag-note { font-size: 24px; line-height: 1.32; letter-spacing: -0.015em; word-break: break-word; }
.frag-text { font-size: 14px; line-height: 1.5; color: var(--ink-2); word-break: break-word; }
.frag-meta { font-size: 13px; color: var(--ink-3); }
.frag-meta .doto { color: var(--ink-2); }
.memo-row { display: flex; align-items: center; gap: 18px; }
.frag-play-lg { width: 56px; height: 56px; }
.frag-dur { font-size: 40px; line-height: 1; color: var(--ink); }
.frag-play { align-self: flex-start; width: 44px; height: 44px; }
.frag-media { display: block; position: relative; margin: -8px -10px 0; border-radius: 22px; overflow: hidden; background: #0E0E10; }
.frag-media img { display: block; width: 100%; height: auto; }
.frag-video img { aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.8; transition: opacity .15s; }
.frag-video:hover img { opacity: 1; }
.frag-video-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.25); color: var(--ink); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.frag-video-t { position: absolute; right: 14px; bottom: 10px; font-size: 20px; color: var(--accent); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.frag-used { display: flex; flex-wrap: wrap; gap: 6px; }
.frag-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--glass-2); font-size: 12px; color: var(--ink-2); text-decoration: none; }
.frag-chip:hover { color: var(--ink); }
.frag-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.frag-by { font-size: 12px; color: var(--ink-3); }
.frag-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.frag-actions form { display: contents; }
.frag-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--ink-2); font: inherit; font-size: 12px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.frag-btn:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.3); }
.frag-btn.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.frag-btn-solid { background: var(--glass-2); border-color: transparent; color: var(--ink); }

.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.frag-more { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); cursor: pointer; }
.frag-more:hover, .menu[open] .frag-more { background: var(--glass-2); color: var(--ink); }
.menu-pop { position: absolute; z-index: 15; right: 0; top: 40px; min-width: 240px; padding: 8px; border-radius: 20px; background: #18181B; border: 1px solid var(--line-2); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; gap: 2px; }
.menu-pop form { display: block; }
.menu-item { display: flex; width: 100%; align-items: center; height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.menu-item:hover { background: var(--glass-2); }
.menu-danger { color: var(--danger); }
.menu-form { display: flex !important; flex-direction: column; gap: 8px; padding: 8px 8px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.input-sm { height: 40px; padding: 0 16px; font-size: 14px; }
select.input-sm { background-position: right 14px center; padding-right: 34px; }

.dlg-wide { width: min(720px, calc(100% - 32px)); }
.label-like { font-size: 12px; color: var(--muted); }
.segmented-wrap { flex-wrap: wrap; border-radius: 26px; }
.field-xs { flex: 0 0 96px !important; }
.dlg-alt { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.row-inline { display: flex; gap: 10px; }
.row-inline .input { flex: 1 1 auto; }

/* Felder je nach Art ein- und ausblenden */
[data-kind="sample"] [data-show]:not([data-show~="sample"]),
[data-kind="memo"] [data-show]:not([data-show~="memo"]),
[data-kind="link"] [data-show]:not([data-show~="link"]),
[data-kind="note"] [data-show]:not([data-show~="note"]),
[data-kind="sketch"] [data-show]:not([data-show~="sketch"]) { display: none !important; }

.rec { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.rec-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.3); display: grid; place-items: center; cursor: pointer; }
.rec-dot { width: 18px; height: 18px; border-radius: 50%; background: #E5484D; transition: border-radius .15s, transform .15s; }
.rec.is-recording .rec-dot { border-radius: 4px; transform: scale(0.9); }
.rec.is-recording { border-color: rgba(229, 72, 77, 0.5); }
.rec-time { font-size: 28px; line-height: 1; }
.rec-mid { display: flex; flex-direction: column; gap: 8px; }
.rec-meter { display: block; width: 96px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.rec-meter > span { display: block; height: 100%; background: #E5484D; transform: scaleX(0); transform-origin: left; transition: transform .06s linear; }
.rec.is-busy .rec-btn { opacity: 0.5; cursor: progress; }
.rec.is-recording .rec-time { color: #E5484D; }
.rec-preview { width: 100%; height: 40px; color-scheme: dark; }
.rec-preview[hidden] { display: none; }

/* ===================== Samples und Credits ===================== */
.sample-row { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.sample-row:first-child { border-top: 0; padding-top: 4px; }
.sample-main { display: flex; align-items: center; gap: 12px; }
.sample-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sample-title { font-size: 15px; }
.sample-extra { display: flex; flex-direction: column; gap: 6px; }
.sample-proof { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; align-self: flex-start; }
.sample-edit > summary { list-style: none; color: var(--ink-3); cursor: pointer; align-self: flex-start; display: inline-block; }
.sample-edit > summary::-webkit-details-marker { display: none; }
.sample-edit > summary:hover { color: var(--ink); }
.sample-edit[open] { padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.sample-del { align-self: flex-start; }
.sample-lock { display: flex; align-items: center; gap: 8px; color: var(--accent); }
.pill-select-sm { height: 32px; padding: 0 30px 0 14px; font-size: 12px; background-position: right 11px center; }
.pill-select.tone-warn { color: var(--accent); border-color: var(--accent-line); background-color: var(--accent-soft); }
.pill-select.tone-ok { color: var(--ok); border-color: rgba(166, 227, 191, 0.4); background-color: rgba(166, 227, 191, 0.08); }
.pill-select.tone-bad { color: var(--danger); border-color: rgba(255, 120, 120, 0.4); }
.status-cell { display: inline-flex; align-items: center; gap: 8px; }
.sample-flag { display: inline-grid; place-items: center; width: 24px; height: 24px; }

.credit-row { gap: 12px; }
.credit-name { font-size: 15px; min-width: 0; }
.credit-form { flex: 0 1 200px; }
.credit-input { background-color: transparent; }
.credit-role { text-align: right; }
.avatar-ext { background: none; border: 1px dashed var(--line-2); }
.credit-add { display: flex; gap: 8px; }
.credit-add .input { flex: 1 1 0; min-width: 0; }
.credit-add .btn { flex: 0 0 40px; width: 40px; height: 40px; padding: 0; font-size: 18px; }
.credit-out { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.credit-preview { margin: 0; padding: 14px 18px; border-radius: 18px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); font-family: inherit; font-size: 13px; line-height: 1.6; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.credit-out .btn { align-self: flex-start; }
.panels-2 > .card { flex-basis: 420px; }

@media (max-width: 720px) {
  .catch { flex-wrap: wrap; border-radius: 28px; padding: 10px 10px 10px 18px; }
  .catch-input { flex-basis: 100%; height: 44px; }
  .catch-btn { flex: 1 1 auto; justify-content: center; }
  .chips { align-self: flex-start; }
  .frag-note { font-size: 20px; }
  .credit-form { flex-basis: 150px; }
}

/* Kleine Wellenform auf Sample- und Memo-Karten */
.frag-player { display: flex; align-items: center; gap: 12px; }
.frag-player .frag-play { flex: 0 0 auto; }
.frag-len { flex: 0 0 auto; font-size: 13px; color: var(--ink-3); }
.mini-wave { position: relative; flex: 1 1 auto; height: 44px; cursor: pointer; touch-action: none; border-radius: 8px; }
.mini-wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-wave:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.frag-memo .mini-wave, .frag .memo-row + .mini-wave { height: 52px; }

[data-origin="external"] [data-oshow]:not([data-oshow~="external"]),
[data-origin="library"] [data-oshow]:not([data-oshow~="library"]),
[data-origin="ai"] [data-oshow]:not([data-oshow~="ai"]),
[data-origin="own"] [data-oshow]:not([data-oshow~="own"]),
[data-origin="other"] [data-oshow]:not([data-oshow~="other"]) { display: none !important; }
.field-date { flex: 0 0 170px !important; }

/* ===================== Now: Chat und Für dich ===================== */
.now-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.now-grid > .chat { flex: 2 1 560px; }
.now-grid > .col { flex: 1 1 360px; }
.now-grid-guest > .col { flex-direction: row; flex-wrap: wrap; }
.now-grid-guest > .col > .card { flex: 1 1 360px; }

.chat { position: relative; min-height: 560px; padding-bottom: 22px; }
.chat-log { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; max-height: min(62vh, 640px); min-height: 280px; overflow-y: auto; margin: 0 -14px; padding: 4px 14px; scroll-behavior: auto; overscroll-behavior: contain; }
.chat-log > :first-child { margin-top: auto; }
.chat-empty { max-width: 460px; }
.chat-older { align-self: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--ink-3); font: inherit; font-size: 12px; cursor: pointer; margin-bottom: 8px; }
.chat-older:hover { color: var(--ink); }

.msg { position: relative; display: flex; gap: 14px; padding: 10px 12px; margin: 0 -12px; border-radius: 18px; }
.msg:hover { background: rgba(255, 255, 255, 0.025); }
.msg.is-mention { background: var(--accent-soft); }
.msg.is-flash { animation: msg-flash 2.4s ease-out; }
@keyframes msg-flash { 0%, 40% { background: rgba(232, 223, 110, 0.18); } 100% { background: transparent; } }
.msg-avatar { width: 40px; height: 40px; flex: 0 0 auto; font-size: 13px; }
.avatar-solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.msg-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 auto; }
.msg-head { display: flex; align-items: baseline; gap: 10px; min-height: 22px; }
.msg-name { font-size: 14px; font-weight: 500; }
.msg-time { font-size: 13px; color: var(--faint); }
.msg-del { margin-left: auto; height: 24px; min-width: 24px; padding: 0 6px; border-radius: 999px; border: 0; background: none; color: var(--faint); font: inherit; font-size: 14px; cursor: pointer; opacity: 0; transition: opacity .12s; }
.msg:hover .msg-del, .msg-del:focus-visible, .msg-del.is-armed { opacity: 1; }
.msg-del.is-armed { font-size: 11px; color: var(--danger); background: rgba(255, 156, 140, 0.1); }
.msg-body { font-size: 16px; line-height: 1.45; word-break: break-word; }
.msg-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.mention { color: var(--accent); }
.mention.is-me { background: var(--accent-soft); border-radius: 6px; padding: 0 3px; }
.msg-attach { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; max-width: 100%; padding: 6px 8px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.msg-attach .play-sm { width: 40px; height: 40px; flex: 0 0 auto; }
.msg-attach-text { display: flex; flex-direction: column; min-width: 0; text-decoration: none; padding-left: 6px; line-height: 1.25; }
.msg-attach-title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-link { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); text-decoration: none; white-space: nowrap; flex: 0 0 auto; }
.msg-link:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.3); }
.msg-link-accent { color: var(--accent); border-color: var(--accent-line); }
.msg-link-accent:hover { color: var(--accent); background: var(--accent-soft); }

.chat-jump { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); height: 34px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.chat-jump[hidden] { display: none; }
.chat-form { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.chat-label { padding-left: 64px; }
.chat-row { display: flex; align-items: flex-end; gap: 10px; }
.chat-plus { width: 52px; height: 52px; flex: 0 0 auto; }
.chat-input-wrap { position: relative; flex: 1 1 auto; min-width: 0; }
.chat-input { height: 52px; min-height: 52px; max-height: 160px; padding: 15px 22px; border-radius: 26px; resize: none; line-height: 1.4; overflow-y: auto; display: block; }
.chat-send { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; cursor: pointer; }
.chat-send:hover { background: #fff; }
.chat-chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-left: 62px; height: 34px; padding: 0 4px 0 14px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); font-size: 13px; max-width: calc(100% - 62px); }
.chat-chip[hidden] { display: none; }
.chat-chip-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-chip .x { color: var(--accent); }
.chat-error { margin-left: 62px; }
.mention-pop { position: absolute; left: 12px; bottom: calc(100% + 8px); z-index: 20; min-width: 220px; margin: 0; padding: 6px; list-style: none; border-radius: 18px; background: #18181B; border: 1px solid var(--line-2); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.mention-pop[hidden] { display: none; }
.mention-opt { padding: 9px 12px; border-radius: 12px; font-size: 14px; cursor: pointer; }
.mention-opt.is-sel, .mention-opt:hover { background: var(--glass-2); }

.attach-list { max-height: 50vh; overflow-y: auto; gap: 2px; }
.attach-list li[hidden] { display: none; }
.attach-item { display: flex; width: 100%; align-items: center; gap: 14px; padding: 12px 14px; border: 0; border-radius: 16px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.attach-item:hover { background: var(--glass-2); }
.attach-item .frag-kind { width: 96px; flex: 0 0 auto; }
.attach-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.feed { list-style: none; margin: 0 -10px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.feed-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 16px; text-decoration: none; color: var(--ink-3); }
.feed-item:hover { background: var(--glass); }
.feed-item .tri { margin-top: 5px; }
.feed-dot { width: 10px; height: 10px; margin-top: 5px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line-2); }
.feed-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.feed-title { font-size: 15px; color: var(--ink-2); }
.feed-item.is-new .feed-title, .feed-item.is-todo .feed-title { color: var(--ink); }
.feed-detail { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-when { flex: 0 0 auto; font-size: 12px; color: var(--faint); padding-top: 2px; }
.feed-tag { flex: 0 0 auto; font-size: 11px; color: var(--accent); padding-top: 3px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--ink-3); font: inherit; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.card-quiet { background: transparent; }

.nav-dot { display: inline-block; width: 7px; height: 7px; margin-left: 7px; vertical-align: 2px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(232, 223, 110, 0.15); }
.nav-dot[hidden] { display: none; }

@media (max-width: 720px) {
  .chat { min-height: 0; }
  .chat-log { max-height: 60vh; }
  .chat-label { padding-left: 0; }
  .chat-plus, .chat-send { width: 46px; height: 46px; }
  .chat-input { height: 46px; min-height: 46px; padding: 12px 18px; }
  .chat-chip, .chat-error { margin-left: 0; max-width: 100%; }
  .msg { gap: 10px; }
  .msg-avatar { width: 34px; height: 34px; font-size: 11px; }
  .msg-attach { flex-wrap: wrap; border-radius: 22px; }
}

/* ===================== Artists intern ===================== */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.roster-card { display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: var(--glass); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s; }
.roster-card:hover { border-color: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }
.roster-img { display: grid; place-items: center; aspect-ratio: 4 / 5; background: radial-gradient(ellipse at 70% 0%, #3C3D42 0%, #18181B 55%, #0B0B0C 100%); overflow: hidden; }
.roster-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(0.15); }
.roster-ph { font-size: 64px; color: rgba(255, 255, 255, 0.12); }
.roster-meta { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.roster-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.roster-name { font-size: 22px; letter-spacing: -0.02em; }
.pill-ok { color: var(--ok); border-color: rgba(166, 227, 191, 0.4); }
.people-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 20px; }
.people-item { display: flex; align-items: center; gap: 12px; }
.people-item .grow { display: flex; flex-direction: column; line-height: 1.3; }
.people-name { font-size: 15px; }

.input-link { width: 320px; height: 48px; font-size: 12px; color: var(--ink-3); }
.artist-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.artist-grid > form { flex: 3 1 560px; }
.artist-grid > .col { flex: 2 1 360px; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 12px; }
.link-field { display: flex; flex-direction: column; gap: 4px; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch-track { position: relative; width: 42px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid var(--line-2); transition: background .15s; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-2); transition: transform .15s, background .15s; }
.switch input:checked + .switch-track { background: rgba(166, 227, 191, 0.25); border-color: rgba(166, 227, 191, 0.5); }
.switch input:checked + .switch-track::after { transform: translateX(18px); background: var(--ok); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--accent); outline-offset: 2px; }

.bookings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.booking { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); scroll-margin-top: 120px; }
.booking.is-new { border-color: var(--accent-line); background: var(--accent-soft); }
.booking:target { box-shadow: 0 0 0 2px var(--accent-line); }
.booking-head { display: flex; align-items: center; gap: 14px; }
.booking-head .grow { display: flex; flex-direction: column; min-width: 0; }
.booking-date { font-size: 20px; color: var(--ink); flex: 0 0 auto; }
.booking-venue { font-size: 15px; }
.booking-msg { font-size: 14px; color: var(--ink-2); line-height: 1.5; word-break: break-word; }
.booking-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.media-upload { display: flex; flex-direction: column; gap: 12px; }
.drop-row { min-height: 96px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.media-card { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.media-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #0E0E10; border: 1px solid var(--line); }
.media-card.is-hero .media-img { border-color: var(--accent-line); }
.media-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-badge { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: var(--accent); font-size: 12px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.media-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.media-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.media-actions form { display: contents; }
.media-actions .frag-btn svg { margin-right: 4px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.check-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 0 -12px; border-radius: 14px; cursor: pointer; }
.check-row:hover { background: var(--glass); }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent); }

/* ===================== Öffentliche Artist-Seite ===================== */
.pub { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 28px var(--gutter) 40px; min-height: 100vh; display: flex; flex-direction: column; gap: 56px; }
.pub-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 16px; z-index: 20; }
.pub-bubble { height: 56px; }
.pub-bubble a { font-size: 14px; padding: 9px 16px; }
.pub-bubble a.is-cta { background: var(--ink); color: var(--bg); }
.pub-main { display: flex; flex-direction: column; gap: 88px; flex: 1 0 auto; }
.pub-preview { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 16px; background: #1D1C10; border-bottom: 1px solid var(--accent-line); color: var(--accent); font-size: 13px; text-align: center; }
.pub-preview a { color: var(--ink); text-underline-offset: 3px; }

.pub-hero { position: relative; overflow: hidden; min-height: min(78vh, 680px); border-radius: var(--r-xl); border: 1px solid rgba(255, 255, 255, 0.08); background: radial-gradient(ellipse at 70% 0%, #3C3D42 0%, #18181B 50%, #0B0B0C 85%); display: flex; align-items: flex-end; }
.pub-hero.has-photo { aspect-ratio: 16 / 9; min-height: 0; max-height: 82vh; }
.pub-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.pub-hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 12, 0.82) 0%, rgba(11, 11, 12, 0.45) 38%, rgba(11, 11, 12, 0) 65%), linear-gradient(0deg, rgba(11, 11, 12, 0.6) 0%, rgba(11, 11, 12, 0) 40%); pointer-events: none; }
.pub-hero-inner { position: relative; z-index: 1; padding: 56px; display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.pub-label { color: var(--accent); font-size: 16px; }
.pub-name { font-size: clamp(56px, 10vw, 128px); font-weight: 400; letter-spacing: -0.045em; line-height: 0.92; word-break: break-word; }
.pub-sub { font-size: 18px; color: var(--ink-2); }
.pub-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-glass { background: rgba(0, 0, 0, 0.35); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

.pub-sec { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 24px 48px; align-items: start; scroll-margin-top: 110px; }
.pub-sec-wide { grid-template-columns: 1fr; }
.pub-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pub-h { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); padding-top: 8px; }
.pub-h-col { display: flex; flex-direction: column; gap: 10px; }
.pub-h-col .muted { max-width: 240px; line-height: 1.5; }
.pub-body-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pub-lead { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; letter-spacing: -0.015em; }
.pub-text { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 720px; }
.pub-links { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pub-links a { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-size: 14px; }
.pub-links a:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.3); }
.pub-more { font-size: 14px; color: var(--ink); text-underline-offset: 3px; }

.pub-tracks { list-style: none; margin: 0; padding: 0; gap: 10px; }
.pub-track { display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 10px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); }
.pub-thumb { width: 52px; height: 52px; border-radius: 14px; }
.pub-track-text { display: flex; flex-direction: column; min-width: 0; }
.pub-track-title { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pub-len { font-size: 15px; }

.pub-photos { display: flex; flex-wrap: wrap; gap: 20px 16px; }
.pub-photos::after { content: ""; flex: 10 1 0; }
.pub-photo { margin: 0; flex: var(--r, 1) 1 calc(var(--r, 1) * 300px); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pub-photo a { position: relative; display: block; aspect-ratio: var(--r, 1); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #0E0E10; }
.pub-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.pub-photo a:hover img { transform: scale(1.02); }
.pub-photo-dl { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); font-size: 12px; color: var(--ink); opacity: 0; transition: opacity .15s; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pub-photo a:hover .pub-photo-dl, .pub-photo a:focus-visible .pub-photo-dl { opacity: 1; }
.pub-photo figcaption { font-size: 12px; color: var(--ink-3); flex: 0 0 auto; }

.pub-downloads { list-style: none; margin: 0; padding: 0; gap: 10px; }
.pub-dl { display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 22px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); }
.pub-dl .grow { display: flex; flex-direction: column; min-width: 0; }
.pub-dl-title { font-size: 16px; }
.pub-dl .btn { gap: 8px; flex: 0 0 auto; }
.pub-form { gap: 16px; padding: 28px; }
.pub-form .row-fields .field { flex: 1 1 200px; }
.pub-form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pub-sent { flex-direction: row; align-items: center; gap: 24px; padding: 28px; border-color: rgba(166, 227, 191, 0.35); }
.pub-sent-num { font-size: 48px; color: var(--ok); line-height: 1; }
.pub-sent h3 { font-size: 20px; font-weight: 400; margin-bottom: 4px; }

@media (max-width: 860px) {
  .pub { gap: 32px; }
  .pub-main { gap: 56px; }
  .pub-nav { position: static; flex-wrap: wrap; }
  .pub-bubble { max-width: 100%; overflow-x: auto; }
  .pub-hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .pub-hero.has-photo { aspect-ratio: auto; max-height: none; }
  .pub-hero-img { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; }
  .pub-hero.has-photo::after { display: none; }
  .pub-hero-inner { padding: 28px 22px 30px; }
  .pub-sec { grid-template-columns: 1fr; gap: 14px; }
  .pub-form { padding: 20px; }
  .input-link { width: 100%; }
}
.media-upload.panel-foot { align-self: stretch; }

/* Titel- und Bio-Bild, Vorschaubilder */
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slot { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); text-decoration: none; min-width: 0; }
.slot:hover { border-color: rgba(255, 255, 255, 0.24); }
.slot-img { width: 64px; height: 80px; flex: 0 0 auto; border-radius: 12px; overflow: hidden; background: #0E0E10; display: grid; place-items: center; color: var(--faint); }
.slot-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.media-badge-soft { color: var(--ink); }
.convert-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.dl-thumb { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 10px; overflow: hidden; background: #0E0E10; display: block; }
.dl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-h-inline { padding-top: 0; margin-bottom: -4px; }
.pub-sec.has-bio-img { align-items: start; }
.pub-bio-img { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); background: #0E0E10; max-width: 320px; }
.pub-bio-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-dl.has-thumb { padding-left: 10px; }
.pub-dl-thumb { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 16px; overflow: hidden; background: #0E0E10; display: block; }
.pub-dl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pub-dl-thumb:hover img { transform: scale(1.05); }
@media (max-width: 860px) {
  .slots { grid-template-columns: 1fr; }
  .pub-bio-img { max-width: 220px; }
}

/* Titelbild und Bio-Bild mit festem Format */
.slot-grid { display: grid; grid-template-columns: 2.4fr 1fr; gap: 20px; align-items: start; }
.slot-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.slot-frame { position: relative; display: block; width: 100%; padding: 0; border-radius: 22px; overflow: hidden; border: 1px dashed rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.03); color: var(--ink-2); font: inherit; cursor: pointer; }
.slot-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot-frame:has(img) { border-style: solid; border-color: var(--line); }
.slot-frame:hover { border-color: var(--accent-line); }
.slot-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.slot-size { font-size: 18px; color: var(--faint); }
.slot-edit { position: absolute; right: 12px; bottom: 12px; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: var(--ink); font-size: 12px; display: inline-flex; align-items: center; opacity: 0; transition: opacity .15s; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.slot-frame:hover .slot-edit, .slot-frame:focus-visible .slot-edit { opacity: 1; }
.slot-info { display: flex; align-items: flex-start; gap: 10px; }
.slot-info .grow { display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 860px) { .slot-grid { grid-template-columns: 1fr; } .slot-bio { max-width: 280px; } }

/* ===================== Startseite (Platzhalter, Look der Plattform) ===================== */
@font-face { font-family: "N27"; src: url("../fonts/N27-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "N27"; src: url("../fonts/N27-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
.idx-body { overflow-x: hidden; }
.idx-micro { font-family: "N27", "Geist", system-ui, sans-serif; font-size: 11px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.idx-kat { font-family: "N27", "Geist", system-ui, sans-serif; font-size: 12px; line-height: 1.3; font-weight: 500; letter-spacing: 0.06em; }
.idx-muted { color: var(--muted); }
.idx-doto { font-family: "Doto", ui-monospace, monospace; font-weight: 700; font-variant-numeric: tabular-nums; }

.idx-top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; padding: 28px var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.idx-logo { justify-self: start; color: var(--ink); display: flex; }
.idx-logo .logo { width: 72px; }
.idx-corner { justify-self: center; }
.idx-door {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--accent); color: #0b0b0c; text-decoration: none; font-weight: 600; font-size: 13px; transition: background .2s, transform .2s;
}
.idx-door:hover { background: #f3ea83; color: #0b0b0c; }
.idx-door:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Erste Fläche: Slogan und das Signal */
.idx-hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; box-sizing: border-box; padding: 120px var(--gutter) 28px; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; }
.idx-head { position: relative; }
.idx-title {
  margin: 0 0 0 -0.04em; font-weight: 300; font-size: clamp(58px, 12.4vw, 236px); line-height: 0.84; letter-spacing: -0.06em; color: var(--ink);
  animation: idx-rise 1.4s cubic-bezier(.2, .7, .1, 1) .1s both;
}
.idx-title span:last-child { display: block; }
@keyframes idx-rise { from { opacity: 0; transform: translateY(5%); } to { opacity: 1; transform: none; } }
.idx-meta { position: absolute; right: 0; bottom: 12px; display: flex; flex-direction: column; gap: 6px; text-align: right; }

.idx-signal { position: relative; min-height: 260px; margin: 0 calc(var(--gutter) * -1); cursor: crosshair; touch-action: pan-y; }
.idx-wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.idx-mark { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; color: var(--ink); }
.idx-mark::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232, 223, 110, 0.14); }
.idx-hover { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(242, 242, 243, 0.5); pointer-events: none; opacity: 0; transition: opacity .15s; }
.idx-hover span { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 999px; background: var(--ink); color: #0b0b0c; font-size: 13px; white-space: nowrap; }
.idx-signal:hover .idx-hover { opacity: 1; }

.idx-player {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 14px 22px 14px 14px;
  border: 1px solid var(--line); border-radius: var(--r-l); background: rgba(18, 18, 20, 0.62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.idx-play { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--accent); color: #0b0b0c; display: grid; place-items: center; cursor: pointer; transition: transform .15s, background .2s; }
.idx-play:hover { background: #f3ea83; transform: scale(1.05); }
.idx-play:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.idx-play .i-pause, .idx-play.is-playing .i-play { display: none; }
.idx-play.is-playing .i-pause { display: block; }
.idx-play:not(.is-playing) { box-shadow: 0 0 0 0 rgba(232, 223, 110, 0.5); animation: idx-call 2.4s ease-out infinite; }
@keyframes idx-call { 0% { box-shadow: 0 0 0 0 rgba(232, 223, 110, 0.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(232, 223, 110, 0); } }
.idx-track { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.idx-track strong { font-weight: 500; font-size: 15px; }
.idx-track span { color: var(--muted); font-size: 13px; }
.idx-time { font-size: 22px; color: var(--ink); white-space: nowrap; }
.idx-time span { color: var(--muted); }

/* Zweite Fläche: Abteilungen im Stil der Plattform */
.idx-sheet { position: relative; z-index: 1; padding: 96px var(--gutter) 32px; }
.idx-sheet-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; }
.idx-card { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--glass); padding: 32px; }
.idx-intro { display: flex; flex-direction: column; gap: 18px; }
.idx-lead { margin: 0; font-weight: 300; font-size: clamp(28px, 3.2vw, 50px); line-height: 1.04; letter-spacing: -0.03em; max-width: 16ch; }
.idx-body-text { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; margin-top: auto; }
.idx-registry { display: flex; flex-direction: column; gap: 12px; }
.idx-list { list-style: none; margin: 0; padding: 0; }
.idx-row { display: grid; grid-template-columns: 76px minmax(0, 1.3fr) minmax(0, 1.3fr) auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.idx-row:last-child { border-bottom: 0; }
.idx-name { font-size: 16px; }
.idx-what { font-size: 14px; }
.idx-state {
  justify-self: end; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); font-size: 12px; white-space: nowrap;
}
.idx-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.idx-state.is-on { border-color: var(--accent-line); color: var(--ink); background: var(--accent-soft); }
.idx-state.is-on::before { background: var(--accent); }
.idx-mail { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 32px; align-items: end; }
.idx-mail-head { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: baseline; }
.idx-mail-addr {
  font-weight: 300; font-size: clamp(26px, 6.2vw, 112px); line-height: 0.95; letter-spacing: -0.045em; color: var(--ink);
  text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .35s ease, color .2s;
  padding-bottom: 6px; justify-self: start;
}
.idx-mail-addr:hover { color: var(--accent); background-size: 100% 2px; }
.idx-mail-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; position: relative; }
.idx-btn {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.idx-btn:hover { background: var(--glass-2); color: #fff; }
.idx-btn-on { background: var(--accent); border-color: var(--accent); color: #0b0b0c; font-weight: 600; }
.idx-btn-on:hover { background: #f3ea83; color: #0b0b0c; }
.idx-btn.is-done { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }
.idx-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.idx-copied { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.idx-clock { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.idx-zahl { font-size: clamp(56px, 9vw, 150px); line-height: 0.82; color: var(--accent); }
.idx-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 20px 4px 0; }

@media (max-width: 860px) {
  .idx-body { --gutter: 16px; }
  .idx-top { padding: 18px var(--gutter); grid-template-columns: 1fr auto; }
  .idx-corner { display: none; }
  .idx-hero { padding-top: 96px; gap: 18px; }
  .idx-title { font-size: 19vw; }
  .idx-title span { display: block; }
  .idx-meta { position: static; margin-top: 18px; text-align: left; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
  .idx-signal { min-height: 220px; }
  .idx-player { padding: 10px 16px 10px 10px; gap: 12px; }
  .idx-play { width: 42px; height: 42px; }
  .idx-time { font-size: 18px; }
  .idx-time span { display: none; }
  .idx-sheet { padding-top: 56px; }
  .idx-sheet-inner { grid-template-columns: 1fr; gap: 16px; }
  .idx-card { padding: 22px; border-radius: var(--r-l); }
  .idx-row { grid-template-columns: 64px 1fr auto; row-gap: 4px; }
  .idx-what { grid-column: 2 / 3; grid-row: 2; font-size: 13px; }
  .idx-state { grid-row: 1; grid-column: 3; }
  .idx-foot { flex-direction: column; gap: 6px; }
  .idx-mail { grid-template-columns: 1fr; gap: 20px; }
  .idx-mail-actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .idx-title { animation: none; } .idx-play { animation: none !important; } }
