:root {
  --ink: #2d2729;
  --muted: #766b6f;
  --paper: rgba(255, 252, 252, 0.9);
  --line: rgba(78, 55, 63, 0.13);
  --rose: #c7768e;
  --rose-deep: #9f4f69;
  --blue: #907680;
  --shadow: 0 24px 64px rgba(76, 43, 53, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f5e9ed;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.94), transparent 38%),
    linear-gradient(155deg, #f8eff2 0%, #f3e5ea 52%, #ece6e8 100%);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
}

.ambient-one {
  top: 10%;
  left: -120px;
  width: 280px;
  height: 280px;
  background: rgba(221, 139, 162, 0.11);
}

.ambient-two {
  right: -130px;
  bottom: 12%;
  width: 310px;
  height: 310px;
  background: rgba(128, 157, 190, 0.1);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 24px 18px 32px;
}

.profile-header {
  position: relative;
  margin-bottom: 68px;
}

.cover-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.avatar-image {
  position: absolute;
  left: 50%;
  bottom: -54px;
  width: 108px;
  height: 108px;
  display: block;
  object-fit: cover;
  transform: translateX(-50%);
  border: 5px solid #f7edf0;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(73, 39, 49, 0.22);
}

.profile-copy {
  margin-bottom: 22px;
  text-align: center;
}

.eyebrow {
  width: fit-content;
  margin: 0 auto 8px;
  padding: 5px 12px;
  border: 1px solid rgba(184, 78, 112, 0.14);
  border-radius: 999px;
  color: var(--rose-deep);
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(2.1rem, 9vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.12em;
}

.handle {
  margin: 10px 0 0;
  color: var(--blue);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bio {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.hero-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9e5e1;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 700ms ease;
}

.hero-card:hover .hero-image {
  transform: scale(1.015);
}

.status-pill {
  position: absolute;
  top: 15px;
  right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  color: #fff;
  background: rgba(42, 32, 35, 0.56);
  box-shadow: 0 5px 20px rgba(51, 36, 40, 0.09);
  backdrop-filter: blur(12px);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e9a3b7;
  box-shadow: 0 0 0 4px rgba(233, 163, 183, 0.16);
}

.hero-caption {
  padding: 18px 20px 20px;
  text-align: center;
}

.caption-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--rose-deep);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero-caption p {
  margin: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.primary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  margin-top: 16px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(110deg, #d88aa0, #bb627f 58%, #91445e);
  box-shadow: 0 14px 30px rgba(184, 78, 112, 0.24);
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-cta svg,
.link-card svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(184, 78, 112, 0.3);
}

.links {
  margin-top: 32px;
}

.links h2 {
  margin: 0 0 12px;
  color: #8e7d82;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  margin-top: 10px;
  padding: 11px 15px 11px 11px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 7px 24px rgba(72, 52, 58, 0.07);
  text-decoration: none;
}

.link-card.is-live {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card.is-live:hover,
.link-card.is-live:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(184, 78, 112, 0.24);
  background: #fff;
}

.link-card > svg {
  margin-left: auto;
  color: #a99fa2;
}

.platform-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.platform-x { background: #222; }
.platform-instagram { background: linear-gradient(135deg, #7557c7, #d65084 55%, #f3a14b); }
.platform-tiktok { background: #171718; }
.platform-threads { background: #101010; }
.platform-facebook { background: #4f76b5; font-family: Georgia, serif; font-size: 1.4rem; }

.link-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.link-copy strong {
  font-size: 0.91rem;
}

.link-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.is-pending {
  opacity: 0.58;
}

.pending-label {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: #8b7f82;
  background: #f0ebed;
  font-size: 0.62rem;
  font-weight: 700;
}

footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  color: #a09397;
  font-size: 0.61rem;
  letter-spacing: 0.14em;
}

a:focus-visible {
  outline: 3px solid rgba(130, 155, 184, 0.36);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .page-shell {
    padding-top: 64px;
    padding-bottom: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* Keep the original visual design with the updated FanPort hierarchy. */
.handle { text-transform: none; }
.primary-cta { min-height: 76px; font-size: 1.05rem; background: linear-gradient(110deg, #ad5877, #91445e); }
.cta-copy { display: grid; gap: 5px; text-align: center; }
.cta-copy small { font-size: .72rem; font-weight: 500; }
.fanport-icon { flex: 0 0 40px; border-radius: 12px; margin-right: 4px; }
.primary-cta { padding: 12px 16px; }
.platform-icon svg { width: 24px; height: 24px; }
.platform-icon .brand-fill { fill: currentColor; stroke: none; }
.hero-caption p { font-size: .88rem; line-height: 1.8; }
