/* ==========================================================================
   NOTW HUB — Turnier-Hub und Sieger im No-Mercy-Design
   --------------------------------------------------------------------------
   Basis ist styles.css (Original-Design von nomercytournaments.de). Hier nur
   die Anpassungen fuer die NotW-Hauptmaske (Glasleiste, Reiter) und die
   beiden Logos im Hero.
   ========================================================================== */

body.nm-look { background: var(--bg); }
body.nm-look main { padding-top: 0; }

/* Reiterleiste in heller No-Mercy-Optik */
body.nm-look .ns-tabs-wrap {
  background: linear-gradient(to bottom, rgba(5, 6, 13, 0.92), rgba(8, 11, 26, 0.88));
  border-bottom: 1px solid rgba(120, 200, 255, 0.12);
}
body.nm-look .ns-tabs { border-bottom: 0; }
body.nm-look .ns-tab { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 2.5px; color: var(--muted); }
body.nm-look .ns-tab:hover, body.nm-look .ns-tab:focus-visible { color: #fff; text-shadow: 0 0 16px rgba(38, 224, 255, 0.7); }
body.nm-look .ns-tab[aria-selected="true"] { color: var(--cyan); }
body.nm-look .ns-tab::after { background: linear-gradient(90deg, var(--cyan), var(--purple)); box-shadow: var(--glow-cyan); height: 2px; }

/* Hero mit beiden Logos */
.hub-hero { min-height: 0; padding-top: clamp(24px, 4vw, 48px); }
.hub-logos { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 3vw, 32px); margin-bottom: 10px; }
.hub-logo-wrap { width: clamp(150px, 26vw, 300px); height: clamp(150px, 26vw, 300px); margin-bottom: 0; }
.hub-logo-wrap .hero-logo { width: 84%; }
.hub-logo-wrap:nth-child(3) .hero-logo { animation-delay: -2.2s; }
.hub-logos-x { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--purple); text-shadow: 0 0 24px rgba(168, 85, 247, 0.7); }
.hub-hero .hero-content h1 { margin: 0 0 14px; }
.hub-hero .hero-content p { max-width: 640px; }

/* Schnellzugriff im No-Mercy-Glas */
.hub-quick-section { padding-top: 0; }
body.nm-look .ns-quick-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  box-shadow: var(--shadow);
}
body.nm-look .ns-quick-card:hover, body.nm-look .ns-quick-card:focus-visible { border-color: var(--border-strong); box-shadow: var(--glow-cyan); transform: translateY(-6px); }
body.nm-look .ns-quick-num { font-family: var(--font-head); background: linear-gradient(135deg, var(--cyan), var(--purple)); -webkit-background-clip: text; background-clip: text; }
body.nm-look .ns-quick-card strong { font-family: var(--font-head); letter-spacing: 0.5px; }
body.nm-look .ns-quick-card > span:last-child { font-family: var(--font-body); color: var(--muted); }
body.nm-look .ns-panel > .section:first-child { padding-top: clamp(32px, 5vw, 64px); }
.hub-sieger-link { text-align: center; margin-top: 32px; }

/* Ereignisse-Feed innerhalb des Hubs */
body.nm-look .public-events-section[hidden] { display: none; }

/* Sieger-Seite: Abstand zur fixierten Leiste */
body.nm-look:not(.hub-page) main > .section:first-child { padding-top: clamp(120px, 14vw, 170px); }

/* Fixierte Glasleiste ueber dem hellen Hintergrund */
body.nm-look .ns-bar { background: rgba(5, 6, 13, 0.72); border-color: rgba(120, 200, 255, 0.18); }

/* Reduzierte Effekte */
html[data-fx="lite"] body.nm-look .hero-logo { animation: none; filter: none; }
html[data-fx="lite"] body.nm-look .fx-aurora, html[data-fx="lite"] body.nm-look .fx-grid, html[data-fx="lite"] body.nm-look .scanline { display: none !important; }
@media (max-width: 640px) {
  .hub-logos { gap: 6px; }
  .hub-logo-wrap { width: 42vw; height: 42vw; }
}

/* ==========================================================================
   SIEGER — Turniersieger verewigt
   ========================================================================== */
.sg-page { padding: calc(var(--ns-bar-h) + 56px) clamp(18px, 4vw, 40px) 96px; max-width: var(--maxw); margin: 0 auto; }
.sg-page .sg-headline h1 { margin: 16px 0 0; font-family: "Inter", system-ui, sans-serif; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.04em; color: transparent; background: linear-gradient(135deg, #f7f8fc, #a7ebfd 50%, #77e3fd 75%, #57dffd 87.5%, #42dcfc, #23dafc); -webkit-background-clip: text; background-clip: text; }
.sg-page .sg-headline p { margin-top: 20px; max-width: 40rem; color: var(--muted); font-weight: 300; line-height: 1.6; }
.sg-grid { display: grid; gap: 22px; margin-top: 48px; }
@media (min-width: 760px) { .sg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .sg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sg-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow); transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s; }
.sg-card:hover { border-color: var(--border-strong); box-shadow: var(--glow-cyan); }
.sg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.sg-head h3 { margin: 6px 0 0; font-family: var(--font-head); font-size: 1.25rem; letter-spacing: 0.3px; }
.sg-prize { flex: 0 0 auto; text-align: right; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 214, 102, 0.45); background: rgba(255, 214, 102, 0.08); }
.sg-prize span { display: block; font-family: "JetBrains Mono", monospace; font-size: 8px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 214, 102, 0.8); }
.sg-prize strong { font-family: var(--font-head); font-size: 1.05rem; color: #ffd666; }
.sg-players { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sg-player { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); }
.sg-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.sg-player-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sg-player-body strong { font-size: 0.95rem; }
.sg-player-body span { font-family: "JetBrains Mono", monospace; font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.sg-socials { display: flex; gap: 6px; }
.sg-socials a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); color: var(--muted); transition: color 0.3s, border-color 0.3s, box-shadow 0.3s; }
.sg-socials a:hover { color: var(--cyan); border-color: var(--border-strong); box-shadow: var(--glow-cyan); }
.sg-socials svg { width: 13px; height: 13px; fill: currentColor; }
/* Platz 1 traegt die Kachel. Die Ehre liegt im Namen, deshalb bekommt er die
   Groesse - und sonst nichts: kein zweiter Farbkasten, keine Extra-Rahmen.
   Getrennt wird nur durch eine Haarlinie. */
.sg-champ { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.sg-champ-medal { width: 32px; height: 32px; font-size: 12px; }
.sg-champ-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 214, 102, 0.5); flex: 0 0 auto; }
.sg-champ-body { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.sg-champ-name { font-family: var(--font-head); font-size: clamp(1.3rem, 3.2vw, 1.7rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #fff; overflow-wrap: anywhere; }
.sg-champ-role { font-family: "JetBrains Mono", monospace; font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }

/* Team: die Aufstellung steht unter dem Teamnamen. Jedes Mitglied lesbar -
   sie sind der Grund, warum die Kachel existiert. */
.sg-roster { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sg-roster li { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); font-size: 0.8rem; color: #dbe2f0; }
.sg-champ.is-team .sg-champ-avatar { border-radius: 16px; }
.sg-roster-inline { font-size: 0.78rem; color: var(--muted); overflow-wrap: anywhere; }

.sg-note { margin: 0; font-size: 0.85rem; color: var(--muted); }
.sg-empty { grid-column: 1 / -1; padding: 40px; border-radius: var(--radius); border: 1px dashed var(--border); text-align: center; }
.sg-empty h3 { margin: 12px 0 8px; font-family: var(--font-head); }
.sg-empty p { color: var(--muted); }
.sg-page .nc-kicker { font-family: "JetBrains Mono", monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.4em; color: var(--cyan); }
.nc-lb-medal { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font: 700 11px/1 "JetBrains Mono", monospace; color: #05060a; background: #c9ced8; flex: 0 0 auto; }
.nc-lb-medal.m1 { background: linear-gradient(135deg, #ffe27a, #f6b400); box-shadow: 0 0 14px rgba(246, 180, 0, 0.55); }
.nc-lb-medal.m2 { background: linear-gradient(135deg, #f0f2f7, #b9c0cc); }
.nc-lb-medal.m3 { background: linear-gradient(135deg, #e6a877, #b6683a); }
/* Hub: Reiterleiste an die volle Leiste */
body.nm-look .ns-tabs-wrap { padding-top: calc(var(--ns-bar-h) + 6px); }
