:root {
  --bg: #0f1115;
  --panel: #171a21;
  --panel-2: #1e222b;
  --line: #2a2f3a;
  --text: #e7e9ee;
  --muted: #8b93a3;
  --accent: #f08a24;
  --accent-2: #ffb15c;
  --ok: #3fb97a;
  --err: #e5534b;
  --discord: #5865f2;
  --radius: 10px;
  --gold: #f5c542; --silver: #c0c7d2; --bronze: #cd8a4d;
  /* Diagramme: validierte Reihenfarben für die dunkle Fläche (--panel) */
  --series-1: #3987e5; --series-2: #d95926;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
main.wrap { flex: 1; padding-top: 24px; padding-bottom: 48px; }
h1 { font-size: 1.7rem; margin: 0 0 .4em; line-height: 1.2; }
h2 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
code { background: var(--panel-2); padding: 1px 5px; border-radius: 4px; font-size: .85em; word-break: break-all; }

/* Topbar */
.topbar { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; flex-wrap: wrap; }
.logo { color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: .2px; }
.logo:hover { text-decoration: none; }
.logo-mark { color: var(--accent); }
.topbar nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar nav a:not(.btn) { color: var(--text); }
.user { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.user img { border-radius: 50%; }
form.inline { display: inline; margin: 0; }
button.link { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }
button.link:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: #1a1006; font-weight: 700;
  padding: 9px 16px; border-radius: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  text-align: center; transition: background .15s;
}
.btn:hover { background: var(--accent-2); text-decoration: none; }
.btn-sm { padding: 6px 12px; font-size: .88rem; }
.btn-lg { padding: 12px 22px; font-size: 1.02rem; }
.btn-ghost { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--line); }
.btn-danger { background: var(--err); color: #fff; }
.btn-danger:hover { background: #f06b64; }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #6d78f5; }
.btn-cfx { background: var(--accent); }

/* Cards */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.empty { text-align: center; padding: 40px 20px; }
.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid; }
.flash-ok { background: rgba(63,185,122,.12); border-color: rgba(63,185,122,.4); }
.flash-error { background: rgba(229,83,75,.12); border-color: rgba(229,83,75,.4); }
.flash-warn { background: rgba(240,138,36,.12); border-color: rgba(240,138,36,.45); }
.flash-warn input.copy { margin-top: 8px; }

/* Hero */
.hero { padding: 10px 0 22px; }
.hero p { color: var(--muted); max-width: 640px; margin: 0; }

/* Toplist */
.toplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.entry {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px;
}
.entry:hover { border-color: #3a4150; }
.rank { font-size: 1.5rem; font-weight: 800; color: var(--muted); text-align: center; }
.top-1 { border-left: 3px solid var(--gold); }   .top-1 .rank { color: var(--gold); }
.top-2 { border-left: 3px solid var(--silver); } .top-2 .rank { color: var(--silver); }
.top-3 { border-left: 3px solid var(--bronze); } .top-3 .rank { color: var(--bronze); }
.entry .body { min-width: 0; }
.entry .name { font-size: 1.1rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 6px; }
.banner-link { display: block; margin-bottom: 8px; }
.banner { display: block; max-height: 90px; border-radius: 6px; }
.banner-lg { max-height: 220px; width: 100%; object-fit: cover; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); font-size: .78rem; padding: 2px 9px; border-radius: 99px; }
.stats { display: flex; align-items: center; gap: 18px; }
.stats > div, .detail-stats > div { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.stats strong, .detail-stats strong { font-size: 1.15rem; }
.stats span, .detail-stats span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .4px; }
.votes strong { color: var(--accent-2); }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pager a, .pager span { padding: 6px 12px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); color: var(--text); }
.pager .current { background: var(--accent); color: #1a1006; border-color: var(--accent); font-weight: 700; }

/* Detail */
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.detail-rank { font-size: 2.2rem; font-weight: 800; color: var(--accent); text-align: right; line-height: 1; }
.detail-rank span { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
.detail-stats { display: flex; gap: 24px; padding: 16px 0; margin: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.description { white-space: normal; overflow-wrap: anywhere; color: #cfd3dc; }
input.copy { font-family: ui-monospace, monospace; font-size: .88rem; }

/* Forms */
.form { display: grid; gap: 16px; margin-top: 12px; }
.form label, fieldset { display: grid; gap: 6px; font-weight: 600; }
.form label .muted { font-weight: 400; font-size: .85rem; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; margin-bottom: 6px; }
input[type=text], input[type=url], input[type=email], input[type=password], input[type=search],
input[type=datetime-local], textarea, input[type=file], select {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 12px; font: inherit; font-weight: 400;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tag-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-check { display: inline-flex !important; font-weight: 400 !important; cursor: pointer; }
.tag-check input { position: absolute; opacity: 0; pointer-events: none; }
.tag-check span { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); font-size: .88rem; user-select: none; }
.tag-check input:checked + span { background: var(--accent); border-color: var(--accent); color: #1a1006; font-weight: 600; }
.tag-check input:disabled + span { opacity: .4; cursor: not-allowed; }
.tag-check input:focus-visible + span { outline: 2px solid var(--accent-2); }
.inline-check { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 400 !important; }
.current-banner { display: grid; gap: 8px; margin-top: -6px; }
details { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 10px; }
.danger-zone { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }

/* Login / Vote */
.login-card, .vote-card { max-width: 560px; margin: 20px auto; text-align: center; }
.vote-card .form { text-align: left; }
.vote-card .banner { margin: 0 auto 16px; }
.login-buttons { display: grid; gap: 10px; margin: 22px 0; }
.steps { text-align: left; display: grid; gap: 10px; }
.cf-turnstile { min-height: 65px; }

/* Dashboard / Admin */
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dash-head h2 { margin: 0; }
.dash-server label { display: grid; gap: 4px; margin-top: 10px; color: var(--muted); }
.badge { font-size: .72rem; background: var(--err); color: #fff; padding: 2px 8px; border-radius: 99px; vertical-align: middle; }
.table-wrap { overflow-x: auto; padding: 0; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.admin-table th { color: var(--muted); font-size: .8rem; text-transform: uppercase; }
.admin-table .warn { color: var(--err); font-weight: 700; }
.row-actions { display: flex; gap: 6px; }
.prose { max-width: 760px; }

.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; padding: 18px 0; }
.footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* Konto */
.ident-list { display: grid; gap: 2px; }
.ident-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ident-row:last-child { border-bottom: 0; }
.ident-row > div { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 6px 0 4px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.highlight { border-color: var(--accent); }
.notices ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
button:disabled { opacity: .45; cursor: not-allowed; }

/* Admin */
.admin-nav { display: flex; gap: 4px; margin-bottom: 18px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.admin-nav a { color: var(--muted); padding: 10px 14px; border-bottom: 2px solid transparent; white-space: nowrap; }
.admin-nav a:hover { color: var(--text); text-decoration: none; }
.admin-nav a.active { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }
.crumbs { margin: 0 0 12px; font-size: .9rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 2px; }
.stat strong { font-size: 1.6rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .8rem; }
.filter-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.filter-bar input[type=search] { flex: 1; min-width: 220px; }
.filter-bar select { width: auto; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 18px; align-items: start; }
.mod-grid .form { gap: 10px; }
.danger-card { border-color: rgba(229,83,75,.45); }
.warn-card { border-color: rgba(240,138,36,.5); }
.warn { color: var(--err) !important; font-weight: 700; }
.pill { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; vertical-align: middle; white-space: nowrap; }
.pill-ok { background: rgba(63,185,122,.15); color: #6fd9a0; }
.pill-err { background: rgba(229,83,75,.18); color: #ff8a83; }
.pill-muted { background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); }
.pill-role { background: rgba(240,138,36,.18); color: var(--accent-2); }
.pill-discord { background: rgba(88,101,242,.2); color: #a5adff; }
.pill-cfx { background: rgba(240,138,36,.14); color: var(--accent-2); }
.user-cell { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.user-cell img, .avatar-lg { border-radius: 50%; }
.user-head { display: flex; align-items: center; gap: 16px; }
.user-head h1 { font-size: 1.4rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.user-head p { margin: 2px 0; }
.avatar-lg { width: 64px; height: 64px; }
.facts { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; margin: 16px 0 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 50px; margin-top: 4px; }
.spark-bar { flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; opacity: .8; min-width: 6px; }
.notes { display: grid; gap: 10px; margin-top: 16px; }
.note { background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 10px 14px; overflow-wrap: anywhere; }
.note-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .82rem; margin-bottom: 4px; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.admin-table .wrap-cell { white-space: normal; min-width: 220px; color: #cfd3dc; font-size: .9rem; }
.role-form { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.admin-cols { align-items: start; }

@media (max-width: 680px) {
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 8px; }
  .entry { grid-template-columns: 44px 1fr; padding: 12px; gap: 10px; }
  .rank { font-size: 1.2rem; }
  .stats { grid-column: 1 / -1; justify-content: space-between; }
  .grid-2 { grid-template-columns: 1fr; }
  .detail-head { flex-direction: column; }
  .detail-rank { text-align: left; }
}

.card > h2:first-child, .card > .dash-head:first-child h2 { margin-top: 0; }

input[hidden] { display: none; }

/* ---------- Bewertungen, Favoriten, Meldungen ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stars { position: relative; display: inline-block; letter-spacing: 1px; font-size: .95rem; white-space: nowrap; line-height: 1; }
.stars-bg { color: #3a404c; }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; color: #f5c542; }
.stars-lg { font-size: 1.3rem; }
.rating-line { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; color: inherit; }
.rating-line:hover { text-decoration: none; }
.name-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.name-row .name { margin-bottom: 0; }
.fav-form { margin: 0; }
.fav-btn {
  background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 1.25rem; line-height: 1; padding: 2px 4px;
  border-radius: 6px; transition: color .15s, transform .15s;
}
.fav-btn:hover { color: #ff6b81; transform: scale(1.12); }
.fav-btn.is-fav { color: #ff4d6d; }
.fav-btn.with-label { font-size: 1rem; font-weight: 700; padding: 9px 14px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); }
.fav-btn.with-label span { color: #ff4d6d; }
.fav-btn.with-label:hover { transform: none; background: var(--line); }
.fav-list .rank { font-size: 1rem; }
.count-badge { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 99px; background: var(--err); color: #fff; font-size: .72rem; font-weight: 700; text-align: center; line-height: 18px; }
.report-link { color: var(--muted); font-size: .88rem; margin-left: auto; }
.report-link:hover { color: var(--err); }
.pill-warn { background: rgba(240,138,36,.18); color: var(--accent-2); }

.rating-summary { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.rating-big { display: grid; justify-items: center; gap: 2px; min-width: 120px; }
.rating-big strong { font-size: 2.6rem; line-height: 1; }
.rating-bars { flex: 1; min-width: 220px; display: grid; gap: 4px; }
.rating-bar-row { display: grid; grid-template-columns: 36px 1fr 32px; align-items: center; gap: 8px; font-size: .85rem; }
.rating-bar { height: 8px; background: var(--panel-2); border-radius: 99px; overflow: hidden; }
.rating-bar div { height: 100%; background: #f5c542; border-radius: 99px; }

.review-form { border-top: 1px solid var(--line); padding-top: 16px; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 2rem; color: #3a404c; cursor: pointer; line-height: 1; transition: color .1s; font-weight: 400; }
.star-input label:hover, .star-input label:hover ~ label,
.star-input input:checked ~ label { color: #f5c542; }
.star-input input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }

.reviews { display: grid; gap: 12px; margin-top: 20px; }
.review { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: grid; gap: 6px; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-author { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-author img { border-radius: 50%; }
.review-text { margin: 0; overflow-wrap: anywhere; color: #cfd3dc; }
.review .report-link { margin-left: 0; justify-self: start; }
details.mini { background: none; border: 0; padding: 0; }
details.mini summary { font-weight: 400; color: var(--muted); font-size: .85rem; }
.inline-form { display: flex !important; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.inline-form input[type=text] { flex: 1; min-width: 200px; }

.report-card { text-align: left; }
.quote { background: var(--panel-2); border-left: 3px solid var(--line); padding: 10px 14px; margin: 10px 0; border-radius: 0 8px 8px 0; color: #cfd3dc; overflow-wrap: anywhere; }
.radio-list { display: grid; gap: 8px; }
.radio { display: flex !important; gap: 8px; align-items: center; font-weight: 400 !important; cursor: pointer; }
.radio input { accent-color: var(--accent); }

/* ---------- Toplist-Werkzeuge, Status, Neue Server ---------- */
.toolbar { display: grid; gap: 12px; margin-bottom: 20px; }
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 4px; gap: 4px; justify-self: start; flex-wrap: wrap; }
.seg a { color: var(--muted); padding: 7px 14px; border-radius: 7px; font-weight: 600; font-size: .92rem; }
.seg a:hover { color: var(--text); text-decoration: none; }
.seg a.active { background: var(--accent); color: #1a1006; }
.search { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search input[type=search] { flex: 1; min-width: 220px; }
.tag-filter { background: var(--panel); }
.tag-filter .tag-check small { opacity: .65; margin-left: 2px; }
.filter-info { margin: 0; }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #4a505c; flex-shrink: 0; }
.status-online { color: #6fd9a0; }
.status-online i { background: #3fb97a; box-shadow: 0 0 0 3px rgba(63,185,122,.18); }
.status-offline { color: #ff8a83; }
.status-offline i { background: var(--err); }
.status-unknown { color: var(--muted); }
.detail-stats .status { font-size: 1rem; }
.meta-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.meta-line .rating-line { margin-bottom: 0; }
.score strong { color: #7cc4ff; }
.pill-new { background: rgba(124,196,255,.16); color: #7cc4ff; }
.pill-system { background: rgba(124,196,255,.16); color: #7cc4ff; }
.rank .pill-new { font-size: .75rem; }

.new-strip { margin-bottom: 22px; }
.new-strip h2 { margin: 0; }
.new-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 10px; }
.new-card { display: grid; gap: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; color: var(--text); }
.new-card:hover { border-color: #3a4150; text-decoration: none; }
.new-card img, .new-ph { width: 100%; aspect-ratio: 468 / 90; object-fit: cover; border-radius: 6px; background: var(--panel-2); }
.new-ph { display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.new-card .status { font-size: .78rem; }

.detail-rank small { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-top: 6px; }
a.tag:hover { color: var(--text); border-color: #3a4150; text-decoration: none; }

/* Galerie & Trailer */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery-item { display: block; border-radius: 8px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); }
.gallery-item img { display: block; width: 100%; height: 120px; object-fit: cover; transition: transform .2s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-edit .gallery-item { display: grid !important; gap: 6px; padding-bottom: 6px; font-weight: 400 !important; }
.gallery-edit .inline-check { padding: 0 8px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { display: block; max-width: 96vw; max-height: 88vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(0,0,0,.6); color: #fff; border: 0; cursor: pointer; font-size: 2rem; width: 44px; height: 44px; border-radius: 50%; line-height: 1; }
.lb-close { top: -50px; right: 0; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; background: transparent; border: 0; color: #fff; cursor: pointer; font: inherit; padding: 16px; text-align: center; }
.yt-icon { width: 68px; height: 48px; border-radius: 12px; background: #e5534b; display: grid; place-items: center; font-size: 1.3rem; }
.yt-play:hover .yt-icon { background: #ff3b30; }
.yt-play small { color: #cfd3dc; max-width: 320px; }

/* Antworten auf Bewertungen */
.owner-reply { margin-left: 14px; padding: 8px 12px; border-left: 3px solid var(--accent); background: rgba(240,138,36,.06); border-radius: 0 6px 6px 0; }
.owner-reply p { margin: 4px 0 0; overflow-wrap: anywhere; color: #cfd3dc; }
.review-actions { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.review-actions details.mini { flex: 1; min-width: 200px; }
.review-actions .form { margin-top: 8px; }

/* Einbetten */
.embed-tabs h3 { font-size: 1rem; margin: 18px 0 8px; }
.banner-previews { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 12px; }
.banner-previews figure { margin: 0; display: grid; gap: 4px; max-width: 100%; }
.banner-previews img { max-width: 100%; height: auto; border-radius: 4px; }
.banner-previews figcaption { font-size: .78rem; color: var(--muted); }
textarea.copy { font-family: ui-monospace, monospace; font-size: .82rem; resize: vertical; }
#einbinden label { display: grid; gap: 4px; margin-top: 10px; color: var(--muted); }
.widget-preview { width: 100%; max-width: 440px; height: 90px; border: 0; display: block; }
pre.incidents { white-space: pre-wrap; margin: 0; font-size: .82rem; max-height: 240px; overflow: auto; background: var(--panel-2); padding: 8px 10px; border-radius: 6px; }
.tag-rename input[type=text] { min-width: 160px; }
.yt { max-width: 760px; }
.detail-stats .status, .detail-stats .status * { text-transform: none; letter-spacing: 0; font-size: 1rem; }
.detail-stats .status-online { color: #6fd9a0; }
.detail-stats .status-offline { color: #ff8a83; }

/* ---------- GS2THETOP: Marke, Spiele, Sprache ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; letter-spacing: .5px; font-size: 1.15rem; }
.logo b { color: var(--accent); font-weight: 800; }
.logo-mark { flex-shrink: 0; }
.topbar-inner { gap: 12px 20px; }
.games-nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.games-nav a { color: var(--muted); padding: 6px 12px; border-radius: 8px; font-weight: 600; border: 1px solid transparent; }
.games-nav a:hover { color: var(--text); text-decoration: none; background: var(--panel-2); }
.games-nav a.active { color: var(--text); border-color: var(--game, var(--accent)); background: color-mix(in srgb, var(--game, var(--accent)) 14%, transparent); }
.user-nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.user-nav a:not(.btn) { color: var(--text); }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang-switch a { padding: 4px 9px; font-size: .78rem; font-weight: 700; color: var(--muted) !important; }
.lang-switch a:hover { text-decoration: none; color: var(--text) !important; }
.lang-switch a.active { background: var(--panel-2); color: var(--text) !important; }

.hero-home { padding: 26px 0 30px; }
.hero-home h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 760px; }
.hero-home p { font-size: 1.05rem; margin-bottom: 18px; }

.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-bottom: 26px; align-items: start; }
.game-card { border-top: 3px solid var(--game, var(--accent)); margin: 0; display: grid; gap: 14px; }
.game-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.game-card h2 { margin: 0; font-size: 1.4rem; }
.game-card h2 a { color: var(--text); }
.game-card-soon { opacity: .75; border-top-style: dashed; }
.game-card .actions { margin-top: 2px; }
.top3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.top3 li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.top3-rank { font-weight: 800; font-size: 1.2rem; color: var(--muted); text-align: center; }
.top3 .top-1 .top3-rank { color: var(--gold); }
.top3 .top-2 .top3-rank { color: var(--silver); }
.top3 .top-3 .top3-rank { color: var(--bronze); }
.top3-body { min-width: 0; }
.top3-name { color: var(--text); font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top3 .meta-line { margin: 2px 0 0; gap: 8px; }
.top3-votes { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.top3-votes strong { color: var(--accent-2); font-size: 1rem; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 10px 0 20px; }
.features > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.features p { margin: 6px 0 0; }

.tag-game { background: color-mix(in srgb, var(--game, var(--accent)) 18%, transparent); border-color: var(--game, var(--accent)); color: var(--text); font-weight: 600; }
.tag-global span { border-style: dashed; }
.group-title { margin: 22px 0 10px; }
.game-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 12px; }
.game-pick-item { display: grid; gap: 4px; padding: 16px; border-radius: var(--radius); background: var(--panel-2); border: 1px solid var(--line); border-left: 4px solid var(--game, var(--accent)); color: var(--text); }
.game-pick-item:hover { text-decoration: none; border-color: var(--game, var(--accent)); }
.game-pick-item strong { font-size: 1.1rem; }
.game-pick-item.done { opacity: .75; }
.game-fields { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px 14px; }
.game-fields legend { padding: 0 6px; }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; }
.copy-btn code { background: transparent; padding: 0; font-size: .9rem; }
.copy-label { color: var(--muted); font-size: .8rem; font-weight: 600; }
details.embed { margin-top: 14px; background: var(--panel-2); }
details.embed h3 { font-size: 1rem; margin: 16px 0 8px; }
details.embed label { display: grid; gap: 4px; margin-top: 10px; color: var(--muted); }
select { width: auto; }
.form select, .game-fields select { width: 100%; }

@media (max-width: 680px) {
  .games-nav { order: 3; flex-basis: 100%; }
  .top3 li { grid-template-columns: 34px 1fr auto; padding: 8px; }
}

/* ---------- v6: Verifiziert, Belohnungen, Server-Verwaltung, Statistiken, Discord ---------- */
.verified { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 7px; border-radius: 99px;
  background: rgba(63,185,122,.16); color: #6fd9a0; font-size: .72rem; font-weight: 700; vertical-align: middle; white-space: nowrap; }
h1 .verified { font-size: .8rem; }
.entry .name-row .name { display: inline; }
.name-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 6px; }
.entry .name-row .name { margin-bottom: 0; }
.pill-reward { background: rgba(245,197,66,.14); color: var(--gold); }
.flash-reward { background: rgba(245,197,66,.10); border-color: rgba(245,197,66,.4); }
.reward-hint { background: var(--panel-2); border: 1px dashed var(--line); border-radius: 8px; padding: 10px 12px; }
.ok-text { color: #6fd9a0; font-weight: 600; }
.warn-text { color: var(--accent-2); font-weight: 600; }
.mono { font-family: ui-monospace, monospace; }
.dot-new { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); vertical-align: middle; margin-left: 2px; }
.dash-head .actions { display: flex; gap: 6px; flex-wrap: wrap; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 18px; overflow-x: auto; }
.tabs a { padding: 9px 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 600; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active { color: var(--text); border-bottom-color: var(--accent); }

.range-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 2px; align-content: start; }
.kpi > span:first-child { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .4px; }
.kpi strong { font-size: 1.6rem; line-height: 1.2; }
.delta { font-size: .8rem; font-weight: 600; }
.delta.up { color: #6fd9a0; }
.delta.down { color: #ff8a83; }

.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 0 18px; }
.chart-grid .card { min-width: 0; }
.chart { margin: 0; }
.chart figcaption, .chart-title { font-weight: 700; margin: 0 0 8px; font-size: 1rem; }
.chart-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: 4px; }
.chart-legend span, .chart-tip div { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 12px; height: 3px; border-radius: 2px; background: var(--series-1); }
.sw.s2 { background: var(--series-2); }
.chart-box { position: relative; }
.chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-svg .grid { stroke: var(--line); stroke-width: 1; }
.chart-svg .tick { fill: var(--muted); font-size: 14px; font-family: inherit; }
.chart-svg .end-label { fill: var(--muted); font-size: 14px; font-weight: 600; }
.chart-svg .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-svg .line.s1, .chart-svg .dot.s1 { stroke: var(--series-1); }
.chart-svg .line.s2, .chart-svg .dot.s2 { stroke: var(--series-2); }
.chart-svg .dot { fill: var(--panel); stroke-width: 2; }
.chart-svg .mark.s1 { fill: var(--series-1); }
.chart-svg .mark.s2 { fill: var(--series-2); }
.chart-svg .crosshair { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.chart-tip { position: absolute; top: 8px; z-index: 2; pointer-events: none; background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px; font-size: .82rem; box-shadow: 0 6px 20px rgba(0,0,0,.35); display: grid; gap: 2px; min-width: 130px; }
.chart-tip[hidden] { display: none; }
.chart-empty { position: absolute; inset: 0 0 28px 44px; display: grid; place-items: center; color: var(--muted); font-size: .9rem; }
.chart-table { margin-top: 6px; font-size: .82rem; }
.chart-table summary { color: var(--muted); cursor: pointer; }
.chart-table table { border-collapse: collapse; margin-top: 6px; }
.chart-table td, .chart-table th { padding: 2px 10px 2px 0; text-align: right; }
.chart-table td:first-child, .chart-table th:first-child { text-align: left; }
.ref-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.ref-list li { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr auto; gap: 10px; align-items: center; font-size: .88rem; }
.ref-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-bar { height: 8px; background: var(--panel-2); border-radius: 4px; overflow: hidden; }
.ref-bar i { display: block; height: 100%; background: var(--series-1); border-radius: 4px; }
.ref-val { color: var(--muted); font-variant-numeric: tabular-nums; }

.step-card h3 { display: flex; align-items: center; gap: 10px; margin-top: 0; }
.step-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #1a1006; font-size: .85rem; font-weight: 800; }
.step-card ol li { margin-bottom: 10px; }
.status-rows { display: grid; gap: 10px; }
.status-rows > div { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.status-rows > div > strong { min-width: 120px; }

.team-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.team-list li { display: flex; align-items: center; gap: 12px; }
.team-list li > div { flex: 1; }
.team-list img, .avatar-ph { width: 32px; height: 32px; border-radius: 50%; }
.avatar-ph { display: inline-grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); font-weight: 700; }
ul.plain { list-style: none; padding: 0; }

.game-pick-check .game-pick-item { cursor: pointer; position: relative; padding-left: 44px; }
.game-pick-check input { position: absolute; left: 16px; top: 19px; width: 18px; height: 18px; accent-color: var(--accent); }
.game-pick-check .game-pick-item:has(input:checked) { border-color: var(--game, var(--accent)); background: color-mix(in srgb, var(--game, var(--accent)) 10%, var(--panel-2)); }
.discord-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; margin-top: 16px;
  padding: 14px 16px; border-radius: var(--radius); background: rgba(88,101,242,.1); border: 1px solid rgba(88,101,242,.35); }
.discord-box p { margin: 4px 0 0; }
.welcome-card { max-width: 760px; margin: 0 auto 18px; }

@media (max-width: 560px) {
  .chart-grid { grid-template-columns: 1fr; }
  .chart-svg .tick, .chart-svg .end-label { font-size: 20px; }
  .ref-list li { grid-template-columns: minmax(0, 1fr) 70px auto; }
}
.pill:not([class*="pill-"]) { background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); }

/* ---------- v7: Entdecken, Vergleich, Erinnerungen, Benachrichtigungen ---------- */
.more-filter .filter-grid { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; padding: 8px 0; }
.more-filter select { min-width: 150px; }
.discover-links { margin: 6px 0 0; }
.cmp-toggle { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 6px; font: inherit; font-size: .75rem; padding: 3px 8px; cursor: pointer; margin-top: 6px; }
.cmp-toggle:hover { color: var(--text); border-color: var(--muted); }
.cmp-toggle.on { color: #1a1006; background: var(--accent-2); border-color: var(--accent-2); }
.compare-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 12px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 99px; padding: 8px 10px 8px 18px; box-shadow: 0 8px 30px rgba(0,0,0,.45); max-width: calc(100% - 32px); }
.compare-bar[hidden] { display: none; }
.cmp-names { font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { vertical-align: bottom; }
.compare-table thead .banner { display: block; margin-top: 8px; max-width: 240px; }
.compare-table tbody th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.compare-table td.best { color: #6fd9a0; font-weight: 700; }
.pill-player { background: rgba(124,196,255,.16); color: #7cc4ff; }
.reminder-box { margin: 10px 0 14px; }
.notify-table { border-collapse: collapse; width: 100%; }
.notify-table th, .notify-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.notify-table td:not(:first-child), .notify-table th:not(:first-child) { text-align: center; width: 90px; }
.notify-table input { width: 18px; height: 18px; accent-color: var(--accent); }
.push-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0; padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--radius); }
.reminder-list li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 4px 0; }
.public-charts { margin-bottom: 8px; }
.claim-card .steps li { margin-bottom: 12px; }
.compare-bar .btn { white-space: nowrap; }
