.stig-card {
  background: #15212b;
  border: 1px solid #243140;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  cursor: pointer;
}

.stig-card:hover {
  background: #18262f;
}

.restig-label {
  font-size: 11px;
  color: #9fb6c2;
}

.stig-content {
  flex: 1;
  min-width: 0;
}

.stig-meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.username {
  font-weight: bold;
  color: #e7e9ea;
}

.stig-meta .handle {
  color: #7e8d97;
  font-size: 12px;
}

.timestamp {
  color: #7e8d97;
  font-size: 12px;
}

.stig-body {
  margin: 4px 0 6px;
  word-wrap: break-word;
  line-height: 1.4;
  color: #d9d9d9;
}

.stig-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stig-actions .action,
.stig-actions .inline-action {
  display: inline;
}

.stig-actions button.action {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: #7e8d97;
  cursor: pointer;
  font-family: inherit;
}

.stig-actions a.action,
.stig-actions span.action {
  font-size: 12px;
  color: #7e8d97;
}

.stig-actions .action:hover {
  color: #45dd92;
}

.stig-actions .action.active {
  color: #45dd92;
  font-weight: bold;
}

.stig-actions .action.danger:hover {
  color: #ff6b6b;
}

.stig-cw {
  position: relative;
}

.stig-cw-cover {
  background: #1a2730;
  border: 1px solid #2f3b44;
  border-radius: 4px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stig-cw-cover p {
  margin: 0;
  font-size: 12px;
  color: #9fb6c2;
  flex: 1;
}

.stig-cw-cover strong {
  color: #e7e9ea;
}

.stig-cw-reveal {
  background: none;
  border: 1px solid #2f3b44;
  border-radius: 3px;
  color: #7e8d97;
  font-size: 11px;
  padding: 3px 8px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.stig-cw-reveal:hover {
  border-color: #45dd92;
  color: #45dd92;
}

.stig-cw-content[hidden] {
  display: none;
}

.stig-media {
  margin: 6px 0;
  border-radius: 4px;
  overflow: hidden;
  max-width: 100%;
}

.stig-media audio {
  display: block;
  width: 100%;
}

.stig-img-wrap {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
}

.stig-alt-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #e7e9ea;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  pointer-events: none;
  user-select: none;
}

.stig-media img {
  display: block;
  max-width: 100%;
  max-height: 400px;
  height: auto;
  border-radius: 4px;
}

.stig-media video {
  display: block;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 4px;
  background: #0f1419;
}
