body .pc-app-store-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(740px, calc(100% - 24px));
  max-height: min(90vh, 840px);
  max-height: min(90dvh, 840px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #d1ddf4;
  border-radius: 18px;
  background: #fff;
  color: #142849;
  box-shadow: 0 18px 56px #172c5a38;
  z-index: 12000;
}
body .pc-app-store-dialog::backdrop { background: #14284978; }
body .pc-app-store-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 19px 22px 17px;
  background: #edf4ff;
  border-bottom: 1px solid #d1ddf4;
}
body .pc-app-store-kicker { display:block; color:#365a91; font-size:11px; font-weight:800; letter-spacing:.08em; }
body .pc-app-store-dialog-head h2 { margin:4px 0 0; color:#142849; font-size:clamp(18px, 4vw, 24px); line-height:1.15; }
body .pc-app-store-dismiss {
  display:grid;
  place-items:center;
  flex:0 0 42px;
  width:42px;
  height:42px;
  min-height:42px;
  padding:0;
  border:1px solid #b4c8ea;
  border-radius:12px;
  background:#fff;
  color:#21467e;
  font-size:26px;
  line-height:1;
}
body .pc-app-store-dialog-body { padding:16px 22px 22px; }
body .pc-app-store-note { margin:0 0 14px; color:#405775; line-height:1.5; }
body .pc-app-store-codes { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(184px,100%),1fr)); gap:12px; }
body .pc-app-store-code {
  display:grid;
  justify-items:center;
  gap:4px;
  padding:13px 9px 11px;
  border:1px solid #d5e1f6;
  border-radius:13px;
  background:#f7faff;
  color:#1f3f72;
  text-align:center;
}
body .pc-app-store-code b { font-size:16px; }
body .pc-app-store-code small { color:#49617f; }
body .pc-app-store-code img { display:block; width:min(100%,200px); height:auto; aspect-ratio:1; margin:4px auto; border-radius:5px; background:#fff; }
body .pc-app-store-link { display:inline-flex; align-items:center; min-height:40px; padding:3px 7px; color:#22529c; font-weight:700; text-underline-offset:2px; }
body .pc-app-store-status { margin:0; color:#2b4d83; }
body .pc-app-store-status[role="alert"] { color:#922432; }

body .pc-app-store-settings { display:grid; gap:14px; }
body .pc-app-store-settings-card { padding:16px; border:1px solid #d5e1f6; border-radius:14px; background:#f7faff; }
body .pc-app-store-settings-card h3 { margin:0 0 8px; color:#1c3d73; font-size:17px; }
body .pc-app-store-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr)); gap:11px; }
body .pc-app-store-field { display:grid; gap:5px; min-width:0; color:#314d77; }
body .pc-app-store-field input { box-sizing:border-box; width:100%; min-width:0; min-height:44px; }
body .pc-app-store-settings-actions { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin-top:12px; }
body .pc-app-store-settings-actions button, body .pc-app-store-video-settings button { min-height:42px; }
body .pc-app-store-settings-actions .pc-app-store-status { flex:1 1 220px; }
body .pc-app-store-settings-actions .pc-app-store-status:empty { display:none; }

@media (max-width:450px) {
  body .pc-app-store-dialog-head, body .pc-app-store-dialog-body { padding-inline:13px; }
  body .pc-app-store-codes { grid-template-columns:1fr; }
  body .pc-app-store-code img { width:min(100%,180px); }
}
