#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; }

#pl_app_top .pl-app-install {
  display: grid;
  place-content: center;
  min-height: 44px;
  padding: 4px 16px;
  border: 1px solid #8cf2c3;
  border-radius: 8px;
  background: #55e8a6;
  color: #0a2b1c;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
}

#pl_app_top .pl-app-install small { font-size: 10px; font-weight: 500; }
#pl_app_top .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 {
  width: calc(100% - 24px);
  margin: 12px;
}
