
.tools #sound, .dialog-top #index-close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  color: #dce2df;
  border: 1px solid #8f9d984d;
  background: #0d1316b8;
  border-radius: 50%;
  transition: color .2s, background-color .2s, border-color .2s;
}
.tools #sound:is(:hover, :focus-visible), .dialog-top #index-close:is(:hover, :focus-visible) {
  color: var(--signal);
  background: #1a2022;
  border-color: currentColor;
}
#sound[aria-pressed="true"] { color: var(--signal); border-color: #a48c5f; }
.sound-glyph > g, .close-cross, .close-frame {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .2s, transform .3s cubic-bezier(.21,.8,.34,1);
}
.sound-meter, .sound-pause { opacity: 0; transform: scale(.65); }
.sound-pause { stroke-width: 2.2px; }
#sound[aria-pressed="true"] .sound-headset { opacity: 0; transform: scale(1.13); }
#sound[aria-pressed="true"] .sound-meter { opacity: 1; transform: scale(1); }
.close-frame { opacity: .48; transform: scale(.89); }
.close-cross { stroke-width: 1.75px; }
#index-close:is(:hover,:focus-visible) .close-cross { transform: rotate(90deg) scale(.8); }
#index-close:is(:hover,:focus-visible) .close-frame { opacity: 1; transform: scale(1.12); }
@media (prefers-reduced-motion: no-preference) {
  #sound[aria-pressed="true"] .sound-meter path {
    transform-origin: center;
    animation: meter-breathe .88s ease-in-out infinite alternate;
  }
  #sound .sound-meter path:nth-child(2) { animation-delay: -.23s; }
  #sound .sound-meter path:nth-child(3) { animation-delay: -.72s; }
  #sound .sound-meter path:nth-child(4) { animation-delay: -.44s; }
  #sound .sound-meter path:nth-child(5) { animation-delay: -.6s; }
  @keyframes meter-breathe { 0% { transform: scaleY(.42); } 28% { transform: scaleY(.9); } 61% { transform: scaleY(.62); } 100% { transform: scaleY(1); } }
}
@media (hover: hover) and (pointer: fine) {
  #sound[aria-pressed="true"]:hover .sound-meter { opacity: 0; transform: scale(.68); }
  #sound[aria-pressed="true"]:hover .sound-pause { opacity: 1; transform: scale(1); }
}
#sound[aria-pressed="true"]:focus-visible .sound-meter { opacity: 0; }
#sound[aria-pressed="true"]:focus-visible .sound-pause { opacity: 1; transform: scale(1); }


  .tools #index-open{display:grid;place-items:center;min-width:48px;height:44px;padding:4px;background:transparent;border-color:transparent}
  #index-open:is(:hover,:focus-visible){color:var(--signal)}

#sound .echo{opacity:0;transform-origin:center}
#sound[aria-pressed="true"] .slash{opacity:0}
#sound.playing .echo{opacity:.55}
@media(prefers-reduced-motion:no-preference){#sound.playing .echo{animation:sonar 2.8s ease-out infinite}@keyframes sonar{from{transform:scale(.58);opacity:.7}to{transform:scale(1.13);opacity:0}}}

.menu-lines path{transform-origin:16px 16px}
#index-open:is(:hover,:focus-visible) path:nth-child(2){transform:translateX(-5px);stroke:var(--signal)}
#index-close .menu-lines path:first-child{transform:rotate(45deg) translateY(7px)}
#index-close .menu-lines path:nth-child(2){opacity:0}
#index-close .menu-lines path:last-child{transform:rotate(-45deg) translateY(-7px)}
@media(prefers-reduced-motion:no-preference){
 .menu-lines path{transition:transform .24s ease-out,stroke .24s}
 dialog[open] #index-close path{animation:fold-line .32s ease-out backwards}
 dialog[open] #index-close path:nth-child(2){animation-name:retract-line}
 @keyframes fold-line{from{transform:none}}
 @keyframes retract-line{from{opacity:1;transform:none}to{opacity:0;transform:scaleX(.1)}}
}
