.voyage-route.game-dialog .voyage-preferences {
  --pref-line: #d7cbb5;
  color: #21392f;
  display: grid;
  gap: 12px;
}
.game-dialog .voyage-preferences :is(.pref-sound,.pref-group) {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}
.game-dialog .voyage-preferences .pref-sound { padding: 0 0 10px; }
.game-dialog .voyage-preferences .pref-group { border-top:1px solid var(--pref-line); }
.game-dialog .pref-sound h3 { margin: 0 0 12px; font-size: 1.25rem; line-height: 1.4; }
.game-dialog .pref-switch { display:flex; gap:16px; align-items:center; justify-content:space-between; }
.game-dialog .pref-switch label { display:grid; gap:2px; flex:1; min-width:0; padding:7px 0; }
.game-dialog .pref-switch label strong { color:#253b32; font-size:1rem; }
.game-dialog .pref-switch small,.game-dialog .pref-content p { color:#4d594d; font:inherit; font-size:.94rem; line-height:1.6; }
.game-dialog .pref-switch input[type=checkbox] { flex:none; width:44px; height:44px; accent-color:#205c4c; margin:0; }
.game-dialog .pref-fader { display:grid; align-items:center; grid-template-columns:minmax(0,1fr) auto; margin-top:10px; }
.game-dialog .pref-fader :is(label,output) { line-height:1.4; }
.game-dialog .pref-fader output { font-variant-numeric:tabular-nums; color:#405c50; }
.game-dialog .pref-fader input[type=range] { width:100%; margin:0; min-height:44px; grid-column:1/-1; accent-color:#236753; }
.game-dialog .voyage-preferences :is(.pref-listen,.pref-help,.pref-reset) { background:#eaf1e7; color:#204c3e; border:1px solid #a8bbaa; border-radius:8px; font:inherit; font-weight:650; padding:9px 13px; min-height:44px; line-height:1.45; box-shadow:none; }
.game-dialog .pref-listen:disabled { opacity:.58; }
.game-dialog .pref-help { justify-self:start; }
.game-dialog .voyage-preferences .pref-reset { background:transparent; color:#794233; border-color:#d4bcae; margin-top:14px; }
.game-dialog .pref-group > summary { display:flex; align-items:center; justify-content:space-between; list-style:none; gap:12px; padding:12px 0; min-height:48px; font-size:1.04rem; font-weight:700; color:#243729; cursor:pointer; }
.game-dialog .pref-group > summary::-webkit-details-marker { display:none; }
.game-dialog .pref-group > summary::after { content:'+'; font:600 1.25rem/1 system-ui; }
.game-dialog .pref-group[open] > summary::after { content:'−'; }
.game-dialog .pref-content { padding:4px 0 15px; }
.game-dialog .pref-content > :not(:first-child) { margin-top:12px; }
.game-dialog .pref-content > .pref-switch + .pref-switch { border-top:1px solid var(--pref-line); padding-top:9px; }
.game-dialog .pref-choices { padding:0; margin:0; border:0; min-width:0; }
.game-dialog .pref-choices legend { color:#33483b; padding:0 0 6px; font-weight:650; }
.game-dialog .pref-choices > div,.game-dialog .pref-save-actions { display:flex; flex-wrap:wrap; gap:6px; }
.game-dialog .pref-choices button { min-height:44px; min-width:64px; color:#263d32; background:#f5f2e7; border:1px solid #bdc5b5; border-radius:8px; font:inherit; padding:8px 14px; box-shadow:none; }
.game-dialog .pref-choices [aria-pressed=true] { color:white; background:#265448; border-color:#265448; }
