/* Özel Lig ekranı — only .pl- classes. Dark hub screen (federation look), white match analysis report.
   No backdrop-filter, no endless animation (AGENTS.md §4.1); panels absolute inside the game window (§4.2). */

.hub-tab-view.pl-screen { padding: 20px 16px 150px; }
.pl-page { max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; color: #e2e8f0; font-family: 'Rajdhani', sans-serif; }

/* ── hero ── */
.pl-hero {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  background: linear-gradient(135deg, #0f172a 0%, #030712 100%);
  border: 1.5px solid rgba(234, 179, 8, 0.4); border-radius: 14px; padding: 18px 24px;
}
.pl-hero-id { display: flex; align-items: center; gap: 16px; }
.pl-hero-icon { width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 32px; background: rgba(234, 179, 8, 0.14); border: 1px solid rgba(234, 179, 8, 0.45); }
.pl-title { margin: 0; font-family: 'Chakra Petch', sans-serif; font-size: 28px; letter-spacing: 1px; color: #fbbf24; }
.pl-sub { font-size: 15px; font-weight: 600; color: #94a3b8; }
.pl-hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ── buttons / inputs ── */
.pl-btn {
  border: none; border-radius: 10px; padding: 11px 20px; cursor: pointer;
  font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 900; letter-spacing: 0.3px;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.pl-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); }
.pl-btn:active:not(:disabled) { transform: translateY(1px); }
.pl-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pl-btn-gold { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); color: #ffffff; border: 1.5px solid #fbbf24; }
.pl-btn-blue { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); color: #ffffff; border: 1.5px solid #38bdf8; }
.pl-btn-green { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); color: #ffffff; border: 1.5px solid #4ade80; }
.pl-btn-danger { background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%); color: #ffffff; border: 1.5px solid #f87171; }
.pl-btn-ghost { background: rgba(148, 163, 184, 0.12); color: #e2e8f0; border: 1.5px solid rgba(148, 163, 184, 0.35); }
.pl-btn-mini { padding: 6px 12px; font-size: 13px; background: rgba(239, 68, 68, 0.14); color: #fca5a5; border: 1px solid rgba(248, 113, 113, 0.45); margin-left: auto; }
.pl-btn-wide { width: 100%; }
.pl-input {
  width: 100%; box-sizing: border-box; background: #0b1222; color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.18); border-radius: 9px; padding: 11px 14px;
  font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; outline: none;
  user-select: text !important; pointer-events: auto !important;
}
.pl-input:focus { border-color: #38bdf8; }
.pl-code-input { text-transform: uppercase; letter-spacing: 4px; font-family: 'Chakra Petch', monospace; font-size: 20px; text-align: center; }
.pl-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-chip {
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 800;
  background: rgba(148, 163, 184, 0.1); color: #cbd5e1; border: 1.5px solid rgba(148, 163, 184, 0.3);
}
.pl-chip.active { background: rgba(234, 179, 8, 0.18); color: #fde68a; border-color: #fbbf24; }
.pl-chip:disabled { opacity: 0.35; cursor: not-allowed; }
.pl-set-label { margin: 14px 0 7px; font-size: 13px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: #94a3b8; display: block; }

/* ── landing ── */
.pl-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pl-action-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: 14px;
  background: linear-gradient(160deg, #111c33 0%, #0a1020 100%); border: 1.5px solid rgba(148, 163, 184, 0.22);
}
.pl-action-create { border-color: rgba(234, 179, 8, 0.4); }
.pl-action-join { border-color: rgba(56, 189, 248, 0.4); }
.pl-action-icon { font-size: 34px; }
.pl-action-title { font-family: 'Chakra Petch', sans-serif; font-size: 22px; font-weight: 700; color: #ffffff; }
.pl-action-text { font-size: 15px; font-weight: 600; color: #cbd5e1; line-height: 1.4; flex: 1; }
.pl-action-card > .pl-btn { align-self: flex-start; }
.pl-join-row { display: flex; gap: 10px; }
.pl-join-row .pl-input { flex: 1; }
.pl-section-title { font-family: 'Chakra Petch', sans-serif; font-size: 18px; font-weight: 700; color: #fbbf24; letter-spacing: 0.6px; margin-top: 4px; }
.pl-league-list { display: flex; flex-direction: column; gap: 10px; }
.pl-league-card {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  padding: 14px 18px; border-radius: 12px; background: #0f172a; border: 1.5px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0; font-family: 'Rajdhani', sans-serif;
}
.pl-league-card:hover { border-color: rgba(234, 179, 8, 0.55); }
.pl-league-card-name { font-size: 18px; font-weight: 800; color: #ffffff; }
.pl-league-card-meta { font-size: 14px; font-weight: 600; color: #94a3b8; }
.pl-league-card-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pl-league-card-note { font-size: 13px; font-weight: 700; color: #cbd5e1; }
.pl-founder-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 800; color: #fde68a; background: rgba(234, 179, 8, 0.16); border: 1px solid rgba(234, 179, 8, 0.4); }
.pl-empty { padding: 22px; border-radius: 12px; text-align: center; font-size: 15px; font-weight: 600; color: #94a3b8; background: rgba(15, 23, 42, 0.7); border: 1px dashed rgba(148, 163, 184, 0.3); }
.pl-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; vertical-align: middle; }
.pl-pill-pending { color: #fde68a; background: rgba(234, 179, 8, 0.15); border: 1px solid rgba(234, 179, 8, 0.4); }
.pl-pill-active { color: #86efac; background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.4); }
.pl-pill-done { color: #cbd5e1; background: rgba(148, 163, 184, 0.15); border: 1px solid rgba(148, 163, 184, 0.4); }

/* ── league view ── */
.pl-detail-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.pl-detail-name { font-family: 'Chakra Petch', sans-serif; font-size: 24px; font-weight: 700; color: #ffffff; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pl-detail-meta { font-size: 15px; font-weight: 600; color: #94a3b8; }
.pl-champion-banner { padding: 10px 16px; border-radius: 10px; font-size: 16px; font-weight: 700; color: #fde68a; background: rgba(234, 179, 8, 0.14); border: 1.5px solid rgba(234, 179, 8, 0.5); }
.pl-champion-banner b { color: #ffffff; }
.pl-detail-body { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: start; }
.pl-main { min-width: 0; background: #0f172a; border: 1.5px solid rgba(148, 163, 184, 0.2); border-radius: 14px; padding: 14px; }
.pl-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pl-tab { padding: 9px 18px; border-radius: 9px; cursor: pointer; font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 800; color: #cbd5e1; background: transparent; border: 1.5px solid rgba(148, 163, 184, 0.25); }
.pl-tab.active { color: #0f172a; background: #fbbf24; border-color: #fbbf24; }
.pl-hint { margin-bottom: 12px; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #bae6fd; background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.3); }

.pl-table { width: 100%; border-collapse: collapse; font-size: 15px; font-weight: 700; color: #e2e8f0; }
.pl-table th { padding: 8px 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.5px; color: #94a3b8; text-align: center; border-bottom: 1px solid rgba(148, 163, 184, 0.25); }
.pl-table td { padding: 8px 6px; text-align: center; border-bottom: 1px solid rgba(148, 163, 184, 0.1); }
.pl-table .pl-col-club { text-align: left; }
.pl-table td.pl-col-club { display: flex; align-items: center; gap: 10px; color: #ffffff; }
.pl-col-pos { width: 36px; color: #94a3b8; }
.pl-col-pts { color: #fbbf24; font-weight: 900; }
.pl-col-form { white-space: nowrap; }
.pl-form { display: inline-block; width: 20px; height: 20px; line-height: 20px; margin: 0 1px; border-radius: 5px; font-style: normal; font-size: 11px; font-weight: 900; color: #ffffff; }
.pl-form-G { background: #16a34a; }
.pl-form-B { background: #64748b; }
.pl-form-M { background: #dc2626; }
.pl-row-me { background: rgba(234, 179, 8, 0.1); }

.pl-round-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 12px; }
.pl-round-btn { width: 40px; height: 40px; border-radius: 10px; cursor: pointer; font-size: 16px; font-weight: 900; color: #e2e8f0; background: rgba(148, 163, 184, 0.12); border: 1.5px solid rgba(148, 163, 184, 0.3); }
.pl-round-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pl-round-label { min-width: 240px; display: flex; flex-direction: column; align-items: center; }
.pl-round-label b { font-family: 'Chakra Petch', sans-serif; font-size: 18px; color: #ffffff; }
.pl-round-label span { font-size: 14px; font-weight: 600; color: #94a3b8; }
.pl-fx-list { display: flex; flex-direction: column; gap: 8px; }
.pl-fx-row { display: grid; grid-template-columns: 1fr 110px 1fr 70px; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(30, 41, 59, 0.6); border: 1px solid rgba(148, 163, 184, 0.14); }
.pl-fx-row.played { cursor: pointer; }
.pl-fx-row.played:hover { border-color: rgba(234, 179, 8, 0.5); }
.pl-fx-team { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: #ffffff; min-width: 0; }
.pl-fx-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-fx-team.home { flex-direction: row-reverse; justify-content: flex-start; }
.pl-fx-score { text-align: center; font-family: 'Chakra Petch', sans-serif; font-size: 20px; font-weight: 700; color: #fbbf24; }
.pl-fx-go { text-align: right; font-size: 13px; font-weight: 800; color: #38bdf8; }
.pl-fx-rest { margin-top: 10px; font-size: 14px; font-weight: 600; color: #94a3b8; }

.pl-club-list { display: flex; flex-direction: column; gap: 8px; }
.pl-club-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(30, 41, 59, 0.6); border: 1px solid rgba(148, 163, 184, 0.14); font-size: 16px; font-weight: 700; color: #ffffff; }
.pl-club-name { background: none; border: none; padding: 0; cursor: pointer; font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 800; color: #ffffff; text-align: left; }
.pl-club-name:disabled { cursor: default; }
.pl-club-empty { color: #64748b; border-style: dashed; }
.pl-empty-seat { width: 26px; height: 26px; border-radius: 50%; border: 1.5px dashed rgba(148, 163, 184, 0.4); }

.pl-side { display: flex; flex-direction: column; gap: 14px; }
.pl-side-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: #0f172a; border: 1.5px solid rgba(148, 163, 184, 0.2); }
.pl-side-title { font-family: 'Chakra Petch', sans-serif; font-size: 17px; font-weight: 700; color: #fbbf24; }
.pl-side-text { font-size: 14px; font-weight: 600; color: #cbd5e1; line-height: 1.4; }
.pl-side-text b { color: #ffffff; }
.pl-side-note { font-size: 13px; font-weight: 600; color: #94a3b8; }
.pl-side-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pl-side-row .pl-btn { flex: 1; padding: 10px 12px; }
.pl-code-big { text-align: center; font-family: 'Chakra Petch', monospace; font-size: 34px; font-weight: 700; letter-spacing: 8px; color: #ffffff; padding: 8px 0; border-radius: 10px; background: #0b1222; border: 1.5px dashed rgba(234, 179, 8, 0.5); user-select: text; }
.pl-side-card .pl-set-label { margin: 6px 0 0; }
.pl-fill-row { display: flex; align-items: center; justify-content: center; gap: 16px; }
.pl-fill-count { min-width: 40px; text-align: center; font-family: 'Chakra Petch', sans-serif; font-size: 26px; font-weight: 700; color: #ffffff; }

/* ── panels (create + report): absolute inside the game window, backdrop closes ── */
.pl-modal { position: absolute; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: clamp(10px, 2.5%, 30px); box-sizing: border-box; background: rgba(2, 6, 23, 0.78); }
.pl-modal-close { position: absolute; top: 16px; right: 18px; z-index: 2; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 18px; font-weight: 900; color: #e2e8f0; background: rgba(148, 163, 184, 0.14); border: 1px solid rgba(148, 163, 184, 0.35); }

/* ── Lig Oluştur wizard (privateLeagueCreate.js): three pages like the report; offer cards = Docs/PremiumOfferDesign.md ── */
.plw-card {
  position: relative; width: 100%; max-width: 980px; height: 100%; max-height: 800px; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 20px; color: #e2e8f0; font-family: 'Rajdhani', sans-serif;
  background: radial-gradient(120% 80% at 0% 0%, #1e1b4b 0%, #0b1222 55%, #050816 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.55); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.plw-head { padding: 20px 26px 12px; padding-right: 70px; border-bottom: 1px solid rgba(148, 163, 184, 0.16); }
.plw-kicker { font-size: 13px; font-weight: 900; letter-spacing: 3px; color: #fbbf24; }
.plw-title { font-family: 'Chakra Petch', sans-serif; font-size: 28px; font-weight: 700; color: #ffffff; line-height: 1.1; }
.plw-steps { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.plw-step { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; cursor: pointer; background: rgba(148, 163, 184, 0.08); border: 1.5px solid rgba(148, 163, 184, 0.22); color: #94a3b8; font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 800; }
.plw-step-dot { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; color: #cbd5e1; background: rgba(148, 163, 184, 0.18); }
.plw-step.active { color: #ffffff; border-color: #fbbf24; background: rgba(251, 191, 36, 0.14); }
.plw-step.active .plw-step-dot { color: #1f1300; background: linear-gradient(135deg, #fde047, #f59e0b); }
.plw-step.done { color: #bbf7d0; border-color: rgba(34, 197, 94, 0.5); }
.plw-step.done .plw-step-dot { color: #ffffff; background: linear-gradient(135deg, #22c55e, #16a34a); }
.plw-step-line { flex: 0 0 28px; height: 2px; border-radius: 2px; background: rgba(148, 163, 184, 0.3); }
.plw-viewport { flex: 1; min-height: 0; overflow: hidden; touch-action: pan-y; }
.plw-track { display: flex; height: 100%; will-change: transform; }
.plw-page { flex: 0 0 100%; min-width: 0; height: 100%; box-sizing: border-box; overflow-y: auto; padding: 18px 26px 20px; }
.plw-foot { display: flex; align-items: center; gap: 12px; padding: 14px 26px; border-top: 1px solid rgba(148, 163, 184, 0.16); background: rgba(2, 6, 23, 0.55); }
.plw-foot-hint { flex: 1; text-align: center; font-size: 14px; font-weight: 700; color: #cbd5e1; }
.plw-btn { border: none; border-radius: 12px; padding: 12px 22px; cursor: pointer; font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 900; letter-spacing: 0.3px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: transform 0.15s ease, filter 0.15s ease; }
.plw-btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.08); }
.plw-btn:active:not(:disabled) { transform: translateY(1px); }
.plw-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.plw-btn-ghost { background: #f1f5f9; color: #475569; border: 1.5px solid #cbd5e1; }
.plw-btn-gold { min-width: 150px; color: #1f1300; background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%); border: 1.5px solid #fbbf24; box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35); }
.plw-btn-sky { width: 100%; color: #ffffff; background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%); border: 1.5px solid #7dd3fc; }
.plw-btn-pink { width: 100%; color: #ffffff; background: linear-gradient(135deg, #f0abfc 0%, #c026d3 100%); border: 1.5px solid #f5d0fe; box-shadow: 0 6px 18px rgba(192, 38, 211, 0.35); }

.plw-label { display: block; margin: 16px 0 8px; font-size: 13px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: #94a3b8; }
.plw-input { width: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 12px; outline: none; background: #0b1222; color: #ffffff; border: 1.5px solid rgba(148, 163, 184, 0.3); font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 800; user-select: text !important; pointer-events: auto !important; }
.plw-input:focus { border-color: #fbbf24; }
.plw-emblem-row { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(251, 191, 36, 0.02)); border: 1px solid rgba(251, 191, 36, 0.35); }
.plw-emblem { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 38px; background: radial-gradient(circle at 35% 30%, #fde68a 0%, #f59e0b 45%, #92400e 100%); border: 3px solid #fde68a; }
.plw-emblem-name { font-family: 'Chakra Petch', sans-serif; font-size: 26px; font-weight: 700; color: #ffffff; word-break: break-word; }
.plw-emblem-sub { font-size: 15px; font-weight: 600; color: #cbd5e1; }
.plw-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plw-tiles.two { grid-template-columns: repeat(2, 1fr); }
.plw-tile { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 10px; border-radius: 14px; cursor: pointer; background: rgba(15, 23, 42, 0.85); border: 1.5px solid rgba(148, 163, 184, 0.25); color: #e2e8f0; font-family: 'Rajdhani', sans-serif; }
.plw-tile b { font-family: 'Chakra Petch', sans-serif; font-size: 24px; font-weight: 700; color: #ffffff; }
.plw-tile span { font-size: 14px; font-weight: 700; color: #94a3b8; }
.plw-tile.active { border-color: #fbbf24; background: linear-gradient(160deg, rgba(251, 191, 36, 0.22), rgba(251, 191, 36, 0.06)); }
.plw-tile.active b { color: #fde68a; }
.plw-tile.active span { color: #fef3c7; }
.plw-note { margin-top: 14px; font-size: 14px; font-weight: 600; color: #94a3b8; }
.plw-summary { margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; color: #e0f2fe; background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.35); }
.plw-summary b { color: #ffffff; }
.plw-rules { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.plw-rules li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: #e2e8f0; background: rgba(15, 23, 42, 0.7); border: 1px solid rgba(148, 163, 184, 0.18); }
.plw-rules li i { font-style: normal; font-size: 18px; }
.plw-rules li.warn { color: #fee2e2; background: rgba(220, 38, 38, 0.14); border-color: rgba(248, 113, 113, 0.45); }
.plw-accept { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; cursor: pointer; font-size: 17px; font-weight: 800; color: #ffffff; background: rgba(251, 191, 36, 0.1); border: 1.5px solid rgba(251, 191, 36, 0.45); }
.plw-accept input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plw-check { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; border: 2px solid #fbbf24; background: #0b1222; display: inline-flex; align-items: center; justify-content: center; }
.plw-accept input:checked + .plw-check { background: linear-gradient(135deg, #22c55e, #16a34a); border-color: #4ade80; }
.plw-accept input:checked + .plw-check::after { content: '✓'; color: #ffffff; font-size: 17px; font-weight: 900; }

.plw-wallet { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: rgba(15, 23, 42, 0.85); border: 1.5px dashed rgba(148, 163, 184, 0.4); }
.plw-wallet.ready { border-style: solid; border-color: #4ade80; background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0.04)); }
.plw-wallet-text { display: flex; flex-direction: column; }
.plw-wallet-text b { font-family: 'Chakra Petch', sans-serif; font-size: 22px; color: #ffffff; }
.plw-wallet-text span { font-size: 15px; font-weight: 600; color: #cbd5e1; }
.plw-found { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }.plw-found li { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-radius: 12px; background: rgba(15, 23, 42, 0.85); border: 1px solid rgba(148, 163, 184, 0.3); font-size: 17px; font-weight: 700; color: #cbd5e1; }.plw-found li b { font-family: 'Chakra Petch', sans-serif; color: #ffffff; }.plw-found li:last-child b { color: #4ade80; }
.plw-found li { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-radius: 12px; background: rgba(15, 23, 42, 0.85); border: 1px solid rgba(148, 163, 184, 0.3); font-size: 17px; font-weight: 700; color: #cbd5e1; }
.plw-found li b { font-family: 'Chakra Petch', sans-serif; color: #ffffff; }
.plw-found li:last-child b { color: #4ade80; }

/* ── match analysis report: clean white card (explicit dark text, §11.19b) ── */
.pl-report-card {
  position: relative; width: 100%; max-width: 860px; height: 100%; max-height: 780px; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 18px; background: #ffffff; color: #0f172a; font-family: 'Rajdhani', sans-serif; border: 1px solid #e2e8f0;
}
.pl-report-close { color: #475569; background: #f1f5f9; border: 1.5px solid #cbd5e1; }
.pl-report-head { padding: 22px 26px 6px; padding-right: 64px; }
.pl-report-title { font-family: 'Chakra Petch', sans-serif; font-size: 24px; font-weight: 700; color: #0f172a; }
.pl-report-sub { font-size: 14px; font-weight: 600; color: #64748b; }
.pl-report-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 26px 10px; border-bottom: 1px solid #e2e8f0; }
.pl-report-tab { padding: 7px 14px; border-radius: 8px; cursor: pointer; font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 800; color: #475569; background: #f8fafc; border: 1px solid #e2e8f0; }
.pl-report-tab.active { color: #ffffff; background: #0f172a; border-color: #0f172a; }
.pl-report-viewport { flex: 1; min-height: 0; overflow: hidden; touch-action: pan-y; cursor: grab; }
.pl-report-viewport:active { cursor: grabbing; }
.pl-report-track { display: flex; height: 100%; will-change: transform; }
.pl-report-page { flex: 0 0 100%; min-width: 0; box-sizing: border-box; height: 100%; overflow-y: auto; padding: 16px 26px 18px; }
.pl-report-loading { padding: 40px; text-align: center; font-size: 16px; font-weight: 700; color: #64748b; }
.pl-report-nav { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px; border-top: 1px solid #e2e8f0; }
.pl-report-arrow { width: 38px; height: 38px; border-radius: 10px; cursor: pointer; font-size: 15px; font-weight: 900; color: #334155; background: #f1f5f9; border: 1.5px solid #cbd5e1; }
.pl-report-dots { display: flex; gap: 8px; }
.pl-report-dots i { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; }
.pl-report-dots i.active { background: #0f172a; }

.pl-rp-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 6px 0 16px; }
.pl-rp-team { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 17px; font-weight: 800; color: #0f172a; text-align: center; }
.pl-rp-result { font-family: 'Chakra Petch', sans-serif; font-size: 44px; font-weight: 700; color: #0f172a; }
.pl-rp-stat { padding: 7px 0; }
.pl-rp-stat-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.pl-rp-stat-top b { font-weight: 900; color: #0f172a; min-width: 50px; }
.pl-rp-stat-top b:last-child { text-align: right; }
.pl-rp-stat-top span { font-weight: 700; color: #64748b; }
.pl-rp-bar { display: flex; height: 7px; margin-top: 4px; border-radius: 4px; overflow: hidden; background: #f1f5f9; }
.pl-rp-bar i.home { background: #0f172a; }
.pl-rp-bar i.away { background: #94a3b8; }
.pl-rp-bar.single i.home { background: #16a34a; }
.pl-rp-section { margin: 14px 0 8px; font-family: 'Chakra Petch', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #334155; }
.pl-rp-section:first-child { margin-top: 0; }
.pl-rp-verdict { padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1.45; color: #334155; background: #f8fafc; border: 1px solid #e2e8f0; }
.pl-rp-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.pl-rp-side { padding: 12px 14px; border-radius: 12px; border: 1px solid #e2e8f0; }
.pl-rp-side-name { font-size: 16px; font-weight: 900; color: #0f172a; margin-bottom: 6px; }
.pl-rp-kv { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 14px; }
.pl-rp-kv span { color: #64748b; font-weight: 600; }
.pl-rp-kv b { color: #0f172a; font-weight: 800; }
.pl-rp-players { display: flex; flex-direction: column; gap: 6px; }
.pl-rp-player { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; }
.pl-rp-rating { min-width: 42px; text-align: center; padding: 3px 0; border-radius: 7px; font-weight: 900; color: #ffffff; background: #0f172a; }
.pl-rp-pname { flex: 1; display: flex; flex-direction: column; font-size: 15px; font-weight: 800; color: #0f172a; }
.pl-rp-pname small { font-size: 12px; font-weight: 600; color: #64748b; }
.pl-rp-pext { font-size: 14px; font-weight: 800; color: #334155; }
.pl-rp-events { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; }
.pl-rp-event { display: flex; gap: 12px; font-size: 14px; color: #334155; }
.pl-rp-event b { min-width: 42px; color: #0f172a; }
.pl-rp-muted { margin-top: 8px; font-size: 13px; font-weight: 600; color: #64748b; }
.pl-rp-cond { padding: 6px 0; }
.pl-rp-cond-top { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; color: #0f172a; }
/* Şartlar page fits without scrolling: two rule columns (the no-refund warning full width), shorter tiles */
.plw-tiles.two .plw-tile { padding: 9px 10px; }
.plw-tiles.two .plw-tile b { font-size: 21px; }
.plw-rules { display: grid; grid-template-columns: 1fr 1fr; }
.plw-rules li { padding: 8px 12px; font-size: 14px; }
.plw-rules li.warn { grid-column: 1 / -1; }
.plw-summary { margin-top: 12px; padding: 9px 14px; }
.plw-accept { margin-top: 12px; padding: 11px 14px; }
/* a tappable team opens its profile card (ClubProfile) */
.pl-row-click, .pl-screen [data-team-profile] { cursor: pointer; }
.pl-row-click:hover td { background: rgba(56, 189, 248, 0.08); }
.pl-fx-team[data-team-profile]:hover span, .pl-club-name[data-team-profile]:hover { color: #7dd3fc; text-decoration: underline; }

/* ── lobby (owner 2026-11-12): list on the left, a thin tall column of buttons on the right ── */
.pl-lobby { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: start; }
.pl-lobby-list { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pl-lobby-side {
  display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 14px; position: sticky; top: 0;
  background: linear-gradient(180deg, #111c33 0%, #0a1020 100%); border: 1.5px solid rgba(234, 179, 8, 0.35);
}
.pl-side-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 96px;
  border-radius: 12px; cursor: pointer; color: #ffffff; font-family: 'Chakra Petch', sans-serif; font-size: 18px; font-weight: 700;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.pl-side-btn i { font-style: normal; font-size: 30px; }
.pl-side-btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
.pl-side-btn.gold { background: linear-gradient(135deg, #d97706 0%, #92400e 100%); border: 1.5px solid #fbbf24; }
.pl-side-btn.purple { background: linear-gradient(135deg, #9333ea 0%, #581c87 100%); border: 1.5px solid #c084fc; }
.pl-side-btn.blue { background: linear-gradient(135deg, #0284c7 0%, #075985 100%); border: 1.5px solid #38bdf8; }
.pl-lobby-row {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px;
  background: #0f172a; border: 1.5px solid rgba(148, 163, 184, 0.2);
}
.pl-lobby-icon { font-size: 26px; flex: 0 0 auto; }
.pl-lobby-main { flex: 1; min-width: 0; }
.pl-lobby-name { font-size: 18px; font-weight: 800; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-lobby-meta { font-size: 14px; font-weight: 600; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-lobby-count { font-family: 'Chakra Petch', sans-serif; font-size: 20px; font-weight: 700; color: #fde68a; min-width: 48px; text-align: center; }
.pl-lobby-btn { width: 190px; padding: 9px 14px; }

/* ── Kod Gir window ── */
.pl-code-card {
  position: relative; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 22px;
  border-radius: 18px; color: #e2e8f0; font-family: 'Rajdhani', sans-serif; box-sizing: border-box;
  background: radial-gradient(120% 80% at 0% 0%, #0c4a6e 0%, #0b1222 60%, #050816 100%); border: 1.5px solid rgba(56, 189, 248, 0.55);
}
.pl-code-card-title { font-family: 'Chakra Petch', sans-serif; font-size: 24px; font-weight: 700; color: #ffffff; }
.pl-code-card-text { font-size: 15px; font-weight: 600; color: #cbd5e1; }

/* ── one-page create window ── */
.plw-card-one { max-width: 640px; height: auto; max-height: 100%; }
.plw-page-one { height: auto; flex: 1; min-height: 0; }
.plw-tiles.five { grid-template-columns: repeat(5, 1fr); }
.plw-card-one .plw-foot .plw-btn-gold { min-width: 160px; }

/* ── knockout scores ── */
.pl-fx-score small { display: block; font-size: 12px; font-weight: 700; color: #fde68a; }
.pl-fx-row.win-home .pl-fx-team.home span, .pl-fx-row.win-away .pl-fx-team.away span { color: #86efac; font-weight: 900; }
.pl-side-card > .pl-btn-wide + .pl-btn-wide { margin-top: 8px; }

/* phone landscape (Venus 720x360 dp) and narrow windows: the same left / right layout, a narrower left column */
@media (max-width: 1000px) {
  .pl-lobby, .pl-detail-body { grid-template-columns: 210px minmax(0, 1fr); gap: 12px; }
  .pl-lobby-side { padding: 10px; gap: 8px; }
  .pl-side-btn { min-height: 64px; font-size: 15px; gap: 2px; }
  .pl-side-btn i { font-size: 22px; }
  .pl-lobby-row { padding: 10px 12px; gap: 10px; }
  .pl-lobby-btn { width: auto; min-width: 104px; padding: 8px 10px; font-size: 14px; }
  .pl-lobby-name { font-size: 16px; }
  .pl-lobby-meta { font-size: 13px; }
  .pl-share-row { flex-direction: column; }
  .pl-code-big { font-size: 26px; letter-spacing: 3px; padding: 10px 4px; }
}
@media (max-width: 640px) {
  .pl-lobby, .pl-detail-body { grid-template-columns: 170px minmax(0, 1fr); gap: 10px; }
  .pl-side-btn { min-height: 54px; font-size: 14px; }
  .pl-lobby-icon { display: none; }
  .pl-lobby-count { min-width: 36px; font-size: 17px; }
  .pl-lobby-btn { min-width: 88px; font-size: 13px; }
  .pl-code-big { font-size: 21px; letter-spacing: 2px; }
}
/* very narrow (portrait): one column, the buttons in a row on top */
@media (max-width: 440px) {
  .pl-lobby, .pl-detail-body { grid-template-columns: 1fr; }
  .pl-lobby-side { position: static; flex-direction: row; }
  .pl-side-btn { flex: 1; }
}
.pl-share-row { margin-top: 8px; display: flex; gap: 8px; } .pl-share-row .pl-btn { flex: 1; padding: 11px 8px; }
