* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}
header {
  background: #222;
  color: #fff;
  padding: 1rem;
}
header h1 {
  margin-bottom: 0.5rem;
}
nav a {
  color: #fff;
  margin-right: 1rem;
  text-decoration: none;
}
main {
  padding: 2rem;
}
.intro, .highlight {
  margin-bottom: 2rem;
}
.project-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.project-card {
  background: #fff;
  padding: 1rem;
  border: 1px solid #ccc;
  flex: 1 1 45%;
}
footer {
  text-align: center;
  padding: 1rem;
  background: #222;
  color: #fff;
  margin-top: 2rem;
}
.ttt-grid {
  display: grid;
  grid-template-columns: repeat(3, 80px);
  grid-template-rows: repeat(3, 80px);
  gap: 5px;
  margin: 1rem 0;
}
.ttt-grid div {
  width: 80px;
  height: 80px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border: 2px solid #ccc;
  cursor: pointer;
}
.ttt-grid div.taken {
  pointer-events: none;
  background: #ddd;
}

.risk-bar {
  position: relative;
  height: 10px;
  background: #eee;
  border-radius: 5px;
  margin: 1rem 0;
}

.risk-fill {
  height: 100%;
  background: #4a90e2;
  border-radius: 5px;
}

.risk-threshold {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: red;
}