.graphics-settings{width:min(720px,calc(100vw - 24px));max-height:90dvh;padding:0;color:#e5e6df;background:#102533;border:1px solid #8b7954;border-radius:18px;box-shadow:0 20px 90px #0009;box-sizing:border-box}
.graphics-settings::backdrop{background:#021019bb}.graphics-settings header,.graphics-settings footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px;background:#0d202c}.graphics-settings header small{font-size:10px;letter-spacing:.12em;color:#ceb47e}.graphics-settings h2{margin:6px 0;font:600 25px Georgia,serif}.graphics-settings button{padding:10px 20px;background:#234653;color:#f1e8ce;border:1px solid #6a817c;border-radius:8px;cursor:pointer}.graphics-settings header button{font-size:24px;padding:3px 12px}.graphics-scroll{overflow:auto;max-height:65dvh;padding:0 22px 18px;overscroll-behavior:contain}.graphics-scroll>p{color:#a9bdc4;font-size:13px;line-height:1.5}.graphics-row{display:flex;align-items:center;justify-content:space-between;gap:22px;border-bottom:1px solid #89a6aa22;padding:15px 0}.graphics-row span{display:grid;gap:6px;max-width:70%}.graphics-row strong{font-size:14px}.graphics-row small{color:#9fb4bf;font-size:12px;line-height:1.45}.graphics-row select{width:160px;max-width:43%;color:#f1e8ce;background:#183c4b;border:1px solid #587782;border-radius:7px;padding:9px 6px}.graphics-row input{width:22px;height:22px;accent-color:#d4b67b;flex-shrink:0}.graphics-settings footer span{font-size:11px;color:#a9bdc4}.graphics-settings :focus-visible{outline:2px solid #9af5ef;outline-offset:3px}@media(max-width:480px){.graphics-settings header,.graphics-settings footer{padding:14px}.graphics-scroll{padding:0 14px 14px}.graphics-row{gap:10px}.graphics-row span{max-width:65%}.graphics-row select{width:122px}.graphics-settings h2{font-size:22px}}

.graphics-fps{position:absolute;left:8px;bottom:8px;z-index:5;pointer-events:none;background:#061922cc;color:#9cf5da;padding:4px 7px;border-radius:4px;font:11px monospace}
.graphics-settings[open]{display:flex;flex-direction:column;overflow:hidden}.graphics-settings header,.graphics-settings footer{flex:0 0 auto}.graphics-scroll{flex:1 1 auto;min-height:0;max-height:none}
@media(max-width:480px){.graphics-row:has(select){display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.graphics-row:has(select)>span{max-width:none}.graphics-row select{width:100%;max-width:none}.graphics-row>span{max-width:calc(100% - 38px)}.graphics-settings header small{letter-spacing:.06em}.graphics-settings footer span{max-width:60%}}
