/* Theme options grow without shrinking labels; small screens use two columns. */
.settings-appearance-row:has(>.theme-switch) {align-items:stretch;flex-direction:column;gap:8px}
.settings-display .theme-switch {width:100%;max-width:100%;display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,.8fr) minmax(0,1fr) minmax(0,1.3fr) minmax(0,1.1fr)}
.theme-switch button {min-width:0;padding:5px 8px;white-space:nowrap}
.theme-switch button>span {flex:none}
.theme-macaron-swatch {display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px}
.theme-macaron-swatch i {display:block;flex:none;width:8px;height:8px;border-radius:50%;border:1px solid #a69ab8;background:#dac7f4}
.theme-macaron-swatch i+i {margin-left:-4px;background:#bde7d6}
.theme-macaron-swatch i:last-child {background:#f5cbd9}
.theme-sa-swatch {display:grid;grid-template-columns:repeat(3,4px);grid-template-rows:repeat(2,4px);gap:2px;width:16px;height:10px}
.theme-sa-swatch i {display:block;border-radius:2px;background:#688775}
.theme-sa-swatch i:nth-child(2) {background:#d99486}
.theme-sa-swatch i:nth-child(3) {background:#7b9cbd}
.theme-sa-swatch i:nth-child(4) {background:#d6b96d}
.theme-sa-swatch i:nth-child(5) {background:#ffffff;box-shadow:inset 0 0 0 1px #c3c9c4}
.theme-sa-swatch i:nth-child(6) {background:#44564d}
.theme-buffalo-swatch {display:inline-flex;width:16px;height:14px;align-items:center;gap:2px}
.theme-buffalo-swatch i {display:block;width:7px;height:12px;border-radius:3px;background:#6e431e}
.theme-buffalo-swatch i:last-child {background:#bc8c4d}
@media(max-width:600px){
  .settings-appearance-row {flex-wrap:wrap;gap:8px}
  .settings-display .theme-switch {width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
}
