/* Ufan FV refresh — reference-led, central column only. */
@font-face {
  font-family: 'Ufan Hand';
  src: url('/fonts/yomogi-fv.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.fv.fv-myfans {
  position: relative;
  height: 760px;
  padding: 0;
  overflow: hidden;
  background: #fffdfc;
  color: #30272d;
}

/* Keep the portrait fully visible. No crop around the head / shoulders / hand. */
.fv-myfans .fv-single-visual {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto 0;
  width: 100%;
  height: 555px;
  margin: 0;
  overflow: visible;
  background: #fffdfc;
}

.fv-myfans .fv-single-visual img {
  display: block;
  width: 96%;
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: 50% 0%;
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.fv.fv-myfans::before { content: none; }

/* Reference-like milky pink band: soft highlight -> rose -> pink-lilac. */
.fv.fv-myfans::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 318px;
  left: -18%;
  width: 138%;
  height: 184px;
  pointer-events: none;
  transform: rotate(-10deg);
  transform-origin: center;
  background:
    radial-gradient(circle at 15% 54%, rgba(255,235,244,.66) 0 12%, rgba(255,235,244,0) 34%),
    radial-gradient(circle at 80% 35%, rgba(251,205,229,.46) 0 10%, rgba(251,205,229,0) 34%),
    linear-gradient(100deg,
      #f9c9dd 0%,
      #f6b5cf 22%,
      #ef99bb 50%,
      #ed95bc 67%,
      #e8a4d0 100%
    );
  box-shadow: 0 14px 40px rgba(225,104,158,.08);
}

.fv-myfans .fv-logo {
  top: 18px;
  left: 20px;
  z-index: 5;
}

.fv-myfans .fv-logo .logo { color: #30272d; }
.fv-myfans .fv-logo .logo-symbol { box-shadow: none; }

/* Remove the explanatory block from the hero entirely. */
.fv-myfans .fv-service-name { display: none !important; }

.fv-myfans .fv-copy {
  position: absolute;
  z-index: 3;
  inset: 0;
  color: #30272d;
  pointer-events: none;
}

/* Handwritten hero lockup, following the diagonal band. */
.fv-myfans .fv-headline {
  position: absolute;
  z-index: 4;
  top: 328px;
  left: 29px;
  right: 14px;
  transform: rotate(-10deg);
  transform-origin: center;
}

.fv-handwritten-lead {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 0 1px 74px;
  color: #30272d;
  font-family: 'Zen Kurenaido', 'Klee One', 'Ufan Hand', cursive;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.02em;
  transform: skewX(-5deg);
}

.fv-myfans .fv-copy h1 {
  position: static;
  max-width: none;
  margin: 0;
  color: #fff;
  font-family: 'Ufan Hand', 'Zen Kurenaido', 'Klee One', cursive;
  font-size: clamp(47px, 13vw, 56px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
  text-shadow: none;
  transform: skewX(-4deg);
}

.fv-copy h1 > span {
  display: block;
  padding-left: 1.42em;
  margin-top: 2px;
}

/* Clean lower copy / CTA area, after the visual punch. */
.fv-myfans .fv-details {
  position: absolute;
  z-index: 4;
  top: 565px;
  left: 24px;
  right: 24px;
  padding-top: 17px;
  border-top: 1px solid #eadde2;
  pointer-events: auto;
}

.fv-myfans .fv-copy p {
  position: static;
  max-width: none;
  margin: 0 0 16px;
  color: #4f4149;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0;
  text-align: center;
}

.fv-refresh-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 12px 20px;
  border-radius: 28px;
  background: linear-gradient(90deg,#e9689b 0%,#ee79a7 48%,#f29cbc 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(222,92,145,.22);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  pointer-events: auto;
  transition: transform .2s ease, box-shadow .2s ease;
}

.fv-refresh-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 30px rgba(222,92,145,.28);
}

.fv-refresh-cta:focus-visible {
  outline: 3px solid #6d3150;
  outline-offset: 4px;
}

.fv-myfans .fv-tags,
.fv-expansion-note { display: none !important; }

/* Sequence after logo intro. */
.fv-pending .fv-single-visual,
.fv-pending::after,
.fv-pending .fv-headline,
.fv-pending .fv-details { opacity: 0; }

.fv-refresh-ready .fv-single-visual { animation: fv-photo-in .7s ease both; }
.fv-refresh-ready::after { animation: fv-band-in .82s cubic-bezier(.16,.78,.18,1) .58s both; }
.fv-refresh-ready .fv-headline { animation: fv-heading-in .68s ease 1.1s both; }
.fv-refresh-ready .fv-details { animation: fv-details-in .6s ease 1.62s both; }

@keyframes fv-photo-in {
  from { opacity: 0; transform: translateY(8px) scale(.995); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fv-band-in {
  from { opacity: 0; transform: translateX(110%) rotate(-10deg); }
  to { opacity: 1; transform: translateX(0) rotate(-10deg); }
}

@keyframes fv-heading-in {
  from { opacity: 0; transform: translateY(12px) rotate(-10deg); }
  to { opacity: 1; transform: translateY(0) rotate(-10deg); }
}

@keyframes fv-details-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 374px) {
  .fv-myfans .fv-single-visual { height: 540px; }
  .fv.fv-myfans::after { top: 314px; height: 176px; }
  .fv-myfans .fv-headline { top: 326px; left: 22px; right: 12px; }
  .fv-handwritten-lead { margin-left: 54px; font-size: 17px; }
  .fv-myfans .fv-copy h1 { font-size: 45px; }
  .fv-myfans .fv-details { top: 551px; left: 20px; right: 20px; }
  .fv-myfans .fv-copy p { font-size: 10.5px; }
  .fv-refresh-cta { padding-inline: 14px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .fv-myfans .fv-single-visual,
  .fv-myfans::after,
  .fv-myfans .fv-headline,
  .fv-myfans .fv-details {
    animation: none !important;
    opacity: 1 !important;
  }
  .fv-refresh-cta { transition: none; }
}
