/* Compact mode controls share the existing birth action's green area. */
.birth-start-area{background:var(--accent);border-radius:8px;color:var(--bg);padding:4px 8px 0;min-width:0}
.birth-mode-choice{display:flex;justify-content:center;align-items:center;gap:4px;margin:0;padding:0;border:0;min-width:0}
.birth-mode-choice label{display:flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:5px 10px;margin:0;border:1px solid transparent;border-radius:30px;cursor:pointer;font:12px/1.2 system-ui,sans-serif;color:#171719;white-space:nowrap}
.birth-mode-choice label:has(input:checked){border-color:#171719;background:#171719;color:#eff0e8;font-weight:600}
.birth-mode-choice input{appearance:none;position:absolute;opacity:0;width:1px;height:1px;margin:0}
.birth-mode-choice label:has(input:focus-visible){outline:2px solid #171719;outline-offset:2px}
.birth-mode-choice label:has(input:disabled){cursor:default;opacity:.65}
.birth-start-area>.button{width:100%;margin:0!important;border:0;border-radius:8px;min-height:50px;font-size:16px;padding:11px 10px}
.birth-start-inline{padding-top:10px}.birth-mode-hint{margin:5px 0 3px!important;text-align:center;font:11px/1.6 system-ui,sans-serif!important;color:#171719!important;min-height:18px}
.home-random-dock .birth-start-area>.button{min-height:44px}
.birth-probability .birth-mode-summary,.birth-probability .population-scope{display:block;font-size:11px;line-height:1.6;margin-top:5px;color:var(--muted)}
.birth-probability .population-count{font-size:clamp(20px,6.5vw,28px);line-height:1.45;max-width:100%;overflow-wrap:anywhere}
.birth-probability .population-reference{max-width:400px;margin:8px auto 0;text-align:left;font:11px/1.65 system-ui,sans-serif;color:var(--muted)}
.population-reference summary{cursor:pointer;text-align:center;min-height:32px;padding:6px}
.population-reference ul{padding-left:18px;margin:6px 0}.population-reference a{overflow-wrap:anywhere}
@media(max-width:359px){.birth-mode-choice label{padding:5px 8px;font-size:11px}.birth-start-area>.button{font-size:14px}}
