@media (max-width: 700px) {
  #ignore-thread-button span {
    display: none;
  }
  #export-buttons-container button span {
    display: none; /* Hide text on export buttons on mobile */
  }
  #export-buttons-container button i {
    margin-right: 0; /* Remove margin when text is hidden */
  }
}
.quick-ignore-button {
  background-color: rgba(200, 0, 0, 0.7);
  color: white;
  border: 1px solid darkred;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px; /* Adjust size */
  opacity: 0.6; /* Make it less intrusive */
  transition: opacity 0.2s ease, background-color 0.2s ease;
  position: absolute; /* Positioning via JS */
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.quick-ignore-button:hover {
  opacity: 1;
  background-color: red;
}
/* Style for modified 'lastpost' elements */
dd.lastpost.lastpost-ignored span {
  color: #888;  /* Grey out text */
  font-style: italic;
}
dd.lastpost.lastpost-ignored span a { /* Hide link visually and functionally */
  pointer-events: none;
  text-decoration: none;
  color: #888; /* Match surrounding text */
}
dd.lastpost.lastpost-ignored dfn { /* Keep the 'Last post' label visible */
  font-style: normal;
  color: inherit;
}
/* Ensure relative positioning for quick ignore parent */
.topiclist.topics > li, #recent-topics > ul > li, ul.topiclist.topics > li {
  position: relative;
}
/* Popup Styles (condensed for brevity, full styles in functions) */
#ignored-threads-popup, #never-ignored-users-popup { /* Basic popup frame */
  position: fixed; z-index: 10000; background-color: #2a2e36; border: 1px solid #3a3f4b; border-radius: 8px;
  display: flex; flex-direction: column; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  font-family: 'Open Sans', 'Droid Sans', Arial, Verdana, sans-serif; color: #c5d0db;
}
#ignored-threads-overlay, #never-ignored-overlay { /* Overlay */
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6); z-index: 9999;
}

/* Add to your ignore_topic.theme CSS file */
.lastpost-ignored {
  opacity: 0.7;
}

.lastpost-ignored a.lastsubject,
.lastpost-ignored a.topictitle {
  display: none !important;
}

.lastpost-ignored-text {
  font-style: italic;
}