:root {
  --bg: #0d1117; --panel: #161b22; --panel2: #1f2630; --line: #2b3440;
  --text: #e6edf3; --muted: #8b98a8; --accent: #2ea043; --accent2: #58a6ff;
  --home: #58a6ff; --away: #f78166; --draw: #8b98a8; --warn: #d29922; --bad: #f85149;
  --pitch: #1a5c34; --pitch-line: rgba(255,255,255,.35);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 system-ui, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: var(--text); background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
button:hover { border-color: var(--accent2); }
.hidden { display: none !important; }

.top { position: sticky; top: 0; z-index: 10; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 16px; background: rgba(13,17,23,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 17px; color: var(--text); }
.datebar { display: flex; gap: 6px; align-items: center; }
.datebar input { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; color-scheme: dark; }
.right { display: flex; gap: 10px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); }
.dot.on { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.bell b { background: var(--bad); border-radius: 10px; padding: 0 6px; font-size: 12px; }
.bell b:empty { display: none; }

.feed { position: fixed; right: 16px; top: 58px; width: min(420px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; z-index: 20; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.feed-head { padding: 10px 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
.feed ul { list-style: none; margin: 0; padding: 0; }
.feed li { padding: 8px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.feed li small { color: var(--muted); display: block; }

/* filtre */
.toolbar { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px 0; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 600; background: var(--panel); }
.filter-btn b { background: var(--accent); color: #fff; border-radius: 999px; padding: 0 7px; font-size: 12px; }
.filter-btn b:empty { display: none; }
.filter-btn.active { border-color: var(--accent); color: var(--accent); }
.filter-summary { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.5); backdrop-filter: blur(2px); }
.sheet { position: fixed; z-index: 41; left: 50%; top: 80px; transform: translateX(-50%); width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 120px); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.6); animation: sheetIn .2s; }
@keyframes sheetIn { from { opacity: 0; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sheet-head .x { border: 0; background: transparent; font-size: 16px; padding: 4px 8px; }
.sheet-actions { display: flex; gap: 8px; padding: 10px 16px 4px; }
.sheet-actions button { font-size: 13px; border-radius: 999px; padding: 5px 12px; }
.sheet-list { overflow-y: auto; padding: 6px 8px; }
.lg-opt { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.lg-opt:hover { background: var(--panel2); }
.lg-opt input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.lg-opt img { width: 22px; height: 22px; object-fit: contain; }
.lg-opt .nm { flex: 1; font-weight: 600; }
.lg-opt .cnt { color: var(--muted); font-size: 12px; }
.sheet-foot { padding: 12px 16px; border-top: 1px solid var(--line); }
.sheet-foot .primary { width: 100%; padding: 10px; font-weight: 700; background: var(--accent); border-color: var(--accent); color: #fff; border-radius: 10px; }

main { max-width: 1280px; margin: 0 auto; padding: 8px 16px 40px; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 20px 16px; }

/* genel atmosfer */
body { background:
  radial-gradient(1200px 500px at 10% -10%, rgba(46,160,67,.10), transparent 60%),
  radial-gradient(900px 500px at 100% 0%, rgba(88,166,255,.08), transparent 60%),
  var(--bg); background-attachment: fixed; min-height: 100vh; }
.brand { display: flex; align-items: center; gap: 8px; letter-spacing: .01em; }
.brand::before { content: ""; width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #1f6f33); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
  -webkit-mask: none; display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8l3 2.2-1.1 3.6h-3.8L9 10.2z' fill='white'/%3E%3C/svg%3E"), linear-gradient(135deg, var(--accent), #1f6f33);
  background-size: 18px 18px, cover; background-position: center; background-repeat: no-repeat; }

/* öne çıkanlar */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 8px; }
.hl { position: relative; overflow: hidden; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; cursor: pointer;
  background: linear-gradient(135deg, var(--panel2), var(--panel)); border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.hl:hover { transform: translateY(-2px); border-color: var(--accent2); }
.hl .ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(255,255,255,.05); }
.hl .k { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.hl .t { font-weight: 700; line-height: 1.25; }
.hl .s { color: var(--muted); font-size: 12px; }
.hl.fav .ic { background: rgba(240,180,41,.14); }
.hl.goal .ic { background: rgba(248,81,73,.14); }
.hl.even .ic { background: rgba(88,166,255,.14); }

/* lig başlığı */
.lg-block { margin: 22px 0 26px; }
.lg-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.lg-title img { width: 24px; height: 24px; object-fit: contain; }
.lg-title b { font-size: 15px; }
.lg-title span { color: var(--muted); font-size: 12px; background: var(--panel2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; }
.lg-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

/* maç kartları */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.mcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 12px; cursor: pointer;
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 40%), var(--panel);
  border: 1px solid var(--line); border-radius: 16px; transition: transform .15s, border-color .15s, box-shadow .15s; }
.mcard:hover { transform: translateY(-2px); border-color: var(--accent2); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.mcard.is-live { border-color: rgba(248,81,73,.55); }
.mtop { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 22px; }
.mtags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.when { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.badge-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #fff; background: var(--bad); border-radius: 999px; padding: 2px 9px; }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.mteams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.tm { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.tm .nm { font-weight: 700; font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.crest { position: relative; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.09), rgba(255,255,255,.02)); }
.crest img { width: 42px; height: 42px; object-fit: contain; }
.crest .fb { font-weight: 800; font-size: 18px; color: var(--muted); }
.crest.fav { box-shadow: 0 0 0 2px rgba(240,180,41,.65), 0 0 18px rgba(240,180,41,.25); }
.star { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1; color: #1a1300;
  background: linear-gradient(135deg, #ffd75e, #f0b429); box-shadow: 0 2px 6px rgba(0,0,0,.45); }
.mid { text-align: center; min-width: 70px; }
.mid .sc { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.mid .ko { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mid .sub { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.probs { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.probs .ph { color: var(--home); } .probs .pa { color: var(--away); }
.probbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--panel2); gap: 2px; }
.probbar span:nth-child(1) { background: var(--home); }
.probbar span:nth-child(2) { background: var(--draw); }
.probbar span:nth-child(3) { background: var(--away); }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); color: var(--text); }
.pill i { font-style: normal; color: var(--muted); margin-right: 4px; }
.pending { font-size: 12px; color: var(--muted); text-align: center; }
.tag { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: 11px; background: var(--panel2); border: 1px solid var(--line); color: var(--muted); }
.tag.ok { color: var(--accent); border-color: var(--accent); }
.tag.warn { color: var(--warn); border-color: var(--warn); }
@media (max-width: 900px) { .highlights { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .mgrid { grid-template-columns: 1fr; }
  .highlights { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .highlights::-webkit-scrollbar { display: none; }
  .hl { flex: 0 0 82%; scroll-snap-align: start; }
}

/* detay */
.back { margin: 6px 0 12px; display: inline-block; }
.hero { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.hero .meta { color: var(--muted); font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero .teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 14px 0; }
.hero .team { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: 18px; text-align: center; }
.hero { background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 50%), var(--panel); }
.hero .team { gap: 10px; }
.hero .star { width: 26px; height: 26px; font-size: 15px; top: -10px; }
@media (max-width: 600px) { .hero .crest { width: 62px !important; height: 62px !important; } .hero .crest img { width: 44px !important; height: 44px !important; } }
.hero .score { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; }
.hero .score small { display: block; font-size: 13px; font-weight: 600; color: var(--accent); }
.updated { color: var(--muted); font-size: 12px; text-align: center; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } .hero .team { font-size: 15px; } .hero .score { font-size: 26px; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-top: 14px; min-width: 0; }
.card h2 { font-size: 15px; margin: 0 0 10px; }
.card h3 { font-size: 13px; margin: 14px 0 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.card ul { margin: 0; padding-left: 18px; }
.card li { margin: 3px 0; }
.home-c { color: var(--home); } .away-c { color: var(--away); }

.pred { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kpi { background: var(--panel2); border-radius: 10px; padding: 10px 12px; }
.kpi .l { color: var(--muted); font-size: 12px; }
.kpi .v { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.kpi .s { color: var(--muted); font-size: 12px; }
.bigbar { display: flex; height: 30px; border-radius: 8px; overflow: hidden; margin: 6px 0 12px; font-weight: 700; font-size: 13px; }
.bigbar div { display: flex; align-items: center; justify-content: center; color: #0d1117; min-width: 0; overflow: hidden; white-space: nowrap; }
.summary { background: var(--panel2); border-left: 3px solid var(--accent); padding: 10px 12px; border-radius: 6px; margin-bottom: 12px; }

table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
th, td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: center; }
th { color: var(--muted); font-weight: 600; font-size: 12px; }
td.l, th.l { text-align: left; }
.tbl-wrap { overflow-x: auto; }
.res-G { color: var(--accent); font-weight: 700; } .res-B { color: var(--muted); font-weight: 700; } .res-M { color: var(--bad); font-weight: 700; }
.cmp td:nth-child(1) { color: var(--home); font-weight: 600; }
.cmp td:nth-child(3) { color: var(--away); font-weight: 600; }
.cmp td:nth-child(2) { color: var(--muted); }
.better { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- maç sayfası: üst bar yalnızca Geri ---------- */
.back-btn { display: none; align-items: center; gap: 6px; font-weight: 700; padding: 8px 14px 8px 10px; border-radius: 999px; }
body.in-match .back-btn { display: inline-flex; }
body.in-match .top .brand, body.in-match .top .datebar, body.in-match .top .right, body.in-match #toolbar { display: none; }
body.in-match .top { justify-content: flex-start; }
@media (max-width: 700px) { body.in-match .top { display: flex; } }

/* ---------- renkli kart başlıkları ---------- */
.card { position: relative; overflow: hidden; }
.card[style*="--c"]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--c), transparent 85%); }
.card[style*="--c"] { background: radial-gradient(600px 160px at 0% 0%, color-mix(in srgb, var(--c) 9%, transparent), transparent 70%), var(--panel); }
.ch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 16px !important; margin-bottom: 12px !important; }
.ch .ci { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
  background: color-mix(in srgb, var(--c, var(--accent)) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--accent)) 35%, transparent); }
.ch .ct { flex: 1; min-width: 0; }
.ch .ct .muted { font-weight: 500; font-size: 13px; }
.ch .tag { font-weight: 500; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden;
  background: radial-gradient(500px 220px at 0% 50%, color-mix(in srgb, var(--home) 16%, transparent), transparent 70%),
              radial-gradient(500px 220px at 100% 50%, color-mix(in srgb, var(--away) 16%, transparent), transparent 70%), var(--panel) !important; }
.hero-league { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; }
.hero-league img { width: 22px; height: 22px; object-fit: contain; }
.hero-league b { color: var(--text); }
.hero .team span { line-height: 1.2; }
.hero .score.live small { color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 12px; }
.mchip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.form { display: flex; gap: 4px; justify-content: center; }
.fd { width: 20px; height: 20px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff; background: #3d4652; }
.fd.G { background: #2ea043; } .fd.B { background: #6e7781; } .fd.M { background: #da3633; }
.team-card .ch .crest { flex: 0 0 auto; }
.team-card .ch .form { margin-left: auto; }

/* ---------- tahmin ---------- */
.kpi { position: relative; overflow: hidden; border: 1px solid var(--line); }
.kpi::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--k); }
.kpi .l { display: flex; align-items: center; gap: 6px; }
.kpi .ki { font-size: 14px; }
.kpi .v { color: var(--text); }
.bigbar { gap: 2px; background: transparent; }
.bigbar div:first-child { border-radius: 8px 0 0 8px; } .bigbar div:last-child { border-radius: 0 8px 8px 0; }
.summary { border-left-color: #a371f7; background: color-mix(in srgb, #a371f7 8%, var(--panel2)); }
.scen { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.scen li { display: flex; gap: 10px; align-items: flex-start; margin: 0 !important; padding: 9px 12px; border-radius: 10px;
  background: var(--panel2); border: 1px solid var(--line); }
.scen .si { flex: 0 0 auto; font-size: 16px; line-height: 1.3; }

/* ---------- takım analizi bölümleri ---------- */
.sec { margin-top: 12px; padding: 10px 12px 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--sc) 6%, var(--panel2));
  border-left: 3px solid var(--sc); }
.sec h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px !important; color: var(--sc) !important; }
.sec .si { font-size: 15px; }
.sec ul { padding-left: 18px; }
.sec li::marker { color: var(--sc); }

/* ---------- karşılaştırma çubukları ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); margin: 0 0 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.cmp-row { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 10px; padding: 5px 0; }
.cmp-row:hover { background: rgba(255,255,255,.03); border-radius: 6px; }
.cv { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); text-align: left; }
.cv.r { text-align: right; }
.cv.win { color: var(--text); font-weight: 800; }
.cmp-l { font-size: 12px; text-align: center; margin-bottom: 4px; }
.cmp-bars { display: flex; gap: 2px; height: 8px; }
.cmp-bars span { min-width: 2px; }
.cmp-bars .bh { background: var(--home); border-radius: 4px 0 0 4px; }
.cmp-bars .ba { background: var(--away); border-radius: 0 4px 4px 0; }
.rp { display: inline-block; min-width: 42px; padding: 2px 8px; border-radius: 6px; font-weight: 800; background: #3d4652; color: #fff; }
.rp.G { background: #2ea043; } .rp.B { background: #6e7781; } .rp.M { background: #da3633; }
.h2hbar { display: flex; gap: 2px; height: 26px; margin: 4px 0 8px; font-weight: 800; font-size: 12px; }
.h2hbar div { display: flex; align-items: center; justify-content: center; color: #0d1117; min-width: 0; overflow: hidden; }
.h2hbar div:first-child { border-radius: 8px 0 0 8px; } .h2hbar div:last-child { border-radius: 0 8px 8px 0; }

/* ---------- haberler ---------- */
.nlist { display: grid; gap: 8px; }
.nitem { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--panel2);
  border: 1px solid var(--line); color: var(--text); transition: border-color .15s, transform .15s; }
.nitem:hover { border-color: var(--c, var(--accent2)); transform: translateY(-1px); text-decoration: none; }
.nitem b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 13px; line-height: 1.35; }
.nitem small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.nthumb { flex: 0 0 auto; width: 72px; height: 50px; border-radius: 8px; object-fit: cover; background: #2a323d; }
.nsrc { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; color: #0d1117; }
.ntag { font-weight: 700; }

.pitch { position: relative; width: 100%; aspect-ratio: 105 / 68; background: var(--pitch); border-radius: 10px; overflow: hidden;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 9.5%, transparent 9.5% 19%); }
.pitch .ln { position: absolute; border: 2px solid var(--pitch-line); }
.pl { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; width: 84px; pointer-events: none; }
.pl .ph { position: relative; width: 42px; height: 42px; margin-bottom: 2px; }
.pl .ph .pimg { width: 100%; height: 100%; border: 2px solid var(--home); box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.pl.a .ph .pimg { border-color: var(--away); }
.pl .no { position: absolute; right: -6px; bottom: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  font-size: 10px; font-weight: 800; line-height: 18px; text-align: center; color: #0d1117; background: var(--home); }
.pl.a .no { background: var(--away); }
.pl .nm { font-size: 11px; font-weight: 600; text-shadow: 0 1px 2px #000, 0 0 4px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px; }
.pl .rt { font-size: 10px; font-weight: 700; color: #1a1300; background: #ffd75e; border-radius: 4px; padding: 0 4px; line-height: 14px; }

/* oyuncu fotoğrafı (sahada ve listelerde ortak) */
.pimg { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: #2a323d; }
.pimg img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pimg.noimg::after { content: attr(data-fb); font-weight: 800; font-size: 13px; color: var(--muted); }
.plist { list-style: none; padding: 0 !important; margin: 6px 0 0 !important; }
.prow { display: flex; align-items: center; gap: 10px; padding: 6px 0 !important; margin: 0 !important; border-bottom: 1px solid rgba(255,255,255,.04); }
.prow:last-child { border-bottom: 0; }
.pinfo { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.pinfo b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pinfo small { color: var(--muted); font-size: 12px; }
.shirt { display: inline-block; min-width: 22px; margin-right: 6px; color: var(--muted); font-variant-numeric: tabular-nums; }
.prt { font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: rgba(255,215,94,.14); color: #ffd75e; font-variant-numeric: tabular-nums; }
.ptag { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 4px; margin-right: 4px; }
.ptag.inj { background: rgba(248,81,73,.16); color: var(--bad); }
.ptag.sus { background: rgba(210,153,34,.16); color: var(--warn); }
.pitch.v { aspect-ratio: 68 / 105; max-width: 440px; margin: 0 auto;
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,.03) 0 9.5%, transparent 9.5% 19%); }
.pitch.v .pl { width: 25%; }
.pitch.v .pl .nm { max-width: 100%; }
@media (max-width: 700px) {
  .pl .ph { width: 34px; height: 34px; }
  .pl .no { min-width: 15px; height: 15px; line-height: 15px; font-size: 9px; right: -5px; }
  .pl .nm { font-size: 10px; }
}

/* telefon */
@media (max-width: 700px) {
  .top { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 8px 12px; }
  .top .datebar { grid-column: 1 / -1; grid-row: 2; }
  .datebar input { flex: 1; min-width: 0; }
  .brand { font-size: 16px; }
  .toolbar { padding: 10px 12px 0; }
  .sheet { top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 80vh; border-radius: 18px 18px 0 0; border-bottom: 0; }
  .lg-opt { padding: 11px 10px; }
  main { padding: 4px 12px 32px; }
  .card { padding: 12px; border-radius: 12px; }
  .hero { padding: 12px; }
  .hero .teams { gap: 8px; }
  .hero .team img { width: 44px; height: 44px; }
  .pred { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi .v { font-size: 17px; }
  .bigbar { font-size: 11px; }
  th, td { padding: 5px 6px; }
  .feed { top: 96px; }
  .toasts { left: 12px; right: 12px; bottom: 12px; }
  .toast { max-width: none; }
}

.news li { margin: 6px 0; }
.news small { color: var(--muted); }
.toasts { position: fixed; bottom: 16px; right: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 30; max-width: calc(100vw - 32px); }
.toast { background: var(--panel2); border: 1px solid var(--accent); border-radius: 10px; padding: 10px 14px; box-shadow: 0 6px 20px rgba(0,0,0,.5); cursor: pointer; max-width: 380px; animation: fade .3s; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.loading { padding: 40px; text-align: center; color: var(--muted); }
.muted { color: var(--muted); }
