#graphics-dialog{box-sizing:border-box;width:min(900px,94vw);max-height:92dvh;overflow:auto;padding:32px;background:linear-gradient(145deg,rgba(29,40,37,.98),rgba(9,16,15,.99));color:#f3ecd9;border:1px solid #9c835144;border-radius:24px;box-shadow:0 25px 100px #000b;font-family:var(--font-body,Arial,sans-serif)}
#graphics-dialog::backdrop{background:#020707ba;backdrop-filter:blur(8px)}
#graphics-dialog h2{font-family:Georgia,serif;font-size:38px;line-height:1.05;margin:16px 0}.graphics-intro,.graphics-note{font-size:13px;color:#b8c1b8;line-height:1.6}.graphics-close{position:absolute;right:18px;top:12px;font-size:27px;padding:4px 12px;background:transparent;border:0;color:#e8d9b8;cursor:pointer}.graphics-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.graphics-presets button{text-align:left;border:1px solid #b9ba9e35;border-radius:17px;padding:20px 18px;background:#ffffff05;color:inherit;cursor:pointer}.graphics-presets button[aria-pressed=true]{border-color:#dfb969;background:linear-gradient(140deg,#cda76125,#ffffff04);box-shadow:0 0 0 1px #dfb96933,inset 0 1px #f8e5b722}.graphics-presets small{font-size:10px;color:#b2bcb6}.graphics-presets strong{display:block;font-family:Georgia,serif;font-size:25px;color:#e8c780;margin:10px 0}.graphics-presets p{font-size:12px;line-height:1.7;min-height:80px;color:#d1d6cd}.graphics-presets b{font-size:19px}.graphics-presets b span{font-weight:400;font-size:11px;color:#acb6af}.graphics-auto{display:flex;gap:10px;align-items:center;font-size:13px}.graphics-auto input{accent-color:#d7b66e}.graphics-note{margin:18px 0}.graphics-apply{border-radius:14px;width:100%;min-height:50px}#graphics-open{white-space:nowrap}
@media(max-width:650px){#graphics-dialog{padding:24px 19px}.graphics-presets{grid-template-columns:1fr;gap:9px;margin:18px 0}.graphics-presets button{padding:15px}.graphics-presets strong{font-size:23px;margin:5px 0}.graphics-presets p{min-height:0;margin:6px 0}.graphics-presets b{font-size:16px}#graphics-dialog h2{font-size:30px}}

.graphics-presets button{text-align:center;padding:16px 16px 10px}.graphics-presets img{display:block;width:150px;height:150px;object-fit:contain;margin:0 auto 12px;filter:drop-shadow(0 8px 12px #0007);transition:transform .2s ease}.graphics-presets button:hover img,.graphics-presets button[aria-pressed=true] img{transform:translateY(-3px)}.graphics-presets small{display:block}.graphics-presets p{min-height:36px;margin:9px 0}.graphics-auto{justify-content:center;color:#d4c9aa}.graphics-auto span{color:#e0bb73}.graphics-note{text-align:center;font-size:11px}.graphics-intro{margin-bottom:0}
@media(max-width:650px){.graphics-presets button{display:grid;grid-template-columns:72px 1fr;text-align:left;column-gap:14px;padding:12px}.graphics-presets img{grid-column:1;grid-row:1/4;width:72px;height:72px;margin:0}.graphics-presets small,.graphics-presets strong,.graphics-presets p{grid-column:2}.graphics-presets strong{font-size:21px}.graphics-presets p{font-size:11px;margin:0;min-height:0}.graphics-presets{margin:15px 0}.graphics-auto{font-size:12px;line-height:1.5}}
@media(prefers-reduced-motion:reduce){.graphics-presets img{transition:none}}

.graphics-active{text-align:center;font-size:12px;color:#e8c780}.graphics-auto input{width:16px;height:16px;flex:none}.graphics-auto{cursor:pointer}
