/* Mobile sharing preserves the existing fixed-euro allocation workflow. */
#shareBetModal.share-bet-dialog{max-width:min(660px,calc(100vw - 28px))}
#shareBetForm.share-bet-card{max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain;scroll-padding-bottom:100px}
#shareBetForm .share-select-fallback{display:none}
#shareBetForm .share-recipient-fieldset{border:0;padding:0;margin:18px 0}
#shareBetForm .share-recipient-fieldset legend{font-size:14px;font-weight:750;margin-bottom:10px;color:var(--text)}
#shareBetForm .share-recipient-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:210px;overflow-y:auto;padding:3px}
#shareBetForm .share-recipient{min-height:52px;overflow-wrap:anywhere;background:var(--panel2);text-align:left;border:1px solid var(--border)}
#shareBetForm .share-recipient[aria-checked="true"]{border-color:var(--accent);background:#18372d;color:var(--accent)}
#shareBetForm .share-recipient[aria-checked="true"]::after{content:" ✓"}
#shareBetForm .share-amount-grid{grid-template-columns:1fr}
#shareBetForm .share-amount-grid label{color:var(--text);font-weight:750;font-size:14px;gap:10px}
#shareStake{min-height:52px;font-size:22px;font-variant-numeric:tabular-nums}
#shareBetForm .share-amount-presets{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 4px}
#shareBetForm .share-amount-preset{min-height:44px;padding:9px 12px;font-size:14px}
#shareBetForm .share-amount-preset[aria-pressed="true"]{border-color:var(--accent);color:var(--accent)}
#shareBetForm .share-split-summary{border:1px solid var(--border);border-radius:14px;background:var(--panel2);padding:14px;margin:12px 0 16px}
#shareBetForm .share-split-total{margin:0 0 12px;color:var(--muted);font-size:14px}
#shareBetForm .share-split-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#shareBetForm .share-split-part{min-width:0;display:grid;gap:6px}
#shareBetForm .share-part-name{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
#shareBetForm .share-part-amount{font-size:24px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#shareBetForm .share-source-photo{display:block;font-size:14px;min-height:44px;padding:8px 0}
#shareBetForm .share-source-photo[hidden]{display:none}
#shareCalculate{width:100%;min-height:48px}
#sharePreview{margin-top:16px}
#sharePreview:empty{display:none}
#sharePreview table{min-width:0;table-layout:fixed}
#sharePreview th,#sharePreview td{padding:10px 5px;font-size:13px;overflow-wrap:anywhere;letter-spacing:normal;text-transform:none}
#sharePreview th:first-child{width:42%}
#sharePreview td{font-variant-numeric:tabular-nums}
#sharePreview .share-preview-title{font-weight:750;font-size:14px;color:var(--accent);margin:0 0 8px;overflow-wrap:anywhere}
#sharePreview .help-text{margin:12px 0 0}
#shareError:empty{display:none}
#shareError{color:var(--danger);font-size:14px}
#shareBetForm .share-sticky-actions{position:sticky;bottom:-20px;background:var(--panel);border-top:1px solid var(--border);padding:14px 0 calc(14px + env(safe-area-inset-bottom,0px));margin-bottom:-20px;z-index:2;display:grid;grid-template-columns:auto 1fr}
#shareBetForm button{touch-action:manipulation}
#shareBetForm .share-sticky-actions button,#shareBetForm .icon-btn{min-height:44px;min-width:44px}
@media(max-width:620px){
 #shareBetModal.share-bet-dialog{max-width:calc(100vw - 16px)}
 #shareBetForm.share-bet-card{padding:16px;max-height:calc(100dvh - 16px);border-radius:16px}
 #shareBetForm .modal-head h2{font-size:21px}
 #shareBetForm .share-sticky-actions{bottom:-16px;margin-bottom:-16px}
 #shareBetForm .share-sticky-actions button{font-size:13px;padding:10px 8px}
 #shareBetForm .share-part-amount{font-size:22px}
}
