/* ============================================================
   CLUB PRESIDENT — style guide'dan (görsel 3) birebir:
   Renkler:  #0B1120 #1A2238 #7F1D1D #FACC15 #22C55E #F97316
             #3B82F6 #14B8A6 #94A3B8 #FBFAFC
   Fontlar:  Bebas Neue / Montserrat SemiBold / Inter / Roboto Mono
   ============================================================ */

:root {
  --bg: #0B1120;
  --panel: #1A2238;
  --crimson: #7F1D1D;
  --gold: #FACC15;
  --green: #22C55E;
  --orange: #F97316;
  --blue: #3B82F6;
  --teal: #14B8A6;
  --gray: #94A3B8;
  --white: #FBFAFC;
  --red: #EF4444;
  --glass: rgba(26, 34, 56, 0.62);
  --glass-border: rgba(250, 204, 21, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, .bebas { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.06em; font-weight: 400; }
.mono { font-family: 'Roboto Mono', monospace; }
.gold { color: var(--gold); }
.label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gray);
  text-transform: uppercase;
}
.big { font-size: 1.6rem; }

/* ---------- screens ---------- */
.screen { display: none; min-height: 100vh; position: relative; }
.screen.active { display: block; }

.title-bg, .game-bg {
  position: fixed; inset: 0;
  background-size: cover; background-position: center;
  z-index: -2;
}
.title-overlay, .game-overlay {
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,17,32,0.30) 0%, rgba(11,17,32,0.62) 70%, #0B1120 100%);
}
.title-overlay.heavy { background: linear-gradient(180deg, rgba(11,17,32,0.82), rgba(11,17,32,0.94)); }
.game-overlay { background: linear-gradient(180deg, rgba(11,17,32,0.86), rgba(11,17,32,0.95)); }

/* ---------- glass panels ---------- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}
.glass-solid {
  background: rgba(17, 24, 44, 0.97);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

/* ---------- buttons ---------- */
.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 12px 26px;
  border: none; border-radius: 8px;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: linear-gradient(135deg, #FACC15, #D4A006);
  color: #1a1502;
  box-shadow: 0 4px 24px rgba(250, 204, 21, 0.35);
}
.btn-big { font-size: 1rem; padding: 16px 48px; }
.btn-ghost {
  background: rgba(148,163,184,0.12);
  color: var(--white);
  border: 1px solid rgba(148,163,184,0.3);
}
.btn-danger { background: linear-gradient(135deg, #EF4444, #991B1B); color: #fff; }
.btn-green { background: linear-gradient(135deg, #22C55E, #15803D); color: #04150a; }

/* ============ TITLE SCREEN ============ */
.title-content {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 32px;
  animation: fadeUp 0.9s ease both;
}
.crest { font-size: 3.2rem; filter: drop-shadow(0 0 24px rgba(250,204,21,0.6)); }
.crest-big {
  height: 150px; width: auto;
  filter: drop-shadow(0 0 30px rgba(250,204,21,0.45));
  border-radius: 12px;
  animation: fadeUp 0.9s ease both;
  mix-blend-mode: lighten; /* siyah zemin alttaki koyu renge karışır */
}
.crest-img {
  height: 34px; width: auto; border-radius: 6px; vertical-align: middle;
  mix-blend-mode: lighten;
}
.crest-img.sm { height: 22px; border-radius: 4px; margin-right: 2px; }
.logo-big {
  height: clamp(180px, 26vw, 250px); width: auto;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.65)) drop-shadow(0 0 34px rgba(250,204,21,0.25));
  animation: fadeUp 0.9s ease both;
  margin-bottom: 4px;
}
.summary-hero {
  width: 100%; max-width: 640px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 50px rgba(250,204,21,0.15);
  animation: trophyPop 0.9s ease both;
}
.game-logo {
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  line-height: 1;
  background: linear-gradient(180deg, #FBFAFC 30%, #FACC15);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.tagline {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  letter-spacing: 0.35em; font-size: 0.72rem; color: var(--gold);
  margin-top: 8px;
}
.title-club {
  margin-top: 42px;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 30px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 999px; backdrop-filter: blur(10px);
}
.club-badge { font-size: 1.6rem; }
.club-name-big { font-family: 'Bebas Neue'; font-size: 1.7rem; letter-spacing: 0.12em; }
.title-desc { margin: 26px 0 34px; color: var(--gray); line-height: 1.7; font-size: 0.95rem; }

/* ============ BUDGET SCREEN ============ */
.budget-content {
  max-width: 1080px; margin: 0 auto; padding: 56px 24px 80px;
  animation: fadeUp 0.6s ease both;
}
.screen-title { font-size: 3rem; color: var(--white); }
.screen-title::after {
  content: ""; display: block; width: 64px; height: 3px;
  background: var(--gold); margin-top: 8px; border-radius: 2px;
}
.screen-sub { color: var(--gray); margin: 14px 0 30px; }

.dept-alloc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.alloc-card {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--panel);
  transition: transform 0.15s, border-color 0.15s;
}
.alloc-card:hover { transform: translateY(-3px); border-color: rgba(250,204,21,0.45); }
.alloc-img { height: 120px; background-size: cover; background-position: center; position: relative; }
.alloc-img::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 30%, rgba(11,17,32,0.9)); }
.alloc-body { padding: 14px 16px 18px; }
.alloc-name { font-family: 'Bebas Neue'; font-size: 1.3rem; letter-spacing: 0.08em; }
.alloc-amount { font-family: 'Roboto Mono'; font-size: 1.5rem; color: var(--gold); margin: 6px 0 10px; }
.alloc-controls { display: flex; gap: 8px; }
.alloc-controls button {
  flex: 1; padding: 8px 0; border-radius: 6px; border: 1px solid rgba(148,163,184,0.3);
  background: rgba(148,163,184,0.1); color: var(--white);
  font-family: 'Roboto Mono'; font-size: 1rem; cursor: pointer;
}
.alloc-controls button:hover { background: rgba(250,204,21,0.18); border-color: var(--gold); }
.alloc-hint { font-size: 0.7rem; color: var(--gray); margin-top: 10px; line-height: 1.5; }

.alloc-footer {
  margin-top: 26px; padding: 20px 26px;
  display: flex; align-items: center; justify-content: space-between;
}
.alloc-footer .label { display: block; margin-bottom: 4px; }

/* ============ HUD ============ */
.hud {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  flex-wrap: wrap; gap: 10px;
}
.hud-left { display: flex; align-items: center; gap: 16px; }
.hud-logo { font-family: 'Bebas Neue'; font-size: 1.25rem; letter-spacing: 0.1em; color: var(--gold); display: inline-flex; align-items: center; gap: 9px; }
.hud-logo img { height: 38px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.55)); }
.hud-week { padding: 6px 16px; font-size: 0.8rem; border-radius: 8px; }
.hud-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.hud-stat {
  padding: 7px 16px; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; min-width: 96px;
}
.hud-stat .mono, .hud-stat span:last-child { font-size: 0.95rem; font-weight: 500; }
.hud-stat .label { font-size: 0.55rem; }

.stat-flash-up { animation: flashGreen 0.9s ease; }
.stat-flash-down { animation: flashRed 0.9s ease; }
@keyframes flashGreen { 30% { color: var(--green); transform: scale(1.15);} }
@keyframes flashRed { 30% { color: var(--red); transform: scale(1.15);} }

/* ============ DASHBOARD LAYOUT ============ */
.dashboard {
  display: grid;
  grid-template-columns: 290px 1fr 300px;
  gap: 18px;
  padding: 20px 22px 60px;
  max-width: 1500px; margin: 0 auto;
  align-items: start;
}
@media (max-width: 1100px) { .dashboard { grid-template-columns: 1fr; } }

.panel { padding: 18px; }
.panel-title {
  font-size: 1.15rem; letter-spacing: 0.1em; margin-bottom: 14px;
  color: var(--white);
  border-bottom: 1px solid rgba(148,163,184,0.15);
  padding-bottom: 10px;
}
.panel-title .label { font-size: 0.58rem; }

/* --- departments --- */
.dept-item { margin-bottom: 16px; }
.dept-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.dept-name { font-family: 'Montserrat'; font-weight: 600; font-size: 0.8rem; }
.dept-emoji { margin-right: 6px; }
.dept-strength { font-family: 'Roboto Mono'; font-size: 0.85rem; color: var(--gold); }
.bar { height: 6px; background: rgba(148,163,184,0.15); border-radius: 4px; overflow: hidden; margin-bottom: 4px; }
.bar-fill { height: 100%; border-radius: 4px; transition: width 0.6s ease; }
.bar-label { display: flex; justify-content: space-between; font-size: 0.6rem; color: var(--gray); font-family: 'Roboto Mono'; }

.dept-budget-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px;
}
.dept-budget { font-size: 0.62rem; color: var(--gold); }
.dept-support {
  font-family: 'Montserrat'; font-weight: 700; font-size: 0.56rem; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 6px; cursor: pointer;
  background: rgba(250,204,21,0.1); color: var(--gold);
  border: 1px solid rgba(250,204,21,0.35);
  transition: background 0.15s;
}
.dept-support:hover { background: rgba(250,204,21,0.25); }
.dept-support:disabled { opacity: 0.3; cursor: not-allowed; }

.follow-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-family: 'Montserrat'; font-weight: 700; font-size: 0.58rem; letter-spacing: 0.1em;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(250,204,21,0.9); color: #1a1502;
  animation: fadeUp 0.5s ease both;
}
.derby-row { border: 1px solid rgba(239,68,68,0.4); }

/* --- decision cards --- */
#card-area { display: flex; flex-direction: column; gap: 18px; }
.decision-counter { text-align: center; color: var(--gray); font-size: 0.75rem; letter-spacing: 0.15em; font-family: 'Montserrat'; font-weight: 600; }

.decision-card {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(17, 24, 44, 0.9);
  backdrop-filter: blur(14px);
  animation: cardIn 0.5s ease both;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.card-hero {
  height: 190px; background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end;
}
.card-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,17,32,0.15), rgba(17,24,44,0.96)); }
.card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: 'Montserrat'; font-weight: 700; font-size: 0.62rem; letter-spacing: 0.14em;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(11,17,32,0.75); backdrop-filter: blur(8px);
  border: 1px solid currentColor;
}
.card-title {
  position: relative; z-index: 2;
  font-family: 'Bebas Neue'; font-size: 2rem; letter-spacing: 0.06em;
  padding: 0 20px 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.card-body { padding: 16px 20px 20px; }
.card-desc { color: #cdd5e4; font-size: 0.9rem; line-height: 1.65; margin-bottom: 16px; }
.card-choices { display: flex; flex-direction: column; gap: 10px; }
.choice-btn {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  padding: 13px 16px; border-radius: 10px;
  background: rgba(148,163,184,0.07);
  border: 1px solid rgba(148,163,184,0.2);
  color: var(--white); cursor: pointer;
  font-family: 'Inter'; font-size: 0.85rem;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
.choice-btn:hover { border-color: var(--gold); background: rgba(250,204,21,0.08); transform: translateX(4px); }
.choice-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.choice-label { font-weight: 600; }
.choice-effect { font-family: 'Roboto Mono'; font-size: 0.7rem; color: var(--gray); white-space: nowrap; }

.play-week-wrap { text-align: center; padding: 30px 0; animation: fadeUp 0.4s ease both; }
.play-week-wrap p { color: var(--gray); margin-bottom: 18px; font-size: 0.9rem; }

/* --- league table --- */
.league-row {
  display: grid; grid-template-columns: 22px 1fr auto;
  align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; margin-bottom: 6px;
  background: rgba(148,163,184,0.05);
  font-size: 0.85rem;
}
.league-row.me { background: rgba(250,204,21,0.1); border: 1px solid rgba(250,204,21,0.35); }
.league-pos { font-family: 'Bebas Neue'; font-size: 1.1rem; color: var(--gray); }
.league-row.me .league-pos { color: var(--gold); }
.league-club { font-family: 'Montserrat'; font-weight: 600; font-size: 0.78rem; display: flex; align-items: center; gap: 6px; }
.league-pts { font-family: 'Roboto Mono'; font-weight: 700; }
.league-form { font-size: 0.6rem; letter-spacing: 2px; margin-top: 2px; }

/* --- news --- */
.news-panel { margin-top: 18px; max-height: 340px; overflow-y: auto; }
.news-item {
  font-size: 0.78rem; color: #b9c2d4; line-height: 1.5;
  padding: 8px 0; border-bottom: 1px solid rgba(148,163,184,0.08);
}
.news-item b { color: var(--white); }
.news-week { font-family: 'Roboto Mono'; font-size: 0.62rem; color: var(--gold); margin-right: 6px; }

/* ============ RESULTS MODAL ============ */
.modal-wrap {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  background: rgba(5, 8, 16, 0.8); backdrop-filter: blur(6px);
  padding: 20px;
}
.modal-wrap.open { display: flex; }
.modal { width: 100%; max-width: 620px; overflow: hidden; animation: cardIn 0.4s ease both; max-height: 92vh; display:flex; flex-direction:column; }
.modal-hero {
  height: 130px; background-size: cover; background-position: center;
  display: flex; align-items: flex-end; position: relative;
}
.modal-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,17,32,0.3), rgba(17,24,44,0.97)); }
.modal-title { position: relative; z-index: 2; font-size: 2rem; padding: 0 24px 12px; }
.modal-body { padding: 20px 24px; overflow-y: auto; }
.modal-footer { padding: 0 24px 22px; text-align: right; }

.match-row {
  display: grid; grid-template-columns: 30px 1fr auto;
  gap: 12px; align-items: center;
  padding: 11px 14px; border-radius: 10px; margin-bottom: 8px;
  background: rgba(148,163,184,0.06);
}
.match-emoji { font-size: 1.2rem; }
.match-info { font-size: 0.82rem; }
.match-info .label { font-size: 0.56rem; }
.match-score { font-family: 'Roboto Mono'; font-weight: 700; font-size: 1rem; }
.res-W { color: var(--green); } .res-B { color: var(--gray); } .res-M { color: var(--red); }

.week-effects { margin-top: 14px; font-size: 0.8rem; color: var(--gray); line-height: 1.7; }
.week-effects b { color: var(--white); }

/* ============ SUMMARY ============ */
.summary-content {
  max-width: 760px; margin: 0 auto; padding: 60px 24px;
  text-align: center; animation: fadeUp 0.8s ease both;
}
.trophy { font-size: 5rem; filter: drop-shadow(0 0 40px rgba(250,204,21,0.5)); animation: trophyPop 1s ease both; }
@keyframes trophyPop { 0% { transform: scale(0) rotate(-20deg);} 70% { transform: scale(1.15);} 100% { transform: scale(1);} }
.summary-title { font-size: 3.4rem; margin-top: 10px; }
.summary-rank { color: var(--gold); font-family: 'Montserrat'; font-weight: 700; letter-spacing: 0.2em; font-size: 0.85rem; }
.summary-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; margin: 36px 0;
}
.summary-stat { padding: 18px 12px; }
.summary-stat .label { display: block; margin-bottom: 6px; }
.summary-stat .mono { font-size: 1.4rem; }
.summary-depts { text-align: left; padding: 20px; margin-bottom: 30px; }
.sd-row { display: flex; justify-content: space-between; padding: 8px 4px; border-bottom: 1px solid rgba(148,163,184,0.1); font-size: 0.9rem; }
.sd-row .stars { color: var(--gold); }

/* ---------- animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px);} to { opacity: 1; transform: none;} }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(0.98);} to { opacity: 1; transform: none;} }

/* ============ ONLINE MOD ============ */
.net-box {
  margin-top: 34px; padding: 26px 30px;
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; max-width: 420px; text-align: left;
}
.net-input {
  width: 100%; padding: 12px 14px;
  background: rgba(11,17,32,0.7);
  border: 1px solid rgba(148,163,184,0.3); border-radius: 8px;
  color: var(--white); font-family: 'Inter'; font-size: 0.95rem;
  outline: none;
}
.net-input:focus { border-color: var(--gold); }
.net-input.code {
  font-family: 'Roboto Mono'; letter-spacing: 0.4em; text-transform: uppercase;
  text-align: center; width: 130px;
}
.net-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.net-actions .btn-gold { width: 100%; }
.net-join { display: flex; gap: 10px; }
.net-join .btn { flex: 1; }
.net-status { font-size: 0.78rem; color: var(--gray); min-height: 1.2em; }
.net-back {
  margin-top: 22px; color: var(--gray); font-size: 0.8rem; text-decoration: none;
}
.net-back:hover { color: var(--gold); }
.btn-copy { padding: 6px 14px; font-size: 0.62rem; }

.role-select {
  width: 100%; padding: 10px 12px; margin: 8px 0 4px;
  background: rgba(11,17,32,0.8);
  border: 1px solid rgba(250,204,21,0.3); border-radius: 8px;
  color: var(--white); font-family: 'Montserrat'; font-weight: 600; font-size: 0.8rem;
}
.role-banner {
  padding: 6px 16px; border-radius: 8px;
  font-family: 'Montserrat'; font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.1em; color: var(--gold);
}
.crew-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; border-radius: 8px; margin-bottom: 4px;
  background: rgba(148,163,184,0.05);
  font-size: 0.78rem; font-family: 'Montserrat'; font-weight: 600;
}
.crew-row.me-row { background: rgba(250,204,21,0.1); border: 1px solid rgba(250,204,21,0.3); }

.proposal-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 18px; margin-bottom: 12px;
  animation: cardIn 0.4s ease both;
}
.proposal-row.app { border-color: rgba(34,197,94,0.5); }
.proposal-row.rej { border-color: rgba(239,68,68,0.5); opacity: 0.75; }
.proposal-info { font-size: 0.85rem; line-height: 1.6; }
.proposal-info .label { margin-bottom: 2px; display: block; }
.proposal-choice { color: #cdd5e4; font-size: 0.8rem; }
.proposal-btns { display: flex; gap: 8px; flex-shrink: 0; }
.btn-sm { padding: 8px 14px; font-size: 0.62rem; }
.btn-sm:not(.active) { opacity: 0.45; }
.btn-sm.active { opacity: 1; box-shadow: 0 0 16px rgba(250,204,21,0.2); }

/* ---------------- transfer piyasası ---------------- */
.transfer-tile {
  margin-top: 16px; height: 92px; border-radius: 12px; overflow: hidden;
  position: relative; cursor: pointer;
  background-size: cover; background-position: center;
  border: 1px solid rgba(250,204,21,0.25);
  transition: border-color 0.2s, transform 0.2s;
}
.transfer-tile:hover { border-color: var(--gold); transform: translateY(-1px); }
.tt-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,17,32,0.05), rgba(11,17,32,0.6)); }
.tt-label {
  position: absolute; left: 12px; bottom: 8px; z-index: 2;
  font-family: 'Bebas Neue'; font-size: 1.05rem; letter-spacing: 0.08em;
  text-shadow: 0 2px 8px #000;
}
.tt-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: var(--gold); color: var(--bg);
  font-family: 'Roboto Mono'; font-weight: 700; font-size: 0.68rem;
  padding: 2px 9px; border-radius: 999px;
}
.tt-badge:empty { display: none; }

.t-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.t-tab {
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  background: rgba(26,34,56,0.7); border: 1px solid transparent;
  font-family: 'Montserrat'; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em;
}
.t-tab.active { border-color: var(--gold); color: var(--gold); }

.tp-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; margin-bottom: 8px; border-radius: 10px;
  background: rgba(26,34,56,0.6); border: 1px solid transparent;
  cursor: pointer; font-size: 0.82rem;
}
.tp-row:hover { border-color: rgba(250,204,21,0.4); }
.tp-row.sel { border-color: var(--gold); background: rgba(250,204,21,0.07); }
.tp-row.dim { opacity: 0.45; cursor: default; }
.tp-row.dim:hover { border-color: transparent; }
.tp-name { flex: 1; font-family: 'Montserrat'; font-weight: 600; line-height: 1.4; }
.tp-name .label { display: block; }
.tp-ask { font-family: 'Roboto Mono'; font-weight: 700; color: var(--gold); }
.tp-status { font-size: 0.64rem; letter-spacing: 0.08em; color: var(--gray); white-space: nowrap; }

.neg-box {
  margin-top: 12px; padding: 16px; border-radius: 12px;
  background: rgba(11,17,32,0.55); border: 1px solid rgba(250,204,21,0.25);
}
.neg-head { font-size: 0.9rem; margin-bottom: 10px; line-height: 1.6; }
.neg-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.neg-controls button.step {
  width: 44px; height: 36px; border-radius: 8px; cursor: pointer;
  background: rgba(26,34,56,0.9); border: 1px solid rgba(148,163,184,0.3);
  color: var(--white); font-family: 'Roboto Mono'; font-weight: 700;
}
.neg-controls button.step:hover { border-color: var(--gold); }
.neg-offer {
  min-width: 100px; text-align: center; display: inline-block;
  font-family: 'Roboto Mono'; font-weight: 700; font-size: 1.35rem; color: var(--gold);
}
.neg-note { margin-top: 8px; font-size: 0.8rem; color: var(--gray); min-height: 1.3em; }
.deal-note { font-size: 0.78rem; color: var(--gray); margin-top: 4px; }

/* FIFA tarzı oyuncu kartı */
.neg-flex { display: flex; gap: 16px; align-items: flex-start; }
.neg-flex > .neg-rest { flex: 1; min-width: 0; }
.pcard {
  position: relative; width: 168px; aspect-ratio: 3 / 4; flex-shrink: 0;
  background-size: cover; background-position: center;
  border-radius: 10px; overflow: hidden;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5));
}
.pcard .pc-big {
  position: absolute; top: 16%; left: 0; right: 0;
  text-align: center; font-size: 3rem;
  opacity: 0.85; text-shadow: 0 2px 10px rgba(11,17,32,0.35);
}
.pcard .pc-name {
  position: absolute; top: 61.5%; left: 12%; right: 12%; height: 8%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue'; font-size: 0.98rem; letter-spacing: 0.05em;
  color: var(--gold); text-align: center; line-height: 1;
  white-space: nowrap; overflow: hidden;
}
.pcard .pc-stats {
  position: absolute; top: 73%; left: 12%; right: 12%; height: 12%;
  display: flex; align-items: center; justify-content: space-evenly; gap: 4px;
  font-family: 'Montserrat'; font-weight: 700; font-size: 0.56rem;
  letter-spacing: 0.04em; color: #E8D9A8; text-align: center;
}
.pcard .pc-stats .mono { font-family: 'Roboto Mono'; font-size: 0.8rem; color: var(--gold); }
.pcard .pc-stars {
  position: absolute; bottom: 3.5%; left: 0; right: 0;
  text-align: center; font-size: 0.6rem; color: var(--gold); letter-spacing: 0.1em;
}
/* branşa özel bant hizaları (her çerçevenin bant konumu biraz farklı) */
.pcard.pc-basketbol .pc-name { top: 63%; }
.pcard.pc-basketbol .pc-stats { top: 76.5%; }
.pcard.pc-voleybol .pc-name { top: 66%; }
.pcard.pc-voleybol .pc-stats { top: 78.5%; }
.pcard.pc-yuzme .pc-name { top: 66.5%; }
.pcard.pc-yuzme .pc-stats { top: 79%; }
@media (max-width: 620px) { .neg-flex { flex-direction: column; align-items: center; } }

/* ---------------- bildirim & kişisel panel ---------------- */
.offer-alert {
  margin-bottom: 14px; padding: 13px 18px; border-radius: 12px;
  background: rgba(250,204,21,0.12); border: 1px solid rgba(250,204,21,0.55);
  color: var(--gold); cursor: pointer;
  font-family: 'Montserrat'; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em;
  animation: pulseGold 1.8s ease-in-out infinite;
}
.offer-alert:hover { background: rgba(250,204,21,0.2); }
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 rgba(250,204,21,0); }
  50% { box-shadow: 0 0 20px rgba(250,204,21,0.35); }
}

.dept-item.mine {
  border: 1px solid rgba(250,204,21,0.45); border-radius: 10px;
  padding: 10px; margin-bottom: 10px;
  background: rgba(250,204,21,0.05);
}
.dept-mine-actions { display: flex; gap: 6px; margin-top: 8px; }
.dept-mine-actions button {
  flex: 1; padding: 7px 8px; border-radius: 8px; cursor: pointer;
  background: rgba(26,34,56,0.9); border: 1px solid rgba(250,204,21,0.35);
  color: var(--gold); font-family: 'Montserrat'; font-weight: 700;
  font-size: 0.6rem; letter-spacing: 0.06em;
}
.dept-mine-actions button:hover { background: rgba(250,204,21,0.15); }

/* ---------------- takım seçimi ---------------- */
.pick-label { margin: 18px 0 8px; letter-spacing: 0.18em; }
.club-pick-row {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.club-pick {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 118px; padding: 12px 8px 10px; border-radius: 12px; cursor: pointer;
  background: rgba(26,34,56,0.55); border: 1px solid rgba(148,163,184,0.18);
  opacity: 0.55; transition: all 0.18s ease;
}
.club-pick:hover { opacity: 0.85; transform: translateY(-2px); }
.club-pick.sel {
  opacity: 1; border-color: var(--gold);
  background: rgba(250,204,21,0.08);
  box-shadow: 0 0 18px rgba(250,204,21,0.22);
}
.club-pick img {
  width: 58px; height: 58px; object-fit: contain;
  mix-blend-mode: lighten;
}
.club-pick .cp-name {
  font-family: 'Bebas Neue'; font-size: 0.95rem; letter-spacing: 0.08em;
  color: #E2E8F0;
}
.club-pick.sel .cp-name { color: var(--gold); }
.club-pick .cp-year { font-size: 0.55rem; }
.club-pick-row.compact { gap: 8px; }
.club-pick-row.compact .club-pick { width: 96px; padding: 9px 6px 8px; }
.club-pick-row.compact .club-pick img { width: 42px; height: 42px; }

/* ---------------- saha görünümü (kadro modalı) ---------------- */
.pitch {
  position: relative; border-radius: 12px; padding: 20px 12px 14px; margin: 4px 0 14px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  border: 1px solid rgba(255,255,255,0.14); overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.45);
}
.pitch.futbol {
  min-height: 360px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 42px, rgba(0,0,0,0.06) 42px 84px),
    linear-gradient(180deg, #10552F, #0C3F23);
}
.pitch.basketbol {
  min-height: 290px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0 34px, rgba(255,255,255,0.02) 34px 68px),
    linear-gradient(180deg, #7A4A22, #5C3517);
}
.pitch.voleybol {
  min-height: 250px;
  background: linear-gradient(180deg, #A34712, #7C2D12);
}
.pitch.pool {
  padding: 0; gap: 0; min-height: 240px;
  background: linear-gradient(180deg, #0B5789, #063A5E);
}

/* saha çizgileri */
.pitch > [class^="pl-"] { position: absolute; pointer-events: none; }
.pl-circle { /* futbol: orta yuvarlak (üst = rakip yarı sahası yönü) */
  top: -58px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
}
.pl-box { /* futbol: kendi ceza sahası */
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 46%; height: 62px;
  border: 2px solid rgba(255,255,255,0.3); border-bottom: none;
}
.pl-key { /* basket: boyalı alan (pota üstte) */
  top: 0; left: 50%; transform: translateX(-50%);
  width: 30%; height: 66px;
  border: 2px solid rgba(255,255,255,0.25); border-top: none;
}
.pl-arc { /* basket: üç sayı çizgisi */
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 250px; height: 250px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
}
.pl-net { /* voleybol: file (üstte) */
  top: 12px; left: 8px; right: 8px; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.55) 0 8px, transparent 8px 14px);
}

/* oyuncu jetonları */
.p-row { display: flex; justify-content: space-evenly; align-items: flex-start; position: relative; z-index: 1; min-height: 54px; }
.p-tok {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 76px; cursor: pointer; text-align: center;
}
.p-tok.ro { cursor: default; }
.p-tok .p-dot {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #0B1120; border: 2px solid var(--gold); color: var(--gold);
  font-family: 'Roboto Mono', monospace; font-size: 0.76rem; font-weight: 700;
  box-shadow: 0 3px 10px rgba(0,0,0,0.55);
  transition: transform 0.15s ease;
}
.p-tok:not(.ro):hover .p-dot { transform: scale(1.15); }
.p-tok .p-nm {
  font-size: 0.6rem; color: #F1F5F9; line-height: 1.2;
  background: rgba(11,17,32,0.72); padding: 2px 6px; border-radius: 6px;
  white-space: nowrap; max-width: 88px; overflow: hidden; text-overflow: ellipsis;
}
.p-tok.hurt .p-dot { border-color: #EF4444; color: #EF4444; }
.p-tok.hurt .p-nm { color: #FCA5A5; }

/* yüzme kulvarları */
.lane {
  flex: 1; display: flex; align-items: center; gap: 14px; padding: 6px 16px;
  border-bottom: 3px dashed rgba(255,255,255,0.28);
}
.lane:last-child { border-bottom: none; }
.lane .p-tok { flex-direction: row; width: auto; gap: 8px; }
.lane .p-tok .p-nm { font-size: 0.7rem; }
.lane-pos { width: 92px; letter-spacing: 0.1em; opacity: 0.8; }

/* scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(148,163,184,0.3); border-radius: 4px; }
