:root {
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  color: #eaf6f7;
  background: #06101a;
  --riverside: #07514e;
  --riverside-dark: #033c3a;
  --aqua: #74ddd5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  padding: 20px 18px 42px;
  overflow-x: hidden;
  overflow-y: auto;
  color: #eaf6f7;
  background:
    radial-gradient(circle at 14% 10%, rgb(35 83 116 / 72%) 0, transparent 34%),
    linear-gradient(155deg, #091727 0%, #050b13 46%, #02060b 100%);
}

.simulator-shell {
  width: min(1380px, 100%);
  margin: 0 auto;
}

.sim-header {
  position: relative;
  z-index: 40;
  margin-bottom: 16px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 8px;
  color: #85e8e0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

h1 {
  margin-bottom: 8px;
  color: #f5fbff;
  font-size: clamp(22px, 3vw, 36px);
}

.status-line {
  color: #b6c9d7;
  font-size: 13px;
  line-height: 1.4;
}

.experience-stage {
  position: relative;
  min-height: clamp(570px, 57vw, 720px);
  overflow: visible;
  perspective: 1600px;
  isolation: isolate;
}

.floor-shadow {
  position: absolute;
  z-index: -1;
  right: 2%;
  bottom: 0;
  width: 42%;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(0 0 0 / 82%) 0, transparent 70%);
  filter: blur(18px);
}

.shop-window {
  position: relative;
  width: min(100%, 1240px);
  aspect-ratio: 1672 / 941;
  margin: 0 auto;
  overflow: visible;
  transform-style: preserve-3d;
  background: url("assets/screenz-shop-window-environment.webp") center / cover no-repeat;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 5px;
  box-shadow:
    0 34px 74px rgb(0 0 0 / 58%),
    0 0 0 1px rgb(4 11 17 / 74%);
}

.shop-window::before {
  content: "STREET SIDE";
  position: absolute;
  z-index: 5;
  left: 2.2%;
  bottom: 2.8%;
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  color: rgb(255 255 255 / 68%);
  background: rgb(4 10 15 / 48%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  backdrop-filter: blur(5px);
}

.shopfront-glow,
.shopfront-rim {
  display: none;
}

.shop-window-glass {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 5%, rgb(255 255 255 / 9%) 14%, transparent 25%),
    linear-gradient(112deg, transparent 61%, rgb(176 221 236 / 7%) 67%, transparent 73%);
  opacity: 0.62;
}

.shop-window-glass::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 29.4%;
  width: 2px;
  background: linear-gradient(180deg, rgb(255 255 255 / 18%), rgb(255 255 255 / 3%));
  box-shadow: 386px 0 0 rgb(255 255 255 / 7%);
}

.tv {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.tv-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
}

.tv-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: transparent;
  clip-path: polygon(47.55% 22.55%, 84.95% 16.35%, 84.95% 60.05%, 47.55% 57.65%);
}

.tv-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(0);
  transition:
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.tv-layer.enter-from-right {
  transform: translateX(2.2%);
}

.tv-layer.enter-from-left {
  transform: translateX(-2.2%);
}

.tv-layer.active {
  z-index: 3;
  opacity: 1;
  transform: translateX(0);
}

.tv-layer.active.exit-to-left {
  opacity: 0;
  transform: translateX(-2.2%);
}

.tv-layer.active.exit-to-right {
  opacity: 0;
  transform: translateX(2.2%);
}

.tv-speaker,
.tv-brand,
.tv-floor-glow {
  display: none;
}

.phone-wrap {
  position: absolute;
  z-index: 30;
  right: auto;
  left: 8%;
  bottom: -2.8%;
  transform: perspective(1300px) translateZ(170px) rotateX(18deg) rotateY(17deg) rotateZ(5deg);
  transform-origin: center bottom;
  transform-style: preserve-3d;
  isolation: isolate;
  filter: drop-shadow(0 34px 30px rgb(0 0 0 / 62%));
}

.phone-wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 9%;
  right: -8%;
  bottom: -4%;
  height: 10%;
  border-radius: 50%;
  background: rgb(0 0 0 / 64%);
  filter: blur(13px);
}

.phone {
  position: relative;
  width: 276px;
  aspect-ratio: 390 / 844;
  overflow: visible;
  border: 7px solid #13191d;
  border-radius: 42px;
  background: #f4f7f8;
  box-shadow:
    inset 0 0 0 2px rgb(255 255 255 / 34%),
    0 0 0 1px #51616b,
    0 30px 55px rgb(0 0 0 / 62%);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 50;
  top: 8px;
  left: 50%;
  width: 72px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b1013;
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 10%);
  pointer-events: none;
}

.phone::after {
  content: "";
  position: absolute;
  z-index: 50;
  bottom: 5px;
  left: 50%;
  width: 82px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgb(12 22 26 / 78%);
  pointer-events: none;
}

.phone-screen {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  overflow: hidden;
  padding: 34px 9px 15px;
  border-radius: 34px;
  color: #637079;
  background:
    radial-gradient(circle at 90% 8%, rgb(113 221 211 / 24%), transparent 22%),
    linear-gradient(180deg, #f8fafb 0%, #eef3f4 100%);
}

.phone-status {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 13px;
  color: #f7ffff;
  background: linear-gradient(135deg, var(--riverside), var(--riverside-dark));
  box-shadow: 0 7px 16px rgb(1 57 54 / 18%);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.remote-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.08em;
}

.remote-brand img {
  width: 92px;
  height: 28px;
  object-fit: contain;
}

.remote-brand > span,
#remote-connection {
  display: none;
}

#remote-connection {
  max-width: 112px;
  text-align: right;
  line-height: 1.15;
  opacity: 0.82;
}

.take-control-btn {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #159b91, #08736d);
  box-shadow: 0 8px 18px rgb(7 115 109 / 24%);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.take-control-screen {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 12px;
}

.screenz-powered-by {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid #dce6e7;
  border-radius: 999px;
  color: #7a878d;
  background: rgb(255 255 255 / 76%);
  font-size: 8px;
}

.screenz-powered-by img {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.screenz-powered-by strong {
  color: var(--riverside);
}

.language-option {
  display: grid;
  flex: 1;
  min-height: 0;
  place-content: center;
  justify-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 88%);
  border-radius: 23px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 15px 32px rgb(31 62 68 / 13%);
}

.language-option p {
  color: #213f42;
  font-size: 12px;
  font-weight: 800;
}

.remote-language-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 19px;
  background: rgb(7 81 78 / 10%);
}

.remote-language-icon::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 22px;
  width: 20px;
  height: 32px;
  border: 3px solid var(--riverside);
  border-radius: 6px;
}

.remote-language-icon::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 30px;
  width: 18px;
  height: 13px;
  border-top: 3px solid var(--riverside);
  border-radius: 50%;
  transform: rotate(42deg);
}

.remote-language-icon span {
  position: absolute;
  z-index: 2;
  right: 23px;
  bottom: 21px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--riverside);
  box-shadow: 0 -9px 0 var(--riverside);
}

.take-control-screen .take-control-btn {
  min-width: 150px;
}

.take-control-footer {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--riverside);
  box-shadow: 0 8px 18px rgb(7 81 78 / 24%);
  font-size: 21px;
}

.take-control-btn.is-active {
  color: #d8fffa;
  background: #0b5f5a;
  box-shadow: none;
}

.phone-screen-content {
  display: none;
  min-height: 0;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.phone.has-control .take-control-screen {
  display: none;
}

.phone.has-control .phone-screen-content {
  display: flex;
}

/* Local copy of the production Screenz remote presentation. */
.phone.has-control .phone-status {
  display: none;
}

.phone.has-control .phone-screen {
  display: block;
  padding: 0;
  background:
    radial-gradient(circle at 10% -10%, rgb(7 81 78 / 16%), transparent 210px),
    radial-gradient(circle at 105% 90%, rgb(7 81 78 / 10%), transparent 190px),
    #f4f6fb;
}

.phone .screenz-modern-remote.screenz-control-screen {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 9px 9px 78px;
  overflow: hidden;
  color: #151a26;
  font-family: "Segoe UI", sans-serif;
}

.phone .screenz-control-header {
  position: relative;
  z-index: 10;
  flex: 0 0 48px;
  width: 100%;
  height: 48px;
  margin: 0 0 8px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 16px;
  color: #fff;
  background: #07514e;
  box-shadow: 0 9px 22px rgb(7 81 78 / 22%);
}

.phone .screenz-control-header::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 88% -60%, rgb(255 255 255 / 30%), transparent 48%),
    linear-gradient(125deg, transparent, rgb(0 0 0 / 8%));
}

.phone .screenz-control-header-toolbar {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
}

.phone .screenz-riverside-logo {
  display: block;
  width: 74px;
  max-height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
}

.phone .screenz-current-slide-title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 9px;
  font-weight: 760;
  line-height: 1.2;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone .screenz-control-stage {
  width: 100%;
  min-height: 0;
  flex: 1;
}

.phone .screenz-carousel,
.phone .screenz-carousel > div {
  height: 100%;
  overflow: hidden;
  border-radius: 19px;
}

.phone .screenz-carousel {
  position: relative;
  touch-action: pan-y;
}

.phone .screenz-carousel > div {
  box-shadow: 0 12px 30px rgb(20 28 45 / 12%);
}

.phone .screenz-slide-card {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 19px;
  background: rgb(255 255 255 / 94%);
}

.phone .screenz-slide-content {
  display: grid;
  height: 100%;
  grid-template-rows: minmax(0, 1fr) 38px 58px;
  gap: 5px;
  padding: 13px;
  overflow: hidden;
}

.phone .screenz-slide-media-slot {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: auto;
  order: initial;
}

.phone .screenz-slide-preview {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  border: 1px solid rgb(21 26 38 / 9%);
  border-radius: 12px;
  background: #eef1f6;
  box-shadow: 0 8px 24px rgb(20 28 45 / 13%);
  object-fit: contain;
}

.phone .screenz-slide-action-slot {
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone .screenz-slide-link {
  width: auto;
  max-width: 100%;
  min-height: 30px;
  padding: 7px 14px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  color: #151a26;
  background: rgb(21 26 38 / 7%);
  font-size: 9px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.phone .screenz-slide-description {
  width: 100%;
  height: 58px;
  overflow-y: auto;
  color: #697386;
  font-size: 9px;
  line-height: 1.42;
  text-align: center;
}

.phone .screenz-control-dock {
  position: absolute;
  z-index: 40;
  display: block;
  right: 9px;
  bottom: 9px;
  left: 9px;
  order: initial;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 18px;
  background: #07514e;
  box-shadow: 0 14px 32px rgb(20 28 45 / 20%);
}

.phone .screenz-control-dock-toolbar {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
}

.phone .screenz-control-button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgb(255 255 255 / 12%);
  font-size: 16px;
}

.phone .screenz-dock-spacer {
  flex: 1;
  order: 2;
}

.phone .screenz-control-button.power { order: 0; }
.phone .screenz-control-button.navigation { order: 1; }
.phone .screenz-control-button.share { order: 3; }

.phone .screenz-control-dock .screenz-control-button.share {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 8px;
  margin: 0;
}

.tv-like-indicator {
  position: absolute;
  z-index: 8;
  top: 49.5%;
  left: 80.2%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  opacity: 0;
  color: #ef476f;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 8px 22px rgb(0 0 0 / 32%);
  transform: rotate(-4deg) scale(0.65);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tv-like-indicator svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.tv-like-indicator.active {
  opacity: 1;
  transform: rotate(-4deg) scale(1);
  animation: tv-heart-pop 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes tv-heart-pop {
  0% { transform: rotate(-4deg) scale(0.55); }
  65% { transform: rotate(-4deg) scale(1.16); }
  100% { transform: rotate(-4deg) scale(1); }
}

.phone .screenz-like-button {
  position: absolute;
  z-index: 2;
  top: -22px;
  right: 0;
  left: 0;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  border: 4px solid #f4f6fb;
  color: #151a26;
  background: #fff;
  box-shadow: 0 9px 22px rgb(20 28 45 / 24%);
  font-size: 18px;
}

.phone .screenz-like-button.active {
  color: #ef476f;
}

.phone .screenz-like-button:not(.active) svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.phone .screenz-like-button.active svg path {
  fill: currentColor;
  stroke: none;
}

.phone .screenz-control-screen > .phone-progress-wrap,
.phone .screenz-control-screen > .phone-dots,
.phone .screenz-control-screen > .phone-hint {
  display: none;
}

.phone .screenz-control-screen > .phone-nav-title,
.phone .screenz-control-screen > .phone-nav-list {
  order: initial;
}

/* Animated Riverside display plane: transition first, then internal motion. */
.tv-plane {
  position: absolute;
  top: 0;
  left: 0;
  width: 1000px;
  height: 562.5px;
  overflow: hidden;
  transform-origin: 0 0;
  background: #052f35;
}

.live-slide-scene {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #f7f4ec;
  background: #052f35;
  font-family: "Trebuchet MS", sans-serif;
}

.live-slide-photo {
  position: absolute;
  inset: -3%;
  background-position: center;
  background-size: cover;
  animation: riverside-photo-drift 16s ease-out both;
  animation-play-state: paused;
}

.live-slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(5 47 53 / 97%) 0%, rgb(5 47 53 / 82%) 38%, rgb(5 47 53 / 16%) 70%, transparent 100%),
    linear-gradient(0deg, rgb(4 31 36 / 75%), transparent 50%);
}

.live-slide-content {
  position: absolute;
  z-index: 2;
  top: 19.8%;
  left: 6.04%;
  width: 72%;
}

.live-slide-pill {
  display: inline-flex;
  min-width: 188px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 18px;
  color: #073b3a;
  background: #7ee0d2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  animation: riverside-slide-right 0.8s 0.2s both paused;
}

.live-slide-eyebrow {
  margin: 20px 0 5px;
  color: #7ee0d2;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3.4px;
  animation: riverside-dissolve 0.85s 0.5s both paused;
}

.live-slide-title {
  max-width: 74%;
  margin: 0;
  font-size: 42px;
  line-height: 1.3;
  letter-spacing: -1px;
  text-shadow: 0 7px 16px rgb(0 0 0 / 30%);
}

.live-slide-title span {
  display: block;
  animation: riverside-slide-right 0.95s both paused;
}

.live-slide-title span:first-child { animation-delay: 0.62s; }
.live-slide-title span:last-child { color: #7ee0d2; animation-delay: 0.8s; }

.live-slide-rule {
  width: 63px;
  height: 6px;
  margin: 57px 0 15px;
  border-radius: 4px;
  background: #ff7b61;
  transform-origin: left;
  animation: riverside-grow 0.8s 0.98s both paused;
}

.live-slide-lead {
  max-width: 72%;
  margin: 0;
  color: #f4e9d7;
  font-size: 17px;
  line-height: 1.35;
  animation: riverside-dissolve 1s 1.12s both paused;
}

.live-slide-brand {
  position: absolute;
  z-index: 3;
  bottom: 9.7%;
  left: 6.04%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  animation: riverside-dissolve 1s 1.28s both paused;
}

.live-slide-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.tv-layer.internal-motion .live-slide-photo,
.tv-layer.internal-motion .live-slide-pill,
.tv-layer.internal-motion .live-slide-eyebrow,
.tv-layer.internal-motion .live-slide-title span,
.tv-layer.internal-motion .live-slide-rule,
.tv-layer.internal-motion .live-slide-lead,
.tv-layer.internal-motion .live-slide-brand {
  animation-play-state: running;
}

@keyframes riverside-photo-drift {
  from { transform: scale(1.04) translateX(-1%); }
  to { transform: scale(1.12) translate(1.5%, -1%); }
}

@keyframes riverside-slide-right {
  from { opacity: 0; transform: translateX(-70px); }
  to { opacity: 1; transform: none; }
}

@keyframes riverside-dissolve {
  from { opacity: 0; filter: blur(8px); }
  to { opacity: 1; filter: none; }
}

@keyframes riverside-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

#phone-image.screenz-slide-preview {
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.phone .screenz-carousel {
  cursor: grab;
  user-select: none;
}

.phone .screenz-carousel.is-dragging { cursor: grabbing; }

.phone .screenz-carousel > .swipe-incoming-track {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.phone .screenz-control-button svg,
.phone .screenz-like-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.phone-preview {
  position: relative;
  order: 1;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgb(6 66 63 / 16%);
  border-radius: 12px;
  background: #091214;
  box-shadow: 0 8px 18px rgb(25 57 65 / 14%);
  transition: transform 190ms ease;
  touch-action: pan-y;
}

#phone-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-preview.swipe-left {
  transform: translateX(-18px);
}

.phone-preview.swipe-right {
  transform: translateX(18px);
}

.phone-heart {
  position: absolute;
  right: 7px;
  bottom: 7px;
}

.mobile-heart {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #0b5551;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 5px 13px rgb(0 0 0 / 24%);
  font-size: 18px;
  cursor: pointer;
}

.mobile-heart.active {
  color: #ec4e73;
}

.phone-meta {
  order: 2;
  padding: 1px 3px;
}

.phone-meta h2 {
  margin-bottom: 2px;
  color: #163f3e;
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.phone-meta p {
  color: #68767d;
  font-size: 9px;
  line-height: 1.28;
}

#remote-subtitle {
  color: #263f43;
  font-size: 10px;
  font-weight: 800;
}

.phone-nav-title {
  order: 3;
  display: none;
  color: #698078;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.phone-nav-list {
  order: 4;
  display: none;
  max-height: 68px;
  gap: 4px;
  overflow-y: auto;
  scrollbar-width: none;
}

.phone-nav-list::-webkit-scrollbar {
  display: none;
}

.phone-nav-list button {
  min-height: 20px;
  padding: 4px 8px;
  border: 1px solid #d8e2e3;
  border-radius: 8px;
  color: #43575b;
  background: #fff;
  text-align: left;
  font-size: 8px;
  cursor: pointer;
}

.phone-progress-wrap {
  order: 5;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px;
}

.phone-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #d9e2e3;
}

.phone-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #48cfc4, #77e7dd);
  transition: width linear;
}

#remote-timer {
  color: #7a8b8e;
  font-size: 8px;
}

.phone-dots {
  order: 6;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}

.phone-dots span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #d5dfdf;
}

.phone-dots span.active {
  background: #23aaa1;
}

.phone-hint {
  order: 7;
  color: #849397;
  text-align: center;
  font-size: 7px;
}

.phone-controls {
  order: 8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: auto;
  padding: 7px 8px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--riverside), var(--riverside-dark));
}

.remote-btn {
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: #efffff;
  background: rgb(255 255 255 / 12%);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.remote-btn.center {
  color: #073f3d;
  background: #fff;
}

.remote-btn.navigation span {
  display: inline-block;
  transform: translateY(-1px);
  font-size: 15px;
}

.remote-btn.share span {
  display: inline-block;
  transform: rotate(-8deg);
}

.phone.nav-open .phone-nav-title:not(.hidden) {
  position: absolute;
  z-index: 61;
  top: 121px;
  right: 17px;
  left: 17px;
  display: block;
  padding: 10px 12px 7px;
  border-radius: 14px 14px 0 0;
  color: #234b49;
  background: #fff;
  box-shadow: 0 -4px 22px rgb(20 56 60 / 18%);
}

.phone.nav-open .phone-nav-list:not(.hidden) {
  position: absolute;
  z-index: 60;
  top: 151px;
  right: 17px;
  left: 17px;
  display: grid;
  max-height: 270px;
  padding: 8px;
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 16px 28px rgb(20 56 60 / 22%);
}

.phone.share-active .remote-btn.share {
  color: #063c39;
  background: #8ce8df;
}

.phone-progress-wrap,
.phone-dots,
.phone-hint {
  display: none;
}

button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.hidden {
  display: none;
}

@media (max-width: 1040px) {
  .phone-wrap {
    right: auto;
    left: 2%;
    bottom: -4%;
    transform: perspective(1100px) translateZ(130px) rotateX(18deg) rotateY(14deg) rotateZ(5deg) scale(0.9);
  }
}

@media (max-width: 760px) {
  body {
    padding: 12px 8px 34px;
  }

  .sim-header {
    margin-bottom: 10px;
  }

  .status-line {
    max-width: 520px;
    margin: 0 auto;
    font-size: 11px;
  }

  .experience-stage {
    min-height: 590px;
  }

  .shop-window {
    margin-top: 18px;
  }

  .phone-wrap {
    right: auto;
    left: -3%;
    bottom: -72%;
    transform: perspective(900px) translateZ(80px) rotateX(15deg) rotateY(10deg) rotateZ(4deg) scale(0.76);
    transform-origin: left top;
  }
}

/* Screenz website presentation */
:root {
  --site-ink: #172630;
  --site-paper: #f6f8f7;
  --site-teal: #63d3c7;
  --site-teal-dark: #0f7f78;
  --site-line: rgba(23, 38, 48, 0.12);
}

body {
  background:
    radial-gradient(circle at 12% 12%, rgba(99, 211, 199, 0.18), transparent 27rem),
    var(--site-paper);
  color: var(--site-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.site-back {
  position: fixed;
  z-index: 100;
  top: max(18px, env(safe-area-inset-top));
  left: max(20px, env(safe-area-inset-left));
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--site-line);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--site-ink);
  box-shadow: 0 12px 30px rgba(23, 38, 48, 0.12);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.site-back:hover {
  background: #fff;
  transform: translateY(-2px);
}

.site-back:focus-visible {
  outline: 3px solid var(--site-teal);
  outline-offset: 3px;
}

.simulator-shell {
  padding-top: 86px;
}

.sim-header .eyebrow {
  color: var(--site-teal-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.sim-header h1 {
  color: var(--site-ink);
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.061em;
}

.sim-header h1 em {
  color: var(--site-teal-dark);
  font-family: Georgia, serif;
  font-weight: 400;
}

.sim-header .status-line {
  max-width: 780px;
  margin-inline: auto;
  color: #52616a;
  font-size: 16px;
  line-height: 1.6;
}

.simulator-note {
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 12px auto 0;
  padding: 7px 13px;
  border: 1px solid rgba(15, 127, 120, 0.18);
  border-radius: 100px;
  color: #52616a;
  background: rgba(99, 211, 199, 0.12);
  font-size: 12px;
  line-height: 1.45;
}

.simulator-note strong {
  color: var(--site-teal-dark);
}

.experience-stage {
  border: 1px solid var(--site-line);
  border-radius: 24px;
  box-shadow: 0 34px 70px rgba(23, 38, 48, 0.2);
}

@media (max-width: 680px) {
  .site-back {
    position: absolute;
    min-height: 42px;
    padding: 0 15px;
    font-size: 12px;
  }

  .simulator-shell {
    padding-top: 80px;
  }

  .sim-header h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .sim-header .status-line {
    font-size: 14px;
  }
}

/* Purpose-built portrait composition: shop display above, remote in front. */
@media (max-width: 760px) and (orientation: portrait) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    padding: 10px 8px 24px;
  }

  .simulator-shell {
    width: 100%;
    padding-top: 70px;
  }

  .sim-header {
    width: min(100%, 560px);
    margin: 0 auto 16px;
    padding: 0 10px;
  }

  .sim-header .eyebrow {
    margin-bottom: 10px;
    font-size: 9px;
    line-height: 1.5;
  }

  .sim-header h1 {
    margin-bottom: 12px;
    font-size: clamp(37px, 11.5vw, 52px);
    line-height: 0.96;
  }

  .sim-header .status-line {
    max-width: 430px;
    font-size: 13px;
    line-height: 1.5;
  }

  .simulator-note {
    margin-top: 10px;
    font-size: 11px;
  }

  .site-back {
    position: absolute;
    top: max(14px, env(safe-area-inset-top));
    left: max(14px, env(safe-area-inset-left));
    min-height: 42px;
    padding: 0 15px;
    font-size: 12px;
  }

  .experience-stage {
    width: 100%;
    height: clamp(840px, calc(92.8vw + 520px), 920px);
    min-height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #07131c;
    box-shadow: 0 24px 50px rgba(23, 38, 48, 0.2);
  }

  .shop-window {
    width: 165%;
    max-width: none;
    margin: 18px 0 0 -58%;
    border-radius: 4px;
    box-shadow: 0 24px 54px rgb(0 0 0 / 48%);
  }

  .shop-window::before {
    display: none;
  }

  .shop-window-glass {
    opacity: 0.48;
  }

  .floor-shadow {
    display: none;
  }

  .phone-wrap {
    right: auto;
    top: calc(92.8vw + 36px);
    bottom: auto;
    left: 50%;
    filter: drop-shadow(0 24px 24px rgb(0 0 0 / 54%));
    transform: translateX(-50%) perspective(1000px) rotateX(11deg) rotateY(7deg) scale(0.8);
    transform-origin: center top;
  }

  .phone {
    width: min(250px, 76vw);
  }
}

@media (max-width: 390px) and (orientation: portrait) {
  .simulator-shell {
    padding-top: 66px;
  }

  .sim-header h1 {
    font-size: clamp(34px, 11vw, 43px);
  }

  .sim-header .status-line {
    font-size: 12px;
  }

  .experience-stage {
    height: clamp(840px, calc(97.9vw + 520px), 920px);
  }

  .shop-window {
    width: 174%;
    margin-left: -64%;
  }

  .phone-wrap {
    top: calc(97.9vw + 36px);
  }

  .phone {
    width: min(250px, 78vw);
  }
}

/* This local demo does not provide destination actions. */
.phone .screenz-slide-content {
  grid-template-rows: minmax(0, 1fr) 58px;
}

.phone .screenz-slide-action-slot,
.phone .screenz-slide-link {
  display: none;
}
