:root {
  --bg-blue: #000000;
  --card-bg: #7a0019;
  --accent-line: #c94a5f;
  --number: #ffc900;
  --text: #f0f0f0;
  --heading: #f0f0f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-blue);
  color: var(--heading);
  font-family: "Georgia", "Times New Roman", serif;
  min-height: 100vh;
}

.screen {
  max-width: 620px;
  margin: 0 auto;
  padding: 22px 16px 34px;
}

.topbar {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.date-title {
  margin: 20px 0 12px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.25);
}

.num {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--number);
  font-size: 34px;
  font-weight: 700;
}

.time {
  border-top: 2px solid var(--accent-line);
  color: var(--text);
  text-align: center;
  font-size: 18px;
  line-height: 1;
  padding: 10px 6px 12px;
  font-weight: 700;
}

.history-note {
  text-align: center;
  font-size: 14px;
  margin: 24px 0;
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 560px) {
  .screen {
    padding: 12px 10px 22px;
  }

  .topbar {
    margin-bottom: 18px;
  }

  .title {
    font-size: 20px;
  }

  .date-title {
    margin: 14px 0 10px;
    font-size: 18px;
  }

  .cards {
    gap: 8px;
    margin-bottom: 12px;
  }

  .num {
    font-size: 20px;
    height: 44px;
  }

  .time {
    font-size: 10px;
    padding: 8px 4px 9px;
  }
}
