/* 基础样式 - 与主页面一致 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    font-size: 10px;
    line-height: 1.3;
    max-width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 顶栏 */
.header {
    background: #ffffff;
    padding: 6px 0 5px;
    border-bottom: 1px solid #e1e5eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-content {
    padding: 0 12px;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: #2c3e50;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.back-btn:hover {
    background: #f1f3f5;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 12px;
    color: #2c3e50;
}

.logo-img {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    object-fit: contain;
}

.header-title {
    font-size: 12px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    flex: 1;
    margin-right: 30px;
}

/* 页面容器 */
.page-container {
    padding: 12px;
}

/* 服务号介绍 */
.service-intro {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid #e1e5eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.section-title {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-title i {
    color: #FF3B30; /* 快手红 */
}

.intro-text {
    font-size: 9px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* 联系卡片容器 */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

/* 联系卡片 */
.contact-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e1e5eb;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.contact-card:hover {
    border-color: #FF3B30;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 59, 48, 0.1);
}

/* 联系图标 - 修改为PNG图片容器 */
.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF3B30; /* 快手红底色，可被PNG覆盖 */
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* PNG图标样式 - 默认占满整个容器 */
.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保PNG填充圆角区域 */
    border-radius: 12px; /* 与父容器一致的圆角 */
    display: block;
}

/* 移除原有的快手icon伪元素，改用PNG */
.kuaishou-icon {
    display: none; /* 彻底禁用之前的矢量样式 */
}

/* 卡片编号徽章 - 保持不变，位于PNG上方 */
.card-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #2c3e50;
    color: white;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    z-index: 2; /* 确保徽章在PNG上方 */
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: 700;
    font-size: 12px;
    color: #2c3e50;
    margin-bottom: 3px;
}

.contact-desc {
    font-size: 9px;
    color: #666;
    line-height: 1.3;
    margin-bottom: 6px;
}

.contact-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2ecc71;
}

.status-text {
    font-size: 8px;
    color: #2ecc71;
    font-weight: 600;
}

.status-offline .status-dot {
    background: #95a5a6;
}

.status-offline .status-text {
    color: #95a5a6;
}

/* 使用说明 */
.usage-guide {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid #e1e5eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.guide-list {
    padding-left: 15px;
    margin: 0;
}

.guide-list li {
    font-size: 9px;
    color: #666;
    margin-bottom: 6px;
    line-height: 1.3;
}

/* 响应式调整 */
@media (min-width: 480px) {
    .contact-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 12px;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}