/* Android 2.175.0 menu and voice overlays.
 * Both surfaces float over the live home scene and own their scrolling. */

body[data-route="settings"] {
  overflow: hidden;
}

body[data-route="settings"]::before {
  display: none;
}

body[data-route="settings"] .site-header {
  display: none;
}

.settings-view {
  position: fixed;
  inset: 0;
  z-index: 1200;
  min-height: 0;
  padding: 0;
}

.settings-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  padding: 14px;
  background: rgb(77 92 73 / 22%);
  place-items: center;
}

.settings-menu {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: min(600px, calc(100vw - 28px));
  min-height: 0;
  max-height: min(690px, calc(100dvh - 32px));
  padding: 22px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #d9dfd6;
  border-radius: 24px;
  background: #f6f5ef;
  box-shadow: 0 18px 70px rgb(75 81 70 / 15%);
  color: #53675b;
  font: 14px "YuzuPop", sans-serif;
}

.settings-modal-header {
  display: flex;
  height: 25px;
  min-height: 25px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
}

.settings-modal-header h2 {
  margin: 0;
  color: #53675b;
  font-family: "YuzuPop", sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.settings-close {
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  color: #53675b;
  background: transparent;
  font-family: sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.settings-menu-tabs {
  display: grid;
  padding: 0 0 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  border: 0;
  border-bottom: 1px solid #d9dfd5;
}

.settings-menu-tabs button {
  display: grid;
  min-height: 56px;
  padding: 8px 1px 7px;
  border: 0;
  border-radius: 13px;
  color: #53675b;
  background: transparent;
  place-items: center;
  place-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.settings-menu-tabs button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-menu-tabs button.active {
  color: #53675b;
  background: #ecefe7;
}

.settings-menu-scroll {
  min-height: 0;
  padding: 19px 0 0;
  overflow: visible;
}

.settings-pane {
  gap: 20px;
}

.settings-pane-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.settings-pane-heading h3 {
  margin: 0;
  color: #53675b;
  font-family: "YuzuPop", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.settings-pane-heading small,
.settings-pane-heading > span {
  color: #7d8b80;
  font-size: 11px;
}

.settings-pane[data-settings-pane="icons"] {
  gap: 15px;
}

.settings-volume-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
}

.settings-range {
  display: grid;
  gap: 4.5px;
}

.settings-menu .settings-range {
  min-height: 50.5238px;
}

.settings-range > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: #53675b;
  font-size: 14px;
  font-weight: 700;
}

.settings-range output {
  color: #7d8b80;
  font: 12px sans-serif;
  font-weight: 400;
}

.settings-range input[type="range"],
.voice-design-grid input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  accent-color: #9db4a5;
  cursor: pointer;
}

.settings-range input[type="range"]::-webkit-slider-runnable-track,
.voice-design-grid input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: #d3dfd4;
}

.settings-range input[type="range"]::-webkit-slider-thumb,
.voice-design-grid input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6.5px;
  border: 0;
  border-radius: 50%;
  background: #9db4a5;
  box-shadow: 0 0 0 1px rgb(120 145 128 / 10%);
}

.settings-range input[type="range"]::-moz-range-track,
.voice-design-grid input[type="range"]::-moz-range-track {
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: #d3dfd4;
}

.settings-range input[type="range"]::-moz-range-thumb,
.voice-design-grid input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: #9db4a5;
  box-shadow: 0 0 0 1px rgb(120 145 128 / 10%);
}

.settings-home-music {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.settings-home-music small {
  display: block;
  margin-top: 3px;
  color: #8b998e;
  font-size: 10px;
  font-weight: 400;
}

.settings-menu-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  gap: 0;
  padding: 20px 0 0;
  border: 0;
}

.settings-menu-footer > button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 13px;
  color: #53675b;
  background: #ecefe7;
  font: inherit;
  cursor: pointer;
}

.settings-status-spacer {
  min-height: 18px;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.settings-legal-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 14px 0 0;
  border: 0;
}

.settings-legal-row button {
  min-height: 0;
  padding: 0;
  border: 0;
  color: #527f73;
  background: transparent;
  font-size: 14px;
  line-height: 1.5425;
  text-decoration: underline;
}

.settings-legal-row #withdrawConsent {
  color: #527f73;
  background: transparent;
}

.consent-gate {
  box-sizing: border-box;
  width: min(480px, calc(100vw - 31.81px));
  max-width: min(480px, calc(100vw - 31.81px));
  max-height: none;
  padding: 25px;
  overflow: auto;
  border: 1px solid #d9dfd6;
  border-radius: 22px;
  color: #53675b;
  background: #f6f5ef;
  box-shadow: 0 12px 50px rgb(53 72 59 / 15%);
  font: 15px/27px system-ui, sans-serif;
}

.consent-gate::backdrop {
  background: #969d94;
}

.consent-gate h2 {
  margin: 0 0 14px;
  color: #53675b;
  font: 700 23px/41.4px system-ui, sans-serif;
}

.consent-gate p {
  margin: 15px 0;
  color: #53675b;
  font: 15px/27px system-ui, sans-serif;
}

.consent-gate a {
  color: #527f73;
  text-underline-offset: 3px;
}

.consent-gate a:focus-visible {
  outline: 2px solid #e9a746;
  outline-offset: 2px;
}

.consent-gate > div {
  display: flex;
  margin: 20px 0 0;
  gap: 12px;
}

.consent-gate > div button {
  box-sizing: border-box;
  min-height: 48.52px;
  padding: 10px 16px;
  flex: 1 1 0;
  border: 1px solid #d9dfd6;
  border-radius: 12px;
  color: #53675b;
  background: #ecefe7;
  font: 15px/27px system-ui, sans-serif;
  cursor: pointer;
}

.consent-gate > div button:last-child {
  color: #203c2d;
  background: #9db4a7;
}

.consent-gate output {
  display: block;
  margin: 15px 0;
  color: #53675b;
  font: 15px/27px system-ui, sans-serif;
}

.consent-gate output:empty {
  margin: 7px 0;
}

.legal-dialog {
  box-sizing: border-box;
  width: min(620px, calc(100vw - 31.81px));
  max-width: min(620px, calc(100vw - 31.81px));
  max-height: calc(100dvh - 39.72px);
  margin: 20px 16px;
  padding: 25px;
  overflow: auto;
  border: 1px solid #d9dfd6;
  border-radius: 22px;
  color: #53675b;
  background: #f6f5ef;
  box-shadow: 0 18px 70px rgb(53 72 59 / 20%);
  font: 15px/27px system-ui, sans-serif;
}

.legal-dialog::backdrop {
  background: rgb(70 83 71 / 52%);
}

.legal-dialog > header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  min-height: 68.52px;
  margin: 0;
  padding: 10px 0;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: #f6f5ef;
}

.legal-dialog > header strong {
  color: #53675b;
  font-size: 15px;
  font-weight: 700;
  line-height: 27px;
}

.legal-dialog > header button {
  box-sizing: border-box;
  min-width: 41.53px;
  min-height: 48.52px;
  padding: 10px 16px;
  border: 1px solid #d9dfd6;
  border-radius: 12px;
  color: #53675b;
  background: #ecefe7;
  font: 15px/27px system-ui, sans-serif;
  cursor: pointer;
}

.legal-dialog > header button:focus-visible {
  outline: 2px solid #7468d8;
  outline-offset: 3px;
}

.legal-dialog > article {
  box-sizing: border-box;
  max-height: none;
  padding: 0;
  overflow: visible;
  line-height: 27px;
}

.legal-dialog > article h1 {
  margin: 19.92px 0;
  color: #53675b;
  font: 700 24px/43.2px system-ui, sans-serif;
}

.legal-dialog > article h2 {
  margin: 14.94px 0;
  color: #53675b;
  font: 700 18px/32.4px system-ui, sans-serif;
}

.legal-dialog > article p,
.legal-dialog > article li {
  margin: 15px 0;
  color: #53675b;
  font: 15px/27px system-ui, sans-serif;
}

.legal-dialog > article ul {
  margin: 15px 0;
  padding-left: 28px;
}

.legal-dialog > article a,
.legal-dialog > .legal-online a {
  color: #527f73;
  text-underline-offset: 3px;
}

.legal-dialog > .legal-online {
  margin: 15px 0;
  color: #53675b;
  font: 15px/27px system-ui, sans-serif;
}

.legal-dialog > article .legal-notice {
  margin: 15px 0;
  padding: 10px 12px;
  border: 1px solid #ddc7ca;
  border-radius: 11px;
  background: #f5e8e9;
}

.language-choice-grid {
  max-width: none;
  gap: 12px;
}

.language-choice-grid button {
  display: block;
  min-height: 0;
  padding: 19px;
  border: 1px solid #d9dfd6;
  border-radius: 16px;
  background: transparent;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.language-choice-grid button.active {
  border-color: #9db4a7;
  background: #ecefe7;
}

.language-choice-grid button b {
  font-size: inherit;
  font-weight: 400;
}

.settings-pane[data-settings-pane="language"] {
  gap: 26px;
  margin-bottom: 6px;
}

.settings-pane[data-settings-pane="letter"] {
  gap: 0;
}

.settings-letter {
  display: block;
  min-height: 0;
  margin: 18px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d9dfd6;
  border-radius: 17px;
  background: #f6f5ef;
  box-shadow: none;
  color: #53675b;
  font: 14px "YuzuPop", sans-serif;
  line-height: normal;
  transform: none;
}

.settings-letter > summary {
  display: flex;
  min-height: 0;
  padding: 16px;
  align-items: center;
  gap: 12px;
  color: #53675b;
  font: 14px "YuzuPop", sans-serif;
  font-weight: 400;
  line-height: normal;
  list-style: none;
  cursor: pointer;
}

.settings-letter > summary::-webkit-details-marker {
  display: none;
}

.settings-letter > summary svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.settings-letter > summary::after {
  margin-left: auto;
  border: 0;
  content: "⌄";
  font: inherit;
  transform: none;
}

.settings-letter[open] > summary::after {
  content: "⌄";
  transform: none;
}

.settings-letter-body {
  padding: 0 20px 20px;
  color: #53675b;
  font-size: 14px;
}

.settings-letter-body p {
  margin: 0 0 16px;
  line-height: 2.15;
}

.settings-letter-body img {
  display: block;
  width: min(220px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 15px;
}

.settings-compat-select {
  display: none;
}

.settings-theme-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.settings-pane[data-settings-pane="theme"] {
  gap: 15.762px;
}

.settings-theme-card {
  display: grid;
  min-height: 77.238px;
  padding: 13px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: start;
  align-items: start;
  gap: 11px;
  border: 1px solid #d9dfd6;
  border-radius: 15px;
  color: #53675b;
  background: transparent;
  font-size: 14px;
  text-align: left;
}

.settings-theme-card.active {
  border-width: 1px;
  border-color: #9db4a7;
  background: #ecefe7;
}

.settings-theme-card .settings-theme-colors {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0;
}

.settings-theme-colors i {
  display: block;
  width: 25px;
  height: 25px;
  flex: none;
  border: 2px solid #f6f5ef;
  border-radius: 50%;
  box-shadow: none;
  margin-right: -4px;
}

.settings-theme-colors i + i {
  margin-left: 0;
}

.settings-theme-card > span:last-child {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #53675b;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-data-row {
  display: none;
}

.voice-design-surface {
  position: relative;
  width: min(320px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  padding: 16px 16px 14px;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 22px;
  background: #f6f5ef;
  box-shadow: 0 22px 70px rgb(56 72 63 / 18%);
  color: #53675b;
  scrollbar-width: thin;
}

.voice-design-surface h2 {
  margin: 0;
  color: #71856b;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
}

.voice-note {
  margin: 13px 0 22px;
  color: #89978c;
  font-size: 11px;
  text-align: center;
}

.voice-preset-row {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.voice-preset-row button {
  min-height: 43px;
  padding: 0 8px;
  border: 1px solid #d9e1d6;
  border-radius: 16px;
  color: #71856b;
  background: #f4f4eb;
  font-size: 15px;
  font-weight: 800;
}

.voice-preset-row button.active {
  border-color: #9eb4a6;
  background: #e5eadd;
  box-shadow: inset 0 0 0 1px #9eb4a6;
}

.voice-preset-note {
  min-height: 0;
  margin: 0;
  color: #89978c;
  font-size: 10px;
  text-align: center;
}

.voice-design-grid {
  display: grid;
  margin-top: 18px;
  grid-template-columns: minmax(0, 1fr);
  gap: 21px;
}

.voice-design-grid label {
  display: grid;
  gap: 5px;
  color: #71856b;
  font-size: 15px;
  font-weight: 800;
}

.voice-design-grid label > span {
  display: flex;
  justify-content: space-between;
}

.voice-design-grid output {
  color: #89978c;
  font-size: 15px;
  font-weight: 400;
}

.voice-design-grid label > small {
  display: flex;
  justify-content: space-between;
  color: #9aa49b;
  font-size: 10px;
  font-weight: 400;
}

.voice-design-grid label > small i {
  font-style: normal;
}

.voice-design-grid input[type="range"] {
  height: 22px;
}

.voice-extra {
  margin-top: 16px;
  padding: 13px 0 0;
  border-top: 1px solid #dde3d9;
}

.voice-extra > summary {
  color: #71856b;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.voice-extra[open] > summary {
  margin-bottom: 4px;
}

.voice-preview {
  display: grid;
  margin-top: 27px;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 10px;
}

.voice-preview button {
  min-height: 50px;
  border: 1px solid #d9e1d6;
  border-radius: 17px;
  color: #71856b;
  background: #f4f4eb;
  font-size: 15px;
  font-weight: 800;
}

.voice-preview button:first-child {
  border-color: #9caf96;
  color: #f9faef;
  background: #9cad8f;
}

.stage-options {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #dde3d9;
}

.stage-options h3 {
  margin: 0 0 10px;
  color: #71856b;
  font-size: 16px;
  font-weight: 800;
}

.voice-stage-grid {
  display: grid;
  grid-column: auto;
  grid-row: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.voice-stage-grid button {
  display: grid;
  min-height: 95px;
  padding: 0;
  overflow: hidden;
  grid-template-rows: 67px auto;
  gap: 0;
  border: 1px solid #e0e5dd;
  border-radius: 12px;
  color: #7b8971;
  background: #eef0e7;
}

.voice-stage-grid button.active {
  border: 2px solid #9bad8e;
  box-shadow: none;
}

.voice-stage-grid button .voice-stage-art {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
}

.voice-stage-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-stage-art.cream {
  background:
    linear-gradient(180deg, transparent 0 47%, #d6e7cf 47% 54%, transparent 54%),
    radial-gradient(ellipse at 50% 0, #f4b9c4 0 25%, #fdf9f1 26% 76%, transparent 77%),
    linear-gradient(180deg, #fdf9f1 0 76%, #edf4dc 76%);
}

.voice-stage-art.mist {
  background:
    radial-gradient(circle at 30% 27%, #fae9dd 0 10%, transparent 11%),
    radial-gradient(circle at 62% 38%, #fff 0 2%, transparent 3%),
    linear-gradient(180deg, #bad9df 0 77%, #d7e4e4 77%);
}

.voice-stage-art.mint {
  background:
    repeating-linear-gradient(90deg, transparent 0 22px, rgb(255 255 255 / 65%) 23px 25px),
    linear-gradient(90deg, #a0cbd2 0 11%, transparent 11% 89%, #a0cbd2 89%),
    #d9e8e7;
}

.voice-stage-art.peach {
  background:
    linear-gradient(180deg, #f5c7c9 0 13%, transparent 13%),
    linear-gradient(90deg, #f5c7c9 0 9%, #fff 9% 91%, #f5c7c9 91%);
}

.voice-stage-grid button span {
  display: grid;
  min-height: 28px;
  font-size: 11px;
  place-items: center;
}

.settings-advanced {
  margin-top: 13px;
  padding: 13px 0 0;
  border: 0;
  border-top: 1px solid #dde3d9;
}

.settings-advanced summary {
  color: #89978c;
  font-size: 13px;
}

.settings-advanced > button {
  width: 100%;
  min-height: 38px;
  margin: 12px 0;
  border: 0;
  border-radius: 12px;
  color: #53675b;
  background: #ecefe7;
}

.voice-design-done {
  width: 100%;
  min-height: 48px;
  margin-top: 15px;
  border: 0;
  border-radius: 14px;
  color: #263e31;
  background: #9db4a7;
  font-size: 16px;
  font-weight: 800;
}

/*
 * Preset icon cards are pointer-drag sources on every responsive layout.
 * Keeping this outside the narrow-screen query also prevents Android WebView
 * from interpreting a landscape drag as a scroll and firing pointercancel.
 */
.settings-icon-card {
  touch-action: none;
}

.settings-icon-card.dragging {
  z-index: 20;
  opacity: 0.8;
  pointer-events: none;
}

.settings-icon-footer .settings-icon-trash {
  transform-origin: center;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.settings-icon-footer .settings-icon-trash.active {
  transform: scale(1.18);
  border-color: #7d8b80;
}

.settings-icon-footer .settings-icon-trash.over {
  transform: scale(1.3);
  border-color: #c997a9;
  color: #ab7284 !important;
  background: #f2dadd;
}

@media (max-width: 520px) {
  .settings-overlay {
    padding: 14px;
  }

  .settings-volume-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px 24px;
  }

  .settings-menu {
    padding: 22px;
  }

  .settings-icon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
  }

  .settings-icon-card {
    position: relative;
    aspect-ratio: 1;
    max-width: none;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: #ecefe7;
  }

  .settings-icon-card img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
  }

  .settings-icon-card.active {
    border: 2px solid #9db4a7;
    box-shadow: 0 0 0 3px #ecefe7;
  }

  .settings-icon-card.active::after {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: grid;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    color: #263e31;
    background: #9db4a7;
    content: "✓";
    font: 14px/1 sans-serif;
    place-items: center;
  }

  .settings-icon-card small {
    display: none;
  }

  .settings-icon-footer {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .settings-icon-footer #takeIconPhoto {
    display: none;
  }

  .settings-icon-footer #settingsIconCount {
    flex: 0 1 auto;
    color: #7d8b80;
    font-size: 12px;
  }

  .settings-icon-footer .settings-icon-trash {
    width: 45px;
    flex: 0 0 45px;
    min-height: 42px;
    padding: 9px;
    border: 1px solid #d9dfd6;
    border-radius: 13px;
    color: #7d8b80;
    background: transparent;
  }

  .settings-icon-footer .settings-icon-trash svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
  }
}

@media (max-width: 370px), (max-height: 610px) and (max-width: 640px) {
  .settings-overlay {
    padding: 8px;
  }

  .settings-menu {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 16px;
    border-radius: 19px;
  }

  .settings-modal-header {
    margin-bottom: 12px;
  }

  .settings-menu-tabs {
    padding-bottom: 11px;
  }

  .settings-menu-tabs button {
    min-height: 50px;
    gap: 4px;
    font-size: 10px;
  }

  .settings-menu-tabs button svg {
    width: 20px;
    height: 20px;
  }

  .settings-theme-grid {
    gap: 8px;
  }

  .settings-theme-card {
    min-height: 76px;
    padding: 10px;
  }

  .voice-design-surface {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 14px 12px 12px;
    border-radius: 19px;
  }

  .voice-design-surface h2 {
    font-size: 23px;
  }

  .voice-note {
    margin: 9px 0 15px;
  }

  .voice-preset-row {
    gap: 7px;
  }

  .voice-preset-row button {
    min-height: 40px;
  }

  .voice-design-grid {
    margin-top: 14px;
    gap: 15px;
  }

  .voice-preview {
    margin-top: 17px;
  }

  .voice-preview button {
    min-height: 45px;
  }

  .voice-stage-grid button {
    min-height: 88px;
    grid-template-rows: 61px auto;
  }
}

.voice-volume-controls { display: grid; gap: 20px; margin: 18px 0; }
.voice-demo-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.voice-demo-actions button { min-height: 42px; padding: 10px 8px; border: 1px solid #d9dfd6; border-radius: 12px; background: #ecefe7; color: #53675b; font: inherit; }
.voice-demo-note { margin: 12px 0 0; color: #89978c; font-size: 11px; line-height: 1.7; }
@media (pointer: coarse) { .voice-web-options { display: none; } }
