:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.app-shell,
.frame-stage,
iframe {
  width: 100%;
  height: 100%;
}

.studio-bar {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 10;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px 8px 8px;
  color: #fff;
  text-decoration: none;
  background: rgba(14, 17, 24, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.brand img {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.05;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.frame-stage {
  display: block;
}

iframe {
  display: block;
  border: 0;
  background: #fff;
}

@media (max-width: 640px) {
  .studio-bar {
    top: 10px;
    left: 10px;
  }

  .brand {
    padding: 7px 9px 7px 7px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 10px;
  }
}
