/*
 * HbbTV: body arka planı şeffaf olmalı; aksi halde yayın görünmez.
 * Tüm koordinatlar 1280x720 referans çözünürlüğe göre.
 */
html,
body {
    margin: 0;
    padding: 0;
    width: 1280px;
    height: 720px;
    overflow: hidden;
    background-color: transparent;
    font-family: Tiresias, "Helvetica Neue", Arial, sans-serif;
}

#stage {
    position: absolute;
    left: 0;
    top: 0;
    width: 1280px;
    height: 720px;
    overflow: hidden;
}

#broadcast {
    position: absolute;
    left: 0;
    top: 0;
    width: 1280px;
    height: 720px;
}

#ad-banner {
    position: absolute;
    left: 0;
    top: 570px;
    width: 1280px;
    height: 150px;
    display: none;
    overflow: hidden;
    background-color: #000;
}

#debug-log {
    display: none;
    position: absolute;
    left: 20px;
    top: 100px;
    width: 760px;
    padding: 8px 10px;
    background-color: rgba(0, 0, 0, 0.75);
    color: #9effa0;
    font-family: "Courier New", monospace;
    font-size: 13px;
    line-height: 17px;
    word-wrap: break-word;
    z-index: 100;
}

/* ---------------- Tarayıcı demo modu ---------------- */

html.demo,
html.demo body {
    width: auto;
    height: auto;
    background-color: #0b0b0d;
}

html.demo #stage {
    background-color: #000;
    box-shadow: 0 0 0 1px #333;
}

#demo-tv {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 1280px;
    height: 720px;
    overflow: hidden;
    color: #fff;
    background: #1b3a5c;
    background: linear-gradient(135deg, #1b3a5c 0%, #3b6e8f 45%, #6a3b78 100%);
}

#demo-tv .demo-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#demo-tv .demo-label {
    position: absolute;
    left: 4%;
    top: 6%;
    padding: 6px 14px;
    background-color: #c0392b;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

#demo-tv .demo-clock {
    position: absolute;
    right: 4%;
    top: 6%;
    font-size: 40px;
    font-weight: bold;
}

/* Yayın alanının ölçeklendiğini görmek için kenar çerçevesi */
#demo-tv .demo-safe-frame {
    position: absolute;
    left: 2%;
    top: 2%;
    right: 2%;
    bottom: 2%;
    border: 2px dashed rgba(255, 255, 255, 0.35);
}

#demo-tv .demo-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4%;
    text-align: center;
    font-size: 20px;
    opacity: 0.8;
}
