
/* ==================== Kodi 遥控器与 Mini 播放器样式 ==================== */
.remote-fab {
    position: fixed;
    right: 20px;
    bottom: 85px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    cursor: pointer;
    z-index: 990;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.remote-fab:active {
    transform: scale(0.92);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.fab-pulse-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: pulse-ring 1.8s infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 全局 Mini 播放条 (贴屏幕最底) */
.mini-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 980;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mini-progress-bg {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}
.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366F1, #EC4899);
    width: 0%;
    transition: width 0.3s linear;
}
.mini-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    cursor: pointer;
}
.mini-poster {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.mini-info {
    flex: 1;
    min-width: 0;
}
.mini-title {
    font-size: 14px;
    font-weight: 600;
    color: #F8FAFC;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mini-time-str {
    font-size: 11px;
    color: #94A3B8;
    margin-top: 2px;
}
.mini-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mini-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E2E8F0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.mini-btn:active {
    transform: scale(0.9);
    background: rgba(99, 102, 241, 0.3);
}

/* 底部导航栏平滑过渡与顶起避让 */
.nav-bar {
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
body.has-mini-player .nav-bar {
    bottom: calc(82px + env(safe-area-inset-bottom)) !important;
}
body.has-mini-player .remote-fab {
    bottom: calc(148px + env(safe-area-inset-bottom)) !important;
}
body.has-mini-player {
    padding-bottom: calc(160px + env(safe-area-inset-bottom)) !important;
}

/* 遥控器 Modal 弹窗防穿透 Body 锁 */
body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none;
}

/* 遥控器 Modal 弹窗全屏覆盖层 */
.remote-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0C0F1D;
    background: linear-gradient(180deg, #0F172A 0%, #0C0F1D 100%);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    color: #F8FAFC;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.remote-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: none;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 10;
}
.remote-hdr-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CBD5E1;
    cursor: pointer;
    transition: all 0.15s ease;
}
.remote-hdr-btn:active {
    background: rgba(255, 255, 255, 0.15);
}
.remote-device-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.remote-dev-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.remote-status-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 2px;
    background: rgba(239, 68, 68, 0.2);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.remote-status-badge.connected {
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    border-color: rgba(16, 185, 129, 0.3);
}
.remote-hdr-actions {
    display: flex;
    gap: 8px;
}

/* 播放队列卡片 */
.remote-playlist-card {
    margin: 12px 16px 4px 16px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}
.playlist-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #CBD5E1;
    cursor: pointer;
}
.playlist-list {
    max-height: min(280px, 32vh);
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    scroll-behavior: smooth;
    padding-bottom: 12px;
}
.playlist-list::-webkit-scrollbar {
    width: 4px;
}
.playlist-list::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 2px;
}
.playlist-item {
    padding: 10px 16px;
    font-size: 12px;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.playlist-item:last-child {
    margin-bottom: 14px;
}
.playlist-item.active {
    color: #818CF8;
    font-weight: 700;
    background: rgba(99, 102, 241, 0.18);
    border-left: 3px solid #6366F1;
    padding-left: 13px;
}
.playlist-item .playing-badge {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.28);
    color: #A5B4FC;
    font-weight: 600;
    margin-left: 6px;
    flex-shrink: 0;
}

/* 矮屏/小屏手机自适应压缩 */
@media (max-height: 720px) {
    .remote-playlist-card {
        margin: 4px 12px 2px 12px;
        flex-shrink: 0;
    }
    .playlist-header {
        padding: 6px 12px;
    }
    .playlist-list {
        max-height: min(160px, 30vh);
        padding-bottom: 16px;
    }
    .playlist-item {
        padding: 7px 12px;
    }
    .playlist-item.active {
        padding-left: 9px;
    }
    .playlist-item:last-child {
        margin-bottom: 16px;
    }
    .remote-dpad-container {
        padding: 2px 12px 8px 12px;
    }
    .dpad-kore-grid {
        transform: scale(0.92);
        transform-origin: bottom center;
    }
}

/* Kore 经典 3x3 遥控器 Grid 卡片 */
.remote-dpad-container {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px 16px 20px 16px;
}
.dpad-kore-grid {
    display: grid;
    grid-template-columns: 56px 68px 56px;
    grid-template-rows: 56px 68px 56px;
    gap: 8px;
    align-items: center;
    justify-items: center;
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    border-radius: 36px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}
.dpad-dir-btn {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    transition: all 0.15s ease;
}
.dpad-dir-btn:active {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    color: #FFFFFF;
    transform: scale(0.92);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.5);
}
.dpad-corner-btn {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.15s ease;
}
.dpad-corner-btn:active {
    color: #6366F1;
    transform: scale(0.88);
}
.dpad-ok-btn {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(79, 70, 229, 0.5));
    border: 2px solid rgba(99, 102, 241, 0.6);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    transition: all 0.15s ease;
}
.dpad-ok-btn:active {
    transform: scale(0.92);
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

/* 极简单行底部视频控制组件 (Yatse 极简设计) */
.remote-player-card {
    margin: 0 12px 10px 12px;
    background: rgba(30, 41, 59, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.player-progress-area {
    width: 100%;
    position: relative;
}
.seek-tooltip {
    position: absolute;
    bottom: 100%;
    margin-bottom: 8px;
    left: 0;
    transform: translateX(-50%);
    background: #6366F1;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    font-family: monospace;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    pointer-events: none;
    white-space: nowrap;
    z-index: 100;
    transition: opacity 0.1s ease;
}
.seek-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: #6366F1 transparent transparent transparent;
}
.remote-seekbar {
    width: 100%;
    accent-color: #6366F1;
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
    touch-action: pan-x !important;
    -webkit-user-select: auto !important;
    user-select: auto !important;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.15);
}
.remote-seekbar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #6366F1;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.remote-seekbar::-webkit-slider-thumb:hover,
.remote-seekbar:active::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.9);
}
.remote-seekbar::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #6366F1;
    border: none;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.remote-seekbar::-moz-range-thumb:hover,
.remote-seekbar:active::-moz-range-thumb {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.9);
}
.player-single-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.remote-poster-sm {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}
.media-single-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.single-title {
    font-size: 12px;
    font-weight: 700;
    color: #F8FAFC;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.single-time-row {
    font-size: 10px;
    color: #94A3B8;
    font-family: monospace;
    margin-top: 1px;
}
.player-icons-group {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.icon-btn-mini {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E2E8F0;
    cursor: pointer;
    padding: 0;
    transition: all 0.15s ease;
}
.icon-btn-mini.main-play-btn-mini {
    background: #6366F1;
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}
.icon-btn-mini:active {
    transform: scale(0.9);
    background: rgba(99, 102, 241, 0.3);
}

/* 嵌套子 Modal 通用样式 */
.sub-modal {
    z-index: 10000;
    background: rgba(12, 15, 29, 0.95);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.config-modal-box, .track-modal-box {
    width: 100%;
    max-width: 420px;
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.config-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.config-guide {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 12px;
    font-size: 12px;
    color: #C7D2FE;
    line-height: 1.6;
    margin-bottom: 16px;
}
.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    text-align: left;
}
.input-group label {
    font-size: 12px;
    color: #94A3B8;
}
.input-group input {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    color: white;
    font-size: 14px;
    outline: none;
}
.input-group input:focus {
    border-color: #6366F1;
}
.config-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.btn-cancel {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    font-size: 14px;
    cursor: pointer;
}
.btn-save {
    flex: 2;
    padding: 10px;
    border-radius: 12px;
    background: #6366F1;
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* 音轨与字幕列表 */
.track-modal-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
}
.track-item {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #E2E8F0;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.track-item.active {
    border-color: #6366F1;
    background: rgba(99, 102, 241, 0.15);
    color: #6366F1;
    font-weight: 700;
}

/* Kore 电源选项弹窗 */
.power-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}
.power-opt-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #F8FAFC;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}
.power-opt-btn:active {
    background: rgba(99, 102, 241, 0.2);
    color: #818CF8;
    transform: scale(0.95);
}
.power-opt-btn.danger {
    color: #F87171;
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.08);
}
.power-opt-btn.danger:active {
    background: rgba(239, 68, 68, 0.25);
    color: #EF4444;
}

/* 音量控制 Modal */
.volume-val-badge {
    font-size: 14px;
    font-weight: 700;
    color: #818CF8;
    font-family: monospace;
}
.volume-control-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 8px 4px;
}
.vol-btn-quick {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E2E8F0;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
.vol-btn-quick:active {
    transform: scale(0.92);
    background: rgba(99, 102, 241, 0.25);
    color: #818CF8;
}
.vol-slider-wrap {
    flex: 1;
    display: flex;
    align-items: center;
}
.vol-seekbar {
    height: 8px;
    border-radius: 4px;
}

/* ==================== 全局后台异步任务进度条与悬浮胶囊样式 ==================== */
.global-async-task-bar {
    position: fixed;
    right: 20px;
    bottom: calc(148px + env(safe-area-inset-bottom));
    z-index: 995;
    display: none;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(99, 102, 241, 0.45);
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 18px;
    max-width: 380px;
    width: calc(100vw - 40px);
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    animation: asyncFadeIn 0.25s ease;
}
.global-async-task-badge {
    position: fixed;
    right: 20px;
    bottom: calc(148px + env(safe-area-inset-bottom));
    z-index: 995;
    display: none;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 9999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 16px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    align-items: center;
    gap: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    animation: asyncFadeIn 0.25s ease;
}
.global-async-task-badge:hover {
    transform: scale(1.05);
    border-color: #818CF8;
}
body.has-mini-player .global-async-task-bar,
body.has-mini-player .global-async-task-badge {
    bottom: calc(212px + env(safe-area-inset-bottom)) !important;
}
.async-task-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #6366F1;
    border-radius: 50%;
    animation: asyncSpin 0.8s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}
@keyframes asyncSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes asyncFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== 语音控制弹窗样式 ==================== */
.voice-modal-box {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    width: 90vw;
    max-width: 400px;
    padding: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.voice-modal-header {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.voice-modal-body {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.voice-mic-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.voice-mic-btn {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.4);
    transition: all 0.25s;
    user-select: none;
    -webkit-user-select: none;
}
.voice-mic-btn:active {
    transform: scale(0.92);
}
.voice-mic-btn.recording {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: voice-pulse 1.3s infinite;
}
@keyframes voice-pulse {
    0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.voice-status-tip {
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
    min-height: 18px;
}
.voice-input-wrapper {
    width: 100%;
    display: flex;
    gap: 8px;
}
.voice-query-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: #fff;
    outline: none;
}
.voice-query-input:focus {
    border-color: #38bdf8;
}
.voice-send-btn {
    background: #0284c7;
    border: none;
    border-radius: 8px;
    padding: 0 14px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.voice-send-btn:active {
    background: #0369a1;
}
.voice-feedback-area {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
}
.voice-feedback-area.pending {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.2);
}
.voice-feedback-area.success {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.voice-feedback-area.error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.voice-quick-tags {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.voice-quick-tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}
.voice-quick-tag:hover {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.3);
}
