* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    max-width: 430px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

.main {
    padding: 15px 10px;
    padding-bottom: 20px;
}

.wx_crypto{
    width: 18px;
    height: 18px;
    margin: 0 3px;
    position: relative;
    top: 2px;
}

.profile-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.flex-center {
    display: flex;
    align-items: center;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin-right: 15px;
}
.avatar img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
}
.profile-info {
    flex: 1;
}

.name {
    font-weight: bold;
    color: #000;
    font-size: 16px;
    margin-bottom: 5px;
}

.tag {
    color: #fff;
    font-size: 12px;
    background-color: #ed4c18;
    padding: 2px 5px;
    border-radius: 5px;
    margin-left: 8px;
}

.badge {
    color: #9a9a9a;
    font-size: 12px;
    padding: 5px 0;
}

.lab {
    color: #ed4c18;
    font-size: 12px;
    padding: 2px 5px;
    border: 1px solid #ed4c18;
    border-radius: 3px;
    display: inline-block;
    margin-right: 5px;
}

.message-container {
    display: flex;
    margin-bottom: 15px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}
.message-avatar img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.message-content {
    flex: 1;
}

.message-header {
    font-size: 12px;
    padding-bottom: 10px;
    color: #666;
}

.message-bubble {
    padding: 15px;
    font-size: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
}

.message-bubble-user{
    background-color: #ed4c18;
    color: #fff;
}

.message-bubble strong {
    color: #f40;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mytags {
    color: #fff;
    font-size: 15px;
    background-color: #ed4c18;
    padding: 10px 15px;
    border-radius: 20px;
    margin: 0 0;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(237, 76, 24, 0.3);
}
.user_types{
    text-align: left;
}

.mytags.selected {
    background-color: #c0392b;
}

.options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}



.messages-ipc{
    text-align: center;
    padding-top: 220px;
    font-size: 12px;
    color: #969696;
}
.consult-btn {
    background-color: #ed4c18;
    /*background: linear-gradient(135deg, #ed4c18 0%, #ff7b4d 100%);*/
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    text-align: center;
    animation: pulse 1.5s infinite;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
}
.consult-btn-inner{
    background-color: #ff8435;
    margin-top: 15px;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.consult-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.4s;
}

.consult-btn:hover:before {
    left: 100%;
}

.consult-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(237, 76, 24, 0.4);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    color: #9a9a9a;
    max-width: 430px;
    margin: 0 auto;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    z-index: 100;
}
.hidden {
    display: none;
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(237, 76, 24, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(237, 76, 24, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(237, 76, 24, 0); }
}
/* 响应式调整 */
@media (max-width: 430px) {
    body {
        max-width: 100%;
    }

    .options-container {
        grid-template-columns: 1fr;
    }
}
