/* ============================================================================
   KILLINFLUENCER — Layout
   Seitenrahmen: Satire-Band, Kopfzeile, Navigation, Statistikleiste,
   Live-Ticker, Footer und die Grundraster (Karten, Split, Detail).
   ========================================================================== */

/* ------------------------------ Urteils-Band ------------------------------ */
.topbar-ribbon {
    background: repeating-linear-gradient(45deg, var(--gold) 0 14px, var(--on-deep) 14px 28px);
    color: var(--on-deep);
    font-size: .8rem; font-weight: 700; letter-spacing: .03em;
    padding: .45rem 0;
    display: flex; gap: var(--space-2); justify-content: center; align-items: center;
    flex-wrap: wrap; text-align: center;
}
.topbar-ribbon strong {
    background: var(--on-deep); color: var(--gold);
    padding: .1rem .5rem; border-radius: 4px; letter-spacing: .18em;
}
.topbar-ribbon span { background: rgb(255 255 255 / .74); padding: .05rem .6rem; border-radius: 4px; }

/* --------------------------------- Topbar --------------------------------- */
.topbar {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px);
    background: rgb(8 8 10 / .88);
    border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 1.2rem; padding: .85rem 0; position: relative; }

.logo {
    display: flex; flex-direction: column; line-height: 1.05;
    font-family: var(--mono); font-weight: 800; letter-spacing: -.03em;
    font-size: clamp(1.05rem, 2.2vw, 1.4rem); white-space: nowrap;
}
.logo__kill { color: var(--kill); text-shadow: var(--glow-kill); }
.logo__inf  { color: var(--text); }
.logo__claim {
    margin-top: .15rem;
    font-family: var(--sans); font-size: .58rem; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}

/* Die Navigation darf nicht schrumpfen: entweder sie passt vollständig,
   oder der Burger übernimmt (siehe responsive.css). Die Beschriftungen sind
   mit der Pranger-Sprache länger geworden („Halle der Hingerichteten“). */
.nav {
    margin-left: auto; display: flex; align-items: center;
    gap: .72rem; font-size: .86rem; font-weight: 600;
    flex-wrap: nowrap; flex-shrink: 0;
}
.nav a { color: var(--text); opacity: .85; white-space: nowrap; }
.nav a:hover, .nav a.is-active { opacity: 1; color: var(--love); }
.nav a.is-active { text-decoration: underline; text-underline-offset: 6px; }
.nav__tag {
    font-family: var(--mono); font-size: .6rem; letter-spacing: .1em;
    background: var(--kill); color: var(--on-kill); padding: .08rem .35rem; border-radius: 4px; vertical-align: middle;
}
.nav__cta {
    border: 1px solid var(--kill); color: var(--kill) !important;
    padding: .32rem .7rem; border-radius: var(--radius-pill); opacity: 1 !important;
}
.nav__cta:hover { background: var(--kill); color: var(--on-kill) !important; }
.nav-toggle {
    display: none; margin-left: auto;
    background: transparent; color: var(--text);
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: .4rem .7rem; font-weight: 700; cursor: pointer;
}

/* ------------------------------- Statstrip -------------------------------- */
.statstrip { border-top: 1px solid var(--line); background: rgb(0 0 0 / .35); }
.statstrip__inner { display: flex; gap: 1.6rem; flex-wrap: wrap; padding: .55rem 0; font-family: var(--mono); }
.stat { display: flex; flex-direction: column; line-height: 1.15; }
.stat__label { font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.stat__value { font-size: .95rem; font-weight: 700; }
.stat__value--love { color: var(--love); }
.stat__value--kill { color: var(--kill); }
.stat__value--dead { color: var(--dead); }

/* Konto-Bereich rechts in der Statistikleiste */
.statstrip__account { margin-left: auto; display: flex; gap: var(--space-1); align-items: center; }
.userchip {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--panel-2);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    padding: .18rem .7rem;
    font-family: var(--mono); font-size: .8rem; color: var(--text);
}
.userchip:hover { border-color: var(--love); color: var(--love); text-decoration: none; }
.userchip__name { font-weight: 700; }
.userchip__balance { color: var(--love); font-weight: 800; }
.userchip:hover .userchip__balance { color: inherit; }

/* -------------------------------- Grundraster ----------------------------- */
.grid-cards {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.detail__head,
.split {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: 1.65fr 1fr;
    align-items: start;
}
.detail__head { margin-top: var(--space-3); }

.hero--split {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
}

/* ------------------------------ Seiten-Bausteine -------------------------- */
.breadcrumb { font-size: .76rem; margin: var(--space-3) 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--love); }

/* --------------------------------- Ticker --------------------------------- */
.ticker {
    display: flex; align-items: stretch; overflow: hidden;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: var(--surface-tape);
}
.ticker__label {
    display: flex; align-items: center; white-space: nowrap;
    background: var(--love); color: var(--love-contrast);
    font-family: var(--mono); font-weight: 800; font-size: .72rem; letter-spacing: .2em;
    padding: .7rem 1rem;
    animation: ticker-pulse 1.6s ease-in-out infinite;
}
@keyframes ticker-pulse { 50% { opacity: .6; } }
.ticker__viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker__track {
    display: flex; gap: var(--space-5); white-space: nowrap;
    padding-left: var(--space-4);
    animation: ticker-scroll 70s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker__item { font-size: .83rem; color: var(--text-dim); }
.ticker__item strong { font-family: var(--mono); color: var(--text); }
.ticker__item em { font-style: normal; font-weight: 700; }
.ticker__time { color: var(--muted); font-family: var(--mono); font-size: .72rem; }

/* --------------------------------- Footer --------------------------------- */
.footer { border-top: 1px solid var(--line); background: var(--surface-deep); margin-top: var(--space-5); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding: var(--space-5) 0 var(--space-4); }
.footer__title { font-size: .78rem; letter-spacing: .16em; color: var(--muted); }
.footer p { color: var(--text-faint); font-size: .87rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); font-size: .87rem; }
.footer__list a { color: var(--text-soft); }
.footer__list a:hover { color: var(--love); }
.footer__list--mono { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.footer__bottom {
    display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding: var(--space-3) 0 var(--space-5);
    font-family: var(--mono); font-size: .74rem; color: var(--muted);
}
