/* Portable APP cards — works under any theme */
.yg-apps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 920px;
}
.yg-apps-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #E2E7ED;
}
.yg-apps-card__media { display: block; line-height: 0; }
.yg-apps-card__icon,
.yg-apps-card__icon--empty {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: #EAF0F6;
  display: block;
}
.yg-apps-card__title {
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.3;
}
.yg-apps-card__title a {
  color: #202832;
  text-decoration: none;
  font-weight: 700;
}
.yg-apps-card__meta {
  margin: 0;
  font-size: 0.8rem;
  color: #667085;
}
.yg-apps-card__bonus { color: #E11D2E; font-weight: 700; }
.yg-apps-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #111827;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
}
.yg-apps-empty { color: #667085; }

.yg-apps-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  color: #202832;
}
.yg-apps-wrap__title {
  margin: 0 0 8px;
  font-size: 1.6rem;
}
.yg-apps-wrap__sub {
  margin: 0 0 18px;
  color: #667085;
}
.yg-apps-single__top {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.yg-apps-single__icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: #EAF0F6;
}
.yg-apps-single__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
  padding: 0;
  list-style: none;
}
.yg-apps-single__stats li {
  background: #fff;
  border: 1px solid #E2E7ED;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.85rem;
}
.yg-apps-single__stats span {
  display: block;
  font-size: 0.7rem;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.yg-apps-single__dl {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 10px;
  background: #3978E8;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
}
.yg-apps-single__section {
  margin: 22px 0;
  padding-top: 16px;
  border-top: 1px solid #E2E7ED;
}
.yg-apps-single__section h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.yg-apps-single__section .content {
  line-height: 1.7;
  color: #2A3340;
  font-size: 0.95rem;
}

/* Extra sections accordion (_yg_extra_sections) */
.yg-apps-extra-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.yg-apps-extra-item {
  border: 1px solid #E2E7ED;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.yg-apps-extra-item__summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 650;
  font-size: 0.95rem;
  color: #202832;
}
.yg-apps-extra-item__summary::-webkit-details-marker { display: none; }
.yg-apps-extra-item__summary::before {
  content: "+";
  display: inline-block;
  width: 1.1em;
  color: #667085;
  font-weight: 700;
}
.yg-apps-extra-item[open] > .yg-apps-extra-item__summary::before { content: "–"; }
.yg-apps-extra-item__body {
  padding: 0 14px 14px;
  line-height: 1.7;
  color: #2A3340;
  font-size: 0.95rem;
  border-top: 1px solid #EEF2F6;
}

@media (max-width: 600px) {
  .yg-apps-card {
    grid-template-columns: 48px 1fr;
  }
  .yg-apps-card__btn {
    grid-column: 2;
    justify-self: start;
  }
}
