/* Weekly picks (#/picks, public/picks.js). Uses the theme colors from style.css / themes.css. */
.pk-page { max-width: 1080px; margin: 0 auto; }
.pk-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; }
.pk-bar .seg { display: inline-flex; background: var(--panel2); border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.pk-bar .seg a { padding: 6px 16px; border-radius: 99px; color: var(--muted); font-weight: 700; font-size: 14px; }
.pk-bar .seg a.on { background: var(--turf); color: var(--on-accent); }
.pk-week { display: flex; align-items: center; gap: 8px; }
.pk-week button { min-width: 36px; }

.pk-sum { margin-bottom: 4px; }
.pk-sum-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.pk-coins { font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1.1; }
.pk-stats { display: flex; gap: 18px; }
.pk-stats span { display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.pk-stats b { font-size: 18px; font-variant-numeric: tabular-nums; }
.pk-stats small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.pk-cap { height: 8px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); margin-top: 12px; overflow: hidden; }
.pk-cap i { display: block; height: 100%; background: linear-gradient(90deg, var(--turf-dim), var(--turf), var(--gold)); border-radius: 99px; transition: width .4s; }
.pk-bonuses { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pk-bonus { font-size: 12px; padding: 3px 9px; border-radius: 99px; background: rgba(242,193,78,.12); border: 1px solid rgba(242,193,78,.35); color: var(--text); }
.pk-bonus b { color: var(--gold); }
.pk-tip { margin-top: 8px; }

.pk-tabs { margin-top: 16px; }
.pk-h { margin: 18px 0 8px; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }

.pk-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); gap: 12px; }
.pk-game { padding: 12px 14px; }
.pk-ghead { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.pk-teams { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.pk-team { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.pk-team img { width: 26px; height: 26px; object-fit: contain; }
.pk-team small { font-size: 11px; }
.pk-score { font-size: 18px; margin-left: 4px; font-variant-numeric: tabular-nums; }

.pk-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.pk-row + .pk-row { border-top: 1px dashed var(--line2); }
.pk-rl { width: 58px; flex: none; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.pk-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: 1; min-width: 0; }
.pk-opt { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left;
  background: var(--panel2); color: var(--text); border: 1px solid var(--line); font-weight: 600; padding: 7px 10px; min-height: 44px; min-width: 0; }
.pk-opt:hover:not(:disabled) { border-color: var(--turf-dim); }
.pk-opt.on { background: color-mix(in srgb, var(--turf) 22%, var(--panel2)); border-color: var(--turf); box-shadow: inset 0 0 0 1px var(--turf); }
.pk-opt:disabled { opacity: 1; cursor: default; }
.pk-opt.won { border-color: var(--gold); }
.pk-opt .pk-ol { position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pk-opt small { position: relative; font-size: 11px; color: var(--muted); font-weight: 500; }
.pk-opt small.pk-dog { color: var(--gold); }
.pk-share { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--blue) 16%, transparent); pointer-events: none; }
.pk-pct { color: var(--muted); }
.pk-ok { color: var(--turf); font-weight: 800; }
.pk-no { color: var(--red); font-weight: 800; }

.pk-lock { flex: none; width: 38px; height: 38px; padding: 0; background: transparent; border: 1px solid var(--line); border-radius: 50%; filter: grayscale(1); opacity: .55; font-size: 16px; }
.pk-lock.on { filter: none; opacity: 1; border-color: var(--gold); background: rgba(242,193,78,.15); box-shadow: 0 0 0 3px rgba(242,193,78,.12); }
.pk-lock.off { display: inline-block; border-color: transparent; }
.pk-lock:disabled { cursor: default; }

.pk-q { padding: 12px 14px; }
.pk-qhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.pk-pls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.pk-pl { display: inline-flex; align-items: center; gap: 8px; }
.pk-pl img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--panel2); }
.pk-pl span { display: flex; flex-direction: column; }
.pk-sel { flex: 1; }

.pk-boldc { border: 1px solid var(--line); background: var(--panel2); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.pk-boldc.mine { border-color: var(--gold); }
#pk-bold textarea { font: inherit; color: var(--text); background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; width: 100%; resize: vertical; }
.pk-rules ul { padding-left: 18px; } .pk-rules li { margin-bottom: 6px; }

@media (max-width: 560px) {
  .pk-stats { gap: 10px; width: 100%; justify-content: space-between; }
  .pk-rl { width: 44px; font-size: 10px; }
  .pk-opt { padding: 6px 8px; }
  .pk-grid, .pk-games { grid-template-columns: minmax(0, 1fr); }
  .pk-team img { width: 22px; height: 22px; }
  .pk-coins { font-size: 26px; }
}
