/* Menajer Ligi — 70'ler çizgi roman havası: krem kâğıt, kalın mürekkep, sert gölgeler */
:root {
  --paper: #FFF1D6;
  --paper-dot: #EED8AE;
  --card: #FFFDF6;
  --ink: #1E1A16;
  --muted: #5E5246;
  --red: #C8372D;
  --orange: #E8622A;
  --mustard: #F2B134;
  --teal: #1F7A7A;
  --green: #3E8E4A;
  --pitch: #3E8E4A;
  --pitch-2: #46994F;
  --cream-ink: #FFF1D6;
  --display: "Bangers", "Impact", "Arial Narrow", sans-serif;
  --script: "Shrikhand", "Georgia", serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 3px 3px 0 var(--ink);
  --shadow-lg: 5px 5px 0 var(--ink);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background-color: var(--paper);
  background-image: radial-gradient(var(--paper-dot) 1.4px, transparent 1.7px);
  background-size: 9px 9px;
  color: var(--ink);
  font: 15px/1.45 var(--body);
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

#app { max-width: 560px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.screen {
  flex: 1;
  display: flex; flex-direction: column; gap: 16px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) calc(96px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
}
.screen.no-nav { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }

/* Başlık çubuğu */
.topbar { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.topbar h1 { margin: 0; font: 400 26px/1.1 var(--script); color: var(--teal); -webkit-text-stroke: 1.2px var(--ink); text-shadow: 3px 3px 0 var(--ink); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iconbtn { width: 44px; height: 44px; flex: none; border: 3px solid var(--ink); border-radius: 12px; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; }
.iconbtn:active, .btn:active, .chip:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.sticker { display: inline-flex; align-items: center; gap: 6px; border: 3px solid var(--ink); border-radius: 999px; padding: 4px 12px; box-shadow: var(--shadow); font: 400 17px var(--display); background: var(--mustard); white-space: nowrap; }
.sticker.teal { background: var(--teal); color: var(--cream-ink); }
.sticker.red { background: var(--red); color: var(--cream-ink); }

/* Logo */
.logo { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 18px; }
.logo .word { font: 400 46px/1.05 var(--script); color: var(--orange); -webkit-text-stroke: 2px var(--ink); text-shadow: 4px 4px 0 var(--ink); transform: rotate(-3deg); }
.logo .ribbon { background: var(--red); color: var(--cream-ink); border: 3px solid var(--ink); padding: 3px 18px; font: 400 17px var(--display); letter-spacing: 1px; transform: rotate(-1.5deg); }

/* Kutular */
.panel { background: var(--card); border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.panel h2, .section-title { margin: 0; font: 400 21px var(--display); letter-spacing: 0.3px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.section-title a { font: 600 13px var(--body); text-decoration: underline; color: var(--red); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }

/* Butonlar */
.btn { letter-spacing: 0.8px; border: 3px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow); min-height: 52px; padding: 8px 16px; font: 400 21px var(--display); letter-spacing: 0.4px; background: var(--card); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn.red { background: var(--red); color: var(--cream-ink); }
.btn.teal { background: var(--teal); color: var(--cream-ink); }
.btn.mustard { background: var(--mustard); }
.btn.orange { background: var(--orange); }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.5; }
.btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* Form */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 700 12px var(--body); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.field input { min-height: 48px; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 12px; background: #FFFFFF; font-size: 16px; }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.tabs button { border: 0; background: var(--card); min-height: 44px; font: 400 17px var(--display); }
.tabs button + button { border-left: 3px solid var(--ink); }
.tabs button[aria-pressed="true"] { background: var(--teal); color: var(--cream-ink); }
.error { background: #FBE3DF; border: 2px solid var(--red); border-radius: 10px; padding: 8px 10px; color: #8E2620; font-weight: 500; }

/* Çipler */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 4px 6px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; min-height: 40px; background: var(--card); font: 700 13px var(--body); display: inline-flex; align-items: center; gap: 6px; box-shadow: 2px 2px 0 var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Alt menü */
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.nav-inner { pointer-events: auto; max-width: 536px; margin: 0 auto; background: var(--ink); border-radius: 20px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 5px; gap: 2px; box-shadow: 0 6px 18px rgba(30, 26, 22, 0.25); }
.nav a { text-decoration: none; color: #CFC3AE; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 14px; font: 700 9.5px var(--body); letter-spacing: 0; min-height: 48px; position: relative; justify-content: center; }
.nav a[aria-current="page"] { background: var(--mustard); color: var(--ink); }

/* Arma ve portre */
.crest { flex: none; display: inline-block; }
.portrait { flex: none; position: relative; overflow: hidden; border-radius: 50%; border: 2px solid var(--ink); background: #E9DCC2; }
.portrait img, .portrait svg { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* Maç bileti */
.ticket { display: flex; align-items: stretch; background: var(--card); border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; text-decoration: none; }
.ticket .main { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; border-right: 3px dashed var(--ink); min-width: 0; }
.ticket .side { width: 104px; flex: none; background: var(--red); color: var(--cream-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px; gap: 2px; }
.ticket .side .big { font: 400 24px/1.05 var(--display); }
.ticket .side .lbl { font: 700 11px var(--body); letter-spacing: 1px; }
.vs { display: flex; align-items: center; gap: 8px; }
.vs .t { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.vs .t span { font: 400 17px/1.15 var(--display); overflow: hidden; text-overflow: ellipsis; }
.vs .t.right { flex-direction: row-reverse; text-align: right; }
.vs .mid { font: 400 16px var(--display); color: var(--muted); }
.eyebrow { font: 700 11px var(--body); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }

/* Canlı şerit */
.live-banner { display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--paper); border-radius: 16px; padding: 12px 14px; text-decoration: none; border: 3px solid var(--ink); box-shadow: var(--shadow-lg); }
.live-dot { width: 12px; height: 12px; border-radius: 50%; background: #FF5A47; box-shadow: 0 0 0 0 rgba(255, 90, 71, 0.7); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 90, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 71, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.live-banner .score { font: 400 29px var(--display); margin-left: auto; white-space: nowrap; }

/* İstatistik kutucukları */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--card); border: 3px solid var(--ink); border-radius: 12px; padding: 8px; text-align: center; box-shadow: var(--shadow); }
.tile .v { font: 400 27px var(--display); }
.tile .k { font: 700 11px var(--body); letter-spacing: 0.8px; color: var(--muted); text-transform: uppercase; }

/* Puan tablosu */
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th { font: 700 11px var(--body); letter-spacing: 0.8px; color: var(--muted); text-align: right; padding: 4px 4px; }
.table th:nth-child(2) { text-align: left; }
.table td { padding: 7px 4px; border-top: 1px solid #E6D8BE; text-align: right; font-size: 14px; }
.table td.team { text-align: left; }
.table td.team a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; min-width: 0; }
.table td.team a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table tr.me td { background: #FCE6B2; font-weight: 700; }
.table td.pts { font: 400 18px var(--display); }
.table td.pos { color: var(--muted); width: 26px; }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.form-dots { display: inline-flex; gap: 3px; }
.form-dots i { width: 16px; height: 16px; border-radius: 4px; font: 700 10px/16px var(--body); font-style: normal; text-align: center; color: #FFF; }
.f-G { background: var(--green); } .f-B { background: #8A8172; } .f-M { background: var(--red); }

/* Liste satırları */
.list { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-top: 1px solid #E6D8BE; text-decoration: none; min-height: 52px; }
.row:first-child { border-top: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .sub { font-size: 12px; color: var(--muted); }
.badge { font: 700 11px var(--body); border-radius: 6px; padding: 2px 6px; border: 2px solid var(--ink); background: var(--card); white-space: nowrap; }
.badge.red { background: var(--red); color: #FFF; }
.badge.mustard { background: var(--mustard); }
.badge.teal { background: var(--teal); color: #FFF; }
.ovr { font: 400 22px var(--display); width: 36px; text-align: right; }
.pos-tag { font: 700 11px var(--body); width: 30px; text-align: center; border-radius: 6px; padding: 2px 0; color: #FFF; }
.pos-GK { background: #B5865A; } .pos-DF { background: var(--teal); } .pos-MF { background: var(--green); } .pos-FW { background: var(--red); }
.bar { height: 8px; border-radius: 4px; background: #E6D8BE; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--green); }
.bar.low > span { background: var(--red); }
.bar.mid > span { background: var(--mustard); }

/* Fikstür kartı */
.fx { display: flex; align-items: center; gap: 8px; padding: 10px 2px; border-top: 1px solid #E6D8BE; text-decoration: none; }
.fx:first-child { border-top: 0; }
.fx .t { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 500; font-size: 14px; }
.fx .t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx .t.r { flex-direction: row-reverse; text-align: right; }
.fx .sc { flex: none; min-width: 64px; text-align: center; font: 400 20px var(--display); background: var(--ink); color: var(--paper); border-radius: 8px; padding: 3px 8px; }
.fx .sc.fut { background: transparent; color: var(--muted); font: 700 13px var(--body); }
.fx .sc.live { background: #FF5A47; color: #FFF; }
.fx.mine { background: #FCE6B2; border-radius: 10px; padding-inline: 6px; }

/* Maç ekranı */
.scoreboard { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; border: 3px solid var(--ink); box-shadow: var(--shadow-lg); }
.scoreboard .teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.scoreboard .team { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font: 400 16px/1.15 var(--display); text-decoration: none; color: inherit; }
.scoreboard .big { font: 400 56px/1 var(--display); letter-spacing: 2px; white-space: nowrap; }
.scoreboard .state { display: flex; justify-content: center; align-items: center; gap: 8px; font: 700 12px var(--body); letter-spacing: 1.2px; }
.feed { display: flex; flex-direction: column; gap: 8px; }
.ev { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 2px solid #E6D8BE; }
.ev .min { font: 400 18px var(--display); width: 40px; flex: none; color: var(--muted); }
.ev .txt { flex: 1; min-width: 0; }
.ev.goal { border: 3px solid var(--ink); background: #FFF6D8; box-shadow: var(--shadow); }
.ev.goal .min { color: var(--red); }
.ev.info { background: transparent; border-style: dashed; }
.ev .ico { flex: none; width: 20px; height: 20px; margin-top: 1px; }
/* canlı yayın: sonucu henüz açılmamış pozisyon */
.ev.an-bekle { border: 3px solid var(--ink); background: var(--mustard); box-shadow: var(--shadow); animation: an-nabiz 1.6s ease-in-out infinite; }
.ev.an-bekle .min { color: var(--ink); }
.ev.an-bekle .an-ikon { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: var(--paper); border: 2px solid var(--ink); font: 400 15px/18px var(--display); text-align: center; }
.ev.an-bekle b { font: 400 19px var(--display); letter-spacing: .5px; margin-right: 4px; }
.ev.an-bekle .an-dugme { display: flex; gap: 8px; margin: 8px 0 2px; flex-wrap: wrap; }
.ev.an-bekle .izle2d { margin: 0; font-size: 16px; padding: 4px 14px; background: var(--card); }
.ev.an-bekle .an-ac { border: 0; background: none; color: var(--ink); font: 600 13px var(--body); text-decoration: underline; cursor: pointer; padding: 4px 2px; }
.ev.an-bekle .small { margin-top: 4px; color: #4A3E33; }
@keyframes an-nabiz { 0%, 100% { box-shadow: 3px 3px 0 var(--ink); } 50% { box-shadow: 3px 3px 0 var(--ink), 0 0 0 5px rgba(200,55,45,.25); } }
@media (prefers-reduced-motion: reduce) { .ev.an-bekle { animation: none; } }
.goal-burst { font: 400 18px var(--display); color: var(--red); letter-spacing: 1px; }
.stat-row { display: grid; grid-template-columns: 34px 1fr 34px; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }
.stat-row .lbl { text-align: center; font-size: 12px; color: var(--muted); }
.stat-row .split { display: flex; gap: 3px; height: 8px; }
.stat-row .split span { border-radius: 4px; }

/* Saha */
.pitch { position: relative; aspect-ratio: 3 / 3.6; width: 100%; max-width: 100%; border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; background: repeating-linear-gradient(0deg, var(--pitch) 0, var(--pitch) 10%, var(--pitch-2) 10%, var(--pitch-2) 20%); }
.pitch .lines { position: absolute; inset: 10px; border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 6px; pointer-events: none; }
.pitch .lines::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid rgba(255, 255, 255, 0.7); }
.pitch .lines::after { content: ""; position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 50%; }
.pitch .box { position: absolute; left: 30%; right: 30%; height: 12%; border: 2px solid rgba(255, 255, 255, 0.7); pointer-events: none; }
.pitch .box.top { top: 10px; border-top: 0; }
.pitch .box.bottom { bottom: 10px; border-bottom: 0; }
.token { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; width: 74px; background: none; border: 0; padding: 0; }
.token .portrait { width: 48px; height: 48px; border-width: 3px; }
.token .lbl { background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 0 5px; font: 700 11px/1.5 var(--body); max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.token .fit { position: absolute; top: 0; right: 8px; min-width: 22px; height: 18px; border-radius: 9px; border: 2px solid var(--ink); font: 700 10px/14px var(--body); background: var(--card); }
.token.sel .portrait { outline: 4px solid var(--mustard); }
.token .warn { position: absolute; top: -2px; left: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #FFF; font: 700 12px/18px var(--body); border: 2px solid var(--ink); }
.bench { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bench .token { position: static; transform: none; width: auto; }

/* Alt sayfa (sheet) */
.sheet-bg { position: fixed; inset: 0; background: rgba(30, 26, 22, 0.45); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; max-height: 82vh; overflow: auto; background: var(--paper); border: 3px solid var(--ink); border-bottom: 0; border-radius: 20px 20px 0 0; padding: 14px max(14px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 10px; }
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--muted); margin: 0 auto 4px; }
.pick { display: flex; align-items: center; gap: 10px; padding: 8px; border: 2px solid var(--ink); border-radius: 12px; background: var(--card); text-align: left; width: 100%; min-height: 56px; }
.pick:disabled { opacity: 0.45; }
.pick.cur { background: #FCE6B2; }

/* Oyuncu kartı */
.pcard { background: var(--teal); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; transform: rotate(-1deg); }
.pcard .art { position: relative; height: 260px; display: flex; align-items: flex-end; justify-content: center; background: repeating-conic-gradient(from 0deg at 50% 80%, var(--teal) 0deg 9deg, #2A8C8C 9deg 18deg); }
.pcard .art img, .pcard .art svg { height: 250px; width: auto; max-width: 100%; display: block; }
.pcard .rating { position: absolute; left: 12px; top: 12px; width: 64px; height: 64px; border-radius: 50%; background: var(--mustard); border: 3px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.pcard .rating b { font: 400 29px var(--display); }
.pcard .rating small { font: 700 11px var(--body); }
.pcard .name { background: var(--red); border-top: 3px solid var(--ink); color: var(--cream-ink); text-align: center; padding: 8px 10px; }
.pcard .name b { display: block; font: 400 27px/1.1 var(--display); }
.attr { display: grid; grid-template-columns: 74px 1fr 30px; gap: 8px; align-items: center; }
.attr .k { font: 400 16px var(--display); }
.attr .v { font: 400 17px var(--display); text-align: right; }
.attr .meter { height: 14px; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper); overflow: hidden; }
.attr .meter span { display: block; height: 100%; }

/* Bildirim */
#toast { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 12px; font-weight: 700; z-index: 60; max-width: 90vw; text-align: center; }
.loading { padding: 40px 0; text-align: center; color: var(--muted); font-weight: 500; }
.empty { padding: 18px; text-align: center; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.teamcard { background: var(--card); border: 3px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow); padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-height: 150px; }
.teamcard .n { font: 400 17px/1.15 var(--display); }
.teamcard[disabled] { opacity: 0.55; }
.scoreboard .crest .ol, .live-banner .crest .ol { stroke: var(--paper); }

/* ---------- v0.2 ---------- */
.tiles4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tiles4 .tile .v { font-size: 23px; }
a.tile { text-decoration: none; }
.badge.green { background: var(--green); color: #FFF; }
.alert { display: block; text-decoration: none; background: #FBE3DF; border: 3px solid var(--ink); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); font-size: 14px; }
.alert.soft { background: var(--card); }
.alert::after { content: " ›"; font-weight: 700; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.sheet-title { margin: 0; font: 400 23px var(--display); }
.field select { min-height: 46px; padding: 8px 10px; border: 3px solid var(--ink); border-radius: 12px; background: #FFF; font-size: 15px; width: 100%; }
.field select + select, .field #r-val select { margin-top: 6px; }

/* Segment (parçalı seçim) */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; }
.seg button { border: 0; background: var(--card); min-height: 40px; font: 700 12px/1.15 var(--body); padding: 4px 2px; }
.seg button + button { border-left: 2px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--teal); color: var(--cream-ink); }
.tac { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px dashed #D9C8A8; }
.tac:last-child { border-bottom: 0; padding-bottom: 0; }
.tac-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tac-h b { font: 400 18px var(--display); letter-spacing: 0.3px; }

/* Sayaçlar */
.meter2 { height: 10px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); overflow: hidden; flex: 1; min-width: 40px; }
.meter2 > span { display: block; height: 100%; background: var(--green); }
.meter2.mid > span { background: var(--mustard); }
.meter2.low > span { background: var(--red); }
.famrow, .mood, .gstats { display: grid; grid-template-columns: 74px 1fr auto; gap: 8px; align-items: center; font-size: 13px; }
.famrow b { min-width: 26px; text-align: right; }
.famrow.cur { font-weight: 700; }
.famrow.cur span:first-child::after { content: " ●"; color: var(--red); }
.mood { grid-template-columns: 88px 1fr 128px; }
.mood span { font: 400 16px var(--display); }
.mood b { font-size: 12px; text-align: right; }
.gstats { grid-template-columns: auto 1fr auto auto 1fr auto; font-size: 12px; color: var(--muted); }
.bignum { font: 400 34px var(--display); }

/* Maç planı */
.toggle { display: flex; align-items: center; gap: 12px; border: 2px solid var(--ink); border-radius: 12px; background: var(--card); padding: 10px; text-align: left; }
.toggle .knob { flex: none; width: 48px; height: 28px; border-radius: 14px; border: 2px solid var(--ink); background: #D9CDB7; position: relative; }
.toggle .knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); transition: left .15s; }
.toggle[aria-pressed="true"] .knob { background: var(--teal); }
.toggle[aria-pressed="true"] .knob::after { left: 22px; }
.row.rule { font-size: 14px; }
.iconbtn.sm { width: 34px; height: 34px; border-width: 2px; border-radius: 9px; box-shadow: 2px 2px 0 var(--ink); font-weight: 700; }

/* Haberler */
.row.news { align-items: flex-start; }
.ntext { font-size: 14px; margin-top: 2px; }
button.row { width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; font: inherit; }
.row .mini { display: grid; grid-template-columns: auto auto; gap: 2px 6px; align-items: center; }

/* Soyunma odası */
.capcard { flex-direction: row !important; align-items: center; text-decoration: none; }
.warnpanel { background: #FBE3DF; }
.group { border-left-width: 10px; }
.group.g0 { border-left-color: var(--teal); } .group.g1 { border-left-color: var(--orange); } .group.g2 { border-left-color: var(--green); } .group.g3 { border-left-color: var(--mustard); }
.faces { display: flex; flex-wrap: wrap; gap: 8px 6px; }
.face { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; width: 58px; }
.face span:last-child { font-size: 11px; font-weight: 700; max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row.pair { justify-content: center; gap: 4px; }
.row.pair .link { flex: 1; max-width: 90px; height: 0; border-top: 4px solid var(--teal); position: relative; }
.row.pair .link.bad { border-top: 4px dashed var(--red); }
.row.pair .link.mentor { border-top-color: var(--mustard); }
.row.pair .link::after { position: absolute; left: 50%; top: -14px; transform: translateX(-50%); font: 400 16px var(--display); background: var(--card); padding: 0 4px; }
.row.pair .link.good::after { content: "DOST"; color: var(--teal); }
.row.pair .link.bad::after { content: "KÜS"; color: var(--red); }
.row.pair .link.mentor::after { content: "MENTOR"; color: #8A5B00; }

/* Kadro sahası */
.token .lbl i { font-style: normal; color: var(--red); }

/* Maç */
.scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 12px; opacity: .85; }
.scorers div:last-child { text-align: right; }
.row.pl.open { background: #FCE6B2; border-radius: 10px; }
.pstat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px 0 10px; }
.pstat span { background: var(--paper); border: 2px solid #E6D8BE; border-radius: 8px; padding: 4px; text-align: center; font-size: 10.5px; color: var(--muted); display: flex; flex-direction: column; }
.pstat span b { font: 400 18px var(--display); color: var(--ink); }
.pstat a { grid-column: 1 / -1; text-align: right; font-weight: 700; color: var(--red); font-size: 13px; }

/* Oyuncu */
.pcard .shirtno { position: absolute; right: 14px; top: 10px; font: 400 44px var(--display); color: var(--cream-ink); -webkit-text-stroke: 2px var(--ink); }
.attr-group { display: flex; flex-direction: column; gap: 6px; }
.attr-group + .attr-group { margin-top: 8px; }
.attr { grid-template-columns: 112px 1fr 40px; }
.attr .k { font: 500 13px var(--body); }
.attr .v i.up { font-style: normal; color: var(--green); font-size: 11px; margin-left: 2px; }
.poschip { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px 3px 4px; font-weight: 700; font-size: 13px; background: var(--card); }
.poschip.weak { opacity: .65; }
.relv { font: 400 20px var(--display); min-width: 40px; text-align: right; }
.relv.pos { color: var(--teal); } .relv.neg { color: var(--red); }
.bubble { position: relative; background: #FFF; border: 3px solid var(--ink); border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 15px; }
.bubble::after { content: ""; position: absolute; left: 26px; bottom: -14px; border: 7px solid transparent; border-top: 9px solid var(--ink); }
.bubble .small { margin-top: 4px; color: var(--muted); }
.btn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.btn.sm { min-height: 44px; font-size: 18px; padding: 4px 8px; }
@media (max-width: 360px) { .mood { grid-template-columns: 74px 1fr 96px; } .attr { grid-template-columns: 96px 1fr 38px; } }
.sheet > * { flex-shrink: 0; }
.pick .small { line-height: 1.5; }
.pos-tag { min-width: 30px; width: auto; padding: 2px 4px; display: inline-block; }

/* ---------- v0.3 transfer ---------- */
.window { border: 3px solid var(--ink); border-radius: 12px; padding: 8px 12px; background: #E9DCC2; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.window b { font: 400 17px var(--display); letter-spacing: .5px; }
.window span { font-size: 12.5px; color: var(--muted); }
.window.open { background: var(--teal); color: var(--cream-ink); }
.window.open span { color: #D8F0EC; }
.alert.go { background: #D8F0EC; }
.contract .kv, .kv { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 2px 0; border-bottom: 1px dashed #E6D8BE; }
.btn.ghost { background: transparent; box-shadow: none; border-width: 2px; color: var(--red); font: 600 13px var(--body); min-height: 40px; }
.money-in { display: flex; align-items: center; border: 3px solid var(--ink); border-radius: 12px; background: #FFF; overflow: hidden; }
.money-in input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font: 400 24px var(--display); letter-spacing: .5px; background: transparent; }
.money-in span { padding: 0 14px; font: 400 20px var(--display); color: var(--muted); }
.bubble.result.tamam { background: #D8F0EC; }
.bubble.result.ret, .bubble.result.oyuncu_ret { background: #FBE3DF; }
.bubble.result.karsi, .bubble.result.bekliyor { background: #FCE6B2; }
.filters { gap: 6px; }
.filters .chips { padding-bottom: 2px; }
.search { min-height: 44px; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 10px; background: #FFF; font-size: 15px; }
.sels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mini-sel { display: flex; flex-direction: column; gap: 2px; font: 700 10.5px var(--body); color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
.mini-sel select { min-height: 38px; border: 2px solid var(--ink); border-radius: 8px; background: #FFF; font: 500 13px var(--body); color: var(--ink); text-transform: none; padding: 0 4px; }
.row.mk .name { display: flex; align-items: center; gap: 4px; }
.row .sub .crest { vertical-align: -3px; }
.mk-r { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.mk-r .small { font-weight: 700; }
.offer { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid #E6D8BE; }
.offer:first-child { border-top: 0; }
.offer .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.offer .sub { font-size: 12px; color: var(--muted); }
.otext { font-size: 14px; }
.btn-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.btn-row .btn.sm, .btn-row3 .btn.sm { font-size: 16px; min-height: 40px; }
.rules ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.seg button:disabled { opacity: .35; }
.portrait { display: inline-block; vertical-align: middle; }
.offer > a { flex: none; }
.meter2.ok > span { background: var(--teal); }
.logo .pre { font: 400 22px var(--display); letter-spacing: 6px; color: var(--ink); background: var(--mustard); border: 3px solid var(--ink); padding: 0 12px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); }

/* ---------- v0.4 kupalar ---------- */
.fx .sc small { display: block; font: 700 10px var(--body); opacity: .8; margin-top: -2px; }
.fx .t.win span:not(.crest) { font-weight: 800; }
.eyebrow.cupe, .small.cupl { color: #8A5B00; font-weight: 700; }
.scoreboard .state.cup { color: var(--mustard); font: 400 15px var(--display); letter-spacing: 1px; }
.scoreboard .pen { font: 600 12px var(--body); letter-spacing: 0; text-align: center; color: var(--mustard); margin-top: 4px; }
.cupchip { background: var(--mustard); }
.cupchip svg, .cupname svg, .trophy svg { width: 18px; height: 18px; }
.cuphead { background: #FCE6B2; }
.cupname { display: flex; align-items: center; gap: 8px; }
.cupname b { font: 400 24px var(--display); letter-spacing: .5px; }
.cupname svg { width: 26px; height: 26px; }
.table tr.q td.pos { color: var(--teal); font-weight: 800; }
.table td.team a svg[viewBox="0 0 30 20"] { flex: none; }
.trophies { display: flex; flex-wrap: wrap; gap: 8px; }
.trophy { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 2px solid var(--ink); border-radius: 12px; background: #FCE6B2; padding: 8px 10px; min-width: 92px; text-align: center; }
.trophy svg { width: 28px; height: 28px; color: #8A5B00; }
.trophy b { font: 400 15px var(--display); }
.trophy small { font-size: 11px; color: var(--muted); }
.table td.team { max-width: 0; width: 100%; }

/* ---------- v0.5 duvar, basın, bildirim ---------- */
.nbadge { position: absolute; top: 2px; right: 6px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--red); color: #FFF; font: 700 10px/17px var(--body); font-style: normal; padding: 0 4px; border: 2px solid var(--ink); }
.iconbtn.bell { position: relative; color: var(--ink); text-decoration: none; }
.iconbtn.bell .nbadge { top: -8px; right: -8px; }
.alert.press { background: #FCE6B2; }
.quotes { display: flex; flex-direction: column; gap: 10px; }
.quote { display: flex; gap: 8px; align-items: flex-start; }
.quote .bubble { flex: 1; padding: 8px 12px; font-size: 14px; }
.quote .bubble::after { left: -12px; top: 12px; bottom: auto; border: 7px solid transparent; border-right: 9px solid var(--ink); }
.quote.basin .bubble { background: #FFF6D8; }
.press .bubble.reporter { background: var(--ink); color: var(--paper); font: 400 19px/1.2 var(--display); letter-spacing: .3px; }
.press .bubble.reporter::after { border-top-color: var(--ink); }
.press .pick { font-weight: 500; font-size: 14px; }
.composer textarea { border: 2px solid var(--ink); border-radius: 12px; padding: 10px; font: 15px/1.4 var(--body); resize: vertical; background: #FFF; min-height: 64px; }
.composer .crow { display: flex; justify-content: space-between; align-items: center; }
.btn.red.sm { min-height: 40px; font-size: 17px; }
.wall { display: flex; flex-direction: column; gap: 10px; }
.wpost { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border: 3px solid var(--ink); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow); }
.wpost .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wpost .sub { font-size: 12px; }
.wtext { font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.wpost.sonuc, .wpost.transfer, .wpost.kupa { background: #FFF6D8; border-width: 2px; box-shadow: none; }
.wpost.sonuc .wtext, .wpost.kupa .wtext { font: 400 18px/1.2 var(--display); letter-spacing: .3px; }
.wpost.kupa { background: #FCE6B2; }
.wpost.atisma .wtext, .wpost.basin .wtext { font-weight: 700; }
.wpost.atisma { border-color: var(--red); }
.sysdot { width: 28px; height: 28px; border-radius: 50%; background: var(--mustard); border: 2px solid var(--ink); display: grid; place-items: center; flex: none; }
.sysdot svg { width: 16px; height: 16px; }
.reacts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.react { border: 1.5px solid #D9C8A8; border-radius: 999px; background: var(--paper); padding: 2px 8px; font-size: 13px; min-height: 28px; }
.react[aria-pressed="true"] { border-color: var(--ink); background: #FCE6B2; font-weight: 700; }
.linkbtn { border: 0; background: none; color: var(--red); text-decoration: underline; }
.row.unread { background: #FFF6D8; border-radius: 10px; padding-inline: 6px; }

/* ---------- v0.6 akademi, gözlemci, kiralık ---------- */
.stars { color: #C98A00; letter-spacing: 1px; font-size: 13px; }
.stars i { color: #D9C8A8; font-style: normal; }
.row.acrow .btn.sm { min-height: 36px; font-size: 15px; padding: 2px 10px; }
.row.rep { align-items: flex-start; }
.rnote { font-style: italic; margin-top: 2px; white-space: normal; }
.seg.modes button { font: 400 16px var(--display); letter-spacing: .5px; }
.panel.scout { background: #F3F8F5; }
.tabs button { font-size: 15px; }

/* ---------- v0.7 canlı müdahale ---------- */
.livebox { border-color: var(--red); background: #FFF1EE; }
.subrow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; margin-bottom: 6px; }
.subrow select { min-height: 42px; border: 2px solid var(--ink); border-radius: 10px; background: #FFF; font-size: 13px; padding: 0 4px; min-width: 0; }
.ev.tactic .txt { font-weight: 600; }

/* ---------- v0.8 yönetim, menü, tanıtım, yardım ---------- */
.menu-list { display: flex; flex-direction: column; gap: 10px; }
.btn.ghost-red { background: #FBE3DF; color: #8E2620; }
.sheet-form { display: flex; flex-direction: column; gap: 12px; }
.paused-banner { display: flex; flex-direction: column; gap: 2px; background: repeating-linear-gradient(-45deg, var(--mustard) 0 14px, #F7C866 14px 28px); border: 3px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 12px; }
.paused-banner b { font: 400 21px var(--display); letter-spacing: .5px; }
.paused-banner span { font-size: 14px; font-weight: 500; }
.pill { display: inline-block; font: 700 10px var(--body); letter-spacing: .8px; background: var(--mustard); border: 2px solid var(--ink); border-radius: 999px; padding: 1px 6px; vertical-align: 2px; }
.row.urow { width: 100%; border-left: 0; border-right: 0; border-bottom: 0; background: none; text-align: left; }
.row .chev { font: 700 22px var(--body); color: var(--muted); }
.row.brow { gap: 6px; }
.row.brow .btn.sm { min-height: 38px; font-size: 15px; padding: 2px 8px; }
.inline-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inline-form label { font-size: 13px; font-weight: 700; width: 100%; }
.inline-form input { min-height: 46px; width: 92px; padding: 6px 10px; border: 3px solid var(--ink); border-radius: 12px; background: #FFF; font-size: 16px; }
.inline-form #dv-kod { flex: 1; min-width: 0; width: auto; text-transform: uppercase; }
.inline-form .btn { min-height: 46px; font-size: 18px; }
.mini-h { margin: 6px 0 0; font: 400 18px var(--display); }
.ta { border: 2px solid var(--ink); border-radius: 12px; padding: 10px; font: 15px/1.4 var(--body); resize: vertical; background: #FFF; }
.okbox { background: #DFF3E2; border: 2px solid var(--green); border-radius: 12px; padding: 10px 12px; }
.warnbox { background: #FFF6D8; border: 2px solid var(--ink); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.code { font: 400 24px var(--display); letter-spacing: 1.5px; background: #FFF; border: 2px dashed var(--ink); border-radius: 8px; padding: 0 8px; user-select: all; }
.sysdot.ann { background: var(--red); color: var(--cream-ink); font: 400 18px var(--display); }
.wpost.duyuru { background: #FFF6D8; border-color: var(--red); }
.wpost.duyuru .wtext { font-weight: 700; }

.help details { border-top: 1px solid #E6D8BE; padding: 4px 0; }
.help details:first-child { border-top: 0; }
.help summary { font: 400 19px var(--display); letter-spacing: .3px; padding: 8px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.help summary::-webkit-details-marker { display: none; }
.help summary::after { content: "+"; font: 700 20px var(--body); }
.help details[open] summary::after { content: "–"; }
.help p { margin: 0 0 10px; font-size: 15px; }

/* İlk giriş tanıtımı: çizgi roman karesi + konuşma balonu, alttaki menü öğesi parlar */
.tour { position: fixed; inset: 0; z-index: 19; background: rgba(30, 26, 22, 0.55); display: flex; align-items: flex-end; justify-content: center; padding: 16px 16px calc(96px + env(safe-area-inset-bottom, 0px)); }
.tour-card { width: 100%; max-width: 520px; background: var(--paper); background-image: radial-gradient(var(--paper-dot) 1.4px, transparent 1.7px); background-size: 9px 9px; border: 3px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px; display: grid; grid-template-columns: 84px 1fr; gap: 10px 12px; align-items: end; animation: tourIn .25s ease-out; }
.tour-coach svg { width: 84px; height: auto; display: block; }
.tour-coach img { width: 96px; height: 96px; object-fit: contain; display: block; filter: drop-shadow(2px 3px 0 rgba(30,26,22,.35)); }
.tour .bubble { position: relative; background: #FFF; border: 3px solid var(--ink); border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow); align-self: start; }
.tour .bubble::before { content: ""; position: absolute; left: -14px; bottom: 18px; border: 8px solid transparent; border-right: 12px solid var(--ink); }
.tour .bubble::after { content: ""; position: absolute; left: -9px; bottom: 20px; border: 6px solid transparent; border-right: 9px solid #FFF; }
.tour .bubble h3 { margin: 0 0 4px; font: 400 23px/1.1 var(--display); letter-spacing: .4px; color: var(--red); }
.tour .bubble p { margin: 0; font-size: 15px; line-height: 1.45; }
.tour-step { font: 700 11px var(--body); letter-spacing: 1px; color: var(--muted); }
.tour-btns { grid-column: 1 / -1; display: flex; gap: 10px; justify-content: flex-end; }
.tour-btns .btn { min-height: 46px; min-width: 110px; }
.tour-arrow { position: fixed; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: 0; height: 0; border: 14px solid transparent; border-top: 18px solid var(--mustard); filter: drop-shadow(2px 2px 0 var(--ink)); animation: bob 0.9s ease-in-out infinite; max-width: 560px; }
@media (min-width: 560px) { .tour-arrow { display: none; } }
body[data-tour] .nav-inner { pointer-events: none; }
body[data-tour="kadro"] .nav a[href="#/kadro"], body[data-tour="kulup"] .nav a[href="#/kulup"], body[data-tour="transfer"] .nav a[href="#/transfer"],
body[data-tour="lig"] .nav a[href="#/lig"], body[data-tour="duvar"] .nav a[href="#/duvar"] { background: var(--mustard); color: var(--ink); box-shadow: 0 0 0 3px var(--paper); }
@keyframes tourIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .tour-card, .tour-arrow { animation: none; } }
.row.urow .name, .row.urow .sub, .row.brow .name, .row.brow .sub { display: block; }
.row.urow .pill { margin-left: 4px; }

/* ---------- v0.9 geçmiş karşılaşmalar ---------- */
.h2h-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; font-size: 14px; }
.h2h-head b:last-child { text-align: right; }
.h2h-head span { font: 400 18px var(--display); letter-spacing: .4px; }
.recbar { display: flex; height: 22px; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; font: 700 12px var(--body); }
.recbar span { display: grid; place-items: center; min-width: 0; overflow: hidden; }
.recbar .w { background: var(--teal); color: var(--cream-ink); }
.recbar .d { background: #E6D8BE; }
.recbar .l { background: var(--red); color: var(--cream-ink); }
.h2h-list { display: flex; flex-direction: column; }
.h2h-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid #E6D8BE; text-decoration: none; font-size: 14px; }
.h2h-row .grow { flex: 1; color: var(--muted); font-size: 12px; }
.dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font: 700 11px var(--body); flex: none; }
.dot.G { background: var(--teal); color: var(--cream-ink); }
.dot.B { background: #E6D8BE; }
.dot.M { background: var(--red); color: var(--cream-ink); }

/* ---------- Kosmos Gazetesi: eski gazete kâğıdı, kalın sütun çizgileri ---------- */
.paper { --np: #F6F0E1; background: var(--np); border: 3px solid var(--ink); box-shadow: var(--shadow-lg); border-radius: 6px; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 14px; }
.paper section { border-top: 3px double var(--ink); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.mast { text-align: center; border-bottom: 4px solid var(--ink); padding-bottom: 8px; }
.mast-top, .mast-bot { display: flex; justify-content: space-between; gap: 8px; font: 700 10px var(--body); letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.mast-bot { border-bottom: 0; border-top: 1px solid var(--ink); padding: 4px 0 0; justify-content: center; text-transform: none; letter-spacing: .3px; font-weight: 500; font-size: 11px; }
.masthead { font: 400 clamp(30px, 10vw, 44px)/1.05 var(--script); color: var(--ink); padding: 6px 0 4px; letter-spacing: .5px; }
.small-m { font-size: 30px; }
.lead { border-top: 0 !important; padding-top: 0 !important; position: relative; background-image: radial-gradient(rgba(30, 26, 22, .12) 1.2px, transparent 1.5px); background-size: 7px 7px; border: 2px solid var(--ink) !important; border-radius: 4px; padding: 12px !important; }
.lead-crest { float: right; margin: 0 0 6px 10px; transform: rotate(4deg); }
.headline { margin: 0; font: 400 clamp(30px, 9vw, 40px)/1.02 var(--display); letter-spacing: .5px; text-transform: uppercase; color: var(--red); -webkit-text-stroke: 1px var(--ink); text-shadow: 2px 2px 0 var(--ink); }
.deck { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.4; clear: none; }
.readmore { font-weight: 700; color: var(--red); }
.kicker { font: 400 20px var(--display); letter-spacing: .6px; text-transform: uppercase; display: flex; justify-content: space-between; align-items: baseline; }
.kicker small { font: 700 11px var(--body); color: var(--muted); }
.brief { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; padding: 6px 0; border-top: 1px dashed rgba(30, 26, 22, .35); }
.brief:first-of-type { border-top: 0; }
.brief b { display: block; font: 400 18px/1.1 var(--display); letter-spacing: .3px; text-transform: uppercase; }
.brief small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.mini-pitch { background: var(--pitch); border: 3px solid var(--ink); border-radius: 10px; padding: 10px 4px; display: flex; flex-direction: column; gap: 10px; background-image: linear-gradient(transparent 49.5%, rgba(255,255,255,.35) 49.5% 50.5%, transparent 50.5%), repeating-linear-gradient(90deg, var(--pitch) 0 40px, var(--pitch-2) 40px 80px); }
.prow { display: flex; justify-content: space-around; gap: 2px; }
.pp { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #FFF; min-width: 0; flex: 1; max-width: 90px; }
.pp b { font: 700 11px var(--body); background: var(--ink); border-radius: 6px; padding: 1px 5px; margin-top: 2px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp small { font: 700 11px var(--body); color: var(--cream-ink); text-shadow: 1px 1px 0 var(--ink); }
.pp.star .portrait { box-shadow: 0 0 0 3px var(--mustard), 0 0 0 5px var(--ink); border-radius: 50%; }
.cols { flex-direction: row !important; gap: 12px !important; }
.cols .col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cols .col + .col { border-left: 1px solid var(--ink); padding-left: 12px; }
.box-good .kicker { color: var(--teal); }
.box-bad .kicker { color: var(--red); }
.mgname { font: 400 22px var(--display); letter-spacing: .4px; }
.col p { margin: 2px 0 0; font-size: 13px; }
.col small { color: var(--muted); font-size: 12px; }
.box-quote q { font: 600 italic 15px/1.35 var(--body); }
.box-quote.solo { border-top: 3px double var(--ink); }
.res-group { display: flex; flex-direction: column; }
.res-h { font: 700 11px var(--body); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.res { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; text-decoration: none; font-size: 13px; padding: 3px 0; border-bottom: 1px dotted rgba(30, 26, 22, .3); }
.res span:last-child { text-align: right; }
.res span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res .win { font-weight: 700; }
.res b { font: 400 17px var(--display); min-width: 40px; text-align: center; }
.res.next { grid-template-columns: auto 1fr auto 1fr; }
.res.next b { font: 700 11px var(--body); min-width: 0; }
.res .derby, .res.next .derby { font: 700 9px var(--body); background: var(--red); color: var(--cream-ink); border-radius: 4px; padding: 1px 4px; font-style: normal; }
.res.next:not(:has(.derby)) { grid-template-columns: 1fr auto 1fr; }
.ptable { border-collapse: collapse; font-size: 13px; width: 100%; }
.ptable td { padding: 3px 2px; border-bottom: 1px dotted rgba(30, 26, 22, .3); }
.ptable td.t { font-weight: 700; }
.ptable tr.me td { background: rgba(242, 177, 52, .35); }
.ptable i { font-style: normal; font-size: 10px; color: var(--muted); }
.ptable i.up { color: var(--green); }
.ptable i.down { color: var(--red); }
.scor { margin: 0; padding-left: 18px; font-size: 13px; display: flex; flex-direction: column; gap: 3px; }
.scor a { text-decoration: none; }
.tline { text-decoration: none; font-size: 13px; padding: 3px 0; border-bottom: 1px dotted rgba(30, 26, 22, .3); }
.tline span { float: right; font-weight: 700; }
.gossip p { margin: 0; font-size: 14px; font-style: italic; }
.gossip p::before { content: "» "; font-style: normal; font-weight: 700; color: var(--red); }
.paper-foot { border-top: 1px solid var(--ink); padding-top: 6px; font-size: 11px; color: var(--muted); text-align: center; }
.paper-empty p { margin: 0; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.paper-teaser { display: flex; flex-direction: column; gap: 2px; text-decoration: none; background: #F6F0E1; border: 3px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow); padding: 10px 12px; }
.paper-teaser .pt-mast { font: 400 15px var(--script); border-bottom: 2px solid var(--ink); padding-bottom: 3px; }
.paper-teaser .pt-head { font: 400 21px/1.1 var(--display); letter-spacing: .4px; text-transform: uppercase; color: var(--red); }
.paper-teaser .pt-more { font-size: 12px; font-weight: 700; }
.sysdot.news { background: #F6F0E1; color: var(--ink); }

/* ---------- tahmin ---------- */
.rules { font-size: 13px; }
.prow2 { display: grid; grid-template-columns: 1fr auto 8px auto 1fr; align-items: center; gap: 6px; padding: 8px 0; border-top: 1px solid #E6D8BE; }
.prow2:first-child { border-top: 0; }
.prow2.mine { background: rgba(242, 177, 52, .18); border-radius: 8px; }
.prow2 .pt { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; min-width: 0; }
.prow2 .pt.r { justify-content: flex-end; }
.prow2 i { font-weight: 700; text-align: center; font-style: normal; }
.stepper { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 10px; background: #FFF; overflow: hidden; }
.stepper button { width: 30px; height: 38px; border: 0; background: var(--card); font: 700 18px var(--body); }
.stepper b { min-width: 22px; text-align: center; font: 400 21px var(--display); }
.prow2.set .stepper { border-color: var(--teal); }

/* ---------- dostluk ---------- */
.intro { font-size: 14px; }
.panel.hot { border-color: var(--red); background: #FFF1EE; }
.inv { display: flex; gap: 10px; align-items: flex-start; }
.inv .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bet { font-style: italic; font-weight: 600; background: #FFF; border: 2px dashed var(--ink); border-radius: 8px; padding: 6px 8px; font-size: 14px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots .chip { font-size: 13px; }
.rules p { margin: 0; }
.slots { margin-bottom: 6px; }
a.chip { text-decoration: none; }

/* ---------- v0.10 huylar ve hava ---------- */
.qe { font-size: 13px; margin-left: 2px; vertical-align: 1px; }
.quirks { display: flex; flex-direction: column; gap: 8px; }
.quirk { display: flex; gap: 10px; align-items: flex-start; background: #FFF6D8; border: 2px solid var(--ink); border-radius: 12px; padding: 8px 10px; box-shadow: 2px 2px 0 var(--ink); }
.quirk .qi { font-size: 26px; line-height: 1; flex: none; width: 34px; text-align: center; }
.quirk b { display: block; font: 400 18px/1.1 var(--display); letter-spacing: .3px; }
.quirk small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.quirk.disari { background: #E7F1EE; }
.wx { display: inline-flex; align-items: center; gap: 4px; font: 700 12px var(--body); background: rgba(255,255,255,.14); border: 1.5px solid currentColor; border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.wx.bad { background: rgba(200, 55, 45, .35); }
.ev.huy .txt { font-style: italic; }
.ev .qtag { font-size: 15px; margin-right: 4px; font-style: normal; }
.wpost.kulis { background: #F3ECFA; border-color: #6B4E8A; }

/* ---------- v0.11: parça portreler + 90'lar forması ---------- */
.portrait .kit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pcard .art .bigp { position: relative; display: block; width: 250px; height: 250px; max-width: 100%; flex: none; }
.pcard .art .bigp img, .pcard .art .bigp svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }

/* ---------- v0.12: OYUNCU sayfası portreleri (forma maske + çarpma ile takım rengine boyanır) ---------- */
.portrait.yeni, .bigp.yeni { isolation: isolate; }
.portrait.yeni { background: #E9DCC2; }
.portrait.yeni img, .bigp.yeni img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait .fm, .bigp .fm { position: absolute; inset: 0; mix-blend-mode: multiply; pointer-events: none;
  -webkit-mask-size: 200% 100%; mask-size: 200% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 0; mask-position: 0 0; }
.portrait .fm.fy, .bigp .fm.fy { -webkit-mask-position: 100% 0; mask-position: 100% 0; }

/* ---------- v0.13: oyuncu profili (sekmeler, çıkartmanın arkası, grafikler, karşılaştırma) ---------- */
.flipwrap { perspective: 1400px; }
.pcard.flip { position: relative; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.3,.9,.3,1); cursor: pointer; background: transparent; box-shadow: none; border: 0; border-radius: 0; overflow: visible; }
.pcard.flip .pside { backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--teal); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
.pcard.flip .pside.back { position: absolute; inset: 0; transform: rotateY(180deg); background: var(--card); background-image: repeating-linear-gradient(0deg, transparent 0 22px, rgba(31,122,122,.08) 22px 23px); }
.pcard.flip.flipped { transform: rotate(-1deg) rotateY(180deg); }
.pcard.flip:focus-visible { outline: 4px solid var(--mustard); outline-offset: 4px; border-radius: 18px; }
@media (prefers-reduced-motion: reduce) { .pcard.flip { transition: none; } }
.fliphint { position: absolute; right: 12px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); display: grid; place-items: center; font: 700 16px var(--body); color: var(--ink); }
.pcard .name .nick { display: block; font: 700 14px var(--body); font-style: italic; opacity: .9; margin-top: -2px; }
.back-in { height: 100%; display: flex; flex-direction: column; padding: 14px 16px 12px; gap: 8px; }
.back-h { display: flex; flex-direction: column; border-bottom: 3px solid var(--ink); padding-bottom: 6px; }
.back-h b { font: 400 26px/1 var(--display); letter-spacing: .5px; }
.back-h span { font: 700 14px var(--body); font-style: italic; color: var(--red); }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 12px; margin: 0; font-size: 14px; }
.facts dt { font: 700 11px var(--body); letter-spacing: .8px; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; font-weight: 600; min-width: 0; }
.facts.big { font-size: 15px; gap: 8px 14px; }
.chant { margin-top: auto; font: 400 17px var(--display); letter-spacing: .4px; color: var(--teal); }
.chant.big { font-size: 24px; line-height: 1.15; color: var(--ink); text-wrap: balance; }
.chantbox { background: var(--mustard); }
.flipnote { font: 700 11px var(--body); color: var(--muted); text-align: right; }
.compare { margin-top: 2px; }
.ptabs .tabs button { font-size: 15px; padding: 0 2px; }
.radar { width: 100%; max-width: 360px; display: block; margin: 0 auto; }
.chart { width: 100%; display: block; }
.trivia { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.tiles.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.tiles.five .tile .v { font-size: 22px; }
.tiles.five .tile .k { font-size: 10px; }
.tblwrap { overflow-x: auto; margin-top: 10px; }
.ctable { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ctable th { font: 700 11px var(--body); letter-spacing: .8px; text-transform: uppercase; color: var(--muted); text-align: right; padding: 4px 6px; border-bottom: 2px solid var(--ink); }
.ctable td { text-align: right; padding: 7px 6px; border-bottom: 1px solid var(--paper-dot); }
.ctable th:nth-child(2), .ctable td:nth-child(2) { text-align: left; }
.ctable th:first-child, .ctable td:first-child { text-align: left; }
.teamlink { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: inherit; text-decoration: none; }
.teamlink .crest { flex: none; }
.xfer { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.xfer .arr { font-weight: 700; color: var(--muted); }
.ovr.wide { width: auto; min-width: 36px; font-size: 19px; white-space: nowrap; }
.trophy.award .aw { font-size: 22px; line-height: 1; }
.cmp-heads { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; }
.cmp-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 6px; background: var(--card); border: 3px solid var(--ink); border-top: 8px solid var(--c); border-radius: 14px; box-shadow: var(--shadow); color: inherit; text-decoration: none; min-width: 0; }
.cmp-head b { font: 400 19px/1.05 var(--display); letter-spacing: .3px; overflow-wrap: anywhere; }
.cmp-head small { color: var(--muted); font-weight: 600; }
.cmp-head .ovr { width: auto; font-size: 26px; color: var(--c); }
.vs { font: 400 28px var(--display); color: var(--red); }
.legend { display: flex; justify-content: center; gap: 16px; font-weight: 700; font-size: 13px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 2px solid var(--ink); margin-right: 5px; vertical-align: -1px; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--paper-dot); font-variant-numeric: tabular-nums; }
.cmp-row .lbl { font: 700 11px var(--body); letter-spacing: .8px; text-transform: uppercase; color: var(--muted); text-align: center; }
.cmp-row .va { text-align: left; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.cmp-row .vb { text-align: right; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.cmp-row .win, .cmp-attr .win { color: var(--green); font-weight: 800; }
.cmp-attr { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 5px 0; font-variant-numeric: tabular-nums; }
.cmp-attr .va { grid-row: 1 / 3; text-align: left; font-weight: 700; }
.cmp-attr .vb { grid-row: 1 / 3; grid-column: 3; text-align: right; font-weight: 700; }
.cmp-attr .lbl { grid-row: 1; grid-column: 2; font-size: 12px; font-weight: 700; text-align: center; color: var(--muted); }
.cmp-bars { grid-row: 2; grid-column: 2; display: flex; height: 10px; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; background: var(--paper); }
.cmp-bars .half { flex: 1; display: flex; height: 100%; }
.cmp-bars .half.l { justify-content: flex-end; border-right: 2px solid var(--ink); }
.cmp-bars .ba { display: block; height: 100%; background: var(--red); }
.cmp-bars .bb { display: block; height: 100%; background: var(--teal); }
.crest.img { object-fit: contain; }

/* v0.14: çizilmiş kupa, lig logosu ve ödüller */
.kupaimg { display: block; object-fit: contain; flex: none; filter: drop-shadow(0 2px 0 rgba(30, 26, 22, .25)); }
.topbar .topbadge { margin-left: auto; }
.cupname .kupaimg { width: 64px; height: 64px; }
.trophy .kupaimg { width: 56px; height: 56px; margin-bottom: 2px; }
.trophy { max-width: 132px; }

/* v0.15: çizilmiş formalar */
.shirt { position: relative; display: inline-block; flex: none; isolation: isolate; }
.shirt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.shirt .fm { position: absolute; inset: 0; mix-blend-mode: multiply; pointer-events: none;
  -webkit-mask-size: 200% 100%; mask-size: 200% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 0; mask-position: 0 0; }
.shirt .fm.fy { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.crestkit { display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.kitnote { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.kitpair { display: flex; gap: 6px; }
.kitpair > span { display: flex; flex-direction: column; align-items: center; }
.kitpair small { font-size: 10px; color: var(--muted); }

/* v0.15: 90'lar çıkartması çerçevesi (oyuncu kartı) */
.pcard.flip .pside.front.sticker90 { position: relative; background: #FFFDF6; padding: 8px; border-radius: 16px; }
.sticker90 .art { border: 2.5px solid var(--ink); border-radius: 10px 10px 0 0; overflow: hidden;
  background: repeating-conic-gradient(from 0deg at 50% 80%, var(--c1) 0deg 9deg, color-mix(in srgb, var(--c1) 82%, #000) 9deg 18deg); }
.sticker90 .art::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(0,0,0,.14) 1px, transparent 1.4px) 0 0/6px 6px; mix-blend-mode: multiply; }
.sticker90 .stcrest { position: absolute; right: 10px; top: 10px; z-index: 2; filter: drop-shadow(2px 2px 0 rgba(30,26,22,.35)); }
.sticker90 .rating { z-index: 2; }
.sticker90 .name { position: relative; background: var(--c2); color: var(--ink); border: 2.5px solid var(--ink); border-top: 0; border-radius: 0 0 10px 10px;
  background-image: linear-gradient(100deg, var(--c1) 0 13%, transparent 13% 15%, var(--c1) 15% 17%, transparent 17%); padding: 8px 10px 8px 62px; text-align: left; }
.sticker90 .name, .sticker90 .name .small, .sticker90 .name .nick { color: var(--tx2); }
.sticker90 .name b { font-size: 25px; }
.sticker90 .shirtno { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); right: auto; font: 400 36px var(--display); color: var(--tx); -webkit-text-stroke: 1.5px var(--ink); }
.sticker90 .stfoot { display: flex; justify-content: space-between; gap: 8px; padding: 5px 4px 0; font: 700 10.5px var(--body); letter-spacing: .6px; text-transform: uppercase; color: #6E6253; }
.sticker90::after { content: ""; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; border-top-left-radius: 8px;
  background: linear-gradient(135deg, #E9DCC2 0 48%, rgba(30,26,22,.25) 50%, transparent 52%); }
.pcard .art .stcrest img, .pcard .art .stcrest svg { height: 46px; width: 46px; max-width: none; }
.sticker90 .stfoot span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sticker90 .name:not(:has(.shirtno)) { padding-left: 14px; background-image: none; }
.sticker90 .stfoot { padding-right: 26px; }
/* kart arması: kulüp renginde zeminde kaybolmasın diye beyaz çıkartma yamasının üstünde, raster gölgenin üstünde */
.sticker90 .art::after { z-index: 1; }
.sticker90 .stcrest { z-index: 3; right: 8px; top: 8px; width: 66px; height: 70px; display: grid; place-items: center; background: #FFFDF6; border: 2.5px solid var(--ink);
  border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); transform: rotate(4deg); filter: none; }
.pcard .art .stcrest img, .pcard .art .stcrest svg { width: 56px; height: 60px; }
.sticker90 .rating { z-index: 3; }

/* Çizgi roman gol kareleri */
.golkare { margin: 0; background: var(--ink); border: 3px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow); overflow: visible; }
.gk-sahne { position: relative; overflow: hidden; border-radius: 3px 3px 0 0; background: #2A3550; }
.gk-sahne img { display: block; width: 100%; height: auto; }
.gk-boya { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; pointer-events: none; }
.gk-pat { position: absolute; right: 8px; bottom: 8px; font: 400 26px/1 var(--display); letter-spacing: 1px; color: var(--red); background: #FFE45C; padding: 6px 12px 4px; border: 3px solid var(--ink); transform: rotate(-4deg); box-shadow: 3px 3px 0 var(--ink);
  clip-path: polygon(0 12%, 8% 0, 30% 9%, 52% 0, 74% 8%, 100% 0, 94% 50%, 100% 100%, 70% 90%, 46% 100%, 22% 91%, 0 100%, 5% 52%); }
.gk-alt { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 10px; background: #FFF6D8; border-top: 3px solid var(--ink); border-radius: 0 0 3px 3px; color: var(--ink); }
.gk-foto { flex: none; margin-top: -30px; transform: rotate(-5deg); background: #fff; padding: 3px; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); line-height: 0; }
.gk-ad { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gk-ad b { font: 400 20px/1.05 var(--display); letter-spacing: .5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gk-ad small { display: flex; align-items: center; gap: 4px; font: 600 12px var(--body); color: var(--muted); }
.gk-skor { flex: none; font: 400 30px/1 var(--display); color: var(--red); }
.golkare.kucuk .gk-pat { font-size: 18px; padding: 4px 8px 3px; border-width: 2px; }
.golkare.kucuk .gk-ad b { font-size: 16px; }
.golkare.kucuk .gk-skor { font-size: 22px; }
.golkare.kucuk .gk-foto { margin-top: -24px; }
.ev.goal.comic { flex-direction: column; align-items: stretch; gap: 8px; padding: 8px; }
.ev.goal.comic .txt { font-size: 14px; padding: 0 4px 2px; }
.gk-serit { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 10px; margin: 0 -4px; }
.gk-serit .golkare { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; }
.hgol .golkare { margin: 6px 0 8px; }
.hgol p { margin: 0 0 4px; }


/* Stadlar */
.scoreboard.stadli { background-size: cover; background-position: center 40%; }
.scoreboard .stad-ad { text-align: center; font: 600 11px var(--body); letter-spacing: 1.4px; text-transform: uppercase; opacity: .85; margin-top: -6px; }
.stad-banner { position: relative; height: 150px; border-radius: 18px; border: 3px solid var(--ink); box-shadow: var(--shadow-lg); background-size: cover; background-position: center 45%; overflow: hidden; }
.stad-banner span { position: absolute; left: 10px; bottom: 10px; background: var(--ink); color: var(--paper); font: 400 15px var(--display); letter-spacing: .5px; padding: 4px 10px; border-radius: 8px; }
@media (min-width: 600px) { .stad-banner { height: 210px; } }
.stad-banner.yok { height: auto; min-height: 44px; background: var(--ink); }
.stad-banner.yok span { position: static; display: inline-block; margin: 8px; }

/* 2D saha penceresi */
.izle2d { margin-left: 8px; font: 400 13px var(--display); letter-spacing: .5px; border: 2px solid var(--ink); border-radius: 999px; padding: 1px 9px; background: var(--mustard); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); cursor: pointer; vertical-align: middle; }
.saha2d { position: fixed; inset: 0; z-index: 60; background: rgba(20, 16, 12, 0.82); display: flex; align-items: center; justify-content: center; padding: env(safe-area-inset-top, 0px) max(10px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(10px, env(safe-area-inset-left, 0px)); }
.saha2d-kutu { position: relative; width: min(100%, 520px); height: min(92vh, 900px); border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; background: #2B2520; box-shadow: 5px 5px 0 var(--ink); }
.saha2d canvas { display: block; width: 100%; height: 100%; }
.saha2d .skor { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 5px 10px; font: 400 18px var(--display); letter-spacing: 1px; white-space: nowrap; }
.saha2d .skor i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--paper); display: inline-block; }
.saha2d .skor b { font-weight: 400; color: var(--mustard); font-size: 20px; }
.saha2d .anlatim { position: absolute; left: 10px; right: 10px; bottom: 100px; background: rgba(255,253,246,.95); border: 2px solid var(--ink); border-radius: 10px; padding: 7px 10px; font-size: 14px; min-height: 40px; display: flex; align-items: center; color: var(--ink); }
.saha2d .anlatim:empty { display: none; }
.saha2d .anlatim.vurgu { background: var(--mustard); font-weight: 700; }
.saha2d .s2-kapat { position: absolute; top: 9px; right: 9px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); color: var(--ink); font: 700 16px var(--body); box-shadow: 2px 2px 0 var(--ink); cursor: pointer; }
.saha2d .s2-baslik { position: absolute; top: 52px; left: 50%; transform: translate(-50%, -8px); opacity: 0; transition: opacity .25s, transform .25s; background: var(--red); color: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 4px 12px; font: 400 18px var(--display); letter-spacing: 1px; white-space: nowrap; box-shadow: 3px 3px 0 var(--ink); pointer-events: none; }
.saha2d .s2-baslik.acik { opacity: 1; transform: translate(-50%, 0); }
.saha2d .s2-baslik b { font-weight: 400; color: var(--mustard); }
.saha2d .s2-bekle { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: var(--paper); font: 400 22px var(--display); letter-spacing: 1px; background: rgba(30,26,22,.55); }
.saha2d-alt { position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--ink); border-radius: 12px; padding: 8px 8px 6px; }
.saha2d .s2-ilerle { display: flex; align-items: center; gap: 8px; margin: 0 2px 7px; }
.saha2d .s2-cubuk { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,241,214,.25); overflow: hidden; }
.saha2d .s2-cubuk i { display: block; height: 100%; width: 0; background: var(--mustard); }
.saha2d .s2-sira { color: var(--paper); font: 600 12px var(--body); min-width: 38px; text-align: right; }
.saha2d .s2-dugmeler { display: flex; gap: 6px; }
.saha2d .s2b { flex: 1; min-width: 0; height: 40px; border: 2px solid var(--paper); border-radius: 9px; background: transparent; color: var(--paper); font: 700 16px var(--body); cursor: pointer; padding: 0; }
.saha2d .s2b.ana { background: var(--mustard); color: var(--ink); border-color: var(--mustard); }
.saha2d .s2b.yazi { font: 400 15px var(--display); letter-spacing: .5px; flex: 1.4; }
.saha2d .s2b:disabled { opacity: .35; cursor: default; }
.saha2d .s2b:focus-visible, .saha2d .s2-kapat:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.s2-ozet { margin: 0 0 12px; background: var(--teal); color: var(--paper); display: flex; align-items: center; justify-content: center; gap: 10px; }
.s2-ozet span { font: 600 12px var(--body); letter-spacing: .3px; opacity: .9; }

/* oyuncu talimatları */
.tal-row { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-top: 1px dashed var(--line, #E5D3AE); }
.tal-ad { font-size: 14px; }
.tal-ad b { display: inline-block; min-width: 30px; font-size: 12px; color: var(--muted, #6B5E50); }
.tal-acik { margin: 0; padding-left: 18px; display: grid; gap: 3px; }

.hakem-satir { display:flex; align-items:center; justify-content:center; gap:6px; font-size:12px; opacity:.92; margin:2px 0 4px; }
.hakem-satir img { width:24px; height:24px; border-radius:50%; object-fit:cover; background:#2a2520; border:1.5px solid rgba(255,255,255,.5); }
.hakem-satir .hk-ikon { font-size:13px; }
/* canlı skorda izlenmemiş pozisyon işareti */
.an-yeni { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var(--red); color: var(--paper); border: 2px solid var(--ink); font: 400 12px/12px var(--display); font-style: normal; text-align: center; vertical-align: middle; margin-left: 2px; animation: an-nabiz 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .an-yeni { animation: none; } }
/* kulübe özel çizilmiş formalar */
.kitdesign { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kitdesign button { background: none; border: 0; padding: 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; font: inherit; color: inherit; }
/* çizimlerin en-boy oranı farklı (dar polo / geniş kollu): aynı yükseklikte göster */
.kitdesign img { height: 160px; width: 100%; max-width: 170px; object-fit: contain; filter: drop-shadow(0 3px 0 rgba(0,0,0,.18)); }
.kitdesign .shirt { margin: 20px 0; }
.kitdesign small { font-size: 12px; color: var(--muted); font-weight: 700; }
.kitbig { width: 100%; max-width: 340px; height: auto; margin: 6px 0 12px; }
.kitpick { height: 80px; width: auto; margin-left: 10px; vertical-align: middle; }
/* yardımcı hocanın notları */
.yrdnot { display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 14px; padding: 8px 10px; margin: 0 0 10px; box-shadow: 3px 3px 0 var(--ink); }
.yrdnot img { width: 52px; height: 52px; object-fit: contain; flex: none; filter: drop-shadow(1px 2px 0 rgba(30,26,22,.3)); }
.yrdnot .sub { font-size: 12px; color: var(--muted); }
.yrdnot .yrdmetin { font-size: 14px; line-height: 1.35; }
.yrdnot.fisilti { margin: 8px 0; box-shadow: none; border-style: dashed; }
.yrdnot.fisilti .yrdmetin { font-style: italic; }
.yrdnot.rapor { margin: 6px 0 0; box-shadow: none; }
.formdots { display: flex; gap: 4px; margin-bottom: 4px; }
.formdots .fd { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); font: 700 11px/18px sans-serif; text-align: center; color: #fff; }
.formdots .fd.G { background: var(--green); } .formdots .fd.B { background: var(--muted); } .formdots .fd.M { background: var(--red); }
/* Kosmos Tarihi sunumu */
.sunum { padding-bottom: 90px; }
.sn-slayt { background: var(--paper); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink); overflow: hidden; }
.sn-img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; border-bottom: 3px solid var(--ink); }
.sn-slayt.kapak { position: relative; }
.sn-slayt.kapak .sn-img { aspect-ratio: 3 / 4; border: 0; }
.sn-slayt.kapak .sn-metin { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(30,26,22,.92) 40%); color: #FFF1D6; padding-top: 60px; text-align: center; }
.sn-slayt.kapak h1 { color: var(--mustard); font-size: 46px; }
.sn-metin { padding: 14px 16px 18px; }
.sn-ust { font: 700 12px sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); }
.sunum h1 { font: 400 34px/1.05 var(--display); margin: 4px 0 8px; letter-spacing: .5px; }
.sn-alt { font: 400 24px var(--display); }
.sn-govde { font-size: 16px; line-height: 1.5; }
.sn-govde p { margin: 0 0 10px; }
.sn-alinti { margin: 12px 0 0; padding: 10px 12px; border-left: 5px solid var(--red); background: rgba(200,55,45,.08); font: 400 20px/1.2 var(--display); }
.sn-alinti small { display: block; font: 700 12px sans-serif; color: var(--muted); margin-top: 4px; }
.sn-kulupler { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 6px; margin-top: 12px; }
.sn-kulupler > div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sn-kulupler b { font: 400 18px var(--display); }
.sn-kulupler small { font-size: 11px; line-height: 1.15; color: var(--muted); }
.sn-samp > div { display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 6px; margin: 4px 0; position: relative; }
.sn-samp span { font-weight: 700; font-size: 14px; z-index: 1; }
.sn-samp i { position: absolute; left: 40px; height: 22px; top: 50%; transform: translateY(-50%); max-width: calc(100% - 72px); background: rgba(242,177,52,.45); border-radius: 4px; }
.sn-samp b { font: 400 22px var(--display); text-align: right; }
.sn-son5 > div { border-top: 2px dashed var(--paper-dot); padding: 8px 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.sn-son5 .yil { font: 400 22px var(--display); }
.sn-formalar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 12px; }
.sn-formalar img { width: 100%; height: auto; }
.sn-nav, .sn-canli { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--cream, #FFF1D6); border-top: 3px solid var(--ink); z-index: 20; }
.sn-nav .btn { min-width: 70px; font-size: 22px; }
.sn-nav span { font: 400 20px var(--display); }
.sn-canli { justify-content: center; font-weight: 700; }
.sn-yon { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 10px; font-size: 13px; font-weight: 700; }
@media (min-width: 700px) { .sn-slayt.resimli { display: grid; grid-template-columns: 1.2fr 1fr; } .sn-slayt.resimli .sn-img { border-bottom: 0; border-right: 3px solid var(--ink); aspect-ratio: auto; min-height: 420px; } }
.sn-slayt.kapak .sn-ust { color: var(--mustard); text-shadow: 1px 1px 0 var(--ink); }
.sn-slayt.kapak .sn-img { aspect-ratio: 4 / 5; }

/* Kulüp seçimi */
.teamcard .tc-kits { display: flex; justify-content: center; gap: 4px; }
.teamcard .tc-kits img { height: 52px; width: auto; }
.tc-stad { height: 120px; border: 3px solid var(--ink); border-radius: 12px; background: center 40% / cover; position: relative; margin-bottom: 10px; }
.tc-stad span { position: absolute; left: 8px; bottom: 8px; background: rgba(30,26,22,.82); color: #FFF1D6; font: 700 12px var(--body); padding: 3px 8px; border-radius: 8px; letter-spacing: .5px; }
.tc-head { display: flex; align-items: center; gap: 12px; }
.tc-head h2 { margin: 0; font: 400 24px/1.05 var(--display); }
.tc-big { display: flex; justify-content: center; gap: 14px; margin: 12px 0 4px; }
.tc-big figure { margin: 0; text-align: center; flex: 1; max-width: 170px; }
.tc-big img { width: 100%; height: auto; max-height: 170px; object-fit: contain; }
.tc-big figcaption { font: 700 11px var(--body); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.tc-kupa { text-align: center; font-weight: 700; margin: 6px 0; }
.tc-not { margin: 6px 0 10px; font-size: 15px; line-height: 1.45; }
