header{display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:4px 16px;padding:12px 0!important;text-align:left!important;min-height:0!important}header>a{grid-column:1;justify-self:start}header>span{grid-column:1;grid-row:2;justify-self:start}#account-menu{grid-column:2;grid-row:1/3;margin:0!important}#account-menu>summary{width:42px;height:42px}#manage-my-leagues-dialog{max-width:650px;width:calc(100% - 24px);max-height:85dvh;overflow:auto;border:1px solid #dfe4d8;border-radius:20px}#manage-my-leagues{margin-top:10px}.hole-progress button.missing{border:2px solid #b32335;background:#fff0f1;color:#8d1728;font-weight:bold}.missing-warning{background:#fff0f1;color:#8d1728;border:2px solid #b32335;border-radius:12px;padding:12px;font-weight:bold}.hole-row{display:grid!important;grid-template-columns:60px 35px 42px minmax(95px,1fr);gap:8px;align-items:center;padding:10px 0}.hole-row label{font-size:11px;min-width:0}.hole-row label:has(input[data-key=par]),.hole-row label:has(input[data-key=si]){font-size:0}.hole-row input[data-key=par],.hole-row input[data-key=si]{border:0;background:transparent;padding:0;width:100%;font-size:16px;pointer-events:none}.hole-row input[data-key=score]{max-width:74px;height:48px;text-align:center;font-size:22px;font-weight:bold;margin:auto}.hole-row input.par{border-radius:50%;background:white;border:1px solid #91989d}.hole-row input.birdie,.hole-row input.eagle{border-radius:50%;color:white;background:#d5243b}.hole-row input.eagle{background:#08764b}.hole-row input.bogey{border-radius:0;background:#0874bc;color:white}.hole-row input.double{border-radius:0;background:#152b38;color:white}.hole-row input.missing{border:2px solid #b32335;background:#fff0f1}.hole-row .score-controls{max-width:112px;margin:auto;gap:5px}.hole-row .score-controls button{min-height:36px;padding:0;font-size:22px}.round-table-scroll{overflow-x:auto}.round-table-scroll table{min-width:750px;width:100%}.round-table-scroll th button{font-size:12px;padding:6px;white-space:nowrap}.round-table-scroll td{padding:8px}.round-review-summary{padding:15px;border:1px solid #dfe4d8;border-radius:15px;margin:12px 0}.success{background:#eaf0e2;color:#173b30;padding:12px;border-radius:10px}@media(max-width:650px){.league-main #table tr{grid-template-columns:30px minmax(0,1fr) 82px}.league-main #table td:nth-child(3){grid-column:3;grid-row:1/3}.league-main #table td:nth-child(4),.league-main #table td:nth-child(5){grid-column:auto;font-size:13px}.league-main #table td:nth-child(4)::before,.league-main #table td:nth-child(5)::before{content:attr(data-label);display:block;font-size:10px}.league-main #table td:nth-child(6){grid-column:2;font-size:12px}.league-main #table td:nth-child(7){grid-column:2/4;font-size:12px}.league-main #table td:nth-child(6)::before{content:'Rounds: '}.hole-row{gap:5px;grid-template-columns:54px 30px 36px minmax(100px,1fr)}}

.hole-fixed-value{font-size:16px}.pickup-marker{font-weight:bold;font-size:18px}.hole-progress button{font-size:10px;overflow-wrap:anywhere}#round-heading{font-size:14px}#go-missing-hole{margin-bottom:10px}

.hole-head{font-size:12px}.hole-row label:has(input[data-key=score]){font-size:0}#tee-status{font-size:14px;font-weight:600}#round-review-summary button{margin:8px 8px 8px 0}#review-go-missing{font-size:15px}

/* The Home shortcut opens the same narrow-screen creation dialog. */
#manage-my-leagues-dialog #actions{grid-template-columns:minmax(0,1fr)}#manage-my-leagues-dialog #create{min-width:0;width:100%}#manage-my-leagues-dialog input,#manage-my-leagues-dialog select{min-width:0;max-width:100%}@media(max-width:650px){#manage-my-leagues-dialog{padding:16px}#manage-my-leagues-dialog #league-manage{padding:12px}#manage-my-leagues-dialog #create{padding:8px;border:0}}
