/* A scrollable, safe-area-aware settings screen with fixed close control. */
.system-menu-panel{width:min(880px,100%)!important;height:min(660px,100%)!important;max-height:100%!important;grid-template-rows:auto minmax(0,1fr) auto!important}
.system-menu-body{min-height:0;overflow:auto;overscroll-behavior:contain;display:grid;align-content:start;gap:8px;padding:10px 12px}
.system-settings-card,.system-details{padding:10px;border:1px solid #557568;border-radius:9px;background:#10271e}
.system-settings-card h3{margin:0 0 3px;color:#fff0c5;font:700 15px/1.3 system-ui}.system-settings-card p,.system-details>p{margin:3px 0;color:#c2d5c9;font:12px/1.5 system-ui}
.system-settings-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.system-settings-actions button,.system-menu-foot>button{min-height:40px;padding:7px 13px;border:1px solid #baa36a;border-radius:7px;background:#254334;color:#fff1ce;font:700 12px/1.2 system-ui;cursor:pointer;touch-action:manipulation}
.system-settings-actions button:disabled{opacity:.5;cursor:default}.system-settings-actions button[aria-pressed=true]{border-color:#e2c87b;background:#365740}
.system-update-message:empty,#systemDisplayMessage:empty{display:none}.system-update-message,#systemDisplayMessage{color:#ffe1a3!important}
.system-ios-help{padding:7px 9px;border-left:3px solid #d1b165;background:#1a382c}
.system-details summary{min-height:40px;display:flex;align-items:center;color:#f5e0a8;font:700 13px system-ui;cursor:pointer}.system-details summary::before{content:'▸';margin-right:8px}.system-details[open] summary::before{content:'▾'}
.system-details .system-status-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;padding:5px 0!important}.system-details .system-diagnostics{margin:8px 0!important}.system-details .system-diagnostics-list{min-height:54px!important}.system-diagnostic-actions{margin-bottom:6px}
.system-menu-foot>button{min-width:90px;background:#795b26;color:#fff3d2}.system-menu-foot>span{color:#bdcec1}
.system-menu-panel button:focus-visible,.system-menu-panel summary:focus-visible,.save-vault-panel button:focus-visible{outline:3px solid #ffdd83;outline-offset:2px}
.casinoir-system-large-text .system-settings-card h3,.casinoir-system-large-text .system-details summary{font-size:18px!important}.casinoir-system-large-text .system-settings-card p,.casinoir-system-large-text .system-details>p,.casinoir-system-large-text .system-settings-actions button,.casinoir-system-large-text .system-menu-foot button{font-size:15px!important;line-height:1.45!important}
.casinoir-system-large-text .system-status-grid small,.casinoir-system-large-text .system-status-grid strong,.casinoir-system-large-text .system-diagnostics p,.casinoir-system-large-text .save-vault-panel p,.casinoir-system-large-text .save-vault-panel small,.casinoir-system-large-text .save-vault-panel strong,.casinoir-system-large-text .save-vault-panel em,.casinoir-system-large-text .save-vault-panel button{font-size:14px!important;line-height:1.4!important;white-space:normal!important}
@media(max-width:760px) and (orientation:landscape){.system-menu-body{padding:6px 8px;gap:6px}.system-settings-card,.system-details{padding:7px}.system-settings-actions{margin-top:5px;gap:5px}.system-settings-actions button{min-height:36px}.system-menu-head{min-height:44px!important}.system-menu-foot{min-height:42px!important}}
.casinoir-system-large-text .save-vault-empty{min-height:0!important;padding:6px!important;gap:2px!important}.casinoir-system-large-text .save-vault-empty>span{display:none}
