/* =====================================================================
   Tahmin AI - Futbol Sahası Teması
   ===================================================================== */

/* Montserrat latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #0a1a12;
    --bg-soft: #07130d;
    --card: #10291c;
    --card-2: #0d2116;
    --panel: #0d1f16;
    --border: rgba(255, 255, 255, .14);
    --border-strong: rgba(255, 255, 255, .32);
    --chalk: rgba(255, 255, 255, .82);
    --text: #eef7ee;
    --muted: #a7c6b1;
    --primary: #ffd21f;
    --primary-2: #ff9d1c;
    --lime: #c8f542;
    --success: #5ee89a;
    --danger: #ff4d5e;
    --warn: #ffd21f;
    --pitch-1: #187a45;
    --pitch-2: #146b3c;
    --radius: 14px;
    --shadow: 0 14px 40px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    background: radial-gradient(1100px 600px at 50% -12%, rgba(255, 255, 255, .05), transparent 62%), var(--bg);
    color: var(--text);
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

.muted { color: var(--muted); }
.small { font-size: 12.5px; display: block; }
.nowrap { white-space: nowrap; }
.error-text { color: var(--danger); }

h1 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.02em; }
h2 { font-size: 19px; margin: 0; letter-spacing: -.01em; }
h3 { font-size: 16px; margin: 18px 0 8px; }

/* ---------------- Topbar (stadyum reklam bandı) ---------------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    background: rgba(6, 22, 14, .92);
    border-bottom: 3px solid rgba(255, 255, 255, .75);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .4);
    animation: page-top-in .4s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes page-top-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

/* Ana sayfa açılış zinciri */
main.container > .stats-grid,
main.container > .pitch-card,
main.container > .report-section,
main.container > .card:not(.pitch-card):not(.report-section) {
    animation: page-rise .5s cubic-bezier(.22, .61, .36, 1) both;
}

main.container > .stats-grid { animation-delay: .06s; }
main.container > .pitch-card { animation-delay: .14s; }
main.container > .report-section { animation-delay: .08s; }

.stats-grid > .stat-card:nth-child(1) { animation: page-rise .45s cubic-bezier(.22, .61, .36, 1) both; animation-delay: .1s; }
.stats-grid > .stat-card:nth-child(2) { animation: page-rise .45s cubic-bezier(.22, .61, .36, 1) both; animation-delay: .16s; }
.stats-grid > .stat-card:nth-child(3) { animation: page-rise .45s cubic-bezier(.22, .61, .36, 1) both; animation-delay: .22s; }

@keyframes page-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .topbar,
    main.container > .stats-grid,
    main.container > .pitch-card,
    main.container > .report-section,
    main.container > .card:not(.pitch-card):not(.report-section),
    .stats-grid > .stat-card {
        animation: none !important;
    }
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
    font-weight: 600;
    font-size: 17px;
}

.brand strong {
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5));
}

.nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.nav-link { color: var(--muted); font-weight: 500; }
.nav-link:hover { color: #fff; }

.token-pill {
    background: rgba(200, 245, 66, .12);
    border: 1px solid rgba(200, 245, 66, .45);
    color: #e8ffb8;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.user-pill { display: flex; align-items: center; gap: 8px; max-width: 220px; }
.user-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-strong);
    flex: 0 0 auto;
}

.avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #231a00;
    font-weight: 700;
    text-transform: uppercase;
}

/* Onay tiki (X tarzı verified rozet) */
.avatar-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 50%;
}

.avatar-status svg { display: block; }

.avatar-status.is-pending  { color: #7d8f86; }
.avatar-status.is-approved { color: #1d9bf0; }
.avatar-status.is-admin    { color: #ff2d3f; }

.user-pill { text-decoration: none; color: inherit; }
.user-pill:hover .user-name { color: #fff; }

/* ---------------- Analizlerim ---------------- */
.my-analyses .my-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.my-item {
    margin: 0;
    padding: 16px 18px;
}

.my-item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.my-item-head h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.my-excerpt {
    margin: 0 0 12px;
    font-size: 13.5px;
    line-height: 1.5;
}

.my-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-form { margin: 0; }

.share-btn {
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
}

.share-wa {
    border: 1px solid rgba(37, 211, 102, .55);
    background: rgba(37, 211, 102, .12);
    color: #b8ffd0;
}

.share-wa:hover {
    border-color: #25d366;
    background: rgba(37, 211, 102, .2);
}

.share-tg {
    border: 1px solid rgba(41, 169, 237, .55);
    background: rgba(41, 169, 237, .12);
    color: #c8ecff;
}

.share-tg:hover {
    border-color: #29a9ed;
    background: rgba(41, 169, 237, .2);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

/* Analiz gövdesi: kopyalanamaz (başlık/buton vs. serbest) */
.no-copy {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.my-view {
    margin: 0 0 12px;
}

.my-view > summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    list-style: none;
    margin-bottom: 8px;
}

.my-view > summary::-webkit-details-marker { display: none; }
.my-view > summary::before { content: "▸ "; }
.my-view[open] > summary::before { content: "▾ "; }

.my-view .ai-output {
    max-height: 420px;
    overflow: auto;
}

/* ---------------- Layout ---------------- */
main.container {
    padding: 28px 0 48px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.page-head p { margin: 0; max-width: 760px; }

.page-head h1::after {
    content: "";
    display: block;
    width: 74px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .7);
    margin-top: 10px;
}

/* ---------------- Kartlar ---------------- */
.card {
    background: linear-gradient(180deg, rgba(16, 41, 28, .96), rgba(11, 30, 20, .96));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
    margin-bottom: 20px;
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.stat-card {
    margin-bottom: 0;
    padding: 12px 16px;
    background: linear-gradient(180deg, #0a1c12, #061108);
    border-color: rgba(200, 245, 66, .35);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45), inset 0 0 18px rgba(200, 245, 66, .04);
}

.stat-label {
    display: block;
    color: var(--lime);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 4px;
    font-weight: 600;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #eaffd0;
    text-shadow: 0 0 16px rgba(200, 245, 66, .3);
    font-variant-numeric: tabular-nums;
}

/* ---------------- Form ---------------- */
label { display: block; font-weight: 600; margin-bottom: 8px; }

.input-row { display: flex; gap: 10px; flex-wrap: wrap; }

input[type="text"] {
    flex: 1 1 280px;
    min-width: 0;
    background: var(--bg-soft);
    border: 1px solid var(--border-strong);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

input[type="text"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 210, 31, .25);
}

input[type="text"]:disabled { opacity: .5; cursor: not-allowed; }

.hint { color: var(--muted); font-size: 13.5px; margin: 12px 0 0; }

/* ---------------- Butonlar ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 11px 18px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform .12s, filter .15s, background .15s, border-color .15s, color .15s;
    white-space: nowrap;
}

.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.is-disabled {
    opacity: .4;
    cursor: not-allowed;
    pointer-events: none;
    border-style: dashed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #231a00;
    box-shadow: 0 8px 22px rgba(255, 210, 31, .22);
}

.btn-success { background: rgba(200, 245, 66, .14); border-color: rgba(200, 245, 66, .5); color: #dfffa0; }
.btn-danger { background: rgba(255, 77, 94, .16); border-color: rgba(255, 77, 94, .55); color: #ffc2c8; }
.btn-ghost { background: rgba(0, 0, 0, .25); border-color: var(--border-strong); color: var(--muted); }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }

.btn-google {
    width: 100%;
    background: #fff;
    color: #1f1f1f;
    margin-top: 16px;
    padding: 12px 18px;
}

/* ---------------- Badge ---------------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
}

.badge-success { background: rgba(200, 245, 66, .14); border-color: rgba(200, 245, 66, .5); color: #e2ff9d; }
.badge-live { background: var(--lime); border-color: var(--lime); color: #0b2417; }
.badge-live::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0b2417;
    animation: livePulse 1.6s infinite;
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(11, 36, 23, .55); }
    70% { box-shadow: 0 0 0 6px rgba(11, 36, 23, 0); }
    100% { box-shadow: 0 0 0 0 rgba(11, 36, 23, 0); }
}

.badge-warn { background: var(--warn); border-color: var(--warn); color: #241c00; }
.badge-warn::before { content: ""; width: 9px; height: 12px; border-radius: 2px; background: #241c00; opacity: .75; }
.badge-admin { background: rgba(150, 120, 255, .2); border-color: rgba(150, 120, 255, .55); color: #d9ccff; }
.badge-muted { background: rgba(167, 198, 177, .12); border-color: rgba(167, 198, 177, .4); color: var(--muted); }
.badge-cost { background: rgba(255, 77, 94, .16); border-color: rgba(255, 77, 94, .5); color: #ffc2c8; }
.badge-cost::before { content: ""; width: 9px; height: 12px; border-radius: 2px; background: var(--danger); }

/* ---------------- Güven kademesi (Kat) ---------------- */
.kat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    letter-spacing: .4px;
}

.kat-aplus { background: rgba(200, 245, 66, .16); border-color: rgba(200, 245, 66, .5); color: #e2ff9d; }
.kat-a { background: rgba(96, 200, 250, .16); border-color: rgba(96, 200, 250, .45); color: #b3e5ff; }
.kat-b { background: rgba(255, 210, 31, .16); border-color: rgba(255, 210, 31, .5); color: #ffe992; }
.kat-c { background: rgba(255, 77, 94, .16); border-color: rgba(255, 77, 94, .5); color: #ffc2c8; }

.result-card + .result-card { margin-top: 18px; }

/* ---------------- Alert ---------------- */
.alert {
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
    font-size: 14.5px;
}

.alert-success { background: rgba(200, 245, 66, .12); border-color: rgba(200, 245, 66, .45); color: #e2ff9d; }
.alert-error { background: rgba(255, 77, 94, .14); border-color: rgba(255, 77, 94, .5); color: #ffc2c8; border-left: 4px solid var(--danger); }
.alert-info { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #e6f2e9; border-left: 4px solid rgba(255, 255, 255, .7); }

/* ---------------- Auth / Pending ---------------- */
.auth-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 0 auto;
    padding: 32px 0;
}

.auth-card, .pending-card {
    width: min(430px, 100%);
    text-align: center;
    padding: 34px 28px;
    background: linear-gradient(180deg, rgba(13, 34, 23, .97), rgba(7, 20, 13, .97));
    border-color: var(--border-strong);
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .06);
    color: var(--primary);
    margin-bottom: 10px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .4);
}

.auth-card h1 { font-size: 23px; }
.auth-card .muted { margin: 0 0 6px; }
.auth-card .btn-ghost { margin-top: 14px; }
.auth-card .btn-ghost + .btn-ghost { margin-left: 8px; }

.pending-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 210, 31, .14);
    border: 2px solid rgba(255, 210, 31, .6);
    color: var(--primary);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pending-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 18px 0 6px;
    flex-wrap: wrap;
}

/* ---------------- Tabs ---------------- */
.tabs {
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, .32);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    width: fit-content;
    margin-bottom: 18px;
}

.tab {
    padding: 9px 18px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

.tab:hover { color: var(--text); }

.tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #231a00;
}

/* ---------------- Tablolar ---------------- */
.table-wrap { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

th {
    color: var(--lime);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 600;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255, 255, 255, .03); }

td.empty, .empty { text-align: center; color: var(--muted); padding: 26px 10px; }

.col-actions { text-align: right; }

.user-cell { display: flex; align-items: center; gap: 10px; min-width: 210px; }

.action-row { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.action-row form { display: inline; }

.team-tag {
    display: inline-block;
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--border-strong);
    color: #fff;
    padding: 3px 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
}

.log-detail { min-width: 320px; max-width: 520px; }

details summary {
    cursor: pointer;
    color: var(--muted);
    font-size: 13.5px;
    list-style: none;
    word-break: break-word;
}

details summary::-webkit-details-marker { display: none; }
details summary::before { content: "▸ "; color: var(--primary); }
details[open] summary::before { content: "▾ "; }

details .ai-output-sm {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    font-size: 13.5px;
}

/* ---------------- Sonuç ---------------- */
.result-card { border-color: rgba(255, 255, 255, .22); }

/* Rapor sarmalayıcı: fikstür kartıyla aynı dil, iç kartlar hafif */
.report-section {
    scroll-margin-top: 84px;
    padding: 20px;
}

/* Analiz bitince yumuşak açılış (titreme/zıplama yok) */
.report-section.is-enter {
    animation: report-enter .55s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes report-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .report-section.is-enter { animation: none; }
}

.report-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.report-head-main { min-width: 0; }

.report-head h2 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.25;
}

.report-sub {
    /* eski stilin devamı altta; yeni takım satırı ekleniyor */
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
}

.report-sub strong { color: #eaffd0; }

/* Analiz başlığı: Takım A vs Takım B + sağda logolar */
.report-teams {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-weight: 700;
}

.report-team {
    color: #eaf5ec;
}

.report-vs {
    color: var(--muted);
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.report-logos {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
}

.report-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.report-badges { flex-shrink: 0; display: flex; gap: 8px; align-items: center; }

.report-section > .result-card {
    margin-bottom: 14px;
    background: rgba(4, 15, 10, .55);
    box-shadow: none;
}

.report-section > .result-card:last-child { margin-bottom: 0; }

.result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.result-head h2 { margin: 8px 0 2px; }

/* Rapor bölüm başlıkları + standart Açıklamalar kutusu */
.section-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--text, #eaf5ec);
}

.subsection-title {
    margin: 18px 0 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text, #eaf5ec);
}

.section-empty {
    margin: 0 0 12px;
    font-size: 13.5px;
}

.section-notes {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
}

.section-notes h3 {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

.section-notes ul {
    margin: 0;
    padding-left: 18px;
}

.section-notes li {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
    margin-bottom: 4px;
}

.section-notes li:last-child { margin-bottom: 0; }

.ai-output {
    background: rgba(4, 15, 10, .78);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    line-height: 1.7;
}

.ai-output p { margin: 0 0 12px; }
.ai-output p:last-child { margin-bottom: 0; }
.ai-output h1, .ai-output h2, .ai-output h3, .ai-output h4 { margin: 18px 0 8px; line-height: 1.3; }
.ai-output h1 { font-size: 20px; }
.ai-output h2 { font-size: 18px; }
.ai-output h3 { font-size: 16px; }
.ai-output h4 { font-size: 15px; }
.ai-output ul, .ai-output ol { margin: 0 0 12px; padding-left: 22px; }
.ai-output li { margin-bottom: 5px; }
.ai-output code {
    background: rgba(200, 245, 66, .12);
    border: 1px solid rgba(200, 245, 66, .35);
    border-radius: 6px;
    padding: 1px 6px;
    font-size: 13px;
    color: #dfffa8;
}
.ai-output pre {
    background: #050d08;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    overflow-x: auto;
}
.ai-output pre code { background: none; border: none; padding: 0; color: var(--text); }

.ai-output .md-table {
    overflow-x: auto;
    margin: 0 0 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
}
.ai-output .md-table table { background: rgba(255, 255, 255, .02); }
.ai-output .md-table th {
    background: rgba(200, 245, 66, .1);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.ai-output .md-table td { border-bottom: 1px solid var(--border); }
.ai-output .md-table tbody tr:last-child td { border-bottom: none; }
.ai-output .md-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .03); }
.ai-output blockquote {
    margin: 0 0 12px;
    padding: 8px 14px;
    border-left: 3px solid var(--primary);
    background: rgba(255, 210, 31, .08);
    color: var(--muted);
    border-radius: 0 8px 8px 0;
}
.ai-output hr { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.ai-output strong { color: #fff; }

/* ---------------- Sayfalama ---------------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
}

.page-link {
    background: rgba(0, 0, 0, .35);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    padding: 7px 14px;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
}

.page-link:hover { color: #fff; border-color: #fff; }
.page-info { color: var(--muted); font-size: 13.5px; }

/* ---------------- Footer ---------------- */
.footer {
    border-top: 3px solid rgba(255, 255, 255, .6);
    padding: 20px 0;
    background: rgba(4, 16, 10, .88);
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--muted);
}

/* ---------------- Fikstür başlığı ---------------- */
.fixture-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.fixture-head h2 { margin: 8px 0 4px; font-size: 19px; }

/* Başlık + açıklama tek satır (sığmazsa alt satıra iner, kırpılmaz) */
.fixture-title-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
    flex: 1 1 auto;
}

.fixture-title-line h2 {
    margin: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

.fixture-title-line .badge { flex: 0 0 auto; align-self: center; }

.fixture-copy {
    min-width: 0;
    flex: 1 1 240px;
    font-size: 13.5px;
}

.fixture-actions { flex: 0 0 auto; }

.fixture-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ---------------- Saha kartı (tüm sezon fikstürü) ---------------- */
.pitch-card {
    border-top: 3px solid rgba(255, 255, 255, .75);
    background: linear-gradient(180deg, rgba(9, 32, 20, .94), rgba(6, 24, 15, .96));
    scroll-margin-top: 84px;
}

/* ---------------- Hafta blokları ---------------- */
.week-windows { display: block; }

.week-block {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    background: rgba(3, 14, 9, .5);
    margin-bottom: 16px;
}

.week-block.is-current {
    border-color: rgba(255, 210, 31, .55);
    background: rgba(7, 27, 17, .68);
    box-shadow: 0 0 0 1px rgba(255, 210, 31, .14), 0 16px 36px rgba(0, 0, 0, .4);
}

.week-block.is-past,
.week-block.is-future { background: rgba(2, 10, 7, .45); }

.week-block.is-preview {
    border-color: rgba(120, 225, 255, .5);
    background: rgba(6, 22, 22, .6);
    box-shadow: 0 0 0 1px rgba(120, 225, 255, .14), 0 16px 36px rgba(0, 0, 0, .4);
}

.week-block.is-preview .week-note strong { color: #b6efff; }

.week-block-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.week-num {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #fff;
}

.week-block.is-past .week-num,
.week-block.is-future .week-num { color: #cfe3d5; }

.week-note { font-size: 12.5px; color: var(--muted); }
.week-note strong { color: var(--primary); }

/* ---------------- Fikstür kartları ---------------- */
.fixture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 14px;
    margin-bottom: 4px;
    align-items: stretch;
}

/* Form ve kart aynı yüksekliği paylaşır (grid stretch) */
.fixture-form {
    margin: 0;
    display: flex;
    min-width: 0;
}

.fixture-card {
    width: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
    background: linear-gradient(180deg, #0f3a25, #0b2c1b);
    border: 1.5px solid rgba(255, 255, 255, .55);
    border-radius: var(--radius);
    padding: 14px 16px;
    color: var(--text);
    font: inherit;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 8px 20px rgba(0, 0, 0, .3);
    transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.fixture-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 210, 31, .4);
}

.fixture-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.fixture-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--muted);
    width: 100%;
}

.fixture-time { font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }

.fixture-teams {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    font-size: 16.5px;
    line-height: 1.35;
    width: 100%;
}

.fixture-teams strong { color: #fff; }

.fixture-team {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
}

.team-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex: 0 0 auto;
}

.fixture-vs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .55);
    background: rgba(0, 0, 0, .38);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.fixture-stadium { font-size: 12.5px; color: var(--muted); text-align: center; }

.fixture-cta {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

.fixture-advice {
    margin-top: 2px;
    min-height: 18px;
    font-size: 11.5px;
    font-weight: 600;
    color: #b6efff;
    text-align: center;
    letter-spacing: .01em;
}

.fixture-advice.is-hit {
    color: #b8f542;
    font-weight: 800;
}

.fixture-advice.is-miss {
    color: #ffb3ba;
    font-weight: 700;
}

.fixture-card.is-live.is-preview {
    border-color: rgba(120, 225, 255, .65);
}

.fixture-card.is-live.is-preview:hover {
    border-color: #78e1ff;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .45), 0 0 0 1px rgba(120, 225, 255, .4);
}

.fixture-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    min-height: 28px;
}

.fixture-result-empty {
    display: inline-block;
    width: 72px;
    height: 22px;
    opacity: 0;
}

.fixture-result-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

.fixture-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 3px 10px;
    border-radius: 8px;
    background: #061108;
    border: 1.5px solid rgba(200, 245, 66, .65);
    color: #eaffd0;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 14px rgba(200, 245, 66, .4);
}

.fixture-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 8px;
    background: rgba(255, 77, 94, .18);
    border: 1.5px solid rgba(255, 77, 94, .7);
    color: #ffc2c8;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .08em;
}

.fixture-live-chip::first-letter { color: var(--danger); }

.fixture-card.is-readonly {
    background: rgba(0, 0, 0, .34);
    border: 1px dashed rgba(255, 255, 255, .32);
    color: var(--muted);
    cursor: default;
    opacity: .9;
    box-shadow: none;
}

.fixture-card.is-readonly:hover {
    transform: none;
    border-color: rgba(255, 255, 255, .32);
    box-shadow: none;
}

.fixture-card.is-readonly .fixture-teams strong { color: #c6d8cb; }
.fixture-card.is-readonly .fixture-time { color: var(--muted); }
.fixture-card.is-readonly .fixture-vs { border-color: rgba(255, 255, 255, .3); color: var(--muted); }
.fixture-card.is-readonly .fixture-cta { color: var(--muted); font-weight: 600; }

/* ---------------- Sonuç kutusu & Uyarı kartları ---------------- */
.verdict-card {
    border: 2px solid var(--lime);
    background: linear-gradient(180deg, rgba(10, 30, 19, .97), rgba(6, 20, 13, .97));
    box-shadow: 0 0 0 1px rgba(200, 245, 66, .2), 0 16px 40px rgba(0, 0, 0, .5), inset 0 0 34px rgba(200, 245, 66, .05);
}

.verdict-card .ai-output {
    background: rgba(200, 245, 66, .05);
    border-color: rgba(200, 245, 66, .3);
}

.verdict-card .ai-output h3 { color: var(--lime); font-size: 19px; }
.verdict-card .ai-output strong { color: var(--lime); }

.warn-card {
    border: 2px solid var(--warn);
    background: linear-gradient(180deg, rgba(38, 31, 4, .85), rgba(22, 18, 3, .9));
    box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
}

.warn-card .ai-output {
    background: rgba(255, 210, 31, .07);
    border-color: rgba(255, 210, 31, .32);
}

/* ---------------- Haber taraması & Derin analiz kartları ---------------- */
.badge-news { background: rgba(120, 225, 255, .14); border-color: rgba(120, 225, 255, .5); color: #b6efff; }
.badge-deep { background: rgba(150, 120, 255, .2); border-color: rgba(150, 120, 255, .55); color: #d9ccff; }

.news-card { border-color: rgba(120, 225, 255, .45); }

.news-card .ai-output {
    background: rgba(120, 225, 255, .05);
    border-color: rgba(120, 225, 255, .3);
}

.deep-card {
    border-color: rgba(150, 120, 255, .6);
    box-shadow: 0 0 0 1px rgba(150, 120, 255, .14), 0 14px 36px rgba(0, 0, 0, .45);
}

.deep-card .ai-output {
    background: rgba(150, 120, 255, .07);
    border-color: rgba(150, 120, 255, .32);
}

/* Muhtemel ilk 11 çipleri */

.xi-head {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.xi-head strong { font-size: 15px; }
.xi-head .muted { font-size: 12px; }

.xi-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

@media (max-width: 820px) {
    .xi-pair { grid-template-columns: 1fr; }
}

.xi-block {
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 14px 12px;
    min-width: 0;
}

.xi-chips { display: flex; flex-direction: column; gap: 5px; }

.xi-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #eaf5ec;
    width: 100%;
    max-width: none;
}

.xi-pos {
    flex: 0 0 36px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
}

.xi-name { flex: 1 1 auto; min-width: 0; }

.xi-chip.doubt {
    background: var(--warn);
    border-color: var(--warn);
    color: #241c00;
}

.xi-chip.doubt .xi-pos { color: #6f5900; }

.xi-chip.out {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
}

.xi-chip.out .xi-pos { color: #ffd9dd; }

/* Haber listesi tablosu */
.news-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 13.5px;
}

.news-table th {
    text-align: left;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
}

.news-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.news-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .03); }
.news-table tbody tr:last-child td { border-bottom: none; }

.impact {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.impact-yüksek { background: rgba(255, 77, 94, .18); border-color: rgba(255, 77, 94, .55); color: #ffc2c8; }
.impact-orta   { background: rgba(255, 210, 31, .18); border-color: rgba(255, 210, 31, .55); color: #ffe992; }
.impact-düşük  { background: rgba(167, 198, 177, .16); border-color: rgba(167, 198, 177, .45); color: var(--muted); }

/* ---------------- Haber taraması: durum kartları ---------------- */
.news-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin: 4px 0 14px;
}

.news-status-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
}

.news-status-card.is-ok { border-color: rgba(34, 197, 94, .45); background: rgba(34, 197, 94, .08); }
.news-status-card.is-bad { border-color: rgba(255, 77, 94, .5); background: rgba(255, 77, 94, .1); }

.news-status-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

.news-status-value { display: block; font-size: 22px; margin-top: 4px; }
.news-status-card.is-bad .news-status-value { color: #ff8d99; }
.news-status-card.is-ok .news-status-value { color: #6ee7a2; }

.news-status-desc { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.news-verify { margin-top: 4px; }
.news-verify strong { display: block; margin-bottom: 8px; }

.news-verify-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.news-verify-list li {
    font-size: 13.5px;
    line-height: 1.6;
    padding: 9px 12px;
    border-left: 3px solid var(--border);
    background: rgba(255, 255, 255, .035);
    border-radius: 0 10px 10px 0;
}
.news-verify-list .news-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.news-verify-list .news-meta a { color: var(--muted); text-decoration: underline; }

.news-sentiment {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 2px 8px;
    border-radius: 999px;
    margin-right: 8px;
    border: 1px solid transparent;
}
.news-sentiment.s-neg { background: rgba(255, 77, 94, .2); border-color: rgba(255, 77, 94, .55); color: #ffb3ba; }
.news-sentiment.s-pos { background: rgba(34, 197, 94, .16); border-color: rgba(34, 197, 94, .45); color: #8ff0b6; }
.news-sentiment.s-doubt { background: rgba(255, 210, 31, .18); border-color: rgba(255, 210, 31, .55); color: #ffe992; }
.news-sentiment.s-mag { background: rgba(168, 130, 255, .18); border-color: rgba(168, 130, 255, .5); color: #d5c6ff; }
.news-sentiment.s-info { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: var(--muted); }

.xi-source { font-size: 12px; }
.xi-chip .xi-status {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .85;
    margin-left: auto;
    border-left: 1px solid rgba(255, 255, 255, .35);
    padding-left: 10px;
    white-space: nowrap;
}
.xi-chip.bench { opacity: .78; border-style: dashed; }
.xi-chip.bench .xi-status { color: var(--muted); }

.news-magazine {
    margin-top: 16px;
    padding: 14px;
    border: 1px dashed rgba(168, 130, 255, .45);
    border-radius: 12px;
    background: rgba(168, 130, 255, .06);
}
.news-magazine h3 { margin: 6px 0 4px; font-size: 16px; }
.news-magazine .news-verify-list li { background: rgba(0, 0, 0, .15); }

.news-table-wrap { overflow-x: auto; margin-top: 12px; }
.news-table a { color: #9fd0ff; text-decoration: underline; }
.news-table .nowrap { white-space: nowrap; }

/* ---------------- Son 10 yıl H2H kartları ---------------- */
.h2h-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 4px 0 16px;
}

@media (max-width: 720px) {
    .h2h-summary { grid-template-columns: repeat(2, 1fr); }
}

.h2h-sum-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
}

.h2h-sum-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h2h-sum-value {
    display: block;
    font-size: 24px;
    margin: 4px 0 2px;
    line-height: 1.15;
}

/* Maç kartları: sütun sayısı maç sayısına göre (--h2h-cols) */
.h2h-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0 12px;
}

@media (max-width: 900px) {
    .h2h-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 480px) {
    .h2h-grid {
        grid-template-columns: 1fr !important;
    }
}

.h2h-match {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 8px;
    min-width: 0;
}

.h2h-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}

.h2h-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--text, #eef7ee);
}

.h2h-comp {
    font-size: 10.5px;
    line-height: 1.3;
    color: var(--muted);
    word-break: break-word;
}

.h2h-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.h2h-side {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1 1 0;
}

.h2h-side.is-away { justify-content: flex-end; }

.h2h-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 auto;
}

.h2h-team-short {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--text, #eef7ee);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h2h-score {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    color: var(--text, #eef7ee);
    padding: 0 2px;
}

.h2h-hit {
    margin-top: 7px;
    padding: 3px 6px;
    border-radius: 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .01em;
    background: rgba(200, 245, 66, .16);
    border: 1px solid rgba(200, 245, 66, .45);
    color: #e2ff9d;
}

.h2h-match.is-hit {
    border-color: rgba(200, 245, 66, .4);
}

.h2h-pred-note {
    margin: 0 0 4px;
    font-size: 13px;
}

/* ---------------- Analiz yükleme ekranı ---------------- */
.analyze-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 12, 8, .92);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.analyze-loading.is-open {
    opacity: 1;
    visibility: visible;
}

.analyze-loading-panel {
    width: min(420px, 90vw);
    padding: 28px 26px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 210, 31, .35);
    background: linear-gradient(180deg, rgba(12, 36, 22, .98), rgba(6, 20, 13, .98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
    text-align: center;
}

.analyze-loading-ball {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .15);
    border-top-color: var(--primary);
    border-right-color: var(--lime);
    animation: analyze-spin .85s linear infinite;
}

@keyframes analyze-spin {
    to { transform: rotate(360deg); }
}

.analyze-loading-title {
    font-size: 17px;
    font-weight: 700;
    color: #eaffd0;
    margin: 0 0 4px;
}

.analyze-loading-match {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 18px;
}

.analyze-loading-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.analyze-loading-steps li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 13.5px;
    color: var(--muted);
    opacity: .4;
    transition: opacity .25s ease, color .25s ease;
}

.analyze-loading-steps li .step-dot {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: transparent;
}

.analyze-loading-steps li.is-active {
    opacity: 1;
    color: #e8ffd0;
}

.analyze-loading-steps li.is-active .step-dot {
    border-color: var(--primary);
    background: rgba(255, 210, 31, .15);
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 210, 31, .12);
}

.analyze-loading-steps li.is-done {
    opacity: .85;
    color: #b8e89a;
}

.analyze-loading-steps li.is-done .step-dot {
    border-color: var(--lime);
    background: var(--lime);
    color: #14200a;
}

.analyze-loading-bar {
    margin-top: 16px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}

.analyze-loading-bar > span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--lime));
    transition: width .35s ease;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 720px) {
    h1 { font-size: 22px; }
    .stat-value { font-size: 18px; }
    .card { padding: 18px; }
    .col-actions { text-align: left; }
    .action-row { justify-content: flex-start; }
    .user-name { display: none; }
    .fixture-head { flex-direction: column; align-items: flex-start; }
    .fixture-score { min-width: 64px; font-size: 14px; }
}
