/* MLBB Match Detail V2 Stylesheet */

/* 1. Back to Matches Navigation */
.match-v2-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 16px;
    padding: 2px 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.match-v2-back-link:hover {
    opacity: 0.85;
    transform: translateX(-2px);
}

.match-v2-back-arrow-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    flex-shrink: 0;
}

.match-v2-back-arrow-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.match-v2-back-text {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', sans-serif !important;
    white-space: nowrap;
}

.light .match-v2-back-text {
    color: #0f172a;
}

/* 2. Match Detail Summary Card V2 (No border/outer/stroke) */
.matches-v2-section .match-detail-summary {
    clip-path: none !important;
    border: none !important;
    outline: none !important;
    background: rgba(4, 18, 28, 0.82) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    border-radius: 0 !important;
    padding: 24px 28px 0 !important;
    margin-bottom: 24px !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.light .matches-v2-section .match-detail-summary {
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

/* Disable old pseudo ornaments */
.matches-v2-section .match-detail-summary::before,
.matches-v2-section .match-detail-summary::after {
    display: none !important;
}

/* 3. Corner Ornaments (Top-Left & Top-Right only, larger size) */
.mv2-corner {
    position: absolute;
    width: 66px;
    height: 66px;
    background-image: url('../images/orns/frame-orn.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 5;
}

.mv2-corner-tl {
    top: 0;
    left: 0;
    transform: rotate(0deg);
}

.mv2-corner-tr {
    top: 0;
    right: 0;
    transform: rotate(90deg);
}

/* 4. Main Content Row */
.mv2-summary-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
    padding-bottom: 12px;
}

/* 5. Team Block (Left & Right) */
.mv2-team-block {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 0 0 auto;
}

.mv2-team-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 105px;
}

/* Larger team logo */
.mv2-team-logo {
    width: 95px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.mv2-team-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mv2-team-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none !important;
}

/* Hide team name text below team logo */
.mv2-team-name-text {
    display: none !important;
}

/* 6. Score & Status Block */
.mv2-score-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    text-align: center;
}

.mv2-score-num {
    color: #ffffff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: 1px;
    text-shadow: none !important;
}

.light .mv2-score-num {
    color: #0f172a !important;
}

/* Diamond frame badges WIN & LOSE */
.mv2-score-block .team-status.diamond-frame-wrapper {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    font-size: 11px !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.mv2-score-block .diamond-frame {
    padding: 0.15rem 1.1rem !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
}

/* Win / Lose Badge Colors (WIN = green, LOSE = cyan/blue) */
.matches-v2-section .mv2-score-block.win .diamond-frame-wrapper::before,
.matches-v2-section .mv2-score-block .team-status.win.diamond-frame-wrapper::before,
.matches-v2-section .win.diamond-frame-wrapper::before {
    background: #00ff88 !important;
}

.matches-v2-section .mv2-score-block.win .diamond-frame,
.matches-v2-section .mv2-score-block .team-status.win .diamond-frame,
.matches-v2-section .win .diamond-frame,
.matches-v2-section .win.diamond-frame-wrapper {
    color: #00ff88 !important;
}

.matches-v2-section .mv2-score-block.lose .diamond-frame-wrapper::before,
.matches-v2-section .mv2-score-block .team-status.lose.diamond-frame-wrapper::before,
.matches-v2-section .lose.diamond-frame-wrapper::before {
    background: #00d2ff !important;
}

.matches-v2-section .mv2-score-block.lose .diamond-frame,
.matches-v2-section .mv2-score-block .team-status.lose .diamond-frame,
.matches-v2-section .lose .diamond-frame,
.matches-v2-section .lose.diamond-frame-wrapper {
    color: #00d2ff !important;
}

/* 7. Center Match Info Block */
.mv2-center-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1 1 auto;
    padding: 0 16px;
    max-width: 480px;
}

/* Standard font for tournament title */
.mv2-tournament-link {
    color: #00d2ff !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
}

.mv2-tournament-link:hover {
    color: #7ce7ff !important;
    text-shadow: none !important;
}

.mv2-stage-title {
    color: #ffffff;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: none !important;
}

.light .mv2-stage-title {
    color: #0f172a;
}

/* Explicitly remove all shadows on summary header text, scores, team logos, and badges */
.matches-v2-section .match-detail-summary .mv2-stage-title,
.matches-v2-section .match-detail-summary .mv2-mob-stage-title,
.matches-v2-section .match-detail-summary .mv2-tournament-link,
.matches-v2-section .match-detail-summary .mv2-mob-tournament-link,
.matches-v2-section .match-detail-summary .mv2-score-num,
.matches-v2-section .match-detail-summary .mv2-mob-score-combined,
.matches-v2-section .match-detail-summary .mv2-mob-score-t1,
.matches-v2-section .match-detail-summary .mv2-mob-score-t2,
.matches-v2-section .match-detail-summary .mv2-mob-score-sep,
.matches-v2-section .match-detail-summary .mv2-mob-team-name,
.matches-v2-section .match-detail-summary .mv2-banner-text,
.matches-v2-section .match-detail-summary .diamond-frame,
.matches-v2-section .match-detail-summary .mv2-schedule-info,
.matches-v2-section .match-detail-summary .mv2-series-badge,
.matches-v2-section .team-badge-mobile-name {
    text-shadow: none !important;
}

.matches-v2-section .match-detail-summary .mv2-team-logo img,
.matches-v2-section .match-detail-summary .mv2-team-logo a,
.matches-v2-section .match-detail-summary .mv2-team-logo,
.matches-v2-section .match-detail-summary .team-logo img,
.matches-v2-section .match-detail-summary .mv2-series-badge,
.matches-v2-section .team-badge-mobile-logo {
    filter: none !important;
    box-shadow: none !important;
}

.mv2-center-divider {
    width: 100%;
    max-width: 360px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.5) 50%, transparent 100%);
    margin-bottom: 10px;
}

/* Standard font for date and time */
.mv2-schedule-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #e2e8f0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.light .mv2-schedule-info {
    color: #475569;
}

.mv2-schedule-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mv2-schedule-item i {
    font-size: 12px;
    opacity: 0.85;
}

/* Series Format Badge (e.g. BO3 / BO5) */
.mv2-series-format {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.mv2-series-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', system-ui, -apple-system, sans-serif !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #00d2ff;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 4px;
    padding: 2px 10px;
    line-height: 1.4;
    text-transform: uppercase;
    box-shadow: none !important;
    text-shadow: none !important;
}

.light .mv2-series-badge {
    color: #0284c7;
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: none;
    text-shadow: none;
}

/* 8. Bottom Banners Row (Pure Rectangle, 100% to 0% fade gradient) */
.mv2-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-top: 6px;
    position: relative;
    z-index: 3;
}

.mv2-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 240px;
    text-decoration: none;
    clip-path: none !important;
    border-radius: 0 !important;
    transition: opacity 0.2s ease;
}

.mv2-banner:hover {
    opacity: 0.9;
}

.mv2-banner-left {
    background: linear-gradient(90deg, rgba(222, 26, 30, 1) 0%, rgba(222, 26, 30, 0.8) 45%, rgba(222, 26, 30, 0) 100%) !important;
    padding: 0 28px;
    margin-left: -28px;
    margin-bottom: 0;
}

.mv2-banner-right {
    background: linear-gradient(270deg, rgba(0, 136, 204, 1) 0%, rgba(0, 136, 204, 0.8) 45%, rgba(0, 136, 204, 0) 100%) !important;
    padding: 0 28px;
    margin-right: -28px;
    margin-bottom: 0;
}

.mv2-banner-text {
    color: #ffffff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* 9. Game Tabs Navigation (Centered, compact width, blue theme rgba(64, 225, 254, 1)) */
.matches-v2-section .tabs {
    margin-bottom: 24px;
    width: 100%;
}

.matches-v2-section .tabs .nav,
.matches-v2-section .tabs .nav-pills {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 20px !important;
    gap: 2px !important;
    flex-wrap: nowrap !important;
}

.matches-v2-section .tabs .nav .nav-item-wrapper {
    width: auto !important;
    min-width: 140px !important;
    max-width: 200px !important;
    flex: 0 0 auto !important;
}

.matches-v2-section .tabs .nav .nav-item {
    background: #1a2734 !important;
    width: 100% !important;
    transition: background 0.2s ease;
}

.matches-v2-section .tabs .nav .nav-item .nav-link {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    color: #94a3b8 !important;
    height: 38px !important;
    padding: 0 20px !important;
    transition: color 0.2s ease, background 0.2s ease;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Blue theme rgba(64, 225, 254, 1) for Hover and Active states */
.matches-v2-section .tabs .nav .nav-item:hover,
.matches-v2-section .tabs .nav .nav-item:has(.nav-link.active) {
    background: rgba(64, 225, 254, 1) !important;
}

.matches-v2-section .tabs .nav .nav-item:hover .nav-link,
.matches-v2-section .tabs .nav .nav-item .nav-link.active {
    color: #041019 !important;
    font-weight: 800 !important;
    background: transparent !important;
}

/* Corner cutouts styling */
.matches-v2-section .tabs .nav .nav-item-wrapper:first-of-type::before {
    background: #1a2734 !important;
    transition: background 0.2s ease;
}

.matches-v2-section .tabs .nav .nav-item-wrapper:first-of-type:hover::before,
.matches-v2-section .tabs .nav .nav-item-wrapper:first-of-type:has(.nav-link.active)::before {
    background: rgba(64, 225, 254, 1) !important;
}

.matches-v2-section .tabs .nav .nav-item-wrapper:last-of-type::after {
    background: #1a2734 !important;
    transition: background 0.2s ease;
}

.matches-v2-section .tabs .nav .nav-item-wrapper:last-of-type:hover::after,
.matches-v2-section .tabs .nav .nav-item-wrapper:last-of-type:has(.nav-link.active)::after {
    background: rgba(64, 225, 254, 1) !important;
}

/* Light mode support */
.light .matches-v2-section .tabs .nav .nav-item {
    background: #e2e8f0 !important;
}

.light .matches-v2-section .tabs .nav .nav-item .nav-link {
    color: #64748b !important;
}

.light .matches-v2-section .tabs .nav .nav-item-wrapper:first-of-type::before,
.light .matches-v2-section .tabs .nav .nav-item-wrapper:last-of-type::after {
    background: #e2e8f0 !important;
}

.light .matches-v2-section .tabs .nav .nav-item:hover,
.light .matches-v2-section .tabs .nav .nav-item:has(.nav-link.active) {
    background: rgba(64, 225, 254, 1) !important;
}

.light .matches-v2-section .tabs .nav .nav-item:hover .nav-link,
.light .matches-v2-section .tabs .nav .nav-item .nav-link.active {
    color: #041019 !important;
    font-weight: 800 !important;
}

.light .matches-v2-section .tabs .nav .nav-item-wrapper:first-of-type:hover::before,
.light .matches-v2-section .tabs .nav .nav-item-wrapper:first-of-type:has(.nav-link.active)::before,
.light .matches-v2-section .tabs .nav .nav-item-wrapper:last-of-type:hover::after,
.light .matches-v2-section .tabs .nav .nav-item-wrapper:last-of-type:has(.nav-link.active)::after {
    background: rgba(64, 225, 254, 1) !important;
}

/* 10. Player Matchups Rows (Clean V2 Architecture Matching Design Image 2) */
.matches-v2-section .mv2-player-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    overflow: visible !important;
}

.matches-v2-section .mv2-player-row {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 24px 20px !important;
    border: none !important;
    background: transparent !important;
    min-height: 108px !important;
    overflow: visible !important;
}

/* Odd rows (1, 3, 5) center dark teal/blue gradient like design Image 2 */
.matches-v2-section .mv2-player-row.mv2-row-odd {
    background: linear-gradient(90deg, rgba(64, 225, 254, 0.01) 0%, rgba(10, 48, 68, 0.45) 25%, rgba(14, 60, 84, 0.6) 50%, rgba(10, 48, 68, 0.45) 75%, rgba(64, 225, 254, 0.01) 100%) !important;
}

.light .matches-v2-section .mv2-player-row.mv2-row-odd {
    background: linear-gradient(90deg, rgba(64, 225, 254, 0.03) 0%, rgba(64, 225, 254, 0.12) 50%, rgba(64, 225, 254, 0.03) 100%) !important;
}

.matches-v2-section .mv2-player-row.mv2-row-even {
    background: transparent !important;
}

.matches-v2-section .mv2-player-row-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 24px !important;
}

/* Row Divider using title-orn.png */
.matches-v2-section .mv2-row-divider {
    position: absolute !important;
    bottom: -7px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90px !important;
    height: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    z-index: 10 !important;
    overflow: visible !important;
}

.matches-v2-section .mv2-title-orn-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

/* Player Card (Left & Right) */
.matches-v2-section .mv2-player-card {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 0% !important;
}

.matches-v2-section .mv2-player-left {
    justify-content: flex-start !important;
}

.matches-v2-section .mv2-player-right {
    justify-content: flex-end !important;
}

/* Avatar Combo: Hero Frame + Player Bust (Enlarged player image) */
.matches-v2-section .mv2-avatar-combo {
    position: relative !important;
    width: 78px !important;
    height: 78px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.matches-v2-section .mv2-hero-avatar {
    position: absolute !important;
    width: 50px !important;
    height: 72px !important;
    top: 3px !important;
    z-index: 1 !important;
    clip-path: polygon(18% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 18%) !important;
    background: #c52227 !important;
    box-shadow: 0 0 10px rgba(222, 26, 30, 0.4) !important;
    overflow: hidden !important;
}

.matches-v2-section .mv2-hero-avatar a,
.matches-v2-section .mv2-hero-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.matches-v2-section .mv2-player-bust {
    position: absolute !important;
    width: 56px !important;
    height: 78px !important;
    bottom: 0 !important;
    z-index: 2 !important;
}

.matches-v2-section .mv2-combo-left .mv2-hero-avatar {
    left: 0 !important;
}

.matches-v2-section .mv2-combo-left .mv2-player-bust {
    left: 20px !important;
}

.matches-v2-section .mv2-combo-right .mv2-hero-avatar {
    right: 0 !important;
}

.matches-v2-section .mv2-combo-right .mv2-player-bust {
    right: 20px !important;
}

.matches-v2-section .mv2-player-bust a,
.matches-v2-section .mv2-player-bust img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: bottom center !important;
    display: block !important;
    filter: none !important;
    box-shadow: none !important;
}

/* Player Meta (Names & Items side-by-side on desktop) */
.matches-v2-section .mv2-player-meta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.matches-v2-section .mv2-meta-left {
    margin-left: 14px !important;
    margin-right: 0 !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.matches-v2-section .mv2-meta-right {
    margin-right: 14px !important;
    margin-left: 0 !important;
    flex-direction: row-reverse !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.matches-v2-section .mv2-player-names {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
}

.matches-v2-section .mv2-names-left {
    align-items: flex-start !important;
    text-align: left !important;
}

.matches-v2-section .mv2-names-right {
    align-items: flex-end !important;
    text-align: right !important;
}

.matches-v2-section .mv2-p-name {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    display: block !important;
    white-space: nowrap !important;
}

.light .matches-v2-section .mv2-p-name {
    color: #0f172a !important;
}

.matches-v2-section .mv2-p-hero {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 12px !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    margin-top: 3px !important;
    display: block !important;
    opacity: 0.9 !important;
}

.light .matches-v2-section .mv2-p-hero {
    color: #475569 !important;
}

/* Items Grid beside Name on Desktop (2 cols x 3 rows = 6 items) */
.matches-v2-section .mv2-items-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
    width: 44px !important;
    max-width: 44px !important;
    flex: 0 0 44px !important;
    margin-top: 0 !important;
    align-items: center !important;
    align-content: center !important;
}

.matches-v2-section .mv2-meta-left .mv2-items-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.matches-v2-section .mv2-meta-right .mv2-items-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.matches-v2-section .mv2-item-slot {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #091420 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.matches-v2-section .mv2-item-slot img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

.matches-v2-section .mv2-item-slot.empty {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px dashed rgba(255, 255, 255, 0.14) !important;
}

/* Player Gear (Emblem/Talents + Items Grid) */
.matches-v2-section .mv2-player-gear {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
}

.matches-v2-section .mv2-meta-right .mv2-player-gear {
    flex-direction: row-reverse !important;
}

/* Emblem & Talents in matches-v2 */
.matches-v2-section .mdc-pf-emblem-talents {
    --emblem-size: 26px;
    --emblem-main-size: 32px;
    --talent-size: 18px;
    --et-gap: 2px;
    --et-width: calc(var(--emblem-main-size) + var(--talent-size) + var(--emblem-size) + (var(--et-gap) * 2));
    --et-height: calc((var(--talent-size) * 2) + var(--et-gap));
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: var(--et-gap) !important;
    width: var(--et-width) !important;
    min-width: var(--et-width) !important;
    max-width: var(--et-width) !important;
    height: var(--et-height) !important;
    min-height: var(--et-height) !important;
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
}

.matches-v2-section .mv2-player-right .mdc-pf-emblem-talents,
.matches-v2-section .mdc-player-info-block.right .mdc-pf-emblem-talents {
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
}

.matches-v2-section .mdc-pf-emblem-talents .mdc-pf-talents {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: var(--et-gap) !important;
    width: var(--talent-size) !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    height: 100% !important;
    justify-content: center !important;
}

.matches-v2-section .mdc-pf-emblem-talents .mdc-pf-emblem-wrapper,
.matches-v2-section .mdc-pf-emblem-talents .mdc-pf-talent-wrapper {
    flex: 0 0 auto !important;
    line-height: 0 !important;
    position: relative !important;
}

.matches-v2-section .mdc-pf-emblem-talents .mdc-pf-emblem {
    width: var(--emblem-size) !important;
    height: var(--emblem-size) !important;
    aspect-ratio: 1 !important;
    flex: 0 0 auto !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.matches-v2-section .mdc-pf-emblem-talents .mdc-pf-emblem.emblem {
    width: var(--emblem-main-size) !important;
    height: var(--emblem-main-size) !important;
}

.matches-v2-section .mdc-pf-emblem-talents .mdc-pf-talent {
    width: var(--talent-size) !important;
    height: var(--talent-size) !important;
    aspect-ratio: 1 !important;
    flex: 0 0 auto !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.matches-v2-section .mdc-pf-emblem-talents img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Empty slots for emblem & talents - dashed border matching item slot empty style, but with original box shape */
.matches-v2-section .mdc-pf-emblem-talents .empty,
.matches-v2-section .mdc-pf-emblem-talents .empty-emblem,
.matches-v2-section .mdc-pf-emblem-talents .empty-talent {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px dashed rgba(255, 255, 255, 0.14) !important;
    box-sizing: border-box !important;
}

.matches-v2-section .mdc-pf-emblem-talents .mdc-pf-emblem.empty,
.matches-v2-section .mdc-pf-emblem-talents .empty-emblem {
    border-radius: 4px !important;
}

.matches-v2-section .mdc-pf-emblem-talents .mdc-pf-talent.empty,
.matches-v2-section .mdc-pf-emblem-talents .empty-talent {
    border-radius: 3px !important;
}

.light .matches-v2-section .mdc-pf-emblem-talents .empty,
.light .matches-v2-section .mdc-pf-emblem-talents .empty-emblem,
.light .matches-v2-section .mdc-pf-emblem-talents .empty-talent,
.light .matches-v2-section .mv2-item-slot.empty {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px dashed rgba(0, 0, 0, 0.15) !important;
}

/* Tooltip */
.matches-v2-section .mdc-pf-emblem-wrapper.show-tooltip::before,
.matches-v2-section .mdc-pf-talent-wrapper.show-tooltip::before {
    content: attr(data-text) !important;
    position: absolute !important;
    bottom: calc(100% + 6px) !important;
    left: 50% !important;
    width: auto !important;
    height: auto !important;
    transform: translateX(-50%) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    background: #04121c !important;
    color: #ffffff !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(0, 210, 255, 0.5) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    z-index: 99 !important;
}

/* Center Stats Breakdown */
.matches-v2-section .mv2-stats-block {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: 320px !important;
    gap: 6px !important;
    flex: 0 0 320px !important;
    margin: 0 !important;
}

.matches-v2-section .mv2-stat-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.matches-v2-section .mv2-stat-left {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: left !important;
    width: 76px !important;
    letter-spacing: 0.3px !important;
}

.light .matches-v2-section .mv2-stat-left {
    color: #0f172a !important;
}

.matches-v2-section .mv2-stat-lbl {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-align: center !important;
    flex: 1 1 auto !important;
    white-space: nowrap !important;
    letter-spacing: 0.2px !important;
    opacity: 0.95 !important;
}

.light .matches-v2-section .mv2-stat-lbl {
    color: #1e293b !important;
}

.matches-v2-section .mv2-stat-right {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: right !important;
    width: 76px !important;
    letter-spacing: 0.3px !important;
}

.light .matches-v2-section .mv2-stat-right {
    color: #0f172a !important;
}

/* 11. Game Header & Draft Section Styles */
/* LOSE Badge (override red to cyan/blue rgba(64, 225, 254, 1)) */
.matches-v2-section .mdc-header .lose.diamond-frame-wrapper::before,
.matches-v2-section .mdc-header .team-status.lose.diamond-frame-wrapper::before,
.matches-v2-section .mdc-header .lose .diamond-frame-wrapper::before,
.matches-v2-section .mdc-header-team.lose .diamond-frame-wrapper::before {
    background: rgba(64, 225, 254, 1) !important;
}

.matches-v2-section .mdc-header .lose .diamond-frame,
.matches-v2-section .mdc-header .team-status.lose .diamond-frame,
.matches-v2-section .mdc-header-team.lose .diamond-frame,
.matches-v2-section .mdc-header .lose.diamond-frame-wrapper {
    color: rgba(64, 225, 254, 1) !important;
}

/* WIN Badge (green) */
.matches-v2-section .mdc-header .win.diamond-frame-wrapper::before,
.matches-v2-section .mdc-header .team-status.win.diamond-frame-wrapper::before,
.matches-v2-section .mdc-header .win .diamond-frame-wrapper::before,
.matches-v2-section .mdc-header-team.win .diamond-frame-wrapper::before {
    background: #00ff88 !important;
}

.matches-v2-section .mdc-header .win .diamond-frame,
.matches-v2-section .mdc-header .team-status.win .diamond-frame,
.matches-v2-section .mdc-header-team.win .diamond-frame,
.matches-v2-section .mdc-header .win.diamond-frame-wrapper {
    color: #00ff88 !important;
}

/* Draft Title with Cyan color & Gold lines on left/right */
.matches-v2-section .draft-container {
    padding-top: 4px !important;
    padding-bottom: 1.25rem !important;
}

.matches-v2-section .draft-title-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    max-width: 480px !important;
    margin: 0 auto 16px auto !important;
}

.matches-v2-section .draft-title-line {
    height: 1px !important;
    flex: 1 1 auto !important;
}

.matches-v2-section .draft-line-left {
    background: linear-gradient(90deg, transparent 0%, rgba(201, 166, 84, 0.75) 100%) !important;
}

.matches-v2-section .draft-line-right {
    background: linear-gradient(90deg, rgba(201, 166, 84, 0.75) 0%, transparent 100%) !important;
}

.matches-v2-section .draft-title {
    color: rgba(64, 225, 254, 1) !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-shadow: none !important;
    margin: 0 !important;
}

.matches-v2-section .draft-title-mobile {
    color: rgba(64, 225, 254, 1) !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
}

body.light .matches-v2-section .draft-title,
.light .matches-v2-section .draft-title,
body.light .matches-v2-section .draft-title-mobile,
.light .matches-v2-section .draft-title-mobile,
body.light .draft-title,
.light .draft-title {
    color: #000000 !important;
}

/* 12. Responsive Adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    .matches-v2-section .match-detail-summary {
        padding: 20px 16px 0 !important;
    }

    .mv2-summary-content {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .mv2-team-block {
        gap: 16px;
    }

    .mv2-center-info {
        order: -1;
        width: 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .mv2-stage-title {
        font-size: 20px;
    }

    .mv2-banner {
        min-width: 140px;
        height: 30px;
    }

    .mv2-banner-left {
        margin-left: -16px;
    }

    .mv2-banner-right {
        margin-right: -16px;
    }
}

@media (max-width: 575.98px) {
    .mv2-team-brand {
        width: 70px;
    }

    .mv2-team-logo {
        width: 58px;
        height: 58px;
    }

    .mv2-score-num {
        font-size: 32px;
    }

    .mv2-stage-title {
        font-size: 18px;
    }

    .mv2-schedule-info {
        font-size: 11px;
        gap: 10px;
    }

    .mv2-series-format {
        margin-top: 6px;
    }

    .mv2-series-badge {
        font-size: 10px;
        padding: 2px 8px;
        letter-spacing: 1px;
    }

    .mv2-banner {
        min-width: 110px;
        height: 28px;
    }

    .mv2-banner-text {
        font-size: 11px;
    }

    .matches-v2-section .tabs .nav .nav-item-wrapper {
        min-width: 100px !important;
    }

    .matches-v2-section .tabs .nav .nav-item .nav-link {
        font-size: 11px !important;
        padding: 0 10px !important;
        height: 32px !important;
    }
}

/* ==========================================================================
   10. Live Match Detail Layout V2 (Split Layout: Match Result + Timeline + Live Log)
   ========================================================================== */

.mv2-live-layout {
    display: flex;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    margin-bottom: 24px;
}

.mv2-live-main-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mv2-live-sidebar-col {
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
}

/* Card Container */
.mv2-live-card {
    background: rgba(11, 20, 31, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px 24px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.light .mv2-live-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

/* Card Divider */
.mv2-live-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 16px 0;
    width: 100%;
}

.light .mv2-live-divider {
    background: rgba(0, 0, 0, 0.08);
}

/* Header Titles */
.mv2-live-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mv2-live-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mv2-live-title-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
}

.light .mv2-live-title-text {
    color: #0f172a;
}

.mv2-live-title-orn {
    height: 12px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    user-select: none;
    pointer-events: none;
}

/* 10.1 Live Match Result Header Card */
.mv2-live-match-card {
    padding: 20px 24px;
}

.mv2-live-edge-bar {
    position: absolute;
    width: 5px;
    height: 38px;
    top: 20px;
    z-index: 2;
}

.mv2-live-edge-red {
    left: 0;
    border-radius: 0 4px 4px 0;
    background: #de1a1e;
    box-shadow: 0 0 10px rgba(222, 26, 30, 0.8);
}

.mv2-live-edge-blue {
    right: 0;
    border-radius: 4px 0 0 4px;
    background: #00a3ff;
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.8);
}

.mv2-live-upper-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
}

.mv2-live-team {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mv2-live-team-logo-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv2-live-team-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mv2-live-team-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0;
}

.light .mv2-live-team-title {
    color: #0f172a;
}

.mv2-live-score-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: 'Orbitron', monospace, sans-serif;
    font-size: 38px;
    font-weight: 800;
}

.mv2-live-score-t1 {
    color: #2fe48d;
}

.mv2-live-score-colon {
    color: #ffffff;
    font-weight: 400;
    opacity: 0.95;
}

.mv2-live-score-t2 {
    color: #ffffff;
}

.light .mv2-live-score-colon,
.light .mv2-live-score-t2 {
    color: #0f172a;
}

.mv2-live-lower-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 8px;
}

.mv2-live-meta-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mv2-live-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.mv2-live-meta-tournament {
    color: #ffffff;
    font-weight: 400;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.mv2-live-meta-date {
    color: #ffffff;
    font-weight: 400;
    font-size: 12px;
}

.light .mv2-live-meta-tournament {
    color: #1e293b;
}

.light .mv2-live-meta-date {
    color: #1e293b;
}

.mv2-live-meta-svg {
    width: 15px;
    height: 15px;
    color: #ffffff;
    stroke: #ffffff;
    flex-shrink: 0;
}

.light .mv2-live-meta-svg {
    color: #1e293b;
    stroke: #1e293b;
}

.mv2-live-games-track {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.mv2-live-game-pill {
    min-width: 140px;
    height: 54px;
    border-radius: 0 !important;
    padding: 6px 14px 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border: none;
    border-bottom: 3.5px solid transparent;
    transition: filter 0.2s ease;
    cursor: pointer;
}

.mv2-live-game-pill:hover {
    filter: brightness(1.15);
}

.mv2-live-game-blue {
    background: linear-gradient(180deg, rgba(8, 30, 52, 0.75) 0%, rgba(5, 45, 80, 0.95) 100%);
    border-bottom-color: #00a3ff;
}

.mv2-live-game-red {
    background: linear-gradient(180deg, rgba(52, 12, 18, 0.75) 0%, rgba(82, 15, 25, 0.95) 100%);
    border-bottom-color: #de1a1e;
}

.mv2-live-gp-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mv2-live-gp-score-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Orbitron', monospace, sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.mv2-live-gp-score-t1 {
    color: #2fe48d;
}

.mv2-live-gp-score-colon {
    color: #ffffff;
    font-weight: 400;
    opacity: 0.9;
}

.mv2-live-gp-score-t2 {
    color: #38d3f8;
}

.mv2-live-gp-win-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.mv2-live-gp-win-logo {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

.mv2-live-gp-win-label {
    font-size: 8.5px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.mv2-live-gp-bottom {
    display: flex;
    align-items: center;
}

.mv2-live-gp-title {
    font-size: 8px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #ffffff;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* 10.2 Live Timeline Card */
.mv2-live-timeline-card {
    padding: 20px 24px;
}

.mv2-live-timeline-container {
    padding: 10px 0 6px;
    overflow-x: auto;
    width: 100%;
}

.mv2-live-timeline-rail {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    min-width: 620px;
    padding: 0 25px;
}

.mv2-live-timeline-line {
    position: absolute;
    top: 38px;
    left: 45px;
    right: 45px;
    height: 2px;
    display: flex;
    z-index: 1;
    pointer-events: none;
}

.mv2-tl-segment {
    height: 100%;
}

.mv2-tl-seg-red {
    background: #de1a1e;
    box-shadow: 0 0 8px rgba(222, 26, 30, 0.8);
}

.mv2-tl-seg-blue {
    background: #00a3ff;
    box-shadow: 0 0 8px rgba(0, 163, 255, 0.8);
}

.mv2-live-tl-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    width: 90px;
    text-align: center;
}

.mv2-tl-time {
    font-size: 11px;
    color: #8c9db0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
    margin-bottom: 6px;
    line-height: 1;
}

.mv2-tl-point {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.mv2-tl-ring {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: transform 0.2s ease;
}

.mv2-live-tl-node:hover .mv2-tl-ring {
    transform: scale(1.1);
}

.mv2-tl-node-red .mv2-tl-ring {
    background: #1e080b;
    border: 2px solid #de1a1e;
    box-shadow: 0 0 12px rgba(222, 26, 30, 0.7);
}

.mv2-tl-node-blue .mv2-tl-ring {
    background: #071524;
    border: 2px solid #00a3ff;
    box-shadow: 0 0 12px rgba(0, 163, 255, 0.7);
}

.mv2-tl-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mv2-tl-team {
    font-size: 13px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    margin-bottom: 2px;
}

.mv2-tl-node-red .mv2-tl-team {
    color: #f04848;
}

.mv2-tl-node-blue .mv2-tl-team {
    color: #40e1fe;
}

.mv2-tl-action {
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    color: #bac7d5;
    white-space: nowrap;
}

.light .mv2-tl-action {
    color: #64748b;
}

/* 10.3 Live Log Card */
.mv2-live-log-card {
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    padding: 20px 20px;
}

.mv2-live-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mv2-live-view-all-btn:hover {
    opacity: 0.85;
    transform: translateX(2px);
}

.mv2-live-view-all-text {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', sans-serif;
    white-space: nowrap;
}

.light .mv2-live-view-all-text {
    color: #0f172a;
}

.mv2-live-view-all-arrow-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    flex-shrink: 0;
}

.mv2-live-view-all-arrow-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transform: rotate(180deg);
}

.mv2-live-log-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    max-height: 340px;
    padding-right: 4px;
}

/* Custom Scrollbar for Live Log */
.mv2-live-log-list::-webkit-scrollbar {
    width: 4px;
}

.mv2-live-log-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.mv2-live-log-list::-webkit-scrollbar-thumb {
    background: rgba(237, 211, 151, 0.3);
    border-radius: 2px;
}

.mv2-live-log-list::-webkit-scrollbar-thumb:hover {
    background: rgba(237, 211, 151, 0.6);
}

.mv2-live-log-row {
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 4px;
    line-height: 1.4;
}

.mv2-live-log-time {
    color: #72849a;
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    min-width: 38px;
    flex-shrink: 0;
}

.mv2-live-log-bullet {
    color: #40e1fe;
    font-size: 14px;
    margin: 0 2px;
    flex-shrink: 0;
}

.mv2-live-log-content {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.mv2-log-team-red,
.mv2-log-player-red {
    color: #f04848;
    font-weight: 700;
}

.mv2-log-team-blue,
.mv2-log-player-blue {
    color: #40e1fe;
    font-weight: 700;
}

.mv2-log-action-text {
    color: #ffffff;
}

.light .mv2-log-action-text {
    color: #0f172a;
}

/* 10.4 Live Details Stack (Overview, Map, Stats Table, Team Stats, Comparison) */
.mv2-live-details-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.mv2-live-subgrid-1x2 {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: stretch;
}

.mv2-live-header-sub .mv2-live-sub-tag {
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    background: rgba(222, 26, 30, 0.2);
    border: 1px solid rgba(222, 26, 30, 0.5);
    color: #f04848;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Series Overview */
.mv2-live-overview-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mv2-live-matchup-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 8px 12px;
    gap: 8px;
}

.mv2-matchup-side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 0;
    min-width: 0;
}

.mv2-matchup-right {
    justify-content: flex-end;
}

.mv2-matchup-avatar-wrap {
    position: relative;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.mv2-matchup-hero {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.mv2-matchup-left .mv2-matchup-hero {
    border-color: #de1a1e;
}

.mv2-matchup-right .mv2-matchup-hero {
    border-color: #00a3ff;
}

.mv2-matchup-bust {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #1a202c;
    background: #0b141f;
    object-fit: cover;
}

.mv2-matchup-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mv2-matchup-name {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv2-matchup-hero-name {
    font-size: 10px;
    color: #94a3b8;
}

.mv2-matchup-kda-gold {
    display: flex;
    flex-direction: column;
    margin: 0 4px;
    flex-shrink: 0;
}

.mv2-matchup-kda {
    font-size: 11px;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
}

.mv2-matchup-gold {
    font-size: 10px;
    color: #edd397;
    font-family: monospace;
}

.mv2-matchup-lane-badge {
    background: rgba(237, 211, 151, 0.12);
    border: 1px solid rgba(237, 211, 151, 0.3);
    border-radius: 4px;
    padding: 3px 8px;
    flex-shrink: 0;
}

.mv2-lane-title {
    font-size: 9.5px;
    font-weight: 700;
    color: #edd397;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Map Schematic */
.mv2-live-map-legend {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #bac7d5;
}

.mv2-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mv2-dot-red {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #de1a1e;
    display: inline-block;
    box-shadow: 0 0 6px #de1a1e;
}

.mv2-dot-blue {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00a3ff;
    display: inline-block;
    box-shadow: 0 0 6px #00a3ff;
}

.mv2-live-map-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.mv2-tactical-map {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
}

.mv2-map-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mv2-map-hero-pin {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.mv2-map-hero-pin:hover {
    transform: translate(-50%, -50%) scale(1.25);
    z-index: 10;
}

.mv2-pin-t1 {
    border: 2px solid #de1a1e;
    box-shadow: 0 0 8px rgba(222, 26, 30, 0.8);
}

.mv2-pin-t2 {
    border: 2px solid #00a3ff;
    box-shadow: 0 0 8px rgba(0, 163, 255, 0.8);
}

.mv2-map-hero-pin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Statistics Table */
.mv2-live-table-wrap {
    overflow-x: auto;
    width: 100%;
}

.mv2-stat-table {
    width: 100%;
    margin-bottom: 0;
    color: #ffffff;
    border-collapse: separate;
    border-spacing: 0 4px;
}

.mv2-stat-table th {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #8c9db0;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mv2-stat-table td {
    padding: 8px 12px;
    vertical-align: middle;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Grid.gg Widgets in Live Match Layout */
.grid-widget {
    position: relative;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
}

.series-table {
    height: 575px;
}

.series-team-scoreboard {
    height: 250px;
}

.series-comparison {
    height: 400px;
}

.series-table th,
.series-table td,
.grid-widget .tw-relative {
    position: relative !important;
}

.series-table div[id^="headlessui-menu-items"] {
    right: auto !important;
    left: 0 !important;
    z-index: 99999 !important;
}

.series-table th:has(button[id^="headlessui-menu-button"]),
.series-table td:has(button[id^="headlessui-menu-button"]) {
    position: relative !important;
}

@media (max-width: 992px) {
    .series-team-scoreboard {
        height: 550px !important;
    }

    .series-comparison {
        height: 500px !important;
    }
}

/* Series Overview & Map Schematic Section */
.mv2-live-subgrid-1x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.mv2-live-overview-card {
    padding: 16px 18px 18px;
}

.mv2-so-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mv2-so-side-badge {
    font-size: 13px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0.5px;
    line-height: 1;
    border-radius: 0 !important;
}

.mv2-so-red {
    background: linear-gradient(90deg, #d32029 0%, rgba(211, 32, 41, 0.4) 60%, rgba(211, 32, 41, 0) 100%);
    color: #ffffff;
    padding: 6px 36px 6px 14px;
    border-radius: 0 !important;
}

.mv2-so-blue {
    background: linear-gradient(270deg, #0099ff 0%, rgba(0, 153, 255, 0.4) 60%, rgba(0, 153, 255, 0) 100%);
    color: #ffffff;
    padding: 6px 14px 6px 36px;
    border-radius: 0 !important;
}

.mv2-so-center-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mv2-so-label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0.3px;
}

.mv2-so-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mv2-so-dot {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background: #253342;
    transition: all 0.2s ease;
}

.mv2-so-dot.active {
    background: #00a3ff;
    box-shadow: 0 0 6px rgba(0, 163, 255, 0.8);
}

.mv2-so-match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 4px;
}

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

.mv2-so-team-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.mv2-so-team-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.mv2-so-team-subname {
    font-size: 8.5px;
    font-weight: 700;
    color: #ff5722;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mv2-so-team-name-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mv2-so-team-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.mv2-so-team-name-col .diamond-frame-wrapper {
    margin-top: 2px !important;
    font-size: 8.5px !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    width: fit-content;
}

.mv2-so-team-name-col .diamond-frame {
    padding: 0.05rem 0.65rem !important;
    font-size: 8.5px !important;
    letter-spacing: 0.5px !important;
}

.mv2-so-score-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.mv2-so-score-num {
    font-family: 'Orbitron', monospace, sans-serif;
    font-size: 24px;
    font-weight: 800;
}

.text-green {
    color: #00ff88 !important;
}

.text-blue {
    color: #00d2ff !important;
}

.mv2-so-meta-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mv2-so-time-text {
    font-size: 11px;
    font-weight: 500;
    color: #bac7d5;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.mv2-so-bo-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 1.5px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.mv2-so-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 10px;
    align-items: center;
}

.mv2-so-players-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mv2-so-player-card {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mv2-so-avatar-square {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    background: #0c131a;
}

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

.mv2-so-pcard-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.mv2-so-pcard-name {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv2-so-pcard-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #8c9db0;
    font-family: 'Inter', sans-serif;
}

.mv2-so-pcard-right .mv2-so-pcard-stats {
    justify-content: flex-end;
}

.mv2-so-map-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.mv2-tactical-map {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv2-so-mini-map {
    max-width: 230px;
    aspect-ratio: 1/1;
}

.mv2-so-large-map {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1/1;
    margin: 0 auto;
}

.mv2-map-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mv2-map-hero-pin {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
    z-index: 5;
}

.mv2-map-hero-pin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv2-pin-t1 {
    border: 2px solid #de1a1e;
    box-shadow: 0 0 6px rgba(222, 26, 30, 0.9);
}

.mv2-pin-t2 {
    border: 2px solid #00a3ff;
    box-shadow: 0 0 6px rgba(0, 163, 255, 0.9);
}

.mv2-live-map-card {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
}

.mv2-live-map-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8px;
}

/* Responsive Styles for Live Match Layout */
@media (max-width: 1199.98px) {
    .mv2-live-layout {
        flex-direction: column;
    }

    .mv2-live-sidebar-col {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .mv2-live-log-card {
        min-height: auto;
    }

    .mv2-live-subgrid-1x2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .mv2-live-upper-row {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .mv2-live-team-title {
        font-size: 18px;
    }

    .mv2-live-score-box {
        font-size: 26px;
        order: 3;
        width: 100%;
    }

    .mv2-live-lower-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .mv2-live-games-track {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .mv2-so-content-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mv2-so-pcard-right .mv2-so-pcard-meta {
        text-align: left;
    }

    .mv2-so-pcard-right {
        flex-direction: row-reverse;
    }
}

/* Grid Top Row (Completed Match Layout) */
.grid-top-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    width: 100%;
}

.grid-top-left-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.grid-top-right-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.grid-top-right-col .series-livelog {
    height: 100%;
    min-height: 464px;
    max-height: 464px;
    overflow-y: auto;
}

@media (max-width: 992px) {
    .grid-top-row {
        grid-template-columns: 1fr;
    }

    .grid-top-right-col .series-livelog {
        height: 500px !important;
        max-height: 500px !important;
    }
}

.mv2-live-layout-container {
    width: 100%;
}

.mv2-live-layout-container .grid-widgets-section {
    min-height: auto;
    padding: 10px 0 30px;
    margin-top: 0 !important;
}

.mv2-live-layout-container .grid-widgets-section .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.mv2-live-layout-container .widgets-container {
    max-width: 100% !important;
}

/* Default: Hide mobile-only header elements on Desktop */
.mv2-mob-top-bar,
.mv2-mob-team-name,
.mv2-mob-team-subname,
.mv2-mob-status-badge,
.mv2-mob-score-row,
.mv2-corner-bl {
    display: none !important;
}

/* Mobile Match Detail Summary Header (< 768px) */
@media (max-width: 767.98px) {
    .match-v2-back-link {
        margin-bottom: 12px;
    }

    .match-v2-back-text {
        font-size: 16px !important;
    }

    .matches-v2-section .match-detail-summary {
        padding: 0 0 20px !important;
        border-radius: 0 !important;
        clip-path: polygon(32px 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%, 0 32px) !important;
        margin-bottom: 20px !important;
        background: #04121c !important;
        position: relative !important;
        overflow: visible !important;
    }

    /* Corner Ornaments on Mobile: Top-Right and Bottom-Left */
    .mv2-corner-tl {
        display: none !important;
    }

    .mv2-corner-tr {
        display: block !important;
        top: 0;
        right: 0;
        width: 44px;
        height: 44px;
    }

    .mv2-corner-bl {
        display: block !important;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 44px;
        height: 44px;
        background-image: url('../images/orns/frame-orn.png');
        background-size: contain;
        background-repeat: no-repeat;
        transform: rotate(270deg);
        pointer-events: none;
        z-index: 5;
    }

    /* Top Bar on Mobile: positioned lower to avoid chamfer cut */
    .mv2-mob-top-bar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-top: 30px !important;
        margin-bottom: 12px !important;
        position: relative !important;
        z-index: 3 !important;
        gap: 6px !important;
    }

    .mv2-mob-side-badge {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        padding: 4px 12px !important;
        font-family: 'Orbitron', sans-serif !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        letter-spacing: 1px !important;
        color: #ffffff !important;
        min-width: 58px !important;
        box-sizing: border-box !important;
    }

    .mv2-mob-red {
        background: linear-gradient(90deg, rgba(222, 26, 30, 1) 0%, rgba(222, 26, 30, 0.4) 80%, rgba(222, 26, 30, 0) 100%) !important;
    }

    .mv2-mob-blue {
        background: linear-gradient(270deg, rgba(0, 136, 204, 1) 0%, rgba(0, 136, 204, 0.4) 80%, rgba(0, 136, 204, 0) 100%) !important;
    }

    .mv2-mob-center-title {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        flex: 1 1 0% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 0 4px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .mv2-mob-tournament-link {
        color: #00d2ff !important;
        font-family: 'Orbitron', sans-serif !important;
        font-size: clamp(9px, 2.5vw, 11px) !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        text-decoration: none !important;
        margin-bottom: 3px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        display: block !important;
        text-shadow: none !important;
    }

    .mv2-mob-stage-title {
        color: #ffffff !important;
        font-family: 'Orbitron', sans-serif !important;
        font-size: clamp(11px, 3.2vw, 14px) !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        display: block !important;
        text-shadow: none !important;
    }

    /* 3-Column Matchup on Mobile: side-by-side in one row */
    .mv2-summary-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0 16px 12px !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
    }

    .mv2-team-block.team-one {
        order: 1 !important;
        flex: 1 1 0 !important;
        width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
    }

    .mv2-center-info {
        order: 2 !important;
        flex: 1.2 1 0 !important;
        width: auto !important;
        max-width: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mv2-team-block.team-two {
        order: 3 !important;
        flex: 1 1 0 !important;
        width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
    }

    /* Hide desktop center headers & divider & score */
    .mv2-center-info .mv2-tournament-link,
    .mv2-center-info .mv2-stage-title,
    .mv2-center-info .mv2-center-divider,
    .mv2-score-block {
        display: none !important;
    }

    /* Team Names */
    .mv2-mob-team-name {
        display: block !important;
        color: #ffffff !important;
        font-family: 'Orbitron', sans-serif !important;
        font-size: clamp(12px, 3.8vw, 16px) !important;
        font-weight: 700 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    .mv2-team-brand {
        width: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
    }

    .mv2-team-logo {
        width: 62px !important;
        height: 62px !important;
    }

    /* Diamond frame WIN / LOSE badges */
    .mv2-mob-status-badge {
        display: block !important;
        margin-top: 4px !important;
    }

    .mv2-mob-status-badge .diamond-frame-wrapper {
        font-size: 11px !important;
        font-family: 'Orbitron', sans-serif !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        margin: 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        line-height: 1.2 !important;
        text-shadow: none !important;
    }

    .mv2-mob-status-badge .diamond-frame {
        padding: 0.15rem 1.1rem !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        letter-spacing: 1px !important;
        clip-path: polygon(20% 0, 80% 0, 100% 50%, 80% 100%, 20% 100%, 0 50%) !important;
        background: #04121c !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-shadow: none !important;
    }

    .mv2-mob-status-badge .diamond-frame-wrapper::before {
        content: "" !important;
        position: absolute !important;
        left: -6px !important;
        top: -1px !important;
        width: calc(100% + 12px) !important;
        height: calc(100% + 2px) !important;
        clip-path: polygon(calc(20% + 4px) 0, calc(80% - 4px) 0, 100% 50%, calc(80% - 4px) 100%, calc(20% + 4px) 100%, 0 50%) !important;
    }

    /* Cyan/Blue outline & text for LOSE (matching theme) */
    .mv2-mob-status-badge .lose.diamond-frame-wrapper::before,
    .mv2-mob-status-badge .team-status.lose.diamond-frame-wrapper::before {
        background: #00d2ff !important;
    }

    .mv2-mob-status-badge .lose .diamond-frame,
    .mv2-mob-status-badge .team-status.lose .diamond-frame,
    .mv2-mob-status-badge .lose.diamond-frame-wrapper {
        color: #00d2ff !important;
    }

    /* Green outline & text for WIN */
    .mv2-mob-status-badge .win.diamond-frame-wrapper::before,
    .mv2-mob-status-badge .team-status.win.diamond-frame-wrapper::before {
        background: #00ff88 !important;
    }

    .mv2-mob-status-badge .win .diamond-frame,
    .mv2-mob-status-badge .team-status.win .diamond-frame,
    .mv2-mob-status-badge .win.diamond-frame-wrapper {
        color: #00ff88 !important;
    }

    /* Center Score */
    .mv2-mob-score-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 8px !important;
    }

    .mv2-mob-score-combined {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-family: 'Orbitron', sans-serif !important;
        font-size: clamp(26px, 7vw, 34px) !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        letter-spacing: 2px !important;
        text-shadow: none !important;
    }

    .mv2-mob-score-sep {
        color: #94a3b8 !important;
        margin: 0 4px !important;
    }

    .mv2-mob-score-t1, .mv2-mob-score-t2 {
        color: #94a3b8 !important;
    }

    .mv2-mob-score-t1.win, .mv2-mob-score-t2.win {
        color: #00ff88 !important;
    }

    /* Schedule Date & Time - Thin & Small Font */
    .mv2-schedule-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 3px !important;
        font-size: 11px !important;
        color: #cbd5e1 !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
        font-weight: 400 !important;
        letter-spacing: 0.2px !important;
    }

    .mv2-schedule-item {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
        font-size: 11px !important;
        font-weight: 400 !important;
        color: #cbd5e1 !important;
    }

    .mv2-schedule-item i {
        font-size: 11px !important;
        color: #94a3b8 !important;
    }

    .schedule-date,
    .schedule-time {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
        font-weight: 400 !important;
        font-size: 11px !important;
        color: #cbd5e1 !important;
    }

    /* Hide desktop bottom banners on mobile */
    .mv2-bottom-row {
        display: none !important;
    }

    /* Mobile Game Tabs */
    .matches-v2-section .tabs .nav,
    .matches-v2-section .tabs .nav-pills {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        gap: 2px !important;
        margin-bottom: 16px !important;
        overflow-x: auto !important;
        padding: 0 !important;
    }

    .matches-v2-section .tabs .nav .nav-item-wrapper {
        flex: 1 1 0px !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .matches-v2-section .tabs .nav .nav-item .nav-link {
        padding: 0 4px !important;
        font-size: 11px !important;
        height: 36px !important;
        white-space: nowrap !important;
    }

    /* Mobile Player Details & Matchup Rows (< 768px) */
    .matches-v2-section .mv2-player-details {
        width: 100% !important;
        overflow: visible !important;
    }

    .matches-v2-section .mv2-player-row {
        position: relative !important;
        padding: 20px 8px 24px 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        min-height: auto !important;
    }

    .matches-v2-section .mv2-row-divider {
        position: absolute !important;
        bottom: -7px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 80px !important;
        height: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: none !important;
        z-index: 10 !important;
        overflow: visible !important;
    }

    .matches-v2-section .mv2-title-orn-img {
        width: 80px !important;
        height: 14px !important;
        max-width: 80px !important;
        max-height: 14px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .matches-v2-section .mv2-player-row-inner {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 4px !important;
        box-sizing: border-box !important;
    }

    .matches-v2-section .mv2-player-card {
        flex: 1 1 0% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: flex-start !important;
        box-sizing: border-box !important;
    }

    .matches-v2-section .mv2-player-left {
        justify-content: flex-start !important;
    }

    .matches-v2-section .mv2-player-right {
        justify-content: flex-end !important;
    }

    /* Avatar Combo on Mobile (Enlarged player image) */
    .matches-v2-section .mv2-avatar-combo {
        width: 72px !important;
        height: 76px !important;
        flex-shrink: 0 !important;
        position: relative !important;
    }

    .matches-v2-section .mv2-hero-avatar {
        width: 48px !important;
        height: 70px !important;
        top: 0 !important;
        clip-path: polygon(18% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 18%) !important;
    }

    .matches-v2-section .mv2-player-bust {
        width: 52px !important;
        height: 76px !important;
        bottom: 0 !important;
    }

    .matches-v2-section .mv2-combo-left .mv2-hero-avatar {
        left: 0 !important;
    }

    .matches-v2-section .mv2-combo-left .mv2-player-bust {
        left: 18px !important;
    }

    .matches-v2-section .mv2-combo-right .mv2-hero-avatar {
        right: 0 !important;
    }

    .matches-v2-section .mv2-combo-right .mv2-player-bust {
        right: 18px !important;
    }

    /* Player Meta (Names & Gear stacked on mobile, top-aligned with hero avatar) */
    .matches-v2-section .mv2-player-meta {
        display: flex !important;
        flex-direction: column !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
        gap: 0 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .matches-v2-section .mv2-meta-left {
        margin-left: 6px !important;
        margin-right: 0 !important;
        align-items: flex-start !important;
        text-align: left !important;
        justify-content: flex-start !important;
    }

    .matches-v2-section .mv2-meta-right {
        margin-right: 6px !important;
        margin-left: 0 !important;
        align-items: flex-end !important;
        text-align: right !important;
        justify-content: flex-start !important;
    }

    .matches-v2-section .mv2-player-names {
        display: flex !important;
        flex-direction: column !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .matches-v2-section .mv2-names-left {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .matches-v2-section .mv2-names-right {
        align-items: flex-end !important;
        text-align: right !important;
    }

    .matches-v2-section .mv2-p-name {
        font-size: 13px !important;
        line-height: 1.15 !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .matches-v2-section .mv2-p-hero {
        font-size: 11px !important;
        line-height: 1.15 !important;
        margin-top: 2px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Mobile Player Gear: Emblem & Talents stacked ABOVE Items Grid */
    .matches-v2-section .mv2-player-gear {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1px !important;
        margin-top: 1px !important;
        width: auto !important;
    }

    .matches-v2-section .mv2-meta-right .mv2-player-gear {
        flex-direction: column !important;
        align-items: flex-end !important;
    }

    /* Enlarged Emblem & Talents on Mobile with equal top-bottom spacing and removed extra bottom gap */
    .matches-v2-section .mdc-pf-emblem-talents {
        --emblem-main-size: 34px !important;
        --emblem-size: 26px !important;
        --talent-size: 16px !important;
        --et-gap: 2px !important;
        height: var(--emblem-main-size) !important;
        min-height: var(--emblem-main-size) !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Scaled Items Grid (exactly 3 cols x 2 rows under emblem talents) */
    .matches-v2-section .mv2-items-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
        width: 74px !important;
        max-width: 74px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        flex: 0 0 74px !important;
    }

    .matches-v2-section .mv2-meta-left .mv2-items-grid {
        justify-content: flex-start !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .matches-v2-section .mv2-meta-right .mv2-items-grid {
        justify-content: flex-end !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .matches-v2-section .mv2-item-slot {
        width: 23px !important;
        height: 23px !important;
        flex: 0 0 23px !important;
    }

    /* Full Width Mobile Stats Block Below Players */
    .matches-v2-section .mv2-stats-block {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        margin: 0 auto !important;
        padding: 0 4px !important;
        gap: 4px !important;
    }

    .matches-v2-section .mv2-stat-row {
        width: 100% !important;
    }

    .matches-v2-section .mv2-stat-left {
        font-size: 12px !important;
        width: 65px !important;
    }

    .matches-v2-section .mv2-stat-lbl {
        font-size: 11px !important;
    }

    .matches-v2-section .mv2-stat-right {
        font-size: 12px !important;
        width: 65px !important;
    }
}

@media (max-width: 380px) {
    .matches-v2-section .mv2-avatar-combo {
        width: 66px !important;
        height: 72px !important;
    }

    .matches-v2-section .mv2-hero-avatar {
        width: 44px !important;
        height: 66px !important;
        top: 0 !important;
        clip-path: polygon(18% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 18%) !important;
    }

    .matches-v2-section .mv2-player-bust {
        width: 48px !important;
        height: 72px !important;
        bottom: 0 !important;
    }

    .matches-v2-section .mv2-combo-left .mv2-player-bust {
        left: 16px !important;
    }

    .matches-v2-section .mv2-combo-right .mv2-player-bust {
        right: 16px !important;
    }

    .matches-v2-section .mv2-p-name {
        font-size: 11.5px !important;
    }

    .matches-v2-section .mv2-p-hero {
        font-size: 10px !important;
    }

    .matches-v2-section .mdc-pf-emblem-talents {
        --emblem-main-size: 28px !important;
        --emblem-size: 22px !important;
        --talent-size: 13px !important;
        --et-gap: 1px !important;
        height: var(--emblem-main-size) !important;
        min-height: var(--emblem-main-size) !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .matches-v2-section .mv2-items-grid {
        width: 61px !important;
        max-width: 61px !important;
        flex: 0 0 61px !important;
        gap: 2px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .matches-v2-section .mv2-item-slot {
        width: 19px !important;
        height: 19px !important;
        flex: 0 0 19px !important;
    }
}

/* Mobile WIN / LOSE Badge in Game Tab Header (< 992px) */
@media (max-width: 991.98px) {
    .matches-v2-section .mdc-header .team-status.diamond-frame-wrapper.d-none,
    .matches-v2-section .mdc-header .d-none.team-status.diamond-frame-wrapper {
        display: none !important;
    }

    .matches-v2-section .mdc-header .team-status.diamond-frame-wrapper:not(.d-none) {
        font-size: 11px !important;
        font-family: 'Orbitron', sans-serif !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        margin: 0 auto 4px auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
        width: auto !important;
        position: relative !important;
        line-height: 1.2 !important;
        text-shadow: none !important;
    }

    .matches-v2-section .mdc-header .team-status .diamond-frame {
        padding: 0.15rem 1.1rem !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        letter-spacing: 1px !important;
        clip-path: polygon(20% 0, 80% 0, 100% 50%, 80% 100%, 20% 100%, 0 50%) !important;
        background: #04121c !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-shadow: none !important;
        width: auto !important;
    }

    .matches-v2-section .mdc-header .team-status.diamond-frame-wrapper::before {
        content: "" !important;
        position: absolute !important;
        left: -6px !important;
        top: -1px !important;
        width: calc(100% + 12px) !important;
        height: calc(100% + 2px) !important;
        clip-path: polygon(calc(20% + 4px) 0, calc(80% - 4px) 0, 100% 50%, calc(80% - 4px) 100%, calc(20% + 4px) 100%, 0 50%) !important;
    }
}

/* Mobile Draft & Hero Bans Cards (< 768px) */
@media (max-width: 767.98px) {
    .matches-v2-section .draft-container {
        padding-top: 0 !important;
        padding-bottom: 0.5rem !important;
    }

    .matches-v2-section .match-detail-content .mdc-header {
        margin-bottom: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .matches-v2-section .draft-wrapper {
        margin-top: 0 !important;
    }

    .mv2-mob-draft-section {
        width: 100% !important;
        margin: 0 0 10px 0 !important;
        padding: 0 4px !important;
    }

    .mv2-mob-draft-section .draft-title-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        max-width: 320px !important;
        margin: 0 auto 10px auto !important;
    }

    .mv2-mob-draft-section .draft-title {
        color: #00d2ff !important;
        font-family: 'Orbitron', sans-serif !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        letter-spacing: 1.5px !important;
    }

    body.light .mv2-mob-draft-section .draft-title,
    .light .mv2-mob-draft-section .draft-title {
        color: #000000 !important;
    }

    .mv2-draft-card {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: #04121c !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        width: 100% !important;
        min-height: 52px !important;
        box-sizing: border-box !important;
    }

    .mv2-draft-card-blue {
        border: 1.5px solid #0088cc !important;
        box-shadow: 0 0 10px rgba(0, 136, 204, 0.2) !important;
    }

    .mv2-draft-card-red {
        border: 1.5px solid #de1a1e !important;
        box-shadow: 0 0 10px rgba(222, 26, 30, 0.2) !important;
    }

    .mv2-draft-team-pill {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 6px 12px !important;
        height: 100% !important;
        min-height: 52px !important;
        flex: 0 0 100px !important;
        width: 100px !important;
        box-sizing: border-box !important;
    }

    .mv2-pill-blue {
        background: linear-gradient(90deg, #0077c8 0%, #005a9c 100%) !important;
    }

    .mv2-pill-red {
        background: linear-gradient(90deg, #de1a1e 0%, #991014 100%) !important;
    }

    .mv2-draft-team-logo {
        width: 26px !important;
        height: 26px !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
    }

    .mv2-draft-team-name {
        font-family: 'Orbitron', sans-serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .mv2-draft-heroes-row {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        flex: 1 1 auto !important;
        padding: 4px 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
    }

    .mv2-draft-heroes-row::-webkit-scrollbar,
    .draft-hero-scroll-row::-webkit-scrollbar {
        height: 3px !important;
    }

    .mv2-draft-heroes-row::-webkit-scrollbar-track,
    .draft-hero-scroll-row::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 2px !important;
    }

    .mv2-draft-heroes-row::-webkit-scrollbar-thumb,
    .draft-hero-scroll-row::-webkit-scrollbar-thumb {
        background: rgba(237, 211, 151, 0.3) !important;
        border-radius: 2px !important;
    }

    .mv2-draft-heroes-row::-webkit-scrollbar-thumb:hover,
    .draft-hero-scroll-row::-webkit-scrollbar-thumb:hover {
        background: rgba(237, 211, 151, 0.6) !important;
    }

    .draft-hero-scroll-row {
        max-width: 100%;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
    }

    .mv2-draft-hero-circle {
        position: relative !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        overflow: visible !important;
        flex-shrink: 0 !important;
        background: #091420 !important;
        border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    }

    .mv2-draft-card-blue .mv2-draft-hero-circle {
        border-color: rgba(0, 136, 204, 0.5) !important;
    }

    .mv2-draft-card-red .mv2-draft-hero-circle {
        border-color: rgba(222, 26, 30, 0.5) !important;
    }

    .mv2-draft-hero-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        display: block !important;
    }

    .mv2-draft-hero-circle.is-banned .mv2-draft-hero-img {
        filter: grayscale(40%) brightness(0.7) !important;
    }

    .mv2-ban-icon-wrap {
        position: absolute !important;
        bottom: -2px !important;
        right: -2px !important;
        width: 15px !important;
        height: 15px !important;
        z-index: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: none !important;
    }

    .mv2-ban-icon-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }

    /* Toggle Button — same shape as ev2 View Tournament button */
    .mv2-draft-toggle-wrap {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin-top: 10px !important;
        margin-bottom: 6px !important;
    }

    .mv2-draft-toggle-wrapper {
        --hole-length: 7px !important;
        position: relative !important;
        display: inline-flex !important;
        width: 130px !important;
        min-width: 130px !important;
        max-width: 130px !important;
        height: 28px !important;
        cursor: pointer !important;
        overflow: visible !important;
    }

    /* Top-left fold triangle */
    .mv2-draft-toggle-wrapper::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 5px !important;
        height: 5px !important;
        background: #1e3a50 !important;
        clip-path: polygon(100% 0, 0% 100%, 100% 100%) !important;
        z-index: 2 !important;
        pointer-events: none !important;
        transition: background-color 0.2s ease !important;
    }

    /* Bottom-right fold triangle */
    .mv2-draft-toggle-wrapper::after {
        content: "" !important;
        position: absolute !important;
        bottom: 0 !important;
        right: 0 !important;
        width: 5px !important;
        height: 5px !important;
        background: #1e3a50 !important;
        clip-path: polygon(0 0, 0% 100%, 100% 0) !important;
        z-index: 2 !important;
        pointer-events: none !important;
        transition: background-color 0.2s ease !important;
    }

    .mv2-draft-toggle-btn {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 100% !important;
        background: #1e3a50 !important;
        clip-path: polygon(
            7px 0%,
            7px 7px,
            0 7px,
            0 100%,
            calc(100% - 7px) 100%,
            calc(100% - 7px) calc(100% - 7px),
            100% calc(100% - 7px),
            100% 0
        ) !important;
        height: 28px !important;
        line-height: 28px !important;
        min-height: unset !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
        color: #00d2ff !important;
        font-family: 'Orbitron', sans-serif !important;
        font-size: 0.68rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.8px !important;
        cursor: pointer !important;
        border: none !important;
        outline: none !important;
        text-transform: uppercase !important;
        text-shadow: none !important;
        text-decoration: none !important;
        transition: background-color 0.2s ease !important;
    }

    .mv2-draft-toggle-btn .mv2-toggle-icon {
        font-size: 11px !important;
        font-weight: 900 !important;
        color: #00d2ff !important;
        display: inline-block !important;
    }

    .mv2-draft-toggle-wrapper:hover .mv2-draft-toggle-btn,
    .mv2-draft-toggle-wrapper:hover::before,
    .mv2-draft-toggle-wrapper:hover::after {
        background: #2a4d66 !important;
    }
}

@media (max-width: 380px) {
    .mv2-draft-team-pill {
        flex: 0 0 85px !important;
        width: 85px !important;
        padding: 4px 8px !important;
        gap: 4px !important;
    }

    .mv2-draft-team-name {
        font-size: 11px !important;
    }

    .mv2-draft-team-logo {
        width: 22px !important;
        height: 22px !important;
    }

    .mv2-draft-heroes-row {
        gap: 3px !important;
        padding: 2px 4px !important;
    }

    .mv2-draft-hero-circle {
        width: 33px !important;
        height: 33px !important;
    }

    .mv2-ban-icon-wrap {
        width: 13px !important;
        height: 13px !important;
    }
}

/* ==========================================================================
   MOBILE TOP HEADER (MATCHING EVENT DETAIL V2 & TOURNAMENT DETAIL V2)
   ========================================================================== */
.ev2-mobile-top-header {
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem 0.65rem 1rem;
    background: transparent;
    width: 100%;
    margin-bottom: 0.35rem;
    position: relative;
    z-index: 10;
}

.ev2-mobile-logo-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ev2-mobile-logo-link {
    display: flex;
    align-items: center;
}

.ev2-mobile-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.ev2-mobile-ad-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e50914;
    color: #ffffff;
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.ev2-mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ev2-mobile-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    font-size: 1.15rem;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.15s ease;
}

.ev2-mobile-icon-btn:hover {
    color: #2ed3f8;
}

/* Hide Default Navbar on Mobile Viewport (< 992px) */
@media (max-width: 991.98px) {
    /* Hide Default Top Header Bar on Mobile (drawer remains functional) */
    #header .header-wrapper {
        display: none !important;
    }

    #header #header-wrap {
        height: 0 !important;
        min-height: 0 !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }

    #header.navbar-menu {
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        overflow: visible !important;
    }

    .navbar .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        height: 100vh !important;
        width: 100% !important;
        background: var(--color-theme) !important;
        z-index: 1200 !important;
        transition: all 250ms ease !important;
        display: block !important;
        overflow-y: auto !important;
    }

    .navbar-collapse.closed {
        max-width: 0% !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

    .navbar-collapse:not(.closed) {
        max-width: 100% !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }

    .content-wrapper,
    #wrapper {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* ==========================================================================
   APP BOTTOM NAVIGATION BAR (MOBILE ONLY) - AS IN EVENT DETAIL V2
   ========================================================================== */
.ev2-app-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    background: rgba(10, 18, 28, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 99999 !important;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.ev2-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #607289;
    text-decoration: none !important;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 6px 0;
    border-radius: 8px;
    transition: color 0.2s ease, transform 0.15s ease;
    user-select: none;
    max-width: 75px;
}

.ev2-bottom-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
}

.ev2-bottom-nav-icon svg {
    display: block;
    stroke: currentColor;
    transition: stroke 0.2s ease, transform 0.15s ease;
}

.ev2-bottom-nav-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.1;
    color: inherit;
}

.ev2-bottom-nav-item:hover {
    color: #94a3b8;
}

.ev2-bottom-nav-item.active {
    color: #2ed3f8 !important;
}

.ev2-bottom-nav-item.active .ev2-bottom-nav-label {
    color: #2ed3f8 !important;
    font-weight: 700;
}

.ev2-bottom-nav-item.active .ev2-bottom-nav-icon svg {
    stroke: #2ed3f8 !important;
}

/* Light mode for App Bottom Bar */
body.light .ev2-app-bottom-bar,
.light .ev2-app-bottom-bar {
    background: rgba(255, 255, 255, 0.96) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05) !important;
}

body.light .ev2-bottom-nav-item,
.light .ev2-bottom-nav-item {
    color: #64748b;
}

body.light .ev2-bottom-nav-item:hover,
.light .ev2-bottom-nav-item:hover {
    color: #334155;
}

body.light .ev2-bottom-nav-item.active,
.light .ev2-bottom-nav-item.active {
    color: #0284c7 !important;
}

body.light .ev2-bottom-nav-item.active .ev2-bottom-nav-label,
.light .ev2-bottom-nav-item.active .ev2-bottom-nav-label {
    color: #0284c7 !important;
}

body.light .ev2-bottom-nav-item.active .ev2-bottom-nav-icon svg,
.light .ev2-bottom-nav-item.active .ev2-bottom-nav-icon svg {
    stroke: #0284c7 !important;
}

/* Hide on desktop */
@media (min-width: 992px) {
    .ev2-app-bottom-bar {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .match-detail-section-wrapper {
        padding-bottom: 20px !important;
    }

    .match-detail-widgets-section {
        padding-bottom: 80px !important;
    }
}

/* Grid.gg Widgets Section Integration */
.match-detail-widgets-section {
    padding-top: 0 !important;
    padding-bottom: 20px !important;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   MATCH ANALYSIS & PREVIEW (Rosters 5v5, Form, H2H, Stats, Signature Heroes)
   ========================================================================== */
.match-detail-preview-section {
    padding-top: 10px !important;
    padding-bottom: 60px !important;
    position: relative;
    z-index: 2;
}

.match-detail-preview-section .mv2-section-header {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.match-detail-preview-section .mv2-section-title {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
}

/* 1. Rosters 5v5 & Signature Heroes Outer Containers */
.match-detail-preview-section .mv2-roster-section-container,
.match-detail-preview-section .mv2-sig-heroes-section-container {
    background: #0B151E;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
    margin-top: 1.75rem;
}

/* Outer Section Header */
.match-detail-preview-section .mv2-roster-outer-header,
.match-detail-preview-section .mv2-sig-heroes-outer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.match-detail-preview-section .mv2-roster-outer-title-wrap,
.match-detail-preview-section .mv2-sig-heroes-outer-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.match-detail-preview-section .mv2-roster-outer-title,
.match-detail-preview-section .mv2-sig-heroes-outer-title,
.match-detail-preview-section .mv2-section-title {
    font-family: 'Orbitron', sans-serif !important;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

.match-detail-preview-section .mv2-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.75rem;
    margin-bottom: 0.85rem;
}

.match-detail-preview-section .mv2-roster-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.match-detail-preview-section .mv2-roster-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.match-detail-preview-section .mv2-roster-dots .dot-yellow {
    background: #f59e0b;
}

.match-detail-preview-section .mv2-roster-dots .dot-blue {
    background: #00d2ff;
}

/* Team Roster Card */
.match-detail-preview-section .mv2-team-roster-card {
    background: #111d2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem 1rem 1.15rem;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Top Gradation Glowing Line */
.match-detail-preview-section .mv2-card-glow-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2;
}

.match-detail-preview-section .mv2-card-glow-line.red-glow {
    background: linear-gradient(90deg, #ff334b 0%, #ff8c00 60%, rgba(255, 140, 0, 0) 100%);
    box-shadow: 0 0 10px rgba(255, 51, 75, 0.6);
}

.match-detail-preview-section .mv2-card-glow-line.blue-glow {
    background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 60%, rgba(58, 123, 213, 0) 100%);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
}

/* Card Header */
.match-detail-preview-section .mv2-trc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.95rem;
}

.match-detail-preview-section .mv2-trc-team-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.match-detail-preview-section .mv2-trc-logo-box {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
}

.match-detail-preview-section .mv2-trc-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.match-detail-preview-section .mv2-trc-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.match-detail-preview-section .mv2-trc-name-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.match-detail-preview-section .mv2-trc-team-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.match-detail-preview-section .mv2-trc-side-tag {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.match-detail-preview-section .mv2-trc-side-tag.red-tag {
    background: rgba(255, 51, 75, 0.15);
    color: #ff4d61;
    border: 1px solid rgba(255, 51, 75, 0.35);
}

.match-detail-preview-section .mv2-trc-side-tag.blue-tag {
    background: rgba(0, 210, 255, 0.15);
    color: #00d2ff;
    border: 1px solid rgba(0, 210, 255, 0.35);
}

.match-detail-preview-section .mv2-trc-rank {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* 5 Players Grid */
.match-detail-preview-section .mv2-trc-players-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    flex: 1;
    width: 100%;
}

.match-detail-preview-section .mv2-trc-player-col {
    min-width: 0;
    width: 100%;
}

.match-detail-preview-section .mv2-player-item-card {
    background: #17263b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 8px 4px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.match-detail-preview-section .mv2-player-item-card:hover {
    background: #1c2e46;
    border-color: rgba(0, 210, 255, 0.35);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.match-detail-preview-section .mv2-player-avatar-wrap {
    width: 88%;
    max-width: 78px;
    aspect-ratio: 3 / 3.9;
    max-height: 108px;
    height: auto;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(180deg, #101c2d 0%, #0a121c 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 2px auto 0;
}

.match-detail-preview-section .mv2-player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transform: scale(0.92);
    transform-origin: bottom center;
    display: block;
}

.match-detail-preview-section .mv2-player-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-top: 6px;
}

.match-detail-preview-section .mv2-player-ign {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: clamp(0.7rem, 0.95vw, 0.78rem);
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
    width: 100%;
    transition: color 0.2s;
}

.match-detail-preview-section .mv2-player-ign:hover {
    color: #00d2ff;
}

.match-detail-preview-section .mv2-player-role-pill {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
    line-height: 1.3;
}

.match-detail-preview-section .mv2-player-role-pill.red-role {
    background: rgba(255, 51, 75, 0.12);
    color: #ff6b7d;
    border: 1px solid rgba(255, 51, 75, 0.25);
}

.match-detail-preview-section .mv2-player-role-pill.blue-role {
    background: rgba(0, 210, 255, 0.12);
    color: #38d3f8;
    border: 1px solid rgba(0, 210, 255, 0.25);
}

/* 2. Tables: Head to Head & Statistics */
.match-detail-preview-section .mv2-table-card {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 6px;
    background: rgba(14, 23, 39, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Subtle custom scrollbar */
.match-detail-preview-section .mv2-table-card::-webkit-scrollbar,
.match-detail-preview-section .mv2-trc-players-grid::-webkit-scrollbar {
    height: 4px;
}
.match-detail-preview-section .mv2-table-card::-webkit-scrollbar-track,
.match-detail-preview-section .mv2-trc-players-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}
.match-detail-preview-section .mv2-table-card::-webkit-scrollbar-thumb,
.match-detail-preview-section .mv2-trc-players-grid::-webkit-scrollbar-thumb {
    background: rgba(46, 211, 248, 0.25);
    border-radius: 2px;
}

.match-detail-preview-section .mv2-h2h-table,
.match-detail-preview-section .mv2-stats-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent !important;
    border: none !important;
    margin-bottom: 0;
}

.match-detail-preview-section .mv2-h2h-table thead tr,
.match-detail-preview-section .mv2-stats-table thead tr {
    background: #232c37 !important;
    height: 38px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.match-detail-preview-section .mv2-h2h-table th,
.match-detail-preview-section .mv2-stats-table th {
    background: #232c37 !important;
    color: #ffffff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    padding: 7px 10px;
    border: none !important;
    letter-spacing: 0.3px;
    line-height: 1.2;
    white-space: nowrap;
}

.match-detail-preview-section .mv2-h2h-table tbody tr,
.match-detail-preview-section .mv2-stats-table tbody tr {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: background 0.15s ease;
    height: 40px;
}

.match-detail-preview-section .mv2-h2h-table tbody tr:last-child,
.match-detail-preview-section .mv2-stats-table tbody tr:last-child {
    border-bottom: none !important;
}

.match-detail-preview-section .mv2-h2h-table tbody tr:hover,
.match-detail-preview-section .mv2-stats-table tbody tr:hover {
    background: rgba(0, 210, 247, 0.04) !important;
}

.match-detail-preview-section .mv2-h2h-table td,
.match-detail-preview-section .mv2-stats-table td {
    padding: 7px 10px;
    border: none;
    vertical-align: middle;
    color: #ffffff !important;
    background: transparent !important;
}

.match-detail-preview-section .mv2-h2h-row {
    cursor: pointer;
}

.match-detail-preview-section .mv2-h2h-format-badge {
    background: #1e293b;
    border-radius: 4px;
    padding: 2px 7px;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    font-size: 11px;
    color: #ffffff;
    display: inline-block;
    white-space: nowrap;
}

.match-detail-preview-section .mv2-h2h-datetime {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.match-detail-preview-section .mv2-h2h-date {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700;
    font-size: 12px;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1.2;
}

.match-detail-preview-section .mv2-h2h-time {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
    line-height: 1.2;
}

.match-detail-preview-section .mv2-h2h-event-link {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #ffffff;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
    white-space: nowrap;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-detail-preview-section .mv2-h2h-event-link:hover {
    color: #00d2ff;
}

.match-detail-preview-section .mv2-h2h-event-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12.5px;
    color: #cbd5e1;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

/* Results: Horizontal Match Boxes */
.match-detail-preview-section .mv2-h2h-results-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.match-detail-preview-section .mv2-h2h-team-box {
    width: 145px;
    height: 32px;
    border-radius: 4px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    border: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}

.match-detail-preview-section .mv2-h2h-box-team1 {
    justify-content: flex-end;
    gap: 8px;
}

.match-detail-preview-section .mv2-h2h-box-team2 {
    justify-content: flex-start;
    gap: 8px;
}

.match-detail-preview-section .mv2-h2h-team-box.is-winner {
    background: #10542c;
}

.match-detail-preview-section .mv2-h2h-team-box.is-winner .mv2-h2h-team-name {
    color: #ffffff;
    font-weight: 700;
}

.match-detail-preview-section .mv2-h2h-team-box.is-loser {
    background: #3a1a24;
}

.match-detail-preview-section .mv2-h2h-team-box.is-loser .mv2-h2h-team-name {
    color: #8b949e;
    font-weight: 600;
}

.match-detail-preview-section .mv2-h2h-team-name {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 95px;
}

.match-detail-preview-section .mv2-h2h-team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.match-detail-preview-section .mv2-h2h-score {
    width: 50px;
    text-align: center;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    user-select: none;
    flex-shrink: 0;
}

.match-detail-preview-section .mv2-h2h-score-val.score-win {
    color: #3ef895;
}

.match-detail-preview-section .mv2-h2h-score-val.score-lose {
    color: #8b949e;
}

.match-detail-preview-section .mv2-h2h-score-dash {
    color: #64748b;
    font-weight: 500;
}

.match-detail-preview-section .mv2-h2h-status-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px;
    font-weight: 500;
    color: #cbd5e1;
    white-space: nowrap;
}

.match-detail-preview-section .mv2-h2h-action-btn {
    width: 24px;
    height: 24px;
    background: #2ed3f8;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.match-detail-preview-section .mv2-h2h-action-btn:hover {
    background: #00d2ff;
    transform: scale(1.08);
}

/* Statistics Table */
.match-detail-preview-section .mv2-stats-table .td-team-val {
    width: 35%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.match-detail-preview-section .mv2-stats-table .td-metric {
    width: 30%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.3px;
    text-align: center;
}

.match-detail-preview-section .mv2-th-team-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.match-detail-preview-section .mv2-th-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* 3. Signature Heroes */
.match-detail-preview-section .mv2-sig-hero-box {
    background: #111d2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem 1rem 1.15rem;
    height: 100%;
}

.match-detail-preview-section .mv2-sig-hero-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.match-detail-preview-section .mv2-hb-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.match-detail-preview-section .mv2-hb-team-name {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.95rem;
    font-weight: 700;
    color: #00d2ff;
    text-transform: uppercase;
}

.match-detail-preview-section .mv2-hb-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 7px;
    border-radius: 4px;
}

.match-detail-preview-section .mv2-sig-heroes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.match-detail-preview-section .mv2-sig-hero-card {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    background: #17263b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    min-width: 0;
}

.match-detail-preview-section .mv2-sig-hero-card:hover {
    background: #1c2e46;
    border-color: rgba(0, 210, 255, 0.35);
}

.match-detail-preview-section .mv2-sig-hero-card-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.match-detail-preview-section .mv2-sig-hero-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    border-bottom: 2px solid #2ed3f8;
    overflow: hidden;
    background: #111720;
}

.match-detail-preview-section .mv2-sig-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.match-detail-preview-section .mv2-sig-hero-card:hover .mv2-sig-hero-image img {
    transform: scale(1.05);
}

.match-detail-preview-section .mv2-sig-hero-rank {
    position: absolute;
    top: 4px;
    left: 4px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #2ed3f8;
    border-radius: 3px;
    color: #2ed3f8;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 5px;
    z-index: 2;
    line-height: 1.2;
}

.match-detail-preview-section .mv2-sig-hero-info {
    background: linear-gradient(135deg, #2ed3f8 0%, #0d1825 35%);
    display: flex;
    flex-direction: column;
    padding: 6px 6px;
    text-align: center;
    flex-shrink: 0;
    min-height: 56px;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease-in-out;
    box-sizing: border-box;
}

.match-detail-preview-section .mv2-sig-hero-card:hover .mv2-sig-hero-info {
    background: linear-gradient(135deg, #0d1825 0%, #2ed3f8 50%, #0d1825 100%);
}

.match-detail-preview-section .mv2-sig-hero-name-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.match-detail-preview-section .mv2-sig-hero-name {
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 0.2px;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-align: center;
    word-break: break-all;
    width: 100%;
}

.match-detail-preview-section .mv2-sig-devider-card {
    margin: 0 !important;
    margin-bottom: 3px !important;
    width: 100%;
    border-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.match-detail-preview-section .mv2-sig-hero-stat-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
}

.match-detail-preview-section .mv2-sig-pick-label {
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    text-transform: uppercase;
}

.match-detail-preview-section .mv2-sig-pick-val {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .match-detail-preview-section .mv2-trc-players-grid {
        display: flex;
        overflow-x: auto;
        gap: 6px;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .match-detail-preview-section .mv2-trc-player-col {
        flex: 0 0 84px;
        min-width: 84px;
        max-width: 95px;
        scroll-snap-align: start;
    }

    .match-detail-preview-section .mv2-h2h-table th,
    .match-detail-preview-section .mv2-h2h-table td {
        padding: 6px 8px;
        font-size: 11.5px;
    }

    .match-detail-preview-section .th-results {
        min-width: 260px !important;
    }

    .match-detail-preview-section .mv2-h2h-team-box {
        width: auto;
        min-width: 80px;
        max-width: 110px;
        height: 28px;
        padding: 0 6px;
        gap: 5px;
    }

    .match-detail-preview-section .mv2-h2h-team-name {
        font-size: 11px;
        max-width: 65px;
    }

    .match-detail-preview-section .mv2-h2h-team-logo {
        width: 18px;
        height: 18px;
    }

    .match-detail-preview-section .mv2-h2h-score {
        width: 38px;
        font-size: 12px;
        gap: 3px;
    }

    .match-detail-preview-section .mv2-sig-heroes-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .match-detail-preview-section .mv2-sig-hero-info {
        padding: 4px;
        min-height: 50px;
    }

    .match-detail-preview-section .mv2-sig-hero-name {
        font-size: 10.5px;
    }

    .match-detail-preview-section .mv2-sig-pick-label {
        font-size: 8.5px;
    }

    .match-detail-preview-section .mv2-sig-pick-val {
        font-size: 10px;
    }
}

@media (max-width: 575.98px) {
    .match-detail-preview-section .mv2-trc-header {
        margin-bottom: 0.75rem;
    }

    .match-detail-preview-section .mv2-trc-logo-box {
        width: 32px;
        height: 32px;
    }

    .match-detail-preview-section .mv2-trc-team-name {
        font-size: 0.95rem;
    }

    .match-detail-preview-section .mv2-trc-rank {
        font-size: 0.7rem;
    }

    .match-detail-preview-section .mv2-stats-table th,
    .match-detail-preview-section .mv2-stats-table td {
        padding: 6px 6px;
        font-size: 11.5px;
    }

    .match-detail-preview-section .mv2-th-team-name {
        font-size: 11.5px;
        max-width: 90px;
    }

    .match-detail-preview-section .mv2-th-logo {
        width: 18px;
        height: 18px;
    }

    .match-detail-preview-section .mv2-hb-team-name {
        font-size: 0.85rem;
    }

    .match-detail-preview-section .mv2-sig-hero-box {
        padding: 0.75rem;
    }
}

/* Light Theme Support */
body.light .match-detail-preview-section .mv2-roster-section-container,
.light .match-detail-preview-section .mv2-roster-section-container,
body.light .match-detail-preview-section .mv2-sig-heroes-section-container,
.light .match-detail-preview-section .mv2-sig-heroes-section-container {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

body.light .match-detail-preview-section .mv2-team-roster-card,
.light .match-detail-preview-section .mv2-team-roster-card {
    background: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light .match-detail-preview-section .mv2-player-item-card,
.light .match-detail-preview-section .mv2-player-item-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light .match-detail-preview-section .mv2-player-avatar-wrap,
.light .match-detail-preview-section .mv2-player-avatar-wrap {
    background: #e2e8f0 !important;
}

body.light .match-detail-preview-section .mv2-roster-outer-title,
.light .match-detail-preview-section .mv2-roster-outer-title,
body.light .match-detail-preview-section .mv2-sig-heroes-outer-title,
.light .match-detail-preview-section .mv2-sig-heroes-outer-title,
body.light .match-detail-preview-section .mv2-trc-team-name,
.light .match-detail-preview-section .mv2-trc-team-name,
body.light .match-detail-preview-section .mv2-player-ign,
.light .match-detail-preview-section .mv2-player-ign {
    color: #0f172a !important;
}

body.light .match-detail-preview-section .mv2-table-card,
.light .match-detail-preview-section .mv2-table-card,
body.light .match-detail-preview-section .mv2-sig-hero-box,
.light .match-detail-preview-section .mv2-sig-hero-box {
    background: #ffffff !important;
    border-color: rgba(2, 132, 199, 0.4) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

body.light .match-detail-preview-section .mv2-section-title,
.light .match-detail-preview-section .mv2-section-title {
    color: #0f172a !important;
}

body.light .match-detail-preview-section .mv2-roster-team-name,
.light .match-detail-preview-section .mv2-roster-team-name,
body.light .match-detail-preview-section .mv2-th-team-name,
.light .match-detail-preview-section .mv2-th-team-name,
body.light .match-detail-preview-section .mv2-hb-team-name,
.light .match-detail-preview-section .mv2-hb-team-name {
    color: #0284c7 !important;
}

body.light .match-detail-preview-section .mv2-roster-player-card,
.light .match-detail-preview-section .mv2-roster-player-card,
body.light .match-detail-preview-section .mv2-sig-hero-card,
.light .match-detail-preview-section .mv2-sig-hero-card {
    background: #f8fafc !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
}

body.light .match-detail-preview-section .mv2-roster-name-wrap,
.light .match-detail-preview-section .mv2-roster-name-wrap {
    background: #f1f5f9 !important;
}

body.light .match-detail-preview-section .mv2-roster-player-name,
.light .match-detail-preview-section .mv2-roster-player-name,
body.light .match-detail-preview-section .mv2-sig-hero-name,
.light .match-detail-preview-section .mv2-sig-hero-name,
body.light .match-detail-preview-section .mv2-event-link,
.light .match-detail-preview-section .mv2-event-link,
body.light .match-detail-preview-section .mv2-stats-table .td-team-val,
.light .match-detail-preview-section .mv2-stats-table .td-team-val {
    color: #0f172a !important;
}

body.light .match-detail-preview-section .mv2-h2h-table thead tr,
.light .match-detail-preview-section .mv2-h2h-table thead tr,
body.light .match-detail-preview-section .mv2-stats-table thead tr,
.light .match-detail-preview-section .mv2-stats-table thead tr {
    background: #e2e8f0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
}

body.light .match-detail-preview-section .mv2-h2h-table th,
.light .match-detail-preview-section .mv2-h2h-table th,
body.light .match-detail-preview-section .mv2-stats-table th,
.light .match-detail-preview-section .mv2-stats-table th {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

body.light .match-detail-preview-section .mv2-h2h-table tbody tr,
.light .match-detail-preview-section .mv2-h2h-table tbody tr,
body.light .match-detail-preview-section .mv2-stats-table tbody tr,
.light .match-detail-preview-section .mv2-stats-table tbody tr {
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

body.light .match-detail-preview-section .mv2-h2h-table tbody tr:hover,
.light .match-detail-preview-section .mv2-h2h-table tbody tr:hover,
body.light .match-detail-preview-section .mv2-stats-table tbody tr:hover,
.light .match-detail-preview-section .mv2-stats-table tbody tr:hover {
    background: rgba(2, 132, 199, 0.06) !important;
}

body.light .match-detail-preview-section .mv2-h2h-table td,
.light .match-detail-preview-section .mv2-h2h-table td,
body.light .match-detail-preview-section .mv2-stats-table td,
.light .match-detail-preview-section .mv2-stats-table td {
    color: #1e293b !important;
}

body.light .match-detail-preview-section .mv2-h2h-format-badge,
.light .match-detail-preview-section .mv2-h2h-format-badge {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

body.light .match-detail-preview-section .mv2-h2h-date,
.light .match-detail-preview-section .mv2-h2h-date {
    color: #0f172a !important;
}

body.light .match-detail-preview-section .mv2-h2h-time,
.light .match-detail-preview-section .mv2-h2h-time {
    color: #64748b !important;
}

body.light .match-detail-preview-section .mv2-h2h-event-link,
.light .match-detail-preview-section .mv2-h2h-event-link {
    color: #0f172a !important;
}

body.light .match-detail-preview-section .mv2-h2h-event-link:hover,
.light .match-detail-preview-section .mv2-h2h-event-link:hover {
    color: #0284c7 !important;
}

body.light .match-detail-preview-section .mv2-h2h-team-box.is-winner,
.light .match-detail-preview-section .mv2-h2h-team-box.is-winner {
    background: #d1fae5 !important;
}

body.light .match-detail-preview-section .mv2-h2h-team-box.is-winner .mv2-h2h-team-name,
.light .match-detail-preview-section .mv2-h2h-team-box.is-winner .mv2-h2h-team-name {
    color: #065f46 !important;
}

body.light .match-detail-preview-section .mv2-h2h-team-box.is-loser,
.light .match-detail-preview-section .mv2-h2h-team-box.is-loser {
    background: #fee2e2 !important;
}

body.light .match-detail-preview-section .mv2-h2h-team-box.is-loser .mv2-h2h-team-name,
.light .match-detail-preview-section .mv2-h2h-team-box.is-loser .mv2-h2h-team-name {
    color: #991b1b !important;
}

body.light .match-detail-preview-section .mv2-h2h-status-text,
.light .match-detail-preview-section .mv2-h2h-status-text {
    color: #475569 !important;
}

body.light .match-detail-preview-section .mv2-roster-info,
.light .match-detail-preview-section .mv2-roster-info,
body.light .match-detail-preview-section .mv2-sig-hero-info,
.light .match-detail-preview-section .mv2-sig-hero-info {
    background: linear-gradient(135deg, rgba(46, 211, 248, 0.35) 0%, #0f172a 100%) !important;
}

body.light .match-detail-preview-section .mv2-roster-player-card:hover .mv2-roster-info,
.light .match-detail-preview-section .mv2-roster-player-card:hover .mv2-roster-info,
body.light .match-detail-preview-section .mv2-sig-hero-card:hover .mv2-sig-hero-info,
.light .match-detail-preview-section .mv2-sig-hero-card:hover .mv2-sig-hero-info {
    background: linear-gradient(135deg, #0f172a 0%, rgba(46, 211, 248, 0.45) 50%, #0f172a 100%) !important;
}

body.light .match-detail-preview-section .mv2-roster-role-tag,
.light .match-detail-preview-section .mv2-roster-role-tag,
body.light .match-detail-preview-section .mv2-sig-hero-rank,
.light .match-detail-preview-section .mv2-sig-hero-rank {
    background: rgba(15, 23, 42, 0.85) !important;
    color: #00d2ff !important;
    border-color: #00d2ff !important;
}




