.embed-app {
  padding: 56px 20px;
}

.embed-app__card {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.10);
  overflow: hidden;
}

.embed-app__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 12px 18px;
}

.embed-app__titleblock {
  min-width: 0;
}

.embed-app__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  color: #0b1220;
}

.embed-app__subtitle {
  margin: 8px 0 0 0;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.45;
  max-width: 70ch;
}

.embed-app__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.embed-app__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(2, 35, 111, 0.10);
  color: #0b1220;
  font-weight: 600;
  white-space: nowrap;
}

.embed-app__btn:hover {
  background: rgba(2, 35, 111, 0.14);
}

.embed-app__btn--ghost {
  background: rgba(255, 255, 255, 0.7);
}

.embed-app__framewrap {
  position: relative;
  width: 100%;
  height: 650px;      /* 👈 adjust this */
  background: #0b1020;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}
canvas {
  touch-action: none !important;
}
.embed-app__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-app__footer {
  padding: 12px 18px 18px 18px;
}

.embed-app__tips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: rgba(15, 23, 42, 0.70);
  font-size: 14px;
  line-height: 1.4;
}

.embed-app__tip strong {
  color: rgba(15, 23, 42, 0.92);
}

@media (max-width: 720px) {
  .embed-app__top {
    flex-direction: column;
    align-items: stretch;
  }

  .embed-app__actions {
    justify-content: flex-start;
  }

  .embed-app__title {
    font-size: 24px;
  }

  .embed-app__framewrap {
    aspect-ratio: 10 / 16;
  }
}
