* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
}

body {
  margin: 0;
  background: #f4f6f8;
  color: #202124;
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.create-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(16px, calc((100vw - 760px) / 2));
  border-bottom: 1px solid #e0e4e9;
  background: #fff;
}

.create-header a {
  color: #c9000b;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.create-header span {
  color: #697386;
  font-size: 13px;
}

.create-main {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 24px 16px 112px;
}

.create-lead,
.create-disclosure,
.create-rules {
  color: #52606d;
  font-size: 14px;
  line-height: 1.6;
}

.create-video {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  align-items: center;
  margin: 14px 0 18px;
  padding: 10px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #fff;
}

.create-video img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
}

.create-video img[hidden] + div {
  grid-column: 1 / -1;
}

.create-video div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.create-video span {
  color: #c9000b;
  font-size: 13px;
  font-weight: 800;
}

.create-video strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

form {
  display: grid;
  gap: 8px;
}

label {
  margin-top: 8px;
  color: #202124;
  font-size: 14px;
  font-weight: 700;
}

label b {
  color: #c9000b;
  font-size: 12px;
}

input,
textarea {
  width: 100%;
  height: 44px;
  padding: 0 10px;
  border: 1px solid #cfd5dc;
  border-radius: 7px;
  background: #fff;
  color: #202124;
  font: inherit;
  font-size: 15px;
}

textarea {
  min-height: 88px;
  padding: 10px;
  resize: vertical;
}

fieldset {
  margin: 10px 0;
  padding: 12px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #fff;
}

legend {
  padding: 0 5px;
  color: #202124;
  font-size: 14px;
  font-weight: 700;
}

.style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.style-tags label {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eceff3;
  cursor: pointer;
}

.style-tags input {
  width: auto;
  height: auto;
}

.create-rules {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #fff;
}

.create-rules ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.create-disclosure a {
  color: #b0000a;
}

.create-submit-bar {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #dfe4ea;
  background: rgba(244, 246, 248, .96);
  box-shadow: 0 -8px 24px rgba(31, 41, 55, .12);
  backdrop-filter: blur(8px);
}

button[type="submit"] {
  display: block;
  width: min(100%, 728px);
  height: 48px;
  margin: 0 auto;
  border: 0;
  border-radius: 8px;
  background: #e50914;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

button[type="submit"]:disabled {
  cursor: wait;
  opacity: .65;
}

@media (max-width: 380px) {
  .create-video {
    grid-template-columns: 1fr;
  }
}
