/* Mountain Cruisers – Schwarz mit Gelb (Farbe aus dem Logo) */
:root {
  color-scheme: dark;
  --bg: #070707; --card: #121212; --card-2: #1a1a1a; --line: #2a2716;
  --yellow: #f7d708; --yellow-2: #ffe55c; --yellow-soft: rgba(247, 215, 8, .12);
  --ink: #f3e7a6; --muted: #a39a6b; --danger: #ff6b5e; --ok: #8fd17a; --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); }
a { color: var(--yellow); }
a:hover { color: var(--yellow-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--yellow); }
h1 { font-size: 1.7rem; letter-spacing: .01em; } h2 { font-size: 1.3rem; margin-top: 1.4em; } h3 { font-size: 1.05rem; }
::selection { background: var(--yellow); color: #000; }

/* Kopfzeile */
.top { background: #000; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: .6rem; padding-bottom: .6rem; }
.logo { color: var(--yellow); text-decoration: none; font-weight: 800; letter-spacing: .04em; font-size: 1.15rem; display: flex; align-items: center; gap: .55rem; text-transform: uppercase; }
.logo img { height: 34px; width: auto; display: block; }
.logo:hover { color: var(--yellow-2); }
nav.main { display: flex; gap: .2rem; flex-wrap: wrap; flex: 1; }
nav.main a, .top form button { color: var(--ink); text-decoration: none; padding: .35rem .6rem; border-radius: 6px; font-size: .95rem; background: none; border: 0; cursor: pointer; font: inherit; }
nav.main a:hover, nav.main a.on { background: var(--yellow-soft); color: var(--yellow); }
nav.main { align-items: center; }
/* Untermenü „Club“ */
.dd { position: relative; }
.dd summary { list-style: none; color: var(--ink); font-weight: 400; padding: .35rem .6rem; border-radius: 6px; font-size: .95rem; user-select: none; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: ""; display: inline-block; width: .38em; height: .38em; margin-left: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.2em) rotate(45deg); transition: transform .15s; }
.dd[open] summary::after { transform: translateY(.05em) rotate(-135deg); }
.dd summary:hover, .dd.on summary, .dd[open] summary { background: var(--yellow-soft); color: var(--yellow); }
.dd-menu { position: absolute; top: calc(100% + .35rem); left: 0; z-index: 20; min-width: 230px; background: #0d0d0d; border: 1px solid var(--line); border-radius: 10px; padding: .35rem; box-shadow: 0 12px 30px rgba(0,0,0,.6); display: flex; flex-direction: column; }
.dd-menu a, .dd-menu button { display: block; padding: .5rem .7rem !important; text-align: left; width: 100%; color: var(--ink); text-decoration: none; border-radius: 6px; }
.dd-menu a:hover, .dd-menu button:hover { background: var(--yellow-soft); color: var(--yellow); }
.dd-menu.right { left: auto; right: 0; min-width: 170px; }
.dd.user summary.btn { padding: .35rem .7rem; font-weight: 700; color: var(--yellow); background: none; }
.burger b { font-weight: 400; }
.top .wrap { max-width: 1240px; }
.dd.user summary .ini { display: none; font-style: normal; }
/* Menü-Knopf auf dem Handy */
.nav-toggle { display: none; }
.burger { display: none; align-items: center; gap: .45rem; color: var(--ink); cursor: pointer; padding: .35rem .6rem; border: 1px solid var(--line); border-radius: 6px; font-size: .95rem; user-select: none; }
.burger span, .burger span::before, .burger span::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -5px; } .burger span::after { top: 5px; }
.nav-toggle:checked + .burger { color: var(--yellow); border-color: var(--yellow); }
.userbox { display: flex; gap: .3rem; align-items: center; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 1rem; }
main.wrap { padding-top: 1.5rem; padding-bottom: 3rem; }
.subnav { background: #0d0d0d; border-bottom: 1px solid var(--line); overflow-x: auto; }
.subnav .wrap { display: flex; gap: .2rem; white-space: nowrap; }
.subnav a { display: inline-block; padding: .65rem .7rem; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; font-size: .93rem; }
.subnav a:hover { color: var(--ink); }
.subnav a.on { color: var(--yellow); border-color: var(--yellow); font-weight: 600; }

/* Bausteine */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stats { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 1rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; }
.stat b { display: block; font-size: 1.7rem; color: var(--yellow); }
.stat span { color: var(--muted); font-size: .88rem; }
.muted { color: var(--muted); } .small { font-size: .88rem; }
.flash { background: var(--yellow-soft); border: 1px solid rgba(247, 215, 8, .35); color: var(--yellow-2); padding: .7rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.error { background: rgba(255, 107, 94, .1); border: 1px solid rgba(255, 107, 94, .4); color: var(--danger); padding: .7rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.btn, button.btn { display: inline-block; background: var(--yellow); color: #000; border: 1px solid var(--yellow); padding: .55rem 1rem; border-radius: 8px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--yellow-2); color: #000; }
.btn.alt { background: transparent; color: var(--yellow); border: 1px solid rgba(247, 215, 8, .6); }
.btn.alt:hover { background: var(--yellow-soft); color: var(--yellow-2); }
.btn.orange { background: var(--yellow); color: #000; }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.btn.danger:hover { background: rgba(255, 107, 94, .12); }
.btn.sm { padding: .3rem .65rem; font-size: .88rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin: .8rem 0; }
.head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.head h1 { margin: 0; }

/* Formulare */
form.stack label { display: block; margin-bottom: .8rem; font-weight: 600; font-size: .92rem; }
form.stack label.check { font-weight: 400; display: flex; gap: .5rem; align-items: center; }
input, select, textarea { width: 100%; font: inherit; padding: .5rem .6rem; border: 1px solid #3a3620; border-radius: 7px; background: #0b0b0b; margin-top: .25rem; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(247, 215, 8, .5); outline-offset: 0; border-color: var(--yellow); }
input::placeholder, textarea::placeholder { color: #6f6748; }
input[type=checkbox], input[type=radio] { width: auto; margin: 0; accent-color: var(--yellow); }
input[type=file] { padding: .4rem; }
input[type=file]::file-selector-button { background: var(--yellow); color: #000; border: 0; border-radius: 6px; padding: .3rem .7rem; font-weight: 700; margin-right: .6rem; cursor: pointer; }
input:disabled { opacity: .6; }
textarea { min-height: 7rem; }
textarea.big { min-height: 18rem; font-family: ui-monospace, Menlo, monospace; font-size: .9rem; }
.row { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; align-items: end; margin-bottom: 1rem; }
.filters input, .filters select { width: auto; min-width: 160px; margin: 0; }

/* Tabellen */
.tbl { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #0d0d0d; font-weight: 600; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(247, 215, 8, .03); }

/* Kennzeichnungen */
.badge { display: inline-block; font-size: .76rem; padding: .1rem .5rem; border-radius: 99px; background: #262626; color: var(--ink); font-weight: 600; }
.b-aktiv, .b-angemeldet, .b-gesendet { background: var(--yellow-soft); color: var(--yellow); }
.b-ehemalig, .b-ausgetreten, .b-abgemeldet, .b-fehler, .b-austritt { background: rgba(255, 107, 94, .14); color: var(--danger); }
.b-eintritt, .b-wiedereintritt { background: rgba(143, 209, 122, .14); color: var(--ok); }
.b-passiv, .b-testmodus, .b-mutation, .b-neuinteressent { background: rgba(255, 170, 60, .14); color: #ffb35c; }
.b-clubpartner, .b-ehrenmitglied { background: rgba(200, 160, 255, .14); color: #d2b4ff; }

/* Events */
.event-item { display: flex; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.event-item:last-child { border-bottom: 0; }
.event-item:hover strong { color: var(--yellow); }
.date { flex: 0 0 56px; text-align: center; background: var(--yellow); border-radius: 8px; padding: .35rem 0; color: #000; line-height: 1.1; }
.date b { display: block; font-size: 1.35rem; }
.date span { font-size: .75rem; text-transform: uppercase; font-weight: 600; }

.prose img { max-width: 100%; border-radius: 8px; }
.prose table { border: 1px solid var(--line); }
.prose h1, .prose h2 { color: var(--yellow); }
code, .mono { font-family: ui-monospace, Menlo, monospace; font-size: .88em; background: #1e1c12; color: var(--yellow-2); padding: .1rem .3rem; border-radius: 4px; word-break: break-all; }
details summary { cursor: pointer; color: var(--yellow); font-weight: 600; }
.hint { font-size: .84rem; color: var(--muted); font-weight: 400; display: block; margin-top: .2rem; }
footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 2rem 0; border-top: 1px solid var(--line); }
footer img { height: 26px; opacity: .7; display: block; margin: 0 auto .5rem; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; margin-top: .6rem; }
.foot-links a { color: var(--muted); }
.foot-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; margin-top: 1.2rem; padding: 0 1rem; font-size: .78rem; opacity: .8; }
.foot-links a:hover { color: var(--yellow); }

/* Startseite: Logo-Bühne mit Sonnenstrahlen */
.hero { position: relative; overflow: hidden; text-align: center; border-radius: 16px; padding: 3rem 1.2rem 2.2rem; margin-bottom: 1.2rem;
  background: radial-gradient(ellipse at 50% 38%, rgba(247, 215, 8, .2) 0%, rgba(247, 215, 8, .05) 35%, transparent 65%), linear-gradient(180deg, #0b0b0b, #000);
  border: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; left: 50%; top: 36%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(247, 215, 8, .07) 0deg 3deg, transparent 3deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 45%); mask-image: radial-gradient(circle, #000 0%, transparent 45%);
  animation: rays 120s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }
.hero-logo { position: relative; width: min(440px, 82%); height: auto; filter: drop-shadow(0 0 28px rgba(247, 215, 8, .35)); animation: rise .9s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.hero-line { position: relative; width: min(520px, 90%); height: 1px; margin: 1.8rem auto 1.4rem; background: linear-gradient(90deg, transparent, var(--yellow), transparent); }
.hero .prose { position: relative; max-width: 640px; margin: 0 auto; color: var(--ink); }
.hero .prose h1 { font-size: 1.6rem; text-transform: uppercase; letter-spacing: .08em; }
.hero .actions { justify-content: center; position: relative; }

@media (max-width: 640px) {
  h1 { font-size: 1.4rem; }
  .top .wrap { gap: .4rem; flex-wrap: wrap; }
  .logo { font-size: .95rem; }
  .logo img { height: 28px; }
  .hide-sm { display: none; }
  .hero { padding: 2rem .8rem 1.6rem; }
}
.split { display: grid; gap: 1rem; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.photo-lg { width: 100%; max-width: 260px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; border: 1px solid var(--line); }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; vertical-align: middle; background: var(--yellow-soft); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--yellow); font-size: .8rem; flex: 0 0 36px; }
.who { display: flex; gap: .6rem; align-items: center; }
.split > form { display: block; }

/* Verwaltung Startseite */
.home-thumbs { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.home-thumb { background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.home-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.home-thumb-form { padding: .6rem; }
.home-thumb-form input { margin: 0; }

/* Startseite: Über uns */
.about { max-width: 760px; margin: 0 auto 2.2rem; text-align: center; font-size: 1.05rem; }
.about h1 { font-size: 1.6rem; text-transform: uppercase; letter-spacing: .08em; }
.about h2 { text-transform: uppercase; letter-spacing: .06em; font-size: 1.15rem; margin-top: 1.6em; }
.about ul, .about ol { text-align: left; display: inline-block; }
.section-title { text-align: center; text-transform: uppercase; letter-spacing: .12em; font-size: 1.1rem; margin: 0 0 1rem; }
.section-title::after { content: ""; display: block; width: 60px; height: 2px; background: var(--yellow); margin: .6rem auto 0; }

/* Startseite: Galerie */
.gallery { max-width: 820px; margin: 0 auto 2.4rem; }
.slides { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000;
  border: 1px solid rgba(247, 215, 8, .35); box-shadow: 0 0 0 4px #000, 0 0 0 5px rgba(247, 215, 8, .15), 0 18px 50px rgba(0, 0, 0, .7), 0 0 60px rgba(247, 215, 8, .08); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 8s ease-out; }
.slide.on img { transform: scale(1); }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: var(--yellow); font-weight: 600; text-align: center; }
.gallery .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(247, 215, 8, .6);
  background: rgba(0, 0, 0, .55); color: var(--yellow); font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s; }
.gallery .prev { left: .7rem; } .gallery .next { right: .7rem; }
.slides:hover .nav, .gallery .nav:focus-visible { opacity: 1; }
.dots { display: flex; justify-content: center; gap: .45rem; margin-top: .8rem; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid var(--yellow); background: transparent; cursor: pointer; }
.dots button.on { background: var(--yellow); }
@media (hover: none) { .gallery .nav { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .slide, .slide img { transition: none; } }

/* Startseite: Hymnen-Player */
.hymn { display: flex; align-items: center; gap: 1rem; max-width: 640px; margin: 2.4rem auto 0; padding: 1rem 1.2rem; border-radius: 14px;
  background: linear-gradient(135deg, #141414, #0a0a0a); border: 1px solid rgba(247, 215, 8, .35); box-shadow: 0 0 40px rgba(247, 215, 8, .06); }
.hymn-mark { width: 54px; height: auto; flex: 0 0 54px; opacity: .9; }
.hymn.playing .hymn-mark { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { filter: drop-shadow(0 0 10px rgba(247, 215, 8, .7)); } }
.hymn-play { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--yellow); color: #000; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 0 0 4px rgba(247, 215, 8, .15); transition: transform .15s; }
.hymn-play:hover { transform: scale(1.06); background: var(--yellow-2); }
.hymn-play svg { width: 26px; height: 26px; fill: currentColor; }
.hymn-play .i-pause, .hymn.playing .hymn-play .i-play { display: none; }
.hymn.playing .hymn-play .i-pause { display: block; }
.hymn-body { flex: 1; min-width: 0; }
.hymn-title { color: var(--yellow); font-weight: 700; letter-spacing: .03em; margin-bottom: .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hymn-bar { display: flex; align-items: center; gap: .6rem; }
.hymn-time { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 2.6em; }
.hymn-time.dur { text-align: right; }
.hymn-seek { --p: 0%; flex: 1; -webkit-appearance: none; appearance: none; height: 6px; padding: 0; margin: 0; border: 0; border-radius: 3px; cursor: pointer;
  background: linear-gradient(to right, var(--yellow) var(--p), #2e2b1c var(--p)); }
.hymn-seek:focus { outline: none; }
.hymn-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow-2); border: 0; }
.hymn-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow-2); border: 0; }
@media (max-width: 640px) {
  .hymn-mark { display: none; }
  .hymn { padding: .8rem; gap: .8rem; }
  .gallery .nav { width: 36px; height: 36px; font-size: 1.3rem; }
}

.b-gast { background: #262626; color: var(--muted); }

@media (max-width: 900px) {
  .top .logo { min-width: 0; flex: 1 1 0; }
  .logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .burger { display: flex; margin-left: auto; order: 1; padding: .35rem .5rem; }
  .userbox { order: 2; }
  nav.main { order: 3; flex-basis: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .3rem 0 .2rem; border-top: 1px solid var(--line); margin-top: .3rem; }
  .nav-toggle:checked ~ nav.main { display: flex; }
  nav.main a, .dd summary { padding: .65rem .5rem; font-size: 1rem; }
  nav.main a.sep { margin-left: 0; border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .9rem; }
  .dd-menu { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--yellow); border-radius: 0; margin: 0 0 .3rem .6rem; padding: 0 0 0 .3rem; background: none; min-width: 0; }
  .userbox { order: 2; }
  .dd-menu.right { position: absolute; top: calc(100% + .35rem); left: auto; right: 0; margin: 0; padding: .35rem; border: 1px solid var(--line); border-radius: 10px; background: #0d0d0d; box-shadow: 0 12px 30px rgba(0,0,0,.6); }
}
@media (max-width: 440px) {
  .burger b { display: none; }
  .dd.user summary .uname { display: none; }
  .dd.user summary .ini { display: inline-flex; width: 1.4em; height: 1.4em; align-items: center; justify-content: center; }
  .dd.user summary.btn { padding: .4rem .5rem; }
  .burger { padding: .55rem .55rem; }
  .logo { letter-spacing: .02em; }
}

/* Öffentliche Mitgliederseite */
.crew { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 1rem 0; }
.crew-card { display: flex; gap: .8rem; align-items: center; background: var(--card, #111); border: 1px solid var(--line); border-radius: 12px; padding: .8rem; }
.crew-card strong { color: var(--yellow); }
.crew-card .bike { margin-top: .15rem; }
.avatar.lg { width: 48px; height: 48px; flex-basis: 48px; font-size: 1.1rem; }
.subnav.sub2 { background: #070707; }
.subnav.sub2 a { font-size: .88rem; padding: .5rem .7rem; }

/* Abgesagte Events */
.struck { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .7; }
.badge.b-abgesagt { background: rgba(220, 60, 60, .18); color: #ff8a8a; }

/* Fotoalben (Seite Impressionen) */
.albums h3 { margin: 1.2rem 0 .4rem; color: var(--yellow); }
.album-list { list-style: none; padding: 0; margin: 0; }
.album-list li a { display: flex; gap: .8rem; align-items: baseline; padding: .55rem .4rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.album-list li a:hover { background: var(--yellow-soft); color: var(--yellow); }
.album-date { color: var(--muted); min-width: 6.5rem; font-variant-numeric: tabular-nums; }
.gallery-more { text-align: center; margin: .8rem 0 0; }

/* Änderungswünsche */
.notice { border: 1px solid rgba(247, 215, 8, .35); background: rgba(247, 215, 8, .06); border-radius: var(--radius); padding: .7rem 1rem; margin-bottom: 1rem; }
.notice ul { margin: .4rem 0; padding-left: 1.2rem; }
.settings-ro { border-top: 1px solid var(--line); padding-top: .6rem; }
.count { display: inline-block; min-width: 1.3em; padding: 0 .35em; margin-left: .3em; border-radius: 999px; background: var(--yellow); color: #000; font-size: .78em; font-weight: 800; text-align: center; line-height: 1.35; }
.cr { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.cr table { width: auto; margin: .4rem 0; }
.cr td { padding: .15rem .8rem .15rem 0; border: 0; }
.cr .old { color: var(--muted); text-decoration: line-through; }
.cr .actions { align-items: center; }
.cr .reject { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.cr .reject input { width: 320px; max-width: 100%; margin: 0; }

/* Bilder & Dateien aus der Dateiablage */
.files { display: grid; gap: .8rem; }
.file { display: flex; gap: .9rem; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.file img, .file-ico { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex: 0 0 96px; }
.file-ico { display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--yellow); text-decoration: none; }
.file .code { width: 100%; margin-top: .35rem; font-family: ui-monospace, monospace; font-size: .82rem; }

/* Planung (0.13) */
.plan-row { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.plan-row:last-child { border-bottom: none; }
.warn { color: #f0a63a; }
.plan-stats { grid-template-columns: repeat(3, 1fr); }
.plan-stats .stat { padding: .6rem .7rem; text-decoration: none; color: var(--ink); display: block; }
.plan-stats .stat b { display: block; font-size: 1.6rem; line-height: 1.1; }
.plan-stats .stat.on { outline: 2px solid var(--yellow); outline-offset: -1px; }
.s-open { color: var(--muted); } .s-taken { color: #7fb3ff; } .s-done { color: var(--ok); }
.progress { height: 6px; background: #262626; border-radius: 99px; overflow: hidden; margin: -.3rem 0 .9rem; }
.progress i { display: block; height: 100%; background: var(--ok); }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .8rem; }
.chip { border: 1px solid var(--line); border-radius: 99px; padding: .3rem .8rem; font-size: .88rem; color: var(--ink); text-decoration: none; background: var(--card); }
.chip.on { background: var(--yellow); color: #000; border-color: var(--yellow); }
.plan-cat { margin: 1.3rem 0 .4rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.task { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .9rem; margin-bottom: .5rem; display: grid; grid-template-columns: 1fr auto; gap: .4rem .8rem; align-items: center; }
.task.st-erledigt .task-title { color: var(--muted); text-decoration: line-through; }
.task-meta { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-top: .25rem; }
.task-actions { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.task-actions form { margin: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #0d0d0d; }
.seg button { border: none; border-right: 1px solid var(--line); background: transparent; color: var(--ink); padding: .45rem .7rem; cursor: pointer; font: inherit; font-size: .88rem; white-space: nowrap; }
.seg button:last-child { border-right: none; }
.seg button:hover { background: #262626; }
.seg .on-take { color: #7fb3ff; }
.seg input.cost { width: 5.2rem; margin: 0; border: none; border-right: 1px solid var(--line); border-radius: 0; padding: .45rem .5rem; background: transparent; }
.task-edit { grid-column: 1 / -1; }
.task-edit summary { cursor: pointer; }
.b-open { background: #262626; color: var(--muted); } .b-taken { background: #16263d; color: #7fb3ff; } .b-done { background: #1b2e17; color: var(--ok); } .b-late { background: #3a2610; color: #f0a63a; }
@media (max-width: 640px) {
  .task { grid-template-columns: 1fr; }
  .task-actions { justify-content: flex-start; }
}

/* Shop (0.14) */
.shop { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.prod { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; }
.prod:hover { border-color: var(--yellow); }
.prod .ph { aspect-ratio: 1; background: #fff center / contain no-repeat; }
.prod .b { padding: .6rem .75rem .75rem; } .prod .n { font-weight: 700; } .prod .p { color: var(--yellow); font-weight: 700; margin-top: .15rem; }
.avail { font-size: .78rem; color: var(--muted); margin-top: .25rem; } .avail.ok, .ok-text { color: var(--ok); }
.cartbar { margin-top: 1rem; background: #000; border: 1px solid var(--yellow); border-radius: 10px; padding: .7rem .9rem; display: flex; justify-content: space-between; align-items: center; position: sticky; bottom: .5rem; }
.detail-grid { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.detail-img img { width: 100%; max-height: 460px; object-fit: contain; border-radius: 10px; background: #fff; }
.thumbs { display: flex; gap: .4rem; margin-top: .4rem; flex-wrap: wrap; } .thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: #fff; cursor: pointer; }
.price { color: var(--yellow); font-weight: 700; font-size: 1.25rem; margin-bottom: .5rem; }
.sizes { display: flex; gap: .4rem; flex-wrap: wrap; margin: .3rem 0 .4rem; }
.size input { position: absolute; opacity: 0; } .size span { display: inline-block; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .8rem; font-weight: 600; cursor: pointer; }
.size input:checked + span { background: var(--yellow); color: #000; border-color: var(--yellow); } .size input:focus-visible + span { outline: 2px solid var(--yellow); }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: .7rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.line img, .line .noimg { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #fff; display: block; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: .3rem; }
.qty b, .qty button { padding: .2rem .65rem; border: none; border-right: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.qty button:last-child { border-right: none; } .qty .del { color: var(--danger); }
.tot { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; padding: .8rem 0; }
.steps { display: flex; gap: .3rem; flex-wrap: wrap; margin: .4rem 0 1rem; } .steps span { font-size: .8rem; padding: .2rem .6rem; border-radius: 99px; background: #262626; color: var(--muted); }
.steps .done { background: var(--yellow-soft); color: var(--yellow); } .steps .now { background: var(--yellow); color: #000; font-weight: 700; } .steps .cancel { background: var(--danger); }
.split2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; align-items: start; }
.log div { padding: .2rem 0; }
.st-neu { background: var(--yellow); color: #000; } .st-wartet { background: #3a2610; color: #f0a63a; } .st-abholbereit { background: #16263d; color: #7fb3ff; }
.st-uebergeben { background: #262626; } .st-bezahlt { background: #1b2e17; color: var(--ok); } .st-storniert { background: #2e1715; color: var(--danger); }
.thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; background: #fff; display: block; }
.imgs { display: flex; gap: .8rem; flex-wrap: wrap; } .imgs img { width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: 8px; display: block; }
.linkbtn { background: none; border: none; color: var(--yellow); cursor: pointer; padding: 0; font: inherit; } .danger-text { color: var(--danger); }
.um { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
@media (max-width: 760px) { .detail-grid, .split2 { grid-template-columns: 1fr; } }

/* Bild-Blöcke auf Seiten (seit 0.15, src/markdown.js): Bild links/rechts neben Text oder allein in der Mitte */
.mb { display: flex; gap: 1.4rem; align-items: flex-start; margin: 1.4rem 0; }
.mb + .mb { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.mb-rechts { flex-direction: row-reverse; }
.mb-img { margin: 0; flex: 0 0 34%; max-width: 34%; }
.mb-klein .mb-img { flex-basis: 24%; max-width: 24%; }
.mb-gross .mb-img { flex-basis: 50%; max-width: 50%; }
.mb-img img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; }
.mb-img figcaption { font-size: .85rem; color: var(--muted); margin-top: .35rem; text-align: center; }
.mb-text { flex: 1; min-width: 0; }
.mb-text > :first-child { margin-top: 0; }
.mb-text > :last-child { margin-bottom: 0; }
.mb-mitte { flex-direction: column; align-items: center; }
.mb-mitte .mb-img { max-width: 45%; flex-basis: auto; }
.mb-mitte.mb-klein .mb-img { max-width: 30%; }
.mb-mitte.mb-gross .mb-img { max-width: 100%; }
.mb-mitte .mb-text { width: 100%; }
.mb-missing { display: block; padding: 2rem 1rem; border: 1px dashed var(--line); border-radius: 8px; text-align: center; color: var(--muted); }
@media (max-width: 700px) {
  .mb, .mb-rechts { flex-direction: column; }
  .mb .mb-img, .mb-klein .mb-img, .mb-gross .mb-img, .mb-mitte .mb-img { flex-basis: auto; max-width: 100%; width: 100%; }
  .mb-klein .mb-img { max-width: 60%; width: auto; align-self: center; }
}

/* Seiten-Editor */
.ed { display: flex; flex-direction: column; gap: .4rem; }
.ed-bar { display: flex; flex-wrap: wrap; gap: .3rem; position: sticky; top: 0; z-index: 2; background: var(--card); padding: .3rem 0; }
.ed-panes { display: grid; gap: .8rem; }
.ed-panes textarea { width: 100%; min-height: 26rem; }
.ed-panes textarea.drop { outline: 2px dashed var(--yellow); }
.ed-panes.split { grid-template-columns: 1fr 1fr; }
.ed-preview { margin: 0; max-height: 70vh; overflow: auto; }
@media (max-width: 900px) { .ed-panes.split { grid-template-columns: 1fr; } }
.ed-dlg { width: min(760px, 96vw); max-height: 92vh; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.ed-dlg::backdrop { background: rgba(0, 0, 0, .7); }
.ed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; max-height: 15rem; overflow: auto; padding: .2rem; }
.ed-grid .ed-h { grid-column: 1 / -1; margin: .3rem 0 0; }
.ed-thumb { position: relative; aspect-ratio: 1; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; }
.ed-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ed-thumb.on { border-color: var(--yellow); box-shadow: 0 0 0 2px var(--yellow); }
.ed-gif { position: absolute; left: 4px; bottom: 4px; background: #000; color: var(--yellow); font-size: .7rem; font-weight: 800; padding: 0 .3rem; border-radius: 4px; }
.ed-del { position: absolute; right: 3px; top: 3px; border: 0; border-radius: 50%; width: 1.4rem; height: 1.4rem; background: rgba(0, 0, 0, .75); color: #fff; cursor: pointer; font-size: .75rem; }
.ed-pos { display: flex; flex-wrap: wrap; gap: .6rem; margin: .4rem 0 .6rem; }
.ed-pos label { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; font-size: .85rem; padding: .5rem .7rem; border: 2px solid var(--line); border-radius: 8px; cursor: pointer; min-width: 7.5rem; }
.ed-pos label:has(input:checked) { border-color: var(--yellow); }
.ed-pos input { position: absolute; opacity: 0; pointer-events: none; }
.ed-ico { display: flex; gap: 4px; width: 64px; height: 40px; }
.ed-ico.rev { flex-direction: row-reverse; }
.ed-ico.mid { justify-content: center; }
.ed-ico .im { flex: 0 0 26px; background: var(--yellow); border-radius: 3px; }
.ed-ico .tx { flex: 1; background: repeating-linear-gradient(var(--muted) 0 3px, transparent 3px 8px); opacity: .7; }

/* Passwort zurücksetzen beim Mitglied (seit 0.16) */
.pwreset > form { position: absolute; right: 0; top: calc(100% + .3rem); width: min(24rem, 90vw); z-index: 5; margin: 0; box-shadow: 0 8px 24px rgba(0, 0, 0, .6); }
.pwreset > form label.check { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; }
.pwreset summary.btn { color: var(--yellow); font-weight: 700; }

/* Kurzerklärungen mit Fragezeichen (seit 0.17) */
.help { display: inline-flex; align-items: center; justify-content: center; width: 1.15rem; height: 1.15rem; margin-left: .3rem; border-radius: 50%;
  border: 1px solid var(--yellow); color: var(--yellow); font-size: .72rem; font-weight: 800; line-height: 1; cursor: pointer; vertical-align: middle;
  user-select: none; flex: 0 0 auto; }
.help:hover, .help:focus-visible { background: var(--yellow); color: #000; outline: none; }
.help-pop { position: absolute; z-index: 50; max-width: min(22rem, calc(100vw - 16px)); background: #fff; color: #111; border: 2px solid var(--yellow);
  border-radius: 8px; padding: .55rem .7rem; font-size: .86rem; font-weight: 400; line-height: 1.4; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); white-space: pre-line; }
th .help { margin-left: .2rem; }

/* Shop: Abholung oder Versand (seit 0.17) */
fieldset.delivery { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem .3rem; margin: 0; }
fieldset.delivery legend { font-weight: 700; padding: 0 .3rem; }
form.stack fieldset.delivery label.opt { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; margin-bottom: .6rem; }
form.stack fieldset.delivery label.opt input { width: auto; margin-top: .25rem; flex: 0 0 auto; }
.badge.ship { background: #2a4a6b; color: #fff; }
.stat-sub td { font-size: .85rem; color: var(--muted); }
.stat-sub td:first-child { padding-left: 1.4rem; }
/* unsichtbar, aber vorhanden (z. B. Standard-Knopf für Enter im Formular) – nicht display:none, sonst ignoriert Safari ihn */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 0.18: Sortierung in Tabellen */
.sortlink { color: inherit; text-decoration: none; white-space: nowrap; }
.sortlink.on { color: var(--yellow); }
.only-sm { display: none; }
@media (max-width: 640px) { .only-sm { display: flex; } }
.jump { margin: -.5rem 0 1rem; }
.grp-list { display: grid; gap: .4rem; }
.grp-row { display: grid; grid-template-columns: minmax(0, 1fr) 6rem 5rem auto; gap: .6rem; align-items: center; margin: 0; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.grp-row input[name=name] { width: 100%; }
.grp-head { border-bottom: 0; padding: 0; }
.d-block { display: block; margin-top: .15rem; }
.nowrap { white-space: nowrap; }
td.c, th.c { text-align: center; }
@media (max-width: 640px) { .grp-row { grid-template-columns: 1fr auto; } .grp-head { display: none; } }
.rcpt { padding: .7rem .9rem; }
.rcpt-list { max-height: 16rem; overflow: auto; display: grid; gap: .1rem; margin-top: .4rem; }
.rcpt-list .check { margin: 0; }
.badge.b-warn { background: rgba(240, 166, 58, .18); color: #f0a63a; }
.pre { white-space: pre-wrap; }
.cloud-status { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
h2.sec { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted, #999); margin: 1.4rem 0 .5rem; }
details.card > summary { cursor: pointer; }

/* 0.18: Event-Kalender (Monat/Woche) */
.cal-head { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: .8rem; }
.cal-title { flex: 1; text-align: center; text-transform: capitalize; min-width: 9rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-wd { text-align: center; font-size: .75rem; color: var(--muted); padding-bottom: .2rem; }
.cal-day { min-height: 5.2rem; border: 1px solid var(--line); border-radius: 6px; padding: .2rem; overflow: hidden; display: flex; flex-direction: column; gap: 2px; }
.cal-day.other { opacity: .4; }
.cal-day.today { border-color: var(--yellow); }
.cal-n { font-size: .75rem; color: var(--muted); text-decoration: none; }
.cal-day.today .cal-n { color: var(--yellow); font-weight: 700; }
.cal-ev { display: block; font-size: .72rem; line-height: 1.2; background: var(--yellow-soft); color: var(--yellow); border-radius: 4px; padding: 1px 3px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev:hover { background: var(--yellow); color: #000; }
@media (max-width: 640px) {
  .cal-day { min-height: 3.2rem; padding: 1px; }
  .cal-ev { font-size: 0; height: 6px; padding: 0; }
  .cal-day.has .cal-n { color: var(--yellow); font-weight: 700; }
  .cal-day.has { cursor: pointer; }
}
.cal { touch-action: pan-y; }
.cal-detail { display: grid; gap: .3rem; margin-top: .8rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.cal-hint { display: none; margin: .6rem 0 0; }
@media (max-width: 640px) { .cal-hint { display: block; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.file-list { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .3rem; }
.job-list { display: grid; }
.job-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.job-row:last-child { border-bottom: 0; }
.job-ctl { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; justify-content: flex-end; }
.job-ctl label { margin: 0; }
@media (max-width: 760px) { .job-row { grid-template-columns: 1fr; } .job-ctl { justify-content: flex-start; } }

/* Eingangsrechnungen (0.22): überfällige Lieferantenrechnung rot, Mitgliederrechnung länger als 30 Tage offen gelb */
.tbl tr.rowred td, .card.rowred { background: rgba(220, 60, 60, .16); }
.tbl tr.rowyellow td { background: rgba(247, 215, 8, .13); }
.card.rowred { border-color: rgba(220, 60, 60, .5); }

/* Member-Infos beim Login (0.24) */
.infos-dialog { max-width: 36rem; width: calc(100% - 2rem); max-height: 85vh; overflow: auto; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; }
.infos-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.infos-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1rem; }

/* Mitgliederliste (0.25): sortierbare Spalten */
table.sortable th[data-sort] { cursor: pointer; user-select: none; white-space: nowrap; }
table.sortable th[data-sort]::after { content: ' ↕'; opacity: .35; font-size: .8em; }
table.sortable th[aria-sort="ascending"]::after { content: ' ↑'; opacity: 1; }
table.sortable th[aria-sort="descending"]::after { content: ' ↓'; opacity: 1; }

/* Mitgliederliste (0.25.1): am Handy alle Spalten zeigen, seitlich wischen; Rufname bleibt stehen */
table.sortable th, table.sortable td { white-space: nowrap; }
table.sortable th:first-child, table.sortable td:first-child { position: sticky; left: 0; background: var(--card); z-index: 1; }

/* Notizen anderer Planer zu einer Aufgabe (0.26) */
.task-notes { list-style: none; margin: .35rem 0 0; padding: 0 0 0 .6rem; border-left: 3px solid var(--yellow); display: grid; gap: .35rem; }
.linklike { background: none; border: 0; padding: 0; margin-left: .4rem; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; opacity: .7; }

/* Restiführer (0.29) */
.resto { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.resto-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .3rem; }
.resto-like { margin: 0; }
.cal-link { display: inline-block; margin-top: .4rem; }

/* Finanzen (seit 0.33) */
.tbl tr.fin-cancel td { opacity: .5; text-decoration: line-through; }
.tbl tr.fin-cancel td a { text-decoration: line-through; }
label.check { display: flex; gap: .5rem; align-items: center; font-weight: 400; }
@media print { .fin-report { grid-template-columns: 1fr 1fr; } header, footer, .adminnav, .subnav { display: none !important; } }

/* Mitgliederkarte (seit 0.34) */
.card-editor { display: grid; gap: 1rem; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.3fr); align-items: start; }
.card-editor > div:first-child { position: sticky; top: 1rem; }
.card-preview img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); display: block; background: #111; }
.card-el { border-top: 1px solid var(--line); padding: .6rem 0; }
.card-el .row { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
.card-el .row > label:first-child { grid-column: 1 / -1; }
@media (max-width: 900px) { .card-editor { grid-template-columns: 1fr; } .card-editor > div:first-child { position: static; } }

/* Webplayer Album (seit 0.35) */
.music { max-width: 900px; margin: 1.5rem auto; }
.music [hidden] { display: none !important; }
/* seit 0.36: Albumübersicht mit Covern */
.music-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-bottom: 1.2rem; }
.music-card { display: flex; flex-direction: column; gap: .3rem; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem; color: var(--ink); font: inherit; cursor: pointer; transition: transform .15s, border-color .15s; }
.music-card:hover, .music-card:focus-visible { transform: translateY(-3px); border-color: var(--yellow); }
.music-card.on { border-color: var(--yellow); }
.music-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #111; }
.music-card-t { font-weight: 700; color: var(--yellow); }
img.music-nocover { object-fit: contain; padding: 18%; }
.music-detail { margin-bottom: 1rem; }
.music-grid-sm { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .7rem; margin-bottom: .6rem; }
.music-grid-sm .music-card-t { font-size: .92rem; }
.music-singles, .music-singles-all { margin-top: 1.2rem; }
.music-singles h3, .music-singles-all h3 { margin: 0 0 .6rem; font-size: 1.05rem; color: var(--muted); }
.music-kind { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: .1rem; }
.music-soon { display: inline-block; padding: .05rem .5rem; border: 1px solid var(--yellow); border-radius: 999px; color: var(--yellow); font-size: .8rem; }
.music-back { margin-bottom: .8rem; }
.music-info { flex: 1; min-width: 0; }
.music-info h2 { margin: 0 0 .2rem; }
.music-desc { margin-top: .5rem; }
.music-desc p { margin: .3rem 0; }
.music-detail .music-head { align-items: flex-start; }
.music-detail .music-cover { width: 200px; height: 200px; }
@media (max-width: 600px) { .music-detail .music-head { flex-direction: column; } .music-detail .music-cover { width: min(100%, 280px); height: auto; aspect-ratio: 1; } }
.music-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: 0 0 1rem; }
.music-top[hidden], .music-top [hidden] { display: none !important; }
.music-stats { font-size: 1.05rem; }
.music-stats strong { color: var(--yellow); }
.music-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 0; }
.music-top .music-actions { margin: 0; }
.music-len { font-variant-numeric: tabular-nums; }
.music-shuffle { opacity: .55; }
.music-shuffle.on { opacity: 1; background: var(--yellow-soft); border-radius: 6px; }
.music-bar { position: sticky; bottom: .6rem; z-index: 5; }
.music-head { display: flex; gap: 1rem; align-items: center; margin-bottom: .8rem; }
.music-cover { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.music-album { color: var(--yellow); font-weight: 800; }
.music-bar { margin: 0 0 .8rem; max-width: none; }
.music-skip { background: none; border: 0; color: var(--yellow); font-size: 1.3rem; cursor: pointer; padding: .2rem .3rem; }
.music-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.music-list li { display: flex; align-items: center; gap: .8rem; padding: .6rem .9rem; border-top: 1px solid var(--line); cursor: pointer; }
.music-list li:first-child { border-top: 0; }
.music-list li:hover { background: var(--yellow-soft); }
.music-list li.on { color: var(--yellow); font-weight: 700; }
.music-nr { width: 1.6rem; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.music-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music-dl { text-decoration: none; padding: .1rem .4rem; border-radius: 6px; }
.music-dl:hover { background: var(--yellow); color: #000; }
.card-back-img { width: 100%; max-width: 360px; height: auto; border-radius: 8px; border: 1px solid var(--line); display: block; margin: .4rem 0; }

/* Songtext (seit 0.38) */
.music-txt { background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 6px; font: inherit; font-size: .8rem; font-weight: 700; padding: .05rem .4rem; cursor: pointer; }
.music-txt:hover { border-color: var(--yellow); color: var(--yellow); }
.music-lyr-btn { font-size: .95rem; font-weight: 800; }
.music-lyrics { position: sticky; bottom: 6.2rem; z-index: 4; background: var(--card); border: 1px solid var(--yellow); border-radius: var(--radius); margin: 0 0 .6rem; box-shadow: 0 6px 24px rgba(0,0,0,.5); }
.music-lyrics-head { display: flex; justify-content: space-between; align-items: center; padding: .5rem .9rem; border-bottom: 1px solid var(--line); color: var(--yellow); }
.music-lyrics-close { background: none; border: 0; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.music-lyrics-body { max-height: 40vh; overflow-y: auto; padding: .6rem .9rem; text-align: center; }
.music-lyrics-body p { margin: .25rem 0; line-height: 1.5; transition: color .2s, transform .2s; }
.music-lyrics-body p[data-t] { color: var(--muted); cursor: pointer; }
.music-lyrics-body p.on { color: var(--yellow); font-weight: 700; transform: scale(1.04); }
.music-lyrics-md p { margin: 0 0 .9rem; }
.music-lyrics-md h1, .music-lyrics-md h2, .music-lyrics-md h3 { color: var(--yellow); font-size: 1rem; margin: .8rem 0 .3rem; }

/* Statistik (seit 0.39) */
.stat-bars { display: flex; align-items: flex-end; gap: 2px; height: 90px; margin: .4rem 0 .2rem; }
.stat-bars span { flex: 1; min-height: 2px; background: var(--yellow); border-radius: 2px 2px 0 0; opacity: .85; }
.stat-bars span.zero { background: var(--line); opacity: 1; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
