.ln-return-diagram {
  --return-hub-width: clamp(150px, 16vw, 190px);
  --return-line: #a69a94;
  --return-accent: #8b4d62;
  display: grid;
  grid-template-columns: var(--return-hub-width) 88px minmax(0, 1fr);
  grid-template-rows: 132px 72px;
  gap: 0;
  align-items: center;
  width: 100%;
  max-width: 860px;
  margin: 40px auto 0;
  text-align: center;
}

.ln-return-hub {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  height: 56px;
  margin: 0;
  padding-inline: 10px;
  border: 1px solid #dcccd2;
  border-radius: 8px;
  background: #f8f4f6;
  color: #563748;
  font-weight: 650;
  line-height: 1.3;
}

.ln-return-branches {
  grid-area: 1 / 2;
  display: block;
  width: 100%;
  fill: none;
  stroke: var(--return-line);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ln-return-categories {
  grid-area: 1 / 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, 36px);
  gap: 12px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ln-return-categories li {
  display: grid;
  place-items: center;
  padding-inline: 4px;
  border: 1px solid #e2ddda;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ln-return-path {
  grid-area: 2 / 1 / 3 / 3;
  align-self: start;
  position: relative;
  height: 74px;
  margin-top: -38px;
  margin-left: calc(var(--return-hub-width) / 2);
  border-bottom: 2px dashed var(--return-accent);
  border-left: 2px dashed var(--return-accent);
  border-bottom-left-radius: 14px;
}

.ln-return-path::before {
  content: "";
  position: absolute;
  top: 0;
  left: -5px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--return-accent);
  border-left: 2px solid var(--return-accent);
  transform: rotate(45deg);
}

.ln-return-button-example {
  grid-area: 2 / 3;
  justify-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 352px);
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #e8e4e1;
  border-radius: 99px;
  background: #f2f2f0;
  color: #40403e;
  font: 700 15px/1.4 "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.ln-return-button-example > span {
  flex: none;
  border-block: 5px solid transparent;
  border-left: 5px solid #949490;
}

.slide#halloween-internal-links > .body {
  display: grid;
  align-items: center;
}

.slide .ln-return-diagram {margin: 0 auto; scale: 1.25}
.slide#halloween-internal-links .ln-return-button-example {transform: translateY(12px)}
