/* v1.1 fixes: practice types, awaiting-approval state, slot tiles, player stats explorer, admin delete. */
.ph-type-filter { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ph-type-filter::-webkit-scrollbar { display: none; }
.ph-type-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--sm-line); background: var(--sm-glass); color: var(--on-surface); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ph-type-chip em { font-style: normal; font-size: 11px; padding: 0 6px; border-radius: 999px; background: color-mix(in srgb, var(--on-surface) 10%, transparent); }
.ph-type-chip.is-on { background: var(--primary, #f6c445); border-color: var(--primary, #f6c445); color: #1a1400; }
.ph-type-chip.is-on em { background: rgba(0, 0, 0, .14); }
.ph-type-pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; background: color-mix(in srgb, #7aa7ff 18%, transparent); color: #9bbcff; }
.ph-type-pill--war { background: color-mix(in srgb, #ff7a59 20%, transparent); color: #ff9c80; }
.ph-type-pill--tournament { background: color-mix(in srgb, #f6c445 20%, transparent); color: #f6c445; }
.ph-type-pill--other { background: color-mix(in srgb, var(--on-surface) 10%, transparent); color: var(--on-surface-variant); }
.scrim-status-pill.status-review { background: color-mix(in srgb, #ffb74d 18%, transparent); color: #ffb74d; border-color: color-mix(in srgb, #ffb74d 40%, transparent); white-space: nowrap; }
.sm-chip--warning { background: color-mix(in srgb, #ffb74d 18%, transparent); color: #ffb74d; }
.sm-chip--danger { background: color-mix(in srgb, #ef5350 18%, transparent); color: #ff8a80; }

/* Schedule sheet: practice type picker */
.ss-type { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ss-type label { position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--sm-line); background: var(--sm-glass); font-size: 13px; font-weight: 700; cursor: pointer; min-width: 0; }
.ss-type label small { display: block; font-size: 11px; font-weight: 500; color: var(--on-surface-variant); }
.ss-type input { position: absolute; opacity: 0; pointer-events: none; }
.ss-type label:has(input:checked) { border-color: var(--primary, #f6c445); background: color-mix(in srgb, var(--primary, #f6c445) 14%, transparent); }
.ss-type label.is-on { border-color: var(--primary, #f6c445); background: color-mix(in srgb, var(--primary, #f6c445) 14%, transparent); }

/* Slot picker tiles (Move team): no absolute overlays, name never overlaps the number. */
.sl-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px !important; }
@media (min-width: 420px) { .sl-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
.sl-tile { position: relative !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 2px !important; min-height: 58px !important; height: auto !important; aspect-ratio: auto !important; padding: 6px 4px !important; overflow: hidden !important; min-width: 0 !important; }
.sl-tile .sl-num { position: static !important; font-size: 15px; font-weight: 900; line-height: 1.1; }
.sl-tile .sl-who { position: static !important; inset: auto !important; transform: none !important; display: block !important; max-width: 100% !important; width: 100% !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; text-align: center !important; font-size: 10px !important; line-height: 1.2 !important; opacity: .85; }
.sl-tile .sl-lock { position: absolute !important; top: 3px !important; right: 3px !important; left: auto !important; bottom: auto !important; width: 12px !important; height: 12px !important; }
.sl-tile .sl-lock svg { width: 12px; height: 12px; }

/* Player stats explorer */
.pse { display: grid; gap: 12px; margin: 12px 0 28px; min-width: 0; }
.pse-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pse-head h1 { margin: 0; font-size: 20px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pse-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--on-surface-variant); }
.pse-card { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--sm-glass); border: 1px solid var(--sm-line); min-width: 0; }
.pse-card h2 { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.pse-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pse-filters label { display: grid; gap: 4px; font-size: 11px; font-weight: 700; color: var(--on-surface-variant); text-transform: uppercase; letter-spacing: .05em; min-width: 0; }
.pse-filters select, .pse-filters input { width: 100%; min-width: 0; min-height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--sm-line); background: var(--surface, #12141a); color: var(--on-surface); font: inherit; font-size: 13px; text-transform: none; letter-spacing: 0; }
.pse-seg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.pse-seg::-webkit-scrollbar { display: none; }
.pse-seg button { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--sm-line); background: transparent; color: var(--on-surface); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.pse-seg button.is-on { background: var(--primary, #f6c445); border-color: var(--primary, #f6c445); color: #1a1400; }
.pse-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pse-kpi { display: grid; gap: 2px; padding: 10px; border-radius: 14px; background: color-mix(in srgb, var(--on-surface) 5%, transparent); min-width: 0; }
.pse-kpi b { font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pse-kpi small { font-size: 11px; color: var(--on-surface-variant); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pse-table { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.pse-table th, .pse-table td { padding: 7px 4px; text-align: right; border-bottom: 1px solid var(--sm-line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pse-table th:first-child, .pse-table td:first-child { text-align: left; width: 34%; }
.pse-table th { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--on-surface-variant); }
.pse-matches { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pse-match { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; background: color-mix(in srgb, var(--on-surface) 4%, transparent); }
.pse-match__place { display: grid; place-items: center; height: 40px; border-radius: 12px; font-weight: 900; background: color-mix(in srgb, var(--on-surface) 8%, transparent); }
.pse-match__place.is-win { background: var(--primary, #f6c445); color: #1a1400; }
.pse-match__main { min-width: 0; }
.pse-match__main b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pse-match__main small { display: block; font-size: 11.5px; color: var(--on-surface-variant); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pse-match__nums { text-align: right; font-size: 12px; white-space: nowrap; }
.pse-match__nums b { font-size: 14px; }
.pse-bars { display: grid; gap: 6px; }
.pse-bar { display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; gap: 8px; align-items: center; font-size: 12px; }
.pse-bar i { display: block; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--on-surface) 8%, transparent); overflow: hidden; }
.pse-bar i::after { content: ''; display: block; height: 100%; width: var(--w, 0%); background: var(--primary, #f6c445); border-radius: inherit; }
.pse-bar span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.pse-empty { padding: 18px; text-align: center; font-size: 13px; color: var(--on-surface-variant); }
.pse-muted { margin: 0; font-size: 12px; color: var(--on-surface-variant); }
.me-stats-cta { display: inline-flex; align-items: center; gap: 6px; }
.btn.danger, .btn.is-danger { background: #c62828; color: #fff; border-color: #c62828; }
/* v1.1: Player stats entry button on every profile */
.pse-open-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin: 0 0 12px; }
.pse-open-btn svg { width: 18px; height: 18px; flex: none; }
.pse-match { width: 100%; border: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.pse-match:disabled { cursor: default; }
.pse-card .text-btn { justify-self: start; }
