* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    padding-bottom: 90px;
}

.article-container {
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 头像容器 */
.avatar-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.avatar-img {
    width: 50px;
    height: 50px;
}
.avatar-text {
    overflow-wrap: break-word;
    color: rgba(29, 34, 51, 1);
    font-size: 16px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    line-height: 33px;
}

/* 标题样式 */
.article-title {
    font-family: PingFangSC-Medium;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
    color: rgba(29, 34, 51, 1);
    padding-bottom: 8px;
}

/* 信息行样式 */
.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    padding-right: 37px;
    position: relative;
}
.info-content-wrapper {
    flex: 1;
    overflow: hidden;
}
.info-icon {
    margin-right: 8px;
    width: 24px;
    height: 24px;
}

.info-content {
    color: rgba(118, 122, 133, 1);
    line-height: 1.5 !important;
    font-size: 15px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    transition: all 0.3s;
}
.info-content.expanded {
    -webkit-line-clamp: unset;
    white-space: normal;
}
.toggle-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
    color: #888;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.toggle-btn:hover {
    color: #333;
}

.owner-name {
    overflow-wrap: break-word;
    color: rgba(29, 34, 51, 1);
    font-size: 24px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    line-height: 33px;
    margin-top: 14px;
}

/* 章节样式 */
.section {
    margin: 24px 0;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
    padding-bottom: 4px;
}

/* 摘要头部布局 */
.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

/* 语言切换按钮 */
.language-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.language-switch span {
    cursor: pointer;
    color: #666;
    padding: 2px 5px;
    border-radius: 3px;
}

.language-switch span.active {
    color: #1890ff;
    font-weight: 500;
    background-color: #f0f7ff;
}

.language-switch .switch-separator {
    cursor: default;
    color: #ccc;
}

/* 摘要内容样式 */
.summary-content {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(29, 34, 51, 1);
}

/* 图片容器 */
.image-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin: 8px 0;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* 链接样式 */
.links-container {
    margin-top: 8px;
}

.link-item {
    margin-bottom: 12px;
    font-size: 15px;
}

.link-title {
    font-weight: 500;
}

.link-url {
    color: #1890ff;
    text-decoration: none;
    word-break: break-all;
}

.link-url:hover {
    text-decoration: underline;
}


.wechat-mobile .wechat-btn {
    visibility: visible;
    height: auto;
}

.wechat-btn.close {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* 底部APP下载按钮容器 */
.app-download-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: none;
    padding: 16px;
    box-shadow: none;
    border-top: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: translateZ(0);
    will-change: transform;
}

/* 按钮样式 */
.app-download-btn {
    background: linear-gradient(to bottom, #1863FF, #00B6FF);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(24,144,255,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* hover 效果 */
.app-download-btn:hover {
    background: linear-gradient(135deg, #40a9ff, #91caff);
    box-shadow: 0 6px 16px rgba(24,144,255,0.4);
    transform: translateY(-2px);
}