.support-page {
  width: min(920px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 44px 0 80px;
}

.support-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.support-head h1 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.support-head p:not(.eyebrow) {
  margin: 8px 0 0;
  color: #a9a9a9;
  font-size: 14px;
  line-height: 1.55;
}

.support-form {
  display: grid;
  gap: 10px;
  border: 1px solid #2d2d2d;
  border-radius: 8px;
  background: #151515;
  padding: 22px;
}

.support-form label,
.support-admin-label {
  color: #f2f2f2;
  font-size: 14px;
  font-weight: 700;
}

.support-form input,
.support-form textarea,
.support-admin-box textarea {
  width: 100%;
  border: 1px solid #343434;
  border-radius: 8px;
  background: #050505;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  padding: 13px 14px;
  outline: none;
  box-sizing: border-box;
}

.support-form textarea {
  min-height: 190px;
  resize: vertical;
}

.support-admin-box textarea {
  min-height: 110px;
  resize: vertical;
}

.support-form input:focus,
.support-form textarea:focus,
.support-admin-box textarea:focus {
  border-color: #ff3b3b;
  box-shadow: 0 0 0 2px rgba(255, 59, 59, 0.15);
}

.support-form-actions,
.support-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.support-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
}

.support-my-list {
  margin-top: 28px;
}

.support-my-list h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.support-list {
  display: grid;
  gap: 12px;
}

.support-card {
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  background: #171717;
  padding: 0;
  overflow: hidden;
}

.support-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 15px 16px;
  text-align: left;
  cursor: pointer;
}

.support-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.support-meta {
  color: #8f8f8f;
  font-size: 12px;
  white-space: nowrap;
}

.support-detail {
  display: none;
  padding: 0 16px 16px;
}

.support-card.open .support-detail {
  display: block;
}

.support-type,
.support-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 5px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.support-type.inquiry {
  background: rgba(255, 214, 102, 0.16);
  color: #ffd666;
}

.support-type.log,
.support-status.resolved {
  background: rgba(59, 142, 255, 0.17);
  color: #7fb6ff;
}

.support-status.open {
  background: rgba(64, 210, 122, 0.16);
  color: #72e39a;
}

.support-status.checking {
  background: rgba(255, 214, 102, 0.16);
  color: #ffd666;
}

.support-body,
.support-response {
  margin: 10px 0 0;
  padding: 14px;
  border-radius: 8px;
  background: #0a0a0a;
  border: 1px solid #292929;
  color: #d8d8d8;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 360px;
  overflow: auto;
}

.support-response b {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.support-response p {
  margin: 0;
}

.support-response.muted {
  color: #8f8f8f;
}

.support-log-id {
  margin: 10px 0 0;
  color: #9cb8ff;
  font-size: 12px;
}

.support-admin-box {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #303030;
  border-radius: 8px;
  background: #111;
}

.support-status-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #333;
  border-radius: 999px;
  padding: 8px 12px;
  color: #ddd;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.support-radio.open:has(input:checked) {
  border-color: rgba(64, 210, 122, 0.65);
  color: #72e39a;
  background: rgba(64, 210, 122, 0.12);
}

.support-radio.checking:has(input:checked) {
  border-color: rgba(255, 214, 102, 0.7);
  color: #ffd666;
  background: rgba(255, 214, 102, 0.12);
}

.support-radio.resolved:has(input:checked) {
  border-color: rgba(59, 142, 255, 0.65);
  color: #7fb6ff;
  background: rgba(59, 142, 255, 0.12);
}

.support-empty,
.support-page .empty-text {
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  background: #121212;
  color: #aaa;
  padding: 24px;
  text-align: center;
}

@media (max-width: 720px) {
  .support-page {
    width: min(100% - 24px, 920px);
    padding-top: 28px;
  }

  .support-head {
    display: block;
  }

  .support-form {
    padding: 16px;
  }

  .support-row {
    grid-template-columns: auto auto 1fr;
  }

  .support-row strong,
  .support-meta {
    grid-column: 1 / -1;
  }

  .support-actions,
  .support-form-actions {
    justify-content: stretch;
  }

  .support-actions .button,
  .support-form-actions .button {
    width: 100%;
  }
}
