/* ==========================================================================
   MUMDALY INDUSTRIES - UNIFIED VECTOR BASE DISPLAY
   100% Responsive SVG Engine for Minecraft WebDisplays
   ========================================================================== */

:root {
    --bg-dark: #000000;
    --text-main: #ffffff;
    --font-heading: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}

html, body {
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    color: #ffffff;
    font-family: var(--font-heading);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#app {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000000;
}

.webdisplay-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1vh 1vw;
    overflow: hidden;
    background: #000000;
    box-sizing: border-box;
}

/* Unified SVG Wrapper - Fits 100% of Screen without any clipping */
.unified-welcome-screen {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.unified-welcome-svg {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
}

/* Hub Panel Fallback styles */
.loader-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 1.2rem;
    color: #fff;
}

.hub-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 90vw;
    max-height: 90vh;
    padding: 1rem;
    overflow-y: auto;
}

.sci-card {
    background: #0a0a0a;
    border: 1px solid #222222;
    padding: 1rem;
    border-radius: 4px;
}

.btn-sci {
    background: #181818;
    color: #ffffff;
    border: 1px solid #333333;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    border-radius: 3px;
    cursor: pointer;
}
