/* ==========================================================================
   home.css – Startseite (index.php): ruhiges Kopfbild, Zahlenzeile,
   „Latest sightings“, Ranglisten der letzten 24 h, Linkliste.
   ========================================================================== */
.home .section-heading { margin-top: 8px; }
.home .stats-grid + .section-heading { margin-top: 36px; }
.live-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 10px var(--green); margin-right:8px; }
.ha-seen { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; margin:18px 0 22px; }
.ha-card { display:grid; gap:6px; padding:15px 15px 13px; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:inherit; text-decoration:none; min-width:0; transition:border-color .15s; }
.ha-card:hover { border-color:rgba(57,217,245,.5); }
.ha-top { display:flex; align-items:center; gap:2px; min-width:0; }
.ha-top strong { font-size:17px; letter-spacing:.01em; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ha-top em { margin-left:auto; font-style:normal; font-size:10px; font-weight:700; color:var(--cyan); border:1px solid color-mix(in srgb, var(--cyan) 40%, transparent); border-radius:6px; padding:2px 5px; }
.ha-type { font-size:12px; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ha-owner { font-size:11px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ha-foot { display:flex; justify-content:space-between; gap:6px; margin-top:4px; padding-top:9px; border-top:1px dashed var(--line); font-size:11px; color:var(--muted); }
.ha-foot b { color:var(--text); font-weight:600; font-variant-numeric:tabular-nums; }
.ha-foot b.none { color:var(--muted); font-weight:400; }
.ha-tops { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ha-top-panel { border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); padding:18px 20px 10px; }
.ha-top-panel header { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:8px; }
.ha-top-panel h3 { margin:0; font-size:15px; }
.ha-top-panel small { color:var(--muted); font-size:11px; }
.ha-top-panel ol { list-style:none; margin:0; padding:0; }
.ha-top-panel li a { display:grid; grid-template-columns:22px minmax(0,1.4fr) 1fr 48px; gap:12px; align-items:center; padding:9px 0; border-top:1px solid var(--line); color:inherit; text-decoration:none; font-size:13px; }
.ha-top-panel li:first-child a { border-top:0; }
.ha-top-panel li a:hover .name { color:var(--cyan); }
.ha-top-panel .rank { color:var(--muted); font-size:11px; font-weight:700; }
.ha-top-panel .name { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ha-top-panel .bar { height:6px; border-radius:6px; background:color-mix(in srgb, var(--line) 70%, transparent); overflow:hidden; }
.ha-top-panel .bar i { display:block; height:100%; border-radius:6px; background:linear-gradient(90deg, var(--cyan-2), var(--cyan)); }
.ha-top-panel .n { text-align:right; font-variant-numeric:tabular-nums; color:var(--muted); font-size:12px; }
@media (max-width:1240px){ .ha-seen{ grid-template-columns:repeat(3,1fr);} }
@media (max-width:820px){ .ha-tops{ grid-template-columns:1fr;} }
@media (max-width:650px){ .ha-seen{ grid-template-columns:1fr 1fr; gap:10px;} .ha-card{padding:12px;} .ha-top strong{font-size:15px;} .ha-top-panel li a{grid-template-columns:18px minmax(0,1fr) 70px 40px; gap:8px;} }
.he-hero { height:500px; }
.he-hero .hero-content { left:50%; transform:translate(-50%,-50%); width:min(760px, 92vw); max-width:none; text-align:center; }
.he-hero .hero-overlay { background:radial-gradient(ellipse 70% 80% at 50% 50%, rgba(5,13,25,.9), rgba(5,13,25,.6) 70%), linear-gradient(0deg, var(--bg), transparent 35%); }
.he-hero h1 { font-size:clamp(34px, 4.2vw, 56px); margin:14px 0 26px; }
.he-hero .global-search { margin-top:0; text-align:left; }
.he-line { max-width:none !important; display:flex; flex-wrap:wrap; justify-content:center; gap:6px 0; margin:22px auto 0; font-size:14px !important; color:var(--muted) !important; }
.he-line > * { padding:0 14px; border-left:1px solid rgba(255,255,255,.14); color:inherit; text-decoration:none; }
.he-line > :first-child { border-left:0; }
.he-line b { color:var(--text); font-variant-numeric:tabular-nums; margin-right:4px; }
.he-line a b { color:var(--green); } .he-line a:hover { color:var(--text); }
.he-wrap { max-width:1100px; padding-top:20px; }
.he-links { display:grid; grid-template-columns:1fr 1fr; column-gap:48px; }
.he-links a { display:grid; grid-template-columns:28px 1fr 20px; gap:16px; align-items:center; padding:20px 4px; border-bottom:1px solid var(--line); color:inherit; text-decoration:none; }
.he-links a > svg:first-child { width:24px; height:24px; color:var(--cyan); }
.he-links strong { display:block; font-size:16px; }
.he-links small { display:block; margin-top:3px; font-size:13px; color:var(--muted); }
.he-links .go { color:var(--muted); }
.he-links a:hover strong, .he-links a:hover .go { color:var(--cyan); }
:root[data-theme="light"] .he-hero .hero-overlay { background:radial-gradient(ellipse 70% 80% at 50% 50%, rgba(243,246,250,.92), rgba(243,246,250,.62) 70%), linear-gradient(0deg, var(--bg), transparent 35%); }
:root[data-theme="light"] .he-line > * { border-left-color:var(--field-line); }
@media (max-width:650px){
  .he-hero { height:520px; } .he-hero .hero-content { width:calc(100vw - 32px); top:50%; }
  .he-hero h1 { font-size:36px; }
  .he-line { display:grid; grid-template-columns:1fr 1fr; gap:10px; text-align:left; }
  .he-line > * { border-left:0; padding:0; } .he-line b { display:block; font-size:18px; }
  .he-links { grid-template-columns:1fr; } .he-links a { padding:16px 2px; }
}
/* Abstände Startseite */
.home .he-wrap { max-width:1380px; }
.home .he-links { margin-top:10px; }
.home .ha-tops { margin-bottom:40px; }

/* ---------- Trending (Startseite + trending.php) ---------- */
.ha-card .ha-views { color: var(--cyan); font-weight: 700; }
.tr-list { list-style: none; margin: 0; padding: 6px; }
.tr-list li {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(80px, 200px) 96px; gap: 14px; align-items: center;
  padding: 10px 14px; border-radius: 12px;
}
.tr-list li:hover { background: var(--surface-2); }
.tr-rank { color: var(--muted); font-weight: 800; text-align: right; }
.tr-list li:nth-child(-n+3) .tr-rank { color: var(--cyan); font-size: 18px; }
.tr-main { display: grid; gap: 2px; min-width: 0; color: var(--text); text-decoration: none; }
.tr-main strong { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.tr-main span, .tr-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-main span { font-size: 13px; }
.tr-main small { color: var(--muted); }
.tr-main:hover strong { color: var(--cyan); }
.tr-bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.tr-bar i { display: block; height: 100%; background: var(--cyan); border-radius: 4px; }
.tr-views { text-align: right; color: var(--muted); font-size: 13px; }
.tr-views b { color: var(--text); font-size: 15px; }
.tr-note { margin-top: 18px; }
@media (max-width: 650px) {
  .tr-list li { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; }
  .tr-bar { display: none; }
}
