:root {
  --bg: #0b1220;
  --panel: #121b2d;
  --line: #273247;
  --text: #e8eefc;
  --muted: #99a5c0;
  --accent: #4da3ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 20% -20%, #1c2b55, #050a15);
  color: var(--text);
  min-height: 100vh;
  padding: 24px 20px 40px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

h1 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.muted {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

button {
  border: 0;
  background: linear-gradient(135deg, #1e2c4e, #15203a);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(3, 6, 12, 0.55);
}


.list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.item,
.empty {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 35px rgba(3, 7, 15, 0.55);
}

.item {
  width: 100%;
  max-width: 780px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
}

.timecol {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #79d3ff, #4c7bff);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.vline {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, rgba(79, 167, 255, 0.5), transparent);
}

.ts {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hour-title {
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
  font-size: 18px;
}

.hour-thumb {
  width: min(100%, 210px);
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f192d;
}

.hour-thumb.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.hour-summary {
  margin: 0;
  color: #dfe6ff;
  font-size: 15px;
  line-height: 1.6;
}

.hour-sources-title {
  color: #c0d5ff;
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
}

.source-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.source-list li {
  color: #cbd5ef;
  line-height: 1.4;
}

.source-list a {
  color: #eaf2ff;
  text-decoration: none;
}

.source-list a:hover {
  text-decoration: underline;
  color: var(--accent);
}

.source-tag {
  margin-left: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .item {
    grid-template-columns: 1fr;
  }
  .timecol {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
  }
  .vline {
    display: none;
  }
  .hour-thumb {
    width: 100%;
    height: 140px;
  }
}
