/* Sonic DNA — menu commun + boutons de partage (identique sur toutes les pages) */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

/* --- Barre de menu : remise à zéro des anciens styles (style.css, instruments.css) --- */
.sd-header{display:block!important;position:sticky!important;top:0;z-index:50;box-sizing:border-box;width:auto!important;height:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:0;border-bottom:1px solid rgba(255,255,255,.08)!important;background:rgba(8,9,11,.78)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace!important;color:#f2f3f5;text-align:left}
body:has(.vhero) .sd-header{background:rgba(8,9,11,.35)!important}
/* pages avec une marge autour du corps (ex. Magic Spell) : la barre reste collée aux bords */
body:has(> .shell) .sd-header{margin:-28px -28px 28px!important}
@media(max-width:800px){body:has(> .shell) .sd-header{margin:-14px -14px 14px!important}}

.sd-header .sd-bar{box-sizing:border-box;width:100%;max-width:1240px;margin:0 auto;padding:20px 28px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 28px;height:auto}
.sd-header .sd-brand{display:flex;align-items:center;gap:12px;margin:0;padding:0;font-size:14px;font-weight:700;letter-spacing:.22em;line-height:1.2;color:#f2f3f5!important;text-decoration:none!important;background:none}
.sd-header .sd-brand svg{flex:none}
.sd-header .sd-nav{display:flex!important;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 26px;max-width:none!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important;font-size:13px!important;line-height:1.4;color:#f2f3f5}
.sd-header .sd-nav a{margin:0;padding:0;border:0;background:none;color:#f2f3f5!important;text-decoration:none!important;opacity:.72;font-size:13px;letter-spacing:normal;transition:opacity .2s,color .2s}
.sd-header .sd-nav a:hover{opacity:1}
.sd-header .sd-nav a.on{opacity:1;color:#ff4597!important}
.sd-header a:focus-visible,.sd-share :focus-visible{outline:2px solid #fff;outline-offset:4px}
@media(max-width:620px){.sd-header .sd-bar{padding:16px 18px}.sd-header .sd-nav{justify-content:flex-start;gap:6px 18px}.sd-header .sd-nav a{font-size:12.5px}}

/* --- Boutons de partage --- */
.sd-share{position:relative;z-index:2;box-sizing:border-box;max-width:1240px;margin:40px auto;padding:0 28px;display:flex!important;flex-wrap:wrap;align-items:center;gap:10px;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace}
.sd-share-label{font-size:11px;font-weight:700;letter-spacing:.24em;opacity:.75;margin-right:6px}
.sd-share .sd-sh{margin:0!important;box-shadow:none!important;display:inline-flex;align-items:center;gap:8px;min-height:40px;width:auto;max-width:none;padding:0 15px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(8,9,11,.65)!important;color:#f2f3f5!important;font:inherit;font-size:12.5px;font-weight:400;letter-spacing:.04em;line-height:1;text-decoration:none!important;cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform .15s}
.sd-share .sd-sh:hover{transform:translateY(-1px)}
.sd-share .sd-fb:hover{background:#1877f2!important;border-color:#1877f2!important}
.sd-share .sd-wa:hover{background:#25d366!important;border-color:#25d366!important;color:#0b0b0e!important}
.sd-share .sd-x:hover{background:#000!important;border-color:#fff!important}
.sd-share .sd-copy:hover{background:#ff4597!important;border-color:#ff4597!important;color:#0b0b0e!important}
@media(max-width:620px){.sd-share{padding:0 18px}.sd-share .sd-sh{flex:1 1 calc(50% - 10px);justify-content:center}.sd-share-label{flex-basis:100%}}
