.content-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 20px;
}
.content-section {
  padding: 24px;
  border: 1px solid #ffffff18;
  border-radius: 16px;
  background: #1b1822;
  min-width: 0;
}
.content-section h2 {
  font-size: 1.25rem;
  margin: 0 0 12px;
}
.content-section h3 {
  font-size: 1rem;
}
.content-section p {
  color: #c0b5c6;
  line-height: 1.7;
}
.content-form label {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  font-size: 0.9rem;
}
.content-form input:not([type='checkbox']),
.content-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #ffffff25;
  border-radius: 10px;
  background: #111017;
  color: #f7eff8;
  font: inherit;
  padding: 12px;
  box-sizing: border-box;
}
.content-form textarea {
  resize: vertical;
  line-height: 1.6;
}
.content-form small {
  font-size: 0.76rem;
  color: #b7aabb;
}
.content-form .content-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}
.content-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #bd4268;
}
.content-faq-list {
  display: grid;
  gap: 16px;
}
.content-faq-editor {
  background: #111017;
  border: 1px solid #ffffff15;
  border-radius: 12px;
  padding: 20px;
}
.content-actions {
  position: sticky;
  bottom: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  background: #24202bf2;
  border: 1px solid #ffffff22;
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px;
  z-index: 5;
}
.content-preview {
  box-sizing: border-box;
  width: min(760px, calc(100vw - 28px));
  max-height: 85dvh;
  overflow: auto;
  background: #141119;
  color: #fff;
  border: 1px solid #ffffff30;
  border-radius: 18px;
  padding: 24px;
}
.content-preview::backdrop {
  background: #000b;
}
.content-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.content-preview .content-section {
  margin-top: 16px;
}
.content-preview p,
.content-preview summary,
.home-announcement p,
.help-page p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.home-announcement {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #dc9abb42;
  border-radius: 14px;
  background: #241925;
}
.home-announcement h2 {
  font-size: 1.1rem;
  margin: 8px 0;
}
.home-announcement[hidden],
#home-welcome[hidden] {
  display: none;
}
.help-page {
  max-width: 860px;
  padding: 40px 24px 64px;
  margin: auto;
}
.help-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.help-question {
  border: 1px solid #ffffff20;
  border-radius: 12px;
  padding: 18px;
  margin: 12px 0;
  background: #1b1720;
}
.help-question summary {
  cursor: pointer;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.help-question p {
  line-height: 1.8;
  color: #c6bacc;
}
.help-contact {
  margin-top: 28px;
  padding: 24px;
  border-radius: 16px;
  background: #271b26;
  border: 1px solid #ffffff20;
}
.content-section p,
.content-preview h2 {
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .content-section,
  .content-faq-editor {
    padding: 16px;
  }
  .content-actions {
    bottom: 4px;
    padding: 12px;
    position: static;
  }
  .content-actions > .button {
    flex: 1;
  }
  .content-preview {
    padding: 16px;
  }
  .help-page {
    padding: 24px 16px 40px;
  }
}
