.gp118-preview{margin:14px 0;border:1px solid #527b60;border-radius:12px;padding:18px;background:#10271e;color:#e8f6ec}
.gp118-preview button{border:1px solid #81b68c;background:#244b35;color:#f2fff2;padding:11px 18px;border-radius:10px;cursor:pointer;font-weight:650;transition:background .2s,border-color .2s}
.gp118-preview button:hover{background:#326647;border-color:#b5e6a8}
.gp118-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.gp118-preview canvas{width:100%;max-height:540px;background:#0c1b20;border-radius:12px;display:block}
.gp118-preview #gp118Panel[hidden]{display:none}
.gp118-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.gp118-controls label{min-width:0;display:flex;flex-direction:column;gap:14px;padding:16px;background:#17382b;border:1px solid #3a6650;border-radius:12px;color:#e4f5e8;font-size:14px;font-weight:650}
.gp118-label{display:flex;align-items:center;justify-content:space-between;gap:8px}
.gp118-label output{color:#c8f9a9;background:#254e38;border:1px solid #416e4c;border-radius:7px;padding:4px 8px;font-variant-numeric:tabular-nums;white-space:nowrap}
.gp118-controls input[type=range]{appearance:none;-webkit-appearance:none;display:block!important;width:100%!important;height:8px!important;min-height:8px!important;margin:7px 0!important;border:0!important;border-radius:100px!important;outline:0!important;background:linear-gradient(90deg,#8bd66e,#3b7656)!important;cursor:pointer;accent-color:#a8ee86;box-shadow:none!important;padding:0!important;opacity:1!important}
.gp118-controls input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:#d5ffba;border:3px solid #397e50;box-shadow:0 2px 8px #07170d88;cursor:grab}
.gp118-controls input[type=range]::-moz-range-thumb{width:15px;height:15px;border-radius:50%;background:#d5ffba;border:3px solid #397e50;cursor:grab}
.gp118-controls input[type=range]:focus-visible{outline:2px solid #d5ffba!important;outline-offset:5px!important}
.gp118-preview small{color:#bdd2c0}.gp118-preview p{color:#d4e9d7}
@media(max-width:680px){.gp118-controls{grid-template-columns:1fr}.gp118-preview{padding:12px}.gp118-controls label{padding:12px}}

#gp118Canvas{cursor:grab;touch-action:none;user-select:none;}#gp118Canvas:active{cursor:grabbing;}

.gp-texture-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px;margin-top:12px;border:1px solid #537e60;border-radius:10px;background:#173829;color:#e7f8e9}.gp-texture-tools label{font-weight:700}.gp-texture-tools input{max-width:260px;color:#e7f8e9}.gp-texture-tools span{font-size:12px;color:#b7d5bd}
