/* Yinyu 视觉控制台偏好设置：智能声境与软件动效。 */
.preference-setting{
  padding:12px;
  border-radius:13px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}
.preference-section-label{margin-top:18px}
.preference-intro,.preference-status{
  margin:0;
  color:rgba(255,255,255,.48);
  font-size:10.5px;
  line-height:1.55;
}
.preference-intro{margin-bottom:10px;color:rgba(255,255,255,.58)}
.preference-status{min-height:17px;margin-top:8px;padding:0 2px}
.preference-toggle{
  width:100%;
  min-height:52px;
  gap:12px;
  padding:10px 11px;
  text-align:left;
}
.preference-toggle-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px;white-space:normal!important}
.preference-toggle-copy strong{font-size:12px;font-weight:700;color:rgba(255,255,255,.88)}
.preference-toggle-copy small{overflow:hidden;text-overflow:ellipsis;font-size:9.5px;line-height:1.35;color:rgba(255,255,255,.43);white-space:normal}
.preference-switch{
  position:relative;
  flex:0 0 auto;
  width:34px;
  height:20px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
  transition:background .22s ease,box-shadow .22s ease;
}
.preference-switch-thumb{
  position:absolute;
  top:3px;
  left:3px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:rgba(255,255,255,.80);
  box-shadow:0 2px 8px rgba(0,0,0,.28);
  transform:translate3d(0,0,0);
  transition:transform .24s cubic-bezier(.2,.8,.2,1),background .2s ease;
}
.preference-toggle.on .preference-switch{background:rgba(var(--fc-accent-rgb),.28);box-shadow:inset 0 0 0 1px rgba(var(--fc-accent-rgb),.38)}
.preference-toggle.on .preference-switch-thumb{background:var(--fc-accent);transform:translate3d(14px,0,0)}
.motion-preference-options{margin:0}
.motion-preference-options button{min-height:44px}
html.is-reduced-motion .preference-switch,html.is-reduced-motion .preference-switch-thumb{transition:none}

@media (max-width:720px){
  .preference-setting{padding:10px;border-radius:12px}
  .preference-toggle{min-height:56px}
  .motion-preference-options button{min-height:44px;padding-inline:8px}
  .preference-status{font-size:10px}
}
