.score-share-overlay {
 position:fixed;inset:0;z-index:20000;background:#122e3bd9;display:flex;align-items:center;justify-content:center;
 padding:16px;overflow:auto;touch-action:pan-y;overscroll-behavior:contain;
}
.score-share-panel {
 position:relative;width:min(100%,520px);max-height:calc(100dvh - 32px);overflow-y:auto;touch-action:pan-y;
 background:#f2e5c9;color:#294653;border:1px solid #b69a70;border-radius:3px;
 box-shadow:0 16px 70px #081c3c66,inset 0 0 0 5px #f9eed7;padding:25px;text-align:center;
 font-family:Georgia,'Times New Roman',serif;
}
.score-share-close {position:absolute;right:10px;top:8px;background:transparent;border:0;color:#294653;font-size:28px;width:44px;height:44px;cursor:pointer;}
.score-share-eyebrow {font:11px Georgia,serif;letter-spacing:2px;color:#89704e;margin:8px 34px 12px;}
.score-share-panel h2 {font-size:clamp(25px,6vw,34px);margin:0 0 10px;}
.score-share-intro {font-size:15px;line-height:1.5;margin:0 auto 18px;max-width:350px;}
.score-share-image {display:block;width:min(100%,300px);height:auto;margin:auto;border:1px solid #a88c62;box-shadow:3px 5px 0 #b89d7538;image-rendering:auto;}
.score-share-status {min-height:2.8em;font-size:13px;line-height:1.4;margin:14px 0 8px;color:#6b624f;}
.score-share-actions {display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.score-share-actions button {min-height:46px;padding:10px;border:1px solid #ac8958;border-radius:2px;background:#e5d5b6;color:#294653;font:15px Georgia,serif;cursor:pointer;touch-action:manipulation;}
.score-share-actions button[data-action="share"] {grid-column:1/-1;background:#294a55;color:#fff0d1;box-shadow:2px 3px 0 #142e37;}
.score-share-actions button:disabled {opacity:.55;cursor:wait;}
.score-share-actions button:hover:not(:disabled) {filter:brightness(1.08);}
.score-share-panel button:focus-visible {outline:3px solid #a75547;outline-offset:3px;}
@media(max-height:650px){.score-share-panel{padding:18px}.score-share-image{width:min(100%,210px)}.score-share-intro{margin-bottom:10px}}
@media(max-width:360px){.score-share-overlay{padding:8px}.score-share-panel{padding:19px 14px;max-height:calc(100dvh - 16px)}.score-share-actions{grid-template-columns:1fr}.score-share-actions button{grid-column:1}}

.score-share-panel * { touch-action: pan-y; }

.score-share-overlay:lang(ar) .score-share-panel,
.score-share-overlay:lang(ar) button { font-family: Tahoma, Arial, sans-serif; }
.score-share-overlay:lang(he) .score-share-panel,
.score-share-overlay:lang(he) button { font-family: Arial, "Segoe UI", sans-serif; }
.score-share-overlay:lang(ja) .score-share-panel,
.score-share-overlay:lang(ja) button { font-family: "Yu Gothic", "MS Gothic", sans-serif; }
.score-share-overlay:lang(zh) .score-share-panel,
.score-share-overlay:lang(zh) button { font-family: "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
.score-share-overlay:lang(ko) .score-share-panel,
.score-share-overlay:lang(ko) button { font-family: "Malgun Gothic", "Noto Sans KR", sans-serif; }
