.gt-cheat-generator { display: grid; gap: .85rem; margin-block: 0 1.5rem; }
.gt-cheat-generator [hidden] { display: none; }
.gt-cheat-generator .gt-cheat-modes,
.gt-cheat-generator .gt-cheat-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.gt-cheat-generator .gt-cheat-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .65rem; }
.gt-cheat-generator label { display: grid; gap: .3rem; min-width: 0; align-content: start; }
.gt-cheat-generator :is(input, select, textarea, button) { font: inherit; max-width: 100%; }
.gt-cheat-generator :is(input, select, textarea) { box-sizing: border-box; width: 100%; padding: .5rem; }
.gt-cheat-generator button { cursor: pointer; padding: .45rem .7rem; }
.gt-cheat-generator button:disabled { cursor: default; opacity: .65; }
.gt-cheat-generator button[aria-pressed="true"], .gt-cheat-generator button[data-copied] { background: #cef27f; color: #17213a; }
.gt-cheat-generator output { display: block; overflow-wrap: anywhere; font-family: monospace; }
.gt-cheat-generator p { margin: 0; }
.gt-cheat-section-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem; padding: 0; list-style: none; }
.gt-cheat-section-links a { display: block; padding: .65rem .85rem; border: 1px solid currentColor; border-radius: .6rem; }

.gt-cheat-generator {
    min-width:0; gap:.65rem; margin-block:.85rem 1.35rem; padding:clamp(.65rem,2vw,1.15rem);
    background:#213b51; border:1px solid #778fa2; border-radius:.8rem;
}
.gt-cheat-generator :is(input,select,textarea) {
    min-width:0; background:#152e43; border:1px solid #8da6ba; border-radius:.45rem;
    color:#f5f9fc; color-scheme:dark;
}
.gt-cheat-generator button {
    background:#304c63; border:1px solid #8da6ba; border-radius:.45rem; color:#f1f7fc;
}
.gt-cheat-generator button:not(:disabled):hover { border-color:#c5efa2; }
.gt-cheat-generator :is(button,input,select,textarea):focus-visible { outline:2px solid #c5efa2; outline-offset:2px; }
.gt-cheat-generator output {
    min-width:0; padding:.58rem .7rem; background:#132b3a; color:#d4f8d9;
    border:1px solid #6d9d89; border-radius:.5rem; overflow-x:auto; white-space:pre;
}
.gt-cheat-generator output:empty,.gt-cheat-generator p:empty { display:none; }
.gt-cheat-generator .gt-cheat-warning {
    display:grid; justify-items:start; gap:.4rem; background:#3d3729;
    color:#fff1cf; border:1px solid #a68d58; border-radius:.45rem; padding:.55rem .65rem;
}
.gt-cheat-generator .gt-cheat-warning[hidden] { display:none; }
