﻿        .vd-section {
            background: var(--surface-1);
            border-radius: var(--rounded-xl);
            border: 1px solid var(--hairline);
            padding: var(--spacing-xl);
            margin-bottom: var(--spacing-xl);
            box-shadow: var(--shadow-md);
        }

        .vd-section h1 {
            color: var(--ink);
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: var(--spacing-md);
            line-height: 1.4;
        }





        .vd-section h2 {
            color: var(--ink);
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: var(--spacing-lg);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .vd-tabs {
            display: flex;
            gap: 4px;
            margin-bottom: var(--spacing-xl);
            background: var(--surface-2);
            border-radius: var(--rounded-md);
            padding: 4px;
        }

        .vd-tab-btn {
            flex: 1;
            padding: 12px 20px;
            border: none;
            border-radius: var(--rounded-md);
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition-fast);
            background: transparent;
            color: var(--ink-subtle);
        }

        .vd-tab-btn:hover {
            color: var(--ink);
        }

        .vd-tab-btn.active {
            background: var(--surface-1);
            color: var(--primary);
            box-shadow: var(--shadow-sm);
        }

        .vd-tab-panel {
            display: none;
        }

        .vd-tab-panel.active {
            display: block;
        }

        .vd-notice {
            background: rgba(204, 120, 92, 0.08);
            border: 1px solid rgba(204, 120, 92, 0.2);
            border-radius: var(--rounded-md);
            padding: var(--spacing-md);
            margin-bottom: var(--spacing-lg);
        }

        .vd-notice-item {
            font-size: 0.88rem;
            color: var(--ink-subtle);
            line-height: 1.6;
            padding: 4px 0;
        }

        .vd-notice-item strong {
            color: var(--primary);
        }

        .vd-form-group {
            margin-bottom: var(--spacing-xl);
        }

        .vd-form-label {
            display: block;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--ink);
            margin-bottom: var(--spacing-sm);
        }

        .vd-textarea {
            width: 100%;
            height: 120px;
            padding: var(--spacing-md);
            border: 1px solid var(--hairline);
            border-radius: var(--rounded-md);
            font-size: 1rem;
            line-height: 1.6;
            resize: none;
            background: var(--surface-2);
            color: var(--ink);
            transition: var(--transition-fast);
            box-sizing: border-box;
            font-family: inherit;
        }

        .vd-textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(204, 120, 92, 0.12);
        }

        .vd-textarea.text-input-area {
            height: 200px;
        }

        .vd-quick-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: var(--spacing-sm);
        }

        .vd-quick-tag {
            padding: 6px 14px;
            border: 1px solid var(--hairline);
            border-radius: var(--rounded-pill);
            font-size: 0.85rem;
            color: var(--ink-subtle);
            background: var(--surface-2);
            cursor: pointer;
            transition: var(--transition-fast);
            user-select: none;
        }

        .vd-quick-tag:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(204, 120, 92, 0.08);
        }

        .vd-quick-tag.active {
            border-color: var(--primary);
            color: #fff;
            background: var(--primary);
        }

        .vd-style-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .vd-style-tag {
            padding: 6px 14px;
            border: 1px solid var(--hairline);
            border-radius: var(--rounded-pill);
            font-size: 0.85rem;
            color: var(--ink-subtle);
            background: var(--surface-2);
            cursor: pointer;
            transition: var(--transition-fast);
            user-select: none;
        }

        .vd-style-tag:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(204, 120, 92, 0.08);
        }

        .vd-style-tag.active {
            border-color: var(--primary);
            color: #fff;
            background: var(--primary);
        }

        .vd-upload-area {
            border: 2px dashed var(--hairline);
            border-radius: var(--rounded-md);
            padding: var(--spacing-lg);
            text-align: center;
            cursor: pointer;
            transition: var(--transition-fast);
            background: var(--surface-2);
        }

        .vd-audio-input-wrapper {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            justify-content: center;
        }

        .vd-audio-input-wrapper .vd-upload-area {
            flex: 1;
            min-width: 300px;
        }

        @media (max-width: 768px) {
            .vd-audio-input-wrapper {
                flex-direction: column;
            }

            .vd-audio-input-wrapper .vd-upload-area {
                min-width: 100%;
            }
        }

        .vd-upload-area:hover, .vd-upload-area.dragover {
            border-color: var(--primary);
            background: rgba(204, 120, 92, 0.08);
        }

        .vd-upload-icon {
            font-size: 36px;
            margin-bottom: var(--spacing-sm);
        }

        .vd-upload-text {
            color: var(--ink);
            font-size: 0.9rem;
            margin-bottom: var(--spacing-xs);
        }

        .vd-upload-hint {
            color: var(--ink-subtle);
            font-size: 0.8rem;
        }

        .vd-audio-preview-container {
            margin-top: var(--spacing-md);
            padding: var(--spacing-sm);
            background: var(--surface-2);
            border: 1px solid var(--hairline);
            border-radius: var(--rounded-md);
        }

        .vd-audio-preview-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .vd-audio-preview-filename {
            font-size: 0.9rem;
            color: var(--ink-subtle);
        }

        .vd-audio-preview-remove {
            padding: 6px 12px;
            background: var(--semantic-error);
            color: #fff;
            border: none;
            border-radius: var(--rounded-sm);
            font-size: 0.85rem;
            cursor: pointer;
            transition: var(--transition-fast);
        }

        .vd-audio-preview-remove:hover {
            background: #b03939;
        }

        .vd-text-stats {
            display: flex;
            align-items: center;
            margin-top: var(--spacing-sm);
            font-size: 0.85rem;
            color: var(--ink-subtle);
        }

        .vd-actions {
            display: flex;
            gap: var(--spacing-md);
            justify-content: flex-start;
            margin-top: var(--spacing-xl);
            flex-wrap: wrap;
        }

        .vd-btn {
            min-height: 36px;
            padding: 12px 24px;
            border: none;
            border-radius: var(--rounded-md);
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition-fast);
        }

        .vd-btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: var(--shadow-md);
        }

        .vd-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(204, 120, 92, 0.24);
            background: var(--primary-hover);
        }

        .vd-btn-primary:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .vd-btn-secondary {
            background: var(--surface-2);
            color: var(--ink);
            border: 1px solid var(--hairline);
        }

        .vd-btn-secondary:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .vd-btn-generate {
            background: var(--primary-subtle);
            color: #6366f1;
            border: 1px solid var(--primary);
        }

        .vd-btn-generate:hover {
            background: var(--primary-subtle);
        }

        .vd-switch {
            position: relative;
            display: inline-block;
            width: 48px;
            height: 26px;
        }

        .vd-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .vd-switch-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--hairline);
            transition: 0.3s;
            border-radius: 26px;
        }

        .vd-switch-slider:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: 0.3s;
            border-radius: 50%;
        }

        .vd-switch input:checked + .vd-switch-slider {
            background-color: var(--primary);
        }

        .vd-switch input:checked + .vd-switch-slider:before {
            transform: translateX(22px);
        }

        .vd-progress {
            display: none;
            margin-top: var(--spacing-xl);
        }

        .vd-progress.active {
            display: block;
        }

        .vd-progress-info {
            text-align: center;
            margin-bottom: var(--spacing-lg);
        }

        .vd-progress-status {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: var(--spacing-sm);
        }

        .vd-progress-detail {
            font-size: 0.9rem;
            color: var(--ink-subtle);
        }

        .vd-progress-bar-container {
            width: 100%;
            height: 8px;
            background: var(--surface-2);
            border-radius: 4px;
            overflow: hidden;
        }

        .vd-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--primary-hover));
            border-radius: 4px;
            transition: width 0.3s ease;
            width: 0%;
        }

        .vd-result {
            display: none;
            margin-top: var(--spacing-xl);
            padding: var(--spacing-xl);
            background: rgba(204, 120, 92, 0.08);
            border: 1px solid var(--primary);
            border-radius: var(--rounded-md);
        }

        .vd-result.active {
            display: block;
        }

        .vd-result-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: var(--spacing-md);
            color: var(--primary);
        }

        .vd-result-message {
            color: var(--ink);
            line-height: 1.6;
            margin-bottom: var(--spacing-lg);
        }

        .vd-result-audio {
            width: 100%;
            margin-bottom: var(--spacing-md);
        }

        .vd-result-download {
            display: inline-block;
            padding: 12px 24px;
            background: var(--primary);
            color: #fff;
            text-decoration: none;
            border-radius: var(--rounded-md);
            font-weight: 700;
            transition: var(--transition-fast);
        }
        .vd-result-download:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
            box-shadow: 0 8px 16px rgba(204, 120, 92, 0.2);
        }

        @media (max-width: 768px) {
            .vd-tabs {
                flex-direction: column;
            }

            .vd-actions {
                flex-direction: column;
            }

            .vd-btn {
                width: 100%;
            }
        }

        .record-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            justify-content: center;
            align-items: center;
            z-index: 10002;
        }

        .record-modal-overlay.active {
            display: flex;
        }

        .record-modal {
            background: var(--surface-1);
            border-radius: var(--rounded-xl);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            width: 90%;
            max-width: 420px;
            animation: slideUp 0.3s ease;
            border: 1px solid var(--hairline);
        }

        .record-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            border-bottom: 1px solid var(--hairline);
        }

        .record-modal-header h3 {
            margin: 0;
            font-size: 1.1rem;
            color: var(--ink);
        }

        .record-modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--ink-subtle);
            cursor: pointer;
            padding: 0;
            line-height: 1;
        }

        .record-modal-close:hover {
            color: var(--ink);
        }

        .record-modal-body {
            padding: 24px;
        }

        .record-tips {
            background: var(--primary-subtler);
            border-radius: var(--rounded-md);
            padding: 16px;
            margin-bottom: 24px;
        }

        .record-tips p {
            margin: 0 0 8px 0;
            font-size: 0.9rem;
            color: var(--ink);
        }

        .record-tips ul {
            margin: 0;
            padding-left: 20px;
        }

        .record-tips li {
            font-size: 0.85rem;
            color: var(--ink-subtle);
            line-height: 1.8;
        }

        .record-read-content {
            background: rgba(16, 185, 129, 0.08);
            border-radius: var(--rounded-md);
            padding: 16px;
            margin-bottom: 24px;
            border: 1px dashed rgba(16, 185, 129, 0.3);
        }

        .record-read-content p {
            margin: 0 0 10px 0;
            font-size: 0.9rem;
            color: var(--ink);
        }

        .record-read-text {
            font-size: 1rem;
            color: var(--ink);
            line-height: 1.8;
            font-weight: 500;
            background: var(--surface-1);
            padding: 12px 16px;
            border-radius: var(--rounded-sm);
            border: 1px solid var(--hairline);
        }

        .record-status {
            text-align: center;
            padding: 20px 0;
        }

        .record-icon {
            font-size: 64px;
            margin-bottom: 12px;
        }

        .record-status-text {
            font-size: 1rem;
            color: var(--ink);
            margin: 0 0 8px 0;
        }

        .record-timer {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin: 0;
            font-variant-numeric: tabular-nums;
        }

        .record-waveform {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 4px;
            height: 60px;
            margin: 20px 0;
        }

        .wave-bar {
            width: 6px;
            background: var(--primary);
            border-radius: 3px;
            animation: waveAnimation 0.5s ease-in-out infinite alternate;
        }

        .wave-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
        .wave-bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
        .wave-bar:nth-child(3) { height: 50px; animation-delay: 0.2s; }
        .wave-bar:nth-child(4) { height: 40px; animation-delay: 0.3s; }
        .wave-bar:nth-child(5) { height: 55px; animation-delay: 0.4s; }
        .wave-bar:nth-child(6) { height: 45px; animation-delay: 0.5s; }
        .wave-bar:nth-child(7) { height: 30px; animation-delay: 0.6s; }
        .wave-bar:nth-child(8) { height: 50px; animation-delay: 0.7s; }
        .wave-bar:nth-child(9) { height: 35px; animation-delay: 0.8s; }
        .wave-bar:nth-child(10) { height: 25px; animation-delay: 0.9s; }

        @keyframes waveAnimation {
            from { transform: scaleY(0.3); }
            to { transform: scaleY(1); }
        }

        .record-modal-footer {
            display: flex;
            gap: 12px;
            padding: 20px 24px;
            border-top: 1px solid var(--hairline);
        }

        .record-modal-footer .vd-btn {
            flex: 1;
        }
