:root {
  color-scheme: light;
  --ink: #141511;
  --paper: #fffcf3;
  --lime: #d5ff3f;
  --lavender: #d8c2ff;
  --pink: #ff9ed3;
  --yellow: #fff27c;
  --line: #141511;
  font-family: Arial, "Noto Sans Telugu", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #666f00; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-top: 1.5rem; }
.shell { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { inset: 1rem auto auto 1rem; z-index: 2; width: auto; height: auto; clip-path: none; background: white; padding: .75rem; }
.masthead { background: var(--paper); border-bottom: 2px solid var(--line); }
.masthead-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .25rem 1rem;
  padding-top: .7rem;
}
.brand { width: clamp(185px, 24vw, 265px); max-width: 100%; }
.social-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.social-links svg { width: 1.2rem; height: 1.2rem; }
.social-links a:hover { background: var(--lime); color: var(--ink); }
.main-menu {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 clamp(.6rem, 2.5vw, 1.6rem);
  border-top: 1px solid #d9d4c8;
}
.main-menu a { font-size: .95rem; font-weight: 700; text-decoration: none; padding-block: .65rem; }
.main-menu a:hover { text-decoration: underline; text-underline-offset: .3rem; }
.hero-stage {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: linear-gradient(112deg, var(--lavender) 0%, #e8c9ff 44%, #ffb4df 74%, var(--pink) 100%);
}
.hero-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(#391a64 1px, transparent 1.2px) 0 0 / 16px 16px;
  mask-image: linear-gradient(116deg, transparent 0%, transparent 30%, #000 70%);
  opacity: .2;
  content: "";
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2.4rem, 5vw, 4.1rem);
}
.hero-art {
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: .75rem;
  box-shadow: 6px 6px 0 var(--ink);
}
.eyebrow { font-size: .82rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 800; }
h1 { font-size: clamp(4.3rem, 8.3vw, 8.25rem); line-height: .87; letter-spacing: -.085em; margin: 1.2rem 0 1.65rem; }
h1 span { display: table; background: var(--lime); padding: .02em .13em .11em .07em; margin: .1em 0 0; border-radius: .08em; transform: rotate(-3deg); box-shadow: 4px 5px 0 var(--ink); }
.intro { font-size: clamp(1.13rem, 2vw, 1.4rem); line-height: 1.48; color: #38322e; }
.button { display: inline-block; margin-top: 1.55rem; color: #fffdf7; background: var(--ink); padding: .9rem 1.3rem; border-radius: .4rem; font-weight: 800; text-decoration: none; }
.button:hover { color: var(--ink); background: var(--lime); }
.card-image { position: relative; display: block; overflow: hidden; }
.card-image:focus-visible { outline-offset: -5px; }
.card-body { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; padding: 1.15rem 1.2rem; }
.text-link { font-size: .9rem; font-weight: 750; text-underline-offset: .24em; }
.text-link:hover { text-decoration-thickness: 3px; }
.gallery { background: var(--lime); border-block: 2px solid var(--line); padding-block: clamp(2.7rem, 5vw, 4rem); }
.section-head { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.6rem; }
.section-head h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); letter-spacing: -.06em; }
.section-head p { color: #38322e; }
.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 15rem);
  gap: 1.45rem;
  align-items: start;
}
.gallery-results { grid-column: 1; grid-row: 1; min-width: 0; }
.category-panel {
  grid-column: 2;
  grid-row: 1;
  padding: 1rem;
  border: 2px solid var(--ink);
  border-radius: .65rem;
  background: var(--paper);
}
.category-panel h3 { margin-bottom: .65rem; font-size: 1.18rem; }
.category-panel ul { display: grid; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.category-panel a {
  display: block;
  padding: .6rem .65rem;
  border: 1px solid #b2aea3;
  border-radius: .35rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.category-panel a:hover { text-decoration: underline; }
.category-panel a[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.45rem; }
.card { border: 2px solid var(--ink); border-radius: .65rem; overflow: hidden; background: var(--lavender); }
.card:nth-child(even) { background: var(--pink); }
.card-image img, .card-image video { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: var(--ink); }
.card-body h3 { font-size: 1.18rem; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: clamp(2.7rem, 5vw, 4.4rem); }
.notes section { border-top: 3px solid var(--ink); padding-top: .9rem; }
.notes h2 { font-size: 1.55rem; margin-bottom: .65rem; }
.notes p { line-height: 1.65; color: #38322e; }
.notes p + p { margin-top: .65rem; }
footer { background: var(--ink); color: #fffdf7; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.35rem; font-size: .94rem; }
.footer-inner span { font-weight: 800; }
.footer-inner a { text-underline-offset: .25em; }
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .shell { width: calc(100% - 48px); }
  .gallery-layout { grid-template-columns: minmax(0, 1fr); }
  .category-panel, .gallery-results { grid-column: 1; grid-row: auto; }
  .category-panel ul { display: flex; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 36px); }
  .main-menu a { font-size: .875rem; }
  .masthead-inner { column-gap: .4rem; }
  .social-links { gap: .2rem; }
  .social-links a { width: 2.125rem; height: 2.125rem; }
  .social-links svg { width: 1rem; height: 1rem; }
  .grid, .notes { grid-template-columns: 1fr; }
  h1 { font-size: clamp(4.25rem, 14vw, 6.4rem); }
  .notes { gap: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
[hidden] { display: none !important; }
button, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
:where(button, select, input):focus-visible { outline: 3px solid #666f00; outline-offset: 3px; }
.button { border: 2px solid var(--ink); }
.secondary {
  display: inline-block;
  border: 1px solid var(--ink);
  border-radius: .4rem;
  padding: .55rem .8rem;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  font-weight: 700;
}
.secondary:not(:disabled):hover { background: var(--lime); }
.category-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
select, .admin-panel input {
  min-width: 0;
  max-width: 100%;
  padding: .6rem .7rem;
  border: 1px solid var(--ink);
  border-radius: .35rem;
  color: var(--ink);
  background: #fff;
}
.card h3, .detail h1, #meme-list a { overflow-wrap: anywhere; }
.classification { display: block; margin-top: .25rem; color: #38322e; font-size: .88rem; }
.pager, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.pager, .gallery-status:not(:empty) { margin-top: 1.2rem; }
.detail-body, .admin-body { background: var(--lavender); min-height: 100vh; }
.detail, .admin-panel { padding-block: 2rem 3rem; }
.detail { max-width: 960px; }
.detail h1, .admin-panel h1 { font-size: clamp(2rem, 6vw, 4rem); line-height: 1.04; letter-spacing: -.05em; }
.detail .button { margin-top: 0; padding: .55rem .8rem; }
.full-meme { margin: 1rem auto 0; width: auto; max-width: 100%; height: auto; border-radius: .4rem; }
#share-status, .share-status, #meme-navigation-status { overflow-wrap: anywhere; }
.admin-panel { max-width: 1060px; }
.admin-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.admin-box { background: var(--paper); border: 1px solid var(--ink); border-radius: .65rem; padding: clamp(1rem, 3vw, 1.5rem); }
.admin-box h2 { margin-bottom: 1rem; }
.admin-box form { display: grid; gap: .8rem; }
.admin-box form .button { justify-self: start; margin-top: 0; }
.admin-box form label { display: grid; gap: .3rem; font-weight: 700; }
.manage { margin-top: 1rem; }
#meme-list { list-style: none; padding: 0; }
#meme-list li { display: grid; gap: .45rem; padding: .8rem 0; border-top: 1px solid #c8c3b9; }
#meme-list a { font-weight: 700; }
.danger { color: #9b1c1c; }
@media (max-width: 680px) {
  .admin-forms { grid-template-columns: 1fr; }
}

.card-image video { display: block; pointer-events: none; }
.clip-badge { position: absolute; left: .7rem; bottom: .65rem; padding: .35rem .55rem; border-radius: .3rem; background: var(--ink); color: var(--paper); font-weight: 700; }
.full-video { display: block; max-height: 78vh; background: var(--ink); }


.breadcrumb ol, .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.breadcrumb li { overflow-wrap: anywhere; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: .65rem; color: #51456d; }
.breadcrumb a { text-underline-offset: .2em; }
.breadcrumb [aria-current="page"] { font-weight: 700; }
.footer-text { display: grid; gap: .45rem; min-width: 0; overflow-wrap: anywhere; }
.footer-custom { white-space: pre-line; }
#site-settings fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: .8rem; }
#site-settings textarea {
  width: 100%;
  padding: .6rem .7rem;
  border: 1px solid var(--ink);
  border-radius: .35rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
#reload-site-settings { justify-self: start; }

.publication-meta { margin: .4rem 0 .8rem; font-size: .9rem; color: #423a4a; }
.sort-control { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.sort-control label { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; font-weight: 700; }
.jokes-list { max-width: 1180px; }
.joke-card { color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: .6rem; padding: 1rem; margin-bottom: .7rem; overflow-wrap: anywhere; }
.joke-card h2 { font-size: 1.3rem; }
.joke-text { font-size: 1.15rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--paper); border-radius: .5rem; padding: 1.15rem; margin-top: 1.3rem; }
.joke-attachments { display: grid; gap: 1rem; }
.joke-attachments figure { margin: 0; }
.joke-attachments figcaption { text-align: center; margin-top: .4rem; }
#joke-form fieldset { padding: 0; margin: 0; border: 0; min-width: 0; display: grid; gap: .8rem; }
#joke-form textarea, #page-editor textarea { width: 100%; padding: .6rem .7rem; border: 1px solid var(--ink); border-radius: .35rem; font: inherit; }
#joke-existing-files label { display: flex; align-items: center; gap: .5rem; }
#joke-existing-files input { width: auto; }
#joke-list li { margin-bottom: .8rem; }

:root[data-font-scale="small"] { font-size: 90%; }
:root[data-font-scale="large"] { font-size: 112%; }
:root[data-font-scale="largest"] { font-size: 125%; }
:root[data-background="light"] { --site-background: #fff; --site-background-ink: #171717; }
:root[data-background="warm"] { --site-background: #fff3dc; --site-background-ink: #171717; }
:root[data-background="lavender"] { --site-background: #ede1ff; --site-background-ink: #171717; }
body:not(.admin-body), .detail-body:not(.admin-body) {
  background: var(--site-background, #fff7ea);
  color: var(--site-background-ink, var(--ink));
}
.gallery, .hero-stage, .joke-text, .joke-card, .card { color: var(--ink); }
.detail-body .publication-meta, .detail-body .breadcrumb li + li::before, .notes p { color: currentColor; }
.masthead { background: var(--site-header, #d8c2ff); color: var(--site-header-ink, var(--ink)); }
.masthead-inner { grid-template-columns: minmax(0, 1fr) auto auto; }
.masthead .social-links { grid-column: 2; grid-row: 1; }
.appearance-control { grid-column: 3; grid-row: 1; position: relative; font-size: .9rem; }
.appearance-control summary { cursor: pointer; font-weight: 700; }
.appearance-panel {
  background: var(--paper); color: var(--ink); position: absolute; inset-inline-end: 0; top: calc(100% + .55rem);
  padding: .85rem; width: min(18rem, calc(100vw - 2rem)); z-index: 2;
  border: 1px solid var(--ink); border-radius: .5rem; box-shadow: 3px 3px var(--ink); display: grid; gap: .65rem;
}
.appearance-panel label { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.menu-toggle { display: none; }
.full-meme:not(.full-video) {
  display: block;
  max-width: min(100%, 832px);
  max-height: min(78vh, 676px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.card-image img { max-height: min(40vh, 340px); }
@media (max-width: 720px) {
  .masthead-inner { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: .5rem; padding-block: .7rem; }
  .masthead .social-links { grid-column: 1 / 3; grid-row: 2; }
  .appearance-control { grid-column: 3; grid-row: 2; }
  html[data-menu-ready] .menu-toggle { display: inline-block; grid-column: 3; grid-row: 1; }
  .main-menu { grid-row: 3; }
  html[data-menu-ready] .main-menu:not([data-open="true"]) { display: none; }
  html[data-menu-ready] .main-menu[data-open="true"] { display: grid; }
  .main-menu a { padding: .6rem .3rem; }
  .full-meme:not(.full-video) { max-height: 71.5vh; }
}

.admin-body { background: #f0eaf8; }
.admin-top { background: #211735; color: #fff; }
.admin-top-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-block: .8rem; }
.admin-top-inner > span { font-weight: 800; }
.admin-top .secondary { color: var(--ink); }
.admin-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; }
.admin-nav a {
  display: block; background: var(--paper); border: 1px solid #c9bcd9; border-radius: .45rem;
  padding: .65rem .8rem; text-decoration: none; font-weight: 700;
}
.admin-nav a[aria-current="page"] { background: #211735; color: #fff; border-color: #211735; }
.admin-nav a:hover { text-decoration: underline; }
.admin-shortcuts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .75rem; }
.admin-shortcuts a {
  background: var(--paper); border: 1px solid #c9bcd9; border-radius: .55rem; padding: 1rem;
  text-decoration: none; display: grid; gap: .35rem;
}
.admin-shortcuts a:hover strong { text-decoration: underline; }
.admin-shortcuts span { font-size: .9rem; color: #51465e; }
#media-edit { background: #efe5ff; padding: 1rem; border-radius: .5rem; margin-bottom: 1rem; }
.admin-panel input[type="color"] { min-width: 5rem; height: 2.25rem; padding: .15rem; }

.gallery { background: var(--site-background, #fff7ea); color: var(--site-background-ink, var(--ink)); }
.gallery .section-head p { color: inherit; }
.category-panel { color: var(--ink); }

.masthead-inner { grid-template-columns: minmax(0, 1fr) auto auto auto; }
.language-control { grid-column: 3; grid-row: 1; }
.appearance-control:not(.language-control) { grid-column: 4; }
.language-control .appearance-panel label { display: grid; justify-content: stretch; }
.language-control select { width: 100%; min-width: 0; }
.translation-credit { padding-block: .25rem; font-size: .78rem; }
.translation-credit img { width: auto; max-width: min(9rem, 100%); vertical-align: middle; }
.translation-credit details { display: inline-block; margin-inline-start: .6rem; }
.translation-credit details[hidden], .translation-credit[hidden] { display: none; }
.translation-credit p { margin-block: .4rem; }
.translation-status { font-size: .86rem; line-height: 1.4; }
.translation-status:empty { display: none; }
@media (max-width: 720px) {
  .masthead-inner { grid-template-columns: minmax(0, 1fr) auto auto; }
  .masthead .social-links { grid-column: 1; }
  .language-control { grid-column: 2; grid-row: 2; }
  .appearance-control:not(.language-control) { grid-column: 3; grid-row: 2; }
  .language-control .appearance-panel { inset-inline-start: auto; inset-inline-end: -4rem; }
  .masthead .social-links a { width: clamp(1.38rem, 7vw, 2rem); height: clamp(1.38rem, 7vw, 2rem); }
}

.admin-search { margin-bottom: 1rem; }
.admin-search form {
  grid-template-columns: minmax(0, 1fr) minmax(8rem, auto) auto;
  align-items: end;
}
.admin-search form input, .admin-search form select { width: 100%; min-width: 0; }
.admin-search [role="status"]:empty, .admin-search ul:empty { display: none; }
.admin-search ul { margin-block: .75rem; padding-inline-start: 0; }
.admin-search li { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.admin-search li span { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .admin-search form { grid-template-columns: minmax(0, 1fr) auto; }
  .admin-search form label:first-child { grid-column: 1 / -1; }
}

.admin-body[data-admin-role="editor"] [data-owner-only] { display: none !important; }
.staff-box { max-width: 44rem; margin-block: 1rem; }
.staff-box input { box-sizing: border-box; width: 100%; min-width: 0; }
.staff-box p { margin-block: .5rem; }
.staff-box ul { list-style: none; padding: 0; }
.staff-box li { padding-block: .65rem; border-bottom: 1px solid #d9cee2; overflow-wrap: anywhere; }
.staff-box li small { display: block; margin-block: .25rem .4rem; }
.staff-box #staff-link { flex: 1; }

.main-menu { grid-column: 1 / 3; grid-row: 2; }
.header-search { grid-column: 3 / -1; grid-row: 2; display: flex; align-items: stretch;
  gap: .35rem; padding-block: .38rem; width: min(100%, 21rem); justify-self: end; }
.header-search input { min-width: 0; flex: 1; padding: .45rem .6rem; }
.header-search .secondary { white-space: nowrap; padding: .45rem .67rem; }
.site-search { padding-block: clamp(2rem, 5vw, 4rem); }
.site-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: .75rem; margin-block: 1.4rem; }
.site-search-form label { display: grid; gap: .35rem; font-weight: 700; }
.site-search-form input, .site-search-form select { min-width: 0; width: 100%; height: 2.8rem; }
.site-search-form .button { margin: 0; min-height: 2.8rem; }
.site-search-results { display: grid; gap: .75rem; list-style: none; padding: 0; }
.site-search-results li { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: .5rem; padding: .85rem 1rem; }
.site-search-results li span { font-size: .85rem; }
.site-search-results h2 { font-size: 1.22rem; overflow-wrap: anywhere; }
.site-search-note { margin-block: 1.2rem; }
@media (max-width: 720px) {
  .header-search { grid-column: 1 / -1; grid-row: 3; width: 100%; padding: 0; }
  .main-menu { grid-column: 1 / -1; grid-row: 4; }
}
@media (max-width: 540px) {
  .site-search-form { grid-template-columns: minmax(0, 1fr) auto; }
  .site-search-form label:first-child { grid-column: 1 / -1; }
}

:root[data-background="mint"] { --site-background: #dcf5e6; --site-background-ink: #18241e; }
:root[data-background="sky"] { --site-background: #ddebff; --site-background-ink: #182135; }
:root[data-background="rose"] { --site-background: #fbe1ea; --site-background-ink: #321d27; }
:root[data-background="peach"] { --site-background: #ffe4d0; --site-background-ink: #312217; }
:root[data-background="gray"] { --site-background: #e8edf3; --site-background-ink: #20262d; }
:root[data-background]:not([data-background=""]) .hero-stage {
  background: var(--site-background);
  color: var(--site-background-ink);
}
:root[data-background="dark"] {
  color-scheme: dark;
  --ink: #f5f1ff;
  --paper: #292536;
  --line: #736888;
  --lime: #bcec61;
  --lavender: #34294a;
  --pink: #462a44;
  --site-background: #171521;
  --site-background-ink: #f5f1ff;
  --site-header: #251f35;
  --site-header-ink: #f5f1ff;
}
:root[data-background="dark"] .brand { background: #dcc8ff; border-radius: .4rem; }
:root[data-background="dark"] :is(.intro, .classification, .publication-meta) { color: #ded4ea; }
:root[data-background="dark"] .hero-stage::before { opacity: .08; }
:root[data-background="dark"] .hero h1 span,
:root[data-background="dark"] .secondary:not(:disabled):hover,
:root[data-background="dark"] .masthead .social-links a:hover,
:root[data-background="dark"] .button { color: #171521; }
:root[data-background="dark"] :is(select, .header-search input, .site-search-form input) {
  color: var(--ink); background: var(--paper); border-color: var(--line);
}
:root[data-background="dark"] :is(footer, .card-image img, .card-image video, .full-video) { background: #110f18; }
:root[data-background="dark"] :is(a, button, select, input):focus-visible { outline-color: var(--lime); }

.pager { justify-content: center; }
#meme-navigation-status { text-align: center; }
.share-actions { gap: .5rem; }
.share-actions .secondary, .download-action {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 2.6rem; padding: .45rem .85rem; border-color: transparent; border-radius: .55rem;
}
.card-body .share-actions { width: 100%; }
.share-actions .share-action { background: #e7dafd; color: #34224f; }
.share-actions .whatsapp-action { background: #ddf7e7; color: #174830; }
.share-actions .download-action, .joke-attachments .download-action { background: #efeae0; color: #32281e; }
.share-actions .secondary:hover, .joke-attachments .download-action:hover {
  color: #171521; background: var(--lime); border-color: currentColor;
}
.share-actions :is(#share-status, .share-status):empty { display: none; }
.share-actions :is(#share-status, .share-status) { flex-basis: 100%; font-size: .85rem; }
.detail > .share-actions { justify-content: center; }
.detail > .share-actions #share-status { text-align: center; }

.joke-editor { display: grid; gap: .65rem; min-width: 0; }
.joke-editor h3 { margin: 0; }
.joke-editor > button { justify-self: start; }
#joke-blocks { display: grid; gap: .55rem; }
#joke-blocks textarea { font-weight: 400; resize: vertical; }
.joke-media-block { display: grid; gap: .55rem; margin: 0; padding: .65rem; border: 1px solid #d4c9e2; border-radius: .45rem; }
.joke-media-block :is(img, video) { max-width: 100%; max-height: 14rem; border-radius: .25rem; }
.joke-media-block figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .55rem; overflow-wrap: anywhere; }
.joke-post-content .joke-text { margin-block: .7rem; }
