main {
  width: var(--app-width);
  margin: var(--header-height) auto 0;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0px 20px 20px;
}
section{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
#user-name{
  width: 320px;
  margin: 0 auto;
  padding: 15px;
  text-align: center;
  font-size: 22px;
}
#affiliate-container{
  padding: 20px 10px;
  width: 100%;
}
#affiliate-container p{
  text-align: center;
  font-size: 22px;
  word-break: keep-all;
}
#affiliate-links{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  
}
.affiliate-link{
  display: block;
  padding: 10px 20px;
  border-radius: 5px;
  background: var(--site-color-1);
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}
#app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 300px;
  margin: 0 auto;
  align-content: start;
}

.app-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s, box-shadow 0.18s;
}

@media (hover: hover) {
  .app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  }
}

.app-card-name {
  font-size: 24px;
  text-align: center;
  color: #000;
  background: var(--site-color-1);
  padding: 14px 18px;
  line-height: 1.3;
  word-break: keep-all;
}

.app-card-explain {
  font-size: 22px;
  color: #555;
  padding: 12px 18px;
  line-height: 1.55;
  word-break: keep-all;
  min-height: 100px;
}

/* 썸네일 카드 */

.app-card--thumb .app-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
  overflow: hidden;
}

.app-card--thumb .app-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-card-name--thumb {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  background: #fff;
  padding: 12px 14px;
  line-height: 1.3;
  word-break: keep-all;
}