/* TaraftarForum – Takım sayfaları */
.tfteam { --tc: #7c6cf6; --tc2: #22d3ee; --tft-bg: #0b1020; --tft-card: #121a2e; --tft-card2: #171f36; --tft-border: rgba(148,163,184,.14); --tft-text: #e6eaf2; --tft-dim: #b6c0d1; --tft-muted: #8391a8; --tft-shadow: 0 10px 30px rgba(0,0,0,.35); color: var(--tft-text); font-size: 15px; }
html.tf-theme-light .tfteam { --tft-bg: #f4f6fb; --tft-card: #ffffff; --tft-card2: #f5f7fc; --tft-border: #e4e8f2; --tft-text: #0f172a; --tft-dim: #334155; --tft-muted: #64748b; --tft-shadow: 0 10px 30px rgba(15,23,42,.08); }
html:has(#tfteam) .p-title, html:has(#tfteam) .p-description, html:has(#tfteam) .blockMessage--none { display: none !important; }
html:has(#tfteam) .p-body-main { max-width: 100%; }
.tfteam a { text-decoration: none; }
.tfteam h1, .tfteam h2, .tfteam h3 { margin: 0; letter-spacing: -.02em; }

/* Hero */
.tft-hero { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--tft-border); background: var(--tft-card); box-shadow: var(--tft-shadow); margin-bottom: 18px; }
.tft-hero-bg { position: absolute; inset: 0; background: linear-gradient(120deg, color-mix(in srgb, var(--tc) 55%, #0b1020) 0%, color-mix(in srgb, var(--tc2) 45%, #0b1020) 100%); }
.tft-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 15% 0%, rgba(255,255,255,.18), transparent 60%), radial-gradient(500px 260px at 90% 100%, rgba(255,255,255,.12), transparent 60%); }
.tft-hero-inner { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 36px) clamp(20px, 3vw, 40px); color: #fff; }
.tft-hero-logo { width: 132px; height: 132px; border-radius: 30px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.tft-hero-logo img { width: 104px; height: 104px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.tft-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 12px; margin-bottom: 10px; }
.tft-h1 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.1; color: #fff; }
.tft-lead { margin: 8px 0 12px; color: rgba(255,255,255,.86); font-size: .98rem; max-width: 62ch; line-height: 1.55; }
.tft-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tft-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 11px; font-size: .76rem; font-weight: 600; }
.tft-chip--rank { background: rgba(255,255,255,.22); }
.tft-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tft-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; font-weight: 800; font-size: .86rem; transition: .18s; border: 1px solid transparent; }
.tft-btn--primary { background: #fff; color: #0b1020 !important; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.tft-btn--primary:hover { transform: translateY(-2px); }
.tft-btn--light { background: rgba(255,255,255,.18); color: #fff !important; border-color: rgba(255,255,255,.3); }
.tft-btn--light:hover { background: rgba(255,255,255,.28); }
.tft-btn--ghost { background: rgba(0,0,0,.25); color: #fff !important; border-color: rgba(255,255,255,.2); }
.tft-liveDot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.3); animation: tftPulse 1.6s infinite; display: inline-block; }
@keyframes tftPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.tft-hero-stats { display: grid; gap: 8px; min-width: 150px; }
.tft-stat { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 10px 14px; text-align: center; }
.tft-stat strong { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.tft-stat span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); font-weight: 700; }
.tft-stat--form strong { display: flex; gap: 4px; justify-content: center; }
.tft-form { display: inline-flex; width: 22px; height: 22px; border-radius: 6px; align-items: center; justify-content: center; font-style: normal; font-size: .7rem; font-weight: 900; }
.tft-form--G { background: #22c55e; color: #052e16; } .tft-form--B { background: #f59e0b; color: #451a03; } .tft-form--M { background: #ef4444; color: #fff; }

/* Grid */
.tft-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.tft-main, .tft-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tft-intro { background: var(--tft-card); border: 1px solid var(--tft-border); border-left: 4px solid var(--tc); border-radius: 16px; padding: 16px 20px; margin: 0; color: var(--tft-dim); line-height: 1.7; font-size: .95rem; }
.tft-card { background: var(--tft-card); border: 1px solid var(--tft-border); border-radius: 18px; box-shadow: var(--tft-shadow); overflow: hidden; }
.tft-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; background: var(--tft-card2); border-bottom: 1px solid var(--tft-border); }
.tft-card-head h2 { font-size: .92rem; font-weight: 800; display: flex; align-items: center; gap: 9px; color: var(--tft-text); }
.tft-card-head h2 .fa, .tft-card-head h2 svg { color: var(--tc2); }
.tft-more { font-size: .78rem; font-weight: 700; color: var(--tc2) !important; display: inline-flex; align-items: center; gap: 6px; }
.tft-more--block { display: flex; justify-content: center; padding: 11px; border-top: 1px solid var(--tft-border); background: var(--tft-card2); }
.tft-card--text { padding-bottom: 6px; }
.tft-card--text p { padding: 14px 18px 8px; margin: 0; color: var(--tft-dim); line-height: 1.7; font-size: .93rem; }
.tft-empty { padding: 22px 18px; color: var(--tft-muted); font-size: .88rem; text-align: center; }
.tft-empty a { color: var(--tc2); font-weight: 700; }

/* Threads */
.tft-threads { list-style: none; margin: 0; padding: 0; }
.tft-thread { padding: 12px 18px; border-bottom: 1px solid var(--tft-border); position: relative; transition: background .15s; }
.tft-thread:last-child { border-bottom: 0; }
.tft-thread:hover { background: color-mix(in srgb, var(--tc) 8%, transparent); }
.tft-thread::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--tc); border-radius: 0 3px 3px 0; opacity: 0; transition: .15s; }
.tft-thread:hover::before { opacity: 1; }
.tft-thread.is-sticky .tft-thread-title::before { content: "SABİT"; font-size: .6rem; font-weight: 900; letter-spacing: .06em; background: #f59e0b; color: #451a03; border-radius: 5px; padding: 2px 6px; margin-right: 8px; vertical-align: middle; }
.tft-thread-title { display: block; color: var(--tft-text) !important; font-weight: 700; font-size: .95rem; line-height: 1.4; }
.tft-thread-title:hover { color: var(--tc2) !important; }
.tft-thread-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 5px; font-size: .74rem; color: var(--tft-muted); }
.tft-thread-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tft-ago { margin-left: auto; }
.tft-popular { margin: 0; padding: 6px 18px 12px 40px; counter-reset: pop; }
.tft-popular li { padding: 8px 0; border-bottom: 1px dashed var(--tft-border); position: relative; }
.tft-popular li:last-child { border-bottom: 0; }
.tft-popular li::marker { color: var(--tc2); font-weight: 900; }
.tft-popular a { color: var(--tft-text) !important; font-weight: 700; font-size: .9rem; display: block; }
.tft-popular a:hover { color: var(--tc2) !important; }
.tft-popular span { font-size: .72rem; color: var(--tft-muted); }

/* Facts & FAQ */
.tft-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; padding: 6px 18px 14px; }
.tft-facts div { background: var(--tft-card2); border: 1px solid var(--tft-border); border-radius: 12px; padding: 10px 12px; }
.tft-facts span { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--tft-muted); font-weight: 700; }
.tft-facts strong { font-size: .88rem; color: var(--tft-text); }
.tft-faq { padding: 8px 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.tft-faq-item { background: var(--tft-card2); border: 1px solid var(--tft-border); border-radius: 12px; padding: 0 14px; }
.tft-faq-item summary { cursor: pointer; padding: 12px 0; font-weight: 700; font-size: .9rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--tft-text); }
.tft-faq-item summary::after { content: "+"; font-weight: 900; color: var(--tc2); font-size: 1.1rem; }
.tft-faq-item[open] summary::after { content: "–"; }
.tft-faq-item p { padding: 0 0 12px !important; margin: 0; color: var(--tft-dim); font-size: .88rem; line-height: 1.6; }

/* Fixtures & results */
.tft-fixtures, .tft-results { list-style: none; margin: 0; padding: 0; }
.tft-fixture { padding: 12px 18px; border-bottom: 1px solid var(--tft-border); }
.tft-fixture:last-child { border-bottom: 0; }
.tft-fixture.is-live { background: rgba(34,197,94,.08); }
.tft-fixture-date { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--tft-muted); font-weight: 700; }
.tft-liveTag { color: #22c55e; }
.tft-fixture-teams { display: flex; align-items: center; gap: 8px; margin: 4px 0 2px; font-weight: 700; font-size: .92rem; color: var(--tft-text); }
.tft-fixture-teams em { font-style: normal; color: var(--tft-muted); font-size: .7rem; }
.tft-fixture-teams .is-us { color: var(--tc2); }
.tft-fixture-league { font-size: .72rem; color: var(--tft-muted); }
.tft-result { display: flex; gap: 12px; align-items: center; padding: 10px 18px; border-bottom: 1px solid var(--tft-border); }
.tft-result:last-child { border-bottom: 0; }
.tft-result-badge { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: .8rem; flex-shrink: 0; }
.tft-result--G .tft-result-badge { background: #22c55e; color: #052e16; } .tft-result--B .tft-result-badge { background: #f59e0b; color: #451a03; } .tft-result--M .tft-result-badge { background: #ef4444; color: #fff; }
.tft-result-teams { font-size: .88rem; font-weight: 600; color: var(--tft-text); }
.tft-result-teams b { background: var(--tft-card2); border: 1px solid var(--tft-border); border-radius: 7px; padding: 1px 7px; margin: 0 4px; }
.tft-result-meta { font-size: .72rem; color: var(--tft-muted); margin-top: 2px; }

/* Standings */
.tft-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.tft-table th { text-align: left; padding: 8px 10px; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--tft-muted); background: var(--tft-card2); border-bottom: 1px solid var(--tft-border); }
.tft-table td { padding: 8px 10px; border-bottom: 1px solid var(--tft-border); color: var(--tft-text); }
.tft-table th:first-child, .tft-table td:first-child { padding-left: 18px; }
.tft-table tr.is-us td { background: color-mix(in srgb, var(--tc) 16%, transparent); font-weight: 800; }
.tft-note { padding: 10px 18px; font-size: .72rem; color: var(--tft-muted); }

/* Rivals, CTA, others */
.tft-rivals { padding: 12px 18px; display: flex; flex-direction: column; gap: 8px; }
.tft-rival { display: flex; align-items: center; gap: 10px; background: var(--tft-card2); border: 1px solid var(--tft-border); border-radius: 12px; padding: 8px 12px; color: var(--tft-text) !important; font-weight: 700; font-size: .88rem; transition: .15s; }
.tft-rival:hover { border-color: var(--tc2); transform: translateX(3px); }
.tft-rival img { width: 34px; height: 34px; object-fit: contain; }
.tft-card--cta { padding: 20px; text-align: center; background: linear-gradient(140deg, color-mix(in srgb, var(--tc) 30%, var(--tft-card)), var(--tft-card)); }
.tft-card--cta h2 { font-size: 1.05rem; margin-bottom: 6px; }
.tft-card--cta p { color: var(--tft-dim); font-size: .88rem; margin: 0 0 14px; }
.tft-card--cta .tft-btn--primary { background: var(--tc2); color: #0b1020 !important; }
.tft-others { margin-top: 18px; background: var(--tft-card); border: 1px solid var(--tft-border); border-radius: 18px; overflow: hidden; box-shadow: var(--tft-shadow); }
.tft-others-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; padding: 14px 18px 18px; }
.tft-other { display: flex; align-items: center; gap: 10px; background: var(--tft-card2); border: 1px solid var(--tft-border); border-radius: 12px; padding: 8px 12px; color: var(--tft-text) !important; font-weight: 700; font-size: .84rem; transition: .15s; border-left: 3px solid var(--oc, var(--tc)); }
.tft-other:hover { transform: translateY(-2px); border-color: var(--oc, var(--tc)); }
.tft-other img { width: 30px; height: 30px; object-fit: contain; }
.tft-updated { margin-top: 12px; font-size: .72rem; color: var(--tft-muted); text-align: center; }

/* Hub */
.tft-hero--hub .tft-hero-bg { background: linear-gradient(120deg, #1e1b4b 0%, #312e81 45%, #0e7490 130%); }
.tft-hero--hub .tft-hero-inner { grid-template-columns: 1fr; }
.tft-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.tft-hub-card { display: flex; flex-direction: column; gap: 12px; background: var(--tft-card); border: 1px solid var(--tft-border); border-top: 4px solid var(--tc); border-radius: 18px; padding: 16px; color: var(--tft-text) !important; box-shadow: var(--tft-shadow); transition: .2s; position: relative; overflow: hidden; }
.tft-hub-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--tc); opacity: .08; }
.tft-hub-card:hover { transform: translateY(-4px); border-color: var(--tc); }
.tft-hub-top { display: flex; align-items: center; gap: 12px; }
.tft-hub-top img { width: 60px; height: 60px; object-fit: contain; }
.tft-hub-top h2 { font-size: 1.05rem; font-weight: 800; }
.tft-hub-sub { font-size: .76rem; color: var(--tft-muted); }
.tft-hub-stats { display: flex; flex-wrap: wrap; gap: 8px; font-size: .76rem; color: var(--tft-muted); }
.tft-hub-stats span { background: var(--tft-card2); border: 1px solid var(--tft-border); border-radius: 999px; padding: 3px 10px; }
.tft-hub-stats b { color: var(--tft-text); }
.tft-hub-rank { color: var(--tc2) !important; }
.tft-hub-next { font-size: .78rem; color: var(--tft-dim); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tft-hub-go { margin-top: auto; font-size: .8rem; font-weight: 800; color: var(--tc2); display: inline-flex; align-items: center; gap: 6px; }
.tft-hub-text { margin-top: 18px; }
.tft-hub-text h2 { padding: 16px 18px 0; font-size: 1.05rem; }
.tft-hub-text a { color: var(--tc2); font-weight: 700; }

@media (max-width: 1000px) { .tft-grid { grid-template-columns: 1fr; } .tft-hero-inner { grid-template-columns: auto minmax(0, 1fr); } .tft-hero-stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
	.tfteam { font-size: 14px; }
	.tft-hero-inner { grid-template-columns: 1fr; gap: 14px; padding: 18px 16px; }
	.tft-hero-logo { width: 88px; height: 88px; border-radius: 20px; } .tft-hero-logo img { width: 68px; height: 68px; }
	.tft-actions .tft-btn { height: 38px; padding: 0 13px; font-size: .8rem; }
	.tft-hero-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; } .tft-stat { padding: 8px 6px; } .tft-stat strong { font-size: 1.05rem; }
	.tft-thread-meta { gap: 8px; } .tft-ago { margin-left: 0; }
	.tft-others-grid { grid-template-columns: 1fr 1fr; padding: 12px; }
}
