html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
    background-color: #F9F9F9;
    touch-action: none;
}

#app {
    position: relative;
    width: 100%;
    height: 100%;
}

#ComposeTarget {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}

:root {
    --primary: #462615;
    --primary-variant: #4D1C03;
    --primary-light: #7A4526;
}

#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

#loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.dot-loader {
    display: flex;
    gap: 14px;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: pulse-bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) {
    background-color: var(--primary-variant);
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    background-color: var(--primary);
    animation-delay: -0.16s;
}

.dot:nth-child(3) {
    background-color: var(--primary-light);
    animation-delay: 0s;
}

@keyframes pulse-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}