/* ===== Karadağ Spor Kulübü — tema =====
   Bordo: kulüp kimliği. Altın: kupa vitrininden. Sepya: arşiv fotoğrafları.
   Fontlar _Layout'ta <link> ile yüklenir (render zincirini kısaltmak için @import yok). */

:root {
    /* Bordo skalası */
    --primary: #7a0c21;
    --primary-dark: #420711;
    --primary-deep: #26050b;   /* saf siyah yerine kömür-bordo */
    --primary-light: #a5223d;
    --primary-hover: #96132f;
    --gold: #b98a2f;
    --success: #2f7d4f;   /* galibiyet */
    --draw: #b98a2f;      /* beraberlik (altın) */
    --danger: #b23a3a;    /* mağlubiyet */
    /* Yüzeyler */
    --surface: #f5f3f1;        /* kırık beyaz */
    --surface-alt: #ece8e4;    /* sıcak gri */
    --card: #ffffff;
    --text: #171717;
    --muted: #6d6a68;
    --border: #ded9d5;
    --line: rgba(122, 12, 33, .12);
    /* Tipografi */
    --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    /* Ölçek */
    --radius: 8px;
    --radius-sm: 5px;
    --shadow-sm: 0 1px 3px rgba(38, 5, 11, .06);
    --shadow: 0 6px 20px rgba(38, 5, 11, .10);
    --space-section: clamp(2.75rem, 6vw, 4.5rem);
    --container: 1300px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--surface);
    margin: 0;
}

h1, h2, h3, h4, .display-font {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .01em;
    font-weight: 700;
}

/* Geniş container (tasarım sistemi) */
.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: min(100% - 2rem, var(--container));
}

/* Küçük üst başlık etiketi */
.eyebrow-label {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary);
}

a { color: var(--primary); }
a:hover { color: var(--primary-hover); }

/* Buton hiyerarşisi: primary dolu / outline (koyu zemin) / ghost (açık zemin) */
.btn-bordo {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .04em;
    padding: .55rem 1.5rem;
    border-radius: var(--radius-sm);
}
.btn-bordo:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.btn-outline-bordo {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .04em;
    padding: .55rem 1.5rem;
    border-radius: var(--radius-sm);
}
.btn-outline-bordo:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
/* Açık zeminde ikincil buton */
.btn-ghost-bordo {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--primary);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .04em;
    padding: .55rem 1.5rem;
    border-radius: var(--radius-sm);
}
.btn-ghost-bordo:hover { background: var(--surface-alt); color: var(--primary-dark); border-color: var(--muted); }

/* ===== Üst şerit + menü ===== */
.topbar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, .75);
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.topbar a { color: rgba(255, 255, 255, .85); text-decoration: none; display: inline-block; padding: .45rem 0; }
.topbar a:hover { color: #fff; }

.navbar-ks {
    background: var(--primary);
    box-shadow: 0 2px 10px rgba(66, 7, 17, .35);
}
.navbar-ks .navbar-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    line-height: 1;
}
.navbar-ks .navbar-brand img { height: 44px; border-radius: 6px; background: #fff; padding: 2px; }
.navbar-ks .nav-link {
    color: rgba(255, 255, 255, .85);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .05em;
    padding: .6rem .8rem;
}
.navbar-ks .nav-link:hover, .navbar-ks .nav-link.active { color: #fff; }
.navbar-ks .nav-link.active { box-shadow: inset 0 -3px 0 #fff; }
.navbar-ks .navbar-toggler { border-color: rgba(255, 255, 255, .4); }
/* Scroll'da kompaktlaşan sticky header */
.navbar-ks { transition: padding .2s ease, box-shadow .2s ease; }
.navbar-ks.is-compact { padding-top: .15rem; padding-bottom: .15rem; box-shadow: 0 4px 16px rgba(38, 5, 11, .45); }
.navbar-ks.is-compact .navbar-brand img { height: 36px; transition: height .2s ease; }
.navbar-ks .navbar-brand img { transition: height .2s ease; }
/* Dropdown menü (bordo tema) */
.dropdown-menu-ks {
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-sm);
    padding: .35rem;
    margin-top: .35rem;
}
.dropdown-menu-ks .dropdown-item {
    color: rgba(255, 255, 255, .85);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .04em;
    font-size: .92rem;
    border-radius: 4px;
    padding: .5rem .75rem;
}
.dropdown-menu-ks .dropdown-item:hover, .dropdown-menu-ks .dropdown-item:focus {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}
.navbar-ks .dropdown-toggle::after { vertical-align: .15em; }
.navbar-ks .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero: arşiv fotoğrafı + bordo overlay ===== */
.hero {
    position: relative;
    background: var(--primary-dark);
    color: #fff;
    overflow: hidden;
}
/* Arşiv fotoğrafı zemin katmanı */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/img/hero-arsiv.webp');
    background-size: cover;
    background-position: center 30%;
    filter: grayscale(.3) contrast(1.02);
    z-index: 0;
}
/* Okunabilirlik için koyu bordo-kömür overlay (metin AA kontrastı) */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(38, 5, 11, .95) 0%, rgba(66, 7, 17, .86) 42%, rgba(66, 7, 17, .55) 100%),
        linear-gradient(to bottom, transparent calc(100% - 2px), rgba(255, 255, 255, .12) calc(100% - 2px));
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.75rem, 6vw, 4.5rem); }
.hero .eyebrow {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .28em;
    font-size: .85rem;
    color: var(--gold);
}
.hero h1 {
    font-size: clamp(3rem, 8vw, 5.75rem);
    line-height: .92;
    margin: .35rem 0 .25rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}
.hero .sub {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .1em;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .88);
}

.matchboard {
    background: rgba(38, 5, 11, .62);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius);
    backdrop-filter: blur(6px);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow);
}
.matchboard .label {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .78rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.matchboard .label::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(185, 138, 47, .25);
}
.matchboard .teams {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.15;
}
.matchboard .meta { color: rgba(255, 255, 255, .75); font-size: .92rem; }

/* ===== Bölümler ===== */
.section { padding: var(--space-section) 0; }
.section.surface-alt { background: var(--surface-alt); }
.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .9rem;
}
.section-title::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--line), transparent);
}
/* Başlık üstü küçük etiketli bölüm başlığı bloğu */
.section-head { margin-bottom: 1.75rem; }
.section-head .eyebrow-label { display: block; margin-bottom: .35rem; }
.section-head h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    color: var(--primary-dark);
    margin: 0;
}

/* skor kartları */
.score-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
}
.score-card .tag {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .75rem;
    color: var(--primary);
}
.score-card .row-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.35rem;
}
.score-card .num {
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--primary-dark);
    line-height: 1;
}
.score-card .meta { color: var(--muted); font-size: .88rem; }

/* haber kartları */
.news-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(66, 7, 17, .12); }
.news-card img, .news-card .img-ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-card .img-ph {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-card .img-ph img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.news-card .badge-cat {
    background: var(--primary);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}
.news-card a { color: var(--text); text-decoration: none; }
.news-card a:hover { color: var(--primary); }

/* zaman çizelgesi */
.timeline { position: relative; padding-left: 1.6rem; }
.timeline::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--line);
}
.timeline-item { position: relative; padding-bottom: 2.2rem; }
.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.6rem;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--primary);
}
.timeline-item .year {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary);
    text-transform: uppercase;
    line-height: 1;
}

/* arşiv/sepya */
.archive-photo {
    border-radius: 8px;
    overflow: hidden;
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    background: #ddd;
}
.archive-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(.45) contrast(.95);
    transition: filter .3s ease, transform .3s ease;
}
.archive-photo:hover img { filter: sepia(0); transform: scale(1.03); }
.archive-photo .cap {
    position: absolute;
    inset: auto 0 0 0;
    padding: .5rem .75rem;
    background: linear-gradient(transparent, rgba(23, 23, 23, .75));
    color: #fff;
    font-size: .8rem;
}

/* kupa vitrini */
.trophy-section { background: var(--primary-dark); color: #fff; }
.trophy-section .section-title { color: #fff; }
.trophy-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(185, 138, 47, .4);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    text-align: center;
}
.trophy-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.trophy-card .body { padding: .9rem; }
.trophy-card .title {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--gold);
}
.trophy-card .meta { font-size: .8rem; color: rgba(255, 255, 255, .65); }

/* puan tablosu */
.standings-table { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.standings-table th {
    background: var(--primary-dark);
    color: #fff;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .05em;
    font-size: .85rem;
}
.standings-table .us { background: rgba(122, 12, 33, .08); font-weight: 600; }
.standings-table .us td:first-child { box-shadow: inset 4px 0 0 var(--primary); }
.standings-table td, .standings-table th { padding: .55rem .75rem; }
@media (max-width: 576px) {
    .standings-table .d-sm-cell { display: none; }
}
@media (max-width: 768px) {
    .standings-table .d-md-cell { display: none; }
}

/* oyuncu kartı */
.player-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    height: 100%;
}
.player-card .photo {
    aspect-ratio: 1;
    background: linear-gradient(160deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}
.player-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.player-card .no {
    position: absolute;
    top: .4rem;
    right: .6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: rgba(255, 255, 255, .85);
    line-height: 1;
}
.player-card .photo .silhouette {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 3.2rem;
    color: rgba(255, 255, 255, .25);
    padding-bottom: .5rem;
}
.player-card .name { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; }
.player-card .pos { color: var(--muted); font-size: .8rem; }

/* fikstür listesi */
.fixture-row {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .9rem 1.1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1.25rem;
}
.fixture-row .week {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
    font-size: .85rem;
    min-width: 62px;
}
.fixture-row .teams { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 1.1rem; flex: 1; min-width: 220px; }
.fixture-row .score { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--primary-dark); }
.fixture-row .meta { color: var(--muted); font-size: .85rem; }
.fixture-row-link { text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.fixture-row-link:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); color: inherit; }
.fixture-row-link .teams { color: var(--text); }

/* galeri */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery-cover { border-radius: var(--radius); overflow: hidden; position: relative; display: block; aspect-ratio: 4/3; background: var(--primary-dark); }
.gallery-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-cover:hover img { transform: scale(1.04); }
.gallery-cover .overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: .75rem 1rem;
    background: linear-gradient(transparent, rgba(23, 23, 23, .8));
    color: #fff;
}
.gallery-cover .overlay .t { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 1.05rem; }
.gallery-cover .overlay .c { font-size: .78rem; opacity: .8; }

/* lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(23, 23, 23, .93);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1060;
    padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 6px; }
.lightbox .close { position: absolute; top: 1rem; right: 1.5rem; color: #fff; font-size: 2rem; background: none; border: 0; }
.lightbox .cap { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; }

/* sponsorlar */
.sponsor-strip img { max-height: 56px; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: all .2s; }
.sponsor-strip a:hover img, .sponsor-strip a:focus-visible img { filter: none; opacity: 1; }
.sponsor-main img { max-height: 90px; max-width: 220px; filter: none; opacity: 1; }

/* footer */
.footer {
    background: var(--primary-deep);
    color: rgba(255, 255, 255, .75);
    padding: 2.75rem 0 5rem;
    font-size: .9rem;
    border-top: 3px solid var(--gold);
}
.footer h5 { color: #fff; font-size: 1.05rem; }
.footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer .d-flex.flex-column > a { padding: .45rem 0; } /* mobil dokunma hedefi ≥ 36px */
.footer a:hover { color: #fff; }
.footer .fine { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1.25rem; font-size: .78rem; color: rgba(255, 255, 255, .5); }

/* mobil alt menü */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    display: none;
    z-index: 1050;
    border-top: 1px solid rgba(255, 255, 255, .15);
}
.mobile-nav a {
    flex: 1;
    text-align: center;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .04em;
    padding: .65rem 0 calc(.65rem + env(safe-area-inset-bottom));
}
.mobile-nav a.active { color: #fff; box-shadow: inset 0 3px 0 #fff; }
@media (max-width: 768px) {
    .mobile-nav { display: flex; }
    .hero-inner { padding: 3rem 0 3.5rem; }
}

/* ===== Yeni bileşenler (2. tasarım turu) ===== */

/* Boş durum */
.empty-state {
    background: var(--card);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    color: var(--muted);
}

/* Sıradaki maç kartında takımlar arası ince ayraç */
.score-card .divider-vs { position: relative; padding-top: .6rem; margin-top: .3rem; border-top: 1px solid var(--line); }

/* Ana sayfa kısa puan tablosu */
.mini-standings {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
}
.mini-standings-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-dark);
    color: #fff;
    padding: .75rem 1rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.mini-standings-head a { color: var(--gold); text-decoration: none; font-size: .82rem; padding: .35rem 0; display: inline-block; }
.mini-standings table th {
    background: var(--surface-alt);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .04em;
    color: var(--muted);
    padding: .5rem .75rem;
}
.mini-standings table td { padding: .5rem .75rem; }
.mini-standings .us { background: rgba(122, 12, 33, .08); box-shadow: inset 3px 0 0 var(--primary); }

/* Editoryal haber düzeni */
.news-lead {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 340px;
    color: #fff;
}
.news-lead > img, .news-lead > .img-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.news-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(38, 5, 11, .92) 0%, rgba(38, 5, 11, .35) 55%, transparent 100%); }
.news-lead-body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 1.5rem; }
.news-lead-body h3 { color: #fff; font-size: 1.5rem; margin: 0 0 .4rem; }
.news-lead-body p { color: rgba(255, 255, 255, .85); font-size: .92rem; }
.news-lead-body .small { color: rgba(255, 255, 255, .7); }
.news-lead:hover img { transform: scale(1.03); transition: transform .3s ease; }

.news-mini {
    display: flex;
    flex-direction: row; /* .news-card column'unu ez: görsel solda, içerik sağda */
    align-items: stretch;
    gap: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    flex: 1;
    min-height: 0;
}
.news-mini img, .news-mini .img-ph { width: 120px; height: 100%; flex-shrink: 0; object-fit: cover; aspect-ratio: 1; }
.news-mini .img-ph img { width: 48px; height: 48px; }
.news-mini-body { padding: .85rem 1rem .85rem 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.news-mini-body h4 { font-size: 1.05rem; margin: 0 0 .3rem; color: var(--text); }
.news-mini:hover h4 { color: var(--primary); }

/* Müze girişi */
.museum-intro { background: linear-gradient(160deg, var(--surface) 0%, var(--surface-alt) 100%); }
.museum-year {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(4.5rem, 12vw, 8rem);
    line-height: .85;
    color: var(--primary);
    opacity: .16;
    margin-bottom: -1.5rem;
}
.museum-heading { color: var(--primary-dark); font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: .3rem 0 1rem; }
.museum-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: .75rem;
    height: 100%;
    min-height: 320px;
}
.museum-grid .archive-photo:first-child { grid-row: 1 / 3; }
.museum-grid .archive-photo { aspect-ratio: auto; height: 100%; }
@media (max-width: 767px) {
    .museum-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; }
    .museum-grid .archive-photo:first-child { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 16/9; }
    .museum-grid .archive-photo { aspect-ratio: 4/3; }
}

/* Başkanın mesajı */
.president-message {
    border-left: 4px solid var(--primary);
    background: var(--surface-alt);
    padding: 1.5rem 1.75rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 0;
    font-size: 1.05rem;
}
.president-message p:last-of-type { margin-bottom: 0; }
.president-sign {
    margin-top: 1rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-dark);
}
.president-sign span { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

/* ===== Yön A: gazete/broadsheet skor + Yön C: lig merdiveni ===== */

/* Takım arması placeholder (logo yoksa bordo daire + baş harf) */
.team-crest {
    width: 34px; height: 34px; flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--primary-light), var(--primary-dark));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 1rem;
    line-height: 1;
}
.team-crest img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; background: #fff; }

/* Sonuç rozeti */
.result-badge {
    font-family: var(--font-display); text-transform: uppercase;
    font-weight: 700; letter-spacing: .06em; font-size: .75rem;
    padding: .15rem .5rem; border-radius: 3px; color: #fff;
}
.result-badge.win { background: var(--success); }
.result-badge.draw { background: var(--draw); }
.result-badge.loss { background: var(--danger); }

/* İç saha / deplasman mikro etiketi */
.venue-tag {
    font-family: var(--font-display); text-transform: uppercase;
    font-weight: 600; letter-spacing: .05em; font-size: .75rem;
    padding: .1rem .4rem; border-radius: 3px;
}
.venue-tag.home { background: rgba(122, 12, 33, .1); color: var(--primary); }
.venue-tag.away { background: var(--surface-alt); color: var(--muted); }

/* Broadsheet skor kartı — skor rakamları tabular, kazanan vurgulu, hairline ayraç */
.score-card .num { font-variant-numeric: tabular-nums; }
.score-card .row-line.win span:first-child { color: var(--primary-dark); font-weight: 700; }
.score-card .row-line.loss span:first-child { color: var(--muted); }
.score-card .row-line.win .num { color: var(--primary-dark); }
.score-card .row-line.loss .num { color: var(--muted); }
.score-card .row-line + .row-line { border-top: 1px solid var(--line); padding-top: .55rem; margin-top: .3rem; }
.score-card .team-name-wrap { display: flex; align-items: center; gap: .6rem; }

/* Maç detay: broadsheet skorline */
.match-broadsheet {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    text-align: center;
}
.match-broadsheet .mb-team { display: flex; flex-direction: column; align-items: center; }
.match-broadsheet .team-crest { width: 56px; height: 56px; font-size: 1.5rem; }
.match-broadsheet .mb-score-num {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.6rem, 8vw, 4rem); line-height: 1;
    color: var(--primary-dark); font-variant-numeric: tabular-nums;
    display: inline-flex; align-items: baseline; gap: .4rem;
}
.match-broadsheet .mb-score-num span { color: var(--muted); font-size: .6em; }

/* Son 5 form rehberi */
.form-guide { display: inline-flex; gap: 3px; }
.form-dot {
    width: 18px; height: 18px; border-radius: 4px;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: .7rem; color: #fff;
}
.form-dot.g { background: var(--success); }
.form-dot.b { background: var(--draw); }
.form-dot.m { background: var(--danger); }
.form-empty { color: var(--muted); font-size: .8rem; }

/* Fikstür: hafta ayıracı — bordo etiket + düz ince çizgi */
.fixture-week {
    display: flex; align-items: center; gap: 1rem;
    margin: 2rem 0 .9rem;
}
.fixture-week:first-child { margin-top: 0; }
.fixture-week .week-badge {
    background: var(--primary); color: #fff;
    font-family: var(--font-display); text-transform: uppercase;
    letter-spacing: .1em; font-weight: 700; font-size: .85rem;
    padding: .3rem .75rem; border-radius: var(--radius-sm);
    font-variant-numeric: tabular-nums;
}
.fixture-week::after { content: ""; flex: 1; border-top: 1px solid var(--border); }

/* ===== Maç kartı (fikstür) ===== */
.match-grid { display: grid; gap: .75rem; }
.match-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 4px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.match-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.match-card.res-win { border-left-color: var(--success); }
.match-card.res-draw { border-left-color: var(--draw); }
.match-card.res-loss { border-left-color: var(--danger); }
.match-card.is-club { background: linear-gradient(90deg, rgba(122, 12, 33, .04), transparent 55%); }
.match-card .mc-link { display: block; padding: .9rem 1.1rem; text-decoration: none; color: inherit; }
.match-card .mc-link:hover { color: inherit; }

.mc-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.mc-result {
    margin-left: auto;
    font-family: var(--font-display); text-transform: uppercase;
    font-weight: 700; letter-spacing: .05em; font-size: .75rem; color: var(--muted);
}

/* Durum rozeti — renk tek başına anlam taşımasın diye her zaman metinli */
.status-badge {
    font-family: var(--font-display); text-transform: uppercase;
    font-weight: 700; letter-spacing: .06em; font-size: .75rem;
    padding: .18rem .5rem; border-radius: 3px;
    border: 1px solid transparent;
}
.status-badge.played { background: rgba(47, 125, 79, .12); color: var(--success); border-color: rgba(47, 125, 79, .3); }
.status-badge.scheduled { background: rgba(122, 12, 33, .08); color: var(--primary); border-color: rgba(122, 12, 33, .2); }
.status-badge.awarded { background: rgba(185, 138, 47, .15); color: #8a6520; border-color: rgba(185, 138, 47, .4); }
.status-badge.postponed,
.status-badge.cancelled,
.status-badge.bye { background: var(--surface-alt); color: var(--muted); border-color: var(--border); }
/* Bay haftası: rakip yok; kart soluk, arma yerine kesikli daire */
.match-card.is-bye .mc-body { opacity: .7; }
.team-crest.bye { border: 2px dashed var(--border); background: transparent; color: var(--muted); }
.mc-bye-note { display: block; font-size: .72rem; color: var(--muted); }

/* Gövde: [ev sahibi] [skor] [deplasman] */
.mc-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .75rem;
}
.mc-team { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.mc-team.away { flex-direction: row-reverse; text-align: right; }
.mc-team-name {
    font-family: var(--font-display); text-transform: uppercase;
    font-weight: 600; font-size: 1.05rem; line-height: 1.15;
    overflow-wrap: anywhere;
}
.mc-team.winner .mc-team-name { color: var(--primary-dark); font-weight: 700; }
.mc-team.loser .mc-team-name { color: var(--muted); }
.mc-score { text-align: center; padding: 0 .5rem; }
.mc-score-num {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1;
    color: var(--primary-dark); font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.mc-score-num .sep { color: var(--muted); margin: 0 .15rem; }
.mc-vs {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.1rem; letter-spacing: .08em; color: var(--muted);
}

.mc-meta {
    margin-top: .75rem; padding-top: .6rem;
    border-top: 1px solid var(--line);
    color: var(--muted); font-size: .85rem;
    display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
}
.mc-meta .mc-dot { opacity: .5; }

.mc-actions {
    display: flex; gap: .5rem; flex-wrap: wrap;
    padding: 0 1.1rem .9rem;
}
.mc-action {
    font-family: var(--font-display); text-transform: uppercase;
    font-weight: 600; letter-spacing: .04em; font-size: .78rem;
    padding: .45rem .8rem; min-height: 36px; display: inline-flex; align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--primary); text-decoration: none;
}
.mc-action:hover { background: var(--surface-alt); color: var(--primary-dark); border-color: var(--muted); }

/* Mobilde takım adları alt alta okunur kalsın */
@media (max-width: 480px) {
    .mc-body { grid-template-columns: 1fr auto 1fr; gap: .4rem; }
    .mc-team-name { font-size: .92rem; }
    .mc-team { gap: .4rem; }
    .team-crest { width: 28px; height: 28px; font-size: .85rem; }
}

/* ===== Sayfa başlığı + filtre araç çubuğu ===== */
.page-sub {
    font-family: var(--font-display); text-transform: uppercase;
    letter-spacing: .08em; color: var(--muted); margin: .35rem 0 0;
}
.fixture-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem;
}
.filter-pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-pill {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--font-display); text-transform: uppercase;
    font-weight: 600; letter-spacing: .04em; font-size: .9rem;
    padding: .45rem .9rem; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--card);
    color: var(--text); text-decoration: none;
}
.filter-pill:hover { border-color: var(--primary); color: var(--primary); }
.filter-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-pill .count {
    font-size: .78rem; padding: .05rem .4rem; border-radius: 20px;
    background: var(--surface-alt); color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.filter-pill.active .count { background: rgba(255, 255, 255, .22); color: #fff; }
@media (max-width: 576px) {
    .filter-pills { width: 100%; }
    .filter-pill { flex: 1; justify-content: center; }
    .season-picker { width: 100%; }
}

/* Puan tablosu legend + puan düzeltmesi */
.standings-legend {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
    margin-top: .75rem; font-size: .82rem; color: var(--muted);
}
.standings-legend .legend-item { display: inline-flex; align-items: center; gap: .35rem; }
.standings-legend .legend-note { margin-left: auto; opacity: .8; }
@media (max-width: 768px) {
    .standings-legend .legend-note { display: none; }
}
.point-adj {
    font-size: .72rem; color: var(--danger); margin-left: .25rem;
    font-variant-numeric: tabular-nums;
}
.standings-table abbr { text-decoration: none; border-bottom: 1px dotted rgba(255, 255, 255, .45); cursor: help; }

/* ===== Puan tablosu görsel iyileştirmeleri ===== */
/* Zebra + hover: uzun tabloda satır takibi kolaylaşır */
.standings-table tbody tr:nth-child(even):not(.us) { background: rgba(236, 232, 228, .5); }
.standings-table tbody tr { transition: background-color .12s ease; }
.standings-table tbody tr:hover:not(.us) { background: var(--surface-alt); }

/* Sıra numarası: dar sabit sütun, tabular */
.standings-table .col-rank { width: 44px; text-align: center; }
.standings-table .rank-no {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px;
    font-family: var(--font-display); font-weight: 700; font-size: .9rem;
    color: var(--muted); font-variant-numeric: tabular-nums;
}
/* İlk üç sıra hafif vurgulu — lig sıralamasında göz hızlı tarasın */
.standings-table tbody tr:nth-child(-n+3) .rank-no {
    background: var(--surface-alt); color: var(--primary-dark);
    border-radius: 4px;
}
.standings-table .us .rank-no { background: var(--primary); color: #fff; }

/* Takım hücresi: arma + ad */
.st-team { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.st-team-name { overflow-wrap: anywhere; }
.team-crest-sm { width: 24px; height: 24px; font-size: .78rem; }

/* Averaj işaret rengi */
.standings-table .gd-pos { color: var(--success); }
.standings-table .gd-neg { color: var(--danger); }

/* Puan sütunu tablonun ana çıktısı: en belirgin öğe */
.standings-table .col-pts { text-align: center; }
.standings-table .pts {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.15rem; color: var(--primary-dark);
    font-variant-numeric: tabular-nums;
}
.standings-table .us .pts { color: var(--primary); }
.standings-table thead .col-pts { background: var(--primary); }

@media (max-width: 576px) {
    .standings-table .col-rank { width: 34px; }
    .standings-table .st-team-name { font-size: .92rem; }
    .team-crest-sm { width: 20px; height: 20px; font-size: .7rem; }
}

/* Fikstür satırı: sonuç renk kenarı + Karadağ dolu rail */
.fixture-row { border-left: 4px solid transparent; }
.fixture-row.res-win { border-left-color: var(--success); }
.fixture-row.res-draw { border-left-color: var(--draw); }
.fixture-row.res-loss { border-left-color: var(--danger); }
.fixture-row.is-karadag { background: linear-gradient(90deg, rgba(122, 12, 33, .05), transparent 60%); }
.fixture-row.is-karadag .teams { color: var(--primary-dark); font-weight: 700; }

/* Puan tablosu: form sütunu + tabular rakamlar */
.standings-table td, .standings-table th { font-variant-numeric: tabular-nums; }
.standings-table .form-cell { min-width: 108px; }

/* Anchor hedefleri sticky header altında kalmasın */
[id] { scroll-margin-top: 90px; }

/* erişilebilirlik */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ===== Resmî ilanlar ===== */
.notice-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: .8rem 0;
    background: var(--gold);
    color: var(--primary-deep);
    text-decoration: none;
    font-weight: 600;
    padding-left: max(1rem, calc((100% - var(--container)) / 2 + 1rem));
    padding-right: max(1rem, calc((100% - var(--container)) / 2 + 1rem));
}
.notice-strip:hover { color: var(--primary-deep); background: #c9993a; }
.notice-strip .notice-label {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    background: var(--primary-deep);
    color: #fff;
    padding: .2rem .6rem;
    border-radius: var(--radius-sm);
}
.notice-strip .notice-title { flex: 1 1 auto; }
.notice-strip .notice-meta { font-size: .88rem; font-weight: 400; white-space: nowrap; }

.announcement-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.announcement-card h2 a { color: var(--primary-dark); text-decoration: none; }
.announcement-card h2 a:hover { color: var(--primary); }
.announcement-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
}
.announcement-row:hover { border-color: var(--primary); color: var(--primary); }

/* ===== Sezon arşivi ===== */
.season-card {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 2fr;
    gap: 1.25rem;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease;
}
.season-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.season-card.current { border-left: 4px solid var(--primary); }
.season-card .season-name {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-dark);
}
.season-card .season-league { color: var(--muted); font-size: .92rem; margin-top: .25rem; }
.season-card .season-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
}
.season-card .stat { display: flex; flex-direction: column; gap: .15rem; }
.season-card .stat-label {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .75rem;
    color: var(--muted);
}
.season-card .stat-value { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 768px) {
    .season-card { grid-template-columns: 1fr; }
    .season-card .season-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Puan tablosu satır hover'ı ===== */
.mini-standings tbody tr { transition: background-color .12s ease, box-shadow .12s ease; }
.mini-standings tbody tr:hover { background: rgba(122, 12, 33, .06); box-shadow: inset 3px 0 0 var(--gold); }
.mini-standings tbody tr.us:hover { background: rgba(122, 12, 33, .14); box-shadow: inset 3px 0 0 var(--primary); }
.mini-standings tbody tr:hover td:nth-child(2) { color: var(--primary); font-weight: 600; }

.standings-table tbody tr:hover:not(.us) { background: rgba(122, 12, 33, .06); box-shadow: inset 4px 0 0 var(--gold); }
.standings-table tbody tr.us:hover { background: rgba(122, 12, 33, .14); }
.standings-table tbody tr:hover .st-team-name { color: var(--primary); }
.standings-table tbody tr:hover .rank-no { transform: scale(1.08); }
.standings-table .rank-no { transition: transform .12s ease; }

/* Mini tablo satırı tıklanabilir: takım adındaki link stretched-link ile satırı kaplar */
.mini-standings tbody tr { position: relative; cursor: pointer; }
.mini-standings tbody tr td a { color: inherit; text-decoration: none; }
.mini-standings tbody tr:hover td a { color: var(--primary); }
.mini-standings tbody tr:focus-within { outline: 2px solid var(--gold); outline-offset: -2px; }

/* ===== Tam puan tablosu: satıra tıkla → takım filtresi ===== */
.standings-table tbody tr.clickable { position: relative; cursor: pointer; }
.standings-table tbody tr.clickable a.st-team-name { color: inherit; text-decoration: none; }
.standings-table tbody tr.clickable:hover a.st-team-name { color: var(--primary); }
.standings-table tbody tr.clickable:focus-within { outline: 2px solid var(--gold); outline-offset: -2px; }
.standings-table tbody tr.selected { background: rgba(185, 138, 47, .18) !important; box-shadow: inset 4px 0 0 var(--gold); }
.standings-table tbody tr.selected .st-team-name { color: var(--primary-dark); font-weight: 700; }

.team-filter-bar {
    display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
    background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--gold);
    border-radius: var(--radius); padding: .6rem 1rem; margin-bottom: 1rem;
    scroll-margin-top: 90px;
}
.team-filter-label {
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em;
    font-size: .75rem; color: var(--muted);
}
.team-filter-name { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--primary-dark); }
.team-filter-clear {
    margin-left: auto; font-size: .85rem; color: var(--primary); text-decoration: none;
    padding: .35rem .6rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.team-filter-clear:hover { background: var(--surface-alt); color: var(--primary-dark); }

/* ===== Puan tablosu: arma hover kartı (son maçlar) ===== */
.team-crest.has-pop {
    position: relative; z-index: 2; /* stretched-link / kart linkinin üstünde kalsın ki hover/tıklama armaya ulaşsın */
    cursor: help; transition: transform .12s ease, box-shadow .12s ease;
}
.team-crest.has-pop:hover,
.team-crest.has-pop:focus-visible { transform: scale(1.15); box-shadow: 0 0 0 3px rgba(185, 138, 47, .45); outline: none; }

.team-pop {
    position: fixed; z-index: 1050; width: 280px; max-width: calc(100vw - 1rem);
    background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--primary);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: .7rem .85rem;
    font-size: .85rem; color: var(--text); text-align: left; text-transform: none; letter-spacing: 0; font-weight: 400;
    animation: pop-in .12s ease;
}
@keyframes pop-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.team-pop-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .45rem; }
.team-pop-head strong { color: var(--primary-dark); font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; }
.team-pop-head span { color: var(--muted); font-size: .75rem; }
.team-pop-list { list-style: none; margin: 0; padding: 0; }
.team-pop-list li + li { border-top: 1px solid var(--line); }
.team-pop-list a {
    display: grid; grid-template-columns: 18px 44px 1fr auto; gap: .5rem; align-items: center;
    padding: .35rem 0; color: var(--text); text-decoration: none;
}
.team-pop-list a:hover { color: var(--primary); }
.team-pop-list .tp-score { font-weight: 700; font-variant-numeric: tabular-nums; }
.team-pop-list .tp-opp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-pop-list .tp-date { color: var(--muted); font-size: .75rem; white-space: nowrap; }
.team-pop-foot { margin-top: .4rem; font-size: .72rem; color: var(--muted); }

/* Mini puan tablosu: arma + ad (tam tabloyla aynı düzen) */
.mini-standings .st-team { gap: .5rem; }
.mini-standings .team-crest-sm { width: 22px; height: 22px; font-size: .72rem; flex-shrink: 0; }

/* Sezon arşivi: lider/şampiyon arması */
.season-card .stat-team { display: flex; align-items: center; gap: .45rem; }
.season-card .stat-team .team-crest { width: 26px; height: 26px; font-size: .8rem; flex-shrink: 0; }

/* ===== Oyuncu / heyet kartı hover ===== */
.player-card {
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.player-card::after { /* altta bordo→altın vurgu çizgisi, hover'da soldan sağa açılır */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.player-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(66, 7, 17, .16); border-color: var(--primary); }
.player-card:hover::after { transform: scaleX(1); }

.player-card .photo { overflow: hidden; }
.player-card .photo img { transition: transform .35s ease; }
.player-card:hover .photo img { transform: scale(1.06); }
.player-card .photo::before { /* fotoğrafın altına hafif bordo perde */
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(38, 5, 11, .55) 0%, transparent 45%);
    opacity: 0; transition: opacity .25s ease;
}
.player-card:hover .photo::before { opacity: 1; }
.player-card .no { z-index: 2; transition: transform .25s ease, color .25s ease; }
.player-card:hover .no { color: var(--gold); transform: scale(1.18); text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.player-card .silhouette { position: relative; z-index: 2; transition: color .25s ease, transform .25s ease; }
.player-card:hover .silhouette { color: rgba(255, 255, 255, .55); transform: translateY(-3px); }
.player-card .name, .player-card .pos { transition: color .2s ease; }
.player-card:hover .name { color: var(--primary); }
.player-card:hover .pos { color: var(--gold); }

/* ===== Galeri kartları hover (oyuncu kartıyla aynı dil: kalkma + bordo kenar + altın çizgi) ===== */
.gallery-cover, .archive-photo {
    border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gallery-cover::after, .archive-photo::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.gallery-cover:hover, .archive-photo:hover,
.gallery-cover:focus-visible, .archive-photo:focus-visible {
    transform: translateY(-4px); box-shadow: 0 10px 26px rgba(66, 7, 17, .18); border-color: var(--primary); outline: none;
}
.gallery-cover:hover::after, .archive-photo:hover::after,
.gallery-cover:focus-visible::after, .archive-photo:focus-visible::after { transform: scaleX(1); }

.gallery-cover img { transition: transform .35s ease; }
.gallery-cover:hover img { transform: scale(1.06); }
.gallery-cover .overlay { transition: background .25s ease, padding-bottom .25s ease; }
.gallery-cover:hover .overlay { background: linear-gradient(transparent, rgba(38, 5, 11, .9)); padding-bottom: .95rem; }
.gallery-cover .overlay .t { transition: color .2s ease; }
.gallery-cover:hover .overlay .t { color: var(--gold); }
.gallery-cover .overlay .c::after { content: " →"; opacity: 0; transition: opacity .2s ease; }
.gallery-cover:hover .overlay .c::after { opacity: 1; }

/* arşiv fotoğrafı: sepya kalkar (mevcut), ek olarak altyazı belirginleşir */
.archive-photo .cap { transition: background .25s ease; }
.archive-photo:hover .cap { background: linear-gradient(transparent, rgba(38, 5, 11, .9)); }

/* kupa vitrini (koyu zemin): altın kenar parlar */
.trophy-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.trophy-card img { transition: transform .35s ease; }
.trophy-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 10px 26px rgba(0, 0, 0, .35), 0 0 0 1px rgba(185, 138, 47, .35); }
.trophy-card:hover img { transform: scale(1.05); }

/* Panel kullanıcısı için taslak önizleme şeridi */
.preview-strip {
    background: repeating-linear-gradient(45deg, #b98a2f 0 12px, #a67a24 12px 24px);
    color: #26050b; font-weight: 700; text-align: center; padding: .5rem 1rem; font-size: .9rem;
}
.preview-strip a { color: #26050b; text-decoration: underline; }
