/**
 * Cola Home Page Styles
 * Dựa trên giao diện colalive.pro/pc/home
 */

/* Font chữ - Không dùng @import vì block rendering, sẽ load async */
/* Font sẽ được load qua preconnect trong header */

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cola-home-page {
    background: #8b0a0a !important;
    min-height: auto;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cola-home-page .main_body {
    max-width: 1308px;
    margin: 0 auto;
    padding: 24px 20px 40px;
    padding-top: 100px !important;
}

/* Top Live Box - Layout mới với background sân bóng */
.col.home-live-cta {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
}

.stadium-background {
    flex: 1;
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, #0d4f0d 0%, #1a7a1a 50%, #0d4f0d 100%);
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.1) 2px, rgba(255,255,255,0.1) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.1) 2px, rgba(255,255,255,0.1) 4px);
    border-radius: 14px;
    overflow: hidden;
    background-size: 50px 50px;
}

.video-overlay-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-live-new {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
}

.video-live-new video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder-new {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
}

.live-room-btn {
    background: #dc2626;
    color: #fff;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5);
    transition: all 0.3s;
}

.live-room-btn:hover {
    background: #b91c1c;
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(220, 38, 38, 0.7);
}

/* Top Info Bar */
.top-info-bar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 165, 0, 0.95);
    padding: 8px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.soccer-ball-icon {
    font-size: 20px;
}

.tournament-name {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
}

.hd-badge {
    background: #000;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

/* Scoreboard BLV COMPACT */
.scoreboard-blv {
    position: absolute;
    bottom: 120px;
    left: 20px;
    z-index: 10;
    background: rgba(0,0,0,0.8);
    padding: 15px 20px;
    border-radius: 8px;
    min-width: 250px;
}

.blv-compact-label {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.score-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.score-item {
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.score-red {
    background: #dc2626;
}

.score-yellow {
    background: #eab308;
}

.score-divider {
    color: #fff;
    font-size: 18px;
}

.vsbet-logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vsbet-logo {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.register-btn-small {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.register-btn-small:hover {
    background: #b91c1c;
}

/* Bottom Control Bar */
.bottom-control-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(0,0,0,0.85);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.bet-btn {
    background: #dc2626;
    color: #fff;
}

.bet-btn:hover {
    background: #b91c1c;
}

.register-btn {
    background: #eab308;
    color: #000;
}

.register-btn:hover {
    background: #ca8a04;
}

.mute-control {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    cursor: pointer;
    margin-left: auto;
}

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

.mute-text {
    font-size: 12px;
}

.bonus-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.coin-icons {
    font-size: 18px;
}

.fullscreen-icon {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
}

/* Ads Sidebar */
.ads-sidebar {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
}

.ad-item {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.ad-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.ad-header {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

.ad-content {
    text-align: center;
}

.ad-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.ad-soccer-ball {
    font-size: 40px;
}

.ad-vsbet-3 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ad-top {
    text-align: center;
}

.vsbet-logo-large {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.ad-slogan {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.ad-slogan-sub {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.ad-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.ad-link-text {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin: 10px 0;
    line-height: 1.4;
}

.ad-website {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: underline;
}

/* Top Live Box cũ (giữ lại để tương thích) */
.top-live-box {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.top-live-box .left {
    flex: 1;
}

.video-live-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
}

.video-live {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.video-live video,
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Live BLV List (Sidebar bên phải - giống COLATV) */
.live-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100px;
    flex-shrink: 0;
}

.live-item {
    width: 100px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.live-item.active {
    border-color: #dd1818;
    border-width: 2px;
}

.live-item.live-living-item {
    border: 2px solid transparent;
}

.live-item.live-living-item.active {
    border-color: #dd1818;
}

.live-item:hover {
    transform: scale(1.05);
}

.live-item .anchor-item {
    width: 100%;
    height: 100%;
}

.live-item .placeholder {
    width: 100%;
    height: 100%;
}

.live-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.live-item .blv-label {
    padding: 6px 4px;
    font-size: 11px;
    text-align: center;
    color: #333;
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Match Live Schedule (giống COLATV) */
.match-live {
    background: #fff;
    border-radius: 0;
    padding: 24px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #e3e3e3;
}

.match-live .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.match-live .header .left {
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.match-live .header .left .icon {
    width: 37px;
    height: 32px;
    background-position: -157px 0;
    margin-right: 12px;
    flex-shrink: 0;
}

.match-live .header .title {
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.match-live .header .count {
    font-size: 12px;
    margin-top: 1px;
    margin-left: 10px;
    flex-shrink: 0;
}

.match-live .header .right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: absolute;
    right: 0;
    top: 0;
    gap: 12px;
}

.page-btn {
    width: 36px;
    height: 36px;
    color: #fff;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.page-btn > i {
    font-weight: 600;
}

.match-live-list {
    margin-top: 25px;
    display: flex;
    overflow: hidden;
    position: relative;
}

.match-live-list .wrap {
    transition: transform 0.4s ease-out;
    display: flex;
}

.match-live-list .wrap .match-live-item {
    margin-right: 12px;
    border: 1px solid #e3e3e3;
}

.match-live-list .wrap .match-live-item:last-child {
    margin-right: 0;
}

.match-live-item {
    width: 318px;
    height: auto;
    padding: 14px;
    border-radius: 14px;
    background-color: #fff;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.match-live-item .top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

.match-live-item .top .name {
    width: 100%;
}

.match-live-item .top .time {
    flex-shrink: 0;
}

.match-live-item .middle {
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
}

.match-live-item .team-info {
    width: 40.5%;
    text-align: center;
}

/* Fix CLS: Set fixed dimensions cho logo-box */
.match-live-item .logo-box {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    margin: 0 auto;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.match-live-item .logo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border-radius: 5px;
    background: transparent !important;
    background-color: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-live-item .logo .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent !important;
    background-color: transparent !important;
}

.match-live-item .logo .placeholder .el-image {
    width: 100%;
    height: 100%;
    background: transparent !important;
    background-color: transparent !important;
}

/* Fix CLS: Set fixed dimensions cho logo images */
.match-live-item .logo .placeholder .el-image__inner {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    vertical-align: top;
    object-fit: contain;
    background: transparent !important;
    background-color: transparent !important;
}

.el-image {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Fix CLS: Set dimensions cho images */
.el-image__inner {
    width: 100%;
    height: 100%;
    vertical-align: top;
    max-width: 100%;
}

/* Team logos - fixed size để tránh CLS */
.match-live-item .el-image.team .el-image__inner {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    object-fit: contain;
    display: block;
    background: transparent;
}

/* BLV HOT và Streaming images - fixed height */
.anchor-live-box .el-image.live .el-image__inner,
.anchor-live-sticky .el-image.live .el-image__inner {
    width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    object-fit: cover;
}

.match-live-item .name {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-live-item .team-info .name {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    font-family: PingFangSC-Semibold, PingFang SC, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.match-live-item .score-box {
    min-width: 19%;
    max-width: 26%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
    margin-top: 18px;
}

.match-live-item .score-box .mins {
    text-align: center;
    font-size: 12px;
    color: #dd1818;
}

.match-live-item .score-box .score-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.match-live-item .score-box .score-info .val {
    font-size: 20px;
    font-weight: 600;
    color: #666;
}

.match-live-item .score-box .score-info .val.lead {
    color: #dd1818 !important;
}

.match-live-item .score-box .score-info .line {
    width: 8px;
    height: 2px;
    background-color: #666;
    margin: 0 6px;
}

.match-live-item .score-box .vs {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.match-live-item .score-box .icon-appoint {
    width: 15px;
    height: 18px;
    margin: 10px auto 0;
    background-position: -159px -40px;
    cursor: pointer;
}

.icon-sprite {
    background-image: url(/wp-content/themes/bootscore-child-main/img/icon.png);
    background-repeat: no-repeat;
}

.dot {
    animation: fadeDot 0.8s linear infinite alternate-reverse;
    margin-left: 1px;
}

@keyframes fadeDot {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Element Icons - using simple arrows as fallback */
.el-icon-arrow-right:before {
    content: "›";
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1;
}

.el-icon-arrow-left:before {
    content: "‹";
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1;
}

.clearfix:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    *zoom: 1;
}

.match-live-item .bottom {
    margin-top: 12px;
}

.match-live-item .bottom,
.match-live-item .bottom .anchor-list {
    display: flex;
    justify-content: center;
}

.match-live-item .anchor-list .anchor-item {
    position: relative;
    margin-right: 12px;
    cursor: pointer;
}

.match-live-item .anchor-list .anchor-item:last-child {
    margin-right: 0;
}

.match-live-item .anchor-list .anchor-item .placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #fff;
}

.match-live-item .anchor-list .anchor-item .placeholder .el-image {
    width: 100%;
    height: 100%;
}

.match-live-item .anchor-list .anchor-item .placeholder .el-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-live-item .anchor-list .anchor-item .avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #fff;
}

.match-live-item .anchor-list .anchor-item .live {
    width: 30px;
    line-height: 13px;
    background: #dd1818;
    border-radius: 7px;
    color: #fff;
    font-size: 12px;
    text-align: center;
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* BLV HOT Section (giống COLATV) */
.anchor-live-ranking {
    width: 100%;
    display: flex;
    align-items: flex-start;
    margin-top: 35px;
}

.anchor-live {
    width: 100%;
    margin: 35px 0;
    position: relative;
}

.anchor-live-sticky {
    background: #fff;
    border-radius: 0;
    padding: 0;
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 10px;
    margin-top: 0;
    margin-bottom: 0;
    width: calc(100% - 240px);
    max-width: calc(100% - 240px);
}

.anchor-live-sticky .header {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding-bottom: 4px;
}

.anchor-live-sticky .header .icon {
    width: 35px !important;
    height: 25px !important;
    background-position: -209px 0 !important;
    margin-right: 12px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.blv-hot-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ĐANG PHÁT SÓNG Section */
.anchor-live .header {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    margin-bottom: 20px;
}

.anchor-live .header .icon {
    width: 35px !important;
    height: 25px !important;
    background-position: -209px 0 !important;
    margin-right: 12px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.anchor-live .header .title {
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.anchor-live-sticky .header .title {
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 40px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.anchor-live-sticky .header .classify-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.classify-item {
    min-width: 77px;
    height: 30px;
    background-color: #fff;
    padding: 0 5px;
    border-radius: 17px;
    border: 1px solid #e3e3e3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 8px;
    cursor: default;
    color: #666;
    flex-shrink: 0;
    margin-top: 4px;
}

.classify-item:last-child {
    margin-right: 0;
}

.classify-item .icon-ball {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    flex-shrink: 0;
}

.classify-item .icon-ball > img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.classify-item.active-item {
    background: #dd1818;
    color: #fff;
    border-color: #dd1818;
}

.classify-item.football.active-item {
    background: #0066cc;
    border-color: #0066cc;
}

.classify-item.basketball.active-item {
    background: #ff6600;
    border-color: #ff6600;
}

.classify-item.tennis.active-item {
    background: #00cc66;
    border-color: #00cc66;
}

.classify-item:hover {
    background: #e0e0e0;
}

.classify-item.active-item:hover {
    background: #c01515;
}

.classify-item.football.active-item:hover {
    background: #0052a3;
}

.classify-item.basketball.active-item:hover {
    background: #e55a00;
}

.classify-item.tennis.active-item:hover {
    background: #00b359;
}

/* BLV HOT - anchor-live-sticky specific styles */
.anchor-live-sticky .anchor-live-list {
    height: 472px;
    position: relative;
    overflow: visible;
    display: block !important;
}

.anchor-live-sticky .anchor-live-list .el-row {
    margin-left: -4px !important;
    margin-right: -4px !important;
    display: block !important;
}

.anchor-live-sticky .anchor-live-list .el-row .el-col {
    padding-left: 4px !important;
    padding-right: 4px !important;
    float: left !important;
    width: 33.33333% !important;
    box-sizing: border-box !important;
}

.anchor-live-sticky .anchor-live-list .el-row .el-col:nth-of-type(n+4) {
    margin-top: 25px !important;
}

.anchor-live-sticky .anchor-live-list .el-row .el-col .anchor-live-item {
    margin-bottom: 0 !important;
}

/* Element UI Row/Col - General */
.el-row {
    position: relative;
    box-sizing: border-box;
}

.el-row:after,
.el-row:before {
    display: table;
    content: "";
}

.el-row:after {
    clear: both;
}

[class*=el-col-] {
    float: left;
    box-sizing: border-box;
}

.el-col-8 {
    width: 33.33333%;
}

.el-col-6 {
    width: 25%;
}

.anchor-live-sticky .header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 222;
    background: #fff;
    padding-top: 0;
    padding-bottom: 4px;
}

.anchor-live-item {
    width: 100%;
    height: auto;
}

/* Fix CLS: Set fixed dimensions cho anchor-live-box */
.anchor-live-box {
    width: 100%;
    height: 200px;
    min-height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(0,0,0,.14);
    cursor: pointer;
    position: relative;
    transition: all .25s ease-in-out;
    display: flex;
    flex-direction: column;
}

.anchor-live-box:hover {
    box-shadow: 0 0 12px rgba(0,0,0,.18);
}

.anchor-live-box:after {
    display: none !important;
}

.anchor-live-box.living:after {
    display: none !important;
}

.anchor-info-content {
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 0;
}

.anchor-info-content .cover {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.anchor-info-content .cover:hover img {
    transform: scale(1.2);
}

.anchor-info-content .cover .placeholder {
    flex: 1;
    min-height: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.anchor-info-content .cover .placeholder .el-image {
    width: 100%;
    height: 100%;
}

.anchor-info-content .cover .el-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.anchor-info-content .cover .el-image img {
    transition: all .25s ease-in-out;
}

.live-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-name {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    min-height: 58px;
    height: auto;
    display: flex;
    align-items: flex-end;
    padding: 12px;
    padding-right: 40px;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
    font-size: 13px;
    font-weight: 400;
    flex-shrink: 0;
}

.room-name .blv-info {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.room-name .blv-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Live Animation (giống COLATV) */
.live-animation {
    width: 28px;
    height: 28px;
    background: linear-gradient(129deg, #cfcfcf, #797979);
    opacity: .9;
    border-radius: 50%;
    position: absolute;
    right: 11px;
    bottom: 11px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anchor-live-box.living .live-animation {
    background: linear-gradient(135deg, #ff4061, #dd1818);
}

.living-animation {
    display: flex;
    vertical-align: bottom;
    align-items: flex-end;
    height: 9px;
    overflow: hidden;
}

.living-animation.large {
    height: 10px;
}

.living-animation > div {
    width: 1px;
    margin-right: 1px;
    vertical-align: bottom;
    border-radius: 1px;
}

.living-animation.large > div {
    width: 2px;
    margin-right: 2px;
}

.living-animation .one {
    height: 42%;
    background-color: #fff;
}

.living-animation .two {
    height: 71%;
    background-color: #fff;
}

.living-animation .three {
    height: 100%;
    background-color: #fff;
}

.living-animation .four {
    height: 42%;
    background-color: #fff;
    margin-right: 0;
}

.living-animation.animation .one {
    animation: one-animation .8s linear infinite;
}

.living-animation.animation .two {
    animation: two-animation .8s linear infinite;
}

.living-animation.animation .three {
    animation: three-animation .8s linear infinite;
}

.living-animation.animation .four {
    animation: four-animation .8s linear infinite;
}

@keyframes one-animation {
    0% { height: 42%; }
    40% { height: 100%; }
    90% { height: 28%; }
    to { height: 42%; }
}

@keyframes two-animation {
    0% { height: 71%; }
    20% { height: 100%; }
    70% { height: 28%; }
    to { height: 71%; }
}

@keyframes three-animation {
    0% { height: 100%; }
    50% { height: 28%; }
    to { height: 100%; }
}

@keyframes four-animation {
    0% { height: 28%; }
    10% { height: 42%; }
    60% { height: 100%; }
    90% { height: 42%; }
    to { height: 28%; }
}

.anchor-live-item .bottom {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.anchor-live-item .name {
    height: 18px;
    line-height: 18px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.anchor-live-item .hot {
    font-size: 12px;
    display: flex;
    align-items: center;
    margin-left: 3px;
    flex-shrink: 0;
}

.anchor-live-item .hot .icon {
    width: 12px;
    height: 15px;
    flex-shrink: 0;
    margin-right: 4px;
    background-position: -215px -43px;
}

/* Ranking Section (bên phải - giống COLATV) */
.anchor-ranking {
    width: 230px;
    flex: 0 0 230px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
}

.anchor-ranking .header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.anchor-ranking .header .left {
    width: 100%;
    display: flex;
    align-items: center;
}

.anchor-ranking .header .left .icon {
    width: 30px;
    height: 36px;
    background-position: -260px 0;
    margin-right: 12px;
    flex-shrink: 0;
}

.anchor-ranking .title {
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 20px;
    color: #333;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.anchor-ranking .more {
    color: #999;
    font-size: 15px;
    margin-top: 1px;
    cursor: pointer;
    line-height: 1;
}

.ranking-list {
    margin-top: 20px;
}

.ranking-item {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 14px;
    border-bottom: 1px solid #e3e3e3;
    position: relative;
    cursor: pointer;
}

.ranking-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.ranking-item:hover {
    background: #f0f0f0;
}

.ranking-item .crown {
    width: 28px;
    height: 28px;
    position: absolute;
    top: -11px;
    left: -11px;
    z-index: 2;
}

.ranking-item1 .crown {
    background-position: 0 -72px;
}

.ranking-item1 .avatar {
    border: 2px solid #ffde00;
}

.ranking-item2 .crown {
    background-position: -40px -72px;
}

.ranking-item2 .avatar {
    border: 2px solid #cadce9;
}

.ranking-item3 .crown {
    background-position: -80px -72px;
}

.ranking-item3 .avatar {
    border: 2px solid #f5bdae;
}

.ranking-item .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    object-fit: cover;
}

.ranking-item .placeholder.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ranking-item .placeholder.avatar .el-image {
    width: 100%;
    height: 100%;
}

.ranking-item .placeholder.avatar .el-image__inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-item .right {
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ranking-item .right .info {
    width: 100%;
    overflow: hidden;
}

.ranking-item .name {
    font-weight: 600;
    font-family: PingFangSC-Semibold, PingFang SC;
}

.attention-button {
    flex-shrink: 0;
    min-width: 58px;
    height: 26px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 14px;
    color: #fff;
    font-size: 12px;
    line-height: 26px;
    cursor: pointer;
}

.attention-button .icon {
    width: 12px;
    height: 10px;
    margin-right: 3px;
    background-position: 0 -29px;
}

.attention-button.no {
    background-color: #dd1818;
}

.attention-button-mini {
    min-width: 50px;
    height: 22px;
    padding: 0 3px;
}

.attention-button:hover {
    background: #c01515;
}

/* Đang Phát Sóng Section (giống COLATV) */
.anchor-live {
    width: 100%;
    margin: 40px 0;
    position: relative;
    background: #fff;
    border-radius: 0;
    padding: 0;
    margin-bottom: 40px;
}

.anchor-live .header {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    margin-bottom: 20px;
}

.anchor-live .header .title {
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
    color: #333;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ĐANG PHÁT SÓNG - anchor-live specific styles */
.anchor-live .anchor-live-list {
    display: block !important;
    position: relative;
    overflow: visible;
}

.anchor-live .anchor-live-list .el-row {
    margin-left: -7px !important;
    margin-right: -7px !important;
    display: block !important;
}

.anchor-live .anchor-live-list .el-row .el-col {
    padding-left: 7px !important;
    padding-right: 7px !important;
    float: left !important;
    width: 25% !important;
    box-sizing: border-box !important;
}

.anchor-live .anchor-live-list .el-row .el-col:nth-of-type(n+5) {
    margin-top: 25px !important;
}

.anchor-live .anchor-live-list .el-row .el-col .anchor-live-item {
    margin-bottom: 0 !important;
}

.more-btn-box {
    text-align: center;
    margin-top: 30px;
}

.more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.more-btn:hover {
    color: #dd1818;
}

.more-btn .arrow {
    font-size: 18px;
    line-height: 1;
}


/* Responsive */
@media (max-width: 768px) {
    .top-live-box {
        flex-direction: column;
    }
    
    .live-list {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    
    .live-item {
        min-width: 80px;
    }
    
    .match-live-list .wrap {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    .match-live-item {
        scroll-snap-align: start;
    }
    
    .anchor-live-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Utility Classes */
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ellipsis2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

