:root {
    --bg-main: #02030a;
    --accent: #3ea6ff;
    --accent-soft: #9ca3c7;
    --border-subtle: rgba(255,255,255,0.12);
    --text-main: #f5f7ff;
    --text-soft: #9ca3c7;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, system-ui, sans-serif;
    color: var(--text-main);
    background: #000;
    position: relative;
}

.space-root {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.space-topbar {
    height: 52px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(2, 3, 12, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(14px);
    z-index: 10;
}

.space-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-soft);
}

.space-logo-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: radial-gradient(circle, #48e09b, #0d7a4c);
    box-shadow: 0 0 10px rgba(72,224,155,0.7);
}

.space-back-btn {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.4);
    color: var(--text-soft);
    font-size: 12px;
    cursor: pointer;
    transition: 0.15s ease-out;
}

.space-back-btn:hover {
    border-color: rgba(255,255,255,0.35);
    color: var(--text-main);
    background: rgba(0,0,0,0.65);
}

.space-main {
    position: relative;
    flex: 1;
    width: 100%;
    height: calc(100% - 52px);
    overflow: hidden;
}

.space-cesium-container {
    position: absolute;
    inset: 0;
}

.space-help {
    position: fixed;
    right: 24px;
    bottom: 24px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(4, 6, 20, 0.96);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 40px rgba(0,0,0,0.8);
    font-size: 13px;
    color: var(--text-soft);
    z-index: 15;
}

.space-help > div {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.space-help ul {
    margin: 0;
    padding-left: 18px;
}

.space-help li {
    margin-bottom: 4px;
}

@media (max-width: 600px) {
    .space-topbar {
        padding: 0 12px;
    }
    .space-help {
        right: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
    }
}
