
/* Guaranteed Publication — full, correctly proportioned iPhone with a live Crypnot mobile viewport. */
.rk-guaranteed-phone {
  --rk-live-scale: .555;
  position: relative;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 236px !important;
  min-width: 0 !important;
  max-width: 236px !important;
  height: 512px !important;
  min-height: 512px !important;
  max-height: 512px !important;
  padding: 7px;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 38px !important;
  -webkit-border-radius: 38px !important;
  background: linear-gradient(160deg, #101114 0%, #34373d 34%, #151619 58%, #060606 100%);
  box-shadow:
    0 30px 58px rgba(0,0,0,.46),
    0 10px 16px rgba(0,0,0,.32),
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 1px 1px rgba(255,255,255,.22);
  overflow: visible;
}
.rk-guaranteed-phone::before,
.rk-guaranteed-phone::after {
  content: "";
  position: absolute;
  display: block;
  background: linear-gradient(180deg, rgba(82,85,92,.96), rgba(28,30,34,.96));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.rk-guaranteed-phone::before {
  width: 4px;
  height: 57px;
  left: -4px;
  top: 112px;
  border-radius: 4px 0 0 4px !important;
}
.rk-guaranteed-phone::after {
  width: 4px;
  height: 78px;
  right: -4px;
  top: 150px;
  border-radius: 0 4px 4px 0 !important;
}
.rk-guaranteed-phone__speaker {
  position: absolute;
  z-index: 6;
  top: 11px;
  left: 50%;
  width: 84px;
  height: 25px;
  transform: translateX(-50%);
  border-radius: 14px !important;
  -webkit-border-radius: 14px !important;
  background: linear-gradient(180deg, #030303, #111);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 1px 1px rgba(255,255,255,.04);
}
.rk-guaranteed-phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  border-radius: 31px !important;
  -webkit-border-radius: 31px !important;
  background: #0b0d12;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.07);
}
.rk-guaranteed-phone__screen::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 8px;
  width: 92px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px !important;
  -webkit-border-radius: 999px !important;
  background: rgba(0,0,0,.72);
  pointer-events: none;
}
.rk-live-mobile-chrome {
  position: relative;
  z-index: 2;
  padding: 10px 8px 7px;
  background: linear-gradient(180deg, #12151c 0%, #0b0d12 100%);
  border-bottom: 1px solid #252b36;
}
.rk-live-mobile-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 7px;
  color: #f4f7f2;
  font: 700 9px/1 Arial, sans-serif;
  letter-spacing: .01em;
}
.rk-live-mobile-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #bff747;
  font-size: 9px;
}
.rk-live-mobile-url {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 999px !important;
  -webkit-border-radius: 999px !important;
  background: linear-gradient(180deg, #202631, #171b23);
  color: #d6ddd2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(191,247,71,.12);
  font: 500 8px/1 Arial, sans-serif;
  white-space: nowrap;
}
.rk-live-mobile-url i { color: #bff747; font-size: 8px; }
.rk-live-mobile-url span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rk-live-mobile-viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #0b0d12;
}
.rk-live-mobile-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,13,18,0) 82%, rgba(11,13,18,.5) 94%, rgba(11,13,18,.96) 100%);
}
.rk-live-mobile-canvas {
  position: absolute;
  top: 0;
  left: 50%;
  width: 390px;
  height: 1400px;
  transform: translateX(-50%) translateY(0) scale(var(--rk-live-scale));
  transform-origin: top center;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.rk-live-mobile-canvas iframe {
  display: block;
  width: 390px;
  height: 1400px;
  border: 0;
  background: #0b0d12;
  pointer-events: none;
}
.rk-adv-preview.is-guaranteed-publication .rk-adv-guaranteed-stage {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 24px;
  overflow: hidden;
}
.rk-adv-preview.is-guaranteed-publication .rk-guaranteed-phone {
  flex: 0 0 auto;
}
.rk-adv-guaranteed-stage.is-reading .rk-live-mobile-canvas {
  animation: rk-live-decrypt-scroll 8s cubic-bezier(.42,0,.58,1) .15s infinite alternate;
}
@keyframes rk-live-decrypt-scroll {
  from { transform: translateX(-50%) translateY(0) scale(var(--rk-live-scale)); }
  to { transform: translateX(-50%) translateY(-360px) scale(var(--rk-live-scale)); }
}
@media (prefers-reduced-motion: reduce) {
  .rk-live-mobile-canvas { animation: none !important; }
}
@media (max-width: 900px) {
  .rk-guaranteed-phone {
    --rk-live-scale: .515;
    width: 220px !important;
    max-width: 220px !important;
    height: 478px !important;
    min-height: 478px !important;
    max-height: 478px !important;
  }
}
@media (max-width: 620px) {
  .rk-adv-preview.is-guaranteed-publication .rk-adv-guaranteed-stage { padding: 18px 12px; }
  .rk-guaranteed-phone {
    --rk-live-scale: .445;
    width: 192px !important;
    max-width: 192px !important;
    height: 416px !important;
    min-height: 416px !important;
    max-height: 416px !important;
    padding: 6px;
    border-radius: 32px !important;
    -webkit-border-radius: 32px !important;
  }
  .rk-guaranteed-phone__screen { border-radius: 26px !important; -webkit-border-radius: 26px !important; }
  .rk-guaranteed-phone__speaker { top: 9px; width: 72px; height: 22px; }
  .rk-live-mobile-status { padding-inline: 6px; font-size: 8px; }
  .rk-live-mobile-status-icons { gap: 4px; font-size: 8px; }
  .rk-live-mobile-url { min-height: 28px; font-size: 7px; }
  .rk-guaranteed-phone__screen::after { width: 78px; bottom: 7px; }
}
