body[data-page="home"] .quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2.5vw, 28px);
}

body[data-page="home"] .quick-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

body[data-page="home"] .quick-card:hover {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

body[data-page="home"] .quick-icon,
body[data-page="home"] .quick-card:nth-child(2) .quick-icon,
body[data-page="home"] .quick-card:nth-child(3) .quick-icon {
  position: relative;
  width: min(100%, 156px);
  height: auto;
  aspect-ratio: 1 / .98;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e9eae5;
  border-radius: clamp(19px, 3vw, 30px);
  background: #f7f7f4;
  color: #68705f;
  box-shadow: 0 14px 30px rgb(48 55 46 / 8%), inset 0 0 0 5px rgb(255 255 255 / 62%);
  transition: transform .18s ease, box-shadow .18s ease;
}

body[data-page="home"] .quick-icon::after {
  position: absolute;
  inset: 7px;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

body[data-page="home"] .quick-icon svg {
  width: clamp(34px, 5vw, 54px);
  height: clamp(34px, 5vw, 54px);
  stroke-width: 2.15;
  filter: drop-shadow(0 3px 5px currentColor);
}

body[data-page="home"] .quick-card:nth-child(1) .quick-icon {
  border-color: #dfe1e3;
  background: linear-gradient(145deg, #fff, #eceeef);
  color: #17191b;
  box-shadow: 0 15px 30px rgb(20 22 24 / 10%), inset 0 0 0 5px rgb(255 255 255 / 72%);
}

body[data-page="home"] .quick-card:nth-child(2) .quick-icon {
  border-color: #dfe1e3;
  background: linear-gradient(145deg, #fff, #eceeef);
  color: #17191b;
  box-shadow: 0 15px 30px rgb(20 22 24 / 10%), inset 0 0 0 5px rgb(255 255 255 / 72%);
}

body[data-page="home"] .quick-card:nth-child(3) .quick-icon {
  border-color: #dfe1e3;
  background: linear-gradient(145deg, #fff, #eceeef);
  color: #17191b;
  box-shadow: 0 15px 30px rgb(20 22 24 / 10%), inset 0 0 0 5px rgb(255 255 255 / 72%);
}

body[data-page="home"] .quick-card:nth-child(4) .quick-icon {
  border-color: #dfe1e3;
  background: linear-gradient(145deg, #fff, #eceeef);
  color: #17191b;
  box-shadow: 0 15px 30px rgb(20 22 24 / 10%), inset 0 0 0 5px rgb(255 255 255 / 72%);
}

body[data-page="home"] .quick-card strong {
  display: block;
  margin: 0;
  color: #292d28;
  font-size: clamp(13px, 1.7vw, 17px);
  font-weight: 500;
  line-height: 1.25;
}

body[data-page="home"] .quick-card small {
  display: none;
}

.profile-badge {
  display: none !important;
}

@media (max-width: 650px) {
  body[data-page="home"] .shell > main {
    padding-top: 0;
  }

  body[data-page="home"] .balance-card {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0;
    padding-right: 25px;
    padding-left: 25px;
  }

  body[data-page="home"] .quick-grid {
    gap: 6px;
    margin-right: -4px;
    margin-left: -4px;
  }

  body[data-page="home"] .quick-card {
    gap: 7px;
    padding: 0 2px;
  }

  body[data-page="home"] .quick-icon,
  body[data-page="home"] .quick-card:nth-child(2) .quick-icon,
  body[data-page="home"] .quick-card:nth-child(3) .quick-icon {
    width: min(100%, 52px) !important;
    height: 52px !important;
    aspect-ratio: auto;
    border-radius: 16px;
  }

  body[data-page="home"] .quick-icon svg {
    width: 29px;
    height: 29px;
  }

  body[data-page="home"] .quick-card strong {
    font-size: clamp(10px, 3vw, 12px);
  }
}

@media (max-width: 360px) {
  body[data-page="home"] .balance-card {
    padding-right: 18px;
    padding-left: 18px;
  }

  body[data-page="home"] .quick-grid {
    gap: 3px;
    margin-right: -6px;
    margin-left: -6px;
  }

  body[data-page="home"] .quick-icon,
  body[data-page="home"] .quick-card:nth-child(2) .quick-icon,
  body[data-page="home"] .quick-card:nth-child(3) .quick-icon {
    width: min(100%, 48px) !important;
    height: 48px !important;
    border-radius: 15px;
  }

  body[data-page="home"] .quick-icon svg {
    width: 27px;
    height: 27px;
  }
}
