/* ---------- Where to watch (js/whereToWatch.js) ----------

   Below a window's buttons: the streaming services by kind, as small logo
   tiles like stickers on the paper, then JustWatch's credit. */

.where-to-watch {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px dashed var(--border);
}

.wtw-title {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.wtw-loading,
.wtw-none {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.wtw-loading {
  font-style: italic;
}

.wtw-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
}

.wtw-kind {
  margin-bottom: 7px;
  font-family: var(--font-hand);
  font-size: 15px;
  color: var(--text);
}

.wtw-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wtw-provider {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--paper-dim, #ddd);
  box-shadow: 2px 3px 0 color-mix(in srgb, var(--accent-deep) 55%, transparent);
  transition: transform var(--transition), box-shadow var(--transition);
}

a.wtw-provider:hover,
a.wtw-provider:focus-visible {
  transform: translateY(-2px) rotate(-2deg);
  box-shadow: 3px 5px 0 var(--accent-deep);
}

.wtw-provider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wtw-logo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
  color: var(--text-muted);
}

.wtw-credit {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.wtw-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
