/* =========================================================
   ThePornDB metadata source
   ========================================================= */

body.tpdb-mode #sortChips,
body.tpdb-mode [data-orientation] {
  opacity: .45;
  pointer-events: none;
}

body.tpdb-mode .source-control select {
  border-color: #ff3ca6 !important;
  box-shadow: 0 0 12px rgba(255,60,166,.18);
}

.tpdb-card {
  position: relative;
  overflow: hidden;
}

.tpdb-thumb-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  padding: 0;
  margin: 0;
  background: #08080b;
  cursor: pointer;
  overflow: hidden;
}

.tpdb-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #101014;
}

.tpdb-thumb-button:hover .tpdb-thumb {
  transform: scale(1.025);
}

.tpdb-thumb {
  transition: transform .18s ease;
}

.tpdb-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  padding: 4px 7px;
  border: 1px solid #ff3ca6;
  background: rgba(8,8,12,.88);
  color: #ff78c1;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.tpdb-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 6px;
  background: rgba(0,0,0,.82);
  color: #fff;
  font-size: .7rem;
}

.tpdb-info {
  padding: 10px;
}

.tpdb-title {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
}

.tpdb-title:hover {
  color: #ff78c1;
}

.tpdb-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: 7px;
  color: #aaa;
  font-size: .72rem;
}

.tpdb-performers {
  margin-top: 7px;
  color: #ccc;
  font-size: .72rem;
}

.tpdb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.tpdb-tag {
  padding: 2px 5px;
  border: 1px solid rgba(255,255,255,.13);
  font-size: .62rem;
  color: #aaa;
}

.tpdb-source-link {
  display: inline-block;
  margin-top: 9px;
  color: #ff78c1;
  font-size: .7rem;
  font-weight: 700;
  text-decoration: none;
}

.tpdb-source-link:hover {
  text-decoration: underline;
}

.tpdb-empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  color: #aaa;
}

.tpdb-error {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid #8b334c;
  background: rgba(85,20,40,.18);
}
