body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #1a1a2e, #0f0f1a);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app {
  width: 90%;
  max-width: 360px;
  text-align: center;
}

h1 {
  font-size: 22px;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.birth-card {
  background: rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.birth-card.removed {
  display: none;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  margin-bottom: 12px;
}

button {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #8ec5fc, #e0c3fc);
  color: #000;
  cursor: pointer;
}

button:active {
  transform: scale(0.97);
}

.aura-text {
  margin: 20px 0 12px;
  font-size: 14px;
  opacity: 0.85;
}

#refresh {
  position: relative;
  z-index: 20;
}

/* タブ */
.tabs {
  display: flex;
  gap: 6px;
  margin: 16px 0;
}

.tab {
  flex: 1;
  padding: 8px 0;
  font-size: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: none;
  opacity: 0.6;
}

.tab.active {
  background: linear-gradient(135deg, #8ec5fc, #e0c3fc);
  color: #000;
  opacity: 1;
}

/* 結果 */
.result {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  animation: fadeIn 0.5s ease;
  pointer-events: none;
}

.result * {
  pointer-events: auto;
}

.hidden {
  display: none;
}

.fortune-block {
  display: none;
}

.fortune-block.active {
  display: block;
}

.stars {
  font-size: 18px;
  margin-bottom: 6px;
}

.text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 14px;
}

.item,
.color {
  font-size: 13px;
  opacity: 0.9;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}