/* Dedicated single-content skin. Shared rail and global theme remain untouched. */
html[data-cm-theme] body.cm-single-refresh main .entry-content :is(.cj-joke-left,.cj-thought-left,.cj-meme-left,.cj-sidebar-card,.cj-meme-sidebar){min-width:0;box-sizing:border-box}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cj-joke-plain,.cj-thought-card-wrap,.cj-meme-main){border:2px solid var(--cm-text)!important;border-radius:4px!important;box-shadow:5px 5px 0 var(--cm-border)!important;background:var(--cm-surface)!important;color:var(--cm-text)!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main .cj-joke-plain{padding:clamp(20px,4vw,40px)!important;font-size:clamp(17px,1.6vw,20px)!important;line-height:1.7!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main .cj-thought-card-wrap{padding:clamp(20px,4vw,40px)!important;overflow:visible!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main .cj-thought-card-wrap .cj-thought-plain{font-size:clamp(24px,3vw,36px)!important;line-height:1.35!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cm-thought-quote-mark,.cm-thought-kicker,.cm-single-kicker){transform:rotate(-3deg);border:2px solid var(--cm-text)!important;border-radius:3px!important;background:#fbd529!important;color:#19192e!important;box-shadow:3px 3px 0 var(--cm-text)!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main .cm-thought-topline{gap:16px!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main .cm-thought-back{min-height:44px!important}
/* One contained image, never a cropped banner. Retain the existing reveal gate. */
html[data-cm-theme] body.cm-single-refresh.single-meme main .entry-content{display:block!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-meme-left{display:flex!important;flex-direction:column!important;gap:24px!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-meme-left>:is(.cj-meme-main,.cj-meme-sidebar,.cm-single-meme-heading,.cm-single-meme-next,.cj-meme-cta,.cj-chaos-replies){width:100%!important;max-width:800px!important;margin-inline:auto!important;box-sizing:border-box!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-meme-main{padding:0!important;overflow:visible!important;line-height:0!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-meme-main :is(img,.cj-meme-nsfw-wrap){display:block!important;max-width:100%!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;border-radius:2px!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-nsfw-overlay{line-height:1.45;max-width:calc(100% - 24px);box-sizing:border-box}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cm-single-meme-heading nav{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cm-single-back{display:inline-flex;align-items:center;min-height:44px;color:var(--cm-text)!important;font-weight:800;text-decoration:none}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cm-single-kicker{padding:6px 10px;font:800 12px/1.4 "DM Sans",sans-serif;letter-spacing:.12em}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cm-single-meme-heading h1{font-family:"Space Grotesk","DM Sans",sans-serif!important;font-weight:800!important;display:block!important;font-size:clamp(30px,4.5vw,52px)!important;line-height:1.1!important;letter-spacing:-.04em;color:var(--cm-text)!important;margin:22px 0 0!important;overflow-wrap:anywhere}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-meme-sidebar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;position:static!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-meme-sidebar>.cj-sidebar-card:has(.cj-topic-list){grid-column:1/-1}
/* Tactile action cards; IDs included to outrank legacy single-only rules. */
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(#cj-thought-sidebar,.cj-meme-sidebar){position:static!important;min-width:0!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main #cj-thought-sidebar>.cj-sidebar{border:0!important;border-radius:0!important;background:transparent!important;gap:16px!important;padding-top:20px!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(#cj-thought-sidebar,.cj-meme-sidebar) .cj-sidebar-card{background:var(--cm-surface)!important;border:2px solid var(--cm-text)!important;border-radius:4px!important;box-shadow:3px 3px 0 var(--cm-border)!important;padding:20px!important;min-width:0!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(#cj-thought-sidebar,.cj-meme-sidebar) h4{font:800 16px/1.4 "Space Grotesk",sans-serif!important;text-transform:none!important;letter-spacing:0!important;margin:0 0 12px!important;color:var(--cm-text)!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(#cj-thought-sidebar,.cj-meme-sidebar) :is(.cj-rate-btn,.cj-sidebar-shares a,summary){box-sizing:border-box!important;min-height:44px!important;border:2px solid var(--cm-text)!important;border-radius:4px!important;background:var(--cm-surface-alt)!important;color:var(--cm-text)!important;box-shadow:2px 2px 0 var(--cm-border)!important;font-weight:800!important;padding:10px 12px!important;text-decoration:none!important;max-width:100%;white-space:normal!important;overflow-wrap:anywhere}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(#cj-thought-sidebar,.cj-meme-sidebar) :is(.cj-sidebar-shares a.cj-s-copy,.cj-rate-btn.cj-rate-active){background:#fbd529!important;color:#19192e!important;border-color:#19192e!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cj-share-text,.cj-share-icon){color:inherit!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-sidebar-shares{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-sidebar-shares>a{width:100%;justify-content:center!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cm-single-share-more{width:100%;min-width:0}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cm-single-share-more summary{cursor:pointer;list-style:none;text-align:center}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cm-single-share-more summary::after{content:" +"}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cm-single-share-more[open] summary::after{content:" −"}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cm-single-share-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-topic-list a{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;padding:8px 12px!important;border:1px solid var(--cm-border);border-radius:4px!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cm-thought-next,.cm-magazine-next,.cm-single-meme-next a){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px!important;padding:10px 16px!important;border:2px solid var(--cm-text)!important;border-radius:4px!important;background:var(--cm-surface)!important;color:var(--cm-text)!important;font-size:14px;font-weight:800;box-shadow:3px 3px 0 var(--cm-border)!important;text-decoration:none!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cm-single-meme-next{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
/* Rating status is text, not the legacy light-only badge. */
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main .cj-share-icon{background:transparent!important;color:inherit!important;border-color:currentColor!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main .cj-rate-score{color:var(--cm-muted)!important;background:transparent!important;font-size:13px!important;line-height:1.5!important}
/* Existing related links stay native and keep their original destinations. */
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main .cm-single-related-chaos__card{border:2px solid var(--cm-text)!important;border-radius:4px!important;box-shadow:3px 3px 0 var(--cm-border)!important;background:var(--cm-surface)!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cm-single-meme-related{background:transparent!important;border:0!important;box-shadow:none!important;padding:12px 0!important;width:100%!important;max-width:none!important;box-sizing:border-box}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cm-single-meme-related h4{font:800 26px/1.3 "Space Grotesk",sans-serif!important;color:var(--cm-text)!important;margin:0 0 16px!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-similar-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px!important}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-similar-item{display:flex!important;align-items:center;gap:12px;min-width:0;padding:12px!important;border:2px solid var(--cm-text)!important;border-radius:4px!important;background:var(--cm-surface)!important;color:var(--cm-text)!important;box-shadow:3px 3px 0 var(--cm-border)!important;text-decoration:none}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-similar-item img{width:72px!important;height:72px!important;flex:0 0 72px;object-fit:contain!important;background:var(--cm-surface-alt)}
html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-similar-item span{min-width:0;overflow-wrap:anywhere;color:var(--cm-text)!important}
/* Secondary forms: no giant campaign banner, no change to capture handlers. */
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cj-chaos-replies,.cj-cta-joke-single,.cj-meme-cta){width:100%!important;max-width:800px!important;margin-inline:auto!important;padding:24px!important;border:1px solid var(--cm-border)!important;border-radius:4px!important;box-shadow:none!important;background:var(--cm-surface-alt)!important;color:var(--cm-text)!important;box-sizing:border-box!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cj-cta-inner,.cj-meme-cta-form){width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:0!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cj-cta-headline,.cj-meme-cta h3){font-size:20px!important;line-height:1.3!important;text-transform:none!important;letter-spacing:0!important;color:var(--cm-text)!important;margin:0 0 8px!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cj-cta-subtext,.cj-meme-cta p){font-size:14px!important;line-height:1.5!important;font-style:normal!important;color:var(--cm-muted)!important;margin:0 0 16px!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cj-meme-cta-form,.cj-form-row){display:flex!important;gap:10px!important;flex-wrap:wrap!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cj-meme-cta-form,.cj-form-row) input{flex:1 1 220px!important;min-width:0!important;width:100%!important;max-width:100%!important;min-height:44px!important;box-sizing:border-box!important;background:var(--cm-surface)!important;border:1px solid var(--cm-border)!important;border-radius:4px!important;color:var(--cm-text)!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cj-meme-cta-form,.cj-form-row) button{flex:0 1 auto;min-height:44px!important;max-width:100%!important;white-space:normal!important;border:2px solid var(--cm-text)!important;border-radius:4px!important;box-shadow:2px 2px 0 var(--cm-border)!important;background:var(--cm-surface)!important;color:var(--cm-text)!important}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cj-chaos-head,.cj-chaos-actions){flex-wrap:wrap}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main .cj-chaos-count{white-space:normal;max-width:100%;box-sizing:border-box}
html[data-cm-theme] body.cm-single-refresh main :is(a,button,summary,input,textarea):focus-visible{outline:3px solid var(--cm-accent-text)!important;outline-offset:4px!important}
@media(max-width:767px){
 html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-similar-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-meme-sidebar{grid-template-columns:minmax(0,1fr)!important}
 html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(#cj-thought-sidebar,.cm-joke-actions)>.cj-sidebar{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:480px){
 html[data-cm-theme] body.cm-single-refresh.single-meme main .cj-similar-list{grid-template-columns:minmax(0,1fr)!important}
 html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cj-chaos-replies,.cj-cta-joke-single,.cj-meme-cta){padding:18px!important}
 html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main :is(.cj-meme-cta-form,.cj-form-row) button{width:100%!important}
 html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh:is(.single-joke,.single-thought,.single-meme) main .cm-thought-share-more{min-width:0!important;flex-basis:100%!important}
}

/* Scoped reading + heckling refinement. Native nodes and handlers remain owners. */
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies {
  padding:24px !important; border:2px solid var(--cm-border) !important;
  border-radius:18px !important; background:var(--cm-surface) !important;
  color:var(--cm-text) !important; box-shadow:4px 4px 0 var(--cm-border) !important;
  font-family:inherit !important;
}
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-head { margin:0 0 14px !important; gap:16px !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cm-heckle-title {
  margin:0 0 7px !important; font-family:inherit !important; font-size:1.45rem !important;
  line-height:1.2 !important; font-weight:850 !important; letter-spacing:-.035em !important;
  color:var(--cm-text) !important; text-transform:none !important;
}
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-intro {
  font-family:inherit !important; color:var(--cm-muted) !important;
  font-size:.9375rem !important; line-height:1.5 !important; margin:0 !important;
}
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-count {
  background:var(--cm-surface-alt) !important; color:var(--cm-muted) !important;
  border:1px solid var(--cm-border) !important; box-shadow:none !important;
  font:inherit !important; font-size:.8rem !important; padding:6px 10px !important;
}
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-reply-list { margin:0 0 18px !important; gap:0 !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-empty {
  padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important;
  color:var(--cm-muted) !important; font-size:.875rem !important; line-height:1.5 !important;
}
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-form {
  margin:0 !important; padding:18px 0 0 !important; border:0 !important;
  border-top:1px solid var(--cm-border) !important; border-radius:0 !important;
  background:transparent !important; box-shadow:none !important;
}
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-form label {
  font-family:inherit !important; font-size:.875rem !important; line-height:1.4 !important;
  font-weight:750 !important; color:var(--cm-text) !important; margin:0 0 7px !important;
}
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-grid { grid-template-columns:minmax(140px,190px) minmax(0,1fr) !important; gap:18px !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-grid > div { min-width:0 !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-form input[type=text],
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-form textarea {
  font-family:inherit !important; font-size:1rem !important; line-height:1.5 !important;
  background:var(--cm-bg) !important; color:var(--cm-text) !important;
  border:1px solid var(--cm-border) !important; border-radius:10px !important;
  padding:10px 12px !important; min-height:46px !important; box-shadow:none !important;
}
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-form textarea { min-height:112px !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-form input::placeholder,
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-form textarea::placeholder { color:var(--cm-muted) !important; opacity:1 !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-help,
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-counter,
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-already,
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-vote-note {
  font-family:inherit !important; color:var(--cm-muted) !important; font-size:.8rem !important; line-height:1.45 !important;
}
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-actions { display:flex !important; flex-wrap:wrap !important; align-items:center !important; gap:12px !important; margin-top:16px !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-counter { margin:0 !important; flex:1 1 170px !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-submit {
  font-family:inherit !important; font-size:.9375rem !important; font-weight:800 !important;
  border:2px solid #171929 !important; border-radius:10px !important;
  background:var(--cm-accent) !important; color:var(--cm-on-accent) !important;
  box-shadow:2px 2px 0 #171929 !important; min-height:46px !important; padding:10px 16px !important;
  margin:0 !important; width:auto !important; transition:transform .15s ease,box-shadow .15s ease !important;
}
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-submit:hover { transform:translate(-1px,-1px) !important; box-shadow:3px 3px 0 #171929 !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-reply {
  padding:16px 0 !important; background:transparent !important; border:0 !important;
  border-bottom:1px solid var(--cm-border) !important; border-radius:0 !important;
}
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-text,
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-author { color:var(--cm-text) !important; overflow-wrap:anywhere !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-date { color:var(--cm-muted) !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-votes { flex-wrap:wrap !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-vote {
  font-family:inherit !important; color:var(--cm-text) !important; background:var(--cm-surface-alt) !important;
  border:1px solid var(--cm-border) !important; border-radius:8px !important; min-height:44px !important;
}
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-vote.is-active { background:var(--cm-accent) !important; color:var(--cm-on-accent) !important; }
html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies :is(input,textarea,button):focus-visible {
  outline:3px solid var(--cm-focus) !important; outline-offset:3px !important;
}
html[data-cm-theme] body.cm-single-refresh.single-joke .entry-content .cj-joke-plain .cj-locked {
  margin:18px 0 !important; padding:16px !important; border:1px solid var(--cm-border) !important;
  border-left:4px solid var(--cm-accent) !important; border-radius:10px !important;
  background:var(--cm-surface-alt) !important; color:var(--cm-text) !important;
}
html[data-cm-theme] body.cm-single-refresh.single-joke .entry-content .cj-joke-plain .cj-lock-msg { color:var(--cm-muted) !important; }
html[data-cm-theme] body.cm-single-refresh.single-joke .entry-content .cj-joke-plain .cj-unlock-btn { min-height:44px !important; display:inline-flex !important; align-items:center !important; padding:8px 14px !important; box-sizing:border-box !important; }
@media(max-width:700px) {
  html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies { padding:18px !important; box-shadow:3px 3px 0 var(--cm-border) !important; }
  html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-grid { grid-template-columns:minmax(0,1fr) !important; gap:16px !important; }
  html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-head { display:block !important; }
  html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-count { display:inline-flex !important; margin:10px 0 0 !important; }
  html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cm-heckle-title { font-size:1.3rem !important; }
  html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-actions { display:flex !important; }
  html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-submit { flex:1 1 100% !important; }
}
@media(prefers-reduced-motion:reduce) {
  html[data-cm-theme] body.cm-single-refresh .entry-content #chaos-replies .cj-chaos-submit { transition:none !important; }
}

html[data-cm-theme] body.cm-single-refresh.single-joke .entry-content .cj-joke-left > #chaos-replies { margin-top:28px !important; }

/* Individual jokes only: keep the sticker, reduce type and unbox actions. */
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cj-card-title { font-size:clamp(28px,3.4vw,42px)!important; line-height:1.12!important; letter-spacing:-.035em!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cj-joke-plain, html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cj-joke-plain p { font-size:18px!important; line-height:1.65!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cj-joke-plain p { margin:0 0 16px!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cj-joke-plain p:last-child { margin-bottom:0!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-single-related-chaos__title { font-size:24px!important; line-height:1.25!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-single-related-chaos__card { font-size:18px!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions {
 display:flex!important; flex-wrap:wrap!important; align-items:flex-start!important; gap:14px 20px!important;
 padding:18px 0!important; margin:24px 0!important; border-top:1px solid var(--cm-border)!important;
 border-bottom:1px solid var(--cm-border)!important; background:transparent!important;
 font-size:14px!important; width:100%!important; max-width:800px!important; margin-inline:auto!important; box-sizing:border-box!important;
}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions > .cj-sidebar-card {
 display:block!important; flex:0 1 auto!important; min-width:0!important; width:auto!important;
 margin:0!important; padding:0!important; border:0!important; border-radius:0!important;
 box-shadow:none!important; background:transparent!important;
}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions > .cj-share-card { flex:1 1 auto!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions h4, html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-share-sub, html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-share-count { display:none!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-rate-wrap { display:flex!important; flex-wrap:wrap!important; gap:8px!important; margin:0!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-sidebar-shares { display:flex!important; flex-wrap:wrap!important; align-items:flex-start!important; gap:8px!important; margin:0!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions :is(.cj-rate-btn,.cj-sidebar-shares a,summary,.cm-magazine-next) {
 display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:7px!important;
 min-height:44px!important; width:auto!important; max-width:100%!important; box-sizing:border-box!important;
 padding:9px 12px!important; border:1px solid var(--cm-border)!important; border-radius:8px!important;
 font-family:inherit!important; font-size:14px!important; font-weight:750!important; line-height:1.3!important;
 background:var(--cm-surface)!important; color:var(--cm-text)!important; box-shadow:none!important;
 text-decoration:none!important; white-space:normal!important; overflow-wrap:anywhere!important;
 transition:background-color .15s ease,color .15s ease,border-color .15s ease!important;
}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-rate-btn { flex:0 1 auto!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-rate-btn svg { width:18px!important; height:18px!important; flex:0 0 18px!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-rate-count { font-size:12px!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-share-icon { display:none!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-share-text { font-size:14px!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions a.cm-magazine-next { flex:0 0 auto!important; margin:0 0 0 auto!important; background:var(--cm-accent)!important; color:var(--cm-on-accent)!important; border-color:#171929!important; box-shadow:2px 2px 0 #171929!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-rate-btn.cj-rate-active { background:var(--cm-accent)!important; color:var(--cm-on-accent)!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-magazine-share-more { width:auto!important; min-width:0!important; margin:0!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-magazine-share-more summary { cursor:pointer; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-magazine-share-more summary::after { content:' +'!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-magazine-share-more[open] summary::after { content:' −'!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-magazine-share-links { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:8px!important; margin:8px 0 0!important; max-width:280px!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-share-status:empty { display:none!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-share-status { font-size:13px!important; color:var(--cm-muted)!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-single-related-chaos--joke { margin-bottom:0!important; }
/* Hide only already-empty/hidden legacy template blocks, not the shared footer. */
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content ~ .wp-block-group:not(:has(*)),
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content ~ .wp-block-group:has(> nav[style*="display: none"]),
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main > .wp-block-group:has(> .wp-block-query[style*="display: none"]) { display:none!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main { padding-bottom:24px!important; }
@media(max-width:600px) {
 html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cj-joke-plain, html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cj-joke-plain p { font-size:17px!important; }
 html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions { gap:12px!important; padding:16px 0!important; }
 html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions > .cj-sidebar-card { flex:1 1 100%!important; }
 html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-rate-btn { flex:1 1 0!important; }
 html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions .cj-sidebar-shares > a, html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-magazine-share-more { flex:1 1 auto!important; }
 html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-magazine-share-more summary { width:100%!important; }
 html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-joke-actions a.cm-magazine-next { flex:1 1 100%!important; }
 html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-single-related-chaos__title { font-size:22px!important; }
}

/* Compact related-joke tiles. Preserve all native destinations and titles. */
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-single-related-chaos--joke .cm-single-related-chaos__grid { gap:10px!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-single-related-chaos--joke .cm-single-related-chaos__card {
 display:flex!important; flex-direction:row!important; text-align:left!important; align-items:center!important; justify-content:space-between!important; gap:10px!important;
 min-height:64px!important; height:auto!important; padding:12px 14px!important; box-sizing:border-box!important;
 border:1px solid var(--cm-border)!important; border-radius:6px!important; box-shadow:2px 2px 0 var(--cm-border)!important;
 transition:background-color .15s ease,border-color .15s ease!important;
}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-single-related-chaos--joke .cm-single-related-chaos__card::before,
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-single-related-chaos--joke .cm-single-related-chaos__card-type { display:none!important; }
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-single-related-chaos--joke .cm-single-related-chaos__card-title {
 font-family:inherit!important; font-size:16px!important; font-weight:750!important; line-height:1.35!important;
 margin:0!important; min-width:0!important; overflow-wrap:anywhere!important;
}
html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-single-related-chaos--joke .cm-single-related-chaos__card::after {
 content:'↗'!important; position:static!important; flex:0 0 auto!important; font-size:18px!important; line-height:1!important;
 margin:0!important; transform:none!important; color:var(--cm-muted)!important;
}

@media(max-width:900px){html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-single-related-chaos--joke .cm-single-related-chaos__grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:600px){html[data-cm-theme] body.single.cm-shared-width.cm-single-refresh.single-joke main .entry-content .cm-single-related-chaos--joke .cm-single-related-chaos__grid {grid-template-columns:minmax(0,1fr)!important;}}

/* Match the related-joke rail without enlarging controls or changing phones. */
@media (min-width:701px) {
  html[data-cm-theme] body.cm-single-refresh.single-joke main .entry-content #chaos-replies {
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
  }
}
