* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #000000;
}

/* 全屏自适应 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background-color: #000000;
    color: #ffffff;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 导航栏 */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: #000000;
    border-bottom: 1px solid #333;
}

.back-btn, .more-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
}

.back-btn:hover, .more-btn:hover {
    background-color: #333;
    border-radius: 50%;
}

.nav-title {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
}

/* 消息列表 */
.message-list {
    flex: 1;
    padding: 12px 15px;
    overflow-y: auto;
}

.message-item {
    margin-bottom: 20px;
}

.message-time {
    text-align: center;
    color: #666;
    font-size: 11px;
    margin-bottom: 8px;
}

.message-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
}

.card-header {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
}

.badge {
    background-color: #e53935;
    color: #ffffff;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.title-text {
    font-weight: 600;
    font-size: 15px;
    color: #ffffff;
}

.card-content {
    padding: 12px 15px;
}

.content-text {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
    white-space: pre-wrap;
}

.card-footer {
    padding: 10px 15px;
    border-top: 1px solid #333;
}

.detail-link {
    color: #888;
    font-size: 13px;
}

/* 底部输入栏贴图 */
.bottom-bar-image {
    display: block;
    width: 100%;
    height: 52px;
    object-fit: cover;
    flex: 0 0 52px;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
