.cc-editor { display: grid; grid-template-columns: minmax(0, 480px) minmax(260px, 340px); justify-content: center; gap: 2rem; align-items: start; text-align: left; }
.cc-stage { width: 100%; max-width: 480px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: repeating-conic-gradient(#e7e2de 0 25%, #fff 0 50%) 50% / 20px 20px; line-height: 0; }
.cc-stage canvas { display: block; width: 100%; height: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.cc-stage canvas.is-dragging { cursor: grabbing; }
.cc-stage canvas:focus-visible { outline: 3px solid var(--tool-from); outline-offset: -3px; }
.cc-hint { font-size: .8125rem; color: var(--text-muted); margin: .5rem 0 0; text-align: center; }
.cc-side { display: flex; flex-direction: column; gap: 1rem; }
.cc-preview-wrap { display: flex; align-items: center; gap: 1rem; }
.cc-preview { width: 112px; height: 112px; flex: 0 0 112px; border-radius: 12px; background: repeating-conic-gradient(#e7e2de 0 25%, #fff 0 50%) 50% / 14px 14px; }
.cc-preview-wrap p { margin: 0; font-size: .8125rem; color: var(--text-muted); line-height: 1.45; }
.cc-preview-wrap strong { display: block; color: var(--text); font-size: .875rem; margin-bottom: .2rem; }
.cc-side .control-group { gap: .3rem; }
.cc-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .75rem; }
.cc-side input[type="color"] { width: 100%; height: 40px; padding: 2px; }
.cc-side input[type="range"] { width: 100%; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.cc-actions .btn { padding-left: .5rem; padding-right: .5rem; }
.cc-dl { width: 100%; }
.cc-status { font-size: .8125rem; color: var(--text-muted); min-height: 1.2em; margin: 0; }
.cc-batch { border: 1px dashed var(--border-dark); border-radius: var(--radius); padding: .875rem; font-size: .875rem; }
.cc-batch p { margin: 0 0 .6rem; }
.cc-batch .btn { width: 100%; }
.cc-paste { font-size: .8125rem; color: var(--text-muted); margin-top: .75rem; }
.cc-paste kbd { font-family: inherit; font-size: .75rem; border: 1px solid var(--border-dark); border-bottom-width: 2px; border-radius: 4px; padding: 0 .3rem; }
@media (max-width: 820px) {
  .cc-editor { grid-template-columns: minmax(0, 1fr); }
}
.cc-side select, .cc-side input[type="number"] { width: 100%; }
.cc-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 820px; margin: 0 auto 1.5rem; }
.cc-figs figure { margin: 0; text-align: center; }
.cc-figs img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.cc-checker, .cc-figs .cc-checker { background: repeating-conic-gradient(#e7e2de 0 25%, #fff 0 50%) 50% / 18px 18px; border-radius: var(--radius-lg); }
.cc-figs figcaption { font-size: .8125rem; color: var(--text-muted); margin-top: .5rem; line-height: 1.4; }
@media (max-width: 560px) { .cc-figs { grid-template-columns: minmax(0, 1fr); max-width: 300px; } }
