/* SEED//SOUND – gemeinsame Gestaltung für Studio (index.html) und Tageslied (daily/) */
  :root {
    --bg: #0e0c1a;
    --bg2: #171428;
    --panel: #1f1b36;
    --panel2: #2a2547;
    --line: #3d3666;
    --text: #e6e3f5;
    --dim: #9a93c2;
    --accent: #b9b1ff;
    --purple: #6d5fd6;
    --red: #e0465a;
    --yellow: #f2c443;
    --blue: #4f7ff0;
    --green: #3fbf74;
    --led: #7cff9b;
    --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--mono); font-size: 14px; }
  body {
    min-height: 100vh;
    background:
      repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px),
      radial-gradient(1200px 600px at 50% -10%, #272150 0%, var(--bg) 60%);
  }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 18px 16px 40px; }
  header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
  .logo { font-size: 30px; font-weight: 800; letter-spacing: 3px; color: var(--accent); text-shadow: 3px 3px 0 #000, 0 0 18px rgba(155,140,255,.35); }
  .logo span { color: var(--yellow); }
  .sub { color: var(--dim); font-size: 12px; letter-spacing: 1px; }
  .gen { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--dim); letter-spacing: 1px; }
  .gen select {
    font: inherit; font-size: 12px; font-weight: 700; color: var(--text); background: #0b0918; letter-spacing: 0;
    border: 2px solid #000; box-shadow: inset 0 0 0 2px var(--line); padding: 6px 8px; cursor: pointer; max-width: 70vw;
  }
  .gen select:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

  .panel { background: var(--panel); border: 3px solid #000; box-shadow: inset 0 0 0 2px var(--line), 4px 4px 0 #000; padding: 14px; margin-bottom: 14px; }
  .panel h2 { margin: 0 0 10px; font-size: 12px; letter-spacing: 2px; color: var(--dim); text-transform: uppercase; }
  .grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
  @media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }

  label.small { display: block; font-size: 11px; color: var(--dim); letter-spacing: 1px; margin-bottom: 4px; text-transform: uppercase; }
  .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
  input[type=text] {
    flex: 1; min-width: 160px; background: #0b0918; color: var(--text); font: inherit; font-size: 16px;
    border: 2px solid #000; box-shadow: inset 0 0 0 2px var(--line); padding: 9px 10px; outline: none;
  }
  input[type=text]:focus { box-shadow: inset 0 0 0 2px var(--accent); }
  .err { color: var(--red); font-size: 12px; min-height: 16px; margin-top: 4px; }

  button {
    font: inherit; font-weight: 700; color: var(--text); background: var(--panel2); border: 2px solid #000;
    box-shadow: inset -2px -2px 0 rgba(0,0,0,.35), inset 2px 2px 0 rgba(255,255,255,.12), 2px 2px 0 #000;
    padding: 9px 12px; cursor: pointer; letter-spacing: 1px; user-select: none;
  }
  button:hover { filter: brightness(1.15); }
  button:active { transform: translate(2px, 2px); box-shadow: inset 2px 2px 0 rgba(0,0,0,.35); }
  button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
  button:disabled { opacity: .45; cursor: default; }
  .btn-primary { background: var(--purple); }

  .styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
  @media (max-width: 520px) { .styles { grid-template-columns: repeat(2, 1fr); } }
  .style-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 10px; min-height: 74px; }
  .style-btn .bad { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #111; border: 2px solid #000; }
  .style-btn .nm { font-size: 13px; }
  .style-btn .sc { font-size: 11px; color: var(--yellow); font-weight: 700; }
  .style-btn .sc .sn { color: var(--dim); font-weight: 400; }
  .style-btn .ds { font-size: 10px; color: var(--dim); font-weight: 400; letter-spacing: 0; }
  .style-btn[aria-pressed=true] { background: #3a3270; box-shadow: inset 0 0 0 2px var(--accent), 2px 2px 0 #000; }

  .transport { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
  .transport .big { min-width: 96px; }
  .vol { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--dim); font-size: 12px; }
  input[type=range] { accent-color: var(--accent); width: 130px; }
  .check { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); cursor: pointer; }

  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
  @media (max-width: 520px) { .stats { grid-template-columns: repeat(2, 1fr); } }
  .stat { background: #0b0918; border: 2px solid #000; box-shadow: inset 0 0 0 2px var(--line); padding: 8px; }
  .stat .k { font-size: 10px; color: var(--dim); letter-spacing: 1px; text-transform: uppercase; }
  .stat .v { font-size: 18px; font-weight: 700; color: var(--yellow); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .progress { position: relative; height: 26px; background: #0b0918; border: 2px solid #000; box-shadow: inset 0 0 0 2px var(--line); margin-top: 12px; cursor: pointer; }
  .progress .seg { position: absolute; top: 0; bottom: 0; border-right: 2px solid #000; font-size: 10px; color: var(--dim); padding: 6px 6px; overflow: hidden; }
  .progress .seg.on { background: rgba(109,95,214,.25); color: var(--text); }
  .progress .fill { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(185,177,255,.15), rgba(185,177,255,.35)); pointer-events: none; }
  .progress .head { position: absolute; top: -3px; bottom: -3px; width: 3px; background: var(--yellow); pointer-events: none; }
  .posline { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--dim); gap: 8px; flex-wrap: wrap; }
  .posline b { color: var(--text); }

  .channels { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
  @media (max-width: 860px) { .channels { grid-template-columns: repeat(4, 1fr); } }
  .ch { background: #0b0918; border: 2px solid #000; box-shadow: inset 0 0 0 2px var(--line); padding: 8px 6px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  .ch .top { display: flex; justify-content: space-between; align-items: center; }
  .ch .num { font-size: 11px; color: var(--dim); }
  .ch .name { font-weight: 700; font-size: 12px; }
  .ch .inst { font-size: 10px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 13px; }
  .ch .note { font-size: 15px; font-weight: 700; color: var(--led); min-height: 20px; }
  .ch .meter { height: 8px; background: #000; position: relative; overflow: hidden; }
  .ch .meter i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--green), var(--yellow), var(--red)); }
  .ch .led { width: 10px; height: 10px; background: #1b3322; border: 1px solid #000; }
  .ch .led.on { background: var(--led); box-shadow: 0 0 8px var(--led); }
  .ch button { padding: 4px 6px; font-size: 11px; }
  .ch.muted { opacity: .5; }
  .ch.muted button { background: var(--red); }
  .voices { font-size: 12px; color: var(--dim); margin-top: 8px; }
  .voices b { color: var(--text); }

  .tracker { font-size: 12px; line-height: 1.45; overflow-x: auto; }
  .tracker table { border-collapse: collapse; width: 100%; min-width: 760px; table-layout: fixed; }
  .tracker th { color: var(--dim); font-weight: 400; text-align: left; padding: 2px 6px; border-bottom: 2px solid var(--line); font-size: 11px; }
  .tracker td { padding: 0 6px; white-space: nowrap; overflow: hidden; color: #8d86b8; }
  .tracker td.n { color: var(--text); }
  .tracker td.d { color: #f0a7b3; }
  .tracker tr.beat td { background: rgba(255,255,255,.025); }
  .tracker tr.bar td { border-top: 1px solid var(--line); }
  .tracker tr.cur td { background: #3a3270; color: #fff; }
  .tracker td.rn { color: var(--dim); width: 64px; }

  .chords { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; }
  .chords span { padding: 3px 6px; background: #0b0918; border: 2px solid #000; color: var(--dim); }
  .chords span.cur { color: #111; background: var(--yellow); }
  footer { color: var(--dim); font-size: 11px; line-height: 1.6; margin-top: 18px; }
  .hint { color: var(--dim); font-size: 11px; margin-top: 8px; }
  kbd { border: 1px solid var(--line); padding: 0 4px; font-family: var(--mono); }
.daily-link { font-size: 12px; font-weight: 700; color: var(--yellow); text-decoration: none; border: 2px solid var(--line); padding: 6px 10px; letter-spacing: 1px; }
.daily-link:hover { border-color: var(--yellow); }
header > .daily-link { margin-left: auto; }
