/* PPB Studio rewarded ad sheet (ppb-ads.js, Dec 1, 2026), look «Чистый». Moved out of bridge.css: the deck builder and
   the editor both load it. */
.ppbs-back { position: fixed; inset: 0; z-index: 9999; background: rgba(17, 17, 17, .40); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ppbs-back[hidden] { display: none; }
.ppbs-sheet { position: relative; width: min(440px, 100%); background: #fff; color: #111; border-radius: 24px; padding: 26px 24px 22px; box-sizing: border-box;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); font: 500 15px/1.5 'PPB Manrope', 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.ppbs-sheet h3 { margin: 0 34px 8px 0; font-size: 20px; line-height: 1.25; font-weight: 700; }
.ppbs-sheet p { margin: 0 0 14px; color: #3f3f3c; }
.ppbs-small { font-size: 13px; color: #6b6b66 !important; margin: 12px 0 0 !important; }
.ppbs-small a { color: #0e7468; }
.ppbs-x { position: absolute; top: 14px; right: 14px; border: 0; background: #f6f5f2; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; color: #3f3f3c; }
.ppbs-x:hover { background: #ecebe6; }
.ppbs-go { border: 0; background: #0e7468; color: #fff; border-radius: 12px; padding: 11px 18px; font: 700 15px/1.2 inherit; font-family: inherit; cursor: pointer; }
.ppbs-go:hover { background: #0b5f56; }
.ppbs-spin { display: inline-block; width: 16px; height: 16px; margin: 0 8px -3px 0; border: 2px solid #d4d3cd; border-top-color: #0e7468; border-radius: 50%; animation: ppbs-spin 1s linear infinite; }
@keyframes ppbs-spin { to { transform: rotate(360deg); } }
/* two actions side by side: the main one, then a quiet one (a link to the templates, «Понятно») */
.ppbs-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ppbs-alt { display: inline-block; border: 1.5px solid #d4d3cd; background: #fff; color: #111; border-radius: 12px; padding: 9.5px 16px; font: 700 15px/1.2 inherit; font-family: inherit;
  cursor: pointer; text-decoration: none; }
.ppbs-alt:hover { background: #f6f5f2; }
@media (max-width: 420px) { .ppbs-acts > * { flex: 1 1 100%; text-align: center; } }
/* the editor's display banner (ppb-ads.js banner(), Dec 1, 2026): the bottom of the side panel, under the tab's content,
   never over the canvas; one small «Реклама» label, nothing that moves except the swap on a refresh */
.ppbad-slot { flex: none; padding: 8px 10px 10px; border-top: 1px solid #e3e5e8; background: #fff; font-family: 'PPB Manrope', 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.ppbad-slot[hidden], .ppbad-slot.ppbad-off { display: none; }
.ppbad-label { margin: 0 0 6px 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a8d93; }
.ppbad-frame { min-height: 250px; display: flex; align-items: flex-start; justify-content: center; }
.ppbad-frame > div { width: 100%; }
@media print { .ppbad-slot { display: none; } }
