.menu-bar .sound-toggle { display: grid; place-items: center; width: 25px; padding: 0; }
.sound-symbol { display: block; width: 18px; height: 18px; fill: currentColor; filter: drop-shadow(0 1px #ffffff60); }
.sound-waves { display: none; }
.sound-toggle[aria-pressed="true"] .sound-waves { display: block; }
.sound-toggle[aria-pressed="true"] .sound-muted { display: none; }
.sound-settings-dialog {
  width: 374px;
  max-width: calc(100vw - 30px);
  margin: auto;
  padding: 0;
  border: 1px solid #686868;
  border-radius: 5px 5px 2px 2px;
  color: #222;
  background: #ededed;
  font: 13px 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
  box-shadow: 0 18px 40px #0007, 0 2px 6px #0005;
}
.sound-settings-dialog::backdrop { background: #00000016; }
.sound-settings-title {
  position: relative;
  height: 24px;
  display: grid;
  place-items: center;
  border-top: 1px solid #ffffffc9;
  border-bottom: 1px solid #888;
  background: linear-gradient(#e7e7e7, #bdbdbd);
  text-shadow: 0 1px #fff9;
}
.sound-settings-title h2 { margin: 0; font-size: 13px; font-weight: 400; }
.sound-settings-close {
  position: absolute;
  left: 8px;
  top: 5px;
  width: 13px;
  height: 13px;
  padding: 0;
  border: 1px solid #9b423d;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 15%, #ffffffc9 0 16%, transparent 40%), linear-gradient(#f55b50, #ce3631);
  box-shadow: 0 1px #fff8;
  font: 12px/10px Arial, sans-serif;
  color: #6c2520;
}
.sound-settings-close span { visibility: hidden; }
.sound-settings-close:hover span, .sound-settings-close:focus-visible span { visibility: visible; }
.sound-settings-content { padding: 22px 24px 23px; }
.sound-settings-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.sound-settings-heading img { width: 44px; height: 44px; }
.sound-settings-heading strong { font-size: 16px; }
.sound-settings-toggle { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.sound-settings-toggle input { accent-color: #397cc9; margin: 0; width: 14px; height: 14px; }
.sound-settings-row { display: flex; align-items: center; gap: 9px; }
.sound-settings-row label { flex: none; }
.sound-settings-row select {
  font: inherit;
  min-width: 105px;
  flex: 1;
  height: 23px;
  border: 1px solid #8d8d8d;
  border-radius: 4px;
  color: #222;
  background: linear-gradient(#fff, #ddd);
}
.sound-preview-button {
  font: inherit;
  padding: 2px 11px;
  border: 1px solid #8d8d8d;
  border-radius: 4px;
  background: linear-gradient(#fff, #e9e9e9 48%, #dedede 50%, #f5f5f5);
  box-shadow: 0 1px #fff7;
}
.sound-preview-button:active { background: linear-gradient(#93bde9, #bfd9f5); }
.sound-settings-description { min-height: 16px; font-size: 11px; color: #666; margin: 12px 0 0; }
.cursor-play-settings { margin-top: 22px; padding-top: 19px; border-top: 1px solid #c8c8c8; }
.cursor-play-settings .sound-settings-toggle { margin-bottom: 7px; }
.cursor-play-description { margin: 0 0 0 21px; font-size: 11px; line-height: 1.5; color: #666; }
.flying-cursor { position: absolute; top: 0; left: 0; width: 20px; height: 28px; z-index: 95; pointer-events: none; transform-origin: 0 0; filter: drop-shadow(1px 2px 1px #0006); }
.flying-cursor[hidden] { display: none; }
.desktop.cursor-in-flight, .desktop.cursor-in-flight * { cursor: none !important; }
@media (max-width: 700px) {
  .menu-right { gap: 8px; }
  .menu-right .spotlight { display: none; }
}
@media (max-width: 360px) {
  .menu-right { gap: 5px; }
  .reset-desktop-word { display: none; }
  .sound-settings-content { padding-inline: 18px; }
  .sound-settings-row { gap: 7px; }
  .sound-preview-button { padding-inline: 8px; }
}
