/* Match controls: consistent colors in light and dark themes. */
#app #entry [data-player="0"],#app #entry [data-player="1"]{background:#fffaf0!important;border-color:#e9dfbe!important;color:#493b19!important}
#app #entry [data-player="2"],#app #entry [data-player="3"]{background:#f0f7ff!important;border-color:#d0dfed!important;color:#173e60!important}
#app #entry [data-player] small{color:inherit!important;opacity:.85}
#app #entry [data-player]:not(:disabled):hover{filter:brightness(.96)}
#app #entry [data-type="unforced"].selected,#app #entry [data-type="serve"].selected,#app #entry [data-type="return"].selected,#app #entry [data-shot-result="unforced"].selected{background:#ffe1df!important;border-color:#d88f8a!important;color:#792f2b!important;box-shadow:0 0 0 1px #d88f8a!important}
#app #entry [data-type="unforced"].selected small,#app #entry [data-type="serve"].selected small,#app #entry [data-type="return"].selected small{color:#792f2b!important}
#app #entry [data-type="unforced"].selected:after,#app #entry [data-type="serve"].selected:after,#app #entry [data-type="return"].selected:after{background:#b04e47!important;color:white!important}
#app #undo,#app #end{background:#176b7a!important;border:1px solid #115969!important;color:#fff!important;box-shadow:0 3px 9px #083b4720!important}
#app #undo:not(:disabled):hover,#app #end:not(:disabled):hover{background:#105663!important}
#app #undo:disabled{background:#c5d5d8!important;border-color:#b5c7cb!important;color:#566c71!important;opacity:1!important;box-shadow:none!important}
#app #entry button:focus-visible{outline:3px solid #247f91;outline-offset:3px}

#app #entry .pick:has(>[data-player]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
#app #entry [data-player="0"]{grid-column:1;grid-row:1}
#app #entry [data-player="1"]{grid-column:1;grid-row:2}
#app #entry [data-player="2"]{grid-column:2;grid-row:1}
#app #entry [data-player="3"]{grid-column:2;grid-row:2}
#app #entry [data-player]{min-width:0;overflow-wrap:anywhere}
