body {
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* Player View */
#playerContainer {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#statusOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1000;
}

#statusText {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    padding: 0 40px;
}

#pairingCode {
    font-size: 48px;
    font-weight: bold;
    color: #4CAF50;
    margin: 20px 0;
    letter-spacing: 2px;
}

#mediaDisplay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-item {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Debug Panel */
#debugPanel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    color: #0f0;
    font-family: monospace;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 2000;
}

.debug-section {
    border: 1px solid #333;
    margin: 10px 0;
    padding: 15px;
    background: #111;
}

.debug-log {
    max-height: 300px;
    overflow-y: auto;
    background: #000;
    border: 1px solid #333;
    padding: 10px;
    white-space: pre-wrap;
}

.debug-config {
    background: #001a00;
    border: 1px solid #0a0;
    padding: 15px;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
}

.debug-error {
    background: #1a0000;
    border: 1px solid #a00;
    color: #f44;
    padding: 15px;
}

.debug-button {
    background: #333;
    border: 1px solid #666;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    margin: 5px;
}

.debug-button:hover {
    background: #555;
}

#debugInfo {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #0f0;
    font-family: monospace;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 3px;
    display: none;
}