/* Pitch limit panel (pitch counter card and baseball board). */
.pl { margin: .6rem 0; padding: .6rem .7rem; border: 1px solid var(--border, #d1d5db); border-radius: 10px; background: var(--bg-secondary, #f8fafc); color: var(--text-primary, #1f2937); font-size: .85rem; text-align: left; }
.pl[hidden], .pl [hidden] { display: none; }
.pl-controls { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; }
.pl-field { display: flex; flex-direction: column; gap: .15rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #6b7280); }
.pl-field select, .pl-field input { padding: .35rem .5rem; border: 1px solid var(--border, #d1d5db); border-radius: 8px; font: inherit; font-size: .85rem; text-transform: none; letter-spacing: 0; background: var(--bg-primary, #fff); color: inherit; max-width: 14rem; }
.pl-field input { width: 6rem; }
.pl-status { margin-top: .5rem; padding: .45rem .6rem; border-radius: 8px; font-weight: 600; line-height: 1.35; background: #eef2f7; }
.pl-status.is-ok { background: #e7f6ec; color: #14532d; }
.pl-status.is-warn { background: #fef3c7; color: #78350f; }
.pl-status.is-stop { background: #fee2e2; color: #7f1d1d; }
.pl-status.is-none { background: #eef2f7; color: #334155; font-weight: 500; }
.pl-rest { margin-top: .4rem; font-size: .8rem; line-height: 1.35; }
.pl-source { margin-top: .4rem; font-size: .72rem; color: var(--muted, #6b7280); line-height: 1.35; }
.pl-stop { margin-top: .5rem; padding: .7rem; border: 2px solid #b91c1c; border-radius: 10px; background: #fff1f2; color: #7f1d1d; }
.pl-stop p { margin: 0 0 .5rem; font-weight: 700; line-height: 1.35; }
.pl-stop-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.pl-stop-actions button { padding: .45rem .8rem; border-radius: 8px; border: 1px solid #b91c1c; background: #fff; color: #7f1d1d; font: inherit; font-weight: 700; cursor: pointer; }
.pl-stop-actions button:first-child { background: #b91c1c; color: #fff; }
