/* Two permanent primary actions, with Local Rules on its own row when available. */
body.live-scoring-tools.scoring-tools-ready #scoring-tools-dock.scoring-rules-dock:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;position:fixed;inset:auto 0 0;z-index:1200;box-sizing:border-box;padding:10px max(12px,calc((100vw - 560px)/2)) calc(10px + env(safe-area-inset-bottom));background:#f9f9fbf5;border-top:1px solid #dfe1e6;backdrop-filter:blur(16px)}
body #scoring-tools-dock.scoring-rules-dock[hidden]{display:none!important}
body #scoring-tools-dock .lost-ball-timer:not([hidden]),body #scoring-tools-dock button.rules-help-float:not([hidden]){display:flex!important;position:static!important;align-items:center;justify-content:center;min-height:56px!important;min-width:0;max-width:none!important;width:100%!important;box-sizing:border-box;margin:0!important;padding:10px 8px!important;border-radius:14px!important;font-size:14px!important;font-weight:800!important;line-height:1.25!important;white-space:normal;box-shadow:none!important}
body #scoring-tools-dock .lost-ball-timer{grid-column:1;grid-row:1}
body #scoring-tools-dock button.rules-help-float{grid-column:2;grid-row:1;background:#176b60!important;color:#fff!important}
body #scoring-tools-dock a.rules-help-float:not([hidden]){display:flex!important;position:static!important;grid-column:1/-1;grid-row:2;align-items:center;justify-content:center;min-height:44px!important;box-sizing:border-box;width:100%!important;margin:0!important;padding:8px!important;font-size:14px!important;box-shadow:none!important}
body.live-scoring-tools.scoring-tools-ready{padding-bottom:calc(var(--scoring-tools-height,100px) + 16px)!important}
body.scoring-tools-ready #competition-match-float,body.scoring-tools-ready #competition-global-float{bottom:calc(var(--scoring-tools-height,100px) + 12px)!important}
