.workspace{grid-template-columns:minmax(0,1.2fr) minmax(215px,.8fr);align-items:start}.workspace>*{min-width:0}.bar,.dims{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.bar{margin:.6rem 0}.bar h2{margin:0 auto 0 0}.dims label{min-width:90px;flex:1}#board{position:relative;width:100%;max-width:580px;aspect-ratio:1;background:#a9a293;border-radius:10px;overflow:hidden;touch-action:none;user-select:none}#art,#targets{position:absolute;inset:0;width:100%;height:100%}#targets button{position:absolute;transform:translate(-50%,-50%);padding:0;border:0;background:transparent;box-shadow:none;border-radius:6px}#targets button:focus-visible{outline:3px dashed #825323;outline-offset:-2px}.pearl{font:1.25rem Georgia,serif;color:#f1eee3}#feedback{min-height:1.65em;color:var(--text-2)}@media(max-width:675px){.workspace{grid-template-columns:minmax(0,1fr)}}

:root[data-theme="light"] #board{background:#e8e3d5}:root[data-theme="light"] .pearl{color:#57534e}
/* 밝은 테마: 공용 입력 칸의 어두운 바탕(#0f0f13)이 밝은 테마에서도 남아 글자가 안 보이던 것, 강조색 단추 위 글자 */
:root[data-theme="light"] :is(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]),select,textarea){background:#fff;color:var(--text)}
:root[data-theme="light"] button.primary{color:#fff}
