#pl_app_top {
  position: sticky;
  top: 0;
  z-index: 31;
  border-bottom: 1px solid #253d37;
  background: #111c23;
  color: #edf6f1;
}

#pl_app_top .pl-app-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  width: min(1360px, calc(100% - 28px));
  margin: 0 auto;
  padding: 8px 0;
}

#pl_app_top img { display: block; border-radius: 9px; }
#pl_app_top .pl-app-copy { min-width: 0; overflow-wrap: anywhere; }
#pl_app_top strong, #pl_app_top small { display: block; line-height: 1.3; }
#pl_app_top .pl-app-copy strong { font-size: 15px; }
#pl_app_top .pl-app-copy small { margin-top: 2px; color: #b0c4bf; font-size: 12px; }

:is(#pl_app_top, #pl_app_content) .pl-app-install {
  display: grid;
  place-content: center;
  min-height: 44px;
  padding: 4px 16px;
  border-radius: 9px;
  background: #55e8a6;
  color: #0a2b1c;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
}

:is(#pl_app_top, #pl_app_content) .pl-app-install small { font-size: 10px; }
:is(#pl_app_top, #pl_app_content) .pl-app-install:hover { background: #7cf2bd; }
#pl_app_top .pl-app-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c4d4cf;
  font: 24px/1 system-ui, sans-serif;
  cursor: pointer;
}

#pl_app_top .pl-app-close:hover { background: #22332f; }
:is(#pl_app_top, #pl_app_content) :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#pl_app_top ~ main.app > .topbar { top: var(--pl-app-top-height, 61px); }

@media (max-width: 768px) {
  #pl_app_top .pl-app-inner { width: calc(100% - 18px); gap: 8px; padding: 6px 0; }
  #pl_app_top img { width: 32px; height: 32px; }
  #pl_app_top .pl-app-copy small { font-size: 11px; }
  #pl_app_top .pl-app-install { padding-inline: 10px; font-size: 13px; }
}

#pl_app_content {
  container-type: inline-size;
  margin: 12px;
  padding: 14px;
  border: 1px solid #285143;
  border-radius: 12px;
  background: linear-gradient(135deg, #142922, #111c25);
  color: #edf6f1;
}

#pl_app_content .pl-content-inner {
  display: grid;
  grid-template-columns: minmax(110px, 184px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

#pl_app_content .pl-content-preview { min-width: 0; margin: 0; text-align: center; }
#pl_app_content .pl-content-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 7px;
  background: #0a1218;
}
#pl_app_content .pl-content-copy { min-width: 0; overflow-wrap: anywhere; }
#pl_app_content .pl-content-copy small { color: #78e6b5; font-size: 11px; font-weight: 700; }
#pl_app_content h2 { margin: 5px 0; color: #edf6f1; font-size: 18px; line-height: 1.35; }
#pl_app_content p { margin: 0; color: #b8c9c3; font-size: 13px; line-height: 1.5; }
#pl_app_content .pl-app-install { padding-inline: 14px; font-size: 15px; line-height: 1.3; }

@container (max-width: 440px) {
  #pl_app_content .pl-content-inner {
    grid-template-columns: minmax(82px, 112px) minmax(0, 1fr);
    gap: 8px 12px;
  }
  #pl_app_content .pl-content-preview { grid-row: 1 / 3; }
  #pl_app_content h2 { font-size: 16px; }
  #pl_app_content p { font-size: 12px; }
  #pl_app_content .pl-app-install { grid-column: 2; justify-self: start; max-width: 100%; font-size: 14px; }
}

@container (max-width: 280px) {
  #pl_app_content .pl-content-inner { grid-template-columns: 86px minmax(0, 1fr); }
}
