.entry-content { overflow-wrap: anywhere; }
.entry-content .dk-code {
  margin: 2rem 0;
  overflow: hidden;
  border: 1px solid #354253;
  border-radius: 12px;
  background: #15202e;
  color: #edf2f7;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
.entry-content .dk-code__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #354253;
  background: #202d3d;
  font: 500 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #c9d6e5;
}
.entry-content .dk-code__copy {
  flex-shrink: 0;
  padding: 7px 12px;
  border: 1px solid #8295ab;
  border-radius: 5px;
  background: #293b50;
  color: #fff;
  font: 600 12px/1.4 system-ui, sans-serif;
  cursor: pointer;
}
.entry-content .dk-code__copy:hover { background: #3a526e; }
.entry-content .dk-code__copy:focus-visible,
.entry-content .dk-code pre:focus-visible { outline: 3px solid #a9d7ff; outline-offset: -3px; }
.entry-content .dk-code pre {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 20px;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: 400 14px/1.7 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  tab-size: 2;
}
.entry-content .dk-code pre,
.entry-content .dk-code pre code {
  white-space: pre !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
.entry-content .dk-code pre code {
  display: block;
  width: max-content;
  min-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.dk-code__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .entry-content .dk-code__toolbar { padding: 10px 12px; }
  .entry-content .dk-code pre { padding: 16px; font-size: 13px; }
}
