/* Menu « Partager mon score » */
.share-box{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(17,15,18,.88);-webkit-user-select:none;user-select:none}
.share-panel{width:min(100%,440px);max-height:100%;overflow-y:auto;display:flex;flex-direction:column;gap:14px;padding:20px;background:#110f12;border:3px solid #79e2db}
.share-title{margin:0;font-family:"Press Start 2P",monospace;font-size:13px;color:#ffe81f;text-align:center}
.share-preview{display:block;width:auto;max-width:100%;height:min(38vh,320px);margin:0 auto;border:2px solid #3b3a40;image-rendering:pixelated}
.share-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.share-opt{appearance:none;min-height:46px;padding:8px 10px;border:3px solid #ffe81f;border-radius:0;background:#110f12;color:#ffe81f;font-family:"Press Start 2P",monospace;font-size:10px;line-height:1.5;cursor:pointer}
.share-opt:hover,.share-opt:focus-visible{background:#ffe81f;color:#110f12;outline:none}
.share-opt.ig{border-color:#ff9528;color:#ff9528}.share-opt.ig:hover,.share-opt.ig:focus-visible{background:#ff9528;color:#110f12}
.share-opt.more{grid-column:1 / -1;border-color:#79e2db;color:#79e2db}.share-opt.more:hover,.share-opt.more:focus-visible{background:#79e2db;color:#110f12}
.share-opt.close{border-color:#3b3a40;color:#cfd0d4}.share-opt.close:hover,.share-opt.close:focus-visible{background:#3b3a40;color:#fefefe}
.share-note{min-height:1.2em;margin:0;font-family:"VT323",monospace;font-size:19px;line-height:1.2;color:#cfd0d4;text-align:center}
.share-note:empty{display:none}
