.cdn .st-eyebrow a {
  color: inherit;
  text-decoration: none;
}

.cdn h2 {
  font-family: inherit;
  font-size: 21px;
  font-weight: 700;
  color: #10242c;
  margin: 0 0 12px;
}

.cdn .st-doc h3 {
  font-family: inherit;
  font-size: 16px;
  margin: 16px 0 6px;
}

.cdn-updated {
  color: #5f7680;
  font-size: 14px;
}

.cdn-group {
  margin: 26px 0;
}

.cdn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr));
  gap: 14px;
}

.cdn-card {
  border: 1px solid #e3eaee;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  min-width: 0;
}

.cdn-card-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
}

.cdn-card h3 {
  font-family: inherit;
  font-size: 17px;
  margin: 0 0 4px;
}

.cdn-card h3 a {
  color: #10242c;
  text-decoration: none;
}

.cdn-card h3 a:hover {
  color: #0f766e;
}

.cdn-card-head p {
  margin: 0;
  color: #4b616b;
  font-size: 14px;
}

.cdn-ver {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #0f766e;
  background: #e6f4f1;
  border-radius: 999px;
  padding: 2px 8px;
  vertical-align: middle;
}

.cdn-pick {
  flex: none;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: #4b616b;
  white-space: nowrap;
}

.cdn-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 8px;
}

.cdn-cdns {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cdn-cdns button {
  border: 1px solid #d5e1e6;
  background: #fff;
  border-radius: 999px;
  padding: 5px 11px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: #29404a;
}

.cdn-cdns button[aria-pressed="true"] {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

.cdn-tools select,
.cdn-tools input[type="text"] {
  border: 1px solid #d5e1e6;
  border-radius: 10px;
  padding: 6px 9px;
  font: inherit;
  font-size: 13px;
  background: #fff;
}

.cdn-snippet {
  position: relative;
}

.cdn-snippet pre {
  margin: 0;
  background: #0f1d23;
  color: #d8f3ee;
  border-radius: 12px;
  padding: 12px 14px 44px;
  font-size: 12.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 340px;
  overflow: auto;
}

.cdn-snippet .cdn-copy {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

.cdn-snippet > .st-chip:not(.cdn-copy) {
  margin-top: 8px;
}

.cdn-meta {
  margin: 10px 0 0;
  font-size: 13px;
  color: #5f7680;
}

.cdn-fonts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 6px 12px;
  margin: 10px 0;
}

.cdn-fonts label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

.cdn-safety ul {
  margin: 0;
  padding-left: 20px;
}

.cdn-safety li {
  margin: 8px 0;
  line-height: 1.6;
}

.cdn-table code {
  cursor: pointer;
  word-break: break-all;
  font-size: 12px;
}

.cdn-more .st-chip {
  margin: 0 4px 6px 0;
}

.cdn-credits {
  margin-top: 26px;
  font-size: 12px;
  color: #6b8089;
}

.cdn-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: #10242c;
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 50;
}

.cdn-toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 640px) {
  .cdn-card-head {
    flex-direction: column;
  }
}

.cdn-warn {
  margin: 10px 0 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 13px;
  line-height: 1.5;
}
