.share-dialog{width:min(980px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:0;border:0;border-radius:22px;background:#f7fbfa;color:#12384a;box-shadow:0 30px 90px rgba(7,42,54,.3);overflow:auto}
.share-dialog::backdrop{background:rgba(7,27,36,.62);backdrop-filter:blur(5px)}
.share-dialog-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #dce9e7;background:rgba(255,255,255,.94);backdrop-filter:blur(12px)}
.share-dialog-head h2{margin:0;font-size:20px}.share-dialog-close{width:42px;height:42px;padding:0;border:1px solid #d4e3e1;border-radius:50%;background:#fff;color:#315460;font-size:24px}
.share-dialog-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;padding:22px}
.share-preview{min-width:0;padding:28px;border:1px solid #d7e7e4;border-radius:20px;background:linear-gradient(135deg,rgba(226,249,241,.94),rgba(255,255,255,.97) 52%,rgba(225,240,255,.95)),url('/assets/home-stadium-v168.png') center/cover;box-shadow:0 14px 38px rgba(15,77,72,.1)}
.share-preview-brand{display:flex;align-items:center;gap:9px;color:#0b374b;font-size:21px}.share-preview-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#12b76b;color:#fff;font-size:14px}
.share-preview-competition{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;margin:20px 0 12px;color:#12836d;font-size:12px;font-weight:850;letter-spacing:.08em;text-align:center;text-transform:uppercase}.share-preview-competition-logo{width:auto!important;max-width:112px;height:40px!important;object-fit:contain}
.share-preview-match{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);align-items:center;gap:12px;padding:17px 14px;border:1px solid rgba(68,131,147,.13);border-radius:18px;background:rgba(236,248,251,.72);text-align:center}.share-preview-match>b{color:#14856b;font-size:13px}.share-preview-team{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0}.share-preview-team-logo{width:76px!important;height:76px!important;object-fit:contain}.share-preview-team strong{max-width:100%;color:#102f43;font-size:clamp(17px,2.5vw,24px);line-height:1.15;overflow-wrap:anywhere}.share-preview-date{margin:12px 0 0;text-align:center;color:#4e6d7b;font-size:14px;font-weight:650}
.share-preview-section{margin-top:22px;padding-top:17px;border-top:1px solid #d5e7e3}.share-preview-section h3{margin:0 0 10px;color:#145c52;font-size:14px}.share-preview-section ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.share-preview-section li{display:flex;align-items:center;gap:10px;min-width:0;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.75)}
.share-preview-section .channel-logo{width:45px;min-height:38px;flex-basis:45px}.share-preview-section .channel-logo img{width:100%;height:36px;max-height:36px;padding:4px}.share-preview-section li>span:last-child{min-width:0}.share-preview-section strong,.share-preview-section small{display:block;overflow-wrap:anywhere}.share-preview-section strong{font-size:14px}.share-preview-section small{margin-top:2px;color:#657c86;font-size:11px}.share-preview-empty{color:#607984;font-size:13px}.share-preview-note{margin:20px 0 0;color:#617984;font-size:11px;text-align:center}
.share-actions{display:flex;flex-direction:column;gap:10px;align-self:start;position:sticky;top:88px}.share-actions p{margin:0 0 6px;color:#546f7b;font-size:13px;line-height:1.5}.share-actions button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;padding:10px 13px;border:1px solid #c8dcda;border-radius:12px;background:#fff;color:#174858;font:inherit;font-weight:750}.share-actions .share-primary{border-color:#07875d;background:#07875d;color:#fff}.share-actions button:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(10,87,70,.1)}#shareDialogStatus{min-height:20px;color:#1b6e5d;font-size:12px}
#shareMatchCanvas{display:none}
@media(max-width:700px){.share-dialog{width:100%;max-height:100dvh;height:100dvh;border-radius:0}.share-dialog-body{grid-template-columns:minmax(0,1fr);padding:12px}.share-dialog-head{padding:11px 14px}.share-preview{padding:18px 14px;border-radius:16px}.share-preview-match{gap:7px;padding:14px 8px}.share-preview-team-logo{width:64px!important;height:64px!important}.share-actions{position:static;display:grid;grid-template-columns:1fr 1fr;padding-bottom:max(8px,env(safe-area-inset-bottom))}.share-actions p,#shareDialogStatus{grid-column:1/-1}.share-actions button{min-width:0;font-size:13px}}
@media(max-width:380px){.share-preview-team-logo{width:54px!important;height:54px!important}.share-preview-team strong{font-size:15px}.share-actions{grid-template-columns:1fr}}
@media print{body.share-printing>*:not(.share-dialog){display:none!important}.share-dialog{display:block!important;position:static!important;width:100%!important;max-height:none!important;border-radius:0!important;box-shadow:none!important}.share-dialog::backdrop,.share-dialog-head,.share-actions{display:none!important}.share-dialog-body{display:block!important;padding:0!important}.share-preview{border:0!important;box-shadow:none!important;break-inside:avoid}}
