.tf-tools-core {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #d2dfdb;
  border-radius: clamp(22px, 2.5vw, 32px);
  background:
    linear-gradient(180deg, #edf4f1, #f8faf9 14rem);
  box-shadow:
    0 32px 80px rgb(7 29 50 / 12%),
    0 2px 0 rgb(255 255 255 / 82%) inset;
}

.tf-tools-core::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: clamp(24px, 5vw, 64px);
  left: clamp(24px, 5vw, 64px);
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, #128064 24%, #72dfbd 70%, transparent);
  content: "";
  pointer-events: none;
}

.tf-tools-core__frame {
  display: block;
  width: 100%;
  min-height: 480px;
  border: 0;
  background: transparent;
  transition: height 180ms ease;
}

.tf-tools-core__notice {
  margin: 0;
  padding: 1.2rem 1.35rem;
  border: 1px solid #d8c590;
  border-radius: 16px;
  background: #fff8e7;
  color: #684d13;
  font: 700 0.95rem/1.5 system-ui, sans-serif;
}

@media (max-width: 640px) {
  .tf-tools-core {
    width: calc(100% + 0.75rem);
    margin-inline: -0.375rem;
    border-radius: 20px;
    box-shadow: 0 20px 46px rgb(7 29 50 / 10%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tf-tools-core__frame {
    transition: none;
  }
}
