.request-create-button {
  margin-top: 0;
}

.request-create-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 0, 0, 0.72);
  backdrop-filter: blur(18px);
}

.request-create-backdrop.visible {
  display: flex;
}

.request-create-modal {
  width: min(100%, 430px);
  max-height: calc(100dvh - 34px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255, 122, 38, 0.58);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 8%, rgba(255, 112, 38, 0.3), transparent 36%),
    linear-gradient(145deg, rgba(42, 9, 7, 0.97), rgba(7, 1, 1, 0.98));
  box-shadow:
    0 -18px 72px rgba(0, 0, 0, 0.72),
    0 0 54px rgba(255, 62, 26, 0.26),
    inset 0 0 0 1px rgba(255, 210, 170, 0.06);
  animation: requestCreateRise 0.24s ease both;
}

@keyframes requestCreateRise {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.request-create-head h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.request-create-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.request-create-field {
  margin-top: 16px;
}

.request-create-field label,
.request-create-difficulty-title {
  display: block;
  margin-bottom: 8px;
  color: #ffd7c6;
  font-size: 13px;
  font-weight: 900;
}

.request-create-textarea,
.request-create-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 122, 54, 0.32);
  border-radius: 18px;
  outline: none;
  background: rgba(9, 2, 2, 0.7);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 0 20px rgba(255, 70, 26, 0.06);
}

.request-create-textarea {
  min-height: 120px;
  resize: vertical;
}

.request-create-input:focus,
.request-create-textarea:focus {
  border-color: rgba(255, 139, 54, 0.9);
  box-shadow: 0 0 26px rgba(255, 68, 26, 0.18), inset 0 0 20px rgba(255, 70, 26, 0.08);
}

.request-create-difficulty {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.request-create-chip {
  min-height: 68px;
  padding: 12px;
  border: 1px solid rgba(255, 122, 54, 0.28);
  border-radius: 18px;
  background: rgba(16, 4, 4, 0.76);
  color: #ffddce;
  text-align: left;
}

.request-create-chip strong,
.request-create-chip small {
  display: block;
}

.request-create-chip strong {
  font-size: 14px;
}

.request-create-chip small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.request-create-chip.active {
  border-color: rgba(255, 139, 38, 0.98);
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 121, 38, 0.24), transparent 42%),
    rgba(94, 16, 10, 0.78);
  box-shadow: 0 0 32px rgba(255, 67, 24, 0.22);
}

.request-sticker-section {
  margin-top: 16px;
  padding: 13px;
  border: 1px solid rgba(255, 122, 54, 0.25);
  border-radius: 20px;
  background: rgba(9, 2, 2, 0.44);
}

.request-sticker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.request-sticker-head strong,
.request-sticker-head small {
  display: block;
}

.request-sticker-head strong {
  color: #ffd7c6;
  font-size: 13px;
  font-weight: 900;
}

.request-sticker-head small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.request-sticker-clear {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 122, 54, 0.3);
  border-radius: 999px;
  background: rgba(18, 5, 5, 0.76);
  color: #ffd5c5;
  font-size: 12px;
  font-weight: 800;
}

.request-sticker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-height: 248px;
  overflow: auto;
  padding-right: 2px;
}

.request-sticker-card {
  min-height: 118px;
  padding: 8px;
  border: 1px solid rgba(255, 122, 54, 0.24);
  border-radius: 18px;
  background: rgba(18, 5, 5, 0.72);
  color: #ffddce;
  text-align: center;
  box-shadow: inset 0 0 18px rgba(255, 80, 30, 0.04);
}

.request-sticker-card.selected {
  border-color: rgba(255, 139, 38, 1);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 112, 38, 0.26), transparent 50%),
    rgba(82, 14, 9, 0.9);
  box-shadow: 0 0 28px rgba(255, 67, 24, 0.25), inset 0 0 20px rgba(255, 80, 30, 0.08);
}

.request-sticker-preview {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 126, 38, 0.25), transparent 48%),
    rgba(4, 1, 1, 0.55);
  font-size: 26px;
}

.request-sticker-preview img,
.request-sticker-preview video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.request-sticker-card small {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-sticker-empty {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px dashed rgba(255, 122, 54, 0.28);
  border-radius: 16px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.request-create-error {
  display: none;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 60, 60, 0.42);
  border-radius: 16px;
  background: rgba(255, 35, 35, 0.12);
  color: #ffd0d0;
  font-size: 13px;
  line-height: 1.4;
}

.request-create-error.visible {
  display: block;
}

.request-create-actions {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10px;
  margin-top: 16px;
}

.request-create-actions button {
  min-height: 52px;
  border-radius: 18px;
  font-weight: 900;
}

.request-create-cancel {
  border: 1px solid rgba(255, 122, 54, 0.32);
  background: rgba(18, 5, 5, 0.84);
  color: #ffd5c5;
}

.request-create-submit {
  background: linear-gradient(180deg, #ff7238, #d91e12 72%, #83100b);
  color: #fff8f2;
  box-shadow: 0 0 34px rgba(255, 62, 26, 0.38), inset 0 1px 0 rgba(255,255,255,.16);
}

.request-create-submit:disabled {
  cursor: wait;
  opacity: 0.66;
}
