/* =====================================================================
   ŞABO MENAJER — arayüz
   ===================================================================== */
.mgr { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.mgr-side { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; background: var(--ink-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.mgr-club { position: relative; padding: 18px 16px 16px; border-bottom: 1px solid var(--line); overflow: hidden; }
.mgr-club::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--c1, var(--bordo)) 0%, transparent 70%); opacity: .28; }
.mgr-club > * { position: relative; }
.mgr-club .row { align-items: center; }
.mgr-club b { display: block; font: 800 20px/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.mgr-club span { font-size: 12.5px; color: var(--muted); }
.mgr-nav { padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.mgr-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 6px; color: var(--text-2); font: 600 14.5px/1.1 var(--font); }
.mgr-nav a:hover { background: var(--panel); color: #fff; }
.mgr-nav a.active { background: var(--panel-2); color: #fff; box-shadow: inset 3px 0 0 var(--mavi); }
.mgr-nav a svg { color: var(--muted); }
.mgr-nav a.active svg { color: var(--mavi); }
.mgr-nav .badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bordo-3); color: #fff; font: 700 11.5px/20px var(--display); text-align: center; }
.mgr-nav .badge.live { background: var(--live); }
.mgr-nav h6 { margin: 12px 12px 4px; font: 700 10.5px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.mgr-next { margin: auto 10px 12px; padding: 14px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); }
.mgr-next .vs { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0; }
.mgr-next .vs b { font: 800 22px/1 var(--display); color: var(--muted); }
.mgr-main { min-width: 0; padding: 22px 28px 60px; }
.mgr-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.mgr-top h1 { font-size: clamp(28px, 3vw, 40px); font-style: italic; }
.mgr-top .spacer { flex: 1; }
.chip { display: inline-flex; flex-direction: column; gap: 3px; padding: 7px 12px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); }
.chip span { font: 600 10.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chip b { font: 700 16px/1 var(--display); font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) {
  .mgr { grid-template-columns: 1fr; }
  .mgr-side { position: static; height: auto; }
  .mgr-nav { flex-direction: row; overflow-x: auto; }
  .mgr-nav h6, .mgr-next { display: none; }
  .mgr-nav a { white-space: nowrap; }
  .mgr-main { padding: 16px; }
}

/* ---- kartlar */
.dash { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
@media (max-width: 1200px) { .span-4, .span-5 { grid-column: span 6; } .span-7, .span-8 { grid-column: span 12; } }
@media (max-width: 760px) { .dash > * { grid-column: span 12 !important; } }
.match-card { position: relative; overflow: hidden; padding: 22px; }
.match-card .teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: 14px 0; }
.match-card .team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.match-card .team b { font: 800 19px/1.05 var(--display); text-transform: uppercase; }
.match-card .mid { text-align: center; }
.match-card .mid b { display: block; font: 900 42px/1 var(--display); font-style: italic; }
.meter { position: relative; height: 10px; border-radius: 6px; background: var(--ink-2); overflow: hidden; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, var(--bad), var(--warn) 45%, var(--ok)); }
.form-dots { display: inline-flex; gap: 4px; }
.form-dots i { width: 20px; height: 20px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font: 700 11px/1 var(--display); font-style: normal; color: #fff; }
.form-dots .G { background: var(--ok); color: #03140a; } .form-dots .B { background: #677189; } .form-dots .M { background: var(--bad); }

/* ---- oyuncu tablosu */
.ovr { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 4px; font: 800 14px/1 var(--display); font-variant-numeric: tabular-nums; background: var(--panel-3); }
.ovr.t1 { background: #e8b64c; color: #1d1404; } .ovr.t2 { background: #34c47c; color: #03140a; } .ovr.t3 { background: #5fb6e8; color: #06131c; } .ovr.t4 { background: #3a4357; } .ovr.t5 { background: #2a2f3c; color: var(--muted); }
.pos { display: inline-block; min-width: 38px; padding: 3px 6px; border-radius: 3px; text-align: center; font: 700 11.5px/1 var(--display); letter-spacing: .06em; }
.pos.GK { background: #e8b64c; color: #1d1404; } .pos.DEF { background: #2d6fb3; color: #fff; } .pos.MID { background: #2f9e64; color: #fff; } .pos.ATT { background: #b8323e; color: #fff; }
.bar { position: relative; width: 64px; height: 6px; border-radius: 4px; background: var(--ink-2); overflow: hidden; display: inline-block; vertical-align: middle; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--ok); }
.bar.mid i { background: var(--warn); } .bar.low i { background: var(--bad); }
.rt { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 22px; border-radius: 3px; font: 700 12.5px/1 var(--display); font-variant-numeric: tabular-nums; background: var(--panel-3); }
.rt.hi { background: #2f9e64; color: #fff; } .rt.mid { background: #5d6a82; } .rt.lo { background: #a83a44; color: #fff; } .rt.top { background: #e8b64c; color: #1d1404; }
.pname { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pname b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pname .ic { color: var(--bad); display: inline-flex; } .pname .ic.y { color: var(--warn); } .pname .ic.l { color: var(--mavi); }
.pname .ic svg { width: 15px; height: 15px; }
.table tr.click { cursor: pointer; }
.formbars { display: inline-flex; gap: 2px; align-items: flex-end; height: 18px; }
.formbars i { width: 5px; border-radius: 1px; background: var(--muted); }
.flag { font: 600 11px/1 var(--mono); color: var(--muted); }

/* ---- oyuncu profili */
.pl-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px; margin: -20px -20px 16px; background: linear-gradient(120deg, var(--c1, var(--bordo-ink)), var(--panel) 65%); border-bottom: 1px solid var(--line); }
.pl-no { font: 900 64px/1 var(--display); font-style: italic; color: rgba(255, 255, 255, .9); min-width: 70px; text-align: center; }
.pl-head h2 { font-size: 34px; font-style: italic; }
.pl-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; color: var(--text-2); font-size: 14px; }
.pl-ovr { text-align: center; }
.pl-ovr b { display: block; font: 900 52px/1 var(--display); }
.pl-ovr span { font: 600 11px/1 var(--display); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.attr-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.attr-cols h5 { margin: 0 0 8px; font: 700 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.attr { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .04); font-size: 14px; }
.attr b { font: 700 15px/1 var(--display); font-variant-numeric: tabular-nums; min-width: 22px; text-align: right; }
.a1 { color: #f6d58a; } .a2 { color: #4fd894; } .a3 { color: #8dcdf1; } .a4 { color: var(--text-2); } .a5 { color: var(--faint); }
@media (max-width: 700px) { .attr-cols { grid-template-columns: 1fr; } .pl-head { grid-template-columns: 1fr; } }
.role-pitch { position: relative; aspect-ratio: 68 / 100; max-width: 230px; background: #12291c; border: 2px solid rgba(255, 255, 255, .15); border-radius: 6px; }
.role-pitch span { position: absolute; transform: translate(-50%, -50%); min-width: 34px; padding: 3px 4px; border-radius: 3px; font: 700 11px/1 var(--display); text-align: center; background: rgba(0, 0, 0, .45); color: var(--muted); }
.role-pitch span.g1 { background: var(--ok); color: #03140a; } .role-pitch span.g2 { background: #2f8f62; color: #fff; } .role-pitch span.g3 { background: #5b6478; color: #fff; }

/* ---- taktik */
.tac { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1100px) { .tac { grid-template-columns: 1fr; } }
.pitch { position: relative; aspect-ratio: 68 / 92; width: 100%; max-width: 560px; margin: 0 auto; border-radius: 10px; overflow: hidden; background: repeating-linear-gradient(0deg, #143222 0 9%, #173827 9% 18%); border: 1px solid #22513a; box-shadow: inset 0 0 80px rgba(0, 0, 0, .45); }
.pitch .lines { position: absolute; inset: 0; pointer-events: none; }
.slot { position: absolute; transform: translate(-50%, -50%); width: 86px; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: grab; user-select: none; }
.slot .shirt { position: relative; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 800 16px/1 var(--display); color: #fff; background: var(--c1, var(--bordo)); box-shadow: 0 0 0 3px var(--ring, rgba(255, 255, 255, .25)), 0 6px 14px rgba(0, 0, 0, .45); }
.slot .shirt.gk { background: #e8b64c; color: #1d1404; }
.slot .nm { max-width: 92px; padding: 2px 6px; border-radius: 3px; background: rgba(4, 6, 10, .78); font: 600 12px/1.15 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot .role { font: 700 9.5px/1 var(--display); letter-spacing: .1em; color: rgba(255, 255, 255, .7); }
.slot .cbar { width: 40px; height: 3px; border-radius: 2px; background: rgba(0, 0, 0, .5); overflow: hidden; }
.slot .cbar i { display: block; height: 100%; background: var(--ok); }
.slot.empty .shirt { background: rgba(0, 0, 0, .35); border: 2px dashed rgba(255, 255, 255, .4); box-shadow: none; }
.slot.sel .shirt { box-shadow: 0 0 0 3px var(--gold), 0 0 22px rgba(232, 182, 76, .6); }
.slot.over .shirt, .drop.over { outline: 3px solid var(--mavi); outline-offset: 2px; }
.slot .warn { position: absolute; top: -4px; right: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--bad); color: #fff; font: 800 11px/16px var(--display); text-align: center; }
.tac-list .row-p { display: grid; grid-template-columns: 38px 40px minmax(0, 1fr) 40px 70px; gap: 8px; align-items: center; padding: 6px 10px; border-bottom: 1px solid rgba(255, 255, 255, .04); cursor: grab; }
.tac-list .row-p:hover { background: rgba(255, 255, 255, .03); }
.tac-list .row-p.sel { background: rgba(232, 182, 76, .1); }
.tac-list .row-p.na { opacity: .5; }
.tac-list .zone-h { padding: 8px 10px; font: 700 11.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: var(--ink-2); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.drop { min-height: 40px; }
.form-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.form-pick button { height: 32px; padding: 0 10px; border-radius: 4px; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--text-2); font: 700 13.5px/1 var(--display); letter-spacing: .04em; }
.form-pick button.active { background: var(--mavi); border-color: var(--mavi); color: #06131c; }
.instr { display: grid; grid-template-columns: 140px 1fr; gap: 10px 14px; align-items: center; }
.instr .seg { width: 100%; }
.instr .seg button { flex: 1; }

/* ---- kulüp seçimi */
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.club-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.club-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--c1) 50%, var(--c2) 50%); }
.club-card:hover { border-color: var(--line-2); }
.club-card .hd { display: flex; align-items: center; gap: 12px; }
.club-card .hd b { font: 800 21px/1 var(--display); text-transform: uppercase; }
.club-card .kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.club-card .kv div { background: var(--ink-2); border-radius: 6px; padding: 8px; }
.club-card .kv b { display: block; font: 800 18px/1 var(--display); }
.club-card .kv span { font: 600 10px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.club-card .stars { font-size: 13px; color: var(--text-2); }
.club-card.taken { opacity: .72; }
.club-card.fav { border-color: var(--bordo-2); box-shadow: 0 0 0 1px var(--bordo-2), 0 14px 40px rgba(125, 29, 63, .25); }

/* ---- maç merkezi */
.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius-lg); background: linear-gradient(90deg, var(--h1, var(--bordo-ink)) 0%, var(--panel) 35%, var(--panel) 65%, var(--a1, var(--mavi-ink)) 100%); border: 1px solid var(--line); }
.scoreboard .t { display: flex; align-items: center; gap: 14px; }
.scoreboard .t.away { justify-content: flex-end; text-align: right; }
.scoreboard .t b { font: 800 clamp(18px, 2.2vw, 28px)/1 var(--display); text-transform: uppercase; }
.scoreboard .t span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.scoreboard .sc { text-align: center; }
.scoreboard .sc b { font: 900 clamp(44px, 5vw, 64px)/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.scoreboard .sc .min { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px; border-radius: 4px; background: var(--live); font: 700 13px/1 var(--display); letter-spacing: .08em; }
.scoreboard .sc .min.ft { background: var(--panel-3); }
.mc-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 1100px) { .mc-grid { grid-template-columns: 1fr; } }
.pitch2d { position: relative; width: 100%; aspect-ratio: 105 / 64; border-radius: 10px; overflow: hidden; background: #133021; border: 1px solid #22513a; }
.pitch2d canvas { width: 100%; height: 100%; display: block; }
.goal-flash { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 900 clamp(60px, 9vw, 120px)/1 var(--display); font-style: italic; color: #fff; text-shadow: 0 0 40px rgba(0, 0, 0, .6); background: radial-gradient(circle, rgba(195, 53, 102, .55), transparent 70%); animation: goalFlash 2.2s ease-out forwards; pointer-events: none; }
@keyframes goalFlash { 0% { opacity: 0; transform: scale(1.4); } 15% { opacity: 1; transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }
.comm { max-height: 420px; overflow-y: auto; display: flex; flex-direction: column; }
.comm .ev { display: grid; grid-template-columns: 40px 22px 1fr; gap: 8px; padding: 9px 14px; border-bottom: 1px solid rgba(255, 255, 255, .04); font-size: 14px; color: var(--text-2); animation: lineIn .3s; }
.comm .ev .m { font: 700 13px/1.4 var(--display); color: var(--muted); }
.comm .ev.goal { background: linear-gradient(90deg, rgba(52, 196, 124, .14), transparent); color: #fff; font-weight: 600; }
.comm .ev.red, .comm .ev.second_yellow { background: linear-gradient(90deg, rgba(236, 75, 85, .14), transparent); }
.comm .ev.key { color: #fff; }
.comm .ev .ic svg { width: 16px; height: 16px; }
.stat-row { display: grid; grid-template-columns: 52px 1fr 52px; gap: 10px; align-items: center; padding: 6px 0; }
.stat-row b { font: 700 15px/1 var(--display); font-variant-numeric: tabular-nums; }
.stat-row b:last-child { text-align: right; }
.stat-row .lbl { text-align: center; font: 600 11.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.stat-row .bars { display: flex; height: 6px; gap: 3px; }
.stat-row .bars i { display: block; height: 100%; border-radius: 3px; }
.lineup { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lineup .pl { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13.5px; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.lineup .pl .n { width: 22px; text-align: right; font: 700 12px/1 var(--display); color: var(--muted); }
.lineup .pl .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lineup .pl .ev-i { display: inline-flex; gap: 2px; color: var(--ok); }
.lineup .pl .ev-i svg { width: 13px; height: 13px; }
.live-scores .ls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, .04); font-size: 13.5px; cursor: pointer; }
.live-scores .ls:hover { background: rgba(255, 255, 255, .03); }
.live-scores .ls .s { font: 800 16px/1 var(--display); text-align: center; min-width: 54px; }
.live-scores .ls .s small { display: block; font: 600 10.5px/1 var(--display); color: var(--live); margin-top: 3px; letter-spacing: .06em; }
.live-scores .ls .a { text-align: right; }
.live-scores .ls.mine { background: rgba(95, 182, 232, .07); }
.ctrl-box { display: flex; flex-direction: column; gap: 12px; }

/* ---- puan durumu bölgeleri */
.table tr.z-cl td:first-child { box-shadow: inset 4px 0 0 #3b82f6; }
.table tr.z-el td:first-child { box-shadow: inset 4px 0 0 #f59e0b; }
.table tr.z-co td:first-child { box-shadow: inset 4px 0 0 #22c55e; }
.table tr.z-rel td:first-child { box-shadow: inset 4px 0 0 var(--bad); }
.table tr.mine td { background: rgba(95, 182, 232, .08); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); padding: 10px 14px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* ---- antrenman */
.train-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.train-card { text-align: left; padding: 16px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.train-card:hover { border-color: var(--line-2); }
.train-card.active { border-color: var(--mavi); box-shadow: 0 0 0 1px var(--mavi); background: linear-gradient(135deg, rgba(95, 182, 232, .12), var(--panel)); }
.train-card b { font: 800 19px/1 var(--display); text-transform: uppercase; }
.train-card span { font-size: 13px; color: var(--muted); }

/* ---- gelen kutusu */
.inbox { display: grid; grid-template-columns: 360px minmax(0, 1fr); min-height: 560px; }
.inbox-list { border-right: 1px solid var(--line); overflow-y: auto; max-height: 72vh; }
.inbox-item { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.inbox-item:hover { background: rgba(255, 255, 255, .025); }
.inbox-item.unread b { color: #fff; }
.inbox-item.unread::before { content: ''; float: left; width: 7px; height: 7px; border-radius: 50%; background: var(--mavi); margin: 6px 8px 0 0; }
.inbox-item b { font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.inbox-item span { font-size: 12px; color: var(--faint); }
.inbox-item.sel { background: var(--panel-2); box-shadow: inset 3px 0 0 var(--mavi); }
.inbox-view { padding: 24px; white-space: pre-line; }
@media (max-width: 860px) { .inbox { grid-template-columns: 1fr; } .inbox-list { max-height: 300px; } }

/* ---- grafikler */
.chart { width: 100%; height: auto; }
.chart text { fill: var(--muted); font: 600 11px var(--display); }

/* ---- karşılama */
.mgr-landing .hero { position: relative; padding: 70px 0 50px; overflow: hidden; border-bottom: 1px solid var(--line); }
.mgr-landing .hero .art { position: absolute; inset: 0; opacity: .5; }
.mgr-landing .hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 25%, rgba(var(--ink-rgb), .6) 60%, rgba(var(--ink-rgb), .2)); }
.mgr-landing .hero .wrap { position: relative; z-index: 1; }
.mgr-landing h1 { font-size: clamp(46px, 7vw, 96px); line-height: .9; font-style: italic; max-width: 760px; }
.mgr-landing h1 em { color: var(--mavi); font-style: italic; }
.mgr-landing .hero p { font-size: 18px; max-width: 620px; margin-top: 18px; }
.feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feat > div { padding: 22px; background: var(--panel); border-right: 1px solid var(--line); }
.feat > div:last-child { border-right: 0; }
.feat b { display: block; font: 800 20px/1.05 var(--display); text-transform: uppercase; margin: 10px 0 6px; }
.feat p { font-size: 14px; margin: 0; }
.feat svg { color: var(--mavi); width: 26px; height: 26px; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr 1fr; } .feat > div:nth-child(2) { border-right: 0; } }

/* =====================================================================
   GÖRSEL YÜKSELTME — kulüp teması, formalar, oyuncu kartları, maç günü afişi
   ===================================================================== */
.mgr { --club1: var(--bordo); --club2: var(--mavi); }
.view-in { animation: viewIn .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } }
.jersey { display: block; flex: none; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .45)); }
.pname .jersey { filter: none; margin-right: 2px; }
.mgr-nav a.active { box-shadow: inset 3px 0 0 var(--club2); }
.mgr-nav a.active svg { color: var(--club2); }

/* ---- kulüp başlık şeridi */
.club-hero { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px 24px; margin: -22px -28px 18px; overflow: hidden; border-bottom: 1px solid var(--line);
  background: linear-gradient(100deg, color-mix(in srgb, var(--c1) 55%, #000) 0%, color-mix(in srgb, var(--c1) 22%, var(--ink)) 45%, var(--ink-2) 75%); }
.club-hero::before { content: ''; position: absolute; right: -40px; top: -60px; width: 420px; height: 240px; transform: skewX(-24deg); background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--c2) 70%, transparent) 0 14px, transparent 14px 34px); opacity: .14; }
.club-hero > * { position: relative; }
.club-hero h1 { font-size: clamp(30px, 3.4vw, 46px); font-style: italic; margin: 6px 0 4px; }
.club-hero .spacer { flex: 1; }
@media (max-width: 1000px) { .club-hero { margin: -16px -16px 16px; padding: 18px 16px; flex-wrap: wrap; } }

/* ---- oyuncu kartları */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; text-align: left; color: var(--text); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c1) 34%, var(--panel)) 0%, var(--panel) 46%, var(--ink-2) 100%); transition: transform .18s, border-color .18s, box-shadow .18s; }
.pcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .07) 50%, transparent 65%); transform: translateX(-100%); transition: transform .6s; pointer-events: none; }
.pcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c2) 60%, var(--line)); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.pcard:hover::after { transform: translateX(100%); }
.pc-top { display: flex; align-items: flex-start; justify-content: space-between; }
.pc-ovr { display: flex; flex-direction: column; align-items: flex-start; }
.pc-ovr b { font: 900 40px/0.9 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pc-ovr small { font: 700 12px/1 var(--display); letter-spacing: .14em; color: var(--muted); margin-top: 4px; }
.pc-flags { display: flex; flex-direction: column; gap: 4px; color: var(--bad); }
.pc-flags svg { width: 16px; height: 16px; }
.pc-name { font: 800 19px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; margin-top: 4px; }
.pc-meta { font-size: 12.5px; color: var(--muted); }
.pc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .07); }
.pc-stats span { display: flex; flex-direction: column; align-items: center; font: 600 10px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.pc-stats b { font: 800 17px/1.1 var(--display); color: var(--text); margin-bottom: 2px; }
.pc-bars { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.pc-bars > span:first-child { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.pc-bars svg { width: 13px; height: 13px; }
.pc-val { font: 700 13px/1 var(--display); color: var(--gold-2); }

/* ---- taktik tahtasında formalar */
.slot .kit { position: relative; display: flex; justify-content: center; transition: transform .15s; }
.slot .kit .jersey { filter: drop-shadow(0 0 5px var(--ring, transparent)) drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); }
.slot:hover .kit { transform: translateY(-2px) scale(1.04); }
.slot.sel .kit .jersey { filter: drop-shadow(0 0 8px var(--gold)) drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); }
.pitch { background:
  radial-gradient(120% 70% at 50% 50%, rgba(255, 255, 255, .05), transparent 60%),
  repeating-linear-gradient(0deg, #15402a 0 8.33%, #184a31 8.33% 16.66%); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .04), inset 0 0 120px rgba(0, 0, 0, .55), 0 20px 50px rgba(0, 0, 0, .4); }

/* ---- oyuncu profili forması */
.pl-kit { display: flex; align-items: center; justify-content: center; min-width: 110px; }

/* ---- maç günü afişi (genel bakış) */
.matchday { position: relative; overflow: hidden; padding: 26px 26px 22px; border-radius: 14px; border: 1px solid var(--line-2);
  background: radial-gradient(90% 140% at 0% 0%, color-mix(in srgb, var(--h1) 55%, transparent), transparent 60%), radial-gradient(90% 140% at 100% 100%, color-mix(in srgb, var(--a1) 50%, transparent), transparent 60%), linear-gradient(180deg, #10141c, #0b0e14); }
.matchday .md-stadium { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; width: 100%; pointer-events: none; opacity: .9; }
.matchday .md-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.matchday .md-teams { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin: 18px 0 16px; }
.matchday .md-team { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.matchday .md-team b { font: 900 clamp(20px, 2.2vw, 30px)/1 var(--display); text-transform: uppercase; font-style: italic; }
.matchday .md-team span { font-size: 12.5px; color: var(--muted); }
.matchday .md-vs { text-align: center; }
.matchday .md-vs .cd { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.matchday .md-vs .cd div { min-width: 56px; padding: 8px 6px 6px; border-radius: 6px; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.matchday .md-vs .cd b { display: block; font: 800 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.matchday .md-vs .cd small { font: 600 9.5px/1 var(--display); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.matchday .md-vs .vs { font: 900 46px/1 var(--display); font-style: italic; color: rgba(255, 255, 255, .85); letter-spacing: .02em; }
.matchday .md-actions { position: relative; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.matchday .crest { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)); }

/* ---- maç merkezi: zaman çizelgesi ve baskı grafiği */
.timeline { position: relative; height: 40px; margin: 12px 0 0; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); }
.timeline .tl-bar { position: absolute; left: 14px; right: 14px; top: 19px; height: 2px; background: var(--line-2); }
.timeline .tl-prog { position: absolute; left: 14px; top: 19px; height: 2px; background: var(--mavi); transition: width .6s; }
.timeline .tl-ht { position: absolute; top: 11px; width: 1px; height: 18px; background: var(--muted); opacity: .5; }
.timeline .tl-ev { position: absolute; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; }
.timeline .tl-ev.h { top: 1px; } .timeline .tl-ev.a { bottom: 1px; }
.timeline .tl-ev svg { width: 11px; height: 11px; }
.timeline .tl-ev.goal { background: #fff; color: #0b0d12; }
.timeline .tl-ev.yellow { background: var(--warn); color: #1d1404; }
.timeline .tl-ev.red, .timeline .tl-ev.second_yellow { background: var(--bad); color: #fff; }
.momentum { width: 100%; height: 64px; display: block; }

/* taktik talimatları: seçenekler her genişlikte sığar */
.instr { grid-template-columns: 118px minmax(0, 1fr); }
.instr .seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
.instr .seg button { padding: 0 4px; min-width: 0; font-size: 12px; letter-spacing: .03em; white-space: normal; line-height: 1.05; height: 34px; }
@media (max-width: 560px) { .instr { grid-template-columns: 1fr; } }
