@font-face {
    font-family: 'Formula1';
    src: url('/assets/fonts/Formula1-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    font-size: 16px;
}

body {
    font-family: 'Formula1', sans-serif;
    background-color: #15151e;
}

.container {
    border-radius: 0 !important;
    background-color: #15151e !important;
}

.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 21, 30, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.loading-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

.error-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 21, 30, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

.error-message {
    background-color: #1e1e28;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.error-message h3 {
    color: #e74c3c;
    margin-top: 0;
}

.error-message p {
    margin-bottom: 20px;
    color: #ccc;
}

.score-list {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.score-list-hidden {
    display: none;
}

.score-list-fullscreen {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #15151e;
    z-index: 9998;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    color: white;
}

.score-list-fullscreen .ranking-container {
    background-color: #15151e;
    max-width: 1200px;
    margin: 0 auto;
}

.group-scores {
    transition: all 0.3s ease;
}

.group-scores-hidden {
    display: none;
}

.match-info, .group-header {
    cursor: pointer;
}

.match-card {
    background-size: 300px 300px;
    position: relative;
    overflow: hidden;
}

.match-info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.match-info h3 {
    display: flex;
    align-items: center;
    margin: 0;
    line-height: 1.4;
}

.match-info p {
    margin: 5px 0 0 0;
    line-height: 1.4;
}

.match-name-cell {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.match-info h3 .match-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    text-align: center;
}

.refresh-match-btn {
    display: none;
}

@media (max-width: 768px) {
    .match-card {
        background-size: 200px 200px;
    }
}

@media (max-width: 480px) {
    .match-card {
        background-size: 150px 150px;
    }
}

.navbar .nav-buttons .btn {
    transition: none;
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0 20px;
    border-radius: 0 !important;
    border-top: 2px solid #15151e !important;
    border-bottom: 2px solid #15151e !important;
    color: white !important;
}

.navbar .nav-buttons .btn:hover {
    border-bottom: 2px solid white !important;
    transform: none !important;
    box-shadow: none !important;
}

.live-status-indicator {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 24px;
    font-weight: normal;
}

.live-status-indicator.live-active {
    background-color: #ff4757;
    color: white;
}

.live-status-indicator.live-offline {
    background-color: #74b9ff;
    color: white;
}

.live-status-indicator.live-error {
    background-color: #636e72;
    color: white;
}

.live-embed-container {
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px 0;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.live-message {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.live-message h3 {
    margin-top: 0;
    color: #333;
}

.live-message p {
    color: #666;
    margin: 15px 0;
}

.live-link {
    display: block;
    margin: 20px 0;
    padding: 12px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 16px;
    transition: background-color 0.3s ease;
}

.live-link:hover {
    background: #45a049;
    text-decoration: none;
    color: white;
}

.live-note {
    font-size: 0.875rem;
    color: #999;
    font-style: italic;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
    box-sizing: border-box;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    box-sizing: border-box;
}

.ranking-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    background: transparent;
}

.ranking-section {
    flex: 1 1 calc(50% - 20px);
    min-width: 0;
    background: transparent;
}

@media (max-width: 768px) {
    .ranking-section {
        flex: 1 1 100%;
    }
}

.ranking-section h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
}

.ranking-section table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: transparent;
}

.ranking-section th,
.ranking-section td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    background: transparent;
    height: 50px;
    box-sizing: border-box;
    vertical-align: middle;
    line-height: 26px;
    white-space: nowrap;
}

.ranking-section th:nth-child(1),
.ranking-section td:nth-child(1) {
    width: 15%;
    text-align: center;
}

.ranking-section th:nth-child(2),
.ranking-section td:nth-child(2) {
    width: 40%;
}

.ranking-section th:nth-child(3),
.ranking-section td:nth-child(3) {
    width: 25%;
}

.ranking-section th:nth-child(4),
.ranking-section td:nth-child(4) {
    width: 20%;
    text-align: center;
}

.team-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.team-name {
    flex: 1;
}

.grade-cell::after {
    content: attr(data-grade);
}

.rank-cell::after {
    content: attr(data-rank);
}

.team-name-cell::after {
    content: attr(data-team-name);
}

.group-cell::after {
    content: attr(data-group);
}

.match-name-cell::after {
    content: attr(data-match-name);
}

.venue-cell::after {
    content: attr(data-venue);
}

.organizer-cell::after {
    content: attr(data-organizer);
}

.date-cell::after {
    content: attr(data-date);
}

.status-cell::after {
    content: attr(data-status);
}

.match-code-cell::after {
    content: attr(data-match-code);
}

.group-name-cell::after {
    content: attr(data-group-name);
}

.group-code-cell::after {
    content: attr(data-group-code);
}

.team1-name-cell::after {
    content: attr(data-team1-name);
}

.team2-name-cell::after {
    content: attr(data-team2-name);
}

.team1-city-cell::after {
    content: attr(data-team1-city);
}

.team2-city-cell::after {
    content: attr(data-team2-city);
}

.team1-score-cell::after {
    content: attr(data-team1-score);
}

.team2-score-cell::after {
    content: attr(data-team2-score);
}

.schedule-code-cell::after {
    content: attr(data-schedule-code);
}

.created-at-cell::after {
    content: attr(data-created-at);
}

html, body {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
    font-weight: normal;
    padding-top: 0;
    margin: 0;
}

main.container {
    margin-top: 0;
    padding-top: 20px;
    position: relative;
}

.watermark-container {
    position: relative;
}

.watermark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.watermark-item {
    position: absolute;
    font-family: 'Formula1', sans-serif;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    transform: rotate(-25deg);
    line-height: 1.5;
    user-select: none;
}

.watermark-item strong {
    display: block;
    font-weight: bold;
}

* {
    font-weight: normal !important;
}

.content {
    overflow-x: hidden;
    overflow-y: hidden;
}

#view-live .score-list {
    overflow-x: hidden !important;
    width: 100%;
    box-sizing: border-box;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 20px;
    background-color: #15151e !important;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: 60px;
    box-sizing: border-box;
    margin: 0;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.navbar h1 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
}

.navbar-right {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 100%;
}

.nav-buttons {
    display: flex;
    gap: 0;
    height: 100%;
    align-items: stretch;
}

.dropdown {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.dropdown-arrow {
    font-size: 12px;
    color: #ccc;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: none;
}

.dropdown-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #15151e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 0 20px 20px 20px;
    margin: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    min-height: 200px;
    max-height: 80vh;
    width: 100vw;
    max-width: 100vw;
    overflow-y: auto;
    box-sizing: border-box;
}

/* 使用JavaScript控制下拉菜单的显示/隐藏 */

.dropdown-menu .btn {
    display: inline-block;
    width: auto;
    text-align: center;
    padding: 8px 16px;
    margin: 5px;
    box-sizing: border-box;
    color: #e0e0e0 !important;
    background-color: transparent;
    font-size: 14px;
    border: none !important;
    border-radius: 0;
    line-height: 1.5;
    height: auto;
    border-top: 2px solid #15151e !important;
    border-bottom: 2px solid #15151e !important;
}

.dropdown-menu .btn:hover {
    background-color: #1e1e28 !important;
    color: #ffffff !important;
    border-bottom: 2px solid white !important;
}

/* 团队下拉菜单样式 */
.team-dropdown {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #15151e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 20px;
    margin: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    min-height: 200px;
    max-height: 80vh;
    width: 100vw;
    max-width: 100vw;
    overflow-y: auto;
    box-sizing: border-box;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    column-gap: 30px;
    row-gap: 15px;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
}

.team-card {
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: background-color 0.2s ease;
    border: 1px solid #333333;
    padding-bottom: 15px;
}

.team-card:hover {
}

.team-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 10px;
    display: block;
}

.team-card h4 {
    margin: 0;
    color: #e0e0e0;
    font-size: 14px;
}

/* 团队下拉菜单头部样式 */
.team-dropdown-header {
    position: relative;
    margin-top: 30px;
    border-top: 1px solid #333333;
    width: 100%;
    padding-top: 15px;
    text-align: left;
    clear: both;
}

/* 所有队伍按钮样式 */
.all-teams-btn {
    background-color: transparent !important;
    border: 2px solid white !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    display: inline-block !important;
    font-weight: normal !important;
}

.all-teams-btn:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 20px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 60px);
    background-color: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
}

.mobile-menu.active {
    max-height: calc(100vh - 60px);
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
}

.mobile-nav-buttons .btn {
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-buttons {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }
}

.carousel-news-container {
    width: 100%;
    margin-top: 60px;
    padding: 0 40px;
    box-sizing: border-box;
    gap: 20px;
    display: block;
}

@media (min-width: 1451px) {
    .carousel-news-container {
        display: flex;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .carousel-container {
        flex: 2;
        overflow: hidden;
        background-color: #15151e;
        position: relative;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .news-container {
        flex: 1;
        min-width: 350px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

@media (min-width: 1600px) {
    .carousel-news-container {
        max-width: 1600px;
        padding: 0 40px;
    }
    
    .news-container {
        min-width: 400px;
    }
}

@media (max-width: 1450px) {
    .carousel-news-container {
        display: flex;
        flex-direction: column;
    }
    
    .carousel-container {
        width: 100%;
        overflow: hidden;
        background-color: #15151e;
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 20px;
    }
    
    .news-container {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
        gap: 15px;
    }
}

/* 小屏幕响应式样式 */
@media (max-width: 768px) {
    .carousel-news-container {
        padding: 0;
        margin-top: 10px;
    }
    
    .embla__button--prev {
        left: 3px;
    }
    
    .embla__button--next {
        right: 3px;
    }
}

/* 移动端菜单栏样式 */
.mobile-menu-footer {
    padding: 20px;
    margin-top: 20px;
}

.mobile-menu-time {
    text-align: center;
    color: #b0b0b0;
    font-size: 14px;
}

.news-item {
    display: flex;
    background-color: #1e1e28;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333333;
}

.news-item img {
    width: 100px;
    height: 100px;
    margin: 6px 0;
    object-fit: cover;
}

.news-content {
    flex: 1;
    padding: 10px;
}

.news-content h4 {
    margin: 0;
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.4;
}

.carousel-container .carousel {
    margin-top: 0;
    padding-top: 0;
}

.carousel {
    padding-bottom: 56.25%;
    height: 0;
    position: relative;
}

.embla {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.embla__viewport {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.embla__viewport.is-draggable {
    cursor: move;
    cursor: grab;
}

.embla__viewport.is-dragging {
    cursor: grabbing;
}

.embla__container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.embla__slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    overflow: hidden;
}

.embla__slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.embla__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.embla__button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.embla__button:disabled {
    opacity: 0.3;
    cursor: default;
}

.embla__button--prev {
    left: 10px;
}

.embla__button--next {
    right: 10px;
}

.embla__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.embla__dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    min-width: 8px;
    min-height: 8px;
    display: inline-block;
    box-sizing: border-box;
}

.embla__dot.is-selected {
    background-color: rgba(255, 255, 255, 0.95);
    transform: scale(1.1);
}

.embla__slide img {
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .ranking-container {
        flex-direction: column;
    }
    
    .live-embed-container {
        padding: 10px;
        box-sizing: border-box;
        width: 100%;
        margin: 0;
    }
    
    .video-container {
        padding-bottom: 75%;
        max-width: 100%;
        margin: 0;
    }
    
    .match-card {
        padding: 10px;
        box-sizing: border-box;
    }
    
    .ranking-section table {
        font-size: 0.875rem;
        width: 100%;
        table-layout: fixed;
    }
    
    .ranking-section th,
    .ranking-section td {
        padding: 6px 8px;
        font-size: 0.75rem;
    }
    
    .ranking-section th:nth-child(1),
    .ranking-section td:nth-child(1) {
        width: 50px;
    }
    
    .ranking-section th:nth-child(2),
    .ranking-section td:nth-child(2) {
        min-width: 150px;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .ranking-section th:nth-child(3),
    .ranking-section td:nth-child(3) {
        width: 80px;
    }
    
    .ranking-section th:nth-child(4),
    .ranking-section td:nth-child(4) {
        width: 70px;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .video-container {
        padding-bottom: 80%;
    }
    
    .ranking-section table {
        font-size: 0.75rem;
    }
    
    .ranking-section th,
    .ranking-section td {
        padding: 4px;
    }
}

@media (min-width: 1200px) {
    :root {
        font-size: 18px;
    }
}

@media (min-width: 1600px) {
    :root {
        font-size: 20px;
    }
}

.notification-bar {
    background: #1e1e28 !important;
    padding: 12px 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 10;
    position: relative;
    margin-top: 0;
}

.notification-container {
    position: relative;
    height: 24px;
    display: flex;
    align-items: center;
}

.notification-item {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.notification-icon {
    font-size: 16px;
}

.notification-text {
    color: #333 !important;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

@media (max-width: 768px) {
    .notification-bar {
        padding: 10px 15px;
    }
    
    .notification-text {
        font-size: 12px;
    }
    
    .notification-icon {
        font-size: 14px;
    }
}

.visitor-counter {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: white;
    color: #333;
    padding: 8px 14px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 12px;
    font-weight: 500;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: fadeInUp 0.5s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visitor-counter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.visitor-counter .icon {
    font-size: 14px;
    animation: pulse 2s infinite;
}

.visitor-counter .count {
    font-weight: bold;
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 768px) {
    .visitor-counter {
        bottom: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .visitor-counter .icon {
        font-size: 13px;
    }
    
    .visitor-counter .count {
        font-size: 12px;
    }
}

.match-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.match-status-style {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.refresh-match-btn {
    display: none !important;
}

.match-code-label {
    font-size: 0.5625rem;
    text-align: center;
    margin-top: 8px;
    padding-top: 5px;
    border-top: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
}

.live-status-container {
    flex-shrink: 0;
}

.small-text {
    font-size: 0.5625rem;
}

.medium-text {
    font-size: 0.9375rem;
}
