/* When to play page. Uses /style.css for the base theme; these rules only lay out the planner. */
.wtp-controls { display: grid; gap: .75rem; margin: 1.25rem 0; }
.wtp-controls label { display: grid; gap: .25rem; font-size: .9rem; }
.wtp-controls select { width: 100%; min-height: 2.75rem; font: inherit; padding: 0 .5rem; }
.wtp-summary { border: 1px solid rgba(127,127,127,.4); border-radius: 6px; padding: 1rem; margin: 1rem 0; }
.wtp-summary h2 { margin-top: 0; }
.wtp-top { padding-left: 1.25rem; margin: .5rem 0; }
.wtp-note, .wtp-coverage, .wtp-method { font-size: .9rem; opacity: .85; }
.wtp-status-msg { padding: .75rem 1rem; border: 1px dashed rgba(127,127,127,.5); border-radius: 6px; }
.wtp-error { border-style: solid; }
.wtp-clock { font-size: .9rem; padding-left: 1.25rem; }
.wtp-scroll { overflow-x: auto; }
.wtp-table { width: 100%; border-collapse: collapse; min-width: 34rem; }
.wtp-table caption { text-align: left; font-weight: 600; padding: .5rem 0; }
.wtp-table th, .wtp-table td { padding: .4rem .5rem; border-bottom: 1px solid rgba(127,127,127,.25); text-align: left; vertical-align: top; }
.wtp-table thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.wtp-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.wtp-barcell { width: 20%; min-width: 4rem; }
.wtp-bar { display: block; height: .75rem; border-radius: 2px; background: currentColor; opacity: .75; }
.wtp-bar-weak { opacity: .25; }
.wtp-badge { display: inline-block; padding: .05rem .45rem; border: 1px solid currentColor; border-radius: 999px; font-size: .8rem; white-space: nowrap; }
.wtp-badge-weak { opacity: .7; border-style: dashed; }
.wtp-badge-top { font-weight: 700; }
.wtp-top-row th, .wtp-top-row td { background: rgba(127,127,127,.12); }
.wtp-status small { display: block; opacity: .8; }
.wtp-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 40rem) {
  .wtp-controls { grid-template-columns: repeat(3, 1fr); }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wtp-summary { border: 0; border-left: 3px solid var(--gold); border-radius: 0; background: var(--panel); }
.wtp-top { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; padding: 0; list-style: none; }
.wtp-top li { font-size: 14px; color: var(--muted); }
.wtp-top strong { display: block; color: var(--gold); font: bold 24px/1.2 var(--heading); }
.wtp-top-row th { color: var(--gold); }
.wtp-bar { width: 100%; background: transparent; accent-color: var(--gold); }
@media(max-width:600px) {
  .wtp-controls { grid-template-columns: 1fr 1fr; }
  .wtp-controls label:first-child { grid-column: 1/-1; }
  .wtp-table { min-width: 0; font-size: 12px; }
  .wtp-table td,.wtp-table th { padding: 5px 3px; }
  .wtp-table td:nth-child(5), .wtp-table th:nth-child(5), .wtp-status small { display: none; }
  .wtp-badge { white-space: normal; border: 0; }
}
