/* Next season's own header menu while it is a preview / PTR ("S16" + PTR badge next to "S15").
   Loaded only while the menu is shown (layout.php, PreviewSeasonNav, switch nav_preview_season).
   Red like the old PTR item, so it never reads as the running (green) season. */

.header__nav [data-nav="season-next"] { --nav-slot: 62px; }   /* "S16" + badge + caret at 16px */

.header__nav a.header__nav-ps {
    color: var(--mythic, #ff6b6b);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.header__nav a.header__nav-ps:hover,
.header__nav a.header__nav-ps.active,
.header__nav-dropdown--active a.header__nav-ps {
    color: #ff9a9a;
    background: rgba(255, 107, 107, 0.1);
    text-shadow: 0 0 12px rgba(255, 107, 107, 0.6);
}

.header__nav-ps__badge {
    display: inline-block;
    margin-left: 0.1rem;
    padding: 0.12em 0.35em 0.1em;
    font-size: 0.6em;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: #a50905;
    border: 1px solid rgba(255, 107, 107, 0.55);
    border-radius: 3px;
    text-shadow: none;
    position: relative;
    top: -0.05em;
}

/* the green "New in Season N" entry keeps its look from main.css (.header__nav-dropdown__new) */

/* Docked double bar (nav_split) at 1121–1280px: the long languages have no room for the badge — measured 27.10.2026,
   PL would run 29px under the search button. "S16" stays red; badge and caret come back above 1280px and in the top bar. */
@media (min-width: 1121px) and (max-width: 1280px) {
    :root:is(:lang(pl), :lang(pt), :lang(es), :lang(fr), :lang(it)) .site-header--split.is-stuck .header__nav [data-nav="season-next"] { --nav-slot: 30px; }
    :root:is(:lang(pl), :lang(pt), :lang(es), :lang(fr), :lang(it)) .site-header--split.is-stuck .header__nav-ps__badge,
    :root:is(:lang(pl), :lang(pt), :lang(es), :lang(fr), :lang(it)) .site-header--split.is-stuck .header__nav-ps .header__nav-dropdown__caret { display: none; }
}

/* Docked double bar from 1281px: header-split.css only tightens the spacing up to 1280px; with one more item the long
   languages ran under the search button (PL −48px at 1281, −33px from ~1400px on, where the bar stops growing).
   Same tight spacing as below 1280px for those languages while this menu shows (DE/EN/JA/KO keep ≥ 50px). */
@media (min-width: 1281px) {
    :root:is(:lang(pl), :lang(pt), :lang(es), :lang(it), :lang(fr)) .site-header--split.is-stuck .header__nav {
        gap: 0;
        --nav-pad: 0.45rem;
    }
}
