.bgm-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid #7b665666; border-radius: 999px; color: #584a3e; background: #f1eee7; font: 600 12px/1 system-ui, sans-serif; cursor: pointer; pointer-events: auto; }
.bgm-toggle > span:first-child { position: relative; width: 22px; font-size: 22px; }
.bgm-toggle[data-state="off"] > span:first-child::after, .bgm-toggle[data-state="error"] > span:first-child::after { position: absolute; top: 10px; left: 0; width: 23px; height: 2px; background: currentColor; transform: rotate(-45deg); content: ""; }
.bgm-toggle[data-state="playing"] { color: #f1eee7; background: #7b6656; }
.bgm-toggle:hover { border-color: #7b6656; }
.bgm-toggle:focus-visible { outline: 3px solid #7b6656; outline-offset: 3px; }
.bgm-story:focus-visible { outline-color: #c0b19c; }
.bgm-story { position: fixed; top: 26px; right: clamp(18px, 3vw, 46px); z-index: 60; }
.story-header .story-counter { margin-right: 110px; }
.nav-links { align-items: center; }
.bgm-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .bgm-label { display: none; }
  .bgm-toggle { width: 44px; padding: 0; }
  .bgm-story { top: 18px; right: 14px; }
}
