* {
  box-sizing: border-box;
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

[hidden] {
  display: none !important;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: #16202b;
  color: rgb(255, 244, 230);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

header {
  width: 100%;
  align-self: stretch;
  background-color: #1f2d3d;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

#header-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#title {
  font-size: 28px;
  font-weight: 700;
  color: #8fc3ea;
  text-decoration: none;
}

#user-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#user-name {
  color: #cfc6b9;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
}

footer {
  margin-top: auto;
}

a {
  color: #8fc3ea;
}

a:hover {
  color: #b9dbf4;
}

ul {
  max-width: 600px;
}

#error {
  color: #ff8a80;
  text-align: center;
}
