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

body {
  font-family: 'Space Mono', monospace;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1a3e 50%, #0f0f4e 100%);
  color: #fff;
  height: 100vh;
  overflow: hidden;
}

/* 主容器 */
.container {
  display: flex;
  height: calc(100vh - 50px);
  max-height: calc(100vh - 50px);
  padding: 20px;
  padding-bottom: 60px;
  gap: 25px;
}

/* 左侧面板 */
.left-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.clock-wrapper {
  position: relative;
  text-align: center;
}

#clock {
  filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.3));
}

.time-digital {
  font-family: 'Orbitron', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: #0ff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  letter-spacing: 3px;
  margin-top: 15px;
}

.date-digital {
  font-size: 18px;
  color: #0f0;
  margin-top: 8px;
  letter-spacing: 2px;
}

/* 英国时间小卡 */
.uk-mini {
  position: absolute;
  top: 0;
  right: -10px;
  background: rgba(255, 136, 0, 0.15);
  border: 1px solid rgba(255, 136, 0, 0.3);
  border-radius: 10px;
  padding: 10px 15px;
}

.uk-label {
  font-size: 10px;
  color: #f80;
  letter-spacing: 1px;
}

.uk-time {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  color: #f80;
  font-weight: 700;
  margin-top: 5px;
}

/* 右侧面板 */
.right-panel {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
}

/* 天气盒子 */
.weather-box {
  background: rgba(0, 255, 255, 0.15);
  border: 2px solid rgba(0, 255, 255, 0.5);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 70px;
}

.weather-icon {
  font-size: 42px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.weather-data {
  flex: 1;
}

.temp-main {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  color: #0ff;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.temp-range {
  font-size: 15px;
  color: #f80;
  margin-top: 3px;
  font-weight: 500;
}

/* 日历盒子 */
.calendar-box {
  background: rgba(255, 136, 0, 0.1);
  border: 1px solid rgba(255, 136, 0, 0.3);
  border-radius: 12px;
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cal-title {
  font-size: 13px;
  color: #f80;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.cal-events {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.cal-event {
  background: rgba(255, 136, 0, 0.15);
  border-left: 3px solid #f80;
  padding: 10px 12px;
  border-radius: 6px;
}

.cal-event-name {
  font-size: 13px;
  color: #fff;
}

.cal-event-time {
  font-size: 11px;
  color: #f80;
  margin-top: 3px;
}

/* 走马灯 */
.marquee-box {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 255, 0, 0.1);
  border-top: 1px solid rgba(0, 255, 0, 0.3);
  padding: 12px 0;
  overflow: hidden;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-size: 16px;
  color: #0f0;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

@keyframes scroll {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* 全屏按钮 */
.fs-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 100;
}

.fs-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 滚动条隐藏 */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 136, 0, 0.3);
  border-radius: 2px;
}
