#landing-fullscreen-room {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #f4f0e2;
    z-index: 99999; /* 그누보드 테마 상단 탑바나 헤더 레이어보다 위로 고정 */
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
}

#landing-fullscreen-room.loaded {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#landing-fullscreen-room #canvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
    cursor: none; /* 커스텀 펜슬/마커 포인터를 렌더링하기 위해 기본 커서 숨김 */
}

.logo-card img {
    height: 26px;
    width: auto;
    display: block;
}

@media (max-width: 480px) {
    .logo-card img {
        height: 20px;
    }
}

/* ==========================================================================
   [드로잉 인터랙션 툴바 UI]
   ========================================================================== */
#toolbar {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    z-index: 100000;
}

.tool-btn {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tool-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    pointer-events: none;
}

.tool-btn.active {
    border: 2.5px solid #e800b0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 4px rgba(232, 0, 176, 0.12);
    transform: scale(1.12);
}

#btnPencil img, #btnEraser img {
    transform: rotate(30deg);
}

.tool-btn .color-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

/* 모바일 전용 반응형 최적화 */
@media (max-width: 480px) {
    #toolbar {
        bottom: 16px;
        right: 16px;
    }

    .tool-btn {
        width: 48px;
        height: 48px;
    }

    .tool-btn img {
        width: 32px;
        height: 32px;
    }
}