/* =========================================================
   BillyyG – Spiel-Infos (Karte) + Spiele-Wunschliste
   ========================================================= */

/* ------------------------------------------------ Klickbare Spiele --- */
[data-gi-appid], [data-gi-name] { cursor: pointer; }
.gi-link { text-decoration: underline dotted rgba(199, 155, 255, 0.6); text-underline-offset: 3px; transition: color 0.15s; }
.gi-link:hover { color: var(--purple-3); text-decoration-color: var(--purple-3); }

/* --------------------------------------------------- Infokarte --- */
.gi-ov { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 16px; overflow-y: auto;
  background: rgba(5, 3, 10, 0.82); backdrop-filter: blur(8px); animation: fade-in 0.2s; }
.gi-ov.out { opacity: 0; transition: opacity 0.22s; }
body.gi-open { overflow: hidden; }
.gi-card { position: relative; width: min(860px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: 22px;
  background: linear-gradient(180deg, #170e2e, #0b0718); border: 1px solid var(--panel-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(157, 77, 255, 0.25); animation: gi-pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.25); }
@keyframes gi-pop { from { transform: translateY(20px) scale(0.96); opacity: 0; } }
.gi-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 16px; cursor: pointer; backdrop-filter: blur(6px); }
.gi-x:hover { background: var(--red); border-color: var(--red); }
.gi-loading { padding: 70px 20px; text-align: center; color: var(--muted); font-weight: 700; display: grid; gap: 14px; justify-items: center; }
.gi-loading.err { color: #ffb3c1; }
.gi-spin { width: 40px; height: 40px; border-radius: 50%; border: 4px solid rgba(157, 77, 255, 0.25); border-top-color: var(--purple); animation: gi-rot 0.8s linear infinite; }
@keyframes gi-rot { to { transform: rotate(360deg); } }
.gi-hero { position: relative; aspect-ratio: 460 / 190; background-size: cover; background-position: center; border-radius: 22px 22px 0 0; }
.gi-hero::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top, #170e2e 4%, rgba(23, 14, 46, 0.4) 55%, transparent); }
.gi-hero-in { position: absolute; left: 22px; right: 22px; bottom: 14px; z-index: 2; display: grid; gap: 8px; }
.gi-hero h2 { margin: 0; font-size: clamp(24px, 4vw, 38px); line-height: 1.1; text-shadow: 0 3px 14px rgba(0, 0, 0, 0.8); }
.gi-review { display: inline-flex; align-items: baseline; gap: 10px; width: fit-content; padding: 6px 12px; border-radius: 10px; font-size: 15px;
  background: rgba(0, 0, 0, 0.55); border: 1px solid; backdrop-filter: blur(6px); flex-wrap: wrap; }
.gi-review span { font-family: var(--font-display); font-weight: 900; }
.gi-review small { color: var(--muted); font-weight: 700; }
.gi-review.r-pos { color: #66c0f4; border-color: rgba(102, 192, 244, 0.6); }
.gi-review.r-mix { color: #ffd24a; border-color: rgba(255, 210, 74, 0.6); }
.gi-review.r-neg { color: #ff6b6b; border-color: rgba(255, 107, 107, 0.6); }
.gi-review.r-none { color: var(--muted); border-color: var(--panel-border); }
.gi-body { padding: 8px 22px 22px; display: grid; gap: 14px; }
.gi-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gi-chips span { padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 800; color: var(--purple-3); background: rgba(157, 77, 255, 0.14); border: 1px solid rgba(157, 77, 255, 0.35); }
.gi-desc { margin: 0; color: #d9d2ef; font-size: 16px; line-height: 1.5; }
.gi-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.gi-facts div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--panel-border); display: grid; gap: 2px; }
.gi-facts small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.gi-facts b { font-size: 15px; }
.gi-meta { color: #66cc33; }
.gi-media { display: grid; gap: 8px; }
.gi-stage { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--panel-border); }
.gi-stage video, .gi-stage img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.gi-thumbs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gi-thumbs button { flex: none; width: 108px; aspect-ratio: 16 / 9; border-radius: 8px; border: 2px solid transparent; cursor: pointer; opacity: 0.6;
  background: #111 center / cover; color: #fff; font-size: 20px; text-shadow: 0 0 8px #000; transition: all 0.15s; }
.gi-thumbs button:hover { opacity: 0.9; }
.gi-thumbs button.on { opacity: 1; border-color: var(--purple); box-shadow: 0 0 12px rgba(157, 77, 255, 0.6); }
.gi-steamtrailer { color: var(--purple-3); font-weight: 800; }
.gi-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gi-actions .btn { text-decoration: none; }
@media (max-width: 600px) {
  .gi-ov { padding: 0; place-items: end center; }
  .gi-card { border-radius: 20px 20px 0 0; max-height: 94dvh; }
  .gi-hero { border-radius: 20px 20px 0 0; aspect-ratio: 460 / 230; }
  .gi-body { padding: 6px 14px 18px; }
  .gi-thumbs button { width: 86px; }
  .gi-actions .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------- Wunschliste --- */
.ws-top { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 18px; }
.ws-add { padding: 18px 20px; display: grid; gap: 12px; }
.ws-add h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 17px; letter-spacing: 1px; text-transform: uppercase; }
.ws-search { position: relative; }
.ws-search input { width: 100%; padding-left: 42px; }
.ws-search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.ws-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.ws-res { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; padding: 6px; border-radius: 12px; cursor: pointer; text-align: left;
  background: rgba(0, 0, 0, 0.3); border: 2px solid var(--panel-border); color: var(--text); font-weight: 700; transition: all 0.15s; }
.ws-res:hover { border-color: var(--purple); }
.ws-res.on { border-color: var(--green); box-shadow: 0 0 14px rgba(125, 255, 58, 0.35); }
.ws-res i { aspect-ratio: 460 / 215; border-radius: 8px; background: #111 center / cover; }
.ws-res span { font-size: 14px; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ws-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ws-form input { flex: 1 1 220px; }
.ws-pick { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--green); }
.ws-hint { color: var(--muted); font-size: 13px; margin: 0; }
.ws-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ws-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ws-item { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(30, 18, 58, 0.92), rgba(14, 9, 28, 0.95)); animation: card-pop 0.4s both; }
.ws-item.top1 { border-color: rgba(255, 210, 74, 0.6); box-shadow: 0 0 26px rgba(255, 210, 74, 0.2); }
.ws-item.done { border-color: rgba(125, 255, 58, 0.45); }
.ws-item.rejected { opacity: 0.5; }
.ws-cover { position: relative; aspect-ratio: 460 / 215; background: #111 center / cover; }
.ws-rank { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 8px; font-family: var(--font-display); font-weight: 900; font-size: 14px; background: rgba(7, 5, 13, 0.85); }
.ws-item.top1 .ws-rank { color: #12091f; background: var(--gold); }
.ws-tag { position: absolute; bottom: 8px; left: 8px; padding: 3px 9px; border-radius: 8px; font-weight: 800; font-size: 12px; background: rgba(7, 5, 13, 0.88); }
.ws-tag.cal { color: var(--green); border: 1px solid rgba(125, 255, 58, 0.5); }
.ws-tag.done { color: #12091f; background: var(--green); }
.ws-tag.rej { color: #fff; background: var(--red); }
.ws-info { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; }
.ws-info div { flex: 1; min-width: 0; display: grid; }
.ws-info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-info small { color: var(--muted); font-weight: 600; font-size: 13px; }
.ws-vote { flex: none; display: grid; justify-items: center; min-width: 58px; padding: 6px 8px; border-radius: 12px; cursor: pointer; color: var(--text);
  background: rgba(157, 77, 255, 0.12); border: 2px solid var(--panel-border); transition: all 0.15s; font-weight: 900; }
.ws-vote .ic { width: 20px; height: 20px; }
.ws-vote:hover { border-color: var(--purple); }
.ws-vote.on { color: #0b1a02; background: linear-gradient(135deg, var(--green), var(--green-2)); border-color: transparent; box-shadow: 0 0 16px rgba(125, 255, 58, 0.5); }
.ws-vote.on .ic { color: #0b1a02; }
.ws-vote:disabled { opacity: 0.4; cursor: default; }
.ws-vote.pop { animation: ws-pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.8); }
@keyframes ws-pop { 50% { transform: scale(1.25); } }
.ws-empty { padding: 30px; text-align: center; color: var(--muted); grid-column: 1 / -1; }
/* Admin-Tab */
.wa-list { display: grid; gap: 8px; }
.wa-row { display: grid; grid-template-columns: 30px 110px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.wa-row.done { border-color: rgba(125, 255, 58, 0.45); }
.wa-row.rejected { opacity: 0.55; }
.wa-row > b { font-family: var(--font-display); color: var(--purple-3); text-align: center; }
.wa-row i { aspect-ratio: 460 / 215; border-radius: 8px; background: #111 center / cover; }
.wa-row div { min-width: 0; display: grid; }
.wa-row div b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-row small { color: var(--muted); }
.wa-acts { display: flex; gap: 6px; flex-wrap: nowrap; justify-content: flex-end; }
.wa-votes { color: var(--gold); font-weight: 900; }
@media (max-width: 700px) {
  .wa-row { grid-template-columns: 26px 80px 1fr; }
  .wa-acts { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .ws-list { grid-template-columns: 1fr; }
}

/* Admin: Easter-Egg-Fortschritt */
.eg-list { display: grid; gap: 8px; }
.eg-row { display: grid; grid-template-columns: 34px minmax(140px, 1fr) minmax(200px, 2fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.eg-rank { font-family: var(--font-display); color: var(--purple-3); text-align: center; }
.eg-who { display: grid; min-width: 0; }
.eg-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eg-who b small, .eg-who > small { color: var(--muted); font-weight: 600; }
.eg-prog { display: grid; gap: 4px; }
.eg-prog > span { font-size: 14px; color: var(--muted); }
.eg-prog > span b { color: var(--gold); font-size: 17px; }
.eg-icos { display: flex; flex-wrap: wrap; gap: 2px; font-size: 15px; }
@media (max-width: 760px) { .eg-row { grid-template-columns: 30px 1fr; } .eg-prog, .eg-row > .btn { grid-column: 1 / -1; } }

/* ---------------------------------------------------- Admin: OBS-Overlays --- */
.ov-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); gap: 14px; }
.ov-wide { grid-column: 1 / -1; }
.ov-prev-wide iframe { aspect-ratio: 16 / 9; }
.ov-holes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ov-holes div { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--panel-border); }
.ov-holes code { font-family: "JetBrains Mono", monospace; color: var(--gold); font-size: 0.85rem; }
.ov-lbl { display: grid; gap: 4px; font-weight: 700; }
.ov-lbl small { color: var(--muted); font-weight: 600; }
.ov-lbl textarea { width: 100%; resize: vertical; font-family: inherit; }
.ov-scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ov-scene { display: grid; gap: 8px; align-content: start; }
.ov-scene input[type=text] { width: 100%; }
.ov-cdrow { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.ov-cdnow { color: var(--gold); font-weight: 700; }
.ov-cdrow label { display: inline-flex; align-items: center; gap: 6px; }
.ov-card { display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.ov-card .bk-hint { margin: 0; }
.ov-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ov-top b { font-family: var(--font-display); font-size: 1.05rem; }
.ov-top small { color: var(--gold); font-weight: 700; }
.ov-url { display: flex; gap: 8px; align-items: center; }
.ov-url code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 7px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--panel-border); color: var(--green, #7dff3a); font-family: "JetBrains Mono", monospace; font-size: 0.85rem; }
.ov-prev { position: relative; border-radius: 10px; overflow: hidden; border: 1px dashed var(--panel-border);
  background: repeating-conic-gradient(#1a1230 0% 25%, #120c22 0% 50%) 50% / 22px 22px; }
.ov-prev iframe { display: block; width: 100%; border: 0; background: transparent; }
.ov-prev-info iframe { aspect-ratio: 930 / 200; }
.ov-opts { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.ov-help { margin-top: 4px; }
.ov-help summary { cursor: pointer; font-weight: 700; color: var(--purple-3); }
.ov-help ol { margin: 8px 0 0; padding-left: 22px; display: grid; gap: 4px; color: var(--muted); }
@media (max-width: 900px) { .ov-cards, .ov-scenes { grid-template-columns: 1fr; } .ov-holes { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Team-Seite --- */
.tm-livebar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: -6px 0 22px; }
.tm-livebar a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; text-decoration: none; color: #fff; font-weight: 700;
  background: rgba(255, 59, 92, 0.14); border: 1px solid rgba(255, 77, 109, 0.6); box-shadow: 0 0 18px -6px #ff3b5c; }
.tm-livebar a i, .tm-badge.live i { width: 9px; height: 9px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 8px #ff3b5c; animation: tm-blink 1.4s infinite; }
@keyframes tm-blink { 50% { opacity: 0.25; } }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; max-width: 1180px; margin: 0 auto; }
.tm-card { position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, rgba(26, 12, 54, 0.92), rgba(10, 5, 22, 0.95));
  border: 1px solid color-mix(in srgb, var(--tc) 40%, transparent); box-shadow: 0 0 30px -14px var(--tc); opacity: 0; animation: tm-in 0.6s cubic-bezier(.2, 1.2, .4, 1) forwards;
  transition: transform 0.25s, box-shadow 0.25s; }
.tm-card:hover { transform: translateY(-4px); box-shadow: 0 10px 40px -12px var(--tc); }
.tm-card.is-live { border-color: rgba(255, 77, 109, 0.7); box-shadow: 0 0 34px -10px #ff3b5c; }
@keyframes tm-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.tm-top { position: relative; aspect-ratio: 16 / 7; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--tc) 55%, transparent), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px), linear-gradient(135deg, #22104a, #0c0620); }
.tm-top.live { aspect-ratio: 16 / 9; background: #000; }
.tm-top img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.tm-badge.live { background: #e3173d; color: #fff; box-shadow: 0 0 14px rgba(227, 23, 61, 0.7); }
.tm-badge.live i { background: #fff; box-shadow: none; }
.tm-badge.off { background: rgba(0, 0, 0, 0.55); color: var(--muted); border: 1px solid rgba(255, 255, 255, 0.12); }
.tm-badge.unk { display: none; }
.tm-view { position: absolute; right: 12px; top: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.65); color: #fff; font-weight: 700; font-size: 0.85rem; }
.tm-av { position: relative; width: 112px; height: 112px; margin: -56px auto 0; border-radius: 50%; padding: 4px; z-index: 2;
  background: conic-gradient(var(--tc), color-mix(in srgb, var(--tc) 30%, #fff), var(--tc)); box-shadow: 0 0 22px -4px var(--tc); }
.tm-av.live { background: conic-gradient(#ff3b5c, #ff9a3c, #ff3b5c); animation: tm-ring 2s linear infinite; }
@keyframes tm-ring { 50% { box-shadow: 0 0 34px 2px #ff3b5c; } }
.tm-av img, .tm-av span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center;
  background: #120a26; border: 3px solid #0c0620; font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--tc); }
.tm-body { padding: 10px 22px 22px; text-align: center; display: grid; gap: 8px; }
.tm-body h2 { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.55rem; letter-spacing: 0.5px; }
.tm-role { color: var(--tc); font-weight: 700; font-size: 0.98rem; }
.tm-stream { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 59, 92, 0.08); border: 1px solid rgba(255, 77, 109, 0.35); }
.tm-stitle { font-size: 1rem; line-height: 1.3; }
.tm-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.tm-last { color: var(--muted); font-size: 0.88rem; }
.tm-bio { margin: 2px 0 0; color: #d8ccf3; line-height: 1.45; font-size: 0.98rem; }
.tm-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.tm-fol { color: var(--muted); font-size: 0.9rem; }
.tm-fol b { color: #fff; font-family: var(--font-display); }
.tm-watch { animation: tm-watch 1.6s ease-in-out infinite; }
@keyframes tm-watch { 50% { box-shadow: 0 0 22px rgba(125, 255, 58, 0.6); } }
.nav-links a .nav-live { position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 8px #ff3b5c; animation: tm-blink 1.4s infinite; }
.nav-links a.has-live { position: relative; }
@media (max-width: 600px) { .tm-grid { grid-template-columns: 1fr; } }

/* Admin: Team */
.ta-list { display: grid; gap: 10px; }
.ta-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.ta-row.hid { opacity: 0.5; }
.ta-av { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 3px solid var(--tc); display: flex; align-items: center; justify-content: center; background: #120a26; font-weight: 900; color: var(--tc); }
.ta-av img { width: 100%; height: 100%; object-fit: cover; }
.ta-info { display: grid; min-width: 0; }
.ta-info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-info small { color: var(--muted); }
.ta-st { font-weight: 700; } .ta-st.live { color: #ff4d6d; } .ta-st.offline { color: var(--muted); } .ta-st.unknown { color: var(--gold); }
.ta-acts { display: flex; gap: 6px; flex-wrap: nowrap; }
.ta-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.ta-form label { display: grid; gap: 4px; font-weight: 700; font-size: 0.9rem; }
.ta-form label.full { grid-column: 1 / -1; }
.ta-form input[type=text], .ta-form textarea { width: 100%; }
.ta-form .ta-btns { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 700px) { .ta-form { grid-template-columns: 1fr; } .ta-row { grid-template-columns: 48px minmax(0, 1fr); } .ta-acts { grid-column: 1 / -1; } }
.ta-form input[type=color] { width: 90px; height: 42px; padding: 3px; border-radius: 10px; border: 1px solid var(--panel-border); background: rgba(0, 0, 0, 0.35); cursor: pointer; }
.ta-form label.check { display: flex; align-items: center; gap: 8px; }
.tm-top.live { background: radial-gradient(circle at 50% 40%, rgba(255, 59, 92, 0.35), transparent 65%), linear-gradient(135deg, #2a0d1e, #0c0620); }

/* Admin: Gesamt-Zeile unter den Zahlen (Normal + Premium) */
.adm-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; margin: -6px auto 18px; padding: 8px 16px; max-width: 1100px;
  border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); color: var(--muted); font-size: 0.95rem; }
.adm-total:empty { display: none; }
.adm-total b { color: #fff; }

/* Hall of Fame: Easter-Egg-Jaeger */
.hof-eggs { margin-top: 18px; padding: 18px 20px; --c: #ffd24a; border-color: rgba(255, 210, 74, 0.35); }
.he-head h3 { margin: 0; font-family: var(--font-display); letter-spacing: 1px; text-transform: uppercase; }
.he-head p { margin: 6px 0 14px; color: var(--muted); }
.he-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.he-grid h4 { margin: 0 0 10px; font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.he-grid h4 small { color: var(--muted); font-family: inherit; text-transform: none; letter-spacing: 0; font-weight: 600; margin-left: 6px; }
.he-list { display: grid; gap: 8px; }
.he-row { display: grid; grid-template-columns: 34px 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.06); animation: hof-in 0.5s both; }
.he-row.all { border-color: rgba(255, 210, 74, 0.6); box-shadow: 0 0 18px -8px #ffd24a; }
.he-row .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.he-rank { text-align: center; font-family: var(--font-display); font-weight: 900; color: var(--muted); }
.he-crown { font-size: 1.1rem; }
.he-bar { grid-column: 3 / 5; grid-row: 2; margin-top: -2px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.he-bar i { display: block; height: 100%; background: linear-gradient(90deg, #9d4dff, #ffd24a); }
.he-cnt { color: var(--muted); font-size: 0.9rem; }
.he-cnt b { color: #fff; font-family: var(--font-display); }
.he-time { color: var(--muted); font-size: 0.85rem; }
@keyframes hof-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 860px) { .he-grid { grid-template-columns: 1fr; } }

/* Leaderboard: Archiv vergangener Runden */
.lb-archive { margin-top: 18px; padding: 18px 20px; }
.lba-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lba-head h3 { margin: 0; }
.lba-head select { min-width: 220px; }
.lba-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0; color: var(--muted); }
.lba-meta b { color: #fff; font-family: var(--font-display); }
.lba-table tr.win td { background: rgba(255, 210, 74, 0.05); }
.lba-note { margin: 10px 0 0; color: var(--muted); font-size: 0.88rem; }

/* Leaderboard: Admin-Statistik (Test) */
.lb-gap { display: block; margin-top: 3px; font-size: 0.78rem; font-weight: 700; color: #8fd9ff; white-space: nowrap; }
.lb-pod .lb-gap { text-align: center; }
.lb-move { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; font-size: 0.72rem; font-weight: 800; vertical-align: middle; }
.lb-move.up { color: #7dff3a; background: rgba(125, 255, 58, 0.12); }
.lb-move.down { color: #ff6b81; background: rgba(255, 77, 109, 0.12); }
.lb-move.same { color: var(--muted); }
.lb-move.new { color: #0b0718; background: var(--gold); }
.lb-stats-adm { margin-top: 18px; padding: 18px 20px; border-color: rgba(143, 217, 255, 0.35); }
.lb-admtag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 0.8rem; font-weight: 700; color: #8fd9ff; background: rgba(143, 217, 255, 0.1); border: 1px solid rgba(143, 217, 255, 0.35); }
.lbs-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-top: 14px; }
.lbs-grid h4 { margin: 0 0 10px; font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; color: #8fd9ff; }
.lbs-svg svg { width: 100%; height: auto; display: block; }
.lbs-svg .g { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.lbs-svg text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.lbs-svg .ln { fill: none; stroke: #7dff3a; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(125, 255, 58, 0.6)); }
.lbs-svg .dot { fill: #7dff3a; stroke: #0b0718; stroke-width: 2; }
.lbs-list { display: grid; gap: 8px; }
.lbs-row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.06); }
.lbs-row .i { font-size: 1.3rem; text-align: center; }
.lbs-row small { display: block; color: var(--muted); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; }
.lbs-row b { display: block; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lbs-row em { display: block; font-style: normal; color: var(--muted); font-size: 0.82rem; }
@media (max-width: 860px) { .lbs-grid { grid-template-columns: 1fr; } }

/* Admin: Overlay-Link-Baukasten + eigene Banner */
.ov-build { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.ovb-row { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 10px; }
.ovb-row > span { font-weight: 700; color: var(--muted); font-size: 0.9rem; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { padding: 6px 12px; border-radius: 10px; border: 1px solid var(--panel-border); background: rgba(255, 255, 255, 0.04); color: var(--text, #eee); font: inherit; font-weight: 700; font-size: 0.88rem; cursor: pointer; }
.seg button.on { background: linear-gradient(135deg, #6a1bd6, #9d4dff); border-color: transparent; color: #fff; box-shadow: 0 0 14px -4px #9d4dff; }
.ovb-upload { display: flex; align-items: center; gap: 12px; }
.ovb-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.ovb-item { display: grid; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.ovb-item.on { border-color: rgba(125, 255, 58, 0.6); box-shadow: 0 0 18px -8px #7dff3a; }
.ovb-img { height: 90px; border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: repeating-conic-gradient(#1a1230 0% 25%, #120c22 0% 50%) 50% / 16px 16px; }
.ovb-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ovb-info { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.ovb-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ovb-info small { color: var(--muted); white-space: nowrap; }
.ovb-acts { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.ovb-live { margin-right: auto; color: #7dff3a; font-weight: 800; font-size: 0.88rem; }

/* ---- Hall of Fame: Listen scrollbar (statt endlos lange Seite) ---- */
.hof-list { max-height: 560px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--c, #9d4dff) 70%, transparent) transparent; }
.hof-list::-webkit-scrollbar { width: 6px; }
.hof-list::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 6px; }
.hof-list::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--c, #9d4dff) 70%, transparent); border-radius: 6px; }
.hof-list .hof-item { flex-shrink: 0; }
@media (max-width: 800px) { .hof-list { max-height: 440px; } }
/* Eintrag ohne Tip: nur Admins sehen ihn (ausgegraut) */
.hof-item.no-tip { border-left-style: dashed; }
.hof-item.no-tip > :not(.del):not(.hof-hidden) { opacity: 0.45; transition: opacity 0.2s; }
.hof-item.no-tip:hover > * { opacity: 1; }
.hof-item .hof-hidden { grid-column: 2; font-size: 11px; font-weight: 700; color: #ffb31a; }

/* =========================================================
   Streamer-Tag + Filter (Hall of Fame)
   ========================================================= */
.hof-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; padding: 10px 14px; border-radius: 14px;
  background: rgba(0, 0, 0, 0.28); border: 1px solid var(--panel-border); }
.hf-lbl { font-family: var(--font-display); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.hf-chip { --sc: var(--purple); display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; cursor: pointer;
  font: 700 15px var(--font-body); color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s; }
.hf-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--sc); box-shadow: 0 0 8px var(--sc); }
.hf-chip b { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.hf-chip:hover { border-color: color-mix(in srgb, var(--sc) 60%, transparent); transform: translateY(-1px); }
.hf-chip.on { background: color-mix(in srgb, var(--sc) 22%, transparent); border-color: var(--sc); box-shadow: 0 0 16px -4px var(--sc); }
.hf-chip.on b { background: var(--sc); color: #0b0618; }
.hf-note { font-size: 13px; color: var(--muted); margin-left: auto; cursor: help; }
.hof-stag { --sc: var(--purple); white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 6px;
  color: color-mix(in srgb, var(--sc) 70%, #fff); background: color-mix(in srgb, var(--sc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 35%, transparent); }
.tip-modal .tip-streamer { margin-top: 12px; }
@media (max-width: 800px) { .hf-note { margin-left: 0; width: 100%; } }

/* =========================================================
   Meine Gewinne
   ========================================================= */
.mw-mini, .mw-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: -14px auto 26px; padding: 6px 6px 6px 16px;
  border-radius: 999px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--panel-border); transition: border-color 0.2s, box-shadow 0.2s; }
.mw-mini:focus-within, .mw-search:focus-within { border-color: var(--green); box-shadow: 0 0 22px -6px var(--green); }
.mw-mini svg, .mw-search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.mw-mini input:not([type="checkbox"]), .mw-search input:not([type="checkbox"]) { flex: 1; width: auto; min-width: 0; background: none !important; border: none !important; outline: none; box-shadow: none !important;
  color: var(--text); font: 600 17px var(--font-body); padding: 8px 0 !important; border-radius: 0; }
.mw-mini .btn, .mw-search .btn { border-radius: 999px; }
.mw-search { max-width: 640px; margin: -10px auto 30px; padding: 8px 8px 8px 20px; }
.mw-search input:not([type="checkbox"]) { font-size: 20px; }
.section-title .mw-link { order: 1; font-family: var(--font-body); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 700;
  color: var(--green); text-decoration: none; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(125, 255, 58, 0.35); background: rgba(125, 255, 58, 0.06); white-space: nowrap; }
.section-title .mw-link:hover { background: rgba(125, 255, 58, 0.16); }
.mw-out { max-width: 980px; margin: 0 auto; display: grid; gap: 16px; }
.mw-head { display: flex; align-items: center; gap: 18px; padding: 20px 22px; animation: door-in 0.45s both; }
.mw-av { width: 64px !important; height: 64px !important; font-size: 30px !important; flex-shrink: 0; }
.mw-hname { flex: 1; min-width: 0; }
.mw-hname h2 { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mw-hname p { margin: 4px 0 0; color: var(--muted); }
.mw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mw-stat { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 18px 10px; animation: door-in 0.45s both; }
.mw-stat:nth-child(2) { animation-delay: 60ms; } .mw-stat:nth-child(3) { animation-delay: 120ms; } .mw-stat:nth-child(4) { animation-delay: 180ms; }
.mw-stat > span { font-size: 28px; }
.mw-stat b { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.mw-stat b em { font-style: normal; font-size: 0.55em; color: var(--muted); }
.mw-stat small { color: var(--muted); font-size: 14px; }
.mw-stat.tips b { color: #ffb31a; text-shadow: 0 0 18px rgba(255, 179, 26, 0.45); }
.mw-stat.keys b { color: var(--green); text-shadow: 0 0 18px rgba(125, 255, 58, 0.35); }
.mw-stat.wins b { color: var(--purple-3); }
.mw-stat.eggs b { color: var(--gold); }
.mw-list { padding: 16px; }
.mw-list h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.mw-rows { display: grid; gap: 8px; max-height: 640px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(157, 77, 255, 0.6) transparent; }
.mw-row { --c: var(--purple); display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.05); border-left: 3px solid var(--c); animation: door-in 0.4s both; }
.mw-row.k-calendar { --c: #9d4dff; } .mw-row.k-slot { --c: #d32ce6; } .mw-row.k-battle { --c: #eb4b4b; } .mw-row.k-tip { --c: #ffb31a; } .mw-row.k-hunt { --c: #7dff3a; }
.mw-row.no-tip { opacity: 0.55; border-left-style: dashed; }
.mw-ico { width: 56px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; font-weight: 800;
  background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.mw-cover { width: 56px; height: 42px; border-radius: 8px; background-size: cover; background-position: center; background-color: rgba(255, 255, 255, 0.05); }
.mw-what { min-width: 0; display: grid; gap: 2px; }
.mw-what b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mw-what small { color: var(--muted); font-size: 13px; }
.mw-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); }
.mw-val { display: grid; justify-items: end; font-weight: 800; font-size: 17px; white-space: nowrap; }
.mw-val small { font-size: 12px; font-weight: 600; color: var(--muted); }
.mw-val.tip { color: #ffb31a; } .mw-val.key { color: var(--green); } .mw-val.off { color: var(--muted); font-size: 13px; }
.adm-only-tag { font-family: var(--font-body); font-size: 12px; letter-spacing: 0; text-transform: none; color: #ffb31a; }
.mw-empty { text-align: center; padding: 34px 20px; animation: door-in 0.45s both; }
.mw-empty-ico { font-size: 54px; }
.mw-empty h2 { margin: 8px 0 6px; font-family: var(--font-display); font-size: 22px; }
.mw-empty p { color: var(--muted); margin: 0 auto; max-width: 520px; }
.mw-sug { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; }
.mw-sug > span { color: var(--muted); }
.mw-loading { display: flex; justify-content: center; gap: 8px; padding: 30px; }
.mw-loading span { width: 12px; height: 12px; border-radius: 50%; background: var(--green); animation: mw-dot 0.9s infinite ease-in-out; }
.mw-loading span:nth-child(2) { animation-delay: 0.15s; } .mw-loading span:nth-child(3) { animation-delay: 0.3s; }
@keyframes mw-dot { 0%, 80%, 100% { transform: scale(0.5); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }
@media (max-width: 800px) {
  .mw-stats { grid-template-columns: 1fr 1fr; }
  .mw-head { flex-wrap: wrap; }
  .mw-head .btn { width: 100%; }
  .mw-row { grid-template-columns: 44px 1fr; }
  .mw-ico, .mw-cover { width: 44px; height: 38px; }
  .mw-val { grid-column: 2; justify-items: start; }
  .section-title .mw-link { font-size: 13px; padding: 4px 10px; }
}

/* =========================================================
   Admin: Wer streamt gerade? + Zeitplan-Editor
   ========================================================= */
.ta-cur { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ta-cur button { --tc: var(--purple); display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; cursor: pointer;
  font: 700 15px var(--font-body); color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); }
.ta-cur button i { width: 9px; height: 9px; border-radius: 50%; background: var(--tc); }
.ta-cur button.on { background: color-mix(in srgb, var(--tc) 24%, transparent); border-color: var(--tc); box-shadow: 0 0 14px -4px var(--tc); }
.ta-cur-now { margin-top: 10px; font-size: 15px; }
.ta-cur-now small { color: var(--muted); }
.ta-sch { display: grid; gap: 8px; margin: 12px 0; }
.ta-sch-row { display: grid; grid-template-columns: 120px 90px 14px 90px minmax(140px, 200px) 1fr auto; gap: 8px; align-items: center; }
.ta-sch-row > span { text-align: center; color: var(--muted); }
.ta-sch-row select, .ta-sch-row input { width: 100%; min-width: 0; }
.ta-sch-row input[data-k="start"], .ta-sch-row input[data-k="end"] { text-align: center; font-family: var(--font-mono); }
.ta-sch-row input.bad { border-color: var(--red) !important; box-shadow: 0 0 10px -3px var(--red); }
@media (max-width: 900px) {
  .ta-sch-row { grid-template-columns: 1fr 1fr 1fr; padding: 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.25); }
  .ta-sch-row > span { display: none; }
  .ta-sch-row input[data-k="note"] { grid-column: 1 / 3; }
}

/* =========================================================
   Team-Seite: Stream-Zeitplan
   ========================================================= */
.tm-sched { max-width: 1180px; margin: 30px auto 0; padding: 20px; }
.ts-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ts-head h2 { margin: 0; font-family: var(--font-display); font-size: 20px; letter-spacing: 1px; text-transform: uppercase; }
.ts-next { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ts-pill { --tc: var(--purple); display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 8px 14px; border-radius: 999px; font-size: 15px;
  background: color-mix(in srgb, var(--tc) 14%, rgba(0, 0, 0, 0.3)); border: 1px solid color-mix(in srgb, var(--tc) 45%, transparent); }
.ts-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--tc); box-shadow: 0 0 8px var(--tc); }
.ts-pill em { font-style: normal; color: var(--muted); }
.ts-pill.now i { background: #ff3b5c; box-shadow: 0 0 10px #ff3b5c; animation: ts-blink 1.2s infinite; }
@keyframes ts-blink { 50% { opacity: 0.3; } }
.ts-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.ts-day { display: grid; align-content: start; gap: 8px; padding: 10px; border-radius: 14px; min-height: 120px; min-width: 0;
  background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.05); }
.ts-day.today { border-color: var(--green); box-shadow: inset 0 0 0 1px rgba(125, 255, 58, 0.25), 0 0 20px -10px var(--green); }
.ts-dname { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.ts-dname small { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--green); font-weight: 700; }
.ts-slot { --tc: var(--purple); position: relative; display: grid; gap: 1px; padding: 8px 10px; border-radius: 10px; overflow: hidden;
  background: color-mix(in srgb, var(--tc) 13%, rgba(0, 0, 0, 0.35)); border-left: 3px solid var(--tc); }
.ts-slots { display: grid; gap: 8px; min-width: 0; }
.ts-slot b { font-size: 15px; line-height: 1.15; overflow-wrap: anywhere; }
.ts-time { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.ts-note { font-size: 12.5px; color: color-mix(in srgb, var(--tc) 60%, #fff); }
.ts-slot.on { box-shadow: 0 0 0 1px var(--tc), 0 0 22px -6px var(--tc); }
.ts-slot.on .ts-time { color: var(--text); }
.ts-now { justify-self: start; margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 2px 8px; border-radius: 6px; background: #ff3b5c; color: #fff; }
.ts-free { font-size: 13px; color: rgba(157, 146, 189, 0.5); text-align: center; padding: 14px 0; }
.ts-tz { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 1000px) { .ts-week { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ts-week { grid-template-columns: 1fr; }
  .ts-day { min-height: 0; grid-template-columns: 64px 1fr; align-items: start; }
  .ts-day .ts-dname { flex-direction: column; justify-content: flex-start; gap: 2px; padding-top: 4px; }
  .ts-free { text-align: left; padding: 4px 0; }
  .ts-head { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Admin: Besucher-Statistik
   ========================================================= */
.st-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px; }
.st-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.st-online { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; color: var(--muted); }
.st-online i { width: 9px; height: 9px; border-radius: 50%; background: #5a5470; }
.st-online.on i { background: var(--green); box-shadow: 0 0 10px var(--green); animation: ts-blink 1.6s infinite; }
.st-online b { color: var(--text); font-size: 17px; }
.st-range { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.08); }
.st-range button { border: none; background: none; color: var(--muted); font: 700 14px var(--font-body); padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.st-range button.on { background: var(--purple); color: #fff; }
.st-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.st-kpi { display: grid; gap: 2px; align-content: start; padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.06); position: relative; }
.st-kv { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.st-kpi small { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.st-kpi b { font-family: var(--font-display); font-size: 30px; line-height: 1.1; color: var(--text); }
.st-kpi em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.st-d { justify-self: start; white-space: nowrap; font-size: 12.5px; font-weight: 800; padding: 1px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.st-d.up { color: var(--green); background: rgba(125, 255, 58, 0.1); }
.st-d.down { color: #ff7a8f; background: rgba(255, 77, 109, 0.1); }
.st-d.new { color: var(--purple-3); background: rgba(157, 77, 255, 0.15); }
.st-card { padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.06); min-width: 0; }
.st-card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.st-card h4 { margin: 0; font-size: 16px; }
.st-card h5 { margin: 14px 0 6px; font-size: 14px; color: var(--muted); }
.st-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.st-legend i, .st-tip i.u { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--green); }
.st-chart { position: relative; height: 230px; }
.st-chart svg { display: block; overflow: visible; }
.st-grid-l { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.st-ax { fill: var(--muted); font: 600 11px var(--font-body); }
.st-b { fill: var(--green); opacity: 0.85; }
.st-hit { fill: transparent; cursor: crosshair; }
.st-hit.on { fill: rgba(255, 255, 255, 0.05); }
.st-tip { position: absolute; top: 4px; z-index: 3; pointer-events: none; display: grid; gap: 3px; padding: 8px 11px; border-radius: 10px; font-size: 13.5px; white-space: nowrap;
  background: rgba(14, 9, 28, 0.96); border: 1px solid var(--panel-border); box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5); }
.st-tip span { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.st-tip span b { color: var(--text); }
.st-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.st-bars { display: grid; gap: 7px; }
.st-bar { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto 42px; align-items: center; gap: 10px; font-size: 14.5px; }
.st-bl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-bt { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.st-bt i { display: block; height: 100%; border-radius: 5px; background: var(--purple); }
.st-bar b { text-align: right; }
.st-bar small { color: var(--muted); text-align: right; }
.st-tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.st-tbl th { text-align: left; color: var(--muted); font-weight: 700; font-size: 13px; padding: 4px 6px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.st-tbl td { padding: 8px 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.st-tbl td .st-d { margin-left: 4px; }
.st-hcols { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; height: 110px; align-items: end; }
.st-hc { height: 100%; display: flex; align-items: flex-end; cursor: default; }
.st-hc i { display: block; width: 100%; border-radius: 3px 3px 0 0; background: rgba(157, 77, 255, 0.55); }
.st-hc:hover i { background: var(--purple-3); }
.st-hc.peak i { background: var(--green); }
.st-hax { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.st-split { height: 14px; border-radius: 7px; background: rgba(157, 77, 255, 0.45); overflow: hidden; }
.st-split i { display: block; height: 100%; background: var(--green); border-right: 2px solid var(--panel-solid); }
.st-split-l { display: flex; justify-content: space-between; margin-top: 6px; font-size: 14px; color: var(--muted); }
.st-split-l b { color: var(--text); }
@media (max-width: 1100px) { .st-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .st-kpis { grid-template-columns: 1fr 1fr; }
  .st-grid { grid-template-columns: 1fr; }
  .st-chart { height: 180px; }
}

/* =========================================================
   Promocodes: Admin-Formular + Hall of Fame
   ========================================================= */
.upc-form { display: grid; grid-template-columns: 0.9fr 1.3fr 1fr 0.8fr 0.6fr 0.9fr 1fr; gap: 10px 12px; margin: 14px 0 8px; padding: 14px; border-radius: 14px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.06); align-items: end; }
.upc-form label { display: grid; gap: 5px; font-weight: 700; font-size: 14px; min-width: 0; }
.upc-form label small { font-weight: 600; color: #ffb31a; font-size: 11.5px; }
.upc-form label.wide { grid-column: 1 / 4; }
.hu-card.battle { border-left-color: #eb4b4b; }
.hu-ico.battle { background: rgba(235, 75, 75, 0.14); border-color: rgba(235, 75, 75, 0.35); }
.upc-form input, .upc-form select { width: 100%; min-width: 0; }
.upc-form .tip-amount { display: flex; align-items: center; gap: 6px; }
.upc-sum { grid-column: 4 / 6; align-self: center; font-size: 14px; color: var(--muted); }
.upc-sum b { color: #ffb31a; font-size: 18px; }
.upc-btns { grid-column: 6 / 8; display: flex; gap: 8px; justify-content: flex-end; }
.upc-total { margin: 10px 0; font-weight: 700; color: #ffb31a; }
.upc-tbl code { font-family: var(--font-mono); font-size: 13.5px; padding: 2px 7px; border-radius: 6px; background: rgba(255, 179, 26, 0.1); color: #ffcf6b; }
.upc-tbl td small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.upc-acts { display: flex; gap: 6px; justify-content: flex-end; }
@media (max-width: 1000px) {
  .upc-form { grid-template-columns: 1fr 1fr; }
  .upc-form label.wide, .upc-sum, .upc-btns { grid-column: 1 / -1; }
  .upc-tbl { display: block; overflow-x: auto; white-space: nowrap; }
}
.hof-upc { margin-top: 22px; padding: 18px 20px; --c: #ffb31a; }
.hu-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.hu-head h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-display); letter-spacing: 1px; text-transform: uppercase; font-size: 18px; }
.hu-head .ga-pill { background: color-mix(in srgb, #ffb31a 35%, transparent); }
.hu-sum { font-size: 16px; color: var(--muted); }
.hu-sum b { color: #ffb31a; font-size: 20px; text-shadow: 0 0 14px rgba(255, 179, 26, 0.45); }
.hu-sub { margin: 6px 0 14px; color: var(--muted); }
.hu-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; max-height: 440px; overflow-y: auto; padding-right: 4px;
  scrollbar-width: thin; scrollbar-color: rgba(255, 179, 26, 0.6) transparent; }
.hu-card { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.05); border-left: 3px solid #ffb31a; animation: door-in 0.45s both; }
.hu-ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; background: rgba(255, 179, 26, 0.12); border: 1px solid rgba(255, 179, 26, 0.3); }
.hu-main { display: grid; gap: 3px; min-width: 0; }
.hu-main b { font-size: 16px; }
.hu-main b span { color: var(--muted); font-weight: 600; }
.hu-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); }
.hu-nums { display: grid; justify-items: end; gap: 2px; font-size: 14px; }
.hu-each { font-weight: 800; }
.hu-each small { font-weight: 600; color: var(--muted); }
.hu-pl { color: var(--muted); white-space: nowrap; }
.hu-tot { font-family: var(--font-display); font-size: 20px; color: #ffb31a; min-width: 64px; text-align: right; }
@media (max-width: 560px) {
  .hu-list { grid-template-columns: 1fr; }
  .hu-card { grid-template-columns: 40px 1fr auto; }
  .hu-nums { grid-column: 2; justify-items: start; }
  .hu-tot { grid-column: 3; grid-row: 1 / 3; }
}
/* Promocodes: Sortieren + Art-Filter */
.hu-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.hu-seg { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.07); }
.hu-seg > span { padding: 0 8px 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.hu-seg button { border: none; background: none; color: var(--muted); font: 700 14px var(--font-body); padding: 6px 11px; border-radius: 8px; cursor: pointer; transition: background 0.15s, color 0.15s; }
.hu-seg button:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.hu-seg button.on { color: #1a1206; background: #ffb31a; box-shadow: 0 0 14px -4px #ffb31a; }
.hu-seg button[data-dir]:not([data-dir=""])::after { content: " " attr(data-dir); }
@media (max-width: 640px) { .hu-tools { flex-direction: column; } .hu-seg { justify-content: flex-start; } }

/* =========================================================
   Startseite: Tips-Box wechselt (Tips <-> Promocodes/Free Battles) mit Ladebalken
   ========================================================= */
.tips-hero.th-rot { padding-bottom: 30px; }
.th-slide { min-width: min(520px, 70vw); }
.th-slide.th-in { animation: th-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes th-in { 0% { opacity: 0; transform: translateY(14px) scale(0.97); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
.th-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.06); z-index: 2; }
.th-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffd24a, #ffb31a); box-shadow: 0 0 12px rgba(255, 210, 74, 0.8); }
.th-dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.th-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: none; cursor: pointer; background: rgba(255, 255, 255, 0.25); transition: width 0.25s, background 0.25s; }
.th-dots button.on { width: 24px; border-radius: 5px; background: #ffd24a; }
.th-paused .th-bar i { opacity: 0.55; }
/* Ansicht Promocodes/Free Battles: etwas orangener, damit man den Wechsel sieht */
.tips-hero.th-pc .lbl { color: #ffb31a; }
.tips-hero.th-pc .val { color: #ffb31a; }
.tips-hero.th-pc .cnt { color: #ffcf8a; }
.tips-hero.th-pc .th-bar i { background: linear-gradient(90deg, #ffb31a, #eb4b4b); box-shadow: 0 0 12px rgba(235, 75, 75, 0.7); }
@media (max-width: 640px) { .th-slide { min-width: 0; } }

/* =========================================================
   Wartungsmodus: Admin-Schalter + Hinweisbalken
   ========================================================= */
.mt-box { max-width: none !important; margin-bottom: 18px; transition: border-color 0.2s, box-shadow 0.2s; }
.mt-box.is-on { border-color: #ffb31a; box-shadow: 0 0 30px -10px #ffb31a; }
.mt-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.mt-switch { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(0, 0, 0, 0.35); color: var(--muted); font: 800 16px var(--font-display); letter-spacing: 1px; }
.mt-switch i { position: relative; width: 52px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); transition: background 0.2s; }
.mt-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.mt-switch.on { color: #ffb31a; border-color: #ffb31a; }
.mt-switch.on i { background: #ffb31a; }
.mt-switch.on i::after { transform: translateX(24px); }
.mt-fields { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; margin-top: 14px; align-items: end; }
.mt-fields label { display: grid; gap: 6px; font-weight: 700; }
.mt-fields label.full { grid-column: 1 / -1; }
.mt-btns { display: flex; gap: 8px; }
.maint-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding: 9px 16px; position: relative; z-index: 5;
  background: linear-gradient(90deg, #ffb31a, #ff8a3d); color: #1a1206; font-weight: 700; font-size: 15px; }
.maint-bar a { color: #1a1206; font-weight: 800; }
.maint-bar button { border: none; cursor: pointer; padding: 5px 12px; border-radius: 8px; background: #1a1206; color: #ffd24a; font: 800 13px var(--font-body); letter-spacing: 0.5px; text-transform: uppercase; }
@media (max-width: 640px) { .mt-fields { grid-template-columns: 1fr; } }

/* Gewinnspiel: in dieser Runde schon gezogen */
.ga-drawn { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 77, 109, 0.06); border: 1px dashed rgba(255, 77, 109, 0.35); }
.ga-drawn-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #ff8aa0; margin-bottom: 8px; }
.ga-drawn-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ga-drawn-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer;
  background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 77, 109, 0.3); color: var(--text); text-decoration: line-through; text-decoration-color: rgba(255, 77, 109, 0.6); }
.ga-drawn-chip i { font-style: normal; font-size: 11px; color: #ff8aa0; text-decoration: none; }
.ga-drawn-chip:hover { border-color: var(--green); text-decoration: none; }
.ga-drawn-chip:hover i { color: var(--green); }

/* =========================================================
   Zuschauer-Konto (/konto) + Login-Knopf im Menue
   ========================================================= */
.kt-signin, .kt-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 13px; border-radius: 11px; white-space: nowrap;
  font-weight: 800; font-size: 14px; text-decoration: none; transition: all 0.2s;
}
.kt-signin { color: #0b1a03; background: var(--green); border: 1px solid var(--green); box-shadow: 0 0 14px -4px var(--green); }
.kt-signin .ic { width: 17px; height: 17px; }
.kt-signin:hover { transform: translateY(-1px); box-shadow: 0 0 22px -2px var(--green); }
.kt-chip { padding: 0 12px 0 5px; color: var(--text); background: var(--panel); border: 1px solid var(--panel-border); max-width: 190px; }
.kt-chip img, .kt-chip i { width: 32px; height: 32px; flex: none; border-radius: 9px; object-fit: cover; }
.kt-chip i { display: grid; place-items: center; font-style: normal; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-2)); }
.kt-chip span { overflow: hidden; text-overflow: ellipsis; }
.kt-chip:hover { border-color: var(--purple); box-shadow: var(--shadow-purple); }
@media (max-width: 1500px) { .kt-signin span, .kt-chip span { display: none; } .kt-signin { padding: 0 12px; } .kt-chip { padding: 0 5px; } }

.kt-wrap { max-width: 1100px; margin: 0 auto; display: grid; gap: 18px; }
.kt-login { max-width: 560px; width: 100%; margin: 20px auto; padding: 34px 28px 26px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.kt-logo { width: 78px; height: 78px; border-radius: 50%; border: 2px solid rgba(157, 77, 255, 0.6); box-shadow: 0 0 28px rgba(157, 77, 255, 0.5); }
.kt-login h1 { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 4vw, 30px); }
.kt-sub { margin: 0; color: var(--muted); font-size: 17px; max-width: 440px; }
.kt-logins { display: grid; gap: 10px; width: 100%; max-width: 360px; margin-top: 6px; }
.kt-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border-radius: 12px; text-decoration: none;
  font-weight: 800; font-size: 17px; transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.kt-btn svg { width: 20px; height: 20px; flex: none; }
.kt-btn.kick { background: #53fc18; color: #0b1a03; box-shadow: 0 0 22px -6px #53fc18; }
.kt-btn.discord { background: #5865f2; color: #fff; box-shadow: 0 0 22px -6px #5865f2; }
.kt-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.kt-btn.off { filter: grayscale(0.85) brightness(0.7); cursor: not-allowed; transform: none; }
.kt-hint { margin: 0; font-size: 14px; color: var(--muted); }
.kt-mock { margin: 0; font-size: 13px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 179, 26, 0.1); color: #ffcf6e; }
.kt-mock a { color: #ffcf6e; }
.kt-perks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; text-align: left; font-size: 16px; }
.kt-privacy { margin: 4px 0 0; font-size: 13px; color: var(--muted); line-height: 1.4; }

.kt-head { display: flex; align-items: center; gap: 16px; padding: 18px 20px; flex-wrap: wrap; }
.kt-av { width: 64px; height: 64px; flex: none; border-radius: 16px; object-fit: cover; border: 2px solid rgba(157, 77, 255, 0.5); font-size: 28px; }
.kt-hn { flex: 1; min-width: 150px; }
.kt-hn h1 { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 3.4vw, 28px); word-break: break-word; }
.kt-hn p { margin: 2px 0 0; color: var(--muted); }
.kt-hbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.kt-banned { padding: 14px 18px; color: #ffb3c1; border-color: rgba(255, 77, 109, 0.5); background: rgba(255, 77, 109, 0.08); font-weight: 700; }

.kt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; align-items: start; }
.kt-card { padding: 20px; display: grid; gap: 12px; }
.kt-card h3 { margin: 0; font-family: var(--font-display); font-size: 18px; }
.kt-card h4 { margin: 6px 0 0; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

.kt-conn, .kt-ub-h { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 12px; text-decoration: none; color: var(--text);
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); }
.kt-ub-h { padding: 0; background: none; border: 0; }
.kt-conn > div, .kt-ub-h > div { flex: 1; min-width: 0; display: grid; }
.kt-conn b, .kt-ub-h b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kt-conn small, .kt-ub-h small { color: var(--muted); font-size: 13px; }
.kt-ci { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; font-size: 19px; background: rgba(157, 77, 255, 0.15); }
.kt-ci svg { width: 20px; height: 20px; }
.kt-conn.kick .kt-ci { background: rgba(83, 252, 24, 0.14); color: #53fc18; }
.kt-conn.discord .kt-ci { background: rgba(88, 101, 242, 0.2); color: #8f99ff; }
.kt-conn.ok { border-color: rgba(125, 255, 58, 0.3); }
.kt-conn.todo { border-style: dashed; border-color: rgba(255, 210, 74, 0.45); transition: all 0.15s; }
.kt-conn.todo:hover { background: rgba(255, 210, 74, 0.07); transform: translateX(3px); }
.kt-go { font-size: 20px; color: var(--gold); }
.kt-ub { display: grid; gap: 10px; padding: 13px; border-radius: 12px; border: 1px dashed rgba(157, 77, 255, 0.45); background: rgba(157, 77, 255, 0.05); }
.kt-ub-st { margin: 0; font-size: 14px; padding: 7px 10px; border-radius: 8px; }
.kt-ub-st.wait { color: #ffcf6e; background: rgba(255, 179, 26, 0.1); }
.kt-ub-st.no { color: #ffb3c1; background: rgba(255, 77, 109, 0.1); }
.kt-ub-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kt-ub-form input { min-width: 0; }
.kt-ub-form button { grid-column: 1 / -1; justify-content: center; }

.kt-rw-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kt-reset { font-size: 14px; color: var(--muted); padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.kt-reset b { color: var(--gold); font-family: var(--font-mono); font-size: 14px; }
.kt-week { margin: -4px 0 0; color: var(--muted); font-size: 14px; }
.kt-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kt-tiles div { display: grid; gap: 3px; padding: 11px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.kt-tiles small { font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.kt-tiles b { font-family: var(--font-display); font-size: 18px; overflow: hidden; text-overflow: ellipsis; }
.kt-tiles .hl { border-color: rgba(125, 255, 58, 0.45); background: rgba(125, 255, 58, 0.08); }
.kt-tiles .hl b { color: var(--green); text-shadow: 0 0 12px rgba(125, 255, 58, 0.45); }
.kt-min { display: grid; gap: 5px; }
.kt-min small { color: var(--muted); font-size: 13px; }
.kt-min-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.kt-min-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--purple), var(--green)); transition: width 0.6s; }
.kt-reqs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kt-reqs li { font-size: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: var(--muted); }
.kt-reqs li.ok { color: var(--green); background: rgba(125, 255, 58, 0.08); }
.kt-claim { width: 100%; justify-content: center; font-size: 17px; padding: 14px; }
.kt-claim:disabled { filter: grayscale(0.9) brightness(0.6); cursor: not-allowed; box-shadow: none; transform: none; }
.kt-rw.off { opacity: 0.85; }
.kt-hist { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; }
.kt-hrow { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 10px; padding: 8px 11px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); font-size: 14px; }
.kt-hrow small { color: var(--muted); }
.kt-hrow em { font-style: normal; font-weight: 800; font-size: 13px; }
.kt-hrow.open em { color: #ffcf6e; } .kt-hrow.paid em { color: var(--green); } .kt-hrow.rejected em { color: #ff8aa0; }
.kt-rg { margin: 0; font-size: 12.5px; color: rgba(157, 146, 189, 0.75); }
.kt-foot { text-align: center; }
.kt-del { background: none; border: 0; color: rgba(255, 138, 160, 0.7); cursor: pointer; font: inherit; font-size: 14px; padding: 6px 10px; border-radius: 8px; }
.kt-del:hover { color: #ff8aa0; background: rgba(255, 77, 109, 0.08); }

@media (max-width: 900px) {
  .kt-grid { grid-template-columns: 1fr; }
  .kt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .kt-head { padding: 14px; gap: 12px; }
  .kt-av { width: 52px; height: 52px; }
  .kt-hbtns { width: 100%; } .kt-hbtns .btn { flex: 1; justify-content: center; }
  .kt-card { padding: 15px; }
  .kt-ub-form { grid-template-columns: 1fr; }
  .kt-hrow { grid-template-columns: auto auto 1fr; }
  .kt-hrow small { grid-column: 1 / -1; order: 5; }
  .kt-login { padding: 26px 16px 20px; }
}

/* ------------------------------------------- Admin: Zuschauer-Tab --- */
.vw-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.vw-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.vw-pills span { font-size: 13px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.vw-pills span.hot { color: #1a1206; background: #ffb31a; }
.vw-sub { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.vw-list { display: grid; gap: 8px; max-height: 520px; overflow-y: auto; }
.vw-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); flex-wrap: wrap; }
.vw-row.banned { border-color: rgba(255, 77, 109, 0.4); background: rgba(255, 77, 109, 0.05); }
.vw-row.claim.open { border-color: rgba(255, 179, 26, 0.45); }
.vw-row.claim.paid { opacity: 0.75; }
.vw-row.claim.rejected { opacity: 0.55; }
.vw-av { width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: cover; display: grid; place-items: center; font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; }
.vw-info { flex: 1; min-width: 170px; display: grid; gap: 1px; }
.vw-info b { overflow-wrap: anywhere; }
.vw-info small { color: var(--muted); font-size: 13px; }
.vw-ub { display: grid; padding: 6px 10px; border-radius: 9px; background: rgba(157, 77, 255, 0.1); min-width: 160px; }
.vw-ub small { color: var(--muted); font-size: 12.5px; }
.vw-amt { min-width: 84px; text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 18px; color: var(--green);
  padding: 8px 10px; border-radius: 10px; background: rgba(125, 255, 58, 0.08); }
.vw-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.vw-tags span { font-size: 12.5px; padding: 3px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); color: var(--muted); }
.vw-tags span.on { color: var(--text); background: rgba(157, 77, 255, 0.16); }
.vw-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.vw-claim-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.vw-claim-filter button { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--panel-border); background: transparent; color: var(--muted);
  font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.vw-claim-filter button.on { color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-2)); border-color: transparent; }
.vw-search { max-width: 260px; }
.vw-form { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; }
.vw-form .vw-off { opacity: 0.35; pointer-events: none; }
.vw-form select { min-width: 0; }
.vw-form label, .vw-app label, .vw-base { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
.vw-app label small { color: var(--muted); font-weight: 600; }
.vw-example { grid-column: 1 / -1; font-size: 14px; color: var(--muted); padding: 9px 12px; border-radius: 10px; background: rgba(255, 210, 74, 0.06); }
.vw-btns { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.vw-week { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; color: var(--muted); }
.vw-base { max-width: 420px; margin-bottom: 12px; }
.vw-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.vw-app { display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); }
.vw-app.kick { border-color: rgba(83, 252, 24, 0.3); }
.vw-app.discord { border-color: rgba(88, 101, 242, 0.45); }
.vw-app h4 { margin: 0; font-size: 17px; }
.vw-app .bk-hint { margin: 0; }
.vw-link { font-size: 13px; color: var(--purple-3); }
.vw-redir { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vw-redir small { color: var(--muted); width: 100%; font-weight: 800; }
.vw-redir code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; padding: 7px 9px; border-radius: 8px; background: rgba(0, 0, 0, 0.35); }
@media (max-width: 900px) {
  .vw-form { grid-template-columns: 1fr 1fr; }
  .vw-form .vw-mode-l { grid-column: 1 / -1; }
  .vw-apps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .vw-form { grid-template-columns: 1fr; }
  .vw-acts { margin-left: 0; width: 100%; }
  .vw-search { max-width: none; width: 100%; }
}

/* =========================================================
   Points-Shop: Punkte, Einloesen, eigene Einloesungen
   ========================================================= */
.rw-foot { flex-wrap: wrap; }
.rw-redeem { white-space: nowrap; flex-shrink: 0; margin-left: auto; text-decoration: none; }
.ms-body .rw-foot .rw-redeem { flex: 1 1 100%; justify-content: center; margin-left: 0; }
.rw-redeem.can { box-shadow: 0 0 18px -4px var(--green); }
.rw-redeem.ghosty { opacity: 0.75; }
.rw-redeem.ghosty:hover { opacity: 1; }
.rw-login a.btn { text-decoration: none; }
.rw-login .ic, .rw-login svg { width: 18px; height: 18px; }
.pt-hi { font-weight: 800; font-size: 17px; display: grid; }
.pt-hi small { color: var(--muted); font-weight: 700; font-size: 14px; }
.pt-rules { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.pt-mine { grid-column: 1 / -1; display: grid; gap: 6px; max-height: 220px; overflow-y: auto; }
.pt-mine h4 { margin: 4px 0 2px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.pt-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.04); font-size: 14px; }
.pt-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-row small { color: var(--muted); }
.pt-row em { font-style: normal; font-weight: 800; font-size: 12.5px; }
.pt-row.open em { color: #ffcf6e; } .pt-row.done em { color: var(--green); } .pt-row.rejected em { color: #ff8aa0; }
@media (max-width: 560px) {
  .pt-row { grid-template-columns: auto 1fr; }
  .pt-row small, .pt-row em { grid-column: 2; }
}

/* ------------------------------------------- Admin: Punkte-Tab --- */
.pa-switches { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.pa-switches .mt-switch span b { font-weight: 900; }
.pa-form { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pa-form .pa-check { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.pa-cost { color: var(--gold); background: rgba(255, 210, 74, 0.08); min-width: 90px; }
.pa-rank { min-width: 38px; text-align: center; font-weight: 900; color: var(--muted); }
.pa-game code { padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, 0.4); color: var(--green); font-size: 13px; }
.pa-adjust { display: grid; grid-template-columns: 1.2fr 0.7fr 1.5fr auto; gap: 8px; margin: 10px 0 12px; }
.pa-adjust input { min-width: 0; }
.pa-log { margin-top: 12px; }
.pa-log summary { cursor: pointer; color: var(--muted); font-weight: 800; }
.pa-log-row { padding: 5px 0; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.pa-log-row .plus { color: var(--green); font-weight: 900; } .pa-log-row .minus { color: #ff8aa0; font-weight: 900; }
.pa-log-row small { color: var(--muted); }
@media (max-width: 900px) { .pa-form { grid-template-columns: 1fr 1fr; } .pa-adjust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pa-form { grid-template-columns: 1fr; } }
.ov-sc-who { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: rgba(157, 77, 255, 0.1); font-weight: 700; font-size: 14px; }

/* ------------------------------------------------ Animationen aus (fx-btn) --- */
html.fx-off *, html.fx-off *::before, html.fx-off *::after {
  animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
html.fx-off #bg-canvas, html.fx-off .mlight { display: none !important; }
.fx-btn.off { opacity: 0.55; position: relative; }
.fx-btn.off::after { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 2px; background: currentColor; transform: rotate(-35deg); }

/* Admin: Szenen-Vorschau nicht ueberlappen lassen */
.ov-scene { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.ov-scene > * { min-width: 0; }
.ov-scene .ov-prev { border-style: solid; box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.8); }
.ov-scene > b { font-size: 15px; }
.st-tip[hidden] { display: none; }

/* ---------- Admin-Ausklapp-Menue in der Leiste (alle Admin-Seiten unter "Admin ▾") ---------- */
.nav-links { min-width: 0; }
header.nav .nav-tools { flex: none; }
.nav-drop { position: relative; display: flex; }
.nav-drop-btn { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; padding: 8px 11px; border: 0; border-radius: 10px;
  background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase;
  white-space: nowrap; cursor: pointer; transition: color 0.2s; }
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn, .nav-drop.active .nav-drop-btn { color: var(--text); }
.nav-drop-btn .chev { width: 15px; height: 15px; opacity: 0.8; transition: transform 0.2s; }
.nav-drop.open .nav-drop-btn .chev { transform: rotate(180deg); }
.nav-drop-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 70; min-width: 240px; display: none; flex-direction: column; gap: 2px; padding: 8px;
  border-radius: 14px; background: rgba(12, 8, 24, 0.98); border: 1px solid var(--panel-border);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6), 0 0 26px rgba(157, 77, 255, 0.2); }
.nav-drop.open .nav-drop-menu { display: flex; animation: fade-in 0.15s; }
.nav-links .nav-drop-menu a { padding: 10px 12px; font-size: 14px; letter-spacing: 0.3px; border-radius: 9px; gap: 10px; }
.nav-links .nav-drop-menu a > span { display: inline !important; flex: 1; }
.nav-links .nav-drop-menu a:hover { color: var(--text); background: rgba(157, 77, 255, 0.14) !important; }
.nav-links .nav-drop-menu a.active { color: var(--text); background: linear-gradient(135deg, rgba(157, 77, 255, 0.35), rgba(106, 27, 214, 0.2)) !important; }
.nav-links .nav-drop-menu a.nav-keys.active { background: linear-gradient(135deg, rgba(255, 77, 109, 0.3), rgba(157, 77, 255, 0.15)) !important; }
.nav-tag { font-size: 10px; padding: 2px 6px; border-radius: 6px; letter-spacing: 0.4px; }
.nav-tag.keys { background: rgba(255, 77, 109, 0.16); color: #ff8aa0; border: 1px solid rgba(255, 77, 109, 0.4); }
@media (max-width: 1560px) { .nav-drop-btn > span { display: none; } .nav-drop-btn { font-size: 17px; padding: 8px 10px; } }
/* Handy: das Ausklapp-Menue verschwindet, die Admin-Seiten stehen normal im ☰-Menue */
@media (max-width: 860px) {
  .nav-drop, .nav-drop-menu { display: contents !important; }
  .nav-drop-btn { display: none; }
  .nav-tag { display: none; }
}

/* ---------- Soundboard (/soundboard, nur Admins) ---------- */
.sb-top { display: grid; gap: 12px; margin-bottom: 16px; }
.sb-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.sb-target button.on { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; }
.sb-vol { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--muted); }
.sb-vol input { width: 170px; accent-color: var(--purple); }
.sb-vol b { min-width: 44px; color: var(--text); }
.sb-status { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.sb-status b { color: var(--text); }
.sb-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sb-chip { padding: 3px 10px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--panel-border); opacity: 0.6; }
.sb-chip.on { opacity: 1; border-color: rgba(125, 255, 58, 0.5); background: rgba(125, 255, 58, 0.08); }
.sb-warn { color: #ffb31a; font-weight: 700; }
.sb-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sb-stop { font-size: 16px; }
.sb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.sb-cell { position: relative; display: grid; gap: 6px; }
.sb-btn { width: 100%; aspect-ratio: 1 / 0.9; display: grid; grid-template-rows: 1fr auto auto; place-items: center; gap: 4px; padding: 12px 8px 10px;
  border-radius: 18px; border: 1px solid var(--panel-border); cursor: pointer; color: var(--text); font: inherit;
  background: radial-gradient(circle at 50% 30%, rgba(157, 77, 255, 0.22), rgba(12, 8, 24, 0.92) 70%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35); transition: transform 0.12s, border-color 0.2s, box-shadow 0.2s;
  -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.sb-btn:hover { border-color: var(--purple); box-shadow: var(--shadow-purple); }
.sb-btn:active { transform: scale(0.94); }
.sb-btn.hit { animation: sb-hit 0.5s ease-out; }
@keyframes sb-hit { 0% { box-shadow: 0 0 0 0 rgba(125, 255, 58, 0.9); border-color: var(--green); } 100% { box-shadow: 0 0 0 18px rgba(125, 255, 58, 0); } }
.sb-thumb { width: 100%; height: 100%; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.sb-thumb i { font-style: normal; font-size: clamp(38px, 9vw, 54px); line-height: 1; }
.sb-thumb img { max-width: 100%; max-height: 74px; border-radius: 10px; object-fit: contain; }
.sb-btn b { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; text-align: center; line-height: 1.15;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-btn small { font-size: 12px; color: var(--muted); min-height: 14px; }
.sb-grid.editing .sb-btn { border-style: dashed; }
.sb-tools { display: flex; gap: 4px; justify-content: center; }
.sb-tools button { flex: 1; padding: 6px 0; border-radius: 9px; border: 1px solid var(--panel-border); background: rgba(255, 255, 255, 0.04); color: var(--text); cursor: pointer; font: inherit; }
.sb-tools button:disabled { opacity: 0.3; cursor: default; }
.sb-form { margin-bottom: 16px; }
.sb-form h3 { margin: 0 0 12px; }
.sb-fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.sb-fgrid label { display: grid; gap: 5px; font-size: 14px; font-weight: 700; color: var(--muted); }
.sb-fgrid label[hidden] { display: none; }
.sb-fgrid label.sb-check { display: flex; align-items: center; gap: 8px; }
.sb-fgrid input[type="range"] { accent-color: var(--purple); }
.sb-factions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }
.sb-hint { margin: 10px 0 0; color: #ffb31a; font-weight: 700; min-height: 1em; }
.sb-help ol { margin: 6px 0 0; padding-left: 22px; display: grid; gap: 6px; color: var(--muted); }
.sb-help b { color: var(--text); }
@media (max-width: 520px) {
  .sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sb-stop { width: 100%; justify-content: center; }
  .sb-vol { width: 100%; } .sb-vol input { flex: 1; width: auto; }
  .sb-target { width: 100%; } .sb-target button { flex: 1; }
}
.sb-local.on { border-color: rgba(125, 255, 58, 0.55); color: var(--green); }
/* Soundboard: Upload-Felder (antippen oder Datei hineinziehen) */
.sb-fname { display: grid; gap: 5px; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 14px; max-width: 420px; }
.sb-drops { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.sb-dropbox { display: grid; gap: 10px; align-content: start; }
.sb-drop { position: relative; min-height: 150px; display: grid; place-items: center; padding: 16px; border-radius: 16px; cursor: pointer; text-align: center;
  border: 2px dashed rgba(157, 77, 255, 0.55); background: rgba(157, 77, 255, 0.06); transition: border-color 0.2s, background 0.2s; }
.sb-drop:hover, .sb-drop:focus-visible, .sb-drop.over { border-color: var(--green); background: rgba(125, 255, 58, 0.07); outline: none; }
.sb-drop-empty { display: grid; gap: 6px; justify-items: center; }
.sb-drop-empty b { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase; }
.sb-drop-empty small { color: var(--muted); font-size: 13px; max-width: 300px; }
.sb-drop-ico { font-size: 38px; line-height: 1; }
.sb-drop-full { display: none; gap: 10px; justify-items: center; width: 100%; }
.sb-drop.full { border-style: solid; border-color: rgba(125, 255, 58, 0.55); background: rgba(125, 255, 58, 0.05); cursor: default; }
.sb-drop.full .sb-drop-empty { display: none; }
.sb-drop.full .sb-drop-full { display: grid; }
.sb-drop-full b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-drop-full img { max-width: 100%; max-height: 160px; border-radius: 10px; object-fit: contain; }
.sb-drop-btns { display: flex; gap: 8px; }
.sb-or { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
.sb-imgopts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sb-imgopts[hidden] { display: none; }
.sb-imgopts label, .sb-fmore label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
.sb-fmore { display: grid; grid-template-columns: 1fr 160px; gap: 14px; margin-top: 14px; max-width: 560px; }
.sb-fmore input[type="range"] { accent-color: var(--purple); }
@media (max-width: 520px) { .sb-imgopts { grid-template-columns: 1fr 1fr; } .sb-fmore { grid-template-columns: 1fr; } }
.sb-factions [hidden] { display: none !important; }
.sb-form { scroll-margin-top: 170px; }
@media (max-width: 860px) { .sb-form { scroll-margin-top: 80px; } }
.lb-hidden { margin: 10px 0 0; font-size: 13px; color: var(--muted); opacity: 0.8; line-height: 1.5; }
.vw-tags .vw-uid { cursor: pointer; }
.vw-tags .vw-uid:hover { border-color: var(--green); }
/* Gewinnspiel: unter Code BLG? */
.ga-code:empty { display: none; }
.ga-code { margin-top: 8px; padding: 6px 14px; border-radius: 12px; border: 1px solid var(--panel-border); display: grid; gap: 2px; text-align: center; }
.ga-code b { font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.ga-code small { font-size: 12.5px; color: var(--muted); }
.ga-code.on { border-color: rgba(125, 255, 58, 0.6); background: rgba(125, 255, 58, 0.08); }
.ga-code.on b { color: var(--green); }
.ga-code.left { border-color: rgba(255, 77, 109, 0.7); background: rgba(255, 77, 109, 0.1); }
.ga-code.left b { color: #ff8aa0; }
.ga-code.unknown { border-style: dashed; }
.ga-code.unknown b { color: var(--muted); }
/* Gewinner-Karte: Chat des Gewinners scrollbar (Platz fuer ca. 4 Nachrichten) */
.ga-win-card .ga-win-chat { max-height: 150px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--purple) transparent; }
.ga-win-card .ga-win-chat::-webkit-scrollbar { width: 6px; }
.ga-win-card .ga-win-chat::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
.ga-code-re { justify-self: center; margin-top: 4px; }
/* Gewinner-Karte: 30-Sekunden-Timer zum Antworten */
.ga-ans { margin: 8px auto 0; width: min(340px, 100%); display: flex; flex-direction: column; gap: 6px; text-align: center; }
.ga-ans .ga-ans-txt { font-family: var(--font-display); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--text); }
.ga-ans .ga-ans-track { display: block; height: 7px; margin: 0; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.ga-ans .ga-ans-fill { display: block; height: 100%; width: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--green), #b8ff6a); transition: width 0.2s linear, background 0.3s; }
.ga-ans.low .ga-ans-txt { color: #ffb31a; animation: ga-tpulse 1s infinite; }
.ga-ans.low .ga-ans-fill { background: linear-gradient(90deg, #ff4d6d, #ffb31a); }
.ga-ans.up .ga-ans-txt { color: #ff8aa0; animation: none; }
@keyframes ga-tpulse { 50% { opacity: 0.55; } }
.ga-ans.done .ga-ans-txt { color: var(--green); }
.ga-ans.done .ga-ans-fill { background: var(--green); }

/* =========================================================
   Admin-Tab "Tips": Tips von Hand eintragen (ohne Gewinnspiel)
   ========================================================= */
.mtip-form { grid-template-columns: 1.3fr 0.8fr 1fr 1fr 0.7fr 1fr; }
.mtip-form .upc-sum { grid-column: 4 / 5; }
.mtip-form .upc-btns { grid-column: 5 / 7; }
.mtip-form label small { color: var(--muted); }
.mtip-amt { color: #ffb31a; }
@media (max-width: 1000px) {
  .mtip-form { grid-template-columns: 1fr 1fr; }
  .mtip-form .upc-sum, .mtip-form .upc-btns { grid-column: 1 / -1; }
}

/* Gewinnspiel: Grund, warum der Kick-Chat nicht verbunden ist */
.ga-conn-why { margin: -6px 0 12px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 77, 109, 0.08);
  border: 1px solid rgba(255, 77, 109, 0.25); color: #ff9fb0; font-size: 12.5px; font-weight: 600; word-break: break-word; }

/* =========================================================
   Leaderboard: Umschalter Unbox.gg | CS2Reaper (reaper.py)
   ========================================================= */
.lb-switch { display: flex; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: -6px auto 18px; padding: 5px;
  border-radius: 999px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(157, 77, 255, 0.35); }
.lb-switch[hidden] { display: none; }
.lb-switch button { border: 0; cursor: pointer; padding: 9px 22px; border-radius: 999px; background: transparent; color: var(--muted);
  font-family: Orbitron, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.lb-switch button:hover { color: #fff; }
.lb-switch button.on { background: linear-gradient(135deg, #9d4dff, #6b2fd6); color: #fff; box-shadow: 0 0 16px rgba(157, 77, 255, 0.55); }
.lbr-hint { margin: 4px 0 12px; color: var(--muted); font-size: 14px; }
.lbr-form { max-width: 560px; }
.lbr-api { color: var(--muted); font-size: 12px; word-break: break-all; }
@media (max-width: 480px) { .lb-switch button { padding: 8px 14px; font-size: 12px; } }

/* Gewinnspiel: Code-Pruefung pro Seite (Unbox / CS2Reaper) untereinander */
.ga-codes:empty { display: none; }
.ga-codes { display: grid; gap: 6px; }

/* CS2Reaper: normaler Wager klein unter dem gewichteten */
.lb-raw { display: block; color: var(--muted); font-size: 11.5px; opacity: 0.85; margin-top: 2px; }
.lb-pod .lb-raw { text-align: center; }

/* ---------- Leaderboard: Info-Kasten "So funktionieren die Punkte" (Cold.gg) ---------- */
.lb-howto { padding: 14px 18px; margin: 18px 0; }
.lb-howto summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--text, #fff); }
.lb-howto summary::-webkit-details-marker { display: none; }
.lb-howto summary::after { content: "▾"; margin-left: auto; color: var(--muted); transition: transform 0.2s; }
.lb-howto:not([open]) summary::after { transform: rotate(-90deg); }
.lb-howto summary .ic { color: var(--purple-3, #b98cff); }
.lb-howto ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.lb-howto-ex { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(157, 77, 255, 0.1); border: 1px solid rgba(157, 77, 255, 0.25); color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .lb-howto { padding: 12px 14px; } .lb-howto summary { font-size: 15px; } .lb-howto ul { font-size: 14px; } }
