.trm-preview {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #17130f;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.trm-preview img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .25s ease, filter .25s ease;
}
.trm-preview:hover img {
  transform: scale(1.01);
  filter: brightness(1.08);
}
.trm-preview .trm-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  margin: 0;
  pointer-events: none;
}
.trm-preview:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
@media (max-width: 640px) {
  .trm-preview { border-radius: 10px; }
  .trm-preview .trm-open { right: 10px; bottom: 10px; }
}
