/* Rippl' prototype — generated from Figma, layout is absolute per the design (430 × 932) */
html, body { margin: 0; height: 100%; }
body { background: transparent; }

.rp {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Noto Sans', 'Droid Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.rp-device {
  position: relative;
  flex: none;
  width: 430px;
  height: 932px;
  border-radius: 44px;
  overflow: hidden;
  background: #faf4e4;
  box-shadow: 0 0 0 10px #171515, 0 0 0 11px #3f3d39;
  transform-origin: center center;
  isolation: isolate;
}
.rp-screen, .rp-overlays { position: absolute; inset: 0; }
.rp-overlays { pointer-events: none; }
.rp-ov { position: absolute; inset: 0; pointer-events: auto; animation: rp-fadein .2s ease-out; }
.rp-frame { position: absolute; left: 0; top: 0; }
.rp-screen > .rp-frame { width: 100% !important; height: 100% !important; }
[hidden] { display: none !important; }

/* generated node boxes */
.rp .f { position: absolute; box-sizing: border-box; margin: 0; }
.rp .t { overflow-wrap: break-word; }
.rp .vg { display: contents; }
.rp .sc { position: absolute; inset: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.rp .sc::-webkit-scrollbar { display: none; }
.rp [data-ix] { cursor: pointer; }
.rp a { color: inherit; }

/* transitions */
@keyframes rp-fadein { from { opacity: 0; } }
@keyframes rp-up { from { transform: translateY(100%); } }
@keyframes rp-down { from { transform: translateY(-100%); } }
@keyframes rp-left { from { transform: translateX(100%); } }
@keyframes rp-right { from { transform: translateX(-100%); } }
.rp-fade { animation: rp-fadein .25s ease-out; }
.rp-in-up { animation: rp-up .3s cubic-bezier(0, 0, .58, 1); }
.rp-in-down { animation: rp-down .3s cubic-bezier(0, 0, .58, 1); }
.rp-in-left { animation: rp-left .3s cubic-bezier(0, 0, .58, 1); }
.rp-in-right { animation: rp-right .3s cubic-bezier(0, 0, .58, 1); }
@media (prefers-reduced-motion: reduce) {
  .rp-fade, .rp-in-up, .rp-in-down, .rp-in-left, .rp-in-right, .rp-ov { animation: none; }
}

/* On a real phone: fill the screen, no device frame (kept when embedded in an iframe) */
@media (max-width: 500px) {
  html:not(.rp-embed) .rp-device { border-radius: 0; box-shadow: none; }
}
.rp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
