
.stamp-box__hero {
  container-type: inline-size;
  container-name: stampHero;
}

.stamp-hero {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.stamp-hero[hidden] {
  display: none;
}

/* --- sticker names ------------------------------------------------------- */

.stamp-hero__names {
  position: absolute;
  inset: 0;
}

.stamp-hero__name {
  position: absolute;
  box-sizing: border-box;
  height: var(--hero-name-h, 2.6%);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 0.3cqw;
  text-align: center;
  background: var(--hero-card-bg, #F1F1F1);
  box-shadow: 0 0 0.25cqw 0.15cqw var(--hero-card-bg, #F1F1F1);
  border-radius: 0.3cqw;
  overflow: hidden;
}

.stamp-hero--two-lines .stamp-hero__name {
  height: var(--hero-name-h2, 4.4%);
}

.stamp-hero__name-line {
  max-width: 100%;
  font-family: 'Jost', var(--stamp-font-body, sans-serif);
  font-weight: 600;
  font-size: var(--hero-sticker-fs, clamp(4px, var(--hero-name-font, 2.7cqw), 26px));
  line-height: 1;
  color: var(--hero-ink, #111111);
  white-space: nowrap;
  overflow: hidden;
}

.stamp-hero--two-lines .stamp-hero__name-line {
  font-size: var(--hero-sticker-fs, clamp(3.5px, var(--hero-name-font2, 1.85cqw), 18px));
  line-height: 1.12;
}

.stamp-hero__name-line[hidden] {
  display: none;
}

/* --- tape label ---------------------------------------------------------- */

.stamp-hero__tape {
  position: absolute;
  box-sizing: border-box;
  left: var(--hero-tape-left, 6.23%);
  top: var(--hero-tape-top, 75.18%);
  width: var(--hero-tape-width, 19.14%);
  height: var(--hero-tape-height, 5.8%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--hero-tape-gap, 1.2cqw);
  padding: 0 0.6cqw;
  border-radius: 0.5cqw;
  background: linear-gradient(180deg, #E8E8E9 0%, #EAEAEA 45%, #E5E5E6 100%);
  box-shadow: 0 0 0.4cqw 0.3cqw var(--hero-tape-color, #E8E8E8);
  transform: rotate(var(--hero-tape-rotate, -20.1deg));
  transform-origin: center center;
}

.stamp-hero__tape-icon {
  flex: none;
  display: block;
  width: var(--hero-tape-icon, 5.4cqw);
  height: var(--hero-tape-icon, 5.4cqw);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  mix-blend-mode: multiply;
}

.stamp-hero__tape-icon[hidden] {
  display: none;
}

.stamp-hero__tape-name {
  min-width: 0;
  font-family: 'Jost', var(--stamp-font-body, sans-serif);
  font-weight: 500;
  font-size: var(--hero-tape-fs, clamp(6px, var(--hero-tape-font, 4.2cqw), 40px));
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--hero-ink, #111111);
  white-space: nowrap;
  overflow: hidden;
}

.stamp-hero--two-lines .stamp-hero__tape-name {
  white-space: pre;
  font-size: var(--hero-tape-fs, clamp(5px, var(--hero-tape-font2, 2.6cqw), 26px));
  line-height: 1.05;
  text-align: center;
}