/* Shared settings: native main-menu and pause entry points. */
body #ui .st-wrap{--font:var(--yq-font);--font-title:var(--yq-font);--ink:#283e32;--ink-2:#6b7865;--line:#87916f33;font-family:var(--yq-font);color:var(--ink)}
body #ui .st-wrap{gap:18px}
body #ui .st-wrap .st-tabs{gap:8px;padding-right:0}
body #ui .st-wrap .st-tab{background:#dfe4ce;border:1px solid #9eac7d55;border-radius:5px;box-shadow:none;transform:none;animation:none;padding:11px;gap:12px}
body #ui .st-wrap .st-tab:hover{background:#d0d9bb;transform:none}
body #ui .st-wrap .st-tab.on{background:#34583d;border-color:#6e8859;color:#e9e7cf;box-shadow:none;transform:none}
body #ui .st-wrap .st-tab:before,body #ui .st-wrap .st-tab.on:after{display:none}
body #ui .st-wrap .st-tab .st-tx b{font-size:15px;font-weight:600;text-shadow:none}
body #ui .st-wrap .st-tab .st-tx small{font-size:10px;font-weight:450;margin-top:5px;color:#7c886b}
body #ui .st-wrap .st-tab.on .st-tx small{color:#bbc9a6}
body #ui .st-wrap .st-ic,body #ui .st-wrap .st-tab .st-ic{background:#90a7701f;border:1px solid #a9b38455;border-radius:4px;box-shadow:none;width:34px;height:34px;color:#819166;font:20px Georgia,serif}
body #ui .st-wrap .st-ic img{display:none}
body #ui .st-wrap .st-ic:after{content:attr(data-yq-setting-icon)}
body #ui .st-wrap .st-pane{background:#e5e6d4!important;border-radius:6px;box-shadow:none}
body #ui .st-wrap .st-head{background:#d3dcc0;border-bottom:1px solid #a4b28155;color:#3c5a39;padding:16px}
body #ui .st-wrap .st-head .st-tx b{font-size:20px;font-weight:600;text-shadow:none;letter-spacing:1px}
body #ui .st-wrap .st-head .st-tx small{font-size:10px;font-weight:450;margin-top:6px;color:#7b8969}
body #ui .st-wrap .st-body>*{animation:none}
body #ui .st-wrap .st-body{scrollbar-width:thin;scrollbar-color:#a2ad8d #dce0cc;overscroll-behavior:contain}
body #ui .st-wrap .st-reset .uiicon{filter:grayscale(1);opacity:.75;width:15px;height:15px}
body #ui .st-wrap .st-row{background:#f0eddf;border:1px solid #afb88c44;border-radius:5px;font-size:12px;font-weight:500;box-shadow:none;padding:14px;gap:9px}
body #ui .st-wrap .st-row:hover{background:#f4f1e5;box-shadow:none}
body #ui .st-wrap .st-val{background:#dde3cb!important;border-radius:3px;font-size:11px;font-weight:500;padding:3px 7px;min-width:44px}
body #ui .st-wrap .st-range{background:linear-gradient(90deg,#8b9c6b var(--p),#d3dac2 var(--p));height:5px;border-radius:2px;box-shadow:none}
body #ui .st-wrap .st-range::-webkit-slider-thumb{appearance:none;background:#d5c291;border:3px solid #4b6743;border-radius:3px;width:17px;height:20px;box-shadow:0 1px 3px #16322330;transform:none}
body #ui .st-wrap .st-range::-moz-range-thumb{background:#d5c291;border:3px solid #4b6743;border-radius:3px;width:12px;height:15px;box-shadow:none}
body #ui .st-wrap .st-range:hover::-webkit-slider-thumb,body #ui .st-wrap .st-range:active::-webkit-slider-thumb{transform:none;background:#e5d4a4}
body #ui .st-wrap .st-range:focus-visible{outline:2px solid #a4996c;outline-offset:7px}
body #ui .st-wrap .switch{width:46px;height:26px;border-radius:4px;background:#c1cbb0;box-shadow:none}
body #ui .st-wrap .switch i{width:18px;height:18px;border-radius:2px;background:#f0ecdb;box-shadow:none}
body #ui .st-wrap .switch.on{background:#799367}body #ui .st-wrap .switch.on i{transform:translateX(20px)}
body #ui .st-wrap .seg{border:1px solid #a4b28166;border-radius:4px;background:#d6dfc3!important;box-shadow:none}
body #ui .st-wrap .seg .pill{font-size:11px;font-weight:500;border-radius:3px;box-shadow:none;background:transparent;color:#71815e}
body #ui .st-wrap .seg .pill.on{background:#5b7950;color:#eee8d7;box-shadow:none}

/* Reuse loaded cultivation artwork for both settings navigation and headings. */
body #ui .st-wrap .st-ic img.yq-setting-art{display:block!important;width:40px;height:40px;min-width:40px;max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;object-fit:contain;image-rendering:pixelated;filter:none;opacity:1}
/* Keep artwork comfortably sized in navigation and section headings without squeezing labels. */
body #ui .st-wrap :is(.st-tab,.st-head) .st-ic{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0}
body #ui .st-wrap .st-tab{padding-block:7px;gap:12px}
body #ui .st-wrap :is(.st-tab,.st-head) .st-tx{min-width:0}
body #ui .st-wrap .st-ic[data-yq-setting-art]:after{display:none;content:none}

/* Key binding controls retain one outer frame; the inner button is unframed. */
body #ui .st-wrap .st-row.keyrow .seg .key-bind{border:0;box-shadow:none}
body #ui .st-wrap .st-row.keyrow .seg .key-bind:focus-visible{outline:2px solid #5b7950;outline-offset:-2px}
