/* One visible state treatment; original buttons and audio handlers remain intact. */
body :is(#sound,#music,#effects):not([hidden]){display:inline-flex!important;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-width:122px!important;width:auto!important;max-width:100%;min-height:46px!important;height:auto!important;padding:10px 14px!important;border:2px solid #f1cb78!important;border-radius:9px!important;background:#f1cb78!important;color:#15231d!important;font-size:0!important;line-height:1.2!important;font-weight:800!important;box-shadow:0 2px 8px #0005;cursor:pointer;white-space:nowrap;vertical-align:middle;touch-action:manipulation}
body :is(#sound,#music,#effects)>span{display:none!important}
body :is(#sound,#music,#effects)::before{content:'♪';font:800 23px/1 Arial,sans-serif}
body :is(#sound,#music,#effects)::after{content:'Sound Off';font:800 14px/1.2 Arial,sans-serif;letter-spacing:.15px}
body :is(#sound,#music,#effects)[aria-pressed="true"]{background:#153b2b!important;color:#ceffe3!important;border-color:#78dfa5!important;box-shadow:inset 0 0 0 1px #78dfa522,0 2px 8px #0005}
body :is(#sound,#music,#effects)[aria-pressed="true"]::after{content:'Sound On'}
body :is(#sound,#music,#effects):focus-visible{outline:3px solid #fff!important;outline-offset:3px}
body :is(#sound,#music,#effects):disabled{opacity:.6;cursor:wait}
body :is(header,header nav,.topbar,.tools,.top-actions,.board-header-tools):has(:is(#sound,#music,#effects)){flex-wrap:wrap;gap:8px}
@media(hover:hover){body :is(#sound,#music,#effects):hover{filter:brightness(1.12)}}
@media(max-width:760px){body :is(#sound,#music,#effects):not([hidden]){min-width:112px!important;min-height:44px!important;padding:8px 10px!important}body :is(#sound,#music,#effects)::after{font-size:13px}body :is(header,.topbar):has(:is(#sound,#music,#effects)){height:auto;min-height:52px}}

body #music::after{content:"Music Off"}body #music[aria-pressed="true"]::after{content:"Music On"}body #effects::after{content:"Effects Off"}body #effects[aria-pressed="true"]::after{content:"Effects On"}
