.support-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: min(760px, calc(100dvh - 48px));
  margin: auto;
  padding: 0;
  border: 1px solid #c9a56a66;
  border-radius: 8px;
  background: #101318;
  color: #eae7e1;
  box-shadow: 0 28px 70px #000000c0;
  box-sizing: border-box;
  flex-direction: column;
  overflow: hidden;
}
.support-dialog:not([open]) { display: none; }
.support-dialog[open] { display: flex; }
.support-dialog::backdrop { background: #07080acc; }
.support-sheet {
  box-sizing: border-box;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 28px 24px;
}
.support-dialog h2 {
  margin: 8px 48px 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -.02em;
}
.support-kicker {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #d5ae77;
}
.support-lede { margin: 12px 0 0; font-size: .92rem; line-height: 1.65; color: #c8c4bb; }
.support-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #eae7e1;
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.support-close:hover, .support-close:focus-visible { color: #e5c18e; }
.support-form { display: grid; gap: 14px; margin-top: 22px; }
.support-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.support-field { display: grid; gap: 6px; min-width: 0; }
.support-field span, .support-check span { font-size: .78rem; color: #d6cbbb; }
.support-field input, .support-field select, .support-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c9a56a55;
  border-radius: 4px;
  background: #0d0f12;
  color: #f4efe6;
  font: inherit;
  font-size: .92rem;
}
.support-field textarea { min-height: 120px; resize: vertical; }
.support-field input:focus-visible, .support-field select:focus-visible, .support-field textarea:focus-visible,
.support-check input:focus-visible, .support-match:focus-visible, .support-clear:focus-visible {
  outline: 2px solid #d5af77;
  outline-offset: 2px;
}
.support-check { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.5; }
.support-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #c9a56a; }
.support-matches { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.support-match, .support-clear {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c9a56a44;
  border-radius: 4px;
  background: #161a20;
  color: #f4efe6;
  font: inherit;
  font-size: .88rem;
  text-align: left;
  cursor: pointer;
}
.support-match small { display: block; margin-top: 2px; color: #b7b3aa; }
.support-chosen { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.support-chosen strong { font-weight: 500; }
.support-clear { width: auto; }
.support-note, .support-error { margin: 0; font-size: .84rem; line-height: 1.5; }
.support-error { color: #e7b2a8; }
.support-actions { display: flex; justify-content: flex-end; margin-top: 4px; }
.support-submit {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #c9a56a;
  border-radius: 4px;
  background: #c9a56a;
  color: #1a140c;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}
.support-submit:hover { color: #f4efe6; }
.support-submit:disabled { opacity: .55; cursor: not-allowed; }
.support-done { margin: 22px 0 8px; font-size: 1rem; line-height: 1.65; }
@media (max-width: 560px) {
  .support-row { grid-template-columns: 1fr; }
  .support-sheet { padding: 22px 18px 18px; }
}
