@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&family=Stardos+Stencil:wght@700&family=Teko:wght@500;600;700&display=swap');

:root {
  --bg: #090b07;
  --case: #3f4630;
  --case-dark: #252b1d;
  --case-light: #667052;
  --case-edge: #12150d;
  --metal: #9b9b87;
  --metal-dark: #3c3f34;
  --rubber: #10130f;
  --screen: #b7c1a3;
  --screen-dark: #56614f;
  --ink: #171c13;
  --cream: #e2dfc9;
  --radio: #b9e06f;
  --amber: #e0a33d;
  --red: #df4f38;
  --green: #83cf54;
  --shadow: rgba(0, 0, 0, .58);
  --panel-radius: 24px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 0%, rgba(96, 109, 71, .26), transparent 34rem),
    linear-gradient(145deg, #060805 0%, #15190f 47%, #050604 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--cream);
  font-family: "Rajdhani", system-ui, sans-serif;
  letter-spacing: .02em;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 10% 15%, rgba(142, 146, 101, .08), transparent 20rem),
    radial-gradient(circle at 88% 20%, rgba(170, 72, 42, .06), transparent 24rem);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

body::before {
  opacity: .25;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mix-blend-mode: overlay;
}

body::after {
  background: radial-gradient(circle at 50% 50%, transparent 45%, rgba(0,0,0,.56) 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  touch-action: manipulation;
}

.app-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(14px, 2vw, 34px);
}

.boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: #050704;
  transition: opacity .7s ease, visibility .7s ease;
}

.boot-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.boot-card {
  width: min(430px, calc(100vw - 40px));
  padding: 28px;
  color: #d9e3b7;
  border: 2px solid #64714f;
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(71,81,52,.95), rgba(28,34,22,.96)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 4px);
  box-shadow: 0 28px 60px rgba(0,0,0,.75), inset 0 0 30px rgba(0,0,0,.45);
}

.boot-light {
  width: 18px;
  height: 18px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 28px var(--amber);
  animation: blink 1s steps(2, end) infinite;
}

.boot-title {
  font-family: "Orbitron", monospace;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.boot-lines {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-family: "Share Tech Mono", monospace;
  color: #9fb889;
}

.device-frame {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 42px);
  padding: clamp(16px, 2.4vw, 32px);
  border: 2px solid #697154;
  border-radius: var(--panel-radius);
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.16), transparent 13rem),
    radial-gradient(circle at 100% 0%, rgba(234, 178, 88, .09), transparent 21rem),
    linear-gradient(140deg, rgba(88,98,69,.96), rgba(45,54,35,.98) 42%, rgba(30,37,25,.99));
  box-shadow:
    0 36px 80px rgba(0,0,0,.58),
    inset 0 2px 0 rgba(255,255,255,.14),
    inset 0 -22px 46px rgba(0,0,0,.32);
}

.device-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--panel-radius) - 8px);
  border: 1px solid rgba(240, 226, 177, .13);
  pointer-events: none;
}

.device-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    radial-gradient(circle, rgba(0,0,0,.35) 0 1px, transparent 1px),
    linear-gradient(115deg, rgba(255,255,255,.08), transparent 18%, transparent 70%, rgba(0,0,0,.22));
  background-size: 16px 16px, 100% 100%;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.device-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(7deg, rgba(255,255,255,.035) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(93deg, rgba(0,0,0,.05) 0 1px, transparent 1px 9px);
  opacity: .18;
  animation: staticDrift 3.8s linear infinite;
}

.device-frame > *:not(.device-noise) {
  position: relative;
  z-index: 2;
}

.top-rail {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(245, 231, 178, .18);
}

.brand-small,
.brand-code,
.device-footer,
.mini-label,
.radio-strip,
.card-title {
  font-family: "Share Tech Mono", monospace;
  text-transform: uppercase;
}

.brand-small {
  display: inline-block;
  color: #d5d1aa;
  opacity: .85;
  font-size: .82rem;
}

h1 {
  margin: -4px 0 0;
  line-height: .92;
  font-family: "Teko", Impact, sans-serif;
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  letter-spacing: .035em;
  color: #f1e9c9;
  text-shadow: 0 2px 0 #10130d, 0 0 18px rgba(216, 224, 166, .16);
}

.brand-code {
  display: block;
  margin-top: -4px;
  color: #a7b780;
  font-size: .83rem;
}

.status-bank {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.35);
  border-radius: 18px;
  background: rgba(16, 20, 12, .42);
  box-shadow: inset 0 0 18px rgba(0,0,0,.4);
}

.lamp {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 48px;
  color: #d7dab8;
  font-size: .7rem;
  font-family: "Share Tech Mono", monospace;
}

.lamp span {
  display: block;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.42);
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.65), rgba(255,255,255,.05) 18%, rgba(0,0,0,.45) 70%);
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.12);
  opacity: .42;
}

.lamp.is-on span {
  opacity: 1;
  animation: lampBuzz 1.8s infinite;
}

.lamp-red.is-on span { background-color: var(--red); box-shadow: 0 0 18px rgba(223,79,56,.8), inset 0 -4px 8px rgba(0,0,0,.35); }
.lamp-amber.is-on span { background-color: var(--amber); box-shadow: 0 0 18px rgba(224,163,61,.8), inset 0 -4px 8px rgba(0,0,0,.35); }
.lamp-green.is-on span { background-color: var(--green); box-shadow: 0 0 18px rgba(131,207,84,.75), inset 0 -4px 8px rgba(0,0,0,.35); }

.module-switch {
  display: flex;
  gap: 10px;
  margin: 18px 0;
  padding: 8px;
  border: 1px solid rgba(0,0,0,.32);
  border-radius: 18px;
  background: rgba(14,17,10,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), inset 0 0 24px rgba(0,0,0,.32);
}

.module-btn,
.metal-button,
.utility-button,
.panic-button {
  min-height: 44px;
  border: 1px solid rgba(0,0,0,.72);
  color: #f0edcf;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease, background .14s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 4px 0 rgba(0,0,0,.3), 0 8px 16px rgba(0,0,0,.25);
}

.module-btn:active,
.metal-button:active,
.utility-button:active,
.panic-button:active {
  transform: translateY(3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 0 rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.25);
}

.module-btn {
  flex: 1;
  padding: 10px 12px;
  font-family: "Share Tech Mono", monospace;
  background: linear-gradient(#505a3e, #303824);
}

.module-btn.is-active {
  color: #172011;
  background: linear-gradient(#d4dd99, #7da35d);
  box-shadow: 0 0 22px rgba(154, 221, 92, .22), inset 0 1px 0 rgba(255,255,255,.24), 0 4px 0 rgba(0,0,0,.34);
}

.module-btn.is-locked {
  opacity: .62;
  filter: saturate(.55);
}

.instrument-panel {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(12px, 2vw, 24px);
  align-items: stretch;
}

.hardware-column {
  position: relative;
  min-height: 352px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28), transparent 45%, rgba(255,255,255,.08)),
    linear-gradient(#272d20, #11150f);
  box-shadow: inset -9px 0 20px rgba(0,0,0,.46), inset 2px 0 0 rgba(255,255,255,.08);
}

.metal-cylinder {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 44px;
  height: 260px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, #181a16, #777865 18%, #e0dcc1 38%, #6b6a58 56%, #151813 100%);
  box-shadow: 8px 12px 20px rgba(0,0,0,.42), inset 0 0 15px rgba(0,0,0,.5);
}

.strap {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 96px;
  height: 34px;
  border: 1px solid rgba(0,0,0,.7);
  border-radius: 8px;
  background: linear-gradient(#4d3926, #211a13);
  box-shadow: inset 0 0 12px rgba(0,0,0,.5);
  transform: rotate(-3deg);
}

.jack-port {
  position: absolute;
  left: 21px;
  bottom: 30px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 6px solid #151711;
  background: radial-gradient(circle, #bfc1aa 0 26%, #282c21 28% 100%);
  box-shadow: 0 0 0 2px rgba(255,255,255,.12), inset 0 0 12px rgba(0,0,0,.6);
}

.meter-stack {
  min-width: 0;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(0,0,0,.58);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(39,46,31,.72), rgba(13,17,10,.5)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 8px);
  box-shadow: inset 0 0 26px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.09);
}

.meter-bezel {
  display: grid;
  place-items: center;
  min-height: 262px;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 55%, #090b08 0 33%, #252a20 34% 62%, #090b08 63% 100%);
  box-shadow: inset 0 0 24px rgba(0,0,0,.75), 0 6px 18px rgba(0,0,0,.3);
}

.meter-face {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  border-radius: 18px 18px 64% 64% / 18px 18px 44% 44%;
  border: 8px solid #151914;
  background:
    radial-gradient(circle at 50% 100%, transparent 0 14%, rgba(0,0,0,.12) 15% 100%),
    linear-gradient(#d7d5c4, #a7ac98 58%, #747d67);
  box-shadow: inset 0 0 20px rgba(0,0,0,.48), 0 0 0 2px rgba(255,255,255,.08);
  transition: box-shadow .18s ease, filter .18s ease, background .18s ease;
}

.meter-face.is-close {
  background:
    radial-gradient(circle at 50% 100%, rgba(136, 255, 95, .2) 0 18%, rgba(0,0,0,.05) 19% 100%),
    linear-gradient(#eff8cf, #bfd899 58%, #7fa966);
  box-shadow:
    inset 0 0 34px rgba(102, 209, 65, .44),
    inset 0 0 12px rgba(255,255,255,.4),
    0 0 0 2px rgba(208,255,161,.32),
    0 0 38px rgba(134, 255, 91, .58),
    0 0 74px rgba(134, 255, 91, .3);
  filter: saturate(1.18) brightness(1.12);
  animation: tunedGlow .52s ease-in-out infinite alternate;
}

.meter-face.is-bad {
  box-shadow: inset 0 0 22px rgba(0,0,0,.5), 0 0 20px rgba(223, 79, 56, .24);
}

.meter-scale {
  position: absolute;
  inset: 9% 10% 10%;
}

.tick {
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 2px;
  height: 14px;
  background: rgba(16, 18, 13, .8);
  transform-origin: 50% 118px;
}

.tick.major {
  width: 3px;
  height: 24px;
  background: #11140f;
}

.tick-label {
  position: absolute;
  translate: -50% 0;
  color: #14180f;
  font-family: "Share Tech Mono", monospace;
  font-size: clamp(.62rem, 1.45vw, .82rem);
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}

.meter-warning {
  position: absolute;
  left: 0;
  right: 0;
  top: 43%;
  text-align: center;
  font-family: "Orbitron", monospace;
  font-weight: 700;
  color: rgba(38,44,28,.72);
  letter-spacing: .22em;
}

.meter-sub {
  position: absolute;
  left: 0;
  right: 0;
  top: 53%;
  bottom: auto;
  color: rgba(38,44,28,.64);
  font-family: "Share Tech Mono", monospace;
  text-align: center;
}

.needle {
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: 5px;
  height: 52%;
  border-radius: 999px;
  background: linear-gradient(#e14c3a, #822619 58%, #25120e);
  transform-origin: 50% 94%;
  transform: translateX(-50%) rotate(0deg);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1);
  filter: drop-shadow(1px 3px 2px rgba(0,0,0,.4));
}

.needle-cap {
  position: absolute;
  left: 50%;
  bottom: 1%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 28%, #f0edce, #89866c 30%, #171915 70%);
  border: 3px solid #10120e;
  box-shadow: 0 4px 10px rgba(0,0,0,.45);
}

.meter-glass {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255,255,255,.24), transparent 22%, transparent 60%, rgba(255,255,255,.09) 62%, transparent 72%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.lcd-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 12px;
  margin-top: 14px;
}

.lcd-main,
.lcd-note,
.bpm-readout {
  position: relative;
  overflow: hidden;
  border: 3px solid #11140f;
  border-radius: 12px;
  color: #1b2417;
  background:
    linear-gradient(rgba(255,255,255,.18), transparent 34%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 1px, transparent 1px 3px),
    var(--screen);
  font-family: "Share Tech Mono", monospace;
  text-shadow: 0 0 5px rgba(72, 103, 49, .36);
  box-shadow: inset 0 0 18px rgba(0,0,0,.36), 0 0 12px rgba(164, 220, 118, .08);
}

.lcd-main::after,
.lcd-note::after,
.bpm-readout::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transform: translateX(-100%);
  animation: lcdSweep 5.7s linear infinite;
  pointer-events: none;
}

.lcd-main {
  padding: 12px 14px;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
}

.lcd-note {
  display: grid;
  place-items: center;
  padding: 8px;
  font-size: clamp(1.5rem, 4vw, 2.7rem);
  font-weight: 700;
}

.radio-strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(0,0,0,.5);
  border-radius: 10px;
  color: #c7d69b;
  background: #14190f;
  box-shadow: inset 0 0 15px rgba(0,0,0,.55);
}

.control-tower {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,.48);
  background: linear-gradient(160deg, rgba(17,22,13,.44), rgba(0,0,0,.15));
  box-shadow: inset 0 0 28px rgba(0,0,0,.38);
}

.panic-button {
  color: #140d09;
  font-weight: 700;
  background:
    radial-gradient(circle at 36% 26%, rgba(255,255,255,.56), transparent 14%),
    linear-gradient(#f27147, #9c2617 68%, #5c130d);
}

.utility-button,
.metal-button {
  background: linear-gradient(#717865, #38402e 58%, #22281c);
}

.mini-panel {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(7,9,6,.34);
  border: 1px solid rgba(255,255,255,.08);
}

.mini-label {
  color: #adb991;
  font-size: .75rem;
}

select,
textarea,
input[type="text"],
input[type="number"],
input[type="range"] {
  width: 100%;
}

select,
textarea,
input[type="text"],
input[type="number"] {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,.65);
  border-radius: 10px;
  color: #182014;
  background: linear-gradient(#c5ccb0, #8d997a);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.32);
}

textarea {
  min-height: 72px;
  resize: vertical;
  font-family: "Share Tech Mono", monospace;
}

input[type="range"] {
  accent-color: #a4b873;
}

.view-panel {
  display: none;
  margin-top: 18px;
}

.view-panel.is-active {
  display: block;
  animation: panelWake .32s ease both;
}

.grid-two,
.metronome-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-card {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.56);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(30,38,23,.82), rgba(17,21,13,.68)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 7px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), inset 0 -14px 28px rgba(0,0,0,.24), 0 12px 25px rgba(0,0,0,.22);
}

.field-card::before,
.field-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e0ddc3, #6d6c5e 35%, #141713 70%);
  box-shadow: inset 0 0 3px rgba(0,0,0,.8);
}

.field-card::before { top: 12px; right: 12px; }
.field-card::after { bottom: 12px; left: 12px; }

.card-title {
  margin-bottom: 13px;
  color: #d8ddbc;
  letter-spacing: .14em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: #bbc7a0;
  font-weight: 600;
}

label span {
  font-size: .88rem;
  text-transform: uppercase;
}

.scope-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(218, 221, 180, .18);
  color: #c3cbaa;
}

.scope-line strong {
  color: #ecedcf;
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
}

.string-card {
  margin-top: 16px;
}

.strings-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(134px, 1fr));
  gap: 12px;
}

.string-btn {
  position: relative;
  min-height: 96px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.64);
  color: #f1edcd;
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 12%, rgba(185, 224, 111, .18), transparent 28%),
    linear-gradient(#566046, #2c3424 62%, #171d13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 4px 0 rgba(0,0,0,.32), 0 9px 16px rgba(0,0,0,.22);
  text-align: left;
}

.string-btn.is-target {
  outline: 2px solid rgba(185, 224, 111, .72);
  box-shadow: 0 0 18px rgba(185,224,111,.26), inset 0 1px 0 rgba(255,255,255,.16), 0 4px 0 rgba(0,0,0,.32);
}

.string-btn b {
  display: block;
  font-family: "Orbitron", monospace;
  font-size: 1.55rem;
}

.string-btn span {
  display: block;
  font-family: "Share Tech Mono", monospace;
  color: #bcd39a;
}

.string-btn em {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-style: normal;
  color: #222b1b;
  background: #cbd3af;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: .76rem;
}

.tone-tools {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(218, 221, 180, .18);
}

.tone-save-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
}

.tone-hint {
  margin: 0;
  color: #aeba92;
  font-family: "Share Tech Mono", monospace;
  font-size: .82rem;
}

.install-button {
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid rgba(0,0,0,.7);
  border-radius: 999px;
  color: #162011;
  cursor: pointer;
  font-family: "Share Tech Mono", monospace;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(#e7ecc7, #8daf68 62%, #52643a);
  box-shadow: 0 0 20px rgba(185, 224, 111, .24), inset 0 1px 0 rgba(255,255,255,.28), 0 3px 0 rgba(0,0,0,.34);
}

.install-button:active {
  transform: translateY(2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 0 rgba(0,0,0,.35);
}

.install-button[hidden] {
  display: none;
}

.metronome-card {
  min-height: 390px;
}

.bpm-readout {
  display: grid;
  place-items: center;
  min-height: 120px;
  margin-bottom: 14px;
  font-size: clamp(4rem, 15vw, 8rem);
  line-height: 1;
}

.bpm-controls {
  display: grid;
  grid-template-columns: 54px 54px minmax(0, 1fr) 54px 54px;
  gap: 8px;
  align-items: center;
}

.metro-grid {
  margin-top: 16px;
}

.beat-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.beat-dial {
  position: relative;
  display: grid;
  place-items: center;
  width: min(330px, 72vw);
  aspect-ratio: 1;
  margin: 6px auto 20px;
  border-radius: 50%;
  border: 11px solid #171b13;
  background:
    radial-gradient(circle at 50% 50%, rgba(0,0,0,.85) 0 9%, transparent 10%),
    radial-gradient(circle at 50% 50%, transparent 0 48%, rgba(185, 224, 111, .16) 49% 52%, transparent 53%),
    repeating-conic-gradient(from -2deg, rgba(218,221,180,.3) 0 2deg, transparent 2deg 18deg),
    radial-gradient(circle, #39422d, #141911 72%);
  box-shadow: inset 0 0 34px rgba(0,0,0,.55), 0 16px 24px rgba(0,0,0,.26);
}

.beat-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: rgba(185, 224, 111, .2);
  background: #0f130c;
  border: 2px solid rgba(218,221,180,.18);
  box-shadow: inset 0 0 22px rgba(0,0,0,.65);
}

.beat-core.is-pulse {
  color: var(--amber);
  box-shadow: 0 0 34px rgba(224,163,61,.72), inset 0 0 22px rgba(0,0,0,.65);
  animation: pulseCore .18s ease;
}

.beat-arm {
  position: absolute;
  left: 50%;
  top: 9%;
  width: 6px;
  height: 42%;
  border-radius: 99px;
  background: linear-gradient(#df4f38, #e7d9a2 16%, #38412d 100%);
  transform-origin: 50% 98%;
  transform: translateX(-50%) rotate(-35deg);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.55));
  transition: transform .08s linear;
}

.beat-leds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.beat-led {
  height: 22px;
  border-radius: 999px;
  background: #151b11;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 0 12px rgba(0,0,0,.65);
}

.beat-led.is-on {
  background: var(--amber);
  box-shadow: 0 0 18px rgba(224,163,61,.75), inset 0 -4px 8px rgba(0,0,0,.35);
}

.muted-copy {
  max-width: 68ch;
  color: #c0c9a9;
  font-size: 1.1rem;
}

.device-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(245,231,178,.15);
  color: rgba(229,232,195,.74);
  font-size: .78rem;
}

.serial {
  color: #f1e9c9;
}

@keyframes blink {
  50% { opacity: .25; }
}

@keyframes lampBuzz {
  0%, 100% { filter: brightness(1); }
  48% { filter: brightness(1.35); }
  50% { filter: brightness(.85); }
  52% { filter: brightness(1.45); }
}

@keyframes staticDrift {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(8px, -7px, 0); }
}

@keyframes lcdSweep {
  0%, 72% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes panelWake {
  from { opacity: 0; transform: translateY(8px); filter: blur(2px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes pulseCore {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes tunedGlow {
  from { filter: saturate(1.08) brightness(1.06); }
  to { filter: saturate(1.3) brightness(1.18); }
}

@media (max-width: 900px) {
  .instrument-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .hardware-column {
    display: none;
  }

  .control-tower {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
  }

  .grid-two,
  .metronome-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .app-shell {
    padding: 10px;
  }

  .device-frame {
    min-height: calc(100vh - 20px);
    padding: 14px;
    border-radius: 18px;
  }

  .top-rail {
    display: grid;
  }

  .status-bank {
    justify-content: space-between;
  }

  .module-switch {
    overflow-x: auto;
  }

  .module-btn {
    min-width: 132px;
  }

  .meter-bezel {
    min-height: 224px;
    padding: 10px;
  }

  .lcd-row {
    grid-template-columns: 1fr;
  }

  .radio-strip {
    display: grid;
  }

  .control-tower {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .metro-grid,
  .tone-save-row {
    grid-template-columns: 1fr;
  }

  .bpm-controls {
    grid-template-columns: repeat(4, 1fr);
  }

  .bpm-controls input {
    grid-column: 1 / -1;
    order: -1;
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.2rem);
  }
}

/* v1.10.4 · gemeinsame Cloud-, Social- und Bandlogik */
.module-switch .module-btn { flex: 1 1 132px; min-width: 0; }
.song-link-details {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 14px !important;
  border: 1px solid rgba(214,237,167,.28) !important;
  border-radius: 14px;
  background: rgba(157,190,96,.09);
}
.song-link-details h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px; margin: 0; color: var(--cream); }
.song-link-details h3 small { color: rgba(238,246,211,.68); font-size: .72rem; font-weight: 500; }
.cloud-upload-target-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: end; }
.cloud-upload-target-row label { min-width: 0; }
.cloud-create-options > .cloud-collection-row,
.cloud-create-options > .cloud-folder-row { grid-column: auto !important; }

.identity-link,
.timeline-identity { color: inherit; text-decoration: none; }
.identity-link:hover,
.timeline-identity:hover { color: #dff3ad; text-decoration: underline; text-underline-offset: 3px; }
.user-avatar[href] { cursor: pointer; }
.profile-relation-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.bands-hub-layout {
  display: grid;
  grid-template-columns: minmax(330px,.4fr) minmax(0,1fr);
  gap: 16px;
  align-items: start;
}
.bands-directory-card,
.band-profile-workspace { padding: 20px !important; }
.bands-directory-card { position: sticky; top: 12px; display: grid; gap: 14px; }
.bands-directory-head { display: grid; gap: 12px; align-items: start; }
.bands-directory-head p { margin: 5px 0 0; color: rgba(238,246,211,.72); line-height: 1.4; }
.bands-directory-head .band-create-cta { width: 100%; min-width: 0; }
.band-search-field { min-width: 0; }
.band-directory-list { display: grid; gap: 9px; max-height: 650px; overflow: auto; padding-right: 3px; }
button.band-directory-card {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 11px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(223,238,183,.16);
  border-radius: 14px;
  background: rgba(0,0,0,.17);
  color: var(--cream);
  text-align: left;
  cursor: pointer;
}
button.band-directory-card:hover,
button.band-directory-card.is-active { border-color: rgba(213,239,158,.52); background: rgba(143,184,74,.18); box-shadow: inset 0 0 18px rgba(186,225,112,.06); }
.band-directory-avatar,
.band-profile-avatar { display: grid; place-items: center; background: #77974f center/cover no-repeat; color: #fff; font-weight: 900; }
.band-directory-avatar { width: 58px; height: 58px; border-radius: 16px; }
.band-directory-info { display: grid; min-width: 0; gap: 3px; }
.band-directory-info strong { font-size: 1.06rem; }
.band-directory-info small { color: #bad096; }
.band-directory-info > span { color: rgba(238,246,211,.68); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.band-profile-workspace { display: grid; gap: 18px; min-height: 470px; }
.band-profile-panel { display: grid; gap: 15px; }
.band-profile-hero { display: grid; grid-template-columns: 128px minmax(0,1fr); gap: 20px; align-items: center; }
.band-profile-avatar { width: 128px; height: 128px; border-radius: 28px; border: 1px solid rgba(223,238,183,.28); text-decoration: none; font-size: 2.5rem; }
.band-profile-info h2 { margin: 0; font-family: "Teko",sans-serif; font-size: 2.6rem; line-height: 1; letter-spacing: .05em; }
.band-profile-info > p { margin: 8px 0; color: rgba(238,246,211,.74); line-height: 1.45; }
.band-profile-stats { color: #c5dc99 !important; font-weight: 800; }
.band-profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.band-profile-members { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(223,238,183,.14); }
.band-profile-members > strong { width: 100%; }
.band-member-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid rgba(223,238,183,.16); border-radius: 999px; color: var(--cream); text-decoration: none; background: rgba(255,255,255,.04); }
.band-member-chip i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #78964f center/cover no-repeat; font-style: normal; }
.band-member-workspace { display: grid; gap: 12px; border-top: 1px solid rgba(223,238,183,.18); padding-top: 16px; }
.band-workspace-tabs { margin: 0 !important; }
.band-composer { margin-bottom: 12px; }
.band-profile-workspace .timeline-item { background: rgba(4,8,3,.31); }

.band-editor-panel {
  width: min(820px,94vw) !important;
  max-height: min(780px,90vh) !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-rows: auto minmax(0,1fr) auto;
  padding: 0 !important;
}
.band-editor-panel > .song-modal-head { margin: 0 !important; padding: 18px 20px 14px; border-bottom: 1px solid rgba(223,238,183,.16); background: rgba(0,0,0,.18); }
.band-editor-panel .song-modal-head .tone-hint { color: rgba(238,246,211,.78) !important; margin: 5px 0 0; }
.band-editor-scroll { min-height: 0; overflow: auto; padding: 18px 20px; }
.band-editor-grid { grid-template-columns: 112px minmax(0,1fr) !important; gap: 16px 18px !important; }
.band-avatar-preview { grid-row: span 2; width: 112px; height: 112px; border-radius: 24px; display: grid; place-items: center; background: #718e4b center/cover no-repeat; color: white; font-size: 2rem; font-weight: 900; border: 1px solid rgba(223,238,183,.3); }
.band-editor-grid .band-avatar-field { grid-column: 2 !important; padding: 12px !important; }
.band-editor-grid > .wide { grid-column: 1 / -1 !important; }
.band-editor-grid textarea { resize: vertical; }
.band-editor-grid .band-member-picker { max-height: 210px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.band-editor-actions { justify-content: flex-end; align-items: center; padding: 14px 20px; border-top: 1px solid rgba(223,238,183,.16); background: rgba(0,0,0,.23); }
.band-editor-actions .band-primary-action { margin-left: auto; min-width: 160px; background: linear-gradient(180deg,#91bb59,#4f772f) !important; }

@media (max-width: 900px) {
  .bands-hub-layout { grid-template-columns: 1fr; }
  .bands-directory-card { position: static; }
  .band-directory-list { max-height: 380px; }
}
@media (max-width: 650px) {
  .cloud-upload-target-row,
  .band-profile-hero,
  .band-editor-grid { grid-template-columns: 1fr !important; }
  .band-profile-avatar,
  .band-avatar-preview { width: 96px; height: 96px; }
  .band-avatar-preview { grid-row: auto; }
  .band-editor-grid > *,
  .band-editor-grid .band-avatar-field,
  .band-editor-grid > .wide { grid-column: 1 !important; }
  .band-editor-grid .band-member-picker { grid-template-columns: 1fr; }
  .band-editor-actions { justify-content: stretch; }
  .band-editor-actions .metal-button { flex: 1 1 130px; }
}

/* v1.2: klare Modultrennung und direkt editierbare Prüftasten */
.device-frame[data-active-view="metronome"] .instrument-panel {
  display: none;
}

.device-frame[data-active-view="metronome"] #view-metronome {
  margin-top: 18px;
}

.meter-warning {
  top: 47%;
  font-size: clamp(.78rem, 1.8vw, 1rem);
}

.string-slot {
  display: grid;
  gap: 8px;
  cursor: default;
}

.string-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.string-head small {
  color: #b7c392;
  font-family: "Share Tech Mono", monospace;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .86;
}

.string-frequency {
  display: block;
  font-family: "Share Tech Mono", monospace;
  color: #bcd39a;
}

.tone-select {
  min-height: 38px;
  padding: 7px 9px;
  font-family: "Share Tech Mono", monospace;
  font-size: .86rem;
}

.string-actions {
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 8px;
  align-items: center;
}

.string-play,
.string-remove {
  min-height: 34px;
  border: 1px solid rgba(0,0,0,.68);
  border-radius: 10px;
  cursor: pointer;
  font-family: "Share Tech Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 3px 0 rgba(0,0,0,.32);
}

.string-play {
  color: #172011;
  background: linear-gradient(#e2e8be, #9eb86e 58%, #5b6c42);
}

.string-remove {
  color: #f4d2c6;
  font-size: 1.25rem;
  background: linear-gradient(#65352a, #331a15 58%, #1b0d0b);
}

.string-play:active,
.string-remove:active {
  transform: translateY(2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 0 rgba(0,0,0,.3);
}

.string-remove:disabled,
#addTone:disabled {
  opacity: .42;
  cursor: not-allowed;
  filter: grayscale(.45);
}

.tone-save-row {
  grid-template-columns: minmax(112px, auto) minmax(150px, .8fr) auto minmax(180px, 1fr) auto;
}

.tone-counter {
  display: grid;
  align-content: end;
  gap: 5px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,.58);
  border-radius: 12px;
  color: #dce5bd;
  background: rgba(7,9,6,.32);
  box-shadow: inset 0 0 12px rgba(0,0,0,.35);
}

.tone-counter span {
  color: #aeba92;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tone-counter strong {
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
}

@media (max-width: 900px) {
  .tone-save-row {
    grid-template-columns: 1fr 1fr;
  }

  .tone-save-row label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .tone-save-row {
    grid-template-columns: 1fr;
  }
}

.strings-list {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* v1.4 · private login + chordmap */
.login-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 22px;
}

.login-shell {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
}

.login-card {
  padding: clamp(22px, 5vw, 36px);
  border: 2px solid #697154;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.16), transparent 11rem),
    linear-gradient(140deg, rgba(88,98,69,.96), rgba(45,54,35,.98) 46%, rgba(30,37,25,.99));
  box-shadow: 0 36px 80px rgba(0,0,0,.58), inset 0 2px 0 rgba(255,255,255,.14);
}

.login-card h1 {
  margin-top: 2px;
  font-size: clamp(3rem, 15vw, 5.8rem);
}

.login-copy,
.login-error,
.account-status {
  font-family: "Share Tech Mono", monospace;
}

.login-copy {
  color: #d9dfbd;
  line-height: 1.45;
}

.login-error {
  margin: 14px 0;
  padding: 10px 12px;
  border: 1px solid rgba(223,79,56,.55);
  border-radius: 12px;
  color: #ffd0c4;
  background: rgba(75,22,15,.55);
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.login-form label,
.account-form label {
  display: grid;
  gap: 6px;
}

.top-actions {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.user-panel {
  min-width: min(280px, 48vw);
  border: 1px solid rgba(0,0,0,.46);
  border-radius: 16px;
  background: rgba(11,14,8,.44);
  box-shadow: inset 0 0 18px rgba(0,0,0,.36);
}

.user-panel summary {
  cursor: pointer;
  padding: 11px 13px;
  color: #dce5bd;
  font-family: "Share Tech Mono", monospace;
  text-transform: uppercase;
  list-style: none;
}

.user-panel summary::-webkit-details-marker { display: none; }

.account-form {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.account-form label span,
.login-form label span {
  color: #b8c394;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.logout-link {
  color: #e7d9ac;
  font-family: "Share Tech Mono", monospace;
  text-decoration: none;
}

.account-status {
  min-height: 1.15em;
  margin: 0;
  color: #c7d69b;
  font-size: .85rem;
}

.device-frame[data-active-view="metronome"] .instrument-panel,
.device-frame[data-active-view="chordmap"] .instrument-panel {
  display: none;
}

.chordmap-layout {
  display: grid;
  gap: 16px;
}

.chord-toolbar,
.chord-builder-grid,
.section-tools {
  display: grid;
  gap: 12px;
  align-items: end;
}

.chord-toolbar {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.chord-toolbar input,
.chord-toolbar select,
.chord-builder-grid input,
.chord-builder-grid select,
.section-tools input {
  min-width: 0;
}

.chord-toolbar label:first-child {
  grid-column: span 2;
}

.chord-playbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.player-button {
  flex: 0 0 auto;
  min-width: 98px;
  min-height: 40px;
  padding-inline: 16px;
  border-radius: 999px;
  font-family: "Share Tech Mono", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 4px 0 rgba(0,0,0,.34), 0 0 18px rgba(0,0,0,.18);
}

.player-button.primary {
  color: #14200f;
  background: linear-gradient(#eff4bf, #a8c56d 58%, #5e763f);
}

.player-button.stop {
  color: #ffe4d8;
  background: linear-gradient(#774335, #431f18 62%, #20100c);
}

.player-button:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 0 rgba(0,0,0,.4);
}

.player-button:disabled {
  opacity: .58;
  cursor: not-allowed;
  filter: saturate(.72);
}

.chord-status {
  flex: 1 1 240px;
  min-height: 44px;
  display: grid;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,.48);
  border-radius: 12px;
  color: #cfe1a4;
  background: rgba(8,12,6,.4);
  font-family: "Share Tech Mono", monospace;
  box-shadow: inset 0 0 14px rgba(0,0,0,.36);
}

.chord-builder-grid {
  grid-template-columns: minmax(190px, 1fr) auto auto 130px 150px auto;
}

.quick-chord-label {
  grid-column: span 1;
}

.chord-palette {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.chord-palette-main {
  display: grid;
  grid-template-columns: repeat(12, minmax(48px, 1fr));
  gap: 8px;
}

.chord-chip-column {
  display: grid;
  gap: 6px;
}

.chord-palette-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(218, 221, 180, .16);
}

.chord-chip {
  min-width: 52px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,.66);
  border-radius: 10px;
  color: #172011;
  cursor: pointer;
  background: linear-gradient(#e7ebc2, #a5bd70 58%, #657547);
  font-family: "Share Tech Mono", monospace;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 3px 0 rgba(0,0,0,.32);
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}

.chord-chip.is-minor {
  background: linear-gradient(#ccd6a7, #7f9a61 58%, #4f5d3c);
}

.chord-chip.is-extra {
  min-width: 58px;
  color: #e6edc5;
  background: linear-gradient(#48513b, #2a3324 58%, #151b12);
}

.chord-chip:hover { filter: brightness(1.08); }
.chord-chip:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 0 rgba(0,0,0,.32); }

.section-tools {
  grid-template-columns: minmax(180px, 1fr) auto auto;
}

.chord-sections {
  display: grid;
  gap: 14px;
}

.chord-section {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 118px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.56);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(94,107,70,.78), rgba(31,39,24,.9)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 9px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 12px 26px rgba(0,0,0,.28);
  transition: border-color .16s ease, filter .16s ease, transform .18s ease;
}

.chord-section.is-selected {
  border-color: rgba(206, 235, 142, .7);
  box-shadow: 0 0 0 1px rgba(206,235,142,.12), 0 0 26px rgba(139,205,72,.16), inset 0 1px 0 rgba(255,255,255,.12);
}

.chord-section.is-dragging {
  opacity: .72;
  filter: saturate(1.2) brightness(1.08);
}

.section-handle {
  width: 48px;
  height: 100%;
  min-height: 118px;
  border: 0;
  border-right: 1px solid rgba(0,0,0,.55);
  color: #1b2115;
  cursor: grab;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 3px, transparent 3px 8px),
    linear-gradient(#d2d7a4, #7e935c);
  font-family: "Share Tech Mono", monospace;
  font-size: 1.25rem;
}

.section-handle:active { cursor: grabbing; }

.section-inner {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.section-name-input,
.section-bars-inline,
.chord-root-select,
.chord-quality-select {
  min-width: 0;
  width: 100%;
}

.section-name-input {
  flex: 1 1 260px;
  font-family: "Teko", Impact, sans-serif;
  font-size: 1.45rem;
  letter-spacing: .035em;
  text-transform: none;
}

.section-meta {
  flex: 0 0 auto;
  color: #cbd6aa;
  white-space: nowrap;
  font-family: "Share Tech Mono", monospace;
  font-size: .82rem;
}

.section-bars-inline {
  flex: 0 0 72px;
  text-align: center;
}

.section-mini-button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid rgba(0,0,0,.62);
  border-radius: 10px;
  color: #f0edcf;
  cursor: pointer;
  background: linear-gradient(#596348, #303824);
  font-family: "Share Tech Mono", monospace;
  font-size: .75rem;
  text-transform: uppercase;
}

.section-mini-button.danger {
  color: #ffd0c4;
  background: linear-gradient(#65352a, #331a15 58%, #1b0d0b);
}

.section-grid {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 72px;
  padding: 9px;
  overflow-x: auto;
  border: 1px solid rgba(0,0,0,.52);
  border-radius: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(228,238,184,.12) 0 1px, transparent 1px calc((100% / var(--beats)) - 1px)),
    linear-gradient(rgba(10,13,8,.5), rgba(10,13,8,.34));
  box-shadow: inset 0 0 18px rgba(0,0,0,.36);
}

.chord-block {
  position: relative;
  min-width: 72px;
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 2px 6px;
  align-items: center;
  padding: 8px 16px 7px 9px;
  border: 1px solid rgba(0,0,0,.7);
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 12%, rgba(255,255,255,.18), transparent 4rem),
    linear-gradient(#e3e8bd, #9bae6b 60%, #5a6742);
  color: #171d12;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 0 rgba(0,0,0,.28), 0 8px 14px rgba(0,0,0,.2);
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.chord-block:hover { filter: brightness(1.06); }

.chord-block.is-selected {
  transform: translateY(-2px);
  border-color: #f1f3c4;
  box-shadow: 0 0 0 2px rgba(241,243,196,.22), 0 0 20px rgba(185,224,111,.42), inset 0 1px 0 rgba(255,255,255,.28);
}

.chord-block.is-playing {
  animation: chordPulse .42s ease-in-out infinite alternate;
}

.chord-card-picker {
  grid-column: 1 / 2;
  display: grid;
  grid-template-columns: minmax(62px, .82fr) minmax(74px, 1fr);
  gap: 5px;
  align-items: center;
  min-width: 0;
}

.chord-root-select,
.chord-quality-select {
  min-height: 30px;
  border: 0;
  border-radius: 7px;
  color: #172011;
  cursor: pointer;
  background: rgba(245, 247, 204, .34);
  box-shadow: inset 0 0 0 1px rgba(23,32,17,.18);
}

.chord-root-select {
  font-family: "Teko", Impact, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: .04em;
}

.chord-quality-select {
  font-family: "Share Tech Mono", monospace;
  font-size: .78rem;
}

.chord-root-select option,
.chord-quality-select option {
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.chord-root-select:focus,
.chord-quality-select:focus {
  outline: 2px solid rgba(23,32,17,.45);
  background: rgba(255,255,255,.45);
}

.chord-block.is-resizing {
  z-index: 3;
  filter: brightness(1.1) saturate(1.08);
  box-shadow: 0 0 0 2px rgba(241,243,196,.26), 0 0 24px rgba(185,224,111,.48), inset 0 1px 0 rgba(255,255,255,.3);
}

.chord-beats {
  grid-column: 1 / 2;
  color: rgba(23,32,17,.72);
  font-family: "Share Tech Mono", monospace;
  font-size: .72rem;
  white-space: nowrap;
}

.chord-delete {
  position: absolute;
  top: 5px;
  right: 38px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0,0,0,.45);
  border-radius: 50%;
  color: #ffe0d8;
  cursor: pointer;
  background: rgba(67,20,16,.72);
  line-height: 1;
}

.chord-resize {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 32px;
  border-left: 1px solid rgba(0,0,0,.28);
  border-radius: 0 12px 12px 0;
  cursor: ew-resize;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 2px, transparent 2px 6px),
    rgba(255,255,255,.1);
}

@keyframes chordPulse {
  from { filter: brightness(1); }
  to { filter: brightness(1.22) saturate(1.16); box-shadow: 0 0 26px rgba(185,224,111,.58), inset 0 1px 0 rgba(255,255,255,.3); }
}

@media (max-width: 1050px) {
  .top-rail,
  .top-actions {
    flex-direction: column;
  }

  .user-panel {
    width: 100%;
    min-width: 0;
  }

  .chord-toolbar,
  .chord-builder-grid,
  .section-tools,
  .chord-playbar {
    grid-template-columns: 1fr 1fr;
  }

  .chord-palette-main {
    grid-template-columns: repeat(6, minmax(46px, 1fr));
  }

  .chord-status,
  .quick-chord-label {
    grid-column: 1 / -1;
  }

  .section-header {
    grid-template-columns: 1fr 70px;
  }

  .section-meta,
  .section-mini-button {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .top-actions,
  .status-bank {
    width: 100%;
  }

  .status-bank {
    justify-content: space-between;
  }

  .module-switch,
  .chord-toolbar,
  .chord-builder-grid,
  .section-tools,
  .chord-playbar {
    grid-template-columns: 1fr;
  }

  .chord-toolbar label:first-child {
    grid-column: auto;
  }

  .chord-section {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .section-handle {
    width: 40px;
  }

  .section-header {
    grid-template-columns: 1fr;
  }

  .chord-palette-main {
    grid-template-columns: repeat(3, minmax(58px, 1fr));
  }

  .section-grid {
    grid-auto-columns: minmax(52px, 1fr);
  }
}

/* v1.5.0 Account / Social layer */
.is-guest .view-panel.requires-auth { display: none !important; }
.is-guest .module-switch { justify-content: flex-start; }
.is-guest .module-switch .requires-auth { display: flex !important; opacity: .44; filter: grayscale(1) brightness(.72); cursor: not-allowed; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 3px 0 rgba(0,0,0,.3); }
.is-guest .module-switch .requires-auth:hover { transform: none; filter: grayscale(1) brightness(.8); }
.guest-panel { min-width: min(520px, 92vw); }
.guest-panel .account-form { border-top: 1px solid rgba(223,238,183,.18); margin-top: 10px; padding-top: 10px; }
.login-error.compact { margin: 8px 0; padding: 8px 10px; }
.account-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.account-card { min-width: 0; }
.profile-grid, .social-grid, .admin-create-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.profile-grid .wide, .social-grid .wide { grid-column: 1 / -1; }
.profile-grid textarea { width: 100%; resize: vertical; min-height: 98px; }
.account-status { min-height: 1.2em; font-size: .82rem; color: var(--phosphor, #dfeeb7); letter-spacing: .04em; }
.storage-meter { margin-top: 14px; }
.storage-meter > div { height: 12px; border: 1px solid rgba(223,238,183,.35); border-radius: 999px; overflow: hidden; background: rgba(0,0,0,.32); box-shadow: inset 0 0 12px rgba(0,0,0,.35); }
.storage-meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, rgba(191,216,142,.55), rgba(235,247,187,.85)); box-shadow: 0 0 12px rgba(223,238,183,.4); }
.social-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.mini-list { display: grid; gap: 8px; margin-top: 8px; color: rgba(238,246,211,.82); font-size: .88rem; }
.mini-list-row, .admin-user-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 8px 10px; border: 1px solid rgba(223,238,183,.18); border-radius: 10px; background: rgba(12,18,10,.36); }
.mini-list-row span { overflow-wrap: anywhere; }
.tiny-button { border: 1px solid rgba(223,238,183,.32); border-radius: 8px; background: rgba(223,238,183,.12); color: #edf6d2; padding: 5px 8px; cursor: pointer; text-transform: uppercase; font-size: .68rem; letter-spacing: .06em; }
.tiny-button:hover { background: rgba(223,238,183,.2); }
.tiny-button.danger { border-color: rgba(255,120,95,.34); color: #ffd2c9; background: rgba(92,25,15,.28); }
.admin-card { grid-column: 1 / -1; }
.admin-user-list { display: grid; gap: 8px; margin-top: 14px; }
.admin-user-row { display: grid; grid-template-columns: minmax(150px, 1.4fr) minmax(110px, .9fr) 92px 92px 100px auto; }
.admin-user-row input, .admin-user-row select { min-width: 0; }
.song-share-strip { display: grid; grid-template-columns: minmax(150px, .9fr) minmax(180px, .8fr) minmax(180px, 1fr) minmax(180px, 1fr) auto; gap: 12px; align-items: end; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(223,238,183,.16); }
.song-share-strip select[multiple] { min-height: 74px; overflow: auto; }
.checkbox-line { display: flex !important; align-items: center; gap: 8px; padding-bottom: 10px; }
.checkbox-line input { width: auto; min-width: auto; }
.checkbox-line span { margin: 0 !important; }
.chord-card-picker select { font-size: clamp(13px, 1.6vw, 20px); line-height: 1.1; }
@media (max-width: 980px) {
  .account-layout, .profile-grid, .social-lists { grid-template-columns: 1fr; }
  .song-share-strip { grid-template-columns: 1fr; }
  .admin-user-row { grid-template-columns: 1fr 1fr; }
}

/* v1.5.1 Social hub / account separation */
.device-frame[data-active-view="social"] .instrument-panel,
.device-frame[data-active-view="account"] .instrument-panel,
.device-frame[data-active-view="bands"] .instrument-panel,
.device-frame[data-active-view="metronome"] .instrument-panel,
.device-frame[data-active-view="chordmap"] .instrument-panel { display: none; }

.social-hub-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.social-wide-card { grid-column: 1 / -1; }
.social-search-grid { grid-template-columns: minmax(220px, 1fr) auto; }
.user-directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 14px; }
.user-card, .profile-preview-card, .group-card, .admin-group-row { border: 1px solid rgba(223,238,183,.18); border-radius: 14px; background: rgba(10,15,8,.38); padding: 12px; box-shadow: inset 0 0 18px rgba(0,0,0,.24); }
.user-card { display: flex; gap: 12px; align-items: flex-start; }
.user-avatar { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; display: grid; place-items: center; color: #151b10; font-family: "Teko", sans-serif; font-size: 1.7rem; font-weight: 700; background: linear-gradient(#dfe9b9, #8aa25d); background-size: cover; background-position: center; border: 1px solid rgba(0,0,0,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 5px 14px rgba(0,0,0,.35); }
.user-avatar.big { width: 78px; height: 78px; font-size: 2.4rem; margin-bottom: 8px; }
.user-card-body { display: grid; gap: 6px; min-width: 0; }
.user-card-body p, .group-card p, .profile-preview-card p { margin: 0; color: rgba(238,246,211,.78); line-height: 1.35; }
.user-card-actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.relation-tag { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 8px; border-radius: 999px; color: #172011; background: linear-gradient(#dfe9b9, #9bb971); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.public-profile-preview { display: grid; gap: 10px; }
.profile-preview-card { display: grid; gap: 10px; }
.profile-preview-card h3 { margin: 0; font-family: "Teko", sans-serif; font-size: 2rem; letter-spacing: .04em; }
.profile-preview-card input, .share-link-box input { width: 100%; min-width: 0; }
.share-link-box { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:14px; padding-top:14px; border-top:1px solid rgba(223,238,183,.16); }
.link-copy-button{display:inline-grid!important;place-items:center;width:44px!important;min-width:44px!important;height:42px;min-height:42px;padding:0!important}.link-copy-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.link-copy-button.is-copied{color:#19230f;background:linear-gradient(#e3f6af,#94bc5f);box-shadow:0 0 14px rgba(184,225,112,.34)}
.shared-song-card { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: rgba(223,238,183,.09); border: 1px solid rgba(223,238,183,.18); }
.group-card { display: grid; gap: 10px; }
.group-card-head { display: flex; align-items: center; gap: 12px; }
.group-card-head strong { display: block; font-family: "Teko", sans-serif; font-size: 1.8rem; line-height: .95; }
.group-card-head span { color: rgba(238,246,211,.7); font-size: .84rem; }
.rich-group-list { gap: 12px; }
.group-shared-songs, .group-comments { display: grid; gap: 6px; }
.comment-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.group-edit-details { border-top: 1px solid rgba(223,238,183,.14); padding-top: 8px; }
.group-edit-details summary { cursor: pointer; color: #e8efd1; font-family: "Share Tech Mono", monospace; }
.group-edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.group-edit-grid textarea, .group-edit-grid select[multiple], .member-role-grid { grid-column: 1 / -1; }
.member-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.member-role-grid label { display: grid; gap: 5px; }
.member-role-grid span { color: rgba(238,246,211,.75); font-size: .78rem; }
.danger-button { color: #ffd0c4 !important; background: linear-gradient(#65352a, #331a15 58%, #1b0d0b) !important; }
.rich-admin-row { grid-template-columns: minmax(160px, 1fr) repeat(3, minmax(120px, 1fr)); align-items: end; }
.rich-admin-row textarea { min-height: 58px; resize: vertical; }
.admin-group-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-group-row .mini-list-row { flex: 1 1 280px; background: transparent; border: 0; padding: 0; }
.profile-grid .wide, .account-status.wide { grid-column: 1 / -1; }

@media (max-width: 980px) {
  .social-hub-layout, .social-search-grid, .share-link-box, .group-edit-grid { grid-template-columns: 1fr; }
  .rich-admin-row { grid-template-columns: 1fr; }
  .comment-row { grid-template-columns: 1fr; }
}

/* v1.5.2 Notifications / Mail layer */
.module-btn { position: relative; }
.nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: linear-gradient(#ffdf8f, #d47538 62%, #7b2d1f);
  color: #1e1209;
  font-family: "Share Tech Mono", monospace;
  font-size: .72rem;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(255,165,68,.45), inset 0 1px 0 rgba(255,255,255,.35);
  vertical-align: middle;
}
.nav-badge[hidden] { display: none !important; }
.top-notification-badge { margin-left: 8px; }
.inline-badge { margin-left: 8px; }
.quick-account-box { min-width: min(360px, 88vw); }
.quick-account-box .metal-button { width: 100%; }
.notification-card .metal-button { margin-top: 10px; }
.notification-list .mini-list-row span { color: #f4f8db; }
.mail-pref-box {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(223,238,183,.16);
}
.mail-pref-box .account-status { grid-column: 1 / -1; }
#adminMailCard code {
  display: inline-block;
  max-width: 100%;
  padding: 2px 6px;
  border: 1px solid rgba(223,238,183,.18);
  border-radius: 6px;
  background: rgba(0,0,0,.22);
  color: #eef6d0;
  overflow-wrap: anywhere;
}
#adminMailQueueInfo .mini-list-row { justify-content: flex-start; }
@media (max-width: 760px) {
  .mail-pref-box { grid-template-columns: 1fr; }
}

/* v1.5.3 Timeline / Uploads / HTML mail admin */
.timeline-card { overflow: hidden; }
.timeline-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.timeline-switch .is-active { box-shadow: 0 0 0 2px rgba(223,238,183,.28), inset 0 1px 0 rgba(255,255,255,.25); filter: brightness(1.12); }
.timeline-composer { display: grid; gap: 10px; padding: 12px; border: 1px solid rgba(223,238,183,.18); border-radius: 14px; background: rgba(8,12,6,.32); }
.timeline-composer textarea { width: 100%; resize: vertical; min-height: 82px; }
.timeline-composer-row { display: grid; grid-template-columns: minmax(140px, .55fr) minmax(220px, 1fr) auto; gap: 10px; align-items: end; }
.timeline-feed { display: grid; gap: 12px; margin-top: 14px; }
.timeline-item { display: grid; gap: 10px; padding: 13px; border: 1px solid rgba(223,238,183,.18); border-radius: 16px; background: linear-gradient(180deg, rgba(35,45,24,.66), rgba(10,15,8,.42)); box-shadow: inset 0 0 18px rgba(0,0,0,.22); }
.timeline-item-head { display: flex; gap: 12px; align-items: center; }
.timeline-item-head strong { display: block; font-family: "Teko", sans-serif; font-size: 1.55rem; line-height: 1; letter-spacing: .035em; }
.timeline-item-head span { display: block; color: rgba(238,246,211,.68); font-size: .8rem; }
.timeline-item p { margin: 0; color: rgba(244,248,219,.9); white-space: pre-wrap; overflow-wrap: anywhere; }
.post-attachment { display: grid; gap: 8px; padding: 8px; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid rgba(223,238,183,.12); }
.post-attachment img { display: block; width: 100%; max-height: 520px; object-fit: contain; border-radius: 10px; background: rgba(0,0,0,.3); }
.post-attachment a { color: #f2ffd2; overflow-wrap: anywhere; }
.timeline-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.timeline-comments { display: grid; gap: 7px; padding-top: 8px; border-top: 1px solid rgba(223,238,183,.12); }
.timeline-group_comment { border-color: rgba(255,224,144,.18); }
.timeline-song_share { border-color: rgba(128,204,255,.18); }
.admin-create-grid .wide { grid-column: 1 / -1; }
input[type="file"] { color: rgba(238,246,211,.86); font-family: "Share Tech Mono", monospace; }
input[type="file"]::file-selector-button { margin-right: 10px; border: 1px solid rgba(223,238,183,.28); border-radius: 8px; background: linear-gradient(#d3ddb0, #7f925f); color: #11180d; padding: 6px 9px; font-family: "Share Tech Mono", monospace; text-transform: uppercase; cursor: pointer; }
@media (max-width: 760px) {
  .timeline-composer-row { grid-template-columns: 1fr; }
}

.link-preview-card{display:grid;grid-template-columns:minmax(0,120px) 1fr;gap:12px;align-items:stretch;margin:12px 0;padding:10px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(0,0,0,.22);color:inherit;text-decoration:none;overflow:hidden}
.link-preview-card:hover{border-color:rgba(255,255,255,.28);transform:translateY(-1px)}
.link-preview-card img{width:120px;height:90px;object-fit:cover;border-radius:12px;background:rgba(255,255,255,.06)}
.link-preview-body{display:flex;flex-direction:column;gap:4px;min-width:0}
.link-preview-body small{opacity:.68;text-transform:uppercase;letter-spacing:.08em;font-size:.68rem}
.link-preview-body strong{font-size:.98rem;line-height:1.25}
.link-preview-body em{font-style:normal;opacity:.78;line-height:1.35}
.timeline-item p a,.timeline-comment a{color:#cfe7ff;text-decoration:underline;text-underline-offset:3px;word-break:break-word}
.timeline-manage{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.timeline-comment{display:flex;align-items:flex-start;gap:8px;justify-content:space-between;padding:6px 0;border-top:1px solid rgba(255,255,255,.06)}
.timeline-comment>span:first-child{min-width:0;word-break:break-word}
.comment-actions{display:flex;gap:4px;flex:0 0 auto}
.blocked-tag{border-color:rgba(255,90,90,.45);color:#ffd0d0;background:rgba(255,80,80,.12)}
@media (max-width:700px){.link-preview-card{grid-template-columns:1fr}.link-preview-card img{width:100%;height:auto;max-height:220px}.timeline-manage{width:100%;justify-content:flex-start}.timeline-comment{display:block}.comment-actions{margin-top:6px}}

/* v1.5.5: Songverwaltung + Kommentar-Threads */
.song-modal[hidden] { display: none !important; }
.song-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: clamp(14px, 3vw, 34px); }
.song-modal-backdrop { position: absolute; inset: 0; background: rgba(2, 5, 8, .72); backdrop-filter: blur(8px); }
.song-modal-panel { position: relative; z-index: 1; width: min(980px, 96vw); max-height: min(82vh, 860px); overflow: auto; box-shadow: 0 28px 90px rgba(0,0,0,.62); }
.song-modal-head { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.song-manager-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 16px; }
.song-manager-list { display: grid; gap: 10px; }
.song-manager-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid rgba(150, 230, 210, .2); border-radius: 16px; background: rgba(2, 12, 16, .58); }
.song-manager-row.is-current { border-color: rgba(133, 255, 214, .65); box-shadow: inset 0 0 0 1px rgba(133, 255, 214, .22), 0 0 18px rgba(64, 255, 210, .13); }
.song-manager-main { display: grid; gap: 4px; min-width: 0; }
.song-manager-main strong { font-size: 1.02rem; }
.song-manager-main span { opacity: .75; font-size: .88rem; }
.song-manager-row-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.timeline-comment-wrap { margin-left: calc(var(--comment-depth, 0) * 22px); }
.timeline-comment-wrap .timeline-comment-wrap { margin-top: 6px; }
.timeline-comment { border-left: 2px solid rgba(116, 255, 218, .22); padding-left: 9px; }
.group-comment-wrap { margin-top: 6px; }
.profile-song-list { display: grid; gap: 8px; margin-top: 10px; }
.shared-song-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shared-song-card > span { display: grid; gap: 2px; }
@media (max-width: 760px) {
  .song-manager-row { grid-template-columns: 1fr; }
  .song-manager-row-actions { justify-content: flex-start; }
  .song-modal-panel { max-height: 88vh; }
}

/* v1.5.6: Layout-Aufräumen + Admin-Account-Picker */
select,
textarea,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="url"] {
  max-width: 100%;
}

.field-card {
  min-width: 0;
  overflow: hidden;
}

.module-switch {
  flex-wrap: wrap;
}

.module-btn {
  min-width: min(145px, 100%);
  white-space: nowrap;
}

.profile-grid,
.social-grid,
.admin-create-grid,
.group-edit-grid,
.chord-toolbar,
.chord-builder-grid,
.chord-playbar,
.section-tools {
  min-width: 0;
}

.profile-grid > *,
.social-grid > *,
.admin-create-grid > *,
.group-edit-grid > *,
.chord-toolbar > *,
.chord-builder-grid > *,
.chord-playbar > *,
.section-tools > * {
  min-width: 0;
}

.social-lists {
  align-items: start;
}

.mini-list-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 10px;
  min-width: 0;
}

.mini-list-text,
.mini-list-row > span:first-child {
  flex: 1 1 230px;
  min-width: 180px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  line-height: 1.25;
}

.mini-list-actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 100%;
}

.tiny-button,
.section-mini-button,
.metal-button,
.utility-button,
.panic-button {
  white-space: nowrap;
}

.user-card {
  min-width: 0;
}

.user-card-body,
.profile-preview-card,
.group-card,
.timeline-card {
  min-width: 0;
  overflow-wrap: break-word;
}

.user-card-body strong,
.group-card-head strong,
.profile-preview-card h3 {
  overflow-wrap: anywhere;
}

.admin-manage-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(223,238,183,.16);
}

.admin-user-picker-grid {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(260px, 1.2fr);
  gap: 12px;
  align-items: end;
}

.admin-user-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(223,238,183,.18);
  border-radius: 14px;
  background: rgba(6,10,5,.3);
}

.admin-preview-avatar {
  flex: 0 0 54px;
}

.admin-preview-body {
  display: grid;
  gap: 3px;
  min-width: min(240px, 100%);
}

.admin-preview-body strong,
.admin-preview-body span,
.admin-preview-body small {
  overflow-wrap: anywhere;
}

.admin-preview-body span,
.admin-preview-body small {
  color: rgba(238,246,211,.76);
}

.admin-user-editor {
  margin-top: 12px;
}

.selected-admin-user-editor {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
  padding: 14px;
}

.selected-admin-user-editor label {
  min-width: 0;
}

.selected-admin-user-editor .wide,
.admin-editor-title,
.admin-editor-actions {
  grid-column: 1 / -1;
}

.admin-editor-title {
  font-family: "Share Tech Mono", monospace;
  color: #e5edc6;
  overflow-wrap: anywhere;
}

.admin-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 6px;
  border-top: 1px solid rgba(223,238,183,.12);
}

.admin-user-row {
  min-width: 0;
}

.chord-section {
  min-width: 0;
}

.section-header {
  align-items: stretch;
}

.section-name-input {
  flex: 999 1 320px;
  min-width: 210px;
}

.section-meta {
  align-self: center;
}

.section-grid {
  grid-auto-columns: minmax(220px, 1fr);
}

.chord-block {
  min-width: 220px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-right: 40px;
}

.chord-card-picker {
  grid-template-columns: minmax(74px, .8fr) minmax(94px, 1fr);
}

.chord-root-select,
.chord-quality-select {
  font-size: 1rem;
  padding: 6px 8px;
}

.chord-root-select {
  font-family: "Share Tech Mono", monospace;
}

.chord-delete {
  right: 38px;
}

.chord-resize {
  width: 36px;
}

@media (max-width: 980px) {
  .admin-user-picker-grid,
  .selected-admin-user-editor {
    grid-template-columns: 1fr;
  }
  .mini-list-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .app-shell {
    padding: 8px;
  }
  .device-frame {
    padding: 14px 10px;
  }
  .module-btn {
    flex: 1 1 calc(50% - 10px);
  }
  .social-lists,
  .account-layout,
  .profile-grid,
  .social-grid,
  .admin-create-grid {
    grid-template-columns: 1fr;
  }
  .mini-list-text,
  .mini-list-row > span:first-child {
    flex-basis: 100%;
    min-width: 0;
  }
  .section-grid {
    grid-auto-columns: minmax(190px, 1fr);
  }
  .chord-block {
    min-width: 190px;
  }
  .section-name-input {
    min-width: 0;
    flex-basis: 100%;
  }
}


/* v1.5.7: Discover, Sharing und kompaktere Desktop-Timeline */
.share-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(223,238,183,.16);
  border-radius: 16px;
  background: rgba(8,14,7,.28);
}
.share-main-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(190px, auto) auto;
  gap: 12px;
  align-items: end;
}
.share-target-details {
  border-top: 1px solid rgba(223,238,183,.12);
  padding-top: 8px;
}
.share-target-details summary {
  cursor: pointer;
  color: #eff7d0;
  font-family: "Share Tech Mono", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.share-target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.share-target-grid select[multiple] { min-height: 104px; }
.more-menu { position: relative; display: inline-block; }
.more-menu summary {
  list-style: none;
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  min-height: 28px;
  border: 1px solid rgba(223,238,183,.32);
  border-radius: 8px;
  background: rgba(223,238,183,.12);
  color: #edf6d2;
  cursor: pointer;
  font-family: "Share Tech Mono", monospace;
  font-weight: 700;
}
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu[open] summary { background: rgba(223,238,183,.22); }
.more-menu-panel {
  position: absolute;
  z-index: 40;
  right: 0;
  top: calc(100% + 6px);
  display: grid;
  gap: 6px;
  min-width: 142px;
  padding: 8px;
  border: 1px solid rgba(223,238,183,.24);
  border-radius: 12px;
  background: rgba(14,20,11,.96);
  box-shadow: 0 14px 34px rgba(0,0,0,.48);
}
.mini-list-actions .more-menu-panel { left: auto; right: 0; }
.user-directory {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.discover-card {
  min-height: 128px;
}
.discover-avatar {
  width: 86px;
  height: 86px;
  flex-basis: 86px;
  font-size: 2.5rem;
  border-radius: 18px;
}
.user-card-actions .more-menu { margin-left: auto; }
@media (min-width: 900px) {
  .timeline-feed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }
  .timeline-item {
    align-content: start;
  }
  .timeline-content.has-attachment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 300px);
    gap: 12px;
    align-items: start;
  }
  .timeline-post-text {
    min-width: 0;
    max-height: 280px;
    overflow: auto;
    padding-right: 2px;
  }
  .post-attachment img {
    max-height: 260px;
    object-fit: cover;
  }
  .post-attachment {
    align-self: start;
  }
}
@media (max-width: 760px) {
  .share-main-row,
  .share-target-grid {
    grid-template-columns: 1fr;
  }
  .discover-avatar {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
  .more-menu-panel {
    right: auto;
    left: 0;
  }
}


/* v1.5.8: Band Bunker polishing */
.as-link { text-decoration: none; }
.cron-report-box { display: grid; gap: 8px; grid-column: 1 / -1; margin-top: 10px; }
.cron-report-box textarea { width: 100%; min-height: 220px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .86rem; line-height: 1.35; resize: vertical; white-space: pre; }
.profile-connections-preview { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid rgba(223,238,183,.14); background: rgba(0,0,0,.16); }
.profile-connections-preview > strong { margin-right: 4px; color: rgba(238,246,211,.75); }
#songLoadSelect { min-width: 220px; }
@media (min-width: 900px) {
  .timeline-feed { grid-template-columns: 1fr !important; }
  .timeline-item { max-width: 980px; width: 100%; margin-inline: auto; }
}

/* v1.5.9 · Song workspace, Social tabs and compact pagination */
.song-workspace-layout {
  display: grid;
  gap: 18px;
}
.workspace-song-card .workspace-song-row,
.tab-editor-toolbar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
}
.workspace-song-row strong {
  min-width: 220px;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--cream);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tab-textarea,
.lyrics-textarea {
  width: 100%;
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid rgba(213, 228, 166, .35);
  background: rgba(9, 16, 8, .76);
  color: var(--cream);
  box-shadow: inset 0 0 25px rgba(0,0,0,.45);
  padding: 18px;
  resize: vertical;
  line-height: 1.45;
}
.tab-textarea {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  white-space: pre;
  overflow: auto;
}
.lyrics-textarea {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
}
.timeline-switch {
  flex-wrap: wrap;
}
.social-list-mode-only[hidden],
.timeline-mode-only[hidden] {
  display: none !important;
}
.timeline-load-more {
  margin-top: 14px;
  justify-self: center;
}
.timeline-feed {
  grid-template-columns: 1fr !important;
}
@media (min-width: 960px) {
  .timeline-item {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 720px) {
  .workspace-song-row strong,
  .workspace-song-row label,
  .tab-editor-toolbar label,
  .tab-editor-toolbar button {
    width: 100%;
  }
}

.social-list-mode-only { display: none; }
.social-list-mode-only:not([hidden]) { display: block; }

/* v1.6.0 · Gemeinsame Song-Leiste und aufgeräumte Tabs/Lyrics */
.device-frame[data-active-view="tabs"] .instrument-panel,
.device-frame[data-active-view="lyrics"] .instrument-panel {
  display: none;
}

.global-song-bar {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(320px, 1.3fr);
  gap: 12px 16px;
  align-items: end;
  margin: 14px 0 18px;
  padding: 14px;
  border: 1px solid rgba(223, 238, 183, .2);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(17, 26, 12, .82), rgba(42, 48, 28, .56));
  box-shadow: inset 0 0 24px rgba(0,0,0,.32), 0 12px 24px rgba(0,0,0,.2);
}
.global-song-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.global-song-kicker {
  color: rgba(223, 238, 183, .66);
  font-family: "Share Tech Mono", monospace;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.global-song-main strong {
  color: var(--cream);
  font-family: "Teko", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  letter-spacing: .06em;
  line-height: .95;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.global-song-meta {
  color: rgba(238, 246, 211, .72);
  font-size: .86rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.global-song-controls {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(190px, 1.1fr) auto auto;
  gap: 10px;
  align-items: end;
}
.global-song-controls label,
.global-song-controls input,
.global-song-controls select {
  min-width: 0;
}
.global-song-bar .account-status {
  grid-column: 1 / -1;
}
.chord-toolbar label:first-child {
  grid-column: auto;
}
#view-tabs .song-workspace-layout,
#view-lyrics .song-workspace-layout {
  margin-top: 0;
}
#view-tabs .tab-editor-toolbar {
  align-items: end;
}
#view-lyrics .lyrics-card .card-title,
#view-tabs .tab-editor-card .card-title {
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}
@media (max-width: 980px) {
  .global-song-bar {
    grid-template-columns: 1fr;
  }
  .global-song-controls {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .global-song-controls {
    grid-template-columns: 1fr;
  }
  .global-song-main strong,
  .global-song-meta {
    white-space: normal;
  }
}


/* v1.6.1 · Layout-Aufräumung nach Screenshot-Prüfung + 16-Schläge-Zeilen in der Chordmap */
html { overflow-x: hidden; }
.app-shell, .device-frame, .view-panel, .field-card { max-width: 100%; }
.device-frame { overflow: visible; }
.view-panel, .field-card { min-width: 0; }

/* Gemeinsame Song-Leiste: kein Überlappen von Buttons/Inputs. */
.global-song-bar {
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
  align-items: stretch;
  overflow: hidden;
}
.global-song-controls {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: end;
  min-width: 0;
}
.global-song-controls label { display: grid; gap: 5px; }
.global-song-controls .player-button,
.global-song-controls .metal-button {
  width: 100%;
  min-width: 0;
  justify-content: center;
  padding-left: 12px;
  padding-right: 12px;
}
.global-song-controls input,
.global-song-controls select { width: 100%; }
.global-song-main strong,
.global-song-meta { min-width: 0; }

/* Formular-/Toolbar-Gitter robuster machen. */
.chord-toolbar,
.chord-builder-grid,
.section-tools,
.profile-grid,
.admin-create-grid,
.social-grid,
.group-edit-grid,
.tab-editor-toolbar {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: end;
}
.chord-toolbar label:first-child,
.quick-chord-label { grid-column: auto; }
.chord-toolbar input,
.chord-toolbar select,
.chord-builder-grid input,
.chord-builder-grid select,
.section-tools input,
.tab-editor-toolbar select,
.tab-editor-toolbar button,
.profile-grid input,
.profile-grid select,
.profile-grid textarea { width: 100%; }
.chord-playbar { align-items: stretch; }
.chord-playbar .player-button { flex: 0 0 auto; }
.chord-status { min-width: min(260px, 100%); }

/* Teilen/Sharing klarer stapeln, damit keine langen Labels in Buttons laufen. */
.share-main-row {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: end;
}
.share-main-row .metal-button { width: 100%; }
.checkbox-line { align-self: center; }

/* Bereichs-Kopf stabilisieren. */
.section-header {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(130px, auto) 82px repeat(3, minmax(88px, auto));
  gap: 8px;
  align-items: center;
}
.section-name-input { min-width: 0; width: 100%; }
.section-meta { justify-self: start; white-space: nowrap; }
.section-bars-inline { width: 82px; }
.section-mini-button { width: auto; min-width: 0; }

/* Chordmap: maximal 16 Schläge pro Zeile, dann echter Umbruch statt horizontalem Scrollen. */
.section-grid {
  grid-template-columns: repeat(var(--row-beats, 16), minmax(0, 1fr)) !important;
  grid-auto-flow: row;
  grid-auto-rows: minmax(72px, auto);
  overflow-x: hidden !important;
  overflow-y: visible;
  align-items: stretch;
  gap: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(228,238,184,.12) 0 1px, transparent 1px calc((100% / var(--row-beats, 16)) - 1px)),
    repeating-linear-gradient(180deg, rgba(228,238,184,.07) 0 1px, transparent 1px 80px),
    linear-gradient(rgba(10,13,8,.52), rgba(10,13,8,.34));
}
.chord-block {
  min-width: 0 !important;
  width: auto;
  overflow: hidden;
  padding: 8px 38px 8px 9px;
  grid-template-columns: minmax(0, 1fr);
}
.chord-card-picker {
  grid-template-columns: minmax(54px, .8fr) minmax(68px, 1fr);
  min-width: 0;
}
.chord-root-select,
.chord-quality-select {
  min-width: 0;
  max-width: 100%;
  text-overflow: ellipsis;
}
.chord-block.is-compact {
  padding-left: 6px;
  padding-right: 30px;
}
.chord-block.is-compact .chord-card-picker {
  grid-template-columns: 1fr;
  gap: 3px;
}
.chord-block.is-compact .chord-root-select { font-size: 1rem; min-height: 25px; padding: 2px 4px; }
.chord-block.is-compact .chord-quality-select { font-size: .62rem; min-height: 23px; padding: 2px 3px; }
.chord-block.is-compact .chord-beats { font-size: .58rem; }
.chord-block.is-compact .chord-delete { right: 25px; top: 4px; width: 18px; height: 18px; }
.chord-block.is-compact .chord-resize { width: 24px; }
.chord-delete { z-index: 2; }
.chord-resize { z-index: 1; }

/* Listen und Karten: keine merkwürdigen Zeichenumbrüche mehr. */
.mini-list-row,
.user-card,
.group-card,
.timeline-item,
.admin-group-row,
.profile-preview-card { min-width: 0; }
.mini-list-text,
.mini-list-row > span:first-child,
.user-card-body,
.group-card p,
.timeline-item p,
.profile-preview-card p {
  word-break: normal;
  overflow-wrap: anywhere;
}
.user-card-actions,
.mini-list-actions,
.admin-editor-actions { min-width: 0; }

/* Timeline bleibt einspaltig und kompakt, aber Anhänge laufen nicht aus der Karte. */
.timeline-feed { grid-template-columns: 1fr !important; max-width: 980px; }
.timeline-item { overflow: hidden; }
.timeline-content.has-attachment { grid-template-columns: minmax(0, 1fr) minmax(180px, 280px); }
.post-attachment, .post-attachment img { max-width: 100%; }

/* Account/Admin: sauberere Abstände bei breiten und engen Ansichten. */
.account-layout { align-items: start; }
.selected-admin-user-editor { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.admin-editor-title,
.admin-editor-actions,
.selected-admin-user-editor .wide { grid-column: 1 / -1; }
#adminMailCard textarea,
#cronLogOutput { width: 100%; max-width: 100%; }

@media (max-width: 1180px) {
  .global-song-bar { grid-template-columns: 1fr; }
  .section-header { grid-template-columns: minmax(0, 1fr) auto 82px; }
  .section-header .section-mini-button { width: 100%; }
}
@media (max-width: 760px) {
  .device-frame { padding-left: 12px; padding-right: 12px; }
  .global-song-controls,
  .chord-toolbar,
  .chord-builder-grid,
  .section-tools,
  .share-main-row,
  .tab-editor-toolbar { grid-template-columns: 1fr; }
  .section-header { grid-template-columns: 1fr; }
  .section-meta,
  .section-bars-inline,
  .section-mini-button { width: 100%; }
  .section-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .chord-block { grid-column: span 4 !important; }
  .timeline-content.has-attachment { grid-template-columns: 1fr; }
}

/* v1.6.2 · Account oben als Direktbutton, kein Ausklappmenü */
.top-account-button {
  appearance: none;
  border: 1px solid rgba(0,0,0,.46);
  text-align: left;
  cursor: pointer;
  padding: 11px 13px;
  color: #dce5bd;
  font-family: "Share Tech Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .06em;
  min-width: min(280px, 48vw);
}
.top-account-button:hover,
.top-account-button:focus-visible {
  outline: none;
  border-color: rgba(217, 236, 166, .38);
  box-shadow: inset 0 0 18px rgba(0,0,0,.36), 0 0 0 2px rgba(185, 222, 118, .16);
}

/* v1.6.2 · Tab-Editor: Raster/Playback sauberer */
.tab-editor-toolbar {
  align-items: end;
}
.tab-play-option {
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid rgba(213, 228, 166, .16);
  border-radius: 10px;
  background: rgba(0,0,0,.13);
}
.tab-play-option input {
  width: auto !important;
}
.tab-textarea {
  font-size: clamp(.92rem, 1.1vw, 1.08rem);
  line-height: 1.55;
  tab-size: 4;
  min-height: 420px;
}
#tabEditorStatus {
  align-self: center;
  min-width: min(280px, 100%);
}
@media (max-width: 760px) {
  .top-account-button { width: 100%; min-width: 0; text-align: center; }
  .tab-textarea { min-height: 320px; }
}

/* v1.6.3 · Chordmap/Tabs/Lyrics als gemeinsames Song-System */
.chord-tab-toggle {
  min-height: 42px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(213, 228, 166, .16);
  border-radius: 10px;
  background: rgba(0,0,0,.16);
  color: var(--cream);
}
.chord-tab-toggle input { width: auto !important; }
.lyrics-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-top: 8px;
}
.lyrics-toolbar label { min-width: min(280px, 100%); }
.lyrics-toolbar select { width: 100%; }

/* v1.7.0 · Band Bunker: Chordmap als Master, Tabs/Lyrics als Part-Ergänzungen */
.legacy-tab-editor[hidden],
.legacy-lyrics-editor[hidden] { display: none !important; }
.linked-parts-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.linked-part-card {
  border: 1px solid rgba(213, 228, 166, .22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(22, 30, 17, .82), rgba(8, 12, 7, .72));
  box-shadow: inset 0 0 26px rgba(0,0,0,.35), 0 10px 18px rgba(0,0,0,.22);
  padding: 14px;
  overflow: hidden;
}
.linked-part-card.is-active {
  border-color: rgba(205, 225, 143, .62);
  box-shadow: inset 0 0 28px rgba(0,0,0,.34), 0 0 0 2px rgba(185, 224, 111, .14), 0 0 24px rgba(185, 224, 111, .10);
}
.linked-part-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}
.linked-part-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.linked-part-title strong {
  color: var(--cream);
  font-family: 'Orbitron', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.linked-part-title span,
.linked-part-meta {
  color: #aeba92;
  font-family: 'Share Tech Mono', monospace;
  font-size: .8rem;
  line-height: 1.35;
}
.linked-part-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.linked-part-meta { margin: 0 0 10px; }
.tab-grid-scroller {
  width: 100%;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(213, 228, 166, .16);
  background:
    linear-gradient(90deg, rgba(0,0,0,.42), transparent 90px),
    rgba(0,0,0,.22);
}
.tab-grid-editor {
  display: grid;
  gap: 2px;
  min-width: max-content;
  padding: 8px;
  align-items: center;
}
.tab-string-label {
  position: sticky;
  left: 0;
  z-index: 2;
  display: grid;
  gap: 1px;
  min-height: 34px;
  padding: 4px 7px;
  border: 1px solid rgba(213, 228, 166, .20);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(32, 40, 25, .98), rgba(12, 17, 10, .98));
  color: var(--cream);
  font-family: 'Share Tech Mono', monospace;
}
.tab-string-label strong { font-size: .88rem; }
.tab-string-label span { color: #aeba92; font-size: .68rem; }
.tab-cell-input {
  width: 34px !important;
  min-width: 34px;
  height: 32px;
  padding: 2px 3px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(213, 228, 166, .18) !important;
  background: rgba(8, 13, 7, .82) !important;
  color: var(--cream) !important;
  font-family: 'Share Tech Mono', monospace !important;
  text-align: center;
  box-shadow: inset 0 0 10px rgba(0,0,0,.38);
}
.tab-cell-input.is-beat-start { border-left-color: rgba(224,163,61,.44) !important; }
.tab-cell-input.is-bar-start {
  border-left-color: rgba(205, 225, 143, .9) !important;
  box-shadow: inset 3px 0 0 rgba(205, 225, 143, .24), inset 0 0 10px rgba(0,0,0,.38);
}
.tab-cell-input:focus {
  outline: none;
  border-color: rgba(205, 225, 143, .86) !important;
  box-shadow: 0 0 0 2px rgba(185, 224, 111, .18), inset 0 0 10px rgba(0,0,0,.38);
}
.lyrics-part-textarea {
  min-height: 130px;
  margin-top: 8px;
}
@media (max-width: 760px) {
  .linked-part-header { display: grid; }
  .linked-part-actions { justify-content: start; }
  .tab-cell-input { width: 32px !important; min-width: 32px; }
}

/* v1.7.2: Social-Bilder/Previews größer, Lightbox und Tab-Abspielmarker */
.timeline-feed {
  max-width: 1080px;
  gap: 16px;
}
.timeline-item {
  padding: 16px;
  gap: 12px;
}
.timeline-content.has-attachment {
  gap: 16px;
  align-items: start;
}
.post-attachment {
  padding: 10px;
}
.post-attachment-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: zoom-in;
}
.post-attachment-image:focus-visible {
  outline: 2px solid rgba(205, 225, 143, .9);
  outline-offset: 3px;
}
.post-attachment img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}
.link-preview-card {
  gap: 14px;
  padding: 12px;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}
.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(1, 4, 2, .78);
  backdrop-filter: blur(9px);
  cursor: zoom-out;
}
.image-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: min(1120px, 96vw);
  max-height: 92vh;
  padding: 14px;
  border: 1px solid rgba(223,238,183,.25);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(35,45,24,.95), rgba(8,12,6,.96));
  box-shadow: 0 30px 90px rgba(0,0,0,.68), inset 0 0 24px rgba(0,0,0,.35);
}
.image-lightbox-panel img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 96px);
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(0,0,0,.38);
}
.image-lightbox-panel p {
  margin: 0;
  color: rgba(238,246,211,.76);
  font-family: 'Share Tech Mono', monospace;
  font-size: .82rem;
  overflow-wrap: anywhere;
}
.image-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(223,238,183,.28);
  border-radius: 999px;
  background: rgba(0,0,0,.58);
  color: #f2ffd2;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}
.tab-cell-input.is-playhead {
  border-color: rgba(255, 224, 126, .95) !important;
  box-shadow: 0 0 0 2px rgba(255, 224, 126, .24), inset 0 0 12px rgba(255, 224, 126, .12) !important;
  transform: translateY(-1px);
}
.tab-cell-input.is-playhead-note {
  background: linear-gradient(180deg, rgba(255, 241, 170, .95), rgba(196, 156, 64, .92)) !important;
  color: #12180d !important;
  text-shadow: none;
}
@media (min-width: 900px) {
  .timeline-content.has-attachment {
    grid-template-columns: minmax(0, .85fr) minmax(320px, 430px);
  }
  .post-attachment img {
    max-height: 380px;
  }
  .link-preview-card {
    grid-template-columns: minmax(160px, 220px) 1fr;
  }
  .link-preview-card img {
    width: 220px;
    height: 135px;
  }
}
@media (max-width: 760px) {
  .timeline-content.has-attachment {
    grid-template-columns: 1fr !important;
  }
  .image-lightbox-panel {
    width: 98vw;
    padding: 10px;
  }
}


/* v1.7.3 · Stencil-Titel, zierlichere Tabs und sauberere Chordkarten */
.brand-block h1,
.boot-title,
.login-card h1 {
  font-family: "Stardos Stencil", "Teko", Impact, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-weight: 700;
}
.brand-block h1 {
  position: relative;
  color: #efe8c9;
  -webkit-text-stroke: .45px rgba(29, 35, 20, .72);
  text-shadow:
    0 2px 0 rgba(5, 8, 4, .92),
    0 0 1px rgba(255, 246, 203, .9),
    0 0 14px rgba(226, 223, 201, .13);
  filter: contrast(1.06) saturate(.9);
}
.brand-block h1::after {
  content: "";
  position: absolute;
  inset: .09em -.04em .02em -.02em;
  pointer-events: none;
  opacity: .36;
  mix-blend-mode: multiply;
  background:
    radial-gradient(circle at 9% 21%, rgba(15,18,11,.9) 0 1.5px, transparent 2.2px),
    radial-gradient(circle at 31% 78%, rgba(15,18,11,.7) 0 1.2px, transparent 2px),
    radial-gradient(circle at 58% 26%, rgba(15,18,11,.75) 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 82% 68%, rgba(15,18,11,.8) 0 1.1px, transparent 2px),
    repeating-linear-gradient(100deg, transparent 0 13px, rgba(9,12,7,.35) 13px 14px, transparent 14px 28px);
  background-size: 41px 31px, 53px 37px, 47px 29px, 61px 43px, 100% 100%;
  border-radius: 4px;
}

.section-grid {
  grid-auto-rows: minmax(60px, auto);
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(228,238,184,.10) 0 1px, transparent 1px calc((100% / var(--row-beats, 16)) - 1px)),
    repeating-linear-gradient(180deg, rgba(228,238,184,.05) 0 1px, transparent 1px 68px),
    linear-gradient(rgba(8,12,7,.58), rgba(8,12,7,.36));
}
.chord-block {
  min-height: 58px;
  padding: 7px 28px 6px 8px;
  border-radius: 10px;
  border-color: rgba(7, 10, 5, .72);
  background:
    linear-gradient(180deg, rgba(226, 236, 178, .96), rgba(153, 174, 96, .96) 58%, rgba(91, 105, 61, .98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -9px 14px rgba(26, 35, 17, .18),
    0 3px 0 rgba(0,0,0,.26),
    0 7px 12px rgba(0,0,0,.18);
}
.chord-card-picker {
  display: flex;
  grid-template-columns: none;
  gap: 6px;
  align-items: center;
  width: 100%;
}
.chord-root-select,
.chord-quality-select {
  min-height: 27px;
  border-radius: 6px;
  padding: 3px 7px;
  background: linear-gradient(180deg, rgba(239, 246, 198, .62), rgba(202, 220, 143, .50));
  box-shadow: inset 0 0 0 1px rgba(23,32,17,.14), inset 0 1px 0 rgba(255,255,255,.18);
}
.chord-root-select {
  flex: 0 1 45%;
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
}
.chord-quality-select {
  flex: 1 1 55%;
  font-size: clamp(.72rem, 1vw, .88rem);
}
.chord-beats {
  margin-top: 1px;
  font-size: .66rem;
  opacity: .88;
}
.chord-delete {
  top: 4px;
  right: 21px;
  width: 19px;
  height: 19px;
  font-size: .82rem;
  border-radius: 999px;
}
.chord-resize {
  width: 18px;
  border-radius: 0 10px 10px 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.12), rgba(255,255,255,.08)),
    repeating-linear-gradient(0deg, rgba(8,12,6,.34) 0 1px, transparent 1px 5px);
}
.chord-block.is-compact {
  min-height: 54px;
  padding: 6px 23px 5px 6px;
}
.chord-block.is-compact .chord-card-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}
.chord-block.is-compact .chord-root-select,
.chord-block.is-compact .chord-quality-select {
  width: 100%;
  min-height: 22px;
  padding: 2px 5px;
}
.chord-block.is-compact .chord-root-select { font-size: .98rem; }
.chord-block.is-compact .chord-quality-select { font-size: .62rem; }
.chord-block.is-compact .chord-delete { right: 17px; width: 17px; height: 17px; }
.chord-block.is-compact .chord-resize { width: 15px; }

.tab-grid-scroller {
  display: grid;
  gap: 8px;
  overflow: visible;
  padding: 8px;
  border-radius: 10px;
}
.tab-grid-line {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.tab-grid-line-caption {
  color: rgba(223,238,183,.62);
  font-family: "Share Tech Mono", monospace;
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tab-grid-editor {
  width: 100%;
  min-width: 0;
  gap: 2px;
  padding: 0;
}
.tab-string-label {
  position: relative;
  left: auto;
  min-height: 26px;
  padding: 2px 5px;
  border-radius: 6px;
  align-content: center;
}
.tab-string-label strong { font-size: .76rem; line-height: 1; }
.tab-string-label span { font-size: .56rem; line-height: 1; }
.tab-cell-input {
  width: auto !important;
  min-width: 0 !important;
  height: 26px;
  padding: 1px 2px !important;
  border-radius: 4px !important;
  font-size: .82rem !important;
  line-height: 1 !important;
}
.linked-part-card {
  padding: 12px;
  border-radius: 14px;
}
.linked-part-header {
  margin-bottom: 7px;
}
.linked-part-meta {
  margin-bottom: 8px;
  font-size: .74rem;
}
@media (max-width: 760px) {
  .tab-grid-scroller { gap: 7px; padding: 7px; }
  .tab-grid-editor { gap: 1px; }
  .tab-string-label { min-height: 24px; padding: 2px 4px; }
  .tab-cell-input { height: 24px; font-size: .76rem !important; }
  .linked-part-card { padding: 10px; }
  .chord-root-select { font-size: 1rem; }
  .chord-quality-select { font-size: .68rem; }
}

/* v1.7.8 · einklappbare Bereiche, schlankere Chordkarten, kleinere Tabs, Tab-Notenlänge */
.section-header,
.linked-part-header {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.section-collapse-button {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(221, 238, 177, .32);
  border-radius: 7px;
  color: #e9f1ca;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(78, 91, 55, .92), rgba(25, 34, 20, .96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 2px 6px rgba(0,0,0,.26);
  font-family: "Share Tech Mono", monospace;
  font-size: .92rem;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform .18s ease, border-color .14s ease, filter .14s ease;
}
.section-collapse-button:hover { filter: brightness(1.12); border-color: rgba(223,238,183,.55); }
.section-collapse-button.is-collapsed { transform: rotate(-90deg); }
.chord-section.is-collapsed { min-height: 70px; }
.chord-section.is-collapsed .section-handle { min-height: 70px; }
.chord-section.is-collapsed .section-inner { padding-block: 9px; }
.linked-part-card.is-collapsed { padding-block: 9px; }
.linked-part-header .section-collapse-button { margin-right: 2px; }
.section-name-input {
  flex: 999 1 240px;
  min-width: 180px;
}
.section-meta {
  flex: 0 1 auto;
}
.section-bars-inline {
  flex: 0 0 68px;
}
.section-mini-button {
  min-height: 30px;
  padding: 4px 7px;
  font-size: .68rem;
}

.section-grid {
  grid-auto-rows: minmax(48px, auto) !important;
  gap: 5px !important;
  padding: 7px !important;
  border-radius: 11px !important;
}
.chord-block {
  min-width: 148px !important;
  min-height: 46px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto 12px !important;
  gap: 2px 4px !important;
  align-items: center !important;
  padding: 6px 18px 4px 7px !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(198, 215, 139, .97), rgba(137, 159, 84, .97) 58%, rgba(69, 84, 50, .99)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    inset 0 -6px 10px rgba(16, 24, 11, .18),
    0 2px 0 rgba(0,0,0,.30),
    0 5px 10px rgba(0,0,0,.16) !important;
}
.chord-block.is-selected {
  transform: translateY(-1px) !important;
  box-shadow:
    0 0 0 1px rgba(241,243,196,.42),
    0 0 13px rgba(185,224,111,.30),
    inset 0 1px 0 rgba(255,255,255,.24) !important;
}
.chord-card-picker {
  display: grid !important;
  grid-template-columns: minmax(46px, .75fr) minmax(58px, 1fr) !important;
  gap: 4px !important;
  align-items: center !important;
  width: 100% !important;
}
.chord-root-select,
.chord-quality-select {
  height: 24px !important;
  min-height: 24px !important;
  padding: 1px 5px !important;
  border: 1px solid rgba(13, 19, 9, .22) !important;
  border-radius: 5px !important;
  background: linear-gradient(180deg, rgba(235, 244, 191, .58), rgba(190, 210, 127, .46)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18) !important;
  color: #14200f !important;
}
.chord-root-select {
  font-family: "Share Tech Mono", monospace !important;
  font-size: .95rem !important;
}
.chord-quality-select {
  font-size: .76rem !important;
  letter-spacing: .04em !important;
}
.chord-beats {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  padding-left: 2px !important;
  font-size: .55rem !important;
  line-height: 1 !important;
  opacity: .78 !important;
}
.chord-delete {
  top: 3px !important;
  right: 3px !important;
  width: 15px !important;
  height: 15px !important;
  border-radius: 5px !important;
  font-size: .67rem !important;
  line-height: 1 !important;
  opacity: .88;
}
.chord-resize {
  width: 11px !important;
  border-radius: 0 8px 8px 0 !important;
  opacity: .66 !important;
  background:
    linear-gradient(90deg, rgba(0,0,0,.18), rgba(255,255,255,.04)),
    repeating-linear-gradient(0deg, rgba(10,15,8,.32) 0 1px, transparent 1px 4px) !important;
}
.chord-block.is-compact {
  min-width: 72px !important;
  min-height: 43px !important;
  padding: 5px 15px 4px 5px !important;
}
.chord-block.is-compact .chord-card-picker {
  grid-template-columns: 1fr !important;
  gap: 2px !important;
}
.chord-block.is-compact .chord-root-select,
.chord-block.is-compact .chord-quality-select {
  height: 19px !important;
  min-height: 19px !important;
  padding: 0 4px !important;
}
.chord-block.is-compact .chord-root-select { font-size: .78rem !important; }
.chord-block.is-compact .chord-quality-select { font-size: .56rem !important; }

.tab-note-length-label {
  display: grid;
  grid-template-columns: minmax(105px, 1fr) auto;
  gap: 3px 8px;
  align-items: center;
  min-width: 170px;
}
.tab-note-length-label span { grid-column: 1 / -1; }
.tab-note-length-label input[type="range"] { width: 100%; }
.tab-note-length-label output {
  min-width: 3.2em;
  text-align: right;
  color: #e8efd1;
  font-family: "Share Tech Mono", monospace;
  font-size: .72rem;
}

#view-tabs .tab-editor-card { gap: 8px; }
#view-tabs .tab-editor-toolbar { gap: 8px; }
#view-tabs .tab-editor-toolbar label,
#view-tabs .tab-editor-toolbar button {
  min-height: 0;
}
.tab-part-card.linked-part-card {
  padding: 8px !important;
  border-radius: 12px !important;
}
.tab-part-card .linked-part-header {
  margin-bottom: 4px !important;
}
.tab-part-card .linked-part-title strong {
  font-size: 1.18rem !important;
  line-height: .95 !important;
}
.tab-part-card .linked-part-title span,
.tab-part-card .linked-part-meta {
  font-size: .61rem !important;
  line-height: 1.1 !important;
}
.tab-part-card .linked-part-meta {
  margin: 0 0 5px !important;
}
.tab-grid-scroller {
  gap: 5px !important;
  padding: 5px !important;
  border-radius: 8px !important;
}
.tab-grid-line {
  gap: 2px !important;
}
.tab-grid-line-caption {
  font-size: .54rem !important;
  line-height: 1 !important;
  opacity: .72 !important;
}
.tab-grid-editor {
  gap: 1px !important;
}
.tab-string-label {
  min-height: 19px !important;
  padding: 1px 3px !important;
  border-radius: 5px !important;
}
.tab-string-label strong { font-size: .64rem !important; }
.tab-string-label span { font-size: .47rem !important; }
.tab-cell-input {
  height: 19px !important;
  min-height: 19px !important;
  padding: 0 1px !important;
  border-radius: 3px !important;
  font-size: .66rem !important;
}
@media (max-width: 760px) {
  .section-collapse-button { width: 22px; height: 22px; flex-basis: 22px; }
  .chord-block { min-width: 118px !important; }
  .tab-cell-input { height: 18px !important; font-size: .61rem !important; }
  .tab-string-label { min-height: 18px !important; }
}


/* v1.7.5 · chordmap Akkordfelder neu gestaltet */
.chord-block {
  min-width: 74px !important;
  min-height: 46px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 4px !important;
  align-items: start !important;
  padding: 6px 28px 6px 6px !important;
  border: 1px solid rgba(31, 41, 21, .46) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(213, 224, 164, .98), rgba(184, 197, 122, .98) 56%, rgba(157, 170, 104, .98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 1px 0 rgba(0,0,0,.18),
    0 4px 8px rgba(0,0,0,.12) !important;
  color: #182111 !important;
}
.chord-block:hover {
  filter: brightness(1.03) !important;
}
.chord-block.is-selected {
  transform: translateY(-1px) !important;
  border-color: rgba(241, 243, 196, .88) !important;
  box-shadow:
    0 0 0 2px rgba(241,243,196,.18),
    0 5px 12px rgba(65, 81, 36, .18),
    inset 0 1px 0 rgba(255,255,255,.2) !important;
}
.chord-block.is-playing {
  box-shadow:
    0 0 0 2px rgba(198,229,123,.18),
    0 0 16px rgba(185,224,111,.28),
    inset 0 1px 0 rgba(255,255,255,.18) !important;
}
.chord-card-picker {
  display: grid !important;
  grid-template-columns: minmax(50px, .85fr) minmax(0, 1fr) !important;
  gap: 4px !important;
  align-items: center !important;
  width: 100% !important;
}
.chord-root-select,
.chord-quality-select {
  width: 100% !important;
  min-width: 0 !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 2px 23px 2px 6px !important;
  border: 1px solid rgba(38, 49, 26, .16) !important;
  border-radius: 5px !important;
  background: linear-gradient(180deg, rgba(242,247,214,.88), rgba(221,232,178,.72)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28) !important;
  color: #16200f !important;
}
.chord-root-select {
  font-family: "Teko", Impact, sans-serif !important;
  font-size: 1.18rem !important;
  line-height: 1 !important;
  letter-spacing: .03em !important;
}
.chord-quality-select {
  font-family: "Share Tech Mono", monospace !important;
  font-size: .76rem !important;
  line-height: 1.1 !important;
}
.chord-beats {
  grid-column: 1 / -1 !important;
  margin-top: 0 !important;
  color: rgba(24,33,17,.78) !important;
  font-size: .56rem !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  opacity: .8 !important;
}
.chord-delete {
  top: 5px !important;
  right: 14px !important;
  width: 16px !important;
  height: 16px !important;
  border: 1px solid rgba(45, 21, 15, .5) !important;
  border-radius: 999px !important;
  background: rgba(88, 45, 31, .84) !important;
  color: #f8e3d8 !important;
  box-shadow: none !important;
  font-size: .7rem !important;
}
.chord-resize {
  top: 3px !important;
  right: 3px !important;
  bottom: 3px !important;
  width: 8px !important;
  border: 0 !important;
  border-left: 1px solid rgba(30, 40, 20, .18) !important;
  border-radius: 4px !important;
  background:
    repeating-linear-gradient(0deg, rgba(32,41,22,.22) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(0,0,0,.03)) !important;
  opacity: .8 !important;
}
.chord-block.is-compact {
  min-height: 42px !important;
  padding: 5px 24px 5px 5px !important;
}
.chord-block.is-compact .chord-card-picker {
  grid-template-columns: 1fr !important;
  gap: 3px !important;
}
.chord-block.is-compact .chord-root-select,
.chord-block.is-compact .chord-quality-select {
  height: 20px !important;
  min-height: 20px !important;
  padding: 1px 18px 1px 5px !important;
}
.chord-block.is-compact .chord-root-select {
  font-size: .94rem !important;
}
.chord-block.is-compact .chord-quality-select {
  font-size: .58rem !important;
}
.chord-block.is-compact .chord-beats {
  font-size: .5rem !important;
}
.chord-block.is-compact .chord-delete {
  right: 12px !important;
  width: 14px !important;
  height: 14px !important;
}
.chord-block.is-compact .chord-resize {
  right: 2px !important;
  width: 7px !important;
}
@media (max-width: 760px) {
  .chord-block {
    min-width: 112px !important;
  }
}


/* v1.7.7 · chordmap Akkordfelder Feinschliff */
.chord-block {
  padding-right: 34px !important;
}
.chord-card-picker {
  width: max-content !important;
  max-width: calc(100% - 18px) !important;
  grid-template-columns: 62px 88px !important;
  justify-content: start !important;
}
.chord-root-select,
.chord-quality-select {
  width: auto !important;
  max-width: 100% !important;
  padding-right: 18px !important;
}
.chord-root-select {
  min-width: 62px !important;
}
.chord-quality-select {
  min-width: 88px !important;
}
.chord-delete {
  top: 6px !important;
  right: 16px !important;
  width: 17px !important;
  height: 17px !important;
}
.chord-resize {
  top: 2px !important;
  right: 2px !important;
  bottom: 2px !important;
  width: 9px !important;
  border-left: 1px solid rgba(11, 16, 8, .36) !important;
  background:
    repeating-linear-gradient(0deg, rgba(235, 241, 202, .18) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(88, 98, 53, .95), rgba(50, 58, 30, .98)) !important;
  opacity: 1 !important;
}
.chord-block.is-compact {
  padding-right: 31px !important;
}
.chord-block.is-compact .chord-card-picker {
  width: max-content !important;
  max-width: calc(100% - 16px) !important;
  grid-template-columns: 56px 74px !important;
  gap: 4px !important;
}
.chord-block.is-compact .chord-root-select {
  min-width: 56px !important;
  font-size: .9rem !important;
}
.chord-block.is-compact .chord-quality-select {
  min-width: 74px !important;
  font-size: .56rem !important;
}
.chord-block.is-compact .chord-delete {
  right: 14px !important;
  width: 15px !important;
  height: 15px !important;
}
.chord-block.is-compact .chord-resize {
  right: 2px !important;
  width: 8px !important;
}


/* v1.7.7 · Chordkarten: linker Drag-Anfasser, kurze Dropdowns, fette X/+ Buttons */
.chord-block {
  min-height: 54px !important;
  padding: 7px 38px 6px 25px !important;
}
.chord-card-picker {
  width: max-content !important;
  max-width: calc(100% - 4px) !important;
  grid-template-columns: 56px 78px !important;
  gap: 5px !important;
  justify-content: start !important;
}
.chord-root-select,
.chord-quality-select {
  height: 25px !important;
  min-height: 25px !important;
  padding: 2px 17px 2px 6px !important;
}
.chord-root-select {
  min-width: 56px !important;
  max-width: 56px !important;
  font-size: 1.08rem !important;
}
.chord-quality-select {
  min-width: 78px !important;
  max-width: 78px !important;
  font-size: .7rem !important;
}
.chord-drag-handle {
  position: absolute !important;
  left: 4px !important;
  top: 6px !important;
  bottom: 6px !important;
  width: 15px !important;
  padding: 0 !important;
  border: 1px solid rgba(8, 12, 6, .45) !important;
  border-radius: 5px !important;
  background:
    repeating-linear-gradient(0deg, rgba(226,238,184,.24) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(67, 78, 39, .95), rgba(35, 44, 23, .98)) !important;
  color: rgba(231, 240, 190, .82) !important;
  font-family: "Share Tech Mono", monospace !important;
  font-size: .58rem !important;
  line-height: 1 !important;
  letter-spacing: -.18em !important;
  cursor: grab !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.24) !important;
  z-index: 4 !important;
}
.chord-drag-handle:active {
  cursor: grabbing !important;
  transform: translateY(1px) !important;
}
.chord-block.is-chord-dragging {
  opacity: .56 !important;
  transform: scale(.985) rotate(-.6deg) !important;
}
.chord-delete,
.chord-clone {
  position: absolute !important;
  right: 15px !important;
  width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  font-family: "Share Tech Mono", monospace !important;
  font-size: .92rem !important;
  line-height: 17px !important;
  text-align: center !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.16) !important;
  z-index: 5 !important;
}
.chord-delete {
  top: 5px !important;
  border: 1px solid rgba(52, 17, 13, .72) !important;
  background: linear-gradient(180deg, rgba(112, 52, 39, .98), rgba(75, 28, 22, .98)) !important;
  color: #ffe2d8 !important;
}
.chord-clone {
  top: 28px !important;
  border: 1px solid rgba(21, 58, 24, .72) !important;
  background: linear-gradient(180deg, rgba(85, 139, 58, .98), rgba(42, 92, 40, .98)) !important;
  color: #eef8d5 !important;
  cursor: pointer !important;
}
.chord-resize {
  top: 3px !important;
  right: 3px !important;
  bottom: 3px !important;
  width: 10px !important;
  border-left: 1px solid rgba(5, 8, 4, .58) !important;
  border-radius: 4px !important;
  background:
    repeating-linear-gradient(0deg, rgba(221,235,177,.16) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(57, 67, 35, .98), rgba(24, 32, 18, .99)) !important;
  opacity: 1 !important;
  z-index: 3 !important;
}
.chord-block.is-compact {
  min-height: 52px !important;
  padding: 6px 36px 5px 23px !important;
}
.chord-block.is-compact .chord-card-picker {
  grid-template-columns: 50px 66px !important;
  gap: 4px !important;
}
.chord-block.is-compact .chord-root-select {
  min-width: 50px !important;
  max-width: 50px !important;
  height: 22px !important;
  min-height: 22px !important;
  font-size: .9rem !important;
}
.chord-block.is-compact .chord-quality-select {
  min-width: 66px !important;
  max-width: 66px !important;
  height: 22px !important;
  min-height: 22px !important;
  font-size: .56rem !important;
}
.chord-block.is-compact .chord-delete,
.chord-block.is-compact .chord-clone {
  right: 14px !important;
  width: 18px !important;
  height: 18px !important;
  font-size: .82rem !important;
  line-height: 15px !important;
}
.chord-block.is-compact .chord-delete { top: 5px !important; }
.chord-block.is-compact .chord-clone { top: 26px !important; }
.chord-block.is-compact .chord-resize {
  width: 9px !important;
}
.tab-note-length-label datalist {
  display: flex;
  justify-content: space-between;
}


/* v1.7.8 · Live-Drag, Resize-Dreiecke und Chord-Dropdown-Sortierung */
.chord-block {
  transition:
    transform .16s cubic-bezier(.2,.8,.2,1),
    filter .14s ease,
    box-shadow .14s ease,
    opacity .14s ease !important;
}
.chord-block.is-chord-dragging {
  opacity: .72 !important;
  transform: scale(.985) rotate(-.35deg) !important;
  filter: brightness(1.08) !important;
}
.chord-drag-handle {
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease !important;
}
.chord-drag-handle:hover {
  filter: brightness(1.15) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px rgba(219,235,171,.18), 0 2px 4px rgba(0,0,0,.26) !important;
}
.chord-resize {
  overflow: hidden !important;
}
.chord-resize::before,
.chord-resize::after {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: rgba(228, 239, 182, .82) !important;
  font-family: Arial, sans-serif !important;
  font-size: 7px !important;
  line-height: 1 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.45) !important;
  pointer-events: none !important;
}
.chord-resize::before {
  content: '▶' !important;
  top: 8px !important;
}
.chord-resize::after {
  content: '◀' !important;
  bottom: 8px !important;
}
.chord-delete,
.chord-clone {
  font-size: 1rem !important;
  line-height: 18px !important;
}
.chord-root-select,
.chord-quality-select {
  cursor: pointer !important;
}

/* v1.8.0 · gezielte Updates: Header-Login, Logo, Cloud, Lyrics, Timeline, Beat-Uhr */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.brand-block-logo {
  gap: .35rem !important;
  justify-content: center !important;
}
.brand-logo {
  display: block;
  width: clamp(170px, 24vw, 300px);
  max-height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(92, 255, 219, .22));
}
.boot-title img {
  display: block;
  width: min(260px, 72vw);
  margin: 0 auto;
  filter: drop-shadow(0 0 18px rgba(175, 255, 106, .25));
}
.header-account-button {
  min-width: 0 !important;
  padding: .55rem .85rem !important;
  white-space: nowrap;
}
.login-popover {
  position: absolute;
  top: calc(100% + .65rem);
  right: 0;
  z-index: 40;
  width: min(340px, calc(100vw - 2rem));
  padding: .9rem;
  border-radius: 18px;
  background: rgba(9, 12, 18, .96);
  border: 1px solid rgba(180, 255, 210, .24);
  box-shadow: 0 22px 55px rgba(0,0,0,.5), 0 0 26px rgba(86,255,199,.12);
}
.login-popover:not([open]) { display: none; }
.top-actions { position: relative; }
.auth-status-bank .lamp {
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.auth-status-bank .lamp[aria-disabled="true"] { cursor: default; opacity: .55; }
.auth-status-bank .lamp-login span { background: radial-gradient(circle, #fcffb0, #f3a536 62%, #4f2407 100%); }
.auth-status-bank .lamp-logout span { background: radial-gradient(circle, #ffb5bc, #ff3658 62%, #520719 100%); }
.auth-status-bank .lamp-green span { background: radial-gradient(circle, #d4ffd1, #32ff82 62%, #073b1e 100%); }
.auth-status-bank .lamp.is-on span,
.auth-status-bank .lamp-green.is-on span {
  box-shadow: 0 0 18px currentColor, inset 0 0 10px rgba(255,255,255,.35);
}
.beat-dial {
  position: relative !important;
  width: min(280px, 70vw) !important;
  height: min(280px, 70vw) !important;
  margin: 1rem auto !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(241,255,201,.18) 0 17%, transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(8,12,19,.95) 0 58%, rgba(43,61,76,.9) 59% 61%, rgba(5,8,12,.98) 62%),
    conic-gradient(from -90deg, rgba(175,255,106,.22), rgba(73,246,255,.22), rgba(255,75,216,.2), rgba(175,255,106,.22));
  box-shadow: inset 0 0 35px rgba(0,0,0,.78), 0 0 0 1px rgba(220,255,190,.18), 0 18px 45px rgba(0,0,0,.32) !important;
  overflow: hidden;
}
.beat-dial::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(224,255,196,.22);
  pointer-events: none;
}
.beat-arm {
  position: absolute !important;
  left: 50% !important;
  bottom: 50% !important;
  width: 4px !important;
  height: 38% !important;
  transform-origin: 50% 100% !important;
  background: linear-gradient(to top, rgba(255,255,255,.1), #e9ffb3 45%, #49f6ff) !important;
  border-radius: 999px !important;
  box-shadow: 0 0 18px rgba(73,246,255,.45) !important;
}
.beat-core {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 72px !important;
  height: 72px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  font-weight: 900 !important;
  color: #081016 !important;
  background: radial-gradient(circle, #f6ffd7, #a9ff65 62%, #304317 100%) !important;
  box-shadow: 0 0 24px rgba(175,255,106,.42), inset 0 0 12px rgba(0,0,0,.22) !important;
}
.beat-tick,
.beat-number {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: rotate(calc(var(--beat-angle) - 90deg)) translateX(122px) rotate(calc((var(--beat-angle) - 90deg) * -1));
  transform-origin: center;
}
.beat-tick {
  width: 5px;
  height: 24px;
  margin-left: -2.5px;
  margin-top: -12px;
  border-radius: 999px;
  background: rgba(232,255,211,.4);
  box-shadow: 0 0 6px rgba(232,255,211,.2);
}
.beat-tick.is-downbeat { height: 32px; background: rgba(255,236,140,.72); }
.beat-tick.is-on { background: #49f6ff; box-shadow: 0 0 16px rgba(73,246,255,.9); }
.beat-number {
  transform: rotate(calc(var(--beat-angle) - 90deg)) translateX(95px) rotate(calc((var(--beat-angle) - 90deg) * -1));
  min-width: 22px;
  margin-left: -11px;
  margin-top: -11px;
  text-align: center;
  color: rgba(242,255,215,.74);
  font-size: .75rem;
  font-weight: 800;
}
.beat-number.is-on { color: #081016; background: #49f6ff; border-radius: 999px; box-shadow: 0 0 13px rgba(73,246,255,.7); }
.beat-led { font-size: .72rem; text-align: center; }
.lyrics-toolbar-expanded {
  display: grid !important;
  grid-template-columns: minmax(180px, 1fr) repeat(4, auto) minmax(140px, auto);
  gap: .65rem;
  align-items: end;
}
.lyrics-stats {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: .55rem .75rem;
  border-radius: 12px;
  border: 1px solid rgba(219,235,171,.22);
  background: rgba(0,0,0,.22);
  color: #ecffd0;
  font-weight: 700;
}
.lyric-part-card .lyrics-part-actions { flex-wrap: wrap; }
.cloud-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.4fr);
  gap: 1rem;
}
.cloud-pathbar,
.cloud-folder-row,
.cloud-browser-toolbar {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: .85rem;
}
.cloud-pathbar strong {
  padding: .4rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #eaffc8;
}
.cloud-folder-row label,
.cloud-upload-box { flex: 1 1 220px; }
.cloud-share-panel {
  display: grid;
  grid-template-columns: minmax(170px, .8fr) repeat(2, minmax(150px, 1fr)) auto;
  gap: .65rem;
  margin: .8rem 0;
}
.cloud-upload-box {
  display: grid;
  gap: .45rem;
  padding: .9rem;
  border: 1px dashed rgba(73,246,255,.4);
  border-radius: 18px;
  background: rgba(73,246,255,.07);
}
.cloud-progress {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
  margin: .8rem 0;
}
.cloud-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #afff6a, #49f6ff, #ff4bd8);
  transition: width .18s ease;
}
.cloud-browser-split {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(240px, 1fr);
  gap: 1rem;
}
.cloud-browser-split h3 {
  margin: 0 0 .5rem;
  color: #e9ffb3;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .8rem;
}
.cloud-check-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: .6rem;
  align-items: center;
  padding: .55rem .65rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.045);
  margin-bottom: .45rem;
}
.cloud-check-row small { opacity: .72; }
.cloud-check-row.is-folder span::before { content: '📁 '; }
.cloud-folder-up { width: 100%; justify-content: flex-start; cursor: pointer; }
.danger-soft { border-color: rgba(255,72,97,.35) !important; color: #ffd4da !important; }
.timeline-card {
  background: linear-gradient(180deg, rgba(250,248,234,.97), rgba(236,241,228,.94)) !important;
  color: #192027 !important;
  border-color: rgba(255,255,255,.75) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.32) !important;
}
.timeline-card .card-title,
.timeline-card .tone-hint,
.timeline-card label span { color: #25313a !important; }
.timeline-card .timeline-composer textarea,
.timeline-card .timeline-composer select,
.timeline-card .timeline-post,
.timeline-card .timeline-comment-box textarea,
.timeline-card .timeline-edit-box textarea,
.timeline-card .timeline-edit-box select {
  background: rgba(255,255,255,.9) !important;
  color: #151b22 !important;
  border-color: rgba(33,45,56,.22) !important;
}
.timeline-card .timeline-feed {
  position: relative;
  padding-left: 1.1rem;
}
.timeline-card .timeline-feed::before {
  content: '';
  position: absolute;
  left: .35rem;
  top: .35rem;
  bottom: .35rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(#49f6ff, #ff4bd8);
}
.timeline-card .timeline-post {
  position: relative;
  border-radius: 18px !important;
  box-shadow: 0 10px 22px rgba(25,32,39,.08) !important;
}
.timeline-card .timeline-post::before {
  content: '';
  position: absolute;
  left: -1.03rem;
  top: 1.15rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #49f6ff;
  box-shadow: 0 0 0 4px rgba(73,246,255,.2);
}
.timeline-card .metal-button,
.timeline-card .tiny-button {
  color: #17222b !important;
  border-color: rgba(22,34,43,.22) !important;
  background: rgba(255,255,255,.72) !important;
}
@media (max-width: 860px) {
  .lyrics-toolbar-expanded,
  .cloud-layout,
  .cloud-share-panel,
  .cloud-browser-split { grid-template-columns: 1fr; }
  .beat-tick { transform: rotate(calc(var(--beat-angle) - 90deg)) translateX(43vw) rotate(calc((var(--beat-angle) - 90deg) * -1)); }
  .beat-number { transform: rotate(calc(var(--beat-angle) - 90deg)) translateX(33vw) rotate(calc((var(--beat-angle) - 90deg) * -1)); }
}


/* v1.8.2 · Guest-Buttons, Lyrics-Ausbau, Songblatt unter Chordmap */
.top-rail {
  position: relative !important;
  z-index: 160 !important;
  overflow: visible !important;
}
.top-actions {
  position: relative !important;
  z-index: 180 !important;
  overflow: visible !important;
}
.login-popover {
  z-index: 260 !important;
  top: calc(100% + .9rem) !important;
  right: 0 !important;
  background: linear-gradient(180deg, rgba(12,17,20,.98), rgba(6,9,12,.98)) !important;
  backdrop-filter: blur(10px);
}
.instrument-panel { z-index: 5 !important; }
.device-frame[data-active-view="cloud"] .instrument-panel,
.device-frame[data-active-view="social"] .instrument-panel,
.device-frame[data-active-view="account"] .instrument-panel,
.device-frame[data-active-view="bands"] .instrument-panel,
.device-frame[data-active-view="metronome"] .instrument-panel,
.device-frame[data-active-view="chordmap"] .instrument-panel,
.device-frame[data-active-view="lyrics"] .instrument-panel {
  display: none !important;
}
.instrument-panel {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) !important;
}
.hardware-left { display: none !important; }
.brand-block-logo {
  min-width: min(520px, 58vw);
  align-items: flex-start !important;
}
.brand-logo {
  width: clamp(230px, 38vw, 520px) !important;
  max-height: 145px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: drop-shadow(0 0 12px rgba(255,255,255,.16)) drop-shadow(0 8px 16px rgba(0,0,0,.42)) !important;
}
.boot-title img {
  width: min(460px, 84vw) !important;
  filter: drop-shadow(0 0 18px rgba(255,255,255,.2)) !important;
}

/* Social Timeline: helles, klares Feed-Design wie moderne Social Feeds */
.timeline-card {
  background: linear-gradient(180deg, #f7f8f4, #e9efe4) !important;
  color: #17202a !important;
  border-color: rgba(255,255,255,.92) !important;
}
.timeline-card .card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111827 !important;
  font-size: .95rem;
}
.timeline-card .timeline-switch {
  padding: 6px;
  border-radius: 999px;
  background: rgba(17,24,39,.07);
  border: 1px solid rgba(17,24,39,.08);
}
.timeline-card .timeline-switch .metal-button {
  min-height: 36px;
  border-radius: 999px !important;
  box-shadow: none !important;
}
.timeline-card .timeline-switch .is-active {
  background: #ffffff !important;
  color: #111827 !important;
  box-shadow: 0 8px 18px rgba(17,24,39,.13) !important;
}
.timeline-card .timeline-composer {
  border: 1px solid rgba(17,24,39,.1) !important;
  background: #ffffff !important;
  border-radius: 22px !important;
  padding: 14px !important;
  box-shadow: 0 12px 30px rgba(17,24,39,.09) !important;
}
.timeline-card .timeline-composer textarea {
  min-height: 104px !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
  box-shadow: inset 0 1px 2px rgba(17,24,39,.05) !important;
}
.timeline-card .timeline-feed {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  max-width: 820px;
  margin: 18px auto 0 !important;
  padding: 0 0 0 22px !important;
}
.timeline-card .timeline-feed::before {
  left: 7px !important;
  width: 2px !important;
  background: linear-gradient(180deg, #60a5fa, #a78bfa, #f472b6) !important;
  opacity: .65;
}
.timeline-card .timeline-item {
  position: relative;
  display: grid !important;
  gap: 12px !important;
  padding: 16px !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  color: #17202a !important;
  box-shadow: 0 16px 42px rgba(15,23,42,.11) !important;
  overflow: visible !important;
}
.timeline-card .timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 28px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 0 5px rgba(96,165,250,.18), 0 0 18px rgba(96,165,250,.45);
}
.timeline-card .timeline-item-head {
  align-items: center !important;
  gap: 11px !important;
}
.timeline-card .timeline-item-head .user-avatar {
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  flex-basis: 50px !important;
  color: #111827 !important;
  background: linear-gradient(135deg, #e0f2fe, #fef3c7) !important;
  border: 3px solid #fff !important;
  box-shadow: 0 7px 18px rgba(15,23,42,.16) !important;
}
.timeline-card .timeline-item-head strong {
  font-family: "Rajdhani", system-ui, sans-serif !important;
  font-size: 1.08rem !important;
  letter-spacing: .01em !important;
  color: #0f172a !important;
}
.timeline-card .timeline-item-head span {
  color: #64748b !important;
  font-size: .86rem !important;
}
.timeline-card .timeline-post-text,
.timeline-card .timeline-item p {
  color: #1f2937 !important;
  line-height: 1.55 !important;
  font-size: 1rem !important;
}
.timeline-card .timeline-content.has-attachment {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) !important;
  gap: 14px !important;
}
.timeline-card .attachment-card,
.timeline-card .link-preview-card {
  background: #f8fafc !important;
  color: #17202a !important;
  border-color: rgba(15,23,42,.1) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}
.timeline-card .timeline-actions {
  padding-top: 2px;
}
.timeline-card .timeline-actions .tiny-button,
.timeline-card .comment-actions .tiny-button,
.timeline-card .comment-row .tiny-button,
.timeline-card .timeline-manage .tiny-button {
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: rgba(15,23,42,.1) !important;
}
.timeline-card .timeline-actions .tiny-button:hover,
.timeline-card .comment-row .tiny-button:hover {
  background: #e0f2fe !important;
}
.timeline-card .timeline-comments {
  border-top: 1px solid rgba(15,23,42,.08) !important;
  background: #f8fafc !important;
  border-radius: 18px !important;
  padding: 10px !important;
}
.timeline-card .timeline-comment {
  color: #1f2937 !important;
  border-left-color: rgba(96,165,250,.35) !important;
}
.timeline-card .comment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 8px;
}
.timeline-card .comment-row input {
  border-radius: 999px !important;
  background: #fff !important;
  color: #0f172a !important;
  border-color: rgba(15,23,42,.1) !important;
}
.timeline-card .tone-hint,
.timeline-card label span,
.timeline-card .account-status { color: #475569 !important; }

/* Lyrics Ausbau */
.lyrics-toolbar-expanded {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
}
.lyrics-helper-strip {
  margin: .75rem 0 1rem;
  padding: .7rem .85rem;
  border-radius: 14px;
  color: #eaf8c8;
  border: 1px solid rgba(219,235,171,.18);
  background: rgba(0,0,0,.2);
}
.lyrics-sheet-panel {
  margin-top: 1rem;
  border: 1px solid rgba(219,235,171,.18);
  border-radius: 18px;
  background: rgba(0,0,0,.22);
  overflow: hidden;
}
.lyrics-sheet-panel summary {
  cursor: pointer;
  padding: .8rem 1rem;
  color: #ecffd0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lyrics-sheet-panel pre {
  margin: 0;
  padding: 1rem;
  max-height: 360px;
  overflow: auto;
  color: #f4ffe0;
  background: rgba(5,8,4,.38);
  white-space: pre-wrap;
  line-height: 1.45;
}
@media (max-width: 760px) {
  .instrument-panel { grid-template-columns: 1fr !important; }
  .brand-block-logo { min-width: 0; }
  .brand-logo { width: min(78vw, 430px) !important; }
  .timeline-card .timeline-content.has-attachment { grid-template-columns: 1fr !important; }
}


/* v1.8.2 · Lyrics und Songblatt */
.device-frame[data-active-view="social"] .global-song-bar {
  display: none !important;
}
.chord-song-sheet-card {
  grid-column: 1 / -1;
}
.song-sheet-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}
.song-sheet-card pre,
.chord-song-sheet-card pre {
  margin: 0;
  padding: 16px;
  min-height: 220px;
  max-height: 460px;
  overflow: auto;
  border-radius: 16px;
  color: #f4ffe0;
  background: rgba(5,8,4,.52);
  border: 1px solid rgba(219,235,171,.16);
  white-space: pre-wrap;
  line-height: 1.45;
  font-family: 'Share Tech Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}
.lyrics-notes-panel {
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(219,235,171,.18);
  background: linear-gradient(180deg, rgba(21,30,14,.58), rgba(6,10,4,.34));
}
.lyrics-notes-panel label {
  display: grid;
  gap: 8px;
}
.lyrics-notes-panel textarea {
  width: 100%;
  resize: vertical;
  min-height: 120px;
  border-radius: 14px;
  border: 1px solid rgba(213,228,166,.32);
  background: rgba(8,12,6,.74);
  color: var(--cream);
  padding: 14px;
  line-height: 1.45;
}
.lyric-part-card.is-active {
  box-shadow: 0 0 0 2px rgba(202,232,149,.28), inset 0 0 22px rgba(202,232,149,.08);
}

/* v1.8.3 · Logo-Fit, Cloud/Social/Chord-Tuning */
.boot-card {
  width: min(640px, calc(100vw - 40px)) !important;
  padding: clamp(24px, 3vw, 38px) !important;
}
.boot-title img {
  width: min(520px, 86vw) !important;
  max-height: 230px !important;
  object-fit: contain !important;
}
.brand-block-logo {
  min-width: min(500px, 54vw) !important;
  justify-content: flex-start !important;
}
.brand-logo {
  width: clamp(260px, 34vw, 500px) !important;
  max-height: 156px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.guest-login-button {
  color: #111a10 !important;
  background: linear-gradient(180deg, #d8ef9b, #91b869) !important;
  border-color: rgba(255,255,255,.25) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px rgba(0,0,0,.26) !important;
}
.chord-tuning-compact select {
  min-width: 180px;
  max-width: 260px;
}
.cloud-layout {
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}
.cloud-control-card,
.cloud-browser-card {
  width: 100% !important;
  max-width: none !important;
}
.cloud-control-card {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr);
  gap: 1rem;
  align-items: start;
}
.cloud-control-card .card-title,
.cloud-control-card .cloud-pathbar,
.cloud-control-card .cloud-folder-row,
.cloud-control-card .cloud-upload-box,
.cloud-control-card .cloud-progress,
.cloud-control-card .account-status {
  grid-column: 1;
}
.cloud-control-card .cloud-share-panel {
  grid-column: 2;
  grid-row: 2 / span 5;
}
.cloud-pathbar,
.cloud-folder-row,
.cloud-browser-toolbar {
  margin-bottom: .7rem !important;
}
.cloud-share-panel {
  grid-template-columns: minmax(170px, .7fr) minmax(220px, 1fr) minmax(220px, 1fr) auto !important;
  align-items: end;
  min-width: 0;
}
.cloud-share-panel select[multiple] {
  min-height: 132px;
  width: 100%;
}
.cloud-upload-box {
  min-height: 92px;
  align-content: center;
}
.cloud-browser-split {
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr) !important;
}
.cloud-list {
  min-height: 140px;
  border-radius: 18px;
  background: rgba(0,0,0,.18);
  padding: 10px;
}
.cloud-check-row {
  grid-template-columns: auto minmax(0, 1fr) auto auto !important;
  background: rgba(235,246,202,.08) !important;
  border-color: rgba(233,255,179,.18) !important;
}
.timeline-card {
  background: linear-gradient(180deg, #ffffff, #eef4ff) !important;
  color: #0b1220 !important;
  border: 1px solid rgba(255,255,255,.95) !important;
  box-shadow: 0 22px 62px rgba(0,0,0,.42), inset 0 0 0 1px rgba(15,23,42,.05) !important;
}
.timeline-card .card-title,
.timeline-card .timeline-item-head strong,
.timeline-card .timeline-post-text,
.timeline-card .timeline-item p {
  color: #08111f !important;
}
.timeline-card .tone-hint,
.timeline-card label span,
.timeline-card .timeline-item-head span,
.timeline-card .account-status {
  color: #334155 !important;
}
.timeline-card .timeline-composer,
.timeline-card .timeline-item {
  border-color: rgba(15,23,42,.18) !important;
  box-shadow: 0 18px 44px rgba(15,23,42,.18) !important;
}
.timeline-card .timeline-switch {
  background: #dbeafe !important;
  border-color: rgba(37,99,235,.18) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75) !important;
}
.timeline-card .timeline-switch .metal-button {
  color: #1e3a8a !important;
  background: transparent !important;
  border-color: transparent !important;
}
.timeline-card .timeline-switch .is-active {
  background: linear-gradient(180deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(37,99,235,.32) !important;
}
.timeline-card .timeline-feed::before {
  background: linear-gradient(180deg, #1d4ed8, #7c3aed, #db2777) !important;
  opacity: .95 !important;
}
.timeline-card .timeline-item::before,
.timeline-card .timeline-post::before {
  background: #1d4ed8 !important;
  box-shadow: 0 0 0 5px rgba(29,78,216,.2), 0 0 18px rgba(29,78,216,.62) !important;
}
body[data-social-mode="list"] .timeline-card {
  margin-bottom: 1rem;
}
body[data-social-mode="list"] .timeline-card .timeline-switch {
  margin-bottom: 0;
}
.social-list-mode-only {
  background: linear-gradient(180deg, #ffffff, #f1f5f9) !important;
  color: #0f172a !important;
  border-color: rgba(255,255,255,.92) !important;
  box-shadow: 0 16px 42px rgba(0,0,0,.28) !important;
}
.social-list-mode-only .card-title,
.social-list-mode-only strong,
.social-list-mode-only label span {
  color: #0f172a !important;
}
.social-list-mode-only .tone-hint,
.social-list-mode-only p,
.social-list-mode-only span,
.social-list-mode-only small {
  color: #334155 !important;
}
.social-list-mode-only input,
.social-list-mode-only textarea,
.social-list-mode-only select {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(15,23,42,.18) !important;
}
.social-list-mode-only .metal-button,
.social-list-mode-only .tiny-button {
  background: linear-gradient(180deg, #e0f2fe, #bfdbfe) !important;
  color: #0f172a !important;
  border-color: rgba(37,99,235,.22) !important;
}
.friend-social-card,
.discover-card,
.profile-preview-card,
.shared-song-card {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15,23,42,.12) !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 28px rgba(15,23,42,.12) !important;
}
.friend-social-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 54%, #eef6ff 100%) !important;
}
.friend-social-avatar {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  border: 3px solid #fff !important;
  background-color: #bfdbfe !important;
  color: #1e3a8a !important;
  box-shadow: 0 10px 24px rgba(37,99,235,.18) !important;
}
.friend-social-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.friend-social-body strong {
  font-size: 1.1rem;
}
.friend-social-body p {
  margin: 5px 0 8px;
}
.friend-social-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.social-lists {
  gap: 1rem !important;
}
@media (max-width: 920px) {
  .cloud-control-card,
  .cloud-share-panel,
  .cloud-browser-split {
    grid-template-columns: 1fr !important;
  }
  .cloud-control-card .card-title,
  .cloud-control-card .cloud-pathbar,
  .cloud-control-card .cloud-folder-row,
  .cloud-control-card .cloud-upload-box,
  .cloud-control-card .cloud-progress,
  .cloud-control-card .account-status,
  .cloud-control-card .cloud-share-panel {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .brand-block-logo { min-width: 0 !important; }
  .brand-logo { width: min(78vw, 430px) !important; }
}

/* v1.8.4 · Ordnerfreigabe, Social-Grün, kompakte Chordmap */
.chord-toolbar {
  grid-template-columns: minmax(78px, .55fr) minmax(90px, .65fr) minmax(155px, .95fr) minmax(92px, .6fr) minmax(135px, .82fr) minmax(104px, .72fr) !important;
  gap: 10px !important;
  align-items: end !important;
}
.chord-toolbar label:first-child { grid-column: auto !important; }
.chord-toolbar label { min-width: 0 !important; }
.chord-toolbar label span { white-space: nowrap; }
.chord-toolbar input,
.chord-toolbar select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding-inline: 14px !important;
}
.chord-tuning-compact select {
  min-width: 0 !important;
  max-width: 100% !important;
}
@media (max-width: 1100px) {
  .chord-toolbar { grid-template-columns: repeat(3, minmax(130px, 1fr)) !important; }
}
@media (max-width: 720px) {
  .chord-toolbar { grid-template-columns: 1fr !important; }
}

.cloud-share-panel {
  grid-template-columns: minmax(170px, .78fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(150px, .7fr) auto !important;
}
.cloud-recursive-toggle {
  align-self: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(210, 236, 157, .24);
  background: rgba(204, 237, 143, .08);
}
.cloud-recursive-toggle span { color: #e7f9c6 !important; }
.cloud-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}
.cloud-share-actions .metal-button { min-height: 42px; }
.cloud-check-row small {
  color: rgba(231,249,198,.86) !important;
}
.cloud-check-row.is-folder {
  border-color: rgba(186, 225, 117, .34) !important;
  background: linear-gradient(180deg, rgba(186,225,117,.15), rgba(25,35,17,.34)) !important;
}

.timeline-card {
  background: linear-gradient(180deg, #fbfff3, #e8f0dc) !important;
  color: #102014 !important;
  border-color: rgba(223, 238, 183, .98) !important;
}
.timeline-card .card-title {
  color: #0f2616 !important;
}
.timeline-card .timeline-switch {
  background: #dcebc6 !important;
  border-color: rgba(79, 111, 48, .24) !important;
}
.timeline-card .timeline-switch .metal-button {
  color: #28431d !important;
}
.timeline-card .timeline-switch .is-active {
  background: linear-gradient(180deg, #bfe080, #779d4b) !important;
  color: #102014 !important;
  box-shadow: 0 10px 24px rgba(80, 118, 48, .28) !important;
}
.timeline-card .timeline-composer {
  background: #ffffff !important;
  border-color: rgba(90, 128, 55, .20) !important;
  box-shadow: 0 16px 36px rgba(39, 65, 28, .16) !important;
}
.timeline-card .timeline-composer textarea,
.timeline-card .timeline-composer select,
.timeline-card .timeline-composer input {
  background: #f5f9ef !important;
  color: #102014 !important;
  border-color: rgba(95, 128, 62, .22) !important;
}
.timeline-card .timeline-feed::before {
  background: linear-gradient(180deg, #c5e77d, #6f9c45, #315f2b) !important;
  opacity: 1 !important;
}
.timeline-card .timeline-item {
  background: #ffffff !important;
  color: #102014 !important;
  border-color: rgba(84, 121, 52, .22) !important;
  box-shadow: 0 16px 42px rgba(27, 49, 20, .15) !important;
}
.timeline-card .timeline-item::before,
.timeline-card .timeline-post::before {
  background: #8fbd57 !important;
  box-shadow: 0 0 0 5px rgba(143,189,87,.22), 0 0 18px rgba(82,128,47,.55) !important;
}
.timeline-card .timeline-item-head {
  margin: -6px -6px 2px;
  padding: 9px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #eff8df, #dcecc8) !important;
  border: 1px solid rgba(82, 122, 49, .16);
}
.timeline-card .timeline-item-head .user-avatar {
  background: linear-gradient(135deg, #e7f7c7, #b7d57a) !important;
  color: #18310f !important;
  box-shadow: 0 7px 18px rgba(67, 103, 40, .18) !important;
}
.timeline-card .timeline-item-head strong,
.timeline-card .timeline-post-text,
.timeline-card .timeline-item p {
  color: #102014 !important;
}
.timeline-card .timeline-item-head span,
.timeline-card .tone-hint,
.timeline-card label span,
.timeline-card .account-status {
  color: #40543a !important;
}
.timeline-card .timeline-actions .tiny-button,
.timeline-card .comment-actions .tiny-button,
.timeline-card .comment-row .tiny-button,
.timeline-card .timeline-manage .tiny-button {
  background: #edf7df !important;
  color: #17310f !important;
  border-color: rgba(84, 121, 52, .22) !important;
}
.timeline-card .timeline-actions .tiny-button:hover,
.timeline-card .comment-row .tiny-button:hover {
  background: #d8efbb !important;
}
.timeline-card .timeline-comments {
  background: #f6faef !important;
  border-color: rgba(84, 121, 52, .14) !important;
}
.timeline-card .timeline-comment {
  color: #102014 !important;
  border-left-color: rgba(116, 158, 70, .48) !important;
}
.timeline-card .timeline-item p a,
.timeline-card .timeline-comment a {
  color: #2f6b2f !important;
  font-weight: 700;
}
.timeline-card .attachment-card,
.timeline-card .link-preview-card {
  background: #f6faef !important;
  border-color: rgba(84, 121, 52, .18) !important;
}

.social-list-mode-only {
  background: linear-gradient(180deg, #fbfff3, #edf5e4) !important;
  color: #102014 !important;
  border-color: rgba(223, 238, 183, .95) !important;
}
.social-list-mode-only .card-title,
.social-list-mode-only strong,
.social-list-mode-only label span {
  color: #0f2616 !important;
}
.social-list-mode-only .tone-hint,
.social-list-mode-only p,
.social-list-mode-only span,
.social-list-mode-only small {
  color: #40543a !important;
}
.social-list-mode-only input,
.social-list-mode-only textarea,
.social-list-mode-only select {
  background: #ffffff !important;
  color: #102014 !important;
  border-color: rgba(84, 121, 52, .22) !important;
}
.social-list-mode-only .metal-button,
.social-list-mode-only .tiny-button {
  background: linear-gradient(180deg, #e7f7c7, #b8d977) !important;
  color: #17310f !important;
  border-color: rgba(84,121,52,.22) !important;
}
.friend-social-card,
.discover-card,
.profile-preview-card,
.shared-song-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbf2 58%, #edf6e1 100%) !important;
  color: #102014 !important;
  border-color: rgba(84, 121, 52, .18) !important;
  box-shadow: 0 12px 28px rgba(27,49,20,.13) !important;
}
.friend-social-avatar {
  background-color: #bddf7a !important;
  color: #17310f !important;
  box-shadow: 0 10px 24px rgba(84,121,52,.2) !important;
}
@media (max-width: 920px) {
  .cloud-share-panel { grid-template-columns: 1fr !important; }
}
.timeline-song_share { border-color: rgba(116, 158, 70, .32) !important; }
.timeline-item p a,
.timeline-comment a { color: #2f6b2f !important; }

/* v1.8.5 · Impulslauf, Akkord-Half/Doubletime, sofortige Cloud-Freigaben */
.chord-toolbar {
  grid-template-columns: minmax(72px,.45fr) minmax(86px,.55fr) minmax(150px,.92fr) minmax(82px,.48fr) minmax(128px,.72fr) minmax(150px,.74fr) minmax(96px,.58fr) minmax(116px,.68fr) !important;
  gap: 9px !important;
}
.chord-time-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 7px;
  align-self: end;
  min-width: 0;
  min-height: 52px;
  padding: 7px 9px;
  border: 1px solid rgba(210,236,157,.22);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(214,239,160,.13), rgba(8,12,6,.22));
  box-shadow: inset 0 0 14px rgba(0,0,0,.2);
}
.chord-time-toggles > span {
  grid-column: 1 / -1;
  color: #c8d7aa;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.chord-time-toggles .checkbox-line {
  min-height: 24px;
  padding: 3px 4px;
  gap: 5px;
  border-radius: 9px;
  background: rgba(0,0,0,.16);
}
.chord-time-toggles .checkbox-line input {
  width: auto !important;
  min-width: 0 !important;
}
.chord-time-toggles .checkbox-line b {
  color: #f0ffd4;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}
.cloud-check-row {
  grid-template-columns: auto minmax(0, 1fr) minmax(110px, auto) minmax(112px, auto) !important;
  align-items: center !important;
  gap: 8px !important;
}
.cloud-share-inline {
  width: 116px !important;
  min-width: 106px !important;
  min-height: 32px !important;
  padding: 5px 8px !important;
  border-radius: 10px !important;
  border-color: rgba(199,232,132,.34) !important;
  color: #12210e !important;
  background: linear-gradient(180deg, #eef7d2, #a9c887) !important;
  font-size: .76rem !important;
  letter-spacing: .02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 3px 8px rgba(0,0,0,.18) !important;
}
.cloud-share-inline:focus {
  outline: 2px solid rgba(185,224,111,.68);
  outline-offset: 2px;
}
.cloud-share-panel::before {
  content: 'Freigabe: Auswahl anhaken oder direkt am Eintrag ändern. Änderungen werden sofort gespeichert.';
  grid-column: 1 / -1;
  color: #e8f9c4;
  font-size: .74rem;
  letter-spacing: .04em;
  opacity: .92;
}
.cloud-share-actions .metal-button::after {
  content: '';
}
@media (max-width: 1220px) {
  .chord-toolbar { grid-template-columns: repeat(4, minmax(118px, 1fr)) !important; }
}
@media (max-width: 740px) {
  .chord-toolbar { grid-template-columns: 1fr 1fr !important; }
  .chord-time-toggles { grid-column: 1 / -1; }
  .cloud-check-row { grid-template-columns: auto minmax(0, 1fr) !important; }
  .cloud-check-row small,
  .cloud-share-inline { grid-column: 2; width: 100% !important; }
}


/* v1.8.6 · Akkord-Tempo als klare Normal/Halftime/Doubletime-Auswahl */
.chord-toolbar {
  grid-template-columns: minmax(68px,.42fr) minmax(78px,.48fr) minmax(132px,.8fr) minmax(78px,.46fr) minmax(118px,.65fr) minmax(190px,1.02fr) minmax(94px,.55fr) minmax(118px,.66fr) !important;
  align-items: end !important;
}
.chord-time-mode {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 5px;
  align-self: end;
  min-width: 0;
  min-height: 76px;
  padding: 8px;
  border: 1px solid rgba(210,236,157,.26);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(198,226,134,.16), rgba(9,15,7,.28));
  box-shadow: inset 0 0 18px rgba(0,0,0,.24), 0 10px 22px rgba(0,0,0,.16);
}
.chord-time-title {
  color: #d9eabe;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.chord-time-segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 13px;
  background: rgba(4,8,3,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 16px rgba(0,0,0,.34);
}
.chord-time-segments label {
  min-width: 0;
  margin: 0;
}
.chord-time-segments input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px;
}
.chord-time-segments span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 30px;
  padding: 0 7px;
  border-radius: 10px;
  color: #e7f5ce;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(0,0,0,.2));
  border: 1px solid rgba(210,236,157,.08);
  transition: transform .12s ease, background .12s ease, color .12s ease, box-shadow .12s ease;
}
.chord-time-segments input:checked + span {
  color: #17230d;
  background: linear-gradient(180deg, #e7ffb7 0%, #b5dd66 62%, #7ea43c 100%);
  border-color: rgba(236,255,184,.72);
  box-shadow: 0 0 0 1px rgba(24,36,12,.32), 0 8px 18px rgba(159,203,85,.22), inset 0 1px 0 rgba(255,255,255,.45);
}
.chord-time-segments input:focus-visible + span {
  outline: 2px solid rgba(232,255,179,.8);
  outline-offset: 2px;
}
.chord-time-segments span:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(229,255,173,.2), rgba(0,0,0,.12));
}
.chord-time-mode small {
  color: rgba(217,234,190,.72);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1180px) {
  .chord-toolbar {
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  }
  .chord-time-mode {
    grid-column: span 2;
  }
}
@media (max-width: 720px) {
  .chord-toolbar {
    grid-template-columns: 1fr 1fr !important;
  }
  .chord-time-mode {
    grid-column: 1 / -1;
  }
}

/* v1.8.7 · Chordkarte im Stopp-/Edit-Modus deutlicher markiert */
.chord-block.is-edit-selected {
  outline: 2px solid rgba(236, 255, 157, .95) !important;
  outline-offset: 2px !important;
  border-color: rgba(255, 255, 218, .96) !important;
  filter: brightness(1.08) saturate(1.08) !important;
  box-shadow:
    0 0 0 3px rgba(62, 89, 31, .56),
    0 0 18px rgba(205, 244, 117, .42),
    0 7px 16px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.24) !important;
}
.chord-block.is-edit-selected .chord-drag-handle {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    0 0 0 1px rgba(236, 255, 157, .56),
    0 0 10px rgba(205, 244, 117, .32) !important;
}


/* v1.8.8 · Akkord-Tempo flacher und sauber in die Chordmap integriert */
.chord-toolbar {
  grid-template-columns: minmax(78px,.5fr) minmax(104px,.66fr) minmax(190px,1.05fr) minmax(88px,.54fr) minmax(154px,.85fr) minmax(272px,1.34fr) minmax(116px,.64fr) minmax(154px,.86fr) !important;
  gap: 10px !important;
  align-items: end !important;
}
.chord-time-mode {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end;
  gap: 5px !important;
  align-self: end !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.chord-time-title {
  padding-left: 2px;
  color: #cbd9a8 !important;
  font-size: .73rem !important;
  font-weight: 800 !important;
  line-height: 1.05;
  letter-spacing: .07em !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.55);
}
.chord-time-segments {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 3px !important;
  height: 52px;
  padding: 5px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(230, 247, 195, .28) !important;
  background:
    linear-gradient(180deg, rgba(229,242,205,.22), rgba(8,13,7,.58)),
    radial-gradient(circle at 50% 0%, rgba(210,238,140,.15), transparent 62%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    inset 0 -12px 22px rgba(0,0,0,.24),
    0 7px 16px rgba(0,0,0,.2) !important;
}
.chord-time-segments label {
  height: 100%;
}
.chord-time-segments span {
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 5px !important;
  border-radius: 8px !important;
  color: rgba(235, 248, 211, .78) !important;
  font-size: .66rem !important;
  font-weight: 900 !important;
  letter-spacing: .025em !important;
  background: linear-gradient(180deg, rgba(22, 32, 15, .72), rgba(5, 8, 4, .52)) !important;
  border: 1px solid rgba(221, 244, 180, .09) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}
.chord-time-segments input:checked + span {
  color: #17250c !important;
  background: linear-gradient(180deg, #f0ffc0 0%, #c6eb72 58%, #86b144 100%) !important;
  border-color: rgba(243,255,192,.76) !important;
  box-shadow:
    0 0 0 1px rgba(20,31,10,.26),
    0 0 14px rgba(183,222,91,.36),
    inset 0 1px 0 rgba(255,255,255,.52),
    inset 0 -9px 14px rgba(72,102,30,.18) !important;
}
.chord-time-segments span:hover {
  transform: none !important;
  color: #f5ffd9 !important;
  border-color: rgba(226,248,178,.22) !important;
  background: linear-gradient(180deg, rgba(42, 59, 24, .9), rgba(10, 17, 7, .64)) !important;
}
.chord-time-segments input:checked + span:hover {
  color: #17250c !important;
  background: linear-gradient(180deg, #f0ffc0 0%, #c6eb72 58%, #86b144 100%) !important;
}
.chord-time-mode small {
  max-width: 100%;
  padding-left: 2px;
  color: rgba(210, 226, 178, .68) !important;
  font-size: .58rem !important;
  font-weight: 800 !important;
  line-height: 1.05;
  letter-spacing: .03em !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1180px) {
  .chord-toolbar { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }
  .chord-time-mode { grid-column: span 2; }
}
@media (max-width: 720px) {
  .chord-toolbar { grid-template-columns: 1fr 1fr !important; }
  .chord-time-mode { grid-column: 1 / -1; }
}

/* v1.8.9 · Chordmap zweizeilig sauber + echter Mobile-Pass */
.chord-toolbar-split {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  align-items: stretch !important;
}
.chord-toolbar-split > .chord-toolbar-row {
  display: grid !important;
  gap: 12px !important;
  align-items: end !important;
  min-width: 0 !important;
}
.chord-main-settings {
  grid-template-columns: minmax(82px,.52fr) minmax(116px,.72fr) minmax(210px,1.55fr) minmax(96px,.62fr) minmax(190px,1.1fr) !important;
}
.chord-performance-settings {
  grid-template-columns: minmax(330px,1.65fr) minmax(128px,.62fr) minmax(200px,1fr) minmax(160px,.72fr) minmax(128px,.62fr) !important;
  padding-top: 10px;
  border-top: 1px solid rgba(222, 242, 177, .13);
}
.chord-toolbar-split label,
.chord-toolbar-split input,
.chord-toolbar-split select {
  min-width: 0 !important;
  max-width: none !important;
}
.chord-toolbar-split > .chord-toolbar-row > label:first-child {
  grid-column: auto !important;
}
.chord-toolbar-split .chord-tuning-compact select,
.chord-toolbar-split #rhythmSelect,
.chord-toolbar-split #chordDrumPatternSelect {
  text-overflow: ellipsis;
}
.chord-toolbar-split .chord-time-mode {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 6px !important;
  align-self: end !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.chord-toolbar-split .chord-time-title {
  padding-left: 2px !important;
  color: #d6e6b5 !important;
  font-size: .72rem !important;
  line-height: 1 !important;
  letter-spacing: .075em !important;
}
.chord-toolbar-split .chord-time-segments {
  height: 54px !important;
  border-radius: 14px !important;
  padding: 5px !important;
  background:
    linear-gradient(180deg, rgba(211,232,172,.21), rgba(10,16,7,.56)),
    radial-gradient(circle at 20% 0%, rgba(240,255,196,.16), transparent 58%) !important;
}
.chord-toolbar-split .chord-time-mode small {
  color: rgba(220, 237, 190, .72) !important;
  font-size: .58rem !important;
}
.chord-playbar {
  display: grid !important;
  grid-template-columns: auto auto auto minmax(240px, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 18px !important;
}
.chord-playbar .chord-status {
  min-width: 0 !important;
  width: 100% !important;
}
.chord-block { touch-action: manipulation; }
.chord-section.is-drop-before { box-shadow: inset 0 5px 0 #d8f598, 0 0 18px rgba(193,231,121,.22) !important; }
.chord-section.is-drop-after { box-shadow: inset 0 -5px 0 #d8f598, 0 0 18px rgba(193,231,121,.22) !important; }
@media (max-width: 1180px) {
  .chord-main-settings { grid-template-columns: repeat(3, minmax(140px, 1fr)) !important; }
  .chord-performance-settings { grid-template-columns: repeat(3, minmax(150px, 1fr)) !important; }
  .chord-performance-settings .chord-time-mode { grid-column: span 2 !important; }
  .chord-playbar { grid-template-columns: auto auto auto 1fr !important; }
}
@media (max-width: 820px) {
  .chord-main-settings,
  .chord-performance-settings { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .chord-main-settings .chord-tuning-compact,
  .chord-main-settings label:last-child,
  .chord-performance-settings .chord-time-mode,
  .chord-performance-settings label:nth-child(3) { grid-column: 1 / -1 !important; }
  .chord-performance-settings label:last-child { grid-column: 1 / -1 !important; }
  .chord-playbar { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .chord-playbar .player-button { width: 100% !important; min-width: 0 !important; }
  .chord-playbar .chord-status { grid-column: 1 / -1 !important; }
}
@media (max-width: 760px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden !important; }
  .app-shell {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 2px !important;
  }
  .device-frame {
    width: 100% !important;
    min-height: calc(100vh - 4px) !important;
    padding: 9px 5px 12px !important;
    border-radius: 15px !important;
    overflow: visible !important;
  }
  .device-frame::before { inset: 4px !important; border-radius: 11px !important; }
  .view-panel { margin-top: 10px !important; }
  .field-card {
    padding: 11px 7px !important;
    border-radius: 15px !important;
  }
  .card-title { font-size: .92rem !important; letter-spacing: .11em !important; }
  .brand-block-logo { min-width: 0 !important; width: 100% !important; }
  .brand-logo { width: min(72vw, 360px) !important; max-height: 112px !important; }
  .top-actions { position: relative !important; z-index: 520 !important; }
  .login-popover {
    position: fixed !important;
    top: max(8px, env(safe-area-inset-top)) !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 16px) !important;
    overflow: auto !important;
    z-index: 9999 !important;
    transform: none !important;
  }
  .login-popover input,
  .login-popover button { width: 100% !important; }
  .module-nav { gap: 6px !important; padding: 6px !important; }
  .module-btn { flex: 1 1 calc(50% - 6px) !important; min-width: 0 !important; padding-inline: 6px !important; font-size: .85rem !important; }
  .global-song-bar { padding: 10px !important; }
  .chordmap-card { padding-top: 13px !important; }
  .chord-toolbar-split { gap: 11px !important; }
  .chord-toolbar-split > .chord-toolbar-row { gap: 9px !important; }
  .chord-main-settings,
  .chord-performance-settings { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .chord-main-settings .chord-tuning-compact,
  .chord-main-settings label:last-child,
  .chord-performance-settings .chord-time-mode,
  .chord-performance-settings label:nth-child(3) { grid-column: 1 / -1 !important; }
  .chord-toolbar-split label span,
  .chord-toolbar-split .chord-time-title { font-size: .68rem !important; }
  .chord-toolbar-split input,
  .chord-toolbar-split select { min-height: 46px !important; padding-inline: 10px !important; font-size: .98rem !important; }
  .chord-toolbar-split .chord-time-segments { height: 46px !important; padding: 4px !important; }
  .chord-toolbar-split .chord-time-segments span { font-size: .61rem !important; padding-inline: 2px !important; }
  .chord-toolbar-split .chord-time-mode small { white-space: normal !important; }
  .chord-playbar { grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; width: 100% !important; }
  .chord-playbar #playSongStart,
  .chord-playbar #stopChordmap { grid-column: 1 / -1 !important; width: 100% !important; }
  .chord-playbar .chord-status { grid-column: 1 / -1 !important; min-height: 46px !important; padding: 12px !important; font-size: .86rem !important; }
  .song-share-strip { padding: 11px 8px !important; }
  .share-main-row { grid-template-columns: 1fr !important; gap: 10px !important; }
  .share-main-row .metal-button { min-height: 48px !important; }
  .cloud-layout,
  .cloud-control-card,
  .cloud-browser-card,
  .cloud-browser-split,
  .cloud-share-panel,
  .cloud-folder-row,
  .cloud-browser-toolbar { grid-template-columns: 1fr !important; }
  .cloud-check-row { align-items: start !important; gap: 8px !important; }
  .cloud-share-inline { grid-template-columns: 1fr !important; }
  #view-social.view-panel { margin-left: -2px !important; margin-right: -2px !important; }
  .social-hub-layout { gap: 10px !important; }
  .timeline-card {
    padding: 10px 5px !important;
    border-radius: 13px !important;
    overflow: visible !important;
  }
  .timeline-card .timeline-switch {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding: 4px !important;
    border-radius: 15px !important;
  }
  .timeline-card .timeline-switch .metal-button {
    min-width: 0 !important;
    padding: 9px 4px !important;
    font-size: .68rem !important;
    letter-spacing: .045em !important;
  }
  .timeline-card .timeline-composer { padding: 8px !important; border-radius: 13px !important; }
  .timeline-card .timeline-composer-row { grid-template-columns: 1fr !important; }
  .timeline-card .timeline-feed {
    max-width: none !important;
    width: 100% !important;
    gap: 10px !important;
    margin-top: 10px !important;
    padding-left: 0 !important;
  }
  .timeline-card .timeline-feed::before,
  .timeline-card .timeline-item::before,
  .timeline-card .timeline-post::before { display: none !important; }
  .timeline-card .timeline-item {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding: 10px !important;
    border-radius: 14px !important;
  }
  .timeline-card .timeline-item-head { margin: -3px -3px 2px !important; padding: 8px !important; border-radius: 12px !important; }
  .timeline-card .timeline-item-head .user-avatar { width: 34px !important; height: 34px !important; flex: 0 0 34px !important; }
  .timeline-card .timeline-content.has-attachment,
  .timeline-card .link-preview-card,
  .timeline-card .attachment-card { grid-template-columns: 1fr !important; }
  .timeline-card .timeline-actions,
  .timeline-card .timeline-manage,
  .timeline-card .comment-row { gap: 5px !important; }
  .timeline-card .comment-row { display: grid !important; grid-template-columns: 1fr !important; }
  .social-list-mode-only { padding: 10px 7px !important; }
}
@media (max-width: 420px) {
  .device-frame { padding-inline: 3px !important; }
  .field-card { padding-inline: 6px !important; }
  .chord-main-settings,
  .chord-performance-settings { grid-template-columns: 1fr !important; }
  .chord-toolbar-split .chord-tuning-compact,
  .chord-main-settings label:last-child,
  .chord-performance-settings .chord-time-mode,
  .chord-performance-settings label:nth-child(3) { grid-column: auto !important; }
  .module-btn { flex-basis: 100% !important; }
  .timeline-card { padding-inline: 4px !important; }
}

/* v1.9.0 · Cloud-Struktur, Dialoge, Lesbarkeit */
.device-frame[data-active-view="cloud"] .global-song-bar {
  display: none !important;
}

body,
button,
input,
select,
textarea,
.tone-hint,
.account-status,
.mini-list,
label span {
  font-weight: 600;
}
.tone-hint,
.account-status,
.mini-list-row small,
.timeline-card .tone-hint,
.timeline-card .timeline-item-head span,
.timeline-card .account-status {
  opacity: 1 !important;
  color: #31462b !important;
}
.device-frame:not([data-active-view="social"]) .tone-hint,
.device-frame:not([data-active-view="social"]) .account-status,
.device-frame:not([data-active-view="social"]) .mini-list-row small {
  color: #e4f4bf !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.45);
}

.cloud-progress {
  height: 16px !important;
  border: 1px solid rgba(214,238,166,.38) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(7,12,5,.92), rgba(20,28,14,.82)) !important;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) !important;
  overflow: hidden;
}
.cloud-progress i {
  background:
    linear-gradient(90deg, #5e832f 0%, #a2c958 52%, #e1f3a1 100%) !important;
  box-shadow: 0 0 16px rgba(166,207,89,.62), inset 0 1px 0 rgba(255,255,255,.55) !important;
}
.cloud-progress i::after {
  content: '';
  display: block;
  height: 100%;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.24) 0 8px, transparent 8px 16px);
  opacity: .35;
}

.cloud-browser-split-tree {
  grid-template-columns: minmax(220px,.75fr) minmax(250px,.9fr) minmax(320px,1.2fr) !important;
  align-items: start;
}
.cloud-tree-column {
  position: sticky;
  top: 10px;
  align-self: start;
}
.cloud-tree-list,
.cloud-shared-list,
.cloud-list {
  border: 1px solid rgba(218,241,169,.18);
  box-shadow: inset 0 0 18px rgba(0,0,0,.22);
}
/* v1.10.16 · Cloud-Dateibaum mit genau einem geöffneten Ast */
.cloud-tree-row {
  cursor: pointer;
  justify-content: flex-start !important;
  display: grid !important;
  grid-template-columns: 22px minmax(0,1fr) !important;
  grid-template-areas:
    "toggle name"
    "toggle meta" !important;
  gap: 2px !important;
  padding-left: var(--tree-indent, 10px) !important;
  text-align: left;
}
.cloud-tree-row .cloud-tree-name {
  grid-area: name;
  min-width: 0;
  font-family: Arial, system-ui, sans-serif;
  letter-spacing: 0;
}
.cloud-tree-row .cloud-tree-name::before {
  content: none;
}
.cloud-tree-row > small {
  grid-area: meta;
  min-width: 0;
}
.cloud-tree-toggle {
  grid-area: toggle;
  align-self: start;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  color: #bddd7a;
  background: transparent;
  font: inherit;
  line-height: 1;
}
button.cloud-tree-toggle {
  cursor: pointer;
}
button.cloud-tree-toggle:hover,
button.cloud-tree-toggle:focus-visible {
  color: #f1ffd0;
  background: rgba(216,239,161,.14);
  outline: 1px solid rgba(216,239,161,.42);
}
.cloud-tree-toggle.is-placeholder {
  color: rgba(170,205,107,.42);
  pointer-events: none;
}
.cloud-tree-toggle.is-branch-end {
  position: relative;
  color: rgba(222,241,177,.9);
  pointer-events: none;
}
.cloud-tree-toggle.is-branch-end::before {
  content: none;
}
.cloud-tree-row.has-branch-end {
  position: relative;
}
.cloud-tree-row.has-branch-end::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 1px;
  left: calc(var(--tree-indent, 24px) + 3px);
  width: 11px;
  height: 15px;
  border-left: 2px solid rgba(222,241,177,.9);
  border-bottom: 2px solid rgba(222,241,177,.9);
  border-radius: 0 0 0 3px;
  pointer-events: none;
}
.cloud-tree-row.has-branch-end.is-active::before {
  border-color: #14200d;
}
.cloud-tree-row.is-active {
  color: #14200d !important;
  border-color: rgba(234,255,184,.72) !important;
  background: linear-gradient(180deg, #d8efa1, #8eb358) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.45) !important;
}
.cloud-tree-row.is-active small,
.cloud-tree-row.is-active span,
.cloud-tree-row.is-active .cloud-tree-toggle {
  color: #14200d !important;
  text-shadow: none !important;
}
.cloud-check-row,
.cloud-shared-row {
  cursor: grab;
}
.cloud-check-row.is-dragging {
  opacity: .55;
  transform: scale(.995);
}
.cloud-tree-row.is-drop-target,
.cloud-check-row.is-drop-target {
  outline: 2px dashed #d8efa1 !important;
  outline-offset: 3px;
  background: linear-gradient(180deg, rgba(216,239,161,.28), rgba(46,65,28,.55)) !important;
}
.cloud-shared-card {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(220,241,172,.16);
}
.cloud-shared-card h3,
.cloud-browser-split h3 {
  color: #e6f3c4 !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.45);
  font-weight: 800;
}
.cloud-shared-row {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(160px,.75fr) auto !important;
}
.cloud-shared-row span,
.cloud-shared-row small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.timeline-card {
  background: linear-gradient(180deg, #fbfff6, #edf5e7) !important;
}
.timeline-card .timeline-switch {
  background: #cbdcb7 !important;
  border-color: rgba(43,82,35,.28) !important;
}
.timeline-card .timeline-switch .metal-button {
  color: #23411d !important;
}
.timeline-card .timeline-switch .is-active,
.social-list-mode-only .metal-button,
.social-list-mode-only .tiny-button {
  background: linear-gradient(180deg, #8fbf62, #456f34) !important;
  color: #f8ffe9 !important;
  border-color: rgba(35,72,28,.35) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.38) !important;
}
.timeline-card .timeline-item-head {
  background: linear-gradient(180deg, #d7e8c2, #b9d39a) !important;
  border-color: rgba(58,94,42,.28) !important;
}
.timeline-card .timeline-feed::before {
  background: linear-gradient(180deg, #638d3d, #315d2b, #1a391d) !important;
}
.timeline-card .timeline-item::before,
.timeline-card .timeline-post::before {
  background: #456f34 !important;
  box-shadow: 0 0 0 5px rgba(69,111,52,.22), 0 0 18px rgba(35,72,28,.5) !important;
}
.timeline-card .timeline-item p a,
.timeline-card .timeline-comment a,
.timeline-card a {
  color: #275b24 !important;
}
.timeline-card .timeline-actions .tiny-button,
.timeline-card .comment-actions .tiny-button,
.timeline-card .comment-row .tiny-button,
.timeline-card .timeline-manage .tiny-button {
  color: #17310f !important;
  background: #dbeccc !important;
  border-color: rgba(50,86,38,.28) !important;
}
.friend-social-avatar {
  background-color: #7fac54 !important;
  color: #f8ffe9 !important;
}

.song-modal,
.image-lightbox,
.bb-dialog {
  z-index: 9998 !important;
}
.song-modal-backdrop,
.image-lightbox-backdrop,
.bb-dialog-backdrop {
  background: rgba(3,7,3,.78) !important;
  backdrop-filter: blur(8px);
}
.song-modal-panel,
.image-lightbox-panel,
.bb-dialog-panel,
.login-popover {
  border: 1px solid rgba(219,241,166,.42) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(220,241,166,.16), transparent 16rem),
    linear-gradient(145deg, rgba(53,65,39,.98), rgba(17,23,13,.98)) !important;
  color: #eff8d5 !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.68), inset 0 1px 0 rgba(255,255,255,.11) !important;
}
.song-modal-panel input,
.song-modal-panel select,
.song-modal-panel textarea,
.bb-dialog-panel input,
.bb-dialog-panel textarea,
.login-popover input,
.login-popover select,
.login-popover textarea {
  color: #13200d !important;
  background: linear-gradient(#e0e8cd, #a6b78f) !important;
  border-color: rgba(0,0,0,.55) !important;
  font-weight: 700 !important;
}
.bb-dialog {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 4vw, 34px);
}
.bb-dialog-backdrop {
  position: absolute;
  inset: 0;
}
.bb-dialog-panel {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 24px));
  display: grid;
  gap: 14px;
  padding: clamp(16px, 3vw, 24px) !important;
  border-radius: 22px !important;
}
.bb-dialog-head strong {
  display: block;
  color: #f2ffd4;
  font-family: "Share Tech Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.bb-dialog-message {
  margin: 0;
  color: #dfeec1;
  line-height: 1.45;
  font-weight: 700;
}
.bb-dialog-input {
  width: 100%;
  min-height: 48px;
}
.bb-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.image-lightbox-panel {
  border-radius: 22px !important;
  padding: 14px !important;
}
.image-lightbox-close {
  background: linear-gradient(180deg, #d8efa1, #7da64f) !important;
  color: #14200d !important;
  border-color: rgba(255,255,255,.28) !important;
}

@media (max-width: 920px) {
  .cloud-browser-split-tree,
  .cloud-browser-split,
  .cloud-shared-row {
    grid-template-columns: 1fr !important;
  }
  .cloud-tree-column {
    position: static;
  }
  .cloud-shared-row .tiny-button {
    width: fit-content;
  }
}
@media (max-width: 760px) {
  .timeline-card .timeline-item-head {
    background: linear-gradient(180deg, #d1e3ba, #b4cf91) !important;
  }
  .cloud-tree-list,
  .cloud-list,
  .cloud-shared-list {
    min-height: 92px !important;
  }
  .bb-dialog {
    align-items: start;
    padding: max(8px, env(safe-area-inset-top)) 8px 8px;
  }
  .bb-dialog-panel {
    width: calc(100vw - 16px) !important;
    max-height: calc(100vh - 16px);
    overflow: auto;
  }
}


/* v1.9.1 · Design-Pass: Songleiste + Cloud sauber ausgerichtet */
.global-song-bar {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.38fr) !important;
  grid-template-areas:
    "main controls"
    "status status" !important;
  gap: 16px 18px !important;
  align-items: stretch !important;
  padding: 16px 18px !important;
}
.global-song-main {
  grid-area: main;
  align-content: start;
  gap: 6px;
  min-width: 0;
}
.global-song-main strong {
  font-size: clamp(1.35rem, 2.6vw, 2.28rem) !important;
  line-height: .92 !important;
  letter-spacing: .04em !important;
}
.global-song-meta {
  font-size: .96rem !important;
  line-height: 1.28;
}
.global-song-controls {
  grid-area: controls;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(165px, .85fr) minmax(165px, .92fr) !important;
  gap: 12px !important;
  align-items: end !important;
}
.global-song-controls label {
  display: grid !important;
  gap: 6px !important;
  min-width: 0;
}
.global-song-controls label span {
  color: rgba(230, 242, 198, .82);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.global-song-controls input,
.global-song-controls select,
.global-song-controls .metal-button,
.global-song-controls .player-button {
  min-height: 56px;
}
.global-song-controls .metal-button,
.global-song-controls .player-button {
  align-self: end;
}
.global-song-bar .account-status {
  grid-area: status;
  margin-top: -2px;
}

.cloud-layout {
  gap: 18px !important;
}
.cloud-control-card,
.cloud-browser-card {
  padding: 18px 20px 20px !important;
}
.cloud-control-card {
  grid-template-columns: minmax(0, .98fr) minmax(340px, 1.08fr) !important;
  gap: 18px 22px !important;
}
.cloud-control-card .card-title,
.cloud-control-card .cloud-pathbar,
.cloud-control-card .cloud-folder-row,
.cloud-control-card .cloud-upload-box,
.cloud-control-card .cloud-progress,
.cloud-control-card .account-status {
  grid-column: 1;
  margin-bottom: 0 !important;
}
.cloud-control-card .card-title {
  margin-bottom: 4px !important;
}
.cloud-control-card .cloud-share-panel {
  grid-column: 2;
  grid-row: 1 / span 6;
  align-self: stretch;
  margin-bottom: 0 !important;
}
.cloud-pathbar {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .14);
  border: 1px solid rgba(215, 239, 163, .12);
}
.cloud-pathbar strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cloud-folder-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.cloud-folder-row .metal-button,
.cloud-browser-toolbar .metal-button,
.cloud-share-actions .metal-button {
  min-height: 50px;
}
.cloud-share-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  padding: 14px !important;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 24, 14, .62), rgba(12, 17, 10, .72));
  border: 1px solid rgba(216, 239, 163, .14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.cloud-share-panel > label,
.cloud-share-panel > .cloud-share-actions {
  min-width: 0;
}
.cloud-share-panel > label:first-child {
  grid-column: 1 / -1;
}
.cloud-share-panel select[multiple] {
  min-height: 156px;
}
.cloud-recursive-toggle {
  grid-column: 1;
  align-self: end;
}
.cloud-share-actions {
  grid-column: 2;
  justify-content: flex-end;
  align-self: end;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cloud-upload-box {
  display: grid !important;
  align-content: center;
  gap: 8px;
  min-height: 104px;
  padding: 14px 16px !important;
  border-radius: 18px;
}
.cloud-browser-toolbar {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.cloud-browser-split-tree {
  grid-template-columns: minmax(220px, .72fr) minmax(260px, .92fr) minmax(360px, 1.2fr) !important;
  gap: 14px !important;
}
.cloud-tree-column,
.cloud-browser-split-tree > div,
.cloud-shared-card {
  min-width: 0;
}
.cloud-tree-column h3,
.cloud-browser-split-tree h3,
.cloud-shared-card h3 {
  margin-bottom: 8px;
}
.cloud-list,
.cloud-tree-list,
.cloud-shared-list {
  padding: 12px !important;
}
.cloud-check-row {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) minmax(132px, 150px) auto !important;
  grid-template-areas:
    "check name share action"
    ". meta share action" !important;
  gap: 6px 12px !important;
  align-items: center !important;
  padding: 12px 12px !important;
  border-radius: 16px !important;
}
.cloud-check-row > input {
  grid-area: check;
  align-self: start;
  margin-top: 4px;
}
.cloud-check-row > span {
  grid-area: name;
  min-width: 0;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.cloud-check-row > small {
  grid-area: meta;
  min-width: 0;
  display: block;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.cloud-check-row > select {
  grid-area: share;
  width: 100%;
  min-width: 0;
}
.cloud-check-row > .tiny-button,
.cloud-check-row > a.tiny-button {
  grid-area: action;
  align-self: center;
  white-space: nowrap;
}
.cloud-folder-up {
  margin-bottom: 10px;
}
.cloud-shared-card {
  margin-top: 18px;
  padding-top: 16px;
}
.cloud-shared-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "name action"
    "meta action" !important;
  gap: 5px 12px !important;
  align-items: center !important;
}
.cloud-shared-row > span { grid-area: name; min-width: 0; font-weight: 800; }
.cloud-shared-row > small { grid-area: meta; min-width: 0; display: block; line-height: 1.28; }
.cloud-shared-row > .tiny-button,
.cloud-shared-row > a.tiny-button { grid-area: action; align-self: center; }

@media (max-width: 1200px) {
  .global-song-bar {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "main"
      "controls"
      "status" !important;
  }
  .global-song-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .cloud-control-card {
    grid-template-columns: 1fr !important;
  }
  .cloud-control-card .cloud-share-panel {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}
@media (max-width: 980px) {
  .cloud-browser-toolbar,
  .cloud-share-actions {
    grid-template-columns: 1fr !important;
  }
  .cloud-browser-split-tree {
    grid-template-columns: 1fr !important;
  }
  .cloud-tree-column {
    position: static;
  }
}
@media (max-width: 760px) {
  .global-song-bar {
    padding: 14px 12px !important;
  }
  .global-song-controls {
    grid-template-columns: 1fr !important;
  }
  .cloud-control-card,
  .cloud-browser-card {
    padding: 14px 12px 16px !important;
  }
  .cloud-pathbar,
  .cloud-folder-row,
  .cloud-share-panel {
    grid-template-columns: 1fr !important;
  }
  .cloud-pathbar {
    gap: 8px;
  }
  .cloud-check-row {
    grid-template-columns: auto minmax(0,1fr) !important;
    grid-template-areas:
      "check name"
      ". meta"
      "share share"
      "action action" !important;
  }
  .cloud-check-row > .tiny-button,
  .cloud-check-row > a.tiny-button {
    justify-self: start;
  }
  .cloud-shared-row {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "name"
      "meta"
      "action" !important;
  }
}


/* v1.9.2 · Songleiste wirklich zweizeilig, Account/Admin ohne aktuellen Song */
.device-frame[data-active-view="account"] .global-song-bar,
.device-frame[data-active-view="cloud"] .global-song-bar,
.device-frame[data-active-view="bands"] .global-song-bar {
  display: none !important;
}
.global-song-bar {
  display: grid !important;
  grid-template-columns: minmax(300px, .82fr) minmax(620px, 1.18fr) !important;
  grid-template-areas:
    "main controls"
    "status controls" !important;
  gap: 10px 24px !important;
  align-items: stretch !important;
  padding: 18px 22px !important;
  overflow: hidden !important;
}
.global-song-main {
  grid-area: main !important;
  min-width: 0 !important;
  align-content: center !important;
  gap: 7px !important;
}
.global-song-main strong {
  font-size: clamp(1.55rem, 2.35vw, 2.15rem) !important;
  line-height: .92 !important;
  max-width: 100% !important;
  letter-spacing: .035em !important;
}
.global-song-meta {
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: .94rem !important;
}
.global-song-controls {
  grid-area: controls !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.1fr) !important;
  grid-template-areas:
    "songname songload"
    "save manage" !important;
  gap: 10px 14px !important;
  align-items: stretch !important;
  align-content: center !important;
  min-width: 0 !important;
}
.global-song-controls label {
  display: grid !important;
  gap: 6px !important;
  min-width: 0 !important;
  align-content: end !important;
}
.global-song-controls label:nth-of-type(1) { grid-area: songname !important; }
.global-song-controls label:nth-of-type(2) { grid-area: songload !important; }
.global-song-controls #quickSaveSong { grid-area: save !important; }
.global-song-controls #openSongManager { grid-area: manage !important; }
.global-song-controls label span {
  color: rgba(230, 242, 198, .78) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.global-song-controls input,
.global-song-controls select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 50px !important;
  min-height: 50px !important;
  padding-inline: 14px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.global-song-controls .metal-button,
.global-song-controls .player-button {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 16px !important;
  justify-content: center !important;
  align-self: stretch !important;
  white-space: nowrap !important;
}
.global-song-bar .account-status {
  grid-area: status !important;
  align-self: end !important;
  margin: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
@media (max-width: 1180px) {
  .global-song-bar {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "main"
      "controls"
      "status" !important;
  }
  .global-song-controls {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  }
}
@media (max-width: 720px) {
  .global-song-bar {
    padding: 14px 12px !important;
  }
  .global-song-controls {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "songname"
      "songload"
      "save"
      "manage" !important;
  }
  .global-song-main strong,
  .global-song-meta,
  .global-song-bar .account-status {
    white-space: normal !important;
  }
}

/* v1.10.0 · Band-Social, gemeinsame Freigaben und Sammlungs-Cloud */
.cloud-layout { grid-template-columns: 1fr !important; gap: 16px !important; }
.cloud-control-card {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  gap: 14px !important;
  align-items: start !important;
}
.cloud-control-card > .card-title,
.cloud-workspace-panel,
.cloud-pathbar,
.cloud-share-panel,
.cloud-upload-box,
.cloud-progress,
.cloud-control-card > .account-status { grid-column: 1 / -1 !important; }
.cloud-workspace-panel {
  display: grid;
  grid-template-columns: minmax(240px,.8fr) minmax(260px,1.2fr);
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(223,238,183,.22);
  border-radius: 16px;
  background: rgba(8,12,6,.38);
}
.cloud-workspace-summary {
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(223,238,183,.08);
}
.cloud-workspace-summary strong { font-size: 1.08rem; }
.cloud-workspace-summary small { opacity: .75; }
.cloud-collection-row,
.cloud-folder-row {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 10px !important;
  align-items: end !important;
  padding: 13px !important;
  border: 1px solid rgba(223,238,183,.16);
  border-radius: 14px;
  background: rgba(8,12,6,.26);
}
.cloud-collection-row > small { grid-column: 1 / -1; opacity: .72; line-height: 1.35; }
.cloud-share-panel {
  grid-template-columns: minmax(220px,.8fr) minmax(220px,1fr) minmax(220px,1fr) !important;
  padding-top: 34px !important;
}
.cloud-share-panel > label[hidden] { display: none !important; }
.cloud-share-actions { grid-column: 1 / -1; }
.cloud-upload-box span { font-size: 1.02rem; font-weight: 800; }
.cloud-tree-row:first-child span { white-space: normal; }
.cloud-shared-card summary {
  cursor: pointer;
  font-family: Impact, "Teko", sans-serif;
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 0;
}
.cloud-shared-card[open] summary { margin-bottom: 10px; }
.timeline-card .timeline-switch {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}
.timeline-band-toolbar {
  display: grid;
  grid-template-columns: minmax(220px,1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 12px;
  padding: 13px;
  border: 1px solid rgba(223,238,183,.2);
  border-radius: 14px;
  background: rgba(223,238,183,.07);
}
.timeline-band-toolbar[hidden] { display: none !important; }
.timeline-band-toolbar .tone-hint { grid-column: 1 / -1; margin: 0; }
.song-link-details { border-top: 1px solid rgba(223,238,183,.14); padding-top: 10px; }
.song-link-details summary { cursor: pointer; font-weight: 800; }
.song-link-form {
  display: grid;
  grid-template-columns: minmax(140px,.45fr) minmax(260px,1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
}
.song-link-list { display: grid; gap: 7px; margin-top: 10px; }
.song-link-row {
  display: grid;
  grid-template-columns: minmax(120px,.35fr) minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(223,238,183,.07);
}
.song-link-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .72; }
.shared-song-links { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0; }

/* v1.10.1 · Profilmenü, nietenfreie Karten und vollständige Songübersicht */
.field-card::before,
.field-card::after { display: none !important; content: none !important; }

.header-profile-menu {
  position: relative;
  min-width: 0;
}
.header-profile-menu > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.header-profile-menu > summary::-webkit-details-marker { display: none; }
.profile-menu-chevron {
  margin-left: 2px;
  font-size: .78rem;
  transition: transform .16s ease;
}
.header-profile-menu[open] .profile-menu-chevron { transform: rotate(180deg); }
.header-profile-popover {
  position: absolute;
  z-index: 70;
  top: calc(100% + 9px);
  right: 0;
  width: min(310px, calc(100vw - 28px));
  display: grid;
  gap: 4px;
  max-height: min(720px, calc(100vh - 105px));
  overflow-y: auto;
  padding: 10px;
  border: 1px solid rgba(223,238,183,.28);
  border-radius: 15px;
  background: rgba(13,18,10,.98);
  box-shadow: 0 20px 55px rgba(0,0,0,.58);
}
.header-profile-popover > button,
.header-profile-popover > a,
.profile-menu-band {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #edf5d2;
  text-decoration: none;
  text-align: left;
  font: 700 .82rem "Share Tech Mono", monospace;
  letter-spacing: .05em;
  cursor: pointer;
}
.header-profile-popover > button:hover,
.header-profile-popover > a:hover,
.profile-menu-band:hover,
.header-profile-popover > button:focus-visible,
.header-profile-popover > a:focus-visible,
.profile-menu-band:focus-visible {
  outline: none;
  border-color: rgba(223,238,183,.28);
  background: rgba(223,238,183,.1);
}
.profile-menu-bands {
  display: grid;
  gap: 3px;
  margin: 4px 0;
  padding: 8px 0;
  border-block: 1px solid rgba(223,238,183,.14);
}
.profile-menu-bands > span {
  padding: 0 11px 4px;
  color: rgba(223,238,183,.58);
  font: 700 .68rem "Share Tech Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#headerProfileBands { display: grid; gap: 2px; }
#headerProfileBands small { padding: 7px 11px; color: rgba(223,238,183,.6); }
.header-profile-popover .profile-menu-logout { color: #ff9b9b; }

.chord-section .section-grid {
  grid-auto-flow: row !important;
  align-items: stretch;
}
.chord-section .chord-block {
  min-width: 0;
}
.song-manager-main { gap: 8px; }
.song-chord-overview {
  width: 100%;
  display: grid;
  gap: 7px;
  margin-top: 5px;
}
.song-chord-section {
  display: grid;
  grid-template-columns: minmax(110px, .24fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  border: 1px solid rgba(126,154,83,.2);
  border-radius: 10px;
  background: rgba(8,14,6,.22);
}
.song-chord-section-head { display: grid; gap: 2px; min-width: 0; }
.song-chord-section-head strong {
  color: inherit !important;
  font-size: .88rem !important;
  overflow-wrap: anywhere;
}
.song-chord-section-head span {
  color: inherit !important;
  opacity: .62;
  font-size: .68rem !important;
}
.song-chord-list { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.song-chord-chip {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 29px;
  padding: 4px 8px;
  border: 1px solid rgba(148,180,97,.26);
  border-radius: 8px;
  background: rgba(139,174,82,.14);
  color: inherit !important;
  font: 800 .76rem "Share Tech Mono", monospace !important;
  line-height: 1 !important;
}
.shared-song-card {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start !important;
}
.shared-song-card > .song-chord-overview,
.shared-song-card > .shared-song-links { grid-column: 1 / -1; }
.group-shared-song .song-chord-overview,
.timeline-song_share .song-chord-overview { margin-block: 9px; }

@media (max-width: 720px) {
  .header-profile-popover { position: fixed; top: 78px; right: 14px; left: 14px; width: auto; }
  .song-chord-section { grid-template-columns: 1fr; gap: 6px; }
  .shared-song-card { grid-template-columns: 1fr; }
}
.group-shared-song { display: grid; gap: 5px; }
@media (max-width: 900px) {
  .cloud-control-card,
  .cloud-workspace-panel,
  .cloud-share-panel,
  .timeline-band-toolbar,
  .song-link-form { grid-template-columns: 1fr !important; }
  .cloud-collection-row,
  .cloud-folder-row { grid-template-columns: 1fr !important; }
  .cloud-share-actions,
  .timeline-band-toolbar .tone-hint { grid-column: 1 !important; }
  .timeline-card .timeline-switch { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 560px) {
  .timeline-card .timeline-switch { grid-template-columns: 1fr !important; }
  .song-link-row { grid-template-columns: 1fr; }
  .song-link-row small { white-space: normal; overflow-wrap: anywhere; }
}

/* v1.10.2 · verständliche Cloud, luftige Freunde- und Bandverwaltung */
.cloud-control-card {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
  padding: 22px !important;
}
.cloud-control-card > * {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  min-width: 0;
  margin: 0 !important;
}
.cloud-title-block { display: grid; gap: 7px; }
.cloud-title-block .card-title { margin: 0 !important; }
.cloud-title-block p,
.cloud-browser-heading p,
.social-section-intro {
  margin: 0;
  color: rgba(231, 242, 203, .76);
  line-height: 1.5;
}
.cloud-quick-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}
.cloud-quick-guide li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(223, 238, 183, .16);
  border-radius: 13px;
  background: rgba(223, 238, 183, .06);
}
.cloud-quick-guide b,
.cloud-step-heading > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, #dff2ae, #83a85a);
  color: #14200e;
  font: 900 1rem "Share Tech Mono", monospace;
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.cloud-quick-guide li > span,
.cloud-step-heading > div { display: grid; gap: 2px; min-width: 0; }
.cloud-quick-guide strong,
.cloud-step-heading strong { color: #f1f8dc; line-height: 1.2; }
.cloud-quick-guide small,
.cloud-step-heading small { color: rgba(231,242,203,.64); line-height: 1.3; }
.cloud-step-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 13px !important;
  padding: 16px !important;
  border: 1px solid rgba(223,238,183,.18) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(11,17,8,.46), rgba(7,12,5,.3)) !important;
}
.cloud-step-heading {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.cloud-workspace-panel {
  grid-template-columns: minmax(240px, .82fr) minmax(300px, 1.18fr) !important;
  gap: 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.cloud-workspace-summary { gap: 6px !important; padding: 13px 15px !important; }
.cloud-storage-meter {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(223,238,183,.23);
  border-radius: 999px;
  background: rgba(0,0,0,.38);
  box-shadow: inset 0 2px 5px rgba(0,0,0,.35);
}
.cloud-storage-meter i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #72a94e, #d8ee9f);
  transition: width .25s ease;
}
.cloud-create-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cloud-create-options .cloud-collection-row,
.cloud-create-options .cloud-folder-row {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-content: start;
  padding: 14px !important;
}
.cloud-create-options .cloud-collection-row > small { grid-column: 1 / -1; }
.cloud-upload-box { min-height: 92px !important; margin: 0 !important; }
.cloud-upload-box input[type="file"] { width: 100%; max-width: 100%; min-width: 0; }
.cloud-progress { margin: 0 !important; }
.cloud-control-card .cloud-share-panel {
  grid-template-columns: minmax(210px, .7fr) minmax(220px, 1fr) minmax(220px, 1fr) !important;
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  align-self: auto !important;
  padding: 16px !important;
}
.cloud-share-panel::before { display: none !important; content: none !important; }
.cloud-share-panel .cloud-step-heading { grid-column: 1 / -1; }
.cloud-share-panel > label:first-of-type { grid-column: 1 / -1; }
.cloud-share-panel select[multiple] { min-height: 130px; }
.cloud-share-panel .cloud-recursive-toggle { grid-column: 1 / -1; }
.cloud-share-panel .cloud-share-actions {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cloud-main-status { padding: 9px 2px 0 !important; }
.cloud-browser-card { padding: 22px !important; }
.cloud-browser-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}
.cloud-browser-heading > div { display: grid; gap: 6px; }
.cloud-browser-heading .card-title { margin: 0; }
.cloud-pathbar {
  grid-template-columns: auto minmax(0, 1fr) !important;
  margin-top: 15px !important;
}
.cloud-browser-split-tree {
  display: grid !important;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: start;
}
.cloud-current-content { display: grid; gap: 14px; min-width: 0; }
.cloud-current-content > section { min-width: 0; }
.cloud-current-content h3,
.cloud-tree-column h3 { margin: 0 0 8px; }
.cloud-list { min-width: 0; min-height: 96px !important; }
.cloud-check-row {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  grid-template-areas:
    "check name action"
    ". meta action"
    ". share action" !important;
  gap: 5px 10px !important;
  padding: 11px !important;
  cursor: default;
}
.cloud-check-row > input { grid-area: check; }
.cloud-check-row > span { grid-area: name; overflow-wrap: anywhere; }
.cloud-check-row > small { grid-area: meta; overflow-wrap: anywhere; }
.cloud-check-row > select { grid-area: share; min-width: 0; width: min(100%, 230px); }
.cloud-row-actions {
  grid-area: action;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.cloud-row-actions .tiny-button { white-space: nowrap; }
.cloud-selection-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(223,238,183,.16);
  border-radius: 15px;
  background: rgba(223,238,183,.06);
}
.cloud-selection-bar > div:first-child { display: grid; gap: 3px; }
.cloud-selection-bar span { color: rgba(231,242,203,.67); line-height: 1.35; }
.cloud-selection-bar .cloud-browser-toolbar {
  display: grid !important;
  grid-template-columns: repeat(3, auto) !important;
  gap: 8px;
}
.metal-button:disabled,
.tiny-button:disabled { opacity: .42; cursor: not-allowed; filter: grayscale(.35); }
.cloud-shared-row { grid-template-columns: minmax(0,1fr) auto !important; }
.cloud-shared-row .cloud-row-actions { grid-area: action; }

.friend-hub-card,
.band-create-card { padding: 22px !important; }
.friend-hub-card { display: grid; gap: 14px; }
.friend-hub-card .social-section-intro { color: #40506a !important; }
.band-create-card .social-section-intro { color: rgba(231,242,203,.76) !important; }
.friend-request-form {
  grid-template-columns: minmax(240px, 1fr) auto !important;
  gap: 10px !important;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 14px;
  background: #f8fbff;
}
.social-lists {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .38fr) !important;
  gap: 16px !important;
  align-items: start;
}
.friend-list-panel,
.friend-request-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 16px;
  background: rgba(248,250,252,.76);
}
.social-panel-title { display: grid; gap: 3px; margin-bottom: 11px; }
.social-panel-title small { color: #64748b !important; }
#friendList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 11px;
}
#friendList .friend-social-card { margin: 0; min-width: 0; }
#friendRequests { display: grid; gap: 9px; }
#friendRequests .mini-list-row { background: #fff !important; border-color: rgba(15,23,42,.12) !important; }

.band-create-card { display: grid; gap: 14px; }
.band-create-grid {
  display: grid !important;
  grid-template-columns: minmax(220px, .68fr) minmax(360px, 1.32fr) !important;
  gap: 16px !important;
  align-items: start;
}
.band-name-field { grid-column: 1; }
.band-description-field { grid-column: 2; grid-row: 1 / span 2; }
.band-description-field textarea { min-height: 132px; resize: vertical; }
.band-avatar-field { grid-column: 1; }
.band-members-field { grid-column: 1 / -1; }
.band-avatar-field,
.band-members-field {
  min-width: 0;
  margin: 0;
  padding: 15px;
  border: 1px solid rgba(223,238,183,.18);
  border-radius: 15px;
  background: rgba(8,12,6,.24);
}
.band-avatar-field legend,
.band-members-field legend {
  padding: 0 7px;
  color: rgba(232,242,207,.84);
  font-weight: 800;
  letter-spacing: .05em;
}
.band-avatar-field { display: grid; gap: 12px; }
.band-member-toolbar {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}
.band-member-toolbar > strong {
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(223,238,183,.09);
  white-space: nowrap;
}
.band-member-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.band-member-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 9px;
  max-height: 285px;
  overflow: auto;
  padding: 2px;
}
.band-member-option {
  display: grid;
  grid-template-columns: auto 42px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(223,238,183,.14);
  border-radius: 12px;
  background: rgba(223,238,183,.05);
  cursor: pointer;
}
.band-member-option:hover,
.band-member-option.is-selected {
  border-color: rgba(210,236,153,.46);
  background: rgba(159,195,96,.16);
}
.band-member-option > span:last-child { display: grid; gap: 2px; min-width: 0; }
.band-member-option strong,
.band-member-option small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.band-member-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #809d5a center / cover no-repeat;
  color: #fff;
  font-weight: 900;
}
.band-create-submit { grid-column: 1; min-height: 52px; }
.band-create-grid > .account-status { grid-column: 1 / -1; }

@media (max-width: 980px) {
  .cloud-quick-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cloud-create-options,
  .cloud-workspace-panel,
  .cloud-control-card .cloud-share-panel,
  .cloud-browser-split-tree,
  .social-lists,
  .band-create-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .cloud-share-panel > *,
  .band-name-field,
  .band-description-field,
  .band-avatar-field,
  .band-members-field,
  .band-create-submit { grid-column: 1 !important; grid-row: auto !important; }
  .cloud-current-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cloud-selection-bar { grid-template-columns: 1fr; }
  .cloud-selection-bar .cloud-browser-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 700px) {
  .cloud-control-card,
  .cloud-browser-card,
  .friend-hub-card,
  .band-create-card { padding: 15px 12px !important; }
  .cloud-quick-guide,
  .cloud-create-options,
  .cloud-current-content,
  .cloud-share-actions,
  .cloud-selection-bar .cloud-browser-toolbar,
  .friend-request-form,
  .band-member-toolbar { grid-template-columns: 1fr !important; }
  .cloud-browser-heading { grid-template-columns: 1fr; align-items: stretch; }
  .cloud-pathbar strong { width: 100%; max-width: 100%; white-space: normal !important; overflow-wrap: anywhere; }
  .cloud-upload-box input[type="file"] { font-size: .78rem; }
  .cloud-check-row {
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-areas:
      "check name"
      ". meta"
      "share share"
      "action action" !important;
  }
  .cloud-row-actions { justify-content: flex-start; }
  .cloud-create-options .cloud-collection-row,
  .cloud-create-options .cloud-folder-row { grid-template-columns: 1fr !important; }
  .cloud-create-options .cloud-collection-row > small { grid-column: 1; }
  .band-member-toolbar > strong { justify-self: start; }
}

/* v1.10.31 · kompakte Cloud, Cloud-/Bandordner und mobiles Login */
.cloud-workspace-panel { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr) !important; }
.cloud-live-search { grid-column: 1 / -1; }
.cloud-workspace-folders { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cloud-workspace-folder { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 12px; border: 1px solid rgba(215,235,176,.2); border-radius: 11px; color: #dcebbd; background: rgba(11,18,8,.64); cursor: pointer; text-align: left; }
.cloud-workspace-folder b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cloud-workspace-folder.is-active { color: #18200f; border-color: #cbea8d; background: linear-gradient(180deg,#d5eea0,#92bd55); }
.cloud-hub-card, .cloud-browser-card { gap: 12px !important; padding: 16px !important; }
.cloud-title-block p, .cloud-browser-heading p, .cloud-band-policy { display: none !important; }
.cloud-direct-upload, .cloud-drop-zone { padding: 12px !important; min-height: 0 !important; }
.cloud-drop-zone-icon { width: 42px !important; height: 42px !important; }
.cloud-lyrics-list { min-height: 72px; border: 1px dashed rgba(194,226,132,.42); border-radius: 12px; padding: 8px; }
.cloud-lyrics-list.is-drop-target { border-color: #d9f79a; background: rgba(154,205,86,.16); box-shadow: inset 0 0 18px rgba(174,225,105,.14); }
.login-popover { z-index: 10020 !important; }
body:has(.login-popover[open]) .mobile-menu-toggle, body:has(.login-popover[open]) .module-switch { z-index: 1 !important; }
@media (max-width: 700px) {
  .login-popover[open] { position: fixed !important; inset: max(10px, env(safe-area-inset-top)) 10px auto 10px !important; width: auto !important; max-height: calc(100dvh - 20px) !important; overflow-y: auto !important; }
  .cloud-workspace-panel, .cloud-browser-split-tree { grid-template-columns: 1fr !important; }
  .cloud-workspace-folders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cloud-browser-heading-actions { display: grid !important; grid-template-columns: 1fr 1fr; }
  .cloud-direct-upload, .cloud-drop-zone { margin: 0 !important; }
  .cloud-selection-bar, .cloud-folder-share-panel { padding: 11px !important; }
}

/* v1.10.3 · klare Cloud-Reiter, direkte Ablage, Band-Popup und Profilfreigaben */
.cloud-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
}
.cloud-hub-card,
.cloud-mode-switch,
.cloud-browser-card,
.cloud-control-card {
  width: 100% !important;
  min-width: 0 !important;
  grid-column: 1 !important;
}
.cloud-hub-card {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(360px, 1.25fr);
  gap: 22px;
  align-items: center;
  padding: 22px !important;
}
.cloud-hub-card .cloud-title-block { display: grid; gap: 6px; }
.cloud-hub-card .cloud-main-status { grid-column: 1 / -1; margin: -8px 0 0; padding: 0 !important; }
.cloud-hub-card .cloud-title-block p { margin: 0; color: rgba(231,242,203,.75); line-height: 1.45; }
.cloud-hub-card .cloud-workspace-panel {
  display: grid !important;
  grid-template-columns: minmax(190px, .8fr) minmax(230px, 1.2fr) !important;
  gap: 14px !important;
  align-items: stretch;
  margin: 0 !important;
}
.cloud-mode-switch {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 8px !important;
  border: 1px solid rgba(223,238,183,.28);
  border-radius: 16px;
  background: rgba(238,247,219,.92);
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.cloud-mode-switch .metal-button { min-height: 42px; color: #27321c !important; }
.cloud-mode-switch .is-active {
  color: #f4ffdb !important;
  background: linear-gradient(180deg, #8dbb55, #4d802e) !important;
  box-shadow: 0 6px 14px rgba(35,70,22,.3), inset 0 1px 0 rgba(255,255,255,.28) !important;
}
[data-cloud-pane][hidden] { display: none !important; }
.cloud-browser-card,
.cloud-control-card { padding: 22px !important; }
.cloud-browser-heading { align-items: center !important; }
.cloud-browser-heading p { max-width: 780px; }
.cloud-pathbar {
  border: 1px dashed rgba(202,232,143,.36) !important;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.cloud-tree-row.is-file-drop-target,
.cloud-check-row.is-file-drop-target,
.cloud-pathbar.is-file-drop-target {
  border-color: rgba(215,244,157,.95) !important;
  background: rgba(142,190,76,.24) !important;
  box-shadow: 0 0 0 3px rgba(188,229,116,.16), inset 0 0 24px rgba(188,229,116,.1) !important;
}
.cloud-control-card {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}
.cloud-control-card > .cloud-title-block,
.cloud-control-card > .cloud-create-step,
.cloud-control-card > .cloud-main-status { grid-column: 1 / -1 !important; }
.cloud-control-card > .cloud-step-card { margin: 0 !important; }
.cloud-create-options { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.cloud-create-options .cloud-collection-row,
.cloud-create-options .cloud-folder-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: end;
}
.cloud-create-options .cloud-collection-row > small,
.cloud-create-options .cloud-folder-row > small { grid-column: 1 / -1 !important; }
.cloud-row-actions { flex-wrap: wrap; }

.band-create-card {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px !important;
}
.band-create-card .social-section-intro { margin-bottom: 0; }
.band-create-cta { min-width: 210px; min-height: 48px; }
.band-editor-panel { width: min(920px, 96vw) !important; }
.band-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}
.band-editor-grid > label,
.band-editor-grid > fieldset { min-width: 0; }
.band-editor-grid .wide { grid-column: 1 / -1; }
.band-editor-grid fieldset,
.profile-public-sections {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(223,238,183,.2);
  border-radius: 16px;
  background: rgba(0,0,0,.14);
}
.band-editor-grid fieldset legend,
.profile-public-sections legend { padding: 0 7px; color: var(--cream); font-weight: 800; letter-spacing: .05em; }
.band-editor-grid .band-avatar-field { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.band-editor-grid .band-visibility-field { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.band-visibility-option { display:grid !important; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:10px; min-width:0; padding:12px; border:1px solid rgba(223,238,183,.2); border-radius:12px; background:rgba(255,255,255,.035); cursor:pointer; }
.band-visibility-option:has(input:checked) { border-color:rgba(202,235,139,.55); background:rgba(174,216,101,.12); box-shadow:inset 0 0 0 1px rgba(202,235,139,.12); }
.band-visibility-option input { width:18px !important; height:18px !important; margin:2px 0 0 !important; accent-color:#a9d268; }
.band-visibility-option span { display:grid; gap:3px; min-width:0; }
.band-visibility-option strong { color:var(--cream); }
.band-visibility-option small { color:rgba(238,246,211,.7); line-height:1.35; }
.band-visibility-option:has(input:disabled) { opacity:.62; cursor:not-allowed; }
.band-editor-grid .band-member-picker { max-height: 260px; }
.band-editor-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.group-card-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
html.has-open-modal,
body.has-open-modal {
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* v1.10.7 · Benachrichtigungszentrale, Mail/Push und sichere Modal-Ebene */
.device-frame[data-active-view="notifications"] .instrument-panel,
.device-frame[data-active-view="notifications"] .global-song-bar { display: none !important; }

.notification-lamp { position: relative; min-width: 72px !important; }
.notification-lamp.is-selected { border-radius: 12px !important; background: rgba(163,205,107,.12) !important; box-shadow: inset 0 0 0 1px rgba(209,239,166,.24), 0 0 18px rgba(89,175,67,.18); }
.lamp-notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 2px solid #182012;
  border-radius: 999px;
  background: #f0435e;
  color: #fff;
  font: 800 11px/1 Arial, sans-serif;
  box-shadow: 0 3px 10px rgba(0,0,0,.55), 0 0 12px rgba(240,67,94,.45);
}
.lamp-notification-badge[hidden] { display: none !important; }
.notification-lamp em { max-width: 76px; font-size: .58rem; letter-spacing: -.03em; }

.notification-page-layout { display: grid; gap: 14px; }
.notification-page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: clamp(18px, 3vw, 28px) !important;
  background: linear-gradient(135deg, rgba(242,248,224,.98), rgba(209,226,181,.96)) !important;
  color: #1a2a16 !important;
}
.notification-page-head p { margin: 7px 0 0; max-width: 760px; color: #42543a; }
.notification-page-head .card-title { color: #1d3118 !important; font-size: 1.12rem; }
.notification-page-kicker { display: block; margin-bottom: 8px; color: #5b753e; font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.notification-page-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.notification-filter-tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(202,227,159,.38);
  border-radius: 17px;
  background: rgba(11,17,8,.58);
}
.notification-filter-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 7px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #dfeac6;
  font: 800 .72rem/1.15 "Share Tech Mono", monospace;
  cursor: pointer;
}
.notification-filter-tabs button:hover { background: rgba(196,224,151,.1); }
.notification-filter-tabs button.is-active { border-color: rgba(223,241,185,.48); background: linear-gradient(180deg,#88b75f,#426d34); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.24); }
.notification-filter-tabs b { min-width: 20px; padding: 3px 5px; border-radius: 999px; background: rgba(0,0,0,.23); font: 800 10px/1 Arial,sans-serif; }
.notification-filter-tabs b[hidden] { display: none; }
.notification-stream-card { padding: clamp(12px, 2vw, 20px) !important; background: linear-gradient(145deg,rgba(238,246,218,.98),rgba(207,224,180,.98)) !important; }
.notification-stream { display: grid; gap: 10px; }
.notification-item {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(56,81,43,.2);
  border-radius: 15px;
  background: rgba(255,255,255,.6);
  color: #1a2916;
  box-shadow: 0 7px 18px rgba(41,61,30,.07);
}
.notification-item.is-unread { border-color: rgba(74,122,47,.58); background: #fbfff1; box-shadow: inset 4px 0 0 #619a41, 0 8px 22px rgba(40,70,25,.12); }
.notification-item-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(145deg,#789c59,#355b2d); color: #fff; font: 900 1rem/1 Arial,sans-serif; box-shadow: 0 5px 12px rgba(32,59,24,.25); }
.notification-likes .notification-item-icon { background: linear-gradient(145deg,#e66d80,#97374d); }
.notification-comments .notification-item-icon { background: linear-gradient(145deg,#659bc4,#376486); }
.notification-band_activity .notification-item-icon { background: linear-gradient(145deg,#cc9f4b,#76501f); }
.notification-item-body { min-width: 0; }
.notification-item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.notification-item-head strong { color: #172714; font-size: .98rem; }
.notification-item-head span { padding: 3px 7px; border-radius: 999px; background: #d6e6c1; color: #38522b; font-size: .66rem; font-weight: 900; text-transform: uppercase; }
.notification-item p { margin: 5px 0; color: #40513a; line-height: 1.4; }
.notification-item small { color: #6b7862; }
.notification-item-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.notification-item-actions .metal-button { min-height: 36px; padding: 7px 13px; }
.notification-item-actions .tiny-button { min-height: 36px; padding: 7px 11px; border-color: rgba(55,88,39,.34); background: #d7e8c4; color: #24431c; font-weight: 900; }
.notification-delete-button { display: inline-grid; place-items: center; width: 36px; min-width: 36px; height: 36px; padding: 0; border: 1px solid rgba(134,45,45,.42); border-radius: 10px; background: linear-gradient(#f4d8d2,#c7796d); color: #551d18; font: 900 1.35rem/1 Arial,sans-serif; cursor: pointer; box-shadow: 0 4px 10px rgba(86,30,25,.16); }
.notification-delete-button:hover,.notification-delete-button:focus-visible { border-color:#7f251f; background:linear-gradient(#ffdeda,#d36f64); outline:none; }
.notification-empty-state { display: grid; gap: 6px; place-items: center; min-height: 180px; padding: 30px; color: #40513a; text-align: center; }
.notification-empty-state strong { color: #1d3118; font-size: 1.1rem; }

.notification-settings-card { display: grid; gap: 18px; }
.notification-settings-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.notification-settings-head p { margin: 6px 0 0; max-width: 780px; color: rgba(238,246,211,.76); }
.notification-channel-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.notification-channel-controls > section { display: grid; gap: 13px; padding: 16px; border: 1px solid rgba(223,238,183,.18); border-radius: 15px; background: rgba(0,0,0,.16); }
.notification-master-toggle { display: flex !important; align-items: center; gap: 11px; min-height: 48px; }
.notification-master-toggle input { width: 20px !important; min-width: 20px; height: 20px; }
.notification-master-toggle span { display: grid; gap: 3px; }
.notification-master-toggle small { color: rgba(238,246,211,.68); }
.push-control-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.notification-preference-matrix { overflow: hidden; border: 1px solid rgba(223,238,183,.2); border-radius: 15px; }
.notification-matrix-head,
.notification-preference-matrix > label { display: grid; grid-template-columns: minmax(0,1fr) 72px 72px; align-items: center; gap: 8px; min-height: 58px; padding: 10px 14px; }
.notification-matrix-head { min-height: 38px; background: rgba(0,0,0,.28); color: #cbd8aa; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.notification-matrix-head span:not(:first-child) { text-align: center; }
.notification-preference-matrix > label { border-top: 1px solid rgba(223,238,183,.11); background: rgba(255,255,255,.025); }
.notification-preference-matrix > label:hover { background: rgba(216,236,172,.06); }
.notification-preference-matrix > label > span { display: grid; gap: 3px; }
.notification-preference-matrix strong { color: #edf6d4; }
.notification-preference-matrix small { color: rgba(238,246,211,.64); }
.notification-preference-matrix input { justify-self: center; width: 20px !important; min-width: 20px; height: 20px; }
.notification-preference-matrix input:disabled { opacity: .28; }
.notification-settings-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.notification-settings-foot p { margin: 0; max-width: 760px; color: rgba(238,246,211,.65); font-size: .78rem; }

body.has-open-modal .device-footer { z-index: 20000 !important; }
body.has-open-modal .top-rail,
body.has-open-modal .top-actions,
body.has-open-modal .brand-block-logo { z-index: 1 !important; }
body.has-open-modal .song-modal { z-index: 20001 !important; }
body.has-open-modal .song-modal-backdrop { background: rgba(2,5,2,.86) !important; }

@media (max-width: 1050px) {
  .notification-filter-tabs { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .notification-page-head,
  .notification-settings-head,
  .notification-settings-foot { display: grid; grid-template-columns: 1fr; }
  .notification-page-actions { justify-content: stretch; }
  .notification-page-actions .metal-button { width: 100%; }
  .notification-filter-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .notification-channel-controls { grid-template-columns: 1fr; }
  .notification-item { grid-template-columns: 40px minmax(0,1fr); align-items: start; }
  .notification-item-icon { width: 38px; height: 38px; }
  .notification-item-actions { grid-column: 1 / -1; justify-content: flex-start; padding-left: 53px; }
  .notification-matrix-head,
  .notification-preference-matrix > label { grid-template-columns: minmax(0,1fr) 52px 52px; padding-inline: 10px; }
}

.profile-public-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.profile-public-sections .checkbox-line,
.account-export-card .checkbox-line { min-height: 44px; }
.profile-public-sections .checkbox-line input,
.account-export-card .checkbox-line input {
  width: auto !important;
  min-width: 18px !important;
  max-width: 18px !important;
  flex: 0 0 18px;
}
.account-export-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 22px;
  align-items: center;
}
.account-export-card > div:first-child { grid-column: 1 / -1; }

@media (max-width: 880px) {
  .cloud-hub-card,
  .cloud-hub-card .cloud-workspace-panel,
  .cloud-control-card,
  .cloud-create-options,
  .band-editor-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .cloud-control-card > *,
  .cloud-create-options > *,
  .band-editor-grid > * { grid-column: 1 !important; }
  .band-create-card { align-items: stretch; flex-direction: column; }
  .band-create-cta { width: 100%; }
  .account-export-card { grid-template-columns: 1fr; }
  .account-export-card > * { grid-column: 1 !important; }
}
@media (max-width: 620px) {
  .cloud-mode-switch,
  .profile-public-sections,
  .band-editor-grid .band-avatar-field { grid-template-columns: 1fr !important; }
  .band-editor-grid .band-visibility-field { grid-template-columns:1fr; }
  .cloud-create-options .cloud-collection-row,
  .cloud-create-options .cloud-folder-row { grid-template-columns: 1fr !important; }
  .cloud-create-options .cloud-collection-row > *,
  .cloud-create-options .cloud-folder-row > * { grid-column: 1 !important; }
}

/* v1.10.6 · klare Band-Entdeckung und verständliche Social-Timeline */
.device-frame[data-active-view="bands"] .global-song-bar {
  display: none !important;
}
.timeline-card .timeline-switch {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.timeline-mode-explanation {
  margin: -2px 2px 12px;
  color: #385331 !important;
  font-size: .84rem;
  line-height: 1.45;
}
.social-community-heading {
  padding: 20px !important;
  background: linear-gradient(180deg, #fbfff6, #edf5e7) !important;
  color: #1f3b1c !important;
  border-color: rgba(255,255,255,.9) !important;
  box-shadow: 0 16px 42px rgba(0,0,0,.24) !important;
}
.social-community-heading .card-title { color: #1f3b1c !important; }
.social-community-heading p { margin: 6px 0 0; color: #385331 !important; line-height: 1.45; }
.bands-hub-layout > .bands-discover-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  padding: 20px !important;
}
.bands-discover-head p {
  margin: 5px 0 0;
  color: rgba(238,246,211,.72);
  line-height: 1.45;
}
.band-discover-search-grid { margin-top: 0; }
.user-directory.band-discover-directory {
  margin-top: 0;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.discover-card.band-discover-card-item { min-height: 142px; }
.band-discover-card-item .band-discover-avatar { background-color: #78964f; color: #fff; }
.band-discover-card-item .band-discover-name {
  color: #172011 !important;
  font-family: "Teko", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: .04em;
}
.band-discover-card-item .band-discover-stats { color: #526847 !important; }
.band-discover-card-item .user-card-body > p { color: #34462e !important; }
.band-discover-card-item .user-card-actions { margin-top: auto; }
.band-discover-card-item .tiny-button {
  background: linear-gradient(180deg, #8fbf62, #456f34) !important;
  color: #f8ffe9 !important;
  border-color: rgba(35,72,28,.35) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.38) !important;
}
.band-discover-card-item .tiny-button.as-link { display: inline-flex; align-items: center; }

@media (max-width: 900px) {
  .timeline-card .timeline-switch { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 650px) {
  .user-directory.band-discover-directory { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .timeline-card .timeline-switch { grid-template-columns: 1fr !important; }
}

/* v1.10.8 · ruhiger, vollbreiter Bandbereich */
.bands-hub-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px;
}

.bands-hub-layout > .field-card {
  min-width: 0;
  border-color: rgba(215, 235, 173, .2) !important;
  background: linear-gradient(145deg, rgba(25, 35, 18, .88), rgba(8, 14, 7, .76)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), inset 0 0 32px rgba(0, 0, 0, .2), 0 14px 30px rgba(0, 0, 0, .13) !important;
}

.bands-directory-card {
  position: static !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: 15px 22px !important;
  padding: 20px 22px !important;
}

.bands-directory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.bands-directory-head .band-create-cta {
  flex: 0 0 auto;
  width: auto !important;
  min-width: 170px;
}

.bands-directory-card .band-search-field {
  align-self: end;
}

.bands-directory-card .band-search-field input {
  min-height: 44px;
}

.band-directory-list {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

button.band-directory-card {
  position: relative;
  min-height: 84px;
  padding: 11px 14px 11px 11px;
  border-color: rgba(220, 238, 183, .2);
  background: linear-gradient(135deg, rgba(44, 58, 31, .66), rgba(18, 26, 13, .55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

button.band-directory-card::after {
  content: "Öffnen";
  position: absolute;
  top: 9px;
  right: 11px;
  color: rgba(212, 229, 179, .55);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

button.band-directory-card:hover,
button.band-directory-card.is-active {
  border-color: rgba(211, 239, 159, .62);
  background: linear-gradient(135deg, rgba(119, 155, 71, .48), rgba(39, 62, 27, .6));
  box-shadow: inset 4px 0 0 #9bc961, inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 20px rgba(0, 0, 0, .18);
}

button.band-directory-card.is-active::after {
  content: "Ausgewählt";
  color: #dff2b8;
}

.band-directory-avatar {
  width: 60px;
  height: 60px;
  border-radius: 17px;
  border: 1px solid rgba(240, 249, 219, .25);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .25);
}

.band-directory-info {
  padding-right: 48px;
}

.band-directory-info strong {
  color: #f0f5df;
  font-family: "Teko", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: .03em;
}

.band-profile-workspace {
  gap: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

.band-profile-panel {
  gap: 20px !important;
  padding: clamp(20px, 3vw, 30px);
  background: radial-gradient(circle at 12% 12%, rgba(154, 199, 91, .12), transparent 30%);
}

.band-profile-hero {
  grid-template-columns: 142px minmax(0, 1fr) !important;
  gap: clamp(22px, 3vw, 34px) !important;
  align-items: center;
}

.band-profile-avatar {
  width: 142px;
  height: 142px;
  border-radius: 30px;
  border: 1px solid rgba(232, 245, 204, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 28px rgba(0, 0, 0, .28);
}

.band-profile-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 20px;
  align-items: start;
  min-width: 0;
}

.band-profile-info h2 {
  grid-column: 1;
  color: #f1f5e5 !important;
  font-size: clamp(2.5rem, 4.6vw, 3.2rem);
}

.band-profile-stats {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0 !important;
  padding: 7px 11px;
  border: 1px solid rgba(212, 234, 168, .19);
  border-radius: 999px;
  background: rgba(0, 0, 0, .18);
  white-space: nowrap;
}

.band-profile-info > p:not(.band-profile-stats) {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 8px 0 2px;
  font-size: .98rem;
}

.band-profile-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 9px;
  margin-top: 11px;
}

.band-profile-actions .metal-button {
  width: 100%;
  min-height: 42px;
  padding-inline: 11px;
}

.band-profile-members {
  display: flex;
  gap: 8px;
  padding: 17px;
  border: 1px solid rgba(220, 238, 183, .14);
  border-radius: 17px;
  background: rgba(0, 0, 0, .13);
}

.band-profile-members > strong {
  margin-bottom: 3px;
  color: #dfeabd;
  font-family: "Share Tech Mono", monospace;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.band-member-chip {
  min-height: 42px;
  padding: 5px 11px 5px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
  color: #eef4dc !important;
}

.band-member-chip span { color: #eef4dc !important; }

.band-member-chip:hover {
  border-color: rgba(213, 238, 167, .42);
  background: rgba(154, 197, 89, .13);
  text-decoration: none;
}

.band-member-workspace {
  gap: 18px !important;
  padding: clamp(18px, 3vw, 28px);
  border-top: 1px solid rgba(223, 238, 183, .16);
  background: rgba(2, 6, 2, .13);
}

.band-workspace-tabs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px !important;
  padding: 6px;
  border: 1px solid rgba(213, 235, 173, .22);
  border-radius: 15px;
  background: rgba(0, 0, 0, .22);
}

.band-workspace-tabs .metal-button {
  width: 100%;
  min-height: 43px;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.band-workspace-tabs .metal-button:hover {
  background: rgba(214, 236, 174, .08) !important;
}

.band-workspace-tabs .metal-button.is-active {
  border-color: rgba(224, 243, 187, .34) !important;
  background: linear-gradient(180deg, #8ab65a, #4c7736) !important;
  color: #fff !important;
  box-shadow: 0 7px 16px rgba(0, 0, 0, .25) !important;
}

.band-composer {
  gap: 14px !important;
  margin-bottom: 16px !important;
  padding: 18px !important;
  border-radius: 17px !important;
  border-color: rgba(219, 238, 181, .2) !important;
  background: linear-gradient(145deg, rgba(36, 49, 25, .64), rgba(10, 16, 8, .54)) !important;
}

.band-composer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.band-composer-head strong {
  color: #eef5d9;
  font-family: "Teko", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.band-composer-head span {
  color: rgba(224, 236, 198, .66);
  font-size: .74rem;
  text-align: right;
}

.band-composer textarea {
  min-height: 112px;
  padding: 14px 15px;
  border-radius: 13px;
}

.band-composer .timeline-composer-row {
  grid-template-columns: minmax(150px, .65fr) minmax(190px, .8fr) minmax(270px, 1.35fr) minmax(130px, .55fr) !important;
  gap: 12px !important;
}

.band-composer .timeline-composer-row > label {
  min-width: 0;
}

.band-composer .timeline-composer-row input,
.band-composer .timeline-composer-row select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 45px;
}

.band-composer input[type="file"] {
  overflow: hidden;
  padding: 5px;
}

.band-composer input[type="file"]::file-selector-button {
  max-width: 150px;
  min-height: 33px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.band-composer .timeline-composer-row > .metal-button {
  width: 100%;
  min-height: 45px;
  background: linear-gradient(180deg, #92bc5e, #4a7434) !important;
}

#bandTimelineFeed {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
}

.band-profile-workspace .timeline-item {
  gap: 13px;
  padding: 17px;
  border-color: rgba(219, 238, 181, .17);
  background: linear-gradient(145deg, rgba(30, 42, 21, .7), rgba(7, 12, 6, .58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 8px 22px rgba(0, 0, 0, .14);
}

.band-profile-workspace .timeline-item-head .user-avatar {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 14px;
}

.bands-hub-layout > .bands-discover-card {
  gap: 18px !important;
  padding: 22px !important;
}

.bands-discover-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(218, 237, 179, .13);
}

.band-discover-search-grid {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px) !important;
  gap: 12px !important;
}

.band-discover-search-grid .metal-button {
  width: 100%;
  min-height: 44px;
}

.user-directory.band-discover-directory {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)) !important;
  gap: 12px;
}

.discover-card.band-discover-card-item {
  min-height: 154px;
  padding: 15px !important;
  border: 1px solid rgba(216, 236, 177, .2) !important;
  border-radius: 17px !important;
  background: linear-gradient(145deg, rgba(45, 59, 32, .82), rgba(14, 22, 11, .86)) !important;
  color: #edf4db !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 22px rgba(0, 0, 0, .2) !important;
}

.discover-card.band-discover-card-item:hover {
  border-color: rgba(213, 239, 163, .46) !important;
  transform: translateY(-1px);
}

.band-discover-card-item .band-discover-avatar {
  width: 76px;
  height: 76px;
  flex-basis: 76px;
  border-radius: 19px;
  border-color: rgba(235, 246, 211, .3);
  box-shadow: 0 9px 20px rgba(0, 0, 0, .28);
}

.band-discover-card-item .band-discover-name {
  color: #f2f7e5 !important;
  font-size: 1.7rem;
}

.band-discover-card-item .band-discover-stats {
  color: #bdd496 !important;
}

.band-discover-card-item .user-card-body > p {
  color: rgba(237, 244, 219, .76) !important;
}

.band-discover-card-item .relation-tag {
  background: rgba(185, 215, 132, .15);
  color: #dff0bd;
  border: 1px solid rgba(210, 235, 166, .24);
}

@media (max-width: 960px) {
  .bands-directory-card {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  }
  .band-profile-info {
    grid-template-columns: 1fr;
  }
  .band-profile-stats {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 5px !important;
  }
  .band-composer .timeline-composer-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .band-profile-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .bands-directory-card {
    grid-template-columns: 1fr;
  }
  .bands-directory-head,
  .band-composer-head {
    align-items: stretch;
    flex-direction: column;
  }
  .bands-directory-head .band-create-cta {
    width: 100% !important;
  }
  .bands-directory-card .band-search-field,
  .band-directory-list {
    grid-column: 1;
  }
  .band-profile-hero {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    gap: 17px !important;
    align-items: start;
  }
  .band-profile-avatar {
    width: 104px;
    height: 104px;
    border-radius: 24px;
  }
  .band-profile-info h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }
  .band-composer-head span {
    text-align: left;
  }
  .band-discover-search-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  .band-profile-hero,
  .band-composer .timeline-composer-row {
    grid-template-columns: 1fr !important;
  }
  .band-profile-avatar {
    width: 92px;
    height: 92px;
  }
  .band-profile-actions .metal-button,
  .band-workspace-tabs .metal-button {
    width: 100%;
  }
  .band-profile-actions {
    grid-template-columns: 1fr;
  }
  .band-profile-members {
    padding: 13px;
  }
  .band-member-chip {
    flex: 1 1 132px;
  }
  .band-workspace-tabs {
    grid-template-columns: 1fr;
  }
  .user-directory.band-discover-directory {
    grid-template-columns: 1fr !important;
  }
}

/* v1.10.9 · klare Bandaktionen und gemeinsame Social-Absenderlogik */
.band-profile-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.band-profile-actions .metal-button {
  flex: 0 0 auto;
  width: auto !important;
  min-width: 0 !important;
  min-height: 40px;
  padding: 8px 15px !important;
  border-radius: 11px !important;
  font-size: .78rem;
  letter-spacing: .035em;
}

.band-profile-actions .band-profile-primary-action {
  border-color: rgba(213, 238, 166, .5) !important;
  background: linear-gradient(180deg, #91bc5e, #4d7836) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 6px 13px rgba(0, 0, 0, .24) !important;
}

.band-profile-actions .band-profile-follow-action,
.band-profile-actions .band-profile-cloud-action {
  border-color: rgba(214, 234, 177, .24) !important;
  background: linear-gradient(180deg, rgba(108, 122, 86, .92), rgba(47, 57, 38, .96)) !important;
  color: #edf3dd !important;
}

.band-profile-actions .band-profile-edit-action {
  margin-left: auto;
  border-color: rgba(209, 230, 170, .2) !important;
  background: rgba(0, 0, 0, .18) !important;
  color: #dce7c5 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02) !important;
}

.band-profile-actions .metal-button:hover {
  border-color: rgba(222, 242, 184, .58) !important;
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.social-composer .timeline-composer-row {
  grid-template-columns: minmax(145px, .65fr) minmax(185px, .78fr) minmax(255px, 1.3fr) minmax(120px, .5fr) !important;
  gap: 11px !important;
}

.social-composer .timeline-composer-row > label,
.social-composer .timeline-composer-row input,
.social-composer .timeline-composer-row select {
  min-width: 0;
  max-width: 100%;
}

.social-composer .timeline-composer-row input,
.social-composer .timeline-composer-row select,
.social-composer .timeline-composer-row > .metal-button {
  width: 100%;
  min-height: 45px;
}

.band-composer .timeline-composer-row {
  grid-template-columns: minmax(280px, 1fr) minmax(130px, auto) !important;
  gap: 12px !important;
}

.band-composer .timeline-composer-row > .metal-button {
  width: auto;
  min-width: 150px;
}

@media (max-width: 960px) {
  .social-composer .timeline-composer-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .band-profile-actions .band-profile-edit-action {
    margin-left: 0;
  }
  .band-composer .timeline-composer-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
}

@media (max-width: 620px) {
  .social-composer .timeline-composer-row,
  .band-composer .timeline-composer-row {
    grid-template-columns: 1fr !important;
  }
  .band-composer .timeline-composer-row > .metal-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .band-profile-actions .metal-button {
    flex: 1 1 100%;
    width: 100% !important;
  }
}

/* v1.10.12 · Cloud-Inhalte, Links, Zähler und eindeutige Bandfreigaben */
.timeline-card .timeline-item-head .user-avatar,
.band-profile-workspace .timeline-item-head .user-avatar {
  background-image: var(--timeline-avatar-image, linear-gradient(135deg, #e7f7c7, #9fbd68)) !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
.timeline-card .timeline-item-head .user-avatar.is-band-avatar,
.band-profile-workspace .timeline-item-head .user-avatar.is-band-avatar {
  border-color: rgba(222, 242, 173, .72) !important;
  box-shadow: 0 0 0 2px rgba(86, 119, 52, .22), 0 7px 18px rgba(15, 23, 42, .16) !important;
}
.cloud-browser-heading-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.cloud-add-folder-button {
  border-color: rgba(211, 239, 157, .5) !important;
  background: linear-gradient(180deg, #668843, #304521) !important;
}
.cloud-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  min-height: 24px;
  margin-left: 5px;
  padding: 2px 7px;
  border: 1px solid rgba(223, 238, 183, .28);
  border-radius: 999px;
  background: rgba(223, 238, 183, .12);
  color: #eaf7ca;
  font: 800 .72rem "Share Tech Mono", monospace;
  letter-spacing: 0;
  vertical-align: middle;
}
.cloud-pathbar #cloudPathStats {
  grid-column: 2;
  color: rgba(233, 245, 205, .7);
  line-height: 1.35;
}
.cloud-link-section {
  display: grid;
  gap: 9px;
  min-width: 0;
}
.cloud-link-form {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) minmax(260px, 1fr) auto;
  gap: 9px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(223, 238, 183, .16);
  border-radius: 13px;
  background: rgba(223, 238, 183, .055);
}
.cloud-link-form label { min-width: 0; }
.cloud-link-form input { width: 100%; min-width: 0; }
.cloud-check-row.is-link > span::before {
  content: "↗";
  margin-right: 8px;
  color: #d9eeaa;
}
.cloud-content-band-picker {
  display: grid;
  grid-template-columns: minmax(210px, .72fr) minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(223, 238, 183, .32);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(104, 135, 66, .2), rgba(16, 24, 12, .72));
}
.cloud-content-band-picker[hidden] { display: none !important; }
.cloud-content-band-picker > div:first-child { display: grid; gap: 4px; align-self: center; }
.cloud-content-band-picker small { color: rgba(233, 245, 205, .7); line-height: 1.35; }
.cloud-content-band-picker select { min-height: 96px; }
.cloud-content-band-actions { display: grid; gap: 7px; }

@media (max-width: 980px) {
  .cloud-link-section { grid-column: 1 / -1; }
  .cloud-content-band-picker { grid-template-columns: 1fr; }
  .cloud-content-band-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .cloud-browser-heading-actions,
  .cloud-content-band-actions { display: grid; grid-template-columns: 1fr; }
  .cloud-link-form { grid-template-columns: 1fr; }
  .cloud-pathbar #cloudPathStats { grid-column: 1 / -1; }
}

/* v1.10.13 · echte User- und Band-Avatare in der Social-Timeline */
.timeline-card .timeline-item-head .timeline-avatar,
.band-profile-workspace .timeline-item-head .timeline-avatar {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}
.timeline-card .timeline-item-head .timeline-avatar-image,
.band-profile-workspace .timeline-item-head .timeline-avatar-image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.timeline-card .timeline-item-head .timeline-avatar-fallback,
.band-profile-workspace .timeline-item-head .timeline-avatar-fallback {
  position: relative;
  z-index: 1;
  color: inherit !important;
  line-height: 1 !important;
}
.timeline-avatar.has-image .timeline-avatar-fallback {
  visibility: hidden !important;
}

/* v1.10.14 · Ordner direkt in der Cloud-Struktur verschieben */
.cloud-tree-row.is-draggable {
  position: relative;
  cursor: grab !important;
}
.cloud-tree-row.is-draggable:active,
.cloud-tree-row.is-dragging {
  cursor: grabbing !important;
}
.cloud-tree-row.is-dragging {
  opacity: .52;
  transform: scale(.985);
}
.cloud-tree-row.is-draggable:not(.is-active)::after {
  content: '⋮⋮';
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(218, 239, 172, .42);
  font-size: .8rem;
  letter-spacing: -3px;
  pointer-events: none;
}

/* v1.10.14 · Bandfreigaben unter Songs & Links */
[data-band-pane="songs"] {
  display: grid;
  gap: 18px;
}
[data-band-pane="songs"][hidden] {
  display: none !important;
}
.band-shared-section {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(219, 238, 181, .16);
  border-radius: 15px;
  background: rgba(7, 12, 5, .32);
}
.band-shared-section h3 {
  margin: 0;
  color: #eef5d9;
  font-family: "Teko", sans-serif;
  font-size: 1.35rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.band-shared-content {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: rgba(232, 243, 207, .72);
}
.band-share-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(219, 238, 181, .14);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(35, 48, 24, .62), rgba(10, 16, 8, .54));
}
.band-share-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(189, 218, 133, .1);
}
.band-share-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.band-share-info strong,
.band-share-info small {
  overflow-wrap: anywhere;
}
.band-share-info strong { color: #edf6d2; }
.band-share-info small { color: rgba(232, 243, 207, .66); }
.band-share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

/* v1.10.14 · drei gleichmäßig angeordnete Statusleuchten */
.auth-status-bank {
  display: grid !important;
  grid-template-columns: repeat(3, 74px) !important;
  gap: 10px !important;
  align-items: start;
  justify-content: center;
}
.auth-status-bank .lamp,
.auth-status-bank .notification-lamp {
  grid-template-rows: 27px 16px;
  align-items: center;
  justify-items: center;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.auth-status-bank .lamp em,
.auth-status-bank .notification-lamp em {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
  font-size: .62rem;
  line-height: 1;
  letter-spacing: 0;
}
.auth-status-bank .lamp-notification-badge {
  right: 4px;
}

@media (max-width: 620px) {
  .auth-status-bank {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .band-share-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .band-share-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .band-share-actions .tiny-button { flex: 1; }
}

/* v1.10.15 · freigegebene Ordner einzeln in der Cloud durchsuchen */
.device-frame.has-shared-cloud-view #cloudUploadTab,
.device-frame.has-shared-cloud-view #cloudAddFolder,
.device-frame.has-shared-cloud-view #cloudAddSong,
.device-frame.has-shared-cloud-view .cloud-link-form,
.device-frame.has-shared-cloud-view .cloud-selection-bar,
.device-frame.has-shared-cloud-view .cloud-content-band-picker,
.device-frame.has-shared-cloud-view .cloud-shared-card,
.device-frame.has-shared-cloud-view [data-cloud-pane="upload"] {
  display: none !important;
}
.device-frame.has-shared-cloud-view .cloud-mode-switch {
  grid-template-columns: 1fr !important;
}
.device-frame.has-shared-cloud-view .cloud-check-row.is-readonly {
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "name action"
    "meta action" !important;
  cursor: default !important;
}
.device-frame.has-shared-cloud-view .cloud-check-row.is-readonly > span { grid-area: name; }
.device-frame.has-shared-cloud-view .cloud-check-row.is-readonly > small { grid-area: meta; }
.device-frame.has-shared-cloud-view .cloud-pathbar {
  border-color: rgba(221, 240, 181, .34) !important;
  background: linear-gradient(180deg, rgba(103, 132, 65, .2), rgba(18, 27, 13, .76)) !important;
}

@media (max-width: 700px) {
  .device-frame.has-shared-cloud-view .cloud-check-row.is-readonly {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "name"
      "meta"
      "action" !important;
  }
}

/* v1.10.17 · kompakter Account-Header, mobiles Raster und Bandtermine */
.mobile-menu-toggle { display: none; }
.header-account-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  min-width: 58px !important;
  min-height: 58px;
  padding: 5px !important;
  border-radius: 17px !important;
}
.header-user-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(230, 245, 195, .36);
  border-radius: 14px;
  color: #eff8d4;
  background: linear-gradient(145deg, #596d42, #202c19) center / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 5px 14px rgba(0,0,0,.3);
  font-family: "Share Tech Mono", monospace;
  font-size: 1.15rem;
  font-weight: 800;
}
.header-user-avatar.has-image > span { visibility: hidden; }
.header-user-avatar svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2; }
.guest-login-button {
  width: 58px !important;
  min-width: 58px !important;
  color: #eff8d4 !important;
  background: linear-gradient(180deg, rgba(62, 77, 45, .96), rgba(21, 29, 16, .96)) !important;
}
.profile-menu-chevron { margin-right: 3px; }
.login-popover { padding-top: 42px !important; }
.login-popover-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border: 1px solid rgba(231, 245, 199, .3);
  border-radius: 50%;
  color: #f2f8dc;
  background: rgba(8, 12, 6, .64);
  cursor: pointer;
  font: 700 1.35rem/1 Arial, sans-serif;
}
.login-register-toggle {
  width: auto;
  margin: 10px auto 0;
  padding: 3px 2px;
  border: 0;
  color: #dff0ba;
  background: transparent;
  cursor: pointer;
  font: 700 .84rem/1.3 "Share Tech Mono", monospace;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.register-panel { margin-top: 4px; }
.register-panel[hidden] { display: none !important; }
.boot-card { width: min(640px, calc(100vw - 24px)) !important; overflow: hidden; }
.boot-title { width: 100%; overflow: hidden; }
.boot-title img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; max-height: min(230px, 34vh) !important; object-fit: contain !important; }

.band-workspace-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
[data-band-pane="events"] { min-width: 0; }
[data-band-pane="events"][hidden] { display: none !important; }
.band-event-section,
.band-event-form,
.band-event-list { display: grid; gap: 14px; min-width: 0; }
.band-event-form[hidden] { display: none !important; }
.band-event-form {
  padding: 18px;
  border: 1px solid rgba(219, 238, 181, .2);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(36, 49, 25, .64), rgba(10, 16, 8, .54));
}
.band-event-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.band-event-title-field { grid-column: span 2; }
.band-event-location-field,
.band-event-description-field,
.band-event-image-field { grid-column: span 2; }
.band-event-description-field textarea { min-height: 92px; resize: vertical; }
.band-event-image-field small { color: rgba(231, 243, 205, .66); line-height: 1.35; }
.band-event-public-field,
.band-event-remove-image {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid rgba(219, 238, 181, .16);
  border-radius: 11px;
  background: rgba(219, 238, 181, .055);
}
.band-event-public-field input,
.band-event-remove-image input { flex: 0 0 auto; width: 18px; height: 18px; }
.band-event-public-field span,
.band-event-remove-image span { text-transform: none; }
.band-event-form-actions,
.band-event-card-actions,
.band-event-card-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.band-event-note { padding: 10px 12px; border-left: 3px solid #a9cc74; color: rgba(235, 246, 211, .76); background: rgba(169, 204, 116, .07); line-height: 1.45; }
.band-event-card {
  display: grid;
  grid-template-columns: minmax(170px, .32fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(219, 238, 181, .18);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(38, 52, 26, .66), rgba(8, 14, 6, .58));
}
.band-event-card-image { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.band-event-card-body { display: grid; align-content: center; gap: 8px; min-width: 0; padding: 16px; }
.band-event-card-body h3 { margin: 0; color: #f0f7dc; font-family: "Teko", sans-serif; font-size: 1.55rem; line-height: 1; }
.band-event-card-body p { margin: 0; color: rgba(235, 246, 211, .78); white-space: pre-wrap; line-height: 1.45; }
.band-event-card-type { color: #b5d380; font: 700 .72rem/1 "Share Tech Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.band-event-card-date { color: #e9f5cf; }
.band-event-card-location { color: #bfd49c; }
.band-event-card-badges span { padding: 4px 7px; border-radius: 999px; color: #cfe4aa; background: rgba(207, 228, 170, .09); font-size: .72rem; }

@media (max-width: 700px) {
  .app-shell { padding-inline: 3px !important; }
  .device-frame { padding-inline: 7px !important; }
  .top-rail {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 58px !important;
    gap: 8px !important;
    align-items: start !important;
    width: 100%;
  }
  .brand-block-logo {
    grid-column: 1;
    width: 100% !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
  }
  .brand-logo { width: min(100%, 300px) !important; max-height: 104px !important; object-position: center !important; }
  .brand-code { width: 100%; margin-top: 0; text-align: center; font-size: .68rem; }
  .top-actions {
    grid-column: 2;
    display: grid !important;
    grid-template-columns: 58px !important;
    justify-items: end;
    align-content: start;
    gap: 7px !important;
    width: 58px !important;
    min-width: 58px;
  }
  .header-profile-menu,
  .header-account-button,
  .guest-login-button { width: 58px !important; min-width: 58px !important; }
  .header-account-button { min-height: 54px; }
  .header-user-avatar { width: 44px; height: 44px; }
  .profile-menu-chevron { position: absolute; right: 3px; bottom: 4px; margin: 0; }
  .auth-status-bank {
    grid-template-columns: 58px !important;
    gap: 5px !important;
    width: 58px !important;
    padding: 5px !important;
    border-radius: 14px !important;
  }
  .auth-status-bank .lamp,
  .auth-status-bank .notification-lamp {
    grid-template-rows: 24px 11px !important;
    width: 48px !important;
    min-width: 48px !important;
  }
  .auth-status-bank .lamp span { width: 21px; height: 21px; }
  .auth-status-bank .lamp em,
  .auth-status-bank .notification-lamp em { font-size: .46rem !important; }
  .auth-status-bank .lamp-notification-badge { right: 1px; top: 0; }
  .mobile-menu-toggle {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
    width: 100%;
    min-height: 48px;
    margin: 10px 0 0;
    padding: 8px 11px;
    border: 1px solid rgba(0,0,0,.54);
    border-radius: 13px;
    color: #ecf4d6;
    background: linear-gradient(180deg, rgba(68, 82, 50, .96), rgba(28, 36, 21, .96));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 4px 10px rgba(0,0,0,.23);
    cursor: pointer;
    text-align: left;
  }
  .mobile-menu-toggle span { color: #b8ca96; font: 700 .62rem/1 "Share Tech Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
  .mobile-menu-toggle b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; text-transform: uppercase; }
  .mobile-menu-toggle i {
    display: block;
    width: 0;
    height: 0;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-top: 10px solid #eef7d6;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.45));
    transform-origin: 50% 38%;
    transition: transform .16s ease;
  }
  .mobile-menu-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
  .module-switch { display: none !important; margin: 6px 0 12px !important; overflow: visible !important; }
  .module-switch.is-mobile-open { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 7px !important; }
  .module-switch .module-btn { width: 100% !important; min-width: 0 !important; min-height: 42px !important; }
  .strings-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .string-slot { min-width: 0; padding: 8px !important; gap: 7px; }
  .string-head { gap: 4px; }
  .string-head small { font-size: .58rem; }
  .string-head b { font-size: clamp(1rem, 5.5vw, 1.35rem); }
  .string-frequency { font-size: .76rem; }
  .tone-select { width: 100%; min-width: 0; padding-inline: 6px; font-size: .72rem; }
  .string-actions { grid-template-columns: minmax(0, 1fr) 34px; gap: 6px; }
  .string-play { min-width: 0; font-size: .72rem; }
  .string-remove { min-width: 34px; }
  .instrument-panel,
  .view-panel,
  .field-card,
  .mini-panel,
  .meter-stack,
  .string-card { width: 100%; min-width: 0; margin-inline: auto; }
  .band-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-event-title-field,
  .band-event-location-field,
  .band-event-description-field,
  .band-event-image-field { grid-column: 1 / -1; }
  .band-event-form { padding: 12px; }
  .band-event-card { grid-template-columns: 1fr; }
  .band-event-card-image { min-height: 210px; max-height: 320px; }
  .band-event-form-actions .metal-button { flex: 1 1 140px; }
  .login-popover-close { width: 32px !important; }
  .login-register-toggle { width: auto !important; }
}

@media (max-width: 410px) {
  .band-workspace-tabs { grid-template-columns: 1fr !important; }
  .band-event-grid { grid-template-columns: 1fr; }
  .band-event-grid > * { grid-column: 1 !important; }
}

/* v1.10.18 · Terminübersicht, Aktionsmenüs und Rechtsfooter */
.band-workspace-tabs .metal-button { position: relative; }
.band-event-count-badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 7px;
  padding: 0 6px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: #ef4961;
  color: #fff;
  font: 900 11px/1 Arial, sans-serif;
  box-shadow: 0 3px 9px rgba(0,0,0,.38), 0 0 10px rgba(239,73,97,.3);
}
.band-event-count-badge[hidden] { display: none !important; }
.band-event-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(219,238,181,.18);
  border-radius: 15px;
  background: rgba(219,238,181,.055);
}
.band-event-toolbar > div { display: grid; gap: 4px; }
.band-event-toolbar strong { color: #edf6d4; font: 700 1rem/1.2 "Share Tech Mono", monospace; text-transform: uppercase; }
.band-event-toolbar span { color: rgba(235,246,211,.68); line-height: 1.4; }
.band-event-add-button { flex: 0 0 auto; }
.band-event-modal-panel { width: min(940px, calc(100vw - 28px)) !important; max-height: min(88vh, 820px); overflow: auto; }
.band-event-modal .band-event-form { padding: 0; border: 0; background: transparent; }
.band-event-modal[hidden] { display: none !important; }
.notification-band_events .notification-item-icon { background: linear-gradient(145deg,#a86a42,#6b3526); }
.band-profile-actions > .more-menu { margin-left: 2px; }
.band-profile-actions > .more-menu summary { min-width: 40px; min-height: 40px; font-size: 1.25rem; }
.legal-footer-links {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px 13px;
  padding-top: 11px;
  border-top: 1px solid rgba(245,231,178,.11);
  font-size: .68rem;
  letter-spacing: .04em;
}
.legal-footer-links a { color: rgba(232,238,202,.76); text-decoration: none; }
.legal-footer-links a:hover { color: #f2f8dc; text-decoration: underline; }
.legal-footer-links .footer-donate { padding: 5px 8px; border: 1px solid rgba(215,235,173,.2); border-radius: 8px; background: rgba(215,235,173,.07); }

@media (max-width: 700px) {
  .band-event-toolbar { align-items: stretch; }
  .band-event-toolbar .band-event-add-button { min-width: 108px; }
  .band-event-modal-panel { width: calc(100vw - 14px) !important; max-height: 92vh; padding: 13px !important; }
  .legal-footer-links { gap: 8px; }
}

@media (max-width: 430px) {
  .band-event-toolbar { display: grid; grid-template-columns: 1fr; }
  .band-event-toolbar .band-event-add-button { width: 100%; }
}

/* v1.10.19 · aufgeräumter Kopf/Fuß, Sprachwahl und zentrale Hilfe */
.account-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.account-card-heading .card-title { margin: 0; }
.help-faq-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  min-width: 40px !important;
  height: 40px;
  min-height: 40px !important;
  padding: 0 !important;
  border: 1px solid rgba(229, 242, 197, .42);
  border-radius: 50%;
  color: #f2f7de;
  background: linear-gradient(180deg, #64784a, #26331d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 5px 13px rgba(0,0,0,.3);
  cursor: pointer;
  font: 900 1.2rem/1 Arial, sans-serif;
}
.help-faq-button:hover,
.help-faq-button:focus-visible { border-color: #dff0b8; background: linear-gradient(180deg, #7d9955, #334626); }
.profile-grid label small { margin-top: 5px; color: rgba(230, 240, 207, .64); font-size: .68rem; line-height: 1.35; text-transform: none; }
.help-faq-modal[hidden] { display: none !important; }
.help-faq-panel {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  width: min(1020px, calc(100vw - 30px)) !important;
  height: min(880px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px) !important;
  overflow: hidden !important;
}
.help-faq-head { align-items: flex-start; }
.help-faq-search { display: grid; gap: 6px; margin: 2px 0 12px; }
.help-faq-search span { color: #cbdba9; font: 800 .7rem/1.2 "Share Tech Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.help-faq-search input { width: 100%; }
.help-faq-empty { margin: 4px 0 12px; padding: 12px; border-radius: 10px; color: #ecd6a8; background: rgba(180, 117, 48, .12); }
.help-faq-list {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  padding-right: 5px;
  overflow: auto;
}
.help-faq-list details {
  border: 1px solid rgba(220, 238, 183, .18);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(47, 61, 34, .64), rgba(12, 18, 9, .72));
}
.help-faq-list details[hidden] { display: none !important; }
.help-faq-list summary {
  position: relative;
  padding: 13px 42px 13px 14px;
  color: #edf5d6;
  cursor: pointer;
  font: 800 .88rem/1.25 "Share Tech Mono", monospace;
  text-transform: uppercase;
  list-style: none;
}
.help-faq-list summary::-webkit-details-marker { display: none; }
.help-faq-list summary::after { content: "+"; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #bada86; font: 900 1.15rem/1 Arial, sans-serif; }
.help-faq-list details[open] summary::after { content: "−"; }
.help-faq-list details > div { display: grid; gap: 9px; padding: 0 14px 14px; color: rgba(235, 243, 216, .78); line-height: 1.5; }
.help-faq-list p { margin: 0; }

.device-footer { align-items: center; gap: 12px !important; }
.device-footer-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  flex: 1 0 100%;
  width: 100%;
  padding: 0 4px;
  color: rgba(229,232,195,.74);
  font-weight: 700;
  letter-spacing: .07em;
  text-align: center;
  text-transform: uppercase;
}
.device-footer-status span { min-width: 0; }
.device-footer-status span:first-child { text-align: left; }
.device-footer-status span:last-child { text-align: right; }
.legal-footer-links {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 16px !important;
  width: 100%;
  padding-top: 12px !important;
}
.footer-legal-group,
.footer-support-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.footer-legal-group a { padding: 7px 4px; }
.footer-support-group { justify-content: flex-end; }
.legal-footer-links .footer-support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(215,235,173,.24);
  border-radius: 9px;
  color: rgba(239, 246, 218, .88);
  background: linear-gradient(180deg, rgba(85, 102, 62, .28), rgba(25, 34, 19, .42));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  text-decoration: none;
  white-space: nowrap;
}
.legal-footer-links .footer-support-button:hover { border-color: rgba(224,241,190,.48); color: #f2f8dc; background: rgba(130, 156, 91, .18); text-decoration: none; }

@media (max-width: 700px) {
  .top-rail {
    grid-template-columns: minmax(0, 1fr) 54px !important;
    gap: 7px !important;
  }
  .brand-block-logo { padding: 4px 0 0 !important; }
  .brand-logo { width: min(100%, 278px) !important; max-height: 92px !important; }
  .brand-code { font-size: .61rem !important; letter-spacing: .08em !important; }
  .top-actions { grid-template-columns: 54px !important; width: 54px !important; min-width: 54px !important; gap: 5px !important; }
  .header-profile-menu,
  .header-account-button,
  .guest-login-button { width: 54px !important; min-width: 54px !important; }
  .header-account-button { min-height: 50px !important; border-radius: 14px !important; }
  .header-user-avatar { width: 40px; height: 40px; border-radius: 12px; }
  .auth-status-bank { grid-template-columns: 50px !important; gap: 2px !important; width: 54px !important; padding: 4px 2px !important; }
  .auth-status-bank .lamp,
  .auth-status-bank .notification-lamp { grid-template-rows: 21px 10px !important; width: 50px !important; min-width: 50px !important; height: 34px !important; min-height: 34px !important; }
  .auth-status-bank .lamp span { width: 18px !important; height: 18px !important; }
  .auth-status-bank .lamp em,
  .auth-status-bank .notification-lamp em { font-size: .42rem !important; }
  .mobile-menu-toggle {
    position: relative;
    z-index: 3;
    width: calc(100% - 62px) !important;
    margin-top: -49px !important;
    margin-bottom: 9px !important;
  }
  .header-profile-popover { position: fixed !important; top: 66px !important; right: 8px !important; left: auto !important; width: min(310px, calc(100vw - 16px)) !important; max-height: calc(100dvh - 80px); overflow: auto; }
  .help-faq-panel { width: calc(100vw - 12px) !important; height: calc(100dvh - 12px); max-height: calc(100dvh - 12px) !important; padding: 13px !important; }
  .help-faq-head { gap: 8px; }
  .help-faq-head .metal-button { min-width: 92px; padding-inline: 8px; }
  .help-faq-list summary { padding: 12px 38px 12px 12px; font-size: .76rem; }
  .help-faq-list details > div { padding: 0 12px 12px; font-size: .82rem; }
  .device-footer { padding-top: 12px !important; }
  .device-footer-status { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; padding: 0 6px 11px; font-size: .66rem; border-bottom: 1px solid rgba(245,231,178,.1); }
  .device-footer-status span,
  .device-footer-status span:first-child,
  .device-footer-status span:last-child { text-align: center; }
  .legal-footer-links { grid-template-columns: 1fr !important; gap: 10px !important; border-top: 0 !important; padding-top: 0 !important; }
  .footer-legal-group { gap: 18px; }
  .footer-support-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 7px; }
  .legal-footer-links .footer-support-button { min-width: 0; padding: 7px 5px; font-size: .58rem; white-space: normal; text-align: center; }
}

@media (max-width: 430px) {
  .footer-support-group { grid-template-columns: 1fr; }
  .legal-footer-links .footer-support-button { min-height: 38px; font-size: .66rem; }
}

/* v1.10.20 · Hauptmenü vor und nach Login optisch identisch */
.is-guest .module-switch .module-btn.requires-auth,
.is-guest .module-switch .module-btn.requires-auth.is-locked {
  opacity: 1 !important;
  filter: none !important;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    0 4px 0 rgba(0,0,0,.3),
    0 8px 16px rgba(0,0,0,.25);
}
.is-guest .module-switch .module-btn.requires-auth:hover {
  transform: none;
  filter: none !important;
}
.is-guest .module-switch .module-btn[hidden] {
  display: none !important;
}

/* v1.10.20 · Lyrics-Freitext und Vollbild-Viewer */
.lyrics-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.lyrics-heading-row .tone-hint { margin: 5px 0 0; }
.lyrics-viewer-open { flex: 0 0 auto; }
.lyrics-plain-panel {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid rgba(219,235,171,.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(24,34,16,.72), rgba(7,12,5,.56));
}
.lyrics-plain-panel label { display: grid; gap: 8px; }
.lyrics-plain-panel label > span { color: var(--cream); font-weight: 800; letter-spacing: .04em; }
.lyrics-plain-panel textarea {
  width: 100%;
  min-height: 300px;
  resize: vertical;
  padding: 16px;
  border: 1px solid rgba(213,228,166,.34);
  border-radius: 14px;
  background: rgba(5,9,4,.82);
  color: var(--cream);
  font: 500 1rem/1.62 var(--font-ui);
  tab-size: 2;
}
.lyrics-plain-panel small { color: rgba(238,246,211,.7); }
.lyrics-viewer-modal[hidden] { display: none !important; }
.lyrics-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 21000;
  padding: 0;
  overflow: hidden;
  background: #050804;
}
.lyrics-viewer-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100dvh;
  color: #f1f7dc;
  background:
    radial-gradient(circle at 50% 0, rgba(143,181,83,.13), transparent 42%),
    linear-gradient(180deg, #11190c, #050804 72%);
}
.lyrics-viewer-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto 48px;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  padding: 12px clamp(14px, 3vw, 34px);
  border-bottom: 1px solid rgba(215,235,173,.24);
  background: rgba(10,15,7,.94);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.lyrics-viewer-song { display: grid; gap: 2px; min-width: 0; }
.lyrics-viewer-song span { color: #aaca72; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.lyrics-viewer-song strong { overflow: hidden; color: #f2f7de; font-size: clamp(1rem, 2vw, 1.45rem); text-overflow: ellipsis; white-space: nowrap; }
.lyrics-viewer-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 18px; }
.lyrics-viewer-controls label { display: grid; grid-template-columns: auto minmax(90px, 150px) auto; align-items: center; gap: 8px; margin: 0; }
.lyrics-viewer-controls label > span { font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; }
.lyrics-viewer-controls input[type="range"] { width: min(150px, 18vw); }
.lyrics-viewer-controls output { min-width: 54px; color: #bddd84; font-variant-numeric: tabular-nums; }
.lyrics-viewer-controls .lyrics-viewer-toggle { display: flex; gap: 7px; }
.lyrics-viewer-close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(239,246,218,.4);
  border-radius: 50%;
  color: #f4f8e3;
  background: rgba(62,76,42,.72);
  font: 400 2rem/1 sans-serif;
  cursor: pointer;
}
.lyrics-viewer-close:hover,
.lyrics-viewer-close:focus-visible { background: #a83939; outline: 2px solid rgba(255,255,255,.52); outline-offset: 2px; }
.lyrics-viewer-scroll {
  min-height: 0;
  overflow: auto;
  scroll-behavior: auto;
  touch-action: none;
  overscroll-behavior: contain;
  scrollbar-color: #91b45b #11190c;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.lyrics-viewer-scroll.is-dragging { cursor: grabbing; }
.lyrics-viewer-scroll pre {
  width: min(1100px, calc(100% - 10vw));
  min-height: calc(100dvh - 86px);
  margin: 0 auto;
  padding: clamp(32px, 7vh, 90px) 0 45vh;
  color: #f3f7e4;
  font-family: var(--font-ui);
  font-size: 34px;
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: .01em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 12px rgba(0,0,0,.62);
  user-select: none;
  -webkit-user-select: none;
}
@media (max-width: 760px) {
  .lyrics-heading-row { display: grid; grid-template-columns: 1fr; }
  .lyrics-viewer-open { width: 100%; }
  .lyrics-plain-panel textarea { min-height: 240px; }
  .lyrics-viewer-header { grid-template-columns: minmax(0, 1fr) 44px; align-items: start; gap: 10px; min-height: 0; padding: 10px; }
  .lyrics-viewer-song { padding-right: 4px; }
  .lyrics-viewer-controls { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: 1fr; width: 100%; gap: 8px; }
  .lyrics-viewer-controls label { grid-template-columns: 82px minmax(0, 1fr) 58px; width: 100%; }
  .lyrics-viewer-controls input[type="range"] { width: 100%; }
  .lyrics-viewer-controls .lyrics-viewer-toggle { grid-template-columns: auto 1fr; }
  .lyrics-viewer-close { grid-column: 2; grid-row: 1; width: 42px; height: 42px; }
  .lyrics-viewer-scroll pre { width: calc(100% - 28px); min-height: 100%; padding-top: 34px; }
}

/* v1.10.20 · Account und Admin sauber über die verfügbare Breite */
#view-account .account-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px;
}
#view-account .account-card,
#view-account .admin-card,
#view-account .social-wide-card {
  grid-column: 1 / -1 !important;
  width: 100%;
  min-width: 0;
  padding: clamp(15px, 2vw, 24px);
}
#view-account .card-title { overflow-wrap: anywhere; }
#view-account label,
#view-account fieldset,
#view-account .notification-settings-head > *,
#view-account .notification-settings-foot > * { min-width: 0; }
#view-account input,
#view-account select,
#view-account textarea { min-width: 0; width: 100%; }
#view-account select { text-overflow: ellipsis; }
#view-account button,
#view-account .metal-button,
#view-account .as-link,
#view-account .tiny-button,
#view-account .logout-link {
  max-width: 100%;
  min-width: 0;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  line-height: 1.2;
  text-align: center;
}

/* v1.10.21 · Lyrics/Textnotizen liegen in der Song-Cloud */
.cloud-text-notes-panel {
  display: grid;
  gap: 13px;
  margin: 14px 0 18px;
  padding: clamp(13px, 2vw, 19px);
  border: 1px solid rgba(202,229,143,.34);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(73,98,43,.28), rgba(9,15,6,.7));
}
.cloud-text-notes-panel[hidden],
.cloud-text-notes-editor[hidden] { display: none !important; }
.cloud-text-notes-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cloud-text-notes-heading > div { display: grid; gap: 3px; min-width: 0; }
.cloud-text-notes-heading strong { color: var(--cream); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.cloud-text-notes-heading small { color: rgba(238,246,211,.72); }
.cloud-text-notes-editor { display: grid; grid-template-columns: minmax(180px, .32fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.cloud-text-notes-editor label { display: grid; gap: 6px; min-width: 0; }
.cloud-text-notes-editor .cloud-text-content { grid-column: 1 / -1; }
.cloud-text-notes-editor textarea {
  width: 100%;
  min-height: 260px;
  resize: vertical;
  font: 500 1rem/1.55 var(--font-ui);
}
.cloud-text-notes-editor .metal-button { min-height: 42px; }
.lyrics-viewer-play { min-width: 96px; }
.lyrics-viewer-scroll > iframe {
  display: block;
  width: 100%;
  height: calc(100dvh - 86px);
  border: 0;
  background: #fff;
}
.lyrics-viewer-scroll > img {
  display: block;
  max-width: min(1200px, calc(100% - 30px));
  max-height: calc(100dvh - 120px);
  margin: 16px auto;
  object-fit: contain;
}
.lyrics-viewer-scroll > audio,
.lyrics-viewer-scroll > video {
  display: block;
  width: min(1000px, calc(100% - 30px));
  max-height: calc(100dvh - 130px);
  margin: clamp(24px, 8vh, 90px) auto;
}
.cloud-viewer-fallback {
  width: min(680px, calc(100% - 30px));
  margin: clamp(35px, 12vh, 130px) auto;
  padding: 24px;
  border: 1px solid rgba(215,235,173,.25);
  border-radius: 16px;
  background: rgba(19,28,13,.8);
  text-align: center;
}
.lyrics-viewer-scroll > [hidden] { display: none !important; }
@media (max-width: 760px) {
  .cloud-text-notes-heading,
  .cloud-text-notes-editor { grid-template-columns: 1fr; display: grid; }
  .cloud-text-notes-heading .metal-button,
  .cloud-text-notes-editor .metal-button { width: 100%; }
  .lyrics-viewer-play { width: 100%; }
  .lyrics-viewer-scroll > iframe { height: 100%; min-height: 72dvh; }
}

/* v1.10.21 · Administration als eigenständiges Modul */
#view-admin .account-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px;
}
#view-admin .account-card,
#view-admin .admin-card,
#view-admin .social-wide-card {
  grid-column: 1 / -1 !important;
  width: 100%;
  min-width: 0;
  padding: clamp(15px, 2vw, 24px);
}
#view-admin label,
#view-admin fieldset,
#view-admin input,
#view-admin select,
#view-admin textarea { min-width: 0; max-width: 100%; }
#view-admin input,
#view-admin select,
#view-admin textarea { width: 100%; }
#view-admin button,
#view-admin .metal-button,
#view-admin .tiny-button {
  max-width: 100%;
  min-width: 0;
  white-space: normal !important;
  overflow-wrap: anywhere;
  line-height: 1.2;
  text-align: center;
}
#view-admin .admin-create-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
#view-admin .admin-create-grid > button { width: 100%; }
#view-admin .admin-user-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#view-admin .selected-admin-user-editor { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
#view-admin .admin-editor-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
#view-admin .admin-editor-actions > * { width: 100%; }
#view-admin #adminMailCard code { display: inline-block; max-width: 100%; overflow-wrap: anywhere; word-break: break-all; }
#view-admin .cron-report-box textarea { min-height: 260px; }
@media (max-width: 980px) {
  #view-admin .admin-create-grid,
  #view-admin .selected-admin-user-editor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  #view-admin .admin-create-grid,
  #view-admin .admin-user-picker-grid,
  #view-admin .selected-admin-user-editor,
  #view-admin .admin-editor-actions { grid-template-columns: minmax(0, 1fr) !important; }
  #view-admin .admin-group-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #view-admin .admin-group-row .mini-list-row { grid-column: 1 / -1; min-width: 0; }
  #view-admin .admin-group-row .tiny-button { width: 100%; min-width: 0; }
}
#view-account .metal-button,
#view-account .as-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 13px;
}
#view-account .logout-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(228,215,172,.24);
  border-radius: 10px;
  background: rgba(91,74,43,.13);
}
#accountSettingsForm,
#accountProfileCard .profile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
#accountSettingsForm > button,
#accountSettingsForm > .logout-link,
#accountProfileCard .profile-grid > button { width: 100%; }

/* v1.10.23 · Navbar bleibt im Adminbereich, nur Messgerät und Songleiste verschwinden */
.device-frame[data-active-view="admin"] .instrument-panel,
.device-frame[data-active-view="admin"] .global-song-bar {
  display: none !important;
}

/* v1.10.23 · deutliche Upload-Landing-Zone und reine Ordnerfreigaben */
.cloud-drop-zone {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 112px;
  margin: 12px 0 18px;
  padding: 17px 20px;
  border: 2px dashed rgba(209, 239, 149, .68);
  border-radius: 17px;
  color: #eff9d4;
  background: linear-gradient(145deg, rgba(116, 155, 65, .22), rgba(8, 14, 6, .72));
  box-shadow: inset 0 0 26px rgba(180, 222, 102, .08), 0 8px 20px rgba(0, 0, 0, .2);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cloud-drop-zone[hidden] { display: none !important; }
.cloud-drop-zone-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(235, 250, 198, .42);
  border-radius: 50%;
  color: #18230f;
  background: linear-gradient(180deg, #e0f4aa, #8ab45a);
  box-shadow: 0 0 20px rgba(183, 230, 101, .22), inset 0 1px 0 rgba(255,255,255,.5);
  font: 900 2rem/1 "Share Tech Mono", monospace;
}
.cloud-drop-zone > div { display: grid; gap: 4px; min-width: 0; }
.cloud-drop-zone > div > strong { font-size: clamp(1.08rem, 2vw, 1.35rem); letter-spacing: .05em; text-transform: uppercase; }
.cloud-drop-zone > div > span { color: #d6e9ae; font-weight: 700; }
.cloud-drop-zone > div > small { color: rgba(235, 246, 211, .72); }
.cloud-drop-zone > div > small b { color: #eff9d4; overflow-wrap: anywhere; }
.cloud-drop-zone.is-file-drop-target {
  border-color: #e5ffad !important;
  background: linear-gradient(145deg, rgba(139, 196, 72, .48), rgba(24, 39, 14, .86)) !important;
  box-shadow: 0 0 0 4px rgba(199, 238, 126, .2), inset 0 0 38px rgba(213, 245, 153, .16), 0 12px 28px rgba(0,0,0,.3) !important;
  transform: translateY(-2px);
}
.cloud-folder-share-panel {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 16px;
  padding: 16px !important;
  border: 1px solid rgba(208, 235, 153, .28);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(58, 78, 37, .46), rgba(8, 13, 6, .58));
}
.cloud-folder-share-panel::before { display: none !important; content: none !important; }
.cloud-folder-share-panel .cloud-step-heading,
.cloud-folder-share-panel > label:first-of-type,
.cloud-folder-share-panel .cloud-share-actions { grid-column: 1 / -1 !important; }
.cloud-folder-share-panel select[multiple] { min-height: 118px; }
.cloud-folder-share-panel .cloud-share-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 760px) {
  .cloud-drop-zone { grid-template-columns: 46px minmax(0, 1fr); min-height: 96px; padding: 14px; }
  .cloud-drop-zone-icon { width: 46px; height: 46px; font-size: 1.55rem; }
  .cloud-folder-share-panel { grid-template-columns: minmax(0, 1fr) !important; }
  .cloud-folder-share-panel > * { grid-column: 1 !important; }
  .cloud-folder-share-panel .cloud-share-actions { grid-template-columns: minmax(0, 1fr); }
}
#view-account .share-link-box {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
}
#view-account .share-link-box .metal-button { min-width: 150px; }
#view-account .notification-settings-head .metal-button,
#view-account .notification-settings-foot .metal-button { flex: 0 1 260px; }
#view-account .notification-channel-controls > section { min-width: 0; }
#view-account .push-control-actions > * { flex: 1 1 180px; }
#view-account .notification-preference-matrix strong,
#view-account .notification-preference-matrix small { overflow-wrap: anywhere; }
#view-account .profile-public-sections { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#view-account .account-export-card {
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
}
#view-account .account-export-card > button { width: 100%; }
#view-account .admin-create-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
#view-account .admin-create-grid > button { width: 100%; }
#view-account .admin-user-picker-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
#view-account .selected-admin-user-editor {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: clamp(14px, 2vw, 20px);
}
#view-account .admin-editor-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  justify-content: stretch;
}
#view-account .admin-editor-actions > * { width: 100%; }
#view-account .admin-group-row { align-items: stretch; gap: 10px; }
#view-account .admin-group-row .mini-list-row { min-width: 0; }
#view-account .admin-group-row .tiny-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 38px;
}
#view-account #adminMailCard code {
  display: inline;
  white-space: normal;
  overflow-wrap: anywhere;
}
#view-account .cron-report-box textarea { min-height: 260px; }

@media (max-width: 1100px) {
  #accountSettingsForm,
  #accountProfileCard .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #view-account .profile-public-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  #accountSettingsForm,
  #accountProfileCard .profile-grid,
  #view-account .share-link-box,
  #view-account .notification-channel-controls,
  #view-account .account-export-card,
  #view-account .admin-create-grid,
  #view-account .admin-user-picker-grid,
  #view-account .selected-admin-user-editor,
  #view-account .admin-editor-actions { grid-template-columns: minmax(0, 1fr) !important; }
  #view-account .profile-public-sections { grid-template-columns: minmax(0, 1fr); }
  #view-account .share-link-box .metal-button { width: 100%; min-width: 0; }
  #view-account .notification-settings-head .metal-button,
  #view-account .notification-settings-foot .metal-button { width: 100%; }
  #view-account .admin-group-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #view-account .admin-group-row .mini-list-row { grid-column: 1 / -1; }
  #view-account .admin-group-row .tiny-button { width: 100%; min-width: 0; }
}

/* v1.10.24 · gemeinsame Band-Cloud, Bandquota und zuverlässiges Mobilmenü */
.cloud-band-policy {
  display: none;
  gap: 5px;
  padding: 13px 15px;
  border: 1px solid rgba(211, 239, 158, .32);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(99, 132, 58, .24), rgba(13, 22, 9, .7));
}

/* v1.10.25 · direkte Cloud-Seite, Admin-Livesuche und Registrierungsstatus */
.cloud-hub-card {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

/* v1.10.31 · Avatar-Direktupload und Band-Cloud-Benachrichtigungen */
.profile-avatar-editor {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(218, 239, 170, .18);
  border-radius: 14px;
  background: rgba(8, 14, 7, .28);
}
.profile-avatar-editor > div:last-child { display: grid; justify-items: start; gap: 5px; min-width: 0; }
.profile-avatar-editor small { color: var(--muted); line-height: 1.35; }
.profile-avatar-preview {
  display: grid;
  place-items: center;
  width: 84px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(225, 244, 181, .35);
  border-radius: 20px;
  background: linear-gradient(145deg, #77994f, #344625) center/cover no-repeat;
  color: #f3ffda;
  font-size: 1.8rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 3px rgba(5, 9, 4, .28);
}
.profile-avatar-preview.has-image span { display: none; }
.profile-avatar-preview.is-uploading { opacity: .58; filter: saturate(.65); }
@media (max-width: 620px) {
  .profile-avatar-editor { grid-template-columns: 70px minmax(0, 1fr); }
  .profile-avatar-preview { width: 70px; border-radius: 17px; }
}
.cloud-hub-card .cloud-title-block {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 24px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(223,238,183,.14);
}
.cloud-hub-card .cloud-title-block p { max-width: 820px; }
.cloud-hub-card .cloud-workspace-panel,
.cloud-hub-card .cloud-band-policy,
.cloud-hub-card .cloud-main-status { grid-column: 1 / -1 !important; }
.cloud-hub-card .cloud-main-status { margin: 0 !important; }
.cloud-direct-upload {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(280px, 1.3fr);
  gap: 12px 18px;
  align-items: center;
  margin: -4px 0 18px;
  padding: 15px;
  border: 1px solid rgba(213,239,160,.28);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(63,84,41,.4), rgba(8,14,6,.55));
}
.cloud-direct-upload[hidden] { display: none !important; }
.cloud-direct-upload > div:first-child { display: grid; gap: 4px; }
.cloud-direct-upload > div:first-child strong { color: #eff8d7; text-transform: uppercase; letter-spacing: .06em; }
.cloud-direct-upload > div:first-child small { color: rgba(235,246,211,.7); line-height: 1.4; }
.cloud-direct-upload .cloud-upload-box { min-width: 0; }
.cloud-direct-upload .cloud-progress { grid-column: 1 / -1; margin: 0 !important; }
.cloud-check-row.is-draggable { cursor: grab; }
.cloud-check-row.is-draggable:active,
.cloud-check-row.is-dragging { cursor: grabbing; }
.cloud-check-row.is-dragging { opacity: .55; transform: scale(.99); }
.cloud-tree-row.is-file-drop-target .cloud-tree-name::after {
  content: ' · hierher verschieben';
  color: #e8ffb6;
  font-size: .72em;
}
.admin-user-search-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(223,238,183,.18);
  border-radius: 14px;
  background: rgba(7,12,5,.36);
}
.admin-user-search-results[hidden] { display: none !important; }
.admin-search-summary { grid-column: 1 / -1; color: #dce9b8; font-size: .78rem; }
.admin-user-search-result {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(223,238,183,.16);
  border-radius: 11px;
  color: #edf6d2;
  background: rgba(223,238,183,.05);
  text-align: left;
  cursor: pointer;
}
.admin-user-search-result:hover,
.admin-user-search-result.is-selected { border-color: rgba(207,239,143,.62); background: rgba(131,174,75,.22); }
.admin-search-avatar { width: 42px !important; height: 42px !important; }
.admin-user-search-result > span:last-child { display: grid; gap: 2px; min-width: 0; }
.admin-user-search-result strong,
.admin-user-search-result small { overflow-wrap: anywhere; }
.admin-user-search-result small { color: rgba(235,246,211,.68); }
.register-form.is-complete > label,
.register-form.is-complete > button[type="submit"] { display: none !important; }
.register-form.is-complete {
  padding: 14px;
  border: 1px solid rgba(183,226,106,.45);
  border-radius: 13px;
  background: rgba(96,137,54,.16);
}
.register-form.is-complete .account-status { margin: 0; color: #ecffd0; line-height: 1.5; }
.register-form.is-complete.mail-retry { border-color: rgba(244,195,92,.48); background: rgba(117,81,28,.18); }
.cron-frequency-hint { display: block; line-height: 1.55 !important; }
.cron-frequency-hint strong { color: #eff8d5; }
.device-footer > .footer-version {
  flex: 1 0 100%;
  width: 100%;
  color: rgba(229,239,203,.58);
  text-align: right;
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: none;
}
.profile-preview-card,
.band-profile-hero { position: relative; }
.profile-preview-card { padding-right: 66px; }
.profile-preview-card > .profile-corner-menu,
.band-profile-hero > .band-corner-menu {
  position: absolute;
  z-index: 12;
  top: 10px;
  right: 10px;
  margin: 0;
}
.band-profile-hero { padding-right: 62px; }
@media (max-width: 700px) {
  .cloud-hub-card .cloud-title-block,
  .cloud-direct-upload { grid-template-columns: minmax(0, 1fr) !important; }
  .cloud-hub-card .cloud-title-block { gap: 7px; }
  .cloud-direct-upload .cloud-progress { grid-column: 1; }
  .admin-user-search-results { grid-template-columns: minmax(0, 1fr); }
  .device-footer > .footer-version { text-align: right; }
  .profile-preview-card { padding-right: 58px; }
}
.cloud-band-policy strong { color: #eff8d6; text-transform: uppercase; letter-spacing: .06em; }
.cloud-band-policy span { color: rgba(235, 246, 211, .76); line-height: 1.45; }
.device-frame.has-band-cloud .cloud-band-policy { display: grid; }
.device-frame.has-band-cloud .cloud-folder-share-panel,
.device-frame.has-band-cloud .cloud-content-band-picker,
.device-frame.has-band-cloud .cloud-shared-card { display: none !important; }
.device-frame.has-band-cloud .cloud-check-row {
  grid-template-areas:
    "check name action"
    ". meta action" !important;
}
.cloud-browser-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-group-quota {
  display: grid;
  gap: 5px;
  flex: 1 1 180px;
  min-width: 150px;
}
.admin-group-quota span { color: rgba(226, 239, 201, .7); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.admin-group-quota input { width: 100%; min-width: 0; }

@media (max-width: 700px) {
  .mobile-menu-toggle {
    position: relative !important;
    z-index: 540 !important;
    width: 100% !important;
    margin: 10px 0 8px !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
  .mobile-menu-toggle[aria-expanded="true"] + .module-switch,
  .module-switch.is-mobile-open {
    position: relative !important;
    z-index: 539 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    pointer-events: auto !important;
  }
  .device-frame.has-band-cloud .cloud-check-row {
    grid-template-areas:
      "check name"
      ". meta"
      "action action" !important;
  }
  #view-admin .admin-group-row .admin-group-quota { grid-column: 1 / -1; }
}

/* v1.10.31 final overrides */
.cloud-workspace-folders { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:8px; grid-column:1/-1; }
.cloud-live-search { grid-column:1/-1; }
.cloud-lyrics-list { min-height:72px; border:1px dashed rgba(194,226,132,.42); border-radius:12px; padding:8px; }
.cloud-lyrics-list.is-drop-target { border-color:#d9f79a; background:rgba(154,205,86,.16); }
.login-popover { z-index:10020 !important; }
@media (max-width:700px) {
  .login-popover[open] { position:fixed !important; inset:max(10px,env(safe-area-inset-top)) 10px auto 10px !important; width:auto !important; max-height:calc(100dvh - 20px) !important; overflow-y:auto !important; z-index:10020 !important; }
  body:has(.login-popover[open]) .mobile-menu-toggle, body:has(.login-popover[open]) .module-switch { z-index:1 !important; }
  .cloud-workspace-folders { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* v1.10.47 · chromatisches Stimmgerät, MIC-Licht und klappbare Tuner-Bereiche */
.lcd-row { position:relative; }
.tuner-live-light {
  position:absolute;
  z-index:5;
  top:8px;
  right:156px;
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:2px 5px;
  border:1px solid rgba(115,20,20,.38);
  border-radius:999px;
  color:rgba(245,126,116,.28);
  background:rgba(22,2,2,.34);
  font:700 .5rem/1 "Share Tech Mono",monospace;
  letter-spacing:.08em;
  opacity:.34;
  pointer-events:none;
}
.tuner-live-light i {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#56100d;
  box-shadow:inset 0 0 3px rgba(0,0,0,.8);
}
.tuner-live-light.is-on {
  color:#ffbbb2;
  border-color:rgba(255,79,61,.68);
  opacity:1;
  animation:tunerMicHousingFlicker .48s steps(2,end) infinite;
}
.tuner-live-light.is-on i {
  background:#ff2d21;
  box-shadow:0 0 5px #ff2d21,0 0 12px rgba(255,32,22,.9),inset 0 0 2px #fff;
  animation:tunerMicLightFlicker .16s steps(2,end) infinite alternate;
}
.tuner-collapsible { position:relative; }
.tuner-collapsible > .card-title { padding-right:44px; }
.tuner-collapsible.is-collapsed { min-height:58px; padding-bottom:12px !important; }
.tuner-collapsible.is-collapsed > :not(.card-title):not(.panel-collapse-toggle) { display:none !important; }
@keyframes tunerMicLightFlicker {
  0%,18% { opacity:.56; filter:brightness(.78); }
  19%,54% { opacity:1; filter:brightness(1.28); }
  55%,72% { opacity:.72; filter:brightness(.92); }
  73%,100% { opacity:1; filter:brightness(1.5); }
}
@keyframes tunerMicHousingFlicker {
  0%,38% { background:rgba(45,3,3,.48); }
  39%,100% { background:rgba(68,5,4,.62); }
}
@media (prefers-reduced-motion:reduce) {
  .tuner-live-light.is-on,
  .tuner-live-light.is-on i { animation:none; }
}
@media (max-width:620px) {
  .tuner-live-light { right:10px; }
}

/* v1.10.48 · im Stimmgerät wird kein Songbereich angezeigt */
.device-frame[data-active-view="tuner"] .global-song-bar { display:none !important; }

.cloud-text-notes-panel.song-modal { margin:0; padding:clamp(14px,3vw,34px); border:0; border-radius:0; background:transparent; }
.cloud-text-popup { width:min(820px,100%); max-height:calc(100dvh - 28px); overflow:auto; }
.cloud-text-popup .cloud-text-notes-editor { grid-template-columns:1fr; }
.cloud-text-popup .cloud-text-content { grid-column:1; }
.cloud-text-popup textarea { min-height:min(52vh,440px); }
.cloud-unified-tree-row.is-main-folder .cloud-tree-toggle { cursor:pointer; color:#eef9d4; font-size:.9rem; }
.cloud-unified-tree-row.is-main-folder { font-weight:700; }
.cloud-unified-tree-row.is-main-folder.is-open { border-color:rgba(204,235,145,.48); }
.cloud-list.is-file-drop-target,
.cloud-lyrics-list.is-file-drop-target { border-color:#d9f79a !important; background:rgba(154,205,86,.16) !important; box-shadow:inset 0 0 18px rgba(174,225,105,.14); }
.cloud-list.is-drop-target { border-color:#d9f79a !important; background:rgba(154,205,86,.12) !important; box-shadow:inset 0 0 18px rgba(174,225,105,.12); }

/* v1.10.31 · Dateien zuerst */
#view-cloud .cloud-browser-card { order:1; }
#view-cloud .cloud-hub-card { order:2; }
.cloud-browser-heading .cloud-file-intro { display:block !important; margin:3px 0 0; color:rgba(232,243,206,.76); line-height:1.3; }
.cloud-file-search { display:grid; gap:6px; margin:0; padding:11px 13px; border:1px solid rgba(211,239,158,.28); border-radius:13px; background:rgba(22,32,15,.58); }
.cloud-file-search > span { color:#ddecba; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.cloud-file-search input { width:100%; min-width:0; }
#view-cloud .cloud-hub-card { padding:12px 16px !important; }
#view-cloud .cloud-hub-card .cloud-title-block { padding-bottom:7px; }
@media (max-width:700px) {
  .cloud-browser-heading .cloud-file-intro { font-size:.9rem; }
  .cloud-file-search { padding:9px; }
}

/* v1.10.32 · Band Chat und kompakter Speicher an Cloud-Hauptordnern */
.band-chat-shell {
  display:grid;
  grid-template-rows:minmax(320px, 62vh) auto;
  overflow:hidden;
  border:1px solid rgba(211,235,166,.22);
  border-radius:18px;
  background:
    radial-gradient(circle at 15% 20%,rgba(139,174,84,.08) 0 2px,transparent 2.5px) 0 0/34px 34px,
    linear-gradient(145deg,rgba(15,24,12,.96),rgba(8,14,7,.94));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 12px 30px rgba(0,0,0,.2);
}
.band-chat-feed {
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:0;
  overflow-y:auto;
  padding:18px clamp(10px,2.5vw,24px);
  scroll-behavior:smooth;
}
.band-chat-empty { margin:auto; color:rgba(229,239,207,.72); text-align:center; }
.band-chat-message { display:flex; align-items:flex-end; gap:8px; width:100%; }
.band-chat-message.is-own { justify-content:flex-end; }
.band-chat-avatar {
  width:34px !important;
  height:34px !important;
  min-height:34px !important;
  min-width:34px;
  flex:0 0 34px;
  aspect-ratio:1 / 1;
  border-radius:50% !important;
  background-position:center;
  background-size:cover;
  font-size:.75rem;
}
.band-chat-bubble {
  display:grid;
  gap:6px;
  width:fit-content;
  max-width:min(76%,680px);
  padding:9px 11px 7px;
  border:1px solid rgba(223,238,191,.14);
  border-radius:5px 15px 15px 15px;
  background:linear-gradient(145deg,rgba(48,62,38,.98),rgba(30,42,25,.98));
  color:#f1f6e6;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
  transition:border-color .2s,box-shadow .2s;
}
.band-chat-message.is-own .band-chat-bubble {
  border-radius:15px 5px 15px 15px;
  border-color:rgba(200,232,143,.25);
  background:linear-gradient(145deg,#536e3d,#3b552d);
}
.band-chat-message.is-highlighted .band-chat-bubble { border-color:#d7f493; box-shadow:0 0 0 3px rgba(199,234,134,.18),0 5px 16px rgba(0,0,0,.24); }
.band-chat-sender { width:fit-content; color:#d9f29e !important; font-size:.78rem; font-weight:800; }
.band-chat-text { margin:0 !important; color:inherit !important; line-height:1.42; white-space:pre-wrap; overflow-wrap:anywhere; }
.band-chat-text a { color:#d8efff !important; text-decoration:underline; }
.band-chat-quote {
  display:grid;
  gap:2px;
  width:100%;
  min-width:0;
  padding:7px 9px;
  border:0;
  border-left:3px solid #b9df72;
  border-radius:7px;
  background:rgba(5,12,4,.3);
  color:#eaf4d7;
  text-align:left;
  cursor:pointer;
}
.band-chat-quote strong { color:#d8f29e; font-size:.74rem; }
.band-chat-quote span { overflow:hidden; color:rgba(241,247,228,.78); font-size:.78rem; text-overflow:ellipsis; white-space:nowrap; }
.band-chat-bubble .post-attachment { margin:1px 0; }
.band-chat-bubble .post-attachment-image img { max-height:330px; border-radius:10px; object-fit:cover; }
.band-chat-bubble .post-attachment > a { color:#d8efff !important; font-size:.78rem; }
.band-chat-bubble .link-preview-card { max-width:440px; margin:1px 0; border-radius:9px; }
.band-chat-attachment-removed { color:rgba(241,247,228,.62); font-size:.76rem; font-style:italic; }
.band-chat-message-footer { display:flex; align-items:center; justify-content:flex-end; gap:10px; min-height:22px; }
.band-chat-message-footer time { color:rgba(237,244,222,.62); font-size:.65rem; white-space:nowrap; }
.band-chat-edited { color:rgba(237,244,222,.52); font-size:.62rem; font-style:italic; white-space:nowrap; }
.band-chat-edited::before { content:'·'; margin-right:4px; }
.band-chat-actions { display:flex; align-items:center; justify-content:flex-end; gap:3px; }
.band-chat-action {
  min-height:24px;
  padding:2px 5px;
  border:0;
  background:transparent;
  color:rgba(241,247,228,.72);
  font:inherit;
  font-size:.68rem;
  cursor:pointer;
}
.band-chat-action:hover,.band-chat-action:focus-visible { color:#fff; text-decoration:underline; }
.band-chat-like.is-liked { color:#ff8d9d; }
.band-chat-actions .more-menu > summary { min-width:24px; min-height:24px; padding:0 5px; }
.band-chat-more-menu .more-menu-panel { top:auto; bottom:calc(100% + 6px); }
.band-chat-composer {
  position:relative;
  display:grid;
  gap:0;
  padding:9px;
  border-top:1px solid rgba(218,238,177,.17);
  background:rgba(22,31,18,.98);
}
.band-chat-compose-row { display:grid; grid-template-columns:max-content minmax(0,1fr) auto; align-items:center; gap:8px; }
.band-chat-attach {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:auto;
  min-width:104px;
  height:42px;
  margin:0;
  padding:0 13px;
  border:1px solid rgba(220,239,183,.24);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(107,122,83,.72),rgba(42,50,34,.92));
  color:#e8f4d0;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.06em;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;
  cursor:pointer;
}
.band-chat-attach:hover { border-color:rgba(225,245,184,.55); background:linear-gradient(180deg,rgba(126,146,94,.82),rgba(49,59,39,.96)); }
.band-chat-attach:focus-within { outline:2px solid #c9eb87; outline-offset:2px; }
.band-chat-attach-icon { flex:0 0 auto; font-size:1.22rem; line-height:1; }
.band-chat-attach-label { display:block; min-width:0; color:inherit; font:inherit; line-height:1; }
.band-chat-attach input { position:absolute !important; width:1px !important; height:1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; clip-path:inset(50%) !important; white-space:nowrap !important; }
.band-chat-compose-row textarea {
  width:100%;
  min-height:42px;
  max-height:140px;
  resize:none;
  padding:10px 13px;
  border-radius:20px;
  line-height:1.35;
}
.band-chat-send { min-height:42px !important; padding-inline:16px !important; border-radius:20px !important; }
.band-chat-reply {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 48px 8px;
  padding:7px 9px;
  border-left:3px solid #b9df72;
  border-radius:7px;
  background:rgba(9,15,7,.72);
}
.band-chat-reply[hidden] { display:none !important; }
.band-chat-reply > span { display:grid; min-width:0; }
.band-chat-reply strong { color:#d8f29e; font-size:.76rem; }
.band-chat-reply small { overflow:hidden; color:rgba(238,245,222,.72); text-overflow:ellipsis; white-space:nowrap; }
.band-chat-reply button { border:0; background:transparent; color:#eef6df; font-size:1.25rem; cursor:pointer; }
.band-chat-file { margin:7px 0 0; padding:6px 10px; border:1px solid rgba(212,235,170,.16); border-radius:9px; background:rgba(5,10,4,.34); color:#dceabc; font-size:.72rem; overflow-wrap:anywhere; }
.band-chat-file[hidden] { display:none !important; }
.band-chat-composer .account-status { min-height:0; margin:4px 0 0; }
.chat-attachment-storage {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
  padding:10px 12px;
  border:1px solid rgba(219,237,184,.17);
  border-radius:11px;
  background:rgba(8,14,7,.22);
}
.chat-attachment-storage > span { display:grid; gap:2px; }
.chat-attachment-storage small { color:rgba(225,237,202,.7); }
.cloud-unified-tree-row.is-main-folder {
  grid-template-areas:"toggle name" "toggle meta" "storage storage" !important;
}
.cloud-main-folder-storage { grid-area:storage; display:grid; gap:4px; width:100%; padding-top:5px; }
.cloud-main-folder-storage > small { color:rgba(229,241,207,.72); font-size:.68rem; font-weight:600; }
.cloud-main-folder-meter { display:block; width:100%; height:5px; overflow:hidden; border-radius:999px; background:rgba(2,8,2,.62); box-shadow:inset 0 1px 2px rgba(0,0,0,.7); }
.cloud-main-folder-meter > i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#769b43,#c7e982); }
.cloud-check-row.has-audio-player {
  grid-template-areas:"check name action" ". meta action" ". audio audio" !important;
}
.cloud-audio-player {
  grid-area:audio;
  display:grid;
  grid-template-columns:auto minmax(90px,1fr) auto;
  align-items:center;
  gap:8px;
  min-width:0;
  margin-top:4px;
  padding:7px 8px;
  border:1px solid rgba(216,238,172,.18);
  border-radius:10px;
  background:rgba(4,10,3,.3);
}
.cloud-audio-player audio { display:none; }
.cloud-audio-play { min-width:78px; }
.cloud-audio-seek { width:100%; min-width:70px; accent-color:#b7db70; cursor:pointer; }
.cloud-audio-time { color:rgba(234,244,215,.78); font-family:"Share Tech Mono",monospace; font-size:.74rem; white-space:nowrap; }
@media (max-width:700px) {
  .band-chat-shell { grid-template-rows:minmax(300px,64dvh) auto; border-radius:13px; }
  .band-chat-feed { padding:12px 7px; }
  .band-chat-bubble { max-width:88%; }
  .band-chat-avatar { width:30px !important; height:30px !important; min-width:30px; min-height:30px !important; flex-basis:30px; }
  .band-chat-action { font-size:.64rem; }
  .band-chat-compose-row { grid-template-columns:max-content minmax(0,1fr) auto; gap:5px; }
  .band-chat-attach { min-width:82px; height:38px; padding-inline:9px; font-size:.64rem; }
  .band-chat-attach-icon { font-size:1.05rem; }
  .band-chat-send { min-height:38px !important; padding-inline:11px !important; }
  .band-chat-reply { margin-left:0; margin-right:0; }
  .band-chat-file,.band-chat-composer .account-status { margin-left:0; margin-right:0; }
  .chat-attachment-storage { align-items:stretch; flex-direction:column; }
  .chat-attachment-storage .tiny-button { width:100%; }
  .cloud-check-row.has-audio-player { grid-template-areas:"check name" ". meta" "action action" "audio audio" !important; }
  .cloud-audio-player { grid-template-columns:auto minmax(80px,1fr); }
  .cloud-audio-time { grid-column:1/-1; text-align:right; }
}
@media (max-width:430px) {
  .band-chat-compose-row {
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"message send" "attach attach";
  }
  .band-chat-compose-row textarea { grid-area:message; }
  .band-chat-send { grid-area:send; }
  .band-chat-attach { grid-area:attach; justify-self:start; min-width:104px; }
}

/* v1.10.33 · Cloud-Gesamtsuche über private Cloud und alle Bandordner */
.cloud-global-search-results {
  display:grid;
  gap:8px;
  padding:11px;
  border:1px solid rgba(208,236,151,.32);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(55,75,36,.45),rgba(9,15,7,.76));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.cloud-global-search-results[hidden] { display:none !important; }
.cloud-global-search-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.cloud-global-search-head strong { color:#eff8d7; text-transform:uppercase; letter-spacing:.07em; }
.cloud-global-search-head small { color:rgba(230,241,207,.72); text-align:right; }
.cloud-global-search-list { display:grid; gap:4px; max-height:min(34vh,260px); overflow-y:auto; padding:3px; }
.cloud-global-search-row {
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto;
  align-items:center;
  gap:7px;
  padding:6px 7px;
  border:1px solid rgba(220,239,180,.14);
  border-radius:10px;
  background:rgba(8,14,6,.4);
  cursor:pointer;
}
.cloud-global-search-row:hover,.cloud-global-search-row:focus-visible { border-color:rgba(211,240,153,.48); background:rgba(115,151,68,.17); outline:none; }
.cloud-global-search-icon { display:grid; place-items:center; font-size:1.1rem; }
.cloud-global-search-info { display:grid; gap:2px; min-width:0; }
.cloud-global-search-info strong { overflow:hidden; color:#eef7da; text-overflow:ellipsis; white-space:nowrap; }
.cloud-global-search-info small { overflow:hidden; color:rgba(226,239,200,.7); text-overflow:ellipsis; white-space:nowrap; }
.cloud-global-search-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; }
.cloud-check-row.is-search-reveal { border-color:#d7f493 !important; box-shadow:0 0 0 3px rgba(199,234,134,.18),inset 0 0 18px rgba(174,225,105,.1) !important; }
@media (max-width:700px) {
  .cloud-global-search-head { align-items:flex-start; flex-direction:column; }
  .cloud-global-search-head small { text-align:left; }
  .cloud-global-search-list { max-height:min(40vh,300px); }
  .cloud-global-search-row { grid-template-columns:26px minmax(0,1fr); }
  .cloud-global-search-actions { grid-column:1/-1; justify-content:stretch; }
  .cloud-global-search-actions > * { flex:1 1 110px; text-align:center; }
}

/* v1.10.33 · kompakte Dateizeilen und sicher bedienbarer MP3-Suchregler */
#cloudFileList .cloud-check-row {
  grid-template-columns:auto minmax(0,1fr) !important;
  grid-template-areas:"check name" ". meta" "action action" !important;
  align-items:center;
  gap:3px 7px !important;
  min-height:0;
  padding:7px 8px !important;
}
#cloudFileList .cloud-check-row.has-audio-player {
  grid-template-areas:"check name" ". meta" "action action" "audio audio" !important;
}
#cloudFileList .cloud-check-row > span,
#cloudFileList .cloud-check-row > small {
  min-width:0;
  overflow:hidden;
  overflow-wrap:normal !important;
  word-break:normal !important;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#cloudFileList .cloud-row-actions {
  width:100%;
  justify-content:flex-start;
  gap:4px;
}
#cloudFileList .cloud-row-actions .tiny-button {
  min-height:25px;
  padding:3px 7px;
  font-size:.66rem;
  line-height:1.1;
}
#cloudFileList .cloud-audio-player {
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:6px;
  margin-top:1px;
  padding:4px 6px;
  border-radius:7px;
  user-select:none;
  -webkit-user-drag:none;
}
#cloudFileList .cloud-audio-play {
  min-width:62px;
  min-height:25px;
  padding:3px 6px;
}
#cloudFileList .cloud-audio-seek,
.cloud-favorites-list .cloud-audio-seek {
  display:block;
  height:20px;
  margin:0;
  touch-action:none;
  user-select:none;
  -webkit-user-drag:none;
}
#cloudFileList .cloud-audio-seek:disabled,
.cloud-favorites-list .cloud-audio-seek:disabled { cursor:wait; opacity:.62; }
#cloudFileList .cloud-audio-time { font-size:.67rem; }
@media (max-width:700px) {
  #cloudFileList .cloud-audio-player { grid-template-columns:auto minmax(0,1fr) auto; }
  #cloudFileList .cloud-audio-time { grid-column:auto; text-align:right; }
}

/* v1.10.34 · kompakter Band-Chat-Composer und reparierte mobile Cloud-Pfadleiste */
@media (max-width:700px) {
  #view-cloud .cloud-browser-card { padding:12px 10px !important; }
  #view-cloud .cloud-browser-heading { gap:9px; }
  #view-cloud .cloud-browser-heading .cloud-file-intro { display:none !important; }
  #view-cloud .cloud-browser-heading-actions {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px !important;
  }
  #view-cloud .cloud-browser-heading-actions .metal-button {
    min-width:0 !important;
    min-height:42px !important;
    padding:8px 7px !important;
    font-size:.78rem !important;
  }
  #view-cloud .cloud-pathbar {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-areas:"label" "path" "stats" !important;
    align-items:start !important;
    gap:5px !important;
    min-height:0 !important;
    margin-top:9px !important;
    margin-bottom:0 !important;
    padding:9px 10px !important;
  }
  #view-cloud .cloud-pathbar > span {
    grid-area:label;
    min-width:0;
    overflow:hidden;
    color:rgba(235,245,214,.82);
    font-size:.72rem;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  #view-cloud .cloud-pathbar > strong {
    grid-area:path;
    display:block;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
    text-overflow:ellipsis;
    white-space:nowrap !important;
  }
  #view-cloud .cloud-pathbar > small,
  #view-cloud .cloud-pathbar #cloudPathStats {
    grid-area:stats;
    grid-column:auto !important;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
}

/* v1.10.44 · Header-Abstand und einheitliches Hauptmenü für Gäste */
@media (min-width:701px) {
  .brand-home-link .brand-code { margin-top:10px !important; }
}
.is-guest .module-switch { justify-content:center !important; }
.is-guest .module-switch .module-btn.requires-auth,
.is-guest .module-switch .module-btn.requires-auth.is-locked {
  opacity:1 !important;
  filter:none !important;
  cursor:pointer !important;
}

/* v1.10.44 · klappbare Social-Bereiche und gestaffelter Band-Chat */
.social-collapsible { position:relative; padding-right:58px !important; }
.social-collapsible.is-collapsed { min-height:58px; padding-bottom:12px !important; }
.social-collapsible.is-collapsed .social-collapsible-content { display:none !important; }
.band-chat-load-older {
  align-self:center;
  width:auto;
  min-height:34px !important;
  margin:8px auto 3px;
  padding:6px 14px !important;
  font-size:.72rem !important;
}

/* v1.10.44 · Cloud-Inhalt und persönliche Favoriten */
.cloud-content-tabs {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:12px 0 10px;
  padding:5px;
  border:1px solid rgba(209,233,166,.2);
  border-radius:13px;
  background:rgba(5,12,4,.34);
}
.cloud-content-tabs .metal-button { min-height:38px; }
.cloud-content-tabs .is-active {
  color:#16210d !important;
  border-color:rgba(224,249,174,.82) !important;
  background:linear-gradient(180deg,#dff5ad,#92be59) !important;
}
.cloud-favorites-panel {
  margin:0 0 12px;
  padding:12px;
  border:1px solid rgba(211,236,169,.26);
  border-radius:14px;
  background:rgba(8,16,6,.42);
}
.cloud-favorites-head { display:grid; gap:2px; margin-bottom:9px; }
.cloud-favorites-head small { color:rgba(229,239,208,.66); }
.cloud-favorite-toggle {
  display:grid;
  place-items:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  padding:0;
  border:1px solid rgba(218,235,184,.32);
  border-radius:9px;
  color:rgba(236,244,219,.72);
  background:rgba(25,34,20,.84);
  font-size:1.18rem;
  line-height:1;
  cursor:pointer;
}
.cloud-favorite-toggle.is-active { color:#f6dc68; border-color:rgba(246,220,104,.72); box-shadow:0 0 12px rgba(246,220,104,.18); }
.cloud-favorite-info { display:grid; min-width:0; gap:2px; }
.cloud-favorite-info strong,
.cloud-favorite-info small { overflow-wrap:anywhere; }
.cloud-favorite-row { grid-template-columns:auto minmax(0,1fr) auto !important; }
.cloud-browser-card.is-favorites-view > .cloud-content-toolbar,
.cloud-browser-card.is-favorites-view > .cloud-browser-split,
.cloud-browser-card.is-favorites-view > .cloud-selection-bar,
.cloud-browser-card.is-favorites-view > .cloud-folder-share-panel,
.cloud-browser-card.is-favorites-view > .cloud-shared-card,
.cloud-browser-card.is-favorites-view > .cloud-main-status { display:none !important; }
@media (max-width:700px) {
  .cloud-favorite-row { grid-template-columns:auto minmax(0,1fr) !important; }
  .cloud-favorite-row > .cloud-row-actions,
  .cloud-favorite-row > .cloud-audio-player { grid-column:1/-1; }
}

/* v1.10.44 · kompakte MP3-/WAV-Steuerung */
.cloud-audio-controls {
  display:inline-flex;
  align-items:center;
  gap:3px;
  margin-left:2px;
  padding-left:5px;
  border-left:1px solid rgba(222,238,189,.2);
}
.cloud-audio-controls .cloud-audio-toggle {
  min-width:29px !important;
  min-height:25px !important;
  padding:3px 6px !important;
  border-radius:7px !important;
}
.cloud-audio-controls .cloud-audio-toggle.is-active {
  color:#17220e !important;
  border-color:rgba(223,249,169,.86) !important;
  background:linear-gradient(180deg,#ddf5a8,#91bd58) !important;
  box-shadow:0 0 10px rgba(174,221,92,.22) !important;
}
.cloud-audio-speed {
  width:auto;
  min-width:58px;
  height:25px;
  padding:2px 18px 2px 6px;
  border:1px solid rgba(218,235,184,.34);
  border-radius:7px;
  color:#eef7da;
  background:#25321d;
  font:700 .64rem "Share Tech Mono",monospace;
}
#cloudFileList .cloud-row-actions > .tiny-button,
#cloudFileList .cloud-row-actions > .as-link {
  border-radius:7px !important;
  border-color:rgba(218,235,184,.34) !important;
  background:linear-gradient(180deg,rgba(85,101,65,.94),rgba(34,43,28,.98)) !important;
}
#cloudFileList .cloud-row-actions > .tiny-button:hover,
#cloudFileList .cloud-row-actions > .as-link:hover { filter:brightness(1.14); }
@media (max-width:700px) {
  .cloud-audio-controls { flex:1 1 100%; margin:2px 0 0; padding:4px 0 0; border-left:0; border-top:1px solid rgba(222,238,189,.17); }
}

/* v1.10.35 · Ordneraktion direkt am Dateibaum und Inhaltsbereich */
.cloud-content-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:11px 0 4px;
  padding:0 2px;
}
.cloud-content-toolbar > strong {
  min-width:0;
  overflow:hidden;
  color:rgba(230,242,204,.76);
  font-size:.72rem;
  letter-spacing:.07em;
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
}
.cloud-add-folder-inline {
  flex:0 0 auto;
  min-width:0 !important;
  min-height:34px !important;
  padding:5px 10px !important;
  border-radius:9px !important;
  font-size:.7rem !important;
  line-height:1 !important;
}
@media (max-width:700px) {
  #view-cloud .cloud-browser-heading-actions > :only-child { grid-column:1/-1; }
  .cloud-content-toolbar { margin:9px 0 4px; padding-top:0; }
  .cloud-add-folder-inline { min-height:32px !important; padding:5px 9px !important; }
}

/* v1.10.37 · ruhigeres Stimmgerät und einklappbare Song-/Chordmap-Bereiche */
.tuner-lock-zone {
  position:absolute;
  left:50%;
  bottom:10%;
  width:var(--tuner-lock-width,20%);
  height:77%;
  transform:translateX(-50%);
  clip-path:polygon(0 0,100% 0,55% 100%,45% 100%);
  background:linear-gradient(180deg,rgba(95,179,65,.13),rgba(103,210,65,.34));
  opacity:.72;
  pointer-events:none;
  transition:width .2s ease,opacity .18s ease,filter .18s ease;
}
.tuner-lock-zone span {
  position:absolute;
  left:50%;
  top:24%;
  transform:translateX(-50%);
  padding:2px 5px;
  border:1px solid rgba(49,91,33,.32);
  border-radius:999px;
  color:rgba(37,69,27,.78);
  background:rgba(211,231,185,.58);
  font:700 clamp(.52rem,1.2vw,.68rem) "Share Tech Mono",monospace;
  letter-spacing:.03em;
  white-space:nowrap;
}
.meter-face.is-close .tuner-lock-zone { opacity:1; filter:saturate(1.35) brightness(1.08); }

.global-song-bar,
.chord-static-panel { position:relative; }
.panel-collapse-toggle {
  position:absolute;
  z-index:6;
  top:10px;
  right:10px;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  min-width:34px;
  min-height:34px;
  padding:0;
  border:1px solid rgba(218,239,175,.34);
  border-radius:9px;
  color:#eff8d8;
  background:linear-gradient(180deg,rgba(91,108,66,.96),rgba(29,38,23,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 3px 8px rgba(0,0,0,.28);
  font:800 1.2rem/1 "Share Tech Mono",monospace;
  cursor:pointer;
}
.panel-collapse-toggle:hover,
.panel-collapse-toggle:focus-visible { border-color:rgba(221,244,174,.72); filter:brightness(1.12); outline:none; }
.global-song-bar { padding-right:58px !important; }
.global-song-bar.is-collapsed {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  grid-template-areas:"main" !important;
  min-height:54px;
  margin-block:10px 14px !important;
  padding:10px 56px 10px 13px !important;
}
.global-song-bar.is-collapsed .global-song-main {
  grid-area:main !important;
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-areas:"kicker song";
  align-items:center !important;
  gap:8px !important;
}
.global-song-bar.is-collapsed .global-song-kicker { grid-area:kicker; }
.global-song-bar.is-collapsed .global-song-main strong {
  grid-area:song;
  font-size:1.25rem !important;
  line-height:1 !important;
}
.global-song-bar.is-collapsed .global-song-meta,
.global-song-bar.is-collapsed .global-song-controls,
.global-song-bar.is-collapsed .account-status { display:none !important; }

.chord-static-panel > .card-title { padding-right:44px; }
.chord-static-panel.is-collapsed { min-height:58px; padding-bottom:12px !important; }
.chord-static-panel.is-collapsed > :not(.card-title):not(.panel-collapse-toggle):not(.chord-new-song-button) { display:none !important; }
.section-collapse-button.is-plus-minus {
  margin-left:auto;
  order:99;
  transform:none !important;
  font-size:1rem;
}
.chord-section.is-collapsed .section-grid { display:none !important; }
.chord-section.is-collapsed .section-header > :not(.section-name-input):not(.section-meta):not(.section-collapse-button) { display:none !important; }

@media (max-width:620px) {
  .global-song-bar.is-collapsed .global-song-main {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"song";
  }
  .global-song-bar.is-collapsed .global-song-kicker { display:none; }
  .panel-collapse-toggle { top:8px; right:8px; width:32px; height:32px; min-width:32px; min-height:32px; }
}

/* v1.10.39 · YouTube-Popup mit Repeat 1 und A–B-Schleife */
.youtube-player-panel {
  width:min(1040px,96vw);
  max-height:calc(100dvh - 28px);
  overflow:auto;
  padding:clamp(14px,2.4vw,24px) !important;
  border-color:rgba(213,239,158,.42) !important;
  background:
    radial-gradient(circle at 12% 0,rgba(158,205,82,.15),transparent 32%),
    linear-gradient(155deg,rgba(35,47,26,.98),rgba(9,15,7,.99)) !important;
}
.youtube-player-head { align-items:center; }
.youtube-player-head .card-title { margin-bottom:4px; }
.youtube-player-head .tone-hint { margin:0; }
.youtube-player-stage {
  position:relative;
  width:100%;
  overflow:hidden;
  aspect-ratio:16/9;
  border:1px solid rgba(220,244,171,.32);
  border-radius:16px;
  background:#030502;
  box-shadow:inset 0 0 34px rgba(0,0,0,.8),0 16px 38px rgba(0,0,0,.34);
}
.youtube-player-stage iframe,
.youtube-player-mount { display:block; width:100%; height:100%; border:0; }
.youtube-player-loading,
.youtube-player-error {
  position:absolute;
  inset:0;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:11px;
  padding:20px;
  color:#eaf6cf;
  text-align:center;
}
.youtube-player-loading span {
  width:42px;
  height:42px;
  border:4px solid rgba(221,243,175,.18);
  border-top-color:#c9e989;
  border-radius:50%;
  animation:youtubeLoaderSpin .85s linear infinite;
}
.youtube-player-error strong { color:#ffcfab; font-size:1.15rem; }
.youtube-player-error span { color:rgba(234,244,214,.72); }
@keyframes youtubeLoaderSpin { to { transform:rotate(360deg); } }
.youtube-player-readout {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:36px;
  padding:8px 3px 5px;
  color:rgba(228,240,205,.74);
}
.youtube-player-readout strong {
  flex:0 0 auto;
  color:#e8f7c8;
  font-family:"Share Tech Mono",monospace;
  letter-spacing:.04em;
}
.youtube-player-readout span { min-width:0; text-align:right; }
.youtube-repeat-controls {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  padding:12px;
  border:1px solid rgba(215,238,172,.2);
  border-radius:14px;
  background:rgba(4,10,3,.38);
}
.youtube-repeat-controls #youtubeRepeatOne { grid-column:span 2; }
.youtube-repeat-controls #youtubeRepeatAB { grid-column:span 2; }
.youtube-repeat-controls #youtubeClearAB { grid-column:span 2; }
.youtube-speed-control {
  grid-column:span 4;
  display:grid;
  grid-template-columns:auto minmax(120px,1fr);
  align-items:center;
  gap:12px;
  min-height:44px;
  padding:7px 12px;
  border:1px solid rgba(218,239,175,.28);
  border-radius:10px;
  background:rgba(31,41,24,.82);
  color:#eff8d8;
}
.youtube-speed-control span { display:flex; justify-content:space-between; gap:8px; white-space:nowrap; }
.youtube-speed-control strong { color:#dff5ad; font-family:"Share Tech Mono",monospace; }
.youtube-speed-control input { width:100%; cursor:ew-resize; }
.youtube-repeat-controls .metal-button {
  min-width:0;
  min-height:44px;
  padding:8px 10px;
  white-space:normal;
}
.youtube-repeat-controls .metal-button small {
  display:inline-block;
  margin-left:4px;
  color:rgba(236,246,217,.72);
  font-family:"Share Tech Mono",monospace;
}
.youtube-repeat-controls .youtube-toggle.is-active,
.youtube-repeat-controls .is-loop-point-active {
  border-color:rgba(221,251,159,.82) !important;
  color:#15200e !important;
  background:linear-gradient(180deg,#dbf6a2,#8fb957) !important;
  box-shadow:0 0 18px rgba(175,224,96,.32),inset 0 1px 0 rgba(255,255,255,.55) !important;
}
.youtube-repeat-controls .is-loop-point-active small { color:#243316 !important; }
.youtube-repeat-controls button:disabled { opacity:.38; cursor:not-allowed; }
.youtube-player-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
  padding:10px 12px;
  border:1px solid rgba(227,189,119,.2);
  border-radius:12px;
  background:rgba(61,42,16,.22);
  color:rgba(236,228,205,.72);
}
.youtube-external-link {
  flex:0 0 auto;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px !important;
  padding:8px 14px !important;
  border-color:rgba(255,126,111,.72) !important;
  border-radius:10px !important;
  color:#fff6ed !important;
  background:linear-gradient(180deg,#b84838,#71251d) !important;
  box-shadow:0 6px 15px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.2) !important;
  white-space:nowrap;
}
.youtube-external-link:hover,
.youtube-external-link:focus-visible {
  border-color:#ffb0a4 !important;
  background:linear-gradient(180deg,#cf5848,#872b22) !important;
  box-shadow:0 8px 20px rgba(84,18,12,.38),0 0 0 2px rgba(255,133,116,.16) !important;
}
.youtube-external-link > span {
  display:grid;
  place-items:center;
  width:23px;
  height:18px;
  border-radius:5px;
  color:#a92f24;
  background:#fff8f2;
  font-size:.65rem;
  line-height:1;
}
.youtube-external-link > i { font-style:normal; opacity:.78; }
@media (max-width:760px) {
  .youtube-player-modal { padding:8px !important; }
  .youtube-player-panel { width:100%; max-height:calc(100dvh - 16px); border-radius:15px !important; }
  .youtube-player-head { align-items:flex-start; }
  .youtube-player-head .tone-hint { display:none; }
  .youtube-player-readout { display:grid; gap:3px; }
  .youtube-player-readout span { text-align:left; font-size:.78rem; }
  .youtube-repeat-controls { grid-template-columns:repeat(2,minmax(0,1fr)); padding:8px; }
  .youtube-repeat-controls #youtubeRepeatOne,
  .youtube-repeat-controls #youtubeRepeatAB { grid-column:span 1; }
  .youtube-repeat-controls #youtubeClearAB,
  .youtube-speed-control { grid-column:1/-1; }
  .youtube-speed-control { grid-template-columns:minmax(0,1fr); gap:4px; }
  .youtube-player-actions { display:grid; }
  .youtube-external-link { width:auto; max-width:100%; justify-self:start; }
}

/* v1.10.39 · kompakte Open-Graph-/YouTube-Vorschauen im Band Chat */
.link-preview-media {
  position:relative;
  display:block;
  min-width:0;
  overflow:hidden;
  border-radius:12px;
  background:rgba(0,0,0,.28);
}
.link-preview-media img { display:block; margin:0; }
.link-preview-play {
  position:absolute;
  inset:50% auto auto 50%;
  display:grid;
  place-items:center;
  width:42px;
  height:30px;
  border-radius:9px;
  color:#fff;
  background:#e62117;
  box-shadow:0 5px 18px rgba(0,0,0,.48);
  font-size:.9rem;
  transform:translate(-50%,-50%);
}
.link-preview-card.is-youtube { border-color:rgba(238,91,75,.3); }
.band-chat-bubble .link-preview-card {
  grid-template-columns:96px minmax(0,1fr) !important;
  gap:8px;
  width:min(100%,440px);
  padding:7px;
}
.band-chat-bubble .link-preview-media { align-self:start; border-radius:7px; }
.band-chat-bubble .link-preview-card img {
  width:96px !important;
  height:72px !important;
  max-height:none !important;
  border-radius:7px;
  object-fit:cover;
}
.band-chat-bubble .link-preview-body { justify-content:center; gap:2px; }
.band-chat-bubble .link-preview-body strong {
  display:-webkit-box;
  overflow:hidden;
  font-size:.83rem;
  line-height:1.22;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.band-chat-bubble .link-preview-body em {
  overflow:hidden;
  font-size:.7rem;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.band-chat-bubble .link-preview-play { width:34px; height:24px; border-radius:7px; font-size:.7rem; }
@media (max-width:460px) {
  .band-chat-bubble .link-preview-card { grid-template-columns:78px minmax(0,1fr) !important; }
  .band-chat-bubble .link-preview-card img { width:78px !important; height:59px !important; }
  .band-chat-bubble .link-preview-body em { display:none; }
}

/* v1.10.41 · eigenständige Nutzer- und Bandprofilseiten innerhalb von Social */
.social-profile-page-only[hidden],
.social-home-only[hidden] { display:none !important; }
.social-profile-page-only { grid-column:1/-1; min-width:0; }
.social-profile-card,
.social-profile-suggestions-card {
  padding:clamp(16px,2.4vw,26px) !important;
  border-color:rgba(220,241,174,.36) !important;
  background:
    radial-gradient(circle at 8% 0,rgba(165,205,86,.16),transparent 34%),
    linear-gradient(155deg,rgba(37,49,28,.98),rgba(12,19,9,.99)) !important;
  box-shadow:0 20px 54px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.08) !important;
}
.social-profile-page-head,
.social-profile-suggestions-head {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:16px;
}
.social-profile-page-head > div,
.social-profile-suggestions-head { min-width:0; }
.social-profile-kicker {
  display:block;
  margin-bottom:2px;
  color:rgba(221,238,183,.58);
  font:700 .68rem/1 "Share Tech Mono",monospace;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.social-profile-back { flex:0 0 auto; min-height:40px !important; padding:7px 13px !important; }
.social-profile-card .public-profile-preview { min-height:220px; }
.social-profile-card .profile-preview-card {
  gap:18px;
  padding:clamp(17px,2.8vw,30px) !important;
  border-color:rgba(220,241,174,.28) !important;
  border-radius:20px !important;
  color:#edf6d6 !important;
  background:linear-gradient(145deg,rgba(76,96,54,.38),rgba(14,22,11,.78)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 16px 36px rgba(0,0,0,.24) !important;
}
.social-user-profile-hero,
.social-band-profile-hero {
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  gap:20px;
  align-items:center;
}
.social-profile-card .user-avatar.big {
  width:112px;
  height:112px;
  margin:0;
  border-radius:22px;
  font-size:3.35rem;
}
.social-user-profile-identity,
.social-band-profile-info { display:grid; gap:7px; min-width:0; }
.social-profile-card .profile-preview-card h3 {
  margin:0;
  color:#f3f9df !important;
  font-size:clamp(2rem,4vw,3.25rem);
  line-height:.95;
}
.social-profile-card .profile-preview-card h3 a { color:inherit !important; }
.social-profile-card .profile-preview-card h3 .social-profile-handle { display:block; margin-top:7px; color:rgba(216,231,184,.72); font:700 .34em/1.15 "Share Tech Mono",monospace; letter-spacing:.04em; text-transform:none; }
.social-profile-card .profile-preview-card p { color:rgba(235,244,214,.76) !important; font-size:1rem; }
.social-band-profile-info .band-profile-stats { color:#cde7a0 !important; }
.social-band-profile-actions,
.social-profile-share {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  align-items:center;
}
.social-profile-share {
  padding:13px;
  border:1px solid rgba(220,241,174,.16);
  border-radius:13px;
  background:rgba(3,8,2,.3);
}
.social-profile-share input {
  flex:1 1 280px;
  min-width:0;
  color:#e9f6ca !important;
  background:rgba(5,10,4,.72) !important;
}
.social-profile-card .profile-connections-preview,
.social-profile-card .profile-song-list,
.social-band-profile-members,
.social-band-profile-posts { margin-top:0; }
.social-band-profile-members,
.social-band-profile-posts { display:grid; gap:10px; }
.social-band-profile-feed { margin-top:0 !important; }
.social-profile-suggestions-head {
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:4px;
}
.social-profile-suggestions-head p { margin:0; color:rgba(232,242,210,.66); }
.social-profile-suggestions { grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); }
.social-profile-suggestion-card {
  min-width:0;
  color:#13200f !important;
  text-decoration:none;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.social-profile-suggestion-card:hover,
.social-profile-suggestion-card:focus-visible {
  transform:translateY(-2px);
  border-color:rgba(170,209,101,.58) !important;
  box-shadow:0 15px 32px rgba(0,0,0,.2) !important;
  outline:none;
}
.social-profile-suggestion-card .user-card-body > span {
  display:-webkit-box;
  overflow:hidden;
  color:#40543a !important;
  line-height:1.3;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
@media (max-width:620px) {
  .social-profile-page-head { align-items:flex-start; }
  .social-profile-page-head .card-title { font-size:1.45rem; }
  .social-user-profile-hero,
  .social-band-profile-hero { grid-template-columns:76px minmax(0,1fr); gap:12px; align-items:start; }
  .social-profile-card .user-avatar.big { width:76px; height:76px; border-radius:17px; font-size:2.35rem; }
  .social-profile-card .profile-preview-card h3 { font-size:1.8rem; }
  .social-profile-share { display:grid; grid-template-columns:minmax(0,1fr); }
  .social-profile-share input,
  .social-profile-share .metal-button { width:100%; }
  .social-profile-suggestions-head { display:grid; gap:3px; }
  .social-profile-suggestions { grid-template-columns:minmax(0,1fr); }
}

/* v1.10.42 · mobile Aktionsmenüs in Timeline und Band Chat */
.timeline-item-title { flex:1 1 auto; min-width:0; }
.timeline-item-head > .timeline-more-menu {
  flex:0 0 auto;
  margin-left:auto;
}
.timeline-more-menu .more-menu-panel,
.band-chat-more-menu .more-menu-panel,
.profile-corner-menu .more-menu-panel,
.band-corner-menu .more-menu-panel {
  right:0;
  left:auto;
}
@media (max-width:760px) {
  .timeline-item-head > .timeline-more-menu { margin-left:auto; }
  .timeline-more-menu .more-menu-panel,
  .band-chat-more-menu .more-menu-panel,
  .profile-corner-menu .more-menu-panel,
  .band-corner-menu .more-menu-panel {
    right:0 !important;
    left:auto !important;
    width:max-content;
    min-width:142px;
    max-width:min(250px,calc(100vw - 32px));
  }
  .timeline-more-menu .more-menu-panel .tiny-button,
  .band-chat-more-menu .more-menu-panel .tiny-button,
  .profile-corner-menu .more-menu-panel .tiny-button,
  .band-corner-menu .more-menu-panel .tiny-button {
    width:100%;
    min-width:0;
    white-space:normal;
  }
}

/* v1.10.43 · verlinktes Header-Logo und gleichmäßige Header-Bedienfelder */
.brand-home-link {
  color:inherit;
  text-decoration:none;
  cursor:pointer;
}
.brand-home-link:focus-visible {
  outline:2px solid rgba(224,244,184,.82);
  outline-offset:7px;
  border-radius:10px;
}
.top-actions {
  display:grid !important;
  grid-template-columns:repeat(4,82px);
  align-items:stretch;
  gap:8px !important;
}
.top-actions > .header-profile-menu,
.top-actions > .header-account-button,
.top-actions > .guest-login-button {
  width:82px !important;
  min-width:82px !important;
  height:76px;
  min-height:76px !important;
}
.top-actions .header-account-button {
  width:100% !important;
  min-width:0 !important;
  height:76px;
  min-height:76px !important;
  padding:7px !important;
  border-radius:16px !important;
}
.top-actions .header-user-avatar {
  width:54px;
  height:54px;
  border-radius:14px;
}
.top-actions .auth-status-bank { display:contents !important; }
.top-actions .auth-status-bank .lamp,
.top-actions .auth-status-bank .notification-lamp {
  grid-template-rows:31px 15px !important;
  align-content:center;
  width:82px !important;
  min-width:82px !important;
  height:76px !important;
  min-height:76px !important;
  padding:8px 4px 6px !important;
  border:1px solid rgba(0,0,0,.35) !important;
  border-radius:16px !important;
  background:rgba(16,20,12,.42) !important;
  box-shadow:inset 0 0 18px rgba(0,0,0,.4);
}
.top-actions .auth-status-bank .lamp span { width:24px !important; height:24px !important; }
.top-actions .auth-status-bank .lamp em,
.top-actions .auth-status-bank .notification-lamp em {
  font-size:.55rem !important;
  line-height:1 !important;
}

@media (max-width:700px) {
  .top-rail {
    grid-template-columns:minmax(0,1fr) !important;
    gap:9px !important;
    align-items:start !important;
    padding:4px 5px 13px !important;
  }
  .brand-block-logo {
    grid-column:1 !important;
    width:100% !important;
    min-width:0 !important;
    padding:2px 0 0 !important;
    align-items:center !important;
    justify-content:center !important;
  }
  .brand-logo {
    width:min(88vw,390px) !important;
    max-height:132px !important;
    object-position:center !important;
  }
  .brand-code { margin-top:-2px !important; font-size:.65rem !important; text-align:center !important; }
  .top-actions {
    grid-column:1 !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:6px !important;
    width:100% !important;
    min-width:0 !important;
  }
  .top-actions > .header-profile-menu,
  .top-actions > .header-account-button,
  .top-actions > .guest-login-button {
    width:100% !important;
    min-width:0 !important;
    height:62px !important;
    min-height:62px !important;
  }
  .top-actions .header-account-button {
    height:62px !important;
    min-height:62px !important;
    border-radius:14px !important;
  }
  .top-actions .header-user-avatar { width:46px; height:46px; border-radius:12px; }
  .top-actions .profile-menu-chevron { right:5px; bottom:5px; }
  .top-actions .auth-status-bank .lamp,
  .top-actions .auth-status-bank .notification-lamp {
    grid-template-rows:26px 13px !important;
    width:100% !important;
    min-width:0 !important;
    height:62px !important;
    min-height:62px !important;
    padding:6px 2px 5px !important;
    border-radius:14px !important;
  }
  .top-actions .auth-status-bank .lamp span { width:21px !important; height:21px !important; }
  .top-actions .auth-status-bank .lamp em,
  .top-actions .auth-status-bank .notification-lamp em { font-size:.46rem !important; }
  .mobile-menu-toggle {
    width:100% !important;
    margin:10px 0 0 !important;
  }
}

/* v1.10.45 · Favoriten direkt unter dem Hauptmenü und einheitliche Dateiaktionen */
#view-cloud > .cloud-content-tabs {
  width:100%;
  margin:0 0 12px !important;
  padding:5px;
}
#view-cloud > .cloud-favorites-panel {
  width:100%;
  margin:0 !important;
}
#view-cloud .cloud-browser-heading {
  align-items:center !important;
  margin-bottom:12px !important;
}
#view-cloud .cloud-browser-heading-actions { align-self:center; }
#view-cloud #cloudRefresh {
  min-height:38px !important;
  padding:7px 12px !important;
}
#view-cloud .cloud-direct-upload { margin:0 0 12px !important; }
#view-cloud.is-favorites-view > .cloud-layout { display:none !important; }
#view-cloud.is-favorites-view > .cloud-favorites-panel { display:block; }

#cloudFileList .cloud-row-actions,
.cloud-current-content .cloud-row-actions,
.cloud-favorites-list .cloud-row-actions {
  align-items:center !important;
  justify-content:flex-start !important;
  gap:5px !important;
}
#cloudFileList .cloud-row-actions > .tiny-button,
#cloudFileList .cloud-row-actions > a.tiny-button,
.cloud-current-content .cloud-row-actions > .tiny-button,
.cloud-current-content .cloud-row-actions > a.tiny-button,
.cloud-favorites-list .cloud-row-actions > .tiny-button,
.cloud-favorites-list .cloud-row-actions > a.tiny-button,
#cloudFileList .cloud-audio-controls > .tiny-button,
.cloud-favorites-list .cloud-audio-controls > .tiny-button {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:38px !important;
  height:30px !important;
  min-height:30px !important;
  padding:4px 9px !important;
  border:1px solid rgba(216,235,180,.38) !important;
  border-radius:8px !important;
  color:#edf6d8 !important;
  background:linear-gradient(180deg,rgba(75,91,57,.96),rgba(31,41,25,.98)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 2px 4px rgba(0,0,0,.22) !important;
  font-size:.64rem !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
#cloudFileList .cloud-row-actions > .tiny-button:hover,
#cloudFileList .cloud-row-actions > a.tiny-button:hover,
.cloud-current-content .cloud-row-actions > .tiny-button:hover,
.cloud-current-content .cloud-row-actions > a.tiny-button:hover,
.cloud-favorites-list .cloud-row-actions > .tiny-button:hover,
.cloud-favorites-list .cloud-row-actions > a.tiny-button:hover { filter:brightness(1.14); }
#cloudFileList .cloud-favorite-toggle,
.cloud-current-content .cloud-favorite-toggle,
.cloud-favorites-list .cloud-favorite-toggle {
  width:32px !important;
  min-width:32px !important;
  height:32px !important;
  min-height:32px !important;
  padding:0 !important;
  border-radius:9px !important;
  font-size:1.08rem !important;
}
#cloudFileList .cloud-audio-controls,
.cloud-favorites-list .cloud-audio-controls {
  gap:4px;
  margin:0 0 0 2px;
  padding:0;
  border:0;
}
#cloudFileList .cloud-audio-controls > .tiny-button,
.cloud-favorites-list .cloud-audio-controls > .tiny-button {
  min-width:32px !important;
  padding-inline:7px !important;
}
#cloudFileList .cloud-audio-speed,
.cloud-favorites-list .cloud-audio-speed {
  width:62px !important;
  min-width:62px !important;
  height:30px !important;
  min-height:30px !important;
  padding:3px 20px 3px 8px !important;
  border:1px solid rgba(216,235,180,.38) !important;
  border-radius:8px !important;
  outline:0 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 2px 4px rgba(0,0,0,.2) !important;
}
#cloudFileList .cloud-audio-speed:focus-visible,
.cloud-favorites-list .cloud-audio-speed:focus-visible {
  border-color:#dff5a8 !important;
  box-shadow:0 0 0 2px rgba(198,232,128,.22) !important;
}
#cloudFileList .cloud-audio-controls > .cloud-audio-toggle.is-active,
.cloud-favorites-list .cloud-audio-controls > .cloud-audio-toggle.is-active {
  color:#15200d !important;
  border-color:#e5f9b8 !important;
  background:linear-gradient(180deg,#e5f7b5,#92c25a) !important;
  box-shadow:0 0 0 1px rgba(226,248,179,.42),0 0 13px rgba(178,226,91,.62),inset 0 1px 0 rgba(255,255,255,.55) !important;
  filter:brightness(1.06) !important;
}
@media (max-width:700px) {
  #view-cloud > .cloud-content-tabs { margin-top:0 !important; }
  #view-cloud > .cloud-favorites-panel { padding:10px !important; }
  #view-cloud .cloud-browser-heading { margin-bottom:9px !important; }
  #cloudFileList .cloud-audio-controls,
  .cloud-favorites-list .cloud-audio-controls {
    flex:1 1 100%;
    margin-top:2px;
    padding-top:5px;
    border-top:1px solid rgba(222,238,189,.16);
  }
}

/* v1.10.50 · New Song, geordnete Favoriten und sichere Menüebenen */
.chordmap-card > .card-title { padding-right:190px !important; }
.chord-new-song-button {
  position:absolute;
  z-index:4;
  top:12px;
  right:58px;
  width:auto !important;
  min-width:122px !important;
  min-height:34px !important;
  padding:6px 10px !important;
  font-size:.68rem !important;
}
.chord-static-panel.is-collapsed > .chord-new-song-button { display:inline-flex !important; }
.cloud-favorites-list { display:grid; gap:14px; }
.cloud-favorite-section { display:grid; gap:8px; min-width:0; }
.cloud-favorite-section > h3 {
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:#edf6d4;
  font-family:"Share Tech Mono",monospace;
  font-size:.88rem;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.cloud-favorite-section-list { display:grid; gap:7px; min-height:54px; }
.top-rail { z-index:700 !important; }
.top-actions { z-index:720 !important; }
.header-profile-menu { z-index:740 !important; }
.header-profile-popover { z-index:760 !important; }
@media (max-width:700px) {
  .chordmap-card > .card-title { padding-right:170px !important; }
  .chord-new-song-button { top:10px; right:52px; min-width:108px !important; padding-inline:7px !important; font-size:.61rem !important; }
  .mobile-menu-toggle { z-index:540 !important; }
  .module-switch.is-mobile-open { z-index:539 !important; }
  .header-profile-popover { z-index:760 !important; }
}

/* v1.10.51 · neue Lyrics direkt im geöffneten Cloud-Ordner */
.cloud-section-title-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 8px;
}

/* v1.10.52 · Komplettsicherung zusätzlich am Ende der Cloud */
#view-cloud .cloud-export-card {
  width: 100%;
  margin-top: 16px;
}
#view-cloud .cloud-export-card > button { width: 100%; }

/* v1.10.53 · zentrierte Pop-ups, kompakte Cloud-Aktionen und X-Schließen */
body > .song-modal:not([hidden]),
.bb-dialog {
  position:fixed !important;
  inset:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:clamp(10px,3vw,34px) !important;
}
body > .song-modal > .song-modal-panel,
.bb-dialog > .bb-dialog-panel {
  margin:auto !important;
  max-height:calc(100dvh - clamp(20px,6vw,68px)) !important;
  overflow:auto;
}
.login-popover[open] {
  position:fixed !important;
  inset:50% auto auto 50% !important;
  width:min(430px,calc(100vw - 20px)) !important;
  max-height:calc(100dvh - 20px) !important;
  margin:0 !important;
  overflow:auto !important;
  transform:translate(-50%,-50%) !important;
  z-index:10020 !important;
}
.modal-close-button {
  display:grid !important;
  place-items:center !important;
  flex:0 0 38px !important;
  width:38px !important;
  min-width:38px !important;
  height:38px !important;
  min-height:38px !important;
  padding:0 !important;
  border-radius:10px !important;
  font:500 1.6rem/1 Arial,sans-serif !important;
}
.cloud-icon-action {
  display:inline-grid !important;
  place-items:center !important;
  flex:0 0 34px !important;
  width:34px !important;
  min-width:34px !important;
  height:30px !important;
  min-height:30px !important;
  padding:0 !important;
  font:900 1rem/1 Arial,sans-serif !important;
  text-align:center !important;
}
.cloud-icon-action-folder {
  flex-basis:46px !important;
  width:46px !important;
  min-width:46px !important;
  font-size:.9rem !important;
  letter-spacing:-.12em !important;
  padding-right:3px !important;
}
/* v1.10.54 · einheitliche Lyrics-Aktionen */
.cloud-edit-action::before {
  content:'✎';
  margin-right:4px;
  font:900 .9rem/1 Arial,sans-serif;
}
.cloud-row-actions,
.cloud-global-search-actions {
  align-items:center !important;
  gap:5px !important;
}

/* v1.10.55 · einheitliche Aktionszeile rechts unter Cloud-Dateien */
#cloudFileList .cloud-check-row,
#cloudLyricsList .cloud-check-row,
#cloudLinkList .cloud-check-row {
  grid-template-columns:auto minmax(0,1fr) !important;
  grid-template-areas:"check name" ". meta" ". action" !important;
  align-items:center !important;
}
#cloudFileList .cloud-check-row.has-audio-player {
  grid-template-areas:"check name" ". meta" ". action" "audio audio" !important;
}
#cloudFileList .cloud-row-actions,
#cloudLyricsList .cloud-row-actions,
#cloudLinkList .cloud-row-actions,
.cloud-favorites-list .cloud-row-actions {
  width:100% !important;
  justify-content:flex-end !important;
}
.cloud-favorite-row {
  grid-template-columns:minmax(0,1fr) !important;
  grid-template-areas:"name" "action" !important;
  align-items:center !important;
}
.cloud-favorite-row > .cloud-favorite-info { grid-area:name; }
.cloud-favorite-row > .cloud-row-actions { grid-area:action; }
.cloud-favorite-row.has-audio-player {
  grid-template-areas:"name" "action" "audio" !important;
}
.cloud-favorite-row > .cloud-audio-player {
  grid-area:audio;
  grid-column:1 !important;
}
.cloud-global-search-row {
  grid-template-columns:30px minmax(0,1fr) !important;
  grid-template-areas:"icon info" ". action" !important;
}
.cloud-global-search-row > .cloud-global-search-icon { grid-area:icon; }
.cloud-global-search-row > .cloud-global-search-info { grid-area:info; }
.cloud-global-search-row > .cloud-global-search-actions {
  grid-area:action;
  width:100%;
  justify-content:flex-end !important;
}

/* v1.10.56 · Inhalt links, Favoritenstern wieder separat links */
#cloudFileList .cloud-row-actions,
#cloudLyricsList .cloud-row-actions,
#cloudLinkList .cloud-row-actions,
.cloud-global-search-row > .cloud-global-search-actions {
  justify-content:flex-start !important;
}
.cloud-favorite-row {
  grid-template-columns:auto minmax(0,1fr) auto !important;
  grid-template-areas:"star name action" !important;
}
.cloud-favorite-row > .cloud-favorite-toggle { grid-area:star; }
.cloud-favorite-row > .cloud-favorite-info { grid-area:name; }
.cloud-favorite-row > .cloud-row-actions {
  grid-area:action;
  width:auto !important;
  justify-content:flex-end !important;
}
.cloud-favorite-row.has-audio-player {
  grid-template-areas:"star name action" ". audio audio" !important;
}
.cloud-favorite-row > .cloud-audio-player {
  grid-column:2 / -1 !important;
}
@media (max-width:700px) {
  .cloud-favorite-row {
    grid-template-columns:auto minmax(0,1fr) !important;
    grid-template-areas:"star name" "action action" !important;
  }
  .cloud-favorite-row.has-audio-player {
    grid-template-areas:"star name" "action action" "audio audio" !important;
  }
  .cloud-favorite-row > .cloud-row-actions {
    width:100% !important;
    justify-content:flex-start !important;
  }
  .cloud-favorite-row > .cloud-audio-player { grid-column:1 / -1 !important; }
}
@media (max-width:760px) {
  .bb-dialog { align-items:center !important; }
  .login-popover[open] { inset:50% auto auto 50% !important; }
}
.cloud-section-title-row > h3 { margin:0 !important; }
.cloud-new-lyrics-button {
  width:auto !important;
  min-width:124px !important;
  min-height:34px !important;
  padding:6px 10px !important;
  font-size:.66rem !important;
}
.cloud-new-lyrics-button[hidden] { display:none !important; }
@media (max-width:560px) {
  .cloud-section-title-row { align-items:stretch; flex-direction:column; }
  .cloud-new-lyrics-button { width:100% !important; }
}
/* v1.12.14 · Cloud-Sammelauswahl, Termin-Abstimmungen, Profile und Gear-Uploads */
.cloud-icon-action-viewer { color:#cfe998 !important; }
.cloud-icon-action-viewer::before { content:""; display:block; width:18px; height:13px; border:2px solid currentColor; border-radius:3px; box-shadow:inset 0 0 0 2px rgba(12,20,8,.55),0 0 7px rgba(190,226,124,.22); background:linear-gradient(145deg,rgba(218,241,170,.18),rgba(87,116,55,.22)); }
.cloud-icon-action-viewer::after { content:""; display:block; width:10px; height:2px; margin-top:2px; border-radius:2px; background:currentColor; }
.cloud-list-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; }
.cloud-list-heading h3 { margin:0; }
.cloud-list-heading label { display:inline-flex; align-items:center; gap:6px; color:rgba(233,244,211,.78); font-size:.72rem; font-weight:700; white-space:nowrap; }
.cloud-list-heading input { width:17px; height:17px; accent-color:#a9cc74; }
.cloud-move-target { display:grid; grid-template-columns:auto minmax(190px,1fr); align-items:center; gap:7px; min-width:min(100%,330px); }
.cloud-move-target > span { color:rgba(233,244,211,.75); font-size:.68rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.cloud-move-target select { min-width:0; font-family:"Share Tech Mono",monospace; }
.band-event-card-body h3 { padding:8px 10px !important; border-left:4px solid #cbe88e; border-radius:0 8px 8px 0; background:linear-gradient(90deg,rgba(179,218,107,.18),rgba(179,218,107,.025)); font-size:clamp(1.9rem,3.2vw,2.55rem) !important; letter-spacing:.035em; text-transform:uppercase; text-shadow:0 2px 10px rgba(0,0,0,.48); }
.band-event-toolbar-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.band-poll-card { position:relative; grid-template-columns:1fr !important; }
.band-poll-card .band-event-card-body { padding-right:64px; }
.band-poll-delete-button { position:absolute; z-index:2; top:12px; right:12px; width:38px; min-width:38px; height:38px; padding:0; }
.band-poll-vote-options { display:grid; gap:8px; margin-top:4px; }
.band-poll-vote-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:8px; }
.band-poll-vote-button { min-height:40px; padding:8px 11px; border:1px solid rgba(218,239,177,.25); border-radius:10px; color:#eef8db; background:rgba(10,17,7,.66); font:700 .82rem/1.2 "Share Tech Mono",monospace; text-align:left; cursor:pointer; }
.band-poll-vote-button.is-selected { border-color:#cce995; color:#10200d; background:linear-gradient(#d9eeae,#9fc66e); box-shadow:0 0 12px rgba(187,225,119,.25); }
.band-poll-vote-row > strong { min-width:72px; color:#dbeabf; font-size:.75rem; text-align:right; }
.band-poll-form { display:grid; gap:12px; }
.band-poll-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.band-poll-add-option{justify-self:start}.band-poll-option-controls{display:grid!important;grid-template-columns:minmax(0,1fr) 42px;gap:7px;align-items:center}.band-poll-option-controls .band-poll-remove-option{width:42px;min-width:42px;height:42px;padding:0;font-size:1.2rem}
@media(max-width:700px){ .band-event-toolbar-actions,.band-event-toolbar-actions .metal-button{width:100%}.band-poll-options{grid-template-columns:1fr}.band-poll-vote-row{grid-template-columns:minmax(0,1fr) auto}.band-poll-vote-row>.tiny-button{grid-column:1/-1}.cloud-section-title-row .cloud-list-heading{align-items:flex-start;flex-direction:column}.cloud-move-target{grid-template-columns:1fr;width:100%}.cloud-move-target select{width:100%} }
/* v1.12.22 · persönliche Musikerrollen und Besetzungsrollen in Bands */
.profile-musician-roles{display:grid;gap:10px;padding:12px;border:1px solid rgba(223,238,183,.2);border-radius:14px}
.musician-role-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:7px}
.musician-role-option{display:flex!important;align-items:center;gap:8px;min-height:38px;padding:7px 9px;border:1px solid rgba(223,238,183,.16);border-radius:10px;background:rgba(8,13,6,.3);cursor:pointer}
.musician-role-option:has(input:checked){border-color:rgba(202,231,139,.55);background:rgba(166,205,94,.14)}
.musician-role-option input{width:auto!important;margin:0}.musician-role-option:has(input:disabled){opacity:.5;cursor:not-allowed}
.musician-role-count{color:#cfe2a5;font-size:.74rem;letter-spacing:.05em}
.musician-role-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.musician-role-tags span,.musician-role-tag-remove{display:inline-flex;align-items:center;min-height:27px;padding:4px 8px;border:1px solid rgba(213,235,166,.22);border-radius:999px;background:rgba(180,216,108,.1);color:#e4f1c2;font:700 .7rem/1.2 "Share Tech Mono",monospace}
.musician-role-tag-remove{cursor:pointer;background:linear-gradient(#46543a,#283020)}
.member-role-grid{grid-template-columns:1fr!important}
.member-role-editor-row{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(150px,.55fr) minmax(240px,1.4fr);gap:10px;align-items:end;padding:11px;border:1px solid rgba(223,238,183,.17);border-radius:13px;background:rgba(7,12,5,.3)}
.member-role-editor-row>strong{align-self:center;color:#edf5d2}.member-permission-role{display:grid;gap:5px}.member-music-role-editor{display:grid;gap:6px}.member-music-role-caption{color:rgba(238,246,211,.72);font-size:.72rem}.member-music-role-add{width:100%}
.band-member-chip span{display:grid;gap:2px;min-width:0}.band-member-chip span small{color:rgba(225,239,195,.7);font-size:.67rem;line-height:1.3}
@media(max-width:760px){.musician-role-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.musician-role-option{font-size:.73rem}.member-role-editor-row{grid-template-columns:1fr}.member-music-role-editor{min-width:0}}

/* v1.12.52 · Chordmap-Klangquelle und Akustikgitarren-Samples */
@media (min-width:1181px) {
  .chord-main-settings { grid-template-columns:minmax(82px,.45fr) minmax(105px,.58fr) minmax(190px,1.3fr) minmax(86px,.52fr) minmax(180px,1.05fr) minmax(138px,.72fr) !important; }
  .chord-performance-settings { grid-template-columns:minmax(300px,1.55fr) minmax(112px,.55fr) minmax(180px,.9fr) minmax(145px,.66fr) minmax(145px,.66fr) minmax(112px,.55fr) !important; }
}
/* v1.12.23 · einheitlich zentrierte Hauptnavigation für Gäste und Mitglieder */
.module-switch .module-btn,
.is-guest .module-switch .module-btn.requires-auth,
.is-guest .module-switch .module-btn.requires-auth.is-locked {
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
}

/* v1.14.33 · ausschließlich manuelle Part-Wiederholung */

/* v1.14.33 · TV-Lampe, Merkliste und Logout im Avatar-Menü */
.header-profile-popover>a{display:flex;align-items:center;min-height:38px;padding:8px 11px;border:1px solid transparent;border-radius:8px;color:#e8f4ce;text-decoration:none;font-size:.76rem;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.header-profile-popover>a:hover,.header-profile-popover>a:focus-visible{border-color:rgba(214,236,166,.25);background:rgba(214,236,166,.09)}
.header-profile-popover>.profile-menu-logout{order:99;margin-top:7px;border-top-color:rgba(245,121,96,.3);color:#ffd0c8}
.guest-account-button{flex-direction:column!important;gap:2px!important}
.guest-account-button .header-user-avatar{width:43px!important;height:43px!important}
.guest-avatar-label{display:block;color:#e9f4ce;font:800 .54rem/1 "Share Tech Mono",monospace;font-style:normal;letter-spacing:.12em;text-transform:uppercase}
@media(max-width:700px){.guest-account-button .header-user-avatar{width:34px!important;height:34px!important}.guest-avatar-label{font-size:.46rem;letter-spacing:.08em}}
.chord-section .section-count-controls {
  flex:0 1 auto;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:stretch;
}
.chord-section .section-number-control {
  display:grid;
  grid-template-columns:minmax(62px,auto) 62px auto;
  align-items:center;
  gap:5px;
  min-height:34px;
  padding:3px 7px;
  border:1px solid rgba(219,235,181,.2);
  border-radius:9px;
  background:rgba(12,18,9,.38);
  color:#dbe8bd;
  font-family:"Share Tech Mono",monospace;
}
.chord-section .section-number-label {
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.055em;
  text-transform:uppercase;
  white-space:nowrap;
}
.chord-section .section-number-unit {
  font-size:.67rem;
  white-space:nowrap;
}
.chord-section .section-repeat-inline {
  width:62px;
  min-width:62px;
  min-height:30px;
  padding:3px 5px;
  text-align:center;
}
@media(max-width:760px) {
  .chord-section .section-meta { width:100%; white-space:normal; }
  .chord-section .section-count-controls { width:100%; display:grid; grid-template-columns:1fr; }
  .chord-section .section-number-control { grid-template-columns:minmax(0,1fr) 68px auto; }
}
@media(max-width:460px) {
  .chord-section .section-count-controls { grid-template-columns:1fr; }
}

/* v1.12.37 · stabile Partkopf-Bedienung und fester Einklappbutton */
.chord-section .section-header {
  position:relative;
  grid-template-columns:minmax(220px,1fr) minmax(250px,auto) minmax(390px,auto);
  padding-right:42px;
}
.chord-section .section-count-controls {
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr);
}
.chord-section .section-number-control {
  min-width:0;
  grid-template-columns:minmax(0,1fr) 58px auto;
}
.chord-section .section-collapse-button.is-plus-minus {
  position:absolute;
  z-index:4;
  top:0;
  right:0;
  margin:0;
}
.chord-static-panel > .panel-collapse-toggle {
  top:10px;
  right:10px;
}
@media(max-width:1180px) {
  .chord-section .section-header { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .chord-section .section-name-input,
  .chord-section .section-meta,
  .chord-section .section-count-controls { grid-column:1 / -1; }
  .chord-section .section-mini-button { width:100%; }
}
@media(max-width:760px) {
  .chord-section .section-header { grid-template-columns:1fr; }
  .chord-section .section-count-controls { grid-template-columns:1fr; }
}
@media(max-width:520px) {
  .chord-section .section-count-controls { grid-template-columns:1fr; }
}

/* v1.12.38 · globale Repeat-Auswahl bleibt vollständig im Song-Panel */
.chord-toolbar-row > *,
.chord-toolbar-row label,
.chord-toolbar-row select,
.chord-toolbar-row input {
  min-width:0;
  max-width:100%;
}
.chord-performance-settings label:last-child,
.chord-performance-settings #repeatSelect {
  width:100%;
  min-width:0;
  max-width:100%;
}
@media(min-width:1181px) {
  .chord-performance-settings {
    grid-template-columns:minmax(270px,1.45fr) minmax(100px,.52fr) minmax(165px,.86fr) minmax(120px,.62fr) minmax(135px,.68fr) minmax(150px,.75fr) !important;
  }
}

/* v1.12.52 · echte Tuner-Werkzeuge statt des dekorativen Reglers */
.instrument-panel {
  grid-template-columns:minmax(0,1fr) minmax(320px,370px) !important;
}
.tuner-side-tools {
  min-width:0;
}
.tuner-side-section {
  position:relative;
  min-width:0;
  padding:13px;
  border:1px solid rgba(220,235,181,.16);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(36,45,27,.72),rgba(7,11,6,.48));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),inset 0 -10px 22px rgba(0,0,0,.2);
}
.tuner-side-section .card-title {
  display:flex;
  align-items:center;
  min-height:34px;
  margin:0 0 14px;
  padding-right:40px;
  font-size:.88rem;
}
.tuner-combined-content {
  display:grid;
  gap:12px;
  margin-top:0;
}
.tuner-tool-group {
  min-width:0;
  padding:10px;
  border:1px solid rgba(220,235,181,.11);
  border-radius:11px;
  background:rgba(2,6,2,.2);
}
.tuner-tool-title {
  margin-bottom:8px;
  color:#cdd7ad;
  font-size:.74rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.tuner-calibration-panel .form-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.tuner-calibration-panel label span {
  font-size:.7rem;
  white-space:nowrap;
}
.tuner-calibration-panel input,
.tuner-calibration-panel select {
  min-width:0;
  min-height:38px;
  padding:7px 8px;
  font-size:.82rem;
}
.tuner-side-section .panel-collapse-toggle {
  top:8px;
  right:8px;
  width:34px;
  min-width:34px;
  height:34px;
  min-height:34px;
}
.tuner-side-section.tuner-collapsible.is-collapsed {
  min-height:52px;
  padding-bottom:8px !important;
}
.tuner-readout-panel .scope-line {
  gap:8px;
  padding:6px 0;
  font-size:.82rem;
}
.tuner-readout-panel .scope-line:last-child { border-bottom:0; }
.control-tower > .panic-button { width:100%; }

@media(max-width:980px) {
  .instrument-panel { grid-template-columns:minmax(0,1fr) !important; }
  .control-tower { grid-template-columns:minmax(0,1fr); align-items:stretch; }
  .tuner-combined-content { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .control-tower > .panic-button { min-height:70px; }
}
@media(max-width:620px) {
  .control-tower { grid-template-columns:minmax(0,1fr); }
  .tuner-combined-content { grid-template-columns:minmax(0,1fr); }
  .tuner-calibration-panel .form-grid { grid-template-columns:minmax(0,1fr); }
  .control-tower > .panic-button { min-height:54px; }
}

/* v1.12.52 · Bandprofil-Weblinks und YouTube-Schaufenster */
.band-editor-grid .band-links-field { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:12px; }
.band-editor-grid .band-youtube-field { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.profile-grid .band-links-field { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:12px; }
.profile-grid .band-youtube-field { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.band-youtube-field > label { display:grid; align-content:start; gap:7px; }
.band-editor-grid .band-links-field > small,
.band-editor-grid .band-youtube-field > small { grid-column:1/-1; color:rgba(238,246,211,.68); }
.band-web-presence { display:grid; gap:12px; padding:15px; border:1px solid rgba(220,238,183,.16); border-radius:16px; background:rgba(0,0,0,.14); }
.band-web-presence-title { color:#dfeabd; font:800 .76rem/1 "Share Tech Mono",monospace; letter-spacing:.11em; text-transform:uppercase; }
.band-web-links { display:flex; flex-wrap:wrap; gap:7px; }
.band-web-link { max-width:100%; overflow:hidden; text-overflow:ellipsis; }
.band-video-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.band-video-card { position:relative; display:grid; overflow:hidden; min-width:0; border:1px solid rgba(222,242,173,.2); border-radius:13px; color:#fff; background:#080d06; text-decoration:none; box-shadow:0 8px 20px rgba(0,0,0,.25); }
.band-video-card img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.band-video-card span { padding:9px 10px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:800; }
.band-video-card:hover { border-color:rgba(224,244,183,.55); transform:translateY(-1px); }
@media(max-width:650px) {
  .band-editor-grid .band-links-field,
  .band-editor-grid .band-youtube-field,
  .profile-grid .band-links-field,
  .profile-grid .band-youtube-field,
  .band-video-grid { grid-template-columns:1fr; }
}
