/** 紙を追加せず、生成済みの豆瓶・豆袋のラベル面にだけアカウント名を重ねる。 */
.jar-name {
  /* 1254pxの2×2アトラス右下セル（627px角）: 紙の内面は x=1005..1085 / y=961..1010。 */
  left: 60.2%;
  top: 53.9%;
  width: 13.1%;
  height: 6.5%;
  max-width: 13.1%;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  outline: none;
  backdrop-filter: none;
  transform: none;
  color: #493a25;
  font-family: var(--latin), var(--sans);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: nowrap;
  overflow: visible;
  pointer-events: none;
  user-select: none;
}
.jar-name::before,
.jar-name::after {
  content: none;
}
.jar-name svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  /* viewBox 0 0 220 70。textPath側の長さ別font-size属性を優先させる。 */
  font-size: 24px;
}
.jar-name text {
  fill: #493a25;
  stroke: none;
  font-family: var(--latin), var(--sans);
  font-weight: 600;
  letter-spacing: 0;
  text-anchor: middle;
}
.jar-name path {
  fill: none;
  stroke: none;
}

/* 豆袋の写真と一緒に縮小し、端末幅ではなく紙ラベルの見える幅に合わせる。 */
.tasting-photo {
  container-type: inline-size;
}
.bag-label {
  left: 60.3%;
  top: 30.8%;
  width: 18.8%;
  height: 10%;
  max-width: 18.8%;
  max-height: 10%;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #4a3422;
  /* 等幅の小さな印字で、@を含む最長16文字も紙の内側に収める。 */
  font-family: 'Courier New', ui-monospace, monospace;
  font-size: clamp(4px, 1.8cqi, 11px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: nowrap;
  text-align: center;
  text-shadow: none;
  transform: rotate(8deg);
  transform-origin: 50% 50%;
  overflow: visible;
  pointer-events: none;
  user-select: none;
}
