/* Strayfall Cups – Turnierseite (14.10.2026) */
.t-page main { padding-top: 68px; }
.t-hero { padding: 72px 0 36px; background: radial-gradient(ellipse at 50% 0%, rgba(242, 199, 102, 0.12), transparent 60%); }
.t-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); text-transform: uppercase; }
.t-layout { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 28px; align-items: start; padding-bottom: 64px; }
.t-list { display: grid; gap: 14px; }
.t-card { text-align: left; width: 100%; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); cursor: pointer;
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); color: var(--text); font: inherit; transition: border-color 0.2s, transform 0.2s; }
.t-card:hover { border-color: rgba(242, 199, 102, 0.5); transform: translateY(-2px); }
.t-card.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, 0 12px 30px rgba(0, 0, 0, 0.35); }
.t-card h3 { font-size: 1.6rem; margin-top: 8px; }
.t-card p { color: var(--muted); font-size: 1rem; margin-top: 4px; }
.t-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 700 0.85rem var(--head); text-transform: uppercase; letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.t-badge.t-anmeldung { background: rgba(98, 227, 255, 0.12); color: var(--cyan); }
.t-badge.t-laeuft { background: rgba(255, 70, 70, 0.16); color: #ff7b7b; animation: t-pulse 1.6s ease-in-out infinite; }
.t-badge.t-beendet { background: rgba(242, 199, 102, 0.14); color: var(--gold); }
@keyframes t-pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 70, 70, 0); background: rgba(255, 70, 70, 0.3); } }
.t-detail { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.t-detail-head h2 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3rem); }
.t-descr { color: var(--text); margin-top: 10px; }
.t-start, .t-format { color: var(--muted); margin-top: 6px; }
.t-sub { margin-top: 30px; color: var(--gold); font-size: 1.5rem; }
.t-note { color: var(--muted); }
.t-updated { margin-top: 18px; font-size: 0.9rem; }
.t-champion { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 16px 20px; border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(242, 199, 102, 0.2), rgba(242, 199, 102, 0.02)); border: 1px solid rgba(242, 199, 102, 0.4); }
.t-crown { font-size: 2.6rem; }
.t-champion .kicker { margin: 0; }
.t-champ-name { font: 700 2rem/1 var(--head); text-transform: uppercase; }
.t-table-wrap { overflow-x: auto; margin-top: 12px; }
.t-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.t-table th { text-align: left; font: 700 0.9rem var(--head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t-table td { padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t-table tr.top td { background: rgba(242, 199, 102, 0.05); }
.t-table tr.out td { opacity: 0.5; }
.t-rank { width: 2.5em; font-weight: 700; }
.t-name { font-weight: 700; }
.t-pts { font: 700 1.25rem var(--head); color: var(--gold); }
.t-g { color: var(--muted); text-align: center; }
.t-players { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.t-players li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.t-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.t-game { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.t-game .kicker { margin-bottom: 6px; }
.t-game-row { color: var(--text); font-size: 1rem; }
.t-empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.t-empty-icon { font-size: 3rem; }
.t-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 96px; }
.t-rule-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.t-rule-card h3 { color: var(--gold); margin-bottom: 12px; }
.t-rule-card p { color: var(--muted); margin-top: 10px; }
.t-points { width: 100%; border-collapse: collapse; text-align: center; }
.t-points th { font: 700 0.95rem var(--head); color: var(--muted); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.t-points td { font: 700 1.4rem var(--head); color: var(--gold); padding: 8px 4px; }
.t-discord { margin-top: 16px; }
.nav a[aria-current="page"] { color: var(--gold); opacity: 1; }
@media (max-width: 900px) {
  .t-layout, .t-rules { grid-template-columns: 1fr; }
  .t-detail { padding: 20px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
}
/* noch keine Turniere: Hinweis mittig über die volle Breite */
.t-layout:has(.t-empty) { grid-template-columns: 1fr; }
.t-layout:has(.t-empty) .t-empty { max-width: 640px; margin: 0 auto; width: 100%; }
