/* Estilos isolados no namespace .glmg para não alterar o tema WordPress. */
.glmg{--glmg-bg:#08121f;--glmg-panel:#111f2e;--glmg-border:#27384b;--glmg-muted:#a8b9cb;--glmg-accent:#65e4b5;--glmg-text:#f3f7fd;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--glmg-text);background:var(--glmg-bg);border:1px solid #1b2d40;border-radius:20px;padding:clamp(18px,4vw,38px);margin:22px 0;box-sizing:border-box;line-height:1.5}
.glmg *, .glmg *::before, .glmg *::after{box-sizing:border-box}
.glmg-head{margin-bottom:26px;max-width:740px}
.glmg-eyebrow{display:block;font-size:11px!important;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--glmg-accent);margin-bottom:8px}
.glmg h2,.glmg h3,.glmg h4{color:var(--glmg-text);margin:0;line-height:1.2}
.glmg h2{font-size:clamp(26px,3.3vw,38px);font-weight:800;letter-spacing:-.03em;margin-bottom:12px}
.glmg h3{font-size:19px;font-weight:750}
.glmg p{color:var(--glmg-muted);margin:10px 0 0;font-size:14px}
.glmg-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.82fr);gap:18px;align-items:start}
.glmg-panel{padding:22px;background:var(--glmg-panel);border:1px solid var(--glmg-border);border-radius:15px;min-width:0}
.glmg-panel-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.glmg-step{width:32px;height:32px;min-width:32px;border-radius:9px;background:#203b3e;display:inline-flex;align-items:center;justify-content:center;color:var(--glmg-accent);font-size:12px;font-weight:800}
.glmg-gpus{display:grid;gap:12px}
.glmg-gpu-row{padding:12px;background:#0b1725;border:1px solid #284055;border-radius:11px}
.glmg-gpu-top{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.glmg-gpu-bottom{display:flex;align-items:stretch;gap:10px}
.glmg :is(input,select,button){font:inherit}
.glmg :is(.glmg-search,.glmg-gpu-select,.glmg-gpu-qty,.glmg-electricity){background:#172a3b!important;color:#f5faff!important;border:1px solid #385066!important;box-shadow:none!important;border-radius:9px!important;font-size:14px!important;outline:none;padding:10px 12px;min-height:43px;min-width:0}
.glmg :is(input,select):focus-visible{border-color:var(--glmg-accent)!important;outline:2px solid rgba(101,228,181,.18);outline-offset:1px}
.glmg :is(input,select)::placeholder{color:#90a3b8}
.glmg-search{width:100%;flex:1}
.glmg-gpu-select{width:100%;flex:1;cursor:pointer}
.glmg-qty-wrap{width:84px;min-width:84px;display:flex;align-items:center;gap:5px}
.glmg-qty-wrap span{font-size:12px;color:var(--glmg-muted)}
.glmg-qty-wrap input{width:57px;padding:8px!important;text-align:center}
.glmg-remove{border:1px solid #455669!important;background:transparent!important;border-radius:9px!important;color:#f3adad!important;min-width:34px;width:34px;height:34px;padding:0!important;line-height:30px!important;font-size:23px!important;cursor:pointer}
.glmg-remove:hover{background:#412631!important}
.glmg-add,.glmg-export{padding:10px 12px!important;color:var(--glmg-accent)!important;background:transparent!important;border:1px dashed #3e665d!important;border-radius:10px!important;font-size:13px!important;font-weight:700;cursor:pointer;line-height:1.3!important}
.glmg-add{width:100%;margin-top:12px}
.glmg-add:hover,.glmg-export:hover{background:#17342f!important}
.glmg-label{display:block;margin:20px 0 8px;font-size:13px;font-weight:700;color:#e1eefa}
.glmg-money-input{position:relative;display:flex;align-items:center;gap:10px}
.glmg-money-input>span{color:var(--glmg-accent);font-weight:800;font-size:17px}
.glmg-money-input input{flex:1;width:100%}
.glmg .glmg-hint{font-size:12px;margin-top:7px}
.glmg-submit{width:100%;background:var(--glmg-accent)!important;border:0!important;color:#09211b!important;font-weight:800!important;font-size:15px!important;border-radius:10px!important;padding:15px!important;display:flex;justify-content:center;align-items:center;gap:15px;margin-top:20px!important;cursor:pointer}
.glmg-submit:hover:not(:disabled){background:#8ef7d0!important}
.glmg button:disabled{opacity:.55;cursor:not-allowed}
.glmg-message{min-height:22px;margin-top:12px!important;font-size:12px!important}
.glmg-message.glmg-error{color:#ffb0aa}
.glmg-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.glmg-info-grid>div{background:#0b1725;border:1px solid #293e50;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:4px}
.glmg-info-grid span{color:var(--glmg-muted);font-size:12px}
.glmg-info-grid strong{font-size:13px;color:#f5fbff;font-weight:750}
.glmg-info-panel p{font-size:13px;line-height:1.7;margin-top:19px}
.glmg-info-panel p strong{color:#dce6ee}
.glmg-muted{color:var(--glmg-muted)!important}
.glmg-results{border:1px solid var(--glmg-border);background:var(--glmg-panel);border-radius:15px;margin-top:18px;padding:22px;scroll-margin-top:24px}
.glmg-results[hidden]{display:none}
.glmg-results-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.glmg-results-head h3{font-size:clamp(19px,2.5vw,25px)}
.glmg-results-head p{font-size:12px}
.glmg-export{white-space:nowrap;flex-shrink:0}
.glmg-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:22px}
.glmg-stat{display:flex;flex-direction:column;gap:9px;padding:14px 12px;border:1px solid #2b4355;background:#0b1928;border-radius:11px;min-width:0}
.glmg-stat span{font-size:11px;color:var(--glmg-muted)}
.glmg-stat strong{font-size:clamp(15px,2.3vw,21px);overflow-wrap:anywhere;font-weight:800;color:#f7fbfe}
.glmg-stat-accent{border-color:#397b66;background:#11392f}
.glmg-stat-accent strong{color:var(--glmg-accent)}
.glmg-warning{border-left:3px solid #f0b35c;background:#3b3021;color:#ffdc99!important;padding:10px 12px;margin:12px 0!important;border-radius:0 7px 7px 0;font-size:13px!important}
.glmg-table-scroll{width:100%;max-width:100%;overflow-x:auto;border:1px solid #304253;border-radius:11px}
.glmg-table{width:100%;border-collapse:collapse!important;table-layout:auto;margin:0!important;min-width:910px;background:transparent!important;font-variant-numeric:tabular-nums}
.glmg-table thead{background:#1b3041}
.glmg-table th{padding:12px 13px!important;color:#bfd1e0!important;font-size:11px!important;text-align:left!important;font-weight:750!important;white-space:nowrap;border-bottom:1px solid #425364!important;background:transparent!important}
.glmg-table td{padding:14px 13px!important;color:#e1ebf3!important;font-size:13px!important;border-bottom:1px solid #2d3f52!important;white-space:nowrap;background:transparent!important;vertical-align:middle}
.glmg-table tbody tr:last-child td{border-bottom:0!important}
.glmg-table tbody tr:hover{background:#183044}
.glmg-table .glmg-rank{font-weight:800;color:#94b0c1!important}
.glmg-table .glmg-coin{display:block;color:#f7fcff;font-weight:800;max-width:225px;white-space:normal}
.glmg-table .glmg-sub{display:block;margin-top:3px;font-size:11px;color:#a1b8c8}
.glmg-table .glmg-partial{display:block;color:#f9c77a;margin-top:5px;white-space:normal;font-size:10px}
.glmg-table .glmg-positive{font-weight:800;color:#71eaba!important}
.glmg-table .glmg-negative{font-weight:750;color:#ff9b9b!important}
.glmg .glmg-after-table{font-size:11px;line-height:1.7}
.glmg-foot{margin-top:18px;color:#8198aa;font-size:11px;line-height:1.8}
.glmg a{color:#9beccc;text-decoration:underline}
@media(max-width:920px){.glmg-main{grid-template-columns:1fr}.glmg-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.glmg{border-radius:12px;padding:14px;margin:12px 0}.glmg-panel,.glmg-results{padding:14px}.glmg-results-head{flex-wrap:wrap}.glmg-stats{gap:7px}.glmg-stat{padding:10px}.glmg-info-grid{gap:7px}.glmg-gpu-bottom{gap:6px}.glmg-qty-wrap{min-width:77px;width:77px}.glmg-qty-wrap input{width:51px;padding:7px!important}.glmg h2{font-size:25px}}
