.wcd-hero,
.wcd-docs-hero {
  background:
    radial-gradient(circle at 88% 10%, rgba(217, 168, 78, 0.18), transparent 28%),
    radial-gradient(circle at 10% 86%, rgba(15, 143, 124, 0.12), transparent 30%),
    linear-gradient(135deg, #f7fbfa, #ffffff);
}

.wcd-hero {
  padding-top: 132px;
}

.wcd-docs-hero {
  padding-top: 132px;
  padding-bottom: 34px;
}

.wcd-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.wcd-kicker span,
.wcd-category-grid span {
  padding: 8px 12px;
  color: #12302a;
  background: #ecf8f5;
  border: 1px solid rgba(15, 143, 124, 0.22);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.wcd-hero h1,
.wcd-docs-hero h1,
.wcd-detail h2,
.wcd-panel h2,
.wcd-doc-card h2,
.wcd-upgrade-card h2 {
  color: #14231f;
}

.wcd-hero h1,
.wcd-docs-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
}

.wcd-hero .lead {
  color: #0f8f7c;
  font-size: 22px;
  font-weight: 900;
}

.wcd-endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 24px 0;
  padding: 14px;
  background: #12302a;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(20, 35, 31, 0.12);
}

.wcd-endpoint span,
.wcd-method {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #12302a;
  background: #e0b15f;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.wcd-endpoint code {
  min-width: 0;
  color: #fff;
  white-space: normal;
  word-break: break-word;
}

.wcd-visual {
  position: relative;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(15, 143, 124, 0.18);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(20, 35, 31, 0.14);
}

.wcd-visual img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.wcd-visual-chip {
  position: absolute;
  left: 28px;
  bottom: 28px;
  min-width: 142px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 35, 31, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(20, 35, 31, 0.12);
}

.wcd-visual-chip span,
.wcd-visual-chip strong,
.wcd-docs-status span,
.wcd-docs-status strong,
.wcd-docs-status small,
.wcd-quota-grid span,
.wcd-quota-grid strong,
.wcd-quota-grid small {
  display: block;
}

.wcd-visual-chip span,
.wcd-docs-status span,
.wcd-docs-status small,
.wcd-quota-grid span,
.wcd-quota-grid small {
  color: #607078;
}

.wcd-visual-chip strong {
  color: #14231f;
  font-size: 26px;
}

.wcd-detail {
  background: #fff;
}

.wcd-overview,
.wcd-highlight-grid,
.wcd-split {
  margin-bottom: 40px;
}

.wcd-overview p,
.wcd-panel p,
.wcd-info-card p,
.wcd-doc-card p {
  color: #607078;
  line-height: 1.7;
}

.wcd-info-card,
.wcd-panel,
.wcd-doc-card,
.wcd-docs-status,
.wcd-quota-grid > div {
  height: 100%;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 246, 0.92)),
    #fff;
  border: 1px solid rgba(15, 143, 124, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.wcd-info-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0f8f7c, #17b69d);
  border-radius: 8px;
  font-size: 22px;
}

.wcd-info-card h3,
.wcd-step-list h3 {
  margin: 0 0 8px;
  color: #14231f;
  font-size: 18px;
}

.wcd-step-list {
  display: grid;
  gap: 18px;
}

.wcd-step-list > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
}

.wcd-step-list > div > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #0f8f7c;
  background: #ecf8f5;
  border-radius: 8px;
  font-weight: 900;
}

.wcd-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wcd-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wcd-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #475965;
}

.wcd-check-list i {
  color: #0f8f7c;
}

.wcd-code-section {
  border-top: 1px solid rgba(20, 35, 31, 0.08);
}

.wcd-code,
.wcd-response {
  margin: 0;
  padding: 18px;
  color: #d9fff7;
  background: #12302a;
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-word;
}

.wcd-response {
  max-height: 540px;
  overflow: auto;
}

.wcd-docs {
  background:
    radial-gradient(circle at 86% 18%, rgba(217, 168, 78, 0.14), transparent 30%),
    radial-gradient(circle at 12% 92%, rgba(15, 143, 124, 0.12), transparent 28%),
    #f7fbfa;
}

.wcd-docs-status {
  display: grid;
  gap: 4px;
}

.wcd-docs-status strong,
.wcd-quota-grid strong {
  color: #14231f;
  font-size: 30px;
}

.wcd-quota-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  color: #7a4d00;
  background: #fff7e6;
  border: 1px solid rgba(217, 168, 78, 0.42);
  border-radius: 8px;
}

.wcd-quota-alert i {
  color: #d9a84e;
  font-size: 24px;
}

.wcd-quota-alert div {
  display: grid;
  flex: 1;
}

.wcd-quota-alert a {
  color: #0f8f7c;
  font-weight: 900;
}

.wcd-token-card {
  display: grid;
  gap: 14px;
}

.wcd-token-card label,
.wcd-test-form label {
  display: grid;
  gap: 8px;
  color: #14231f;
  font-weight: 900;
}

.wcd-token-input {
  display: flex;
  gap: 8px;
}

.wcd-token-input input,
.wcd-test-form input {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: #14231f;
  background: #fff;
  border: 1px solid rgba(20, 35, 31, 0.14);
  border-radius: 8px;
}

.wcd-token-input button,
.wcd-primary-button,
.wcd-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.wcd-token-input button,
.wcd-secondary-button {
  color: #14231f;
  background: #fff;
  border: 1px solid rgba(20, 35, 31, 0.14);
}

.wcd-primary-button {
  color: #fff;
  background: #0f8f7c;
  border: 0;
}

.wcd-primary-button:hover,
.wcd-primary-button:focus {
  color: #fff;
  background: #0b6f61;
}

.wcd-primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.wcd-quota-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.wcd-quota-grid strong {
  margin: 4px 0;
}

.wcd-doc-card-head,
.wcd-upgrade-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wcd-param-table,
.wcd-error-list {
  display: grid;
  margin-top: 18px;
  border: 1px solid rgba(20, 35, 31, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.wcd-param-table > div,
.wcd-error-list > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: #fff;
}

.wcd-param-table > div + div,
.wcd-error-list > div + div {
  border-top: 1px solid rgba(20, 35, 31, 0.08);
}

.wcd-param-table strong,
.wcd-error-list strong {
  color: #14231f;
}

.wcd-test-form {
  display: grid;
  gap: 14px;
}

.wcd-test-result {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  font-weight: 900;
}

.wcd-test-result.is-success {
  color: #075e52;
  background: #e8f8f3;
}

.wcd-test-result.is-warning {
  color: #7a4d00;
  background: #fff7e6;
}

.wcd-test-result.is-error {
  color: #941b12;
  background: #fff0ee;
}

@media (max-width: 991px) {
  .wcd-hero,
  .wcd-docs-hero {
    padding-top: 112px;
  }

  .wcd-quota-grid,
  .wcd-doc-card-head,
  .wcd-upgrade-card,
  .wcd-check-list {
    grid-template-columns: 1fr;
    display: grid;
  }

  .wcd-token-input {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .wcd-hero h1,
  .wcd-docs-hero h1 {
    font-size: 42px;
  }

  .wcd-param-table > div,
  .wcd-error-list > div {
    grid-template-columns: 1fr;
  }
}
