:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #f0ede6;
  --border: #e2ddd2;
  --text: #1d1b20;
  --muted: #6c6773;
  --accent: #c9821c;
  --accent-strong: #a86a10;
  --accent-soft: #fbefd9;
  --chord: #b4560f;
  --ok: #2f8a4c;
  --warn: #b7791f;
  --err: #c0392b;
  --claude: #7a5af5;
  --claude-soft: #efeaff;
  --now: #ffe2a8;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.04);
  --radius: 12px;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131217; --surface: #1c1b22; --surface-2: #24232b; --border: #33313b;
    --text: #ecebf0; --muted: #9c98a6; --accent: #e8a33d; --accent-strong: #f3b553;
    --accent-soft: #3a2d17; --chord: #f0a85a; --claude: #a48bff; --claude-soft: #2a2442;
    --now: #5a4317; --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text);
}
a { color: var(--accent-strong); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.loading { padding: 4rem; text-align: center; color: var(--muted); }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1.2rem;
  padding: .6rem 1rem; background: var(--surface); border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--text); text-decoration: none; }
.logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #16151a; }
.topbar nav { display: flex; gap: .3rem; }
.topbar nav a { padding: .35rem .7rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 500; }
.topbar nav a.active { background: var(--surface-2); color: var(--text); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: .8rem; }
.who { color: var(--muted); font-size: .9rem; }
.toggle { display: inline-flex; gap: .3rem; align-items: center; font-size: .85rem; color: var(--muted); cursor: pointer; }

main { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem 5rem; }

/* Controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  font: inherit; font-weight: 550; padding: .5rem .9rem; border-radius: 9px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #1a1408; }
.btn.primary:hover { background: var(--accent-strong); }
.btn.claude { background: var(--claude); border-color: var(--claude); color: white; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.danger { color: var(--err); }
.btn.small { padding: .25rem .55rem; font-size: .85rem; border-radius: 7px; }
.btn.icon { padding: .3rem .5rem; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.on { background: var(--accent-soft); border-color: var(--accent); }
input[type=text], input[type=password], input[type=number], input:not([type]), select, textarea {
  font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border);
  border-radius: 9px; padding: .5rem .65rem; width: 100%;
}
textarea { resize: vertical; min-height: 5rem; }
textarea.code { font-family: var(--mono); font-size: .9rem; line-height: 1.55; min-height: 12rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
label.field { display: block; margin-bottom: .9rem; }
label.field > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .25rem; color: var(--muted); }
.row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.grow { flex: 1; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem; }
.stack > * + * { margin-top: 1rem; }
.center-card { max-width: 420px; margin: 8vh auto; }
.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: .1rem .5rem; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.badge.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.badge.warn { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.badge.err { background: color-mix(in srgb, var(--err) 15%, transparent); color: var(--err); }
.badge.claude { background: var(--claude-soft); color: var(--claude); }
.badge.accent { background: var(--accent-soft); color: var(--accent-strong); }
.notice { padding: .7rem .9rem; border-radius: 10px; background: var(--surface-2); font-size: .9rem; }
.notice.err { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }

/* Song list */
.page-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.song-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.song-card { display: block; text-decoration: none; color: inherit; transition: transform .1s; }
.song-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.song-card h3 { margin-bottom: .2rem; }
.song-card .meta { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .6rem; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* Song page */
.song-head { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 1rem; }
.song-head h1 { margin: 0; }
.song-head .titles { flex: 1; min-width: 220px; }
.toolbar {
  position: sticky; top: 53px; z-index: 10; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px);
  padding: .55rem 0; margin-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.transpose { display: inline-flex; align-items: center; gap: .2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: .15rem; }
.transpose .val { min-width: 5.5rem; text-align: center; font-weight: 600; font-size: .9rem; }
.sep { width: 1px; height: 24px; background: var(--border); }

.section { padding: 0; overflow: hidden; }
.section + .section { margin-top: 1rem; }
.section-head { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.section-head .name { font-weight: 700; font-size: 1.05rem; border: none; background: transparent; padding: .1rem .3rem; width: auto; min-width: 6rem; flex: 1; }
.section-head .name:focus { background: var(--surface); }
.tabs { display: flex; gap: .2rem; padding: .5rem .9rem 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tabs button { font: inherit; background: none; border: none; padding: .45rem .7rem; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; font-weight: 550; white-space: nowrap; }
.tabs button.active { color: var(--text); border-bottom-color: var(--accent); }
.tab-body { padding: 1rem .9rem; }

/* Sheet */
.sheet { font-size: 1rem; line-height: 1.4; }
.sheet .line { min-height: 1.4em; margin: .15rem 0; white-space: pre-wrap; }
.sheet .comment { color: var(--muted); font-style: italic; margin: .5rem 0 .2rem; }
.sheet .cl-line { display: flex; flex-wrap: wrap; align-items: flex-end; margin: .2rem 0 .5rem; }
.sheet .cl { display: inline-flex; flex-direction: column; white-space: pre; }
.sheet .cl .c { color: var(--chord); font-weight: 700; font-size: .92em; min-height: 1.3em; padding-right: .35em; }
.sheet .cl .l { min-height: 1.3em; }
.sheet .grid { display: flex; flex-wrap: wrap; margin: .25rem 0; font-family: var(--mono); }
.sheet .bar { min-width: 5.5rem; padding: .35rem .6rem; border-left: 2px solid var(--border); display: flex; gap: .7rem; align-items: center; transition: background .1s; border-radius: 2px; }
.sheet .grid .bar:last-child { border-right: 2px solid var(--border); }
.sheet .bar.now { background: var(--now); }
.sheet .chord { color: var(--chord); font-weight: 700; }
.sheet .rest { color: var(--muted); }
.sheet-empty { color: var(--muted); font-size: .9rem; }
.help { font-size: .8rem; color: var(--muted); margin-top: .4rem; }
.help code { font-family: var(--mono); background: var(--surface-2); padding: 0 .25rem; border-radius: 4px; }

/* Player */
.player { border: 1px solid var(--border); border-radius: 10px; padding: .7rem; background: var(--surface-2); margin-bottom: 1rem; }
.player audio { width: 100%; height: 36px; }
.nowbox { display: flex; gap: 1.2rem; align-items: baseline; margin: .4rem 0 .5rem; flex-wrap: wrap; }
.nowbox .now-chord { font-size: 2rem; font-weight: 800; color: var(--chord); min-width: 4rem; }
.nowbox .next-chord { color: var(--muted); }
.nowbox .next-chord b { color: var(--text); }
.timeline { display: flex; height: 34px; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--surface); position: relative; }
.timeline .seg { border-right: 1px solid var(--bg); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; overflow: hidden; white-space: nowrap; color: var(--text); background: var(--accent-soft); }
.timeline .seg.nc { background: transparent; color: var(--muted); }
.timeline .seg.now { background: var(--accent); color: #1a1408; }
.timeline .cursor { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--text); pointer-events: none; }
.player .controls { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-top: .5rem; font-size: .85rem; }
.player select { width: auto; padding: .25rem .4rem; font-size: .85rem; }

/* Takes */
.take { display: flex; gap: .7rem; align-items: center; padding: .55rem .2rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.take:last-child { border-bottom: none; }
.take .info { flex: 1; min-width: 180px; }
.take.active { background: var(--accent-soft); border-radius: 8px; padding-left: .6rem; }
.dropzone { border: 2px dashed var(--border); border-radius: 10px; padding: 1.1rem; text-align: center; color: var(--muted); margin-bottom: 1rem; }
.dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
.rec-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--err); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Lyrics */
.variants { display: grid; gap: .8rem; }
.variant { border: 1px solid var(--border); border-radius: 10px; padding: .8rem .9rem; }
.variant.chosen { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.variant.claude { background: linear-gradient(0deg, transparent, var(--claude-soft) 300%); }
.variant .vhead { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .4rem; }
.variant .vtext { white-space: pre-wrap; font-size: 1.02rem; line-height: 1.55; }
.variant .vexpl { color: var(--muted); font-size: .85rem; margin-top: .35rem; font-style: italic; }
.variant .vfoot { display: flex; gap: .4rem; align-items: center; margin-top: .6rem; flex-wrap: wrap; }
.lyrics-chosen { white-space: pre-wrap; margin-top: .8rem; padding-top: .8rem; border-top: 1px dashed var(--border); }
.subcard { border: 1px solid var(--border); border-radius: 10px; padding: .8rem; background: var(--surface-2); }

/* Ideas */
.ideas { display: grid; gap: .6rem; }
.idea { border: 1px solid var(--border); border-radius: 10px; padding: .7rem .85rem; background: var(--surface); }
.idea .ititle { font-weight: 650; }
.idea .prog { font-family: var(--mono); color: var(--chord); font-weight: 700; margin: .2rem 0; }
.idea .expl { font-size: .9rem; color: var(--muted); }
.roman { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .8rem; }
.roman span { font-family: var(--mono); font-size: .85rem; background: var(--surface-2); border-radius: 6px; padding: .15rem .5rem; }
.roman span.out { background: color-mix(in srgb, var(--warn) 18%, transparent); }

.ai-panel { margin-top: 2rem; border-color: color-mix(in srgb, var(--claude) 40%, var(--border)); }
.ai-panel h2 { color: var(--claude); }
.ai-result + .ai-result { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* Stage view */
.stage .sheet { font-size: 1.35rem; }
.stage .section-stage { break-inside: avoid; margin-bottom: 1.6rem; }
.stage .section-stage h2 { color: var(--accent-strong); border-bottom: 2px solid var(--accent); padding-bottom: .2rem; }

/* Dialog */
dialog { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); padding: 1.3rem; width: min(520px, 94vw); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(0,0,0,.4); }

/* Toasts */
#toasts { position: fixed; bottom: 1rem; right: 1rem; display: grid; gap: .5rem; z-index: 100; }
.toast { background: var(--text); color: var(--bg); padding: .65rem 1rem; border-radius: 10px; box-shadow: var(--shadow); max-width: 360px; font-size: .9rem; animation: up .2s; }
.toast.err { background: var(--err); color: white; }
@keyframes up { from { transform: translateY(8px); opacity: 0; } }

table.list { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.list td, table.list th { text-align: left; padding: .45rem .3rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.copy-field { display: flex; gap: .4rem; }
.copy-field input { font-family: var(--mono); font-size: .8rem; }

@media (max-width: 640px) {
  .topbar { gap: .6rem; padding: .5rem .7rem; }
  .who { display: none; }
  .toolbar { top: 49px; }
  main { padding: 1rem .7rem 4rem; }
  .sheet .bar { min-width: 4.2rem; padding: .3rem .4rem; }
  .nowbox .now-chord { font-size: 1.6rem; }
}
@media print {
  .topbar, .toolbar, .no-print, #toasts, #miniplayer, .guest-banner { display: none !important; }
  body { background: white; color: black; }
  main { max-width: none; padding: 0; }
}

/* ===================================================================== v2 */
.logo { width: 30px; height: 30px; border-radius: 8px; display: block; background: none; }
.guest-banner { background: var(--claude-soft); color: var(--claude); text-align: center; padding: .4rem 1rem; font-size: .88rem; font-weight: 600; }
body.guest .edit-only, body.guest .member-only { display: none !important; }
body:not(.can-ai) .ai-only { display: none !important; }
.hint { font-size: .8rem; color: var(--muted); }
.progressbar { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.progressbar > div { height: 100%; background: var(--accent); width: 0; transition: width .2s; }

/* Player im Moises-Stil */
.bigplayer { padding: 0; overflow: hidden; margin-bottom: 1.2rem; }
.bp-head { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem .4rem; flex-wrap: wrap; }
.bp-head .title { font-weight: 700; }
.bp-now { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; padding: .6rem 1rem .2rem; }
.chordcard { min-width: 8.5rem; text-align: center; background: var(--surface-2); border-radius: 14px; padding: .5rem .9rem .6rem; }
.chordcard .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.chordcard .big { font-size: 2.8rem; font-weight: 800; line-height: 1.1; color: var(--chord); min-height: 3.1rem; }
.beats { display: flex; gap: .35rem; justify-content: center; margin-top: .2rem; }
.beats i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); display: block; transition: transform .08s; }
.beats i.on { background: var(--accent); transform: scale(1.3); }
.upnext { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.upnext .nx { font-size: 1.3rem; font-weight: 700; padding: .25rem .7rem; border-radius: 10px; background: var(--surface-2); color: var(--text); }
.upnext .nx:first-child { background: var(--accent-soft); color: var(--accent-strong); }
.upnext .sec-now { width: 100%; font-size: .85rem; color: var(--muted); }
.lane { position: relative; height: 46px; overflow: hidden; margin: .6rem 0 0; background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); cursor: pointer; }
.lane-track { position: absolute; top: 0; bottom: 0; left: 0; will-change: transform; }
.lane .ch { position: absolute; top: 6px; bottom: 6px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; padding-left: .5rem; font-weight: 700; font-size: .95rem; overflow: hidden; white-space: nowrap; color: var(--text); }
.lane .ch.nc { background: transparent; border-style: dashed; color: var(--muted); }
.lane .ch.now { background: var(--accent); border-color: var(--accent); color: #1a1408; }
.lane .playhead { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--text); z-index: 2; }
.sections-lane { position: relative; height: 26px; margin: .5rem 1rem 0; }
.sections-lane .sl { position: absolute; top: 0; bottom: 0; border-radius: 6px; font-size: .72rem; font-weight: 700; display: flex; align-items: center; padding: 0 .4rem; overflow: hidden; white-space: nowrap; cursor: pointer; color: #1d1b20; opacity: .7; border: 2px solid transparent; }
.sections-lane .sl.now { opacity: 1; border-color: var(--text); }
.wave { display: block; width: calc(100% - 2rem); height: 56px; margin: .35rem 1rem 0; cursor: pointer; }
.bp-controls { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem .9rem; flex-wrap: wrap; }
.playbtn { width: 52px; height: 52px; border-radius: 50%; border: none; background: var(--accent); color: #1a1408; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; flex: none; }
.playbtn:hover { background: var(--accent-strong); }
.bp-controls .time { font-family: var(--mono); font-size: .9rem; min-width: 7.5rem; }
.bp-controls select { width: auto; padding: .3rem .45rem; font-size: .85rem; }
.bp-status { padding: 1rem; }

/* Mini-Player unten */
#miniplayer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(0,0,0,.12); padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: .8rem; }
#miniplayer[hidden] { display: none; }
#miniplayer .playbtn { width: 42px; height: 42px; font-size: 1rem; }
#miniplayer .mp-chord { font-size: 1.6rem; font-weight: 800; color: var(--chord); min-width: 4rem; }
#miniplayer .mp-next { color: var(--muted); }
#miniplayer .mp-sec { margin-left: auto; font-size: .85rem; color: var(--muted); text-align: right; }

/* Teile */
.section.playing { box-shadow: 0 0 0 2px var(--accent); }
.section-head .tag { width: 10px; height: 26px; border-radius: 4px; flex: none; }
.section-head .range { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.menu { position: relative; }
.menu-list { position: absolute; right: 0; top: 110%; z-index: 25; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18); min-width: 15rem; padding: .3rem; }
.menu-list button { display: block; width: 100%; text-align: left; font: inherit; background: none; border: none; padding: .45rem .7rem; border-radius: 7px; cursor: pointer; color: var(--text); }
.menu-list button:hover { background: var(--surface-2); }
.menu-list button.danger { color: var(--err); }
.menu-list hr { border: none; border-top: 1px solid var(--border); margin: .25rem 0; }
.sheet.editable .bar { cursor: pointer; }
.sheet.editable .bar:hover { background: var(--accent-soft); }
.sheet .bar.editing { outline: 2px solid var(--accent); }

/* Akkord-Schnelleditor */
.popover { position: absolute; z-index: 40; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.25); padding: .7rem; width: min(370px, 94vw); }
.popover .chips { display: flex; flex-wrap: wrap; gap: .3rem; margin: .5rem 0; }
.popover .chip { font: inherit; font-weight: 700; padding: .25rem .55rem; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; color: var(--chord); }
.popover .chip small { color: var(--muted); font-weight: 500; margin-left: .2rem; font-size: .7rem; }
.popover .chip:hover { border-color: var(--accent); }
.popover input.chordin { font-size: 1.3rem; font-weight: 700; font-family: var(--mono); }

/* Bühnenansicht */
.stage-modes { display: inline-flex; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
.stage-modes button { font: inherit; border: none; background: var(--surface); padding: .45rem .8rem; cursor: pointer; color: var(--muted); }
.stage-modes button.active { background: var(--accent); color: #1a1408; font-weight: 650; }
.stage .section-stage .stage-lyrics { white-space: pre-wrap; }
.stage.lyrics-only .section-stage .stage-lyrics { line-height: 1.55; border: none; padding-top: 0; margin-top: .3rem; }

/* Texte */
.textidea { border: 1px solid var(--border); border-radius: 10px; padding: .7rem .85rem; }
.textidea + .textidea { margin-top: .6rem; }
.textidea pre { white-space: pre-wrap; font: inherit; margin: .4rem 0 0; max-height: 14rem; overflow: auto; }
.dist-row { display: grid; grid-template-columns: 9rem 1fr; gap: .6rem; align-items: start; margin-bottom: .6rem; }
.dist-row textarea { min-height: 3.2rem; }
dialog.wide { width: min(760px, 96vw); }

@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; row-gap: .35rem; }
  .brand span { display: none; }
  .topbar nav a { padding: .3rem .55rem; }
  .topbar-right { gap: .6rem; }
  .topbar-right .btn { padding: .25rem .5rem; }
  .bp-now { grid-template-columns: 1fr; }
  .chordcard { display: flex; align-items: center; justify-content: center; gap: 1rem; }
  .chordcard .label { display: none; }
  .chordcard .big { font-size: 2.3rem; }
  .dist-row { grid-template-columns: 1fr; }
  .section-head .range { display: none; }
}

/* Transport: Stopp, Schleifen */
.stopbtn { font-size: .8rem; line-height: 1; }
.btn.active { background: var(--accent); border-color: var(--accent); color: #1a1408; }
.seg { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.seg > span { padding: 0 .45rem; }
.seg button { border: none; border-left: 1px solid var(--border); background: var(--surface); color: var(--text); padding: .28rem .6rem; font-size: .82rem; cursor: pointer; }
.seg button.active { background: var(--accent); color: #1a1408; font-weight: 700; }
.sec-transport { display: inline-flex; gap: .25rem; }
.sec-transport .btn { min-width: 2rem; padding: .25rem .4rem; }
