/* Player preferences share one compact paper card. */
.music-popover{width:290px;gap:9px;text-align:left;box-shadow:0 7px 24px #254b4326}
.music-popover label{font-size:12px;gap:9px;min-height:30px}.music-popover input[type=range]{min-width:0;flex:1;width:130px}
.music-popover output{font-size:11px;color:#56715e;min-width:29px}.sound-divider{height:1px;background:#d7dfcd;margin:3px 0}
#fx-toggle{border:1px solid #90aa88;background:#edf3e5;border-radius:8px;padding:8px;color:#315e50;font:inherit;cursor:pointer}
#fx-toggle[aria-pressed=false]{border-color:#c6d0bd;background:#f7f6ed;color:#687b6b}.music-popover .motion-option{justify-content:flex-start}
.music-popover .motion-option input{flex:none;width:17px;height:17px;accent-color:#4c785b}.music-popover .motion-option:has(input:disabled){color:#637768}
.music-popover small{font-size:11px;opacity:1;color:#617564;line-height:1.65}
html[data-gentle-motion=true] .piece-card,html[data-gentle-motion=true] .market-card,html[data-gentle-motion=true] .utility-card,html[data-gentle-motion=true] .opponent-park,html[data-gentle-motion=true] .turn-step{transition:none!important}
html[data-gentle-motion=true] .piece-card:hover,html[data-gentle-motion=true] .market-card:hover{transform:none!important}
@media(max-width:620px){.music-popover{position:fixed;top:72px;right:12px;width:min(300px,calc(100vw - 24px));max-height:calc(100dvh - 100px);overflow-y:auto}.music-popover label{min-height:36px}}

.sound-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fffaf0;position:sticky;top:0;z-index:1}.sound-settings-heading strong{min-width:0}.sound-settings-heading button{flex:none;width:30px;height:30px;border:1px solid #bfceb4;background:#f7faee;border-radius:50%;color:#4c715b;cursor:pointer;font-size:21px;line-height:1} @media(max-width:620px){.sound-settings-heading button{width:36px;height:36px}}

/* Gentle feedback keeps the message legible without sliding the paper. */
html[data-gentle-motion=true] .toast,html[data-gentle-motion=true] .toast.show{transform:translate(-50%,0)!important;transition:opacity 200ms cubic-bezier(.23,1,.32,1)!important}
