/* Generated from approved sharing.css; SHA256 00e3db8d0674aea3a5d5f27bbeffc578e8276133d6b056a9cc19821a102d15c1.
   Source declarations preserved; selectors/tokens adapted by scripts/design/import-approved-ui.py. */
.cc-sharing-dialog{position:fixed;inset:0;margin:auto;width:min(560px,calc(100% - 32px));max-width:560px;max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--cc-border);border-radius:22px;background:var(--cc-surface);color:var(--cc-text);box-shadow:0 24px 80px #0b283534;overflow:hidden;font:inherit}
.cc-sharing-dialog[open]{display:flex;flex-direction:column}
.cc-sharing-dialog::backdrop{background:#0e263756;backdrop-filter:blur(5px)}
.cc-share-head{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:24px 26px 20px;border-bottom:1px solid var(--cc-border);flex:none}
.cc-share-head h2{font-family:var(--cc-display);font-weight:var(--cc-heading-weight);font-size:28px;line-height:1.15;letter-spacing:-.9px}
.cc-share-head h2:focus{outline:none}
.cc-share-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--cc-border);border-radius:50%;background:var(--cc-surface);color:var(--cc-text);font-size:27px;box-shadow:none;line-height:1}
.cc-share-body{padding:22px 26px;overflow:auto;min-height:0;overscroll-behavior:contain;display:flex;flex-direction:column;gap:20px}
.cc-share-pinned{padding:22px 26px 0;flex:none}
.sh-recommending .cc-share-body>*{flex-shrink:0}
.cc-share-foot{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:16px 26px;border-top:1px solid var(--cc-border);background:var(--cc-surface);flex:none}
.cc-share-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid var(--cc-border);border-radius:10px;padding:10px 17px;font-size:14px;font-weight:650;line-height:1.35;background:var(--cc-surface);color:var(--cc-text);text-decoration:none;box-shadow:none;cursor:pointer}
.cc-share-button:hover,.cc-share-close:hover{background:var(--cc-tint)}
.cc-share-primary{background:var(--cc-primary);color:var(--cc-primary-text);border-color:var(--cc-primary)}
.cc-share-primary:hover{background:var(--cc-primary);filter:brightness(.94)}
.cc-share-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;flex:none}
.sh-summary{display:flex;align-items:center;gap:14px;background:var(--cc-page);border:1px solid var(--cc-border);border-radius:14px;padding:15px}
.sh-summary>div{min-width:0}
.sh-summary strong{font-family:var(--cc-display);font-weight:var(--cc-heading-weight);font-size:17px;line-height:1.35;display:block}
.sh-meta{color:var(--cc-muted);font-size:12px;line-height:1.5;margin-top:5px}
.sh-symbol{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:var(--cc-secondary);color:var(--cc-secondary-text)}
.sh-symbol svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.sh-copy{font-size:14px;line-height:1.6;color:var(--cc-muted)}
.sh-copy strong{color:var(--cc-text)}
.sh-link-label,.sh-search-label{font-size:13px;font-weight:650;display:block;margin-bottom:8px}
.sh-link-row{display:flex;gap:9px;flex-wrap:wrap}
.sh-link-row input,.sh-search{font:inherit;font-size:14px;min-height:46px;width:100%;min-width:0;border:1px solid var(--cc-border);border-radius:10px;background:var(--cc-surface);padding:11px 12px;color:var(--cc-text);box-shadow:none}
.sh-link-row input{background:var(--cc-page);text-overflow:ellipsis;flex:1 0 100%}
.sh-link-row .cc-share-button{white-space:nowrap;flex:none}
.cc-share-expiry{display:flex;align-items:flex-start;gap:9px;color:var(--cc-muted);font-size:12px;line-height:1.5;margin-top:10px}
.cc-share-expiry svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none;margin-top:1px}
.cc-share-status{font-size:13px;line-height:1.5;color:var(--cc-muted)}
.cc-share-status:empty{display:none}
.sh-error{border:1px solid #cd9187;border-radius:12px;background:#fff1ed;color:#74362e;padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5}
.cc-share-all{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--cc-border);border-radius:12px;background:var(--cc-tint);font-size:14px;cursor:pointer}
.cc-share-all small{display:block;color:var(--cc-muted);font-size:12px;margin-top:3px;font-weight:400}
.cc-sharing-dialog input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--cc-primary);margin:0;flex:none}
.sh-member-list{display:flex;flex-direction:column;gap:3px;padding:5px;margin:-5px;min-height:56px;flex:none}
.cc-share-member{display:flex;align-items:center;gap:12px;min-height:65px;margin:0;border:1px solid transparent;border-radius:11px;padding:9px 11px;cursor:pointer;font-size:14px;line-height:1.4}
.cc-share-member:hover{background:var(--cc-page)}
.cc-share-member:has(input:checked){background:var(--cc-secondary);border-color:var(--cc-border)}
.cc-share-member .cc-share-member-name{flex:1;font-weight:650}
.cc-share-member .portrait{width:40px;height:40px;flex:none}
.cc-share-member .initials{font-size:12px}
.sh-member-initials{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--cc-secondary);color:var(--cc-secondary-text);font-size:12px;font-weight:750}
.cc-share-selected{margin-right:auto;font-size:12px;line-height:1.4;color:var(--cc-muted)}
.sh-empty{padding:22px 10px;text-align:center;color:var(--cc-muted);font-size:14px;line-height:1.6}
.sh-success{padding:12px 0 18px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:13px}
.sh-success .sh-symbol{width:62px;height:62px;border-radius:50%}
.sh-success h3{font-family:var(--cc-display);font-size:23px;font-weight:var(--cc-heading-weight)}
.sh-attribution{position:relative;font-size:10px;line-height:12px;color:var(--cc-muted);margin-top:2px}
.sh-attribution-copy{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}
.sh-attribution-hint{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer}
.sh-attribution strong{font-weight:650}
.sh-dismiss{position:absolute;top:0;right:0;z-index:5;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--cc-text);box-shadow:none;line-height:1}
.sh-dismiss-mark{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--cc-border);border-radius:50%;background:var(--cc-surface);box-shadow:0 2px 6px #123e3c16}
.sh-dismiss-mark svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.sh-dismiss:hover .sh-dismiss-mark{background:var(--cc-tint)}
.sh-dismiss:focus-visible .sh-dismiss-mark{outline:3px solid var(--cc-accent);outline-offset:3px}
.cc-share-close svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;pointer-events:none}
.sh-readonly{font-size:12px;font-weight:650;padding:7px 10px;background:var(--cc-tint);border:1px solid var(--cc-border);border-radius:20px;color:var(--cc-muted);white-space:nowrap}
.sh-highlights{padding:20px;background:var(--cc-surface);border:1px solid var(--cc-border);border-radius:15px;min-width:0}
.sh-unavailable{max-width:540px;margin:13vh auto 20vh;text-align:center;display:flex;flex-direction:column;align-items:center;gap:18px}
.sh-unavailable .sh-symbol{width:72px;height:72px;border-radius:22px}
.sh-unavailable h1{font-family:var(--cc-display);font-weight:var(--cc-heading-weight);font-size:32px;line-height:1.2;letter-spacing:-1px}
.sh-prepare{padding:28px;background:var(--cc-surface);border:1px solid var(--cc-border);border-radius:16px;min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}
@media(max-width:760px){
.cc-sharing-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:19px}
.cc-share-head{padding:18px;gap:12px}
.cc-share-head h2{font-size:25px}
.cc-share-body{padding:18px;gap:17px}
.cc-share-foot{padding:13px 18px max(13px,env(safe-area-inset-bottom))}
.sh-summary{padding:12px;gap:10px}
.sh-summary strong{font-size:16px}
.sh-link-row{flex-wrap:wrap}
.sh-link-row input{flex:1 0 100%}
.sh-link-row .cc-share-button{width:100%}
.cc-share-pinned{padding:18px 18px 0}
.cc-share-foot .cc-share-button{padding:10px 13px}
.cc-share-selected{font-size:11px;max-width:64px}
.sh-highlights{padding:16px}
.sh-unavailable{margin:11vh auto 14vh}
.sh-unavailable h1{font-size:28px}
}
.sh-link-actions{display:flex;gap:9px;width:100%}
.sh-link-actions .cc-share-button{flex:1;width:auto}
.sh-shared-by strong{color:var(--cc-text);font-weight:650}
@media(max-width:760px){
#activityScoreSlot .court-viewer-score{width:100%;max-width:100%}
}
.cc-share-preview{width:min(100%,360px);height:calc((var(--cc-cover-height) + 123px) * .76);margin:0 auto;flex:none;position:relative}
.cc-share-scale{width:calc(100% / .76);transform:scale(.76);transform-origin:top left;pointer-events:none}
.cc-share-scale .illustrated-card,.cc-share-scale .card-title{cursor:default}
.cc-sharing-dialog :is(.cc-share-button:disabled,.cc-share-button[aria-disabled=true]){opacity:.5;cursor:default;background:var(--cc-surface);color:var(--cc-muted);border-color:var(--cc-border);filter:none;pointer-events:none}
