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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #fff;
    -webkit-user-select: none;
    user-select: none;
    touch-action: none;
}

#app {
    width: 100%;
    height: 100%;
    position: relative;
}

#video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#player,
#player-video,
#player-canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

#touchpad {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    touch-action: none;
}

#status-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

#status-overlay:hover {
    opacity: 1;
}

#status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f44336;
    transition: background 0.3s;
}

#status-dot.connected {
    background: #4caf50;
}

#status-dot.buffering {
    background: #ffeb3b;
}

#splash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #111;
    z-index: 5;
}

#splash h1 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 12px;
    color: #4fc3f7;
}

#splash p {
    font-size: 16px;
    color: #888;
    margin-bottom: 24px;
}

#connection-info {
    font-size: 14px;
    color: #666;
    font-family: monospace;
}

#splash.hidden {
    display: none;
}
