.cm-root {
    width: 100%;
    height: 100%;
    position: relative;
    background:
        radial-gradient(circle at 20% 18%, rgba(255,255,255,0.08), transparent 28%),
        radial-gradient(circle at 82% 28%, rgba(140,180,255,0.12), transparent 34%),
        #070707;
}

.cm-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 42px 42px;
}

.cm-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
}

.cm-brand,
.cm-actions {
    pointer-events: auto;
}

.cm-kicker {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(244,241,234,0.42);
    margin-top: 20px;
}

.cm-actions {
    display: flex;
    gap: 10px;
}

.cm-btn {
    border: 1px solid rgba(244,241,234,0.16);
    background: rgba(255,255,255,0.05);
    color: rgba(244,241,234,0.78);
    border-radius: 999px;
    padding: 13px 17px;
    cursor: pointer;
    backdrop-filter: blur(18px);
    transition: 0.25s ease;
    font-size: 13px;
}

.cm-btn:hover,
.cm-btn.is-active {
    background: #f4f1ea;
    color: #070707;
}

.cm-stage {
    position: absolute;
    inset: 0;
    cursor: crosshair;
}

.cm-canvas {
    /* width: 100%;
    height: 100%; */
    display: block;
    touch-action: none;
}

.cm-guide {
    position: fixed;
    left: 32px;
    bottom: 32px;
    z-index: 20;
    max-width: 520px;
    pointer-events: none;
}

.cm-guide-title {
    font-size: 20px;
    margin-bottom: 4px;
    color: white;
    position: sticky;
    bottom: 20px;
}

.cm-guide-desc {
    color: rgba(244,241,234,0.5);
    font-size: 14px;
}

.cm-status {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 20;
    color: rgba(244,241,234,0.48);
    font-size: 13px;
}

.cm-gallery {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    overflow-y: auto;
    background: rgba(7,7,7,0.86);
    backdrop-filter: blur(24px);
    padding: 160px 32px 80px;
}

.cm-gallery.is-open {
    display: block;
}

.cm-gallery-head {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 60;
    width: 100%;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cm-gallery-title {
    font-size: 40px;
    color: white;
    margin-top: 20px;
}

.cm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
}

.cm-artwork {
    grid-column: span 4;
    min-height: 360px;
    border: 1px solid rgba(244,241,234,0.12);
    background: rgba(255,255,255,0.04);
    border-radius: 30px;
    overflow: hidden;
}

.cm-artwork-canvas {
    width: 100%;
    height: 260px;
    display: block;
    background: #101010;
}

.cm-artwork-info {
    padding: 18px;
}

.cm-artwork-title {
    font-size: 24px;
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 10px;
    color: white;
}

.cm-artwork-desc {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(244,241,234,0.5);
}

.cm-empty {
    grid-column: span 12;
    color: rgba(244,241,234,0.42);
    font-size: 15px;
}