.gdfx {--ink:#171923;--paper:#f7f7fc;--lav:#cfc4f4;--accent:#574098;color:var(--ink);font-family:inherit;max-width:960px;margin-inline:auto}
.gdfx *, .gdfx *::before,.gdfx *::after{box-sizing:border-box}
.gdfx [hidden]{display:none!important}
.gdfx a,.gdfx-studio a{color:#513a91;text-underline-offset:.2em}
.gdfx label{display:grid;gap:.4rem;font-weight:650}
.gdfx input,.gdfx textarea{font:inherit;width:100%;min-width:0;padding:.75rem;border:1px solid #aca5be;border-radius:.65rem;background:white;color:var(--ink)}
.gdfx button{font:inherit;font-weight:700;min-height:44px;padding:.65rem 1.1rem;color:white;background:var(--accent);border:0;border-radius:.7rem;cursor:pointer}
.gdfx button:disabled{opacity:.65}
.gdfx :focus-visible{outline:3px solid #406db3;outline-offset:3px}
.gdfx-search{display:flex;gap:.65rem;align-items:end;margin:1rem 0 1.5rem}.gdfx-search label{flex:1;min-width:0}
.gdfx-card,.gdfx-empty{overflow:hidden;border:1px solid #e1dced;background:linear-gradient(120deg,#f7f7fc,#fff 64%,#eef3fc);box-shadow:0 8px 26px #1719230c;border-radius:1.1rem;margin:0 0 1.4rem}
.gdfx-card{display:grid;grid-template-columns:minmax(180px,40%) minmax(0,1fr);align-items:center}
.gdfx-card video,.gdfx-studio video{background:#171923;display:block;width:100%;aspect-ratio:9/16;max-height:78vh;object-fit:contain}
.gdfx-info,.gdfx-empty{padding:clamp(1rem,3.5vw,2.4rem)}
.gdfx-info h2,.gdfx-studio h1{color:var(--ink);font-family:Montserrat,var(--wp--preset--font-family--body,system-ui),sans-serif;font-weight:800;line-height:1.12;letter-spacing:-.025em;margin:.75rem 0;overflow-wrap:anywhere}
.gdfx-info h2{font-size:clamp(1.4rem,3vw,2.2rem)}
.gdfx a.gdfx-topic{font-size:.88em;font-weight:650;color:#412f72;background:#eae4fa;border-radius:2rem;padding:.3rem .7rem}
.gdfx-tool{font-weight:650}.gdfx-text,.gdfx pre{white-space:pre-wrap;overflow-wrap:anywhere}
.gdfx-prompt{border-top:1px solid #d8d2e5;padding-top:1rem}.gdfx details{margin:.8rem 0}.gdfx summary{cursor:pointer;font-weight:650;min-height:32px}.gdfx pre{background:#fff;border-left:3px solid var(--lav);padding:1rem;font:inherit;color:var(--ink);max-height:25rem;overflow:auto}
.gdfx-links{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.1rem;margin:.75rem 0}.gdfx-links a{padding:.35rem 0}
body.gdfx-studio{margin:0;background:#f7f7fc;font:16px/1.5 system-ui,sans-serif}.gdfx-studio main{max-width:620px;padding:clamp(16px,5vw,38px);margin:auto}.gdfx-studio h1{font-size:2.15rem}.gdfx-studio form,.gdfx-studio #gdfx-result{padding:1.2rem;background:white;border:1px solid #ddd6eb;border-radius:1rem}.gdfx-studio form>*,.gdfx-studio details label{margin-bottom:1rem}.gdfx-studio small{display:block;color:#504b5c}.gdfx-studio video{max-height:40vh}.gdfx-studio progress{width:100%}.gdfx-studio textarea{resize:vertical}
@media(max-width:640px){.gdfx-card{display:block}.gdfx-card video{max-height:72svh}.gdfx-search{flex-wrap:wrap}.gdfx-search label{min-width:min(100%,190px)}}
