html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: black;
  font-family: Arial, sans-serif;
}

/* Playlist */
#player, #image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: black;
}
.hidden { display: none; }

/* Hava durumu */
#weather-box {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  min-width: 120px;
}
#weather-box h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #38bdf8;
}
#weather-temp { font-size: 28px; font-weight: bold; }
#weather-desc { font-size: 14px; }

#news-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: black;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 9999; /* her şeyin üstünde */
}

#news-items {
  white-space: nowrap;
  display: inline-block;
  animation: ticker 40s linear infinite;
}

#news-items span {
  padding-right: 100px;
}

.clock {
  position: absolute;
  right: 20px;
  bottom: 50%;
  transform: translateY(50%);
  font-weight: 700;
  font-size: 24px;
  color: #fff;                  /* yazı rengi beyaz */
  padding: 6px 12px;
  border-radius: 6px;
  text-align: right;
  min-width: 80px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .clock { font-size: 18px; }
}


@keyframes ticker {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
#screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
