/* /low-poly-generator/ page styles. Built from /assets/polyatic.css tokens only (no new fonts or colours); the
   layout follows /pop-art-generator/'s (picture first on a phone, picture left and sticky on a desktop). */
.nojs{margin:1.25rem 0 0;padding:0.875rem 1rem;border:1px solid var(--line);border-left:0.25rem solid var(--accent);border-radius:0.625rem;background:var(--surface);color:var(--ink);font-size:0.9375rem;line-height:1.6}

.lp-head .sub{margin-bottom:0.75rem}
@media(max-width:519px){.lp-head h1{margin-bottom:0.125rem}.lp-head .sub{font-size:0.9375rem;line-height:1.4;margin-bottom:0.5rem}}

.lp-grid{display:flex;flex-direction:column;gap:0.75rem}
.lp-col{display:contents}
@media(min-width:920px){.lp-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:1.25rem;align-items:start}
  .lp-stage{position:sticky;top:1rem}
  .lp-col{display:grid;gap:0.75rem;min-width:0;align-content:start}}
.lp-card{padding:0.75rem;min-width:0}
@media(min-width:520px){.lp-card{padding:1.125rem}}
.lp-stage{padding:0.5rem}

.lp-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.125rem;min-height:4.25rem;padding:0.5rem 0.75rem;border:2px dashed var(--line-2);border-radius:0.625rem;background:var(--accent-soft);cursor:pointer;text-align:center}
.lp-drop:hover,.lp-drop.over{border-color:var(--accent)}
.lp-drop:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.lp-drop input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.lp-drop-b{font-weight:700;font-size:1rem;color:var(--ink)}
.lp-drop-s{font-size:0.75rem;color:var(--muted);line-height:1.35}

.lp-art{margin-top:0.5rem;display:flex;justify-content:center;border-radius:0.5rem;overflow:hidden;background:var(--surface-2);border:1px solid var(--line)}
.lp-art canvas{display:block;max-width:100%;height:auto;max-height:calc(100vh - 4rem)}
.lp-status{margin:0.5rem 0.25rem 0.125rem;font-size:0.8125rem;line-height:1.45;color:var(--ink-2)}

.lp-k{display:block;font-family:var(--mono);font-size:0.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0 0 0.25rem}
.lp-k output{font-family:var(--mono);font-size:inherit;text-transform:none;color:var(--ink-2);margin-left:0.25rem}
.lp-row{display:flex;flex-wrap:wrap;gap:0.5rem 0.75rem;align-items:flex-end;margin-top:0.625rem}
.lp-row:first-child{margin-top:0}
.lp-f{display:block;min-width:0;flex:1 1 8rem}
.lp-f select,.lp-f input[type=number]{width:100%;box-sizing:border-box;min-width:0}
.lp-range input{width:100%}
.lp-seed{flex:1 1 6rem}
.lp-modes{margin:0}
.lp-modes button{padding:0.4375rem 0.5rem}
.lp-check{display:inline-flex;align-items:center;gap:0.375rem;font-size:0.875rem;font-weight:600;color:var(--ink);min-height:2.5rem;cursor:pointer}
.lp-check input{width:1.125rem;height:1.125rem;accent-color:var(--accent)}
.lp-color{flex:0 0 auto}
.lp-color input{display:block;width:3rem;height:2.5rem;padding:0.125rem;border:1px solid var(--line-2);border-radius:0.375rem;background:var(--surface)}
.lp-color input:disabled,.lp-f select:disabled{opacity:.45}
.lp-small{height:2.5rem;padding:0 0.75rem;font-size:0.875rem}
.lp-go{flex:0 0 auto}
.lp-hint{color:var(--muted);font-size:0.8125rem;line-height:1.5;margin:0.5rem 0 0}
.lp-bad{color:var(--bad)}

.explainer .lp-list{color:var(--ink-2);font-size:0.9375rem;margin:0 0 0.75rem;padding-left:1.25rem}
.explainer .lp-list li{margin:0 0 0.5rem}
.explainer .lp-cannot{color:var(--muted)}

.modes button:focus-visible,.btn:focus-visible,.lp-check input:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
