.game-preferences { margin: 12px 0; padding: 10px 12px; border: 1px solid #97b5a9; border-radius: 12px; background: #f5f8ef; color: #203c33; max-width: 100%; box-sizing: border-box; }
.game-preferences > summary { cursor: pointer; font-weight: 700; min-height: 30px; }
.game-preferences-body { display: grid; gap: 12px; padding: 12px 0; }
.game-preferences-body label { display: grid; gap: 7px; font-size: 14px; }
.game-preferences-body .game-preference-check { display: flex; align-items: center; gap: 9px; }
.game-preferences-body input[type=range],.game-preferences-body select { width: 100%; min-width: 0; box-sizing: border-box; }
.game-preferences-body output { font-variant-numeric: tabular-nums; }
.game-preferences-note,.game-preferences-help { font-size: 13px; line-height: 1.5; }
.game-preferences button { cursor: pointer; border: 1px solid #709786; border-radius: 8px; padding: 9px 12px; color: #203c33; background: #e8efe0; white-space: normal; }
.game-preferences :focus-visible { outline: 3px solid #bc561b; outline-offset: 3px; }
.game-pref-large-controls button:not(.farm-tile):not(.nonogram-cell):not(.cave-cell):not(.winter-post-tile):not(.star-forest-tile):not(.four-paws-cell):not(.winter-paws-cell):not(.hunt-hitbox) { min-height: 44px; }
.game-pref-large-controls select,.game-pref-large-controls input:not([type=checkbox]):not([type=radio]) { min-height: 38px; }
.game-pref-high-contrast :is(p,h2,h3,strong,label,summary,output) { text-shadow: none; filter: contrast(1.3); }
.game-pref-high-contrast :is(button,input,select) { outline: 1px solid currentColor; outline-offset: 1px; }
.game-pref-high-contrast :is(.snake-board,.breakout-board,.cave-board,.winter-post-board,.star-forest-board,.nonogram-board,.four-paws-board,.winter-paws-board) { filter: contrast(1.16); }
.game-pref-reduced *, .game-pref-reduced *::before,.game-pref-reduced *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
.game-pref-reduced .confetti-particle,.game-pref-reduced .bongo-confetti,.game-pref-reduced .farm-celebration-particle { display: none !important; }
.game-no-confetti :is(.confetti-particle,.bongo-finale-sparkles,.farm-level-confetti) { display: none !important; }
.farm-expanded > .game-preferences { margin: 10px 16px; }
.game-preferences [hidden] { display: none !important; }
@media (max-width:600px) { .game-preferences { padding: 9px; } }
