diff --git a/assets/css/style.css b/assets/css/style.css
index af3e696..97f10d2 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -10197,85 +10197,138 @@ a.hunt-review-spot-thumb { width: 64px; height: 40px; flex-shrink: 0; }
/* ===== Musik (musik.php, assets/js/music.js): den Bot im Sprachkanal steuern ===== */
.music-page { display: flex; flex-direction: column; gap: 1rem; }
-.music-connection { padding: 0.2rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text-muted); font-size: 0.82rem; }
-.music-connection.is-online { background: rgba(76, 175, 80, 0.15); color: #8fdc93; }
-.music-connection.is-offline { background: rgba(217, 83, 79, 0.15); color: #f2a19e; }
-.music-now { display: flex; align-items: center; gap: 1.25rem; margin: 0.8rem 0 1rem; }
-.music-art { position: relative; flex: none; width: 96px; height: 96px; }
-.music-cover { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; object-fit: cover; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); background: #1b1b1b; }
-.music-art:has(.music-cover:not([hidden])) .music-disc { display: none; }
-.music-disc {
- position: relative; flex: none; width: 96px; height: 96px; border-radius: 50%;
- background: repeating-radial-gradient(circle, #1b1b1b 0 2px, #262626 2px 4px); box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35), 0 6px 18px rgba(0, 0, 0, 0.45);
-}
-.music-disc span { position: absolute; inset: 34px; border-radius: 50%; background: radial-gradient(circle, #1a1a1a 0 18%, var(--gold) 20% 100%); }
-.is-playing .music-disc { animation: music-spin 3.2s linear infinite; }
-.is-playing .music-disc { box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(201, 162, 39, 0.35); }
+.music-page h2 { margin: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
+.music-page h2 span { margin-left: 0.3rem; color: var(--text-muted); font-weight: 400; letter-spacing: 0; }
+.music-page .icon { flex: none; }
+
+/* Player */
+.music-hero { position: relative; margin: 0; padding: 1.5rem 1.75rem 1.4rem; overflow: hidden; }
+.music-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 0% 0%, rgba(201, 162, 39, 0.14), transparent 55%); pointer-events: none; }
+.music-hero > * { position: relative; }
+.music-hero-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 1.25rem; }
+.music-hero-head h1 { margin: 0; font-size: 1.5rem; }
+.music-connection { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.25rem 0.75rem 0.25rem 0.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text-muted); font-size: 0.8rem; }
+.music-connection::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
+.music-connection.is-online { background: rgba(76, 175, 80, 0.14); color: #9fe3a3; }
+.music-connection.is-online::before { background: #4caf50; box-shadow: 0 0 8px rgba(76, 175, 80, 0.8); }
+.music-connection.is-offline { background: rgba(217, 83, 79, 0.14); color: #f2a19e; }
+.music-connection.is-offline::before { background: #d9534f; }
+
+.music-now { display: flex; align-items: center; gap: 1.5rem; }
+.music-art { position: relative; flex: none; width: 124px; height: 124px; }
+.music-disc { position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, #151515 0 2px, #222 2px 4px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.5); }
+.music-disc span { position: absolute; inset: 44px; border-radius: 50%; background: radial-gradient(circle, #151515 0 18%, var(--gold) 20% 100%); }
+.is-playing .music-disc { animation: music-spin 3.2s linear infinite; box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.5), 0 0 28px rgba(201, 162, 39, 0.25); }
@keyframes music-spin { to { transform: rotate(360deg); } }
-.music-now-text { display: flex; flex: 1; flex-direction: column; gap: 0.2rem; min-width: 0; }
-.music-now-label { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
-.music-now-title { font-size: 1.15rem; line-height: 1.3; overflow-wrap: anywhere; }
-.music-now-meta { display: flex; flex-wrap: wrap; gap: 0.2rem 0.8rem; color: var(--text-muted); font-size: 0.8rem; }
-.music-now-link { width: max-content; font-size: 0.8rem; }
-.music-next { margin-top: 0.3rem; color: var(--text-muted); font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
-.music-progress { position: relative; height: 6px; margin-top: 0.45rem; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
-.music-progress.is-seekable { height: 8px; cursor: pointer; }
-.music-progress.is-seekable:hover { background: rgba(255, 255, 255, 0.14); }
-.music-progress i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, #a07d1c, #e3bd6e); transition: width 0.5s linear; }
-.music-times { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.75rem; }
-.music-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
+.music-cover { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 14px; object-fit: cover; background: #151515; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
+.music-art:has(.music-cover:not([hidden])) .music-disc { display: none; }
+.music-now-text { display: flex; flex: 1; flex-direction: column; gap: 0.25rem; min-width: 0; }
+.music-now-label { color: var(--text-muted); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
+.music-now-title { font-size: 1.35rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
+.music-now-meta { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; min-height: 1.2em; color: var(--text-muted); font-size: 0.82rem; }
+.music-now-link { font-size: 0.82rem; }
+.music-progress { position: relative; height: 5px; margin-top: 0.7rem; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; transition: height 0.15s; }
+.music-progress i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, #a07d1c, var(--gold)); transition: width 0.5s linear; }
+.music-progress.is-seekable { cursor: pointer; }
+.music-progress.is-seekable:hover { height: 8px; }
+.music-times { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 0.3rem; color: var(--text-muted); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
+.music-next { flex: 1; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
+
+.music-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 1.25rem; }
+.music-transport { display: flex; align-items: center; gap: 0.5rem; }
.music-btn {
- display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 1px solid var(--border); border-radius: 50%;
- background: var(--bg-panel-alt); box-shadow: none; font-size: 1.05rem; transition: border-color 0.15s, transform 0.15s, background 0.15s;
+ position: relative; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; padding: 0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%;
+ background: rgba(255, 255, 255, 0.04); box-shadow: none; color: var(--text); transition: border-color 0.15s, background 0.15s, transform 0.15s, color 0.15s;
}
-.music-btn:hover { border-color: var(--gold); background: rgba(201, 162, 39, 0.1); transform: translateY(-1px); box-shadow: none; }
-.music-btn.is-big { width: 3.3rem; height: 3.3rem; font-size: 1.4rem; border-color: rgba(201, 162, 39, 0.6); }
-.music-btn.is-on { border-color: var(--gold); background: rgba(201, 162, 39, 0.2); }
-.music-volume { display: flex; flex: 1 1 14rem; align-items: center; gap: 0.5rem; margin: 0 0 0 0.75rem; font-weight: 400; }
-.music-volume input { flex: 1; width: auto; accent-color: var(--gold); }
-.music-volume span { min-width: 2.8rem; color: var(--text-muted); font-size: 0.82rem; text-align: right; }
-.music-error { margin: 0.8rem 0 0; padding: 0.5rem 0.75rem; border-radius: 8px; background: rgba(240, 180, 108, 0.1); color: #f0b46c; font-size: 0.85rem; }
-.music-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; align-items: start; }
-.music-card { margin: 0; }
-.music-card h2 { margin: 0 0 0.6rem; font-size: 1.05rem; }
-.music-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
-.music-card-head .armory-text-button { white-space: nowrap; }
+.music-btn .icon { width: 19px; height: 19px; }
+.music-btn:hover { border-color: rgba(201, 162, 39, 0.7); background: rgba(201, 162, 39, 0.12); box-shadow: none; transform: translateY(-1px); }
+.music-btn.is-main { width: 3.5rem; height: 3.5rem; margin: 0 0.35rem; border-color: transparent; background: var(--gold); color: #1a1408; box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35); }
+.music-btn.is-main .icon { width: 24px; height: 24px; stroke-width: 2.2; }
+.music-btn.is-main:hover { background: #e3bd6e; transform: translateY(-1px) scale(1.03); box-shadow: 0 8px 22px rgba(201, 162, 39, 0.45); }
+.music-btn .music-ico-pause, .is-playing .music-btn .music-ico-play { display: none; }
+.is-playing .music-btn .music-ico-pause { display: contents; }
+.music-btn.is-on { border-color: rgba(201, 162, 39, 0.8); background: rgba(201, 162, 39, 0.16); color: var(--gold); }
+.music-btn.is-on::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }
+.music-volume { display: flex; flex: 1 1 12rem; align-items: center; gap: 0.6rem; max-width: 22rem; margin: 0; color: var(--text-muted); font-weight: 400; }
+.music-volume .icon { width: 18px; height: 18px; }
+.music-volume input { flex: 1; width: auto; height: 4px; margin: 0; padding: 0; border: 0; border-radius: 2px; background: linear-gradient(90deg, var(--gold) var(--v, 50%), rgba(255, 255, 255, 0.12) var(--v, 50%)); box-shadow: none; appearance: none; -webkit-appearance: none; cursor: pointer; }
+.music-volume input::-webkit-slider-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); -webkit-appearance: none; }
+.music-volume input::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
+.music-volume input:focus { outline: none; }
+.music-volume input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.5); }
+.music-volume span { min-width: 2.6rem; font-size: 0.8rem; text-align: right; font-variant-numeric: tabular-nums; }
+.music-error { margin: 1rem 0 0; padding: 0.5rem 0.75rem; border-radius: 8px; background: rgba(240, 180, 108, 0.1); color: #f0b46c; font-size: 0.85rem; }
+
+/* Suchleiste */
+.music-search { display: flex; flex-direction: row; align-items: center; gap: 0.6rem; margin: 0; padding: 0.4rem 0.4rem 0.4rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-panel); transition: border-color 0.15s, box-shadow 0.15s; }
+.music-search:focus-within { border-color: rgba(201, 162, 39, 0.7); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12); }
+.music-search .icon { color: var(--text-muted); }
+.music-search input { flex: 1; min-width: 0; width: auto; margin: 0; padding: 0.55rem 0; border: 0; background: none; box-shadow: none; font-size: 0.95rem; }
+.music-search input:focus { outline: none; box-shadow: none; }
+.music-search .button { flex: none; border-radius: 999px; }
+.music-hint { margin: -0.4rem 0 0; padding: 0 1rem; color: var(--text-muted); font-size: 0.78rem; }
+
+/* Spalten */
+.music-columns { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
+.music-col { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
+.music-card { margin: 0; padding: 1.1rem 1.25rem 1.2rem; }
+.music-card-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 1.6rem; margin-bottom: 0.75rem; }
+.music-text-btn { padding: 0.2rem 0.6rem; border: 1px solid transparent; border-radius: 999px; background: none; box-shadow: none; color: var(--gold); font-size: 0.8rem; font-weight: 500; white-space: nowrap; }
+.music-text-btn:hover { border-color: rgba(201, 162, 39, 0.5); background: rgba(201, 162, 39, 0.1); box-shadow: none; }
.music-row { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
-.music-row select, .music-row input { flex: 1 1 12rem; width: auto; min-width: 0; }
-.music-list { display: flex; flex-direction: column; gap: 0.25rem; max-height: 22rem; margin: 0; padding: 0; overflow-y: auto; list-style: none; counter-reset: music; }
-.music-list li { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.5rem; border-radius: 6px; background: rgba(255, 255, 255, 0.025); font-size: 0.88rem; }
-.music-item-cover { flex: none; width: 40px; height: 24px; border-radius: 4px; object-fit: cover; background: #1b1b1b; }
-.music-list li:hover { background: rgba(255, 255, 255, 0.05); }
-ol.music-list li:not(.music-empty)::before { counter-increment: music; content: counter(music); min-width: 1.3rem; color: var(--text-muted); font-size: 0.75rem; text-align: right; }
+.music-row select, .music-row input { flex: 1 1 10rem; width: auto; min-width: 0; margin: 0; }
+.music-channel-now { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem; color: var(--text-muted); font-size: 0.88rem; }
+.music-filter { width: 100%; margin: 0 0 0.6rem; }
+
+/* Listen */
+.music-list { display: flex; flex-direction: column; gap: 2px; max-height: 24rem; margin: 0; padding: 0; overflow-y: auto; list-style: none; counter-reset: music; scrollbar-width: thin; }
+.music-list li { display: flex; align-items: center; gap: 0.6rem; min-height: 2.5rem; padding: 0.3rem 0.5rem; border-radius: 8px; font-size: 0.88rem; transition: background 0.12s; }
+.music-list li:not(.music-empty):hover { background: rgba(255, 255, 255, 0.05); }
+ol.music-list li:not(.music-empty)::before { counter-increment: music; content: counter(music); min-width: 1.2rem; color: var(--text-muted); font-size: 0.75rem; text-align: right; font-variant-numeric: tabular-nums; }
+.music-item-art { display: grid; flex: none; place-items: center; width: 44px; height: 28px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, 0.05); }
+.music-item-art img { width: 100%; height: 100%; object-fit: cover; }
+.music-src { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
+.music-src.is-youtube, .music-src.is-search { background: #ff4e45; }
+.music-src.is-spotify { background: #1db954; }
.music-item-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
-.music-item-meta { color: var(--text-muted); font-size: 0.75rem; }
.music-item-by { max-width: 7rem; overflow: hidden; color: var(--text-muted); font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }
-.music-item-btn { padding: 0.1rem 0.45rem; border: 1px solid transparent; background: none; box-shadow: none; color: var(--text-muted); font-size: 0.85rem; }
-.music-list li .music-item-btn { opacity: 0.55; }
+.music-item-meta { color: var(--text-muted); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
+.music-item-btn { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; color: var(--text-muted); opacity: 0.45; transition: opacity 0.12s, background 0.12s, color 0.12s; }
.music-list li:hover .music-item-btn, .music-list li:focus-within .music-item-btn { opacity: 1; }
-.music-item-btn:hover { border-color: var(--gold); background: rgba(201, 162, 39, 0.1); color: var(--text); box-shadow: none; }
-.music-item-btn.is-danger:hover { border-color: var(--danger); background: rgba(217, 83, 79, 0.12); }
-.music-empty { color: var(--text-muted); font-style: italic; }
-.music-filter { width: 100%; margin-bottom: 0.5rem; }
-.music-upload { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px dashed var(--border); }
-.music-upload input[type="text"] { flex: 1 1 10rem; width: auto; }
-.music-file { position: relative; display: flex; flex: 1 1 100%; align-items: center; margin: 0; padding: 0.5rem 0.75rem; border: 1px dashed rgba(201, 162, 39, 0.5); border-radius: 8px; color: var(--text-muted); font-size: 0.85rem; font-weight: 400; cursor: pointer; }
-.music-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
-.is-busy .music-btn, .is-busy .music-item-btn { opacity: 0.6; }
+.music-item-btn:hover { background: rgba(201, 162, 39, 0.15); box-shadow: none; color: var(--gold); }
+.music-item-btn.is-danger:hover { background: rgba(217, 83, 79, 0.15); color: #f2a19e; }
+.music-empty { justify-content: center; padding: 1.2rem 0.5rem !important; color: var(--text-muted); font-size: 0.85rem; text-align: center; }
+
+/* Upload (Leitung) */
+.music-upload { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--border); }
+.music-file { position: relative; display: flex; align-items: center; gap: 0.6rem; margin: 0; padding: 0.7rem 0.9rem; border: 1px dashed rgba(201, 162, 39, 0.45); border-radius: 10px; color: var(--text-muted); font-size: 0.82rem; font-weight: 400; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
+.music-file:hover { border-color: var(--gold); background: rgba(201, 162, 39, 0.06); }
+.music-file input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
+.music-file .icon { color: var(--gold); }
+
+.is-busy .music-btn, .is-busy .music-item-btn, .is-busy .music-text-btn { opacity: 0.6; pointer-events: none; }
.music-toast {
position: fixed; left: 50%; bottom: 1.5rem; z-index: 1200; max-width: min(92vw, 520px); padding: 0.6rem 1rem; border: 1px solid rgba(201, 162, 39, 0.5);
border-radius: 10px; background: #1d1d1d; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); transform: translateX(-50%); font-size: 0.9rem;
}
.music-toast.is-error { border-color: rgba(217, 83, 79, 0.7); color: #f2a19e; }
+
+@media (max-width: 900px) {
+ .music-columns { grid-template-columns: 1fr; }
+}
@media (max-width: 560px) {
- .music-now { gap: 0.9rem; }
- .music-disc { width: 64px; height: 64px; }
- .music-disc span { inset: 22px; }
- .music-art { width: 64px; height: 64px; }
- .music-item-by, .music-item-cover { display: none; }
+ .music-hero { padding: 1.2rem 1.1rem; }
+ .music-now { gap: 1rem; }
+ .music-art { width: 80px; height: 80px; }
+ .music-disc span { inset: 28px; }
+ .music-now-title { font-size: 1.1rem; }
+ .music-next { display: none; }
+ .music-controls { justify-content: center; }
+ .music-volume { flex-basis: 100%; max-width: none; }
+ .music-search { padding-left: 0.8rem; }
+ .music-search .button { padding-left: 0.9rem; padding-right: 0.9rem; }
+ .music-item-by, .music-item-art { display: none; }
.music-list li { gap: 0.35rem; }
- .music-item-btn { padding: 0.1rem 0.3rem; }
- .music-volume { flex-basis: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
.is-playing .music-disc { animation: none; }
diff --git a/assets/js/music.js b/assets/js/music.js
index 87bc0ed..bc70e85 100644
--- a/assets/js/music.js
+++ b/assets/js/music.js
@@ -14,7 +14,18 @@
var csrf = (document.querySelector('meta[name="csrf-token"]') || {}).content || '';
var canManage = root.dataset.canManage === '1';
var POLL_MS = 3000;
- var SOURCE_ICONS = { file: 'đ', youtube: 'â¶ïž', spotify: 'đą', search: 'đ' };
+ var SOURCE_NAMES = { file: 'Playlist der Legion', youtube: 'YouTube', spotify: 'Spotify', search: 'YouTube-Suche' };
+ // Kleine Icons fuer die Listen (gleiche Pfade wie icon() in includes/functions.php)
+ var ICON_PATHS = {
+ play: '
Der Bot ist in keinem Sprachkanal.
-YouTube, YouTube Music (auch Playlists) und Spotify (Song, Playlist, Album â gespielt wird der passende Titel von YouTube). Ohne Link wird auf YouTube gesucht. Ist der Bot in keinem Kanal, kommt er in den rechts gewĂ€hlten.
-YouTube, YouTube Music (auch Playlists) und Spotify (Song, Playlist, Album â gespielt wird der passende Titel von YouTube). Ohne Link wird auf YouTube gesucht. Ist der Bot noch in keinem Kanal, kommt er in den oben gewĂ€hlten.
-= icon('headphones') ?>Der Bot ist in keinem Sprachkanal.
+