/* Each action owns its hit area. Labels and icons never overflow into neighbours. */
#modal{width:min(600px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain}#modal-content{min-width:0}.modal-head{gap:16px}.modal-head h2{min-width:0;overflow-wrap:anywhere}.modal-head .icon-btn{flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:11px;display:grid;place-items:center}.modal-head .icon-btn .icon{width:20px;height:20px}.modal-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px;align-items:stretch}.modal-actions .btn{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;max-width:100%;min-height:48px;height:auto;padding:13px 16px;white-space:normal;overflow-wrap:anywhere;font:600 13px/1.4 TourSans,sans-serif;letter-spacing:.2px;text-align:center;box-sizing:border-box}.modal-actions .btn>span{min-width:0}.modal-actions .btn .icon{flex:0 0 18px;width:18px;height:18px;margin:0}.btn:focus-visible,.icon-btn:focus-visible{outline:2px solid #f4d68d;outline-offset:3px}.hole-result-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:24px}.hole-result-actions .btn.primary{grid-column:1/-1;min-height:54px;justify-content:space-between;padding:15px 20px}.hole-result-actions .btn.primary .icon{width:22px;height:22px;flex-basis:22px}.hole-completion>p{margin:15px 0 0}.hole-totals{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px;border-top:1px solid #8aa9a344;padding-top:17px}.hole-totals span{display:grid;gap:8px;font-size:8px;letter-spacing:1.4px;color:#9bbeb0}.hole-totals strong{font:22px TourSans,sans-serif;color:#f2d28b;letter-spacing:0}.round-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:20px 0;color:#b8cbb3}.round-summary>div{display:grid;gap:7px;padding:11px 4px;background:#12323e;border:1px solid #74998e44;text-align:center;min-width:0}.round-summary small{font-size:9px;letter-spacing:1px}.round-summary strong{font:19px TourSans,sans-serif;color:#b0c0ae}.round-summary span{font:9px TourSans,sans-serif;white-space:nowrap}.round-summary .is-current{border-color:#d8bf7e}.round-summary .is-complete strong{color:#f0d490}.bot-leaderboard{font-variant-numeric:tabular-nums}.bot-leaderboard th,.bot-leaderboard td{white-space:nowrap}.bot-leaderboard th:nth-child(2),.bot-leaderboard td:nth-child(2){min-width:125px}.match-screen .club-controls .options-toggle{white-space:normal}.shot-options-panel{max-height:calc(100dvh - 145px);overflow:auto;overscroll-behavior:contain}
@media(max-width:560px){#modal{width:calc(100% - 24px);max-height:calc(100dvh - 32px);margin:auto}.modal-head{padding:17px 18px}.modal-head h2{font-size:clamp(17px,4.5vw,23px);line-height:1.5;letter-spacing:-.5px}.modal-body{padding:22px 18px}.modal-actions{gap:10px}.modal-actions .btn{font-size:12px;min-height:48px;padding:12px 10px}.hole-result-actions .btn.primary{min-height:54px;padding:14px 17px}.hole-completion .result-number{font-size:58px;margin-top:23px}.hole-completion h2{font-size:24px;margin-top:10px}.hole-completion>.eyebrow{font-size:8px;line-height:1.8;display:block}.hole-completion>p{font-size:12px;line-height:1.7}.hole-totals{margin-top:17px;padding-top:15px;gap:12px}.round-summary{gap:5px}.round-summary>div{padding:10px 2px}.round-summary span{font-size:8px}.bot-leaderboard th,.bot-leaderboard td{padding:10px 8px;font-size:11px}.shot-options-panel{max-height:calc(100dvh - 170px)}}
@media(max-width:340px){.modal-actions .btn{font-size:11px;gap:7px}.modal-head{padding:14px}.modal-body{padding:18px 14px}.hole-result-actions .btn.primary{padding:14px}.hole-totals span{font-size:7px;letter-spacing:1px}}
.shot-options-panel{max-height:calc(100dvh - 290px)}
@media(max-width:560px){.shot-options-panel{max-height:calc(100dvh - 320px)}.match-screen .club-controls .options-toggle:not(.scout-toggle){max-width:106px;flex:0 1 106px;text-align:right;line-height:1.5}}
@media(max-height:650px) and (min-width:561px){.shot-options-panel{max-height:calc(100dvh - 250px)}}
