﻿/* * UI Styles
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&family=Noto+Sans+JP:wght@400;700&display=swap');

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior: none;
}

/* スクロールバーのカスタマイズ */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

/* 認識中のテキスト表示 */
.interim-text { 
    color: #3b82f6; 
    font-weight: 700; 
    background: rgba(59, 130, 246, 0.1);
    border-bottom: 2px solid #3b82f6;
    padding: 0 2px;
}

/* アニメーション */
.ai-result-card {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-loading-dots::after {
    content: '.';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}

/* モバイル対応の調整 */
@media (max-height: 700px) {
    #transcriptionBox { font-size: 1rem; }
}