.aig-page .aig{gap:var(--s-4);grid-template-columns:420px minmax(0,1fr);max-width:1180px;margin:0 auto;display:grid}.aig-page .aig-form{padding:var(--s-7);gap:var(--s-6);flex-direction:column;min-width:0;display:flex}.aig-page .aig-form .input,.aig-page .aig-form .textarea{background:var(--bg)}.aig-page .aig-form .textarea{min-height:96px}.aig-page .aig-styles{gap:var(--s-3);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.aig-page .aig-style{text-align:center;color:var(--ink-2);cursor:pointer;min-height:44px;transition:color var(--d);background:0 0;border:0;padding:0;font-size:13px;font-weight:500}.aig-page .aig-style:hover{color:var(--ink)}.aig-page .aig-style img{aspect-ratio:1;object-fit:cover;border-radius:var(--r);outline-offset:2px;background:var(--bg);width:100%;height:auto;transition:outline-color var(--d);outline:2px solid #0000;margin-bottom:6px;display:block}.aig-page .aig[data-aspect="16:9"] .aig-style img{aspect-ratio:16/9}.aig-page .aig-style:hover img{outline-color:var(--line-2)}.aig-page .aig-style[aria-pressed=true]{color:var(--ink)}.aig-page .aig-style[aria-pressed=true] img{outline-color:var(--ink)}.aig-page .aig-style:focus-visible{outline-offset:4px;border-radius:var(--r)}.aig-page .aig-cta{gap:var(--s-3);margin-top:auto;display:grid}.aig-page .aig-cta .btn{width:100%}.aig-page .aig-cost{justify-content:space-between;align-items:baseline;gap:var(--s-3);font-size:var(--t-sm);color:var(--ink-2);display:flex}.aig-page .aig-cost b{color:var(--ink);font-variant-numeric:tabular-nums;text-align:right;font-weight:500}.aig-page .aig-cost-rest{color:var(--ink-2)}.aig-page .aig-note{font-size:var(--t-sm);color:var(--ink-2);margin:0}.aig-page .aig-result{flex-direction:column;min-width:0;min-height:560px;display:flex;position:relative;overflow:hidden}.aig-page .aig[data-aspect="16:9"] .aig-result{min-height:0}.aig-page .aig-result-bar{padding:var(--s-4) var(--s-5) 0;justify-content:space-between;align-items:center;gap:var(--s-3);min-height:58px;display:flex}.aig-page .aig-stage{padding:var(--s-4) var(--s-5) var(--s-5);flex:1;display:grid}.aig-page .aig-stage figure{border-radius:var(--r);background:var(--bg);aspect-ratio:1;place-self:center;width:min(100%,560px);margin:0;position:relative;overflow:hidden}.aig-page .aig-stage figure:after{content:"";border-radius:inherit;box-shadow:inset 0 0 0 1px var(--line);pointer-events:none;position:absolute;inset:0}.aig-page .aig[data-aspect="16:9"] .aig-stage figure{aspect-ratio:16/9;width:100%}.aig-page .aig-stage img{object-fit:cover;width:100%;height:100%;display:block}.aig-page .aig-result[data-state=done] .aig-stage figure{aspect-ratio:auto;max-height:560px}.aig-page .aig-result[data-state=done] .aig-stage img{object-fit:contain;height:auto;max-height:560px}.aig-page .aig-result[data-state=running] .aig-stage{visibility:hidden}.aig-page .aig-actions{gap:var(--s-3);padding:0 var(--s-5) var(--s-5);flex-wrap:wrap;display:flex}.aig-page .aig-actions .btn{flex:1;min-width:160px}.aig-page .aig-running{inset:58px var(--s-5) var(--s-5);border-radius:var(--r);text-align:center;place-items:center;display:grid;position:absolute}.aig-page .aig-running .skel{border-radius:inherit;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line);position:absolute;inset:0}.aig-page .aig-running>div{position:relative}.aig-page .aig-running .t{font-size:var(--t-ui);color:var(--ink-2);margin-top:var(--s-2);font-variant-numeric:tabular-nums}.aig-page .aig-running .spin{margin:0 auto var(--s-3)}.aig-page .aig-fail{margin:var(--s-4) var(--s-5) var(--s-5);text-align:center;padding:var(--s-8);flex:1;place-items:center;display:grid}.aig-page .aig-fail .icon{color:var(--bad);margin-bottom:var(--s-3);font-size:28px}.aig-page .aig-fail p{margin:var(--s-2) 0 var(--s-5);color:var(--ink-2)}.aig-page .aig-gallery{gap:var(--s-6) var(--s-4);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.aig-page .aig-gallery[data-aspect="16:9"]{grid-template-columns:repeat(2,minmax(0,1fr))}.aig-page .aig-gallery figure{margin:0}.aig-page .aig-gallery .card-title:after{content:none}.aig-page .aig-end{gap:var(--s-3);flex-wrap:wrap;justify-content:center;width:100%;max-width:640px;display:flex}.aig-page .aig-end .input{flex:260px;min-width:0}.aig-page .aig-end .btn{flex:none}@media (width<=1000px){.aig-page .aig{grid-template-columns:minmax(0,1fr)}.aig-page .aig-result{min-height:0}.aig-page .aig-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.aig-page .aig-form{padding:var(--s-5);gap:var(--s-5)}.aig-page .aig-cta{bottom:var(--s-3);z-index:5;background:var(--panel);margin:0 calc(-1 * var(--s-2));padding:var(--s-2);border-radius:var(--r);position:sticky}.aig-page .aig-result-bar{padding:var(--s-4) var(--s-4) 0}.aig-page .aig-stage{padding:var(--s-3) var(--s-4) var(--s-4)}.aig-page .aig-actions{padding:0 var(--s-4) var(--s-4)}.aig-page .aig-running{inset:58px var(--s-4) var(--s-4)}.aig-page .aig-gallery{gap:var(--s-5) var(--s-3)}.aig-page .aig-gallery[data-aspect="16:9"]{grid-template-columns:minmax(0,1fr)}.aig-page .aig-end .btn{flex:100%}}
