a{
    text-decoration: none;
    color: #ffffff;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    display: flex; 
    flex-direction: column; 
    height: 100vh; 
    justify-content: space-between;
}

.title-header img {
    display: block;
    width: 233px;
    height: 35px;
    object-fit: contain;
}

.title-header {
    color: #17a34a; 
    font-size: 1.5rem; 
    font-weight: bold;
}

.redes {
    margin-bottom: 0.35rem;
}

.prelogo {
    transition: all 0.15s ease-in-out; 
    border: 2px solid rgba(220, 38, 38, 0.5); 
}

.logodef {
    display: block; 
    transform: translateY(0);
}

.logo2 {
    width: 2rem; 
    height: 2rem;
}

footer {
    height: 2.5rem; 
    background-color: #1f2937; 
    color: white; 
    padding: 1rem 1.5rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;  
    margin-top: auto;
}

.footer-title {
    text-align: center; 
    font-size: 0.875rem;
}

.redes {
    display: flex; 
    justify-content: center; 
    gap: 1rem; 
    margin-top: 0.5rem;
}

.redes > li {
    list-style-type: none;
}

.red-item {
    color: inherit; 
    font-size: 0.875rem; 
    transition: color 0.15s ease-in-out;
}

header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0.5rem; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    background-color: white;
}

.main-frame {
    margin: 0.75rem auto 0.75rem auto; 
    height: auto; 
    width: 91.666667%; 
    max-width: 66.666667%;
}

#embedIframe  {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 220px;
    height: 56.25vw;
    max-height: 720px;
    aspect-ratio: 16/9;
    border: 0;
    background: #000;
}

#btnIframe {
    background-color: #17a34a; 
    color: white; 
    padding: 0.50rem 0.5rem; 
    border-radius: 0.5rem; 
    margin-top: 1rem; 
    margin-bottom: 0.5rem; 
    width: 100%; 
    transition: background-color 0.3s;
    border: none; 
    box-shadow: none; 
}

#btnIframe:hover {
    background-color: #17a34a;
    cursor: pointer;
}

.subiframe {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    border-radius: 1rem; 
    width: 100%; 
    margin: 20px auto; 
    margin-bottom: 1rem; 
    padding: 0.25rem; 
    background-color: #e5e7eb;
}

.preframe {
    border-radius: 0.5rem; 
    position: relative; 
    overflow: hidden; 
    width: 100%;
}

.centerfull {
    width: 100%; 
    text-align: center;
}

h1.title {
    color:#17a34a; 
    font-size: 1.75rem; 
    font-weight: bold;
}

h2.title {
    color:#17a34a; 
    font-size: 1.3rem; 
    font-weight: bold;
}

.margin-top-2 {
    margin-top:2.5rem;
}

@media (max-width: 768px) {
    .main-frame {
        max-width: 100%;
    }
    #embedIframe  {
        width: 100%;
        min-height: 220px;
        height: 56.25vw;
    }
}

.content-text {
    font-size: 1.125rem; 
    line-height: 1.6;
    text-align: left; 
}

@media (max-width: 600px) {
    #embedIframe {
        min-height: 220px;
        height: 56.25vw;
    }
}

/* Prevent any legacy player message overlay from being shown. */
#playerMessage { display:none !important; }

/* SportNexa Reload Page button */
.reload-page-wrap {
    width: 100%;
    margin: 20px 0 12px;
    padding: 0;
}

#reloadPageBtn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-radius: 6px;
    margin: 0;
    padding: 9px 20px;
    background: #17a34a;
    color: #fff;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s ease, transform .1s ease;
}

#reloadPageBtn:hover {
    background: #17a34a;
}

#reloadPageBtn:active {
    background: #15803d;
    transform: translateY(1px);
}

/* Notice below the player */
.stream-notice {
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0 20px;
    padding: 0 4px;
    text-align: center;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Initial iframe paint: prevent a white frame before the real player URL is assigned. */
#embedIframe {
    background-color: #000 !important;
    color-scheme: dark;
}

/* NO WHITE FLASH V4 */
html, body { background-color:#f5f6f8 !important; }
.preframe { background-color:#000 !important; }
#embedIframe { background-color:#000 !important; }
