/* ===========================================
   球密体育 - 全局样式
   =========================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #F5F5F7;
    color: #333;
    padding-bottom: 70px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

input {
    border: none;
    outline: none;
    font-family: inherit;
}

/* ===========================================
   Header 通用样式
   =========================================== */
.header {
    background: linear-gradient(135deg, #E85D5D 0%, #E44D4D 50%, #D63031 100%);
    padding: 20px 16px 15px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
    white-space: nowrap;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 新闻页/内容页 Header */
.header-news,
.header-content {
    padding: 15px 16px;
    text-align: center;
}

.header-content-news {
    justify-content: center;
}

.header-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* ===========================================
   直播页样式
   =========================================== */

/* 导航栏 */
.nav-bar {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 50;
}

.search-icon {
    padding-right: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.tabs {
    display: flex;
    gap: 25px;
}

.tab {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    transition: color 0.2s;
}

.tab.active {
    color: #333;
    font-weight: 600;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(135deg, #E85D5D, #D63031);
    border-radius: 2px;
}

/* 搜索框 */
.search-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    z-index: 200;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    border-radius: 20px;
    padding: 8px 15px;
    gap: 10px;
}

.search-input-wrapper input {
    flex: 1;
    background: transparent;
    font-size: 14px;
    color: #333;
}

.search-input-wrapper input::placeholder {
    color: #999;
}

.search-close {
    color: #666;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

/* 分类标签 */
.category-tabs {
    display: flex;
    gap: 0;
    padding: 10px 16px;
    background: white;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid #eee;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    flex-shrink: 0;
    padding: 6px 14px;
    border: none;
    background: none;
    font-size: 13px;
    color: #666;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.category-tab.active {
    background: linear-gradient(135deg, #E85D5D, #D63031);
    color: white;
}

/* 赛事卡片区域 */
.matches-section {
    padding: 15px 0 10px;
}

.matches-scroll {
    display: flex;
    gap: 12px;
    padding: 0 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.matches-scroll::-webkit-scrollbar {
    display: none;
}

.matches-scroll:active {
    cursor: grabbing;
}

.match-card {
    flex: 0 0 240px;
    background: white;
    border-radius: 12px;
    padding: 16px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    scroll-snap-align: start;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeIn 0.3s ease-out;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.league-tag {
    font-size: 11px;
    color: #666;
    font-weight: 500;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 12px;
    line-height: 1.2;
}

.match-time {
    font-size: 11px;
    color: #999;
    line-height: 1.2;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 6px;
    flex: 1;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.team-logo {
    width: 48px;
    height: 48px;
}

.team-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-name {
    font-size: 12px;
    color: #333;
    text-align: center;
    line-height: 1.3;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90px;
}

.vs-badge {
    font-size: 13px;
    font-weight: 700;
    color: #E85D5D;
    flex-shrink: 0;
    padding: 0 2px;
}

.reserve-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #E85D5D, #D63031);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    margin-top: auto;
}

.reserve-btn:hover {
    opacity: 0.9;
}

.reserve-btn:active {
    transform: scale(0.98);
}

/* 热门主播区域 */
.streamers-section {
    background: white;
    padding: 15px 16px;
    margin-top: 10px;
}

.streamers-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.streamer-tab {
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.streamer-tab.active {
    background: linear-gradient(135deg, #E85D5D, #D63031);
    border-color: transparent;
    color: white;
}

.streamers-container {
    display: flex;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.streamers-container::-webkit-scrollbar {
    display: none;
}

a.streamer-item {
    text-decoration: none;
    color: inherit;
}

.streamer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 64px;
    flex-shrink: 0;
}

.streamer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.streamer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.streamer-name {
    font-size: 11px;
    color: #333;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 60px;
    line-height: 1.3;
}

/* 直播列表 */
.live-list-section {
    padding: 15px 16px;
}

.live-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

a.live-list-item {
    text-decoration: none;
    color: inherit;
}

.live-list-item {
    background: white;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.live-list-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.live-item-info {
    flex: 1;
    min-width: 0;
}

.live-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-item-streamer {
    font-size: 12px;
    color: #999;
}

.live-item-views {
    font-size: 12px;
    color: #E85D5D;
    white-space: nowrap;
}

/* 空状态 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-icon {
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.empty-hint {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.go-live-btn {
    padding: 10px 30px;
    background: linear-gradient(135deg, #E85D5D, #D63031);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

/* 加载状态 */
.loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.loading-state::before {
    content: '';
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #E85D5D;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===========================================
   赛事页样式
   =========================================== */

/* 运动类型切换 */
.sport-tabs {
    display: flex;
    background: white;
    padding: 10px 16px;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

.sport-tab {
    flex: 1;
    padding: 8px 0;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.sport-tab.active {
    background: linear-gradient(135deg, #E85D5D, #D63031);
    border-color: transparent;
    color: white;
}

/* 日期选择 */
.date-selector {
    background: white;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.date-scroll {
    display: flex;
    gap: 0;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.date-scroll::-webkit-scrollbar {
    display: none;
}

.date-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.date-item.active {
    background: linear-gradient(135deg, #E85D5D, #D63031);
}

.date-day {
    font-size: 12px;
    color: #666;
}

.date-num {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-top: 2px;
}

.date-item.active .date-day,
.date-item.active .date-num {
    color: white;
}

/* 联赛筛选 */
.league-filter {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    background: white;
    border-bottom: 1px solid #eee;
}

.league-filter::-webkit-scrollbar {
    display: none;
}

.league-tag {
    flex-shrink: 0;
    padding: 5px 14px;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #f5f5f5;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.league-tag.active {
    background: linear-gradient(135deg, #E85D5D, #D63031);
    border-color: transparent;
    color: white;
}

/* 赛事列表 */
.match-list-section {
    padding: 10px 16px;
}

.league-group {
    margin-bottom: 15px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.league-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.league-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.league-icon {
    font-size: 18px;
}

.league-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.match-count {
    font-size: 12px;
    color: #999;
}

.match-list {
    display: flex;
    flex-direction: column;
}

.match-list-item {
    padding: 14px 15px;
    border-bottom: 1px solid #f5f5f5;
}

.match-list-item:last-child {
    border-bottom: none;
}

.match-status {
    font-size: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.match-status.live {
    color: #E85D5D;
    font-weight: 600;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #E85D5D;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.match-status.upcoming {
    color: #999;
}

.match-teams-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.team-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.team-col.home {
    text-align: right;
}

.team-col.away {
    text-align: left;
}

.team-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.team-score {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.vs-text {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    padding: 0 15px;
}

.match-actions {
    display: flex;
    justify-content: center;
}

.watch-btn {
    padding: 6px 20px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    display: inline-block;
}

.live-btn {
    background: linear-gradient(135deg, #E85D5D, #D63031);
    color: white;
}

.watch-btn:hover {
    opacity: 0.9;
}

.reserve-btn-small {
    padding: 6px 20px;
    border: 1px solid #E85D5D;
    border-radius: 16px;
    background: white;
    color: #E85D5D;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.reserve-btn-small:hover {
    background: #E85D5D;
    color: white;
}

/* ===========================================
   头条页样式
   =========================================== */

/* 新闻导航 */
.news-nav {
    display: flex;
    gap: 0;
    padding: 0 16px;
    background: white;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 50;
}

.news-nav::-webkit-scrollbar {
    display: none;
}

.news-nav-item {
    flex-shrink: 0;
    padding: 12px 16px;
    background: none;
    border: none;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.news-nav-item.active {
    color: #E85D5D;
    font-weight: 600;
}

.news-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #E85D5D;
    border-radius: 1px;
}

/* 新闻列表 */
.news-list-section {
    padding: 10px 16px;
}

.news-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.3s ease-out;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.news-card:active {
    transform: translateY(0);
}

.news-card-top {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.news-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.pinned-tag {
    background: #FFF3E0;
    color: #F57C00;
}

.hot-tag {
    background: #FFEBEE;
    color: #E85D5D;
}

.new-tag {
    background: #E8F5E9;
    color: #4CAF50;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.news-source {
    color: #666;
}

.news-image {
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.news-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-img-placeholder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.news-image-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.news-img-placeholder.small {
    flex: 1;
    height: 80px;
    font-size: 14px;
    border-radius: 6px;
    overflow: hidden;
}

/* ===========================================
   有料页样式（复刻原版）
   =========================================== */

/* ===========================================
   有料页样式 - 1:1复刻原版
   =========================================== */

.youliao-page {
    background: #ffffff;
}

.youliao-page .header {
    display: none;
}

/* 有料页顶部导航栏 - 白色背景 */
.yl-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #ffffff;
    padding: 0;
    height: 56px;
}

.yl-header-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.yl-header-left,
.yl-header-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yl-header-left {
    left: 10px;
}

.yl-header-right {
    right: 10px;
}

.yl-header-icon {
    width: 26px;
    height: 26px;
    cursor: pointer;
}

.yl-header-tabs {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.yl-tab {
    font-size: 18px;
    font-weight: 400;
    color: #c27a74;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    line-height: 1;
}

.yl-tab.active {
    font-size: 24px;
    font-weight: 700;
    color: #211413;
}

/* 有料/榜单内容切换 */
.yl-content {
    display: block;
}

.yl-content-hidden {
    display: none !important;
}

/* ==============================
   精选专家 - 横向滚动
   ============================== */
.yl-expert-section {
    padding-bottom: 8px;
}

.yl-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px 12px;
}

.yl-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #211413;
}

.yl-section-more {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 13px;
    color: #b88480;
    cursor: pointer;
}

.yl-expert-scroll {
    display: flex;
    overflow-x: auto;
    padding: 0 16px 12px;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.yl-expert-scroll::-webkit-scrollbar {
    display: none;
}

.yl-expert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 72px;
    cursor: pointer;
}

.yl-expert-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 6px;
    background: #f0f0f0;
}

.yl-expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yl-expert-name {
    font-size: 13px;
    font-weight: 600;
    color: #211413;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin-bottom: 4px;
}

.yl-expert-label {
    font-size: 10px;
    font-weight: 600;
    color: #e95144;
    background: #fbdcda;
    padding: 2px 6px;
    border-radius: 2px;
    white-space: nowrap;
}

/* ==============================
   焦点赛事 - Swiper轮播
   ============================== */
.yl-match-section {
    padding-bottom: 4px;
}

.yl-match-carousel {
    padding: 0 16px 12px;
}

.yl-match-swiper {
    overflow: visible;
}

.yl-match-swiper .swiper-slide {
    width: 260px;
    flex-shrink: 0;
}

.yl-match-card {
    background: #ffffff;
    border: 1px solid #f0eded;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: transform 0.2s;
}

.yl-match-card:active {
    transform: scale(0.98);
}

.yl-match-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.yl-match-league {
    font-size: 13px;
    font-weight: 600;
    color: #211413;
}

.yl-match-time {
    font-size: 13px;
    font-weight: 600;
    color: #211413;
}

.yl-match-team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.yl-match-team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yl-match-team img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.yl-match-team span {
    font-size: 14px;
    font-weight: 400;
    color: #211413;
}

.yl-match-handicap {
    font-size: 14px;
    font-weight: 400;
    color: #211413;
}

/* ==============================
   运动类型筛选标签
   ============================== */
.yl-sport-tabs {
    padding: 10px 16px 0;
    border-top: 8px solid #f5f5f5;
}

.yl-sport-tab-list {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0;
}

.yl-sport-tab {
    font-size: 15px;
    font-weight: 400;
    color: #b88480;
    padding-bottom: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.yl-sport-tab.active {
    font-weight: 600;
    color: #211413;
}

.yl-sport-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #e95144;
    border-radius: 2px;
}

/* ==============================
   操作按钮栏（关注 / 筛选）
   ============================== */
.yl-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.yl-action-btn {
    font-size: 14px;
    font-weight: 400;
    color: #b88480;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.yl-action-btn.active {
    font-weight: 600;
    color: #211413;
}

.yl-action-btn svg {
    flex-shrink: 0;
}

/* ==============================
   内容列表
   ============================== */
.yl-content-list {
    min-height: 200px;
}

.yl-content-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

.yl-content-item:active {
    background: #fafafa;
}

.yl-content-item-body {
    display: flex;
    gap: 12px;
}

.yl-content-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.yl-content-item-title {
    font-size: 15px;
    font-weight: 400;
    color: #211413;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.yl-content-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.yl-content-author {
    font-size: 12px;
    color: #b88480;
}

.yl-content-views {
    font-size: 12px;
    color: #b88480;
}

.yl-content-item-cover {
    flex-shrink: 0;
    width: 110px;
    height: 74px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

.yl-content-item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==============================
   空状态
   ============================== */
.yl-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #f5f5f5;
    margin: 10px 0;
}

.yl-empty-state p {
    font-size: 14px;
    color: #b88480;
    text-align: center;
}

/* ==============================
   加载状态
   ============================== */
.yl-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    color: #b88480;
    font-size: 13px;
}

.yl-loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #f0eded;
    border-top-color: #e95144;
    border-radius: 50%;
    animation: yl-spin 0.6s linear infinite;
}

@keyframes yl-spin {
    to { transform: rotate(360deg); }
}

/* ==============================
   榜单页样式 - 1:1复刻原版
   ============================== */

/* 榜单整体背景 */
#yl-content-bangdan {
    background: #F0F3F8;
    min-height: calc(100vh - 56px - 60px);
}

/* 榜单分类标签（名家/胜率/回报/连红） */
.bd-sub-tabs {
    display: flex;
    justify-content: space-around;
    padding: 14px 0 0;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.bd-sub-tab {
    font-size: 16px;
    font-weight: 400;
    color: #A96560;
    padding-bottom: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.bd-sub-tab.active {
    font-weight: 700;
    color: #211413;
}

.bd-sub-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 3px;
    background: #e95144;
    border-radius: 2px;
}

/* 规则提示 + 时间筛选 */
.bd-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 14px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 10px;
}

.bd-info-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #211413;
}

.bd-info-text svg {
    flex-shrink: 0;
}

.bd-time-filter {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.bd-time-btn {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: #A96560;
    background: #ffffff;
    border: 1px solid #e0dada;
}

.bd-time-btn.active {
    background: #e95144;
    color: #ffffff;
    border-color: #e95144;
}

/* 排行榜卡片列表 */
.bd-rank-list {
    padding: 0 14px;
}

.bd-rank-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.bd-rank-card:active {
    transform: scale(0.98);
}

/* 左侧：排名 + 头像 + 信息 */
.bd-rank-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

/* 排名序号/奖牌 */
.bd-rank-medal,
.bd-rank-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    border-radius: 50%;
}

.bd-rank-medal.bd-gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.4);
}

.bd-rank-medal.bd-silver {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(192, 192, 192, 0.4);
}

.bd-rank-medal.bd-bronze {
    background: linear-gradient(135deg, #CD7F32, #B87333);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(205, 127, 50, 0.4);
}

.bd-rank-num {
    color: #A96560;
    font-weight: 600;
    font-size: 15px;
    background: none;
}

/* 头像 */
.bd-rank-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.bd-rank-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 用户信息 */
.bd-rank-info {
    min-width: 0;
}

.bd-rank-name {
    font-size: 14px;
    font-weight: 600;
    color: #211413;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bd-rank-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #A96560;
    background: #FBD4DA;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* 右侧：数据 + 关注按钮 */
.bd-rank-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.bd-rank-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.bd-rank-main-stat {
    font-size: 19px;
    font-weight: 700;
    color: #A66560;
    line-height: 1;
}

.bd-rank-stat-badge {
    font-size: 10px;
    font-weight: 500;
    color: #ffffff;
    background: #A66560;
    padding: 2px 8px;
    border-radius: 14px;
    white-space: nowrap;
}

/* 关注按钮 */
.bd-follow-btn {
    background: linear-gradient(to right, #F29790, #E95144);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    padding: 8px 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.bd-follow-btn:active {
    transform: scale(0.95);
}

.bd-follow-btn.followed {
    background: #f0eded;
    color: #A96560;
}

/* 加载完毕状态 */
.bd-load-status {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #999;
    font-size: 12px;
}

/* ===========================================
   我的页样式 - 1:1复刻原版（宫格布局）
   =========================================== */

.user-page {
    background: #f5f5f5;
}

/* 用户头部 */
.my-header {
    background: #ffffff;
    padding: 20px 16px 16px;
}

.my-user-row {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.my-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFE8DC;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.my-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.my-user-info {
    flex: 1;
    min-width: 0;
}

.my-username {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.my-subtext {
    display: block;
    font-size: 12px;
    color: #999;
}

.my-arrow {
    flex-shrink: 0;
}

/* 统计 + 充值区 */
.my-stats-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    margin-bottom: 10px;
}

.my-stat-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 14px 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    cursor: pointer;
}

.my-stat-num {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 6px;
}

.my-stat-label {
    font-size: 12px;
    color: #999;
}

.my-recharge-pill {
    width: 60px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(180deg, #FF7B7B, #E95144);
    border-radius: 14px;
    padding: 10px 6px;
    cursor: pointer;
    color: #ffffff;
}

.my-recharge-count {
    font-size: 11px;
    opacity: 0.85;
}

.my-recharge-amount {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.my-recharge-label {
    font-size: 10px;
    opacity: 0.85;
}

/* 功能宫格 */
.my-grid-section {
    background: #ffffff;
    padding: 16px 10px 10px;
    margin-bottom: 10px;
}

.my-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 0;
}

.my-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    cursor: pointer;
}

.my-grid-item:active {
    opacity: 0.7;
}

.my-grid-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF7B7B, #E95144);
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-grid-item span {
    font-size: 12px;
    color: #333;
    text-align: center;
    white-space: nowrap;
}

/* ===========================================
   底部导航
   =========================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: white;
    padding: 8px 0;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: #999;
    font-size: 10px;
    padding: 5px 10px;
    transition: color 0.2s;
}

.nav-item.active {
    color: #E85D5D;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-icon {
    background: linear-gradient(135deg, #E85D5D, #D63031);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-top: -15px;
    box-shadow: 0 4px 12px rgba(232, 93, 93, 0.4);
}

.live-icon svg {
    width: 24px;
    height: 24px;
}

/* ===========================================
   通用组件
   =========================================== */

/* 加载更多 */
.loading-more {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #eee;
    border-top-color: #E85D5D;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===========================================
   响应式设计
   =========================================== */
@media (max-width: 375px) {
    .match-card {
        flex: 0 0 240px;
    }
    
    .header {
        padding: 15px 12px 12px;
    }
    
    .download-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .brand-name {
        font-size: 16px;
    }
    
    .brand-subtitle {
        font-size: 10px;
    }
}

@media (min-width: 768px) {
    .matches-section,
    .matches-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .match-card {
        flex: 0 0 280px;
    }
    
    .header-content {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .nav-bar {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .bottom-nav {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0;
    }
    
    .user-header {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .user-stats,
    .user-recharge,
    .user-section {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 12px;
    }
    
    .version-info {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ===========================================
   子页面样式 - 比赛详情页
   =========================================== */
.header-match-detail,
.header-news-detail,
.header-streamer,
.header-video,
.header-settings,
.header-favorites {
    background: linear-gradient(135deg, #E85D5D 0%, #E44D4D 50%, #D63031 100%);
    padding: 15px 16px;
}

.back-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn,
.more-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 比赛详情卡片 */
.match-detail-card {
    background: white;
    margin: 12px 16px;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.match-league-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.league-badge {
    background: #E85D5D;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.match-round {
    font-size: 13px;
    color: #666;
    flex: 1;
}

.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.match-score-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.team-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name-large {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.score-display {
    text-align: center;
    flex: 1.2;
}

.score-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.home-score,
.away-score {
    font-size: 36px;
    font-weight: 700;
    color: #333;
}

.score-separator {
    font-size: 24px;
    color: #999;
}

.match-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #E85D5D;
    font-weight: 600;
}

.minute-text {
    font-size: 11px;
    color: #999;
}

.match-meta-info {
    display: flex;
    justify-content: space-around;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666;
}

/* 状态标签 */
.match-status-tabs {
    display: flex;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.match-status-tabs::-webkit-scrollbar {
    display: none;
}

.status-tab {
    flex: 1;
    min-width: 60px;
    padding: 12px 8px;
    background: none;
    border: none;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

.status-tab.active {
    color: #E85D5D;
    font-weight: 600;
}

.status-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #E85D5D;
    border-radius: 3px 3px 0 0;
}

/* 内容区域 */
.detail-content-area {
    background: #F5F5F7;
    padding-bottom: 80px;
}

.tab-panel {
    display: none;
    padding: 16px;
}

.tab-panel.active {
    display: block;
}

.section-title-small {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.analysis-card {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.analysis-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 8px;
}

.analysis-text:last-child {
    margin-bottom: 0;
}

/* 实力对比图表 */
.comparison-chart {
    background: white;
    border-radius: 8px;
    padding: 12px;
}

.comparison-item {
    margin-bottom: 12px;
}

.comparison-item:last-child {
    margin-bottom: 0;
}

.comp-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.comp-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comp-bar {
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 11px;
    color: white;
    font-weight: 600;
}

.comp-bar.home {
    background: linear-gradient(90deg, #E85D5D, #FF7675);
}

.comp-bar.away {
    background: linear-gradient(90deg, #034694, #74B9FF);
}

/* 阵容 */
.lineup-section {
    background: white;
    border-radius: 8px;
    padding: 16px;
}

.lineup-team {
    margin-bottom: 16px;
}

.lineup-team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.lineup-team-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.lineup-coach {
    font-size: 12px;
    color: #999;
}

.lineup-group {
    margin-bottom: 12px;
}

.lineup-group-title {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.player-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #F5F5F7;
    border-radius: 6px;
    margin-bottom: 6px;
}

.player-number {
    width: 24px;
    font-size: 13px;
    font-weight: 600;
    color: #E85D5D;
}

.player-name {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.player-position {
    font-size: 12px;
    color: #999;
}

.lineup-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 16px 0;
}

/* 事件列表 */
.events-section {
    background: white;
    border-radius: 8px;
    padding: 16px;
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.event-item:last-child {
    border-bottom: none;
}

.event-time {
    width: 40px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-align: center;
}

.event-icon {
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yellow-card {
    width: 20px;
    height: 28px;
    background: #FFC107;
    border-radius: 3px;
}

.red-card {
    width: 20px;
    height: 28px;
    background: #E85D5D;
    border-radius: 3px;
}

.event-dot {
    width: 12px;
    height: 12px;
    background: #999;
    border-radius: 50%;
}

.event-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-player {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.event-desc {
    font-size: 13px;
    color: #666;
}

.event-assist {
    font-size: 12px;
    color: #999;
}

/* 数据统计 */
.stats-section {
    background: white;
    border-radius: 8px;
    padding: 16px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    min-width: 50px;
    text-align: center;
}

.stat-value.home {
    color: #E85D5D;
}

.stat-value.away {
    color: #034694;
}

.stat-label {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.stat-bar-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.stat-bar-container {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar {
    height: 100%;
    border-radius: 4px;
}

.stat-bar.home {
    background: linear-gradient(90deg, #E85D5D, #FF7675);
}

.stat-bar.away {
    background: linear-gradient(90deg, #034694, #74B9FF);
}

/* 赔率 */
.odds-section {
    background: white;
    border-radius: 8px;
    padding: 16px;
}

.odds-provider {
    padding: 12px 0 8px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.provider-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.odds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.odds-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px;
    background: #F5F5F7;
    border-radius: 8px;
}

.odds-label {
    font-size: 12px;
    color: #999;
}

.odds-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.odds-value.up {
    color: #E85D5D;
}

.odds-value.down {
    color: #00B894;
}

.odds-trend {
    font-size: 16px;
    color: #999;
}

.odds-trend.up {
    color: #E85D5D;
}

.odds-trend.down {
    color: #00B894;
}

/* 底部操作栏 */
.match-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.watch-live-btn,
.reserve-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.watch-live-btn {
    background: #E85D5D;
    color: white;
}

.reserve-action-btn {
    background: white;
    color: #E85D5D;
    border: 1px solid #E85D5D;
}

/* ===========================================
   新闻详情页样式
   =========================================== */
.news-detail-content {
    background: white;
    padding-bottom: 80px;
}

.news-detail-header {
    padding: 16px;
}

.news-detail-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin-bottom: 12px;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    padding: 0 16px;
}

.news-meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 0;
    overflow: hidden;
}

.news-meta-left .news-source-badge {
    flex-shrink: 0;
}

.news-meta-left .news-time-text {
    flex-shrink: 0;
}

.news-source-badge {
    background: #E85D5D;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}

.news-time-text {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

.news-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-left: auto;
}

.news-stats .stat-item {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #999;
    white-space: nowrap;
    flex: none !important;
}

.news-stats .stat-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.news-stats .stat-item .stat-number {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

/* 可点击的统计项 */
.news-stats .stat-item.like-stat {
    cursor: pointer;
    transition: color 0.2s;
}

.news-stats .stat-item.like-stat:active {
    color: #E85D5D;
}

.news-stats .stat-item.like-stat.liked {
    color: #E85D5D;
}

.news-stats .stat-item.like-stat.liked svg path {
    stroke: #E85D5D !important;
    fill: #E85D5D !important;
}

.news-cover-image {
    margin: 0 16px 16px;
}

.cover-placeholder {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cover-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.news-summary {
    margin: 0 16px 16px;
    padding: 12px;
    background: #F5F5F7;
    border-left: 4px solid #E85D5D;
    border-radius: 4px;
}

.news-summary p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.news-body {
    padding: 0 16px 16px;
}

.news-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}

.news-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 24px 0 12px;
}

.news-body ul {
    margin: 12px 0;
    padding-left: 20px;
}

.news-body li {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 8px;
}

.news-body blockquote {
    margin: 16px 0;
    padding: 12px 16px;
    background: #F5F5F7;
    border-left: 4px solid #E85D5D;
    border-radius: 4px;
}

.news-body blockquote p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    font-style: italic;
    margin: 0;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.tag {
    background: #F5F5F7;
    color: #666;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
}

/* 互动区域 */
.news-interaction {
    padding: 16px;
    border-top: 1px solid #f0f0f0;
}

.interaction-buttons {
    display: flex;
    gap: 16px;
}

.interact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    background: #F5F5F7;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.interact-btn.liked {
    background: #FFE5E5;
    color: #E85D5D;
}

/* 评论区 */
.comments-section {
    padding: 16px;
    border-top: 1px solid #f0f0f0;
}

.comments-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.comment-list {
    margin-bottom: 16px;
}

.comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.username {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.user-level {
    font-size: 11px;
    color: #E85D5D;
    background: #FFE5E5;
    padding: 2px 6px;
    border-radius: 3px;
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 8px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-time {
    font-size: 12px;
    color: #999;
}

.comment-action {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    font-size: 12px;
    color: #999;
    cursor: pointer;
}

.load-more-comments {
    width: 100%;
    padding: 12px;
    background: #F5F5F7;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

/* 相关新闻 */
.related-news {
    padding: 16px;
    border-top: 1px solid #f0f0f0;
}

.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-news-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #F5F5F7;
    border-radius: 8px;
}

.related-news-img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.related-news-info {
    flex: 1;
}

.related-news-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    font-size: 12px;
    color: #999;
}

/* 底部评论输入框 */
.comment-input-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.comment-input {
    flex: 1;
    padding: 10px 16px;
    background: #F5F5F7;
    border: none;
    border-radius: 20px;
    font-size: 14px;
}

.send-comment-btn {
    padding: 10px 20px;
    background: #E85D5D;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.send-comment-btn:active {
    background: #d44c4c;
}

/* Toast 消息 */
.toast-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    animation: fadeInOut 2s ease-in-out;
    white-space: nowrap;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

/* 收藏按钮状态 */
.interact-btn.collected {
    background: #FFE5E5;
    color: #E85D5D;
}

.interact-btn.collected svg path {
    stroke: #E85D5D !important;
}

.interact-btn.collected svg {
    fill: #E85D5D !important;
}

/* 评论回复 */
.comment-replies {
    margin-top: 10px;
    padding: 10px;
    background: #F9F9FB;
    border-radius: 8px;
}

.reply-item {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.reply-item:last-child {
    border-bottom: none;
}

.reply-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.reply-content {
    flex: 1;
}

.reply-user {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.reply-user .username {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.reply-to {
    font-size: 11px;
    color: #E85D5D;
}

.reply-text {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 4px;
}

.reply-meta {
    display: flex;
    gap: 10px;
}

.reply-time {
    font-size: 11px;
    color: #999;
}

/* ===========================================
   主播详情页样式
   =========================================== */
.streamer-profile-card {
    background: white;
    margin: 12px 16px;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.streamer-avatar-large {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
}

.avatar-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 3px solid #E85D5D;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.streamer-avatar-large img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.live-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #E85D5D;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.streamer-name-large {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.streamer-bio {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.streamer-stats-row {
    display: flex;
    justify-content: space-around;
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
}

.streamer-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num-large {
    font-size: 18px;
    font-weight: 700;
    color: #E85D5D;
}

.stat-label-small {
    font-size: 12px;
    color: #999;
}

.streamer-actions {
    display: flex;
    gap: 12px;
}

.follow-btn-large,
.message-btn-large {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.follow-btn-large {
    background: #E85D5D;
    color: white;
}

.message-btn-large {
    background: #F5F5F7;
    color: #666;
}

/* 当前直播 */
.current-live-section {
    margin: 12px 16px;
}

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

.section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.viewer-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #E85D5D;
}

.live-stream-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.live-thumbnail {
    position: relative;
    height: 180px;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-tag-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
}

.live-tag-pulse {
    background: #E85D5D;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.duration-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.live-stream-info {
    padding: 12px;
}

.stream-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
}

.stream-meta {
    display: flex;
    gap: 8px;
}

.stream-category,
.stream-league {
    font-size: 12px;
    color: #999;
    background: #F5F5F7;
    padding: 3px 8px;
    border-radius: 4px;
}

/* 主播标签 */
.streamer-tags-section {
    margin: 12px 16px;
    background: white;
    border-radius: 12px;
    padding: 16px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: #F5F5F7;
    color: #666;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
}

/* 历史回放 */
.past-streams-section {
    margin: 12px 16px;
}

.view-all-link {
    font-size: 13px;
    color: #E85D5D;
}

.past-streams-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.past-stream-item {
    display: flex;
    gap: 12px;
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.past-stream-thumb {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
}

.past-stream-info {
    flex: 1;
}

.past-stream-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.past-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #999;
}

/* 粉丝评价 */
.fan-comments-section {
    margin: 12px 16px;
    background: white;
    border-radius: 12px;
    padding: 16px;
}

.rating-score {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.score-num {
    font-size: 20px;
    font-weight: 700;
    color: #E85D5D;
}

.score-max {
    font-size: 14px;
    color: #999;
}

.fan-comments-list {
    margin-top: 16px;
}

.fan-comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.fan-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}

.fan-comment-content {
    flex: 1;
}

.fan-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.fan-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.fan-rating {
    display: flex;
    gap: 2px;
}

.star,
.star-half {
    color: #FFC107;
    font-size: 14px;
}

.fan-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 6px;
}

.fan-meta {
    font-size: 12px;
    color: #999;
}

.streamer-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.watch-live-btn-large {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: #E85D5D;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* ===========================================
   视频播放页样式
   =========================================== */
.video-player-container {
    position: relative;
    background: #000;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(102, 126, 234, 0.3) 0%, 
        rgba(118, 75, 162, 0.3) 50%, 
        rgba(102, 126, 234, 0.3) 100%);
    animation: bgMove 10s linear infinite;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.video-controls-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.play-button-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.video-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}

.live-indicator-large {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #E85D5D;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.live-dot-pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.viewer-count-large {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 14px;
}

.video-bottom-controls {
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.progress-bar-container {
    margin-bottom: 8px;
}

.progress-bar {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
}

.progress-buffered {
    position: absolute;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.progress-played {
    position: absolute;
    height: 100%;
    background: #E85D5D;
    border-radius: 2px;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #E85D5D;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.controls-left,
.controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
}

.time-display {
    color: white;
    font-size: 13px;
}

.quality-badge {
    background: #E85D5D;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* 清晰度选择器 */
.quality-selector {
    position: absolute;
    right: 16px;
    bottom: 80px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 150px;
    z-index: 20;
}

.quality-option {
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.quality-option:hover,
.quality-option.active {
    background: rgba(232, 93, 93, 0.3);
}

.quality-check {
    color: #E85D5D;
}

/* 加载动画 */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 14px;
}

.loading-spinner-large {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 直播信息区 */
.stream-info-section {
    background: white;
    padding: 16px;
}

.stream-header-info {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.streamer-avatar-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.streamer-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-details {
    flex: 1;
}

.stream-title-main {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.5;
}

.stream-meta-info {
    font-size: 13px;
    color: #666;
}

.streamer-name-link {
    color: #E85D5D;
    font-weight: 600;
}

.meta-separator {
    margin: 0 6px;
    color: #999;
}

.follow-streamer-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: #E85D5D;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.follow-streamer-btn.following {
    background: #f0f0f0;
    color: #666;
}

/* 比赛信息卡片 */
.match-info-card {
    background: #F5F5F7;
    border-radius: 12px;
    padding: 16px;
}

.match-teams-vertical {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.team-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.team-vertical img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.team-name-v {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.score-vertical {
    text-align: center;
    flex: 1.2;
}

.score-numbers-v {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.home-score-v,
.away-score-v {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.separator-v {
    font-size: 20px;
    color: #999;
}

.match-time-v {
    font-size: 13px;
    color: #E85D5D;
    font-weight: 600;
}

.live-indicator-v {
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-match-detail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px;
    background: white;
    color: #E85D5D;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* 互动区 */
.interaction-section {
    background: white;
    margin-top: 12px;
}

.interaction-tabs {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.inter-tab {
    flex: 1;
    padding: 14px;
    background: none;
    border: none;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.inter-tab.active {
    color: #E85D5D;
    font-weight: 600;
}

.inter-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #E85D5D;
    border-radius: 3px 3px 0 0;
}

.inter-panel {
    display: none;
}

.inter-panel.active {
    display: block;
}

/* 聊天消息 */
.chat-messages {
    height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 16px;
    background: #F8F8FA;
}

.chat-message {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 24px;
    height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.chat-message.system {
    text-align: center;
    height: auto;
    display: block;
}

.sys-text {
    color: #ccc;
    font-size: 11px;
}

.msg-time {
    font-size: 10px;
    color: #d0d0d0;
    margin-right: 6px;
    flex-shrink: 0;
}

.msg-user {
    font-weight: 600;
    flex-shrink: 0;
}

.msg-user::after {
    content: ':';
    color: #ccc;
    margin: 0 3px;
}

.msg-text {
    color: #444;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg-gift {
    color: #FFA502;
    font-weight: 600;
}

.msg-gift .msg-text {
    color: #FFA502;
}

.chat-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    background: white;
}

.chat-input {
    flex: 1;
    padding: 10px 16px;
    background: #F5F5F7;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

.chat-input::placeholder {
    color: #ccc;
}

.emoji-btn,
.gift-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-btn:hover,
.gift-btn:hover {
    color: #666;
}

.send-chat-btn {
    padding: 8px 18px;
    background: #E85D5D;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.send-chat-btn:hover {
    background: #d44a4a;
}

/* 资料面板 */
.info-content {
    padding: 16px;
}

.info-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    width: 80px;
    font-size: 14px;
    color: #999;
}

.info-value {
    flex: 1;
    font-size: 14px;
    color: #333;
}

/* 列表面板 */
.viewer-list {
    padding: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.viewer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.viewer-item:last-child {
    border-bottom: none;
}

.viewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.viewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.viewer-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.viewer-info {
    flex: 1;
    min-width: 0;
}

.viewer-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.viewer-level {
    font-size: 11px;
    color: #999;
}

.viewer-rank {
    font-size: 12px;
    color: #E85D5D;
    font-weight: 600;
}

/* 弹幕设置 */
.danmaku-settings {
    padding: 16px;
}

.danmaku-switch,
.danmaku-opacity,
.danmaku-speed {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.danmaku-switch:last-child,
.danmaku-opacity:last-child,
.danmaku-speed:last-child {
    border-bottom: none;
}

.danmaku-switch span,
.danmaku-opacity span,
.danmaku-speed span {
    font-size: 14px;
    color: #333;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #E85D5D;
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.danmaku-opacity input,
.danmaku-speed input {
    width: 120px;
    accent-color: #E85D5D;
}

/* 推荐面板 */
.recommend-list {
    padding: 12px;
}

.recommend-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #F5F5F7;
    border-radius: 8px;
    margin-bottom: 12px;
}

.rec-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.rec-info {
    flex: 1;
}

.rec-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.rec-status {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
}

.rec-status.live {
    background: #FFE5E5;
    color: #E85D5D;
}

.rec-status.upcoming {
    background: #F5F5F7;
    color: #999;
}

/* ===========================================
   设置页样式
   =========================================== */
.settings-content {
    padding-bottom: 20px;
}

.settings-section {
    margin-bottom: 12px;
}

.settings-list {
    background: white;
}

.settings-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.settings-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-text {
    font-size: 15px;
    color: #333;
}

.settings-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-value {
    font-size: 14px;
    color: #999;
}

.logout-section {
    padding: 20px 16px;
}

.logout-btn {
    width: 100%;
    padding: 14px;
    background: white;
    color: #E85D5D;
    border: 1px solid #E85D5D;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* ===========================================
   收藏/预约页样式
   =========================================== */
.favorites-tabs {
    display: flex;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.fav-tab {
    flex: 1;
    padding: 14px;
    background: none;
    border: none;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.fav-tab.active {
    color: #E85D5D;
    font-weight: 600;
}

.fav-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #E85D5D;
    border-radius: 3px 3px 0 0;
}

.fav-panel {
    display: none;
    padding-bottom: 20px;
}

.fav-panel.active {
    display: block;
}

/* 关注网格 */
.streamers-grid-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 12px 16px;
}

.streamer-card-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.streamer-avatar-small-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
}

.streamer-avatar-small-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.live-indicator-small {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: #E85D5D;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-indicator-small .live-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.streamer-name-small {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.streamer-desc-small {
    font-size: 11px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* 球队列表 */
.teams-list {
    padding: 0 16px;
}

.team-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
}

.team-logo-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.team-info-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.team-name-item {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.team-league-item {
    font-size: 12px;
    color: #999;
}

.unfollow-btn {
    padding: 6px 12px;
    background: #F5F5F7;
    color: #666;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

/* 收藏列表 */
.collect-list {
    padding: 0 16px;
}

.collect-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
}

.collect-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.collect-info {
    flex: 1;
}

.collect-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.collect-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

.remove-collect-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    align-self: flex-start;
}

/* 预约列表 */
.reserve-list {
    padding: 0 16px;
}

.reserve-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.reserve-match-info {
    margin-bottom: 12px;
}

.reserve-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.reserve-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.reserve-team img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.team-name-r {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.reserve-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.vs-text-r {
    font-size: 16px;
    font-weight: 700;
    color: #E85D5D;
}

.match-time-r {
    font-size: 12px;
    color: #999;
}

.reserve-league {
    display: flex;
    align-items: center;
    gap: 8px;
}

.league-badge-small {
    background: #E85D5D;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.nba-badge {
    background: #FDB913;
}

.league-name-r {
    font-size: 13px;
    color: #666;
}

.reserve-actions {
    display: flex;
    gap: 12px;
}

.cancel-reserve-btn,
.watch-reserve-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
}

.cancel-reserve-btn {
    background: #F5F5F7;
    color: #666;
}

.watch-reserve-btn {
    background: #E85D5D;
    color: white;
}

.watch-reserve-btn.disabled {
    background: #f0f0f0;
    color: #999;
    pointer-events: none;
}

.section-header-small {
    padding: 12px 16px;
}

.section-header-small h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.follow-section,
.collect-section,
.reserve-section {
    margin-bottom: 12px;
}

/* 下拉刷新指示器 */
.refresh-indicator {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #666;
}

.refresh-indicator .loading-spinner {
    width: 20px;
    height: 20px;
}
