#resultSharing,.intro #challengeNotice,.intro #challengeResult { grid-column:1/-1; min-width:0; }
.result-sharing { min-width:0; margin:14px 0 0; padding-top:12px; border-top:1px solid #c9cebf; text-align:left; }
.result-sharing[hidden],.share-panel[hidden],.share-panel [hidden] { display:none !important; }
.result-sharing button,.share-panel button { min-height:44px; padding:9px 13px; border:1px solid #9da590; border-radius:4px; background:#f3f1ea; color:#252724; font-family:inherit; font-weight:600; font-size:13px; line-height:1.35; cursor:pointer; touch-action:manipulation; }
.result-sharing button:hover,.share-panel button:hover { background:#e5e9dd; }
.share-panel button:disabled { opacity:.5; cursor:default; }
.result-sharing button:focus-visible,.share-panel button:focus-visible,.share-link:focus-visible { outline:2px solid #287552; outline-offset:2px; }
.result-sharing .share-toggle { border-color:#287552; color:#287552; }
.share-panel { width:min(640px,calc(100vw - 24px)); max-width:calc(100vw - 24px); max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px); padding:0; margin:auto; border:1px solid #a7af9d; border-radius:6px; background:#f3f1ea; color:#252724; box-shadow:0 14px 48px #0005; overflow:hidden; }
.share-panel[open] { display:flex; flex-direction:column; }
.share-panel::backdrop { background:#101713b8; }
.share-header { display:flex; flex-shrink:0; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; border-bottom:1px solid #c9cebf; }
.share-header h2 { min-width:0; margin:0; color:#252724; font-family:inherit; font-size:18px; line-height:1.3; letter-spacing:0; }
.share-header .share-close { flex-shrink:0; max-width:55%; color:#596151; font-size:12px; }
.share-content { min-height:0; min-width:0; overflow-y:auto; overscroll-behavior:contain; padding:14px 16px 16px; }
.share-preview { display:block; width:100%; height:auto; border:1px solid #c9cebf; border-radius:3px; }
.share-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.share-actions button { flex:1 1 115px; }
.share-panel p.share-note,.share-panel p.share-status { margin:9px 0; color:#596151; font-size:12px; line-height:1.45; }
.share-panel p.share-status { min-height:18px; }
.share-link { display:block; width:100%; min-height:44px; padding:9px; margin:8px 0; color:#252724; border:1px solid #9da590; border-radius:3px; background:#fffef9; font-size:16px; }
.share-status:empty { display:none; }
.challenge-notice { padding:8px 10px; border-left:3px solid #287552; background:#e5e9dd; color:#364331; font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
@media(max-width:620px) { .share-actions { gap:6px; } .share-actions button { flex-basis:100%; } .share-header { padding:10px 12px; } .share-header h2 { font-size:16px; } .share-content { padding:12px; } }
