.zyss-py-copy-block {
  position: relative;
  margin: 18px 0;
  max-width: 100%;
  box-sizing: border-box;
}

.zyss-py-copy-block pre {
  margin: 0;
  padding: 18px 16px 16px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: #111827;
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-sizing: border-box;
}

.zyss-py-copy-block code {
  color: inherit;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  white-space: inherit;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.single-post .entry-content,
.single-post .post-content,
.single-post article {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.single-post .entry-content a,
.single-post .post-content a,
.single-post article a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.single-post .entry-content ul,
.single-post .entry-content ol,
.single-post .post-content ul,
.single-post .post-content ol,
.single-post article ul,
.single-post article ol {
  padding-left: 1.25em;
}

.zyss-py-copy-button {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(229, 231, 235, 0.28);
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.92);
  color: #f9fafb;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 640px) {
  .zyss-py-copy-block {
    margin: 14px 0;
  }

  .zyss-py-copy-block pre {
    padding: 44px 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
  }

  .zyss-py-copy-button {
    top: 8px;
    right: 8px;
    min-width: 50px;
    min-height: 28px;
    padding: 5px 9px;
    font-size: 11px;
  }

  .single-post .entry-content h2,
  .single-post .post-content h2,
  .single-post article h2 {
    line-height: 1.35;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .single-post .entry-content p,
  .single-post .entry-content li,
  .single-post .post-content p,
  .single-post .post-content li,
  .single-post article p,
  .single-post article li {
    line-height: 1.72;
  }
}

.zyss-py-copy-button:hover,
.zyss-py-copy-button:focus {
  background: #374151;
  color: #ffffff;
  outline: none;
}

.zyss-py-copy-button.is-copied {
  background: #4b5563;
  color: #ffffff;
}

@media (prefers-color-scheme: light) {
  .zyss-py-copy-block pre {
    border-color: rgba(15, 23, 42, 0.16);
    background: #f8fafc;
    color: #111827;
  }

  .zyss-py-copy-button {
    border-color: rgba(15, 23, 42, 0.18);
    background: #e5e7eb;
    color: #111827;
  }

  .zyss-py-copy-button:hover,
  .zyss-py-copy-button:focus,
  .zyss-py-copy-button.is-copied {
    background: #111827;
    color: #ffffff;
  }
}
