body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #adb6c4;
  font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  color: #222;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: min(90vw, 360px);
  padding: 40px 0;
}

.line {
  position: relative;
  width: 100%;
  height: 50px;
  background: #fcfbf7;
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  clip-path: polygon(
    0 50%,
    10px 0,
    calc(100% - 10px) 0,
    100% 50%,
    calc(100% - 10px) 100%,
    10px 100%
  );
  transition: background 0.15s ease;
}

.line:has(.step:hover),
.line:has(.step:focus-visible) {
  background: #fff;
}

.step {
  height: 100%;
  background: none;
  border: 0;
  font: inherit;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.step:hover,
.step:focus-visible {
  color: #333;
  outline: none;
}

.text {
  text-align: center;
  font-size: 18px;
  user-select: text;
  padding: 0 4px;
}

.meta {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.meta button {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 6px 14px;
  font-family: sans-serif;
  font-size: 14px;
  color: #444;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.meta button:hover {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.haiku-id {
  margin: 10px 0 0;
  font-family: sans-serif;
  font-size: 13px;
  color: #555;
}

.nav-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 1000;
}

#about img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  transition: transform 0.2s ease;
}

#about:hover img {
  transform: scale(1.15);
}

.nav-links {
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  color: #666;
  text-align: center;
  font-family: sans-serif;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.nav-links:hover {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}
