.property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .unit-note {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .coord-input {
            margin-bottom: 0.5rem;
        }
        .geometry-canvas {
            width: 100%;
            height: auto;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-top: 1.5rem;
            display: block;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1rem;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 0.5rem 0;
            font-size: 0.9rem;
            flex-wrap: wrap;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 50%;
        }
        .legend-color.red {
            background-color: #dc3545;
        }
        .legend-color.blue {
            background-color: #0d6efd;
        }
        .legend-color.gray {
            background-color: #6c757d;
        }
        .legend-color.purple {
            background-color: #9b59b6;
        }
        .tap-btn {
            font-size: 3rem;
            padding: 1.5rem 2.5rem;
            border-radius: 50%;
            width: 160px;
            height: 160px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            background: linear-gradient(145deg, #0d6efd, #0a58ca);
            color: white;
            border: none;
            box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4);
            transition: all 0.15s;
            cursor: pointer;
            user-select: none;
        }
        .tap-btn:hover {
            transform: scale(1.04);
            box-shadow: 0 12px 32px rgba(13, 110, 253, 0.5);
        }
        .tap-btn:active {
            transform: scale(0.94);
            box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
        }
        .tap-btn .fa-hand {
            font-size: 2.8rem;
        }
        .tap-btn .tap-label {
            font-size: 0.9rem;
            font-weight: 400;
            letter-spacing: 0.05em;
            margin-top: 4px;
        }
        .bpm-badge {
            font-size: 3.5rem;
            font-weight: 700;
            color: var(--primary-color);
            line-height: 1;
        }
        .bpm-unit {
            font-size: 1.2rem;
            font-weight: 400;
            color: #6c757d;
            margin-left: 4px;
        }
        .note-dur-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 0.75rem;
            margin: 1rem 0;
        }
        .note-dur-item {
            background: #f8f9fa;
            border-radius: 6px;
            padding: 0.75rem 1rem;
            text-align: center;
            border: 1px solid #e9ecef;
        }
        .note-dur-item .note-name {
            font-weight: 600;
            font-size: 1.1rem;
        }
        .note-dur-item .note-ms {
            font-size: 1.3rem;
            font-weight: 500;
            color: var(--primary-color);
        }
        .genre-badge {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            background: rgba(13, 110, 253, 0.08);
            border: 1px solid rgba(13, 110, 253, 0.15);
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
            margin: 0.2rem;
        }
        .genre-badge:hover {
            background: rgba(13, 110, 253, 0.18);
            transform: translateY(-2px);
        }
        .tab-content {
            padding-top: 1.2rem;
        }
        .tab-pane .row {
            align-items: flex-end;
        }
        .result-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin: 1rem 0;
        }
        .result-grid .stat-card {
            background: #f8f9fa;
            padding: 1rem 1.25rem;
            border-radius: 8px;
            border-left: 4px solid var(--primary-color);
        }
        .result-grid .stat-card .stat-label {
            font-size: 0.85rem;
            color: #6c757d;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }
        .result-grid .stat-card .stat-value {
            font-size: 1.8rem;
            font-weight: 600;
            color: #1a1a2e;
        }
        @media (max-width: 576px) {
            .result-grid {
                grid-template-columns: 1fr;
            }
            .tap-btn {
                width: 120px;
                height: 120px;
                font-size: 2.2rem;
            }
            .tap-btn .fa-hand {
                font-size: 2rem;
            }
            .bpm-badge {
                font-size: 2.6rem;
            }
        }