#remote-buttons-setting[hidden]{display:none!important}
.remote-buttons-modal{z-index:35;padding:clamp(10px,3vh,28px) clamp(10px,4vw,50px);background:#02060be8;overscroll-behavior:contain}
.remote-buttons-card{display:flex;flex-direction:column;width:min(740px,94vw);max-height:90vh;min-height:0;background:var(--surface,#101725);color:var(--text,#f5f7fb)}
.remote-buttons-card>header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px}
.remote-buttons-card>header h2{margin:0;font-size:clamp(18px,2.3vw,25px);overflow-wrap:anywhere}
.remote-back{flex:0 0 auto;padding:10px 14px;border:1px solid var(--line);border-radius:9px;background:var(--surface2);color:inherit;min-height:42px}
.remote-buttons-list{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px 18px;scroll-padding:8px}
.remote-option{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:52px;margin:7px 0;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--surface2,#151e2e);color:inherit;text-align:left;font-size:15px}
.remote-option strong{font-size:inherit;font-weight:600;text-align:right;overflow-wrap:anywhere}
.remote-color-label{display:flex;align-items:center;gap:12px}
.remote-dot{width:15px;height:15px;border-radius:50%;flex-shrink:0;border:1px solid #ffffff55}
.remote-dot-red{background:#ed4056}.remote-dot-green{background:#38c96c}.remote-dot-yellow{background:#f4d34d}.remote-dot-blue{background:#468ffc}
.remote-option.active{border-color:var(--primary)}
.remote-buttons-card .focusable:focus{outline:0;box-shadow:inset 0 0 0 3px var(--primary);transform:none}
.remote-buttons-status{flex:0 0 auto;min-height:20px;margin:8px 22px 14px;font-size:13px;color:var(--primary)}
html[data-font-scale="large"] .remote-option{font-size:17px}html[data-font-scale="xlarge"] .remote-option{font-size:19px}
html[data-theme="light"] .remote-buttons-card{--surface:#f7f9fc;--surface2:#e6edf5;--line:#cbd6e4;--text:#152033;background:var(--surface);color:var(--text)}
html[data-platform="android"][data-device-class="tv"] #settings-modal .settings-card{max-height:90vh;overflow-y:auto}
