/* Selection controls are separate from the official game-format reference. */
html[data-theme] body[data-game] .ll-selection-settings{min-width:0;margin:0 0 20px;padding:16px;border:1px solid var(--mf-edge,#cbdde6);border-radius:14px;background:var(--mf-card-alt,#edf5f8)}
html[data-theme] body[data-game] .ll-selection-settings h3{margin:0 0 12px;font-size:15px;line-height:1.45;color:var(--mf-ink,#173a50)!important}
html[data-theme] body[data-game] .ll-selection-settings label{display:block;margin:12px 0 7px;font-size:11px;line-height:1.5;font-weight:800;color:var(--mf-ink,#173a50)!important}
html[data-theme] body[data-game] .ll-selection-settings :is(select,input){box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;min-height:44px;border-radius:10px}
html[data-theme] body[data-game] .ll-selection-settings p{margin:10px 0 0;font-size:11px;line-height:1.75;color:var(--mf-muted,#496476)!important;overflow-wrap:anywhere}
html[data-theme] body[data-game] .ll-selection-settings [hidden],html[data-theme] body[data-game] .atlas-pick-box[hidden]{display:none!important}
html[data-theme] body[data-game] .ll-selection-settings :focus-visible{outline:3px solid var(--mf-blue,#1679ac)!important;outline-offset:3px}
html[data-theme] body[data-game][data-selection-mode=custom] #lines .ll-ticket-ball-layout{display:block!important;min-width:0;width:100%}
html[data-theme] body[data-game][data-selection-mode=custom] #lines .ll-ticket-main-balls{display:flex!important;flex-wrap:wrap!important;gap:10px!important;max-width:100%;min-width:0;overflow:visible!important}
html[data-theme] body[data-game][data-selection-mode=custom] #lines .ll-ticket-main-balls .number-ball{flex:0 0 48px!important;width:48px!important;height:48px!important;font-size:15px!important}
html[data-theme] body[data-game] .ll-custom-check-note{padding:12px;border:1px solid var(--mf-edge,#cbdde6);border-radius:10px;background:var(--mf-card-alt,#edf5f8);color:var(--mf-muted,#496476)!important;font-size:12px;line-height:1.7}
.ll-betfred-format-note{margin-top:18px;padding:15px;border-left:3px solid #2379aa;background:var(--lq-tint,#edf5f8);font-size:12px;line-height:1.8;color:var(--lq-muted,#496476)}
@media(max-width:600px){html[data-theme] body[data-game] .ll-selection-settings{padding:14px}html[data-theme] body[data-game][data-selection-mode=custom] #lines .ll-ticket-main-balls .number-ball{flex-basis:40px!important;width:40px!important;height:40px!important;font-size:13px!important}}
@media print{.ll-selection-settings,.ll-betfred-format-note{display:none!important}}

html[data-theme] body[data-game] #applyCustomBallCount{margin-top:10px;width:100%;min-height:42px;white-space:normal}

/* Keep the open phone finder inside the visible width, excluding its scrollbar. */
@media(max-width:720px){html[data-theme] body #siteHeader #orbitNativeFinder.ou-native-finder .ou-native-menu{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important}}
