*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}
html,
body{
    width:100%;
    min-height:100%;
    overflow-x:hidden;
    overflow-y:auto;
    background:#000;
    font-family:Arial, Helvetica, sans-serif;
    color:#fff;
}

.tv-app{
    width:100%;
    height:100%;
    background:#000;
}
.tv-stage{
    position:relative;
    width:100vw;
    height:100vh;
    overflow:hidden;
    background:#050505;
}


/* =========================
   SLIDES
========================= */
.slide-layer{
    position:absolute;
    inset:0;
    z-index:1;
    background:#000;
}

.slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .7s ease;
    overflow:hidden;
    background:#000 center center / cover no-repeat;
}

.slide.active{
    opacity:1;
    z-index:2;
}

.slide-media{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    background:#000;
}

/* =========================
   LOGO OBEN RECHTS
========================= */
.top-right-logo{
    position:absolute;
    top:22px;
    right:24px;
    z-index:20;
    width:170px;
    height:170px;
    display:flex;
    align-items:flex-start;
    justify-content:flex-end;
    pointer-events:none;
}

.top-right-logo img{
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
    display:block;
    filter:drop-shadow(0 8px 20px rgba(0,0,0,.45));
}

/* =========================
   UNTERE LEISTE
========================= */
.bottom-bar{
    position:absolute;
    left:16px;
    right:16px;
    bottom:14px;
    height:56px;
    display:flex;
    align-items:stretch;
    z-index:30;
    background:rgba(0,0,0,.30);
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
    border-radius:0;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.time-box{
    width:118px;
    min-width:118px;
    background:#050505;
    display:flex;
    align-items:center;
    justify-content:center;
    border-right:1px solid rgba(255,255,255,.06);
}

.time-box span{
    font-size:26px;
    line-height:1;
    font-weight:800;
    letter-spacing:.5px;
    color:#fff;
}

.ticker-label{
    width:175px;
    min-width:175px;
    background:#df0000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 12px;
}

.ticker-label span{
    font-size:16px;
    font-weight:900;
    color:#fff;
    text-transform:uppercase;
    letter-spacing:.5px;
    white-space:nowrap;
}

.ticker-label--small{
    min-width:175px;
    width:175px;
    justify-content:center;
}

.ticker-wrap{
    position:relative;
    flex:1;
    min-width:0;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,.95) 0%,
        rgba(3,6,15,.92) 20%,
        rgba(0,0,0,.90) 100%
    );
}

.ticker-wrap--with-weather{
    flex:1 1 auto;
    min-width:0;
}

.ticker-viewport{
    position:absolute;
    inset:0;
    overflow:hidden;
    display:flex;
    align-items:center;
}

.ticker-track{
    display:flex;
    align-items:center;
    white-space:nowrap;
    will-change:transform;
    transform:translate3d(0,0,0);
}

.ticker-content{
    display:inline-flex;
    align-items:center;
    white-space:nowrap;
    padding-right:70px;
    font-size:18px;
    font-weight:700;
    color:#f4f4f4;
    text-shadow:0 1px 2px rgba(0,0,0,.45);
}

.ticker-item{
    display:inline-flex;
    align-items:center;
    margin-right:0;
}

.ticker-separator{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-left:8px;
    margin-right:8px;
    color:#ff9e00;
    font-weight:900;
}

.weather-bar-box{
    width:280px;
    min-width:280px;
    max-width:280px;
    height:100%;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 12px;
    background:rgba(0,0,0,0.92);
    border-left:1px solid rgba(255,255,255,.08);
    overflow:hidden;
}

.weather-bar-title{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#ff9f1a;
    font-size:16px;
    font-weight:900;
    letter-spacing:.05em;
    text-transform:uppercase;
    line-height:1;
    white-space:nowrap;
}

.weather-bar-inner{
    min-width:0;
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    line-height:1;
    overflow:hidden;
}

.weather-bar-top{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:nowrap;
    white-space:nowrap;
    overflow:hidden;
    margin-bottom:2px;
    font-size:17px;
    line-height:1;
}

.weather-location,
.weather-sep,
.weather-temp{
    display:inline-flex;
    align-items:center;
    line-height:1;
    white-space:nowrap;
}

.weather-location{
    font-weight:900;
    color:#fff;
}

.weather-sep{
    font-weight:900;
    color:#fff;
    margin:0 1px;
}

.weather-temp{
    font-weight:900;
    color:#fff;
}

.weather-bar-bottom{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:nowrap;
    white-space:nowrap;
    overflow:hidden;
    gap:4px;
    line-height:1;
}

.weather-bar-icon{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    line-height:1;
    margin:0;
    padding:0;
}

.weather-bar-text{
    flex:1 1 auto;
    display:inline-block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#fff;
    font-size:17px;
    font-weight:900;
    line-height:1;
    margin:0;
    padding:0;
}

.hosted-box{
    width:190px;
    min-width:190px;
    background:#111;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border-left:1px solid rgba(255,255,255,.06);
    padding:4px 10px 3px;
}

.hosted-top{
    font-size:12px;
    line-height:1;
    font-weight:800;
    color:#cfcfcf;
    letter-spacing:1px;
    margin-bottom:4px;
    text-transform:uppercase;
}

.hosted-bottom{
    font-size:18px;
    line-height:1;
    font-weight:900;
    color:#ff7a00;
    text-transform:uppercase;
    letter-spacing:.6px;
}

/* =========================
   TABLET
========================= */
@media (max-width: 1100px){
    .top-right-logo{
        width:120px;
        height:120px;
        top:14px;
        right:14px;
    }

    .bottom-bar{
        left:10px;
        right:10px;
        bottom:10px;
        height:48px;
    }

    .time-box{
        width:94px;
        min-width:94px;
    }

    .time-box span{
        font-size:21px;
    }

    .ticker-label{
        width:135px;
        min-width:135px;
    }

    .ticker-label span{
        font-size:13px;
    }

    .ticker-content{
        font-size:15px;
        padding-right:90px;
    }

    .weather-bar-box{
        width:250px;
        min-width:250px;
        max-width:250px;
        padding:0 10px;
        gap:8px;
    }

    .weather-bar-title{
        font-size:14px;
    }

    .weather-bar-top{
        font-size:15px;
    }

    .weather-bar-icon{
        font-size:15px;
    }

    .weather-bar-text{
        font-size:15px;
    }

    .hosted-box{
        width:135px;
        min-width:135px;
    }

    .hosted-top{
        font-size:10px;
    }

    .hosted-bottom{
        font-size:14px;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px){
    body{
        overflow:auto;
    }

    .tv-stage{
        width:100vw;
        height:56.25vw;
        min-height:100vh;
    }

    .top-right-logo{
        width:95px;
        height:95px;
        top:10px;
        right:10px;
    }

    .bottom-bar{
        left:8px;
        right:8px;
        bottom:8px;
        height:44px;
    }

    .time-box{
        width:76px;
        min-width:76px;
    }

    .time-box span{
        font-size:18px;
    }

    .ticker-label{
        width:110px;
        min-width:110px;
        padding:0 8px;
    }

    .ticker-label span{
        font-size:11px;
    }

    .ticker-content{
        font-size:13px;
        padding-right:70px;
    }

    .weather-bar-box{
        width:205px;
        min-width:205px;
        max-width:205px;
        padding:0 8px;
        gap:6px;
    }

    .weather-bar-title{
        font-size:11px;
    }

    .weather-bar-top{
        font-size:12px;
        margin-bottom:1px;
    }

    .weather-bar-icon{
        font-size:12px;
    }

    .weather-bar-text{
        font-size:12px;
    }

    .hosted-box{
        width:110px;
        min-width:110px;
        padding:4px 8px;
    }

    .hosted-top{
        font-size:9px;
        margin-bottom:2px;
    }

    .hosted-bottom{
        font-size:11px;
    }
}