.render-quality-settings { color: #eee4cd; font: 14px/1.5 'Microsoft YaHei', system-ui, sans-serif; text-align: left; }
.render-quality-settings summary { min-height: 44px; padding: 10px 12px; box-sizing: border-box; color: #edcd83; cursor: pointer; touch-action: manipulation; }
.render-quality-settings summary:hover { color: #fff3d1; background: #302c21; }
.render-quality-settings fieldset { min-width: 0; margin: 0; padding: 0 12px; border: 0; }
.render-quality-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.render-quality-options label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; padding: 6px; border: 1px solid #746447; border-radius: 6px; white-space: nowrap; cursor: pointer; touch-action: manipulation; }
.render-quality-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.render-quality-options label:focus-within { outline: 2px solid #ffe2a0; outline-offset: 2px; }
.render-quality-options .is-selected { border-color: #edcd83; background: #443a26; color: #fff3d1; }
.render-quality-options label:hover { background: #302c21; }
.render-quality-settings :focus-visible { outline: 2px solid #ffe2a0; outline-offset: 2px; }
.render-quality-hint, .render-quality-status { margin: 8px 12px; color: #d5c7ab; font-size: 13px; }
.render-quality-status:empty { display: none; }
.render-quality-settings ::selection { background: #796336; color: #fff3d1; }
.frame-rate-toggle { color: #eee4cd; font: 14px/1.5 'Microsoft YaHei', system-ui, sans-serif; }
.frame-rate-status { margin: 0; color: #ffdfa0; font-size: 11px; line-height: 1.5; }
#fps-counter { position: absolute; right: 0; top: 100%; font-size: 11px; font-variant-numeric: tabular-nums; min-width: 5ch; }
#fps-counter[hidden] { display: none !important; }
.ui-theme-settings .ui-theme-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root[data-menu-info-art='ready'] :is(#mobile-drawer, #progression-dialog).mi-surface .render-quality-settings.ui-theme-settings { grid-column: 2; grid-row: 2; }
#shop-display-labels { white-space: nowrap; }
#shop-display-labels[aria-pressed='false'] { opacity: .75; }
#shop-modal.shop-sheet[data-show-item-labels='false'] #shop-grid :is(.shop-item-name, .item-price-badge) { display: none; }
