/* Match the original site's type, colours and simple fixture rows. */
:root {
  color-scheme: light;
  --green: #0b6a42;
  --ink: #1f2923;
  --muted: #66736b;
  --line: #d3ddd6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #fff; color: var(--ink); font: 14px/1.5 "Merriweather Sans", sans-serif; }
a { color: var(--green); }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px max(20px, calc((100vw - 1040px)/2)); border-bottom: 1px solid #edf1ee; }
.topbar > a:last-child { color: var(--muted); font-size: 13px; text-decoration: none; }
.brand { color: var(--green); font-size: 19px; font-weight: 700; text-decoration: none; }
.pick-shell { max-width: 760px; margin: auto; padding: 30px 20px 36px; }
.pick-shell > header { padding-bottom: 16px; border-bottom: 2px solid var(--green); }
h1 { margin: 0 0 8px; font-size: 29px; line-height: 1.25; font-weight: 700; }
h2 { margin: 0; font-size: 18px; font-weight: 700; }
h3 { margin: 18px 0 4px; font-size: 15px; font-weight: 700; }
.intro { margin: 0; color: var(--muted); font-size: 13px; }
.deadline { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 12px 0 0; font-size: 12px; }
.deadline strong { color: var(--muted); }
.deadline span { color: var(--green); font-weight: 700; }
.pick-panel { padding-top: 20px; }
.pick-panel > label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
input[type=search], input[type=url] { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); background: #fff; font: inherit; }
input[type=search] { max-width: 380px; min-height: 40px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.help { margin: 7px 0; color: var(--muted); font-size: 12px; }
.player-search { position: relative; }
#playerOptions { max-width: 380px; max-height: 220px; margin: 3px 0 0; padding: 0; overflow: auto; border: 1px solid var(--line); list-style: none; background: #fff; }
#playerOptions li { padding: 9px 10px; border-bottom: 1px solid #edf1ee; cursor: pointer; }
#playerOptions li[aria-selected=true], #playerOptions li:hover { background: #f3f6f4; }
.player-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.text-button { padding: 6px 0; border: 0; background: transparent; color: var(--green); font-size: 12px; text-decoration: underline; }
.fixture-list { margin-top: 12px; border-top: 1px solid var(--line); }
.fixture { display: grid; grid-template-columns: 138px 1fr; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid #edf1ee; }
.fixture time { color: var(--muted); font-size: 11px; }
.fixture-teams { display: grid; grid-template-columns: 1fr 18px 1fr; align-items: stretch; gap: 6px; }
.fixture-v { align-self: center; text-align: center; color: var(--muted); font-size: 11px; }
.team-choice { min-height: 38px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 400; line-height: 1.3; overflow-wrap: anywhere; }
.team-choice:hover:not(:disabled) { border-color: var(--green); background: #f3f6f4; }
.team-choice[aria-pressed=true], .team-choice[aria-pressed=true]:hover { border-color: var(--green); background: var(--green); color: #fff; }
.team-choice:disabled { border-color: #e4e9e5; background: #f5f6f5; color: #8b948e; cursor: default; }
.team-choice small { display: block; margin-top: 2px; font-size: 10px; font-weight: 400; }
.save-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 14px; margin-top: 16px; }
#pickSummary { grid-column: 1 / -1; margin: 0; font-size: 13px; font-weight: 700; }
.remember { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.remember input { accent-color: var(--green); }
.primary, .secondary { min-height: 38px; padding: 8px 18px; border: 1px solid var(--green); border-radius: 2px; font-size: 12px; font-weight: 700; }
.primary { color: #fff; background: var(--green); }
.primary:disabled { opacity: .45; cursor: default; }
.secondary { margin-top: 8px; color: var(--green); background: #fff; }
.message { margin: 14px 0 0; color: var(--green); font-size: 13px; }
.message:empty { display: none; }
.message.error { color: #8a2d2d; }
.saved-link { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.saved-link summary { color: var(--muted); font-size: 12px; cursor: pointer; }
.saved-link input { font-size: 11px; }
.footnote, .contact { margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.contact { margin-top: 6px; }
@media (max-width: 575px) {
  .topbar { padding: 14px 16px; }
  .brand { font-size: 17px; }
  .pick-shell { padding: 22px 16px 30px; }
  h1 { font-size: 25px; }
  .fixture { grid-template-columns: 1fr; gap: 5px; padding: 8px 0; }
  .team-choice { min-height: 44px; padding: 7px 6px; }
  .primary, .secondary { min-height: 44px; padding: 9px 16px; }
}
