:root {
  --dg-scheme: light;
  --dg-lime: #c2f970;
  --dg-blue: #2e5cff;
  --dg-orange: #ff6b35;
  --dg-pink: #ec4899;
  --dg-paper: #f4f4f0;
  --dg-card: #ffffff;
  --dg-card-alt: #fafaf7;
  --dg-header-bg: #ffffff;
  --dg-ink: #000000;
  --dg-text: #1a1a1a;
  --dg-text-strong: #000000;
  --dg-muted: #57534e;
  --dg-dot: #e2e2dc;
  --dg-sticker: #fff9c4;
  --dg-shadow-color: #000000;
  --dg-lime-soft: rgba(194, 249, 112, 0.35);
  --dg-marker: #c2f970;
  --dg-link: #2e5cff;
  --dg-solid-bg: #000000;
  --dg-solid-fg: #ffffff;
  --dg-bar-bg: #000000;
  --dg-bar-fg: #ffffff;
  --shadow-card: 6px 6px 0 var(--dg-shadow-color);
  --shadow-dropdown: 6px 6px 0 var(--dg-shadow-color);
  --shadow-menu-panel: 6px 6px 0 var(--dg-shadow-color);
  --shadow-modal: 8px 8px 0 var(--dg-shadow-color);
  --shadow-composer: 0 -6px 0 var(--dg-shadow-color);
  --shadow-header: none;
  --topic-timeline-handle-color: var(--dg-lime);
  --topic-timeline-border-color: var(--dg-ink);
  --title-color: var(--dg-text-strong);
  --title-color--header: var(--dg-text-strong);
  --title-color--read: var(--dg-muted);
  --d-link-color: var(--dg-link);
  --input-border-color: var(--dg-ink);
  --table-border-color: var(--dg-ink);
  --mention-background-color: var(--dg-lime-soft);
  --inline-code-bg: var(--dg-lime-soft);
}
@media (prefers-color-scheme: dark) {
:root {
  --dg-scheme: dark;
  --dg-lime: #c2f970;
  --dg-blue: #2e5cff;
  --dg-orange: #ff6b35;
  --dg-pink: #ec4899;
  --dg-paper: #1c1917;
  --dg-card: #24201d;
  --dg-card-alt: #292524;
  --dg-header-bg: #1c1917;
  --dg-ink: #57534e;
  --dg-text: #d6d3d1;
  --dg-text-strong: #fafaf9;
  --dg-muted: #a8a29e;
  --dg-dot: #2b2724;
  --dg-sticker: #2a2618;
  --dg-shadow-color: rgba(194, 249, 112, 0.14);
  --dg-lime-soft: rgba(194, 249, 112, 0.1);
  --dg-marker: rgba(194, 249, 112, 0.35);
  --dg-link: #60a5fa;
  --dg-solid-bg: #d6d3d1;
  --dg-solid-fg: #1c1917;
  --dg-bar-bg: #0c0a09;
  --dg-bar-fg: #fafaf9;
  --shadow-card: 6px 6px 0 var(--dg-shadow-color);
  --shadow-dropdown: 6px 6px 0 var(--dg-shadow-color);
  --shadow-menu-panel: 6px 6px 0 var(--dg-shadow-color);
  --shadow-modal: 8px 8px 0 var(--dg-shadow-color);
  --shadow-composer: 0 -6px 0 var(--dg-shadow-color);
  --shadow-header: none;
  --topic-timeline-handle-color: var(--dg-lime);
  --topic-timeline-border-color: var(--dg-ink);
  --title-color: var(--dg-text-strong);
  --title-color--header: var(--dg-text-strong);
  --title-color--read: var(--dg-muted);
  --d-link-color: var(--dg-link);
  --input-border-color: var(--dg-ink);
  --table-border-color: var(--dg-ink);
  --mention-background-color: var(--dg-lime-soft);
  --inline-code-bg: var(--dg-lime-soft);
}
}
@charset "UTF-8";
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-cyrillic-400-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --dg-sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --dg-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --dg-border: 3px solid var(--dg-ink);
  --dg-border-thin: 2px solid var(--dg-ink);
  --dg-shadow-sm: 3px 3px 0 var(--dg-shadow-color);
  --dg-shadow: 6px 6px 0 var(--dg-shadow-color);
  --dg-shadow-lg: 8px 8px 0 var(--dg-shadow-color);
  scrollbar-color: var(--dg-ink) var(--dg-paper);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--dg-paper);
  background-image: radial-gradient(var(--dg-dot) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
  color: var(--dg-text);
  font: 400 16px/1.6 var(--dg-sans);
}

::selection {
  background: var(--dg-solid-bg);
  color: var(--dg-solid-fg);
}

a {
  color: var(--dg-link);
}

.wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 16px;
}

.hd {
  background: var(--dg-header-bg);
  border-bottom: 4px solid var(--dg-ink);
}
.hd .wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
}

.logo {
  font: 900 1.6rem/1 var(--dg-sans);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: var(--dg-text-strong);
  text-decoration: none;
}
.logo:hover {
  color: var(--dg-blue);
}

.stamp {
  font-family: var(--dg-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.72rem;
  padding: 0.2em 0.5em;
  background: var(--dg-solid-bg);
  color: var(--dg-solid-fg);
}

.hd-links {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
}
.hd-links a {
  font-family: var(--dg-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
  color: var(--dg-text);
  padding: 0.3em 0.55em;
  text-decoration: none;
  white-space: nowrap;
}
.hd-links a:hover, .hd-links a:focus-visible {
  background: var(--dg-solid-bg);
  color: var(--dg-solid-fg);
}
@media (max-width: 760px) {
  .hd-links a:not(.club) {
    display: none;
  }
}
@media (max-width: 560px) {
  .hd-links {
    display: none;
  }
}

@media (max-width: 420px) {
  .logo {
    font-size: 1.25rem;
  }
}
.arch {
  background: var(--dg-card);
  border: var(--dg-border);
  box-shadow: var(--dg-shadow);
  margin: 1.75rem 0 2rem;
}

.bar {
  font-family: var(--dg-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: block;
  font-size: 0.78rem;
  padding: 0.45em 0.9em;
  background: var(--dg-bar-bg);
  color: var(--dg-bar-fg);
}
.bar .dot {
  color: var(--dg-lime);
}

.arch-b {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1rem 1.1rem 1.15rem;
  background: var(--dg-sticker);
}
.arch-b p {
  margin: 0;
  font: 400 0.92rem/1.6 var(--dg-mono);
  color: var(--dg-text);
}
.arch-b b {
  color: var(--dg-text-strong);
}
@media (max-width: 640px) {
  .arch-b {
    flex-direction: column;
    align-items: stretch;
  }
}

.go {
  font-family: var(--dg-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  flex: none;
  display: inline-block;
  padding: 0.75em 1.1em;
  background: var(--dg-lime);
  color: #000;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  font-size: 0.85rem;
  text-align: center;
  text-decoration: none;
}
.go:hover, .go:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.kicker {
  display: inline-block;
  padding: 0.2em 0.6em;
  background: var(--dg-pink);
  color: #fff;
  font: 500 0.9rem/1.4 var(--dg-mono);
  letter-spacing: 0.04em;
  transform: rotate(-2deg);
}

.h1 {
  margin: 0.6rem 0 0.5rem;
  font: 900 clamp(2rem, 6vw, 3.6rem)/1 var(--dg-sans);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: var(--dg-text-strong);
  overflow-wrap: anywhere;
}

.h1.topic {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.lead {
  margin: 0 0 1.5rem;
  font: 400 0.95rem/1.6 var(--dg-mono);
  color: var(--dg-muted);
}

.crumb {
  font-family: var(--dg-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.75rem;
  color: var(--dg-muted);
}
.crumb a {
  color: inherit;
  text-decoration: none;
}
.crumb a:hover {
  background: var(--dg-solid-bg);
  color: var(--dg-solid-fg);
}

.sec-h {
  font-family: var(--dg-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 2.25rem 0 0.9rem;
  font-size: 0.85rem;
  color: var(--dg-text-strong);
}
.sec-h span {
  font-weight: 400;
  text-transform: none;
  color: var(--dg-muted);
}

.cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.cat {
  background: var(--dg-card);
  border: var(--dg-border);
  box-shadow: var(--dg-shadow);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem 1rem 1rem;
  border-left-width: 10px;
  border-left-color: var(--cat, var(--dg-ink));
  color: var(--dg-text);
  text-decoration: none;
}
.cat:hover, .cat:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
.cat .cat-n {
  font: 800 1.05rem/1.2 var(--dg-sans);
  color: var(--dg-text-strong);
  letter-spacing: -0.01em;
}
.cat .cat-d {
  font: 400 0.8rem/1.5 var(--dg-mono);
  color: var(--dg-muted);
}
.cat .cat-c {
  font-family: var(--dg-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: auto;
  font-size: 0.72rem;
  color: var(--dg-text);
}

.subs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.chip {
  font-family: var(--dg-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  font-size: 0.75rem;
  padding: 0.35em 0.6em;
  background: var(--dg-card);
  border: var(--dg-border-thin);
  border-left: 6px solid var(--cat, var(--dg-ink));
  box-shadow: var(--dg-shadow-sm);
  color: var(--dg-text);
  text-decoration: none;
}
.chip:hover, .chip:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.cat-badge {
  font-family: var(--dg-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--dg-muted);
  text-decoration: none;
}
.cat-badge::before {
  content: "";
  width: 0.7em;
  height: 0.7em;
  background: var(--cat, var(--dg-ink));
  box-shadow: 0 0 0 1.5px var(--dg-ink);
}

.tl {
  background: var(--dg-card);
  border: var(--dg-border);
  box-shadow: var(--dg-shadow);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tl li {
  display: flex;
  gap: 0.4rem 1rem;
  align-items: baseline;
  padding: 0.8rem 1rem;
  border-bottom: var(--dg-border-thin);
}
.tl li:last-child {
  border-bottom: 0;
}
@media (max-width: 640px) {
  .tl li {
    flex-direction: column;
  }
}
.tl .tl-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.tl .tl-t {
  font: 700 1rem/1.35 var(--dg-sans);
  color: var(--dg-text-strong);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.tl .tl-t:hover {
  background: var(--dg-lime);
  color: #000;
}
.tl .tl-m {
  flex: none;
  font: 400 0.75rem/1.5 var(--dg-mono);
  color: var(--dg-muted);
  white-space: nowrap;
}
.tl .tl-b .tl-m {
  white-space: normal;
}

.tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3em;
}

.tag {
  font-family: var(--dg-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.68rem;
  padding: 0.12em 0.45em;
  background: var(--dg-solid-bg);
  color: var(--dg-solid-fg);
}

.t-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin: 0 0 1.75rem;
  font: 400 0.8rem/1.5 var(--dg-mono);
  color: var(--dg-muted);
}

.post {
  background: var(--dg-card);
  border: var(--dg-border);
  box-shadow: var(--dg-shadow);
  margin: 0 0 1.5rem;
  scroll-margin-top: 1rem;
}
.post:target {
  box-shadow: 6px 6px 0 var(--dg-lime);
}

.p-h {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-bottom: var(--dg-border-thin);
  background: var(--dg-card-alt);
}

.ava {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: var(--dg-border-thin);
  font: 800 0.95rem/1 var(--dg-sans);
  color: #000;
}
.ava.a0 {
  background: var(--dg-lime);
}
.ava.a1 {
  background: #a9bdff;
}
.ava.a2 {
  background: #ffb899;
}
.ava.a3 {
  background: #f9a8d4;
}
.ava.a4 {
  background: #fff176;
}

.who {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.who b {
  font: 700 0.95rem/1.3 var(--dg-sans);
  color: var(--dg-text-strong);
  overflow-wrap: anywhere;
}
.who span {
  font: 400 0.72rem/1.4 var(--dg-mono);
  color: var(--dg-muted);
}

.p-n {
  margin-left: auto;
  text-align: right;
  font: 400 0.72rem/1.4 var(--dg-mono);
  color: var(--dg-muted);
  white-space: nowrap;
}
.p-n a {
  color: inherit;
  text-decoration: none;
}
.p-n a:hover {
  background: var(--dg-solid-bg);
  color: var(--dg-solid-fg);
}

.p-b {
  padding: 0.4rem 1.25rem 1rem;
}
@media (max-width: 640px) {
  .p-b {
    padding: 0.2rem 0.9rem 0.8rem;
  }
}

.p-f {
  padding: 0 1.25rem 0.8rem;
  font: 400 0.75rem/1.4 var(--dg-mono);
  color: var(--dg-muted);
}

.reply-to {
  color: inherit;
}

.end {
  margin: 2.5rem 0 1rem;
}

.ft {
  margin: 3rem 0 0;
  padding: 1.25rem 0 2.5rem;
  border-top: var(--dg-border);
  font: 400 0.78rem/1.6 var(--dg-mono);
  color: var(--dg-muted);
}
.ft a {
  color: inherit;
}

.cooked {
  font-family: var(--dg-mono);
  font-size: 0.95em;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.cooked h1,
.cooked h2,
.cooked h3,
.cooked h4,
.cooked h5,
.cooked h6 {
  font-family: var(--dg-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--dg-text-strong);
  margin: 1.4em 0 0.6em;
}
.cooked h2 {
  border-bottom: var(--dg-border-thin);
  padding-bottom: 0.2em;
}
.cooked a.anchor {
  display: none;
}
.cooked strong,
.cooked b {
  color: var(--dg-text-strong);
}
.cooked a:not(.mention, .hashtag-cooked, .lightbox, .onebox, .image-wrapper) {
  color: var(--dg-link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.cooked a:not(.mention, .hashtag-cooked, .lightbox, .onebox, .image-wrapper):hover {
  background: var(--dg-lime);
  color: #000;
  text-decoration: none;
}
.cooked .mention,
.cooked .hashtag-cooked {
  font-family: var(--dg-mono);
  background: var(--dg-lime-soft);
  color: var(--dg-text-strong);
  padding: 0 0.2em;
  text-decoration: none;
}
.cooked img {
  max-width: 100%;
  height: auto;
}
.cooked img.emoji {
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.2em;
  border: 0;
  box-shadow: none;
}
.cooked .lightbox-wrapper {
  display: inline-block;
  max-width: 100%;
}
.cooked .lightbox-wrapper img,
.cooked p > img:not(.emoji, .avatar, .site-icon, .onebox-avatar, .ytp-thumbnail-image) {
  border: var(--dg-border);
  box-shadow: var(--dg-shadow);
}
.cooked .lightbox-wrapper .meta,
.cooked svg.d-icon,
.cooked svg.fa,
.cooked .quote-controls,
.cooked .onebox-avatar,
.cooked aside.quote .title img.avatar {
  display: none !important;
}
.cooked blockquote,
.cooked aside.quote {
  position: relative;
  margin: 2em 0 1.5em;
  background: var(--dg-card);
  border: var(--dg-border);
  box-shadow: var(--dg-shadow);
  font-style: normal;
  quotes: none;
}
.cooked blockquote::before,
.cooked aside.quote::before {
  content: "“";
  position: absolute;
  top: -16px;
  left: 18px;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  background: #000;
  color: var(--dg-lime);
  font: 900 28px/1 var(--dg-sans);
}
.cooked blockquote {
  padding: 1.4em 1.5em 1.2em;
}
.cooked blockquote > :last-child {
  margin-bottom: 0;
}
.cooked aside.quote .title {
  padding: 1.25em 1.5em 0;
  font-family: var(--dg-mono);
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--dg-muted);
}
.cooked aside.quote blockquote {
  margin: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0.6em 1.5em 1.2em;
}
.cooked aside.quote blockquote::before {
  display: none;
}
.cooked :not(pre) > code {
  font-family: var(--dg-mono);
  background: var(--dg-lime-soft);
  color: var(--dg-text-strong);
  padding: 0.1em 0.3em;
}
.cooked pre {
  overflow-x: auto;
  border: var(--dg-border);
  box-shadow: var(--dg-shadow-sm);
  background: var(--dg-card-alt);
}
.cooked pre code {
  display: block;
  padding: 0.9em 1em;
  font: 400 0.85em/1.6 var(--dg-mono);
  white-space: pre;
  overflow-wrap: normal;
}
.cooked hr {
  border: 0;
  border-top: var(--dg-border);
  margin: 1.5em 0;
}
.cooked aside.onebox,
.cooked .onebox:not(a) {
  display: block;
  margin: 1.25em 0;
  padding: 0.9em 1em;
  background: var(--dg-card);
  border: var(--dg-border);
  box-shadow: var(--dg-shadow-sm);
  overflow: hidden;
}
.cooked aside.onebox header.source,
.cooked .onebox:not(a) header.source {
  font-size: 0.78em;
  color: var(--dg-muted);
}
.cooked aside.onebox header.source img.site-icon,
.cooked .onebox:not(a) header.source img.site-icon {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 0.3em;
  border: 0;
  box-shadow: none;
}
.cooked aside.onebox h3,
.cooked aside.onebox h4,
.cooked .onebox:not(a) h3,
.cooked .onebox:not(a) h4 {
  margin: 0.4em 0;
  font-size: 1.05em;
}
.cooked aside.onebox .thumbnail,
.cooked aside.onebox img.thumbnail,
.cooked .onebox:not(a) .thumbnail,
.cooked .onebox:not(a) img.thumbnail {
  float: right;
  max-width: 120px;
  max-height: 120px;
  margin: 0 0 0.5em 1em;
  border: var(--dg-border-thin);
  box-shadow: none;
}
.cooked aside.onebox p,
.cooked .onebox:not(a) p {
  margin: 0.4em 0;
  font-size: 0.9em;
}
.cooked .lazy-video-container,
.cooked .youtube-onebox {
  position: relative;
  display: block;
  max-width: 640px;
  margin: 1.25em 0;
  border: var(--dg-border);
  box-shadow: var(--dg-shadow);
  background: #000;
}
.cooked .lazy-video-container img,
.cooked .youtube-onebox img {
  display: block;
  width: 100%;
  border: 0;
  box-shadow: none;
}
.cooked .lazy-video-container a::after,
.cooked .youtube-onebox a::after {
  content: "▶ YOUTUBE";
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 0.3em 0.6em;
  background: var(--dg-lime);
  color: #000;
  border: 2px solid #000;
  font: 700 0.75rem/1 var(--dg-mono);
}
.cooked .lazy-video-container .title-container,
.cooked .lazy-video-container .video-title,
.cooked .lazy-video-container .icon,
.cooked .youtube-onebox .title-container,
.cooked .youtube-onebox .video-title,
.cooked .youtube-onebox .icon {
  display: none;
}
.cooked .md-table,
.cooked > table {
  display: block;
  overflow-x: auto;
}
.cooked table {
  border: var(--dg-border);
  border-collapse: collapse;
  margin: 1.25em 0;
}
.cooked table th,
.cooked table td {
  padding: 0.4em 0.7em;
  text-align: left;
  vertical-align: top;
}
.cooked table th {
  font-family: var(--dg-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.8em;
  background: var(--dg-card-alt);
  border-bottom: var(--dg-border);
}
.cooked table td {
  border-bottom: var(--dg-border-thin);
}
.cooked details {
  margin: 1em 0;
  padding: 0.5em 0.9em;
  border: var(--dg-border-thin);
}
.cooked details summary {
  cursor: pointer;
  font-weight: 700;
}
.cooked .spoiler,
.cooked .spoiled {
  background: var(--dg-solid-bg);
  color: var(--dg-solid-bg);
}
.cooked .spoiler:hover, .cooked .spoiler:focus,
.cooked .spoiled:hover,
.cooked .spoiled:focus {
  color: var(--dg-solid-fg);
}
.cooked sup.footnote-ref a {
  text-decoration: none;
  font-family: var(--dg-mono);
  font-weight: 700;
}
.cooked hr.footnotes-sep {
  margin-top: 2em;
  border-top: var(--dg-border-thin);
}
.cooked section.footnotes,
.cooked .footnotes-list {
  font-size: 0.85em;
  color: var(--dg-muted);
}
.cooked .poll {
  margin: 1em 0;
  padding: 0.8em 1em;
  border: var(--dg-border);
  box-shadow: var(--dg-shadow-sm);
  background: var(--dg-card);
}
.cooked .poll .poll-buttons,
.cooked .poll .poll-info,
.cooked .poll .results {
  display: none;
}
.cooked .dg-hidden-map {
  display: none !important;
}

:is(.cooked, .d-editor-preview) {
  --color-neo-bg: #F4F4F0;
  --color-neo-text: #1A1A1A;
  --color-neo-border: #000000;
  --color-neo-blue: #2E5CFF;
  --color-neo-lime: #C2F970;
  --color-neo-orange: #FF6B35;
  --shadow-brutal-sm: 3px 3px 0 #000;
  --shadow-brutal: 6px 6px 0 #000;
  --shadow-brutal-lg: 8px 8px 0 #000;
  --border-brutal: 3px solid #000;
}

html.dg-dark :is(.cooked, .d-editor-preview) {
  --color-neo-bg: #1C1917;
  --color-neo-text: #D6D3D1;
  --color-neo-border: #57534E;
  --shadow-brutal-sm: 3px 3px 0 rgba(194, 249, 112, 0.10);
  --shadow-brutal: 6px 6px 0 rgba(194, 249, 112, 0.12);
  --shadow-brutal-lg: 8px 8px 0 rgba(194, 249, 112, 0.15);
  --border-brutal: 3px solid #57534E;
}

:is(.cooked, .d-editor-preview) .callout {
  --callout-color: #e2e8f0;
  --callout-icon: "📌";
}

:is(.cooked, .d-editor-preview) .callout {
  margin: 2em 0 !important;
  border: 3px solid #000 !important;
  background: #fff !important;
  box-shadow: 6px 6px 0 #000;
  overflow: hidden;
  border-radius: 0 !important;
  display: block;
  font-style: normal !important;
}

:is(.cooked, .d-editor-preview) .callout::before {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-note {
  --callout-color: var(--color-neo-lime, #c2f970);
  --callout-icon: "💡";
}

:is(.cooked, .d-editor-preview) .callout-tip {
  --callout-color: #60a5fa;
  --callout-icon: "✨";
}

:is(.cooked, .d-editor-preview) .callout-warning {
  --callout-color: var(--color-neo-orange, #ff6b35);
  --callout-icon: "⚠️";
}

:is(.cooked, .d-editor-preview) .callout-important {
  --callout-color: var(--color-neo-blue, #2e5cff);
  --callout-icon: "❗";
}

:is(.cooked, .d-editor-preview) .callout-caution {
  --callout-color: #ef4444;
  --callout-icon: "🔥";
}

:is(.cooked, .d-editor-preview) .callout-example {
  --callout-color: #a855f7;
  --callout-icon: "🧪";
}

:is(.cooked, .d-editor-preview) .callout-question {
  --callout-color: #06b6d4;
  --callout-icon: "❓";
}

:is(.cooked, .d-editor-preview) .callout-quote {
  --callout-color: #e2e8f0;
  --callout-icon: "❝";
}

:is(.cooked, .d-editor-preview) .callout-feedback {
  --callout-color: var(--color-neo-orange, #ff6b35);
  --callout-icon: "✍️";
}

:is(.cooked, .d-editor-preview) .callout-feedback .feedback-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

:is(.cooked, .d-editor-preview) .callout-feedback .feedback-hint {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--dg-mono);
  font-size: 0.8rem;
  line-height: 1.4;
  color: #57534e;
}

:is(.cooked, .d-editor-preview) .callout-feedback textarea.feedback-text,
:is(.cooked, .d-editor-preview) .callout-feedback input.feedback-contact {
  width: 100%;
  box-sizing: border-box;
  border: 3px solid #000;
  background: #fff;
  color: #000;
  font-family: var(--dg-mono);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border-radius: 0;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

:is(.cooked, .d-editor-preview) .callout-feedback textarea.feedback-text {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}

:is(.cooked, .d-editor-preview) .callout-feedback textarea.feedback-text:focus,
:is(.cooked, .d-editor-preview) .callout-feedback input.feedback-contact:focus {
  outline: none;
  background: #fffdf5;
  box-shadow: inset 0 0 0 1px #000;
}

:is(.cooked, .d-editor-preview) .callout-feedback textarea.feedback-text::placeholder,
:is(.cooked, .d-editor-preview) .callout-feedback input.feedback-contact::placeholder {
  color: #a8a29e;
}

:is(.cooked, .d-editor-preview) .callout-feedback .feedback-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

:is(.cooked, .d-editor-preview) .callout-feedback .feedback-send {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--callout-color);
  color: #000;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  padding: 0.7rem 1.5rem;
  font-family: var(--dg-mono);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

:is(.cooked, .d-editor-preview) .callout-feedback .feedback-send:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}

:is(.cooked, .d-editor-preview) .callout-feedback .feedback-send:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #000;
}

:is(.cooked, .d-editor-preview) .callout-feedback .feedback-send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

:is(.cooked, .d-editor-preview) .callout-feedback .feedback-status {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--dg-mono);
  font-size: 0.85rem;
  font-weight: 700;
}

:is(.cooked, .d-editor-preview) .callout-feedback .feedback-status.is-error {
  color: #dc2626;
}

:is(.cooked, .d-editor-preview) .callout-feedback .feedback-done {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--dg-mono);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #000;
}

:is(.cooked, .d-editor-preview) .callout-feedback .feedback-done .feedback-done-emoji {
  font-size: 1.6rem;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-feedback textarea.feedback-text,
html.dg-dark :is(.cooked, .d-editor-preview) .callout-feedback input.feedback-contact {
  background: #1c1917;
  color: #d6d3d1;
  border-color: #57534e;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-feedback textarea.feedback-text:focus,
html.dg-dark :is(.cooked, .d-editor-preview) .callout-feedback input.feedback-contact:focus {
  background: #232020;
  box-shadow: inset 0 0 0 1px #c2f970;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-feedback textarea.feedback-text::placeholder,
html.dg-dark :is(.cooked, .d-editor-preview) .callout-feedback input.feedback-contact::placeholder {
  color: #78716c;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-feedback .feedback-hint {
  color: #a8a29e;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-feedback .feedback-send {
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6);
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-feedback .feedback-send:hover:not(:disabled) {
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.6);
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-feedback .feedback-done {
  color: #d6d3d1;
}

:is(.cooked, .d-editor-preview) .callout-quote {
  background: #faf8f3 !important;
  border: none !important;
  border-left: 6px solid #000 !important;
  box-shadow: none !important;
  position: relative;
  overflow: visible !important;
}

:is(.cooked, .d-editor-preview) .callout-quote::before {
  content: "„" !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 1rem;
  left: -23px;
  width: 40px;
  height: 40px;
  background: #000;
  color: #fff;
  font-family: var(--dg-mono);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}

:is(.cooked, .d-editor-preview) .callout-quote .callout-title {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-quote .callout-body {
  padding: 1.5rem 1.5rem 1rem 2.5rem !important;
  position: relative;
  z-index: 1;
}

:is(.cooked, .d-editor-preview) .callout-quote .callout-body p {
  font-family: var(--dg-mono) !important;
  font-style: italic !important;
  font-size: 0.88em !important;
  line-height: 1.75 !important;
  color: #1a1a1a !important;
}

:is(.cooked, .d-editor-preview) .callout-quote .callout-body p:last-child {
  font-family: var(--dg-mono) !important;
  font-style: normal !important;
  font-size: 0.75em !important;
  font-weight: 700 !important;
  text-align: right !important;
  color: #666 !important;
  margin-top: 0.75rem !important;
  padding-top: 0.5rem !important;
  border-top: 1px solid #e0e0e0 !important;
}

:is(.cooked, .d-editor-preview) .callout-epigraph {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 2.5em 0 2.5em auto !important;
  max-width: 55% !important;
  padding: 0 !important;
  position: relative;
  overflow: visible !important;
}

:is(.cooked, .d-editor-preview) .callout-epigraph .callout-title {
  display: inline-flex !important;
  align-items: center;
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #000 !important;
  padding: 2px 8px !important;
  font-family: var(--dg-mono) !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  transform: rotate(-2deg);
  position: absolute;
  top: -10px;
  right: 0;
  margin: 0 !important;
  z-index: 2;
  line-height: 1.2 !important;
}

:is(.cooked, .d-editor-preview) .callout-epigraph .callout-title strong {
  font-weight: 900 !important;
  color: #fff !important;
}

:is(.cooked, .d-editor-preview) .callout-epigraph .callout-icon {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-epigraph .callout-body {
  padding: 1.25rem 0 0 0 !important;
  text-align: right !important;
}

:is(.cooked, .d-editor-preview) .callout-epigraph .callout-body p {
  font-family: var(--dg-mono) !important;
  font-style: italic !important;
  font-size: 0.9em !important;
  line-height: 1.6 !important;
  color: #555 !important;
  margin: 0 0 0.5rem 0 !important;
}

:is(.cooked, .d-editor-preview) .callout-epigraph .callout-body p:not(:only-child):last-child {
  font-family: var(--dg-mono) !important;
  font-style: normal !important;
  font-size: 0.75em !important;
  font-weight: 700 !important;
  color: #888 !important;
  margin-top: 0.5rem !important;
}

:is(.cooked, .d-editor-preview) .callout-epigraph .callout-body p:not(:only-child):last-child::before {
  content: "— ";
}

:is(.cooked, .d-editor-preview) .callout-poem {
  --callout-color: #c2f970;
  --callout-icon: "♪";
  background: #faf8f3 !important;
  border: 2px solid #000 !important;
  box-shadow: 4px 4px 0 var(--color-neo-lime, #c2f970) !important;
  padding: 2.25rem 1.75rem 1.5rem 1.75rem !important;
  margin: 2.75em 0 !important;
  position: relative;
  overflow: visible !important;
}

:is(.cooked, .d-editor-preview) .callout-poem .callout-title {
  display: inline-flex !important;
  align-items: center;
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #000 !important;
  padding: 4px 10px !important;
  font-family: var(--dg-mono) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  transform: rotate(-2deg);
  position: absolute;
  top: -12px;
  left: 1.25rem;
  margin: 0 !important;
  z-index: 2;
  line-height: 1.2 !important;
}

:is(.cooked, .d-editor-preview) .callout-poem .callout-title strong {
  font-size: 0 !important;
  line-height: 0 !important;
}

:is(.cooked, .d-editor-preview) .callout-poem .callout-title strong::before {
  content: "♪ ПЕСНЯ";
  font-size: 10px !important;
  line-height: 1.2 !important;
  color: #fff !important;
  font-weight: 900 !important;
}

:is(.cooked, .d-editor-preview) .callout-poem .callout-icon {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-poem::after {
  content: "33⅓ RPM";
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: #000;
  color: #fff;
  border: 2px solid #000;
  padding: 4px 10px;
  font-family: var(--dg-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(2deg);
  z-index: 2;
  line-height: 1.2;
  white-space: nowrap;
}

:is(.cooked, .d-editor-preview) .callout-poem .callout-body {
  padding: 0.5rem 0 0 0 !important;
}

:is(.cooked, .d-editor-preview) .callout-poem .callout-body p {
  font-family: var(--dg-mono) !important;
  font-style: italic !important;
  font-size: 0.92em !important;
  line-height: 1.85 !important;
  color: #1a1a1a !important;
  margin: 0 0 1.25rem 0 !important;
}

:is(.cooked, .d-editor-preview) .callout-poem .callout-body p strong {
  font-style: normal !important;
  font-weight: 900 !important;
  background: var(--color-neo-lime, #c2f970);
  padding: 0 4px;
  color: #000 !important;
}

:is(.cooked, .d-editor-preview) .callout-poem .callout-body p:not(:only-child):last-child {
  display: inline-block !important;
  margin: 0.5rem 0 0 0 !important;
  padding: 6px 12px !important;
  background: #000 !important;
  color: #fff !important;
  font-family: var(--dg-mono) !important;
  font-style: normal !important;
  font-size: 0.72em !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  box-shadow: 3px 3px 0 var(--color-neo-lime, #c2f970) !important;
  border: 2px solid #000 !important;
  line-height: 1.4 !important;
}

:is(.cooked, .d-editor-preview) .callout-abstract {
  --callout-color: #94a3b8;
  --callout-icon: "📋";
}

:is(.cooked, .d-editor-preview) .callout-info {
  --callout-color: #38bdf8;
  --callout-icon: "ℹ️";
}

:is(.cooked, .d-editor-preview) .callout-todo {
  --callout-color: #fbbf24;
  --callout-icon: "✅";
}

:is(.cooked, .d-editor-preview) .callout-prompt {
  --callout-color: #06b6d4;
  --callout-icon: "🤖";
}

:is(.cooked, .d-editor-preview) .callout-annotation {
  --callout-color: #e2e8f0;
  --callout-icon: "📝";
}

:is(.cooked, .d-editor-preview) .callout-definition {
  background: #fffbeb !important;
  border: 3px solid #000 !important;
  box-shadow: 6px 6px 0 #000;
  overflow: visible !important; /* Allow sticker to stick out */
  position: relative;
  margin-top: 3.5rem !important; /* Space for the tab */
  margin-bottom: 2.5rem !important;
}

:is(.cooked, .d-editor-preview) .callout-definition .callout-title {
  background: #000 !important;
  color: #fff !important;
  transform: rotate(-2deg);
  display: inline-flex !important;
  width: auto !important;
  padding: 4px 14px !important;
  font-family: var(--dg-mono);
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: absolute;
  top: -22px; /* Lift above the border */
  left: 1.5rem;
  border: 3px solid #000;
  box-shadow: 2px 2px 0 var(--color-neo-lime);
  z-index: 10;
  margin: 0 !important;
  cursor: default;
}

:is(.cooked, .d-editor-preview) .callout-definition .callout-title strong {
  color: #fff !important;
}

:is(.cooked, .d-editor-preview) .callout-definition .callout-icon {
  display: none !important; /* No icon as requested */
}

:is(.cooked, .d-editor-preview) .callout-definition .callout-body {
  padding: 1.5rem 1.25rem 1.25rem !important;
  background: transparent !important;
}

:is(.cooked, .d-editor-preview) .callout-title,
:is(.cooked, .d-editor-preview) .callout-title strong {
  color: #000 !important;
}

:is(.cooked, .d-editor-preview) .callout-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem !important;
  background: var(--callout-color) !important;
  border-bottom: 3px solid #000;
  font-family: var(--dg-mono);
  font-weight: 900 !important;
  text-transform: uppercase;
  margin: 0 !important;
  cursor: pointer;
  user-select: none;
  list-style: none; /* Hide default details arrow */
  font-size: 0.9em;
  line-height: 1.2;
}

:is(.cooked, .d-editor-preview) .callout-title strong {
  font-weight: 900 !important;
}

:is(.cooked, .d-editor-preview) .callout-title::-webkit-details-marker {
  display: none; /* Hide for Safari */
}

:is(.cooked, .d-editor-preview) .callout-icon::before {
  content: var(--callout-icon);
  font-size: 1.2em;
  display: block;
  line-height: 1;
}

:is(.cooked, .d-editor-preview) .callout-fold {
  margin-left: auto;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

:is(.cooked, .d-editor-preview) details.callout .callout-fold::before {
  content: "▼";
  font-size: 0.7em;
  font-weight: 900;
}

:is(.cooked, .d-editor-preview) details.callout[open] .callout-fold {
  transform: rotate(180deg);
}

:is(.cooked, .d-editor-preview) .callout > *:not(.callout-title) {
  padding: 1rem 1.25rem !important;
}

:is(.cooked, .d-editor-preview) .callout p {
  margin-bottom: 1em !important;
}

:is(.cooked, .d-editor-preview) .callout p:last-child {
  margin-bottom: 0 !important;
}

:is(.cooked, .d-editor-preview) .callout .callout-body {
  padding: 1rem 1.25rem !important;
}

:is(.cooked, .d-editor-preview) .callout-notify {
  --callout-icon: "📖";
  --callout-color: transparent;
  background: transparent !important;
  border: none !important;
  border-top: 1px dashed #b0b0b0 !important;
  border-bottom: 1px dashed #b0b0b0 !important;
  box-shadow: none !important;
  margin: 1.5em 0 !important;
}

:is(.cooked, .d-editor-preview) .callout-notify .callout-title {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-notify .callout-body {
  padding: 0.6rem 0.25rem !important;
  font-family: var(--dg-mono);
  font-size: 0.78em;
  color: #999 !important;
  line-height: 1.5;
}

:is(.cooked, .d-editor-preview) .callout-notify .callout-body::before {
  content: "📖 ";
  font-size: 1em;
}

:is(.cooked, .d-editor-preview) .callout-notify .callout-body p {
  display: inline;
  margin: 0 !important;
  color: #999 !important;
}

:is(.cooked, .d-editor-preview) .callout-notify .callout-body a {
  color: #999 !important;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}

:is(.cooked, .d-editor-preview) .callout-notify .callout-body a:hover {
  color: #000 !important;
}

:is(.cooked, .d-editor-preview) .callout-gap {
  background: transparent !important;
  border: none !important;
  border-left: 3px solid #e0e0e0 !important;
  box-shadow: none !important;
  margin: 2em 0 !important;
  position: relative;
}

:is(.cooked, .d-editor-preview) .callout-gap .callout-title {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-gap .callout-body {
  padding: 0 !important;
  position: relative;
}

:is(.cooked, .d-editor-preview) .callout-gap .callout-body p {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-gap .callout-body::before {
  content: "✏️ место для записей";
  display: block;
  font-family: var(--dg-mono);
  font-size: 0.7em;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.75rem;
}

:is(.cooked, .d-editor-preview) .callout-gap .callout-body::after {
  content: "";
  display: block;
  height: 12rem;
  margin: 0 0.75rem 0.75rem;
  background-image: radial-gradient(circle, #ccc 1px, transparent 1px);
  background-size: 18px 28px;
  background-position: 0 10px;
}

@media print {
  :is(.cooked, .d-editor-preview) .callout-gap {
    border-left: 2px solid #ccc !important;
    page-break-inside: avoid;
  }
}
@media print {
  :is(.cooked, .d-editor-preview) .callout-gap .callout-body::after {
    height: 16rem;
    background-image: radial-gradient(circle, #aaa 1px, transparent 1px);
  }
}
:is(.cooked, .d-editor-preview) .callout-prompt {
  --callout-icon: "🤖";
  --callout-color: #06b6d4;
  background: #f0fdfa !important;
  border: 3px solid #000 !important;
  border-left: 6px solid #06b6d4 !important;
  box-shadow: 6px 6px 0 #000;
  overflow: visible !important;
  position: relative;
  margin-top: 3.5rem !important;
  margin-bottom: 2.5rem !important;
}

:is(.cooked, .d-editor-preview) .callout-prompt .callout-title {
  background: #000 !important;
  color: #06b6d4 !important;
  transform: rotate(-1deg);
  display: inline-flex !important;
  width: auto !important;
  padding: 4px 14px !important;
  font-family: var(--dg-mono);
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: absolute;
  top: -22px;
  left: 1.5rem;
  border: 3px solid #000;
  box-shadow: 2px 2px 0 #06b6d4;
  z-index: 10;
  margin: 0 !important;
  cursor: default;
  border-bottom: 3px solid #000 !important;
}

:is(.cooked, .d-editor-preview) .callout-prompt .callout-title strong {
  color: #06b6d4 !important;
}

:is(.cooked, .d-editor-preview) .callout-prompt .callout-icon {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-prompt .callout-body {
  padding: 1.5rem 1.25rem 1.25rem !important;
  background: transparent !important;
  font-family: var(--dg-mono);
  font-size: 0.88em;
  line-height: 1.7;
}

:is(.cooked, .d-editor-preview) .callout-prompt-copy {
  position: absolute;
  top: -14px;
  right: 1rem;
  background: #000;
  color: #06b6d4;
  border: 2px solid #000;
  box-shadow: 1px 1px 0 #06b6d4;
  padding: 2px 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: box-shadow 0.15s, transform 0.15s, opacity 0.2s;
  opacity: 0.5;
}

:is(.cooked, .d-editor-preview) .callout-prompt:hover .callout-prompt-copy {
  opacity: 1;
}

:is(.cooked, .d-editor-preview) .callout-prompt-copy:hover {
  transform: translateY(-1px);
  box-shadow: 2px 2px 0 #06b6d4;
}

:is(.cooked, .d-editor-preview) .callout-prompt-copy:active {
  transform: translateY(0);
  box-shadow: 0px 0px 0 #06b6d4;
}

:is(.cooked, .d-editor-preview) .callout-prompt-copy.copied {
  color: var(--color-neo-lime, #c2f970);
  box-shadow: 2px 2px 0 var(--color-neo-lime, #c2f970);
}

:is(.cooked, .d-editor-preview) .callout-always {
  --callout-icon: "→";
  --callout-color: var(--color-neo-lime, #c2f970);
  background: #fff !important;
  border: 3px solid #000 !important;
  border-left: 6px solid var(--color-neo-lime, #c2f970) !important;
  box-shadow: 6px 6px 0 #000;
  overflow: visible !important;
  position: relative;
  margin-top: 3.5rem !important;
  margin-bottom: 2.5rem !important;
}

:is(.cooked, .d-editor-preview) .callout-always .callout-title {
  background: #000 !important;
  color: #fff !important;
  transform: rotate(2deg);
  display: inline-flex !important;
  width: auto !important;
  padding: 4px 14px !important;
  font-family: var(--dg-mono);
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: absolute;
  top: -22px;
  left: 1.5rem;
  border: 3px solid #000;
  box-shadow: 2px 2px 0 var(--color-neo-lime, #c2f970);
  z-index: 10;
  margin: 0 !important;
  cursor: default;
  border-bottom: 3px solid #000 !important;
}

:is(.cooked, .d-editor-preview) .callout-always .callout-title strong {
  color: #fff !important;
}

:is(.cooked, .d-editor-preview) .callout-always .callout-icon {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-always .callout-body {
  padding: 1.5rem 1.25rem 1.25rem !important;
  background: transparent !important;
}

:is(.cooked, .d-editor-preview) .callout-never {
  --callout-icon: "✕";
  --callout-color: #ef4444;
  background: #fff !important;
  border: 3px solid #000 !important;
  border-right: 6px solid #ef4444 !important;
  box-shadow: 6px 6px 0 #000;
  overflow: visible !important;
  position: relative;
  margin-top: 3.5rem !important;
  margin-bottom: 2.5rem !important;
}

:is(.cooked, .d-editor-preview) .callout-never .callout-title {
  background: #000 !important;
  color: #fff !important;
  transform: rotate(-2deg);
  display: inline-flex !important;
  width: auto !important;
  padding: 4px 14px !important;
  font-family: var(--dg-mono);
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: absolute;
  top: -22px;
  right: 1.5rem;
  border: 3px solid #000;
  box-shadow: -2px 2px 0 #ef4444;
  z-index: 10;
  margin: 0 !important;
  cursor: default;
  border-bottom: 3px solid #000 !important;
}

:is(.cooked, .d-editor-preview) .callout-never .callout-title strong {
  color: #fff !important;
}

:is(.cooked, .d-editor-preview) .callout-never .callout-icon {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-never .callout-body {
  padding: 1.5rem 1.25rem 1.25rem !important;
  background: transparent !important;
}

:is(.cooked, .d-editor-preview) .callout-dialogue {
  background: #f9f9f6 !important;
  border: 3px solid #000 !important;
  box-shadow: 6px 6px 0 #000 !important;
  overflow: visible !important;
  position: relative;
}

:is(.cooked, .d-editor-preview) .callout-dialogue::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #000 1px, transparent 0);
  background-size: 12px 12px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

:is(.cooked, .d-editor-preview) .callout-dialogue .callout-title {
  display: inline-flex !important;
  width: auto !important;
  padding: 3px 12px !important;
  font-size: 9px !important;
  letter-spacing: 0.15em;
  transform: rotate(-1.5deg);
  margin: 0.5rem 0 0 1rem !important;
  box-shadow: 2px 2px 0 var(--color-neo-orange, #ff6b35) !important;
  border-bottom: 3px solid #000 !important;
  background: #000 !important;
  color: #fff !important;
  position: relative;
  z-index: 1;
}

:is(.cooked, .d-editor-preview) .callout-dialogue .callout-title strong {
  color: #fff !important;
}

:is(.cooked, .d-editor-preview) .callout-dialogue .callout-icon {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-dialogue::before {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-dialogue .callout-body {
  display: flex !important;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1.25rem !important;
  position: relative;
  z-index: 1;
}

:is(.cooked, .d-editor-preview) .callout-dialogue .callout-body > p {
  background: #fff;
  border: 3px solid #000;
  padding: 0.7rem 1.1rem !important;
  margin: 0 !important;
  max-width: 78%;
  font-family: var(--dg-mono);
  font-size: 0.9em;
  line-height: 1.55;
  position: relative;
  box-shadow: 4px 4px 0 #000;
}

:is(.cooked, .d-editor-preview) .callout-dialogue .callout-body > p:nth-of-type(odd) {
  align-self: flex-start;
}

:is(.cooked, .d-editor-preview) .callout-dialogue .callout-body > p:nth-of-type(odd)::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 14px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-right: 3px solid #000;
  border-bottom: 3px solid #000;
  transform: rotate(45deg);
  box-shadow: 2px 2px 0 #000;
}

:is(.cooked, .d-editor-preview) .callout-dialogue .callout-body > p:nth-of-type(even) {
  align-self: flex-end;
  background: var(--color-neo-lime, #c2f970);
  box-shadow: -4px 4px 0 #000;
}

:is(.cooked, .d-editor-preview) .callout-dialogue .callout-body > p:nth-of-type(even)::before {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 14px;
  width: 12px;
  height: 12px;
  background: var(--color-neo-lime, #c2f970);
  border-right: 3px solid #000;
  border-bottom: 3px solid #000;
  transform: rotate(45deg);
  box-shadow: -2px 2px 0 #000;
}

:is(.cooked, .d-editor-preview) .callout-postscriptum {
  position: relative;
  background: #f5ede0 !important;
  border: 3px solid #000 !important;
  box-shadow: 7px 7px 0 var(--color-neo-orange, #ff6b35) !important;
  margin: 3.5em 0 2.5em 0 !important;
  padding: 1.75rem 1.5rem 1.25rem !important;
  transform: rotate(-0.6deg);
  overflow: visible !important;
}

:is(.cooked, .d-editor-preview) .callout-postscriptum::before {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-postscriptum::after {
  content: "✉ · 2026";
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-family: var(--dg-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #6b5d48;
  padding: 0.45rem 0.7rem;
  border: 1.5px dashed #b8a886;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(2deg);
  pointer-events: none;
  line-height: 1;
}

:is(.cooked, .d-editor-preview) .callout-postscriptum .callout-title {
  position: absolute !important;
  top: -14px !important;
  left: 1.25rem !important;
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  padding: 6px 14px !important;
  background: #000 !important;
  color: #fff !important;
  border: 3px solid #000 !important;
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 var(--color-neo-orange, #ff6b35) !important;
  transform: rotate(-3deg);
  z-index: 2;
  margin: 0 !important;
}

:is(.cooked, .d-editor-preview) .callout-postscriptum .callout-title .callout-icon {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-postscriptum .callout-title strong {
  color: #fff !important;
  font-size: 0;
  line-height: 0;
}

:is(.cooked, .d-editor-preview) .callout-postscriptum .callout-title strong::before {
  content: "P.S.";
  font-family: var(--dg-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  color: #fff;
}

:is(.cooked, .d-editor-preview) .callout-postscriptum .callout-body {
  padding: 0.75rem 0.5rem 0 0 !important;
  position: relative;
  z-index: 1;
}

:is(.cooked, .d-editor-preview) .callout-postscriptum .callout-body p {
  font-size: 0.95em !important;
  line-height: 1.75 !important;
  color: #2a2419 !important;
  margin: 0 0 1rem 0 !important;
}

:is(.cooked, .d-editor-preview) .callout-postscriptum .callout-body p:first-child {
  font-style: italic;
}

:is(.cooked, .d-editor-preview) .callout-postscriptum .callout-body p:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 560px) {
  :is(.cooked, .d-editor-preview) .callout-postscriptum {
    transform: none;
    padding: 1.5rem 1.1rem 1rem !important;
    margin: 3em 0 2em 0 !important;
    box-shadow: 5px 5px 0 var(--color-neo-orange, #ff6b35) !important;
  }
}
@media (max-width: 560px) {
  :is(.cooked, .d-editor-preview) .callout-postscriptum::after {
    display: none;
  }
}
@media (max-width: 560px) {
  :is(.cooked, .d-editor-preview) .callout-postscriptum .callout-title {
    top: -12px !important;
    left: 0.75rem !important;
    transform: rotate(-2deg);
  }
}
:is(.cooked, .d-editor-preview) .callout-collage {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  margin: 2.5em 0 !important;
  padding: 0.5rem !important;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-title {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-collage::before {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 70px;
  grid-auto-flow: dense;
  gap: 0.85rem;
  padding: 0 !important;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p {
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  border: 3px solid #000;
  background: #fff;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, z-index 0s 0.18s;
  will-change: transform;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: zoom-in;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+1) {
  grid-column: span 3;
  grid-row: span 3;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+2) {
  grid-column: span 3;
  grid-row: span 2;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+3) {
  grid-column: span 2;
  grid-row: span 2;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+4) {
  grid-column: span 4;
  grid-row: span 2;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+5) {
  grid-column: span 2;
  grid-row: span 3;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+1) {
  box-shadow: 6px 6px 0 var(--color-neo-lime, #c2f970), 6px 6px 0 1px #000;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+2) {
  box-shadow: 6px 6px 0 var(--color-neo-orange, #ff6b35), 6px 6px 0 1px #000;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+3) {
  box-shadow: 6px 6px 0 var(--color-neo-blue, #2e5cff), 6px 6px 0 1px #000;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(4n+1) {
  transform: rotate(-1.2deg);
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(4n+2) {
  transform: rotate(0.8deg);
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(4n+3) {
  transform: rotate(-0.4deg);
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(4n+4) {
  transform: rotate(1.6deg);
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:hover {
  transform: rotate(0deg) translate(-2px, -2px) scale(1.02);
  z-index: 5;
  transition: transform 0.18s ease, box-shadow 0.18s ease, z-index 0s;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+1):hover {
  box-shadow: 10px 10px 0 var(--color-neo-lime, #c2f970), 10px 10px 0 1px #000;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+2):hover {
  box-shadow: 10px 10px 0 var(--color-neo-orange, #ff6b35), 10px 10px 0 1px #000;
}

:is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+3):hover {
  box-shadow: 10px 10px 0 var(--color-neo-blue, #2e5cff), 10px 10px 0 1px #000;
}

@media (max-width: 900px) {
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 60px;
    gap: 0.6rem;
  }
}
@media (max-width: 900px) {
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+1) {
    grid-column: span 2;
    grid-row: span 3;
  }
}
@media (max-width: 900px) {
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+2) {
    grid-column: span 2;
    grid-row: span 2;
  }
}
@media (max-width: 900px) {
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+3) {
    grid-column: span 2;
    grid-row: span 2;
  }
}
@media (max-width: 900px) {
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+4) {
    grid-column: span 4;
    grid-row: span 2;
  }
}
@media (max-width: 900px) {
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+5) {
    grid-column: span 2;
    grid-row: span 3;
  }
}
@media (max-width: 560px) {
  :is(.cooked, .d-editor-preview) .callout-collage {
    padding: 0.25rem !important;
  }
}
@media (max-width: 560px) {
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px;
    gap: 0.5rem;
  }
}
@media (max-width: 560px) {
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p,
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+1),
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+2),
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+3),
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+4),
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(5n+5) {
    grid-column: span 1;
    grid-row: span 1;
    transform: none;
  }
}
@media (max-width: 560px) {
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+1) {
    box-shadow: 4px 4px 0 var(--color-neo-lime, #c2f970), 4px 4px 0 1px #000;
  }
}
@media (max-width: 560px) {
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+2) {
    box-shadow: 4px 4px 0 var(--color-neo-orange, #ff6b35), 4px 4px 0 1px #000;
  }
}
@media (max-width: 560px) {
  :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+3) {
    box-shadow: 4px 4px 0 var(--color-neo-blue, #2e5cff), 4px 4px 0 1px #000;
  }
}
:is(.cooked, .d-editor-preview) .callout-example {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 2.5em 0 !important;
  counter-reset: specimen;
  overflow: visible !important;
}

:is(.cooked, .d-editor-preview) .callout-example::before {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-example .callout-title {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5em;
  width: auto !important;
  padding: 5px 12px !important;
  margin: 0 0 1.25rem 0 !important;
  background: #0a0a0a !important;
  color: #fff !important;
  border: 2.5px solid #000 !important;
  border-radius: 0 !important;
  font-family: var(--dg-mono) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  transform: rotate(-1.2deg);
  box-shadow: 3px 3px 0 #a855f7;
}

:is(.cooked, .d-editor-preview) .callout-example .callout-title strong {
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 11px !important;
}

:is(.cooked, .d-editor-preview) .callout-example .callout-title .callout-icon::before {
  font-size: 0.95em;
}

:is(.cooked, .d-editor-preview) .callout-example .callout-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  padding: 0 !important;
  background: transparent !important;
}

:is(.cooked, .d-editor-preview) .callout-example .callout-body > p {
  counter-increment: specimen;
  position: relative;
  background: #faf8f3 !important;
  border: 3px solid #000 !important;
  box-shadow: 6px 6px 0 #000 !important;
  padding: 1.35rem 1.5rem !important;
  margin: 0 !important;
  font-family: var(--dg-mono) !important;
  font-size: 0.95em !important;
  line-height: 1.55 !important;
  color: #1a1a1a !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

:is(.cooked, .d-editor-preview) .callout-example .callout-body > p::before {
  content: "EX_" counter(specimen, decimal-leading-zero);
  position: absolute;
  top: -11px;
  left: 1rem;
  background: #a855f7;
  color: #fff;
  border: 2.5px solid #000;
  padding: 2px 8px;
  font-family: var(--dg-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  z-index: 2;
  pointer-events: none;
}

@media (min-width: 769px) {
  :is(.cooked, .d-editor-preview) .callout-example .callout-body > p:nth-of-type(odd) {
    transform: rotate(-0.35deg);
  }
}
@media (min-width: 769px) {
  :is(.cooked, .d-editor-preview) .callout-example .callout-body > p:nth-of-type(even) {
    transform: rotate(0.35deg);
  }
}
@media (min-width: 769px) {
  :is(.cooked, .d-editor-preview) .callout-example .callout-body > p:hover {
    transform: rotate(0deg) translate(-2px, -2px);
    box-shadow: 8px 8px 0 #a855f7 !important;
  }
}
@media (max-width: 768px) {
  :is(.cooked, .d-editor-preview) .callout-example .callout-body {
    gap: 1.25rem !important;
  }
}
@media (max-width: 768px) {
  :is(.cooked, .d-editor-preview) .callout-example .callout-body > p {
    padding: 1.1rem 1.1rem !important;
    box-shadow: 4px 4px 0 #000 !important;
    font-size: 0.9em !important;
  }
}
@media (max-width: 768px) {
  :is(.cooked, .d-editor-preview) .callout-example .callout-body > p::before {
    top: -10px;
    left: 0.75rem;
    font-size: 9px;
  }
}
:is(.cooked, .d-editor-preview) .callout-cards {
  --callout-color: var(--color-neo-blue, #2e5cff);
  --callout-icon: "🃏";
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 2.5em 0 !important;
  overflow: visible !important;
  counter-reset: cardpair;
}

:is(.cooked, .d-editor-preview) .callout-cards::before {
  display: none !important;
}

:is(.cooked, .d-editor-preview) .callout-cards .callout-title {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5em;
  width: auto !important;
  padding: 5px 12px !important;
  margin: 0 0 1.5rem 0 !important;
  background: #0a0a0a !important;
  color: #fff !important;
  border: 2.5px solid #000 !important;
  border-radius: 0 !important;
  font-family: var(--dg-mono) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  transform: rotate(-1deg);
  box-shadow: 3px 3px 0 var(--color-neo-blue, #2e5cff);
}

:is(.cooked, .d-editor-preview) .callout-cards .callout-title strong {
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 11px !important;
}

:is(.cooked, .d-editor-preview) .callout-cards .callout-title .callout-icon::before {
  font-size: 0.95em;
}

:is(.cooked, .d-editor-preview) .callout-cards .callout-body {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1.75rem;
  padding: 0 !important;
  background: transparent !important;
}

:is(.cooked, .d-editor-preview) .callout-cards .callout-body > p {
  margin: 0 !important;
  padding: 1rem 1.25rem !important;
  background: #faf8f3;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  font-family: var(--dg-mono) !important;
  font-size: 0.9em !important;
  line-height: 1.6 !important;
  white-space: pre-line;
}

:is(.cooked, .d-editor-preview) .callout-cards .flip-card {
  counter-increment: cardpair;
  perspective: 1200px;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

:is(.cooked, .d-editor-preview) .callout-cards .flip-card-inner {
  display: grid;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

:is(.cooked, .d-editor-preview) .callout-cards .flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

:is(.cooked, .d-editor-preview) .callout-cards .flip-card-face {
  grid-area: 1/1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.6rem 1.4rem;
  min-height: 130px;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  font-family: var(--dg-mono);
  font-size: 0.95em;
  line-height: 1.5;
  color: #1a1a1a;
  transition: box-shadow 0.18s ease;
}

:is(.cooked, .d-editor-preview) .callout-cards .flip-card-front {
  background: #faf8f3;
}

:is(.cooked, .d-editor-preview) .callout-cards .flip-card-back {
  background: var(--color-neo-lime, #c2f970);
  transform: rotateY(180deg);
}

:is(.cooked, .d-editor-preview) .callout-cards .flip-card-face::before {
  content: counter(cardpair, decimal-leading-zero);
  position: absolute;
  top: -11px;
  left: 1rem;
  background: var(--color-neo-blue, #2e5cff);
  color: #fff;
  border: 2.5px solid #000;
  padding: 2px 8px;
  font-family: var(--dg-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  z-index: 2;
}

:is(.cooked, .d-editor-preview) .callout-cards .flip-card-front::after {
  content: "↻ FLIP";
  position: absolute;
  bottom: 0.55rem;
  right: 0.7rem;
  font-family: var(--dg-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #6b5d48;
  pointer-events: none;
}

:is(.cooked, .d-editor-preview) .callout-cards .flip-card-back::after {
  content: "↺ BACK";
  position: absolute;
  bottom: 0.55rem;
  right: 0.7rem;
  font-family: var(--dg-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #1a3a14;
  pointer-events: none;
}

@media (hover: hover) {
  :is(.cooked, .d-editor-preview) .callout-cards .flip-card:hover .flip-card-face {
    box-shadow: 8px 8px 0 var(--color-neo-blue, #2e5cff);
  }
}
:is(.cooked, .d-editor-preview) .callout-cards .flip-card:focus-visible {
  outline: none;
}

:is(.cooked, .d-editor-preview) .callout-cards .flip-card:focus-visible .flip-card-face {
  box-shadow: 8px 8px 0 var(--color-neo-orange, #ff6b35);
}

@media (max-width: 640px) {
  :is(.cooked, .d-editor-preview) .callout-cards .callout-body {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
@media (max-width: 640px) {
  :is(.cooked, .d-editor-preview) .callout-cards .flip-card-face {
    padding: 1.2rem 1rem;
    font-size: 0.88em;
    box-shadow: 4px 4px 0 #000;
    min-height: 110px;
  }
}
@media (max-width: 640px) {
  :is(.cooked, .d-editor-preview) .callout-cards .flip-card:hover .flip-card-face {
    box-shadow: 5px 5px 0 var(--color-neo-blue, #2e5cff);
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.cooked, .d-editor-preview) .callout-cards .flip-card-inner {
    transition-duration: 0.01s;
  }
}
:is(.cooked, .d-editor-preview) .callout-snail {
  --snail-accent: var(--color-neo-blue, #2e5cff);
  --snail-line: #000;
  --snail-paper: #fff;
  --snail-grid: rgba(46, 92, 255, 0.08);
  --snail-spiral: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 11a2 2 0 0 1 4 0a4 4 0 0 1-8 0a6 6 0 0 1 12 0'/%3E%3C/svg%3E");
  position: relative;
  background-color: var(--snail-paper) !important;
  background-image: linear-gradient(to right, var(--snail-grid) 1px, transparent 1px), linear-gradient(to bottom, var(--snail-grid) 1px, transparent 1px) !important;
  background-size: 16px 16px !important;
  border: 3px solid var(--snail-line) !important;
  box-shadow: 6px 6px 0 var(--snail-accent) !important;
  overflow: visible !important;
}

:is(.cooked, .d-editor-preview) .callout-snail .callout-title {
  background: var(--snail-line) !important;
  color: #fff !important;
  border-bottom: 3px solid var(--snail-line);
  font-family: var(--dg-mono);
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em;
  padding: 0.6rem 1rem !important;
  cursor: default;
}

:is(.cooked, .d-editor-preview) .callout-snail .callout-title strong {
  color: #fff !important;
  font-weight: 700 !important;
}

:is(.cooked, .d-editor-preview) .callout-snail .callout-title::after {
  content: "ЛОГИЧЕСКАЯ СВЯЗКА";
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.2em;
  opacity: 0.55;
}

:is(.cooked, .d-editor-preview) .callout-snail .callout-icon::before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  background-color: currentColor;
  -webkit-mask: var(--snail-spiral) center/contain no-repeat;
  mask: var(--snail-spiral) center/contain no-repeat;
}

:is(.cooked, .d-editor-preview) .callout-snail .snail-body {
  padding: 2rem 1.5rem 1.5rem !important;
  background: transparent !important;
}

:is(.cooked, .d-editor-preview) .snail-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0.75rem;
}

:is(.cooked, .d-editor-preview) .snail-node {
  position: relative;
  background: var(--snail-paper);
  border: 3px solid var(--snail-line);
  padding: 1.15rem 1rem 0.95rem;
}

:is(.cooked, .d-editor-preview) .snail-node-text {
  font-family: var(--dg-mono);
  font-size: 0.9em;
  line-height: 1.55;
}

:is(.cooked, .d-editor-preview) .snail-tag {
  position: absolute;
  top: -13px;
  left: 14px;
  display: inline-block;
  background: var(--snail-accent);
  color: #fff;
  border: 3px solid var(--snail-line);
  padding: 1px 9px;
  font-family: var(--dg-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

:is(.cooked, .d-editor-preview) .snail-arrow {
  --chevron: polygon(
      0% 26%,
      66% 26%,
      66% 0%,
      100% 50%,
      66% 100%,
      66% 74%,
      0% 74%
  );
  position: relative;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 58px;
  background: var(--snail-line);
  clip-path: var(--chevron);
}

:is(.cooked, .d-editor-preview) .snail-arrow::before {
  content: "";
  position: absolute;
  inset: 3px 4px;
  background: var(--snail-accent);
  clip-path: var(--chevron);
}

:is(.cooked, .d-editor-preview) .snail-because {
  position: relative;
  margin-top: 1.75rem;
  padding-top: 1.6rem;
  border-top: 3px dashed var(--snail-line);
}

:is(.cooked, .d-editor-preview) .snail-tag--because {
  top: -13px;
  left: 0;
}

:is(.cooked, .d-editor-preview) .snail-because-text {
  font-family: var(--dg-mono);
  font-size: 0.9em;
  line-height: 1.6;
}

@media (max-width: 720px) {
  :is(.cooked, .d-editor-preview) .callout-snail .snail-body {
    padding: 1.75rem 1.1rem 1.25rem !important;
  }
}
@media (max-width: 720px) {
  :is(.cooked, .d-editor-preview) .snail-diagram {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-bottom: 0;
  }
}
@media (max-width: 720px) {
  :is(.cooked, .d-editor-preview) .snail-arrow {
    --chevron: polygon(
        26% 0%,
        26% 66%,
        0% 66%,
        50% 100%,
        100% 66%,
        74% 66%,
        74% 0%
    );
    justify-self: center;
    min-width: 0;
    width: 62px;
    height: 96px;
  }
}
@media (max-width: 720px) {
  :is(.cooked, .d-editor-preview) .snail-arrow::before {
    inset: 4px 3px;
  }
}
@media (max-width: 720px) {
  :is(.cooked, .d-editor-preview) .snail-because {
    margin-top: 1.5rem;
  }
}
html.dg-dark :is(.cooked, .d-editor-preview) .callout-title,
html.dg-dark :is(.cooked, .d-editor-preview) .callout-title strong,
html.dg-dark :is(.cooked, .d-editor-preview) .callout-title span,
html.dg-dark :is(.cooked, .d-editor-preview) .callout-icon::before {
  color: #000 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-title {
  border-bottom-color: #000 !important;
  /* Keep the brutalist line black */
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout {
  background: #292524 !important;
  border-color: #57534E !important;
  box-shadow: 6px 6px 0 rgba(194, 249, 112, 0.08);
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout > *:not(.callout-title) {
  color: #D6D3D1;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-annotation {
  background: #1C1917 !important;
  border-color: #57534E !important;
  box-shadow: 6px 6px 0 rgba(194, 249, 112, 0.1) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-annotation .callout-title {
  background: #44403C !important;
  color: #D6D3D1 !important;
  border-bottom-color: #57534E !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-annotation .callout-title strong {
  color: #D6D3D1 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-dialogue {
  background: #1C1917 !important;
  border-color: #57534E !important;
  box-shadow: 6px 6px 0 rgba(194, 249, 112, 0.1) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-dialogue::after {
  background-image: radial-gradient(circle, #D6D3D1 1px, transparent 0);
  opacity: 0.04;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-dialogue .callout-title {
  background: #D6D3D1 !important;
  color: #1C1917 !important;
  box-shadow: 2px 2px 0 var(--color-neo-orange, #FF6B35) !important;
  border-bottom-color: #57534E !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-dialogue .callout-title strong {
  color: #1C1917 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-dialogue .callout-body > p:nth-of-type(odd) {
  background: #292524;
  border-color: #57534E;
  color: #D6D3D1;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-dialogue .callout-body > p:nth-of-type(odd)::before {
  background: #292524;
  border-color: #57534E;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-dialogue .callout-body > p:nth-of-type(even) {
  color: #1C1917 !important;
  box-shadow: -4px 4px 0 rgba(0, 0, 0, 0.5);
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-postscriptum {
  background: #2a241c !important;
  border-color: #57534E !important;
  box-shadow: 7px 7px 0 rgba(255, 107, 53, 0.55) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-postscriptum::after {
  color: #a89476;
  border-color: #6b5d48;
  background: rgba(255, 255, 255, 0.04);
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-postscriptum .callout-title {
  background: #D6D3D1 !important;
  color: #1C1917 !important;
  border-color: #57534E !important;
  box-shadow: 3px 3px 0 rgba(255, 107, 53, 0.65) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-postscriptum .callout-title strong::before {
  color: #1C1917;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-postscriptum .callout-body p {
  color: #D6D3D1 !important;
}

@media (max-width: 560px) {
  html.dg-dark :is(.cooked, .d-editor-preview) .callout-postscriptum {
    box-shadow: 5px 5px 0 rgba(255, 107, 53, 0.55) !important;
  }
}
html.dg-dark :is(.cooked, .d-editor-preview) .callout-example,
html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards {
  background: transparent !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-example .callout-title {
  background: #D6D3D1 !important;
  color: #1C1917 !important;
  border-color: #57534E !important;
  box-shadow: 3px 3px 0 rgba(168, 85, 247, 0.7);
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-example .callout-title strong {
  color: #1C1917 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-example .callout-body > p {
  background: #1C1917 !important;
  border-color: #57534E !important;
  color: #D6D3D1 !important;
  box-shadow: 6px 6px 0 rgba(168, 85, 247, 0.55), 6px 6px 0 1px #57534E !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-example .callout-body > p::before {
  background: #a855f7;
  color: #fff;
  border-color: #57534E;
}

@media (min-width: 769px) {
  html.dg-dark :is(.cooked, .d-editor-preview) .callout-example .callout-body > p:hover {
    box-shadow: 8px 8px 0 rgba(168, 85, 247, 0.75), 8px 8px 0 1px #57534E !important;
  }
}
@media (max-width: 768px) {
  html.dg-dark :is(.cooked, .d-editor-preview) .callout-example .callout-body > p {
    box-shadow: 4px 4px 0 rgba(168, 85, 247, 0.55), 4px 4px 0 1px #57534E !important;
  }
}
html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards .callout-title {
  background: #D6D3D1 !important;
  color: #1C1917 !important;
  border-color: #57534E !important;
  box-shadow: 3px 3px 0 rgba(46, 92, 255, 0.75);
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards .callout-title strong {
  color: #1C1917 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards .callout-body > p {
  background: #1C1917;
  border-color: #57534E;
  color: #D6D3D1;
  box-shadow: 5px 5px 0 rgba(46, 92, 255, 0.55), 5px 5px 0 1px #57534E;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards .flip-card-front {
  background: #1C1917;
  color: #D6D3D1;
  border-color: #57534E;
  box-shadow: 6px 6px 0 rgba(46, 92, 255, 0.6), 6px 6px 0 1px #57534E;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards .flip-card-back {
  background: rgba(194, 249, 112, 0.92);
  color: #0a1a05;
  border-color: #57534E;
  box-shadow: 6px 6px 0 rgba(46, 92, 255, 0.6), 6px 6px 0 1px #57534E;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards .flip-card-face::before {
  background: var(--color-neo-blue, #2e5cff);
  color: #fff;
  border-color: #57534E;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards .flip-card-front::after {
  color: #a8a29e;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards .flip-card-back::after {
  color: #1a3a14;
}

@media (hover: hover) {
  html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards .flip-card:hover .flip-card-face {
    box-shadow: 8px 8px 0 rgba(46, 92, 255, 0.85), 8px 8px 0 1px #57534E;
  }
}
html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards .flip-card:focus-visible .flip-card-face {
  box-shadow: 8px 8px 0 rgba(255, 107, 53, 0.9), 8px 8px 0 1px #57534E;
}

@media (max-width: 640px) {
  html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards .flip-card-face {
    box-shadow: 4px 4px 0 rgba(46, 92, 255, 0.6), 4px 4px 0 1px #57534E;
  }
}
@media (max-width: 640px) {
  html.dg-dark :is(.cooked, .d-editor-preview) .callout-cards .flip-card:hover .flip-card-face {
    box-shadow: 5px 5px 0 rgba(46, 92, 255, 0.85), 5px 5px 0 1px #57534E;
  }
}
html.dg-dark :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p {
  border-color: #57534E;
  background: #1C1917;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+1) {
  box-shadow: 6px 6px 0 rgba(194, 249, 112, 0.55), 6px 6px 0 1px #57534E;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+2) {
  box-shadow: 6px 6px 0 rgba(255, 107, 53, 0.55), 6px 6px 0 1px #57534E;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+3) {
  box-shadow: 6px 6px 0 rgba(46, 92, 255, 0.55), 6px 6px 0 1px #57534E;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+1):hover {
  box-shadow: 10px 10px 0 rgba(194, 249, 112, 0.7), 10px 10px 0 1px #57534E;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+2):hover {
  box-shadow: 10px 10px 0 rgba(255, 107, 53, 0.7), 10px 10px 0 1px #57534E;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+3):hover {
  box-shadow: 10px 10px 0 rgba(46, 92, 255, 0.7), 10px 10px 0 1px #57534E;
}

@media (max-width: 560px) {
  html.dg-dark :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+1) {
    box-shadow: 4px 4px 0 rgba(194, 249, 112, 0.55), 4px 4px 0 1px #57534E;
  }
}
@media (max-width: 560px) {
  html.dg-dark :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+2) {
    box-shadow: 4px 4px 0 rgba(255, 107, 53, 0.55), 4px 4px 0 1px #57534E;
  }
}
@media (max-width: 560px) {
  html.dg-dark :is(.cooked, .d-editor-preview) .callout-collage .callout-body > p:nth-of-type(3n+3) {
    box-shadow: 4px 4px 0 rgba(46, 92, 255, 0.55), 4px 4px 0 1px #57534E;
  }
}
html.dg-dark :is(.cooked, .d-editor-preview) .callout-definition {
  background: #292524 !important; /* Darker paper for night */
  border-color: #57534E !important;
  box-shadow: 6px 6px 0 rgba(194, 249, 112, 0.1) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-definition .callout-title {
  background: #D6D3D1 !important; /* Light sticker */
  color: #1C1917 !important; /* Dark text */
  border-color: #57534E !important;
  box-shadow: 2px 2px 0 var(--color-neo-lime, #C2F970) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-definition .callout-title strong {
  color: #1C1917 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-prompt {
  background: #1C1917 !important;
  border-color: #57534E !important;
  border-left: 6px solid #06b6d4 !important;
  box-shadow: 6px 6px 0 rgba(6, 182, 212, 0.15) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-prompt .callout-title {
  background: #D6D3D1 !important;
  color: #0e7490 !important;
  border-color: #57534E !important;
  box-shadow: 2px 2px 0 #06b6d4 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-prompt .callout-title strong {
  color: #0e7490 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-prompt .callout-body {
  color: #D6D3D1;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-prompt-copy {
  background: #D6D3D1 !important;
  color: #0e7490 !important;
  border-color: #57534E !important;
  box-shadow: 2px 2px 0 #06b6d4 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-prompt-copy.copied {
  color: var(--color-neo-lime, #c2f970) !important;
  box-shadow: 2px 2px 0 var(--color-neo-lime, #c2f970) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-always {
  background: #292524 !important;
  border-color: #57534E !important;
  border-left: 6px solid var(--color-neo-lime, #c2f970) !important;
  box-shadow: 6px 6px 0 rgba(194, 249, 112, 0.1) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-always .callout-title {
  background: #D6D3D1 !important;
  color: #1C1917 !important;
  border-color: #57534E !important;
  box-shadow: 2px 2px 0 var(--color-neo-lime, #C2F970) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-always .callout-title strong {
  color: #1C1917 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-never {
  background: #292524 !important;
  border-color: #57534E !important;
  border-right: 6px solid #ef4444 !important;
  box-shadow: 6px 6px 0 rgba(194, 249, 112, 0.1) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-never .callout-title {
  background: #D6D3D1 !important;
  color: #1C1917 !important;
  border-color: #57534E !important;
  box-shadow: -2px 2px 0 #ef4444 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-never .callout-title strong {
  color: #1C1917 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-gap {
  border-left: 3px solid #44403C !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-gap .callout-body::before {
  color: #57534E !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-gap .callout-body::after {
  background-image: radial-gradient(circle, #57534E 1px, transparent 1px);
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-notify {
  background: transparent !important;
  border: none !important;
  border-top: 1px dashed #57534E !important;
  border-bottom: 1px dashed #57534E !important;
  box-shadow: none !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-notify .callout-body,
html.dg-dark :is(.cooked, .d-editor-preview) .callout-notify .callout-body p {
  color: #78716C !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-notify .callout-body a {
  color: #78716C !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-notify .callout-body a:hover {
  color: #D6D3D1 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-quote {
  background: #1C1917 !important;
  border-left-color: var(--color-neo-lime, #c2f970) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-quote::before {
  background: var(--color-neo-lime, #c2f970);
  color: #000;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-quote .callout-body p {
  color: #D6D3D1 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-quote .callout-body p:last-child {
  color: #A8A29E !important;
  border-top-color: #44403C !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-epigraph {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-epigraph .callout-title {
  background: #D6D3D1 !important;
  color: #1C1917 !important;
  border-color: #1C1917 !important;
  box-shadow: 2px 2px 0 var(--color-neo-lime, #C2F970) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-epigraph .callout-title,
html.dg-dark :is(.cooked, .d-editor-preview) .callout-epigraph .callout-title strong {
  color: #1C1917 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-epigraph .callout-body p {
  color: #A8A29E !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-epigraph .callout-body p:not(:only-child):last-child {
  color: #78716C !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-poem {
  background: #1C1917 !important;
  border-color: #D6D3D1 !important;
  box-shadow: 4px 4px 0 var(--color-neo-lime, #c2f970) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-poem .callout-title {
  background: #D6D3D1 !important;
  color: #1C1917 !important;
  border-color: #1C1917 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-poem .callout-title,
html.dg-dark :is(.cooked, .d-editor-preview) .callout-poem .callout-title strong {
  color: #1C1917 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-poem .callout-title strong::before {
  color: #1C1917 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-poem::after {
  background: #D6D3D1 !important;
  color: #1C1917 !important;
  border-color: #1C1917 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-poem .callout-body p {
  color: #D6D3D1 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-poem .callout-body p strong {
  color: #000 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-poem .callout-body p:not(:only-child):last-child {
  background: #D6D3D1 !important;
  color: #1C1917 !important;
  border-color: #1C1917 !important;
  box-shadow: 3px 3px 0 var(--color-neo-lime, #c2f970) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-snail {
  --snail-line: #57534E;
  --snail-paper: #1C1917;
  --snail-grid: rgba(122, 162, 255, 0.11);
  background-color: #1C1917 !important;
  border-color: #57534E !important;
  box-shadow: 6px 6px 0 rgba(46, 92, 255, 0.35) !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-snail .callout-title {
  background: #D6D3D1 !important;
  color: #1C1917 !important;
  border-bottom-color: #57534E !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-snail .callout-title strong {
  color: #1C1917 !important;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-snail .snail-node {
  background: #292524;
  border-color: #57534E;
  color: #D6D3D1;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-snail .snail-tag {
  background: var(--color-neo-blue, #2e5cff);
  color: #FAFAF9;
  border-color: #57534E;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-snail .snail-arrow {
  background: #57534E;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-snail .snail-because {
  border-top-color: #57534E;
}

html.dg-dark :is(.cooked, .d-editor-preview) .callout-snail .snail-node-text,
html.dg-dark :is(.cooked, .d-editor-preview) .callout-snail .snail-because-text {
  color: #D6D3D1;
}

/* Адаптер: блоки theBrain mapping на сайте скрыты — на форуме тоже (решение Рустама, 20261010) */
:is(.cooked, .d-editor-preview) .callout-map,
:is(.cooked, .d-editor-preview) .dg-hidden-map {
  display: none !important;
}

/* Адаптер: Discourse даёт <details> в посте свои отступы и стрелку «►» (summary::before) —
   у callout'ов шапку и стрелку (.callout-fold) рисует сайт. ::after не трогаем: им пользуется snail */
.topic-body .cooked details.callout,
.d-editor-preview details.callout {
  padding: 0;
}

:is(.cooked, .d-editor-preview) details.callout > summary::before {
  content: none !important;
  display: none !important;
}

:is(.cooked, .d-editor-preview) details.callout > summary {
  list-style: none;
}

:is(.cooked, .d-editor-preview) details.callout > summary::-webkit-details-marker {
  display: none;
}
