
* { box-sizing: border-box; }

body {
  margin: 0;
  background: #080f24;
  color: #f6f0e5;
  font-family: Georgia, serif;
}

.designer {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 32px;
  max-width: 1400px;
  margin: auto;
  padding: 40px 24px;
}

.editor, .preview {
  background: #111c35;
  border: 1px solid #8d7445;
  border-radius: 16px;
  padding: 28px;
}

.eyebrow {
  color: #d6b878;
  letter-spacing: 4px;
  font-size: 12px;
}

h1, h2 { color: #e9cf97; }

h1 { font-size: 30px; }

h2 { font-size: 21px; margin-top: 28px; }

label {
  display: block;
  margin: 16px 0 7px;
}

input {
  width: 100%;
  padding: 13px;
  border: 1px solid #9b865f;
  border-radius: 7px;
  background: #f9f5ed;
  color: #17233c;
  font-size: 16px;
}

button {
  padding: 13px 18px;
  margin-top: 16px;
  border: 1px solid #d6b878;
  border-radius: 7px;
  background: #d6b878;
  color: #10192c;
  font-weight: bold;
  cursor: pointer;
}

button:hover { background: #f0dcae; }

#preview-frame {
  display: grid;
  position: relative;
  place-items: center;
  min-height: 520px;
  background: #080f24;
  border: 1px solid #4c5c79;
  border-radius: 10px;
  overflow: hidden;
}

#poster-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#poster-image[hidden] { display: none; }

#status { min-height: 24px; }

@media (max-width: 800px) {
  .designer {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }

  .editor, .preview { padding: 20px; }

  #preview-frame { min-height: 350px; }
}
