/* Donation Alert Overlay Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gold-gradient: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --glow-color: rgba(102, 126, 234, 0.6);
}

html.full-bg {
    background-color: #1a1a2e;
    /* 確保滑出去看到的底色也是深藍色 */
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background: transparent;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: env(safe-area-inset-top) 20px env(safe-area-inset-bottom);
    margin: 0;
}

html.full-bg body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.donate-page {
    width: 100%;
}

/* ==================== */
/* Status Indicators (Shared) */
/* ==================== */

.status-indicator {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1000;
    pointer-events: none;
}

.status-indicator.visible {
    opacity: 1;
    pointer-events: auto;
}

.status-indicator:hover {
    opacity: 1;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffc107;
    animation: pulse 1.5s ease-in-out infinite;
}

.status-indicator.connected .status-dot,
.status-indicator.active .status-dot {
    background: #4caf50;
    animation: none;
}

.status-indicator.disconnected .status-dot,
.status-indicator.locked .status-dot {
    background: #f44336;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* OBS Overlay Styles moved to obs-overlay.css */

/* ==================== */
/* Donation Form Styles */
/* ==================== */

.donate-page {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    padding: 40px 20px;
    overflow-y: auto;
}

/* ==================== */
/* Top Navigation       */
/* ==================== */

.top-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 100;
}

#auth-container {
    min-height: 42px;
    /* Reserve height to prevent layout shift */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.auth-btn {
    height: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.2s;
    white-space: nowrap;
}

.auth-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    font-size: 14px;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.donate-container {
    width: 100%;
    max-width: 480px;
    margin: 50px auto 0;
    /* Added top margin */
}

.donate-header {
    text-align: center;
    margin-bottom: 32px;
}

.streamer-avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    /* Custom emoji cursor */
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><text x='0' y='24' font-size='24'>😆</text></svg>"), pointer;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.streamer-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

.streamer-avatar.alt {
    opacity: 0;
}

/* Hover Effect (Desktop) */
@media (hover: hover) {
    .streamer-avatar-container:hover .streamer-avatar.main {
        opacity: 0;
    }

    .streamer-avatar-container:hover .streamer-avatar.alt {
        opacity: 1;
    }
}

/* Toggle State (Mobile/Touch Only) */
@media (hover: none) {
    .streamer-avatar-container.active .streamer-avatar.main {
        opacity: 0;
    }

    .streamer-avatar-container.active .streamer-avatar.alt {
        opacity: 1;
    }
}

.streamer-name {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.donate-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Form Styles */
.donate-form {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 8px 32px var(--shadow-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.label-icon {
    font-size: 18px;
}

.optional {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 12px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group textarea {
    resize: none;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* Amount Options */
.amount-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.amount-btn {
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.amount-btn.selected {
    background: var(--primary-gradient);
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

/* Payment Method Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the content */
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 60px;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    /* Changed from translateX to translateY for centered layout */
}

.payment-method.selected {
    background: rgba(102, 126, 234, 0.15);
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.method-icon {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    /* Removed as per instruction */
    /* height: 28px; */
    /* Removed as per instruction */
}

/* Specific scale for the small powered-by logo */
.method-icon.stripe-badge {
    height: 28px;
}

/* Specific scale for the large PayPal logo */
.method-icon.paypal-large {
    height: 28px;
}

.method-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.method-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* .payment-method.selected .method-icon background removed to keep logos standard */

.custom-amount {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-amount input {
    flex: 1;
    padding-right: 70px;
    /* Increased padding to accommodate TWD */
}

/* Hide number input arrows (spin buttons) */
.custom-amount input::-webkit-outer-spin-button,
.custom-amount input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.custom-amount input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
    appearance: textfield;
}

.custom-amount .currency {
    position: absolute;
    right: 18px;
    color: var(--text-secondary);
    font-weight: 600;
    pointer-events: none;
    /* Make sure clicking TWD still focuses the input */
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
    color: #ffffff;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(238, 90, 36, 0.4);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(238, 90, 36, 0.5);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-amount {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 16px;
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Integrated Payment UI */
.payment-section {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#stripe-elements-container {
    margin-bottom: 5px;
}

.payment-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px 0;
    color: var(--text-secondary);
    font-size: 13px;
}

.payment-divider::before,
.payment-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-divider span {
    padding: 0 15px;
}

.paypal-alt-btn {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.paypal-alt-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.paypal-alt-btn img {
    height: 18px;
    width: auto;
}

.submit-btn {
    margin-top: 5px;
}

.donate-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-info {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.6;
    /* Dim the contact info */
}

.footer-info a {
    color: #8da4f7;
    /* Slightly lighter/muted blue */
    text-decoration: none;
    transition: color 0.2s;
}

.footer-info a:hover {
    color: #aebef8;
    text-decoration: underline;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    /* Bright white text */
    font-size: 14px;
    /* Slightly larger */
    font-weight: 500;
    opacity: 1;
    /* Full opacity */
}

.footer-logo {
    height: 14px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.footer-logo.stripe-logo {
    /* filter: brightness(0) invert(1); */
    height: 22px;
    margin: 0 4px;
}

.footer-logo.paypal-logo {
    height: 14px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    color: var(--text-primary);
    font-size: 16px;
}

/* Footer */
.donate-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==================== */
/* Result Pages Styles  */
/* ==================== */

.result-page {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.result-container {
    text-align: center;
    max-width: 400px;
    padding: 48px 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px var(--shadow-color);
}

.result-icon {
    width: 100px;
    height: 100px;
    font-size: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border-radius: 50%;
    animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(46, 204, 113, 0.2) 100%);
    box-shadow: 0 0 40px rgba(76, 175, 80, 0.4);
}

.failure-icon {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.3) 0%, rgba(231, 76, 60, 0.2) 100%);
    box-shadow: 0 0 40px rgba(244, 67, 54, 0.4);
}

.result-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.result-message {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-primary {
    color: #ffffff;
    background: var(--primary-gradient);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
}

.result-footer {
    margin-top: 32px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 500px) {
    .donate-form {
        padding: 24px 20px;
    }

    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .streamer-name {
        font-size: 24px;
    }
}

/* Compact Voice Select (Inline) */
.voice-select-compact {
    padding: 6px 30px 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    outline: none;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.voice-select-compact:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.voice-select-compact option {
    background: #1a1a2e;
    color: white;
    padding: 8px;
}

/* ==================== */
/* Donation Page Cleanup */
/* ==================== */

body:not(.i18n-ready) [data-i18n],
body:not(.i18n-ready) [data-i18n-placeholder],
body:not(.i18n-ready) .lang-btn {
    opacity: 0;
}

[data-i18n],
[data-i18n-placeholder],
.lang-btn,
#auth-container {
    transition: opacity 0.3s ease-in-out;
}

#auth-container:empty {
    opacity: 0;
}

.brand-link {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.brand-link:hover {
    transform: scale(1.1);
}

.brand-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-section {
    position: static;
    font-size: 14px;
    z-index: 10;
}

.shop-btn.is-hidden {
    display: none;
}

.shop-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.shop-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

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

.form-header-label {
    margin-bottom: 0;
}

.amount-error {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 6px;
    display: none;
    padding-left: 4px;
}

.payment-errors {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

.donation-disclaimer {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    line-height: 1.4;
}

.footer-content-top {
    margin-bottom: 12px;
}

.footer-powered-link {
    display: flex;
    align-items: center;
}

.auth-divider {
    opacity: 0.5;
}

.user-points {
    color: #ffd700;
    font-weight: bold;
}

.user-points-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.user-points-icon {
    width: 16px;
    height: 16px;
    position: relative;
    top: 1px;
}

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

.modal-overlay.is-open {
    display: flex;
}

.modal-content {
    background: #1a1f2e;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
}

.modal-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

.login-input {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
}

.modal-btn {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 10px;
}

.modal-btn:hover {
    background: #7689de;
}

.modal-btn.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.modal-btn-danger {
    background: #ef4444;
}

.modal-btn-danger:hover {
    background: #dc2626;
}

.logout-actions {
    display: flex;
    gap: 10px;
}

.logout-actions .modal-btn {
    width: 50%;
}

.login-msg {
    margin-top: 10px;
    font-size: 14px;
    color: #aaa;
    min-height: 20px;
}

.login-msg.error {
    color: #ff6b6b;
}

.login-msg.success {
    color: #4ade80;
}

.voice-select-compact {
    width: auto;
    min-width: 100px;
    padding: 8px 32px 8px 12px;
    font-size: 14px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    opacity: 0;
    transform: translateY(0);
    pointer-events: none;
}

.voice-select-compact.active {
    opacity: 1;
    pointer-events: auto;
}
