@charset "UTF-8";

.life-main{
  gap: 12px;
}

.life-title{
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  margin: 6px 0 2px;
}

/* 2つだけ出る切替ボタン */
.life-switch-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 2px 0 10px;
}

.life-switch-btn{
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(106, 44, 255, .10);
  color: #5a25e6;
  font-weight: 900;
  font-size: 14px;
}

.life-switch-btn:active{ transform: translateY(1px); }

.life-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.life-empty h2{
  margin: 6px 0 6px;
  font-size: 18px;
}

.life-empty p{
  margin: 0 0 10px;
  opacity: .75;
}

.life-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  text-decoration: none;
  color: #111;
  font-weight: 900;
}

.life-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.life-table th,
.life-table td{
  border: 1px solid rgba(0,0,0,.12);
  padding: 10px;
  vertical-align: top;
}

.life-table th{
  background: rgba(0,0,0,.04);
  font-weight: 900;
}

.life-cond{
  opacity: .65;
  font-weight: 800;
  margin-left: 6px;
  white-space: nowrap;
}