@charset "utf-8";
/* CSS Document */
body {
            margin: 0;
            padding: 0;
            min-height: 100svh;
            background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e, #0f3460);
            color: white;
            font-family: "Noto Sans JP", sans-serif;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .container {
            text-align: center;
            z-index: 10;
            padding: 20px;
        }

        .title {
            font-size: 2.5rem;
            margin-bottom: 30px;
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
        }

        .controls {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-bottom: 40px; 
            position: fixed; 
            bottom: 0; 
            left: 0; 
            width: 100%;
        }

        .btn {
            font-size: 1.2rem; text-indent: -9999px;
            border: none;
            border-radius: 50%; width: 80px; height: 80px; background: none; background-color: transparent; background-position: center; background-size: 60px; background-repeat: no-repeat;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .btn-start {
            color: white; background-image: url("../img/play.svg");
        }

        .btn-start:hover:not(:disabled) {
        }

        .btn-start:disabled {
            opacity: 0.5;
            cursor: not-allowed; 
            display: none;
        }

        .btn-stop {
            color: white;
            opacity: 0.5;
            cursor: not-allowed; 
            display: none; background-image: url("../img/pause.svg");
        }

        .btn-stop.active {
            opacity: 1;
            cursor: pointer; 
            display: block;
        }

        .btn-stop.active:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(78, 205, 196, 0.6);
        }

        header {  
            width: 100%; 
            position: fixed; 
            top:0; 
            left: 0;
            z-index: 20;
        }
        
        .status {
            font-size: 1.1rem;
            margin-top: 0px;
            padding: 10px 20px;
            background: rgba(255, 255, 255, 0.1); 
            box-sizing:border-box;
            min-height: 20px;
            backdrop-filter: blur(10px); 
        }

        .mic-indicator {
            width: 20px;
            height: 20px;
            background: #44ff44;
            border-radius: 50%;
            display: inline-block;
            margin-right: 10px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mic-indicator.active {
            opacity: 1;
            animation: pulse 1s infinite;
        }

        .mic-indicator.listening {
            background: #ffaa00;
            animation: pulse 0.5s infinite;
        }

        .mic-indicator.capturing {
            background: #ff4444;
            animation: pulse 0.3s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.3); }
        }

        .stats {
            display: flex;
            gap: 5px;
            justify-content: center;
            margin-top: 5px;
            flex-wrap: wrap; 
            padding: 0 0px;
        }

        .stat-item {
            background: rgba(255, 255, 255, 0.1);
            padding: 10px 10px;
            border-radius: 0;
            backdrop-filter: blur(10px); 
            width: calc( 25% - 5px ); 
            box-sizing: border-box;
        }

        .stat-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: #00ffff;
        }

        .stat-label {
            font-size: 0.6rem;
            color: #ccc;
        }

        /* Canvas描画用 */
        #symphonyCanvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: 1;
            pointer-events: none;
        }

        .debug-info {
            position: fixed;
            top: 120px;
            left: 10px;
            font-size: 12px;
            background: rgba(0, 0, 0, 0.7);
            padding: 10px;
            border-radius: 5px;
            z-index: 30;
            display: none;
        }

        .settings {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 20px;
            flex-wrap: wrap; 
            display: none;
        }

        .setting-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }

        .setting-item label {
            font-size: 0.9rem;
            color: #ccc;
        }

        .setting-item input, .setting-item select {
            padding: 5px;
            border-radius: 5px;
            border: 1px solid #555;
            background: rgba(255, 255, 255, 0.1);
            color: white;
        }

