/* ---------- Player overview card (public/playercard.js) ---------- */
.pl-link { cursor: pointer; border-bottom: 1px dotted color-mix(in srgb, currentColor 40%, transparent); }
.pl-link:hover, .pl-link:focus-visible { color: var(--turf); border-bottom-color: var(--turf); outline: none; }
.modal.pc-modal { max-width: 560px; padding: 0; overflow-x: hidden; background: var(--bg); }
.modal.pc-modal .modal-x { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.pc { --tc1: #15211c; --tc2: #2fbf71; }
.pc-hero { position: relative; min-height: 196px; padding: 22px 20px 16px; overflow: hidden; color: #fff; border-radius: 16px 16px 0 0;
  background:
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.05) 22px 24px),
    linear-gradient(115deg, color-mix(in srgb, var(--tc1) 92%, #000) 0%, color-mix(in srgb, var(--tc1) 70%, #000) 55%, color-mix(in srgb, var(--tc2) 55%, var(--tc1)) 100%); }
.pc-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--tc2), color-mix(in srgb, var(--tc2) 30%, transparent)); }
.pc-num { position: absolute; right: 120px; top: -26px; font: 900 170px/1 var(--font-display, Inter), Inter, sans-serif; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--tc2) 55%, transparent); opacity: .55; pointer-events: none; }
.pc-face { position: absolute; right: -6px; bottom: 5px; height: 178px; width: auto; max-width: 52%; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.pc-mono { position: absolute; right: 22px; top: 40px; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center;
  font: 900 32px/1 Inter, sans-serif; letter-spacing: .02em; background: var(--tc2); color: var(--tc1); box-shadow: 0 0 0 5px rgba(255,255,255,.12), 0 10px 24px rgba(0,0,0,.4); }
.pc-id { position: relative; z-index: 1; max-width: 64%; }
.pc-name { text-transform: uppercase; line-height: .95; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.pc-name span { display: block; font: 700 15px/1.1 Inter, sans-serif; letter-spacing: .14em; opacity: .85; }
.pc-name b { display: block; font: 900 30px/1 var(--font-display, Inter), Inter, sans-serif; letter-spacing: -.01em; word-break: break-word; }
.pc-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: 14px; }
.pc-meta .pos { color: #fff; }
.pc-team { background: var(--tc2); color: var(--tc1); border-radius: 5px; padding: 1px 7px; font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.pc-inj { background: #c0392b; color: #fff; border-radius: 5px; padding: 1px 7px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.pc-owner { display: flex; align-items: baseline; gap: 7px; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.92); }
.pc-owner .muted { color: rgba(255,255,255,.65); }
.pc-dot { position: relative; top: 1px; width: 9px; height: 9px; border-radius: 50%; background: var(--tc2); box-shadow: 0 0 0 2px rgba(255,255,255,.25); flex: none; }
.pc-dot.fa { background: #2fbf71; } .pc-dot.wv { background: #f2c14e; }
.pc-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pc-btn { padding: 7px 13px; font-size: 13px; border-radius: 99px; background: #fff; color: #111; font-weight: 800; }
.pc-btn.ghost { background: rgba(0,0,0,.25); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.pc-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; font-size: 13px; font-weight: 700; border-radius: 99px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.3); }
.pc-strip { display: grid; grid-template-columns: repeat(5, 1fr); margin: -1px 14px 0; position: relative; z-index: 2; transform: translateY(-14px);
  background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.pc-tile { text-align: center; padding: 10px 2px 8px; border-left: 1px solid var(--line2); }
.pc-tile:first-child { border-left: 0; }
.pc-tile b { display: block; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pc-tile span { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; white-space: nowrap; }
.pc-tile.hot b { color: var(--gold); }
.pc-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 0 12px; margin-top: -4px; border-bottom: 1px solid var(--line); }
.pc-tabs::-webkit-scrollbar { display: none; }
.pc-tabs a { flex: none; padding: 9px 11px; font-size: 14px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; }
.pc-tabs a.on { color: var(--text); border-color: var(--tc2); }
.pc-tabs a i { font-style: normal; font-size: 11px; background: var(--red); color: #fff; border-radius: 99px; padding: 0 6px; margin-left: 2px; }
.pc-body { padding: 14px; display: grid; gap: 12px; }
.pc-card { background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.pc-card h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pc-sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pc-wk-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pc-wk-head h4 { margin: 0; color: var(--text); font-size: 15px; display: flex; gap: 6px; align-items: center; }
.pc-wk-head .pc-tm { font-size: 12px; }
.pc-pf { display: flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--muted); text-transform: uppercase; }
.pc-pf b { font-size: 20px; color: var(--text); font-variant-numeric: tabular-nums; }
.pc-pf i { width: 1px; height: 18px; background: var(--line); margin: 0 4px; align-self: center; }
.pc .up { color: #34c472 !important; } .pc .down { color: #ef5b5b !important; }
.pc-meter { position: relative; height: 8px; border-radius: 99px; background: var(--line2); margin: 12px 0 8px; overflow: visible; }
.pc-meter i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--turf-dim), var(--turf)); }
.pc-meter i.down { background: linear-gradient(90deg, #7a2a2a, var(--red)); }
.pc-meter em { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--text); opacity: .6; }
.pc-line { font-size: 13px; color: var(--muted); }
.pc-note { margin-top: 8px; font-size: 13px; padding: 8px 10px; border-radius: 8px; background: color-mix(in srgb, var(--red) 14%, transparent); border: 1px solid color-mix(in srgb, var(--red) 35%, transparent); }
.pc-gs { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.pc-gs > div:first-child { flex: 1; display: grid; gap: 6px; }
.pc-gs-row { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pc-gs-row b { margin-left: auto; font-size: 20px; font-variant-numeric: tabular-nums; }
.pc-gs-row.win b::after { content: '◂'; font-size: 12px; margin-left: 4px; color: var(--muted); }
.pc-tm { display: inline-grid; place-items: center; min-width: 38px; padding: 2px 5px; border-radius: 5px; font-size: 11px; font-weight: 900; background: var(--line); color: var(--text); }
.pc-tm.us { background: var(--tc2); color: var(--tc1); }
.pc-tn { font-weight: 600; }
.pc-gs-st { padding-left: 12px; border-left: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); min-width: 70px; text-align: center; }
.pc-gs-st.live { color: var(--red); }
.pc-chart { display: flex; align-items: flex-end; height: 110px; gap: 0; padding-bottom: 16px; }
.pc-bar { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.pc-bar i { display: block; width: 62%; border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--tc2) 55%, var(--muted)); }
.pc-bar.hot i { background: var(--gold); } .pc-bar.cold i { background: color-mix(in srgb, var(--blue) 70%, var(--panel2)); }
.pc-bar em { position: absolute; left: 12%; right: 12%; height: 2px; background: var(--text); opacity: .55; }
.pc-bar span { position: absolute; bottom: -17px; font-size: 10px; color: var(--muted); }
.pc-key { display: inline-block; width: 12px; height: 2px; background: var(--text); opacity: .55; vertical-align: middle; margin-right: 3px; }
.pc-t { font-size: 13px; }
.pc-t th, .pc-t td { padding: 6px 6px; white-space: nowrap; }
.pc-t th { font-size: 10.5px; }
.pc-t .num { text-align: right; font-variant-numeric: tabular-nums; }
.pc-t tr:hover td { background: transparent; }
.pc-scroll { overflow-x: auto; }
.pc-kv, .pc-bio { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.pc-bio { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.pc-kv div, .pc-bio div { display: flex; flex-direction: column; }
.pc-kv span, .pc-bio span { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pc-kv b, .pc-bio b { font-size: 15px; }
.pc-quote { margin-top: 10px; font-style: italic; font-size: 14px; border-left: 3px solid var(--tc2); padding-left: 10px; }
.pc-news { display: grid; gap: 0; padding: 4px 14px; }
.pc-news a { display: grid; gap: 3px; padding: 11px 0; border-bottom: 1px solid var(--line2); color: var(--text); }
.pc-news a:last-child { border-bottom: 0; }
.pc-news span { font-size: 13px; color: var(--muted); }
.pc-news em { font-size: 11px; font-style: normal; color: var(--faint); }
.pc-big { font-size: 22px; }
.pc-prow { display: grid; grid-template-columns: 70px 1fr 44px; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; }
.pc-prow b { text-align: right; font-variant-numeric: tabular-nums; }
.pc-prow.bye { color: var(--muted); }
.pc-pbar { height: 8px; border-radius: 99px; background: var(--line2); overflow: hidden; }
.pc-pbar i { display: block; height: 100%; background: linear-gradient(90deg, color-mix(in srgb, var(--tc2) 60%, var(--turf)), var(--turf)); border-radius: 99px; }
@media (max-width: 560px) {
  .pc-hero { min-height: 182px; padding: 18px 16px 16px; }
  .pc-face { height: 150px; max-width: 46%; }
  .pc-num { font-size: 130px; right: 90px; top: -18px; }
  .pc-mono { width: 84px; height: 84px; font-size: 24px; top: 34px; right: 16px; }
  .pc-name b { font-size: 25px; }
  .pc-id { max-width: 66%; }
  .pc-strip { margin: 0 10px; }
  .pc-tile b { font-size: 17px; }
  .pc-tile span { font-size: 9.5px; letter-spacing: .02em; }
  .pc-body { padding: 12px 10px; }
  .modal.pc-modal { padding: 0; }
}
.pc-sel { display: flex; align-items: center; gap: 6px; }
.pc-sel select { flex: 1; min-width: 0; }
.pc-peek { flex: none; width: 26px; height: 26px; padding: 0; border-radius: 50%; background: var(--panel2); color: var(--turf); border: 1px solid var(--line); font: italic 800 14px/1 Georgia, serif; }
.pc-peek:hover { border-color: var(--turf); }
