html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* --- ローディングコンポーネント用 CSS --- */
body {
    background-color: #141516;
}

#htmlLoading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    transition: opacity 0.5s;
    opacity: 0;
}

.loading-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #7FD0FF;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(127, 208, 255, 0.5);
    max-width: 90%;
}
.loading-card h1 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #7FD0FF;
}
.loading-card p {
    font-size: 1rem;
    margin-bottom: 24px;
    color: #ccc;
    line-height: 1.7;
}

.bouncing-dots-spinner {
    margin: 0 auto 24px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.bouncing-dots-spinner div {
    width: 16px;
    height: 16px;
    background-color: #7FD0FF;
    border-radius: 50%;
    animation: bounce 1.0s infinite ease-in-out;
}
.bouncing-dots-spinner div:nth-child(1) {
    animation-delay: -0.32s;
}
.bouncing-dots-spinner div:nth-child(2) {
    animation-delay: -0.16s;
}
@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.footer {
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* --- Compose 側のコンテンツ領域 --- */
#composeApp {
    width: 100%;
    height: 100%;
}
