/* Perspective Switcher Styles */

.perspective-switcher {
    position: absolute;
    top: 50px;
    right: 10px;
    z-index: 102;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.perspective-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.perspective-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.perspective-btn:hover:not(.locked) {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.perspective-btn.active {
    background: rgba(126, 190, 165, 0.3);
    border-color: #7EBEA5;
    box-shadow: 0 0 10px rgba(126, 190, 165, 0.5);
}

.perspective-btn.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.perspective-icon {
    font-size: 24px;
}

.perspective-label {
    font-size: 11px;
    font-weight: bold;
}

.lock-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 12px;
}

/* ステータス表示 */
.perspective-status {
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #fff;
}

.status-label {
    opacity: 0.7;
}

.status-value {
    font-weight: bold;
    font-size: 14px;
}

/* 通知 */
.perspective-notification {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    z-index: 103;
    background: rgba(0, 0, 0, 0.9);
    color: #7EBEA5;
    padding: 12px 24px;
    border-radius: 8px;
    border: 2px solid #7EBEA5;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.perspective-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .perspective-switcher {
        top: 10px;
        right: 10px;
        padding: 8px;
    }
    
    .perspective-btn {
        min-width: 60px;
        padding: 8px 10px;
    }
    
    .perspective-icon {
        font-size: 20px;
    }
    
    .perspective-label {
        font-size: 10px;
    }
    
    .perspective-status {
        padding: 6px 8px;
    }
    
    .status-item {
        font-size: 10px;
    }
    
    .status-value {
        font-size: 12px;
    }
}

/* テーマカラー */
.perspective-btn[data-perspective="mito"].active {
    border-color: #7EBEA5;
    box-shadow: 0 0 10px rgba(126, 190, 165, 0.5);
}

.perspective-btn[data-perspective="akira"].active {
    border-color: #2C3E50;
    box-shadow: 0 0 10px rgba(44, 62, 80, 0.5);
}
