html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #020617;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

#ComposeTarget {
    width: 100%;
    height: 100%;
    position: fixed;
    inset: 0;
}

#loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 22% 24%, rgba(56, 189, 248, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 78% 76%, rgba(124, 58, 237, 0.18) 0%, transparent 48%),
        linear-gradient(160deg, #020617 0%, #0B1120 55%, #0F172A 100%);
    transition: opacity 0.35s ease;
}

#loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 32px 42px;
    border-radius: 28px;
    background: rgba(11, 17, 32, 0.90);
    border: 1.5px solid rgba(125, 211, 252, 0.32);
    box-shadow: 0 22px 54px rgba(2, 6, 23, 0.72), 0 0 32px rgba(56, 189, 248, 0.14);
}

.loader-spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid rgba(148, 163, 184, 0.22);
    border-top-color: #38BDF8;
    border-right-color: #A78BFA;
    animation: mc-spin 0.85s linear infinite;
}

.loader-title {
    font-size: 21px;
    font-weight: 800;
    color: #F8FAFC;
    letter-spacing: -0.02em;
}

.loader-sub {
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
}

@keyframes mc-spin {
    to { transform: rotate(360deg); }
}
