/* PLACE YOU CUSTOM STYLES IN THIS FILE */

/* nk-label badge */
.nk-label {
    display: inline-block;
    padding: 2px 10px;
    font-size: .78rem;
    font-weight: 600;
    color: #fff;
    background-color: #293139;
    border-radius: 4px;
    white-space: nowrap;
    vertical-align: middle;
}

.nk-label-xs {
    padding: 1px 7px;
    font-size: .7rem;
}

/* Kommentszám badge a képeken */
.nk-post-comments-count {
    background-color: #fff !important;
    color: var(--ws-bg) !important;
}
.nk-post-comments-count::after {
    border-top-color: #fff !important;
}

/* Kommentszám link a news-box dátum sorában */
.nk-news-box-item-date a {
    color: inherit !important;
}

/* ==========================================================================
   Színtokenek (lásd DESIGN.md). WoWS-alapú paletta, minden arány a
   contrast-check.py szkripttel mérve a legvilágosabb felületre (#2F4257) is.
   ========================================================================== */
:root {
    /* Tengerkék rétegek (worldofwarships.eu alapszíne és árnyalatai). */
    --ws-bg: #1c2531;
    --ws-surface: #213040;
    --ws-surface-2: #263749;
    --ws-surface-3: #2f4257;
    --ws-nav: #0f161f;
    --ws-topbar: #0b1118;
    /* Szöveg a WoWS logikája szerint: cím fehér, törzsszöveg fehér 80%, másodlagos 64%. */
    --ws-text-strong: #ffffff;
    --ws-text: #d0d4d9;        /* 6.92:1 a legvilágosabb felületen */
    --ws-text-muted: #a9aeb5;  /* 4.62:1 a legvilágosabb felületen */
    --ws-text-soft: #d0d4d9;
    --ws-link: #d0d4d9;        /* sima link: mint a szöveg; tartalomban aláhúzva */
    /* Halvány türkiz: csak cikk- és kártyacímek, kiemelt szó (WoWS --highlight-light). */
    --ws-title: #b8eff1;
    /* Sötét türkiz: vonalak, aktív aláhúzás, fókusz keret mellett (WoWS --highlight). */
    --ws-line: #00b4b9;
    /* Régi név, a nézetekben használt kiemelésekhez: halvány türkiz. */
    --ws-accent-text: #b8eff1;
    --ws-accent-hover: #ffffff;
    --ws-accent: #00b4b9;
    --ws-tag: #156a74;
    /* Fő gomb: égetett narancs, fehér felirattal (5,2–5,7:1). A világosabb #f56914-en a fehér csak 3:1 volt. */
    --ws-cta-from: #c2410c;
    --ws-cta-to: #b83d0a;
    --ws-cta-text: #ffffff;
    --ws-cta-edge: #8a2d07;
    --ws-decor: #3a4d63;
    --ws-divider: rgba(255, 255, 255, .12);
    --ws-gold: #ffbe4c;
    --ws-win-bg: #2b7a17;
    --ws-loss-bg: #c0281a;
    --ws-negative-text: #ff8a80;
    --ws-focus: #ffd34d;
}

body { color: var(--ws-text); }
.nk-post-date,
.nk-twitter .nk-twitter-date,
.text-muted { color: var(--ws-text-muted) !important; }

/* Kiemelt szó: halvány türkiz. Aktív menüpont: fehér, alatta türkiz vonal. */
.text-main-1 { color: var(--ws-title) !important; }
.nk-navbar .nk-nav li.active > a { color: var(--ws-text-strong) !important; }

/* Címek fehérek, cikk- és kártyacímek halvány türkizek (mint a WoWS hírkártyái). */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--ws-text-strong); }
.nk-post-title > a,
.nk-post-title,
.nk-news-box-item-title,
.nk-widget-post .nk-post-title > a,
.nk-forum > li .nk-forum-title > h2 > a,
.nk-forum-topic-title a { color: var(--ws-title); }

/* Linkek folyó szövegben: aláhúzva, hogy a szövegtől elváljanak. */
.nk-post-text a, .nk-forum-topic-content a, .nk-post-text p a, article p a {
    color: var(--ws-title);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Hover: fehér (a WoWS oldalán is így). */
a:hover,
.nk-navbar .nk-nav li > a:hover,
.nk-navbar .nk-nav li > a.hover,
.nk-post-title > a:hover,
.nk-post-date a:hover,
.nk-contacts-icons > li > a:hover,
.nk-pagination a:hover,
.nk-match .nk-match-team-left > a:hover,
.nk-match .nk-match-team-right > a:hover,
.nk-match .nk-match-status > a:hover {
    color: var(--ws-text-strong) !important;
}
/* Sötét türkiz és narancs felületen nem lehet türkiz a szöveg. */
.bg-main-1, .bg-main-1 a, .bg-main-1 .text-main-1,
.nk-badge,
.nk-tabs .nav-tabs .nav-link.active,
.nk-table thead, .nk-table thead th { color: #fff !important; }
.nk-btn-color-main-1, .nk-btn-color-main-1 .text-main-1,
.nk-btn-color-main-1:hover, .nk-btn-hover-color-main-1:hover { color: var(--ws-cta-text) !important; }
.nk-btn-color-main-1:hover, .nk-btn-hover-color-main-1:hover { filter: brightness(1.08); }
.nk-btn-color-main-1:active { filter: brightness(.95); }

/* Eredmény badge-ek */
.nk-match-score.bg-success { background-color: var(--ws-win-bg) !important; }
.nk-match-score.bg-danger  { background-color: var(--ws-loss-bg) !important; }

/* Látható fókusz billentyűzethez. A téma kinullázta (goodgames.css 7094. sor). */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
.form-control:focus-visible {
    outline: 3px solid var(--ws-focus) !important;
    outline-offset: 2px;
    box-shadow: none;
}

/* Kattintható elemek jelzése */
a[href], button:not([disabled]), summary, select, label[for], [role="button"] { cursor: pointer; }
button[disabled], .disabled { cursor: not-allowed; }

/* Csak képernyőolvasónak látható szöveg */
.ws-sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* Monogramos avatar (a téma demó-portréja helyett) */
.ws-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--ws-surface-3);
    color: var(--ws-text-strong);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50%;
    line-height: 1;
    user-select: none;
}

/* Borítókép nélküli cikk: semleges felület a WoWS Hungary felirattal */
.ws-cover-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--ws-surface);
    color: var(--ws-text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Slider szünet gomb */
.ws-slider-wrap { position: relative; }
.ws-slider-pause {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .7);
    color: #fff;
}
.ws-slider-pause:hover { background: rgba(0, 0, 0, .9); }
.ws-slider-pause:active { transform: scale(.95); }

/* Érintési célok mobilon: legalább 44px */
@media (max-width: 991px) {
    .nk-social-links > li > a,
    .nk-social-links-2 > li > a,
    .nk-social-links-3 > li > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
    .nk-contacts-icons > li > a,
    .nk-contacts-icons > li > form > button {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    .nk-pagination a,
    .nk-breadcrumbs > li a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Logó mobilon: a téma 420px alatt elrejti (goodgames.css 3236. sor), így az oldalon sehol nem látszott a név. */
@media (max-width: 420px) {
    .nk-navbar.nk-navbar-top .nk-nav-logo { display: table-cell; }
    .nk-navbar.nk-navbar-top .nk-nav-logo span { font-size: 1.25rem !important; }
    .nk-navbar.nk-navbar-top .nk-nav-logo img { max-width: 150px; height: auto; }
}


/* Érintési célok mobilon, 2. kör: gombok, hamburger, logó, kártyacímek. */
@media (max-width: 991px) {
    .nk-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .nk-btn-block { display: flex; }
    .nk-navbar .nk-nav-icons .single-icon > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
    .nk-navbar.nk-navbar-top .nk-nav-logo > span,
    .nk-navbar.nk-navbar-top .nk-nav-logo > img { display: inline-block; padding: 6px 0; }
    .nk-feature-title > a,
    .nk-post-title > a,
    .nk-widget-post .nk-post-title > a,
    .nk-news-box-item-more,
    .nk-news-box-item-url {
        display: inline-block;
        min-height: 44px;
        padding: 10px 0;
    }
}
@media (max-width: 991px) {
    .nk-sidebar .nk-widget-content a:not(.nk-btn):not(.nk-post-image):not([aria-label]) {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        min-width: 44px;
    }
    .nk-news-box-item-date a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
    .ws-partner-logo { min-height: 44px; }
}

/* Érintési célok mobilon, 3. kör: fülek és szűrőgombok más oldalakon. */
@media (max-width: 991px) {
    .nav-tabs .nav-link,
    .nav-pills .nav-link,
    .clan-tab-btn,
    .t-tab-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}
@media (max-width: 991px) {
    a.ws-tap { display: inline-flex !important; align-items: center; min-height: 44px; }
    .nk-pagination a, .nk-pagination > span, .nk-pagination nav > a { min-width: 44px; justify-content: center; }
}
@media (max-width: 991px) { .nk-pagination .nk-pagination-current { min-width: 44px; box-sizing: border-box; } }

/* ==========================================================================
   Fő menü (a felhasználó kérésére)
   ========================================================================== */
/* Egy sorban marad: 992-1199px között a 7 pont 18px-es paddinggel nem fért el, a "Rólunk" új sorba esett. */
.ws-main-nav { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199px) {
    .nk-navbar .ws-main-nav > li > a { padding-left: 10px; padding-right: 10px; }
}

/* Aktív pont: a szín mellett aláhúzás is (nem csak színnel jelzett állapot). 7.13:1 a navbar hátterén (sötét türkiz). */
.nk-navbar .ws-main-nav > li.active > a { box-shadow: inset 0 -3px 0 var(--ws-line); }

/* Legördülő: tömör háttér, közvetlenül a menüpont alatt; árnyék, mert fotó fölé nyílik. */
.nk-navbar .ws-main-nav .dropdown {
    margin-top: 0;
    margin-left: 0;
    background-color: var(--ws-nav);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
    white-space: normal;
    text-align: left;
}
.nk-navbar .ws-main-nav .nk-drop-item > a::after { content: " \25BE"; }
/* Billentyűzettel is nyíljon (a téma csak egérre nyitotta). */
.nk-navbar .ws-main-nav .nk-drop-item:focus-within > .dropdown { display: block !important; opacity: 1 !important; visibility: visible !important; }

/* Olvasatlan értesítés jelvény a Fórum menüponton */
.ws-nav-badge {
    position: absolute;
    top: -4px;
    right: -2px;
    min-width: 18px;
    padding: 1px 5px;
    border-radius: 9px;
    background: #c8a84b;
    color: #111;
    font-size: .65em;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

/* Mobil menü: az aktív pont itt is jelölve. */
.nk-navbar-side .nk-nav li.active > a { color: var(--ws-text-strong) !important; box-shadow: inset 3px 0 0 var(--ws-line); }
/* Csak az asztali legördülőben flex: mobilon a téma almenüje maga dönt a megjelenítésről
   (inline display:flex esetén rácsúszott a Főoldal pontra). */
.nk-navbar-top .ws-myclan-link { display: flex; align-items: center; gap: 6px; }

/* Negatív állapot szövegként (vereség, törlés, hiba) sötét felületen: a régi pirosak 3.2-4.1:1 voltak. */
.text-danger { color: var(--ws-negative-text) !important; }

/* Hírdoboz: a bal oldali lista elemei a cikkre visznek (a cím linkje az egész sort lefedi). */
.nk-news-box .nk-news-box-item { position: relative; cursor: pointer; }
.nk-news-box .nk-news-box-list .ws-news-link { color: inherit; text-decoration: none; }
.nk-news-box .nk-news-box-list .ws-news-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nk-news-box .nk-news-box-list .ws-news-comments { position: relative; z-index: 2; }
.nk-news-box .nk-news-box-list .ws-news-link:focus-visible { outline: none; }
.nk-news-box .nk-news-box-list .nk-news-box-item:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: -3px; }
/* Az előnézetbe átmásolt cím is link marad, ott nem kell a teljes doboz lefedése. */
.nk-news-box .nk-news-box-each-info .ws-news-link { color: inherit; }

/* ==========================================================================
   Kezdőlap (öt blokk). Dial: ENERGY 2 / RHYTHM 2 / MOTION 1.
   RHYTHM 2: a blokkok szerkezete eltér (teljes szélességű nyitókép, 1+3 hírrács,
   5/7 és 7/5 oszlopos párok, partnersáv), hogy ne egy sablon ismétlődjön.
   ========================================================================== */
.ws-home-section { margin-top: 56px; }
.ws-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--ws-divider);
}
.ws-section-title { margin: 0; font-size: 1.6rem; color: var(--ws-text-strong); }
.ws-section-title--center { text-align: center; margin-bottom: 24px; }
.ws-section-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ws-text);
    font-family: var(--ws-font-display);
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ws-section-link:hover { color: var(--ws-text-strong); text-decoration: underline; }
.ws-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ws-block-title { margin: 0 0 12px; font-size: 1.05rem; color: var(--ws-text-strong); }
.ws-block-head .ws-block-title { margin: 0; }
.ws-meta { margin: 0; color: var(--ws-text-muted); font-size: .85rem; }
.ws-note { margin-top: 12px; }

/* Az egész kártya vagy sor kattintható: a cím linkje lefedi a szülőt. */
.ws-stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ws-stretched:focus-visible { outline: none; }

/* 1. Nyitókép: egy fókusz, egy üzenet. A sötét átmenet a szöveg olvashatóságát
   biztosítja a fotó bármely részén (a szöveg mögött legalább 92% sötét). */
.ws-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 440px;
    margin-top: 24px;
    overflow: hidden;
    background: var(--ws-surface);
    border-bottom: 3px solid var(--ws-line);
}
.ws-hero-media { position: absolute; inset: 0; }
.ws-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ws-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 22, 31, .94) 0%, rgba(15, 22, 31, .92) 42%, rgba(15, 22, 31, .35) 75%, rgba(15, 22, 31, .1) 100%);
}
.ws-hero-body { position: relative; z-index: 1; max-width: 560px; padding: 48px; }
.ws-hero-state {
    margin: 0 0 12px;
    color: var(--ws-gold);
    font-family: var(--ws-font-display);
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ws-hero-title { margin: 0 0 16px; font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.15; color: var(--ws-text-strong); }
.ws-hero-text { margin: 0 0 28px; color: var(--ws-text); font-size: 1.05rem; line-height: 1.6; }
.ws-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ws-hero-actions .nk-btn { min-height: 48px; padding-left: 28px; padding-right: 28px; }

/* Másodlagos gomb: körvonalas, a narancs mellett nem versenyez a figyelemért. */
.ws-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, .45);
    color: var(--ws-text-strong);
    font-family: var(--ws-font-display);
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: background-color .15s, border-color .15s;
}
.ws-btn-ghost:hover { color: var(--ws-text-strong) !important; border-color: #fff; background: rgba(255, 255, 255, .08); }
.ws-btn-ghost:active { background: rgba(255, 255, 255, .14); }
.ws-block-cta { margin-top: 16px; }

/* 2. Hírrács: egy kiemelt bal oldalt, három kisebb jobbra. */
.ws-news-grid { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: auto; gap: 16px; }
.ws-news-card { position: relative; background: var(--ws-surface); transition: background-color .15s; }
.ws-news-card:hover { background: var(--ws-surface-2); }
.ws-news-card:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
.ws-news-card--lead { grid-row: span 3; display: flex; flex-direction: column; }
.ws-news-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.ws-news-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ws-news-card-body { padding: 16px 18px 18px; }
.ws-news-card--lead .ws-news-card-body { padding: 22px 24px 26px; }
.ws-news-card-title { margin: 6px 0 0; font-size: 1rem; line-height: 1.35; text-transform: none; }
.ws-news-card--lead .ws-news-card-title { font-size: 1.5rem; }
.ws-news-card-title a { color: var(--ws-title); }
.ws-news-card:hover .ws-news-card-title a { color: var(--ws-text-strong); }
.ws-news-card-text { margin: 12px 0 0; color: var(--ws-text); line-height: 1.6; }
/* A kisebb kártyák vízszintesek: kép balra, szöveg jobbra. */
.ws-news-card:not(.ws-news-card--lead) { display: grid; grid-template-columns: 160px 1fr; align-items: center; column-gap: 14px; padding: 12px; }
.ws-news-card:not(.ws-news-card--lead) .ws-news-card-body { padding: 0; }
/* Asztalon a három kis kártya egyenlő magasságban kitölti a kiemelt hír mellett a helyet: a teteje és az alja is egy vonalban van vele. */
@media (min-width: 992px) {
    .ws-news-grid { grid-template-rows: repeat(3, 1fr); }
}
/* A kis hírképek is 16:9-esek (eddig a kártya magasságát töltötték ki, és közel négyzetesre vágódtak). */
.ws-news-card:not(.ws-news-card--lead) .ws-news-card-media { aspect-ratio: 16 / 9; height: auto; }
.ws-news-card:not(.ws-news-card--lead) .ws-news-card-media .ws-tag { display: none; }
.ws-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 8px;
    background: var(--ws-tag);
    color: #fff;
    font-family: var(--ws-font-display);
    font-weight: 700;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* 3-4. Sor- és listakártyák */
.ws-row-card {
    position: relative;
    padding: 16px 18px;
    margin-bottom: 12px;
    background: var(--ws-surface);
    transition: background-color .15s;
}
.ws-row-card:hover { background: var(--ws-surface-2); }
.ws-row-card:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
.ws-row-card-title { margin: 4px 0 6px; font-size: 1.05rem; text-transform: none; }
.ws-row-card-title a { color: var(--ws-title); }
.ws-row-card:hover .ws-row-card-title a { color: var(--ws-text-strong); }
.ws-state { font-family: var(--ws-font-display); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.ws-state--registration { color: var(--ws-gold); }
.ws-state--ongoing { color: #8fe3a0; }
.ws-state--upcoming { color: var(--ws-title); }

.ws-list { list-style: none; margin: 12px 0 0; padding: 0; }
.ws-list-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 8px;
    border-bottom: 1px solid var(--ws-divider);
    transition: background-color .15s;
}
.ws-list-item:hover { background: var(--ws-surface); }
.ws-list-item:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: -3px; }
.ws-list-title { color: var(--ws-title); font-weight: 600; }
.ws-list-item:hover .ws-list-title { color: var(--ws-text-strong); }
.ws-clan { flex-direction: row; align-items: center; gap: 12px; }
.ws-clan-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ws-clan-logo { width: 40px; height: 40px; flex-shrink: 0; object-fit: cover; }
.ws-clan-logo--tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-surface-3);
    color: var(--ws-text-strong);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: .8rem;
}
.ws-recruiting { color: var(--ws-gold); }

/* Üres állapot: mi a helyzet, és hova lehet továbblépni. */
.ws-empty { padding: 20px; border: 1px dashed var(--ws-decor); color: var(--ws-text); }
.ws-empty p { margin: 0 0 4px; }

/* 5. Partnersáv */
.ws-partners { margin-top: 64px; padding: 36px 0; background: var(--ws-surface); }
.ws-partners-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; }
.ws-partner-logo { display: flex; align-items: center; justify-content: center; min-width: 120px; min-height: 60px; padding: 12px 20px; background: rgba(255, 255, 255, .05); }
.ws-partner-logo img { max-height: 60px; max-width: 150px; width: auto; height: auto; object-fit: contain; }

@media (max-width: 991px) {
    .ws-news-grid { grid-template-columns: 1fr; }
    .ws-news-card--lead { grid-row: auto; }
    .ws-hero { min-height: 0; }
    .ws-hero-media::after { background: rgba(15, 22, 31, .86); }
    .ws-hero-body { padding: 32px 20px; }
    .ws-home-section { margin-top: 40px; }
}
@media (max-width: 575px) {
    .ws-news-card:not(.ws-news-card--lead) { grid-template-columns: 120px 1fr; }
    .ws-section-title { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ws-news-card, .ws-row-card, .ws-list-item, .ws-btn-ghost { transition: none; }
}

/* Kezdőlap finomítások (ellenőrzés után) */
/* Kis hírkártyák: kép csak valódi borítóval; anélkül teljes szélességű szöveg. */
@media (min-width: 992px) { .ws-news-grid { grid-template-columns: 1.6fr 1fr; } }
.ws-news-card--text { display: block !important; }
.ws-tag--inline { position: static; display: inline-block; margin-bottom: 6px; }
/* A helyettesítő kép felirata ne vágódjon le, ha a keret aránya eltér. */
.ws-placeholder-img { object-fit: contain !important; background: var(--ws-surface); }
/* Meccssor: a téma flex-wrap-je a csapatnevet és a logót két sorba törte szűk oszlopban. */
.nk-match .nk-match-team-left > *,
.nk-match .nk-match-team-right > * { flex-wrap: nowrap; }
.nk-match .nk-match-team-name { min-width: 0; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.nk-match .nk-match-team-right > * { justify-content: flex-end; text-align: right; }
/* Kezdőlapi meccsoszlop szűkebb: kisebb logó és betű, hogy a csapatnév szó közben ne törjön. */
.ws-home-section .nk-match .nk-match-team-logo,
.ws-home-section .nk-match .nk-match-team-logo img,
.ws-home-section .nk-match .nk-match-team-logo > div { width: 40px !important; height: 40px !important; flex-shrink: 0; }
.ws-home-section .nk-match .nk-match-team-name { font-size: .78rem; line-height: 1.3; padding-left: 10px; padding-right: 10px; }
.ws-home-section .nk-match .nk-match-team-left > a,
.ws-home-section .nk-match .nk-match-team-right > a { min-height: 44px; }

/* Oldalsáv és lábléc hírcímei: normál írásmód (mint a WoWS kártyacímei), mert csupa
   nagybetűvel a hosszú magyar szavak a 132px széles oszlopban szó közben törtek. */
.nk-widget-post .nk-post-title,
.nk-widget-post-2 .nk-post-title {
    text-transform: none;
    font-size: .95rem;
    line-height: 1.35;
    hyphens: auto;
}

/* Nyitókép-karusszel: a diák egymáson, egyszerre egy látszik (halványuló váltás). */
.ws-hero { display: block; }
.ws-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, visibility 0s linear .5s;
}
.ws-hero-slide.is-active {
    position: relative;
    min-height: 440px;
    opacity: 1;
    visibility: visible;
    transition: opacity .5s ease;
}
.ws-hero-body { padding-bottom: 76px; }
.ws-hero-controls {
    position: absolute;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ws-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(15, 22, 31, .75);
    color: #fff;
}
.ws-hero-btn:hover { background: rgba(15, 22, 31, .95); border-color: #fff; }
.ws-hero-btn:active { transform: scale(.95); }
.ws-hero-dots { display: flex; }
/* 44px-es érintési cél, benne 10px-es pötty; az aktív türkiz és hosszabb (nem csak szín). */
.ws-hero-dot {
    position: relative;
    width: 32px;
    height: 44px;
    border: 0;
    background: transparent;
}
.ws-hero-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
}
.ws-hero-dot[aria-current="true"]::before { width: 22px; margin-left: -11px; border-radius: 5px; background: var(--ws-line); border-color: var(--ws-line); }
.ws-hero-dot:hover::before { background: rgba(255, 255, 255, .5); }
@media (max-width: 991px) {
    .ws-hero-slide.is-active { min-height: 0; }
    .ws-hero-body { padding-bottom: 80px; }
    .ws-hero-controls { left: 12px; right: 12px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .ws-hero-slide, .ws-hero-slide.is-active { transition: none; }
}
/* Pöttyök: 44px széles érintési cél, sötét háttér, hogy világos fotón is látszódjanak. */
.ws-hero-dot { width: 44px; }
.ws-hero-dots { background: rgba(15, 22, 31, .75); border: 1px solid rgba(255, 255, 255, .3); border-left: 0; border-right: 0; height: 44px; }
/* A nyitókép a .container belsejében van (nem maga a container), így a széle a navbar
   logójával és a hírráccsal egy vonalba esik, és nincs körülötte keret a belső margóból. */

/* Karusszel vezérlők v2: a kép alatt, középen, keret és háttér nélkül (a worldofwarships.eu
   lapozóinak mintájára). Felülírja a korábbi, képre tett dobozos vezérlőket. */
.ws-hero-body { padding-bottom: 48px; }
.ws-hero-controls {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 8px;
}
.ws-hero-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .8);
    transition: color .15s;
}
.ws-hero-arrow:hover { color: #fff; }
.ws-hero-arrow:active { transform: translateY(1px); }
.ws-hero-dots { background: none; border: 0; height: auto; }
.ws-hero-dot { width: 32px; height: 44px; }
@media (max-width: 991px) { .ws-hero-dot { width: 44px; } }
/* Inaktív: kis halvány kör (3.5:1 a háttéren). Aktív: nagyobb türkiz kör (6.06:1); méret és szín is jelzi. */
.ws-hero-dot::before {
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    transition: background-color .15s, transform .15s;
}
.ws-hero-dot:hover::before { background: rgba(255, 255, 255, .7); }
.ws-hero-dot[aria-current="true"]::before {
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border-radius: 50%;
    border: 0;
    background: var(--ws-line);
}
/* Szünet: visszafogott ikon a sor jobb szélén (a magától lépő tartalomhoz kötelező). */
.ws-hero-pause {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .6);
    transition: color .15s;
}
.ws-hero-pause:hover { color: #fff; }
@media (max-width: 991px) { .ws-hero-body { padding-bottom: 32px; } }
@media (prefers-reduced-motion: reduce) { .ws-hero-arrow, .ws-hero-pause, .ws-hero-dot::before { transition: none; } }

/* ==========================================================================
   Nyitókép v3: teljes szélességű, közvetlenül a navbar alatt (mint a worldofwarships.eu).
   A kép széltől szélig ér, a szöveg és a vezérlők a .container tartalom-oszlopában vannak,
   így a logóval és a többi blokkal egy vonalban kezdődnek.
   ========================================================================== */
.ws-hero-carousel { position: relative; }
.ws-hero {
    margin-top: 0;
    min-height: clamp(460px, 62vh, 640px);
    border-bottom: 3px solid var(--ws-line);
}
.ws-hero-slide.is-active { min-height: clamp(460px, 62vh, 640px); }
.ws-hero-inner { position: relative; z-index: 1; width: 100%; }
.ws-hero-body { padding: 48px 0 96px; max-width: 560px; }
/* Szöveg mögött: balról sötét (a szöveg-oszlop teljes szélességén legalább 74%),
   alul sötét sáv a vezérlőknek. */
.ws-hero-media::after {
    background:
        linear-gradient(0deg, rgba(15, 22, 31, .85) 0, rgba(15, 22, 31, 0) 140px),
        linear-gradient(90deg, rgba(15, 22, 31, .94) 0%, rgba(15, 22, 31, .9) 50%, rgba(15, 22, 31, .55) 70%, rgba(15, 22, 31, .15) 100%);
}
.ws-hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 2;
    margin-top: 0;
    display: block;
}
.ws-hero-controls-inner { position: relative; display: flex; align-items: center; justify-content: center; }
.ws-hero-pause { right: 15px; top: 0; }
/* Kép sötét átmenete előtt a fehér kör is kiolvasható legyen. */
.ws-hero-dot::before { background: rgba(255, 255, 255, .45); }

@media (max-width: 991px) {
    .ws-hero, .ws-hero-slide.is-active { min-height: 0; }
    .ws-hero-body { padding: 36px 0 84px; }
    .ws-hero-media::after { background: rgba(15, 22, 31, .86); }
}

/* Nyitókép gombjai: a játék kezelőfelületének érzete. A fő gomb alján sötétebb "talp" ad
   mélységet (megnyomhatónak hat), lenyomva lesüllyed. Normál írásmód, nagyobb felirat,
   pontosan középre igazítva (a téma .nk-btn-jében a felirat a magasabb gomb tetejére csúszott). */
.ws-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 30px;
    border: 0;
    border-bottom: 3px solid var(--ws-cta-edge);
    background: linear-gradient(180deg, var(--ws-cta-from), var(--ws-cta-to));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    color: var(--ws-cta-text) !important;
    font-family: var(--ws-font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: none;
    text-decoration: none !important;
    white-space: nowrap;
    transition: filter .15s, transform .08s, border-bottom-width .08s;
}
.ws-cta:hover { filter: brightness(1.07); color: var(--ws-cta-text) !important; }
.ws-cta:active { transform: translateY(2px); border-bottom-width: 1px; }
.ws-cta--ghost {
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(15, 22, 31, .35);
    box-shadow: none;
    color: #fff !important;
}
.ws-cta--ghost:hover { filter: none; background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff !important; }
.ws-cta--ghost:active { transform: translateY(1px); border-bottom-width: 1px; }
.ws-hero-actions { gap: 14px; }
@media (max-width: 575px) {
    .ws-hero-actions { flex-direction: column; align-items: stretch; }
    .ws-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ws-cta { transition: none; } }

/* ==========================================================================
   Design-tisztítás (frontend design szempontok)
   ========================================================================== */
/* Meta-sor: elemek térközzel elválasztva, középső pontok nélkül. */
.ws-meta { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 2px; }
.ws-meta > * { white-space: nowrap; }

/* Címekben egy-egy szó más színnel: sablonjegy, a cím egységes fehér. */
h1 .text-main-1, h2 .text-main-1, h3 .text-main-1, h4 .text-main-1, h5 .text-main-1,
.nk-widget-title .text-main-1, .nk-decorated-h-2 .text-main-1 { color: inherit !important; }

/* Gombok az egész oldalon: a nyitókép gombjaival egységes nyelv. Normál írásmód,
   félkövér felirat középre igazítva; a fő (narancs) gombnak alsó "talpa" van. */
.nk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: none;
}
.nk-btn.nk-btn-color-main-1 {
    border-bottom: 3px solid var(--ws-cta-edge);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.nk-btn.nk-btn-color-main-1:active { transform: translateY(2px); border-bottom-width: 1px; }
.nk-btn-rounded { border-radius: 0; }
/* Bélyegkép nélküli hírsor az oldalsávban és a láblécben: nincs üres hely a kép helyén. */
.nk-widget-post.ws-no-thumb, .nk-widget-post-2.ws-no-thumb { padding-left: 0; }
/* Hírszűrő fülek: egy sorban maradnak, a felirat nem törik ("Patch notes"). */
.nav-tabs-fill .nav-link { white-space: nowrap; }
@media (max-width: 991px) {
    .nk-pagination nav > * { min-width: 44px !important; min-height: 44px; display: inline-flex !important; align-items: center; justify-content: center; }
}

/* ==========================================================================
   Tipográfia (DESIGN.md): Barlow Condensed címekhez, menühöz, gombokhoz.
   Keskeny, tábla- és hajójelzés-jellegű betű: illik a tengerészeti témához, nem a
   Wargaming betűtípusa, és a hosszú magyar szavak is elférnek benne.
   Típusskála: 1,25-ös arány (16px alapon): 16 / 20 / 25 / 31 / 39 / 49 px.
   ========================================================================== */
:root {
    --ws-font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --ws-font-body: 'Open Sans', Arial, sans-serif;
}
body { font-family: var(--ws-font-body); }

/* Címek: normál írásmód (a téma csupa nagybetűjét kikapcsolva), félkövér, szoros sorköz. */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4 {
    font-family: var(--ws-font-display);
    font-weight: 600;
    text-transform: none;
    letter-spacing: .005em;
    line-height: 1.15;
}
h1, .h1 { font-size: 3.052rem; }
h2, .h2 { font-size: 2.441rem; }
h3, .h3 { font-size: 1.953rem; }
h4, .h4 { font-size: 1.563rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

/* Menü: rövid feliratok, nagybetűvel és enyhe betűközzel, mint egy hajó oldalán a jelzés. */
.nk-navbar { font-family: var(--ws-font-display); }
.nk-navbar .nk-nav li > a { font-size: 1.125rem; font-weight: 600; letter-spacing: .04em; }

/* Morzsamenü, fülek, gombok, egyéb téma-elemek: a téma nagybetűje helyett normál írás. */
.nk-breadcrumbs,
.nk-widget .nk-widget-title,
.nk-btn,
.nk-tabs .nav-tabs .nav-link,
.nk-accordion .panel-heading a,
.nk-table th,
.nk-news-box .nk-news-box-each-info .nk-news-box-item-more,
.nk-match .nk-match-team-name,
.nk-forum-topic > li .nk-forum-topic-author-name,
.nk-mega-item > .dropdown > ul li > label,
.nk-counter .nk-count, .nk-counter-2 .nk-count, .nk-counter-3 .nk-count,
.nk-countdown .nk-hexagon > span,
.nk-match-score {
    font-family: var(--ws-font-display);
    text-transform: none;
}
.nk-btn { font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; }
.nk-btn.nk-btn-xs { font-size: .9rem; }
.nk-btn.nk-btn-sm { font-size: .95rem; }
.nk-breadcrumbs { font-size: 1.05rem; font-weight: 600; }
.nk-widget .nk-widget-title { font-size: 1.5rem; font-weight: 600; letter-spacing: .005em; }
.nk-tabs .nav-tabs .nav-link { font-size: 1.05rem; font-weight: 600; }
.nk-match .nk-match-team-name { font-size: 1.05rem; font-weight: 600; }
.nk-table th { font-weight: 600; font-size: 1.05rem; }

/* Saját komponensek: a keskeny betű ugyanakkora méreten kisebbnek hat, ezért eggyel nagyobb fokozat. */
.ws-section-title { font-size: 1.953rem; }
.ws-block-title { font-size: 1.25rem; }
.ws-hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.05; }
.ws-hero-state { font-size: 1.05rem; letter-spacing: .02em; text-transform: none; }
.ws-news-card-title { font-family: var(--ws-font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.ws-news-card--lead .ws-news-card-title { font-size: 1.953rem; line-height: 1.1; }
.ws-row-card-title { font-size: 1.35rem; }
.ws-list-title { font-family: var(--ws-font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.ws-section-link { font-size: 1rem; text-transform: none; letter-spacing: .02em; }
.ws-state { font-size: .95rem; text-transform: none; letter-spacing: .02em; }
.ws-tag { font-size: .85rem; text-transform: none; letter-spacing: .02em; font-weight: 600; }
.ws-cta { font-size: 1.15rem; font-weight: 600; letter-spacing: .02em; }
.ws-btn-ghost { font-size: 1rem; text-transform: none; }
.nk-widget-post .nk-post-title,
.nk-widget-post-2 .nk-post-title { font-family: var(--ws-font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.nk-post-title, .nk-news-box-item-title, .nk-feature-title { font-family: var(--ws-font-display); }
.nk-hero-sm h1, .nk-post-title.h4 { text-transform: none; }

@media (max-width: 575px) {
    h1, .h1 { font-size: 2.441rem; }
    h2, .h2 { font-size: 1.953rem; }
    .ws-section-title { font-size: 1.563rem; }
    .ws-news-card--lead .ws-news-card-title { font-size: 1.563rem; }
}
/* Nyitókép címe: szélesebb oszlop és kiegyensúlyozott sortörés a keskeny betűhöz. */
.ws-hero-body { max-width: 680px; }
.ws-hero-title { text-wrap: balance; }
.ws-hero-text { max-width: 560px; }
/* Cikkoldal: a morzsamenü nagy címe maga a <h1>, a téma utolsó morzsa-stílusát örökli. */
.nk-breadcrumbs .ws-crumb-title { margin: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; }
.ws-views { margin-left: 14px; white-space: nowrap; }
/* Kapcsolat-lista: felsorolásjel nélkül; az e-mail cím bárhol törhet (nincs benne szóköz). */
.nk-widget-content .nk-list-link { list-style: none; padding-left: 0; }
.nk-widget-content .nk-list-link li { overflow-wrap: anywhere; }
.nk-breadcrumbs > li:last-of-type > h1 { flex: 0 1 auto; padding-right: 20px; }
.nk-breadcrumbs > li:last-of-type::after { min-width: 60px; }
.nk-breadcrumbs > li:last-of-type { line-height: 1.15; }
.nk-breadcrumbs > li:last-of-type::after { align-self: flex-end; transform: translateY(-6px); }
.nk-post-categories a, .nk-post-categories a:hover { text-decoration: none !important; }
@media (max-width: 991px) {
    .nk-breadcrumbs > li > a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
    .ws-section-link { min-width: 44px; justify-content: flex-end; }
    .like-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; }
}
@media (max-width: 991px) {
    .nk-btn.nk-btn-xs { min-width: 44px; min-height: 44px; }
    .nk-forum-action-btn > a, .nk-forum-action-btn button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; }
    .nk-feature-title > a { min-width: 44px; }
}

/* ==========================================================================
   Fórum (DESIGN.md). A hozzászólások fejléce (szerző, klán, idő) a szöveg fölött
   van, így mobilon is teljes szélességű a szöveg (korábban a szerző-oszlop mellett
   pár pixelre szűkült, és betűnként tört). Klántag mindenhol a név mellett.
   ========================================================================== */
.ws-author { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.ws-author-name { color: var(--ws-text-strong); font-weight: 600; }
.ws-author-name:hover { color: var(--ws-title) !important; }
.ws-clan-tag { color: var(--ws-title); font-family: var(--ws-font-display); font-weight: 600; letter-spacing: .02em; }
.ws-clan-tag:hover { color: #fff !important; text-decoration: underline; }
.ws-role { color: var(--ws-text-muted); font-size: .85em; }
.ws-role--admin { color: var(--ws-gold); }
.ws-role--moderator, .ws-role--editor, .ws-role--creator { color: var(--ws-accent-text); }

.ws-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: var(--ws-tag);
    color: #fff;
    font-family: var(--ws-font-display);
    font-weight: 600;
    font-size: .9rem;
    line-height: 1.4;
}
.ws-chip--gold { background: transparent; color: var(--ws-gold); border: 1px solid var(--ws-gold); }
.ws-chip--muted { background: var(--ws-surface-3); color: var(--ws-text); }
.ws-chip--staff { background: transparent; color: var(--ws-accent-text); border: 1px solid var(--ws-accent); }

/* Téma fejsáv: adatok balra, műveletek jobbra. */
.ws-topic-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin: 8px 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ws-divider);
}
.ws-topic-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--ws-text-muted); font-size: .95rem; }
.ws-topic-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }

/* Moderálás: összecsukható menü, hogy ne foglaljon helyet a normál olvasónak. */
.ws-mod { position: relative; }
.ws-mod > summary { list-style: none; cursor: pointer; }
.ws-mod > summary::-webkit-details-marker { display: none; }
.ws-mod-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 5;
    min-width: 220px;
    padding: 6px 0;
    background: var(--ws-nav);
    border: 1px solid var(--ws-divider);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
}
.ws-mod-menu button {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: var(--ws-text);
    text-align: left;
}
.ws-mod-menu button:hover { background: var(--ws-surface-2); color: #fff; }

/* Hozzászólás */
.ws-posts { display: flex; flex-direction: column; gap: 16px; }
.ws-post { background: var(--ws-surface); }
.ws-post--first { background: var(--ws-surface-2); }
.ws-post--hidden { opacity: .6; }
.ws-post-flag { margin: 0; padding: 8px 20px; background: rgba(192, 40, 26, .2); color: var(--ws-negative-text); font-size: .9rem; }
.ws-post-head {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--ws-divider);
}
.ws-post-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ws-post-count { color: var(--ws-text-muted); font-size: .85rem; }
.ws-post-when { display: flex; align-items: center; gap: 12px; color: var(--ws-text-muted); font-size: .9rem; white-space: nowrap; }
.ws-permalink { color: var(--ws-text-muted); }
.ws-permalink:hover { color: #fff !important; }
.ws-post-body {
    padding: 18px 20px 6px;
    color: var(--ws-text);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 78ch;
    overflow-wrap: break-word;
}
.ws-post-body img { max-width: 100%; height: auto; }
.ws-post-body a { color: var(--ws-title); text-decoration: underline; text-underline-offset: 2px; }
.ws-post-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px 12px 10px; }
.ws-post-actions form { margin: 0; }
.ws-act {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--ws-text-muted) !important;
    font-size: .95rem;
    text-decoration: none !important;
}
.ws-act:hover { color: #fff !important; background: rgba(255, 255, 255, .06); }
.ws-act[disabled] { cursor: not-allowed; opacity: .7; }
.ws-act--danger:hover { color: var(--ws-negative-text) !important; }
.like-btn.liked { color: var(--ws-gold) !important; }
.ws-mod--inline > summary { display: inline-flex; }
.ws-ban-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; padding: 8px 10px; }
.ws-ban-form label { width: 100%; margin: 0; color: var(--ws-text-muted); font-size: .85rem; }
.ws-ban-form .form-control { flex: 1 1 200px; }
.ws-guest-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }

@media (max-width: 575px) {
    .ws-post-head { grid-template-columns: 40px 1fr; padding: 12px 14px; }
    .ws-post-when { grid-column: 1 / -1; justify-content: flex-start; }
    .ws-post-body { padding: 14px 14px 4px; }
    .ws-post-actions { padding: 4px 6px 8px; }
}
@media (max-width: 991px) {
    .ws-act { min-height: 44px; min-width: 44px; justify-content: center; }
}
/* Mobil: a szerző-fejléc linkjeinek kattintható felülete 44px, a kinézet változatlan
   (függőleges belső margó, ugyanannyi negatív külső margóval). */
@media (max-width: 991px) {
    .ws-author a { display: inline-block; padding: 10px 0; margin: -10px 0; }
    .ws-clan-tag { padding-left: 6px !important; padding-right: 6px !important; margin-left: -6px !important; margin-right: -6px !important; min-width: 44px; text-align: center; }
    .ws-permalink { display: inline-block; padding: 12px 10px; margin: -12px -10px; min-width: 44px; text-align: center; }
    .ws-post-head > a { display: inline-block; min-width: 44px; min-height: 44px; }
}
@media (max-width: 991px) {
    .ws-author a { padding: 11px 0; margin: -11px 0; }
    .ws-author-name { min-width: 44px; }
}

/* Fórum főoldal */
.ws-forum-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 24px; }
.ws-forum-search { display: flex; flex: 1 1 320px; max-width: 480px; }
.ws-forum-search .form-control { min-height: 44px; }
.ws-forum-search .nk-btn { min-width: 48px; }
.ws-forum-links { display: flex; flex-wrap: wrap; gap: 4px; }
.ws-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; padding: 0 6px; background: var(--ws-gold); color: #111; font-weight: 700; font-size: .8rem; }

.ws-announce { margin-bottom: 24px; padding: 14px 18px; border: 1px solid rgba(255, 190, 76, .45); background: rgba(255, 190, 76, .06); }
.ws-announce-title { margin: 0 0 8px; font-size: 1.25rem; color: var(--ws-gold); }
.ws-announce ul { list-style: none; margin: 0; padding: 0; }
.ws-announce li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 6px 0; }
.ws-announce li a { color: var(--ws-text-strong); font-weight: 600; }

/* Kategórialista: rács, oszlopfejléccel asztalon. */
.ws-cat-head,
.ws-cat { display: grid; grid-template-columns: 40px minmax(0, 1fr) 80px 110px minmax(0, 260px); gap: 16px; align-items: center; }
.ws-cat-head { padding: 0 20px 8px; color: var(--ws-text-muted); font-size: .85rem; border-bottom: 1px solid var(--ws-divider); }
.ws-cat-head span:first-child { grid-column: 1 / 3; }
.ws-cat-head span:nth-child(2), .ws-cat-head span:nth-child(3) { text-align: center; }
.ws-cat-list { list-style: none; margin: 0; padding: 0; }
.ws-cat { position: relative; padding: 16px 20px; border-bottom: 1px solid var(--ws-divider); background: var(--ws-surface); transition: background-color .15s; }
.ws-cat:hover { background: var(--ws-surface-2); }
.ws-cat:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: -3px; }
.ws-cat-icon { color: var(--ws-title); font-size: 1.25rem; text-align: center; }
.ws-cat-title { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-size: 1.35rem; }
.ws-cat-title a { color: var(--ws-text-strong); }
.ws-cat:hover .ws-cat-title a { color: var(--ws-title); }
.ws-cat-desc { margin: 0; color: var(--ws-text-muted); font-size: .95rem; }
.ws-cat-num { text-align: center; color: var(--ws-text-muted); }
.ws-cat-num strong { display: block; color: var(--ws-text-strong); font-family: var(--ws-font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.ws-cat-num-label { font-size: .8rem; }
.ws-cat-last { position: relative; z-index: 2; min-width: 0; }
.ws-cat-last-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ws-title); font-weight: 600; }
.ws-cat-last-title:hover { color: #fff !important; }

.ws-forum-stats { margin-top: 32px; padding: 20px; background: var(--ws-surface); }
.ws-stats-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.ws-stat-label { margin: 0 0 4px; color: var(--ws-text-muted); font-size: .85rem; }
.ws-online-list { margin: 0; color: var(--ws-text); }
.ws-online-list a { color: var(--ws-text-strong); }
.ws-stat-nums { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; }
.ws-stat-nums dt { color: var(--ws-text-muted); font-size: .85rem; font-weight: 400; }
.ws-stat-nums dd { margin: 0; color: var(--ws-text-strong); font-family: var(--ws-font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }

@media (max-width: 991px) {
    .ws-cat-head { display: none; }
    .ws-cat { grid-template-columns: 32px minmax(0, 1fr) auto auto; grid-template-areas: "icon main main main" ". topics posts ." ". last last last"; gap: 6px 14px; }
    .ws-cat-icon { grid-area: icon; align-self: start; padding-top: 4px; }
    .ws-cat-main { grid-area: main; }
    .ws-cat-num { text-align: left; display: flex; align-items: baseline; gap: 4px; }
    .ws-cat-num strong { display: inline; font-size: 1.1rem; }
    .ws-cat-num--topics { grid-area: topics; }
    .ws-cat-num--posts { grid-area: posts; }
    .ws-cat-last { grid-area: last; }
    .ws-stats-grid { grid-template-columns: 1fr; }
    .ws-forum-search { max-width: none; }
}
@media (min-width: 992px) { .ws-cat-num-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); } }

/* Témalista (kategória oldal) */
.ws-cat-intro { margin: 0; color: var(--ws-text-muted); }
.ws-topic-head,
.ws-topic { display: grid; grid-template-columns: 32px minmax(0, 1fr) 72px 96px minmax(0, 180px) 44px; gap: 14px; align-items: center; }
.ws-topic-head { padding: 0 20px 8px; color: var(--ws-text-muted); font-size: .85rem; border-bottom: 1px solid var(--ws-divider); }
.ws-topic-head span:first-child { grid-column: 1 / 3; }
.ws-topic-head span:nth-child(2), .ws-topic-head span:nth-child(3) { text-align: center; }
.ws-topic-head span:last-child { grid-column: 5 / 7; }
.ws-topic { position: relative; padding: 14px 20px; border-bottom: 1px solid var(--ws-divider); background: var(--ws-surface); transition: background-color .15s; }
.ws-topic:hover { background: var(--ws-surface-2); }
.ws-topic:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: -3px; }
.ws-topic-list--pinned .ws-topic { background: var(--ws-surface-2); }
.ws-topic-list--pinned { margin-bottom: 12px; }
.ws-topic-icon { color: var(--ws-text-muted); text-align: center; }
.ws-topic--unread .ws-topic-icon { color: var(--ws-title); }
.ws-topic-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 4px; font-size: 1.25rem; font-weight: 500; }
.ws-topic-title a { color: var(--ws-text-strong); }
.ws-topic--unread .ws-topic-title { font-weight: 700; }
.ws-topic:hover .ws-topic-title a { color: var(--ws-title); }
.ws-topic--locked .ws-topic-title a { color: var(--ws-text); }
.ws-topic-by { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; color: var(--ws-text-muted); font-size: .9rem; }
.ws-topic-by, .ws-topic-last, .ws-topic-mod { position: relative; z-index: 2; }
.ws-topic-last { display: flex; flex-direction: column; color: var(--ws-text); font-size: .9rem; }
.ws-topic-last-who { color: var(--ws-text-strong); }
.ws-topic-mod .ws-mod-menu { right: 0; }
.ws-mod-danger { color: var(--ws-negative-text) !important; }

@media (max-width: 991px) {
    .ws-topic-head { display: none; }
    .ws-topic { grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "icon main mod" ". stats stats"; gap: 6px 12px; padding: 14px; }
    .ws-topic-icon { grid-area: icon; align-self: start; padding-top: 4px; }
    .ws-topic-main { grid-area: main; }
    .ws-topic-mod { grid-area: mod; align-self: start; }
    .ws-topic-replies, .ws-topic-views, .ws-topic-last { grid-area: auto; }
    .ws-topic-last { flex-direction: row; gap: 10px; }
}
@media (max-width: 991px) {
    .ws-cat { grid-template-columns: 32px auto auto 1fr; grid-template-areas: "icon main main main" ". topics posts ." ". last last last"; }
    .ws-topic { grid-template-columns: 28px auto 1fr auto; grid-template-areas: "icon main main mod" ". replies views views" ". last last last"; }
    .ws-topic > .ws-topic-replies { grid-area: replies; }
    .ws-topic > .ws-topic-views { grid-area: views; }
    .ws-topic > .ws-topic-last { grid-area: last; }
}
@media (max-width: 991px) {
    .ws-cat-last-title { padding: 10px 0; margin: -10px 0; }
    .ws-topic-by .ws-author a { padding: 12px 0; margin: -12px 0; }
}

/* Fórum szerkesztők (új téma, hozzászólás szerkesztése): a többi oldalhoz igazítva,
   balra, a hozzászólásokkal azonos felületen; jobbra segédlet. */
.ws-editor { padding: 22px 24px; background: var(--ws-surface); }
.ws-editor label { color: var(--ws-text-strong); font-family: var(--ws-font-display); font-weight: 600; font-size: 1.15rem; }
.ws-editor-where { margin: 0 0 18px; color: var(--ws-text-muted); }
.ws-field-hint { margin: 6px 0 0; color: var(--ws-text-muted); font-size: .9rem; }
.ws-editor .form-group + .form-group { margin-top: 22px; }
.ws-editor .form-control { min-height: 44px; }
.ws-toolbar { position: relative; display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 6px; }
.ws-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--ws-divider);
    background: var(--ws-surface-2);
    color: var(--ws-text) !important;
    font-family: var(--ws-font-body) !important;
    font-size: 1rem !important;
    cursor: pointer;
}
.ws-tool:hover { background: var(--ws-surface-3); color: #fff !important; }
.ws-editor-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ws-side-panel { padding: 20px; margin-bottom: 16px; background: var(--ws-surface); color: var(--ws-text); }
.ws-format-list { margin: 12px 0; }
.ws-format-list > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--ws-divider); }
.ws-format-list dt { font-weight: 400; }
.ws-format-list dd { margin: 0; color: var(--ws-text-muted); }
.ws-format-list code, .ws-post-body code { padding: 1px 5px; background: rgba(0, 0, 0, .3); color: var(--ws-title); }
@media (max-width: 991px) { .ws-tool { min-width: 44px; height: 44px; } .ws-editor { padding: 16px; } }
.ws-editor-desc { display: block; margin-top: 2px; }
.ws-format-help { margin-top: 10px; color: var(--ws-text); }
.ws-format-help > summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--ws-title); cursor: pointer; }
.ws-format-help > summary:hover { color: #fff; }
.ws-format-help .ws-format-list { max-width: 520px; margin: 4px 0 8px; }
.ws-reply { margin-top: 32px; }
.ws-reply .ws-block-title { margin-bottom: 16px; }
.ws-quote-preview { margin-bottom: 16px; padding: 10px 14px; border-left: 3px solid var(--ws-line); background: rgba(255, 255, 255, .04); }
.ws-quote-preview-label { margin: 0; color: var(--ws-text-muted); font-size: .85rem; }
.ws-quote-preview-text { margin: 4px 0; color: var(--ws-text); }

/* Rólunk oldal */
.ws-about-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; margin-top: 24px; }
.ws-about-text .ws-section-title { margin-bottom: 16px; }
.ws-about-text p { max-width: 66ch; color: var(--ws-text); font-size: 1.05rem; line-height: 1.7; }
.ws-lead { color: var(--ws-text-strong) !important; font-size: 1.3rem !important; line-height: 1.5 !important; }
.ws-about-stats { padding: 22px 24px; background: var(--ws-surface); }
.ws-about-stats .ws-block-title { margin-bottom: 14px; }
.ws-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 0 0 14px; }
.ws-stat-grid dt { color: var(--ws-text-muted); font-size: .9rem; font-weight: 400; }
.ws-stat-grid dd { margin: 0; color: var(--ws-text-strong); font-family: var(--ws-font-display); font-size: 2.2rem; font-weight: 600; line-height: 1.05; }

/* Fő részek: kattintható sorok, jobbra a valós darabszám. */
.ws-area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ws-area { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: var(--ws-surface); transition: background-color .15s; }
.ws-area:hover { background: var(--ws-surface-2); }
.ws-area:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
.ws-area-title { margin: 0 0 4px; font-size: 1.45rem; }
.ws-area-title a { color: var(--ws-text-strong); }
.ws-area:hover .ws-area-title a { color: var(--ws-title); }
.ws-area-desc { margin: 0; color: var(--ws-text-muted); }
.ws-area-count { flex-shrink: 0; color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.15rem; font-weight: 600; white-space: nowrap; }

/* Csatlakozás lépései: valódi sorrend, a számok a lépés sorszámai. */
.ws-steps { list-style: none; counter-reset: ws-step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ws-step { counter-increment: ws-step; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 22px 24px; background: var(--ws-surface); }
.ws-step::before { content: counter(ws-step) "."; color: var(--ws-title); font-family: var(--ws-font-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.ws-step-title { margin: 0; font-size: 1.45rem; }
.ws-step p { margin: 0; color: var(--ws-text); }
.ws-step .nk-btn { margin-top: auto; }
.ws-step-done { color: var(--ws-text-muted) !important; }

.ws-about-contact p { max-width: 66ch; color: var(--ws-text); font-size: 1.05rem; }
.ws-about-contact a { color: var(--ws-title); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 991px) {
    .ws-about-intro { grid-template-columns: 1fr; gap: 24px; }
    .ws-area-list, .ws-steps { grid-template-columns: 1fr; }
}
.ws-about-editors { color: var(--ws-text-muted) !important; font-size: .95rem !important; }
/* Páratlan számú elemnél az utolsó kitölti a sort, ne maradjon félbe. */
.ws-area-list > .ws-area:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Partnerek: logó nélkül a név, Barlow Condensed-del, ugyanabban a keretben. */
.ws-partner-logo--name { min-width: 160px; }
.ws-partner-name { color: var(--ws-text-strong); font-family: var(--ws-font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
a.ws-partner-logo:hover { background: rgba(255, 255, 255, .1); }
a.ws-partner-logo:hover .ws-partner-name { color: var(--ws-title); }

.ws-partners-page { margin-top: 16px; }
.ws-partners-page .ws-lead { margin-bottom: 24px; }
.ws-partner-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.ws-partner-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--ws-surface); transition: background-color .15s; }
.ws-partner-card:hover { background: var(--ws-surface-2); }
.ws-partner-card:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
.ws-partner-card-media { display: flex; align-items: center; justify-content: center; height: 110px; margin-bottom: 12px; background: rgba(255, 255, 255, .04); }
.ws-partner-card-media img { max-width: 80%; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.ws-partner-card-title { margin: 0; font-size: 1.35rem; }
.ws-partner-card-title a { color: var(--ws-text-strong); }
.ws-partner-card:hover .ws-partner-card-title a { color: var(--ws-title); }
.ws-partners-cta { margin-top: 28px; color: var(--ws-text); }
.ws-partners-cta a { color: var(--ws-title); text-decoration: underline; text-underline-offset: 2px; }
/* Partnerlogók egységes magassággal: a magasság rögzített, a szélesség az arányból adódik
   (korábban a szélesség volt rögzítve, így a Diazol 34px, a SkyWeb 47px magas lett).
   A dobozok egyforma méretűek. */
.ws-partner-logo { width: 220px; height: 76px; min-width: 0; min-height: 0; padding: 0 16px; }
.ws-partner-logo img { height: 44px !important; width: auto !important; max-width: 100%; max-height: none; object-fit: contain; }
.ws-partner-card-media img { height: 48px; width: auto; max-width: 85%; max-height: none; }
@media (max-width: 575px) { .ws-partner-logo { width: calc(50% - 12px); } .ws-partner-logo img { height: 36px !important; } }
@media (max-width: 575px) { .ws-partner-logo { padding: 0 8px; } .ws-partner-logo img { height: 32px !important; } }

/* ==========================================================================
   Hírek: lista (kategóriaszűrő + keresés, kiemelt cikk, kártyarács) és cikkoldal
   ========================================================================== */
.ws-news-page { margin-top: 8px; }
.ws-news-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--ws-divider); }
.ws-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.ws-filter-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    background: var(--ws-surface);
    color: var(--ws-text) !important;
    font-family: var(--ws-font-display);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color .15s;
}
.ws-filter-item:hover { background: var(--ws-surface-2); color: #fff !important; }
.ws-filter-item[aria-current="page"] { background: var(--ws-tag); color: #fff !important; box-shadow: inset 0 -3px 0 var(--ws-line); }
.ws-filter-count { color: var(--ws-text-muted); font-family: var(--ws-font-body); font-size: .85rem; font-weight: 400; }
.ws-filter-item[aria-current="page"] .ws-filter-count { color: #fff; }
.ws-news-tools .ws-forum-search { flex: 0 1 340px; }
.ws-search-summary { margin: -8px 0 20px; color: var(--ws-text); }
.ws-search-summary a { margin-left: 12px; color: var(--ws-title); text-decoration: underline; text-underline-offset: 2px; }

/* Kiemelt cikk: kép és szöveg egymás mellett. */
.ws-article-lead { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-bottom: 20px; background: var(--ws-surface-2); transition: background-color .15s; }
.ws-article-lead:hover { background: var(--ws-surface-3); }
.ws-article-lead:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
.ws-article-lead-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ws-surface); }
.ws-article-lead-media img { width: 100%; height: 100%; object-fit: cover; }
.ws-article-lead-body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 28px 32px; }
.ws-article-lead-title { margin: 0; font-size: 2rem; line-height: 1.1; }
.ws-article-lead-title a { color: var(--ws-title); }
.ws-article-lead:hover .ws-article-lead-title a { color: #fff; }
.ws-article-excerpt { margin: 0; color: var(--ws-text); line-height: 1.6; }

/* Kártyarács: kép csak valódi borítóval. */
.ws-article-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ws-article-card { position: relative; display: flex; flex-direction: column; background: var(--ws-surface); transition: background-color .15s; }
.ws-article-card:hover { background: var(--ws-surface-2); }
.ws-article-card:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
.ws-article-card-media { aspect-ratio: 16 / 9; overflow: hidden; }
.ws-article-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ws-article-card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.ws-article-card-title { margin: 2px 0 4px; font-size: 1.35rem; line-height: 1.2; }
.ws-article-card-title a { color: var(--ws-title); }
.ws-article-card:hover .ws-article-card-title a { color: #fff; }
.ws-tag--inline { align-self: flex-start; }

@media (max-width: 991px) {
    .ws-article-lead { grid-template-columns: 1fr; }
    .ws-article-lead-body { padding: 20px; }
    .ws-article-lead-title { font-size: 1.6rem; }
    .ws-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ws-news-tools .ws-forum-search { flex: 1 1 100%; }
}
@media (max-width: 575px) { .ws-article-grid { grid-template-columns: 1fr; } }
/* Borító nélküli kiemelt cikk: helykitöltő kép helyett szélesebb szöveges blokk. */
.ws-article-lead--text { grid-template-columns: 1fr; box-shadow: inset 0 3px 0 var(--ws-line); }
.ws-article-lead--text .ws-article-lead-body { padding: 32px 36px; max-width: 900px; }
.ws-article-lead--text .ws-article-lead-title { font-size: 2.4rem; }
.ws-article-lead--text .ws-article-excerpt { font-size: 1.05rem; }
@media (max-width: 991px) {
    .ws-article-lead--text .ws-article-lead-body { padding: 22px 20px; }
    .ws-article-lead--text .ws-article-lead-title { font-size: 1.75rem; }
}
.ws-article-lead-title a, .ws-article-card-title a { text-decoration: none !important; }

/* Cikkoldal: olvasható szövegoszlop + tömör oldalsáv */
.ws-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; margin-top: 8px; }
.ws-article-main { min-width: 0; }
.ws-article-meta { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--ws-divider); }
.ws-article-meta-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ws-article-meta .ws-tag--inline { margin: 0; align-self: center; }
.ws-tag--link { text-decoration: none !important; color: #fff !important; }
.ws-tag--link:hover { background: var(--ws-surface-3); }
.ws-article-cover { margin: 0 0 24px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ws-surface); }
.ws-article-cover img { width: 100%; height: 100%; object-fit: cover; }
.ws-entry { max-width: 72ch; color: var(--ws-text); font-size: 1.05rem; line-height: 1.75; }
.ws-entry p { margin: 0 0 1.1em; }
.ws-entry h2, .ws-entry h3, .ws-entry .h4 { margin: 1.6em 0 .5em; color: var(--ws-title); font-size: 1.5rem; }
.ws-entry h3 { font-size: 1.25rem; }
.ws-entry a { color: var(--ws-title); text-decoration: underline; text-underline-offset: 2px; }
.ws-entry a:hover { color: #fff; }
.ws-entry ul, .ws-entry ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.ws-entry li { margin-bottom: .35em; }
.ws-entry img { max-width: 100%; height: auto; }
.ws-entry strong { color: #fff; }
.ws-entry blockquote { margin: 1.2em 0; padding: 10px 16px; border-left: 3px solid var(--ws-line); background: rgba(255, 255, 255, .04); }

.ws-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--ws-divider); }
.ws-share-label { color: var(--ws-text-muted); margin-right: 4px; }
.ws-share-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
    border: 0; background: var(--ws-surface-2); color: var(--ws-text) !important;
    font-family: var(--ws-font-display); font-size: 1.05rem; font-weight: 600; text-decoration: none !important; cursor: pointer;
}
.ws-share-btn:hover { background: var(--ws-surface-3); color: #fff !important; }
.ws-share-status { color: var(--ws-title); font-size: .9rem; }

.ws-article-related { margin-top: 40px; }
.ws-article-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ws-comments { margin-top: 40px; }
.ws-comments-empty { color: var(--ws-text); }
.ws-comment-list, .ws-comment-replies { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ws-comment-replies { margin: 12px 0 0 32px; padding-left: 16px; border-left: 2px solid var(--ws-divider); }
.ws-comment .ws-post-body p { margin: 0; }
.ws-comments-guest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding: 18px 20px; background: var(--ws-surface); }
.ws-comments-guest p { margin: 0; color: var(--ws-text); }
.ws-notice { padding: 10px 14px; background: rgba(0, 180, 185, .12); color: var(--ws-text); }
.ws-field-error { margin: 6px 0 0; color: var(--ws-negative-text); }
.ws-reply label.ws-block-title { display: block; }

.ws-article-aside { position: sticky; top: 100px; }
.ws-side-list, .ws-side-cats { list-style: none; margin: 0; padding: 0; }
.ws-side-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--ws-divider); }
.ws-side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ws-side-list a { color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.1rem; font-weight: 600; line-height: 1.25; text-decoration: none !important; }
.ws-side-list a:hover { color: #fff; }
.ws-side-list time { color: var(--ws-text-muted); font-size: .85rem; }
.ws-side-cats a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 10px; margin: 0 -10px; color: var(--ws-text) !important; text-decoration: none !important; }
.ws-side-cats a:hover { background: var(--ws-surface-2); color: #fff !important; }
.ws-side-cats a[aria-current] { color: #fff !important; box-shadow: inset 3px 0 0 var(--ws-line); }

@media (max-width: 991px) {
    .ws-article-layout { grid-template-columns: 1fr; gap: 24px; }
    .ws-article-aside { position: static; }
    .ws-comment-replies { margin-left: 12px; padding-left: 10px; }
}
@media (max-width: 575px) {
    .ws-article-grid--2 { grid-template-columns: 1fr; }
    .ws-article-meta { flex-wrap: wrap; }
}

/* Hírképek: rávitt egérre / billentyűfókuszra lassú ráközelítés (a kártya egésze kattintható). */
@media (prefers-reduced-motion: no-preference) {
    .ws-article-lead-media img,
    .ws-article-card-media img { transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .6s; }
    .ws-article-lead:hover .ws-article-lead-media img,
    .ws-article-lead:focus-within .ws-article-lead-media img,
    .ws-article-card:hover .ws-article-card-media img,
    .ws-article-card:focus-within .ws-article-card-media img { transform: scale(1.06); filter: brightness(1.08); }
}
@media (prefers-reduced-motion: no-preference) {
    .ws-news-card-media img { transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .6s; }
    .ws-news-card:hover .ws-news-card-media img,
    .ws-news-card:focus-within .ws-news-card-media img { transform: scale(1.06); filter: brightness(1.08); }
}
/* Érintési célok: az oldalsáv hírlinkje a teljes sor, a kategóriacímke 44px magas kattintható felület. */
.ws-side-list li { position: relative; }
.ws-side-list a::after { content: ""; position: absolute; inset: 0; }
.ws-side-list li:hover a { color: #fff; }
.ws-tag--link { position: relative; }
.ws-tag--link::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }

/* ==========================================================================
   Klánrangok (WoWS-minta) és klánvezetés
   ========================================================================== */
.ws-rank { display: inline-flex; align-items: center; gap: 8px; color: var(--ws-text); font-family: var(--ws-font-display); font-size: 1.05rem; font-weight: 600; white-space: nowrap; }
.ws-rank-pips { display: inline-flex; gap: 2px; }
.ws-rank-pips i { width: 4px; height: 14px; background: rgba(255, 255, 255, .14); }
.ws-rank-pips i.on { background: var(--ws-line); }
.ws-rank--commander { color: var(--ws-gold); }
.ws-rank--commander .ws-rank-pips i.on { background: var(--ws-gold); }
.ws-rank--executive_officer { color: #ffd98a; }
.ws-rank--executive_officer .ws-rank-pips i.on { background: #ffd98a; }

.ws-rank-table { margin: 0; }
.ws-rank-table > div { padding: 10px 0; border-bottom: 1px solid var(--ws-divider); }
.ws-rank-table > div:last-child { border-bottom: 0; }
.ws-rank-table dd { margin: 4px 0 0; color: var(--ws-text); font-size: .9rem; line-height: 1.5; }

.ws-clan-admin { margin-top: 8px; }
.ws-rank-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 20px; padding: 14px 20px; background: var(--ws-surface-2); box-shadow: inset 0 -2px 0 var(--ws-line); }
.ws-rank-banner p { margin: 0; color: var(--ws-text); }
.ws-clan-admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.ws-clan-admin-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ws-panel { padding: 20px 22px; background: var(--ws-surface); color: var(--ws-text); }
.ws-panel--warn { box-shadow: inset 0 3px 0 var(--ws-gold); }
.ws-panel > p { margin: 0 0 12px; }
.ws-panel .ws-block-title { display: flex; align-items: center; gap: 10px; }
.ws-count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 6px; background: var(--ws-surface-3); color: #fff; font-family: var(--ws-font-body); font-size: .8rem; }
.ws-muted { margin: 0; color: var(--ws-text-muted); }
.ws-notice--error { background: rgba(192, 40, 26, .18); color: #fff; }

.ws-app-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--ws-divider); }
.ws-app-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ws-app-msg { margin: 6px 0 0; color: var(--ws-text); font-style: italic; }
.ws-app-actions { display: flex; gap: 8px; }
.ws-app-actions form { margin: 0; }

.ws-roster { list-style: none; margin: 0 0 8px; padding: 0; }
.ws-roster-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 0; border-top: 1px solid var(--ws-divider); }
.ws-roster-who { display: flex; flex-direction: column; gap: 2px; flex: 1 1 220px; min-width: 0; }
.ws-roster-name { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--ws-font-display); font-size: 1.15rem; font-weight: 600; }
.ws-roster-name a { color: var(--ws-title); }
.ws-roster-name a:hover { color: #fff; }
.ws-roster-form { display: flex; gap: 8px; align-items: center; margin: 0; }
.ws-roster-form .form-control { min-height: 44px; min-width: 190px; }
.ws-roster-row > form:last-child { margin: 0; }

.ws-form-row { margin-bottom: 14px; }
.ws-form-row label { display: block; margin-bottom: 6px; color: var(--ws-text); font-weight: 600; }
.ws-form-row .form-control { min-height: 44px; }
.ws-form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ws-check { display: flex; align-items: center; gap: 10px; }
.ws-check input { width: 20px; height: 20px; margin: 0; cursor: pointer; }
.ws-check label { margin: 0; cursor: pointer; font-weight: 400; }
.ws-logo-preview { display: block; margin-bottom: 8px; object-fit: contain; }
.ws-btn-block { width: 100%; }

@media (max-width: 991px) {
    .ws-clan-admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .ws-form-cols { grid-template-columns: 1fr; }
    .ws-app-row { grid-template-columns: 40px minmax(0, 1fr); }
    .ws-app-actions { grid-column: 1 / -1; }
    .ws-roster-form { flex: 1 1 100%; }
    .ws-roster-form .form-control { flex: 1; min-width: 0; }
}
.ws-challenge-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding: 16px 20px; background: var(--ws-surface-2); }
.ws-challenge-cta p { margin: 0; color: var(--ws-text); }
.ws-pending-challenges { margin-top: 16px; }
.ws-member-grid { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ws-member { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--ws-surface); }
.ws-member-who { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ws-member-name { color: #fff; font-family: var(--ws-font-display); font-size: 1.15rem; font-weight: 600; overflow-wrap: break-word; }
a.ws-member-name { color: var(--ws-title); }
a.ws-member-name:hover { color: #fff; }
.ws-member .ws-rank { font-size: .95rem; }
.ws-member-pr { color: var(--ws-text-muted); font-size: .85rem; white-space: nowrap; }
.ws-member-pr strong { color: var(--ws-title); }
.ws-side-panel.ws-panel--warn p { margin: 0 0 12px; }
@media (max-width: 575px) { .ws-member-grid { grid-template-columns: 1fr; } }
.ws-form .form-control:disabled { background: var(--ws-surface-2); color: var(--ws-text); border-color: var(--ws-divider); opacity: 1; cursor: not-allowed; }
.ws-roster-form .form-control { min-width: 170px; }
@media (max-width: 991px) {
    .ws-roster-name a, a.ws-member-name { display: inline-block; padding: 9px 0; margin: -9px 0; }
    .ws-form .form-control-file { min-height: 44px; padding: 8px 0; }
}

/* Értesítések: harang a felső sávban és a közös lista */
.ws-bell { position: relative; display: inline-flex; align-items: center; }
.ws-bell-count { position: absolute; top: -8px; right: -12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ws-gold); color: #111; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.ws-notif-page { margin-top: 8px; }
.ws-notif-page > * { max-width: 860px; }
.ws-notif-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ws-notif { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; background: var(--ws-surface); transition: background-color .15s; }
.ws-notif:hover { background: var(--ws-surface-2); }
.ws-notif:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
.ws-notif.is-unread { background: var(--ws-surface-2); box-shadow: inset 3px 0 0 var(--ws-gold); }
.ws-notif-icon { flex: 0 0 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--ws-surface-3); color: var(--ws-title); }
.ws-notif-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ws-notif-body a, .ws-notif-body > span { color: #fff; line-height: 1.45; text-decoration: none !important; }
.ws-notif-body a:hover { color: var(--ws-title); }
.ws-notif-new { color: var(--ws-gold); font-weight: 600; }
@media (max-width: 991px) { .ws-bell { min-width: 44px; min-height: 44px; justify-content: center; } }

/* Hibaoldalak (404, 403, 419, 429) */
.ws-error-page { padding-top: 64px; padding-bottom: 96px; }
.ws-error-page > * { max-width: 720px; }
.ws-error-code { margin: 0; color: var(--ws-title); font-family: var(--ws-font-display); font-size: 6rem; font-weight: 700; line-height: 1; }
.ws-error-title { margin: 8px 0 12px; color: #fff; font-size: 2.4rem; }
.ws-error-text { max-width: 60ch; color: var(--ws-text); font-size: 1.1rem; line-height: 1.6; }
.ws-error-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 575px) { .ws-error-code { font-size: 4.5rem; } .ws-error-title { font-size: 1.9rem; } }

/* Versenyoldal */
.ws-tournament-about { margin-bottom: 16px; }
.ws-tournament-about p { margin: 0 0 10px; line-height: 1.7; }
.ws-tournament-about .ws-block-title { margin-top: 12px; }
.ws-tournament-cta { margin-top: 0; }
.ws-team-logo { flex: 0 0 40px; width: 40px; height: 40px; object-fit: cover; }
.ws-team-logo--empty { display: inline-flex; align-items: center; justify-content: center; background: var(--ws-surface-3); color: var(--ws-text-muted); }
.ws-register-page { margin-top: 8px; }
.ws-register-page > * { max-width: 820px; }
.ws-register-facts { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0 0 20px; }
.ws-register-facts dt { color: var(--ws-text-muted); font-weight: 400; font-size: .9rem; }
.ws-register-facts dd { margin: 2px 0 0; color: #fff; font-family: var(--ws-font-display); font-size: 1.25rem; font-weight: 600; }
.ws-panel--warn > p { margin: 0 0 14px; }

/* Versenylista */
.ws-tournament-list { margin-top: 8px; }
.ws-tournament-list .ws-home-section:first-child { margin-top: 0; }
.ws-tag--open { background: var(--ws-gold) !important; color: #111 !important; }
.ws-tournament-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 6px 0 0; }
.ws-tournament-facts dt { color: var(--ws-text-muted); font-weight: 400; font-size: .85rem; }
.ws-tournament-facts dd { margin: 0; color: var(--ws-text); }
.ws-finished { gap: 8px 24px; }
.ws-finished-name { color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.25rem; font-weight: 600; }
.ws-finished-name:hover { color: #fff; }
.ws-champion { display: inline-flex; align-items: center; gap: 8px; color: var(--ws-text); }
.ws-champion .fa-trophy { color: var(--ws-gold); }
.ws-champion a { color: #fff; font-weight: 600; }
@media (max-width: 991px) { .ws-finished-name { display: inline-block; padding: 8px 0; margin: -8px 0; } }

/* Logó: jelvény-ikon + felirat */
.ws-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.ws-logo-icon { width: auto; height: 48px; flex: 0 0 auto; }
.ws-logo-text { color: #fff; font-family: var(--ws-font-display); font-size: 1.6rem; font-weight: 700; font-style: italic; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.ws-logo-accent { color: var(--ws-gold); }
@media (max-width: 991px) { .nk-navbar.nk-navbar-top .nk-nav-logo > .ws-logo { padding: 0; } }
@media (max-width: 420px) {
    .ws-logo-icon { height: 38px; }
    .nk-navbar.nk-navbar-top .nk-nav-logo .ws-logo-text { font-size: 1.3rem !important; }
}
.ws-about-badge { display: block; width: 220px; height: auto; margin: 0 0 20px; }
.ws-error-badge { display: block; width: 160px; height: auto; margin: 0 0 16px; }
@media (max-width: 575px) { .ws-about-badge { width: 170px; } .ws-error-badge { width: 120px; } }
.nk-navbar .nk-nav-logo img.ws-logo-icon { width: auto !important; height: 48px !important; max-width: none !important; }
@media (max-width: 420px) { .nk-navbar .nk-nav-logo img.ws-logo-icon { height: 38px !important; } }

/* ==========================================================================
   Navbar: egyetlen sáv (logó, menü, fiókműveletek), a WoWS-oldal mintájára
   ========================================================================== */
.nk-navbar.nk-navbar-top { background: var(--ws-nav); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nk-navbar.nk-navbar-top .nk-nav-table { height: 72px; }
.nk-navbar .nk-nav-logo img.ws-logo-icon { width: auto !important; height: 52px !important; max-width: none !important; }
.nk-navbar .nk-nav-logo img.ws-logo-icon--sm { height: 40px !important; }
.ws-logo { gap: 12px; }
.ws-logo-text { font-size: 1.75rem; font-style: normal; letter-spacing: .03em; }
.ws-nav-actions > li { vertical-align: middle; }
.ws-nav-actions > li + li { padding-left: 4px; }
.ws-nav-actions .ws-nav-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
    color: var(--ws-text) !important; font-size: 1.05rem; cursor: pointer;
}
.ws-nav-actions .ws-nav-icon:hover { color: #fff !important; background: rgba(255, 255, 255, .06); }
.ws-nav-actions .ws-bell-count { top: 4px; right: 2px; }
.ws-nav-logout { display: inline; margin: 0; }
.ws-nav-profile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.ws-nav-profile:hover img, .ws-nav-profile:hover span { box-shadow: 0 0 0 2px var(--ws-line); }
.ws-nav-btn {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
    font-family: var(--ws-font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: .02em;
    text-decoration: none !important; white-space: nowrap;
}
.ws-nav-btn--ghost { color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.ws-nav-btn--ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
.ws-nav-btn--cta { margin-left: 8px; background: linear-gradient(var(--ws-cta-from), var(--ws-cta-to)); color: var(--ws-cta-text) !important; }
.ws-nav-btn--cta:hover { background: linear-gradient(var(--ws-cta-from), var(--ws-cta-from)); filter: brightness(1.1); }
.ws-main-nav { padding-right: 16px; }
.ws-mobile-account { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.ws-mobile-account form { margin: 0; }
.ws-mobile-account-link {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 4px;
    border: 0; background: transparent; color: var(--ws-text) !important; font-size: 1rem; text-align: left; cursor: pointer;
}
.ws-mobile-account-link:hover { color: #fff !important; }
@media (max-width: 1199px) {
    .ws-logo-text { font-size: 1.45rem; }
    .ws-main-nav .nk-nav > li > a, .ws-main-nav > li > a { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 991px) {
    .nk-navbar.nk-navbar-top .nk-nav-table { height: 64px; }
    .nk-navbar .nk-nav-logo img.ws-logo-icon { height: 44px !important; }
}
@media (max-width: 420px) {
    .nk-navbar .nk-nav-logo img.ws-logo-icon { height: 38px !important; }
    .nk-navbar.nk-navbar-top .nk-nav-logo .ws-logo-text { font-size: 1.25rem !important; }
}
.nk-navbar.nk-navbar-top { padding-top: 0 !important; padding-bottom: 0 !important; }
.ws-nav-btn-icon { display: none; }
@media (max-width: 1199px) {
    /* A Bejelentkezés felirata minden szélességen látszik (az ikon önmagában nem volt felismerhető). */
    .ws-nav-btn { padding: 0 12px; font-size: 1rem; }
    .ws-main-nav { padding-right: 8px; }
    .nk-navbar .ws-main-nav > li > a { padding-left: 8px !important; padding-right: 8px !important; }
}
.nk-navbar .nk-nav-table > .ws-nav-actions { padding-left: 20px; }
@media (max-width: 1199px) { .nk-navbar .nk-nav-table > .ws-nav-actions { padding-left: 12px; } }
@media (max-width: 991px) { .nk-navbar .nk-nav-table > .ws-nav-actions { padding-left: 0; } }
.ws-nav-actions > li.ws-nav-bell { display: table-cell; vertical-align: middle; }
@media (max-width: 991px) {
    .ws-nav-actions > li.ws-nav-bell,
    .ws-nav-actions > li.d-lg-none { display: inline-block !important; vertical-align: middle; }
    .ws-nav-actions > li.d-lg-none > a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
}

/* Felirat-logó: kis magyar zászlójel (vízszintes csíkok) + WOWS HUNGARY */
.ws-logo { gap: 12px; }
.ws-logo-flag { flex: 0 0 auto; width: 8px; height: 26px; background: linear-gradient(#ce2939 0 33.33%, #ffffff 33.33% 66.66%, #477050 66.66% 100%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
.ws-logo-text { font-size: 1.9rem; font-weight: 700; font-style: normal; letter-spacing: .04em; }
@media (max-width: 1199px) { .ws-logo-text { font-size: 1.6rem; } }
@media (max-width: 420px) {
    .ws-logo-flag { height: 22px; width: 7px; }
    .nk-navbar.nk-navbar-top .nk-nav-logo .ws-logo-text { font-size: 1.4rem !important; }
}
.nk-nav-logo .ws-logo { display: inline-flex !important; align-items: center; }
.nk-nav-logo .ws-logo-flag { display: inline-block !important; }

/* Mobilmenü: szélesebb panel, fejléc bezáró gombbal, nagy, elválasztott menüpontok */
#nk-nav-mobile.nk-navbar-side.nk-navbar-right-side {
    width: min(86vw, 340px);
    margin-right: calc(-1 * min(86vw, 340px));
    background: var(--ws-nav);
    border-left: 1px solid rgba(255, 255, 255, .08);
}
#nk-nav-mobile .ws-mobile-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px 10px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
#nk-nav-mobile .ws-mobile-head .nk-nav-logo { width: auto; padding: 0; }
#nk-nav-mobile .ws-logo-text { font-size: 1.5rem; }
.ws-mobile-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ws-text) !important; font-size: 2rem; line-height: 1; text-decoration: none !important; }
.ws-mobile-close:hover { color: #fff !important; background: rgba(255, 255, 255, .06); }
#nk-nav-mobile .nk-navbar-mobile-content { padding-top: 8px; }
#nk-nav-mobile .nk-nav > li > a,
#nk-nav-mobile .nk-nav .dropdown > li > a {
    align-items: center; padding: 15px 20px; line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: var(--ws-text); font-family: var(--ws-font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: .02em;
}
#nk-nav-mobile .nk-nav > li > a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
#nk-nav-mobile .nk-nav > li.active > a { color: #fff; box-shadow: inset 3px 0 0 var(--ws-line); }
#nk-nav-mobile .ws-mobile-account { margin: 8px 0 24px; padding: 12px 20px 0; border-top: 0; }
#nk-nav-mobile .ws-mobile-account-link { min-height: 48px; padding: 0; gap: 12px; font-size: 1.05rem; }
#nk-nav-mobile .ws-mobile-account-link .fa { width: 18px; color: var(--ws-text-muted); }
#nk-nav-mobile .ws-mobile-account .nk-btn { width: 100%; }

#nk-nav-mobile .nk-nav > li > a { display: flex; }
#nk-nav-mobile .nk-nav .bropdown-back > a { padding-left: 36px !important; }
#nk-nav-mobile .nk-nav .bropdown-back > a::after { left: 20px; }
.ws-nav-actions .ws-nav-icon, .ws-nav-actions .ws-nav-profile { vertical-align: middle; }
.ws-nav-logout { display: inline-flex; vertical-align: middle; }
.ws-nav-actions > li > a.ws-nav-icon, .ws-nav-actions > li > a.ws-nav-profile { line-height: 1; }
.nk-navbar .ws-nav-actions > li > a.ws-nav-icon,
.nk-navbar .ws-nav-actions > li > a.ws-nav-profile { display: inline-flex !important; align-items: center; justify-content: center; }

/* Letöltések */
.ws-downloads-page { margin-top: 8px; }
.ws-download-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ws-download { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; padding: 16px 18px; background: var(--ws-surface); }
.ws-download:hover { background: var(--ws-surface-2); }
.ws-download-thumb { width: 160px; height: 90px; object-fit: cover; }
.ws-download-thumb--icon { display: inline-flex; align-items: center; justify-content: center; background: var(--ws-surface-3); color: var(--ws-title); font-size: 2rem; }
.ws-download-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ws-download-title { margin: 2px 0 0; color: #fff; font-size: 1.35rem; line-height: 1.2; }
.ws-download-desc { margin: 4px 0 0; max-width: 72ch; color: var(--ws-text); line-height: 1.6; }
.ws-download-btn { white-space: nowrap; }
@media (max-width: 767px) {
    .ws-download { grid-template-columns: 1fr; }
    .ws-download-thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; }
    .ws-download-thumb--icon { height: 72px; aspect-ratio: auto; }
    .ws-download-btn { justify-self: start; }
}

/* Klánlista */
.ws-clans-page { margin-top: 8px; }
.ws-clan-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; flex: 1 1 auto; }
.ws-clan-filter .ws-forum-search { flex: 0 1 340px; }
.ws-clan-region { width: auto; min-height: 44px; }
.ws-clan-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ws-clan-card { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--ws-surface); transition: background-color .15s; }
.ws-clan-card:hover { background: var(--ws-surface-2); }
.ws-clan-card:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
.ws-clan-card-logo { flex: 0 0 64px; width: 64px; height: 64px; object-fit: cover; }
.ws-clan-card-logo--empty { display: inline-flex; align-items: center; justify-content: center; background: var(--ws-surface-3); color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.2rem; font-weight: 700; }
.ws-clan-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ws-clan-card-title { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.ws-clan-card-title a { color: var(--ws-title); text-decoration: none !important; }
.ws-clan-card:hover .ws-clan-card-title a { color: #fff; }
.ws-clan-tag-plain { color: var(--ws-text); font-weight: 600; }
.ws-clan-card-desc { margin: 2px 0 0; color: var(--ws-text); font-size: .95rem; line-height: 1.5; }
.ws-clan-card-chip { align-self: flex-start; margin-top: 4px; }
@media (max-width: 991px) { .ws-clan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .ws-clan-grid { grid-template-columns: 1fr; } .ws-clan-filter .ws-forum-search { flex: 1 1 100%; } }
@media (max-width: 1199px) { .nk-navbar .nk-nav-table > .ws-nav-actions { padding-left: 18px; } }
/* Klánoldal fejléce */
.ws-clan-hero { display: flex; gap: 20px; align-items: flex-start; padding: 20px; background: var(--ws-surface); }
.ws-clan-hero-logo { flex: 0 0 112px; width: 112px; height: 112px; object-fit: cover; font-size: 1.8rem; }
.ws-clan-hero-body { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.ws-clan-hero-desc { margin: 0; max-width: 70ch; color: var(--ws-text); font-size: 1.05rem; line-height: 1.65; }
.ws-clan-hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.ws-clan-hero-meta { align-items: center; }
.ws-clan-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 575px) { .ws-clan-hero { flex-direction: column; } .ws-clan-hero-logo { width: 80px; height: 80px; flex-basis: 80px; } }

/* Játékosprofil */
.ws-profile-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 28px; align-items: start; padding: 22px; background: var(--ws-surface); }
.ws-profile-avatar { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ws-profile-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 0; }
.ws-profile-facts dt { color: var(--ws-text-muted); font-weight: 400; font-size: .9rem; }
.ws-profile-facts dd { margin: 2px 0 0; color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.ws-profile-facts dd a { color: var(--ws-title); }
.ws-profile-facts dd a:hover { color: #fff; }
.ws-profile-links a { display: inline-flex; align-items: center; gap: 6px; }
.ws-profile-h { margin: 32px 0 14px; }
@media (max-width: 767px) {
    .ws-profile-hero { grid-template-columns: 1fr; }
    .ws-profile-avatar { flex-direction: row; }
    .ws-profile-facts { grid-template-columns: 1fr; }
    .ws-profile-edit { justify-self: start; }
}
.ws-profile-hero--edit { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.ws-edit-avatar { width: 88px; height: 88px; object-fit: cover; }
.ws-profile-name { margin: 0 0 4px; color: #fff; font-family: var(--ws-font-display); font-size: 1.6rem; font-weight: 700; }
@media (max-width: 767px) { .ws-profile-hero--edit { grid-template-columns: auto minmax(0, 1fr); } }
.ws-schedule { margin-bottom: 20px; }
.ws-schedule > p { margin: 0 0 12px; }
.ws-schedule-accept { margin: 0 0 14px; }
.ws-schedule-form { flex-wrap: wrap; }
.ws-schedule-label { flex: 1 1 100%; margin: 0; color: var(--ws-text); font-weight: 600; }
.ws-schedule-form .form-control { flex: 0 1 260px; color-scheme: dark; }

/* Fiókoldalak (belépés, regisztráció, jelszó) */
.ws-auth-page { margin-top: 8px; }
.ws-auth-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.ws-auth-card .ws-block-title { margin-bottom: 14px; }
.ws-auth-aside .ws-side-panel p { margin: 0 0 14px; }
.ws-auth-list { margin: 0; padding-left: 1.1em; color: var(--ws-text); line-height: 1.7; }
@media (max-width: 991px) { .ws-auth-page { grid-template-columns: 1fr; } }
.ws-auth-intro { margin: 0 0 16px; color: var(--ws-text); line-height: 1.6; }
.ws-auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 16px 0 0; color: var(--ws-text); }
.ws-auth-links a { color: var(--ws-title); text-decoration: underline; text-underline-offset: 2px; }
.ws-auth-links a:hover { color: #fff; }
@media (max-width: 991px) {
    .ws-champion a, .ws-profile-facts dd a { display: inline-block; padding: 10px 0; margin: -10px 0; }
}
.ws-stats-source { margin-top: 12px; }
.ws-stats-source a { color: var(--ws-title); text-decoration: underline; text-underline-offset: 2px; }
.ws-panel + .ws-panel { margin-top: 16px; }
.ws-panel-body > p:last-child { margin-bottom: 0; }

/* Klánstatisztika */
.ws-clan-stats { margin-top: 32px; }
.ws-clan-stats .ws-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.ws-clan-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.ws-clan-stat-grid > div { padding: 14px 16px; background: var(--ws-surface); }
.ws-stat-note { display: block; margin-top: 2px; color: var(--ws-text-muted); font-size: .8rem; }
.ws-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--ws-surface); }
.ws-table { width: 100%; border-collapse: collapse; color: var(--ws-text); font-size: .95rem; }
.ws-table th, .ws-table td { padding: 10px 12px; border-bottom: 1px solid var(--ws-divider); text-align: left; white-space: nowrap; }
.ws-table th.num, .ws-table td.num { text-align: right; }
.ws-table thead th { background: var(--ws-surface-2); }
.ws-table thead button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0; border: 0; background: none; color: var(--ws-text-muted); font-family: var(--ws-font-display); font-size: 1rem; font-weight: 600; cursor: pointer; }
.ws-table thead button:hover, .ws-table thead button[aria-sort] { color: #fff; }
.ws-table thead button[aria-sort="descending"]::after { content: "▼"; font-size: .6rem; }
.ws-table thead button[aria-sort="ascending"]::after { content: "▲"; font-size: .6rem; }
.ws-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.ws-table td a { color: var(--ws-title); }
.ws-table td a:hover { color: #fff; }
.ws-table .ws-rank { font-size: .95rem; }
.ws-stats-refresh { margin: 14px 0 0; }
@media (max-width: 767px) { .ws-clan-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Navbar elrendezés: flex a téma táblázata helyett, hogy a tartalom soha ne lógjon ki és ne csússzon egymásra. */
.nk-navbar.nk-navbar-top .nk-nav-table { display: flex !important; align-items: center; gap: 20px; height: 72px; }
.nk-navbar.nk-navbar-top .nk-nav-table > .nk-nav-logo { flex: 0 0 auto; display: inline-flex !important; align-items: center; width: auto; }
.nk-navbar.nk-navbar-top .nk-nav-table > .ws-main-nav { margin-left: auto; padding-right: 0; white-space: nowrap; }
.nk-navbar.nk-navbar-top .nk-nav-table > .ws-main-nav.d-lg-table-cell { display: none !important; }
@media (min-width: 992px) { .nk-navbar.nk-navbar-top .nk-nav-table > .ws-main-nav.d-lg-table-cell { display: block !important; } }
.nk-navbar.nk-navbar-top .nk-nav-table > .ws-nav-actions { flex: 0 0 auto; display: flex !important; align-items: center; gap: 4px; padding-left: 0 !important; margin-left: 0; }
.nk-navbar.nk-navbar-top .nk-nav-table > .ws-nav-actions > li { display: none; padding: 0 !important; }
.nk-navbar.nk-navbar-top .nk-nav-table > .ws-nav-actions > li.ws-nav-bell,
.nk-navbar.nk-navbar-top .nk-nav-table > .ws-nav-actions > li.d-lg-none { display: block !important; }
@media (min-width: 992px) {
    .nk-navbar.nk-navbar-top .nk-nav-table > .ws-nav-actions > li.d-lg-table-cell { display: block !important; }
    .nk-navbar.nk-navbar-top .nk-nav-table > .ws-nav-actions > li.d-lg-none { display: none !important; }
}
.nk-navbar.nk-navbar-top .ws-main-nav > li > a { padding-left: 12px !important; padding-right: 12px !important; }
@media (max-width: 1199px) {
    .nk-navbar.nk-navbar-top .ws-main-nav > li > a { padding-left: 7px !important; padding-right: 7px !important; font-size: .95em; }
    .nk-navbar.nk-navbar-top .nk-nav-table { gap: 12px; }
}
@media (max-width: 991px) { .nk-navbar.nk-navbar-top .nk-nav-table { height: 64px; justify-content: space-between; } }
@media (min-width: 992px) {
    .nk-navbar.nk-navbar-top .nk-nav-table > .ws-main-nav.d-lg-table-cell { display: flex !important; align-items: center; flex: 0 1 auto; min-width: 0; }
    .nk-navbar.nk-navbar-top .ws-main-nav > li { flex: 0 0 auto; display: block; }
}
.nk-navbar.nk-navbar-top .nk-nav-table > .ws-main-nav,
.nk-navbar.nk-navbar-top .nk-nav-table > .ws-nav-actions { width: auto !important; flex-shrink: 0 !important; }
.nk-navbar.nk-navbar-top .nk-nav-table > .ws-nav-actions { margin-left: 14px !important; padding-left: 14px !important; border-left: 1px solid rgba(255, 255, 255, .12); }
@media (max-width: 991px) { .nk-navbar.nk-navbar-top .nk-nav-table > .ws-nav-actions { margin-left: 0 !important; padding-left: 0 !important; border-left: 0; } }
.ws-ranking-page { margin-top: 8px; }
.ws-ranking-page .ws-table td a { color: var(--ws-title); font-weight: 600; }

/* Fiókmenü a navbarban */
.ws-account { position: relative; }
.ws-account-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--ws-text); font-family: var(--ws-font-display); font-size: 1.05rem; font-weight: 600; cursor: pointer; }
.ws-account-toggle:hover, .ws-account-toggle[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .06); }
.ws-account-toggle .fa-angle-down { transition: transform .15s; }
.ws-account-toggle[aria-expanded="true"] .fa-angle-down { transform: rotate(180deg); }
.ws-account-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1005; min-width: 220px; padding: 6px 0; background: var(--ws-surface-2); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); border-top: 2px solid var(--ws-line); }
.ws-account-menu a, .ws-account-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--ws-text) !important; font-size: .95rem; text-align: left; text-decoration: none !important; white-space: nowrap; cursor: pointer; }
.ws-account-menu a:hover, .ws-account-menu button:hover, .ws-account-menu a:focus-visible, .ws-account-menu button:focus-visible { background: var(--ws-surface-3); color: #fff !important; }
.ws-account-menu .fa { width: 16px; color: var(--ws-text-muted); }
.ws-account-logout { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--ws-divider); }
@media (max-width: 1199px) { .ws-account-name { display: none; } }

/* Felső fióksáv (desktop) */
.ws-topbar { background: #0a0f15; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ws-topbar-inner { display: flex; align-items: center; justify-content: flex-end; gap: 4px; height: 36px; }
.ws-topbar-link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; color: var(--ws-text) !important; font-size: .9rem; text-decoration: none !important; }
.ws-topbar-link:hover { color: #fff !important; background: rgba(255, 255, 255, .05); }
.ws-topbar-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ws-gold); color: #111; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.ws-topbar-cta { display: inline-flex; align-items: center; height: 26px; margin-left: 6px; padding: 0 12px; background: linear-gradient(var(--ws-cta-from), var(--ws-cta-to)); color: var(--ws-cta-text) !important; font-family: var(--ws-font-display); font-size: .95rem; font-weight: 700; text-decoration: none !important; }
.ws-topbar-cta:hover { filter: brightness(1.1); }
.ws-topbar .ws-account-toggle { min-height: 36px; font-size: .95rem; }
.ws-topbar .ws-account-menu { top: 100%; }
.ws-topbar .ws-account-name { display: inline !important; }
/* A főmenü desktopon: logó + menüpontok, a menü a jobb szélig ér. */
@media (min-width: 992px) {
    .nk-navbar.nk-navbar-top .nk-nav-table > .ws-nav-actions { display: none !important; }
    .nk-navbar.nk-navbar-top .ws-main-nav > li:last-child > a { padding-right: 0 !important; }
}
@media (min-width: 992px) {
    .nk-navbar.nk-navbar-top .ws-main-nav > li:last-child,
    .nk-navbar.nk-navbar-top .ws-main-nav > li:last-child > a { margin-right: 0 !important; }
}
/* Bejelentkezés: keretes gomb a felső sávban, hogy elsőre is észrevehető legyen */
.ws-topbar-login { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; color: #fff !important; font-family: var(--ws-font-display); font-size: .95rem; font-weight: 700; text-decoration: none !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.ws-topbar-login:hover { box-shadow: inset 0 0 0 1px #fff; background: rgba(255, 255, 255, .06); }
.ws-topbar-login .fa { color: var(--ws-title); }

/* ===== Hajók: lista, hajólap, történelem ===== */
.ws-ships-tabs { margin-bottom: 18px; }
.ws-ship-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.ws-ship-filter .ws-forum-search { flex: 1 1 240px; }
.ws-ship-filter select.form-control { flex: 0 1 190px; width: auto; }

.ws-ship-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ws-ship-card { position: relative; display: flex; flex-direction: column; background: var(--ws-surface); border-bottom: 2px solid transparent; transition: background-color .15s, border-color .15s; }
.ws-ship-card:hover, .ws-ship-card:focus-within { background: var(--ws-surface-2); border-bottom-color: var(--ws-line); }
/* A szint római száma a kártya bal felső sarkában, mint a játék kikötőjében. */
.ws-ship-tier { position: absolute; top: 8px; left: 10px; z-index: 1; color: var(--ws-gold); font-family: var(--ws-font-display); font-size: 1.35rem; font-weight: 700; line-height: 1; }
.ws-ship-card-img { display: block; width: 100%; height: auto; aspect-ratio: 214 / 126; object-fit: contain; padding: 10px 10px 0 34px; }
.ws-ship-card-body { padding: 4px 14px 14px; }
.ws-ship-card-title { margin: 0 0 4px; font-size: 1.2rem; line-height: 1.2; }
.ws-ship-card-title a { color: var(--ws-title); text-decoration: none !important; }
.ws-ship-card:hover .ws-ship-card-title a { color: #fff; }
.ws-ship-card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.ws-ship-grid--compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

.ws-ship-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 24px; background: radial-gradient(ellipse at 30% 60%, var(--ws-surface-3), var(--ws-surface) 70%); }
.ws-ship-hero-media img { display: block; width: 100%; height: auto; }
.ws-ship-hero-tier { margin: 0; color: var(--ws-gold); font-family: var(--ws-font-display); font-size: 1.1rem; font-weight: 600; }
.ws-ship-hero-tier span { font-size: 1.6rem; font-weight: 700; margin-right: 4px; }
.ws-ship-hero-name { margin: 0 0 6px; color: #fff; font-family: var(--ws-font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1; }
.ws-ship-hero .ws-meta a { color: var(--ws-text); }
.ws-ship-hero .ws-meta a:hover { color: #fff; }
.ws-ship-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 18px 0 8px; background: var(--ws-divider); }
.ws-ship-facts > div { padding: 8px 12px; background: var(--ws-surface); }
.ws-ship-facts dt { color: var(--ws-text-muted); font-size: .8rem; font-weight: 400; }
.ws-ship-facts dd { margin: 0; color: #fff; font-family: var(--ws-font-display); font-size: 1.2rem; font-weight: 600; }
.ws-ship-facts--side { grid-template-columns: 1fr; margin: 0; }
.ws-ship-section { margin-top: 32px; }
.ws-ship-desc { max-width: 72ch; color: var(--ws-text); line-height: 1.7; }

.ws-history-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ws-history-card { position: relative; display: flex; flex-direction: column; background: var(--ws-surface); }
.ws-history-card:hover, .ws-history-card:focus-within { background: var(--ws-surface-2); }
.ws-history-card-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ws-history-card-body { padding: 14px 16px 16px; }
.ws-history-card-title { margin: 0 0 4px; font-size: 1.4rem; }
.ws-history-card-title a { color: var(--ws-title); text-decoration: none !important; }
.ws-history-card:hover .ws-history-card-title a { color: #fff; }
.ws-history-card-text { margin: 8px 0 0; color: var(--ws-text); line-height: 1.55; }

.ws-side-ships li { flex-direction: row; align-items: center; gap: 10px; }
.ws-side-ships img { width: 80px; height: auto; flex-shrink: 0; }
.ws-side-ships li > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* Átvett írások szerzője és eredeti helye. */
.ws-byline { margin: 12px 0 20px; padding: 10px 14px; background: rgba(255, 255, 255, .04); color: var(--ws-text-muted); font-size: .9rem; }
.ws-byline strong { color: var(--ws-text); }
.ws-byline a { color: var(--ws-text); text-decoration: underline; }

/* Képek a cikkekben: középre, aláírással. */
.ws-entry figure { margin: 1.4em 0; }
.ws-entry figure img { display: block; margin: 0 auto; }
.ws-entry figcaption { margin-top: 6px; color: var(--ws-text-muted); font-size: .9rem; font-style: italic; text-align: center; }
.ws-entry table { width: 100%; margin: 0 0 1.2em; border-collapse: collapse; font-size: .92rem; display: block; overflow-x: auto; }
.ws-entry td, .ws-entry th { padding: 6px 8px; border: 1px solid var(--ws-divider); vertical-align: top; }
.ws-entry hr { border: 0; border-top: 1px solid var(--ws-divider); margin: 1.6em 0; }

@media (max-width: 991px) {
    .ws-ship-hero { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
}
@media (max-width: 575px) {
    .ws-ship-filter select.form-control { flex: 1 1 100%; }
    .ws-ship-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .ws-ship-card-img { padding-left: 26px; }
    .ws-ship-card-title { font-size: 1.05rem; }
    .ws-ship-facts { grid-template-columns: 1fr 1fr; }
}
.ws-ship-facts:not(.ws-ship-facts--side) > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ws-toc ol { margin: 0; padding-left: 1.3em; color: var(--ws-text-muted); }
.ws-toc li { padding: 4px 0; }
.ws-toc a { color: var(--ws-text); text-decoration: none; }
.ws-toc a:hover, .ws-toc a:focus-visible { color: #fff; text-decoration: underline; }

.ws-article-aside--static { position: static; }

/* Különleges hajó: narancs, hogy elváljon a prémium aranytól (6.4:1 a kártyán). */
.ws-chip--special { background: transparent; color: #ff9a5c; border: 1px solid #ff9a5c; }
.ws-ship-legend { margin: 4px 0 10px; color: var(--ws-text); }
.ws-ship-legend summary { display: inline-block; cursor: pointer; color: var(--ws-text-muted); font-size: .9rem; text-decoration: underline; text-underline-offset: 2px; }
.ws-ship-legend summary:hover { color: #fff; }
.ws-ship-legend dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; margin: 10px 0 0; background: var(--ws-divider); }
.ws-ship-legend dl > div { padding: 10px 12px; background: var(--ws-surface); }
.ws-ship-legend dt { color: #fff; font-family: var(--ws-font-display); font-size: 1.05rem; font-weight: 600; }
.ws-ship-legend dd { margin: 2px 0 0; font-size: .9rem; line-height: 1.5; }

/* Mobil: a hajókártyák sorok (kép balra), a történelmi kártyák kisképesek, a fejléc kevesebb kerettel. */
@media (max-width: 575px) {
    .ws-ship-filter select.form-control { flex: 1 1 calc(50% - 5px); }
    .ws-ship-grid, .ws-ship-grid--compact { grid-template-columns: 1fr; gap: 6px; }
    .ws-ship-card { flex-direction: row; align-items: center; min-height: 72px; }
    .ws-ship-tier { position: static; flex: 0 0 34px; text-align: center; font-size: 1.15rem; }
    .ws-ship-card-img { flex: 0 0 104px; width: 104px; padding: 4px 0; }
    .ws-ship-card-body { flex: 1; min-width: 0; padding: 8px 12px 8px 8px; }
    .ws-ship-card-title { font-size: 1.1rem; }
    .ws-ship-card .ws-meta { font-size: .8rem; }
    .ws-ship-card-chips { margin-top: 4px; }

    .ws-ship-hero { padding: 0; background: none; }
    .ws-ship-facts > div { padding: 6px 10px; }
    .ws-ship-facts dd { font-size: 1.1rem; }
    .ws-ship-section { margin-top: 24px; }

    .ws-history-list { grid-template-columns: 1fr; gap: 8px; }
    .ws-history-card { flex-direction: row; align-items: stretch; }
    .ws-history-card-media { flex: 0 0 104px; }
    .ws-history-card-media img { height: 100%; aspect-ratio: auto; min-height: 90px; }
    .ws-history-card-body { padding: 10px 12px; min-width: 0; }
    .ws-history-card-title { font-size: 1.15rem; }
    .ws-history-card-text { display: none; }

    .ws-ship-legend dl { grid-template-columns: 1fr; }
}
.ws-ship-desc { white-space: pre-line; }

/* Hajólap: részletes adatok csoportokban, fejlesztési fa, modulok. */
.ws-spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; align-items: start; }
.ws-spec { background: var(--ws-surface); padding: 14px 16px; }
.ws-spec-title { margin: 0 0 8px; color: var(--ws-title); font-size: 1.2rem; }
.ws-spec dl { margin: 0; }
.ws-spec dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--ws-divider); }
.ws-spec dt { color: var(--ws-text-muted); font-weight: 400; font-size: .9rem; }
.ws-spec dd { margin: 0; color: #fff; text-align: right; font-size: .92rem; }
.ws-tree { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-tree-link, .ws-tree-current { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 12px; background: var(--ws-surface); color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.1rem; font-weight: 600; text-decoration: none !important; }
.ws-tree-link:hover, .ws-tree-link:focus-visible { background: var(--ws-surface-2); color: #fff; }
.ws-tree-current { background: transparent; border: 1px solid var(--ws-line); color: #fff; }
.ws-tree-dir { color: var(--ws-text-muted); font-family: var(--ws-font-body); font-size: .8rem; font-weight: 400; }
.ws-ship-tier-inline { color: var(--ws-gold); }
.ws-module-table td:nth-child(3), .ws-module-table td:nth-child(4), .ws-module-table th:nth-child(3), .ws-module-table th:nth-child(4) { text-align: right; white-space: nowrap; }
@media (max-width: 575px) {
    .ws-spec-grid { grid-template-columns: 1fr; }
    .ws-tree { flex-direction: column; align-items: stretch; }
}

/* Hajólap elrendezés: az adatcsoportok oszlopokban folynak (nincs üres lyuk a rövid dobozok alatt),
   a hosszú megnevezések a címke alá kerülnek, a modultábla nem nyúlik szét. */
.ws-spec-grid { display: block; columns: 3 300px; column-gap: 12px; }
.ws-spec { break-inside: avoid; margin-bottom: 12px; }
.ws-spec dl > div { align-items: baseline; }
.ws-spec dl > .ws-spec-row--wide { flex-direction: column; gap: 2px; }
.ws-spec-row--wide dd { text-align: left; color: var(--ws-text); }
.ws-spec-row--wide dt { color: #fff; }
.ws-module-table { max-width: 860px; }
.ws-ship-section--tree { margin-top: 16px; }
.ws-ship-page .ws-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
@media (max-width: 575px) {
    .ws-spec-grid { columns: 1; }
}
.ws-ship-about { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 14px 0 0; }
.ws-ship-about dt { color: var(--ws-text-muted); font-size: .8rem; font-weight: 400; }
.ws-ship-about dd { margin: 0; color: #fff; font-family: var(--ws-font-display); font-size: 1.1rem; font-weight: 600; }
.ws-ship-hero-tier { font-size: 1.25rem; }
.ws-ship-hero-tier span { font-size: 2rem; }
/* Három állapot: széles két oszlop, tablet (576–991 px) két oszlop kisebb térközzel, telefon egy oszlop. */
@media (min-width: 576px) and (max-width: 991px) {
    .ws-ship-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 16px; }
    .ws-ship-facts { grid-template-columns: 1fr; }
    .ws-ship-facts > div:last-child:nth-child(odd) { grid-column: auto; }
}

/* Karusszel: a diák egy rácscellában ülnek egymáson, így a doboz mindig a legmagasabb dia magasságát veszi fel.
   Korábban kisebb nézetben (min-height: 0) a látható dia tartalma adta a magasságot, és váltáskor ugrált az oldal. */
.ws-hero { display: grid; }
.ws-hero > .ws-hero-slide { grid-area: 1 / 1; position: relative; inset: auto; }
.ws-hero > .ws-hero-slide:not(.is-active) { pointer-events: none; }
.ws-article-main > .ws-article-excerpt { margin: 16px 0; font-size: 1.1rem; color: #fff; }
/* Hírek forrásmegjelölése a cikk végén. */
.ws-entry .ws-source { margin-top: 2em; padding-top: 12px; border-top: 1px solid var(--ws-divider); color: var(--ws-text-muted); font-size: .9rem; }
.ws-entry .ws-source a { color: var(--ws-text); }

/* Logó (D változat): beágyazott SVG, a magasság adja a méretet. */
.ws-logo-svg { display: block; height: 52px; width: auto; aspect-ratio: 232 / 56; }
@media (max-width: 991px) { .ws-logo-svg { height: 44px; } }
@media (max-width: 420px) { .ws-logo-svg { height: 38px; } }
.ws-mobile-head .ws-logo-svg { height: 40px; }
/* Rólunk és hibaoldal: a menüsor logója nagyobb méretben. */
.ws-about-badge, .ws-error-badge { width: auto; }
.ws-about-badge .ws-logo-svg { height: 96px; max-width: 100%; }
.ws-error-badge .ws-logo-svg { height: 72px; max-width: 100%; }
@media (max-width: 575px) { .ws-about-badge .ws-logo-svg { height: 72px; } .ws-error-badge .ws-logo-svg { height: 56px; } }

/* ===== Főoldal: „Most a játékban” ===== */
.ws-now { position: relative; background: var(--ws-nav); border-bottom: 3px solid var(--ws-line); overflow: hidden; }
.ws-now-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-now-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 22, 31, .95) 0%, rgba(15, 22, 31, .88) 45%, rgba(15, 22, 31, .6) 70%, rgba(15, 22, 31, .78) 100%); }
.ws-now-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.ws-now-kicker { margin: 0 0 4px; color: var(--ws-gold); font-family: var(--ws-font-display); font-size: 1.15rem; font-weight: 700; }
.ws-now-title { margin: 0 0 12px; color: #fff; font-family: var(--ws-font-display); font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.02; }
.ws-now-text { max-width: 52ch; margin: 0 0 22px; color: var(--ws-text); font-size: 1.05rem; line-height: 1.6; }
.ws-now-cycle { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; max-width: 460px; }
.ws-now-cycle span { position: relative; height: 6px; background: rgba(255, 255, 255, .2); }
.ws-now-cycle i { position: absolute; inset: 0 auto 0 0; background: var(--ws-line); }
.ws-now-dates { display: flex; justify-content: space-between; max-width: 460px; margin: 6px 0 22px; color: var(--ws-text-muted); font-size: .82rem; }
.ws-now-events { background: rgba(11, 17, 24, .82); padding: 20px 22px; }
.ws-now-events-title { margin: 0 0 6px; color: #fff; font-family: var(--ws-font-display); font-size: 1.35rem; }
.ws-now-events ul { list-style: none; margin: 0; padding: 0; }
.ws-now-ev { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--ws-divider); }
.ws-now-ev img { width: 64px; height: 40px; object-fit: cover; }
.ws-now-ev-name { display: flex; flex-direction: column; min-width: 0; color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.12rem; font-weight: 700; line-height: 1.15; }
.ws-now-ev-name a { color: var(--ws-title); text-decoration: none !important; }
.ws-now-ev:hover .ws-now-ev-name a, .ws-now-ev-name a:focus-visible { color: #fff; }
.ws-now-ev-name small { color: var(--ws-text-muted); font-family: var(--ws-font-body); font-size: .8rem; font-weight: 400; }
.ws-now-ev-left { color: #fff; font-family: var(--ws-font-display); font-size: 1.15rem; font-weight: 700; text-align: right; line-height: 1.05; white-space: nowrap; }
.ws-now-ev-left.is-soon { color: var(--ws-gold); }
.ws-now-ev-left small { display: block; color: var(--ws-text-muted); font-family: var(--ws-font-body); font-size: .75rem; font-weight: 400; }
@media (max-width: 991px) {
    .ws-now-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
    .ws-now-main::after { background: rgba(15, 22, 31, .86); }
}
@media (max-width: 575px) {
    .ws-now-events { padding: 14px 14px; margin: 0 -8px; }
    .ws-now-ev { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; }
    .ws-now-ev img { width: 52px; height: 34px; }
}

/* ===== Hírek: nézetváltó és idővonal ===== */
.ws-view-switch { display: inline-flex; border: 1px solid var(--ws-divider); }
.ws-view-switch a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; color: var(--ws-text); font-family: var(--ws-font-display); font-size: 1rem; font-weight: 600; text-decoration: none !important; }
.ws-view-switch a + a { border-left: 1px solid var(--ws-divider); }
.ws-view-switch a:hover { color: #fff; background: var(--ws-surface-2); }
.ws-view-switch a[aria-current="page"] { color: #fff; background: var(--ws-surface-3); box-shadow: inset 0 -2px 0 var(--ws-line); }
.ws-timeline { list-style: none; margin: 8px 0 0; padding: 0; background: var(--ws-surface); }
.ws-tl-group { display: grid; grid-template-columns: 170px minmax(0, 1fr); border-top: 1px solid var(--ws-divider); }
.ws-tl-group:first-child { border-top: 0; }
.ws-tl-week { padding: 18px 16px; border-right: 1px solid var(--ws-divider); }
.ws-tl-group.is-current .ws-tl-week { box-shadow: inset 3px 0 0 var(--ws-gold); }
.ws-tl-title { margin: 0; color: #fff; font-family: var(--ws-font-display); font-size: 1.3rem; line-height: 1.15; }
.ws-tl-range { margin: 2px 0 0; color: var(--ws-text-muted); font-size: .85rem; }
.ws-tl-now { margin: 6px 0 0; color: var(--ws-gold); font-size: .85rem; font-weight: 600; }
.ws-tl-items { list-style: none; margin: 0; padding: 14px 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.ws-tl-item { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; }
.ws-tl-item img { width: 112px; height: 63px; object-fit: cover; }
.ws-tl-item .ws-meta { margin: 0 0 2px; font-size: .78rem; }
.ws-tl-item-title { margin: 0; font-size: 1.08rem; line-height: 1.2; }
.ws-tl-item-title a { color: var(--ws-title); text-decoration: none !important; }
.ws-tl-item:hover .ws-tl-item-title a, .ws-tl-item-title a:focus-visible { color: #fff; }
@media (max-width: 767px) {
    .ws-tl-group { grid-template-columns: 1fr; }
    .ws-tl-week { border-right: 0; padding: 14px 14px 0; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
    .ws-tl-group.is-current .ws-tl-week { box-shadow: none; }
    .ws-tl-items { padding: 10px 14px 14px; grid-template-columns: 1fr; }
    .ws-tl-item { grid-template-columns: 96px minmax(0, 1fr); }
    .ws-tl-item img { width: 96px; height: 54px; }
}

/* ===== Hajólap: értékek a szint átlagához mérve ===== */
.ws-cmp { margin-top: 14px; }
.ws-cmp-head { margin: 0 0 4px; color: var(--ws-text-muted); font-size: .85rem; }
.ws-cmp-row { padding: 9px 0; border-top: 1px solid var(--ws-divider); }
.ws-cmp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ws-cmp-top span { color: var(--ws-text-muted); font-size: .9rem; }
.ws-cmp-top b { color: #fff; font-family: var(--ws-font-display); font-size: 1.25rem; }
.ws-cmp-bar { position: relative; height: 8px; margin-top: 6px; background: rgba(255, 255, 255, .14); }
.ws-cmp-bar i { position: absolute; inset: 0 auto 0 0; min-width: 3px; background: var(--ws-line); }
.ws-cmp-bar s { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ws-gold); }
.ws-cmp-note { margin: 4px 0 0; color: var(--ws-text-muted); font-size: .8rem; }
.ws-cmp-note strong { color: var(--ws-text); font-weight: 600; }
.ws-cmp-legend { margin: 8px 0 0; color: var(--ws-text-muted); font-size: .8rem; }
.ws-cmp-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 4px; background: var(--ws-line); vertical-align: -1px; }
.ws-cmp-legend s { display: inline-block; width: 2px; height: 12px; margin: 0 4px 0 12px; background: var(--ws-gold); vertical-align: -2px; }

/* Képgaléria a cikkekben: rács, kattintásra a kép teljes méretben nyílik. */
.ws-entry .ws-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 1em 0 .5em; max-width: none; }
.ws-entry .ws-gallery figure { margin: 0; background: var(--ws-surface); }
.ws-entry .ws-gallery a { display: block; text-decoration: none; }
.ws-entry .ws-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ws-entry .ws-gallery a:hover img, .ws-entry .ws-gallery a:focus-visible img { opacity: .85; }
.ws-entry .ws-gallery figcaption { margin: 0; padding: 8px 10px 10px; font-size: .85rem; text-align: left; font-style: normal; line-height: 1.45; }
.ws-entry .ws-photo-credit { color: var(--ws-text-muted); font-size: .85rem; }

/* ===== Képnagyító (galéria) ===== */
.ws-entry .ws-zoomable { cursor: zoom-in; }
.ws-entry img.ws-zoomable:focus-visible, .ws-entry a.ws-zoomable:focus-visible { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
html.ws-lb-open { overflow: hidden; }
.ws-lb { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 56px 64px; background: rgba(6, 10, 15, .94); }
.ws-lb[hidden] { display: none; }
.ws-lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.ws-lb-figure img { display: block; max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.ws-lb-figure figcaption { max-width: 72ch; margin-top: 10px; color: var(--ws-text); font-size: .95rem; text-align: center; }
.ws-lb-close, .ws-lb-prev, .ws-lb-next { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(15, 22, 31, .8); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.ws-lb-close:hover, .ws-lb-prev:hover, .ws-lb-next:hover { background: var(--ws-surface-3); border-color: #fff; }
.ws-lb-close:focus-visible, .ws-lb-prev:focus-visible, .ws-lb-next:focus-visible { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
.ws-lb-close { top: 12px; right: 12px; }
.ws-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.ws-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.ws-lb-prev[hidden], .ws-lb-next[hidden] { display: none; }
.ws-lb-count { position: absolute; top: 22px; left: 0; right: 0; margin: 0; color: var(--ws-text-muted); font-size: .9rem; text-align: center; pointer-events: none; }
@media (max-width: 575px) {
    .ws-lb { padding: 56px 8px 72px; }
    .ws-lb-prev, .ws-lb-next { top: auto; bottom: 12px; transform: none; }
    .ws-lb-prev { left: calc(50% - 56px); } .ws-lb-next { right: calc(50% - 56px); }
}
/* Oldalsáv: futó események. */
.ws-side-events { list-style: none; margin: 0; padding: 0; }
.ws-side-events li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--ws-divider); }
.ws-side-events li:last-child { border-bottom: 0; padding-bottom: 0; }
.ws-side-ev-name { display: flex; flex-direction: column; min-width: 0; color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.05rem; font-weight: 600; line-height: 1.2; }
.ws-side-ev-name a { color: var(--ws-title); text-decoration: none !important; }
.ws-side-ev-name a:hover { color: #fff; }
.ws-side-ev-name small { color: var(--ws-text-muted); font-family: var(--ws-font-body); font-size: .78rem; font-weight: 400; }
.ws-side-ev-left { color: #fff; font-family: var(--ws-font-display); font-size: 1.05rem; font-weight: 700; text-align: right; white-space: nowrap; line-height: 1.1; }
.ws-side-ev-left.is-soon { color: var(--ws-gold); }
.ws-side-ev-left small { display: block; color: var(--ws-text-muted); font-family: var(--ws-font-body); font-size: .75rem; font-weight: 400; }

/* ===== Divíziókereső ===== */
.ws-lfg-intro { max-width: 72ch; color: var(--ws-text); }
.ws-lfg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.ws-lfg-list { list-style: none; margin: 0; padding: 0; }
.ws-lfg-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 14px 16px; margin-bottom: 8px; background: var(--ws-surface); }
.ws-lfg-when { color: var(--ws-gold); font-family: var(--ws-font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.ws-lfg-title { margin: 0 0 4px; color: #fff; font-size: 1.2rem; }
.ws-lfg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.ws-lfg-chips span { padding: 1px 8px; background: var(--ws-surface-3); color: var(--ws-text); font-size: .8rem; }
.ws-lfg-note { margin: 0 0 6px; color: var(--ws-text); }
.ws-lfg-del { padding: 6px 12px; }
@media (max-width: 991px) { .ws-lfg-layout { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .ws-lfg-item { grid-template-columns: 1fr; gap: 6px; } }

/* ===== Főoldal: Kláncsaták ===== */
.ws-cb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; align-items: stretch; }
.ws-cb-poster { position: relative; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; background: var(--ws-nav) url('/assets/images/ws-cover-placeholder.svg') center / cover; }
.ws-cb-poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-cb-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 22, 31, .97) 30%, rgba(15, 22, 31, .4)); }
.ws-cb-poster-body { position: relative; z-index: 1; width: 100%; padding: 22px; }
.ws-cb-kick { margin: 0; color: var(--ws-gold); font-family: var(--ws-font-display); font-size: 1.05rem; font-weight: 700; }
.ws-cb-name { margin: 2px 0 12px; font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1; }
.ws-cb-name a { color: #fff; text-decoration: none !important; }
.ws-cb-name a:hover { color: var(--ws-title); }
.ws-cb-count { display: flex; gap: 8px; margin: 0 0 14px; }
.ws-cb-count div { min-width: 62px; padding: 6px 10px; background: rgba(255, 255, 255, .08); text-align: center; }
.ws-cb-count b { display: block; color: #fff; font-family: var(--ws-font-display); font-size: 1.6rem; line-height: 1; }
.ws-cb-count span { color: var(--ws-text-muted); font-size: .72rem; }
.ws-cb-slots { height: 6px; margin: 0 0 4px; background: rgba(255, 255, 255, .18); }
.ws-cb-slots i { display: block; height: 100%; background: var(--ws-line); }
.ws-cb-slots-l { margin: 0 0 14px; color: var(--ws-text-muted); font-size: .85rem; }
.ws-cb-results { padding: 18px; background: var(--ws-surface); }
.ws-cb-results ul { list-style: none; margin: 0; padding: 0; }
.ws-cb-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) 70px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--ws-divider); }
.ws-cb-kind { color: var(--ws-text-muted); font-size: .74rem; line-height: 1.25; }
.ws-cb-kind b { display: block; color: var(--ws-text); font-weight: 600; }
.ws-cb-team { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ws-text); font-family: var(--ws-font-display); font-size: 1.05rem; font-weight: 700; }
.ws-cb-team.is-right { flex-direction: row-reverse; text-align: right; }
.ws-cb-team img { width: 30px; height: 30px; object-fit: cover; flex: 0 0 auto; }
.ws-cb-team-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-cb-tag { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 30px; background: var(--ws-surface-3); color: #fff; font-size: .8rem; }
.ws-cb-team.is-won { color: #fff; }
.ws-cb-team.is-won .ws-cb-tag { background: var(--ws-line); color: #0f161f; }
.ws-cb-score { color: #fff; font-family: var(--ws-font-display); font-size: 1.3rem; font-weight: 800; text-align: center; text-decoration: none !important; line-height: 1.1; }
.ws-cb-score:hover { color: var(--ws-title); }
.ws-cb-score small { display: block; color: var(--ws-gold); font-family: var(--ws-font-body); font-size: .68rem; font-weight: 400; }
@media (max-width: 991px) { .ws-cb { grid-template-columns: 1fr; } }
@media (max-width: 575px) {
    .ws-cb-row { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); }
    .ws-cb-kind { grid-column: 1 / -1; }
    .ws-cb-team { font-size: .95rem; }
    .ws-cb-tag { width: 34px; }
}

/* ===== Főoldal: Közösség ===== */
.ws-cm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ws-cm-card { padding: 18px; background: var(--ws-surface); }
.ws-cm-card .ws-block-head { margin-bottom: 4px; }
.ws-cm-list { list-style: none; margin: 0; padding: 0; }
.ws-cm-list > li { position: relative; padding: 9px 0; border-top: 1px solid var(--ws-divider); }
.ws-cm-list small, .ws-cm-rank small { display: block; color: var(--ws-text-muted); font-size: .78rem; line-height: 1.4; }
.ws-cm-rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ws-cm-rank li { counter-increment: r; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--ws-divider); }
.ws-cm-rank li::before { content: counter(r); color: var(--ws-text-muted); font-family: var(--ws-font-display); font-size: 1.1rem; font-weight: 700; }
.ws-cm-rank b { color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.08rem; overflow-wrap: anywhere; }
.ws-cm-pr { font-family: var(--ws-font-display); font-size: 1.2rem; font-weight: 800; }
.ws-cm-note { margin: 8px 0 0; color: var(--ws-text-muted); font-size: .78rem; }
.ws-cm-clan { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.ws-cm-clan img, .ws-cm-clan-tag { width: 44px; height: 44px; object-fit: cover; }
.ws-cm-clan-tag { display: flex; align-items: center; justify-content: center; background: var(--ws-surface-3); color: #fff; font-family: var(--ws-font-display); font-size: .85rem; font-weight: 700; }
.ws-cm-clan-text a, .ws-cm-topic-text a, .ws-cm-cal a, .ws-cm-stream a { color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.08rem; font-weight: 700; text-decoration: none !important; line-height: 1.2; }
.ws-cm-clan:hover a, .ws-cm-topic:hover a, .ws-cm-cal a:hover, .ws-cm-stream a:hover { color: #fff; }
.ws-cm-open { padding: 1px 6px; border: 1px solid #7fe08a; color: #7fe08a; font-size: .72rem; white-space: nowrap; }
.ws-cm-lfg b { display: block; color: #fff; font-family: var(--ws-font-display); font-size: 1.05rem; line-height: 1.2; }
.ws-cm-lfg .ws-lfg-chips { margin: 4px 0 2px; }
.ws-cm-cal { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 12px; align-items: center; }
.ws-cm-cal strong { color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.08rem; }
.ws-cm-day { padding: 4px 0; background: var(--ws-surface-3); text-align: center; line-height: 1; }
.ws-cm-day b { display: block; color: #fff; font-family: var(--ws-font-display); font-size: 1.45rem; }
.ws-cm-day span { color: var(--ws-text-muted); font-size: .7rem; }
.ws-cm-discord { background: #2c2f5a; color: #e3e5fb; }
.ws-cm-discord p { margin: 0 0 10px; }
.ws-cm-online b { color: #fff; font-family: var(--ws-font-display); font-size: 2.1rem; margin-right: 4px; }
.ws-cm-dot { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: #3ba55d; }
.ws-cta.ws-cta--discord { background: #5865f2; color: #fff; }
.ws-cm-stream { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; align-items: start; }
.ws-cm-thumb { position: relative; display: block; }
.ws-cm-thumb img { display: block; width: 112px; height: 63px; object-fit: cover; }
.ws-cm-thumb em { position: absolute; top: 4px; left: 4px; padding: 0 5px; background: #e91916; color: #fff; font-size: .65rem; font-style: normal; font-weight: 700; }
.ws-cm-forum { margin-top: 16px; }
.ws-cm-topic { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.ws-cm-av { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ws-surface-3); color: #fff; }
.ws-cm-new { padding: 0 6px; border: 1px solid var(--ws-gold); color: var(--ws-gold); font-size: .72rem; }
@media (max-width: 991px) { .ws-cm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ws-cm-grid { grid-template-columns: 1fr; } }
.ws-cb-poster { background: linear-gradient(135deg, #263749 0%, #0f161f 70%); }
.ws-cm-forum { margin-top: 0; }
@media (max-width: 991px) { .ws-cm-forum { grid-column: 1 / -1 !important; } }
@media (max-width: 575px) { .ws-cb-row { grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); } .ws-cb-score small { white-space: nowrap; } }

/* ── Kláncsaták oldal: kihívások és győztesek ─────────────────────── */
.ws-ch-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 8px 40px; }
.ws-ch-cols .ws-block-title { margin-top: 4px; }
.ws-ch-note { color: var(--ws-text-muted); font-size: .85rem; margin: -6px 0 6px; }
.ws-ch-list { list-style: none; margin: 0 0 20px; padding: 0; }
.ws-ch-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--ws-divider); }
.ws-ch-clan { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ws-text); }
.ws-ch-clan.is-right { text-align: right; }
.ws-ch-clan.is-won { color: #fff; font-weight: 600; }
.ws-ch-tag { font-family: var(--ws-font-display); font-weight: 700; color: var(--ws-title); }
.ws-ch-mid { min-width: 64px; text-align: center; color: var(--ws-text-muted); font-size: .85rem; text-decoration: none !important; }
.ws-ch-mid.is-score { color: #fff; font-family: var(--ws-font-display); font-size: 1.25rem; font-weight: 800; }
.ws-ch-mid:hover { color: var(--ws-title); }
.ws-ch-meta { grid-column: 1 / -1; text-align: center; color: var(--ws-text-muted); font-size: .78rem; }
@media (max-width: 575px) { .ws-ch-name { display: none; } }
.ws-honors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.ws-honor { display: flex; gap: 16px; align-items: center; background: var(--ws-surface); border: 1px solid var(--ws-divider); padding: 12px 16px; }
.ws-honor-year { font-family: var(--ws-font-display); font-size: 2rem; font-weight: 700; color: var(--ws-gold); line-height: 1; }
.ws-honor.is-empty .ws-honor-year { color: var(--ws-text-muted); }
.ws-honor-body { display: flex; flex-direction: column; min-width: 0; }
.ws-honor-name { color: #fff; font-family: var(--ws-font-display); font-size: 1.2rem; font-weight: 700; }
.ws-honor-name:hover { color: var(--ws-title); }
.ws-honor-champ { color: var(--ws-text); }
.ws-honor-champ .fa-trophy { color: var(--ws-gold); }
.ws-honor-champ a { color: #fff; font-weight: 600; }

/* Torna szakaszsávja */
.ws-phases { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 24px; padding: 0; }
.ws-phase { position: relative; padding: 22px 8px 0 0; font-size: .85rem; color: var(--ws-text-muted); }
.ws-phase::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 3px; background: var(--ws-decor); }
.ws-phase::after { content: ""; position: absolute; top: 1px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--ws-decor); border: 3px solid var(--ws-bg); }
.ws-phase.is-done::before, .ws-phase.is-done::after { background: var(--ws-line); }
.ws-phase.is-current::after { background: var(--ws-gold); }
.ws-phase b { display: block; color: #fff; font-family: var(--ws-font-display); font-size: 1.1rem; font-weight: 700; }
@media (max-width: 575px) { .ws-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; } }

/* ── Klánlista: rendezhető táblázat ───────────────────────────────── */
.ws-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ws-filter-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border: 1px solid rgba(255, 255, 255, .18); color: var(--ws-text); font-size: .9rem; text-decoration: none !important; }
.ws-filter-chip:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.ws-filter-chip[aria-current] { border-color: var(--ws-line); background: rgba(0, 180, 185, .14); color: #fff; }
.ws-th-sort { color: var(--ws-text-muted); font-family: var(--ws-font-display); font-size: 1rem; font-weight: 600; text-decoration: none !important; }
.ws-th-sort:hover, .ws-th-sort.is-sorted { color: #fff; }
.ws-clan-cell { display: flex; align-items: center; gap: 10px; }
.ws-clan-cell a { color: #fff; font-weight: 600; }
.ws-clan-cell a:hover { color: var(--ws-title); }
.ws-clan-mini-logo { width: 32px; height: 32px; flex: 0 0 auto; object-fit: cover; }
.ws-clan-mini-logo--empty { display: inline-grid; place-items: center; background: var(--ws-surface-2); border: 1px solid var(--ws-divider); color: var(--ws-title); font-family: var(--ws-font-display); font-size: .7rem; font-weight: 700; }
.ws-meta-inline { color: var(--ws-text-muted); font-size: .8rem; }
.ws-muted-cell { color: var(--ws-text-muted); font-size: .88rem; }
.ws-rec b { color: #fff; }
.ws-open { color: #8fe08a; font-size: .9rem; white-space: nowrap; }
.ws-open::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #5cc957; vertical-align: 1px; }
.ws-clanlist-table .ws-clan-cell { white-space: normal; min-width: 220px; }
@media (max-width: 575px) {
    .ws-clanlist-table .ws-col-opt { display: none; }
    .ws-clanlist-table th, .ws-clanlist-table td { padding: 10px 8px; }
    .ws-clanlist-table .ws-clan-cell { min-width: 0; }
    .ws-clan-mini-logo { display: none; }
}
.ws-short { display: none; }
@media (max-width: 575px) {
    .ws-clanlist-table .ws-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .ws-clanlist-table .ws-short { display: inline; }
}

/* ── Klán adatlap: számsáv, fülek, eredmények ─────────────────────── */
.ws-clan-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 20px 0; background: var(--ws-divider); border: 1px solid var(--ws-divider); }
.ws-clan-strip > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; background: var(--ws-surface); padding: 12px 16px; }
.ws-clan-strip dt { color: var(--ws-text-muted); font-size: .8rem; font-weight: 400; }
.ws-clan-strip dd { margin: 0; color: #fff; font-family: var(--ws-font-display); font-size: 1.9rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
@media (max-width: 575px) { .ws-clan-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-clan-strip dd { font-size: 1.5rem; } }
.ws-clan-apps { margin-bottom: 20px; }
.ws-tabs { display: flex; gap: 2px; margin: 28px 0 22px; border-bottom: 1px solid var(--ws-divider); overflow-x: auto; }
.ws-tabs[hidden] { display: none; }
.ws-tabs [role="tab"] { flex: 0 0 auto; min-height: 44px; padding: 6px 16px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--ws-text-muted); font-family: var(--ws-font-display); font-size: 1.15rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ws-tabs [role="tab"]:hover { color: #fff; }
.ws-tabs [role="tab"][aria-selected="true"] { color: #fff; border-bottom-color: var(--ws-line); }
.ws-tab-panel + .ws-tab-panel { margin-top: 32px; }
.ws-tabs:not([hidden]) ~ .ws-tab-panel { margin-top: 0; }
.ws-clan-res { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--ws-divider); }
.ws-clan-res-who a { color: #fff; font-weight: 600; }
.ws-clan-res-who a:hover { color: var(--ws-title); }
.ws-clan-res-meta { display: block; color: var(--ws-text-muted); font-size: .8rem; }
.ws-clan-res-score { color: #fff; font-family: var(--ws-font-display); font-size: 1.2rem; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.ws-clan-res-score:hover { color: var(--ws-title); }
.ws-wl { display: inline-grid; place-items: center; width: 34px; height: 28px; color: #fff; font-family: var(--ws-font-display); font-weight: 700; }
.ws-wl--w { background: var(--ws-win-bg); }
.ws-wl--l { background: var(--ws-loss-bg); }
.ws-wl--d, .ws-wl--open { background: #56606c; }
@media (max-width: 575px) { .ws-clan-strip > div:last-child:nth-child(odd) { grid-column: span 2; } }

/* ── Fórum: kategóriák és a legutóbbi témák egymás mellett ────────── */
.ws-forum-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 992px) { .ws-forum-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; margin-top: 28px; } .ws-forum-layout .ws-forum-stats { margin-top: 0; } }
.ws-forum-latest { background: var(--ws-surface); padding: 16px 18px; }
.ws-forum-latest .ws-cm-topic { position: relative; padding: 10px 0; border-top: 1px solid var(--ws-divider); }
.ws-forum-latest .ws-cm-list { list-style: none; margin: 0; padding: 0; }
.ws-cat-xlink { position: relative; z-index: 2; }
.ws-cat-xlink a { color: var(--ws-title); text-decoration: underline; }
.ws-forum-layout .ws-stats-grid { grid-template-columns: 1fr; gap: 14px; }

/* ── Letöltések: tömör sorok, a legtöbbet letöltött kiemelve ─────── */
.ws-download--nothumb { grid-template-columns: minmax(0, 1fr) auto; }
.ws-download--featured { border: 1px solid rgba(0, 180, 185, .55); }
.ws-download-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.ws-download-top { color: var(--ws-gold); font-size: .85rem; }
.ws-download-size { color: inherit; opacity: .85; }
@media (max-width: 767px) { .ws-download--nothumb { grid-template-columns: 1fr; } }

/* ===== Lábléc: logó és bemutatkozás, három linkcsoport, alsó sáv (copyright, közösségi ikonok, rajongói oldal) ===== */
.ws-foot { background: var(--ws-nav); color: var(--ws-text); border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #ce2939 0 33.3%, #fff 33.3% 66.6%, #477050 66.6% 100%) 1; }
.ws-foot-main { display: grid; grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(0, 1fr)); gap: 32px 32px; padding: 48px 0 40px; }
.ws-foot-brand .ws-logo-svg { width: 190px; height: auto; display: block; }
.ws-foot-brand p { margin: 16px 0 20px; max-width: 34ch; line-height: 1.6; }
.ws-foot-discord { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--ws-accent);
    color: var(--ws-accent-text); font-family: var(--ws-font-display); font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.ws-foot-discord:hover, .ws-foot-discord:focus-visible { background: var(--ws-accent); color: var(--ws-nav); text-decoration: none; }
.ws-foot-col h2 { font-family: var(--ws-font-display); font-weight: 700; font-size: 1.15rem; color: var(--ws-title); margin: 4px 0 14px; letter-spacing: .02em; }
.ws-foot-col ul { list-style: none; margin: 0; padding: 0; }
.ws-foot-col li + li { margin-top: 8px; }
.ws-foot-col a { color: var(--ws-text); text-decoration: none; display: inline-block; padding: 2px 0; }
.ws-foot-col a:hover, .ws-foot-col a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ws-foot a:focus-visible { outline: 2px solid var(--ws-focus); outline-offset: 3px; }
.ws-foot-bar { background: var(--ws-topbar); font-size: .875rem; color: var(--ws-text-muted); }
.ws-foot-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; }
.ws-foot-bar p { margin: 0; }
.ws-foot-bar a { color: var(--ws-text); }
.ws-foot-bar .ws-foot-fan { flex-basis: 100%; order: 3; font-size: .8125rem; }
.ws-foot-social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ws-foot-social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--ws-text); font-size: 1.1rem; }
.ws-foot-social a:hover, .ws-foot-social a:focus-visible { color: #fff; background: var(--ws-surface); }
@media (max-width: 991px) { .ws-foot-main { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ws-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 767px) and (min-width: 576px) { .ws-foot-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .ws-foot-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 36px 0 28px; }
    .ws-foot-col:last-child { grid-column: 1 / -1; }
    .ws-foot-col:last-child ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
    .ws-foot-col:last-child li + li { margin-top: 0; }
    .ws-foot-col li + li { margin-top: 4px; }
    .ws-foot-col a { padding: 6px 0; }
}

/* Kapcsolati űrlap a Rólunk oldalon (korábban a láblécben volt). */
.ws-contact-form { max-width: 720px; margin-top: 24px; }
.ws-contact-form:focus { outline: none; }
.ws-contact-form label { display: block; margin: 0 0 6px; color: #fff; font-weight: 600; }
.ws-contact-form .form-control { margin-bottom: 4px; }
.ws-contact-form textarea { margin-top: 0; }
.ws-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.ws-contact-form .ws-cta { margin-top: 16px; }
@media (max-width: 575px) { .ws-contact-row { grid-template-columns: 1fr; } }

/* Fórum: a jobb oszlopban a statisztikák alatt a legaktívabb tagok. */
.ws-forum-side { display: grid; gap: 28px; align-content: start; }
.ws-forum-side .ws-forum-stats { margin-top: 0; }
.ws-forum-top { background: var(--ws-surface); padding: 16px 18px; }
.ws-forum-top-row { display: flex; align-items: center; gap: 12px; }
.ws-forum-top-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ws-text-strong); font-weight: 600; }
.ws-forum-top-name:hover, .ws-forum-top-name:focus-visible { color: var(--ws-accent-text); text-decoration: underline; }
.ws-forum-top-count { color: var(--ws-text-strong); font-family: var(--ws-font-display); font-size: 1.15rem; font-weight: 700; white-space: nowrap; }
.ws-forum-top-count small { display: inline; color: var(--ws-text-muted); font-family: var(--ws-font-body); font-size: .78rem; font-weight: 400; }

/* Belépés Discorddal / Google-lel: a két gomb az e-mailes űrlap fölött, alatta elválasztó. */
.ws-social-login { display: grid; gap: 10px; margin-bottom: 4px; }
.ws-social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 16px;
    font-family: var(--ws-font-display); font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 1px solid transparent; }
.ws-social-btn:hover, .ws-social-btn:focus-visible { text-decoration: none; }
.ws-social-btn:focus-visible { outline: 2px solid var(--ws-focus); outline-offset: 2px; }
.ws-social-btn--discord { background: #5865f2; color: #fff; }
.ws-social-btn--discord:hover, .ws-social-btn--discord:focus-visible { background: #4752c4; color: #fff; }
.ws-social-btn--google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.ws-social-btn--google:hover, .ws-social-btn--google:focus-visible { background: #f1f3f4; color: #1f1f1f; }
.ws-social-btn .fa-discord { font-size: 1.2rem; }
.ws-social-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 14px; color: var(--ws-text-muted); font-size: .875rem; }
.ws-social-or::before, .ws-social-or::after { content: ""; flex: 1; height: 1px; background: var(--ws-divider); }

/* Felugró belépő és regisztrációs ablak: a fiókoldalak panelje kicsiben. */
.ws-auth-modal .modal-dialog { max-width: 440px; }
.ws-auth-modal .modal-content { background: var(--ws-surface); border: 0; border-radius: 0; }
.ws-auth-modal .modal-body { padding: 28px 28px 24px; }
.ws-auth-modal .ws-block-title { margin: 0 40px 18px 0; }
.ws-auth-modal .close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    color: var(--ws-text); opacity: 1; text-shadow: none; font-size: 1.4rem; }
.ws-auth-modal .close:hover, .ws-auth-modal .close:focus-visible { color: #fff; background: var(--ws-surface-2); }
.ws-auth-modal .ws-notice--error { margin-bottom: 14px; }
.ws-auth-modal .ws-editor-actions { margin-top: 18px; }
.ws-auth-switch { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--ws-divider); color: var(--ws-text-muted); }
.ws-auth-switch a { color: var(--ws-title); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 575px) { .ws-auth-modal .modal-body { padding: 24px 18px 20px; } .ws-auth-modal .ws-editor-actions .nk-btn { flex: 1 1 100%; text-align: center; } }

/* Profil: belépési módok (e-mail/jelszó, Discord, Google). */
.ws-login-methods { list-style: none; margin: 0; padding: 0; }
.ws-login-methods li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--ws-divider); }
.ws-login-methods li:first-child { border-top: 0; padding-top: 0; }
.ws-login-method-name { min-width: 130px; color: var(--ws-text-strong); font-weight: 600; }
.ws-login-method-state { flex: 1; color: var(--ws-text-muted); }
.ws-login-methods form { margin: 0; }

/* Kláncsata fejléc: két klán nagy logóval, középen a végeredmény. Mobilon is egymás mellett marad, mint egy eredményjelző.
   A győztes logója arany keretet kap, a vesztes oldal halványabb. */
.ws-vs-card { background: var(--ws-surface); border: 1px solid var(--ws-divider); padding: 36px 32px 32px; margin-bottom: 24px; }
.ws-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 24px; }
.ws-vs-clan { text-align: center; min-width: 0; }
.ws-vs-logo { display: flex; align-items: center; justify-content: center; width: 156px; height: 156px; margin: 0 auto 16px; background: var(--ws-surface-2); border: 1px solid var(--ws-surface-3); overflow: hidden; }
.ws-vs-logo img { width: 100%; height: 100%; object-fit: contain; }
.ws-vs-logo span { color: var(--ws-text); font-family: var(--ws-font-display); font-size: 2.6rem; font-weight: 700; letter-spacing: .03em; }
.ws-vs-clan.is-won .ws-vs-logo { border-color: var(--ws-gold); box-shadow: 0 0 0 2px var(--ws-gold); }
.ws-vs-clan.is-lost .ws-vs-logo { opacity: .6; }
.ws-vs-clan.is-lost .ws-vs-name { color: var(--ws-text); }
.ws-vs-name { display: inline-block; min-height: 44px; padding: 6px 0; color: #fff; font-family: var(--ws-font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.ws-vs-name:hover, .ws-vs-name:focus-visible { color: var(--ws-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.ws-vs-tag { color: var(--ws-text-muted); font-size: .95rem; letter-spacing: .04em; }
.ws-vs-winner { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 12px; background: var(--ws-gold); color: var(--ws-nav); font-family: var(--ws-font-display); font-size: .95rem; font-weight: 700; }
.ws-vs-mid { display: flex; flex-direction: column; align-items: center; text-align: center; width: 220px; padding-top: 30px; }
.ws-vs-kick { margin: 0; color: var(--ws-text-muted); font-size: .85rem; }
.ws-vs-score { margin: 2px 0 14px; color: #fff; font-family: var(--ws-font-display); font-size: 4.25rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.ws-vs-big { margin: 10px 0 16px; color: var(--ws-accent-text); font-family: var(--ws-font-display); font-size: 3.4rem; font-weight: 700; line-height: 1; }
.ws-vs-status { padding: 4px 14px; font-size: .8rem; font-weight: 600; }
.ws-vs-meta { margin: 12px 0 0; color: var(--ws-text); font-size: .9rem; }
.ws-vs-when { margin: 6px 0 0; color: var(--ws-text-muted); font-size: .9rem; line-height: 1.4; }
.ws-vs-when small { font-size: .8rem; }
@media (max-width: 767px) {
    .ws-vs-card { padding: 22px 12px 20px; }
    .ws-vs { gap: 8px; }
    .ws-vs-logo { width: 88px; height: 88px; margin-bottom: 10px; }
    .ws-vs-logo span { font-size: 1.5rem; }
    .ws-vs-name { font-size: 1.1rem; }
    .ws-vs-tag { font-size: .8rem; }
    .ws-vs-winner { font-size: .8rem; padding: 3px 8px; }
    .ws-vs-mid { width: 108px; padding-top: 8px; }
    .ws-vs-score { font-size: 2.5rem; margin-bottom: 10px; }
    .ws-vs-big { font-size: 2.2rem; }
    .ws-vs-meta, .ws-vs-when { font-size: .78rem; }
}

/* ===== Torna-tabella, csoportok, rájátszás-ágrajz, bajnok-sáv ===== */
.tb-champ { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 22px 26px; background: var(--ws-surface); border-left: 4px solid var(--ws-gold); }
.tb-champ p { margin: 0; color: var(--ws-text-muted); }
.tb-champ strong { display: block; color: #fff; font-family: var(--ws-font-display); font-size: 1.9rem; line-height: 1.1; }
.tb-champ-score { text-align: right; color: var(--ws-text); font-family: var(--ws-font-display); font-size: 1.05rem; }
.tb-champ-score b { display: block; color: var(--ws-gold); font-size: 2.2rem; line-height: 1; }

.tb-wrap { background: var(--ws-surface); overflow-x: auto; }
.tb-table { width: 100%; border-collapse: collapse; font-size: .95rem; color: var(--ws-text); }
.tb-table th { background: var(--ws-surface-2); color: var(--ws-text-muted); font-weight: 600; font-size: .8rem; padding: 10px 8px; text-align: left; white-space: nowrap; }
.tb-table th abbr { text-decoration: none; cursor: help; }
.tb-table td { padding: 9px 8px; border-top: 1px solid var(--ws-divider); vertical-align: middle; }
.tb-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.tb-n, .tb-table th.tb-n { text-align: center; font-variant-numeric: tabular-nums; }
.tb-pos, .tb-table th.tb-pos { width: 52px; text-align: center; white-space: nowrap; }
.tb-pos > span:first-child { display: inline-block; min-width: 18px; color: #fff; font-family: var(--ws-font-display); font-weight: 700; font-size: 1.05rem; }
.tb-tr { display: inline-block; width: 12px; margin-left: 4px; font-size: .6rem; color: var(--ws-text-muted); }
.tb-tr.up { color: #6fd08c; }
.tb-tr.down { color: var(--ws-negative-text); }
.tb-clan { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.tb-names { display: flex; flex-direction: column; min-width: 0; }
.tb-names a, .tb-names .tb-name { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-names a:hover, .tb-names a:focus-visible { color: var(--ws-accent-text); text-decoration: underline; }
.tb-names small { color: var(--ws-text-muted); font-size: .78rem; }
.tb-logo { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; overflow: hidden; background: var(--ws-surface-3); color: var(--ws-text); font-family: var(--ws-font-display); font-weight: 700; font-size: .78rem; }
.tb-logo img { width: 100%; height: 100%; object-fit: contain; }
.tb-logo--sm { width: 28px; height: 28px; font-size: .62rem; }
.tb-logo--lg { width: 72px; height: 72px; font-size: 1.3rem; }
.tb-pts, .tb-table th.tb-pts { text-align: center; width: 56px; }
.tb-pts { color: #fff; font-family: var(--ws-font-display); font-size: 1.25rem; font-weight: 700; }
.tb-diff.pos { color: #6fd08c; }
.tb-diff.neg { color: var(--ws-negative-text); }
.tb-form { white-space: nowrap; }
.tb-f { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 3px; font-size: .7rem; font-weight: 700; color: #fff; }
.tb-f--G { background: #2b7a17; }
.tb-f--D { background: #5f6b75; }
.tb-f--V { background: #a8291b; }
.tb-muted { color: var(--ws-text-muted); }
.tb-table tr.is-playoff td:first-child { box-shadow: inset 4px 0 0 var(--ws-accent); }
.tb-table tr.is-out td:first-child { box-shadow: inset 4px 0 0 #a8291b; }
.tb-table tr.tb-cut td { border-bottom: 2px solid var(--ws-accent); }
.tb-table tr.tb-cut-out td { border-bottom: 2px dashed #a8291b; }
.tb-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 12px 0 0; color: var(--ws-text-muted); font-size: .85rem; }
.tb-key { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }
.tb-key--up { background: var(--ws-accent); }
.tb-key--down { background: #a8291b; }

.tb-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tb-group { background: var(--ws-surface); min-width: 0; }
.tb-group h3 { margin: 0; padding: 12px 14px; font-family: var(--ws-font-display); color: var(--ws-title); font-size: 1.2rem; }
.tb-table--mini .tb-clan { min-width: 0; }

.br-scroll { overflow-x: auto; padding-bottom: 8px; }
.br { display: grid; grid-template-columns: repeat(var(--br-cols, 3), minmax(220px, 1fr)); grid-template-rows: auto 1fr; column-gap: 40px; row-gap: 10px; min-width: calc(var(--br-cols, 3) * 250px); }
.br-h { margin: 0; font-family: var(--ws-font-display); color: var(--ws-title); font-size: 1.1rem; }
.br-col { display: flex; flex-direction: column; justify-content: space-around; gap: 24px; }
.br-pair { position: relative; display: flex; flex-direction: column; justify-content: space-around; gap: 16px; flex: 1; }
.br-col.has-next .br-pair::after { content: ""; position: absolute; right: -20px; top: 25%; bottom: 25%; border-right: 2px solid var(--ws-surface-3); }
.br-match { position: relative; background: var(--ws-surface); }
.br-col.has-next .br-match::after { content: ""; position: absolute; right: -20px; top: 50%; width: 20px; border-top: 2px solid var(--ws-surface-3); }
.br-col.has-prev .br-match::before { content: ""; position: absolute; left: -20px; top: 50%; width: 20px; border-top: 2px solid var(--ws-surface-3); }
.br-col--final { justify-content: center; }
.br-col--final .br-match { border-top: 3px solid var(--ws-gold); }
.br-label { margin: 0; padding: 6px 10px 0; color: var(--ws-text-muted); font-size: .75rem; }
.br-team { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 7px 10px; }
.br-team + .br-team { border-top: 1px solid var(--ws-divider); }
.br-name { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-team b { min-width: 26px; padding: 2px 6px; text-align: center; background: var(--ws-surface-2); color: #fff; font-family: var(--ws-font-display); font-size: 1.05rem; }
.br-team.is-won b { background: var(--ws-accent); color: var(--ws-nav); }
.br-team.is-lost .br-name { color: var(--ws-text-muted); }

@media (max-width: 991px) { .tb-hide-md { display: none; } }
@media (max-width: 767px) {
    .tb-hide-sm { display: none; }
    .tb-groups { grid-template-columns: 1fr; }
    .tb-champ { grid-template-columns: auto 1fr; gap: 14px; padding: 16px; }
    .tb-champ strong { font-size: 1.4rem; }
    .tb-champ-score { grid-column: 1 / -1; text-align: left; }
    .tb-champ .tb-logo--lg { width: 56px; height: 56px; }
    .tb-clan { min-width: 0; gap: 8px; }
    .tb-logo { width: 30px; height: 30px; font-size: .62rem; }
    .tb-names a, .tb-names .tb-name { max-width: 140px; }
    .tb-tr { display: none; }
    .tb-pos, .tb-table th.tb-pos { width: 30px; }
    .tb-pts, .tb-table th.tb-pts { width: 40px; }
    .tb-pts { font-size: 1.1rem; }
    .tb-table td, .tb-table th { padding: 8px 5px; }
}

/* Klánlista szűrősáv: egy panel, egyforma magas mezők felirattal, alatta a tagfelvétel szerinti kapcsoló. */
.ws-clan-toolbar { margin-bottom: 20px; padding: 16px 18px; background: var(--ws-surface); }
.ws-clan-toolbar-form { display: grid; grid-template-columns: minmax(0, 1fr) 150px 210px; gap: 12px 16px; align-items: end; }
.ws-clan-field label { display: block; margin: 0 0 6px; color: var(--ws-text-muted); font-size: .8rem; font-weight: 600; }
.ws-clan-field .ws-forum-search { max-width: none; }
.ws-clan-field .form-control { min-height: 44px; height: 44px; }
.ws-select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--ws-text) 50%), linear-gradient(135deg, var(--ws-text) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.ws-clan-toolbar-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ws-divider); }
.ws-segment { display: inline-flex; flex-wrap: wrap; background: var(--ws-surface-2); }
.ws-segment a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px; color: var(--ws-text); text-decoration: none; font-weight: 600; }
.ws-segment a span { color: var(--ws-text-muted); font-weight: 400; font-size: .85rem; }
.ws-segment a:hover, .ws-segment a:focus-visible { color: #fff; background: var(--ws-surface-3); }
.ws-segment a[aria-current="page"] { background: var(--ws-tag); color: #fff; box-shadow: inset 0 -3px 0 var(--ws-line); }
.ws-segment a[aria-current="page"] span { color: #fff; }
@media (max-width: 767px) {
    .ws-clan-toolbar { padding: 14px; }
    .ws-clan-toolbar-form { grid-template-columns: 1fr 1fr; }
    .ws-clan-field--search { grid-column: 1 / -1; }
    .ws-segment { width: 100%; }
    .ws-segment a { flex: 1; justify-content: center; padding: 6px 10px; }
}

/* Lenyíló listák: a nyitott menü is sötét (a böngésző alapból világos listát nyit), a mező háttere a felülettel egyezik. */
select.form-control { color-scheme: dark; background-color: var(--ws-surface-2); color: var(--ws-text); border-color: var(--ws-surface-3); }
select.form-control:focus { background-color: var(--ws-surface-2); color: #fff; }
select.form-control option { background-color: var(--ws-surface-2); color: var(--ws-text); }
select.form-control option:checked { background-color: var(--ws-tag); color: #fff; }
.ws-select { background-color: var(--ws-surface-2); }
.ws-select:hover { border-color: var(--ws-accent); }

/* Jogi oldalak és jogi linkek a láblécben. */
.ws-legal { max-width: 820px; padding: 28px 32px; background: var(--ws-surface); }
.ws-legal .ws-meta { margin: 0 0 18px; }
.ws-legal-note { margin-top: 10px; }
.ws-legal-note a { color: var(--ws-title); text-decoration: underline; text-underline-offset: 2px; }
.ws-foot-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; order: 2; flex-basis: 100%; }
.ws-foot-legal a, .ws-foot-linkbtn { display: inline-block; padding: 6px 0; background: none; border: 0; color: var(--ws-text); font: inherit; font-size: .85rem; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ws-foot-legal a:hover, .ws-foot-linkbtn:hover, .ws-foot-legal a:focus-visible, .ws-foot-linkbtn:focus-visible { color: #fff; }
@media (max-width: 575px) { .ws-legal { padding: 20px 16px; } }

/* Sütisáv: alul rögzítve, nem takarja ki az egész oldalt; mobilon a gombok egymás alatt. */
.ws-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050; background: var(--ws-nav); border-top: 3px solid var(--ws-accent); box-shadow: 0 -8px 24px rgba(0, 0, 0, .35); }
.ws-consent-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 18px; padding-bottom: 18px; }
.ws-consent-inner > div:first-child { flex: 1 1 420px; }
.ws-consent-title { margin: 0 0 4px; color: #fff; font-family: var(--ws-font-display); font-size: 1.2rem; }
.ws-consent p { margin: 0; color: var(--ws-text); font-size: .9rem; max-width: 75ch; }
.ws-consent a { color: var(--ws-title); text-decoration: underline; }
.ws-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 575px) { .ws-consent-actions { width: 100%; } .ws-consent-actions .nk-btn { flex: 1 1 100%; text-align: center; } }

/* ===== bonus-codes ===== */
/* Bónuszkódok oldal (/bonuszkodok) */
.ws-bonus-page { max-width: 1100px; }

.ws-bonus-howto {
    background: var(--ws-surface);
    border-left: 3px solid var(--ws-accent);
    padding: 16px 20px;
    margin-bottom: 28px;
}
.ws-bonus-howto-title {
    font-family: var(--ws-font-display);
    font-size: 1.1rem;
    color: var(--ws-title);
    margin: 0 0 10px;
}
.ws-bonus-steps { margin: 0 0 10px; padding-left: 1.4em; color: var(--ws-text); line-height: 1.6; }
.ws-bonus-steps li + li { margin-top: 4px; }
.ws-bonus-howto .ws-meta { margin: 0; color: var(--ws-text-muted); }

.ws-bonus-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 16px;
}
.ws-bonus-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    background: var(--ws-surface);
    border: 1px solid var(--ws-divider);
    padding: 18px;
}
.ws-bonus-card:has(:focus-visible) { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
.ws-bonus-code {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--ws-gold);
    background: var(--ws-surface-3);
    padding: 8px 12px;
    overflow-wrap: anywhere;
    word-break: break-all;
}
.ws-bonus-reward { margin: 0; color: var(--ws-text); font-family: var(--ws-font-body); line-height: 1.5; overflow-wrap: anywhere; }
.ws-bonus-facts {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: .9rem;
    color: var(--ws-text-muted);
}
.ws-bonus-left { color: var(--ws-accent-text); font-weight: 600; }
.ws-bonus-note { margin: 0; font-size: .9rem; color: var(--ws-text-muted); font-style: italic; overflow-wrap: anywhere; }
.ws-bonus-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 4px; }
.ws-bonus-btn {
    flex: 1 1 140px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.ws-bonus-btn:focus-visible { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
.ws-bonus-btn.is-copied { color: var(--ws-accent-text); }

.ws-bonus-expired { background: var(--ws-surface-2); border: 1px solid var(--ws-divider); margin-bottom: 12px; }
.ws-bonus-expired summary {
    cursor: pointer;
    min-height: 44px;
    padding: 12px 16px;
    font-family: var(--ws-font-display);
    color: var(--ws-title);
}
.ws-bonus-expired summary:focus-visible { outline: 3px solid var(--ws-focus); outline-offset: -3px; }
.ws-bonus-expired summary .ws-meta { color: var(--ws-text-muted); font-family: var(--ws-font-body); font-size: .85rem; margin-left: 6px; }
.ws-bonus-expired-list { list-style: none; margin: 0; padding: 0 16px 12px; }
.ws-bonus-expired-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 10px 0;
    border-top: 1px solid var(--ws-divider);
    color: var(--ws-text-muted);
    min-width: 0;
}
.ws-bonus-expired-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ws-text); text-decoration: line-through; overflow-wrap: anywhere; }
.ws-bonus-expired-reward { color: var(--ws-text); flex: 1 1 200px; overflow-wrap: anywhere; }
.ws-bonus-expired-list .ws-meta { font-size: .85rem; }

@media (max-width: 480px) {
    .ws-bonus-howto { padding: 14px 16px; }
    .ws-bonus-card { padding: 14px; }
    .ws-bonus-code { font-size: 1.15rem; }
}

/* Másolás visszajelzése: a lista alatt rögzített sáv, üresen nem látszik. */
.ws-bonus-status:empty { display: none; }
.ws-bonus-status {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 1000;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 10px 16px;
    background: var(--ws-surface-3);
    border-left: 3px solid var(--ws-accent);
    color: var(--ws-text);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}

/* ===== creators ===== */
/* Magyar tartalomgyártók oldal */
.ws-creator-lead { margin-bottom: 24px; }

.ws-creator-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 16px;
}

.ws-creator-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 18px;
    background: var(--ws-surface);
    border: 1px solid var(--ws-divider);
    border-radius: 6px;
}
.ws-creator-card.is-live { border-color: #e5484d; }

.ws-creator-head { display: flex; align-items: center; gap: 12px; min-width: 0; }

.ws-creator-avatar {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ws-surface-3);
}
.ws-creator-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ws-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ws-title);
    letter-spacing: .02em;
}

.ws-creator-id { flex: 1 1 auto; min-width: 0; }
.ws-creator-name {
    margin: 0;
    font-family: var(--ws-font-display);
    font-size: 1.35rem;
    line-height: 1.2;
    color: var(--ws-title);
    overflow-wrap: anywhere;
}
.ws-creator-platform { margin: 2px 0 0; color: var(--ws-text-muted); font-size: .95rem; }
.ws-creator-platform i { margin-right: 4px; }

.ws-creator-live {
    flex: 0 0 auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 3px;
    background: #b4232a; /* fehér szöveggel 6:1 felett */
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ws-creator-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
@media (prefers-reduced-motion: no-preference) {
    .ws-creator-live-dot { animation: ws-creator-pulse 1.6s ease-in-out infinite; }
}
@keyframes ws-creator-pulse { 50% { opacity: .35; } }

.ws-creator-desc { margin: 0; color: var(--ws-text); line-height: 1.5; overflow-wrap: anywhere; }

.ws-creator-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--ws-accent);
    border-radius: 4px;
    background: var(--ws-surface-2);
    color: var(--ws-accent-text);
    font-weight: 600;
    text-decoration: none;
}
.ws-creator-link:hover { background: var(--ws-surface-3); color: #fff; text-decoration: none; }
.ws-creator-link:focus-visible,
.ws-creator-cta a:focus-visible { outline: 3px solid var(--ws-focus); outline-offset: 2px; }
.ws-creator-link i { font-size: .8em; }

.ws-creator-cta { margin: 28px 0 0; color: var(--ws-text); }
.ws-creator-cta a { color: var(--ws-accent-text); text-decoration: underline; }

/* ===== guide ===== */
/* Kezdő útmutató (/kezdo-utmutato) */
.ws-guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.ws-guide-main { min-width: 0; overflow-wrap: break-word; }

.ws-guide-main h2[id] { font-family: var(--ws-font-display); }
.ws-guide-main h3 { color: var(--ws-text-strong, #fff); font-family: var(--ws-font-display); }
.ws-guide-lead { font-size: 1.12rem; color: var(--ws-text); }

.ws-guide-toc { background: var(--ws-surface); border: 1px solid var(--ws-divider); border-radius: 4px; padding: 16px 18px; }
.ws-guide-toc-title { margin: 0 0 8px; color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.ws-guide-toc ol { margin: 0; padding-left: 1.3em; color: var(--ws-text-muted); }
.ws-guide-toc li { margin: 0; }
.ws-guide-toc a { display: inline-block; padding: 6px 0; color: var(--ws-text); text-decoration: none; }
.ws-guide-toc a:hover { color: var(--ws-accent-text); text-decoration: underline; }

.ws-guide a:focus-visible,
.ws-guide-faq-item summary:focus-visible { outline: 2px solid var(--ws-focus); outline-offset: 2px; border-radius: 2px; }

.ws-guide-glossary { margin: 0 0 1.2em; border-top: 1px solid var(--ws-divider); }
.ws-guide-glossary dt { margin: 0; padding-top: 12px; color: var(--ws-accent-text); font-weight: 700; }
.ws-guide-glossary dd { margin: 2px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--ws-divider); color: var(--ws-text); }

.ws-guide-faq { display: grid; gap: 8px; margin-bottom: 1.2em; }
.ws-guide-faq-item { background: var(--ws-surface); border: 1px solid var(--ws-divider); border-radius: 4px; }
.ws-guide-faq-item[open] { background: var(--ws-surface-2); }
.ws-guide-faq-item summary { padding: 12px 16px; color: var(--ws-text-strong, #fff); font-weight: 600; cursor: pointer; list-style-position: inside; }
.ws-guide-faq-item summary:hover { color: var(--ws-accent-text); }
.ws-guide-faq-item p { margin: 0; padding: 0 16px 14px; }

@media (min-width: 992px) {
    .ws-guide { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
    .ws-guide-toc { position: sticky; top: 90px; }
}

/* ===== halloffame ===== */
/* Dicsőségfal és a hónap klánja blokk */

/* A hónap klánja */
.ws-hof-com { background: var(--ws-surface); border: 1px solid var(--ws-divider); border-top: 3px solid var(--ws-gold); padding: 28px 32px; margin-bottom: 32px; }
.ws-hof-com-title { margin: 0 0 20px; color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.8rem; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.ws-hof-com-body { display: flex; align-items: center; gap: 28px; min-width: 0; }
.ws-hof-com-logo { flex: none; display: flex; align-items: center; justify-content: center; width: 156px; height: 156px; background: var(--ws-surface-2); border: 1px solid var(--ws-gold); box-shadow: 0 0 0 2px var(--ws-gold); overflow: hidden; }
.ws-hof-com-logo img { width: 100%; height: 100%; object-fit: contain; }
.ws-hof-com-logo span { color: var(--ws-text); font-family: var(--ws-font-display); font-size: 2.6rem; font-weight: 700; letter-spacing: .03em; }
.ws-hof-com-info { min-width: 0; }
.ws-hof-com-kick { margin: 0 0 2px; color: var(--ws-text-muted); font-size: .9rem; }
.ws-hof-com-name { display: inline-block; min-height: 44px; padding: 4px 0; color: #fff; font-family: var(--ws-font-display); font-size: 2.2rem; font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.ws-hof-com-name:hover, .ws-hof-com-name:focus-visible { color: var(--ws-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.ws-hof-com-tag { margin: 0 0 10px; color: var(--ws-text-muted); letter-spacing: .04em; }
.ws-hof-com-record { margin: 0; color: var(--ws-text); font-size: 1.05rem; }
.ws-hof-com-record strong { color: #fff; font-family: var(--ws-font-display); font-size: 1.3rem; }
.ws-hof-com-played { margin: 4px 0 0; color: var(--ws-text-muted); font-size: .9rem; }
.ws-hof-com-more { margin: 12px 0 0; }

.ws-hof a:focus-visible, .ws-hof-com a:focus-visible { outline: 2px solid var(--ws-focus); outline-offset: 2px; }

/* Üres állapot */
.ws-hof-empty { padding: 20px; border: 1px dashed var(--ws-divider); color: var(--ws-text); }
.ws-hof-empty p { margin: 0 0 4px; }
.ws-hof-empty p:last-child { margin-bottom: 0; }
.ws-hof-empty a, .ws-hof-com-more a { color: var(--ws-accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* Szakaszok */
.ws-hof-section { margin-bottom: 32px; }
.ws-hof-h2 { margin: 0 0 16px; color: var(--ws-title); font-family: var(--ws-font-display); font-size: 1.6rem; font-weight: 700; }

/* Korábbi hónapok */
.ws-hof-history { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ws-divider); }
.ws-hof-history-item { display: grid; grid-template-columns: 140px 40px minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ws-divider); }
.ws-hof-history-month { color: var(--ws-text-muted); font-size: .95rem; }
.ws-hof-mini-logo { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; overflow: hidden; background: var(--ws-surface-3); color: var(--ws-text); font-family: var(--ws-font-display); font-size: .78rem; font-weight: 700; }
.ws-hof-mini-logo img { width: 100%; height: 100%; object-fit: contain; }
.ws-hof-history-clan { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.ws-hof-history-clan a { display: inline-block; padding: 8px 0; color: #fff; font-family: var(--ws-font-display); font-size: 1.2rem; font-weight: 700; overflow-wrap: anywhere; }
.ws-hof-history-clan a:hover, .ws-hof-history-clan a:focus-visible { color: var(--ws-accent-text); text-decoration: underline; }
.ws-hof-history-record { color: var(--ws-text); font-size: .9rem; }

/* Tornagyőztesek */
.ws-hof-champions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.ws-hof-champ { display: flex; align-items: flex-start; gap: 16px; min-width: 0; padding: 18px; background: var(--ws-surface); border: 1px solid var(--ws-divider); }
.ws-hof-champ-info { min-width: 0; }
.ws-hof-champ-name { display: inline-block; padding: 4px 0; color: #fff; font-family: var(--ws-font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.ws-hof-champ-name:hover, .ws-hof-champ-name:focus-visible { color: var(--ws-accent-text); text-decoration: underline; }
.ws-hof-champ-winner { margin: 4px 0 0; color: var(--ws-gold); font-weight: 600; overflow-wrap: anywhere; }
.ws-hof-champ-winner a { display: inline-block; padding: 6px 0; color: var(--ws-gold); text-decoration: underline; text-underline-offset: 3px; }
.ws-hof-champ-label { color: var(--ws-text-muted); font-weight: 400; }
.ws-hof-champ-meta { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ws-text-muted); font-size: .9rem; }

@media (max-width: 575px) {
    .ws-hof-com { padding: 20px 16px; }
    .ws-hof-com-title { font-size: 1.4rem; }
    .ws-hof-com-body { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
    .ws-hof-com-logo { width: 112px; height: 112px; }
    .ws-hof-com-logo span { font-size: 1.8rem; }
    .ws-hof-com-name { font-size: 1.7rem; }
    .ws-hof-history-item { grid-template-columns: 40px minmax(0, 1fr); }
    .ws-hof-history-month { grid-column: 1 / -1; }
    .ws-hof-champ { padding: 14px; }
}

/* ===== ship-compare ===== */
/* Hajó-összehasonlító (/hajo-osszehasonlitas). Saját előtag: ws-cmpx- (a ws-cmp- a hajólapé). */

.ws-cmpx { min-width: 0; }

/* Választó */
.ws-cmpx-picker { margin-bottom: 24px; padding: 18px; background: var(--ws-surface); border: 1px solid var(--ws-divider); }
.ws-cmpx-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ws-cmpx-field { min-width: 0; }
.ws-cmpx-field label { display: block; margin-bottom: 4px; color: var(--ws-text); font-weight: 600; }
.ws-cmpx-field input { width: 100%; min-height: 44px; background: var(--ws-surface-2); color: var(--ws-title); border: 1px solid var(--ws-divider); }
.ws-cmpx-field input::placeholder { color: var(--ws-text-muted); opacity: 1; }
.ws-cmpx-field input:focus-visible { outline: 3px solid var(--ws-focus); outline-offset: 1px; border-color: var(--ws-accent); }
.ws-cmpx-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ws-cmpx-actions .nk-btn { min-height: 44px; }

/* Üres állapot */
.ws-cmpx-empty p { margin-bottom: 10px; }
.ws-cmpx-examples { margin: 0; padding-left: 20px; }
.ws-cmpx-examples li { margin: 6px 0; }
.ws-cmpx-examples a { color: var(--ws-accent-text); text-decoration: underline; }
.ws-cmpx-examples a:hover { color: var(--ws-title); }

/* Eredmény */
.ws-cmpx-note { margin: 0 0 10px; color: var(--ws-text-muted); }

/* A táblázat a saját keretében görget vízszintesen, az oldal nem. */
.ws-cmpx-scroll { position: relative; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ws-divider); background: var(--ws-surface); }
.ws-cmpx-scroll:focus-visible { outline: 3px solid var(--ws-focus); outline-offset: 2px; }

.ws-cmpx-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; color: var(--ws-text); }
.ws-cmpx-table th,
.ws-cmpx-table td { padding: 9px 12px; border-bottom: 1px solid var(--ws-divider); vertical-align: top; text-align: left; }
.ws-cmpx-table td { font-variant-numeric: tabular-nums; }

/* Első (címke) oszlop: ragad, ha a táblázat vízszintesen görget. */
.ws-cmpx-label { position: sticky; left: 0; z-index: 1; width: 30%; min-width: 150px; background: var(--ws-surface-2); color: var(--ws-title); font-weight: 600; box-shadow: 1px 0 0 var(--ws-divider); }
.ws-cmpx-label small { display: block; color: var(--ws-text-muted); font-weight: 400; font-size: .8rem; }
thead .ws-cmpx-label { z-index: 2; vertical-align: bottom; }

/* Hajó-fejlécek */
.ws-cmpx-ship { min-width: 160px; background: var(--ws-surface-2); }
.ws-cmpx-ship img { display: block; width: 100%; max-width: 220px; height: auto; margin-bottom: 8px; }
.ws-cmpx-ship-name { display: block; font-family: var(--ws-font-display); font-size: 1.15rem; color: var(--ws-title); text-decoration: none; }
.ws-cmpx-ship-name:hover { color: var(--ws-accent-text); text-decoration: underline; }
.ws-cmpx-ship-meta { display: block; margin: 2px 0 8px; color: var(--ws-text-muted); font-weight: 400; font-size: .85rem; }
.ws-cmpx-remove { display: inline-block; padding: 4px 0; color: var(--ws-accent-text); font-weight: 400; font-size: .85rem; text-decoration: underline; }
.ws-cmpx-remove:hover { color: var(--ws-title); }

/* Csoportfejléc: a felirat a görgetéskor is bal oldalt marad. */
.ws-cmpx-group th { padding: 0; background: var(--ws-surface-3); border-bottom: 1px solid var(--ws-divider); }
.ws-cmpx-group th span { position: sticky; left: 0; display: inline-block; padding: 8px 12px; color: var(--ws-gold); font-family: var(--ws-font-display); font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; }

.ws-cmpx-none { color: var(--ws-text-muted); }

/* Legjobb érték: szöveges jelölés is, nem csak szín. */
.ws-cmpx-table td.is-best { color: var(--ws-title); font-weight: 700; box-shadow: inset 3px 0 0 var(--ws-gold); }
.ws-cmpx-best { display: inline-block; margin-left: 4px; padding: 0 6px; border: 1px solid var(--ws-gold); border-radius: 3px; color: var(--ws-gold); font-size: .72rem; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: .03em; vertical-align: 1px; }

.ws-cmpx a:focus-visible { outline: 3px solid var(--ws-focus); outline-offset: 2px; }

@media (max-width: 767px) {
    .ws-cmpx-picker { padding: 14px; }
    .ws-cmpx-fields { grid-template-columns: minmax(0, 1fr); }
    .ws-cmpx-label { min-width: 120px; width: 120px; }
    .ws-cmpx-table th, .ws-cmpx-table td { padding: 8px 10px; }
    .ws-cmpx-ship { min-width: 140px; }
}

/* Fő menü: Escape után az almenü zárva marad, amíg a fókusz vagy az egér el nem hagyja a menüpontot. */
.nk-navbar .ws-main-nav .nk-drop-item.ws-drop-closed > .dropdown { display: none !important; }
.nk-navbar .ws-main-nav .dropdown a[aria-current="page"] { color: #fff; box-shadow: inset 3px 0 0 var(--ws-accent); }

/* Oldalon belüli ugrások (#kapcsolat, #comments, #post-12…): a célpont ne csússzon a rögzített menüsor alá.
   A menüsor 73 px magas; a többlet levegő, hogy a cím ne tapadjon a tetejére. */
html { scroll-padding-top: 96px; }
.ws-anchor-target:focus { outline: none; }

/* Akadálymentesség: „Ugrás a tartalomra” link (csak fókuszra jelenik meg), és a teljes kártyát lefedő linkeknél
   (.ws-stretched) a fókuszkeret a kártya körül látszik, nem egy láthatatlan szövegen. */
.ws-skip { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--ws-focus); color: #0f161f !important; font-weight: 700; text-decoration: none; }
.ws-skip:focus, .ws-skip:focus-visible { top: 12px; outline: 3px solid #0f161f !important; outline-offset: 0; }
#tartalom:focus { outline: none; }
.ws-stretched:focus-visible::after { outline: 3px solid var(--ws-focus); outline-offset: 2px; }

/* ==========================================================================
   Széles monitor: az egész oldal (fejléc, nyitókép, tartalom, lábléc) legfeljebb
   1440 px széles, középen; a két szélén a legsötétebb háttér. A tartalom marad 1140 px.
   A rögzített (görgetéskor megjelenő) menüsor is ehhez a kerethez igazodik.
   ========================================================================== */
:root { --ws-page-max: 1440px; }
@media (min-width: 1441px) {
    html { background-color: var(--ws-topbar); }
    body {
        max-width: var(--ws-page-max);
        margin-left: auto;
        margin-right: auto;
        box-shadow: 0 0 0 1px var(--ws-divider);
    }
    .nk-navbar.nk-navbar-fixed {
        left: calc((100% - var(--ws-page-max)) / 2);
        right: calc((100% - var(--ws-page-max)) / 2);
    }
}
