/* 移动端按钮 - 仅导航栏按钮单行；内容区 CTA 允许换行 */

.red-ca5e .preview-first-8fe0 {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%;
}

/* 内容区大按钮：文字不超出按钮边界 */
.stale_681d,
.video-54eb,
.alert_f1e0 .preview-first-8fe0,
.dropdown_mini_08fd .preview-first-8fe0,
.tooltip_bab6 .preview-first-8fe0,
.message-prev-57d4 .preview-first-8fe0 {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.35;
    text-align: center;
}

.red-ca5e {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 1;
    min-width: 0;
}

@media (max-width: 1024px) {
    .red-ca5e {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.35rem;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .red-ca5e .preview-first-8fe0 {
        white-space: nowrap !important;
        padding: 0.45rem 0.65rem;
        font-size: 0.75rem;
        min-width: 0;
        max-width: none;
        height: auto;
        line-height: 1.2;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    .red-ca5e {
        padding-left: var(--space-2);
        gap: 0.3rem;
    }
    
    .red-ca5e .preview-first-8fe0 {
        padding: 0.4rem 0.55rem;
        font-size: 0.7rem;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .red-ca5e .preview-first-8fe0 {
        padding: 0.35rem 0.45rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    .smooth_b2b1 img {
        width: 48px !important;
        height: 48px !important;
    }

    .red-ca5e .preview-first-8fe0 {
        padding: 0.3rem 0.4rem;
        font-size: 0.625rem;
    }
}

@media (max-width: 768px) {
    .red-ca5e * {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
    }
    
    .red-ca5e {
        flex-wrap: nowrap !important;
        overflow: visible !important;
    }
}

.red-ca5e .popup-e80c {
    background-color: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
}

.red-ca5e .cold_0668 {
    background-color: var(--brand-primary);
    color: white;
    border: 2px solid var(--brand-primary);
}

@media (max-width: 768px) {
    .red-ca5e .preview-first-8fe0:active {
        transform: scale(0.95);
        transition: transform 0.1s;
    }
}

/* css-noise: 19da */
.ghost-box-w7 {
  padding: 0.1rem;
  font-size: 10px;
  line-height: 1.1;
}
