* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5f7f2;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}

.app {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: #ffffff;
  overflow: hidden;
  padding-bottom: 110px;
}
.header-area img {
  width: 100%;
  display: block;
}

.card-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 12px;
  margin-top: -340px;
  position: relative;
  z-index: 10;
}

.card {

  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;

}

.card img {

  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

}
.today-step-area {
  padding: 0 12px;
  margin-top: 14px;
  position: relative;
  z-index: 10;
}

.today-step-area img {

  width: 100%;
  display: block;
  border-radius: 20px;

}

.bottom-nav {

  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 9999;

}

.bottom-nav img {

  width: 100%;
  display: block;

}
@media (max-width:390px) {

    .card-area{
        margin-top:-310px;
    }

}
.card {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.health-page {
  padding: 24px 18px 110px;
  background: #f7faf7;
}

.health-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.back-btn {
  text-decoration: none;
  color: #178542;
  font-size: 28px;
  font-weight: 700;
}

.health-header h1 {
  margin: 0;
  font-size: 28px;
  color: #145c32;
}

.health-content {
  background: #ffffff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.health-content h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.health-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}
.health-top img{
    width:100%;
    display:block;
}

.health-body{
    padding:12px;
    padding-bottom:110px;
}
.input-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.input-card h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.bp-row {
  display: flex;
  gap: 12px;
}

.input-box {
  flex: 1;
  background: #f9faf9;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}

.input-box label {
  display: block;
  font-size: 14px;
  color: #d33;
  margin-bottom: 8px;
  font-weight: 700;
}

.input-box input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 28px;
  text-align: center;
  outline: none;
}

.input-box span {
  font-size: 13px;
  color: #555;
}
.health-top {
  height: 360px;
  overflow: hidden;
}

.health-top img {
  width: 100%;
  display: block;
}

.health-page {
  overflow-y: auto;
}
.health-body {
  padding: 12px 14px 120px;
}

.health-input-panel {
  background: #ffffff;
  border-radius: 26px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.input-section {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #eeeeee;
}

.input-section h2 {
  margin: 0 0 14px;
  font-size: 20px;
  color: #111;
}

.input-section small {
  font-size: 14px;
  color: #555;
}

.bp-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-box {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  padding: 12px 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.input-box label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #d33;
  margin-bottom: 6px;
}

.input-box .blue-label {
  color: #1d5fbf;
}

.input-box input {
  width: 100%;
  border: none;
  outline: none;
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  background: transparent;
  color: #111;
}

.input-box span {
  display: block;
  font-size: 13px;
  color: #333;
}

.slash {
  font-size: 30px;
  font-weight: 600;
  color: #555;
}

.single-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.single-input input {
  width: 70%;
  border: none;
  outline: none;
  font-size: 30px;
  font-weight: 600;
  background: transparent;
  color: #111;
}

.single-input span {
  font-size: 16px;
  color: #333;
}

.mood-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.mood-row button {
  flex: 1;
  border: none;
  background: #f7faf7;
  border-radius: 18px;
  padding: 8px 4px;
  font-size: 26px;
}

.mood-row button span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #222;
}

textarea {
  width: 100%;
  height: 120px;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  padding: 14px;
  font-size: 16px;
  resize: none;
  outline: none;
}

.text-count {
  text-align: right;
  font-size: 13px;
  color: #777;
  margin-top: 6px;
}

.save-btn {
  width: 100%;
  height: 58px;
  border: none;
  border-radius: 18px;
  background: #2eb765;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(46,183,101,0.35);
}

.safe-text {
  margin: 12px 0 0;
  text-align: center;
  font-size: 14px;
  color: #777;
}