* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --sidebar-bg: #152233;
  --sidebar-accent: #ffffff;
  --bottombar-bg: #c3702f;
  --bottombar-accent: #ffffff;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #fff;
}

#app {
  width: 100vw;
  height: 100vh;
  display: flex;
}

/* ---------- Sidebar ---------- */
.sidebar {
  width: 23.5%;
  height: 100%;
  background: var(--sidebar-bg);
  color: var(--sidebar-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4% 6%;
  gap: 5%;
}

.logo-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6% 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

.logo-box img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}

.logo-box .logo-placeholder {
  font-size: 0.9vw;
  letter-spacing: 0.5px;
  opacity: 0.6;
}

.date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 4px;
}

.date-block .weekday {
  font-weight: 600;
  font-size: 1.25vw;
}

.date-block .city {
  font-size: 1.05vw;
  font-weight: 300;
  opacity: 0.85;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  width: 100%;
}

.weather-now {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.weather-icon-big { font-size: 2.6vw; }
.weather-temp { font-size: 2.1vw; font-weight: 200; letter-spacing: -1px; line-height: 1; }
.weather-cond { font-size: 1vw; font-weight: 300; opacity: 0.85; margin-top: 2px; }

.forecast-strip {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 10%;
}

.forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.85vw;
  opacity: 0.85;
}

.forecast-day .ic { font-size: 1.2vw; }
.forecast-day .d { font-weight: 600; letter-spacing: 0.3px; }
.forecast-day .t { opacity: 0.7; }

.sidebar-footer {
  margin-top: auto;
  font-size: 0.7vw;
  opacity: 0.4;
  letter-spacing: 0.5px;
}

/* ---------- Main column ---------- */
.main-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-area {
  flex: 1;
  background: #000;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-area video,
.video-area iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-area video {
  object-fit: contain;
}

.video-placeholder {
  color: #555;
  font-size: 1vw;
  letter-spacing: 0.5px;
}

.bottom-bar {
  height: 14%;
  background: var(--bottombar-bg);
  color: var(--bottombar-accent);
  display: flex;
  align-items: center;
  gap: 3%;
  padding: 0 2.5%;
}

.clock-chip {
  text-align: center;
  line-height: 1.05;
  padding-right: 3%;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.clock-chip .day { font-size: 2vw; font-weight: 700; }
.clock-chip .mon { font-size: 1vw; letter-spacing: 1px; opacity: 0.85; }
.clock-chip .time { font-size: 1.1vw; margin-top: 3px; opacity: 0.9; }

.news { font-size: 1.1vw; line-height: 1.4; overflow: hidden; }

.news .pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 0.75vw;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 4px;
}

.news .headline { font-weight: 600; font-size: 1.15vw; }
.news .desc { opacity: 0.85; font-size: 0.95vw; margin-top: 2px; }

.news-fade {
  animation: newsFade 0.5s ease;
}

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

.hidden-audio-frame {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
