/* Canvas Player specific styles */
.canvas-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;  /* 初始无间距 */
    overflow: visible;
}

.vr-canvas {
    position: relative;
    background: #000;
    transition: transform 0.3s ease;
    /* 移除固定的width和height，由JS动态设置 */
    object-fit: contain;
}

.performance-monitor {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #4CAF50;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 14px;
    z-index: 100;
}

.keyboard-hints {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.keyboard-hints:hover {
    opacity: 1;
}

.hint-key {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 0 2px;
}

.quality-select {
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.quality-select:hover {
    background: rgba(255, 255, 255, 0.2);
}

.quality-select option {
    background: #2c2c2c;
    color: #fff;
    padding: 5px;
}
