/* 移动端按钮 - 仅导航栏按钮单行；内容区 CTA 允许换行 */

.popup-b3a8 .old_81d4 {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%;
}

/* 内容区大按钮：文字不超出按钮边界 */
.gas_8570,
.message_active_1641,
.nav-plasma-54f5 .old_81d4,
.breadcrumb_fixed_9d86 .old_81d4,
.green_5874 .old_81d4,
.menu_huge_b1e3 .old_81d4 {
    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;
}

.popup-b3a8 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 1;
    min-width: 0;
}

@media (max-width: 1024px) {
    .popup-b3a8 {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.35rem;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .popup-b3a8 .old_81d4 {
        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) {
    .popup-b3a8 {
        padding-left: var(--space-2);
        gap: 0.3rem;
    }
    
    .popup-b3a8 .old_81d4 {
        padding: 0.4rem 0.55rem;
        font-size: 0.7rem;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .popup-b3a8 .old_81d4 {
        padding: 0.35rem 0.45rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    .steel_6f47 img {
        width: 48px !important;
        height: 48px !important;
    }

    .popup-b3a8 .old_81d4 {
        padding: 0.3rem 0.4rem;
        font-size: 0.625rem;
    }
}

@media (max-width: 768px) {
    .popup-b3a8 * {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
    }
    
    .popup-b3a8 {
        flex-wrap: nowrap !important;
        overflow: visible !important;
    }
}

.popup-b3a8 .pattern-7f5a {
    background-color: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
}

.popup-b3a8 .card_wood_c493 {
    background-color: var(--brand-primary);
    color: white;
    border: 2px solid var(--brand-primary);
}

@media (max-width: 768px) {
    .popup-b3a8 .old_81d4:active {
        transform: scale(0.95);
        transition: transform 0.1s;
    }
}

/* css-noise: e43e */
.phantom-card-s6 {
  padding: 0.5rem;
  font-size: 13px;
  line-height: 1.1;
}
