:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #111414;
  color: #f4f1ec;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 100vh;
}

.stage {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background: #070909;
  overflow: hidden;
}

.minji-video {
  width: 100%;
  height: 100vh;
  object-fit: contain;
  background: #070909;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: #181b1b;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

p {
  margin: 0;
  color: #cfd4d0;
  line-height: 1.5;
}

.prompt-block {
  display: grid;
  gap: 8px;
}

label {
  color: #e9ddd2;
  font-size: 14px;
}

textarea,
button,
.response {
  border-radius: 8px;
  font: inherit;
}

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px;
  background: #101313;
  color: #f4f1ec;
}

.actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

button {
  min-height: 44px;
  border: 0;
  padding: 0 14px;
  background: #d7b56d;
  color: #17130a;
  cursor: pointer;
}

button:hover {
  background: #ecc779;
}

.response {
  min-height: 150px;
  padding: 14px;
  white-space: pre-wrap;
  line-height: 1.5;
  color: #f4f1ec;
  background: #101313;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 860px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .stage {
    min-height: 62vh;
  }

  .minji-video {
    height: 62vh;
  }

  .panel {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}
