.panels{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr);gap:1rem}.editor,.fold,.gallery{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:clamp(.8rem,2.5vw,1.6rem);min-width:0}.bar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin:.4rem 0 1rem}.bar h2{margin:0}.bar output{color:var(--text-2)}#grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;background:#766e60;padding:2px;aspect-ratio:1;max-width:350px;margin:0 auto 1rem}#grid button{padding:0;border-radius:1px;background:#ece6d7;color:#332d28;font-size:clamp(1.1rem,3vw,1.8rem);font-weight:700}#solid{width:100%;display:block;touch-action:none;border-radius:6px;cursor:grab}.fold input{display:block;width:100%;margin:.5rem 0 .8rem}#verdict{font-weight:600}#verdict[data-ok=true]{color:var(--accent)}.gallery{margin-top:1rem}#library{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:.45rem}#library button{display:grid;justify-items:center;gap:.4rem;padding:.5rem .2rem}#library svg{width:55px;height:37px;fill:#cbac7e}.gallery p{margin-bottom:0}@media(max-width:620px){.panels{grid-template-columns:1fr}#grid{max-width:245px}#solid{max-height:245px;object-fit:contain;background:#efebde}}

/* 2026-12-01 다듬기: 어두운 화면에서 눈부시지 않은 격자와 입체 그림 */
.editor,.fold,.gallery{border-color:var(--line);border-radius:16px}
#grid{background:#3a3a42;border-radius:8px;gap:3px;padding:3px}
#grid button{background:#1f1f26;color:#1d1a15;border:0;min-height:0;border-radius:4px}
#grid button:hover:not([aria-pressed=true]){background:#2c2c35}
#solid{background:#141418}
#verdict{color:var(--text-2)}
#library button{background:#101014}#library svg{fill:var(--accent)}
@media(max-width:620px){#solid{background:#141418}}
#grid{grid-template-rows:repeat(7,minmax(0,1fr))}#grid button{aspect-ratio:1;height:auto}
