/*
Theme Name: Fantezi Lig
Theme URI: https://fantezilig.example
Author: Fantezi Lig Ekibi
Author URI: https://fantezilig.example
Description: Fantezi futbola adanmış, oyunlaştırılmış modern bir spor blogu teması. Süper Lig Fantasy, Fantasy Premier League (FPL), kadro önerileri, ipuçları ve haftalık analiz için kart tabanlı, mor ve neon yeşili aksanlı, koyu lacivert zeminli bir mobil uygulama havası sunar.
Version: 1.0.0
Text Domain: fantezi-lig
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, sports, football, fantasy, custom-logo, custom-menu, featured-images, translation-ready, threaded-comments, right-sidebar
*/

/* =========================================================
   Fantezi Lig — uygulama / istatistik panosu arayuzu.
   Bilesen tabanli kart mimarisi, jetonlanmis sinif adlari.
   Tokenler: pitch-, squad-, gw-, kit-, board-.
   ========================================================= */

/* ---- Tasarim jetonlari (renkler korundu) ---- */
:root {
    --fzl-violet: #5a2ea6;
    --fzl-violet-lift: #7a45d6;
    --fzl-violet-deep: #2a2150;
    --fzl-turf: #39e26b;
    --fzl-turf-deep: #22c957;

    --fzl-pitch: #141a33;
    --fzl-pitch-deep: #10152a;
    --fzl-panel: #1c2444;
    --fzl-panel-hi: #232c52;
    --fzl-panel-top: #2b356a;

    --fzl-chalk: #eef1fb;
    --fzl-chalk-soft: #c8cfeb;
    --fzl-fade: #9aa4cc;
    --fzl-seam: rgba(255, 255, 255, .09);
    --fzl-seam-lift: rgba(255, 255, 255, .16);

    /* Lig (bolum) aksanlari */
    --lg-superlig: #ff4d7d;
    --lg-fpl: #37b6ff;
    --lg-kadro: #ffb020;
    --lg-ipucu: #39e26b;
    --lg-analiz: #a855f7;

    --fzl-face-head: "Segoe UI", "SF Pro Display", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --fzl-face-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --fzl-face-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

    --fzl-max: 1200px;
    --fzl-round: 18px;
    --fzl-round-sm: 10px;
    --fzl-round-pill: 999px;

    --fzl-lift-sm: 0 1px 2px rgba(6, 10, 26, .4), 0 2px 8px rgba(6, 10, 26, .3);
    --fzl-lift-md: 0 12px 30px rgba(6, 10, 26, .45);
    --fzl-lift-lg: 0 26px 60px rgba(6, 10, 26, .6);
    --fzl-halo: 0 0 0 1px rgba(122, 69, 214, .35), 0 8px 26px rgba(90, 46, 166, .35);

    --fzl-pad: clamp(16px, 4vw, 28px);
    --fzl-ease: .22s ease;
}

/* ---- Sifirlama / temel ---- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
    margin: 0;
    font-family: var(--fzl-face-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--fzl-chalk);
    background: var(--fzl-pitch);
    background-image:
        radial-gradient(1200px 600px at 85% -10%, rgba(90, 46, 166, .28), transparent 60%),
        radial-gradient(900px 500px at -10% 0%, rgba(57, 226, 107, .10), transparent 55%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fzl-face-head);
    line-height: 1.18;
    color: var(--fzl-chalk);
    margin: 0 0 .5em;
    font-weight: 700;
    letter-spacing: -.015em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.2em; }

a { color: var(--fzl-turf); text-decoration: none; transition: color var(--fzl-ease); }
a:hover { color: var(--fzl-turf-deep); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.3em; }

blockquote {
    margin: 1.6em 0;
    padding: 1em 1.4em;
    border-left: 4px solid var(--fzl-turf);
    background: var(--fzl-panel-hi);
    border-radius: 0 var(--fzl-round-sm) var(--fzl-round-sm) 0;
    font-style: italic;
    color: var(--fzl-chalk-soft);
}

code, pre { font-family: var(--fzl-face-mono); font-size: .9em; }
pre {
    background: var(--fzl-pitch-deep);
    color: #e2e8f0;
    padding: 1.2em;
    border-radius: var(--fzl-round-sm);
    overflow-x: auto;
    border: 1px solid var(--fzl-seam);
}
code { background: var(--fzl-panel-hi); padding: .15em .4em; border-radius: 4px; color: var(--fzl-turf); }
pre code { background: none; padding: 0; color: inherit; }

hr { border: 0; border-top: 1px solid var(--fzl-seam); margin: 2em 0; }

/* ---- Erisilebilirlik ---- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px; width: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    position: absolute !important;
    word-wrap: normal !important;
}
.fzl-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--fzl-turf);
    color: #06210f;
    padding: 12px 20px;
    border-radius: 0 0 var(--fzl-round-sm) 0;
    font-family: var(--fzl-face-head);
    font-weight: 700;
}
.fzl-skip:focus { left: 0; color: #06210f; }
:focus-visible { outline: 3px solid var(--fzl-turf); outline-offset: 2px; border-radius: 3px; }

/* ---- Iskelet / yerlesim ---- */
.pitch-wrap {
    width: 100%;
    max-width: var(--fzl-max);
    margin-inline: auto;
    padding-inline: var(--fzl-pad);
}

#fzl-app { display: flex; flex-direction: column; min-height: 100vh; }
#fzl-body { flex: 1 0 auto; }

.pitch-stage { padding-block: clamp(28px, 5vw, 52px); }

.pitch-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 48px);
    align-items: start;
}
@media (min-width: 1000px) {
    .pitch-split--board { grid-template-columns: minmax(0, 1fr) 330px; }
}
.pitch-lane { min-width: 0; }

/* ---- Ust bar (header) ---- */
.gw-topbar {
    position: relative;
    background: linear-gradient(120deg, #1a1140 0%, var(--fzl-violet) 55%, #3f2280 100%);
    color: #fff;
    box-shadow: var(--fzl-lift-md);
}
.gw-topbar::after {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--fzl-turf), var(--fzl-violet-lift), var(--fzl-turf));
}
.gw-topbar__row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-block: 16px;
}

.club-crest { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.custom-logo-link img { max-height: 52px; width: auto; }
.crest-mark {
    display: inline-grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: 13px;
    background: rgba(57, 226, 107, .14);
    border: 1px solid rgba(57, 226, 107, .45);
    flex-shrink: 0;
}
.crest-mark svg { width: 28px; height: 28px; }
.club-name {
    font-family: var(--fzl-face-head);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
    line-height: 1.05;
}
.club-name a { color: #fff; }
.club-name a:hover { color: var(--fzl-turf); }
.club-tagline {
    font-size: .82rem;
    color: rgba(238, 241, 251, .75);
    margin: 2px 0 0;
    font-weight: 500;
    letter-spacing: .01em;
}

/* Ana gezinme */
.tactic-nav { display: flex; align-items: center; }
.tactic-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    margin: 0; padding: 0;
    align-items: center;
}
.tactic-nav a {
    display: block;
    color: #eef1fb;
    font-family: var(--fzl-face-head);
    font-weight: 600;
    font-size: .95rem;
    padding: 9px 14px;
    border-radius: var(--fzl-round-pill);
    transition: background var(--fzl-ease), color var(--fzl-ease);
}
.tactic-nav a:hover,
.tactic-nav .current-menu-item > a,
.tactic-nav .current_page_item > a {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}
.tactic-nav .sub-menu {
    position: absolute;
    flex-direction: column;
    background: var(--fzl-panel);
    min-width: 210px;
    padding: 8px;
    border-radius: var(--fzl-round-sm);
    box-shadow: var(--fzl-lift-lg);
    border: 1px solid var(--fzl-seam);
    display: none;
    z-index: 60;
    gap: 2px;
}
.tactic-nav li { position: relative; }
.tactic-nav li:hover > .sub-menu,
.tactic-nav li:focus-within > .sub-menu { display: flex; }
.tactic-nav .sub-menu a { color: var(--fzl-chalk-soft); }
.tactic-nav .sub-menu a:hover { background: var(--fzl-panel-hi); color: var(--fzl-turf); }

/* Ust bar arama */
.topbar-search { flex-shrink: 0; }
.topbar-search .kick { display: flex; align-items: center; }
.topbar-search .kick__field {
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    padding: 9px 14px;
    border-radius: var(--fzl-round-pill) 0 0 var(--fzl-round-pill);
    font-size: .9rem;
    width: 180px;
    outline: none;
}
.topbar-search .kick__field::placeholder { color: rgba(238, 241, 251, .7); }
.topbar-search .kick__field:focus { background: rgba(255, 255, 255, .2); border-color: var(--fzl-turf); box-shadow: none; }
.topbar-search .kick__go {
    border: 1px solid var(--fzl-turf);
    border-left: 0;
    background: var(--fzl-turf);
    color: #06210f;
    font-weight: 800;
    padding: 9px 16px;
    border-radius: 0 var(--fzl-round-pill) var(--fzl-round-pill) 0;
    cursor: pointer;
    font-family: var(--fzl-face-head);
    transition: background var(--fzl-ease);
}
.topbar-search .kick__go:hover { background: var(--fzl-turf-deep); transform: none; box-shadow: none; }

/* Lig filtre rayi (chip) */
.filter-rail {
    background: rgba(8, 10, 28, .38);
    border-top: 1px solid rgba(255, 255, 255, .10);
}
.filter-rail__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-block: 12px;
    scrollbar-width: thin;
}
.filter-rail__label {
    font-family: var(--fzl-face-head);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(238, 241, 251, .7);
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 4px;
}
.kit-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    font-family: var(--fzl-face-head);
    font-weight: 600;
    font-size: .86rem;
    padding: 7px 15px;
    border-radius: var(--fzl-round-pill);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    transition: transform var(--fzl-ease), background var(--fzl-ease), border-color var(--fzl-ease);
    white-space: nowrap;
}
.kit-chip:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-1px); border-color: var(--fzl-turf); }
.kit-chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fzl-turf); flex-shrink: 0; }
.kit-chip[data-league="superlig"] .kit-chip__dot { background: var(--lg-superlig); }
.kit-chip[data-league="fpl"] .kit-chip__dot { background: var(--lg-fpl); }
.kit-chip[data-league="kadro"] .kit-chip__dot { background: var(--lg-kadro); }
.kit-chip[data-league="ipucu"] .kit-chip__dot { background: var(--lg-ipucu); }
.kit-chip[data-league="analiz"] .kit-chip__dot { background: var(--lg-analiz); }

/* Mobil menu dugmesi */
.nav-boot {
    display: none;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-family: var(--fzl-face-head);
    font-weight: 600;
    font-size: .9rem;
    padding: 9px 14px;
    border-radius: var(--fzl-round-pill);
    cursor: pointer;
}
.nav-boot:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, .2); color: #fff; }
.nav-boot__bars { display: inline-block; width: 18px; height: 2px; background: #fff; position: relative; }
.nav-boot__bars::before,
.nav-boot__bars::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff;
}
.nav-boot__bars::before { top: -6px; }
.nav-boot__bars::after { top: 6px; }

/* ---- Gameweek hero karti ---- */
.gw-hero { margin-top: clamp(24px, 4vw, 40px); }
.gw-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--fzl-round);
    overflow: hidden;
    box-shadow: var(--fzl-lift-md);
    background: var(--fzl-panel);
    border: 1px solid var(--fzl-seam);
    min-height: 320px;
}
.gw-card:not(.gw-card--photo) {
    background: linear-gradient(125deg, var(--fzl-violet-deep), var(--fzl-violet) 65%, #3f2280);
}
.gw-card--photo { display: block; }
.gw-card__media { position: relative; overflow: hidden; }
.gw-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gw-card--photo .gw-card__media { position: absolute; inset: 0; }
.gw-card--photo .gw-card__scrim {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(16, 21, 42, .2) 0%, rgba(16, 21, 42, .6) 55%, rgba(16, 21, 42, .94) 100%);
}
.gw-card__body {
    position: relative;
    color: #fff;
    padding: clamp(22px, 4vw, 40px);
    z-index: 2;
}
.gw-card--photo .gw-card__body {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 720px;
}
.gw-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--fzl-face-head);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .74rem;
    font-weight: 800;
    color: var(--fzl-turf);
    margin-bottom: 14px;
}
.gw-card__title {
    color: #fff;
    font-size: clamp(1.7rem, 4vw, 2.9rem);
    font-weight: 800;
    margin: 0 0 .4em;
}
.gw-card__title a { color: #fff; }
.gw-card__title a:hover { color: var(--fzl-turf); }
.gw-card__summary {
    color: #dfe4f6;
    font-size: 1.05rem;
    max-width: 640px;
    margin-bottom: 18px;
}
.gw-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    font-size: .85rem;
    color: #cfd6ef;
}
/* Gameweek ilerleme cubugu (dekoratif aksan) */
.gw-progress {
    margin-top: 18px;
    max-width: 320px;
}
.gw-progress__label {
    display: flex;
    justify-content: space-between;
    font-family: var(--fzl-face-head);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    color: rgba(238, 241, 251, .8);
    margin-bottom: 6px;
}
.gw-progress__track {
    height: 7px;
    border-radius: var(--fzl-round-pill);
    background: rgba(255, 255, 255, .16);
    overflow: hidden;
}
.gw-progress__fill {
    height: 100%;
    border-radius: var(--fzl-round-pill);
    background: linear-gradient(90deg, var(--fzl-turf), var(--fzl-violet-lift));
}

/* ---- Blok basliklari + lig aksanlari ---- */
.gw-block { margin-top: clamp(36px, 5vw, 54px); }
.squad-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 8px;
    flex-wrap: wrap;
}
.squad-head__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
}
.squad-head__flag {
    width: 6px;
    height: 30px;
    border-radius: 6px;
    background: var(--fzl-turf);
    display: inline-block;
    box-shadow: 0 0 12px rgba(57, 226, 107, .5);
}
.squad-head__more {
    font-family: var(--fzl-face-head);
    font-weight: 700;
    font-size: .9rem;
    color: var(--fzl-turf);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.squad-head__more:hover { color: var(--fzl-turf-deep); }

/* Blok altindaki ince ilerleme seridi */
.squad-head__seam {
    height: 3px;
    border-radius: var(--fzl-round-pill);
    background: linear-gradient(90deg, var(--fzl-turf), transparent 70%);
    margin-bottom: 22px;
    opacity: .7;
}

/* Lig renkli aksanlar */
.gw-block[data-league="superlig"] .squad-head__flag { background: var(--lg-superlig); box-shadow: 0 0 12px rgba(255, 77, 125, .5); }
.gw-block[data-league="fpl"] .squad-head__flag { background: var(--lg-fpl); box-shadow: 0 0 12px rgba(55, 182, 255, .5); }
.gw-block[data-league="kadro"] .squad-head__flag { background: var(--lg-kadro); box-shadow: 0 0 12px rgba(255, 176, 32, .5); }
.gw-block[data-league="ipucu"] .squad-head__flag { background: var(--lg-ipucu); box-shadow: 0 0 12px rgba(57, 226, 107, .5); }
.gw-block[data-league="analiz"] .squad-head__flag { background: var(--lg-analiz); box-shadow: 0 0 12px rgba(168, 85, 247, .5); }
.gw-block[data-league="superlig"] .squad-head__seam { background: linear-gradient(90deg, var(--lg-superlig), transparent 70%); }
.gw-block[data-league="fpl"] .squad-head__seam { background: linear-gradient(90deg, var(--lg-fpl), transparent 70%); }
.gw-block[data-league="kadro"] .squad-head__seam { background: linear-gradient(90deg, var(--lg-kadro), transparent 70%); }
.gw-block[data-league="ipucu"] .squad-head__seam { background: linear-gradient(90deg, var(--lg-ipucu), transparent 70%); }
.gw-block[data-league="analiz"] .squad-head__seam { background: linear-gradient(90deg, var(--lg-analiz), transparent 70%); }

/* ---- Squad kartlari ---- */
.squad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: clamp(18px, 3vw, 26px);
}
.squad-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--fzl-panel);
    border: 1px solid var(--fzl-seam);
    border-radius: var(--fzl-round);
    overflow: hidden;
    box-shadow: var(--fzl-lift-sm);
    transition: transform var(--fzl-ease), box-shadow var(--fzl-ease), border-color var(--fzl-ease);
}
.squad-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fzl-halo), var(--fzl-lift-md);
    border-color: var(--fzl-seam-lift);
}
.squad-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--fzl-panel-hi);
    display: block;
}
.squad-card__thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.squad-card:hover .squad-card__thumb img { transform: scale(1.05); }
.squad-card__thumb--empty {
    display: grid;
    place-items: center;
    background: linear-gradient(125deg, var(--fzl-panel-hi), var(--fzl-panel-top));
    color: rgba(238, 241, 251, .5);
}
.squad-card__thumb--empty svg { width: 54px; height: 54px; opacity: .85; }

.squad-card__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.squad-card__name {
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}
.squad-card__name a { color: var(--fzl-chalk); }
.squad-card__name a:hover { color: var(--fzl-turf); }
.squad-card__brief {
    color: var(--fzl-fade);
    font-size: .95rem;
    margin: 0;
    flex: 1;
}
.squad-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: .8rem;
    color: var(--fzl-fade);
    margin-top: auto;
    padding-top: 4px;
}
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fzl-fade); display: inline-block; }

/* Lig rozeti (kit-badge) */
.kit-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--fzl-face-head);
    font-weight: 800;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 5px 11px;
    border-radius: var(--fzl-round-pill);
    color: #0b1024;
    background: var(--fzl-turf);
    line-height: 1;
    align-self: flex-start;
}
.kit-badge[data-league="superlig"] { background: var(--lg-superlig); color: #2a0713; }
.kit-badge[data-league="fpl"] { background: var(--lg-fpl); color: #04223a; }
.kit-badge[data-league="kadro"] { background: var(--lg-kadro); color: #35240a; }
.kit-badge[data-league="ipucu"] { background: var(--lg-ipucu); color: #06210f; }
.kit-badge[data-league="analiz"] { background: var(--lg-analiz); color: #22083f; }
.squad-card__thumb .kit-badge { position: absolute; top: 12px; left: 12px; z-index: 3; box-shadow: var(--fzl-lift-sm); }

/* Oyunlastirilmis puan jetonu (okuma suresi) */
.score-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--fzl-face-head);
    font-weight: 700;
    font-size: .72rem;
    padding: 4px 10px;
    border-radius: var(--fzl-round-pill);
    background: var(--fzl-panel-hi);
    border: 1px solid var(--fzl-seam);
    color: var(--fzl-chalk-soft);
}
.score-pill__pt {
    display: inline-grid;
    place-items: center;
    width: 15px; height: 15px;
    border-radius: 50%;
    background: var(--fzl-turf);
    color: #06210f;
    font-size: .6rem;
    font-weight: 800;
}
.read-stat { display: inline-flex; align-items: center; gap: 5px; }

/* Bos blok durumu */
.squad-empty {
    grid-column: 1 / -1;
    padding: 28px;
    text-align: center;
    color: var(--fzl-fade);
    background: var(--fzl-panel);
    border-radius: var(--fzl-round);
    border: 1px dashed var(--fzl-seam-lift);
}

/* ---- Lider tablosu (board aside) ---- */
.board-aside { display: flex; flex-direction: column; gap: 26px; }
.board-panel {
    background: var(--fzl-panel);
    border: 1px solid var(--fzl-seam);
    border-radius: var(--fzl-round);
    padding: 22px;
    box-shadow: var(--fzl-lift-sm);
}
.board-panel__title {
    font-family: var(--fzl-face-head);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--fzl-seam);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fzl-chalk);
}
.board-panel__title::before {
    content: "";
    width: 5px; height: 18px;
    border-radius: 4px;
    background: linear-gradient(var(--fzl-violet-lift), var(--fzl-turf));
}
.board-panel ul { list-style: none; padding: 0; margin: 0; }
.board-panel ul li {
    padding: 9px 0;
    border-bottom: 1px solid var(--fzl-seam);
    display: flex;
    align-items: center;
    gap: 8px;
}
.board-panel ul li:last-child { border-bottom: 0; }
.board-panel ul li a { color: var(--fzl-chalk-soft); font-weight: 500; }
.board-panel ul li a:hover { color: var(--fzl-turf); }
.board-panel ul ul { margin-left: 14px; margin-top: 6px; }
.board-panel select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--fzl-seam);
    border-radius: var(--fzl-round-sm);
    font-family: inherit;
    background: var(--fzl-panel-hi);
    color: var(--fzl-chalk);
}

/* Siralamali lider listesi */
.ladder { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.ladder__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--fzl-seam);
}
.ladder__row:last-child { border-bottom: 0; }
.ladder__rank {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 9px;
    background: var(--fzl-panel-hi);
    border: 1px solid var(--fzl-seam);
    font-family: var(--fzl-face-head);
    font-weight: 800;
    font-size: .82rem;
    color: var(--fzl-chalk-soft);
}
.ladder__row:nth-child(1) .ladder__rank { background: var(--lg-kadro); color: #35240a; border-color: transparent; }
.ladder__row:nth-child(2) .ladder__rank { background: #cdd6f0; color: #1b2140; border-color: transparent; }
.ladder__row:nth-child(3) .ladder__rank { background: #c98a4b; color: #2a1706; border-color: transparent; }
.ladder__link { flex: 1; min-width: 0; }
.ladder__link a {
    color: var(--fzl-chalk);
    font-weight: 600;
    font-size: .92rem;
    line-height: 1.35;
    display: block;
}
.ladder__link a:hover { color: var(--fzl-turf); }
.ladder__score { flex-shrink: 0; }

/* Istatistik yan karti (tekil) */
.stat-card__list { list-style: none; padding: 0; margin: 0; }
.stat-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--fzl-seam);
}
.stat-card__row:last-child { border-bottom: 0; }
.stat-card__key {
    font-family: var(--fzl-face-head);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: var(--fzl-fade);
}
.stat-card__val { font-weight: 700; color: var(--fzl-chalk); font-size: .95rem; text-align: right; }
.stat-card__val a { color: var(--fzl-chalk); }
.stat-card__val a:hover { color: var(--fzl-turf); }

/* ---- Tekil yazi (match report) ---- */
.match-hero {
    position: relative;
    border-radius: var(--fzl-round);
    overflow: hidden;
    margin: 0 0 26px;
    box-shadow: var(--fzl-lift-md);
    background: var(--fzl-panel);
}
.match-hero img { width: 100%; max-height: 460px; object-fit: cover; }
.match-hero__veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(16, 21, 42, 0) 40%, rgba(16, 21, 42, .8) 100%);
}

.report-head { margin-bottom: 22px; }
.report-title { margin: 12px 0 14px; }
.report-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    color: var(--fzl-fade);
    font-size: .9rem;
}
.report-meta__author { font-weight: 700; color: var(--fzl-chalk-soft); }
.report-meta a { color: var(--fzl-chalk-soft); }
.report-meta a:hover { color: var(--fzl-turf); }
.meta-sep { color: var(--fzl-fade); }

.report-body { font-size: 1.08rem; line-height: 1.8; color: var(--fzl-chalk-soft); }
.report-body > * { max-width: 100%; }
.report-body h2, .report-body h3, .report-body h4 { color: var(--fzl-chalk); }
.report-body h2 { margin-top: 1.6em; }
.report-body h3 { margin-top: 1.4em; }
.report-body img { border-radius: var(--fzl-round-sm); margin: 1.2em 0; }
.report-body figure { margin: 1.4em 0; }
.report-body figcaption { font-size: .85rem; color: var(--fzl-fade); text-align: center; margin-top: .5em; }
.report-body a { text-decoration: underline; text-underline-offset: 2px; }

.report-foot {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--fzl-seam);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0; margin: 0;
}
.tag-cloud a {
    font-size: .82rem;
    background: var(--fzl-panel-hi);
    color: var(--fzl-chalk-soft);
    padding: 5px 12px;
    border-radius: var(--fzl-round-pill);
    font-weight: 600;
    transition: background var(--fzl-ease), color var(--fzl-ease);
}
.tag-cloud a:hover { background: var(--fzl-violet-lift); color: #fff; }

/* Kirinti yolu */
.crumbs {
    font-size: .82rem;
    color: var(--fzl-fade);
    margin-bottom: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.crumbs a { color: var(--fzl-fade); font-weight: 500; }
.crumbs a:hover { color: var(--fzl-turf); }
.crumbs__sep { color: var(--fzl-fade); }
.crumbs [aria-current="page"] { color: var(--fzl-chalk-soft); font-weight: 600; }

/* Yazar kutusu */
.writer-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--fzl-panel);
    border: 1px solid var(--fzl-seam);
    border-radius: var(--fzl-round);
    padding: 22px;
    margin-top: 30px;
}
.writer-box .avatar { border-radius: 50%; flex-shrink: 0; }
.writer-box__name { font-family: var(--fzl-face-head); font-weight: 700; font-size: 1.1rem; margin: 0 0 4px; color: var(--fzl-chalk); }
.writer-box__bio { margin: 0; color: var(--fzl-chalk-soft); font-size: .95rem; }

/* Ilgili yazilar */
.linked-reports { margin-top: 44px; }

/* Yazi navigasyonu */
.report-nav {
    margin-top: 34px;
}
.report-nav .nav-links {
    display: grid;
    gap: 14px;
}
@media (min-width: 640px) { .report-nav .nav-links { grid-template-columns: 1fr 1fr; } }
.report-nav .nav-previous a,
.report-nav .nav-next a {
    display: block;
    padding: 16px 20px;
    border: 1px solid var(--fzl-seam);
    border-radius: var(--fzl-round);
    background: var(--fzl-panel);
    transition: border-color var(--fzl-ease), box-shadow var(--fzl-ease);
}
.report-nav .nav-previous a:hover,
.report-nav .nav-next a:hover { border-color: var(--fzl-seam-lift); box-shadow: var(--fzl-lift-sm); }
.report-nav__hint {
    display: block;
    font-family: var(--fzl-face-head);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--fzl-fade);
    font-weight: 700;
    margin-bottom: 6px;
}
.report-nav__name { font-weight: 700; color: var(--fzl-chalk); font-family: var(--fzl-face-head); }
.report-nav .nav-next a { text-align: right; }

/* ---- Formlar + dugmeler ---- */
input[type="text"], input[type="email"], input[type="url"],
input[type="password"], input[type="search"], input[type="number"],
textarea, select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--fzl-seam);
    border-radius: var(--fzl-round-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--fzl-chalk);
    background: var(--fzl-panel-hi);
    transition: border-color var(--fzl-ease), box-shadow var(--fzl-ease);
}
input::placeholder, textarea::placeholder { color: var(--fzl-fade); }
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--fzl-turf);
    box-shadow: 0 0 0 3px rgba(57, 226, 107, .22);
}
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; color: var(--fzl-chalk); }

.boot, button, input[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--fzl-face-head);
    font-weight: 700;
    font-size: .95rem;
    padding: 12px 22px;
    border-radius: var(--fzl-round-pill);
    border: none;
    background: var(--fzl-violet-lift);
    color: #fff;
    cursor: pointer;
    transition: background var(--fzl-ease), transform var(--fzl-ease), box-shadow var(--fzl-ease);
}
.boot:hover, button:hover, input[type="submit"]:hover {
    background: var(--fzl-violet);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--fzl-lift-sm);
}
.boot--primary { background: var(--fzl-turf); color: #06210f; }
.boot--primary:hover { background: var(--fzl-turf-deep); color: #06210f; }
.boot--ghost {
    background: transparent;
    color: var(--fzl-turf);
    border: 1.5px solid var(--fzl-seam-lift);
}
.boot--ghost:hover { background: var(--fzl-panel-hi); color: var(--fzl-turf); }

/* Arama formu (genel) */
.kick { display: flex; gap: 0; align-items: stretch; }
.kick__field {
    border-radius: var(--fzl-round-sm) 0 0 var(--fzl-round-sm);
    border-right: 0;
}
.kick__go {
    border-radius: 0 var(--fzl-round-sm) var(--fzl-round-sm) 0;
    white-space: nowrap;
    background: var(--fzl-turf);
    color: #06210f;
    font-family: var(--fzl-face-head);
    font-weight: 700;
    padding: 12px 22px;
    border: none;
    cursor: pointer;
    transition: background var(--fzl-ease);
}
.kick__go:hover { background: var(--fzl-turf-deep); }

/* ---- Yorumlar ---- */
.report-talk { margin-top: 44px; }
.report-talk__title, .comment-reply-title {
    font-family: var(--fzl-face-head);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--fzl-chalk);
}
.talk-list { list-style: none; padding: 0; margin: 0 0 30px; }
.talk-list ol { list-style: none; }
.talk-list .children { margin-left: clamp(16px, 4vw, 40px); margin-top: 18px; }
.comment-body {
    background: var(--fzl-panel);
    border: 1px solid var(--fzl-seam);
    border-radius: var(--fzl-round);
    padding: 18px 20px;
    margin-bottom: 18px;
}
.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.comment-meta .avatar { border-radius: 50%; }
.comment-author .fn { font-family: var(--fzl-face-head); font-weight: 700; font-style: normal; color: var(--fzl-chalk); }
.comment-metadata { font-size: .8rem; color: var(--fzl-fade); }
.comment-metadata a { color: var(--fzl-fade); }
.reply a {
    font-family: var(--fzl-face-head);
    font-size: .82rem;
    font-weight: 700;
    color: var(--fzl-turf);
}
.comment-respond { margin-top: 24px; }
.comment-form { display: grid; gap: 16px; }
.comment-form p { margin: 0; }
.comment-form .form-submit { margin-top: 4px; }
.talk-note, .logged-in-as { font-size: .88rem; color: var(--fzl-fade); }
.comment-awaiting-moderation { font-size: .82rem; color: var(--lg-kadro); font-style: italic; }
.bypostauthor > .comment-body { border-left: 3px solid var(--fzl-turf); }

/* ---- Sayfalama ---- */
.pitch-pager { margin-top: 40px; }
.pitch-pager .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}
.pitch-pager .page-numbers,
.comments-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: var(--fzl-round-sm);
    border: 1px solid var(--fzl-seam);
    background: var(--fzl-panel);
    color: var(--fzl-chalk-soft);
    font-family: var(--fzl-face-head);
    font-weight: 600;
    transition: all var(--fzl-ease);
}
.pitch-pager .page-numbers:hover,
.comments-pagination .page-numbers:hover { border-color: var(--fzl-seam-lift); background: var(--fzl-panel-hi); color: var(--fzl-chalk); }
.pitch-pager .page-numbers.current,
.comments-pagination .page-numbers.current {
    background: var(--fzl-violet-lift);
    border-color: var(--fzl-violet-lift);
    color: #fff;
}
.pitch-pager .page-numbers.dots { border: none; background: none; }
.comments-pagination { margin-top: 24px; }
.comments-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ---- Sayfa + arsiv basliklari ---- */
.lead-banner {
    background: linear-gradient(120deg, #1a1140, var(--fzl-violet) 70%, #3f2280);
    color: #fff;
    padding: clamp(32px, 6vw, 60px) 0;
    position: relative;
}
.lead-banner::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fzl-turf), var(--fzl-violet-lift));
}
.lead-banner__title { color: #fff; margin: 0 0 8px; }
.lead-banner__sub {
    color: #dfe4f6;
    max-width: 680px;
    margin: 0;
}
.lead-banner .crumbs { color: rgba(223, 228, 246, .8); margin-bottom: 12px; }
.lead-banner .crumbs a { color: rgba(223, 228, 246, .9); }
.lead-banner .crumbs a:hover { color: var(--fzl-turf); }
.lead-banner .crumbs__sep { color: rgba(223, 228, 246, .6); }
.lead-banner .crumbs [aria-current="page"] { color: #fff; }

.pitch-bodywrap { padding-block: clamp(28px, 5vw, 52px); }
.static-page .report-body { font-size: 1.08rem; }

/* 404 */
.void { text-align: center; padding-block: clamp(40px, 8vw, 90px); }
.void__code {
    font-family: var(--fzl-face-head);
    font-size: clamp(4rem, 16vw, 9rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(120deg, var(--fzl-violet-lift), var(--fzl-turf));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}
.void h1 { color: var(--fzl-chalk); }
.void .kick { max-width: 460px; margin: 26px auto 0; }
.void__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
    list-style: none;
    padding: 0;
}

/* Sonuc yok */
.blank-slate {
    text-align: center;
    padding: 40px 20px;
    background: var(--fzl-panel);
    border: 1px solid var(--fzl-seam);
    border-radius: var(--fzl-round);
}

/* ---- Alt bilgi ---- */
.gw-foot {
    background: linear-gradient(180deg, #171d38, var(--fzl-pitch-deep));
    color: var(--fzl-chalk-soft);
    border-top: 1px solid var(--fzl-seam);
    margin-top: clamp(40px, 6vw, 72px);
}
.gw-foot a { color: var(--fzl-chalk-soft); }
.gw-foot a:hover { color: var(--fzl-turf); }
.gw-foot__widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(24px, 4vw, 44px);
    padding-block: clamp(36px, 5vw, 56px);
}
.gw-foot__widgets .board-panel {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}
.gw-foot__widgets .board-panel__title {
    color: #fff;
    border-bottom-color: var(--fzl-seam);
}
.gw-foot__widgets .board-panel__title::before { background: var(--fzl-turf); }
.gw-foot__widgets ul li { border-bottom-color: var(--fzl-seam); }
.gw-foot__widgets ul li a { color: var(--fzl-fade); }
.gw-foot__widgets ul li a:hover { color: var(--fzl-turf); }

.foot-crest { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-crest .crest-mark { background: rgba(57, 226, 107, .14); }
.foot-crest__name { font-family: var(--fzl-face-head); font-weight: 800; font-size: 1.2rem; color: #fff; }
.foot-about { color: var(--fzl-fade); font-size: .94rem; }

.gw-foot__bar { border-top: 1px solid var(--fzl-seam); }
.gw-foot__strip {
    padding-block: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    color: var(--fzl-fade);
}
.foot-nav { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; }
.foot-nav a { font-family: var(--fzl-face-head); font-weight: 600; font-size: .85rem; }

/* ---- Yardimcilar ---- */
.pin {
    display: inline-block;
    font-size: .7rem;
    font-family: var(--fzl-face-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--fzl-turf);
}
.u-center { text-align: center; }
.read-on { font-weight: 700; color: var(--fzl-turf); }

/* ---- Duyarli ---- */
@media (max-width: 900px) {
    .topbar-search .kick__field { width: 130px; }
}
@media (max-width: 820px) {
    .nav-boot { display: inline-flex; }
    .tactic-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        z-index: 70;
        background: #1a1140;
        border-top: 1px solid rgba(255, 255, 255, .12);
        display: none;
        box-shadow: var(--fzl-lift-lg);
    }
    .tactic-nav.is-live { display: block; }
    .tactic-nav ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
    .tactic-nav a { padding: 12px 16px; border-radius: var(--fzl-round-sm); }
    .tactic-nav .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, .06);
        display: flex;
        margin: 4px 0 4px 12px;
    }
    .tactic-nav .sub-menu a { color: #eef1fb; }
    .tactic-nav .sub-menu a:hover { background: rgba(255, 255, 255, .12); color: #fff; }

    .gw-topbar__row { flex-wrap: wrap; }
    .topbar-search { order: 3; width: 100%; }
    .topbar-search .kick { width: 100%; }
    .topbar-search .kick__field { flex: 1; width: auto; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .squad-grid { grid-template-columns: 1fr; }
    .club-name { font-size: 1.3rem; }
    .report-foot { flex-direction: column; align-items: flex-start; }
}
