/* Show-Designer – Gast-Seite des Vorschau-Links (vorschau.html, assets/vorschau.js). Variante A nach Markus' Wahl:
   Bühne groß, darunter die Shows der Mappe, rechts „Gefällt mir“ und Kommentare; auf dem Handy untereinander. */
.vs-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 22px; padding-bottom: 40px; max-width: 1280px; }
.vs-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.vs-from { color: var(--muted); font-size: 14px; }
.vs-head h1 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.01em; }
.vs-greeting { margin: 0; color: #d7dbe3; max-width: 72ch; white-space: pre-line; }
.vs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.vs-left { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.vs-now { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.vs-now b { font-size: 19px; }
.vs-now span { color: var(--muted); font-size: 14px; }

/* Bühne */
.vs-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.vs-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.vs-cam { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.vs-cam button { min-height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid #ffffff2e; background: #000000b0; color: #fff; font: 600 13px var(--font); cursor: pointer; }
.vs-cam button:hover { border-color: #ffffff66; }
.vs-cam button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #1a1205; }
.vs-cam button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vs-hint { position: absolute; left: 12px; bottom: 10px; color: #c7ccd6; font-size: 12.5px; text-shadow: 0 1px 2px #000; pointer-events: none; }
.vs-wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: #08090ce6; color: var(--muted); font-size: 14px; }
.vs-wait[hidden] { display: none; }
.vs-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--accent); border-top-color: transparent; animation: vs-spin .8s linear infinite; }
@keyframes vs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vs-spin { animation-duration: 2.4s; } }

/* Abspielen und Songteile */
.vs-ctrl { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.vs-play { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 0; background: var(--accent); color: #1a1205; display: grid; place-items: center; cursor: pointer; }
.vs-play svg { width: 22px; height: 22px; fill: currentColor; }
.vs-play:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.vs-time { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 74px; }
.vs-parts { position: relative; flex: 1; min-width: 220px; display: flex; gap: 2px; height: 40px; border-radius: 9px; overflow: hidden; --x: 0%; }
.vs-parts.is-text { height: auto; color: var(--muted); font-size: 14px; overflow: visible; }
.vs-parts button { min-width: 0; border: 0; padding: 4px 6px; color: #fff; font: 650 12px var(--font); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px #000a; cursor: pointer; }
.vs-parts button:hover { filter: brightness(1.15); }
.vs-parts button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.vs-parts .p-ruhig { background: #24476b; } .vs-parts .p-groove { background: #2f6b4a; } .vs-parts .p-build { background: #8a6a1c; }
.vs-parts .p-drop { background: #9c2f52; } .vs-parts .p-breakdown { background: #4a3a78; }
.vs-head-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; background: #fff; box-shadow: 0 0 6px #000; pointer-events: none; }

/* eigener Song */
.vs-music { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--panel); border: 1px dashed #313744; color: var(--muted); font-size: 14px; }
.vs-music[hidden] { display: none; }
.vs-music span { flex: 1 1 260px; }
.vs-file { position: relative; overflow: hidden; }
.vs-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.vs-file:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Shows der Mappe */
.vs-h2 { margin: 6px 0 0; font-size: 16px; }
.vs-shows { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.vs-show { display: grid; gap: 2px; text-align: left; min-width: 200px; max-width: 280px; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font: inherit; cursor: pointer; }
.vs-show small { color: var(--muted); font-size: 12px; }
.vs-show b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-show span { color: #ff8ab8; font-size: 13px; }
.vs-show:hover { border-color: #3a4152; }
.vs-show.on { border-color: var(--accent); background: #2a2110; }
.vs-show:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Seitenleiste: Herz + Kommentare */
.vs-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.vs-like { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 56px; border-radius: 12px; border: 1px solid #5a2240; background: #24101a; color: #ffb3cf; font: 700 16px var(--font); cursor: pointer; }
.vs-like span { font-size: 20px; }
.vs-like:hover { border-color: #ff5fa8; }
.vs-like.on { background: #ff5fa8; border-color: #ff5fa8; color: #1a0610; }
.vs-like:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vs-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.vs-card .vs-h2 { margin: 0; }
.vs-cmts { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; }
.vs-cmt { display: grid; gap: 2px; padding: 10px 12px; border-radius: 9px; background: var(--panel-2); }
.vs-cmt b { font-size: 14px; }
.vs-cmt p { margin: 0; font-size: 14.5px; white-space: pre-line; overflow-wrap: anywhere; }
.vs-cmt small { color: #8a91a0; font-size: 12px; }
.vs-cmt.dj { border-left: 3px solid var(--accent); }
.vs-badge { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: #2a2110; color: #ffd27a; font-size: 11.5px; font-weight: 650; vertical-align: 1px; }
.vs-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.vs-form input[type=text], .vs-form textarea { width: 100%; padding: 11px 12px; border-radius: 9px; border: 1px solid #313744; background: var(--panel-2); color: var(--text); font: 15px/1.4 var(--font); }
.vs-form textarea { min-height: 88px; resize: vertical; }
.vs-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vs-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.vs-note { margin: 0; color: #8a91a0; font-size: 13px; }
.vs-note a { color: var(--muted); }
.site-foot .lang-switch { margin-left: auto; }

@media (max-width: 980px) {
  .vs-grid { grid-template-columns: minmax(0, 1fr); }
  .vs-cmts { max-height: none; }
}
@media (max-width: 560px) {
  .vs-stage { aspect-ratio: 4 / 3; }
  .vs-hint { display: none; }
  .vs-cam button { min-height: 36px; padding: 0 10px; font-size: 12.5px; }
  .vs-parts { flex-basis: 100%; }
}

/* Konto → „Vorschau-Links“ (assets/konto-vorschau.js) */
.kv-list { display: grid; gap: 10px; }
.kv-muted { color: var(--muted); font-size: 14px; margin: 0; }
.kv-card { border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); }
.kv-card > summary { list-style: none; cursor: pointer; padding: 12px 14px; display: flex; gap: 10px; align-items: center; }
.kv-card > summary::-webkit-details-marker { display: none; }
.kv-card > summary::after { content: "›"; margin-left: auto; color: var(--muted); font-size: 20px; transition: transform .15s; }
.kv-card[open] > summary::after { transform: rotate(90deg); }
.kv-card > summary b { display: block; font-size: 15.5px; }
.kv-card > summary small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.kv-card > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
.kv-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 0 14px 14px; }
.kv-h { font-size: 14px; margin-top: 4px; }
.kv-link { display: flex; gap: 6px; flex-wrap: wrap; }
.kv-link input { flex: 1 1 200px; min-width: 0; min-height: 44px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 12.5px ui-monospace, Menlo, monospace; }
.kv-greet { white-space: pre-line; }
.kv-show { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 8px 10px; border-radius: 9px; background: var(--panel); }
.kv-show b { display: block; font-size: 14.5px; }
.kv-show small { display: block; color: var(--muted); font-size: 12.5px; }
.kv-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.kv-mini { min-height: 36px; padding: 0 10px; font-size: 13px; }
.kv-cmt { display: grid; gap: 2px; padding: 8px 10px; border-radius: 9px; background: var(--panel); font-size: 14px; }
.kv-cmt p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.kv-cmt small { color: #8a91a0; font-size: 12px; }
.kv-cmt.dj { border-left: 3px solid var(--accent); }
.kv-reply { display: grid; gap: 6px; }
.kv-reply select, .kv-reply textarea, .kv-edit input, .kv-edit textarea { width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 14.5px/1.4 var(--font); }
.kv-edit { display: grid; gap: 8px; padding: 10px; border-radius: 9px; border: 1px solid var(--line); }
.kv-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.kv-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.kv-flash { margin: 0; }
